adaptive fault tolerant control of an unstable continuous stirred...
TRANSCRIPT
![Page 1: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/1.jpg)
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
![Page 2: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/2.jpg)
Why CSTR?
![Page 3: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/3.jpg)
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
![Page 4: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/4.jpg)
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
![Page 5: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/5.jpg)
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.
![Page 6: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/6.jpg)
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
![Page 7: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/7.jpg)
CSTR Model
Exothermic and irreversible reactions
Temperature control problems
Maintaining stable and safe temperature control
Heat removal methods
◦ Jacket cooling
◦ Cooling coil
7
![Page 8: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/8.jpg)
CSTR Model
Three-state CSTR model, exothermic-irreversible
first-order reaction (A B)
Dimensionless …
8
![Page 9: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/9.jpg)
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
![Page 10: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/10.jpg)
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
![Page 11: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/11.jpg)
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
![Page 12: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/12.jpg)
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
![Page 13: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/13.jpg)
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
![Page 14: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/14.jpg)
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
![Page 15: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/15.jpg)
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
![Page 16: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/16.jpg)
Controller Design
AFTCS or PFTCS?!
So where is the FDD part?
16
![Page 17: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/17.jpg)
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
![Page 18: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/18.jpg)
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
![Page 19: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/19.jpg)
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
![Page 20: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/20.jpg)
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
![Page 21: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/21.jpg)
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
![Page 22: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/22.jpg)
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
![Page 23: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/23.jpg)
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
![Page 24: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/24.jpg)
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
![Page 25: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/25.jpg)
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
![Page 26: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/26.jpg)
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
![Page 27: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/27.jpg)
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
![Page 28: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/28.jpg)
Conclusions & Suggestions
Extending this controller to a MIMO system.
Taking other parameters as input of fuzzy controller.
28
![Page 29: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/29.jpg)
29
Thank you for your attention!
![Page 30: Adaptive Fault Tolerant Control of an unstable Continuous Stirred …users.encs.concordia.ca/~ymzhang/courses/ENGR691X... · 2011. 8. 23. · CSTR”, AIchE Journal, 41(1)135. CSTR](https://reader035.vdocuments.net/reader035/viewer/2022071006/5fc3d1675351374faf421b1e/html5/thumbnails/30.jpg)
Simulation results
30