Fault detection method and system for electrode film removal control system
By controlling the fault point traceability network, the problem of low fault detection efficiency in the electrode film removal control system is solved, efficient and accurate detection of potential faults is achieved, and fault mode identification capabilities and production efficiency are improved.
Patent Information
- Application Number
- CN202411228345.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-09-03
AI Technical Summary
Existing fault detection methods for electrode film removal control systems are inefficient and difficult to fully cover all possible fault modes. Moreover, traditional methods rely on manual experience and are difficult to accurately identify the penetration and diffusion processes of complex faults.
Using the control fault point traceability network, by obtaining the sample control instance operation data, using the functional operation trajectory vector and the fault penetration prediction unit to determine the fault penetration block, calculate the block confidence and fault point diagnosis confidence, optimize the network parameters, and the generation is completed The control fault point traceability network enables efficient and accurate detection of potential faults in the electrode film removal control system.
It significantly improves the accuracy and efficiency of fault detection, enhances the ability to identify complex fault modes, ensures the stability and convergence of network parameter learning, reduces troubleshooting and maintenance costs, and improves production efficiency and product quality.
Smart Images

Figure CN118760145A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and more specifically, to a fault detection method and system for an electrode film removal control system. Background Art
[0002] In modern industrial production, the electrode film removal control system, as one of the key equipment, plays a vital role in many fields such as electroplating and semiconductor manufacturing. However, due to factors such as high system complexity, variable operating environment and equipment aging, the electrode film removal control system often faces various faults during operation, such as uneven film removal, excessive film removal or insufficient film removal. These problems not only affect product quality, but may also cause production line shutdowns, causing huge economic losses to enterprises.
[0003] Traditional fault detection methods mainly rely on manual experience and regular maintenance inspections, which are not only inefficient but also difficult to fully cover all possible fault modes. With the rapid development of artificial intelligence and machine learning technologies, more and more researchers have begun to explore the application of these advanced technologies in the field of fault detection in industrial control systems, in order to achieve automatic, fast and accurate fault identification.
[0004] Although some machine learning-based fault detection methods have been proposed, most of these methods focus on the extraction and classification of single fault features, ignoring the complex process of fault propagation and penetration in the control system. For electrode film removal control systems, faults often do not exist in isolation, but will gradually penetrate and diffuse in the control process, forming one or more fault penetration blocks. Therefore, it is difficult to fully reveal the nature and root cause of the fault by relying solely on the detection of a single fault feature. Summary of the invention
[0005] In view of the above-mentioned problems, in combination with the first aspect of the present application, an embodiment of the present application provides a fault detection method for an electrode film removal control system, the method comprising: Acquire sample control instance operation data including target control fault points generated by the electrode film removal control system; Determine a target fault penetration block corresponding to the sample control instance operation data according to a functional operation trajectory vector of the sample control instance operation data and a fault penetration prediction unit of a control fault point tracing network; Calculating a block confidence of the target fault penetration block according to the fault penetration block label data corresponding to the sample control instance operation data, and calculating a first training cost according to the block confidence, wherein the block confidence is used to indicate the positioning accuracy of the target fault penetration block; Determine the fault point diagnosis confidence of the target fault penetration block according to the functional operation trajectory vector of the sample control instance operation data and the fault diagnosis unit of the control fault point tracing network, and calculate the second training cost according to the fault point diagnosis confidence, wherein the fault point diagnosis confidence is used to indicate the possibility that the target control fault point exists in the target fault penetration block; Optimizing the second training cost according to the block confidence, and optimizing the first training cost according to the fault point diagnosis confidence; Based on the optimized second training cost and the optimized first training cost, network parameter learning is performed on the control fault point tracing network until the network convergence requirements are met, and a control fault point tracing network that has completed network parameter learning is generated; wherein, the control fault point tracing network that has completed network parameter learning is used to trace the control fault point of any input control instance operation data.
[0006] On the other hand, an embodiment of the present application also provides a fault detection system, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium is connected to the processor, the machine-readable storage medium is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the machine-readable storage medium to implement the above method. Based on the above aspects, the embodiment of the present application realizes efficient and accurate detection of potential faults in the electrode film removal control process by introducing a control fault point tracing network. Specifically, it is able to automatically identify data segments containing target control fault points from the generated sample control instance operation data, and accurately locate the fault penetration block, significantly improving the accuracy and efficiency of fault detection. At the same time, the traceability network is iteratively optimized using block confidence and fault point diagnosis confidence, which not only enhances the model's ability to recognize complex fault modes, but also ensures the stability and convergence of network parameter learning. The control fault point tracing network that has finally generated and has completed network parameter learning can be widely used for tracing the fault points of any input control instance operation data, providing technical support and guarantee for the stable operation of the electrode film removal control system, effectively reducing troubleshooting and maintenance costs, and improving production efficiency and product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 It is a schematic diagram of the execution flow of the fault detection method for the electrode film removal control system provided in an embodiment of the present application.
[0008] Figure 2 It is a schematic diagram of the hardware architecture of the fault detection system provided in the embodiment of the present application. DETAILED DESCRIPTION
[0009] The present application will be described in detail below with reference to the accompanying drawings. Figure 1 It is a flow chart of a fault detection method for an electrode film removal control system provided by an embodiment of the present application. The fault detection method for an electrode film removal control system is introduced in detail below.
[0010] Step S110, obtaining the sample control instance operation data including the target control fault point generated by the electrode film removal control system, and determining the target fault penetration block corresponding to the sample control instance operation data based on the functional operation trajectory vector of the sample control instance operation data and the fault penetration prediction unit of the control fault point tracing network.
[0011] In detail, the sample control instance operation data refers to the actual operation data collected from the electrode film removal control system, including specific control fault points, which records all control instructions, execution status, timestamps and other detailed information from the beginning to the end of the control process, for subsequent analysis and model training. For example, suppose that the electrode film removal control system has an uneven film removal failure within a certain period of time. The server extracts a section of control instance operation data from this time period as a sample. This section of data contains all control instructions from the beginning to the end of the film removal (such as turning on the film removal equipment, adjusting the film removal parameters, turning off the film removal equipment, etc.) and their execution status (such as success, failure, timeout, etc.) and timestamp information.
[0012] The functional operation trajectory vector is a numerical representation of the control instruction sequence and its execution status in the sample control instance operation data, which is easy for the computer to process. This representation is usually a multidimensional vector, in which each dimension represents a feature of the control instruction or state (such as instruction type, execution time, execution result, etc.). For example, in the process of converting the sample control instance operation data into a functional operation trajectory vector, the server extracts the type of each control instruction (such as "turn on the film removal equipment"), execution time (such as "2023-04-01 12:00:00") and execution result (such as "success"). Then, the corresponding numerical values are encoded for these features (such as the instruction type is represented by a digital ID, the execution time is converted to a timestamp, and the execution result is represented by a Boolean value or an enumeration value), and they are integrated into a multidimensional vector as a functional operation trajectory vector.
[0013] The fault penetration prediction unit is a component of the control fault point tracing network, which is responsible for predicting possible fault penetration blocks based on the function operation trajectory vector. A fault penetration block refers to a set of continuous control instructions or state transitions that are highly correlated with the occurrence of a fault. For example, the fault penetration prediction unit receives a function operation trajectory vector as input, analyzes the nodes (control instructions) and edges (logical relationships between instructions) in the trajectory through a deep learning model (such as the neural network in the figure), and predicts possible fault penetration blocks. For example, in the case of uneven film removal, the prediction unit may output a block containing an instruction to "adjust film removal parameters" as a potential fault penetration block.
[0014] In this embodiment, it is assumed that in a large electroplating production line, the electrode film removal control system is responsible for ensuring that the film layer on the electrode surface is effectively removed to ensure the quality of electroplating. However, due to the high complexity of the electrode film removal control system and equipment aging, faults often occur during the control process, such as uneven film removal and excessive film removal. In order to quickly locate and solve these faults, this embodiment automatically locates the fault penetration block by collecting and analyzing the control instance operation data generated by the electrode film removal control system, and further diagnoses the specific fault point.
[0015] For example, suppose that one day, the electrode film removal control system on the electroplating production line reported a target control failure point of uneven film removal. In order to analyze this target control failure point, the server first obtained a section of sample control instance operation data containing the target control failure point from the system log. This section of sample control instance operation data records in detail all control operations and their execution status from the start to the end of film removal, forming a functional operation trajectory.
[0016] In detail, the server pulls the sample control instance operation data containing the target control fault point (uneven film removal) from the electrode film removal control system through the API interface. These sample control instance operation data include detailed information such as timestamp, control instructions, and execution results. Next, the sample control instance operation data is converted into a functional operation trajectory vector. This process involves extracting the control instruction sequence, encoding the corresponding features for each instruction (such as instruction type, execution time, execution result, etc.), and integrating these features into a vector form for subsequent processing. The server then inputs the functional operation trajectory vector into the fault penetration prediction unit of the control fault point traceability network that has been preliminarily constructed. The fault penetration prediction unit is based on a deep learning model (such as the neural network in the figure), and predicts possible fault penetration blocks by analyzing the nodes (control instructions) and edges (logical relationships between instructions) in the functional operation trajectory. These fault penetration blocks are usually a set of continuous control instructions that are highly correlated with the occurrence of faults.
[0017] The fault penetration prediction unit outputs multiple possible fault penetration blocks. The server selects the fault penetration block with the highest score as the target fault penetration block based on the prediction score of the fault penetration block (calculated internally by the model) and prior knowledge (such as historical fault data).
[0018] Step S120, calculating the block confidence of the target fault penetration block according to the fault penetration block label data corresponding to the sample control instance operation data, and calculating the first training cost according to the block confidence, wherein the block confidence is used to represent the positioning accuracy of the target fault penetration block.
[0019] In this embodiment, in order to evaluate the accuracy of fault penetration prediction, the server needs to calculate the block confidence of the target fault penetration block, and calculate the first training cost based on it for subsequent network parameter optimization.
[0020] In detail, the server obtains the fault penetration block label data corresponding to the sample control instance operation data from the fault database. These fault penetration block label data are manually annotated by experts and indicate the real fault penetration block. The server calculates the block confidence by comparing the target fault penetration block with the real fault penetration block in the label data. The block confidence is used to indicate the positioning accuracy of the target fault penetration block, reflecting the overlap or similarity between the predicted block and the real block, which can be quantified by calculating the Jaccard similarity, Dice coefficient or IOU (intersection over union) between the two. Thus, based on the block confidence, the server calculates the first training cost. The training cost is a scalar value used to measure the accuracy of the model prediction. In this example, if the block confidence is high, it means that the prediction is more accurate and the training cost should be correspondingly low; otherwise, the training cost is high. The specific calculation method of the training cost may depend on the selected optimization algorithm (such as cross entropy loss, mean square error, etc.).
[0021] Step S130, determining the fault point diagnosis confidence of the target fault penetration block based on the functional operation trajectory vector of the sample control instance operation data and the fault diagnosis unit of the control fault point tracing network, and calculating the second training cost based on the fault point diagnosis confidence, wherein the fault point diagnosis confidence is used to indicate the possibility that the target control fault point exists in the target fault penetration block.
[0022] In this embodiment, after determining the target fault penetration block, the server needs to further diagnose the specific fault point in the target fault penetration block, which involves a detailed analysis of each control instruction in the target fault penetration block to determine which instruction is most likely to be the cause of the fault.
[0023] In detail, the server inputs the functional operation trajectory vector of the sample control instance operation data into the fault diagnosis unit of the control fault point traceability network. The fault diagnosis unit is also based on a deep learning model, but focuses more on the fine analysis of a single control instruction. By calculating the characteristic representation of the instruction, the interaction between instructions, etc., the fault diagnosis unit generates a diagnostic confidence for each possible fault point, indicating the possibility of a fault at the point. Next, the server collects all the fault point diagnostic confidences output by the fault diagnosis unit, and screens or weights them according to the actual situation (such as the expert's prior knowledge, historical fault data, etc.) to obtain the final fault point diagnosis result. Similar to the calculation of the first training cost, the server calculates the second training cost based on the difference between the fault point diagnostic confidence and the real fault point labeled data. If the diagnostic confidence is highly consistent with the real fault point, the training cost is low; otherwise, the training cost is high.
[0024] Step S140, optimize the second training cost according to the block confidence, optimize the first training cost according to the fault point diagnosis confidence, perform network parameter learning on the control fault point traceability network based on the optimized second training cost and the optimized first training cost, until the network convergence requirements are met, and generate a control fault point traceability network that has completed network parameter learning. The control fault point traceability network that has completed network parameter learning is used to trace the control fault point of any input control instance operation data.
[0025] After obtaining the first training cost and the second training cost, the server needs to optimize these costs and perform parameter learning on the control fault point tracing network based on the optimized costs to improve the prediction and diagnosis accuracy of the model.
[0026] In detail, the server first optimizes the second training cost according to the block confidence. Specifically, if the block confidence is high (i.e., the prediction of the fault penetration block is relatively accurate), the weight corresponding to the block in the second training cost can be appropriately reduced, because the accuracy of the fault point diagnosis depends more on the fault diagnosis unit itself; conversely, if the block confidence is low, the corresponding weight should be increased to emphasize the improvement of the fault penetration prediction. Similarly, the server also optimizes the first training cost according to the fault point diagnosis confidence. The optimized training cost is used to guide the parameter learning of the control fault point tracing network. The server uses the back propagation algorithm to update the weight parameters of the network through gradient descent (or more advanced optimization algorithms, such as Adam, RMSprop, etc.) to reduce the training cost. This process is iterative until the network convergence conditions are met (such as the training cost no longer decreases significantly, the preset number of iterations is reached, etc.).
[0027] After multiple iterations of learning, the server generated a control fault point traceability network that completed network parameter learning. This control fault point traceability network can more accurately predict the fault penetration block and diagnose the specific fault point, providing strong support for fault detection and repair of the electroplating production line.
[0028] Based on the above steps, the embodiment of the present application realizes efficient and accurate detection of potential faults in the electrode film removal control process by introducing a control fault point tracing network. Specifically, it is able to automatically identify data segments containing target control fault points from the generated sample control instance operation data, and accurately locate the fault penetration block, significantly improving the accuracy and efficiency of fault detection. At the same time, the traceability network is iteratively optimized using block confidence and fault point diagnosis confidence, which not only enhances the model's ability to recognize complex fault modes, but also ensures the stability and convergence of network parameter learning. The control fault point tracing network that has finally generated and completed network parameter learning can be widely used for tracing the fault points of any input control instance operation data, providing technical support and guarantee for the stable operation of the electrode film removal control system, effectively reducing troubleshooting and maintenance costs, and improving production efficiency and product quality.
[0029] In a possible implementation manner, before step S140, the method further includes: Step A110, determining the predicted block confidence of the target fault penetration block according to the block confidence determination unit of the control fault point tracing network.
[0030] Step A120: determining a block confidence cost according to the predicted block confidence of the target fault permeation block and the block confidence of the target fault permeation block.
[0031] In this embodiment, in order to improve the accuracy of fault point tracing, the control fault point tracing network not only includes a fault penetration prediction unit and a fault diagnosis unit, but also introduces a block confidence determination unit. This newly added unit is intended to further evaluate the prediction accuracy of the fault penetration block, thereby optimizing the training process of the entire network.
[0032] In detail, before using the optimized second training cost and the optimized first training cost for network parameter learning, the server first uses the block confidence determination unit of the control fault point tracing network to determine the predicted block confidence of the target fault penetration block.
[0033] For example, the server has obtained the sample control instance operation data containing the target control fault point through the previous steps and converted it into a functional operation trajectory vector. The server inputs the functional operation trajectory vector into the block confidence judgment unit. This block confidence judgment unit is based on a deep learning model (such as a neural network) and predicts the confidence of the target fault penetration block, that is, the predicted block confidence, by analyzing the features in the functional operation trajectory vector. This predicted block confidence reflects the internal assessment of the accuracy of the predicted block. The block confidence judgment unit outputs the predicted block confidence of the target fault penetration block. This predicted block confidence value is a scalar between 0 and 1, and the higher the value, the more accurate the prediction.
[0034] After obtaining the predicted block confidence, the server needs to compare it with the actual block confidence (obtained by comparing the predicted block with the label data) to calculate the block confidence cost. This cost will be used for subsequent network parameter optimization.
[0035] For example, the server obtains the fault penetration block label data corresponding to the sample control instance operation data from the fault database, and calculates the true block confidence of the target fault penetration block. This is usually achieved by comparing the overlap or similarity between the predicted block and the label block, such as using indicators such as Jaccard similarity, Dice coefficient, or IOU. The server compares the predicted block confidence with the true block confidence and calculates the difference between the two as the block confidence cost. This block confidence cost reflects the model's shortcomings in predicting the accuracy of fault penetration blocks and is an important basis for subsequent optimization of the training process.
[0036] Step S140 includes: performing network parameter learning on the control fault point tracing network based on the block confidence cost, the optimized second training cost and the optimized first training cost.
[0037] After obtaining the block confidence cost, the optimized second training cost, and the optimized first training cost, the server combines these three costs to guide the parameter learning of the control fault point tracing network.
[0038] For example, the server first optimizes the second training cost according to the block confidence. If the predicted block confidence is high, it means that the prediction of the fault penetration block is relatively accurate. At this time, the weight corresponding to the block part in the second training cost can be appropriately reduced; conversely, if the predicted block confidence is low, the corresponding weight should be increased to emphasize the improvement of the fault penetration prediction. Similarly, the server also optimizes the first training cost according to the fault point diagnosis confidence. The optimized training cost (including the block confidence cost, the optimized second training cost and the optimized first training cost) is used to guide the parameter learning of the control fault point tracing network. The server uses the back propagation algorithm to update the weight parameters of the network through gradient descent (or a more advanced optimization algorithm) to reduce the total training cost. This process is iterative until the network convergence conditions are met (such as the training cost no longer decreases significantly, the preset number of iterations is reached, etc.).
[0039] After multiple iterations of learning, the server generated a control fault point traceability network that completed network parameter learning. This network is more accurate in predicting fault penetration blocks and diagnosing specific fault points, and can provide more powerful support for troubleshooting and repair of electroplating production lines.
[0040] In a possible implementation, the target control fault point is a control fault point to be traced. Step S110 includes: Step S111, obtaining sample control instance operation data including target control fault points generated by the electrode film removal control system and template control instance operation data corresponding to the sample control instance operation data. The template control instance operation data and the sample control instance operation data include the same target control fault points.
[0041] Step S112: determining a first sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data.
[0042] Step S113: loading the first sample interconnection vector into the fault penetration prediction unit to generate a target fault penetration block corresponding to the sample control instance operation data.
[0043] In this embodiment, suppose that one day, the electrode film removal control system on the electroplating production line reported a control fault point to be traced due to uneven film removal. In order to analyze this control fault point to be traced, the server needs to obtain the sample control instance operation data containing the control fault point to be traced, and a template control instance operation data with the same control fault point to be traced as the sample control instance operation data as a reference.
[0044] In detail, the server pulls the sample control instance operation data containing the uneven film removal fault point from the electrode film removal control system through the API interface. These sample control instance operation data include detailed information such as timestamps, control instructions, and execution results of all control operations and their execution status from the start to the end of the film removal. Next, the template control instance operation data with the same uneven film removal fault point as the sample control instance operation data is retrieved from the fault database. The template control instance operation data is an instance whose fault point has been analyzed and confirmed before, and is used to provide a comparison benchmark for the sample control instance operation data. Finally, the sample control instance operation data and the template control instance operation data are stored in a local or remote database for subsequent processing and analysis.
[0045] After the server obtains the sample and template control instance operation data, it needs to use the functional operation trajectory vectors of these sample and template control instance operation data to determine the target fault penetration block corresponding to the sample control instance operation data by controlling the fault penetration prediction unit of the fault point tracing network.
[0046] In detail, the server first converts the sample and template control instance operation data into functional operation trajectory vectors. This process involves extracting the control instruction sequence, encoding the corresponding features for each instruction (such as instruction type, execution time, execution result, etc.), and integrating these features into vector form. The server calculates the first sample interconnection vector between the sample and template control instance operation data by comparing the functional operation trajectory vectors of them. This first sample interconnection vector reflects the cross-correlation features of the sample and template control instance operation data on the functional operation trajectory, such as similar operation sequences, the same state transitions, etc. Finally, the first sample interconnection vector is loaded into the fault penetration prediction unit of the control fault point traceability network. The fault penetration prediction unit is based on a deep learning model (such as the neural network in the figure), and predicts possible fault penetration blocks in the sample control instance operation data by analyzing the features in the interconnection vector. The fault penetration prediction unit outputs multiple possible fault penetration blocks, and the server selects the block with the highest score as the target fault penetration block based on the prediction score of the block (calculated internally by the model) and prior knowledge (such as historical fault data).
[0047] Step A110 includes: loading the first sample interconnection flux vector into the block confidence determination unit to generate a predicted block confidence of the target fault penetration block.
[0048] Step S130 includes: Step S131 : determining a second sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data.
[0049] Step S132, loading the second sample interconnection flux vector into the fault diagnosis unit to generate the fault point diagnosis confidence of the target fault penetration block. The first sample interconnection flux vector and the second sample interconnection flux vector reflect the cross-correlation characteristics between the sample control instance operation data and the template control instance operation data.
[0050] After determining the target fault penetration block, the server needs to use the block confidence judgment unit of the control fault point tracing network to evaluate the prediction accuracy of the target fault penetration block, that is, to generate the prediction block confidence.
[0051] In detail, the server loads the first sample interconnection vector calculated previously into the block confidence determination unit. This block confidence determination unit is also based on the deep learning model, but focuses on evaluating the prediction confidence of the fault-penetrated block. The block confidence determination unit calculates the predicted block confidence of the target fault-penetrated block by analyzing the features in the interconnection vector and combining the weights and parameters within the model. This predicted block confidence is a scalar value between 0 and 1, reflecting the model's internal assessment of the accuracy of the predicted block.
[0052] After determining the target fault penetration block and its predicted block confidence, the server needs to further diagnose the specific fault point in the target fault penetration block. This involves using the functional operation trajectory vector of the sample and template control instance operation data to determine the fault point diagnosis confidence by controlling the fault diagnosis unit of the fault point tracing network.
[0053] Similar to the method of calculating the first sample interconnection vector, the server again compares the functional operation trajectory vectors of the sample and template control instance operation data, but this time to generate a second sample interconnection vector. This second sample interconnection vector will be used for subsequent fault diagnosis. The server loads the second sample interconnection vector to the fault diagnosis unit of the control fault point traceability network. The fault diagnosis unit focuses on the detailed analysis of a single control instruction, and generates the diagnostic confidence of each possible fault point by calculating the characteristic representation of the instruction and the interaction between the instructions. The fault diagnosis unit outputs the diagnostic confidence of each possible fault point in the target fault penetration block. These confidence values reflect the possibility of faults at each fault point, providing an important basis for subsequent troubleshooting and repair.
[0054] The above embodiments describe how to obtain the sample control instance operation data containing the control fault point to be traced and its corresponding template control instance operation data, and use the functional operation trajectory vector of these data to use the different units of the control fault point tracing network to determine the target fault penetration block, prediction block confidence and fault point diagnosis confidence. These steps together constitute the key links in the fault point tracing process and provide strong support for fault detection and repair of electroplating production lines.
[0055] For example, in a possible implementation, step S112 includes: Step S1121, extracting a function operation trajectory from the sample control instance operation data and the template control instance operation data, wherein the function operation trajectory includes nodes of continuous operation or state transitions, each node represents an operation or state, and an edge represents a transition relationship between operations or states.
[0056] In the electrode film removal control system of the electroplating production line, in order to quickly locate and solve the control fault, the server needs to analyze the sample control instance operation data containing the control fault point to be traced and its corresponding template control instance operation data. The functional operation trajectory vectors of these two sets of data are used to generate the first sample interconnection vector, which reflects the cross-correlation characteristics between the sample and template data, which is crucial for subsequent fault penetration prediction and fault diagnosis.
[0057] Specifically, the server first extracts function operation traces from the sample control instance operation data and the template control instance operation data. These function operation traces record the continuous operations or state transitions in the control process and are the basis for subsequent analysis.
[0058] For example, the server parses the sample control instance operation data and the template control instance operation data, extracts the control instruction sequence and its execution status, and forms a function operation trajectory. Each trajectory consists of a series of nodes, each node represents an operation or state, and the edges between nodes represent the conversion relationship between operations or states.
[0059] Step S1122, encoding corresponding node features for each node, wherein the node features include operation type, execution time, and execution result.
[0060] In order to more accurately represent each node in the function running trajectory, the server needs to encode the corresponding features for these nodes. In detail, the server traverses all nodes in the sample and template trajectories, and encodes the operation type, execution time, execution result and other features for each node. These features will be used for subsequent graph structure initialization and node similarity calculation.
[0061] Step S1123, converting the function operation trajectory into a graph structure, and initializing the weights of the nodes and edges in the graph structure according to the node features corresponding to each node, wherein each node in the graph structure represents an operation or state in the function operation trajectory, and the edge represents the order or logical relationship between the operations or states, and the weight reflects the importance or similarity of the nodes and edges.
[0062] The server converts the function running trajectory into a graph structure and initializes the weights of the nodes and edges in the graph according to the node features. In detail, the server converts the nodes and edges in the sample and template trajectories into vertices and edges in the graph structure. Each vertex represents an operation or state, and each edge represents the order or logical relationship between vertices. According to the characteristics of each node (such as operation type, execution time, execution result), the server assigns initial weights to the vertices and edges in the graph structure. These weights reflect the importance or similarity of nodes and edges, providing a basis for the subsequent calculation of the graph self-attention mechanism.
[0063] Step S1124, calculating the attention weights between nodes in the graph structure based on the graph self-attention mechanism, and updating the feature representations of each of the nodes based on the attention weights between the nodes, and then generating a sample control instance graph and a template control instance graph.
[0064] In order to capture the complex interactive relationships between nodes in the graph structure, the server uses the graph self-attention mechanism to calculate the attention weights between nodes and update the feature representation of the nodes accordingly.
[0065] In detail, the server uses the graph self-attention mechanism to calculate the attention weights of each node to other nodes based on the features and spatial position relationships between nodes. These weights reflect the strength of mutual influence between nodes. Based on the calculated attention weights, the server updates the feature representation of each node. This process takes into account the characteristics of the node itself as well as the characteristics of neighboring nodes, making the updated feature representation more comprehensive and accurate. After the feature update, the server generates a sample control instance graph and a template control instance graph for subsequent node similarity calculation and matching.
[0066] Step S1125, calculating the similarity between the nodes in the sample control instance graph and the template control instance graph, wherein the similarity calculation is based on the dot product and cosine similarity measurement methods of node embedding.
[0067] Step S1126, based on the similarity between the nodes, searching for a target node pair with similar nodes and consistent edge relationships between the sample control instance graph and the template control instance graph, and generating a matching result.
[0068] Step S1127: generating a first sample interconnection vector based on the similarity between the nodes and the matching result, wherein each dimension in the first sample interconnection vector represents the similarity or matching strength between a pair of target nodes.
[0069] In detail, the server calculates the similarity between the nodes in the sample control instance graph and the template control instance graph, and searches for a target node pair with similar nodes and consistent edge relationships based on the similarity.
[0070] For example, the server uses a measurement method such as dot product of node embedding and cosine similarity to calculate the similarity between the nodes in the sample control instance graph and the template control instance graph. These similarity values reflect the degree of similarity between the nodes. Based on the calculated similarity values, the server searches for target node pairs with similar nodes and consistent edge relationships between the sample control instance graph and the template control instance graph. These node pairs are the basis for the subsequent generation of the first sample interconnection vector.
[0071] Thus, the found target node pairs are recorded to generate matching results, which reflect the similarities between the sample control instance running data and the template control instance running data in terms of functional running tracks.
[0072] Based on the similarity and matching results between the nodes, the server generates a first sample interconnection vector, which describes the inter-correlation characteristics between the sample control instance operation data and the template control instance operation data.
[0073] In detail, the server generates a first sample interconnection vector according to the matching result and the similarity value between the nodes. The first sample interconnection vector is a multidimensional array, and each dimension represents the similarity or matching strength between a pair of target nodes. The higher the similarity or matching strength of the dimension, the stronger the consistency of the sample control instance operation data and the template control instance operation data on the node pair.
[0074] In a possible implementation, before step S112, the method further includes: Step B110, obtaining the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data according to the control fault point tracing network.
[0075] The step S112 includes: performing graph self-attention processing on the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data respectively according to the control fault point tracing network, and generating a first sample graph generation space of the sample control instance operation data and a first template graph generation space of the template control instance operation data. Performing cross-correlation analysis on the first sample graph generation space and the first template graph generation space according to the control fault point tracing network, and generating a first sample interconnection vector between the sample control instance operation data and the template control instance operation data.
[0076] In detail, in another embodiment, before starting to generate the first sample interconnection vector, the server first needs to obtain the functional operation trajectory vector of the sample control instance operation data and the template control instance operation data through the control fault point tracing network.
[0077] For example, the server inputs the sample control instance operation data and the template control instance operation data into the control fault point traceability network. These sample control instance operation data and template control instance operation data usually contain detailed information such as timestamps, control instructions, and execution status. The control fault point traceability network contains a trajectory extraction module, which is responsible for parsing the input data and extracting the functional operation trajectory. The trajectory extraction process may involve steps such as data cleaning and feature extraction to ensure that the extracted trajectory accurately reflects the control process. After extracting the functional operation trajectory, the trajectory extraction module converts these trajectories into functional operation trajectory vectors. These functional operation trajectory vectors are the basis for subsequent graph self-attention processing and cross-correlation analysis.
[0078] The server uses the control fault point tracing network to perform graph self-attention processing on the functional operation trajectory vectors of the sample and template control instance operation data to generate a sample graph generation space and a template graph generation space.
[0079] First, the server converts the function operation trajectory vector into a graph structure. In this graph, each node represents an operation or state, and the edge represents the conversion relationship between operations or states. Nodes and edges may also contain other feature information, such as execution time, execution results, etc. The control fault point tracing network applies the graph self-attention mechanism to process these graph structures. The graph self-attention mechanism can capture the complex interaction relationship between nodes in the graph and update the feature representation of the nodes by calculating the attention weights between nodes. This process enhances the expressiveness of node features in the graph and provides richer information for subsequent cross-correlation analysis. After graph self-attention processing, the server generates the first sample graph generation space of the sample control instance operation data and the first template graph generation space of the template control instance operation data. These two spaces contain the feature information of the sample and template data under the graph structure representation, respectively.
[0080] Next, the server uses the control fault point tracing network to perform a correlation analysis on the first sample graph generation space and the first template graph generation space to generate a first sample interconnection vector between the sample control instance operation data and the template control instance operation data.
[0081] For example, first, the server matches nodes in the graph generation space. This process may involve calculating the similarity between nodes (such as using metrics such as dot product of node embeddings, cosine similarity, etc.), and finding node pairs with similar features and consistent edge relationships. Based on the node matching, the server generates a first sample interconnection vector. This first sample interconnection vector is a multidimensional array, each dimension of which represents the similarity or association strength between a pair of matching node pairs. The higher the similarity or association strength of the dimension, the stronger the consistency between the sample and template data on the node pair. According to actual needs, the server may also optimize and adjust the first sample interconnection vector. For example, noise interference can be reduced by smoothing, or the influence of certain key features can be emphasized by weighting.
[0082] In a possible implementation, the control fault point tracing network includes two graph autoencoders with the same network architecture and shared network weight information. Step B110 includes: Step B111: Load the sample control instance operation data and the template control instance operation data into the two graph autoencoders respectively.
[0083] Step B112: using the two graph autoencoders, generating in parallel and separately the function operation trajectory vector of the sample control instance operation data and the function operation trajectory vector of the template control instance operation data.
[0084] In this embodiment, the server first prepares the sample control instance operation data and template control instance operation data to be processed. These data usually include a series of control instructions, execution timestamps, execution results, etc., and record the operation state transition in the control process in detail.
[0085] In detail, the server obtains sample and template control instance operation data from the electrode film removal control system through an API interface or database query. In order to ensure the consistency and accuracy of the data, the server may need to perform some pre-processing operations on the acquired data, such as data cleaning and formatting.
[0086] The server loads the preprocessed sample control instance operation data and template control instance operation data into two graph autoencoders in the control fault point tracing network. The two graph autoencoders have the same network architecture and shared network weight information, and can process input data in parallel.
[0087] In detail, the server assigns the sample control instance running data to the first graph autoencoder and the template control instance running data to the second graph autoencoder. After each graph autoencoder receives the data assigned to it, it loads it into the internal data processing module to prepare for subsequent encoding processing.
[0088] Among them, two graph autoencoders work in parallel, encoding and processing the sample control instance operation data and the template control instance operation data respectively, and generating their functional operation trajectory vectors. These vectors are important inputs for subsequent fault penetration prediction and fault diagnosis. Each graph autoencoder first constructs a corresponding graph structure based on the input data. In this graph, each node represents a control instruction or state, and the edge represents the conversion relationship between instructions or states. The graph autoencoder encodes the features of the nodes and edges in the graph structure. These features may include operation type, execution time, execution result, etc., which together describe the key information in the control process. The graph autoencoder processes the encoded features by self-encoding. This process usually includes multiple encoding and decoding layers, and learns the deep representation of data through layer-by-layer abstraction and reconstruction.
[0089] After the autoencoding process, the graph autoencoder outputs function trajectory vectors. These function trajectory vectors are low-dimensional embeddings of the input data under the graph structure representation, which capture the key dynamic features of the control process.
[0090] After the two graph autoencoders generate functional operation trajectory vectors of the sample control instance operation data and the template control instance operation data respectively, the server outputs these vectors and uses them for subsequent fault penetration prediction and fault diagnosis.
[0091] In detail, the server obtains the generated function operation trajectory vectors from the two graph autoencoders and stores them in memory or writes them to the database. The server uses these function operation trajectory vectors and combines them with other algorithms and models (such as fault penetration prediction unit, fault diagnosis unit, etc.) to perform fault point tracing analysis.
[0092] In a possible implementation, step S120 includes: Step S121 , obtaining shared block features between the fault permeation block label data and the target fault permeation block.
[0093] Step S122, obtaining global block features between the fault permeation block label data and the target fault permeation block.
[0094] Step S123 , determining the block confidence based on the ratio of the shared block feature corresponding to the target fault penetration block to the global block feature.
[0095] In this embodiment, in the electrode film removal control system of the electroplating production line, the server analyzes the sample control instance operation data by controlling the fault point traceability network to locate the potential fault penetration block. In order to evaluate the accuracy of these predicted blocks, the server needs to calculate the block confidence of the target fault penetration block. Block confidence is a quantitative indicator used to indicate the similarity or consistency between the predicted block and the real fault block.
[0096] In detail, the server first retrieves the fault penetration block label data corresponding to the sample control instance operation data from the fault database. These fault penetration block label data are manually annotated by experts, indicating the real fault penetration blocks, and are the benchmark for evaluating the prediction accuracy. The server executes SQL queries or other database operations to retrieve the fault penetration block label data associated with the sample control instance operation data from the fault database. The retrieved label data is loaded into the server's memory for subsequent processing.
[0097] Next, we need to extract the shared block features and global block features between the target fault penetration block (i.e., predicted block) and the fault penetration block label data (i.e., real block). The shared block features refer to the features shared by the predicted block and the real block, while the global block features refer to the unique features of the two blocks and their contextual information in the entire control process.
[0098] In detail, first clarify which features are considered as shared block features and global block features. These features may include the type of control instructions, execution order, execution time, execution results, etc. These defined features are extracted for the predicted block and the real block respectively. For shared block features, it is necessary to find the common parts of the two; for global block features, it is necessary to consider the unique parts of each and context information.
[0099] After extracting the shared block features and global block features, the server needs to calculate the ratio between the two feature sets. This ratio reflects the similarity or consistency between the predicted block and the real block, which is an important basis for determining the block confidence.
[0100] In detail, the number of shared block features and global block features are counted separately. The number can be expressed by the dimension of the feature vector, the number of elements, or other suitable metrics. Based on the number obtained by statistics, the ratio of shared block features to global block features is calculated. This ratio can be obtained by a simple division operation, that is, the number of shared block features divided by (the number of shared block features + the number of global block features).
[0101] Finally, the server determines the block confidence of the target fault penetration block based on the ratio of the shared block features to the global block features. The block confidence is a value between 0 and 1, and the higher the value, the closer the predicted block is to the real block.
[0102] Specifically, a mapping relationship or function is defined to map the ratio value to the value range of the block confidence. This mapping relationship can be linear, nonlinear or any other suitable form. The calculated ratio value is substituted into the mapping relationship to calculate the block confidence of the target fault penetration block.
[0103] In a possible implementation, step S130 includes: Step S133, obtaining shared block features between the fault permeation block label data and the target fault permeation block.
[0104] Step S134, obtaining global block features between the fault permeation block label data and the target fault permeation block.
[0105] Step S135 , obtaining the ratio of the shared block feature and the global block feature corresponding to the target fault penetration block.
[0106] Step S136, when the ratio is greater than the first target ratio, determining a second training cost based on the correct fault point labeling data corresponding to the sample control instance operation data and the fault point diagnosis confidence.
[0107] Step S137, when the ratio is less than the second target ratio, determining a second training cost based on the erroneous fault point labeling data corresponding to the sample control instance operation data and the fault point diagnosis confidence.
[0108] In this embodiment, in the electrode film removal control system of the electroplating production line, the server analyzes the sample control instance operation data by controlling the fault point traceability network, aiming to diagnose the specific fault point. In order to optimize the diagnostic performance of the network, the server needs to calculate the second training cost, which reflects the accuracy of the model in diagnosing the fault point. This calculation process depends on the fault point diagnosis confidence, the fault penetration block label data, and the characteristics of the target fault penetration block.
[0109] The server first needs to determine the shared block features and global block features between the target fault-penetrating block (predicted block) and the fault-penetrating block label data (real block). These features are used to evaluate the similarity between the predicted block and the real block.
[0110] In detail, the server extracts key features such as the type, execution order, execution time, and execution result of the control instructions from the predicted block and the real block. Next, the extracted features are divided into shared block features and global block features. Shared block features refer to features shared by two blocks, while global block features include their own unique features and context information.
[0111] After obtaining the shared block features and global block features, the server needs to calculate the ratio between these two types of features. This ratio reflects the degree of similarity between the predicted block and the real block.
[0112] Specifically, the number of shared block features and global block features is counted separately (which can be represented by the dimension of the feature vector, the number of elements, etc.). The number of shared block features is divided by (the number of shared block features + the number of global block features) to obtain a ratio value.
[0113] Furthermore, the server sets two target ratio values: a first target ratio and a second target ratio. The two ratio values are used to determine how to calculate the second training cost according to the fault point diagnosis confidence.
[0114] Specifically, the server compares the calculated ratio value with the first target ratio and the second target ratio. If the ratio is greater than the first target ratio, it means that the predicted block is highly similar to the real block. At this time, the second training cost should be determined based on the correct fault point labeling data corresponding to the sample control instance operation data and the fault point diagnosis confidence.
[0115] The server uses the fault points marked as correct in the sample control instance running data as a reference, compares the fault point diagnosis confidence with the labeled data of these correct fault points, and calculates the second training cost using cross entropy loss, mean square error or other appropriate loss functions based on the comparison results.
[0116] If the ratio is less than the second target ratio, it means that the predicted block is significantly different from the real block. In this case, the second training cost should be determined based on the error fault point labeling data and the fault point diagnosis confidence corresponding to the sample control instance operation data. The server uses the error fault point labeling that may exist in the sample control instance operation data as a reference (although it may be difficult to directly obtain clear error labels in actual operation, this is only a theoretical explanation). If there is no clear error labeling, the predicted point with the largest difference from the real block can be assumed as a potential error point.
[0117] In this case, it may be necessary to adjust the weight of the loss function or introduce a penalty term to emphasize the correction of incorrect predictions. The specific calculation method may be more complicated and needs to be designed according to the actual situation.
[0118] In a possible implementation manner, the target control fault point is a control fault point to be traced. The method further includes: Step C110, obtaining candidate electrode film removal control flow data.
[0119] Step C120, determining the first electrode film removal control segment including the control fault point to be traced in the candidate electrode film removal control flow data, and generating a template control segment to be traced.
[0120] Step C130, starting from the backward electrode film removal control segment of the first electrode film removal control segment, sequentially obtain electrode film removal control segments used as the operation data of the control instance to be traced.
[0121] Step C140, respectively load the control instance operation data to be traced and the template control fragment to be traced into the control fault point tracing network, and obtain the first interconnection identification vector and the second interconnection identification vector between the control instance operation data to be traced and the template control fragment to be traced according to the control fault point tracing network.
[0122] Step C150: loading the first interconnection identification vector into the fault penetration prediction unit of the control fault point tracing network to generate a plurality of target fault penetration blocks of the control instance operation data to be traced.
[0123] Step C160: loading the second interconnection identification vector into the fault diagnosis unit of the control fault point tracing network, and generating the fault point diagnosis confidence of each target fault penetration block of the control instance operation data to be traced.
[0124] Step C170: locating the control fault point to be traced from the control instance operation data to be traced based on the fault point diagnosis confidence of each target fault penetration block of the control instance operation data to be traced.
[0125] In this embodiment, the server first needs to obtain candidate electrode film removal control flow data from the control system of the electroplating production line. These candidate electrode film removal control flow data contain multiple continuous control segments, each of which records a series of control operations and their execution status during the electrode film removal process.
[0126] In detail, the server sends a data request to the electrode film removal control system, requesting to obtain candidate electrode film removal control flow data within a certain time range. The control system responds to the request and sends the candidate electrode film removal control flow data to the server. The server receives and stores this data for subsequent processing.
[0127] In the candidate electrode film removal control flow data, the server needs to find the first electrode film removal control segment that contains the control fault point to be traced, and use it as the template control segment to be traced. This template segment will serve as the benchmark for subsequent analysis.
[0128] In detail, the server first checks the fault point marking information (if any) in the candidate control flow data to determine which control segments contain the control fault point to be traced. If there is no direct fault point marking information, the server may need to use other methods (such as expert knowledge, historical data, etc.) to infer the first control segment containing the control fault point to be traced, and generate it as the template control segment to be traced.
[0129] Next, starting from the backward direction of the first electrode film removal control segment (i.e., the control segment of the template to be traced), the server sequentially obtains the subsequent control segments as the operation data of the control instance to be traced. These operation data of the control instance to be traced will be used for comparative analysis with the template segment.
[0130] Specifically, the server starts slicing after the template fragment in chronological order or control flow order, and obtains a series of control fragments as the running data of the control instance to be traced. The server stores these instance data in memory or writes them to the database so that they can be loaded into the control fault point traceability network for processing later.
[0131] The server loads the control instance operation data to be traced and the template control fragment to be traced into the control fault point tracing network respectively, and generates a first interconnection identification vector and a second interconnection identification vector between them through the network's graph autoencoder or other processing units.
[0132] In detail, the server formats the data of the instance data and the template fragment into the format required for network input, and loads them into the corresponding input layer of the control fault point tracing network. Through the graph self-attention mechanism, feature extraction and other processing processes inside the control fault point tracing, the first interconnection identification vector and the second interconnection identification vector are generated. These vectors reflect the cross-correlation characteristics between the instance data and the template fragment.
[0133] Then, the server loads the first interconnection identification vector to the fault penetration prediction unit of the control fault point tracing network to generate multiple target fault penetration blocks of the control instance operation data to be traced; and loads the second interconnection identification vector to the fault diagnosis unit to generate the fault point diagnosis confidence of each target fault penetration block.
[0134] In detail, the fault penetration prediction unit predicts possible fault penetration blocks in the instance data based on the feature information in the first interconnection identification vector. These fault penetration blocks are the basis for subsequent fault point diagnosis. The fault diagnosis unit calculates the diagnostic confidence of the fault point in each target fault penetration block based on the second interconnection identification vector and the output result of the fault penetration prediction unit. These confidences reflect the possibility of the existence of faults in each fault point.
[0135] Finally, based on the diagnostic confidence of the fault point of each target fault penetration block of the control instance operation data to be traced, the server locates the specific location of the control fault point to be traced from these control instance operation data to be traced. In detail, the server evaluates the diagnostic confidence of each fault point in each target fault penetration block, and finds the fault point with the highest confidence as the potential real fault point. According to the confidence evaluation result, the server locates the control instruction or state transition position of the fault point with the highest confidence in the instance data, which is the specific location of the control fault point to be traced.
[0136] In a possible implementation, the method further includes: Complete, get any input control instance running data.
[0137] Step D120, obtaining the control fault point tracing network that has completed network parameter learning.
[0138] Step D130 , determining a plurality of target fault permeation blocks of the arbitrary input control instance operation data according to the function operation trajectory vector of the arbitrary input control instance operation data and the fault permeation prediction unit.
[0139] Step D140 , determining the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data according to the functional operation trajectory vector of the arbitrary input control instance operation data and the fault diagnosis unit.
[0140] Step D150, tracing the control fault point of the arbitrary input control instance operation data based on the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data, and generating the fault penetration block where the target control fault point is located.
[0141] In this embodiment, the server receives any input control instance operation data from the electrode film removal control system. These data may be generated in real time or retrieved from historical logs for subsequent fault analysis.
[0142] In detail, the server receives input data from the control system through API interface, message queue or direct file transfer, etc. The server stores the received data to the local disk or remote database for subsequent processing and analysis.
[0143] In the previous step, the server has completed the training process of the control fault point tracing network, which has learned how to predict the fault penetration block and diagnose the fault point from the control instance operation data. Now, the server needs to load this trained network model.
[0144] In detail, the server retrieves the control fault point tracing network model file that completes network parameter learning from the model repository. The server loads the model file, initializes the network parameters and internal structure, and prepares for fault point tracing analysis.
[0145] The server uses the loaded control fault point tracing network to analyze the operation data of any input control instance and predict the possible target fault penetration block.
[0146] In detail, the server converts any input control instance operation data into a function operation trajectory vector and extracts key control instructions and operation status information. The server inputs the function operation trajectory vector into the fault penetration prediction unit of the control fault point tracing network. The unit analyzes the feature information in the trajectory vector based on the deep learning model and predicts multiple possible target fault penetration blocks.
[0147] After determining the target fault penetration blocks, the server needs to further analyze the specific control instructions and operating status within these blocks to diagnose the specific fault points and their confidence levels.
[0148] Specifically, the server extracts the characteristic information of the control instructions and operating status in each target fault penetration block. The server inputs the extracted characteristic information into the fault diagnosis unit of the control fault point traceability network. The unit analyzes the characteristic information based on the deep learning model and generates a diagnostic confidence for each possible fault point. This confidence indicates the possibility of a fault in the control instruction or state in the block.
[0149] Finally, the server comprehensively evaluates and determines the fault penetration block where the target control fault point is located based on the fault point diagnosis confidence of each target fault penetration block.
[0150] In detail, the server compares the diagnostic confidence of the fault points in each target fault penetration block, and finds the fault point with the highest confidence as the potential real fault point. Based on the block where the fault point with the highest confidence is located, the server determines the fault penetration block where the target control fault point is located. This block is the key area for subsequent troubleshooting and repair work.
[0151] In a possible implementation, the target control fault point is a control fault point to be traced. Step D110 includes: Step D111, obtaining any input control instance operation data and the template control segment corresponding to the arbitrary input control instance operation data. The template control segment is a control segment in the electrode film removal control flow data where the arbitrary input control instance operation data is located and before the arbitrary input control instance operation data, including the control instance operation data of the target control fault point.
[0152] Step D130 includes: Step D131 , determining a first interconnection vector between the arbitrary input control instance operation data and the template control segment according to the function operation trajectory vector of the arbitrary input control instance operation data and the function operation trajectory vector of the template control segment.
[0153] Step D132 : loading the first interconnection flux vector into the fault penetration prediction unit to generate a plurality of target fault penetration blocks of the arbitrary input control instance operation data.
[0154] Step D140 includes: Step D141 , determining a second interconnection vector between the arbitrary input control instance operation data and the template control segment according to the function operation trajectory vector of the arbitrary input control instance operation data and the function operation trajectory vector of the template control segment.
[0155] Step D142: loading the second interconnection flux vector into the fault diagnosis unit to generate the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data.
[0156] The specific technical implementation scheme related to this embodiment can be found in the description of the aforementioned embodiment and will not be repeated here.
[0157] In a possible implementation, the control fault point tracing network further includes a block confidence determination unit. The control fault point tracing network is trained using the block confidence cost of the block confidence determination unit, the target first training cost of the fault penetration prediction unit, and the target second training cost of the fault diagnosis unit. The block confidence cost is determined based on the predicted block confidence of the target fault penetration block and the block confidence of the target fault penetration block. The predicted block confidence is determined based on the functional operation trajectory vector of the sample control instance operation data and the block confidence determination unit.
[0158] Before step D150, the method further includes: loading the first interconnection flux vector into the block confidence determination unit to generate predicted block confidences of each target fault penetration block of the arbitrary input control instance operation data.
[0159] Step D150 includes: Step D151, performing corresponding weighted calculation on the predicted block confidence and the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data, to generate the target confidence of each target fault penetration block of the arbitrary input control instance operation data.
[0160] Step D152, tracing the control fault point of the arbitrary input control instance operation data based on the target confidence of each target fault penetration block of the arbitrary input control instance operation data, and generating the fault penetration block where the target control fault point is located.
[0161] The specific technical implementation scheme related to this embodiment can be found in the description of the aforementioned embodiment and will not be repeated here.
[0162] Figure 2 The hardware structure of the fault detection system 100 provided in the embodiment of the present application for implementing the above-mentioned fault detection method for the electrode film removal control system is shown, as shown in FIG. Figure 2 As shown, the fault detection system 100 may include a processor 110 , a machine-readable storage medium 120 , a bus 130 , and a communication unit 140 .
[0163] In one possible design, the fault detection system 100 can be a single server or a server group. The server group can be centralized or distributed (for example, the fault detection system 100 can be a distributed system). In some embodiments, the fault detection system 100 can be local or remote. For example, the fault detection system 100 can access information and / or data stored in the machine-readable storage medium 120 via a network. For another example, the fault detection system 100 can be directly connected to the machine-readable storage medium 120 to access the stored information and / or data. In some embodiments, the fault detection system 100 can be implemented on a fault detection system. By way of example only, the fault detection system can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc., or any combination thereof.
[0164] The machine-readable storage medium 120 may store data and / or instructions. In some embodiments, the machine-readable storage medium 120 may store data acquired from an external terminal. In some embodiments, the machine-readable storage medium 120 may store data and / or instructions that the fault detection system 100 uses to execute or use to complete the exemplary methods described in this application.
[0165] During the specific implementation process, one or more processors 110 execute computer executable instructions stored in the machine-readable storage medium 120, so that the processor 110 can execute the fault detection method for the electrode film removal control system in the above method embodiment. The processor 110, the machine-readable storage medium 120 and the communication unit 140 are connected through the bus 130, and the processor 110 can be used to control the sending and receiving actions of the communication unit 140.
[0166] The specific implementation process of the processor 110 can refer to the various method embodiments executed by the above-mentioned fault detection system 100. The implementation principles and technical effects are similar, and will not be repeated in this embodiment.
[0167] In addition, an embodiment of the present application also provides a readable storage medium, in which computer executable instructions are preset. When a processor executes the computer executable instructions, the fault detection method for an electrode film removal control system as described above is implemented.
[0168] It should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof. Similarly, it should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof.
Claims
1. A fault detection method for an electrode film removal control system, characterized in that: The method comprises: Acquire sample control instance operation data including target control fault points generated by the electrode film removal control system; Determine a target fault penetration block corresponding to the sample control instance operation data according to a functional operation trajectory vector of the sample control instance operation data and a fault penetration prediction unit of a control fault point tracing network; Calculating a block confidence of the target fault penetration block according to the fault penetration block label data corresponding to the sample control instance operation data, and calculating a first training cost according to the block confidence, wherein the block confidence is used to indicate the positioning accuracy of the target fault penetration block; Determine the fault point diagnosis confidence of the target fault penetration block according to the functional operation trajectory vector of the sample control instance operation data and the fault diagnosis unit of the control fault point tracing network, and calculate the second training cost according to the fault point diagnosis confidence, wherein the fault point diagnosis confidence is used to indicate the possibility that the target control fault point exists in the target fault penetration block; Optimizing the second training cost according to the block confidence, and optimizing the first training cost according to the fault point diagnosis confidence; Based on the optimized second training cost and the optimized first training cost, network parameter learning is performed on the control fault point tracing network until the network convergence requirements are met, and a control fault point tracing network that has completed network parameter learning is generated; wherein, the control fault point tracing network that has completed network parameter learning is used to trace the control fault point of any input control instance operation data.
2. The fault detection method for an electrode film removal control system according to claim 1, characterized in that: Before performing network parameter learning on the control fault point tracing network based on the optimized second training cost and the optimized first training cost, the method further includes: Determining the predicted block confidence of the target fault penetration block according to the block confidence determination unit of the control fault point tracing network; Determining a block confidence cost according to the predicted block confidence of the target fault penetration block and the block confidence of the target fault penetration block; The performing network parameter learning on the control fault point tracing network based on the optimized second training cost and the optimized first training cost includes: Network parameter learning is performed on the control fault point tracing network based on the block confidence cost, the optimized second training cost and the optimized first training cost.
3. The fault detection method for an electrode film removal control system according to claim 2, characterized in that: The target control fault point is the control fault point to be traced; the sample control instance operation data including the target control fault point generated by the electrode film removal control system is obtained, including: Acquire sample control instance operation data including a target control fault point generated by an electrode film removal control system and template control instance operation data corresponding to the sample control instance operation data; the template control instance operation data and the sample control instance operation data include the same target control fault point; The determining of the target fault penetration block corresponding to the sample control instance operation data by the fault penetration prediction unit according to the functional operation trajectory vector of the sample control instance operation data and the control fault point tracing network includes: Determining a first sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data; Loading the first sample interconnection pass vector into the fault penetration prediction unit to generate a target fault penetration block corresponding to the sample control instance operation data; The method of determining the predicted block confidence of the target fault penetration block according to the block confidence determination unit of the control fault point tracing network includes: Loading the first sample interconnection vector into the block confidence determination unit to generate a predicted block confidence of the target fault penetration block; The determining of the fault point diagnosis confidence of the target fault penetration block according to the functional operation trajectory vector of the sample control instance operation data and the fault diagnosis unit of the control fault point tracing network includes: Determine a second sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data; The second sample interconnection flux vector is loaded into the fault diagnosis unit to generate the fault point diagnosis confidence of the target fault penetration block; the first sample interconnection flux vector and the second sample interconnection flux vector reflect the cross-correlation characteristics between the sample control instance operation data and the template control instance operation data.
4. The fault detection method for an electrode film removal control system according to claim 3, characterized in that: Before determining a first sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data, the method further includes: Acquire a functional operation trajectory vector of the sample control instance operation data and a functional operation trajectory vector of the template control instance operation data according to the control fault point tracing network; The determining of a first sample interconnection vector between the sample control instance operation data and the template control instance operation data according to the function operation trajectory vector of the sample control instance operation data and the function operation trajectory vector of the template control instance operation data comprises: According to the control fault point tracing network, graph self-attention processing is performed on the functional operation trajectory vector of the sample control instance operation data and the functional operation trajectory vector of the template control instance operation data respectively, to generate a first sample graph generation space of the sample control instance operation data and a first template graph generation space of the template control instance operation data; The first sample graph generation space and the first template graph generation space are mutually correlated and analyzed according to the control fault point tracing network to generate a first sample interconnection vector between the sample control instance operation data and the template control instance operation data.
5. The fault detection method for an electrode film removal control system according to claim 4, characterized in that: The control fault point tracing network includes two graph autoencoders with the same network architecture and shared network weight information; the function operation trajectory vector of the sample control instance operation data and the function operation trajectory vector of the template control instance operation data obtained according to the control fault point tracing network include: Loading the sample control instance operation data and the template control instance operation data into the two graph autoencoders respectively; The two graph autoencoders are used to generate the function operation trajectory vector of the sample control instance operation data and the function operation trajectory vector of the template control instance operation data in parallel and separately.
6. The fault detection method for an electrode film removal control system according to claim 1, characterized in that: The step of calculating the block confidence of the target fault penetration block according to the fault penetration block label data corresponding to the sample control instance operation data includes: Acquire shared block features between the fault penetration block label data and the target fault penetration block; Acquire a global block feature between the fault penetration block label data and the target fault penetration block; The block confidence is determined based on a ratio of a shared block feature corresponding to the target fault penetration block to the global block feature.
7. The fault detection method for an electrode film removal control system according to claim 1, characterized in that: The calculating the second training cost according to the fault point diagnosis confidence comprises: Acquire shared block features between the fault penetration block label data and the target fault penetration block; Acquire a global block feature between the fault penetration block label data and the target fault penetration block; Obtaining a ratio of a shared block feature to a global block feature corresponding to the target fault penetration block; When the ratio is greater than the first target ratio, determining a second training cost based on the correct fault point labeling data corresponding to the sample control instance operation data and the fault point diagnosis confidence; When the ratio is less than the second target ratio, a second training cost is determined based on the erroneous fault point labeling data corresponding to the sample control instance operation data and the fault point diagnosis confidence.
8. The fault detection method for an electrode film removal control system according to claim 2, characterized in that: The target control fault point is a control fault point to be traced; the method further includes: Obtaining candidate electrode film removal control flow data; Determine the first electrode film removal control segment including the control fault point to be traced in the candidate electrode film removal control flow data, and generate a template control segment to be traced; Starting from the backward electrode film removal control segment of the first electrode film removal control segment, sequentially acquiring electrode film removal control segments as operation data of the control instance to be traced; The control instance operation data to be traced and the control fragment of the template to be traced are loaded into the control fault point traceability network respectively, and a first interconnection identification vector and a second interconnection identification vector between the control instance operation data to be traced and the control fragment of the template to be traced are obtained according to the control fault point traceability network; Loading the first interconnection identification vector to the fault penetration prediction unit of the control fault point tracing network to generate a plurality of target fault penetration blocks of the control instance operation data to be traced; Loading the second interconnection identification vector to the fault diagnosis unit of the control fault point tracing network to generate the fault point diagnosis confidence of each target fault penetration block of the control instance operation data to be traced; The control fault point to be traced is located from the control instance operation data to be traced based on the fault point diagnosis confidence of each target fault penetration block of the control instance operation data to be traced.
9. The fault detection method for an electrode film removal control system according to claim 1, characterized in that: The method further comprises: Get the running data of any input control instance; Obtain the control fault point tracing network that has completed network parameter learning; Determine a plurality of target fault penetration blocks of the arbitrary input control instance operation data according to the function operation trajectory vector of the arbitrary input control instance operation data and the fault penetration prediction unit; Determining the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data according to the functional operation trajectory vector of the arbitrary input control instance operation data and the fault diagnosis unit; Based on the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data, the control fault point is traced for the arbitrary input control instance operation data to generate the fault penetration block where the target control fault point is located; The target control fault point is the control fault point to be traced; the obtaining of any input control instance operation data includes: Obtaining any input control instance operation data and a template control segment corresponding to the arbitrary input control instance operation data; the template control segment is a control segment in the electrode film removal control flow data where the arbitrary input control instance operation data is located and before the arbitrary input control instance operation data, including the control instance operation data of the target control fault point; The determining of a plurality of target fault penetration blocks of the arbitrary input control instance operation data according to the function operation trajectory vector of the arbitrary input control instance operation data and the fault penetration prediction unit comprises: Determine a first interconnection vector between the arbitrary input control instance operation data and the template control segment according to the function operation trajectory vector of the arbitrary input control instance operation data and the function operation trajectory vector of the template control segment; Loading the first interconnection pass vector into the fault penetration prediction unit to generate a plurality of target fault penetration blocks of the arbitrary input control instance operation data; The step of determining the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data according to the function operation trajectory vector of the arbitrary input control instance operation data and the fault diagnosis unit comprises: Determine a second interconnection vector between the arbitrary input control instance operation data and the template control segment according to the function operation trajectory vector of the arbitrary input control instance operation data and the function operation trajectory vector of the template control segment; Loading the second interconnection vector into the fault diagnosis unit to generate a fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data; Wherein, the control fault point tracing network also includes a block confidence determination unit; the control fault point tracing network is trained using the block confidence cost of the block confidence determination unit, the target first training cost of the fault penetration prediction unit, and the target second training cost of the fault diagnosis unit; the block confidence cost is determined based on the predicted block confidence of the target fault penetration block and the block confidence of the target fault penetration block; the predicted block confidence is determined based on the functional operation trajectory vector of the sample control instance operation data and the block confidence determination unit; Before tracing the control fault point of the arbitrary input control instance operation data based on the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data to generate the fault penetration block where the target control fault point is located, the method further includes: Loading the first interconnection vector into the block confidence determination unit to generate predicted block confidences of each target fault penetration block of the arbitrary input control instance operation data; Based on the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data, the control fault point is traced for the arbitrary input control instance operation data to generate the fault penetration block where the target control fault point is located, including: Perform corresponding weighted calculation on the prediction block confidence and the fault point diagnosis confidence of each target fault penetration block of the arbitrary input control instance operation data to generate the target confidence of each target fault penetration block of the arbitrary input control instance operation data; Based on the target confidence of each target fault penetration block of the arbitrary input control instance operation data, the control fault point of the arbitrary input control instance operation data is traced to generate the fault penetration block where the target control fault point is located.
10. A fault detection system, characterized in that: The fault detection system includes a processor and a memory, the memory is connected to the processor, the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to implement the fault detection method for the electrode film removal control system described in any one of claims 1 to 9.
Citation Information
Patent Citations
Industrial control equipment operation state detection method and device and electronic equipment
CN112526970A
Fuel cell fault diagnosis method and system
CN118114101A
Electrolyte analyzer calibration fault processing method and system
CN118425277A
Fault discrimination and responsive processing based on data and context
US20150351673A1
Model-based fault detection system for electric motors
US6014598A
