Next Article in Journal
Cross-View Attention Interaction Fusion Algorithm for Stereo Super-Resolution
Next Article in Special Issue
System-Level Fault Diagnosis for an Industrial Wafer Transfer Robot with Multi-Component Failure Modes
Previous Article in Journal
Joint Deployment Optimization of Parallelized SFCs and BVNFs in Multi-Access Edge Computing
Previous Article in Special Issue
Fault Prediction of Mechanical Equipment Based on Hilbert–Full-Vector Spectrum and TCDAN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification of Speed Sensor Faults Based on Shallow Neural Networks

1
Department of Electrical Machines, Drives and Measurements, Wroclaw University of Science and Technology, 50-370 Wroclaw, Poland
2
Department of Electrical Engineering and Mechatronics, Faculty of Electrical Engineering and Informatics, Technical University of Košice, 042 00 Košice, Slovakia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(12), 7263; https://doi.org/10.3390/app13127263
Submission received: 29 May 2023 / Revised: 10 June 2023 / Accepted: 16 June 2023 / Published: 18 June 2023

Abstract

:

Featured Application

The proposed solution belongs to the group of fault-tolerant control algorithms that are used in industrial drives. Systems of this type are particularly applicable in industries where an increased level of safety is required, such as electric vehicle drive systems, including electric and hybrid aircraft drive systems.

Abstract

This paper presents a novel speed sensor fault detection, classification, and compensation mechanism in a permanent magnet synchronous motor (PMSM) drive system. Application is based on state variable observers and shallow neural networks (NN). Classical fault detection mechanism based on state variable observers has been extended with neural networks. This enables improved detection efficiency and increases immunity to false alarms. In addition, the use of neural networks allowed for the classification of the failure type. Three types of failures are considered in the paper: signal loss, scaling error, and signal interference. The detection efficiency of the proposed solution is about 97%. On the other hand, the classification of the worst type of failure—signal loss—was achieved at the level of 100%. Other considered failure types are classified at the level of 80–90%. In addition, tests were carried out for two types of observers—model reference adaptive system and sliding mode observer—to compare the results. The work presents experimental results carried out for various operating conditions of the drive system. The failure classification times in the experimental tests were achieved at a level of less than 30 ms.

1. Introduction

Machine condition monitoring currently arouses great interest among researchers and a widely defined industry. In modern industrial applications, the aim is to ensure the highest possible level of safety. Control structures are equipped with automatic diagnostics systems. The elements whose failure can lead to a catastrophe include electric motors. Currently, the most popular in this group are permanent magnet synchronous motors (PMSM). The control system, in the case of PMSM, requires stator currents and rotor speed sensors. Those sensors allow for the stable operation of the drive system in a wide range of speed changes. Particularly important is the position/speed sensor. Determining the position of the shaft is necessary to control the PMSM. For this reason, the diagnostics of measuring sensors are as important as the diagnostics of other motor components [1]. In the PMSM drive system for speed measurement resolvers, encoders and tachometric sensors are mostly used. Damage to these types of elements may be divided into four main categories [2]:
  • Intermittent or total loss of signal;
  • Constant fault, where the measured signal takes a constant value, despite the motor rotation (the error may result from malfunctioning electronics or data acquisition system);
  • Gain fault, where the measured signal is reduced or amplified in relation to the real value (error due to inappropriate scaling);
  • Signal interference (in the case of the resolver and tachometer sensor, these are measurement noises appearing in analog signals, while in the encoder, such disturbances may arise during the cyclic loss of pulses).
