PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems...

72
Model-Based Diagnostics Matthew Daigle (NASA Ames Research Center) Indranil Roychoudhury ( SGT Inc., NASA Ames Research Center) Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center

Transcript of PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems...

Page 1: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Model-Based DiagnosticsMatthew Daigle (NASA Ames Research Center)

Indranil Roychoudhury (SGT Inc., NASA Ames Research Center)

Diagnostics & Prognostics Group, Intelligent Systems DivisionNASA Ames Research Center

Page 2: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Objectives of This Tutorial

• What is meant by model-based diagnostics and why it is a preferred approach

• Explain the fundamentals of model-based diagnosis• Overview different kinds of models and algorithms• What are the constituent problems, and how do we solve them

210/4/16 PHM 2016: Model-based Diagnostics

Page 3: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Scope of This Tutorial• The focus here is on defining the model-based diagnosis problem in a general

way, and describing the types of models and algorithms used– Defining the constituent problems– Discrete-event systems, continuous systems, and hybrid systems models– Algorithms for different types of models

• For other material, see diagnosis tutorials from previous PHM conferences– Machine learning methods– Consistency-based diagnosis– Sensor selection– Test generation– Applications– Other perspectives on diagnostics

310/4/16 PHM 2016: Model-based Diagnostics

Page 4: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Running Example: Multi-Tank System

4

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

10/4/16 PHM 2016: Model-based Diagnostics

Page 5: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Outline

• Preliminaries• Fundamentals of Model-based Diagnosis• Discrete-event Systems Diagnosis• Continuous Systems Diagnosis• Hybrid Systems Diagnosis• Distributed Diagnosis• Conclusions

510/4/16 PHM 2016: Model-based Diagnostics

Page 6: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Preliminaries1. What is diagnostics?2. What is model-based diagnostics?3. Why model-based diagnostics?4. What are the constituent problems?

Page 7: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

What is Diagnostics?• Diagnosis = determining the nature and cause of something• In a health management context, this “something” is a fault

– Fault = an unexpected change in the dynamics of a system– Fault ≠ Failure!– Failure = a condition of the system in which it does not meet functional specifications– Faults can grow and lead to failure, or a fault may be significant enough in magnitude, or a

severe enough change in configuration, such that the system will have failed (due to the occurrence of the fault)

710/4/16 PHM 2016: Model-based Diagnostics

Page 8: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Why Diagnostics?

810/4/16 PHM 2016: Model-based Diagnostics

Home  Base

Planetary  Rover

Example:  Rover  MissionVisit  waypoints  to  accomplish  science  objectives.  If  serious  fault  occurs,  need  to  diagnose  on  the  planet  and  head  back  to  home-­base.  Communication  delay  with  Earth  prevents  Earth-­based  diagnosis!

Communication  Earth  to  Mars

Communication  Mars  to  Earth

Page 9: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Why Diagnostics?

• Diagnostics informs decision-making• Which components to repair/replace• Inform fault mitigation• Inform fault recovery• Inform functional reallocation• Diagnostics informs prognostics–What is (are) the dominant aging/degradation mode(s)– Can we complete operation(s)/mission in presence of fault?

10/4/16 PHM 2016: Model-based Diagnostics 9

Page 10: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

The Basic Idea

10/4/16 PHM 2016: Model-based Diagnostics

Time

System  Output

Measured  Value

Nominal  Value

Thresholds

Detection

Diagnosis:  What  caused  this  difference in  observed  and  nominal  behavior?

10

Page 11: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Nominal vs Faulty Behavior

• What is “nominal” behavior?– Nominal is defined w/r/t some knowledge about the system, a reference

behavior– Comes from expert knowledge, known operating limits, physics model,

machine learning approaches, etc.

• In model-based diagnostics, the reference comes from a model that explicitly describes the nominal behavior– Models can be static or dynamic– Models can be used for simulation

10/4/16 PHM 2016: Model-based Diagnostics 11

Page 12: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Why Model-based Diagnostics?

10/4/16 PHM 2016: Model-based Diagnostics

Instances  of  Nominal  Behavior

Learn Nominal Behavior

Learn Faulty

Behavior

Instances  of  Faulty  Behavior

Machine  Learning  Approach:Detection:  Classify  between  nominal  and  non-­nominal  behaviorIsolation:  Classify  between  different  classes  of  faulty  behavior

Problems:• Lack  of  faulty  data  

instances• No  explanatory  power  

from  models• High  dimensionality• No  identification

We  want  models  that  we  can  use  to  reasonover…

12

Page 13: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Why Model-based Diagnostics?

• Models have explanatory power– Causal reasoning– Explicit representation of faults

• Develop general model-based algorithms– Models used for diagnosis are

inputs– Algorithms do not change for a

new system, only the model changes

1310/4/16 PHM 2016: Model-based Diagnostics

Diagnostics

System  Inputs

System  Outputs

System  Models

Diagonses

Page 14: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Constituent Problems

• Fault detection = determination of whether the system is not operating nominally

• Fault isolation = determination of the root cause(s) of the unexpected system behavior

• Fault identification = determination of the magnitude of the fault (if applicable)

1410/4/16 PHM 2016: Model-based Diagnostics

System Detection Isolation IdentificationInputs

Inputs,Outputs Fault?

Which  Fault(s)?

How  Big?

Page 15: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Characterizing Faults• Abrupt: Change in parameter value faster

than the sampling frequency• Incipient: Change in parameter value slower

than the sampling frequency– Can be linear, exponential, or arbitrary

degradation– Prognostics usually pertains to incipient

faults• Abrupt faults can be easier/faster to detect

compared to incipient faults• Dynamics of fault is different from

dynamics of measurements/observations– E.g., abrupt fault can present incipient change

in measurements

1510/4/16 PHM 2016: Model-based Diagnostics

Nominal

Faulty

Parameter/

Value

Nominal

Faulty

Parameter/

Value

Incipient

Abrupt

Page 16: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Characterizing Faults• Persistent vs Intermittent– Persistent: Once manifested, the

fault persists – Intermittent: Fault manifests

intermittently• Discrete vs Parametric– Discrete faults involve undesired

change in system or model structure, e.g., valve on Pipe 12 stuck closed

– Parametric faults involve undesired change in system or model parameter, e.g., Pipe 2 is clogged

1610/4/16 PHM 2016: Model-based Diagnostics

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Fault&

Exists

Fault&

Exists

IntermittentPersistent

Parametric

Discrete

Page 17: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Models• Discrete Event System Model

– System behavior abstracted into discrete states– Dynamics represented through events that define state transitions– Example models: Finite State Machines, Petri Nets, etc.

• Continuous System Model– Tries to capture continuous time evolution of system behavior– Using computers, these systems are modeled and simulated using differential or difference

equations, and in discrete time– Example models: Ordinary Differential Equations, Partial Differential Equations, Bond Graphs,

Bayes Nets, etc.• Hybrid System Model

– Combines both continuous time and discrete dynamics– Has discrete states, with continuous behavior defined for each discrete state– Example models: Hybrid Automata, Hybrid Bond Graphs, etc.

10/4/16 PHM 2016: Model-based Diagnostics 17

Page 18: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fundamentals of Model-Based Diagnosis1. Logical foundations of diagnosis2. How to perform diagnostic reasoning?3. Practical considerations

Page 19: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Specifying Behavior

• First-order logic formulation– SD = system description, set of first-order sentences– COMPS = components, set of constants

1910/4/16 PHM 2016: Model-based Diagnostics

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

SD• In(Pipe12)  =  Out(Pipe12)• In(Tank1)  =  Out(Pipe1)  +  

Out(Pipe12)• etc…COMPS• Tank1,  Tank2,  Tank3• Pipe1,  Pipe2,  Pipe3• Pipe12,  Pipe23

(Assume  steady-­state  behavior)

Page 20: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Observations

• Diagnosis requires observations from the system–Without observations, no way to determine if something is wrong– OBS = observations, set of first-order sentences

10/4/16 PHM 2016: Model-based Diagnostics

