You are on page 1of 7

ISA

TRANSACTIONS®
ISA Transactions 42 共2003兲 643–649

A fault detection and isolation filter for discrete linear systems


L. Giovanini,a,* R. Dondob,†
a
Universidad Tecnológica Nacional–Facultad Regional Villa Maria, Avenida Universidad 450, (5900) Villa Marı́a (Córdoba), Argentina
b
Instituto de Desarrollo Tecnológico para la Industria Quı́mica (INTEC), Consejo Nacional de Investigaciones Cientı́ficas y Técni-
cas (CONICET)–Univ. Nac. del Litoral (UNL), Güemes 3450, (3000) Santa Fe, Argentina
共Received 2 May 2002; accepted 10 November 2002兲

Abstract
The problem of fault and/or abrupt disturbances detection and isolation for discrete linear systems is analyzed in this
work. A strategy for detecting and isolating faults and/or abrupt disturbances is presented. The strategy is an extension
of an already existing result in the continuous time domain to the discrete domain. The resulting detection algorithm is
a Kalman filter with a special structure. The filter generates a residuals vector in such a way that each element of this
vector is related with one fault or disturbance. Therefore the effects of the other faults, disturbances, and measurement
noises in this element are minimized. The necessary stability and convergence conditions are briefly exposed. A
numerical example is also presented. © 2003 ISA—The Instrumentation, Systems, and Automation Society.

Keywords: Analytic redundancy; Directional residuals; Unbiased estimation; Uncoupling of faults

1. Introduction is important that faults and abrupt disturbances be


promptly detected and identified so that appropri-
Physical systems are often subjected to unex- ate remedies can be applied. Model based fault
pected process dynamics that degrade the system detection and isolation 共FDI兲 in dynamical sys-
performance. These unexpected dynamic behav- tems have received growing attention in the last 30
iors can be classified as follows. years. In the theoretical field, over the past years
several approaches to the problem of FDI in dy-
• Faults: nonpermitted deviation of a process namical systems have been developed; for ex-
characteristic that will lead to the inability ample, detection filters, the generalized likelihood
for fulfilling the intended purpose. Generally ratio 共GLR兲 method, and the multiple model
they are produced by a wrong operation of method. Surveys about the matter are presented in
instrumentation and/or control devices. Refs. 关1– 4兴. Recent approaches to fault detection
• Abrupt dynamic changes: Abnormal process and isolation focus on integrating quantitative and
development manifested as sudden paramet- qualitative information 关5兴. Applications of FDI
ric or structural change of the process dy- are described in detail in Ref. 关6兴. The integration
namic. of FDI with process control is a relatively novel
In order to maintain a high level of performance, it discipline called ‘‘fault tolerant control.’’ The state
of the art in this field is described in Ref. 关7兴. Thus
*Tel.: 54 共353兲 437-500. E-mail address: clearly FDI is a very important topic from both
lgiovani@topmail.com.ar theoretical and practical points of view and there-

Tel.: 54 共342兲 455-9174/77; fax: 54 共342兲 455-0944. fore it is an area of very active development.
E-mail address: rdondo@ceride.gov.ar The FDI process essentially consists of two

0019-0578/2003/$ - see front matter © 2003 ISA—The Instrumentation, Systems, and Automation Society.
644 L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649

stages: residual generation and decision making. 2. Problem formulation


