- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Applied Computational Intelligence and Soft Computing

Volume 2012 (2012), Article ID 214264, 12 pages

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

## Controller Parameter Optimization for Nonlinear Systems Using Enhanced Bacteria Foraging Algorithm

^{1}Department of Electronics and Instrumentation Engineering, St. Joseph’s College of Engineering, Chennai 600 119, India^{2}Department of Instrumentation Engineering, MIT Campus, Anna University, Chennai 600 044, India

Received 29 April 2012; Revised 23 July 2012; Accepted 16 August 2012

Academic Editor: Serafín Moral

Copyright © 2012 V. Rajinikanth and K. Latha. 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

An enhanced bacteria foraging optimization (EBFO) algorithm-based Proportional + integral + derivative (PID) controller tuning is proposed for a class of nonlinear process models. The EBFO algorithm is a modified form of standard BFO algorithm. A multiobjective performance index is considered to guide the EBFO algorithm for discovering the best possible value of controller parameters. The efficiency of the proposed scheme has been validated through a comparative study with classical BFO, adaptive BFO, PSO, and GA based controller tuning methods proposed in the literature. The proposed algorithm is tested in real time on a nonlinear spherical tank system. The real-time results show that, EBFO tuned PID controller gives a smooth response for setpoint tracking performance.

#### 1. Introduction

In control literature, despite of significant developments in advanced process control schemes such as model predictive control (MPC), internal model control (IMC), and sliding mode control (SMC), PID controllers are still widely used in industrial control system where reference tracking and disturbance rejection are a major task.

The key merits of the PID controllers over the advanced control techniques are as follows: (i) available in a variety of structures such as series, parallel, and so forth; (ii) provides an optimal and robust performance for a variety of processes; (iii) supports online/offline tuning and retuning based on the performance requirement of the process under control (iv) simple structure and it can be easily implementable in analog or digital form; (v) along with the basic and the modified structures, it also supports the one degree of freedom (1DOF), 2DOF, and 3DOF controller structures.

Most of the real-time chemical process loops such as continuous stirred tank reactor (CSTR), biochemical reactor, spherical tank system, and conical tank system are nonlinear in nature. These nonlinear processes can be modelled as linear processes (stable or unstable process model with a delay time) around the operating region. The linear model is then efficiently controlled by employing a PID controller. The precision and performance of the PID controller mainly rely on three controller parameters such as proportional gain (), integral gain (), and derivative gain (). In recent years, a number of tuning rules have been proposed for the PID controllers to enhance the performance of the process to be controlled. Maher and Samir [1] have discussed the robust stability criterion for a class of unstable systems under model uncertainty. Vijayan and Panda [2] have proposed a setpoint filter PID controller for a class of stable and unstable process models. Padmasree and Chidambaram [3] have provided a detailed review on the methods of controller tuning for a class of time delayed unstable system. Jhunjhunwala and Chidambaram [4] have examined an optimized PID controller tuning for nonlinear systems such as the biochemical reactor and the CSTR process, modelled as a time delayed unstable system around the operating region.

The classical PID tuning methods proposed by most of the researchers for the stable and unstable processes require an approximated first or second order transfer-function model with a time delay. The tuning procedure anticipated for one particular process model will not provide the fitting response for other process models. Hence, soft computing-based PID controller tuning is widely proposed by the researchers to design a robust PID controller. Chiha et al. [5] proposed a multiobjective ant colony optimization (ACO) algorithm-based PID controller tuning for a class of time delayed stable process models. Zamani et al. [6, 7] have discussed a multi objective particle swarm optimization (PSO) algorithm-based “” and fractional order PID controller design for stable systems. Chang and Shih [8] presented an improved PSO-based PID controller design for a nonlinear system. Hassan and Mobayen [9] have proposed genetic-algorithm (GA-), PSO- and ACO-based controller design for a rotary inverted pendulum. Kanth and Latha [10, 11] have presented a relative work with PSO-, improved PSO- and parallel PSO-based PID tuning for a class of unstable process models.

In this paper, bacteria foraging optimization- (BFO-) based PID tuning is proposed for a class of nonlinear process models. BFO algorithm is a nature inspired metaheuristic search technique, introduced by Passino [12] to design an adaptive controller for a tank liquid level control problem. It is a biologically inspired computation technique based on mimicking the foraging activities of *Escherichia coli* (*E. coli*) bacteria. In this algorithm, a collection of artificial bacteria cooperates to find the best possible solutions in the “*D*” dimensional search space during the optimization exploration. The previous research has reported the superiority of the BFO-based search for finding the optimum solution for a class of engineering problems.

