Construction method of sequential periodic ResNet network model in rolling bearing fault diagnosis

By constructing a sequential periodic ResNet network model, combined with the residual network and attention mechanism, the problem of low classification accuracy of traditional methods in rolling bearing fault diagnosis is solved, and higher fault diagnosis accuracy and feature extraction effects are achieved.

CN114254669BActive Publication Date: 2024-09-06ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111426438.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-27
Publication Date
2024-09-06
Estimated Expiration
2041-11-27

AI Technical Summary

Technical Problem

Traditional time series classification methods are difficult to cope with the complex operating environment of rolling bearings, and shallow network structures are difficult to solve the fault classification problem of complex nonlinear signals, resulting in low classification accuracy.

Method used

Construct a time series periodic ResNet network model, use the residual network and attention mechanism module, preprocess the time series data, divide the time series period segments, train and test the model to improve fault diagnosis accuracy.

Benefits of technology

It significantly improves the classification accuracy of rolling bearing fault diagnosis, simplifies the data processing process, enhances feature extraction capabilities, and improves the experimental results of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114254669B
    Figure CN114254669B
Patent Text Reader

Abstract

The present invention proposes a method for constructing a time series periodic ResNet network model in rolling bearing fault diagnosis, which is used to solve the technical problems that the traditional time series classification method is not capable of coping with the complex operating environment of rolling bearings, and the shallow network structure is difficult to solve the fault classification of complex nonlinear signals, and the classification accuracy is low. The present invention includes obtaining multiple groups of rolling bearing time series data in different states, and preprocessing the rolling bearing time series data, and then dividing the preprocessed rolling bearing time series data into multiple time series period segments and performing label classification, constructing a time series periodic ResNet network model to extract the features of the rolling bearing time series data for fault diagnosis, and finally outputting the classification results of the rolling bearing fault diagnosis. The present invention simplifies the operation process of deep learning and significantly improves the fault diagnosis accuracy of the bearing data set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rotating machinery fault diagnosis based on machine learning technology, and in particular to a method for constructing a sequential periodic ResNet network model in rolling bearing fault diagnosis. Background Art

[0002] Time series refers to a set of data collected over time. This type of data directly reflects the state and trend of a variable over time, and is one of the indispensable characteristics of many data. In view of the classification of time series data, the study found that the characteristic law of time series data is of great significance to the fault diagnosis of mechanical equipment.

[0003] Rolling bearings are one of the important parts of mechanical equipment. The health of bearings directly affects the normal operation of mechanical equipment. With the rapid development of modern industry, the industrial system as a whole has become complex, intelligent and diversified. At the same time, various parts of mechanical equipment have become more and more complex. Therefore, the health and fault diagnosis of rolling bearings are very important.

[0004] In the traditional time series bearing fault classification method, the process is to collect the original vibration signal and preprocess it, extract the vibration signal features, and use the feature extraction as the input of the classifier to complete the classification task. The traditional time series classification method is not capable of coping with the complex operating environment of rolling bearings. With the rapid development of artificial intelligence, the time series classification task based on deep learning has shown strong competitiveness and has rapidly expanded to multiple fields. Common classifiers include support vector machines and sparse autoencoders, but shallow network structures make it difficult to solve the fault classification problem of complex nonlinear signals, and the classification accuracy is low. Summary of the invention

[0005] In view of the technical problems that traditional time series classification methods are not capable of coping with the complex operating environment of rolling bearings, and shallow network structures are difficult to solve the fault classification problems of complex nonlinear signals and have low classification accuracy, the present invention proposes a method for constructing a time series periodic ResNet network model in rolling bearing fault diagnosis, which simplifies the operation process of deep learning and significantly improves the fault diagnosis accuracy of bearing data sets.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solution: a method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis, comprising the following steps:

[0007] Step 1: Obtain multiple sets of rolling bearing time series data in different states and perform preprocessing to construct a time series data set;

[0008] Step 2: Divide the time series data set into multiple time series period segments, and classify each time series period segment;

[0009] Step 3: Use the residual network and integrate the attention mechanism module to build a time-series periodic ResNet network model;

[0010] Step 4: Divide the multiple timing period segments in step 2 into training samples and test samples. The training samples are used to train the timing period ResNet network model. The test samples are input into the trained timing period ResNet network model, and the classification results of rolling bearing fault diagnosis are obtained through the Softmax classifier.