Outputs from sensors are processed to magnify the
effect of a failure, if present, so that it can be A discrete linear system that can present abrupt
recognized. The processed measurements are disturbances and faults can be written as follows:
called residuals and the failure effect is called the
signature of the failure 关8兴. In the absence of fail- x 共 k⫹1 兲 ⫽Ax 共 k 兲 ⫹B u u 共 k 兲 ⫹Fn 共 k 兲 ,
ures, residuals should be unbiased showing agree- x 共 0 兲 ⫽x 0 , u 共 0 兲 ⫽0, n 共 0 兲 ⫽0,
ment between the observed and the expected nor-
共1兲
mal behavior of the system. A failure signature y 共 k 兲 ⫽Cx 共 k 兲 ,
typically takes the form of residual biases that are
characteristic of the failure. Thus residuals genera- where x ( k ) 苸R n is the state vector, y ( k ) 苸R m is
tion is based on knowledge of the normal behavior the measurement vector, u ( k ) 苸R q is the control
of the system. In order to improve the fault- vector, n ( k ) 苸R p is the vector of faults, and F
detection capability of a given algorithm, the gen- ⫽ 关 f1 f2 ¯fp 兴 苸R n⫻ p is a matrix of distribution of
eration of directional residuals is an attractive idea faults. It is assumed that matrixes A苸R n⫻n , B u
that was exploited in Ref. 关9兴. The problem of 苸R n⫻q , F, and C苸R m⫻n are full-rank matrixes.
generating directional residuals was deeply ana- The outputs of the system at time k can be cal-
lyzed from a geometric point of view in Refs. culated from the initial-state value x ( 0 ) and the
关10,11兴. These works were used by Gertler 关9兴 for effect of control actions and unknown faults over
developing a detection filter. the time horizon 1¯k, as follows:
Recently, Liu and Si 关12兴 proposed a complete k⫺1
order observer that is able to detect and isolate y 共 k 兲 ⫽CA x 共 0 兲 ⫹ 兺 CA i⫺1 B u u 共 k⫺i 兲
k
multiple faults in the continuous time domain. The i⫽1
gain matrix of this observer is designed in such a k⫺1
⫹ 兺 CA i⫺1 Fn 共 k⫺i 兲 .
way that each element of the residuals vector is
共2兲
coupled with a given fault but uncoupled of the i⫽1
other faults. The algorithm works in this way only
if the columns of the detectability matrix are ex- Detectability indexes ␳ ⫽ 兵 ␳ 1 , ␳ 2 ,..., ␳ p 其 are de-
pressed as the eigenvectors of the observer transi- fined by 关12兴
tion matrix. ␳ i ⫽min兵 ␯ :CA ␯ ⫺1 fi ⫽0 ␯ ⫽1,2,...其 ,
The approach of Liu and Si is extended to dis-
crete linear systems with unknown faults and/or i⫽1,2,...,p,
abrupt disturbances in the present work. Although
faults and abrupt disturbances represent different where fi , i⫽1,...,p is the ith column of the matrix
phenomena, they can be treated as the same be- F. The index ␳ i represents the number of measure-
havior. Thus this work will focus only on faults. ment samples that takes a fault to appear explicitly
Derived results can also be applied to abrupt dis- on the measurements. If the system of Eq. 共1兲 has
turbances. The resulting algorithm presents a a finite detectability index, the matrix of faults de-
predictor-corrector structure similar to the struc- tectability D 关9兴 can be defined as 关12兴
ture of a standard Kalman filter. This allows us to
D⫽ b CA ␳ 1 ⫺1 f1 CA ␳ 2 ⫺1 f2 ¯ CA ␳ p ⫺1 fp c ,
establish the necessary conditions for stability and
共3兲
convergence.
This work is organized as follows: In Section 2 where D苸R mxp and ␳ i , i⫽1,...,p is the fault de-
the fault/abrupt-disturbances detection and isola- tectability index associated to fi . Columns of the
tion problem is analyzed. In Section 3 the detec- matrix F and the elements of the vector n ( k ) can
tion and isolation filter is derived from the results be reordered and regrouped in accordance with the
of Section 2. A brief stability and convergence detectability index. That means that elements of
analysis for the derived observer is presented in the last term of the right-hand side of Eq. 共2兲 are
Section 4. In Section 5 is presented a numerical sorted from the largest to the smallest detectability
example, and finally the conclusions are outlined index. Thus matrix D and vector n ( k ) can be ex-
in Section 6. pressed as follows:
L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649 645

D̄⫽ b CF1 CAF2 ¯ CA s⫺1 Fs c , x̂ 共 k⫹1 兲 ⫽Ax̂ 共 k 兲 ⫹B u u 共 k 兲 ⫹Kq 共 k 兲 , 共7兲


