Professional Documents
Culture Documents
c&vn. Engng
Printed in Great Britain.
1992
Copyright
COMBINING
PATTERN
CLASSIFICATION
ASSUMPTION-BASED
TECHNIQUES
PROCESS
FAULT
DIAGNOSIS
S.
N.
KAWRI
and V.
0098- 1354/92
$5.00 + 0.00
0 1992 Pergamon Press Ltd
AND
FOR
VENKATASUBRAMANIAN~
Laboratory for Intelligent Process Systems, School of Chemical Engineering, Purdue University,
West Lafayette, IN 47907, U.S.A.
(Received I9 October 1990;Jinnl revision received 18 February 1991; received for
publication 24 May 1991)
Abstract-Assumption-based
approaches have been proposed in recent times for the diagnosis of process
malfunctions. These methods are systematic in the derivation of the knowledge. base and are general in
approach. However, the quantitative approaches that have been proposed in the past are compiled,
difficult to develop and lack generality. Furthermore, the standard assumption-based approaches that use
Boolean logic have problems with the completeness and resolution requirements. To circumvent these
problems, and to improve upon pattern classification techniques, we propose the tuples method which
combines assumption-based approaches with the pattern recognition techniques, using neural networks
to perform real-time diagnosis. The tuples method is based on deep-level quantitative models of the
process and its knowledge base is developed with relative ease. The method is robust in the sense that
it allows for modeling inaccuracies. It is also general in that the process model and the diagnostic method
are separated. This integrated approach was found to successfully diagnose single and multiple faults
including sensor faults and parameter drifts. It has good real-time speed, and gives early diagnosis of
malfunctions. Our study also suggests that the generalization characteristics of a neural network can be
improved by using a fully-connected network.
1. INTRODUCTION
300
S. N. KAVURI and
V. VENKATASUBRAMANUN
APPROACHES
TO
DIAGNOSIS
Wu
W=
w,
w=nWF=Q,
OBS = {C,,
w),
W, = [C, VF,
F),
TC,,l,
W,=[TF,VTjCA
T,],
W, = [ Tj Fi T TJ,
W, = IT,, Fj TIP
W,=[V,,FV].
V, T, q.,r;j,
SF = u( w, E Wf).
P =
301
-- 1.7OlC, - 0.004V
+ O.O05F,
- 0.009T
+ 5.338 = 0.
302
.-
F1
Fig. 1. NonisothermalCSTR.
W,uW,uW,=(V,,FVTjF,TTnFOCA
SF=
W,uW,=(C,
P = SF Subsets
{CA,, },
TO),
VF,TC,,T,,E;;),
ST = (CA0 T,,}.
of P = (
>, (Cm),
(T,,),
(CAD T-,1:
Therefore, {C,,
T,,)
is a minima1 cover.
T_, >.
of completeness
and resolution
Assumption-based
methods suffer from two
requirements. One is completeness, which is the
requirement that the information from all the theoretically possible minimal assumption sets be used.
Failing to consider all minimal assumption sets may
result in a wrong minima1 cover and hence a wrong
diagnosis. Resolution is the other requirement that
we have all and only the faulty constraints in set Tf.
The absence of any faulty tuple in TF can result in a
wrong minima1 cover. The completeness and
resolution problems arise in the following two ways:
(a) Boolean logic uses a rigid threshold and it is
possible that a faulty tuple is treated as normal when
in the vicinity of a threshold; and (b) it may not be
feasible to evaluate all of the required minima1 tuples.
We propose a pattern classification method that uses
non-Boolean reasoning in considering the constraint
violations and it does not require a large set of
constraints in order to make a diagnosis.
3.
PATTERN
CLASSIFICATION
IN DIAGNOSIS
(x),
. . . 3@,(x)1,
d
(1.1)
a (o,o)
b(l.0)
- x,
problem in X-space.
-t-
problem in C-space.
-2c,
- 2L + 45, + 1,
303
APPROACH
TO FAULT
DIAGNOSIS
Every assumption-based approach uses a representation for assumption sets and the corresponding
constraints. Tuple is the corresponding representation in this method. The basic entity in the tuples
method is a tuple. A k-tuple r is defined as a partially
ordered set of k variables [xl, x2, . . . , xk]. The first
(k - 1) variables are unordered and constitute the
assumptions made by the tuple. Each tuple is associated with a quantitative equation that is derived from
the steady state model of the system linearized about
the nominal steady state. The associated equation
consists of only the k-variables mentioned in the
tuple. The kth variable is estimated using this
equation and the other (k - 1) variables. A tuple is
said to deviate when the estimated value of the kth
variable deviates from the nominal value. The principle of the tuples method is to reduce the potential
fault set by validating groups of assumptions based
304
S. N. KAVURI
and V.
VJHCATASUBRAMANIAN
--
(a) Assumptions
(b)
Assumptions
about system
parameters-These
305
4.3. Application
study
Ax=d.
(1)
a reactor case
la.
(2)
v,
F,+
15
Fe--15
3
4
5
6
To+30
To - 30
T,, + 30
TjO - 30
7
8
Table
c,,
C,
+ 0.3
- 0.3
F, + 8
F. - 8
3
4
To + 60
To + 60
5
6
7
8
T,,-+@
q, - 60
c,,
+ 0.15
c,,-0.15
Fo-
5=v-v.
where G is a matrix that transforms the assumption
data y into the tuple deviations t.
If the assumption variable yi is a sensor variable,
then its assumption value is the value that has been
measured. If the assumption is about a system parameter, then the steady state value of the parameter
is the assumed value. If the assumption is about the
system structure, it specifies the particular equations
that are considered to model a particular functional
mode of the system. An assumption of controller
failure would thus drop the corresponding controller
equation from the process model and treat the
corresponding manipulated variable as an exogenous
variable, when deriving a tuple equation.
10 and To+30
10 and To+30
T,, + 30 and To + 30
T,,, - 30 and To + 30
C,, f 0.3 and To + 30
CAo-0.3
and To+30
F,+
Sensorfaults
1
2
3
4
5
6
simulated
simulated
Y biased low by 5%
V biased high by 5%
biased low by 2%
q biased high by 2%
T biased low by 2%
T biased high by 2%
T,
3
4
5
6
biased low bv 5%
biased high gy 5%
b+sd low by 2%
1; bmsed high by 2%
T biased low bv 2%
T biased high Gy 2%
V
V
T/
and T. + 30
and f, + 30
and To + 30
and To+ 30
and T, + 30
and F. + 30
306
S. N.
Table
Tuple
2.
Tuples
No.
CA?
=2
=3
=4
=5
T6
=1
C&l
CO
C
TO
TO
FO
=I
F,
T
V
XL
_l
Fo
FO
FO
FO
V
T
VENKATASUBRAMANIAN
their assumptions
Assumptions
=,
=*
and
and V.
KAVURI
Estimate
V
V
V
T
=,
F,
4
F/
TO
To
CA
TO
Tr
CO
TO
=I0
C.,
T
V
Fi
F
Table
3. Tuule
Tuple
Fault
Fo+
F0To+
GT,o +
To c&l+
c.,No-Fault
7.4
T2
0.7503
-0.7295
-0.4848
0.5036
-0.9051
0.6348
-0.4639
0.4287
0.0021
-0.7555
0.7353
0.4849
-0.5034
0.9051
-0.6348
0.4639
- 0.4286
- 0.0020
-0.7727
0.7537
0.4848
-0.5034
0.9051
-0.6348
0.4639
- 0.4286
- 0.0020
deviations
deviations
0.2418
-0.3075
0.3255
-0.3472
0.7521
-0.4480
0.9051
- 0.9027
-0.0022
for
various
faults
at time = 15 min
TS
-0.9047
0.905 1
0.4016
- 0.3739
- 0.5906
0.1926
-0.4195
0.4880
- 0.0032
Te
-0.0031
-0.001s
- 0.0303
-0.0077
0.9051
-0.5593
-0.0474
0.0102
0.0017
=7
-0.2630
0.2206
0.4850
- 0.503 1
0.905 1
- 0.6345
0.4640
- 0.4283
-0.0017
=B
0.9051
-0.9051
0.0
0.0
0.0
0.0
0.0
0.0
0.0
=9
-0.9051
0.8958
0.5826
-0.5689
-0.2891
-0.0154
0.5771
- 0.5059
- O.OO58
TICI
-0.1955
0.1624
0.3624
-0.3863
0.9051
-0.6154
0.3411
- 0.3209
-0.0008
lb
ao
30
dmeinminutes
10
307
characteristic of neural networks. The second requires a certain ability to interpolate between the
typical patterns of single faults in order to generalize
to multiple faults. Upon training with typical patterns
of single fault situations, certain network configurations are able to generalize to multiple faults. While
the standard architecture of the network shows generalization of the first kind, in the case of multiple fault
generalizations it can make wrong predictions.
The standard network is a multiple layered feedforward network with connections between the nodes
of adjacent layers. The standard network provides
information to the output layer only through the
hidden layer, which extracts an aggregate picture of
the feature vector. Generalizing to multiple faults
requires recognizing the dependence of various faults
on the individual feature values. The general backpropagation algorithm applies to any acyclic network
of nodes (feedforward) and is not limited to the
standard network. No cross connections, however,
are allowed within the input nodes, or the output
nodes. The general acyclic network allows connections between nodes in nonadjacent layers and
can, without a loss of generality, disallow cross
zo
Iii
in minutes
308
S.N.
andV. VENKATASUBRAMANIAN
KAVIJRI
4a.
Real-time
Time
Fo+
Multiple
fault
generalization-standard
Fo-
To+
=0-
CA,+
CA0 -
0.001
0.0
0.0
0.001
0.001
0.001
0.002
0.004
0.003
0.001
0.0
0.0
0.082
0.152
0.257
0.425
0.747
0.862
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.577
0.0
0.0
0.001
0.004
0.0
0.0
0.0
0.0
0.0
0.008
0.012
0.020
0.029
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.009
0.012
0.014
0.018
0.021
0.951
O.P57
O.P57
0.955
0.952
0.950
0.0
0.0
0.0
0.0
0.0
0.0
0.017
0.025
0.026
0.026
0.029
0.045
0.0
0.0
0.0
0.0
0.0
0.0
=,o+
CA0 -
0.003
0.002
0.001
0.0
0.0
0.0
0.0
0.830
0.0
0.0
0.0
0.0
0.894
0.062
2.5
5
7.5
10
15
20
0.0
0.0
0.0
0.0
0.0
0.0
Table
o.om
0.0
0.948
0.962
o.oJB
0.031
0.0
0.0
0.024
0.029
0.029
0.028
0.026
0.022
4b.
Real-time
Fo+
and
0.921
T,,+
0:o
0.0
0.0
0.0
Multiple
To+
and
fault
0.006
T,+
0.058
0.033
0.031
0.030
0.028
0.021
generalization-standard
network
network
behavior
for multiple
fault generalization
Standard
network
with eight tupla
&-
To+
To-
Ta2.5
5
=,a -
0.0
0.0
0.001
0.002
0.010
0.025
7.5
IO
15
20
Time
r,o+
Tn+
0.0
0.0
0.0
0.0
0.0
0.0
1.145
0.083
5.0
and
oL547
0.720
0.618
0.417
0.126
0.057
Fo2.5
network
network
behavior
for multiple
fault generalization
Standard
network
with eight tuules
F,+
2.5
5.0
7.5
10
15
20
and
%+
q;., -
7+
0.001
0.007
0.001
0.001
0.761
0.395
0.0
0.0
0.0
0.0
0.723
0.006
0.001
7.5
10
15
20
0.015
0.022
0.028
0.030
0.001
0.0
0.0
0.0
0.224
0.163
0.127
0.119
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.915
0.956
0-W
o.P7s
0.976
0.001
0.001
0.001
0.0
0.0
0.003
0.008
0.012
0.016
0.017
2.5
5
7.5
10
I5
20
0.001
0.003
0.004
0.002
0.0
0.0
0.0
0.0
0.0
0.0
0.004
0.007
0.096
0.16s
0.218
0.414
0.951
o.Ps6
0.0
0.0
0.0
0.0
0.0
0.0
0.001
0.001
0.001
0.001
O.CKlO
0.000
0.0
0.0
0.0
0.001
0.025
0.096
0.223
0.697
0.757
0.664
0.199
0.093
0.0
0.0
00:X
0.0
0.0
2.5
5
7.5
10
15
20
0.0
0.0
0.0
0.0
0.0
0.0
0.045
0.083
0.084
0.064
0.030
0.018
0.041
0.025
0.009
0.003
0.0
0.0
0.0
0.0
0.0
0.001
0.008
0.019
0.0
0.0
0.0
0.0
0.0
0.0
0.002
0.001
0.001
0.002
0.012
0.026
0.0
0.0
0.0
0.0
0.0
0.0
0.022
0.068
0.1%
0.470
0.885
0.946
CA,+
and
To+
may view this as a conservative diagnosis and preferable over the possibility of overlooking an actual
fault. Tables 4a and b show the real-time diagnosis of
a standard network for multiple fault situations. For
each multiple fault situation, the table shows the
network outputs at 2.5, 5,7.5, 10, 15 and 20 min from
the time of fault inception. Tables 5a and b show the
real-time diagnosis of the fully-connected network.
While the standard network succeeded in identifying
only one of the two multiple faults, the fully-connected network succeeded in identifying both faults in
most cases.
For any kind of correct generalization performance, a neural network needs to have seen similar
situations during its training. In this sense, it is easier
Sa.
Multiple
Real-time
Time
Fof
fault
309
generalization-fullyconna;tcd
network
network
behavior
for multiple
fault generalization
Fully-connected
network
with eight tuples
To+
F0-
qo+
To-
F,+
and
T,o-
C0 +
C0 -
T,+
0.283
0.757
0.837
0.0
0.0
0.0
0.044
0.137
0.295
0.0
0.0
0.0
0.00 I
0.00
0.00.2
0.0
0.005
0.0
0.013
0.029
0.001
0.001
0.0
10
15
20
0.924
0.941
0.941
0.0
0.0
0.0
0.489
0.815
0.815
0.0
0.0
0.0
0.004
0.011
0.028
0.0
0.0
0.0
0.050
0.118
0.225
0.0
0.0
0.0
2.5
5
1.5
10
15
20
0.0
0.0
0.0
0.0
0.0
0.0
0.300
0.825
0.938
0.966
0.983
0.989
0.013
0.033
Z:E
0.539
0.7%
0.001
0.003
0.005
0.007
0.008
0.006
0.0
0.0
0.0
0.0
0.0
0.0
0.001
0.0
0.0
0.0
0.0
0.0
0.001
0.001
0.001
0.002
0.003
0.005
2.5
5
7.5
10
15
20
0.006
0.004
0.004
0.003
0.004
0.004
0.002
0.003
0.004
0.006
0.006
0.003
0.0
0.002
0.016
0.119
0.190
0.225
0.121
0.722
0.938
0.975
0.980
0.967
0.0
0.0
0.0
0.0
0.0
0.0
0.001
0.005
0.018
0.068
0.276
0.547
0.0
0.0
0.0
0.0
0.0
0.0
2.5
7.5
Fo-
and
5b.
Multiple
Real-time
Time
Fo+
fault
0.0
To+
0.0
0.0
0.0
0.0
0.0
0.0
Tm+ and
Table
T, +
0.009
0.0
0.0
0.0
0.0
0.0
generalization-fully-connected
network
network
behavior
for multiple
fault generalization
Fully-connected
network
with eight tuples
F0-
To+
ToTjo-
2.5
5
7.5
10
15
20
0.003
0.003
0.004
0.004
0.004
0.005
0.004
0.004
0.003
0.003
0.002
0.002
0.271
0.134
0.068
0.037
0.015
0.009
2.5
5
7.5
10
15
20
0.006
0.006
0.005
0.004
0.003
0.002
0.002
0.002
0.002
0.002
0.006
0.014
0.00s
0.010
0.042
0.213
0.907
0.994
2.5
5
7.5
10
15
20
0.002
0.002
0.001
0.001
0.001
0.001
0.007
0.016
0.028
0.040
0.050
0.040
0.161
0.724
0.937
0.973
0.942
0.746
and
0.0
0.0
0.0
0.0
0.0
0.0
CA,+
and
and
0.0
0.0
0.0
0.0
0.0
0.0
T,o -
c,,+
C,*-
0.0
0.0
0.0
0.0
0.0
0.0
0.019
0.072
0.164
0.267
0.416
0.47El
0.002
0.001
0.001
0.001
0.001
0.001
0.006
0.009
0.011
0.012
0.012
0.011
0.001
0.005
0.021
0.067
0.312
o.MIz
0.0
0.0
0.0
0.0
0.0
0.0
0.018
0.0
0.001
0.001
0.001
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
To+
0.000
0.000
0.000
O.OW
0.000
O.ooO
C,,,-
T,,+
T,+
0.17%
0.0
0.554
0.777
0.807
0.469
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.010
0.0&l
0.179
0.451
0.8g2
0.976
To+
310
S.N.
4
0
10
20
30
40
time in minutes
Fig.
6a. Single
fault
generalization-fully-connected
network.
Tjo
To
-5%
I
time
Fig.
-5%
6b. Single
fault
in minutes
generalization-fully-connected
network.
Tii
in minutes
system FALCON.
5. CONCLUSIONS
Assumption-based
methods,
to be successful,
At&d
need
Process
Computer-
Venkatasubramanian
V.,
R.
Vaidyanathan
and Y.
Yamamoto, Process fault detection and diagnosis using
neural networks-l.
Steady state processes. Computers
them. Engng 14, 699-712 (1990).
Watanabe K., I. Matsuura M. Abe, M. Kubota and D. M.
Himmelblau. Incinient fault diaanosis of chemical
processes vie art&al
neural networks. AIChE JI 35,
1803-1812
(1989).
APPENDIX
The
Necessary
the
REFERENCES
FOCAPO
311
M = maximum matching,
1B I < 1E I.
tuplescan he determined.
I THEN
312
APPENDIX
Process model:
dv
- = F0 - F,
dt
dC,
-=~(C*,-CC,)-kkC,,
dr
(I) as x-co,
Continuous
j-(x)41,
(2) as x-+--co,f(x)+-1,
Control
k, ,+wv
Fi = Ffi -
k,(T,
F=F,-kk,(V,,-
Sensors
= 0; and
f(x)=
V).
T, T,> F, F,.
l+eP-++d,
condition (1)
a+d=l,
condition (2)
zz. d=
-1.
(8):
Fo, 40,
T),
(6):
V, C,,
Parameters
at x = O,/(x)
(4)
equations:
State variables
(3)
TX,,
To.
condition (3)
c=o,
(61:
V,C..,,T,T,,F,F,.
c,,
F=F,,=40ft3h-,
q. = 594.6 R
F, = 50.316 ft3 h-,
k, = 10,
T0 = 530 R,
p = 50 lb,,, ft --3,
R = 1.99 B.t.u. mol- OR-,
U = 150 B.t.u. h- ft-r OR-,
A = 250 ft-r,