A new alignment loss function and generation theory associated with unsupervised bearing fault diagnosis method

By employing the M-Ucoral loss function, DP-CVAE generation theory, and GNT causal correlation model, the problems of cross-domain feature alignment and consistency of generation models in unsupervised fault diagnosis are solved, achieving high-precision bearing fault diagnosis.

CN123179165APending Publication Date: 2026-11-27XINJIANG UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611422189.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing unsupervised fault diagnosis methods suffer from problems such as cross-domain data distribution differences, sample scarcity, and insufficient consistency of generated data in terms of feature alignment and generative models, resulting in poor diagnostic performance.

Method used

By employing a novel alignment loss function, M-Ucoral, along with generative theory DP-CVAE and causal association model GNT, we improve feature alignment accuracy and the diversity and consistency of generated data through cross-domain feature alignment, data generation, and causal association.

Benefits of technology

It improves the accuracy and robustness of fault diagnosis, enhances sample diversity and feature correlation, adapts to fault detection under complex working conditions, and improves the model's generalization ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179165A_ABST
    Figure CN123179165A_ABST
Patent Text Reader

Abstract

A novel unsupervised bearing fault diagnosis method (DC-MDRF) associated with the generation theory and alignment loss function is proposed. To solve the problems of cross-domain feature alignment difficulty, sample scarcity and generation inconsistency, a model integrating M-Ucoral loss, DP-CVAE generation and GNT correlation is constructed. M-Ucoral is based on deep nonlinear mapping and multi-scale weighted variance correction, which can alleviate negative transfer and enhance cross-domain alignment. DP-CVAE improves sample discriminability, diversity and quality through contrastive learning, diffusion modeling and physical consistency constraints. GNT enhances the correlation of key features and the sensitivity of early minor faults through causal selection, feature weighting and connection modeling. Multi-dataset experiments show that DC-MDRF outperforms existing methods in cross-domain unsupervised fault diagnosis and feature alignment tasks, and has engineering effectiveness and feasibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to fault diagnosis technology, particularly to a bearing fault diagnosis method based on unsupervised learning, and mainly to a novel unsupervised bearing fault diagnosis method that correlates an alignment loss function with generative theory. Background Technology

[0002] Bearings are critical components in mechanical equipment, and their operating condition directly affects the safety and reliability of the equipment. Traditional fault diagnosis methods typically rely on large amounts of labeled data, but in practical applications, the lack of labeled data and insufficient consistency of generated models often make accurate diagnosis difficult. In unsupervised fault diagnosis, cross-domain feature alignment, sample scarcity, and the physical consistency of generated data have become major challenges.

[0003] Existing unsupervised fault diagnosis methods still have the following problems in feature alignment and generative model application:

[0004] (1) Insufficient feature alignment capability, unable to effectively handle distribution differences in cross-domain data;

[0005] (2) When samples are scarce, the diversity and consistency of the generated models are insufficient, which makes it impossible for the generated samples to effectively improve the diagnostic effect.

[0006] (3) The physical consistency of the generated model is not fully guaranteed, resulting in a large deviation between the generated data and the actual signal. Summary of the Invention

[0007] To address the problems in existing technologies, this invention proposes a novel unsupervised bearing fault diagnosis method that correlates an alignment loss function with generative theory. This method employs the following technical solution:

[0008] S1. Data Acquisition and Fault Diagnosis Dataset Construction. This invention first acquires data using multi-channel sensors installed on the equipment, including data from bearing vibration, temperature, and pressure sensors. This data is used to construct a bearing fault diagnosis dataset. Specifically, this invention acquires data from multiple operating conditions, including normal and fault states, and labels and classifies the data according to different fault types and operating conditions, providing a foundational dataset for subsequent unsupervised fault diagnosis.

[0009] S2 involves preprocessing the collected raw data, including noise removal, invalid data removal, and handling missing values. To improve diagnostic accuracy, this invention extracts key time-domain and frequency-domain features, such as mean, variance, standard deviation, and spectral features, using feature extraction technology, and standardizes the data to eliminate biases caused by different devices and sensors.

[0010] S3, Design of the M-Ucoral Loss Function for Cross-Domain Feature Alignment. To address the issue of feature distribution differences between the source and target domains, this invention proposes a novel M-Ucoral loss function. This loss function optimizes the feature alignment between the source and target domains through deep nonlinear mapping and weighted variance alignment, significantly improving the alignment accuracy of cross-domain features. The specific calculation process is as follows:

[0011]

