Ensemble Capsule Network with an Attention Mechanism for the Fault Diagnosis of Bearings from Imbalanced Data Samples
<p>The diagnosis schematic of the ensemble capsule network.</p> "> Figure 2
<p>The basic architecture of Capsnet.</p> "> Figure 3
<p>The dynamic routing algorithm in Capsnet.</p> "> Figure 4
<p>The structure of the CBAM attention mechanism.</p> "> Figure 5
<p>The architecture of Capsnet with CBAM.</p> "> Figure 6
<p>The diagnosis flowchart based on ensemble Capsnet.</p> "> Figure 7
<p>The original bearing vibration signals of different fault classes.</p> "> Figure 8
<p>The decomposition results of inner race fault signal based on CEEMDAN.</p> "> Figure 9
<p>The corresponding grey images of the first seven orders of the IMF signal.</p> "> Figure 10
<p>Diagnostic accuracy of ensemble Capsnet with CBAM/without CBAM on different SNR samples.</p> "> Figure 11
<p>The diagnostic accuracy of six different diagnostic models.</p> "> Figure 12
<p>Diagnostic accuracy for different datasets based on different fusing methods.</p> "> Figure 13
<p>The diagnostic accuracy, mean and variance, of three different diagnostic models.</p> ">
Abstract
:1. Introduction
- (1)
- The ensemble Capsnet that is based on a weighted majority voting method has been suggested to diagnose the imbalanced bearing fault data samples with high accuracy and strong robustness, which can not only consider the different degrees of importance of the IMF components to the diagnosis results but can also fuse all of the preliminary diagnostic results that were obtained by all of the single Capsnet models combined with the individual IMF.
- (2)
- The single Capsnet model can extract hidden feature parameters from the different IMF signals which were denoised and decomposed by CEEMDAN, so as to capture more fault information from the different scales in order to improve the diagnostic accuracy.
- (3)
- The CBAM can select fault-sensitive features that are extracted by the Capsnet in order to further improve the diagnostic accuracy.
2. The Proposed Ensemble Capsnet with CBAM
2.1. CEEMDAN
2.2. Capsnet with CBAM
2.2.1. Capsule Network
2.2.2. Convolutional Block Attention Module (CBAM)
2.2.3. Diagnosis Based on the Capsule Network with CBAM
2.3. The Weighted Majority Voting Method (WMVM)
2.4. Fault Diagnosis Flowchart Based on the Ensemble Capsnet
3. Fault Diagnosis of Bearings
3.1. Acquisition of Vibration Data
3.2. Diagnostic Analysis
3.3. Diagnostic Analysis of a Noisy Dataset
3.4. Comparison with Others Methods
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Kang, M.; Kim, J.; Wills, L.M.; Kim, J. Time-Varying and Multiresolution Envelope Analysis and Discriminative Feature Analysis for Bearing Fault Diagnosis. IEEE Trans. Ind. Electron. 2015, 62, 7749–7761. [Google Scholar] [CrossRef]
- Feng, Z.; Chen, X.; Wang, T. Time-varying demodulation analysis for rolling bearing fault diagnosis under variable speed conditions. J. Sound Vib. 2017, 400, 71–85. [Google Scholar] [CrossRef]
- Stefani, A.; Bellini, A.; Filippetti, F. Diagnosis of Induction Machines’ Rotor Faults in Time-Varying Conditions. IEEE Trans. Ind. Electron. 2009, 56, 4548–4556. [Google Scholar] [CrossRef]
- Zhou, K.; Tang, J. Harnessing fuzzy neural network for gear fault diagnosis with limited data labels. Int. J. Adv. Manuf. Technol. 2021, 115, 1005–1019. [Google Scholar] [CrossRef]
- Jia, F.; Lei, Y.; Lin, J.; Zhou, X.; Lu, N. Deep neural networks: A promising tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data. Mech. Syst. Signal Process. 2016, 72–73, 303–315. [Google Scholar] [CrossRef]
- Han, T.E.; Li, Y.-F.; Qian, M. A hybrid generalization network for intelligent fault diagnosis of rotating machinery under unseen working conditions. IEEE Trans. Instrum. Meas. 2021, 70, 1–11. [Google Scholar] [CrossRef]
- Han, Y.E.; Liu, C.; Wu, L.; Sarkar, S.; Jiang, D. An adaptive spatiotemporal feature learning approach for fault diagnosis in complex systems. Mech. Syst. Sig. Process. 2019, 117, 170–187. [Google Scholar] [CrossRef]
- Mao, W.; Feng, W.; Liu, Y.; Zhang, D.; Liang, X. A new deep auto-encoder method with fusing discriminant information for bearing fault diagnosis. Mech. Syst. Sig. Process. 2021, 150, 107233. [Google Scholar] [CrossRef]
- Shao, H.; Jiang, H.; Zhang, X.; Niu, M. Rolling bearing fault diagnosis using an optimization deep belief network. Meas. Sci. Technol. 2015, 26, 115002. [Google Scholar] [CrossRef]
- Duan, A.; Guo, L.; Gao, H.; Wu, X.; Dong, X. Deep focus parallel convolutional neural network for imbalanced classification of machinery fault diagnostics. IEEE Trans. Instrum. Meas. 2020, 69, 8680–8689. [Google Scholar] [CrossRef]
- Zhang, Y.; Li, X.; Gao, L.; Wang, L.; Wen, L. Imbalanced data fault diagnosis of rotating machinery using synthetic oversampling and feature learning. J. Manuf. Syst. 2018, 48, 34–50. [Google Scholar] [CrossRef]
- Mao, W.; Liu, Y.; Ding, L.; Li, Y. Imbalanced fault diagnosis of rolling bearing based on generative adversarial network: A comparative study. IEEE Access 2018, 7, 9515–9530. [Google Scholar] [CrossRef]
- Liu, J.; Zhang, C.; Jiang, X. Imbalanced fault diagnosis of rolling bearing using improved MsR-GAN and feature enhancement-driven CapsNet. Mech. Syst. Signal Process. 2022, 168, 108664. [Google Scholar] [CrossRef]
- Liu, S.; Jiang, H.; Wu, Z.; Li, X. Rolling bearing fault diagnosis using variational autoencoding generative adversarial networks with deep regret analysis. Measurement 2021, 168, 108371. [Google Scholar] [CrossRef]
- Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. Adv. Neural. Inform. Process. Syst. 2014, 27, 2672–2680. [Google Scholar]
- Radford, A.; Metz, L.; Chintala, S. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv 2015, arXiv:1511.06434. [Google Scholar]
- Martin Arjovsky, S.C.; Bottou, L. Wasserstein generative adversarial networks. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017. [Google Scholar]
- Wang, X.; Liu, H. Data supplement for a soft sensor using a new generative model based on a variational autoencoder and Wasserstein GAN. J. Process Control. 2020, 85, 91–99. [Google Scholar] [CrossRef]
- Sabour, S.; Frosst, N. Hinton, G.E. Dynamic routing between capsules. Proc. Adv. Neural Inf. Process. Syst. 2017, 30, 3856–3866. [Google Scholar]
- Shahroudnejad, A.; Mohammadi, A.; Plataniotis, K.N. Improved explainability of capsule networks: Relevance path by agreement. In Proceedings of the 2018 IEEE Global Conference on Signal and Information Processing (Globalsip), Anaheim, CA, USA, 26–29 November 2018; pp. 549–553. [Google Scholar]
- Osamor, V.C.; Okezie, A.F. Enhancing the weighted voting ensemble algorithm for tuberculosis predictive diagnosis. Sci. Rep. 2021, 11, 14806. [Google Scholar] [CrossRef]
- Wu, Z.; Lin, W.; Ji, Y. An Integrated Ensemble Learning Model for Imbalanced Fault Diagnostics and Prognostic. IEEE Access 2018, 6, 8394–8402. [Google Scholar] [CrossRef]
- Wang, Z.; Zheng, L.; Du, W.; Cai, W.; Zhou, J.; Wang, J.; Han, X.; He, G. A Novel Method for Intelligent Fault Diagnosis of Bearing Based on Capsule Neural Network. Complexity 2019, 2019, 6943234. [Google Scholar] [CrossRef] [Green Version]
- Li, L.; Zhang, M.; Wang, K. A Fault Diagnostic Scheme Based on Capsule Network for Rolling Bearing under Different Rotational Speeds. Sensors 2020, 20, 1841. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Han, T.; Ma, R.; Zheng, J. Combination bidirectional long short-term memory and capsule network for rotating machinery fault diagnosis. Measurement 2021, 176, 109208. [Google Scholar] [CrossRef]
- Wen, L.; Li, X.; Gao, L.; Zhang, Y. A New Convolutional Neural Network-Based Data-Driven Fault Diagnosis Method. IEEE Trans. Ind. Electron. 2018, 65, 5990–5998. [Google Scholar] [CrossRef]
- Zhu, Z.; Peng, G.; Chen, Y.; Gao, H. A convolutional neural network based on a capsule network with strong generalization for bearing fault diagnosis. Neurocomputing 2019, 323, 62–75. [Google Scholar] [CrossRef]
- Huang, R.; Li, J.; Li, W.; Cui, L. Deep Ensemble Capsule Network for Intelligent Compound Fault Diagnosis Using Multisensory Data. IEEE Trans. Instrum. Meas. 2020, 69, 2304–2314. [Google Scholar] [CrossRef]
- Wang, Y.; Ning, D.; Feng, S. A Novel Capsule Network Based on Wide Convolution and Multi-Scale Convolution for Fault Diagnosis. Appl. Sci. 2020, 10, 3659. [Google Scholar] [CrossRef]
- Zhao, M.; Kang, M.; Tang, B.; Pecht, M. Deep residual networks with dynamically weighted wavelet coefficients for fault diagnosis of planetary gearboxes. IEEE Trans. Ind. Electron. 2018, 65, 4290–4300. [Google Scholar] [CrossRef]
- Chen, K.; Zhou, X.-C.; Fang, J.-Q.; Zheng, P.-F.; Wang, J. Fault feature extraction and diagnosis of gearbox based on EEMD and deep briefs network. Int. J. Rotating Mach. 2017, 2017, 9602650. [Google Scholar] [CrossRef] [Green Version]
- Lv, Y.; Zhao, W.; Zhao, Z.; Li, W.; Ng, K.K. Vibration signal-based early fault prognosis: Status quo and applications. Adv. Eng. Inform. 2022, 52, 101609. [Google Scholar] [CrossRef]
- Akhenia, P.; Bhavsar, K.; Panchal, J.; Vakharia, V. Fault severity classification of ball bearing using SinGAN and deep convolutional neural network, Proceedings of the institution of mechanical engineers. Part C J. Mech. Eng. Sci. 2021, 236, 3864–3877. [Google Scholar] [CrossRef]
- Jin, Z.; Chen, G.; Yang, Z. Rolling Bearing Fault Diagnosis Based on WOA-VMD-MPE and MPSO-LSSVM. Entropy 2022, 24, 927. [Google Scholar] [CrossRef]
- Mohd Jaafar, N.S.; Aziz, I.A.; Jaafar, J.; Mahmood, A.K. An Approach of Filtering to Select IMFs of EEMD in Signal Processing for Acoustic Emission [AE] Sensors. In Intelligent Systems in Cybernetics and Automation Control Theory. CoMeSySo 2018. Advances in Intelligent Systems and Computing; Silhavy, R., Silhavy, P., Prokopova, Z., Eds.; Springer: Cham, Switzerland, 2019; Volume 860. [Google Scholar]
- Ding, J.; Chen, G.; Huang, Y.; Zhu, Z.; Yuan, K.; Xu, H. Short-term wind speed prediction based on CEEMDAN-SE-improved PIO-GRNN model. Meas. Control. 2021, 54, 73–87. [Google Scholar] [CrossRef]
- Park, J.; Lee, J.-Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module, Sanghyun Woo. arXiv 2018, arXiv:1807.06521v2. [Google Scholar]
- Daga, A.P.; Fasana, A.; Marchesiello, S.; Garibaldi, L. The Politecnico di Torino rolling bearing test rig: Description and analysis of open access data. Mech. Syst. Signal Process. 2019, 120, 252–273. [Google Scholar] [CrossRef]
Dataset | Fault Category | Imbalance Ratio Normal:Fault | |||
---|---|---|---|---|---|
Normal | Inner Race | Roller | |||
Label:0 Speed:6000/12,000 Load:0/1012 N | Label:1 Speed:6000/12,000 Load:1006/1407 N | Label:2 Speed:6000/12,000 Load:992/1407 N | |||
Training/ validation samples | Dataset A | 180/180 | 20/20 | 20/20 | 9:1 |
Dataset B | 280/280 | 20/20 | 20/20 | 14:1 | |
Dataset C | 380/380 | 20/20 | 20/20 | 19:1 | |
Dataset D | 200/200 | 40/40 | 40/40 | 5:1 | |
Dataset E | 400/400 | 40/40 | 40/40 | 10:1 | |
Testing samples | Dataset A, B, C, D and E | 400 | 400 | 400 | 1:1 |
Dataset | Diagnostic Accuracy | |||||||
---|---|---|---|---|---|---|---|---|
IMF0 | IMF1 | IMF2 | IMF3 | IMF4 | IMF5 | IMF6 | Ensemble Capsnet with CBAM | |
A | 1 | 0.833 | 0.832 | 0.998 | 0.578 | 0.333 | 0.333 | 1 |
B | 1 | 0.833 | 0.736 | 0.999 | 0.593 | 0.333 | 0.333 | 1 |
C | 1 | 0.833 | 0.833 | 0.999 | 0.667 | 0.333 | 0.333 | 1 |
D | 1 | 1 | 0.928 | 0.999 | 0.668 | 0.333 | 0.333 | 1 |
E | 1 | 0.833 | 0.889 | 0.999 | 0.743 | 0.334 | 0.333 | 1 |
Testing Samples with Different SNR | ||||||
---|---|---|---|---|---|---|
SNR(db) | −20 | −10 | −1 | 10 | 20 | |
Diagnostic accuracy | Ensemble Capsnet with CBAM | 1 | 1 | 1 | 1 | 1 |
Ensemble Capsnet w/o CBAM | 0.817 | 1 | 1 | 1 | 1 |
No. | Layer | Activation Shape |
---|---|---|
1 | Input layer | (None, 32, 32, 1) |
2 | Conv2D | (None, 32, 32, 128) |
3 | Average Pooling | (None, 16, 16, 128) |
4 | Conv2D | (None, 16, 16, 512) |
5 | Global average Pooling | (None, 512) |
6 | Dense | (None, 100) |
7 | Dense | (None, 3) |
Testing Samples | Diagnostic Accuracy | |||||
---|---|---|---|---|---|---|
CNN | Capsnet with CBAM | Capsnet w/o CBAM | Ensemble CNN | Ensemble Capsnet w/o CBAM | Ensemble Capsnet with CBAM | |
A | 0.595 | 0.673 | 0.658 | 0.658 | 1 | 1 |
B | 0.653 | 0.73 | 0.658 | 0.724 | 1 | 1 |
C | 0.628 | 0.649 | 0.548 | 0.657 | 1 | 1 |
D | 0.689 | 0.82 | 0.703 | 0.999 | 1 | 1 |
E | 0.695 | 0.794 | 0.719 | 0.996 | 1 | 1 |
Testing Samples | Diagnostic Accuracy | |||||
---|---|---|---|---|---|---|
Ensemble CNN Based on VM | Ensemble Capsnet with CBAM Based on VM | Ensemble Capsnet w/o CBAM Based on VM | Ensemble CNN Based on WMVM | Ensemble Capsnet with CBAM Based on WMVM | Ensemble Capsnet w/o CBAM Based on WMVM | |
A | 0.642 | 0.998 | 0.986 | 0.658 | 1 | 1 |
B | 0.720 | 0.998 | 0.992 | 0.724 | 1 | 1 |
C | 0.633 | 0.994 | 0.978 | 0.657 | 1 | 1 |
D | 0.976 | 1 | 1 | 0.999 | 1 | 1 |
E | 0.954 | 1 | 1 | 0.996 | 1 | 1 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Xu, Z.; Lee, C.K.M.; Lv, Y.; Chan, J. Ensemble Capsule Network with an Attention Mechanism for the Fault Diagnosis of Bearings from Imbalanced Data Samples. Sensors 2022, 22, 5543. https://doi.org/10.3390/s22155543
Xu Z, Lee CKM, Lv Y, Chan J. Ensemble Capsule Network with an Attention Mechanism for the Fault Diagnosis of Bearings from Imbalanced Data Samples. Sensors. 2022; 22(15):5543. https://doi.org/10.3390/s22155543
Chicago/Turabian StyleXu, Zengbing, Carman Ka Man Lee, Yaqiong Lv, and Jeffery Chan. 2022. "Ensemble Capsule Network with an Attention Mechanism for the Fault Diagnosis of Bearings from Imbalanced Data Samples" Sensors 22, no. 15: 5543. https://doi.org/10.3390/s22155543