A method and system for avionics composite fault diagnosis based on causal knowledge
The avionics equipment fault diagnosis method that combines causal knowledge graphs and large language models solves the problem of difficulty in causal tracing in existing technologies, and achieves rapid and accurate fault root cause location and effective decision-making, thereby improving the operational stability and safety of avionics equipment.
Patent Information
- Application Number
- CN202611288081.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-27
AI Technical Summary
Existing avionics fault diagnosis methods are difficult to quickly trace the cause of failure, resulting in difficulties in locating the root cause of the fault, a high false alarm rate, and impacts aircraft flight safety and maintenance efficiency.
A composite fault diagnosis method for avionics equipment based on causal knowledge is adopted. By using a pre-trained causal reasoning model and causal knowledge graph, the root cause of the fault is located and effective decision-making measures are generated through causal chain similarity screening. The fault propagation judgment is combined with a large language model.
It improves the accuracy and efficiency of avionics fault diagnosis, enhances the stability and safety of equipment operation, and provides a more comprehensive form of fault diagnosis.
Smart Images

Figure CN123179205A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of fault diagnosis technology, specifically relating to a method and system for diagnosing composite faults in avionics equipment based on causal knowledge. Background Technology
[0002] Avionics, as a crucial component of civil aircraft, directly impacts the reliability and safety of aircraft operation. With the increasing complexity of avionics structures and functions, their highly integrated and modular design leads to deep coupling between various components. When one avionics component malfunctions or fails, it can easily cascade and propagate, triggering complex faults. Furthermore, with the continuous emergence of domestically produced civil aircraft and new low-altitude aircraft, the related manuals, documents, and maintenance records are growing exponentially. Traditional manual manual review methods are complex, inefficient, and ill-suited for handling the nonlinear coupling and dynamic evolution of complex avionics faults.
[0003] Therefore, although avionics equipment continuously accumulates a wealth of domain knowledge and related operational data during operation, providing a solid data foundation for system health management and root cause analysis, manually extracting data suitable for fault diagnosis from this multimodal fault data is extremely laborious. This leads to difficulties in root cause location and a high false alarm rate, seriously threatening aircraft flight safety and the efficiency of avionics equipment maintenance and support. Therefore, there is an urgent need to develop a composite fault diagnosis method with rapid causal attribution capabilities. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method and system for diagnosing composite faults in avionics equipment based on causal knowledge, thereby solving the problem that existing fault diagnosis methods are difficult to quickly trace the cause of faults.
[0005] To solve the above-mentioned technical problems, the present invention is implemented using the following technical solution:
[0006] In a first aspect, the present invention provides a method for diagnosing complex faults in avionics equipment based on causal knowledge, comprising: inputting a fault description of the avionics equipment into a pre-trained causal reasoning model to generate a causal chain and effective decision-making measures for preventing the fault; the pre-trained causal reasoning model is a large language model trained in advance based on a pre-established causal knowledge graph; the causal chain is a directed correlation sequence representing the stepwise propagation of the fault from the root cause through intermediate links to the fault consequence; the intermediate links refer to the fault cause and / or fault phenomenon;
[0007] Using similarity to the causal chain as the screening criterion, the complete path with the highest similarity to the causal chain is selected from the pre-established causal knowledge graph; the pre-established causal knowledge graph is a knowledge graph established in advance based on causal knowledge extracted from multimodal fault data of avionics equipment; the complete path in the causal knowledge graph is the path from the root cause of the fault to the consequence of the fault.
[0008] The root cause of the fault is located based on the complete path with the highest similarity, and the root cause and effective decision-making measures are used as the results of the composite fault diagnosis of avionics equipment.
[0009] The aforementioned causal knowledge-based composite fault diagnosis method for avionics equipment further includes: inputting the fault description of the avionics equipment and the intervention measures for the avionics equipment fault into a pre-trained causal reasoning model, and determining whether the fault propagation is blocked after the intervention measures are implemented.
[0010] The aforementioned method for diagnosing composite faults in avionics equipment based on causal knowledge, wherein the training process of the causal reasoning model includes:
[0011] Collect and preprocess multimodal fault data of avionics equipment;
[0012] Causal knowledge is extracted from preprocessed multimodal fault data using a large language model, and a causal knowledge graph is constructed.
[0013] Based on causal knowledge graphs and preprocessed multimodal fault data of avionics equipment, fact group datasets and intervention group datasets are generated respectively.
[0014] Based on the fact set dataset and the intervention set dataset, a large language model is trained to enable the large language model to have causal reasoning, effective decision-making output, and intervention reasoning capabilities, resulting in a causal reasoning model. The causal reasoning and effective decision-making output capabilities of the causal reasoning model are used to output causal chains and effective decision-making measures, while the intervention reasoning capability of the causal reasoning model is used to determine whether the propagation of the fault is blocked after the implementation of intervention measures.
[0015] The aforementioned causal knowledge-based composite fault diagnosis method for avionics equipment preprocesses the collected multimodal fault data of avionics equipment, including:
[0016] Standardize the terminology for the collected multimodal fault data of avionics equipment, including: standardizing different expressions of the same term in the collected multimodal fault data of avionics equipment; multimodal fault data of avionics equipment
[0017] The noise reduction process for the multimodal fault data of avionics equipment after the standardization of terminology includes: supplementing missing information in the multimodal fault data of avionics equipment, correcting erroneous information in the multimodal fault data of avionics equipment, and objectively rewriting and correcting subjective or contradictory descriptions in the multimodal fault data of avionics equipment.
[0018] Fault text clustering is performed on the multimodal fault data of avionics equipment after standardized terminology processing and noise reduction. This includes: parsing the multimodal fault data of avionics equipment after standardized terminology processing and noise reduction into JSON, and using the K-means algorithm to cluster the multimodal fault data of avionics equipment after standardized terminology processing based on fault elements. The fault elements include fault phenomena, fault causes, fault conditions, faulty avionics equipment, fault consequences, and decision-making measures. The fault phenomena refer to the observable abnormal state presented when the equipment fails. The fault causes refer to the reasons that cause the avionics equipment to malfunction or fail. The faulty avionics equipment refers to the avionics equipment that has failed or is affected by the fault. The fault consequences refer to the impact of the avionics equipment failure on the aircraft's functions, operating status, or flight operations. The decision-making measures refer to the handling or maintenance measures taken in response to the fault phenomena, fault causes, faulty avionics equipment, and fault consequences.
[0019] The aforementioned method for diagnosing composite faults in avionics equipment based on causal knowledge, wherein the causal knowledge extraction from preprocessed multimodal fault data using a large language model to construct a causal knowledge graph includes:
[0020] Based on the preprocessed multimodal fault data, an avionics equipment fault indication mechanism is established, and the indication mechanism adopts a tree structure for progressive analysis.
[0021] Through the avionics equipment fault indication mechanism, the large language model is guided to extract causal entities and relationships of avionics equipment faults from the preprocessed multimodal fault data, and generate a composite fault causal semantic tree; the causal entities of avionics equipment faults are fault elements, and the causal relationships of avionics equipment faults are directed edges that represent the propagation relationship between fault elements.
[0022] Based on the fault elements and directed edges in the composite fault causal semantic tree, a visualized causal knowledge graph is generated, which includes multiple complete paths from the root cause of the fault to the consequence of the fault.
[0023] The aforementioned causal knowledge-based composite fault diagnosis method for avionics equipment, which derives a causal inference model based on a causal knowledge graph and preprocessed multimodal fault data of avionics equipment, includes the following steps:
[0024] A fact set dataset is generated based on a causal knowledge graph; each sample in the fact set dataset includes the failure consequence and the corresponding root cause of the failure consequence.
[0025] The large language model is trained based on the fact set dataset to obtain a large language model with causal reasoning ability. The large language model with causal reasoning ability means that when the fault description of the avionics equipment is input into the large language model, the large language model can extract and output the causal chain from the fault root cause to the fault consequence from the input fault description of the avionics equipment.
[0026] A large language model is used to extract the root causes of failures and the corresponding effective decision measures from the preprocessed multimodal failure data of avionics equipment. The large language model with causal reasoning ability is trained to obtain a large language model with causal reasoning ability and effective decision output ability. A large language model with causal reasoning ability and effective decision output ability means that when the failure description of avionics equipment is input into the large language model, it can output the causal chain and effective decision measures.
[0027] Effective decision-making measures are used as intervention measures, and the effect of intervention measures on blocking fault propagation is used as the implementation result. The intervention measures and their corresponding implementation effects are combined to form the sample of the intervention group dataset. Samples from multiple intervention group datasets are combined to form the intervention group dataset.
[0028] Based on the intervention group dataset, a large language model with causal reasoning ability and effective decision output ability is trained to obtain a causal reasoning model. The causal reasoning model has causal reasoning ability, effective decision output ability, and intervention reasoning ability. Having intervention reasoning ability means that, based on the input avionics equipment fault description and intervention measures for the avionics equipment fault, it can output a judgment result on whether the fault propagation is blocked after the intervention measures are implemented.
[0029] The aforementioned method for diagnosing composite faults in avionics equipment based on causal knowledge, wherein training a large language model based on a fact set dataset and an intervention set dataset includes: training the large language model through low-rank adaptation.
[0030] The aforementioned method for diagnosing composite faults in avionics equipment based on causal knowledge, the training process of the causal reasoning model further includes:
[0031] The causal knowledge graph is updated regularly using newly recorded multimodal fault data of avionics equipment, and the causal reasoning model is trained.
[0032] The aforementioned method for diagnosing complex faults in avionics equipment based on causal knowledge, wherein the step of selecting the complete path with the highest similarity to the causal chain from a pre-established causal knowledge graph using similarity as a screening criterion includes:
[0033] The causal chain is decomposed into multiple causal sub-chains in the order of propagation from the root cause of the failure to the consequence of the failure; each causal sub-chain includes a directed edge and the failure elements at both ends of the directed edge, and the failure elements at both ends of the same directed edge are a pair of failure element entities.
[0034] From the pre-established causal knowledge graph, search for the fault element entity pairs in each causal sub-chain, find the complete path containing the fault element entity pairs, remove duplicate complete paths, and obtain multiple candidate paths.
[0035] All candidate paths are compared and sorted with the causal chain, and the complete path with the highest similarity to the causal chain is selected.
[0036] In a second aspect, the present invention provides a composite fault diagnosis system for avionics equipment based on causal knowledge, for performing the method described in the first aspect, including: a model reasoning module, a graph screening module, and a result output module;
[0037] The model reasoning module is used to input the fault description of the avionics equipment into a pre-trained causal reasoning model to generate a causal chain and effective decision-making measures to prevent the fault. The pre-trained causal reasoning model is a large language model trained in advance based on a pre-established causal knowledge graph. The causal chain is a directed association sequence that represents the step-by-step propagation of the fault from the root cause to the fault consequence through intermediate links. The intermediate links refer to the fault cause and / or fault phenomenon.
[0038] The graph filtering module is used to filter out the complete path with the highest similarity to the causal chain from the pre-established causal knowledge graph based on the similarity to the causal chain. The pre-established causal knowledge graph is a knowledge graph pre-established based on causal knowledge extracted from multimodal fault data of avionics equipment. The complete path in the causal knowledge graph is the path from the root cause of the fault to the consequence of the fault.
[0039] The result output module is used to locate the root cause of the fault based on the complete path with the highest similarity, and to use the root cause of the fault and effective decision measures as the result of the composite fault diagnosis of avionics equipment.
[0040] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:
[0041] The present invention provides a composite fault diagnosis method for avionics equipment based on causal knowledge. This method combines a pre-trained causal reasoning model with a pre-established causal knowledge graph. By utilizing the causal reasoning capability of the causal reasoning model and the causal relationships displayed by the causal knowledge graph, the fault description of avionics equipment is traced causally to obtain the root cause of the fault and effective decision-making measures. This provides a reference for staff to solve the fault, solves the problem that existing fault diagnosis methods are difficult to quickly trace causal sources, improves the accuracy of avionics equipment fault diagnosis, and thus improves the operational stability and safety of avionics equipment.
[0042] The present invention provides a causal knowledge-based composite fault diagnosis method for avionics equipment. It designs a prompting mechanism to guide a large language model, extracts causal entities and relationships of avionics equipment faults from multimodal fault data, and constructs a causal knowledge graph. It combines the causal reasoning model and the causal knowledge graph to quickly locate the root cause of the fault, reveal the propagation path of the fault, and generate effective decision-making measures.
[0043] The causal knowledge-based avionics equipment composite fault diagnosis method of the present invention can also determine whether the fault propagation is blocked after the implementation of intervention measures based on the fault description of the avionics equipment and the intervention measures for the avionics equipment faults input to the pre-trained causal reasoning model. This provides a more comprehensive diagnostic form for avionics equipment composite faults, provides a reference for staff to solve faults, and thus improves the operational stability and safety of avionics equipment. Attached Figure Description
[0044] Figure 1 This is a schematic flowchart of a composite fault diagnosis method for avionics equipment based on causal knowledge, according to Embodiment 1 of the present invention.
[0045] Figure 2 This is a schematic diagram of the training process of the causal reasoning model in Embodiment 1 of the present invention. Detailed Implementation
[0046] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations thereof. In the absence of conflict, the embodiments and technical features in the embodiments can be combined with each other.
[0047] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0048] Example 1:
[0049] This embodiment introduces a method for diagnosing complex faults in avionics equipment based on causal knowledge, such as... Figure 1 As shown, it includes:
[0050] S1: Input the fault description of the avionics equipment into the pre-trained causal reasoning model to generate causal chains and effective decision-making measures to block the propagation of faults; the pre-trained causal reasoning model is: a large language model trained in advance based on a pre-established causal knowledge graph; the causal chain is a directed association sequence representing the propagation of faults from the root cause through intermediate links to the consequences of the faults; the intermediate links refer to the causes and / or phenomena of the faults.
[0051] S2: Using similarity to the causal chain as the screening criterion, select the complete path with the highest similarity to the causal chain from the pre-established causal knowledge graph; the pre-established causal knowledge graph is: a knowledge graph established in advance based on causal knowledge extracted from multimodal fault data of avionics equipment; the complete path in the causal knowledge graph is the path from the root cause of the fault to the consequence of the fault.
[0052] S3: Locate the root cause of the fault based on the complete path with the highest similarity, and use the root cause and effective decision-making measures as the result of the composite fault diagnosis of avionics equipment.
[0053] The avionics equipment composite fault diagnosis method based on causal knowledge in this embodiment also includes:
[0054] The fault descriptions of avionics equipment and intervention measures for avionics equipment faults are input into a pre-trained causal reasoning model to determine whether the fault propagation is blocked after the intervention measures are implemented.
[0055] In step S1, the training process of the causal inference model is as follows: Figure 2 As shown, it includes:
[0056] X1: Collect and preprocess multimodal fault data of avionics equipment;
[0057] X2: Extract causal knowledge from preprocessed multimodal fault data using a large language model and construct a causal knowledge graph;
[0058] X3: Based on causal knowledge graphs and preprocessed multimodal fault data of avionics equipment, datasets for fact groups and intervention groups are generated respectively;
[0059] Based on the fact set dataset and the intervention set dataset, a large language model is trained to enable the large language model to have causal reasoning, effective decision-making output, and intervention reasoning capabilities, resulting in a causal reasoning model. The causal reasoning and effective decision-making output capabilities of the causal reasoning model are used to output causal chains and effective decision-making measures, while the intervention reasoning capability of the causal reasoning model is used to determine whether the propagation of the fault is blocked after the implementation of intervention measures.
[0060] Step X1 includes:
[0061] X11: Collects multimodal fault data of avionics equipment;
[0062] The avionics equipment multimodal fault data includes: structured data and unstructured data;
[0063] The structured data refers to avionics equipment failure data with clear field definitions and logical structures. The structured data includes: Failure Mode and Effects Analysis (FMEA) tables and maintenance record databases. The structured data can be directly used to extract causal entities and relationships of avionics equipment failures.
[0064] The unstructured data refers to avionics equipment fault data that is scattered, semantically complex, and difficult to use directly, such as maintenance reports, operation logs, and fault descriptions. Natural language processing methods are needed to extract entities and relationships.
[0065] X12: Preprocess the collected multimodal fault data of avionics equipment, including: performing terminology standardization, noise reduction and fault text clustering on the collected multimodal fault data of avionics equipment in sequence;
[0066] X121: Standardize terminology for the collected multimodal fault data of avionics equipment.
[0067] To standardize the different expressions of the same term in the collected multimodal fault data of avionics equipment, the redundancy of causal knowledge graph and causal reasoning model construction is reduced, thereby improving the efficiency and accuracy of fault diagnosis. For example, the Air Data Inertial Reference Unit (ADIRU), Inertial Reference Unit (IRU), and Inertial Reference Unit in different fault data are unified as IRU.
[0068] X122: Noise reduction processing for multimodal fault data of avionics equipment after standardization of terminology:
[0069] Noise reduction processing is performed on multimodal fault data of avionics equipment that cannot be clustered due to missing information, incorrect descriptions, subjective descriptions, and contradictory descriptions.
[0070] For multimodal fault data of avionics equipment with missing information, the cosine similarity algorithm is used to check whether there is similar information in the multimodal fault data of avionics equipment that has completed fault text clustering. If the semantic similarity exceeds 95%, the multimodal fault data of avionics equipment that has completed fault text clustering is used to semantically supplement the missing information; otherwise, supplementary information for the missing information is generated based on the context of the multimodal fault data of avionics equipment with missing information.
[0071] For avionics multimodal fault data with erroneous descriptions, check if there is similar information in the avionics multimodal fault data that has completed fault text clustering. If the semantic similarity exceeds 95%, the avionics multimodal fault data that has completed fault text clustering will be used to replace the erroneous descriptions; otherwise, correction information for the erroneous descriptions will be generated based on the context of the avionics multimodal fault data with erroneous descriptions.
[0072] For multimodal fault data of avionics equipment containing subjective or contradictory descriptions, detect subjective vocabulary or semantic contradictions. Objectively rewrite such statements and perform manual correction.
[0073] X123: Fault text clustering of multimodal fault data of avionics equipment after terminology standardization and noise reduction processing:
[0074] The multimodal fault data of avionics equipment after terminology standardization and noise reduction is parsed into JSON, and the K-means algorithm is used to cluster the multimodal fault data of avionics equipment after terminology standardization based on fault elements;
[0075] The fault elements include fault phenomena, fault causes, fault conditions, faulty avionics equipment, fault consequences, and decision-making measures; in this embodiment, the fault elements are the causal entities of avionics equipment faults.
[0076] The aforementioned fault phenomena refer to the observable abnormal states that occur when avionics equipment malfunctions, including alarms, central maintenance computer codes, and display anomalies.
[0077] The cause of the malfunction refers to the reason that causes abnormality or failure of avionics equipment, including interface abnormality, sensor inaccuracy, data interruption, software abnormality, etc.
[0078] The fault condition refers to the operational phase of the aircraft when an avionics equipment failure occurs, including takeoff, climb, cruise, approach, and landing.
[0079] The faulty avionics equipment refers to avionics equipment that has malfunctioned or is affected by a malfunction, including avionics systems and physical equipment, such as: communication systems, navigation systems, flight control systems, display systems, airborne computers, data buses, sensors, and inertial reference units (IRUs), etc.
[0080] The consequences of the failure refer to the impact of avionics equipment failure on aircraft functions, operating status, or flight operations, including functional degradation, system failure, return to the origin, diversion, flight delay, etc.
[0081] The decision-making measures refer to the handling or maintenance measures taken in response to the fault phenomenon, fault cause, faulty avionics equipment, and fault consequences, including reset, software reinstallation, circuit inspection, IRU replacement, functional testing, etc.
[0082] Step X2 includes:
[0083] X21: Based on the preprocessed multimodal fault data, an avionics equipment fault indication mechanism is established, and the indication mechanism adopts a tree structure for progressive analysis;
[0084] X22: Through the avionics equipment failure indication mechanism, the large language model is guided to extract causal entities and relationships of avionics equipment failures based on the preprocessed multimodal failure data, and generate a composite failure causal semantic tree; the causal entities of avionics equipment failures are failure elements, and the causal relationships of avionics equipment failures are directed edges that represent the propagation relationship between failure elements.
[0085] X23: Based on the fault elements and directed edges in the composite fault causal semantic tree, a visualized causal knowledge graph is generated. This causal knowledge graph includes multiple complete paths from the root cause of the fault to its consequence. The root cause and the consequence of the fault are not the same to avoid the existence of infinite loop paths with the same beginning and end in the causal knowledge graph.
[0086] In step X21, the avionics equipment fault indication mechanism provided by the present invention is shown in Table 1:
[0087] Table 1. Fault indication mechanism for avionics equipment
[0088]
[0089] In step X22, the directed edges in the composite fault causal semantic tree include ordinary directed edges and composite fault hyperedges:
[0090] Ordinary directed edges represent a direct causal relationship between two fault elements, which refers to a single causal relationship, such as: radio data anomaly → automatic landing system obtains incorrect altitude;
[0091] A composite fault superedge indicates that multiple fault causes act simultaneously, leading to a single fault consequence, or that a single fault cause simultaneously leads to multiple fault consequences; it refers to a composite causal relationship. Composite fault superedges include: joint causal edges indicating that multiple fault causes act simultaneously, leading to a single fault consequence, and simultaneous causal edges indicating that a single fault cause simultaneously leads to multiple fault consequences. Specific examples of joint causal edges include: {strong electromagnetic interference with angle-of-attack sensor signal, logical vulnerability in flight control computer monitoring software} → flight control computer misjudges aircraft stall; specific examples of simultaneous causal edges include: core data bus switch failure → {abnormal data on primary flight display, automatic flight system disconnection}.
[0092] The fault elements in the fault cause-effect semantic tree include fault phenomena, fault causes, fault conditions, fault systems or components, fault consequences, and decision-making measures.
[0093] Step X23 includes: storing all fault elements and directed edges of the composite fault causal semantic tree into the Neo4j graph database to generate a visualized causal knowledge graph.
[0094] Step X3, as follows Figure 2 As shown, it includes:
[0095] X31: Generate fact set datasets based on causal knowledge graphs; each sample in the fact set dataset includes the failure consequence and the corresponding root cause of the failure consequence.
[0096] X32: Based on the fact set dataset, the large language model is trained through Low-Rank Adaptation (LoRA) to obtain a large language model with causal reasoning ability; the large language model with causal reasoning ability means that the fault description of avionics equipment is input into the large language model, and the large language model extracts and outputs the causal chain from the fault root cause to the fault consequence from the input fault description of avionics equipment.
[0097] X33: A large language model is used to extract the root causes of failures and the corresponding effective decision measures from the preprocessed multimodal failure data of avionics equipment. The large language model with causal reasoning ability is trained to obtain a large language model with causal reasoning ability and effective decision output ability. A large language model with causal reasoning ability and effective decision output ability means that when the failure description of avionics equipment is input into the large language model, it can output the causal chain and effective decision measures.
[0098] X34: Effective decision-making measures are used as intervention measures, and the effect of blocking the propagation of faults is used as the implementation result. The intervention measures and the corresponding implementation effects are combined to form the sample of the intervention group dataset. The samples of multiple intervention group datasets are combined to form the intervention group dataset.
[0099] X34: Based on the intervention group dataset, a causal reasoning model is obtained by training a large language model with causal reasoning ability and effective decision-making output ability through LoRA. The causal reasoning model has causal reasoning ability, effective decision-making output ability, and intervention reasoning ability. Having intervention reasoning ability means that based on the input avionics equipment fault description and the intervention measures for the avionics equipment fault, it can output the judgment result of whether the fault propagation is blocked after the intervention measures are implemented.
[0100] The causal reasoning model training method in this embodiment constructs a large number of fact set datasets of "root cause of failure - consequence of failure" and intervention set datasets of "intervention measures - implementation results," and then uses these samples to fine-tune the large language model through LoRA. In this way, the large language model learns to follow causal logic when answering questions.
[0101] In step S1, the causal chain includes at least one intermediate link. The causal chain is a directed correlation sequence that represents the propagation of a fault from the root cause of the fault to the consequence of the fault through the intermediate link. The intermediate link refers to the fault cause and / or fault phenomenon.
[0102] Step S1 involves inputting the fault description of the avionics equipment into a pre-trained causal reasoning model to generate causal chains and effective decision-making measures to prevent fault propagation or occurrence, including:
[0103] A causal reasoning prompting mechanism is pre-designed to generate causal chains and effective decision-making measures to prevent failures; the causal reasoning prompting mechanism is used to guide the causal reasoning model to extract failure elements and directed edges from the failure description of avionics equipment, and generate causal chains and effective decision-making measures.
[0104] The fault descriptions of avionics equipment are input into a pre-trained causal reasoning model according to the causal reasoning prompting mechanism to generate causal chains and effective decision-making measures to prevent faults.
[0105] Step S2 includes:
[0106] The causal chain is decomposed into multiple causal sub-chains in sequence from the root cause of the failure to the consequence of the failure; each causal sub-chain includes a directed edge and the failure elements at both ends of the directed edge, and the failure elements at both ends of the same directed edge are a pair of failure element entities.
[0107] From the pre-established causal knowledge graph, search for the fault element entity pairs in each causal sub-chain, find the complete path containing the fault element entity pairs, remove duplicate complete paths, and obtain multiple candidate paths.
[0108] All candidate paths are compared and sorted with the causal chain, and the complete path with the highest similarity to the causal chain is selected.
[0109] In one specific embodiment, the causal reasoning model generates the causal chain as follows: }, To extract from the fault description of avionics equipment One fault element, among which... The root cause of the failure As a consequence of the malfunction, and They are not identical; using a vector embedding model, such as Qwen3-emdedding-8B, the semantic feature vectors of each fault element in the causal chain are calculated, and fault elements with semantic similarity to each fault element in the causal chain are matched in a pre-established causal knowledge graph through vector retrieval. The fault elements in the causal chain extracted from the fault description may not have the same names as the fault elements in the causal knowledge graph, so matching through semantic feature vectors is necessary. The causal chain is decomposed into multiple causal sub-chains according to the propagation order from the root cause of the fault to the consequence of the fault. The fault element entity pairs of each causal subchain are represented as follows: , The value range is from 1 to n. In the pre-established causal knowledge graph, the fault element entity pairs of each causal sub-chain are retrieved, and the complete paths with the same fault element entity pairs are filtered out. Retrieving the fault element entity pairs of each causal sub-chain means: in the causal knowledge graph, according to the fault elements of each fault element in the causal sub-chain that are semantically similar in the causal knowledge graph.
[0110] Among the selected complete paths, duplicate complete paths are removed to obtain the Top-k candidate paths;
[0111] The top-k candidate paths are compared with the causal chain, and the similarity between the candidate paths and the causal chain is compared. The candidate path with the highest similarity is taken as the complete path with the highest similarity to the causal chain.
[0112] This embodiment of the method for diagnosing complex faults in avionics equipment based on causal knowledge further includes:
[0113] Regularly updating the causal knowledge graph and training the causal inference model using newly recorded multimodal fault data of avionics equipment ensures the accuracy of fault diagnosis results. This includes periodically intervening in the training of the causal inference model, specifically:
[0114] After maintenance personnel implement intervention measures, they record whether the fault is blocked; they statistically analyze the fault phenomena and corresponding effective decision-making measures to obtain a new sample of the intervention group dataset; and they periodically use the new sample of the intervention group dataset to train the causal inference model.
[0115] Example 2:
[0116] Based on the same inventive concept as Embodiment 1, this embodiment introduces a composite fault diagnosis system for avionics equipment based on causal knowledge, including: a model reasoning module, a spectrum screening module, and a result output module;
[0117] The model reasoning module is used to input the fault description of the avionics equipment into a pre-trained causal reasoning model to generate a causal chain and effective decision-making measures to block the propagation of the fault. The pre-trained causal reasoning model is a large language model trained in advance based on a pre-established causal knowledge graph. The causal chain is a directed association sequence that represents the step-by-step propagation of the fault from the root cause to the consequence. The intermediate links refer to the fault cause and / or fault phenomenon.
[0118] The graph filtering module is used to filter out the complete path with the highest similarity to the causal chain from the pre-established causal knowledge graph based on the similarity to the causal chain. The pre-established causal knowledge graph is a knowledge graph pre-established based on causal knowledge extracted from multimodal fault data of avionics equipment. The complete path in the causal knowledge graph is the path from the root cause of the fault to the consequence of the fault.
[0119] The result output module is used to locate the root cause of the fault based on the complete path with the highest similarity, and to use the root cause of the fault and effective decision measures as the result of the composite fault diagnosis of avionics equipment.
[0120] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0121] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0122] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0123] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0124] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for diagnosing complex faults in avionics equipment based on causal knowledge, characterized in that, include: The fault descriptions of avionics equipment are input into a pre-trained causal reasoning model to generate causal chains and effective decision-making measures to block the propagation of faults. The pre-trained causal reasoning model is a large language model trained in advance based on a pre-established causal knowledge graph; the causal chain is a directed association sequence representing the propagation of a fault from its root cause through intermediate links to its consequences; the intermediate links refer to the fault cause and / or fault phenomenon. Using similarity to the causal chain as the screening criterion, the complete path with the highest similarity to the causal chain is selected from the pre-established causal knowledge graph; the pre-established causal knowledge graph is a knowledge graph pre-established based on causal knowledge extracted from multimodal fault data of avionics equipment. The complete path in a causal knowledge graph is the path from the root cause of the failure to the consequence of the failure. The root cause of the fault is located based on the complete path with the highest similarity, and the root cause and effective decision-making measures are used as the results of the composite fault diagnosis of avionics equipment.
2. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 1, characterized in that, Also includes: The fault descriptions of avionics equipment and intervention measures for avionics equipment faults are input into a pre-trained causal reasoning model to determine whether the fault propagation is blocked after the intervention measures are implemented.
3. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 2, characterized in that, The training process of the causal reasoning model includes: Collect and preprocess multimodal fault data of avionics equipment; Causal knowledge is extracted from preprocessed multimodal fault data using a large language model, and a causal knowledge graph is constructed. Based on causal knowledge graphs and preprocessed multimodal fault data of avionics equipment, fact group datasets and intervention group datasets are generated respectively. Based on the fact set dataset and the intervention set dataset, a large language model is trained to enable the large language model to have causal reasoning, effective decision-making output, and intervention reasoning capabilities, resulting in a causal reasoning model. The causal reasoning and effective decision-making output capabilities of the causal reasoning model are used to output causal chains and effective decision-making measures, while the intervention reasoning capability of the causal reasoning model is used to determine whether the propagation of the fault is blocked after the implementation of intervention measures.
4. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 3, characterized in that, Preprocessing of the collected multimodal fault data of avionics equipment includes: Standardize the terminology for the collected multimodal fault data of avionics equipment, including: standardizing different expressions of the same term in the collected multimodal fault data of avionics equipment; multimodal fault data of avionics equipment The noise reduction process for the multimodal fault data of avionics equipment after the standardization of terminology includes: supplementing missing information in the multimodal fault data of avionics equipment, correcting erroneous information in the multimodal fault data of avionics equipment, and objectively rewriting and correcting subjective or contradictory descriptions in the multimodal fault data of avionics equipment. Fault text clustering is performed on the multimodal fault data of avionics equipment after standardized terminology processing and noise reduction. This includes: parsing the multimodal fault data of avionics equipment after standardized terminology processing and noise reduction into JSON, and using the K-means algorithm to cluster the multimodal fault data of avionics equipment after standardized terminology processing based on fault elements. The fault elements include fault phenomena, fault causes, fault conditions, faulty avionics equipment, fault consequences, and decision-making measures. The fault phenomena refer to the observable abnormal state presented when the equipment fails. The fault causes refer to the reasons that cause the avionics equipment to malfunction or fail. The faulty avionics equipment refers to the avionics equipment that has failed or is affected by the fault. The fault consequences refer to the impact of the avionics equipment failure on the aircraft's functions, operating status, or flight operations. The decision-making measures refer to the handling or maintenance measures taken in response to the fault phenomena, fault causes, faulty avionics equipment, and fault consequences.
5. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 4, characterized in that, The process of extracting causal knowledge from preprocessed multimodal fault data using a large language model and constructing a causal knowledge graph includes: Based on the preprocessed multimodal fault data, an avionics equipment fault indication mechanism is established, and the indication mechanism adopts a tree structure for progressive analysis. Through the avionics equipment fault indication mechanism, the large language model is guided to extract causal entities and relationships of avionics equipment faults from the preprocessed multimodal fault data, and generate a composite fault causal semantic tree; the causal entities of avionics equipment faults are fault elements, and the causal relationships of avionics equipment faults are directed edges that represent the propagation relationship between fault elements. Based on the fault elements and directed edges in the composite fault causal semantic tree, a visualized causal knowledge graph is generated, which includes multiple complete paths from the root cause of the fault to the consequence of the fault.
6. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 3, characterized in that, The process of obtaining a causal inference model based on a causal knowledge graph and preprocessed multimodal fault data of avionics equipment includes: A fact set dataset is generated based on a causal knowledge graph; each sample in the fact set dataset includes the failure consequence and the corresponding root cause of the failure consequence. The large language model is trained based on the fact set dataset to obtain a large language model with causal reasoning ability. A large language model with causal reasoning ability means that when the fault description of avionics equipment is input into the large language model, the large language model can extract and output the causal chain from the fault root cause to the fault consequence from the input fault description of avionics equipment. A large language model is used to extract the root causes of failures and the corresponding effective decision measures from the preprocessed multimodal failure data of avionics equipment. The large language model with causal reasoning ability is trained to obtain a large language model with causal reasoning ability and effective decision output ability. A large language model with causal reasoning ability and effective decision output ability means that when the failure description of avionics equipment is input into the large language model, it can output the causal chain and effective decision measures. Effective decision-making measures are used as intervention measures, and the effect of intervention measures on blocking fault propagation is used as the implementation result. The intervention measures and their corresponding implementation effects are combined to form the sample of the intervention group dataset. Samples from multiple intervention group datasets are combined to form the intervention group dataset. Based on the intervention group dataset, a large language model with causal reasoning ability and effective decision-making output ability is trained to obtain a causal reasoning model. The causal reasoning model has causal reasoning ability, effective decision-making output ability, and intervention reasoning ability. Having intervention reasoning ability means that, based on the input avionics equipment fault description and intervention measures for avionics equipment faults, it can output a judgment result on whether the fault propagation is blocked after the intervention measures are implemented.
7. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 3, characterized in that, The training of the large language model based on the fact group dataset and the intervention group dataset includes: Large language models are trained through low-rank adaptation.
8. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 3, characterized in that, The training process of the causal reasoning model also includes: The causal knowledge graph is updated regularly using newly recorded multimodal fault data of avionics equipment, and the causal reasoning model is trained.
9. The method for diagnosing composite faults in avionics equipment based on causal knowledge according to claim 1, characterized in that, The process of selecting the complete path with the highest similarity to the causal chain from a pre-established causal knowledge graph, based on similarity as the screening criterion, includes: The causal chain is decomposed into multiple causal sub-chains in the order of propagation from the root cause of the failure to the consequence of the failure; each causal sub-chain includes a directed edge and the failure elements at both ends of the directed edge, and the failure elements at both ends of the same directed edge are a pair of failure element entities. From the pre-established causal knowledge graph, search for the fault element entity pairs in each causal sub-chain, find the complete path containing the fault element entity pairs, remove duplicate complete paths, and obtain multiple candidate paths. All candidate paths are compared and sorted with the causal chain, and the complete path with the highest similarity to the causal chain is selected.
10. A composite fault diagnosis system for avionics equipment based on causal knowledge, characterized in that, The method for performing the method of claim 1 includes: a model inference module, a graph filtering module, and a result output module; The model reasoning module is used to input the fault description of the avionics equipment into a pre-trained causal reasoning model to generate a causal chain and effective decision-making measures to block the propagation of the fault. The pre-trained causal reasoning model is a large language model trained in advance based on a pre-established causal knowledge graph. The causal chain is a directed association sequence that represents the step-by-step propagation of the fault from the root cause to the consequence. The intermediate links refer to the fault cause and / or fault phenomenon. The graph filtering module is used to filter out the complete path with the highest similarity to the causal chain from the pre-established causal knowledge graph based on the similarity to the causal chain. The pre-established causal knowledge graph is a knowledge graph pre-established based on causal knowledge extracted from multimodal fault data of avionics equipment. The complete path in the causal knowledge graph is the path from the root cause of the fault to the consequence of the fault. The result output module is used to locate the root cause of the fault based on the complete path with the highest similarity, and to use the root cause of the fault and effective decision measures as the result of the composite fault diagnosis of avionics equipment.