共4兲
n̄⫽ 关 n1 共 k⫺1 兲 n2 共 k⫺2 兲 ¯ ns 共 k⫺s 兲兴 , ŷ 共 k 兲 ⫽Cx̂ 共 k 兲 , 共8兲
where where x̂ ( k ) is the estimated state vector, ŷ ( k ) is
the estimated measurement vector, K is the matrix
Fl ⫽ 关 fm ¯ fl 兴 : fm ⫽fl ∧ ␳ m ⫽ ␳ l ;
gain of the observer, and q ( k ) defines the innova-
᭙l⫽1,2,...,s⫽max共 ␳ i 兲 ,᭙m⫽1,2,...,s⫽max共 ␳ i 兲 , tion sequence or residuals sequence,

nl 共 k⫺l 兲 ⫽ 关 n m 共 k⫺l 兲 ¯ n l 共 k⫺l 兲兴 ; q 共 k 兲 ⫽y 共 k 兲 ⫺ŷ 共 k 兲 . 共9a兲

᭙l⫽1,2,...,s⫽max共 ␳ i 兲 ,᭙m⫽1,2,...,s⫽max共 ␳ i 兲 . In order to derive a faults and disturbances detec-


tion filter, Eq. 共6兲 is introduced into Eq. 共9a兲. Thus
For instance, if F⫽ 关 f1 f2 f3 兴 , and ␳ 1 ⫽1, ␳ 2 ⫽2, q ( k ) can be expressed as follows:
␳ 3 ⫽3, then D̄⫽ 关 C f 1 CA f 2 CA 2 f 3 兴 . By intro-
ducing equalities 共4兲 into Eq. 共2兲 and by separating q 共 k 兲 ⫽Ce 共 k 兲 ⫹D̄n̄ 共 k⫺1 兲 , 共9b兲
the effect of ‘‘past’’ and ‘‘present’’ fault values, the
system outputs can be expressed as follows: where e ( k ) defines the states-estimation error:
k⫺1 e 共 k 兲 ⫽x 共 k 兲 ⫺x̂ 共 k 兲 . 共10兲
y 共 k 兲 ⫽CA x 共 0 兲 ⫹ 兺 CA
k i⫺1
B u u 共 k⫺i 兲
i⫽1 It can be observed in Eq. 共9b兲 that residuals q ( k )
presents two different terms. The first one
k⫺1
关 Ce ( k ) 兴 is the states-estimation error that does
⫹ 兺 D̄n̄ 共 k⫺i 兲 ⫹D̄n̄ 共 k⫺1 兲 . 共5a兲 not consider faults and disturbances. The second
i⫽2
one 关 D̄n̄ ( k⫺1 ) 兴 is the effect of faults on the re-
It can be observed that the first two terms of the siduals. The first term contains the information
right-hand side of Eq. 共5a兲 give the evolution of necessary for correcting the states prediction while
the outputs without considering faults while the the second term biases this correction. Therefore,
other terms of the right-hand side of Eq. 共5a兲 give in order to obtain unbiased state estimations, the
the effect of past and present faults. But, under gain of the filter must multiply the first term while
normal behavior hypothesis, the past faults and neglecting the second one. To do this, sequences
disturbances are null. Therefore under nonfault ␥ ( k ) and q r ( k ) are introduced:
hypothesis, Eq. 共5a兲 becomes
k⫺1
y 共 k 兲 ⫽CA k x 共 0 兲 ⫹ 兺 CA i⫺1 B u u 共 k⫺i 兲
冋 册冋册
␥共 k 兲 ⌺
q r共 k 兲 ⫽ ⌸ q 共 k 兲 , 共11兲
i⫽1
where matrixes ⌺ and ⌸ will be derived later. In-
⫹D̄n̄ 共 k⫺1 兲 . 共5b兲 troducing the value of q ( k ) defined in Eq. 共9b兲
into Eq. 共11兲, we can obtain the following expres-
Thus, under normal behavior hypothesis, the vec- sions:
tor y ( k ) can be re-expressed as follows:
␥ 共 k 兲 ⫽⌺Ce 共 k 兲 ⫹⌺D̄n̄ 共 k⫺1 兲 ,
y 共 k 兲 ⫽Cx 共 k 兲 ⫹D̄n̄ 共 k⫺1 兲 . 共6兲 共12兲
Therefore, in expression 共6兲, effects of faults were q r 共 k 兲 ⫽⌸Ce 共 k 兲 ⫹⌸D̄n̄ 共 k⫺1 兲 .
discriminated from effects of control actions and
In order to obtain an unbiased estimation, the ef-
from the system internal dynamic. This result will
fects of faults and/or disturbances are to be un-
be used for deriving a fault detection and isolation
coupled from the estimation error e ( k ) but they
filter in the next section.
must be used for estimating their magnitude.
3. The novel filter Therefore the following two equalities are to be
verified:
Let us consider a states observer of a discrete
linear system: ⌺D̄⫽0, 共13兲
646 L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649

