Gearbox fault diagnosis method based on WOA-VMD and CNN

Through the methods of WOA-VMD and CNN, the problems of signal noise interference and poor adaptability in gearbox fault diagnosis are solved, signal noise reduction and accurate identification of fault characteristics are achieved, and the accuracy of fault diagnosis and model generalization are improved. ability.

CN118762226APending Publication Date: 2024-10-11BEIJING INSTITUTE OF GRAPHIC COMMUNICATION
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410886964.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

There are problems in gearbox fault diagnosis such as signal noise interference, poor adaptability of signal processing methods, strong manual dependence of fault diagnosis methods, and poor generalization performance, making it difficult to accurately identify and diagnose fault characteristics.

Method used

Using the method of WOA-VMD combined with CNN, through signal decomposition and reconstruction, Gram image coding technology is used to generate image sample sets, and batch layer normalization is applied in the CNN model to improve the generalization ability and feature extraction performance of the model.

Benefits of technology

Effectively removes noise interference, improves signal quality, improves fault diagnosis accuracy and identification precision, and enhances the model's generalization ability and convergence speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762226A_ABST
    Figure CN118762226A_ABST
Patent Text Reader

Abstract

The invention discloses a gearbox fault diagnosis method based on WOA-VMD and CNN, and belongs to the technical field of fault diagnosis of vulnerable parts of mechanical equipment. The method specifically comprises the following steps: decomposing and reconstructing original vibration signals of different fault types of the planetary gearbox to obtain denoised signals; converting each one-dimensional gearbox vibration time sequence signal segment after noise reduction into a corresponding Grubby matrix, and then converting the standardized Grubby matrix into a grayscale image to form an RGB three-channel planetary gearbox fault image sample set; establishing a CNN fault diagnosis basic model, selecting a learning rate initial value and a neuron discarding rate, and setting an optimization algorithm, a model loss function and a learning rate updating function; forming batch layer normalization, and applying the batch layer normalization to the global network; and inputting the training set into the model for optimization training, and checking the fault classification effect of the trained network model. According to the method, the model generalization ability is improved, and the fault diagnosis model has higher fault recognition precision and convergence speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault diagnosis of vulnerable parts of mechanical equipment, and in particular to a gearbox fault diagnosis method based on WOA-VMD and CNN. Background Art

[0002] As the most common and important speed transmission component in mechanical equipment, gearboxes are widely used in mechanical power transmission systems due to their small size and high efficiency. Their operating status is directly related to the operating status of the transmission system and the entire production system.

[0003] In the actual industrial production process, since gears are in a high-pressure working state for a long time and are affected by various factors such as external loads, usage methods, and working environment, friction and wear are very likely to occur and are not easy to detect, which will cause gearbox failures, shorten the life of the gearbox, and reduce safety. In order to identify and discover potential safety hazards of gearboxes, avoid transmission mechanism failures, extend the life of gear transmission systems, and ensure safe and reliable operation of industrial production, it is necessary to carry out gearbox fault diagnosis research and timely and accurately identify the status of gearboxes.

[0004] When monitoring and acquiring gearbox operation data, due to the complex working environment, variable working conditions and numerous excitation sources of the gearbox, there are often many interference components in the monitoring data, making the fault characteristics weak and unclear. Many scholars usually perform signal noise reduction processing before inputting historical monitoring data into the intelligent diagnosis model, but most signal processing methods have the problems of strong manual dependence and poor adaptability. In addition, in order to overcome the uncertainty brought by the manual selection of fault features, many scholars choose neural network models to adaptively extract and learn fault features, but due to the single and inefficient means of gearbox fault signal collection, the quality of the collected fault signals is low and the volume is small, resulting in the model having problems such as poor learning effect, easy confusion between fault classes, and low diagnostic accuracy in fault diagnosis tasks.

[0005] In order to solve the problems of noise interference of gearbox vibration signal, poor adaptability of signal processing methods, strong artificial dependence of fault diagnosis methods, and poor generalization performance, a gearbox fault diagnosis method based on WOA-VMD and CNN is needed to achieve deep mining of fault features and accurate identification of fault types. Summary of the invention

[0006] The purpose of the present invention is to propose a gearbox fault diagnosis method based on WOA-VMD and CNN, comprising the following steps:

[0007] Step 1: Decompose and reconstruct the original vibration signals of different fault types of the planetary gearbox to obtain the noise-reduced signals;

[0008] Step 2: Use Gram image coding technology to convert each one-dimensional gearbox vibration time series signal segment after noise reduction in step 1 into a corresponding Gram matrix, and then convert the standardized Gram matrix into a grayscale image to form a RGB three-channel planetary gearbox fault image sample set;

[0009] Step 3: Establish a basic CNN fault diagnosis model, select the initial value of the learning rate, the neuron drop rate, and set the optimization algorithm, model loss function, and learning rate update function;

[0010] Step 4: Adaptively utilize the layer and batch dependencies and combine the advantages of batch normalization and layer normalization to set the adaptive parameters of the normalized output to form batch layer normalization, and apply it to the global network to form the final CNN planetary gearbox fault diagnosis model;

[0011] Step 5: Divide the Gram image dataset into a training set and a test set, input the training set into the intelligent diagnosis network model for optimization training, generate a trained CNN planetary gearbox fault diagnosis model, and use the test set to verify the fault classification effect of the trained network model.

[0012] Step 1 specifically includes: in the signal decomposition stage, VMD is used as the basic decomposition algorithm of the vibration signal, and WOA is used to adaptively determine the VMD decomposition penalty factor and the number of decomposition modes; in the signal reconstruction stage, the modal components obtained by decomposition are screened according to the Pearson correlation coefficient method, and the components with more effective information are reconstructed and the components with more noise components are removed.

[0013] The steps of batch normalization in step 4 are as follows:

[0014] Step 41: Calculate the mean μ1 and variance of the layer input along the (N, H, W) axis Calculate the mean μ2 and variance of the layer input along the (C, H, W) axis

[0015] Step 42: Use the mean μ1 and variance Mean μ2 and variance Perform normalization;

[0016] Step 43: Use the learnable parameter ι to adaptively balance the two normalized outputs along the (N, H, W) axis and the (C, H, W) axis:

[0017]

[0018] The output of batch layer normalization is as follows:

[0019]

[0020] Where γ is the scaling factor and β is the offset factor, both of which are learnable parameters.

[0021] The formula for normalization in step 42 is as follows:

[0022]

[0023]

[0024] In the formula, and are the results of normalization along the (N, H, W) axis and the (C, H, W) axis, respectively, i is the input of the i-th layer, and ∈ is a small constant used to stabilize the value.

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

[0026] 1. The present invention completes signal denoising through signal decomposition and reconstruction of the original vibration signal of the gearbox. Starting from improving the decomposition effect of the gearbox fault vibration signal, the whale optimization algorithm is used to optimize the parameter selection method in the VMD decomposition process. The signal envelope entropy is used as the fitness function. The fault feature content in the IMF component is judged by the size of the envelope entropy. The penalty factor α and the decomposition number K are adaptively selected to input the decomposed vibration signal into the VMD, and the effective components are selected and reconstructed, thereby avoiding the signal denoising effect affected by excessive or insufficient decomposition in the signal decomposition stage, thereby reducing noise interference and removing irrelevant information for the gearbox fault vibration signal.

[0027] 2. The present invention relies on Gram image coding technology to generate a two-dimensional image sample set with time information, which better expresses the fault feature information in the vibration signal. When using the image sample set to train the fault diagnosis model, a batch normalization operation is established on the basis of the ResNeXt network, and the batch normalization that can adaptively output the normalized results is used to improve the generalization ability of the model, avoiding the dependence of the normalization process on the batch size, improving the generalization ability of the model, and enabling the fault diagnosis model to have higher fault identification accuracy and convergence speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a flow chart of a fault diagnosis method for a gearbox according to the present invention;

