31
Basics Of Process Fault Detection And Diagnostics By-Rahul Dey EE14MTECH11033 1

Basics of process fault detection and diagnostics

Embed Size (px)

Citation preview

Page 1: Basics of process fault detection and diagnostics

Basics Of Process Fault Detection And Diagnostics

By-Rahul Dey

EE14MTECH110331

Page 2: Basics of process fault detection and diagnostics

Fault Detection β€’ Previously it was known as Fault Detection

Isolation and Recovery(FDIR).

β€’ Fault is defined as an abnormal condition or defect at the component equipment or sub-level which may lead to failure [ISO/CD 10303-226]

β€’ In simple words,it is a branch of control engineering ,which deals with monitoring a system,identifying when a fault has occurred and to locate the fault is known as fault detection

2Soure:wikipedia

Page 3: Basics of process fault detection and diagnostics

Difference Between Detection & Diagnosis

β€’ DetectionIt is the action or process of identifying the process of something hidden

β€’ DiagnosisThe identification of the nature of the problem by examination of the symptoms

β€’ Detection + Isolation = Diagnosis3

Page 4: Basics of process fault detection and diagnostics

Abnormal Event Management(AEM)

β€’ AEM involves the timely detection of an abnormal event ,diagnosing its causal origin & then taking supervisory control decision and action to bring back the process to a normal safe operating state

β€’ An abnormal event could arise from the departure of an observed variable from the acceptable range

4

Page 5: Basics of process fault detection and diagnostics

Components of general fault diagnosisframework

Figure 15

Page 6: Basics of process fault detection and diagnostics

Classes of failure

β€’ Gross parameter changes in a modela) These are all the processes that cannot be

included in the modelb) All these processes are lumped to form a

single parameter,viz.gross parameterc) In gross parameter interaction along the

system boundary is also included d) Failure arises when there is disturbance in the process through the environment

6

Page 7: Basics of process fault detection and diagnostics

Classes of failure (contd..)β€’ Structural changes

a) These types of failure changes the processitself

b) These types of failure changes various information between variable

c) These types of failure occurs due to hardfailure in the component

d) For tackling such a failure,the diagnosticsystem removes the model equation of thefaulty component & to change the otherequation accordingly

7

Page 8: Basics of process fault detection and diagnostics

Classes of Failure(contd..)β€’ Malfunctioning Sensors & actuators

a) Serious error usually occurs with sensors &actuators due to the following reasons:1. Fixed failure2. A constant bias3. Out of range failure

b) Feedback signals,which are essential for controlof the plant.A failure in feedback component,could result the plant go to unstablility,unlessfailure is not detected quickly

8

Page 9: Basics of process fault detection and diagnostics

Desirable characteristics of a fault diagnostics system

β€’ For comparing different diagnostic approach,there is a set of desirable characteristics that a diagnostics system should posses.

β€’ With the help of the set of desirable characteristics one can compare the different diagnostics classifier.

β€’ When a fault occurs in a process,diagnostic classifier would propose a set of fault that explains the fault

β€’ The main aim of the diagnostic classifier would require the actual faults to be subset of the proposed faults

β€’ Resolution of diagnostics classifier would require the proposed fault set to be minimum

9

Page 10: Basics of process fault detection and diagnostics

Quick detection & diagnosis

β€’ The diagnosis system should respond quickly in detecting and diagnosing malfunction

β€’ Quick response to 1failure diagnosis Tolerable performance

during normal oprtn

β€’ A system that has a quick response to any failure,so it able to detect failure particularly the impulsive changes quickly,so if the system is prone to noise,it can lead to false alarming during normal operation

10

Page 11: Basics of process fault detection and diagnostics

Isolability

β€’ It is the ability of the diagnostics system to distinguish between different failures

β€’ That is the diagnostics classifier should be able to generate output that are orthogonal to the fault that has not occurred

β€’ But again here also there is a trade-off between isolability and rejecting modelling uncertainities

Isolability 1rejection of modelling

uncertainities

11

Page 12: Basics of process fault detection and diagnostics

Robustness

β€’ Robustness is the ability of the process to cope with error & disturbances during operation

β€’ Diagnostic system should be robust to various noise and uncertainties

β€’ It is better if the performance degrades gracefully instead failing totally and abruptly

12

Page 13: Basics of process fault detection and diagnostics

Novelty Identifiabilityβ€’ Novelty identifiability,in simple words means

that,it is the threshold decided by the diagnostic system whether the current process is functioning normally or not,if not,whether the fault is a known fault or an unknown fault

β€’ Sufficient data may be available to model the normal behaviour of the process,but we don’t have large data available for modelling the abnormal region

