You are on page 1of 11

Instrumentation Network Design and Upgrade for

Process Monitoring and Fault Detection


Miguel Bagajewicz and Adrian Fuxman
School of Chemical Engineering, University of Oklahoma, Norman, OK 73019

Ariel Uribe
Universidad Industrial de Santander, Bucaramanga, Colombia

DOI 10.1002/aic.10279
Published online in Wiley InterScience (www.interscience.wiley.com).

A mixed-integer linear programming formulation for the design of sensor networks for
simultaneous process monitoring and fault detection/resolution is presented. The objective
is to find a cost-optimal sensor set for a chemical process that provides a good estimate
of the state of the system and detects as well as locate a preestablished set of faults. A
continuously stirred tank reactor example is provided and extensions are discussed. ©
2004 American Institute of Chemical Engineers AIChE J, 50: 1870 –1880, 2004
Keywords: sensors, sensor systems, fault detection, instrumentation upgrade

Introduction 1993, 1996; Madron, 1992), mathematical programming


The design and upgrade of instrumentation networks consist (Bagajewicz, 1997; Bagajewicz and Cabrera, 2001a), ge-
in determining the optimal set of instruments such that several netic algorithms (Sen et al., 1998; Viswanath and Narasim-
goals are fulfilled. Among others, the most important ones are han, 2001), multiobjective optimization (Bagajewicz and
that sufficiently accurate estimates of variables/parameters of Cabrera, 2001b; Viswanath and Narasimhan, 2001), among
interest are obtained and faults are detected and eventually others. Bagajewicz and Sánchez (1999a) showed in detail
identified. The former are needed for normal operations mon- that there is a connection between the maximum precision
itoring and real-time optimization, whereas the latter are es- and the minimum cost models. This connection states that
sential to guarantee the continuity and safety of operations. The the solution of one is one solution of the other. Bagajewicz
usual objective to minimize is cost. and Sánchez (2000a) also showed that this same type of
There are several articles devoted to the study of the duality holds for the objectives of reliability and cost. In
design of sensor networks using goals corresponding to essence, it is sufficient to use one formulation. The problem
normal monitoring operations. Aside from cost, different has also been extended to incorporate upgrade consider-
other objective functions such as precision (Luong et al., ations (Bagajewicz and Sánchez, 2000b) and maintenance
1994; Madron and Veverka, 1992), reliability (Ali and costs (Sánchez and Bagajewicz, 2000). Bagajewicz (2000,
Narasimhan, 1993, 1996), or simply observability (Baga- 2001) reviews all these methods and also discusses the
jewicz and Sánchez, 1999a; Luong et al., 1994; Madron, applications to bilinear and fully nonlinear systems.
1992; Maquin et al, 1994) were used. Different techniques The design of instrumentation networks for monitoring/pa-
were also used, such as graph theory (Ali and Narasimhan, rameter estimations can be summarized as follows:

Correspondence concerning this article should be addressed to M. Bagajewicz at


Minimize {Total Cost}
bagajewicz@ou.edu.
subject to
© 2004 American Institute of Chemical Engineers ● Estimability of Key Variables

1870 August 2004 Vol. 50, No. 8 AIChE Journal


● Precision of Key Variables
● Reliability of Key Variables
● Gross-Error Robustness
The total cost includes the maintenance cost, which regulates
the availability of variables, a concept that substitutes reliabil-
ity when the system is repairable (Bagajewicz, 2000).
Although the basic goal of monitoring systems is to
provide a good estimate of the state of the system, alarm
systems are designed to alert about process malfunction. In
turn, process faults propagate throughout the process, alter-
ing the readings of instruments (pressures, temperatures,
flow rates, and so on). Thus, these sensors should be able to Figure 1. DG diagram of a hypothetical process.
determine departures from normal operation. In this sense,
this task is different from that of gross error detection, which
concentrates on instrument malfunction. As a consequence, The design procedure offered by Raghuraj et al. (1999) is not
the problem of designing an alarm system consists of deter- based on cost and does not include other features, such as
mining the cost-optimal position of sensors, such that all filtering of sensor failures. However, very recently Bhushan
process faults, single or multiple and simultaneous, can be and Rengaswamy (2001) presented a mixed-integer linear pro-
detected and distinguished from instrument malfunction (bi- gramming (MILP) formulation that maximizes reliability and
ases). The first attempt to present a technique to locate uses cost constraints. Such an approach is equivalent to the
sensors was done by Lambert (1977), who used fault trees minimization of cost subject to reliability thresholds (Bagajew-
based on failure probabilities. Failure probabilities are hard icz and Sánchez, 2000a).
to assess, fault trees cannot handle cycles, and the construc- Thus, from the exclusive point of view of fault detection, the
tion of the tree is cumbersome for large-scale systems. problem of the design of instrumentation is
Because of these limitations the technique has not been Minimize {Total Cost}
developed further.
For a fault-monitoring system to be useful in practice, it subject to
● Desired Observability of Faults
should be able to observe all the faults and identify their
● Desired Level of Resolution of Faults
location and number to the maximum extent possible. This
● Desired level of Reliability of Fault Observation
is called maximum fault resolution. Therefore, a sensor ● Desired level of Gross-Error Robustness in the Sensor
network for maximum fault resolution is such that each fault Network
has one and only one set of nodes from which it is observ-
able. Raghuraj et al. (1999) proposed a procedure to obtain Gross-error robustness is the ability of the sensor network to
such sets of nodes for maximum resolution. They also filter undesired sensor failure. The combination of both goals—
show that the sensor-location problem for multiple faults that is, the design of a sensor network capable of performing
and maximum resolution can be solved as an extension of estimation of key variables for production accounting, param-
the single-fault assumption problem. The application of eter estimation, on-line optimization, and fault detection and
these algorithms to a continuously stirred tank reactor diagnosis—is attempted in this report.
(CSTR) and a Fluid Catalytic Cracker (FCC) unit are pre- In this article, we specifically solve the following problem:
sented by Raghuraj et al. (1999). They used directed graphs Minimize {Total Cost}
(DG), that is, graphs without signs. The arcs of the DG
represent a “will cause” relationship, that is, an arc from subject to
● Desired Observability of Faults
node A to node B implies that A is a sufficient condition for
● Desired Level of Resolution of Faults
B, which in general is not true for a signed DG, where an arc
● Desired Precision level of the key variables.
represents a “can cause” relationship. The strategy used to
solve the problem is based on identifying directed paths We use an MILP formulation, part of which is taken from the
from root nodes where faults can occur to nodes where MILP model developed by Bagajewicz and Cabrera (2001).
effects can be measured, called the observability set. Of all
these paths, the objective sought is to choose the minimal MILP Model for Fault Detection
subset of sensors from the observability set that would have Figure 1 depicts a digraph with the path connections from
at least one directed path from every root node. Raghuraj et faults to potential location of sensors (DG diagram). In this
al. (1999) proposed a greedy search, which was later mod- figure, each node corresponding to a fault (Fi) connects through
ified to remove redundant members of the observability set an arrow to a sensor (Sj), thus indicating that the fault will
by a “backtracking algorithm.” They do not guarantee opti- affect the reading of the corresponding sensor. Clearly, more
mality; that is, a set featuring the minimum number of than one sensor can be affected by a fault.
sensors may not be found by this algorithm. Bhushan and Let q be the vector of binary elements that denotes whether
Rengaswamy (2000a,b) extended these models to signed a sensor is installed (qi ⫽ 1) or not installed (qi ⫽ 0). With this
directed graphs and reliability maximization. definition the cost function becomes

AIChE Journal August 2004 Vol. 50, No. 8 1871


Figure 2. CSTR process.

冘 cq
冘B ⫽0 3 F
Min i i (1) m

i僆M 1 If ij j is unobservable (5)


i⫽1

where M1 is the set of potential sensor locations, that is, the


dimension of q. The following step is to generate the fault-

冘B ⱖ1 3 F
m
sensor maximum connectivity matrix (A), which will contain
the same information as the bipartite graph. In this matrix, the If ij j is observable (6)
i⫽1
columns represent the faults and the rows represent the sensors.
When Aij ⫽ 1, then we say that there is a path from fault Fj to
the potential sensor location Si. For the case of Figure 1, this We are now in a position to present our model for cost-
matrix is the following optimal sensor network design for fault observability

F1 F2 F3 F4 F5
冘 cq

1 1 0 0 0 S1 P1 ⫽ Min i i
A⫽ 1 1 1 1 0 S (2) i僆M 1
2
s.t.
冘 b 共q 兲 ⱖ 1
0 0 0 1 1 S3
(7)
k i ᭙ k 僆 Mo
We now define a fault-sensor connectivity matrix B(q) ⫽ i僆M 1

[b1, . . . , bn] using qi 僆 兵0, 1其

bj ⫽ aj 丢 q (3) where Mo is the set of faults that one wants to be able to


observe and qi is a binary variable as stated above. Bhushan
where bj and aj are the ith column of B and A, respectively, and and Rengaswami (2001) described this problem similarly and
R is the Hadamard product of two vectors, that is, (aj R q)i ⫽ presented a greedy search algorithm to solve this problem. A
ajiqi. Thus, A ⫽ B only when sensors are selected for all special combination of faults to create “pseudo-faults” that
potential locations. For the particular case of our example would allow fault resolution was also presented, and an algo-
rithm to remove redundant constraints was proposed (Bhushan
and Rengaswami, 2000b). An alternative approach is used
F1 F2 F3 F4 F5 herein.
q1 q1 0 0 0 S1
B共q兲 ⫽ q q q q 0 S2 (4)
2 2 2 2
0 0 0 q3 q3 S3 Fault Detection and Single-Fault Resolution
We now proceed to add fault resolution to the model. A fault
We now observe that the sum of all the elements of one can be observed because there are sensors located in the cor-
column of B determines whether the corresponding fault is responding end of the path to candidate sensor location. How-
either observable or not observable, that is ever, the same type of symptoms can correspond to different

1872 August 2004 Vol. 50, No. 8 AIChE Journal


faults. Thus, the term “resolution” has been coined to refer to
the ability of determining exactly which process fault occurred
C⫺⍀䡠KⱕA
再 CⱖA
C ⫽ Max共 A, B兲 N C ⫺ 共1 ⫺ K兲 䡠 ⍀ ⱕ B C ⱖ B (10)
given the set of symptoms. Two faults can be distinguished
only if one of them has at least one sensor that is different or
does not sense the other fault at all. We now represent this where K is binary and ⍀ is an upper bound on the total number
using the connectivity matrix. of sensors. The equivalency established in Eq. 10 forces the
Consider two columns of the fault-sensor connectivity ma- equality of C to the largest of A and B, by selecting K ⫽ 1 or
trix. If both faults are observable, all one needs is these two K ⫽ 0.
faults not be connected to the same set of sensors. To guarantee
that, at least one element of the two corresponding columns of
B must be different. This is achieved by imposing the following Fault Detection and Multiple-Fault Resolution
condition
Assume now that one wants to consider multiple faults

冘 关b 共q兲 丢 b 共q兲兴 ⱕ Max再 冘 关b 共q兲兴 , 冘 关b 共q兲兴 冎 ⫺ 1


occurring simultaneously and one wants to resolve them. Given
that multiple faults can have the same signature as that of single
j p i j i p i
i僆M1 i僆M 1 i僆M 1 faults, one wants to resolve multiple faults from each other,
regardless of their cardinality. That is, if one targets as a design
(8)
procedure that one desires resolution of two faults at a time,
then one needs to be able to distinguish them not only from
In the matrix shown in Eq. 4, faults F1 and F4 are observable each other but also from single faults. We now illustrate how
and distinguishable for certain set of sensors. Indeed, ¥ i僆M 1 this can be done for two faults.
[b1(q) R b2(q)]i ⫽ q 22 and Max{¥ i僆M 1 [b1(q)]i, ¥ i僆M 1 Consider two faults taking place at the same time. They will
[b4(q)]i} ⫽ Max{q1 ⫹ q2, q2 ⫹ q3}. Thus, if q1 ⫽ 0 and q3 ⫽ have a signature corresponding to a vector that is the Boolean
0, then the inequality expressed in Eq. 8 does not hold and the sum of the corresponding two columns of B, that is, their
sensors cannot be distinguished (they would express both in signature will be
sensor 2 only). In turn, if q2 ⫽ 0, q1 ⫽ 1, and q3 ⫽ 1, then the
inequality in Eq. 8 holds and the faults are distinguishable.
They also are distinguishable; that is, the inequality in Eq. 8 d jk共q兲 ⫽ 关a j 丣 a k兴 丢 q (11)
holds if the three sensors are located (q1 ⫽ q2 ⫽ q3 ⫽ 1). Now,
consider faults F1 and F2. These two faults affect the same
sensors and are indistinguishable, and there is no combination Thus, we define the double fault-sensor connectivity matrix
of sensors that can satisfy the inequality in Eq. 8. Indeed, in this D(q), through all column vectors, as the desired combinations
case, ¥ i僆M 1 [b1(q) R b2(q)]i ⫽ q 21 ⫹ q 22 and the sum of columns of double faults djk(q) that belong to a prespecified set. Reso-
1 and 2 are q1 ⫹ q2. Thus the right-hand side of Eq. 8, that is lution of these faults with respect to the others is now obtained
q1 ⫹ q2 ⫺ 1, which cannot be larger than the left-hand side, no through an expression similar to Eq. 8, that is
matter what values assume q1 and q2. This result also suggests

冘 关d 共q兲 丢 d 共q兲兴
that one cannot incorporate Eq. 8 for these two sensors in the
model because it will become infeasible. jk pr i
Thus the final model for fault observability and single fault i僆M1

再冘 冘 关d 共q兲兴 冎 ⫺ 1
resolution is

冘 cq
ⱕ Max 关djk 共q兲兴i , ᭙ j, k, p, r 僆 MS2


pr i
P2 ⫽ Min i i i僆M 1 i僆M 1
i僆M 1
(12)
s.t.
冘 a q ⱖ1 ᭙k僆M ki i O
where ( j, k) and (p, r) belong to MS2, the set of all combina-
冘 a a q ⱕ C ⫺ 1 ᭙ j, p 僆 M ; j ⫽ p
i僆M 1
tions of two faults that one wants to resolve. In addition j ⫽ k ⫽
ji pi i jp S
p ⫽ r. This equation can be replaced by a set of mixed integer

C ⫽ Max再 冘 a q , 冘 a q 冎
i僆M 1
linear equations using Eq. 10. In a similar fashion, one can
jp ᭙ j, p 僆 M ; j ⫽ p
ji i pi i S distinguish double faults from single faults by using the fol-
i僆M 1 i僆M 1 lowing expression
qj 僆 兵0, 1其 ᭙ j 僆 MS
(9)
冘 关d 共q兲 丢 b 共q兲兴
i僆M1
jk p i

再冘 冘 关b 共q兲兴 冎 ⫺ 1
where MS is the set of faults that one wants to be able to
observe and resolve. Note that MS should be included in MO. ⱕ Max 关djk 共q兲兴i , p i
The Max operator in Eq. 8 is not amenable to be used in i僆M 1 i僆M 1
MILP models. To convert it to a linear set of inequalities,
consider the following equivalency ᭙ j, k 僆 MS2 , ᭙ p 僆 MS (13)

AIChE Journal August 2004 Vol. 50, No. 8 1873


where j ⫽ k ⫽ p and which can also be rewritten as a set nal model for observability, single- and double-fault reso-
of mixed-integer linear equations using Eq. 10. The fi- lution, is

P3 ⫽ Min 冘 cq
i僆M 1
i i

s.t.
冘 a q ⱖ1 ᭙k僆Mki i O

冘 a a q ⱕ C ⫺ 1 ᭙ j, p 僆 M ; j ⫽ p
i僆M 1

ji pi i jp S

C ⫽ Max再 冘 a q , 冘 a q 冎
i僆M 1

jp ᭙ j, p 僆 M ; j ⫽ p
ji i pi i S

冘 关共a 丣 a 兲 䡠 共a 丣 a 兲 䡠 q 兴 ⱕ G ᭙ j, n, p, r 僆 M ; j ⫽ n ⫽ p ⫽ r (14)
i僆M 1 i僆M 1

ji ni pi ri i jnpr S2

G ⫽ Max再 冘 关共a 丣 a 兲q 兴, 冘 关共a 丣 a 兲q 兴冎


i僆M 1

jnpr ji ᭙ j, n, p 僆 M ; j ⫽ n ⫽ p ⫽ r
ni i pi ri i S

冘 关共a 丣 a 兲 䡠 a 䡠 q 兴 ⱕ Q ᭙ j, n 僆 M , ᭙ p 僆 M ; j ⫽ n ⫽ p
i僆M 1 i僆M 1

ji ni pi i jnp S2 S

Q ⫽ Max再 冘 关共a 丣 a 兲q 兴, 冘 关a q 兴冎
i僆M 1

jnp ᭙ j, p 僆 M ; j ⫽ n ⫽ p
ji ni i pi i S
i僆M 1 i僆M 1

where MS and MS2 are the sets of faults that one wants to be where qi is the binary vector indicating that a sensor stan-
able to observe and resolve individually and simultaneously dard deviation sii is located in variable i, ci is the cost of
and MO is the set of faults that one wants to be able to simply such sensor. The precision constraint states that the variance
observe, respectively. Note, that MS as well as MS2 should be of estimates ŝii (after reconciliation) has to be strictly
included in MO. smaller than a certain threshold s*ii. The constraint is written
Our methodology, requires the identification of pseudofaults only for the set of variables of interest (MP). When the
(Eq. 10) for the double-fault resolution problem, but this can be equations of the system correspond to material balances,
done automatically. An alternative methodology was presented they are linear and they can be expressed by A 䡠 x ⫽ 0, where
by Bushan and Rengaswamy (2001). In their work, the number A is the matrix of coefficients and x represents the mass
of constraints for the resolution problem is four times lower, flows. The variance of the estimates of measured and redun-
but identification of pseudofaults is required for any resolution dant variables obtained after data reconciliation is per-
problem considered. formed is given by

Ŝ R ⫽ S R ⫺ S R 䡠 E TR 䡠 共E R 䡠 S 䡠 E TR兲 ⫺1 䡠 E R 䡠 S R (16)
MILP Model for Variable Precision
We now briefly review the model developed by Bagajew-
icz and Cabrera (2001) for the design of instrumentation
where ER is the matrix reflecting the material balance equations
networks, with the objective of regular monitoring/parame-
of measured and redundant variables. The diagonal elements of
ter estimation. The model includes several constraints (pre-
Ŝ R are the values of interest ŝ ii , whereas the diagonal elements
cision, residual precision, error detectability, and resil-
of SR are the variances of the sensors installed in the redundant
ience).
variables.
The cost-optimal sensor network of a system with accuracy
The MILP model developed by Bagajewicz and Cabrera
constraints is obtained by solving the following optimization
(2001) considers that all variables are measured, some with real
problem (Bagajewicz, 1997)
instruments and others with fake instruments of very high
standard deviation, high enough so that they do not have an

冘cq influence in the other variables after data reconciliation. The


Min i i model also includes hardware redundancy, and considers many
i
(15) sensor candidates for each variable. When such an approach is
s.t. used, ER ⫽ A, and SR ⫽ S. The complete model without
ŝii ⬍ s*ii ᭙ i 僆 MP hardware redundancy is

1874 August 2004 Vol. 50, No. 8 AIChE Journal


Figure 3. DG diagram for noncontrol-loop faults.


Now, defining z ⫽ x ⫺ ␣, where ␣ is such that
冘 冘c ␮
l im

Min

冋 册 冋 册
ij ij
i僆M 1 j⫽1 ⭸F共 x兲 ⭸F共 x兲
s.t. ␣ ⫽ F共 x 0兲 ⫺ x0 (19)
⭸x x⫽x0
⭸x x⫽x0

冘␮ ⫽1
l im

ij ᭙ i 僆 M1
j⫽1 The system of Eq. 18 becomes

冘␮ ␴ ⫺ 冘 冘 冘 ␮ ␴ a p a
l im l im n n

t⫽1
it
2
it
t⫽1 k⫽1 d⫽1
it
4
it ki kd di ⱕ ŝii ᭙ i 僆 Mp
冋 册 ⭸F共 x兲
⭸x
z⫽0
x⫽x0
(20)

冘 冘 冘p a ␴ ␮ a ⫽␦
n m l im

ih hk
2
kt kt jk ij ᭙ i 僆 M1 , j ⫽ 1, . . . , n
h⫽1 k⫽1 t⫽1
which has the required form. To avoid numerical problems the
new variables (z) are scaled so that Max@j 兩 Aij 兩 ⫽ 1, @ i.
(17)
Case Study
where ␮it is a binary variable indicating that a sensor standard
deviation sit is located in variable i, and ␴ 2ii are the variances of We considered the CSTR example introduced by Bhushan et
sensor t installed in variable i. The last two equations of the al. (2000) (Figure 2). The equations were implemented in
above model represent Eq. 16. They are the result of introduc- GAMS and solved using CPLEX. First, the problem of fault
ing a new matrix as follows: P ⫽ (A 䡠 S 䡠 AT)⫺1, which is detection/resolution and the precision-constrained problem
summarized in the last equation. Thus, aki are elements of were solved separately. Next, all constraints are used simulta-
matrix A, pkd are the elements of P, and ␦ij is the identity neously to show how the synergism between the two con-
matrix. Finally, l mi is the number of different alternative can-
straints forces solutions different from the simple superposition
didates of measurement devices for variable i, n is the number of separate solutions.
of material balance equations, and m is the number of variables. The CSTR model equation and the correspondent DG are
The model contains products of integers and continuous vari- presented in the Appendix. Following the strategy of Bhushan
ables (pkd and ␮it), which are further linearized using a trans- et al. (2000), the corresponding sensor nodes for each fault
formation proposed by Glover (1975). were identified. Figure 3 shows the bipartite graph for observ-
This model can be extended to nonlinear systems by simple ability when control-loop faults are excluded. Table A2 can be
linearization. Indeed, when F(x) ⫽ 0 is the nonlinear system of used to generate the graphs including control-loop faults.
equations representing the model, using a Taylor series expan- The model was first run minimizing the number of sensors
sion that ignores terms of order ⬎ 1 gives (that is, using the same cost for all sensors). Sensors TS, PS,
and VS are installed for control purposes and can be used for

冋 册 冋 册
⭸F共 x兲 ⭸F共 x兲 fault detection. They are assigned zero cost. When only ob-
x ⫽ F共 x 0兲 ⫺ x0 (18) servability and single- as well as double-fault resolution are
⭸x x⫽x0
⭸x x⫽x0 requested (but no precision on variables is imposed), the results

AIChE Journal August 2004 Vol. 50, No. 8 1875


Table 1. Minimum Number of Sensors Solutions for the CSTR System
Case 1 Case 2
Node Name Cost q Alternative Bushan et al. Cost q
CA 100 X X 100
TS 0 X X X X X 0 X
TC 100 100
VT 100 100
Fc 100 X X X X X 1 X
F4 100 1
Tc 100 X X X X X 1 X
N 100 —
PS 0 X X X X X 0 X
PC 100 X X 100
VP 100 X 100
F ␯g 100 X 1 X
VS 0 X X X X X 0 X
VC 100 100
VL 100 100
F3 100 1
F2 100 1
F 100 X X X X X 1 X
Number of sensors 7 8 7

obtained are shown in Table 1, Case 1. A cross symbol (⫻) sufficient for fault detection and the estimation of the desired
indicates that the corresponding node should be measured. variables, although the sensors are different. Note that the
Table 1 also shows that an alternative arrangement of sensors simple superposition of solutions for fault detection and preci-
can be obtained using the same cost for all measurements. sion requires 7 and 10 sensors as minimum and maximum,
These four solutions are different from the one obtained by respectively. Table 3 illustrates that this synergism does not
Bhushan et al. (2000), which is also shown in Table 1. We also always reduce the number of sensors. Indeed, 9 sensors are
modified the problem costs (Case 2). For this last case we required to achieve both goals, whereas the superposition of
consider that the cost of measuring concentration is too high solutions requires 10 and 11 sensors as minimum and maxi-
and the node N (number of mol in gaseous phase) is unmea- mum, respectively.
surable, thus precluding it. Furthermore, we assign high costs
to the use of controllers and valves for detecting faults. Conclusions
A few observations are appropriate: An MILP formulation for the location of sensors for fault
● For this small example, we found four alternative solu-
detection was presented. The technique provides a very useful
tions that feature a minimum number of sensors (seven). tool to design and upgrade instrumentation networks for fault
● If costs are considered, fewer alternative solutions featur-
observability and resolution. This formulation of the problem
ing the same cost are likely, but one could expect to identify allows the introduction of cost as one more element of consid-
suboptimal solutions with costs close to the optimal. eration in the design of these systems.
● Some nodes are essential and will be part of all solutions,
Results show that the model can be used to identify alterna-
no matter what cost is assigned to measure them. This is the tive solutions. The example chosen is very revealing because it
case of Tc, Fc, and F. In the work of Bushan et al. (2000) node shows that many solutions with the same fault observability
Fc is the node where the sensor should be placed to observe all and resolution properties feature the same low number of
the faults (except control-loop failures) under the single-fault sensors. The use of the model also reveals that one can identify
assumption. For observability under the double-fault assump- solutions with a larger number of sensors, which could be of
tion (control loop–noncontrol-loop faults and noncontrol–non- interest for other reasons. Extensions of this work consist of the
control faults), node Tc has been selected to observe such pairs. addition of reliability and robustness constraints, the addition
Finally, node F is the node where the sensor should be placed of residual precision, and gross error robustness goals used for
for solving the single-fault resolution problem. monitoring of normal operations and the treatment of this
● Those faults that affect the same set of nodes are not
problem as a multiobjective case.
distinguished.
Next, the problem was run requiring only precision in key Acknowledgments
variables (␴CA ⫽ 2%, ␴T ⫽ 1%, and ␴F ⫽ 2%). For each
variable from the precision group (Fi, CAi, CA, T, Ti, Tc, Fc, Tci, Financial support from the National Science Foundation through Grant
CTS-0075814 and the University of Oklahoma for matching funds is
Fvg, F, F2, F3, F4) sensors of ␴1 ⫽ 1% are available at a cost gratefully acknowledged.
of 100. Consider also that for each node not considered in the Parts of this article were presented at the 4th IFAC Workshop on
precision problem the cost of locating a sensor is 100 (as in On-Line Fault Detection and Supervision in the Chemical Process Indus-
Case 1). The optimal set of sensors for this problem is shown tries (Bagajewicz and Fuxman, 2001).
in Table 2. The results for higher precision are shown in Table 3.
Consider first the case of Table 2. Although 7 sensors are Notation
enough for fault detection, the same number of sensors is A ⫽ maximum connectivity matrix

1876 August 2004 Vol. 50, No. 8 AIChE Journal


Table 2. Precision Required for CA, T, F*
Sensors for
Fault
Detection Precision after
Sensors for Fault and Precision Reconciliation
Node Detection Sensors for Precision (A) (B) (B)
Fi x x x 1%
C Ai x x x x 13.33%
CA x x x x x x x x x x x x x x 1%
TS x x x x x x x x x 1%
Ti 18.56%
Tc x x x x x 1%
Fc x x x x x 1%
T ci 10.94%
F ␯g x x x x x 25.05%
F x x x x x x x x 1%
F2 x x x 1%
F3 x x x 1%
F4 1%
TC
VT
N
PS x x x x x
VS x x x x x
PC x
VP
VC
VL

*Precision threshold ␴ *CA ⱕ 2%, ␴ *T ⱕ 1%, ␴ *F ⱕ 2%.

aj ⫽ column of matrix A PS ⫽ pressure sensor


B(q) ⫽ fault-sensor connectivity matrix qi ⫽ binary variable indicating weather a sensor is located (1) or not
bj ⫽ column of matrix B(q) (0)
ci ⫽ cost of sensor i Ri ⫽ fault i
D(q) ⫽ double-fault–sensor connectivity matrix Si ⫽ sensor that corresponds to variable i
djk ⫽ column of matrix D(q)
K ⫽ binary variable
MO ⫽ set of faults that one wants to be able to observe Greek letter
MS ⫽ set of faults that one wants to be able to observe and resolve
MS2 ⫽ set of all combinations of two faults that one wants to resolve ⍀ ⫽ upper bound (total number of sensors)

Table 3. Higher Precision Required for CA, T, F*


Sensors for
Fault
Sensors for Detection and Precision After Reconciliation
Node Sensors for Fault Detection Precision (A) Precision (B) (A)/(B)
Fi 0.923%, 0.923%/0.923%
C Ai x x x 0.658%, 0.658%/0.658%
CA x x x x 0.935%, 0.935%/0.935%
TS x x x x x 0.095%, 0.134%/0.056%
Ti —, —/16.729%
Tc x x x x x —, —/1%
Fc x x x x x —, —/1%
T ci —, —/8.23%
F ␯g x x x x 0.917%, 0.917%/0.916%
F x x x x x 0.923%, 0.923%/0.923%
F2 x 0.923%, 0.923%/0.923%
F3 x 0.923%, 0.923%/0.923%
F4 —, —/1%
TC
VT
N
PS x x x x x
VS x x x x x
PC x
VP
VC
VL

*Precision threshold ␴ *CA ⫽ ␴ *T ⫽ ␴ *F ⱕ 0.95%.

AIChE Journal August 2004 Vol. 50, No. 8 1877


Literature Cited Detection, Supervision and Safety for technical Process, June 13–15,
Espoo, Finland (1994).
Alhéritière, C., N. Thornhill, S. Fraser, and M. Knight, “Evaluation of the Narasimhan, S., and C. Jordache, Data Reconciliation and Gross Error
Contribution of Refinery Process Data to Performance Measures,” Detection. An Intelligent Use of Process Data, Gulf Publishing Com-
AIChE Annual Meeting, Los Angeles, CA (1997). pany, Houston, TX (2000).
Alhéritière, C., N. Thornhill, S. Fraser, and M. Knight, “Cost Benefit Raghuraj, R., M. Bhushan, and R. Rengaswamy, “Locating Sensors in
Analysis of Refinery Process Data: Case Study,” Comp. Chem. Eng., Complex Chemical Plants Based on Fault Diagnostic Observability
22(Suppl.), S1031 (1998a). Criteria,” AIChE J., 45(2), 310 (1999).
Alhéritière, C., N. Thornhill, S. Fraser, and M. Knight, “Cost Benefit Sánchez, M., and M. Bagajewicz, “On the Impact of Corrective Mainte-
Analysis of Process Data in Plant Performance Analysis,” AIChE An- nance in the Design of Sensor Networks,” Ind. Eng. Chem. Res., 39(4),
nual Meeting, Miami, FL (1998b). 977 (2000).
Ali, Y., and S. Narasimhan, “Sensor Network Design for Maximizing Sen, S., S. Narasimhan, and K. Deb, “Sensor Network Design of Linear
Reliability of Linear Processes,” AIChE J., 39(5), 2237 (1993). Processes using Genetic Algorithms,” Comput. Chem. Eng., 22(3), 385
Ali, Y., and S. Narasimhan, “Sensor Network Design for Maximizing (1998).
Reliability of Bilinear Processes,” AIChE J., 42(9), 2563 (1996). Viswanath A., and S. Narasimhan, “Multi-Obective Sensor Network De-
Bagajewicz, M., “Optimal Sensor Location in Process Plants,” AIChE J., sign Using Genetic Algorithms,” Proc. of 4th IFAC Workshop on
43(9), 2300 (1997). On-Line Fault Detection & Supervision in the Chemical Process Indus-
Bagajewicz, M., Design and Upgrade of Process Plant Instrumentation, tries, June 8 –9, Seoul, Korea (2001).
Technomic Publishers, Lancaster, PA (2000).
Bagajewicz, M., “Review of Recent Results in Instrumentation Design and
Upgrade for Process Plants,” Proc. of the 4th IFAC Workshop on
Appendix
On-Line Fault Detection & Supervision in the Chemical Process Indus- The CSTR given by Bushan at al. (2000a), involves an
tries, June 8 –9, Seoul, Korea (2001). exothermic liquid-phase reaction: A(l) 3 B(l) ⫹ C(g). The tem-
Bagajewicz, M., and E. Cabrera, “A New MILP Formulation for Instru-
mentation Network Design and Upgrade,” Proc. of the 4th IFAC Work-
perature controller controls the temperature of the reactor by
shop on On-Line Fault Detection and Supervision in the Chemical manipulating the flow rate of the coolant flowing through the
Process Industries, June 8 –9, Seoul, Korea (2001a). jacket. The level in the reactor is controlled by the level
Bagajewicz, M., and E. Cabrera, “A Multiobjective Approach for Instru- controlled by manipulating the outlet flow rate from the reac-
mentation Network Design and Upgrade,” Proc. of Enpromer 2001, 3rd tor. The pressure in the reactor is controlled by changing the
Mercosur Congress on Process Systems Engineering, Sep. 16 –20, Santa
Fe, Argentina (2001b). vent gas flow rate. Both the reactor and the jacket are modeled
Bagajewicz, M., and E. Cabrera, “A New MILP Formulation for Instru- with perfectly mixed-tank dynamics. The model equations are
mentation Network Design and Upgrade,” AIChE J., 48(10), 2271 as follows.
(2002). Global Mass Balance
Bagajewicz, M., and A. Fuxman, “An MILP Model for Cost Optimal
Instrumentation Network Design and Upgrade for Fault Detection,”
Proc. of the 4th IFAC Workshop on On-Line Fault Detection and dV
Supervision in the Chemical Process Industries, June 8 –9, Seoul, Korea
Fi ⫺ F ⫽ (A1)
dt
(2001).
Bagajewicz, M., and M. Sánchez, “Duality of Sensor Network Design
Models for Parameter Estimation,” AIChE J., 45(3), 661 (1999a). Component Mass Balance (CA)
Bagajewicz, M., and M. Sánchez, “Design and Upgrade of Non-Redundant
and Redundant Linear Sensor Networks,” AIChE J., 45(9), 1927 Fi dC A
(1999b). 共C Ai ⫺ C A兲 ⫺ r A ⫽ (A2)
Bagajewicz, M., and M. Sánchez, “Cost-Optimal Design of Reliable Sen- V dt
sor Networks,” Comput. Chem. Eng., 23(11/12), 1757 (2000a).
Bagajewicz, M., and M. Sánchez, “Reallocation and Upgrade of Instru- Overall Heat Balance on the Reactor. Result obtained
mentation in Process Plants,” Comput. Chem. Eng., 24(8), 1961 (2000b).
Bhushan, M., and R. Rengaswamy, “Design of Sensor Location Based on assuming constant heat capacities and densities:
Various Fault Diagnosis Observability and Reliability Criteria,” Com-
put. Chem. Eng., 24, 735 (2000a). Fi r A共⫺⌬H兲 UA共T ⫺ Tc 兲 dT
Bhushan, M., and R. Rengaswamy, “Design of Sensor Network Based on 共T ⫺ T兲 ⫹ ⫺ ⫽ (A3)
the Signed Directed Graph of the Process for Efficient Fault Diagnosis,” V i ␳Cp V␳Cp dt
Ind. Eng. Chem. Res., 39, 999 (2000b).
Bhushan, M., and R. Rengaswamy, “A Framework for Sensor Network Overall Heat Balance on the Jacket
Design for Efficient and Reliable Fault Diagnosis,” Proc. of the 4th
IFAC Workshop on On-Line Fault Detection and Supervision in the
Chemical Process Industries, June 8 –9, Seoul, Korea (2001). Fc UA共T ⫺ T c兲 dT c
共T ⫺ T c兲 ⫹ ⫽ (A4)
Glover, F., “Improved Linear Integer Programming Formulations of Non- V j ci V j␳ jC pj dt
linear Integer Problems,” Man. Sci., 22(4), 455 (1975).
Lambert, H. E., “Fault Trees for Locating Sensors in Process Systems,”
CEP, Aug., 81 (1977). Gas Phase Balance
Luong, M., D. Maquin, C. T. Huynh, and J. Ragot, “Observability, Re-
dundancy, Reliability and Integrated Design of Measurement Systems,” dn
Proc. of 2nd IFAC Symposium on Intelligent Components and Instru- r AV ⫺ F ␯g ⫽ (A5)
ment Control Applications, Budapest (1994). dt
Madron, F., Process Plant Performance, Measurement Data Processing
for Optimization and Retrofits, Ellis Horwood, West Sussex, UK (1992). Reaction Rate
Madron, F., and V. Veverka, “Optimal Selection of Measuring Points in
Complex Plants by Linear Models,” AIChE J., 38(2), 227 (1992).
Maquin, D., M. Luong, and J. Ragot, “Observability Analysis and Sensor r A ⫽ C dC Ak 0e ⫺E/RT (A6)
Placement,” SAFE PROCESS ’94 IFAC/IMACS Symposium on Fault

1878 August 2004 Vol. 50, No. 8 AIChE Journal


Table A1. Corresponding Nodes for Noncontrol Loop Faults Table A3. Values for the CSTR of Figure 2
C Ai Fi Ti T ci Cd U (Steady State/Constant)
Notation Variable Value
CA x x x
Tc x x x x x V Volume of reactor 48 ft3
Fc x x x x x x CA Reactant concentration in reactor 0.2345 lb 䡠 mol of A/ft3
F ␯g x x x T Reactor temperature 600°R
F x F Outlet flow rate 40 ft3/h
F2 x N No. of moles of vapor 28.3657 lb 䡠 mol
F3 x P Pressure in vapor space 2116.79 lb/ft2
F4 x x x x x x F ␯g Vent flow rate 10.6137 lb 䡠 mol/h
TC x x x x x x Fi Inlet feed flow rate 40 ft3/h
VT x x x x x x C Ai Inlet reactant concentration 0.5 lb 䡠 mol of A/ft3
N Tc Jacket temperature 590.51°R
PC x x x Fc Coolant flow rate 56.626 ft3/h
VP x x x Ti Inlet feed temperature 530°R
VC x Vj Volume of jacket 3.85 ft3
VL x k0 Frequency factor 7.08 ⫻ 1010 h⫺1
Cd Catalyst activity 1
E Activation energy 29900 btu/lb 䡠 mol
R Universal gas constant 1.99 btu/lb 䡠 mol °R
U Heat-transfer coefficient 150 btu/h ft2 °R
A Heat-transfer area 150 ft2
T ci Inlet coolant temperature 530°R
⌬H Heat of reaction ⫺30,000 btu/lb 䡠 mol
Cp Heat capacity (process side) 0.75 btu/lbm °R
C pj Heat capacity (coolant side) 1 btu/lbm °R
␳ Density of process mixture 50 lbm/ft3
␳j Density of coolant 62.3 lbm/ft3
Vg Volume of vapor space 16 ft3

Table A2. Corresponding Nodes for Control Loop Faults (Valve Failures)
CA i – CA i – CA i – T i– T i– T i– F i– F i– F i– T ci – T ci – T ci – C d– C d– C d– U– U– U–
VfL VfP VfT VfL VfP VfT VfL VfP VfT VfL VfP VfT VfL VfP VfT VfL VfP VfT
CA x x x x x x x x x x x x
Tc x x x x x x x x x x x x x x x
Fc x x x x x x x x x x x x
F ␯g x x x x x x x x x x x x
F x x
F2 x x
F3 x x
F4 x x x x x x x x x x x x
TC x x x x x x x x x x x x x x x x x x
VT x x x x x x x x x x x x
N x x x x x x x x x x
PC x x x x x x x x x x x x
VP x x x x x x x x x
VC x x x
VL x x
TS x x x x x x
PS x x x x
VS x

AIChE Journal August 2004 Vol. 50, No. 8 1879


Figure A1. DG diagram of the CSTR.

Elemental Mass Balances in Valves and Pumps. Assuming Using Eqs. A1 through A8, the DG diagram (Figure A1) is
no accumulation: generated. In this diagram, PfS, TfS, and VfS correspond to


sensor fault nodes and VfP, VfT, and VfL, to valve fault nodes.
F3 ⫺ F2 ⫽ 0 Table A1 shows the nodes for faults that do not correspond
F2 ⫺ F ⫽ 0 (A7) to the control loop. Table A2 shows the nodes for faults in the
F4 ⫺ Fc ⫽ 0 control loop (valve faults) associated with changes in CAi, Fi,
Pressure in the Reactor. Assuming ideal behavior: Ti, Tci, Cd, and U. The corresponding nodes for sensors failures
are omitted. For the single-fault resolution problem, faults in
PV g ⫽ nRT (A8) Table A1 are considered. For the double-fault resolution, faults
in Tables A1 and A2 are used.
where Vg is the vapor space and is assumed constant. The Jacobian (matrix ER in Eq. 16) is the following:

冋 册
⭸F共 x兲
⭸x x⫽x0

冤 冥
Fi C Ai CA T Ti Tc Fc T ci F ␯g F F2 F3 F4
⫺5.312E-3 ⫺0.8333 1.7763 9.2287E-3 0 0 0 0 0 0 0 0 0
1.4583 0 ⫺75440 5.9503 ⫺0.8333 ⫺125 0 0 0 0 0 0 0
0 0 0 ⫺93.8067 0 1085147 15.7169 ⫺14.708 0 0 0 0 0
⫽ 0 0 ⫺45.2612 ⫺0.443 0 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 0 0 ⫺1 0 0 0
0 0 0 0 0 0 0 0 0 0 1 ⫺1 0
0 0 0 0 0 0 0 0 0 1 ⫺1 0 0
0 0 0 0 0 0 ⫺1 0 0 0 0 0 1

Note that V, Vg, U, A, Cd, densities, and heat capacities are Manuscript received Aug. 7, 2001, and revision received Dec. 1, 2003.
considered constants. The values of the variables used in the
equations are shown in Table A3.

1880 August 2004 Vol. 50, No. 8 AIChE Journal

You might also like