Inplausible fault diagnosis model construction method and device, causal-driven fault diagnosis method and device and electronic equipment

By constructing a causal graph and utilizing a causal graph convolutional network, the problem of lack of interpretability of data-driven fault diagnosis models in the existing technology is solved, and high accuracy and reliability of fault diagnosis of complex electromechanical systems are achieved.

CN118780375APending Publication Date: 2024-10-15TSINGHUA UNIVERSITY

Patent Information

Application Number
CN202411001267.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Data-driven fault diagnosis models commonly used in the existing technology lack inherent interpretability, resulting in a lack of interpretability in their diagnosis processes and decision-making mechanisms, making it difficult to ensure the safety and reliability of complex electromechanical systems.

Method used

By constructing a causal graph, the initial causal relationship of the target system is determined, an interpretable fault diagnosis model is established, and a causal graph convolutional network is used for training to generate a fault diagnosis model with inherent interpretability to reveal the fault propagation and impact mechanism.

Benefits of technology

It improves the accuracy and reliability of fault diagnosis, enhances the interpretability of the model, makes the fault diagnosis process transparent, and can more effectively reflect the fault mechanism of complex electromechanical systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780375A_ABST
    Figure CN118780375A_ABST
Patent Text Reader

Abstract

The invention relates to an interpretable fault diagnosis model construction method and device, a causal-driven fault diagnosis method and device and electronic equipment, and the method comprises the steps: determining a target data set corresponding to a target system, which comprises monitoring data corresponding to a plurality of monitoring variables in the target system; according to the target data set, determining an initial causal graph corresponding to the target system, the initial causal graph being used for reflecting a causal relationship among the plurality of monitoring variables; and according to the initial causal diagram, determining an interpretable fault diagnosis model corresponding to the target system, and performing fault diagnosis on the target system when the target system has a fault, thereby determining a fault diagnosis result corresponding to the target system. Through the embodiment of the invention, the interpretable fault diagnosis model with internal interpretability can be constructed based on the initial causal diagram, the essential relation among the multiple monitoring variables corresponding to the target system is analyzed, the fault propagation and influence mechanism in the target system is revealed, and the interpretability, reliability and accuracy of the model are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of fault diagnosis, and in particular to an explainable fault diagnosis model construction, a causal-driven fault diagnosis method and device, and an electronic device. Background Art

[0002] Existing fault diagnosis methods can be divided into the following three categories: expert experience model, fault mechanism model and data-driven model. Among them, the data-driven model has the advantages of wide application range, high prediction accuracy and convenient modeling. However, the data-driven models commonly used in the prior art are usually "black box" structures without inherent interpretability. The diagnostic process and decision-making mechanism of the model lack interpretability, and its reliability and security are difficult to be effectively guaranteed. Summary of the invention

[0003] In view of this, the present disclosure proposes a technical solution for constructing an explainable fault diagnosis model, a causal-driven fault diagnosis method and device, and an electronic device.

[0004] According to one aspect of the present disclosure, a method for constructing an interpretable fault diagnosis model is provided, comprising: determining a target data set corresponding to a target system, wherein the target data set includes monitoring data corresponding to multiple monitoring variables in the target system; determining an initial causal graph corresponding to the target system based on the target data set, wherein the initial causal graph is used to reflect the causal relationship between the multiple monitoring variables; determining an interpretable fault diagnosis model corresponding to the target system based on the initial causal graph, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system, and determine a fault diagnosis result corresponding to the target system.

[0005] In one possible implementation, determining the target data set corresponding to the target system includes: monitoring the target system in real time to determine the original monitoring data and fault status labels corresponding to the target system; and performing data preprocessing on the original monitoring data and the fault status labels to determine the target data set.

[0006] In one possible implementation, determining the initial causal graph corresponding to the target system based on the target data set includes: determining a priori constraint set corresponding to the target system, wherein the priori constraint set includes prior knowledge of whether there is a causal relationship between any two monitoring variables among the multiple monitoring variables; and determining the initial causal graph based on the target data set and the priori constraint set.

[0007] In a possible implementation, the determining the initial causal graph based on the target data set and the prior constraint set includes: determining a partial ancestor graph corresponding to the target system based on the target data set and the prior constraint set; determining a causal strength matrix corresponding to the target system based on an average causal effect; and determining the initial causal graph based on the partial ancestor graph and the causal strength matrix.

[0008] In a possible implementation, determining the interpretable fault diagnosis model corresponding to the target system based on the initial causal graph includes: determining the range of the number of convolutional layers of the causal graph based on the number of nodes corresponding to the longest causal path in the initial causal graph; determining an interpretable causal graph convolutional network based on the range of the number of convolutional layers of the causal graph; and training the interpretable causal graph convolutional network based on the target data set to determine the interpretable fault diagnosis model.

[0009] According to another aspect of the present disclosure, a causal-driven fault diagnosis method is provided, comprising: determining target monitoring data corresponding to a target system; inputting the target monitoring data into an interpretable fault diagnosis model corresponding to the target system, and determining a fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by any one of the above methods.

[0010] According to another aspect of the present disclosure, there is provided an interpretable fault diagnosis model construction device, comprising: a data set determination module, used to determine a target data set corresponding to a target system, wherein the target data set includes monitoring data corresponding to a plurality of monitoring variables in the target system; a causal graph determination module, used to determine an initial causal graph corresponding to the target system based on the target data set, wherein the initial causal graph is used to reflect the causal relationship between the plurality of monitoring variables; and a model construction module, used to determine an interpretable fault diagnosis model corresponding to the target system based on the initial causal graph, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system, and determine a fault diagnosis result corresponding to the target system.

[0011] According to another aspect of the present disclosure, a causal-driven fault diagnosis device is provided, including: a data acquisition module, used to determine target monitoring data corresponding to a target system; a fault diagnosis module, used to input the target monitoring data into an interpretable fault diagnosis model corresponding to the target system, and determine a fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by any one of the methods described above.

[0012] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0013] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.

[0014] In the disclosed embodiment, by determining the target data set corresponding to the target system, wherein the target data set may include monitoring data corresponding to multiple monitoring variables in the target system; based on the target data set, the initial causal graph corresponding to the target system may be determined, wherein the initial causal graph may be used to reflect the causal relationship between multiple monitoring variables, explore the correlation between the monitoring variables of the target system and system failures, and reveal the fault propagation and impact mechanism within the target system, and then the interpretable fault diagnosis model corresponding to the target system may be determined based on the initial causal graph, so that the network structure, network parameters, and fault feature extraction process of the interpretable fault diagnosis model have high interpretability, reliability, and accuracy. Using the interpretable fault diagnosis model, when a fault occurs in the target system, the target system may be diagnosed for a fault, and the fault diagnosis result corresponding to the target system may be determined, thereby improving the accuracy of the fault diagnosis.

