Electronic load circuit fault diagnosis method based on multi-channel graph attention network

Through the multi-channel graph attention network and meta-learning model, multiple sub-graphs are constructed and node features are aggregated and updated, which solves the problem of unrealistic application of traditional fault diagnosis methods in large equipment, and realizes efficient fault diagnosis of electronic load circuits.

CN119989240AActive Publication Date: 2025-05-13HUNAN NEXT GENERATION INSTRUMENTAL T&C TECH CO LTD

Patent Information

Application Number
CN202510459316.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-14
Publication Date
2025-05-13
Estimated Expiration
2045-04-14

AI Technical Summary

Technical Problem

It is unrealistic to use traditional intelligent fault diagnosis methods in large equipment, and ignore the differences in importance between different nodes in the figure, making it difficult to effectively enhance the fault type discrimination ability.

Method used

A multi-channel graph attention network is used to construct multiple sub-graphs through multiple sensors, and a multi-head graph attention mechanism is used to aggregate and update the features of the nodes to form a fusion graph, and a meta-learning model is used for troubleshooting.

Benefits of technology

It effectively enhances the ability to determine fault types, realizes fault detection of components in electronic load circuits, and improves the accuracy and efficiency of fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119989240A_ABST
    Figure CN119989240A_ABST
Patent Text Reader

Abstract

The invention provides an electronic load circuit fault diagnosis method based on a multi-channel graph attention network. Each vibration sensor signal is averagely segmented into a plurality of time slices, frequency domain information of each slice signal is used as a graph node, edge connection is carried out according to feature similarity weight coefficients between the graph nodes, each vibration sensor signal forms a sub-graph, and thus a multi-sub-graph structure is established; performing information aggregation updating on each sub-graph node by adopting a graph attention mechanism network; splicing and fusing the updated slice nodes at the same time from different sub-graphs by adopting an end-to-end connection mode to form a fusion graph, and training edge connection weights among the nodes of the fusion graph by adopting an edge weight learning mechanism and a multi-channel attention mechanism; and inputting the attention mechanism aggregation characteristics of the fusion image into a meta-learning model to carry out electronic load circuit abnormity diagnosis. According to the fault diagnosis method based on the multi-channel graph attention network, fault detection on components in an electronic load circuit is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of deep learning applications, and specifically designs an electronic load circuit fault diagnosis method based on a multi-channel graph attention network. Background Art

[0002] Electronic loads play a huge role in industrial production, but if they work under extreme conditions for a long time, various types of faults will occur. In order to improve the robustness of electronic loads and reduce maintenance costs, it is necessary to develop a fault diagnosis method that can only detect electronic load circuits.

[0003] Most traditional intelligent fault diagnosis methods only consider a single sensor. This method is widely used in small devices, but it is unrealistic in large devices. Traditional fault diagnosis models such as CNN, RNN, LSTM, etc. do not take advantage of the correlation between signals. The use of graph theory such as GNN, GCN, etc. can well mine the relationship between signal features and signals and topological information, but ignore the importance differences between different nodes in the graph. The fault diagnosis method of electronic load circuits based on multi-channel graph attention network proposed in this paper constructs multiple subgraphs through multiple sensors, and adopts multi-head graph attention mechanism to aggregate and update the features of nodes, which can effectively enhance the ability to distinguish fault types. Summary of the invention

[0004] The purpose of this application is to provide an intelligent method to detect the vibration information of the electronic load in large machinery to ensure timely discovery of the fault of the electronic load.

[0005] In order to solve the above technical problems, this application proposes an electronic load circuit fault diagnosis method based on a multi-channel graph attention network, including: Each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. The edges are connected according to the feature similarity weight coefficients between the graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure. A multi-head graph attention mechanism is used to aggregate and update the node feature vectors in each subgraph; The updated nodes of the same time slice from different subgraphs are spliced ​​and fused in a head-to-tail manner to form a fusion graph. The edge connection weights between the nodes of the fusion graph are trained based on the edge weight learning mechanism and the multi-channel attention mechanism. The attention mechanism aggregated features of the fusion graph are input into the MAML model, and the fault diagnosis of the electronic load circuit is realized based on the meta-learning model.

