Modelling and Simulation in Engineering

Volume 2012 (2012), Article ID 912071, 11 pages

http://dx.doi.org/10.1155/2012/912071

## Nonlinear MIMO Control of a Continuous Cooling Crystallizer

^{1}Departamento de Ingenieria Quimica, Instituto Tecnológico de Celaya, Avenida Tecnológico y García Cubas S/N, 38010 Celaya, GTO, Mexico^{2}Facultad de Química, Universidad de Guanajuato, Noria Alta s/n, 36050 Guanajuato, GTO, Mexico

Received 11 April 2012; Accepted 20 September 2012

Academic Editor: Ahmed Rachid

Copyright © 2012 Pedro Alberto Quintana-Hernández et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

In this work, a feedback control algorithm was developed based on geometric control theory. A nonisothermal seeded continuous crystallizer model was used to test the algorithm. The control objectives were the stabilization of the third moment of the crystal size distribution () and the crystallizer temperature (); the manipulated variables were the stirring rate and the coolant flow rate. The nonlinear control (NLC) was tested at operating conditions established within the metastable zone. Step changes of magnitudes ±0.0015 and ±0.5°C were introduced into the set point values of the third moment and crystallizer temperature, respectively. In addition, a step change of ±1°C was introduced as a disturbance in the feeding temperature. Closed-loop stability was analyzed by calculating the eigenvalues of the internal dynamics. The system presented a stable dynamic behavior when the operation conditions maintain the crystallizer concentration within the metastable zone. Closed-loop simulations with the NLC were compared with simulations that used a classic PID controller. The PID controllers were tuned by minimizing the integral of the absolute value of the error (IAE) criterion. The results showed that the NLC provided a suitable option for continuous crystallization control. For all analyzed cases, the IAEs obtained with NLC were smaller than those obtained with the PID controller.

#### 1. Introduction

Crystallization is an operation of great importance in industry due to the wide variety of materials that are sold in crystal form. Well-established examples include the crystallization of salts, sugar, detergents, fertilizers, foodstuffs, pigments, and pharmaceuticals. Its wide use is due to several reasons: a crystal formed from an impure solution is essentially pure, it requires little energy for the separation, and it provides a practical method for obtaining the product in a suitable condition for packaging and storage. Note, however, that all these benefits are possible when a good control strategy is followed and all control objectives are attained. At industrial level, the objective of crystallization is to obtain a product with the specified characteristics of grain size and purity.

The recent efforts on model-based control of crystallization process have been motivated by significant advances in the modeling of crystallization processes. Population balances have provided a framework for the mathematical modeling of crystallization processes [1]. Dynamics and stability of isothermal continuous crystallization have received much attention in the literature [2–6]. However, the analysis of nonisothermal crystallization systems has not been widely explored because of the difficulty of having accurate measurements of the metastable zone width and the crystallization kinetics. Recent advances on crystallization modeling and new developments in the field of online measurement technology have motivated the implementation of new control strategies such as model-based control [7].

In the chemical industry, most of the processes are controlled by means of PID control strategies. However, not always this type of controllers achieves the desired objectives for instance when the process has an intrinsic unstable behavior with time-varying parameters [8]. Continuous crystallization is a highly nonlinear process mainly because it involves two nonlinear distinct kinetic steps: nucleation and growth. In addition, there are interactions between kinetic, fluid dynamics, and crystal size distribution. All those factors might lead to an unstable operation (cycling behavior [9]) that affects the quality of the final product. Therefore, A control strategy that warranties a stable operation is necessary.

NLC [10, 11] has become an important field in model-based control techniques. Input/output linearization approach [12–14] has proven being popular. It has been applied successfully to several processes such as reactors [15, 16], fermenters [17–19], distillation [19], continuous isothermal crystallization [7, 20–23], batch crystallization [15, 24], vaccination controls in epidemic models [25], and power systems [26]. Significant improvements in the mean size of the final product have been obtained with the application of NLC to crystallization process. Other model-based control techniques, such as model predictive control, have been also applied successfully to continuous isothermal crystallization process [27, 28]. Therefore, it is expected that the complex dynamic behavior of the nonisothermal continuous crystallization process might be addressed in a better way by using new control schemes that allow an efficient, stable, and safe operation.