Dasgupta et al. [13, 14] proposed an adaptive BFO (ABFO) algorithm to find optimal parameters for a variety of engineering optimization problems. Chen et al. [15, 16] proposed a cooperative BFO (CBFO) algorithm and ABFO algorithm. With a comparative study, they proved that the ABFO provides superior performance compared to PSO and GA. Das et al. [17, 18] provided the comprehensive analysis on the BFO algorithm. The discussion by Biswas et al. [19] provides the insight on the reproduction operator performance in BFO. A detailed study on the optimal controller parameter tuning for a class of process models are examined by Biswas et al. [20], Roy et al. [21], and Ghosh et al. [22]. Ali and Majhi [23] examined the BFO algorithm to tune the PID controller parameter for a class of stable process models. Korani et al. [24] presented a comparative study between the PSO, BFO, and hybrid-algorithm-tuned PID control for stable systems. Recently, Kanth and Latha [25] discussed about the BFO-tuned I-PD controller performance on a class of time delayed unstable process models.

In the present work, we propose an enhanced bacteria foraging optimization (EBFO) algorithm to identify optimised PID controller parameters for a class of stable and unstable process models by maintaining guaranteed accuracy in the optimized value. The need for multiobjective performance index in order to improve the exactness of the proposed controller is also discussed. The method is finally tested on a real time nonlinear spherical tank system.

Further, a detailed description of enhanced bacterial foraging optimization algorithm is provided in Section 2. Section 3 presents the outline of the PID controller structure, problem formulation and the cost-function-based controller tuning. Section 4 discusses the simulated results on different nonlinear process models and the real-time test on a non-linear spherical tank system. Section 5 deals about the conclusion of the present research work.

#### 2. Bacteria Foraging Algorithm

Bacteria foraging optimization (BFO) algorithm is a new division of metaheuristic algorithm. It is a population-based optimization technique developed by inspiring the foraging manners of *E. coli* bacteria [12]. The basic operations of BFO algorithm is briefly discussed below.

*Chemotaxis*

During foraging operation (tracing, handling, and ingesting food), an *E. coli* bacterium moves towards the food location with the aid of swimming and tumbling by using flagella. Through swimming, it can move in a specified direction and during tumbling action, the bacteria can modify the direction of search. These two modes of operations are continuously executed to move in random paths to find adequate amount of positive nutrient gradient. These operations are performed in its whole lifetime.

*Swarming*

In this process, after the success in the direction of the best food position, the bacterium which has the knowledge about the optimum path to the food source will attempt to communicate to other bacteria by using an attraction signal. The signal communication between cells in *E. coli* bacteria is represented by the following equation:
where
where is the location of the global optimum bacterium till the *j*th chemotactic, *k*th reproduction, and *l*th elimination stage and “” is the *m*th parameter of global optimum bacteria.

Where *J * represents objective function assessment, “*N*” is the total number of bacterium, and “*D*” the total parameters to be optimised. The other parameters such as “” are the depth of attractant signal released by a bacteria and “” is the width of attractant signal. The signals “” and “” are the height and width of repellent signals between bacterium (attractant is the signal for food source and repellent is the signal for noxious reserve).

*Reproduction*

In swarming process, the bacteria build up as groups in the positive nutrient gradient and which may increase the bacterial concentration. After the congregation the bacteria are sorted in descending order based on its health values. The bacteria which have the least health will perish and the bacteria with the most health value will split into two and breed to maintain a constant population.

*Elimination-Dispersal*

Based on the environmental conditions such as change in temperature, noxious surroundings, and accessibility of food, the population of a bacteria may change either steadily or abruptly. During this stage, a group of the bacteria in a restricted region (local optima) will be eliminated or a group may be scattered (dispersed) into a new food location in the “*D*” dimensional search space. The dispersal possibly flattens the chemotaxis advancement. After dispersal, sometimes the bacteria may be placed near the good nutrient source and it may support the chemo-taxis, to identify the availability of other food sources. The above procedures are repeated until the optimized solutions are achieved.

##### 2.1. Enhanced Bacteria Foraging Algorithm