[0006] Optionally, each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. Edge connections are made according to feature similarity weight coefficients between graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure, including: The sensor signal is cut into several time slices so that for each time Sample slice below For example, , is the sample length, is the number of sensors, and the original sample signals from the same sensor are After normalization preprocessing and FFT transformation, it is used as the feature representation of node embedding. In addition, in order to facilitate the subsequent fusion process, the data from different sensors at the same time are uniformly labeled, such as subgraph1.1, subgraph2.1, and subgraph3.1, which represent the data from subgraphs 1 and 2. Figure 1 , 2, 3 are the nodes from the first time slice, and then a learnable parameter is given between each node in the same subgraph (The distance between each two nodes Generally different), according to the parameter after learning Choose whether to connect the edges That is, the two nodes are connected, otherwise they are not connected.

[0007] Optionally, a multi-head graph attention mechanism is used to aggregate and update the node feature vectors in each subgraph, including: For each node in the subgraph , we need to calculate the central nodes two by two The similarity coefficient with its neighbor nodes, and The similarity coefficient between Defined as, , and Respectively represent nodes and nodes The node characteristics, Represents the feature concatenation operation, matrix and mapping is the parameter to be learned, and then the obtained And the activation function ,function Calculate the attention coefficient , , for The collection of neighbor nodes, and finally use the attention coefficient to the central node and its neighbor nodes are aggregated, and the node features after aggregation , for Activation function, in order to consider the influence of adjacent nodes on the central node in different aspects, a multi-head graph attention mechanism is used to independently calculate multiple attention heads. The node features calculated by all attention heads are connected to obtain the final aggregated node features. , superscript Indicates Note the parameters of the header.

[0008] Optionally, the updated nodes of the same time slice from different subgraphs are spliced ​​and fused in an end-to-end manner to form a fusion graph, and the edge connection weights between the nodes of the fusion graph are trained based on the edge weight learning mechanism and the multi-channel attention mechanism, including: Connect the nodes with the same number end to end and merge them to form a fusion node , ,(c=1,2,3,…,k), then the edge connection between the fusion nodes is completed through the multi-channel attention mechanism, and the average edge weight between each node of each subgraph is calculated. Form a vector by repeating a scalar value , Number the sub-images as a separate "channel" and then calculate the attention weight for each channel , , , , , is the transformation matrix, is the length of the average matrix, and finally the weight value between the fusion nodes is obtained by weighted summation , are learnable parameters, is the original edge weight between two nodes in each subgraph, according to Choose whether to connect the edges. That is, the two nodes are connected, otherwise they are not connected.

[0009] Optionally, the attention mechanism aggregated features of the fusion graph are fed into the MAML model, and the meta-tasks are quickly adapted to perform fault diagnosis of electronic load circuits, including: Using classifiers To perform fault diagnosis operations, , is a meta-parameter, which is trained by inner and outer loops: First, the training task Support set To update the two parameters, , , this is the inner loop, then use the query set To evaluate the updated parameters, the optimization objective of meta-learning is This is the outer loop. Then, for the new fault diagnosis task, use the support set To fine tune the meta parameters , get the updated meta parameters , Then the total feature matrix of the fusion graph is obtained by passing it through a layer of multi-head graph attention network Input the fully connected layer of the classifier and get , finally use Calculate the probability of failure, , the fault type corresponding to the maximum probability is the diagnosis result.

[0010] The present application proposes an electronic load circuit fault diagnosis method based on a multi-channel graph attention network. Each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. The edges are connected according to the feature similarity weight coefficients between the graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure; the graph attention mechanism network is used to aggregate and update the information of each subgraph node; the updated nodes of the same time slice from different subgraphs are spliced ​​and fused in a head-to-tail manner to form a fusion graph, and the edge weight learning mechanism and multi-channel attention mechanism are used to train the edge connection weights between the fusion graph nodes; the attention mechanism aggregation features of the fusion graph are input into the meta-learning model to perform abnormal diagnosis of electronic load circuits. The present application proposes a fault diagnosis method based on a multi-channel graph attention network to realize fault detection of components in electronic load circuits. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of 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.

[0012] Figure 1 A schematic diagram of a process for detecting abnormal vibration signals of various sensors in an electronic load circuit according to an electronic load circuit fault diagnosis method based on a multi-channel graph attention network provided in an embodiment of the present application; Figure 2 An electronic load circuit diagram provided by an embodiment of the present invention; Figure 3 A diagram showing the working principle of the graph attention network provided for the example of the present invention; Figure 4 A diagram showing the working principle of the multi-head graph attention network provided for an example of the present invention. DETAILED DESCRIPTION

