Professional Documents
Culture Documents
Abstract
The mathematical modeling of continuous stirred tank reactor system is developed
based on the mass and energy balances for the reactor and heating system. The system is
studied by introducing step change in concentration, inlet flow, flow of heating fluid,
inlet temperature and heating fluid temperature and measuring the temperature change
in the reactor. In this paper, a fuzzy logic controller has been designed and evaluated.
Through simulation study by using MATLAB, it has been shown that the proposed
fuzzy logic controller has given an excellent tracking and regulation performance
compared to that of the PID control system.
Keywords: Mathematical modeling of continuous stirred tank reactor, MATLAB
simulation, Fuzzy logic, PID controller.
.
.
--
.""
.
, , , :
.--
digital PID controllers (MSaad et al. [6] R: Universal gas constant, (kJ/kmol. K).
and Cameron, Seborg[7]) and gain- S: Laplace transform.
scheduled fuzzy logic controller (Pramit t : Time, (min.).
[8]
). td: Time delay, (min.).
Czeczot [9] applied a balance-based : Temperature of the outlet , (K).
adaptive control methodology and its :Temperature of the jacket, (K).
application to the control of the : Inlet temperature of the jacket, (K).
continuous stirred tank reactor. This U: Overall heat transfer coefficient,
control methodology combines (kw/K.m2).
simplicity and generality, the simulation V: Volume of the reactor, (m3).
results prove very good control Volume of the jacket, (m3).
performance of the balance-based
: Density of the outlet stream, (kg/m3).
adaptive controller in comparison with
Density of the jacket water, (kg/m3).
the classical PI controller. Salehi &
Mohammad [10] applied an adaptive : Time constant, (min.).
fuzzy temperature controller for a class : Concentration time constant, (min.) .
of continuous stirred tank, a fuzzy logic : Thermal time constant, (min.).
system is used to estimate the : Jacket time constant, (min.).
concentration dependent terms and other D: Derivative time constant, (min.).
unknown system parameters in the I: Integral time constant, (min.).
control law, using temperature A: Membership function.
measurements. Prakash & Senthil [11]
applied a nonlinear observer based Introduction
model predictive controller continuous Continuous stirred tank reactor system
stirred tank reactor. The nonlinear state (CSTR) is a typical chemical reactor
estimation is achieved by using fuzzy system with complex nonlinear dynamic
kalman filter and augmented state fuzzy characteristics. There has been
kalman filter. The fuzzy kalman filter is considerable interest in its state
used to estimate the reactor estimation and real time control based on
concentration and reactor temperature mathematical modeling. However, the
whereas the augmented state fuzzy lack of understanding of the dynamics of
kalman filter is used to estimate the the process, the highly sensitive and
reactor concentration, From the nonlinear behavior of the reactor, has
extensive simulation studies on the made difficult to develop a suitable
reactor, they infer that fuzzy kalman control strategy. An efficient control of
filter based nonlinear model predictive the CSTR can be achieved only through
controller was able to achieve an accurate model [1].
satisfactory servo performance. For fuzzy control, the issue for
Soukkou et al. [12]
applied a fuzzy designing robust controller using fuzzy
optimal control methodology to the logic technique has always been the key
design of the feedback loops of an point. In most cases, fuzzy control is
exothermic continuous stirred tank designed based on the use of heuristic
reactor system. Simulations demonstrate information from human experts without
that the proposed robust has successfully using any plant model as a reference
[2]
met the design specifications. Galluzzo .The control of continuous stirred tank
& Cosenza [13] considered a mixed reactor requires the application of
feedbackfeedforward control advanced techniques such as neural
configuration and type-2 fuzzy logic network control ( Nikravesh et al. [3],
Thompson and Kramer [4] and Seborg[5]),
72 Tikrit Journal of Engineering Sciences/Vol.20/No.2/March 2013, (70-80)
Take the Laplace transform of Eq. (3): controllers they're considered for the
temperature control of a non-isothermal
continuous stirred tank reactor. The
simulation results show that the
... (4) proposed control configuration with
type-2 FLCs can be an effective solution
to a very difficult control problem and an
The energy balance for the jacket
alternative to the use of adaptive
becomes.
controllers.
blades. The stirrer operates with range of functions given the values for
(0-250) rpm. (er) and (de).
Three glass rectangular vessels of Compute = min(1,2). (Find
two liters were used as feeding tanks. the values for the premise
These were fitted at the top of reactor membership functions for a given
and transfer of liquids by gravity to the (er) and (de).using the minimum
reactor. All the transport tubes of the operation).
system to the reactor are 12 mm inside Compute "du"
diameter and are made of stainless steel Let w (no. of rule)=0, du(no. of
to prevent any chemical corrosion. Flow rule).=0
rates were measured by independently
calibrated rotameters. The range of flow After applying these six steps on
of each rotameter is (0 40 L/hr.) of our 25 rules, then calculate COG
water at 200 C. num.= sum [du* ]/sum []
The reactor was heated by hot water, Output u crisp=u(i)+ COG*
which flows through the jacket around suitable scale factor for FLC
the reactor by using a small pump. The output
pump was capable of handling about (40 T(i+1) = T(i+1) + u
L/hr.) water and was heated by an
external electrical heater. The electrical Simulation of Control Methods
heater was provided with a digital screen The simulation technique is based on
to view the temperature. the software tool MATLAB to solve the
Thermocouple (3B37-T-03) was ordinary differential equations which
installed to measure reactor temperature, represent the system behavior. During
the input range of this thermocouple (- the digital simulation of the two methods
1000 C to +4000 C) and the output ranges of control, the controlled variable (T) is
(0 10 mV), this signals were converted calculated and from the response of this
through transmitter and then fed to the variable we find the best condition of the
computer through Analog digital control system.
interface. The open loop responses to step
change in ( are calculated
Results and Discussion from MATLAB program. The closed
Open Loop System loop response for Fuzzy Logic controller
In order to obtain a model for each is calculated by applying the steps in the
process, the input and output data of the simulation section, and software tool
open loop system are needed for the MATLAB to obtain the closed loop
evaluation purpose. The data is obtained response to a step change in the
from experiments done on the real mentioned variables.
process plant. The experimental results
of the open loop responses in the reactor Experimental Work
temperature for a step change in step The experiments were carried out in a
change in ( are shown in laboratory scale continuous stirred tank
the figures (3) to (6). reactor. The laboratory plant consists of
The mathematical model equations of 1 liter glass reactor with constant volume
continuous stirred tank reactor were byproduct overflow out of the vessel.
solved using MATLAB software. The Surrounded by a glass jacket as shown in
results values for model parameters are figure (1), it also equipped with the
as follows: stirrer of stainless steel which has two-
76
Tikrit Journal of Engineering Sciences/Vol.20/No.2/March 2013, (70-80)
307 301
306 300
305 Simulation
299
Temperature (k)
304 Experimental
Temperature (K)
Simulation
303 298
302 Experimental
297
301
296
300
299 295
0 20 40 0 10 20 30 40
Time (min.) Time (min.)
Figure (3): Comparison between the Figure (4): Comparison between the
open-loop simulated and experimental open-loop simulated and experimental
temperature responses to step change in temperature responses to step change in
jacket flow rate from 10 to 30 L/hr. jacket temperature from 313 to 323 K.
79
Tikrit Journal of Engineering Sciences/Vol.20/No.2/March 2013, (70-80)
306 310
Temperature
305 308
304 306
Temperature (K)
(K)
302 PID
302 Experimental
300 - - - Setpoint
301
298
300
296
299
0 100 200 300
0 20 40
Time (min.) Time (sec.)
Figure (4): Comparison between the open-loop Figure (7) Comparison between
simulated and experimental temperature conventional control and fuzzy logic
responses to step change in jacket temperature control to a step change in jacket flow
from 313 to 323 K. from 10 to 30 L/hr
301 312
300 310
Simulation
299 308
Temperature (K)
Temperature (K)
Experimental
306 Fuzzy
298
304 PID
297 - - -Setpoint
302
296
300
295 298
0 10 20 30 40 0 100 200 300
Time (min.)
Time (sec.)
Figure (5): Comparison between the open-loop
simulated and experimental temperature Figure (8) Comparison between
responses to step change in feed flow rate conventional control and fuzzy logic
from 4.5 to 9 L/hr. control to a step change in feed
temperature from 285 to 293K
304
303
Temperature (K)
Simulation
302
Experimental
301
300
299
0 10 20 30 40
Time ( min.)
Figure (6): Comparison between the open-loop
simulated and experimental temperature responses
to step change in feed temperature from 285 to 293 K.
80
Tikrit Journal of Engineering Sciences/Vol.20/No.2/March 2013, (70-80)