adaptive fault tolerant control of an unstable continuous stirred...

Post on 19-Aug-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

ENGR691X: Fault Diagnosis and Fault Tolerant Control Systems

Fall 2010

Adaptive Fault Tolerant Control of an unstable

Continuous Stirred Tank Reactor (CSTR)

Group Members: Maryam Gholamhossein

Ameneh Vatani

Why CSTR?

Outlines

3

• Continuous Stirred Tank Reactor (CSTR) Model

• Controller

• Conventional controller

• Fuzzy logic

• Adaptive Fault tolerant fuzzy PID controller

• Simulation results & analysis under different

fault scenarios

• Conclusion and suggestions

Chemical reactors are one of the most important

part of chemical, biochemical and petroleum

processes since they transform raw materials

into valuable chemical materials.

Three classical chemical reactors

◦ Batch reactor

◦ Continuous stirred-tank reactor (CSTR)

◦ Plug flow tubular reactor (PFR)

4

Reactors

5

CSTR Model

• The CSTR reactor is usually used for liquid-phase or

multiphase reactions that have high reaction rates.

Reactant streams are continuously fed into the vessel.

• Perfect mixing of the liquid in the reactor is usually

assumed, so the modeling of a CSTR involves ordinary

differential equations.

6

• Main characteristics of a CSTR

• Constant temperature

• Constant concentration

• Reaction types:

• Exothermic (releasing energy)

• Endothermic (requiring energy)

• Reversible (balance of reactants and products)

• Irreversible (proceeding completely to products)

• Homogeneous (single-phase)

• Heterogeneous (multiphase)

CSTR Model

CSTR Model

Exothermic and irreversible reactions

Temperature control problems

Maintaining stable and safe temperature control

Heat removal methods

◦ Jacket cooling

◦ Cooling coil

7

CSTR Model

Three-state CSTR model, exothermic-irreversible

first-order reaction (A B)

Dimensionless …

8

CSTR Model

System dimensionless equations*:

: dimensionless concentration : dimensionless reactor temperature

: dimensionless cooling jacket temperature

: dimensionless cooling jacket flow rate : dimensionless feed flow

9* Russo L. P., Bequette B. W., “Impact of process design on the multiplicity behavior of a jacketed exothermic

CSTR”, AIchE Journal, 41(1)135

CSTR Model

System non-linearity

Steady-State design and Multiplicity of CSTR

10

-0.5 0 0.5 1 1.5 2 2.5 30

1

2

3

4

5

6

7

8

X: 1.511

Y: 0.435

qc-ss

x2-s

s

X: 1.511

Y: 3.185

X: 1.511

Y: 4.649

Steady-state behavior of the jacketed CSTR

Controller Design

Conventional controllers ◦ (PID control, state-space methods, optimal control, robust control,…)

◦ Designing based on the Mathematical models

◦ Ignoring heuristic information, as they do not fit into proper mathematical form

Fuzzy controller◦ An artificial decision maker that can operate in a closed-loop control system

11

Controller Design

Rule-base, holds the knowledge in the form of a set of rules of how

best to control the system (a set of If-Then rules)

Inference mechanism (inference engine)evaluates which control rules are relevant at the current time and

deciding what the input to the plant should be

Fuzzification, modifying the inputs so that they can be interpreted to

the rules in the rule-base

Defuzzification, converting the conclusions of inference mechanism

into the plant inputs.

12

Controller Design

13

Adaptive fuzzy controller scheme

(Fuzzy controller and conventional controller combination)

Tracking and regulatory problem

◦ Some continuous process produce different grades of products at

different times

Fuzzy Logic

PID Controller Process

Δed/dt

Kp KI Kd

rY

e

Controller Design

14

Fuzzy adaptation module steps: 1) Defining the input & output membership functions

2) Defining the fuzzification and defuzzification methods

3) Defining Inference mechanism

4) Defining the Rules in the form of linguistic structure