[0029] Figure 2 is a WOA-VMD optimization flow chart of a gearbox vibration signal in an embodiment of the present invention;

[0030] Figure 3 is a schematic diagram of a gearbox vibration signal through a Gram image coding technique in an embodiment of the present invention;

[0031] Figure 4is a signal time domain diagram before and after the gearbox vibration signal is reconstructed in an embodiment of the present invention;

[0032] Figure 5 It is a comparison diagram of the effects of the CNN fault diagnosis model before and after batch layer normalization is established and globally applied in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The present invention proposes a gearbox fault diagnosis method based on WOA-VMD and CNN, which is further described below in conjunction with the accompanying drawings and specific embodiments.

[0034] Figure 1 : is a flow chart of a gearbox fault diagnosis method of the present invention; the gearbox fault diagnosis method of the present invention specifically includes the following steps:

[0035] Step S1, denoise the vibration signals of different fault categories of the planetary gearbox, and establish a signal decomposition and reconstruction method route for the original vibration signal of the planetary gearbox. In the signal decomposition stage, VMD is used as the basic decomposition algorithm of the vibration signal, and WOA is used to adaptively determine the VMD decomposition penalty factor and the number of decomposition modes, see Figure 2 As shown; in the signal reconstruction stage, the modal components obtained by decomposition are screened according to the Pearson correlation coefficient method, and the components with more effective information are reconstructed and the components with more noise components are removed;

[0036] Step S11: When using WOA to optimize VMD parameters, the parameters are as shown in Table 1.

[0037] Table 1 WOA parameter settings

[0038]

[0039] WOA uses signal envelope entropy as the fitness function. The sparsity of the signal is positively correlated with the amount of characteristic information contained in the signal, and the amount of information in the component sequence is negatively correlated with the envelope entropy value, which can be used as an effective indicator for quantizing signals. p The expression is shown below.

[0040]

[0041] Where a(j) is the envelope signal formed by Hilbert transform of each modal component, and p is formed by normalizing a(j) j .

[0042] Step S111: Initialize the WOA location information, set the number of whales N and the maximum number of iterations of the algorithm t max Import the data to be decomposed, set the value range of K to [2,12], and the value range of α to [1000,5000].

[0043] Step S112: Perform VMD decomposition on each individual whale and calculate the contrast envelope entropy to find the optimal solution.

[0044] Step S113, select the whale movement mechanism according to the value of P and |A|. When P < 0.5 and |A| < 1, the first shrinking encirclement mechanism is implemented according to the following formula; when P < 0.5 and |A| ≥ 1, the second random search mechanism is implemented according to the following formula; when P ≥ 0.5, the third spiral rise mechanism is implemented according to the following formula.

[0045] X(t+1)=X * (t)-AD

[0046] X(t+1)=X rand (t)-A·D

[0047] X(t+1)=D'e bl cos(2πl)+X * (t)

[0048] Step S114: Update the position of each whale.

[0049] Step S115, determine whether the optimization process reaches the maximum number of iterations and β is reduced to 0. If so, the iteration stops and the optimal parameter combination is output. Otherwise, continue to step S113 and perform a shrinking and enclosing operation until the conditions are met.

[0050] Step S116, stop running and obtain the optimal K and α parameter combination.

[0051] Step S12: input the obtained optimal parameter combination into the VMD method for signal decomposition.

[0052] Step S121: The original signal f(t) is decomposed by VMD to form multiple modal components μ i (t), the center frequency w of each modal component i The bandwidth is fixed and can be restored to the original signal after addition. The decomposition steps of the planetary gearbox vibration signal are as follows. For each modal component μ i The bandwidth of (t) is estimated, and the single-sided spectrum corresponding to each modal component is calculated by Hilbert transform:

[0053]

[0054] For each modal component μ i The analytical signal of (t) presets the center frequency and is added to the corresponding signal, thereby transforming the spectrum to the baseband:

[0055]

[0056] On this basis, a variational model is established:

[0057]

[0058] In the formula, {μ K} is the set of modal components obtained by decomposition; {ω K} is the center frequency set; is the partial derivative of t, i.e., the gradient operation; δ(t) is the Dirac function, μ i (t) is the i-th eigenmode component of the original signal.

[0059] To solve the optimal solution of the model, the Lagrange multiplier λ and the quadratic penalty factor α can be introduced by augmenting the Lagrange function, and the above constrained optimization problem is equivalent to an unconstrained optimization problem, which is converted into the following formula:

[0060]

[0061] The constraint problem is solved by fixing variables and updating variables by alternating direction multiplication method, and μ is continuously updated iteratively. i ,ω i and λ to obtain the optimal solution.

[0062] First, initialize {μ i 1}, and λ 1 .

[0063] Secondly, iteratively update μ i ,ω i and λ:

[0064]

[0065]

[0066]

[0067] Finally, repeat the previous step, stop the iteration when the accuracy judgment condition (the following formula) is met, and output each modal component.

[0068]

[0069] Where: ε is the discrimination accuracy, ε>0.

[0070] Step S13, reconstructing the vibration signal of the planetary gearbox;

[0071] Step S131: After obtaining each decomposed modal component, the similarity between the signals is determined according to the Pearson correlation coefficient. The formula is as follows:

[0072]

[0073]

[0074]

[0075] cov(x t ,x IMF )=E(x t x IMF )-E(x t )E(x IMF )

[0076] In the formula, represents the overall correlation coefficient; E is the expected value, cov(x t ,x IMF ) represents x t , x IMF The Pearson correlation coefficient is used as an evaluation index for the reconstruction of vibration signal components. Its value range is (0,1). The expression of the Pearson correlation coefficient method is as follows:

[0077]

[0078] Step S132: Set the threshold for modal component screening and divide the correlation degree as shown in Table 2.

[0079] Table 2 Correlation discrimination table

[0080]

[0081] The irrelevant components with correlation coefficients less than 0.6 are regarded as invalid information, and the modal components with correlation coefficients greater than 0.6 are synthesized to reconstruct the original signal as shown in the following formula.

[0082]

[0083] Where X(t) is the reconstructed signal, n b is the number of relevant components.

[0084] Step S2: Use Gram image coding technology to convert each one-dimensional gearbox vibration time series signal segment after noise reduction into a corresponding Gram matrix, convert the standardized Gram matrix into a grayscale image, and form a planetary gearbox fault image sample with RGB three channels, see Figure 3 As shown;

[0085] Step S21: Assume that the original time series has n values, X = {x1, x2, x3, ..., x n}, normalize the sequence to between [-1,1] or [0,1], expressed as is the normalized time series value. Map the data into polar coordinates, which are and

[0086]

[0087]

[0088] Transform the time series signal into the polar coordinate system, where φ i Reason The angle r is the mapping of the Cartesian coordinate system to polar coordinates. i Because i Timestamps are mapped from Cartesian coordinates to radii in polar coordinates.

[0089]

[0090] Step S22: quantify the correlation of each point in the time series signal, and use the sum angle formula in the trigonometric function to calculate and form a Gram matrix. GAF is defined as:

[0091]

[0092] In the formula, φ i (i=1,2,…,n) represents the angle of the i-th point in the time series signal transformed to the polar coordinates, and I is the unit row vector.

[0093] Step S3, establish a CNN fault diagnosis basic model, select the initial value of the learning rate, the neuron discard rate, set the optimization algorithm, the model loss function, and the learning rate update function;

