A method, device, medium and equipment for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment

By analyzing sensor data through artificial intelligence, we build a fault diagnosis and operation and maintenance system for thermal power plant equipment, which solves the problem of sensor abnormality judgment, enables rapid and accurate fault location and provides troubleshooting guidance, and improves the operation and maintenance efficiency and safety of thermal power plants.

CN114169545BActive Publication Date: 2024-10-29EAST CHINA NORMAL UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111272382.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-10-29
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

It is difficult to accurately judge sensor anomalies in thermal power plants, which makes fault location difficult and may lead to safety risks and economic losses.

Method used

Using artificial intelligence methods, the sensor data is analyzed through sensor embedding vector network and multi-head self-attention graph neural network, the topology of sensor interrelationships is constructed, anomalies are predicted and troubleshooting guidance is provided.

Benefits of technology

It achieves rapid and accurate fault location, reduces the workload of operation and maintenance personnel, improves the accuracy and efficiency of fault handling, and reduces safety and economic risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114169545B_ABST
    Figure CN114169545B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, medium and equipment for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment. The present invention first learns the inherent characteristics of sensors to construct a relationship topology map between sensors. Then, a multi-head self-attention graph neural network is used on the relationship topology map to calculate the state characteristics of the sensor, and the state characteristics are used to calculate the predicted value of the sensor. The deviation score is calculated based on the difference between the predicted value and the observed value of the sensor, and the anomaly is determined based on the historical distribution of the deviation score. Relying on historical operation and maintenance data, a ranking model between sensor anomalies and corresponding faults is established, and an operation and maintenance plan is recommended by comprehensively considering the severity and probability of occurrence of the fault. The solution proposed by the present invention can quickly and accurately locate problems of thermal power equipment and provide solutions, thereby more effectively avoiding risks, reducing production costs, and improving production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment fault diagnosis and operation and maintenance, and in particular to a method, device, medium and equipment for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment. Background Art

[0002] The operation of thermal power plants involves multiple processes and equipment such as feeding, boiler combustion, boiler flue gas treatment, and turbine power generation. Any abnormality in any equipment may cause the entire system to fail, causing economic losses or even safety accidents. At present, thermal power plants generally install thousands to tens of thousands of sensors to collect real-time operating data of various equipment and report the data to the monitoring platform. At present, sensor abnormalities are usually judged by manually setting thresholds. It is difficult to accurately find the appropriate threshold in different environments, which can easily cause problems such as too frequent alarms or failure to detect abnormalities in the early stages of the abnormality; when a fault occurs, it often causes a chain reaction that causes multiple sensors to become abnormal. It is difficult for operation and maintenance personnel to locate the root fault point from the numerous abnormal sensors in a short time and take appropriate operation and maintenance measures. If the problem is not solved in time, it will bring greater safety risks and economic losses. Therefore, how to quickly locate the problem in complex phenomena and determine the operation and maintenance plan has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The purpose of the present invention is to provide a method, device, medium and equipment for intelligent fault diagnosis and operation and maintenance of thermal power plant equipment, which analyzes sensor anomalies through artificial intelligence methods, diagnoses faults based on abnormal sensors and provides solutions to the faults, thereby achieving the purpose of quickly locating and solving problems.

[0004] In a first aspect, the present invention provides a method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment, the method comprising:

[0005] Read the time series data of sensors on the device, group the data by time window, and divide the data into training set and test set according to the preset ratio;

[0006] Inputting samples of the training set into a sensor embedding vector network to obtain an embedding vector expressing sensor characteristics;

[0007] Calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors closest to each sensor as direct neighbors, where K is an adjustable parameter; thus, the topology of the relationship between sensors is obtained;

[0008] According to the data in the sensor time window and the topology of the relationship between sensors, the state characteristics of each sensor are extracted through the graph neural network with multi-head self-attention mechanism;

[0009] According to the obtained sensor state characteristics and the sensor observation values ​​in the most recent time window, the multi-layer perceptron neural network is used to predict the value of each sensor at the current moment;

[0010] The square difference between the current observation value and the predicted value is used as the supervision loss, and the modulus of all parameters to be learned is used as the regularization loss; the supervision loss and the regularization loss are weighted summed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network;

