An industrial process early fault detection method driven by data knowledge combination

By combining process knowledge and data to calculate the mutual information values ​​between variables, constructing a load matrix and extracting latent variables, the problem of poor interpretability of early fault detection in traditional methods is solved, and high-sensitivity detection of early faults in industrial processes is achieved.

CN122862744BActive Publication Date: 2026-11-27SHANDONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611330171.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-27
Estimated Expiration
2046-08-31

AI Technical Summary

Technical Problem

Traditional multivariate statistical methods fail to fully utilize important knowledge such as process reaction mechanisms and technological processes, resulting in poor interpretability and insufficient sensitivity in detecting early-stage failures in industrial processes.

Method used

By combining process knowledge and data, the mutual information values ​​between variables are calculated, a load matrix is ​​constructed, latent variables are extracted and control limits of statistics are calculated, and a sliding window is used to amplify small abnormal signals, thereby improving the reliability and interpretability of fault detection.

Benefits of technology

It achieves highly sensitive detection of early-stage faults in industrial processes, improves the reliability and interpretability of fault detection, accurately reflects the actual variable relationships in industrial processes, and amplifies minute abnormal signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122862744B_ABST
    Figure CN122862744B_ABST
Patent Text Reader

Abstract

The application provides a data-knowledge joint driving industrial process early fault detection method, relates to the technical field of industrial process monitoring and fault diagnosis, and specifically comprises the following steps: collecting normal process variable data; obtaining knowledge-based correlation between variables and obtaining data-based correlation between variables, grouping the variables according to the obtained variable correlation and constructing a load matrix; extracting latent variables by using the load matrix, calculating Hotelling statistics and a control limit, and converting the statistics into a probability value; obtaining a detection statistic and a control limit; collecting real-time process variable data; calculating Hotelling statistics and converting the statistics into a probability value by using the obtained Hotelling statistic control limit; obtaining a detection statistic, and comparing the detection statistic with the control limit to judge whether a fault occurs or not. The technical scheme of the application overcomes the problem that the prior art fails to fully utilize important knowledge such as process reaction mechanism and process flow and has poor sensitivity to early faults.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial process monitoring and fault diagnosis, specifically to a data-knowledge-driven method for early fault detection in industrial processes. Background Technology

[0002] Traditional multivariate statistical methods mostly focus only on the statistical characteristics of data, such as mean and variance, failing to fully utilize important knowledge such as process reaction mechanisms or technological flows. This results in poor interpretability and may affect the performance of the methods. Complex industrial processes typically involve numerous variables such as temperature, pressure, flow rate, and concentration, which have certain physical, chemical, and control correlations within or between them. These correlations can be effectively utilized as important process knowledge. Furthermore, traditional methods are mainly used to monitor severe faults, with relatively little analysis of early-stage faults. In practice, many severe faults evolve gradually from small-amplitude early-stage faults. Timely detection of early-stage faults can ensure the safe, stable, and efficient operation of industrial processes.

[0003] Therefore, there is a need for a data- and knowledge-driven method for detecting early-stage industrial process faults that can combine data and knowledge, improve the reliability and interpretability of fault detection, and have high sensitivity to early-stage faults in industrial processes. Summary of the Invention

[0004] The main objective of this invention is to provide a data-knowledge-driven method for detecting early-stage faults in industrial processes, in order to address the problems in existing technologies that fail to fully utilize important knowledge such as process reaction mechanisms and technological processes, and have poor sensitivity to early-stage faults.

[0005] To achieve the above objectives, this invention provides a data-knowledge-driven method for early fault detection in industrial processes, specifically comprising the following steps: S1 collects normal process measurement variable data and manipulated variable data under offline operating conditions of industrial processes as the training dataset.

[0006] S2 obtains knowledge-based correlations between variables through process knowledge of the industrial process, calculates the mutual information value between process measurement variables and manipulated variables to obtain data-based correlations between variables, and constructs a load matrix based on the knowledge-based correlations and data-based correlations between variables.

