Beruflich Dokumente
Kultur Dokumente
Intelligence Based
Tuning of Temperature Controller Fo
Continuously Stirred Tank Reactor
By
AGENDA
Introduction to CSTR
Need for Controller
Performance of Conventional PID
controller
Need for Intelligent Controller
Hybrid GA-PSO
Simulations and results
Conclusions
References
REACTOR
A container or apparatus in which
substances
are
made
to
react
chemically, esp. one in an industrial
plant.
Ex Nuclear Reactor.
1/
1
20
/
0
Tc
CSTR Considered
Mass Balance
1/30/2013
1/30/2013
1/30/2013
1/30/2013
1/30/2013
1/30/2013
1/30/2013
Plant:
Asystemtobecontrolled
Controller: Providestheexcitationfortheplant;
Designedtocontroltheoverallsystembehavior
Desirable Controller
Quick
Features
responding
and
PIDcontroller
E (s)
s
0
d
U ( s)
Differenti al control : u(t ) K d e(t )
Kd s
dt
E (s)
ThecharacteristicsofP,I,andDcontrollers
Aproportionalcontroller(Kp)willhavetheeffectofreducing
therisetimeandwillreduce,butnevereliminate,the
steady-stateerror.
Anintegralcontrol(Ki)willhavetheeffectofeliminatingthe
steady-stateerror,butitmaymakethetransientresponse
worse.
Aderivativecontrol(Kd)willhavetheeffectofincreasing
thestabilityofthesystem,reducingtheovershoot,and
improvingthetransientresponse.
EffectsofeachofcontrollersKp,Kd,andKionaclosedloopsystemaresummarizedinthetableshownbelow.
Proportionalcontrol(PController)
Fromthetable(shownbellow),weseethattheproportional
controller(Kp)
reducestherisetime,
increasestheovershoot,and
reducesthesteady-stateerror.
CL
RESPONS
E
RISE
TIME
OVERSH
OOT
Kp
Ki
Decrease
Decrease
Increase
Increase
Kd
Small
Change
Decrease
SETTLING
TIME
S-S
ERROR
Small
Change
Proportional-Derivativecontrol
(PDController)
Now,let'stakealookataPDcontrol.Fromthetable,wesee
thatthederivativecontroller(Kd)reducesboth
theovershootandthesettlingtime.
CL
RESPONS
E
RISE
TIME
OVERSH
OOT
Kp
Ki
Decrease
Decrease
Increase
Increase
Kd
Small
Change
Decrease
SETTLING
TIME
S-S
ERROR
Small
Change
Proportional-Integral-Derivativecontrol(PID
Controller)
Now,let'stakealookataPIDcontroller.Theclosed-loop
transferfunctionofthegivensystemwithaPIDcontrolleris:
CL
RESPONS
E
RISE
TIME
OVERSH
OOT
Kp
Ki
Decrease
Decrease
Increase
Increase
Kd
Small
Change
Decrease
SETTLING
TIME
S-S
ERROR
Small
Change
PID Tuning
Controller tuning---the process of
selecting the controller parameters
to meet given performance
specifications
PID tuning rules---selecting controller
parameter values based on
experimental step responses of the
controlled plant
The first PID tuning rules proposed by
Ziegler and Nichols in 1942
PID Tuning
Performance Indices
Performance Indices
There are several performance indices:
1. Integral of the square of the error, ISE
ISE
e ( t) dt
IAE
e( t ) d t
t e( t ) d t
ITSE
t e ( t) dt
33
Genetic Algorithm
Genetic Algorithm (GA) was proposed
by Holland at the University of
Michigon in 1975.
This algorithm derives its strength
from Darwinian principle of survival
of fittest mechanism.
34
GA Elements
36
GA Operators
37
Genetic algorithm
Genetic Algorithm which was proposed by Holland
derives its strength from the Darwins Survival
Of The Fittest mechanism.
Begin
Initialize
population
Evaluate
Solutions
T =0 (first step)
Optimum
Solution?
N
Selection
Y
T=T+1
(go to next step)
Stop
Crossover
Mutation
38
Particle
Swarm
Optimizatio
n
39
40
41
42
START
44
PSO Parameters
Hybridization
47
PSO-GA
In this model the initial population of PSO
is assigned by solution of GA.
The total numbers of iterations are equally
shared by GA and PSO.
First half of the iterations are run by GA
and the solutions are given as initial
population of PSO. Remaining iterations
are run by PSO.
48
Hybrid GA-PSO
49
SIMULATIO
N AND
RESULTS
Simulation Parameters
S.no Process variable
.
1
2
3
4
5
6
7
8
9
10
11
11
12
12
Concentration
Reactor temperature
Volumetric flow rate
Reactor volume
Feed concentration
Feed temperature
Coolant temperature
Coolant flow rate
Heat of reaction
Reaction rate constant
Activation
Activation energy
energy term
term
Heat
Heat transfer
transfer term
term
Normal
operating
condition
0.0885mol/L
441.1475K
100L/min
100L
1mol/L
350K
350K
97L/min
2cal/mol
7.2/min
9980K
9980K
7cal/min*K
Controller Parametrs
S.
no.
Algorit
hm
Kp
Ki
Kd
Z-N
0.2
0.95
0.23
GA
0.202
6.090
.2000
PSO
1.042
0.400
00
0
4
0.361
GA+PS
7.570
O
4
1
4
10
0.435
Step Response for CSTR teprature change using ISE as the Fitness function
1.6
GA+PSO
GA
PSO
Z-N
1.4
1.2
Output
1
0.8
0.6
0.4
0.2
0
10
15
Time
20
25
30
1.6
GA+PSO
GA
PSO
Z-N
1.4
O u tp u t
1.2
1
0.8
0.6
0.4
0.2
0
10
15
Time
20
25
30
S.no
Algorith
m
Peak
Settle
Rise
over
time
time
shoot
IAE
Time
to
process
Z-N
1.632
7.8651
0.939
1.826
0.230
GA
51.98
10.745
0.718
1.638
106.7
PSO
22.76
12.536
1.757
1.757
248.97
GA+PSO
6.048
1.8911
0.351
0.187
209.68
Conclusions
This paper present a controller design mechanism to regulate the
temperature of CSTR when there is a sudden change in the inflow
concentration and flow rate which may generate or take heat energy
depending upon endothermic or exothermic reaction. The controller
needs to be tuned to maintain constant temperature. The
conventional controller design is done by Ziegler-Nicols method, in
the resent literature soft-computing tools like PSO was used to tune
PID controller for temperature optimization. Implementation of GA,
PSO tuned PID controller reveled that the transient behavior was
better as compared to conventional Ziegler-Nicols method. To
overcome the limitations of GA and PSO tuning, a hybrid of GA-PSO
algorithm was proposed to tune PID controller from the above stated
simulations and results it can be concluded that hybrid GA-PSO tuned
PID controller has a better performance.
Ramappa Temple