In the subject of damage to the speed sensor in the drive system with an electric motor, mainly one approach is described. State variable observers and comparative diagnostics are used. The estimated signal is compared with the measured value. When the difference between the estimated and measured value exceeds a certain constant, the detector indicates a failure, and the system is switched to a sensorless operation based on the estimated value [3,4,5,6,7,8,9,10,11,12].
Most of the works describe only simulation results. This is due to the fact that even a short loss of the correct measurement of the shaft position can lead the system out of stability. An example of such work is [2]. The authors proposed the detection of speed sensor damage using the high-order sliding mode observer. Simulation results are shown for several speed values, with the system under load, for two types of failures—constant fault and measurement noise. In the case of constant fault, detection with a significant increase in speed is shown; the reaction of the detection system to small changes in speed is unknown. During measurement noise, the detector pulses, which can be difficult to interpret in a practical application. Paper [3] also presents the simulation results for a detection mechanism of the same type, but only the constant fault failure was considered, and the Unknown input observer was used to estimate the speed. A slight modification of this approach is presented in [4]. Comparing the measured and estimated values was also applied for damage detection. In this case, the extended Kalman filter (KF) was used. The modification is switching the controller after a failure occurrence to a fuzzy logic controller. The simulation results show that during a small discrepancy between the measured and estimated speeds caused by a failure, the system can operate with a robust controller and does not require switching to sensorless mode. In the literature, it is also possible to find works using other types of estimators, such as model reference adaptive system (MRAS) [12] and the Luenberger observer (LO) [9]. The main disadvantage of the described solutions is the lack of experimental research.
The use of other types of methods is shown in single articles. In [13], detection is based on the park current vector (PCV). This solution allows to detect the loss of the measurement signal. This is one of the few papers where both simulation and experimental results are included. The concept of a neural detector is shown in [14]. The detection is based on measured and estimated signals. However, this solution is presented for an induction motor, with only simulation results. The obtained results show that the detection of damage to the speed sensor using a neural network allows for high efficiency.
In the literature, many examples where neural detectors are used in drive systems for faults of elements other than the speed sensor can be found. These works show mainly applications for detecting electrical [15,16] and mechanical [17,18] damage to the motor itself. In the case of sensors, several works describe the detection of damage to current sensors using neural networks [19,20,21]. These works confirm the effectiveness of such solutions, which is why it is the next step to use neural detection to damage the speed sensor.
The paper presents a proposal to extend diagnostic systems based on estimators of state variables with damage classification of any speed sensor type. For this purpose, a shallow neural network was used. Such an approach has not been previously described in the literature. The work is focused on the possibilities of using neural networks in the classification of faults of current sensors. The speed estimators used in the work are described as indirect tools. The influence of estimator parameters on estimation accuracy has already been discussed many times in the literature [22,23,24].
The use of NN not only allows for classifying the type of damage but also increases the effectiveness of the 0–1 fault detection. Additional diagnostic functionality allows for obtaining additional information about the failure. Which in practice means a faster repair of the damaged element. Three types of failures are considered in the system, which can most often occur in the speed sensor—loss of signal, scaling error, and signal interference. These failures usually have repeatable causes. Such initial diagnostics can significantly speed up the repair process of an element or determine whether it needs to be replaced. The paper shows experimental results that distinguish the proposed work from other works describing the detection of speed sensor faults. The results are presented for different speed and load values. In addition, the article presents an analysis of the damage classifier based on the SMO and MRAS estimators to compare both systems. For both systems, the MLP was used for damage classification.
The article is organized as follows. The first part presents the importance of the research problem and describes it against the background of works available in the literature. The next part describes the theoretical background of state variable observers used for fault detection. The third chapter presents the process of designing a neural speed sensor fault classifier using state variable observers described in chapter two. The following parts present the results obtained from experimental tests. Finally, the last chapter contains a brief summary of the obtained results.

2. Control Structure and State Variable Observers Used in the Research

In this work, two types of speed estimators were used to conduct a comparative analysis. The control system is equipped with a simple fault detector that compares the measured and estimated speed values. The detection is also based on comparing the measured and estimated values of the current in the q axis in the rotor frame. The use of observers allows for sensorless operation after a failure and fast fault detection.
Experimental tests were carried out on a 0.894 kW PMSM motor from Moog (G403-2007A). The dSpace DS1103 rapid prototyping system with Control Desk and Matlab/Simulink software was used in the tests, the position of the shaft was measured with an incremental encoder (36,000 imp./rev), and the current measurement was carried out using LEM-type current transducers. Another Moog PMSM motor (G404-2009A—0.89 kW) controlled by a Moog servo drive was used as the load. The parameters of the motor are presented in Table 1.
Photos of the essential elements of the laboratory set-up are shown in Figure 1.

2.1. Model Reference Adaptive System

The first system used for speed estimation is the model reference adaptive system (MRAS). This type of estimator consists of three basic elements: reference model, adjustable model, and adaptive law. The difference between the value obtained from the reference model and the adjustable model is processed by the adaption law. Subsequently obtained signal can adjust the adjustable model parameters and strive to obtain the same value as the value from the reference model. MRAS used in the article is based on the PMSM model in the d-q coordinate system, assuming that the motor is equipped in surface mounted magnets and inductances L d = L q [22]:
d d t i d + ψ f L i q = R s L ω e ω e R s L i d + ψ f L i q + 1 L U d + R s ψ f L U q ,
where
i d , i q —currents in d-q coordinate;
ψ f —magnetic flux;
L —stator inductance;
R s —stator resistance;
U d , U q —voltages in d-q coordinate;
ω e —electrical speed.
In the following, for the sake of simplifying the notation, the following relationship was assumed:
i d * = i d + ψ f L , i q * = i q , U d * = U d + R s ψ f L , U q * = U q ,
The adjustable model is based on Equations (1) and (2), where the adaptive parameter is electrical speed ω e . The actual measurement of the i d , i q currents is selected as the reference model. The excitatory signals for both models are the U d , U q voltages. The final equation is presented below as follows:
d d t i ^ d i ^ q = R s L ω ^ e ω ^ e R s L i ^ d i ^ q + 1 L U d * U q * ,
where
i ^ d , i ^ q —estimated currents in d-q coordinate;
ω ^ e —estimated electrical speed.
The last element of the MRAS is adaptive law. In the study, adaptive law based on the following equation was used:
ω ^ = ( K p + K i s ) ( i d i ^ q i q i ^ d ψ f L ( i q i ^ q ) ) ,
In the research, adaptive law parameters K p = 0.6 and K i = 200 were adopted. Figure 2 shows the complete estimation scheme based on MRAS.
Example transients obtained from the experimental set-up of the estimated and measured speed in the sensor and sensorless mode operation are shown in Figure 3. Speed is estimated with high accuracy. The system works stably in sensorless mode.
The MRAS system also enables sensorless startup. The course of such a start is shown in Figure 4.

