CN102110187B - Method and system for diagnosing mixed failure based on PCA and artificial immune system - Google Patents

Method and system for diagnosing mixed failure based on PCA and artificial immune system Download PDF

Info

Publication number
CN102110187B
CN102110187B CN 200910244066 CN200910244066A CN102110187B CN 102110187 B CN102110187 B CN 102110187B CN 200910244066 CN200910244066 CN 200910244066 CN 200910244066 A CN200910244066 A CN 200910244066A CN 102110187 B CN102110187 B CN 102110187B
Authority
CN
China
Prior art keywords
antibody
fault
data
antigen
generation
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.)
Active
Application number
CN 200910244066
Other languages
Chinese (zh)
Other versions
CN102110187A (en
Inventor
赵劲松
戴一阳
陈丙珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN 200910244066 priority Critical patent/CN102110187B/en
Publication of CN102110187A publication Critical patent/CN102110187A/en
Application granted granted Critical
Publication of CN102110187B publication Critical patent/CN102110187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Analysis And Handling Materials Therefor (AREA)
  • Peptides Or Proteins (AREA)

Abstract

The invention provides a method and a system for diagnosing mixed failure based on a PCA and an artificial immune system, and the method and the system can be applied in industrial processes as chemical industry, oil refining, biopharmaceutics, and the like. The PCA algorithm is used for detecting failure, the artificial immune system is used for diagnose failure kinds of self and non-self judgments, and self-adaptation and self-study capabilities of the artificial immune system are used, so that the updating of a failure diagnosis system during an online operation process is realized. Antigens and the antibodies of the artificial immune system are represented as a matrix composed of data samples of time series, wherein data to be detected is generated as antigens, all types of historical data are generated as different antibodies, the kind of working condition is judged by computing the difference between the antigen and the antibody, so as to realize failure detection and diagnosis. A clone and variation computation is also presented, so as to produce a large amount of different antibodies from the known working condition data during the failure diagnosis process, and the antibodies are automatically updated during the diagnosis, so that the requirements of actual industrial process on adaptability are met.

Description

A kind of process industry mixed fault diagnostic method and system based on PCA and artificial immune system
Invention field
The present invention relates to a kind of mixed fault diagnostic method and system based on PCA and artificial immune system, it is mainly used in chemical process, oil refining process, the fault diagnosis field of the process industries such as bio-pharmaceuticals process.
Background technology
Along with the development of science and technology, in modern industry was produced, the complexity of commercial unit system improved day by day, for continuous large batch of modern production process, sets up supervisory system, in time finds and diagnose the reason that is out of order, and is very necessary.Fault diagnosis as a comprehensive branch of learning, is the very practical technology that many science are intersected.Effectively, fault diagnosis not only can guarantee the normal operation of producing, the generation of prevention catastrophic failure timely, can also give works engineer to instruct, and in time repairs the position of breaking down, and the effect of directiveness is arranged for production.
Three phases has mainly been experienced in the development of fault diagnosis.First stage is according to sense organ, instrument, relies on operator's experience to judge, this is still more effective for simple and mechanical process.Second stage is to utilize sensor technology and technique of dynamic measurement, and signal is carried out modeling analysis, and this is widely used, and than the previous stage, precision and the standardized degree in this stage are greatly improved.Three phases is just in the developing Intelligent Information Processing stage, and this is also along with technical development of computer, with bionical, the machine-processed a kind of new trial that combines of artificial intelligence.
Fault diagnosis has been passed through development for many years, and theoretical method mainly contains three classes: based on the method for analytic model, Knowledge-Based Method, based on the method for signal, typical method has neural network, least square method, wavelet analysis method, principal component analysis (PCA) etc.Yet traditional method for diagnosing faults does not have large-scale application in the fault diagnosis of process industry, and practical application mainly also is confined to individual equipment, for the fault diagnosis of flow process Shortcomings also itself.Main cause is that the actual industrial flow process has instability, can be along with the improvement of technique and the needs of production change, and traditional method for diagnosing faults scarcely possesses enough adaptability for the variation of flow process, is difficult to satisfy actual process industry needs.For this present situation, the artificial immune system that has the scholar to propose to have adaptivity and self-learning capability is incorporated into fault diagnosis field.
Artificial immune system is a kind of integrated intelligent system, and it organically combines immunology and engineering science, utilizes the technology such as mathematics, computing machine to set up the immunologic mechanism model, and is applied to the aspects such as design, enforcement of engineering.In recent years, in artificial immunity, the judgement for oneself and nonego is incorporated into fault diagnosis field by reference.Yet all variable that system is instantaneous is as antigen and antibody for traditional fault diagnosis algorithm based on artificial immune system, and in the process industry that is beyond expression, data are implemented continuous feature.In view of this, seeking a kind of new antigen and antibody expression method and relevant a series of artificial immune systems thereof is of great significance for the fault diagnosis tool of process industry.
Summary of the invention
The object of the invention is to overcome the defective of existing method applicability and self-learning capability deficiency, artificial immune system is applied to the fault diagnosis of process industry.Be different from traditional artificial immune system, the present invention proposes the expression way of new antigen and antibody and the method for diversity factor calculating and clonal propagation, and proposed a kind of mixed fault diagnostic method based on PCA and artificial immunity.
According to an aspect of the present invention, provide a kind of mixed fault diagnostic method based on PCA and artificial immune system, it is characterized in that comprising:
The PCA modeling procedure generates pca model with original normal sample,
Antibody generates step, generates antibody by the primary fault sample,
Failure detection steps is carried out fault detect with described pca model.
According to a further aspect of the present invention, above-mentioned mixed fault diagnostic method based on PCA and artificial immune system further comprises:
Antigen generates step, in the situation that being determined with fault, described failure detection steps exists, and with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Troubleshooting step utilizes described antigen and described antibody, judges the kind of fault.
According to a further aspect of the present invention, above-mentioned mixed fault diagnostic method based on PCA and artificial immune system further comprises:
Data acquisition and treatment step gather required flow process variable data, and described flow process variable data comprises historical data and described real time data, and described historical data comprises described original normal sample and described primary fault sample.
According to a further aspect of the present invention, above-mentioned mixed fault diagnostic method based on PCA and artificial immune system further comprises:
Described antigen is carried out clonal vaviation, thereby generates new antibody,
Upgrade antibody in described antibody library with described new antibody,
Determine the described threshold value of described new antibody.
According to another aspect of the present invention, provide a kind of Hybrid fault diagnosis system based on PCA and artificial immune system, it is characterized in that comprising:
The PCA model building device is used for generating pca model with original normal sample,
The antibody generating apparatus is used for generating antibody by the primary fault sample,
Failure detector is used for carrying out fault detect with described pca model.
According to a further aspect of the present invention, above-mentioned Hybrid fault diagnosis system based on PCA and artificial immune system further comprises:
The antigen generating apparatus is used in the situation that described failure detection steps is determined with the fault existence, with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Trouble-shooter is used for utilizing described antigen and described antibody, judges the kind of fault.
According to a further aspect of the present invention, above-mentioned Hybrid fault diagnosis system based on PCA and artificial immune system further comprises:
Data acquisition and treating apparatus are used for gathering required flow process variable data, and described flow process variable data comprises historical data and described real time data, and described historical data comprises described original normal sample and described primary fault sample.
According to a further aspect of the present invention, above-mentioned Hybrid fault diagnosis system based on PCA and artificial immune system further comprises:
Thereby described antigen is carried out the device that clonal vaviation generates new antibody,
Upgrade the device of the antibody in described antibody library with described new antibody,
Determine the device of the described threshold value of described new antibody.
Description of drawings
Fig. 1 has shown the process flow diagram of method according to an embodiment of the invention.
The formation of the antibody (antigen) that the method according to an embodiment of the invention that shown Fig. 2 adopts.
Antibody (antigen) diversity factor that the method according to an embodiment of the invention that shown Fig. 3 adopts is calculated schematic diagram.
Fig. 4 has shown the schematic diagram when method according to an embodiment of the invention is used to epoxypropane hydration reaction flow process.
Embodiment
The object of the invention is to overcome the defective of existing method applicability and self-learning capability deficiency, artificial immune system is applied to the fault diagnosis of process industry.Be different from traditional artificial immune system, the present invention proposes the expression way of new antigen and antibody and the method for diversity factor calculating and clonal propagation, and proposed a kind of mixed fault diagnostic method based on PCA and artificial immunity.
For the fault diagnosis of process industry, as shown in Figure 1, method according to an embodiment of the invention comprises:
-data acquisition and processing
Hybrid fault diagnosis system according to an embodiment of the invention can directly be connected with production equipment, at step S101, by such as PLC (Programmable Logic Controller), DCS (Distributed Control System (DCS)) and LIMS (Laboratory Information Management System) etc. gather required flow process variable data.Wherein known historical data is used for system initialization, sets up pca model and produces original antibody, and real-time online data is used for fault detection and diagnosis.All data were carried out normalized by formula (1) before initialization or fault diagnosis:
X = 0.5 + x - X ‾ X max - X min - - - ( 1 )
Wherein x is real data, X, X maxWith X minThe mean value of this variable data, maximal value and minimum value when being respectively nominal situation.
according to one embodiment of present invention, data acquisition and treatment step can be used as implements the preposition step that method of the present invention is carried out before.
-pca model is set up
Production data obtains original normal sample after the normalization of step S102, enter the principle modeling that step S103 utilizes PCA (principal component analysis (PCA)).Sample data is denoted as X ∈ R N * m(N is that specimen sample is counted, and m is the measurand number) calculated the covariance matrix R of X by formula (2).
R = 1 n - 1 X T X - - - ( 2 )
R is carried out svd, and result is suc as formula shown in (3):
R = [ P P ~ ] Λ [ P P ~ ] T - - - ( 3 )
Λ=diag (λ wherein 1, λ 2... λ m), λ 1〉=λ 2〉=... 〉=λ mBe the eigenwert of R,
Figure G2009102440664D00044
Be the matrix that the characteristic of correspondence vector forms, P ∈ R M * kBe loading matrix, P ~ ∈ R m × ( m - k ) Loading matrix for residual error.K is the pivot number of model, is determined by formula (4).
Σ i = 1 k λ i Σ i = 1 m λ i ≤ 85 % - - - ( 4 )
Obtain respectively pivot score matrix T ∈ R by formula (5) (6) again N * kBe loading matrix, and the residual error score matrix T ~ ∈ R N × ( m - k ) :
T=XP (5)
T ~ = X P ~ - - - ( 6 )
Having obtained like this principal component model is
X = T P T + T ~ P ~ T - - - ( 7 )
Calculate respectively T by formula (5) (6) again 2The control limit δ of statistic and SPE statistic TAnd δ SPE, be used for fault detect
δ T = k ( m - 1 ) m - k F k , m - 1 , α - - - ( 8 )
δ SPE = θ 1 [ C α 2 θ 2 h 0 2 θ 1 + 1 + θ 2 h 0 ( h 0 - 1 ) θ 1 2 ] 1 h 0 - - - ( 9 )
Wherein α is insolation level, gets the decimal between 0.9 to 1.F K, m-1, αCorresponding insolation level is α, and degree of freedom is k, the F distribution critical value under m-1 sample point. θ i = Σ j = k + 1 m λ j i , h 0 = 1 - 2 θ 1 θ 3 3 θ 2 2 , C αCorresponding normal distribution degree of confidence is the statistics fiducial limit of (1-α) %.
So just set up the pca model that can be used for fault detect.
-generation antibody library
For the primary fault sample that obtains after S102 step normalization, at step S104, determine its failure mode and time, get the data that fault is introduced rear set time length, generate first generation antibody, be denoted as Ab_fault=[Ab 1, Ab 2..., Ab n].The matrix that these antibody all are comprised of the seasonal effect in time series data sample, Ab iBe the time series of each variable, as shown in Figure 2, v-1~v-5 is respectively the data of 5 different variablees of system.First generation antibody of the same type generates a large amount of second generation antibodies through step S105 by formula (10) variation and clone, has consisted of antibody library.
X * = Σ i = 1 n a i X i + b ( X c - X d ) , Σ i = 1 n a i = 1 . . . n > 1 ( 1 + b 2 ) X 1 . . . n = 1 - - - ( 10 )
Wherein n is the number of known this kind first generation antibody, X iBe known first generation antibody, X *Be the second generation antibody that generates through the variation clone.a iBe the random decimal in 0 to 1, b is the random decimal between-1 to 1.C and d are the random integers between 1 to n.
Calculate again the threshold value of every kind of fault type antibody.
For two antibody (or antigen) of determining, can adopt the Dynamic Time Warping algorithm to calculate the diversity factor of antigen and antibody.At first get the time series calculated difference degree of identical variable, following d k(i, j) represents antigen and antibody respectively at i, and j is the Euclidean distance of variable k constantly:
d k(i,j)=|Ab k(j)-Ag k(i)|j∈[1,n],i∈[1,n] (13)
Construct a similarity matrix D and be used for describing between antigen and antibody track about the minimum difference degree of this variable.Iterative computation can be by d k(i, j) obtains D k(i, j) at first determines the iteration initial point.
D k(1,1)=d k(1,l) (14)
Further iterative computation when j<n:
D k ( i , j * ) = min D k ( i - 1 , j ) + d k ( i , j ) . . . . . . l ( i ) = j * = j if l ( i - 1 ) &NotEqual; l ( i - 2 ) D k ( i - 1 , j ) + d k ( i , j + 1 ) . . . l ( i ) = j * = j + 1 if j < n D k ( i - 1 , j ) + d k ( i , j + 2 ) . . . l ( i ) = j * = j + 2 if j < n - 1 - - - ( 15 )
Stop iteration when j=n, the iterations note of this moment is m=i, has found a shortest calculating path of diversity factor, as shown in Figure 3.Can calculate antigen and this variable diversity factor of antibody is by this iteration result:
&eta; k = &Sigma; i = 1 m | Ab ( i ) - Ag ( l ( i ) ) | m - - - ( 16 )
The process stronger to linearity, the diversity factor of same variable are calculated and also can be adopted the straightforward procedure of formula (7) directly to calculate:
&eta; k = &Sigma; i = 1 n | Ab ( i ) - Ag ( i ) | n - - - ( 17 )
The diversity factor of calculating all variablees just can obtain the total variances degree vector of antigen and antibody:
η=[η 1,η 2,…,η n] (18)
Utilize the diversity factor between all antibody of the same type in formula (13)-(18) calculating antibody storehouse, note is η (i, j).The threshold value of being calculated respectively each variable of the type antibody by formula (7) is:
threshold k = max 1 &le; i &le; n min 1 &le; j &le; n , i &NotEqual; j | &eta; k ( i , j ) | - - - ( 19 )
-utilize pca model to carry out fault detect
After step S106 normalization, obtain real-time detection data x newEnter step S107, utilize PCA to carry out fault detect, comprising:
Calculate respectively T by formula (20) (21) 2Statistic and SPE statistic:
T 2 = | | &Lambda; k - 1 2 T | | 2 = | | &Lambda; k - 1 2 P T x new | | 2 - - - ( 20 )
SPE = | | P ~ P ~ T x new | | 2 - - - ( 21 )
Wherein
Figure G2009102440664D00065
Be-1/2 power of front k diagonal element in Λ, Λ, P,
Figure G2009102440664D00066
All when setting up pca model, step S103 obtains;
Compare T 2Whether statistic and SPE statistic, all prescribe a time limit greater than controlling when the statistic such as continuous three points if wherein there is a statistic to think and may break down greater than controlling limit greater than the control limit, enter troubleshooting step, detect next group data otherwise return; And
Alternatively, can also use the statistic of PVR or CVR to carry out fault detect.
-utilize antibody library to carry out fault diagnosis
Break down in case detect confirmation at step S107, process entering step S108, the data generation antigen with set time length before detecting constantly is denoted as Ag=[Ag 1, Ag 2..., Ag n].These antigens are identical with the form of antibody in antibody library, the matrix that all is comprised of the seasonal effect in time series data sample, Ag iTime series for each variable.
After antigen generates, process the failure mode diagnosis that enters step S109, utilize formula (13)-(18) to calculate the diversity factor of all antibody of antigen and antibody library.When having antibody to calculate diversity factor less than corresponding threshold value, think that fault is consistent with this antibody.If all do not satisfy the threshold value requirement with the diversity factor of all antibody in antibody library, namely be judged as a kind of new fault.
The fault diagnosis result of refer step S109, the operator can carry out Artificial Diagnosis (S201), and is input to system, and system enters the step 110, accepts the result of input as final diagnostic result.
-antibody library upgrades
At step S104, with antigen as first generation antibody.Enter again step S105, by formula (10), the type antibody is carried out clonal vaviation, upgrade the antibody in antibody library, and upgraded the threshold value of this antibody by formula (19).
Embodiment:
The method according to this invention has been applied to the fault diagnosis of the reaction realistic model of an epoxypropane hydration generation propylene glycol.
This process flow diagram flow chart as shown in Figure 4.This reaction is all completed in stirred tank R-1.Pressure in course of reaction in stirred tank is P0, and temperature is T0, and liquid level is L0.R-1 follows two strands and becomes a mandarin, and one is epoxypropane solution, enters R-1 through pump P-1 and valve V-1, wherein contains a small amount of magazine methyl alcohol, and the flow of this stream thigh is F1, and temperature is T1, and propylene oxide concentrations is C1-1, and methanol concentration is C1-2.Another enters R-1 for the reaction water through pump P-2 and valve V-2, and flow is F2, and temperature is T2.
Product enters the T-1 tank through the V-3 valve, and product stream plume amount is F3, and temperature is T3, and product propylene glycol concentration is C3.
Because this reaction is themopositive reaction, need to use the chilled water heat exchange.Chilled water is through V-4 valve and stirred tank heat exchange, and cooling water flow is F4, and temperature is T4.
Also have XC, three controllers of LC and TC in flow process.Wherein, XC is the aperture change flow F1 by valve V-1, to control product propylene glycol concentration C 3.LC is the aperture change flow F3 by valve V-3, to control the liquid level L0 of stirred tank R-1.XC is the aperture change flow F1 by valve V-1, to control product propylene glycol concentration C 3.
The control index of whole process main operating parameters and controller is as shown in table 1.
Table 1 nominal situation parameter arranges
Figure G2009102440664D00071
This model mainly comprises five detection variable: the mole fraction-C3 of product propylene glycol, temperature of reaction-T0, product flow-F3, cooling water flow-F4, reactor liquid level-L0.
Carry out fault diagnosis, at first obtain the detection data of these five variablees by step S101, sampling time interval is 5 seconds.
After step S102 is one group of normal data sample normalization of 50000 seconds, then set up pca model at step S103.
In addition, too high raw water temperature T 2, impurity methyl alcohol mole fraction C1-2 is too high and each 2 groups of data of the malfunctioning three kinds of faults of temperature of reaction T0 controller, carry out normalization at step S102,10 sampling numbers according to generating antibody, and generate antibody library variation and the clone that step S105 carries out antibody near step S104 gets the fault introducing time again.
Completed like this initialization of fault diagnosis system, then real time data has been carried out fault detection and diagnosis after step S106 normalization.This example has adopted altogether 13 groups of real time data samples that method is verified.
At first take sample 1 as example, sample 1 is nominal situation, after S106 step normalization, enters S107 step PCA and detects.Calculate the data T of all sampled points 2Statistic and SPE statistic are limit less than controlling always, so testing result thinks that this sample is nominal situation.
Again take sample 2 as example, sample 2 is the too high fault of raw water temperature T 2 that 595s introduces, after S106 step normalization, entering S107 step PCA detects, all limit greater than controlling to T2 statistic and the SPE statistic of continuous three points of 630s at 620s, think fault has occured, enter S108 and go on foot by ten sampling numbers before failure detection time according to generating antigen.Go on foot by S109 again, utilize artificial immune system tracing trouble kind, calculate the diversity factor of all antibody in antigen and antibody library, find in the too high fault antibody library of this antigen and T2 Antibody difference ratio less than the type fault threshold, and with the other types Antibody difference ratio all greater than its corresponding threshold value.Therefore diagnostic result is the too high fault of T2, confirms that through step S110 the Artificial Diagnosis result is T2 too high, enters the S104 step, generates new antibodies by antigen.Go on foot by S105 again, carry out clone and the variation of antibody, upgrade antibody library.
Take sample 11 as example, sample 11 is the fault of the temperature of reaction T0 sensor zero point drift of 290s introducing again, after S106 step normalization, enters S107 step PCA and detects, and arrives the T of continuous three points of 310s at 300s 2Statistic and SPE statistic all greater than controlling limit, are thought fault has occured, and enter S108 and go on foot by ten sampling numbers before failure detection time according to generating antigen.Go on foot by S109 again, utilize artificial immune system tracing trouble kind, calculate the diversity factor of antigen and interior all antibody of antibody library, find this antigen with all Antibody difference ratios all greater than its corresponding threshold value.Therefore diagnostic result thinks that time sample is new fault.Confirm that through step S110 the Artificial Diagnosis result is the drift of T0 sensor zero point.Enter again the S104 step, generate new antibodies by antigen.Go on foot by S105 again, carry out clone and the variation of antibody, upgrade antibody library.
All fault diagnosis results of this example are as shown in table 2.
Table 2 fault diagnosis test result
Sequence number Fault category The introducing time Detection time Diagnostic-type
1 Normally - - Normally
2 T2 is too high 595s 630s T2 is too high
3 T2 is too high 120s 145s T2 is too high
4 T2 is too high 230s 255s T2 is too high
5 C1-2 is too high 225s 255s C1-2 is too high
6 C1-2 is too high 315s 340s C1-2 is too high
7 C1-2 is too high 320s 350s C1-2 is too high
8 TC is malfunctioning 240s 350s TC is malfunctioning
Sequence number Fault category The introducing time Detection time Diagnostic-type
9 TC is malfunctioning 205s 230s TC is malfunctioning
10 TC is malfunctioning 325s 400s TC is malfunctioning
11 The drift of T0 sensor zero point 290s 310s New fault
12 The drift of T0 sensor zero point 465s 485s The drift of T0 sensor zero point
13 The drift of T0 sensor zero point 380s 400s The drift of T0 sensor zero point
Should be understood that, the description of in above narration and explanation, the present invention being carried out just illustrates but not is determinate, and do not breaking away under the prerequisite of the present invention that limits as appended claims, can carry out various changes, distortion and/or revise above-described embodiment.

Claims (4)

1. mixed fault diagnostic method based on PCA and artificial immune system is characterized in that comprising:
The PCA modeling procedure generates pca model with original normal sample,
Antibody generates step, generates antibody by the primary fault sample,
Failure detection steps is carried out fault detect by described pca model,
Antigen generates step, in the situation that being determined with fault, described failure detection steps exists, and with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Troubleshooting step utilizes described antigen and described antibody, judges the kind of fault,
Data acquisition and treatment step, gather required flow process variable data, described flow process variable data comprises historical data and described real time data, described historical data comprises described original normal sample and described primary fault sample, and wherein said historical data and described real time data are subject to normalized:
X = 0.5 + x - X &OverBar; X max - X min
Wherein x is real data,
Figure FDA00002851809600012
X maxWith X minThe mean value of this variable data when being respectively nominal situation, maximal value and minimum value,
Described antibody generates step and comprises:
Determine failure mode and the time of described primary fault sample,
After introducing with fault, the data of the described primary fault sample of schedule time length, generate first generation antibody,
Described first generation antibody is made a variation and clones, thereby generate a large amount of second generation antibodies,
Wherein said first generation antibody and described second generation antibody have consisted of antibody library, and described first generation antibody and described second generation antibody all be used to described troubleshooting step,
Generate second generation antibody by formula (10) variation and clone,
X * = &Sigma; i = 1 n a i X i + b ( X c - X d ) , &Sigma; i = 1 n a i = 1 . . . n > 1 ( 1 + b 2 ) X 1 . . . n = 1 - - - ( 10 )
Wherein
Ab_fault=[Ab 1, Ab 2,, Ab n] the described first generation antibody of expression,
Ab iBe the time series of each variable,
N is the number of known this kind first generation antibody,
X iBe known first generation antibody,
X* is the second generation antibody that generates through the variation clone,
a iBe the random decimal in 0 to 1,
B is the random decimal between-1 to 1,
C and d are the random integers between 1 to n,
Calculate the threshold value of every kind of fault type antibody,
Described failure detection steps comprises:
Calculate respectively T by formula (20) (21) 2Statistic and SPE statistic:
T 2 = | | &Lambda; k - 1 2 T | | 2 = | | &Lambda; k - 1 2 P T x new | | 2 - - - ( 20 )
SPE = | | P ~ P ~ T x new | | 2 - - - ( 21 )
Wherein
x newBe described real time data,
Figure FDA00002851809600024
Be-1/2 power of front k diagonal element in Λ,
Λ, P, All obtain at described PCA modeling procedure;
Compare T 2Whether statistic and SPE statistic all prescribe a time limit greater than controlling when the statistic of predetermined number greater than controlling limit, and judge and break down,
Described troubleshooting step comprises:
The data of set time length before fault detect are constantly generated antigen A g=[Ag 1, Ag 2..., Ag n], these antigens are identical with the form of antibody in described antibody library, the matrix that all is comprised of the seasonal effect in time series data sample, Ag iBe the time series of each variable,
Utilize formula (13)-(16) and (18) to calculate the diversity factor of all antibody of antigen and described antibody library:
d k(i,j)=|Ab k(j)-Ag k(i)|j∈[1,n],i∈[1,n](13)
D wherein k(i, j) represents antigen and antibody respectively at i, and j is the Euclidean distance of variable k constantly,
Construct a similarity matrix D and be used for describing between antigen and antibody track about the minimum difference degree of this variable, iterative computation can be by d k(i, j) obtains D k(i, j) at first determines the iteration initial point,
D k(1,1)=d k(1,1)(14)
Further iterative computation when j<n:
D k ( i , j * ) = min D k ( i - 1 , j ) + d k ( i , j ) . . . . . . l ( i ) = j * = j if l ( i - 1 ) &NotEqual; l ( i - 2 ) D k ( i - 1 , j ) + d k ( i , j + 1 ) . . . l ( i ) = j * = j + 1 if j < n D k ( i - 1 , j ) + d k ( i , j + 2 ) . . . l ( i ) = j * = j + 2 if j < n - 1 - - - ( 15 )
Stop iteration when j=n, the iterations note of this moment is m=i, has found a shortest calculating path of diversity factor,
Can calculate antigen and this variable diversity factor of antibody is by this iteration result:
&eta; k = &Sigma; i = 1 m | Ab ( i ) - Ag ( l ( i ) ) | m - - - ( 16 )
The diversity factor of calculating all variablees just can obtain the total variances degree vector of antigen and antibody:
η=[η 12,…,η n](18)
When having antibody to calculate diversity factor less than corresponding threshold value, judge that fault is consistent with this antibody,
If all do not satisfy the threshold value requirement with the diversity factor of all antibody in described antibody library, namely be judged as a kind of new fault.
2. according to claim 1 the mixed fault diagnostic method based on PCA and artificial immune system is characterized in that further comprising:
By formula (10), described antigen is carried out clonal vaviation, thereby generates new antibody,
Upgrade antibody in described antibody library with described new antibody,
Determine the described threshold value of described new antibody.
3. Hybrid fault diagnosis system based on PCA and artificial immune system is characterized in that comprising:
The PCA model building device is used for generating pca model with original normal sample,
The antibody generating apparatus is used for generating antibody by the primary fault sample,
Failure detector is used for carrying out fault detect with described pca model,
The antigen generating apparatus is used in the situation that described failure detection steps is determined with the fault existence, with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Trouble-shooter is used for utilizing described antigen and described antibody, judges the kind of fault,
Data acquisition and treating apparatus, be used for gathering required flow process variable data, described flow process variable data comprises historical data and described real time data, described historical data comprises described original normal sample and described primary fault sample, and wherein said historical data and described real time data are subject to normalized:
X = 0.5 + x - X &OverBar; X max - X min
Wherein x is real data,
Figure FDA00002851809600033
X maxWith X minThe mean value of this variable data when being respectively nominal situation, maximal value and minimum value,
Described antibody generating apparatus is used for carrying out following operation:
Determine failure mode and the time of described primary fault sample,
After introducing with fault, the data of the described primary fault sample of schedule time length, generate first generation antibody,
Described first generation antibody is made a variation and clones, thereby generate a large amount of second generation antibodies,
Wherein said first generation antibody and described second generation antibody have consisted of antibody library, and described first generation antibody and described second generation antibody all be used to described troubleshooting step,
Generate second generation antibody by following formula (10) variation and clone,
X * = &Sigma; i = 1 n a i X i + b ( X c - X d ) , &Sigma; i = 1 n a i = 1 . . . n > 1 ( 1 + b 2 ) X 1 . . . n = 1 - - - ( 10 )
Wherein
Ab_fault=[Ab 1, Ab 2..., Ab n] the described first generation antibody of expression,
Ab iBe the time series of each variable,
N is the number of known this kind first generation antibody,
X iBe known first generation antibody,
X* is the second generation antibody that generates through the variation clone,
a iBe the random decimal in 0 to 1,
B is the random decimal between-1 to 1,
C and d are the random integers between 1 to n,
Calculate the threshold value of every kind of fault type antibody,
Described failure detector is used for carrying out following operation:
Calculate respectively T by formula (20) (21) 2Statistic and SPE statistic:
T 2 = | | &Lambda; k - 1 2 T | | 2 = | | &Lambda; k - 1 2 P T x new | | 2 - - - ( 20 )
SPE = | | P ~ P ~ T x new | | 2 - - - ( 21 )
Wherein
x newBe described real time data,
Figure FDA00002851809600044
Be-1/2 power of front k diagonal element in Λ,
Λ, P,
Figure FDA00002851809600045
All obtain at described PCA modeling procedure;
Compare T 2Whether statistic and SPE statistic all prescribe a time limit greater than controlling when the statistic of predetermined number greater than controlling limit, and judge and break down,
Described trouble-shooter is used for carrying out following operation:
The data of set time length before fault detect are constantly generated antigen A g=[Ag 1, Ag 2..., Ag n], these antigens are identical with the form of antibody in described antibody library, the matrix that all is comprised of the seasonal effect in time series data sample, Ag iBe the time series of each variable,
Utilize formula (13)-(16) and (18) to calculate the diversity factor of all antibody of antigen and described antibody library:
d k(i,j)=|Abx(j)-Ag k(i)|j∈[1,n],i∈[1,n] (13)
D wherein k(i, j) represents antigen and antibody respectively at i, and j is the Euclidean distance of variable k constantly,
Construct a similarity matrix D and be used for describing between antigen and antibody track about the minimum difference degree of this variable, iterative computation can be by d k(i, j) obtains D k(i, j) at first determines the iteration initial point.
D k(1,1)=d k(1,1) (14)
Further iterative computation when j<n:
D k ( i , j * ) = min D k ( i - 1 , j ) + d k ( i , j ) . . . . . . l ( i ) = j * = j if l ( i - 1 ) &NotEqual; l ( i - 2 ) D k ( i - 1 , j ) + d k ( i , j + 1 ) . . . l ( i ) = j * = j + 1 if j < n D k ( i - 1 , j ) + d k ( i , j + 2 ) . . . l ( i ) = j * = j + 2 if j < n - 1 - - - ( 15 )
Stop iteration when j=n, the iterations note of this moment is m=i, has found a shortest calculating path of diversity factor,
Can calculate antigen and this variable diversity factor of antibody is by this iteration result:
&eta; k = &Sigma; i = 1 m | Ab ( i ) - Ag ( l ( i ) ) | m - - - ( 16 )
The diversity factor of calculating all variablees just can obtain the total variances degree vector of antigen and antibody:
η=[η 12,…,η n] (18)
When having antibody to calculate diversity factor less than corresponding threshold value, judge that fault is consistent with this antibody,
If all do not satisfy the threshold value requirement with the diversity factor of all antibody in described antibody library, namely be judged as a kind of new fault.
4. according to claim 3 the Hybrid fault diagnosis system based on PCA and artificial immune system, is characterized in that further comprising the antibody updating device, and described antibody updating device further comprises:
By formula (10) thus described antigen is carried out the device that clonal vaviation generates new antibody,
Upgrade the device of the antibody in described antibody library with described new antibody,
Determine the device of the described threshold value of described new antibody.
CN 200910244066 2009-12-28 2009-12-28 Method and system for diagnosing mixed failure based on PCA and artificial immune system Active CN102110187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910244066 CN102110187B (en) 2009-12-28 2009-12-28 Method and system for diagnosing mixed failure based on PCA and artificial immune system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910244066 CN102110187B (en) 2009-12-28 2009-12-28 Method and system for diagnosing mixed failure based on PCA and artificial immune system

Publications (2)

Publication Number Publication Date
CN102110187A CN102110187A (en) 2011-06-29
CN102110187B true CN102110187B (en) 2013-06-05

Family

ID=44174348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910244066 Active CN102110187B (en) 2009-12-28 2009-12-28 Method and system for diagnosing mixed failure based on PCA and artificial immune system

Country Status (1)

Country Link
CN (1) CN102110187B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760208B (en) * 2012-07-03 2015-07-29 清华大学 Based on the Dynamic artificial immune method for diagnosing faults of simulating vaccine
CN103245373B (en) * 2013-04-09 2017-02-08 哈尔滨工程大学 Method for diagnosing faults of sensor of underwater robot
US11264121B2 (en) 2016-08-23 2022-03-01 Accenture Global Solutions Limited Real-time industrial plant production prediction and operation optimization
CN110148072B (en) * 2018-02-12 2023-05-02 庄龙飞 Sport course scoring method and system
CN108960332A (en) * 2018-07-11 2018-12-07 杭州电子科技大学 A kind of on-line monitoring method based on multidirectional the analysis of main elements
CN109683586A (en) * 2018-12-10 2019-04-26 国电南瑞科技股份有限公司 A kind of equipment O&M method for diagnosing faults of task based access control type dialogue robot
CN109917758A (en) * 2019-01-25 2019-06-21 北京交通大学 A kind of processing method and system of industrial equipment data
CN111028939B (en) * 2019-11-15 2023-03-31 华南理工大学 Multigroup intelligent diagnosis system based on deep learning
CN112269336B (en) * 2020-10-19 2022-03-08 张家宁 Abnormal control discovery method and device, electronic equipment and storage medium
CN113359679A (en) * 2021-06-24 2021-09-07 东北大学 Industrial process fault diagnosis method based on reconstructed amplitude trend characteristics
CN115307669B (en) * 2022-10-11 2023-01-10 蘑菇物联技术(深圳)有限公司 Method, apparatus, and medium for detecting abnormal sensor of system under test

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458751A (en) * 2009-01-06 2009-06-17 华中科技大学 Storage abnormal detecting method based on artificial immunity

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458751A (en) * 2009-01-06 2009-06-17 华中科技大学 Storage abnormal detecting method based on artificial immunity

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
人工免疫***在间歇化工过程故障诊断中的应用;戴一阳等;《化工学报》;20090131;第60卷(第1期);172-176 *
化工过程混合故障诊断***的应用研究;戴一阳等;《2009中国过程***功能年会暨中国mes年会论文集》;20090930;129-132 *
戴一阳等.人工免疫***在间歇化工过程故障诊断中的应用.《化工学报》.2009,第60卷(第1期),172-176.
戴一阳等.化工过程混合故障诊断***的应用研究.《2009中国过程***功能年会暨中国mes年会论文集》.2009,129-132.

Also Published As

Publication number Publication date
CN102110187A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN102110187B (en) Method and system for diagnosing mixed failure based on PCA and artificial immune system
US20210110262A1 (en) Method and system for semi-supervised deep anomaly detection for large-scale industrial monitoring systems based on time-series data utilizing digital twin simulation data
CN107301884B (en) A kind of hybrid nuclear power station method for diagnosing faults
CN101630376B (en) Soft-sensing modeling method and soft meter of multi-model neural network in biological fermentation process
US7966149B2 (en) Multivariate detection of transient regions in a process control system
US10878140B2 (en) Plant builder system with integrated simulation and control system configuration
CN101375221B (en) Rule set for root cause diagnostics
CN110738274A (en) nuclear power device fault diagnosis method based on data driving
WO2005111806A3 (en) Sensor fault diagnostics and prognostics using component model and time scale orthogonal expansions
CN105975797B (en) A kind of product initial failure root primordium recognition methods based on Fuzzy data processing
CN107037770A (en) Method for being modeled to technological system
CN102640069B (en) A system and method for system automation based on interpreting a tree sequence of operations
CN106200624A (en) Industrial Boiler method for diagnosing faults based on intersection segmentation PCA
Zhang et al. Evaluate the impact of sensor accuracy on model performance in data-driven building fault detection and diagnostics using Monte Carlo simulation
KR102494420B1 (en) Machine learning-based clean room management system and method
Jiang et al. Partial cross mapping based on sparse variable selection for direct fault root cause diagnosis for industrial processes
Muravyova et al. Development of the intellectual complex for parallel work of steam boilers
CN110516355B (en) Leakage test curve trend prediction method and system based on pre-estimated function model
CN103364199A (en) Imaging fault diagnosis method of gas turbine
CN103760889B (en) Fault based on Bayesian network separates fast method
KR20010036423A (en) Method and apparatus for detecting fault using General Regression Neural Network
CN110783007A (en) Reactor control room system
CN101124580B (en) Architecture for general-purpose programmable semiconductor processing system and methods therefor
Wen et al. AHU AFDD
US20220237451A1 (en) Semiconductor process prediction method and semiconductor process prediction apparatus for heterogeneous data

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