You are on page 1of 19

Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.

org/ace r

Nonlinear Model Based Control of Complex


Dynamic Chemical Systems
Rama Rao Karri*1 and Venkateswarlu Chimmiri2
1 Singapore Delft water Alliance, National university of Singapore- 117577, Singapore.
Process Dynamics & Control Group, Chemical En gineering Sciences, Indian Institute of Ch emical Technology,
2

Hyderabad 500 007, India.


*1 kramarao.iitd@gmail.com

Abstract oscillations and chaos [Uppal, Ray and Poore, 1976,


A nonlinear internal mode l control (NIMC) strategy that Schmitzet al., 1979, Doedel and Heinemann, 1983,
incorporates the nonlinear mode l structure and the estimator Blanco and Bandoni, 2007]. Certain continuous
dynamics in the control law is presente d for the control of polymerization reactors exhibit highly nonlinear
comple x dynamical systems characte rize d by input-output dynamics because of the complicated reaction
multiplicitie s, nonlinear oscillations and chaos. A mode l mechanisms associated with the large number of
base d estimator is designe d to provide the unmeasure d interactive reactions. Many researchers have
process states that capture the fast changing nonlinear investigated the existence of steady state multiplicities;
dynamics of the process to incorporate in the controlle r. The self-sustained oscillations and chaos in continuous
estimator uses the mathematical mode l of the process in solution polymerization reactors [Jaisinghani and Ray,
conjunction with the kno wn proce ss measure ments to
1977, Schmidtet al., 1984, Teymour and Ray, 1989,
estimate the states. The de sign and imple me ntation of the
Flores-Tlacuahuac et al., 2005].
estimator supporte d NIMC strategy is studie d by choosing
two typical continuous non-isothe rmal nonlinear processes, The nonlinear dynamical systems due to variations in
a che mical reactor and a polyme rization reactor, which show the operating parameter space can lead to exhibit
rich dynamical behaviour ranging from stable situations to open-loop unstable behaviour and some chemical
chaos. The results e valuate d unde r diffe re nt conditions show systems are more sensitive to these variations where
the superior performance of the estimator base d NIMC
small perturbation in the operating conditions can
strategy over the conve ntional controllers for the control of
cause the stable operation to degenerate into
comple x nonlinear processes.
oscillatory and chaotic motion. The unstable,
Keywords oscillatory and chaotic phenomenon displayed by the
Nonlinear Control; Oscillatory Dynamics; Chaotic Behaviour; chemically reacting systems has desirable as well as
State Estimator; Chemical Reactor; Polymerization Reactor undesirable features. The desirable feature of multiple
steady state condition is that one of the unstable
Introduction steady state may correspond to higher rate of
Control of nonlinear systems exhibiting complex reaction/yield and this becomes the preferred state to
dynamic behaviour is a challenging task because such be operated on it for enhancing the process
systems present a variety of behavioural patterns performance. The desirable feature of chaos is that it
depending on the values of their physical parameters enhances mixing and chemical reactions and provides
and intrinsic features. Among these systems, a vibrant mechanism for transport of heat and mass.
continuous chemical reactors and continuous On the other hand, the intrinsic features of the reacting
polymerization reactors have received special systems with the interactive influence of chemical or
attention due to their complicated dynamics and thermal energy may cause irregular dynamic
economic importance. Depending on the parameter behaviour leading to degraded performance. In such
values, these systems can be operated at steady state situations, chaotic behaviour is considered as
or present oscillatory and chaotic motions. Several undesirable and should be avoided. Chaotic processes
researchers have analysed continuous stirred tank show extreme sensitivity to initial conditions and the
chemical reactors to characterize the phenomena of process trajectories can diverge exponentially making
multiple steady states, simple and modulated the task of control more difficult. However, chaos

1
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

offers great flexibility to operate chemical systems complex nature of nonlinear dynamical systems
because there are an infinite number of unstable severely limits the use of conventional linear
periodic orbits (UPO) embedded in a chaotic attractor, controllers to provide the desired operating
in which one can choose a specific UPO along with its performance. In advanced control approach; different
time averaged pre-specified performance defined in nonlinear model predictive controllers have been
terms of conversion, yield or selectivity and the reported to stabilize the oscillatory and chaotic
process can be stabilized to operate it on the chosen dynamics in continuous chemical and polymerization
UPO. Various conventional and advanced techniques reactors [Lima, 1996, Qammaret al., 1996].
have been reported for the control of open-loop
Nonlinear control is a class of advanced control in
unstable chemical and polymerization reactors and the
which the nonlinear process model serves as the basis
reactors that show oscillatory and chaotic dynamics.
for controller design. This type of control is expected
As far as unstable reactors are concerned, Choi and
to provide improved control performance since the
Ray [1988] and Chan et al. [1993] have employed
control structure preserves the nonlinearities of the
standard PID controllers to stabilize open-loop
real process in the form of its mathematical model. The
unstable steady state conditions of an olefin generic model control (GMC) introduced by Lee and
polymerization reactor, however, Takamatsu et al.
Sullivan [1988], the globally linearizing control (GLC)
[1986] and Kwag and Choi [1994] showed that such proposed by Kravaris and Chung [1987] and the
controllers may also pose serious control problems if nonlinear internal model control (NIMC) proposed by
the polymerization reactor presents significant Henson and Seborg [1991] are the prominent nonlinear
nonlinear behaviour. Dittamar et al. [1991] reported model based controllers. The GMC allows the
that linear predictive controllers might lead to proper implementation of the nonlinear process model
control of open-loop unstable polymerization reactor. directly into the controller structure. The GLC is a
Various nonlinear model predictive control strategies model based controller that transforms a nonlinear
have been successfully applied to the control of open- input/output system into a linear input/output system
loop unstable CSTR systems [Hidalgo and Brosilow, through a nonlinear transformation. The NIMC
1990, Hapolu, 2002, Venkateswarlu and Venkat Rao, proposed by Henson and Seborg is different from the
2005]. Nonlinear processes characterized with chaotic GMC of Lee and Sullivan [1988] and the GLC of
dynamic behaviour can be controlled either by Kravaris and Chung [1987] in that it includes implicit
stabilizing the UPOs in the neighbourhood of the integral action in the control structure by using the
desired UPO or stabilizing the dynamic trajectory of difference between the process output and model
the system exactly at the unstable steady state. Various output as a feedback signal. A nonlinear filter is
controllers based on ad-hoc, conventional and employed in NIMC which provides a tuning
advanced approaches have been reported to stabilize parameter that can be adjusted for process/model
the chaotic systems. In the ad-hoc approach, the mismatch. Since reasonably accurate mathematical
properties of chaos are used to develop ad-hoc models have been developed to predict the
methods without considering conventional control complicated dynamics of nonlinear systems, design of
techniques. The most commonly used method is the nonlinear controllers based on these models is a useful
OGY method by which one of the unstable orbits in control alternative for complex dynamical systems.
the chaotic attractor can be stabilized via small time This work is focused towards the model based control
dependent perturbations to a system parameter [Ottet of nonlinear dynamical systems in the frame work of
al., 1990, So and Ott, 1995]. The potential difficulty NIMC approach. The NIMC approach based
associated with the OGY method is the lon g transient controllers have been reported earlier for nonlinear
times before the system enters local region where the systems where the dynamic behaviour is not so
perturbation is effective [Petrovet al., 1994]. In complex [Kurtz and Henson, 1997, Venkateswarlu and
conventional control approach, various methods Gangiah, 1997].
including a proportional-Integral (PI) controller The objective of this paper is to derive a controller
[Pellegrini and Biardi, 1990] and a modified PI/PID based on NIMC approach for complex dynamical
controller [Bandyopadhyay, et al., 1997] have been systems that incorporates the nonlinear model
employed for controlling and operating the chaotic structure and the estimator dynamics in the controller
reactors under favourable conditions. However, the formulation. A model based estimator is designed to

