by luís cláudio oliveira-lopes - ufrgscomparison of the residue with a threshold statistical...

73
1 by Luís Cláudio Oliveira-Lopes

Upload: others

Post on 27-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

1

by

Luís Cláudio Oliveira-Lopes

Page 2: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

2

Outline The big picture

Fault in Industries

Fault detection

Methods and Examples

Diagnosis Isolation

Methods and Examples

Monitoring

Tolerant Control

Methods and Examples

Final Remarks

Page 3: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

3

Page 4: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

4

Much attention?

Page 5: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

5

Much attention? More ...

Much more...

Page 6: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

6

Why do we need it?

Page 7: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

7

Fault

Detection

Tolerant Control

Process

Monitoring

Diagnosis/

Isolation

The Big Picture

Page 8: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

8

Abnormal Behavior Faults

Equipment Failures

Device Failures (sensors, actuator etc)

Control malfunction

Disturbances

Cyber attack

Page 9: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

9

Page 10: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

10

Fault Tolerant Control

Predictive

Maintenance

Fault diagnosis

Safety Levels

Detection

Isolation

Identification

$

Malfunction causes:

Design errors, implementation errors, human operator errors, wear, aging, environmental aggressions

Page 11: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

11

Fault diagnosis: Fault detection: Detecting malfunctions in real time, as soon

and as surely as possible

Fault isolation: Find the root cause, by isolating the system component(s) whose operation mode is not nominal

Fault identification: to estimate the size and type or nature of the fault.

Fault Tolerance:

Provide the system with the hardware architecture and software mechanisms which will allow, if possible to achieve a given objective not only in normal operation, but also in given fault situations

Page 12: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

12

Some definitions:

Fault: an unpermitted deviation of at least one characteristic property or parameter of the system from the acceptable/usual/standard condition.

Failure: a permanent interruption of a system’s ability to perform a required function under specific operating conditions.

Disturbance: an unknown (and uncontrolled) input acting on the system which result in a departure from the current state.

Symptom: a change of an observable quantity from normal behavior, i.e., an observable effect of a fault.

Page 13: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

13

Reliability: ability of the system to perform a required function under stated conditions.

Safety: ability of the system not to cause danger to persons or equipment or environment.

Availability: probability that a system or equipment will operate satisfactorily at any point of time.

Maintainability: concerns with the needs for repair and the ease with which repairs can be made.

Page 14: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

14

Faults

ACTUATORS PLANT SENSORS u y

• Leaks

• Overload

• Deviations

• Bad calibrations

• Disconectings

• Saturation

• Switch off

Where?

Abrupt

tdet

Fault

signal

tf

How ?

Evolutive

tf

Fault

signal Fault

signal

Intermittent

Page 15: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

15

Model free approaches: FDI methods based on data

Only experimental data are exploited

Methods:

Alarms

Data analysis (PCA, PLS, CVA, FDA etc)

Pattern recognition

Spectrum analysis

Problems:

Need historical data in normal and faulty situations

Every faulty model is represented?

Generalisations capability?

Page 16: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

16

Methods based on knowledge:

Expert systems: diagnosis = heuristic process

Expert codes his heuristic knowledge in rules:

If set of symptoms THEN malfunction

Advantage: consolidate approach

Problems:

Related to experience (knowledge acquisition is a complex task, device dependent)

Related to classification methods (new faults, multiples faults)

Related software: maintenance of the knowledge base (consistency)

Page 17: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

17

Methods based on soft-computing: combination of data and heuristic knowledge

Neural networks

Fuzzy logic

Genetic algorithms

Combination between them

Causal analysis techniques: are based on the causal modeling of fault-symptom relationships:

Signed direct graphs (SDG)

Symptoms trees.

Page 18: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

18

Page 19: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

19

Fault from Cyber attack After detection, the line of defense should follow:

Containment

Remediation

Recovery/restauration

Prevention of reoccurrence

Page 20: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

20

After a cyber attack detection Actions require to know the consequences of the attack, its importance and its nature (internal/external)

Remediation may causes larger operational damages than the attack. If a valve was attacked itself (an embedded code of it) or the control system that control the valve was attacked play a great deal of importance in the response of any action one needs to perform.

If redundancy is available, one can use it while a careful study of the situation is performed.

Page 21: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

21

Fault Detection and Isolation (FDI) Data based methods

Use of historical data: PCA, ICA, ...

Need of normal operation data

Model based methods

Knowledge based method

Hybrid methods

Page 22: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

22

Model based approaches:

Compare actual system with a nominal model system

Actual system behavior Nominal system model (Expected behavior)

COMPARISON

DETECTION

Page 23: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

23

Model based approaches Two main areas:

FDI => from the control engineering point of view

DX => Artificial Intelligence point of view

From FDI:

Models:

Observers

Kalman filters

parity equations

parameter estimation (Identification algorithms)

Extension to nonlinear systems (nonlinear models)

Page 24: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

24

From DX: based on consistency:

OBS: (set of observations)

SD: system description: the set of constraints

COMP: set of components of the system

Fault detection:

SD OBS {OK(X) X COMPS} is not consistent

NG: (conflict or NOGOOD): if NG COMPS and SD OBS {OK(X) X COMPS} is not consistent

Problem:

how to check the consistency?

How to find the collection of conflicts?