[0007] S3. Standardize the training dataset, extract the latent variables of the training data using the load matrix in step S2, calculate the Hotelling statistic and control limits of the Hotelling statistic for all samples in the training dataset, convert the Hotelling statistic of all training samples into probability values, and construct the first probability value vector with probability values ​​as elements.

[0008] S4. Calculate the first statistic vector for the first probability value vector in step S3, construct a statistical data matrix of training data from all the first statistic vectors, calculate the detection statistic of the training data based on the statistical data matrix of the training data, and calculate the control limit of the detection statistic of the training data.

[0009] S5 collects process measurement variable data and manipulated variable data under real-time operating conditions of industrial processes as a test dataset.

[0010] S6. Standardize the test dataset, extract the latent variables of the test data using the load matrix in step S2, calculate the Hotelling statistic for all samples in the test dataset, and convert the Hotelling statistic of all test samples into probability values ​​using the control limits of the Hotelling statistic in step S3, thus forming a second probability value vector with probability values ​​as elements.

[0011] S7. Calculate the second statistical vector based on the second probability value vector in step S6. All second statistical vectors constitute the statistical data matrix of the test data. Calculate the detection statistics of the test data based on the statistical data matrix of the test data. Compare the detection statistics of the test data with the control limits of the detection statistics of the training data in step S4 to determine whether a fault has occurred.

[0012] Furthermore, step S2 specifically includes the following steps: S2.1 For a given industrial process, obtain the physical or chemical relationships between variables from process knowledge to obtain knowledge-based correlations between variables; process knowledge includes: process flow diagrams and piping / instrumentation diagrams.

[0013] S2.2, using mutual information values ​​to analyze data-based correlations between variables, the variables are measured through the following calculation process. and manipulating variables mutual information value : ; in, Represents the logarithmic function. represent and The joint probability density function, , Represent , The marginal probability density function.

[0014] S2.3, process variables include process measurement variables and manipulated variables; the process variables of the training dataset are grouped, and correlation analysis is performed on the variables within each group to determine the positive or negative correlation between variables; let... process variables Divided into Group of variables Construct a load matrix based on the grouping results. Each column vector Corresponding vector group The elements in the column vector follow these rules: like ,but ,in, express The number of variables in the group Represents column vectors The first in One element; if ,but ; for ,like and Positive correlation, then ;like and Negative correlation, then .

[0015] Furthermore, based on knowledge-based and data-based correlations among variables, the variables in the industrial process are grouped using the following rules: Group variables that are control-dependent with each other into the same group, so that each group of variables represents an actual control loop in the process; Group variables that are related in location and data into the same group; The remaining variables that are related by position and by response are grouped together. Group the remaining variables that are related by position and type into the same group; Finally The remaining variables are divided into There are several different groups, so that each variable represents a group.

[0016] Furthermore, step S3 specifically includes the following steps: S3.1, standardize the training dataset to obtain the standardized training data matrix. ,in represent process variables Data obtained from a single independent sampling For the first Training set samples, Given the total number of samples, the latent variables are calculated using the following formula. : ; ; in, For the score matrix, Indicates the first One latent variable, superscript This indicates the matrix transpose.

[0017] Hotelling's statistic is The statistic is calculated according to the following formula. of Statistic: ; in, yes The covariance matrix, superscript Represents the inverse of a matrix; all are calculated using kernel density estimation. of Control limits of statistics .

[0018] S3.2, Calculate according to Bayes' theorem. It is the probability value of the fault. The following equation is satisfied: ; ; in, and Representing normal and fault respectively; let ,but , Indicates the significance level.

[0019] S3.3, Indicates normal time The probability of occurrence; where, For real numbers An exponential function with base 0; When indicating a fault The probability of occurrence The final expression for the probability value of a fault is: ; All The probability values ​​of the faults form the first probability value vector. ,in, for It is the probability value of the fault.

