Design of a Hybrid Fault-Tolerant Control System for Air–Fuel Ratio Control of Internal Combustion Engines Using Genetic Algorithm and Higher-Order Sliding Mode Control

: Fault-tolerant control systems (FTCS) are used in safety and critical applications to improve reliability and availability for sustained operation in fault situations. These systems may be used in process facilities to reduce signiﬁcant production losses caused by irregular and unplanned equipment tripping. Internal combustion (IC) engines are widely used in the process sector, and efﬁcient air–fuel ratio (AFR) regulation in the fuel system of these engines is critical for increasing engine efﬁciency, conserving fuel energy, and protecting the environment. In this paper, a hybrid fault-tolerant control system has been proposed, being a combination of two parts which are known as an active fault-tolerant control system and a passive fault-tolerant control system. The active part has been designed by using the genetic algorithm-based fault detection and isolation unit. This genetic algorithm provides estimated values to an engine control unit in case of a fault in any sensor. The passive system is designed by using the higher-order sliding mode control with an extra fuel actuator in the fuel supply line. The performance of the system was tested experimentally in MATLAB/Simulink environment. Based on the simulation results, the designed system can sustain the AFR despite sensor failures. A new method of managing the AFR of an IC engine has been demonstrated in this study, and it is highly capable, robust, reliable, and highly effective. A comparison with the existing works found in the literature also proves its superior performance. By inserting the fault in each sensor, it was clearly observed that proposed HFTCS was much better than the existing model as it was more fault-tolerant due to its ability to work in both online and ofﬂine modes. It also provided an exact value of 14.6 of AFR without any degradation. an active FTCS for the hydraulic pitch system of a wind turbine by using the linear parameter varying FTCS. In this research, a Genetic Algorithm (GA)-based AFTCS is utilized in the designing of the FDI unit.


Fault-Tolerant Control
Faults in an automatic system can cause the unexpected shutdown of the system. These faults can create huge damage to the system's technical components, employees, or the environment [1]. Reliability is a desired attribute in every control system, as well as a need in some critical systems that demand great precision. Although the failure-free operation is the objective, it is impossible to ensure that a system will be completely free of defects. Fault tolerance methods must be implemented to ensure dependability despite the existence of faults [2]. Fault-tolerant control (FTC) is a term that refers to a group of new approaches that have been created to improve plant availability while lowering the have been created to improve plant availability while lowering the risk of safety issues. Its goal is to keep minor flaws from becoming major problems. To achieve this purpose, FTC combines numerous disciplines, including online fault detection, automated condition assessment, and the computation of corrective measures when a fault is discovered. A fault in any system is determined as a variation in the structure or the parameters of the system from its normal operational condition [3]. In a control system, there are three types of faults which are sensor faults, plant faults, and actuator faults, as shown in Figure 1. The list of abbreviations utilized in this paper is shown in Table 1. When there is no fault in the system, it is said to be in normal working condition [4]. The classification of these three types of faults is provided below.
Sensor Faults: These faults do not affect the properties of the plant, but there are errors in the readings of sensors when sensor faults occur, and these can negatively affect operation.
Actuator Faults: The properties of the plant are not disturbed in the case of these faults, but the effect of the controller on the system is disturbed.
Plant Faults: In the case of these faults, the input and output properties of the system change.   Table   To fight against all these faults, fault-tolerant control is a well-known approach in control systems [5]. For ensuring fault tolerance, a large number of control techniques are proposed for different control systems. There are two major branches of fault tolerant control systems which are known as robust control and adaptive control. The robust control is also known as  Sensor Faults: These faults do not affect the properties of the plant, but there are errors in the readings of sensors when sensor faults occur, and these can negatively affect operation.
Actuator Faults: The properties of the plant are not disturbed in the case of these faults, but the effect of the controller on the system is disturbed.
Plant Faults: In the case of these faults, the input and output properties of the system change.
To fight against all these faults, fault-tolerant control is a well-known approach in control systems [5]. For ensuring fault tolerance, a large number of control techniques are proposed for different control systems. There are two major branches of fault tolerant control systems which are known as robust control and adaptive control. The robust control is also known as passive fault-tolerant control (PFTCS) and adaptive control is also known as active fault-tolerant control (AFTCS) [6][7][8]. The parameters of the robust control are fixed, but the parameters of adaptive control change according to condition. The response of robust control is fast as compared to the adaptive control, but it does not consider the faults during the running stage. On the other hand, the computational cost of adaptive control is very high as compared to robust control. A simple architecture of Fault-Tolerant Control System (FTCS) is displayed in Figure 2. A huge quantity of research has been published on different kinds of FTCS approaches. A review of FTCS with detailed applications and advancements has been carried out by Arslan Amin in [9]. This paper provides a detailed review of FTCS with detailed advantages, applications and limitations. A comprehensive comparison between active and passive approaches of FTCS is provided by Jin Jiang in [10]. In this paper, the differences and similarities between active and passive approaches from a theoretical and practical point of view are discussed.
passive fault-tolerant control (PFTCS) and adaptive control is also known as active faulttolerant control (AFTCS) [6][7][8]. The parameters of the robust control are fixed, but the parameters of adaptive control change according to condition. The response of robust control is fast as compared to the adaptive control, but it does not consider the faults during the running stage. On the other hand, the computational cost of adaptive control is very high as compared to robust control. A simple architecture of Fault-Tolerant Control System (FTCS) is displayed in Figure 2. A huge quantity of research has been published on different kinds of FTCS approaches. A review of FTCS with detailed applications and advancements has been carried out by Arslan Amin in [9]. This paper provides a detailed review of FTCS with detailed advantages, applications and limitations. A comprehensive comparison between active and passive approaches of FTCS is provided by Jin Jiang in [10]. In this paper, the differences and similarities between active and passive approaches from a theoretical and practical point of view are discussed. FTCS for dynamic systems is proposed by Noura, as detailed in [11]. He applied the FTCS on a winding machine by introducing a novel fault estimation and compensation-based method. Here, in the first step, the fault was detected and isolated, then the effect of this fault on the system was reduced. In [12], Odgaard proposed an FTCS for detecting and resolving the faults of wind turbines. A neural network-based FTCS was used with a fault alarm by Shen, as detailed in [13]. In this research, an adaptive FTCS was developed, and the time delay between fault accommodation and fault occurrence was reduced. Niemann suggested an Hinfinity-based FTCS for a double inverted pendulum in [14], and his work was validated and verified in a lab environment. M. Tayyeb created a highly redundant FTCS for an aircraft's elevator control system, as documented in [15]. The pitch of the plan was managed by using a mix of Proportional, Integral, and Derivative (PID) control in this study. In [16], Bateman developed fault diagnosis and FTCS for unmanned air vehicles. He used fault detection and diagnosis-based FTCS for a nonlinear model of aircraft. Many other papers on FTCS for different control systems can be seen in the literature [17][18][19]. Two major classes of FTCS are active FTCS and passive FTCS, which are described in the next subsections.