Qualitative and Semiqualitative models

Page 25: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

25

Page 26: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

26

Diagnosis/ Isolation Fault detection

Fault isolation

Fault estimation

Process behavior Diagnosis

Artificial Inteligence

Support Vector Machines

Fuzzy logic based classification

Neural Network based classification

Page 27: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

27

Comparison of the residue with a threshold

Statistical decision: Hypotheses testing

H0: the data observer on [t0, tf] may have been produced by the healthy system

H1: the data observer on [t0, tf] cannot been produced by the healthy system, i.e., there exist a fault

Page 28: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

28

Fault Isolation:

Fault isolability: provides the residuals with characteristic properties associated with one fault (one subset of faults)

Directional residues:

Structured residues:

Page 29: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

29

Evaluating FDI techniques False alarms: A fault detected when there is not

occurred a fault in the system

Missed detection: A fault is not detected

Detection time: Delay in the detection

Isolation errors: distinguish a particular fault from others

Sensibility: the size of fault to be detected

Robustness: influence of uncertainties, model mismatch, disturbances, noise ,...

Page 30: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

30

Confusion matrix

Page 31: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

31

AI Applied to Faut Detection and Isolation

Page 32: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

32

Support Vector Machine

Page 33: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

33

Page 34: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

34

Page 35: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

35

Example Fault Detection FDA

Page 36: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

36

Page 37: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

37

Case Study

Page 38: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

38

Faults Fault 01 (CAf Perturbation): CAf is disturbed from

5.1 mol/L to 4.7 mol/L. from 2 h to 6 h;

Fault 02 (Faulty C B ): C B is 20% higher then correct measurement at the time instant of 4 h;

Fault 03 (Faulty T): T is 1% higher than the correct value at the time instant of 4 h, and

Fault 04 (Sticking valve): F is 30% lower than the one at steady state at the time instant of 4 h.

Page 39: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

39

Page 40: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

40

SVM-R

Page 41: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

41

Page 42: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

42

Page 43: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

43

Page 44: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

44

Example of Membership Function Used

Page 45: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

45

Fault

Detection

Tolerant Control

Process

Monitoring

Diagnosis/

Isolation

The Big Picture

Page 46: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

46

Monitoring Process Monitoring

Data based

Model based

Predefined metrics of performance

Propagation effects of faults

Alarm managment

Control tuning monitoring

Page 47: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

47

Study of the Propagation effect of Faults Souza & Oliveira-Lopes, 2014 Int. J. Reliability and Safety, Vol. 8, No. 1, 2014

Page 48: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

48

Faults Propagation in Batch Processes

Page 49: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

49

Sousa and Oliveira 2012

Page 50: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

50

Sousa and Oliveira-Lopes, 2014

Page 51: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

51

Faults Propagation in Continuous Systems

Page 52: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

52 Not realistic for industrial processes as yet.

Page 53: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

53

Fault

Detection

Tolerant Control

Process

Monitoring

Diagnosis/

Isolation

The Big Picture

Page 54: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

54

Tolerant Control Control Reconfiguration

Tolerant Control – Robustness

Virtual Actuators

Control Allocation

Process Parking – Inherent Tolerant Control Current research

Page 55: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

55

Page 56: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

56

Using PCA, DPCA etc

Page 57: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

57

Control Reconfiguration Reis & Oliveira-Lopes

Page 58: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

58

Control Reconfiguration

Page 59: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

59

Page 60: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

60

Page 61: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

61

Page 62: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

62

Control Allocation Sousa and Oliveira-Lopes

Page 63: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

63

Page 64: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

64

Schematic control structure using allocation

The process performance can be improved; It is able to separate and distribute the control task especially during faults; The control total effort is minimized;

Redundancy actuators

Page 65: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

65

Control Allocation based in Model Factorization

Page 66: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

66

Page 67: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

67

Control Allocation:Two layers of control

Page 68: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

68

Toy Example

Page 69: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

69

Control Allocation And Opperability

Page 70: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

70

Virtual Actuator

Page 71: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

71

Final Remarks Classification Methods:

SVM (SVM AAA & SVM AAO). ANN (SNN, ANN FF and ANN WTA) and fuzzy logic;

Fault Detection and Diagnostics;

Fast and it can be implemented on-line;

Detection Errors;

Pre-processing (normalization, selection, labeling;

ANN (Slow Training) and Structure selection;

Necessary knowledge of fault pattern;

Page 72: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

72

Regression Based Methods SVM (SVR) and ANN (ANN-R);

Advantages:

Fast Detection;

Online Detection;

Smaller pre-processing requirments;

Disadvantages:

No isolation;

Slow training (ANN);

Selection of best structure (tuning);

Page 73: by Luís Cláudio Oliveira-Lopes - UFRGSComparison of the residue with a threshold Statistical decision: Hypotheses testing H 0: the data observer on [t 0, t f] may have been produced

73

ACKNOWLEDGMENTS Lucas L. G. Reis (Aspentech, USA) Matheus H. Granzotto (UFVJM) Thiago V. Costa (UNIFEI) Davi Leonardo de Souza (UFTM) Nádia Guimarães Sousa (UFTM) Gustavo Almeida (UFMG) Flávio V. Silva (Unicamp) Panagiotis Christofides (UCLA) Christos Georgakis (Tufts) LOM Research Group at UFU