[0012] in The cross-entropy loss is used as the input for source domain classification. For multi-scale alignment loss, This is a dynamic adjustment factor for training progress.

[0013] S31: Calculation of the covariance matrix of the source and target domains:

[0014]

[0015]

[0016] in, and These are the feature matrices of the source domain and the target domain, respectively. and They are their respective means. and It is the sample size. It is the identity matrix. It is a regularization term.

[0017] S32: Define the sum of squares of the Frobenius norm as the Lcoral loss:

[0018]

[0019] S33: Dynamic Weight Adjustment. The required correction effect will vary depending on the input differences and intensity changes during the loss calculation process at different stages. Therefore, a dynamic weight adjustment rule is proposed, defined as:

[0020]

[0021] in, For the initially defined weights, This is a definable hyperparameter used to control the degree to which the real-time loss value affects the weight adjustment. Used to dynamically adjust weights based on the magnitude of the loss.

[0022] S34: Define the final weighted loss:

[0023]

[0024] The above mechanism allows the model to flexibly adjust the impact of the difference in covariance between the source and target domains on the total loss during training.

[0025] Based on this, a weighted Ucoral is defined:

[0026]

[0027] S35: Multi-scale alignment. Because complex faults often manifest across scales, Mapping to different scales and / or projection dimensions yields:

[0028]

[0029] Calculate the weighted covariance and variance alignment term at each scale, and then calculate the weighted sum:

[0030]

[0031] in To control the weighting of each scale, here we let A slightly higher weight is assigned to the shallow scale to stabilize early alignment.

[0032] S4. Fault signal generation based on DP-CVAE generation theory. To effectively address the problem of scarce fault samples, this invention introduces DP-CVAE generation theory, enhancing the discriminative ability of the latent space through contrastive learning and combining it with diffusion modeling theory to enhance sample diversity. The generated fault signal has similar statistical characteristics to the real signal, and is optimized using the following loss function:

[0033]

[0034] in, To compare the losses, Let KL divergence be denoted as KL divergence.

[0035] S41: Define CVAE loss, diffusion loss, and physical loss as follows:

[0036]

[0037]

[0038]

[0039] S5, GNT Causal Relationship Model. To enhance the correlation between the generated signal and the original input signal, this invention proposes the GNT causal relationship model. Through causal screening and feature weighting correction, the GNT model can effectively establish the causal relationship between the generated features and the input signal, solving the problem of unclear correlation between the generated signal and the input features. The specific causal screening process includes using Granger causality tests to analyze the causal relationships between features and marking strong and weak causal edges in the graph structure.

[0040] S6, Fault Diagnosis Process of DC-MDRF Model

[0041] Combining the M-Ucoral loss function, DP-CVAE generation theory, and GNT causal correlation model, this invention designs a novel unsupervised bearing fault diagnosis model (DC-MDRF) that correlates the alignment loss function with the generation theory. This model achieves fault diagnosis through the following steps:

[0042] S61, Data Acquisition and Preprocessing: Collect source and target domain data, and perform necessary preprocessing and feature extraction.

[0043] S62, Generate Data: Generate data for the target domain and expand the dataset by using the DP-CVAE generation model.

[0044] S63, Feature Alignment: Use the M-Ucoral loss function for cross-domain feature alignment to reduce the feature distribution differences between the source and target domains.

[0045] S64, Causal Relationship Modeling: The GNT model is used to model the causal relationships between features, thereby enhancing the feature fusion effect.

[0046] S65, Fault Classification and Diagnosis: After training the classifier, the fault classification results are output, and the test set is evaluated to achieve efficient fault diagnosis.

[0047] The beneficial effects of this invention are:

[0048] (1) Improve the accuracy of fault diagnosis: Through cross-domain feature alignment and data generation technology, the accuracy and robustness of fault diagnosis are improved.

[0049] (2) Enhance sample diversity: Using DP-CVAE generation theory, fault samples are effectively expanded, which improves the diversity and quality of training data.

[0050] (3) Improved feature association: By using the GNT causal association model, the association between generated data and input features is accurately established, which improves the sensitivity of fault detection.

[0051] (4) Adaptable to complex working conditions: It can work effectively under complex working conditions and noise disturbances, and has strong engineering application value.

[0052] (5) Improved generalization ability: The generalization ability and stability of the model under different devices and fault types have been enhanced. Attached Figure Description

[0053] Figure 1 This is an overall flowchart of the unsupervised bearing fault diagnosis of the present invention;

[0054] Figure 2 This is a diagram illustrating the cross-domain feature alignment process based on the M-Ucoral loss function of this invention.