2.2. Sliding Mode Observer

Sliding mode observer (SMO)used in article is based on PMSM model in α-β coordinate system, defined below:
i α i β = 1 L R s 0 0 R s i α i β + 1 L u α e α u β e β ,
where
i α , i β —currents in α-β coordinate;
u α , u β —voltages in d-q coordinate.
In the case of SMO, the basis for the speed estimation is the estimation of the back-EMF expressed as follows:
e α = ω e ψ P M sin ( θ e ) ;
e β = ω e ψ P M cos ( θ e ) .
From these equations, it can be concluded that the electrical speed value can be determined if the values of the back-EMF voltage are available. Since these components cannot be directly measured during motor control, an observer is required. For this purpose, the reduced order back-EMF SMO will be used, which is defined as follows:
i ^ ˙ α i ^ ˙ β = 1 L s R s 0 0 R s i ^ α i ^ β + 1 L s u α e ^ α z α u β e ^ β z β ,
where superscript (ˆ) indicates that the value is observed, and zα and zβ are the SMO feedback signals. In the case of this observer, it also attempted to equalize the estimated and measured currents: i α , i β and i ^ α , i ^ β . The observation errors are defined as follows:
s ( x ) = i ¯ α i ¯ β = i ^ α i α i ^ β i β ,
where i ¯ α , i ¯ β are the errors between the measured and the observed stator currents.
The sliding surface defined for the SMO is given by (10). It means that the phase plane is divided into two sections in which the observation errors defined in (9) have different signs. The switching action occurs as follows:
s ( x ) = 0
The current observation errors are used as the input for the switching function. In the early stages of the SMO, the discontinuous sign function was commonly used [25]. However, the sign function introduces a lot of noise and chattering. Modern solutions use continuous functions as the limit, sigmoid or hyperbolic functions [26]. In this article, a hyperbolic function will be used, and it is defined as follows:
z α z β = k 1 e m i ¯ α e m i ¯ α e m i ¯ α e m i ¯ α e m i ¯ β e m i ¯ β e m i ¯ β e m i ¯ β ,
where
k 1 —the feedback gain;
m is—the shaping parameter.
The short time interval average values of the feedback signal components in (11) represent the back-EMF components. To obtain these values, a low-pass filter (LPF) can be used, which is defined as follows [26]:
e ^ α e ^ β = ω c s + ω c z α z β ,
where ω c is the cutoff frequency of the LPF. Rearranging Equation (8), the estimated electrical rotor position can be calculated as follows:
θ ^ e = a tan 2 ( e ^ α e ^ β ) ,
The estimated mechanical speed can be calculated by deriving the observed rotor position:
ω ^ m = 1 p d θ ^ e d t ,
The block diagram of the reduced-order SMO is presented in Figure 5.
Example transients of estimated and measured speed in sensor and sensorless mode are presented in Figure 6. The results confirm stable operations in a sensorless system.
In order to compare the estimation accuracy of both systems, Figure 7 shows the estimation error transients (difference between measured and estimated speed) for both systems under the same operating conditions. Based on the presented results, it can be concluded that the SMO system achieves greater accuracy.

3. Speed Sensor Faults Classifier Based on Neural Networks

The damage classification mechanism is based on the classic multilayer perceptron. The perceptron is a feedforward neural network consisting of an input layer, n- hidden layers, and an output layer. Each neuron in each layer is connected to a neuron in the next layer; there are no connections between the neurons of the same layer. The operation of such a neural network can be written in a simple way by the equation [17]:
y k = f 3 f 2 i = 1 M w k i ( 2 ) × f 1 j = 1 N w i j ( 1 ) × x j + w 0 ( 1 ) + w 0 ( 2 ) + w 0 ( 3 )
where
ykk-th output of the network;
xjj-th input of the network;
w i j 1 , w k i 2 —weights of the first and second hidden layers, respectively;
w 0 1 , w 0 ( 2 ) , w 0 ( 3 ) —biases in the first and second hidden layers, and output layer, respectively;
f 1 , f 2 , f 3 —activation functions of first hidden layer, second hidden layer, and output layer, respectively.
The paper presents two types of speed sensor fault neural classifiers based on two different speed observers. Classifiers are presented as two separate neural structures. Apart from the use of two different types of observers, the classification schemes are the same. In both cases, the Levenberg–Marquardt method was used to train the network.
Moreover, 23-15-1 was chosen as the network structure according to the theory with the highest efficiency with the number of neurons in the first hidden layer 2N + 1.
The basic element while designing this type of damage classifier is the selection of appropriate diagnostic signals. The input vector of the neural network is based on the measured and estimated speed value, as well as the measured and estimated q-axis current value.
The difference between the current and previous samples is given to the input of the neural network. A simple comparative detector is primarily responsible for damage detection. The value of the measured and estimated speed and the value of the current in the q axis are compared. The output value of this detector activates the sensorless mode. This signal is also fed to the input of the neural network. The full input vector is presented below:
[ ω r e f ( k ) , ω e r r ( k ) , ω e r r ( k 1 ) , ω e r r ( k 3 ) , ω e r r ( k 5 ) , ω e r r ( k 7 ) , i s q e r r ( k ) , i s q e r r ( k 1 ) , i s q e r r ( k 3 ) , i s q e r r ( k 5 ) , i s q e r r ( k 7 ) ] T
The description of individual input signals is presented in Table 2.
The classifier consists of one output, which indicates faults and is defined as follows:
0—no fault;
1—signal interference;
2—scaling error;
3—signal loss.
In addition to the listed failures, the system can also detect the disappearance of individual pulses of the detector. Training the network for a signal loss is sufficient for the detector to consider this type of failure as well.