[0015] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0017] Figure 1 A flowchart showing a method for constructing an explainable fault diagnosis model according to an embodiment of the present disclosure is shown;

[0018] Figure 2 A schematic diagram showing an initial causal graph constructed based on an original PC algorithm according to an embodiment of the present disclosure;

[0019] Figure 3 A schematic diagram showing an initial causal graph constructed using a priori constraint set according to an embodiment of the present disclosure;

[0020] Figure 4 A schematic diagram of the structure of an interpretable causal graph convolutional network according to an embodiment of the present disclosure is shown;

[0021] Figure 5A flow chart showing a causal-driven fault diagnosis method according to an embodiment of the present disclosure;

[0022] Figure 6 A block diagram of a device for constructing an interpretable fault diagnosis model according to an embodiment of the present disclosure is shown;

[0023] Figure 7 A block diagram of a causal-driven fault diagnosis device according to an embodiment of the present disclosure is shown;

[0024] Figure 8 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0025] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0026] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0027] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0028] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0029] Electromechanical system can refer to the system that introduces microelectronic technology into mechanical main function, power function, control function and information processing function, and organically combines mechanical devices with electronic software. In the prior art, complex electromechanical systems can be widely used in many different technical fields. Their application environment is complex and changeable. Their components are highly coupled and interact frequently. At the same time, they are affected by multiple uncertain factors, so they have a high risk of failure.

[0030] Specifically, a small fault in a complex electromechanical system may propagate through cascades, causing system-level failure of the entire complex electromechanical system, resulting in significant economic losses and casualties. Therefore, in order to ensure the safety, availability and maintainability of complex electromechanical systems, it is necessary to perform state detection and fault diagnosis on complex electromechanical systems.

[0031] Fault diagnosis methods in the prior art usually include expert experience models, fault mechanism models, and data-driven models. Since the design and development of complex electromechanical systems usually follow the principle of fault-oriented safety, their functions and structures are relatively complex, the amount and reference value of expert experience are limited, and it is also very difficult to analyze the system failure mechanism from a physical or chemical perspective. Therefore, it is difficult to build a comprehensive and effective expert experience model and fault mechanism model for complex electromechanical systems. The data-driven model has the advantages of a wide range of applications, high prediction accuracy, and easy modeling. It is one of the hot spots and mainstream directions of complex electromechanical system fault diagnosis research in the prior art.

[0032] In the prior art, research on fault diagnosis of complex electromechanical systems usually focuses on improving the prediction accuracy of diagnostic models. By using machine learning models with strong fitting capabilities, such as neural network models, it is possible to effectively extract features related to system faults in high-dimensional monitoring data corresponding to complex electromechanical systems, and establish a mapping relationship between monitoring data and different fault labels, thereby achieving fault tracing.

[0033] In the prior art, the research on the interpretability of machine learning models usually includes two types: Ante-hoc Interpretability and Post-hoc Interpretability. Among them, Ante-hoc Interpretability can also be called Intrinsic Interpretability, which can indicate that the special structure of the model makes it interpretable. For example, linear models, decision tree models, etc. are all models with intrinsic interpretability. Such models can also be called "white box" models. Post-hoc interpretability refers to the interpretation of trained machine learning models through interpretation techniques or models, such as sensitivity analysis, cumulative local effect diagrams, etc.

[0034] Only fault diagnosis models with intrinsic interpretability, that is, transparent model structure and parameters, and understandable diagnostic process and decision-making mechanism, can reflect the real fault mechanism in complex electromechanical systems. However, in the prior art, the commonly used fault diagnosis interpretability research focuses on the post-interpretation of the trained diagnostic model and the correlation between the monitoring variables and system faults based on statistical correlation analysis. The fault explanation model constructed by this method is usually a "black box" structure without intrinsic interpretability. The diagnostic process and decision-making mechanism of the model lack interpretability, and its reliability and safety are difficult to be effectively guaranteed. It is also impossible to learn the causal reasoning process of humans when performing fault diagnosis. In addition, relying solely on statistical correlation, it is very likely to obtain a correlation that does not conform to the actual situation, further affecting the accuracy and reliability of fault diagnosis.

[0035] In view of this, the present disclosure provides a method for constructing an interpretable fault diagnosis model, which can construct an interpretable fault diagnosis model with inherent interpretability based on the causal graph corresponding to the target system, and can analyze the essential connection between multiple monitoring variables corresponding to the target system, reveal the fault propagation and influence mechanism within the target system, thereby improving the interpretability, reliability and accuracy of the model. The method for constructing an interpretable fault diagnosis model of the present disclosure is described in detail below.

[0036] Figure 1 A flow chart of a method for constructing an interpretable fault diagnosis model according to an embodiment of the present disclosure is shown. Figure 1 As shown, the method for constructing an explainable fault diagnosis model can be executed by an electronic device such as a terminal device or a server. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The method for constructing an explainable fault diagnosis model can be implemented by a processor calling a computer-readable instruction stored in a memory. Alternatively, the method for constructing an explainable fault diagnosis model can be executed by a server. Figure 1 As shown, the method for constructing the explainable fault diagnosis model includes:

[0037] In step S11, a target data set corresponding to the target system is determined, wherein the target data set includes monitoring data corresponding to a plurality of monitoring variables in the target system.

[0038] The target system here can represent any complex system, and its specific form can be flexibly set according to actual usage requirements. It can be an electromechanical system, or an electronic system, software system, or other complex systems. This disclosure does not make specific limitations on this.

[0039] In one example, the target system is a high-speed rail electromechanical control system, which may include pneumatic devices and electric devices, and may combine various devices and pipelines through microelectronic technology to achieve different control functions.

[0040] The target data set corresponding to the target system can be used to reflect the relationship between the value of each monitoring variable in the target system and the time, and can include the monitoring data corresponding to multiple monitoring variables in the target system within a preset time period, and can also include the fault status label corresponding to the target system, etc. The monitoring variables here can represent variables related to key components, key positions or key functions in the target system. The specific form of the monitoring variables can be flexibly set according to actual usage requirements, and the present disclosure does not make specific limitations on this.

[0041] In one example, monitoring variables may include system monitoring variables, system operating condition variables, and system operating modes. Specifically, system monitoring variables may represent variables determined by setting data collection devices (such as sensors, etc.) at key components or locations corresponding to the target system based on expert experience; system operating condition variables may represent system exogenous variables corresponding to the target system, which may include system operating conditions and environmental variables; system operating modes may represent the corresponding operation or setting modes when the target system implements different functions, etc., which may be determined based on the actual usage requirements and work experience of relevant staff.