[0020] Furthermore, step S4 specifically includes the following steps: S4.1, Given the width of the sliding time window For the first probability value vector Calculate the mean and standard deviation of the probability values ​​within the window. The first statistic vector of the probability values ​​within the window at the current time is: , This represents the mean of the probability values ​​within the window. This represents the standard deviation of the probability values ​​within the window.

[0021] S4.2, continuously move the sliding time window, and arrange the first statistic vectors obtained from all windows in rows to form the statistical data matrix of the training data. ;Will Standardization, calculating the standardized statistical data matrix. The vector norm of each row yields the detection statistics of the training data. .

[0022] S4.3, using kernel density estimation method to calculate control limits .

[0023] Furthermore, step S6 specifically includes the following steps: S6.1 Standardize the test dataset to obtain the standardized test data matrix. ,in, For the first A test set sample, The number of test samples is calculated according to the following formula. of Statistic: .

[0024] S6.2, by the following formula Statistical conversion It is the probability value of the fault. : ; all The probability values ​​of the faults form the second probability value vector. ,in, for It is the probability value of the fault.

[0025] Furthermore, step S7 specifically includes the following steps: S7.1, based on a width of The sliding time window for the second probability value vector Calculate the mean and standard deviation of the probability values ​​within the window to obtain the second statistic vector. .

[0026] S7.2, continuously move the sliding time window, and arrange the second statistic vectors obtained from all windows in rows to form the statistic data matrix of the test data. ;Will Standardization, calculation after standardization The vector norm of each row yields the detection statistic of the test data. .

[0027] S7.3, in comparison and ,like This indicates that a malfunction has occurred in the industrial process.

[0028] The present invention has the following beneficial effects: This invention provides a data-knowledge-driven method for early fault detection in industrial processes. By utilizing process knowledge such as process flow diagrams and piping / instrumentation diagrams, it extracts the control, reaction, type, and location correlations between variables and calculates the mutual information values ​​between variables to obtain data correlations. Variables with correlations are grouped together to construct a knowledge- and data-based loading matrix. Compared to traditional methods that rely solely on data, this method can more accurately reflect the actual variable relationships in industrial processes, improving the reliability and interpretability of fault detection. Converting statistics into probability values ​​and using a sliding window to calculate the mean and standard deviation amplifies subtle anomalies, enhancing sensitivity to early faults. Attached Figure Description

[0029] Figure 1 This is a flowchart of an early fault detection method for industrial processes driven by data knowledge, according to the present invention.

[0030] Figure 2 This diagram illustrates the detection results of a constant value deviation fault using a data knowledge-driven early fault detection method for industrial processes based on the present invention.

[0031] Figure 3 This diagram illustrates the detection results of an accuracy degradation fault using a data-knowledge-driven early-stage fault detection method for industrial processes based on the present invention. Detailed Implementation

[0032] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] like Figure 1 The data- and knowledge-driven early fault detection method for industrial processes, as shown, specifically includes the following steps: S1 collects normal process measurement variable data and manipulated variable data under offline operating conditions of industrial processes as a training dataset. Each row in the dataset represents a sample, and each column represents a variable.

[0034] S2 obtains knowledge-based correlations between variables through process knowledge of the industrial process, calculates the mutual information value between process measurement variables and manipulated variables to obtain data-based correlations between variables, and constructs a load matrix based on the knowledge-based correlations and data-based correlations between variables.

[0035] S3. Standardize the training dataset, extract the latent variables of the training data using the load matrix in step S2, calculate the Hotelling statistic and control limits of the Hotelling statistic for all samples in the training dataset, convert the Hotelling statistic of all training samples into probability values, and construct the first probability value vector with probability values ​​as elements.

[0036] S4. Calculate the first statistic vector for the first probability value vector in step S3, construct a statistical data matrix of training data from all the first statistic vectors, calculate the detection statistic of the training data based on the statistical data matrix of the training data, and calculate the control limit of the detection statistic of the training data.

