Fault diagnosis method and system for lightweight electric propulsion system

By constructing the fault knowledge graph and graph neural network technology of the electric propulsion system, the shortcomings in the accuracy and real-time performance of the electric propulsion system fault diagnosis method are solved, efficient and intelligent fault diagnosis is achieved, and the reliability and stability of the system are improved. sex.

CN118468208BActive Publication Date: 2024-09-27BEIJING YIDONG AEROSPACE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410940217.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-27
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing electric propulsion system fault diagnosis methods have shortcomings in diagnostic accuracy, real-time performance and generalization, and are difficult to meet the needs of lightweight and integration trends.

Method used

By constructing fault trees and pointing graphs based on historical data and structural data, an initial graph model is generated and mapped to a low-dimensional dense vector space to form a fault knowledge graph. Graph neural network technology is used to extract fault correlation features and importance features, combined with Fault classifier performs intelligent fault diagnosis.

Benefits of technology

The accuracy and efficiency of fault diagnosis of the electric propulsion system are improved, the diagnosis cost and time cost are reduced, and the reliability and stability of the system are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118468208B
    Figure CN118468208B
Patent Text Reader

Abstract

The present invention provides a fault diagnosis method and system for a lightweight electric propulsion system, which relates to the technical field of fault diagnosis, including determining fault causality and component dependency based on historical data and structural data, constructing a fault tree and a directional graph, constructing an initial graph model, mapping nodes to a low-dimensional dense vector space, determining node embedded representations, and generating a fault knowledge graph; based on the node embedded representation, searching for corresponding neighbor embedded representations, extracting node high-level feature representations by performing convolution operations on nodes and neighbors, determining fault association relationships, extracting fault importance representations by pooling operations, and constructing a fault association feature extraction network; inputting real-time monitoring data of the lightweight electric propulsion system into a fault diagnosis model, extracting fault association features and importance features corresponding to the real-time monitoring data, making classification decisions through a fault classifier in combination with the fault knowledge graph, and determining fault diagnosis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault diagnosis, and in particular to a fault diagnosis method and system for a lightweight electric propulsion system. Background Art

[0002] The electric propulsion system is an important component of modern transportation vehicles such as spacecraft and aircraft. Its reliability and safety are directly related to the normal operation of the entire system. With the continuous development of electric propulsion technology, the structure of the electric propulsion system is becoming increasingly complex, and the failure modes are diverse, which puts higher requirements on fault diagnosis. Traditional electric propulsion system fault diagnosis mainly relies on manual experience and regular inspections, which has problems such as low diagnostic efficiency, low accuracy, and poor real-time performance.

[0003] In summary, the existing electric propulsion system fault diagnosis methods need to be further improved in terms of diagnostic accuracy, real-time performance, and generalization. In particular, in the face of the increasingly lightweight and integrated trend of electric propulsion systems, traditional diagnostic methods are difficult to meet actual needs. Therefore, a lightweight, efficient, and intelligent fault diagnosis method is needed to ensure the reliable operation of the electric propulsion system. The present invention can solve the problems in the prior art. Summary of the invention

[0004] The embodiments of the present invention provide a fault diagnosis method and system for a lightweight electric propulsion system, which can solve the problems in the prior art.

[0005] According to a first aspect of the embodiments of the present invention,

[0006] A fault diagnosis method for a lightweight electric propulsion system is provided, comprising:

[0007] Based on the historical data and structural data of the lightweight electric propulsion system, determine the fault causality and component dependency, build a fault tree and a directional graph, build an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph, map the nodes in the initial graph model to a low-dimensional dense vector space, determine the node embedded representation, and generate a fault knowledge graph;

[0008] Based on the node embedded representation in the fault knowledge graph, the corresponding neighbor embedded representation is searched and obtained, and the node high-level feature representation is extracted by performing convolution operation on the node and the neighbor, and the fault association relationship is determined. The fault importance representation is extracted through pooling operation, and a fault association feature extraction network is constructed;

[0009] The real-time monitoring data of the lightweight electric propulsion system is input into a fault diagnosis model, and fault association features and importance features corresponding to the real-time monitoring data are extracted. A classification decision is made through a fault classifier in combination with the fault knowledge graph to determine a fault diagnosis result, wherein the fault diagnosis model is based on the fault knowledge graph and is constructed by integrating the fault association feature extraction network and the fault classifier.

[0010] In an optional embodiment,

[0011] Based on the historical data and structural data of the lightweight electric propulsion system, determining the fault causal relationship and component dependency, constructing a fault tree and a directional graph, and constructing an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph includes:

[0012] Perform statistical analysis on the historical data, identify the failure mode and frequency, trace the failure cause, determine the failure causal relationship, take the system-level failure as the top event, the component-level failure as the intermediate event, and the root cause as the basic event, generate the logical nodes of the fault tree, and determine the logical edges according to the failure causal relationship based on the logic gate and the causal strength factor, connect the logical nodes, and construct the fault tree;

[0013] According to the structural data, the physical components are identified, and the nodes of the directional graph are determined; based on the interfaces of the physical components and the directions of material transfer and information interaction, the dependency relationships are constructed; in combination with the dependency strength factors, the directed edges of the directional graph are determined; based on the nodes of the directional graph and the directed edges of the directional graph, the directional graph is determined;

[0014] The fault tree and the directional graph are integrated, and an initial graph model of the lightweight electric propulsion system is generated through node merging, edge merging and attribute addition. The nodes of the initial graph model include fault events and system components, and the edges of the initial graph model include fault causal relationships and component dependencies.

[0015] In an optional embodiment,

[0016] Mapping the nodes in the initial graph model to a low-dimensional dense vector space, determining the node embedded representation, and generating a fault knowledge graph includes:

[0017] Based on the causal strength factor and the dependency strength factor, determine the edge weights of the initial graph model, calculate the node transition probability matrix, and based on the transition probability matrix, perform a random walk from a starting node to generate a plurality of random walk sequences;

[0018] Based on the random walk sequence, each node is taken as a central node, and based on the central node, context nodes are determined according to a preset window size, and exploration sample pairs of the central node and the context node are constructed. A pre-constructed word vector model is applied, and the exploration sample pairs are taken as input, and the embedded representation vector of each node in the initial graph model is captured by maximizing the probability of correctly predicting the central node and the context node;