[0011] The method for preprocessing rolling bearing time series data is as follows: there are some irregular variables in the rolling bearing time series data during the acquisition process, and some irregular variables in the rolling bearing time series data are removed by calculating the standard deviation of the time series data; the preprocessed rolling bearing time series data has a regular time series period.

[0012] The method of dividing the time series data set into multiple time series period segments is as follows: based on the preprocessed rolling bearing time series data having a regular time series period, the original vibration signal of each time series period segment is obtained by using the rotation speed of the motor rolling bearing, and the number of data points r of each time series period segment and the total number of time series periods h are calculated, thereby dividing the time series data set into multiple time series period segments, and each time series period segment has the same periodic law, and the periodic data matrix is ​​obtained as follows:

[0013]

[0014] Wherein, r represents the data length of each timing cycle segment; h represents the total number of timing cycle segments.

[0015] The method for classifying each time series periodic fragment is to complete the classification of each time series periodic fragment by adding labels to the periodic data matrix, and obtain:

[0016]

[0017] Among them, μ=[μ1,μ2,μ3,…,μ s ] represents the label value of each timing cycle segment.

[0018] In step four, the timing period ResNet network model uses a residual network to extract the rolling bearing timing data features in each type of timing period segment, and then the residual network outputs the extracted features to the attention mechanism module for amplification and filtering, thereby further extracting the features of the rolling bearing timing data in each type of timing period segment.

[0019] The residual network uses skip connections to achieve identity mapping. For the input data x τ , the original expected output is β(xτ ), if x τ As the new expected output, the learning goal is α(x τ )=β(x τ )-x τ , let α(x τ )=0, forming the identity mapping β(x τ )=x τ ; If the original expected output result β(x τ ) and the input data x τ The difference between is taken as the new expected output result, then:

[0020] β(x τ )=α(x τ ,{W h})+x τ

[0021] Where: x τ represents the input data of the τth layer; β(x τ ) represents the original expected output result; α(x τ ,{W h}) represents the learned residual mapping; the residual network contains two layers of convolution, then α=W2σ(W1x τ ); W1 and W2 represent the weights of the first and second convolutional layers respectively; τ represents the number of input data x; h represents the hth convolution; σ represents the ReLU activation function. The residual network uses skip connections to achieve the idea of ​​identity mapping, that is, the expected input is equal to the expected output, which solves the degradation problem of deep networks due to the deepening of network layers. After adding the attention mechanism module, the residual network still has smooth information transmission.

[0022] The residual network adopts a back propagation algorithm, and the forward process of the residual network in the back propagation process is:

[0023]

[0024] ψ l =σ(W l ξ l-1 +η l )

[0025] Where: represents the output of the i-th element of the l-th layer; ε i Represents the region position of the i-th element of the (l-1) layer input; represents the output of the (l-1) layer; W i l represents the weight of the i-th element in layer l; represents the bias value of the i-th element in layer l; l represents the number of network layers; ψl represents the output of the lth layer; ξ l-1 represents the feature matrix of the (l-1) layer; W l is the weight coefficient matrix of the lth layer; η l Indicates the offset value.

[0026] The reverse propagation process of the residual network during the back propagation process is:

[0027]

[0028]

[0029] Where: and Respectively represent the weight value and bias value of each layer of the network after recalculation and update; W and η represent the weight value and bias value of each layer of the network calculated by the forward propagation process; δ represents the learning rate; and It means to derive the weight and bias values ​​of each layer of the network calculated in the forward propagation process, and further update the weight and bias values.

[0030] The attention mechanism module includes an average pooling layer and two fully connected layers. The attention mechanism module compresses the features of the rolling bearing time series data in each input time series period fragment into a fixed size. The average pooling layer calculates the average value of all values ​​of each feature compressed into a fixed size, compresses the information into the channel of the κth element, and generates the channel statistical information φ of the κth element. κ The channel statistics are generated by shrinking the characteristics of the rolling bearing time series data to obtain:

[0031]

[0032] Where: φ κ represents the channel statistics of the κth element of the attention mechanism module; E L represents the input length of the feature map; x represents the output of the upper network, that is, the output of the fourth residual block of the residual network; t represents the length of the input data x.

