Flywheel fault identification method based on LSTM deep denoising autoencoder
Through the combination of LSTM deep denoising autoencoder and SVM, the flywheel signal is processed and residual features are extracted, which solves the problems of low fault identification accuracy and noise sensitivity in traditional methods, and achieves accurate fault identification and stable operation of satellite flywheels.
Patent Information
- Application Number
- CN202111057906.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-09-09
AI Technical Summary
Traditional methods are difficult to effectively identify satellite flywheel faults, especially in complex nonlinear systems where the signal volume is large and the noise robustness is poor, resulting in low fault identification accuracy, inability to effectively utilize long-term sequence signal samples, and sensitivity to noise interference.
A flywheel fault identification method based on the LSTM deep denoising autoencoder is adopted. The flywheel motor current, torque and rotational speed signals are processed through extreme envelope moving average or wavelet noise reduction, and the sliding window method is combined to construct a deep denoising autoencoder network. Extract signal residual features, use SVM for fault identification, and determine optimal parameters to improve identification accuracy.
It improves the accuracy and stability of flywheel fault identification, enhances the robustness to noise interference, can effectively utilize multi-parameter signals, accurately identify the operating status of the flywheel, and reduces the problems of noise interference and low identification results in traditional methods.
Smart Images

Figure CN113850161B
Abstract
Description
Technical Field
[0001] The present invention belongs to satellite flywheel fault diagnosis technology, and specifically relates to a flywheel fault identification method based on LSTM deep denoising autoencoder. Background Art
[0002] A flywheel is a rotating rigid body that can reach different speeds and generate different angular momentums through the drive of a motor. Due to its long life, high precision and versatility, it has become one of the most common actuators in current high-precision attitude control satellites. The flywheel uses its own angular momentum changes to generate reaction torque, thereby changing the satellite's attitude. It is essential to complete the specified attitude adjustment, resist external disturbances and ensure the smooth operation of the satellite.
[0003] However, the working environment of the flywheel is very harsh. It is disturbed by many factors such as temperature difference in space, cosmic rays, electromagnetic storms and magnetic field gravity. It is easy to fail during long-term operation. If the failure is not identified and solved in time, it will cause the satellite attitude to become unstable, posing a threat to the safe operation of the satellite. Therefore, it is necessary to continuously improve the flywheel manufacturing process and improve its reliability. It also requires us to monitor the various parameters of the flywheel in real time, understand the operating status of the flywheel, and avoid unnecessary safety accidents.
[0004] The flywheel is a complex nonlinear system with many monitoring parameters and a large amount of data. The traditional model-based state estimation method estimates the flywheel error and fault by establishing a mathematical model of the flywheel, using observers and filters to estimate the flywheel error and fault, and then identifies the flywheel state. However, it is no longer applicable to situations where the flywheel monitoring parameters are numerous and the signal volume is huge. Therefore, data-driven fault identification methods such as support vector machines, back propagation neural networks, convolutional neural networks, and long short-term memory networks have gradually become mainstream. In actual use, support vector machines have difficulties in dealing with multi-mode fault identification problems and are sensitive to parameter selection, so they need to be used together with other methods; back propagation neural networks have gradient explosion or disappearance during training, and their ability to represent complex data is limited; although convolutional neural networks can extract data features well, they require the input data to be two-dimensional or even higher-dimensional, which limits the use of satellite monitoring of one-dimensional time series signals; long short-term memory networks can learn historical information in time series, but they are not robust to nonlinear noise. Therefore, it is necessary to propose a flywheel fault identification scheme to learn the fault information in the monitoring signal, enhance the robustness to noise interference, and improve the accuracy of satellite flywheel fault identification. Summary of the invention
[0005] The purpose of the present invention is to propose a flywheel fault identification method based on LSTM deep denoising autoencoder, use extreme envelope moving average or wavelet denoising to process the original signal, and combine the sliding window method to construct current signal samples, torque signal samples and speed signal samples respectively, then, based on LSTM units, three independent deep denoising autoencoder networks are constructed respectively, and the three networks are trained respectively using current signal samples, torque signal samples and speed signal samples. Based on the network output, a signal residual is generated and the signal residual feature is extracted. Finally, a grid search method is introduced to determine the optimal parameters of SVM, and flywheel fault identification is completed using SVM. Using the method proposed in the present invention, the deep denoising autoencoder network based on LSTM is combined with SVM to construct a flywheel fault identification model to achieve accurate identification of the operating status of the satellite flywheel.
[0006] The technical solution to achieve the purpose of the present invention is: a flywheel fault identification method based on LSTM deep denoising autoencoder, which uses extreme value envelope moving average or wavelet denoising to collect flywheel motor current signal, flywheel output torque signal and flywheel speed signal, builds a deep denoising autoencoder network based on LSTM unit, reconstructs the flywheel motor current signal, flywheel output torque signal and flywheel speed signal, calculates the residual of the deep denoising autoencoder network output and input signal and extracts features, and uses SVM to complete flywheel fault identification. The specific steps are as follows:
[0007] Step 1: Collect the flywheel motor current signal, flywheel output torque signal and flywheel speed signal, construct the original signal set, and proceed to step 2.
[0008] Step 2: The flywheel motor current signal and the flywheel output torque signal are preprocessed by the extreme value envelope moving average method to obtain the current signal and torque signal respectively. At the same time, the flywheel speed signal is preprocessed by the wavelet denoising method to obtain the speed signal, and then proceed to step 3.
[0009] Step 3: Use the sliding window method to segment the current signal, torque signal and speed signal respectively, obtain current signal samples, torque signal samples and speed signal samples accordingly, and then go to step 4.
[0010] Step 4. Use LSTM units to build three deep noise reduction autoencoder networks respectively. Use current signal samples to train the first network, torque signal samples to train the second network, and speed signal samples to train the third network, then go to step 5.
[0011] Step 5: Calculate the residuals between the outputs and inputs of the three networks respectively, and obtain the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix respectively. Combine the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix to form a signal residual matrix, and proceed to step 6.
[0012] Step 6: Analyze the residual characteristics in the signal residual matrix, extract the residual features, construct the feature matrix, and go to step 7.
[0013] Step 7: Use the feature matrix to train SVM, introduce the grid search method to determine the optimal parameters of SVM, and go to step 8.
[0014] Step 8: According to the optimal parameters of SVM, a flywheel fault recognition model based on LSTM deep denoising autoencoder is constructed, and flywheel fault recognition is realized through the model.
[0015] Compared with the prior art, the present invention has the following significant advantages:
[0016] (1) The flywheel motor current signal, flywheel output torque signal and flywheel speed signal are collected for comprehensive analysis and research. Compared with the research using only a single parameter signal, more comprehensive flywheel operating status information can be obtained, the utilization rate of the monitoring signal is improved, and the problem of low accuracy of flywheel fault identification by traditional methods is effectively solved.
[0017] (2) The characteristics of the monitoring signals were analyzed, and corresponding preprocessing methods were adopted for different signals. The extreme value envelope moving average method was used to process the flywheel motor current signal and flywheel output torque signal with large variation amplitude and high noise. The wavelet denoising method was used to process the flywheel speed signal with certain variation pattern. This method not only retained the signal variation trend and characteristic information, but also eliminated the interference of noise, thereby improving the feature learning ability and signal reconstruction ability of the subsequent network model.
[0018] (3) The sliding window method is used to process the signal to obtain data in a form that can be directly input into the network model, avoiding the problem of a single sample being too long caused by the traditional time series processing method. While increasing the number of samples, the temporal correlation of the signal is retained, which is conducive to signal feature extraction and effectively solves the problem that traditional methods cannot effectively utilize long time series signal samples.
[0019] (4) A deep denoising autoencoder network was built using LSTM units, which enabled the network model to have the ability to reconstruct time series and extract historical information. At the same time, thanks to the differentiated preprocessing of the input signal, the model has the ability to reduce noise, which effectively solves the problem of low recognition results and inability to extract historical information of time series signals due to noise and unknown interference when using traditional models for flywheel fault identification, thereby greatly improving the recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The present invention is a flow chart of a flywheel fault identification method based on an LSTM deep denoising autoencoder.
[0021] Figure 2 It is a schematic diagram of the processing flow of the sliding window method in the present invention.
[0022] Figure 3 This is a feature point diagram for fault identification extraction using the flywheel fault identification method based on the LSTM deep denoising autoencoder in the present invention.
[0023] Figure 4 It is the feature point diagram extracted when only a single parameter signal is used for fault identification.
[0024] Figure 5 This is the feature point map extracted when using the traditional denoising autoencoder network for fault identification.
[0025] Figure 6 This is a comparison chart between actual categories and judged categories when the flywheel fault identification method based on LSTM deep denoising autoencoder proposed in the present invention is used to identify flywheel test data. DETAILED DESCRIPTION
[0026] Combination Figure 1 A flywheel fault identification method based on LSTM deep denoising autoencoder is characterized in that: the flywheel motor current signal, flywheel output torque signal and flywheel speed signal are collected by using extreme value envelope moving average or wavelet denoising processing, three deep denoising autoencoder networks are respectively built based on LSTM units, the flywheel motor current signal, flywheel output torque signal and flywheel speed signal are reconstructed, the residual between the output and input signal of the deep denoising autoencoder network is calculated and features are extracted, and the flywheel fault identification is completed by using SVM, which specifically includes the following steps:
[0027] Step 1: Collect the flywheel motor current signal, flywheel output torque signal and flywheel speed signal to construct the original signal set.
[0028] When collecting the flywheel motor current signal, flywheel output torque signal and flywheel speed signal, the satellite is in a stable attitude, the flywheel working state is the attitude maintenance process of resisting space torque interference, and the flywheel has no faults. The flywheel motor current signal, flywheel output torque signal and flywheel speed signal are sampled according to the specified sampling time period.
[0029] The original signal set is a signal matrix composed of the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal, denoted as X:
[0030] X=[X I ,XT ,X ω ] T
[0031] Where X I , X T and X ω They are respectively the flywheel motor current signal vector, the flywheel output torque signal vector and the flywheel speed signal vector, and the signal length is l.
[0032] When the traditional fault identification model uses a single parameter to identify flywheel faults, the status information and characteristics it obtains are often incomplete and cannot accurately reflect the actual operating status of the flywheel. However, when multiple parameters are used simultaneously, such as flywheel motor current, flywheel output torque and flywheel speed, more comprehensive flywheel operating status information can be obtained, which improves the utilization rate of monitoring signals and effectively solves the problem of low accuracy of flywheel fault identification using traditional methods.
[0033] Go to step 2.
[0034] Step 2: The flywheel motor current signal and the flywheel output torque signal are preprocessed by the extreme value envelope moving average method to obtain the current signal and torque signal respectively. At the same time, the flywheel speed signal is preprocessed by the wavelet noise reduction method to obtain the speed signal, as follows:
[0035] 2-1) Normalize the motor current, output torque and speed signals respectively, using the deviation normalization method, i.e., the min-max normalization method. The conversion function expression is:
[0036]
[0037] In the formula, a signal x in the original signal set is raw =[x1,x2,...,x i ...,x l ], l is the signal length, x i ' is the normalized signal, the signal number i∈(1,2,...,l), max(·) and min(·) are the maximum value function and the minimum value function respectively; go to step 2-2).
[0038] 2-2) Determine whether the normalized signal is a flywheel speed signal, if yes, go to step 2-3), if not, go to step 2-4).
[0039] 2-3) The wavelet denoising method is used to process the flywheel speed signal. The wavelet decomposition layer is "layer_wavelet" and the wavelet basis function is "func_wavelet". The preprocessed speed signal vector X' is obtained. ω .
[0040] 2-4) Use the extreme envelope moving average method to process the above signal, divide the signal into b segments with a length of m as the interval, where m is the extreme envelope segment window length and b is the number of signal segments; go to step 2-5).
[0041] 2-5) Take any segmented signal, find the maximum and minimum values of the segmented signal respectively, as the upper envelope value and lower envelope value of the segmented signal, calculate the difference between the upper envelope value and the lower envelope value, the difference x j Defined as:
[0042] x j =max(x p )-min(x p )
[0043] In the formula, the segmented signal x p =[x′ 1+j×m ,x' 2+j×m ,...,x' m+j×m ], the serial number of the segmented signal j∈(0,1,...,b-1), replace all values in the segmented signal with the difference; go to step 2-6).
[0044] 2-6) Repeat step 2-5) until all segments of the signal are replaced; go to step 2-7).
[0045] 2-7) Set the moving window length to n and calculate the simple moving average x of the entire signal after replacement n+1 , the calculation formula is:
[0046]
[0047] Wherein, m≤n≤l; go to step 2-8).
[0048] 2-8) Repeat steps 2-4) to 2-7) until the preprocessed motor current signal vector X′ is obtained. I And the output torque signal vector X' T .
[0049] Since the flywheel motor current signal, flywheel output torque signal and flywheel speed signal contain a lot of environmental noise, torque noise and motor interference signals, the results obtained by directly applying them to the diagnostic model are often poor, so "noise reduction" processing is required. In step 2, different signals are analyzed and processed by different "noise reduction" methods. The extreme envelope moving average method is used to process the flywheel motor current signal and flywheel output torque signal with large variation and high noise. The wavelet denoising method is used to process the flywheel speed signal with a certain variation law. It not only retains the signal's variation trend and characteristic information, but also eliminates the interference of noise, and improves the feature learning ability and signal reconstruction ability of the subsequent network model.
[0050] Go to step 3.
[0051] Step 3: Use the sliding window method to segment the current signal, torque signal and speed signal respectively, and obtain current signal samples, torque signal samples and speed signal samples accordingly.
[0052] The general process of the sliding window method to segment time series signals is as follows Figure 2 As shown, the specific steps are:
[0053] 3-1) Select any one of the current signal, torque signal and speed signal, set the starting index of the sliding window to Q, and the initial value to 1, set the sliding window length to w, set the sliding window moving step to s, and w>s, l is the signal length.
[0054] 3-2) Take the Qth value of the signal as the starting value, the Q+w-1th value of the signal as the end value, and the w values in this interval as the Qth signal sample.
[0055] 3-3) Increase the Q value by s.
[0056] 3-4) Determine whether Q+w-1 is greater than l. If it is greater than l, return to 3-1) to segment the remaining signals. After the three signals are segmented, the motor current signal matrix Z is obtained. I , output torque signal matrix Z T And the speed signal matrix Z ω , go to step 4; if not greater than 1, go to step 3-2).
[0057] The collected signal is a time series signal. If it is directly applied to the neural network model, there is a problem that the length of a single sample is too large. Improper sample separation will also cause the signal to lose key information. The sliding window method is used to process the signal, which not only retains the time correlation of the time series signal, but also reduces the sample length and increases the number of samples, solving the problem that the traditional method cannot effectively utilize the signal samples.
[0058] Step 4: Use LSTM units to build three deep noise reduction autoencoder networks respectively. Use current signal samples to train the first network, torque signal samples to train the second network, and speed signal samples to train the third network. The details are as follows:
[0059] 4-1) Use LSTM units to build a deep denoising autoencoder network. The number of network layers is "layer_net". From the first layer to the last layer, the number of LSTM units in each layer is "node_1", "node_2",,,,, "node_layer_net". The activation function used in each layer is "func_net", the optimization algorithm used by the network is "optimizer", and the loss function is "loss".
[0060] 4-2) Use a certain parameter signal sample to train the LSTM-based deep denoising autoencoder network.
[0061] 4-3) Repeat steps 4-1) and 4-2) until the current sub-network, torque sub-network and speed sub-network are trained and the signal reconstruction matrix output by each network is obtained: The current signal reconstruction matrix output by the current sub-network The torque signal reconstruction matrix output by the torque sub-network The speed signal reconstruction matrix output by the speed sub-network
[0062] The model-based flywheel fault identification method cannot effectively extract historical information from time series signals, while the traditional neural network method cannot effectively solve the noise and interference problems in the signal. The LSTM-based deep denoising autoencoder network draws on the advantages of traditional denoising autoencoder network in reconstructing signals and LSTM in learning long time series information. It not only has the ability to reconstruct time series and extract historical information, but also has a certain noise reduction ability, which effectively improves the accuracy of flywheel fault identification and solves the problem of being unable to extract historical information of time series signals when using the model-based flywheel fault identification method for flywheel fault identification, and the disadvantage of low recognition results caused by noise and unknown interference when using the traditional neural network method for flywheel fault identification.
[0063] Go to step 5.
[0064] Step 5: Calculate the residuals between the outputs and inputs of the three networks respectively, and obtain the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix respectively. Combine the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix to form the signal residual matrix R:
[0065] R=[R I ,R T ,R ω ]T
[0066] In the formula, the current signal residual matrix
[0067] Moment signal residual matrix
[0068] Speed signal residual matrix
[0069] Since the data used to train the model are signals collected when the flywheel is in normal condition, the reconstruction error of the fault signal by the trained model is larger than the reconstruction error of the normal signal. The residual between the network input and output contains features that can distinguish the fault state. After calculating the residual, subsequent feature extraction can be performed to realize flywheel fault identification.
[0070] Go to step 6.
[0071] Step 6: Analyze the residual characteristics in the signal residual matrix, extract the residual features, and construct the feature matrix.
[0072] Extract the maximum value M, mean μ, standard deviation σ of the current signal residual, torque signal residual and speed signal residual in the residual matrix respectively 2 , margin L, peak factor C f and the form factor W S As features, a feature matrix is constructed, denoted as r:
[0073] r=[r I ,r T ,r ω ] T
[0074] In the formula, the current signal characteristic matrix r I =[M(R I ),μ(R I ),σ 2 (R I ),L(R I ),C f (R I ),W S (R I )];
[0075] Moment characteristic matrix r T =[M(R T ),μ(R T ),σ 2 (R T ),L(R T ),C f (R T ),W S (R T)];
[0076] Speed characteristic matrix r ω =[M(R ω ),μ(R ω ),σ 2 (R ω ),L(R ω ),C f (R ω ),W S (R ω )];
[0077] Let r' be the residual vector of a parameter in the characteristic matrix r, r'=[r1,r2,...,r a ...,r l ], the signal number a∈(1,2,...,l), where l is the signal length of the sample, the feature extraction process is as follows:
[0078] M(r')=max(r a );
[0079] μ(r')=E(r a );
[0080]
[0081]
[0082]
[0083]
[0084] Where E(·) is the mean function.
[0085] The maximum value in the feature reflects the individual characteristics of the signal, the mean and standard deviation reflect the statistical characteristics of the signal, and the margin, peak factor and waveform factor reflect the impact strength of the signal. Combining the maximum value, mean, standard deviation, margin peak factor and waveform factor can effectively extract a lot of fault information from the signal.
[0086] Go to step 7.
[0087] Step 7: Use the feature matrix to train SVM and introduce the grid search method to determine the optimal parameters of SVM.
[0088] The feature matrix r is input into SVM for training, the parameter range is determined, the grid search method is used to find the optimal parameters, and 5-fold cross validation is adopted.
[0089] SVM is a supervised learning algorithm for binary or multi-classification of data. It has great advantages in processing multidimensional and small sample data, but it is very sensitive to parameter selection. The grid search method is introduced and combined with 5-fold cross validation to obtain the optimal model parameters.
[0090] Go to step 8.
[0091] Step 8: Construct a flywheel fault recognition model based on LSTM deep noise reduction autoencoder according to the optimal parameters of SVM. The model structure is as follows: Figure 1 As shown in the figure, the model is used to realize flywheel fault identification, as follows:
[0092] The flywheel motor current signal, flywheel output torque signal and flywheel speed signal of the flywheel to be identified are input into the flywheel fault recognition model based on the LSTM deep denoising autoencoder to obtain the model output label, and the flywheel fault category is judged according to the output label: if the output label is 0, the flywheel is normal; if the output label is 1, the flywheel has a motor gain fault; if the output label is 2, the flywheel has an increased friction fault.
[0093] The method proposed in the present invention is used to realize flywheel fault identification, which solves the problem of low accuracy of flywheel fault identification. This method is applied to on-orbit satellite flywheel fault detection, which can accurately identify flywheel faults, formulate reasonable fault isolation strategies in time, and improve the stability and safety of satellite on-orbit operation.
[0094] Example 1
[0095] In order to illustrate the technical solution and technical purpose of the present invention, the present invention is further introduced below in conjunction with the accompanying drawings and specific embodiments.
[0096] Combination Figure 1 The present invention proposes a flywheel fault identification method based on LSTM deep denoising autoencoder, comprising the following steps:
[0097] Step 1: Collect the flywheel motor current signal, flywheel output torque signal and flywheel speed signal to construct the original signal set.
[0098] When collecting the flywheel motor current signal, flywheel output torque signal and flywheel speed signal, the satellite is in a stable attitude, the flywheel working state is the attitude maintenance process of resisting space torque interference, and the flywheel has no faults. The flywheel motor current signal, flywheel output torque signal and flywheel speed signal are sampled according to the sampling time period of 0.01s.
[0099] The original signal set is a signal matrix composed of the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal, denoted as X:
[0100] X=[X I ,XT ,X ω ] T
[0101] Where X I , X T and X ω They are respectively the flywheel motor current signal vector, the flywheel output torque signal vector and the flywheel speed signal vector, and the total signal length is 330,000.
[0102] Go to step 2.
[0103] Step 2: The flywheel motor current signal and the flywheel output torque signal are preprocessed by the extreme value envelope moving average method to obtain the current signal and torque signal respectively. At the same time, the flywheel speed signal is preprocessed by the wavelet noise reduction method to obtain the speed signal, as follows:
[0104] 2-1) Normalize the motor current, output torque and speed signals respectively, using the deviation normalization method, i.e., the min-max normalization method. The conversion function expression is:
[0105]
[0106] In the formula, a signal x in the original signal set is raw =[x1,x2,...,x i ...,x 5000 ], the length of a single sampling signal is 5000, x′ i is the normalized signal, the signal number i∈(1,2,...,5000), max(·) and min(·) are the maximum value function and the minimum value function respectively; go to step 2-2)
[0107] 2-2) Determine whether the normalized signal is a flywheel speed signal, if yes, go to step 2-3), if no, go to step 2-4);
[0108] 2-3) The wavelet denoising method is used to process the flywheel speed signal. The wavelet decomposition layer number is 4 and the wavelet basis function is "db30". The preprocessed speed signal vector X' is obtained. ω .
[0109] 2-4) Process the above signal using the extreme value envelope moving average method, set the extreme value envelope segmentation window length to 100, and divide the signal into 50 segments at intervals of 100; go to step 2-5);
[0110] 2-5) Take any segmented signal, find the maximum and minimum values of the segmented signal respectively, as the upper envelope value and lower envelope value of the segmented signal, calculate the difference between the upper envelope value and the lower envelope value, the difference xj Defined as:
[0111] x j =max(x p )-min(x p )
[0112] In the formula, the segmented signal x p =[x′ 1+j×100 ,x' 2+j×100 ,...,x' m+j×100 ], the serial number of the segmented signal j∈(0,1,...,49), replace all values in the segmented signal with the difference; go to step 2-6);
[0113] 2-6) Repeat step 2-5) until all segments of the signal are replaced; go to step 2-7);
[0114] 2-7) Set the moving window length to 800 and calculate the simple moving average of the signal. The calculation formula is:
[0115]
[0116] Go to step 2-8).
[0117] 2-8) Repeat steps 2-4) to 2-7) until the preprocessed motor current signal vector X is obtained. I 'And the output torque signal vector X' T .
[0118] Go to step 3.
[0119] Step 3: Use the sliding window method to segment the current signal, torque signal and speed signal respectively, and obtain current signal samples, torque signal samples and speed signal samples accordingly. The specific steps are as follows:
[0120] 3-1) Select any one of the current signal, torque signal and speed signal, set the starting index of the sliding window to Q, and the initial value to 1, set the sliding window length to 50, set the sliding window moving step to 10, and the signal length to 5000;
[0121] 3-2) Take the Qth value of the signal as the starting value, the Q+49th value of the signal as the end value, and the 50 values in this interval as the Qth signal sample;
[0122] 3-3) Increase the Q value by 10;
[0123] 3-4) Determine whether Q+49 is greater than 5000. If it is greater than 5000, return to 3-1) to segment the remaining signals. After the three signals are segmented, the motor current signal matrix Z is obtained. I, output torque signal matrix Z T And the speed signal matrix Z ω , go to step 4; if it is not greater than 5000, go to step 3-2).
[0124] Step 4: Use LSTM units to build three deep noise reduction autoencoder networks respectively. Use current signal samples to train the first network, torque signal samples to train the second network, and speed signal samples to train the third network. The details are as follows:
[0125] 4-1) Use LSTM units to build a deep denoising autoencoder network with 4 network layers. From the first layer to the last layer, the number of LSTM units in each layer is 50, 50, 50, and 50. The activation function used in each layer is the linear rectification function, i.e., the Relu function. The network optimization algorithm used is the Adam algorithm, and the loss function is the mean square error function.
[0126] 4-2) Use a certain parameter signal sample to train the LSTM-based deep denoising autoencoder network.
[0127] 4-3) Repeat steps 4-1) and 4-2) until the current sub-network, torque sub-network and speed sub-network are trained and the reconstructed signals output by each network are obtained: The current signal reconstruction matrix output by the current sub-network The torque signal reconstruction matrix output by the torque sub-network The speed signal reconstruction matrix output by the speed sub-network
[0128] Go to step 5.
[0129] Step 5: Calculate the residuals between the outputs and inputs of the three networks respectively, and obtain the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix respectively. Combine the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix to form the signal residual matrix R:
[0130] R=[R I ,R T ,R ω ] T
[0131] In the formula, the current signal residual matrix
[0132] Moment signal residual matrix
[0133] Speed signal residual matrix
[0134] Go to step 6.
[0135] Step 6: Analyze the residual characteristics in the signal residual matrix, extract the residual features, and construct the feature matrix.
[0136] Extract the maximum value M, mean μ, standard deviation σ of the current signal residual, torque signal residual and speed signal residual in the residual matrix respectively 2 , margin L, peak factor C f and the form factor W S As features, a feature matrix is constructed, denoted as r:
[0137] r=[r I ,r T ,r ω ] T
[0138] In the formula, the current signal characteristic matrix r I =[M(R I ),μ(R I ),σ 2 (R I ),L(R I ),C f (R I ),W S (R I )];
[0139] Moment characteristic matrix r T =[M(R T ),μ(R T ),σ 2 (R T ),L(R T ),C f (R T ),W S (R T )];
[0140] Speed characteristic matrix r ω =[M(R ω ),μ(R ω ),σ 2 (R ω ),L(R ω ),C f (R ω ),W S (R ω )];
[0141] Let r' be a sample of the residual vector of a parameter in the feature matrix r, r'=[r1,r2,…,r a …,r 5000 ], the signal number a∈(1,2,…,5000), where 5000 is the signal length of the sample, the feature extraction process is as follows:
[0142] M(r')=max(r a );
[0143] μ(r')=E(r a );
[0144]
[0145]
[0146]
[0147]
[0148] Where E(·) is the mean function.
[0149] For the three states of the flywheel: normal, motor gain fault and friction increase fault, the LSTM deep noise reduction autoencoder network proposed in the present invention is used to learn the three parameter signals, and the obtained features are as follows: Figure 3 As shown, Figure 4 is the feature map obtained by learning using only a single parameter signal. Figure 5 This is a feature map obtained by learning three parameter signals using a traditional denoising autoencoder network. Figure 3 and Figure 4 It can be seen that when only one parameter is used for feature extraction, data points in different states overlap in a large area and cannot be effectively distinguished; Figure 3 and Figure 5 It can be seen that the traditional method cannot effectively distinguish between the normal state and the friction increase fault. The flywheel fault identification method based on the LSTM deep denoising autoencoder proposed in the present invention can identify the different states of the flywheel except for the overlap of a small number of feature points.
[0150] Go to step 7.
[0151] Step 7: Use the feature matrix to train SVM and introduce the grid search method to determine the optimal parameters of SVM.
[0152] Input the feature matrix r into SVM for training, determine the parameter range, use the grid search method to find the optimal parameters, and use 5-fold cross validation. The parameter range to be optimized is:
[0153] Kernel function: linear kernel function, polynomial kernel function and radial basis kernel function;
[0154] Penalty factor C: 0.001, 0.01, 0.1, 1, 10, and 100;
[0155] Gamma (this parameter exists when the kernel function is a radial basis kernel function): 0.001, 0.01, 0.1, 1, 10, and 100;
[0156] Degree (this parameter exists when the kernel function is a polynomial kernel function): 2, 3.
[0157] Go to step 8.
[0158] Step 8: Construct a flywheel fault recognition model based on LSTM deep noise reduction autoencoder according to the optimal parameters of SVM. The model structure is as follows: Figure 1 As shown in the figure, the model is used to realize flywheel fault identification, as follows:
[0159] The flywheel motor current signal, flywheel output torque signal and flywheel speed signal of the flywheel to be identified are input into the flywheel fault recognition model based on the LSTM deep denoising autoencoder to obtain the model output label, and the flywheel fault category is judged according to the output label: if the output label is 0, the flywheel is normal; if the output label is 1, the flywheel has a motor gain fault; if the output label is 2, the flywheel has an increased friction fault.
[0160] The method proposed in this paper is used to realize the fault identification of flywheel, and the accuracy index is introduced to evaluate the recognition accuracy. The recognition results are shown in Figure 6 As shown, from Figure 6 It can be seen that the proposed method can realize the category recognition of most residual feature points. The recognition accuracy of normal, motor gain fault and friction increase fault is 96.96%, 100% and 93.03% respectively, and it has good recognition ability for satellite flywheel fault.
[0161] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of improvement of the present invention.
Claims
1. A flywheel fault identification method based on LSTM deep denoising autoencoder, characterized by: The flywheel motor current signal, flywheel output torque signal and flywheel speed signal are collected by extreme value envelope moving average or wavelet denoising. Three deep denoising autoencoder networks are built based on LSTM units to reconstruct the flywheel motor current signal, flywheel output torque signal and flywheel speed signal. The residual between the output and input signal of the deep denoising autoencoder network is calculated and features are extracted. The flywheel fault identification is completed by using SVM. The following steps are involved: Step 1, collecting the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal, constructing the original signal set, and proceeding to step 2; Step 2, the flywheel motor current signal and the flywheel output torque signal are preprocessed by the extreme value envelope moving average method respectively, and the current signal and torque signal are obtained correspondingly. At the same time, the flywheel speed signal is preprocessed by the wavelet noise reduction method to obtain the speed signal, and then the process goes to step 3; Step 3: Use a sliding window method to segment the current signal, torque signal and speed signal respectively, obtain current signal samples, torque signal samples and speed signal samples accordingly, and proceed to step 4; Step 4: Use LSTM units to build three deep noise reduction autoencoder networks. Use current signal samples to train the first network, torque signal samples to train the second network, and speed signal samples to train the third network. The details are as follows: Use LSTM units to build a deep denoising autoencoder network. The number of network layers is "layer_net". From the first layer to the last layer, the number of LSTM units in each layer is "node_1", "node_2", ..., "node_layer_net". The activation function used in each layer is "func_net", the optimization algorithm used in the network is "optimizer", and the loss function is "loss". For the current signal samples, torque signal samples and speed signal samples, three independent deep denoising autoencoder networks are established respectively: the current sub-network, the torque sub-network and the speed sub-network. Each deep denoising autoencoder network uses the corresponding current signal samples, torque signal samples and speed signal samples to train the network. The network output is the signal reconstruction matrix, which is the current signal reconstruction matrix output by the current sub-network The torque signal reconstruction matrix output by the torque sub-network The speed signal reconstruction matrix output by the speed sub-network Go to step 5; Step 5: Calculate the residuals between the outputs and inputs of the three networks respectively, and obtain the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix respectively. Combine the current signal residual matrix, torque signal residual matrix, and speed signal residual matrix to form the signal residual matrix R: R=[R I ,R T ,R ω ] T In the formula, the current signal residual matrix Moment signal residual matrix Speed signal residual matrix Go to step 6; Step 6: Analyze the residual characteristics in the signal residual matrix, extract the residual features, and construct a feature matrix, as follows: Extract the maximum value M, mean μ, standard deviation σ of the current signal residual, torque signal residual and speed signal residual in the residual matrix respectively 2 , margin L, peak factor C f and the form factor W S As features, a feature matrix is constructed, denoted as r: r=[r I ,r T ,r ω ] T In the formula, the current signal characteristic matrix r I =[M(R I ),μ(R I ),σ 2 (R I ),L(R I ),C f (R I ),W S (R I )]; Moment characteristic matrix r T =[M(R T ),μ(R T ),σ 2 (R T ),L(R T ),C f (R T ),W S (R T )]; Speed characteristic matrix r ω =[M(R ω ),μ(R ω ),σ 2 (R ω ),L(R ω ),C f (R ω ),W S (R ω )]; Let r' be the residual vector of a parameter in the characteristic matrix r, r'=[r1,r2,...,r a ...,r l ], the signal number a∈(1,2,...,l), where l is the signal length of the sample, the feature extraction process is as follows: M(r')=max(r a ); μ(r')=E(r a ); Where, E(·) is the mean function; Go to step 7; Step 7: Use the feature matrix to train SVM, introduce the grid search method to determine the optimal parameters of SVM, and go to step 8; Step 8: According to the optimal parameters of SVM, a flywheel fault recognition model based on LSTM deep denoising autoencoder is constructed, and flywheel fault recognition is realized through the model.
2. The flywheel fault identification method based on LSTM deep noise reduction autoencoder according to claim 1 is characterized in that: In step 1, when the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal are collected, the satellite attitude is in a stable attitude, the flywheel working state is an attitude holding process of resisting space torque interference, and the flywheel has no faults, and the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal are sampled according to a specified sampling time period; The signal matrix composed of the flywheel motor current signal, the flywheel output torque signal and the flywheel speed signal is the original signal set, denoted as X: X=[X I ,X T ,X ω ] T Where X I , X T and X ω They are respectively the flywheel motor current signal vector, the flywheel output torque signal vector and the flywheel speed signal vector, and the length of the three signals is l.
3. The flywheel fault identification method based on LSTM deep noise reduction autoencoder according to claim 2 is characterized in that: In step 2, the flywheel motor current signal and the flywheel output torque signal are preprocessed by the extreme value envelope moving average method to obtain the current signal and torque signal respectively. At the same time, the flywheel speed signal is preprocessed by the wavelet noise reduction method to obtain the speed signal, as follows: 2-1) The flywheel motor current, flywheel output torque signal and flywheel speed signal are normalized respectively, using the deviation normalization method, i.e., the min-max normalization method, and the conversion function expression is: In the formula, a signal x in the original signal set is raw =[x1,x2,...,x i ...,x l ], l is the signal length, x i ' is the normalized signal, the signal number i∈(1,2,…,l), max(·) and min(·) are the maximum value function and the minimum value function respectively; go to step 2-2); 2-2) Determine whether the normalized signal is a flywheel speed signal, if yes, go to step 2-3), if no, go to step 2-4); 2-3) The wavelet denoising method is used to process the flywheel speed signal. The wavelet decomposition layer is "layer_wavelet" and the wavelet basis function is "func_wavelet". The preprocessed speed signal vector X' is obtained. ω ; 2-4) Process the above signal using the extreme envelope moving average method, divide the signal into b segments with a length of m as the interval, where m is the extreme envelope segment window length, and b is the number of signal segments; go to step 2-5); 2-5) Take any segmented signal, find the maximum and minimum values of the segmented signal respectively, as the upper envelope value and lower envelope value of the segmented signal, calculate the difference between the upper envelope value and the lower envelope value, the difference x j Defined as: x j =max(x p )-min(x p ) In the formula, the segmented signal x p =[x1' +j×m ,x' 2+j×m ,…,x' m+j×m ], the serial number of the segmented signal j∈(0,1,…,b-1), replace all values in the segmented signal with the difference; go to step 2-6); 2-6) Repeat step 2-5) until all segments of the signal are replaced; go to step 2-7); 2-7) Set the moving window length to n and calculate the simple moving average x of the entire signal after replacement n+1 , the calculation formula is: Wherein, m≤n≤l; go to step 2-8); 2-8) Repeat steps 2-4) to 2-7) until the preprocessed motor current signal vector X is obtained. I 'And output torque signal vector X' T .
4. The flywheel fault identification method based on LSTM deep noise reduction autoencoder according to claim 3 is characterized in that: In step 3, the sliding window method is used to segment the current signal, torque signal and speed signal respectively, and correspondingly obtain current signal samples, torque signal samples and speed signal samples, as follows: 3-1) Select any one of the current signal, torque signal and speed signal, set the starting index of the sliding window to Q, and the initial value to 1, set the sliding window length to w, set the sliding window moving step to s, and w>s, l is the signal length; 3-2) Take the Qth value of the signal as the starting value, the Q+w-1th value of the signal as the end value, and the w values in this interval as the Qth signal sample; 3-3) Increase the Q value by s; 3-4) Determine whether Q+w-1 is greater than l. If it is greater than l, return to 3-1) to segment the remaining signals. After the three signals are segmented, the motor current signal matrix Z is obtained. I , output torque signal matrix Z T And the speed signal matrix Z ω , go to step 4; If not greater than 1, go to step 3-2).
5. The flywheel fault identification method based on LSTM deep noise reduction autoencoder according to claim 4 is characterized in that: In step 7, the feature matrix is used to train the SVM, the parameter range is determined, and the grid search method is introduced to determine the optimal parameters of the SVM, using 5-fold cross validation.
6. The flywheel fault identification method based on LSTM deep noise reduction autoencoder according to claim 5 is characterized in that: In step 8, a flywheel fault recognition model based on LSTM deep denoising autoencoder is constructed according to the optimal parameters of SVM, and flywheel fault recognition is realized through the model, as follows: The flywheel motor current signal, flywheel output torque signal and flywheel speed signal of the flywheel to be identified are input into the flywheel fault identification model based on the LSTM deep denoising autoencoder to obtain the model output label, and the flywheel fault category is determined according to the output label: if the output label is 0, the flywheel is normal; If the output tag is 1, the flywheel has a motor gain fault; if the output tag is 2, the flywheel has a friction increase fault.
Citation Information
Patent Citations
Machinery fault diagnosis method based on depth mixing network structure
CN108613802A
Fault detection and identification method for civil aircraft system based on LSTM-AE depth learning framework
CN109408552A
Motor fault diagnosis method and system based on cavity convolution capsule network
CN111046916A
Unsupervised outlier detection in time-series data
US20200387797A1