[0037] S5 collects process measurement variable data and manipulated variable data under real-time operating conditions of the industrial process as a test dataset, in which all variables collected at a certain moment constitute the test sample at that moment.

[0038] S6. Standardize the test dataset, extract the latent variables of the test data using the load matrix in step S2, calculate the Hotelling statistic for all samples in the test dataset, and convert the Hotelling statistic of all test samples into probability values ​​using the control limits of the Hotelling statistic in step S3, thus forming a second probability value vector with probability values ​​as elements.

[0039] S7. Calculate the second statistical vector based on the second probability value vector in step S6. All second statistical vectors constitute the statistical data matrix of the test data. Calculate the detection statistics of the test data based on the statistical data matrix of the test data. Compare the detection statistics of the test data with the control limits of the detection statistics of the training data in step S4 to determine whether a fault has occurred, thus achieving fault detection.

[0040] Specifically, step S2 includes the following steps: S2.1, For a given industrial process, obtain the physical or chemical relationships between variables from process knowledge to obtain knowledge-based correlations between variables; process knowledge includes: process flow diagrams and piping / instrumentation diagrams. Process knowledge can reveal the actual correlations between variables in the process. Knowledge-based variable correlations in industrial processes can be divided into four categories: Control dependence: If variables are in the same control loop, they are control dependent.

[0041] Reaction correlation: If two substances A and B are transformed into substance C through a chemical or biological reaction, then A, B, and C have a reaction correlation.

[0042] Type correlation: If variables belong to the same type (such as pressure, temperature, and flow rate), they are type-related.

[0043] Location dependence: If variables are in the same process equipment or connected process equipment, they are location dependent.

[0044] S2.2, using mutual information values ​​to analyze data-based correlations between variables, the variables are measured through the following calculation process. and manipulating variables mutual information value : ; in, Represents the logarithmic function. represent and The joint probability density function, , Represent , The marginal probability density function. In practical applications, the histogram method is usually used to estimate the probability density, and the number of bins is usually set to... , This represents the number of samples.

[0045] S2.3, process variables include process measurement variables and manipulated variables; the process variables of the training dataset are grouped, and correlation analysis is performed on the variables within each group to determine the positive or negative correlation between variables; if one variable increases as another variable increases, they are positively correlated; if one variable decreases as another variable increases, they are negatively correlated. Let... process variables Divided into Group of variables Construct a load matrix based on the grouping results. Each column vector Corresponding vector group The elements in the column vector follow these rules: like ,but ,in, express The number of variables in the group Represents column vectors The first in One element; if ,but This also ensures that each column vector is a unit vector. for ,like and Positive correlation, then ;like and Negative correlation, then .

[0046] Specifically, based on knowledge-based and data-based correlations among variables, the variables in the industrial process are grouped using the following rules: Group variables that are control-dependent with each other into the same group, so that each group of variables represents an actual control loop in the process; Group variables that are related in location and data into the same group; The remaining variables that are related by position and by response are grouped together. Group the remaining variables that are related by position and type into the same group; Finally The remaining variables are divided into There are several different groups, so that each variable represents a group.

[0047] Specifically, step S3 includes the following steps: S3.1, standardize the training dataset to obtain the standardized training data matrix. ,in represent process variables Data obtained from a single independent sampling For the first One training set sample, The total number of samples, Represent the set of real numbers; calculate the latent variables according to the following formula. : ; ; in, For the score matrix, Indicates the first One latent variable, superscript This indicates the matrix transpose.

[0048] Hotelling's statistic is The statistic is calculated according to the following formula. of Statistic: ; in, yes The covariance matrix, superscript Represents the inverse of a matrix; all are calculated using kernel density estimation. of Control limits of statistics .

[0049] S3.2, Calculate according to Bayes' theorem. It is the probability value of the fault. The following equation is satisfied: ; ; in, and Representing normal and fault respectively; let ,but , Indicates the significance level.

