fault diagnosis for an unknown plant - techlavtechlav.ncat.edu/presentations/fault diagnosis...

48
North Carolina Agricultural and Technical State University Our Websites: techlav.ncat.edu accesslab.net Fault Diagnosis for an Unknown Plant Mohammad Mahdi Karimi Second year PhD. Candidate, ECE Supervisor: Dr Ali Karimoddini November 2015 [email protected]

Upload: others

Post on 10-Aug-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

North Carolina Agricultural and Technical State University

Our Websites:techlav.ncat.eduaccesslab.net

Fault Diagnosis for an

Unknown PlantMohammad Mahdi KarimiSecond year PhD. Candidate, ECE

Supervisor: Dr Ali Karimoddini

November 2015

[email protected]

Page 2: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

On October 28, 2014, 6:22 p.m. (EST),

Orbital ATK launched its Orb-3 cargo from

NASA’s Flight Facility in Virginia.

Just over 15 seconds into flight, an

explosion in the Main Engine System (MES)

occurred, causing the vehicle to lose thrust

and fall back toward the ground.

Antares Failure during Orb-3 Launch (Oct 28, 2014):

Motivation

Page 3: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

National Aeronautics and Space Administration (NASA). "Nasa Independent Review Team Orb – 3 Accident Investigation Report (Executive

Summary)." http://www.nasa.gov/sites/default/files/atoms/files/orb3_irt_execsumm_0.pdf.

Orb–3 Accident Investigation Report :

October 9, 2015

MOTIVATION

In November 2014, the NASA Associate Administrator established the

Independent Review Team IRT to investigate the Orb-3 failure for NASA.

On October 9, 2015 IRT publishes its investigation results. They identified three

credible Technical Root Causes (TRCs), which could have resulted in the

engine failure:

• TRC-1: Inadequate design robustness of the turbo pump AJ26 LO2 HBA and

turbine-end bearing for Antares

• TRC-2: Foreign Object Debris (FOD) introduction to the E15 LO2 turbo pump

• TRC-3: Manufacturing or other workmanship defect in the E15 LO2 turbo pump

The IRT developed six Technical Findings (TF) and Seven Technical

Recommendations (TR) to avoid similar failure in the future missions.

Question:

Are we able to place sensor for every

possible fault?

Page 4: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Connection to TECHLAV Project

Developing systematic techniques,tools, and algorithms to enhancethe reliability and efficacy of thecontrol structure and thecommunication backbone forLSASVs integrated with humanoperators in dynamic and uncertainenvironments such as a battlefield.

Trust 2.1

Developing fault tolerant mechanisms for LSASV

Trust 2.2

Developing a reliable distributed communication network for LSASV

Thrust 2

(Resilient Control and Communication of Large-

scale Autonomous systems of Vehicles

(RC2LAV))

Thrust 3

(Testing, Evaluation and

Verification of Large-scale

Autonomous systems of

Vehicles (TEVLAV))

Thrust 1

(Modeling, Analysis and

Control of Large-scale

Autonomous systems of

Vehicles (MACLAV))

Task T2.1:

Failure Diagnosis for Large-

scale Autonomous systems

of Vehicles (LSASVs)

MOTIVATION

Page 5: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Introduction to Fault Diagnosing

Learning Diagnoser for and Unknown Plant

Diagnoser Construction Algorithm

Illustrative Example

Future Work

Outline

Page 6: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

MOTIVATION

Traditional fault diagnosis Automatic fault diagnosis

Facts:

• Despite all our efforts, failures in the system cannot be avoided.

• Failures may happen every where in a system.

There is a need to diagnose failures in the system: without using a sensor for

every possible failure, try to detect failures from the behavior of the system.

Page 7: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Problem Description

Problem: In case of occurring a failure in the system, how to

automatically diagnose a failure?

This problem can be broken down into three sub-problems:

• Is a failure happened in the system?

Failure detection:

• What is the type of failure?Failure identification:

• Where is the place of failure in the system?

Failure location:

Page 8: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Objectives and Impacts

Objectives

To develop techniques for automatic

diagnosis of failures in the system

To timely diagnose (detect, identify and

locate) occurred failures in the system.

To diagnose failures in unknown dynamic

systems