The parameters of the basic BFO algorithms are defined in the following. *D*: the dimension of search space (the search boundary is −100 < 0 < +100), *N*: the total number of artificial *E. coli* bacteria, : total number of chemotaxis steps, : swim length during the search, : total number of reproduction steps, : total number of elimination-dispersal events, : number of reproduced bacteria, : the probability that each bacterium will be eliminated/dispersed, and *n*: the run length.

In the basic BFO algorithm, the fitness of each bacterium is determined from the average value of the entire chemotactic performance index before the reproduction operation. In the proposed EBFO algorithm, the bacterium with the maximum health is retained [12].

The health of the bacterium can be found by the following relation where .

In the proposed algorithm, the retained bacterium is used to guide the reproduced bacteria towards the nutrient source. Due to this process, along with the accuracy in optimization, the iteration time can be reduced.

In the literature there is no apparent guide line to allocate the parameters for the BFO algorithm. In the proposed EBFO algorithm, we assigned the limitations for the algorithm parameters by considering the various stages of bacterium growth discussed in the book by El-Mansi and Bryce [26].

Stages of bacteria growth in a controlled environment are shown schematically in Figure 1. (i)*Lag phase:* Amendment of the cells to new environment take place and it is getting ready to begin reproduction. (ii)*Growth phase:* In this stage with the help of chemo-taxis and swarming practice, the cells can reach the location of food source. The growth rate is proportional to the cell concentration and the nutrient quantity. When the cell reaches the sufficient food location, the growth rate is rapid. When the cell reaches the maximum growth, it begins reproduction.(iii)*Stationary phase:* After growth and reproduction, the cell will reach a minimum biological space called stationary phase. Due to the lack of one or more nutrients, build up of toxic materials and organic acids generated during the growth phase, cell growth is restricted. (iv)*Death phase:* It is mainly due to the toxic by-products and depletion of nutrient supply. In this, a decrease in live cell concentration occurs. The cell with a minimum health is eliminated. The above process repeats until there exist a controlled environment such as constant temperature and pH.

In bacteria foraging algorithm, the total number of bacterium considered for the optimization practice plays a vital role in maintaining the optimization accuracy and algorithm convergence. The larger number of bacterium can offer an agreeable accuracy, but sometimes it may increase the computation time. In this paper, we performed a number of trials to fix the range of the bacteria group size. When the *E. coli* is placed in a controlled environment, it will reach the food source with the action of tumbling or swimming. The first half in the group swim towards the food and rest in the group tumbles. The bacterium which enters into the nutrient environment first, may grow earlier and starts the reproduction operation. Around 25% of cells may die due to lack of nutrients and build up toxic materials. The probability of bacterial elimination mainly depends on the bacteria at the noxious environment, initial population of the bacteria, and the bacterial with the reproduction process. The bacteria are living organism, which will act fast at toxic environment compared to the nutrient source. This process may help to fix the values for the attract and repel signal strength.

With the aid of the above information, the algorithm parameters are assigned as follows.(i)The total number of *E. coli* bacteria = (even numbers).(ii)The total number of chemotactic steps .(iii)Swim length during the search () = Total number of reproduction steps .(iv)The number of elimination-dispersal events .(v)The total number of bacterial reproduction .(vi)The probability of the bacterial elimination/dispersal . (vii)Total number of iterations during the search = .(viii)Swarming parameters can be assigned as follows:
(ix)Initial positions for the bacterium (bacterium 1 to ) is assigned as follows
where PI-Performance index which guides the algorithm, SB-Search boundary for the value, Dim = number of values to be optimized = total no of search dimension, rand = random number (0 < rand <1).

The main advantage of the proposed method is, the number of parameters to be assigned is very minimal (i.e., *N*, *D*, PI, and SB) compared to the basic BFO algorithm.

#### 3. PID Controller Tuning

In process industries, PID controller is used to improve both the steady state as well as the transient response of a process plant. In a closed-loop control system, the controller continuously adjusts the final control element until the difference between reference input and process output is zero irrespective of the internal and/or external disturbance signal.

A universal closed-loop control system is depicted in Figure 2. The controller “” has to provide closed-loop stability, smooth reference tracking and load disturbance rejection [27].

Closed-loop response of the above system with setpoint “” and disturbance “” can be expressed as (3): The final steady state response of the system for the reference tracking and the disturbance rejection is presented, respectively, as the following: where = amplitude of reference signal; = amplitude of disturbance signal.

