Performance Analysis of Hybrid Cnn–Random Forest Model for Fault Diagnosis in Domestic Generator Sets using Continuous Wavelet Transform (Cwt) Features
Abstract
Reliable and accurate fault diagnosis of domestic power generators is essential for improving operational reliability and reducing maintenance costs, particularly in resource-constrained environments. This study proposes a hybrid acoustic fault-diagnosis framework that integrates Continuous Wavelet Transform (CWT)-based time–frequency analysis, a Convolutional Neural Network (CNN) for deep feature extraction, and a Random Forest (RF) classifier for fault classification. Acoustic signals acquired from 25 domestic 5 kVA generator sets, a total sample size of 15,023 representing 5 operating conditions (Normal, Carburettor fault, Exhaust fault, Valve fault, and Plug faults) and transformed using CWT into 2-D spectrograms, were used to develop and evaluate the framework. The model was trained, tested, and validated using 70%, 20% and 10% of the data, respectively. Experimental results yielded an overall classification accuracy of 95.95%, with 95.99% precision, 95.95% recall, and an F1-score of 95.95% and the per-class evaluation showed consistently high diagnostic performance. The results of this study demonstrate the potential of using CWT features with a hybrid CNN-RF model to yield a robust, non-intrusive, and practically deployable diagnostic approach for resource-constrained domestic power-generation settings/environments.References
Ahmad, H., Muhammad, Y., Maliha, S., & Najeeb, U. (2023). Monitoring transient stability in electric power systems using a hybrid model of convolutional neural network and random forest. Electric Power Components and Systems, 52(6), 946–958.
Ahsan, M., Muhammad, W. H., Jose, R., & Mohamed, A. (2024). Enhanced fault diagnosis in rotating machinery using a hybrid CWT-LeNet-5-LSTM model: Performance across various load conditions. IEEE Access, 13, 1026–1045.
Akindele, O. A., & Adejumobi, D. O. (2017). Domestic electric power generator usage and residents' liveability milieu in Ogbomoso, Nigeria. Environmental Management and Sustainable Development, 6(1), 91–104.
Aldrich, C., & Auret, L. (2010). Fault detection and diagnosis with random forest feature extraction and variable importance methods. IFAC Proceedings Volumes, 43(9), 79–86.
Alhanaf, A. S., Murtaza, F., & Hasan, H. B. (2024). Fault detection and classification in a ring power system with DG penetration using a hybrid CNN-LSTM. IEEE Access, 12, 59953–59975.
Alsumaidaee, Y. A., Johnny, K. S., Chong, T. Y., Sieh, K. T., Chai, P. C., Talal, Y., & Ahmed, N. A. (2023). Fault detection for medium voltage switchgear using a deep learning hybrid 1D-CNN-LSTM model. IEEE Access, 11, 97574–97589.
Anwar, T., Chaoxu, M., Muhammad, Z. Y., Wajid, K., Saqib, K., Ahmad, O. H., & Ievgen, Z. (2025). Robust fault detection and classification in power transmission lines via ensemble machine learning models. Scientific Reports, 15(1), 2549.
Fezai, R., Dhibi, K., Mansouri, M., Trabelsi, M., Hajji, M., Bouzrara, K., & Nounou, M. (2020). Effective random forest-based fault detection and diagnosis for wind energy conversion systems. IEEE Sensors Journal, 21(5), 6914–6921.
Ibanga, E., Udofia, K., Udofia, K., Iwok, U., & Ogungbemi, E. (2025). Machine learning-based fault diagnosis and characterization system for power-generating sets using customized fault audio dataset. American Journal of Signal Processing, 13(1), 1–16.
Lupea, I., & Lupea, M. (2025). Continuous wavelet transform and CNN for fault detection in a helical gearbox. Applied Sciences, 15(2), 950.
Najdi, B., Mohammed, B., & Mohammed, N. K. (2024). Bearing fault diagnosis with a hybrid CWT-ResNet-LSTM model. In Proceedings of the International Conference on Digital Technologies and Applications (pp. 454–463). Springer Nature Switzerland.
Obileke, K. (2026). Energy Poverty in Nigeria: A Review. Sustainability, 18(5), 2387.
Odeyale, O. C., Oke, O. O., Falana, A. R., Adeoye, A. S., Ogunsola, J. O., & Marizu, J. T. (2023). Environmental pollution as health depreciator: The case of household generator use in Nigeria. Global Journal of Pure and Applied Sciences, 29(1), 11–17.
Oshio, L. E., Owenvbiugue, R. O., & Chukwuemeka, H. E. (2024). Assessment of the Impacts of Energy Poverty on Small and Medium Businesses in Benin City, Nigeria Journal of Economics and Business, 7(3) 10.31014/aior.1992.07.03.604
Paraskevopoulos, D., Spandonidis, C., & Giannopoulos, F. (2023). Hybrid wavelet-CNN fault diagnosis method for ships' power system. Signal, 4, 150–166.
Sun, Q., Yu, X., Li, H., Peng, F., & Sun, G. (2022). Fault detection for power electronic converters based on continuous wavelet transform and convolution neural network. Journal of Intelligent & Fuzzy Systems, 42(4), 3537–3549.
Sun, Y., Hongquan, Z., Tingting, Z., Zhihui, Z., Bin, S., & Lixin, Y. (2020). A new convolutional neural network with a random forest method for hydrogen sensor fault diagnosis. IEEE Access, 8, 85421–85430.
You, K., Qiu, G., & Gu, Y. (2022). Rolling bearing fault diagnosis using hybrid neural network with principal component analysis. Sensors, 22(21), 8161.
Copyright (c) 2026 Unwana I. Ibanga, Emmanuel O. Ogungbemi, Ekerette B. Ibanga

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
The authors hereby represent and warrant that the paper is original and that they are the authors of the paper, except for material that is clearly identified as to its original source, with permission notices from the copyright owners where required. If in future any violation of any copyright come in notice, then the author will be responsible and not FUOYEJET.
The authors declare that:
- This paper has not been published in the same form elsewhere.
- It will not be submitted anywhere else for publication prior to acceptance/rejection by this Journal.
- A copyright permission is obtained for materials published elsewhere and which require this permission for reproduction.
Furthermore, the copyright after publication belongs to the Author(s) (for articles published in 2020 and beyond) and licensed under the creative commons license CC-BY-NC (http://creativecommons.org/licenses/by-nc/4.0). The copyright covers the right to reproduce and distribute the article, including reprints, translations, photographic reproductions, microform, electronic form (offline, online) or any other reproductions of similar nature.