SLIDE 1
Diagnosis (01) Definitions Alban Grastien - - PowerPoint PPT Presentation
Diagnosis (01) Definitions Alban Grastien - - PowerPoint PPT Presentation
Diagnosis (01) Definitions Alban Grastien alban.grastien@rsise.anu.edu.au Presentation 1 Modeling of a diagnosis problem 2 Formal definition of diagnosis 3 Presentation 1 Diagnosis problem Diagnosis as a logic problem Model-Based
SLIDE 2
SLIDE 3
1
Presentation Diagnosis problem Diagnosis as a logic problem Model-Based Diagnosis
2
Modeling of a diagnosis problem
3
Formal definition of diagnosis
SLIDE 4
Diagnosis problem
Given
a system a set of observations
Goal
find if a problem happens, and if yes which one restore a good behavior
SLIDE 5
Example: car
System: Observations: the car does not start Possible diagnoses: the battery does not work, the starter is broken, the car is out of petrol, etc. Possible repair: first, test plan to discriminate between the diagnoses (check the battery, etc.)
SLIDE 6
Example: human body
System: Observations: Fever (40 degrees), headache Possible diagnoses: cold, migraine Possible repair: take three pills per day
SLIDE 7
Deduction
Famous syllogism of Aristotle: Socrates is a man Every man is mortal Deduction
Socrates is mortal
SLIDE 8
Abduction
Every man is mortal Socrates is mortal Abduction
Socrates is a man (eg. Sherlock Holmes)
SLIDE 9
Abduction
Every man is mortal Socrates is mortal Abduction
Socrates is a man (eg. Sherlock Holmes)
Every duck is mortal Socrates is mortal Abduction
Socrates is a duck
SLIDE 10
Abduction
Every man is mortal Socrates is mortal Abduction
Socrates is a man (eg. Sherlock Holmes)
Every duck is mortal Socrates is mortal Abduction
Socrates is a duck
Every ET is mortal But ETs do not exist Not an abduction
Socrates is an ET
SLIDE 11
Induction
Socrates is a man Socrates is mortal Induction
Every man is mortal Every mortal is a man No man but Socrates is mortal etc.
SLIDE 12
What is diagnosis?
Deduction? Abduction? Induction?
SLIDE 13
What is diagnosis?
Deduction Abduction Induction
SLIDE 14
Expert Diagnosis vs Model-based Diagnosis
Expert Diagnosis
Need an expertise (human experience, logs from past experience, etc.) Efficient: direct mapping from the observations to the diagnosis
Model-based Diagnosis
Need a model of the system Robust Justification
SLIDE 15
Historical
Heuristic approaches
Expert systems (70)
Approaches of static systems based on model (80) Approaches of dynamic systems based on model (90) Approches of reconfigurable systems based on model (00)
SLIDE 16
Historical
Heuristic approaches
Expert systems (70)
Approaches of static systems based on model (80) Approaches of dynamic systems based on model (90) Approches of reconfigurable systems based on model (00)
SLIDE 17
Static system
System whose state does not depend on the previous states Example: Davis Circuit
mult-1 mult-2 mult-3 add-1 add-2 A B C D E X Y Z F G
A = 2 B = 3 C = 3 D = 2 E = 2 F = 10 G =12
SLIDE 18
1
Presentation
2
Modeling of a diagnosis problem
3
Formal definition of diagnosis
SLIDE 19
Model
Knowledge about “how the world works” [Russel and Norvig, 2003]
SLIDE 20
Model
Knowledge about “how the world works” [Russel and Norvig, 2003] Mathematical representation of the behavior of the environment that enables to simulate it. [Grastien, 2005]
SLIDE 21
Model of a diagnosis problem
A system model is a couple (SD, COMP) where
SD is a set of first-order logic sentences describing the behavior of the system COMP is a set of constants, a constant = one component
An observed system is a tuple (SD, COMP, OBS) where
(SD, COMP) is a system model OBS is the set of observations
SLIDE 22
Model – example
mult-1 mult-2 mult-3 add-1 add-2 A B C D E X Y Z F G
COMP = {a1, a2, m1, m2, m3}
SLIDE 23
Model – example
mult-1 mult-2 mult-3 add-1 add-2 A B C D E X Y Z F G
Adder (SD):
Add(x)∧¬Ab(x)∧In1(x, u)∧In2(x, v)∧Sum(u, v, w) ⇒ Out(x, w) Add(x)∧¬Ab(x)∧In1(x, u)∧Out(x, w)∧Sum(u, v, w) ⇒ In2(x, v) Add(x)∧¬Ab(x)∧In2(x, v)∧Out(x, w)∧Sum(u, v, w) ⇒ In1(x, u)
Multiplier (SD):
Mult(x)∧¬Ab(x)∧In1(x, u)∧In2(x, v)∧Prod(u, v, w) ⇒ Out(x, w) Mult(x)∧¬Ab(x)∧In1(x, u)∧Out(x, w)∧Prod(u, v, w) ⇒ In2(x, v) Mult(x)∧¬Ab(x)∧In2(x, v)∧Out(x, w)∧Prod(u, v, w) ⇒ In1(x, u)
SLIDE 24
Model – example
mult-1 mult-2 mult-3 add-1 add-2 A B C D E X Y Z F G
Component types (SD)
Add(a1), Add(a2), Mult(m1), Mult(m2), Mult(m3)
Connections (SD)
Out(m1, u) ∧ In1(a1, v) ⇒ u = v Out(m2, u) ∧ In2(a1, v) ⇒ u = v Out(m2, u) ∧ In1(a2, v) ⇒ u = v Out(m3, u) ∧ In2(a2, v) ⇒ u = v Out(m1, u) ∧ In1(m3, v) ⇒ u = v
SLIDE 25
Observations
OBS is a set of atomic sentences each atomic sentence represents an observation
mult-1 mult-2 mult-3 add-1 add-2 A B C D E X Y Z F G
In1(m1, 3), In2(m1, 2) In1(m2, 2), In2(m2, 3) In1(m3, 2), In2(m3, 3) Out(a1, 10), Out(a2, 12)
SLIDE 26
1
Presentation
2
Modeling of a diagnosis problem
3
Formal definition of diagnosis
SLIDE 27
State
A state of the system (SD, COMP) is the Ab-clause denoted Φ∆ where ∆ ⊆ COMP defined by:
- c∈COMP\∆
(¬Ab(c)) ∧
- c∈∆
(Ab(c)) The components in ∆ have an abnormal behavior (they are faulty)
SLIDE 28
State
A state of the system (SD, COMP) is the Ab-clause denoted Φ∆ where ∆ ⊆ COMP defined by:
- c∈COMP\∆
(¬Ab(c)) ∧
- c∈∆
(Ab(c)) The components in ∆ have an abnormal behavior (they are faulty) ∆ = {a1, a2}
Ab(a1) ∧ Ab(a2) ∧ ¬Ab(m1) ∧ ¬Ab(m2) ∧ ¬Ab(m3)
SLIDE 29
State
A state of the system (SD, COMP) is the Ab-clause denoted Φ∆ where ∆ ⊆ COMP defined by:
- c∈COMP\∆
(¬Ab(c)) ∧
- c∈∆
(Ab(c)) The components in ∆ have an abnormal behavior (they are faulty) ∆ = {a1, a2}
Ab(a1) ∧ Ab(a2) ∧ ¬Ab(m1) ∧ ¬Ab(m2) ∧ ¬Ab(m3)
∆ = {}
¬Ab(a1) ∧ ¬Ab(a2) ∧ ¬Ab(m1) ∧ ¬Ab(m2) ∧ ¬Ab(m3)
SLIDE 30
State
A state of the system (SD, COMP) is the Ab-clause denoted Φ∆ where ∆ ⊆ COMP defined by:
- c∈COMP\∆
(¬Ab(c)) ∧
- c∈∆
(Ab(c)) The components in ∆ have an abnormal behavior (they are faulty) ∆ = {a1, a2}
Ab(a1) ∧ Ab(a2) ∧ ¬Ab(m1) ∧ ¬Ab(m2) ∧ ¬Ab(m3)
∆ = {}
¬Ab(a1) ∧ ¬Ab(a2) ∧ ¬Ab(m1) ∧ ¬Ab(m2) ∧ ¬Ab(m3)
∆ = {a1, a2, m1, m2, m3}
Ab(a1) ∧ Ab(a2) ∧ Ab(m1) ∧ Ab(m2) ∧ Ab(m3)
SLIDE 31
Definition of diagnosis
A diagnosis of the observed system (COMP, SD, OBS) is a state Φ∆ such that SD ∧ OBS ∧ Φ∆ is satisfiable (consistent)
SLIDE 32
Definition of diagnosis
A diagnosis of the observed system (COMP, SD, OBS) is a state Φ∆ such that SD ∧ OBS ∧ Φ∆ is satisfiable (consistent) The state is possible according to (SD, COMP, OBS)
SLIDE 33
Definition of diagnosis
A diagnosis of the observed system (COMP, SD, OBS) is a state Φ∆ such that SD ∧ OBS ∧ Φ∆ is satisfiable (consistent) The state is possible according to (SD, COMP, OBS) A diagnosis exists if SD ∧ OBS is satisfiable. If not, the model is either not well-designed
- r incomplete
SLIDE 34
Abnormal observations
The observations are abnormal if SD ∧ OBS ∧ Φ∅ is not satisfiable
SLIDE 35