To achieve a satisfactory (∞) and (∞), it is necessary to have optimally tuned values for , , and . In this study, a noninteracting form of parallel PID controller is considered to to control the nonlinear system: where , = .

##### 3.1. Controller Tuning

The controller tuning process is employed to find the best possible values for , , and . In order to achieve the superior accuracy during the optimization search, it is necessary to assign appropriate PI which guides the BFO algorithm. In recent years, the multiple objective performance index (MOPI) for PID controller optimization is widely proposed by most of the researchers [5–7, 25]. In Zamani et al., [6, 7], along with the error, additional values such as overshoot (), settling time (), steady state error (), rise time (), gain margin (GM) and phase margin (PM) were considered in the performance criterion. Chiha et al. [5] considered , , , IAE, ISE, ITAE, and ITSE.

The following performance criterion (9) with five parameters, such as ISE, IAE, , , and are considered in this work: where = rise time (time required for to reach 100% of its setpoint at the first instant), = settling time—time required for to reach an stay at [i.e., ], and = time considered for error calculation.

Where , , …, are weighting functions used to set the priority of the MOPI parameters and the value of “” varies from 0 to 10. The performance criterion (, , ) guides the EBFO algorithm to get appropriate values for the controller parameters.

##### 3.2. Optimization Search

Prior to the optimization search, it is necessary to assign the parameters for EBSO and MOPI.

Figure 3 shows the basic block diagram of the EBFO-based PID controller tuning.

In this study, the following values are assigned.(i)Dimension of the search space (i.e., , , ).(ii)The total number of *E. coli* bacteria = 10.(iii)Boundaries for the three dimensional search space is assigned as
(iv)The weighting function values are assigned as , .(v)Maximum simulation time is 100 sec.(vi)The “” is preferred as <25% of the maximum simulation time. The simulation time should be selected based on the process time delay.(vii)The overshoot () range is selected as <100% of the reference signal. (viii)The “” is preferred as <50% of the maximum simulation time. (ix)The reference signal is considered as unity (i.e., ). (x)For each process example, five trials are carried out and the finest set of values among the trials is selected as the best optimized controller value.

##### 3.3. Comparative Study

In order to evaluate the performance of the proposed EBFO algorithm, a comparative analysis is done with most successful soft computing methods such as PSO, BFO, adaptive BFO (ABFO), and GA.

*PSO*

The simulation is carried out by using the PSO algorithm attempted by Kanth and Latha [10, 11]. The following algorithm parameters are considered: dimension of search space is three (i.e., , , ); number of swarm and bird step is considered as 25; the cognitive () and global () search parameter is assigned the value of 2 and 1.5, respectively, the inertia weight “*W*” is set as 0.7.

*BFO*

For the basic BFO algorithm, the following values are considered: dimension of search space is three; number of bacteria is chosen as ten; number of chemotaxis step is set to five; number of reproduction steps and length of a swim is considered as four; number of elimination-dispersal events is two; number of bacteria reproduction is assigned as five; probability for elimination-dispersal has a value of 0.2 [10, 11, 25].

*ABFO*

The following values are considered for the ABFO algorith: dimension of search space is three; number of bacteria , number of chemotaxis step , , , , , , , , , and [13].

*GA*

In the GA-based search, the following parameters are assigned: population size is set to 20, generation size is chosen as 150, crossover probability is selected as 50%, and mutation probability is set as 0.2%. Roulette wheel based selection criterion is considered in this study.

*The MOPI proposed in this paper is utilised for all the evolutionary algorithms.

#### 4. Results and Discussions

Most of the real time chemical process systems exhibit multiple steady states due to nonlinear phenomena occurring in the systems. Around the operating region, such systems are adequately represented by a stable or unstable process model with a delay [4]. In order to show the efficiency of the EBFO tuned PID controller for the nonlinear system, approximated linear chemical (bioreactor and CSTR) process models are considered from the literature.

##### 4.1. Process Model 1

The proposed PID controller is tested on a nonlinear bioreactor model discussed by Wayne-Bequette [28].

The following mathematical equations can describe a variety of industrial bioreactors. Equations (13)–(15) describes the balancing conditions and (16) depicts the specific growth rate.

Cell balance:

Substrate balance:

Product balance:

Monod kinetics:
For substrate inhibition model, the following parameters are considered [28]: hr^{−1}, g/lit, lit/g, . The steady state dilution rate is h^{−1} and the feed substrate concentration is g/lit. The nonlinear process has the three steady state operating points for a dilution rate of 0.3 h^{−1}. Transfer function model can be obtained by applying linearization technique [4].