[0011] Calculate the mean and variance of the difference between the sensor's predicted value and the observed value, and normalize the difference to get the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold.

[0012] Establish a fault maintenance library based on business knowledge and historical maintenance records: determine the fault corresponding to the abnormality of a single sensor or sensor combination; determine the troubleshooting guide for the fault;

[0013] In daily work, the effectiveness of the troubleshooting guide is recorded according to the actual situation. Based on the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor anomalies is modeled through a sorting neural network.

[0014] For abnormal sensors, match one or more triggered faults in the fault operation and maintenance library; sort the triggered faults by probability through the sorting neural network, and output the troubleshooting guides corresponding to the top N faults;

[0015] The operation and maintenance personnel perform operations according to the troubleshooting guide and provide feedback on the operation results.

[0016] Furthermore, after obtaining the sensor embedding vector, the following method is used to calculate the sensor relationship topology:

[0017]

[0018] A ij =1{j∈TopK({e mi :m∈C i})}

[0019] where e ij is the normalized distance between nodes i and j; v i and v j are the embedding vectors of sensors i and j respectively; is the transpose of the embedding vector; C i A is the candidate set of sensors associated with sensor i, which is determined based on prior knowledge or is the set of all other sensors; ijis the adjacency matrix representing the relationship between sensors; e mi is the normalized distance between nodes i and m; TopK represents the selection of K nodes with the largest normalized distance.

[0020] Furthermore, after obtaining the topological map of the sensor relationships, the multi-head self-attention neural network extracts the state features of sensor i at time t using the following method:

[0021]

[0022]

[0023]

[0024]

[0025] where v i is the embedding vector of sensor i; W m is the mth linear transformation coefficient to be learned, is the data of sensor i in the time window at time t; represents the join operation; is the concatenation of the embedding vector of sensor i and the mth linear transformation of the sensor data; a m is the coefficient of the mth attention mechanism to be learned; LeakyReLU and ReLU are the activation functions of the neural network; π m (i,j) is the activation value of the mth attention mechanism of sensors i and j; is the coefficient of the mth attention head of sensor i and j;

[0026] Furthermore, the mean and variance of the difference between the sensor prediction value and the observed value are calculated, and the difference is normalized to obtain the deviation score; in order to eliminate the influence of measurement noise, when the deviation score after sliding average is greater than the adjustable threshold, the sensor is judged to be abnormal, specifically:

[0027] After obtaining the observed and predicted values ​​of the sensor, the deviation score of sensor i at time t is calculated using the following method:

[0028]

[0029]

[0030] in is the observation value of sensor i at time t, is the predicted value of sensor i at time t; and Respectively for a period of time The mean and variance of

[0031] In order to avoid false alarms caused by abnormal sensor jitter, the moving average method is used to judge the abnormality. Smoothing process if If it is greater than the threshold, it is judged that sensor i is in an abnormal state.

[0032] Furthermore, according to the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor abnormalities is modeled by sorting neural network, specifically:

[0033] The effectiveness data of the troubleshooting guide includes the diagnosed fault and whether the troubleshooting guide for the fault is effective. When training the ranking neural network, the observation value of the abnormal sensor, the diagnosed fault and whether the troubleshooting guide is effective are input, and the pairwise method of learning to rank is used for training, and the following cross entropy is used as the loss function to optimize the neural network:

[0034]

[0035]

[0036]

[0037] Loss=∑Loss ij

[0038] where s i 、s j is the probability score of faults i and j output by the network; P ij is the probability that fault i is more relevant than fault j; S ij is a training label with values ​​of {+1, 0, -1}, which respectively represent that fault i has higher relevance, equal relevance, and lower relevance than fault j; is the true value of the probability that fault i is more relevant than fault j; Loss ij is the cross entropy loss function of a single sample; Loss is the loss function of all samples.

[0039] In a second aspect, the present invention provides a device for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment, the device comprising:

[0040] A preprocessing unit, which is used to read sensor input data, group the data by time windows, and divide the data into training sets and test sets according to a preset ratio;

[0041] The sensor prediction model training and reasoning calculation unit is used to input the samples of the training set into the sensor embedding vector network to obtain the embedding vector expressing the sensor characteristics; calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors with the closest distance as direct neighbors for each sensor, where K is an adjustable parameter; thereby obtaining the topology of the relationship between the sensors; extracting the state characteristics of each sensor through a multi-head self-attention mechanism graph neural network based on the data in the sensor time window and the topology of the relationship between the sensors; predicting the value of each sensor at the current moment through a multi-layer perceptron neural network based on the obtained sensor state characteristics and the sensor observation value in the most recent time window; in the model training stage, the square difference between the observation value and the predicted value at the current moment is used as the supervision loss, and the modulus size of all parameters to be learned is used as the regularization loss; weighted summing of the supervision loss and the regularization loss is performed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network;

[0042] The abnormal sensor reasoning calculation unit is used to calculate the mean and variance of the difference between the sensor prediction value and the observed value, and normalize the difference to obtain the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold.

[0043] The fault library unit determines the fault corresponding to the abnormality of a single sensor or a combination of sensors based on business knowledge and historical operation and maintenance records; determines the troubleshooting guide for the fault; retrieves the triggered fault based on the input abnormal sensor, and outputs the fault and the corresponding troubleshooting guide;

[0044] The fault sorting model training and reasoning calculation unit is used to input abnormal sensor values ​​and fault troubleshooting effects into the sorting neural network during the training phase, use the pairwise method of learning to rank for training, and use cross entropy as the loss function to optimize the model based on the actual fault situation; in the reasoning calculation phase, the abnormal sensor values ​​and triggered faults are input into the sorting neural network to obtain the probability order of the triggered faults;

[0045] The operation and maintenance guidance unit obtains the troubleshooting guides corresponding to the top N faults output by the fault sorting model training and reasoning calculation unit; the operation and maintenance personnel operate according to the troubleshooting guides and provide feedback on the operation results.

[0046] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for intelligent diagnosis and operation and maintenance guidance of thermal power plant equipment as described in an embodiment of the present invention.

[0047] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for intelligent diagnosis and operation and maintenance guidance of thermal power plant equipment as described in the embodiment of the present invention is implemented.

[0048] The technical solution provided by the present invention adopts sensor embedding vectors to learn the topology of sensor relationships, and adopts a multi-head self-attention graph neural network to learn sensor state characteristics based on this topology graph. The value of the sensor at the current moment is predicted by the state characteristics and the sensor value in the most recent time window, and whether the sensor is abnormal is determined by the difference between the predicted value and the actual observed value; a sorting model for sensor abnormality-triggered faults is established based on historical troubleshooting effectiveness feedback data, and the most likely N troubleshooting guidelines are output, thereby achieving the purpose of quickly and accurately locating faults and providing troubleshooting guidelines. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flow chart of a method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment provided in Example 1 of the present invention;

[0050] Figure 2 A schematic diagram of a sorting model provided in Example 1 of the present invention;

[0051] Figure 3 A structural block diagram of a thermal power plant equipment intelligent fault diagnosis and operation and maintenance guidance device provided in Example 2 of the present invention;

[0052] Figure 4 It is a structural schematic diagram of an electronic device provided in Example 3 of the present invention. DETAILED DESCRIPTION

[0053] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0054] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0055] Example 1

[0056] Figure 1 It is a flow chart of the intelligent fault diagnosis and operation and maintenance guidance method for thermal power plant equipment provided in Example 1 of the present invention. This embodiment can be applicable to the scenario of fault diagnosis and operation and maintenance of thermal power plant equipment. The method can be executed by the intelligent fault diagnosis and operation and maintenance guidance device provided in the embodiment of the present invention. The device can be implemented by software and / or hardware and can be integrated into electronic equipment.

[0057] like Figure 1 As shown, the thermal power plant equipment intelligent fault diagnosis and operation and maintenance guidance method includes:

[0058] S110, read the sensor time series data on the thermoelectric device, group the data according to the time window, and divide the data into a training set and a test set according to a preset ratio; input the training set samples into an embedding vector network composed of an Embedding layer and a BatchNormalize layer to obtain an embedding vector for each sensor, which reflects the inherent properties of the sensor; then calculate the normalized distance between the sensor embedding vectors, where sensors with a small distance are closely related, and sensors with a large distance are distant; the distance is calculated as shown in the following formula:

[0059]