4. Experimental Results

This chapter presents experimental results obtained from offline and online detection. The first stage of developing the classifier was to perform measurements and prepare the network input vector (training and testing data). In the next step, an appropriate structure was selected 23-10-1, and training of neural networks and an analysis of effectiveness in offline classification were carried out. In the last stage, the trained network was implemented on a laboratory set-up, and online classification was carried out. In the proposed solution, the system is switched to sensorless mode based on the response of the comparative detector. The neural classifier, on the other hand, is only an indicator of the failure type. A flowchart of the described solution is presented in Figure 8.
The complete control structure of the drive system with the detector and neural classifier is shown in Figure 9. Faults during the research were simulated in a software manner. The results are presented per unit.
In the research, the same type of PI regulator with anti-windup with a correction parameter was used to control the speed and currents in the d and q axes in the rotor frame. The block diagram of the applied system is shown in Figure 10.
The classifier effectiveness has been shown using confusion matrixes (Figure 11). Confusion matrixes are presented for neural classifier performance analysis obtained by offline classification. The exact parameters of the training and testing vectors are presented in Table 3. Based on the values presented in the table, it can be concluded that the network was tested for both interpolation and extrapolation.
Based on Figure 11, it can be concluded that the SMO-based approach allows for higher efficiency. In the case of both classifiers, both for training and test data, 100% classification of signal loss was obtained. Most errors occur with scaling errors. This is largely because, for low speeds, the difference between the estimated and the measured speed is small. The detectability of this error increases with increasing speed. An important conclusion that can be drawn from the presented results is that the scaling error and signal interference are detected with high efficiency, but the network makes mistakes in distinguishing them. This is also confirmed by the high efficiency of indicating the operation without damage. The analysis of the influence of the input vector signals on the classifier output is presented using correlations in Figure 12. In the case of both classifiers, the inputs related to the speed are definitely more important. The q-axis current in rotor frame inputs is an auxiliary symptom. The same applies to the reference speed.
The following results show sample transients for online detection and classification. First, the signal loss with and without load for different speeds for the classifier based on MRAS (Figure 13) is presented. In the neural classifier transients, the raw output of the neural network is shown NNOutput—and the output of the classifier, which is the rounded value of five samples of the network output—NNClassifier.
Switching on the load degrades the properties of both the detector and the classifier. There are false positives and misclassification. The moment of switching on the load causes additional noise that has been misclassified. As the operating speed increases, the detection and classification systems improve, and the influence of motor load decreases. Motor load also reduces the accuracy of the current estimation in the iq axis. The results obtained for less significant damages, scaling error, and signal interference are shown in Figure 14. In this case, a significant advantage of the neural classifier over the comparative detector can be noticed. Signal interferences are classified using a constant signal, not pulses. On the other hand, the scaling error, which is switched on from the start of the system operation, is detected only after reaching the speed about 0.15 ω N .
The next two figures show the online classification based on the SMO. They confirm the higher efficiency obtained for this classifier. During signal loss (Figure 15), both the detector and the classifier almost do not make errors. The load also slightly affects the efficiency of the system. In this case, too, the increase in speed improves the performance of the system. This is especially important for the SMO-based classifier because the version used in the article does not work correctly for the lowest speeds. Motor start in sensorless mode, unlike MRAS, is impossible as it requires additional systems. Signal interferences are detected with high efficiency, while the quick detection of cyclic signal losses shows the dynamics of the detector’s operation (Figure 16). In addition, the advantage of the SMO-based system is a much smaller impact of the motor load on the correct classification.
An important element of FTC systems is also the failure detection and classification time. Failure detection with a comparison detector in both cases—SMO and MRAS—is less than 0.0005 s. This time is not observable on the transients because every fifth sample was collected, and the sampling time was 0.0001. Whereas the classification times obtained for the testing vector under motor load conditions are presented in Table 4. Due to the method of data acquisition, the times presented in the table are approximate values.
Classification times for both types of classifiers are at a similar level. Classification times are, in most cases, less than 30 ms. It can also be inferred from the table that the detection time decreases with increasing speed. Example Transients showing the time of occurrence and classification of failures are shown in Figure 17.

