Next Article in Journal
An Improved Full-Speed Domain Sensorless Control Scheme for Permanent Magnet Synchronous Motor Based on Hybrid Position Observer and Disturbance Rejection Optimization
Previous Article in Journal
Research on Pattern Recognition Method for φ-OTDR System Based on Dendrite Net
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PMSM Inter-Turn Short Circuit Fault Detection Using the Fuzzy-Extended Kalman Filter in Electric Vehicles

1
Technology Energy and Innovation Materials Research Laboratory, Faculty of Sciences of Gafsa, University of Gafsa, Gafsa 2112, Tunisia
2
National Engineering School of Gabes, University of Gabes, Gabes 6029, Tunisia
3
Research Unit of Energy Processes Environment and Electrical Systems, National Engineering School of Gabes, University of Gabes, Gabes 6029, Tunisia
4
Higher School of Applied Sciences and Technology of Gafsa, University of Gafsa, Gafsa 2112, Tunisia
*
Authors to whom correspondence should be addressed.
Electronics 2023, 12(18), 3758; https://doi.org/10.3390/electronics12183758
Submission received: 21 July 2023 / Revised: 17 August 2023 / Accepted: 5 September 2023 / Published: 6 September 2023

Abstract

:
To avoid damaging the motor and its surrounding equipment, detecting Inter-Turn Short Circuit (ITSC) faults in Permanent Magnet Synchronous Motors (PMSMs) applied in electric vehicles is a crucial task. In this paper, the detection of ITSC faults in stator winding for PMSMs is carried out by means of the Extended KALMAN Filter (EKF) algorithm combined with the Fuzzy Logic Estimator (FLE). To estimate the motor parameters, including the rotor position and speed, the EKF algorithm uses the measured stator currents and voltages beside the stator resistance, which is calculated in advance using fuzzy logic and fed to the EKF. The change behaviors of the estimated parameters were then used to detect short circuit faults in the PMSM. Using Matlab/Simulink, the proposed FL-EKF algorithm was implemented and tested on a faulty PMSM controlled by Field Oriented Control (FOC). The observation of a perfect estimation of the stator resistance through the simulation helps to precisely detect the failure, and that demonstrates the sensitivity and robustness of the proposed approach.

1. Introduction

In the last decades, permanent magnet synchronous motors have become extensively used in various industry applications, especially in electric vehicles, owing to their efficiency and high power density [1]. Nevertheless, these motors are susceptible to inter-turn short circuit faults due to various reasons, such as mechanical stresses, temperature rise, and electrical overload [2]. This type of failure represents about 38% of all motor faults [3,4]. Impulsive short circuits may result in elevated magnetic counter fields, thereby augmenting the probability of demagnetization. Furthermore, the abrupt short-circuit stimulates a significant temporary alternating electromagnetic torque that could potentially inflict harm upon either the coupling or the machinery shaft [5]. Therefore, detecting these faults is crucial for ensuring the reliable and safe operation of electric vehicles.
In the aims of ITSC fault detection techniques, recent researchers employed three principal methodologies classified as [6,7,8,9]: the signal analysis method, the method based on artificial knowledge, and the method based on a model.
In the case of the signal-based methods, fault identification is accomplished through an assessment of the distinction in measured signals between a healthy PMSM and a defective PMSM, for instance, Fast Fourier Transform (FFT) [10], which can be utilized to process the stationary signal, or also the short-time, time–frequency methods, Fourier Transform (STFT) [11], Discrete wavelet transform (DWT) [12], transform of Hilbert-Huang (HHT) [13] and Empirical Mode Decomposition (EMD) [14] which always uses frequency spectrum analysis. However, these methods present operational hurdles owing to the considerable computational load involved, and the absence of signals identifying fault characteristics does not necessarily ensure the optimal operational status of the machine [15].
Currently, the knowledge–data diagnostic techniques that have reached a higher level of development and sophistication are Support Vector Machine (SVM), expert systems, neural networks (NN) and fuzzy logic (FL), and deep learning [4,16,17,18]. The efficacy and resilience of these methods have been demonstrated in detecting faults [19,20,21]. However, the aforementioned techniques require considerable datasets for prompt training, thus resulting in a resource-intensive and time-consuming process owing to the requirement of specialized software and hardware.
Regarding the analytical model-based method, it is prevalent as it provides numerous benefits. Notably, it allows for precise identification of inter-turn short circuits present in electrical machines, as it requires a precise mathematical representation of the machine describing the relationship between the motor’s inputs and its outputs. By using the nominal values and comparing them to the model predictions, fault detection can be achieved and detected at an early stage [22]. This approach utilizes a variety of techniques, including the Extended Kalman Filter (EKF), which testifies to a lack of academic research on this specific issue concerning the PMSM motor.
A combination of the Particle Swarm Optimization (PSO) algorithm and the Artificial Neural Network (ANN) has been proposed in [23] to provide factual data concerning the specific characteristics, position, and intensity of a short circuit fault observed in a permanent magnet synchronous motor (PMSM). The use of the EKF algorithm enables real-time data processing and the subsequent application of the Artificial Neural Network (ANN) for online training purposes.
In [24], the authors use an extended conventional state vector Kalman Filter algorithm to estimate three short-circuited turn ratios for a permanent-magnet synchronous generator. In [25], the EKF was applied to Switched reluctance motors (SRMs) for fault detection based on the residual signal of the resistance.
In [26], authors propose a method for detecting ITSC faults in PMSMs operating through sensorless input-output linearization control, which incorporates the EKF observer to estimate the stator resistance and the rotor speed. The method uses the Fast Fourier Transform (FFT) to analyze and identify any variations in the stator resistance, specifically in stationary states. Additionally, the method applies the Discrete Wavelet Transform (DWT) to detect such variations in non-stationary states, thereby confirming the presence of inter-turn faults.
In a similar manner, the use of the unscented Kalman filter (UKF) in [27] was also implemented. The outcomes illustrated that the UKF methodology yields more accurate estimations for identifying faults as compared to the extended Kalman filter (EKF). At the same time, authors in [28] have conducted practical trials to confirm the effectiveness of implementing EKF for the purpose of obtaining the motor current signals (MCS) and the motor voltage signals (MVS) for the identification of ITSC in induction motors (IM).
Recently, authors in [29] carried out a study about the detection and identification of ITSC in stator windings in induction motors by applying FFT and STFT analysis using the residual current between the actual stator current and the estimated one by EKF. This study confirms the effectiveness of the STFT analysis compared to the FFT analysis.
Low cost, real-time application, and less data required are the most important features in industrial applications interested in fault detection in electric vehicle motors. Thus, considering these factors, the primary aim of this study is to ascertain the existence of inter-turn short circuit faults that can be observed within permanent magnet synchronous machines governed by FOC through the application of the Extended Kalman Filter (EKF) technique, regardless of the difficulty of online fault detection in close loop control. Additionally, the use of fuzzy logic for stator resistance estimation is incorporated to account for potential parameter fluctuations and improve the EKF’s performance.
The following sections of this manuscript are structured as follows: In Section 2, the faulty PMSM model in the α-β reference frame is delineated. Section 3 elaborates on the fundamental approach proposed for detecting ITSC faults by incorporating an apt model of an extended Kalman Filter that utilizes Fuzzy Logic for accurately evaluating stator resistance. Finally, the fault detection method, as proposed, is outlined and validated through the achievement of several tests in the MATLAB/Simulink environment.