[0060] where e ij is the normalized distance between nodes i and j; v i and v j are the embedding vectors of sensors i and j respectively; is the transpose of the embedding vector; C i is the candidate set of sensors associated with sensor i, which is determined based on prior knowledge or is the set of all other sensors;

[0061] After obtaining the distance of the sensor embedding vector, the adjacency matrix reflecting the relationship between sensors is calculated using the following method:

[0062] A ij =1{j∈TopK({e mi :m∈C i})}

[0063] Among them A ij is the adjacency matrix representing the relationship between sensors; e mi is the normalized distance between nodes i and m; C i is the candidate set of sensors associated with sensor i; TopK represents the selection of K nodes with the largest normalized distance.

[0064] The size of the sliding time, the dimension of the embedding vector, and the number of neighbors selected for each sensor can be used as hyperparameters and tuned according to actual scenario data.

[0065] S120, based on the sensor embedding vector and the mutual relationship adjacency matrix obtained in the above step S110, input the multi-head self-attention graph neural network to obtain the state characteristics of the sensor. The multi-head self-attention neural network uses the following method to extract the state characteristics of sensor i at time t

[0066]

[0067]

[0068]

[0069]

[0070] where v i is the embedding vector of sensor i; W m is the mth linear transformation coefficient to be learned, is the data of sensor i in the time window at time t; represents the join operation; is the concatenation of the embedding vector of sensor i and the mth linear transformation of the sensor data; a m is the coefficient of the mth attention mechanism to be learned; LeakyReLU and ReLU are the activation functions of the neural network; π m (i,j) is the activation value of the mth attention mechanism of sensors i and j; is the coefficient of the mth attention head for sensors i and j.

[0071] S130, the sensor state features obtained in the above step S120 and the sensor value of the most recent time window are input into the prediction neural network composed of linear transformation, Batch Normalize and ReLU layers, and the predicted value of the sensor is calculated; in the model training stage, the aforementioned embedding vector network, multi-head self-attention graph neural network and prediction network are optimized together; the mean square error of the sensor predicted value output by the prediction network and the actual value and the modulus weighted addition of the model parameters are used as the loss function, and the loss function formula is as follows:

[0072]

[0073] in, is the sensor prediction value at time t; y (t)is the actual value of the sensor at time t; ω is the size of the time window; λ is a weighted hyperparameter, which reflects the proportion of model regularization loss; θ is a model parameter.

[0074] During training, the Adam algorithm was used to iteratively optimize the model parameters, using a piecewise learning rate and an initial learning rate of 0.01.

[0075] Furthermore, after obtaining the observed value and predicted value of the sensor, the deviation score of sensor i at time t is calculated using the following method:

[0076]

[0077]

[0078] in is the observation value of sensor i at time t, is the predicted value of the sensor at time t. and Respectively for a period of time The mean and variance of .

[0079] S140, judging whether an abnormality occurs according to the deviation score of the sensor obtained in step S130. In order to avoid false alarms caused by abnormal sensor jitter, a sliding average method is used to judge the abnormality. Smoothing process if If it is greater than a preset threshold, it is judged that sensor i is in an abnormal state.

[0080] S150, collects fault information that occurs during the daily operation of the thermal power plant, including the sensor values ​​when the fault occurs and the troubleshooting measures adopted after the fault occurs; uses this information to build a fault library, and determines the fault corresponding to the abnormality of a single sensor or a combination of sensors based on business knowledge and historical operation and maintenance records; determines the troubleshooting guide for the fault; retrieves the triggered fault based on the input abnormal sensor, and outputs the fault and the corresponding troubleshooting guide;.

[0081] S160, based on the sensor anomalies and corresponding faults collected in step S150, as well as the historical data on the effectiveness of the troubleshooting guide, construct sensor anomaly and corresponding fault data pairs as training data for pairwise comparison. Input each pair of faults as follows Figure 2 The fault ranking model shown in the figure has two sets of abnormal sensor and fault data pairs as the model input. The input data is processed by the ranking score extractor to calculate the ranking score of the fault. The ranking scores of the input faults are subtracted, and the probability that fault 1 is ranked higher than fault 2 is calculated by the Sigmoid function. The model uses the following cross entropy loss function to optimize the model parameters:

[0082]

[0083]

[0084]

[0085] Loss=∑Loss ij

