Rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning

Through the LMMD self-supervised learning method, local maximum mean difference technology and self-supervised training strategy are used to finely align the source and target domain distributions of rolling bearings, solving the problem of poor results of traditional models in cross-domain migration and improving fault diagnosis Accuracy and stability ensure the safe operation of thermal power plants.

CN119046780APending Publication Date: 2024-11-29NANJING HUADUN ELECTRIC POWER INFORMATION SAFETY EVALUATION CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411227524.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When the distribution differences between the source domain and the target domain are large, it is difficult to migrate effectively, resulting in poor cross-domain fault diagnosis. Especially in the application of rolling bearings in thermal power plants, the edge distribution alignment method fails to consider subclasses. or heterogeneity of local data distribution.

Method used

Using a self-supervised learning method based on local maximum mean difference (LMMD), the shared feature extraction module and classifier generate pseudo-labels, calculate subdomain losses, and combine self-supervised losses to finely align the distribution of source domain and target domains to improve the cross-border Domain migration effect.

Benefits of technology

It significantly improves the accuracy and robustness of cross-domain fault diagnosis, enhances the generalization ability of the model, and ensures the safe and stable operation of the thermal power plant.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046780A_ABST
    Figure CN119046780A_ABST
Patent Text Reader

Abstract

The invention relates to a rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning, and the method comprises the following steps: collecting vibration signals of a rolling bearing under different working conditions, constructing a labeled source domain and an unlabeled target domain, and dividing a training set and a test set; extracting source domain features and target domain features from the training set through a shared feature extraction module; classifying features of the source domain and the target domain through a classifier to obtain source domain classification loss, a target domain pseudo tag and a pseudo tag confidence coefficient; dividing a sub-domain based on the real label of the source domain and the pseudo label of the target domain, and calculating the LMMD loss of the sub-domain; regarding a target domain pseudo tag with high confidence as a real tag, and calculating self-supervision loss; the source domain classification loss, the sub-domain LMMD loss and the target domain self-supervision loss are combined to form a total loss function, and network model parameters are updated; and inputting the test set into the trained network model, and outputting a cross-domain fault diagnosis result. According to the invention, the cross-domain fault diagnosis accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of cross-domain fault diagnosis methods, and in particular to a rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning. Background Art

[0002] Rolling bearings are an important part of auxiliary equipment in thermal power plants. Rolling bearing failures may reduce equipment efficiency or even cause serious mechanical accidents. Therefore, timely and accurate monitoring and diagnosis of the health status of rolling bearings is crucial to ensure the safe and stable operation of thermal power plants.

[0003] In recent years, rolling bearing fault diagnosis methods based on deep learning have made great progress. However, in practical applications, the operating environment and working conditions of rolling bearings in thermal power plants may be significantly different, resulting in significant distribution differences between the source domain (sample data in a known environment) and the target domain (sample data in a new environment). This distribution difference greatly reduces the effectiveness of traditional deep fault diagnosis models in the target domain, making it difficult to directly migrate and apply them. In order to improve the effect of cross-domain migration, many studies have adopted marginal distribution alignment methods, such as the maximum mean difference (MMD), which promotes the performance of the model in the new environment by aligning the overall data distribution of the source domain and the target domain. However, this method fails to consider the heterogeneity of subclass or local data distribution, resulting in poor results in situations where there is a significant distribution difference between the source domain and the target domain. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning, which focuses on the distribution alignment of the source domain and the target domain at a finer level, thereby improving the accuracy of cross-domain fault diagnosis.

[0005] The technical solution adopted by the present invention is as follows:

[0006] A rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning, comprising the following steps:

[0007] S1. Collect vibration signals of rolling bearings under different working conditions and construct a labeled source domain and unlabeled target domain are the i-th sample in the source domain and the j-th sample in the target domain, respectively. for The corresponding true label; m, n are the number of samples in the source domain and the target domain, respectively; S, T represent the source domain and the target domain, respectively;

[0008] All source domains and part of the target domain are used as training sets, and the remaining target domains are used as test sets;

[0009] S2. Inputting the training set into the network model for training, the training method comprising:

[0010] S21, extracting features from the source domain and the target domain through a shared feature extraction module F(·) to obtain source domain features and target domain features;

[0011] S22, classify the source domain features through the classifier C(·), generate predicted labels, and calculate the classification loss L cls ;

[0012] S23, classifying the target domain features through the classifier C(·), generating pseudo labels, and obtaining the confidence of each pseudo label;

[0013] S24. Compare the real labels in the source domain and the pseudo labels in the target domain, divide the data with the same category labels in the source domain and the target domain into the same category of subdomains, calculate the MMD loss of each category of subdomains, and add them up to get the subdomain LMMD loss:

[0014]