[0033] Statistics by channel The channel weights are derived and we get:

[0034]

[0035] Where: represents the channel weight of the κth element of the attention mechanism module; σ represents the ReLU activation function; W1 and W2 are the weight parameters of the two fully connected layers respectively.

[0036] By channel weight Derive the output of the attention mechanism module:

[0037]

[0038] Where: Represents the output value of the attention module; x t Represents the input of the attention mechanism module; t represents the total number of input data x of the attention mechanism module.

[0039] The beneficial effects of the present invention are:

[0040] 1. The present invention does not require excessive preprocessing of the rolling bearing vibration signal and avoids complex statistical learning, so it is easy to process and extract data features without requiring complex calculation processes.

[0041] 2. The present invention improves the time series classification task, constructs a deep neural network model that combines time series features, and completes the multi-state classification task of the bearing time series data set; the neural network model introduces an attention mechanism to enhance the correlation of channel features.

[0042] 3. The present invention solves the problem of decreased detection accuracy caused by the degradation of deep neural networks, significantly improves the classification accuracy of rolling bearing fault diagnosis methods, has high classification accuracy, and improves model experimental results. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 is a flow chart of the present invention;

[0045] Figure 2 The processing flow of the residual network on input data in the present invention;

[0046] Figure 3 This is a network structure diagram of the attention mechanism module of the present invention;

[0047] Figure 4 It is a structural diagram of the timing cycle ResNet network model of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] like Figure 1 As shown, the present invention provides a method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis, which specifically includes the following steps:

[0050] Step 1: Obtain multiple sets of rolling bearing time series data in different states and perform preprocessing to construct a time series data set.

[0051] Specifically, the one-dimensional time series vibration signal of the rolling bearing is first collected, multiple sets of rolling bearing time series data in different states are obtained, and the original time series data set is constructed. The rolling bearing time series data obtained by the experimental platform belongs to a continuous, multivariate time series.

[0052] Then, the rolling bearing time series data in the original time series data set is preprocessed. There are multiple characteristic points in the time series of rolling bearing time series data, including: 1) the time series data has a trend of changing over time during collection; 2) the time series data has correlation at different time points; 3) the time series data shows time series periodicity; 4) there are some irregular variables (i.e., unbalanced components) in the process of acquiring the time series data, etc. In this embodiment, the rolling bearing time series data is preprocessed according to the irregular variables that appear in the collection process, and the data is standardized, that is, some irregular variables in the rolling bearing time series data are removed by obtaining the standard deviation of the time series data, so that the preprocessed rolling bearing time series data has regular time series periodicity characteristics, and the rolling bearing time series data with regular time series period after preprocessing is constructed as a new time series data set.

[0053] Step 2: Divide the new time series data set into multiple time series period segments. The time series data set is composed of λ groups of time series with different states, which can be defined as ξ=[α1,α2,…,α λ ], then a time series period segment θ=[α δ ,α δ+1 ,…,α δ+l] is a subset fragment of the entire time series in the time series data set. According to the regular time series period of the preprocessed rolling bearing time series data, the original vibration signal of each time series period fragment is obtained by using the rotation speed of the motor rolling bearing, and the number of data points r and the total number of time series periods h of each time series period fragment are calculated, so as to divide the new time series data set into multiple time series period fragments, and each time series period fragment has the same periodic law, so as to obtain the periodic data of each time series period fragment. The preprocessed rolling bearing time series data has several groups of different state variables, and each group of variables represents the original time series of normal rolling bearings and different types of faults. Using the periodic characteristics of each time series period fragment in the new time series data set, a periodic data matrix is ​​obtained:

[0054]

[0055] Wherein: r represents the data length of each timing cycle segment; h represents the total number of timing cycle segments.

[0056] By adding labels to the periodic data matrix, each time series period segment is classified and obtained:

[0057]

[0058] Among them: μ=[μ1,μ2,μ3,…,μ s ] represents the label value of each timing cycle segment.

[0059] By dividing the rolling bearing time series data in the new time series data set into specific subset segments, supervised classification is performed to complete data class label processing and realize rolling bearing fault diagnosis and classification.

