HOME JOURNALS CONTACT

Asian Journal of Scientific Research

Year: 2012 | Volume: 5 | Issue: 2 | Page No.: 31-44
DOI: 10.3923/ajsr.2012.31.44
Performance of Gain Scheduled Generic Model Controller Based on BF-PSO for a Batch Reactor
S. Sujatha and N. Pappa

Abstract: Performance of the gain scheduled Generic Model Controller (GMC) in tracking the batch reactor's optimal temperature profile is considered here. The chosen optimal reactor temperature profile has three switching time interval is obtained by solving optimal control problem off-line by using genetic algorithm. The temperature profile or variation in set point in each time interval is maintained by the proposed controller. The GMC controller parameters are tuned based on the Swarm Intelligence Optimization techniques as Particle Swarm Optimization (PSO) and Bacterial Foraging PSO (BF-PSO) for three switching intervals separately and the integrated performance of gain scheduled GMC has been tested with the batch reactor. The performance of the gain scheduled GMC controller is compared with the single tuned GMC and it provided minimum performance index Integral Square Error (ISE) and Integral Absolute Error (IAE) with improved response for multiple set point tracking.

Fulltext PDF Fulltext HTML

How to cite this article
S. Sujatha and N. Pappa, 2012. Performance of Gain Scheduled Generic Model Controller Based on BF-PSO for a Batch Reactor. Asian Journal of Scientific Research, 5: 31-44.

Keywords: PSO, BF-PSO, optimization, GMC, temperature profile and batch reactor

INTRODUCTION

Batch reactors are frequently used in chemical, petro-chemical and bio-chemical industry for the production of various quality products. Processes used are discontinuous and varied. Indeed they are characterized by non-stationary and non-linear system (Baghli and Benyeltou, 2006). The control of a batch reactor consists of the process like filling the reactor with the raw materials; allow it to react by controlling the reactor temperature to meet the required processing condition and shutting down the batch reactor and emptying the reactor. The next batch is started with new filling materials. The heat will be supplied at the starting of the reaction to obtain the desired reaction temperature and then it will be cooled to maintain the proper reaction temperature to get the highest product yield. Production of value added goods in small quantities like medicine in pharmaceutical industries while controlling the polluting waste resources and losses of raw material remains a significant aim of the fine chemical industries. As a result, functioning of the batch reactors at its optimum situation is critical (Aziz et al., 2000).

The best possible control of batch reactors has been recognized as main concentration in the precedent. The primary aim is to find out the optimum reactor temperature profile which yield the utmost desired product and decrease the bi-product as the multi-objective optimization problem. Designing a controller to implement the optimal control profiles or tracking the dynamic set point becomes an important area of research for intrinsically dynamic batch processes in recent years. In an exothermic batch reactor, temperature overshoot is usually avoided because it can cause runaway due to the large amount of heat released at the elevated reactor temperatures. Several authors (Aziz et al., 2000; Mujtaba et al., 2006) have proposed the control system that estimates the amount of heat is being released in the reactor and use it in a feed forward control to compensate the consequence of the heat released.

For solving complex engineering problems, many optimization techniques are emerged by inspiring the social behaviour of swarm of fish, bees and other animals. PSO is a robust stochastic evolutionary computation method developed based on the movement of swarms looking for most fertile feeding location (Hassanzadeh and Mobayen, 2008). Comparatively a new evolutionary computation algorithm named as Bacterial Foraging scheme has also been introduced and received more attraction by the researchers Passino (2002). These optimization algorithms have been applied in various fields like Ad-hoc networking (Sabari and Duraiswamy, 2010), Image processing (Saadi et al., 2010; Ouadfel and Batouche, 2007), Artificial intelligence (Qasem and Shamsuddin, 2010), constrained optimization problem solution (Lu and Chen, 2011) etc.