In this paper, we develop a nonlinear feedback controller by using geometric control theory to be applied to a nonisothermal crystallizer. Operating conditions are analyzed based on the combined effects of secondary nucleation and cooling temperature. The algorithm includes two control loops. The first one relates the crystallizer temperature with the coolant flow rate and the second one the third moment of the CDS with the stirring rate. Closed-loop stability is analyzed by calculating the eigenvalues of the internal dynamics. Finally, closed-loop simulations with the NLC are compared with simulations that used a traditional PID controller. The operating ranges are the same as those used for calculating the kinetic equations. These operating values impose additional constraints to the crystallizer controllers.

#### 2. Nonlinear Model of the Continuous Crystallizer

The overall model for a nonisothermal continuous crystallizer includes mass, energy, and population balances. The mass balance gives the solute concentration in the continuous phase and accounts for flow of solute into and out of the system and the mass transfer to the solid phase via nucleation and growth of crystals. Equation (1) shows the general mass balance where is the solute mass solved in the solvent, is the suspension solids-free volume, is the total suspension volume, is the solute concentration in the continuous phase, is the fraction of the volume free of solids, is the volumetric flow into and out of the system, and is the global mass transfer of solute.

The energy balance accounts for enthalpy differences between the flow streams, the heat of crystallization and heat removal by cooling systems. The following equation represents the energy balance for an incompressible system and constant volume of continuous phase where is the slurry density, is the specific heat capacity, is the crystallizer temperature, is the enthalpy of the th stream, is the heat of crystallization, and is the net heat removal.

The population balance extended the concept of particle size distribution to include an arbitrary number of internal coordinates necessary to describe the state of the particles (crystal population density, ). Randolph and Larson [29] presented a general crystallization model developed under the following assumptions: continuous operation, perfect mixing, infinitesimal new generated particles’ size, and constant volume. The following population balance describes the evolution of as function of time and crystal size: in which is the population density, is the crystal growth rate, is the internal coordinate (characteristic crystal length), is the nucleation rate density, and is the Dirac delta function acting at . The boundary and initial conditions for (3) are given as follows: In order to complete the modeling of the crystallization process, constitutive relationships are required for growth and nucleation. Salcedo-Estrada [30] reported growth and nucleation equations (5) for the ammonium sulfate-water system. The equations included the following parameters , , , , and that were evaluated from experimental data obtained at operating condition located in the metastable zone. Both equations are reported as function of supersaturation and agitation rate The relative supersaturation is evaluated as , represents the agitation rate, and is the total crystal mass per volume. Table 1 shows the kinetic parameters included in (5).

Different approaches to solve the model presented by (1)–(3) have been shown in the literature. Ramkrishna [31] presented some numerical strategies for accurate computation of the solution. In this work, the population balance is reduced by a process based on the method of moments. Equation (3) is transformed into (6) and (7) assuming that the dominant dynamic of the system may be represented by a small number of degrees of freedom [20]. Equations (8) and (9) represent the crystallizer mass and energy balances, and (10) corresponds to the jacket energy balance The mean crystal size and standard deviation can be evaluated using the following relationships of the moments in order to obtain the complete CSD: As mentioned previously, this work was developed for a crystallizer operating inside the metastable zone. Therefore, it is important to know the limits of the metastable zone. Lugo-Martinez [32] reported a polynomial function for the upper metastable zone limit, , for the ammonium sulfate-water system as function of temperature. The lower limit (saturation concentration, ) was evaluated using the polynomial reported by Perry et al. [33]. Both (12) and (13) are valid in the range from 20 to 50°C

#### 3. Geometric Properties

Nonlinear geometric control has been widely analyzed in the literature, and the theoretical basis may be reviewed at Isidori [10] and Slotine and Li [34] among others. The mathematical model for a MIMO system that contains the state variable and controlled output vectors is shown in the following: The and are smooth vector fields, are smooth scalar fields, are the manipulated variables, is state vector, and are the output variables. The mathematical model for the crystallization process may be obtained making the following changes into (6)–(10), , ,,, and reordering the vector fields as follows:

where and .

##### 3.1. Relative Degree

The relative degree of a multivariable nonlinear system may be calculated with the Lie derivatives of along the vector fields and . It is defined as the smaller integer such that for all in a neighborhood of and an nonsingular matrix defined as Considering and as the control objectives, and as the manipulated variables, and assuming a control problem with direct relationship between and , the relative degree vector is calculated from and different from zero. The evaluation gives relative degrees and . The system overall relative degree is three assuming that and are different from zero. The first condition is fulfilled at normal cooling operation and the second in a seeded crystallization process. Matrix can be constructed with the values given in (17)–(20). The evaluation of the determinant of gives a value different from zero (nonsingular) when . This fact ensures the existence of both the inverse of and the control law

##### 3.2. Exact Linearization via Feedback

A nonlinear system may be transformed into a linear and controllable system by means of feedback and change of coordinates in the state space. In this work, the overall relative degree is less than the number of state variables, so it is possible to find additional functions to complete the map in such a way that the Jacobian of is nonsingular at . The proposed functions to complete the map are shown in (22). It should be noted that these additional functions were set arbitrarily and satisfy the nonsingular Jacobian constrain, Finally, the complete map can be represented as follows:

The system given by (14) may be represented in its new coordinates set as follows: where represent the system controllable and observable parts, while represent the nonobservable and uncontrollable parts of the system (internal dynamic) (Slotine and Li [34]).

##### 3.3. Zero Dynamics

The zero dynamics of the system described by (24) is obtained when the output errors are equal to zero, for example, , and . The system may be represented as follows: If the system given by (25) is linearized using an equilibrium set of operation conditions that guarantee a stable performance, the following linear equation system is obtained: , where represents the Jacobian matrix of the system (25).

In order to find the equilibrium set, steady-state crystallizer concentrations were evaluated for all possible combination of and and plotted together with the upper (12) and lower limits (13) of the metastable zone. It was found that combination of values of smaller than 300 rpm and cooling flow rates bigger than 2200 cm^{3}/min produces crystallizer concentrations outside the metastable zone (see Figure 1). Therefore, it was selected a combination of = 420 rpm and = 800 as the steady state starting operation conditions that ensure the equilibrium operation with a dynamic closed-loop response asymptotically stable. The eigenvalues of at the selected conditions were , and . It is clear that the real part of all eigenvalues is negative; therefore, the system presents a local stability in its internal dynamics. Table 2 shows the steady-state values calculated at cooling flow rate of 800 cm^{3}/min and agitation rate of 420 rpm. These values were used to generate the nonsingular matrix shown in the following:

##### 3.4. MIMO Control Law

If the system relative order is well defined and the internal dynamics is asymptotically stable, then the lineal input/output control law will make the third moment of the CSD and the crystallizer temperature to converge to the reference values and under normal operating conditions. The proposed pairing → and → do not consider interactions between the other input and output variables; for example, input variable modifies only the output variable . The control law may be expressed as follows: The control actions may be calculated solving the system given by (28), where represents the uncoupled system matrix given previously in (16): Using a proportional control action only, , (29) becomes The cooling flow rate, , might be evaluated as follows: where

#### 4. Results

The crystallizer mathematical model and the control laws given by (30) and (31) were used to build a Matlab-Simulink algorithm (NLC). In addition, a second algorithm with a PID controller was developed in order to compare the dynamic responses. Table 3 includes the physical parameters of the model used in this work. The manipulated variables were limited to the following intervals: [300 800] rpm and [100 8000] cm^{3}. These values were selected from physical operating conditions that maintain the crystallizer concentration within the metastable zone. The lower stirring limit guarantees a homogeneous solution inside the crystallizer, and the upper limit represents the limit before secondary nucleation being considerable due to crystal breakage. The cooling flow rate limits were the same used by Salcedo-Estrada [30] at the experiments where the kinetics parameters were evaluated.

