8
Fault Detection, Isolation and Accommodation Using the Generalized Parity Vector Technique James H. Taylor Maira Omana ∗∗ University of New Brunswick, Fredericton, NB E3B 5A3 Canada (e-mail: [email protected]) ∗∗ University of New Brunswick, Fredericton, NB E3B 5A3 Canada (e-mail: [email protected]). Abstract: This paper extends the generalized parity vector approach for fault detection and isolation presented in Omana and Taylor [2], [3], [4], to achieve sensor accommodation. In this study, this fault detection, isolation and accommodation technique is applied to a two-phase separator followed by a three-phase gravity separator model used in oil production facilities. This model simulates a large scale process, which allows the technique to be tested on a high dimensional space with more complex system dynamics. The fault management strategy is significantly improved by implementing a fault-size estimation and classification technique using the gpv magnitude signature. This fault characterization is refined by incorporating a recursive fault size recalculation algorithm based on the sensor accommodation error. Two different methods for sensor accommodation and fault size recalculation are proposed to take into account the software and hardware configuration in the plant. 1. INTRODUCTION In real world processes, such as oil and gas facilities, continuous production is required to achieve productivity and profitability requirements. As a result, stopping a production line suddenly in the middle of a process, to fix or replace a faulty sensor, may result in significant economic losses. To avoid these unexpected interruptions in the plant operation, sensor accommodation must be integrated as part of the fault management strategy. This provides a temporary solution to keep the safe operation in the system, while maintenance can be scheduled without significantly disturbing the process. So far, the generalized parity vector (gpv) technique has been successfully tested for fault detection and isolation (fdi) using a second-order aircraft engine model [14], a third-order nonlinear model for a jacketed continuously stirred tank reactor (jcstr) [2], [3] and a fifth-order identi- fied state-space model for a gravity three-phase separation process [15], [4]. In this paper, the performance of new fault-size estimation, classification and sensor accommo- dation methods is evaluated using the same identified sep- arator model. This allows us to introduce a complete fault detection, isolation and accommodation (fdia) technique with only input-output data as available information. This paper is outlined as follows: First, a brief overview of stable factorization and its application to implement the generalized parity vector technique is given in sec- tion 2. Next, in section 3, sensor and actuator fdi using This project is supported by Atlantic Canada Opportunities Agency (ACOA) under the Atlantic Innovation Fund (AIF) program. The authors gratefully acknowledge the support and the collabora- tion of the Cape Breton University (CBU) and the College of the North Atlantic (CNA). directional residuals are defined [9], [10], [11]. Section 4 presents the gravity three-phase separation process [15]. The |GP V | signature is defined in section 5 for further use in fault-size estimation and classification in section 5.1. Two different methods for sensor accommodation are pre- sented in sections 5.2.1 and 5.2.2 to fit the hardware con- figuration of the plant. Correspondingly, two techniques for accommodation error computation and recursive fault- size recalculation are presented in sections 5.3.1 and 5.3.2. Finally, section 6 presents the fdia results obtained using the separator model described in [4] for two consecutive faults. 2. RESIDUAL GENERATION USING THE GENERALIZED PARITY VECTOR TECHNIQUE The residual generator is implemented using the gener- alized parity vector technique, which is developed in the stable factorization framework. The significance of using the stable coprime factorization approach is that the par- ity relations obtained involve stable, proper and rational transfer functions even for unstable plants. Therefore the realizability and stability of the residual generator is guar- anteed. Given any n × m proper rational transfer function matrix P(s), it can be expressed in terms of its left coprime factors as follows [12]: P (s)= ˜ D(s) 1 ˜ N (s) (1) where ˜ N(s ) and ˜ D(s) are called the left coprime factors and belong to the set of stable transfer function matrices. The gpv technique is based on the stable factorization of the system transfer function matrix in terms of its state- space representation. Let the system be described by the set of equations:

Fault Detection, Isolation and Accommodation Using the

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Fault Detection, Isolation and Accommodation Using the

Fault Detection, Isolation andAccommodation Using the Generalized

Parity Vector Technique �

James H. Taylor ∗ Maira Omana ∗∗

∗ University of New Brunswick, Fredericton, NB E3B 5A3 Canada(e-mail: [email protected])

∗∗ University of New Brunswick, Fredericton, NB E3B 5A3 Canada(e-mail: [email protected]).

Abstract: This paper extends the generalized parity vector approach for fault detection andisolation presented in Omana and Taylor [2], [3], [4], to achieve sensor accommodation. In thisstudy, this fault detection, isolation and accommodation technique is applied to a two-phaseseparator followed by a three-phase gravity separator model used in oil production facilities.This model simulates a large scale process, which allows the technique to be tested on ahigh dimensional space with more complex system dynamics. The fault management strategyis significantly improved by implementing a fault-size estimation and classification techniqueusing the gpv magnitude signature. This fault characterization is refined by incorporating arecursive fault size recalculation algorithm based on the sensor accommodation error. Twodifferent methods for sensor accommodation and fault size recalculation are proposed to takeinto account the software and hardware configuration in the plant.

