Bearing fault diagnosis method based on domain adversarial network and feature enhancement

Through the domain adversarial network and feature enhancement method, the problem of pseudo-label inaccurate and insufficient detailed feature capture in bearing fault diagnosis in the prior art is solved, and higher diagnostic accuracy and stability are achieved, through Mixup and multi-linear mapping Combining category information and advanced features, a more stable cross-domain connection is established, improving the performance of bearing fault diagnosis.

CN119046660APending Publication Date: 2024-11-29CHANGZHOU UNIV
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202411158365.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When the existing bearing fault diagnosis method handles complex fault signals, simple pseudo-label generation and migration cannot fully capture the detailed characteristics of the target domain, and the adversarial network is easily affected by adversarial samples during training, resulting in inaccurate pseudo-labels and influencing. Diagnostic accuracy and stability.

Method used

Through domain adversarial network and feature enhancement methods, different sensor data are projected into shared subspaces, Mixup is introduced to enhance the true fault signal characteristics, and multilinear mapping is used to fuse category information with advanced features to reduce the number between the target domain and the source domain. The feature distribution difference is different, establish more stable cross-domain connections, and achieve better generalization of fault diagnosis knowledge.

Benefits of technology

The accuracy and stability of bearing fault diagnosis are improved, and the difference in feature distribution is reduced through adversarial domain adaptive transfer learning, the utilization of target domain data is enhanced, the ability to capture complex fault signals is improved, and diagnostic performance is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046660A_ABST
    Figure CN119046660A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of bearing fault diagnosis, in particular to a bearing fault diagnosis method based on a domain adversarial network and feature enhancement, and the method comprises the steps: constructing a rolling bearing data set, and carrying out the division of a source domain and a target domain; constructing an antagonism domain adaptive model, reducing feature distribution differences between a target domain and each source domain through domain antagonism training, and migrating fault diagnosis knowledge learned from a plurality of marked source domains to a single unmarked target domain; multi-linear mapping is used to fuse category information and advanced features, and Mixup is introduced to enhance real fault signal features. According to the method, data collected by different sensors are projected to a shared subspace, and domain antagonism training is introduced to align feature distribution between a target domain and a source domain as much as possible; according to the method, target domain samples are used for fusing category information, and Mixup is used for enhancing the characteristics of real fault signals, so that cross-domain connection is more stably established, and better fault diagnosis knowledge generalization is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bearing fault diagnosis, and in particular to a bearing fault diagnosis method based on domain adversarial network and feature enhancement. Background Art

[0002] Bearings are precision mechanical components that are widely used in the industrial field. Mechanical failure may have catastrophic consequences, so effective fault diagnosis becomes crucial.

[0003] In typical data-driven fault diagnosis methods, sufficient labeled data is often required for good generalization; however, in practical scenarios, faults are rare and collecting high-quality fault data is usually expensive, which leads to the class imbalance problem with huge differences in label distribution.

[0004] Domain adaptation, as a sub-technology of transfer learning, is widely used in bearing fault diagnosis. Xia et al. introduced a distance metric based on moment matching to reduce the distance between the source domain and the target domain, and applied an intra-class alignment training strategy to match the marginal distribution and conditional distribution of each domain to complete intra-class multi-source fault diagnosis. GANIN et al. first used the idea of ​​adversarial training for domain adaptation. The training model made it impossible for the features generated by the generator to be distinguished by the discriminator as belonging to which domain, indicating that the data in the source domain and the target domain have basically the same feature distribution, thereby obtaining a better training model. Zhang et al. proposed introducing adversarial training into edge domain fusion and explored unsupervised parallel data to achieve conditional distribution comparison of faults of different machines. The above studies all focused on bearing fault data at different sensor positions of the same machine, but single labeled fault data is scarce.

[0005] The patent with publication number CN117194983B uses a progressive conditional adversarial network to perform domain adaptation. Although it effectively divides the larger transfer between the source domain and the target domain into multiple smaller transfers, the adversarial network is easily affected by adversarial samples during the training process, which may lead to inaccurate pseudo-labels, thereby affecting the stability of the migration process and the final diagnostic accuracy. In addition, this method mainly relies on progressive adversarial training to gradually migrate the source domain to the target domain, but in this process, the use of target domain samples may not be sufficient, especially when processing complex fault signals. Simple pseudo-label generation and migration may not fully capture the detailed features of the target domain. Summary of the invention