[0042] The specific content and quantity of the monitoring variables can be flexibly set according to actual usage requirements and depend on the specific situation of the target system. This disclosure does not make specific limitations on this.

[0043] Take the high-speed rail electromechanical control system as an example. There are many factors that affect the operating status of the high-speed rail electromechanical control system, such as equipment aging, misoperation, and changes in the external environment. Therefore, based on expert experience, monitoring devices can be set up at key locations in the high-speed rail electromechanical control system and the environment in which the high-speed rail electromechanical control system is located to collect monitoring data corresponding to each monitoring variable.

[0044] Specifically, for the electric device of the high-speed rail electromechanical control system, the corresponding monitoring variables may include voltage, current and operating temperature, etc. By setting corresponding sensors at the key positions of the electric device, the monitoring data corresponding to the above monitoring variables can be collected. For the pneumatic device of the high-speed rail electromechanical control system, the corresponding monitoring variables may include vibration signals, operating temperature and power corresponding to different components, etc. By setting corresponding sensors at the key positions of the pneumatic device, the monitoring data corresponding to the above monitoring variables can be collected. In addition, the software control system of the high-speed rail electromechanical control system can also be used to obtain the monitoring data corresponding to the monitoring variables such as braking mode, traction level, train speed, position, running time, and external temperature, humidity, and weather. Among them, the vibration signal in the aforementioned monitoring variable can be collected through a 16-channel data recorder, and the sampling frequency can be set to 12kHz. Other monitoring variables can be recorded in real time.

[0045] The specific form of the target data set can be flexibly set according to actual usage requirements, and this disclosure does not make any specific limitations on this.

[0046] In one example, the target data set can be expressed as [X, Y], where X represents K monitoring variables V1, V2, ..., V in the target system. K Corresponding monitoring data, Y represents the fault status label corresponding to the target system.

[0047] The specific method of determining the target data set may be based on the implementation in the related art, and the present disclosure does not specifically limit this.

[0048] In a possible implementation, determining a target data set corresponding to a target system includes: monitoring the target system in real time to determine original monitoring data and fault status labels corresponding to the target system; and performing data preprocessing on the original monitoring data and fault status labels to determine the target data set.

[0049] Specifically, the target system may be monitored in real time for multiple monitoring variables within a preset time period to determine the original monitoring data corresponding to each monitoring variable and the fault status label corresponding to the target system.

[0050] Data preprocessing can be performed on the original monitoring data and fault status labels to obtain a standard and unified target data set. The specific method of data preprocessing can be flexibly set according to actual usage requirements, depending on the specific circumstances of the original monitoring data and fault status labels, for example, it can include data normalization, etc., which is not specifically limited in this disclosure.

[0051] Taking the target system as a high-speed rail electromechanical control system as an example, 43 monitoring variables related to the high-speed rail electromechanical control system fault can be determined in advance, and the original monitoring data corresponding to each monitoring variable within one year can be obtained through the above process.

[0052] Due to the strong mutual influence between the various components of the high-speed rail electromechanical control system, different system faults may show a certain correlation in the monitoring data corresponding to multiple monitoring variables; at the same time, the high-speed rail electromechanical control system usually has a high reliability, and the number of corresponding fault data is limited. Therefore, for the high-speed rail electromechanical control system, the corresponding fault state labels can only include fault and normal, without distinguishing the specific fault type, so as to avoid the problem of being unable to identify random faults and / or new types of faults that occur for the first time due to overfitting of special fault conditions when subsequently constructing an explainable fault diagnosis model, and to improve the fault detection rate.

[0053] For the 43 monitoring variables corresponding to the high-speed rail electromechanical system, as well as the original monitoring data and fault status labels of each monitoring variable, data preprocessing can be performed to obtain a standardized target data set.

[0054] Exemplarily, data preprocessing may include assigning values ​​to fault status labels, for example, the fault status may be recorded as Y=1; the normal status may be recorded as Y=0, etc.; deleting meaningless variables in the above 43 monitoring variables, for example, unique value variables may be deleted, etc.; digitizing categorical variables in the original monitoring data, for example, data conversion may be performed using unique hot encoding or other methods for indifferent categorical variables in the original monitoring data, and data conversion may be performed using label encoding from low to high for hierarchical categorical variables in the original monitoring data; extracting key performance indicators of monitoring variables of signal feature type, and converting signal features into one or more continuous numerical variables, for example, for vibration signals, performance indicators such as vibration frequency and amplitude may be extracted; missing value correction, for example, original monitoring data with missing values ​​may be deleted, or missing values ​​in the original monitoring data may be filled with statistical data such as mean.

[0055] Finally, the original monitoring data after the above processing can be z-mean normalized to eliminate the dimension differences between different original monitoring data and obtain monitoring data with unified format and dimension, so as to determine the target data set corresponding to the high-speed rail electromechanical control system. The target data set includes 38 monitoring variables V1, V2, …, V 38 , and the monitoring data corresponding to each monitoring variable; wherein the monitoring variables V1, V2, ..., V 30 The monitoring variable V is the system monitoring variable. 31 、V 32 ,……,V 37is the system operating condition variable, monitoring variable V 38 The system operation mode.

[0056] In step S12, an initial causal graph corresponding to the target system is determined according to the target data set, wherein the initial causal graph is used to reflect the causal relationship between multiple monitoring variables.

[0057] According to the target data set, the causal relationship between multiple monitoring variables can be mined to construct an initial causal graph corresponding to the target system. The specific method of determining the initial causal graph can refer to the implementation method in the relevant technology, and the present disclosure does not make specific limitations on this; the specific form of the initial causal graph can refer to the implementation method in the relevant technology, and the present disclosure does not make specific limitations on this.

[0058] The target system is a high-speed rail electromechanical control system, and its corresponding target data set includes 38 monitoring variables V1, V2, ..., V 38 , and the monitoring data corresponding to each variable as an example.

[0059] Figure 2 FIG. 1 is a schematic diagram showing an initial causal graph constructed based on the original PC algorithm according to an embodiment of the present disclosure. Figure 2 As shown in FIG. 1 , using the original PC algorithm (PC Algorithm), a matrix that can reflect the monitoring variables V1, V2, …, V 38 An initial causal diagram of the causal relationships between them.

[0060] The process of determining the initial causal graph corresponding to the target system according to the target data set will be described in detail later in conjunction with possible implementation methods of the present disclosure, and will not be elaborated here.

