1
Janan Zaytoon
University of Reims Champagne Ardenne, France
Janan.zaytoon@univ-reims.fr
Outline 1. Introduction to fault diagnosis of DES 2. Seminal work - - PowerPoint PPT Presentation
On Fault Diagnosis Methods of Discrete Event Systems Janan Zaytoon University of Reims Champagne Ardenne, France Janan.zaytoon@univ-reims.fr 1 Outline 1. Introduction to fault diagnosis of DES 2. Seminal work of
1
University of Reims Champagne Ardenne, France
Janan.zaytoon@univ-reims.fr
2
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath-Sengupta-Lafortune-Sinnamohideen- Teneketzis 3. Classification of diagnosis methods with respect to: Fault compilation, modeling tools, fault representation, decision structure and architecture 4. Related and induced problems Fault prediction, design problems, sensor selection & reliability, robust diagnosis, active diagnosis, fault-tolerant control 5. Contribution of our research team 6. Conclusion
3
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath et al. 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation, decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
4
Fault causes a non desired deviation of a system or one
Fault diagnosis has two tasks
conditions or a fault has occurred
nature (criticality, size, importance, ...)
Modeling for fault diagnosis
5
Modeling for fault diagnosis
Normal behavior model
GN
Diagnostic result (N, Fi),
{1,..., } i d ∈
System Real input u Real output y Predicted
+
GF1 GFd
Faulty behaviors models Fault detection Fault isolation
Faults are considered as an additional input for the system modeling Faults are usualy partitioned into set of fault partitions, each associated with a fault model and fault label Fi
6
With respect to their dynamics (time dependency)
Fault classification
Time Time Time Normal functioning Faulty behavior permanent faults Drift-like faults Intermittent faults
With respect to the related physical elements
variables (Sensors offset, Sensors stuck-off/stuck-on)
real output (Actuators stuck-off/stuck-on)
7
Partial observation and observability: Caines et al. 1991; Cieslak et al. 1988; Lin and Wonham 1988; Ramadge 1986
State-based approach to diagnosability (Lin 1994):
Sensor optimisation for diagnosis: Bavishi and Chong 1994 Petri net based fault detection:
and Jafari 1993)
Historical Background
8
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath, Sengupta, Lafortune, Sinnamohideen, Teneketzis (1995) 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation, decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
9
Automata modeling for fault diagnosis
Some of the events are unobservable (no sensors)!!
10
Dealing with unobservable events
What are the faults that explain the observations?
build a state observer (deterministic automaton) staring from the
Transitions are due to observable events A state is an estimation of the state of the original model Observer size is exponential in the size of the model
a a 5 4 b 2 f uo
1
3 a b {1,3} {2,4,5} {4,5} {3} a a a a b b 2 consecutive a is a symptom
a
Diagosability of a fault
s f t
Sampath, Sengupta, Lafortune, Sinnamohideen, Teneketzis (1995) A fault is (n-)diagnosable if it can be detected with certainty within a finite number of (n) observable events after its occurrence A fault f is diagnosable if: for every trace s ending with f, there exists a sufficiently long continuation t such that: … any other trace indistinguishable from st (producing the same record
11
12
Diagnoser
Refine the observer: add labels F (f occurred) and N (f didn’t occur) Diagnoser: FSM based on off-line compilation of observed trajectories:
F-indeterminate cycle in diagnoser: presence of 2 cycled traces with the same observable projection, such that F occurs in the 1st trace but not in the 2nd
all fault types
a a 5 4 b 2 f uo
1
3 a b a a a b b {1N} {2N,4F} {1N,3F} {4F,5F} {3F} Indeterminate cycle: f is not diagnosable! a a F-certain state ambiguous state
13
General hypothesis: system is live, no cycle of unobservable events
A diagnoser is an ideal and efficient machine: having a diagnoser implies
diagnoser is a possible diagnosis & every possible diagnosis is a state of the diagnoser
But having a diagnoser is an utopia: constructing a diagnoser implies
worst case size of diagnoser =1010000 ! (number of atoms in the universe: 1080)
Twins machine (Jiang et al. 2001; Yoo-Lafortune 2002):
diagnosable if there is no couple of infinite traces having the same observation such that f occurs in the first trace but not in the second
Diagnosability and Diagnosers
14
Roadmap
1995 New Models Diagnoser approach New Properties New Algorithms Efficient solutions On going Slide from A.Paoli, CASY 2007
15
1 to 3 papers/year in JDEDS since 1998 Publications ≈ 20-23%
papers ≈10-12% of WODES papers
16
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath et al. 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation, decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
17
Classification of Diagnosis methods wrt fault compilation
Off-line compilation of a diagnoser: system in test-bed
intractable! On-line computation of the set of faults after each observed event:
system is operational
gain in memory space because no need to store the complete diagnoser
18
Classification of diagnosis methods wrt the modeling tool
Diagnoser is built using:
al., 2000; Wang et al., 2007
Genc-Lafortune, 2007; Cabasino et al, 2010; Dotoli et al., 2009; Basile et al., 2008
Idghamishi-Zad, 2004
Timed and Probabilistic Automata
Timed Systems based on special class of timed automata: Chan-Provan, 1997; Tripakis, 2002; Bouyer et al., 2005; Cassez, 2009; Jiang-Kumar, 2006:
a bounded time interval, instead of a bounded number of events
diagnoser construction, complexity, relation with untimed systems, …
Probabilistic systems and probabilistic diagnosers: Fabre- Jezequel, 10; Thorsley et al., 2008; Wang et al., 2004, Athanasopoulou-Hadjicostis, 2005; Lunze and Schröder, 2001:
states and diagnosis values, given any observed sequence
19
Fault diagnosis of Petri nets (PN)
Aim:
distributed nature of PN, where the notion of state and action is local, to reduce the computational complexity of diagnosis problems and avoid exhaustive enumeration of the system state space
Observability of the marking of certain places: Ramirez-Trevino et al., 07; Wu and Hadjicostis, 2005; Ghazel et al., 2005; Hernandez-Flores et al., 2011; Lefebvre and Delherm, 2007; Miyagi and Riascos, 2010; Ushio et al., 1998; Chung, 2005; Wen et al., 2005 Unobservable net markings: Genc and Lafortune, 2007, Benveniste et al., 2003, Cabasino et al., 2011; Haar et al., 2003; Basile et al., 2009; Jiroveanu-Boel 09; Fanti et al., 2011, Dotoli et al., 2008; Fabre et al., 2005
20
Fault diagnosis of PN
Cabasino et al., 10, 11: Labeled PN
sequences of unobservable events interleaved with w, whose firing explains w (explanations), and characterize the resulting reachable marking subset (basis marking) using linear algebraic constraints
to each fault class: matrix multiplications & manipulations of integer constraint sets
and to exploit the convexity property of fluid PN to improve computational cost of the diagnosis in some cases (Mahulea et al. 2012) Basile-Chiacchio-De Tommasi 09; Dotoli et al. 09; Fanti et al. 11:
21
22
Roth-Lesage-Litz, 2009:
Fault localization: inspired by residual techniques of continuous systems: compare
sequences to deliver a small set of (unexpected & missed) fault candidates Heuristic candidates set reduction algorithm
Fault diagnosis using fault-free models:
behavior: diagnosability of given faults is not guaranteed
Classification of diagnosis methods wrt fault representation
Diagnosis
23
Diagnosis using models including faulty behavior
Execution of an event (Sampath et al., 1995) Reaching a faulty state (Zad-Kwong-Wonham, 2003; Lin, 1994)
diagnoser may be initialized at any time while the system is in operation
Execution of a supervision pattern: a temporal property related to the
clarify the separation between diagnosis
existing results: different diagnosability notions, ad hoc algorithms to construct diagnosers & verify diagnosability f2 f2
f1 & f2
Provide good results for predictable faults: only faults explicitly considered in the system model can be detected and localized Require knowledge of faulty system behavior: it is not always realistic to exhaustively foresee all the faults
E - {f1, f2} E E - {f2} E - {f1}
24
Classification wrt the decision structure
Centralized diagnosis
Decentralized diagnosis
Distributed diagnosis (Fabre 02, Pencolé 05, Qiu 05, Su 04)
Plant Mask Diagnoser
Sequences of observable & unobservable events Sequences of observable events
Decentralized structure: each site knows the system model, has local observations & exchange limited information with others Problem: how can the sites jointly discover the occurrence of a fault Available information: ambiguous, incomplete, delayed, possibly erroneous requires minimum communication between diagnosers to resolve ambiguity Debouk-Lafortune-Teneketzis, 2000: 3 protocols using Coordinator with varying but limited memory & processing capabilities
Decentralized architecture – Coordinated diagnosis
System Model
Local Observer Local Diagnoser
Coordinator (memory &
processing constraints)
Site 1
Local Observer Local Diagnoser
Site 2
Communication Constraints
Fault information
Objective:
26
System Local site 1 Local site 2 Local
Local diagnosis Local diagnosis, globaly consistent
Distributed resolution protocol
Local
Local diagnosis Local diagnosis, globaly consistent
Local diagnosers with communications: communication protocol, delay, losses, order preservation, consistency, conflicts Lower memory usage, local diagnosis improving scalability and robustness
Subsystem 1 Subsystem 2
Distributed / Modular / Hierarchical Diagnosis
Different settings and model structures: Contant et al. 06; Ricker- Fabre 00; Su-Wonham 06; Pencolé et al. 06; Zhou et
(too) Many codiagnosability notions & properties defined and analyzed: Qiu-Kumar 06; Sengupta 98; Sengupta-Tripakis 02; Pencolé 04; Wang-Yoo-Lafortune 05, 07
27
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath et al. 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation, decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
Predicting Faults
Predict a fault before its occurrence based on the string of observable events to initiate corrective actions in advance (Genc-Lafortune, 06; Jiang-Kumar, 04; Jéron et al., 2008, Kumar-Takai, 2008)
t ∈ L(Ω, FΩ), t < s Observations Compatible trajectories P(.) u ∈ [P(t)] s ∈ L(Ω, FΩ)
A fault is predictable if it possess a non-faulty prefix such that any indistinguishable trace will inevitably lead to the fault within a bounded number of steps
v ∈ L(G)/u n steps
28
Design I ssues: Sensor Selection and Dynamic Activation
One way to ensure diagnosability and build diagnosable systems, is to
change the observability set by equipping the system with an appropriate set
availability & their span time, battery power, security concerns…)
Jiang et al. 03), a least expensive set of sensors (Ribot et al. 08), an optimal sensor configuration to balance the cost-performance tradeoffs (Lin et al. 10, 12)
Dynamic activation and deactivation of sensors: dynamically changing the set of events to observe: Thorsley-Teneketzis 07; Cassez-Tripakis 08; Wang et al. 11; Dallal-Lafortune 10; Shu et al., 10
Sensor Reliability (Thorsley-Yoo-Garcia, 2008)
Motivation: sensors reading observable events are not perfectly reliable
Given a sequence of observations, use Markov chain construction to generate
a stochastic diagnoser to determine the probability that a fault has occurred
30
Sensor output automaton
1 2 3 (u,.5) (f,.5) (a,.9) (b,.1) (a,1) (b,1)
Stochastic
automaton
Stochastic diagnoser
Robust diagnosis: diagnosable system despite sesors failure
Rohloff 2005: Robust controller synthesis when the system is subject to sensor failure – uncertainties in the observable events Lima et al. 10; Basilio-Lafortune 09; Basilio et al. 12; Carvalho et al. 12: deploy the redundancy within the subset of observable events that guarantee diagnosability to verify diagnosability and design a robust diagnoser despite sensor failure:
under certain combination of sensor failures
about unobservable faults and identify this diagnoser
Uncertainties in the system model (Takai , 2010, 2012): system given by a set of models (multiple configurations) over a common event set:
detects faults in any possible model within a bounded number of steps
31
32
Active Diagnosis and Fault Tolerant Control
Integrated approach to fault diagnosis and supervisory control: design a controller that restricts the behavior of the system in a way that satisfies specified control objectives and results in a diagnosable controlled system (Sampath-Lafortune-Teneketzis, 1998; Pencolé et al. 2006):
controller ensuring diagnosability & a diagnoser for on-line fault dignosis
indeterminate cycles in the diagnoser
Develop a supervisor guaranteeing that every post-fault behavior becomes non-faulty in a bounded number of steps (Wen et al., 2008) Detect faults & then restrict system’s behavior in such a way that prevents these faults from developing into failures that could cause safety hazards (Paoli-Lafortune, 2005) Design a parameterized controller to update the control law to faulty behavior on the basis of on-line diagnosis (Paoli-Sartini-Lafortune, 2011)
33
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath et al. 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
Requirements for practical applications
Diagnostic engine must be easy to develop and simple to implement Diagnosis may need to be achieved with decentralized information Impossibility to foresee all faults Need to model drift-type faults in sensors or small changes in dynamics of actuators Need of expertise and learning methods
34
Boolean DES-based approach
Philippot et al, 2007; Sayed-Mouchaweh et al., 2008: combination
for decentralized diagnosis of manufacturing systems
the system & detect the unexpected & missing events within their defined time interval: exploit control loop causality to localize expected consequents of control actions
35
Fault-free models (Sayed-Mouchaweh et al., 09, 12)
36
/E E d q1 /d q0 A B Mstop q0 Mrot q1 A1.B2 B1.B2 + A1.A2 B1.A2 B1.B2 + A1.A2
Mstop q0 M-> q2 M<- q1A.t := ∆ A, Ts->∆ B, Ts->∆ B, t->∆ A, t->∆ B.t := ∆
VIN q1 V-> q*2 VOUT q3 V<- q*4
B A
q0 A.t := ∆ A, Ts->∆ B, Ts->∆ B, t->∆ A, t->∆ B.t := ∆ C C
B, Tsint->∆ A, Tsint->∆ VIN q1 V-> q*2 VOUT q3 V<- q*4 Vstop q5B A C
q0Constitution of almost independent plant elements requiring limited communication by composition of their Parts from a Library
Control specifications (GRAFCET) PE1 Equivalent Graph (EG) PEn Controlled Plant Element 1 (CPE1) Controlled Plant Element n (CPEn) (1) Extraction (3) Local composition (2) Language Restriction Restricted EG for PE1 (REGPE1) Restricted EG for PEn (REGPEn)
⇒ Representation of the local desired behaviour: CPEi
Educational manufacturing plateform
37
38
Conveyor 1 Conveyor 2 Conveyor 3
Cylinder 1 Cylinder 2 Cylinder 3
Small piece Large piece ct2 ct3 cp3 cp2 p2ar p3ar p1ar a b a) SFC for the pieces sorting b) SFC for the rotation
2 Out1 cp2 4 In2 p2ar a 8 In1 p1ar C1 b 5 Out1 cp3 6 Out3 ct3 7 In3 p3ar 3 Out2 ct2 In1 In1 In1 In1 1 10 M 11 C2 M C3
Boolean DES-based approach
39
1 2*
↑Out
8 3 5
↑ yE
7 6*
↑In
↓ yR ↓In ↓Out 1000 1010 0010 0110 1001 0101 0100
4
↑ yR 0001 ↓ yE
Desired behavior
t Out =1
? yR ? yE t1 t2
max
R
y
Δ
↓
t3 t4
max
E
y
Δ
↑
yR yE Out In
Statistical learning to estimate the probability densities of consequent reactions Expert knowledge to identify faults related to missing & unexpected events Progressive monitoring to reduce the set of fault candidates after the
Extension to drift-like FD (Sayed-Mouchaweh et al., 2012)
A drift-like fault is observed as a change in probability density of component reactions to commands over time An indicator observes a drift of the PDF and provides warning when deviating from normal behavior prior to failure occurrence
40
Sometimes a system gradually changes its functioning mode from normal to failure due to deviation in some system parameters drift levels: normal, warning, confirmed
41
1. Introduction to fault diagnosis of DES 2. Seminal work of Sampath et al. 3. Classification of diagnosis methods with respect to:
Fault compilation, modeling tools, fault representation decision structure and architecture
4. Related and induced problems
Fault prediction, design problems, sensor selection and reliability, robust diagnosis, active diagnosis, fault-tolerant control
5. Contribution of our research team 6. Conclusion
42
Fault Diagnosis of DES is a mature scientific area:
Many extension of initial results: modeling tools, system structure, algorithmic efficiency, design methods,
diagnosers & verify diagnosability
Complexity of calculations due to the curse of dimensionality:
configurations of timed and untimed systems
Need to develop (software) tools
Need to combine DES based methods with techniques from:
complex systems
43
Evolving and adaptive FMECA Pretreatment & data analysis Prognosis Fault classification Decision Stop
Predictive maintenance Reconfiguration Change
C S
Fault detection Fault Identification Fault diagnosis
Measurements Time-to-failure prediction Condition-based maintenance Critical components Reliability-Centered Maintenance Prognosis & Health management Performance degradation trending Performance metrics for diagnosis
designing a reliable, safe and secure system requires developing global structures and integrated models to link Diagnosis with other aspects, including: Control, Identification, Prognosis, Predictive maintenance