scieee AI-readable full text Open interactive document viewer

Fault-tolerant control based on current space vectors against total sensor failures

Tran, Cuong Dinh

Abstract

This paper proposes a fault-tolerant control (FTC) strategy using the current space vectors to diagnose sensor failures and enhance the sustained operation of a field-oriented (FO) controlled induction motor drive (IMD). Three space vectors are established for the sensor fault diagnosis technique, including one converted from the measured currents and the other two calculated from the current estimation technique, respectively, measured and with reference speeds. A mixed mathematical model using three space vectors and their components is proposed to accurately determine the fault condition of each sensor in the motor drive. After determining the operating status of each sensor, if the sensor signal is in good condition, the feedback signal to the controller will be the measured signal; otherwise, the estimated signal will be used instead of the failed signal. Failure states of the various sensors were simulated to check the effectiveness of the proposed technique in the Matlab/Simulink environment. The simulation results are positive: the IMD system applying the proposed FTC technique accurately detected the failed sensor and maintained stability during the operation.

Full text

Citation: Tran, C.D.; Kuchar, M.; Sotola, V.; Nguyen, P.D. Fault-Tolerant Control Based on Current Space Vectors against Total Sensor Failures. Sensors 2024,24, 3558. https:// doi.org/10.3390/s24113558 Received: 21 April 2024 Revised: 27 May 2024 Accepted: 30 May 2024 Published: 31 May 2024 Copyright: © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). sensors Article Fault-Tolerant Control Based on Current Space Vectors against Total Sensor Failures Cuong Dinh Tran 1,* , Martin Kuchar 2, Vojtech Sotola 2and Phuong Duy Nguyen 2,3 1Power System Optimization Research Group, Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City 700000, Vietnam 2Department of Applied Electronics, Faculty of Electrical Engineering and Computer Science, VSB-Technical University of Ostrava, 708 00 Ostrava, Czech Republic; [email protected] (M.K.); [email protected] (V.S.); phuong.nguyen.duy[email protected] (P.D.N.) 3Faculty of Electronics and Telecommunication, Saigon University, Ho Chi Minh City 700000, Vietnam *Correspondence: [email protected]; Tel.: +84-98-901-8480 Abstract: This paper proposes a fault-tolerant control (FTC) strategy using the current space vectors to diagnose sensor failures and enhance the sustained operation of a field-oriented (FO) controlled induction motor drive (IMD). Three space vectors are established for the sensor fault diagnosis technique, including one converted from the measured currents and the other two calculated from the current estimation technique, respectively, measured and with reference speeds. A mixed mathematical model using three space vectors and their components is proposed to accurately determine the fault condition of each sensor in the motor drive. After determining the operating status of each sensor, if the sensor signal is in good condition, the feedback signal to the controller will be the measured signal; otherwise, the estimated signal will be used instead of the failed signal. Failure states of the various sensors were simulated to check the effectiveness of the proposed technique in the Matlab/Simulink environment. The simulation results are positive: the IMD system applying the proposed FTC technique accurately detected the failed sensor and maintained stability during the operation. Keywords: current space vector; estimated signal; fault-tolerant control; induction motor; sensor failure diagnosis 1. Introduction The three-phase induction motor (IM) has outstanding advantages of size, durability, stable operation in harsh environments, low cost, and a large production scale. Thus, this motor type is widely used in various industrial applications. In the last century, induction motors (IMs) were generally used for fixed-speed applications. Recently, in parallel with the development of power electronic technologies, the IMD system based on modern control algorithms such as Field-Oriented Control (FOC), Direct Torque Control (DTC), etc., has been extensively involved in precise speed control applications [ 1 , 2 ]. During operation, the IMD system requires feedback signals from current and speed sensors to perform control effectively and accurately. These sensors provide essential information about the position and operating condition of the motor, so if these sensors are damaged, the incorrect feedback provided will result in a reduced performance of the IMD system [3]. In industrial processes, many faults occur during operation that degrade the entire system’s performance. Modern methods rely on collecting abnormal data and featuretraining processes such as multivariate statistical methods, machine learning methods, wide convolutional neural networks, etc., which are commonly used to diagnose various types of faults in industrial processes [ 4 ]. However, in the practical operation of IMD systems, the most severe fault is total failure, which occurs with the sensors integrated into the control system; thus, many studies have been conducted on sensor fault-tolerant Sensors 2024,24, 3558. https://doi.org/10.3390/s24113558 https://www.mdpi.com/journal/sensors Sensors 2024,24, 3558 2 of 13 control corresponding to total failure in recent times. In [ 5 ], a decision unit using the Extended Kalman filter is proposed to implement the FTC function for IM drives. Adaptive observers detect fault conditions and implement solutions to ensure that the system works even when sensor failures occur. The authors in [ 6 ] propose a sensor fault control strategy based on a Luenberger Observer (LO) combining axes transformation methods to detect the current sensor faults. When sensor failure is detected, the missing current information is replaced by the estimated current. However, it should be noted that this method does not consider the influence of the speed sensor on the estimated current in the current sensor fault diagnosis algorithm. A diagnosis algorithm based on a slip-independent estimated current combining a third difference operator to detect current faults is proposed in [ 7 ]. The advantage of this diagnosis method is the independence of the machine model, and it can also be applied to partial current sensor faults. In Ref. [ 8 ], a structural analysis method is applied to diagnose the sensor faults; the Dulmage Mendelsohn decomposition technique is used in the diagnosis model, according to the dynamic model in the matrix form. The authors in [ 9 ] present an FTC technique based on electrical torque to reduce the IMD system’s current sensor noise. This method enhances the reliability and performance of the drive in terms of the speed response, noise, and harmonics of the stator current. In [ 10 ], a current sensor FTC that does not use a virtual speed signal is proposed to detect the faulty sensor. The enhanced locked loop is applied to reconstruct the incorrectly measured current in each phase. In [ 11 ], a current sensor FTC based on the vector control technique and LO is proposed to detect the faults and then a logic circuit is used to switch to a proper current signal. Other FTC methods, as discussed in [ 12 ], involve control tuning based on the specific faulty sensor. Under normal operating conditions, direct torque control is used, while indirect field directional control is used when the DC-link voltage sensor malfunctions; if the current or speed sensor is broken, the scalar strategy is used to implement the speed control. Reference [ 13 ] presents an FTC scheme using the sliding mode observer with combined single phase enhanced phase-locked loop (SEPLL) against current sensor failures. After the incorrectly measured signals are determined, SEPLL signals reconfigure the false signals. In articles [ 14 , 15 ], current sensor diagnosis methods based on an integration algorithm [ 14 ] and based on the rotor slip [ 15 ] are developed to detect current sensor faults in the IMD during the operation. The loss of a feedback signal due to the complete failure of the sensors or abnormal disconnection is a severe problem; it can cause the total collapse of the drive system. There are many groups of FTC methods used to diagnose sensor failures. However, for total failures, the most typical FTC technique is the method that uses virtual signals of estimators and observers for the comparison algorithm between virtual signals and measured signals to detect sensor faults. The disadvantage of this diagnosis technique is that the estimated current is generated from the measured rotor speed, and the estimated speed is also calculated from the measured current. Therefore, methods for diagnosing sensor faults based only on the comparison algorithm between the measured and estimated signals only apply to one current or speed sensor fault type. This paper focuses on the diagnosis strategy of FTC using the current space vectors’ comparison algorithms to determine the signal’s operation states from sensors. The proposed method can diagnose total sensor faults for both current and speed sensors. When the measured signals are correct, they will be transferred to the FOC loop for speed control. If the sensor fails, faulty measured signals are rejected and replaced with estimated speed [ 16 – 20 ] and virtual currents [ 21 – 25 ]. The total failure states of the sensors are simulated to evaluate the effectiveness of the proposed technique. 2. Fault-Tolerant Control Strategy against the Sensor Faults 2.1. Mathematical Model of a Three-Phase Induction Motor The relationships between the current, voltage, and flux quantities in an IM are based on a system of first-order differential equations. The relationship between the stator current components and the rotor flux components corresponding to the input voltage and Sensors 2024,24, 3558 3 of 13 machine parameters is shown by the following differential equation in the [ α , β ] stationary coordinate (mathematical symbols are explained in Table A1 in Appendix A): diSα dt=−K1iSα+K2ΨRα+K3ωrΨRβ+K4uSα, (1) diSβ dt =−K1iSβ+K2ψRβ−K3ωrψRα+K4uSβ, (2) dψRα dt =K5iSα−K6ψRα−ωrψRβ, (3) dψRβ dt =K5iSβ−K6ψRβ−ωrψRα, (4) where K1=RSL2 R+RRL2 m LSL2 Rσ; K2=RRLm LSL2 Rσ; K3=Lm LSLRσ; K4=1 LSσ; K5=RRLm LR; K6=RR LR;σ=LSLR−L2 m LSLR In the past, the operating speed of the IM was determined as a value of (less than) a rated speed corresponding to a rotor slip. Overcoming the limitations of classical control methods, modern control methods such as DTC and FOC are often used to meet the increasing demand for precise speed control in IM applications. The research model of IMD in this paper applies the FOC strategy for motor speed control. In the FOC method, a rotation coordinate [x,y] with the x-axis equivalent to the rotor flux is used to separate the stator current into two perpendicular components, i Sx and i Sy , as shown in Figure 1[ 15 ]. The current component i Sx will be controlled to maintain the rotor flux constant with the motor’s rated flux. On the other hand, the i Sy current component is used to control the motor speed relative to the setting value. Sensors 2024, 24, 3558 3 of 13 2. Fault-Tolerant Control Strategy against The Sensor Faults 2.1. Mathematical Model of a Three-Phase Induction Motor The relationships between the current, voltage, and flux quantities in an IM are based on a system of first-order differential equations. The relationship between the stator current components and the rotor flux components corresponding to the input voltage and machine parameters is shown by the following differential equation in the [α, β] stationary coordinate (mathematical symbols are explained in Table A1 in Appendix A): dKK K K d 12 3 4 S SRrRS α αα βα ΨωΨ =− + + + i iu t , (1) KK K K 12 3 4 S SRrRS d d β ββ αβ ψωψ =− + − + i iu t , (2) KK 56 R SRrR d d α ααβ ψψωψ =− −i t , (3) KK 56 R SRrR d d β ββα ψψωψ =− −i t , (4) where KKK KK K σ σσ σ σ + === − == == 22 123 22 2 45 6 ; ; ; 1; ; ; SR Rm Rm m SR SR SR Rm SR m R SRRSR RL RL RL L LL LL LL RL LL L R LLLLL In the past, the operating speed of the IM was determined as a value of (less than) a rated speed corresponding to a rotor slip. Overcoming the limitations of classical control methods, modern control methods such as DTC and FOC are often used to meet the increasing demand for precise speed control in IM applications. The research model of IMD in this paper applies the FOC strategy for motor speed control. In the FOC method, a rotation coordinate [ x , y ] with the x -axis equivalent to the rotor flux is used to separate the stator current into two perpendicular components, i Sx and i Sy , as shown in Figure 1 [15]. The current component i Sx will be controlled to maintain the rotor flux constant with the motor’s rated flux. On the other hand, the i Sy current component is used to control the motor speed relative to the setting value. Figure 1. The current space vector corresponds to the FOC strategy. Figure 1. The current space vector corresponds to the FOC strategy. 2.2. Fault-Tolerant Control The general structure of the IMD includes the following main parts: a motor connected to the load, a power converter, a Digital Signal Controller (DSC), a computer, and the sensors corresponding to Figure 2. A detailed model of the IMD systems applying the FOC method integrating FTC functions against sensor faults is illustrated in Figure 3. The FTC will receive feedback signals from the sensor, such as current and speed, and will then conduct quality checks of these signals. If the signal matches, the sensor is healthy; the FTC will provide a measured signal to the FOC loop. Otherwise, the FTC will give a fault warning and provide the proper estimated signal to the speed controller. Figure 4 shows the overall block diagram of the FTC unit, including two signal estimation blocks and the feedback signal state diagnosis block. Sensors 2024,24, 3558 4 of 13 Sensors 2024, 24, 3558 4 of 13 2.2. Fault-Tolerant Control The general structure of the IMD includes the following main parts: a motor connected to the load, a power converter, a Digital Signal Controller (DSC), a computer, and the sensors corresponding to Figure 2. A detailed model of the IMD systems applying the FOC method integrating FTC functions against sensor faults is illustrated in Figure 3. Figure 2. Control structure of the IMD. Figure 3. Detailed model of the IMD applying the FOC technique integrated with the FTC function. The FTC will receive feedback signals from the sensor, such as current and speed, and will then conduct quality checks of these signals. If the signal matches, the sensor is healthy; the FTC will provide a measured signal to the FOC loop. Otherwise, the FTC will give a fault warning and provide the proper estimated signal to the speed controller. Figure 4 shows the overall block diagram of the FTC unit, including two signal estimation blocks and the feedback signal state diagnosis block. Figure 2. Control structure of the IMD. Sensors 2024, 24, 3558 4 of 13 2.2. Fault-Tolerant Control The general structure of the IMD includes the following main parts: a motor connected to the load, a power converter, a Digital Signal Controller (DSC), a computer, and the sensors corresponding to Figure 2. A detailed model of the IMD systems applying the FOC method integrating FTC functions against sensor faults is illustrated in Figure 3. Figure 2. Control structure of the IMD. Figure 3. Detailed model of the IMD applying the FOC technique integrated with the FTC function. The FTC will receive feedback signals from the sensor, such as current and speed, and will then conduct quality checks of these signals. If the signal matches, the sensor is healthy; the FTC will provide a measured signal to the FOC loop. Otherwise, the FTC will give a fault warning and provide the proper estimated signal to the speed controller. Figure 4 shows the overall block diagram of the FTC unit, including two signal estimation blocks and the feedback signal state diagnosis block. Figure 3. Detailed model of the IMD applying the FOC technique integrated with the FTC function. The stator currents in the real-time domain will be transformed into space vectors in [ α , β ] stationary coordinates by Clarke transform. Current and voltage signals using estimation algorithms such as SMO, RFMRAS, CBMRAS, etc., refs. [ 16 – 20 ] will be applied to create an estimated speed to diagnose sensor conditions and replace the measuring speed if a speed sensor fault occurs. The voltage and measured speed signals are used to estimate the virtual current through proper estimation methods. In various estimation algorithms, the Luenbeger observer (LO) [ 25 ] is an appropriate method less affected by machine parameters; therefore, it is applied in this paper. Sensors 2024,24, 3558 5 of 13 Sensors 2024, 24, 3558 5 of 13 Figure 4. FTC unit. The stator currents in the real-time domain will be transformed into space vectors in [ α , β ] stationary coordinates by Clarke transform. Current and voltage signals using estimation algorithms such as SMO, RFMRAS, CBMRAS, etc., [16–20] will be applied to create an estimated speed to diagnose sensor conditions and replace the measuring speed if a speed sensor fault occurs. The voltage and measured speed signals are used to estimate the virtual current through proper estimation methods. In various estimation algorithms, the Luenbeger observer (LO) [25] is an appropriate method less affected by machine parameters; therefore, it is applied in this paper. The sensor fault diagnosis algorithm is based on the measured and estimated current components in the [ α , β ] coordinate and the motor speeds, including measured, estimated, and reference speeds, to give status indications of the sensor signal while providing the proper current and speed for the FOC loop. Three current space vectors are created from the input signals. The first current vector based on the measured current signal is converted by Clarke transformation, and the magnitude of the vector is formed by the square root of the squares of the components (5): 22 10 12 33 Sa Sb spm S S I α β αβ     =          =+  ii ii ii , (5) The LO [25], according to Equations (6)–(9), is used to calculate the components of the current space vector in the [ α , β ] coordinate. The current space vector is determined according to the estimated values if the feedback speed is applied in the LO. Otherwise, if the reference speed is used in LO, the current space vector corresponds to the reference values: () t iu i α α αα β αβ ω ψψ σσ σσ + =− + + + − + 22 * 12 22 RS R SRm mS SR R SS S m RS SR SR m LR LR dLpRL Li i LL L LL L dLL , (6) () 22 * 212 2 mm RS R S S mR SRRSS SR S m SR SR dLR LR u LLR L LL L LL L L dL p β β βαββα ωψψ σσ σσ =− − + + +−−i t i ii , (7) Figure 4. FTC unit. The sensor fault diagnosis algorithm is based on the measured and estimated current components in the [ α , β ] coordinate and the motor speeds, including measured, estimated, and reference speeds, to give status indications of the sensor signal while providing the proper current and speed for the FOC loop. Three current space vectors are created from the input signals. The first current vector based on the measured current signal is converted by Clarke transformation, and the magnitude of the vector is formed by the square root of the squares of the components (5):        iSα iSβ="1 0 1 √3 2 √3#ia ib Ispm =qiSα2+iSβ2 , (5) The LO [ 25 ], according to Equations (6)–(9), is used to calculate the components of the current space vector in the [ α , β ] coordinate. The current space vector is determined according to the estimated values if the feedback speed is applied in the LO. Otherwise, if the reference speed is used in LO, the current space vector corresponds to the reference values : diSα dt =−L2 RRS+L2 mRR LSL2 RσiSα+LmRR LSL2 RσψRα+Lmpωm LSLRσψRβ+u∗ Sα LSσ−L1iSα+L2iSβ, (6) diSβ dt =−L2 RRS+L2 mRR LSL2 RσiSβ−Lmpωm LSLRσψRα+LmRR LSL2 RσψRβ+u∗ Sβ LSσ−L1iSβ−L2iSα, (7) dψRα dt =LmRR LR iSα−RR LR ψRα−pωmψRβ−L3iSα+L4iSβ, (8) dψRβ dt =LmRR LR iSβ+pωmψRα−RR LR ψRβ+L3iSβ−L4iSα, (9) where L1= (k−1)( 1 σTS+1 σTR);L2=−(k−1)pωm; L3= (k2−1)h(1 σTS+1 σTR)σLSLm LR−Lm TRi+σLSLm LR(1 σTS+1 σTR)(k−1); L4=−(k−1)σLSLm LRpωm;TS=LS RS;TR=LR RR; k>1(proportionality factor, slightly larger than “1”); Sensors 2024,24, 3558 6 of 13 Based on LO equations, the amplitude of the second current vector based on the virtual current signal and the amplitude of the third current vector based on the reference speed are calculated by (10) and (11): Ispe =qiSαest2+iSβest2, (10) Ispre f =qiSαre f 2+iSβre f 2, (11) To clarify, I spm depends only on the measured signal from the two current sensors, I spe depends on the feedback signal of the speed sensor, and I spref depends on the reference speed. First, I spm and I spe are used to determine whether a sensor fault has occurred, as in Formula (12): (IndexF=Ispm −Ispe If (IndexF>ThF)nFF_Flag =1; o, (12) Then, the three modules of the three current vectors are compared in pairs to determine the sensor fault types:        Indexi=Ispre f −Ispm If (FF_Flag == 1) nIf (Indexi>Thi)nFi_Flag =1; oelse nFw_Flag =1; oo , (13) In regular operation, the fault flag will be low (zero value); when a sensor fault occurs, the fault flag will rise to high (value one). We can determine the type of sensor failure based on formulas (13). If a current fault occurs, the precise phase of the current sensor that is faulty must be defined. Because the I Sα component in the current space vector corresponds to i a in the coordinate system [a,b,c], a comparison of the two components I Sα of the current space vector Ispm and Ispref is used to determine the faulty current phase, as in (14):        Indexia =ISα−ISαre f  If (Fi_Flag == 1) nIf (Indexia >Thi)nFia_Flag =1; oelse nFib_Flag =1; oo , (14) where Th F and Th i are all the maximum deviations of the current space vectors under normal operation conditions; these thresholds correspond to 10% of the rated current value, which is reasonable (refer to research papers and performed simulations). The sequence of the sensor fault diagnosis method is presented in the flowchart in Figure 5. As a result, it is possible to accurately diagnose each sensor’s health status and then decide on the corresponding operating mode. If the sensor status is good, the IMD system will operate in sensor mode; otherwise, when a sensor fault occurs, IMD will operate in sensorless mode. The control law, fault flag status, and corresponding output signal are shown in Table 1. Table 1. Diagnosis function. Flag Status Sensor Status Output Fw= 0, Fia = 0, Fib = 0 Healthy ωm,iSα,iSβ Fw= 1, Fia = 0, Fib = 0 Speed sensor failure ωest,iSα,iSβ Fw= 0, Fia = 1, Fib = 0 A-phase sensor failure ωm,iSαest,iSβest Fw= 0, Fia = 0, Fib = 1 B-phase sensor failure ωm,iSαest,iSβest Sensors 2024,24, 3558 7 of 13 Sensors 2024, 24, 3558 7 of 13 where ThF and Thi are all the maximum deviations of the current space vectors under normal operation conditions; these thresholds correspond to 10% of the rated current value, which is reasonable (refer to research papers and performed simulations). The sequence of the sensor fault diagnosis method is presented in the flowchart in Figure 5. Figure 5. Flowchart of the proposed sensor fault diagnosis method. As a result, it is possible to accurately diagnose each sensor’s health status and then decide on the corresponding operating mode. If the sensor status is good, the IMD system will operate in sensor mode; otherwise, when a sensor fault occurs, IMD will operate in sensorless mode. The control law, fault flag status, and corresponding output signal are shown in Table 1. Start: F w_Flag = 0, F ia_Flag = 0, F ib_Flag = 0, Measure: ω m , Calculate: i Sα , i Sβ, ω est, i Sαest , i Sβest . | Index F |> Th F Eq. (12) | Index i |> Th i Eq. (13) Yes No No Yes Yes F w_Flag = 1, F ia_Flag = 0, F ib_Flag = 0; | Index ia |> Th i Eq. (14) F w_Flag = 0, F ia_Flag = 0, F ib_Flag = 1; No F w_Flag = 0, F ia_Flag = 0, F ib_Flag = 0; Select: ω m , i Sα , i Sβ Select: ω est , i Sα , i Sβ Select: ω m , i Sαest , i Sβest F w_Flag = 0, F ia_Flag = 1, F ib_Flag = 0; Select: ω m , i Sαest , i Sβest End Figure 5. Flowchart of the proposed sensor fault diagnosis method. 3. Simulation Results The proposed diagnostic technique based on current space vectors against the sensor failures is simulated in a Matlab/Simulink environment. The total failures according to three sensors are implemented to demonstrate the efficiency of the diagnostic methods. All motor parameters set for the simulation are listed as follows: rated power = 2.2 kW, rated speed = 1420 rpm, number of pole pairs p= 2, stator/rotor resistance = 3.179/2.118 Ω , and stator/rotor/mutual inductance = 0.192 h. Four operating modes of the drive are simulated, corresponding to a reference speed of 150 rpm, as shown in Figure 6. Where motor operation corresponds to the healthy mode of all sensors, the real speed coincides with the measured speed and follows the reference speed. Four simulation cases, including all healthy sensors, speed sensor fault, A-phase current sensor fault, and B-phase current sensor fault, were performed to evaluate the performance of the proposed method. The first simulation, in Figure 7, demonstrates the stable operation of the motor drive system corresponding to the healthy sensors mode. The measured speed from the sensor and the motor’s actual speed coincide and follow the reference speed after overcoming the transient period; see Figure 7a. The sinusoidal currents of A-phase and B-phase sensors Sensors 2024,24, 3558 8 of 13 exhibit stability, as shown in Figure 7b,c. The sensor fault indicating flags are kept low, corresponding to the healthy state, as shown in Figure 7d–f. In Figure 8, the next simulation corresponds to the speed sensor fault occurring at 1.0 s in operation. The measured speed from the sensor and the motor’s actual speed coincide until 1.0 s, when the speed sensor fault occurs and the feedback signal is lost, resulting in the value transfer to the controller being zero, as shown in Figure 8a. The motor current fluctuates for a short time, causing the control command of the FOC controller to be chaotic, as shown in Figure 8b,c. The speed sensor’s fault flag is immediately pushed higher while the other two remain low; see Figure 8d,e. The FTC function is activated when the fault flag is high; the estimated speed immediately replaces the signal from the speed sensor. As a result, the IMD system maintains stable operation under the speed sensorless mode. Sensors 2024, 24, 3558 8 of 13 Table 1. Diagnosis function. Flag Status Sensor Status Output Fw = 0, Fia = 0, Fib = 0 Healthy ωm, iSα, iSβ Fw = 1, Fia = 0, Fib = 0 Speed sensor failure ωest , iSα , iSβ Fw = 0, Fia = 1, Fib = 0 A-phase sensor failure ωm, iSαest, iSβest Fw = 0, Fia = 0, Fib = 1 B-phase sensor failure ωm, iSαest, iSβest 3. Simulation Results The proposed diagnostic technique based on current space vectors against the sensor failures is simulated in a Matlab/Simulink environment. The total failures according to three sensors are implemented to demonstrate the efficiency of the diagnostic methods. All motor parameters set for the simulation are listed as follows: rated power = 2.2 kW, rated speed = 1420 rpm, number of pole pairs p = 2, stator/rotor resistance = 3.179/2.118 Ω, and stator/rotor/mutual inductance = 0.192 h. Four operating modes of the drive are simulated, corresponding to a reference speed of 150 rpm, as shown in Figure 6. Where motor operation corresponds to the healthy mode of all sensors, the real speed coincides with the measured speed and follows the reference speed. Figure 6. Reference, real, and measured speed in the IMD. Four simulation cases, including all healthy sensors, speed sensor fault, A-phase current sensor fault, and B-phase current sensor fault, were performed to evaluate the performance of the proposed method. The first simulation, in Figure 7, demonstrates the stable operation of the motor drive system corresponding to the healthy sensors mode. The measured speed from the sensor and the motor’s actual speed coincide and follow the reference speed after overcoming the transient period; see Figure 7a. The sinusoidal currents of A-phase and B-phase sensors exhibit stability, as shown in Figure 7b,c. The sensor fault indicating flags are kept low, corresponding to the healthy state, as shown in Figure 7d–f. In Figure 8, the next simulation corresponds to the speed sensor fault occurring at 1.0 s in operation. The measured speed from the sensor and the motor’s actual speed coincide until 1.0 s, when the speed sensor fault occurs and the feedback signal is lost, resulting in the value transfer to the controller being zero, as shown in Figure 8a. The motor current fluctuates for a short time, causing the control command of the FOC controller to be chaotic, as shown in Figure 8b,c. The speed sensor’s fault flag is immediately pushed higher while the other two remain low; see Figure 8d,e. The FTC function is activated when the fault flag is high; the Figure 6. Reference, real, and measured speed in the IMD. Sensors 2024, 24, 3558 9 of 13 estimated speed immediately replaces the signal from the speed sensor. As a result, the IMD system maintains stable operation under the speed sensorless mode. Figure 7. Sensor signals and fault indication flags according to the healthy condition. Figure 8. Sensor signals and fault indication flags according to speed sensor fault condition. The simulation corresponds to the current sensor fault at the A-phase occurring at 1.0 s in operation. IMD operates stably with full sensor mode until 1.0 s, as shown in Figure Figure 7. Sensor signals and fault indication flags according to the healthy condition. Sensors 2024,24, 3558 9 of 13 Sensors 2024, 24, 3558 9 of 13 estimated speed immediately replaces the signal from the speed sensor. As a result, the IMD system maintains stable operation under the speed sensorless mode. Figure 7. Sensor signals and fault indication flags according to the healthy condition. Figure 8. Sensor signals and fault indication flags according to speed sensor fault condition. The simulation corresponds to the current sensor fault at the A-phase occurring at 1.0 s in operation. IMD operates stably with full sensor mode until 1.0 s, as shown in Figure Figure 8. Sensor signals and fault indication flags according to speed sensor fault condition. The simulation corresponds to the current sensor fault at the A-phase occurring at 1.0 s in operation. IMD operates stably with full sensor mode until 1.0 s, as shown in Figure 9a. The feedback of the A-phase current signal is lost, and its value to the controller is zero, while the B-phase current is still operating normally; see Figure 9b,c. The A-phase current sensor’s fault flag is immediately pushed higher while the other two remain low; see Figure 9d–f. The FTC function is activated, and the virtual currents immediately replace the current sensor signal. The induction motor still maintains stable operation under the current sensorless mode. Sensors 2024, 24, 3558 10 of 13 9a. The feedback of the A-phase current signal is lost, and its value to the controller is zero, while the B-phase current is still operating normally; see Figure 9b,c. The A-phase current sensor’s fault flag is immediately pushed higher while the other two remain low; see Figure 9d–f. The FTC function is activated, and the virtual currents immediately replace the current sensor signal. The induction motor still maintains stable operation under the current sensorless mode. Figure 9. Sensor signals and fault indication flags according to the A-phase current sensor fault condition. The final simulation is carried out according to a current sensor fault in the B-phase, which also occurs at 1.0 s. The operation with full sensor mode is maintained until 1.0 s, as shown in Figure 10a, and then the signal current of the B-phase loses, and the A-phase current still keeps sine form; see Figure 10b,c. The B-phase current sensor’s fault indication flag is immediately pushed higher, while the other two remain low; see Figure 10d–f. Similar to the fault of the A-phase current sensor case, the FTC function is activated, and the current sensors’ incorrect signal is immediately replaced with the virtual currents. Stable operation is maintained under the current sensorless mode. The summary results of the proposed method are presented in Table 2. Table 2. Results summary of the proposed FTC method. Status of the Sensors Flag Status Accurate Signals Speed Encoder A-Phase Current B-Phase Current Fw Fia Fib ωm, ωest, iSα, iSβ, iSαest, iSβest Healthy Healthy Healthy 0 0 0 ωm, iSα, iSβ Faulty Healthy Healthy 1 0 0 ωest, iSα, iSβ Healthy Faulty Healthy 0 1 0 ωm, iSαest, iSβest Healthy Healthy Faulty 0 0 1 ωm, iSαest, iSβest Figure 9. Sensor signals and fault indication flags according to the A-phase current sensor fault condition.