Petr Dostál, Jiří Vojtěšek, and Vladimír Bobál
Department of Process Control, Faculty of Applied Informatics
Tomas Bata University in Zlin
Nad Stráněmi 2911, Zlín 760 05, Czech republic
Email: dostalp@fai.utb.cz
Abstract
The paper deals with simulation of continuoustime adaptive control of a continuous stirred tank reactor (CSTR). The control design is based on approximation of a nonlinear model of the process by a continuoustime external linear model.with parameters estimated using a corresponding delta model. The control system with two feedback controllers is considered. The controller design is based on the polynomial approach and the pole assignment method. The adaptive control is tested by simulations on the nonlinear model of the CSTR with a consecutive exothermic reaction.
Introduction
Continuous stirred tank reactors (CSTRs) belong to a class of nonlinear systems where both steadystate and dynamic behaviour are nonlinear. Their models are derived and described in e.g. (Ogunnaike and Ray 1994; Schmidt 2005; Corriou 2004). The process nonlinearities may cause difficulties when controlling using conventional controllers with fixed parameters. One possible method to cope with this problem is using adaptive strategies based on an appropriate choice of an external linear model (ELM) with recursively estimated parameters. These parameters are consequently used for parallel updating of controller‘s parameters.
The control itself can be either continuoustime or discrete. Experiences of authors in the field of control of nonlinear technological processes indicate that the continuous time (CT) approach gives better results when controlling processes with strong nonlinearities.
For the CT ELM parameters estimation, either the direct method or application of an external delta model with the same structure as the CT model can be used (Dostál et al. 2004). In this paper, an approach based on the delta model was applied.
The basics of delta models have been described in e.g. (Middleton and Goodwin 1990; Mukhopadhyay et al. 1992; Goodwin et al. 2001). Although delta models belong into discrete models, they do not have such disadvantages connected with shortening of a sampling period as discrete zmodels. In addition, parameters of delta models can directly be estimated from sampled signals. Moreover, it can be easily proved that these parameters converge to parameters of CT models for a sufficiently small sampling period (compared to the dynamics of the controlled process). Complete description and experimental verification can be found in (Stericker and Sinha 1993).
This contribution presents in brief a procedure of a CSTR control design and, consequently, the control simulation results. The parameters of the CT ELM are obtained via corresponding delta model parameter estimation. The control system with two feedback controllers is used according to (Ortega and Kelly 1984; Dostál et al. 2007). This setup gives better control results for the reference tracking than the use of only a feedback controller. Input signals for the control system are considered as step functions. The resulting continuoustime controllers derived using polynomial and pole assignment methods (Kučera 1993) guarantee stability of the control system, asymptotic tracking of step references and step load disturbances attenuation. The simulations are performed on a nonlinear model of the CSTR with a consecutive exothermic reaction.
Model of the plant
Consider a CSTR with the first order consecutive exothermic reaction according to the scheme _{ } and with a perfectly mixed cooling jacket. Using the usual simplifications, the model of the CSTR is described by four nonlinear differential equations
_{ } (1)
_{ } (2)
_{ } (3)
_{ } (4)
with initial conditions _{ }, _{ }, _{ }and _{ }. Here, t is the time, c are concentrations, T are temperatures, V are volumes, r are densities, c_{p} are specific heat capacities, Q are volumetric flow rates, A_{h} is the heat exchange surface area and U is the heat transfer coefficient. The subscripts are denoted (^{.})_{r} for the reactant mixture, (^{.})_{c} for the coolant, (^{.})_{f} for feed (inlet) values and the superscript (^{.})^{s} for steadystate values. The reaction rates and the reaction heat are expressed as
_{ } (5)
_{ } (7)
where k_{0} are preexponential factors, E are activation energies and (DH_{r}) are in the negative considered reaction entalpies. The values of all parameters, feed values and steadystate values in the operating point (initial conditions for (1) — (4)) are given in Table 1.
Table 1. Parameters, inlet values and initial conditions (operating point).
V_{r} = 1.2 m^{3} V_{c} = 0.64 m^{3} A = 5.5 m^{2} 
Q_{r}^{s} = 0.08 m^{3}min^{1} Q_{c}^{s} = 0.073 m^{3}min^{1} 
r_{r} = 985 kg m^{3} r_{c} = 998 kg m^{3} 
c_{pr} = 4.05 kJ kg^{1}K^{1} c_{pc} = 4.18 kJ kg^{1}K^{1} U = 43.5 kJ m^{2}min^{1}K^{1} 
k_{10} = 5.616 ^{.} 10^{16} min^{1} k_{20} = 1.128 ^{.} 10^{18} min^{1} 
E_{1}/ R = 13477 K E_{2}/ R = 15290 K 
_{ } = 4.8 ^{.} 10^{4} kJ kmol^{1} _{ }= 2.2 ^{.} 10^{4} kJ kmol^{1} 

