원시데이터 수집 시스템
선정목록으로

Research on Fault Diagnosis Method of Bearings in the Spindle System for CNC Machine Tools Based on DRSN-Transformer

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Xiaoxu Li — School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin, China
  2. Jiaming Chen — School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin, China
  3. Jiahao Wang — School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin, China
  4. Jianqiang Wang — School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin, China
  5. Xiaotao Li — School of Mechanical and Aerospace Engineering, Jilin University, Changchun, Jilin, China
  6. Yingnan Kan — School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin, China
DOI
10.1109/access.2024.3404968
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3404968
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4398764972

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

A CNC machine tool is an industry mother machine in manufacturing industry. As its key rotating part, bearings in the spindle system of machine tools usually suffer great noise during operation. This paper puts forward a method based on DRSN-Transformer algorithm which can diagnose rolling bearing faults accurately under conditions with high noise. Firstly, we add Gaussian white noise of different signal-to-noise ratios (SNRs) into the original vibration signal, and continuous wavelet transform (CWT) is performed to the vibration signal with noise to construct wavelet time-frequency map. Then, the soft threshold module in the deep residual shrinkage networks (DRSN) can achieve the better effect of noise reduction. And the multi-head attention in the Transformer can pay attention to the important features on different subspaces, so as to enhance the overall feature extraction ability of the model. Finally, the output of the classification module is utilized to obtain the fault diagnosis results. The experimental results show that the proposed method can reach the accuracy of at least 98% under different SNRs condition, which fully verifies the method proposed in this paper can still obtain higher accuracy in strong noise environments. The method in this paper provides a certain reference for fault diagnosis for the spindle system for machine tools.

본문 42,803자

본문 펼치기
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000. _Digital Object Identifier 10.1109/ACCESS.2022.Doi Number_ # Research on Fault Diagnosis Method of Bearings in the Spindle System for CNC Machine Tools Based on DRSN-Transformer XIAOXU LI <sup>1</sup> , JIAMING CHEN <sup>1</sup> , JIAHAO WANG <sup>1</sup> , JIANQIANG WANG <sup>1</sup> , XIAOTAO LI <sup>2</sup> , YINGNAN KAN <sup>1</sup> 1School of Mechanical and Vehicle Engineering, Changchun University, Changchun, Jilin 130022, China 2School of Mechanical and Aerospace Engineering, Jilin University, Changchun, Jilin 130015, China Corresponding author: XIAOTAO LI (e-mail: lixiaotao@ jlu.edu.cn). This work was supported by the Department of Education of Jilin Province under Grant 2022LY501L15 and Changchun University under Grant 2020JBD01L09 ABSTRACT A CNC machine tool is an industry mother machine in manufacturing industry. As its key rotating part, bearings in the spindle system of machine tools usually suffer great noise during operation. This paper puts forward a method based on DRSN-Transformer algorithm which can diagnose rolling bearing faults accurately under conditions with high noise. Firstly, we add Gaussian white noise of different signalto-noise ratios (SNRs) into the original vibration signal, and continuous wavelet transform (CWT) is performed to the vibration signal with noise to construct wavelet time-frequency map. Then, the soft threshold module in the deep residual shrinkage networks (DRSN) can achieve the better effect of noise reduction. And the multi-head attention in the Transformer can pay attention to the important features on different subspaces, so as to enhance the overall feature extraction ability of the model. Finally, the output of the classification module is utilized to obtain the fault diagnosis results. The experimental results show that the proposed method can reach the accuracy of at least 98% under different SNRs condition, which fully verifies the method proposed in this paper can still obtain higher accuracy in strong noise environments. The method in this paper provides a certain reference for fault diagnosis for the spindle system for machine tools. INDEX TERMS CWT, DRSN, fault diagnosis, strong noise, Transformer I. INTRODUCTION The spindle system of machine tools is a complex electromechanical liquid system, which directly affects the machining accuracy of the CNC machine tool. Especially in serious cases, it will lead to downtime, and resulting in economic losses [1]. As key components of CNC machine tools, bearings of the spindle system operate under a disturbing environment with high speed, high noise, and high failure rate. To ensure the safe operation, real time condition detection and fault diagnosis are needed [2],[3],[4]. In industry, vibration data-based fault diagnosis of mechanical systems is widely used [5]. Traditional fault diagnosis methods are achieved by signal processing method and machine learning method, which detect vibration components and extract characteristic frequencies associated with faults [6]. Li [7] proposed a smooth sparse low-rank matrix (SSLRM) method based on asymmetric singular value decomposition (SVD) penalized regularization to suppress the interference of redundant information in order to overcome the problem that early weak fault pulses are easily overwhelmed by strong noise. Bai _et al_ . [8] built stacked sparse autoencoders (SSAE) by stacking sparse autoencoders, and combined them with support vector machine (SVM) to reduce the feature dimensions of vibration signals for less computational burden. Bi _et al._ [9] proposed a method based on variational mode decomposition (VMD) and kernel-based fuzzy c-means clustering (KFCM) with advantages in accuracy, simplicity, and efficiency for diesel engine. However, traditional fault diagnosis methods based on signal processing and machine learning require manual extraction of vibration signals, which relies heavily on prior knowledge and expertise [10]. In addition, SVMs occupy a large amount of memory when dealing with large-scale data and are difficult to deal with multiclass problems. Similarly, VMD has a high computational complexity and is prone to performance bottlenecks when dealing with large amounts of data [11]. In recent years, with the development of artificial intelligence technology, bearing fault diagnosis based on deep learning has become a research hotspot. Convolutional neural networks (CNNs) are widely applied in the field of fault diagnosis due to their powerful feature mapping ability that can automatically learn fault features [12]. Gong _et al_ . [13] proposed an improved CNN model architecture, which introduced a global average pooling layer to replace the fully connected layer in the CNN model and adopted a nonlinear SVM instead of the Softmax function. This change effectively reduces the number of parameters and computation time of the CNN model. It also improves the classification accuracy. Guo _et al_ . [14] combined CNN with time-frequency analysis, converting one-dimensional time-series signals into images, and used the CNN to extract the features of time-frequency maps. CNNs avoid the hassle of manually designing features, and the model is able to automatically learn useful features from samples. Usually, CNNs are used to improve the performance of the model by increasing the depth of the network [15]. However, as the network deepens, the accuracy of the model may decrease instead, which is because a deeper network hinders the propagation of gradients, making it difficult to update the parameters. For this reason, He _et al_ . [16] proposed deep residual network (ResNet), which avoids gradient vanishing and exploding by residual connections to continuously optimize the parameters. On this basis, Zhang _et_ _al_ . [17] improved ResNet by incorporating hybrid attention and applied it to fault diagnosis of wind turbine gearboxes. Long _et al_ . [18] combined ResNet with transfer learning and achieved good performance. Although these models yield promising diagnostic results, the vibration signals collected in real industrial settings (e.g., CNC machine tools, wind turbines) often contain significant amounts of noise, which can obscure fault features and reduce the efficacy of the model's feature learning. To address this problem, Zhao _et al_ . [19] developed a deep residual shrinkage network (DRSN) based on residual networks, which is designed for fault diagnosis in noisy environments. Zhang _et al_ . [20] proposed an improved version of DRSN by replacing soft thresholding with leaky thresholding, thereby enhancing the model's performance. Zhang _et al_ . [21] introduced spatial domain attention into DRSN to capture the spatial dependencies of the feature map, thus constructing a hybrid attention mechanism that considers multiple channels. The enhanced DRSN has demonstrated improved diagnostic accuracy across various noise environments. Although the aforementioned enhanced DRSNs have exhibited commendable performance across diverse noise environments, the model grapples with an inadequacy in its capacity to effectively learn features when confronted with characteristic samples laden with intense noise. Addressing the challenge head-on, this paper proposes a method for rolling bearing fault diagnosis founded upon the DRSN-Transformer framework, which introduces the Encoder module from the Transformer to enhance the feature extraction ability of the model in strong noise environments, thus facilitating precision diagnostics across a spectrum of noise levels. To begin with, Gaussian white noise characterized by varying signal-to-noise ratios (SNRs) is introduced into the native vibration signal. Subsequently, a continuous wavelet transform is applied to the noise-laden vibration signal to yield wavelet time-frequency maps. These samples are then fed into the DRSN-Transformer model, where the soft thresholding module within the DRSN orchestrates automatic denoising. Then the self-attention mechanism in the Encoder module is able to automatically pay attention to important features, and the multi-head attention mechanism in the Encoder module can pay attention to the relationship between different features, thus enhancing the model's overall feature extraction capability. Finally, the efficacy of the proposed method is validated on the Case Western Reserve University (CWRU) bearing dataset and the laboratory bearing dataset, and the experimental results show that the method proposed in this paper can realize high-precision diagnosis with good robustness and accuracy in strong noise environments. II. RELEVANT THEORIES _A. CONTINUOUS WAVELET TRANSFORM_ The wavelet transform is a signal processing technique used to analyze the frequency characteristics and time characteristics of signals and is capable of analyzing bearing vibration signals on different scales. It obtains spectral information about a signal at different scales and locations by convolving the signal with a set of wavelet basis functions. The wavelet basis functions are defined as: ??,?(?) = <sup><u>1</u></sup> √ <sup>?</sup> ?( <sup><u>?−?</u></sup> ~~)~~ (1) ? The continuous wavelet transform is defined as: ( <sup><u>?−?</u></sup> ~~)~~ ?? (2) ? ??(?,?) = <sup><u>1</u></sup> √ <sup>?</sup> +∞ ∫ ?(?)? <sup>∗</sup> −∞ where _a_, _b_ are continuously varying parameters, _a_ is the scale parameter, _b_ is the translation parameter, ? <sup>∗</sup> (?) and the wavelet basis function ?(?) are conjugate complex numbers to each other. When performing continuous wavelet transform, the choice of wavelet basis function is crucial for the accuracy of signal feature extraction. The common wavelet basis functions are Morlet, Db10, Coif5, Meyer, among which Morlet wavelet basis function has good smoothness, symmetry and modulation, which can locate the fault frequency and time domain location on the time-frequency scale, and performs better in bearing fault diagnosis. Therefore, Morlet is chosen as the wavelet basis function in this paper. Morlet wavelet basis function expression is shown below: ?? (?) = ? <sup>−1/4</sup> ? <sup>??0?</sup> ? <sup>−?2/2</sup> (3) where _t_ is the time variable; ?0 is the corner frequency parameter, which controls the frequency of the waveform; _j_ is the imaginary unit. _B. DEEP RESIDUAL SHINKAGE NETWORK(DRSN)_ DRSN consists of a stack of multiple residual shrinkage building units (RSBUs), which integrate a soft threshold function and an attention mechanism. It is a feature learning method for strongly noisy or highly redundant data. DRSN automatically learns a set of thresholds by embedding a subnetwork into the residual network, and the soft threshold function is able to adaptively remove the noise and redundant information in the signals, thus enhancing the model feature learning capability. The soft threshold function is a core step in many signal noise reduction algorithms, which removes features smaller than the threshold and shrinks the features with absolute values of the signal larger than the threshold in the direction of zero. The expression for the soft threshold function is as follows. where ?? is the feature of the cth channel output from the last fully connected layer and ?? is the scaling parameter of the cth channel. The threshold is calculated as follows. ?? = ?? ∙? (6) where ?? is the threshold of the cth channel of the feature map and _Z_ is the output feature of the convolutional layer. However, the noise content of each sample in the sample set input to the network model is different, while RSBU can automatically learn a set of thresholds based on the input samples. Each sample has its own independent threshold based on its own noise content to eliminate the information related to noise. In this paper, the bearing vibration signal is converted into a two-dimensional time-frequency map through continuous wavelet transform as the input sample, while the RSBU is designed for one-dimensional time series signal at the beginning. In order to adapt to the input samples, we change the one-dimensional convolution in RSBU to twodimensional convolution and name it 2D-RSBU, the specific structure is shown in Fig. 2. The final output is passed to the next layer of the network through the relu function, which is added in order to improve the computational efficiency and accelerate the training process. FIGURE 2. 2D-RSBU structure _C. TRANSFORMER_ Transformer is based on Encoder-Decoder architecture with attention modules as its main component, which has achieved great success in NLP. This paper mainly uses encoder block to build the model. The concrete structure is shown in Fig. 3 (a). The encoder is mainly composed of multi-head attention mechanism and feed-forward neural network. ?= { ?−?, ?> ? 0, −?≤?≤? ?+ ?, ?< ? (4) where ? is the input feature and ? is the output feature; ? denotes the threshold value and is a positive parameter. FIGURE 1. The structure of RSBU Fig. 1 illustrates the structure of RSBU. As shown in Fig.1, the sub-network and soft thresholding modules are integrated in RSBU. In the sub-network, all the input features are firstly evaluated for their absolute values, and then pass through global average pooling to obtain the feature _Z_ . In the other path, the input features go through two fully connected layers and then go through the output of the sigmoid function to obtain the scaling parameter _a_, which ranges between 0 and 1. <u>1</u> ?? = (5) 1 + ? <sup>−??</sup> FIGURE 3. (a) Structure of the encoder. (b) Structure of the multi-head attention. (c) scaled dot-product attention. _1)_ _Positional encoding_ The essence of the Transformer lies in its attention mechanism. However, it is noteworthy that the attention mechanism lacks inherent positional information. In response to this problem, an auxiliary positional tensor, known as positional encoding, is introduced. This positional encoding, possessing dimensions identical to those of the embedding, empowers the model to discern and prioritize information according to its position within the sequence. ??,2? = sin(?/10000 <sup>2?/?</sup> ) (7) ??,2?+1 = cos(?/10000 <sup>2?/?</sup> ) (8) where _k_ is the position of the input feature sample, _i_ is the dimension of the input feature, _d_ is the dimension of the position vector. _2)_ _Multi-head attention_ Multi-head attention consists of a stack of multiple scaled dotproduct attention layers operating in parallel, and its basic structure is shown in Fig. 3(b). Scaled dot product attention is a commonly used attention mechanism with the structure shown in Fig. 3(c), which assigns weights to characterize the importance of the information by calculating the similarity of the input feature sequences. First, the input feature sequence _Z_ is multiplied by different weight matrices ? <sup>?</sup> ,? <sup>?</sup> ,and ? <sup>?</sup> respectively to get queries ?, keys ? , and values _V_ . Then the dot product of ? and _K_ is computed and divided by the scaling factor to avoid the problem of gradient vanishing and gradient exploding in the computation of softmax function. Finally, the product of the attention weights and values _V_ is computed to get the weighted summed output feature sequence. The calculation process is as follows. ?= ?? <sup>?</sup>,?= ?? <sup>?</sup>, ?= ?? <sup>?</sup> (9) where ? <sup>?</sup> ,? <sup>?</sup> ,? <sup>?</sup> are the weight matrices corresponding to ?, _K_, and _V_, respectively, which are learned from the input feature sequence _Z_ ; ?? is the dimension of the hidden layer. The multi-head attention projects the input sequence into h subspaces, calculates the attention values of the input sequence separately, and then splices the results of the h groups and then performs a linear transformation to get the final output. Multi −head(?,?, ?) = Concat(ℎ1,ℎ2, …, ℎ?)? (11) ℎ? = Attention(????, ????, ????) (12) ?, ??? ℎ? = Attention(????, ????, ????) (12) where ? is the weight matrix of multiple attention heads, ???,???,??? are the ?,?,? weight matrices of the ith ?, ??? ?,?? ???,???,??? are the ?,?,? weight matrices of the ith attention head respectively. ?,?? Attention(?, ?, ?) = softmax ( <sup><u>???</u></sup> √?? ~~)~~ ? (10) _D.THE METHOD PROPOSED IN THIS PAPER_ Spindle bearings of CNC machine tools usually work in a strong noise environment, and the traditional model has poor feature learning ability when facing samples containing strong noise, resulting in faults that are difficult to be accurately recognized. To address this problem, this paper proposes a bearing fault diagnosis method based on DRSN-Transformer, and the specific flow is shown in Fig. 4. The specific steps are as follows: - Step 1: Acquire rolling bearing fault vibration signals and divide the training set and test set; - Step 2: Add Gaussian noise with different SNRs to the original vibration signal and perform a continuous wavelet transform on the noise-containing vibration signal to generate wavelet time-frequency maps as input samples; - Step 3: Construct a bearing fault diagnosis model based on DRSN-Transformer, set the parameters, use DRSN to remove the redundant noise and reduce the noise interference, and the multi-head attention mechanism in the Encoder module focuses on different important information on multiple subspaces; - Step 4: By inputting data successively, the model is trained to shrinkage errors between prediction label and true label for better trained model; - Step 5: Validate the method of this paper by using the CWRU bearing dataset and the data measured by the laboratory bearing failure test bench, and output the classification results through the fully connected layer to complete the rolling bearing fault diagnosis under the strong noise background. FIGURE 4. Flowchart of DRSN-Transformer based fault diagnosis methodology III. EXPERIMENTAL VALIDATION AND ANALYSIS _A. PARAMETER SETTINGS_ For the experiments, all the programs in this paper run on a computer with Intel CORE i7-12700H processor, NVIDIA GTX 3070 GPU graphics card, implemented with Python 3.9 as the programming language and PyTorch 1.13 deep learning framework. In the training phase, the learning rate (lr) is set to 0.001, the Batch size is 96, and the optimization algorithm used is Adam. The detailed parameter settings of the model are shown in Table 1. In Table 1, the second column indicates the output sizes of the different layers in the format of channels× width×sheight. The first number in the parentheses of the third column indicates the number of channels, the middle number indicates the size of the convolution kernel, and the last one indicates the step size of the convolution operation. The term "num_classes" denotes the number of neurons in the FC layer, which corresponds to the fault labeling of the number. In Experiment 1 using the CWRU bearing dataset, the number of neurons in the FC is 10. Experiment 2 uses the lab self-test bearing dataset, thus the FC has 4 neurons. The number of heads for the multi-head attention mechanism in Encoder is set to 4. TABLE I <u>NETWORK STRUCTURE PARAMETER SETTING OF THE PROPOSED METHOD.</u> <u>Number of components</u> <u>Output Size</u> <u>DRSN-Transformer</u> 1 3×128×128 Input 1 16×32×32 Conv 2D (16, 5, /2) 1 32×16×16 2D-RSBU (32, 3, /1) 1 48×8×8 2D-RSBU (48, 3, /1) 1 48×64 Reshape 3 48×64 Encoder <u>1</u> <u>num_classes</u> <u>FC</u> _B. EXPERIMENT 1: VALIDATION OF BEARING FAILURE_ _DATA AT CWRU_ _1)_ _Introduction to the dataset_ The CWRU bearing failure dataset was sampled at frequencies of 12 kHz and 48 kHz. The SKF6205-2RSJEM test bearing model was subjected to a singular point of failure introduced via Electrical Discharge Machining (EDM) technology. The detected types of bearing defects include rolling element damage, outer ring damage, and inner ring damage, with each defect type encompassing three distinct damage diameters: 0.1778 mm, 0.3556 mm, and 0.5334 mm. In this paper, the vibration signals of rolling bearings at the DE end with a sampling frequency of 12kHZ and a rotational speed of 1730 r/min are selected to produce a dataset containing 10 health states: Rolling body faults with fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm (labeled BA_1, BA_2, and BA_3, respectively), inner ring faults with fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm (labeled IR_1, IR_2, and IR_3, respectively), and fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm for outer ring faults (labeled OR_1, OR_2, and OR_3, respectively). Three hundred samples are randomly selected from each type of bearing fault data, resulting in a total of 3,000 samples across 10 fault states. Each sample comprises 2,048 sampling points. By partitioning the dataset into training and validation sets with a ratio of 7:3, we obtain 2,100 training samples and 900 validation samples. The details of experiment 1 dataset are provided in Table 2. In order to study the influence of noise signals on the diagnostic effect of the model, the Gaussian white noise with different SNRs is added to the original vibration signal firstly, and then the continuous wavelet transform is performed on the noise-containing vibration signals to generate twodimensional color wavelet time-frequency maps, meanwhile, in order to avoid the influence on the classification results, the legend and coordinate system are set to be not displayed, and finally, the mesh-normalized compression is carried out on the pictures to generate the 128×128× 3 pixel format. TABLE II <u>BEARING DATA SET OF EXPERIMENT 1</u> Fault Size Fault Type <u>(mm)</u> Train <u>Numbers</u> Test Label <u>Numbers</u> Normal 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 <u>OR_3</u> <u>0.5334</u> <u>210</u> <u>90</u> <u>9</u> Fig. 5 shows the wavelet time-frequency plots for each health state when the SNR of -5 dB. As can be seen from Fig. 5, there is a large amount of noise in the image, which is randomly and irregularly distributed in dots and spreads, leading to confusion and blurring of the local features of the image, masking the true characteristics of the fault signal and making it difficult to accurately identify the fault mode, which is a major challenge to the feature extraction capability of the model. (a) Normal (b) BA_1 (c) BA_2 (d) BA_3 (e) IR_1 (f) IR_2 (g) IR_3 (h) OR_1 (i) OR_2 (j) OR_3 FIGURE 5. Wavelet time-frequency plots for 10 health states when SNR = -5 dB _2)_ _Analysis of the results of experiment 1_ According to the experimental results, Table 3 is obtained, and the accuracy of the model diagnosis under different SNRs is obtained. As can be seen from Table 3, the diagnostic accuracy of each method decreases as the degree of noise interference increases, indicating the high noise immunity requirements of the model. For example, with a SNR of -5 dB, the diagnostic accuracy of this paper's model is improved by 2.66% compared with DRSN, and at the same time, it is improved by 0.88% compared with the 1DDRSNTransformer model that does not use CWT, and the method of this paper is able to accurately identify the bearing faults under different noise levels, which fully demonstrates that the model of this paper has better stability and noise resistance performance. Comparing the diagnostic accuracies of CNN, CNNTransformer, DRSN, and 1DDRSN-Transformer (Input is raw signal.) at the same SNR, it can be seen that the multihead attentional mechanism in the Transformer is able to process different locations or features in the input data in parallel by using multiple attentional heads, which improves the feature learning of the network in the presence of noise and enhances the robustness of the network. ability and enhances the robustness of the network. Additionally, comparing 1DDRSN-Transformer and the proposed method in this paper, it can be found that the use of CWT has a better effect on network noise tolerance. TABLE III <u>DIAGNOSTIC ACCURACY OF EACH MODEL WITH DIFFERENT SNRS (%)</u> <u>SNR (dB)</u> Model <u>-5</u> <u>-3</u> <u>-1</u> <u>1</u> <u>3</u> CNN 80.11 82.95 85.37 89.45 92.63 CNN+Transformer 91.55 92.97 94.29 95.65 97.52 DRSN 96.89 97.54 98.34 99.01 99.81 1DDRSN+Transformer 98.67 98.87 99.01 99.24 99.86 <u>Proposed</u> <u>99.55</u> <u>99.67</u> <u>99.79</u> <u>99.92</u> <u>99.97</u> Comparing to other advanced methods, the experimental results are shown in Table 4. As can be seen from Table 4, the diagnostic accuracy of this paper's method reaches 99.99% without artificially added noise, which is improved to a different degree than all other methods, fully verifying the superiority of this paper's method in the field of bearing fault diagnosis. TABLE IV COMPARISON OF DIAGNOSTIC ACCURACY OF EXISTING METHODS (CWRU <u>BEARING DATASET)</u> <u>Model</u> <u>Description</u> <u>Accuracy(%)</u> Model 1 Ensemble deep auto-encoders[22] 97.18 Model 2 CNN+SVM[23] 98.75 Multiscale local feature Model 3 99.31 learning+SVM[24] Model 4 CNN+DAAW[25] 99.49 <u>Proposed</u> <u>CWT+DRSN+Transformer</u> <u>99.99</u> Fig. 6 demonstrates the confusion matrix of the identification results of the different methods for each health state of the bearings in the case of SNR = -5 dB, where the predicted labels are the model-predicted health state categories of the bearings, and the true labels are the true health states of the bearings. From Fig. 6 (b), it can be seen that DRSN achieves perfect prediction for the faults labeled 0, 4, 5, and 6 (corresponding to Normal, IR_1, IR_2, and IR_3, respectively), and all 90 samples are correctly predicted. Other faults are misclassified to varying degrees, with the highest misprediction for the fault labeled 7 (OR_1), and 15 of the 90 samples are misclassified as OR_3. From Fig. 6 (d), it can be seen that the method proposed in this paper has relatively high accuracy in identifying these 10 types of faults, especially for the faults labeled 0, 2, 3, 4, 6, 7, and 9 (corresponding to Normal, BA_2, BA_3, IR_1, IR_3, OR_1, and OR_3, respectively) reached 100% accuracy in fault recognition. Comparing with other methods, the method in this paper achieves the highest accuracy and the lowest misclassification rate for all types of fault identification, which indicates that the method proposed in this paper is able to realize high-precision diagnosis in a strong noise environment and has good robustness. Fig. 7 illustrates the t-SNE visualization of the models at SNR = -5 dB, from which it can be seen that this paper's method is more effective in clustering the fault features for different health states of the bearings, and the classification is more accurate. (a) CNN-Transformer (b) DRSN (c) 1DRSN-Transformer (d) The proposed method FIGURE 6. Classification confusion matrix for each method at SNR = -5 dB (a) CNN-Transformer (b)DRSN (c)1DDRSN-Transformer (d)The proposed method FIGURE 7. Visualization of models output at SNR = -5 dB _C. EXPERIMENT 2: LABORATORY BEARING DATASET_ _VALIDATION_ _1)_ _Introduction to the dataset_ In order to further validate the proposed method of the noise resistance and stability in a strong noise background, the bearing vibration data collected in the laboratory bearing failure experimental bench, the structure of the experimental bench as shown in Fig. 8. SKF6007 deep groove ball bearings are selected, and a single point of failure is set by EDM technology, and the types of failure include inner ring failure (IF), rolling element failure (BF), outer ring failure (OF), and NF indicates the normal state. At the beginning of the experiment, the motor speed was set to 1000 r/min on the console, and the bearing vibration data was measured when the radial loading was 1000N, and the sampling frequency was set to 20 kHZ. 300 samples are set for each fault category, of which 210 samples are used for training and 90 samples are used for testing. Therefore, the dataset contains a total of 1200 samples, of which 840 samples are used for training and 360 samples are used for testing, and each sample contains 2048 data points. The information of the Experiment 2 dataset is shown in Table 5. <mark>FIGURE 8.</mark> <mark>Bearing test bench</mark> TABLE V <u>EXPERIMENT 2 BEARING DATA SET</u> <u>Fault type</u> <u>Train numbers</u> <u>Test numbers</u> <u>Label</u> NF 210 90 0 IF 210 90 1 BF 210 90 2 <u>OF</u> <u>210</u> <u>90</u> <u>3</u> Gaussian white noise with different SNRs is added to the original vibration signals, and then the continuous wavelet transform is performed on the vibration signals containing noise to generate two-dimensional wavelet time-frequency maps. In order to avoid the influence on the classification results, set coordinate system and legend are not displayed. Finally, the images are compressed by grid normalization, and the image size is uniformly adjusted to 128×128×3. The wavelet time-frequency diagrams of each fault state of the bearing with a SNR of -5 dB are shown in Fig. 9. There is a large amount of noise in the image which cover some of the real features. (a) NF (b) IF (c) BF (d) OF FIGURE 9. Wavelet time-frequency plots for four health states when SNR is -5 dB _2)_ _Analysis of the results of Experiment 2_ Comparison experiments are conducted between other models and this paper's method to obtain the accuracy of model diagnosis under different SNRs. As shown in Table 6, where "Raw signal" indicates the original data without artificial added noise. From Table 6, it can be seen that with the decrease of SNR, the diagnostic accuracy of different models decreases faster compared with the method proposed in this paper, among which the CNN model is most affected by noise. In the case of an SNR=-5 dB, the diagnostic accuracy of the DRSN model decreases relative to the case of raw signal input by 4.34%, and the 1DDRSNTransformer model decreases by 3.55%, while the method proposed in this paper decreases by only 1.66%, which further verifies that the model in this paper has a stronger noise immunity and robustness. TABLE VI <u>DIAGNOSTIC ACCURACY OF THE MODELS WITH DIFFERENT SNRS (%)</u> SNR (dB) Model Raw -5 -3 -1 1 3 <u>signal</u> CNN 79.89 82.46 86.32 89.53 92.02 98.74 CNN+Transformer 90.27 92.31 93.79 95.64 97.21 99.49 DRSN 95.55 96.97 98.36 99.02 99.64 99.89 1DDRSN+ 96.39 97.32 98.04 99.35 99.74 99.94 Transformer <u>Proposed</u> <u>98.33</u> <u>99.14</u> <u>99.62</u> <u>99.78</u> <u>99.83</u> <u>99.99</u> Fig. 10 demonstrates the model's ability to recognize each fault type with SNR = -5 dB. Fig. 10 shows that the different models achieve perfect prediction for both bearing normal condition and inner ring faults, but all of them misidentify rolling body faults to different degrees. Among them, this paper's method has the lowest degree of misidentification of rolling bodies, and only 5 out of 90 samples are misidentified. This clearly demonstrates that this paper's method is superior to other models in recognizing different faults under strong noise, which further validates the superiority of this paper's method. The recognition results of the fault states are visualized, resulting in Fig. 11. From Fig. 11, it is evident that the DRSN exhibits a certain degree of mixing in distinguishing outer ring faults and rolling body faults, indicating poorer distinguishability compared to the method proposed in this paper. On the other hand, the method proposed in this paper demonstrates better recognition results for different fault characteristics, leading to more accurate classification and superior performance. (a) CNN-Transformer (b) DRSN (c) 1DDRSN-Transformer (d) The proposed method FIGURE 10. Classification confusion matrix for each method at SNR = -5 dB (a) CNN (b) DRSN (c) 1DDRSN-Transformer (d) The proposed method FIGURE 11. Visualization of models output at SNR = -5 dB IV. CONCILUSION [3] B. Hou, D. Wang, Z. Peng _et al_ ., “Difference mode decomposition for In this paper, a bearing fault diagnosis method based on adaptive signal decomposition,” _Mechanical Systems and Signal_ _Processing_ 191 (2023): 110203. DRSN-Transformer is proposed for the current problem of [4] X. Liu, Y. Lei _et al_ ., “RUL prediction of machinery using insufficient feature learning ability of traditional deep learning convolutional-vector fusion network through multi-feature dynamic neural network for rolling bearings in strong noise interference. weighting,” _Mechanical Systems and Signal Processing_ 109788. The method obtains noisy bearing vibration signals by adding [5] Q. Li, “A comprehensive survey of sparse regularization: Gaussian white noise with different SNRs to the original Fundamental, state-of-the-art methodologies and applications on vibration signals, and then performs continuous wavelet fault diagnosis,” _Expert Systems with Applications_ (2023): 120517. transform to obtain wavelet time-frequency maps of the noisy [6] Y. G. Lei _et al_ ., "Condition monitoring and fault diagnosis of planetary gearboxes: A review." _Measurement_ 48 (2014): 292-305. vibration signals, which are used as the samples after [7] Q. Li, “New sparse regularization approach for extracting transient preprocessing. Then, the 2D-RSBU and the Transformer impulses from fault vibration signal of Encoder module are stacked, and the redundant noise is machinery,” _Mechanical Systems and Signal Processing_ 111101. removed by DRSN. Multi-head attention mechanism of the [8] H. Bai, X. Zhan _et al_ ., “Research on diesel engine fault diagnosis Encoder module focuses on different important information method based on stacked sparse autoencoder and support vector on multiple subspaces, which improves the feature extraction machine,” _Electronics_ 11.14 (2022): 2249. [9] X. Bi, J. Lin, D. Tang _et al_ ., “VMD-KFCM algorithm for the fault ability of the model. In experiments 1 and 2, the diagnostic diagnosis of diesel engine vibration signals,” _Energies_ 13.1 (2020): accuracy of this paper's method in different noise 228. environments can reach more than 98%, which fully verifies [10] K. Zhao, S. Wu, and T. Li, “A study on method of rolling bearing fault that this paper's method can still maintain a strong feature diagnosis based on Inception-BLSTM,” _J. Vib. Shock_ 40 (2021): 290 297. extraction capability in a high noise background, with high [11] S. Tang _et al_ ., “Improved deep residual shrinkage network used for noise immunity and robustness, and the method is more bearing fault diagnosis,” _Journal of vibration and shock_ accurate than the other models. It provides a certain reference (18):217224+285, DOI:10.13465/j.cnki.jvs.2023.18.024. [12] L. Eren, T. Ince, and S. Kiranyaz, “A generic intelligent bearing fault for the fault diagnosis of rotating parts of CNC machine tools diagnosis system using compact adaptive 1D CNN classifier,” under strong noise environment. _of Signal Processing Systems_ 91.2 (2019): 179-189. REFERENCES [1] Z. J. Yang _et al_ ., “Reliability assessment of the spindle systems with a competing risk model,” _Proceedings of the Institution of_ _Mechanical_ _Engineers,_ Part O: Journal of Risk and Reliability 233.2 (2019): 226234. [2] Y. Xu _et al_ ., “Global contextual residual convolutional neural networks for motor fault diagnosis under variable-speed conditions,” _Reliability Engineering & System Safety_ 225 (2022): 108618. [3] B. Hou, D. Wang, Z. Peng _et al_ ., “Difference mode decomposition for adaptive signal decomposition,” _Mechanical Systems and Signal_ _Processing_ 191 (2023): 110203. [4] X. Liu, Y. Lei _et al_ ., “RUL prediction of machinery using convolutional-vector fusion network through multi-feature dynamic weighting,” _Mechanical Systems and Signal Processing_ 185 (2023): 109788. [5] Q. Li, “A comprehensive survey of sparse regularization: Fundamental, state-of-the-art methodologies and applications on fault diagnosis,” _Expert Systems with Applications_ (2023): 120517. [6] Y. G. Lei _et al_ ., "Condition monitoring and fault diagnosis of planetary gearboxes: A review." _Measurement_ 48 (2014): 292-305. [7] Q. Li, “New sparse regularization approach for extracting transient impulses from fault vibration signal of rotating machinery,” _Mechanical Systems and Signal Processing_ 209 (2024): 111101. [8] H. Bai, X. Zhan _et al_ ., “Research on diesel engine fault diagnosis method based on stacked sparse autoencoder and support vector machine,” _Electronics_ 11.14 (2022): 2249. [9] X. Bi, J. Lin, D. Tang _et al_ ., “VMD-KFCM algorithm for the fault diagnosis of diesel engine vibration signals,” _Energies_ 13.1 (2020): 228. [10] K. Zhao, S. Wu, and T. Li, “A study on method of rolling bearing fault diagnosis based on Inception-BLSTM,” _J. Vib. Shock_ 40 (2021): 290297. [11] S. Tang _et al_ ., “Improved deep residual shrinkage network used for bearing fault diagnosis,” _Journal of vibration and shock_ . 2023, 42 (18):217224+285, DOI:10.13465/j.cnki.jvs.2023.18.024. [12] L. Eren, T. Ince, and S. Kiranyaz, “A generic intelligent bearing fault diagnosis system using compact adaptive 1D CNN classifier,” _Journal_ _of Signal Processing Systems_ 91.2 (2019): 179-189. [13] W. F. Gong _et al_ ., “A novel deep learning method for intelligent fault diagnosis of rotating machinery based on improved CNN-SVM and multichannel data fusion,” _Sensors_ 19.7 (2019): 1693. [14] L. F. Gou _et al_ ., “Aeroengine control system sensor fault diagnosis based on CWT and CNN,” _Mathematical_ _Problems_ _in_ _Engineering_ 2020 (2020). [15] M. Hakim _et al_ ., “A systematic review of rolling bearing fault diagnoses based on deep learning and transfer learning: Taxonomy, overview, application, open challenges, weaknesses and recommendations,” _Ain Shams Engineering Journal_ 14.4 (2023): 101945. [16] K. M. He _et al_ ., “Deep residual learning for image recognition,” _Proceedings of the IEEE conference on computer vision and pattern_ _recognition_ . 2016. [17] K. Zhang _et al.,_ “A hybrid attention improved ResNet based fault diagnosis method of wind turbines gearbox,” _Measurement_ 179 (2021): 109491. [18] L. Wen, X. Li, and L. Gao, “A transfer convolutional neural network for fault diagnosis based on ResNet-50,” _Neural Computing and_ _Applications_ 32.10 (2020): 6111-6124. [19] M. H. Zhao _et al_ ., “Deep residual shrinkage networks for fault diagnosis,” _IEEE Transactions on Industrial Informatics_ 16.7 (2019): 4681-4690. [20] Z. Zhang, H. Li, L. Chen, and P Han, “Rolling bearing fault diagnosis using improved deep residual shrinkage networks,” _Shock and_ _Vibration_ 2021 (2021): 1-11. [21] X. Zhang, S. Wei, J. Huang, and L. Jia, “Multi-scale deep residual shrinkage networks with a hybrid attention mechanism for rolling bearing fault diagnosis,” (2023). [22] H. D. Shao _et al_ ., “A novel method for intelligent fault diagnosis of rolling bearings using ensemble deep auto-encoders,” _Mechanical_ _Systems and Signal Processing_ 102 (2018): 278-297. [23] L. H. Yuan _et al_ ., “Rolling bearing fault diagnosis based on convolutional neural network and support vector machine,” _IEEE_ _Access_ 8 (2020): 137395-137406. [24] J. M. Li _et al_ ., “Multiscale local features learning based on BP neural network for rolling bearing intelligent fault diagnosis,” _Measurement_ 153 (2020): 107419. [25] D. K. B. Kulevome _et al_ ., “Effective time-series Data Augmentation with Analytic Wavelets for bearing fault diagnosis,” _Expert Systems_ _with Applications_ 249 (2024): 123536. XIAOXU LI was born in Changchun, Jilin province, in 1989. She received the B.E. degree in Northeast Electric Power University, Jilin, China, in 2012, M.E. degree in Zhejiang Normal University, Zhejiang, China 2015, and Ph.D. degree in mechanical engineering from Jilin University, Jilin, China, in 2019. She has been a lecturer with the School of Mechanical and Vehicle Engineering, Changchun University, Jilin Province, China since 2019. Her research interest includes reliability analysis and fault diagnose of electromechanical equipment. JIAMING CHEN was born in Anqing, Anhui province, China in 1999. He received the B.E. degree in Mechanical Design and Manufacturing and Automation from Anhui Institute of Information Engineering in 2021. He is currently pursuing the M.E. degree in Mechatronics Engineering at Changchun University. His research interest is intelligent fault diagnose of electromechanical equipment. JIAHAO WANG was born in 2000 in Luoyang, Hennan province, China. He received the B.S. degree in Mechanical Design Manufacturing and Automation from Henan University of Science and Technology in Henan Province in 2023. He is currently pursuing the M.E. degree in mechanical engineering at Changchun University in Changchun, Jilin Province, China. His research interests include bearing diagnosis based on transfer learning, and system reliability. JIANQIANG WANG was born in 1997 in Zibo, Shandong Province, China. He received the B.S. degree in Mechanical Design Manufacturing and Automation from Qingdao University of Science and Technology in Shandong Province in 2021. He is currently pursuing the M.E. degree in mechanical engineering at Changchun University, Changchun, Jilin, China. His research interests include reliability engineering, green energy and wind turbine blades. XIAOTAO LI was born in Changchun, Jilin province, in 1980. She received the B.E. degree, M.E. degree, and Ph.D. degree in mechanical engineering from Jilin University, Jilin, China, in 2010. She is currently a Professor with Jilin University. Her research interest includes piezoelectric precision actuation and vision-based measurement. YINGNAN KAN was born in Changchun, Jilin Province, China in 1985. He received the B.S., M.S. and Ph.D. degrees in mechanical engineering from Jilin University, Jilin Province, China, in 2007, 2009 and 2015 respectively. From 2015 to 2020, he was a lecturer with the School of Civil Engineering, Jilin Jianzhu University, Jilin Province, China. Since 2020, he has been a lecturer with the School of Mechanical and Vehicle Engineering, Changchun University, Jilin Province, China. His research fields and interests include reliability engineering, wind and solar energies.

섹션 본문 56문단 · 27,529자

(제목 없음)

1A CNC machine tool is an industry mother machine in manufacturing industry.As its key rotating part, bearings in the spindle system of machine tools usually suffer great noise during operation.This paper puts forward a method based on DRSN-Transformer algorithm which can diagnose rolling bearing faults accurately under conditions with high noise.Firstly, we add Gaussian white noise of different signal-tonoise ratios (SNRs) into the original vibration signal, and continuous wavelet transform (CWT) is performed to the vibration signal with noise to construct wavelet time-frequency map.Then, the soft threshold module in the deep residual shrinkage networks (DRSN) can achieve the better effect of noise reduction.And the multi-head attention in the Transformer can pay attention to the important features on different subspaces, so as to enhance the overall feature extraction ability of the model.Finally, the output of the classification module is utilized to obtain the fault diagnosis results.The experimental results show that the proposed method can reach the accuracy of at least 98% under different SNRs condition, which fully verifies the method proposed in this paper can still obtain higher accuracy in strong noise environments.The method in this paper provides a certain reference for fault diagnosis for the spindle system for machine tools.

I. INTRODUCTION

2The spindle system of machine tools is a complex electromechanical liquid system, which directly affects the machining accuracy of the CNC machine tool.Especially in serious cases, it will lead to downtime, and resulting in economic losses [1].As key components of CNC machine tools, bearings of the spindle system operate under a disturbing environment with high speed, high noise, and high failure rate.To ensure the safe operation, real time condition detection and fault diagnosis are needed [2], [3], [4].

3In industry, vibration data-based fault diagnosis of mechanical systems is widely used [5].Traditional fault diagnosis methods are achieved by signal processing method

4The associate editor coordinating the review of this manuscript and approving it for publication was Guillermo Valencia-Palomo .and machine learning method, which detect vibration components and extract characteristic frequencies associated with faults [6].Li [7] proposed a smooth sparse low-rank matrix (SSLRM) method based on asymmetric singular value decomposition (SVD) penalized regularization to suppress the interference of redundant information in order to overcome the problem that early weak fault pulses are easily overwhelmed by strong noise.Bai et al. [8] built stacked sparse autoencoders (SSAE) by stacking sparse autoencoders, and combined them with support vector machine (SVM) to reduce the feature dimensions of vibration signals for less computational burden.Bi et al. [9] proposed a method based on variational mode decomposition (VMD) and kernel-based fuzzy c-means clustering (KFCM) with advantages in accuracy, simplicity, and efficiency for diesel engine.However, traditional fault diagnosis methods based on signal processing and machine learning require manual extraction of vibration signals, which relies heavily on prior knowledge and expertise [10].In addition, SVMs occupy a large amount of memory when dealing with large-scale data and are difficult to deal with multiclass problems.Similarly, VMD has a high computational complexity and is prone to performance bottlenecks when dealing with large amounts of data [11].

5In recent years, with the development of artificial intelligence technology, bearing fault diagnosis based on deep learning has become a research hotspot.Convolutional neural networks (CNNs) are widely applied in the field of fault diagnosis due to their powerful feature mapping ability that can automatically learn fault features [12].Gong et al. [13] proposed an improved CNN model architecture, which introduced a global average pooling layer to replace the fully connected layer in the CNN model and adopted a nonlinear SVM instead of the Softmax function.This change effectively reduces the number of parameters and computation time of the CNN model.It also improves the classification accuracy.Guo et al. [14] combined CNN with time-frequency analysis, converting one-dimensional time-series signals into images, and used the CNN to extract the features of time-frequency maps.

6CNNs avoid the hassle of manually designing features, and the model is able to automatically learn useful features from samples.Usually, CNNs are used to improve the performance of the model by increasing the depth of the network [15].However, as the network deepens, the accuracy of the model may decrease instead, which is because a deeper network hinders the propagation of gradients, making it difficult to update the parameters.For this reason, He et al. [16] proposed deep residual network (ResNet), which avoids gradient vanishing and exploding by residual connections to continuously optimize the parameters.On this basis, Zhang et al. [17] improved ResNet by incorporating hybrid attention and applied it to fault diagnosis of wind turbine gearboxes.Wen et al. [18] combined ResNet with transfer learning and achieved good performance.Although these models yield promising diagnostic results, the vibration signals collected in real industrial settings (e.g., CNC machine tools, wind turbines) often contain significant amounts of noise, which can obscure fault features and reduce the efficacy of the model's feature learning.To address this problem, Zhao et al. [19] developed a deep residual shrinkage network (DRSN) based on residual networks, which is designed for fault diagnosis in noisy environments.Zhang et al. [20] proposed an improved version of DRSN by replacing soft thresholding with leaky thresholding, thereby enhancing the model's performance.Zhang et al. [21] introduced spatial domain attention into DRSN to capture the spatial dependencies of the feature map, thus constructing a hybrid attention mechanism that considers multiple channels.The enhanced DRSN has demonstrated improved diagnostic accuracy across various noise environments.

7Although the aforementioned enhanced DRSNs have exhibited commendable performance across diverse noise environments, the model grapples with an inadequacy in its capacity to effectively learn features when confronted with characteristic samples laden with intense noise.Addressing the challenge head-on, this paper proposes a method for rolling bearing fault diagnosis founded upon the DRSN-Transformer framework, which introduces the Encoder module from the Transformer to enhance the feature extraction ability of the model in strong noise environments, thus facilitating precision diagnostics across a spectrum of noise levels.

8To begin with, Gaussian white noise characterized by varying signal-to-noise ratios (SNRs) is introduced into the native vibration signal.Subsequently, a continuous wavelet transform is applied to the noise-laden vibration signal to yield wavelet time-frequency maps.These samples are then fed into the DRSN-Transformer model, where the soft thresholding module within the DRSN orchestrates automatic denoising.Then the self-attention mechanism in the Encoder module is able to automatically pay attention to important features, and the multi-head attention mechanism in the Encoder module can pay attention to the relationship between different features, thus enhancing the model's overall feature extraction capability.Finally, the efficacy of the proposed method is validated on the Case Western Reserve University (CWRU) bearing dataset and the laboratory bearing dataset, and the experimental results show that the method proposed in this paper can realize high-precision diagnosis with good robustness and accuracy in strong noise environments.

II. RELEVANT THEORIES A. CONTINUOUS WAVELET TRANSFORM

9The wavelet transform is a signal processing technique used to analyze the frequency characteristics and time characteristics of signals and is capable of analyzing bearing vibration signals on different scales.It obtains spectral information about a signal at different scales and locations by convolving the signal with a set of wavelet basis functions.The wavelet basis functions are defined as:

10The continuous wavelet transform is defined as:

11where a, b are continuously varying parameters, a is the scale parameter, b is the translation parameter, ψ * (t) and the wavelet basis function ψ(t) are conjugate complex numbers to each other.When performing continuous wavelet transform, the choice of wavelet basis function is crucial for the accuracy of signal feature extraction.The common wavelet basis functions are Morlet, Db10, Coif5, Meyer, among which Morlet wavelet basis function has good smoothness, symmetry and modulation, which can locate the fault frequency and time domain location on the time-frequency scale, and performs better in bearing fault diagnosis.Therefore, Morlet is chosen as the wavelet basis function in this paper.Morlet wavelet basis function expression is shown below.

12where t is the time variable; ω 0 is the corner frequency parameter, which controls the frequency of the waveform; j is the imaginary unit.

B. DEEP RESIDUAL SHINKAGE NETWORK(DRSN)

13DRSN consists of a stack of multiple residual shrinkage building units (RSBUs), which integrate a soft threshold function and an attention mechanism.It is a feature learning method for strongly noisy or highly redundant data.DRSN automatically learns a set of thresholds by embedding a subnetwork into the residual network, and the soft threshold function is able to adaptively remove the noise and redundant information in the signals, thus enhancing the model feature learning capability.

14The soft threshold function is a core step in many signal noise reduction algorithms, which removes features smaller than the threshold and shrinks the features with absolute values of the signal larger than the threshold in the direction of zero.The expression for the soft threshold function is as follows.

15where x is the input feature and y is the output feature; τ denotes the threshold value and is a positive parameter.1, the sub-network and soft thresholding modules are integrated in RSBU.In the sub-network, all the input features are firstly evaluated for their absolute values, and then pass through global average pooling to obtain the feature Z .In the other path, the input features go through two fully connected layers and then go through the output of the sigmoid function to obtain the scaling parameter a, which ranges between 0 and 1.

16where k c is the feature of the cth channel output from the last fully connected layer and a c is the scaling parameter of the cth channel.The threshold is calculated as follows.

17where τ c is the threshold of the cth channel of the feature map and Z is the output feature of the convolutional layer.However, the noise content of each sample in the sample set input to the network model is different, while RSBU can automatically learn a set of thresholds based on the input samples.Each sample has its own independent threshold based on its own noise content to eliminate the information related to noise.

18In this paper, the bearing vibration signal is converted into a two-dimensional time-frequency map through continuous wavelet transform as the input sample, while the RSBU is designed for one-dimensional time series signal at the beginning.In order to adapt to the input samples, we change the one-dimensional convolution in RSBU to two-dimensional convolution and name it 2D-RSBU, the specific structure is shown in Fig. 2. The final output is passed to the next layer of the network through the relu function, which is added in order to improve the computational efficiency and accelerate the training process.great success in NLP.This paper mainly uses encoder block to build the model.The concrete structure is shown in Fig. 3 (a).The encoder is mainly composed of multi-head attention mechanism and feed-forward neural network.

1) POSITIONAL ENCODING

19The essence of the Transformer lies in its attention mechanism.However, it is noteworthy that the attention mechanism lacks inherent positional information.In response to this problem, an auxiliary positional tensor, known as positional encoding, is introduced.This positional encoding, possessing dimensions identical to those of the embedding, empowers the model to discern and prioritize information according to its position within the sequence.

20where k is the position of the input feature sample, i is the dimension of the input feature, d is the dimension of the position vector.

2) MULTI-HEAD ATTENTION

21Multi-head attention consists of a stack of multiple scaled dot-product attention layers operating in parallel, and its basic structure is shown in Fig. 3(b).Scaled dot product attention is a commonly used attention mechanism with the structure shown in Fig. 3(c), which assigns weights to characterize the importance of the information by calculating the similarity of the input feature sequences.First, the input feature sequence Z is multiplied by different weight matrices W q , W k , and W v respectively to get queries Q, keys K , and values V .Then the dot product of Q and K is computed and divided by the scaling factor to avoid the problem of gradient vanishing and gradient exploding in the computation of softmax function.Finally, the product of the attention weights and values V is computed to get the weighted summed output feature sequence.The calculation process is as follows.

22where W q , W k , W v are the weight matrices corresponding to Q, K , and V , respectively, which are learned from the input feature sequence Z; d k is the dimension of the hidden layer.

23The multi-head attention projects the input sequence into h subspaces, calculates the attention values of the input sequence separately, and then splices the results of the h groups and then performs a linear transformation to get the final output.

24where W is the weight matrix of multiple attention heads, W q i , W k i , W v i are the Q, K , V weight matrices of the ith attention head respectively.

D. THE METHOD PROPOSED IN THIS PAPER

25Spindle bearings of CNC machine tools usually work in a strong noise environment, and the traditional model has poor feature learning ability when facing samples containing strong noise, resulting in faults that are difficult to be accurately recognized.To address this problem, this paper proposes a bearing fault diagnosis method based on DRSN-Transformer, and the specific flow is shown in Fig. 4.

26The specific steps are as follows:

27•

III. EXPERIMENTAL VALIDATION AND ANALYSIS A. PARAMETER SETTINGS

28For the experiments, all the programs in this paper run on a computer with Intel CORE i7-12700H processor, NVIDIA GTX 3070 GPU graphics card, implemented with Python 3.9 as the programming language and PyTorch 1.13 deep learning framework.In the training phase, the learning rate (lr) is set to 0.001, the Batch size is 96, and the optimization algorithm used is Adam.The detailed parameter settings of the model are shown in Table 1.

29In Table 1, the second column indicates the output sizes of the different layers in the format of channels × width × sheight.The first number in the parentheses of the third column indicates the number of channels, the middle number indicates the size of the convolution kernel, and the last one indicates the step size of the convolution operation.The term ''num_classes'' denotes the number of neurons in the FC layer, which corresponds to the fault labeling of the number.In Experiment 1 using the CWRU bearing dataset, the number of neurons in the FC is 10.Experiment 2 uses the lab self-test bearing dataset, thus the FC has 4 neurons.The number of heads for the multi-head attention mechanism in Encoder is set to 4.

B. 1: VALIDATION OF BEARING FAILURE DATA AT CWRU 1) INTRODUCTION TO THE DATASET

30The CWRU bearing failure dataset was sampled at frequencies of 12 kHz and 48 kHz.The SKF6205-2RSJEM test bearing model was subjected to a singular point of failure introduced via Electrical Discharge Machining (EDM) technology.The detected types of bearing defects include rolling element damage, outer ring damage, and inner ring damage, with each defect type encompassing three distinct damage diameters: 0.1778 mm, 0.3556 mm, and 0.5334 mm.In this paper, the vibration signals of rolling bearings at the DE end with a sampling frequency of 12kHZ and a rotational speed of 1730 r/min are selected to produce a dataset containing 10 health states: Rolling body faults with fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm (labeled BA_1, BA_2, and BA_3, respectively), inner ring faults with fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm (labeled IR_1, IR_2, and IR_3, respectively), and fault diameters of 0.1778 mm, 0.3556 mm, and 0.5334 mm for outer ring faults (labeled OR_1, OR_2, and OR_3, respectively).

31Three hundred samples are randomly selected from each type of bearing fault data, resulting in a total of 3,000 samples across 10 fault states.Each sample comprises 2,048 sampling points.By partitioning the dataset into training and validation sets with a ratio of 7:3, we obtain 2,100 training samples and 900 validation samples.The details of experiment 1 dataset are provided in Table 2.

32In order to study the influence of noise signals on the diagnostic effect of the model, the Gaussian white noise with different SNRs is added to the original vibration signal firstly, and then the continuous wavelet transform is performed on the noise-containing vibration signals to generate two-dimensional color wavelet time-frequency maps, meanwhile, in order to avoid the influence on the classification results, the legend and coordinate system are set to be not displayed, and finally, the mesh-normalized compression is carried out on the pictures to generate the 128 × 128 × 3 pixel format.Fig. 5 shows the wavelet time-frequency plots for each health state when the SNR of −5 dB.As can be seen from Fig. 5, there is a large amount of noise in the image, which is randomly and irregularly distributed in dots and spreads, leading to confusion and blurring of the local features of the image, masking the true characteristics of the fault signal and making it difficult to accurately identify the fault mode, which is a major challenge to the feature extraction capability of the model.

2) ANALYSIS OF THE RESULTS OF EXPERIMENT 1

33According to the experimental results, Table 3 is obtained, and the accuracy of the model diagnosis under different SNRs is obtained.As can be seen from Table 3, the diagnostic accuracy of each method decreases as the degree of noise interference increases, indicating the high noise immunity requirements of the model.For example, with a SNR of −5 dB, the diagnostic accuracy of this paper's model is improved by 2.66% compared with DRSN, and at the same time, it is improved by 0.88% compared with the 1DDRSN-Transformer model that does not use CWT, and the method of this paper is able to accurately identify the bearing faults under different noise levels, which fully demonstrates that the model of this paper has better stability and noise resistance performance.

34Comparing the diagnostic accuracies of CNN, CNN-Transformer, DRSN, and 1DDRSN-Transformer (Input is raw signal.)at the same SNR, it can be seen that the multi-head attentional mechanism in the Transformer is able to process different locations or features in the input data in parallel by using multiple attentional heads, which improves the feature learning of the network in the presence of noise and enhances the robustness of the network.ability and enhances the robustness of the network.Additionally, comparing 1DDRSN-Transformer and the proposed method in this paper, it can be found that the use of CWT has a better effect on network noise tolerance.Comparing to other advanced methods, the experimental results are shown in Table 4.As can be seen from Table 4, the diagnostic accuracy of this paper's method reaches 99.99% without artificially added noise, which is improved to a different degree than all other methods, fully verifying the superiority of this paper's method in the field of bearing fault diagnosis.Fig. 6 demonstrates the confusion matrix of the identification results of the different methods for each health state of the bearings in the case of SNR = −5 dB, where the predicted labels are the model-predicted health state categories of the bearings, and the true labels are the true health states of the bearings.From Fig. 6 (b), it can be seen that DRSN achieves perfect prediction for the faults labeled 0, 4, 5, and 6 (corresponding to Normal, IR_1, IR_2, and IR_3, respectively), and all 90 samples are correctly predicted.Other faults are misclassified to varying degrees, with the highest misprediction for the fault labeled 7 (OR_1), and 15 of the 90 samples are misclassified as OR_3.From Fig. 6 (d), it can be seen that the method proposed in this paper has relatively high accuracy in identifying these 10 types of faults, especially for the faults labeled 0, 2, 3, 4, 6, 7, and 9 (corresponding to Normal, BA_2, BA_3, IR_1, IR_3, OR_1, and OR_3, respectively) reached 100% accuracy in fault recognition.Comparing with other methods, the method in this paper achieves the highest accuracy and the lowest misclassification rate for all types of fault identification, which indicates that the method proposed in this paper is able to realize high-precision diagnosis in a strong noise environment and has good robustness.Fig. 7 illustrates the t-SNE visualization of the models at SNR = −5 dB, from which it can be seen that this paper's method is more effective in clustering the fault features for different health states of the bearings, and the classification is more accurate.In order to further validate the proposed method of the noise resistance and stability in a strong noise background, the bearing vibration data collected in the laboratory bearing failure experimental bench, the structure of the experimental bench as shown in Fig. 8. SKF6007 deep groove ball bearings are selected, and a single point of failure is set by EDM technology, and the types of failure include inner ring failure (IF), rolling element failure (BF), outer ring failure (OF), and NF indicates the normal state.At the beginning of the experiment, the motor speed was set to 1000 r/min on the console, and the bearing vibration data was measured when the radial loading was 1000N, and the sampling frequency was set to 20 kHZ.300 samples are set for each fault category, of which 210 samples are used for training and 90 samples are used for testing.Therefore, the dataset contains a total of 1200 samples, of which 840 samples are used for training and 360 samples are used for testing, and each sample contains 2048 data points.The information of the Experiment 2 dataset is shown in Table 5. Gaussian white noise with different SNRs is added to the original vibration signals, and then the continuous wavelet transform is performed on the vibration signals containing noise to generate two-dimensional wavelet time-frequency maps.In order to avoid the influence on the classification results, set coordinate system and legend are not displayed.Finally, the images are compressed by grid normalization, and the image size is uniformly adjusted to 128 × 128 × 3. The wavelet time-frequency diagrams of each fault state of the bearing with a SNR of −5 dB are shown in Fig. 9.There is a large amount of noise in the image which cover some of the real features.

2) ANALYSIS OF THE RESULTS OF EXPERIMENT 2

35Comparison experiments are conducted between other models and this paper's method to obtain the accuracy of model diagnosis under different SNRs.As shown in Table 6, where ''Raw signal'' indicates the original data without artificial added noise.From Table 6, it can be seen that with the decrease of SNR, the diagnostic accuracy of different models decreases faster compared with the method proposed in this paper, among which the CNN model is most affected by noise.In the case of an SNR = −5 dB, the diagnostic accuracy of the DRSN model decreases relative to the case of raw signal input by 4.34%, and the 1DDRSN-Transformer model decreases by 3.55%, while the method proposed in this paper decreases by only 1.66%, which further verifies that the model in this paper has a stronger noise immunity and robustness.

36Fig. 10 demonstrates the model's ability to recognize each fault type with SNR = −5 dB.Fig. 10 shows that the different models achieve perfect prediction for both bearing normal condition and inner ring faults, but all of them misidentify rolling body faults to different degrees.Among them, this 74592 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.paper's method has the lowest degree of misidentification of rolling bodies, and only 5 out of 90 samples are misidentified.This clearly demonstrates that this paper's method is superior to other models in recognizing different faults under strong noise, which further validates the superiority of this paper's method.

37The recognition results of the fault states are visualized, resulting in Fig. 11.From Fig. 11, it is evident that the DRSN exhibits a certain degree of mixing in distinguishing outer ring faults and rolling body faults, indicating poorer distinguishability compared to the method proposed in this paper.On the other hand, the method proposed in this paper demonstrates better recognition for different fault characteristics, leading more accurate classification and superior performance.

FIGURE 1 .

38FIGURE 1.The structure of RSBU.

Fig. 1

39Fig.1illustrates the structure of RSBU.As shown in Fig.1, the sub-network and soft thresholding modules are integrated in RSBU.In the sub-network, all the input features are firstly

FIGURE 2 .

40FIGURE 2. 2D-RSBU structure.

FIGURE 3 .

41FIGURE 3. (a) Structure of the encoder.(b) Structure of the multi-head attention.(c) scaled dot-product attention.

Step 1 :• Step 2 :• Step 3 :• Step 4 :• Step 5 :

42Acquire rolling bearing fault vibration signals and divide the training set and test set; Add Gaussian noise with different SNRs to the original vibration signal and perform a continuous wavelet transform on the noise-containing vibration signal to generate wavelet time-frequency maps as input samples; Construct a bearing fault diagnosis model based on DRSN-Transformer, set the parameters, use DRSN to remove the redundant noise and reduce the noise interference, and the multi-head attention mechanism in the Encoder module focuses on different important information on multiple subspaces; By inputting data successively, the model is trained to shrinkage errors between prediction label and true label for better trained model; Validate the method of this paper by using the CWRU bearing dataset and the data measured by the laboratory bearing failure test bench, and output the classification results through the fully connected layer to complete the rolling bearing fault diagnosis under the strong noise background.

FIGURE 4 .

43FIGURE 4. Flowchart of DRSN-Transformer based fault diagnosis methodology.

FIGURE 5 .

44FIGURE 5. Wavelet time-frequency plots for 10 health states when SNR = -5 dB.

C. EXPERIMENT 2 :

45LABORATORY BEARING DATASET VALIDATION 1) INTRODUCTION TO THE DATASET

FIGURE 6 .

46FIGURE 6. Classification confusion matrix for each method at SNR = −5 dB.

FIGURE 7 .

47FIGURE 7. Visualization of models output at SNR = −5 dB.

FIGURE 8 .TABLE 6 .

48FIGURE 8. Bearing test bench.

FIGURE 9 .

49FIGURE 9. Wavelet time-frequency plots for four health states when SNR is −5 dB.

FIGURE 10 .

50FIGURE 10.Classification confusion matrix for each method at SNR = −5 dB.

FIGURE 11 .

51FIGURE 11.Visualization of models output at SNR = −5 dB.

TABLE 1 .

52Network structure parameter setting of the proposed method.

TABLE 2 .

53Bearing data set of experiment 1.

TABLE 3 .

54Diagnostic accuracy of each model with different SNRs (%).

TABLE 4 .

55Comparison of diagnostic accuracy of existing methods (CWRU bearing dataset).

TABLE 5 .

56Experiment 2 bearing data set.

참고문헌 23건

  1. Condition monitoring and fault diagnosis of planetary gearboxes: A review Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.11.012
  2. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  3. A novel method for intelligent fault diagnosis of rolling bearings using ensemble deep auto-encoders Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.09.026
  4. Reliability assessment of the spindle systems with a competing risk model Proceedings of the Institution of Mechanical Engineers Part O Journal of Risk and Reliability · SAGE Publishing · 2018 10.1177/1748006x18770343
  5. A Generic Intelligent Bearing Fault Diagnosis System Using Compact Adaptive 1D CNN Classifier Journal of Signal Processing Systems · Springer Science+Business Media · 2018 10.1007/s11265-018-1378-3
  6. A transfer convolutional neural network for fault diagnosis based on ResNet-50 Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04097-w
  7. A Novel Deep Learning Method for Intelligent Fault Diagnosis of Rotating Machinery Based on Improved CNN-SVM and Multichannel Data Fusion Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19071693
  8. Deep Residual Shrinkage Networks for Fault Diagnosis IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2943898
  9. Multiscale local features learning based on BP neural network for rolling bearing intelligent fault diagnosis Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107419
  10. VMD-KFCM Algorithm for the Fault Diagnosis of Diesel Engine Vibration Signals Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13010228
  11. Aeroengine Control System Sensor Fault Diagnosis Based on CWT and CNN Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2020 10.1155/2020/5357146
  12. Rolling Bearing Fault Diagnosis Based on Convolutional Neural Network and Support Vector Machine IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3012053
  13. A hybrid attention improved ResNet based fault diagnosis method of wind turbines gearbox Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.109491
  14. Rolling Bearing Fault Diagnosis Using Improved Deep Residual Shrinkage Networks Shock and Vibration · Hindawi Publishing Corporation · 2021 10.1155/2021/9942249
  15. Global contextual residual convolutional neural networks for motor fault diagnosis under variable-speed conditions Reliability Engineering & System Safety · Elsevier BV · 2022 10.1016/j.ress.2022.108618
  16. Research on Diesel Engine Fault Diagnosis Method Based on Stacked Sparse Autoencoder and Support Vector Machine Electronics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/electronics11142249
  17. A systematic review of rolling bearing fault diagnoses based on deep learning and transfer learning: Taxonomy, overview, application, open challenges, weaknesses and recommendations Ain Shams Engineering Journal · Elsevier BV · 2022 10.1016/j.asej.2022.101945
  18. RUL prediction of machinery using convolutional-vector fusion network through multi-feature dynamic weighting Mechanical Systems and Signal Processing · Elsevier BV · 2022 10.1016/j.ymssp.2022.109788
  19. Difference mode decomposition for adaptive signal decomposition Mechanical Systems and Signal Processing · Elsevier BV · 2023 10.1016/j.ymssp.2023.110203
  20. A comprehensive survey of sparse regularization: Fundamental, state-of-the-art methodologies and applications on fault diagnosis Expert Systems with Applications · Elsevier BV · 2023 10.1016/j.eswa.2023.120517
  21. New sparse regularization approach for extracting transient impulses from fault vibration signal of rotating machinery Mechanical Systems and Signal Processing · Elsevier BV · 2024 10.1016/j.ymssp.2023.111101
  22. Effective time-series Data Augmentation with Analytic Wavelets for bearing fault diagnosis Expert Systems with Applications · Elsevier BV · 2024 10.1016/j.eswa.2024.123536
  23. Multi-scale deep residual shrinkage networks with a hybrid attention mechanism for rolling bearing fault diagnosis Journal of Instrumentation · Institute of Physics · 2024 10.1088/1748-0221/19/05/p05015