5. Conclusions

The paper describes the possibilities of detection and classification of speed sensor faults in the PMSM control system based on MRAS, SMO, and neural networks. One of the estimators is responsible for the detection, while the neural structure is responsible for the classification. Detection is fast enough for the system to switch to sensorless mode even when the signal is lost. This made it possible to conduct experimental research. This is considered to be a significant advantage of the work, as most of the articles in the literature show only simulation results. Damage classification is an additional element of the monitoring system. It allows for obtaining practical information about the damage: the need to replace and change the scaling or calibration parameters. It can also indicate that the measured signal is disturbed. In advanced machine condition monitoring systems, such solutions are sought. Research shows a clear advantage of the SMO-based system. The estimation of the speed using the SMO system is more accurate. The obtained results also show the importance of conducting further research in the field of speed sensor faults classification with the use of neural networks. The next step in the authors’ research will be the use of deep learning methods.

Author Contributions

Conceptualization, M.D. and K.J.; methodology, M.D. and K.J.; software, K.J. and V.P.; validation, M.D. and K.J.; formal analysis, M.D., K.J., V.P. and K.K.; investigation, M.D. and K.J.; resources, M.D. and K.J.; data curation, K.J.; writing—original draft preparation, K.J.; writing—review and editing, M.D., V.P. and K.K.; visualization, K.J.; supervision, M.D.; project administration, M.D.; funding acquisition, M.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Scientific Grant Agency of the Ministry of Education of the Slovak Republic under the project VEGA 1/0363/23 and from the statutory funds of the Department of Electrical Machines, Drives and Measurements, Wroclaw University of Science and Technology.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, L.; Ding, S.X.; Luo, H.; Peng, K.; Yang, Y. Performance-Based Fault-Tolerant Control Approaches for Industrial Processes with Multiplicative Faults. IEEE Trans. Ind. Inform. 2020, 16, 4759–4768. [Google Scholar] [CrossRef]
  2. Bouakoura, M.; Naăźt-Saăźd, N.; Naăźt-Saăźd, M.-S. Speed Sensor Faults Diagnosis in an Induction Motor Vector Controlled Drive. Acta Electrotech. Inform. 2017, 17, 49–51. [Google Scholar] [CrossRef]
  3. Bensalem, Y.; Kouzou, A.; Abbassi, R.; Jerbi, H.; Kennel, R.; Abdelrahem, M. Sliding-Mode-Based Current and Speed Sensors Fault Diagnosis for Five-Phase PMSM. Energies 2022, 15, 71. [Google Scholar] [CrossRef]
  4. Hezzi, A.; Abdelkrim, M.N.; Ben Elghali, S. Robust Active Fault Tolerant Control for Five-Phase PMSM against Speed Sensor Failures. In Proceedings of the 2021 18th International Multi-Conference on Systems, Signals & Devices (SSD), Monastir, Tunisia, 22–25 March 2021; pp. 575–579. [Google Scholar] [CrossRef]
  5. Jlassi, I.; Cardoso, A.J.M. A single fault diagnostics approach for power switches, speed sensors and current sensors in regenerative PMSM drives. In Proceedings of the 2017 IEEE 11th International Symposium on Diagnostics for Electrical Machines, Power Electronics and Drives (SDEMPED), Tinos, Greece, 29 August–1 September 2017; pp. 366–372. [Google Scholar] [CrossRef]
  6. Xia, J.; Guo, Y.; Dai, B.; Zhang, X. Sensor fault tolerant control method for electric traction PWM rectifier using sliding mode observer. In Proceedings of the 2016 19th International Conference on Electrical Machines and Systems (ICEMS), Chiba, Japan, 13–16 November 2016; pp. 1–6. [Google Scholar]
  7. Kommuri, S.K.; Defoort, M.; Karimi, H.R.; Veluvolu, K.C. A Robust Observer-Based Sensor Fault-Tolerant Control for PMSM in Electric Vehicles. IEEE Trans. Ind. Electron. 2016, 63, 7671–7681. [Google Scholar] [CrossRef]
  8. Nicola, M.; Nicola, C.-I. Sensorless Control of PMSM using SMC and Sensor Fault Detection Observer. In Proceedings of the 2021 18th International Multi-Conference on Systems, Signals & Devices (SSD), Monastir, Tunisia, 22–25 March 2021; pp. 518–525. [Google Scholar] [CrossRef]
  9. Bourogaoui, M.; Jlassi, I.; El Khil, S.K.; Sethom, H.B.A. An effective encoder fault detection in PMSM drives at different speed ranges. In Proceedings of the 2015 IEEE 10th International Symposium on Diagnostics for Electrical Machines, Power Electronics and Drives (SDEMPED), Guarda, Portugal, 1–4 September 2015; pp. 90–96. [Google Scholar] [CrossRef]
  10. Odgaard, P.F.; Stoustrup, J. Unknown input observer based detection of sensor faults in a wind turbine. In Proceedings of the 2010 IEEE International Conference on Control Applications, Yokohama, Japan, 8–10 September 2010; pp. 310–315. [Google Scholar] [CrossRef]
  11. Salem, M.H.; Bensalem, Y.; Abdelkrim, M.N. A Speed Sensor Fault Tolerant Control for a Permanent Magnet Synchronous Motor. In Proceedings of the 2020 17th International Multi-Conference on Systems, Signals & Devices (SSD), Monastir, Tunisia, 20–23 July 2020; pp. 290–295. [Google Scholar] [CrossRef]
  12. Zhao, H.; Luo, P.; Wang, N.; Zheng, Z.; Wang, Y. Fuzzy logic control of the fault-tolerant PMSM servo system based on MRAS observer. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 9–11 June 2018; pp. 1812–1817. [Google Scholar] [CrossRef]
  13. Ben Slimen, S.; Bourogaoui, M.; Sethom, H.B.A. A New Approach for Effective Position/Speed Sensor Fault Detection in PMSM Drives. In Electrimacs Lecture Notes in Electrical Engineering; Zamboni, W., Petrone, G., Eds.; Springer: Cham, Switzerland, 2019; Volume 615. [Google Scholar] [CrossRef]
  14. Dybkowski, M. Wybrane detektory uszkodzeń czujnika prędkości obrotowej dla napędu wektorowego z silnikiem indukcyjnym. Przegląd Elektrotechniczny 2016, 1, 87–93. [Google Scholar] [CrossRef]
  15. Pietrzak, P.; Wolkiewicz, M.; Orlowska-Kowalska, T. PMSM Stator Winding Fault Detection and Classification Based on Bispectrum Analysis and Convolutional Neural Network. IEEE Trans. Ind. Electron. 2022, 70, 5192–5202. [Google Scholar] [CrossRef]
  16. Skowron, M.; Orlowska-Kowalska, T.; Kowalski, C.T. Diagnosis of Stator Winding and Permanent Magnet Faults of PMSM Drive Using Shallow Neural Networks. Electronics 2023, 12, 1068. [Google Scholar] [CrossRef]
  17. Ewert, P.; Orlowska-Kowalska, T.; Jankowska, K. Effectiveness Analysis of PMSM Motor Rolling Bearing Fault Detectors Based on Vibration Analysis and Shallow Neural Networks. Energies 2021, 14, 712. [Google Scholar] [CrossRef]
  18. Guedidi, A.; Guettaf, A.; Cardoso, A.J.M.; Laala, W.; Arif, A. Bearing Faults Classification Based on Variational Mode Decomposition and Artificial Neural Network. In Proceedings of the 2019 IEEE 12th International Symposium on Diagnostics for Electrical Machines, Power Electronics and Drives (SDEMPED), Toulouse, France, 27–30 August 2019; pp. 391–397. [Google Scholar] [CrossRef]
  19. Dybkowski, M.; Klimkowski, K. Artificial Neural Network Application for Current Sensors Fault Detection in the Vector Controlled Induction Motor Drive. Sensors 2019, 19, 571. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Skowron, M.; Teler, K.; Adamczyk, M.; Orlowska-Kowalska, T. Classification of Single Current Sensor Failures in Fault-Tolerant Induction Motor Drive Using Neural Network Approach. Energies 2022, 15, 6646. [Google Scholar] [CrossRef]
  21. Jankowska, K.; Dybkowski, M. Experimental Analysis of the Current Sensor Fault Detection Mechanism Based on Neural Networks in the PMSM Drive System. Electronics 2023, 12, 1170. [Google Scholar] [CrossRef]
  22. Qin, J.; Du, J. Minimum-learning-parameter-based adaptive finite-time trajectory tracking event-triggered control for underactuated surface vessels with parametric uncertainties. Ocean. Eng. 2023, 271, 113634. [Google Scholar] [CrossRef]
  23. Bai, H.; Yu, B.; Gu, W. Research on Position Sensorless Control of RDT Motor Based on Improved SMO with Continuous Hyperbolic Tangent Function and Improved Feedforward PLL. J. Mar. Sci. Eng. 2023, 11, 642. [Google Scholar] [CrossRef]
  24. Qin, J.; Du, J.; Li, J. Adaptive Finite-Time Trajectory Tracking Event-Triggered Control Scheme for Underactuated Surface Vessels Subject to Input Saturation. In IEEE Transactions on Intelligent Transportation Systems; IEEE: Piscataway, NJ, USA, 2023. [Google Scholar] [CrossRef]
  25. Utkin, V.; Guldner, J.; Shi, J. Sliding Mode Control in Electromechanical Systems, 1st ed.; Taylor & Francis: London, UK, 1999. [Google Scholar]
  26. Kyslan, K.; Petro, V.; Bober, P.; Šlapák, V.; Ďurovský, F.; Dybkowski, M.; Hric, M. A Comparative Study and Optimization of Switching Functions for Sliding-Mode Observer in Sensorless Control of PMSM. Energies 2022, 15, 2689. [Google Scholar] [CrossRef]