⌸D̄⫽I. 共14兲 time, faults and disturbances estimations


q r ( k ) . The remaining problem to be solved is
Eq. 共13兲 is a necessary condition for an unbiased the selection of the observer gain K but this is a
state estimation, and Eq. 共14兲 is useful for detect- standard tuning problem. If there are no system
ing and isolating faults and/or disturbances. If Eqs. and/or measurement noises 共deterministic case兲,
共13兲 and 共14兲 are introduced into Eq. 共12兲, this the most convenient gain correspond to a deadbeat
equation becomes observer, but if there is some level of system
and/or measurement noise 共stochastic case兲, the
␥ 共 k 兲 ⫽⌺Ce 共 k 兲 , most convenient gain is the Kalman gain adjusted
共15兲 by the noises level.
q r 共 k 兲 ⫽⌸Ce 共 k 兲 ⫹n̄ 共 k⫺1 兲 .

Then, the sequence ␥ ( k ) is to be used for correct- 4. Stability and convergence


ing the predicted states, and the sequence q r ( k )
can be used for estimating faults and disturbances. In this section, stability and convergence prop-
Therefore by introducing sequences 共15兲 into Eqs. erties of the observer are briefly analyzed. The ob-
共7兲 and 共8兲 and by operating, the fault/abrupt dis- server 共19兲 has the structure of a Kalman filter.
turbances detection filter can be written as fol- Stability and convergence properties of this kind
lows: of filter have been deeply analyzed in Ref. 关13兴.

冉 冋 册冊
The results of this work are summarized as fol-
⌺ lows: a discrete Kalman filter is stable if and only
x̂ 共 k⫹1 兲 ⫽Ax̂ 共 k 兲 ⫹B u u 共 k 兲 ⫹ 关 K W 兴 ⌸ q 共 k 兲 ,
if the eigenvalues of 关 A⫺K ( k ) C 兴 belong to the
inner unit circle, being the couple 共A, C兲 detect-
q r 共 k 兲 ⫽⌸q 共 k 兲 , 共16兲 able:

ŷ 共 k 兲 ⫽Cx̂ 共 k 兲 ,
rank 冉冋 册冊
zl⫺A
C ⫽n ᭙ 兩 z 兩 ⭓1, 共20兲
where K is the filter gain and W is the matrix of
propagation of faults and disturbances. W is de- and the couple ( A,W1/2) completely controllable:
fined by
rank共关 ⫺e j ␻ I⫹A W1/2兴 兲 ⫽n ᭙ ␻ 苸W:0⭐ ␻
W⫽A 关 F1 AF2 ¯ A s⫺1
Fs 兴 . 共17兲
⭐2 ␲ . 共21兲
Finally, by defining the following matrixes:
These conditions of stability and convergence can
A⫽A⫺W⌸C, be extended to the filter given by Eq. 共19兲 as fol-
lows:
共18兲
冉冋 册冊
C⫽⌺C,
zI⫺A F
and introducing them into Eq. 共16兲, we can ex- rank ⫽n⫹p ᭙ 兩 z 兩 ⭓1, 共22兲
C 0
press the detection and and isolation filter as fol-
lows: rank共关 ⫺e j ␻ I⫹A F W1/2兴 兲 ⫽n ᭙ ␻ 苸W:0
x̂ 共 k⫹1 兲 ⫽ 关 A⫺KC 兴 x̂ 共 k 兲 ⫹B u u 共 k 兲 ⭐ ␻ ⭐2 ␲ .
⫹ 关 K⌺⫹W⌸ 兴 y 共 k 兲 , 共23兲