OBS• In(Tank1)  =  5• Out(Pipe1)  =  10• Out(Pipe12)  =  6• …

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

(Assume  steady-­state  behavior)

20

Page 21: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

AB(.) Predicate

• SD describes nominal system behavior• AB(C) means component C is abnormal, i.e., not nominal• Extend SD with AB predicates

10/4/16 PHM 2016: Model-based Diagnostics

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

SD• ~AB(Pipe12)  à In(Pipe12)  =  

Out(Pipe12)• ~AB(Tank1)  and  ~AB(Pipe1)  and  

~AB(Pipe12)  à In(Tank1)  =  Out(Pipe1)  +  Out(Pipe12)

• etc…

(Assume  steady-­state  behavior)

21

Page 22: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Diagnosis• If operating nominally, then

– SD and OBS and {~AB(C1), ~AB(C2), …} will be consistent• If not operating nominally, a contradiction is derived

– This is how fault detection is performed• Diagnosis = set of components D such that:

– SD and OBS and {AB(c) | c in D} and {~AB(c) | c in COMPS-D} is consistent– Isolation is performed by finding D– Identification is not applicable

2210/4/16 PHM 2016: Model-based Diagnostics

{  }

{C1} {C2} {C3} {C4}

{C1,C2} {C1,C3} {C1,C4} {C2,C3}

{C1,C2,C3} {C1,C2,C4} {C1,C3,C4} {C2,C3,C4}

{C1,C2,C3,C4}

{C2,C4} {C3,C4}

Diagnosis  Lattice

Minimality:A diagnosis is minimal if there is no superset that is also a diagnosis. Working with minimal diagnoses is more efficient and captures the principle of parsimony.

Page 23: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Reasoning with Conflicts• Conflict = set of components that cannot all be faulty• Given an observation, generate a conflict

– Update diagnosis based on conflict– Repeat with new observations

10/4/16 PHM 2016: Model-based Diagnostics 23

{  }

{C1} {C2} {C3} {C4}

{C1,C2} {C1,C3} {C1,C4} {C2,C3}

{C1,C2,C3} {C1,C2,C4} {C1,C3,C4} {C2,C3,C4}

{C1,C2,C3,C4}

{C2,C4} {C3,C4}

Example

Page 24: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Reasoning with Conflicts• Conflict = set of components that cannot all be faulty• Given an observation, generate a conflict

– Update diagnosis based on conflict– Repeat with new observations

10/4/16 PHM 2016: Model-based Diagnostics 24

{  }

{C1} {C2} {C3} {C4}

{C1,C2} {C1,C3} {C1,C4} {C2,C3}

{C1,C2,C3} {C1,C2,C4} {C1,C3,C4} {C2,C3,C4}

{C1,C2,C3,C4}

{C2,C4} {C3,C4}

Example1. Conflict  {C1,C2}

Means  C1  or  C2  is  faulty.Previous  diagnosis  is  {  }.New  diagnoses  are  {C1,C2}.

Page 25: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Reasoning with Conflicts• Conflict = set of components that cannot all be faulty• Given an observation, generate a conflict

– Update diagnosis based on conflict– Repeat with new observations

10/4/16 PHM 2016: Model-based Diagnostics 25

{  }

{C1} {C2} {C3} {C4}

{C1,C2} {C1,C3} {C1,C4} {C2,C3}

{C1,C2,C3} {C1,C2,C4} {C1,C3,C4} {C2,C3,C4}

{C1,C2,C3,C4}

{C2,C4} {C3,C4}

Example1. Conflict  {C1,C2}

Means  C1  or  C2  is  faulty.Previous  diagnosis  is  {  }.New  diagnoses  are  {C1,C2}.

2. Conflict  {C2,C3}Means  C2  or  C3  is  faulty.New  diagnoses  are  (C1  or  C2)  and  (C2  or  C3)  =  {C2,C1C2,C1C3,C2C3}.Minimal  diagnoses  are  {C2,C1C3}.

Page 26: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Reasoning with Conflicts• Conflict = set of components that cannot all be faulty• Given an observation, generate a conflict

– Update diagnosis based on conflict– Repeat with new observations

10/4/16 PHM 2016: Model-based Diagnostics 26

{  }

{C1} {C2} {C3} {C4}

{C1,C2} {C1,C3} {C1,C4} {C2,C3}

{C1,C2,C3} {C1,C2,C4} {C1,C3,C4} {C2,C3,C4}

{C1,C2,C3,C4}

{C2,C4} {C3,C4}

Example1. Conflict  {C1,C2}

Means  C1  or  C2  is  faulty.Previous  diagnosis  is  {  }.New  diagnoses  are  {C1,C2}.

2. Conflict  {C2,C3}Means  C2  or  C3  is  faulty.New  diagnoses  are  (C1  or  C2)  and  (C2  or  C3)  =  {C2,C1C2,C1C3,C2C3}.Minimal  diagnoses  are  {C2,C1C3}.

3. Conflict  {C1}Means  C1  must  be  faulty.New  diagnoses  are  ((C2)  or  (C1  and  C3))  and  (C1)  =  {C1C2,C1C3}.Minimal  diagnoses  are  {C1C2,C1C3}.

Page 27: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Example: Steady-State Tank System

10/4/16 PHM 2016: Model-based Diagnostics 27

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

COMPS:  Tank1,  Tank2,  Tank3,  Pipe1,  Pipe2,  Pipe3,  Pipe12,  Pipe23

SD:~AB(Tank1)  à In(Tank1)  =  In(Pipe1)  +  Left(Pipe12)~AB(Tank2)  à In(Tank2)  +  Right(Pipe12)  =  In(Pipe2)  +  Left(Pipe23)~AB(Tank3)  à In(Tank3)  +  Right(Pipe23)  =  In(Pipe3)~AB(Pipe1)  à In(Pipe1)  =  Out(Pipe1)~AB(Pipe2)  à In(Pipe2)  =  Out(Pipe2)~AB(Pipe3)  à In(Pipe3)  =  Out(Pipe3)~AB(Pipe12)  à Left(Pipe12)  =  Right(Pipe23)~AB(Pipe23)  à Left(Pipe12)  =  Right(Pipe23)

OBS:Left(Pipe12)  =  2In(Tank1)  =  5In(Pipe1)  =  2

SD  and  OBS  and  {~AB(Tank1),  ~AB(Tank2),…~AB(Pipe23)}  àContradiction!

Minimal  diagnosis is  AB(Tank1).

But  what  is  “abnormal”  about  it?• Use  the  concept  of  behavioral  modes  • For  each  possible  fault  for  each  component,  specify  behavior  for  that  fault  mode

• Instead  of  determining  AB(C),  determine  F1(C)  or  F2(C),  etc.

Page 28: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Summary of Approach

10/4/16 PHM 2016: Model-based Diagnostics 28

SD(Model)

OBS(Measured System Data)

ReasoningAlgorithm

Diagnoses

Model-­based  approaches  will  differ  in  how  they  capture  they  model,  and  how  they  abstract  the  system  data  into  symbols  we  can  reason  with.

Reasoning  algorithm  is,  at  its  most  fundamental  level,  always  the  same.

Page 29: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Practical Considerations• Such an approach doesn’t work well for dynamic systems, and hides

many issues– What about sensor noise?– How to represent dynamic behavior in this framework?– How to reason over time?– Computational complexity?

• However, the algorithmic approach is sound and forms the basis for most model-based diagnostic reasoning algorithms– Describe nominal and faulty behavior– Reason over discrepancies between nominal and observed behavior– Determine which faults would be consistent with the observations– This is always the approach in model-based diagnosis!

10/4/16 PHM 2016: Model-based Diagnostics 29

Page 30: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Discrete-Event Systems Diagnosis1. How do you model discrete event systems?2. How do you diagnose faults in discrete event systems?3. What are some practical considerations while diagnosing discrete

event systems?

30

Page 31: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Modeling Discrete-Event Systems• Finite state machine: G = (X, S, d, x0)– X is the set of states– S is the set of events– d is the transition function– x0 is the initial state

• Faults are modeled as unobservable events

