CN105629958A - Intermittence process fault diagnosis method based on sub-period MPCA-SVM - Google Patents

Intermittence process fault diagnosis method based on sub-period MPCA-SVM Download PDF

Info

Publication number
CN105629958A
CN105629958A CN201610084062.4A CN201610084062A CN105629958A CN 105629958 A CN105629958 A CN 105629958A CN 201610084062 A CN201610084062 A CN 201610084062A CN 105629958 A CN105629958 A CN 105629958A
Authority
CN
China
Prior art keywords
period
data
matrix
sub
svm
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
CN201610084062.4A
Other languages
Chinese (zh)
Other versions
CN105629958B (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.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201610084062.4A priority Critical patent/CN105629958B/en
Publication of CN105629958A publication Critical patent/CN105629958A/en
Application granted granted Critical
Publication of CN105629958B publication Critical patent/CN105629958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0243Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model
    • G05B23/0254Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model based on a quantitative model, e.g. mathematical relationships between inputs and outputs; functions: observer, Kalman filter, residual calculation, Neural Networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24048Remote test, monitoring, diagnostic

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Complex Calculations (AREA)

Abstract

The invention discloses an intermittence process fault diagnosis method based on a sub-period MPCA-SVM, and relates to the field of fault diagnosis based on pattern recognition. The method comprises the steps: firstly carrying out the unfolding of three dimensional data of a fermentation process, and carrying out slicing in a time direction; secondly carrying out the rough dividing and fine dividing of a time period for the intermittence process through employing an MPCA; and finally building an MPCA monitoring model and an SVM diagnosis model in each sub-period. The online fault diagnosis comprises the steps: carrying out the processing of the collected data according to a model, calculating a statistic quantity, and comparing the statistic quantity with a control limit. The production is carried out normally if the limit is exceeded, or else, the data is substituted into the SVM diagnosis model of the corresponding time period for fault diagnosis. The method just carries out the filling of data in a time period when a fault happens, and reduces the impact on the accuracy of the SVM fault diagnosis from manual excessive filling of known data. Meanwhile, the method also reduces the number of models, and solves a problem that a diagnosis process is complex because of the frequent updating of the model.

Description

A kind of batch process method for diagnosing faults based on sub-period MPCA-SVM
Technical field
The present invention relates to the fault diagnosis technology field based on pattern recognition, particularly to one for batch process on-line fault diagnosis technology. Namely the method based on pattern recognition of the present invention is the concrete application in typical batch process penicillin fermentation process malfunction monitoring.
Background technology
Batch process has the features such as specific function, high added value, small lot, multi items because of its product so that its proportion shared aborning is increasing, therefore that the fault diagnosis of batch process is also more and more important. But batch process has the features such as dynamic, strong nonlinearity and period characteristic and the high impact being vulnerable to the factors such as environment with product quality of operation complexity so that the research of its fault diagnosis is faced more challenges.
Fault diagnosis for batch process, method the more commonly used at present has the method for contribution plot and pattern recognition, some scholar utilizes multidirectional principal component analysis (Multi-wayprincipalcomponentanalysis, MPCA) batch process is carried out on-line monitoring at times, and utilize the method for contribution plot to review fault variable, but the method adopts normal data to carry out fault diagnosis, can not really react the information of fault, and have ignored the dependency between variable, single argument fault can only be diagnosed, and the method for pattern recognition can overcome the deficiency of MPCA contribution plot. support vector machine (SupportVectorMachine, SVM) has stronger nonlinear system study ability because of it under small sample so that SVM becomes a kind of mode identification method being widely used. some scholar utilizes MPCA and SVM that whole batch process is set up Off-line faults diagnosis model, the unknown data of artificial filling process is inevitably needed in diagnostic phases, but the data filled often there are differences with real process data, influences whether the accuracy rate of fault diagnosis to a certain extent, in order to solve this problem, sliding time window setting technique and SVM are conjointly employed in the fault diagnosis of batch process by other scholar, though can solve because a large amount of data of filling bring the problem of accuracy rate of diagnosis, but there is model modification shortcoming frequently so that diagnosis process is loaded down with trivial details.
Summary of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of batch process on-line fault diagnosis method based on sub-period MPCA-SVM. Utilize MPCA to divide batch process, the search volume of fault diagnosis is confined to one by one in the specific period, and each period is set up fault detection and diagnosis model. The method is without filling the unknown data of whole production process, and the data of the period that is filled only with breaking down, therefore can reduce owing to artificial fills the impact that the accuracy rate of SVM fault diagnosis is brought by too much unknown data. It is also possible to reduce the quantity of modeling, thus solving the problem that the diagnosis process caused because of Renewal model continually is complicated.
Present invention employs following technical scheme and realize step:
A. the off-line modeling stage
1) gathering the historical data under sweat nominal situation, the I lot data under the same sweat same process that described historical data X is obtained by off-line test is constituted, X=(X1,X2,...,XI)T, wherein Xi(i=1,2 ..., I) represent the i-th lot data. Each batch comprises K sampling instant, i.e. Xi=(Xi,1,Xi,2,...,Xi,K), wherein Xi,kRepresent the data that i-th batch of kth sampling instant gathers. Each sampling instant gathers J process variable, i.e. Xi,k=(xi,k,1,xi,k,2,...,xi,k,J), wherein xi,k,jThe measured value of the jth process variable of kth sampling instant in representing i-th batch;
2) being standardized historical data X processing, processing mode is as follows:
Average and the standard variance of all process variables, the wherein average of the jth process variable of kth sampling instant is engraved when first calculating historical data X allComputing formula beWherein xi,k,jThe measured value of the jth process variable of kth sampling instant in representing i-th batch, k=1 ..., K, j=1 ..., J; The standard variance s of the jth process variable of kth sampling instantk,jComputing formula be, s k , j = 1 I - 1 Σ i = 1 I ( x i , k , j - x ‾ k , j ) 2 , K=1 ..., K, j=1 ..., J;
Then historical data X being standardized, wherein the standardized calculation formula of the jth process variable of kth sampling instant is as follows in i-th batch:
x ~ i , k , j = x i , k , j - x ‾ k , j s k , j - - - ( 1 )
Wherein, i=1 ..., I, j=1 ..., J, k=1 ..., K;
3) X is by step 2) standardization obtain new two-dimensional matrix X', this matrix has (K �� J) individual column vector, i.e. X'=(X1',X'2,...,X'K��J), wherein jth column vector X'j=(X'j,1,...,X'j,K)T, X'j,k=(X'j,k,1,...,X'j,k,I)T, wherein X'j,k,iRepresent through step 2) value corresponding in i-th batch of jth process variable kth sampling instant after standardization, wherein i=1 ..., I, j=1 ..., J, k=1 ..., K;
4) multidirectional pivot analysis MPCA method is utilized to extract the main constituent in each moment in X'. If extracting kth sampling instant data X'kMain constituent, concrete step is as follows:
4.1) two-dimensional matrix X' is obtainedkCovariance matrix COV;
C O V = 1 I - 1 X k ′ T X k ′ - - - ( 2 )
4.2) Eigenvalues Decomposition to Matrix C OV;
COV=V �� VT(3)
Formula (3) discloses the incidence relation of covariance matrix, wherein ��=(��1,��2,��,��v) for diagonal matrix, v is two-dimensional matrix X'kEigenvalue number, �� comprises the non-negative factual investigation (�� that m amplitude is successively decreased1�ݦ�2�ݡ��ݦ�m>=0). V is orthogonal matrix (V��V=E, E are unit battle array).
In definition, by MPCA method, matrix X'kIt is equivalent to X'k=QP��+ R, and be updated to formula (3) and obtain:
S = 1 I - 1 PQ T Q P Q - - - ( 4 )
Wherein, Q is score matrix, and P is load matrix, and R is residual matrix.
Corresponding (3) and (4) are every, can obtain:
P = V Λ = 1 I - 1 Q T Q - - - ( 5 )
If the sum equation more than one threshold value 0.85 of front A main constituent, then before just extracting, A pivot is used as aggregative indicator, then original J dimension space just becomes A dimension and A��J.
4.3) score matrix Q is obtained;
In order to optimally obtain the variable quantity of data, minimize random noise to the PCA impact produced simultaneously, retain the load vector corresponding with A eigenvalue of maximum, then X'kProjection information at lower dimensional space is included in score matrix:
Q=X'kP(6)
5) utilize MPCA that batch process is carried out Time segments division:
5.1) period slightly divides:
When neighbouring sample point has identical main constituent number (Q matrix column number), just these sampled points are divided into the same period, if have the Period Length L of identical main constituent number less than whole batch process 1/10 time, in this period data is grouped into that the adjacent main constituent number difference in left and right is relatively small one section. If this Period Length is less than the 1/10 of whole sweat and when the main constituent number of this period is equal with the main constituent number difference of adjacent two periods, then take main constituent number that front and back period main constituent number is this section respectively and calculate its contribution rate, this section was grouped in the period that contribution rate change is relatively small.
Final thick division can obtain F period, is expressed as S1,S2,��,SF��
5.2) period carefully divides: at the arbitrarily thick period S dividedf(f=1,2 ..., F) in, utilize between load matrix angle information and range information to define similarity measurement formula (7).
d b , c S f = Σ l = 1 a f γ l | | P b l T P c l | | | | P b l | | · | | P c l | | + ( 1 - γ l ) e - | | P b l - P c l | | - - - ( 7 )
γ l = 1 l / Σ h = 1 a f 1 h , l = h = 1 , 2 , ... , a f - - - ( 8 )
Wherein b and c represents at period SfTwo sampling times of interior arbitrary neighborhood, afFor period SfInterior sampled point number, l and h represents that sampled point 1 arrives afIn any one value, | | Pbl| | with | | Pcl| | it is the modulus value of the load matrix of b and c sampling instant respectively,Represent the distance of b and c sampling instant load matrix, rlFor weight coefficient, in order to emphasize the different importances of different projecting direction,Represent a in two timeslice load matrixfThe weighted sum of the included angle cosine value of individual projecting direction,Represent the similarity of b and c sampling instant load matrix.
G period is got in final refinement, is expressed as S1',S'2,...,S'G, and calculate any one sub-period S'g(g=1,2 ..., G) obtain average load matrix
6) at S1',S'2,...,S'GIn set up each sub-period MPCA monitoring model, such as formula (9).
Being respectively provided with close load matrix for each sub-period, therefore the MPCA model of each sub-period all can adopt average load matrixDescribe. For anyon period S'gIn the MPCA model of any t can be expressed as:
q t = S g ′ P ‾ S g ′ S g ′ ^ = q t ( P ‾ S g ′ ) T r t = S g ′ - S g ′ ^ - - - ( 9 )
Wherein qtIt is sub-period S'gIn the load vector of t,Sub-period S'gCharacteristic vector, rtIt it is residual vector.
7) when utilizing MPCA to set up monitoring model, it is necessary to first determining that two control limit, control to limit the use of to judge whether current data is in normal operating condition, the two controls limit and is called T2Statistic controls limit and SPE statistic controls limit, calculates T2The control limit of statistic meets F-distribution formula, and such as formula (10), wherein �� is main constituent number, and I is batch number of modeling, and �� is significance level.
T t , α 2 : β ( I - 1 ) I - β F β , I - β , a - - - ( 10 )
The control limit of SPE statistic is calculated by formula (11), wherein meant, vartRepresent that each sub-period batch measurement data in modeling data is in the average of t SPE and variance respectively.
SPE t α ~ var t 2 mean t χ t , h t , α 2 h t = 2 mean t 2 var t - - - ( 11 )
8) in each sub-period, adopt 1) and 2) in mode, take each I of data under dissimilar failure operation state respectivelyfaultGroup, utilizes 3) methodological standardization processes, and utilizes 4) in method extract the main constituent Q of fault data of each type1,Q2,��,Qfault;
9) the main constituent Q that will extract1,Q2,��,QfaultAs the input of supporting vector machine model, in each sub-period, set up a fault diagnosis model, finally can obtain G model, be SVM respectively1, SVM2..., SVMG, wherein each SVM model adopts man-to-man multi-categorizer make.
9.1) any one SVMg(g=1,2 ..., G) model is all a decision hyperplane.
9.2) man-to-man multi-categorizer building method, inhomogeneity sample combination of two, for u class training sample, is used for training by the methodIndividual two graders. Then test sample is substituted into all graders, adopt ballot method to carry out decision-making, if grader SVM1,2Thinking that sample belongs to the 1st class, then add 1 in the ballot of the 1st class, otherwise add 1 in the ballot of the 2nd class, finally add up all kinds of polls, who gets the most votes's class is test sample generic.
B. the on-line fault diagnosis stage
10) current time data X is gatheredt(1 �� J), and judge S' during the operator residing for current timeg(g=1,2 ..., G) section;
11) X is calculated according to formula (9)tScore vector Q corresponding to (1 �� J)t(1 �� ��) and forecast error vector Rt(1 �� J), in formula, E is the unit matrix of (J �� J);
Q t = X t P ‾ S g ′ R t = X ( E - P ‾ S g ′ ( P ‾ S g ′ ) T ) - - - ( 12 )
12) X is calculatedt(1 �� J) correspondenceAnd SPEtStatistic, computing formula such as formula (10);
T 2 = Q t ( S g ′ ) - 1 Q t T S P E = R t R t T - - - ( 13 )
Wherein, RtIt is matrix XtThe forecast error vector of (1 �� J).
13) judge nowOr SPEtStatistic is no beyond controlling limit T2Or SPE, if both of which without departing from, then active procedure measurement data is normal, returns 1); Otherwise current operation process has fault, carries out 14);
14) at sub-period S'gIn, the data that new lot is unknown are carried out data filling, filling data is current time Xt(1 �� J), finally can obtain the data matrix of this period is
15) to data matrixStandardization also extracts the main constituent of this data matrix, is updated to the SVM of this sub-period afterwardsg(g=1,2 ..., G) in model, carry out fault diagnosis.
Beneficial effect
Compared with prior art, the present invention utilizes MPCA to divide batch process, sets up fault detection and diagnosis model at each sub-period, reduces the search volume of fault diagnosis. When using the method on-line fault diagnosis, it is not necessary to fill the unknown data of whole process, and be the unknown data filling the period of breaking down, so can reduce the impact that too much filling unknown data brings, thus the accuracy rate of fault diagnosis can be improved. Simultaneously without updating fault diagnosis model frequently, and only need to select the diagnostic cast of period of breaking down, reduce the complexity of fault diagnosis.
Accompanying drawing explanation
Fig. 1 is the off-line modeling flow chart of the present invention;
Fig. 2 is on-line fault diagnosis flow chart;
Fig. 3 is normal data X (30 �� 10 �� 400) composition form schematic diagram;
Fig. 4 sub-period division result;
The MPCA T to fault batch in Fig. 5 sub-period 52With SPE monitoring figure;
Fig. 6 design sketch that test data are not classified by SVM at times;
Fig. 7 present invention design sketch to test data classification;
Detailed description of the invention
The penicillin emulation platform PenSim2.0 of American I llinois state Institute of Technology process monitoring and technology group development, monitoring and fault diagnosis for batch process provide a standard platform, and this platform has become more influential penicillin emulation platform in the world.
The present invention is with this platform for simulation object, and the response time arranging penicillin fermentation each batch is 400h, and the sampling interval is 1 hour, chooses 10 process variables and carries out simulation study, as shown in table 1. Meanwhile, this platform can set that three kinds of faults: 1. air mass flow, 2. power of agitator, 3. bottoms stream rate of acceleration. The type of fault disturbance has step disturbance and slope disturbance two kinds, can set the amplitude of two kinds of disturbances, introducing time of disturbance and termination time further.
Model variable set up by table 1
30 batches of normal data X (30 �� 10 �� 400) of this experiment simulation are as dividing the period and setting up the data base of MPCA malfunction monitoring model, and wherein the initial condition of every batch is slightly changed, and all measurands is all added random measurement noise simultaneously.
Additionally, also simulate fault 1 (variable 1 both phase step fault data), fault 2 (variable 2 both phase step fault data) and each 30 batches of fault 3 (variable 3 both phase step fault data) to be used for training SVM fault diagnosis model, wherein each fault selects 15 batches to be used for setting up fault diagnosis model, and remaining 15 batches are used for testing this diagnostic cast. In order to make each fault data comprise more fully fault message, 15 batches of training datas of same fault are introduce disturbance in different response time and be all extended to reaction and terminate respectively.
The inventive method is applied to above-mentioned penicillin fermentation process simulation object and includes off-line modeling and the big step of inline diagnosis two, be specifically presented below:
A. the off-line modeling stage:
Step 1: above-mentioned 30 batches of normal data X (30 �� 10 �� 400) being launched along batch direction, concrete form is shown in Fig. 2. It figure is the matrix of 30 row 4000 row.
Step 2: be standardized X (30 �� 10 �� 400) processing.
First formula is pressedThe jth process variable of calculating kth sampling instant average on all batches, wherein xi,k,jFor X30��10��400The measured value of the jth process variable of kth sampling instant in i-th batch, k=1 ..., 400, j=1 ..., 10; The standard variance s of the jth process variable of kth sampling instantk,jComputing formula be, s k , j = 1 30 - 1 Σ i = 1 30 ( x i , k , j - x ‾ k , j ) 2 , K=1 ..., 400, j=1 ..., 10.
Afterwards X (30 �� 10 �� 400) being standardized, wherein the standardized calculation formula of the jth process variable of kth sampling instant is as follows in i-th batch:
x ~ i , k , j = x i , k , j - x ‾ k , j s k , j
Wherein, i=1 ..., 30, j=1 ..., 10, k=1 ..., 400;
Step 3:X (30 �� 10 �� 400) is by step 2) to obtain two-dimensional matrix after standardization be X'(30 �� (10 �� 400));
Step 4: by X'(30 �� (10 �� 400)) 400 timeslice matrix X it are divided into along moment directionk' (30 �� 10), k=1 ..., 400.
Step 5: utilize principal component analysis function (princomp) in MATLAB to extract two-dimensional matrix Xk' the main constituent Q of (30 �� 10)k��
Step 6: work as Q��=Q��(��=��+1, �� < �� and ��=2 ..., 400) time, �� and �� can be divided into the same period, if Period Length L does not reachDuring sampled point, it is possible to this segment data is grouped in relatively small one section of the main constituent number difference that left and right is adjacent. If Period Length L less thanSampled point and equal with adjacent main constituent number difference time, then take the main constituent number that main constituent number is this period of former and later two periods of this period respectively and calculate its contribution rate, in this period be grouped into that contribution rate change is relatively small one period. Finally mark off 4 thick period Sf(f=1 ..., 4).
Step 7: at period SfIn, utilize formula (7), when calculatingDuring more than 0.8, just b and the c sampling time was put in the period that same refinement divides. Batch process is divided into 7 sub-period S the most at lastg(g=1, ..., 7), the respectively period 1 (1-37h), the period 2 (38-85h), the period 3 (86-174h), period 4 (175-215h), period 5 (216-296h), the period 6 (297-377h), the period 7 (378-400h).
Step 8: off-line modeling stage by stage
This part is for the period 5, and MPCA monitoring model and SVM fault diagnosis model to sub-period are set up and be described.
Step 8.1: take out X'(30 �� (10 �� 400)) in the 5th period corresponding data set up the MPCA model of period 5, and calculate the average load matrix of period 5
Step 8.2: utilize formula 10) and 11) determine the T of period 52Control limit with SPE statistic, control limit figure such as Fig. 5.
Fault 1,2 and 3 data in period 5 are carried out pretreatment, obtain matrix X after standardization by step 8.3: the method utilizing step 1, step 2, step 3 and step 45f1,X5f2And X5f3��
Step 8.4: utilize the principal component analysis function (princomp) in Matlab to X5f1,X5f2And X5f3Decompose, main constituent Q can be obtained5f1,Q5f2And Q5f3��
Step 8.5: utilize the svmtrain function in libsvm workbox in Matlab to Q5f1,Q5f2And Q5f3It is trained, decision hyperplane F may finally be obtained5(), this decision hyperplane is exactly fault diagnosis model SVM5��
In like manner, according to the method for step 8.2 to 8.5, set up the fault diagnosis model of other periods, finally give model SVM1, SVM2, SVM3, SVM4, SVM6, SVM7��
B. the inline diagnosis stage:
This part introduces the both phase step fault of 5% for test data with variable 1 220 moment.
Step 9: gather the data x of 10 process variables of current sweat t sampling instantt, and it is standardized obtaining by the average and standard variance according to the t obtained in step 2The wherein jth process variable of t sampling instantStandardization formula as follows:
x ~ t , j = x t , j - x &OverBar; t , j s t , j
Wherein, xt,jFor the jth process variable in current the gathered Fermentation Data of t sampling instant,It is the meansigma methods of the jth process variable of t sampling instant, st,jIt is the standard variance of the jth process variable of t sampling instant, j=1 ..., 10;
Step 10: according to formula 15), the t after normalized gathers dataCorresponding principal component vector Q5tWith forecast error vector R5t��
Step 11: calculate t according to the method in step 8.3And SPEtStatistic.
Step 12: by above-mentioned calculated monitoring statisticAnd SPEtThe control limit determined with modeling procedure 8.3 compares, if without transfiniting, is normal, then gathers the data in next moment and return step 9, and 10,11 and 12, until sweat is complete; Otherwise it is assumed that break down.
Step 13: if there being fault, then first determine whether that the stage that fault occurs was the 5th period, and transfer out the fault diagnosis model SVM of this period5;
Step 14: within the 5th period, utilizes current time sampled data xtUnknown data filled full, then the data matrix obtaining this period is X5;
Step 15: propose principal component method to X according to PCA in the data normalization method and steps 5 in step 25Carry out data prediction, main constituent Q may finally be obtained5��
Step 16: in Matlab, svmpredict function utilizes the model model parameter of svmtrain training in step 8.5, calculates Q5Fault data be judged to other label be 1 and differentiate accuracy rate accurate be 86.67%.
Above-mentioned steps is the inventive method concrete application in penicillin fermentation emulation platform fault detection and diagnosis field. In order to verify effectiveness of the invention, three kinds of each 15 batch datas of fault are tested. Fig. 5 is that the failure monitoring figure in the 5th period occurs fault, and failure monitoring figure and Fig. 5 of other periods is similar no longer to be illustrated here. Line parallel with abscissa in figure represents that curve is monitor in real time value by the control limit that Density Estimator method is determined. If curve has fault to occur higher than controlling limit explanation, it it is otherwise normal operating condition.
Fig. 6 and Fig. 7 represents that fault occurs when sub-period 5 respectively, the fault diagnosis design sketch under not grading method and the inventive method, and in figure, circle represents the classification of actual test set, and asterisk represents prediction test set classification. Under same test set sample, when two kinds of marks coincide, then illustrate that test result is identical with actual result, otherwise test result mistake.
In order to significantly more efficient proof the inventive method is applied to the superiority in sweat fault diagnosis, other periods have been carried out again fault diagnosis research by the present invention respectively, and diagnostic result list contrast is as follows:
Each period fault diagnosis result of table 2
From upper table it is seen that, use the inventive method can be greatly improved the accuracy rate of fault when fault occurred in front several period, but along with the continuation produced, though the method is better than traditional method diagnosis effect, but the amplitude that accuracy rate improves is really limited. As a whole, the inventive method can significantly improve fault accuracy rate.