[0013] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0014] like Figure 1 Show, Figure 1 The fault diagnosis method for the electronic load circuit based on the multi-channel graph attention network provided in the embodiment of the present application realizes a schematic diagram of the abnormal vibration signal detection process of each sensor of the electronic load circuit, which specifically includes four contents.

[0015] S11: Each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. The edges are connected according to the feature similarity weight coefficients between the graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure;

[0016] It should be noted that when a fault occurs, the vibration information collected by multiple sensors in the electronic load circuit is not only related in time, but the information collected by different sensors at the same time is also closely related. If a part of the circuit fails, the information collected by sensors in other parts at the same time will also be affected. This application converts the vibration data set collected by multiple sensors into a multi-subgraph structure for processing.

[0017] Step 11: For Figure 2 Raw data set from sensors in electronic load circuit , slice it evenly in time order to get the original data set under each time slice : in, is the sample length, is the number of sensors;

[0018] Step 12: Use Normalization preprocesses the raw signal from the same sensor and uses FFT transformation to transform the samples from the time domain to the frequency domain, using the frequency domain information as the feature representation of the node embedding:

[0019] Step 13: To facilitate the subsequent fusion process, the data from different sensors at the same time are uniformly labeled, such as subgraph1.1, subgraph2.1, and subgraph3.1, which represent the data from subgraphs 1 and 2. Figure 1 , 2, 3 are nodes from the first time slice;

[0020] Step 14: Give each node in the same subgraph a learnable parameter (The distance between each two nodes Generally different), according to the parameter after learning Choose whether to connect the edges That is, the two nodes are connected, otherwise they are not connected.

[0021] Based on the above discussion, in an optional embodiment of the present application, the number of sensors is 3, and the corresponding number of sub-graphs obtained is also 3. There are 5 nodes in each sub-graph, corresponding to a vibration information sample divided into 5 slices according to time, and the dimension n of each node feature vector is 1000 dimensions.

[0022] S12: A multi-head graph attention mechanism is used to aggregate and update the node feature vectors in each subgraph.

[0023] It should be noted that the nodes in the graph do not exist in isolation, but are interconnected through edges. Aggregating neighbor features can explicitly model the interaction between nodes, so that the representation of the node contains local and even global structural information. The attention mechanism autonomously learns the importance differences of different parts of the input data, so that the model can focus on key information under the guidance of the attention coefficient, and automatically filter out secondary information, thereby achieving a more accurate and efficient feature learning process. Therefore, this application adopts a multi-head graph attention mechanism to aggregate and update the feature vectors of each subgraph node.

[0024] Step 21: Figure 3 As shown, for each subgraph, the central node is The eigenvector of With Neighbors Node characteristics of nodes After linear transformation, the concatenation is input into a single-layer neural network to calculate the similarity coefficient. , then use the activation function The similarity coefficient is nonlinearly activated and finally The function normalizes the similarity after activation and converts the raw score into a probability distribution : Among them, the coefficient matrix and mapping are the parameter matrices to be learned, Central Node The set of neighbor nodes;

[0025] Step 22: The central node uses these attention coefficients The features of neighboring nodes are weighted and summed while retaining their own feature information. Finally, nonlinearity is introduced through the activation function to obtain the new feature representation of the central node: in, is the activation function ;

[0026] Step 23: The above steps are the working process of an attention head. In order to enhance the model's ability to express complex graph structures by independently modeling the node relationships in different feature subspaces, and at the same time utilize the redundant complementarity of multi-head information to improve the robustness of the model, such as Figure 4 , here we use a multi-head graph attention mechanism that independently calculates multiple attention heads, and obtains the final aggregated node features by connecting the node features calculated by all attention heads: Among them, the superscript Indicates Note the parameters of the header.

[0027] Based on the above discussion, in an optional embodiment of the present application, the parameter matrix The dimension is 700*1000. Each subgraph calculates 16 attention heads independently. The feature vector of each node The dimension of is 11200.

[0028] S13: The node features of the same time slices of different subgraphs are spliced ​​and fused by connecting them end to end to form a fusion graph. Then, the edge weight learning mechanism is combined with the multi-channel attention mechanism to optimize the edge connection relationship between the nodes in the fusion graph.