[0060] Step 3: Use the residual network and integrate the attention mechanism module to build a time-series ResNet network model to extract the features of the rolling bearing time series data in each time-series period segment for fault diagnosis. The time-series ResNet network model uses the residual network to extract the rolling bearing time series data features in each type of time-series period segment, and then the residual network outputs the extracted features to the attention mechanism module for amplification and filtering, so as to further extract the features of the rolling bearing time series data in each type of time-series period segment.

[0061] The structure of the time series periodic ResNet network model includes an input layer, a hidden layer, an attention module, and an output layer. The hidden layer includes four residual blocks, each of which contains four convolutional layers and one pooling layer. The number of convolution kernels of the four convolution layers is 64, 128, 256, and 512, respectively. The convolution kernel size is 3 and the convolution kernel step is 2. The residual network is used to extract the features of the rolling bearing time series data to prevent overfitting. The attention mechanism module belongs to the information filtering processing structure, which selects more useful information from a large amount of information, ignores defective information, and assigns different attention mechanism weight values ​​to the input time series data. Each weight range is controlled between 0 and 1, so as to further extract the features of the rolling bearing time series data and complete the time series classification task.

[0062] The time-series periodic ResNet network model uses a skip-connected residual network to achieve identity mapping. The residual network structure has a deeper level and uses a skip connection to achieve identity mapping. The input data is directly passed to the lower hidden layer as output as the input of the lower hidden layer. The residual network is a local learning network. Through the skip connection method, the model training result is close to 0, solving the problem of deepening the number of network layers and reducing the classification accuracy.

[0063] Assume that the input data of the residual network is x τ , the original expected output is β(x τ ), if x τ As the new expected output, the learning goal is α(x τ )=β(x τ )-x τ , let α(x τ )=0, forming the identity mapping β(x τ )=x τ ; If the original expected output result β(x τ ) and the input data x τ The difference between is taken as the new expected output result, then:

[0064] β(x τ )=α(x τ ,{W h})+x τ

[0065] Where: x τ represents the input data of the τth layer; β(x τ ) represents the original expected output result; α(x τ ,{W h}) represents the learned residual mapping; the residual network contains two layers of convolution, then α=W2σ(W1x τ); W1 and W2 represent the weights of the first and second convolutional layers respectively; τ represents the number of input data x; h represents the hth layer of convolution; σ represents the ReLU activation function.

[0066] The residual network uses skip connections to achieve the idea of ​​identity mapping, that is, the expected input is equal to the expected output, which solves the degradation problem of deep networks due to the deepening of network layers. After adding the attention mechanism module, the residual network still has smooth information transmission and will not have degradation problems.

[0067] The internal structure of the residual network is as follows Figure 2 As shown in the figure, the residual network consists of four layers of residual blocks, namely Conv2, Conv3, Conv4, and Conv5. Conv represents the convolutional layer, BN represents batch normalization, pooling represents the pooling layer, ReLU represents the activation function, and FC represents the fully connected layer. Represents the output of the network layer. The module structure formula is:

[0068]

[0069]

[0070]

[0071] Where: l represents the lth convolutional layer; x l Represents the input of the lth convolutional layer; represents the output of the l+1th convolutional layer; represents the output of the pooling layer after the l+1th convolutional layer; y c Represents the output value of the residual network.

[0072] The back propagation of the residual network consists of the forward propagation process and the reverse propagation process. In the forward propagation process, the information passes through the input layer, the hidden layer and finally to the output layer, and the features are stored in the weight W and bias b of each layer. The parameters W and b are updated by reverse propagation.

[0073] The forward process in the residual network back propagation process is:

[0074]

[0075] ψ l =σ(W l ξ l-1 +η l )

[0076] Where: represents the output of the i-th element of the l-th layer; ε i Represents the region position of the i-th element of the (l-1) layer input; represents the output of the (l-1) layer; W i l represents the weight of the i-th element in layer l; represents the bias value of the i-th element in layer l; l represents the number of network layers; ψ l represents the output of the lth layer; ξ l-1 represents the feature matrix of the (l-1) layer; W l is the weight coefficient matrix of the lth layer; η l Represents the bias value. After the input signal is processed by each layer of the residual network, a forward propagation process is completed.

[0077] The reverse propagation process of the residual network is:

[0078]

[0079]

[0080] Among them, in the formula: and Respectively represent the weight value and bias value of each layer of the network after recalculation and update; W and η represent the weight value and bias value of each layer of the network calculated by the forward propagation process; δ represents the learning rate; and It means to derive the weight and bias values ​​of each layer of the network calculated in the forward propagation process, and further update the weight and bias values.

