Online Fault Detection of Permanent Magnet Demagnetization for IPMSMs by Nonsingular Fast Terminal-Sliding-Mode Observer
Abstract
: To prevent irreversible demagnetization of a permanent magnet (PM) for interior permanent magnet synchronous motors (IPMSMs) by flux-weakening control, a robust PM flux-linkage nonsingular fast terminal-sliding-mode observer (NFTSMO) is proposed to detect demagnetization faults. First, the IPMSM mathematical model of demagnetization is presented. Second, the construction of the NFTSMO to estimate PM demagnetization faults in IPMSM is described, and a proof of observer stability is given. The fault decision criteria and fault-processing method are also presented. Finally, the proposed scheme was simulated using MATLAB/Simulink and implemented on the RT-LAB platform. A number of robustness tests have been carried out. The scheme shows good performance in spite of speed fluctuations, torque ripples and the uncertainties of stator resistance.1. Introduction
Permanent magnet synchronous motors (PMSMs) are widely used as motors in electric vehicles, electrical traction systems, industrial applications, wind generation and defense, due to their high energy efficiency, high torque-to-weight ratio, high power factor, fast response, rugged construction and reliable operation [1–3]. However, permanent magnet (PM) demagnetization faults often occur in the practical application of PMSMs by flux-weakening control and, in severe cases, even cause irreversible demagnetization [4]. Therefore, it is important to improve the reliability for the PMSM by online monitoring of PM flux-linkage and analysis of PM demagnetization.
To prevent PM demagnetization, many solutions [5–7] have been proposed for optimizing the magnetic circuit and, thus, reducing the risk of PM demagnetization from the motor-design standpoint; this may lead to increasing manufacturing cost, but can reduce maintenance costs. This approach is referred to as the static prevention method. On the other hand, a dynamic monitoring method can provide accurate PM flux-linkage information by online monitoring of the PMSM control system, which can effectively prevent the occurrence of more serious demagnetization and decrease the extent of irreversible demagnetization.
Xiao et al. [8] have proposed a dynamic method to estimate PM flux-linkage for a surface-mounted permanent magnet synchronous motor (SPMSM) based on an extended Kalman filter (EKF), which provides a reference for online monitoring of the PM flux-linkage in the PMSM closed-loop control system. Shi et al. [9] have achieved PM flux-linkage identification for an IPMSM using an EKF.
Sliding-mode variable structure control [10–12] has good robustness against system parameter perturbations, external disturbances and inaccurate mathematical models, but the chattering phenomenon of traditional sliding-mode control limits its application. Terminal-sliding-mode [13] (TSM) is a new sliding-mode control method that can design a nonlinear sliding manifold to converge in finite time, but it has singularity problems. Feng et al. [14,15] proposed a nonsingular terminal-sliding-mode (NTSM) control approach, which solves the singularity problem of the traditional TSM and offers high tracking accuracy in the steady state. However, it converges slowly far away from the equilibrium point and has chattering problems when designing a control law combined with global reach conditions, which also limit its practical application. Levant [16] proposed a high-order sliding-mode (HOSM) control, which applies discontinuous control on a higher time derivative of the sliding-mode manifold to eliminate chattering while retaining the good properties of the traditional sliding-mode.
1.1. Contribution
The main contribution of this study is to propose a robust nonsingular fast terminal-sliding-mode observer (NFTSMO) to detect PM flux-linkage demagnetization faults for interior permanent magnet synchronous motors (IPMSMs) by flux-weakening control. PM demagnetization faults are reconstructed by the NFTSMO, which is combined with the chattering elimination characteristics of high-order sliding-mode and the fast convergence of nonsingular fast terminal-sliding-mode. It is robust to speed fluctuations, torque ripples and stator resistance uncertainties. The fault-decision criteria and the fault-processing method are also presented.
1.2. Structure of This Article
In Section 2, a mathematical model of rotor PM flux-linkage demagnetization for IPMSMs in the d-q synchronous reference frame is introduced. In Section 3, an NFTSMO is designed to reconstruct the PM flux-linkage for an IPMSM, and the stability of the observer is proven. The fault-decision criteria and fault-processing method for IPMSM by flux-weakening control are also presented. The simulation and experimental results are shown in Section 4. Finally, conclusions are given.
2. IPMSM Mathematical Model of PM Flux-Linkage in Normal and Demagnetization
2.1. IPMSM Mathematical Model
The stator voltage Equations for a PMSM in the d-q-axis reference frame are as follow:
The stator flux-linkage equations for an IPMSM in the d-q-axis reference frame are:
Substituting Equation (2) into Equation (1), the equations for IPMSM in the d-q-axis reference frame can be expressed as follows:
2.2. IPMSM Mathematical Model of PM Demagnetization
In the PMSM operation, the PM flux magnitude and direction can vary in a very wide range due to the position feedback signal error or the impact of external effects, such as temperature rise and poor working conditions. This influences the system control performance and may even lead to PM demagnetization. In this case, there is a deviation angle γ between the directions of rotor flux and the d-axis of the d-q reference frame. The PM flux-linkage ψr will produce the new component ψrd and ψrq in the d-q-axes [8], respectively. It is illustrated in Figure 1.
Then, the stator flux-linkage Equations (2) for IPMSM are formed as follows:
Substituting Equation (4) into Equation (1) and considering that the time constant of the mechanical system is much larger than that of the electrical system in the PMSM, that is dψr/dt ≈ 0, dψrd/dt ≈ 0, dψrq/dt ≈ 0. The equations for IPMSM in the d-q-axis reference frame can be rearranged as follows:
3. PM Demagnetization Fault Detection by NFTSMO
In order to achieve good performances, such as fast convergence and better tracking precision, to solve the problem of the NTSM converges slowly far away from the equilibrium point, a nonsingular fast terminal-sliding-mode observer (NFTSMO) is proposed to detect a PM demagnetization fault.
3.1. Design and Analysis Stability of the NFTSMO
According to Equation (5), the mathematical model of the IPMSM can be designed as follows:
According to Equation (6), the observer can be designed as follows:
Then, the stator current error equation can be obtained by subtracting Equation (6) from Equation (7):
According to the high-order sliding-mode control and the definition of system relative degree [16], the relative degree of system (8) is one; the system can eliminate the chattering by second-order or more than a two order sliding-mode control.
The traditional second-order nonsingular terminal-sliding-mode (NTSM) manifold is designed as follows [14]:
This paper proposes the following second-order nonsingular fast terminal-sliding-mode (NFTSM) manifold inspired by [17]:
Remark 1
According to NFTSM manifold (10), it determines the convergence phase by judging the size of ‖s‖. The values of a, b are as follows:
Remark 2
It can regulate the convergence speed of l by choosing a, b in the linear sliding-mode phase and regulate the convergence speed of l by choosing β, p and q in the nonsingular terminal-sliding-mode phase.
Then, the robust HOSM control law is designed to ensure that the system states always move towards the NFTSM manifold and the system is robust to parameter uncertainties and external disturbances. The HOSM control law of the observer is designed according to the following theorem.
Theorem 1
The stator current error Equation (8) can converge to zero in finite time, if the NFTSM manifold is chosen as Equation (10) and the control law (12) is designed as follows:
Proof
The following Lyapunov function is selected to be:
Differentiating V with respect to time, one obtains:
From the stator current error Equation (8) and the Equations (12)–(13), we get:
From Equation (17), Equation (16) can be rearranged as follows:
Since the parameter k satisfies k > max (D‖ḋ‖), then V̇(t) can be expressed as:
Taking p and q as all odd and 1 < p/q < 2, e.g., q = 2m + 1, p = 2m + 3, m ∈ N, this gives:
We get:
Substituting Equation (21) into Equation (19), one of the following two conditions exists:
V̇ < 0, for ‖l‖ ≠ 0. The condition for Lyapunov stability is satisfied. The system states can reach the sliding mode l = 0 within finite time.
V̇ = 0, for ‖l‖ = 0. This shows that the system states have reached the sliding-mode manifold l = 0.
Therefore, the system states can reach the NFTSM manifold l within finite time. After l reaches zero in finite time, both s and ṡ will also reach zero in finite time; the system will stay on the second-order sliding mode s = ṡ = 0 [14,15]. Then, the stator current error Equation (8) will converge to zero in finite time. This completes the proof.
Remark 3
Considering the assumption of the demagnetization model (5), that is: ḋ = [ψ̇rd ψ̇rq] ≈ 0, so D ‖ḋ‖ ≈ 0. We can find that positive constants ksatisfy k > 0, such that the state estimation errors converge to zero infinite time.
Remark 4
Because of using the second-order sliding-mode technique, it can be seen from Equations (12)-(14) that the control υ is continuous and smooth, which can be used to estimate the PM demagnetization fault directly.
3.2. Reconfiguration of PM Demagnetization Fault
When the stator current error Equation (8) stays on the second-order sliding-mode manifold, it satisfies e= ė = 0, according to the sliding-mode equivalent control method [18]. Substituting this into Equation (8), the following equivalent PM flux-linkage can be obtained:
That is,
Therefore, the amplitude of rotor PM flux-linkage ψ̂r can then be estimated:
The principle diagram of the proposed NFTSMO for the reconfiguration of the PM demagnetization fault is described in Figure 2.
3.3. PM Demagnetization Fault Detection and Fault Processing
To estimate the severity of the PM demagnetization fault, it is necessary to define a severity factor (diagnosis index) λ. The severity factor λ is defined by:
Figure 3 shows the flowchart of the proposed fault diagnosis and fault treatment. For the first step, the PM flux-linkage ψ̂r is calculated using Equation (24). In the second step, the severity factor λ is calculated using Equation (25). The third step is the demagnetization fault decision using the diagnosis index λ. The final step is fault processing. If severity factor λ is greater than the upper bound of threshold value Δλ, then the current limiter is activated.
In order to avoid the drop of the operating point below the kneepoint and at the same time using the flux-weakening control, it is necessary to properly limit the . The current limiter is designed to prevent the dropping of the operating point below the knee point and achieving the minimum torque ripple. Figure 4 is the schematic diagram of the proposed current limiter [19]. In Figure 4, Ismax is the maximum phase current, and Idmax is the maximum allowed current of the d-axis. The compensation current idr is a positive direct current, and it is obtained by inputting the weakening current id0, with a compensation function given by:
4. Simulations and Experiments
The proposed PM demagnetization fault-detection scheme has been simulated using MATLAB/Simulink and implemented on the RT-LABplatform. A schematic diagram of the online PM demagnetization fault-detection system for IPMSM is shown in Figure 5. The flux-weakening control strategy is carried out on the IPMSM [20]. The IPMSM parameters are listed in Table 1. This section evaluates the dynamic performance of the proposed NFTSMO, which is compared with the sliding-mode observer (SMO) and the nonsingular terminal-sliding-mode observer (NTSMO).
4.1. Simulations
The proposed NFTSMO is designed according to Theorem 1. The observer parameters are chosen as follows: p = 7, q = 5, β1 = β2 = 0.1, k + η = 3000, μ = 2000. The initial values of i̇̂d, i̇̂q are set to 1.5 A, 1.5 A. The parameters a, b and σ of NFTSM manifold are chosen as:
To observe the dynamic performance of the proposed scheme, the initial rotor speed is set to 500 rpm and subsequently increases to 1000 rpm at 1 s; the initial value of the load torque is set to 0 Nm and subsequently increases to 2 Nm at 2 s; and the initial value of the stator resistance is set to 2.875 Ω and subsequently increases to 5.75 Ω at 3 s.
Because the actual dynamic process of PM demagnetization in an IPMSM is very difficult to simulate, the approach of setting initial values of the PM flux-linkage amplitude and the rotor deviation angle [8] are utilized. These can be used to verify the validity of the observer.
The initial value of the PM flux-linkage amplitude is set to 0.175 Wb and subsequently decreases to 0.10 Wb at 4 s. The initial value of the deviation angle γ is set to 0° and subsequently increases to 30° at 5 s. The upper bound Δλ of the severity factor λ is set to 0.25.
The reference, actual rotor speed, the reference, actual torque and the actual d-q-axis stator currents are shown in Figure 6. n* is the reference speed, n is the actual speed, Tm is the reference load torque and Te is the actual IPMSM output torque.
Figures 7, 8 and 9 demonstrate the simulation results of demagnetization fault detection by the SMO, NTSMO, and NFTSMO. They indicate the estimated d-q-axis PM flux-linkage, PM flux amplitude and d-q-axis stator currents.
The following conclusions can be drawn from these simulation results:
Figure 7 demonstrates that the SMO has the chattering phenomenon when moving to the sliding-mode manifold. Figure 8 demonstrates that the NTSMO converges slowly far away from the equilibrium point. It can be seen from Figure 9 that the NFTSMO converges quickly, which has the advantages of both SMO and NTSMO.
When the PM flux-linkage amplitude is decreased to 0.10 Wb at 4 s, the severity factor is λ = (ψr ‒ ψ̂r)/ψr = (0.175 − 0.10)/0.175 = 0.4286. This is greater than the upper bound Δλ, and therefore, the current limiter is activated. The absolute value of d-axis current id (id < 0 by flux-weakening control) is decreased, that is the d-axis current id increases, while the q-axis current iq increases; and then, this can reduce PM demagnetization risk and torque ripple significantly.
When the deviation angle γ is increases to 30 ° at 5 s, the estimated d-axis flux ψ̂rd is 0.0865 Wb; the estimated q-axis flux ψ̂rq is 0.0500 Wb; and the estimated flux amplitude ψ̂r is 0.0999 Wb; whereas, the actual d-axis flux is ψrd = 0.10 × cos30° = 0.0866 Wb, and the actual q-axis flux is ψrq = 0.10 × sin30° = 0.0500 Wb. It can be seen from simulation results that the estimated PM flux-linkages are very close to the actual values.
4.2. Experimental Results
RT-LAB is a powerful, modular, distributed, real-time platform from OPAL-RT Technologies, Inc. It supports model-based design using rapid control prototyping (RCP) and hardware-in-the-loop simulation (HILS) of complex dynamic systems. HILS differs from pure real-time simulation and RCP by the use of the real controller in the loop; this controller is connected to the rest of the system simulated by RT-LAB. Therefore, in HILS, the plant is simulated, but the controller is real [21].
To implement the proposed approach, experiments have been carried out on an OP5600 RT-Lab platform using HILS. The RT-Labplatform is shown in Figure 10, and the configuration is shown in Figure 11.
The controller is a TMS320F2812 digital signal processor, which implements high-performance control and computation. The IGBT inverter model uses blocks from the RT-Events toolbox to achieve precise modeling of the switching signals, which are done through the interpolation scheme embedded in RT-Events. The PWM (Pulse Width Modulation) switching frequency is chosen as 5 kHz. The sampling period is chosen as 50 μs, which are the same as the SMO, NTSMO, NFTSMO and IPMSM.
Figure 12 shows the reference rotor speed (n*), the actual rotor speed (n), the reference torque (Tm) and the actual torque (Te). As shown in Figure 12, the actual speed (n) can track the reference speed (n*) precisely in the steady state, whereas the actual torque (Te) fluctuates when the speed increases from 500 rpm to 1000 rpm, but it converges to the reference torque (Tm) quickly.
The experimental results of the demagnetization fault-detection using SMO, NTSMO and NFTSMO are shown in Figures 13, 14, 15 and 16. These figures indicate the estimated values of the d-q-axis PM flux-linkages and d-q-axis stator currents.
The following conclusions can be drawn from these experimental results:
When the PM flux-linkage amplitude is decreased to 0.10 Wb, the severity factor λ becomes greater than the upper bound Δλ, and therefore, the current limiter is activated. The d-axis current id is increased, which can reduce PM demagnetization risk. The q-axis current iq is also increased, which can reduce torque ripple significantly.
When the deviation angle γ of PM flux-linkage is increased to 30 °, the estimated value of d-axis flux ψ̂rd is decreased to 0.0864 Wb, whereas that of q-axis flux ψ̂rq is increased to 0.0500 Wb, and the estimated PM flux-linkage amplitude ψ̂r is 0.0998 Wb. The estimated PM flux-linkages are very close to the actual value.
Figure 14 is a larger version of Figure 13, which demonstrates that the SMO has the chattering phenomenon. Figure 15 demonstrates that the NTSMO converges slowly far away from the equilibrium point. Figure 16 demonstrates that the proposed NTSMO has good tracking performance and strong robustness against parameter fluctuations.
Simulation and experimental results have demonstrated that the proposed nonsingular fast terminal-sliding-mode observer converges quickly and has low sensitivity to parameter variations.
5. Conclusions
An IPMSM mathematical model of demagnetization has been introduced. A robust nonsingular fast terminal-sliding-mode observer (NFTSMO) has been constructed to simulate permanent magnet (PM) demagnetization faults for IPMSMs. The fault decision criteria and the fault-processing method have been presented. The overall scheme has been simulated using MATLAB/Simulink and implemented on the RT-LAB platform. A number of robustness tests have been carried out. The results verify the efficiency and stability of the proposed scheme. This method can accurately estimate PM flux-linkage.
The scheme shows good performance in spite of speed fluctuations, torque ripples and the uncertainties of stator resistance. The online fault detection scheme of PM demagnetization for IPMSMs by flux-weakening control can prevent the deterioration of demagnetization and reduce the extent of irreversible demagnetization.
Acknowledgments
The authors are grateful for the support provided by the Natural Science Foundation of China (Nos. 61273157, 61273158, 61104024 and 61473117), the Hunan Provincial Natural Science Foundation of China (Nos. 13JJ8020 and 14JJ5024).
Author Contributions
Kai-Hui Zhao, Te-Fang Chen and Chang-Fan Zhang designed the overall algorithms and the simulations. Jing He, Te-Fang Chen and Gang Huang designed the experiments and performed the simulations and experiments. Kai-Hui Zhao and Chang-Fan Zhang wrote the manuscript.
Conflicts of Interest
The authors declare no conflict of interest
References
- Gomez-Espinosa, A.; Hernandez-Guzman, V.M.; Bandala-Sanchez, M.; Jimenez-Hernandez, H.; Rivas-Araiza, E.A.; Rodriguez-Resendiz, J.; Herrera-Ruiz, G. A NewAdaptive Self-Tuning Fourier Coefficients Algorithm for Periodic Torque Ripple Minimization in Permanent Magnet Synchronous Motors (PMSM). Sensors 2013, 13, 3831–3847. [Google Scholar]
- Lu, S.W.; Tang, X.Q.; Song, B. Adaptive PIF Control for Permanent Magnet Synchronous Motors Based on GPC. Sensors 2013, 13, 175–192. [Google Scholar]
- Gamazo-Real, J.C.; Vazquez-Sanchez, E.; Gomez-Gil, J. Position and speed control of brushless DC motors using sensorless techniques and application trends. Sensors 2010, 10, 6901–6947. [Google Scholar]
- Lee, Y.S.; Kim, K.T.; Hur, J. Finite-Element Analysis of the Demagnetization of IPM-Type BLDC Motor With Stator Turn Fault. IEEE Trans. Magn. 2014, 50, 889–892. [Google Scholar]
- Farooq, J.; Srairi, S.; Djerdir, A.; Miraoui, A. Use of permeance network method in the demagnetization phenomenon modeling in a permanent magnet motor. IEEE Trans. Magn. 2006, 42, 1295–1298. [Google Scholar]
- Ruschetti, C.; Verucchi, C.; Bossio, G.; De Angelo, C.; Garcia, G. Rotor demagnetization effects on permanent magnet synchronous machines. Energy Convers. Manag. 2013, 74, 1–8. [Google Scholar]
- Khoobroo, A.; Fahimi, B. Magnetic Flux Estimation in a Permanent Magnet Synchronous Machine Using Field Reconstruction Method. IEEE Trans. Energy Convers. 2011, 26, 757–765. [Google Scholar]
- Xiao, X.; Chen, C.M.; Zhang, M. Dynamic Permanent Magnet Flux Estimation of Permanent Magnet Synchronous Machines. IEEE Trans. Appl. Supercond. 2010, 20, 1085–1088. [Google Scholar]
- Shi, Y.C.; Sun, K.; Huang, L.P.; Li, Y.D. Online Identification of Permanent Magnet Flux Based on Extended Kalman Filter for IPMSM Drive With Position Sensorless Control. IEEE Trans. Ind. Electron. 2012, 59, 4169–4178. [Google Scholar]
- Utkin, V.I.; Gulder, J.; Shi, J.X. Sliding Mode Control in Electromechanical Systems; Taylor & Francis Group: Lodon, UK, 1999. [Google Scholar]
- Zhang, C.F.; Wang, Y.N.; He, J. Variable structure intelligent control for pm synchronous servo motor drive. Proc. CSEE 2002, 22, 13–17. [Google Scholar]
- Zhang, C.F.; Huang, Y.S.; Shao, R. Robust sensor faults detection for induction motor using observer. J. Control Theory Appl. 2012, 10, 528–532. [Google Scholar]
- Man, Z.H.; Paplinski, A.P.; Wu, H.R. A robust MIMO terminal sliding mode control scheme for rigid robotic manipulators. IEEE Trans. Autom. Control 1994, 39, 2464–2469. [Google Scholar]
- Feng, Y.; Yu, X.H.; Man, Z.H. Non-singular terminal sliding mode control of rigid manipulators. Automatica 2002, 38, 2159–2167. [Google Scholar]
- Feng, Y.; Yu, X.; Han, F. High-Order Terminal Sliding-Mode Observer for Parameter Estimation of a Permanent-Magnet Synchronous Motor. IEEE Trans. Ind. Electron. 2013, 60, 4272–4280. [Google Scholar]
- Levant, A. Higher-order sliding modes, differentiation and output-feedback control. Int. J. Control 2003, 76, 924–941. [Google Scholar]
- Cheng, Y.; Lin, H. Nonsingular fast terminal sliding mode positioning control in switched reluctance motor. Electr. Mach. Control 2012, 16, 78–82. [Google Scholar]
- Spurgeon, S.K. Sliding mode observers: A survey. Int. J. Syst. Sci. 2008, 39, 751–764. [Google Scholar]
- Sarikhani, A.; Mohammed, O.A. Demagnetization Control for Reliable Flux Weakening Control in PM Synchronous Machine. IEEE Trans. Energy Convers. 2012, 27, 1046–1055. [Google Scholar]
- Kim, J.M.; Sul, S.K. Speed control of interior permanent magnet synchronous motor drive for the flux weakening operation. IEEE Trans. Ind. Appl. 1997, 33, 43–48. [Google Scholar]
- Abourida, S.; Belanger, J. Real-time platform for the control prototyping and simulation of power electronics and motor drives. Proceedings of 3rd International Conference on Modeling, Simulation, and Applied Optimization, Sharjah, UAE, 20–22 January 2009; pp. 1–6.
Parameters | Unit | Values |
---|---|---|
Rated power (PN) | KW | 2 |
Rated voltage (UN) | V | 380 |
Rated current (IN) | A | 4 |
Rated speed (nN) | r/min | 1000 |
Stator resistance (Rs) | Ω | 2.875 |
q-axis inductance (Lq) | H | 0.0075 |
d-axis inductance (Ld) | H | 0.0025 |
Rotational Inertia (J) | kg · m2 | 0.0008 |
Rotor PM flux (ψr) | Wb | 0.175 |
Number of pole pairs (np) | pairs | 4 |
© 2014 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 license ( http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhao, K.-H.; Chen, T.-F.; Zhang, C.-F.; He, J.; Huang, G. Online Fault Detection of Permanent Magnet Demagnetization for IPMSMs by Nonsingular Fast Terminal-Sliding-Mode Observer. Sensors 2014, 14, 23119-23136. https://doi.org/10.3390/s141223119
Zhao K-H, Chen T-F, Zhang C-F, He J, Huang G. Online Fault Detection of Permanent Magnet Demagnetization for IPMSMs by Nonsingular Fast Terminal-Sliding-Mode Observer. Sensors. 2014; 14(12):23119-23136. https://doi.org/10.3390/s141223119
Chicago/Turabian StyleZhao, Kai-Hui, Te-Fang Chen, Chang-Fan Zhang, Jing He, and Gang Huang. 2014. "Online Fault Detection of Permanent Magnet Demagnetization for IPMSMs by Nonsingular Fast Terminal-Sliding-Mode Observer" Sensors 14, no. 12: 23119-23136. https://doi.org/10.3390/s141223119
APA StyleZhao, K. -H., Chen, T. -F., Zhang, C. -F., He, J., & Huang, G. (2014). Online Fault Detection of Permanent Magnet Demagnetization for IPMSMs by Nonsingular Fast Terminal-Sliding-Mode Observer. Sensors, 14(12), 23119-23136. https://doi.org/10.3390/s141223119