[0029] It should be noted that if a part of the electronic load circuit fails, it will definitely affect the vibration signals collected by sensors in other parts. This application adopts a method of fusing multi-channel sub-graphs to fuse the vibration information collected by each sensor at the same time.

[0030] Step 31: Connect and merge the node sequences with unified numbers end to end to generate a fused node: Where c=1,2,3,…,k, k is the number of sensors;

[0031] Step 32: Average the edge weights between nodes in each subgraph Expands to scalar repeated vector ( is the subgraph index), as an independent "channel".

[0032] Step 33: Each channel passes through the learnable parameter matrix and Generate query vectors separately and key vector , and then calculate the attention weight by scaling the dot product formula : in, and is the parameter matrix to be learned, is the dimension of the mean value matrix;

[0033] Step 34: Obtain the final weight value between fusion nodes through weighted summation: in, are learnable parameters, is the original edge weight value between two nodes in each subgraph;

[0034] Step 35: According to Choose whether to connect the edges. That is, the two nodes are connected, otherwise they are not connected.

[0035] Based on the above discussion, in an optional example of the present application, the dimension of the fused node features is three times the dimension of the subgraph node features after aggregation, which is 33,600 dimensions, and a channel attention mechanism of three channels is required when fusing edges.

[0036] S14: The attention mechanism aggregated features of the fusion graph are input into the MAML model, and the meta-task is used to quickly adapt to the fault diagnosis of the electronic load circuit.

[0037] It should be noted that due to the diversity of electronic load circuit fault types and the scarcity of some fault samples, traditional deep learning requires a large amount of labeled data. Meta-learning accumulates cross-task experience in the meta-training stage through the "learning how to learn" paradigm to achieve rapid identification of small samples of new fault modes. This application uses meta-task rapid adaptation to perform fault diagnosis of electronic load circuits.

[0038] Step 41: Training Tasks Support set To update the two parameters in the classifier , the update formula is: in, and are the two parameters to be updated, is the learning rate, is the cross entropy loss on the support set;

[0039] Step 42: Utilizing QuerySets To evaluate the updated parameters, the optimization objective of meta-learning is: in, The cross entropy loss on the query set;

[0040] Step 43: For the new fault diagnosis task, based on its support set data Pre-trained meta parameters and Perform adaptive optimization and quickly adjust task-specific update parameters and , realize the transfer and customized correction of meta-knowledge to new tasks;

[0041] Step 44: Pass the total feature matrix of the fusion graph obtained above through a layer of multi-head graph attention network to obtain Expand column vector Input classifier ,get , finally use Calculate the failure probability P: Among them, K is the number of fault types, and the fault type corresponding to the maximum probability is the diagnosis result.

[0042] Based on the above discussion, in an optional example of the present application, The dimension is 1*3500, and the parameters can be learned , The dimension of the matrix is ​​700*3500. , It is a 700-dimensional column vector. The training task includes the supervised learning process of known fault modes, and the testing task represents the actual verification process of the model's generalization ability.

[0043] The present application uses specific examples to illustrate the principles and implementation methods of the present invention, and the description of the above embodiments is only used to help the method and core ideas of the present invention. It should be pointed out that for ordinary people in the technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. An electronic load circuit fault diagnosis method based on a multi-channel graph attention network, characterized in that: Each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. The edges are connected according to the feature similarity weight coefficients between the graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure. A multi-head graph attention mechanism is used to aggregate and update the node feature vectors in each subgraph; The updated nodes of the same time slice from different subgraphs are spliced ​​and fused in a head-to-tail manner to form a fusion graph. The edge connection weights between the nodes of the fusion graph are trained based on the edge weight learning mechanism and the multi-channel attention mechanism. The attention mechanism aggregated features of the fusion graph are input into the MAML model, and the fault diagnosis of the electronic load circuit is realized based on the meta-learning model.

