Vibroengineering PROCEDIA

Published: 28 November 2019

Fault diagnosis method of gear based on lifting wavelet packet and combined optimization BP neural network

Shungen Xiao1
Zexiong Zhang2
Mengmeng Song3
1, 2, 3College of Information, Mechanical and Electrical Engineering, Ningde Normal University, Ningde, People’s Republic of China
1, 2College of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou, People’s Republic of China
Corresponding Author:
Mengmeng Song
Show author details
Views 54
Reads 26
Downloads 1278


Aiming at the problem of weak signal signature recognition of gear faults, a gear fault diagnosis method based on lifting wavelet packet and combined optimization BP neural network is proposed. The initial non-sampling prediction and update operators are calculated by Lagrange interpolation subdivision based on the principle of lifting wavelet, and the adaptive redundancy lifting wavelet packet decomposition and reconstruction algorithm is constructed. The network parameters of the number of hidden layers and the quantity of nodes, initial weights and thresholds of BP neural network are optimized by genetic algorithm (GA). The Levenberg-Marquardt (LM) algorithm is used to improve the search space of the network. Through experimental analysis, the results show that the gear fault diagnosis method proposed in this paper not only has high diagnostic accuracy, but also increase efficiency.

Fault diagnosis method of gear based on lifting wavelet packet and combined optimization BP neural network


  • A gear fault diagnosis method based on lifting wavelet packet and combined optimization BP neural network is proposed.
  • BP neural network are optimized by genetic algorithm and levenberg–marquardt algorithm.
  • The results show that the fault diagnosis method proposed in this paper not only has high diagnostic accuracy, but also increase efficiency.

1. Introduction

The gear is the most important connection and transmission component in the mechanical equipment. If the fault of the gear in the transmission process is found in time, the maintenance and repair time of the equipment can be arranged economically and reasonably to avoid accidents. How to effectively extract the fault features hidden in the gears to achieve efficient and accurate fault classification as well as diagnosis is a hot and difficult problem for current researchers. In order to overcome the problems of slow convergence and falling into local minimum of traditional BP-NN, Wu [1] uses Genetic Algorithm (GA) to optimize the initial weight of BP-NN, and uses GA global search ability to effectively avoid BP- NN is caught in a local minimum problem; Zhang [2] proposed a fault diagnosis of the fan gearbox based on genetic algorithm optimization BP neural network, which effectively diagnoses the gearbox fault diagnosis. However, because GA only optimizes the initial weight of BP-NN to speed up the determination of the search space, the basic BP algorithm is still used in the local optimization process in the search space. Obviously, it still fails to change the slow convergence of BP-NN.

2. Non-sampling lifting wavelet packet algorithm

SWELDENS [3] first proposed the wavelet transform theory of the lifting mode. The decomposition process consists of three steps: segmentation, prediction and update. Since the traditional lifting wavelet or wavelet packet transform is a transform method based on sampling operation, it is easy to cause information component loss and frequency aliasing problem. The non-sampling lifting wavelet packet algorithm proposed in [4-6] effectively solves this problem.

2.1. Non-sampling lifting wavelet packet decomposition algorithm

Firstly, the initial prediction operator and the update operator are obtained by the Lagrange interpolation subdivision principle. Let the initial prediction operator P=pm, where m= 1, 2,…, N. Set the initial update operator U=un, where n= 1, 2,…, N~. The expression of the s-layer non-sampling lifting wavelet packet prediction operator Psand the update operator Us as follow [7]:

Pi[s]=pm ,         i=2sm,  0,             i2sm,         i=1,2,,2sN,
Uj[s]=un ,         j=2sn,  0,             j2sn,         j=1,2,,2sN~.

