Fault diagnosis method under unknown working condition based on feature decoupling integrated domain generalization network, storage medium and electronic equipment

Through feature decoupling and integrated domain generalization network, the generalized representation of bearing faults is extracted, which solves the problem of diagnostic performance degradation of the deep learning model under unknown working conditions and achieves high-accuracy diagnosis under different working conditions.

CN118746439APending Publication Date: 2024-10-08HENAN UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410761248.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The performance of deep learning models in bearing fault diagnosis is degraded due to the phenomenon of data distribution shift. Existing domain adaptation and domain generalization methods perform poorly under unknown working conditions, especially single domain generalization and multi-source domain generalization. challenge.

Method used

Using a method based on feature decoupling integrated domain generalization network, the FDIDG network is constructed through a convolutional structure, and a feature decoupling algorithm is used to extract a generalized representation of fault characteristics from the source domain, reducing the dependence of fault information on working condition information, and through cross-span The domain expert module is trained to realize bearing fault diagnosis under unknown working conditions.

Benefits of technology

It achieves bearing fault diagnosis capabilities under different working conditions, improves the cross-domain diagnosis performance of the deep learning model, reduces the risk of over-fitting, and shows high accuracy in practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746439A_ABST
    Figure CN118746439A_ABST
Patent Text Reader

Abstract

The invention discloses a fault diagnosis method under an unknown working condition based on a feature decoupling integrated domain generalization network, a storage medium and electronic equipment, and the method comprises the following steps: collecting bearing fault signals under different working conditions, and dividing the data into a source domain and a target domain according to the working conditions; secondly, the FDIDG is divided into a domain classifier D, a domain expert E, a data enhancement module A and a cross-domain expert C, multi-source domain data is used for training, and reliable D and E are obtained; and then aiming at the multi-branch structure of the E, each branch becomes a fault diagnosis expert in the field by processing data of a source domain. Then training a data enhancement module A under the supervision of D and E; and finally training a cross-domain expert by using the enhanced data to obtain a diagnosis result of E and C output weighted integration. The method can be used for exploring generalized representation of fault features in a multi-source domain, and migrating fault diagnosis knowledge learned from the multi-source domain to a target domain, so as to realize fault diagnosis under an unknown working condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field, and in particular to a fault diagnosis method under unknown working conditions based on a feature decoupling integrated domain generalization network, a storage medium and an electronic device. Background Art

[0002] At present, rolling bearings are important components of mechanical equipment, and their health status greatly affects the operation of the equipment. In order to improve the safety and reliability of mechanical equipment, timely diagnosis of bearing failures is of great significance. With the development of sensor technology, many data-driven deep learning diagnosis methods have been developed and achieved excellent diagnostic results.

[0003] Unfortunately, deep learning algorithms are extremely dependent on the quality of data. In other words, when there is a difference in the distribution of training data and test data, the performance of the deep learning model will drop sharply, and this is also true in the field of fault diagnosis. In a real production environment, the operation of equipment is affected by many factors (speed, load, component aging, etc.), and these factors will affect the operation of the bearing and ultimately cause the distribution of the collected data to shift. This distribution shift phenomenon makes the deep learning model almost ineffective, hindering its application in engineering practice. In view of this, in order to overcome the distribution shift problem, many scholars in the industry have conducted extensive research on the transferability of deep learning models. Existing research directions can be divided into two categories according to the learning method, namely domain adaptation (DA) and domain generalization (DG).

[0004] The main idea of ​​domain adaptation is to map the source domain and target domain of different distributions to the same high-dimensional subspace and make their distance in this space as close as possible. This corresponds to Figure (a). In order to narrow the distance between different distributions, metrics such as maximum mean difference (MMD) and Wasserstein distance (WD) are often used to measure the distance between two distributions. In addition, adversarial learning is also an important means of domain adaptation. In general, the DA model is trained using labeled source domain data and unlabeled target domain data, and many studies have shown that it has good performance in generalization tasks. However, in actual environments, unlabeled target domain data is often difficult to obtain in advance, which hinders the application of the DA model. In other words, the DA model can only generalize to a specific target domain rather than a completely unknown domain.

[0005] Domain generalization makes up for the drawbacks of the DA model, which requires the model to learn knowledge only from the source domain and have good performance on the unknown domain. Specifically, the focus of DG is not on the alignment of distributions, but on discovering target features and decoupling them from domain information as much as possible. The training of DG does not require the guidance of the target domain, which is usually very consistent with actual needs. Therefore, many DG schemes have been developed by scholars, such as meta-learning, data enhancement, and ensemble learning. In actual production environments, the working conditions of mechanical equipment may change at any time, which requires that the intelligent diagnosis model must be able to cope with the diagnosis of unknown working conditions. However, there are few fault diagnosis models based on DG at this stage. In addition to multi-source domain generalization, single domain generalization is also a challenge faced by DG. Figure (b) shows their differences. First, in the vibration signal of the bearing, the fault features are very closely entangled with the working condition information, and it is very difficult to simply extract the general fault features. Secondly, domain-private features are not useless, and it is unwise to only consider domain-invariant features. Because domain-private features may contain fault information that is conducive to diagnosis and can reduce the risk of overfitting to a certain extent. Summary of the invention

[0006] The purpose of the present invention is to provide a fault diagnosis method, storage medium and electronic device under unknown working conditions based on a feature decoupling integrated domain generalization network. The method aims to mine a generalized representation of fault features from source domain data. This universal diagnostic knowledge enables a deep learning model to diagnose bearing faults under different working conditions.

[0007] The technical solution adopted by the present invention is:

[0008] A fault diagnosis method under unknown working conditions based on feature decoupling integrated domain generalization network, comprising:

[0009] Step 1: Collect bearing vibration signals under different working conditions;

[0010] Step 2: Sample the bearing vibration signal data. Each sample has the same length. The sampled samples are divided into source domain and target domain according to different working conditions.

[0011] Step 3: Establish a FDIDG network model with a convolutional structure;

[0012] Step 4: Use the feature decoupling algorithm to extract the generalized representation of fault features from the source domain, and reduce the dependence of fault information on operating condition information through domain randomization;

[0013] Step 5: The general knowledge of fault information obtained by the feature decoupling algorithm is used to train the cross-domain diagnosis module in the network. After several iterations, the optimal FDIDG network model parameters are obtained and saved;

[0014] Step 6: FDIDG reads the model parameters in step 5 and inputs the target domain data in step 2 into FDIDG for fault diagnosis.

[0015] The step 1 specifically includes the following steps:

[0016] Two data sets are used to verify the effectiveness of the method: the CWRU data is a public data set from Case Western Reserve University; the HENU data set is a vibration signal collected from the rotor mechanical equipment MCDS with a sampling frequency of 12.8kHz; the data is collected under four speed conditions 900 / 1200 / 1500 / 1800rpm and two load conditions 0 / 5kg; the data set contains three fault types Ball, Inner, Outer and a healthy state; each fault type contains two damage levels 0.75 / 1.00inch; we divide the data set into 8 domains according to the speed and load, recorded as from H1 to H8.

[0017] Step 2 specifically includes:

[0018] It is expressed as: H1 / H2 / H3→H4, H1 / H2 / H4→H3, H1 / H3 / H4→H2, H2 / H3 / H4→H1, H1 / H2 / H3→H8, H5 / H6 / H7→H4, where the left side of “→” is the source domain and the right side is the target domain.

[0019] In step 3, a differentiable neural network is used to construct FDIDG, so that the gradient can flow between modules; specifically, the following steps are included:

[0020] Step 3.1: Build a domain classifier and the fault classifier f β , used to process source domain data;

[0021] We use a simple convolutional structure to stack into a domain classifier Construct a fault classifier f using a multi-branch structure β ;f β The goal is to learn a multi-expert model, using It means that each expert E i Responsible only for a specific source domain D i ; During the test, each expert participates in the decision making, as shown in Formula 1;

[0022]

[0023] In terms of implementation, considering the computational complexity of the multi-branch module, multiple expert models share a convolutional layer for feature extraction; βIt consists of a shared convolution module and multiple independent fully connected layers. The shared layer uses 6 3×3 convolution kernels to extract the features of the input data. After each convolution, batch normalization is used and activated with PRelu(). After every two convolutions, the maximum pooling operation is performed. The features obtained by convolution are GAPed and expanded, and then input into three fully connected layers according to the source domain information. Each fully connected layer only processes data from one source domain.

[0024] Step 3.2: Construct feature decoupling module g σ

[0025] All convolutions in the feature decoupling module use 3×3 convolution kernels, and each convolution kernel is filled with a reflection of size 1; the data is max-pooled after two convolutions, and the three feature maps of different scales are spatially expanded using transposed convolution to obtain three feature maps with the same dimensions as the original input; these three feature maps are added together and activated with the Tanh function after a BN layer, and the result is the mapping of the original data;

[0026] Step 3.3: Build cross-domain experts θ

[0027] Data output by the feature decoupling module Used to train module e θ , this module is the core of generalization and is called cross-domain expert; e θ With f β The structure is similar, except that e θ There is only one classifier; e θ Only for Perform learning and calculate the loss using the label of x; e θ Loss Defined as Formula 10; when diagnosing the target domain, we use e θ and The output results of are integrated in the form of assigned weights; the integration method is given in formula 11, where γ and λ will be discussed in the experimental part;

[0028]

[0029] p(y|x)=γp1(y|x)+λe θ (x) (11).

[0030] Step 4 specifically includes:

[0031] Step 4.1 Use source domain data to classify the domain and the fault classifier f β To train; to use β is parameterized separately fβ module, the optimization objective of this process is shown in Formula 4;

[0032]

[0033] Step 4.2 In the domain classifier and the fault classifier f β The feature disentanglement module g is trained under the supervision of σ ; Use σ to parameterize g σ module, the optimization objective of this process is shown in Formula 5;

[0034]

[0035] Step 4.3 We use the feature decoupling module g σ Process the source domain data to reduce the interference of working condition information on fault information:

[0036]

[0037] Step 5 specifically includes: using the general fault knowledge obtained in step 4 Cross-domain expert module θ Optimize so that e θ You can learn domain-invariant features; after several iterations, FDIDG has the ability to correctly diagnose bearing faults under unknown working conditions. We save the model parameters to test the diagnostic effect on the target domain.

[0038] Step 6 specifically includes: initializing FDIDG and loading the trained parameters, and inputting the target domain data with different working conditions from the source domain into the network for diagnosis.

[0039] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the device where the computer-readable storage medium is located executes the fault diagnosis method under unknown working conditions based on a feature decoupled integrated domain generalized network as described in any one of the above items.

[0040] An electronic device comprises: a memory and a processor, wherein the memory stores a program that can be run on the processor, and when the processor executes the program, the fault diagnosis method under unknown working conditions based on a feature decoupled integrated domain generalized network as described above is implemented.

[0041] The present invention shrinks the data distribution of multi-source domains by formulating a learning strategy and mines the common knowledge of faults therefrom; secondly, domain randomization is used to reduce the dependence of fault features on operating condition information; in addition, private features of the domain are used to bridge the misjudgment of cross-domain experts on domain edge samples, thereby realizing the diagnosis of bearing faults under unknown working conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 is a flow chart of the present invention;

[0044] Figure 2 The network structure of the present invention;

[0045] Figure 3 It is a diagram of the feature decoupling algorithm described in the present invention;

[0046] Figure 4 The acquisition device described in the present invention;

[0047] Figure 5 The distribution of the source domain data after feature decoupling described in the present invention;

[0048] Figure 6 It is the collaborative diagnosis between domain experts and cross-domain experts in the present invention;

[0049] Figure 7 The diagnostic effects of different models in the present invention on two generalization tasks;

[0050] Figure 8 It is the ROC curve diagram of different models in the present invention;

[0051] Fig. 9 is the multi-branch fault classifier module f in the present invention β network structure.

[0052] Fig.10 It is the feature decoupling module g in the present invention. σ network structure. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] like Figure 1 , 2 As shown in 3, the present invention comprises the following steps:

[0055] Step 1: Collect bearing vibration signals under different working conditions; Step 1 specifically includes the following steps:

[0056] Two data sets are used to verify the effectiveness of the method: the CWRU data is from the public data set of Case Western Reserve University; the HENU data set is a vibration signal collected from the rotor mechanical equipment MCDS, with a sampling frequency of 12.8kHz; the data is collected under four speed conditions of 900 / 1200 / 1500 / 1800rpm and two load conditions of 0 / 5kg; the data set contains three fault types Ball, Inner, Outer and a healthy state; each fault type contains two damage levels of 0.75 / 1.00inch; we divide the data set into 8 domains according to the speed and load, respectively recorded from H1 to H8; further, in actual application, the details are as follows: collect vibration signals under different working conditions. The CWRU data set collects vibration signals from the drive end bearing (SKF-6205-2RS) with a sampling frequency of 12kHz and a speed of 1800 / rpm. The data set contains four working conditions (0 / 1 / 2 / 3HP), three fault types (Ball, Inner, Outer) and a healthy state. Each fault type contains three damage levels (7 / 14 / 21mil). Table [1] gives the detailed information of CWRU data.

[0057]

[0058] The HENU dataset collects vibration signals from a rotor mechanical device (MCDS) with a sampling frequency of 12.8kHz. The data is collected under four speed conditions (900 / 1200 / 1500 / 1800rpm) and two load conditions (0 / 5kg). The dataset contains three fault types (Ball, Inner, Outer) and one health state. Each fault type contains two damage levels (0.75 / 1.00inch). Table [2] gives the detailed information of the HENU data.

[0059]

[0060] Step 2: Sample the bearing vibration signal data. Each sample has the same length. The sampled samples are divided into source domain and target domain according to different working conditions. Step 2 specifically includes:

[0061] The data is sampled, and the length of each sample is 1024 data points. And it is divided into source domain and target domain according to the working condition information. (H1 / H2 / H3→H4, H1 / H2 / H4→H3, H1 / H3 / H4→H2, H2 / H3 / H4→H1, H1 / H2 / H3→H8, H5 / H6 / H7→H4, where the left side of “→” is the source domain and the right side is the target domain).

[0062] Step 3: Establish a FDIDG network model with a convolutional structure;

[0063] In step 3, a differentiable neural network is used to construct FDIDG, so that the gradient can flow between modules; specifically, the following steps are included:

[0064] We use differentiable neural networks to build FDIDG, which is designed as an end-to-end diagnostic framework. The model structure is as follows Figure 2 As shown. Its core is to use data enhancement to obtain a generalized representation of fault features, thereby generalizing the diagnostic model to the unseen domain. Figure [3] shows the overall architecture of the FDIDG network and the gradient flow between each submodule. Where J represents the cross entropy loss. The training of the FDIDG network is divided into three stages. In the first stage, we use the original data to train a reliable domain classifier and the multi-branch fault classifier f β In the second stage, we use the feature decoupling module g σ Map the original data to get Will Input to the trained and f β In, use and f β The generated supervision signal guides g σ train.

[0065] Step 3.1: Build a domain classifier and the fault classifier f β , used to process source domain data;

[0066] We use a simple convolutional structure to stack into a domain classifier Construct a fault classifier f using a multi-branch structure β ;f β The goal is to learn a multi-expert model, using It means that each expert E i Responsible only for a specific source domain D i ; During the test, each expert participates in the decision making, as shown in Formula 1;

[0067]

[0068] In terms of implementation, considering the computational complexity of the multi-branch module, multiple expert models share a convolutional layer for feature extraction; Fig. 9 Shows the implementation details of the multi-branch module. β It consists of a shared convolution module and multiple independent fully connected layers. The shared layer uses 6 3×3 convolution kernels to extract the features of the input data. Batch normalization is used after each convolution and activated with PRelu(). The maximum pooling operation is performed after every two convolutions. The features obtained by convolution are GAPed and expanded, and then input into three fully connected layers according to the source domain information. Each fully connected layer only processes data from one source domain (which we call domain experts).

[0069] Step 3.2: Construct feature decoupling module g σ

[0070] Fig.10 Given g σ More specifically, all convolutions in the feature decoupling module use 3×3 convolution kernels, and each convolution kernel is filled with a reflection of size 1. After the data passes through two convolutions, the maximum pooling is performed, and the three feature maps of different scales are spatially expanded using transposed convolution to obtain three feature maps with the same dimensions as the original input. These three feature maps are added together and activated with the Tanh function after a BN layer, and the result is the mapping of the original data.