2. The electronic load circuit fault diagnosis method based on multi-channel graph attention network according to claim 1 is characterized in that: Each vibration sensor signal is evenly divided into several time slices, and the frequency domain information of each slice signal is used as a graph node. The edges are connected according to the feature similarity weight coefficients between the graph nodes. Each vibration sensor signal constitutes a subgraph, thereby establishing a multi-subgraph structure, including: The sensor signal is cut into several time slices, with a certain time Sample slice below For example, , is the sample length, is the number of sensors, and the original sample signals from the same sensor are After normalization preprocessing and FFT transformation, it is used as the feature representation of node embedding. In addition, in order to facilitate the subsequent fusion process, the nodes from different sensors at the same time are uniformly labeled, such as subgraph1.1, subgraph2.1, and subgraph3.1, which represent the first time slice nodes in subgraphs 1, 2, and 3 respectively. Then, a learnable parameter is assigned to each node in the same subgraph. , between every two nodes Generally different, according to the parameters after learning Choose whether to connect the edges That is, the two nodes are connected, otherwise they are not connected.

3. The electronic load circuit fault diagnosis method based on multi-channel graph attention network as claimed in claim 1, characterized in that: A multi-head graph attention mechanism is used to aggregate and update the node feature vectors in each subgraph, including: For each node in the subgraph , we need to calculate the central nodes two by two The similarity coefficient with its neighbor nodes, and The similarity coefficient between Defined as, , and Respectively represent nodes and nodes The node characteristics, Represents the feature concatenation operation, matrix and mapping is the parameter to be learned, and then the obtained And the activation function ,function Calculate the attention coefficient , , , for The collection of neighbor nodes, and finally use the attention coefficient to the central node and its neighbor nodes are aggregated, and the node features after aggregation , for Activation Function In order to consider the influence of adjacent nodes on the central node in different aspects, a multi-head graph attention mechanism that independently calculates multiple attention heads is used here. The node features calculated by all attention heads are connected to obtain the final aggregated node features. , superscript Indicates Note the parameters of the head.

4. The electronic load circuit fault diagnosis method based on multi-channel graph attention network as claimed in claim 1, characterized in that: The updated nodes of the same time slice from different subgraphs are spliced ​​and fused in a head-to-tail manner to form a fusion graph. The edge connection weights between the nodes of the fusion graph are trained based on the edge weight learning mechanism and the multi-channel attention mechanism, including: Connect the nodes with the same number end to end and merge them to form a fusion node , ,(c=1,2,3,…,k), then the edge connection between the fusion nodes is completed through the multi-channel attention mechanism, and the average edge weight between each node of each subgraph is calculated. Form a vector by repeating a scalar value , Number the sub-images as a separate "channel" and then calculate the attention weight for each channel , , , , , is the transformation matrix, is the length of the average matrix, and finally the weight value between the fusion nodes is obtained by weighted summation , are learnable parameters, is the original edge weight between two nodes in each subgraph, according to Choose whether to connect the edges. That is, the two nodes are connected, otherwise they are not connected.

5. The electronic load circuit fault diagnosis method based on multi-channel graph attention network as claimed in claim 1, characterized in that: The attention mechanism aggregated features of the fusion graph are input into the MAML model, and the meta-tasks are used to quickly adapt to the fault diagnosis of the electronic load circuit, including: Using classifiers To perform fault diagnosis operations, , is a meta-parameter, which is trained by inner and outer loops: First, the training task Support set To update the two parameters, , , this is the inner loop, then use the query set To evaluate the updated parameters, the optimization objective of meta-learning is This is the outer loop. Then, for the new fault diagnosis task, use the support set To fine tune the meta parameters , get the updated meta parameters , Then the total feature matrix of the fusion graph is obtained by passing it through a layer of multi-head graph attention network Input the fully connected layer of the classifier and get , finally use Calculate the probability of failure, , the fault type corresponding to the maximum probability is the diagnosis result.

Citation Information

Patent Citations

  • High-speed train wheel set bearing fault diagnosis network based on multi-channel joint migration

    CN116776126A

  • Intelligent gearbox fault diagnosis method based on multi-sensor fusion

    CN117890099A

  • Rolling bearing fault diagnosis method and system based on improved multi-head graph attention network

    CN118090214A

  • Wind power gear box fault diagnosis method based on meta-graph aggregation network

    CN118190405A

  • Multi-subgraph fusion-based multivariate time sequence anomaly detection method and system

    CN118691931A

Cited By

  • Performator fault diagnosis method and device based on graph attention mechanism

    CN121051658A

  • Cognitive closed-loop collaborative countering system based on digital source interference and decoy

    CN121690463A

  • Low-girth interconnection network intermittent fault diagnosis method based on graph attention mechanism

    CN122160291A