By timely diagnosis of the failures in

the system, there is a chance of

recovering the system, and hence,

improving the reliability of the

system.

Impacts

Page 9: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Challenges

• We might not always have access to the model of the system and its failures.

• Faults should be diagnosed in the shortest possible time to make it possible to be

accommodated.

• Though we may use sensors for important possible failures, but practically we cannot have a

sensor for every possible failure as failures may happen everywhere anytime.

• Faults may happen anytime in the system causing despondent situations.

• Faults may happen anywhere in the system causing despondent situations.

Page 10: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Proposed Approach

We use the theory of Discrete Event Systems to model the failures.

We develop a “diagnoser” as a diagnosis tool.

In the absence of complete information about the system, we develop an active learning technique to adaptively build-up a diagnosis tool for the system.

Assumption: Failures are abrupt changes in the system, and we

may model failures in the system as “events”.

• M.M. Karimi, A. Karimoddini, A. P White, “Event Driven Failure Diagnosis for an Unknown Plant” American Control

Conference (ACC), 2016, Boston, USA (submitted).

Appro

ach

Page 11: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Fault Diagnosis

Model Based

Time Driven

Linear Models

Shi, Zhanqun, et al. (2005)

Nonlinear Models

L. Leuschen et al. (2003)

Event Driven

Petri net

M. Silva (2013)

Velilla & Silva (1988)

A. Bregon, et al. (2014)

Sampath et al. (1995)

Model Free

Data Driven

Neural Network

Dai, Xuewu, et al. (2013)

Fuzzy

Dong, Hongli, et al. (2012)

Y. Zheng et al. (2006)

Analytical Approaches

Fault Tree

Wu, Jianing , et al. (2011)

W. Lee et al. (1985)

Spectrum Analysis

Zhang, Pinjia, et al. (2011)

Background Review

Passive Learning

Page 12: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Discrete Event Systems (DES)

Definition: A Discrete Event System (DES) is a dynamic system that evolves in accordance

with the abrupt occurrence of physical events.

Page 13: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Why Discrete Event System?

To treat large-scale systems we need an abstract and simple tool

DES can effectively model large-scale systems in an abstract

mathematical fashion.

DES can capture system’s logics and rules for constructing the

decision making units and fault diagnoser for a system.

Many systems are inherently DES (Ex. Queuing system) and many

others can be abstracted to a DES (Ex. Robotic, UAV)

Page 14: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Discrete Event Systems (DES)

DES

Event – Based Models

State –Based Models

In DES, states (operation modes) might change upon the occurrence of events (changes in

sensor readings, commands).

In the event-based approaches, occurred events are

being studied.

In state-based approaches, visited states are being

studied.

Page 15: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Example:

Automata

𝐺 = (𝑋, Σ, 𝛿, 𝑥0 , 𝑋𝑚)

state spaceInitial stateevent set

partial transition final states

Automata is a graphical, mathematical useful tool to describe a DES.

S: Start mission R: Return to hangarL: Low fuel alarm

𝛿 𝐻𝑎𝑛𝑔𝑎𝑟𝑀𝑜𝑑𝑒, 𝑆 = 𝑀𝑖𝑠𝑠𝑖𝑜𝑛𝑀𝑜𝑑𝑒

Page 16: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Problem Definition

To Detect, identify, and isolate faults timely

in the system by monitoring performance or

the external behavior of the DES system G

modelled as an automaton ∶

𝐺 = 𝑋, Σ, 𝛿, 𝑥0

Goals:

Faults maybe unobservable and we do not

have dedicated sensor for every possible

fault

Usually systems are partially or completely

unknown.

Challenges:

Page 17: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Our Solution

We develop a diagnoser to detect and isolate the failures.

If yes, diagnoses the type of the occurred failure.

We do not know the system model. Instead, we develop an active learning method to

build the diagnoser.

The proposing algorithm actively learns the diagnoser and the system within DES

framework and builds the diagnoser 𝐺𝑑 = (𝑄𝑑 , Σ𝑑 , Δ, 𝛿𝑑 , ℎ, 𝑞0)

Our developed Diagnoser will determine if a failure has happened

Page 18: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Passive V.S. Active Learning

Passive Learning

Teacher provides all available