Active Fault-Tolerant Control
Adaptive control is known as AFTC, and in this control, the controller works in an online configuration. This controller uses a fault detection and isolation (FDI) unit for detecting the faults and then isolating them. According to the nature and magnitude of the fault, the controller is reconfigured to deal with the fault properly. A general diagram of active FTCS is illustrated in Figure 3. A representation of the FDI unit is provided in Figure 4. The FDI unit in the controller determines the residual which is the difference between the actual sensor measurement and the estimated value from the observer.
If the error lies within the defined limits, then there is no fault declared by the system, and the system works smoothly in normal conditions, but if the error goes out of bounds, then the FDI unit indicates a faulty condition and activates the reconfiguration mechanism to reconfigure the controller. A regression-based FDI unit for controlling the air-fuel ratio (AFR) FTCS for dynamic systems is proposed by Noura, as detailed in [11]. He applied the FTCS on a winding machine by introducing a novel fault estimation and compensationbased method. Here, in the first step, the fault was detected and isolated, then the effect of this fault on the system was reduced. In [12], Odgaard proposed an FTCS for detecting and resolving the faults of wind turbines. A neural network-based FTCS was used with a fault alarm by Shen, as detailed in [13]. In this research, an adaptive FTCS was developed, and the time delay between fault accommodation and fault occurrence was reduced. Niemann suggested an H-infinity-based FTCS for a double inverted pendulum in [14], and his work was validated and verified in a lab environment. M. Tayyeb created a highly redundant FTCS for an aircraft's elevator control system, as documented in [15]. The pitch of the plan was managed by using a mix of Proportional, Integral, and Derivative (PID) control in this study. In [16], Bateman developed fault diagnosis and FTCS for unmanned air vehicles. He used fault detection and diagnosis-based FTCS for a nonlinear model of aircraft. Many other papers on FTCS for different control systems can be seen in the literature [17][18][19]. Two major classes of FTCS are active FTCS and passive FTCS, which are described in the next subsections.