2
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

provide the unmeasured process states that capture e = y d ( y ~y ) (6)


the fast changing nonlinear dynamics of the process to
where ~y is the process model output. The feedback
incorporate in the controller. The estimator uses the
signal is simplified to e=y d with perfect model
mathematical model of the process in conjunction with
assumption. A nonlinear filter is employed in NIMC
the known process measurements to estimate the
which provides a tuning parameter that can be
states. The design and implementation of the
adjusted for process/model mismatch. The new input v
proposed estimator based NIMC strategy is studied by
for NIMC is defined as
choosing two typical continuous chemical and
polymerization reactors that present challenging v = r Lrf1 h( x) r 1 Lrf 2 h( x) ....
operational and control problems due to their complex (7)
open-loop dynamics such as input-output 1 h( x ) + 1 e
multiplicities, parametric sensitivity, nonlinear where i are controller tuning parameters; r is the
oscillations and chaos. Further the comparison of the relative order and e=y d. According to this approach,
estimator based NIMC strategy is made with the control law for the system is given by
conventional controllers.
v L f h( x )
r

u= r 1
= p ( x ) + q ( x )v (8 )
Control Algorithm Lg L f h( x )
The general form of a single input single output (SISO)
system with state space description is: Application Processes

x = f ( x) + g ( x)u (1)
Two typical continuous nonlinear dynamical
processes are chosen for the design and
y = h(x) (2) implementation of the estimator based NIMC strategy.
where x is the vector of states, u is the manipulated Chemical reactor
input, y is the measured output, f(x) and g(x) are
vector functions and h(x) is the scalar function. The A non-isothermal, irreversible, first order series
relative order of the system defined by Eqs. (1 ) and (2) reaction ABC in a CSTR with control input and
is expressed by the following relations: load disturbances is described by the following
dimensionless mass and energy balance equations
L g L f h( x) = 0, k < r 1
k
[Kahlertet al., 1981]:
(3)
r 1
Lg L f h( x ) 0 dx1
= 1 x1 Da x1 exp( x 3 1 + A x 3 ) + d1 (9)
(4 )
dt
where r represents the relative order of the system and dx 2
Lf h(x) is the Lie derivative of the scalar function h(x) = x 2 + Da x1 exp( x 3 1 + A x 3 )
dt (10)
with respect to the vector function f(x) with L0f
h(x)=h(x). Similarly higher order Lie derivatives as well Da Sx 2 exp( kx 3 1 + A x 3 ) + d 2
as the Lie derivative of the scalar function h(x) with dx 3
respect to the vector function f(x), and then with = x 3 + B Da x1 exp( x 3 1 + A x 3 )
dt
respect to the vector function g(x) can be defined. The
Da B Sx 2 exp( kx 3 1 + A x 3 ) ( x 3 x 3c ) (11)
relative order defined by Eqs. (3) and (4) represents
the number of times the output y must be + ut + d 3
differentiated with respect to time so that the input u
appears explicitly. The variables x 1 and x 2 denote the dimensionless
concentrations of species A and B respectively, and x 3
A general form of the control law is written as
is the dimensionless temperature. The parameter x 3c
u=p(x) +q(x) v (5) represents the reactor coolant temperature. An
externally manipulated variable ut can be defined to
where v is the new input.
denote a measure of the deviation in the coolant
The NIMC approach includes an implicit integral temperature from the reference value x 3c. The load
action by using the difference between the plant and disturbances in feed compositions are denoted by d1
model outputs as a feedback signal: and d2, and the load disturbance in the reactor

3
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

temperature is denoted by d3. This reactor system Solvent Mass Balance


exhibit multi-stationary behaviour, oscillations and
chaos for the parameter values shown in Table 1. dv s sf v sf dT d (1 s )
= v s qo qi + s v s (14)
TABLE 1 CHARACTERIZATION OF STEADY S TATES d s d dT
Set Initiator Mass Balance
Parameter values x 1s x 2s x 3s Stability
No
dci
Da=0.06,S=0.0005,A=0, = cif ci (q o q i + k d ) (15)
I 0.0378 0.9501 6.0500 Unstable d
k=1,=0.426, =7.7,B=55.0
Energy Balance