In this study a benchmark unstable bioreactor model is considered. The dilution rate is taken as the manipulated variable to control the cell mass concentration.

For the unstable operating point, the linearized model for the unstable bioreactor is

First part of (17) represents a second order model and the later part shows a reduced first order model. The delay time for both the model is considered as “1.”

The EBFO-based PID controller tuning is proposed for the second order model as in Figure 2.

Five trials are performed during the optimization search. The convergence of the EBFO algorithm toward the global optimal solution of the controller parameters are presented in Table 1. Figure 4 depicts the qualitative comparison of the servo response for the trial values presented in Table 1. Among them, Trial 2 value shows the better result compared to other trial values. It also satisfies most of the performance criterion compared to other trial values (Table 1).

The position of the *E. coli* bacteria in the three dimensional search space for Trial 2 is depicted in Figure 5. In this search operation, the artificial bacterium finds the best possible controller parameters by minimizing the MOPI.

Figure 6 graphically represents the optimised , , and values for Trial 2. The search value is converging at 57th iteration.

After finding the optimized controller value using EBSO algorithm; ABFO, classical BFO, PSO, and GA based PID controller tuning is attempted for the unstable bioreactor model. For each algorithm, five trials are performed and the best value among the trial is tabulated in Table 2. From Table 2, it is observed that the number of iteration of EBFO is smaller compared to other algorithms. The ISE and IAE value by the ABFO algorithm is lesser, but the other parameters such as , , and are greater compared to EBFO algorithm.

From Table 2 and Figure 7 values show that, the overall performance of EBFO and ABFO are approximately similar. Disturbance rejection performance of the above methods are tested by applying a load disturbance of 50% (i.e., ). From Figure 8, the observation is that, the disturbance rejection performance of EBFO and ABFO are identical.

The performance of the EBFO tuned PID controller is tested on the nonlinear bioreactor model developed using the non linear equations (13)–(16). The objective is to maintain the concentration of biomass/product () based on the setpoint, by adjusting the substrate/feed concentration (). In order to test the robustness of the proposed controller, measurement noise (noise power of 0.001 with a sampling time of 0.1 sec) is introduced in the feedback loop. A feed dilution rate of 0.4 g/lit is considered in this study.

Figure 9 shows the variation of biomass concentration, substrate concentration, dilution rate and the controller output for the servo response. In this a setpoint of 0.995103 g/lit is considered for the biomass concentration. The response confirms that, the proposed scheme works well even in the noisy environment and helps to provide a smooth reference tracking performance.

##### 4.2. Process Model 2

Isothermal Continuous Stirred Tank Reactor (CSTR) considered by Liou and Yu-Shu [29] has the following transfer function model: From (18), it can be observed that, the differential equation which represents the concentration of the product with respect to time is nonlinear.

The parameter values of the CSTR are given by [3]: flow rate lit/sec; volume lit, lit/s; and lit/mol, . Linearizing the nonlinear model equation around the operating region with, concentration mol/lit, gives two stable steady states at mol/lit and mol/lit. When mol/lit, the CSTR provides an unstable steady state and it can be mathematically represented by the following unstable transfer function model (with a measurement delay of 20 sec):
Equation (19) depicts a first order model and the controller setting for this model is proposed as discussed in Section 3.2 with the following values.(i)The total number of *E. coli* bacteria = 20 (same value is assigned for the agents in BFO, PSO, and GA)(ii)The numerator of the transfer function has a positive sign (i.e., +3.3266), since the lower boundary of the controller parameter search is assigned as zero.The three dimensional search space is assigned as follows:
The delay time of the process is 20 sec. Since the maximum simulation time is selected as 500 sec.

Five trials are performed using the evolutionary algorithms and the best value among the trial is tabulated in Table 3. Table 3 shows the optimized controller values and its performance measure for the isothermal CSTR model. Even though the iteration value of EBFO algorithm is large compared to the GA- and PSO-based methods, other parameters such as ISE, IAE, , and are lesser than other algorithms. The ISE and IAE value by the ABFO algorith is smaller compared to GA, BFO, and EBFO. From Figure 10, the observation is that, the EBFO-based method provides significantly improved result compared with BFO, PSO, and GA.

##### 4.3. Process Model 3