3110/4/16 PHM 2016: Model-based Diagnostics

Valve Open

Stuck Closed

Valve Closed

StuckOpen

Ctrl. Open

Ctrl. Close

Open

Close

1 2

1

2 3

4

Open

OpenOpen

Close

CloseClose

Open

Close

Fail OpenFail Closed

Fail OpenFail Closed

Controller FSM

Valve FSM

Page 32: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Diagnosis

• Some events are observable, and some are not• We need to estimate what the possible state is, as that determines

whether an unobservable fault event may or may not have occurred• In the valve example:– We have a sensor that reports the position of the valve at a regular interval, 0

for open and 1 for closed– Say that we observe the event sequence: Open, 0, 0, 0, Close, 1, 1

• Is this nominal? Maybe– Say that we observe: Open, 0, 0, Close, 0, 0

• Is this nominal? No– How do we capture this reasoning?

10/4/16 PHM 2016: Model-based Diagnostics 32

Page 33: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Diagnosers• Build diagnosers, which are labeled

FSMs, that track the system state along with observed events– Labels are possible states and

diagnoses (fault events)– There is a procedure to build from

given FSMs• For example

– Start in initial states of both automata (11N) where system known to be nominal

– If we command to close and measure as open, it is definitely faulty (fail open has occurred)

– If we command to close and measure as closed, may or may not be faulty (fail closed might have occurred)

10/4/16 PHM 2016: Model-based Diagnostics 33

Figure 4: DES diagnoser the switch and controller system.

and controller system is shown in Fig. 4. The first number in the state refers to the state of the

controller, and the second number refers to the state of the switch. Failure label N represents nor-

mal, F1 represents the occurrence of Fail Closed, and F2 represents the occurrence of Fail Open.

Each state-label pair corresponds to a possible system state given the observations. In the diagnoser

events, the first event represents the observable controller event, and the second the sensor reading.

A failure label associated with a state implies that a failure of that type must have occurred. When

an event is observed, the diagnoser provides the new state estimate based on the observed event and

the previous state. If a fault occurs in the system, and the system is diagnosable, then the diagnoser

will eventually reach a state that corresponds to that failure type. For example, if the controller

tries to open the switch but the sensor reads 1, the diagnoser’s state estimate is that the switch is in

the stuck closed state and that Fail Closed has occurred. This corresponds to the diagnoser state

labeled by 12F1.

A state-based DES diagnosis approach is described in [6]. Being state-based, the focus is on deter-

mining system condition (failure mode), rather than the explicit failure events that have occurred.

This is because, in most practical settings, system models are constructed by composing several

smaller component models, each usually having a single nominal mode and a few failure modes.

Thus, there is a direct relation between system state and failure mode. The approach assumes that

the state set of the system can be partitioned according to the system condition, defined by a single

nominal mode and several failure modes of the system. In order to perform state-based diagnosis

of DES, the system model is augmented to include a set of outputs and an output map. System

condition is then inferred from the output sequence. A diagnoser that determines system condition

is constructed in [6]. Diagnoser states contain an output, possible system states consistent with the

output sequence, and possible system conditions associated with these states. The diagnoser, its

construction, and the diagnosability conditions are analogous to those in the event-based approach.

16

A reasoning algorithm would map events to diagnoses. This is basically “hard-coding” the reasoning algorithm.

Page 34: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Diagnosability• Want to be able to

guarantee that, eventually, we will know if a fault event has occurred– A system is diagnosable if,

after finite time, we can determine that a fault has occurred from the observed events

• Procedure exists to, given FSMs, determine diagnosability w/r/t different faults

10/4/16 PHM 2016: Model-based Diagnostics 34

Figure 4: DES diagnoser the switch and controller system.

and controller system is shown in Fig. 4. The first number in the state refers to the state of the

controller, and the second number refers to the state of the switch. Failure label N represents nor-

mal, F1 represents the occurrence of Fail Closed, and F2 represents the occurrence of Fail Open.

Each state-label pair corresponds to a possible system state given the observations. In the diagnoser

events, the first event represents the observable controller event, and the second the sensor reading.

A failure label associated with a state implies that a failure of that type must have occurred. When

an event is observed, the diagnoser provides the new state estimate based on the observed event and

the previous state. If a fault occurs in the system, and the system is diagnosable, then the diagnoser

will eventually reach a state that corresponds to that failure type. For example, if the controller

tries to open the switch but the sensor reads 1, the diagnoser’s state estimate is that the switch is in

the stuck closed state and that Fail Closed has occurred. This corresponds to the diagnoser state

labeled by 12F1.

A state-based DES diagnosis approach is described in [6]. Being state-based, the focus is on deter-

mining system condition (failure mode), rather than the explicit failure events that have occurred.

This is because, in most practical settings, system models are constructed by composing several

smaller component models, each usually having a single nominal mode and a few failure modes.

Thus, there is a direct relation between system state and failure mode. The approach assumes that

the state set of the system can be partitioned according to the system condition, defined by a single

nominal mode and several failure modes of the system. In order to perform state-based diagnosis

of DES, the system model is augmented to include a set of outputs and an output map. System

condition is then inferred from the output sequence. A diagnoser that determines system condition

is constructed in [6]. Diagnoser states contain an output, possible system states consistent with the

output sequence, and possible system conditions associated with these states. The diagnoser, its

construction, and the diagnosability conditions are analogous to those in the event-based approach.

16

Not diagnosable!

Page 35: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Practical Considerations

• Following the diagnoser approach– A fault is detected once we reach a diagnoser state where the label

contains only faults– A fault is isolated once we reach a diagnoser state where the label

contains only a specific fault– Identification is not applicable here

• Need to abstract system behavior to FSM– For continuous-time systems, there is a significant loss of information– Still have to deal with sensor noise, and abstract sensor signals to events– FSMs can get messy quickly – but the diagnosers are very time-efficient

10/4/16 PHM 2016: Model-based Diagnostics 35

Page 36: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Continuous Systems Diagnosis1. How do you model continuous time systems?2. Fault Detection in Continuous Systems3. Fault Isolation in Continuous Systems4. Fault Identification in Continuous Systems

36

Page 37: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Modeling• Continuous system behavior

captured using “equations”– Generally modeled using

Ordinary Differential Equations• Faults are parametric only, i.e.,

modeled as changes in system parameters– E.g., R1+ = increase in resistance

R1 of Pipe 1– Since continuous system, there

are no discrete faults– Faults can be abrupt or incipient,

and persistent or intermittent

10/4/16 PHM 2016: Model-based Diagnostics 37

Pipe  12

Tank  2 Tank  3Tank  1

Pipe  23

Pipe  1 Pipe  2 Pipe  3

dm1/dt = u1-q1-q12p1 = m1/K1

m1 = ⎰dm1/dt

q1 = p1/R1q1* = q1

q12 = (p1-p2)/R12

Tank1 Pipe1 Pipe12

Page 38: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Continuous System Diagnosis: One Approach• Tackles fault detection, isolation, and identification problems• Assumes single, persistent parametric faults

– Can be either abrupt or incipient• Changes in parameter produces changes in system outputs w/r/t no parameter change

– Eventually all (causally related) sensors effected• Need to reason over those changes

– Have a model of how measurements should deviate given different possible faults – Noting the order in which different measurement deviations are observed can also give us clues about

the fault– Compare observed deviations to expected deviations for each fault candidate to diagnose true fault

3810/4/16 PHM 2016: Model-based Diagnostics

Observer

PlantQuantitative  Fault  Detection

Symbol  Generation

QualitativeFault  Isolation

Quantitative  Fault  Identification

