Assessing HMM and SVM for Condition-Based Monitoring and Fault Detection in HEV Electrical Machines
Abstract
1. Introduction
1.1. Background
1.2. Electrical Machines Used in HEVs and Relevant Faults
1.3. Literature Review
1.4. Contribution
2. System Model and Feature Extraction
2.1. Finite Element Model
2.2. Feature Selection
3. Support Vector Machines (SVM)
3.1. Linear SVM
3.2. Non-Linear SVM
3.3. Multi-Class SVM
- One against all: The one-against-all (OAA) approach was among the first SVM multi-class classification methods. A number of classes ‘n’ of the SVM models are constructed. The ith SVM is trained with all the examples in the ith class with positive tags, while all the other examples are considered negative tags.
- One against one: The OAO “one-against-one” strategy consists of building an SVM for every pair of classes. Consequently, to assign each sample to the relevant distinct ‘n’ classes, SVMs are trained. Generally, each SVM votes for one class, then according to the maximum vote, the classification of an unknown pattern is executed.
3.4. SVM in Our Application
- Collect simulated data from the three sensors: vibration, torque, and temperature.
- Extract the corresponding features from the data in order to transform data collected to a format for the SVM classifier.
- Try out a few different kernel types to determine which one is the best, then select the optimal parameters. The Gaussian RBF kernel was used in this work, and a cross-validation algorithm is used to optimize parameters.
- Use the chosen parameters and the relevant kernel function to construct a classifier.
- Evaluate the testing data using the constructed classifier and perform a test for all system states. The testing is performed using both the one against all and one against one methods. The one giving the best results is chosen.
4. Hidden Markov Model (HMM)
4.1. HMM in Our Application
4.2. Building the HMM
4.3. Training the HMM
4.4. Fault Detection
5. Results
5.1. SVM Results
5.2. HMM Results
5.3. Comparison Between SVM and HMM
6. RUL Calculation Strategy
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Finken, T.; Felden, M.; Hameyer, K. Comparison and design of different electrical machine types regarding their applicability in hybrid electrical vehicles. In Proceedings of the 2008 18th International Conference on Electrical Machines, Vilamoura, Portugal, 6–9 September 2008; pp. 1–5. [Google Scholar]
- Emadi, A.; Rajashekara, K.; Williamson, S.S.; Lukic, S.M. Topological overview of hybrid electric and fuel cell vehicular power system architectures and configurations. IEEE Trans. Veh. Technol. 2005, 54, 763–770. [Google Scholar] [CrossRef]
- Chris, M.; Masrur, M.A.; Gao, D.W. Hybrid Electric Vehicles: Principles and Applications with Practical Perspectives; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
- Zheng, J.Q.; Zhao, W.X.; Ji, J.H.; Liu, G.H. Design and comparison of interior permanent-magnet machines for hybrid electric vehicles. In Proceedings of the 2015 IEEE International Conference on Applied Superconductivity and Electromagnetic Devices (ASEMD), Shanghai, China, 20–23 November 2015; pp. 234–235. [Google Scholar]
- Barcaro, M.; Bianchi, N.; Magnussen, F. PM motors for hybrid electric vehicles. In Proceedings of the 2008 43rd International Universities Power Engineering Conference, Padua, Italy, 1–4 September 2008; pp. 1–5. [Google Scholar]
- Thamba, N.B.; Himamshu, H.; Nayak, P.K.; Chiluar, N.; Rama, P.; Nishant, C. Journal bearing fault detection based on Daubechies wavelet. Arch. Acoust. 2017, 42, 401–414. [Google Scholar]
- Jongman, H.; Hyun, D.; Kang, T.J.; Lee, S.B.; Kral, C.; Haumer, A. Detection and Classification of Rotor Demagnetization and Eccentricity Faults for PM Synchronous Machines. In Proceedings of the IEEE Energy Conversion Congress & Exposition, ECCE 2012, Raleigh, NC, USA, 15–20 September 2012; pp. 1–9. [Google Scholar]
- Verma, A.K.; Sarangi, S.; Kolekar, M.H. Misalignment fault detection in induction motor using rotor shaft vibration and stator current signature analysis. Int. J. Mechatronics Manuf. Syst. 2013, 6, 422–436. [Google Scholar] [CrossRef]
- Ginzarly, R.; Hoblos, G.; Moubayed, N. Severity faults classification in hybrid electric vehicles’ permanent magnet machines for prognostic purposes. Int. J. Comput. Aided Eng. Technol. 2017, 9, 480–496. [Google Scholar] [CrossRef]
- Pietrzak, P.; Wolkiewicz, M. Demagnetization Fault Diagnosis of Permanent Magnet Synchronous Motors Based on Stator Current Signal Processing and Machine Learning Algorithms. Sensors 2023, 23, 1757. [Google Scholar] [CrossRef]
- Moosavi, S.S.; Djerdir, A.; Amirat, Y.A.; Khaburi, D.A. Demagnetization fault diagnosis in permanent magnet synchronous motors: A review of the state-of-the-art. J. Magn. Magn. Mater. 2015, 391, 203–212. [Google Scholar] [CrossRef]
- Verma, N.K.; Agrawal, A.K.; Sevakula, R.K.; Prakash, D.; Salour, A. Improved signal preprocessing techniques for machine fault diagnosis. In Proceedings of the 2013 IEEE 8th International Conference on Industrial and Information Systems, Peradeniya, Sri Lanka, 17–20 December 2013; pp. 403–408. [Google Scholar]
- Surucu, O.; Gadsden, S.A.; Yawney, J. Condition Monitoring using Machine Learning: A Review of Theory, Applications, and Recent Advances. Expert Syst. Appl. 2023, 221, 119738. [Google Scholar] [CrossRef]
- Verma, N.K.; Salour, A. Intelligent Condition Based Monitoring; Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
- Marinković, D.; Dezső, G.; Milojević, S. Application of machine learning during maintenance and exploitation of electric vehicles. Adv. Eng. Lett. 2024, 3, 132–140. [Google Scholar] [CrossRef]
- Sankavaram, C.; Pattipati, B.; Pattipati, K.; Zhang, Y.; Howell, M.; Salman, M. Data-driven fault diagnosis in a hybrid electric vehicle regenerative braking system. In Proceedings of the 2012 IEEE Aerospace Conference, Big Sky, MT, USA, 3–10 March 2012; pp. 1–11. [Google Scholar]
- Hasegawa, T.; Saeki, M.; Ogawa, T.; Nakano, T. Vibration-based fault detection for flywheel condition monitoring. Procedia Struct. Integr. 2019, 17, 487–494. [Google Scholar] [CrossRef]
- Telford, J.W. Pivoted Blade Barrel Rotor Wind Turbine. U.S. Patent 4,137,009, 30 January 1979. [Google Scholar]
- Luo, Y.; Qiu, J.; Shi, C. Fault detection of permanent magnet synchronous motor based on deep learning method. In Proceedings of the 2018 21st International Conference on Electrical Machines and Systems (ICEMS), Jeju, Republic of Korea, 7–10 October 2018; pp. 699–703. [Google Scholar]
- Laouti, N.; Sheibat-Othman, N.; Othman, S. Support vector machines for fault detection in wind turbines. IFAC Proc. Vol. 2011, 44, 7067–7072. [Google Scholar] [CrossRef]
- Kang, J.S.; Zhang, X.H.; Wang, Y.J. Continuous hidden Markov model based gear fault diagnosis and incipient fault detection. In Proceedings of the 2011 International Conference on Quality, Reliability, Risk, Maintenance, and Safety Engineering, Xi’an, China, 17–19 June 2011; pp. 486–491. [Google Scholar]
- Heng, A.; Zhang, S.; Tan, A.C.; Mathew, J. Rotating machinery prognostics: State of the art, challenges and opportunities. Mech. Syst. Signal Process. 2009, 23, 724–739. [Google Scholar] [CrossRef]
- Ginzarly, R.; Hoblos, G.; Moubayed, N. Hidden Markov Model-Based Failure Prognosis for Permanent Magnet Synchronous Machine. In Proceedings of the 15th European Workshop on Advanced Control and Diagnosis, Bologna, Italy, 21–22 November 2019; Springer: Cham, Switzerland, 2018; pp. 599–611. [Google Scholar]
- Ginzarly, R.; Alameh, K.; Hoblos, G.; Moubayed, N. Numerical versus analytical techniques for healthy and faulty surface permanent magnet machine. In Proceedings of the 2016 Third International Conference on Electrical, Electronics, Computer Engineering and their Applications (EECEA), Beirut, Lebanon, 21–23 April 2016; pp. 83–87. [Google Scholar]
- Liang, X.; Ali, M.Z.; Zhang, H. Induction motors fault diagnosis using finite element method: A review. IEEE Trans. Ind. Appl. 2019, 56, 1205–1217. [Google Scholar] [CrossRef]
- Salon, S.J. Finite Element Analysis of Electrical Machines; Kluwer Academic Publishers: Boston, MA, USA, 1995; Volume 101. [Google Scholar]
- Ginzarly, R.; Hoblos, G.; Moubayed, N. Electromagnetic and vibration finite element model for early fault detection in permanent magnet machine. IFAC-PapersOnLine 2018, 51, 902–907. [Google Scholar] [CrossRef]
- Alameh, K.; Ginzarly, R.; Hoblos, G.; Barakat, G. Fault Detection and Identification Approach for Brushless Direct Current (DC) Motors based on Vibration Signal Analysis. In Proceedings of the 3rd Conference on Control and Fault-Tolerant Systems, Systol, Barcelona, Spain, 7–9 September 2016; Volume 16. [Google Scholar]
- Ginzarly, R.; Hoblos, G.; Moubayed, N. From modeling to failure prognosis of permanent magnet synchronous machine. Appl. Sci. 2020, 10, 691. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Scholkopf, B.; Sung, K.K.; Burges, C.J.; Girosi, F.; Niyogi, P.; Poggio, T.; Vapnik, V. Comparing support vector machines with Gaussian kernels to radial basis function classifiers. IEEE Trans. Signal Process. 1997, 45, 2758–2765. [Google Scholar] [CrossRef]
- Li, H.; Qi, F.; Wang, S. A comparison of model selection methods for multi-class support vector machines. In Proceedings of the International Conference on Computational Science and Its Applications, Singapore, 9–12 May 2005; Springer: Berlin/Heidelberg, Germany, 2005; pp. 1140–1148. [Google Scholar]
- Yin, S.; Gao, X.; Karimi, H.R.; Zhu, X. Study on support vector machine-based fault detection in tennessee eastman process. Abstr. Appl. Anal. 2014, 2014, 836895. [Google Scholar] [CrossRef]
- Bjerkeseth, M. Using Hidden Markov Models for Fault Diagnostics and Prognosis in Condition Based Maintenance Systems. Master’s Thesis, University of Agder, Kristiansand, Norway, 2010. [Google Scholar]
- Arpaia, P.; Cesaro, U.; Chadli, M.; Coppier, H.; De Vito, L.; Esposito, A.; Gargiulo, F.; Pezzetti, M. Fault detection on fluid machinery using Hidden Markov Models. Measurement 2020, 151, 107126. [Google Scholar] [CrossRef]
- Phuc, D.V.; Levrat, E.; Voisin, A.; Benoit, I. Remaining useful life (rul) based maintenance decision making for deteriorating systems. IFAC Proc. Vol. 2012, 45, 66–72. [Google Scholar]
- Jiang, S.; Zhang, W.; Li, X.; Sun, F. An analytical model for fatigue crack propagation prediction with overload effect. Math. Probl. Eng. 2014, 2014, 713678. [Google Scholar] [CrossRef]
- Ren, X.; Qin, Y.; Li, B.; Wang, B.; Yi, X.; Jia, L. A core space gradient projection-based continual learning framework for remaining useful life prediction of machinery under variable operating conditions. Reliab. Eng. Syst. Saf. 2024, 252, 110428. [Google Scholar] [CrossRef]
One Against All (OAA) | One Against One (OAO) | |
---|---|---|
Acc % | 100 | 100 |
FDR | 1 | 1 |
Training time in seconds | 2.4958 | 3.1154 |
Testing time is seconds | 0.01565 | 1.156 |
Acc % | 100 |
FDR | 100 |
Training time in seconds | 1.6897 |
Testing time is seconds | 0.0356 |
SVM | HMM | |||
---|---|---|---|---|
Three Sensors | One Sensor | Three Sensors | One Sensor | |
Acc % | 100 | 100 | 100 | 93.33 |
FDR | 100 | 100 | 100 | 90 |
Precision | 1 | 1 | 1 | 0.75 |
Recall | 1 | 1 | 1 | 1 |
Specificity | 1 | 1 | 1 | 0.9167 |
F1 | 1 | 1 | 1 | 0.8571 |
Training time | 2.4958 | 1.6897 | ||
in seconds | ||||
Testing time | 0.01565 | 0.0356 | ||
in seconds |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ginzarly, R.; Moubayed, N.; Hoblos, G.; Kanj, H.; Alakkoumi, M.; Mawas, A. Assessing HMM and SVM for Condition-Based Monitoring and Fault Detection in HEV Electrical Machines. Energies 2025, 18, 3513. https://doi.org/10.3390/en18133513
Ginzarly R, Moubayed N, Hoblos G, Kanj H, Alakkoumi M, Mawas A. Assessing HMM and SVM for Condition-Based Monitoring and Fault Detection in HEV Electrical Machines. Energies. 2025; 18(13):3513. https://doi.org/10.3390/en18133513
Chicago/Turabian StyleGinzarly, Riham, Nazih Moubayed, Ghaleb Hoblos, Hassan Kanj, Mouhammad Alakkoumi, and Alaa Mawas. 2025. "Assessing HMM and SVM for Condition-Based Monitoring and Fault Detection in HEV Electrical Machines" Energies 18, no. 13: 3513. https://doi.org/10.3390/en18133513
APA StyleGinzarly, R., Moubayed, N., Hoblos, G., Kanj, H., Alakkoumi, M., & Mawas, A. (2025). Assessing HMM and SVM for Condition-Based Monitoring and Fault Detection in HEV Electrical Machines. Energies, 18(13), 3513. https://doi.org/10.3390/en18133513