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 [26]. 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 [1214] has proven being popular. It has been applied successfully to several processes such as reactors [15, 16], fermenters [1719], distillation [19], continuous isothermal crystallization [7, 2023], 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 cm3/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 cm3/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] cm3. 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 cm3/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 cm3. 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.