information about the system.

Learner fits a model for the

provided information.

The learner passively learns

the trained information and

only can work over the training

range.

The learner asks basic questions

about missing information about the

system.

The teacher answers the questions

about the system.

The learner actively learns the

enquired information and gradually

builds a model for the system.

Active Learning

Question:

How about the case that a new situation happens

and the learner is not trained for it?

The constructed model through an active

learning procedure can gradually and adaptively

construct a model for a system.

Page 19: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Contributions

We are using Discrete event system framework for faultdiagnosing a completely unknown system.

A systematic active learning strategy is designed to constructdiagnoser to provide diagnosis for an unknown system.

Actively asking basic minimum queries from an oracle,proposed algorithm will come up with a labeled deterministicfinite state automaton as the system fault diagnoser.

An independent label propagation technique is designed tomake the algorithm more efficient to construct the diagnoser.

Page 20: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Approach

Constructing

DES Diagnoser

Optimizing learning

process

Actively learning

diagnoser

Initialize diagnoser

To address the fault diagnosis problem for unknown DES systems, we are

proposing a new novel strategy to build a DES diagnoser through an

active-learning process inspired by L*-learning

1. The proposed algorithm gradually learns the diagnoser starting with an initialized

diagnoser, building up a deterministic label transition system for an unknown DES plant.

2. The proposed active-learning mechanism acquires the required information through an

oracle who answers some basic queries about the system and observable strings.

Page 21: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Approach

Constructing

DES Diagnoser

Optimizing learning

process

Actively learning

diagnoser

Initialize diagnoser

3. A Label propagation method is introduced to make the fault diagnosing more efficient.

4. With the acquired information, the algorithm completes a series of observation tables,

and eventually conjectures a correct diagnoser.

Page 22: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

THE PROPOSED ACTIVE-LEARNING ALGORITHM

FOR CONSTRUCTING THE DIAGNOSER

Section II:

Page 23: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Assumptions

Consider that in the plant G, failures 𝑓1, 𝑓2, … , 𝑓𝑛 can happen:

1. Faults are unobservable:

• We assume that these events are unobservable events in the automaton G, i.e.

Σ𝐹 = {𝑓1, 𝑓2, … , 𝑓𝑛} ⊆ Σ𝑢𝑜

• Otherwise, if failures are observable events, then they can be trivially and immediately

diagnosed.

2. Failures make a distinct change in the system:

• These changes (transition 𝑥 𝑓𝑖𝑥′) can be captured by the transition function 𝛿 𝑥, 𝑓𝑖 = 𝑥

′ in

automaton G

3. Failures do not bring the system to a halt mode:

• Therefore, there will be enough time to diagnose failures from the observable behavior of the

system 𝑃Σο ℒ 𝐺 .

Page 24: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Properties of DES Diagnoser

Qd is the set of diagnoser states Δ is the output label set

Σ𝑑 = Σ𝑜 is the event set ℎ ∶ 𝑄𝑑⟶ Δ is the output function

𝛿𝑑 is the transition rule 𝑞0 is the initial state

Diagnoser Gd can be described by a labeled automaton using the following tuple:

Output label set:

Δ = 𝑁 ∪ 𝐿1, 𝐿2, … , 𝐿𝑚 , 𝐿𝑖 ∈ 𝐹𝑖 , 𝐴𝑖

𝐺𝑑 = (𝑄𝑑, Σ𝑑, Δ, 𝛿𝑑, ℎ, 𝑞0)

𝑁: normal

𝐹𝑖: occurrence of the failure 𝑓𝑖𝐴𝑖: ambiguity in the occurrence of the failure 𝑓𝑖

Page 25: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

DES Model for A Fire Fighting Helicopter The Labeled Automaton Model diagnoser

Fire Fighting Autonomous Plane

Question: Assuming we do not have the model of the UAV, how to actively learn and construct the

diagnoser?

How does a diagnoser look like?

ILLUSTRATIVE EXAMPLE

Page 26: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Role of Oracle

Construction of the Diagnoser

The algorithm constructs the diagnoser 𝐺𝑑 by asking minimum queries from an oracle who correctly

answers two types of basic queries:

Whether a newly observed string s belongs to 𝑃Σ𝑜 (ℒ(𝐺)), and if it is faulty.

1. Membership queries:

• Whether ℒ(𝐺𝑑) = 𝑃Σ𝑜 (ℒ(𝐺))

• If not, the oracle returns a counterexample:

𝑐𝑒𝑥 ∈ ℒ Gd \𝑃Σο ℒ 𝐺 ∪ 𝑃Σο ℒ 𝐺 \ℒ Gd

2. Equivalence queries:

Page 27: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Observation Table (OT)

Construction of the Diagnoser

• 𝑆 ⊆ Σ∗ is a non-empty, prefix closed, finite set of strings

• E is a non-empty, suffix closed, finite set of strings

• T is the Condition Map:

𝑇 𝑠 : 𝑆⋃𝑆. Σo . 𝐸 Δ ∪ {0}

The acquired information will be used to create a series of observation tables (S,E,T), where

OTs incrementally record and maintain the information about the observed

strings.

Page 28: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Construction of the Diagnoser

Condition Map

𝑇 𝑤 =

0 if 𝑤 ∉ 𝑃Σο ℒ 𝐺

𝑁 if 𝑤 ∈ 𝑃Σο ℒ 𝐺 , and for any 𝑢 ∊ 𝑃Σo−1 𝑤 𝑓𝑖 ∉ 𝑢 , for ∀𝑖 = 1,2, … , 𝑛

𝐿1, 𝐿2, … , 𝐿𝑚 , 𝐿𝑖 ∈ 𝐹𝑖 , 𝐴𝑖

• {𝐴𝑖} ∈ 𝑇(𝑤)

if any 𝑢 ∈ 𝑃Σo−1 𝑤 contains the failure 𝑓

𝑖.

𝑇 w : 𝑆⋃𝑆. Σo . 𝐸 Δ ∪ {0}

if ∃𝑢, 𝑢′ ∈ 𝑃Σo−1 𝑤 such that 𝑓𝑖 ∈ 𝑢 and 𝑓𝑖 ∉ 𝑢′.

• 𝐹𝑖∈ 𝑇 𝑤

Page 29: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Make it more efficient: Label Propagation

Using this algorithm, some of the queries are possible to be answered using

current information in the table:

𝑠 ∈ 𝑆⋃𝑆. Σ: Fi∈ 𝑇 𝑠 ⇒ ∀𝑠′ ∈ 𝑒𝑥𝑡 𝑠 ∩ 𝑃Σο ℒ 𝐺 : 𝐹𝑖 ∈ 𝑇 𝑠′

If a string s is faulty, so are all its possible extensions:

𝑠 ∈ 𝑆⋃𝑆. Σ ∶ 𝑇 𝑠 = 0 ⇒ ∀𝑠′ ∈ 𝑒𝑥𝑡 𝑠 : 𝑇 𝑠′ = 0

For any string s that is not defined in the system, so are all its extensions:

Construction of the Diagnoser

Page 30: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Section III:

DIAGNOSER FORMATION

ALGORITHM

Page 31: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Construction of the Observation Table (OT)

Observation Table (OT)

Check for

counterexample

Check if OT

is Closed

Check if OT

is consistent

Return the

diagnoserInitialize OT

Hypothesize

the

diagnoser

Construction of OT contains Two loops:

Checking for closeness and consistency

Checking for any existing counterexample

Page 32: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Closeness

Observation Table (OT)

If the observation table is not closed

∃𝑠 ∈ 𝑆, ∃𝑡 ∈ 𝑆. Σo − 𝑆0| 𝑟𝑜𝑤(𝑡) ≠ 𝑟𝑜𝑤(𝑠)

To make the observation table closed, add t to S and update the table.

An observation table is said to be closed if and only if:

∀𝑡 ∈ 𝑆. Σo − 𝑆0, ∃𝑠 ∈ 𝑆| 𝑟𝑜𝑤(𝑡) = 𝑟𝑜𝑤(𝑠)

Page 33: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

If the observation table is not consistent,

∃(𝑠1, 𝑠2) ∈ 𝑆, ∃𝜎 ∈ 𝛴𝑜 , ∃e ∈ E | 𝑟𝑜𝑤 𝑠1 = 𝑟𝑜𝑤 𝑠2 𝑏𝑢𝑡 𝑇(𝑠1σ. e) ≠ 𝑇(𝑠1 σ. e)