[0094] Step S31: ResNeXt network is used as the basic model for fault diagnosis, and identity mapping, residual learning and group convolution are retained. Suppose the input sample is x, the output feature after the input convolution layer is H(x), the residual block is used to learn the residual information, and the output feature is F(x). The relationship between the three is:

[0095] H(x)=F(x)+x→F(x)=H(x)-x

[0096] The group convolution brings a parallel topology, and the output of the group convolution block is:

[0097]

[0098] ω represents the weight of different topologies, C(x) is the output value of the same topology on the plane, and n is the number of identical branches a module has.

[0099] Step S32: Use the Adam optimization algorithm to update the network training parameters. The initial value of the learning rate is 0.001. Use ReduceLROnPlateau to update the learning rate to achieve the self-attenuation process of the learning rate. The accuracy of the test set is used as the adjustment index. The patience in ReduceLROnPlateau is selected as 4. The model loss is calculated using the cross entropy loss function, and the neuron drop rate in the model is set to 0.2.

[0100] Step S4: In order to alleviate the dependence of the batch normalization operation on the batch size in the basic model, a batch layer normalization operation is established. After respectively calculating the normalized results along the (N, H, W) axis and the (C, H, W) axis, a learnable combination parameter is introduced to adaptively output the normalized results, and the batch layer normalization is applied to the global network and each residual block to form the final CNN planetary gearbox fault diagnosis model;

[0101] Step S41: Establish batch layer normalization and introduce it into the fault diagnosis basic model. The main steps are as follows:

[0102] Step S411: Calculate the mean μ1 and variance of the layer input along the (N, H, W) axis

[0103]

[0104]

[0105] Step S412: Next, the mean μ2 and variance of the layer input are calculated along the (C, H, W) axis.

[0106]

[0107]

[0108] Step S413, then use μ1, and μ2, right and Normalize:

[0109]

[0110]

[0111] In the formula, and are the results of normalization along the (N, H, W) axis and the (C, H, W) axis, respectively, i is the input of the i-th layer, and ∈ is a small constant used to stabilize the value.

[0112] Step S414: Use the learnable parameter ι to adaptively balance the two normalized outputs along the (N, H, W) axis and the (C, H, W) axis:

[0113]

[0114] The output of batch layer normalization is as follows:

[0115]

[0116] Where γ is the scaling factor and β is the offset factor, both of which are learnable parameters.

[0117] Step S42, after performing batch normalization operation on the basic CNN network model, the final CNN gearbox fault diagnosis model is obtained to extract features from the input sample image, and deep learning and mining of different state samples are performed through three 3×3 convolutional layers and four convolutional blocks with different numbers of blocks. After global pooling, the final predicted fault category is output through the softmax classifier, as shown in Table 3.

[0118] Table 3 Structure and parameters of this method

[0119]

[0120] Step S5, dividing the Gram image data set into a training set and a test set, inputting the training set into the intelligent diagnosis network model for model optimization training, generating a trained CNN planetary gearbox fault diagnosis model, and using the test set to verify the fault classification effect of the trained network model.

[0121] Step S51, obtain the Southeast University gearbox public data set as the model training and test data basis, the data set includes two load conditions of 20 Hz-0V and 30 Hz-2V, the gearbox status is divided into four fault states of gear tooth crack, tooth root crack, missing tooth, tooth surface wear and one healthy state, as shown in Table 4.

[0122] Table 4 Gearbox fault status table

[0123]

[0124] Step S52: truncate every 1000 data points in the data set to generate a fault sample image with a size of 224×224RGB three channels. The gearbox data set under the two working conditions contains a total of 3000 sample images, which are divided into training set and test set in a ratio of 4:1. Each fault type consists of 240 training samples and 60 test samples, as shown in Table 5.

[0125] Table 5 Gearbox data set division

[0126]

[0127] Step S53, the performance verification and comparison experiment of the method proposed by the present invention is carried out from two aspects of signal noise reduction effect and fault diagnosis effect. The experiment includes the comparison of vibration signal time domain diagrams before and after reconstruction, and the comparison of CNN effect before and after adjustment. Figure 4 , Figure 5 shown.