Claims (1)

1. based on a batch process on-line fault diagnosis method of sub-period MPCA-SVM, including " off-line modeling " and " inline diagnosis " two stages, it is characterised in that specifically comprise the following steps that
A. the off-line modeling stage
1) gathering the historical data under sweat nominal situation, the I lot data under the same sweat same process that described historical data X is obtained by off-line test is constituted, X=(X1,X2,...,XI)T, wherein Xi(i=1,2 ..., I) represent the i-th lot data; Each batch comprises K sampling instant, i.e. Xi=(Xi,1,Xi,2,...,Xi,K), wherein Xi,kRepresent the data that i-th batch of kth sampling instant gathers; Each sampling instant gathers J process variable, i.e. Xi,k=(xi,k,1,xi,k,2,...,xi,k,J), wherein xi,k,jThe measured value of the jth process variable of kth sampling instant in representing i-th batch;
2) being standardized historical data X processing, processing mode is as follows:
Average and the standard variance of all process variables, the wherein average of the jth process variable of kth sampling instant is engraved when first calculating historical data X allComputing formula beWherein xi,k,jThe measured value of the jth process variable of kth sampling instant in representing i-th batch, k=1 ..., K, j=1 ..., J; The standard variance s of the jth process variable of kth sampling instantk,jComputing formula be, s k , j = 1 I - 1 &Sigma; i = 1 I ( x i , k , j - x &OverBar; k , j ) 2 , k = 1 , ... , K , j = 1 , ... , J ;
Then historical data X being standardized, wherein the standardized calculation formula of the jth process variable of kth sampling instant is as follows in i-th batch:
x ~ i , k , j = x i , k , j - x &OverBar; k , j s k , j - - - ( 1 )
Wherein, i=1 ..., I, j=1 ..., J, k=1 ..., K;
3) X is by step 2) standardization obtain new two-dimensional matrix X', this matrix has (K �� J) individual column vector, i.e. X'=(X '1,X��2,...,X'K��J), wherein jth column vector X'j=(X'j,1,...,X'j,K)T, X'j,k=(X'j,k,1,...,X'j,k,I)T, wherein X'j,k,iRepresent through step 2) value corresponding in i-th batch of jth process variable kth sampling instant after standardization, wherein i=1 ..., I, j=1 ..., J, k=1 ..., K;
4) multidirectional pivot analysis MPCA method is utilized to extract the main constituent in each moment in X'; If extracting kth sampling instant data X'kMain constituent, concrete step is as follows:
4.1) two-dimensional matrix X' is obtainedkCovariance matrix COV;
C O V = 1 I - 1 X k &prime; T X k &prime; - - - ( 2 )
4.2) Eigenvalues Decomposition to Matrix C OV;
COV=V �� VT(3)
Formula (3) discloses the incidence relation of covariance matrix COV, wherein ��=(��1,��2,��,��v) for diagonal matrix, v is two-dimensional matrix X'kEigenvalue number, �� comprises the non-negative factual investigation (�� that m amplitude is successively decreased1�ݦ�2�ݡ��ݦ�m>=0); V is orthogonal matrix (V��V=E, E are unit battle array);
In definition, by MPCA method, matrix X'kIt is equivalent to X'k=QP��+ R, and be updated to formula (3) and obtain:
C O V = 1 I - 1 PQ T Q P Q - - - ( 4 )
Wherein, Q is score matrix, and P is load matrix, and R is residual matrix;
Corresponding (3) and (4) are every:
P=V
&Lambda; = 1 I - 1 Q T Q - - - ( 5 )
If the sum equation more than one threshold value 0.85 of front A main constituent, then before just extracting, A pivot is used as aggregative indicator, then original J dimension space just becomes A dimension and A��J;
4.3) score matrix Q is obtained;
In order to optimally obtain the variable quantity of data, minimize random noise to the PCA impact produced simultaneously, retain the load vector corresponding with A eigenvalue of maximum, then X'kProjection information at lower dimensional space is included in score matrix:
Q=X'kP(6)
5) utilize MPCA that batch process is carried out Time segments division:
5.1) period slightly divides:
When neighbouring sample point has identical main constituent number, just these sampled points are divided into the same period, if have the Period Length L of identical main constituent number less than whole sweat 1/10 time, in this period data is grouped into that the adjacent main constituent number difference in left and right is relatively small one section; If this Period Length is less than the 1/10 of whole sweat and when the main constituent number of this period is equal with the main constituent number difference of adjacent two periods, then take main constituent number that front and back period main constituent number is this period respectively and calculate its contribution rate, this section is grouped in the period that contribution rate change is relatively small;
Final thick division obtains F period, is expressed as S1,S2,��,SF;
5.2) period carefully divides: at the arbitrarily thick period S dividedf(f=1,2 ..., F) in, utilize between load matrix angle information and range information to define similarity measurement formula (7);
d b , c S f = &Sigma; l = 1 a f &gamma; l | | P b l T P c l | | | | P b l | | &CenterDot; | | P c l | | + ( 1 - &gamma; l ) e - | | P b l - P c l | | - - - ( 7 )
&gamma; l = 1 l / &Sigma; h = 1 a f 1 h , l = h = 1 , 2 , ... , a f - - - ( 8 )
Wherein b and c represents at period SfTwo sampling times of interior arbitrary neighborhood, afFor period SfInterior sampled point number, l and h represents that sampled point 1 arrives afIn any one value, | | Pbl| | with | | Pcl| | it is the modulus value of the load matrix of b and c sampling instant respectively,Represent the inner product of b and c sampling instant load matrix, rlFor weight coefficient in order to emphasize the different importances of different projecting direction,Represent a in two timeslice load matrixfThe weighted sum of the included angle cosine value of individual projecting direction,Represent at period SfThe similarity of interior b and c sampling instant load matrix;
G period is got in final refinement, is expressed as S '1,S��2,...,S'G, and calculate any one sub-period S'g(g=1,2 ..., G) average load matrix
6) at ready-portioned S '1,S'2,...,S'GIn set up each sub-period MPCA monitoring model, such as formula (9);
Being respectively provided with close load matrix for each sub-period, therefore the MPCA model in each sub-period all adopts average load matrixDescribe; For anyon period S'gIn the MPCA model of any t be expressed as:
q t = S g &prime; P &OverBar; S g &prime; S g &prime; ^ = q t ( P &OverBar; S g &prime; ) T r t = S g &prime; - S g &prime; ^ - - - ( 9 )
Wherein qtIt is sub-period S'gIn the load vector of t,It is sub-period S'gCharacteristic vector, rtIt it is residual vector;
7) when utilizing MPCA to set up monitoring model, it is necessary to first determining that two control limit, control to limit the use of to judge whether current data is in normal operating condition, the two controls limit and is called T2Statistic controls limit and SPE statistic controls limit, calculates T2The control limit of statistic meets F-distribution formula, and such as formula (10), wherein �� is main constituent number, and I is batch number of modeling, and �� is significance level;
T t , &alpha; 2 : &beta; ( I - 1 ) I - &beta; F &beta; , I - &beta; , a - - - ( 10 )
The control limit of SPE statistic is calculated by formula (11), wherein meant, vartRepresent that each sub-period batch measurement data in modeling data is in the average of t SPE and variance respectively;
SPE t &alpha; ~ var t 2 mean t &chi; t , h t , &alpha; 2 h t = 2 mean t 2 var t - - - ( 11 )
8) in each sub-period, adopt 1) and 2) in mode, take each I of data under dissimilar failure operation state respectivelyfaultGroup, utilizes 3) methodological standardization processes, and utilizes 4) in method extract the main constituent Q of fault data of each type1,Q2,��,Qfault;
9) the main constituent Q that will extract1,Q2,��,QfaultAs the input of supporting vector machine model, in each sub-period, set up a fault diagnosis model, finally obtain G model, be SVM respectively1, SVM2..., SVMG, wherein each SVM model adopts man-to-man multi-categorizer make;
9.1) any one SVMg(g=1,2 ..., G) model is all a decision hyperplane;
9.2) man-to-man multi-categorizer building method, inhomogeneity sample combination of two, for u class training sample, is used for training by the methodIndividual two graders; Then test sample is substituted into all graders, adopt ballot method to carry out decision-making, if grader SVM1,2Thinking that sample belongs to the 1st class, then add 1 in the ballot of the 1st class, otherwise add 1 in the ballot of the 2nd class, finally add up all kinds of polls, who gets the most votes's class is test sample generic;
B. the on-line fault diagnosis stage
10) current time data X is gatheredt(1 �� J), and judge S' during the operator residing for current timegSection;
11) X is calculated according to formula (9)tScore vector Q corresponding to (1 �� J)t(1 �� ��) and forecast error vector Rt(1 �� J), in formula, E is the unit matrix of (J �� J);
Q t = X t P &OverBar; S g &prime; R t = X ( E - P &OverBar; S g &prime; ( P &OverBar; S g &prime; ) T ) - - - ( 12 )
12) X is calculatedt(1 �� J) correspondenceAnd SPEtStatistic, computing formula such as formula (13);
T t 2 = Q t ( S g &prime; ) - 1 Q t T SPE t = R t R t T - - - ( 13 )
Wherein, RtIt is matrix XtThe forecast error vector of (1 �� J);
13) judge nowOr SPEtWhether statistic is beyond controlling limit T2Or SPE, if both of which without departing from, then active procedure measurement data is normal, returns 1); Otherwise current operation process has fault, carries out 14);
14) at sub-period S'gIn, the data that new lot is unknown are carried out data filling, filling data is current time sampled data Xt(1 �� J), finally obtaining the data matrix of this period is
15) to data matrixStandardization also extracts the main constituent of this data matrix, is updated to the SVM of this sub-period afterwardsg(g=1,2 ..., G) in model, carry out fault diagnosis.
CN201610084062.4A 2016-02-06 2016-02-06 A kind of batch process method for diagnosing faults based on sub-period MPCA SVM Active CN105629958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610084062.4A CN105629958B (en) 2016-02-06 2016-02-06 A kind of batch process method for diagnosing faults based on sub-period MPCA SVM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610084062.4A CN105629958B (en) 2016-02-06 2016-02-06 A kind of batch process method for diagnosing faults based on sub-period MPCA SVM