[0086] where s i 、s j is the probability score of faults i and j output by the network; P ij is the probability that fault i is more relevant than fault j; S ij is a training label with values ​​of {+1, 0, -1}, which respectively represent that fault i has higher relevance, equal relevance, and lower relevance than fault j; is the true value of the probability that fault i is more relevant than fault j; Loss ij is the cross entropy loss function of a single sample; Loss is the loss function of all samples.

[0087] In this embodiment, after the fault ranking model is obtained, the ranking of the triggered faults can be obtained according to the current sensor abnormality.

[0088] S170, input the abnormal sensor obtained in step S140 into the fault library obtained in step S150 to obtain the triggered fault and the corresponding troubleshooting guide; input the triggered fault set into the fault sorting model obtained in step S160, and output the fault sorting; output the top N faults and their corresponding troubleshooting guides; the operation and maintenance personnel perform operations according to the troubleshooting guides and provide feedback on the operation results.

[0089] The technical solution provided in Example 1 of the present invention adopts sensor embedding vectors to learn the topology of sensor relationships, and adopts a multi-head self-attention graph neural network to learn sensor state characteristics based on this topology graph. The value of the sensor at the current moment is predicted by the state characteristics and the sensor value in the most recent time window, and whether the sensor is abnormal is determined by the difference between the predicted value and the actual observed value; a sorting model for sensor abnormality-triggered faults is established based on historical troubleshooting effectiveness feedback data, and the most likely N troubleshooting guides are output, thereby achieving the purpose of quickly and accurately locating faults and providing troubleshooting guides.

[0090] Example 2

[0091] Figure 3 This is a structural block diagram of the intelligent fault diagnosis and operation and maintenance guidance device for thermal power plant equipment provided in Example 2 of the present invention. The device can execute the method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0092] The device may include:

[0093] A preprocessing unit 310 is used to read sensor input data, group the data by time window, and divide the data into a training set and a test set according to a preset ratio;

[0094] The sensor prediction model training and reasoning calculation unit 320 is used to input the samples of the training set into the sensor embedding vector network to obtain the embedding vector expressing the sensor characteristics; calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors with the closest distance as direct neighbors for each sensor, where K is an adjustable parameter; thereby obtaining the topology of the relationship between the sensors; extracting the state characteristics of each sensor through a graph neural network with a multi-head self-attention mechanism based on the data in the sensor time window and the topology of the relationship between the sensors; predicting the value of each sensor at the current moment through a multi-layer perceptron neural network based on the obtained sensor state characteristics and the sensor observation value in the most recent time window; in the model training stage, the square difference between the observation value and the predicted value at the current moment is used as the supervision loss, and the modulus size of all parameters to be learned is used as the regularization loss; weighted summing of the supervision loss and the regularization loss is performed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network;

[0095] The abnormal sensor reasoning calculation unit 330 is used to calculate the mean and variance of the difference between the sensor prediction value and the observed value, and normalize the difference to obtain a deviation score; in order to eliminate the influence of measurement noise, when the deviation score after sliding average is greater than an adjustable threshold, it is determined that the sensor is abnormal;

[0096] The fault library unit 340 determines the fault corresponding to the abnormality of a single sensor or a combination of sensors according to business knowledge and historical operation and maintenance records; determines the troubleshooting guide for the fault; retrieves the triggered fault according to the input abnormal sensor, and outputs the fault and the corresponding troubleshooting guide;

[0097] The fault sorting model training and reasoning calculation unit 350 is used to input abnormal sensor values ​​and fault troubleshooting effects into the sorting neural network in the training phase, use the pairwise method of learning to rank for training, and use cross entropy as the loss function to optimize the model according to the actual fault situation; in the reasoning calculation phase, the abnormal sensor values ​​and the triggered faults are input into the sorting neural network to obtain the probability order of the triggered faults;

[0098] The operation and maintenance guidance unit 360 obtains the troubleshooting guides corresponding to the top N faults output by the fault sorting model training and reasoning calculation unit; the operation and maintenance personnel perform operations according to the troubleshooting guides and provide feedback on the operation results.

[0099] The device can execute the method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment provided in Example 1 of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0100] Example 3

[0101] Embodiment 3 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment provided in all embodiments of the present invention is implemented:

[0102] Read the time series data of sensors on the device, group the data by time window, and divide the data into training set and test set according to the preset ratio;

[0103] Inputting samples of the training set into a sensor embedding vector network to obtain an embedding vector expressing sensor characteristics;

[0104] Calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors closest to each sensor as direct neighbors, where K is an adjustable parameter; thus, the topology of the relationship between sensors is obtained;

[0105] According to the data in the sensor time window and the topology of the relationship between sensors, the state characteristics of each sensor are extracted through the graph neural network with multi-head self-attention mechanism;

[0106] According to the obtained sensor state characteristics and the sensor observation values ​​in the most recent time window, the multi-layer perceptron neural network is used to predict the value of each sensor at the current moment;

[0107] The square difference between the current observation value and the predicted value is used as the supervision loss, and the modulus of all parameters to be learned is used as the regularization loss; the supervision loss and the regularization loss are weighted summed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network;

[0108] Calculate the mean and variance of the difference between the sensor's predicted value and the observed value, and normalize the difference to get the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold.

[0109] Establish a fault maintenance library based on business knowledge and historical maintenance records: determine the fault corresponding to the abnormality of a single sensor or sensor combination; determine the troubleshooting guide for the fault;

[0110] In daily work, the effectiveness of the troubleshooting guide is recorded according to the actual situation. Based on the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor anomalies is modeled through a sorting neural network.

[0111] For abnormal sensors, match one or more triggered faults in the fault operation and maintenance library; sort the triggered faults by probability through the sorting neural network, and output the troubleshooting guides corresponding to the top N faults;

[0112] The operation and maintenance personnel perform operations according to the troubleshooting guide and provide feedback on the operation results.

[0113] Any combination of one or more computer-readable media may be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.

[0114] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0115] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0116] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0117] Example 4

[0118] Embodiment 4 of the present invention provides an electronic device. Figure 4 Schematic diagram of the structure of an electronic device provided by Embodiment 4 of the present invention. Figure 4 As shown, this embodiment provides an electronic device, which includes: one or more processors 410; a storage device 420, which is used to store one or more programs. When the one or more programs are executed by the one or more processors 410, the one or more processors 410 implement the method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment provided in Embodiment 1 of the present invention. The method includes:

[0119] Read the time series data of sensors on the device, group the data by time window, and divide the data into training set and test set according to the preset ratio;

[0120] Inputting samples of the training set into a sensor embedding vector network to obtain an embedding vector expressing sensor characteristics;

[0121] Calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors closest to each sensor as direct neighbors, where K is an adjustable parameter; thus, the topology of the relationship between sensors is obtained;

[0122] According to the data in the sensor time window and the topology of the relationship between sensors, the state characteristics of each sensor are extracted through the graph neural network with multi-head self-attention mechanism;

[0123] According to the obtained sensor state characteristics and the sensor observation values ​​in the most recent time window, the multi-layer perceptron neural network is used to predict the value of each sensor at the current moment;

[0124] The square difference between the current observation value and the predicted value is used as the supervision loss, and the modulus of all parameters to be learned is used as the regularization loss; the supervision loss and the regularization loss are weighted summed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network;

[0125] Calculate the mean and variance of the difference between the sensor's predicted value and the observed value, and normalize the difference to get the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold.

[0126] Establish a fault maintenance library based on business knowledge and historical maintenance records: determine the fault corresponding to the abnormality of a single sensor or sensor combination; determine the troubleshooting guide for the fault;

[0127] In daily work, the effectiveness of the troubleshooting guide is recorded according to the actual situation. Based on the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor anomalies is modeled through a sorting neural network.

[0128] For abnormal sensors, match one or more triggered faults in the fault operation and maintenance library; sort the triggered faults by probability through the sorting neural network, and output the troubleshooting guides corresponding to the top N faults;

[0129] The operation and maintenance personnel perform operations according to the troubleshooting guide and provide feedback on the operation results.

[0130] Of course, those skilled in the art can understand that the processor 410 also implements the technical solution of the intelligent fault diagnosis and operation and maintenance guidance method for thermal power plant equipment provided in any embodiment of the present invention.