[0019] The embedded representation vector is used as a new attribute of the node and integrated with the original attribute of the node to form a comprehensive feature representation of the node. Based on the embedded representation vector, the similarity between nodes is calculated, semantically related node pairs are extracted, and semantic association edges are added between the semantically related node pairs. The comprehensive feature representation and the semantic association edges of the initial graph model are integrated with the original edges of the initial graph model to construct a fault knowledge graph of the lightweight electric propulsion system.

[0020] In an optional embodiment,

[0021] The fault correlation feature extraction network comprises:

[0022] Based on the embedded representation of nodes in the fault knowledge graph, a node feature matrix is ​​constructed, and according to the edge connection relationship of the fault knowledge graph, an adjacency matrix is ​​determined, and a plurality of sub-adjacency matrices are divided according to the type of edges;

[0023] Inputting the node feature matrix and the sub-adjacency matrix into a pre-constructed multi-layer heterogeneous graph convolutional network, determining the corresponding convolution kernel according to the type of the node, and determining the attention weight according to the type of the edge, and extracting the heterogeneous neighborhood information and associated features of the node layer by layer based on the convolution kernel and the attention weight, and constructing a heterogeneous graph convolution feature matrix;

[0024] The heterogeneous graph convolution feature matrix calculates the attention weights between nodes through a multi-head graph attention mechanism, aggregates node neighborhood information based on the attention weights, and extracts a graph attention feature matrix. The graph attention feature matrix calculates the self-attention weights of the nodes through a self-attention pooling mechanism, aggregates node features, determines the graph-level feature representation, and obtains fault-related features.

[0025] In an optional embodiment,

[0026] The training of the fault diagnosis model includes:

[0027] Acquire annotated historical fault data, where the historical fault data includes fault correlation features corresponding to the fault scenario and corresponding fault labels;

[0028] Initialize model parameters of the fault diagnosis model;

[0029] Based on the fault classification loss and graph regularization term, a fault classification loss function is constructed;

[0030] Inputting the fault association features into the fault classifier, and calculating the total loss of the fault diagnosis model through forward propagation based on the fault classification loss function;

[0031] According to the total loss of the fault diagnosis model, the parameter gradients of the fault association feature extraction network and the fault classifier are calculated by back propagation, and the model parameters are updated based on the parameter gradients until a preset model training round is reached to complete the training of the fault diagnosis model.

[0032] In an optional embodiment,

[0033] Based on the fault classification loss and graph regularization term, the fault classification loss function is constructed including:

[0034] ;

[0035] in, L represents the total loss, k represents the sample ordinal number, c Indicates the fault category ordinal number, C Indicates the total number of fault categories, y k,c Indicates k The samples belong to c The true label of the category, p k,c The model predicts k The samples belong to c The probability of the class, λ 1 represents the weight coefficient of the graph regularization term, r Indicates the ordinal number of the relationship type, i Represents a node, j Represents another node, H i, r j Indicates r Nodes under relationship type i With Node j The expression, X i, r j Indicates r Nodes under relationship type i With Node j Features, W i, r j Indicates r Nodes under relationship type iWith Node j The elements of the characteristic transformation matrix, σ r Represents the weight coefficient of the loss term under each relationship type in the adjustment graph regularization term, λ 2 represents the weight coefficient of the L2 regularization term, || M || F 2 Represents the L2 regularization term of the model parameters.

[0036] According to a second aspect of the embodiments of the present invention,

[0037] A fault diagnosis system for a lightweight electric propulsion system is provided, comprising:

[0038] A first unit is used to determine fault causality and component dependency based on historical data and structural data of the lightweight electric propulsion system, construct a fault tree and a directional graph, construct an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph, map nodes in the initial graph model to a low-dimensional dense vector space, determine node embedded representation, and generate a fault knowledge graph;

[0039] The second unit is used to search and obtain the corresponding neighbor embedded representation based on the node embedded representation in the fault knowledge graph, extract the node high-level feature representation by performing convolution operation on the node and the neighbor, determine the fault association relationship, and extract the fault importance representation by pooling operation, and build a fault association feature extraction network;

[0040] The third unit is used to input the real-time monitoring data of the lightweight electric propulsion system into a fault diagnosis model, extract fault association features and importance features corresponding to the real-time monitoring data, make classification decisions through a fault classifier in combination with the fault knowledge graph, and determine a fault diagnosis result, wherein the fault diagnosis model is based on the fault knowledge graph and is constructed by integrating the fault association feature extraction network and the fault classifier.

[0041] According to a third aspect of the embodiments of the present invention,

[0042] An electronic device is provided, comprising:

[0043] processor;

[0044] a memory for storing processor-executable instructions;

[0045] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0046] A fourth aspect of the embodiments of the present invention is:

[0047] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0048] In an embodiment of the present invention, a directional graph is used to reflect the propagation path and impact range of the fault state within the system, providing a basis for fault tracing, isolation and blocking; the fault tree and directional graph are further abstracted into a graph model, and mapped to a low-dimensional vector space through node embedding technology to form a compact and efficient fault knowledge graph representation, which is convenient for subsequent storage, retrieval and reasoning applications; using the constructed fault knowledge graph, intelligent fault diagnosis based on causal reasoning, path search and other methods can be realized, and potential fault risks can be predicted through the associated information in the graph to guide preventive maintenance; using graph neural network technology, the embedded representation of nodes in the fault knowledge graph can be effectively obtained to capture the structural and semantic similarities between nodes; by searching and obtaining the neighbor nodes of the nodes and obtaining their embedded representations, it is helpful to enrich the context information of the nodes and improve the richness of the feature representation; the fault classifier uses the features extracted by the fault association feature extraction network, combined with the existing fault knowledge graph, to quickly and effectively classify and decide on the real-time monitoring data, thereby improving the accuracy and efficiency of fault classification; the integrated design of the fault diagnosis model can effectively improve the fault diagnosis performance of the lightweight electric propulsion system, reduce the cost and time cost of fault diagnosis, and improve the reliability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of a fault diagnosis method for a lightweight electric propulsion system according to an embodiment of the present invention;

[0050] Figure 2 It is a schematic diagram of the structure of a fault diagnosis system of a lightweight electric propulsion system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0052] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0053] Figure 1FIG. 1 is a flow chart of a fault diagnosis method for a lightweight electric propulsion system according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0054] S101. Based on the historical data and structural data of the lightweight electric propulsion system, determine the fault causality and component dependency, construct a fault tree and a directional graph, and based on the fault tree and the directional graph, construct an initial graph model of the lightweight electric propulsion system, map the nodes in the initial graph model to a low-dimensional dense vector space, determine the node embedded representation, and generate a fault knowledge graph;