Active Fault-Tolerant Control
Adaptive control is known as AFTC, and in this control, the controller works in an online configuration. This controller uses a fault detection and isolation (FDI) unit for detecting the faults and then isolating them. According to the nature and magnitude of the fault, the controller is reconfigured to deal with the fault properly. A general diagram of active FTCS is illustrated in Figure 3. A representation of the FDI unit is provided in Figure 4. The FDI unit in the controller determines the residual which is the difference between the actual sensor measurement and the estimated value from the observer.
If the error lies within the defined limits, then there is no fault declared by the system, and the system works smoothly in normal conditions, but if the error goes out of bounds, then the FDI unit indicates a faulty condition and activates the reconfiguration mechanism to reconfigure the controller. A regression-based FDI unit for controlling the air-fuel ratio (AFR) of an IC engine was proposed in [20]. Similarly, a neural network-based AFTCS with the help of an FDI unit was proposed by M. H. Shahbaz for the AFR of the IC engine, as detailed in [21]. of an IC engine was proposed in [20]. Similarly, a neural network-based AFTCS with of an FDI unit was proposed by M. H. Shahbaz for the AFR of the IC engine, as de [21]. In [22], Chen developed an active FTCS for the hydraulic pitch system of a wind by using the linear parameter varying FTCS. In this research, a Genetic Algorithm (GA AFTCS is utilized in the designing of the FDI unit. The natural selection process, in which the fittest individuals are chosen for bre produce the next generation of offspring, is referred to as genetic algorithm. The co the genetic algorithm was provided by Charles Darwin. This algorithm works b natural selection, and it works the same way as biological genes. Selection, cr mutation, evaluation, and replacement are the main parts of genetic algorithm. T many research articles found in the literature for the genetic algorithm-based FTCS Omar proposed a way of utilizing the genetic algorithm to solve workshop schedulin He used this approach to construct a random beginning population that included th of various well-known priority principles, such as minimum and maximum processi Snehal Kamalapur proposes a genetic algorithm-based efficient CPU scheduling in [27], stating that CPU scheduling has a great impact on the operating system's sp throughput. A genetic algorithm-based back propagation neural network was prop Ding, as detailed in [28]. This genetic algorithm was developed to improve the conv rate and to enhance the training of back propagation. When both genetic algorithm a propagation are merged, then the training of the neural network improves. A study on algorithm and its applications by Halduri is represented in [29]. In his research components of genetic algorithm were discussed in detail with all advantages and lim A simple block diagram of genetic algorithm with its parts is represented in Figure 5  In [22], Chen developed an active FTCS for the hydraulic pitch system of a wind turbine by using the linear parameter varying FTCS. In this research, a Genetic Algorithm (GA)-based AFTCS is utilized in the designing of the FDI unit.
of an IC engine was proposed in [20]. Similarly, a neural network-based AFTCS with t of an FDI unit was proposed by M. H. Shahbaz for the AFR of the IC engine, as det [21]. In [22], Chen developed an active FTCS for the hydraulic pitch system of a wind by using the linear parameter varying FTCS. In this research, a Genetic Algorithm (GA AFTCS is utilized in the designing of the FDI unit. The natural selection process, in which the fittest individuals are chosen for bree produce the next generation of offspring, is referred to as genetic algorithm. The con the genetic algorithm was provided by Charles Darwin. This algorithm works ba natural selection, and it works the same way as biological genes. Selection, cro mutation, evaluation, and replacement are the main parts of genetic algorithm. Th many research articles found in the literature for the genetic algorithm-based FTCS Omar proposed a way of utilizing the genetic algorithm to solve workshop scheduling He used this approach to construct a random beginning population that included the of various well-known priority principles, such as minimum and maximum processin Snehal Kamalapur proposes a genetic algorithm-based efficient CPU scheduling s in [27], stating that CPU scheduling has a great impact on the operating system's spe throughput. A genetic algorithm-based back propagation neural network was prop Ding, as detailed in [28]. This genetic algorithm was developed to improve the conv rate and to enhance the training of back propagation. When both genetic algorithm an propagation are merged, then the training of the neural network improves. A study on algorithm and its applications by Halduri is represented in [29]. In his research, components of genetic algorithm were discussed in detail with all advantages and lim A simple block diagram of genetic algorithm with its parts is represented in Figure 5. The natural selection process, in which the fittest individuals are chosen for breeding to produce the next generation of offspring, is referred to as genetic algorithm. The concept of the genetic algorithm was provided by Charles Darwin. This algorithm works based on natural selection, and it works the same way as biological genes. Selection, crossover, mutation, evaluation, and replacement are the main parts of genetic algorithm. There are many research articles found in the literature for the genetic algorithm-based FTCS [23][24][25]. Omar proposed a way of utilizing the genetic algorithm to solve workshop scheduling in [26]. He used this approach to construct a random beginning population that included the results of various well-known priority principles, such as minimum and maximum processing time.
Snehal Kamalapur proposes a genetic algorithm-based efficient CPU scheduling strategy in [27], stating that CPU scheduling has a great impact on the operating system's speed and throughput. A genetic algorithm-based back propagation neural network was proposed by Ding, as detailed in [28]. This genetic algorithm was developed to improve the convergence rate and to enhance the training of back propagation. When both genetic algorithm and back propagation are merged, then the training of the neural network improves. A study on genetic algorithm and its applications by Halduri is represented in [29]. In his research, all the components of genetic algorithm were discussed in detail with all advantages and limitations. A simple block diagram of genetic algorithm with its parts is represented in Figure 5.

Passive Fault-Tolerant Control
The robust control is also named passive FTCS in the FTC literature, and in this control, the controller is designed the offline configuration. It handles only those faults which were considered during the design stage. A block diagram representation of passive FTCS is provided in Figure 6. Passive FTCS is a robust control as it is free from any kind of estimation, and that is why this control is mostly used for instant action in most critical applications, in order to avoid huge losses.
When there is a fault in the system, the passive FTCS masks the faulty value to run the operation of the system. This controller compares the setpoint with the feedback, and according to this feedback signal, it masks the error if the error goes out of bounds. A passive FTCS-based robust control for faults of the IC engine was developed in [30]. In this research, for the design of a robust control, a high feedback gain was utilized. In [31], Kordestani constructed an adaptive passive FTCS for a steam turbine, and in this passive FTCS principal component, the analysis-based neural network was utilized. He used a multi-layer neural network in the design of this passive FTCS. For the energy management of an electric vehicle, Oubellil developed an H-infinity passive FTCS-based control, as detailed in [32]. In this electric drive system, two converters in parallel configuration were utilized, and fault tolerance was applied to these converters. Many control algorithms are known as robust controls, for example, proportional integral derivative (PID) control, ON-OFF control, high gain control, etc. but higher-order sliding mode control (HOSMC) is a very powerful robust passive FTCS, and due to this reason, this control is employed in this research. Sliding surface design and control law design are two main tasks in sliding mode control. A representation of the sliding phase and reaching phase is provided in Figure 7.
In the sliding mode control, the control law is established in such a way that the sliding variable must approach the origin in a finite time. When the sliding surface in SMC is achieved, the system will not be affected by any disturbance. A good amount of literature is found on higher-order sliding mode control-based FTCS, as can be seen in [33][34][35]. A detailed review of a sliding mode control with all of its types has been carried out by Umar Riaz, as detailed in [36]. In his review article, different types of sliding mode control along with their advantages, applications, and limitations in the area of FTCS were described. As described in [37], Asif created a sliding mode control for an electro-pneumatic-based actuator. He also

Passive Fault-Tolerant Control
The robust control is also named passive FTCS in the FTC literature, and in this control, the controller is designed the offline configuration. It handles only those faults which were considered during the design stage. A block diagram representation of passive FTCS is provided in Figure 6. Passive FTCS is a robust control as it is free from any kind of estimation, and that is why this control is mostly used for instant action in most critical applications, in order to avoid huge losses.
When there is a fault in the system, the passive FTCS masks the faulty value to run the operation of the system. This controller compares the setpoint with the feedback, and according to this feedback signal, it masks the error if the error goes out of bounds. A passive FTCS-based robust control for faults of the IC engine was developed in [30]. In this research, for the design of a robust control, a high feedback gain was utilized. In [31], Kordestani constructed an adaptive passive FTCS for a steam turbine, and in this passive FTCS principal component, the analysis-based neural network was utilized. He used a multi-layer neural network in the design of this passive FTCS.

Passive Fault-Tolerant Control
The robust control is also named passive FTCS in the FTC literature, and in this control, the controller is designed the offline configuration. It handles only those faults which were considered during the design stage. A block diagram representation of passive FTCS is provided in Figure 6. Passive FTCS is a robust control as it is free from any kind of estimation, and that is why this control is mostly used for instant action in most critical applications, in order to avoid huge losses.
When there is a fault in the system, the passive FTCS masks the faulty value to run the operation of the system. This controller compares the setpoint with the feedback, and according to this feedback signal, it masks the error if the error goes out of bounds. A passive FTCS-based robust control for faults of the IC engine was developed in [30]. In this research, for the design of a robust control, a high feedback gain was utilized. In [31], Kordestani constructed an adaptive passive FTCS for a steam turbine, and in this passive FTCS principal component, the analysis-based neural network was utilized. He used a multi-layer neural network in the design of this passive FTCS. For the energy management of an electric vehicle, Oubellil developed an H-infinity passive FTCS-based control, as detailed in [32]. In this electric drive system, two converters in parallel configuration were utilized, and fault tolerance was applied to these converters. Many control algorithms are known as robust controls, for example, proportional integral derivative (PID) control, ON-OFF control, high gain control, etc. but higher-order sliding mode control (HOSMC) is a very powerful robust passive FTCS, and due to this reason, this control is employed in this research. Sliding surface design and control law design are two main tasks in sliding mode control. A representation of the sliding phase and reaching phase is provided in Figure 7.
In the sliding mode control, the control law is established in such a way that the sliding variable must approach the origin in a finite time. When the sliding surface in SMC is achieved, the system will not be affected by any disturbance. A good amount of literature is found on higher-order sliding mode control-based FTCS, as can be seen in [33][34][35]. A detailed review of a sliding mode control with all of its types has been carried out by Umar Riaz, as detailed in [36]. In his review article, different types of sliding mode control along with their advantages, applications, and limitations in the area of FTCS were described. As described in [37], Asif created a sliding mode control for an electro-pneumatic-based actuator. He also For the energy management of an electric vehicle, Oubellil developed an H-infinity passive FTCS-based control, as detailed in [32]. In this electric drive system, two converters in parallel configuration were utilized, and fault tolerance was applied to these converters. Many control algorithms are known as robust controls, for example, proportional integral derivative (PID) control, ON-OFF control, high gain control, etc. but higher-order sliding mode control (HOSMC) is a very powerful robust passive FTCS, and due to this reason, this control is employed in this research. Sliding surface design and control law design are two main tasks in sliding mode control. A representation of the sliding phase and reaching phase is provided in Figure 7.
In the sliding mode control, the control law is established in such a way that the sliding variable must approach the origin in a finite time. When the sliding surface in SMC is achieved, the system will not be affected by any disturbance. A good amount of literature is found on higher-order sliding mode control-based FTCS, as can be seen in [33][34][35]. A detailed review of a sliding mode control with all of its types has been carried out by Umar Riaz, as detailed in [36]. In his review article, different types of sliding mode control along with their advantages, applications, and limitations in the area of FTCS were described. As described in [37], Asif created a sliding mode control for an electro-pneumatic-based actuator. He also studied the resilience of produced control laws under the influence of Energies 2022, 15, 5666 6 of 23 external disturbances in this study, and he discovered that control laws remain resilient in the face of any uncertainty. In [38], Boukadida developed an FTCS-based control for controlling a helicopter. In this research, he utilized a higher-order sliding mode control with a linear quadratic regulator for the pitch and yaw movement of the helicopter.
Energies 2022, 15, x FOR PEER REVIEW 6 of 23 studied the resilience of produced control laws under the influence of external disturbances in this study, and he discovered that control laws remain resilient in the face of any uncertainty. In [38], Boukadida developed an FTCS-based control for controlling a helicopter. In this research, he utilized a higher-order sliding mode control with a linear quadratic regulator for the pitch and yaw movement of the helicopter.

Hybrid Fault-Tolerant Control
Although both AFTCS and PFTCS have many features, on the other hand, they also have some limitations, such as PFTCS works only for limited faults, and AFTCS has a slow response. Therefore, to overcome these deficiencies, a hybrid FTCS (HFTCS) is proposed, which is a hybrid of both AFTCS and PFTCS, as described in [39]. A block diagram of HFTCS is shown in Figure 8. This HFTCS works both in online and offline modes, and it considers all the faults in the running stage and designing stage. Due to this HFTCS, the system becomes more reliable, and its efficiency also increases, which is why it is highly recommended in critical applications. Different research articles have been proposed on hybrid FTCS, as detailed in [40][41][42]. In his research [43], Jiang proposed a hybrid FTCS for partial failures of the actuator by utilizing the fault detection and diagnosis scheme. The whole hybrid FTCS was applied on an aircraft and simulated for the proper functioning of actuators. Xiang observed that the proposed hybrid FTCS lowers the magnitude of the fault and then sends it to the FDI unit for the reconfiguration of the controller. A hybrid FTCS for actuator and sensor faults of an active suspension system was described by Pang in [44]. In this paper, FTCS was applied for the proper working of the sensors and actuators in case of road disturbances.

Hybrid Fault-Tolerant Control
Although both AFTCS and PFTCS have many features, on the other hand, they also have some limitations, such as PFTCS works only for limited faults, and AFTCS has a slow response. Therefore, to overcome these deficiencies, a hybrid FTCS (HFTCS) is proposed, which is a hybrid of both AFTCS and PFTCS, as described in [39]. A block diagram of HFTCS is shown in Figure 8. This HFTCS works both in online and offline modes, and it considers all the faults in the running stage and designing stage. Due to this HFTCS, the system becomes more reliable, and its efficiency also increases, which is why it is highly recommended in critical applications.
Energies 2022, 15, x FOR PEER REVIEW 6 of 23 studied the resilience of produced control laws under the influence of external disturbances in this study, and he discovered that control laws remain resilient in the face of any uncertainty. In [38], Boukadida developed an FTCS-based control for controlling a helicopter. In this research, he utilized a higher-order sliding mode control with a linear quadratic regulator for the pitch and yaw movement of the helicopter.

Hybrid Fault-Tolerant Control
Although both AFTCS and PFTCS have many features, on the other hand, they also have some limitations, such as PFTCS works only for limited faults, and AFTCS has a slow response. Therefore, to overcome these deficiencies, a hybrid FTCS (HFTCS) is proposed, which is a hybrid of both AFTCS and PFTCS, as described in [39]. A block diagram of HFTCS is shown in Figure 8. This HFTCS works both in online and offline modes, and it considers all the faults in the running stage and designing stage. Due to this HFTCS, the system becomes more reliable, and its efficiency also increases, which is why it is highly recommended in critical applications. Different research articles have been proposed on hybrid FTCS, as detailed in [40][41][42]. In his research [43], Jiang proposed a hybrid FTCS for partial failures of the actuator by utilizing the fault detection and diagnosis scheme. The whole hybrid FTCS was applied on an aircraft and simulated for the proper functioning of actuators. Xiang observed that the proposed hybrid FTCS lowers the magnitude of the fault and then sends it to the FDI unit for the reconfiguration of the controller. A hybrid FTCS for actuator and sensor faults of an active suspension system was described by Pang in [44]. In this paper, FTCS was applied for the proper working of the sensors and actuators in case of road disturbances. Different research articles have been proposed on hybrid FTCS, as detailed in [40][41][42]. In his research [43], Jiang proposed a hybrid FTCS for partial failures of the actuator by utilizing the fault detection and diagnosis scheme. The whole hybrid FTCS was applied on an aircraft and simulated for the proper functioning of actuators. Xiang observed that the proposed hybrid FTCS lowers the magnitude of the fault and then sends it to the FDI unit for the reconfiguration of the controller. A hybrid FTCS for actuator and sensor faults of an active suspension system was described by Pang in [44]. In this paper, FTCS was applied for the proper working of the sensors and actuators in case of road disturbances.

Air-Fuel Ratio Control
IC engines are frequently employed as the primary mover in process applications. These engines turn the chemical energy of the fuel into mechanical rotational energy, which is then used to power the compressors and alternators. Spark ignition (SI) and compression ignition (CI) engines are the two types. In spark ignition engines, spark plugs are employed in the combustion process, but in compression ignition engines, no spark plugs are used, and combustion is exclusively accomplished by compression. In our research, we looked into SI IC engines. The proper mixing of air and fuel in the combustion process in a certain ratio is known as the air-fuel ratio (AFR), and it is critical for greater engine performance, reduced fuel consumption, and low harmful emissions for environmental protection. The proper AFR value is given by Equation (1).
where m air represents the mass of the air, and m f uel represents the mass of the fuel. The chemical equation of the combustion process for the gasoline fuel is given below: The AFR according to this equation is termed a stoichiometric ratio, and its value comes out to be 14.6:1 for gasoline fuel [45,46]. In an IC engine, the main purpose of the AFR controller is to maintain the value of AFR for efficient working of the engine [47][48][49].
The block diagram of the AFR system of the SI IC engine is shown in Figure 9. The air blows through the filter to remove dust particles and other undesired items, and the throttle valve controls how fast it moves. Similarly, the fuel is also filtered, and the pressure is changed to fit the engine's requirements. The air and fuel are then combined and sent to the engine cylinders. To maintain the AFR value at a set point of 14.6, the AFR controller is installed in the engine control unit (ECU). The combustion is disrupted and the engine stops working when a fault in the sensors or actuators arises. The FTCS is used to avoid the engine from shutting down as a result of this, allowing it to work reliably and constantly, even in the most difficult situations.
The AFR of the IC engines is controlled by four sensors [50,51] which are listed below. Exhaust Gas Oxygen (EGO) Sensor: This sensor is used to monitor the fuel supply and checks the oxygen level in the exhaust stream to guarantee proper combustion.

Air-Fuel Ratio Control
IC engines are frequently employed as the primary mover in process applications. These engines turn the chemical energy of the fuel into mechanical rotational energy, which is then used to power the compressors and alternators. Spark ignition (SI) and compression ignition (CI) engines are the two types. In spark ignition engines, spark plugs are employed in the combustion process, but in compression ignition engines, no spark plugs are used, and combustion is exclusively accomplished by compression. In our research, we looked into SI IC engines. The proper mixing of air and fuel in the combustion process in a certain ratio is known as the air-fuel ratio (AFR), and it is critical for greater engine performance, reduced fuel consumption, and low harmful emissions for environmental protection. The proper AFR value is given by Equation (1).

=
(1) where represents the mass of the air, and represents the mass of the fuel. The chemical equation of the combustion process for the gasoline fuel is given below: The AFR according to this equation is termed a stoichiometric ratio, and its value comes out to be 14.6:1 for gasoline fuel [45,46]. In an IC engine, the main purpose of the AFR controller is to maintain the value of AFR for efficient working of the engine [47][48][49].
The block diagram of the AFR system of the SI IC engine is shown in Figure 9. The air blows through the filter to remove dust particles and other undesired items, and the throttle valve controls how fast it moves. Similarly, the fuel is also filtered, and the pressure is changed to fit the engine's requirements. The air and fuel are then combined and sent to the engine cylinders. To maintain the AFR value at a set point of 14.6, the AFR controller is installed in the engine control unit (ECU). The combustion is disrupted and the engine stops working when a fault in the sensors or actuators arises. The FTCS is used to avoid the engine from shutting down as a result of this, allowing it to work reliably and constantly, even in the most difficult situations.
The AFR of the IC engines is controlled by four sensors [50,51] which are listed below.  The assembly of these four sensors for the IC engine is given in Figure 10. The assembly of these four sensors for the IC engine is given in Figure 10. Our contribution is the development of a hybrid fault-tolerant control for an internal combustion gasoline engine's air-fuel ratio control that preserves engine stability in the case of single sensor faults, without any degradation in the value of the air-fuel ratio. In this paper, the design of a novel genetic algorithm and higher-order sliding mode control-based hybrid fault-tolerant control for non-linear sensors in an IC engine's air-fuel ratio control system has been implemented. Proposed system is developed by the combination of genetic algorithm-based active FTCS and higher-order sliding mode control-based passive FTCS. This model for the IC engine was created using a MATLAB/Simulink environment, and the results demonstrate that the recommended model is stable in both normal and faulty conditions. As compared to the previous work, the proposed model for the IC engine is more fault tolerant, stable, and efficient, and it is more dependent on the MAP sensor's nonlinear behavior. When compared to the previous techniques, the suggested model provides better and more accurate results. Due to its fast response and the highest degree of robustness against faults, this method is very useful in the automobile industry and in many critical applications. Our contribution is the development of a hybrid fault-tolerant control for an internal combustion gasoline engine's air-fuel ratio control that preserves engine stability in the case of single sensor faults, without any degradation in the value of the air-fuel ratio. In this paper, the design of a novel genetic algorithm and higher-order sliding mode control-based hybrid fault-tolerant control for non-linear sensors in an IC engine's air-fuel ratio control system has been implemented. Proposed system is developed by the combination of genetic algorithmbased active FTCS and higher-order sliding mode control-based passive FTCS. This model for the IC engine was created using a MATLAB/Simulink environment, and the results demonstrate that the recommended model is stable in both normal and faulty conditions. As compared to the previous work, the proposed model for the IC engine is more fault tolerant, stable, and efficient, and it is more dependent on the MAP sensor's nonlinear behavior. When compared to the previous techniques, the suggested model provides better and more accurate results. Due to its fast response and the highest degree of robustness against faults, this method is very useful in the automobile industry and in many critical applications.

Exhaust Gas Oxygen (EGO) Sensor
Further contents of the paper are structured as follows: The research methodology is proposed in Section 2. Section 3 contains the results and a discussion and a comparison with existing work are provided in Section 4. Finally, the conclusion is provided in the last Section 5.

Research Methodology
The suggested HFTCS for controlling the AFR of the IC engine is developed in the existing MATLAB/Simulink model of the IC engine. The complete internal working of this reference model with the help of all internal diagrams is provided in [52,53]. The AFR system of the gasoline engine in this model is based on Crossley and Cook's results [54] and was extensively confirmed using dynamometer test data. The Mean Value Engine Model [55] was utilized to create the mathematical equations for the model building. Furthermore, it provides realistic AFR as seen in real-world gasoline engines.
As detailed earlier, both AFTCS and PFTCS combine to make a unique HFTCS. Similarly, in this research, GA-based AFTCS and HOSMC-based PFTCS are combined to develop an HFTCS for controlling the AFR of the IC engine. Due to the design speed of the available MATLAB engine model, the engine speed for this investigation is set at 300 r/min. As a result, in the event of a speed sensor failure, the FDI unit sends a value of 300 to the controller. Because the engines in the process plant operate at a constant speed most of the time, and the intended FDI gives the controller 300 r/min of speed if the speed sensor fails, we used constant speed in this research. Load fluctuations and their influence on performance are not investigated, since the article is focused on creating an HFTCS system. Using the provided MATLAB model lookup tables (LTs), the data for the MAP sensor and the throttle sensor at 300 r/min is obtained. The GA method is used to establish nonlinear interactions between the MAP sensor and the throttle sensor. These nonlinear connections are used by the FDI unit to Further contents of the paper are structured as follows: The research methodology is proposed in Section 2. Section 3 contains the results and a discussion and a comparison with existing work are provided in Section 4. Finally, the conclusion is provided in the last Section 5.

Research Methodology
The suggested HFTCS for controlling the AFR of the IC engine is developed in the existing MATLAB/Simulink model of the IC engine. The complete internal working of this reference model with the help of all internal diagrams is provided in [52,53]. The AFR system of the gasoline engine in this model is based on Crossley and Cook's results [54] and was extensively confirmed using dynamometer test data. The Mean Value Engine Model [55] was utilized to create the mathematical equations for the model building. Furthermore, it provides realistic AFR as seen in real-world gasoline engines.
As detailed earlier, both AFTCS and PFTCS combine to make a unique HFTCS. Similarly, in this research, GA-based AFTCS and HOSMC-based PFTCS are combined to develop an HFTCS for controlling the AFR of the IC engine. Due to the design speed of the available MATLAB engine model, the engine speed for this investigation is set at 300 r/min. As a result, in the event of a speed sensor failure, the FDI unit sends a value of 300 to the controller. Because the engines in the process plant operate at a constant speed most of the time, and the intended FDI gives the controller 300 r/min of speed if the speed sensor fails, we used constant speed in this research. Load fluctuations and their influence on performance are not investigated, since the article is focused on creating an HFTCS system. Using the provided MATLAB model lookup tables (LTs), the data for the MAP sensor and the throttle sensor at 300 r/min is obtained. The GA method is used to establish nonlinear interactions between the MAP sensor and the throttle sensor. These nonlinear connections are used by the FDI unit to generate the estimated value of faulty sensors. The FDI unit develops an estimated value based on GA observations and feeds it to the ECU if the throttle and MAP sensors are malfunctioning. The design of AFTCS, PFTCS, and HFTCS is illustrated in the coming sections.

AFR System Modeling
The air intake dynamics are explained as follows using mass conservation theory and the ideal air gas principle [56]. .
Here, "T in " stands for the input temperature, and "P in " stands for the manifold pressure. The mass flow into the valve is "m th ", mass flow into the cylinders is "m Cyt ", gas constant is represented by R, the temperature of the intake air is considered to be zero. The piston speed is N e , and the opening position of throttle is ∅ th . The intake temperature's time derivative is assumed to be zero. As a result, differential Equation (3) is as follows. .
Through the valve, air mass flow is given as Here, "P id " is overhead loading pressure, "P r " is throttle opening area and " C d " is discharge coefficient. The product of "C d S es (∅ th )" is known as affective opening area of throttle and it is given as Here, g (Pr) is known as non-linear concept in the sense that Here, "γ" is specific heat ratio and its value is 1.4. The explanation of fuel dynamics is given below Here, "τ f " is fuel vapour process, "   x(N e ) = σ 7 + σ 8 N e (12) where σ 5 , σ 6 , σ 7 , σ 8 are constant parameters. The injector model is given by a linear relationship between the mass fuel flows from the injectors.
Additionally, AFR can now be obtained as The sensor model is provided below: .
Here, "τ λ = 0.1 s" is constant time delay. Below, the given equation shows speed of engine "Ne (t)" with a time delay "τ"

AFTCS Design
To design the proposed AFTCS, the GA-based FDI unit is utilized. This FDI unit contains an estimation block and a reconfiguration block. This FDI unit works as an observer to estimate the values of the MAP sensor and throttle sensor. The flowchart working of AFTCS is shown in Figure 11. Here, " = 0.1 " is constant time delay. Below, the given equation shows speed of engine "Ne (t)" with a time delay " "

AFTCS Design
To design the proposed AFTCS, the GA-based FDI unit is utilized. This FDI unit contains an estimation block and a reconfiguration block. This FDI unit works as an observer to estimate the values of the MAP sensor and throttle sensor. The flowchart working of AFTCS is shown in Figure 11. Throttle and MAP sensor readings for 300 r/min were derived by using the available MATLAB model's lookup table (LT). The GA is used to derive nonlinear throttle and MAP relationships. The FDI unit utilizes these nonlinear correlations to estimate the faulty sensors' value. The estimated value of the faulty sensor is generated using the other healthy sensor value assuming only one sensor can go faulty at a time. The flowchart working of this GAbased FDI unit is provided in Figure 12. The state-space representation for the AFTCS observer is provided below: sensors' value. The estimated value of the faulty sensor is generated using the other healthy sensor value assuming only one sensor can go faulty at a time. The flowchart working of this GA-based FDI unit is provided in Figure 12. The state-space representation for the AFTCS observer is provided below: 17) Reproduction: Reproduction is the fundamental GA operator. It is based on the principle of the survival of the fittest individual. In each generation, depending on the possibility of replication, chromosome of existing population is replicated into next generation.
Crossover: Reproduction guides the GA's search for the right individuals. Via probabilistic decision in the mating pool, crossover procedure is carried out to swap the information between any two chromosomes. A single-point crossover scheme is utilized in this research. The expected number of generations after crossover are calculated as: Here, " " is probability of crossover, " " is probability of adjacent mutation, and " " is expected number of generations.
Mutation: The gene pool starts to become more and more homogeneous in GA when one better gene starts to dominate after many generations and contributes to premature nonoptimal solution convergence. The third genetic operator mutation is implemented with sufficient probability in GA to solve this undesirable convergence.
where 'x', 'u', and 'y' symbolize the states, inputs, and outputs, respectively. The symbols A, B, C, and D represent the system matrices. ( .
Here, L is known as feedback gain .
In the above equation "e x " is termed as residual When there is no fault in the system, it works in the normal condition, but when a single sensor in the system fails, the GA-based observer provides the estimated value of this sensor to the ECU. When the MAP sensor fails, then its estimation is provided with the help of a throttle sensor, and when the throttle sensor fails, then its estimation is provided with the help of the MAP sensor. So, the system works smoothly in both faulty and normal conditions.
The fitness function is required in order to apply GA to the estimate of defective sensor readings. Because the results from GA's initial settings were unsatisfactory, the parameters of GA were modified to provide better ones. The number of generations was fixed at 50, and the range of values was set to [0.001, 2] in order to determine the best minimum. MATLAB is used to estimate the unknown coefficients' optimal values when the fitness function is reduced and the optimum values of the unknown coefficients are obtained. Despite the GA's excellent performance, the following drawbacks must be considered. The GA utilized in this work can only handle fitness functions of modest complexity. GA efficiency will be extremely poor in terms of computing time and resources if the fitness function is too complicated or too basic. We need to plot the actual and estimated results repeatedly, since the GA solution is superior to the other solutions. Our range of solution values must be precisely adjusted for multivariable fitness functions, since the GA occasionally yields local minima. Even though there are certain drawbacks to using GA, we chose it over other methods because of the following reasons: GA, in contrast to other optimization algorithms such as particle swarm optimization (PSO), is a discrete method that is used to issues with discrete data sets. GA is more suited to our situation, since we only have a limited number of MAP and throttle sensor readings. In contrast to the global optimal solution, GA focuses on the local maxima/minima and so provides the solutions more rapidly.

Steps for GA
Coding and Decoding: Many coding and decoding schemes are used in genetic algorithm. In this research, the binary coding scheme is selected for ease and simplicity. Each part of the parameter vector is encoded as a string of length, consisting of zeros and ones for the desired resolution, based on the binary coding process.
Fitness: In order to determine the feasibility of a chromosome, fitness is a criterion. According to the theory of survival of the fittest, a chromosome with a greater fitness score is more likely to lead to one or more siblings in the next generation. The success criteria are linked to the fitness function by the use of GA. For calculating the fitness of each chromosome, the roulette wheel selection is performed here. For calculating the fitness, the following relation was used.
Here, "F i " is the fitness for string,"F j " is the fitness of each individual, "P i " is probability of the string, and "n" is total number of individuals.
After this, the number of new evaluations is found as Reproduction: Reproduction is the fundamental GA operator. It is based on the principle of the survival of the fittest individual. In each generation, depending on the possibility of replication, chromosome of existing population is replicated into next generation.
Crossover: Reproduction guides the GA's search for the right individuals. Via probabilistic decision in the mating pool, crossover procedure is carried out to swap the information between any two chromosomes. A single-point crossover scheme is utilized in this research. The expected number of generations after crossover are calculated as: Here, "p c " is probability of crossover, "p a " is probability of adjacent mutation, and "n g " is expected number of generations. Mutation: The gene pool starts to become more and more homogeneous in GA when one better gene starts to dominate after many generations and contributes to premature non-optimal solution convergence. The third genetic operator mutation is implemented with sufficient probability in GA to solve this undesirable convergence.

PFTCS Design
The estimation blocks of the original model have been eliminated for the design of PFTCs, and HOSMC is applied to this model. A fuel actuator is added to the fuel supply line. The HOSMC-based controller with a set point of 14.6 is used to control the AFR using this fuel actuator. The fuel actuator receives the command from this controller. The closed-loop system for robust HOSMC-based PFTCS is shown in Figure 13. The flowchart working of the proposed PFTCS is provided in Figure 14. From this figure, it can be seen that an extra fuel-adjusting actuator is introduced in the fuel supply line, and the output of this fuel-adjusting actuator is provided to the engine control unit.
Here, " " is a nonlinear sliding variable. The above equation can be written as where > 0. In the above equation, "c" is a positive gain, and "sign" is called signum function. The next step is to design the sliding manifold which drives the controller output to zero in presence of a bounded disturbance. This sliding manifold is calculated with the help of the following equation.
The control law to derive the sliding variable to zero is Here, = positive gain. By putting the value of " " in the above equation, we get the following equation

HFTCS Design
By combining both the architectures of AFTCS and PFTCS, the HFTCS is developed. In this proposed HFTCS, both the FDI unit and the robust control are used. The flowchart working of the proposed HFTCS is provided in Figure 15. This proposed HFTCS provides analytical redundancy with the help of GA-based FDI unit, and it also provides robustness In the design of the HOSMC controller, the nonlinear sliding variable is provided as Here, "σ" is a nonlinear sliding variable. The above equation can be written as where c > 0. In the above equation, "c" is a positive gain, and "sign" is called signum function. The next step is to design the sliding manifold which drives the controller output to zero in presence of a bounded disturbance. This sliding manifold is calculated with the help of the following equation.
The control law to derive the sliding variable to zero is Here, ρ = positive gain. By putting the value of "σ" in the above equation, we get the following equation

HFTCS Design
By combining both the architectures of AFTCS and PFTCS, the HFTCS is developed. In this proposed HFTCS, both the FDI unit and the robust control are used. The flowchart working of the proposed HFTCS is provided in Figure 15. This proposed HFTCS provides analytical redundancy with the help of GA-based FDI unit, and it also provides robustness with the help of robust HOSMC. When a sensor fails, the estimated value of this sensor is provided with the help of the FDI unit of this HFTCS. If there remains any kind of degradation in the amount of fuel, the HOSMC fulfills this degradation with the help of a fuel-adjusting actuator. With the help of both GA and HOSMC, the engine will work perfectly in both normal and faulty conditions. However, when the two sensors fail at the same time, then the engine will be shut down. As the AFR value degrades from 14.6 to 11.7 due to a fault in a sensor, so to avoid this degradation, HOSMC is implanted to maintain the value of AFR at a level of 14.6.
The assumptions of this study are as follows: (1) The engine operates at a constant speed without considering load variations as per a practical process plant scenario.
(2) Within a faulty situation, the sensors yield zero value and the actuator fully closes. The study's limitations include that it only covers full-type failure of sensors and actuators and does not look at partially faulty components that produce partial outputs. Another limitation of this study is that it includes single sensor failures instead of multi-sensor failures.
The major challenge in this research work was the degradation in the value of AFR during AFTCS design. To address this challenge, the PFTCS was recommend because this robust controller eliminated the degradation in fuel with the help of a fuel actuator in fuel supply line. In this research, only single sensor faults were considered instead of two or more sensor faults.

Results and Discussion
The simulation model for the AFTCS part of the proposed HFTCS is provided in Figure  16. GA is being used for the observer in the FDI unit to determine MAP and throttle estimated values. The MAP, EGO, throttle, and speed sensors are all included in this model. The fault switches of these sensors are also included in this model to introduce a fault in any sensor. The GA-based FDI unit is further subdivided into two units which are known as the estimation unit and reconfiguration unit. The block diagram of the estimation unit of FDI is given in Figure 17. The estimation unit of FDI estimates the values of throttle and MAP sensors in case of a fault in these sensors from other healthy sensor. The block diagram for the reconfiguration unit of the FDI unit is shown in Figure 18. The reconfiguration block determines the residual and supplies the output to the ECU for normal/faulty conditions.

Results and Discussion
The simulation model for the AFTCS part of the proposed HFTCS is provided in Figure 16. GA is being used for the observer in the FDI unit to determine MAP and throttle estimated values. The MAP, EGO, throttle, and speed sensors are all included in this model. The fault switches of these sensors are also included in this model to introduce a fault in any sensor. The GA-based FDI unit is further subdivided into two units which are known as the estimation unit and reconfiguration unit. The block diagram of the estimation unit of FDI is given in Figure 17. The estimation unit of FDI estimates the values of throttle and MAP sensors in case of a fault in these sensors from other healthy sensor. The block diagram for the reconfiguration unit of the FDI unit is shown in Figure 18. The reconfiguration block determines the residual and supplies the output to the ECU for normal/faulty conditions.

Results and Discussion
The simulation model for the AFTCS part of the proposed HFTCS is provided in 16. GA is being used for the observer in the FDI unit to determine MAP and throttle es values. The MAP, EGO, throttle, and speed sensors are all included in this model. T switches of these sensors are also included in this model to introduce a fault in any sens GA-based FDI unit is further subdivided into two units which are known as the est unit and reconfiguration unit. The block diagram of the estimation unit of FDI is g Figure 17. The estimation unit of FDI estimates the values of throttle and MAP sensors of a fault in these sensors from other healthy sensor. The block diagram for the reconfig unit of the FDI unit is shown in Figure 18. The reconfiguration block determines the r and supplies the output to the ECU for normal/faulty conditions.    A fault is injected into the engine with the help of the fault injection unit (FIU). All the fault switches of all four sensors of the IC engine are linked with this FIU. The system detects a fault when its residual with the observer value crosses the threshold limit, and then the faulty value is updated with the GA-based observer's estimated value. By making one sensor faulty at a time, the AFTCS model is simulated and the effect of sensor fault is observed after t = 5 s due to the internal warm-up delay of the engine. The performance of this AFTCS for healthy conditions and for fault in any single sensor is given in Figure 19. The system ultimately attained stability, and this delay is tolerable given the steady output, which is the main purpose of AFTCS. This delay will be reduced by utilizing the PFTCS implementation or raising the gain of the passive controller, although this will increase chattering as well.  A fault is injected into the engine with the help of the fault injection unit (FIU). All the fault switches of all four sensors of the IC engine are linked with this FIU. The system detects a fault when its residual with the observer value crosses the threshold limit, and then the faulty value is updated with the GA-based observer's estimated value. By making one sensor faulty at a time, the AFTCS model is simulated and the effect of sensor fault is observed after t = 5 s due to the internal warm-up delay of the engine. The performance of this AFTCS for healthy conditions and for fault in any single sensor is given in Figure 19. The system ultimately attained stability, and this delay is tolerable given the steady output, which is the main purpose of AFTCS. This delay will be reduced by utilizing the PFTCS implementation or raising the gain of the passive controller, although this will increase chattering as well. A fault is injected into the engine with the help of the fault injection unit (FIU). All the fault switches of all four sensors of the IC engine are linked with this FIU. The system detects a fault when its residual with the observer value crosses the threshold limit, and then the faulty value is updated with the GA-based observer's estimated value. By making one sensor faulty at a time, the AFTCS model is simulated and the effect of sensor fault is observed after t = 5 s due to the internal warm-up delay of the engine. The performance of this AFTCS for healthy conditions and for fault in any single sensor is given in Figure 19. The system ultimately attained stability, and this delay is tolerable given the steady output, which is the main purpose of AFTCS. This delay will be reduced by utilizing the PFTCS implementation or raising the gain of the passive controller, although this will increase chattering as well. Energies 2022, 15, x FOR PEER REVIEW 17 of 23 Figure 19. Performance of AFTCS.
The simulation model for the PFTCS part is represented in Figure 20. In this PFTCS model, an extra fuel actuator is added to the fuel supply line system for controlling purposes through HOSMC. The output value of the HOSMC controller and fuel output is provided to this fuel actuator and the output of this actuator controls the amount of fuel being delivered to the engine block. The fuel actuator's architecture is given in Figure 21. The fault switch of this actuator is connected to the dashboard of the system. When a fault is added to this actuator through control port, it cuts off the flow of fuel for the engine by the selector switch operation.  The simulation model for the PFTCS part is represented in Figure 20. In this PFTCS model, an extra fuel actuator is added to the fuel supply line system for controlling purposes through HOSMC. The output value of the HOSMC controller and fuel output is provided to this fuel actuator and the output of this actuator controls the amount of fuel being delivered to the engine block. Figure 19. Performance of AFTCS.
The simulation model for the PFTCS part is represented in Figure 20. In this PF model, an extra fuel actuator is added to the fuel supply line system for controlling purp through HOSMC. The output value of the HOSMC controller and fuel output is provide this fuel actuator and the output of this actuator controls the amount of fuel being delive to the engine block. The fuel actuator's architecture is given in Figure 21. The fault switch of this actuato connected to the dashboard of the system. When a fault is added to this actuator thro control port, it cuts off the flow of fuel for the engine by the selector switch operation.  The fuel actuator's architecture is given in Figure 21. The fault switch of this actuator is connected to the dashboard of the system. When a fault is added to this actuator through control port, it cuts off the flow of fuel for the engine by the selector switch operation. The simulation model for the PFTCS part is represented in Figure 20. In this PFTCS model, an extra fuel actuator is added to the fuel supply line system for controlling purposes through HOSMC. The output value of the HOSMC controller and fuel output is provided to this fuel actuator and the output of this actuator controls the amount of fuel being delivered to the engine block. The fuel actuator's architecture is given in Figure 21. The fault switch of this actuator is connected to the dashboard of the system. When a fault is added to this actuator through control port, it cuts off the flow of fuel for the engine by the selector switch operation.   The performance of the PFTCS in the case of a single sensor fault is given in Figure 22. This figure shows that the response of the system remains stable and does not fluctuate from 14.6 in faulty conditions. The performance of the PFTCS in the case of a single sensor fault is given in Figure 22. This figure shows that the response of the system remains stable and does not fluctuate from 14.6 in faulty conditions. By combining both controllers with the original model, the MATLAB diagram of the proposed HFTCS is shown in Figure 23. Both the FDI unit and AFR robust controller are present in this proposed HFTCS model.    By combining both controllers with the original model, the MATLAB diagram of proposed HFTCS is shown in Figure 23. Both the FDI unit and AFR robust controller present in this proposed HFTCS model.    In the output graphs in Figures 19, 22 and 24, the delay at the time of fault injection is tolerable. This is not a very large period delay, and it can also be minimized by adjusting the delay time in the simulation. Finally, the suggested model is found to be more robust and reliable. In SI IC gasoline engines, the suggested HFTCS provides an optimal and efficient solution for AFR control.

Comparison with Existing Works
This section compares the proposed design approach to prior work in the literature. Several studies have been undertaken for the AFTC design, such as the use of linear regression, lookup tables, Kalman filter, ANN, and Fuzzy Logic [7,21,22,40,48]. All of these methods have benefits, but they also have disadvantages, such as the high computational cost of lookup tables, Fuzzy Logic, and ANN. Linear regression and KF were found for the limited linear range of the MAP sensor. However, these had limitations in terms of degradation of AFR with the active part alone. The HFTCS was found with a PI controller, but it is not robust enough to handle highly nonlinear faulty behavior, thus instigating the need for advanced robust control. We created an HFTCS with specific non-linear controllers called GA and HOSMC. Previous work has not utilized this combination together for HFTCS design for the IC Engine's AFR system. HOSMC would comprise the passive half of the proposed system, reacting promptly to faults while minimizing chattering at the same time, and GA will maximize post-fault performance with active compensation.
The performance of GA estimates is evaluated in Tables 2 and 3 for some data points. The tables below show the predicted data for the MAP and throttle sensors, as well as the mean square error (MSE) error, which decreased significantly by using GA. Table 4 provides an overall comparison of the proposed HFTCS approach with the previous techniques.  In the output graphs in Figures 19, 22 and 24, the delay at the time of fault injection is tolerable. This is not a very large period delay, and it can also be minimized by adjusting the delay time in the simulation. Finally, the suggested model is found to be more robust and reliable. In SI IC gasoline engines, the suggested HFTCS provides an optimal and efficient solution for AFR control.

Comparison with Existing Works
This section compares the proposed design approach to prior work in the literature. Several studies have been undertaken for the AFTC design, such as the use of linear regression, lookup tables, Kalman filter, ANN, and Fuzzy Logic [7,21,22,40,48]. All of these methods have benefits, but they also have disadvantages, such as the high computational cost of lookup tables, Fuzzy Logic, and ANN. Linear regression and KF were found for the limited linear range of the MAP sensor. However, these had limitations in terms of degradation of AFR with the active part alone. The HFTCS was found with a PI controller, but it is not robust enough to handle highly nonlinear faulty behavior, thus instigating the need for advanced robust control. We created an HFTCS with specific non-linear controllers called GA and HOSMC. Previous work has not utilized this combination together for HFTCS design for the IC Engine's AFR system. HOSMC would comprise the passive half of the proposed system, reacting promptly to faults while minimizing chattering at the same time, and GA will maximize post-fault performance with active compensation.
The performance of GA estimates is evaluated in Tables 2 and 3 for some data points. The tables below show the predicted data for the MAP and throttle sensors, as well as the mean square error (MSE) error, which decreased significantly by using GA. Table 4 provides an overall comparison of the proposed HFTCS approach with the previous techniques.
Single controllers have fewer benefits than hybrid controllers, as these hybrid controllers have high processing speed, operational stability, and soft computing approaches. The suggested model for an IC engine was created by combining an FDI unit with a strong feedback controller, resulting in a structure that is simpler to use in both online and offline fault handling. The model's implementation is relatively simple in comparison to other methods. Due to all these reasons, the suggested HFTCS for the IC engine is created in this research.

Conclusions
HFTCS was proposed in this study for AFR control of IC engines utilizing GA and HOSMC. This novel HFTCS was created in the MATLAB/Simulink platform to assure the reliability of an IC engine. The FDI unit was established with the help of GA to provide estimated values to the controller during the fault in the sensor. In faulty conditions, an HOSMC-based AFR controller was introduced to manage AFR by regulating the throttle actuator in the line of fuel supply. The main focus in this research was to achieve the desired value of air-fuel ratio, which was 14.6. The active controller provided this desired value with some degradation in it. Therefore, to fulfill this degradation, a robust passive controller was combined with this active controller, and this combination provided the exact desired value of air-fuel ratio with better results. To verify the robustness of the proposed HFTCS, faults were introduced one by one in the sensors. The simulation results demonstrated that the proposed HFTCS can tolerate faults for both normal and faulty sensor conditions while maintaining the AFR. Under faulty conditions, it effectively maintained AFR at 14.6 without any degradation. According to this research, the suggested HFTCS made the AFR control system extremely robust in terms of preventing output loss. Single controllers have fewer benefits than hybrid controllers. Moreover, hybrid controllers have high processing speed, operational stability, and soft computing approaches. The suggested model for an IC engine was created by combining an FDI unit with a strong feedback controller, resulting in a structure that is simpler to use in both online and offline fault handling. The model's implementation was relatively simple in comparison to other methods. Due to all these reasons, the suggested HFTCS for the IC engine was created in this research.
For future study, golden section optimization, hardware-in-the-loop testing, and fuzzybased SMC can be utilized. A combination of generational or steady-state-based GA can be selected in the future due to their fast response. Other techniques such as terminal, conventional and advanced SMC can be considered to produce the best results in the future. Data Availability Statement: All necessary data used in the research is available in the open-access Mathworks model [52].