1. INTRODUCTION

In real world processes, such as oil and gas facilities,continuous production is required to achieve productivityand profitability requirements. As a result, stopping aproduction line suddenly in the middle of a process, tofix or replace a faulty sensor, may result in significanteconomic losses. To avoid these unexpected interruptionsin the plant operation, sensor accommodation must beintegrated as part of the fault management strategy. Thisprovides a temporary solution to keep the safe operation inthe system, while maintenance can be scheduled withoutsignificantly disturbing the process.

So far, the generalized parity vector (gpv) technique hasbeen successfully tested for fault detection and isolation(fdi) using a second-order aircraft engine model [14], athird-order nonlinear model for a jacketed continuouslystirred tank reactor (jcstr) [2], [3] and a fifth-order identi-fied state-space model for a gravity three-phase separationprocess [15], [4]. In this paper, the performance of newfault-size estimation, classification and sensor accommo-dation methods is evaluated using the same identified sep-arator model. This allows us to introduce a complete faultdetection, isolation and accommodation (fdia) techniquewith only input-output data as available information.

This paper is outlined as follows: First, a brief overviewof stable factorization and its application to implementthe generalized parity vector technique is given in sec-tion 2. Next, in section 3, sensor and actuator fdi using� This project is supported by Atlantic Canada OpportunitiesAgency (ACOA) under the Atlantic Innovation Fund (AIF) program.The authors gratefully acknowledge the support and the collabora-tion of the Cape Breton University (CBU) and the College of theNorth Atlantic (CNA).

directional residuals are defined [9], [10], [11]. Section 4presents the gravity three-phase separation process [15].The |GPV | signature is defined in section 5 for furtheruse in fault-size estimation and classification in section 5.1.Two different methods for sensor accommodation are pre-sented in sections 5.2.1 and 5.2.2 to fit the hardware con-figuration of the plant. Correspondingly, two techniquesfor accommodation error computation and recursive fault-size recalculation are presented in sections 5.3.1 and 5.3.2.Finally, section 6 presents the fdia results obtained usingthe separator model described in [4] for two consecutivefaults.

2. RESIDUAL GENERATION USING THEGENERALIZED PARITY VECTOR TECHNIQUE

The residual generator is implemented using the gener-alized parity vector technique, which is developed in thestable factorization framework. The significance of usingthe stable coprime factorization approach is that the par-ity relations obtained involve stable, proper and rationaltransfer functions even for unstable plants. Therefore therealizability and stability of the residual generator is guar-anteed. Given any n×m proper rational transfer functionmatrix P(s), it can be expressed in terms of its left coprimefactors as follows [12]:

P (s) = D(s)−1N(s) (1)

where N(s) and D(s) are called the left coprime factorsand belong to the set of stable transfer function matrices.The gpv technique is based on the stable factorization ofthe system transfer function matrix in terms of its state-space representation. Let the system be described by theset of equations:

Page 2: Fault Detection, Isolation and Accommodation Using the

x(t) = Ax(t) + Bu(t) (2)

y(t) = Cx(t) + Eu(t) (3)where x, u, and y represent the state variables, inputs,and outputs of the system, respectively. Assuming that thepairs (A, B) and (A, C) are stabilizable and detectable, itis possible to select a constant matrix F with appropriatedimensions, such that the matrix Ao � A − FC is stable.If C is the identity matrix, F = σI + A is a convenientchoice, where σ is a tuning parameter to be chosen basedon the process poles. Using the definition of the coprimefactorization of P(s) in [13], the left coprime factors aregiven by:

N = C(sI − Ao)−1(B − FE) + E (4)

D = I − C(sI − Ao)−1F (5)Based on the definition of the transfer function matrix P(s)given in (1) and taking the relationship among the desiredcontrol input, ud, and the actual output of the sensors, y,the following relations are obtained:

P (s) = D(s)−1N(s) = y(s)ud(s)−1 (6)

D(s)y(s) − N(s)ud(s) = 0 (7)Under ideal conditions, when the plant is linear, noiseand fault free, equation (7) holds. However, when a faulthappens, this relation is violated showing the inconsistencybetween the actuator inputs and sensor outputs with re-spect to the unfailed model. Using this fact, the generalizedparity vector, p(s), is defined as:

p(s) = Tr [ D(s)y(s) − N(s)ud(s) ] (8)The gpv p(s) is the Laplace transformed version of atime varying function of small magnitude under normaloperating conditions, due to the presence of noise andmodeling errors arising from linearization and order reduc-tion. However, it exhibits a significant magnitude changewhen a fault occurs. Each distinct failure produces a parityvector with different characteristics, allowing the use of thegpv for isolation purposes. A static transformation matrixTr is introduced to facilitate fdi [4], [14].

3. FAULT DETECTION AND ISOLATION USINGDIRECTIONAL RESIDUALS

