CN103926919B - Industrial process fault detection method based on wavelet transformation and Lasso function - Google Patents
Industrial process fault detection method based on wavelet transformation and Lasso function Download PDFInfo
- Publication number
- CN103926919B CN103926919B CN201410177158.6A CN201410177158A CN103926919B CN 103926919 B CN103926919 B CN 103926919B CN 201410177158 A CN201410177158 A CN 201410177158A CN 103926919 B CN103926919 B CN 103926919B
- Authority
- CN
- China
- Prior art keywords
- data
- lasso
- fault
- value
- sigma
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 35
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 20
- 230000009466 transformation Effects 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 60
- 239000011159 matrix material Substances 0.000 claims abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 13
- 238000012549 training Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims abstract description 5
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000010606 normalization Methods 0.000 claims description 4
- 238000012417 linear regression Methods 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims description 3
- 238000002759 z-score normalization Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 28
- 238000000513 principal component analysis Methods 0.000 description 14
- 238000001311 chemical methods and process Methods 0.000 description 10
- 230000000875 corresponding effect Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000009467 reduction Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000011425 standardization method Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
- Complex Calculations (AREA)
Abstract
The present invention relates to a kind of industrial process fault detection method based on wavelet transformation and Lasso function, step includes: 1) obtains normal data and fault data from Tennessee Yi Siman industrial process model, and is standardized processing to the data obtained;2) normal data is carried out wavelet transformation, compresses data, to the training data after wavelet transformation respectively using each group of data as pivot column vector, be Lasso with training data matrix and return, obtain different least estimated respectivelyValue;3) by Multilayer networks method, try to achieve optimalValue is as threshold value;4) test data are carried out wavelet transformation successively and Lasso returns, each group of data are tried to achieveValue is compared with threshold value, it is judged that often whether group data exist fault.Compared with prior art, the present invention has consideration All Eigenvalues, improves the advantages such as accuracy in detection.
Description
Technical Field
The invention relates to an industrial process fault detection method based on wavelet transformation and a Lasso function, and belongs to the field of intelligent information processing.
Background
In the processing and manufacturing industries, efforts are being made to produce high quality products with reduced product reject rates to meet ever-increasing, stringent safety and environmental regulations. In pursuit of higher standards, modern industrial processes contain a large number of closed-loop control variables, and designers often design standard process controllers to maintain satisfactory operation by compensating for the effects of disturbances or variations in the process. However, it is these controllers that fail if the process changes are not properly handled. The four steps of process monitoring are fault detection, fault identification, fault diagnosis and process recovery. By means of pattern recognition, emphasis is placed on detecting faults. Fault detection, colloquially, is the determination of whether a fault has occurred. Timely detection can provide valuable alarm for problems to be generated, and by taking corresponding measures, serious process subversion is avoided.
The traditional fault detection method comprises the following steps: principal Component Analysis (PCA), Fisher Discriminant Analysis (FDA), Partial Least Squares (PLS) and Canonical Variate Analysis (CVA), which are all data-driven based process monitoring methods. However, different approaches have different emphasis. PCA, FDA and CVA are two dimension reduction technologies developed in the field of mode classification, wherein PCA is widely applied to fault detection of continuous chemical process. The PLS technique, developed in the field of statistics, is applied in continuous chemical process fault detection and is a data decomposition method that maximizes the covariance between the predictor (independent) data block and the predicted (correlated) data block of each component. Each method has advantages and disadvantages for different fault types.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an industrial process fault detection method based on wavelet transformation and a Lasso function, all characteristics of data are used as the characteristics for judging whether the data are normal or not, and the fault detection precision is improved.
The purpose of the invention can be realized by the following technical scheme:
an industrial process fault detection method based on wavelet transformation and Lasso function comprises the following steps:
1) acquiring normal data and fault data from a Tiannaxi-Iseman industrial process model, taking the normal data as training data, taking the fault data as test data, and carrying out standardization processing on the acquired data;
2) wavelet transform is carried out on normal data, data is compressed, each group of data is used as principal element column vector of training data after wavelet transform, Lasso regression is carried out on each group of data and a training data matrix, and different results are obtained respectivelyMinimum estimate ofA value;
3) by means of probability density estimation, the best one is obtainedThe value is used as a threshold value;
4) wavelet transform and Lasso regression are carried out on the test data in sequence, and each group of data is obtainedComparing the value with a threshold value, and judging whether each group of data has faults:
if obtainedIf the value is larger than the threshold value, the corresponding group of data has a fault; if obtainedAnd if the value is smaller than the threshold value, the corresponding group of data is normal.
In the step 1), the standardization treatment adopts a Z-score standardization method, and the calculation formula is as follows:
wherein X is { X ═ X1,x2,…,xnThe data matrix is represented by X, mu is the mean value of the data, sigma is the standard deviation of the data, and the calculation formula of mu and sigma is as follows:
in step 2), the wavelet transform is haar wavelet transform.
The Lasso regression is specifically as follows:
representing the obtained data as a sample matrix X (p × n), wherein n is the sampling number of samples, p is the number of observed data, and randomly selecting a column X in the sample matrixjAs a principal element column vector, defined as Y:
Y=(y1,y2,…yn)T
establishing Lasso linear regression constraint functions related to X and Y, wherein the minimum estimation formula is as follows:
in which λ is a non-negative parameter, βjIs the corresponding regression coefficient vector.
In step 3), the probability density estimation method adopts a Parzen window method, namely a kernel probability density estimation method.
Compared with the prior art, the invention has the following advantages.
1) The invention converts the common dimensionality reduction thinking in the fault detection into an optimization problem by using statistical thinking, considers the characteristics of all data, and can utilize the characteristics of each group of data, thereby having more detection accuracy and avoiding the condition that the fault detection in the industrial process is influenced by some non-main characteristics reduced by the dimensionality reduction technology.
2) The invention is applied to the fault detection in the continuous chemical process, and can improve the detection accuracy. Compared with the traditional PCA method, the data analysis is carried out, and the analysis result shows that the missing rate of fault detection is improved.
3) The invention uses wavelet change to process data, compresses the data amount to be processed, reduces the sample data amount and improves the operation efficiency.
4) The method of the invention converts the commonly used thinking reduction in fault detection into an optimization problem by using statistical thinking, although the main characteristic components can be extracted by the technology of the invention, the technology can not neglect that certain characteristics are lacked, although the characteristics are not main, the fault detection of the industrial process can be influenced, and the continuous chemical process fault detection method based on wavelet transformation and Lasso constraint function avoids the situations.
Drawings
FIG. 1 is a process flow diagram of a TEP process;
FIG. 2 is a general block diagram of the process of the present invention;
FIG. 3 is a schematic diagram of a continuous chemical process fault type 13 based T using conventional PCA techniques2A detection result graph of the statistic detection and the SPE statistic;
fig. 4 is a diagram of the detection result based on the type of failure 13 in the continuous chemical process using the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
In performing fault detection, the data utilized is data collected in a Tennessee-Iseman (TEP) process model. The TEP process model was created by eastman chemical company and is intended to provide a realistic industrial process for evaluating process control and monitoring methods. The testing process is based on a real continuous chemical industrial process, in which the composition, dynamics, operating conditions, etc. are modified due to patent rights. The process includes five main units: a reactor, a condenser, a compressor, a separator and a stripper; and comprises eight components: A. b, C, D, E, F, G and H. FIG. 1 is a process flow diagram of the industrial plant.
The process model for the Tennessee-Iseman problem includes 21 preset faults. Of these failures, 16 are known and 5 are unknown. Faults 1-7 are associated with step changes in process variables, such as changes in cold water inlet temperature or feed composition. Faults 8-12 are associated with increased variability of some process variables. Fault 13 is a slow drift in reaction kinetics and faults 14, 15, and 21 are associated with viscous valves. A process fault description for the tennessee-eastman process model is shown in table 1.
Table 1: process fault description
As shown in fig. 2, a method for detecting faults in an industrial process based on wavelet transform and Lasso function includes the steps of:
step S1: normal data and fault data are obtained from the Tiannaxi-Iseman industrial process model, the normal data are used as training data, and the fault data are used as test data.
Step S2: the data obtained are normalized by a method of Z-score normalization, also known as standard deviation normalization, using the formula:
wherein X represents a data matrix, X represents the data matrix after being processed by the normalization method, mu is the mean value taken from the data, sigma is the standard deviation taken from the data, and the calculation formula of mu and sigma is as follows:
in the formula, xiIs the data. The data after the Z-score standardization meets the standard normal distribution, namely the mean value is 0 and the standard deviation is 1.
Step S3: and performing wavelet transformation on the normal data to compress the data. The wavelet transform here employs a haar wavelet transform.
The mother wavelet (heat wavelet) of a haar wavelet can be represented as:
and the corresponding scaling equation can be expressed as:
its filter h [ n ] is defined as:
step S4: respectively using each group of data as principal element column vector of the training data after wavelet transformation, performing Lasso regression with the training data matrix, and respectively calculating different minimum estimatesThe value is obtained.
Introducing a Lasso constraint function to construct a vector XjObtaining continuous chemical process data from a Tennessee-Isemann Industrial (TEP) process model to obtain a sample matrix X (p × n), where n is the number of samples and p is the number of observed data, and optionally selecting XjAs a principal element column vector, defined as Y:
Y=(y1,y2,…yn)T(7)
p different observations, then:
Xj=(x1j,x2j,…,xnj)T,j=1,2,…p (8)
lasso is XjAnd a linear regression constraint function associated with Y, the minimum estimate of which is as follows:
in which λ is a non-negative parameter, βjIs the corresponding regression coefficient vector.
Step S5: passing probability densityEstimation method of finding the bestThe value is used as a threshold.
The probability density estimation method adopts a Parzen window method, namely a nuclear probability density estimation method; parzen window method: according to a certain determined volume function, e.g.To gradually shrink a given initial space, which requires a random variable knAndcan guarantee Pn(x) Can converge to p (x). Further, the Kn neighbor method is also available. For differentThe values are used for probability density estimation, and finally one is obtainedThe value is used as a standard value of normal data, i.e., a threshold value.
Step S6: wavelet transform and Lasso regression are carried out on the test data in sequence, and each group of data is obtained according to the formula (9)The value is obtained.
Step S7: from each set of dataComparing the value with a threshold value, and judging whether each group of data has faults:
if obtainedIf the value is larger than the threshold value, the corresponding group of data has a fault; if obtainedAnd if the value is smaller than the threshold value, the corresponding group of data is normal.
In the example, there are 500 sets of training data, each set of data having 52 observations. There are 960 sets of test data, each set of test data containing 52 observations, of which the first 160 sets of data are normal data and the last 800 sets of data are fault data.
In order to embody the superiority of the continuous chemical process fault detection method based on wavelet transformation and Lasso constraint function, the method is compared with the traditional detection technology utilizing PCA technology.
When fault detection is traditionally carried out by PCA, T is utilized2And SPE detect failures. Wherein T is2Given an observation vector x and assuming Λ ∑r∑ is reversible, then T2The statistics can be calculated directly by the PCA expression:
T2=XrV(∑T∑)-1Vrx (10) and T2The statistic threshold may be expressed as:
SPE is the square prediction error, which is the square of the 2-norm, also known as Q statistic. To measure the deviation of the observed values from the low-dimensional PCA representation, the Q statistic can be expressed as:
Q=[(I-PPr)x]T(1-PPr)x (12)
where P is the load matrix and the SPE statistic threshold can be expressed as:
wherein,cais the standard deviation corresponding to the (1- α) quantile.
The basic idea of using PCA method to detect the fault is to respectively calculate T on the current normal data2Threshold values of statistic and SPE statistic, and then respectively solving for T of test data2And the statistic and the SPE statistic, wherein the data below the threshold line is judged to be normal, and the data above the threshold line is judged to be fault data. The whole process is researched based on a TEP process model, and the process monitoring comprises the following steps:
1) acquiring sampling data from the TEP process data set, and standardizing according to the mean value and the variance of the models under normal conditions to obtain normal data and fault data of each fault type;
2) carrying out PCA dimension reduction transformation on the normal data to obtain a load matrix:
3) calculating T of normal data2Thresholds for the statistics and SPE statistics;
4) calculating T of test data2Statistics and SPE statistics;
5) the test data is monitored for T2 statistics and SPE statistics exceeding a normal threshold line.
We select the fault type 13 to give the fault detection result, and use the methods of PCA and Lasso constraint function to detect respectively, the analysis result data graphs are respectively shown in fig. 3 and 4, and as shown in table 2, the detection results of the PCA method and the method based on wavelet transform and Lasso algorithm are compared:
table 2: error rate and omission factor detected by different methods for fault types 13 of continuous chemical process
Through the data analysis result of the example, it can be seen that the continuous chemical process fault detection method based on the wavelet transformation and the Lasso constraint function can improve the detection accuracy.
Claims (3)
1. An industrial process fault detection method based on wavelet transformation and a Lasso function is characterized by comprising the following steps:
1) acquiring normal data and fault data from a Tiannaxi-Iseman industrial process model, taking the normal data as training data, taking the fault data as test data, and carrying out standardization processing on the acquired data;
2) performing wavelet transform on the normal data, compressing the data, and performing Lasso regression on the wavelet transformed training data by using each group of data as principal element column vector and training data matrixRespectively find different minimum estimatesA value;
3) by means of probability density estimation, the best one is obtainedThe value is used as a threshold value;
4) wavelet transform and Lasso regression are carried out on the test data in sequence, and each group of data is obtainedComparing the value with a threshold value, and judging whether each group of data has faults:
if obtainedIf the value is larger than the threshold value, the corresponding group of data has a fault; if obtainedIf the value is smaller than the threshold value, the corresponding group of data is normal;
the Lasso regression is specifically as follows:
representing the obtained data as a sample matrix X (p × n), wherein n is the sampling number of samples, p is the number of observed data, and randomly selecting a column X in the sample matrixjAs a principal element column vector, defined as Y:
Y=(y1,y2,…yn)T
establishing Lasso linear regression constraint functions related to X and Y, wherein the minimum estimation formula is as follows:
in which λ is a non-negative parameter, βjIs the corresponding regression coefficient vector;
in step 3), the probability density estimation method adopts a Parzen window method, namely a kernel probability density estimation method.
2. The method for detecting the fault of the industrial process based on the wavelet transform and the Lasso function as claimed in claim 1, wherein in the step 1), the normalization processing adopts a Z-score normalization method, and the calculation formula is as follows:
wherein X is { X ═ X1,x2,…,xnIs the data matrix, X*And expressing a data matrix after normalization, wherein mu is a mean value of the data, sigma is a standard deviation of the data, and the calculation formula of mu and sigma is as follows:
3. the method for detecting the fault of the industrial process based on the wavelet transform and the Lasso function as claimed in claim 1, wherein in the step 2), the wavelet transform is haar wavelet transform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410177158.6A CN103926919B (en) | 2014-04-29 | 2014-04-29 | Industrial process fault detection method based on wavelet transformation and Lasso function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410177158.6A CN103926919B (en) | 2014-04-29 | 2014-04-29 | Industrial process fault detection method based on wavelet transformation and Lasso function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103926919A CN103926919A (en) | 2014-07-16 |
CN103926919B true CN103926919B (en) | 2016-08-17 |
Family
ID=51145178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410177158.6A Expired - Fee Related CN103926919B (en) | 2014-04-29 | 2014-04-29 | Industrial process fault detection method based on wavelet transformation and Lasso function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103926919B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272625A (en) * | 2017-07-12 | 2017-10-20 | 温州大学 | A kind of industrial process method for diagnosing faults based on bayesian theory |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104731056B (en) * | 2015-01-28 | 2018-01-05 | 蓝星(北京)技术中心有限公司 | The method of the quick operation stability for judging chemical production device |
CN105182955B (en) * | 2015-05-15 | 2016-06-22 | 中国石油大学(华东) | A kind of multivariate industrial process fault recognition method |
CN106295712A (en) * | 2016-08-19 | 2017-01-04 | 苏州大学 | A kind of fault detection method and system |
CN110288724B (en) * | 2019-06-27 | 2021-08-03 | 大连海事大学 | Batch process monitoring method based on wavelet function principal component analysis |
CN110427019B (en) * | 2019-08-31 | 2024-03-19 | 仲恺农业工程学院 | Industrial process fault classification method and control device based on multivariate discriminant analysis |
CN113221451A (en) * | 2021-04-28 | 2021-08-06 | 苏州衡品医疗科技有限公司 | Fall prediction method, system, electronic device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996190A (en) * | 2006-11-23 | 2007-07-11 | 浙江大学 | Industrial process fault diagnosis system and method based on wavelet analysis |
US20070255442A1 (en) * | 2006-03-15 | 2007-11-01 | Omron Corporation | Process fault analyzer and method and storage medium |
-
2014
- 2014-04-29 CN CN201410177158.6A patent/CN103926919B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070255442A1 (en) * | 2006-03-15 | 2007-11-01 | Omron Corporation | Process fault analyzer and method and storage medium |
CN1996190A (en) * | 2006-11-23 | 2007-07-11 | 浙江大学 | Industrial process fault diagnosis system and method based on wavelet analysis |
Non-Patent Citations (4)
Title |
---|
基于多元统计投影方法的过程监控技术研究;陈国金,等;《浙江大学学报(工学版)》;20041231;第38卷(第12期);摘要 * |
基于小波去噪与KPCA的TE过程故障检测研究;王迎,等;《化工机械》;20111231;第38卷(第1期);摘要,第2.2节 * |
基于核函数和概率神经网络的TE过程监控研究;薄翠梅,等;《第二十六届中国控制会议论文集 》;20070726;全文 * |
基于稀疏主元分析的过程监控研究;彭必灿,等;《计算机工程与应用》;20131219;摘要,第2节 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272625A (en) * | 2017-07-12 | 2017-10-20 | 温州大学 | A kind of industrial process method for diagnosing faults based on bayesian theory |
CN107272625B (en) * | 2017-07-12 | 2019-05-28 | 温州大学 | A kind of industrial process method for diagnosing faults based on bayesian theory |
Also Published As
Publication number | Publication date |
---|---|
CN103926919A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103926919B (en) | Industrial process fault detection method based on wavelet transformation and Lasso function | |
CN104699077B (en) | A kind of failure variable partition method based on nested iterations Fei Sheer discriminant analyses | |
Singhal et al. | Evaluation of a pattern matching method for the Tennessee Eastman challenge process | |
Tong et al. | Decentralized monitoring of dynamic processes based on dynamic feature selection and informative fault pattern dissimilarity | |
Monroy et al. | A semi-supervised approach to fault diagnosis for chemical processes | |
CN104062968A (en) | Continuous chemical process fault detection method | |
CN108062565A (en) | Double pivots-dynamic kernel principal component analysis method for diagnosing faults based on chemical industry TE processes | |
Zhang et al. | Fault detection in the Tennessee Eastman benchmark process using principal component difference based on k-nearest neighbors | |
CN108664009B (en) | Stage division and fault detection method based on correlation analysis | |
CN101458522A (en) | Multi-behavior process monitoring method based on pivot analysis and vectorial data description support | |
CN108153267B (en) | Industrial process monitoring method based on error principal component analysis model | |
CN112904810B (en) | Process industry nonlinear process monitoring method based on effective feature selection | |
CN104536439B (en) | A kind of method for diagnosing faults based on nested iterations Fei Sheer discriminant analysiss | |
CN109298633A (en) | Chemical production process fault monitoring method based on adaptive piecemeal Non-negative Matrix Factorization | |
CN111340110A (en) | Fault early warning method based on industrial process running state trend analysis | |
CN106354125A (en) | Method for utilizing block PCA (Principal Component Analysis) to detect fault of chemical process | |
CN104503436B (en) | A kind of quick fault testing method based on accidental projection and k neighbours | |
CN103995985B (en) | Fault detection method based on Daubechies wavelet transform and elastic network | |
Deng et al. | Incipient fault detection of nonlinear chemical processes based on probability-related randomized slow feature analysis | |
CN108181893A (en) | A kind of fault detection method based on PCA-KDR | |
CN112947649B (en) | Multivariate process monitoring method based on mutual information matrix projection | |
CN110751217A (en) | Equipment energy consumption ratio early warning analysis method based on principal component analysis | |
Zhang et al. | Improved incipient fault detection using Jensen-Shannon divergence and KPCA | |
CN114200914A (en) | MW-OCCA-based quality-related early fault detection method | |
CN114879612A (en) | Blast furnace iron-making process monitoring method based on Local-DBKSSA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160817 Termination date: 20170429 |
|
CF01 | Termination of patent right due to non-payment of annual fee |