2. PMSM Faulty Model

The studied machine topology in the present work is a surface-mounted PMSM with one slot per pole and per phase, where the three stator phases are connected in a star without a neutral connection. The mathematical representation of the machine in this study is formulated based on the following set of assumptions:
  • The magnetic circuit of the machine is unsaturated;
  • The electromotive forces (EMFs) follow a sinusoidal distribution;
  • The air gap is of uniform thickness;
Figure 1 shows the representation of the faulty PMSM model where the inter-turn short circuit occurs in phase A. In fact, the fault resistance value Rf indicates the intensity of the insulation defect. The winding where the fault occurs is therefore split into two parts [30]:
a1 is the sub-winding of the healthy part, and a2 represents the sub-winding of the short-circuited part; Ra1, Ra2 and La1, La2 are, respectively, the resistance and the inductance of the healthy and faulty sub-winding and the parameters Mxy defines the mutual inductance between the sub-winding from phase A and phase y.
In addition, we have defined the coefficient µ, which describes the relative number of short circuit turns.
μ = N f N s
where Nf is the number of turns of the sub-winding a2 concerned by the fault, and Ns represent the number of turns per phase.
Figure 1. The equivalent circuit of faulty PMSM in phase A.
Figure 1. The equivalent circuit of faulty PMSM in phase A.
Electronics 12 03758 g001
Considering that Ma2b = Ma2c because the a1 and a2 sub-winding axes are aligned compared to A axe, the global matrix form of voltage equations is represented as follows:
V a s V b s V c s 0 = R i a s i b s i c s i f + [ L ] d d t i a s i b s i c s i f + e a s e b s e c s e a 2
with
R = R s 0 0 R a 2 0 R s 0 0 0 0 R s 0 R a 2 0 0 R a 2 + r f
and
[ L ] = L s 0 0 L a s M a 1 a 2 0 L s 0 M a 2 b 0 0 L s M a 2 b ( L a s + M a 1 a 2 M a 2 b ) 0 0 L a 2
where ias, ibs, ics and Vas, Vbs, Vcs are the currents and the voltages of the stator phase. Rs is the stator resistance, Ls represents the mutual inductance, eas, ebs, and ecs are the back electromotive EMF, and if is the short-circuit fault current.
The electromagnetic torque Te and the mechanical equation are expressed as follows:
T e = e a s · i a s + e b s · i b s + e c s · i c s e f · i f ω J · d Ω d t f r · ω = T e T l o a d
where ω, J, fr, Tload are, respectively, the mechanical angular velocity, the rotor inertia, the frictional coefficient and the load torque.
The application of Clark transformation on Equations (2) and (3) leads to the circuit matrix below:
V α V β 0 = R s 0 R a 2 0 R s 0 R a 2 0 R f i α i β i f + L s 0 M f α 0 L s 0 M f α 0 L a 2 d d t i α i β i f + e α e β e f
where:
R a 2 = 2 3 R a 2 , R f = R a 2 + r f , e f = e a 2 M f α = 2 3 ( L a 2 + M a 1 a 2 M a 2 b ) M f β = 0
On the other hand, the mechanical equation of the motor became:
T e = e α · i α + e β · i β e f · i f ω

3. Proposed Method

