Fault diagnosis method based on constrained adversarial convolutional autoencoder memory fusion network

By extracting the modal interaction features of multi-sensor data based on the constrained adversarial convolutional autoencoding memory fusion network, the problem of difficulty in reducing modal distribution differences in the existing technology is solved, and more efficient fault diagnosis performance is achieved.

CN113807444BActive Publication Date: 2024-08-23HUNAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111107279.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-22
Publication Date
2024-08-23
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the interactive characteristics between modalities in multi-sensor data fusion, resulting in difficulty in reducing modal distribution differences and affecting the accuracy of fault diagnosis.

Method used

A constraint-based adversarial convolutional autoencoding memory fusion network is used to extract independent features through the convolutional autoencoder, combine the SE module and gradient inversion layer to obtain the modality invariant attention representation, and fuse it through the LSTM network, and finally input the inference network Perform troubleshooting.

Benefits of technology

It effectively reduces the differences between modalities, improves the accuracy and calculation efficiency of fault diagnosis, and achieves better performance than traditional deep learning models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113807444B
    Figure CN113807444B
Patent Text Reader

Abstract

The present invention provides a fault diagnosis method based on a constrained adversarial convolutional autoencoder memory fusion network, comprising the following steps: S1, establishing a data fusion fault detection framework; S2, collecting data sets and preprocessing the data; S3, inputting the processed vibration and current data into the convolutional autoencoder and training to obtain independent features of two modes; S4, after the encoded outputs of the two convolutional autoencoders are subjected to attention weighting and gradient reversal layers by the SE module, they are input into the modal discriminator for training to obtain modal invariance; S5, after feature splicing, the output of the SE (squeeze excitation) module is input into the long short-term memory neural network (LSTM) for fusion and its output is used for the inference network (Inf). The present invention designs a constrained adversarial convolutional autoencoder memory fusion network, which can effectively capture the invariance of each mode (vibration, current) to reduce the difference in modal distribution while fusing multimodal data for fault diagnosis tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a fault diagnosis method based on multimodal data fusion, and more specifically, to a fault diagnosis method based on a constrained adversarial convolutional autoencoder memory fusion network. Background Art

[0002] With the development of intelligent technology, revolutionary changes have been brought to industrial equipment. Intelligent equipment has become the forefront of high-end equipment and the core of manufacturing industry. It is also an important symbol to measure the level of scientific and technological innovation and high-end manufacturing industry of a country. Intelligent equipment is an electromechanical equipment that deeply integrates information technology and artificial intelligence technology. If a very small fault is not handled in time during operation, it may destroy the coordinated operation state of the equipment, cause downtime, and even damage the equipment, cause personal safety accidents, and cause direct economic losses to the enterprise. Therefore, how to effectively detect the health of the equipment is the key to ensuring the normal operation of the equipment. In actual situations, a large number of sensors are set up to monitor them, which provides the necessary conditions for multi-sensor fusion technology. However, the distribution diversity of these sensor signals (such as vibration, current, etc.) brings difficulties to multi-sensor fusion. Therefore, how to effectively fuse these multi-modal sensor signals to obtain more comprehensive status information is the key to solving the problem of equipment health status detection.

[0003] At present, deep learning technology is the mainstream of sensor fusion technology, such as convolutional neural networks, autoencoders, etc. However, most methods extract the features of different modal data independently before fusion, and do not consider the interactive features between modalities, that is, modal invariance, which is not conducive to reducing the differences between modal distributions during the fusion process. Summary of the invention

[0004] In view of the above problems, the present invention provides a fault diagnosis method based on a constrained adversarial convolutional autoencoder memory fusion network, which can effectively analyze the interaction between step modes before fusion, reduce the computational burden of the fusion process, and achieve good performance in fault diagnosis tasks.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] S1. Establish a data fusion fault detection framework;

[0007] S2, collect data sets and preprocess the data;

[0008] S3, input the processed vibration and current data into the convolutional autoencoder to obtain the independent features of the two modes;

[0009] S4, the encoded outputs of the two convolutional autoencoders are passed through the SE module for attention weighting and gradient reversal layer, and then input into the modality discriminator for training to obtain modality invariance;

[0010] S5. The output of the SE module is concatenated and input into the LSTM network for fusion and its output is used for the inference network (Inf).

[0011] Furthermore, in step S1, the data fusion fault detection framework includes six modules, which are sequentially connected: a data acquisition module, a preprocessing module, a convolutional autoencoder representation module, a constrained adversarial attention representation module, a memory fusion inference module, and a network adversarial training module.

[0012] Furthermore, the data acquisition module obtains current and vibration signals as training data sets and test data sets through current sensors and acceleration sensors.

[0013] Furthermore, in step S2, the data preprocessing includes a data normalization process, and the original vibration and current data are normalized respectively to eliminate the dimension effect.