[0015] Among them, the source domain features Target domain characteristics are the k-th subdomain of the source domain and the k-th subdomain of the target domain respectively; φ is the mapping related to the kernel function; ||·|| H represents the regenerated Hilbert space;

[0016] S25. Treat the high-confidence target domain pseudo-label as the true label and calculate the self-supervision loss L self-train ;

[0017] S26, the source domain classification loss L cls , subdomain LMMD loss L LMMD and the target domain self-supervision loss L self-train Combine to form the total loss function L total =L cls +λ1L LMMD +λ2L self-train , and update the network model parameters through the back propagation algorithm; λ1 and λ2 are trade-off parameters;

[0018] S3. Input the test set into the trained network model and output the cross-domain fault diagnosis result.

[0019] Further technical solutions are:

[0020] Source domain samples and target domain samples It is the vibration signal of the same rolling bearing under different working conditions.

[0021] The high-confidence target domain pseudo-label is regarded as the real label, and the self-supervised loss L is calculated. self-train ,include:

[0022] Preset the confidence threshold τ;

[0023] Select the target domain samples with confidence greater than τ to form a set Among them, the pseudo label Confidence of pseudo labels

[0024] Calculate the self-supervised loss:

[0025]

[0026] Among them, CrossEntropy is the cross entropy loss function.

[0027] The structure of the shared feature extraction module F(·) includes three convolution-pooling layers, a convolution layer, and an adaptive average pooling layer.

[0028] The structure of the classifier C(·) includes four fully connected layers.

[0029] The beneficial effects of the present invention are as follows:

[0030] The present invention focuses on distribution alignment at a finer level and has a higher accuracy rate for cross-domain fault diagnosis. It not only aligns the data distribution between subdomains, but also utilizes the potential features of unlabeled data, thereby effectively improving the accuracy and robustness of cross-domain fault diagnosis and further ensuring the safe and stable operation of thermal power plants. It has the following specific advantages:

[0031] (1) Based on the real labels of the source domain and the pseudo labels of the target domain, the present invention uses the local maximum mean difference (LMMD) technique to align the data distribution between subdomains. Compared with the traditional domain adaptation method, this subdomain adaptation strategy can handle the data distribution differences between different domains more finely. By accurately adjusting the data features of each subdomain, this method effectively improves the effect of cross-domain migration.

[0032] (2) This paper adopts a self-supervised training strategy to select high-confidence target domain pseudo-labels to reduce the introduction of erroneous information and improve the accuracy of pseudo-labels. Compared with traditional domain adaptation methods, this method further enhances the generalization ability of the model by accurately screening and utilizing reliable pseudo-labels.

[0033] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1is a flow chart of an embodiment of the present invention.

[0035] Figure 2 It is a structural diagram of the network model of an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The specific implementation of the present invention is described below with reference to the accompanying drawings.

[0037] See also Figure 1 , a rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning in this embodiment includes the following steps:

[0038] S1. Collect vibration signals of rolling bearings under different working conditions and construct a labeled source domain and unlabeled target domain are the i-th sample in the source domain and the j-th sample in the target domain, respectively. for The corresponding true label; m, n are the number of samples in the source domain and the target domain, respectively; S, T represent the source domain and the target domain, respectively;

[0039] All source domains and part of the target domain are used as training sets, and the remaining target domains are used as test sets;

[0040] Among them, the source domain samples and target domain samples It can be the vibration signal of the same rolling bearing under different working conditions, or the vibration signals of different rolling bearings under the same working conditions.

[0041] This embodiment collects vibration signals of the same rolling bearing under different working conditions on a transmission system simulation test bench, covering a normal state and three typical fault states, which include inner ring fault, outer ring fault and rolling element fault.

[0042] S2. Inputting the training set into the network model for training, the training method comprising:

[0043] S21, extract features from the source domain and the target domain through the shared feature extraction module F(·) to obtain source domain features and target domain features

[0044] S22: Classify the source domain features through the classifier C(·) to generate a predicted label And calculate the classification loss L cls :

[0045]

[0046] Among them, CrossEntropy is the cross entropy loss function;

[0047] S23, classify the target domain features through the classifier C(·), generate pseudo labels, and obtain the confidence of each pseudo label; pseudo label The confidence of each pseudo label

[0048] S24. Compare the real labels in the source domain and the pseudo labels in the target domain, divide the data with the same category labels in the source domain and the target domain into the same category of subdomains, calculate the MMD loss of each category of subdomains, and add them up to get the subdomain LMMD loss:

[0049]

[0050] Among them, the kth subdomain of the source domain The kth subdomain of the target domain φ is the mapping associated with the kernel function; ||·|| H represents the regenerated Hilbert space;

[0051] S25. Treat the high-confidence target domain pseudo-label as the true label and calculate the self-supervision loss L self-train ,include:

[0052] Preset the confidence threshold τ;

[0053] Select the target domain samples with confidence greater than τ to form a set