[0131] Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0132] like Figure 4 As shown, the electronic device includes a processor 410, a program and data storage device 420, a data input device 430 and a data output device 440; the number of processors 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the program and data storage device 420, the data input device 430 and the data output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The connection via data bus 450 is taken as an example.

[0133] The program and data storage device 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the intelligent fault diagnosis and operation and maintenance guidance method for thermal power plant equipment in Example 1 of the present invention.

[0134] The program and data storage device 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the program and data storage device 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the program and data storage device 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0135] The data input device 430 can be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The data output device 440 can include electronic devices such as a display screen and a speaker.

[0136] The electronic device provided by the embodiment of the present invention can make full use of massive sensor data, and obtain an intelligent fault diagnosis and operation and maintenance guidance method by embedding sensor network vectors, sensor state feature extraction network and fault sorting model model training and calculating sensor deviation scores, so as to complete the task of quickly and accurately locating faults and providing solutions.

[0137] The thermal power plant equipment intelligent fault diagnosis and operation and maintenance guidance device, medium and equipment provided in the above embodiments can execute the thermal power plant equipment intelligent fault diagnosis and operation and maintenance guidance method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiments, please refer to the thermal power plant equipment intelligent fault diagnosis and operation and maintenance guidance method provided in any embodiment of the present invention.

[0138] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment, characterized in that: include: Read the time series data of sensors on the device, group the data by time window, and divide the data into training set and test set according to the preset ratio; Inputting samples of the training set into a sensor embedding vector network to obtain an embedding vector expressing sensor characteristics; Calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors closest to each sensor as direct neighbors, where K is an adjustable parameter; thus, the topology of the relationship between sensors is obtained; According to the data in the sensor time window and the topology of the relationship between sensors, the state characteristics of each sensor are extracted through the graph neural network with multi-head self-attention mechanism; According to the obtained sensor state characteristics and the sensor observation values ​​in the most recent time window, the multi-layer perceptron neural network is used to predict the value of each sensor at the current moment; The square difference between the current observation value and the predicted value is used as the supervision loss, and the modulus of all parameters to be learned is used as the regularization loss; the supervision loss and the regularization loss are weighted summed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network; Calculate the mean and variance of the difference between the sensor's predicted value and the observed value, and normalize the difference to get the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold. Establish a fault maintenance library based on business knowledge and historical maintenance records: determine the fault corresponding to the abnormality of a single sensor or sensor combination; determine the troubleshooting guide for the fault; In daily work, the effectiveness of the troubleshooting guide is recorded according to the actual situation. Based on the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor anomalies is modeled through a sorting neural network. For abnormal sensors, match one or more triggered faults in the fault operation and maintenance library; sort the triggered faults by probability through the sorting neural network, and output the troubleshooting guides corresponding to the top N faults; The operation and maintenance personnel perform operations according to the troubleshooting guide and provide feedback on the operation results; among them: The topology of the relationship between the sensors is specifically as follows: TO ij =1{j∈TopK({e mi :m∈C i })} where e ij is the normalized distance between nodes i and j; v i and v j are the embedding vectors of sensors i and j respectively; is the transpose of the embedding vector; C i A is the candidate set of sensors associated with sensor i, which is determined based on prior knowledge or is the set of all other sensors; ij is the adjacency matrix representing the relationship between sensors; e mi is the normalized distance between nodes i and m; TopK represents the selection of K nodes with the largest normalized distance; The graph neural network using the multi-head self-attention mechanism extracts the state features of each sensor, specifically: extracting the state features of sensor i at time t where v i is the embedding vector of sensor i; W m is the mth linear transformation coefficient to be learned, is the data of sensor i in the time window at time t; represents the join operation; is the concatenation of the embedding vector of sensor i and the mth linear transformation of the sensor data; a m is the coefficient of the mth attention mechanism to be learned; LeakyReLU and ReLU are the activation functions of the neural network; π m (i,j) is the activation value of the mth attention mechanism of sensors i and j; is the coefficient of the mth attention head of sensor i and j; According to the effectiveness data of the troubleshooting guide, the probability of different faults triggered by sensor abnormalities is modeled by sorting neural network, specifically: The effectiveness data of the troubleshooting guide include the diagnosed fault and whether the troubleshooting guide for the fault is effective. When training the ranking neural network, the observation value of the abnormal sensor, the diagnosed fault and whether the troubleshooting guide is effective are input. The pairwise method of learning to rank is used for training, and the following cross entropy is used as the loss function to optimize the neural network: where s i 、s j is the probability score of faults i and j output by the network; P ij is the probability that fault i is more relevant than fault j; S ij is a training label with values ​​of {+1, 0, -1}, which respectively represent that fault i has higher relevance, equal relevance, and lower relevance than fault j; is the true value of the probability that fault i is more relevant than fault j; Loss ij is the cross entropy loss function of a single sample; Loss is the loss function of all samples.