[0055] The historical data specifically refers to various data recorded by the lightweight electric propulsion system during its past operation, including: sensor data, such as temperature, pressure, flow, voltage, current and other physical quantity records; fault logs, recording the time, location, fault phenomenon, fault code, etc. of system faults; maintenance records, recording the maintenance process, replacement parts, maintenance time, etc. after the fault occurs; performance data, such as historical changes in key performance indicators such as thrust, specific impulse, efficiency, etc.;

[0056] The structural data specifically refers to data that describes the internal structure and composition of the lightweight electric propulsion system, including: system topology, which reflects the connection relationship and signal flow between the various components in the system; component hierarchy, which describes the components of the system and their hierarchical subordinate relationships; component parameters, such as the material, size, rated working conditions and other inherent attribute data of the component.

[0057] The fault causal relationship specifically refers to the causal relationship that the failure or abnormal state of a component or parameter in the system causes the failure or abnormality of another component or parameter; the component dependency specifically refers to the fact that the normal operation of a component in the system depends on the normal operation of another component, reflecting the functional dependence and influence between the components; the fault tree specifically refers to a top-down logical analysis method, which uses a tree structure to represent the causal relationship between various faults in the system, the root node represents the system-level fault, the intermediate node represents the subsystem or component-level fault, and the leaf node represents the basic fault event; the directed graph specifically refers to the use of a directed graph to represent the propagation path of the fault or abnormal state in the system, the node represents the fault state, the directed edge represents the causal relationship or dependency relationship between the fault states, and the direction of the edge represents the direction of fault propagation.

[0058] In this embodiment, the fault conditions at all levels of the system and their mutual influence are comprehensively considered to understand and grasp the fault occurrence and evolution laws of the system as a whole; the propagation path and influence range of the fault state within the system are reflected through the directional graph, providing a basis for fault tracing, isolation and blocking; the fault tree and the directional graph are further abstracted into a graph model, and mapped to a low-dimensional vector space through node embedding technology to form a compact and efficient fault knowledge graph representation, which is convenient for subsequent storage, retrieval and reasoning applications; using the constructed fault knowledge graph, intelligent fault diagnosis based on causal reasoning, path search and other methods can be realized, and potential fault risks can be predicted through the correlation information in the graph to guide preventive maintenance; new fault cases and expert experience are continuously added to the fault knowledge graph to achieve continuous accumulation and optimization of the diagnostic knowledge base and improve the system's ability to cope with new fault types.

[0059] In an optional embodiment, based on the historical data and structural data of the lightweight electric propulsion system, determining the fault causal relationship and component dependency, constructing a fault tree and a directional graph, and constructing an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph includes:

[0060] Perform statistical analysis on the historical data, identify the failure mode and frequency, trace the failure cause, determine the failure causal relationship, take the system-level failure as the top event, the component-level failure as the intermediate event, and the root cause as the basic event, generate the logical nodes of the fault tree, and determine the logical edges according to the failure causal relationship based on the logic gate and the causal strength factor, connect the logical nodes, and construct the fault tree;

[0061] According to the structural data, the physical components are identified, and the nodes of the directional graph are determined; based on the interfaces of the physical components and the directions of material transfer and information interaction, the dependency relationships are constructed; in combination with the dependency strength factors, the directed edges of the directional graph are determined; based on the nodes of the directional graph and the directed edges of the directional graph, the directional graph is determined;

[0062] The fault tree and the directional graph are integrated, and an initial graph model of the lightweight electric propulsion system is generated through node merging, edge merging and attribute addition. The nodes of the initial graph model include fault events and system components, and the edges of the initial graph model include fault causal relationships and component dependencies.

[0063] In a fault tree, the causal relationship between events is usually not a simple equal-weight relationship, but there are certain differences in causal strength, so the causal strength factor can be a weight value used to indicate the strength of the causal relationship between events. The causal strength factor can be determined by analyzing historical data or expert experience, so that different degrees of influence between events can be considered when constructing a fault tree;

[0064] In the initial graph model of the system, the dependency relationship between components is very important. The dependency relationship reflects the importance of interaction and information transmission between components in the system. Therefore, the dependency strength factor can be a weight value used to represent the strength of the dependency relationship between components. By analyzing the system structure data, the dependency strength factor can be determined, so that the dependency degree between components is considered when constructing the initial graph model.

[0065] First, a fault tree is constructed, and the historical data of the lightweight electric propulsion system is statistically analyzed. The main fault modes and their occurrence frequencies in the system are identified through indicators such as fault frequency and fault impact. For each fault mode, the cause of its occurrence is traced. The causal relationship chain of the fault is determined through causal analysis methods, such as root cause analysis and 5why analysis. The system-level fault is used as the top event of the fault tree, the component-level fault in the fault causal chain is used as the intermediate event, and the bottom-level fault cause is used as the basic event to generate the logical nodes of the fault tree. According to the determined fault causal relationship, directed edges are connected between the logical nodes of the fault tree. The direction of the edge represents the direction of the causal relationship. Logic gates (such as AND gates, OR gates, etc.) are added to the directed edges to represent the combined logical relationship between multiple events. Causal strength factors are added to the directed edges to quantitatively describe the strength of the causal relationship. Conditional probability, correlation coefficient and other indicators can be used to measure and form a complete fault tree representation.

[0066] Reconstruct the directional graph, identify all physical components in the system according to the structural data of the lightweight electric propulsion system, and use them as nodes of the directional graph; analyze the interface relationship of each physical component, determine the direction of material transfer (such as fluid flow, heat conduction, etc.) and signal interaction (such as control instructions, feedback information, etc.) between the physical components, and connect directed edges between the corresponding nodes based on the physical interface and interaction direction to represent the dependency relationship between the components. The direction of the edge represents the direction of the dependency. Add a dependency intensity factor to the directed edge to quantitatively describe the closeness of the dependency relationship, which can be measured by indicators such as coupling degree and interconnection degree to form a complete directional graph representation;

[0067] Generate an initial graphical model, integrate the constructed fault tree and directional graph, merge nodes representing the same entity (fault event or system component), and selectively merge the causal relationship edges in the fault tree and the dependency relationship edges in the directional graph according to whether the nodes they connect are the same. Add attribute information to the merged graphical model nodes, such as the severity and probability of the fault event, the material and size of the component, etc. On the merged graphical model edges, fuse the causal strength factor and the dependency strength factor to form a comprehensive association strength weight. Further simplify and optimize the merged graphical model, remove redundant nodes and edges, adjust the attributes of nodes and edges, and obtain the initial graphical model of the lightweight electric propulsion system.