Compared with the traditional lifting wavelet packet decomposition process, the non-sampling lifting wavelet packet removes the segmentation link and performs the operation in a non-sampling manner. Let Xslbe the first frequency band signal of the original signal X decomposed in the s layer. Each sample of the upper layer signal Xs-1 is predicted by the adjacent 2sN sample signals by the non-sampling predictor Pis, and the predicted difference is the high-frequency detail signal Xsl-1, such as Eq. (2). The low-frequency approximation signal Xsl is obtained by updating the detail signal by the non-sampling prediction operator ujs, as given by Eq. (3):


In the Eqs. (2)-(3), l= 2, 4, 6, ..., 2s, Pis is the non-sampling boost wavelet packet prediction operator coefficient of detail signal Xsl-1, and ujs is the non-sampling boost wavelet packet update operator coefficient of approximating signal Xsl.

2.2. Non-sampling lifting wavelet packet reconstruction algorithm

The non-sampling lifting wavelet packet reconstruction algorithm is the inverse operation of the above decomposition algorithm, which consists of a recovery update link, a recovery prediction link and a merge link. The recovery update is performed by the signals Xsl and Xsl-1to complete the recovery of the sample sequence Xs-1l/2*, as shown in the Eq. (4). The recovery prediction link is recovered by the signal Xsl-1 and the completed sample sequence Xs-1l/2**, as shown in Eq. (5). The merged link is obtained by averaging the signal Xs-1l/2* and Xs-1l/2** adding, is given us by Eq. (6), and the result is the non-sampling lifting wavelet packet reconstructed signal Xs-1l/2:


3. Optimize BP-NN using the combination of GA- and LM-based approach

GA is a global probability search algorithm which is derived from the population search strategy and information exchange between population individuals. It is independent of the information of BP neural network using nonlinear optimization gradient descent method [8]. It can optimize BP-NN by using this algorithm. The topology and network parameters improve the convergence speed of the network. LM is an algorithm that combines the descending gradient method and the Newton method to further improve the network optimization efficiency and avoid local minimum problems. Based on GA and LM are combined to perform BP-NN together to provide more accurate diagnosis results for gear failure.

3.1. GA optimizes the topology and network parameters of BP-NN

GA optimizes the topology and network parameters of BP-NN as follows:

Step 1: Assume the number of hidden layers and nodes between the layers in the BP-NN. The number of layers and nodes are encoded to randomly generate N encoded chromosomes.

Step 2: Decode the N encoded chromosomes into corresponding BP-NNs.

Step 3: Train each network separately with different initial weights.

Step 4: Calculate the error function of BP-NN under each code string separately, and use the error function to determine the fitness function of every individual. GA optimizes the network topology to minimize the sum of squared errors in the network output, but GA can only evolve in the direction of increasing the fitness function value. Therefore, the inverse of the squared sum of the BP-NN output error is chosen as the fitness function, as follows Eq. (7):


where p is the number of training samples, i is the number of network output nodes, y^(p) is the expected output value of the network, the current output value of the network, EJ is called the evolution error, and Fit is the fitness value.

Step 5: Calculate the fitness value according to Eq. (7), and select a plurality of individuals with large fitness values to form a male parent.

Step 6: The current generation of populations are manipulated by genetic operators such as crossover and mutation to produce a new generation of populations.

Step 7: Repeat steps Step 2-Step 6 until an individual in the group can meet the network requirements.

3.2. The improved BP-NN theory of LM algorithm

The LM algorithm applies the approximate second-order derivative information, which is a combination of the descending gradient algorithm and the Gauss-Newton algorithm. It has the local characteristics of Newton’s method, can generate an ideal search direction near the optimal value, and has the global characteristics of the gradient method. That is, the steps that just started the iteration drop faster. Therefore, the convergence rate is faster and more stable than the falling gradient algorithm [9]. The expression of the iteration of the LM algorithm is:



Jx=e1xx1        e1xx2      ...       e1xxi   ...                              ...           ...enxx1        enxx2     ...       enxxi,

where xk is the vector of the weight and threshold of the kth iteration, eix is the error of the ith network node, i is the identity matrix, Jx is called the Jacobian matrix, μ is one greater than zero adaptive adjustment factor.