[0006] To address the shortcomings of existing methods, the present invention projects the data collected by different sensors into a shared subspace, introduces domain adversarial training to align the feature distribution between the target domain and the source domain as much as possible; uses the target domain samples to fuse category information, and uses Mixup to enhance the features of real fault signals, thereby establishing cross-domain connections more stably and achieving better generalization of fault diagnosis knowledge.

[0007] The technical solution adopted by the present invention is: a bearing fault diagnosis method based on domain adversarial network and feature enhancement comprises the following steps:

[0008] Step 1: Construct a rolling bearing dataset and divide it into source domain and target domain;

[0009] As a preferred embodiment of the present invention, the condition types of the rolling bearing include healthy, inner ring fault, outer ring fault and ball fault.

[0010] As a preferred implementation manner of the present invention, the fault degree of the inner race fault includes: initial fault, medium fault and severe fault.

[0011] Step 2: Build an adversarial domain adaptation model including domain adversarial network and feature enhancement. Reduce the feature distribution difference between the target domain and each source domain through domain adversarial training, and transfer the fault diagnosis knowledge learned from several labeled source domains to a single unlabeled target domain. Use multilinear mapping to fuse category information with high-level features, and introduce Mixup to enhance the real fault signal features.

[0012] As a preferred embodiment of the present invention, step 2 specifically includes:

[0013] Step 21, performing FFT transformation on the vibration data of the rolling bearing to obtain frequency domain information;

[0014] Step 22: Input the frequency domain information into the domain adversarial network to obtain the high-level features x of the frequency domain information h =G(x);

[0015] As a preferred embodiment of the present invention, the domain adversarial network includes: a feature extractor, a classifier and a domain discriminator.

[0016] As a preferred embodiment of the present invention, the feature extractor adopts a convolutional neural network.

[0017] Step 23: Construct a classification cross entropy loss function for the classifier;

[0018] Step 24: Obtain high-level features of target domain samples through feature extractor Using the classifier to obtain pseudo labels Use multilinear mapping to fuse class information with high-level features, and finally input the fused features into the domain discriminator;

[0019] As a preferred embodiment of the present invention, the formula for multilinear mapping to fuse class information with high-level features is:

[0020]

[0021] Where ρ∈[0,1], is the interpolation feature, is the class label of the interpolated feature, is the multi-linear input of the domain discriminator, is a pseudo label.

[0022] Step 25: Define the cross entropy loss function and constraints of the domain adversarial network;

[0023] Step 26: Minimize and maximize the loss parameter θ of the domain discriminator D ,θ G And minimize the classification error parameter θ C Make updates;

[0024] Step 27: Use the gradient reversal layer GRL to solve the cross entropy loss of the domain discriminator.

[0025] As a preferred embodiment of the present invention, a bearing fault diagnosis system based on a domain adversarial network and feature enhancement includes: a memory for storing instructions executable by a processor; and a processor for executing instructions to implement a bearing fault diagnosis method based on a domain adversarial network and feature enhancement.

[0026] As a preferred embodiment of the present invention, a computer readable medium stores a computer program code, and when the computer program code is executed by a processor, a bearing fault diagnosis method based on a domain adversarial network and feature enhancement is implemented.

[0027] Beneficial effects of the present invention:

[0028] 1. Using adversarial domain adaptive transfer learning, the fault diagnosis knowledge learned from the supervised data of a rotating machinery is transferred to the target device. First, a feature extractor is trained on the source domain. Then, a domain discriminator is introduced and trained to distinguish the features of the source domain and the target domain as much as possible. At the same time, the feature extractor is optimized to minimize the classification error of the domain discriminator. This optimization process forms an adversarial training process. After the training, the complete network structure and parameters are transferred to the target domain. Finally, the network is fine-tuned with the target domain data to obtain a network that is more suitable for the target domain data distribution.

[0029] 2. Through domain adversarial training, the feature distribution difference between the target domain and each source domain is reduced, and the fault diagnosis knowledge learned from multiple labeled source domains is transferred to a single unlabeled target domain. Multilinear mapping is used to fuse category information with high-level features, and Mixup is introduced to enhance the real fault signal characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a bearing fault diagnosis framework diagram based on domain adversarial network and feature enhancement of the present invention;