c_{Af} = 2.85 kmol m^{3} T_{f} = 323 K 
c_{Bf} = 0 kmol m^{3} T_{cf} = 293 K 
c_{A}^{s} = 1.374 kmol m^{3} T_{r}^{s} = 327.1 K 
c_{b}^{s} = 1.361 kmol m^{3} T_{c}^{s} = 308.0 K 
In term of the practice, only the coolant flow rate can be taken into account as the control input. On behalf of selection of a suitable controlled output, the dynamic charakteristics were computed in the neighbourhood of the operating point. The input and both outputs were considered as deviations from steady values. The deviations are denoted as follows:
_{ }, _{ }, _{ } The responses in Figs. 1 and 2 show a better applicability of the reactant temperature as the controlled output in comparison with the component B output concentration having in this regard very unfavourable properties.
Figure 1: Component B output concentration step responses. Figure 2: Reactant temperature step responses.
CT and DELTA external linear model
For the control purposes, the controlled output and the control input were defined as
_{ }. (7)
These expressions enable to obtain variables of approximately the same magnitude.
Taking into account curves in Fig. 2, the second order CT ELM can be chosen in the form of the second order linear differential equation
_{ } (8)
or, in the transfer function representation as
_{ }. (9)
Establishing the d operator
_{ } (10)
where q is the forward shift operator and T_{0} is the sampling period, the delta ELM corresponding to (8) takes the form
_{ } (11)
where _{ }is the discrete time.
When the sampling period is shortened, the delta operator approaches the derivative operator, and, the estimated parameters _{ } reach the parameters a, b of the CT model as shown in (Stericker and Sinha 1993).
DELTA model parameter estimation
Substituting _{ }, equation (11) may be rewriten to the form
_{ } (12)
Establishing the regression vector
_{ } (13)
where
_{ } , _{ },
the vector of delta model parameters
_{ } (14)
is recursively estimated from the equation
_{ } (15)
where
_{ }. (16)
The recursive estimation of delta model parameters was performed with the sampling interval T_{0} = 0.5 min. Here, the recursive identification method with exponential and directional forgetting according to (Rao and Unbehauen 2005; Bobál et al. 2005) was used.
Constrol system description
The control system with two feedback controllers is depicted in Fig. 3. In the scheme, w is the reference signal, v denotes the load disturbance, e is the tracking error, u_{0} is the output of the controller, y is the controlled output and u is the control input.
Figure 3: Control system with two feedback controllers.
In general therms, G represents the ELM with the transfer function
_{ } (17)
and Q and R are feedback controllers with transfer functions
_{ }, _{ } (18)
where _{ }are polynomials in s.
Both w and v are considered to be step functions with transforms
_{ }, _{ }. (19)
Application of polynomial method
The controller design described in this section appears from the polynomial approach. General conditions required to govern the control system properties are formulated as strong stability (in addition to the control system stability, also the stability of controllers is required), internal properness, asymptotic tracking of the reference and load disturbance attenuation.
The procedure to obtain admissible controllers can be briefly described as follows:
Establish the polynomial t as
_{ }. (20)
Then, the control system stability is ensured when polynomials _{ } and t are given by a solution of the polynomial Diophantine equation
_{ } (21)
with a stable polynomial d on the right side. Evidently, the roots of d determine poles of the closedloop.
Further, the asymptotic tracking and load disturbance attenuation are provided by polynomials _{ }and _{ } having the form
_{ }, _{ }. (22)
Subsequently, the transfer functions of controllers take forms
_{ }, _{ }. (23)
A stable polynomial p(s) in denominators of (23) ensures the stability of controllers.
The control system satisfies the condition of internal properness when the transfer functions of all its components are proper. Consequently, the degrees of polynomials q and r must fulfill inequalities
_{ }, _{ }. (24)
Now, the polynomial t can be rewritten into the form
_{ }. (25)
Taking into account solvability of (21) and conditions (24), the degrees of polynomials in (21) and (24) can be easily derived as
_{ }, _{ }, _{ }, _{ }. (26)
Denoting deg a = n, polynomials t, r and q have forms
_{ }, _{ }, _{ } (27)
where their coefficients fulfill equalities
_{ }, _{ } for _{ } (28)
Then, unknown coefficients r_{i} and q_{i} can be obtained by a choice of selectable coefficients _{ } such that
_{ }, _{ } for _{ }. (29)
The coefficients b_{i} split a weight between numerators of transfer functions Q and R. With respect to (23) and (29), it may be expected that higher values of b_{i} will speed up control responses to step references.
Remark: If _{ }for all i, the control system in Fig. 1 simplifies to the 1DOF control configuration. If _{ } for all i and both reference and load disturbance are step functions, the control system corresponds to the 2DOF control configuration.
The controller parameters then follow from solution of the polynomial equation (21) and depend upon coefficients of the polynomial d.
Now, for the second order model (9) with _{ }, the numerators in (23) take forms
_{ }, _{ } (30)
where
_{ }, _{ }, _{ }, _{ }. (31)
Pole assingment
A required control quality can be achieved by a suitable determination of the polynomial d on the right side of (21).
In this paper, the polynomial d is chosen as a product of two stable factors
_{ }. (32)
Here, g is the third order stable polynomial
_{ } (33)
given by spectral factorization
_{ } (34)
and asterisk denotes a conjugate polynomial.
Note that the spectral factorization (34) is well known from the LQ control theory. There g appears from a claim of minimization of the cost function
_{ } (35)
where j is the weight coefficient.
The polynomial n is the second order stable polynomial
_{ } (36)
resulting from spectral factorization
_{ } (37)
The form (32) leads to strictly proper controllers with transfer functions
_{ }, _{ }. (38)
Note that the choice of d in the form (32) provides the control of a good quality for aperiodic controlled processes.
Now, it follows from the above introduced procedure that the parameters of both controllers depend upon coefficients ß as well as upon the parameter j which affects the closedloop poles. Consequently, tuning of the controllers can be performed by a suitable choice of selectable parameters ß and j. The adaptive control system is shown in Fig. 4.
Figure 4: Adaptive control with delta ELM parameter estimation.
Simulation results
For the start (the adaptation phase), a P controller with a small gain was used in all simulations.
The effect of the parameter j on the control responses in the 1DOF structure is transparent from Figs. 5 and 6. Here, three values j were selected. The control results show sensitivity of the controlled output and control input to j. An decreasing j leads to overshoots of the controlled output and higher values and changes of the control input.
The control responses for b_{1 }= ß_{2} = 1 (the 1DOF structure), b_{1 }= ß_{2} = 0.5 and b_{1 }= ß_{2} = 0 (the 2DOF structure) with the same j are compared in Figs. 7 and 8. The presented results show that by a suitable choice of parameters b, the control responses of a good quality can be achieved. Moreover, decreasing values b lead to smaller control input changes. This fact can be important for a practical control where greater input changes may be undesirable.
The simulated control responses for b_{2} = 0 and different values b_{1} are shown in Figs. 9 and 10. The effect of the parameter b_{1} is evident. Its increase speeds up the control, but, it can lead to overshoots of the controlled output and to higher control input changes (derivatives).
Figure 5: Controlled outputs for various j (1DOF). Figure 6: Control inputs for various j (1DOF).
Figure 7: Controlled outputs for various b_{1}, b_{2} (j = 1). Figure 8: Control inputs for various b_{1}, b_{2} (j = 1).
Figure 9: Controlled outputs for various b_{1} (j = 1). Figure 10: Control inputs for various b_{1} (j = 1).
Figure 11: Step disturbance attenuation (1DOF, j = 1).
Conclusions
An objective of the article was to verify by simulations an adapteve control algorithm derived for a continuous stirred tank reactor. The presented strategy uses two feedback controllers and enables to create an effective control algorithm. This algorithm is based on an alternative continuoustime external linear model with parameters obtained through recursive parameter estimation of a corresponding delta model. Both resulting continuoustime controllers are derived using the polynomial approach and given by a solution of a polynomial Diophantine equation. Tuning of their parameters is possible either via the parameter affecting the closedloop poles or by a choice of selectable coefficients splitting a weight between numerators of controllers' transfer functions. The presented method has been tested by computer simulation on the nonlinear model of the CSTR with a consecutive exothermic reaction. The results demonstrate the applicability of the presented control strategy.
Acknowledgment
This work was supported by the Ministry of Education of the Czech Republic under the grant MSM 7088352101.
References
Aktuální číslo
Odborný vědecký časopis Trilobit  © 2009  2018 Fakulta aplikované informatiky UTB ve Zlíně  ISSN 18041795