Publications (2)

Publication Number Publication Date
CN105629958A true CN105629958A (en) 2016-06-01
CN105629958B CN105629958B (en) 2018-03-16

Family

ID=56045013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610084062.4A Active CN105629958B (en) 2016-02-06 2016-02-06 A kind of batch process method for diagnosing faults based on sub-period MPCA SVM

Country Status (1)

Country Link
CN (1) CN105629958B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054832A (en) * 2016-06-07 2016-10-26 蓝星(北京)技术中心有限公司 Multivariable-based batch chemical production process dynamic on-line monitoring method and device
CN106483847A (en) * 2016-09-20 2017-03-08 北京工业大学 A kind of handpiece Water Chilling Units fault detection method based on self adaptation ICA
CN107895224A (en) * 2017-10-30 2018-04-10 北京工业大学 A kind of MKECA fermentation process fault monitoring methods based on extension nuclear entropy load matrix
CN108268351A (en) * 2016-12-30 2018-07-10 中国移动通信集团宁夏有限公司 A kind of accurate monitoring method of running state of process and system
CN109675935A (en) * 2019-03-06 2019-04-26 北京科技大学 A kind of IPCA operation of rolling on-line fault diagnosis method becoming control limit
CN109740687A (en) * 2019-01-09 2019-05-10 北京工业大学 A kind of fermentation process fault monitoring method based on DLAE
CN110032799A (en) * 2019-04-15 2019-07-19 北京工业大学 A kind of the angle similarity divided stages and monitoring method of microbiological pharmacy process
CN110226140A (en) * 2017-01-25 2019-09-10 Ntn株式会社 State monitoring method and state monitoring apparatus
CN112925292A (en) * 2021-01-24 2021-06-08 国网辽宁省电力有限公司电力科学研究院 Generator set process monitoring and fault diagnosis method based on layered partitioning
CN114089717A (en) * 2021-10-18 2022-02-25 兰州理工大学 Intermittent process quality related fault detection method based on multidirectional weighting elastic network
CN117350328A (en) * 2023-09-11 2024-01-05 江南大学 LSTM-CVAE-based lactobacillus fermentation process fault detection and diagnosis method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259768B1 (en) * 1998-06-15 2001-07-10 Fujitsu Limited Method of, and apparatus for, carrying out loopback test in exchange
JP2010015460A (en) * 2008-07-04 2010-01-21 Hitachi Ltd System, method and program for diagnosing business continuation of information system
CN102431136A (en) * 2011-09-16 2012-05-02 广州市香港科大霍英东研究院 Multi-phase batch process phase dividing method based on multiway principal component analysis method
CN103279123A (en) * 2013-05-21 2013-09-04 沈阳化工大学 Method of monitoring faults in sections for intermittent control system
CN103838217A (en) * 2014-03-10 2014-06-04 北京工业大学 Method for monitoring faults in fermentation process based on MICA-OCSVM
CN103901855A (en) * 2014-04-01 2014-07-02 浙江大学 kernel learning monitoring method for penicillin production process under unequal-length batch conditions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259768B1 (en) * 1998-06-15 2001-07-10 Fujitsu Limited Method of, and apparatus for, carrying out loopback test in exchange
JP2010015460A (en) * 2008-07-04 2010-01-21 Hitachi Ltd System, method and program for diagnosing business continuation of information system
CN102431136A (en) * 2011-09-16 2012-05-02 广州市香港科大霍英东研究院 Multi-phase batch process phase dividing method based on multiway principal component analysis method
CN103279123A (en) * 2013-05-21 2013-09-04 沈阳化工大学 Method of monitoring faults in sections for intermittent control system
CN103838217A (en) * 2014-03-10 2014-06-04 北京工业大学 Method for monitoring faults in fermentation process based on MICA-OCSVM
CN103901855A (en) * 2014-04-01 2014-07-02 浙江大学 kernel learning monitoring method for penicillin production process under unequal-length batch conditions

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054832A (en) * 2016-06-07 2016-10-26 蓝星(北京)技术中心有限公司 Multivariable-based batch chemical production process dynamic on-line monitoring method and device
CN106483847A (en) * 2016-09-20 2017-03-08 北京工业大学 A kind of handpiece Water Chilling Units fault detection method based on self adaptation ICA
CN106483847B (en) * 2016-09-20 2019-06-14 北京工业大学 A kind of water cooler fault detection method based on adaptive ICA
CN108268351B (en) * 2016-12-30 2021-06-04 中国移动通信集团宁夏有限公司 Method and system for accurately monitoring process running state
CN108268351A (en) * 2016-12-30 2018-07-10 中国移动通信集团宁夏有限公司 A kind of accurate monitoring method of running state of process and system
CN110226140A (en) * 2017-01-25 2019-09-10 Ntn株式会社 State monitoring method and state monitoring apparatus
CN107895224A (en) * 2017-10-30 2018-04-10 北京工业大学 A kind of MKECA fermentation process fault monitoring methods based on extension nuclear entropy load matrix
CN107895224B (en) * 2017-10-30 2022-03-15 北京工业大学 MKECA fermentation process fault monitoring method based on extended nuclear entropy load matrix
CN109740687A (en) * 2019-01-09 2019-05-10 北京工业大学 A kind of fermentation process fault monitoring method based on DLAE
CN109675935A (en) * 2019-03-06 2019-04-26 北京科技大学 A kind of IPCA operation of rolling on-line fault diagnosis method becoming control limit
CN109675935B (en) * 2019-03-06 2020-07-31 北京科技大学 Online fault diagnosis method for IPCA rolling process with variable control limit
CN110032799A (en) * 2019-04-15 2019-07-19 北京工业大学 A kind of the angle similarity divided stages and monitoring method of microbiological pharmacy process
CN112925292A (en) * 2021-01-24 2021-06-08 国网辽宁省电力有限公司电力科学研究院 Generator set process monitoring and fault diagnosis method based on layered partitioning
CN112925292B (en) * 2021-01-24 2024-05-14 国网辽宁省电力有限公司电力科学研究院 Generator set process monitoring and fault diagnosis method based on layered and segmented
CN114089717A (en) * 2021-10-18 2022-02-25 兰州理工大学 Intermittent process quality related fault detection method based on multidirectional weighting elastic network
CN114089717B (en) * 2021-10-18 2023-08-15 兰州理工大学 Intermittent process quality related fault detection method based on multidirectional weighted elastic network
CN117350328A (en) * 2023-09-11 2024-01-05 江南大学 LSTM-CVAE-based lactobacillus fermentation process fault detection and diagnosis method