[0071] Step 3.3: Build cross-domain experts θ

[0072] Data output by the feature decoupling module Used to train module e θ ,This module is the core of generalization and is called cross-domain expert. θ With f β The structure is similar, except that e θ There is only one classifier. θ Only for Perform learning and use the labels of x to calculate the loss. θ Loss Defined as Formula 2. When diagnosing the target domain, we use e θ and The output of is integrated in the form of assigned weights. The integration method is given in Formula 3, where γ and λ will be discussed in the experimental section.

[0073]

[0074] p(y|x)=γp1(y|x)+λe θ (x) (3)

[0075] Step 4: Use the feature decoupling algorithm to extract the generalized representation of the fault features from the source domain, and reduce the dependence of the fault information on the working condition information through domain randomization; Step 4 specifically includes:

[0076] Step 4.1 Use source domain data to classify the domain and the fault classifier f β Use β is parameterized separately f β module, the optimization objective of this process is shown in Formula 4.

[0077]

[0078] Step 4.2 In the domain classifier and the fault classifier f β The feature disentanglement module g is trained under the supervision of σ . Use σ to parameterize g σ module, the optimization objective of this process is shown in Formula 5.

[0079]

[0080] Step 4.3 We use the feature decoupling module g σ Process the source domain data to reduce the interference of working condition information on fault information:

[0081]

[0082] Specifically, we input the source domain data into module g σ and get Then Input to and f β Calculate the loss in , and use this loss value to perform gradient descent to update g σ Parameters. That is to say, g σ The training is entirely in and f β Completed under the supervision of β The generated supervision signal is realized Figure 3 Feature shift step in ; The supervisory signal is responsible for fooling the domain classifier, which would make In a completely unknown domain. Corresponding to Figure 3 The Domain shift step in [5] is achieved by minimizing the fault classification loss while maximizing the domain loss.

[0083] In actual use, when a sample can be correctly diagnosed by multiple domain experts at the same time, it indicates that the fault characteristics of the sample are weakly dependent on domain information and can bring benefits to the domain generalization task. Specifically, we build a multi-expert model, where each domain expert only fits data from one source domain. The data is mapped under the supervision of multiple experts, and the obtained data has more general fault characteristics. That is, the set is constructed. gather The samples in are used to guide the network to generalize the domain. In addition, we also introduce domain randomization into the data augmentation module. At the same time, the data is mapped to the unknown domain, and the diagnostic performance of the model in the unknown domain is further improved by exploring the unknown domain. The figure below shows the two steps included in the algorithm, feature mapping and domain randomization. First, we constructed a domain classification module and a fault classification module. In order to isolate different domain classifiers, we designed the fault classification module as a multi-branch structure (see Section 2.3 for implementation details). Perform several rounds of iterations on them to make them reliable. The original data is then mapped using a data augmentation module under the supervision of the domain classifier and the fault classifier. This is achieved by formulating learning objectives. Specifically, we minimize the cross entropy loss of all multi-source domain data in the three fault classifiers while maximizing the domain loss. This means that we map the fault features of all multi-source domain samples to Migrate and weaken the influence of domain characteristics on fault characteristics.

[0084] Step 5: The general knowledge of fault information obtained by the feature decoupling algorithm is used to train the cross-domain diagnosis module in the network. After several iterations, the optimal FDIDG network model parameters are obtained and saved; θ is used to parameterize e θ module, the optimization objective of the process is shown in Formula 7.

[0085]

[0086] Use the general fault knowledge obtained in step 4 Cross-domain expert module θ Optimize so that e θ You can learn Domain invariant features; after several iterations, FDIDG has the ability to correctly diagnose bearing faults under unknown working conditions. We save the model parameters to test the diagnostic effect on the target domain. Step 5 specifically includes:

[0087] The goal of the first stage is to learn reliable and f β , used to guide the second stage g σ We use C(·,·) to represent the cross entropy of two probability distributions, then The loss function is defined as Formula 8.

[0088]

[0089] Where N B represents the batch size, d i represents the actual domain label of the i-th sample. represents the predicted probability that the i-th sample belongs to the c-th class. β The loss needs to be calculated according to the source domain, as shown in Formula 9. S Represents the number of source domains.

[0090]

[0091] When designing FDIDG, we did not abandon domain experts but let them participate in decision-making.

[0092] Enhanced data Used to train module e θ ,This module is the core of generalization and is called cross-domain expert. θ With f β The structure is similar, except that e θ There is only one classifier. θ Only for Perform learning and use the labels of x to calculate the loss. θ Loss It is defined as Equation 10. When diagnosing the target domain, we use e θ and The output of is integrated in the form of assigned weights. The integration method is given in Equation 11, where γ and λ will be discussed in the experimental section.

[0093]

[0094] p(y|x)=γp1(y|x)+λe θ (x) (11)

[0095] Step 6: FDIDG reads the model parameters in step 5 and inputs the target domain data in step 2 into FDIDG for fault diagnosis. Step 6 specifically includes:

[0096] Initialize FDIDG and load the trained parameters, and input the target domain data with different working conditions from the source domain into the network for diagnosis.

[0097] Step 6 specifically includes:

[0098] Initialize FDIDG and load the trained parameters, and input data with different working conditions from the source domain into the network for diagnosis.

[0099] In order to better understand why FDIDG is suitable for DG diagnosis, we used the CWRU dataset to perform ablation experiments on multiple generalization tasks. The four loads (0 / 1 / 2 / 3HP) in the dataset correspond to four domains, which take turns as target domains for cross-load diagnosis tasks. The target domain is completely unknown to FDIDG during training. In order to fully retain the fault information, each sample corresponds to the vibration signal of one rotation of the bearing. Formula 12 gives the calculation method of a single sample length. Where f is the sampling frequency and r is the rotation speed.

[0100]

[0101] FDIDG is implemented in the PyTorch framework. To ensure the repeatability of the results, we manually initialized the network parameters before training. The network uses the Adam optimizer to update the parameters, and the momentum is set to 0.9. The initial learning rate of stage one is set to 5e-5, and stages two and three are set to 2e-4. In the 700th iteration, the learning rate of stage two is reduced by half to fully converge. The multi-source domain BatchSize size is set to 35, that is, 35 samples are randomly selected from the three source domains each time. The number of iterations of stages one, two, and three are set to 200, 1500, and 500, respectively. In order to reduce randomness, the results of all tasks are taken as the average of 5 experiments.

[0102] g σ Generating high-quality samples with domain-invariant representations is the key to FDIDG’s cross-domain diagnosis. In addition, domain experts β With cross-domain experts θ The integration of g also contributes to the accuracy of cross-domain diagnosis. Table [3] shows their ablation results. It is not difficult to find that FDIDG has a good performance in the four cross-condition diagnosis tasks, with an average accuracy of 95.86%. In addition, the feature decoupling module g σ In all four tasks, the model can achieve a diagnostic accuracy of more than 10%. It is worth noting that the diagnostic difficulty of task C2 / C3 / C4→C1 is the greatest because it involves the transition between load and no load, but g σ In this task, the model is improved by 20.88%, which fully demonstrates the advantage of domain randomization for DG tasks.

[0103] Table 3Results of ablation experiment

[0104]

[0105] A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the device where the computer-readable storage medium is located executes the above-mentioned method for fault diagnosis under unknown working conditions based on a feature-decoupled integrated domain generalized network. The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory and other memories.

[0106] An electronic device comprises: a memory and a processor, wherein the memory stores a program that can be run on the processor, and when the processor executes the program, the fault diagnosis method under unknown working conditions based on the feature decoupling integrated domain generalization network as described above is implemented.

[0107] If the module / unit integrated in the electronic device described in this application is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware devices through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0108] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0109] In order to more intuitively show the characteristics of the decoupled data, we use t-SNE to transform g σ The output and input features of are visualized. Figure 5 It is obvious from the figure that the disentangled data do not overlap with any existing source domain. Instead, they are distributed over the unfilled domain space, which is consistent with g σ Therefore, FDIDG will learn more domain-invariant representations based on unknown domain data and source domain data.

[0110] In addition, the integration of multi-domain experts and cross-domain experts also helps to improve the cross-domain diagnosis performance of the model. This is because the "bias" (overfitting) of domain experts on domain edge samples can correct the misunderstandings of cross-domain experts. Figure 6Several examples of ensemble diagnosis are given. In the C2 / C3 / C4→C1 task, the cross-domain expert incorrectly diagnosed a sample with fault type Ball(21mil) as Outer(14mil), but the ensemble prediction is dominated by the correct predictions made by Expert2 and 3. A similar phenomenon also exists in the C1 / C2 / C3→C4 task. Figure 6 (b) provides examples of incorrect predictions. We observe that Ball(14mil) is misdiagnosed as Outer(14mil) and Ball(7mil) is misdiagnosed as Ball(14mil). The reason is that the same fault size and fault location can easily deceive the network. A finer-grained feature extraction module can improve this problem.

[0111] We selected several widely used transfer learning techniques for comparative experiments. We used t-SNE dimensionality reduction technology to visualize the classification results of tasks H1 / H2 / H4→H3 and H1 / H2 / H3→H8. We observed Figure 7 (a) It can be found that CNN has serious confusion in the three classes of BF1.0, IF0.75, and OF1.0, indicating that it is not competent for cross-domain diagnosis tasks. The diagnostic effects of DDC, DANN, and DCTLN are slightly better than those of CNN, but the boundaries between classes are not obvious. This is because their selection of decision boundaries is not ideal, which leads to misjudgment when diagnosing samples on the edge of the domain. In contrast, the class distance of Mixup is much more ideal, but the intra-class clustering is weak, which is manifested as a loose distribution of data in the same category. This will also affect the overall diagnostic effect. It is worth noting that FDIDG's processing of both intra-class and inter-class is surprising. This is due to the fact that our feature decoupling algorithm provides the model with generalized fault features. Further observation Figure 7 (b) We found that when the distribution difference between the source domain and the target domain is large, the diagnostic performance of CNN, DDC, DANN and DCTLN drops significantly. In the t-SNE diagram of Mixup and FDIDG, we also found different degrees of confusion, especially in the discrimination of IF and OF. We observed the actual faulty bearings and found that the location and size of the two faults are very similar, and the interference caused by the load increases the difficulty of model discrimination. In addition, we also plotted the receiver operating characteristic curve (ROC) to further explore the characteristics of these models. Figure 8 As shown in the figure, the area under the curve corresponding to each category quantifies the diagnostic effect (AUC) of the model on that category. It is not difficult to find that IF and OF are difficult to handle for all models. This verifies our above point of view.

[0112] The embodiments described above are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, any equivalent changes or modifications made according to the structures, features and principles described in the patent scope of the present invention should be included in the scope of the patent application of the present invention.

[0113] The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the method for monitoring icing on a power transmission line described in any of the above embodiments.

[0114] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division, and there may be other division methods in actual implementation. The technical features of the above-described embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

[0116] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0117] Note that the above are only preferred embodiments of the present invention and the principles of the application technology. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention is described in more detail through the above embodiments, the present invention is not limited to the specific embodiments described herein, and may include more other effective embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A fault diagnosis method under unknown working conditions based on feature decoupling integrated domain generalization network, characterized by: include: Step 1: Collect bearing vibration signals under different working conditions; Step 2: Sample the bearing vibration signal data. Each sample has the same length. The sampled samples are divided into source domain and target domain according to different working conditions. Step 3: Build a FDIDG network model with a convolutional structure; Step 4: Use the feature decoupling algorithm to extract the generalized representation of fault features from the source domain, and reduce the dependence of fault information on operating condition information through domain randomization; Step 5: The general knowledge of fault information obtained by the feature decoupling algorithm is used to train the cross-domain diagnosis module in the network. After several iterations, the optimal FDIDG network model parameters are obtained and saved; Step 6: FDIDG reads the model parameters in step 5 and inputs the target domain data in step 2 into FDIDG for fault diagnosis.

2. A method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalization network according to claim 1, characterized in that: The step 1 specifically includes the following steps: Two data sets are used to verify the effectiveness of the method: the CWRU data is a public data set from Case Western Reserve University; the HENU data set is a vibration signal collected from the rotor mechanical equipment MCDS with a sampling frequency of 12.8kHz; the data is collected under four speed conditions 900 / 1200 / 1500 / 1800rpm and two load conditions 0 / 5kg; the data set contains three fault types Ball, Inner, Outer and a healthy state; each fault type contains two damage levels 0.75 / 1.00inch; we divide the data set into 8 domains according to the speed and load, recorded as from H1 to H8.

3. The method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalized network according to claim 1 is characterized in that: Step 2 specifically includes: It is expressed as: H1 / H2 / H3→H4, H1 / H2 / H4→H3, H1 / H3 / H4→H2, H2 / H3 / H4→H1, H1 / H2 / H3→H8, H5 / H6 / H7→H4, where the left side of "→" is the source domain and the right side is the target domain.

4. The method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalized network according to claim 1 is characterized in that: In step 3, a differentiable neural network is used to construct FDIDG, so that the gradient can flow between modules; specifically, the following steps are included: Step 3.1: Build a domain classifier and the fault classifier f β , used to process source domain data; We use a simple convolutional structure to stack into a domain classifier Construct a fault classifier f using a multi-branch structure β ;f β The goal is to learn a multi-expert model, using It means that each expert E i Responsible only for a specific source domain D i ; During the test, each expert participates in the decision making, as shown in Formula 1; In terms of implementation, considering the computational complexity of the multi-branch module, multiple expert models share a convolutional layer for feature extraction; β It consists of a shared convolution module and multiple independent fully connected layers; the shared layer uses 6 3×3 convolution kernels to extract the features of the input data; Batch normalization is used after each convolution and activated with PRelu(), and maximum pooling is performed after every two convolutions. The features obtained by convolution are GAPed and expanded, and then input into three fully connected layers according to the source domain information. Each fully connected layer only processes data from one source domain. Step 3.2: Construct feature decoupling module g σ All convolutions in the feature decoupling module use 3×3 convolution kernels, and each convolution kernel is filled with a reflection of size 1; the data is max-pooled after two convolutions, and the feature maps of three different scales are spatially expanded using transposed convolutions to obtain three feature maps with the same dimensions as the original input; The three feature maps are added together and activated by the Tanh function after a BN layer. The result is the mapping of the original data. Step 3.3: Construct cross-domain expert eθ Data output by the feature decoupling module Used to train module e θ , this module is the core of generalization and is called cross-domain expert; e θ With f β The structure is similar, except that e θ There is only one classifier; e θ Only for Perform learning and calculate the loss using the label of x; e θ Loss Defined as Formula 10; when diagnosing the target domain, we use e θ and The output results of are integrated in the form of assigned weights; the integration method is given in formula 11, where γ and λ will be discussed in the experimental part; p(y|x)=γp1(y|x)+λe θ (x) (11)。 5. The method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalization network according to claim 1 is characterized in that: Step 4 specifically includes: Step 4.1 Use source domain data to classify the domain and the fault classifier f β To train; to use β is parameterized separately f β module, the optimization objective of this process is shown in Formula 4; Step 4.2 In the domain classifier and the fault classifier f β The feature disentanglement module g is trained under the supervision of σ ; Use σ to parameterize g σ module, the optimization objective of this process is shown in Formula 5; Step 4.3 We use the feature decoupling module g σ Process the source domain data to reduce the interference of working condition information on fault information:

6. The method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalization network according to claim 1 is characterized in that: Step 5 specifically includes: using the general fault knowledge obtained in step 4 Cross-domain expert module θ Optimize so that e θ You can learn domain-invariant features; after several iterations, FDIDG has the ability to correctly diagnose bearing faults under unknown working conditions. We save the model parameters to test the diagnostic effect on the target domain.

7. The method for fault diagnosis under unknown working conditions based on feature decoupling integrated domain generalized network according to claim 1 is characterized in that: Step 6 specifically includes: initializing FDIDG and loading the trained parameters, and inputting the target domain data with different working conditions from the source domain into the network for diagnosis.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the device where the computer-readable storage medium is located executes the fault diagnosis method under unknown working conditions based on a feature decoupled integrated domain generalized network as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a program that can be run on the processor, and when the processor executes the program, the fault diagnosis method under unknown working conditions based on a feature decoupled integrated domain generalized network as described in any one of claims 1-7 is implemented.

Citation Information

Cited By

  • Rolling bearing fault diagnosis method and system for unbalanced semi-supervised domain generalization

    CN122196482A