The basic idea of fdi using failure directions is that eachfailure will result in activity of the parity vector along acertain axis or in a certain subspace. Depending on thedynamics of the system, some of these reference directionsmay be close or identical, making the isolation for somefaults difficult or unachievable. To overcome the angleseparation problem between the reference directions, thecalculation of an optimal transformation matrix Tr wasintroduced in [2]. The transformation matrix Tr in equa-tion (8) plays an important role in fdi using directionalresiduals. It is desirable to choose Tr to increase the sepa-ration angle between the original set of reference directionsand reference hyperplanes as much as possible, to enhancerobustness and maximize the number of faults that canbe isolated and the number of disturbances that can bedecoupled, beyond the number of outputs of the system[10]. The optimization of Tr to maximize the isolability ofthis approach is described fully in [2], [3], [4].

3.1 Actuator Faults

Assuming an additive fault aj(t) in the jth actuator andusing the definitions and choice of Ao in section 2, the gpvbecomes:

pa,j(s) = −(TrN)jaj(s) � TrBjn

aj(s)s + σ

(9)

Equation (9) shows that pa,j(s) is restricted to exhibitactivity along the direction defined by the jth column ofN, which we denote Bj

n [14]. Actuator fault isolation is thusbased on the angle Θj between the gpv and the directionBj

n in the generalized parity space. If the jth actuator isfaulty, this angle should be zero in the ideal case or closeto zero if we take into account model uncertainty, noiseand/or unknown disturbances. Thus isolation is based onfinding the k that minimizes (Θj - Bk

n) for the jth fault.

3.2 Sensor faults

Similarly, for an additive fault si(t) in the ith sensor theparity vector in (8) reduces to:

ps,i(s) = (TrD)isi(s) � Tr

[Ei

d +Bi

d

s + σ

]si(s) (10)

Thus, for the sensor failure case, it is not possible to confineps,i(s) to lie in a fixed direction. Only for fortuitous cases,depending on the dynamics of the system, can this beachieved. However, for any system, the gpv always lies ona hyperplane in the generalized parity space, defined by thevectors Ei

d and Bid [14]. Thus isolation is based on finding

the k that minimizes (Θi - SP k) for the ith fault. Notethat a static gpv algorithm may be obtained by settings=0 in this development. Results in this presentation areobtained using the static gpv approach; the use of adynamic technique is under study.

4. GRAVITY THREE-PHASE SEPARATIONPROCESS DESCRIPTION

Three-phase separators are designed to separate and re-move the free water from the mixture of crude oil andwater. The fluid enters the separator and hits an inletdiverter. This sudden change in momentum produces theinitial gross separation of liquid and vapor. In most de-signs, the inlet diverter contains a downcomer that directsthe liquid flow below the oil/water interface. This forcesthe inlet mixture of oil and water to mix with the watercontinuous phase (i.e., aqueous phase) in the bottom ofthe vessel and rise to the oil/water interface. This processis called water-washing, and it promotes the coalescenceof water droplets which are entrained in the oil continuousphase. The inlet diverter assures that little gas is carriedwith the liquid. The water wash assures that the liquiddoes not fall on top of the gas/oil or oil/water interface,mixing the liquid retained in the vessel and making controlof the oil/water interface difficult.

The gas flows over the inlet diverter and then horizontallythrough the gravity settling section above the liquid. Asthe gas flows through this section, small drops of liquidthat were entrained in the gas and not separated by theinlet diverter are separated out by gravity and fall to thegas-liquid interface. Some of the drops are of such a small

Page 3: Fault Detection, Isolation and Accommodation Using the

diameter that they are not easily separated in the gravitysettling section. Before the gas leaves the vessel it passesthrough a coalescing section or mist extractor to coalesceand remove them before the gas leaves the vessel.

The simulation model basically consists of two processes,as illustrated in figure 1. The first is a two-phase separatorin which hydrocarbon fluids from oil wells are separatedinto two phases to remove as much light hydrocarbongases as possible. The produced liquid is then pumped tothe three-phase separator (i.e., the second process), wherewater and solids are separated from oil. The produced oil isthen pumped out and sold to refineries and petrochemicalplants if it meets the required specifications.

Fig. 1. Gravity three-phase separator process

The two separation processes of the simulation modelare controlled to maintain the operating point at itsnominal value, and to minimize the effect of disturbanceson the produced oil’s quality. As shown in figure 1, thefirst separation process is controlled by two PI controllerloops. In the first loop, the liquid level is maintained bymanipulating the liquid outflow valve. The second loopis to control the pressure inside the two-phase separatorby manipulating the amount of the gas discharge. Thesecond separation process has three PI controller loops.An interface level PI controller maintains the height of theoil/water interface by manipulating the water dump valve.While the oil level is controlled by the second PI controllerthrough the oil discharge valve, the vessel pressure ismaintained constant by the third PI loop [5].

5. GPV MAGNITUDE SIGNATURE

So far, the Generalized Parity Vector magnitude, |GPV |,has been used only for fault detection purposes. However,it is possible to characterize a |GPV | signature for fault-size estimation and classification for further use in sensoraccommodation. The |GPV | signature is defined by itsslope change right after the fault is applied, its peak value,|GPV |peak and its steady state value, |GPV |ss.