[0014] Furthermore, after the normalized vibration and current data of the packaging equipment are segmented, the 1-D data are segmented and reorganized into a 2-D grid matrix form.

[0015] Furthermore, in step S3, the processed data is input into different convolutional self-encoders to obtain the encoded representation and the decoded representation.

[0016] Furthermore, in step S4, the encoded output passes through the squeeze excitation module (SE Block) and the gradient reversal layer, and is input into the modality discriminator for adversarial learning to obtain the invariant attention representation.

[0017] Furthermore, in step S5, the invariant attention representation is concatenated and the memory fusion representation is obtained through the LSTM network, which is then input into the inference network (Inf) to obtain the network inference output.

[0018] Beneficial effects of the present invention:

[0019] The present invention establishes a data fusion fault detection framework and designs a new joint regularized loss function to train the adversarial convolutional autoencoder memory fusion network, thereby helping the network learn the corresponding features; and obtains the network hyperparameters and loss function weight parameters through a grid search algorithm to obtain the optimal model. Ultimately, the network achieves results that exceed traditional deep learning models in fault diagnosis performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is the overall process framework diagram of the method of the present invention;

[0021] Figure 2 Provides a topology diagram with detailed parameters for network components;

[0022] Figure 3 This is a T-SNE hierarchical visualization of the clustering fusion effect of the network on the test set;

[0023] Figure 4 Confusion matrix diagram of different methods for the network on the test set;

[0024] Figure 5 ROC curves of different methods for the network on the test set;

[0025] Figure 6 The performance comparison chart of different methods on different data sets is shown below. DETAILED DESCRIPTION

[0026] For ease of understanding of the present invention, preferred embodiments of the present invention are provided below. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification are only for describing specific implementation purposes and are not intended to limit the present invention.

[0028] A fault diagnosis method based on constrained adversarial convolutional autoencoder memory fusion network is as follows:

[0029] S1. Establish a data fusion fault detection framework.

[0030] like Figure 1 As shown in Figure 1, the data fusion fault detection framework includes a data acquisition module, a preprocessing module, a convolutional autoencoder representation module, a constraint adversarial attention representation module, a memory fusion inference module, and a network adversarial training module. In the mechanical equipment data acquisition module, the training data set and the test data set are obtained through acceleration sensors and current sensors.

[0031] S2. Data collection and preprocessing of the collected data.

[0032] Data preprocessing includes data normalization and data dimension upgrading process of converting 1-D data into 2-D grid matrix. The specific process is to first normalize the input data to eliminate the impact caused by the dimensional differences between different data; then rearrange the normalized data from 1-D to 2-D to prepare for convolution input.

[0033] S3. Obtain the encoding and decoding representations of the input data through the convolutional autoencoder.

[0034] The vibration and current data processed in step S2 are input into two convolutional autoencoders whose parameters are not shared, and the encoded representation and decoded representation of the two modal data are obtained respectively (the encoded representation is used as the back-end input, and the decoded representation is used for loss function constraint learning). This part is expressed as follows:

[0035] Two convolutional autoencoder networks (CAE) are used to train the vibration signal input (x v )、Current signal input(x c ) performs encoding-decoding learning to extract their independent features, and their encoding representation and decoding representation are:

[0036]

[0037]

[0038] Where: CAE m 、h m , U m and They are respectively the m-mode CAE network, the encoding representation, the decoding (reconstruction) representation, and the network parameters of the CAE network.

[0039] S4. Obtain adversarial attention representation of input data through SE Block, gradient reversal layer, and modality discriminator.

[0040] The encoded representations of the two modalities obtained in step S3 are sequentially input into the SE Block, the gradient reversal layer, and the modality discriminator to obtain the attention representations of the two modalities and the output of the modality discriminator (the attention representation is used for backend inference, and the modality discriminator input is used for adversarial learning in the loss function). Among them, the attention representation and the modality discriminator output are respectively as follows:

[0041]

[0042]

[0043] Where: SE m , are the SE modules, SE network parameters and attention weighted representations of the m modes respectively; D represents the modal discriminator, p represents the inference set of vibration and current signals about the modal discriminator, θ D are the modality discriminator network parameters, and Q is the gradient reversal layer (GRL) function (the output is the same as the identity function, but the gradient direction is opposite).

[0044] S5. Fusion of the attention representations of the two modalities through LSTM and performing inference tasks.

[0045] The attention representation outputs of the two modalities in step S4 are concatenated and input into the LSTM network, and the fused memory fusion representation is obtained by using its memory capacity, and the memory fusion representation is input into the inference network to obtain the final inference representation. The representation process is as follows:

[0046] First, concatenate the two attention weighted representation features:

[0047]

[0048] Where: represents the vector concatenation operation, Weighted attention representation representing two modality encodings.

