A precise solidification nursing unit fault diagnosis method and device
By employing LSTM and attention mechanisms for component-level fault classification in precision coagulation care units, and combining this with knowledge graphs for causal chain tracing, the problems of insufficient diagnostic accuracy and interpretability in existing technologies are solved, achieving efficient and interpretable fault diagnosis.
Patent Information
- Application Number
- CN202610989469.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-03
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to simultaneously meet the requirements of diagnostic accuracy, interpretability, and real-time performance in precision coagulation care units. Deep learning models are "black boxes" and lack interpretability, while knowledge graph reasoning relies on manual rules and has low computational efficiency, failing to effectively integrate data-driven approaches with knowledge graphs.
We adopt a two-stage architecture that integrates data-driven and knowledge graph approaches. We use LSTM and attention mechanisms to classify component-level faults and combine knowledge graphs to trace causal chains, thus constructing a complete causal path from the failure of the underlying component to the observational evidence.
It achieves diagnostic results with clear physical orientation and traceable evidence chain, improves the accuracy of fault component labels and abnormal sensor types, solves the problems of strong coupling of multiple parameters and easy submersion of fault symptoms, and is suitable for online real-time diagnosis.
Smart Images

Figure CN123179054A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fault diagnosis technology, and in particular to a method and apparatus for fault diagnosis of a precision coagulation care unit. Background Technology
[0002] The precision coagulation nursing unit is characterized by strong coupling of multiple parameters, non-stationary states, and heterogeneous data from multiple sources during the multi-stage processes of cooling medium control, nursing tool lifting and stirring, static coagulation, and positive pressure nursing. Its operational reliability directly affects product quality and production safety, and is of great significance for the rapid and accurate diagnosis of abnormal operating conditions and faults.
[0003] Currently, the field of industrial fault diagnosis mainly adopts two technical approaches: One type is data-driven deep learning methods, such as using LSTM networks to extract the evolution patterns of multi-sensor time-series data and combining them with attention mechanisms to enhance key features, ultimately outputting faulty component labels through a classification layer. This type of method can handle high-dimensional, nonlinear, and strongly coupled data, but it has significant limitations in practical applications. Deep learning models are essentially "black boxes," making it difficult to explain the physical causes of faults and providing a causal chain from abnormal phenomena to underlying component failures, resulting in insufficient reliability and traceability of diagnostic results.
[0004] Another type is symbolic reasoning based on knowledge graphs. This method constructs a graph containing the physical topology of the device and its failure propagation logic, and then uses reverse reasoning based on observed sensor anomalies to locate potential root causes of failures. However, pure symbolic reasoning methods heavily rely on manually defined rules and paths. When sensor data contains noise, coupling, or atypical fault symptoms, the accuracy and robustness of the reasoning decrease. Furthermore, existing knowledge graph reasoning typically faces problems such as large search space and low computational efficiency, and lacks methods for quantitatively distinguishing primary and secondary root causes when multiple candidate parts can explain the same sensor anomaly.
[0005] More importantly, existing technologies have yet to find a solution that effectively integrates data-driven deep learning fault classification with knowledge graph symbolic reasoning. Deep learning outputs merely serve as fault indicators, failing to deeply integrate with the physical logic within the knowledge graph; similarly, knowledge graph reasoning fails to utilize the component-level location information from deep learning outputs for precise pruning of the search space. Therefore, in complex process scenarios such as precision coagulation care units, existing methods struggle to simultaneously meet the requirements of diagnostic accuracy, interpretability, and real-time performance. Summary of the Invention
[0006] In view of the above problems, the present invention provides a method and apparatus for diagnosing faults in a precision coagulation care unit to overcome or at least partially solve the above problems.
[0007] This invention provides the following solution: A method for diagnosing faults in a precision coagulation care unit includes: The raw time-series data collected by multiple sensors are time-aligned, standardized, and constructed using a sliding window to generate multidimensional time-series segments. The multidimensional time series segments are input into an LSTM network to extract the temporal dependencies and multi-parameter coupling relationships to obtain the hidden states at each time step. A time attention mechanism is used to assign attention weights to the hidden states at each time step, generating a weighted feature vector. The weighted feature vector is input into a fully connected classification layer, and the component-level fault probability vector is output through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly form the observation set. Construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components, and sensors; Using the observation set as input, evidence anchoring is performed in the knowledge graph. The evidence anchoring includes locating the corresponding faulty component entity node based on the faulty component label and limiting the search range to the local subgraph where the entity node is located. In the local subgraph, path reverse lookup and logic verification are performed to construct a causal path from the failure of the underlying component to the observation evidence, and paths that do not conform to the legitimate fault perception logic are eliminated. The posterior confidence of each candidate part is calculated by multiplying the association strength weights of all relation edges on each inference path from the candidate part to the observed evidence, summing the products of all paths and multiplying them by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. Output the posterior confidence ranking of each candidate part as the result of tracing the root cause of the failure.
[0008] Preferably, the time alignment uses linear interpolation to align the original sequences of each sensor to a unified time grid.
[0009] Preferably, the standardization process includes calculating the mean and standard deviation of each sensor variable, subtracting the mean from each raw data point, and then dividing by the standard deviation.
[0010] Preferably, in the sliding window construction, the window length and step size are set, and the multivariate observation vectors at multiple consecutive time points are combined into an input segment.
[0011] Preferably, in the time attention mechanism, the score of the hidden state at each time step is first calculated, then the score is converted into an attention probability distribution through the softmax function, and finally the hidden states at each time step are weighted and summed according to the probability distribution to obtain the weighted feature vector.
[0012] Preferably, the output dimension of the fully connected classification layer corresponds to at least one component among the water bath, water level gauge, projectile, and stirring device.
[0013] Preferably, in the domain knowledge graph, the association strength weight of the relation edges is preset based on expert experience or historical FMEA data.
[0014] Preferably, the logical verification specifically includes checking whether the failure mode of the candidate part has a legitimate fault perception path pointing to the abnormal sensor type in the knowledge graph; if not, the candidate path is blocked. Preferably, the prior adjustment factor is determined based on the component failure rate statistically analyzed from historical maintenance data.
[0015] A fault diagnosis device for a precision coagulation care unit, used in the aforementioned fault diagnosis method for the precision coagulation care unit, the device comprising: The data preprocessing unit is used to generate multi-dimensional time series segments by performing time alignment, standardization, and sliding window construction on the raw time series data collected by multiple sources of sensors. The feature extraction unit is used to input the multidimensional time series segment into the LSTM network and extract the temporal dependency and multi-parameter coupling relationship to obtain the hidden state at each time step; The weight allocation unit is used to assign attention weights to the hidden states at each time step through a temporal attention mechanism, generating a weighted feature vector. The observation set construction unit is used to input the weighted feature vector into the fully connected classification layer, and output the component-level fault probability vector through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly constitute the observation set. A domain knowledge graph construction unit is used to construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components and sensors. A local search unit is used to perform evidence anchoring in the knowledge graph with the observation set as input. The evidence anchoring includes locating the corresponding faulty component entity node according to the faulty component label and limiting the search range to the local subgraph where the entity node is located. The path verification unit is used to perform path reverse lookup and logic verification in the local subgraph, construct the causal path from the failure of the underlying component to the observation evidence, and eliminate paths that do not conform to the legitimate fault perception logic. The posterior confidence calculation unit is used to calculate the posterior confidence of each candidate part. The calculation method includes calculating the product of the association strength weights of all relation edges on each reasoning path from the candidate part to the observed evidence, summing the products of all paths and then multiplying by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. The source tracing result output unit is used to output the posterior confidence ranking of each candidate part as the source tracing result of the fault root cause.
[0016] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects: This application provides a method and apparatus for fault diagnosis of a precision coagulation care unit. It employs a two-stage architecture that integrates data-driven and knowledge graph approaches. The front-end uses LSTM and an attention mechanism to classify component-level faults, while the back-end uses a knowledge graph to trace causal chains, outputting a complete causal path from the failure of the underlying component to observed evidence. This neural network... Symbolic fusion diagnostics combines the high-dimensional feature extraction capabilities of deep learning with the physical logic reasoning capabilities of knowledge graphs, giving diagnostic results clear physical orientation and a traceable chain of evidence, thus overcoming the lack of interpretability in pure deep learning models.
[0017] This invention introduces a temporal attention mechanism into the pre-diagnosis stage, assigning attention weights to the hidden states of the LSTM at each time step to generate a weighted feature vector. This mechanism can automatically assign high weights to regular fault symptoms and low weights to random noise, effectively solving the problem of strong coupling of multiple parameters and fault symptoms being easily submerged in long-period data in precision coagulation care processes, and improving the accuracy of the fault component labels and abnormal sensor types output by the classification layer.
[0018] This invention employs a path-weight-based confidence calculation method in the subsequent inference stage. For each candidate part, the product of the correlation strength weights of all inference paths from it to the observed evidence is calculated. The sum of all path products is then multiplied by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence. This calculation method combines the determinism of fault propagation with the prior failure rate of parts, enabling quantitative differentiation of multiple parts that may simultaneously explain the same sensor anomaly. It outputs a root cause confidence ranking, resolving the ambiguity problem of a single sensor anomaly corresponding to multiple part failures.
[0019] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0021] Figure 1 This is a flowchart of a fault diagnosis method for a precision coagulation care unit provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a fault diagnosis device for a precision coagulation care unit provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a precision coagulation care unit fault diagnosis device provided in an embodiment of the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of protection of the present invention.
[0023] To address the challenges of "strong coupling of multiple parameters, non-stationary states, and heterogeneous data from multiple sources" in the multi-stage processes of precision coagulation nursing units, including cooling medium control, lifting and stirring of nursing fixtures, static coagulation, and positive pressure nursing, this invention offers a key technical solution that can be practically implemented in engineering: Using multi-source operational data as a unified input, a learnable multi-dimensional time series is constructed through standardized data governance and time-series samples. Based on this, LSTM is used to learn the evolution patterns of normal / abnormal operating conditions, and a time attention mechanism is introduced to solve the feature ambiguity problem caused by strong coupling of multiple parameters. Finally, weighted features are directly mapped to the fault space via a fully connected layer to achieve component-level fault diagnosis.
[0024] See Figure 1 This invention provides a method for diagnosing faults in a precision coagulation care unit, such as... Figure 1 As shown, the method may include: S101: The raw time-series data collected by multiple sensors are time-aligned, standardized, and constructed using a sliding window to generate a multi-dimensional time series segment. Specifically, in this embodiment, the time alignment uses linear interpolation to align the raw sequences of each sensor to a unified time grid. The standardization process includes calculating the mean and standard deviation of each sensor variable, subtracting the mean from each raw data point, and then dividing by the standard deviation. In the sliding window construction, the window length and step size are set, and the multivariate observation vectors from multiple consecutive time points are combined into an input segment.
[0025] At the data level, the original sequences of each sensor Align to a uniform time grid The main focus is on resolving issues such as inconsistent sampling frequencies, timestamp drift, missing data, and noise. Alignment can be achieved using linear interpolation.
[0026] Obtain multivariate observation vectors To eliminate dimensional differences and enhance cross-variable coupled learning, the data is standardized:
[0027] Then, a sliding window is used to construct the LSTM input, with a window length of 1. Step size is , No. The input segments are:
[0028] This windowing process is used to characterize short-term dynamic patterns of "stage evolution + parameter linkage" in a unified form, and supports rolling inference and real-time output in online stages.
[0029] S102: Input the multidimensional time series segment into the LSTM network to extract the temporal dependency and multi-parameter coupling relationship to obtain the hidden state at each time step; at the model level, LSTM is used to extract the temporal dependency and multi-parameter coupling relationship of multi-stage working condition evolution.
[0030] S103: Assign attention weights to the hidden states at each time step through a time attention mechanism to generate a weighted feature vector; in specific implementation, the embodiments of this application may provide that the time attention mechanism first calculates the score of the hidden state at each time step, then converts the score into an attention probability distribution through a softmax function, and finally sums the hidden states at each time step according to the probability distribution to obtain the weighted feature vector.
[0031] In precision coagulation maintenance processes, multiple parameters are strongly coupled, and fault symptoms are easily submerged in long-period data. To further enhance the model's ability to extract component fault features, an attention mechanism is introduced. Essentially, it uses weights of different sizes to measure the importance of output features, calculated as follows:
[0032]
[0033]
[0034] In the formula, and These are weighting coefficients. It is the bias coefficient. It is the first The probability distribution of attention at any given moment. These are weights in the attention model. In this way, the model can automatically learn to assign low weights to random noise and high weights to regular fault symptoms, generating highly recognizable weighted feature vectors. .
[0035] S104: Input the weighted feature vector into the fully connected classification layer, and output the component-level fault probability vector through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly constitute the observation set; In specific implementation, the output dimension of the fully connected classification layer can correspond to at least one component among the water bath, water level gauge, projectile, and stirring device.
[0036] After feature enhancement is completed, the vector will be... The input is a fully connected classification layer, and the high-dimensional features are mapped to the component-level fault category space using the softmax function:
[0037] Output vector Each dimension corresponds to the failure probability of specific components such as the water bath, water level gauge, and projectile. During training, the cross-entropy loss function is used to minimize the difference between the predicted distribution and the true label. Through the above key technical approaches, the system can dynamically identify abnormal operating conditions and typical faults in nursing units under multi-source heterogeneous constraints, ultimately achieving component-level fault diagnosis.
[0038] S105: Construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components, and sensors; in specific implementation, the embodiments of this application may provide that the association strength weight of the relation edges in the domain knowledge graph is pre-set based on expert experience or historical FMEA data.
[0039] To address the limitations of deep learning models such as LSTM in explaining the physical causes of failures, this invention further proposes a fault causal chain tracing technology based on domain knowledge graphs. The core of this technology lies in constructing a neural-symbolic fusion diagnostic engine. Utilizing the pre-defined physical topology and failure propagation logic within the knowledge graph, it transforms abnormal signals at the data level into failure logic chains with clear physical orientations, achieving interpretable and accurate diagnosis.
[0040] S106: Using the observation set as input, perform evidence anchoring in the knowledge graph. The evidence anchoring includes locating the corresponding faulty component entity node based on the faulty component label and limiting the search range to the local subgraph where the entity node is located. The evidence anchoring system first parses the observation set. Within the vast network of the knowledge graph, specific faulty component entities (such as "stirring devices") are quickly located and used as the "root anchor point" for reasoning and searching. Utilizing the hierarchical topological characteristics of the graph, the component node and all its subordinate subtree structures are locked, strictly limiting the search space to local subgraphs physically related to the component. This effectively shields the interference from other irrelevant units (such as water baths and positive pressure tanks), enabling rapid pruning of the computational space.
[0041] S107: Perform path reverse lookup and logic verification in the local subgraph to construct a causal path from the failure of the underlying component to the observation evidence, and eliminate paths that do not conform to the legitimate fault perception logic; the logic verification specifically includes checking whether there is a legitimate fault perception path pointing to the abnormal sensor type in the knowledge graph for the fault mode of the candidate component, and blocking the candidate path if it does not exist.
[0042] The path lookup and logical traversal start from the anchored component, and the inference engine performs a deep traversal of all component entities and their corresponding failure mode nodes under that branch. Based on the "physical composition" and "failure association" relationships defined in the graph, the system automatically constructs multiple hypothetical paths from "bottom-level component failure" to "top-level observation evidence".
[0043] S108: Calculate the posterior confidence of each candidate part. The calculation method includes, for each inference path from the candidate part to the observed evidence, calculating the product of the association strength weights of all relation edges on the path, summing the products of all paths and then multiplying by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. In specific implementation, the present invention can provide the prior adjustment factor based on the part failure rate determined by the statistics of historical maintenance data.
[0044] The logical verification and causal matching system performs logical verification on each generated hypothetical path, checking whether the failure mode of the candidate part has a legitimate "fault perception" path pointing to the "abnormal sensor type". For example, if the LSTM reports "speed sensor abnormality", but the failure mode of a candidate part only causes "temperature increase" and there is no speed-related path in the graph, then that candidate path will be logically blocked. Through this process, a complete chain of evidence, "part-fault-perception-sensor", is constructed that conforms to physical facts.
[0045] To accurately quantify the failure probability of different candidate parts and resolve the ambiguity that a single sensor anomaly may correspond to the failure of multiple parts, a path-weighted inference model is introduced to calculate the root cause confidence. Let's assume that from candidate parts... There are multiple inference paths to observational evidence (i.e., specific sensor anomaly types). The posterior confidence level of the component as the root cause is... This can be expressed as a weighted sum of the propagation probabilities of all feasible paths:
[0046] in: It represents a specific connected reasoning path; The association strength weights for each relation edge on the path (such as "the part belongs to the component" and "the fault manifests as an anomaly") are set based on expert experience or historical FMEA data, which characterize the determinism of fault propagation. This is a priori adjustment factor, corresponding to the part failure rate based on historical maintenance data statistics. It is used to prioritize high-frequency faulty parts when the probabilities of multiple paths are similar.
[0047] This model effectively distinguishes between primary and secondary causes of failure by comprehensively calculating the cumulative probability weights of different topological paths, thus achieving accurate tracing of the root cause of the failure.
[0048] S109: Output the posterior confidence ranking of each candidate part as the result of tracing the root cause of the failure.
[0049] In summary, the precision coagulation care unit fault diagnosis method provided by this invention adopts a two-stage architecture that integrates data-driven and knowledge graph approaches: the front-end uses LSTM and attention mechanisms to achieve component-level fault classification, and the back-end uses a knowledge graph to trace causal chains, outputting a complete causal path from the failure of the underlying component to observed evidence. This neural network... Symbolic fusion diagnostics combines the high-dimensional feature extraction capabilities of deep learning with the physical logic reasoning capabilities of knowledge graphs, giving diagnostic results clear physical orientation and a traceable chain of evidence, thus overcoming the lack of interpretability in pure deep learning models.
[0050] This invention introduces a temporal attention mechanism into the pre-diagnosis stage, assigning attention weights to the hidden states of the LSTM at each time step to generate a weighted feature vector. This mechanism can automatically assign high weights to regular fault symptoms and low weights to random noise, effectively solving the problem of strong coupling of multiple parameters and fault symptoms being easily submerged in long-period data in precision coagulation care processes, and improving the accuracy of the fault component labels and abnormal sensor types output by the classification layer.
[0051] This invention employs a path-weight-based confidence calculation method in the subsequent inference stage. For each candidate part, the product of the correlation strength weights of all inference paths from it to the observed evidence is calculated. The sum of all path products is then multiplied by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence. This calculation method combines the determinism of fault propagation with the prior failure rate of parts, enabling quantitative differentiation of multiple parts that may simultaneously explain the same sensor anomaly. It outputs a root cause confidence ranking, resolving the ambiguity problem of a single sensor anomaly corresponding to multiple part failures.
[0052] This invention performs evidence anchoring and local subgraph pruning in knowledge graph reasoning. Based on the faulty component labels output by deep learning, it directly locates the corresponding component entity node in the knowledge graph and strictly limits the search scope to the local subgraph where the node is located, shielding other irrelevant units. This strategy significantly reduces the reasoning search space, avoids blind traversal across the entire knowledge graph, effectively reduces computational complexity, and is suitable for online real-time diagnostic scenarios.
[0053] This invention performs path reverse lookup and logical verification in a local subgraph, constructing multiple hypothetical paths from the failure of bottom-level components to the observational evidence at the top level. Logical blocking is achieved by checking whether the failure modes of candidate components point to legitimate fault perception paths of the aforementioned abnormal sensor type. Only paths that pass logical verification participate in confidence calculation, ensuring that the diagnostic results conform to physical facts and failure propagation logic, thus improving the reliability of the diagnosis.
[0054] See Figure 2 The present invention can also provide a fault diagnosis device for a precision coagulation care unit, such as... Figure 2 As shown, the device may include: The data preprocessing unit 201 is used to generate multi-dimensional time series segments by performing time alignment, standardization and sliding window construction on the raw time series data collected by multiple source sensors. Feature extraction unit 202 is used to input the multidimensional time series segment into the LSTM network and extract the temporal dependency and multi-parameter coupling relationship to obtain the hidden state at each time step; The weight allocation unit 203 is used to assign attention weights to the hidden states at each time step through a temporal attention mechanism to generate a weighted feature vector. The observation set construction unit 204 is used to input the weighted feature vector into the fully connected classification layer, and output the component-level fault probability vector through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly constitute the observation set. Domain knowledge graph construction unit 205 is used to construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components and sensors. Local search unit 206 is used to perform evidence anchoring in the knowledge graph with the observation set as input. The evidence anchoring includes locating the corresponding faulty component entity node according to the faulty component label and limiting the search range to the local subgraph where the entity node is located. The path verification unit 207 is used to perform path reverse lookup and logic verification in the local subgraph, construct the causal path from the failure of the underlying component to the observation evidence, and eliminate paths that do not conform to the legitimate fault perception logic. The posterior confidence calculation unit 208 is used to calculate the posterior confidence of each candidate part. The calculation method includes calculating the product of the association strength weights of all relation edges on each reasoning path from the candidate part to the observed evidence, summing the products of all paths and then multiplying by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. The source tracing result output unit 209 is used to output the posterior confidence ranking of each candidate part as the source tracing result of the fault root cause.
[0055] This invention can also provide a fault diagnosis device for a precision coagulation care unit, the device including a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the steps of the above-described precision coagulation care unit fault diagnosis method according to the instructions in the program code.
[0056] like Figure 3 As shown in the figure, the precision coagulation care unit fault diagnosis device provided in this embodiment of the invention may include: a processor 10, a memory 11, a communication interface 12, and a communication bus 13. The processor 10, memory 11, and communication interface 12 all communicate with each other through the communication bus 13.
[0057] In this embodiment of the invention, the processor 10 may be a central processing unit (CPU), an application-specific integrated circuit, a digital signal processor, a field-programmable gate array, or other programmable logic devices.
[0058] The processor 10 can call the program stored in the memory 11. Specifically, the processor 10 can execute the operations in the embodiment of the precision coagulation care unit fault diagnosis method.
[0059] The memory 11 is used to store one or more programs. The programs may include program code, which includes computer operation instructions. In this embodiment of the invention, the memory 11 stores at least a program for implementing the following functions: The raw time-series data collected by multiple sensors are time-aligned, standardized, and constructed using a sliding window to generate multidimensional time-series segments. The multidimensional time series segments are input into an LSTM network to extract the temporal dependencies and multi-parameter coupling relationships to obtain the hidden states at each time step. A time attention mechanism is used to assign attention weights to the hidden states at each time step, generating a weighted feature vector. The weighted feature vector is input into a fully connected classification layer, and the component-level fault probability vector is output through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly form the observation set. Construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components, and sensors; Using the observation set as input, evidence anchoring is performed in the knowledge graph. The evidence anchoring includes locating the corresponding faulty component entity node based on the faulty component label and limiting the search range to the local subgraph where the entity node is located. In the local subgraph, path reverse lookup and logic verification are performed to construct a causal path from the failure of the underlying component to the observation evidence, and paths that do not conform to the legitimate fault perception logic are eliminated. The posterior confidence of each candidate part is calculated by multiplying the association strength weights of all relation edges on each inference path from the candidate part to the observed evidence, summing the products of all paths and multiplying them by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. Output the posterior confidence ranking of each candidate part as the result of tracing the root cause of the failure.
[0060] In one possible implementation, the memory 11 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function (such as file creation or data read / write). The data storage area may store data created during use, such as initialization data.
[0061] In addition, memory 11 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.
[0062] Communication interface 12 can be an interface for the communication module, used to connect with other devices or systems.
[0063] Of course, it should be noted that, Figure 3 The structure shown does not constitute a limitation on the fault diagnosis device for the precision coagulation care unit in the embodiments of the present invention. In practical applications, the fault diagnosis device for the precision coagulation care unit may include more than Figure 3 More or fewer components as shown, or combinations of certain components.
[0064] This invention also provides a computer-readable storage medium for storing program code for performing the steps of the above-described precision coagulation care unit fault diagnosis method.
[0065] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0066] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0067] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0068] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for diagnosing faults in a precision coagulation care unit, characterized in that, include: The raw time-series data collected by multiple sensors are time-aligned, standardized, and constructed using a sliding window to generate multidimensional time-series segments. The multidimensional time series segments are input into an LSTM network to extract the temporal dependencies and multi-parameter coupling relationships to obtain the hidden states at each time step. A time attention mechanism is used to assign attention weights to the hidden states at each time step, generating a weighted feature vector. The weighted feature vector is input into a fully connected classification layer, and the component-level fault probability vector is output through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly form the observation set. Construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components, and sensors; Using the observation set as input, evidence anchoring is performed in the knowledge graph. The evidence anchoring includes locating the corresponding faulty component entity node based on the faulty component label and limiting the search range to the local subgraph where the entity node is located. In the local subgraph, path reverse lookup and logic verification are performed to construct a causal path from the failure of the underlying component to the observation evidence, and paths that do not conform to the legitimate fault perception logic are eliminated. The posterior confidence of each candidate part is calculated by multiplying the association strength weights of all relation edges on each inference path from the candidate part to the observed evidence, summing the products of all paths and multiplying them by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. Output the posterior confidence ranking of each candidate part as the result of tracing the root cause of the failure.
2. The method according to claim 1, characterized in that, The time alignment uses linear interpolation to align the original sequences of each sensor to a unified time grid.
3. The method according to claim 1, characterized in that, The standardization process includes calculating the mean and standard deviation of each sensor variable, subtracting the mean from each raw data point, and then dividing by the standard deviation.
4. The method according to claim 1, characterized in that, In the sliding window construction, the window length and step size are set, and the multivariate observation vectors at multiple consecutive time points are combined into an input segment.
5. The method according to claim 1, characterized in that, In the aforementioned temporal attention mechanism, the score of the hidden state at each time step is first calculated, then the score is converted into an attention probability distribution using the softmax function, and finally the hidden states at each time step are weighted and summed according to the probability distribution to obtain the weighted feature vector.
6. The method according to claim 1, characterized in that, The output dimension of the fully connected classification layer corresponds to at least one component among the water bath, water level gauge, projectile, and stirring device.
7. The method according to claim 1, characterized in that, In the domain knowledge graph, the association strength weight of the relation edges is preset based on expert experience or historical FMEA data.
8. The method according to claim 1, characterized in that, The logical verification specifically includes checking whether there is a legitimate fault perception path pointing to the abnormal sensor type in the knowledge graph for the fault mode of the candidate part. If not, the candidate path is blocked.
9. The method according to claim 1, characterized in that, The prior adjustment factor is determined based on the component failure rate statistically analyzed from historical maintenance data.
10. A fault diagnosis device for a precision coagulation care unit, characterized in that, The apparatus for performing the fault diagnosis method of the precision coagulation care unit according to any one of claims 1-9, the apparatus comprising: The data preprocessing unit is used to generate multi-dimensional time series segments by performing time alignment, standardization, and sliding window construction on the raw time series data collected by multiple sources of sensors. The feature extraction unit is used to input the multidimensional time series segment into the LSTM network and extract the temporal dependency and multi-parameter coupling relationship to obtain the hidden state at each time step. The weight allocation unit is used to assign attention weights to the hidden states at each time step through a temporal attention mechanism, generating a weighted feature vector. The observation set construction unit is used to input the weighted feature vector into the fully connected classification layer, and output the component-level fault probability vector through the softmax function to obtain the fault component label and abnormal sensor type, so as to jointly constitute the observation set. A domain knowledge graph construction unit is used to construct a domain knowledge graph, which includes physical topology, failure propagation logic, and the relationship between parts, components and sensors. A local search unit is used to perform evidence anchoring in the knowledge graph with the observation set as input. The evidence anchoring includes locating the corresponding faulty component entity node according to the faulty component label and limiting the search range to the local subgraph where the entity node is located. The path verification unit is used to perform path reverse lookup and logic verification in the local subgraph, construct the causal path from the failure of the underlying component to the observation evidence, and eliminate paths that do not conform to the legitimate fault perception logic. The posterior confidence calculation unit is used to calculate the posterior confidence of each candidate part. The calculation method includes calculating the product of the association strength weights of all relation edges on each reasoning path from the candidate part to the observed evidence, summing the products of all paths and then multiplying by a prior adjustment factor based on historical maintenance data to obtain the posterior confidence of the corresponding candidate part. The source tracing result output unit is used to output the posterior confidence ranking of each candidate part as the source tracing result of the fault root cause.
