Modeling of Fault
Modeling of Fault
Modeling of Fault
Email: aqkhan@pieas.edu.pk
http://www.pieas.edu.pk/aqayyum/
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 1 / 23
Outline
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 2 / 23
Process Disturbance Modeling and Noises
Frequency domain
y (s ) = Gyu (s )u(s )
y Rm : output vector
u Rku : input vector
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 3 / 23
Process Disturbance Modeling and Noises
Frequency domain
y Rm : output vector
u Rku : input vector
d Rkd : deterministic disturbance vector
Rk : stochastic disturbance vector
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 3 / 23
Process Disturbance Modeling and Noises
Frequency domain
y Rm : output vector
u Rku : input vector
d Rkd : deterministic disturbance vector
Rk : stochastic disturbance vector
State space
x = Ax + Bu
y = Cx + Du
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 3 / 23
Process Disturbance Modeling and Noises
Frequency domain
y Rm : output vector
u Rku : input vector
d Rkd : deterministic disturbance vector
Rk : stochastic disturbance vector
State space
x = Ax + Bu + Ed d +
y = Cx + Du + Fd d +
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 3 / 23
Modeling uncertainties
sources of uncertainty
parameters are not exactly known
variation in operating conditions
limited resolution
high frequency behavior
model simplification
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 4 / 23
Modeling uncertainties
sources of uncertainty
parameters are not exactly known
variation in operating conditions
limited resolution
high frequency behavior
model simplification
Process with uncertainties
x + Bu
x = A +E
d d
+ Du
y = Cx +Fd d
= A + A , B
A = B + B ,
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 4 / 23
Uncertainties Description
Norm Bounded
" # " #
A B E E h i
= (t ) G H J
C D F F
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 5 / 23
Uncertainties Description
Norm Bounded
" # " #
A B E E h i
= (t ) G H J
C D F F
(t )
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 5 / 23
Uncertainties Description
Norm Bounded
" # " #
A B E E h i
= (t ) G H J
C D F F
(t )
Polytopic uncertainty
" #
A B E
C D F
(" # " # " #)
A1 B1 E1 A2 B2 E2 Al Bl El
= Co , , ,
C1 D1 F1 C2 D2 F2 Cl Dl Fl
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 5 / 23
Uncertainties Description
Norm Bounded
" # " #
A B E E h i
= (t ) G H J
C D F F
(t )
Polytopic uncertainty
" #
A B E
C D F
(" # " # " #)
A1 B1 E1 A2 B2 E2 Al Bl El
= Co , , ,
C1 D1 F1 C2 D2 F2 Cl Dl Fl
Ai , Bi , Ci , known matrices
Co {} Convex Set
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 5 / 23
Polytopic Uncertainty
Convex Set: A set C is convex if the line joining any two points c1
and c2 in C remains entirely in C.
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 6 / 23
Polytopic Uncertainty
Convex Set: A set C is convex if the line joining any two points c1
and c2 in C remains entirely in C.
c1
c2
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 6 / 23
Polytopic Uncertainty
Convex Set: A set C is convex if the line joining any two points c1
and c2 in C remains entirely in C.
c1
c2
Given a set C (not necessarily convex) its convex hull is the smallest
convex set which contains C.
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 6 / 23
Polytopic Uncertainty
Convex Set: A set C is convex if the line joining any two points c1
and c2 in C remains entirely in C.
c1
c2
Given a set C (not necessarily convex) its convex hull is the smallest
convex set which contains C.
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 6 / 23
Convex Hull and convex function
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 7 / 23
Polytopic Uncertainty
p2
p5
p4
p1 p3
p6
p6
p7
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 8 / 23
Polytopic Uncertainty
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 9 / 23
Polytopic Uncertainty
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 10 / 23
Stochastic Uncertainty
" # " #
A B E X Ai Bi Ei
= pi (k )
C D F Ci Di Fi
i =1
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 11 / 23
Stochastic Uncertainty
" # " #
A B E X Ai Bi Ei
= pi (k )
C D F Ci Di Fi
i =1
p1 (k )
.
p (k ) = ..
p (k )
p (k ) is stochastic process
E [p (k )] = 0, E [p (k )p T (k )] = diag (1 , , )
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 11 / 23
Types of Faults
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
Actuator Faults
More consumption of energy or total loss of control
Example: Stuck up of control valve, faults in pumps, motors, etc.
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
Actuator Faults
Sensor Faults
Sensor measurements are used in feedback, result into change in
operating point
Examples: drift, bias, freezing of sensor, calibration error
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
Sensor Faults
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
Component Faults
Alter the physical parameter of plant
Due to wear and tear
Examples: leakage, cracks, change in friction,
Dynamic properties are changed, instability
Most important to be detected
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Types of Faults
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 12 / 23
Modeling of Faults
Frequency domain
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 13 / 23
Modeling of Faults
Frequency domain
x = Ax + Bu+Ed d +Ef f
y = Cx + Du+Fd d +Ff f
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 13 / 23
Modeling of Faults
Frequency domain
x = Ax + Bu+Ed d +Ef f
y = Cx + Du+Fd d +Ff f
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 13 / 23
Modeling of Faults Contd.
Sensor faults, Ff = I
y = Cx + du + Fd d + fs
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 14 / 23
Modeling of Faults Contd.
Sensor faults, Ff = I
y = Cx + du + Fd d + fs
Actuator fault, Ef = B , Ff = D
x = Ax + B (u + fA ) + Ed d
y = Cx + D (u + fA ) + Fd d
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 14 / 23
Modeling of Faults Contd.
+ AF ) x + ( B
x = (A + BF )u + Ed d
y = (C + CF )x + (D + DF )u + Fd d
A
X B
X
AF = Ai Ai , BF = Bi Bi
i =1 i =1
C
X D
X
CF = Ci Ci , DF = Di Di ,
i =1 i =1
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 15 / 23
Modeling of Faults Contd.
qM = GF x + HF u,
fM = F (t )qM
Inn 0
. .
.. ..
I 0
GF = nn
, HF =
0 Iku ku
. .
.. ..
0 Iku ku
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 16 / 23
Modeling of Faults Contd.
A1 Inn
..
.
AA Inn
F (t ) =
B1 Iku ku
..
.
BB Iku ku
h i
EP = A1 AA B1 BB ,
h i
FP = C1 CC D1 DD
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 17 / 23
Modeling of Faults Contd.
x + Bu
x = A + Ed d + EP fM
+ Du
y = Cx + Fd d + FP fM
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 18 / 23
Modeling of Faults Contd.
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 19 / 23
Examples
Example (Three Tanks System)
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
Ac h 1 = Q1 Q13
Ac h 2 = Q2 + Q32 Q20
Ac h 3 = Q13 Q32
p
Q13 =a1 s13 sgn(h1 h3 ) 2g |h1 h3 |
p
Q32 =a3 s23 sgn(h3 h2 ) 2g |h3 h2 |
p
Q20 =a2 s0 2gh2
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
Linearized Model
x =Ax + Bu
y =Cx
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
Linearized Model
x =Ax + Bu
y =Cx
h1 " #
Q
x = y = h2 , u = 1
Q2
h3
0.0085 0 0.0085
0.0065 0
A = 0 0.00195 0.0084 , B = 0 0.0065 C = I3
0.0085 0.0084 0.0169 0 0
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
x =(A + A )x + Bu
y =Cx
A = (t )H
0.0085 0 0.0085
H = 0 0.00195 0.0084
0.0085 0.0084 0.0169
1 (t )
0 0
(t ) = 0 2 ( t ) 0
3 ( t )
0 0
(t ))
1.3620
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
Component faults,
Leaks in tanks p p p
A1 2gh1 , A2 2gh2 , A3 2gh3
Pluggings between two tanks
p
A4 a1 s13 sgn(h1 h3 ) 2g |h1 h3 |
p
A5 a3 s23 sgn(h3 h2 ) 2g |h3 h2 |
p
A6 a2 s0 2gh2
Sensor Faults, three additive faults in three sensors, f1 , f2 , f3
Actuator Faults, faults in pumps, f4 , f5
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
x =(A + AF )x + Bu + Ef f
y =Cx + Ff f
6
X h iT
AF = Ai Ai , f = f1 f6
i =1
0.0214 0 0 0 0 0
A1 = 0 0 0 , A2 = 0 0.0371 0 ,
0 0 0 0 0 0
0 0 0 0.0082 0 0.0085
A3 = 0 0 0 , A4 = 0 0 0
0 0 0.0262 0.0085 0 0.0085
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Examples
Example (Three Tanks System)
0 0 0
0 0 0
A5 = 0 0.0111 0 , A6 = 0 0.0084 0.0084 ,
0 0 0 0 0.0084 0.0084
h i h i
Ef = 0 B , Ff = I33 0
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 20 / 23
Assignment
Assignment
1 Obtain the mathematical modeling and fault representation for the
Coupled Liquid Tanks System in DEE
2 Excercise 3.4 in M. Blanke, M. Kinnaert, J. Lunze, and
M. Staroswiecki, Diagnosis and fault-tolerant control. Springer, 2006
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 21 / 23
Further Readings
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 22 / 23
References I
A. Q. Khan (DEE,PIEAS) EE-612: Fault Diagnosis and Tolerance February 16, 2017 23 / 23