Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on Deep Residual Shrinkage Network with Dynamic Convolution and Selective Kernel Attention Model
Abstract
1. Introduction
- (1)
- We propose a novel residual shrinkage network, DDRSN-SKA. By incorporating a dynamic convolution structure, the network adaptively generates convolution kernel weights according to the input signal, enabling more effective extraction of discriminative features from noisy vibration data. Compared with traditional fixed convolution kernels, the dynamic convolution greatly enhances feature representation. Furthermore, the SK attention mechanism adaptively selects appropriate receptive fields during convolution, thereby improving the recognition of critical fault features and further enhancing diagnostic accuracy.
- (2)
- We design an enhanced residual shrinkage unit that integrates dynamic convolution with Selective Kernel Attention (SKAttention) to strengthen feature extraction under strong noise conditions. While conventional residual shrinkage units possess denoising capability, they often attenuate or even lose key fault signatures when processing signals with high noise levels, particularly in weak fault or severely distorted cases. To address this, we replace conventional convolution with dynamic convolution, allowing for adaptive adjustment of kernel weights based on signal characteristics and significantly improving the model’s sensitivity to feature variations. In addition, SKAttention selectively emphasizes informative channel features, effectively enhancing the network’s ability to capture abnormal patterns. This structure not only preserves the denoising advantages of residual shrinkage units but also improves the retention of weak fault features, enabling robust fault recognition under complex operating conditions.
- (3)
- The effectiveness of the proposed method is validated on the Case Western Reserve University (CWRU) bearing dataset and a laboratory-collected bearing dataset. The Experimental results show that our model consistently outperforms baseline algorithms across different noise levels, confirming its robustness and superiority. In particular, under strong noise interference, the model effectively extracts and distinguishes fault patterns, demonstrating substantial potential for real-world engineering applications.
2. Theoretical Foundations and Network Structure
2.1. Continuous Wavelet Transform
2.2. Dynamic Convolution
2.3. Selective Kernel Attention
2.4. Enhanced DRSN
2.5. DDRSN-SKA Based Fault Diagnosis
3. Analysis of Experiments Results
3.1. Experimental Environment and Parameter Settings
3.2. Case 1: CWRU Bearing Dataset
3.2.1. Dataset Description
3.2.2. Comparative Experiments
3.2.3. Ablation Experiments
3.3. Case 2: Laboratory Bearing Dataset
3.3.1. Introduction to the Datasets
3.3.2. Comparative Tests
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Lee, J.; Wu, F.; Zhao, W.; Ghaffari, M.; Liao, L.; Siegel, D. Prognostics and health management design for rotary machinery systems—Reviews, methodology and applications. Mech. Syst. Signal Process. 2014, 42, 314–334. [Google Scholar] [CrossRef]
- Rai, A.; Upadhyay, S.H. A review on signal processing techniques utilized in the fault diagnosis of rolling element bearings. Tribol. Int. 2016, 96, 289–306. [Google Scholar] [CrossRef]
- Zhang, T.; Chen, J.; Li, F.; Zhang, K.; Lv, H.; He, S.; Xu, E. Intelligent fault diagnosis of machines with small & imbalanced data: A state-of-the-art review and possible extensions. ISA Trans. 2022, 119, 152–171. [Google Scholar] [CrossRef] [PubMed]
- Xu, Y.; Zhang, K.; Ma, C.; Li, X.; Zhang, J. An Improved Empirical Wavelet Transform and Its Applications in Rolling Bearing Fault Diagnosis. Appl. Sci. 2018, 8, 2352. [Google Scholar] [CrossRef]
- Zhou, J.; Qin, Y.; Kou, L.; Yuwono, M.; Su, S. Fault detection of rolling bearing based on FFT and classification. J. Adv. Mech. Des. Syst. Manuf. 2015, 9, JAMDSM0056. [Google Scholar] [CrossRef]
- Tse, P.W.; Peng, Y.H.; Yam, R. Wavelet Analysis and Envelope Detection For Rolling Element Bearing Fault Diagnosis—Their Effectiveness and Flexibilities. J. Vib. Acoust. 2001, 123, 303–310. [Google Scholar] [CrossRef]
- Suthaharan, S. Support Vector Machine. In Machine Learning Models and Algorithms for Big Data Classification; Springer: Boston, MA, USA, 2016; Volume 36, pp. 207–235. [Google Scholar] [CrossRef]
- Hamadache, M.; Lee, D. Principal component analysis based signal-to-noise ratio improvement for inchoate faulty signals: Application to ball bearing fault detection. Int. J. Control Autom. Syst. 2017, 15, 506–517. [Google Scholar] [CrossRef]
- Xie, F.; Li, G.; Song, C.; Song, M. The Early Diagnosis of Rolling Bearings’ Faults Using Fractional Fourier Transform Information Fusion and a Lightweight Neural Network. Fractal Fract. 2023, 7, 875. [Google Scholar] [CrossRef]
- Shen, W.; Xiao, M.; Wang, Z.; Song, X. Rolling Bearing Fault Diagnosis Based on Support Vector Machine Optimized by Improved Grey Wolf Algorithm. Sensors 2023, 23, 6645. [Google Scholar] [CrossRef]
- Zhang, S.; Zhang, S.; Wang, B.; Habetler, T.G. Deep Learning Algorithms for Bearing Fault Diagnostics—A Comprehensive Review. IEEE Access 2020, 8, 29857–29881. [Google Scholar] [CrossRef]
- Zhao, R.; Yan, R.; Chen, Z.; Mao, K.; Wang, P.; Gao, R.X. Deep learning and its applications to machine health monitoring. Mech. Syst. Signal Process. 2019, 115, 213–237. [Google Scholar] [CrossRef]
- Chua, L.O.; Roska, T. The CNN paradigm. IEEE Trans. Circuits Syst. Fundam. Theory Appl. 1993, 40, 147–156. [Google Scholar] [CrossRef]
- Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-Dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. J. Big Data 2021, 8, 53. [Google Scholar] [CrossRef] [PubMed]
- Wang, Z.; Xu, X.; Song, D.; Zheng, Z.; Li, W. A Novel Bearing Fault Diagnosis Method Based on Improved Convolutional Neural Network and Multi-Sensor Fusion. Machines 2025, 13, 216. [Google Scholar] [CrossRef]
- Xu, T.; Lv, H.; Lin, S.; Tan, H.; Zhang, Q. A fault diagnosis method based on improved parallel convolutional neural network for rolling bearing. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2023, 237, 2759–2771. [Google Scholar] [CrossRef]
- Li, S.; Ji, J.C.; Xu, Y.; Sun, X.; Feng, K.; Sun, B.; Wang, Y.; Gu, F.; Zhang, K.; Ni, Q. IFD-MDCN: Multibranch denoising convolutional networks with improved flow direction strategy for intelligent fault diagnosis of rolling bearings under noisy conditions. Reliab. Eng. Syst. Saf. 2023, 237, 109387. [Google Scholar] [CrossRef]
- Khawaja, A.U.; Shaf, A.; Thobiani, F.A.; Ali, T.; Irfan, M.; Pirzada, A.R.; Shahkeel, U. Optimizing Bearing Fault Detection: CNN-LSTM with Attentive TabNet for Electric Motor Systems. Comput. Model. Eng. Sci. 2024, 141, 2399–2420. [Google Scholar] [CrossRef]
- Zhang, W.-T.; Liu, L.; Cui, D.; Ma, Y.-Y.; Huang, J. An Anti-Noise Convolutional Neural Network for Bearing Fault Diagnosis Based on Multi-Channel Data. Sensors 2023, 23, 6654. [Google Scholar] [CrossRef]
- Dong, Z.; Zhao, D.; Cui, L. An intelligent bearing fault diagnosis framework: One-dimensional improved self-attention-enhanced CNN and empirical wavelet transform. Nonlinear Dyn. 2024, 112, 6439–6459. [Google Scholar] [CrossRef]
- Chen, Y.; He, Y.; Li, Z.; Chen, L.; Zhang, C. Remaining useful life prediction and state of health diagnosis of lithium-ion battery based on second-order central difference particle filter. IEEE Access 2020, 8, 37305–37313. [Google Scholar] [CrossRef]
- Chen, Z.; Mauricio, A.; Li, W.; Gryllias, K. A deep learning method for bearing fault diagnosis based on Cyclic Spectral Coherence and Convolutional Neural Networks. Mech. Syst. Signal Process. 2020, 140, 106683. [Google Scholar] [CrossRef]
- Qi, J.; Chen, Z.; Kong, Y.; Qin, W.; Qin, Y. Attention-guided graph isomorphism learning: A multi-task framework for fault diagnosis and remaining useful life prediction. Reliab. Eng. Syst. Saf. 2025, 263, 111209. [Google Scholar] [CrossRef]
- Qi, J.; Chen, Z.; Uhlmann, Y.; Schullerus, G. Sensorless Robust Anomaly Detection of Roller Chain Systems Based on Motor Driver Data and Deep Weighted KNN. IEEE Trans. Instrum. Meas. 2025, 74, 1–13. [Google Scholar] [CrossRef]
- Tong, J.; Tang, S.; Wu, Y.; Pan, H.; Zheng, J. A fault diagnosis method of rolling bearing based on improved deep residual shrinkage networks. Measurement 2023, 206, 112282. [Google Scholar] [CrossRef]
- Li, X.; Chen, J.; Wang, J.; Wang, J.; Li, X.; Kan, Y. Research on Fault Diagnosis Method of Bearings in the Spindle System for CNC Machine Tools Based on DRSN-Transformer. IEEE Access 2024, 12, 74586–74595. [Google Scholar] [CrossRef]
- Li, X.; Wang, J.; Wang, J.; Wang, J.; Chen, J.; Yu, X. Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on DRSN–GCE Model. Algorithms 2025, 18, 304. [Google Scholar] [CrossRef]
- Li, X.; Chen, J.; Wang, J.; Wang, J.; Wang, J.; Li, X.; Kan, Y. Multi-Scale Channel Mixing Convolutional Network and Enhanced Residual Shrinkage Network for Rolling Bearing Fault Diagnosis. Electronics 2025, 14, 855. [Google Scholar] [CrossRef]
- Wang, L.; Zou, T.; Cai, K.; Liu, Y. Rolling bearing fault diagnosis method based on improved residual shrinkage network. J. Braz. Soc. Mech. Sci. Eng. 2024, 46, 172. [Google Scholar] [CrossRef]
- Chen, W.; Sun, K.; Li, X.; Xiao, Y.; Xiang, J.; Mao, H. Adaptive Multi-Channel Residual Shrinkage Networks for the Diagnosis of Multi-Fault Gearbox. Appl. Sci. 2023, 13, 1714. [Google Scholar] [CrossRef]
Number of Components | Output Size | Modules |
---|---|---|
1 | 16 × 64 × 64 | Conv1 |
2 | 64 × 32 × 32 | DRSBU |
1 | 64 × 32 × 32 | SKAttention |
2 | 256 × 16 × 16 | DRSBU |
1 | 512 | FC |
1 | 10 or 4 | FC |
Fault Description | Fault Diameter (mm) | Training Samples | Test Samples | Label |
---|---|---|---|---|
No | 0 | 210 | 90 | 0 |
BA_1 | 0.1778 | 210 | 90 | 1 |
BA_2 | 0.3556 | 210 | 90 | 2 |
BA_3 | 0.5334 | 210 | 90 | 3 |
IR_1 | 0.1778 | 210 | 90 | 4 |
IR_2 | 0.3556 | 210 | 90 | 5 |
IR_3 | 0.5334 | 210 | 90 | 6 |
OR_1 | 0.1778 | 210 | 90 | 7 |
OR_2 | 0.3556 | 210 | 90 | 8 |
OR_3 | 0.5334 | 210 | 90 | 9 |
Model | Raw Signal | SNR/(dB) | |||||||
---|---|---|---|---|---|---|---|---|---|
−8 | −6 | −4 | −2 | 0 | 2 | 4 | 6 | ||
Resnet | 99.91 | 91.21 | 92.36 | 93.88 | 94.17 | 95.99 | 97.47 | 98.11 | 99.14 |
DRSN-CS | 99.55 | 93.78 | 95.23 | 96.27 | 97.65 | 98.21 | 99.09 | 99.32 | 99.45 |
DRSN-Transformer | 99.97 | 94.81 | 95.99 | 97.99 | 98.22 | 99.04 | 99.36 | 99.58 | 99.65 |
1Dproposed | 99.98 | 96.02 | 97.21 | 98.01 | 99.24 | 99.32 | 99.55 | 99.69 | 99.77 |
Proposed | 99.99 | 98.44 | 98.99 | 99.32 | 99.49 | 99.65 | 99.78 | 99.89 | 99.95 |
Model | Raw Signal | SNR/(dB) | |||||||
---|---|---|---|---|---|---|---|---|---|
−8 | −6 | −4 | −2 | 0 | 2 | 4 | 6 | ||
Resnet | 99.89 | 81.98 | 87.81 | 88.88 | 90.12 | 91.22 | 92.48 | 94.32 | 97.66 |
DRSN-CS | 99.91 | 87.75 | 88.89 | 92.31 | 95.55 | 95.55 | 96.64 | 99.21 | 99.57 |
DRSN-Transformer | 99.93 | 88.81 | 89.99 | 94.99 | 97.22 | 99.04 | 99.26 | 99.51 | 99.62 |
1Dproposed | 99.95 | 89.99 | 92.99 | 95.55 | 97.77 | 99.11 | 99.31 | 99.69 | 99.77 |
Proposed | 99.97 | 91.77 | 94.49 | 96.11 | 98.61 | 99.42 | 99.51 | 99.72 | 99.88 |
Type of Noise | Only Dynamic Convolution | Only SKAttention | Neither | Both |
---|---|---|---|---|
Gaussian | 97.11 | 97.44 | 93.55 | 98.44 |
Laplace | 89.88 | 90.88 | 87.78 | 91.77 |
Type of Fault | Training Numbers | Testing Numbers | Label |
---|---|---|---|
NF | 210 | 90 | 0 |
IF | 210 | 90 | 1 |
BF | 210 | 90 | 2 |
OF | 210 | 90 | 3 |
Model | Raw Signal | SNR/(dB) | |||||
---|---|---|---|---|---|---|---|
−8 | −5 | −3 | 0 | 3 | 5 | ||
Resnet | 98.91 | 89.44 | 92.71 | 93.48 | 94.27 | 95.89 | 97.65 |
DRSN-CS | 99.52 | 92.50 | 94.85 | 96.56 | 98.01 | 98.76 | 99.09 |
DRSN-Transformer | 99.62 | 95.27 | 96.71 | 97.99 | 98.22 | 99.05 | 99.36 |
1Dproposed | 99.71 | 96.66 | 97.21 | 98.55 | 99.04 | 99.29 | 99.39 |
Proposed | 99.88 | 97.50 | 98.99 | 99.32 | 99.49 | 99.55 | 99.71 |
Model | Raw Signal | SNR/(dB) | |||||
---|---|---|---|---|---|---|---|
−8 | −5 | −3 | 0 | 3 | 5 | ||
Resnet | 99.37 | 89.52 | 91.36 | 95.88 | 94.87 | 96.39 | 97.47 |
DRSN-CS | 99.45 | 92.21 | 95.23 | 96.27 | 97.65 | 98.21 | 98.55 |
DRSN-Transformer | 99.59 | 93.27 | 94.56 | 95.99 | 98.58 | 99.01 | 99.21 |
1Dproposed | 99.61 | 93.76 | 94.88 | 96.01 | 99.14 | 99.35 | 99.57 |
Proposed | 99.93 | 94.44 | 95.27 | 97.02 | 99.66 | 99.79 | 99.88 |
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
Li, X.; Wang, J.; Wang, J.; Wang, J.; Liu, J.; Chen, J.; Yu, X. Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on Deep Residual Shrinkage Network with Dynamic Convolution and Selective Kernel Attention Model. Algorithms 2025, 18, 569. https://doi.org/10.3390/a18090569
Li X, Wang J, Wang J, Wang J, Liu J, Chen J, Yu X. Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on Deep Residual Shrinkage Network with Dynamic Convolution and Selective Kernel Attention Model. Algorithms. 2025; 18(9):569. https://doi.org/10.3390/a18090569
Chicago/Turabian StyleLi, Xiaoxu, Jixuan Wang, Jianqiang Wang, Jiahao Wang, Jiamin Liu, Jiaming Chen, and Xuelian Yu. 2025. "Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on Deep Residual Shrinkage Network with Dynamic Convolution and Selective Kernel Attention Model" Algorithms 18, no. 9: 569. https://doi.org/10.3390/a18090569
APA StyleLi, X., Wang, J., Wang, J., Wang, J., Liu, J., Chen, J., & Yu, X. (2025). Research on CNC Machine Tool Spindle Fault Diagnosis Method Based on Deep Residual Shrinkage Network with Dynamic Convolution and Selective Kernel Attention Model. Algorithms, 18(9), 569. https://doi.org/10.3390/a18090569