[0068] In this embodiment, by statistically analyzing historical data, the main failure modes in the system and their occurrence frequencies can be accurately identified, which helps system managers understand the main risks in the system and take targeted preventive and countermeasures; through the causal analysis method, the cause of each failure mode can be deeply analyzed, and the causal chain of the failure can be determined, which helps system managers understand the root cause of the failure and take corresponding measures to repair and prevent it; the system-level failure is taken as the top event, the component-level failure is taken as the intermediate event, and the failure cause is taken as the basic event to generate the logical nodes of the fault tree. By connecting the logical nodes and adding directed edges and logic gates, a complete fault tree representation is formed, which can clearly show the causal relationship and logical association between different failure events in the system. According to the system structure data, all physical components in the system are identified, and the interface relationship between them is analyzed, the direction of material transfer and signal interaction is determined, and a directed graph is constructed to represent the dependency relationship between components.

[0069] In an optional embodiment, mapping the nodes in the initial graph model into a low-dimensional dense vector space, determining the node embedded representation, and generating the fault knowledge graph includes:

[0070] Based on the causal strength factor and the dependency strength factor, determine the edge weights of the initial graph model, calculate the node transition probability matrix, and based on the transition probability matrix, perform a random walk from a starting node to generate a plurality of random walk sequences;

[0071] Based on the random walk sequence, each node is taken as a central node, and based on the central node, context nodes are determined according to a preset window size, and exploration sample pairs of the central node and the context node are constructed. A pre-constructed word vector model is applied, and the exploration sample pairs are taken as input, and the embedded representation vector of each node in the initial graph model is captured by maximizing the probability of correctly predicting the central node and the context node;

[0072] The embedded representation vector is used as a new attribute of the node and integrated with the original attribute of the node to form a comprehensive feature representation of the node. Based on the embedded representation vector, the similarity between nodes is calculated, semantically related node pairs are extracted, and semantic association edges are added between the semantically related node pairs. The comprehensive feature representation and the semantic association edges of the initial graph model are integrated with the original edges of the initial graph model to construct a fault knowledge graph of the lightweight electric propulsion system.

[0073] The transition probability matrix specifically describes the transition probability between nodes in the graph structure. For node i, the i-th row of the transition probability matrix represents the probability distribution of reaching other nodes from node i. The transition probability matrix is ​​usually a sparse matrix, in which non-zero elements represent the transition probability between connected nodes.

[0074] The random walk sequence specifically refers to randomly selecting a node as the starting node in the graph structure, and then randomly moving in the graph according to certain transfer rules until the stopping condition is met. The random walk sequence is a sequence of nodes passed during the random walk. By generating multiple random walk sequences, it is possible to start from different starting nodes and simulate the random transfer process between nodes in the graph structure, thereby capturing the local and global information of the graph structure.

[0075] For each edge in the initial graph model, according to the type of node it connects (fault event or system component), extract the corresponding causal strength factor or dependency strength factor from the fault tree or pointing graph, normalize the extracted strength factor to between 0 and 1, and use it as the edge weight value, and add it to the edge attribute of the initial graph model. Based on the edge weight, calculate the node transition probability matrix of the initial graph model. For each node, count the sum of the weights of all its outgoing edges, and then divide the weight of each outgoing edge by the sum of the weights to obtain the probability of transferring from the node to the adjacent node, forming a row of the transition probability matrix. Normalize the transition probability matrix to ensure that the sum of the probabilities of each row is 1;

[0076] Randomly select a node from the initial graph model as the starting node, start the random walk, and select the next node in a probabilistic manner according to the transition probability matrix of the current node to form the next step of the random walk. Repeat the walk until the walk reaches a preset length or meets a specific stop condition (such as repeatedly visiting the same node), generating a complete random walk sequence, and cyclically generating multiple random walk sequences;

[0077] For each random walk sequence, traverse each node in it, regard the current node as the central node, take the central node as the core, and select a certain number of nodes before and after the central node as context nodes according to the preset window size (such as 3, 5, etc.), and combine the central node and each context node into an exploration sample pair in the form of (central node, context node). Repeat the operation for all nodes in all random walk sequences to construct a complete set of exploration sample pairs;

[0078] Use a pre-built word vector model, preferably Word2Vec, to explore sample pairs as input to learn the embedded representation vector of each node in the initial graph model. The word vector model is optimized by maximizing the probability of correctly predicting the central node and the context node, thereby capturing the structural and semantic similarities between nodes. Set appropriate hyperparameters such as word vector dimension, number of training iterations, and learning rate to balance the quality of representation and computational efficiency. After training, each node is mapped to a low-dimensional dense real-valued vector space, and the distance between vectors reflects the similarity of the nodes in the graph structure.

[0079] The embedded representation vector learned by each node is used as the new attribute of the node and integrated with the original attributes of the node. The original attributes are preprocessed as necessary, such as normalization and discretization, to make them coordinated with the embedded representation vector on a numerical scale. The embedded representation vector is concatenated or combined with the processed original attributes to form a comprehensive feature representation of the node, reflecting the multi-dimensional characteristics of the node.

[0080] Based on the embedded representation vectors of the nodes, the similarity between each pair of nodes in the initial graph model is calculated. Preferably, the cosine similarity is calculated. According to the similarity, the node pairs with higher semantic correlation are extracted as candidate semantic association edges. The candidate semantic association edges are screened and filtered, and duplicate and low-confidence edges are removed to obtain the final set of semantic association edges. The semantic association edges are added to the initial graph model to form a new edge set with the original causal relationship edges and dependency relationship edges.

[0081] Update the comprehensive feature representation of the node to the node attributes of the initial graph model, replace or expand the original attributes, integrate the newly added semantically associated edges with the original edges of the initial graph model to form an expanded edge set, and make necessary optimization and adjustments to the integrated graph model, such as removing isolated nodes, merging redundant edges, etc., to improve the quality and efficiency of the graph, and store the optimized graph model as a fault knowledge graph of the lightweight electric propulsion system. Each node contains a comprehensive feature representation, and the edges contain causal relationships, dependency relationships, and semantic association relationships. Design a suitable storage mode and retrieval interface for the knowledge graph to facilitate subsequent query, reasoning, and application.

[0082] In this embodiment, the edge weights of the initial graph model are determined by calculation based on the causal strength factor and the dependency strength factor, and then the node transfer probability matrix is ​​constructed, which helps to simulate the information transmission and correlation degree between nodes in the system; through random walks, multiple random walk sequences are generated in the graph model, which helps to reveal the correlation patterns and paths between nodes in the system; a set of exploration sample pairs is constructed, and the sample pairs combine the central node and the context nodes around it, which helps the subsequent node embedded representation learning; through the pre-trained word vector model, the embedded representation vector of each node in the initial graph model is learned to reflect the structural and semantic similarity of the node in the graph structure; the embedded representation vector of the node is integrated with the original attributes to form a comprehensive node feature representation, which helps to more comprehensively describe the characteristics of the node, extract node pairs with a high degree of semantic relevance, and add them to the graph model as semantic association edges to enrich the information of the graph; the comprehensive feature representation of the node is updated to the graph model, and the graph model is optimized and adjusted, and finally a fault knowledge graph of the lightweight electric propulsion system is constructed, which provides comprehensive support for the fault diagnosis and decision-making of the system.

[0083] S102. Based on the node embedded representation in the fault knowledge graph, search and obtain the corresponding neighbor embedded representation, extract the node high-level feature representation by performing convolution operation on the node and the neighbor, determine the fault association relationship, and extract the fault importance representation by pooling operation, and build a fault association feature extraction network;

[0084] Extract the embedded representation vector of each node from the fault knowledge graph as the feature representation of the node. For each node, search and obtain the embedded representation vector of its neighbor nodes based on the edge relationship of the knowledge graph, combine the embedded representation of the node and its neighbors into a local subgraph, apply graph convolution operation to the local subgraph, and extract the high-level feature representation of the node by aggregating the feature information of the node and its neighbors. Based on the extracted high-level features of the node, determine the fault association relationship between the nodes through similarity calculation, threshold screening and other methods;

[0085] Pooling operation is performed on the high-level features of nodes extracted by convolution, the feature information of nodes is aggregated, and the importance representation of nodes is extracted; the fault importance reflects the criticality of nodes in the entire fault propagation process. The convolution operation and pooling operation are combined into a complete neural network model to form a fault correlation feature extraction network. The node embedded representation is used as input, and after multiple layers of convolution and pooling, the high-level correlation features and importance features of nodes are extracted;

[0086] In this embodiment, by using graph neural network technology, the embedded representation of nodes in the fault knowledge graph can be effectively obtained, and the structural and semantic similarities between nodes can be captured; by searching and obtaining the neighbor nodes of the node and obtaining their embedded representations, it is helpful to enrich the contextual information of the node and improve the richness of the feature representation; by using convolution operations, the high-level feature representation of the node and its neighbor nodes can be effectively extracted, which helps to capture the association relationship and feature interaction between nodes; by performing convolution operations on nodes and neighbors, the association relationship between faults can be effectively determined, and the mutual influence and propagation path between faults can be revealed; through pooling operations, the importance representation of the fault can be extracted from the high-level features of the node, which helps to identify and distinguish important fault events.

[0087] In an optional embodiment, the fault correlation feature extraction network includes:

[0088] Based on the embedded representation of nodes in the fault knowledge graph, a node feature matrix is ​​constructed, and according to the edge connection relationship of the fault knowledge graph, an adjacency matrix is ​​determined, and a plurality of sub-adjacency matrices are divided according to the type of edges;

[0089] Inputting the node feature matrix and the sub-adjacency matrix into a pre-constructed multi-layer heterogeneous graph convolutional network, determining the corresponding convolution kernel according to the type of the node, and determining the attention weight according to the type of the edge, and extracting the heterogeneous neighborhood information and associated features of the node layer by layer based on the convolution kernel and the attention weight, and constructing a heterogeneous graph convolution feature matrix;

[0090] The heterogeneous graph convolution feature matrix calculates the attention weights between nodes through a multi-head graph attention mechanism, aggregates node neighborhood information based on the attention weights, and extracts a graph attention feature matrix. The graph attention feature matrix calculates the self-attention weights of the nodes through a self-attention pooling mechanism, aggregates node features, determines the graph-level feature representation, and obtains fault-related features.

[0091] The embedded representation vector of each node is extracted from the fault knowledge graph to form a node feature matrix. Each row of the node feature matrix corresponds to a node, and each column corresponds to a dimension of the embedded vector. According to the edge connection relationship of the fault knowledge graph, an adjacency matrix is ​​constructed. The adjacency matrix is ​​a two-dimensional square matrix. The rows and columns represent nodes respectively. The matrix elements indicate whether there are edges between the nodes. 1 indicates an edge and 0 indicates no edge. According to the type of edge, such as causal relationship, dependency relationship, semantic association, etc., the adjacency matrix is ​​divided into multiple sub-adjacency matrices. Each sub-adjacency matrix represents a specific type of edge relationship.

[0092] Construct a multi-layer heterogeneous graph convolutional network. The input of the network is the node feature matrix and the sub-adjacency matrix. Different convolution kernels are designed according to the type of node, such as fault events, system components, etc. Each node type corresponds to a convolution kernel, which is used to extract the features of nodes of this type. Different attention weights are set according to the type of edge. The attention weight reflects the importance of different types of edges in feature propagation. In the heterogeneous graph convolution layer, for each node, the corresponding convolution kernel is selected according to its type, and the corresponding attention weight is selected according to the type of edge with the neighboring node; the convolution kernel is convolved with the node feature, and the attention weight is weightedly aggregated with the neighboring node feature to extract the heterogeneous neighborhood information and associated features of the node; the multi-layer heterogeneous graph convolutional network propagates and extracts features layer by layer to obtain the final heterogeneous graph convolution feature matrix;

[0093] On the basis of the heterogeneous graph convolution feature matrix, a multi-head graph attention mechanism is introduced to further extract the correlation information between nodes, and the heterogeneous graph convolution feature matrix is ​​divided into multiple sub-feature matrices. Each sub-feature matrix corresponds to an attention head. For each attention head, the attention weight between nodes is calculated. Based on the attention weight, the neighborhood information of each node is weighted and aggregated to obtain the node feature representation under the attention head. The node feature representations of all attention heads are spliced ​​together to form a graph attention feature matrix. The graph attention feature matrix integrates node correlation information from multiple angles to provide a more comprehensive and accurate feature representation;

[0094] Based on the graph attention feature matrix, the self-attention pooling mechanism is introduced to extract the global feature representation at the graph level. Through the self-attention mechanism, the attention weight of each node and all other nodes in the graph is calculated to reflect the importance of the node in the whole graph. Based on the self-attention weight, the features of all nodes are weighted and aggregated to obtain the graph-level feature vector. The graph-level feature vector represents the global information of the entire fault knowledge graph and captures the overall correlation pattern between faults.

[0095] The heterogeneous graph convolution feature matrix, graph attention feature matrix and graph-level feature vector are combined to form the final fault correlation feature representation, where the fault correlation feature integrates the heterogeneous neighborhood information of nodes, multi-angle correlation information and global graph-level information to provide a comprehensive and detailed fault correlation description.

[0096] In this embodiment, a node feature matrix is ​​constructed according to the embedded representation vectors of the nodes in the fault knowledge graph, which can comprehensively characterize the feature information of each node; the adjacency matrix is ​​divided into multiple sub-adjacency matrices according to the type of edge, which can better distinguish different types of edge relationships and provide more refined feature representation; a multi-layer heterogeneous graph convolutional network is constructed, which can effectively propagate and extract features, capture heterogeneous neighborhood information and associated features between nodes, and improve the feature representation capability; a multi-head graph attention mechanism is introduced, which can further extract the associated information between nodes, fuse node associated information from multiple angles, and provide more comprehensive and accurate feature representation; a self-attention pooling mechanism is introduced, which can extract the global feature representation at the graph level, capture the global information of the entire fault knowledge graph, reflect the importance of the node in the entire graph, and combine the heterogeneous graph convolution feature matrix, the graph attention feature matrix and the graph-level feature vector to form the final fault association feature representation, which can comprehensively and finely describe the association relationship between faults and provide support for subsequent fault diagnosis and decision-making.

[0097] S103. Input the real-time monitoring data of the lightweight electric propulsion system into the fault diagnosis model, extract the fault association features and importance features corresponding to the real-time monitoring data, make classification decisions through the fault classifier in combination with the fault knowledge graph, and determine the fault diagnosis result, wherein the fault diagnosis model is based on the fault knowledge graph and is constructed by integrating the fault association feature extraction network and the fault classifier.

[0098] The real-time monitoring data of the lightweight electric propulsion system is passed as input to the fault diagnosis model. The real-time monitoring data is processed using the fault-related feature extraction network to extract features related to known faults. At the same time, the importance of each feature in the real-time monitoring data is calculated through a specific algorithm or model to better understand the influencing factors of the real-time monitoring data.

[0099] Establish a fault classifier. The task of the classifier is to classify and diagnose the real-time monitoring data according to the extracted features. The fault diagnosis model uses the constructed fault knowledge graph as background knowledge and integrates it into the classification decision process. According to the features extracted from the real-time monitoring data, combined with the node information and association relationships in the fault knowledge graph, the classification decision is made. Based on the output of the fault classifier and the information in the fault knowledge graph, the fault diagnosis results of the real-time monitoring data are determined. The fault diagnosis results may include information on the fault type, fault level, fault cause, etc.

[0100] In this embodiment, the fault classifier uses the features extracted by the fault association feature extraction network and combines it with the existing fault knowledge graph to quickly and effectively make classification decisions on the real-time monitoring data, thereby improving the accuracy and efficiency of fault classification. The fault knowledge graph, as background knowledge, provides rich contextual information and knowledge support for the fault diagnosis model, which can help the model better understand the fault characteristics in the real-time monitoring data and make more reasonable classification decisions. The integrated design of the fault diagnosis model can effectively improve the fault diagnosis performance of the lightweight electric propulsion system, reduce the cost and time cost of fault diagnosis, and improve the reliability and stability of the system.

[0101] In an optional embodiment, the training of the fault diagnosis model includes:

[0102] Acquire annotated historical fault data, where the historical fault data includes fault correlation features corresponding to the fault scenario and corresponding fault labels;

[0103] Initialize model parameters of the fault diagnosis model;

[0104] Based on the fault classification loss and graph regularization term, a fault classification loss function is constructed;

[0105] Inputting the fault association features into the fault classifier, and calculating the total loss of the fault diagnosis model through forward propagation based on the fault classification loss function;

[0106] According to the total loss of the fault diagnosis model, the parameter gradients of the fault association feature extraction network and the fault classifier are calculated by back propagation, and the model parameters are updated based on the parameter gradients until a preset model training round is reached to complete the training of the fault diagnosis model.

[0107] Collect and organize annotated historical fault data from sources such as historical fault records and expert knowledge bases. The historical fault data includes two parts: fault association features corresponding to the fault scenario and the corresponding fault label. The fault association features are extracted from the fault knowledge graph through the fault association feature extraction network, which represent the association pattern and important information of the fault scenario. The fault label is the result of classifying and diagnosing the fault scenario, such as fault type, severity, etc. The collected historical fault data is divided into training set, validation set and test set for model training, tuning and evaluation.

[0108] The fault diagnosis model consists of two parts: a fault correlation feature extraction network and a fault classifier. The parameters of the fault correlation feature extraction network are initialized, including the convolution kernel weights, weight matrix, attention vector, combined weights of graph-level representation enhancement, and parameters of the attention head of the heterogeneous graph convolution layer. The parameters of the fault classifier are initialized, including the weight matrix and bias vector of the fully connected layer.

[0109] The fault classification loss function consists of two parts: fault classification loss and graph regularization term. The fault classification loss measures the difference between the fault label predicted by the model and the true label. The graph regularization term is used to constrain the smoothness of the model on the graph structure and encourages connected nodes to have similar feature representations. The fault classification loss and graph regularization term are weighted and summed to obtain the final fault classification loss function.

[0110] The fault-related features in the historical fault data are input into the fault diagnosis model. The fault-related features are first extracted through the fault-related feature extraction network to extract high-level feature representations. The extracted feature representations are then input into the fault classifier. After passing through the fully connected layer and the activation function, the prediction result of the fault label is obtained. The predicted fault label and the true label are substituted into the fault classification loss function to calculate the total loss of the model under the current parameters.