In the design of optimal control field, to obtain optimal controller parameters, many researchers introduced advanced controllers such as PID auto tuning or self tuning (Ustun, 2007), model based adaptive control, model predictive control (Ansarpanahi et al., 2008), fuzzy control (Ali, 2011), artificial neural network, GA based control (Hassanzadeh et al., 2008; Mosavi, 2011), optimal control, expert control and robust control (Ajlouni and Al-Hamouz, 2004). However, all these controllers required some kind of process model and high-level expertise. It is difficult to develop a general-purpose, user-friendly and smart control system based on these control methods. To keep away from these constraints, the computational intelligence has proposed Particle Swarm Optimization (PSO) and Bacterial Foraging that has opened paths to a new generation of an advanced process control. In recent times, these techniques are mostly preferred for tuning of the PID controller (GirirajKumar et al., 2010; Hassanzadeh and Mobayen, 2008; Korani et al., 2009; Pillay and Govender, 2007; Hooshmand, 2008).

In advanced process control, recently many model based control schemes have been developed. Generic Model Control (GMC) approach has been introduced to design the control action for the non linear process which include the process model itself in the control algorithm structure (Lee and Sullivan, 1988). In this paper, the gain scheduling of GMC controller parameters K1 and K2 for each switching time interval has been implemented by using these Particle Swarm Optimization and Bacterial Foraging techniques.

BATCH REACTOR MODEL

A complex reaction scheme is a representative of many industrial reactions (Baghli and Benyeltou, 2006). The batch reactor used by Cott and Macchietto (1989), Aziz et al. (2000) and Sujatha and Pappa (2011) is shown in Fig. 1. Reactions I and II are given by Eq. 1:

Reactions I and II (1)

where, A, B are the raw materials, C is the desired product and D is the waste product.

Fig. 1: Schematic diagram of a jacketed batch reactor

A batch reactor is inherently dynamic process. Therefore, its model results in a system of differential and algebraic equations. The model equations for the batch reactor can be written as:

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

Table 1: Nominal values of the parameters

(12)

(13)

(14)

where, in the initial values of the above mentioned process parameters are [MA, MB, MC, MD, Tj, Tr] = [12.0, 12.0, 0.0, 0.0, 20.0, 20.0] at t = 0, respectively. The reactor temperature is used as the control variable and is bounded between 20 and 100°C and the jacket temperature is the manipulated variable and it is bounded between 20 to 120°C. The batch time is fixed to 120 min. All the nominal parameters and constant values used in the model equations (Sujatha and Pappa, 2010; Sujatha and Pappa 2011) are given in Table 1.

OPTIMAL TEMPERATURE PROFILE GENERATION

Genetic Algorithm (GA) is one of the modern optimization methods and the principle is based on the Darwinian Theory of evolutionary process (Mosavi, 2011; Asfaw and Saiedi, 2011). Here, GA is used to obtain the optimal temperature profile in offline. The fitness function for GA is expressed as given the initial charge per unit volume of the reactor, for the fixed batch time optimize the reactor temperature profile so as to maximize the conversion of the desired product and to minimize the waste product is subject to the constraints on the reactor temperature and constraints on the waste product (Sujatha and Pappa, 2011). The obtained optimized temperature profile is [93→92.34→93.57] that yields the maximum product and is shown in Fig. 2.

Fig. 2: Optimum temperature profile obtained from GA

PSO AND BF-PSO TUNED GENERIC MODEL CONTROL (GMC)

In this study, PSO and BF-PSO techniques are used to optimize the GMC controller parameters. The GMC algorithm can be written as:

(15)

where, x is the current value and xsp is the desired value of the control variable. The first expression in the algorithm is to bring back the process to steady state due to change in dx/dt. The second expression is introduced to make the zero offset.

For temperature control of the batch reactor, a process model relating the reactor temperature (Tr) to the manipulated variable, the jacket temperature (Tj) is required. Assuming that, the amount of heat retained in the walls of the reactor is small in comparison to the heat transferred in the rest of the system, the following model is given based on the energy balance around the reactor contents:

(16)

Replacing x with Tr in the general algorithm the control formulation of GMC is given by the Eq. 17:

(17)