5.1 Fault-size estimation and classification

The block diagram shown in Fig. 2 summarizes the faultdetection, isolation and accommodation (fdia) processusing the Generalized Parity Vector technique. If there isno model available or there has been a setpoint change,the identification module is executed using the reconciledinputs-outputs measurements sent by the data reconcilia-tion agent [6], [1] 1 .1 The use of a data reconciliation agent as a preprocessor justifiesthe assumption that the data for fdia is noise free.

Residual Generator

Decision Maker

SS model

N~

,D~

GPV,GPV

Reco

ncile

dIn

puts

-Out

puts

m

easu

rem

ents

Diagnosis

Diagnosis

Accommodation is not possible

no

Fsize, Ftype

Accommodation in progress

Recursive Fsize

Recalculation Is not required

no

Fsize , error

FDIA AGENT

Transformation Matrix

Calculation

Left Coprime Factors

Calculation

rT

yes

no

SU

PE

RV

IS

OR

Y S

YS

TE

M

PRBS required

Recursive Fsize

Recalculation In progress

DA

TA

RE

CO

NC

IL

IA

TIO

N

AG

EN

T

Setpoint (SP)

Tr calculation in progress

Optimization finished

SID AGENT

Sensor fixed

Fault ?

Fault Size Estimation and

Classification

Sensor Accommodation

Fsize , Ftype

error

yes

Recursive Fault Size

Recalculation

Ftype = Ramp

yes

Diagnosis=Sensor Fault

Sensor Fixed ?no

yes

yes

no

Sensor fixed

SP change > x% or no current model

Fig. 2. FDIA block diagram

Then, the corresponding left coprime factors are calculatedusing the identified state-space (ss) representation. Oncethe left coprime factors are calculated, the gpv magnitudeand angles are computed by the residual generator for eachinput-output set at every sample. Then, the decision makerblock provides a detection and isolation decision based onthe |GPV | and the ∠GPVmin. If the magnitude thresholdis exceeded, a fault is detected at t= tfault and isolatedbased on ∠GPVmin. Also, if the |GPV | slope change att=tfault is larger than a predetermined slope threshold, thefdi algorithm classifies the fault as bias type, otherwise a

Page 4: Fault Detection, Isolation and Accommodation Using the

ramp type is declared. Once the detection, isolation andclassification steps are performed, the algorithm proceedsto estimate the fault size, Fsize, if the isolated faultcorresponds to one of the sensors. For the actuator faultcase, there is no purpose in calculating Fsize, since it is notpossible to perform accommodation. If a valve is stuck, itcannot be compensated and must be repaired as soon aspossible to avoid further damage in the plant.

For the bias case, the fault size is calculated based onthe |GPV |peak. Conversely, for the ramp case, Fsize iscomputed using the |GPV |ss value. In both cases, differ-ent fault-size scenarios are simulated to obtain the corre-sponding |GPV |peak vs. Fsize or |GPV |ss vs. Fsize pairs.Using these sets of data, the best fitting is calculated foreach case, providing an equation for Fsize as a functionof |GPV |peak or |GPV |ss, depending on the fault typedeclared previously. While for the bias case the fault-sizeestimation and classification problem may seem trivial dueto the ability to acquire and manipulate simulation data,that is not the case when we are dealing with an actualprocess. In a real plant, there are limitations on how smallthe sampling time can be and also, on the amount ofdata that the supervisory system can send to the fdiagent without overloading the network. For our specificapplication, a wireless sensor network agent manages realtime communications between the control room and theoffshore oil facility. For further information on the Petro-leum Application of Wireless Systems (PAWS) project see[5]. Therefore, the frequency of the data set received inthe control room is also restricted by the wireless networkspecifications.

Figures 3 and 4 show the simulation results using theidentified separator model described in [4] for a +15% biasfault applied to the treator vapor pressure sensor (F5).We observe in Fig. 3 that the gpv angle correspondingto fault 5 is the smallest, giving a clear isolation. We alsonote that this fault is not accommodated in this scenario.To illustrate the infeasibility of using the faulty sensormeasurement for fault size estimation and classification,we set the fault to happen at t=100 sec, which is betweentwo sampling intervals. Since the sampling period in thissimulation is 0.75 sec, the last pressure reading availablebefore the fault occurs is at t=99.75 sec. In Fig. 3, it isobserved that the pressure measurements change rapidlyduring the first 0.9 sec after the fault happened. Thisbehavior was expected, due to the fast dynamic nature ofthe pressure and the appropriate controller action. Fromprevious simulations results it was established that it isonly possible to accurately estimate the fault size for asampling time of 0.3 sec, since the first reading after thefault occurs is 230 psi at t=100.2 sec. Conversely, if thesampling period is 0.75 sec, the first pressure readingavailable after the fault was applied is 202.8 psi at t=100.5sec, giving a wrong fault-size estimation of 1.4% which hasa 90.67% error. This also affects the fault classification,since the slope change may not be large enough to exceedthe specified threshold to declare a bias fault.