β€’ Due to the unavailability of the data from abnormal region,so it is possible that the abnormal region has been not modelled properly.

13

Page 14: Basics of process fault detection and diagnostics

Adaptability

β€’ The diagnostic system should be adaptable to changes such as :

a) Changes in external input

b) Structural changes due to retrofittingc) Change in operating condition due to

disturbances

d) environmental condition,

β€’ The diagnostic system should adaptable to changes,and should gradually develop the system as new cases and problem emerges

14

Page 15: Basics of process fault detection and diagnostics

Explanation facility

β€’ The job of the diagnostic system is not only identifying faults but also providing on how the fault started & propagated to the current situation

β€’ It is actually the ability of the diagnostic system to reason about cause and relationship in process

β€’ The diagnostic system should justify its recommendation so that operator can act accordingly

β€’ Also it is the job of the diagnostic system to justify why certain fault were proposed and rest were not

15

Page 16: Basics of process fault detection and diagnostics

Multiple Fault Identifiability

β€’ The ability to identify multiple fault is an important but difficult task due to interacting nature of the faults

β€’ The interaction among the non linear is synergistic that is it cant be determined by the components

16

Page 17: Basics of process fault detection and diagnostics

Quantitative Model-Based Methods(Introduction)

β€’ In this approach the most frequently used FDI methods are observers,parity relations,Kalmanfilters and parameter estimation

β€’ Most of the work on quantitative model-based approaches have been based on general input-output and state-space models

β€’ Both of the above types of model find an important place in fault diagnosis studies

17

Page 18: Basics of process fault detection and diagnostics

Quantitative Model-Based Methods(Redundancy)

β€’ Model-based FDI mainly relies on an explicit model of the monitored plant

β€’ There are two steps in any model based FDI methods :-1. Generating inconsistencies between the actual and expected behavior, such inconsistencies are also called residuals,these are the β€˜artificial signals’ reflecting potential faults 2. Choosing a decision rule for diagnosis

18

Page 19: Basics of process fault detection and diagnostics

Redundancy(contd..)β€’ The check for inconsistency needs some form of

redundancy

β€’ There are mainly two kind of redundancy :a) Hardware redundancy b) Analytical redundancy

β€’ Hardware redundancy a) These kind of redundancy requires extra

sensors.b) It is mainly used in the control of safety-critical

system such as aircraft,nuclear power plantEX: Triple Modular Redundancy (TMR)

c) However hardware redundancy are costly toimplement,which is their main drawback

19

Page 20: Basics of process fault detection and diagnostics

Redundancy(contd..)β€’ Analytical Redundancy

Also known as functional,inherent or artificial redundancy is achieved from the functional dependencies among the process variables & is usually provide by a set of algebraic or time relating relationships among the states,input and output of the systems

20

DIRECT TEMPORALThis type of redundancy is accomplished by algebraic relationship among different sensor measurement

This type of redundancy is obtained from differential or difference relationship among different sensor output & actuator input

Such relation are useful in computing the value of sensor measurement from measurement of other sensors

This type of redundancy is useful for sensor and actuator fault detection

The computed value is compared with sensor data & a difference indicates a fault

Page 21: Basics of process fault detection and diagnostics

21

β€’ The main characteristics of analytical redundancy in FDI is to compare the actual system behavior against system model for consistency

β€’ Any inconsistency expressed as residuals,can be used for isolation and detection

β€’ The residual should be close to zero when no fault occurs but show significant values when there is fault

β€’ For the generation of the diagnostic residuals,we require an explicit mathematical model of the system

General scheme for using analytical redundancy

Page 22: Basics of process fault detection and diagnostics

Types Of Modelsβ€’ Most of FDI methods use discrete black-box plant

models such as input-output or state space model & assume linearity of the plant

β€’ Considering a system with π‘š input & π‘˜ output𝑒 𝑑 = [𝑒1 (𝑑)……… . . π‘’π‘š(𝑑)]𝑇

𝑦 𝑑 = [𝑦1 (𝑑)……… . . π‘¦π‘˜ (𝑑)]𝑇

β€’ The basic model in state space form isπ‘₯ 𝑑 + 1 = 𝐴π‘₯ 𝑑 + 𝐡𝑒 𝑑𝑦 𝑑 = 𝐢π‘₯ 𝑑 + 𝐷𝑒 𝑑

where 𝐴, 𝐡, 𝐢, 𝐷 are parameter matrices

β€’ The same system can be expressed in the input-output form

𝐻 𝑧 𝑦 𝑑 = 𝐺 𝑧 𝑒 𝑑where 𝐻 𝑧 & 𝐺(𝑧) are polynomial matrices in π‘§βˆ’122