When μ 0, μI 0, x=-JTxJx-1JTxex, and Eq. (8) becomes Eq. (9), namely, Gauss Newton algorithm:


When μ, JT(x)J(x)μI, JT(x)J(x) are negligible, the LM algorithm is transformed into a gradient descent method. The LM algorithm can better achieve the combination of Gauss-Newton method and gradient descent method by adaptively adjusting μ. Practice has shown that the LM algorithm is dozens or even hundreds of times faster than the falling gradient method. At the same time, the LM algorithm is positively defined, and there is always a solution. However, it is not necessary for the Gauss-Newton method (JT(x)J(x)+μI)-1 to be full rank. The LM algorithm is better than the Gauss-Newton me

4. Experimental analysis

4.1. Fault signal acquisition

The hardware involved in the experimental device mainly includes QPZZ-II rotating mechanical vibration analysis and fault diagnosis test platform system, one signal conditioning instrument, two data collectors, and several acceleration sensors. The schematic diagram of the experimental platform in Fig. 1. The pinion of the experimental platform is a driving wheel, which relates to the motor shaft. the large gear is a driven wheel, and is connected to the magnetic powder brake through a coupling. The number of teeth of the pinion gear is 55, and the number of teeth of the large gear is 75. The two accelerometers are installed in the horizontal and vertical directions at the large gear on the outer side of the gearbox. The calibration values of the two sensors are 102 mV/g and 99 mV/g, respectively. The measuring point arrangement as shown in Fig. 2.

Fig. 1The experimental platform

The experimental platform

Fig. 2Sensor test point arrangement

Sensor test point arrangement

4.2. Diagnosis results

Based on obtaining four kinds of vibration signals: normal signal, gear broken tooth, gear crack and wear, the method proposed in this paper is used to realize the diagnosis of various gear fault types. The specific diagnosis steps are as follows:

(1) Using the redundant lifting wavelet packet method to denoise the broken gear teeth, gear surface cracks and wear signals, as depicted in Fig. 3.

(2) Calculate the energy characteristics of the signals of each frequency band decomposed by the wavelet packet and normalize them. Fig. 4 is the energy spectrum of the broken teeth.

(3) Establish BP-NN network by using GA optimization BP-NN topology and network parameters.

Fig. 3Broken teeth noise reduction effect: a) the original signal of gear fault; b) the signal denoised of gear fault by redundant lifting scheme packet

Broken teeth noise reduction effect: a) the original signal of gear fault;  b) the signal denoised of gear fault by redundant lifting scheme packet


Broken teeth noise reduction effect: a) the original signal of gear fault;  b) the signal denoised of gear fault by redundant lifting scheme packet


The input sample of BP-NN is the fault energy characteristic vector of the gear, and the output is of four fault types: no fault (1,0,0,0), gear tooth breaking fault (0,1,0,0), gear surface Crack failure (0,0,1,0), gear wear (0,0,0,1). Therefore, there are 8 nodes in the input layer and 4 nodes in the output layer. Set the population number to 50, the maximum running algebra to 100, and the generation gap to 0.9. The error reduction curve of the optimization process is in Fig. 5. After the topology of the neural network is established, the initial weight and threshold parameters of the GA optimization network are continuously used. Fig. 6 is the error reduction curve, the error square curve and the fitness curve of the parameter optimization process.

Fig. 4Signal failure energy spectrum distribution

Signal failure energy spectrum distribution

Fig. 5Error reduction curve

Error reduction curve

Fig. 6Error and fitness curve

Error and fitness curve

a) Error sum of squares curve

Error and fitness curve

b) Fitness curve

Error and fitness curve

c) Optimization error descent curve

(4) Using LM algorithm to improve the efficiency of BP-NN search target, set the transfer function of hidden layer and output layer to tansig and purelin respectively, and the minimum mean square error index is set to 10-5.

The results show that the GA-optimized BP-NN needs to iterate 199 steps to reach the set mean square error index, as shown in Fig. 7. 45 cases were successfully diagnosed in 50 test samples, and the cumulative error of the four types of faults was 0.0093. After GA-LM combination optimization, BP-NN only needs to iterate 124 steps to reach the set mean square error index, as shown in Fig. 8, successfully diagnosed 47 For example, the cumulative error of the four fault types is 0.0078. Therefore, the combined optimization BP-NN converges faster, namely, the diagnosis time is shorter and the diagnostic accuracy is higher.

Fig. 7GA optimization BP-NN training process

GA optimization BP-NN training process

Fig. 8GA-LM optimization BP-NN training process

GA-LM optimization BP-NN training process

5. Conclusions

1) Using the lifting wavelet packet to effectively denoise the gear broken teeth, crack and wear fault signals, and successfully extract the fault energy feature quantity as the input feature vector of BP-NN.

2) Using GA to effectively optimize the hidden layer number, initial weight and threshold of BP-NN, avoiding the traditional method of “experimental trial and error method” to obtain network topology and avoiding the blindness of the traditional random given initial weight values and threshold parameters.

3) Using LM algorithm to improve the search efficiency of BP-NN. The experimental results show that the GA and LM combination optimization BP-NN gear fault diagnosis method has higher efficiency and accuracy.


This paper was supported by the following research projects: by the Special Project of Ningde Normal University in 2018 (Grant No. 2018ZX409, Grant No. 2018Q101, Grant No. 2018ZX401) and Research project for Yong, Middle-aged Teacher in Fujian Province (Grant No. JT180601 and Grant No. JT180597). These supports are gratefully acknowledged.


  • Wu L. Research on Fault Diagnosis Algorithm Based on Genetic Neural Network. Shengyang, 2012.
  • Zhang X., Zheng L., Hua L. The fault diagnosis of wind turbine gearbox based on genetic algorithm to optimize BP neural network. Journal of Hunan Institute of Engineering, Vol. 28, Issue 3, 2018, p. 1-6.
  • Sweldens W. The lifting scheme: A construction of second-generation wavelet. SIAM Journal on Mathematics Analysis, Vol. 29, Issue 2, 1997, p. 511-546.
  • Chen J., Zhang L., Duan L., et al. Diagnosis of reciprocating compressor piston-cylinder liner wear fault based on lifting scheme packet. Journal of China University of Petroleum: Natural Science Edition, Vol. 35, Issue 1, 2011, p. 130-134, (in Chinese).
  • Duan C., Li L., He Z. Undecimated wavelet transform based of lifting scheme and its application in fault diagnosis. Journal of Mechanical Strength, Vol. 28, Issue 6, 2006, p. 796-799, (in Chinese).
  • An S., LV L., He Y. Fault diagnosis method of rolling bearing based on undecimated wavelet transformation of lifting scheme. Journal of Vibration and Shock, Vol. 28, Issue 1, 2009, p. 170-173, (in Chinese).
  • Jiang H., He Z., Duan C. Gearbox fault diagnosis using adaptive redundant lifting scheme. Mechanical Systems and Signal Processing, Vol. 20, Issue 8, 2006, p. 1992-2006.
  • Zhang D., Li W., Wu X., et al. Application of simulated annealing genetic algorithm-optimized back propagation (BP) neural network in fault diagnosis. International Journal of Modeling Simulation and Scientific Computing, Vol. 10, Issue 4, 2019, p. 1950024.
  • Song Z., Wang J. Transformer fault diagnosis based on BP neural network optimized by fuzzy clustering and LM algorithm. High Voltage Apparatus, Vol. 49, Issue 5, 2013, p. 54-59.

About this article

21 October 2019
28 October 2019
28 November 2019
Fault diagnosis based on vibration signal analysis
gear fault diagnosis
BP neural network
genetic algorithm
lifting wavelet packet