Simulations were performed using a seeded inlet stream with crystals of the same size *μ*m at of 30°C and a flow rate of 1153.84 cm^{3}/min. The initial conditions for the state variables used are shown on Table 2. An initial equilibrium operation was assumed at = 420 rpm and = 800 cm^{3}. The distribution moments were evaluated at these conditions and used in all simulations, and their values are shown on Table 3. The parameters values for the NLC and the PID controllers were obtained minimizing the integral absolute error (IAE) using the routine lsqnonlin of SIMULINK. The NLC parameters are = 1.063, = 2.001, and = 1.065. The PID parameters for the temperature controller are = 98.872, = 995.651, and = 10.223, and the PID parameters for third moment controller are = 9993.881, = 0.991, and = 0. 011.

*Run 1*

In order to evaluate the servo control for the third moment (steady-state value of 0.0040), two step changes (−0.0015 and + 0.0015) were introduced at times 20 and 60. The reference value for the crystallizer temperature was kept constant at 23°C. Figures 2(a) and 2(c) show the closed-loop dynamic responses obtained when traditional PID and nonlinear control (NLC) were implemented. For both controllers, the system reaches the set point values, but the IAEs for and are smaller when the NLC algorithm is implemented. Figures 2(b) and 2(d) show the manipulated variables effort for both types of controllers, and no appreciable difference was found. The stirring rate has a large effect on the distribution moments and a small effect on the crystallizer temperature.

Figure 3 illustrates the metastable zone limit (), the solubility profile (), and the solution concentration within the crystallizer as function of time and temperature. It is important to observe that concentration remains within the metastable zone regardless the introduction of step changes in .

*Run 2*

The control algorithms were tested introducing step changes in the crystallizer output temperature. Two changes (+0.5°C and −0.5°C) were introduced at times 20 and 60 minutes. The set point value for the third moment was kept constant at 0.004. Figure 4 shows the dynamic response of the output and manipulated variables. The step changes in the crystallizer temperature have no effect on the third moment. Final crystallizer temperature is reached faster when the NLC algorithm is used compared to the PID algorithm. The manipulated variables present smooth profiles with larger overshoots for the NLC algorithm. As it is expected, there is a relationship between the crystallizer temperature and agitation rate through (9) and (10). For both controllers, the system reaches the set point values, but the IAE, for and are smaller when the NLC algorithm is implemented. Again, the solution concentrations for these runs are kept inside the metastable zone as shown in Figure 5(b).

*Run 3*

Finally, the control laws were tested introducing disturbances in the feed temperature. Step changes of magnitude ±1°C were used. The simulation results are shown in Figure 6. Notice how the cooling flow rate increases considerably when the feed temperature is one degree higher. The controller is able to keep the system at the desired set point values, and the crystallization process is performed within the metastable zone. Table 4 shows the IAE generated during the full run. For both controllers, the system reaches the set point values, but, again, the IAEs for and are smaller when the NLC algorithm is implemented. In addition, it is important to point out that the NLC algorithm uses three control parameters only while the two-PID algorithm add six parameters. Therefore, it is easier to tune the three control parameters of the NLC algorithm.

#### 5. Conclusions

A nonlinear geometric feedback control algorithm was developed and applied for the control of a continuous MIMO crystallizer. Two feedback control loops were established. The first loop controls the crystallizer temperature manipulating the cooling flow rate, and the second loop controls the third distribution moment manipulating the agitation rate. The stability of the closed-loop system was analyzed using the eigenvalues of the internal dynamics showing that if the solution concentration is maintained inside the metastable zone, the system presents an asymptotically stable behavior. Set point tracking and responses to feed load disturbances in temperature were carried out. In the three runs analyzed, the IAE values generated when NLC strategies were smaller than those generated with traditional PID control strategies. Finally, it is easier to tune the three control parameters of the NLC strategy than the six parameters of the two PID controllers, and it has been shown in this work that NLC provides an excellent potential for the control of nonisothermal crystallization.

#### Acknowledgment

The authors want to thank DGEST (Project 2600.09-P) for providing financial support.

#### References

- J. B. Rawlings, S. M. Miller, and W. R. Witkowski, “Model identification and control of solution crystallization processes: a review,”
*Industrial and Engineering Chemistry Research*, vol. 32, no. 7, pp. 1275–1296, 1993. View at Google Scholar · View at Scopus - B. G. Lakatos, T. J. Sapundzhiev, and J. Garside, “Stability and dynamics of isothermal CMSMPR crystallizers,”
*Chemical Engineering Science*, vol. 62, no. 16, pp. 4348–4364, 2007. View at Publisher · View at Google Scholar · View at Scopus - P. K. Pathath and A. Kienle, “Nonlinear oscillations in ammonium sulfate crystallization: a comparison of different model predictions,”
*Industrial and Engineering Chemistry Research*, vol. 42, no. 26, pp. 6949–6955, 2003. View at Google Scholar · View at Scopus - Q. Yin, Y. Song, and J. Wang, “Analyses of stability and dynamic patterns of a continuous crystallizer with a size-dependent crystal growth rate,”
*Industrial and Engineering Chemistry Research*, vol. 42, no. 3, pp. 630–635, 2003. View at Google Scholar · View at Scopus - B. G. Lakatos, “Uniqueness and multiplicity in isothermal CMSMPR crystallizers,”
*AIChE Journal*, vol. 42, no. 1, pp. 285–289, 1996. View at Google Scholar · View at Scopus - B. G. Lakatos, “Stability and dynamics of continuous crystallizers,”
*Computers and Chemical Engineering*, vol. 18, supplement 1, pp. S427–S431, 1994. View at Publisher · View at Google Scholar · View at Scopus - P. D. Christofides, N. El-Farra, M. Li, and P. Mhaskar, “Model-based control of particulate processes,”
*Chemical Engineering Science*, vol. 63, no. 5, pp. 1156–1172, 2008. View at Publisher · View at Google Scholar · View at Scopus - M. Bravi and A. Chianese, “Neuro-fuzzy control of a continuous cooled MSMPR crystallizer,”
*Chemical Engineering and Technology*, vol. 26, no. 3, pp. 262–266, 2003. View at Publisher · View at Google Scholar · View at Scopus - J. Nývlt and J. W. Mullin, “The periodic behaviour of continuous crystallizers,”
*Chemical Engineering Science*, vol. 25, no. 1, pp. 131–147, 1970. View at Google Scholar · View at Scopus - A. Isidori,
*Nonlinear Control Systems*, Springer, Berlin, Germany, 3rd edition, 1995. - H. Nijmeijer and A. J. V. D. Schaft,
*Nonlinear Dynamical Control Systems*, Springer, New York, NY, USA, 1990. - W. Xie, S. Rohani, and A. Phoenix, “Dynamic modeling and operation of a seeded batch cooling crystallizer,”
*Chemical Engineering Communications*, vol. 187, pp. 229–249, 2001. View at Google Scholar · View at Scopus - C. Kravaris and J. C. Kantor, “Geometric methods for nonlinear process control. 1. Background,”
*Industrial and Engineering Chemistry Research*, vol. 29, no. 12, pp. 2295–2310, 1990. View at Google Scholar · View at Scopus - C. Kravaris and J. C. Kantor, “Geometric methods for nonlinear process control. 2. Controller synthesis,”
*Industrial and Engineering Chemistry Research*, vol. 29, no. 12, pp. 2310–2323, 1990. View at Google Scholar · View at Scopus - C. Kravaris and C. B. Chung, “Nonlinear state feedback synthesis by global input/output linearization,”
*AIChE Journal*, vol. 33, no. 4, pp. 592–603, 1987. View at Google Scholar · View at Scopus - R. Femat, J. Alvarez-Ramírez, and M. Rosales-Torres, “Robust asymptotic linearization via uncertainty estimation: regulation of temperature in a fluidized bed reactor,”
*Computers and Chemical Engineering*, vol. 23, no. 6, pp. 697–708, 1999. View at Publisher · View at Google Scholar · View at Scopus - H. O. Méndez-Acosta, D. U. Campos-Delgado, R. Femat, and V. González-Alvarez, “A robust feedforward/feedback control for an anaerobic digester,”
*Computers and Chemical Engineering*, vol. 29, no. 7, pp. 1613–1623, 2005. View at Publisher · View at Google Scholar · View at Scopus - M. A. Henson and D. E. Seborg,
*Nonlinear Process Control*, Prentice Hall, Upper Saddle River, NJ, USA, 1997. - G. Szederkényi, N. R. Kristensen, K. M. Hangos, and S. Bay Jørgensen, “Nonlinear analysis and control of a continuous fermentation process,”
*Computers and Chemical Engineering*, vol. 26, no. 4-5, pp. 659–670, 2002. View at Publisher · View at Google Scholar · View at Scopus - T. Chiu and P. D. Christofides, “Nonlinear control of particulate processes,”
*AIChE Journal*, vol. 45, no. 6, pp. 1279–1297, 1999. View at Google Scholar · View at Scopus - T. Y. Chiu and P. D. Christofides, “Robust control of particulate processes using uncertain population balances,”
*AIChE Journal*, vol. 46, no. 2, pp. 266–280, 2000. View at Google Scholar · View at Scopus - P. D. Christofides,
*Model-Based Control of Particulate Processes*, Kluwer Academic, Dordrecht, The Netherlands, 2002. - N. H. El-Farra, T. Y. Chiu, and P. D. Christofides, “Analysis and control of particulate processes with input constraints,”
*AIChE Journal*, vol. 47, no. 8, pp. 1849–1865, 2001. View at Publisher · View at Google Scholar · View at Scopus - J. R. Corriou and S. Rohani, “Nonlinear control of a batch crystallizer,”
*Chemical Engineering Communications*, vol. 189, no. 10, pp. 1415–1436, 2002. View at Publisher · View at Google Scholar · View at Scopus - M. De la Sen, A. Ibeas, and S. Alonso-Quesada, “Feedback linearization-based vaccination control strategies for true-mass action type SEIR epidemic models,”
*Nonlinear Analysis: Modelling and Control*, vol. 16, pp. 283–314, 2011. View at Google Scholar - E. De Tuglie, S. M. Iannone, and F. Torelli, “Feedback-linearization and feedback-feedforward decentralized control for multimachine power system,”
*Electric Power Systems Research*, vol. 78, no. 3, pp. 382–391, 2008. View at Publisher · View at Google Scholar · View at Scopus - D. Shi, N. H. El-Farra, M. Li, P. Mhaskar, and P. D. Christofides, “Predictive control of particle size distribution in particulate processes,”
*Chemical Engineering Science*, vol. 61, no. 1, pp. 268–281, 2006. View at Publisher · View at Google Scholar · View at Scopus - N. Moldoványi, B. G. Lakatos, and F. Szeifert, “Model predictive control of MSMPR crystallizers,”
*Journal of Crystal Growth*, vol. 275, no. 1-2, pp. e1349–e1354, 2005. View at Publisher · View at Google Scholar · View at Scopus - A. D. Randolph and M. A. Larson,
*Theory of Particulate Processes, Analysis and Techniques of Continuous Crystallization*, Academic Press, New York, NY, USA, 1971. - L. I. Salcedo-Estrada, “Control de cristalizadores batch,” in
*Chemical Engineering Department*, Instituto Tecnológico de Celaya, Guanajuato, Mexico, 2000. View at Google Scholar - D. Ramkrishna,
*Population Balances: Theory and Applications to Particulate Systems in Engineering,*, Academic, San Diego, Calif, USA, 2000. - J. R. Lugo-Martinez, “Estudio para la determinación de la zona de saturación metaestable a través del análisis del proceso de nucleación para el sulfato de amonio,” Chemical Engineering Department, Instituto Tecnológico de Celaya, Guanajuato, Mexico, 2005. View at Google Scholar
- R. H. Perry, J. O. Maloney, and D. W. Green,
*Perry's Chemical Engineers' Handbook*, McGraw-Hill, New York, NY, USA, 1997. - J. J. E. Slotine and W. Li,
*Applied Nonlinear Control*, Prentice Hall, Englewood Cliffs, NJ, USA, 1991.