[0031] Figure 2 It is a classification accuracy graph of multi-source domain adaptation of CWRU and IMS datasets of the present invention;

[0032] Figure 3 This is an ablation experiment diagram of multi-source domain adaptation of CWRU and IMS datasets invented by the present invention. DETAILED DESCRIPTION

[0033] The present invention is further described below in conjunction with the accompanying drawings and embodiments. This figure is a simplified schematic diagram, which only illustrates the basic structure of the present invention in a schematic manner, and therefore it only shows the components related to the present invention.

[0034] like Figure 1 As shown, a bearing fault diagnosis method based on domain adversarial network and feature enhancement includes the following steps:

[0035] Step 1: Construct a rolling bearing dataset;

[0036] Dataset: This paper uses two real rolling bearing datasets, the Case Western Reserve University (CWRU) rolling bearing dataset and the bearing dataset provided by the Intelligent Maintenance System (IMS) Center, to evaluate the proposed model.

[0037] The CWRU rolling bearing dataset is collected from the drive end of the motor at a sampling frequency of 12kHz, including four different loads of 0, 1, 2, and 3HP, corresponding to four speeds of 1797, 1772, 1750, and 1730rpm respectively; there are four types of bearing conditions, namely healthy (H), inner race fault (IR), outer race fault (OR), and ball fault (B); each fault has different fault severity, and the fault diameters are 0.007, 0.014, 0.021, and 0.028 inches (1 inch = 2.54cm), respectively, so there are 10 types of bearing conditions; the experiment uses 1024 sampling points and a fixed sliding window with 50% overlap to divide the data into samples, with 400 samples divided into each class, for a total of 4000 samples.

[0038] The bearing data set provided by IMS is collected from the drive end of an AC motor with a fixed speed of 2000 rpm at a sampling frequency of 20 kHz. The bearing condition types also include four types: H, IR, OR, and B. Among them, IR includes three different fault levels: initial fault, moderate fault, and severe fault. Therefore, there are 6 types of bearing conditions in total. The sample division method is the same as the CWRU data set.

[0039] Step 2: Construct an adversarial domain adaptation model including domain adversarial network and feature enhancement (Mixup) to perform bearing fault diagnosis. Through domain adversarial training, reduce the feature distribution difference between the target domain and each source domain, and transfer the fault diagnosis knowledge learned from multiple labeled source domains to a single unlabeled target domain; use multilinear mapping to fuse category information with high-level features, and introduce Mixup to enhance the real fault signal characteristics; the real fault refers to the inner ring fault, outer ring fault and ball fault of the bearing.

[0040] Step 21, performing Fast Fourier Transformation (FFT) on all original measured vibration data to obtain frequency domain information;

[0041] Step 22: Input the frequency domain information into the domain adversarial network and obtain the high-level feature x through the feature extractor G h =G(x);

[0042] The domain adversarial network includes: feature extractor G, classifier C and domain discriminator D;

[0043] The feature extractor G can adopt a convolutional neural network (CNN); the domain discriminator D can adopt a typical domain adversarial network (domain adversarial network); the classifier C can adopt the classifier provided in the typical domain adversarial network.

[0044] In adversarial training, the domain discriminator D is updated to distinguish the current feature x h = G(x) is from the source domain or the target domain. The feature extractor G aims to generate domain-invariant features that are difficult to distinguish. The classifier C is based on x. h To diagnose the health status of different machines.

[0045] The feature extractor G and the domain discriminator D are trained adversarially under the supervision of the source domain, projecting the source domain and target domain data into the same region of the learned high-level feature space, which contains the discriminative information of different machine health conditions; the adversarial domain adaptation model extracts transferable fault features by learning domain-invariant features, thereby achieving better model performance in the target domain;

[0046] definition is the kth source domain, with labeled samples, k = 1, 2, K, N sd represents the number of source domains, represents the i-th sample, m represents the feature dimension, Indicates the corresponding bearing condition label N c Indicates the number of all status types.

[0047] definition is the target domain, where Indicates that insufficiently labeled target domains, represents the unlabeled target domain for testing; x h Input to classifier C; the goal is to achieve more accurate diagnostic performance using supervised information from different domains;