where, Tj gives the required jacket temperature trajectory so that the reactor temperature Tr, follows the desired trajectory incorporating the values of GMC tuning parameters k1 and k2. These parameters are tuned by using standard PSO and BF-PSO techniques for these three switching interval [93→92.34→93.57] as shown in Fig. 3.

Particle swarm optimization (PSO): PSO is a computation intelligent technique, which was motivated by the organisms’ behaviour such as schooling of fish and flocking of birds. The major advantage of PSO is that it employs the physical movements of the individuals in the swarm and has a flexible and well-balanced mechanism to enhance and to adapt the global and local exploration abilities (Hassanzadeh and Mobayen, 2008).

Fig. 3: Proposed controller scheme

The global optimizing model is described as follows:

(18)

where, Vid is the velocity of particle I, representing the distance to be travelled by this particle from its current position, t is the number of iterations, xid represents the particle position, C1 and C2 are the positive constant parameters, r1 and r2 are the random functions in the range [0 , 1], Pbest (local best solution) is the best position of the ith particle, g best (global best solution) is the best position among all particles in the swarm, and ù is the inertia weight which is very important for the convergence behaviour of PSO. A suitable value usually provides a balance between global and local exploration abilities and consequently results in a better optimum solution. Then the following equation is used to adjust to enable quick convergence:

(19)

where, ωmax is the initial weight, ωmin is the final weight, k is the current generation and kmax is the maximum number of generation. Particles’ velocities on each dimension are limited to a maximum velocity Vmax.

Bacterial foraging-PSO algorithm (BF-PSO): It is the combination of bacterial foraging and particle swarm optimization algorithm proposed by Korani et al. (2009). In this algorithm, PSO ability is used to exchange social information and BF used in finding a new solution by elimination and dispersal. BF algorithm is based upon search and optimal foraging decision making capabilities of the E. coli bacteria. Each bacterium tries to maximize its obtained energy per each unit of time expended on the foraging process and avoiding noxious substances. It undergoes four stages namely chemo-taxis, swarming, reproduction, elimination and dispersal. Chemo-tactic movement is continued until a bacterium goes in the direction of positive nutrient gradient (Shen et al., 2009) (i.e., increasing fitness). The flow chart of BF-PSO has been given in Fig. 4.

RESULTS AND DISCUSSION

The number of swarms in the PSO algorithms and number of bacteria in BF-PSO algorithms are varied and the control parameters obtained from these techniques are presented in the Table 2 and 3.

Fig. 4: Flow chart for BF-PSO

Table 2: PSO tuned GMC Parameters

In the PSO tuned GMC, the following values are assigned: dimension is set to two; PSO parameters are set to C1 = 0.12, C2 = 1.2; its momentum has the value of 0.9 and the Integral Square Error (ISE) is used to converge the algorithm.

Table 3: BF-PSO tuned GMC parameters

Fig. 5: PSO tuned GMC parameters variation with respect to three switching time intervals

From Table 2 the variation of number of swarms means the change in number of iterations, while increasing the number of iterations, the PSO settles in an optimized value of GMC controller parameters i.e. K1 and K2 are settled for the three different switching time intervals (0-40, 40-80, 80-120) are shown in Fig. 5.

This optimized GMC tuning parameters are integrated in the controller with each time interval, it is adapted and the simulated response of the batch reactor for this controller setting has been revealed in Fig. 6a and b.

In the BF-PSO based GMC tuning, the following values are assigned:

Search space dimension is two; number of chemotactic steps are set to ten; length of swim is four; number of reproduction steps are four; number of elimination dispersal event is two; number of bacteria reproduction per generation is half of the number of bacteria; probability of bacteria elimination has a value of 0.25

Fig. 6a: PSO tuned GMC Response

Fig. 6b: PSO tuned GMC Response (Magnified view of the above figure)

Fig. 7: BF-PSO tuned GMC parameters Variation with respect time intervals

From the Table 3, the increased number of bacteria makes the iteration changes and the controller values are settled in each time interval as shown in Fig. 7.

Fig. 8a: BF-PSO tuned GMC response