[0054] Calculate the self-supervised loss:

[0055]

[0056] S26, the source domain classification loss L cls , subdomain LMMD loss L LMMD and the target domain self-supervision loss L self-train Combine to form the total loss function L total =L cls +λ1L LMMD +λ2L self-train , and update the network model parameters through the back propagation algorithm; λ1 and λ2 are trade-off parameters;

[0057] S3. Input the test set into the trained network model and output the cross-domain fault diagnosis result.

[0058] See also Figure 2 The structure of the shared feature extraction module F(·) is: convolution-pooling-convolution-pooling-convolution-pooling-convolution-adaptive average pooling layer. The structure of the classifier C(·) is fully connected layer-fully connected layer-fully connected layer-fully connected layer.

[0059] In order to further verify the effectiveness of the method of this application, it is compared with the traditional CNN method, MK-MMD (multi-core maximum mean difference) method and MMD method. The acquisition of the data set includes: collecting vibration signals of rolling bearings under different working conditions (600rpm, 700rpm and 800rpm) on a transmission system simulation test bench, covering a normal state and three typical fault states. These fault states include inner ring fault, outer ring fault and rolling element fault. Then construct a labeled source domain data set and unlabeled target domain datasets Source domain samples and target domain samples It is the vibration signal under different working conditions. And it is divided into training set and test set according to a certain ratio.

[0060] The cross-domain fault diagnosis results obtained based on the LMMD-self-supervised learning method of the present invention and the comparative method are shown in Table 1. From Table 1, it can be seen that the LMMD-self-supervised learning method proposed in the present application has a higher fault recognition accuracy in cross-domain fault diagnosis.

[0061] Table 1 shows the cross-domain fault diagnosis results of the method of the present invention and the comparative method.

[0062]

[0063] In Table 1, task XY refers to a cross-domain diagnosis task where the source domain and target domain are X rpm and Y rpm respectively.

[0064] Those skilled in the art can understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning, characterized in that: The following steps are involved: S1. Collect vibration signals of rolling bearings under different working conditions and construct a labeled source domain and unlabeled target domain are the i-th sample in the source domain and the j-th sample in the target domain, respectively. for The corresponding true label; m, n are the number of samples in the source domain and the target domain, respectively. S, T represent the source domain and the target domain, respectively. All source domains and part of the target domain are used as training sets, and the remaining target domains are used as test sets; S2. Inputting the training set into the network model for training, the training method comprising: S21, extracting features from the source domain and the target domain through a shared feature extraction module F(·) to obtain source domain features and target domain features; S22, classify the source domain features through the classifier C(·), generate predicted labels, and calculate the classification loss L cls ; S23, classifying the target domain features through the classifier C(·), generating pseudo labels, and obtaining the confidence of each pseudo label; S24. Compare the real labels in the source domain and the pseudo labels in the target domain, divide the data with the same category labels in the source domain and the target domain into the same category of subdomains, calculate the MMD loss of each category of subdomains, and add them up to get the subdomain LMMD loss: Among them, the source domain features Target domain characteristics are the k-th subdomain of the source domain and the k-th subdomain of the target domain respectively; φ is the mapping related to the kernel function; ||·|| H represents the regenerated Hilbert space; S25. Treat the high-confidence target domain pseudo-label as the true label and calculate the self-supervision loss L self-train ; S26, the source domain classification loss L cls , subdomain LMMD loss L LMMD and the target domain self-supervision loss L self-train Combine to form the total loss function L total =L cls +λ1L LMMD +λ2L self-train , and update the network model parameters through the back propagation algorithm; λ1 and λ2 are trade-off parameters; S3. Input the test set into the trained network model and output the cross-domain fault diagnosis result.

2. The rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning according to claim 1 is characterized in that: Source domain samples and target domain samples It is the vibration signal of the same rolling bearing under different working conditions.

3. The rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning according to claim 1 is characterized in that: The high-confidence target domain pseudo-label is regarded as the real label, and the self-supervised loss L is calculated. self-train ,include: Preset the confidence threshold τ; Select the target domain samples with confidence greater than τ to form a set Among them, the pseudo label Confidence of pseudo labels Calculate the self-supervised loss: Among them, CrossEntropy is the cross entropy loss function.

4. The rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning according to claim 1 is characterized in that: The structure of the shared feature extraction module F(·) includes three convolution-pooling layers, a convolution layer, and an adaptive average pooling layer.

5. The rolling bearing cross-domain fault diagnosis method based on LMMD-self-supervised learning according to claim 1 is characterized in that: The structure of the classifier C(·) includes four fully connected layers.

Citation Information

Cited By

  • Vibrating screen cross-domain fault diagnosis method and system capable of enhancing domain self-adaption

    CN120086676A

  • Rolling bearing fault diagnosis method and system

    CN120873874A