Process early warning method and system for coupling structure analysis and estimation of all measurement points
Through the multi-core graph convolution estimation model and the feature approximation self-iteration strategy, the problem of insufficient coupling relationship modeling and error correction mechanisms between all measurement points in industrial process monitoring is solved, and accurate estimation and anomaly detection of all measurement points are achieved. Improved monitoring accuracy and safety.
Patent Information
- Application Number
- CN202210104209.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-01-28
AI Technical Summary
Existing industrial process monitoring methods are difficult to comprehensively and intuitively locate specific fault locations, and they lack effective modeling of the coupling relationship between all measurement points and an abnormality correction mechanism, resulting in inaccurate monitoring and problems of false alarms and missed alarms.
A multi-core graph convolution estimation model for coupling structure analysis of full measurement points is adopted, combined with the self-iterative strategy of feature approximation, to build a full measurement point estimation model based on multi-core graph convolution layers, through multi-input channel feature extraction and feature aggregation modules. Measurement points are estimated and early warning and error correction mechanisms are triggered during the online monitoring phase.
It achieves accurate estimation and abnormal detection of all measuring points, reduces false alarms and missed alarms, improves the intuitiveness and accuracy of monitoring, and enhances the safe and efficient operation of industrial production processes.
Smart Images

Figure CN114548701B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of industrial equipment operation process monitoring, and includes a self-iterative multi-kernel graph convolution estimation model for coupling structure analysis of all measurement points, a self-iterative strategy based on feature approximation, and a process early warning method and system using the model and the strategy. Background Art
[0002] Industrial process operation status monitoring is of great significance for improving production efficiency and ensuring production safety. The identification of operating conditions in complex industrial environments and the intelligent modeling of complex industrial systems are also important research directions of industrial artificial intelligence. Due to the continuous and uninterrupted operation of industrial processes, faults propagate and evolve between different levels, making the monitoring and diagnosis of industrial processes a complex problem. In order to monitor the working status of industrial production equipment, it is usually necessary to monitor a large number of measuring points to ensure the economy, efficiency and safety of the industrial production process. In the same production process, there is a mechanistic correlation between many measuring points, and the values of the measuring points and the relationship between the measuring points reflect the performance and health of the equipment.
[0003] Due to the complexity of industrial production processes, it is difficult to establish an accurate mechanism model for industrial production processes based on first principles. Therefore, data-driven methods have received a lot of attention in recent years. The data-driven method of extracting information from historical process data for modeling and monitoring operating conditions has become one of the hot areas of operating condition research. Specifically, statistical process monitoring methods usually establish monitoring models, define and calculate monitoring statistics, and judge the operating status of the process based on whether the statistics exceed the control limit. For example, methods based on principal component analysis, methods based on cointegration analysis, methods based on slow feature analysis, and methods based on independent component analysis; in addition, various neural networks and Bayesian networks are also widely used in industrial production process monitoring and anomaly detection scenarios. As an effective anomaly detection method, the autoencoder structure has been widely used in anomaly monitoring in many fields such as image anomaly detection and time series anomaly detection.
[0004] However, general process monitoring methods usually model process monitoring as a binary classification problem, judging whether it is faulty or not based on the overall operating status, or making a graded assessment of the overall health of the operating status. This method cannot directly locate certain specific fault locations or sensor measurement points. It is necessary to further use methods such as fault isolation and fault root cause tracing to locate the specific location of the fault and clarify the specific measurement points of the alarm, so as to facilitate further maintenance by front-line personnel. In addition, complex monitoring indicators are difficult for front-line operators to understand. Relatively speaking, directly giving the estimated value of the measurement point is more conducive to front-line operators to understand and locate the fault.
[0005] A large amount of process data and process data provide rich data support for judging the operating status of industrial processes and clarifying the causes of faults. The measurement point estimation described in the present invention is defined as taking the current and historical measurement data obtained by the sensors of each measurement point as input to reconstruct the estimated value of each measurement point under normal operating conditions at the current moment. On the basis of accurately estimating the measurement points, by detecting the significant deviation between the estimated value and the measured value, it can provide a direct reference for front-line personnel to troubleshoot faults.
[0006] For multivariate estimation tasks in industrial processes, the Multivariate State Estimation Technique (MEST) is a classic and effective method that has been widely used in many fields. The MEST method uses enough historical data collected under normal system conditions to build a process memory matrix, uses the current actual measured data to calculate the similarity with each historical state in the process memory matrix, and uses the similarity to perform a weighted summation of the historical states to obtain an estimate of the current system state.
[0007] However, on the one hand, this method has high requirements for the process memory matrix, which needs to include the entire normal operating range of the system and all special states of the system. It does not effectively model and learn the potential coupling relationship between variables in the system, and has poor generalization ability. On the other hand, it lacks a reliable error correction mechanism. When some variables in the system are abnormal, the current abnormal state may cause the similarity with some states in the process memory matrix that should not be similar to increase, resulting in abnormal estimates and deviations toward abnormal states, making it impossible to give accurate estimates, resulting in the inability to accurately judge the abnormality of the current state.
[0008] Soft measurement is also a feasible method for measuring point estimation. For a specific measuring point, estimating it using the information of other measuring points is consistent with the paradigm of general soft measurement tasks. With the use of a large number of industrial sensors and industrial Internet of Things technologies, a large amount of process data has been accumulated, providing support for data-driven soft measurement methods.
[0009] However, general soft measurement methods usually establish models with a few or some measurement points as outputs. Monitoring only a few measurement points cannot fully reflect the operating status of the process and ignores the correlation between some indicators. A possible strategy is to alternately establish a model with some indicators at the current moment as outputs and all other indicators as inputs. However, this method only uses a single indicator as the estimation target each time. For tasks with multi-measurement point estimation as the target, there is no deeper modeling and mining of the coupling relationship between measurement points. In addition, repeated feature extraction operations are performed on the information of a large number of measurement points, and multiple models need to be established, which is time-consuming and laborious.
[0010] With the rapid development of graph neural networks, some graph-based methods, such as graph convolutional networks, have achieved good results in tasks such as graph node classification. Graph-based methods require the determination of the adjacency matrix of the graph. Some methods for determining the adjacency matrix have been proposed, such as sparse coding-based methods, correlation measurement-based methods, and learning-based methods. However, the above methods only determine the adjacency matrix of a single graph. For an industrial process with complex internal mechanisms, a single adjacency matrix cannot fully describe the coupling relationship between many measurement points, and cannot effectively model the complex mechanism relationship between all measurement points.
[0011] In the normal operation of industrial production processes, an estimation model that can fully model the correlation between measurement points is undoubtedly good. However, when the physical quantities measured at certain measurement points change abnormally for some reason, it may cause the model's estimation of normal measurement points to be abnormal at the same time, that is, a false alarm; or cause the model's estimation of some abnormal measurement points to be abnormal, resulting in the inability to identify some abnormal measurement points, that is, a missed alarm. This is also the main difficulty faced by abnormal monitoring based on soft measurement or estimation methods. This type of method lacks an effective error correction mechanism for abnormal situations. Summary of the invention
[0012] The purpose of the present invention is to address the deficiencies of the prior art and propose a new process monitoring method and system for coupling structure analysis and error estimation of all measurement points. The present invention can give an estimated value of all measurement points and issue an alarm for abnormal measurement points, making up for the defects of traditional monitoring methods such as being incomplete, non-intuitive, inaccurate, and lacking an error correction mechanism to deal with abnormalities, which is of great significance for the safe and efficient operation of industrial production processes.
[0013] The objective of the present invention is achieved through the following technical solutions:
[0014] The process early warning method for coupling structure analysis and error estimation of all measurement points includes:
[0015] Model training phase:
[0016] 1) Collect the measurement data of all measurement points at each moment during the normal operation of industrial equipment from industrial control systems and historical records, and for each moment i, construct a data matrix X of size [n, len] containing the measurement data of all measurement points at moments i, i-1, ..., i-len+1 i As a sample, len is the length of the time window, and the sample is divided into a training set and a validation set in proportion.
[0017] 2) Constructing a full measurement point estimation model based on a multi-core graph convolutional layer, the full measurement point estimation model includes a multi-input channel feature extraction module, a feature aggregation module and a full measurement point estimation module connected in sequence. The multi-input channel feature extraction module includes multiple feature extractors for extracting features from different angles of the data matrix to obtain multiple feature matrices.
[0018] The feature aggregation module includes one or more layers of multi-core graph convolution layers, each of which multiplies the feature matrix corresponding to the p-th input channel by an adjacent kernel. The superposition between the input channels realizes the feature aggregation of multiple input channels between nodes, and then multiplies the weight matrix W on the right q As the feature matrix output by the qth output channel, the transformation and enhancement of each node’s own features are realized. is the adjacent kernel corresponding to the pth input channel and the qth output channel, which is an n×n matrix, where the diagonal is 0 and the remaining elements are all learnable parameters. Finally, the feature matrices output by all output channels of the last multi-core graph convolution layer are concatenated as the output of the feature aggregation module.
[0019] The full measurement point estimation module is used to obtain the initial estimation value of each measurement point at time i according to the feature matrix output by the feature aggregation module.
[0020] The full measurement point estimation model is based on the data matrix X of each moment i of the training set sample in step 1) i As input, the estimated value of the measurement data of all measurement points at time i is taken as output, and training is performed by minimizing the error between the estimated value and the true value.
[0021] 3) Verify the trained estimation model on the validation set, calculate the estimated deviation between the initial estimated value and the true value at each measurement point i output by the model, and calculate the control limit of each measurement point.
[0022] Online monitoring stage:
[0023] Collect and store the measurement data of all measurement points at each moment in the operation of the current industrial equipment in real time. After obtaining the data matrix at the current moment according to step 1), use the trained estimation model of all measurement points to estimate the measurement data of all measurement points at the current moment. If the estimation deviation of a measurement point exceeds the control limit, a pre-alarm is triggered.
[0024] Furthermore, the processing process of each multi-core graph convolution layer is as follows:
[0025]
[0026]
[0027] in, is the feature matrix of the qth output channel of the k+1th multi-core graph convolutional layer, H (k+l) p is the feature matrix of the p-th input channel of the k+1-th multi-kernel graph convolution layer, c in is the number of input channels, c out is the number of output channels, k = 1, 2, ...K, K is the number of multi-core graph convolutional layers of the feature aggregation module, and l represents the number of layers of the corresponding input channel feature extractor.
[0028] Furthermore, the feature matrices output by all output channels of the last multi-core graph convolutional layer are concatenated as the output of the feature aggregation module, specifically:
[0029]
[0030] H (K+l) is the feature matrix of the qth output channel of the Kth multi-core graph convolution layer, K is the number of layers of the multi-core graph convolution layer of the feature aggregation module, ξ is the activation function, c out is the number of output channels.
[0031] Furthermore, the full measurement point estimation model is also constrained by feature approximation during training, specifically:
[0032]
[0033] Among them, LF is the matrix obtained by splicing the feature matrices output by all input channels of the multi-input channel feature extraction module, FE is the matrix obtained by splicing the features of each measurement point in the feature matrix output by the feature aggregation module after being processed by the fully connected layer, and LF ju represents the element in the jth row and uth column of the LF matrix, FE ju Represents the element in the jth row and uth column in the FE matrix; n is the number of measurement points, and LD is the characteristic length.
[0034] Furthermore, the online monitoring stage also includes:
[0035] If the estimated deviation of a measuring point exceeds the control limit, a pre-alarm is triggered. At the same time, the abnormal features generated by the abnormal measuring point data are iteratively replaced using a self-iteration strategy based on feature approximation to optimize the estimated value of the measuring point. Specifically, the temporary feature matrix in the iteration process is defined as TMP=LF. The abnormal measuring points in the full measurement points are judged according to the difference between the estimated deviation of each measuring point output by the trained full measurement point estimation model and the control limit. The features corresponding to the abnormal measuring points in the temporary feature matrix are replaced with the features corresponding to the abnormal measuring points in the FE matrix to obtain the replaced temporary feature matrix. The replaced temporary feature matrix is then used as the input of the feature aggregation module. The trained full measurement point estimation model outputs the estimated value of the new measuring point obtained in this iteration. This iteration is repeated until the iteration converges or the number of iterations is reached. The iteration is stopped to obtain the estimated value of the full measurement point of the current system under the assumption that the system is operating normally after optimization. According to the optimized estimated value and the actual measured value obtained by the sensors of each current measurement point, the estimated deviation is calculated, and the current state is determined to be out of limit according to the control limit. If it is out of limit, the measuring point triggers an alarm, otherwise no alarm.
[0036] Furthermore, the data in the training set and the validation set are preprocessed by standardization using min-max.
[0037] Furthermore, the feature extractor is one or more of a fully connected layer, a long short-term memory layer, a convolutional neural network layer, and a Transformer neural network layer.
[0038] Furthermore, the full measurement point estimation module is composed of a fully connected layer.
[0039] A process early warning system for coupling structure analysis and error estimation of all measurement points includes one or more processors for executing the process early warning method for coupling structure analysis and error estimation of all measurement points.
[0040] The present invention designs and proposes a new process monitoring method based on coupling structure analysis and error estimation of all measurement points. This method can give the estimated value of all measurement points based on coupling structure analysis, and introduces a suitable error correction mechanism for abnormal conditions. It alarms the abnormal measurement points based on the deviation between the estimated value and the actual value, which makes up for the defects of traditional monitoring methods such as incomplete, non-intuitive, inaccurate monitoring, and lack of error correction mechanism for dealing with abnormalities. It is of great significance for the safe and efficient operation of industrial production processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 : Schematic diagram of the process of the present invention;
[0042] Figure 2 : Schematic diagram of correlation between test points on training data;
[0043] Figure 3:Structure diagram of multi-core graph convolution model for full measurement point estimation;
[0044] Figure 4 :Schematic diagram of the calculation process of the MKGCN layer;
[0045] Figure 5: Schematic diagram of the self-iteration strategy, where Figure 5a When it=0, Figure 5b for it=1,…;
[0046] Figure 6: Model monitoring effect diagram based on MKGCN, where Figure 6a This is the monitoring effect diagram of MKGCN's var1, 4, 8, and 12. Figure 6b This is the monitoring effect diagram of MKGCN's var13, 14, 20, and 27;
[0047] Figure 7 :Schematic diagram of some abnormal variables missed by the MEST method;
[0048] Figure 8 : Schematic diagram of some normal variables misreported by AE model;
[0049] Fig. 9 : Comparison of estimated values of measurement point 12 under different iteration numbers; DETAILED DESCRIPTION
[0050] The present invention is further described in detail below with reference to the accompanying drawings and specific examples.
[0051] The data used in the present invention comes from the normal data and abnormal data of the power generation process provided by a power plant in Zhejiang Province. The present invention realizes the estimation and monitoring of the full-scale working condition measurement points of the industrial production process, can provide the estimated values of the full-scale measurement points, and provide abnormal information for the abnormal measurement points when an abnormal situation occurs in the system, which can effectively improve the fault diagnosis efficiency of the industrial production process.
[0052] The process early warning method for all-measurement-point coupled structure analysis and error estimation of the present invention comprises the following steps:
[0053] Step 1) Collect data from the DCS control system and historical records, where the data includes data from all measurement points during the normal operation of industrial equipment for a sufficiently long period of time. Divide the data into a training set and a validation set in proportion. For example, the first 70% of the data can be divided into a training set and the last 30% of the data can be divided into a validation set in chronological order.
[0054] For the data x1, x2, ..., x in the training set m , perform min-max standardization preprocessing and record the maximum and minimum values, as follows:
[0055]
[0056] in, represents the minimum value in the training set, represents the maximum value in the training set, Contains the value of all measurement points at that moment, that is, the true value of all measurement points at that moment.
[0057] After applying the maximum and minimum values to standardize the original data, for each moment i, a data matrix X of size [n, len] is constructed i , where n is the total number of sensor measurement points in the system, and len is the time window length, that is, for a measurement point corresponding to a row in the data matrix X, the row contains the measurement data {y of the measurement point collected at time i, i-1, i-2, ..., i-len+1 with a length of len i-len+1 , ..., y i-2 ,y i-1 ,y i}.
[0058] Taking the actual production data of the induced draft fan of a coal-fired power plant as an example, the induced draft fan is one of the important auxiliary machines in the million-kilowatt ultra-supercritical unit in the power plant. By sucking the flue gas into the flue, a negative pressure is formed in the boiler, thereby increasing oxygen to make the fuel burn more fully. Once the induced draft fan fails, it may cause the main engine to shut down and affect the normal power supply of the power plant. The induced draft fan has a total of 33 measurement points, and the corresponding physical quantities are shown in Table 1:
[0059] Table 1 Correspondence table of induced draft fan measuring points
[0060]
[0061] The data used are all sampled every 3 minutes. The length of the data used for modeling is 4000, which are all data actually collected by the equipment under normal conditions, of which 80% are used for training and 20% are used for testing; a data of length 300 containing normal operation and abnormal operation (hereinafter referred to as the monitoring data set) is used to evaluate the monitoring performance of the model, among which in the abnormal operation data of the monitoring data set, variables 1, 4, 8, 12, 13, 14, 20, and 27 have high alarm anomalies, and the remaining 25 variables are normal. Define a variable set V, the elements in the set are all 33 variables; define an abnormal variable set F, the elements in the set are 8 abnormal variables; define a normal variable set N, the elements in the set are all normal variables.
[0062] The absolute value of the Spearman rank correlation coefficient SRCC can be used to evaluate the correlation between two indicators. The absolute value of the Spearman rank correlation coefficient is defined as follows:
[0063]
[0064] Where r, s represent the order sequence of any two different measurement points p, q. v is the vth p after sorting p in ascending order v The order of s, the vth term in s v is the vth q after q is sorted in ascending order v The order of Represent the mean of the measurement points p and q respectively, and Num represents the number of data points used to estimate the correlation. The Spearman correlation between two indicators is equal to the Pearson correlation between the rank values of the two indicators. SRCC is based on the order series, is non-parametric, and is suitable for nonlinear objects. The correlation between the measurement points on the training data is shown in the attached figure. Figure 2 As shown. From the thermal map matrix, it can be seen that the data of different measuring points have different degrees of correlation, and coupled structural analysis can be performed. Among them, there are multiple rectangular high-heat areas around the diagonal line, which is quite normal. As can be seen from Table 1, this is because the numbers of multiple quantities with similar physical meanings are also close, and their fluctuations under normal working conditions should obviously be similar. For example, when the equipment is under high load working state, the temperature of multiple bearings will rise synchronously.
[0065] Furthermore, a full-measurement point estimation model based on a multi-core graph convolutional layer is constructed. In the full-measurement point estimation model proposed in the present invention, the estimated value of each measurement point is not derived from its own current and historical measurement values, but is estimated using the current and historical measurement values of other measurement points. In the industrial production process, short-term failures in the measurement, transmission, processing and other links of certain measurement points often occur. Therefore, it is very beneficial to use the actual implementation of the model based on this method to avoid the inability to generate estimated values due to the lack of the measurement values of the measurement points themselves. Since the sensor measurement points are deployed in the same production process and are mechanistically connected to each other, there is a certain degree of correlation, and Figure 2 It also shows that data from different measuring points have different degrees of correlation, so this estimation method is reasonable.
[0066] The structure of the multi-core graph convolution model for full measurement point estimation is as follows: Figure 3 As shown in Figure 1, it consists of a multi-input channel feature extraction module, a feature aggregation module based on a multi-kernel graph convolution (MKGCN) layer, and a full measurement point estimation module. For each moment i, the model inputs the data matrix X i , output the estimated value of all n measurement points at time i assuming the system is under normal conditions.
[0067] Specifically, in the multi-input channel feature extraction module, multiple feature extractors are included. For the input data matrix X i, use different feature extractors to extract features from multi-channel inputs. The purpose of using inputs from multiple channels is to extract features from different angles. Different feature extractors are designed in different ways, such as different feature extraction methods, different hyperparameters, different frequency inputs, etc., which can be selected and designed accordingly according to the actual object characteristics. For example, when using a feature extraction module with two input channels, a bidirectional long short-term memory layer and a fully connected layer based on different feature extraction methods can be used as feature extractors for the two input channels. The long short-term memory layer (LSTM) is defined as follows:
[0068] i t =σ(W mm input t +b mm +W hm h t-1 +b hm ) (3)
[0069] f t =σ(W mf input t +b mf +W hf h t-1 +b hf ) (4)
[0070] o t =σ(W mo input t +b mo +W ho h t-1 +b ho ) (5)
[0071] g t =ξ(W mg input t +b mg +W hg h t-1 +b hg ) (6)
[0072] c t =f t *c t-1 +i t *g t (7)
[0073] h t =o t *ξ(c t ) (8)
[0074] Where σ is the Sigmoid activation function, ξ is the Tanh activation function, * represents the Hadamard product, i t , f t , o t , c t , g t Respectively represent the input gate, forget gate, output gate, cell state, and information to be written in LSTM. t Represents the input at the current moment. For the first layer of LSTM, its input is X i .W mm , W hm , W mf , W hf , W mo , W ho , W mg , W hg are weight matrices, b mm , b hm , b mf , b hf , b mo , b ho , b mg , b hg is the bias parameter. The long short-term memory layer is used to extract the time series features contained in the historical data of a single indicator. For the input matrix input t The features obtained by forward inputting the long short-term memory layer in time sequence, For input t The features obtained by inputting the long short-term memory layer in reverse order, is the output of the bidirectional long short-term memory layer, which is the input t The bidirectional long short-term memory layer is input in the forward and reverse directions respectively, and then the output features are concatenated.
[0075]
[0076] The fully connected layer (FC) is defined as follows:
[0077] F (a) =ξ(F (a-1) W (a) +b (a) ) (11)
[0078] Among them, F (a-1) is the output of the previous layer of the network. For the first layer, it is X i , W (a) and b (a) is a trainable parameter, and ξ corresponds to the Tanh activation function.
[0079] In this embodiment, at each moment, the data of each measuring point is subjected to feature extraction only once in each channel. The following uses two input channels as an example, namely, c in = 2, and the bidirectional long short-term memory layer and the fully connected layer are used to extract the features in the original data, and two feature matrices H of size [n, 2×ld] are obtained. (l) 1. H (l) 2, l represents the number of layers of the corresponding feature extractor. Correspondingly, in this embodiment, both are taken as 1. The output H of the first layer network in the entire network structure can be obtained by splicing the two. (1) Among them, the superscript of the feature matrix indicates the output of the feature matrix by the layer network of the feature extractor of the corresponding channel, and the subscript indicates the channel to which the feature matrix belongs. The feature length of the single-directional long short-term memory network output is ld, and the feature length of the fully connected layer output is 2×ld.
[0080] In the feature aggregation module based on the multi-core graph convolution layer, based on the multi-core graph convolution layer proposed in the present invention, the aggregation and update of node features in the full measurement point graph are realized. The calculation process of the multi-core graph convolution layer is shown in the attached figure. Figure 4 As shown in Figure 2. The features of each node in the updated graph are aggregated and updated from the original features of other nodes. The features of each node after the update do not contain its own original features. The node feature matrix H representing the multi-channel full measurement point graph is input into the multi-core graph convolution layer to obtain the output feature matrix of multiple channels.
[0081] For example, in a multi-core graph convolutional layer, the number of input channels is c in , the number of nodes is no in , each node characteristic length is fe in The characteristic matrix H of the graph (l) , the size is [c in , no in ,fe in ] Output feature matrix H (l+1) , the number of channels is c out , the size is [c out , no out ,fe out ]. In this process, the features of all nodes in the graph are aggregated and updated. For the scenario in the present invention, the number of nodes in the input channel and the output channel is the same, which is the total number of measurement points n, that is, no in =no out =n.
[0082] The present invention regards all measurement points as a full measurement point graph. Due to the complexity, unknownness, and randomness of the working mechanism of the industrial process, the functional relationship between the measurement points is partially or completely unknown, so the structure of the process full measurement point graph is unknown. Therefore, the adjacency matrix of the process full measurement point graph is initialized to a matrix with diagonal lines of 0 and all other elements of 1, that is, the full measurement point graph is initialized to a fully connected graph without self-loop structure, as shown below. The initialization method can be adjusted according to the situation where the mechanism is known.
[0083] A=Ones n×n -I (12)
[0084] Ones n×n is a matrix of size n×n whose elements are all 1, and I is a unit matrix of size [n, n]. cd =1, then the information of variable d is used to predict variable c, that is, the information of node d flows into node c. However, the values of the off-diagonal lines in the adjacency matrix are all 1, which cannot reflect the strength of the correlation between the measurement points. Therefore, the adjacency kernel is defined as
[0085]
[0086] in is the same shape as A, where the elements are matrices of learnable parameters and ⊙ represents matrix dot product. Multiplying it with the adjacency matrix A retains the information of A initialization and also allows the connection weights between nodes in the graph to be learned, making the adjacency kernel The present invention adopts multiple adjacent core groups, each of which contains multiple adjacent core groups. This allows for more robust capture of the coupling relationships between complex process variables contained in the multi-channel input graph, and the output features of multiple channels are obtained. The definition of the multi-core graph convolution layer is as follows:
[0087]
[0088] p=1,2...c in ; q = 1, 2...c out
[0089]
[0090] q=1,2...c out
[0091] q=1,2...where concat is a concatenation operation. is the adjacent kernel corresponding to the pth input channel and the qth output channel. The concept of channel described here is similar to the concept of RGB channel in an image. (k+l) p Left multiply adjacent kernel The superposition between the input channels realizes the feature aggregation of multiple input channels between nodes; the right multiplication of the weight matrix W q , which is consistent with the classic graph convolutional network, thereby realizing the transformation and enhancement of each node's own features; the two work together from different dimensions to realize the aggregation and update of node features in the full measurement point graph, k = 1, 2, ... K, K is the number of layers of the multi-core graph convolution layer of the feature aggregation module. The feature aggregation module can be one or more layers of multi-core graph convolution layers, each of which is processed according to formulas (14)-(16), and the last layer of multi-core graph convolution layer splices the feature matrices output by all output channels as the output of the feature aggregation module:
[0092]
[0093] ξ is the activation function, and the Tanh activation function is selected.
[0094] In the full measurement point estimation module, for each node corresponding to a certain measurement point, the full measurement point estimation module composed of a fully connected layer and other methods is used to obtain the initial estimate of each measurement point at time t based on the updated features output by the multi-core graph convolution layer. In the subsequent steps, the initial estimate will be corrected using a self-iteration strategy based on feature alignment to obtain a more reliable estimate, which is especially necessary for system abnormalities.
[0095] After the full-scale measurement point estimation model based on the multi-core graph convolution layer is constructed, the model is initialized using methods such as the Xavier initialization method. During the model training process, the feature approximation strategy is applied, as shown in the attached Figure 4 As shown in the figure, the c of each measurement point after updating the output of the multi-core graph convolution layer out The feature approximation layer implemented by the unbiased fully connected layer compresses the multi-channel features into single-channel features. During the model training process, the single-channel features are approximated with the features of the multi-input channel feature extraction module. The feature approximation is as follows:
[0096]
[0097] FE=concat(FC j (MK j )) (18)
[0098]
[0099] j=0,...n-1;u=1,...,LD
[0100] Among them, LF is the matrix obtained by concatenating the feature matrices output by all input channels of the multi-input channel feature extraction module. Taking the case of two input channels, where the feature extractors are the bidirectional long short-term memory layer and the fully connected layer, the node feature matrix extracted by the bidirectional long short-term memory layer channel is H (1) 1. The feature matrix extracted by the fully connected layer channel is H (1) 2. The two are concatenated in the feature dimension to obtain LF; MK j The node feature matrix H is obtained by the feature aggregation module (l+K) The feature corresponding to the jth measuring point in . LD represents the feature length, which is equal to 4×ld in this embodiment. LF ju represents the elements in the LF matrix, FE ju Represents the elements in the FE matrix, that is, the feature approximation layer (fully connected layer) corresponding to each measurement point is used to convert c out After the features of each channel are compressed into a single-channel feature, the compressed features are approximated with the features extracted from the original data through the bidirectional long short-term memory layer and the fully connected layer along the feature dimension. Generally speaking, it is easy to reconstruct the original data using a structure without information bottlenecks. Therefore, the feature approximation module enables the MKGCN layer to reconstruct the features of each current measurement point from the features of other nodes. The more important role of the feature approximation layer is to provide support for the self-iteration strategy based on feature approximation in the online monitoring stage.
[0101] During the model training process, on the one hand, the estimation accuracy of the model is optimized; on the other hand, the updated node features aggregated by the MKGCN layer are kept close to the features in the original data extracted by the multi-input channel feature extraction module. The RMSE indicator is defined as follows:
[0102]
[0103] where y i is the true value at the current moment i, is the estimated value obtained by the model at the current time i, and m represents the sequence length. The loss function during training is defined as follows:
[0104] loss = RMSE + λ × J (21)
[0105] λ=epoch+10 (22)
[0106] During the training process, the hyperparameter λ is increased linearly with the number of training rounds, so as to ensure that the feature approximation constraint is always maintained during the training process. Epoch is the number of rounds of the current training.
[0107] Furthermore, the trained estimation model is verified on the validation set, and the estimated deviation between the initial estimated value and the true value at each measurement point output by the model at time t is calculated, and the control limit of each measurement point is calculated, specifically:
[0108] Define the estimated deviation at a certain measuring point i as follows:
[0109]
[0110] Where n is the total number of measurement points, is the true value of the j-th measuring point at the current i-th moment, is the estimated value of the jth measuring point at time i. Based on the trained model, the kernel density estimation is performed on the deviation of each measuring point estimated on the validation set to obtain the error control limit as follows:
[0111]
[0112] KDE is the kernel density estimate, significant_level is the confidence limit, which is usually between 0 and 1. level =0.98, which can be adjusted according to actual conditions.
[0113] Online monitoring stage:
[0114] The current data is collected and stored in real time. After being standardized and constructed in the same way as the training set, the trained estimation model based on the multi-core graph convolution layer is applied to estimate the values of all measurement points at the current moment. The estimated value and the absolute value of the difference between the estimated value and the true value are the estimation errors.
[0115] According to the estimated value and the actual value obtained by the sensor of each current measuring point, the deviation is calculated, and the control limit is used to determine whether the current state exceeds the limit. If it exceeds the limit, the pre-alarm is triggered. At this time, the self-iteration strategy based on feature approximation is triggered to correct the estimated value. Specifically, the temporary feature matrix in the iteration process is defined as TMP=LF, and the abnormal measuring points in the full measurement points are judged according to the difference between the estimated deviation of each measuring point output by the trained full measurement point estimation model and the control limit. The features corresponding to the abnormal measuring points in the temporary feature matrix are replaced with the features corresponding to the abnormal measuring points in the FE matrix to obtain the replaced temporary feature matrix, and then the replaced temporary feature matrix is used as the input of the feature aggregation module, and the trained full measurement point estimation model outputs the estimated value of the new measuring point obtained in this iteration. Iterate in this way until the iteration converges or reaches the number of iterations, and stop the iteration to obtain the estimated value of the full measurement points of the current system after optimization under the assumption that the system is operating normally. The process of the self-iteration strategy is shown in Figure 5. In the self-iterative strategy, as the iteration process proceeds, in each iteration, the features of the abnormal or missing measurement points are replaced by the features of the measurement points estimated by other measurement points, thereby gradually eliminating the interference of the abnormal measurement point features on the estimation of other measurement points, and obtaining more accurate estimates of all measurement points. Two adjustable thresholds are used to control the maximum number of iterations to meet the real-time requirements of the system. On the one hand, the maximum number of iterations is defined. max , when the number of feature iterations exceeds the maximum number of iterations it max On the other hand, the estimated change threshold γ is defined. When the estimated value obtained from two iterations changes less than the threshold γ, it means that the iteration has converged and the iteration can be stopped, so as to obtain the estimated value of all measurement points of the current system assuming that the system is operating normally after optimization. According to the optimized estimated value and the actual measured value obtained by the sensors of each current measurement point, the deviation is calculated, and the control limit is used to determine whether the current state exceeds the limit. If it exceeds the limit, the measurement point triggers an alarm. The self-iteration process is as follows:
[0116]
[0117]
[0118] Among them, FECLU represents the feature aggregation module.
[0119] The proposed MKGCN-based full-measurement point estimation model is compared with seven commonly used reference models. It is worth mentioning that the research of this invention expects to obtain the estimated value of each measurement point, so as to provide an effective reference that can be intuitively understood for front-line personnel, so the selected comparison method also needs to be able to provide the estimated value of each measurement point. The selected comparison methods include: partial least squares regression (PLSR), extreme learning machine (ELM), fully connected network (FC), long short-term memory network (LSTM), one-dimensional convolutional network (Conv1d), graph convolutional network (GCN), multivariate state estimation (MEST), autoencoder (AE), including a variety of commonly used linear, nonlinear, full-measurement point synchronization estimation models based on graph convolutional network layers for soft measurement tasks, and classic multivariate state estimation methods.
[0120] RMSE and MAE indicators are used to evaluate the distance between the predicted value and the true value of each indicator. The true value sequence is defined as y = {y1, y2, ..., y m}, the predicted value sequence is Where m is the sequence length. MAE is defined as follows:
[0121]
[0122] MAE evaluates the prediction error of soft measurement based on l1-norm distance. This embodiment uses false alarm rate, false negative rate, and F1 value to evaluate the monitoring performance of the model, where the F1 value is defined as shown in the formula.
[0123]
[0124] Recall rate = 100% - false negative rate (28)
[0125] Correct rate = 100% - false alarm rate (29)
[0126] The grid search method is used to obtain the optimal hyperparameters of various models, as shown in Table 2. It can be seen that among various deep neural network models, the MKGCN model proposed in this invention requires relatively few model parameters under the optimal parameters. And only a single model is needed to estimate all the measurement points, without the need to establish the same number of models as the number of measurement points.
[0127] Table 2 Grid search results and total parameters of deep neural network method under optimal hyperparameters
[0128]
[0129] Table 3 Estimation results of different models on test data (mean, RMSE)
[0130]
[0131] Table 4 Estimation results of different models on test data (mean value, MAE)
[0132]
[0133] Table 5 Monitoring indicators on monitoring data (average value, var∈N)
[0134]
[0135] Table 6 Monitoring indicators on monitoring data (average value, var∈F)
[0136]
[0137] From the experimental results in Table 2, Table 3, and Table 4, the estimation accuracy of the estimation model based on MKGCN proposed by the present invention is in the first echelon, and the total model parameters required are significantly smaller than those of other working condition models. It can be seen from the optimal parameters obtained by grid search that the MKGCN model replaces the reliance on high-dimensional features in the process of improving the estimation accuracy of the model by introducing multi-channel characteristics, thereby saving the parameters required for the model, making the model lighter, and being able to synchronously estimate all measurement points through a single model. The reuse of each variable feature also saves model parameters.
[0138] It can be seen from Tables 5 and 6 that although the estimation model based on MKGCN also has a certain degree of false alarm and missed alarm, it has achieved significantly better monitoring effects than other comparison methods for both normal and abnormal measurement points. The monitoring effect is shown in Figure 6, where for each measurement point, the curve in the upper figure is the reconstruction error of the measurement point, and the straight line is the error control limit; curve ① in the lower figure is the estimated value of the measurement point obtained by the model, and curve ② is the actual measured value obtained from the sensor.
[0139] The monitoring effect of the GCN model is also good, which shows that the graph-based method explicitly considers the coupling relationship between the measurement points and tends to make the estimation result optimal as a whole. Therefore, when a fault occurs, it can accurately reflect the abnormal estimation of abnormal variables while avoiding the mutual influence of abnormal and normal variable estimations as much as possible. Compared with the GCN method, the MKGCN method improves the monitoring accuracy of abnormal measurement points while significantly reducing the false alarm phenomenon of normal measurement points.
[0140] For the MEST method, when a fault occurs, the change in system characteristics causes the observation vector to deviate from the normal working space. Since the abnormal measurement points interfere with the calculation of similarity, it is impossible to use the combination of historical vectors in the memory matrix to accurately estimate each measurement point under abnormal conditions. Especially when the system has multiple variables that are abnormal, the process of calculating similarity tends to "cater to" the abnormal measurement points, resulting in significant underreporting of abnormal measurement points. For other comparative methods, since each model is only optimized with the estimation accuracy of a single measurement point as the goal during the modeling process, there is a lack of modeling and estimation of the current overall state of the system, which leads to the estimation of normal measurement points and abnormal measurement points being easily interfered with each other when an abnormality occurs, and neither can achieve accurate estimation, resulting in more false alarms and underreporting. Some abnormal variables missed by the MEST method are shown in the attached figure. Figure 7 shown.
[0141] The present invention proposes an estimation-based monitoring model for all measurement points, which is similar to the autoencoder from the perspective of input and output. The core idea of using autoencoders for anomaly detection is to use an autoencoder trained with normal data to learn the patterns in normal data, so the error is smaller when reconstructing normal data than when reconstructing abnormal data. The model proposed in the present invention has a different focus compared to the autoencoder structure. In addition to fault monitoring of the operating status of all measurement points, the goal of the model proposed in the present invention is to reconstruct the normal operating status to provide a reference for production personnel; while the anomaly detection models based on autoencoders mostly focus on evaluating whether the overall operating status is abnormal, rather than accurately locating whether each measurement point is abnormal.
[0142] For the autoencoder structure (AE), unlike other comparative methods, when estimating each measuring point, its own current and historical information is also used to estimate the current measuring point, that is, the model not only captures the correlation between measuring points but also considers the influence of the measuring point itself. In order to be consistent with other methods involved in the present invention, the model input X is the data of each measuring point provided by the sensor, and the size of X is [n, len], where n is the number of sensor measuring points, including the measurement data of time i, i-1, i-2, ..., i-len+1 with a length of len. The model outputs the estimated value of all n measuring points at the current time i, that is, the current time information and historical information are used to reconstruct the current time information. For the autoencoder structure, grid search is also used to find the optimal hyperparameters. The number of measuring points n = 33. To prevent overfitting, the hyperparameter value range is ld = {4, 8, 16}.
[0143] The experimental results are attached Figure 8As shown in Table 7, the estimation model based on the autoencoder can achieve fairly accurate reconstruction of normal data, which is quite natural, because for each measurement point, the measured values of all measurement points at the current moment and historical moments are used to estimate the measured values at the current moment, directly utilizing the target output information contained in the input data, making it relatively easy for the AE model to accurately reconstruct the data when the data is normal. However, similar to other comparison methods, when the operating state is abnormal, although the AE model can identify that the overall state of the current process is abnormal, it is manifested as a significant deviation between the estimated values and the measured values of many measurement points, generating an alarm. However, due to the mutual interference of the estimation process between the measurement points, the abnormal features are used to estimate the normal, making it impossible for the AE model to accurately distinguish between abnormal measurement points and normal measurement points. Obvious false alarms occur for normal measurement points, and the full measurement points cannot be accurately estimated. Some normal measurement points are identified as abnormal.
[0144] Table 7 Comparison of experimental results between AE and MKGCN
[0145]
[0146] In order to reflect the impact of the multi-channel characteristics of the MKGCN layer on the model, let the number of output channels c out = 1, re-search the hyperparameter ld in ld = [8, 16, 32, 64, 128] and get c out =1, the optimal hyperparameter ld = 128, and the number of model parameters is 2.2×10 7 As can be seen from Table 7 and Table 8, the estimation accuracy has not been effectively improved when the parameters increase significantly, indicating that the introduction of multi-channel features helps save model parameters.
[0147] Table 8 Single-channel and multi-channel performance comparison
[0148]
[0149] The comparison of performance indicators with the multi-channel case is shown in Table 8. When the test data estimation performance under normal conditions is similar, the total number of parameters required for the single-channel model is significantly more than that of the multi-channel case, indicating that the introduction of multi-channel characteristics helps to capture the relationship between measurement points more efficiently. Under abnormal conditions, the monitoring performance of multi-channel is significantly better than that of single-channel, indicating that the model in the single-channel case tends to increase the feature length ld to improve the estimation accuracy, but this leads to a certain degree of overfitting for normal conditions through learnable adjacent kernels and longer features, resulting in a significant decrease in anomaly detection capabilities when abnormal conditions occur. The introduction of multi-channel characteristics can model the relationship between measurement points in a more diverse and robust manner.
[0150] In the estimation model Figure 3Based on the above, the model uses the optimal hyperparameters obtained in the previous article. This embodiment also shows the experimental results of no self-iteration (it=0), a small amount of self-iteration (it=5), and sufficient self-iteration (it=50), where it is the number of self-iterations. The performance index changes are shown in Table 9. When the number of iterations is sufficient, the negative impact of abnormal features on the estimation of other measurement points can be basically eliminated.
[0151] Table 9 Comparison of self-iteration effects
[0152]
[0153] From Table 9, the introduction of the self-iteration strategy can effectively improve the estimation of normal measurement points by continuously replacing abnormal features with relatively normal features, thereby effectively reducing the false alarm of normal measurement points. For abnormal measurement points, the use of the self-iteration strategy can also obtain more accurate estimates under normal conditions through iterative optimization, such as the attached Fig. 9 As shown in Figure 2, after self-iteration, the over-estimated values of abnormal measurement points are optimized.
[0154] The present invention proposes a multi-core graph convolution estimation model for the analysis of the coupling structure of all measurement points, and based on this, introduces a self-iteration strategy and designs a systematic process monitoring method. Compared with the classical multivariable state estimation method, the measurement point estimation and monitoring method proposed in the present invention can more effectively model the coupling relationship between measurement points and improve the monitoring performance. Compared with the general monitoring method, it is more intuitive and comprehensive. By treating many measurement points as nodes in a full-measurement point graph of industrial production, the present invention proposes a multi-core graph convolution layer to effectively model and learn the coupling structure between measurement points, and establishes monitoring indicators based on the estimation deviation, thereby realizing the synchronous estimation and monitoring of all measurement points. And by introducing the self-iteration strategy based on feature approximation as an error correction mechanism, the interference of abnormal features on the estimation of normal measurement points is effectively eliminated. The effectiveness of the proposed method in real scenarios was verified by the actual production data of the important auxiliary induced draft fan in the million-kilowatt ultra-supercritical unit of a thermal power plant. The method proposed in the present invention significantly reduces the false alarm of normal measuring points under system abnormal conditions with fewer model parameters, and can achieve accurate estimation and effective monitoring of each measuring point, which is of great significance for quickly and accurately locating the cause of a fault when a fault occurs.
[0155] Corresponding to the aforementioned embodiment of the process early warning method for coupling structure analysis and error estimation of all measurement points, the present invention also provides an embodiment of a memory allocator metadata alternating mapping system based on persistent memory.
[0156] An embodiment of the present invention provides a process early warning system for coupled structure analysis and error estimation of all measurement points, including one or more processors for implementing the process early warning method for coupled structure analysis and error estimation of all measurement points in the above embodiment.
[0157] The implementation process of the functions and effects of each unit in the above system is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.
[0158] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A process early warning method for coupling structure analysis and error estimation of all measurement points, characterized in that: include: Model training phase: 1) Collect the measurement data of all measurement points at each moment during the normal operation of industrial equipment from industrial control systems and historical records, and for each moment i, construct a data matrix X of size [n,len] containing the measurement data of all measurement points at moments i,i-1,…,i-len+1 i As samples, len is the time window length, and the samples are divided into training set and validation set in proportion; 2) Constructing a full-measurement point estimation model based on a multi-core graph convolution layer, the full-measurement point estimation model includes a multi-input channel feature extraction module, a feature aggregation module and a full-measurement point estimation module connected in sequence; wherein the multi-input channel feature extraction module includes a plurality of feature extractors for extracting features from different angles of a data matrix to obtain a plurality of feature matrices; the feature aggregation module includes one or more layers of multi-core graph convolution layers, each layer of the multi-core graph convolution layer multiplies the feature matrix corresponding to the p-th input channel of the input by an adjacent kernel The superposition between the input channels realizes the feature aggregation of multiple input channels between nodes, and then multiplies the weight matrix W on the right q As the feature matrix output by the qth output channel, the transformation and enhancement of each node’s own features are realized. is the adjacent kernel corresponding to the pth input channel and the qth output channel, which is an n×n matrix, where the diagonal is 0 and the remaining elements are all learnable parameters; finally, the feature matrices output by all output channels of the last multi-core graph convolution layer are concatenated as the output of the feature aggregation module; The full measurement point estimation module is used to obtain the initial estimation value of each measurement point at time i according to the feature matrix output by the feature aggregation module; The full measurement point estimation model is based on the data matrix X of each moment i of the training set sample in step 1) i As input, the estimated value of the measurement data of all measurement points at time i is taken as output, and training is performed by minimizing the error between the estimated value and the true value; 3) Verify the trained estimation model on the validation set, calculate the estimated deviation between the initial estimated value and the true value at each measurement point i output by the model, and calculate the control limit of each measurement point; Online monitoring stage: Collect and store the measurement data of all measurement points at each moment in the operation process of the current industrial equipment in real time. After obtaining the data matrix at the current moment according to step 1), use the trained full measurement point estimation model to estimate the measurement data of all measurement points at the current moment; if the estimation deviation of any measurement point exceeds the control limit, a pre-alarm is triggered.
2. The method according to claim 1, characterized in that The processing process of each multi-core graph convolution layer is as follows: in, is the feature matrix of the qth output channel of the k+1th multi-core graph convolutional layer, H (k+l) p is the feature matrix of the p-th input channel of the k+1-th multi-kernel graph convolution layer, c in is the number of input channels, c out is the number of output channels, k = 1, 2, ... K, K is the number of multi-core graph convolutional layers of the feature aggregation module, and l represents the number of layers of the corresponding input channel feature extractor.
3. The method according to claim 1, characterized in that The feature matrices output by all output channels of the last multi-core graph convolutional layer are concatenated as the output of the feature aggregation module, specifically: H (K+l) is the feature matrix of the qth output channel of the Kth multi-core graph convolution layer, K is the number of layers of the multi-core graph convolution layer of the feature aggregation module, ξ is the activation function, c out is the number of output channels.
4. The method according to claim 1, characterized in that: The full-measurement point estimation model is also constrained by feature approximation during training, specifically: Among them, LF is the matrix obtained by splicing the feature matrices output by all input channels of the multi-input channel feature extraction module, FE is the matrix obtained by splicing the features of each measurement point in the feature matrix output by the feature aggregation module after being processed by the fully connected layer, and LF ju represents the element in the jth row and uth column of the LF matrix, FE ju Represents the element in the jth row and uth column in the FE matrix; n is the number of measurement points, and LD is the characteristic length.
5. The method according to claim 4, characterized in that The online monitoring stage also includes: If the estimated deviation of a measuring point exceeds the control limit, a pre-alarm is triggered. At the same time, the abnormal features generated by the abnormal measuring point data are iteratively replaced using a self-iteration strategy based on feature approximation to optimize the estimated value of the measuring point. Specifically, the temporary feature matrix in the iteration process is defined as TMP=LF. The abnormal measuring points in the full amount of measuring points are judged according to the difference between the estimated deviation of each measuring point output by the trained full amount of measuring point estimation model and the control limit. The features corresponding to the abnormal measuring points in the temporary feature matrix are replaced with the features corresponding to the abnormal measuring points in the FE matrix to obtain the replaced temporary feature matrix. The replaced temporary feature matrix is then used as the input of the feature aggregation module. The trained full amount of measuring point estimation model outputs the estimated value of the new measuring point obtained in this iteration. This iteration is repeated until the iteration converges or the number of iterations is reached. The iteration is stopped to obtain the estimated value of the full amount of measuring points of the current system under the assumption that the system is operating normally after optimization. The estimated deviation is calculated based on the optimized estimated value and the actual measured value obtained by the sensors of each current measuring point. Whether the current state exceeds the limit is determined based on the control limit. If it exceeds the limit, the measuring point triggers an alarm, otherwise no alarm is given.
6. The method according to claim 1, characterized in that: The data in the training set and the validation set are preprocessed by standardization using min-max.
7. The method according to claim 1, characterized in that: The feature extractor is one or more of a fully connected layer, a long short-term memory layer, a convolutional neural network layer, and a Transformer neural network layer.
8. The method according to claim 1, characterized in that: The full measurement point estimation module consists of fully connected layers.
9. A process early warning system for coupling structure analysis and error estimation of all measurement points, characterized by: It comprises one or more processors for executing the process early warning method for coupling structure analysis and error estimation of all measurement points as described in any one of claims 1 to 8.