[0081] The network structure of the attention mechanism module is as follows Figure 3 As shown in Figure 1, the attention mechanism module includes an average pooling layer and two fully connected layers, and the first layer is an average pooling layer, and the second and third layers are two fully connected layers. The parameters that affect the attention mechanism module include channel statistics φ κ , the number of channels C and the attenuation factor r. The output of the fourth residual block of the residual network is the input of the attention mechanism module. The attention mechanism module compresses the features of the rolling bearing timing data in each time period segment of the input into a fixed feature size. The average pooling layer calculates the average value of all the values ​​of each feature compressed to a fixed size, compresses the information into the channel of the κth element, generates the channel statistics of the κth element, and then derives the channel weight through the channel statistics to extract the feature ratio with higher weight, and compresses the feature information mapping using the feature channel weight number of the attention mechanism.

[0082] The channel statistics are generated by shrinking the characteristics of the rolling bearing time series data to obtain:

[0083]

[0084] Where: φ κ represents the channel statistics of the κth element of the attention mechanism module; E L represents the input length of the feature map; x represents the output of the upper network, that is, the output of the fourth residual block of the residual network; t represents the length of the input data x.

[0085] Statistics by channel The channel weights are derived and we get:

[0086]

[0087] Where: represents the channel weight of the κth element of the attention mechanism module; σ represents the ReLU activation function; W1 and W2 are the weight parameters of the two fully connected layers respectively.

[0088] By channel weight Derive the output of the attention mechanism module:

[0089]

[0090] Where: Represents the output value of the attention module; x t Represents the input of the attention mechanism module; t represents the total number of input data x of the attention mechanism module.

[0091] The overall structure of the timing cycle ResNet network model is as follows Figure 4 As shown in the figure, the residual network model with the attention mechanism module is used to solve the problem of time series feature extraction and amplify the internal connection of the time series, so as to further extract the rolling bearing time series data features in each time series period segment.

[0092] Step 4: Divide the multiple timing period segments in step 2 into training samples and test samples. The training samples are used to train the timing period ResNet network model to extract features of rolling bearing timing data. The test samples are input into the trained timing period ResNet network model, and the classification results of rolling bearing fault diagnosis are obtained through the Softmax classifier.

[0093] Finally, the time series periodic ResNet network model is evaluated. First, the model evaluation parameters are selected. The time series periodic ResNe t network model uses the optimizer and loss function to adjust the operating parameters, and the ROC curve is used for result evaluation. The parameter optimizer of the time series periodic ResNet network model uses the Adam optimizer to handle multi-classification problems; the calculation of the loss function of the time series periodic ResNet network model parameters is to calculate the deviation between the predicted value of the training sample and the true value through the loss function, compare the output obtained by the model and the difference between the actual output corresponding to the training sample, and target the minimum loss function. The cross entropy loss function is:

[0094]

[0095] Among them, υ represents the number of training samples; χ represents the predicted value of the prediction result of the residual network propagation process; ω represents the true value of the actual output result. Using the cross entropy loss function in multi-classification tasks has obvious advantages.

[0096] Evaluation indicators of the time series period ResNet network model. The model results are evaluated using a multi-classification ROC curve. The area under the ROC curve (AUC) is calculated, and the model performance is judged by comparing the size of the AUC. The AUC is calculated by using the confusion matrix to obtain the positive and negative samples of the label of the time series period data, and the false positive rate and true positive rate of each label are calculated for different diagnostic results of different labels:

[0097]

[0098]

[0099] Then, the average of the false positive rate and true positive rate of each label is calculated, and the area of ​​each label is obtained by multiplying the average of the false positive rate and true positive rate of each label as the horizontal and vertical coordinates (length and width). The AUC value is the sum of the areas of all labels. Finally, the superiority of the time-series periodic ResNet network model is highlighted by comparing the sizes of the AUC values.

[0100] Experimental classification analysis is performed on multiple groups of rolling bearing time series data in different states to verify the accuracy of the time series classification results of the time series period ResNet network model. The rolling bearing fault diagnosis data used in the present invention is provided by the Bearing Data Center of Case Western Reserve University in the United States (https: / / engineering.case.edu / bearingdatacenter), and the constructed time series data set contains multiple groups of vibration signals generated by the bearing test bench. The experimental verification uses the SKF 6025 drive end data type of the Case Western Reserve University bearing data, the sampling frequency is 12kHz, and the two bearing speeds are 1797r / min and 1730r / min respectively. The vibration signal used in the experiment is collected from the motor drive end of the test bench under the healthy working condition of the bearing. The four bearing data types are: (1) normal condition (Normal), (2) inner ring fault (IF), (3) outer ring fault (OF), and (4) rolling element fault (BF). These three faults are all caused by electrospark machining of diameters of 0.178mm, 0.356mm and 0.534mm. The time series data set consists of 20 data types under four loads, with a total of 20 states. 300 samples are selected for each type of data, 200 of which are randomly selected as training samples and 100 as test samples. The distribution of the time series data set is shown in Table 1:

[0101] Table 1 Dataset settings

[0102]

[0103] The original time series data set is integrated through Matlab to build a time series periodic ResNet network model. The preprocessed time series data set with periodicity is processed into a ".mat" file based on the label, and the ".mat" file is imported as a model input on Python. Use Python to build the time series periodic ResNet network model operating environment, set Keras and Tensorfow version parameters, and use ReLU activation function and Softmax classifier to complete the classification task.

[0104] In order to verify the effectiveness and superiority of the time series periodic ResNet network model proposed in this invention, the same data is used to compare the prediction effects of the model using the following 6 methods:

[0105] Method 1: Support Vector Machine (SVM);

[0106] Method 2: Stacked Autoencoder (SAE);

[0107] Method 3: Convolutional Neural Network (CNN);

[0108] Method 4: Residual Network (ResNet);

[0109] Method 5: Attention Mechanism Residual Network (A-ResNet);

[0110] Method 6: The fault diagnosis method based on the timing periodic ResNet network model provided by the present invention.

[0111] The experimental results of the average accuracy of different diagnostic methods are shown in Table 2:

[0112] Table 2 Experimental comparison results of different methods

[0113]

[0114] As can be seen from Table 2, the classification results of different classification algorithms on the time series data set of rolling bearings show that among the comparison methods, the support vector machine (SVM), stacked autoencoder (SAE), convolutional neural network (CNN), residual network (ResNet) and attention mechanism residual network (A-ResNet) have successively improved the detection accuracy of rolling bearings. The average accuracy of the attention mechanism residual network reaches 90.42%, which is higher than the other four methods. However, the accuracy of the SVM method with extracted features as model input is 67.48%, which is lower than the other four diagnosis methods, indicating that the SVM method has a low ability to identify bearing faults. The time series periodic ResNet network model proposed in the present invention has a diagnostic accuracy of 99.85% for 20 different types of original vibration data of rolling bearings. The classification accuracy is 9.43% higher than that of the attention mechanism residual network without time series processing, and 11.36% higher than that of the residual network model, which has significant advantages compared with several other algorithms.

[0115] The performance evaluation AUC values ​​of the comparison methods are shown in Table 3:

[0116] Table 3 AUC comparison results of different methods

[0117]

[0118] As shown in Table 3, the AUC values ​​of support vector machine (SVM), stacked autoencoder (SAE) and convolutional neural network (CNN) are between [0.7, 0.85], and their performance is average; the AUC values ​​of residual network (ResNet), attention mechanism residual network (A-ResNet) and the proposed method are between [0.85, 0.95], and their performance is good. Among them, the AUC value of the proposed method is closest to 1, showing a better performance.

[0119] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis, characterized in that: The following steps are involved: Step 1: Obtain multiple sets of rolling bearing time series data in different states and perform preprocessing to construct a time series data set; The method for preprocessing rolling bearing time series data is as follows: there are some irregular variables in the rolling bearing time series data during the acquisition process, and some irregular variables in the rolling bearing time series data are removed by obtaining the standard deviation of the time series data; the preprocessed rolling bearing time series data has a regular time series period; Step 2: Divide the time series data set into multiple time series period segments, and classify each time series period segment; The method of dividing the time series data set into multiple time series period segments is as follows: based on the preprocessed rolling bearing time series data having a regular time series period, the original vibration signal of each time series period segment is obtained by using the rotation speed of the motor rolling bearing, and the number of data points r of each time series period segment and the total number of time series periods h are calculated, thereby dividing the time series data set into multiple time series period segments, and each time series period segment has the same periodic law, and the periodic data matrix is ​​obtained as follows: Wherein, r represents the data length of each timing cycle segment; h represents the number of total timing cycle segments; Step 3: Use the residual network and integrate the attention mechanism module to build a time-series periodic ResNet network model; Step 4: Divide the multiple timing period segments in step 2 into training samples and test samples. The training samples are used to train the timing period ResNet network model. The test samples are input into the trained timing period ResNet network model, and the classification results of rolling bearing fault diagnosis are obtained through the Softmax classifier.

2. The method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis according to claim 1 is characterized in that: The method for classifying each time series periodic fragment is to complete the classification of each time series periodic fragment by adding labels to the periodic data matrix, and obtain: Among them, μ=[μ1,μ2,μ3,…,μ s ] represents the label value of each timing cycle segment.

3. The method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis according to claim 1 or 2, characterized in that: In step four, the timing period ResNet network model uses a residual network to extract the rolling bearing timing data features in each type of timing period segment, and then the residual network outputs the extracted features to the attention mechanism module for amplification and filtering, thereby further extracting the features of the rolling bearing timing data in each type of timing period segment.

4. The method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis according to claim 3 is characterized in that: The residual network uses skip connections to achieve identity mapping. For the input data x τ , the original expected output is β(x τ ), if x τ As the new expected output, the learning goal is α(x τ )=β(x τ )-x τ , let α(x τ )=0, forming the identity mapping β(x τ )=x τ ; If the original expected output result β(x τ ) and the input data x τ The difference between is taken as the new expected output result, then: β(x τ )=α(x τ ,{W h })+x τ Where: x τ represents the input data of the τth layer; β(x τ ) represents the original expected output result; α(x τ ,{W h }) represents the learned residual mapping; the residual network contains two layers of convolution, then α=W2σ(W1x τ ); W1 and W2 represent the weights of the first and second convolutional layers respectively; τ represents the number of input data x; h represents the hth layer of convolution; σ represents the ReLU activation function.

5. The method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis according to claim 4 is characterized in that: The residual network adopts a back propagation algorithm, and the forward process of the residual network during the back propagation process is: ψ l =σ(W l x l-1 +n l ) Where: represents the output of the i-th element of the l-th layer; ε i Represents the region position of the i-th element of the (l-1) layer input; represents the output of the (l-1) layer; represents the weight of the i-th element in layer l; represents the bias value of the i-th element in layer l; l represents the number of network layers; ψ l represents the output of the lth layer; ξ l-1 represents the feature matrix of the (l-1) layer; W l is the weight coefficient matrix of the lth layer; η l Indicates the bias value; The reverse propagation process of the residual network during the back propagation process is: Where: and Respectively represent the weight value and bias value of each layer of the network after recalculation and update; W and η represent the weight value and bias value of each layer of the network calculated by the forward propagation process; δ represents the learning rate; and It represents the derivative calculation of the weight and bias values ​​of each layer of the network calculated in the forward propagation process.

6. The method for constructing a time-series periodic ResNet network model in rolling bearing fault diagnosis according to claim 1, 2 or 5, characterized in that: The attention mechanism module includes an average pooling layer and two fully connected layers. The attention mechanism module compresses the features of the rolling bearing time series data in each input time series period fragment into a fixed size. The average pooling layer compresses the information into the channel of the κth element by calculating the average value of all values ​​of each feature compressed into a fixed size, and generates the channel statistical information φ of the κth element. κ The channel statistics are generated by shrinking the characteristics of the rolling bearing time series data to obtain: Where: φ κ represents the channel statistics of the κth element of the attention mechanism module; E L represents the input length of the feature map; x represents the output of the upper network, that is, the output of the fourth residual block of the residual network; t represents the length of the input data x; Through channel statistics φ κ The channel weights are derived and we get: Where: represents the channel weight of the κth element of the attention mechanism module; σ represents the ReLU activation function; W1 and W2 are the weight parameters of the two fully connected layers respectively; By channel weight Derive the output of the attention mechanism module: Where: represents the output value of the attention module; x t Represents the input of the attention mechanism module; t represents the total number of input data x of the attention mechanism module.