q r 共 k 兲 ⫽⌸q 共 k 兲 , 共19兲 5. A numerical example

ŷ 共 k 兲 ⫽Cx̂ 共 k 兲 . Let us consider the following discrete-linear


system that results from the linearization and dis-
Thus the observer provides state estimations x̂ ( k ) , cretization of the jacketed continuous stirred-tank
measurements estimations ŷ ( k ) , and at the same reactor presented in Ref. 关14兴,
L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649 647

冋 册冋
x 1 共 k⫹1 兲

x 3 共 k⫹1 兲
0.8081 ⫺0.0006 0
x 2 共 k⫹1 兲 ⫽ 34278 1.1033 0
0.0011 0.0001 1
册冋 册x 1共 k 兲
x 2共 k 兲
x 3共 k 兲
冋 册
D̄⫽CA 1⫺1 F⫽C 关 fn
1
fd 兴 ⫽ 0
0
0
1
0
0
0
1

冋 册 冋
0

0.0564
0
⫹ ⫺0.0154 u 共 k 兲 ⫹ 1
1
0.0226
0.4350
0
册 ⫻ 1
1
冋 册冋 册
0 0.0226
0.4350 ⫽ 1
0 1
0 0.0226
0.4350 .
0

冋 册
n共 k 兲
⫻ d k ,
共 兲
Its rank rank( D̄) ⫽2, thus D̄ is a full rank matrix

冋 册 冋 册冋 册 冋 册
and therefore is possible to detect and isolate non-
measurable faults and abrupt disturbances. Thus
y 1共 k 兲 1 0 0 x 1共 k 兲 ␯1
matrixes ⌸ and ⌺ defined by Eqs. 共13兲 and 共14兲
y 2共 k 兲 ⫽ 0 1 0 x 2共 k 兲 ⫹ ␯ 2 .
will take the following values:
y 3共 k 兲 0 0 1 x 3共 k 兲 ␯3

The states of the system are the reactive concen-


tration 关 x 1 ( k ) 兴 , the temperature into the reactor
⌸⫽ 冋 ⫺0.0517 0.0027
0.2376 2.2865 ⫺2.2865
1
册 ,
关 x 2 ( k ) 兴 , and the refrigerant temperature into the

冋 册
reactor jacket 关 x 3 ( k ) 兴 . They are considered mea- 0.9971 ⫺0.0517 ⫺0.0142
sured variables corrupted by independent ‘‘white-
noises’’ sequences ␯ 1 , ␯ 2 , and ␯ 3 共stochastic ⌺⫽ ⫺0.0517 0.0027 0.0007 .
case兲. The exothermic reactor is controlled by ma- ⫺0.0142 0.0007 0.0002
nipulating the refrigerant flow 关 u ( k ) 兴 . The simu-
lated fault is a blockade of the refrigerant control The chosen filter gain K corresponds to the steady
valve 关 n ( k ) ⫽⫺4, k⭓20兴 and the simulated dis- state Kalman gain matrix adjusted by the known
turbance is a sudden change on the reactive con- measurements-noises level. No system noises
centration 关 d ( k ) ⫽0.25, k⭓10兴 . Detectability in- were considered. The matrix of propagation of
dexes defined in Ref. 关12兴 are ␳ n ⫽1 and ␳ d ⫽1. faults is computed from its definition 关Eq. 共17兲兴.
The matrix D̄ defined by Eq. 共4兲 is then Thus they will take the following values:

Fig. 1. Estimated states x(k).


648 L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649

Fig. 2. Estimated faults and disturbances q r (k).

冋 0.5050 0.0117 0.0000


K⫽ 0.0117 0.9980 0.0000 ,
0.0000 0.0000 0.6180
册 from the other faults/disturbances. The resulting
algorithm is a particular Kalman filter on which
each element of the residuals vector is coupled
with a given fault/abrupt disturbance but is un-

