A bearing fault diagnosis method based on sorting stable simplified sparse quantum neural network
The bearing fault vibration data is processed through the sorting and stabilizing simplified sparse quantum neural network, and the switching quantum neural network is used for diagnosis, which solves the problems of low accuracy and long time consumption in the existing technology, and achieves high accuracy and rapid bearing fault diagnosis. Diagnostic effect.
Patent Information
- Application Number
- CN202210497899.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-09
AI Technical Summary
Existing bearing fault diagnosis methods have problems such as low accuracy, large human interference, and long time consumption. In particular, model-based and signal-based methods perform poorly in terms of accuracy and efficiency.
The sorting stable simplified sparse quantum neural network method is used to obtain the absolute value, sorting and quantization processing of the bearing fault vibration data. The switching quantum neural network is used for diagnosis. The network parameters are trained through the adaptive moment estimation optimization method to improve the diagnosis accuracy and speed.
It achieves high-accuracy bearing fault diagnosis, reduces human interference, is simple in calculation and fast in operation, and improves training stability and speed.
Smart Images

Figure FDA0004981057030000011 
Figure FDA0004981057030000012 
Figure FDA0004981057030000014
Abstract
Description
Technical Field
[0001] The invention belongs to the field of fault diagnosis of mechanical equipment and relates to an artificial intelligence bearing fault diagnosis method suitable for bearing fault diagnosis. Background Art
[0002] In the process of intelligent manufacturing and the entire automated production, rotating machinery, as a key part of mechanical equipment operation, plays an important role in the entire mechanical system. Among them, the failure rate of rolling bearings accounts for about 45% to 55% of the entire rotating machinery. With the improvement of science and technology, the structure of mechanical equipment is becoming more and more complex. Minor faults in the production process will cause great economic losses to the entire equipment and even the production system. In order to ensure the reliability and stability of equipment operation and deal with faulty parts in time to avoid further economic losses, fault diagnosis has become one of the research contents under the background of intelligent manufacturing.
[0003] The existing bearing fault diagnosis methods mainly include model-based methods, signal-based methods and artificial intelligence methods. The existing model-based methods have the disadvantages of insufficient accuracy, large workload and long time required. First, the establishment of the mathematical model of mechanical equipment depends on the principle, structure and function of the mechanical equipment to be diagnosed, which will take a lot of scientific research time and energy; secondly, the structure and function of mechanical equipment are becoming more and more complex, resulting in more and more complex mathematical equations expressing the structure and function of mechanical equipment, which in turn makes it more difficult to establish the mathematical model of mechanical equipment; finally, the establishment of mathematical models needs to ignore the influence of bearing ball sliding, but ball sliding is inevitable in the actual operation of bearings, resulting in discrepancies between the established mathematical model and the actual running mechanical equipment, which in turn leads to the lack of accuracy of the model-based bearing fault diagnosis method.
[0004] Signal-based methods are also commonly used for bearing fault diagnosis. Signal-based methods have the disadvantages of large human interference and low accuracy. First, in order for signal-based methods to achieve a high fault diagnosis accuracy, researchers must have rich fault diagnosis experience, but fault diagnosis experience is difficult to obtain and difficult to impart, and there may even be errors in the imparting of fault diagnosis experience, which leads to great limitations of this method. In addition, the fault information of the early fault signal is not obvious, which leads to low accuracy and great limitations of signal-based methods.
[0005] The application of artificial intelligence methods in the field of bearing fault diagnosis has become relatively mature. Artificial intelligence methods have won the favor of scientific researchers because they can complete fault identification by simply mining the relationship between historical data. However, artificial intelligence-based methods currently have problems such as low accuracy and long time required for bearing fault diagnosis.
[0006] Therefore, a bearing fault diagnosis method based on sorting stable simplified sparse quantum neural network is proposed to solve the problems of low accuracy, large human interference and long time consumption. Summary of the invention
[0007] The present invention proposes a bearing fault diagnosis method of a sorted stable simplified sparse quantum neural network, which takes the absolute value of the collected bearing fault vibration data and sorts it from small to large, quantizes the sorted bearing fault vibration data, and uses a switching quantum neural network to diagnose the bearing fault, with high diagnostic accuracy, fast training speed, and fast diagnostic operation speed; the steps in the use process are as follows: Step (1): Sampling bearing fault vibration data: Collect n from the bearing fault vibration data sample individual data;
[0008] Step (2): Preprocessing of bearing fault vibration data: sample Bearing fault vibration data x raw Take the absolute value, and then sort the data after taking the absolute value from small to large to get x sort , and use the self-attention network to label the key sequences to obtain x self Finally, the labeled data is normalized to obtain x norm , the normalized calculation formula is as shown in formula (1);
[0009]
[0010] Where x smin is x self The minimum value of the sequence, x smax is x self The maximum value of the sequence;
[0011] Step (3): Determine the output qubit: Output classification number n according to the bearing fault class Determine the output qubit n out , and the following conditions are met:
[0012]
[0013] Step (4): Quantization operation: Use n in The normalized n sample The data is quantized, and the precision of the quantized data is 2 -nin , the input dimension is 1×n sample ·n in The quantization calculation formula is
[0014]
[0015] Where x qIt is the quantized data;
[0016] Step (5): Design quantum neural network: Design n layer The number of quantum bit gates in each hidden quantum unit layer is n. neuron , the input layer dimension is 1×n sample ·n in , where W1 represents the weight between the quantum neurons in the input layer and the quantum neurons in the hidden quantum unit layer, b1 represents the bias between the quantum neurons in the input layer and the quantum neurons in the hidden quantum unit layer, W2 represents the weight between the quantum neurons in the hidden quantum unit layer, and b2 represents the bias between the quantum neurons in the hidden quantum unit layer; the calculation formula of the quantum bit gate in the Mth row and the Rth column is
[0017]
[0018] Where θ M,R is the Euler angle θ of the Bloch sphere corresponding to the quantum bit gate in the Mth row and the Rth column, is the Euler angle of the Bloch sphere corresponding to the quantum bit gate in the Mth row and the Rth column λ M,R is the distance from the end of the quantum state corresponding to the quantum bit gate in the Mth row and the Rth column to the center of the Bloch sphere, and i is a unit complex number;
[0019] Step (6): Design the switch quantum layer: The switch quantum layer contains four quantum neural networks. Each quantum neural network has the same structure but different weights and biases, which are suitable for identifying different bearing fault characteristics. q As input, then x q Routing to the optimal quantum neural network, x q The fraction that passes the jth quantum neural network is
[0020] h j (x q )=W j ·x q (5)
[0021] x q The proportion of the probability of passing the jth quantum neural network is
[0022]
[0023] Where h j (x q ) is x q By the score of the j-th quantum neural network, W j is the jth quantum neural network routing matrix, p j (xq ) is x q The proportion of the probability of passing the jth quantum neural network is calculated by comparing p j (x q ) size, select the optimal quantum neural network; finally x q With the highest probability, the output of the switching quantum layer passes through the Tth quantum neural network.
[0024]
[0025] Where y q is the output of the switching quantum layer, E j (x q ) is x q Through the output of the jth quantum neural network;
[0026] Step (7): Use the adaptive moment estimation optimization method to train the parameters of the sorted stable simplified sparse quantum neural network: The adaptive moment estimation optimization method can accumulate gradients and calculate the weighted average of the differential square of the gradient, so that the convergence speed is fast and the fluctuation amplitude is small; use the adaptive moment estimation optimization method to train the parameters W1, b1, W2, b2, θ in the network M,R , and λ M,R Perform optimization update and set parameter a to be W1, b1, W2, b2, θ M,R , and λ M,R , optimize the parameter a;
[0027] (7.1) Parameter initialization
[0028] v da =0;s da =0 (8) where v da is the cumulative gradient, s da is the squared cumulant of the gradient;
[0029] (7.2) Parameter update
[0030] v da =β1v da +(1-β1)da (9)
[0031] s da =β2s da +(1-β2)d 2 a (10) where β1 is an exponent of the gradient cumulant; β2 is an exponent of the gradient square cumulant; da is the first-order differential of a, d 2 a is the second-order differential of a;
[0032] (7.3) Correct the deviation of the updated parameter value
[0033]
[0034] In the formula is the cumulative gradient after deviation correction, is the squared cumulative gradient after deviation correction, t is the number of iterations, is the t-th power of the gradient accumulator exponential, It is the tth power of the square cumulant of the gradient;
[0035] (7.4) Update the parameters
[0036]
[0037] Where α is the learning rate, ε is a smoothing constant, is the cumulative gradient after deviation correction, is the squared cumulative gradient after deviation correction;
[0038] (7.5) When the value of parameter a becomes stable and no longer changes significantly, the training of the switching quantum neural network is completed;
[0039] Step (8): Use the trained switching quantum neural network to identify the quantized bearing fault vibration data, obtain the fault category of the bearing fault vibration data, and complete the classification and identification of the bearing fault.
[0040] Compared with the prior art, the present invention has the following advantages and effects:
[0041] (1) Simple calculation, fast operation, and no interference from human factors. The collected original bearing fault vibration data is taken for absolute value, and then the data after taking the absolute value is arranged in order from small to large. The whole process is completed by mathematical operations. Compared with the signal-based method, there is no interference from human factors, and the mathematical operations used are simple and run very quickly.
[0042] (2) Design a switching quantum neural network to improve the network operation speed. Use a switching quantum neural network to improve the operation speed, replace the ordinary feedforward neural network with a quantum neural network, and improve the operation speed of the entire network.
[0043] (3) Use switching quantum neural networks to enhance the stability of overall network training. The sparsity of the model can lead to instability in training. Using switching quantum neural networks, only the marked routes are passed to a single quantum neural network, which reduces the computational and communication costs, improves the training stability, and enables large sparse models to be trained with low precision. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1It is a principle framework diagram of the method of the present invention.
[0045] Figure 2 is a diagram of the Bloch sphere.
[0046] Figure 3 is a quantum neural network graph. DETAILED DESCRIPTION
[0047] A bearing fault diagnosis method of a sorted stable simplified sparse quantum neural network proposed by the present invention is described in detail as follows in conjunction with the accompanying drawings:
[0048] Figure 1 The principle framework diagram of the method of the present invention is as follows. In general, the bearing fault vibration data is sorted, and then quantized, and the bearing fault diagnosis is performed using a switching quantum neural network. The details are as follows: first, the bearing fault vibration data x raw Take the absolute value, and then sort the values from small to large to get a new sequence x sort , perform key sequence labeling on the sorted bearing fault data to obtain x self Then normalize it to get x norm Secondly, the normalized data is quantized to obtain x q Then, the feature is routed to each quantum neural network, and one of the quantum neural networks SQ1, SQ2, SQ3 and SQ4 recognizes the feature, and the switch quantum layer returns the output E of the selected j-th quantum neural network. j (x q ) and the probability value p of the characteristic routing j (x q ) multiplied by q Finally, the fault category probability y of the bearing fault vibration data is obtained by the classification layer to complete the bearing fault diagnosis.
[0049] Figure 2 is the Bloch sphere diagram. In the Bloch sphere diagram, θ is the Euler angle θ of the Bloch sphere. is the Euler angle of the Bloch sphere λ is the distance from the end of the quantum state to the center of the Bloch sphere.
[0050] Figure 3 It is a quantum neural network diagram. It consists of an input layer, a hidden quantum unit layer and an output layer. The dimension of the input layer is n sample ×n in ; The hidden content quantum unit layer contains n layer The number of quantum bit gates in each hidden quantum unit layer is n. neuron, where W1 represents the weight between the quantum neurons of the input layer and the quantum neurons of the hidden quantum unit layer, b1 represents the bias between the quantum neurons of the input layer and the quantum neurons of the hidden quantum unit layer, W2 represents the weight between the quantum neurons of the hidden quantum unit layer, and b2 represents the bias between the quantum neurons of the hidden quantum unit layer.
[0051] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A bearing fault diagnosis method based on a sorted stable simplified sparse quantum neural network, characterized in that: The collected bearing fault vibration data is taken in absolute value and sorted from small to large. The sorted bearing fault vibration data is quantized and the bearing fault is diagnosed using a switching quantum neural network. The diagnosis accuracy is high, the training speed is fast, and the running speed of the diagnosis operation is fast. The steps in the use process are: Step (1): Bearing fault vibration data sampling: Collect n from the bearing fault vibration data sample individual data; Step (2): Preprocessing of bearing fault vibration data: sample Bearing fault vibration data x raw Take the absolute value, and then sort the data after taking the absolute value from small to large to get x sort , and use the self-attention network to label the key sequences to obtain x self Finally, the labeled data is normalized to obtain x norm , the normalized calculation formula is as shown in formula (1); Where x smin is x self The minimum value of the sequence, x smax is x self The maximum value of the sequence; Step (3): Determine the output qubit: Output classification number n according to the bearing fault class Determine the output qubit n out , and the following conditions are met: Step (4): Quantization operation: Use n in The normalized n sample The data is quantized, and the accuracy of the quantized data is The input dimension is 1×n sample ·n in The quantization calculation formula is Where x q It is the quantized data; Step (5): Design quantum neural network: Design n layer The number of quantum bit gates in each hidden quantum unit layer is n. neuron , the input layer dimension is 1×n sample ·n in , where W1 represents the weight between the quantum neurons in the input layer and the quantum neurons in the hidden quantum unit layer, b1 represents the bias between the quantum neurons in the input layer and the quantum neurons in the hidden quantum unit layer, W2 represents the weight between the quantum neurons in the hidden quantum unit layer, and b2 represents the bias between the quantum neurons in the hidden quantum unit layer; the calculation formula of the quantum bit gate in the Mth row and the Rth column is Where θ M,R is the Euler angle θ of the Bloch sphere corresponding to the quantum bit gate in the Mth row and the Rth column, is the Euler angle of the Bloch sphere corresponding to the quantum bit gate in the Mth row and the Rth column λ M,R is the distance from the end of the quantum state corresponding to the quantum bit gate in the Mth row and the Rth column to the center of the Bloch sphere, i is a unit complex number; Step (6): Design the switch quantum layer: The switch quantum layer contains four quantum neural networks, each of which has the same structure but different weights and biases, and is suitable for identifying different bearing fault characteristics; Switching quantum layers with x q As input, then x q Routing to the optimal quantum neural network, x q The fraction that passes the jth quantum neural network is h j (x q )=W j ·x q (5) x q The proportion of the probability of passing the jth quantum neural network is Where h j (x q ) is x q By the score of the j-th quantum neural network, W j is the jth quantum neural network routing matrix, p j (x q ) is x q The proportion of the probability of passing the jth quantum neural network is calculated by comparing p j (x q ) size, select the optimal quantum neural network; finally x q With the highest probability, the output of the switching quantum layer passes through the Tth quantum neural network. Where y q is the output of the switching quantum layer, E j (x q ) is x q Through the output of the jth quantum neural network; Step (7): Use the adaptive moment estimation optimization method to train the parameters of the sorted stable simplified sparse quantum neural network: The adaptive moment estimation optimization method can accumulate gradients and calculate the weighted average of the differential square of the gradient, so that the convergence speed is fast and the fluctuation amplitude is small; use the adaptive moment estimation optimization method to train the parameters W1, b1, W2, b2, θ in the network M,R , and λ M,R Perform optimization update and set parameter a to be W1, b1, W2, b2, θ M,R , and λ M,R , optimize the parameter a; (7.1) Parameter initialization v da =0;s da =0 (8) Where v da is the cumulative gradient, s da is the squared cumulant of the gradient; (7.2) Parameter update in da =β1v da +(1-β1)yes (9) s da =β2s da +(1-β2)d 2 a (10) Where β1 is an exponential of the gradient cumulant; β2 is an exponential of the gradient square cumulant; da is the first-order differential of a, d 2 a is the second-order differential of a; (7.3) Correct the deviation of the updated parameter value In the formula is the cumulative gradient after deviation correction, is the squared cumulative gradient after deviation correction, t is the number of iterations, is the t-th power of the gradient accumulator exponential, It is the tth power of the square cumulant of the gradient; (7.4) Update the parameters Where α is the learning rate, ε is a smoothing constant, is the cumulative gradient after deviation correction, is the squared cumulative gradient after deviation correction; (7.5) When the value of parameter a becomes stable and no longer changes significantly, the training of the switching quantum neural network is completed; Step (8): Use the trained switching quantum neural network to identify the quantized bearing fault vibration data, obtain the fault category of the bearing fault vibration data, and complete the classification and identification of the bearing fault.