Let us assume that the same sampling time of 0.75 secis used to estimate the fault size and type using the|GPV | signature method proposed above. From Fig. 4 itis observed that the |GPV | at t=100.5 sec is still 994.6times larger than the fault free |GPV |ff at t=99.75 sec.

0 100 200 30077.4851

77.4852

77.4852

77.4853

77.4853

77.4854

Time (sec)

Vtr

ea

t−w

at (f

t3)

Treator water volume & its setpoint

0 100 200 300

17.626

17.626

17.626

17.626

17.626

Time (sec)F

out tr

ea

t−w

at (m

ole

s/s

ec)

Treator water outflow

0 200 40046.35

46.4

46.45

46.5

46.55

46.6

Time (sec)

Vtr

ea

t−o

il (

ft3)

Treator oil volume & its setpoint

0 200 4001.99

1.995

2

2.005

2.01

Time (sec)

Fout tr

ea

t−o

il (

mole

s/s

ec)

Treator oil outflow

100 110 120170

180

190

200

210

Time (sec)

Ptr

ea

t−va

p (

PS

I)

Treator vapor pressure & its setpoint

0 100 200 300

0.65

0.7

0.75

0.8

Time (sec)

Fout tr

ea

t−va

p (

mole

s/s

ec)

Treator vapor outflow

___ Sensor measurement− . − Actual value

Fig. 3. Treator time histories

This sharp slope change allows the classification of thisfault as bias type and makes it possible to use the |GPV |value at t=100.5 sec as |GPV |peak for Fsize = 15%,during the offline curve fitting procedure to obtain theFsize vs. |GPV |peak function. After the fault size and typeare defined, the accommodation block is implemented asdescribed in section 5.2.

95 100 105 110 115 120

0

0.5

1

X: 99.75Y: 0.001107

X: 100.5Y: 1.101

GPV magnitude

0 50 100 150 200 250 3000

20

40

60

80

degr

ees

Sensor Failure Angles

0 50 100 150 200 250 3000

20

40

60

80

Time (sec)

degr

ees

Actuator Failure Angles

F6F7F8F9F10

F1F2F3F4F5

Fig. 4. |GPV | and ∠GPV , fault F5

5.2 Sensor accommodation

To avoid significant economic losses due to sudden inter-ruptions in the plant operation, sensor accommodationis integrated as part of the fault management strategy.

Page 5: Fault Detection, Isolation and Accommodation Using the

This increases the system reliability and safety, extendsuseful life, minimizes maintenance and maximizes perfor-mance. Sensor fault accommodation is implemented afterthe fault-size estimation and classification block is exe-cuted, as depicted in Fig. 2. Depending on the controlsystem hardware and software configuration, two differentmethods can be implemented to compensate a sensor fault:

Method 1: Sensor reading correction The sensor readingcorrection method can be implemented on any plant withsoftware controllers and some with hardware ones, if thesensor outputs can be manipulated before they are sentto the controller. Although it takes some time to estimatethe fault type and size before starting the accommodation,this method is still capable of driving the system back tonormal operation. The advantage of this method is thatonce the accommodation starts, it directly corrects themeasurement before it is sent to the controller, providinga faster accommodation than method 2.

The basic idea is to correct the measured variable Ymeas atevery time sample tk, by the relative fault size estimatedfor the bias case Fsize.bias (in %/100) and/or the estimatedrelative value for the ramp case, Fsize.ramp (in %/100 sec),using the corresponding mathematical relations given in(11); this takes into account the effect of both type of faultsin the event that a ramp fault happens after the earlierbias fault is isolated and accommodated. The fault signis obtained from the faulty variable measurement changearound its setpoint, right after the fault is detected, andit is included in Fsize.

Ymeas.corr =

⎧⎪⎨⎪⎩

Ymeas × u(tk − tf1)Fsize.bias + 1

Fsize.ramp × (tk − tf2)

(11)

where u(t) is the unit step function and tf1 and tf2 arethe times at which faults 1 and 2 were detected.

Method 2: Setpoint manipulation Sensor accommoda-tion using setpoint manipulation is proposed as an al-ternative for those installations where the sensor outputsare directly wired to a physical controller. Given that thesensor output cannot be accessed for correction, the faultis accommodated by manipulating the original variable’ssetpoint, Ysp.orig. At every sample time tk, a relative deltasetpoint ∆Ysp is calculated with the fault size estimated forthe bias case Fsize.bias (in %/100) and/or estimated for theramp case Fsize.ramp (in %/100 sec), using the mathemat-ical relation in (12), taking into account the effect of bothtypes of faults in a situation where a second fault happensafter the first one is isolated and accommodated. Theaccommodated setpoint value Ysp.acc is calculated using(13).

∆Ysp =