+-­

)(ty

)(ˆ ty

)(tu)(ty

)(tr

!)(tr

Page 39: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Residual Generation and Fault Detection• Residual Generation

– Observer (eg, Kalman filter, unscented Kalman filter, particle filter) based on nominal local submodel computes nominal behavior as a reference

– Residual computed as measured value minus reference value• Fault Detection

– Nominally residual is approximately zero– Fault detected when residual deviation from zero is statistically significant– Usually there is a delay between fault occurrence and fault detection – cannot be avoided

10/4/16 PHM 2016: Model-based Diagnostics 39

Variance  Estimation

Mean  Estimation

Delay Buffer

kFault  Detection  Time

N2N1

Page 40: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Signatures• Once a fault is detected, each measurement is qualitatively represented

as symbols– 0 (at nominal), + (above nominal), and - (below nominal)

• Fault Signatures qualitatively capture the predicted effect of a fault on a measurement using the above symbols– All discriminatory evidence for fault isolation is provided by the first change in

residual from time of fault detection– This reduces the possible fault signatures to {(+ -), (- +), (0 +), (0 -)} – {(++), (--)} imply positive feedback and hence, unstable systems

10/4/16 PHM 2016: Model-based Diagnostics 40

r(t)

t

r(t)

tThreshold

Fault Fault

+- 0+

r(t)

t

r(t)

t

Fault Fault

-+ 0-

Fault p1 p3C1- +- 0+R2+ 0+ 0+C2- 0+ +-

Page 41: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Deriving Fault Signatures• Fault signatures are predictions of what the residuals will do in response to a fault

– This information is already captured in the model!– Need to extract it

• Start with a causal model• Example: For fault K1

-, the fault signature of q1* is +-.

10/4/16 PHM 2016: Model-based Diagnostics 41

dm1/dt = u1-q1-q12p1 = m1/K1

m1 = ⎰dm1/dtq1 = p1/R1q1* = q1

q12 = (p1-p2)/R12

K1decreases

p1increases

q1increases

q1*increases

dm1/dtdecreases

m1decreases

(first order)

p1decreases

(first order)

q1decreases

(first order)

q1* decreases

(first order)

Page 42: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Isolation• Faults are isolated by comparing the qualitative deviation in measurements with the predicted fault

signatures– Example: Consider fault set F = {C1

-,R2+,C2

-} and measurement set M = {p1, p3} all faults can be uniquely isolated

• Therefore, a system with faults F = {f1, … ,fl}, and measurements M = {m1, … ,mn}, is diagnosableif all single faults in F can be uniquely isolated using M– I.e., there is at least one distinguishing fault signature between fi and all other faults in the system.

10/4/16 PHM 2016: Model-based Diagnostics 42

Fault p1 p3C1- +- 0+R2+ 0+ 0+C2- 0+ +-Fault  Signature  Matrix

Page 43: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Isolation• Faults are isolated by comparing the qualitative deviation in measurements with the predicted fault

signatures– Example: Consider fault set F = {C1

-,R2+,C2

-} and measurement set M = {p1, p3} all faults can be uniquely isolated

• Therefore, a system with faults F = {f1, … ,fl}, and measurements M = {m1, … ,mn}, is diagnosableif all single faults in F can be uniquely isolated using M– I.e., there is at least one distinguishing fault signature between fi and all other faults in the system.

10/4/16 PHM 2016: Model-based Diagnostics 43

Fault p1 p3C1- +- 0+R2+ 0+ 0+C2- 0+ +-

r(t)

t

r(t)

tThreshold

Fault Fault

+- 0+

r(t)

t

r(t)

t

Fault Fault

-+ 0-

Pressure  p1Fault  Signature  Matrix

Page 44: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Isolation• Faults are isolated by comparing the qualitative deviation in measurements with the predicted fault

signatures– Example: Consider fault set F = {C1

-,R2+,C2

-} and measurement set M = {p1, p3} all faults can be uniquely isolated

• Therefore, a system with faults F = {f1, … ,fl}, and measurements M = {m1, … ,mn}, is diagnosableif all single faults in F can be uniquely isolated using M– I.e., there is at least one distinguishing fault signature between fi and all other faults in the system.

10/4/16 PHM 2016: Model-based Diagnostics 44

Fault p1 p3C1- +- 0+R2+ 0+ 0+C2- 0+ +-

r(t)

t

r(t)

tThreshold

Fault Fault

+- 0+

r(t)

t

r(t)

t

Fault Fault

-+ 0-

Pressure  p1

r(t)

t

r(t)

tThreshold

Fault Fault

+- 0+

r(t)

t

r(t)

t

Fault Fault

-+ 0-

Pressure  p3Fault  Signature  Matrix

Page 45: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Identification

• Parameter estimation problem– Identify new (fault) parameter value, given observed faulty behavior– Several algorithms solve this problem

• One approach:– Determine an estimation window

• Use data from before td (detection time) to t (current time)– Run an observer through that window, with the state vector augmented with

the fault parameter (joint state-parameter estimation)• Alternate approach– Derive submodel expressing unknown parameter as function of

known/measured variables

10/4/16 PHM 2016: Model-based Diagnostics 45

Page 46: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Hybrid Systems Diagnosis1. How do you model hybrid systems?2. How do you diagnose faults in hybrid systems?3. What are some practical considerations while diagnosing

hybrid systems?

46

Page 47: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Modeling• A hybrid system combines both

discrete event and continuous behavior– Discrete behavior captured by

different system modes and transitions between modes modeled using events

– Within each mode is a description of the continuous behavior

• In a component-based modeling paradigm, define modes at a component level– System-level modes defined by

specification of modes of each component

10/4/16 PHM 2016: Model-based Diagnostics 47

dm1/dt = u1-q1-q12p1 = m1/K1

m1 = ⎰dm1/dt

q1 = p1/R1q1* = q1

q12 = 0 q12 = (p1-p2)/R12

Tank1, mode 1 Pipe1, mode 1

Pipe12, mode 1

Pipe12, mode 2

open

close

Page 48: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Modeling

• Faults can be modeled as parameter changes (continuous part)– Termed parametric faults

• Faults can be modeled as events/modes (event-based part)– Termed discrete faults

• Modeling a fault as parametric or discrete is a modeling decision– Often, it makes more sense to model as one vs the other– For example, a switch going stuck closed can be modeled as a resistance

going in infinity– Or, a parameter changing to a new value could be modeled as a new

mode where the parameter has the new value

10/4/16 PHM 2016: Model-based Diagnostics 48

Page 49: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Mode Changes

• Transitions between modes can be specified in different ways• Mode transitions are typically classified as follows– Controlled mode changes are known/commanded mode changes• Example: turn valve on/off

– Autonomous mode changes are unobserved mode changes that are dependent on the system state• Example: flow through pipe depends on pipe height and water level in tank

• Autonomous mode changes can be difficult to deal with, because then it is difficult to track the hybrid system state

10/4/16 PHM 2016: Model-based Diagnostics 49

Page 50: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Fault Signatures

• We can derive fault signatures for each system mode– If the mode doesn’t change

during diagnosis, equivalent to continuous systems diagnosis

– If the mode does change, then we need to reason about what mode the system was in when the change occurred and if there was any observation delay (e.g., due to imperfect detectors)

10/4/16 PHM 2016: Model-based Diagnostics 50

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 6. Fault signatures and orderings for local submodelsfor mode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 7. Fault signatures and orderings for local submodelsfor mode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

quence of fault signatures that can be observed given the oc-currence of f in mode m.

Fault traces are grouped into fault languages.1

Definition 11 (Fault Language). The fault language for afault f and residual set R in mode m, denoted by Lf,R,m,is the set of all fault traces for f over R in m.

For the purposes of this paper, we assume that signatures andorderings are correctly observed.2

Assumption 3 (Correct Observation). If a fault f occurs in

1Fault languages can be automatically derived for certain classes of systemmodels (Daigle, 2008), obtained via simulation, or obtained experimentally.In this work, we assume that the fault languages are given as input.

2Relaxation of this assumption has been explored for continuous systemsin (Daigle, Roychoudhury, & Bregon, 2014).

Table 8. Fault signatures and orderings for local submodelsfor mode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 9. Fault signatures and orderings for local submodelsfor mode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 0+ ?

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

mode m, then if the system does not change mode after theoccurrence of the fault, the observed fault trace will belong toLf,R,m.

4.2. Hybrid Systems Diagnosis

For hybrid systems, fault signatures, residual orderings, faulttraces, and fault languages are a function of the system mode.If the mode does not change between the point of fault occur-rence and the diagnosis of the fault, then the problem reducesto the continuous systems case. Otherwise, we will observesome new trace that may not belong to any mode-specificfault language, i.e., it may be a trace that is composed of par-tial traces for a fault from the different modes encounteredduring diagnosis.

Example 7. For example, consider the global model residu-

7

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 6. Fault signatures and orderings for local submodelsfor mode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 7. Fault signatures and orderings for local submodelsfor mode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

quence of fault signatures that can be observed given the oc-currence of f in mode m.

Fault traces are grouped into fault languages.1

Definition 11 (Fault Language). The fault language for afault f and residual set R in mode m, denoted by Lf,R,m,is the set of all fault traces for f over R in m.

For the purposes of this paper, we assume that signatures andorderings are correctly observed.2

Assumption 3 (Correct Observation). If a fault f occurs in

1Fault languages can be automatically derived for certain classes of systemmodels (Daigle, 2008), obtained via simulation, or obtained experimentally.In this work, we assume that the fault languages are given as input.

2Relaxation of this assumption has been explored for continuous systemsin (Daigle, Roychoudhury, & Bregon, 2014).

Table 8. Fault signatures and orderings for local submodelsfor mode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 9. Fault signatures and orderings for local submodelsfor mode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 0+ ?

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

mode m, then if the system does not change mode after theoccurrence of the fault, the observed fault trace will belong toLf,R,m.

4.2. Hybrid Systems Diagnosis

For hybrid systems, fault signatures, residual orderings, faulttraces, and fault languages are a function of the system mode.If the mode does not change between the point of fault occur-rence and the diagnosis of the fault, then the problem reducesto the continuous systems case. Otherwise, we will observesome new trace that may not belong to any mode-specificfault language, i.e., it may be a trace that is composed of par-tial traces for a fault from the different modes encounteredduring diagnosis.

Example 7. For example, consider the global model residu-

7

Mode 0,0 Mode 1,0 Mode 0,1 Mode 1,1

Page 51: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Hybrid Systems Diagnosis: One Approach• Assume single faults• Assume all commanded mode

changes are observed• Assume observation delay is

bounded• Algorithm updates current diagnosis

set based on new observation and previous observation sequence– For all recent mode changes

• Check if current observed signature can start a fault trace in the mode, for the sublanguage of not-yet-deviated residuals

4 OCTOBER 2016 PHM 2016 51

Algorithm: Fault IsolationInputs: Current diagnosis, previous trace, new symbol, recent modesOutputs: New diagnosis• Set new diagnosis to empty set• For each recent mode• For each fault in the current diagnosis• If new symbol is consistent with

signatures in the new mode• Add fault to diagnosis• End if• End for• End for

Page 52: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Example: Diagnosis of Parametric Fault• Delay bounded by 5 s• 0.0 s: Mode [0,0]• 10.0 s: Mode [1,0]• 15.0 s: K1- occurs• Global

– Consider past two modes– 15.0 s: rq1* +- à {K1-}– 15.0 s: rq2* 0+ à {K1-}

4 OCTOBER 2016 PHM 2016 52

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

observed fault signature. This would be placed within a pro-gressive monitoring algorithm, that keeps track of the currentdiagnosis, and computes the set of recent modes based on thetimes events are observed.

4.3. Scalability

The complexity of the fault isolation algorithm is dependenton the number of faults, |F |, the number of residuals, |R|,and the number of modes, |M |. For the global model case,all faults, residuals, and modes in Mr,� must be searched.Because r is computed using the global model, it is a functionof the system-level mode. For an n-tank system, there aren�1 switching components and so 2n�1 system-level modes.Clearly, diagnosis in this case will not scale.

For the local submodel case, each residual is generated by aminimal submodel. Each minimal submodel has only a sin-gle residual that it produces, contains only a subset of thefaults, and has only a few modes. Thus, on average it willscale much better. The more decomposition can be achieved,the better it will scale. For an n-tank system, each residualrq⇤i for tank i will have at most 4 modes, because it dependsonly on the switching behavior of the two adjacent connect-ing pipes. So there will be at most 4 modes to search throughfor each residual deviation, compared to 2n�1 for the globalmodel case. Here, then, this scales linearly with the num-ber of tanks, not exponentially, and thus will have significantefficiency gains as the system size grows.

5. DEMONSTRATION OF APPROACH

In this section, we demonstrate the approach through someexample scenarios using the three-tank system. In each exper-iment, the system always starts in mode [0, 0], goes throughsome mode changes, and a fault is injected. The completeset of faults considered is that listed in Tables 3–6: 8 para-metric faults and 4 discrete faults. In each case, we comparethe performance of the global model approach and the localsubmodel approach.

The symbol generation approach described in (Daigle, Roy-choudhury, et al., 2010) is used, which uses the Z-test for sta-tistical fault detection and symbol generation. A window ofsamples is used to compute the mean, and thus can produce adelay that increases with window size. For the particular faultdetector settings, we consider the bounded observation delayto be � = 5 s.

In the first scenario, we consider the parametric fault K�1 . Ini-

tially, the system is in mode [0, 0], and moves to mode [1, 0]at 10.0 s. At 15.0 s, K�

1 occurs, with the value reducing by50%. For the global model residuals, we detect first +- inrq⇤1 at this time, along with 0+ in rq⇤2 . The signatures mayhave come from either of the past two modes, since the faultwas detected within 5.0 s of the first mode change. The only

0 5 10 15 20 25 30

Time (s)

0

0.5

1

rq∗ 1(kg/s)

← Mode Change

← Mode Change

← Fault Injected

(a) rq⇤1 .

0 5 10 15 20 25 30

Time (s)

0

0.05

0.1

0.15

0.2

0.25

rq∗ 2(kg/s)

← Mode Change

← Mode Change

← Fault Injected

(b) rq⇤2

0 5 10 15 20 25 30

Time (s)

0

0.02

0.04

0.06

0.08

0.1

rq∗ 3(kg/s)

← Mode Change

← Mode Change

← Fault Injected

Residual (Local)Residual (Global)

(c) rq⇤3

Figure 3. Residual values with a decrease in K1 at t = 15 s.

consistent fault is K�1 , for both of these modes. Then, the

system moves to mode [1, 1] at 20.0 s. With this second modechange, rq⇤3 becomes connected to the fault and so at 21.0 s,0+ is detected, which is still consistent with the diagnosis ofK�

1 . For the local submodel residuals, we observe only +-

in rq⇤1 . This residual’s submodel is different for the previoustwo modes, so both must be considered. Again, only K�

1 isconsistent, and is the diagnosis.

In the second example, we consider the discrete fault Pipeoff12.

Initially, the system is in mode [0, 0], and moves to mode[1, 0] at 10.0 s. At 15.0 s, Pipeoff

12 occurs. In the global modelresiduals, we see first 0+ in rq⇤1 and 0- in rq⇤2 at 16.0 s. Inthis case only mode [1, 0] needs to be considered as the modein which the fault occurred, and these signatures are consis-tent only with Pipeoff

12. For the local submodel residuals, weobserve the same signatures and reach the same conclusion.

In the third example, we consider the parametric fault R+2,3.

9

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

Mode  [0,0] Mode  [1,0]

Page 53: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Example: Diagnosis of Discrete Fault• Delay bounded by 5 s• 0.0 s: Mode [0,0]• 10.0 s: Mode [1,0]• 15.0 s: Pipe12off occurs• Global– Consider past two

modes– 16.0 s: rq1* 0+ à

{Pipe12off}– 16.0 s: rq2* 0- à

{Pipe12off}

4 OCTOBER 2016 PHM 2016 53

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

0 5 10 15 20 25 30

Time (s)

0

0.1

0.2

0.3

0.4

rq∗ 1(kg/s)

← Mode Change

← Mode Change

← Fault Injected

(a) rq⇤1 .

0 5 10 15 20 25 30

Time (s)

-0.4

-0.3

-0.2

-0.1

0

rq∗ 2(kg/s)

← Mode Change

← Mode Change

← Fault Injected

(b) rq⇤2

0 5 10 15 20 25 30

Time (s)

-0.15

-0.1

-0.05

0

rq∗ 3(kg/s)

← Mode Change

← Mode Change

← Fault Injected

Residual (Local)

Residual (Global)

(c) rq⇤3

Figure 4. Residual values with Pipeoff12 at t = 15 s.

Initially, the system is in mode [0, 0], and moves to mode[0, 1] at 10.0 s, and [1, 1] at 12.0 s. At 15.0 s, R+

2,3 occurs,doubling in value. Here, we consider � = 6 s. At 16.0 s, 0+in rq⇤2 and 0- in rq⇤3 are detected in the global model resid-uals, and both modes [0, 1] and [1, 1] must be considered. Inboth cases, both R+

2,3 and Pipeoff12 are consistent, and cannot

be distinguished further. For the local submodel residuals, 0+in rq⇤2 and 0- in rq⇤3 are detected at 16.0 s. Because the localsubmodel for rq⇤2 only changes modes to to Pipe23, which hasnot changed in the last � = 6 s, only the last known systemmode needs to be considered. The diagnosis is the same as inthe global model case, but it is arrived at with less computa-tion (fewer searches over past modes).

In the fourth example, we consider the discrete fault Pipeon12.

Initially, the system is in mode [0, 0], and moves to mode[1, 0] at 10.0 s, and then to [1, 1] at 15.0 s. At 17.0 s, Pipeon

12

occurs. In this mode, however, it is not observable because

0 5 10 15 20 25 30

Time (s)

-0.02

-0.01

0

0.01

0.02

rq∗ 1(kg/s)

← Mode Change← Mode Change

← Fault Injected

(a) rq⇤1 .

0 5 10 15 20 25 30

Time (s)

0

0.02

0.04

0.06

rq∗ 2(kg/s)

← Mode Change

← Mode Change

← Fault Injected

(b) rq⇤2

0 5 10 15 20 25 30

Time (s)

-0.1

-0.08

-0.06

-0.04

-0.02

0

rq∗ 3(kg/s)

← Mode Change

← Mode Change

← Fault Injected

Residual (Local)

Residual (Global)

(c) rq⇤3

Figure 5. Residual values with an increase in R2,3 at t = 15 s.

Pipe12 is already on. At 20.0 s, the system changes to mode[0, 1]. At this point, the fault becomes observable. In both theglobal model and local submodel residuals we observe 0- inrq⇤1 and 0+ in rq⇤2 , consistent only with Pipeon

12. At 23.0 s, 0+is observed in rq⇤3 for the global model residuals, confirmingthe diagnosis.

6. RELATED WORK

During the last decade or so, modeling and diagnosis for hy-brid systems have been an important topic of researchers fromboth the FDI and DX communities. In the FDI community,several hybrid system diagnosis approaches have been devel-oped. In (Cocquempot, El Mezyani, & Staroswiecki, 2004),parameterized ARRs are used. However, the approach is notsuitable for systems with high nonlinearities or a large setof modes. In the DX community, some approaches haveused different kind of automata to model the complete setof modes and transitions between them. In those cases, the

10

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2016

Table 2. Fault signatures and orderings for global model formode [0, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 00 q⇤1 � q⇤3 , q⇤2 � q⇤3

Pipeon23 00 0- 0+ q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeoff23 00 00 00 ?

orderings for a fault f over residuals R in mode m is denotedas ⌦f,R,m.

Table 3. Fault signatures and orderings for global model formode [0, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 00 +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

K�3 00 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 00 00 q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 00 00 00 ?

R+2 00 -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤3 � q⇤1

R+23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

R+3 00 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeon12 0- 0+ 0+ q⇤2 � q⇤3

Pipeoff23 00 0+ 0- q⇤2 � q⇤1 , q⇤3 � q⇤1

Pipeoff12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 5. Tables 2–5 show the fault signatures and order-ings for the four modes of the tank system for the globalmodel residuals. For example, in mode [0, 1], R+

3 will cause a-+ in rq⇤3 , i.e., a decrease in magnitude and increase in slope.Then on rq⇤2 it will cause 0+, i.e, no change in magnitudeand an increase in slope. In this mode, the first tank is de-coupled since the connecting pipe is turned off, so no effecton rq⇤1 will be observed. In the same mode, the fault Pipeon

12

will connect the first and second tanks, and so we will see 0-on rq⇤1 (since now flow is also exiting through the connect-ing pipe), 0+ on rq⇤2 , and 0+ on rq⇤3 (since flow is enteringthrough the connecting pipe into the second tank).

Table 4. Fault signatures and orderings for global model formode [1, 0].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

K�3 00 00 +- q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 00 q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

R+2 0+ -+ 00 q⇤2 � q⇤3 , q⇤2 � q⇤1 , q⇤1 � q⇤3

R+23 00 00 00 ?

R+3 00 00 -+ q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 00 q⇤2 � q⇤3 , q⇤1 � q⇤3

Pipeon23 0- 0- 0+ q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeoff23 00 00 00 ?

Table 5. Fault signatures and orderings for global model formode [1, 1].

Fault q⇤1 q⇤2 q⇤3 Residual OrderingsK�

1 +- 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

K�2 0+ +- 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

K�3 0+ 0+ +- q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

R+1 -+ 0+ 0+ q⇤2 � q⇤3 , q⇤1 � q⇤2 , q⇤1 � q⇤3

R+12 0+ 0- 0- q⇤2 � q⇤3

R+2 0+ -+ 0+ q⇤2 � q⇤3 , q⇤2 � q⇤1

R+23 0+ 0+ 0- q⇤2 � q⇤1

R+3 0+ 0+ -+ q⇤2 � q⇤1 , q⇤3 � q⇤2 , q⇤3 � q⇤1

Pipeoff12 0+ 0- 0- q⇤2 � q⇤3

Pipeoff23 0+ 0+ 0- q⇤2 � q⇤1

Pipeon12 00 00 00 ?

Pipeon23 00 00 00 ?

Example 6. Tables 6–9 show the fault signatures and or-derings for the four modes of the tank system for the localsubmodel residuals. Consider the fault K�

2 . In [0, 1], it willcause +- on rq⇤2 . No other residuals will be affected, since thefault is decoupled from them due to the decomposition. In theglobal model residuals, however, an additional residual (thatfor q⇤3) will deviate. In the same mode, the fault Pipeon

12 willconnect the first and second tanks, and so we will see 0- onrq⇤1 and 0+ on rq⇤2 . We will not see any change in rq⇤3 , sincethe submodel generating that residual is decoupled from thatmode change.

A single sequence of fault signatures is termed a fault trace.

Definition 10 (Fault Trace). A fault trace for a fault f overa set of residuals R in mode m, denoted by �f,R,m, is a se-

6

Mode  [0,0] Mode  [1,0]

Page 54: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Distributed Diagnosis1. Why distributed diagnosis?2. Global vs local diagnosability3. A distributed diagnosis approach

54

Page 55: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Why Distributed?

• Centralized diagnosis schemes have some issues– Expensive in memory and computational requirements– Poorly scalable– Contain single points of failure

• Distributed diagnosis schemes address these issues• One can distribute all aspects of diagnosis– Distributed detection– Distribute isolation– Distributed identification

10/4/16 PHM 2016: Model-based Diagnostics 55

Page 56: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

What Does ‘Distributed’ Mean?• Model-based diagnosis approaches broadly

classified into – Centralized

• Construct single diagnoser from global system model– Decentralized

• Use a global system model but distribute diagnosis computations among multiple local diagnosers

• Local diagnosis decisions are based on subset of observations and these decisions are communicated to other diagnosers or to a central coordinator– Use global model to generate globally consistent results

– Distributed• Uses subsystem models and assume global model is

unknown• Local diagnosers for each subsystem communicate their

diagnosis results to each other to arrive at the global solution

10/4/16 PHM 2016: Model-based Diagnostics 56

Page 57: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Global vs Local Diagnosability

• Local diagnosability– Faults in a subsystem can be

diagnosable from other faults in the same subsystem

• Global diagnosability– Faults in a subsystem can be

diagnosable from all other faults in the system

10/4/16 PHM 2016: Model-based Diagnostics 57

Fault pTank1 qPipe1 pTank2 qPipe2C1- +- +- 0+ 0+R12+ 0+ 0+ 0- 0-C2- 0+ 0+ +- +-R23+ 0+ 0+ 0+ 0+

Fault pTank1 qPipe1 pTank2 qPipe2C1- +- +- 0+ 0+R12+ 0+ 0+ 0- 0-C2- 0+ 0+ +- +-R23+ 0+ 0+ 0+ 0+

Page 58: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

10/4/16 58

Distributed Diagnosis: Our Approach• We want to distribute the diagnosis task into subtasks that can be executed on separate

processors• The (composed) global system model is analyzed offline to design distributed local diagnosers

which generate globally correct diagnosis results – Without any coordination– With minimal or no exchange of information amongst themselves– Only observations are exchanged, if at all. No results are exchanged

• Design Problem1: Given the partition structure of the system, construct a local diagnoserfor each known subsystem such that they require minimal information exchange amongst themselves

• Design Problem 2: Assuming no knowledge of subsystem partition, simultaneously construct subsystem partition + local diagnoser for each subsystem such that no information exchange between diagnosers is required for generating correct diagnosis results

PHM 2016: Model-based Diagnostics

Page 59: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Minimizing Shared Measurements – Algorithm 1• This algorithm is useful for designing diagnosis schemes in practical distributed systems with known

partition structure• Given the prior knowledge of a subsystem Si with faults, Fi, and measurements, Mi

– We identify the faults that are not globally diagnosable given Mi– Search for a minimal number of additional measurements that will make these faults globally diagnosable, giving

preference to measurements from nearer subsystems

10/4/16 PHM 2016: Model-based Diagnostics 59

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

({C1,  R12},{p1,  q1,  p2})({C2,  R23},{p2,  q2,  p3})

({C3,  R34},{p3,  q3,  p4})({C4,  R45},{p4,  q4,  p5})

({C5,  R56},{p5,  q5,  p6})

({C6},{p6,  q6})  

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Pipe%45

Tank%5 Tank%6Tank%4

Pipe%56

Pipe%4 Pipe%5 Pipe%6

Pipe%34

Page 60: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Minimizing Shared Measurements – Algorithm 1• This algorithm is useful for designing diagnosis schemes in practical distributed systems with known

partition structure• Given the prior knowledge of a subsystem Si with faults, Fi, and measurements, Mi

– We identify the faults that are not globally diagnosable given Mi– Search for a minimal number of additional measurements that will make these faults globally diagnosable, giving

preference to measurements from nearer subsystems

10/4/16 PHM 2016: Model-based Diagnostics 60

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

({C1,  R12},{p1,  q1,  p2})({C2,  R23},{p2,  q2,  p3})

({C3,  R34},{p3,  q3,  p4})({C4,  R45},{p4,  q4,  p5})

({C5,  R56},{p5,  q5,  p6})

({C6},{p6,  q6})  

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Pipe%45

Tank%5 Tank%6Tank%4

Pipe%56

Pipe%4 Pipe%5 Pipe%6

Pipe%34

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

Page 61: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Minimizing Shared Measurements – Algorithm 1• This algorithm is useful for designing diagnosis schemes in practical distributed systems with known

partition structure• Given the prior knowledge of a subsystem Si with faults, Fi, and measurements, Mi

– We identify the faults that are not globally diagnosable given Mi– Search for a minimal number of additional measurements that will make these faults globally diagnosable, giving

preference to measurements from nearer subsystems

10/4/16 PHM 2016: Model-based Diagnostics 61

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

({C1,  R12},{p1,  q1,  p2})({C2,  R23},{p2,  q2,  p3})

({C3,  R34},{p3,  q3,  p4})({C4,  R45},{p4,  q4,  p5})

({C5,  R56},{p5,  q5,  p6})

({C6},{p6,  q6})  

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Pipe%45

Tank%5 Tank%6Tank%4

Pipe%56

Pipe%4 Pipe%5 Pipe%6

Pipe%34

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

Page 62: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Minimizing Shared Measurements – Algorithm 2• This algorithm is more open-ended and designs distributed diagnosers based on diagnosability and efficiency criteria• Assumes no knowledge of subsystem partition • Simultaneously constructs subsystem partition + local diagnoser for each subsystem• We partition sets F and M into subsets, F1, F2, …, Fn and M1, M2, …, Mn such that each Fi is globally diagnosable using Mi

– Therefore no information is exchanged between diagnosers

10/4/16 PHM 2016: Model-based Diagnostics 62

Fault p1 q1 p2 q2 p3 q3 p4 q4 p5 q5 p6 q6C1- +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R12+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0- 0- 0-

C2- 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+

R23+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0- 0- 0-

C3- 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+ 0+ 0+

R34+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0- 0- 0-

C4- 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+ 0+ 0+

R45+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0- 0- 0-

C5- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +- 0+ 0+

R56+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0- 0-

C6- 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ +- +-

({C1},{p1})

({C2,  R12},{p2})

({C3,  R23},{p3,  q2})

({C4,  R34},{p4,  q3})

({C5,  R45},{p5,  q4})

({C6},{q6})

({R56},{p6,q5})  

Pipe%12

Tank%2 Tank%3Tank%1

Pipe%23

Pipe%1 Pipe%2 Pipe%3

Pipe%45

Tank%5 Tank%6Tank%4

Pipe%56

Pipe%4 Pipe%5 Pipe%6

Pipe%34

Page 63: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Distributed Diagnosers

• The different diagnosers are independently run on the different processors– A distributed Extended Kalman Filter implementation provides each

distributed diagnoser with a distributed observer• Since the faults for each diagnoser forms a partition of the global

fault set, a global diagnosis result is obtained when:– All measurements for a local diagnoser have deviated and the fault

hypothesis set is reduced to a singleton fault set, or,– A local diagnoser’s hypothesis set is reduced to a singleton but all of its

measurements have not deviated, and all other diagnosers produce a null hypothesis, i.e., their candidate sets are empty

10/4/16 PHM 2016: Model-based Diagnostics 63

Page 64: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Conclusions1. Challenges2. Open problems

64

Page 65: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Challenges

• Modeling!– At what level of abstraction should one model?– How to combine results from different levels of abstractions?

• Online simulation– Problems with dynamic systems: initial conditions

• What is the source of complexity?– Complex systems or large systems (# components)– Exponential number of multiple fault candidates

10/4/16 PHM 2016: Model-based Diagnostics 65

Adapted from Anibal Bregon’s talk on “Consistency-Based Diagnosis” at PHME14, Nantes, France.

Page 66: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Open Problems

• Integration of model-based diagnosis–With other diagnosis techniques–With other tasks, such as prognostics, re-configuration, repair,

monitoring, supervision, …– Model-based diagnosis in the product life-cycle

• Re-usable model libraries

6610/4/16 PHM 2016: Model-based Diagnostics

Adapted from Anibal Bregon’s talk on “Consistency-Based Diagnosis” at PHME14, Nantes, France.

Page 67: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Selected Bibliography• Armengol, J., Bregon, A., Escobet, T., Gelso, E., Krysander, M., Nyberg, M., Olive, X., Pulido, B., and Travé-

Massuyès, L. Minimal Structurally Overdetermined sets for residual generation: A comparison of alternative approaches. In Proceedings of the 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes, SAFEPROCESS09, pages 1480–1485, Barcelona, Spain, 2009.

• Blanke, M., Kinnaert, M., Lunze, J., and Staroswiecki, M. Diagnosis and FaultTolerant Control. Springer, 2006. • Biswas, G., Cordier, M., Lunze, J., Travé-Massuyè, L., and Staroswiecki, M. Diagnosis of complex systems:

bridging the methodologies of the FDI and DX communities. IEEE Trans. on Systems, Man, and Cybernetics. Part B: Cybernetics, 34(5):2159–2162, 2004.

• Cordier, M., Dague, P., Lévy, F., Montmain, J., Staroswiecki, M., and Travé- Massuyès, L. Conflicts versus Analytical Redundancy Relations: a comparative analysis of the Model-based Diagnosis approach from the Artificial Intelligence and Automatic Control perspectives. IEEE Trans. on Systems, Man, and Cybernetics. Part B: Cybernetics, 34(5):2163–2177, 2004.

• Guckenbiehl, T. and Schaefer-Richter, G. SIDIA: Extending prediction based diagnosis to dynamic models. In Proceedings of the 1st International Workshop on Principles of Diagnosis, DX90, pages 74–82, Stanford, California, USA, 1990.

10/4/16 PHM 2016: Model-based Diagnostics 67

Page 68: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Selected Bibliography• Krysander, M., Aslund, J., and Nyberg, M. An Efficient Algorithm for Finding Minimal Over-constrained Sub-systems for

Model-based Diagnosis. IEEE Trans. on Systems, Man, and Cybernetics. Part A: Systems and Humans, 38(1):197–206, 2008. • Loiez, E. and Taillibert, P. Polynomial temporal band sequences for analog diagnosis. In Proceedings of the 15th International

Joint Conference on Artificial Intelligence, IJCAI97, pages 474–479, Nagoya, Japan, 1997. • Mosterman, P. and Biswas, G. Diagnosis of continuous valued systems in transient operating regions. IEEE Transactions on

Systems, Man, and Cybernetics, 29(6):554– 565, 1999. • Staroswiecki, M. Fault Diagnosis and Fault Tolerant Control, chapter Structural Analysis for Fault Detection and Isolation

and for Fault Tolerant Control. Encyclopedia of Life Support Systems. Eolss Publishers, Oxford, UK, 2002. • Struss, P. Model-based diagnosis for industrial applications. In ColloquiumApplications of Model-based Reasoning, Savoy

Place, London, United Kingdom. Institute of Electrical Engineers (IEE), 1997. • Travé-Massuyès, L. and Milne, R. Gas-Turbine Condition Monitoring Using Qualitative Model-Based Diagnosis. IEEE Expert,

12(3):22–31, 1997.• I. Roychoudhury, G. Biswas, and X. Koutsoukos, "Designing Distributed Diagnosers for Complex Continuous Systems,"

IEEE Transactions on Automation Science and Engineering, vol. 6, no. 2, pp. 277-290, April 2009.• I. Roychoudhury, M. Daigle, A. Bregon, and B. Pulido, "A Structural Model Decomposition Framework for Systems Health

Management," in Proceedings of the 2013 IEEE Aerospace Conference, March 2013.• A. Bregon, M. Daigle, and I. Roychoudhury, "An Integrated Framework for Model-Based Distributed Diagnosis and

Prognosis," in Proceedings of the Annual Conference of the Prognostics and Health Management Society 2012, Minneapolis, MN, September 2012.

• I. Roychoudhury, G. Biswas, and X. Koutsoukos, "Distributed Diagnosis in Uncertain Environments Using Dynamic Bayesian Networks," in Proceedings of the 18th Mediterranean Conference on Control and Automation (MED'10), Marrakech, Morocco, June 2010.

10/4/16 PHM 2016: Model-based Diagnostics 68

Page 69: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Selected Bibliography• Travé-Massuyés, L., Escobet, T., and Olive, X. Diagnosability analysis based on component supported analytical redundancy relations. IEEE

Trans. Syst. Man Cy. A., 36(6), 2006. • Washio, T., Sakuma, M., and Kitamura, M. A new approach to quantitative and credible diagnosis for multiple faults of components and sensors.

Artificial Intelligence, 91(1):103–130, 1997. • Williams, B. and Millar, B. Automated decomposition of Model-based Learning Problems. In Proceedings of the 7th International Workshop on

Principles of Diagnosis, DX96, pages 258–266, Val Morin, Quebec, Canada, 1996. • Williams, B. and Millar, B. Decompositional Model-based Learning and its analogy to diagnosis. In Proceedings of the 15th National Conference

on Artificial Intelligence, AAAI98, Madison, Wisconsin, USA, 1998.• M. Daigle, A. Bregon, X. Koutsoukos, G. Biswas, and B. Pulido, "A Qualitative Event-based Approach to Multiple Fault Diagnosis in Continuous

Systems using Structural Model Decomposition," Engineering Applications of Artificial Intelligence, vol. 53, pp. 190-206, August 2016.• M. Daigle, I. Roychoudhury, and A. Bregon, "Qualitative Event-based Diagnosis Applied to a Spacecraft Electrical Power Distribution

System," Control Engineering Practice, vol. 38, pp. 75-91, May 2015.• M. Daigle, A. Bregon, and I. Roychoudhury, "Distributed Prognostics Based on Structural Model Decomposition," IEEE Transactions on

Reliability, vol. 63, no. 2, pp. 495-510, June 2014.• A. Bregon, M. Daigle, I. Roychoudhury, G. Biswas, X. Koutsoukos, and B. Pulido, "An Event-based Distributed Diagnosis Framework using

Structural Model Decomposition," Artificial Intelligence, vol. 210, pp. 1-35, May 2014.• M. Daigle, X. Koutsoukos, and G. Biswas, "An Event-based Approach to Integrated Parametric and Discrete Fault Diagnosis in Hybrid

Systems," Transactions of the Institute of Measurement and Control, Special Issue on Hybrid and Switched Systems, vol. 32, no. 5, pp. 487-510, October 2010.

• M. Daigle, I. Roychoudhury, G. Biswas, X. Koutsoukos, A. Patterson-Hine, and S. Poll, "A Comprehensive Diagnosis Methodology for Complex Hybrid Systems: A Case Study on Spacecraft Power Distribution Systems," IEEE Transactions of Systems, Man, and Cybernetics, Part A, Special Section on Model-based Diagnosis: Facing Challenges in Real-world Applications, vol. 4, no. 5, pp. 917-931, September 2010.

• M. Daigle, X. Koutsoukos, and G. Biswas, "A Qualitative Event-based Approach to Continuous Systems Diagnosis," IEEE Transactions on Control Systems Technology, vol. 17, no. 4, pp. 780-793, July 2009.

10/4/16 PHM 2016: Model-based Diagnostics 69

Page 70: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Additional Information Sources• Conferences

– PHM: http://www.phmsociety.org/ – DX: http://www.dx-2016.org/ – IJCAI: http://ijcai.org/ – Safeprocess (part of IFAC organization): http://safeprocess15.sciencesconf.org/– IFAC world conference: http://www.ifac2014.org/

• Journals – Artificial Intelligence Journal – International Journal of the PHM Society (IJPHM) – Journal of AI Research – IEEE Transactions On Systems, Man and Cybernetics – AI Communications – Control Engineering Practice – Engineering Application on Artificial Intelligence– …

7010/4/16 PHM 2016: Model-based Diagnostics

Adapted from Anibal Bregon’s talk on “Consistency-Based Diagnosis” at PHME14, Nantes, France.

Page 71: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

Acknowledgements• Diagnostics and Prognostics Group, NASA Ames Research Center– Kai Goebel, Scott Poll, Edward Balaban, Chetan Kulkarni, Shankar Sankararaman,

Adam Sweet, Lilly Spirkovska, Chris Teubert, George Gorospe, Ann Patterson-Hine

• Former NASA– Abhinav Saxena, Jose Celaya, Sriram Narasimhan

• Vanderbilt University – Gautam Biswas, Xenofon Koutsoukos

• University of Valladolid, Spain– Anibal Bregon, Belarmino Pulido, Carlos J Alonso-Gonzalez

• Some of the slides have been adapted from Anibal Bregon’s talk on “Consistency-Based Diagnosis” at PHME14, Nantes, France.

7110/4/16 PHM 2016: Model-based Diagnostics

Page 72: PHM16 Diagnostics Tutorial-v1.0-forPDF · Diagnostics & Prognostics Group, Intelligent Systems Division NASA Ames Research Center. Objectives of This Tutorial • What is meant by

10/4/16 PHM 2016: Model-based Diagnostics 72