The main idea of this work consists of estimating the stator resistance using a Fuzzy Logic Estimator and providing it to the EKF as an additional state for a better assessment. Figure 2 illustrates the global structure of the proposed EKF-LF fault detection method. Here, the fuzzy controller takes in two parameters, specifically the discrepancy between the stator current e and its derivative e′, and produces a single outcome, which is the change in the stator resistance ∆Rs. Scaling factors are employed at the input and output stages of the FL estimation process to modify its sensitivity while preserving its overall structure. The stator current error e and its derivative e′ are normalized before being fed into the FL estimation. The EKF uses the estimated stator resistance along with the rest of the parameters to estimate stator currents, rotor position and speed states [31]. Comparing these estimated values to a threshold where an overtaking confirms the existence of the inter-turn short circuit fault.

3.1. Model of the Extended Kalman Filter

3.1.1. Extended Kalman Filter Principal

The extended Kalman filter (EKF) is a variant of the Kalman filter algorithm designed to handle nonlinear systems. Its primary purpose is to accurately estimate the state of a dynamical system, even when noise is present. The EKF is a recursive algorithm that updates the state estimate and its covariance based on measurements of the system and prediction of its dynamics. The EKF can handle nonlinearities in the system dynamics by approximating them as linear in small regions around the current state estimate. This is accomplished through the implementation of a Taylor series expansion technique, wherein the nonlinear functions are approximated by linearized versions around the present estimation. Consequently, a linearized Jacobian rendition of the system’s dynamics is obtained. The algorithm encompasses a series of essential actions concisely in two steps: the prediction and the update; these two steps operate at each sampling period Ts where the superscripts k and k + 1 refer to the time before and after the measurements have been processed. The EKF process is detailed in Figure 3 [32].
Initially, the state estimate and covariance are upgraded depending on the system’s dynamics model. The following expression represents the initial state vector estimation:
x ( k + 1 ) = g ( x ( k ) , u ( k ) ) + w ( k ) z ( k ) = h ( x ( k ) ) + v ( k )
where:
  • x(k): The state vector.
  • g(k): The transition matrix.
  • z(k): The measurement vector.
  • h(k): The non-linear measurement function.
  • w(k) and v(k): The process and the measurement disturbances, respectively.
Within the prediction step, the estimate covariance is calculated through:
p ( k + 1 / k ) = G ( k ) p ( k ) G ( k ) T + Q
where:
  • Q: The covariance matrix of the system noise.
  • G(k): The observation Jacobian matrix described by:
G ( k ) = g ( x ( k ) , u ( k ) ) x T ( k ) x ( k ) = x ^ ( k )
During this particular stage of the Extended Kalman Filter (EKF) process, a fresh set of measurements is acquired, leading to the correction phase. Using the estimation error covariance matrix P, the Kalman gain K (k + 1) is obtained from the following expressions:
P ( k + 1 / k + 1 ) = ( I K ( k + 1 ) H ( k ) ) P 1 ( k + 1 )
K ( k + 1 ) = P 1 ( k + 1 ) H ( k ) T ( H ( k ) P 1 ( k + 1 ) H ( k ) T + R ) 1
Here:
R: the covariance matrix of the measurements noise.
Finally, the correction of the predicted state x ^ (k + 1) is achieved by the following equation:
x ^ ( k + 1 ) = x ^ ( k ) + K ( k + 1 ) ( z ( k + 1 ) H x ^ ( k + 1 ) )

3.1.2. Extended Kalman Filter Simulation Model

The PMSM space-state model for EKF can be obtained according to Equations (5) and (6) based on the stationary reference frame (αβ) as the following model:
d X d t = A X + B U Y = C X
where, the state vector X = i α i β ω r t e t h a .
The input vector U = V α V β T l o a d
The output vector Y = i α i β
And B = 1 L s 0 0 0 0 1 L s 0 0 0 0 1 J 0 ; C = 1 0 0 0 0 1 0 0 .
Here, the avoidance of the rotor position utilization accomplished by the mean of the stationary reference (αβ) frame because it turns out that those errors in estimating the initial position of the rotor can lead to serious consequences by introducing errors in the EKF process.
The EKF employs the control inputs of the system and the measurement data to provide estimates for the states of the PMSM machine.
For the implementation of EKF in this work, we use the discrete dynamic model derived from (13) given by the subsequent expressions:
x ( k + 1 ) = ( I + A · T s ) ( k ) + ( B · T s ) · u ( k ) z ( k + 1 ) = C · x ( k )
An essential aspect to consider during the design of the Extended Kalman Filter (EKF) lies in the selection of suitable values for the variance, and the covariance matrices Q and R. Modifying these matrix values can yield an impact on both the dynamics and stability of the filtering process. In the present study, the values for Q and R were determined through trial and error experimentation.
Q = 1 0 4 0 0 0 0 1 0 4 0 0 0 0 5 0 0 0 0 1 0 8 ; P = 1 0 7 0 0 0 0 1 0 7 0 0 0 0 80 0 0 0 0 1 0 7   a n d R = 1000 0 0 1000

3.2. Fuzzy Logic Stator Resistance Estimator

