Complex equipment key part fault diagnosis method based on non-negative hinge contraction network
By combining the non-negative hinge contraction network with wavelet threshold noise reduction and adaptive Swish activation function, the accuracy problem of fault diagnosis of key parts of complex equipment in a noisy environment is solved, and the accuracy and robustness of fault diagnosis are improved.
Patent Information
- Application Number
- CN202410481947.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-08-30
AI Technical Summary
In harsh environments, the vibration signals of key parts of complex equipment contain a large amount of noise, which causes the fault diagnosis accuracy of deep learning methods to decrease, making it impossible to effectively learn fault characteristics and reducing the accuracy of fault diagnosis.
A fault diagnosis method based on the non-negative hinge shrinkage network is adopted, combined with the wavelet threshold denoising method and deep learning. Through the non-negative hinge shrinkage building unit and the adaptive Swish activation function module, the learnable thresholds and parameters are dynamically inferred to enhance the feature extraction capability. Reduce noise interference.
It improves the accuracy of fault diagnosis of key parts of complex equipment in a noisy environment, overcomes the shortcomings of traditional methods in a noisy environment, and enhances the robustness and diagnostic effect of the model.
Smart Images

Figure CN118568460A
Abstract
Description
Technical Field
[0001] The invention relates to a method for diagnosing a fault of a key part of complex equipment, and in particular to a method for diagnosing a fault of a key part of complex equipment based on a non-negative hinge contraction network. Background Art
[0002] Key parts of complex equipment such as bearings, gears, and motors are widely used in modern industry. However, many parts work in harsh environments, and they will inevitably fail, leading to accidents and economic losses. Fault diagnosis plays a vital role in modern industry. Accurate fault diagnosis of key parts of complex equipment can not only detect early signs of failure, facilitate the arrangement of complex equipment maintenance, shorten its maintenance cycle, and extend its service life, but also prevent major accidents, ensure personal safety, and save operation and maintenance costs.
[0003] Fault diagnosis methods include model-based methods, signal processing-based methods, and data-driven methods. Data-driven fault diagnosis methods have become a research hotspot in academia and industry. Data-driven fault diagnosis methods are divided into fault diagnosis methods based on traditional machine learning and fault diagnosis methods based on deep learning. Fault diagnosis methods based on traditional machine learning mostly use artificial neural networks (ANN), support vector machines (SVM), k-nearest neighbor (kNN) algorithms, decision trees, etc. These methods require a lot of manpower to extract features, and have poor generalization and cannot be applied to the growing data, thereby reducing the accuracy of diagnosis. Fault diagnosis methods based on deep learning overcome the shortcomings of fault diagnosis methods based on traditional machine learning, and most of them use convolutional neural networks (CNN), recurrent neural networks (RNN), autoencoders (AE), deep belief networks (DBN), etc.
[0004] However, due to the harsh and complex working environment, the vibration signals collected from the key parts of many complex equipment usually contain a lot of noise. When processing noisy signals, valuable fault features are easily submerged by noise due to the interference of noise, and the feature extraction ability of deep learning tends to decline. It may not be able to learn fault-related features well, resulting in a decrease in the accuracy of fault diagnosis.
[0005] In summary, it is very important to propose a fault diagnosis method for key parts of complex equipment in noisy environments. Summary of the invention
[0006] In order to solve the problems existing in the background technology, the present invention proposes a method for fault diagnosis of key parts of complex equipment based on a non-negative hinge contraction network.
[0007] The technical solution adopted by the present invention is as follows:
[0008] 1. A Fault Diagnosis Method for Key Parts of Complex Equipment Based on Non-negative Hinge Contraction Network
[0009] S1: Obtain the initial vibration signal of the key parts of complex equipment during operation through sensors;
[0010] S2: After data preprocessing of the initial vibration signal, samples of the training set and the validation set are obtained, and the training set and the validation set are composed of the samples of the training set and the validation set and the corresponding fault types;
[0011] S3: Constructing a non-negative hinge contraction network;
[0012] S4: After training the non-negative hinge contraction network with the training set and the validation set, the fault diagnosis model of key parts of complex equipment is obtained;
[0013] S5: After preprocessing the vibration signal of the key parts to be tested, the test samples are obtained and input into the fault diagnosis model of key parts of complex equipment, and the model outputs the fault type of the current part.
[0014] In S3, the non-negative hinge contraction network includes a wide kernel convolutional layer, multiple non-negative hinge contraction building units, a first batch of normalization layers, a first activation function module, a first global average pooling layer and a first fully connected layer connected in sequence. The input of the non-negative hinge contraction network is used as the input of the wide kernel convolutional layer, and the output of the first fully connected layer is used as the output of the non-negative hinge contraction network.
[0015] The non-negative hinge contraction construction unit includes a threshold module, a non-negative hinge contraction function calculation unit, a batch normalization layer, an activation function module and a convolution layer; the input of the non-negative hinge contraction construction unit is simultaneously used as the input of the threshold module and the non-negative hinge contraction function calculation unit, the threshold module is connected to the non-negative hinge contraction function calculation unit, and the output of the non-negative hinge contraction function calculation unit passes through the second batch normalization layer, the second activation function module, the first convolution layer, the third batch normalization layer, the third activation function module and the second convolution layer in sequence; the identity mapping of the input of the non-negative hinge contraction construction unit and the output of the second convolution layer are added element by element as the output of the non-negative hinge contraction construction unit.
[0016] In the non-negative hinge contraction function calculation unit, the formula of the non-negative hinge contraction function is as follows:
[0017]
[0018] Among them, λ is a learnable threshold, x1 and y1 are the input and output feature elements of the non-negative hinge contraction function, respectively, and || is the absolute value.
[0019] The threshold module includes a wide core channel-by-channel convolution layer, a batch normalization layer, an activation function module and an absolute value operation. The input of the threshold module is used as the input of the first wide core channel-by-channel convolution layer. The output of the first wide core channel-by-channel convolution layer passes through the fourth batch normalization layer, the fourth activation function module and the second wide core channel-by-channel convolution layer in sequence. The output of the second wide core channel-by-channel convolution layer is used as the output of the threshold module after an absolute value operation is performed.
[0020] The activation function module is an adaptive Swish activation function module, including a max(x2,0) function layer, a min(x2,0) function layer, a global average pooling layer, a fully connected layer, a batch normalization layer, a ReLU activation function, a Sigmoid activation function and a Swish activation function; the input of the activation function module is simultaneously used as the input of the max(x2,0) function layer and the min(x2,0) function layer, the max(x2,0) function layer is connected to the second global average pooling layer, and the min(x2,0) function layer is connected to the third global average The outputs of the second global average pooling layer and the third global average pooling layer are concatenated and then input into the second fully connected layer. The output of the second fully connected layer passes through the fifth batch normalization layer, ReLU activation function, the third fully connected layer, the sixth batch normalization layer and the Sigmoid activation function in turn, and then multiplied by 1.5. Then, the input of the activation function module and the 1.5 times Sigmoid activation function output are processed by the Swish activation function and then used as the output of the adaptive Swish activation function module. The formula of the Swish activation function is as follows:
[0021]
[0022] Among them, β is a learnable parameter in the Swish activation function. In the adaptive Swish activation function module, the 1.5-fold Sigmoid activation function output corresponds one-to-one to the activation function module input feature channel, and β is the 1.5-fold Sigmoid activation function output element; x2 and y2 are the input and output of the Swish activation function respectively. In the activation function module, x2 and y2 are the input and output feature elements of the module respectively; Sigmoid() is the Sigmoid activation function.
[0023] 2. A computer device
[0024] The device comprises a memory and a processor, wherein the memory stores a computer program, and the steps of the method are implemented when the processor executes the computer program.
[0025] 3. A computer-readable storage medium
[0026] The medium stores a computer program, which implements the steps of the method when executed by a processor.
[0027] IV. A COMPUTER PROGRAM PRODUCT
[0028] The product comprises a computer program / instructions which, when executed by a processor, implement the steps of the method.
[0029] The beneficial effects of the present invention are:
[0030] 1) The present invention combines the wavelet threshold denoising method with the deep learning method to propose a fault diagnosis method for key parts of complex equipment based on a non-negative hinge contraction network. The core of the method is a non-negative hinge contraction construction unit and an adaptive Swish activation function module, which reduces the impact of noise on feature learning and improves the accuracy of fault diagnosis of key parts of complex equipment in a noisy environment.
[0031] 2) The present invention introduces the non-negative hinge contraction function in the wavelet threshold denoising method into the residual block of the deep residual network, and proposes a non-negative hinge contraction network. In the non-negative hinge contraction building unit, the learnable threshold λ of the function is dynamically inferred through the threshold module, so that different samples get different thresholds through the module. The non-negative hinge contraction function overcomes the shortcomings of the soft threshold function and the hard threshold function, and there is only one learnable parameter, which reduces the number of parameters and the amount of calculation of the model. Compared with the deep residual contraction network (DRSN) and its series of improved models, the position of the threshold module in the residual block is closer to the input end, and noise reduction can be achieved earlier; the wide kernel channel-by-channel convolution layer is used in the threshold module to increase the receptive field, and noise suppression can be achieved element-by-element instead of channel-by-channel, which can achieve more refined noise reduction.
[0032] 3) The present invention proposes an adaptive Swish activation function module, which not only absorbs the advantages of Swish such as smoothness, non-monotonicity, and learnable parameters, but also can dynamically infer the learnable parameter β of the Swish activation function through this module, so that different samples undergo different nonlinear transformations through this module, thereby improving the fault diagnosis effect under different noise intensities. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the process of the present invention.
[0034] Figure 2 This is the structural diagram of the non-negative hinge contraction network.
[0035] Figure 3 Construct a unit cell structure diagram for non-negative hinge contraction.
[0036] Figure 4 This is the module structure diagram of the adaptive Swish activation function. DETAILED DESCRIPTION
[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:
[0038] like Figure 1 As shown, the specific embodiment of the present invention includes the following steps:
[0039] S1: The initial vibration signal of the key parts of complex equipment during operation is obtained through sensors. The vibration signal contains noise.
[0040] This embodiment uses the Case Western Reserve University (CWRU) rolling bearing data set to experimentally verify the complex equipment key parts fault diagnosis method based on the non-negative hinge contraction network proposed in the present invention.
[0041] The test bench for collecting the CWRU data set consists of a motor, a torque sensor / encoder, a power tester, and an electronic controller. Single-point faults are introduced into the test bearing using electrospark machining, the vibration signal of the bearing is collected using an accelerometer, and the speed and horsepower data are collected using a torque sensor / encoder. The CWRU data set includes normal baseline data, drive-end bearing fault data at a sampling frequency of 12kHz, drive-end bearing fault data at a sampling frequency of 48kHz, and fan-end bearing fault data at a sampling frequency of 12KHz. The CWRU data set includes 4 working conditions.
[0042] In the embodiment, normal baseline data and drive end bearing fault data at a sampling frequency of 48kHz are selected for experiment, and the selected working conditions are 1 horsepower and 1772r / min. The selected data description is shown in Table 1.
[0043] S2: After data preprocessing of the initial vibration signal using a sliding window, samples of the training set and the validation set are obtained. The training set and the validation set are composed of the samples of the training set and the validation set and the corresponding fault types.
[0044] In this embodiment, the sliding window length is set to 1024, and the sliding step size is set to 1024; some vibration signals are selected to divide samples, the number of samples in each category in the training set is 180, and the number of samples in each category in the validation set is 60; because the noise intensity of the vibration signal in the CWRU data set is very small and unknown, Gaussian white noise is added to the training set samples and the validation set samples to simulate the noise signal.
[0045] Table 1 is a description of the selected data
[0046]
[0047] S3: Constructing a non-negative hinge contraction network.
[0048] like Figure 2As shown, the non-negative hinge contraction network includes sequentially connected wide kernel convolutional layers, multiple non-negative hinge contraction building units (NNGSBU), the first batch of normalization (BN) layers, the first activation function module, the first global average pooling (GAP) layer and the first fully connected (FC) layer. The input of the non-negative hinge contraction network is used as the input of the wide kernel convolutional layer, and the output of the first FC layer is used as the output of the non-negative hinge contraction network.
[0049] like Figure 3 As shown in the figure, C represents the number of feature channels, W represents the length of the feature along the time dimension, K represents the number of convolution kernels in the convolution layer, and NNGSBU includes a threshold module, a non-negative hinge shrinkage function calculation unit, a BN layer, an activation function module and a convolution layer; the input of NNGSBU is simultaneously used as the input of the threshold module and the non-negative hinge shrinkage function calculation unit, the threshold module is connected to the non-negative hinge shrinkage function calculation unit, and the output of the non-negative hinge shrinkage function calculation unit passes through the second BN layer, the second activation function module, the first convolution layer, the third BN layer, the third activation function module and the second convolution layer in sequence; the identity mapping of the NNGSBU input and the output of the second convolution layer are added element by element as the output of NNGSBU.
[0050] In the non-negative hinge contraction function calculation unit, the formula of the non-negative hinge contraction function is as follows:
[0051]
[0052] Among them, λ is a learnable threshold, x1 and y1 are the input and output feature elements of the non-negative hinge contraction function, respectively, and || is the absolute value.
[0053] The threshold module includes a wide-core channel-by-channel convolution layer, a BN layer, an activation function module and an absolute value operation. The input of the threshold module is used as the input of the first wide-core channel-by-channel convolution layer. The output of the first wide-core channel-by-channel convolution layer passes through the fourth BN layer, the fourth activation function module and the second wide-core channel-by-channel convolution layer in sequence. The output of the second wide-core channel-by-channel convolution layer is used as the output of the threshold module after an absolute value operation. The output of the threshold module is a threshold corresponding to the input feature element one by one, which is used to calculate the non-negative hinge contraction function.
[0054] like Figure 4As shown in the figure, C represents the number of feature channels, W represents the length of the feature along the time dimension, M represents the number of neurons in the FC layer, and the activation function module is an adaptive Swish activation function module, including a max(x2,0) function layer, a min(x2,0) function layer, a GAP layer, a FC layer, a BN layer, a ReLU activation function, a Sigmoid activation function, and a Swish activation function; the input of the activation function module is simultaneously used as the input of the max(x2,0) function layer and the min(x2,0) function layer, the max(x2,0) function layer is connected to the second GAP layer, and m The in(x2,0) function layer is connected to the third GAP layer. The outputs of the second GAP layer and the third GAP layer are concatenated (i.e., Concat) and then input into the second FC layer. The output of the second FC layer passes through the fifth BN layer, the ReLU activation function, the third FC layer, the sixth BN layer, and the Sigmoid activation function in turn, and then multiplied by 1.5. Then, the input of the activation function module and the 1.5-fold Sigmoid activation function output are processed by the Swish activation function and then used as the output of the adaptive Swish activation function module. The formula of the Swish activation function is as follows:
[0055]
[0056] Among them, β is a learnable parameter in the Swish activation function. In the adaptive Swish activation function module, the 1.5-fold Sigmoid activation function output corresponds one-to-one to the activation function module input feature channel, and β is the 1.5-fold Sigmoid activation function output element; x2 and y2 are the input and output of the Swish activation function respectively. In the activation function module, x2 and y2 are the input and output feature elements of the module respectively; Sigmoid() is the Sigmoid activation function.
[0057] In the specific implementation, the structural hyperparameters of the non-negative hinge contraction network are shown in Table 2; the number of neurons in the two FC layers in the activation function module is equal to the number of channels of the module input features.
[0058] S4: After training the non-negative hinge contraction network through training sets and validation sets, a fault diagnosis model for key parts of complex equipment is obtained.
[0059] In this embodiment, the batch size is 32, the optimizer is Adam, the learning rate is 0.002, the learning rate adjustment strategy is CosineAnnealingLR, the loss function is the cross entropy loss function, and the number of iterations is 100; the model with the highest accuracy in the validation set is selected to test the model performance.
[0060] S5: During the working process of the same part to be tested, the vibration signal of the part is collected using the same method as in S1 and S2, and the data is preprocessed to obtain the test set samples and input them into the fault diagnosis model of key parts of complex equipment. The model outputs the fault type of the current part.
[0061] Table 2 shows the structural hyperparameters of the non-negative hinge contraction network.
[0062]
[0063] In the specific implementation, the sliding window length is set to 1024, and the sliding step size is set to 1024; some vibration signals are selected to divide the samples, the number of samples in each category in the test set is 60, and they will not overlap with the training set samples and the validation set samples; because the noise intensity of the vibration signal in the CWRU dataset is very small and unknown, Gaussian white noise is added to the test set samples to simulate the noise signal.
[0064] The experiment set 6 different signal-to-noise ratios. In order to reduce the influence of random factors, ten experiments were carried out under each signal-to-noise ratio. The experimental results are shown in Table 3. It can be seen that the accuracy rate obtained in the experiment is relatively high, which verifies the effectiveness of the method proposed in the present invention.
[0065] Table 3 shows the fault diagnosis test accuracy (%) under different noise intensities
[0066]
[0067] The above embodiment is a tuning result of the present invention patent on the CWRU bearing data set, but the specific implementation of the present invention is not limited to the above embodiment. The description of the above embodiment is only used to help understand the method and core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation of the present invention.
Claims
1. A method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network, characterized in that: The following steps are involved: S1: Obtain the initial vibration signal of the key parts of complex equipment during operation through sensors; S2: After data preprocessing of the initial vibration signal, samples of the training set and the validation set are obtained, and the training set and the validation set are composed of the samples of the training set and the validation set and the corresponding fault types; S3: Constructing a non-negative hinge contraction network; S4: After training the non-negative hinge contraction network with the training set and the validation set, the fault diagnosis model of key parts of complex equipment is obtained; S5: After preprocessing the vibration signal of the key parts to be tested, the test samples are obtained and input into the fault diagnosis model of key parts of complex equipment, and the model outputs the fault type of the current part.
2. According to claim 1, a method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network is characterized in that: In S3, the non-negative hinge contraction network includes a wide kernel convolutional layer, multiple non-negative hinge contraction building units, a first batch of normalization layers, a first activation function module, a first global average pooling layer and a first fully connected layer connected in sequence. The input of the non-negative hinge contraction network is used as the input of the wide kernel convolutional layer, and the output of the first fully connected layer is used as the output of the non-negative hinge contraction network.
3. According to claim 2, a method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network is characterized in that: The non-negative hinge contraction construction unit includes a threshold module, a non-negative hinge contraction function calculation unit, a batch normalization layer, an activation function module and a convolution layer; the input of the non-negative hinge contraction construction unit is simultaneously used as the input of the threshold module and the non-negative hinge contraction function calculation unit, the threshold module is connected to the non-negative hinge contraction function calculation unit, and the output of the non-negative hinge contraction function calculation unit passes through the second batch normalization layer, the second activation function module, the first convolution layer, the third batch normalization layer, the third activation function module and the second convolution layer in sequence; the identity mapping of the input of the non-negative hinge contraction construction unit and the output of the second convolution layer are added element by element as the output of the non-negative hinge contraction construction unit.
4. According to claim 3, a method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network is characterized in that: In the non-negative hinge contraction function calculation unit, the formula of the non-negative hinge contraction function is as follows: Among them, λ is a learnable threshold, x1 and y1 are the input and output feature elements of the non-negative hinge contraction function, respectively, and || is the absolute value.
5. The method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network according to claim 3 is characterized in that: The threshold module includes a wide core channel-by-channel convolution layer, a batch normalization layer, an activation function module and an absolute value operation. The input of the threshold module is used as the input of the first wide core channel-by-channel convolution layer. The output of the first wide core channel-by-channel convolution layer passes through the fourth batch normalization layer, the fourth activation function module and the second wide core channel-by-channel convolution layer in sequence. The output of the second wide core channel-by-channel convolution layer is used as the output of the threshold module after an absolute value operation is performed.
6. A method for fault diagnosis of key parts of complex equipment based on non-negative hinge contraction network according to any one of claims 2, 3 and 5, characterized in that: The activation function module is an adaptive Swish activation function module, including a max(x2,0) function layer, a min(x2,0) function layer, a global average pooling layer, a fully connected layer, a batch normalization layer, a ReLU activation function, a Sigmoid activation function and a Swish activation function; the input of the activation function module is simultaneously used as the input of the max(x2,0) function layer and the min(x2,0) function layer, the max(x2,0) function layer is connected to the second global average pooling layer, and the min(x2,0) function layer is connected to the third global average The outputs of the second global average pooling layer and the third global average pooling layer are concatenated and then input into the second fully connected layer. The output of the second fully connected layer passes through the fifth batch normalization layer, ReLU activation function, the third fully connected layer, the sixth batch normalization layer and the Sigmoid activation function in turn, and then multiplied by 1.
5. Then, the input of the activation function module and the 1.5 times Sigmoid activation function output are processed by the Swish activation function and then used as the output of the adaptive Swish activation function module. The formula of the Swish activation function is as follows: Among them, β is a learnable parameter in the Swish activation function. In the adaptive Swish activation function module, the 1.5-fold Sigmoid activation function output corresponds one-to-one to the activation function module input feature channel, and β is the 1.5-fold Sigmoid activation function output element; x2 and y2 are the input and output of the Swish activation function respectively. In the activation function module, x2 and y2 are the input and output feature elements of the module respectively; Sigmoid() is the Sigmoid activation function.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