[0049] Then, the concatenated joint representation is input into LSTM to obtain the following representation:

[0050] R=LSTM(h SE θ Lstm ) (6)

[0051] Where: LSTM, θ Lstm Represent the long and short memory neural networks and their network parameters respectively.

[0052] Finally, the memory fusion representation is input into the inference neural network (Inf) for fault inference as shown below:

[0053] Y = Inf(R; θ Inf ) (7)

[0054] Where: Y is the inferred representation, θ Inf To infer the network parameters. The network consists of two fully connected layers activated by Leaky Relu.

[0055] Learning strategies:

[0056] The weighted constraints of the proposed method are mainly reflected in the design of the loss function. The designed new loss function is as follows:

[0057] L total =L task +αL recon_v +βL recon_c +δL adv +ηL sim (8)

[0058] Where: α, β, δ, η are loss function control factors, which are used to adjust the contribution of each loss. The network is trained to minimize the above loss functions. task , L recon_v , L recon_c , L adv , L simThey are cross entropy loss, reconstruction loss, adversarial loss, and similarity loss. Their definitions are as follows:

[0059] The task loss is defined as follows:

[0060]

[0061] Where: y i is the true label of sample i, Y i is the network inference result of sample i.

[0062] The reconstruction loss is defined as follows:

[0063]

[0064] Where: x m and U m denote the original input data and the reconstructed data respectively, represents the squared L2 norm.

[0065] The adversarial loss is as follows:

[0066] Assuming there are N vibration samples and N current representation samples, the adversarial loss L adv as follows:

[0067]

[0068] Where: p represents the output of vibration and current signals about the mode discriminator, d i ∈{0,1} represents the modal label of vibration and current signals.

[0069] The similarity loss is as follows:

[0070] Let X and Y be bounded random samples in the tight interval [a,b] N With their own probability distributions p and q, the center distance deviation regularizer CMD K The empirical estimate defined as the CMD metric is as follows:

[0071]

[0072] Among them C k and E(X) are expressed as follows:

[0073]

[0074] Where: E(X) is the empirical expectation vector of sample X, C k (X) is the vector of the central moments of all k-order samples in the X coordinate. The CMD similarity loss used is as follows:

[0075]

[0076] Experimental analysis:

[0077] In order to verify the detection accuracy and effect of the model, the experimental program was implemented through Python programming. The experimental equipment was: (1) processor (AMD Ryzen 5 2600X Six-Core Processor, 3.60GHz); (2) running memory (16G); (3) graphics card (NVIDIA GeForce GTX 1660, 6G); (4) code operating environment (Pytorch = 1.2.0, Python = 3.7.9).

[0078] In order to verify the effectiveness of this model, the motor bearing test data is used, including the voltage and current data measured under five different states of the bearing, as shown in Table 1:

[0079] Table 1. Dataset introduction

[0080]

[0081] Each set of data contains 160,000 discrete points. In addition, in order to effectively train and test the network, each set of data is divided into a training set and a test set in a ratio of 3:1.

[0082] It should be noted that when the data needs to be normalized in the data preprocessing part, in order to better conform to the characteristics of vibration and current data, the data needs to be mapped to the interval of [-1,1]. In the iterative training process, the experiment uses the Adam optimizer with maxepoch=500, Batch size=100, and learning rate=0.01 to train the network. The specific parameters of each component of the network are as follows Figure 2 In addition, the weight hyperparameters of the loss function are set as follows: α = 0.6, β = 0.3, δ = 0.1, η = 0.1.

[0083] In order to verify the effectiveness and superiority of the present invention, experiments were designed for single-modal traditional deep learning models including convolutional neural network (CNN), convolutional autoencoder neural network (CAE), and dual-modal traditional deep learning fusion models including convolutional fusion neural network (CNN-FN), convolutional autoencoder fusion network (CAE-FN), and convolutional multi-attention fusion network (CNN-MAFN). The results are shown in Table 2:

[0084] Table 2. Comparative experiments

[0085]

[0086] It can be seen from the results in Table 2 that compared with the traditional single-modal deep learning model and dual-modal deep learning fusion model, the present invention has superior performance in fault diagnosis.

[0087] Then, in order to verify the rationality of the model in the present invention, the model process was visualized and analyzed, and the model structure and loss function were subjected to ablation research experiments. The model process results are shown in Table 3. Figure 3 It can be seen that the constrained adversarial convolutional autoencoder memory fusion network in the present invention has a better fusion clustering effect for samples of the same category as the layers are deepened, which verifies the rationality of the model from an intuitive visual perspective. The results of the ablation study are shown in Table 3. It can be seen from the results that the lack of any component in the design of the network and the loss function will reduce the network performance, which verifies the rationality of the model from a numerical perspective.

[0088] Table 3. Ablation studies