To make the observation table consistent, add 𝜎. 𝑒 to 𝐸 and update the table.

Consistency

Observation Table (OT)

An observation table is said to be consistent if and only if:

∀𝑠1, 𝑠2 ∈ 𝑆 𝑤𝑖𝑡ℎ 𝑟𝑜𝑤 𝑠1 = 𝑟𝑜𝑤 𝑠2 ⇒ 𝑟𝑜𝑤 𝑠1. 𝜎 = 𝑟𝑜𝑤 𝑠2. 𝜎 , ∀𝜎 ∈ 𝛴𝑜

Page 34: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Hypothesizing the diagnoser

Observation Table (OT)

If the observation table is complete (closed and consistent), then we can

hypothesize the diagnoser 𝐺𝑑 𝑇𝑖 based on the observation table OT:

• 𝛴𝑑 = 𝛴𝑜• Δ𝑝 = Δ ∪ 0

• 𝑄𝑑 = 𝑟𝑜𝑤 𝑠 𝑠 ∈ 𝑆

• 𝑞0 = 𝑟𝑜𝑤 휀

• ℎ 𝑟𝑜𝑤 𝑠 = 𝑇 𝑠. 휀

• 𝛿𝑑 𝑟𝑜𝑤 𝑠 , 𝜎 = 𝑟𝑜𝑤 𝑠. 𝜎

𝐺𝑑 𝑇𝑖 = 𝑄𝑑 , 𝛴𝑑 , Δ𝑑 , 𝛿𝑑 , ℎ, 𝑞0

Page 35: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Counterexample

Observation Table (OT)

If there exist a counterexample 𝑐𝑒𝑥:• Add 𝑐𝑒𝑥 and all its prefixes into S, and update table with the new changes.

• This new table again has to be checked for completeness and consistency.

Once the diagnoser was hypothesized, using equivalence queries, the oracle

checks for a counter example cex:

𝑐𝑒𝑥 ∈ ℒ Gd \𝑃Σο ℒ 𝐺 ∪ 𝑃Σο ℒ 𝐺 \ℒ Gd

cex= bba

If no counterexample was found, then return the diagnoser.

Page 36: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Section IV

ILLUSTRATING EXAMPLE

Page 37: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

(a) (b)

Initializing

OTOT is not

closed

Hypothesize

the diagnoser

Initialize

OT

Hypothesize

the

diagnoser

Check for

counterexample

Check if OT

is ClosedCheck if OT

is consistent

Return

the

diagnoser

Page 38: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

OT is not

closed

OT is not

Consistent

OT is not

closed

Initialize

OT

Hypothesize

the

diagnoser

Check for

counterexample

Check if OT

is ClosedCheck if OT

is consistent

Return

the

diagnoser

Page 39: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

OT is not

closedHypothesis

the diagnoser

OT is not

closed

Return the

Diagnoser

Hypothesize

the

diagnoser

Initialize

OTCheck for

counterexample

Check if OT

is ClosedCheck if OT

is consistent

Return

the

diagnoser

Page 40: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Online Diagnosing Example

b b f1 b bb ab

A1 A1 A1A2 F1A1 NA1N

Current Event:

Current Label:

Page 41: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Conclusion

We discussed the important role of fault diagnosis in making the systems reliable.

We reviewed existing approaches for fault diagnosis.

We found Discrete Event system as a capable framework to capture and treat failures in a system

A novel active-learning approach was proposed for fault diagnosing of an unknown system within

DES framework.

The construction algorithm for the proposed diagnoser was discussed.

An illustrative example was provided for verifying the algorithm.

Online implementation of the diagnoser was discussed.

Page 42: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Future Works: Termination of the proposed algorithm

• There two loops in the proposed algorithm. Does the algorithm terminate number of transitions?

Problem

• The proposed algorithm will return the diagnoser in finite time.

Objective

• We will formally prove that both completeness and equivalence loops will terminate after finite number of iterations, so does the whole algorithm.

Approach

Page 43: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Future Works: Minimumness of the proposed algorithm