Continuous stirred tank reactor (CSTR) with nonideal mixing considered by Liou and Yu-Shu [29] is considered in this study. Linearizing the nonlinear model equation around the operating region with, concentration mol/lit, mol/lit and mol/lit gives the following unstable transfer function model: The process model has one unstable pole and a stable zero. The time delay “” in the system is considered as 20 sec. The unstable system with a zero may produce a large overshoot or inverse response. Since during the optimization search, the boundary for the overshoot “” is disconnected. For this process, the simulation study is performed as discussed in Section 3.2 with a simulation time of 500 sec.

Five trials are performed on this process model for each evolutionary algorithm and the best value among the trial is tabulated in Table 4. Figure 11 shows the servo response of the CSTR model with EBFO, ABFO, BFO, PSO, and GA tuned PID controller. Even though the overshoot is large compared to other methods; the overall performance of the present tuning method provides a better result with significantly reduced performance criterion values.

##### 4.4. Real-Time Implementation

In this work, to evaluate the effectiveness of the proposed algorithm, a PID controlled nonlinear spherical tank system is considered. The spherical tank setup shown in Figure 12 is an image of a liquid storage structure widely used in oil and gas industries.

Modelling and control of nonlinear spherical tank system was widely addressed by the researchers. Faccin and Trierweiler [30] proposed a multimodel PID controller design for a spherical tank system. They also proposed a simple model identification technique using the first principle analysis. Madhavasarma and Sundaram [31] proposed a model-based controller tuning for the nonlinear spherical tank system. They developed an approximate stable first order plus dead time (FOPDT) model around the operating region and proposed an IMCPID controller. Nithya et al. [32] proposed a black box system identification technique and developed a FOPDT model. GA-tuned fuzzy logic controller (FLC) was proposed for the identified stable FOPDT model. Figure 12 shows the real time experimental setup of the spherical tank system and its specifications. The objective is to maintain the fluid level (*h*) by adjusting the inlet flow rate ().

The first principle modelling equations for the tank is given below:
where = inlet flow rate, = outlet flow rate, *V* = tank volume, *A* = area of tank, *h* = head, = diameter of the tank based on the head, and * β* = outlet flow capacity coefficient.

The linearised transfer function of the system around the operating point can be developed by neglecting the wall thickness of the tank.

In this setup, a personal computer (PC) loaded with the MATLAB software allows the user to monitor and control the working process. The DAQ supports 4 analog input (voltge in the range of 1 to 5V or current in the range of 4 to 20 mA), 4 analog/digital input and 4 analog/digital output channels. A communication link between the process loop and the monitoring PC is established by the DAQ module through Universal Serial Bus (USB).

A level of 18 cm is considered as the operating point. To develop the transfer function around this operating point, open-loop step response test is performed with an inlet flow rate = 9 lpm. At this operating region, 29.549% of tank is filled with the liquid (19.34 lit) and 70.451% is with the air, the model identified around this operating point using MATLAB software is gived in the following: With the experimental result, the delay by the control valve and the DPT level transmitter is accounted as 11.7 sec.

Figure 13 shows the EBFO-based PID controller tuning procedure and its real time implementation on the spherical tank level control problem. The EBFO algorithm proposed in Section 3.2 is considered for the search. Initially the search is performed on the tank model using (23).

A simulation time of 500 sec is considered in the EBFO-based PID tuning procedure and the algorithm is converged at 57th iteration with the following values: Initially, the controller parameter optimization is searched with the process model, and later the identified PID values are transferred to the real time controller installed in the process loop through the monitoring and control program developed in MATLAB Simulink with ODE 45 solver. The Simulink program is directly interfaced with the real time process system through DAQ module. It is enabled with National Instruments VISA serial communication interface. The module supports ASCII data format with a sampling time of 0.1 sec and a baudrate of 38400. With this, Monitoring and control of the real-time process can be easily established with MATLAB software. In real time implementation, the maximum controller output is set as 90% in order to reduce the thrust on the control valve which allows the flow rate to the tank.

Figure 14 shows the variation of level based on the setpoint and the corresponding controller output during the real time study. The ISE and IAE values are obtained as 491.34 and 215.93, respectively, during the real time study.

From this study, it can be noted that the proposed EBFO algorithm presents a smooth servo response for the spherical tank level control problem and it can be easily implemented in real time using a MATLAB supported real time process loop.

#### 5. Conclusion