The non-linearity in the PMSM has a great impact on the accuracy of the stator resistance estimation [33,34,35]. Thence, fuzzy logic is considered an appropriate intelligent approach to identify the optimal value of Rs and helps EKF to detect the ITSC. Figure 4 illustrates the fundamental structure of the fuzzy stator resistance estimator [17].
To predict the error of the stator resistance e, the discrepancy in the stator current vector between the estimated value I* and the reference value I is measured and denoted as the stator current vector error and defined as follows:
e = I * I = ( i α * ) 2 ( i β * ) 2 i α 2 i β 2
The fuzzy estimator acquires the stator resistance error e and its derivative e′ as inputs after they were normalized. While the obtained result is the variation in stator resistance value denoted as ∆Rs, then the final value Rs is obtained through the persistent addition of the incrementally valued stator resistance ∆Rs to the measured stator resistance Rmes.
The utilization of triangular membership functions, as depicted in Figure 5, has facilitated the conversion of the clear-cut intake and the outturn variables into the corresponding fuzzy variables. The inputs e and e′ exhibit identical distribution characteristics and possess identical membership functions [17].
In our case, the fuzzy estimator variables are decomposed into five levels represented by a set of linguistic variables: Negative Medium (NM), Negative Small (NS), Zero (Z), Positive Small (PS) and Positive Medium (PM).
The Mamdani type inference procedure has been applied, and the change in the stator resistance value is calculated by the following rule:
If e is A and e′ is B, then ∆Rs is C
Where A, B and C represent the linguistic variables, a total of 25 combinations take place are resumed in Table 1.

4. Results and Discussion

The following section outlines the simulations acquired from the faulty PMSM drive regarding the proposed technique of ITSC fault detection using Matlab/Simulink, capitalizing on findings from studies that effectively verified experiments in comparable scenarios [23,26,36]. This was done to evaluate the efficiency of ITSC fault detection in the stator winding of Permanent Magnet Synchronous Motors (PMSM), as well as to gauge the performance of Extended Kalman Filter (EKF) estimation alongside the evaluation of fuzzy stator resistance estimation.
The present study concerns phase A as the faulty phase. The main specifications of the simulated PMSM motor are presented in Table 2. Throughout this simulation, an initial torque load of 1 N∙m is exerted.
Throughout the simulation, two tests are carried out:
  • Sensitivity and robustness test;
  • Fast Fourier Transform FFT analysis verification;

4.1. Sensitivity and Robustness Test

To assess the accuracy and efficiency of the suggested methodology. We used two main parameters’ variation: the resistance fault Rf, where the occurrence of a short circuit leads to a significant decrease in the resistance value specifically when Rf assumes zero, it indicates a definitive, clear short circuit fault, and the second parameter is the relative number of short circuit turns µ, it also denotes as the percentage of the fault. As this percentage increases, it indicates a corresponding escalation in the severity of the defect’s degree. Table 3 illustrates a compressive account of fault severity based on the amalgamation of the variation in the two mentioned parameters.
We start by evaluating the simulation in a healthy state. Then, the ITSC fault appears at t = 0.3 s. The faulty state characterized by the fault resistance Rf takes 10 Ω along with 40 sub-winding turns at t = 0.3 s, then Nf is subsequently increased to 80 by 0.5 s.
Additionally, a further test involved the reduction of the faulty resistance value Rf to 1, indicating the severest ITSC conditions. The resultant relationship between inputs and output of the stator resistance fuzzy logic estimator is indicated by a three-dimensional visual representation, as illustrated in Figure 6.
Figure 7a represents the prediction of the stator resistance Rs value where the actual value of Rs starts at 0.44 Ω in the healthy motor state; then for Rf = 10 Ω, Rs decreases by 0.009 Ω according to 25% of the fault rate considered at t = 0.3 s. The increase of the fault rate to 50% at t = 0.5 s leads to more diminution in Rs value. Hence, the reduction in stator resistance is concurrently associated with the generation of several oscillations resulting from inter-turn short circuits.
Notably, for the low value of Rf in Figure 7b, the decrease in Rf to 1 Ω shows the same behavior for Rs in addition to an augmentation in the ripple’s magnitude. However, the findings demonstrate a precise assessment compared to the results in [26], which validates the effectiveness of the stator resistance fuzzy logic estimator under the severest conditions of ITSC.
By applying a speed of 104 rpm, the response of the motor’s rotational velocity achieves the desired value in the healthy stage until 0.3 s, when the ITSC fault rate begins at 25%, then increases to 50% at 0.5 s. Figure 8 shows that this fault results in strong oscillations in the mechanical speed, and it becomes more critical in the case of reduced fault resistance Rf, causing significant mechanical vibrations.
From Figure 9, it is remarkable to note that the equilibrium of the current phases has been disturbed, and the extent of the current disturbance is contingent upon the resistance fault Rf, as well as the severity of the fault rate µ. Additionally, the form of the observed currents is distorted.
During the healthy stage, the stator currents stabilize in the form of balanced sine waves with a constant amplitude of 12 A.
Details concerning the electromagnetic torque and the load torque are shown in Figure 10. We can clearly observe that during the acceleration, the electromagnetic torque reaches 2.6 N∙m in the motor’s healthy state configuration. In the presence of a heightened fault rate percentage, there is an observable amplification of the electromagnetic torque, along with a decrease in stator resistance. Ripples in the torque waveform are also noticed, which damage the machine and disrupt its operation.
The impact of the ripples on the d-q axis stator currents is illustrated in Figure 11.
The fault current and its estimated value in Figure 12 are ideally aligned and harmoniously correspond with each other. Before ITSC fault injection (in the healthy state), the fault current exhibits oscillations approximately centered around zero, with a relatively small magnitude. When the fault severity increases, there is a lack of consistency in of the short circuit current amplitude, which peaks at 12.8 A in Figure 12b. This may lead to the occurrence of elevated temperatures within the area encountering the ITSC fault. Therefore, the machine’s performance will decrease.
Table 4 presents a comprehensive overview of the measurements obtained for the defective electrical current under varying conditions, thus suggesting the relevance of this behavior in facilitating the identification of faults.
The proposed method demonstrates optimal precision and high accuracy in cases of severe and extremely severe fault degrees, where detecting changes in the PMSM’s behavior is more straightforward. However, under conditions of mild to moderate fault degrees, the estimation error increases.
The calculation of the precision error percentage using the Mean Percentage Error (MPE) method yields a value of approximately 6.07 × 10−6. Additionally, employing the Root Mean Squared Error (RMSE) method results in an error value of approximately 1.38 × 10−6 A. Despite this slight increase in error magnitude, the value remains consistently minimal, which substantiates the effectiveness of our method.