• Is there any other diagnoser with less number of states that can diagnose the plant? This is important, because the more number of states, the more memory is needed for the implementation of the diagnoser.

Problem

• The proposed algorithm will construct a diagnoser with the minimum number of states.

Objective

• Using lattice theory and regular language theory, we will formally prove that any other diagnoser has equal or more number of states than our proposed diagnoser.

Approach

Page 44: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Future Works: Computation cost

• Complexity of the algorithm can make it un-achievable.

Problem

• We should show be able to provide a standard computational cost value for the proposed algorithm.

Objective

• Using advance analysis of algorithm theories we should be able to calculate the computational cost.

Approach

Page 45: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

Acknowledgment

Dr Ali Karimoddini and my colleagues at

ACCESS LAB, particularly Mr. Alejandro

White

Financial support from TECHLAV project

Page 46: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

References

National Aeronautics and Space Administration (NASA). "Nasa Independent Review Team Orb – 3 Accident Investigation

Report (Executive Summary)." http://www.nasa.gov/sites/default/files/atoms/files/orb3_irt_execsumm_0.pdf, Oct 19,2015.

Bregon, Anibal, et al. "An event-based distributed diagnosis framework using structural model decomposition." Artificial

Intelligence 210 (2014): 1-35.

Shi, Zhanqun, et al. "The development of an adaptive threshold for model-based fault detection of a nonlinear electro-

hydraulic system." Control Engineering Practice 13.11 (2005): 1357-1367.

Leuschen, Martin L., Ian D. Walker, and Joseph R. Cavallaro. "Nonlinear fault detection for hydraulic systems." Fault

Diagnosis and Fault Tolerance for Mechatronic Systems: Recent Advances. Springer Berlin Heidelberg, 2003. 169-191.

Velilla, S., and M. Silva. "The spy: A mechanism for safe implementation of highly concurrent systems." Annual Review in

Automatic Programming 14 (1988): 75-81.

Silva, Manuel. "Half a century after Carl Adam Petri’s Ph. D. thesis: A perspective on the field." Annual Reviews in

Control 37.2 (2013): 191-219.

Page 47: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Fault Diagnosis for an Unknown Plant

MohammadMahdi Karimi

References

Sampath, Meera, et al. "Diagnosability of discrete-event systems." Automatic Control, IEEE Transactions on 40.9 (1995): 1555-1575.

Dai, Xuewu, and Zhiwei Gao. "From model, signal to knowledge: A data-driven perspective of fault detection and diagnosis." Industrial Informatics, IEEE

Transactions on 9.4 (2013): 2226-2238.

Dong, Hongli, et al. "Fuzzy-model-based robust fault detection with stochastic mixed time delays and successive packet dropouts." Systems, Man, and

Cybernetics, Part B: Cybernetics, IEEE Transactions on 42.2 (2012): 365-376.

Y. Zheng, H. Fang, and H. O. Wang, “Takagi-sugeno fuzzy-modelbased fault detection for networked control systems with markov delays,” Systems, Man, and

Cybernetics, Part B: Cybernetics, IEEE Transactions on, vol. 36, no. 4, pp. 924–929, 2006.

Wu, Jianing, Shaoze Yan, and Liyang Xie. "Reliability analysis method of a solar array by using fault tree analysis and fuzzy reasoning Petri net." Acta

Astronautica 69.11 (2011): 960-968.

W. Lee, D. Grosh, F. Tillman, and C. Lie, “Fault tree analysis, methods, and applications,” Reliability, IEEE Transactions on, vol. R-34, no. 3, pp. 194–203, Aug

1985.

Zhang, Pinjia, et al. "A survey of condition monitoring and protection methods for medium-voltage induction motors." Industry Applications, IEEE Transactions

on 47.1 (2011): 34-46.

Angluin, Dana. "Learning regular sets from queries and counterexamples."Information and computation 75.2 (1987): 87-106.

Page 48: Fault Diagnosis for an Unknown Plant - TECHLAVtechlav.ncat.edu/Presentations/Fault Diagnosis for... · Fault Diagnosis for an Unknown Plant MohammadMahdi Karimi Contributions We are

Our Website:techlav.ncat.eduaccesslab.net

Thank youMohammadMahdi Karimi

[email protected]