In this work, we proposed an enhanced bacterial foraging optimization (EBFO) algorithm to tune the parallel form of PID controller for a class of nonlinear process models. In order to minimize the algorithm complexity, guidelines are provided to select the BFO algorithm parameters. A comparative study is performed with the basic BFO-, ABFO-, PSO-, and GA-based PID controller tuning methods proposed in the literature. The study confirms that the EBFO-tuned PID controller provides improved overall performance compared to other algorithms considered for study. Finally the proposed algorithm is implemented in real time for a spherical tank level control problem. The real time result shows that, the EBFO-tuned PID controller gives a smooth response for reference tracking and maintains the level based on the reference signal.

#### References

- R. A. Maher and R. Samir, “Robust stability of a class of unstable systems under mixed uncertainty,”
*Journal of Control Science and Engineering*, vol. 2011, no. 970962, 8 pages, 2011. - V. Vijayan and R. C. Panda, “Design of a simple setpoint filter for minimizing overshoot for low order processes,”
*ISA Transactions*, vol. 51, no. 2, pp. 271–276, 2012. View at Publisher · View at Google Scholar · View at Scopus - R. Padma Sree and M. Chidambaram,
*Control of Unstable Systems*, Narosa Publishing House, New Delhi, India, 2006. - M. K. Jhunjhunwala and M. Chidambaram, “Pid controller tuning for unstable systems by optimization method,”
*Chemical Engineering Communications*, vol. 185, no. 1, pp. 91–113, 2001. View at Scopus - I. Chiha, N. Liouane, and P. Borne, “Tuning PID controller using multiobjective ant colony optimization,”
*Applied Computational Intelligence and Soft Computing*, vol. 2012, Article ID 536326, 7 pages, 2012. View at Publisher · View at Google Scholar - M. Zamani, N. Sadati, and M. K. Ghartemani, “Design of an H
^{∞}, PID controller using particle swarm optimization,”*International Journal of Control, Automation and Systems*, vol. 7, no. 2, pp. 273–280, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. Zamani, M. Karimi-Ghartemani, N. Sadati, and M. Parniani, “Design of a fractional order PID controller for an AVR using particle swarm optimization,”
*Control Engineering Practice*, vol. 17, no. 12, pp. 1380–1387, 2009. View at Publisher · View at Google Scholar · View at Scopus - W. D. Chang and S. P. Shih, “PID controller design of nonlinear systems using an improved particle swarm optimization approach,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 15, no. 11, pp. 3632–3639, 2010. View at Publisher · View at Google Scholar · View at Scopus - I. Zadeh Hassan and S. Mobayen, “Controller design for rotary inverted pendulum system using evolutionary algorithms,”
*Mathematical Problems in Engineering*, vol. 2011, Article ID 572424, 17 pages, 2011. View at Publisher · View at Google Scholar · View at Scopus - V. Kanth and K. Latha, “Bacterial foraging optimization algorithm based pid controller tuning for time delayedunstable systems,”
*Mediterranean Journal of Measurement and Control*, vol. 7, no. 1, pp. 197–203, 2011. View at Scopus - V. Kanth and K. Latha, “Optimization of PID controller parameters for unstable chemical systems using soft computing technique,”
*International Review of Chemical Engineering*, vol. 3, no. 3, pp. 350–358, 2011. - K. M. Passino, “Biomimicry of bacterial foraging for distributed optimization and control,”
*IEEE Control Systems Magazine*, vol. 22, no. 3, pp. 52–67, 2002. View at Publisher · View at Google Scholar · View at Scopus - S. Dasgupta, S. Das, A. Abraham, and A. Biswas, “Adaptive computational chemotaxis in bacterial foraging optimization: an analysis,”
*IEEE Transactions on Evolutionary Computation*, vol. 13, no. 4, pp. 919–941, 2009. View at Publisher · View at Google Scholar · View at Scopus - S. Dasgupta, S. Das, A. Biswas, and A. Abraham, “Automatic circle detection on digital images with an adaptive bacterial foraging algorithm,”
*Soft Computing*, vol. 14, no. 11, pp. 1151–1164, 2010. View at Publisher · View at Google Scholar · View at Scopus - H. Chen, Y. Zhu, and K. Hu, “Cooperative bacterial foraging optimization,”
*Discrete Dynamics in Nature and Society*, vol. 2009, Article ID 815247, 17 pages, 2009. View at Publisher · View at Google Scholar - H. Chen, Y. Zhu, and K. Hu, “Adaptive bacterial foraging optimization,”
*Abstract and Applied Analysis*, vol. 2011, Article ID 108269, 27 pages, 2011. View at Publisher · View at Google Scholar · View at Scopus - S. Das, S. Dasgupta, A. Biswas, A. Abraham, and A. Konar, “On stability of the chemotactic dynamics in bacterial-foraging optimization algorithm,”
*IEEE Transactions on Systems, Man, and Cybernetics A*, vol. 39, no. 3, pp. 670–679, 2009. View at Publisher · View at Google Scholar · View at Scopus - S. Das, A. Biswas, S. Dasgupta, and A. Abraham, “Bacterial foraging optimization algorithm: theoretical foundations, analysis, and applications,”
*Studies in Computational Intelligence*, vol. 203, pp. 23–55, 2009. View at Publisher · View at Google Scholar · View at Scopus - A. Biswas, S. Das, A. Abraham, and S. Dasgupta, “Stability analysis of the reproduction operator in bacterial foraging optimization,”
*Theoretical Computer Science*, vol. 411, no. 21, pp. 2127–2139, 2010. View at Publisher · View at Google Scholar · View at Scopus - A. Biswas, S. Das, A. Abraham, and S. Dasgupta, “Design of fractional-order PI
*λ*D*μ*controllers with an improved differential evolution,”*Engineering Applications of Artificial Intelligence*, vol. 22, no. 2, pp. 343–350, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. G. Roy, P. Chakraborty, and S. Das, “Designing fractional-order PI
^{λ}D^{μ}controller using differential harmony search algorithm,”*International Journal of Bio-Inspired Computation*, vol. 2, no. 5, pp. 303–309, 2010. View at Publisher · View at Google Scholar · View at Scopus - A. Ghosh, S. Das, A. Chowdhury, and R. Giri, “An ecologically inspired direct search method for solving optimal control problems with Bézier parameterization,”
*Engineering Applications of Artificial Intelligence*, vol. 24, no. 7, pp. 1195–1203, 2011. View at Publisher · View at Google Scholar · View at Scopus - A. Ali and S. Majhi, “Design of optimum PID controller by bacterial foraging strategy,” in
*Proceedings of IEEE International Conference on Industrial Technology (ICIT '06)*, pp. 601–605, December 2006. View at Publisher · View at Google Scholar · View at Scopus - W. M. Korani, H. T. Dorrah, and H. M. Emara, “Bacterial foraging oriented by particle swarm optimization strategy for PID tuning,” in
*Proceedings of the 8th IEEE International Symposium on Computational Intelligence in Robotics and Automation (CIRA '09)*, pp. 445–450, December 2009. View at Publisher · View at Google Scholar · View at Scopus - V. Kanth and K. Latha, “I-PD controller tuning for unstable system using bacterial foraging algorithm: a study based on various error criterion,”
*Applied computational Intelligence and Soft Computing*, vol. 2012, Article ID 329389, 10 pages, 2012. View at Publisher · View at Google Scholar - E. M. T El-Mansi and C. F. A. Bryce,
*Fermentation Microbiology and Biotechnology*, Taylor and Francis, Indian reprint, 2003. - M. A. Johnson and M. H. Moradi,
*PID Control: New Identification and Design Methods*, Springer, London, UK, 2005. - B. Wayne-Bequette,
*Process Control—Modeling, Design and Simulation*, Prentice-Hall, New Delhi, India, 2003. - C. T. Liou and C. Yu-Shu, “The effect of nonideal mixing on input multiplicity in a CSTR,”
*Chemical Engineering Science*, vol. 46, no. 8, pp. 2113–2116, 1991. View at Scopus - F. Faccin and J. O. Trierweiler, “A novel toll for multi-model PID controller design,” in
*Proceedings of the 7th IFAC symposium on Dynamics and Control of Process Systems*, pp. 251–256, 2004. - P. Madhavasarma and S. Sundaram, “Model based tuning of a non linear spherical tank process with time delay,”
*Instrumentation Science and Technology*, vol. 36, no. 4, pp. 420–431, 2008. View at Publisher · View at Google Scholar · View at Scopus - S. Nithya, N. Sivakumaran, T. Balasubramanian, and N. Anantharaman, “Design of controller for nonlinear process using soft computing,”
*Instrumentation Science and Technology*, vol. 36, no. 4, pp. 437–450, 2008. View at Publisher · View at Google Scholar · View at Scopus