4.2. Fast Fourier Transform FFT Analysis Verification

According to the literature, the Fast Fourier Transform (FFT) is employed in the analysis of the frequency spectrum derived from the current or voltage signal of permanent magnet synchronous motors (PMSM) to identify faults occurring in the stator winding. Any deviations or abnormalities in the amplitude and phase of certain frequency components comparing the observed spectrum with the expected spectrum of a healthy motor are a signification of an ITSC fault in the stator winding [37]. It is necessary to consider the degree of damage incurred by ITSC; specifically, this damage has a direct effect on the amplitude of frequencies that are odd multiples of the fundamental frequency of the supply voltage [36].
The graphical presentation in Figure 13a depicts the obtained simulation results, illustrating a distinct frequency at 66.67 Hz in the normal operational state, which corresponds to the fundamental frequency of the motor. Despite that, when an inter-turn short circuits fault is present with 40% severity, as shown in Figure 13b, additional frequencies become evident at the 3rd, 5th and 7th harmonics, which correspond to 200 Hz, 333.35 Hz and 466.69 Hz, respectively. These odd harmonics emerge subsequent to the occurrence of the short-circuit fault between the stator sub-windings.
To gain a deeper understanding of the correlation between resistance faults and fault severity degrees depending on the amplitude of the harmonic, we conducted a comprehensive evaluation encompassing various combinations of these parameters.
The findings presented in Figure 14 demonstrate that the odd harmonic amplitude in situations of faulty conditions exhibits a direct relationship with the fault resistance Rf. Moreover, it demonstrates an inverse relationship with both the severity of the fault and the number of turns within the stator sub-winding Nf.
Accordingly, the THD (Total Harmonic Distortion) percentage in Figure 15, which is 11.40% in the healthy state, is increased compared to the faulty state, notably in the severest state, where it reaches 11.93%. Hence, the dimensions of these entities can potentially be used as a method for detecting and analyzing ITSC faults.

4.3. Comparative Analysis

As the proposed method combines both analytical and intelligent techniques, we have decided to compare it with a purely analytic method and a purely intelligent method to demonstrate the benefits of leveraging each approach. By conducting this comparison, we aim to illustrate how our method effectively capitalizes on the advantages offered by both types of methodologies, resulting in a more robust and comprehensive fault detection solution.
The paper referenced as [26] employs the convolution Extended Kalman Filter (EKF) for stator current phase and stator resistance estimation. However, this approach exhibits only mediocre performance, particularly in stator estimation, when compared to our proposed method.
In the study referred to as [36], the CNN-based system directly analyzes the phase current signals, leading to a notable enhancement in fault detection precision. Additionally, the incorporation of DNNs contributes to a partial reduction in computational complexity, although it remains comparatively more complex than the Fuzzy Logic (FL) method.
In the work described in reference [23], where Artificial Neural Networks (ANNs), Particle Swarm Optimization (PSO), and Extended Kalman Filter (EKF) algorithms are employed, it is crucial to acknowledge that these techniques can introduce computational complexity when compared to the proposed method. Moreover, the inclusion of real-time optimization and online training further adds to the intricacy of the approach.
Table 5 provides a summary of the preceding comparison, aiming to assess the effectiveness of the proposed method.
To conclude, the outcomes of our approach’s simulations are highly pleasing, as demonstrated through a thorough comparison with the aforementioned, widely recognized techniques delineated in the literature and authenticated experimentally by their respective originators.

5. Conclusions

The inter-turn short circuit fault in the stator phase of the permanent magnet synchronous motor (PMSM) intended for electric vehicles is the flaw that is being examined in this study. The mathematical modeling of the motor with an ITSC fault in the A stator phase is carried out using MATLAB. During the initial stage of the proposed approach, the stator resistance is estimated by a fuzzy logic estimator, and then the online detection procedure is continued by the EKF observer in both the machine’s healthy and malfunctioning states. The perceptibility of the ITSC fault features by this approach is used in fault detection. Moreover, FFT analysis is utilized to ensure the occurrence of an inter-turn short circuit fault within the stator phase, and the results show an assertion of a direct correlation between the odd harmonic amplitude and the presence of the ITSC fault in the stator phase.
The findings demonstrate that employing Fuzzy logic for stator resistance estimation yields a highly accurate value in comparison to the measured value. This, in turn, enhances the precision of Extended Kalman Filter (EKF) estimation.
The simulation outcomes demonstrate the resilience of the proposed approach, particularly in severe inter-turn short-circuit scenarios with low-value error estimation. Notably, the enhancement achieved by incorporating the FL estimator into the EKF framework results in superior precision in fault detection compared to the conventional EKF. Furthermore, from a computational complexity perspective, the proposed method exhibits relatively lower complexity compared to neural networks, which necessitate multiple layers of nodes (neurons) and substantial datasets.
Overall, inter-turn short circuit fault detection accuracy and sensitivity have significantly improved in PMSMs by combining stator resistance estimates utilizing Fuzzy Logic and the extended Kalman Filter. The future prospects of our research endeavors encompass several key objectives:
  • Establishing analytical expressions for a sophisticated Surface-Mounted Permanent Magnet (SPM) Rotor model with multiple slots per pole and per phase, enhancing fault detection circuits;
  • Incorporating saturation effects and mechanical faults in the PMSM modeling process to achieve a comprehensive understanding of the machine’s behavior under varying conditions;
  • Developing an isolation solution for Inter-Turn Short Circuit (ITSC) detection to transform the detection approach into a fault-tolerant mechanism, improving overall system reliability and performance;