Fig. 8b: BF-PSO tuned GMC response (in magnified view)

Fig. 9a: Comparison of PSO and BF-PSO tuned GMC response

The response of the integrated BF-PSO tuned GMC for the batch reactor with three switching interval is simulated with the process and shown in Fig. 8a and b.

BF-PSO response produce fast rise time and to reach its set point at time t = 5 min and giving good tracking over the multiple set points than PSO which has rise time t = 10 min as shown in Fig. 9a and b.

Fig. 9b: Comparison of PSO and BF-PSO tuned GMC response (in magnified view)

Fig. 10a: Comparison of proposed controller with single tuned and common GMC

Fig. 10b: Comparison of proposed controller with single tuned and common GMC (in magnified view)

Table 4: Controller evaluation

The proposed controller performance compared with the nominal GMC setting, the single tuned GMC based on PSO and BF-PSO techniques and gain scheduled GMC based on PSO and BF-PSO with its performance measure as Integral Square Error (ISE), Integral Absolute Error (IAE) are presented in the Table 4.

The performance of gain scheduled GMC based on BF-PSO is better than the other controller responses as shown in Fig. 10a and b and also the performance criteria ISE and IAE are good for the BF-PSO based gain scheduled GMC controller.

CONCLUSION

Swarm intelligent techniques are popularly used for tuning of PID controller nowadays. These techniques developed from replicating the evolutionary process and the behaviours of biology with basic mathematical operations. Therefore, they are simple and easy to be implemented. And also they don’t insist to meet the state of differentiability, convexity and other conditions for mathematical description of the problem. Here, PSO and BF-PSO tuning has been attempted to tune Generic Model controller (GMC) parameters for tracking the optimal reactor temperature profile to the batch reactor. The simulation results presented shows the betterness of the hybrid optimization method validated which replicates the efficiency of the BF-PSO in terms of time domain specifications. It is also observed that BF-PSO based gain scheduled GMC i.e., as per the optimal temperature profile the set point is varying with three switching time interval; so the GMC parameters are also optimized in these three switching interval, and the integrated response of this gain scheduled adaptive GMC has produced minimum performance index ISE and IAE with improved responses for multiple set point tracking and also in terms of time domain specifications. Further, the work can be applied for the complex process also by including disturbances.