Page 23: Basics of process fault detection and diagnostics

Types Of Models(contd..)𝐻 𝑧 is diagonal

𝐻 𝑧 = 𝐼 + 𝐻1π‘§βˆ’1 + 𝐻2𝑧

βˆ’2+. . +π»π‘›π‘§βˆ’π‘›

𝐺 𝑧 = 𝐺0 + 𝐺1π‘§βˆ’1 + β‹―+ 𝐺𝑛𝑧

βˆ’π‘›

β€’ Both the above model are that of ideal situation, where there is no fault, disturbance or noise

β€’ State space model with faultπ‘₯ 𝑑 + 1 = 𝐴π‘₯ 𝑑 + 𝐡𝑒 𝑑 + 𝐸𝑝 𝑑𝑦 𝑑 = 𝐢π‘₯ 𝑑 + 𝐷𝑒 𝑑 + 𝐸′𝑝 𝑑 + π‘ž(𝑑)

β€’ Input output model with fault𝐻 𝑧 𝑦 𝑑 = 𝐺 𝑧 𝑒 𝑑 + 𝐻 𝑧 π‘ž 𝑑 + 𝐹 𝑧 𝑝 𝑑

π‘ž(𝑑) = output sensor fault𝑝(𝑑) = actuator faults & certain plant faults, disturbances as well as some input sensor faults

23

Page 24: Basics of process fault detection and diagnostics

Residual Generation In Dynamic Systemβ€’ Both of above models, state space or input output

alike can be written as𝑦 𝑑 = 𝑓 𝑒 𝑑 , πœ” 𝑑 , π‘₯ 𝑑 , πœƒ 𝑑

𝑦 𝑑 , 𝑒 𝑑 = measurable output & inputπ‘₯ 𝑑 , πœ” 𝑑 = unmeasurable state variable &

disturbancesπœƒ 𝑑 = process parameter

β€’ Process fault usually changes in the state variables and/or changes in model parameters

β€’ Based on the process model, one can estimate the unmeasurable π‘₯ 𝑑 π‘œπ‘Ÿ πœƒ(𝑑) by observed 𝑒 𝑑 & 𝑦(𝑑) using state estimation or parameter estimation

24

Page 25: Basics of process fault detection and diagnostics

Kalman filtersβ€’ The plant disturbances are random fluctuations

and only the statistical parameters of the plants are known

β€’ FDI in such type of systems can be done by monitoring the process or prediction error

β€’ It can be done using the optimal state estimate such as the Kalman filters

β€’ KF is a recursive algorithm for state estimation

β€’ The KF in s/s model is equivalent to an optimal predictor for linear stochastic system in the input output model

25

Page 26: Basics of process fault detection and diagnostics

Kalman Filter Equationsβ€’ The system model is given as

π‘₯ 𝑑 + 1 = 𝐴π‘₯ π‘˜ + 𝐡𝑒 π‘˜ + 𝑀(π‘˜)𝑦 𝑑 = 𝐢π‘₯ π‘˜ + 𝑣 π‘˜

𝑀 π‘˜ &𝑣 π‘˜ are process and measurement noise

β€’ Where 𝑀 π‘˜ & 𝑣(π‘˜) are standard gaussian with zero mean

β€’ πΆπ‘œπ‘£ 𝑀 π‘˜ = 𝐸 𝑀 π‘˜ 𝑀 π‘˜ 𝑇 = 𝑅1 𝑛×𝑛

πΆπ‘œπ‘£ 𝑣 π‘˜ = 𝐸 𝑣 π‘˜ 𝑣 π‘˜ 𝑇 = 𝑅2 π‘šΓ—π‘š

β€’ Observer design π‘₯(π‘˜ + 1) = 𝐴 π‘₯(π‘˜) + 𝐡𝑒 π‘˜ + 𝐺(π‘˜)π‘›Γ—π‘š[𝑦 π‘˜ βˆ’ 𝑦(π‘˜)]π‘šΓ—1

26

Page 27: Basics of process fault detection and diagnostics

Kalman Filter Equations(contd..)β€’ State Estimation Error

𝑒 π‘˜ = π‘₯ π‘˜ βˆ’ π‘₯ π‘˜π‘’ π‘˜ + 1 = π‘₯ π‘˜ + 1 βˆ’ π‘₯ π‘˜ + 1

then substituting π‘₯ π‘˜ + 1 from model equation and π‘₯ π‘˜ + 1 from observer equation,andsolving,we get

𝑒 π‘˜ + 1 = 𝐴 βˆ’ 𝐺𝐢 𝑒 π‘˜ βˆ’ 𝐺𝑣 π‘˜ + 𝑀(π‘˜)to design an optimal-estimator such that