冋 册
coupled from the remaining possible faults and
⫺0.0006 0.0180
disturbances of the system. Furthermore, condi-
W⫽ 1.1033 1.2546 . tions of stability and convergence for the filter
1 0.0001 have been briefly provided. A numerical example
showed that the filter produced accurate state esti-
Numerical simulations are summarized in Figs. 1 mations and fault diagnostics.
and 2. Fig. 1 shows the estimations of the system We have presented in this brief paper an exten-
states produced by the detection filter. Note that sion of the observer of Liu and Si to the discrete
states were expressed as deviation variables. It can linear case with a perfectly known model. Never-
be clearly observed the effects of the disturbance theless, this is an introductory work and a number
and of the fault on the states. Nevertheless, accu- of problem areas await further research. They in-
rate and unbiased state estimations have been ob- clude robustness to parametric uncertainty, tests
tained. Fig. 2 shows the evolution of the estimated on slowly drifted faults/disturbances 共which are
faults vector q r ( k ) ⫽ 关 n̂ ( k ) ,d̂ ( k ) 兴 T . It can be more difficult to detect兲, extension to some non-
noted that the filter showed an almost perfect iso- linear systems, and tests on real systems.
lation performance. Therefore at least in this case
where every state is measured and detectability in-
dexes are ␳ n ⫽1 and ␳ d ⫽1, the filter is able to References
detect, classify, and produce accurate diagnostics
of unexpected behaviors. 关1兴 Willsky, A., A survey of design methods for failure
detection in dynamic systems. Automatica 31, 627–
635 共1976兲.
6. Conclusions 关2兴 Wilsky, A., Detection of Abrupt Changes in Dynamic
systems. Lecture Notes in Control and Information
In this work we have presented a fault/abrupt Sciences. Springer-Verlag, Berlin, 1986.
disturbances detection filter for discrete linear sys- 关3兴 Gertler, J., Survey of model-based failure detection
and isolation in complex plants. IEEE Control Syst.
tems. The filter was designed in such a way that Mag. 8, 3–11 共1988兲.
the directional properties of generated residuals al- 关4兴 Frank, P. M., Fault diagnosis in dynamic systems us-
low uncoupling the effects of a fault/disturbance ing analytical and knowledge base redundancy—A
L. Giovanini, R. Dondo / ISA Transactions 42 (2003) 643–649 649

survey and some new results. Automatica 26, 459– 关9兴 Gertler, J., Generating directional residuals with dy-
474 共1990兲. namic parity relations. Automatica 31, 627– 635
关5兴 Patton R., Uppal, F., and Toribio, C. Lopez, Soft com- 共1995兲.
puting approaches to fault diagnosis for dynamic sys- 关10兴 Massoumnia, M., A geometric approach to the synthe-
tems: A survey. 4th IFAC Symposium on Fault Detec- sis of failure detection filters. IEEE Trans. Autom.
tion Supervision and Safety for Technical Processes, Control 31, 839– 846 共1986兲.
Budapest, 14 –16 June 2000, Vol. 1, pp. 298 –311, 关11兴 White, J. and Speyer, J., Detection filter design: Spec-
2000. tral theory and algorithms. IEEE Trans. Autom. Con-
关6兴 Baseville, M. and Nikiforov, I., Detection of abrupt trol 32, 593– 603 共1987兲.
changes: Theory and application. Prentice-Hall, Engle- 关12兴 Liu, B. and Si, J., Fault isolation filter design for time-
wood Cliffs, NJ, 1993. invariant systems. IEEE Trans. Autom. Control 42,
关7兴 Patton, R., Fault tolerant control: The 1997 situation, 704 –707 共1997兲.
IFAC Symposium on Fault Detection. Supervision and 关13兴 De Souza, C., Geevers, M., and Goodwin, G., Riccatti
Safety for Technical Processes. SAFEPROCESS 97, equations in optimal filtering of nonstabilizable sys-
Hull, U.K., pp. 1033–1055 共1997兲. tems having singular transition states matrices. IEEE
关8兴 Wilsky, A., Analytical redundancy and the design of Trans. Autom. Control 31, 831– 838 共1986兲.
robust failure detection systems. IEEE Trans. Autom. 关14兴 Henson, M. and Seborg, D., Nonlinear Process Con-
Control 29, 603– 614 共1984兲. trol. Prentice-Hall, Englewood Cliffs, NJ, 1997.

You might also like