Articulo Actividad 5
Articulo Actividad 5
Articulo Actividad 5
ScienceDirect
Resource-Efficient Technologies ■■ (2017) ■■–■■
www.elsevier.com/locate/reffit
Research paper
Modelling and control of crystallization process
S.K. Jha 1, S. Karthika 2, T.K. Radhakrishnan 2,*
1
Department of Instrumentation and Control Engineering, National Institute of Technology, Tiruchirappalli 620 015, India
2
Department of Chemical Engineering, National Institute of Technology, Tiruchirappalli 620 015, India
Received 30 June 2016; received in revised form 6 January 2017; accepted 9 January 2017
Available online
Abstract
Batch crystallizers are predominantly used in chemical industries like pharmaceuticals, food industries and specialty chemicals. The nonlinear
nature of the batch process leads to difficulties when the objective is to obtain a uniform Crystal Size Distribution (CSD). In this study, a linear
PI controller is designed using classical controller tuning methods for controlling the crystallizer outlet temperature by manipulating the inlet
jacket temperature; however, the response is not satisfactory. A simple PID controller cannot guarantee a satisfactory response that is why an
optimal controller is designed to keep the concentration and temperature in a range that suits our needs. Any typical process operation has
constraints on states, inputs and outputs. So, a nonlinear process needs to be operated satisfying the constraints. Hence, a nonlinear controller like
Generic Model Controller (GMC) which is similar in structure to the PI controller is implemented. It minimizes the derivative of the squared error,
thus improving the output response of the process. Minimization of crystal size variation is considered as an objective function in this study. Model
predictive control is also designed that uses advanced optimization algorithm to minimize the error while linearizing the process. Constraints are
fed into the MPC toolbox in MATLAB and Prediction, Control horizons and Performance weights are tuned using Sridhar and Cooper Method.
Performances of all the three controllers (PID, GMC and MPC) are compared and it is found that MPC is the most superior one in terms of settling
time and percentage overshoot.
© 2017 Tomsk Polytechnic University. Production and hosting by Elsevier B.V. This is an open access article under the CC BY-NC-ND license
(http://creativecommons.org/licenses/by-nc-nd/4.0/).
Keywords: Batch crystallization; Crystal size distribution; Crystal size variation; Optimal control; Constraints; Model predictive control
1. Introduction concentration has been possible and the advanced control con-
cepts related to model free controller design and robust control
Crystallization is one of the oldest and widely used unit
of crystal shape and size have been developed [1].
operations in chemical industry. It is commonly used in phar-
maceuticals, fine chemicals and food industries. It is usually the
first step in any separation process and produces high-purity 1.1. Operations of batch crystallizer
products. The batch crystallization mode is widely adopted in A pictorial representation of batch cooling crystallizer is
industries for the production highly pure products in small shown in Fig. 1, in which the crystals are formed when the
quantities. The methodologies of batch crystallization model- solubility of a solute in a solution decreases as a result of
ling are well established and the control strategies have under- cooling the solution. Decrease in the solubility can also be
gone many refinements over the past decades. Due to achieved by evaporating the solvent from the solution or by
advancement of sensor technology, measurement of solution adding another solvent which precipitates the solute. The crys-
tallization process consists of two major events, nucleation and
crystal growth which continue to occur simultaneously, and
International Conference on Separation Technologies in Chemical, their rate is driven by the existing supersaturation in the solu-
Biochemical, Petroleum and Environmental Engineering (TECHNOSCAPE tion. Supersaturation can be altered by changing the operating
2016). conditions [2]. Depending upon the conditions, either nucle-
* Corresponding author: Department of Chemical Engineering, National
Institute of Technology, Tiruchirappalli 620 015, India. Tel.: 0431 2503104; fax:
ation or growth may be predominant over the other, and as a
91-431-250133. result, crystals with different sizes and shapes are obtained. As
E-mail address: [email protected] (T.K. Radhakrishnan). the time progresses, supersaturation level decreases and a stage
http://dx.doi.org/10.1016/j.reffit.2017.01.002
2405-6537/© 2017 Tomsk Polytechnic University. Production and hosting by Elsevier B.V. This is an open access article under the CC BY-NC-ND license
(http://creativecommons.org/licenses/by-nc-nd/4.0/). Peer review under responsibility of Tomsk Polytechnic University.
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
2 S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■
in the metastable zone which is bounded by solubility and where C is the solute concentration, ρc is the density of crystals
metastable curves. Here, a concentration trajectory as a func- and Kv is the volumetric shape factor. The energy balances for
tion of temperature is followed with simple feedback control the suspension and the cooling jacket are given below
system which is very simple to adopt and does not require the
accurate prediction of nucleation and growth kinetics [3–5]. dT − UA 3ρ K ΔH ∞
The objective of this study is to analyse and compare the
= (T − Ti ) − c v ∫0 nGL2dL (5)
dt MC p Cp
performance of the conventional and the advanced controllers
which track the desired cooling profile. The temperature control dTi Fi UA
strategy is the most widely adopted technique because of its = (Tisp − Ti ) + (T − Ti ) (6)
dt Vi ` i Vi C pi
simplicity since it requires only temperature of the crystallizer
to be controlled and is used in the present study. Potassium where T is the temperature of the crystal suspension at any time
nitrate–water system is taken as a model system and the inlet t, Ti is the time dependent temperature of fluid in the jacket
jacket temperature is taken as the manipulated variable. The (water), Fi, Vi, ρi and Cpi are respectively the flow rate, volume,
paper is organized as follows. In section 2, population balance density and specific heat of the inlet jacket fluid respectively,
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■ 3
Table 1
Parameters used for simulation of crystallization process.
Parameters Definition Value Units
b Nucleation rate exponent 1.78
Kb Nucleation rate constant 4.64*1011 1/m3.s
g Growth rate exponent 1.32
Kg Growth rate constant 1.1612*10−4 m/s
C0 Initial concentration of solution 18 kg KNO3/kg water
ρc Density of crystals 2110 kg/m3
ρi Density of water 1000 kg/m3
Kv Volume shape factor 1
M Mass of slurry 30 kg
Cp Specific heat capacity of solution 95.06 J/kg.K
Cpi Specific heat of water 4184 J/kg.K
Vi Volume shape factor 0.905 m3
Fi Flow rate of water 0.001 kg/s
U.A. Areas times overall heat transfer coefficient 0.125 J/K.s
μ0 (0) Zeroth moments (total number of crystals) 10−6
μ1 (0) First moment (total length of crystals) 10−6
μ2 (0) Second moment (total area of crystals) 10−6
μ3 (0) Third moment (total volume of crystals) 10−6
n (L, t) number density function which describes the number of crystals per crystal (1/m4)
length and volume of slurry
S Supersaturation which defines the driving potential for the nucleation and growth
to occur
Tisp is the set point temperature provided, U and A are the the model equations, which have the following physical
overall heat transfer coefficient and area available for heat significance; μ0 represent total crystal number per unit volume,
transfer respectively, ρ is the density of the slurry and ΔH is the μ1 represent total crystal length per unit volume, μ2 represent
heat of crystallization. The growth rate G and birth rate B rate total crystal surface area per unit volume, μ3 represent total
at any time t in the crystallizer are obtained from empirical crystal volume per unit volume. The rate equations for different
equations moments can be written as
G = K g .Sg (7) dμ 0
= B (t) (10)
dt
B = K b .Sb (8)
dμ i
where Kg and g are growth rate parameters and Kb and b are = i ∗ G ( t ) ∗ μ in−1 (11)
dt
birth rate parameters and S is the supersaturation which is
defined as the driving potential for nucleation and growth to All the above mentioned ordinary differential equations,
occur. In terms of concentration, S = (C − Cs)/Cs, where C is the mass and energy balance equations are solved in SIMULINK
solution concentration and Cs is the concentration at saturated environment of MATLAB software using ODE45 solver as well
conditions. as forward Euler method. The parameters are taken from Miller
[9], for carrying out the simulation and is shown in Table 1.
2.1. Method of moments Metastable zone width is assumed to be constant having a value
of ΔT = 2.2 K for temperature range used. The saturation con-
PBE as described in equation (1) is in the form of a partial centration (Cs) for KNO3–water system is given by the equation
differential equation. The numerical schemes for solving the
PBE are very complex and time consuming. In order to reduce Cs = 0.1286 + 0.00588.T2 + 0.0001721.T3 (12)
the model complexity, it is advisable to convert this partial
differential equation into a set of ordinary differential equa- 3. Design of controllers
tions. The most widely used method to reduce the complexity is 3.1. PID controller design
to use the method of moments. In principle, the method of
moments defines the ith moment in terms of the population Crystallization process can be controlled by two ways; either
density function by by controlling the crystallizer temperature or by controlling the
crystallizer concentration. Inlet jacket temperature is used as
∞
μ i = ∫ n ( L, t ) Li ( t ) dL (9) the manipulated variable. As the jacket temperature is changed,
0
concentration and temperature of the crystallizer is changed.
where μi is the ith moment and n(L, t) is the population density Since, concentration control requires some expensive sensors,
function. Usually, first four moments are needed for solving temperature control is widely adopted in literatures. A basic
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
4 S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■ 5
configuration because model and process are parallel acted and MPC toolbox model advisor is used to calculate the perfor-
difference act as feedback control signal. But coordination of mance weights. MPC toolbox of the SIMULINK environment
the control and set point calculations makes MPC superior than is used to carry out the simulation. Input and output constraints
others. Moreover, MPC is largely used in MIMO control prob- are provided and weights and gain are tuned to find out the
lems than IMC or Smith predictor. optimal performance.
The main objective of the MPC is to determine the set of
control moves so that predicted model output reaches the 4. Results
desired set point. At any sampling time, MPC decides a set of M
A classical PID controller to control the temperature of
input values containing a present input u(k) and future (M-1)
the crystallizer has been proposed in which temperature of the
inputs. Set of inputs are calculated in such a way that a set of P
jacket fluid is taken as the manipulated variable to control the
predicted output should reach the optimum set point. Objective
crystallizer temperature. The parameter values for the PID con-
function is optimized to find out control moves. Number of
trollers were obtained minimizing the integral square error
control moves M is called the control horizon while number of
(ISE). The response of PID controller for the set point tracking
prediction P is referred to as the prediction horizon.
is shown in Fig. 3. Ultimate period and gain are calculated by
The least square objective function for a prediction horizon
increasing the value of Kc until a sustained oscillation curve is
P and a control horizon M is written as follows,
obtained. Zeigler–Nichols tuning settings are given by Kc = 0.6
P 2 M −1
∅ = Q.∑ i =1 ( rk +1 − yˆ k + i ) + R.∑ i = 0 Δu 2 K + i (19) Ku, τI = PU/2,τD = PU/8. For this case, it is found out to be
Kc = 1.8, τI = 0.6, τD = 1.35. The controller is tracking the set
where ŷ denotes the predicted model outputs, ‘r’ is the set point changes for different types of step changes provided. But,
point, Δu is the change in manipulated input from one sample the overshoot appears to be higher and it takes a minimum of
time to the next, ‘Q’ and ‘R’ is a weight for the change in the 53 min for the response to settle at steady value. The response
output and manipulated input respectively. The optimization of GMC for set point tracking is shown in Fig. 4. It provides a
problem deals with a minimization of the objective function by better response when compared with PID controller. The over-
manipulating control moves. shoot has reduced and the response settles after 49 min. Both
controllers were compared (Fig. 5, Table 2) in terms of percent-
3.3.1. Tuning strategy review age overshoot, settling times and it was found that GMC
response was quite better than that of the PID. By designing a
1. Approximate the process dynamics of all controller MPC controller with prediction horizon as 51 and control
output–process variable pairs with FOPDT models horizon as 11 with sampling times of 0.5 s for 2000 s, con-
(Shridhar and Cooper, 1997) [12]. trolled state variables of batch crystallization process are
obtained and are given in Fig. 6. There is a drastic decrease in
y (s ) K.e − θs
=
u (s ) τs + 1
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
6 S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■
the percentage overshoot and the response settles sooner when response is satisfactory. Temperature set point tracking is
compared with other controllers. The MPC response is quite achieved for every case by keeping the thermodynamics of the
better than other controllers in tracking the set point. system in mind. Simulation is done for quite a number of
operating points. The MPC toolbox of MATLAB simulation
block is used for implementing the MPC controller. Several
5. Conclusions
constraints on input and output variables are provided. Perfor-
The primary objective of this study is to evaluate the oppor- mance of MPC is then compared with that of PID and Generic
tunities for model based control to improve product quality Model controller (GMC) and it is found that MPC gives a better
and process productivity of industrial crystallizers. All the con- response based on percent overshoot, settling time and integral
trollers have been successfully implemented and the output squared error.
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002
ARTICLE IN PRESS
S.K. Jha et al. / Resource-Efficient Technologies ■■ (2017) ■■–■■ 7
Fig. 5. Comparison of PID and GMC responses for temperature set point tracking.
Please cite this article in press as: S.K. Jha, S. Karthika, T.K. Radhakrishnan, Modelling and control of crystallization process, Resource-Efficient Technologies (2017), doi:
10.1016/j.reffit.2017.01.002