(one of fuzzy implementation challenges!)

If e is X and e is Y, then KI=U, Kp=V, Kd=Z

e, Δe

a b

NH NL ZO PL PH MH H L ZO

c d

Kp, KI, Kd

Controller Design

15

Fuzzy controller inputs: Error (e) and error changes (e)

Fuzzy controller outputs: PID gains (Kp,Kc,Kd)

Fuzzy Inference Strategy: Mamdani

defuzzification method: Centriod

Controller Design

AFTCS or PFTCS?!

So where is the FDD part?

16

Simulation results

Fault free tracking response

17

0 10 20 30 40 50 60 70 80 90 1003

3.5

4

4.5

5

5.5

6

6.5

7

7.5

time(s)

x2

PID

fuzzy PID controller

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

18

0 5 10 15 20 25 30 35 403.17

3.175

3.18

3.185

3.19

3.195

3.2

3.205

3.21

3.215

time(s)

x2

PID

fuzzy PID controller

System output response to 15% actuator failure

Simulation results Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

19

Control input signals and controller gains under 15% actuator failure

0 10 20 30 400

1

2

3

4

time(s)

qc

PID

reconfigured controller

0 10 20 30 40-35

-34

-33

-32

time(s)

Kp

Kp changing

0 10 20 30 40-17

-16.5

-16

-15.5

time(s)

Ki

Ki changing

0 10 20 30 40-4

-3.8

-3.6

-3.4

-3.2

time(s)

Kd

Kd changing

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

20

System output response to 25% actuator failure

0 5 10 15 20 25 303.1

3.2

3.3

3.4

3.5

3.6

3.7

3.8

3.9

4

time(s)

x2

PID

reconfigured controller

Simulation results Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

21

Control input signals under 25% actuator failure

0 5 10 15 20 25 300

0.5

1

1.5

2

2.5

3

3.5

4

time(s)

qc

PID

reconfigured controller

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

22

System output response to changing x2f from 0 to 0.08

0 5 10 15 20 25 303.14

3.16

3.18

3.2

3.22

3.24

3.26

time(s)

x2

PID

fuzzy PID controller

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

23Control input signals and controller gains changing x2f from 0 to 0.08

0 10 20 300

1

2

3

4

time(s)

qc

PID

reconfigured controller

0 10 20 30-36

-34

-32

-30

time(s)

Kp

Kp changing

0 10 20 30-18

-17

-16

-15

time(s)

Ki

Ki changing

0 10 20 30-4

-3.5

-3

time(s)

Kd

Kd changing

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

24

System output response to changing x2f from 0 to 0.1

0 5 10 15 20 25 301.5

2

2.5

3

3.5

4

time(s)

x2

PID

fuzzy PID controller

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

25

Control input signals to changing x2f from 0 to 0.1

0 5 10 15 20 25 30 35 400

0.5

1

1.5

2

2.5

3

3.5

4

time(s)

qc

PID

reconfigured controller

Simulation results

Actuator faults scenarios

System parameter fault scenarios

Sensor Faults scenarios

26

Output responses in the presence of 40% sensor fault

0 5 10 15 20 25 30 35 401.5

2

2.5

3

3.5

4

time(s)

x2

Nominal

non-configured controller

reconfigured fuzzy controller

Conclusions & Suggestions

In this project the fault tolerant control of a CSTR model

under different faults is accomplished.

Defining the proper fuzzy rules was a very challenging

and time-consuming task!

In spite of the conventional definition for Active FTCS

which obligated the system to have a FDD block; here in

this project FDD block is inherent in the fuzzy

controller.

When the fault percentage exceeds specific values, the

conventional PID fails to control the CSTR while the

fuzzy PID can have the pre-fault performance after a

short transient time.

27

Conclusions & Suggestions

Extending this controller to a MIMO system.

Taking other parameters as input of fuzzy controller.

28

29

Thank you for your attention!

Simulation results

30

top related