Variable working condition intelligent fault diagnosis method based on distillation learning and feature fusion
By combining distillation learning and feature fusion technology in the intelligent fault diagnosis model, and using time domain and frequency domain features, the problem of poor model generalization performance under variable working conditions is solved, more accurate fault diagnosis and feature extraction are achieved, and improved Diagnostic performance of the model.
Patent Information
- Application Number
- CN202411255717.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-09-09
AI Technical Summary
Under variable working conditions, the generalization performance of existing intelligent fault diagnosis models is poor and it is difficult to learn the characteristics of mechanical faults. In particular, the pulse fault information in time domain signals and the sideband fault information in frequency domain signals are difficult to effectively utilize.
Using a method based on distillation learning and feature fusion, the frequency domain information of the signal is obtained through fast Fourier transform, amplitude and phase enhancement is performed, time domain features and frequency domain features are combined, mixed features are extracted using representation self-challenge learning, and the distillation learning mechanism is used Guide students to learn domain-invariant features online and enhance the generalization performance of the model.
It improves the model's ability to extract features from fault signals under varying working conditions, enhances diagnostic performance, ensures clear boundaries between fault features and the aggregation of similar features, and improves the overall performance of the diagnostic model.
Smart Images

Figure CN118760985A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rotating machinery fault diagnosis and data enhancement technology, and in particular to a variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion. Background Art
[0002] Mechanical failure is an inevitable problem in industrial production. If it is not discovered and handled in time, it will have a serious impact on industrial safety and production efficiency. Therefore, mechanical fault diagnosis plays a very important role in ensuring industrial safety and promoting industrial development. With the continuous development of artificial intelligence technology, intelligent fault diagnosis methods combined with deep learning and other related technologies have attracted widespread attention. It can extract fault features from mechanical fault data through analysis and learning, and classify and diagnose faults. Compared with traditional fault diagnosis methods, intelligent fault diagnosis methods have a higher degree of automation and accuracy, and can effectively improve the safety and efficiency of industrial production.
[0003] At present, thanks to the emergence of a large number of innovative technologies in artificial intelligence technology, intelligent fault diagnosis methods can achieve a high diagnostic effect under fault diagnosis conditions without unknown working conditions. Under conditions without unknown working conditions, deep learning algorithms have learned the characteristics and laws of mechanical faults through training data, so they can effectively classify and diagnose new fault data. However, under variable working conditions, due to changes in working conditions and environment, the data of different working conditions vary greatly in distribution, and there is a domain offset problem that causes performance degradation.
[0004] At present, in order to solve the problem of poor generalization performance of models under variable working conditions, some research on variable working condition fault diagnosis methods based on transfer learning has been carried out, and distillation learning is one of the methods. Distillation learning is a model compression technology that aims to transfer the knowledge of a large and complex neural network model (teacher model) to a small and simple neural network model (student model) to reduce the computational and storage overhead of the model while maintaining the model performance. In terms of signal data, the current mainstream methods generally only use a single time domain signal as the input of the diagnostic model. The learning of time domain vibration signals focuses on fault pulses, while the learning of signal frequency domain focuses on fault sidebands. For intelligent diagnosis models, the former is rich in information but difficult to learn, while the latter has obvious sideband fault information, but discards some features of fault pulses in time domain signals.
[0005] Therefore, when faced with variable machine conditions, the existing trained models are difficult to learn the characteristics of mechanical failures. Researching models with better generalization performance is of far-reaching significance and will have a profound impact on future industrial applications. Summary of the invention
[0006] Purpose of the invention: In view of the above problems, based on the experimental scenarios of actual production and further considering the application scenarios of equipment with variable operating conditions, the present invention proposes a variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion, and constructs a variable operating condition fault diagnosis model based on information fusion and knowledge distillation to alleviate the problem of poor generalization performance of the model under variable operating conditions.
[0007] Technical solution: To achieve the purpose of the present invention, the technical solution adopted by the present invention is: The variable working condition intelligent fault diagnosis method based on distillation learning and feature fusion includes the following steps: Step 1: Obtain the original vibration signal, mark the fault type, and build a training data set; Step 2: Build a fault diagnosis network model and perform the following operations: The collected original vibration signal is subjected to fast Fourier transform to obtain the signal frequency domain information, and the frequency domain features are extracted through the feature extraction module; The collected original vibration signal is enhanced in amplitude and phase to obtain the signal sample after amplitude and phase enhancement; the sample after amplitude and phase enhancement is subjected to distillation learning to obtain the corresponding amplitude and phase enhancement features; The amplitude and phase enhancement features, time domain features, and frequency domain features are spliced to obtain mixed features, and feature extraction is performed through representation self-challenge learning; the extracted features are input into the classifier for fault type identification; Step 3: Use the training data set to train the fault diagnosis network model, and input the collected vibration signal into the trained network model for fault diagnosis.
[0008] Furthermore, during the training process, the features and labels of several samples are linearly interpolated, and the amplitude and phase enhancement method is used to synthesize new domain samples; The amplitude and phase information in the frequency domain are regarded as two features and processed separately; For the amplitude information, linear interpolation is used; , in, To enhance the sample, is the input signal data sample, For Samples belonging to different domains; Represents different weights when performing linear interpolation, obeys Beta distribution, and has a value range of , Represents the amplitude in the frequency domain; For phase information, first calculate and The phase difference between , so that the enhanced sample The phase of is interpolated based on the input samples; , in Represents the phase of the signal data in the frequency domain; then according to the phase difference Calculate the shortest phase difference , ; Compute enhanced samples Phase information , ; in is a control parameter used to adjust the degree of phase change, and its value range is ; According to the obtained amplitude information and phase information, the signal is reconstructed by using inverse Fourier transform to obtain the signal samples after amplitude and phase enhancement; .
[0009] Furthermore, the samples after amplitude and phase enhancement are distilled and the domain invariant features are learned through a distillation learning framework. The method is as follows: The samples after amplitude and phase enhancement are used as the input of the teacher network, so that the model can learn the corresponding enhanced features; the teacher network training process is expressed as follows: , In the formula, Represents all inputs in the sample space The expected value of Indicates that the data distribution The training samples are sampled from is the input data, is the corresponding label, Represents the expected value of all training samples; is the classification loss, that is, the cross entropy loss function, and are the classifier and feature extractor of the teacher network, respectively. and are samples and labels after amplitude and phase enhancement, and are the learnable parameters of the teacher network feature extractor and classifier, respectively; After training the teacher network, we get the feature extractor of the teacher network , and guide the student network to learn the sample feature information after data enhancement through feature knowledge distillation, and learn the domain invariant representation, which is expressed as follows: , In the formula, and They are the feature extractors in the student network. and classifier The learnable parameters of is the mean square error loss, is the mean square error loss weight.
[0010] Furthermore, the structure of each feature extractor in the network is consistent, and a fully connected layer is added after the feature extractor of the teacher network to reduce the size of the features extracted by the teacher network to half of the original size, and the mean square error loss is constructed with the first half of the extracted time domain features.
[0011] Furthermore, the amplitude and phase enhancement features, time domain features, and frequency domain features are spliced together to obtain mixed features. The ability of the self-challenge learning enhancement model to extract and utilize different features is characterized. The specific process is as follows: Calculating mixed features Gradient of loss : , In the formula Represents the loss function, where the loss function is the cross entropy loss function, that is , is the true label, Predict labels for the model; Characterize the self-challenge learning, the neurons that need to be suppressed are determined by the gradient size; After sorting, the proportion of neurons that need to be inhibited is , for the gradient Each neuron in is sorted from large to small to obtain the characteristic The corresponding order of the elements in , determine the position of the neuron to be inhibited according to formula (9); , in, Indicates The position of the neuron, 0 means it is inhibited, and 1 means it is retained; Indicates the length of the gradient sequence; Finally, the position With features Multiply to get new features.
[0012] Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects: The present invention introduces time domain features, frequency domain features and enhanced features, combines the learning of the three features, and simultaneously learns pulse fault information and variable frequency band fault information, providing the model with richer information and helping the model to understand the vibration signal more accurately. Combined with the distillation learning mechanism, the features of the fault signal under variable working conditions are extracted and learned, which alleviates the problem of insufficient fault feature extraction and the problem of poor generalization performance of the model under variable working conditions, enhances the generalization performance of the model, and improves the diagnostic performance of the model. Experiments show that in the method of the present invention, the boundaries between various fault features are relatively clear, and features of the same category are better aggregated, which can effectively improve the diagnostic performance of the diagnostic model. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a flow chart of the variable operating condition fault diagnosis network based on information fusion and knowledge distillation of the present invention. DETAILED DESCRIPTION
[0014] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0015] The variable working condition intelligent fault diagnosis method based on distillation learning and feature fusion described in the present invention takes into account the problem that the fault information features provided by a single data are insufficient, and designs a combination of multiple features to be input into the model. First, the first signal is the original signal that remains unchanged without any processing, that is, the original time domain vibration signal. The second signal is to perform a fast Fourier transform on the time domain signal to obtain its frequency domain information. The third signal is to enhance the sample quality by performing amplitude and phase enhancement on the time domain signal to obtain a cross-domain enhanced signal. In addition, the time domain signal is used as the input of the time domain feature extraction module to extract time domain related features; the signal frequency domain information is used as the input of the frequency domain feature extraction module to extract frequency domain related features; the amplitude and phase enhanced signal is input into the distillation learning module, and the amplitude and phase enhanced features are learned through a distillation learning framework. Secondly, in the distillation learning framework, the student network is guided to learn the sample feature information after data enhancement by means of knowledge distillation, so that the features extracted by the student network are close to the features of the teacher network, that is, the extracted time domain features learn the amplitude and phase enhanced features and move closer to them. Finally, the amplitude and phase enhancement features, time domain features, and frequency domain features are concatenated to obtain mixed features. More generalized features are extracted through representation self-challenge learning and sent to the classifier for fault diagnosis.
[0016] Figure 1 It is a flow chart of the method of the present invention. The specific implementation process of the method of the present invention is as follows: Step 1: Get the original vibration signal.
[0017] Time domain vibration signal As input, It is a signal of a type of fault under one working condition, containing data points; Indicates different fault category index numbers. is the total number of fault categories, is the index number of different working condition categories, is the total number of working condition categories; For the Under each working condition Fault type label for each category of fault.
[0018] Step 2: Get signal frequency domain information.
[0019] The collected original vibration signal is subjected to fast Fourier transform to obtain its frequency domain information. The fast Fourier transform formula is as follows: , in, represents the frequency domain signal after fast Fourier transform, is the discrete value of frequency; represents a discrete time domain signal, is a discrete value of time; It represents the length of the discrete time domain signal and is also the number of sampling points of the frequency domain signal.
[0020] Step 3: Enhance the amplitude and phase of the original signal.
[0021] According to the main idea of Mixup data enhancement: linearly interpolate the features and labels of several samples during the training process, considering that the relevant features of vibration signals used for fault classification in the frequency domain are often more obvious, the present invention uses the amplitude and phase enhancement method to synthesize new domain samples. This method regards the amplitude and phase information in the frequency domain as two features and processes them separately.
[0022] For amplitude information, linear interpolation is still used.
[0023] , in, To enhance the sample, is the input signal data sample, For Samples belonging to different domains (same fault under different working conditions); Represents different weights when performing linear interpolation, obeys Beta distribution, and has a value range of , Represents the amplitude in the frequency domain.
[0024] For phase information, first calculate and The phase difference between , so that the enhanced sample The phase of is interpolated from the input samples.
[0025] , in Represents the phase of the signal data in the frequency domain. Then according to the phase difference Calculate the shortest phase difference .
[0026] , Compute enhanced samples Phase information , , in is a control parameter used to adjust the degree of phase change, and its value range is .
[0027] According to the obtained amplitude information and phase information, the signal is reconstructed by using inverse Fourier transform to obtain signal samples with amplitude and phase enhancement.
[0028] .
[0029] Step 4: Perform distillation learning on the samples after amplitude and phase enhancement.
[0030] Domain invariant features are learned through a distillation learning framework. Specifically, the samples after amplitude and phase enhancement are used as the input of the teacher network so that the model can learn the corresponding enhanced features. The teacher network training process is shown as follows: , In the formula, Represents all inputs in the sample space The expected value of Indicates that the data distribution The training samples are sampled from is the input data, is the corresponding label, represents the expected value of all training samples. is the classification loss, that is, the cross entropy loss function, and are the classifier and feature extractor of the teacher network, respectively. and are samples and labels after amplitude and phase enhancement, and are the learnable parameters of the teacher network feature extractor and classifier, respectively.
[0031] After training the teacher network, we get the feature extractor of the teacher network , and guide the student network to learn the sample feature information after data enhancement through feature knowledge distillation, and learn the domain invariant representation, which is expressed as follows: , In the formula, and They are the feature extractors in the student network. and classifier The learnable parameters of is the mean squared error loss (MSE), which makes the features extracted by the student network close to the features of the teacher network. is the mean square error loss weight.
[0032] In the specific implementation part, the structure of each feature extractor in the network is kept consistent, and a fully connected layer is added after the feature extractor of the teacher network to reduce the size of the features extracted by the teacher network to half of the original size, and the mean square error loss is constructed with the first half of the extracted time domain features to extract relevant features.
[0033] Step 5: Frequency domain feature extraction.
[0034] The signal data after fast Fourier transform will be used as the input of the frequency domain feature extraction module to extract frequency domain related features.
[0035] Step 6: Feature representation self-challenge learning.
[0036] The mixed features are obtained by splicing the amplitude and phase enhancement features, time domain features, and frequency domain features. The self-challenge learning enhancement model’s ability to extract and utilize different features is enhanced by characterizing the self-challenge learning, thus avoiding the model’s overfitting of a few significant features and enhancing the generalization of the model. The specific process is as follows: Calculating mixed features Gradient of loss : , In the formula Represents the loss function, where the loss function is the cross entropy loss function, that is , is the true label, Predict labels for the model.
[0037] The selection of neurons to be inhibited is determined by the size of the gradient, which represents the selection of features with large gradients for inhibition in self-challenge learning. The gradient is calculated based on the features, and when inhibiting, the neurons are set to 1 or 0.
[0038] In the gradient After sorting, the proportion of neurons that need to be inhibited is , for the gradient Each neuron in is sorted from large to small to obtain the characteristic The corresponding order of the elements in , determine the location of the neuron to be inhibited according to the following formula; , in, Indicates The position of the neuron, 0 means it is inhibited, and 1 means it is retained; Indicates the length of the gradient sequence.
[0039] Finally, the position With features Multiply to get new features.
[0040] Step 7: Troubleshooting.
[0041] The new features obtained after characterization self-challenge learning are input into the classifier composed of a fully connected layer and SoftMax for fault diagnosis. By inputting the vibration data collected by the equipment into the trained network, its health status type can be output.
Claims
1. A variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion, characterized in that: The method comprises the following steps: Step 1: Obtain the original vibration signal, mark the fault type, and build a training data set; Step 2: Build a fault diagnosis network model and perform the following operations: The collected original vibration signal is subjected to fast Fourier transform to obtain the signal frequency domain information, and the frequency domain features are extracted through the feature extraction module; The collected original vibration signal is enhanced in amplitude and phase to obtain the signal sample after amplitude and phase enhancement; the sample after amplitude and phase enhancement is subjected to distillation learning to obtain the corresponding amplitude and phase enhancement features; The amplitude and phase enhancement features, time domain features and frequency domain features are spliced to obtain mixed features, and feature extraction is performed through representation self-challenge learning; The extracted features are input into the classifier to identify the fault type; Step 3: Use the training data set to train the fault diagnosis network model, and input the collected vibration signal into the trained network model for fault diagnosis.
2. The variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion according to claim 1 is characterized in that: During the training process, the features and labels of several samples are linearly interpolated, and the amplitude and phase enhancement method is used to synthesize new domain samples; The amplitude and phase information in the frequency domain are regarded as two features and processed separately; For the amplitude information, linear interpolation is used; , in, To enhance the sample, is the input signal data sample, For Samples belonging to different domains; Represents different weights when performing linear interpolation, obeys Beta distribution, and has a value range of , Represents the amplitude in the frequency domain; For phase information, first calculate and The phase difference between , so that the enhanced sample The phase of is interpolated based on the input samples; , in Represents the phase of the signal data in the frequency domain; then according to the phase difference Calculate the shortest phase difference , ; Compute enhanced samples Phase information , ; in is a control parameter used to adjust the degree of phase change, and its value range is ; According to the obtained amplitude information and phase information, the signal is reconstructed by using inverse Fourier transform to obtain the signal samples after amplitude and phase enhancement; 。 3. The variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion according to claim 1 is characterized in that: Distillation learning is performed on the samples after amplitude and phase enhancement, and domain invariant features are learned through a distillation learning framework. The method is as follows: The samples after amplitude and phase enhancement are used as the input of the teacher network, so that the model can learn the corresponding enhanced features; the teacher network training process is expressed as follows: , In the formula, Represents all inputs in the sample space The expected value of Indicates that the data distribution The training samples are obtained by sampling from is the input data, is the corresponding label, Represents the expected value of all training samples; is the classification loss, that is, the cross entropy loss function, and are the classifier and feature extractor of the teacher network, respectively. and are samples and labels after amplitude and phase enhancement, and are the learnable parameters of the teacher network feature extractor and classifier, respectively; After training the teacher network, we get the feature extractor of the teacher network , and guide the student network to learn the sample feature information after data enhancement through feature knowledge distillation, and learn the domain invariant representation, which is expressed as follows: , In the formula, and They are the feature extractors in the student network. and classifier The learnable parameters of is the mean square error loss, is the mean square error loss weight.
4. The variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion according to claim 3 is characterized in that: The structure of each feature extractor in the network is consistent. A fully connected layer is added after the feature extractor of the teacher network to reduce the size of the features extracted by the teacher network to half of the original size, and the mean square error loss is constructed with the first half of the extracted time domain features.
5. The variable operating condition intelligent fault diagnosis method based on distillation learning and feature fusion according to any one of claims 1 to 4, characterized in that: The mixed features are obtained by splicing the amplitude and phase enhancement features, time domain features, and frequency domain features. The ability of the self-challenge learning enhancement model to extract and utilize different features is characterized. The specific process is as follows: Calculating mixed features Gradient of loss : , In the formula Represents the loss function, where the loss function is the cross entropy loss function, that is , is the true label, Predict labels for the model; Characterize the self-challenge learning, the neurons that need to be suppressed are determined by the gradient size; After sorting, the proportion of neurons that need to be inhibited is , for the gradient Each neuron in is sorted from large to small to obtain the characteristic The corresponding order of the elements in , determine the position of the neuron to be inhibited according to formula (9); , in, Indicates The position of the neuron, 0 means it is inhibited, and 1 means it is retained; Indicates the length of the gradient sequence; Finally, the position With features Multiply to get new features.
Citation Information
Patent Citations
Knowledge distillation-based crankshaft internal defect detection method and detection equipment
CN114722886A
Multi-modal gearbox fault diagnosis method based on deep transfer learning
CN115600150A
Method for Fault Diagnosis of an Aero-engine Rolling Bearing Based on Random Forest of Power Spectrum Entropy
US20200200648A1
Cited By
WIFI fingerprint positioning method and system for variable indoor environment
CN120583508A
A WIFI fingerprint positioning method and system for a multi-variable indoor environment
CN120583508B
Mining fan fault identification and detection system and method
CN120873800A
Ship power system fault diagnosis method based on control perception affine network
CN121209480A
Ship power system fault diagnosis method based on control-aware affine network
CN121209480B