[0128] The method of the present invention can complete the signal denoising process by decomposing and reconstructing the original vibration signal of the gearbox. In the signal decomposition stage, WOA is used to adaptively determine the VMD decomposition penalty factor and the number of decomposition modes. In the signal reconstruction stage, the modal components obtained by decomposition are screened according to the Pearson correlation coefficient method, and components with more effective information are reconstructed and components with more noise components are removed. The noise of the gearbox fault signal can be significantly removed, irrelevant information can be significantly reduced, and the signal quality can be improved. The method can make full use of fault samples, flexibly mine sample features, and improve the model generalization ability and feature extraction ability by establishing batch layer normalization and applying it to the global network, so that it can learn the optimal features from the samples. The feature extraction performance of the CNN planetary gearbox fault diagnosis model is significantly improved, and the accuracy of the deep learning fault diagnosis model is effectively improved.

Claims

1. A gearbox fault diagnosis method based on WOA-VMD and CNN, characterized in that: The steps include: Step 1: Decompose and reconstruct the original vibration signals of different fault types of the planetary gearbox to obtain the noise-reduced signals; Step 2: Use Gram image coding technology to convert each one-dimensional gearbox vibration time series signal segment after noise reduction in step 1 into a corresponding Gram matrix, and then convert the standardized Gram matrix into a grayscale image to form a RGB three-channel planetary gearbox fault image sample set; Step 3: Establish a basic CNN fault diagnosis model, select the initial value of the learning rate, the neuron drop rate, and set the optimization algorithm, model loss function, and learning rate update function; Step 4: Adaptively utilize the layer and batch dependencies and combine the advantages of batch normalization and layer normalization to set the adaptive parameters of the normalized output to form batch layer normalization, and apply it to the global network to form the final CNN planetary gearbox fault diagnosis model; Step 5: Divide the Gram image dataset into a training set and a test set, input the training set into the intelligent diagnosis network model for optimization training, generate a trained CNN planetary gearbox fault diagnosis model, and use the test set to verify the fault classification effect of the trained network model.

2. The gearbox fault diagnosis method based on WOA-VMD and CNN according to claim 1 is characterized in that: The step 1 specifically includes: in the signal decomposition stage, VMD is used as the basic decomposition algorithm of the vibration signal, and WOA is used to adaptively determine the VMD decomposition penalty factor and the number of decomposition modes; in the signal reconstruction stage, each modal component obtained by decomposition is screened according to the Pearson correlation coefficient method, and components with more effective information are reconstructed and components with more noise components are removed.

3. The gearbox fault diagnosis method based on WOA-VMD and CNN according to claim 1 is characterized in that: The steps of batch layer normalization in step 4 are as follows: Step 41: Calculate the mean μ1 and variance of the layer input along the (N, H, W) axis Calculate the mean μ2 and variance of the layer input along the (C, H, W) axis Step 42: Use the mean μ1 and variance Mean μ2 and variance Perform normalization; Step 43: Use the learnable parameter ι to adaptively balance the two normalized outputs along the (N, H, W) axis and the (C, H, W) axis: The output of batch layer normalization is as follows: Where γ is the scaling factor and β is the offset factor, both of which are learnable parameters.

4. The gearbox fault diagnosis method based on WOA-VMD and CNN according to claim 3 is characterized in that: The formula for normalization in step 42 is as follows: In the formula, and are the results of normalization along the (N, H, W) axis and the (C, H, W) axis, respectively, i is the input of the i-th layer, and ∈ is a small constant used to stabilize the value.

Citation Information

Cited By

  • Radar target identification method and system based on feature extraction and matching network

    CN119224719A

  • Lithium ion battery temperature anomaly detection and fault diagnosis method based on modal decomposition and infrared imaging

    CN120385928A