Da=0.26,S=0.5,A=0,k=1, S table dT f (T f T ) H
II 0.0729 0.1259 3.8902 limit = + vm m k p P
=0.426, =7.7,B=57.77 cyc le
d C p ( MW ) m
(16)
UA(T Tc )
S ame as Set II except + u t
III 0.0819 0.1391 3.7627 Chaotic C p V
=7.9999
In the above equations, q 0 q i is a term that takes into
Homopolymerization reactor account changes in the density of the reactive mixture
and is defined by
Continuous homopolymerization reactors represent
one important class of dynamical systems. The mf vmf sf vsf
homopolymerization reactions are characterized by q0 qi = + + ( MW ) m m Rm m 1
m s
high heat release, high viscosity and poor heat transfer. p (17)
Vinyl acetate homopolymerization has shown dT d (1 s ) d (1 m ) d (1 p )
+ s vs + m vm + pv p
complex dynamic behaviour for certain ranges of d dT dT dT
operating conditions due to the large heat of
polymerization, the gel effect and the large activation UA
and = .
energy of the initiation step. These factors can readily C p V
produce phenomena such as multiple steady states,
steady state instability, limit cycles and chaos. The overall density and specific heat of the mixture are

The kinetic mechanism for free-radical vinyl acetate = m vm + s vs + p v p


homopolymerization reaction is as follows.
C p = y m C pm + y s C ps + y p C pp
I
Kd
2 R (Radical Initiation)
Under quasi steady state assumption for the free-
R + M
Kr
P1 (12) radical species (R and P), the normalized rate of
monomer reaction is expressed as
Pi + M
K
(Chain Propagation)
p
Pi +1
Rate m = k p P + Rckr (18)
Pi + Pn i + n
Kt
(Chain Termination)
where concentration of species P can be written as
The mathematical model for homopolymerization
Rckr M
reaction of vinyl acetate in tertiary butanol using P= (19)
AIBN as initiator is described by the following kt
equations [Pinto and Ray, 1995]:
The Rckr is the normalized rate of initiation as given
Monomer Mass Balance by

dv m mf v mf ( MW ) m R m 2 fk d c i
= qo qi vm Rckr = (20)
d m m (13) M
dT d (1 m ) By substituting the value of Rckr from Eq. (20) in Eq.
+ vm m
d dT (18), we have

4
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

2 fk d c i correlations that take into account the effects of


Ratem = k p P +
M (21) increasing polymer concentration. The other
R m ( MW ) m parameters necessary for simulation are presented in
= Table 2.
m vm
Design of Estimator Based Nonlinear
where Rm is the rate of monomer consumption
Controller
expressed by
The nonlinear internal model controller (NIMC) relies
k p P m v m on mathematical model of the process incorporating
Rm = + 2 fk d ci (22)
( MW ) m process state variable information in the controller
formulation. Since the state variables desired by the
The termination and propagation constants ( k t , k p ) controller are not easily available through
used in the above equations include gel effect with the measurement or available with large measurement
form delays, a model based nonlinear estimator is designed
to provide the unmeasured states needed by the
k t = k t0 g t controller.
(23)
k p = k p0 g p Controller Design

The gel effect correlations are The design of NIMC for complex dynamic processes
considered in this work is briefed as follows:
g p =1
1) Chemical Reactor
g t = exp(0.4407 x t 6.753x t2 0.3495 x t3 )
The f(x) and g(x) in Eq. (1) can be written by
In Eq. (23), omitting the load disturbances from the
t and k are the kinetic constants at zero
0 0
k p
dimensionless mass and energy balances in Eqs. (9)
polymer concentration, g t and g p are the gel effect - (11):
TABLE 2 VA HOMOPOLYMERIZATION S YSTEM PARAMETERS x
1 x Dax exp 3
1 1 1+ x
f = 0.8 A 3
x kx
V = 500 (ml) f ( x) = x + Dax exp 3 DaSx exp 3

2 1 1 + x 2 1 + x
UA = 12 (c al/min K) A 3 A 3

x kx

+ 3 BDaSx exp 3 x
H = 21000(c al/gmol) 3 x BDax
1
exp
1 + x 2 1 + x 3
A 3 A 3
Cpm = 0.470 (c al/g K)
(24)
Cps = 0.716 (c al/g K)
0
m (T ) = 958.4 1.3276(T 273) (g/lt)
g (x) = 0 (25)
p (T ) = 1211 0.8496(T - 273) (g/lt)
74120
s (T ) = (g/lt) The controlled output in Eq. (2) is given by
(60.21 + 0.116T )
y = h( x ) = x 3 (26)
C pp = 0.3453 + 9.55 10 4 (T 298) (c al/g K)
From Eqs. (3) and (4 ), the relative order of the
6100
system is evaluated as one. Thus for r =1, the new
k p0 = 82.212 10 8 e RT
(lt/gmol.s) input v in Eq. (7) is obtained as
30800
v = 1 ( x3s x3 ) (27)
k d = 94.8 1015 e RT (lt/gmol.s)

2462
On computing the Lie derivatives and substituting
them along with the new input in Eq. (8) leads to
k = 469.392 10 e
t
0 10 RT (lt/gmol.s)
the following control law

5
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

x3
1 ( x 3s x 3 ) x 3 + BDax1 exp BDaSx 2 exp kx3 x3
1 + x
1 + A x3 A 3 (28)
ut =

where 1 is the NIMC tuning parameter. The f(x) and g(x) in Eq. (1) can be defin ed from the
mass and energy balances of Eqs. (13) - (16):
2) Polymerization reactor


mf vmf q q v ( MW ) R d (1 ) f T f T UA(T T )
o i m m m +v m + H
v k P c

m m m dT C ( MW ) m m p C V

m p m p


v (29)
d (1 ) f
T T UA(T T )
sf sf qo qi vs s f H c
+ v + v k P
f ( x) = s
s s dT C ( MW ) m m p C V

p m p

c
if qo qi c k c
i d i

T T Hv k P
f f + m m p UA (T Tc )

C ( MW ) V C
p m p
0
0
g (x) =
0


(30)

The controlled output in Eq. (2) is obtained as polymer reactor system is of relative order one. The
new input v in Eq. (7) is computed as
y = h( x ) = T (31)
v = 1 (Ts T ) (32)
The conditions in Eqs. (3) and (4) defining the