[0050] S3.3, Indicates normal time The probability of occurrence; where, For real numbers An exponential function with base 0; When indicating a fault The probability of occurrence The final expression for the probability value of a fault is: ; All The probability values ​​of the faults form the first probability value vector. ,in, for This is the probability value of the fault. Probability transformation can amplify the difference in statistics between normal and faulty samples, making the method more sensitive to early faults and improving the detection rate.

[0051] Specifically, step S4 includes the following steps: S4.1, Given the width of the sliding time window For the first probability value vector Calculate the mean and standard deviation of the probability values ​​within the window. The first statistic vector of the probability values ​​within the window at the current time is: , This represents the mean of the probability values ​​within the window. This represents the standard deviation of the probability values ​​within the window. Representing the current moment Using the base point, a width of The statistical vector is calculated from the window data.

[0052] S4.2, continuously move the sliding time window, and arrange the first statistic vectors obtained from all windows in rows to form the statistical data matrix of the training data. ;Will Standardization, calculating the standardized statistical data matrix. The vector norm of each row yields the detection statistics of the training data. .

[0053] S4.3, calculate using kernel density estimation method Control Limits .

[0054] Specifically, step S6 includes the following steps: S6.1 Standardize the test dataset to obtain the standardized test data matrix. ,in, For the first A test set sample, The number of test samples is calculated according to the following formula. of Statistic: .

[0055] S6.2, by the following formula Statistical conversion It is the probability value of the fault. : ; all The probability values ​​of the faults form the second probability value vector. ,in, for It is the probability value of the fault.

[0056] Specifically, step S7 includes the following steps: S7.1, based on a width of The sliding time window for the second probability value vector Calculate the mean and standard deviation of the probability values ​​within the window to obtain the second statistic vector. . As shown in step S4 They have similar forms and use the same window width for calculation.

[0057] S7.2, continuously move the sliding time window, and arrange the second statistic vectors obtained from all windows in rows to form the statistic data matrix of the test data. ;Will Standardization, calculation after standardization The vector norm of each row yields the detection statistic of the test data. .

[0058] S7.3, in comparison and ,like This indicates that a malfunction has occurred in the industrial process.

[0059] This invention presents a data-knowledge-driven method for early fault detection in industrial processes. It utilizes readily available, large amounts of normal data from industrial systems for modeling, and applies the model to online detection. This eliminates the need for complex mechanistic models of industrial systems, making it easy to implement. For a given industrial process, the physical, chemical, and control correlations between variables are well-defined, and these correlations can be used as important process knowledge. Fully utilizing process knowledge can effectively eliminate interactions between variables and accurately reveal meaningful correlations. Converting statistics to probability values ​​and using a sliding window to calculate the mean and standard deviation amplifies subtle anomalies, improving sensitivity to early faults. Furthermore, the diagnostic performance for early faults can be further improved by selecting an appropriate window width.

[0060] This invention provides a data-knowledge-driven early-stage fault detection method for industrial processes. It constructs a knowledge- and data-based load matrix by using process knowledge and calculating mutual information values. Then, it extracts latent variables from the data and calculates statistics and control limits for those statistics. This effectively eliminates interactions between variables and accurately reveals meaningful correlations. By using probability transformation and a sliding window to amplify fault trends, it is more sensitive to faults with small amplitudes compared to traditional statistical analysis methods. This invention does not monitor the process data itself, but rather the statistics of the process data, thus exhibiting better robustness to different distributions of industrial process data.

[0061] To verify the method provided by this invention, the following experiments were conducted: To aid in understanding the invention and to visually demonstrate its effectiveness in early-stage fault detection in industrial processes, an embodiment is described below. This embodiment is based on Matlab and uses a numerical example for illustration. In this embodiment, variables with input-output relationships can represent related variables in process knowledge. The effects of the invention are illustrated in conjunction with the accompanying drawings.

[0062] (1) Generate training data.

[0063] This embodiment uses the following process to generate 2000 normal samples, and the transfer function for the entire process is as follows: ; Input is: ,in The final output is: ,in This embodiment obtains the input variables. Output variables There are 10 variables in total.

[0064] (2) Group the variables based on the correlation between them and construct the load matrix.

[0065] In this embodiment, the input variables can be obtained through the transfer function. and input variables Simultaneously with output variables It is correlated with other variables but not with them; input variables With output variables It is correlated with other variables but not with them; input variables With output variables It is correlated with other variables but not with them; input variables With output variables It is correlated with other variables but not with them; input variables and input variables Simultaneously with output variables There is a correlation with other variables, but no correlation with other variables. The final grouping result is: 1) ;2) ;3) ;4) ;5) There are 5 groups in total. Then, the load matrix is ​​constructed according to the criteria.

[0066] (3) Extract the latent variables from the data and calculate Statistics and control limits.

[0067] Use the obtained load matrix to extract the latent variables of the data, and calculate the latent variables of all samples. The control limits are determined using statistics and kernel density estimation.

[0068] (4) Convert statistics into probability values.

[0069] Using Bayes' theorem Statistical values ​​are converted into probability values.

[0070] (5) Given the time window width, calculate the statistics of the probability values ​​within the window to obtain a data matrix composed of the statistics of the probability values, and calculate the final detection statistics and control limits.

[0071] In this embodiment, the window width is selected as... The probability statistics are chosen from the mean and standard deviation; therefore, the statistic vector has the form... Arrange the statistical vectors obtained from all windows into a statistical data matrix by arranging them row by row. First, the matrix Standardize, then calculate the standardized matrix. The vector norm of each row is used as the final detection statistic. The control limits of the detection statistic are determined using the kernel density estimation method. .

[0072] (6) Construct test data.

[0073] In this embodiment, two types of faults are considered: constant value deviation fault, described in the following form. Accuracy degradation fault, description format Based on the above expression, two sets of test data were generated, each containing 2000 samples. The fault was applied starting from the 401st sample and continuing until the 2000th sample. The first type of fault was applied to the input variable. The amplitude is 0.025; the second type of fault is applied to the input variable. Zero-mean white noise The standard deviation is 0.05.

[0074] (7) Perform fault detection on the test data.

[0075] Figure 2 and Figure 3 The detection results of the method proposed in this invention for the above two faults are presented respectively. Figure 2 This diagram illustrates the detection results of a constant value deviation fault using a data knowledge-driven early fault detection method for industrial processes according to the present invention. Figure 3 This diagram illustrates the detection results of an accuracy degradation fault using a data-knowledge-driven early-stage fault detection method for industrial processes based on the present invention.

[0076] like Figure 2 and Figure 3 As shown, after a fault occurs, the detection statistics all increase significantly and exceed the control limits. For the two fault types, the false alarm rate (FAR) of this statistic is 0.00% and 0.00%, both fluctuating around the significance level of 1%, which is within a reasonable range. The fault detection rate (FDR) of this statistic is 99.50% and 99.50%, respectively, which are ideal results.

[0077] Furthermore, a comparison was made with traditional methods. Schematic diagrams of the detection results are not provided here; only the FAR and FDR evaluation metrics of the method are listed. Traditional principal component analysis methods, their... and The FAR is also within a reasonable range (not listed here), but The FDRs for the indicators are 1.19% and 1.19%, respectively. The FDR values ​​for the indicators were 0.94% and 0.94% respectively, indicating that these two types of minor faults could not be effectively detected. For the dynamic principal component analysis method, its... and The FAR is also within a reasonable range (not listed here), but The FDRs for the indicators are 1.56% and 1.50%, respectively. The FDR values ​​for the indicators were 1.00% and 1.06% respectively, indicating that they were also unable to effectively detect these two types of minor faults. Both methods only analyzed the statistical characteristics of the data, failed to fully utilize process knowledge, and did not analyze faults with small amplitude values, resulting in poor detection results.

[0078] For traditional data-knowledge integration methods, and The FAR is also within a reasonable range (not listed here), but The FDRs for the indicators were 14.06% and 14.37%, respectively. The FDRs for the indicators were 0.81% and 0.81% respectively. This method utilizes process knowledge, and the detection results are compared with those of traditional principal component analysis. The detection rate of the statistics has improved, but the detection results are still not good because the magnitude of the fault is too small and the method does not take into account minor faults.

[0079] For the method combining traditional principal component analysis (PCA) and probability transformation, the effective average (FAR) of the statistics is within a reasonable range (not listed further), while the effective deviations (FDR) are 0.88% and 2.06%, respectively. This indicates that it cannot effectively detect these two types of minor faults. This method uses probability transformation to amplify the difference in statistics between normal and fault samples, representing an improvement in the analysis of small-amplitude faults. However, the statistics obtained from traditional PCA for normal and fault samples cannot be effectively used by probability transformation, leading to poor detection results.

[0080] For the statistical Mahalanobis distance method, the FAR of its statistic is within a reasonable range (not listed here). The FDR of the statistic is 99.12% and 51.94% respectively, which shows that it has a good detection result for Type I faults, but a low detection rate for Type II faults. This indicates that the method can detect early faults, but the latent variables used by the method are not very sensitive to certain fault information, resulting in poor detection results for Type II faults.

[0081] By comparison, it can be found that the method proposed in this invention can effectively detect two types of early faults.

[0082] Of course, the above description is not intended to limit the present invention, and the present invention is not limited to the examples given above. Any changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A data- and knowledge-driven method for early fault detection in industrial processes, characterized in that, Specifically, the steps include the following: S1, collect normal process measurement variable data and manipulated variable data under offline industrial process conditions as training dataset; S2, obtain knowledge-based correlations between variables through process knowledge of industrial processes, calculate the mutual information value between process measurement variables and manipulated variables to obtain data-based correlations between variables, and construct a load matrix based on knowledge-based correlations and data-based correlations between variables; S3, standardize the training dataset, extract the latent variables of the training data using the load matrix in step S2, calculate the Hotelling statistic and control limits of the Hotelling statistic for all samples in the training dataset, convert the Hotelling statistic of all training samples into probability values, and form a first probability value vector with probability values ​​as elements. S4. Calculate the first statistic vector for the first probability value vector in step S3, construct a statistical data matrix of training data from all the first statistic vectors, calculate the detection statistic of training data based on the statistical data matrix of training data, and calculate the control limit of the detection statistic of training data. S5 collects process measurement variable data and manipulated variable data under real-time operating conditions of industrial processes as a test dataset; S6. Standardize the test dataset, extract the latent variables of the test data using the load matrix in step S2, calculate the Hotelling statistic of all samples in the test dataset, and convert the Hotelling statistic of all test samples into probability values ​​using the control limits of the Hotelling statistic in step S3, thus forming a second probability value vector with probability values ​​as elements. S7. Calculate the second statistical vector for the second probability value vector in step S6. All second statistical vectors constitute the statistical data matrix of the test data. Calculate the detection statistics of the test data based on the statistical data matrix of the test data. Compare the detection statistics of the test data with the control limit of the detection statistics of the training data in step S4 to determine whether a fault has occurred. Step S2 specifically includes the following steps: S2.1 For a given industrial process, obtain the physical or chemical relationships between variables from process knowledge to obtain knowledge-based correlations between variables; Process knowledge includes: process flow diagrams and piping / instrumentation diagrams; S2.2, using mutual information values ​​to analyze data-based correlations between variables, the variables are measured through the following calculation process. and manipulating variables mutual information value : ; in, Represents the logarithmic function. represent and The joint probability density function, , Represent , The marginal probability density function; S2.3, process variables include process measurement variables and manipulated variables; the process variables of the training dataset are grouped, and correlation analysis is performed on the variables within each group to determine the positive or negative correlation between variables; let... process variables Divided into Group of variables Construct a load matrix based on the grouping results. Each column vector Corresponding vector group The elements in the column vector follow these rules: like ,but ,in, express The number of variables in the group Represents column vectors The first in One element; if ,but ; for ,like and Positive correlation, then ;like and Negative correlation, then .

