Machine fault detection through sound analysis using MFCC and machine learning

Steven Henderson Chang, Ariana Tulus Purnomo, Muhammad Agni Catur Bhakti, Vania Katherine Mulia, Agyl Fajar Rizky, Nikolas Krisma Hadi Fernandez, Farid Triawan

Abstract


This study addresses the need for automated damage and failure detection in industrial machinery through sound analysis and machine learning. Traditional methods rely on human experts to identify faults using microphones, which can be time-consuming, stressful, and prone to errors such as limited perception, subjectivity, and inconsistency. This study leverages machine learning to create a more objective and efficient alternative. Mel-Frequency Cepstral Coefficients (MFCCs) were employed for feature extraction, capturing intricate sound patterns associated with machinery faults. Through rigorous experimentation, 11 MFCC coefficients were identified as optimal. The Support Vector Machine (SVM) emerged as the best-performing classifier compared to LightGBM and XGBoost, achieving a training accuracy of 83.12% and testing accuracy of 82.50%. The dataset was split between 80% for training and 20% for testing. The small gap between training and testing accuracy indicates an ideal model with no signs of over fitting, under fitting, or data leakage. Real-world simulations validated the model’s efficacy under various operational scenarios, demonstrating its readiness for industrial deployment. This study highlights the effectiveness of sound analysis and SVM classification in proactive maintenance, offering a reliable tool to reduce downtime and maintenance costs while enhancing operational efficiency and reliability.

Keywords


fault diagnosis, machine learning, mel-frequency cepstral coefficients, sound analysis, support vector machine

Full Text:

PDF

References


S. Zulaikah, F. Triawan, B. A. Budiman, and Y. Romadhon, “DEVELOPMENT OF MASSAGE CHAIR MADE OF CARDBOARD MATERIALS: DESIGN, FABRICATION, AND STRENGTH EVALUATION,†Jurnal Rekayasa Mesin, vol. 15, no. 2, pp. 901–910, Aug. 2024, doi: 10.21776/JRM.V15I2.1593.

V. Atluri, A. Baig, and S. Rao, “Why industrials should pursue a tech-enabled transformation now,†2019.

S. Chachada and C. C. J. Kuo, “Environmental sound recognition: A survey,†in 2013 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference, APSIPA 2013, 2013. doi: 10.1109/APSIPA.2013.6694338.

W. Mu, B. Yin, X. Huang, J. Xu, and Z. Du, “Environmental sound classification using temporal-frequency attention based convolutional neural network,†Sci Rep, vol. 11, no. 1, Dec. 2021, doi: 10.1038/s41598-021-01045-4.

J. Salamon and J. P. Bello, “Deep Convolutional Neural Networks and Data Augmentation for Environmental Sound Classification,†IEEE Signal Process Lett, Aug. 2016, doi: 10.1109/LSP.2017.2657381.

E. C. Nunes, “Anomalous Sound Detection with Machine Learning: A Systematic Review,†ArXiv, Feb. 2021, [Online]. Available: http://arxiv.org/abs/2102.07820

M. R. Ahmed, T. I. Robin, and A. A. Shafin, “Automatic Environmental Sound Recognition (AESR) using convolutional neural network,†International Journal of Modern Education and Computer Science, vol. 12, no. 5, pp. 41–54, 2020, doi: 10.5815/ijmecs.2020.05.04.

A. Hamza et al., “Deepfake Audio Detection via MFCC features using Machine Learning,†IEEE Access, 2022, doi: 10.1109/ACCESS.2022.3231480.

R. K. K. V and Dr. S. S. Patil, “Machine Fault Detection with Sound Patterns using Deep Learning,†International Journal of Creative Research Thoughts (IJCRT), vol. 10, pp. 2320–2882, 2022, [Online]. Available: www.ijcrt.org

M. Massoudi, S. Verma, and R. Jain, “Urban Sound Classification using CNN,†in Proceedings of the 6th International Conference on Inventive Computation Technologies, ICICT 2021, Institute of Electrical and Electronics Engineers Inc., Jan. 2021, pp. 583–589. doi: 10.1109/ICICT50816.2021.9358621.

Z. Xue, C. Xu, and D. Wen, “Structural Damage Detection Based on One-Dimensional Convolutional Neural Network,†Applied Sciences (Switzerland), vol. 13, no. 1, Jan. 2023, doi: 10.3390/app13010140.

K. Zhong, S. Teng, G. Liu, G. Chen, and F. Cui, “Structural damage features extracted by convolutional neural networks from mode shapes,†Applied Sciences (Switzerland), vol. 10, no. 12, Jun. 2020, doi: 10.3390/app10124247.