[0055] Figure 3 This is a schematic diagram illustrating the fault signal generation based on the DP-CVAE generation theory of this invention.

[0056] Figure 4 This is a schematic diagram of the feature association correction process based on the GNT causal association model of the present invention;

[0057] Figure 5 This is a diagram of the DC-MDRF model architecture of the present invention, which shows the structure of the entire fault diagnosis model and the functions of each module;

[0058] Figure 6 The graph shows the performance evaluation results of this invention on different experimental datasets, demonstrating the accuracy and robustness of the DC-MDRF model in fault diagnosis tasks. Detailed Implementation

[0059] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.

[0060] S1: Data Acquisition and Fault Diagnosis Dataset Construction

[0061] This embodiment employs multi-channel sensors, such as accelerometers and temperature sensors, to collect vibration, temperature, and pressure signal data of the bearing on an experimental platform. The dataset contains samples under various operating conditions, including normal conditions and different types of faults. The data acquisition frequency is set to 50kHz, with each acquisition lasting 20 seconds to ensure that the main fault characteristics of the bearing can be captured. Each data sample is labeled with its corresponding operating condition and fault type for subsequent unsupervised learning and fault diagnosis.

[0062] S2: Data Preprocessing and Feature Extraction

[0063] The acquired data undergoes denoising, missing value imputation, and anomaly detection during the preprocessing stage. To extract meaningful features from complex time-domain and frequency-domain signals, standard time-domain and frequency-domain features are employed, and the vibration signal is analyzed using Fast Fourier Transform (FFT). These features are standardized to eliminate biases caused by factors such as sensor type and installation location. The data normalization formula is as follows, where the mean and variance are calculated only within the channel and do not depend on the batch.

[0064]

[0065] As attached Figure 1 The diagram shows the fault diagnosis process, which mainly includes the entire process of data input and feature extraction.

[0066] S3: To address the discrepancy in feature distribution between the source and target domains, this invention proposes an M-Ucoral loss function. This function optimizes feature alignment between the source and target domains through deep nonlinear mapping and weighted variance alignment. By introducing multi-scale weighted variance and dynamic weight adjustment, the M-Ucoral loss function adjusts its focus on the covariance difference between the source and target domains at different training stages to reduce negative transfer phenomena. The specific implementation process is attached. Figure 2 As shown, it mainly includes:

[0067]

[0068] in The cross-entropy loss is used as the input for source domain classification. For multi-scale alignment loss, This is a dynamic adjustment factor for training progress.

[0069] S31: Calculation of the covariance matrix of the source and target domains:

[0070]

[0071]

[0072] in, and These are the feature matrices of the source domain and the target domain, respectively. and They are their respective means. and It is the sample size. It is the identity matrix. It is a regularization term.

[0073] S32: Define the sum of squares of the Frobenius norm as the Lcoral loss:

[0074]

[0075] S33: Dynamic Weight Adjustment. The required correction effect will vary depending on the input differences and intensity changes during the loss calculation process at different stages. Therefore, a dynamic weight adjustment rule is proposed, defined as:

[0076]

[0077] in, For the initially defined weights, This is a definable hyperparameter used to control the degree to which the real-time loss value affects the weight adjustment. Used to dynamically adjust weights based on the magnitude of the loss.

[0078] S34: Define the final weighted loss:

[0079]

[0080] The above mechanism allows the model to flexibly adjust the impact of the difference in covariance between the source and target domains on the total loss during training.

[0081] Based on this, a weighted Ucoral is defined:

[0082]

[0083] S35: Multi-scale alignment. Because complex faults often manifest across scales, Mapping to different scales and / or projection dimensions yields:

[0084]

[0085] Calculate the weighted covariance and variance alignment term at each scale, and then calculate the weighted sum:

[0086]

[0087] in To control the weighting of each scale, here we let A slightly higher weight is assigned to the shallow scale to stabilize early alignment.

[0088] S4: DP-CVAE Generation Model and Fault Signal Generation

[0089] Due to the scarcity of fault samples, this invention proposes a DP-CVAE generation theory. DP-CVAE enhances the discriminative power of the latent space through contrastive learning and diffusion modeling, and avoids non-physical distortion of the generated signal through physical consistency constraints. (See attached...) Figure 3 The theoretical calculation process for DP-CVAE is optimized using the following formula:

[0090]

[0091] in, To compare the losses, Let KL divergence be denoted as KL divergence.

[0092] S41: Define CVAE loss, diffusion loss, and physical loss as follows:

[0093]

[0094]

[0095]

[0096] Optionally, through learnable weights , Balance the weighting relationships among the various losses.

[0097] S5: This invention proposes the GNT causal correlation model to resolve the causal relationship between the generated signal and the original input signal. It analyzes the causal dependencies between features through Granger causality tests, identifies strong and weak causal edges, and performs weighted corrections within the graph structure. This process significantly enhances the correlation between generated and original features, thereby improving the accuracy of fault diagnosis. The specific process includes calculating causal time-series information and a feature weighting strategy, as shown in the appendix. Figure 4 As shown.

[0098] S6: By jointly optimizing the M-Ucoral loss function, DP-CVAE generation theory, and GNT causal correlation model, this invention proposes an unsupervised bearing fault diagnosis model (DC-MDRF). (See attached...) Figure 5 The proposed DC-MDRF model is shown below, including the following steps:

[0099] S61: The model first divides the dataset into a labeled training set and an unlabeled test set. However, in actual diagnostic tasks, effective fault data is often lacking, leading to training failure or severe overfitting, resulting in low actual fault diagnosis accuracy. Therefore, the DP-CVAE theory is used to deeply fit existing features in the latent space to generate fault signals with the same dimension as the real input data, thereby expanding the training data.

[0100] S62: The actual input fault types are not only cumbersome but also feature coupling is complex. The near-linear deformation operation of the source domain and the target domain in the nonlinear subspace is calculated by the M-Ucoral function mentioned above to reduce the residual of second-order moment mismatch. At the same time, the inter-domain alignment loss is corrected by weighted variance energy matching and multi-scale dynamic weights to achieve accurate domain feature alignment and transfer. The loss obtained here will be integrated into the main model to achieve pseudo-label alignment and loss fusion.

[0101] S63: To enhance the consistency of feature representation between the original features and the generated features and the fitting performance of the learned features, the feature association between the source domain and the generated domain is calculated after the initial extraction of multi-scale features, and the node weights are calculated as correction terms for subsequent training.

[0102] S64: To adapt to the special characteristics of cross-domain unsupervised fault diagnosis data, a domain-robust feature extractor is designed as shown in the attached figure. Figure 5 As shown, the input signal is first fed into the Stem layer for initial feature extraction, and the Conv1d layer captures the spectral features at long signal scales. InstanceNorm1d performs instance-wide channel normalization, initially increasing domain robustness. The normalization principle is as follows:

[0103]

[0104] The mean and variance are calculated only within the channel and do not depend on the batch. The activation function and Dropout layer mainly alleviate gradient vanishing and early overfitting. The features processed by the Stem layer are input into a multi-scale branch structure. The three branches extract fine-scale high-frequency fault features, medium-scale fault features, and coarse-scale low-frequency fault features through different convolution scales, corresponding to bearing impact signals, fault fundamental frequency features, and vibration trends in the fault features. The multi-scale wide-area features are then fused by Concat.

[0105] S65: Due to the significant impact of noise on both the generated and original data, features are further dynamically enhanced using the SE channel attention module, while suppressing domain redundancy noise. Feature weighting is achieved through a series of operations that enhance fault feature-related channels and suppress domain-related channels. Finally, the features after two layers of pooling are weighted with GNT feature association weights at the nodes, and the backpropagation weights are updated by fusing the loss calculated by M-Ucoral. The optimal model is then saved, and fault diagnosis is achieved on the test set.

[0106] The method was trained using both public and private bearing failure data, and tested with similar data. Comparison results with other methods are shown in Appendix 1, Appendix 2, and Appendix 3. Figure 6As shown in the above comparison, the proposed DC-MDRF model has higher diagnostic accuracy in different cross-domain and non-cross-domain unsupervised fault diagnosis tasks. In particular, in extremely difficult cross-domain diagnosis tasks and noise disturbance experiments, the proposed model achieves excellent diagnostic performance based on its excellent cross-domain robust feature perception and feature association correction characteristics.

[0107] Table 1. Experimental accuracy of this invention compared with other methods based on the JNU public dataset.

[0108] Task MMD DANN CADA SHOT NORM JMMD Coral UMAN OURS J12 60.12±5.22 78.63±1.98 79.37±3.82 67.87±0.42 67.50±5.21 78.13±2.12 70.25±1.05 89.87±0.52 93.93±0.04 J13 56.50±2.90 71.12±3.51 70.13±1.77 60.38±0.30 58.50±4.33 79.11±0.76 61.12±2.88 77.05±1.19 88.50±1.15 J21 60.62±3.77 80.75±0.74 68.50±5.11 57.87±1.27 57.87±4.12 73.63±1.29 72.83±2.72 85.57±0.21 92.01±0.12 J23 79.37±1.51 92.12±0.82 70.37±1.97 71.88±0.91 69.75±2.58 71.62±1.24 72.12±3.00 93.71±0.64 96.75±0.06 J31 53.75±2.49 66.12±8.20 73.01±2.32 55.12±2.23 50.88±7.24 79.12±0.55 66.17±3.71 71.25±2.25 85.25±1.01 J32 80.66±2.11 89.00±2.71 58.37±5.58 79.37±1.76 75.25±1.26 73.66±2.45 79.87±2.94 94.19±0.09 96.25±0.31 average 65.17±3.53 79.41±2.47 69.39±3.35 65.31±0.79 64.23±3.25 73.21±1.29 70.91±2.39 84.33±1.02 91.48±0.45

[0109] Table 2. Experimental accuracy of the present invention compared with other methods based on the SEU public dataset.

[0110] Task MMD DANN CADA SHOT NORM JMMD Coral UMAN OURS SB12 62.80±8.72 74.15±2.48 65.33±2.29 76.01±1.17 59.11±7.28 70.37±2.82 70.51±2.26 75.97±2.00 85.82±0.59 SB21 67.51±5.10 75.14±2.88 68.90±5.04 74.12±3.55 53.04±7.65 76.46±2.65 72.50±1.96 79.17±1.55 88.12±1.10 SG12 72.97±4.22 72.46±0.94 67.83±3.27 79.40±0.96 61.42±5.47 78.36±1.23 72.94±1.04 82.67±0.27 86.82±0.07 SG21 69.44±2.34 78.11±0.27 70.59±1.20 80.41±1.17 63.81±4.89 80.54±0.92 74.58±0.96 83.49±0.13 87.55±0.04 average 68.18±3.67 74.97±2.05 68.16±1.91 77.49±2.54 59.35±4.00 76.43±3.79 72.63±1.45 80.33±2.99 87.08±0.86

[0111] Those skilled in the art will recognize that the above embodiments are intended to help readers understand the basic principles of the present invention, and should be understood that the scope of protection of the present invention is not limited to the specific embodiments described above. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications and equivalent substitutions made within the basic principles of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A novel unsupervised bearing fault diagnosis method that correlates an alignment loss function with generative theory, characterized in that, The method includes the following steps: acquiring signal data including vibration, temperature, and pressure through multi-channel sensors installed on the bearing; constructing a dataset containing normal and fault states (such as inner ring fault, outer ring fault, rolling element fault, etc.) based on the acquired data; preprocessing the acquired data, including denoising, removing invalid data, and filling missing values; extracting time-domain and frequency-domain features, and standardizing the data to eliminate deviations between devices.

2. The method according to claim 1, characterized in that, The steps include an M-Ucoral loss function designed using multi-scale weighted variance alignment and deep nonlinear mapping to optimize feature alignment between the source and target domains and reduce distribution differences across domain data.

3. The method according to claim 2, characterized in that, The calculation of the M-Ucoral loss function includes: calculating the covariance matrices of the source and target domains; calculating the square of the Frobenius norm and defining it as the Lcoral loss; and adjusting the impact of the covariance difference between the source and target domains on the total loss according to the training progress using a dynamic weight adjustment factor. The M-Ucoral loss function includes: ,in The cross-entropy loss is used as the input for source domain classification. For multi-scale alignment loss, This is a dynamic adjustment factor for training progress.

4. The method according to claim 1, characterized in that, The method further includes utilizing DP-CVAE generation theory to enhance the discriminative ability of the latent space through contrastive learning and diffusion modeling theory, and generating fault signals similar to real signals, thereby expanding the sample data. The loss function of the DP-CVAE generation theory includes: ,in To compare the losses, Let KL divergence be denoted as KL divergence.

5. The method according to claim 1, characterized in that, The method uses the GNT causal association model and Granger causality test to analyze the causal relationship between features, and weights and corrects feature associations in the graph structure to optimize the correlation between the generated signal and the original input signal.

6. The method according to claim 1, characterized in that, The fault diagnosis method further includes the following steps: using the M-Ucoral loss function to perform cross-domain feature alignment, reducing the feature distribution difference between the source domain and the target domain; modeling the causal relationship between features through the GNT model to enhance the feature fusion effect; training a classifier and evaluating it on the test set to achieve efficient fault diagnosis.