Bearing residual life prediction method based on time-frequency analysis and deep learning
Through the combination of CWT, channel attention, and residual convolutional neural networks, the time-frequency characteristics of rolling bearings are processed, the problems of non-stationary vibration signals and the difficulty of applying deep learning models are solved, and efficient remaining life prediction is achieved.
Patent Information
- Application Number
- CN202410756512.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology to predict the remaining life of rolling bearings, the non-stationarity and nonlinear characteristics of the vibration signal are difficult to directly utilize, and the deep learning network requires clean data sets and deeper network layers, which increases the difficulty of model application.
Continuous wavelet transform (CWT) is used to convert the original vibration data of the bearing into a time-frequency spectrum diagram, and combined with channel attention and residual convolutional neural network, a RUL prediction model is constructed and trained through the time-frequency characteristic data of the training set and test set. , using mean smoothing and polynomial regression to fit health factors and calculate the remaining life of the bearing.
It improves the accuracy of RUL prediction, reduces network calculations and redundant data, avoids performance degradation, and achieves more efficient prediction results.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_4
Abstract
Description
Technical Field
[0001] The present invention relates to the prediction of the remaining useful life (RUL) of a rolling bearing, and specifically to a method for predicting the RUL of a bearing based on time-frequency analysis of vibration signals and a deep learning network. Background Art
[0002] As a key component of rotating equipment, rolling bearings usually operate in harsh environments. Bearing failures often cause the entire working unit to shut down or even cause production safety accidents. Therefore, predicting the remaining useful life (RUL) of rolling bearings and obtaining the bearing RUL in advance can effectively prevent the machine from losing control during operation due to bearing damage.
[0003] The vibration signal generated during the operation of the bearing is usually non-stationary and nonlinear. Therefore, it is difficult to directly use the original vibration signal of the bearing for RUL prediction. The original vibration signal of the bearing needs to be preprocessed or feature extracted. At present, the main methods for extracting bearing signal features are: extracting the time domain features of the bearing vibration signal, such as the maximum value, minimum value, root mean square value, etc.; extracting the frequency domain features of the bearing, such as using wavelet packet decomposition to obtain high-contribution frequency domain data, extracting spectral features in fast Fourier transform, etc.; extracting the time-frequency features of the bearing, such as using short-time Fourier transform (STFT), continuous wavelet transform (CWT), etc. to extract time-frequency degradation features. According to the actual task requirements, the above methods can effectively extract degradation features from the original vibration signal of the bearing.
[0004] When performing bearing RUL prediction modeling based on deep learning networks, mature network architectures such as Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), and Transformer are usually used. In order to fully utilize the characteristics and advantages of different networks, the combination of various networks has become a research hotspot recently, such as the combination of CNN and RNN, and the combination of CNN and Transformer. However, if the above network structures want to obtain accurate prediction results in bearing RUL prediction, they often require clean data sets or deeper network layers. The above two points will undoubtedly increase the difficulty of applying the model in actual production and life. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a bearing RUL prediction model based on time-frequency analysis and deep learning.
[0006] The present invention is implemented by the following technical solution: a bearing RUL prediction model based on time-frequency analysis and deep learning. The time-frequency analysis method is continuous wavelet transform, and the deep learning is residual convolutional neural network and channel attention mechanism.
[0007] It is characterized in that, firstly, the original vibration data of the bearing is processed into a time-frequency map (TFM) through CWT; secondly, a RUL prediction model is constructed based on channel attention and residual convolutional network and trained using the TFM data of the bearing training set to obtain a model with the best performance index. Finally, based on the trained model, deep degradation feature extraction and health factor (HI) calculation are performed on the TFM of the bearing test set, and the RUL of the bearing is obtained by using mean smoothing HI and polynomial regression to fit all HI. The technical purpose of the invention is achieved through the following technical steps:
[0008] Step 1: Dataset Construction
[0009] First, the full life vibration acceleration data of all rolling bearings collected are divided into training sets With the test set , where X n represents the full life vibration acceleration data of the nth bearing in the training set, Y n Represents the full life vibration acceleration data of the nth bearing in the test set.
[0010] Considering that rolling bearings run in the healthy or insufficient lubrication (slightly deteriorated) stage for most of the time in their entire life cycle, this paper divides the failure stages of bearings through expert knowledge and normal distribution to construct a new bearing test set , based on the corresponding expert knowledge, the effective value of the bearing vibration acceleration signal is determined. The specific formula is as follows:
[0011]
[0012] Where N is the total number of sampling points of a bearing in the training set, x i is the amplitude of the i-th sampling point. When the RMS value of the bearing at a certain sampling moment exceeds the RMS value of the first 50% of the bearing life cycle, it is considered as bearing failure data. The normal distribution of bearing stage bonus and the required data are as follows:
[0013]
[0014]
[0015] in , W is the average residual between the original frequency domain features and the reconstructed frequency domain features of the first 85% of the bearing.
[0016] x i When the average residual exceeds three standard deviations plus the threshold W, the data at the i-th sampling moment is classified as bearing fault data.
[0017] Combining the above two methods, a new bearing fault test set Y is constructed test_c .
[0018] Step 2: TFM feature dataset construction
[0019] Firstly, the CWT is used to extract the time-frequency features of the bearing training set and test set respectively, and the time-frequency spectrum TFM is generated. Then, the bilinear interpolation algorithm is used with the image channel splicing to reduce the dimension of the TFM in each direction of the bearing data and splice them to form a new bearing TFM feature training set and test set.
[0020] Step 3: Generate a real health label
[0021] Add the true life label to the bearing TFM feature training set, which is defined as follows:
[0022]
[0023] AutHI is the true life label. When AutHI is 0, the bearing is healthy, and when AutHI is 1, the bearing is completely failed.
[0024] Step 4: Training of HI prediction network
[0025] The TFM feature training set data and labels generated in steps 3 and 4 are input into the RUL prediction network composed of channel attention and residual convolution network for training. When the network converges to a certain MSE value or the training reaches the set number of cycles, the training is stopped and the network weights are saved to obtain the trained HI prediction network.
[0026] Step 5: Test set bearing HI prediction:
[0027] The bearing TFM data in the test set generated in step 2 is input into the trained HI prediction network to obtain the predicted HI of each bearing in the test set.
[0028] Step 6: Test set bearing RUL prediction:
[0029] First, mean smoothing is used to remove abnormal points in the predicted HI of the bearing and converge the degradation trend. Then, the smoothed predicted HI is fitted with a polynomial to obtain the regression equation, and the predicted RUL of the bearing is obtained through further calculation.
[0030] Compared with the prior art, the present invention adopts the above technical solution and has the following advantages:
[0031] (1) In the RUL prediction network of the present invention, channel attention can also focus on the effective degradation features of the degraded data in the channel direction, giving higher weights to the effective features. The residual convolutional network increases the network depth while avoiding the degradation of network performance.
[0032] (2) The present invention combines the RUL prediction model with expert knowledge of bearing degradation, which not only reduces the computational complexity of the network, but also reduces redundant invalid data in the prediction process and improves the RUL prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the overall process of a specific embodiment of the present invention;
[0034] Figure 2 It is the time-frequency characteristic spectrum of the bearing of the present invention;
[0035] Figure 3 A schematic diagram of a prediction neural network structure according to a specific embodiment of the present invention;
[0036] Figure 4 This is the bearing prediction HI fitting regression diagram for a specific embodiment of this scheme. DETAILED DESCRIPTION
[0037] The present invention is now further described with reference to examples and drawings:
[0038] like Figure 1 As shown, a method for predicting the remaining life of a rolling bearing is provided using the PHM2012 bearing data set, including the following steps:
[0039] Step 1: Dataset Construction
[0040] Bearing1-1, 1-2, 2-1, 2-2, 3-1, and 3-2 in the PHM2012 data set are divided into training sets; Bearing1-3, 1-4, 1-4, 1-5, 1-6, 1-7, 2-3, 2-4, 2-5, 2-6, 2-7, and 3-3 are divided into test sets, and the data of the bearings in the test set are divided into normal and abnormal data through expert knowledge of the bearing operation process and normal distribution, and a new test set is formed. Take Bearing1-3 in the test set as an example: the RMS of the first 50% of the bearing data is about 0.6, and the value of the threshold W in the normal distribution is about [-1.14-1.19]. When the RMS value of the bearing at a certain moment is greater than 0.6 or the mean value at the sampling moment exceeds the range of the threshold W, it will be classified as fault data.
[0041] Step 2: TFM feature set construction:
[0042] First, the time-frequency characteristics of the bearing data are extracted based on CWT, and a time-frequency spectrum is generated, as shown in the attached figure. Figure 2 As shown in the figure, Morlet wavelet is used as the wavelet basis for time-frequency transformation; secondly, the size of the generated time-frequency spectrum is fixed at 640×640 (pixels) and the coloring interval of the time-frequency spectrum is fixed; finally, the time-frequency spectrum of 640×640 is reduced to 224×224 by bilinear interpolation, and the time-frequency spectrum of the bearing in the horizontal and vertical directions is spliced based on the channel to form a new bearing TFM feature dataset.
[0043] Step 3: Confirm the health label
[0044] Based on the formula, all bearing test sets (TFM) are labeled with true life labels.
[0045] Step 4: Training of HI prediction network
[0046] The HI prediction network of the invention consists of 9 layers of two-dimensional convolutional layers Conv2D, 1 layer of pooling Pool, 6 layers of channel attention, 1 layer of flattening and 2 layers of fully connected layers. The specific structure and parameters are shown in the attached figure. Figure 3 shown.
[0047] During the training process, all bearing training sets and their corresponding true life labels are first input into the network; secondly, the deep degradation feature matrix is obtained after attention weighted calculation and convolution calculation of TFM data; finally, the deep degradation features are flattened using the flattening layer, and the one-dimensional feature deep degradation features are reduced in dimension through two fully connected layers to obtain the predicted HI.
[0048] The predicted HI and the true lifespan label are compared through the loss function and fed back to the network. Finally, the HI prediction network stops training after reaching the set accuracy target or number of cycles, and outputs the network weight model. The specific network training hyperparameter settings are shown in the following table
[0049]
[0050] Step 5: Test set HI prediction
[0051] Input the data of the bearing test set into the HI prediction network trained in step 4 to obtain the predicted HI of each bearing in the test set.
[0052] Step 6: RUL prediction for the test set
[0053] Use the polynomial equation to fit and regress all test sets to predict HI as follows Figure 4 As shown, the RUL of the bearing is obtained.
[0054] We further use the PHM2012 dataset to evaluate the predicted RUL results by prediction error, and use the score as the evaluation criterion for the overall accuracy of the model. Their definitions are as follows:
[0055] Prediction Error:
[0056]
[0057] Where Er represents the prediction error, ActRUL represents the actual remaining life of the bearing, and PRUL represents the predicted remaining life of the bearing.
[0058] In actual production life, under-prediction (Er>0) is better than over-prediction (Er<0). Therefore, in subsequent experiments, we use the evaluation index score to describe this influence. The evaluation score of the i-th bearing is defined as follows:
[0059]
[0060] A i The closer it is to 1, the higher the prediction accuracy. Under the same accuracy, the under-prediction score is higher than the over-prediction score. The evaluation index A of all N test bearings is averaged to obtain the evaluation score of the model to evaluate the overall accuracy of the model, which is recorded as Score.
[0061]
[0062] To prove the advancedness of this method, under the same dataset (PHM2012), it is compared with the combined network ResNet+TCN (see the literature "Ma Juntian, Zhang Suming, Yan Xiaotao, Chen Haibao. Research on mechanical vibration signal feature extraction and life prediction method based on image recognition[J]. Aerospace General Technology, 2021(4):33-42"), LSTM-ED (see the literature "Liu L, Song X, Chen K, et al. An enhanced encoder–decoder framework for Bearing remaining useful life prediction[J]. Measurement, 2021, 170: 108753."), SOM (see the literature "HongS, Zhou Z, Zio E, et al. Condition assessment for the performance degradationof Bearing based on a combinatorial feature extraction method[J]. DigitalSignal Processing, 2014, 27: 159-166.") and the PHM2012 competition winning algorithm (see the literature "SutrisnoE, Oh H, Vasan ASS, et al. Estimation of remaining useful life of ballBearings using data driven methodologies[C] / / 2012 ieee conference onprognostics and health management. IEEE, 2012: 1-7.”) and the prediction results are shown in Table 2.
[0063] Table 2 Comparison between different methods
[0064]
[0065] Compared with these methods, the average error of the method proposed in this invention on the test set is smaller than that of other methods, and the evaluation score is higher. Therefore, it can be proved that the method proposed in this invention can effectively predict the remaining life on the PHM2012 data with good accuracy.
[0066] For those skilled in the art, according to the teachings of the present invention, without departing from the principles and spirit of the present invention, changes, modifications, substitutions and variations made to the implementation methods are still within the protection scope of the present invention.
Claims
1. A bearing remaining life prediction method based on time-frequency analysis and deep learning, which is composed of continuous wavelet transform, deep learning residual convolutional neural network and channel attention mechanism. It is characterized in that The original vibration data of the bearing is processed into a time-frequency map (TFM) through CWT. The RUL prediction model is constructed based on channel attention and residual convolutional network and trained using the TFM data of the bearing training set to obtain the model with the best performance indicators. Based on the trained model, deep degradation feature extraction and health factor (HI) calculation are performed on the TFM of the bearing test set. The RUL of the bearing is obtained by using mean smoothing HI and polynomial regression to fit all HIs.
2. A method for predicting the remaining life of a bearing based on time-frequency analysis and deep learning as described in claim 1, wherein the implementation steps are as follows: Step 1: First, the collected full-life vibration acceleration data of all rolling bearings are divided into a training set With the test set , where X n represents the full life vibration acceleration data of the nth bearing in the training set, Y n Represents the full life vibration acceleration data of the nth bearing in the test set. As rolling bearings run in the healthy or insufficient lubrication (slightly deteriorated) stage for most of the time in their entire life cycle, the present invention divides the failure stages of bearings through expert knowledge and normal distribution to construct a new bearing test set. , based on the corresponding expert knowledge, the effective value of the bearing vibration acceleration signal is judged. When the RMS value of the bearing at a certain sampling moment exceeds the RMS value of the first 50% of the bearing life cycle, it is identified as bearing fault data. The normal distribution of bearing stage bonus points and the required data are as follows: , ;in , W is the average residual between the original frequency domain features and the reconstructed frequency domain features of the first 85% of the bearing. i When the average residual exceeds three standard deviations plus the threshold W, the data at the i-th sampling time is divided into bearing fault data. Combining the above two methods, a new bearing fault test set Y is constructed. test_c ; Step 2: First, use CWT to extract the time-frequency features of the bearing training set and test set respectively, and generate the time-frequency spectrum TFM; then, use the bilinear interpolation algorithm and image channel splicing to reduce the dimension of the TFM in each direction of the bearing data and splice it to form a new bearing TFM feature training set and test set; Step 3: Add the real life label to the bearing TFM feature training set , where AutHI is the true life label. When AutHI is 0, the bearing is healthy, and when AutHI is 1, the bearing is completely failed. Step 4: Input the TFM feature training set data and labels generated in steps 3 and 4 into the RUL prediction network composed of channel attention and residual convolution network for training. When the network converges to a certain MSE value or trains to a set number of cycles, stop training, and save the network weights to obtain a trained HI prediction network. Step 5: Input the bearing TFM data in the test set generated in step 2 into the trained HI prediction network to obtain the predicted HI of each bearing in the test set. Step 6: First, use mean smoothing to remove abnormal points in the predicted HI of the bearing and converge the degradation trend. Then, use the polynomial to fit the smoothed predicted HI to obtain the regression equation, and obtain the predicted RUL of the bearing through further calculation.