[0111] According to the total loss calculated by forward propagation, the gradient of the loss function to the model parameters is calculated through the back propagation algorithm, and the model parameters are updated according to the gradient information using the gradient descent optimization algorithm, preferably the stochastic gradient descent algorithm; in the process of parameter update, it is necessary to set appropriate hyperparameters such as learning rate and regularization coefficient to control the speed and stability of the update. After completing a parameter update, enter the next round of iteration and repeat the forward and backward propagation;

[0112] After each certain number of iterations, the performance of the model is evaluated on the validation set. Optionally, indicators such as fault classification accuracy and F1 value are evaluated. The hyperparameters of the model are adjusted according to the performance on the validation set. The training iteration can be terminated in advance if the performance indicator meets the preset threshold in advance. After the training is completed, the final performance of the model is evaluated on the test set to verify the actual diagnostic capability of the model.

[0113] In this embodiment, the constructed fault classification loss function can combine the fault classification loss and the graph regularization term, and calculate the total loss of the fault diagnosis model through forward propagation, so that the model can classify and diagnose faults more accurately; the parameter gradients of the fault association feature extraction network and the fault classifier are calculated through back propagation, and the model parameters are updated based on the parameter gradients to achieve iterative optimization of the model parameters, so that the model can gradually converge to the optimal solution, thereby improving the generalization ability and accuracy of the model; the back propagation algorithm is used to update the model parameters, which can effectively use historical fault data for training, improve the efficiency and speed of training, and ensure the accuracy and stability of the model.

[0114] In an optional embodiment, constructing a fault classification loss function based on the fault classification loss and the graph regularization term includes:

[0115] ;

[0116] in, L represents the total loss, k represents the sample ordinal number, c Indicates the fault category ordinal number, C Indicates the total number of fault categories, y k,c Indicates k The samples belong to c The true label of the category, p k,c The model predicts k The samples belong to c The probability of the class, λ 1 represents the weight coefficient of the graph regularization term, r Indicates the ordinal number of the relationship type, i Represents a node, jRepresents another node, H i, r j Indicates r Nodes under relationship type i With Node j The expression, X i, r j Indicates r Nodes under relationship type i With Node j Features, W i, r j Indicates r Nodes under relationship type i With Node j The elements of the characteristic transformation matrix, σ r Represents the weight coefficient of the loss term under each relationship type in the adjustment graph regularization term, λ 2 represents the weight coefficient of the L2 regularization term, || M || F 2 Represents the L2 regularization term of the model parameters.

[0117] According to the formula, the first term represents the cross entropy loss function, which is used to measure the difference between the fault category predicted by the model and the true label. By summing the predicted probabilities of all samples and all categories and taking their negative logarithms, the classification loss of the model can be obtained. The second term is the graph regularization term, which is used to consider the relationship between nodes in the fault knowledge graph. The second term contains the difference between the representation and the feature corresponding to each node, which is measured by the square error, where the relationship type r Representation Node i With Node j A relationship between H i, r j Is a node i With Node j The expression, X i, r j Is a node i With Node j Features, W i, r j is the element of the feature conversion matrix; the third term is the L2 regularization term, which is used to prevent the model parameters from overfitting the historical data. The model parameters are squared and summed and multiplied by the weight coefficient λ 2. To control the impact of the regularization term on the total loss, the purpose of the entire loss function is to minimize the total loss, while balancing the classification loss, graph regularization term, and L2 regularization term to ensure that the model can accurately classify faults and utilize the information in the fault knowledge graph during training;

[0118] In this embodiment, through the cross-entropy loss function, the model can simultaneously learn classification tasks for different fault categories, thereby improving the generalization ability and classification accuracy of the model; the graph regularization term considers the relationship between nodes in the fault knowledge graph, so that the model can utilize the association information between nodes to enhance the classification performance. Through the graph regularization term, the model captures the association patterns and mutual influences between faults. The L2 regularization term can effectively control the complexity of the model, avoid overfitting of historical data during training, and help improve the generalization ability of the model, so that it performs better on unseen data; comprehensive consideration of features and graph structure helps to improve the robustness and generalization ability of the model, so that it can better adapt to complex fault scenarios.

[0119] Figure 2 FIG. 1 is a schematic diagram of a fault diagnosis system for a lightweight electric propulsion system according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0120] A first unit is used to determine fault causality and component dependency based on historical data and structural data of the lightweight electric propulsion system, construct a fault tree and a directional graph, construct an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph, map nodes in the initial graph model to a low-dimensional dense vector space, determine node embedded representation, and generate a fault knowledge graph;

[0121] The second unit is used to search and obtain the corresponding neighbor embedded representation based on the node embedded representation in the fault knowledge graph, extract the node high-level feature representation by performing convolution operation on the node and the neighbor, determine the fault association relationship, and extract the fault importance representation by pooling operation, and build a fault association feature extraction network;

[0122] The third unit is used to input the real-time monitoring data of the lightweight electric propulsion system into a fault diagnosis model, extract fault association features and importance features corresponding to the real-time monitoring data, make classification decisions through a fault classifier in combination with the fault knowledge graph, and determine a fault diagnosis result, wherein the fault diagnosis model is based on the fault knowledge graph and is constructed by integrating the fault association feature extraction network and the fault classifier.

[0123] According to a third aspect of the embodiments of the present invention,

[0124] An electronic device is provided, comprising:

[0125] processor;

[0126] a memory for storing processor-executable instructions;

[0127] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0128] A fourth aspect of the embodiments of the present invention is:

[0129] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0130] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. Fault diagnosis method for lightweight electric propulsion system, It is characterized in that include: Based on the historical data and structural data of the lightweight electric propulsion system, determine the fault causality and component dependency, build a fault tree and a directional graph, build an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph, map the nodes in the initial graph model to a low-dimensional dense vector space, determine the node embedded representation, and generate a fault knowledge graph; Based on the node embedded representation in the fault knowledge graph, the corresponding neighbor embedded representation is searched and obtained, and the node high-level feature representation is extracted by performing convolution operation on the node and the neighbor, and the fault association relationship is determined. The fault importance representation is extracted through pooling operation, and a fault association feature extraction network is constructed; Inputting the real-time monitoring data of the lightweight electric propulsion system into a fault diagnosis model, extracting fault association features and importance features corresponding to the real-time monitoring data, and making classification decisions through a fault classifier in combination with the fault knowledge graph to determine a fault diagnosis result, wherein the fault diagnosis model is constructed based on the fault knowledge graph by integrating the fault association feature extraction network and the fault classifier; The training of the fault diagnosis model includes: Acquire annotated historical fault data, where the historical fault data includes fault correlation features corresponding to the fault scenario and corresponding fault labels; Initialize model parameters of the fault diagnosis model; Based on the fault classification loss and graph regularization term, a fault classification loss function is constructed; Inputting the fault association features into the fault classifier, and calculating the total loss of the fault diagnosis model through forward propagation based on the fault classification loss function; According to the total loss of the fault diagnosis model, the parameter gradients of the fault association feature extraction network and the fault classifier are calculated by back propagation, and the model parameters are updated based on the parameter gradients until a preset model training round is reached to complete the training of the fault diagnosis model; Based on the fault classification loss and graph regularization term, the fault classification loss function is constructed including: ; in, L represents the total loss, k represents the sample ordinal number, c Indicates the fault category ordinal number, C Indicates the total number of fault categories, y k,c Indicates k The samples belong to c The true label of the category, p k,c The model predicts k The samples belong to c The probability of the class, λ 1 represents the weight coefficient of the graph regularization term, r Indicates the ordinal number of the relationship type, i Represents a node, j Represents another node, H i, r j Indicates r Nodes under relationship type i With Node j The expression, X i, r j Indicates r Nodes under relationship type i With Node j Features, W i, r j Indicates r Nodes under relationship type i With Node j The elements of the characteristic transformation matrix, σ r Represents the weight coefficient of the loss term under each relationship type in the adjustment graph regularization term, λ 2 represents the weight coefficient of the L2 regularization term, M represents the model parameters of the fault diagnosis model, || M || F 2 Represents the L2 regularization term of the model parameters.

2. The method according to claim 1, It is characterized in that Based on the historical data and structural data of the lightweight electric propulsion system, determining the fault causal relationship and component dependency, constructing a fault tree and a directional graph, and constructing an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph includes: Perform statistical analysis on the historical data, identify the failure mode and frequency, trace the failure cause, determine the failure causal relationship, take the system-level failure as the top event, the component-level failure as the intermediate event, and the root cause as the basic event, generate the logical nodes of the fault tree, and determine the logical edges according to the failure causal relationship based on the logic gate and the causal strength factor, connect the logical nodes, and construct the fault tree; According to the structural data, the physical components are identified, and the nodes of the directional graph are determined; based on the interfaces of the physical components and the directions of material transfer and information interaction, the dependency relationships are constructed; in combination with the dependency strength factors, the directed edges of the directional graph are determined; based on the nodes of the directional graph and the directed edges of the directional graph, the directional graph is determined; The fault tree and the directional graph are integrated, and an initial graph model of the lightweight electric propulsion system is generated through node merging, edge merging and attribute addition. The nodes of the initial graph model include fault events and system components, and the edges of the initial graph model include fault causal relationships and component dependencies.

3. The method according to claim 2, It is characterized in that Mapping the nodes in the initial graph model to a low-dimensional dense vector space, determining the node embedded representation, and generating a fault knowledge graph includes: Based on the causal strength factor and the dependency strength factor, determine the edge weights of the initial graph model, calculate the transition probability matrix of the node, and based on the transition probability matrix, perform a random walk from the starting node to generate multiple random walk sequences; Based on the random walk sequence, each node is taken as a central node, and based on the central node, context nodes are determined according to a preset window size, and exploration sample pairs of the central node and the context node are constructed. A pre-constructed word vector model is applied, and the exploration sample pairs are taken as input, and the embedded representation vector of each node in the initial graph model is captured by maximizing the probability of correctly predicting the central node and the context node; The embedded representation vector is used as a new attribute of the node and integrated with the original attribute of the node to form a comprehensive feature representation of the node. Based on the embedded representation vector, the similarity between nodes is calculated, semantically related node pairs are extracted, and semantic association edges are added between the semantically related node pairs. The comprehensive feature representation and the semantic association edges of the initial graph model are integrated with the original edges of the initial graph model to construct a fault knowledge graph of the lightweight electric propulsion system.

4. The method according to claim 1, It is characterized in that Based on the node embedded representation in the fault knowledge graph, the corresponding neighbor embedded representation is searched and obtained, and the node high-level feature representation is extracted by performing convolution operations on the node and the neighbor. Determine the fault correlation relationship, and extract the fault importance representation through pooling operation. Construct the fault correlation feature extraction network including: Based on the embedded representation of nodes in the fault knowledge graph, a node feature matrix is ​​constructed, and according to the edge connection relationship of the fault knowledge graph, an adjacency matrix is ​​determined, and a plurality of sub-adjacency matrices are divided according to the type of edges; Inputting the node feature matrix and the sub-adjacency matrix into a pre-constructed multi-layer heterogeneous graph convolutional network, determining the corresponding convolution kernel according to the type of the node, and determining the attention weight according to the type of the edge, and extracting the heterogeneous neighborhood information and associated features of the node layer by layer based on the convolution kernel and the attention weight, and constructing a heterogeneous graph convolution feature matrix; The heterogeneous graph convolution feature matrix calculates the attention weights between nodes through a multi-head graph attention mechanism, aggregates node neighborhood information based on the attention weights, and extracts a graph attention feature matrix. The graph attention feature matrix calculates the self-attention weights of the nodes through a self-attention pooling mechanism, aggregates node features, determines the graph-level feature representation, and obtains fault-related features.

5. A fault diagnosis system for a lightweight electric propulsion system, used to implement the method described in any one of claims 1 to 4. It is characterized in that include: A first unit is used to determine fault causality and component dependency based on historical data and structural data of the lightweight electric propulsion system, construct a fault tree and a directional graph, construct an initial graph model of the lightweight electric propulsion system based on the fault tree and the directional graph, map nodes in the initial graph model to a low-dimensional dense vector space, determine node embedded representation, and generate a fault knowledge graph; The second unit is used to search and obtain the corresponding neighbor embedded representation based on the node embedded representation in the fault knowledge graph, extract the node high-level feature representation by performing convolution operation on the node and the neighbor, determine the fault association relationship, and extract the fault importance representation by pooling operation, and build a fault association feature extraction network; The third unit is used to input the real-time monitoring data of the lightweight electric propulsion system into a fault diagnosis model, extract fault association features and importance features corresponding to the real-time monitoring data, make classification decisions through a fault classifier in combination with the fault knowledge graph, and determine a fault diagnosis result, wherein the fault diagnosis model is based on the fault knowledge graph and is constructed by integrating the fault association feature extraction network and the fault classifier.

6. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.