Author Contributions

Methodology, M.N.; software, M.R., M.N. and A.M.; validation, M.R., M.N. and A.M.; writing—original draft preparation, M.R.; supervision, A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lazari, P.; Wang, J.; Chen, L. A computationally efficient design technique for electric-vehicle traction machines. IEEE Trans. Ind. Appl. 2014, 50, 3203–3213. [Google Scholar] [CrossRef]
  2. Chen, Y.; Liang, S.; Li, W.; Liang, H.; Wang, C. Faults and diagnosis methods of permanent magnet synchronous motors: A review. Appl. Sci. 2019, 9, 2116. [Google Scholar] [CrossRef]
  3. Kia, M.Y.; Khedri, M.; Najafi, H.R.; Nejad, M.A.S. Hybrid modelling of doubly fed induction generators with inter-turn stator fault and its detection method using wavelet analysis. IET Gener. Transm. Distrib. 2013, 7, 982–990. [Google Scholar] [CrossRef]
  4. Ahmed Baba, M.; Naoui, M.; Cherkaoui, M. Fault-Tolerant Control Strategy for Hall Sensors in BLDC Motor Drive for Electric Vehicle Applications. Sustainability 2023, 15, 10430. [Google Scholar] [CrossRef]
  5. Orlowska-Kowalska, T.; Wolkiewicz, M.; Pietrzak, P.; Skowron, M.; Ewert, P.; Tarchala, G.; Krzysztofiak, M.; Kowalski, C.T. Fault Diagnosis and Fault-Tolerant Control of PMSM Drives-State of the Art and Future Challenges. IEEE Access 2022, 10, 59979–60024. [Google Scholar] [CrossRef]
  6. Moosakunju, S.; Mini, V.P.; Ushakumari, S.; Mayadevi, N.; Harikumar, R. A Hybrid Fault Detection and Diagnosis Algorithm for Five-Phase PMSM Drive. Arab. J. Sci. Eng. 2023, 48, 6507–6519. [Google Scholar] [CrossRef]
  7. Bhuiyan, E.A.; Akhand, M.M.A.; Das, S.K.; Ali, M.F.; Tasneem, Z.; Islam, M.R.; Saha, D.K.; Badal, F.R.; Ahamed, M.H.; Moyeen, S.I. A Survey on Fault Diagnosis and Fault Tolerant Methodologies for Permanent Magnet Synchronous Machines. Int. J. Autom. Comput. 2020, 17, 763–787. [Google Scholar] [CrossRef]
  8. Huang, W.; Du, J.; Hua, W.; Bi, K.; Fan, Q. A Hybrid Model-Based Diagnosis Approach for Open-Switch Faults in PMSM Drives. IEEE Trans. Power Electron. 2022, 37, 3728–3732. [Google Scholar] [CrossRef]
  9. Mohamed, N.; Aymen, F.; Mouna, B.H.; Lassaad, S. Modeling and simulation of vector control for a Permanent Magnet Synchronous Motor in electric vehicle. In Proceedings of the 2021 4th International Symposium on Advanced Electrical and Communication Technologies (ISAECT), Alkhobar, Saudi Arabia, 6–8 December 2021; pp. 1–5. [Google Scholar]
  10. Otava, L. Implementation of PMSM Inter-turn Short Fault Detection Using Frequency Analysis of Stator Currents. IFAC-PapersOnLine 2016, 49, 86–91. [Google Scholar] [CrossRef]
  11. Strangas, E.G.; Aviyente, S.; Zaidi, S.S.H. Time-frequency analysis for efficient fault diagnosis and failure prognosis for interior permanent-magnet AC motors. IEEE Trans. Ind. Electron. 2008, 55, 4191–4199. [Google Scholar] [CrossRef]
  12. Hang, J.; Zhang, J.; Xia, M.; Ding, S.; Hua, W. Interturn Fault Diagnosis for Model-Predictive-Controlled-PMSM Based on Cost Function and Wavelet Transform. IEEE Trans. Power Electron. 2020, 35, 6405–6418. [Google Scholar] [CrossRef]
  13. Wang, C.; Liu, X.; Chen, Z. Incipient stator insulation fault detection of permanent magnet synchronous wind generators based on hilbert-huang transformation. IEEE Trans. Magn. 2014, 50, 8206504. [Google Scholar] [CrossRef]
  14. Rosero, J.A.; Romeral, L.; Ortega, J.A.; Rosero, E. Short-circuit detection by means of empirical mode decomposition and Wigner-Ville distribution for PMSM running under dynamic condition. IEEE Trans. Ind. Electron. 2009, 56, 4534–4547. [Google Scholar] [CrossRef]
  15. Choi, S.; Haque, M.S.; Tarek, M.T.B.; Mulpuri, V.; Duan, Y.; Das, S.; Garg, V.; Ionel, D.M.; Masrur, M.A.; Mirafzal, B.; et al. Fault diagnosis techniques for permanent magnet AC machine and drives-A review of current state of the art. IEEE Trans. Transp. Electrif. 2018, 4, 444–463. [Google Scholar] [CrossRef]
  16. Zhang, J.; Wang, Y.; Zhu, K.; Zhang, Y.; Li, Y. Diagnosis of Inter-Turn Short Circuit Faults in Permanent Magnet Synchronous Motors Based on Few-Shot Learning Under a Federated Learning Framework. IEEE Trans. Ind. Inform. 2021, 17, 8495–8504. [Google Scholar] [CrossRef]
  17. Naoui, M.; Flah, A.; Sbita, L. Efficiency of Intelligent Control Design for Dual-Stator Machine on the EV Traction System. Arab. J. Sci. Eng. 2023, 1–22. [Google Scholar] [CrossRef]
  18. Xu, X.; Qiao, X.; Zhang, N.; Feng, J.; Wang, X. Review of intelligent fault diagnosis for permanent magnet synchronous motors in electric vehicles. Adv. Mech. Eng. 2020, 12, 1–14. [Google Scholar] [CrossRef]
  19. Li, R.; Wu, Z.; Li, X. Review on fault diagnosis and active fault tolerant control of permanent magnet synchronous motor drive system. J. Appl. Sci. Eng. 2021, 24, 185–205. [Google Scholar] [CrossRef]
  20. Hang, J.; Shu, X.; Ding, S.; Huang, Y. Robust Open-Circuit Fault Diagnosis for PMSM Drives Using Wavelet Convolutional Neural Network with Small Samples of Normalized Current Vector Trajectory Graph. IEEE Trans. Ind. Electron. 2023, 70, 7653–7663. [Google Scholar] [CrossRef]
  21. Bechkaoui, A.; Ouamrane, K.; Ameur, A.; Taibi, D. Detection of turn short circuit fault in PMSM variable speed based on adaptive fuzzy logic and sliding-mode control. In Proceedings of the 2015 4th International Conference on Electrical Engineering (ICEE), Boumerdes, Algeria, 13–15 December 2015; pp. 1–6. [Google Scholar] [CrossRef]
  22. Isermann, R. Model-Based Fault Detection and Diagnosis—Status and Applications. IFAC Proc. Vol. 2004, 37, 49–60. [Google Scholar] [CrossRef]
  23. Nyanteh, Y.D.; Srivastava, S.K.; Edrington, C.S.; Cartes, D.A. Application of artificial intelligence to stator winding fault diagnosis in Permanent Magnet Synchronous Machines. Electr. Power Syst. Res. 2013, 103, 201–213. [Google Scholar] [CrossRef]
  24. Aubert, B.; Regnier, J.; Caux, S.; Alejo, D. Kalman-filter-based indicator for online interturn short circuits detection in permanent-magnet synchronous generators. IEEE Trans. Ind. Electron. 2015, 62, 1921–1930. [Google Scholar] [CrossRef]
  25. Hoseini, S.R.K.; Farjah, E.; Ghanbari, T.; Givi, H. Extended Kalman filter-based method for inter-turn fault detection of the switched reluctance motors. IET Electr. Power Appl. 2016, 10, 714–722. [Google Scholar] [CrossRef]
  26. Maanani, Y.; Menacer, A. Modeling and diagnosis of the inter-turn short circuit fault for the sensorless input-output linearization control of the PMSM. Period. Polytech. Electr. Eng. Comput. Sci. 2019, 63, 159–168. [Google Scholar] [CrossRef]
  27. El Sayed, W.; El Geliel, M.A.; Lotfy, A. Fault diagnosis of PMSG stator inter-turn fault using extended kalman filter and unscented kalman filter. Energies 2020, 13, 2972. [Google Scholar] [CrossRef]
  28. Namdar, A.; Samet, H.; Allahbakhshi, M.; Tajdinian, M.; Ghanbari, T. A robust stator inter-turn fault detection in induction motor utilizing Kalman filter-based algorithm. Meas. J. Int. Meas. Confed. 2022, 187, 110181. [Google Scholar] [CrossRef]
  29. Ouamara, D.; Boukhnifer, M.; Chaibet, A.; Maidi, A. Diagnosis of Itsc Fault in the Electrical Vehicle Powertrain System through Signal Processing Analysis. Diagnostyka 2023, 24, 2023113. [Google Scholar] [CrossRef]
  30. Amiri Ahouee, R.; Mola, M. Inter-turn fault detection in PM synchronous motor by neuro-fuzzy technique. Int. J. Syst. Assur. Eng. Manag. 2020, 11, 923–934. [Google Scholar] [CrossRef]
  31. Baba, M.A.; Naoui, M.; Cherkaoui, M. Modeling and Simulation of a BLDC Motor Speed Control in Electric Vehicles. Int. Conf. Digit. Technol. Appl. 2023, 1, 883–895. [Google Scholar] [CrossRef]
  32. Kaniewski, P. Extended Kalman filter with reduced computational demands for systems with non-linear measurement models. Sensors 2020, 20, 1584. [Google Scholar] [CrossRef]
  33. Tlemcani, A.; Bouchhida, O.; Benmansour, K.; Boudana, D.; Boucherit, M.S. Direct torque control strategy (DTC) based on fuzzy logic controller for a Permanent Magnet synchronous machine drive. J. Electr. Eng. Technol. 2009, 4, 66–78. [Google Scholar] [CrossRef]
  34. Machines, E.; Wybrze, M. Online control signal-based diagnosis of interturn short circuits of PMSM drive. Arch. Electr. Eng. 2023, 72, 103–124. [Google Scholar] [CrossRef]
  35. Aymen, F.; Mohamed, N.; Chayma, S.; Reddy, R.; Alharthi, M.; Ghoneim, S.S.M. An Improved Direct torque control topology of a double stator machine using the fuzzy logic controller. IEEE Access 2021, 9, 126400–126413. [Google Scholar] [CrossRef]
  36. Skowron, M.; Krzysztofiak, M.; Orlowska-Kowalska, T. Effectiveness of Neural Fault Detectors of Permanent Magnet Synchronous Motor Trained with Symptoms from Field-Circuit Modeling. IEEE Access 2022, 10, 104598–104611. [Google Scholar] [CrossRef]
  37. Krzysztofiak, M.; Skowron, M.; Orlowska-Kowalska, T. Analysis of the impact of stator inter-turn short circuits on pmsm drive with scalar and vector control. Energies 2021, 14, 153. [Google Scholar] [CrossRef]