REFERENCES

  • Ali, H.K., 2011. Fuzzy controller design of servo system. Asian J. Applied Sci., 4: 403-413.
    CrossRef    


  • Ansarpanahi, S., S.B.M. Noor and M.H. Marhaban, 2008. Stability study of model predictive control in presence of undesirable factors. J. Applied Sci., 8: 3683-3689.
    CrossRef    Direct Link    


  • Aziz, N., M.A. Hussain and I.M. Mujtaba, 2000. Performance of different types of controllers in tracking optimal temperature profiles in batch reactors. Comput. Chem. Eng., 24: 1069-1075.
    CrossRef    


  • Baghli, H. and M. Benyettou, 2006. Modeling and simulation of thermal transfer in batch reactor. J. Applied Sci., 6: 1327-1331.
    CrossRef    Direct Link    


  • Cott, B.J. and S. Macchietto, 1989. Temperature control of exothermic batch reactors using generic model control. Ind. Eng. Chem. Res., 28: 1177-1184.
    CrossRef    


  • GirirajKumar, S.M., D. Jayaraj and Anoop. R. Kishan, 2010. PSO based tuning of a PID controller for a High performance drilling machine. Int. J. Comp. Appl., 1: 12-18.
    CrossRef    Direct Link    


  • Hassanzadeh, I., S. Mobayen and G. Sedaghat, 2008. Design and implementation of a controller for magnetic levitation system ssing genetic algorithms. J. Applied Sci., 8: 4644-4649.
    CrossRef    Direct Link    


  • Lu, H. and X. Chen, 2011. A new particle swarm optimization with a dynamic inertia weight for solving constrained optimization problems. Inform. Technol. J., 10: 1536-1544.
    CrossRef    Direct Link    


  • Hassanzadeh, I. and S. Mobayen, 2008. PSO based controller design for rotary inverted pendulum system. J. Applied Sci., 8: 2907-2912.
    CrossRef    


  • Korani, W.M., H.T. Dorrah and H.M. Emara, 2009. Bacterial foraging oriented by particle swarm optimization strategy for PID tuning. Proceedings of the IEEE International Symposium on Computational Intelligence in Robotics and Automation, December 15-18, 2009, Daejeon, South Korea, pp: 445-450.


  • Lee, P.L. and G.R. Sullivan, 1988. Generic model control (GMC). Comput. Chem. Eng., 12: 573-580.
    Direct Link    


  • Mosavi, M.R., 2011. Applying genetic algorithm to fast and precise selection of GPS satellites. Asian J. Applied Sci., 4: 229-237.
    CrossRef    


  • Mujtaba, I.M., N. Aziz and M.A. Hussain, 2006. Neural network based modeling and control in batch reactor. Chem. Eng. Res. Des., 84: 635-644.
    CrossRef    


  • Ajlouni, N. and S. Al-Hamouz, 2004. Genetic design of neural PID plus feed forward controllers. Inform. Technol. J., 3: 6-11.
    CrossRef    Direct Link    


  • Passino, K.M., 2002. Biomimicry of bacterial foraging for distributed optimization and control. IEEE Control Syst., 22: 52-67.
    CrossRef    


  • Pillay, N. and P. Govender, 2007. A particle swarm optimization approach for model independent tuning of PID control loop. Proceedings of the IEEE Meeting on AFRICON, September 26-28, 2007, Windhoek, Namibia, pp: 1-7.


  • Hooshmand, R.A., 2008. Optimal design of load shedding and generation reallocation in power systems using fuzzy particle swarm optimization algorithm. J. Applied Sci., 8: 2788-2800.
    CrossRef    Direct Link    


  • Sabari, A. and K. Duraiswamy, 2010. Swarm based reliable and power efficient multicast routing in mobile Ad Hoc network. Inform. Technol. J., 9: 1383-1389.
    CrossRef    Direct Link    


  • Sujatha, S. and N. Pappa, 2010. GMC design based on SVM model of batch reactor. Int. J. Comput. Appl., 1: 76-80.
    CrossRef    Direct Link    


  • Sujatha, S. and N. Pappa, 2011. Realization of non linear controllers in batch reactor using GA and SVM. Int. J. Chem. Reactor Eng., 9: A67-A67.
    Direct Link    


  • Asfaw, T.D. and S. Saiedi, 2011. Optimal short-term cascade reservoirs operation using genetic algorithm. Asian J. Applied Sci., 4: 297-305.
    CrossRef    Direct Link    


  • Shen, H., Y. Zhu, X. Zhou, H. Guo and C. Chang, 2009. Bacterial foraging optimization algorithm with particle swarm optimization strategy for global numerical optimization. Proceedings of the first ACM/SIGEVO Summit on Genetic and Evolutionary Computation, June 12-14, 2009, Shanghai, China, pp: 497-504.


  • Saadi, S., M. Bettayeb and A. Guessoum, 2010. Optimal approach for neutron images restoration using particle swarm optimization algorithm with regularization. J. Applied Sciences, 10: 517-525.
    CrossRef    Direct Link    


  • Ustun, S.V., 2007. GA-based optimization of PI speed controller coefficients for ANN-modelled vector controlled induction motor. J. Applied Sci., 7: 4001-4006.
    CrossRef    Direct Link    


  • Qasem, S.N. and S.M. Shamsuddin, 2010. Generalization improvement of radial basis function network based on multi-objective particle swarm optimization. J. Artif. Intell., 3: 1-16.
    CrossRef    Direct Link    


  • Ouadfel, S. and M. Batouche, 2007. AntClust: An ant algorithm for swarm-based image clustering. Inform. Technol. J., 6: 196-201.
    CrossRef    Direct Link    

  • © Science Alert. All Rights Reserved