[0061] In step S13, an interpretable fault diagnosis model corresponding to the target system is determined based on the initial cause-effect diagram, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system, and determine a fault diagnosis result corresponding to the target system.

[0062] By using the initial causal graph, the model establishment and optimization process can be based on a basis, thereby constructing an interpretable fault diagnosis model with interpretable network structure, network parameters, network functions and fault feature extraction process. The specific structure of the interpretable fault diagnosis model can be flexibly set according to actual usage requirements, for example, it can include a graph convolution layer, a fully connected layer, etc., and this disclosure does not make specific limitations on this.

[0063] The process of determining an interpretable fault diagnosis model corresponding to the target system based on the initial causal graph will be described in detail later in conjunction with possible implementation methods of the present disclosure, and will not be elaborated here.

[0064] In the disclosed embodiment, by determining the target data set corresponding to the target system, wherein the target data set may include monitoring data corresponding to multiple monitoring variables in the target system; based on the target data set, the initial causal graph corresponding to the target system may be determined, wherein the initial causal graph may be used to reflect the causal relationship between multiple monitoring variables, to mine the correlation between the monitoring variables of the target system and system failures, to reveal the fault propagation and impact mechanism within the target system, and then based on the initial causal graph, the interpretable fault diagnosis model corresponding to the target system may be determined, so that the network structure, network parameters, and fault feature extraction process of the interpretable fault diagnosis model all have high intrinsic interpretability, reliability, and accuracy. Using the interpretable fault diagnosis model, when a fault occurs in the target system, the target system may be diagnosed for a fault, and the fault diagnosis result corresponding to the target system may be determined, thereby improving the accuracy of the fault diagnosis.

[0065] In one possible implementation, an initial causal graph corresponding to a target system is determined based on a target data set, including: determining a priori constraint set corresponding to the target system, wherein the priori constraint set includes prior knowledge of whether a causal relationship exists between any two monitoring variables among a plurality of monitoring variables; and determining an initial causal graph based on the target data set and the priori constraint set.

[0066] Based on multiple monitoring variables of the target system, a priori constraint set corresponding to the target system can be constructed to reflect whether there is a causal relationship between any two monitoring variables in the multiple monitoring variables. The specific form and content of the priori constraint set can be flexibly set according to actual usage requirements, and this disclosure does not make specific limitations on this.

[0067] In one example, the prior constraint set may include a path constraint and a direction constraint. The path constraint may reflect whether there is a direct causal relationship between any two monitoring variables. Specifically, for any two monitoring variables V i With V j , when the monitoring variable V i With V j When there is a direct causal relationship between them, it is recorded as a positive path constraint. i With V j When there is no direct causal relationship between them, it is recorded as a negative path constraint; according to all monitoring variables with positive path constraints, a positive path constraint set P is constructed. + , construct the negative path constraint set P according to all monitoring variables with negative path constraints - .

[0068] Directional constraints can reflect whether there is a direct causal relationship or an indirect causal relationship between any two monitoring variables. Specifically, for any two monitoring variables V i With Vj , when the monitoring variable V i Relative to the monitoring variable V j When there is a direct causal relationship or an indirect causal relationship, the monitoring variable V i It is called monitoring variable V j ancestor node, so that it can be determined that there is a monitoring variable V in the causal graph i To monitor the variable V j The causal path here can represent the combination of directed edges from the cause node to the result node, including direct causal paths and indirect causal paths. According to all the monitoring variables with directional constraints, the directional constraint set can be determined

[0069] The specific method of determining the prior constraint set corresponding to the target system can refer to the implementation methods in the relevant technology, for example, directly constructing it based on prior knowledge such as expert experience and physical knowledge, etc., and the present disclosure does not make specific limitations on this.

[0070] In one possible implementation, determining the prior constraint set corresponding to the target system may include: determining a sample data set of multiple sample systems, wherein the sample data set may include sample monitoring variables corresponding to the multiple sample systems, sample monitoring data corresponding to each sample monitoring variable, and a sample fault state label; and performing causal relationship analysis based on the sample data set to determine the prior constraint set.

[0071] The sample system here may represent a complex system that is the same as or similar to the target system. The specific form of the sample data set may be flexibly set according to actual usage requirements, and the present disclosure does not make any specific limitation on this.

[0072] In one example, a sample data set including N sample systems can be expressed as formula (1):

[0073] Where D represents the sample data set; V represents the matrix corresponding to the sample monitoring data, and V∈R N×K , K represents the number of sample monitoring variables; Y represents the matrix corresponding to the sample fault state label.

[0074] The matrix corresponding to the sample monitoring data can be expressed as formula (2):

[0075] V=(V1,V2,…,V K ) (2)

[0076] Among them, V i Represents the sample monitoring data corresponding to the i-th sample monitoring variable.

[0077] The specific content of the sample monitoring variables can be flexibly set according to actual usage requirements, and this disclosure does not make any specific limitations on this.

[0078] In one example, the sample monitoring variables can be arranged in the order of system monitoring variables, system operating condition variables, and system operating modes from left to right. On this basis, the matrix corresponding to the sample monitoring data can be expressed as formulas (3) to (6):

[0079] V=(η,C,M) (3)

[0080] η=(η1,η2,…,η H )=(V1,V2,…,V N ) (4)

[0081] C=(C1,C2,…,C Q )=(V H+1 , V H+2 , …, V H+Q ) (5)

[0082] M=V H+Q+1 =V K (6)

[0083] Among them, η represents the matrix corresponding to the system monitoring variables; η h represents the sample monitoring data corresponding to the hth system monitoring variable; H represents the number of system monitoring variables; C represents the matrix corresponding to the system operating condition variables; C q represents the sample monitoring data corresponding to the qth system operating condition variable; Q represents the number of system operating condition variables; M represents the sample monitoring data corresponding to the system operating mode.

[0084] By performing causal analysis on the sample data set, a priori constraint set can be determined. The specific method of performing causal analysis on the sample data set can be flexibly set according to actual usage requirements and depends on the specific situation of the sample monitoring variables, which is not specifically limited in this disclosure.

[0085] In one example, a priori constraint set may be constructed based on the classification of sample monitoring variable types.

[0086] Specifically, since the system operating condition variable represents the system exogenous variable corresponding to the sample system, it depends on the external environment corresponding to the sample system, but has nothing to do with the operation mode of the sample system itself. Therefore, it can be determined that there is no direct causal relationship between any system operating condition variable and the system operation mode, and thus it can be determined that the node group composed of any system operating condition variable and the system operation mode belongs to the negative path constraint set P included in the prior constraint set. - .

[0087] On the other hand, there is no direct causal relationship between any two system operating variables. Therefore, it is possible to determine the negative path constraint set P included in the node group prior constraint set composed of any system operating variable and another system operating variable. - .

[0088] For target systems with higher complexity, there may be a lack of relevant expert experience and physical knowledge, which may result in the inability to effectively construct a priori constraint set or reduce the reliability of the prior constraint set. Through the above process, based on the sample data set, the impact of the lack of expert experience and physical knowledge can be reduced, and the reliability and accuracy of the prior constraint set can be improved.

[0089] In one possible implementation, an initial causal graph is determined based on a target data set and a prior constraint set, including: determining a partial ancestor graph corresponding to a target system based on the target data set and a prior constraint set; determining a causal strength matrix corresponding to the target system based on an average causal effect; and determining an initial causal graph based on the partial ancestor graph and the causal strength matrix.

[0090] Specifically, the causal relationship between any two monitoring variables in the target data set can be analyzed using a priori constraint set to determine the partial ancestral graph (PAG) corresponding to the target system. PAG can be composed of nodes and directed edges, wherein any node can represent a monitoring variable in the target data set, and any directed edge can represent that there is a causal relationship between the monitoring variables corresponding to the two nodes of the directed edge. The specific method of determining PAG can refer to the implementation method in the relevant technology, and the present disclosure does not make specific limitations on this.

[0091] In one example, the a priori constraint set includes a path constraint and a direction constraint, and a Fast Causal Inference (FCI) algorithm can be used to construct a PAG based on the a priori constraint set.

[0092] First, the FCI algorithm can be used to limit the search space of the skeleton (i.e., undirected graph) corresponding to the target system based on the path constraints, delete all edges corresponding to the path constraints in the initial completely undirected graph corresponding to the target system, and determine the resulting skeleton based on the conditional independence test; by adding forward path constraints to the resulting skeleton, the skeleton corresponding to the target system based on the path constraints can be determined.

[0093] Then, the PAG can be constructed by orienting the nodes in the skeleton based on conditional independence (“Y” structure) and path-orienting the nodes in the skeleton based on directional constraints through the orientation rules in the FCI algorithm.

[0094] The specific form of PAG can be flexibly set according to actual usage requirements, and this disclosure does not make any specific limitations on this.

[0095] In one example, the target data set includes K monitoring variables, and the PAG corresponding to the target system can be expressed as a causal adjacency matrix A. The causal adjacency matrix A can be expressed as formula (7):

[0096]

[0097] Among them, the element a in the i-th row and i-th column ii Defined as 0, the element a in the i-th row and j-th column ij Can represent monitoring variable V i To monitor the variable V j The indicative value of the causal relationship between them (using different values ​​to represent different types of causal relationships).

[0098] Based on the Average Causal Effects (ACE), the causal strength (the magnitude of the causal influence) of the causal relationship between any two monitored variables can be quantitatively expressed, thereby determining the causal strength matrix corresponding to the target system. The specific form of the causal strength matrix can be flexibly set according to actual usage requirements, and this disclosure does not make specific limitations on this.

[0099] Take the above target data set including K monitoring variables, and the PAG corresponding to the target system represented by the causal adjacency matrix A as an example.

[0100] Based on ACE, the monitoring variable V i To monitor the variable V j The causal strength between them is expressed as formula (8):

[0101] a S ij =E[P(V j )|do(V i )] (8)

[0102] Among them, a S ij Indicates the monitoring variable V i To monitor the variable V j The causal strength between them.

[0103] The causal intensity matrix A corresponding to the target system S It can be expressed as formula (9):

[0104]

[0105] Among them, the element a in the i-th row and i-th column S ii Defined as 0.

[0106] The specific method of determining the causal strength matrix can be referred to the implementation method in the relevant technology, and the present disclosure does not make any specific limitation on this.

[0107] In one example, the causal reasoning toolkit DoWhy in Python can be used, and in the corresponding model.estimate_effect function, the backdoor criterion and the linear regression method (backdoor.linear_regression) can be selected to calculate the causal strength matrix.

[0108] Through the partial ancestry graph and the causal strength matrix, the initial causal graph corresponding to the target system can be constructed to accurately describe the causal relationship and causal strength between any two monitored variables in the target data set.

[0109] Through the above process, the amount of computation for mining the causal relationship between multiple monitoring variables in the target data set can be reduced, thereby efficiently constructing an initial causal graph that conforms to prior knowledge. Moreover, compared with the method of directly using statistical analysis methods in the prior art to construct a causal graph based on the target data set, the above method can improve the reliability and accuracy of the initial causal graph.

[0110] The target system is a high-speed rail electromechanical control system, and its corresponding target data set includes 38 monitoring variables V1, V2, ..., V 38 , and the monitoring data corresponding to each variable as an example.

[0111] For high-speed rail electromechanical control systems, the system operating condition variable V 31 、V 32 ,……,V 37 , and system operation mode V 38 are exogenous variables of the system, which are independent of each other and are not affected by other monitoring variables. Therefore, in the initial causal graph corresponding to the high-speed rail electromechanical control system, there should be no variable V pointing to the system operating condition. 31 、V 32 ,……,V 37 , and system operation mode V 38 . Figure 2 For example, Figure 2 As shown in the initial causal diagram determined based on the original PC algorithm, there are system monitoring variables V6, V7, V 14 and V 29 Points to the system operating condition variable V 34 There are directed edges from system monitoring variables V5 and V 11 and V 25 Point to system operation mode V 38There are directed edges from the system operating condition variable V 34 and V 37 Point to system operation mode V 38 Therefore, the initial causal graph determined based on the original PC algorithm does not conform to the prior knowledge, and its accuracy and reliability are low.

[0112] Figure 3 FIG. 1 is a schematic diagram showing an initial causal graph constructed using a priori constraint set according to an embodiment of the present disclosure. Figure 3 As shown in the initial causal graph constructed using the prior constraint set, there is no variable V pointing to the system operating condition. 31 、V 32 ,……,V 37 , and system operation mode V 38 The directed edges are consistent with prior knowledge and have high accuracy and reliability.

[0113] In one possible implementation, an interpretable fault diagnosis model corresponding to the target system is determined based on an initial causal graph, including: determining the range of the number of convolutional layers of the causal graph based on the number of nodes corresponding to the longest causal path in the initial causal graph; determining an interpretable causal graph convolutional network based on the range of the number of convolutional layers of the causal graph; and training the interpretable causal graph convolutional network based on a target data set to determine an interpretable fault diagnosis model.

[0114] In order to improve the interpretability of the interpretable fault diagnosis model, an interpretable causal graph convolutional network (CGCN) with inherent interpretability can be constructed based on the causal graph, network structure, network parameters and feature extraction. The specific structure of the interpretable causal graph convolutional network can be flexibly set according to actual usage requirements, and this disclosure does not make specific limitations on this.

[0115] Figure 4 FIG. 2 shows a schematic diagram of a structure of an interpretable causal graph convolutional network according to an embodiment of the present disclosure. Figure 4 As shown, the interpretable causal graph convolutional network includes multiple causal graph convolutional layers and a fully connected pooling layer.

[0116] The causal graph convolution layer can be used to extract fault features in the target monitoring data based on the initial causal graph. The specific form and data processing method of the causal graph convolution layer can refer to the implementation methods in the relevant technology, and this disclosure does not make specific limitations on this.

[0117] In one example, the data processing method of the causal graph convolution layer can be expressed as formula (10):

[0118]

[0119] in, I K represents the K-order identity matrix; express The degree matrix of i and F i+1 Respectively represent the input data and output results corresponding to the i-th causal graph convolution layer; W i ∈R K×K , represents the trainable feature weight matrix in the i-th causal graph convolution layer of G′; σ(*) represents the activation function, and its specific form can be flexibly set according to actual usage requirements. For example, the Relu function can be used as the activation function to indicate that the fault information in the monitoring data will not cause a sudden change in the fault feature state of the target system until it propagates to a certain extent.

[0120] Among them, the fully connected pooling layer can be used to fuse fault features to determine the fault diagnosis result corresponding to the target system. The specific form and data processing method of the fully connected pooling layer can refer to the implementation methods in the relevant technology, and this disclosure does not make specific limitations on this.

[0121] In one example, the data processing method of the fully connected pooling layer can be expressed as formula (11):

[0122]

[0123] in, represents the output result of the fully connected pooling layer, that is, the fault diagnosis result corresponding to the target system; σ′(*) represents the activation function of the fully connected pooling layer; W Ω ∈R 1×L represents the trainable feature weight matrix of the fully connected pooling layer; Ω2 represents the input data of the fully connected pooling layer.

[0124] In addition to the causal graph convolution layer and the fully connected pooling layer, the interpretable causal graph convolution network can also include other network structures, which can be flexibly set according to actual usage requirements, and the present disclosure does not make specific limitations on this.

[0125] The performance of the interpretable causal graph convolutional network is mainly affected by the number of causal graph convolutional layers. For example, when the number of causal graph convolutional layers is large, the input monitoring data will undergo multiple convolution operations, as well as node information transmission and fusion, which may lead to the output features of all or most nodes in the interpretable causal graph convolutional network being similar (i.e., over-smoothing occurs between nodes). Over-smoothing will cause the interpretable causal graph convolutional network to be unable to learn effective information, so that any input monitoring data will produce similar output results, causing the interpretable causal graph convolutional network to degenerate into an invariant mapping function. Therefore, before constructing the interpretable causal graph convolutional network, it is necessary to reasonably set the number of causal graph convolutional layers in the interpretable causal graph convolutional network to improve the training efficiency of the interpretable causal graph convolutional network and reduce the risk of over-smoothing.

[0126] Specifically, the number range of the causal graph convolutional layers can be determined according to the number of nodes corresponding to the longest causal path in the initial causal graph. The number range of the causal graph convolutional layers can be expressed as formula (12):

[0127]

[0128] in, represents the number of convolutional layers of the causal graph, represents the maximum number of convolutional layers in the causal graph, The minimum number of convolutional layers in the causal graph; N (path) Indicates the number of nodes corresponding to the longest causal path in the initial causal graph; Indicates floor operation.

[0129] After determining the range of the number of causal graph convolutional layers, you can set the number of causal graph convolutional layers according to actual usage requirements and combine them with the fully connected pooling layer to determine an interpretable causal graph convolutional network.

[0130] According to the target data set, the interpretable causal graph convolutional network can be trained to determine an interpretable fault diagnosis model. The specific method of training the interpretable causal graph convolutional network can refer to the implementation method in the relevant technology, and the present disclosure does not make any specific limitations on this.

[0131] In one example, the loss function corresponding to the interpretable causal graph convolutional network can be expressed as formula (13):

[0132]

[0133] Where N represents the total number of sample data in the training data; s represents the sth sample data of the training data; represents the fault diagnosis result output by the interpretable causal graph convolutional network; y s Indicates the fault status label corresponding to the s-th sample data.

[0134] The target data set is used as training data, and the monitoring data in the target data set can be input into the interpretable causal graph convolutional network to determine the corresponding fault diagnosis results; based on formula (13), the diagnostic loss of the interpretable causal graph convolutional network can be calculated according to the fault diagnosis results and the fault state labels in the target data set, and the interpretable causal graph convolutional network can be adjusted based on the diagnostic loss. After the training is completed, the trained interpretable causal graph convolutional network can be determined as the interpretable fault diagnosis model corresponding to the target system.

[0135] Furthermore, during the training process of the interpretable causal graph convolutional network, an optimization algorithm can be used to optimize the interpretable causal graph convolutional network to improve the accuracy and stability of the final interpretable fault diagnosis model. The specific form of the optimization algorithm can refer to the implementation method in the relevant technology, and this disclosure does not specifically limit this.

[0136] In one example, the adaptive moment estimation (Adam) algorithm can be used to optimize the interpretable causal graph convolutional network. The Adam algorithm is one of the commonly used optimization algorithms in graph neural network research. It is insensitive to the hyperparameters of the interpretable causal graph convolutional network and can enable the interpretable causal graph convolutional network to obtain more stable training results.

[0137] In one example, a preset learning rate (learning_rate) can be used to control the step size of the interpretable causal graph convolutional network when updating the network parameters in each iteration, thereby improving the stability of the interpretable causal graph convolutional network. The specific value of the learning rate can be flexibly set according to actual usage requirements, and this disclosure does not make specific limitations on this.

[0138] Through the above process, an interpretable fault diagnosis model with inherent interpretability in network structure, network parameters and functions can be obtained. Based on the monitoring data, the propagation direction and size of the fault information can be comprehensively considered, so that the interpretable fault diagnosis model disclosed in the present invention has higher accuracy and reliability than the machine learning model used for fault diagnosis in the prior art.

[0139] The target system is a high-speed rail electromechanical control system, and its corresponding target data set includes 38 monitoring variables V1, V2, ..., V 38 , and the monitoring data corresponding to each variable as an example.

[0140] Based on the 10-fold cross validation method, 10 training data sets and 10 test data sets can be determined according to the target data set corresponding to the high-speed rail electromechanical control system. These data sets can be used to train the interpretable fault diagnosis model of the embodiment of the present disclosure and the preset comparison model respectively.

[0141] Among them, the specific form of the preset comparison model can be flexibly set according to actual usage requirements. For example, it can include a support vector machine (SVM), an artificial neural network (ANN), a convolutional neural network (CNN), and a graph convolutional network (GCN) based on a related graph, etc. The present disclosure does not make specific limitations on this.

[0142] By using the preset evaluation index, the fault diagnosis effects of the explainable fault diagnosis model of the embodiment of the present disclosure and the preset comparison model can be compared. The specific form of the preset evaluation index can be flexibly set according to actual usage requirements, and the present disclosure does not make specific restrictions on this.

[0143] For example, considering that in practical applications we only focus on the identification effect of the explainable fault diagnosis model on system faults, we can set the evaluation indicators to include the accuracy and recall of the fault diagnosis results. Specifically, the precision can be expressed as formula (14):

[0144]

[0145] Among them, TP represents the number of true positives in the fault diagnosis results output by the explainable fault diagnosis model or the comparison model; TN represents the number of true negatives in the fault diagnosis results output by the explainable fault diagnosis model or the comparison model; FP represents the number of false positives in the fault diagnosis results output by the explainable fault diagnosis model or the comparison model; FN represents the number of false negatives in the fault diagnosis results output by the explainable fault diagnosis model or the comparison model.

[0146] Recall can be expressed as formula (15):

[0147]

[0148] Referring to Table 1, taking SVM, ANN, CNN and GCN as comparison models, the mean precision and mean recall of each comparison model and the interpretable fault diagnosis model of the embodiment of the present disclosure are determined respectively to compare the difference in training effect between the comparison model and the interpretable fault diagnosis model of the embodiment of the present disclosure.

[0149] Table 1

[0150]

[0151]

[0152] Referring to Table 2, taking SVM, ANN, CNN and GCN as comparison models, the mean precision and mean recall of each comparison model and the interpretable fault diagnosis model of the embodiment of the present disclosure are determined respectively to compare the difference in generalization effect between the comparison model and the interpretable fault diagnosis model of the embodiment of the present disclosure.

[0153] Table 2

[0154] Model Precision mean Mean recall SVM 0.5166 0.3691 ANN 0.6492 0.3883 CNN 0.6262 0.4512 GCN 0.8095 0.7630 Explainable Fault Diagnosis Model 0.8333 0.8774

[0155] According to Table 1 and Table 2, it can be determined that for a complex system such as a high-speed rail electromechanical control system with unbalanced fault categories, strong coupling of monitoring variables, and noise interference, the fault diagnosis effect of the explainable fault diagnosis model and GCN of the embodiment of the present disclosure is better than that of models such as SVM, ANN, and CNN that do not consider the data structure; and the explainable fault diagnosis model of the embodiment of the present disclosure, because it takes into account the true causal relationship and causal strength, can more effectively extract fault features in the monitoring data, and thus has a better fault diagnosis effect than the general GCN.

[0156] In the disclosed embodiment, by determining the target data set corresponding to the target system, wherein the target data set may include monitoring data corresponding to multiple monitoring variables in the target system; according to the target data set and the prior constraint set based on prior knowledge, the initial causal graph corresponding to the target system can be determined, wherein the initial causal graph can be used to reflect the causal relationship between multiple monitoring variables, explore the correlation between the monitoring variables of the target system and the system failure, reveal the fault propagation and influence mechanism in the target system, and make the initial causal graph have higher reliability, reduce the influence of the lack of expert experience and physical knowledge on the target system; and then according to the initial causal graph, the interpretable fault diagnosis model corresponding to the target system can be determined, so that the network structure, network parameters and fault feature extraction process of the interpretable fault diagnosis model have high intrinsic interpretability, reliability and accuracy. Using the interpretable fault diagnosis model, when a fault occurs in the target system, the target system can be diagnosed, and the fault diagnosis result corresponding to the target system can be determined, thereby improving the accuracy of fault diagnosis.

[0157] The present disclosure also provides a causal-driven fault diagnosis method, which can perform fault diagnosis on a target system based on an interpretable fault diagnosis model trained by the above method.

[0158] Figure 5 FIG. 1 is a flow chart showing a causal driven fault diagnosis method according to an embodiment of the present disclosure. Figure 5 As shown, the causal-driven fault diagnosis method can be executed by an electronic device such as a terminal device or a server. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The causal-driven fault diagnosis method can be implemented by a processor calling a computer-readable instruction stored in a memory. Alternatively, the causal-driven fault diagnosis method can be executed by a server. As shown in FIG. Figure 5 As shown, the causal-driven fault diagnosis method includes:

[0159] In step S51, target monitoring data corresponding to the target system is determined.

[0160] The target system here can represent any complex system, and its specific form can be flexibly set according to actual usage requirements. It can be an electromechanical system, or an electronic system, software system, or other complex systems. This disclosure does not make specific limitations on this.

[0161] The target monitoring data corresponding to the target system may include real-time monitoring data corresponding to multiple monitoring variables in the target system within a preset time period. The monitoring variables here may represent variables related to key components, key positions or key functions in the target system. The specific form of the monitoring variables can be flexibly set according to actual usage requirements, and the present disclosure does not make specific limitations on this.

[0162] The specific method of determining the target monitoring data can be flexibly set according to actual usage requirements and depends on the specific situation of the target system. This disclosure does not make specific limitations on this.

[0163] In step S52, the target monitoring data is input into an interpretable fault diagnosis model corresponding to the target system to determine the fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by any one of the above methods.

[0164] By inputting the target monitoring data into the interpretable fault diagnosis model corresponding to the target system, we can perform fault analysis on the target system, explore the correlation between the monitoring variables of the target system and the system faults, reveal the fault propagation and impact mechanism within the target system, and determine the fault diagnosis results corresponding to the target system.

[0165] In the embodiments of the present disclosure, real-time fault monitoring of the target system can be achieved by determining the target monitoring data corresponding to the target system; the target monitoring data is input into the interpretable fault diagnosis model corresponding to the target system, and the interpretable fault diagnosis model with high intrinsic interpretability, reliability and accuracy can be used to obtain fault diagnosis results with high accuracy and reliability.

[0166] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not repeat them. It can be understood by those skilled in the art that in the above-mentioned method of the specific implementation method, the specific execution order of each step should be determined according to its function and possible internal logic.

[0167] In addition, the present disclosure also provides a runoff forecast model training device, a runoff forecast device, an electronic device and a computer-readable storage medium, and a program, all of which can be used to implement any runoff forecast model training method and / or runoff forecast method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to the corresponding records in the method part and will not be repeated here.

[0168] Figure 6 FIG. 1 is a block diagram of a device for constructing an interpretable fault diagnosis model according to an embodiment of the present disclosure. Figure 6 As shown, the device 600 includes:

[0169] A data set determination module 601 is used to determine a target data set corresponding to a target system, wherein the target data set includes monitoring data corresponding to a plurality of monitoring variables in the target system;

[0170] A causal graph determination module 602 is used to determine an initial causal graph corresponding to a target system according to a target data set, wherein the initial causal graph is used to reflect the causal relationship between a plurality of monitoring variables;

[0171] The model building module 603 is used to determine the interpretable fault diagnosis model corresponding to the target system based on the initial cause-effect diagram, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system and determine the fault diagnosis result corresponding to the target system.

[0172] In a possible implementation, the data set determination module 601 is used to: perform real-time monitoring on the target system to determine the original monitoring data and fault status labels corresponding to the target system; perform data preprocessing on the original monitoring data and fault status labels to determine the target data set.

[0173] In one possible implementation, the causal graph determination module 602 is used to: determine a priori constraint set corresponding to the target system, wherein the prior constraint set includes prior knowledge of whether there is a causal relationship between any two monitoring variables among multiple monitoring variables; and determine an initial causal graph based on the target data set and the prior constraint set.

[0174] In one possible implementation, the causal graph determination module 602 is also used to: determine the partial ancestor graph corresponding to the target system based on the target data set and the prior constraint set; determine the causal strength matrix corresponding to the target system based on the average causal effect; and determine the initial causal graph based on the partial ancestor graph and the causal strength matrix.

[0175] In one possible implementation, the model building module 603 is used to: determine the range of the number of convolutional layers of the causal graph based on the number of nodes corresponding to the longest causal path in the initial causal graph; determine an interpretable causal graph convolutional network based on the range of the number of convolutional layers of the causal graph; and train the interpretable causal graph convolutional network based on the target data set to determine an interpretable fault diagnosis model.

[0176] Figure 7 FIG. 1 is a block diagram of a causal driven fault diagnosis device according to an embodiment of the present disclosure. Figure 7 As shown, the apparatus 700 includes:

[0177] The data acquisition module 701 is used to determine the target monitoring data corresponding to the target system;

[0178] The fault diagnosis module 702 is used to input the target monitoring data into an interpretable fault diagnosis model corresponding to the target system to determine the fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by any of the above methods.

[0179] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0180] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0181] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0182] Figure 8 1900 is a block diagram of an electronic device according to an embodiment of the present disclosure. For example, the apparatus 1900 may be provided as a server or a terminal device. Figure 8 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0183] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.

[0184] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.

[0185] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0186] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0187] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0188] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0189] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0190] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0191] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0192] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0193] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for constructing an explainable fault diagnosis model, characterized in that: include: Determine a target data set corresponding to the target system, wherein the target data set includes monitoring data corresponding to a plurality of monitoring variables in the target system; Determining an initial causal graph corresponding to the target system according to the target data set, wherein the initial causal graph is used to reflect the causal relationship between the multiple monitoring variables; According to the initial cause-effect diagram, an interpretable fault diagnosis model corresponding to the target system is determined, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system, and determine a fault diagnosis result corresponding to the target system.

2. The method according to claim 1, characterized in that The determining of the target data set corresponding to the target system includes: Performing real-time monitoring on the target system to determine the original monitoring data and fault status label corresponding to the target system; The original monitoring data and the fault status label are preprocessed to determine the target data set.

3. The method according to claim 1 or 2, characterized in that: Determining an initial cause-effect graph corresponding to the target system according to the target data set includes: Determining a priori constraint set corresponding to the target system, wherein the priori constraint set includes prior knowledge of whether there is a causal relationship between any two monitoring variables among the multiple monitoring variables; The initial causal graph is determined according to the target data set and the prior constraint set.

4. The method according to claim 3, characterized in that Determining the initial causal graph according to the target data set and the prior constraint set includes: Determining a partial ancestry graph corresponding to the target system according to the target data set and the prior constraint set; Based on the average causal effect, determining a causal strength matrix corresponding to the target system; The initial causal graph is determined according to the partial ancestry graph and the causal strength matrix.

5. The method according to claim 1 or 2, characterized in that: Determining the interpretable fault diagnosis model corresponding to the target system according to the initial causal graph includes: Determine the range of the number of convolutional layers of the causal graph according to the number of nodes corresponding to the longest causal path in the initial causal graph; Determining an interpretable causal graph convolutional network according to the range of the number of causal graph convolutional layers; The interpretable causal graph convolutional network is trained according to the target data set to determine the interpretable fault diagnosis model.

6. A causal driven fault diagnosis method, characterized in that: include: Determine the target monitoring data corresponding to the target system; The target monitoring data is input into an interpretable fault diagnosis model corresponding to the target system to determine a fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by the method described in any one of claims 1 to 5 above.

7. A device for constructing an explainable fault diagnosis model, characterized in that: include: A data set determination module, used to determine a target data set corresponding to a target system, wherein the target data set includes monitoring data corresponding to a plurality of monitoring variables in the target system; A causal graph determination module, used to determine an initial causal graph corresponding to the target system according to the target data set, wherein the initial causal graph is used to reflect the causal relationship between the multiple monitoring variables; A model building module is used to determine an interpretable fault diagnosis model corresponding to the target system based on the initial cause-effect diagram, wherein the interpretable fault diagnosis model is used to perform fault diagnosis on the target system when a fault occurs in the target system, and determine a fault diagnosis result corresponding to the target system.

8. A causal-driven fault diagnosis device, characterized in that: include: A data acquisition module is used to determine the target monitoring data corresponding to the target system; A fault diagnosis module is used to input the target monitoring data into an interpretable fault diagnosis model corresponding to the target system to determine the fault diagnosis result corresponding to the target system, wherein the interpretable fault diagnosis model is determined by the method described in any one of claims 1 to 5 above.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 6 when executing the instructions stored in the memory.

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

Citation Information

Patent Citations

  • Complex electromechanical system fault detection method based on multi-source causal diagram path convolution

    CN114969618A

  • Method, system and equipment for extracting key information for legislation opinions

    CN118069789A

Cited By

  • Graph neural network refined strabismus diagnosis method, system and equipment based on causal feature selection and medium

    CN119831969A

  • Real-time traceability graph compression method and device capable of reserving causal association

    CN119853979A

  • Interpretable soft measurement method, device, equipment, medium and product

    CN121327357A

  • Chemical accident cause analysis method based on text mining and causal inference

    CN121880545A

  • Test failure root cause positioning method and device and vehicle

    CN122816977A