CN102110187A - 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
CN102110187A
CN102110187A CN2009102440664A CN200910244066A CN102110187A CN 102110187 A CN102110187 A CN 102110187A CN 2009102440664 A CN2009102440664 A CN 2009102440664A CN 200910244066 A CN200910244066 A CN 200910244066A CN 102110187 A CN102110187 A CN 102110187A
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.)
Granted
Application number
CN2009102440664A
Other languages
Chinese (zh)
Other versions
CN102110187B (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 process industries such as bio-pharmaceuticals process.
Background technology
Along with science and technology development, 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 was very necessary.Fault diagnosis is the very practical technology that many science are intersected as a comprehensive branch of learning.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 be judged, this for simple and mechanical process still relatively effectively.Second stage is to utilize sensor technology and technique of dynamic measurement, and signal is carried out modeling analysis, and this has obtained using widely, and than the previous stage, the precision and the standardized degree in this stage are greatly improved.Three phases is just in the developing Intelligent Information Processing stage, and this also is 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 years of development, and theoretical method mainly contains three classes: based on the method for analytic model, based on the method for knowledge, based on the method for signal, typical method has neural network method, 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, also has deficiency for the fault diagnosis of flow process itself.Main cause is that the actual industrial flow process has instability, can be along with the improvement of technology 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.At 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 an a kind of comprehensive intelligent system, and it organically combines immunology and engineering science, utilizes 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, the judgement for oneself and nonego is incorporated into fault diagnosis field by reference in the artificial immunity.Yet traditional based on all that system is the instantaneous variable of the fault diagnosis algorithm of artificial immune system as antigen and antibody, data are implemented continuous feature in the process industry that is beyond expression.In view of this, seek a kind of new antigen and antibody expression method and relevant a series of artificial immune systems thereof and have crucial meaning for the fault diagnosis of process industry.
Summary of the invention
The objective of the invention is to overcome existing method applicability and self-learning capability defect of insufficient, 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, it is characterized in that comprising based on PCA and artificial immune system:
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 generation step is judged under the situation that the fault existence is arranged in described failure detection steps, 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 are gathered 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 the 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 mixed fault diagnostic system, it is characterized in that comprising based on PCA and artificial immune system:
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 mixed fault diagnostic system based on PCA and artificial immune system further comprises:
The antigen generating apparatus is used for judging under the situation that the fault existence is arranged in described failure detection steps, with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Trouble-shooter is used to utilize described antigen and described antibody, judges the kind of fault.
According to a further aspect of the present invention, above-mentioned mixed fault diagnostic system based on PCA and artificial immune system further comprises:
Data acquisition and treating apparatus are used to 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 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 the 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.
Fig. 2 has shown the formation of the antibody that method according to an embodiment of the invention adopted (antigen).
Fig. 3 has shown the antibody that method according to an embodiment of the invention adopted (antigen) diversity factor calculating synoptic diagram.
Fig. 4 has shown the synoptic diagram when method according to an embodiment of the invention is used to epoxypropane hydration reaction flow process.
Embodiment
The objective of the invention is to overcome existing method applicability and self-learning capability defect of insufficient, 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.
At the fault diagnosis of process industry, as shown in Figure 1, method according to an embodiment of the invention comprises:
-data acquisition and processing
Mixed fault diagnostic 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 then 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 a real data, X, X MaxWith X MinThe mean value of this variable data, maximal value and minimum value when being respectively nominal situation.
In 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)).The sample data note is made 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, the result as the formula (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 is formed, 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 pivot score matrix T ∈ R respectively by formula (5) (6) again N * kBe that loading matrix and residual error get sub matrix T ~ ∈ R N × ( m - k ) :
T=XP (5)
T ~ = X P ~ - - - ( 6 )
Having obtained principal component model like this is
X = T P T + T ~ P ~ T - - - ( 7 )
Calculate T respectively 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 an 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 after S102 step normalization, obtains, at step S104, determine its failure mode and time, get the data that fault is introduced back set time length, generate first generation antibody, note is made Ab_fault=[Ab 1, Ab 2..., Ab n].The matrix that these antibody all are made up 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 antibody through step S105 by formula (10) variation and clone, has constituted 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 decimal at random in 0 to 1, b is the decimal at random 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 again.
For two antibody (or antigen) of determining, can adopt the diversity factor of Dynamic Time Warping algorithm computation 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, the note be η (i, j).The threshold value of being calculated each variable of the type antibody by formula (7) respectively 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 T respectively 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 preceding k diagonal element among the Λ, Λ, P,
Figure G2009102440664D00066
All when setting up pca model, step S103 obtains;
Compare T 2Whether statistic and SPE statistic are limit greater than control, if wherein there is a statistic then to think and may break down greater than the control limit, all prescribe a time limit greater than control when the statistic such as continuous three points, 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 affirmation at step S107, handle entering step S108, with the data generation antigen of set time length before detecting constantly, note is made Ag=[Ag 1, Ag 2..., Ag n].These antigens are identical with the form of antibody in the antibody library, matrixes of being made up of the seasonal effect in time series data sample all, Ag iTime series for each variable.
After antigen generates, handle 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 antibody calculates diversity factor less than corresponding threshold value, think that then fault is consistent with this antibody.If all do not satisfy the threshold value requirement with the diversity factor of all antibody in the antibody library, promptly be judged as a kind of new fault.
The fault diagnosis result of refer step S109, the operator can manually diagnose (S201), and is input to system, and system enters the step 110, and the result who accepts input is as final diagnostic result.
-antibody library upgrades
At step S104, with antigen as first generation antibody.Enter step S105 again, the type antibody is carried out clonal vaviation, upgrade the antibody in the antibody library, and upgrade the threshold value of this antibody by formula (19) by formula (10).
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 finished in stirred tank R-1.Pressure in the course of reaction in the 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 spot 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 jar 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, needs 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 the flow process.Wherein, XC is the aperture change flow F1 by valve V-1, with control product propylene glycol concentration C 3.LC is the aperture change flow F3 by valve V-3, with the liquid level L0 of control stirred tank R-1.XC is the aperture change flow F1 by valve V-1, with control product propylene glycol concentration C 3.
The controlling index of whole process main operating parameters and controller is as shown in table 1.
Table 1 nominal situation parameter is provided with
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, set up pca model at step S103 again.
In addition, 2 too high the raw water temperature T, 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 and generate antibody library variation and the clone that step S105 carries out antibody according to generating antibody near step S104 gets the fault introducing time again.
Finish the initialization of fault diagnosis system like this, again real time data has been carried out fault detection and diagnosis after step S106 normalization.This example has adopted 13 groups of real time data samples that method is verified altogether.
Be example with sample 1 at first, sample 1 is a 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 always less than the control limit, so testing result thinks that this sample is a nominal situation.
Be example with sample 2 again, sample 2 is the too high fault of the raw water temperature T introduced of 595s 2, after S106 step normalization, entering S107 step PCA detects, all limit to the T2 statistic and the SPE statistic of continuous three points of 630s at 620s greater than control, think fault has taken place, 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 the antibody library, find in the too high fault antibody library of this antigen and T2 the antibody diversity factor less than the type fault threshold, and with other types antibody diversity factor all greater than its corresponding threshold.Therefore diagnostic result is the too high fault of T2, and it is too high to confirm that through step S110 artificial diagnostic result is T2, enters the S104 step, generates new antibodies by antigen.By the S105 step, carry out the clone and the variation of antibody again, upgrade antibody library.
Be example with sample 11 again, sample 11 is the fault of the temperature of reaction T0 sensor zero point drift of 290s introducing, 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 the control limit, are thought fault have been taken place, and enter S108 and go on foot by ten sampling numbers before failure detection time according to generating antigen.By the S109 step, utilize artificial immune system tracing trouble kind again, calculate the diversity factor of all antibody in antigen and the antibody library, find that this antigen and all antibody diversity factoies are all greater than its corresponding threshold.Therefore diagnostic result thinks that time sample is new fault.Confirm that through step S110 artificial diagnostic result is the drift of T0 sensor zero point.Enter the S104 step again, generate new antibodies by antigen.By the S105 step, carry out the clone and the variation of antibody again, 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, in above narration and explanation to just explanation but not determinate of description that the present invention carried out, 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 correction the foregoing description.

Claims (10)

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.
2. according to the mixed fault diagnostic method based on PCA and artificial immune system of claim 1, it is characterized in that further comprising:
Antigen generation step is judged under the situation that the fault existence is arranged in described failure detection steps, 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.
3. according to the mixed fault diagnostic method based on PCA and artificial immune system of claim 1 or 2, it is characterized in that further comprising:
Data acquisition and treatment step are gathered 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,
Wherein antibody generation step further comprises, from the described antibody that is generated by the primary fault sample, variation and clone generate second generation antibody.
4. according to the mixed fault diagnostic method based on PCA and artificial immune system of claim 2, it is characterized in that further comprising:
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 subjected to normalized:
X = 0.5 + x - X &OverBar; X max - X min
Wherein x is a real data, X, 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 the failure mode and the time of described primary fault sample,
Data with the described primary fault sample of schedule time length after the fault introducing generate first generation antibody,
Described first generation antibody is made a variation and clones, thereby generate a large amount of second generation antibody,
Wherein said first generation antibody and described second generation antibody have constituted antibody library, and described first generation antibody and described second generation antibody all is 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 *Be the second generation antibody that generates through the variation clone,
a iBe the decimal at random in 0 to 1,
B is the decimal at random 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 T respectively 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 F2009102440664C00024
Be-1/2 power of preceding k diagonal element among the Λ,
Λ, P,
Figure F2009102440664C00025
All obtain at described PCA modeling procedure;
Compare T 2Whether statistic and SPE statistic all prescribe a time limit greater than control when the statistic of predetermined number greater than the control limit, and then judge and break down,
Described troubleshooting step comprises:
The data of set time length before the fault detect are constantly generated antigen A g=[Ag 1, Ag 2..., Ag n], these antigens are identical with the form of antibody in the described antibody library, matrixes of being made up of the seasonal effect in time series data sample all, 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 , ifl ( i - 1 ) &NotEqual; ( i - 2 ) D k ( i - 1 , j ) + d k ( i , j + 1 ) . . . l ( i ) = j * = j + 1 , ifj < n D k ( i - 1 , j ) + d k ( i , j + 2 ) . . . l ( i ) = j * = j + 2 , ifj < 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:
η=[η 1,η 2,…,η n] (18)
When antibody calculates diversity factor less than corresponding threshold value, judge that then fault is consistent with this antibody,
If all do not satisfy the threshold value requirement with the diversity factor of all antibody in the described antibody library, promptly be judged as a kind of new fault.
5. according to the mixed fault diagnostic method based on PCA and artificial immune system of claim 2 or 4, it is characterized in that further comprising:
By formula (10) described antigen is carried out clonal vaviation, thereby generates new antibody,
Upgrade antibody in the described antibody library with described new antibody,
Determine the described threshold value of described new antibody.
6. mixed fault diagnostic 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.
7. according to the mixed fault diagnostic system based on PCA and artificial immune system of claim 6, it is characterized in that further comprising:
The antigen generating apparatus is used for judging under the situation that the fault existence is arranged in described failure detection steps, with the real time data generation antigen of schedule time length before the detection constantly of described failure detection steps,
Trouble-shooter is used to utilize described antigen and described antibody, judges the kind of fault.
8. according to the mixed fault diagnostic system based on PCA and artificial immune system of claim 6 or 7, it is characterized in that further comprising:
Data acquisition and treating apparatus are used to 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,
Wherein the antibody generating apparatus further comprises the described antibody that is used for from by the generation of primary fault sample, and variation and clone generate the device of second generation antibody.
9. according to the mixed fault diagnostic system based on PCA and artificial immune system of claim 7, it is characterized in that further comprising:
Data acquisition and treating apparatus, be used to 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 subjected to normalized:
X = 0.5 + x - X &OverBar; X max - X min
Wherein x is a real data, X, 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 to carry out following operation:
Determine the failure mode and the time of described primary fault sample,
Data with the described primary fault sample of schedule time length after the fault introducing generate first generation antibody,
Described first generation antibody is made a variation and clones, thereby generate a large amount of second generation antibody,
Wherein said first generation antibody and described second generation antibody have constituted antibody library, and described first generation antibody and described second generation antibody all is 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 x - 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 *Be the second generation antibody that generates through the variation clone,
a iBe the decimal at random in 0 to 1,
B is the decimal at random 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 to carry out following operation:
Calculate T respectively 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,
Be-1/2 power of preceding k diagonal element among the Λ,
Λ, P,
Figure F2009102440664C00054
All obtain at described PCA modeling procedure;
Compare T 2Whether statistic and SPE statistic all prescribe a time limit greater than control when the statistic of predetermined number greater than the control limit, and then judge and break down,
Described trouble-shooter is used to carry out following operation:
The data of set time length before the fault detect are constantly generated antigen A g=[Ag 1, Ag 2..., Ag n], these antigens are identical with the form of antibody in the described antibody library, matrixes of being made up of the seasonal effect in time series data sample all, 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 , ifl ( i - 1 ) &NotEqual; ( i - 2 ) D k ( i - 1 , j ) + d k ( i , j + 1 ) . . . l ( i ) = j * = j + 1 , ifj < n D k ( i - 1 , j ) + d k ( i , j + 2 ) . . . l ( i ) = j * = j + 2 , ifj < 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:
η=[η 1,η 2,…,η n] (18)
When antibody calculates diversity factor less than corresponding threshold value, judge that then fault is consistent with this antibody,
If all do not satisfy the threshold value requirement with the diversity factor of all antibody in the described antibody library, promptly be judged as a kind of new fault.
10. according to the mixed fault diagnostic system based on PCA and artificial immune system of claim 7 or 9, it is characterized in that further comprising the antibody updating device, 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 the 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 true CN102110187A (en) 2011-06-29
CN102110187B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760208A (en) * 2012-07-03 2012-10-31 清华大学 Dynamic artificial immune fault diagnosis method based on simulation vaccine
CN103245373A (en) * 2013-04-09 2013-08-14 哈尔滨工程大学 Method for diagnosing faults of sensor of underwater robot
CN108960332A (en) * 2018-07-11 2018-12-07 杭州电子科技大学 A kind of on-line monitoring method based on multidirectional the analysis of main elements
CN109643085A (en) * 2016-08-23 2019-04-16 埃森哲环球解决方案有限公司 Real-time industrial equipment production forecast and operation optimization
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
CN110148072A (en) * 2018-02-12 2019-08-20 庄龙飞 Sport course methods of marking and system
CN111028939A (en) * 2019-11-15 2020-04-17 华南理工大学 Multigroup intelligent diagnosis system based on deep learning
CN112269336A (en) * 2020-10-19 2021-01-26 张家宁 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
CN115307669A (en) * 2022-10-11 2022-11-08 蘑菇物联技术(深圳)有限公司 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 (2)

* Cited by examiner, † Cited by third party
Title
戴一阳等: "人工免疫***在间歇化工过程故障诊断中的应用", 《化工学报》 *
戴一阳等: "化工过程混合故障诊断***的应用研究", 《2009中国过程***功能年会暨中国MES年会论文集》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760208A (en) * 2012-07-03 2012-10-31 清华大学 Dynamic artificial immune fault diagnosis method based on simulation vaccine
WO2014005394A1 (en) * 2012-07-03 2014-01-09 Tsinghua University Fault diagnosing method based on simulated vaccine
CN102760208B (en) * 2012-07-03 2015-07-29 清华大学 Based on the Dynamic artificial immune method for diagnosing faults of simulating vaccine
US9128879B2 (en) 2012-07-03 2015-09-08 Tsinghua University Fault diagnosing method based on simulated vaccine
CN103245373A (en) * 2013-04-09 2013-08-14 哈尔滨工程大学 Method for diagnosing faults of sensor of underwater robot
CN103245373B (en) * 2013-04-09 2017-02-08 哈尔滨工程大学 Method for diagnosing faults of sensor of underwater robot
CN109643085B (en) * 2016-08-23 2022-05-10 埃森哲环球解决方案有限公司 Real-time industrial plant production prediction and operational optimization
CN109643085A (en) * 2016-08-23 2019-04-16 埃森哲环球解决方案有限公司 Real-time industrial equipment production forecast and operation optimization
US11264121B2 (en) 2016-08-23 2022-03-01 Accenture Global Solutions Limited Real-time industrial plant production prediction and operation optimization
CN110148072A (en) * 2018-02-12 2019-08-20 庄龙飞 Sport course methods of marking and system
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
CN111028939A (en) * 2019-11-15 2020-04-17 华南理工大学 Multigroup intelligent diagnosis system based on deep learning
CN111028939B (en) * 2019-11-15 2023-03-31 华南理工大学 Multigroup intelligent diagnosis system based on deep learning
CN112269336A (en) * 2020-10-19 2021-01-26 张家宁 Abnormal control discovery method and device, electronic equipment and storage medium
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
CN115307669A (en) * 2022-10-11 2022-11-08 蘑菇物联技术(深圳)有限公司 Method, apparatus, and medium for detecting abnormal sensor of system under test
CN115307669B (en) * 2022-10-11 2023-01-10 蘑菇物联技术(深圳)有限公司 Method, apparatus, and medium for detecting abnormal sensor of system under test

Also Published As

Publication number Publication date
CN102110187B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN102110187B (en) Method and system for diagnosing mixed failure based on PCA and artificial immune system
Wang et al. A hybrid fault diagnosis methodology with support vector machine and improved particle swarm optimization for nuclear power plants
Li et al. A sensor fault detection and diagnosis strategy for screw chiller system using support vector data description-based D-statistic and DV-contribution plots
US7966149B2 (en) Multivariate detection of transient regions in a process control system
JP2021064370A (en) Method and system for semi-supervised deep abnormality detection for large-scale industrial monitoring system based on time-series data utilizing digital twin simulation data
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
CN101601023A (en) Heat exchanger fouling detects
Sterling et al. Model-based fault detection and diagnosis of air handling units: A comparison of methodologies
CN105975797B (en) A kind of product initial failure root primordium recognition methods based on Fuzzy data processing
CN104914723A (en) Industrial process soft measurement modeling method based on cooperative training partial least squares model
CN110673515A (en) Monitoring of industrial facilities
CN106200624B (en) Based on the Industrial Boiler method for diagnosing faults for intersecting segmentation PCA
CN111122811A (en) Sewage treatment process fault monitoring method of OICA and RNN fusion model
CN107015486A (en) A kind of air-conditioner water system regulating valve intelligent fault diagnosis method
CN102436252B (en) Process industry fault diagnosis method and system based on immune hazard theory
Zhang et al. Evaluate the impact of sensor accuracy on model performance in data-driven building fault detection and diagnostics using Monte Carlo simulation
Lim et al. Smart soft-sensing for the feedwater flowrate at PWRs using a GMDH algorithm
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
Wang et al. An evolving learning-based fault detection and diagnosis method: Case study for a passive chilled beam system
CN103389360A (en) Probabilistic principal component regression model-based method for soft sensing of butane content of debutanizer
Muravyova et al. Development of the intellectual complex for parallel work of steam boilers
Skaf et al. A simple state-based prognostic model for filter clogging

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