{Fsize.ramp × (tk − tf2)

Fsize.bias × u(tk − tf1)(12)

Ysp.acc = (1 + ∆Ysp) × Ysp.orig (13)

Since this accommodation technique manipulates the set-point, its performance depends on how fast the systemresponds to the control actions. Thus, for variables withslow dynamics, the accommodation process takes longer tocompletely accommodate the fault due to the large settling

time. Although the sensor output cannot be manipulatedbefore being sent to the controller, it is still possible to cor-rect this measurement only for gpv calculation purposes,using (11). By using Ymeas.corr instead of y in (8), thegpv is compensated as well, which permits showing theaccommodation behavior in the fdi operator panel. Thus,when the system is completely accommodated, the |GPV |returns to its fault free value, showing that the fault hasvanished (Fault # 0), refer to Fig. 8.

5.3 Recursive Fault-Size Recalculation

The fault-size estimation methods presented in section 5.1for bias and ramp faults produce very accurate resultsfor both cases. However, since the ramp fault increasesits magnitude as time progresses, it requires an estimationerror less than 0.001% to provide a correct accommodationduring a long period of time. Otherwise, as the timepasses, the estimation error is amplified by the factor(tk − tfault), making the accommodation incorrect. Toovercome this limitation, a recursive fault-size estimationis implemented for each of the methods presented insection 5.2, by calculating the delta of fault-size estimationerror, ∆error. It should be noticed that the recursive faultsize recalculation cannot start until the accommodationapplied using the first Fsize.ramp reaches its steady statevalue at t = tacc.ss. This allows obtaining a ∆error

caused by the fault-size estimation error, and not by theaccommodation transient.

Equations (14) and (16) show the ∆error calculationusing only available information, such as the fault timetfault, the variable’s setpoint, Ysp, the faulty measurement,Ymeas, the sampling time, h, and the fault-size estimate,Fsize.ramp at the current sample time tk and the previoussample time tk−1. Using the calculated value for ∆error,the new Fsize.ramp at time tk can be recursively calculatedusing (15) and (17), for methods 1 and 2 respectively. Notethat the recursive fault-size estimation is updated onlyat long time intervals; the control loop operates normallybetween those times.

∆error calculation for Method 1:

∆error(tk) =Ysp − Ymeas(tk)

tk − tfault× u(tk − tacc.ss) (14)

Fsize.ramp(tk) = [Fsize.ramp(tk−1) + ∆error(tk)] ×u(tk − tacc.ss) (15)

∆error calculation for Method 2:

∆error(tk) = [Ysp.orig − Ymeas(tk) + Fsize.ramp(tk−1)

×(tk − h − tfault)] × u(tk − tacc.ss) (16)

Fsize.ramp(tk) =±|Ymeas(tk) − Ysp.orig − ∆error(tk−1)tk − tfault

|×u(tk − tacc.ss + h) (17)

As illustrated in Fig. 2, the iterative fault-size recalculationis performed while the sensor is not fixed.

Page 6: Fault Detection, Isolation and Accommodation Using the

6. FAULT DETECTION, ISOLATION ANDACCOMMODATION RESULTS

Using the identified linearized 10th order state-space modeldiscussed in [4], fault detection, isolation and accommoda-tion is performed using the gpv technique and the sensorreading correction method presented in section 5.2.1. Thesimulation scenario illustrated in Figs. 5 to 10 is describedas follows: At t=100 sec, a +14.37%/minute ramp fault isapplied to the separator liquid volume sensor (F1) whichis repaired or replaced later, at about t=2300 sec. Thiswas simulated as a reset signal sent by the supervisorysystem at that time; this behavior is shown on the fdiagraphical user interface (gui) in Fig. 8. This is followed bya -11.62%/minute ramp fault applied to the treator watervolume sensor (F3) at t=3000 sec, which is accommodatedbut not fixed during the simulation time; resulting signalsare portrayed in Fig. 6, and again, the operator observesthis on the fdia gui.

0 1000 2000 3000 40000

50

100

150

200

Time (sec)

Vse

p−

liq (

ft3)

Separator liquid volume & its setpoint

0 1000 2000 3000 400010

15

20

25

Time (sec)

Fout s

ep

−liq (

mole

s/s

ec) Separator liquid outflow

0 1000 2000 3000 4000600

620

640

660

Time (sec)

Pse

p−

va

p (

PS

I)

Separator vapor pressure & its setpoint

0 1000 2000 3000 4000

5

5.2

5.4

5.6

Time (sec)

Fout s

ep

−va

p (

mole

s/s

ec) Separator vapor outflow

0 500 1000 1500 2000 2500 3000 3500 400031.4

31.6

31.8

32

Time (sec)

SG

se

p−

AP

I (o

AP

I)

Separator liquid API gravity

___ Sensor measurement_._ . Actual value

Fig. 5. Separator time histories

In Fig. 5 it is observed that the separator liquid vol-ume measurement completed its accommodation approx-imately 900 sec after the fault was applied. This wasexpected from its slow dynamics, which is reflected inthe gpv behavior. Figure 7 shows that the |GPV |ss isnot reached until approximately t=520 sec. Therefore,Fsize.ramp is estimated for the first time at t=521.2 sec,since the |GPV |ss is required to evaluate the fitting equa-tions to compute Fsize.ramp, as presented in section 5.1.Once the accommodation started at t=521.2 sec, we waituntil the process variables and the |GPV | reach steadystate around t=950 sec to start calculating ∆error. If thecomputed ∆error is becoming excessive, Fsize.ramp will berecalculated once in a while to give a better estimate.After the accommodation has been performed for around500 sec, the |GPV | decreases rapidly towards its |GPV |ff

value, which is the criteria to declare a total fault compen-sation. This is illustrated in the operator panel in Fig. 8:

0 2000 400065

70

75

80

85

90

95

Time (sec)

Vtr

eat−

wat (f

t3)

Treator water volume & its setpoint

0 2000 400010

15

20

25

Time (sec)

Fout t

reat−

wat (m

ole

s/s

ec)

Treator water outflow

0 2000 400040

42

44

46

48

Time (sec)

Vtr

eat−

oil (

ft3)

Treator oil volume & its setpoint

0 2000 4000

1.4

1.6

1.8

2

2.2

Time (sec)

Fout t

reat−

oil (

mole

s/s

ec)

Treator oil outflow

0 2000 4000180

185

190

195

200

205

Time (sec)

Ptr

eat−

vap (

PS

I)

Treator vapor pressure & its setpoint

0 2000 4000

0.4

0.5

0.6

0.7

0.8

Time (sec)

Fout t

reat−

vap (

mole

s/s

ec)

Treator vapor outflow

___ Sensor measurement_._. Actual value

Fig. 6. Treator time histories

0 500 1000 1500 2000 2500 3000 3500 40000

2

4

6

8 GPV magnitude

0 500 1000 1500 2000 2500 3000 3500 40000

20

40

60

80

degr

ees

Sensor Failure Angles

F1F2F3F4F5

0 500 1000 1500 2000 2500 3000 3500 40000

20

40

60

80

Time (sec)

degr

ees

Actuator Failure Angles

F6F7F8F9F10

Fig. 7. |GPV | and ∠GPV

From 0 sec to 100 sec, fault #0 is displayed, which corre-sponds to the fault free case. After the fault happened att=100 sec, there were 20 sec of unknown abnormal behav-ior represented by fault #-1 in the operator panel. Duringthis period isolation was not possible due to the transientaffecting the gpv angles. However, once the transient isfinished, the identified fault is correctly displayed in Fig.8 after t=120 sec. When the |GPV | < Th around t=1000sec, faults #0 and #1 are displayed (primarily fault #0),indicating that the fault was successfully accommodated,but still, the sensor needs to be fixed or replaced. Atabout t=2300 sec, the reset signal notifying that the sensor

Page 7: Fault Detection, Isolation and Accommodation Using the

0 500 1000 1500 2000 2500 3000 3500 4000−1

0

1

2

3

4

5

6

7

8

9

10

FDI results: +14.402%/minute Ramp fault detected at t=100.35 sec and fixed at t=2299.95 sec followed by−11.56%/minute Ramp fault at t=3000.3 sec

Time (sec)

Fa

ult

#

Fig. 8. fdi results

0 500 1000 1500 2000 2500 3000 3500 4000

−0.14

−0.12

−0.1

−0.08

−0.06

−0.04

−0.02

0

0.02

X: 953.5Y: −0.03873

Time (sec)

X: 2300Y: 0

X: 1313Y: −1.522e−007

X: 951Y: 0

X: 3159Y: 0

X: 3171Y: −0.1473

X: 3857Y: 5.775e−008

∆e

rro

r

Fig. 9. Delta of fault size estimation error, ∆error, usingmethod 1

problem has been solved is received from the supervisorysystem. As a result, the operator panel stops displayingfault #1 and remains showing fault #0 until the secondfault is detected. This reset signal also produces a transientof approximately 200 sec in ∆error starting at t=2300 sec,when the accommodation stops compensating the wrongmeasurement and the fixed sensor takes place instead.

At t=3000 sec, the |GPV | increases significantly again,due to the treator water volume sensor fault F3 applied atthat time. This is shown in the operator panel as fault #3.

0 500 1000 1500 2000 2500 3000 3500 400011

11.5

12

12.5

13

13.5

14

14.5

X: 521.2Y: 14.36

Fault s

ize (

%/m

inute

)Time (sec)

X: 953.5Y: 14.37

X: 1313Y: 14.4

X: 2300Y: 14.4

X: 3096Y: 12.35

X: 3171Y: 11.93

X: 3857Y: 11.56

Fig. 10. Recursive fault size recalculation using method 1

It is observed in Fig. 7 that the |GPV |ss is reached fasterthan for the separator liquid volume sensor case, due to thetreator’s faster dynamics. Therefore, the first fault size isestimated at t=3096 sec and accommodation is performedsince then. When the process variables and |GPV | reachsteady state around t=3160 sec, ∆error calculation startsand the fault size is recursively recalculated if ∆error

becomes excessive. Total accommodation is achieve only210 sec after the fault happens. This is shown as fault #0and #3 in Fig. 8, from t=3210 sec until the end of thesimulation. This indicates that sensor 3 is still faulty butthe fault has been successfully accommodated.

Figures 9 and 10 show the ∆error and recursive fault-sizerecalculation using equations (14) and (15) respectively.It is observed that ∆error decreases with time as thefault size is recalculated. Since it is not possible to obtain100% accuracy on Fsize estimation, the recalculated faultsize exhibits small oscillations around the actual value inaccordance with the variations in ∆error.

7. CONCLUSION

A complete fault detection, isolation and accommodationtechnique using the gpv approach has been successfullytested on a large-scale industrial process model in theabsence of an a-priori mathematical model. The |GPV |signature concept has been defined and exploited to im-plement a fault-size estimation and classification algo-rithm. Sensor bias faults are directly accommodated; sen-sor ramp-fault accommodation has been accomplished byintegrating a recursive fault-size recalculation algorithmbased on the accommodation error. Two different algo-rithms taking into account the software and hardware im-plementations in the plant have been effectively developedfor sensor-ramp faults and bias compensation.

Page 8: Fault Detection, Isolation and Accommodation Using the

REFERENCES

[1] M. Laylabadi and J. H. Taylor. ANDDR with novelgross error detection and smart tracking system.Proc. 12th IFAC Symposium on Information ControlProblems in Manufacturing (INCOM2006). Saint-Etienne, France, 2006.

[2] M. Omana and J. H. Taylor. Robust fault detectionand isolation using a parity equation implementa-tion of directional residuals. Proc. IEEE AdvancedProcess Control Applications for Industry Workshop(APC2005). Vancouver, Canada, 2005.

[3] M. Omana and J. H. Taylor. Enhanced sen-sor/actuator resolution and robustness analysis forfdi using the extended generalized parity vector tech-nique. Proc. American Control Conference. Min-neapolis, MN, 2006.

[4] M. Omana and J. H. Taylor. Fault detection andisolation using the generalized parity vector techniquein the absence of an a priori mathematical model.IEEE Conference on Control Applications. Singapore,2007.

[5] A. Sayda and J. H. Taylor. An implementation planfor integrated control and asset management of petro-leum production facilities. Proc. IEEE InternationalSymposium on Intelligent Control. Munich, Germany,2006.

[6] J. H. Taylor and M. Laylabadi. A novel adaptivenonlinear dynamic data reconciliation and gross errordetection method. Proc. IEEE Conference on ControlApplications (CCA2006). Munich, Germany, 2006.

[7] V. Venkatasubramanian and R. Rengaswamy and K.Yin and S. N. Kavuri. A review of process faultdetection and diagnosis, part III: Process historybased methods. Computers and chemical engineering,volume 27, pages 327–346, 2003.

[8] V. Venkatasubramanian and R. Rengaswamy and K.Yin and S. N. Kavuri. A review of process faultdetection and diagnosis, part I: Quantitative model-based methods. Computers and chemical engineering,volume 27, pages 293–311, 2003.

[9] F. Hamelin and D. Sauter and M. Aubrun. Faultdiagnosis in systems using directional residuals. Pro-ceedings on the 33rd IEEE Conference on Decisionand Control, 1994.

[10] J. J. Gertler and R. Monajemy. Generating direc-tional residuals with dynamic parity relations. Auto-matica, volumen 31, no. 4, pages 627–635, 1995.

[11] J. J. Gertler. Fault detection and diagnosis in engi-neering systems. Marcel Dekker, Inc., 1998.

[12] P. J. Antsaklis. Proper stable transfer matrix fac-torization and internal system descriptions. IEEETransactions on automatic control, volume AC-31,no. 7, pages 634–638, 1986.

[13] M. Vidyasagar. Control system synthesis: A factor-ization approach. The MIT press, 1985.

[14] N. Viswanadham and J. H. Taylor and E. C. Luce. Afrequency domain approach to failure detection andisolation with application to GE-21 turbine enginecontrol systems. Control-Theory and advanced tech-nology, volume 3, no. 1, pages 45–72, 1987.

[15] A. F. Sayda and J. H. Taylor. Modeling and controlof three-phase gravity separators in oil productionfacilities. Proc. American Control Conference, New

York, NY, 2007.[16] Y. Zhu. Multivariable system identification for

process control, Pergamon, 2001.[17] E. Y. Chow and A. S. Willsky. Analytical redundancy

and the design of robust failure detection systems.IEEE Transactions on automatic control, volume AC-29, no. 7, pages 603–614, 1984.

[18] J. J. Gertler. Fault detection and isolation usingparity relations. Control Eng. Practice, volume 5, no.5, pages 653–661, 1997.

[19] J. J. Gertler. Survey of model-based failure detec-tion and isolation in complex plants. IEEE ControlSystems Magazine, volume 8, no. 4, pages 3–11, 1988.

[20] A. S. Willsky. A survey of design methods forfailure detection in dynamic systems. Automatica,volume 12, no. 6, pages 601–611, 1984.

[21] J. J. Gertler and D. Singer. A new structuralframework for parity equation-based failure detectionand isolation. Automatica, volume 26, no. 2, pages381–388, 1990.