[0089]

[0090] In addition, in order to verify the classification performance of the network, the present invention visualizes the confusion matrix and ROC curve of the network and compares it with other traditional deep learning models. Figure 4 , 5 It can be seen that compared with the traditional deep learning network, the present invention has achieved good results and optimal classification performance in the performance of confusion matrix and ROC curve.

[0091] Finally, in order to verify the generalization performance of the network of the present invention, data sets from different sources are used to verify the network. The results are as follows: Figure 6 As shown. Figure 6 It can be seen that the present invention achieves the best results compared with traditional models on different data sets, which shows that the present invention has good generalization performance in equipment fault detection.

[0092] The embodiments described in the present invention are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various modifications and improvements made to the technical solutions of the present invention by those skilled in the art should fall within the protection scope of the present invention. The technical contents for which protection is sought in the present invention have all been recorded in the claims.

Claims

1. A fault diagnosis method based on constrained adversarial convolutional autoencoder memory fusion network, Features The following steps are involved: S1, establishing a data fusion fault detection framework; in step S1, the data fusion fault detection framework includes a data acquisition module, a preprocessing module, a convolutional autoencoder representation module, a constraint adversarial attention representation module, a memory fusion inference module and a network adversarial training module connected in sequence; S2, collect data sets and preprocess the data; S3, input the processed vibration and current data into the convolutional autoencoder to obtain the independent features of the two modes; in step S3, input the processed data into different convolutional autoencoders to obtain the encoding representation and the decoding representation; use two convolutional autoencoder networks CAE to input the vibration signal x v , current signal input x c Encoding-decoding learning is performed to extract their independent features, and their encoding representation and decoding representation are: Where: CAE m 、h m , U m and θ m CAE They are the m-mode CAE network, the encoding representation, decoding representation, and network parameters of the CAE network; S4, after the encoded outputs of the two convolutional autoencoders are subjected to attention weighting and gradient reversal layers by the SE module, they are input into the modality discriminator for training to obtain modality invariance; the encoded representations of the two modalities obtained in step S3 are sequentially input into the SEBlock, the gradient reversal layer, and the modality discriminator to obtain the attention representations of the two modalities and the output of the modality discriminator; wherein the attention representations and the modality discriminator outputs are respectively as follows: Where: SE m ,θ m SE 、h m SE are the SE modules, SE network parameters and attention weighted representations of the m modes respectively; D represents the modal discriminator, p represents the inference set of vibration and current signals about the modal discriminator, θ D is the modality discriminator network parameter, Q is the gradient reversal layer GRL function; S5, after feature splicing, the output of the SE module is input into the LSTM network for fusion and its output is used for the inference network; the attention representation outputs of the two modalities in step S4 are spliced ​​and input into the LSTM network, and the fused memory fusion representation is obtained by using its memory capacity, and the memory fusion representation is input into the inference network to obtain the final inference representation. The representation process is as follows: First, concatenate the two attention weighted representation features: Where: Represents vector concatenation operation, h v SE 、h c SE Weighted attention representation representing the encoding of the two modalities; Then, the concatenated joint representation is input into LSTM to obtain the following representation: R = LSTM (h SE θ Lstm ), where: LSTM, θ Lstm Respectively represent long and short memory neural networks and their network parameters; Finally, the memory fusion representation is input to the inference neural network Inf fault inference as follows: Y = Inf(R; θ Inf ), where: Y is the inferred representation, θ I nf is the inferred network parameter; the network consists of two fully connected layers activated by Leaky Relu.

2. According to claim 1, the fault diagnosis method based on the constrained adversarial convolutional autoencoder memory fusion network, It is characterized in that The data acquisition module obtains current and vibration signals as training data sets and test data sets through current sensors and acceleration sensors.

3. The fault diagnosis method based on the constrained adversarial convolutional autoencoder memory fusion network according to claim 1, It is characterized in that In step S2, data preprocessing includes a data normalization process, in which the original vibration and current data are normalized respectively to eliminate the dimension effect.

4. The fault diagnosis method based on the constrained adversarial convolutional autoencoder memory fusion network according to claim 3, It is characterized in that After the normalized vibration and current data of the packaging equipment are segmented, the 1-D data are reorganized into a 2-D grid matrix form.

5. The fault diagnosis method based on the constrained adversarial convolutional autoencoder memory fusion network according to claim 1, It is characterized in that In step S4, the encoded output passes through the squeeze-excitation module and the gradient reversal layer and is then input into the modality discriminator for adversarial learning to obtain the invariant attention representation.

6. The fault diagnosis method based on the constrained adversarial convolutional autoencoder memory fusion network according to claim 1, It is characterized in that In step S5, the invariant attention representation is concatenated and the memory fusion representation is obtained through the LSTM network, which is then input into the inference network to obtain the network inference output.