f (T f T ) Hvm k p m P UA (T Tc )
1 (Ts T ) +
C p ( MW ) m V C p
ut = (33)

Estimator Design 1994, Aguilar-Lpez and Martinez-Guerra, 2005]. In
this work, a nonlinear model based estimator known
The success of estimator based controller for nonlinear
dynamical systems relies on the performance of the as extended Kalman filter (EKF) is designed to obtain
estimator as well as the model of the process that the state estimates from the known temperature
supports the estimator. Since mathematical models measurements of the respective processes. The
with enough details are used to develop the NIMC estimator design for NIMC strategy of this work is
strategy for complex dynamical systems, it is similar to that of the recently reported estimator
advantageous to use the same models in the estimator involved in the GLC control of a chaotic chemical
design in order to obtain fast and accurate estimation reactor [Karri et al., 2009, Karri, 2011]. The general
of unmeasured process states desired by the controller. process representation for model based state
Recently, model based estimators have been estimation is given in Appendix A. Th e EKF
successfully employed for state estimation in various estimation algorithm is given in Appendix B. The
stable systems [Venkateswarlu and Gangiah, 1992, elements of the state transition and measurement
Schuler and Schmidt, 1993, Sargantanis and Karim, matrices involved in the estimator are given in

6
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

Appendix C. applied with the objectives of controlling the chemical


reactor at an unstable steady state in the multiplicity
Results and Discussion region, at the unique unstable steady state responsible
for limit cycle oscillations and at unique unstable
Chemical Reactor
steady state responsible for chaotic motion. The
The reactor system described by Eqs. (9)-(11) exhibits controller parameter involved in NIMC is tuned as
multi-stationary behaviour, oscillations and chaos for 1=14.0 based on objective function to minimize the
parameter values given as sets I, II and III, respectively, integral of absolute error (IAE). The results are also
in Table. 1. For parameter set I, the system shows compared with those of a modified PID controller
unstable steady state, where as for parameter sets II with feedback mechanism, which has the form given
and III, the system exhibits limit cycle oscillations and by [22],
chaotic behaviour. The temperature data used for state
du t de
estimation are obtained through numerical integration = 0 f ' (t )e + 0 f (t ) + 1 edt (34)
of model equations using Gears method with a dt dt
sampling time of 0.0001 units. A model based state where f(t)=t and f(t)=1. The tuning parameters of the
estimator, extended Kalman filter is employed to PID controller (0 ,1 ) are evaluated using Ziegler-
estimate the states x 1, x 2 and x 3 using the temperature Nichols method. A sampling time of 1 sec is used for
measurement of the reactor. The performance of the the implementation of the estimator and the controller.
EKF estimator is evaluated by considering different For parameter values in set I, the system exhibits
cases of process parameter values shown in Table 1. multiple steady state behaviour. The controller goal is
The results in Fig. 1 represent the phase plane plots of to shift the process operating at an arbitrary point (x 10
the actual and estimated states of CSTR corresponding = 0.04, x 20 = 0.9, x 30 =5.75) to the set condition in Table 1
to the parameter values in set III. and maintain it at that state.

FIG. 1. ACTUAL (x , x )
1 2 AND ES TIMATED (x1 , x2 )
PHASE PLANE PLOTS FOR SET III

Fig. 2 shows the actual and estimated concentration


FIG. 2ACTUAL (x )
1 AND ESTIMATED 1 (x )
CONCENTRATION PROFILES FOR SET-III IN THE PRESENCE
profiles corresponding to set III in the presence of OF STOCHASTIC DISTURBANCE
stochastic noise in temperature obeying Gaussian
Fig. 3 shows the process output and controller output
distribution. Similar results are evaluated for set I and
plots of NIMC and PID controller, respectively for this
set II. In all the cases, the estimated states are in close
condition. For parameters in set II, the system exhibits
resemblance with the actual states.
sustained oscillatory behaviour (stable limit cycle) and
The NIMC strategy supported by the state estimator is the controllers are also required to regulate the

7
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

trajectory at the unique unstable steady state, which is disturbances. A deterministic disturbance of 1.0 and a
the desired condition. Fig. 4 shows the results of the stochastic load disturbance generated through random
NIMC and PID controller to realize the set condition in Gaussian noise of zero mean and a standard deviation
Table 1 from an arbitrarily selected initial state (x 10 = of 0.25 are considered to represent the d3 in
0.08, x 20 = 0.103, x 30=3.654). For parameters in set III, the temperature measurement. The results of the
system exhibits chaotic behaviour. In this objective, the controllers for stabilizing the system at unstable steady
controller has to stabilize the chaotic trajectory exactly state responsible for chaotic motion with these
at the corresponding unique unstable steady state. To
disturbances conditions are shown in Figs. 6 and 7.
realize this objective, the controllers are also applied
using the same initial condition as in set II to satisfy These results indicate the better performance of the
the desired condition for set III given in Table 1. NIMC strategy in the presence of either type of load
disturbances. The results of the controllers are also
The process output and controller output plots of
evaluated for a series of step changes in the set points
NIMC and modified PID controller corresponding to
of the controlled variables. The results in Fig. 8 show
this objective are shown in Fig. 5. Th ese plots indicate
that the controllers fulfil the desired objectives without the process output and controller output plots of
any offset. The nonlinear controller has shown better NIMC and modified PID controller for parameters in
stabilization over PID controller. The performance of set III for a series of 20% step changes in the set
the controllers is also evaluated by applying them for conditions in Table 1. These results show the better
controlling the system at the desired conditions in the performance of the estimated supported nonlinear
pr es en ce of det er m in is t ic a n d st och a st ic loa d controller.

FIG. 3 PROCESS AND CONTROLLER OUTPUT PLOTS FOR SET I OF (A) NIMC AND (B) PID

8
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

FIG. 4 PROCESS AND CONTROLLER OUTPUT PLOTS FOR SET II OF (A) NIMC AND (B) PID

FIG. 5 PROCESS AND CONTROLLER OUTPUT PLOTS FOR SET III OF (A) NIMC AND (B) PID

9
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

FIG. 6 PROCESS AND CONTROLLER OUTPUT PLOTS OF NIMC AND PID WITH DETERMINISTIC DIS TURBANCE FOR SET III

FIG. 7 PROCESS AND CONTROLLER OUTPUT PLOTS OF NIMC AND PID WITH STOCHASTIC DISTURBANCE FOR SET III

10
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

FIG. 8 PROCESS AND CONTROLLER OUTPUT PLOTS OF NIMC AND PID FOR A SERIES OF STEP CHANGES IN SET POINTS OF THE
CONTROLLED VARIABLES FOR SET III

Polymerization Reactor phase plane plot is depicted in Fig. 11(b).


The mathematical model of homopolymerization
reactor is solved by numerical integration using Gears
method with a sampling time of 0.0001 units. The
bifurcation diagram of VA homopolymerization
shown in Fig. 9 drawn for the operating conditions, Tc
= 318 K, T f = 315 K, v mf = 0.3 and cif = 0.03203 gmol/lt,
presents the existence of multiple steady states, limit
cycle and bifurcation points as well as stable and
unstable zones with respect to the variation of
residence time.

From Fig. 9, it can be observed that the transition


occurs from stable to unstable zone beginning at = 24
min. This transition causes oscillatory behaviour in
response that eventually lead to period doubling FIG. 9 PERIOD DOUBLING BIFURCATION DIAGRAM

bifurcation cascade and chaos as shown in Fig. 10(a). A model based estimator, extended Kalman filter (EKF)
The magnification results of Fig. 10(a) are further is employed to estimate the states v m vs ci and T using
explained in Figs. 10(b) and 10(c), which show the the temperature measurement of the reactor. The
sequence of periodic windows of periods 2, 4, 8 and so performance of the estimator is evaluated under
on leading to chaotic region. At = 27.37 min, the different conditions. Fig. 12 compares the actual and
chaotic behaviour with huge temperature oscillations estimated results of VA homopolymerization reactor.
is observed as shown in Fig. 11. The time domain These results confirm the usefulness of the method of
response is shown in Fig. 11(a) and the corresponding EKF as a state estimator for polymerization reactor.

11
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

FIG. 10 ONE DIMENS IONAL POINCARE BIFURCATION


DIAGRAM: (A) TRANS ITION FROM LIMIT CYCLES TO CHAOS,
FIG. 11 CHAOTIC BEHAVIOUR (A) TIME DOMAIN RESPONS E,
(B) MINIMUM TEMPERATURE AND (C) MAXIMUM
(B) PHASE PLANE PLOT
TEMPERATURE

FIG. 12 ACTUAL AND ESTIMATED PROFILES OF MONOMER VOLUME FRACTION (A) TIME DOMAIN RESPONSE (B) PHASE PLANE
PLOTS

12
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

FIG. 13 PROCESS AND CONTROLLER OUTPUT PLOTS OF NIMC AND PI

The NIMC strategy supported by the state estimator is corresponding these conditions are shown in Figs. 13(a)
applied with the objectives of controlling the and 13(b), respectively. In the same case, at t = 400 min,
homopolymerization reactor under different the monomer volume fraction, v mf is changed from 0.3
conditions and the results are presented in terms of to 0.33 while keeping the set-point at 364.87 K and Tf at
three cases. In the first case, the process is initially 313 K. The input and output profiles corresponding
operated under stable operation. Then changes are these conditions are shown in Figs. 13(c) and 13(d),
introduced in temperature set point and the controller respectively. Though the changes are introduced at
is applied to maintain the desired operation under different timings in one time scale, the results are
different input disturbance conditions introduced at represented in separate figures with two time scales
different timings. In the second case, the process is for the sake of clarity. From these results, it is observed
operated under oscillatory condition. The controller is that the NIMC tracks the desired condition very
applied to stabilize the process at the desired quickly, whereas the PI controller exhibits oscillatory
condition at a time during the open-loop oscillatory behaviour for a longer duration. The PI controller
dynamics. In the third case, the process is operated could even fail for change in v mf as shown in Fig. 13(c).
under chaotic behaviour. The controller is applied to The NIMC effectively rejects the disturbance
suppress the chaotic dynamics and to maintain the conditions and leads the process back to its desired
desired operation. The results of the NIMC strategy operation in a very conservative fashion.
are also compared with those of a conventional PI
In the second case, the process is disturbed from its
controller. The tuning parameter in NIMC strategy is
initial steady state by changing the Tc from 320 K to
chosen as 1 =16.5. The PI controller parameters are
318 K at t=8.3 min. This condition makes the process to
evaluated by using Ziegler and Nichols method and
further tuned and set as Kc = 1.76 and I =4.0. A exhibit oscillatory behaviour. This open-loop
sampling time of 1 sec is used for implementing the behaviour of the system is shown in Fig. 14(a). During
estimator and controller. For the first case, the process the oscillatory operation at t = 217.4 min, the
is initially at the stable steady state with T=366.4 K and controllers are applied to stabilize the operation and to
Tc=320 K. At time t = 8.3 min, the temperature set-point maintain the desired response condition, which is set
is changed from 366.4 to 364.87 K and at t = 200 min, Tf as 364.87K for this case. The results of process output
is changed from 315.00 to 313.00 K while keeping the and controller output for both the controllers are
set-point as 364.87 K. The input and output profiles shown in Figs. 14(b) and 14(c), respectively. From

13
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

these results, it is observed that both the controllers shown in Table 3 correspond to the conditions for
are able to track the process to the desired condition, which the results are depicted in figures referred in
but the NIMC has shown better performance by Table. 3. These quantification results further confirm
quickly suppressing the oscillations. In the third case, that the NIMC strategy is better suited for the control
the process is exhibiting chaotic behaviour for T=347.6 of nonlinear dynamical processes.
K and Tc = 318 K.

FIG. 15 OPEN LOOP AND CLOSED LOOP RES ULTS : (A)


CONTROLLED OUTPUT (B) CONTROL INPUT

TABLE 3 CONTROLLERS PERFORMANCE

Chemical Reactor
IAE
REFERENCE
NIMC P ID

0.938 365.163 Fig. 3

FIG. 14 OPEN LOOP AND CLOSED LOOP RES ULTS : (A) OPEN- 0.748 72.763 Fig. 4
LOOP BEHAVIOUR (B) CONTROLLEDOUTPUT(C) CONTROL
INPUT 0.347 93.524 Fig. 5

During the chaotic operation at t = 240 min, the 7.121 83.042 Fig. 6
controllers are applied to stabilize the operation and to
maintain the desired response which is set as 364.87K 0.924 93.709 Fig. 7

for this case. The results of process output and 6.852 118.350 Fig. 8
controller output for both the controllers are shown in
Polymer Reactor
Figs. 15(a) and 15(b), respectively. Again, the NIMC
has performed better by quickly suppressing the 0.000985 174.193 Fig. 13

chaotic dynamics with less stringent control actions. 40.605 110.697 Fig. 14
The results evaluated for both the chemical and
138.626 339.425 Fig. 15
polymerization reactors show the superior
performance of the estimator based NIMC strategy
Conclusions
over the conventional controllers. The performances of
the controllers for different conditions are also Complex dynamical systems can present the
expressed in terms of IAE values. The IAE values phenomena such as multiple steady state behaviour,

14
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

nonlinear oscillations and chaos. This phenomenon is where P0is initial statecovariance matrix, Q (t) is
usually analysed by means of dynamic mathematical process noise covariance matrix and R(tk ) is
models. The availability of such models can form a observation noise covariance matrix. The EKF
basis for the development of advanced nonlinear estimation algorithm is given in Appendix B.
controllers for such systems. The nonlinear model
based controllers require the process state information Appendix B: State Estimation Algorithm
in the controller formulation. This necessitates the The extended Kalman filter is computed in two steps.
need for an estimator to provide the unmeasured The first is a prediction step, which is used to
process states desired by the controller. Thus, this extrapolate the previous best estimates, and the
work is focused towards the development of a second is a correction step by which the updated
nonlinear model based controller for complex estimates are formed. Since prediction is based on
dynamic systems, which is supported by a nonlinear process model, continuous prediction and discrete
model based estimator. A nonlinear internal model correction are employed in the estimation scheme.
control (NIMC) strategy that incorporates the
Prediction equations: By starting with an initial estimate
nonlinear model structure and the estimator dynamics
x o and its covariance Po at time zero and no
in the control law is presented for the control of
measurements are taken between tk-1 and tk , the
complex dynamical systems. The estimator is designed
propagating expression for the state estimate and its
to provide the unmeasured process states that capture
covariance from tk-1 to tk are,
the fast changing nonlinear dynamics of the process to
incorporate in the controller. The performance of the x (t/t k 1 ) = f ( x (t/t k-1 ), t ) (B.1)
estimator supported NIMC strategy is evaluated by
applying it for the control of a non-isothermal P (t/t k-1 ) = F ( x (t/t k-1 ), t ) P(t/t k-1 )
(B.2)
nonlinear chemical reactor and a homopolymerization + P(t/t k-1 ) F T ( x (t/t k-1 ), t ) + Q(t )
reactor, which exhibit rich dynamical behaviour
ranging from stable situations to chaos. The results where F ( x (t / t k 1 ), t ) is the state transition matrix
evaluated under different conditions show the whose i j th element is given by
superior performance of the estimator based NIMC
strategy over the conventional controllers. f i ( x(t ), t )
F ( x (t/t k-1 ), t ) = x ( t ) = x ( t/t k-1 ) (B.3)
x j (t )
Appendix A: Process Representation

The time varying model of the nonlinear process is The solution of the propagated estimate x (t/t k-1 ) and
represented by its covariance P(t/tk-1) at time tk are denoted by
x (tk /tk-1 ) and P(tk/tk-1). By using measurements at time
x (t) = f ( x(t ), t ) + w(t ) , x(0) = x0 (A.1)
tk, the update estimate x (t k /t k ) and its covariance
where x(t) is n dimensional state vector, f is a P(tk /tk ) are computed.
nonlinear function of state x(t) and w(t) is an additive
Correction equations: The equations to obtain corrected
Gaussian noise with zero mean. The nonlinear
estimates are:
measurement model with observation noise can be
expressed as x (t k /t k ) = x (t k /t k 1 ) + K (t k )[ y (t k ) h ( x (t k / t k 1 ))]
y (t k ) = h( x(t k )) + (t k ) (A.2) (B.4)
P (t k /t k ) = ( I K (t k ) H ( x(t k ))) P (t k / t k 1 ) (B.5)
where h is a nonlinear function of state x(tk ). The T
expected values of noise covariance matrices for the
P (t k / t k 1 ) H ( x(t k ))
K (t k ) = (B.6)
initial state x(0), process noise w(t) and observation ( H ( x(t k )) P(t k / t k 1 ) H T ( x(t k )) + R)
noise v(tk ) are given by the following relations,
hi ( x(t k ))
P0 = E[( x0 x(0))( x0 x(0)) T ] where, H ( x(t k )) = x ( t k ) = x ( t k /t k 1 )
x(t k )
Q(t ) = E[ w(t) w T (t)] (A.3)
The recursive initial conditions for state and
R(t k ) = E[ v(t k ) v T (t k )] covariance are:

15
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

x (t k /t k 1 ) = x (t k /t k ) initiator and reactor temperature. The design of soft


(B.7) sensor involves the following components:
P(t k /t k 1 ) = P(t k /t k )
State vector
Appendix C: Elements of F and H Matrices Chemical
The volume fraction of monomer, solvent,
reactor
concentration of initiator and reactor temperature
The nonlinear dynamic model of the reactor system in define the state vector as
its dimensionless form is used in conjunction with the
temperature measurements to estimate the reactor x = [ vm vs ci T ]T (C.5)
species concentrations. The design of soft sensor
State transition matrix
involves the following components:
The elem ents f ij of the state transition matrix, Fare
State vector
computed by taking the partial derivatives of f(x)
The chemical species concentrations and the defined by (28) - (30) with respect to the state vector:
temperature define the state vector as
f11 f12 f13 f14
x = [ x1 x 2 x 3 ]
T (C.1) f f 22 f 23 f 24
F = 21 (C.6)
State transition matrix f 31 f 32 f 33 f 34

The elem ents f ij of the state transition matrix, Fare f 41 f 42 f 43 f 44
computed by taking the partial derivatives of f(x) Measurement matrix
defined by (24) - (26) with respect to the state vector:
The measurement relation for temperature is
f11 f12 f13 (C.7)
H = [0 0 0 1]
F = f 21 f 22 f 23
The temperature state equation, (30) in its discrete
f 31 f 32 f 33 form is used as the nonlinear measurement equation,
(C.2) h(x). The elements of the measurement transition
matrix, Hx are computed by taking the partial
Measurement matrix
derivatives of h(x) with respect to the state vector
The measurement relation for temperature is
H x = [h11 h12 h13 h14 ] (C.8)
H = [0 0 1] (C.3)
All these components are evaluated for
The temperature state equation, (26) in its discrete homopolymerization reactor and used with the EKF
form is used as the nonlinear measurement equation, estimator to obtain measured and unmeasured states
h(x). The elements of the measurement transition of the reactor. The state estimator uses the temperature
matrix, Hx are computed by taking the partial data of every sampling time as measurements and
derivatives of h(x) with respect to the state vector provides the estimates of temperature as well as
reactor species concentrations.
H x = [h11 h12 h13 ] (C.4)
Notation
All these components are evaluated for chaotic reactor
and used with the EKF estimator to obtain measured B heat of reaction parameter
and unmeasured states of the reactor. The soft sensor ci initiator concentration in reactor, gmol/l
uses the temperature data of every sampling time as
measurements and provides the estimates of ci f initiator feed concentration, gmol/l
temperature as well as reactor species concentrations. cp heat capacity of reaction mixture, cal/g o C
Polymer reactor cpf heat capacity of feed stream, cal/g o C
The nonlinear dynamic model of the VA d1, d2, d3 load disturbance in x1, x2, x3
homopolymerization system is used in conjunction
Da Damkohler number
with the temperature measurements to estimate the
volume fraction of monomer, solvent, concentration of e set point error

16
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

f initiator dissociation efficiency dimensionless time (t/)

-HR heat of polymerization, cal/gmol D time constant for derivative action

k ratio of the activation energies for the series I time constant for integral action
reaction
m volume fraction of monomer in reactor
kd rate constant for initiator decomposition, l/s
mf volume fraction of monomer in feed
kp rate constant for propagation, l/gmol s
density of reaction mixture, g/l
kt rate constant for termination, l/gmol s
f density of feed, g/l
Kc controller gain
f(T) density of feed adjusted to reactor
(MW)m molecular weight of monomer, g/g mol temperature, g/l
P live radical concentration, gmol/l m density of monomer at reactor conditions, g/l

qo qi ratio of outlet to inlet volumetric flow rate mf density of monomer at feed conditions, g/l

Rm rate of consumption of monomer, g mol/l min Subscripts

S ratio of the rate constants for the series m monomer


reaction
s solvent
t time, min
p polymer
T reactor temperature, K
f feed
Tc coolant temperature, K
REFERENCES
Tf feed temperature, K

UA overall heat transfer coefficient, cal/min K Aguilar-Lpe z, Ricardo, and Martine z-Gue rra, Rafae l, State
estimation for nonlinear systems under mode l
ut manipulated variable
unobservable unce rtaintie s: Application to continuous
V volume of the reactor, l
reactor, Chemical Enginee ring Journal 108 (2005), 139-
xt mole fraction of polymer 144.
x1 dimensionless concentration of species A Alvare z, Jess, Sure z, Rodolfo, and Snche z, Arturo,

x2 dimensionless concentration of species B Nonlinear decoupling control of free -radical


polyme rization continuous stirre d tank reactors,
x3 dimensionless temperature
Che mical Enginee ring Scie nce 45 (1990), 3341-3357.
x 3c dimensionless coolant temperature
Bandyopadhyay, Jayant K, Tambe , Sanjeev S, Jayaraman, VK,
x 1set , x 2set , x 3set set point for variable x1, x2 and x3 Deshpande , Pradee p B, and Kulkarni, Bhaskar D, On
x 1s , x 2s , x 3ssteady state values of x1, x2 and x3 control of nonlinear system dynamics at unstable steady

yi weight fraction of respective components state , Che mical Enginee ring Journal 67 (1997), 103-114.
(i= m,s,p) Blanco, Anbal M, and Bandoni, J Albe rto, Eige nvalue

Greek sy mbols optimization-base d formulations for nonlinear dynamics


and control problems, Chemical Enginee ring and
ratio of heat effects for the series reaction
Processing: Process Intensification 46 (2007), 1192-1199.
heat transfer coefficient
Chan, WaiMan, Gloor, Paul E, and Hamie le c, Archie E, A
0 initial controller gain
kine tic mode l for ole fin polymerization in highpressure
1 initial controller gain autoclave reactors, AIChE journal 39 (1993), 111-126.
A activation number Choi, KY, and Ray, Harmon W., The dynamic be havior of
continuous stirre d-be d reactors for the solid catalyze d
residence time, min

17
www.se ipub.org/acer Advance d Chemical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013

gas phase polymerization of propyle ne , Che mical chaotic reactor, Inte llige nt Control Syste ms and Signal
e ngineering scie nce 43 (1988), 2587-2604. Processing 2 (2009), 537-543.
Ch. Ve nkateswarlu, K. Gangiah, Comparison of nonlinear
Kravaris, Costas, and Chung, Chang-Bock, Nonline ar state
controlle rs for distillation startup and ope ration, Ind.
Eng. Che m. Res., 36 (1997) 55315536. fee dback synthesis by global input/output line arization,
Aiche Journal 33 (1987), 592-603.
Dittmar, Raine r, Ogonowski, Zbignie w, and Dame rt, Klaus,
Kurtz, Michae l J, and He nson, Michae l A, Input-output
Pre dictive control of a nonlinear ope n-loop unstable
line arizing control of constraine d nonlinear processes,
polyme rization reactor, Chemical e ngineering scie nce 46 Journal of Process Control 7 (1997), 3-17.
(1991), 2679-2689. Kwag, Byung Gu, and Choi, Kyu Yong, Effe ct of initiator
Doe de l, Eusebius J, and He ine mann, Robe rt F, Nume rical characte ristics on high-pressure e thyle ne polyme rization
computation of pe riodic solution branches and in autoclave reactors, Industrial & e nginee ring chemistry
oscillatory dynamics of the stirre d tank reactor with re search 33 (1994), 211-217.
ABC reactions, Chemical e ngineering scie nce 38 Lee , P. L., and Sullivan, G. R., Ge ne ric mode l control (gmc),
(1983), 1493-1499. Compute rs & Che mical Enginee ring 12 (1988), 573-580.
Flores-Tlacuahuac, Antonio, Bie gler, Lore nz T, and Saldvar- Lima, Enrique L, Control of a chaotic polyme rization reactor:

Gue rra, Enrique , Dynamic optimization of hips ope n- A ne ural network base d mode l pre dictive approach,

loop unstable polymerization reactors, Industrial & Polyme r e ngineering and scie nce 36 (1996).

e ngineering chemistry research 44 (2005), 2659-2674. Ott, Edward, Grebogi, Ce lso, and Yorke , James A,

Hapolu, Hale , Nonline ar long range pre dictive control of Controlling chaos, Physical revie w le tters 64 (1990), 1196-
1199.
an ope nloop unstable reactor, Compute rs & che mical
Pe llegrini, L, and Biardi, G, Chaotic be haviour of a
e ngineering 26 (2002), 1427-1436.
controlle d cstr, Computers & che mical e nginee ring 14
He nson, Michae l A, and Seborg, Dale E, An inte rnal mode l
(1990), 1237-1247.
control strate gy for nonlinear systems, AIChE journal 37
Pe trov, Vale ry, Crowle y, Michae l J, and Showalte r, Ke nneth,
(1991), 1065-1081.
Tracking unstable pe riodic orbits in the be lousov-
Hidalgo, Paula Marie , and Brosilow, CB, Nonline ar mode l
zhabotinsky reaction, Physical revie w le tte rs 72 (1994),
pre dictive control of styre ne polymerization at unstable
2955-2958.
operating points, Compute rs & che mical e ngineering 14
Pinto, JC, and Ray, Harmon W., The dynamic be havior of
(1990), 481-494. continuous solution polymerization reactorsvii.
Jaisinghani, R, and Ray, Harmon W., On the dynamic Expe rime ntal study of a copolyme rization reactor,
be haviour of a class of homogene ous continuous stirre d Che mical e ngineering scie nce 50 (1995), 715-736.
tank polyme rization reactors, Chemical Enginee ring Qammar, H, Se shadhri, KR, Gomatam, R, and Ve nkatesan, A,
Scie nce 32 (1977), 811-825. Control of a chaotic polyme rization reaction using linear
Kahle rt, C, Rossler, OE, and Varma, A, Chaos in a and nonlinear controllers, The Chemical Enginee ring
continuous stirre d tank reactor with two consecutive Journal and The Biochemical Enginee ring Journal 64
first-order reactions, one e xo-, one e ndothermic, Springe r (1996), 141-148.

Se r. Che m. Phys 18 (1981), 355. Sargantanis, John G, and Karim, M Nazmul, Multivariable

Karri, Rama Rao, Evaluating and estimating the comple x ite rative e xtende d kalman filte r base d adaptive control:

dynamic phe nome na in nonlinear chemical systems, Case study of solid substrate ferme ntation, Industrial &

International Journal of Chemical Reactor Enginee ring 9 e ngineering chemistry research 33 (1994), 878-888.
Schmidt, Alan D., Clinch, AB, and Ray, Harmon W., The
(2011), 94.
dynamic be haviour of continuous polyme rization
Karri, Rama Rao, Damaraju, P. Rao, and Venkateswarlu,
reactorsiii: An e xpe rime ntal study of multiple steady
Chimmiri, Soft sensor base d nonlinear control of a

18
Advance d Che mical Enginee ring Research (ACER) Volume 2 Issue 1, March 2013 www.se ipub.org/ace r

states in solution polyme rization, Che mical enginee ring Dynamic stability and bifurcation analysis of an
scie nce 39 (1984), 419-432. e xpe rimental reactor, Chemical Engineering Scie nce 44
Schmitz, RA, Bautz, RR, Ray, Harmon W., and Uppal, A, The (1989), 1967-1982.
dynamic be havior of a cstr: Some comparisons of the ory Uppal, A, Ray, Harmon W., and Poore , AB, The
and e xpe rime nt, AIChE Journal 25 (1979), 289-297. classification of the dynamic be havior of continuous
Schule r, H, and Schmidt, Ch U, Mode l-base d measure ment stirre d tank reactorsinflue nce of reactor reside nce time ,
techniques in che mical reactor applications, Inte rnational Che mical Enginee ring Scie nce 31 (1976), 205-214.
Che mical Enginee ring 33 (1993). Ve nkateswarlu, Chimmiri, and Gangiah, Kota, Dynamic
So, Paul, and Ott, Edward, Controlling chaos using time mode ling and optimal state estimation using e xte nde d
de lay coordinates via stabilization of pe riodic orbits, kalman filte r for a kraft pulping digester, Industrial &
Physical Re vie w E 51 (1995), 2955. e ngineering chemistry research 31 (1992), 848-855.
Takamatsu, Take ichiro, Shioya, Suteaki, and Okada, Yoshiki, Ve nkateswarlu, Chimmiri, and Ve nkat Rao, K., Dynamic
Design of adaptive /infe re ntial control system and its re current radial basis function network mode l pre dictive
application to polyme rization reactors, Industrial & control of unstable nonlinear processes, Che mical
Enginee ring Chemistry Process Design and Enginee ring Scie nce 60 (2005), 6718-6732.
De ve lopme nt 25 (1986), 821-828.
Te ymour, F, and Ray, Harmon W., The dynamic be havior of
continuous solution polymerization reactorsiv.

19

You might also like