Md. A. Hossan, S. Memon, and M. A. Gregory, “A Novel Approach for MFCC Feature Extraction,†2010 4th International Conference on Signal Processing and Communication Systems, pp. 1–5, 2010.

B. A. Budiman, H. Budijanto, F. Adziman, F. Triawan, R. Wirawan, and I. P. Nurprasetio, “On predicting crack length and orientation in twill-woven CFRP based on limited data availability using a physics-based, high fidelity machine learning approach,†Composites Part C: Open Access, vol. 11, p. 100371, Jul. 2023, doi: 10.1016/J.JCOMC.2023.100371.

M. Guo, Y. Guo, Y. Peng, W. Zhang, and Q. Ling, “Fault diagnosis of bolt loosening based on LightGBM recognition of sound signal features,†IEEE Sens J, Oct. 2023, doi: 10.1109/JSEN.2023.3303223.

A. Abid, M. T. Khan, and J. Iqbal, “A review on fault detection and diagnosis techniques: basics and beyond,†Artif Intell Rev, vol. 54, no. 5, pp. 3639–3664, Jun. 2021, doi: 10.1007/s10462-020-09934-2.

V. Kramar and V. Alchakov, “Time-Series Forecasting of Seasonal Data Using Machine Learning Methods,†Algorithms, vol. 16, no. 5, May 2023, doi: 10.3390/a16050248.

A. K. Kemalkar and V. K. Bairagi, “Engine Fault Diagnosis Using Sound Analysis,†2016 International Conference on Automatic Control and Dynamic Optimization Techniques (ICACDOT), pp. 943–946, 2016.

H. Wan, X. Gu, S. Yang, and Y. Fu, “A Sound and Vibration Fusion Method for Fault Diagnosis of Rolling Bearings under Speed-Varying Conditions,†Sensors, vol. 23, no. 6, Mar. 2023, doi: 10.3390/s23063130.

Y. Cao, Y. Sun, G. Xie, and P. Li, “A Sound-Based Fault Diagnosis Method for Railway Point Machines Based on Two-Stage Feature Selection Strategy and Ensemble Classifier,†IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 8, pp. 12074–12083, Aug. 2022, doi: 10.1109/TITS.2021.3109632.

F. Rustam et al., “Railway Track Fault Detection Using Selective MFCC Features from Acoustic Data,†Sensors (Basel), vol. 23, no. 16, Aug. 2023, doi: 10.3390/s23167018.

F. Triawan et al., “A quad-cliff mechanism for eco-printing by pounding technique: design, manufacturing, and testing,†Jurnal Polimesin, vol. 22, no. 5, pp. 532–537, Oct. 2024, doi: 10.30811/JPL.V22I5.5738.

M. Fernandes, J. M. Corchado, and G. Marreiros, “Machine learning techniques applied to mechanical fault diagnosis and fault prognosis in the context of real industrial manufacturing use-cases: a systematic literature review,†Applied Intelligence, vol. 52, no. 12, pp. 14246–14280, Sep. 2022, doi: 10.1007/s10489-022-03344-3.

P. Kumar and A. S. Hati, “Review on Machine Learning Algorithm Based Fault Detection in Induction Motors,†Archives of Computational Methods in Engineering, vol. 28, no. 3, pp. 1929–1940, May 2021, doi: 10.1007/s11831-020-09446-w.

M. Xu, L.-Y. Duan, J. Cai, L.-T. Chia, C. Xu, and Q. Tian, “HMM-Based Audio Keyword Generation.â€

Z. K. Abdul and A. K. Al-Talabani, “Mel Frequency Cepstral Coefficient and its Applications: A Review,†2022, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2022.3223444.

ETSI, “Speech Processing, Transmission and Quality Aspects (STQ); Distributed speech recognition; Front-end feature extraction algorithm; Compression algorithms,†Sophia Antipolis Cedex, 2003.

L. Muda, M. Begam, and I. Elamvazuthi, “Voice Recognition Algorithms using Mel Frequency Cepstral Coefficient (MFCC) and Dynamic Time Warping (DTW) Techniques,†2010.

G. Choudakkanavar, J. A. Mangai, and M. Bansal, “MFCC based ensemble learning method for multiple fault diagnosis of roller bearing,†International Journal of Information Technology (Singapore), vol. 14, no. 5, pp. 2741–2751, Aug. 2022, doi: 10.1007/s41870-022-00932-x.

S. Raschka, J. Patterson, and C. Nolet, “Machine learning in python: Main developments and technology trends in data science, machine learning, and artificial intelligence,†Apr. 01, 2020, MDPI AG. doi: 10.3390/info11040193.

B. E. Boser, I. M. Guyon, and V. N. Vapnik, “Training algorithm for optimal margin classifiers,†in Proceedings of the Fifth Annual ACM Workshop on Computational Learning Theory, Publ by ACM, 1992, pp. 144–152. doi: 10.1145/130385.130401.

C. Cortes, V. Vapnik, and L. Saitta, “Support-Vector Networks Editor,†Kluwer Academic Publishers, 1995.

G. Ke et al., “LightGBM: A Highly Efficient Gradient Boosting Decision Tree,†Advances in Neural Information Processing Systems 30 (NIP 2017), 2017, [Online]. Available: https://github.com/Microsoft/LightGBM.

M. Roberto Machado, S. Karray, and I. T. de Sousa, “LightGBM: an Effective Decision Tree Gradient Boosting Method to Predict Customer Loyalty in the Finance Industry,†The 14th International Conference on Computer Science & Education (ICCSE 2019), 2019, Accessed: Nov. 14, 2023. [Online]. Available: https://ieeexplore.ieee.org/document/8845529

M. J. Sai, P. Chettri, R. Panigrahi, A. Garg, A. K. Bhoi, and P. Barsocchi, “An Ensemble of Light Gradient Boosting Machine and Adaptive Boosting for Prediction of Type-2 Diabetes,†International Journal of Computational Intelligence Systems, vol. 16, no. 1, Dec. 2023, doi: 10.1007/s44196-023-00184-y.

T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,†Mar. 2016, doi: 10.1145/2939672.2939785.

C. Bentéjac, A. Csörgő, and G. Martínez-Muñoz, “A Comparative Analysis of XGBoost,†Nov. 2019, doi: 10.1007/s10462-020-09896-5.

X. Chen, S. Wang, B. Qiao, and Q. Chen, “Basic research on machinery fault diagnostics: Past, present, and future trends,†Jun. 01, 2018, Higher Education Press. doi: 10.1007/s11465-018-0472-3.

W. Mustikarini, R. Hidayat, and A. Bejo, “Real-Time Indonesian Language Speech Recognition with MFCC Algorithms and Python-Based SVM,†2019.

R. Guido, M. C. Groccia, and D. Conforti, “A hyper-parameter tuning approach for cost-sensitive support vector machine classifiers,†Soft comput, vol. 27, no. 18, pp. 12863–12881, Sep. 2023, doi: 10.1007/s00500-022-06768-8.

S. Li, N. Jin, A. Dogani, Y. Yang, M. Zhang, and X. Gu, “Enhancing LightGBM for Industrial Fault Warning: An Innovative Hybrid Algorithm,†Processes, vol. 12, no. 1, Jan. 2024, doi: 10.3390/pr12010221.

B. W. Yap, K. A. Rani, H. A. Abd Rahman, S. Fong, Z. Khairudin, and N. N. Abdullah, “An Application of Oversampling, Undersampling, Bagging and Boosting in Handling Imbalanced Datasets,†Lecture Notes in Electrical Engineering, vol. 285 LNEE, pp. 13–22, 2014, doi: 10.1007/978-981-4585-18-7_2.

T. Wongvorachan, S. He, and O. Bulut, “A Comparison of Undersampling, Oversampling, and SMOTE Methods for Dealing with Imbalanced Classification in Educational Data Mining,†Information 2023, Vol. 14, Page 54, vol. 14, no. 1, p. 54, Jan. 2023, doi: 10.3390/INFO14010054.

L. Zhang et al., “Classification of Imbalanced Data:Review of Methods and Applications,†IOP Conf Ser Mater Sci Eng, vol. 1099, no. 1, p. 012077, Mar. 2021, doi: 10.1088/1757-899X/1099/1/012077.

H. Hassan, N. B. Ahmad, and S. Anuar, “Improved students’ performance prediction for multi-class imbalanced problems using hybrid and ensemble approach in educational data mining,†J Phys Conf Ser, vol. 1529, no. 5, p. 052041, May 2020, doi: 10.1088/1742-6596/1529/5/052041.




DOI: http://dx.doi.org/10.30811/jpl.v23i3.6653

Refbacks

  • There are currently no refbacks.




Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Lisensi Creative Commons

Ciptaan disebarluaskan di bawah Lisensi Creative Commons Atribusi-BerbagiSerupa 4.0 Internasional .

 

Alamat Surat :

Politeknik Negeri Lhokseumawe
Jl. Banda Aceh-Medan Km 280
Buketrata, Lhokseumawe, 24301, Aceh, Indonesia