[0048] Step 23: The formula for the classification cross entropy loss of classifier C is:

[0049]

[0050] in, and Represent the high-level features of the k-th source domain and target domain samples, respectively. and Respectively Tags, and Represent the SoftMax parameters of the classifier of the kth source domain and target domain respectively, and α t represent the penalty coefficients of the source domain and the target domain respectively.

[0051] Step 24: For a batch of real target domain samples Obtain high-level features through feature extractor G Use classifier C to obtain pseudo labels Using multilinear mapping to fuse class information with high-level features Finally, the fused representation is input into the domain discriminator D;

[0052] Considering that there are fewer samples of rare fault classes, the optimization of the domain discriminator D may become unstable, resulting in a decrease in alignment performance. In order to strengthen the alignment, it is necessary to provide better support for the conditional feature distribution of rare fault classes and use Mixup for feature enhancement of unsupervised domain adaptation. The Mixup feature can be expressed as:

[0053]

[0054] Where ρ∈[0,1], is the interpolation feature, is the class label of the interpolated feature, is the multi-linear input of the domain discriminator, is a pseudo label.

[0055] Mixup is used to increase the conditional feature distribution of rare fault data. By mixing the features in a batch, fault information will appear in more samples in the batch. Interpolation features expand the rare fault classes in the target domain training set, making the learning process of the domain discriminator more stable and providing better support for fault diagnosis.

[0056] Step 25: Define the loss function and constraints of the domain adversarial network. The formula is:

[0057]

[0058] Where L represents the optimization target, L c represents the cross entropy loss of the classifier, L d represents the cross entropy loss of the domain discriminator, parameter θ D is optimized to minimize the domain discriminator loss, θ G is updated to maximize the loss of the domain discriminator, and θ C is trained to minimize the classification error, and Respectively represent θ G ,θ C and θ D The optimal value of .

[0059] Compared with standard domain adversarial training, instead of using features alone as input, the domain discriminator D can better align the feature distribution through the category information provided by the feature extractor G. The formula of the cross entropy loss function of the domain discriminator D is:

[0060]

[0061] Where n all represents the number of all available source and target domain samples, x fuse,i represents the fusion of class information and high-level features of the i-th sample, η d,j Represents the parameters of the SoftMax classifier.

[0062] Step 26. The parameters are updated as follows:

[0063]

[0064]

[0065] In the formula, α c and α d Respectively represent L c and L d is the penalty coefficient, and δ is the learning rate.

[0066] Step 27: Due to L d It is minimized by the domain discriminator and maximized by the feature extractor at the same time, so the optimization parameters in equation (5) cannot usually be directly solved using the popular stochastic gradient descent (SGD) method; the present invention uses a gradient reversal layer (GRL) to achieve this, which has no parameters; in the forward propagation of the neural network, GRL implements an identity mapping; in the backward propagation, GRL receives the gradient from the next layer, flips its sign and passes it to the previous layer; Figure 1 The GRL shown is only applied between the feature extractor and the domain discriminator during network back propagation, so that the optimization objective of the feature extractor is opposite to that of the domain discriminator. GRL can be expressed as a function:

[0067] R(x)=x (6)

[0068]

[0069] Where I is a unit matrix, and the penalty coefficient is set

[0070] Experimental process:

[0071] A convolution kernel of size 3 was used for feature extraction, the dropout rate was set to 0.5, and the Adam optimizer with a learning rate of 0.0001 was used for training; different ablation experiments used the same architecture and training parameters, ran 10 times under different random seeds, and output the average results.

[0072] The CWRU dataset has 4 different loads and 10 types of bearing conditions, while the IMS dataset has only 1 load and only the inner race faults are classified into different fault severity levels. The present invention designs two types of experiments:

[0073] 1. Define the CWRU datasets with motor loads of 0, 1, 2, and 3HP as domains A, B, C, and D respectively; in the experiment, one domain is set as the target domain and the remaining domains are set as the source domain in turn; Figure 2 Classification accuracy graph for multi-source domain adaptation of CWRU and IMS datasets.

[0074] 2. Combine different fault severities at the same bearing location into one large category, so that the two datasets have the same number of categories and share the same label space;

[0075] The experiment first uses the CWRU dataset as the source domain and the IMS dataset as the target domain; then uses the IMS dataset as the source domain and the CWRU dataset as the target domain. The experiment randomly selects 50% of the target domain samples as the training set and the rest as the test set.

[0076] Different experiments are designed for comparison, which have similar network structures and experimental environments as the proposed model.

[0077] Experiment 1: A baseline approach using a deep neural network, which simply uses labeled data to train the model.

[0078] Experiment 2: Domain adversarial network without integrating category information and feature enhancement;

[0079] Experiment 3: Domain adversarial network and fusion of category information but without feature enhancement;

[0080] Experiment 4: Domain adversarial network fusion category information and feature enhancement.

[0081] The experimental results are as follows:

[0082] Table 1 Ablation experiments on multi-source domain adaptation of CWRU and IMS datasets (%)

[0083]

[0084] like Figure 3It can be seen that when the present invention uses CWRU as the source domain and IMS as the target domain, the fault identification accuracy exceeds 90%; when CWRU is the target domain and IMS is the source domain, the fault identification accuracy also reaches 87%, which shows the effectiveness of the method of the present invention.

[0085] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A bearing fault diagnosis method based on domain adversarial network and feature enhancement, characterized in that: The following steps are involved: Step 1: Construct a rolling bearing dataset and divide it into source domain and target domain; Step 2: Build an adversarial domain adaptation model including domain adversarial network and feature enhancement, reduce the feature distribution difference between the target domain and each source domain through domain adversarial training, and transfer the fault diagnosis knowledge learned from several labeled source domains to a single unlabeled target domain; Multilinear mapping is used to fuse category information with high-level features, and Mixup is introduced to enhance the characteristics of real fault signals.

2. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 1 is characterized in that: Step 2 specifically includes: Step 21, performing FFT transformation on the vibration data of the rolling bearing to obtain frequency domain information; Step 22: Input the frequency domain information into the domain adversarial network to obtain the high-level features x of the frequency domain information h =G(x); Step 23: Construct a classification cross entropy loss function for the classifier; Step 24: Obtain high-level features of target domain samples through feature extractor Using the classifier to obtain pseudo labels Use multilinear mapping to fuse class information with high-level features, and input the fused features into the domain discriminator; Step 25: Define the cross entropy loss function and constraints of the domain adversarial network; Step 26: Minimize and maximize the loss parameter θ of the domain discriminator D ,θ G And minimize the classification error parameter θ C Make updates; Step 27: Use the gradient reversal layer GRL to solve the cross entropy loss of the domain discriminator.

3. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 2 is characterized in that: The formula for multilinear mapping to fuse class information with high-level features is: Where ρ∈[0,1], is the interpolation feature, is the class label of the interpolated feature, is the multi-linear input of the domain discriminator, is a pseudo label.

4. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 2 is characterized in that: The domain adversarial network includes: feature extractor, classifier and domain discriminator.

5. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 4 is characterized in that: The feature extractor uses a convolutional neural network.

6. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 6 is characterized in that: Condition types for rolling element bearings include healthy, inner race fault, outer race fault, and ball fault.

7. The bearing fault diagnosis method based on domain adversarial network and feature enhancement according to claim 1 is characterized in that: The fault severity of the inner race fault includes: initial fault, moderate fault and severe fault.

8. Bearing fault diagnosis system based on domain adversarial network and feature enhancement, characterized in that: include: a memory for storing instructions executable by a processor; A processor, used to execute instructions to implement the bearing fault diagnosis method based on domain adversarial network and feature enhancement as described in any one of claims 1 to 7.

9. A computer readable medium storing a computer program code, characterized in that: When the computer program code is executed by a processor, the bearing fault diagnosis method based on domain adversarial network and feature enhancement is implemented as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Rolling bearing domain generalization fault diagnosis method and device, medium and equipment

    CN120213462A

  • Cross-working-condition rotating machine fault diagnosis method and system based on MTF and Mixup, and medium

    CN120316585A

  • Rolling bearing fault diagnosis method, device and equipment

    CN120892923A

  • Intelligent fault diagnosis method for acoustic gear under variable working conditions

    CN121145000A

  • Cross-working-condition bearing fault diagnosis method and device based on domain confrontation feature selection

    CN121211128A