2. The method according to claim 1, characterized in that The mean and variance of the difference between the sensor prediction value and the observed value are calculated, and the difference is normalized to obtain a deviation score; in order to eliminate the influence of measurement noise, when the deviation score after sliding average is greater than an adjustable threshold, it is determined that the sensor is abnormal, specifically: After obtaining the observed and predicted values ​​of the sensor, the deviation score of sensor i at time t is calculated using the following method: in is the observation value of sensor i at time t, is the predicted value of sensor i at time t; and Respectively for a period of time The mean and variance of In order to avoid false alarms caused by abnormal sensor jitter, the moving average method is used to judge the abnormality. Smoothing process if If it is greater than the threshold, it is judged that sensor i is in an abnormal state.

3. A device for realizing intelligent fault diagnosis and operation and maintenance guidance of thermal power plant equipment based on the method of claim 1, characterized in that: include: A preprocessing unit, which is used to read sensor input data, group the data by time windows, and divide the data into training sets and test sets according to a preset ratio; The sensor prediction model training and reasoning calculation unit is used to input the samples of the training set into the sensor embedding vector network to obtain the embedding vector expressing the sensor characteristics; calculate the distance between the embedding vector of each sensor and the embedding vector of other sensors, and select the K sensors with the closest distance as direct neighbors for each sensor, where K is an adjustable parameter; thereby obtaining the topology of the relationship between the sensors; extracting the state characteristics of each sensor through a multi-head self-attention mechanism graph neural network based on the data in the sensor time window and the topology of the relationship between the sensors; predicting the value of each sensor at the current moment through a multi-layer perceptron neural network based on the obtained sensor state characteristics and the sensor observation value in the most recent time window; in the model training stage, the square difference between the observation value and the predicted value at the current moment is used as the supervision loss, and the modulus size of all parameters to be learned is used as the regularization loss; weighted summing of the supervision loss and the regularization loss is performed to obtain the overall loss, and according to the overall loss, the optimization algorithm optimizes the embedding vector network, the multi-head self-attention graph neural network and the multi-layer perceptron network; The abnormal sensor reasoning calculation unit is used to calculate the mean and variance of the difference between the sensor prediction value and the observed value, and normalize the difference to obtain the deviation score. In order to eliminate the influence of measurement noise, the sensor is judged to be abnormal when the deviation score after sliding average is greater than the adjustable threshold. The fault library unit determines the fault corresponding to the abnormality of a single sensor or a combination of sensors based on business knowledge and historical operation and maintenance records; determines the troubleshooting guide for the fault; retrieves the triggered fault based on the input abnormal sensor, and outputs the fault and the corresponding troubleshooting guide; The fault sorting model training and reasoning calculation unit is used to input abnormal sensor values ​​and fault troubleshooting effects into the sorting neural network during the training phase, and train it using the pairwise method of learning to rank. The model is optimized using cross entropy as the loss function based on the actual fault situation. In the inference calculation stage, the abnormal sensor values ​​and the triggered faults are input into the sorting neural network to obtain the probability order of the triggered faults; The operation and maintenance guidance unit obtains the troubleshooting guides corresponding to the top N faults output by the fault sorting model training and reasoning calculation unit; the operation and maintenance personnel operate according to the troubleshooting guides and provide feedback on the operation results.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for intelligent diagnosis and operation and maintenance guidance of thermal power plant equipment as described in any one of claims 1-2 is implemented.

5. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for intelligent diagnosis and operation and maintenance guidance of thermal power plant equipment according to any one of claims 1-2 is implemented.

Citation Information

Patent Citations

  • Grid steady state discrimination method based on graph neural network pooling

    CN113240105A

  • System to analyze and enhance software based on graph attention networks

    US20200326934A1