Figure 1. Photos of the experimental set-up.
Figure 1. Photos of the experimental set-up.
Applsci 13 07263 g001
Figure 2. Model reference adaptive system used in research structure, where estimated θ e is electrical motor position.
Figure 2. Model reference adaptive system used in research structure, where estimated θ e is electrical motor position.
Applsci 13 07263 g002
Figure 3. Transients of speed, current in q axis, and rotor position measured and estimated by MRAS in sensor (a) and sensorless (b) mode.
Figure 3. Transients of speed, current in q axis, and rotor position measured and estimated by MRAS in sensor (a) and sensorless (b) mode.
Applsci 13 07263 g003
Figure 4. Sensorless startup with model reference adaptive system.
Figure 4. Sensorless startup with model reference adaptive system.
Applsci 13 07263 g004
Figure 5. Block diagram of the reduced SMO used in the research.
Figure 5. Block diagram of the reduced SMO used in the research.
Applsci 13 07263 g005
Figure 6. Transients of speed, current in q axis, and rotor position measured and estimated by SMO in sensor (a) and sensorless (b) mode.
Figure 6. Transients of speed, current in q axis, and rotor position measured and estimated by SMO in sensor (a) and sensorless (b) mode.
Applsci 13 07263 g006
Figure 7. Transients of measured and estimated speed error with the use of MRAS (a) and SMO (b) in no load conditions.
Figure 7. Transients of measured and estimated speed error with the use of MRAS (a) and SMO (b) in no load conditions.
Applsci 13 07263 g007
Figure 8. Flowchart of detection, classification, and compensation system presented in the article.
Figure 8. Flowchart of detection, classification, and compensation system presented in the article.
Applsci 13 07263 g008
Figure 9. Control structure, including observer-based detectors and a neural classifier.
Figure 9. Control structure, including observer-based detectors and a neural classifier.
Applsci 13 07263 g009
Figure 10. Control structure, including observer-based detectors and a neural classifier.
Figure 10. Control structure, including observer-based detectors and a neural classifier.
Applsci 13 07263 g010
Figure 11. Confusion matrixes with effectiveness obtained by MRAS-based classifier for training (a) and testing data (b) and SMO-based classifier for training (c) and testing data (d).
Figure 11. Confusion matrixes with effectiveness obtained by MRAS-based classifier for training (a) and testing data (b) and SMO-based classifier for training (c) and testing data (d).
Applsci 13 07263 g011
Figure 12. Correlation values between input vector elements and output vector in classifier based on MRAS (a) and SMO (b).
Figure 12. Correlation values between input vector elements and output vector in classifier based on MRAS (a) and SMO (b).
Applsci 13 07263 g012
Figure 13. Speed, MRAS detector, and neural classifier transients during signal loss without motor load (a) and with motor load 0.15TN (b).
Figure 13. Speed, MRAS detector, and neural classifier transients during signal loss without motor load (a) and with motor load 0.15TN (b).
Applsci 13 07263 g013
Figure 14. Speed, MRAS detector, and neural classifier transients during signal interference with motor load 0.15TN (a) and scaling error without motor load (b).
Figure 14. Speed, MRAS detector, and neural classifier transients during signal interference with motor load 0.15TN (a) and scaling error without motor load (b).
Applsci 13 07263 g014
Figure 15. Speed, SMO detector, and neural classifier transients during signal loss without motor load (a) and with motor load 0.15TN (b).
Figure 15. Speed, SMO detector, and neural classifier transients during signal loss without motor load (a) and with motor load 0.15TN (b).
Applsci 13 07263 g015
Figure 16. Speed, SMO detector, and neural classifier transients with motor load 0.15TN during signal interference (a) and cyclic signal loss (b).
Figure 16. Speed, SMO detector, and neural classifier transients with motor load 0.15TN during signal interference (a) and cyclic signal loss (b).
Applsci 13 07263 g016
Figure 17. Failure classification times for signal loss based on SMO (a) and MRAS (b) and signal interference based on SMO (c) and MRAS (d).
Figure 17. Failure classification times for signal loss based on SMO (a) and MRAS (b) and signal interference based on SMO (c) and MRAS (d).
Applsci 13 07263 g017
Table 1. Parameters of tested motor.
Table 1. Parameters of tested motor.
PN [kW]Pp [-]nN [rpm]TN [Nm]IN [A]J [kg·m2]RS [Ω]
0.894462001.41.90.0000394.6615
Table 2. Description of individual NN classifier inputs.
Table 2. Description of individual NN classifier inputs.
InputValue MRASValue SMODescription
ω r e f ( k ) ω r e f ( k ) ω r e f ( k ) Reference speed value.
ω e r r ( k ) ω e r r ( k ) = | ω m e a s ( k ) ω e s t M R A S ( k ) | ω e r r ( k ) = | ω m e a s ( k ) ω e s t S M O ( k ) | Error between measured and estimated speed value in actual sample.
ω e r r ( k 1 ) , ω e r r ( k 3 ) , ω e r r ( k 5 ) , ω e r r ( k 7 ) ω e r r ( k 1 ) = | ω m e a s ( k 1 ) ω e s t M R A S ( k 1 ) | ,
ω e r r ( k 3 ) = | ω m e a s ( k 3 ) ω e s t M R A S ( k 3 ) | ,
ω e r r ( k 5 ) = | ω m e a s ( k 5 ) ω e s t M R A S ( k 5 ) | ,
ω e r r ( k 7 ) = | ω m e a s ( k 7 ) ω e s t M R A S ( k 7 ) |
ω e r r ( k 1 ) = | ω m e a s ( k 1 ) ω e s t S M O ( k 1 ) | ,
ω e r r ( k 3 ) = | ω m e a s ( k 3 ) ω e s t S M O ( k 3 ) | ,
ω e r r ( k 5 ) = | ω m e a s ( k 5 ) ω e s t S M O ( k 5 ) | ,
ω e r r ( k 7 ) = | ω m e a s ( k 7 ) ω e s t S M O ( k 7 ) |
Error between measured and estimated speed value in previous samples.
i s q e r r ( k ) i s q e r r ( k ) = | i s q m e a s ( k ) i s q M R A S ( k ) | i s q e r r ( k ) = | i s q m e a s ( k ) i s q S M O ( k ) | Error between measured and estimated q-axis current value in actual sample.
i s q e r r ( k 1 ) , i s q e r r ( k 3 ) , i s q e r r ( k 5 ) , i s q e r r ( k 7 ) i s q e r r ( k 1 ) = | i s q m e a s ( k 1 ) i s q M R A S ( k 1 ) | ,
i s q e r r ( k 3 ) = | i s q m e a s ( k 3 ) i s q M R A S ( k 3 ) | ,
i s q e r r ( k 5 ) = | i s q m e a s ( k 5 ) i s q M R A S ( k 5 ) | ,
i s q e r r ( k 7 ) = | i s q m e a s ( k 7 ) i s q M R A S ( k 7 ) |
i s q e r r ( k 1 ) = | i s q m e a s ( k 1 ) i s q S M O ( k 1 ) | ,
i s q e r r ( k 3 ) = | i s q m e a s ( k 3 ) i s q S M O ( k 3 ) | ,
i s q e r r ( k 5 ) = | i s q m e a s ( k 5 ) i s q S M O ( k 5 ) | ,
i s q e r r ( k 7 ) = | i s q m e a s ( k 7 ) i s q S M O ( k 7 ) |
Error between measured and estimated q-axis current value in previous samples.
where ω m e a s —measured speed; ω e s t M R A S —MRAS estimated speed value; ω e s t S M O —SMO estimated speed value; i s q m e a s —measured q-axis current value; i s q M R A S —MRAS estimated q-axis current value; i s q S M O —SMO estimated q-axis current value.
Table 3. Parameters of training and testing vectors in experimental studies.
Table 3. Parameters of training and testing vectors in experimental studies.
FeatureTraining DataTesting Data
Number of samples1,260,162840,096
Speed values+/−0.1ωref, +/−0.2ωref, +/−0.35ωref+/−0.08ωref, +/−0.25ωref, +/−0.4ωref
Load Values0.1TN, 0.2TN0.15TN
Table 4. Classification times obtained in motor load conditions.
Table 4. Classification times obtained in motor load conditions.
MRASSMO
Speed0.08ωref0.25ωref0.4ωref0.08ωref0.25ωref0.4ωref
Signal loss21 ms11 ms23 ms28 ms34 ms23 ms
Signal
interference
29 ms13 ms8 ms23 ms13 ms8 ms
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

Jankowska, K.; Dybkowski, M.; Petro, V.; Kyslan, K. Classification of Speed Sensor Faults Based on Shallow Neural Networks. Appl. Sci. 2023, 13, 7263. https://doi.org/10.3390/app13127263

AMA Style

Jankowska K, Dybkowski M, Petro V, Kyslan K. Classification of Speed Sensor Faults Based on Shallow Neural Networks. Applied Sciences. 2023; 13(12):7263. https://doi.org/10.3390/app13127263

Chicago/Turabian Style

Jankowska, Kamila, Mateusz Dybkowski, Viktor Petro, and Karol Kyslan. 2023. "Classification of Speed Sensor Faults Based on Shallow Neural Networks" Applied Sciences 13, no. 12: 7263. https://doi.org/10.3390/app13127263

APA Style

Jankowska, K., Dybkowski, M., Petro, V., & Kyslan, K. (2023). Classification of Speed Sensor Faults Based on Shallow Neural Networks. Applied Sciences, 13(12), 7263. https://doi.org/10.3390/app13127263

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