of estimation error, 𝑝 π‘˜ is minimized

β€’ minimizedo find 𝐺 π‘˜ , minimize π‘π‘œπ‘£ 𝑒 π‘˜ + 1

27

Page 28: Basics of process fault detection and diagnostics

β€’ But,𝐸 𝑒 π‘˜ + 1 = 𝐸 𝐴 βˆ’ 𝐺𝐢 𝑒 π‘˜ βˆ’ 𝐸 𝐺𝑣 π‘˜ + 𝐸 𝑀 π‘˜

= 𝐸 𝐴 βˆ’ 𝐺𝐢 𝑒 π‘˜ βˆ’ 𝐺𝐸 𝑣 π‘˜

= 𝐴 βˆ’ 𝐺𝐢 𝐸 π‘₯ π‘˜ βˆ’ π‘₯ π‘˜

nimize 𝑃 π‘˜ + 1 with the help of decision variable help of decision variable 𝐺 π‘˜

28

Page 29: Basics of process fault detection and diagnostics

β€’ 𝑃 π‘˜ + 1 = 𝐸 𝐴 βˆ’ 𝐺𝐢 𝑒 π‘˜ 𝑒 π‘˜ 𝑇 𝐴 βˆ’ 𝐺𝐢 𝑇 + 𝐺𝑣 π‘˜ 𝑣 π‘˜ 𝑇𝐺𝑇 + 𝑀 π‘˜ 𝑀 π‘˜ 𝑇

= 𝐴 βˆ’ 𝐺(π‘˜)𝐢 𝑃 π‘˜ 𝐴 βˆ’ 𝐺(π‘˜)𝐢 𝑇 + 𝐺 π‘˜ 𝑅2𝐺 π‘˜ 𝑇 + 𝑅1

β€’ Now let us assume that 𝐸[𝑒 𝑗 𝑒 𝑗 𝑇] is minimized for 𝑗 = 0,1. . , π‘˜by selecting 𝐺 0 , 𝐺 1 , . . 𝐺(π‘˜ βˆ’ 1)

β€’ Now we need to find 𝐺 π‘˜ π‘ π‘’π‘β„Ž π‘‘β„Žπ‘Žπ‘‘ 𝑃(π‘˜ + 1) is minimizedβ€’ 𝑃 π‘˜ + 1 = 𝐴 βˆ’ 𝐺(π‘˜)𝐢 𝑃 π‘˜ 𝐴 βˆ’ 𝐺(π‘˜)𝐢 𝑇 + 𝐺 π‘˜ 𝑅2𝐺 π‘˜ 𝑇 + 𝑅1

β€’ Solving by adding and subtracting terms we will get,

β€’ 𝑃 π‘˜ + 1 = 𝐴𝑃 π‘˜ 𝐴𝑇 + 𝑅1 βˆ’ 𝐴𝑃(π‘˜)𝐢𝑇 𝑅2 + 𝐢𝑃 π‘˜ 𝐢𝑇 βˆ’1𝐢𝑃(π‘˜)𝐴𝑇

β€’ 𝑃 π‘˜ + 1 = 𝐴𝑃 π‘˜ 𝐴𝑇 + 𝑅1 βˆ’ 𝐺 π‘˜ 𝐢𝑃 π‘˜ 𝐴𝑇

where,

β€’ 𝐺 π‘˜ = 𝐴𝑃(π‘˜)𝐢𝑇[𝑅2 + 𝐢𝑃(π‘˜)𝐢𝑇]βˆ’1

29

Page 30: Basics of process fault detection and diagnostics

Kalman Filter Summaryβ€’ π‘₯ π‘˜ + 1 π‘˜ = 𝐴 π‘₯( π‘˜ π‘˜ βˆ’ 1) + 𝐡𝑒 π‘˜ + 𝐺(π‘˜)[𝑦 π‘˜ βˆ’ 𝐢 π‘₯( π‘˜ π‘˜ βˆ’ 1)]

β€’ 𝐺 π‘˜ = 𝐴𝑃( π‘˜ π‘˜ βˆ’ 1)𝐢𝑇[𝑅2 + 𝐢𝑃( π‘˜ π‘˜ βˆ’ 1)𝐢𝑇]βˆ’1

β€’ 𝑃( π‘˜ + 1 π‘˜) = 𝐴𝑃 π‘˜ π‘˜ βˆ’ 1 𝐴𝑇 + 𝑅1 βˆ’ 𝐺 π‘˜ 𝐢𝑃 π‘˜ π‘˜ βˆ’ 1 𝐴𝑇

30

Page 31: Basics of process fault detection and diagnostics

31