2. The data-knowledge-driven early fault detection method for industrial processes according to claim 1, characterized in that, Based on knowledge-based and data-based correlations among variables, variables in industrial processes are grouped using the following rules: Group variables that are control-dependent with each other into the same group, so that each group of variables represents an actual control loop in the process; Group variables that are related in location and data into the same group; The remaining variables that are related by position and by response are grouped together. Group the remaining variables that are related by position and type into the same group; Finally The remaining variables are divided into There are several different groups, so that each variable represents a group.

3. The data-knowledge-driven early fault detection method for industrial processes according to claim 1, characterized in that, Step S3 specifically includes the following steps: S3.1, standardize the training dataset to obtain the standardized training data matrix. ,in represent process variables Data obtained from a single independent sampling For the first One training set sample, Given the total number of samples, the latent variables are calculated using the following formula. : ; ; in, For the score matrix, Indicates the first One latent variable, superscript Indicates matrix transpose; Hotelling's statistic is The statistic is calculated according to the following formula. of Statistic: ; in, yes The covariance matrix, superscript Represents the inverse of a matrix; all are calculated using kernel density estimation. of Control limits of statistics ; S3.2, Calculate according to Bayes' theorem. It is the probability value of the fault. The following equation is satisfied: ; ; in, and Representing normal and fault respectively; let ,but , Indicates the significance level; S3.3, Indicates normal time The probability of occurrence; where, For real numbers An exponential function with base 0; When indicating a fault The probability of occurrence The final expression for the probability value of a fault is: ; in, express Statistic, express Control limits for statistics; all The probability values ​​of the faults form the first probability value vector. ,in, for It is the probability value of the fault.

4. The data-knowledge-driven early fault detection method for industrial processes according to claim 1, characterized in that, Step S4 specifically includes the following steps: S4.1, Given the width of the sliding time window For the first probability value vector Calculate the mean and standard deviation of the probability values ​​within the window. The first statistic vector of the probability values ​​within the window at the current time is: , This represents the mean of the probability values ​​within the window. The standard deviation of the probability values ​​within the window; S4.2, continuously move the sliding time window, and arrange the first statistic vectors obtained from all windows in rows to form the statistical data matrix of the training data. ;Will Standardization, calculating the standardized statistical data matrix. The vector norm of each row yields the detection statistics of the training data. ; S4.3, using kernel density estimation method to calculate Control Limits .

5. The data-knowledge-driven early fault detection method for industrial processes according to claim 3, characterized in that, Step S6 specifically includes the following steps: S6.1 Standardize the test dataset to obtain the standardized test data matrix. ,in, For the first A test set sample, The number of test samples is calculated according to the following formula. of Statistic: ; S6.2, by the following formula Statistical conversion It is the probability value of the fault. : ; all The probability values ​​of the faults form the second probability value vector. ,in, for It is the probability value of the fault.

6. The data-knowledge-driven early fault detection method for industrial processes according to claim 4, characterized in that, Step S7 specifically includes the following steps: S7.1, based on a width of The sliding time window for the second probability value vector Calculate the mean and standard deviation of the probability values ​​within the window to obtain the second statistic vector. ; S7.2, continuously move the sliding time window, and arrange the second statistic vectors obtained from all windows in rows to form the statistic data matrix of the test data. ;Will Standardization, calculation after standardization The vector norm of each row yields the detection statistic of the test data. ; S7.3, in comparison and ,like This indicates that a malfunction has occurred in the industrial process.

Citation Information

Patent Citations

  • Method and monitoring system for detecting and separating micro fault in industrial process

    CN105259895A

  • Micro sensor fault detection and separation method based on statistical magnitude Mahalanobis distance

    CN111324105A