Figure 2. The global structure of FL-EKF fault detection method.
Figure 2. The global structure of FL-EKF fault detection method.
Electronics 12 03758 g002
Figure 3. The flowchart of Extended Kalman Filter.
Figure 3. The flowchart of Extended Kalman Filter.
Electronics 12 03758 g003
Figure 4. The diagram of Fuzzy Logic Rs Estimator.
Figure 4. The diagram of Fuzzy Logic Rs Estimator.
Electronics 12 03758 g004
Figure 5. The configuration of Fuzzy Logic membership functions.
Figure 5. The configuration of Fuzzy Logic membership functions.
Electronics 12 03758 g005
Figure 6. Surface Fuzzy control.
Figure 6. Surface Fuzzy control.
Electronics 12 03758 g006
Figure 7. Stator resistance estimation: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 7. Stator resistance estimation: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g007
Figure 8. Speed evolution: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 8. Speed evolution: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g008
Figure 9. Stator currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 9. Stator currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g009aElectronics 12 03758 g009b
Figure 10. Electromagnetic torque: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 10. Electromagnetic torque: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g010
Figure 11. Direct-quadratic currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 11. Direct-quadratic currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g011
Figure 12. Fault currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 12. Fault currents: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g012aElectronics 12 03758 g012b
Figure 13. Stator current FFT analysis harmonic, (a) healthy state; (b) 40% fault.
Figure 13. Stator current FFT analysis harmonic, (a) healthy state; (b) 40% fault.
Electronics 12 03758 g013
Figure 14. FFT analysis results of stator phase current under fault degree and fault resistance variation: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Figure 14. FFT analysis results of stator phase current under fault degree and fault resistance variation: (a) For Rf = 10 Ω; (b) For Rf = 1 Ω.
Electronics 12 03758 g014
Figure 15. THD of stator phase current.
Figure 15. THD of stator phase current.
Electronics 12 03758 g015
Table 1. The rule base for Rs estimation.
Table 1. The rule base for Rs estimation.
e/e′NSNMZPSPM
NSNMNMNMNSZ
NMNMNMNSZPS
ZNMNSZPSPM
PSNSZPSPMPM
PMZPSPMPMPM
Table 2. Studied PMSM motor parameters.
Table 2. Studied PMSM motor parameters.
ParametersValue
Pole pair number of p4
Resistance of the stator Rs0.44 Ω
Inductance of the stator Ld, Lq0.0031 H
Permanent magnet flux0.124 wb
Rotor inertia J0.0002 kg∙m2
Frictional coefficient fr0.0812 N∙m∙s/rad
Total number of stator turns Ns160
Back EMFsinusoidal
Table 3. Fault severity indication.
Table 3. Fault severity indication.
Rf = 10 ΩRf = 1 Ω
µ = 25%LowHigh
µ = 50%ModerateExtremely High
Table 4. Fault current measurements.
Table 4. Fault current measurements.
If (A)Rf = 10 ΩRf = 1 Ω
µ = 25%1.137.08
µ = 50%1.8312.16
Table 5. Comparative assessment of ITSC fault detection for PMSM.
Table 5. Comparative assessment of ITSC fault detection for PMSM.
MethodRs EstimationPrecisionComplexityReference
EKFMediumMediumMedium[26]
EKF + FLHighHighMediumProposed method
Neural Network Not usedHighHigh[36]
NN + PSO + EKFNot mentionedMediumHigh[23]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Romdhane, M.; Naoui, M.; Mansouri, A. PMSM Inter-Turn Short Circuit Fault Detection Using the Fuzzy-Extended Kalman Filter in Electric Vehicles. Electronics 2023, 12, 3758. https://doi.org/10.3390/electronics12183758

AMA Style

Romdhane M, Naoui M, Mansouri A. PMSM Inter-Turn Short Circuit Fault Detection Using the Fuzzy-Extended Kalman Filter in Electric Vehicles. Electronics. 2023; 12(18):3758. https://doi.org/10.3390/electronics12183758

Chicago/Turabian Style

Romdhane, Mabrouka, Mohamed Naoui, and Ali Mansouri. 2023. "PMSM Inter-Turn Short Circuit Fault Detection Using the Fuzzy-Extended Kalman Filter in Electric Vehicles" Electronics 12, no. 18: 3758. https://doi.org/10.3390/electronics12183758

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop