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

Fault Diagnosis Method for Bearing Based on Attention Mechanism and Multi-Scale Convolutional Neural Network

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. Qimin Shen — Jinzhong College of Information, No.8, Xueyuan Road, Jinzhong, CN
  2. Zengqiang Zhang — Taiyuan Institute of Technology, No.31, Xinlan Road, Taiyuan, CN
DOI
10.1109/access.2024.3357113
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
15
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3357113
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4391097125

평가 내용

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

초록

Convolutional neural networks (CNNs) serve as powerful feature extraction tools capable of effectively extracting information from complex environments, thus improving the accuracy of fault identification for bearing data. In this paper, we present a method for diagnosing bearing faults using an attention mechanism and a multi-scale convolutional neural network (MSCNN). Firstly, truncate and sample the rolling bearing data, and use continuous wavelet transform to generate corresponding time-frequency images, which will be used as inputs to the neural network. Next, the MSCNN, which includes efficient convolutional modules with residual structures, is utilized to extract features from the input data while maximizing the retention of valuable information. The extracted data then undergoes feature selection through the employment of an Efficient Convolutional Module (ECM) with channel attention. Finally, after being mapped through fully connected layers, the features are fed into a softmax layer for fault category prediction. In this study, the model results were tested and verified using the Case Western Reserve University (CWRU) dataset and the bearing dataset of Jiangnan University(JNU). A comparison was made with the LeNet model, ResNet model, LSTM model, and WDCNN model. The results showed that the classification accuracy of the ten types of bearing signals at the same speed can reach 100%, and the classification accuracy of the thirty types of bearing signals at different speeds can reach over 99.4%, significantly higher than the other models. The proposed method achieves the recognition of different fault states of rolling bearings under complex conditions, including multiple operating conditions and variable operating conditions. It is capable of extracting the global characteristic information of bearing faults, resulting in high diagnostic accuracy and good generalization ability. This method can provide reference for the diagnosis of rolling bearing faults under corresponding operating conditions.

본문 55,508자

본문 펼치기
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000. _Digital Object Identifier 10.1109/ACCESS.2022.Doi Number_ # Fault diagnosis method for bearing based on attention mechanism and multi-scale convolutional neural network Qimin Shen <sup>1</sup> , Zengqiang Zhang <sup>2</sup> 1. Jinzhong College of Information, No.8, Xueyuan Road. Jinzhong, CN 030800; 2. Taiyuan Institute of Technology, No.31, Xinlan Road, Taiyuan, CN 030008. [Corresponding author: Qimin Shen (ty2023ty@163.com)](mailto:ty2023ty@163.com) This work was supported by Shanxi Province Higher Education Teaching Reform and Innovation Project (J20221448) ABSTRACT Convolutional neural networks (CNNs) serve as powerful feature extraction tools capable of effectively extracting information from complex environments, thus improving the accuracy of fault identification for bearing data. In this paper, we present a method for diagnosing bearing faults using an attention mechanism and a multi-scale convolutional neural network (MSCNN). Firstly, truncate and sample the rolling bearing data, and use continuous wavelet transform to generate corresponding time-frequency images, which will be used as inputs to the neural network. Next, the MSCNN, which includes efficient convolutional modules with residual structures, is utilized to extract features from the input data while maximizing the retention of valuable information. The extracted data then undergoes feature selection through the employment of an Efficient Convolutional Module (ECM) with channel attention. Finally, after being mapped through fully connected layers, the features are fed into a softmax layer for fault category prediction. In this study, the model results were tested and verified using the Case Western Reserve University (CWRU) dataset and the bearing dataset of Jiangnan University(JNU). A comparison was made with the LeNet model, ResNet model, LSTM model, and WDCNN model. The results showed that the classification accuracy of the ten types of bearing signals at the same speed can reach 100%, and the classification accuracy of the thirty types of bearing signals at different speeds can reach over 99.4%, significantly higher than the other models. The proposed method achieves the recognition of different fault states of rolling bearings under complex conditions, including multiple operating conditions and variable operating conditions. It is capable of extracting the global characteristic information of bearing faults, resulting in high diagnostic accuracy and good generalization ability. This method can provide reference for the diagnosis of rolling bearing faults under corresponding operating conditions. INDEX TERMS CNN, Bearing, Attention mechanism, Fault diagnosis. I. INTRODUCTION As one of the important components in mechanical equipment, bearings play a crucial role in the performance and reliability of the equipment. In reality, the failure rate of bearing components remains high due to the long continuous operation of mechanical equipment. Accurate and fast diagnosis of bearing failures is of great significance for preventing equipment failures, reducing maintenance costs, and improving production efficiency. Traditional methods for bearing fault diagnosis include analysis methods based on vibration signals, sound signals, and temperature signals, etc. These methods extract frequency domain features [1], time domain features [2], and time frequency domain features [3] from the signals to determine the working condition and fault type of the bearing. However, traditional methods have certain limitations when applied in complex operating conditions and cannot meet the requirements of practical applications. With the systematization and complexity of data in the era of big data, data-driven intelligent diagnostic methods have been used for self-diagnosis and self-recognition of equipment faults. In terms of feature extraction, Zhang et al. [4]proposed the use of wavelet transform for feature extraction of acquired signals and demonstrated the effectiveness of the method through experiments. He et al. [6] employed a feature extraction method based on cross-wavelet transform and variational Bayesian matrix decomposition, which can effectively localize different types of defects with high accuracy. In terms of diagnostic methods, researchers have proposed a fault diagnosis method based on Manhattan distance and voltage difference analysis [6], which can sensitively and reliably detect and isolate multiple faults. Additionally, machine learning and deep learning techniques have also emerged in this field. In the application of machine learning, classic algorithms such as Artificial Neural Network(ANN)[7], K-Nearest Neighbors (KNN)[9], and Support Vector Machine (SVM) [10] have been cited and achieved certain effectiveness in the field of fault diagnosis. However, these algorithms inevitably encounter some issues when applied in practical fault diagnosis. First, there is the issue of feature input. These algorithms require a large amount of effective features as input to be effective, and extracting useful features from raw signals requires experienced professionals with rich knowledge, resulting in additional personnel and time costs. Second, there is the issue of training time. Traditional machine learning algorithms are usually based on serialized computing models, which can only process and infer one sample at a time. This means that training and predicting on large-scale datasets can be relatively slow. Lastly, the structure of machine learning algorithm models is relatively simple. While they may be effective for small datasets or low algorithm complexity, their classification performance is limited in complex environments and multiple operating conditions. Therefore, currently, deep learning is widely used for bearing fault diagnosis. The deep learning techniques currently applied in bearing fault diagnosis include DNN[11], CNN [12], and autoencoders [14], among others. Compared to machine learning, deep learning itself has powerful and efficient feature extraction capabilities. Additionally, deep learning models have complex structures, which enable them to overcome various complex environments and operating conditions, resulting in accurate classification. Wang et al. [16] proposed converting one-dimensional vibration signals of bearings into two-dimensional grayscale images, which achieved good results after being processed by CNNs. Liang et al. [17] applied residual networks to the fault classification model, which deepened the convolutional network layers while avoiding the problem of vanishing gradients. Additionally, benefiting from the powerful time series information mining capability of LSTM networks[18], An et al. [19] proposed a rolling bearing fault diagnosis method based on periodic sparse attention and LSTM. They compared this method with others and validated its effectiveness and superiority. In the aforementioned studies, various deep learning network architectures were employed for fault diagnosis with the aim of attaining enhanced accuracy. However, for the actual extracted bearing fault signals, there is often a significant amount of noise mixed in, which can hinder the accuracy of the models' recognition. Moreover, as the number of layers and components of the CNNs increase, a large number of redundant parameters are introduced, leading to poor real-time performance due to lengthy training times. To address these issues, Li et al. [20]introduced an attention mechanism into the diagnostic model, further enhancing fault-related features while reducing the weights of irrelevant parameters. Their proposed model further improved the accuracy of fault recognition. Zhang et al. [21] proposed a feature extractor based on a multi-scale attention mechanism, and the results showed that their strategy had good learning ability and diagnostic performance. Wu et al. [22] proposed a multi-source domain adaptation network with an attention mechanism, and the network model achieved outstanding fault diagnosis capability by leveraging its exceptional adaptability to samples. These research achievements demonstrate that the introduction of attention mechanisms can strengthen the adaptive capabilities of network models, enabling faster and more accurate identification of fault categories. Inspired by the multi-scale attention mechanism[23], this article proposes a rolling bearing fault diagnosis method called MSCNN-ECM, which takes into account the interference of noise in actual samples. The method combines various models such as residual modules[24], multi-scale convolution[27], attention modules[30], and decomposed convolution modules to innovatively propose an efficient multi-scale convolution module for feature extraction of input signals, maximizing the retention of effective features from the original signal. Therefore, the main contributions and innovations of this paper are as follows: a) In response to the issue of insufficient feature extraction, corresponding improvements are made to the model structure. In order to fully extract effective fault information, a three-branch structure is adopted to extract information at different scales, and large-scale convolutional kernels are used to enhance the effective receptive field of the network, thereby better capturing information between input data, while employing decomposed convolutions to reduce the computational load. b) Improvements are made to address issues such as redundancy of multi-scale feature information and gradient vanishing. An attention mechanism is introduced after multiscale convolutions to select feature information from different scales, and a residual structure is employed to ensure continuous gradient descent of the model. II. RELATED WORK This section will introduce the modules used in the fault diagnosis model, including CNN, ResNet, Decomposed Convolution, and Attention Mechanism. _A._ _CNN_ CNNs are widely used deep learning models in computer vision and image processing tasks, typically for handling twodimensional data. As we will preprocess one-dimensional time-varying bearing fault signals into two-dimensional representations using specific methods, CNNs can be migrated to the field of fault diagnosis. CNNs are named after the convolution operation, which is a special type of linear operation extensively applied in signal processing and image processing domains. In CNNs, the convolution operation is used to extract local features from input data, and by learning the parameters of the convolution kernels, specific patterns in the input signals or images can be captured. Convolution kernels of different sizes and shapes can be employed to extract features of various scales and types. For two-dimensional images, the convolution operation can be understood as sliding a filter over the input image and performing element-wise multiplication, followed by summing all elements to obtain the value at the corresponding position in the output feature. The specific representation process is illustrated in Figure 1. has a height of h and width of w. This relationship can be expressed as follows: ℎ= <sup>?−?+ 2?</sup> + 1 (1) ? ?= <sup>?−?+ 2?</sup> + 1 (2) ? In the equation, p represents the number of padding layers in the convolution process, and s represents the stride size of the filter. By using this formula, you can modify the relevant parameters to control the size of the output image. ernel nput data utput data tride ernel nput data utput data ernel nput data utput data tride ernel nput data utput data FIGURE 1. Convolution operation with different strides. Stride is the step size at which the filter traverses. In each convolution operation, the filter slides horizontally to the right by a stride length. When the filter reaches the rightmost position, it starts sliding from the next row. Once the filter reaches the corresponding position in the bottom-right corner of the input image, the convolution operation is completed. Figure 2 illustrates the padding scenario. By adding some extra pixels around the input image in the convolution operation, we can control the size of the output feature map to be the same as the input image, making network design and computation more convenient. Additionally, padding helps retain the information at the edges of the input signal. Without padding, the pixels at the edge of the signal would be involved in computation fewer times, leading to a loss of edge information. By applying padding, the participation of edge pixels in the computation remains the same as that of central pixels, preserving edge information more effectively. ernel ernel utput data nput data utput data nput data (padding ) _B._ _RESIDUAL NETWORK STRUCTURE_ In the early stages of researching neural network structures, it was widely believed that the depth of the network determined the accuracy and effectiveness of detection. Therefore, many researchers focused on increasing the network depth, and many classic models achieved good results by continuously deepening the network. However, it was later discovered that when the network becomes too deep, the performance actually starts to degrade, with issues such as vanishing or exploding gradients. To address this problem, the residual network structure was introduced. The residual structure was initially proposed by He et al.[33]. It allows the network to propagate larger gradient values back to the earlier layers during the backpropagation process. Additionally, ResNet has a flexible network structure, allowing for adjustments in the number of stacked residual blocks and the number of channels within each residual block. A basic residual block is shown in Figure 3. weight la er , e F( ) weight la er F( ) e FIGURE 3. Basic residual block In the above residual structure, the function F(x) represents the residual mapping, and it is defined as F(x) = y - x. BN represents batch normalization operation, ReLU is the activation function. During the process of residual learning, F(x) can be directly used as the optimization objective. By minimizing F(x) to approach zero, the optimal solution is obtained. This allows the model to maintain its best state even when the network is deepened. When the residual block takes ?? as input, the output can be represented as: ??+1 = ?(?? + ?(??, ??)) (3) Here, f(∙) is the activation function, ?? represents the corresponding weight parameters, and F(∙) is the residual mapping function. Compared to ordinary convolutional structures, the residual block adds an extra channel, allowing the input data to be FIGURE 2. Padding operation in convolution. Increasing the stride size reduces the output image dimensions, while increasing the padding layers can increase the output image dimensions. Suppose the input image has a height of H and width of W. After performing a convolution operation with a kernel size of k×k, the resulting output image directly passed to the output data. This enables the direct learning of residual values, simplifying the learning objective. This structure helps sustain gradient descent, which is beneficial for constructing deeper networks. The additional computational cost introduced by this structure can be ignored with GPU acceleration, but it greatly enhances the overall performance of the network. _C._ _DECOMPOSED CONVOLUTION_ The principle of decomposed convolution [34] is to decompose a k×k standard 2D convolution kernel into a k×1 vertical convolution kernel and a 1×k horizontal convolution kernel. By reducing the dimensionality of the convolution kernel, it effectively reduces the floating point operations (FLOPs) required for convolution. Research has shown [35]that simply stacking small kernel convolutions does not significantly improve the effective receptive field [36] of the network. However, the introduction of decomposed convolution helps us mitigate the impact of large kernel convolutions [37] that lead to a large number of parameters. Decomposed convolution is implemented in two steps, as illustrated in Figure 4. FIGURE 5. Standard convolution To combine residual modules and decomposed convolution, we propose a new efficient multi-scale convolution module called EMSCM (Efficient multi-scale convolution module). The structure of this new module is shown in Figure 6. This module ensures a large receptive field while reducing computational and parameter burdens, which meets the requirements of deep neural networks well. nput e e e e oncat la er e e e 1 1 FIGURE 4. Principle of decomposed convolution For decomposed convolution, considering the bias, the corresponding FLOPs are as follows: ??? = 4???????????????? (4) Where ??? represents the FLOPs of decomposed convolution, k is the size of the convolution kernel, ??? is the number of input feature channels, ???? is the number of output feature channels, ???? is the height of the convolution output feature, and ???? is the width of the convolution output feature. For a regular convolution with a kernel size of k×k, as shown in Figure 5, and considering the bias, the corresponding floating-point operations are: ????? = 2? <sup>2</sup> ??????????????? (5) Decomposed convolution reduces the FLOPs of convolution by dimension reduction of the convolution kernel, changing the relationship between FLOPs and kernel size k from quadratic to linear. When the kernel size k > 2, the FLOPs of decomposed convolution will be smaller than the computational cost of standard convolution. Moreover, as the kernel size k and the number of output channels ???? increase, decomposed convolution saves more computational resources. FIGURE 6. Efficient multi-scale convolution module _D._ _ATTENTION MECHANISM_ The introduction of attention mechanism [38] aims to enhance the model's focus and concentration on the input data, enabling the model to learn and process information that is more important for the current task. The reason for incorporating attention modules in the fault diagnosis model is that there is a significant amount of noise in the original fault signals. By introducing attention, the model can pay more attention to the relevant fault signals in the original information and ignore most of the noise. Additionally, for relatively complex CNNs, the introduction of attention mechanism can simplify the model structure while maintaining performance, thereby reducing training parameters and time. In this study, we employ the Efficient Channel Attention (ECA) module to enhance the weights of crucial features. Since our processed fault signals are two-dimensional, it is necessary to map the 2D signal into a three-dimensional matrix and then utilize the ECA attention mechanism module to obtain channel weight information. The ECA module utilizes a 1x1 convolutional layer after the global average pooling layer, eliminating the need for a fully connected layer while preserving the original feature map dimensions. This allows for effective utilization of inter-channel interaction information and captures local interaction relationships with surrounding channels. Moreover, the ECA module achieves excellent results with only a small number of parameters. The corresponding structure is illustrated in Figure 7. ttention bloc = ( ) H H 1 1 1 1 FIGURE 7. Efficient channel attention module ECA achieves cross-channel information interaction through one-dimensional convolution, which can reduce the model's complexity while maintaining performance. The size of the convolutional kernel, denoted as k, is adapted using a function that allows layers with a larger number of channels to have more cross-channel interactions. The adaptive function is defined as follows: ?= ~~|~~ <sup>???2(?)</sup> <sup>?</sup> ? <sup>~~|~~</sup> (6) <sup><u>2(?)</u></sup> + <sup>?</sup> ? ? This study sets the number of sampling points in each sample data to 1024. In order to increase the number of sample data, overlapping sampling is adopted here: the first set of data x1 (t) is sampled from 1 to 512, the second set of data x2 (t) is sampled from 513 to 1024, and so on, as shown in Figure 8. After truncation, continuous wavelet transform is used to generate image data with time-frequency characteristics. hifting time points FIGURE 8. Signal expansion method used in this study Continuous wavelet transform is a signal processing method based on wavelet analysis, which can be used to analyze the time-frequency characteristics of non-stationary signals. In this study, the complex Gaussian function is chosen as the wavelet basis function. This function has the advantages of Gaussian sub-wavelets and exhibits superior resolution and concentration in the time-frequency representation. _B. MODEL DESIGN_ In this paper, the proposed model is based on lightweight considerations and simplifies non-essential components to improve diagnostic efficiency while enhancing the feature extraction and resolution capabilities of the model. The entire model consists of efficient multi-scale convolution modules, pooling layers, normalization and activation layers, attention modules, fully connected layers, and a softmax layer. The specific model structure is shown in Figure 9. The specific implementation process can be roughly divided into three steps: signal input, feature extraction and processing, classification output. Firstly, one-dimensional vibration data is transformed into a two-dimensional image with time-frequency features using continuous wavelet transform. The transformed two-dimensional image is then input into the model, and the time-frequency image features are extracted efficiently using a multi-scale convolution module, with attention mechanism used to filter the feature information. Secondly, the feature map of the feature map is further extracted using a regular convolution module, and normalization and activation function processing are performed between these two steps, followed by pooling operation to retain the main feature information. This process is repeated three times to obtain two-dimensional feature signals for classification. Finally, the two-dimensional signal is flattened and input into the fully connected layer for feature classification. The model parameter settings are shown in Table 1. where represents the number of channels, γ and b are nonlinear parameters, and γ, b . Additionally, the corresponding weight calculation formula is as follows: ?= ?(?1??(?)) (7) n this case, σ represents the sigmoid function. The output feature map is obtained by multiplying the weights with the corresponding elements of the original input feature map. III. BEARING FAULT DIAGNOSIS MODEL _A. DATA PREPROCESSING METHODS_ The vibration signals in the datasets from JNUand CWRU used in this study are in the form of one-dimensional timevarying non-stationary signals. In order to efficiently and quickly extract features using convolutional neural networks, sampling truncation and two-dimensional processing are required. It is worth noting that during the truncation process, it is best to ensure that each sample data contains the complete set of sampling points for one rotation of the bearing. The number of sample points required to cover a complete rotation can be obtained according to the following formula: ?= <sup>60</sup> ? ? <sup>?</sup> (8) where n is the rotation speed (r/min) and f is the sampling frequency (Hz). Taking an electric motor speed of 1730 as an example, the number of sampling points contained in one rotation of the bearing is approximately 416, calculated as 60÷1730×12000. Input 320 600 1×1×32 BN+ReLU 7×1×16 BN+ReLU 1×7×16 BN+ReLU 1×1×32 BN+ReLU Concat layer 3@224 224 _EMSCM_ _-ECA_ 3@224 224 Max pooling _EMSCM_ Input conv2 6@56 56 16@56 56 _Classifier_ hidden unit: 32 14 14 1024 6@112 112 conv1 3@112 112 Max pooling 16@28 28 conv3 32@28 28 Max pooling 32@14 14 Flatten _ECA_ Output: 10 Fully connected layer _EMSCM-ECA_ _EMSCM_ _ECA_ _1_ × _1 conv_ 11×1×16 BN+ReLU 1×11×16 BN+ReLU 1×1×32 BN+ReLU Input H W C Output H W C GAP 1 1 C 1 1 C FIGURE 9. Adaptive CNN model based on attention mechanism Table 1. Specific Model Parameters <u>umber</u> <u>a er t pe</u> <u>ernel size</u> <u>tride</u> <u>adding</u> <u>hannel</u> <u>utput</u> EM M × / × / × / / × × E - - - × × onv × × × Max pooling × × × onv × × × Max pooling × × × onv × × × Max pooling × × × 9 onv × × × Max pooling × × × Full -connected - <u>Full -connected</u> <u>/</u> <u>-</u> <u>-</u> <u>/</u> _C. MODEL PARAMETERS AND LOSS FUNCTION_ We set the sizes of two large-scale convolution kernels in the efficient multi-scale convolution module to 7 and 11, respectively, and reduce the parameter volume by decomposing the convolution. In the EMSCM module, 0/3/5 represents the padding of the three branches, and 1×1/7×7/11×11 represents the convolution kernel size of the corresponding branch in the three-branch structure. After normalization and activation layers, the attention module is used to obtain the key channel information. This ensures that the width and height of the processed feature map remain consistent with the original input, while the number of channels remains consistent with the number of filters. Then, a max pooling layer is applied with a pooling window size of 3×3 and a stride of 2, reducing the size of the feature map by half in the width and height dimensions. The number of fully connected layers is set to 2, with 1024 hidden neurons and 10/4 output categories. "10" represents the number of classifications on the CWRU dataset, and "4" represents the number of classifications on the JNU bearing dataset. Specific parameter settings and module selections can be found in Table 1. The chosen deep learning framework for this experiment is PyTorch. The computer setup includes a Linux operating system, an Intel Core i9-12900K CPU processor, and an NVIDIA GeForce RTX 3090 graphics card. The selected loss function is the cross-entropy loss function, expressed as follows: ? (6) The best parameters are imported, and the test set is used to obtain accuracy information corresponding to the model. ntercept data processing artition data uilding a networ model nitialize model parameters End rinting accurac information Test model performance ave model parameters Test set es i epochs ?= −∑?? lg ?̅? (9) Training set model training d usting model alidation model training d usting model set ?=1 Where L represents the error loss value, _K_ represents the number of fault categories, ?? represents the true label for the i-th category, and ?̅? represents the predicted probability value of the model indicating the likelihood of being the i-th fault category. _D. FAULT DIAGNOSIS PROCESS_ The fault diagnosis process of the proposed model in this paper is shown in Figure 11, and the specific steps are as follows: (1) Data information is extracted by truncating the data, and continuous wavelet transform is used to convert the onedimensional data into two-dimensional form. Figure 10 shows the time-frequency diagrams for 10 states under a 1Hp load in the CWRU dataset. (2) The dataset is divided according to a certain proportion. (3) The network model is constructed and the model parameters are initialized before training. The batch size is set to 32 and the number of iterations is set to 50. The crossentropy loss function and Adam optimizer are used. The initial learning rate is set to 0.001, and the learning rate is adjusted using the cosine annealing algorithm during actual training. ormal FIGURE 10. Time frequency images of each state under 1Hp load (4) The training set is input into the model to start training. The features are extracted through the convolutional module, and the extracted features are classified using the classifier. (5) The model performance is validated using the validation set, and the model parameters are adjusted to achieve optimal performance. The best parameters obtained during the training process are saved after reaching the specified number of training iterations. Feature pre screening Efficient fault feature extraction parameters classification ttention mechanism focuses on e information FIGURE 11. Fault diagnosis flowchart IV. EXPERIMENTAL ANALYSIS This article uses the bearing vibration dataset from CWRU and the dataset from JNU for testing to validate the model's generalization and robustness. _A. CWRU DATASET_ The experimental setup of the CWRU dataset is shown in Figure 12, which includes a 1.5 kW motor, a torque sensor, a power analyzer, and an electronic controller. The experiment selected the data from the drive-end bearing, with the SKF6205 bearing model being tested. The bearing loads are divided into 1HP, 2HP, and 3HP, corresponding to a sampling frequency of 12 kHz. The fault in the experimental bearings was created using the electrical discharge machining technique to generate a singlepoint damage. The collected bearing data includes fault data for the inner race, outer race, and rolling elements positions. Each position includes damages with diameters of 0.18 mm, 0.36 mm, and 0.53 mm. Based on the different fault positions and diameters, the bearing data can be divided into ten categories: Normal, inner race faults (IR007, IR014, IR021), outer race faults (OR007, OR014, OR021), and rolling element faults (B007, B014, B021). Fan end bearing rive end bearing namometer Motor Tor ue Transducer/ encoder FIGURE 12. CWRU bearing test rig According to the data sampling plan, 300 samples were collected for each state under a single load condition. To conveniently represent the corresponding 10 states, they are replaced with the numbers 0-9. The three load conditions are denoted as A, B, and C. The training set,validation set and testing set are divided in an 8:1:1 ratio. The specific partitioning is shown in Table 2. Table 2. CWRU dataset partitioning <u>Dataset</u> <u>Number</u> <u>Type</u> <u>Training/Validation/Test Set</u> A/B/C 0 IR007 240/30/30 1 IR014 240/30/30 2 IR021 240/30/30 3 OR007 240/30/30 4 OR014 240/30/30 5 OR021 240/30/30 6 B007 240/30/30 7 B014 240/30/30 8 B021 240/30/30 <u>9</u> <u>normal</u> <u>240/30/30</u> _B. EVALUATION METRICS_ In order to evaluate the performance of fault classification results, four metrics are used: accuracy (Acc), precision (Pre), recall (Rec), and F-score. Accuracy is the most direct evaluation metric, which represents the proportion of correctly predicted samples to the total number of samples. It is simple and easy to understand and reflects the overall accuracy of the classification results. However, when the sample distribution is imbalanced, the evaluation of accuracy may be biased. Therefore, other evaluation metrics need to be used in conjunction with accuracy to assess the classification performance of the model. The formula for calculating accuracy is as follows: ??+ ?? ???= (10) ??+ ??+ ??+ ?? where TP (True Positive) represents correctly classified positive samples, FP (False Positive) represents negative samples incorrectly classified as positive, TN (True Negative) represents correctly classified negative samples, and FN (False Negative) represents positive samples incorrectly classified as negative. Precision represents the proportion of correctly predicted positive samples to all samples predicted as positive. It evaluates the accuracy of positive class predictions. The formula for calculating precision is as follows: ?? ???= (11) ??+ ?? Recall represents the proportion of correctly predicted positive samples to all actual positive samples. It is advantageous for evaluating the model's ability to capture positive class samples. However, it ignores false negatives and needs to be used in conjunction with precision to evaluate model performance. The formula for calculating recall is as follows: ?? ???= (12) ??+ ?? F1 score is the weighted harmonic mean of precision and recall, providing a balanced measure between accuracy and capture capability. Depending on the specific scenario, the use of F1 score as an evaluation metric needs to be determined. The formula for calculating F1 score is as follows: ?−?????= 2 <sup>???∙???</sup> (13) ???+ ??? _C. MODEL VISUALIZATION AND PERFORMANCE_ _ANALYSIS_ We used the t-SNE algorithm [42] for visualization, as it is a nonlinear dimensionality reduction algorithm that allows for intuitive analysis of the model's effectiveness. The t-SNE algorithm was applied to visualize a randomly sampled subset of 2000 examples from the dataset, with 200 samples for each class. In order to evaluate the performance of the proposed model in this paper for visualization-based classification, a comparison was made between the visualization results obtained in this paper and those of LeNet, LSTM, ResNet and WDCNN. LeNet network consists of two convolutional layers and three fully connected layers. The size of the convolutional kernel is 5x5, followed by a corresponding pooling layer after each convolution. LSTM network includes key components such as input gate, forget gate, and output gate. It effectively processes information in sequences by adaptively updating and managing the state of memory cells. ResNet is a very deep convolutional neural network composed of basic convolutional layers, pooling layers, and batch normalization layers. It introduces residual connections to address the degradation problem in deep networks. Each residual block consists of two or three convolutional layers and a skip connection. The size of the convolutional layers is typically 3x3. WDCNN consists of five convolutional layers and five maximum pooling layers. The first convolutional layer is a wide convolutional layer with a kernel size of 64 × 1, while the subsequent layers have a kernel size of 3 × 1. The comparative graph is shown in Figure 13. From the graph, it can be observed that the proposed model in this paper accurately and correctly partitions the target dataset, while the other models still exhibit significant misclassification in the final classification. Table 3. Comparison of model diagnosis results <u>Method</u> <u>Dataset A</u> <u>Dateset B</u> <u>Dataset C</u> <u>Average</u> LeNet 96.67% 94.45% 97.35% 96.15% LSTM 91.53% 89.85% 95.64% 92.34% ResNet 98.59% 97.23% 99.83% 98.55% WDCNN 96.54% 95.46% 97.43% 96.47% Proposed 100% 100% 100% 100% <u>method</u> Through training, the accuracy of all 10 classes in Table 3 can reach 100%, which is higher than other classification methods including LeNet, LSTM, ResNet, and WDCNN. The LSTM method and the WDCNN method both belong to onedimensional convolution methods. In comparison, two dimensional convolution can extract features in both row and column directions simultaneously, thereby obtaining more comprehensive feature representations. From the diagnostic results, it can be seen that using two-dimensional convolution for fault diagnosis has advantages. Additionally, the WDCNN model adopts a multi-scale convolution approach, which allows capturing fault features at different scales and obtaining better global structural information. Therefore, despite being in the form of one-dimensional convolution, the WDCNN a). e et b). TM achieves higher accuracy than the LSTM model. The proposed model in this paper takes advantage of the multi-scale structure and combines it with large-scale convolution kernels and attention mechanisms to more efficiently process information at different scales, thereby improving the diagnostic performance of the model. Furthermore, Figure 14 displays the confusion matrix for load condition A, clearly demonstrating that each label has been well classified. e). urs c). es et d). FIGURE 13. Comparison of visualization-based classification results for different models. Referring to the classification accuracy in Table 2, the diagnostic accuracy of the proposed model in this article increased by 1.45% compared to ResNet. Compared with the longest training time model, WDCNN, the training time was only 38s. Compared with the shortest training time model, LeNet, the training time was only 5s longer, but the training accuracy improved by 3.85%. The above data indicates that the proposed model in this article has low complexity, high computational efficiency, and excellent diagnostic performance. FIGURE 14. Confusion matrix for load condition A In addition, we also compared the training and testing time of different models on dataset A, and the results are shown in Table 4. Table 4. Comparison of time consumption between different models <u>Model</u> <u>Training time</u> <u>Test time</u> TM 9s . s e et s . s es et s .9s s . s <u>urs</u> <u>s</u> <u>. s</u> According to the data in the table, it can be seen that the model proposed in this article consumed relatively less time. _D. EXPERIMENTAL VERIFICATION UNDER MULTIPLE_ _OPERATING CONDITIOSN_ In practical engineering applications, data acquisition is influenced by surrounding environmental conditions. Additionally, the number of fault categories we need to classify is usually much greater than 10. Here, we obtain more categories and quantities of fault types by combining data. Specifically, we combine different bearing data at three original speeds. The basis for the combination comes from the differences in sample distribution under different load conditions, as shown in Figure 16. This results in a total of 30 fault categories and three times the data volume compared to a single operating condition. To better evaluate the effectiveness and computational scale of this model, we compare its experimental results with those of LSTM, ResNet, LeNet and WDCNN models. The comparison results are shown in Figure 15, where it can be observed that our model outperforms other popular models, achieving good detection results in a short time. <u>e et</u> <u>TM</u> <u>es et</u> <u>urs</u> <u>ccurac</u> <u>.9</u> <u>.9</u> <u>.9</u> <u>.9</u> <u>.99</u> <u>recision</u> <u>.9</u> <u>.9</u> <u>.9</u> <u>.9</u> <u>.99</u> <u>ecall</u> <u>.9</u> <u>.9</u> <u>.9 9</u> <u>.9</u> <u>.99</u> FIGURE 15. Comparison of different model parameters The confusion matrix in Figure 17 reflects the specific label recognition results. It can be seen that misidentified label data mostly come from normal samples under different load conditions. This is because normal sample data have similar signal distributions and are less affected by speed differences, making them difficult to distinguish. However, our model still achieves an accuracy of 99.46% in recognition. This indicates that our proposed method can maintain high fault recognition capability in multiple operating conditions, meeting the requirements of real-world engineering applications. FIGURE 16. Fault signals under different operating conditions It should be noted that the processor requirements and computation time for specific industrial applications may differ from the experimental setup described in this paper. This is because factors such as the complex operating environment, the scale of data extraction, and the precision of sensors in industrial scenarios can all affect training time. The algorithm proposed in this paper involves attention mechanisms and large kernel convolution modules, which require CUDA implementation for GPU acceleration. There are no specific requirements for CPUs. Considering the cost budget and computational power of GPUs in industrial scenarios, graphics card models such as GeForce GTX 650 or higher can be used. The graphics card model used in this experiment, GeForce RTX 3090, has a computational capability that is 2.85 times higher than the previous one. Specifically, in terms of training time, using GeForce GTX 650 takes approximately 2.85 times longer than the time mentioned in this article, which is around 142 seconds. However, industrial data sets are usually larger in scale compared to the data set used in this article, which consists of 3000 samples. If we calculate based on an industrial scale of 10,000 samples, it would take approximately 473 seconds. Therefore, when implementing this method on a large scale in the industrial field, it is necessary to use at least a GeForce GTX 650 or higher graphics card, with a corresponding computation time of approximately 473 seconds. FIGURE 17. Confusion matrices for three load conditions _E. EXPERIMENTAL STUDY ON TRANSFER LEARNING_ _UNDER VARIABLE LOAD_ To verify the generalization ability of the proposed model in this paper, a fault diagnosis experiment on bearings under variable load was conducted in this section. The proposed method was compared with LeNet, ResNet, LeNet, and WDCNN, and the average values of five repeated experiments were taken as the experimental results. In the specific experiment, six transfer tasks can be established based on the data under three different loads. For convenience, "A→B" is used to represent the transfer diagnostic task with A as the source domain data and B as the target domain data. In the target domain, the training set and test set were divided in a 2:8 ratio. The specific transfer tasks and data division are shown in Table 5. The diagnostic results of each method under variable load conditions are shown in Figure 18. Table 5. Migration data partitioning Migration Source domain Target Domain Source Target Test <u>domain</u> <u>Domain</u> <u>Train</u> Source Target Test task domain Domain <u>domain</u> <u>Domain</u> → A B 3000 600 2400 → A C 3000 600 2400 → B A 3000 600 2400 → B C 3000 600 2400 → C A 3000 600 2400 <u>→</u> <u>C</u> <u>B</u> <u>3000</u> <u>600</u> <u>2400</u> From the figure, it can be seen that the average accuracy of the proposed method reached 98.35%, which is much higher than other models. Compared with the LSTM and WDCNN models adopted by the comparative methods, which use onedimensional convolution with raw vibration signals as input, 9 9 9 9 9 e et TM es et roposed method FIGURE 18. Diagnostic results for different migration tasks the diagnostic effect is limited. The LeNet and ResNet methods use continuous wavelet transform to extract the timefrequency features of the original signals and use twodimensional convolution to efficiently process more abundant fault feature information, thereby improving the diagnostic accuracy. The proposed method, by introducing multi-scale convolution and attention mechanism, can more efficiently extract effective fault information and still achieve good results even under variable load conditions. _F. GENERALIZATION EXPERIMENT ANALYSIS_ To further verify the performance of the proposed method on other datasets, experiments were conducted using the bearing dataset from JNU. This dataset includes fault states such as normal, inner ring fault, outer ring fault, and rolling element fault, with a sampling frequency of 50kHz for vibration signals. Data collection was performed for each fault type at three different speeds: 600 r/min, 800 r/min, and 1000 r/min. The same overlapping sampling method was used, collecting 400 data samples for each state, and generating corresponding two-dimensional time-frequency images through continuous wavelet transform. The data collected at the three speeds are denoted as D, E, and F, respectively, with each speed task containing 1600 data samples. The data partitioning of the dataset is shown in Table 6. Table 6. JNU Dataset <u>Dataset</u> <u>Location</u> <u>Number of samples</u> <u>Label</u> Inner ring 400 0 Outer ring 400 1 D/E/F Rolling element 400 2 <u>Health</u> <u>400</u> <u>3</u> During the actual training, the number of categories was changed to 4 while keeping other parameters unchanged. In the experimental phase, five methods (LSTM, ResNet, LeNet, WDCNN, and the method proposed in this paper) were compared and tested, and the experimental results under different models are shown in Table 7. Table 7. Comparison of model diagnosis results <u>Method</u> <u>Dataset D</u> <u>Dateset E</u> <u>Dataset F</u> <u>Average</u> LeNet 96.67% 97.32% 97.57% 97.18% LSTM 92.46% 93.56% 93.64% 93.22% ResNet 98.62% 98.23% 99.23% 98.69% WDCNN 97.34% 96.56% 97.27% 97.05% Proposed 100% 100% 100% 100% <u>method</u> By analyzing the data in the table, it can be concluded that the proposed method in this paper still demonstrates excellent diagnostic performance when applied to different datasets. Compared to the ResNet network, the diagnostic accuracy has improved by 1.31%. These findings suggest that the algorithm proposed in this paper has good generalizability. V. Conclusion This paper proposes a multi-scale convolutional neural network model based on attention mechanism for bearing fault diagnosis. A reasonable truncation sampling method is proposed to address the form of fault signals, and the signals are transformed into two-dimensional matrices for processing through continuous wavelet transform. To improve the effective receptive field and reduce the number of model parameters, an efficient multi-scale convolution module is designed. At the same time, the design of residual module can effectively avoid the problem of gradient explosion and gradient disappearance. In order to address the interference problem of noise information in the data itself, an efficient channel attention module is proposed to focus on effective information. The algorithm was validated on the CWRU bearing vibration dataset and the JNU bearing dataset, and compared with other mainstream algorithm models. The results show that the proposed method performs well in both single and multiple working conditions, and outperforms other algorithms. In addition, to verify the generalization ability of the model, different transfer tasks were established using the CWRU dataset, and the experiment shows that the proposed model has good transfer performance. REFERENCES [1] X. Zhang, S. Wan, Y. He, X. Wang, and L. Dou. “ earing fault diagnosis based on iterative 1.5-dimensional spectral urtosis,” _IEEE_ _Access_, vol. 8, pp. 174233-174243, 2020. [2] B. R. Nayana and . eethan ali, “ nal sis of tatistical Time Domain Features Effectiveness in Identification of Bearing Faults From ibration ignal,” _IEEE Sensors J._, vol. 17, no. 17, pp. 56185625, Sep. 2017. [3] . i, “ esearch of Fault iagnosis of Mine olling earing ased on Time-Fre uenc nal sis,” in _J. Phys. Conf. Ser._, Oct. 2023, vol. 2459, no. 1. [4] C. Zhang, Y. He, Zuo L. Zuo, et al. “A novel approach to diagnosis of analog circuit incipient faults based on KECA and OAO LSSVM,” _Metrol. Meas. Sys._, vol. 22, pp. 251–262, Jun. 2015. [5] C. Zhang, Y. He, T. Yang, et al. “An analog circuit fault diagnosis approach based on improved wavelet transform and MKELM,” _Circ Syst Signal Process_, vol. 41, pp. 1255–1286, Mar. 2022. [6] W. H, Y. He, B. Li and C. Zhang, “Feature extraction of analogue circuit fault signals via cross - wavelet transform and variational Bayesian matrix factorisation,” _IET Sci. Meas. Technol._, vol. 13, pp. 318–327, Mar. 2019. [7] C. Zhang, S. Zhao, Z. Yang and Y. He, “A multi-fault diagnosis method for lithium-ion battery pack using curvilinear Manhattan distance evaluation and voltage difference analysis,” _J. Energy_ _Storage_, vol. 67, Sep. 2023. [8] M. ashtdar, . ashti, and H. . ha er, “ istribution networ fault section identification and fault location using artificial neural networ,” in _Int. Conf. Electr. Electron. Eng._ ( _ICEEE_ ), May. 2018, pp. 273-278. [9] G. S. K. an an, . . erma, and . adhi a, “ -nearest neighbors and grid search cv based real time fault monitoring system for industries,” in _Proc. of IEEE 5th International Conference for_ _Convergence in Technology_ ( _I2CT_ ). IEEE, 2019, pp. 1–5. [10] Q. Shi and H. Zhang, “Fault diagnosis of an autonomous vehicle with an improved M algorithm sub ect to unbalanced datasets,” _IEEE_ _Trans. Ind. Electron_ ., vol. 68, no. 7, pp. 6248–6256, Jul. 2021. [11] F. Zhou, T. un, . Hu, T. ang, and . en, ‘‘ sparse denoising deep neural networ for improving fault diagnosis performance,’’ _Signal, Image Video Process._, vol. 15, pp. 1889–1898, Jun. 2021. [12] . Han, . h, and J. Jeong, “ earing fault diagnosis based on multiscale convolutional neural networ using data augmentation,” _J._ _Sensors_, vol. 2021, pp. 1–14, Feb. 2021. [13] Y. Hao, H.Wang, Z. Liu and H. Han, “Multi-scale CNN based on attention mechanism for rolling bearing fault diagnosis,” in _Asia-_ _Pacific Int. Symp. Adv. Reliab. Maint. Model_, ( _APARM_ ), Aug. 2020 [14] . in, . i, . ang, and J. ang, “Fault diagnosis of aero-engine bearing using a stacked auto-encoder networ,” in _Proc. IEEE Inf._ _Technol. Mechatronics Eng. Conf._, 2018, pp. 545–548. [15] . iu, . hen, H. Zhang, and . ang, “Fault iagnosis Application of Short Wave Transmitter Based on Stacked AutoEncoder,” in _IEEE Int. Conf. Comput. Commun._, ( _ICCC_ ), Dec. 2018, pp. 119-123. [16] . ang, . Mao, and . i, “ earing fault diagnosis based on vibroacoustic data fusion and 1D- networ,” _Measurement_, vol. 173, no. 6, Mar. 2021. [17] iang, J. ao, and . Zhao, “Multi-scale dynamic adaptive residual networ for fault diagnosis,” _Measurement_, vol. 188, Jan. 2022. [18] W. Song, H. Liu and E. Zio, “Long-range dependence and heavy tail characteristics for remaining useful life prediction in rolling bearing degradation,” _Appl. Math. Model._, vol. 102, pp. 268–284,Feb, 2019. [19] Y. An, K. Zhang, Q. Liu, et al. “Rolling bearing fault diagnosis method base on periodic sparse attention and LSTM,” _IEEE Sensors J._, vol. 22, pp. 12044–12053, Jun, 2022. [20] . i, . Zhang, and Q. ing, “ nderstanding and improving deep learning-based rolling bearing fault diagnosis with attention mechanism,” _Signal Process_ ., vol. 161, pp. 136–154, 2019. [21] Q. Zhang, . Tang, and . Fu, “ Multi-Scale Attention Mechanism Based Domain Adversarial Neural Network Strategy for Bearing Fault iagnosis,” _Actuators_, vol. 12, no. 5, Apr. 2023. [22] Z. Wu, H. Jiang, H. Zhu, and X. Wang. “A knowledge dynamic matching unit-guided multi-source domain adaptation network with attention mechanism for rolling bearing fault diagnosis,” _Mech Syst_ _Signal Process_, vol. 189, Apr. 2023. [23] Y. Wang, J. Liang, and . u. “Multi-scale attention mechanism residual neural network for fault diagnosis of rolling bearings,” in _Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci_ . Oct. 2022, vol. 236, no. 20, pp. 10615-10629. [24] K. S. Xi, S. Jie, and T. L. Ran. “Synchroextracting Transform and Deep Residual Network for Varying Speed Bearing Fault Diagnostic,” _Journal of Vibration Engineering & Technologies_, vol. 11, pp. 343353, Jun. 2022. [25] J. Yan, J. Kan, and H. Luo, “Rolling Bearing Fault Diagnosis Based on Markov Transition Field and Residual Network,” _Sensors,_ vol. 12, no. 10, May. 2022. [26] H. iang, J. ao, and . Zhao, “Multi-scale dynamic adaptive residual networ for fault diagnosis,” _Measurement_, vol. 188, Jan. 2022, Art. no. 110397. [27] . ang, ao. “ multiscale convolution neural networ for bearing fault diagnosis based on frequency division denoising under complex noise conditions,” _Complex & Intelligent Systems_, pp.1-23, 2022. [28] . Jin, . Qin, Z. Zhang, J. Tao, and . iu, “ multi-scale convolutional neural network for bearing compound fault diagnosis under various noise conditions,” _Sci. China Technological Sci._, vol. 65, no. 11, pp. 2551–2563, 2022. [29] X. i, Z ei, and . en, “Intelligent Fault Diagnosis with Multi scale Convolutional Dense Network,” _J. Phys. Conf. Ser._, vol. 2184, no. 1, May. 2022. [30] Y. Hou, J. ang, and Z. hen, “Diagnosisformer: An efficient rolling bearing fault diagnosis method based on improved Transformer,” _Eng_ _Appl Artif Intell_ ., vol. 124, Sep. 2022. [31] J. Lu, K. ang, and . hen, “A Deep Learning Method for Rolling Bearing Fault Diagnosis Based on Attention Mechanism and Graham Angle Field,” _Sensors_ ., vol. 23, no. 12, June. 2023. [32] J. ang, J. uo, and . ang, “A hybrid intelligent rolling bearing fault diagnosis method combining WKN-BiLSTM and attention mechanism,” _Meas. Sci. Technol._, vol. 34, no. 8, Aug. 2023. [33] . He, . Zhang, . en, and J. un, “ eep residual learning for image recognition,” in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit._ ( _CVPR_ ), Jun. 2016, pp. 770–778. [34] omera, J. M. lvarez, . M. ergasa, and . rro o, “E F et Efficient residual factorized ConvNet for real-time semantic segmentation,” _IEEE Trans. Intell. Transp. Syst_ ., vol. 19, no. 1, pp. 263–272, Jan. 2018. [35] . ing, . Zhang, J. Han, and . ing, “ caling up our ernels to evisiting large ernel design in s,” in _Proc. IEEE/CVF_ _Conf. Comput. Vis. Pattern Recognit._ ( _CVPR_ ), Jun. 2022, pp. 11963– 11975. [36] . uo, . i, . rtasun, and . Zemel, “ nderstanding the effective receptive field in deep convolutional neural networ s,” in _Proc. NIPS_, 2016, pp. 4905–4913. [37] S. Li, X. Wu, and Z. Wu, “Efficient Multi-Lane Detection Based on Large- ernel onvolution and ocation,” _IEEE Access_, vol. 11, pp. 58125-58135, 2023. [38] . aswani et al., “ ttention is all ou need,” in _Proc. Adv. Neural_ _Inf. Process. Syst._, 2017, pp. 5998–6008 [39] C. Jia, M. Gao, T. Dong. “ esearch on bearing fault diagnosis b convolutional neural network based on wavelet time-frequency maps and parameter optimization,” in _Proc. IEEE Int. Conf. Civ. Aviat. Saf._ _Inf. Technol_ ., Oct. 2022, pp. 943-950. [40] X. . Ma, . Qi, M. Zhao. “ earing fault diagnosis based on attention mechanism and deep residual networ,” in _Proc. - Int. Conf. Comput._ _Eng. Artif. Intell_ ., Aug. 2021, pp. 286-290. [41] H. eng, . eng, . e. “ eneralized broadband mode decomposition method and its application in fault diagnosis of variable speed spherical roller bearing,” _Meas J Int Meas Confed_, vol. 208, Feb. 2023. [42] . hatzimparmpas, . M. Martins, and . erren, “T-viSNE: Interactive assessment and interpretation of t- E pro ections,” _IEEE_ _Trans. Vis. Comput. Graphics_, vol. 26, no. 8, pp. 2696–2714, Aug. 2020. [43] W. Zhang, C. Li, G. Peng, et al. “ deep convolu⁃ tional neural network with new training methods for bearing fault diagnosis under nois environment and dif⁃ ferent wor ing load,” _Mechanical Systems_ _and Signal Processing_, vol.100, pp. 439-453, 2018 FIRST A. AUTHOR Qimin Shen was born in 1983 in Yicheng City, Hubei Province. She obtained a master's degree from Harbin Engineering University in 2010. From 2010 to 2021, she worked as a designer at Taiyuan Heavy Machinery Group. During her tenure, she undertook multiple research projects and obtained 5 patents. In 2019, she was awarded the title of Senior Engineer. Since 2021, she has been working at Jinzhong College of Information and her research interests include mechanical design and manufacturing, as well as intelligent operation and maintenance technology. SECOND B. AUTHOR Zengqiang Zhang was born in Luoyang City, Henan Province, China in 1982. He obtained a master's degree from Taiyuan University of Technology in 2008. He is currently a Senior Engineer at Taiyuan Institute of Technology and his research interests include mechanical design, manufacturing, and theoretical analysis.

섹션 본문 90문단 · 40,122자

(제목 없음)

1Convolutional neural networks (CNNs) serve as powerful feature extraction tools capable of effectively extracting information from complex environments, thus improving the accuracy of fault identification for bearing data.In this paper, we present a method for diagnosing bearing faults using an attention mechanism and a multi-scale convolutional neural network (MSCNN).Firstly, truncate and sample the rolling bearing data, and use continuous wavelet transform to generate corresponding timefrequency images, which will be used as inputs to the neural network.Next, the MSCNN, which includes efficient convolutional modules with residual structures, is utilized to extract features from the input data while maximizing the retention of valuable information.The extracted data then undergoes feature selection through the employment of an Efficient Convolutional Module (ECM) with channel attention.Finally, after being mapped through fully connected layers, the features are fed into a softmax layer for fault category prediction.In this study, the model results were tested and verified using the Case Western Reserve University (CWRU) dataset and the bearing dataset of Jiangnan University(JNU).A comparison was made with the LeNet model, ResNet model, LSTM model, and WDCNN model.The results showed that the classification accuracy of the ten types of bearing signals at the same speed can reach 100%, and the classification accuracy of the thirty types of bearing signals at different speeds can reach over 99.4%, significantly higher than the other models.The proposed method achieves the recognition of different fault states of rolling bearings under complex conditions, including multiple operating conditions and variable operating conditions.It is capable of extracting the global characteristic information of bearing faults, resulting in high diagnostic accuracy and good generalization ability.This method can provide reference for the diagnosis of rolling bearing faults under corresponding operating conditions.INDEX TERMS CNN, bearing, attention mechanism, fault diagnosis.

I. INTRODUCTION

2As one of the important components in mechanical equipment, bearings play a crucial role in the performance and reliability of the equipment.In reality, the failure rate of bearing components remains high due to the long continuous operation of mechanical equipment.Accurate and fast bearing fault diagnosis is one of crucial significance in preventing

3The associate editor coordinating the review of this manuscript and approving it for publication was Guillermo Valencia-Palomo .equipment failures, reducing maintenance costs, and improving production efficiency.

4Traditional methods for bearing fault diagnosis include analysis methods based on vibration signals, sound signals, and temperature signals, etc.These methods extract frequency domain features [1], time domain features [2], and time-frequency domain features [3] from the signals to determine the working condition and fault type of the bearing.However, traditional methods have certain limitations when applied in complex operating conditions and cannot meet the requirements of practical applications.

5With the systematization and complexity of data in the era of big data, data-driven intelligent diagnostic methods have been used for self-diagnosis and self-recognition of equipment faults.In terms of feature extraction, Zhang et al. [4], [5] proposed the use of wavelet transform for feature extraction of acquired signals and demonstrated the effectiveness of the method through experiments.He et al. [6] employed a feature extraction method based on cross-wavelet transform and variational Bayesian matrix decomposition, which can effectively localize different types of defects with high accuracy.In terms of diagnostic methods, researchers have proposed a fault diagnosis method based on Manhattan distance and voltage difference analysis [7], which can sensitively and reliably detect and isolate multiple faults.Additionally, machine learning and deep learning techniques have also emerged in this field.

6In the application of machine learning, classic algorithms such as Artificial Neural Network(ANN) [8], K-Nearest Neighbors (KNN) [9], and Support Vector Machine (SVM) [10] have been cited and achieved certain effectiveness in the field of fault diagnosis.However, these algorithms inevitably encounter some issues when applied in practical fault diagnosis.First, there is the issue of feature input.These algorithms require a large amount of effective features as input to be effective, and extracting useful features from raw signals requires experienced professionals with rich knowledge, resulting in additional personnel and time costs.Second, there is the issue of training time.Traditional machine learning algorithms are usually based on serialized computing models, which can only process and infer one sample at a time.This means that training and predicting on large-scale datasets can be relatively slow.Lastly, the structure of machine learning algorithm models is relatively simple.While they may be effective for small datasets or low algorithm complexity, their classification performance is limited in complex environments and multiple operating conditions.Therefore, currently, deep learning is widely used for bearing fault diagnosis.

7The deep learning techniques currently applied in bearing fault diagnosis include DNN [11], CNN [12], [13], and autoencoders [14], [15], among others.Compared to machine learning, deep learning itself has powerful and efficient feature extraction capabilities.Additionally, deep learning models have complex structures, which enable them to overcome various complex environments and operating conditions, resulting in accurate classification.Wang et al. [16] proposed converting one-dimensional vibration signals of bearings into two-dimensional grayscale images, which achieved good results after being processed by CNNs.Liang et al. [17] applied residual networks to the fault classification model, which deepened the convolutional network layers while avoiding the problem of vanishing gradients.Additionally, benefiting from the powerful time series information mining capability of LSTM networks [18], An et al. [19] proposed a rolling bearing fault diagnosis method based on periodic sparse attention and LSTM.They compared this method with others and validated its effectiveness and superiority.

8In the aforementioned studies, various deep learning network architectures were employed for fault diagnosis with the aim of attaining enhanced accuracy.However, for the actual extracted bearing fault signals, there is often a significant amount of noise mixed in, which can hinder the accuracy of the models' recognition.Moreover, as the number of layers and components of the CNNs increase, a large number of redundant parameters are introduced, leading to poor real-time performance due to lengthy training times.

9To address these issues, Li et al. [20] introduced an attention mechanism into the diagnostic model, further enhancing fault-related features while reducing the weights of irrelevant parameters.Their proposed model further improved the accuracy of fault recognition.Zhang et al. [21] proposed a feature extractor based on a multi-scale attention mechanism, and the results showed that their strategy had good learning ability and diagnostic performance.Wu et al. [22] proposed a multi-source domain adaptation network with an attention mechanism, and the network model achieved outstanding fault diagnosis capability by leveraging its exceptional adaptability to samples.These research achievements demonstrate that the introduction of attention mechanisms can strengthen the adaptive capabilities of network models, enabling faster and more accurate identification of fault categories.

10Inspired by the multi-scale attention mechanism [23], this article proposes a rolling bearing fault diagnosis method called MSCNN-ECM, which takes into account the interference of noise in actual samples.The method combines various models such as residual modules [17], [24], [25], multi-scale convolution [26], [27], [28], attention modules [29], [30], [31], and decomposed convolution modules to innovatively propose an efficient multi-scale convolution module for feature extraction of input signals, maximizing the retention of effective features from the original signal.Therefore, the main contributions and innovations of this paper are as follows: a) In response to the issue of insufficient feature extraction, corresponding improvements are made to the model structure.In order to fully extract effective fault information, a three-branch structure is adopted to extract information at different scales, and large-scale convolutional kernels are used to enhance the effective receptive field of the network, thereby better capturing information between input data, while employing decomposed convolutions to reduce the computational load.

11b) Improvements are made to address issues such as redundancy of multi-scale feature information and gradient vanishing.An attention mechanism is introduced after multi-scale convolutions to select feature information from different scales, and a residual structure is employed to ensure continuous gradient descent of the model.

II. RELATED WORK

12This section will introduce the modules used in the fault diagnosis model, including CNN, ResNet, Decomposed Convolution, and Attention Mechanism.

A. CNN

13CNNs are widely used deep learning models in computer vision and image processing tasks, typically for handling twodimensional data.As we will preprocess one-dimensional time-varying bearing fault signals into two-dimensional representations using specific methods, CNNs can be migrated to the field of fault diagnosis.CNNs are named after the convolution operation, which is a special type of linear operation extensively applied in signal processing and image processing domains.In CNNs, the convolution operation is used to extract local features from input data, and by learning the parameters of the convolution kernels, specific patterns in the input signals or images can be captured.Convolution kernels of different sizes and shapes can be employed to extract features of various scales and types.

14For two-dimensional images, the convolution operation can be understood as sliding a filter over the input image and performing element-wise multiplication, followed by summing all elements to obtain the value at the corresponding position in the output feature.The specific representation process is illustrated in Figure 1.Stride is the step size at which the filter traverses.In each convolution operation, the filter slides horizontally to the right by a stride length.When the filter reaches the rightmost position, it starts sliding from the next row.Once the filter reaches the corresponding position in the bottom-right corner of the input image, the convolution operation is completed.

15Figure 2 illustrates the padding scenario.By adding some extra pixels around the input image in the convolution operation, we can control the size of the output feature map to be the same as the input image, making network design and computation more convenient.Additionally, padding helps retain the information at the edges of the input signal.Without padding, the pixels at the edge of the signal would be involved in computation fewer times, leading to a loss of edge information.By applying padding, the participation of edge pixels in the computation remains the same as that of central pixels, preserving edge information more effectively.Increasing the stride size reduces the output image dimensions, while increasing the padding layers can increase the output image dimensions.Suppose the input image has a height of H and width of W. After performing a convolution operation with a kernel size of k×k, the resulting output image has a height of h and width of w.This relationship can be expressed as follows:

16In the equation, p represents the number of padding layers in the convolution process, and s represents the stride size of the filter.By using this formula, you can modify the relevant parameters to control the size of the output image.

B. RESIDUAL NETWORK STRUCTURE

17In the early stages of researching neural network structures, it was widely believed that the depth of the network determined the accuracy and effectiveness of detection.Therefore, many researchers focused on increasing the network depth, and many classic models achieved good results by continuously deepening the network.However, it was later discovered that when the network becomes too deep, the performance actually starts to degrade, with issues such as vanishing or exploding gradients.To address this problem, the residual network structure was introduced.

18The residual structure was initially proposed by He et al [32].It allows the network to propagate larger gradient values back to the earlier layers during the backpropagation process.Additionally, ResNet has a flexible network structure, allowing for adjustments in the number of stacked residual blocks and the number of channels within each residual block.A basic residual block is shown in Figure 3.

19In the above residual structure, the function F(x) represents the residual mapping, and it is defined as F(x) = y -x.BN represents batch normalization operation, ReLU is the activation function.During the process of residual learning, F(x) can be directly used as the optimization objective.By minimizing F(x) to approach zero, the optimal solution is obtained.This allows the model to maintain its best state even when the network is deepened.When the residual block takes x n as input, the output can be represented as:

20Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.Here, f(•) is the activation function, w n represents the corresponding weight parameters, and F(•) is the residual mapping function.

21Compared to ordinary convolutional structures, the residual block adds an extra channel, allowing the input data to be directly passed to the output data.This enables the direct learning of residual values, simplifying the learning objective.This structure helps sustain gradient descent, which is beneficial for constructing deeper networks.The additional computational cost introduced by this structure can be ignored with GPU acceleration, but it greatly enhances the overall performance of the network.

C. DECOMPOSED CONVOLUTION

22The principle of decomposed convolution [33] is to decompose a k×k standard 2D convolution kernel into a k×1 vertical convolution kernel and a 1×k horizontal convolution kernel.By reducing the dimensionality of the convolution kernel, it effectively reduces the floating point operations (FLOPs) required for convolution.Research has shown [34] that simply stacking small kernel convolutions does not significantly improve the effective receptive field [35] of the network.However, the introduction of decomposed convolution helps us mitigate the impact of large kernel convolutions [36] that lead to a large number of parameters.Decomposed convolution is implemented in two steps, as illustrated in Figure 4.For decomposed convolution, considering the bias, the corresponding FLOPs are as follows:

23where F FC represents the FLOPs of decomposed convolution, k is the size of the convolution kernel, c in is the number of input feature channels, c out is the number of output feature channels, H out is the height of the convolution output feature, and W out is the width of the convolution output feature.For a regular convolution with a kernel size of k×k, as shown in Figure 5, and considering the bias, the corresponding floating-point operations are:

24Decomposed convolution reduces the FLOPs of convolution by dimension reduction of the convolution kernel, changing the relationship between FLOPs and kernel size k from quadratic to linear.When the kernel size k > 2, the FLOPs of decomposed convolution will be smaller than the computational cost of standard convolution.Moreover, as the kernel size k and the number of output channels c out increase, decomposed convolution saves more computational resources.

25To combine residual modules and decomposed convolution, we propose a new efficient multi-scale convolution module called EMSCM (Efficient multi-scale convolution module).The structure of this new module is shown in Figure 6.This module ensures a large receptive field while reducing computational and parameter burdens, which meets the requirements of deep neural networks well.

D. ATTENTION MECHANISM

26The introduction of attention mechanism [37] aims to enhance the model's focus and concentration on the input data, enabling the model to learn and process information that is more important for the current task.The reason for incorporating attention modules in the fault diagnosis model is that there is a significant amount of noise in the original fault signals.By introducing attention, the model can pay more attention to the relevant fault signals in the original information and ignore most of the noise.Additionally, for relatively complex CNNs, the introduction of attention mechanism can simplify the model structure while maintaining performance, thereby reducing training parameters and time.

27In this study, we employ the Efficient Channel Attention (ECA) module to enhance the weights of crucial features.Since our processed fault signals are two-dimensional, it is necessary to map the 2D signal into a three-dimensional matrix and then utilize the ECA attention mechanism module to obtain channel weight information.The ECA module utilizes a 1 × 1 convolutional layer after the global average pooling layer, eliminating the need for a fully connected layer while preserving the original feature map dimensions.This allows for effective utilization of inter-channel interaction information and captures local interaction relationships with surrounding channels.Moreover, the ECA module achieves excellent results with only a small number of parameters.The corresponding structure is illustrated in Figure 7. ECA achieves cross-channel information interaction through one-dimensional convolution, which can reduce the model's complexity while maintaining performance.The size of the convolutional kernel, denoted as k, is adapted using a function that allows layers with a larger number of channels to have more cross-channel interactions.The adaptive function is defined as follows:

28where C represents the number of channels, γ and b are nonlinear parameters, and γ = 2, b=1.Additionally, the corresponding weight calculation formula is as follows:

29In this case, σ represents the sigmoid function.The output feature map is obtained by multiplying the weights with the corresponding elements of the original input feature map.

III. BEARING FAULT DIAGNOSIS MODEL A. DATA PREPROCESSING METHODS

30The vibration signals in the datasets from JNU and CWRU used in this study are in the form of one-dimensional timevarying non-stationary signals.In order to efficiently and quickly extract features using convolutional neural networks, sampling truncation and two-dimensional processing are required.It is worth noting that during the truncation process, it is best to ensure that each sample data contains the complete set of sampling points for one rotation of the bearing.The number of sample points required to cover a complete rotation can be obtained according to the following formula:

31where n is the rotation speed (r/min) and f is the sampling frequency (Hz).

32Taking an electric motor speed of 1730 as an example, the number of sampling points contained in one rotation of the bearing is approximately 416, calculated as 60÷1730 × 12000.This study sets the number of sampling points in each sample data to 1024.In order to increase the number of sample data, overlapping sampling is adopted here: the first set of data x 1 (t) is sampled from 1 to 512, the second set of data x 2 (t) is sampled from 513 to 1024, and so on, as shown in Figure 8.After truncation, continuous wavelet transform is used to generate image data with time-frequency characteristics.Continuous wavelet transform is a signal processing method based on wavelet anaysis, which can be used to analyze the time-frequency characteristics of non-stationary signals.In this study, the complex Gaussian function is chosen as the wavelet basis function.This function has the advantages of Gaussian sub-wavelets and exhibits superior resolution and concentration in the time-frequency representation.

B. MODEL DESIGN

33In this paper, the proposed model is based on lightweight considerations and simplifies non-essential components to improve diagnostic efficiency while enhancing the feature extraction and resolution capabilities of the model.The entire model consists of efficient multi-scale convolution modules, pooling layers, normalization and activation layers, attention modules, fully connected layers, and a softmax layer.The specific model structure is shown in Figure 9.The specific implementation process can be roughly divided into three steps: signal input, feature extraction and processing, classification output.Firstly, one-dimensional vibration data is transformed into a two-dimensional image with time-frequency features using continuous wavelet transform.The transformed two-dimensional image is then input into the model, and the time-frequency image features are extracted efficiently using a multi-scale convolution module, with attention mechanism used to filter the feature information.Secondly, the feature map of the feature map is further extracted using a regular convolution module, and normalization and activation function processing are performed between these two steps, followed by pooling operation to retain the main feature information.This process is repeated three times to obtain two-dimensional feature signals for classification.Finally, the two-dimensional signal is flattened and input into the fully connected layer for feature classification.The model parameter settings are shown in Table 1.

C. MODEL PARAMETERS AND LOSS FUNCTION

34We set the sizes of two large-scale convolution kernels in the efficient multi-scale convolution module to 7 and 11, respectively, and reduce the parameter volume by decomposing the convolution.In the EMSCM module, 0/3/5 represents the padding of the three branches, and 1 × 1.7×7/11 × 11 represents the convolution kernel size of the corresponding branch in the three-branch structure.After normalization and activation layers, the attention module is used to obtain the key channel information.This ensures that the width and height of the processed feature map remain consistent with the original input, while the number of channels remains consistent with the number of filters.Then, a max pooling layer is applied with a pooling window size of 3 × 3 and a stride of 2, reducing the size of the feature map by half in the width and height dimensions.The number of fully connected layers is set to 2, with 1024 hidden neurons and 10/4 output categories.''10'' represents the number of classifications on the CWRU dataset, and ''4'' represents the number of classifications on the JNU bearing dataset.Specific parameter settings and module selections can be found in Table 1.

35The chosen deep learning framework for this experiment is PyTorch.The computer setup includes a Linux operating system, an Intel Core i9-12900K CPU processor, and an NVIDIA GeForce RTX 3090 graphics card.The selected loss function is the cross-entropy loss function, expressed as follows:

36where L represents the error loss value, K represents the number of fault categories, y i represents the true label for the i-th category, and ȳi represents the predicted probability value of the model indicating the likelihood of being the i-th fault

D. FAULT DIAGNOSIS PROCESS

37The fault diagnosis process of the proposed model in this paper is shown in Figure 11, and the specific steps are as follows: (1) Data information is extracted by truncating the data, and continuous wavelet transform is used to convert the one-dimensional data into two-dimensional form.Figure 10 shows the time-frequency diagrams for 10 states under a 1Hp load in the CWRU dataset.

38(2) The dataset is divided according to a certain proportion.(5) The model performance is validated using the validation set, and the model parameters are adjusted to achieve (6) The best parameters are imported, and the test set is used to obtain accuracy information corresponding to the model.

IV. EXPERIMENTAL ANALYSIS

39This article uses the bearing vibration dataset from CWRU and the dataset from JNU for testing to validate the model's generalization and robustness.

A. CWRU DATASET

40The experimental setup of the CWRU dataset is shown in Figure 12, which includes a 1.5 kW motor, a torque sensor, a power analyzer, and an electronic controller.The experiment selected the data from the drive-end bearing, with the SKF6205 bearing model being tested.The bearing loads are 12946 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.The fault in the experimental bearings was created using the electrical discharge machining technique to generate a single-point damage.The collected bearing data includes fault data for the inner race, outer race, and rolling elements positions.Each position includes damages with diameters of 0.18 mm, 0.36 mm, and 0.53 mm.Based on the different fault positions and diameters, the bearing data can be divided into ten categories: Normal, inner race faults (IR007, IR014, IR021), outer race faults (OR007, OR014, OR021), and rolling element faults (B007, B014, B021).

41According to the data sampling plan, 300 samples were collected for each state under a single load condition.To conveniently represent the corresponding 10 states, they are replaced with the numbers 0-9.The three load conditions are denoted as A, B, and C. The training set, validation set and testing set are divided in an 8:1:1 ratio.The specific partitioning is shown in Table 2.

B. EVALUATION METRICS

42In order to evaluate the performance of fault classification results, four metrics are used: accuracy (Acc), precision (Pre), recall (Rec), and F-score.Accuracy is the most direct evaluation metric, which represents the proportion of correctly predicted samples to the total number of samples.It is simple and easy to understand and reflects the overall accuracy of the classification results.However, when the sample distri-bution is imbalanced, the evaluation of accuracy may be biased.Therefore, other evaluation metrics need to be used in conjunction with accuracy to assess the classification performance of the model.The formula for calculating accuracy is as follows:

43where TP (True Positive) represents correctly classified positive samples, FP (False Positive) represents negative samples incorrectly classified as positive, TN (True Negative) represents correctly classified negative samples, and FN (False Negative) represents positive samples incorrectly classified as negative.

44Precision represents the proportion of correctly predicted positive samples to all samples predicted as positive.It evaluates the accuracy of positive class predictions.The formula for calculating precision is as follows:

45Recall represents the proportion of correctly predicted positive samples to all actual positive samples.It is advantageous for evaluating the model's ability to capture positive class samples.However, it ignores false negatives and needs to be used in conjunction with precision to evaluate model performance.The formula for calculating recall is as follows:

46F1 score is the weighted harmonic mean of precision and recall, providing a balanced measure between accuracy and capture capability.Depending on the specific scenario, the use of F1 score as an evaluation metric needs to be determined.The formula for calculating F1 score is as follows:

C. MODEL VISUALIZATION AND PERFORMANCE ANALYSIS

47We used the t-SNE algorithm [38] for visualization, as it is a nonlinear dimensionality reduction algorithm that allows for intuitive analysis of the model's effectiveness.The t-SNE algorithm was applied to visualize a randomly sampled subset of 2000 examples from the dataset, with 200 samples for each class.In order to evaluate the performance of the proposed model in this paper for visualization-based classification, a comparison was made between the visualization results obtained in this paper and those of LeNet, LSTM, ResNet and WDCNN [39].LeNet network consists of two convolutional layers and three fully connected layers.The size of the convolutional kernel is 5 × 5, followed by a corresponding pooling layer after each convolution.LSTM network includes key components such as input gate, forget gate, and output gate.It effectively processes information in sequences by adaptively updating and managing the state of memory cells.ResNet is a very deep convolutional neural network composed of basic convolutional layers, pooling layers, and batch normalization layers.It introduces residual connections to address the degradation problem in deep networks.Each residual block consists of two or three convolutional layers and a skip connection.The size of the convolutional layers is typically 3×3.WDCNN consists of five convolutional layers and five maximum pooling layers.The first convolutional layer is a wide convolutional layer with a kernel size of 64 × 1, while the subsequent layers have a kernel size of 3 × 1.

48The comparative graph is shown in Figure 13.From the graph, it can be observed that the proposed model in this paper accurately and correctly partitions the target dataset, while the other models still exhibit significant misclassification in the final classification.

49Through training, the accuracy of all 10 classes in Table 3 can reach 100%, which is higher than other classification methods including LeNet, LSTM, ResNet, and WDCNN.The LSTM method and the WDCNN method both belong to one-dimensional convolution methods.In comparison, twodimensional convolution can extract features in both row and column directions simultaneously, thereby obtaining more comprehensive feature representations.From the diagnostic results, it can be seen that using two-dimensional convolution for fault diagnosis has advantages.Additionally, the WDCNN model adopts a multi-scale convolution approach, which allows capturing fault features at different scales and obtaining better global structural information.Therefore, despite being in the form of one-dimensional convolution, the WDCNN achieves higher accuracy than the LSTM model.The proposed model in this paper takes advantage of the multi-scale structure and combines it with large-scale convolution kernels and attention mechanisms to more efficiently process information at different scales, thereby improving the diagnostic performance of the model.Furthermore, Figure 14 displays the confusion matrix for load condition A, clearly demonstrating that each label has been well classified.

50In addition, we also compared the training and testing time of different models on dataset A, and the results are shown in Table 4.

51According to the data in the table, it can be seen that the model proposed in this article consumed relatively less time.Referring to the classification accuracy in

D. EXPERIMENTAL VERIFICATION UNDER MULTIPLE OPERATING CONDITIONS

52In practical engineering applications, data acquisition is influenced by surrounding environmental conditions.Additionally, the number of fault categories we need to classify is usually much greater than 10.Here, we obtain more categories and quantities of fault types by combining data.Specifically, we combine different bearing data at three original speeds.The basis for the combination comes from the differences in sample distribution under different load conditions, as shown in Figure 16.This results in a total of 30 fault categories and three times the data volume compared to a single operating condition.

53To better evaluate the effectiveness and computational scale of this model, we compare its experimental results with those of LSTM, ResNet, LeNet and WDCNN models.The comparison results are shown in Figure 15, where it can be observed that our model outperforms other popular models, achieving good detection results in a short time.

54The confusion matrix in Figure 17 reflects the specific label recognition results.It can be seen that misidentified label data mostly come from normal samples under different load conditions.This is because normal sample data have similar signal distributions and are less affected by speed differences, making them difficult to distinguish.

55However, our model still achieves an accuracy of 99.46% in recognition.This indicates that our proposed method can maintain high fault recognition capability in multiple operating conditions, meeting the requirements of real-world engineering applications.

56It should be noted that the processor requirements and computation time for specific industrial applications may differ from the experimental setup described in this paper.This is because factors such as the complex operating environment, the scale of data extraction, and the precision of sensors in industrial scenarios can all affect training time.The algorithm proposed in this paper involves attention mechanisms and large kernel convolution modules, which require CUDA implementation for GPU acceleration.There are no specific requirements for CPUs.Considering the cost budget and computational power of GPUs in industrial scenarios, graphics card models such as GeForce GTX 650 or higher can be used.

57The graphics card model used in this experiment, GeForce RTX 3090, has a computational capability that is 2.85 times higher than the previous one.Specifically, in terms of training time, using GeForce GTX 650 takes approximately 2.85 times longer than the time mentioned in this article, which is around 142 seconds.However, industrial data sets are usually larger in scale compared to the data set used in this article, which consists of 3000 samples.If we calculate based on an industrial scale of 10,000 samples, it would take approximately 473 seconds.

58Therefore, when implementing this method on a large scale in the industrial field, it is necessary to use at least a GeForce GTX 650 or higher graphics card, with a corresponding computation time of approximately 473 seconds.

E. EXPERIMENTAL STUDY ON TRANSFER LEARNING UNDER VARIABLE LOAD

59To verify the generalization ability of the proposed model in this paper, a fault diagnosis experiment on bearings under variable load was conducted in this section.The proposed method was compared with LeNet, ResNet, LeNet, and WDCNN, and the average values of five repeated experiments were taken as the experimental results.In the specific experiment, six transfer tasks can be established based on the data under three different loads.For convenience, ''A → B'' is used to represent the transfer diagnostic task with A as the source domain data and B as the target domain data.In the target domain, the training set and test set were divided in a 2:8 ratio.The specific transfer tasks and data division are shown in Table 5.The diagnostic results of each method under variable load conditions are shown in Figure 18.

60From the figure, it can be seen that the average accuracy of the proposed method reached 98.35%, which is much higher than other models.Compared with the LSTM and WDCNN models adopted by the comparative methods, which use one-dimensional convolution with raw vibra-

F. GENERALIZATION EXPERIMENT ANALYSIS

61To further verify the performance of the proposed method on other datasets, experiments were conducted using the bearing dataset from JNU.This dataset includes fault states such as normal, inner ring fault, outer ring fault, and rolling element fault, with a sampling frequency of 50kHz for vibration signals.Data collection was performed for each fault type at three different speeds: 600 r/min, 800 r/min, and 1000 r/min.The same overlapping sampling method was used, collecting 400 data samples for each state, and generating corresponding two-dimensional time-frequency images through continuous wavelet transform.The data collected at the three speeds are denoted as D, E, and F, respectively, with each speed containing 1600 data samples.The data partitioning of the dataset is shown in Table 6.

62During the actual training, the number of categories was changed to 4 while keeping other parameters unchanged.In the experimental phase, five methods (LSTM, ResNet, LeNet, WDCNN, and the method proposed in this paper) were compared and tested, and the experimental results under different models are shown in Table 7.

63By analyzing the data in the table, it can be concluded that the proposed method in this paper still demonstrates excellent diagnostic when applied to different datasets.Compared to the ResNet network, the diagnostic accuracy has improved by 1.31%.These findings suggest that the algorithm proposed in this paper has good generalizability.

V. CONCLUSION

64This paper proposes a multi-scale convolutional neural network model based on attention mechanism for bearing fault diagnosis.A reasonable truncation sampling method is proposed to address the form of fault signals, and the signals are transformed into two-dimensional matrices for processing through continuous wavelet transform.To improve the effective receptive field and reduce the number of model parameters, an efficient multi-scale convolution module is designed.At the same time, the design of residual module can effectively avoid the problem of gradient explosion and gradient disappearance.In order to address the interference problem of noise information in the data itself, an efficient channel attention module is proposed to focus on effective information.The algorithm was validated on the CWRU bearing vibration dataset and the JNU bearing dataset, and compared with other mainstream algorithm models.The results show that the proposed method performs well in both single and multiple working conditions, and outperforms other algorithms.In addition, to verify the generalization ability of the model, different transfer tasks were established using the CWRU dataset, and the experiment shows that the proposed model has good transfer performance.

FIGURE 1 .

65FIGURE 1. Convolution operation with different strides.

FIGURE 2 .

66FIGURE 2. Padding operation in convolution.

FIGURE 3 .

67FIGURE 3. Basic residual block.

FIGURE 4 .

68FIGURE 4. Principle of decomposed convolution.

FIGURE 6 .

69FIGURE 6. Efficient multi-scale convolution module.

FIGURE 7 .

70FIGURE 7. Efficient channel attention module.

FIGURE 8 .

71FIGURE 8. Signal expansion method used in this study.

FIGURE 9 .

72FIGURE 9. Adaptive CNN model based on attention mechanism.

FIGURE 10 .

73FIGURE 10.Time frequency images of each state under 1Hp load.

( 3 )

74The network model is constructed and the model parameters are initialized before training.The batch size is set to 32 and the number of iterations is set to 50.The cross-entropy loss function and Adam optimizer are used.The initial learning rate is set to 0.001, and the learning rate is adjusted using the cosine annealing algorithm during actual training.(4) The training set is input into the model to start training.The features are extracted through the convolutional module, and the extracted features are classified using the classifier.

FIGURE 11 .

75FIGURE 11.Fault diagnosis flowchart.

FIGURE 12 .

76FIGURE 12. CWRU bearing test rig.

FIGURE 13 .

77FIGURE 13.Comparison of visualization-based classification results for different models.

FIGURE 14 .

78FIGURE 14. Confusion matrix for load condition A.

FIGURE 15 .

79FIGURE 15.Comparison of different model parameters.

FIGURE 16 .

80FIGURE 16.Fault signals under different operating conditions.

FIGURE 17 .

81FIGURE 17. Confusion matrices for three load conditions.

FIGURE 18 .

82FIGURE 18. Diagnostic results for different migration tasks.

TABLE 1 .

83Specific model parameters.

TABLE 2 .

84CWRU dataset partitioning.dividedinto 1HP, 2HP, and 3HP, corresponding to a sampling frequency of 12 kHz.

TABLE 3 .

85Comparison of model diagnosis results.

Table 2 ,

86the diagnostic accuracy of the proposed model in this article increased by 1.45% compared to ResNet.Compared with the

TABLE 4 .

87Comparison of time consumption between different models.longest training time model, WDCNN, the training time was only 38s.Compared with the shortest training time model, LeNet, the training time was only 5s longer, but the training accuracy improved by 3.85%.The above data indicates that the proposed model in this article has low complexity, high computational efficiency, and excellent diagnostic performance.

TABLE 5 .

88Migration data partitioning.

TABLE 6 .

89JNU

TABLE 7 .

90Comparison of model diagnosis results.

참고문헌 37건

  1. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  2. A Novel Approach To Diagnosis Of Analog Circuit Incipient Faults Based On KECA And OAO LSSVM Metrology and Measurement Systems · De Gruyter Open · 2015 10.1515/mms-2015-0025
  3. Analysis of Statistical Time-Domain Features Effectiveness in Identification of Bearing Faults From Vibration Signal IEEE Sensors Journal · IEEE Sensors Council · 2017 10.1109/jsen.2017.2727638
  4. A deep convolutional neural network with new training methods for bearing fault diagnosis under noisy environment and different working load Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.06.022
  5. ERFNet: Efficient Residual Factorized ConvNet for Real-Time Semantic Segmentation IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tits.2017.2750080
  6. Distribution network fault section identification and fault location using artificial neural network 2018 10.1109/iceee2.2018.8391345
  7. Feature extraction of analogue circuit fault signals via cross‐wavelet transform and variational Bayesian matrix factorisation IET Science Measurement & Technology · Institution of Engineering and Technology · 2018 10.1049/iet-smt.2018.5432
  8. Understanding and improving deep learning-based rolling bearing fault diagnosis with attention mechanism Signal Processing · Elsevier BV · 2019 10.1016/j.sigpro.2019.03.019
  9. Fault Diagnosis of Aero-engine Bearing Using a Stacked Auto-Encoder Network 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC) · 2018 10.1109/itoec.2018.8740504
  10. Fault Diagnosis Application of Short Wave Transmitter Based on Stacked Auto-Encoder 2018 10.1109/compcomm.2018.8780761
  11. t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tvcg.2020.2986996
  12. K-Nearest Neighbors and Grid Search CV Based Real Time Fault Monitoring System for Industries 2022 IEEE 7th International conference for Convergence in Technology (I2CT) · 2019 10.1109/i2ct45611.2019.9033691
  13. Fault Diagnosis of an Autonomous Vehicle With an Improved SVM Algorithm Subject to Unbalanced Datasets IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tie.2020.2994868
  14. Bearing fault diagnosis based on vibro-acoustic data fusion and 1D-CNN network Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.108518
  15. Bearing Fault Diagnosis Based on Iterative 1.5-Dimensional Spectral Kurtosis IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3024697
  16. Multi-Scale CNN based on Attention Mechanism for Rolling Bearing Fault Diagnosis 2020 Asia-Pacific International Symposium on Advanced Reliability and Maintenance Modeling (APARM) · 2020 10.1109/aparm49247.2020.9209470
  17. Bearing Fault Diagnosis Based on Multiscale Convolutional Neural Network Using Data Augmentation Journal of Sensors · Hindawi Publishing Corporation · 2021 10.1155/2021/6699637
  18. A sparse denoising deep neural network for improving fault diagnosis performance Signal Image and Video Processing · Springer Science+Business Media · 2021 10.1007/s11760-021-01939-w
  19. Long-range dependence and heavy tail characteristics for remaining useful life prediction in rolling bearing degradation Applied Mathematical Modelling · Elsevier BV · 2021 10.1016/j.apm.2021.09.041
  20. Multi-scale dynamic adaptive residual network for fault diagnosis Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.110397
  21. An Analog Circuit Fault Diagnosis Approach Based on Improved Wavelet Transform and MKELM Circuits Systems and Signal Processing · Birkhäuser · 2022 10.1007/s00034-021-01842-2
  22. Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.01166
  23. Intelligent Fault Diagnosis with Multi-scale Convolutional Dense Network Journal of Physics Conference Series · IOP Publishing · 2022 10.1088/1742-6596/2184/1/012009
  24. Multi-scale attention mechanism residual neural network for fault diagnosis of rolling bearings Proceedings of the Institution of Mechanical Engineers Part C Journal of Mechanical Engineering Science · SAGE Publishing · 2022 10.1177/09544062221104598
  25. Rolling Bearing Fault Diagnosis Based on Markov Transition Field and Residual Network Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22103936
  26. Synchroextracting Transform and Deep Residual Network for Varying Speed Bearing Fault Diagnostic Journal of Vibration Engineering & Technologies · Springer Science+Business Media · 2022 10.1007/s42417-022-00584-y
  27. Rolling Bearing Fault Diagnosis Method Base on Periodic Sparse Attention and LSTM IEEE Sensors Journal · IEEE Sensors Council · 2022 10.1109/jsen.2022.3173446
  28. A multi-scale convolutional neural network for bearing compound fault diagnosis under various noise conditions Science China Technological Sciences · Springer Science+Business Media · 2022 10.1007/s11431-022-2109-4
  29. A multiscale convolution neural network for bearing fault diagnosis based on frequency division denoising under complex noise conditions Complex & Intelligent Systems · Springer Science+Business Media · 2022 10.1007/s40747-022-00925-0
  30. A knowledge dynamic matching unit-guided multi-source domain adaptation network with attention mechanism for rolling bearing fault diagnosis Mechanical Systems and Signal Processing · Elsevier BV · 2023 10.1016/j.ymssp.2023.110098
  31. Research of Fault Diagnosis of Mine Rolling Bearing Based on Time-Frequency Analysis Journal of Physics Conference Series · IOP Publishing · 2023 10.1088/1742-6596/2459/1/012081
  32. A hybrid intelligent rolling bearing fault diagnosis method combining WKN-BiLSTM and attention mechanism Measurement Science and Technology · IOP Publishing · 2023 10.1088/1361-6501/acce55
  33. A Multi-Scale Attention Mechanism Based Domain Adversarial Neural Network Strategy for Bearing Fault Diagnosis Actuators · Multidisciplinary Digital Publishing Institute · 2023 10.3390/act12050188
  34. A multi-fault diagnosis method for lithium-ion battery pack using curvilinear Manhattan distance evaluation and voltage difference analysis Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.107575
  35. Efficient Multi-Lane Detection Based on Large-Kernel Convolution and Location IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3283440
  36. A Deep Learning Method for Rolling Bearing Fault Diagnosis Based on Attention Mechanism and Graham Angle Field Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23125487
  37. Diagnosisformer: An efficient rolling bearing fault diagnosis method based on improved Transformer Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106507