Also Published As

Publication number Publication date
CN105629958B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN105629958A (en) Intermittence process fault diagnosis method based on sub-period MPCA-SVM
CN103033362B (en) Gear fault diagnosis method based on improving multivariable predictive models
CN103810328B (en) Transformer maintenance decision method based on hybrid model
CN105300692B (en) A kind of bearing failure diagnosis and Forecasting Methodology based on expanded Kalman filtration algorithm
CN106022561A (en) Driving comprehensive evaluation method
CN103838217B (en) A kind of sweat fault monitoring method based on MICA-OCSVM
CN105955219A (en) Distributed dynamic process fault detection method based on mutual information
CN104035431B (en) The acquisition methods of kernel functional parameter and system for non-linear process monitoring
CN104880217B (en) A kind of fault sensor signal reconstruct method based on the measured value degree of association
CN107895224A (en) A kind of MKECA fermentation process fault monitoring methods based on extension nuclear entropy load matrix
CN106198000A (en) A kind of rocker arm of coal mining machine gear failure diagnosing method
CN104731083B (en) A kind of industrial method for diagnosing faults and application based on self-adaptive feature extraction
CN101738998B (en) System and method for monitoring industrial process based on local discriminatory analysis
CN105678343A (en) Adaptive-weighted-group-sparse-representation-based diagnosis method for noise abnormity of hydroelectric generating set
CN105572572A (en) WKNN-LSSVM-based analog circuit fault diagnosis method
CN106404441A (en) Nonlinear similarity index based fault classification and diagnosing method
CN104596780A (en) Diagnosis method for sensor faults of motor train unit braking system
CN105334504A (en) Radar target identification method based on large-boundary nonlinear discrimination projection model
CN106647650A (en) Distributed industrial process monitoring method based variable weighting PCA (Principal Component Analysis) model
CN112507479B (en) Oil drilling machine health state assessment method based on manifold learning and softmax
CN106067032A (en) Evaluation methodology for the sensor system of selection of data exception monitoring
CN100470418C (en) Polypropylene melting index softsensoring instrument based on blind signal analysis and method thereof
CN105137354A (en) Motor fault detection method based on nerve network
CN109976311A (en) Single order fixed set point control system sensor fault diagnosis method and diagnostic system
CN106897505A (en) A kind of structure monitoring data exception recognition methods for considering temporal correlation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant