- About this Journal
- Abstracting and Indexing
- 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
Journal of Engineering
Volume 2013 (2013), Article ID 982354, 7 pages
Parameter Optimization via Cuckoo Optimization Algorithm of Fuzzy Controller for Liquid Level Control
Department of Electrical Engineering, Islamic Azad University, Gonabad Branch, Khorasan-e-Razavi, Gonabad 96916-29, Iran
Received 28 December 2012; Revised 22 February 2013; Accepted 14 March 2013
Academic Editor: Mohammed Chadli
Copyright © 2013 Saeed Balochian and Eshagh Ebrahimi. 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.
Cuckoo optimization algorithm (COA) is one of the latest evolutionary algorithms. Finding the best optimal point, rapid convergence, and simplicity in determining algorithm parameters are some merits of COA. In this paper, COA is applied to tuning optimal fuzzy parameters for Sugeno-type fuzzy logic controllers (S-FLCs) which are used for liquid level control. A programmable logic controller (PLC) is used with fuzzy controller. For this purpose, a liquid level control set and PLC have been assembled together. MATLAB/Simulink program has been used to achieve the optimal parameters of the membership functions. The results show clearly that the optimized FLC using COA has better performance compared to manually adjustments of the system parameters for different datasets.
FLC is a popular technique that has seen increasing interest in the past decades since it has a linguistic based structure and its performance is quite robust for nonlinear systems. Takagi-Sugeno (T-S) fuzzy models represent fuzzy dynamic models or fuzzy systems [1–8]. This brings a twofold advantage. First, any model-based technique (including a nonlinear one) can be applied to the fuzzy dynamic models. Second, the controller itself can be considered as a fuzzy system. Since the fuzzy model of the nonlinear process is usually based on a set of local linear models which are smoothly merged by the fuzzy model structure, a natural and straightforward approach is to design one local controller for each local model of the process. However, FLC including some parameters such as linguistic control rules and limits and type of membership functions has to be tuned for a given system. A major drawback of FLC is that the tuning process becomes more difficult and very time consuming when the number of the system inputs and outputs is increased. Evolutionary algorithms regarding tuning the membership function parameters of FLC have been studied extensively in the literature. These studies can be divided into three groups as genetic algorithm [9–13], PSO [14–19], and ant algorithm [20, 21].
In many industrial processes, control of liquid level is required. Several researchers have investigated the problem of controlling liquid flow [22–28]. A constrained predictive control algorithm based on feedback linearization applied to a coupled tank apparatus is given in . In , several sliding mode control schemes for the coupled tanks system and liquid level control are proposed. Fuzzy logic is as a powerful problem-solving methodology with a great number of applications in level control. Intelligent control including fuzzy control [31–36], neural network control , and genetic algorithms  has also been applied to liquid level system.
PLCs have been commonly used in manufacturing and industrial process applications. Main advantages of PLCs are simplicity, flexibility, reliability, and easy system configuration with low cost, low maintenance, and running cost. For this reason, complicated technology is shifted to the PLC process control system. Furthermore, PLC-based process control system enables easy operation and engineering . The right choice of an optimization algorithm can be crucially important in finding the right solutions for a given optimization problem. There exist a diverse range of algorithms for optimization. One of the latest and most powerful optimization algorithms is cuckoo optimization algorithm (COA) [40, 41]. The ability of COA to find the best optimal point, rapid convergence, and simplicity in determining algorithm parameters and to handle any type of cost function for large scale problems makes it a better tool than the traditional gradient descent algorithms, genetic algorithm (GA) and particle swarm optimization (PSO) algorithm .
In this paper, fuzzy controller (Takagi-Sugeno type) with PLC to control of liquid level in tanks is used. According to the characteristics of PLC, the fuzzy control is used with PLC. We present optimization of Takagi-Sugeno-type fuzzy regulator parameters using COA. MATLAB software is used for designing and simulating. This paper is organized as follows. In Section 2, system model is presented. In Section 3, the controller design based on Takagi-Sugeno system is given. In Section 4, COA is presented. In Section 5, determination of Takagi-Sugeno controller parameters based on COA is considered and comparison to PSO is discussed. Finally, the results and advantages of the method are illustrated.
2. System of Liquid Level
In this system, the flowing of water has been supplied via a pump from a storage tank, and the flowing water rate has been adjusted with an actuator. This actuator operates with an electropneumatic positioner. A PLC (S7-200) has been used to control of the liquid level system. The level of the liquid has been measured through a pressure transmitter. The transmitted pressure data is transferred to PLC by using an analog input module . This data which is between the ranges of 4–20 mA have been converted to mBar, and this mBar values come up to liquid level of tank in cm (0–60 cm). The system used in this work has been shown in Figure 1.
The system model can be represented by the following differential equation: where is the input flow (control input), which can be positive or negative; that is, it can both pull liquid out of the tank and put it in, is the liquid level (the output of the plant), is the cross-sectional area of the tank, is gravity, and is the known cross-sectional area of the output pipe . The block diagram of the water tank which is obtained by (1) is shown in Figure 2.
3. Controller Design
Fuzzy parameters of the membership functions have been determined using MATLAB/Simulink program. Triangular-shaped built-in membership functions have been used in the Sugeno-type fuzzy algorithm. This fuzzy controller has two input variables: is the error which is the difference between set value and process value and is the differential of and an output variable which is the control signal of the actuator . Output variable (stimulus control signal) includes two acts that increase and decrease. Output membership functions have three parameters. Linear-type output membership functions have been used in fuzzy rule base which has four fuzzy rules. Fuzzy rules are as follows(i)if is positive and is positive then output is increased.(ii)if is positive and is negative, then output is increased.(iii)if is negative and is positive, then output is decreased.(iv)if is negative and is negative, then output is decreased.
The final output of the system is the weighted average of all outputs, which is computed by where compute from if part and is output membership function of the th fuzzy rule.
The fuzzy controller output is applied to the actuator in order to control of water level. Then, the required flow of water has been adjusted to obtain the desired level. The flowchart of PLC program is shown in Figure 3. Simulation of the control system is realized in MATLAB/Simulink, which is shown in Figure 4.
4. Cuckoo Optimization Algorithm (COA)
COA is inspired by the life of a bird family which is called cuckoo. Special lifestyle of these birds and their characteristics in egg laying and breeding has been the basic motivation for development of this new evolutionary optimization algorithm. The cuckoo population, in different societies, is in two types: mature cuckoos and eggs. The effort to survive among cuckoos constitutes the basis of COA. During the survival competition, some of the cuckoos or their eggs demise. The survived cuckoo societies immigrate to a better environment and start reproducing and laying eggs. Cuckoos’ survival effort hopefully converges to a state in which there is only one cuckoo society, all with the same profit values. Figure 5 depicts flowchart of COA .
Like other evolutionary algorithms, the COA starts with an initial population of cuckoos. These initial cuckoos have some eggs to lay in some host birds’ nests. Some of these eggs which are more similar to the most bird’s eggs have the opportunity to grow up and become a mature cuckoo. Other eggs are detected by host birds and are killed. The grown eggs reveal the suitability of the nests in that area. The more eggs survive in an area, the more profit is gained in that area. Hence, the position in which more eggs survive will be the term that COA is going to optimize. Cuckoos search for the most suitable area to lay eggs in order to maximize their eggs survival rate. After the remained eggs grow and turn into a mature cuckoo, they make some societies. Each society has its habitat region to live in. The best habitat of all societies will be the destination for the cuckoos in other societies. Considering the number of eggs each cuckoo has and also the cuckoo’s distance to the goal point (best habitat), some egg laying radii are dedicated to it. Then they immigrate toward this best habitat. They will inhabit somewhere near the best habitat. Then, cuckoo starts to lay eggs in some random nests inside her egg laying radius. This process continues until the best position with maximum profit value is obtained and most of the cuckoo population is gathered around the same position. More details regarding the COA can be found in .
5. Fuzzy Controller and COA Parameters
Output membership functions parameters of Sugeno fuzzy controller included 6 parameters, that is, three parameters related to the increase and three parameters related to the decrease. These parameters are determined using COA. Interval variables of the controller parameters are selected in the range of −10 to 500. In Table 1, the parameters of COA are presented.
We define a cost function according to (3) as where sse is sum squared error performance function, is reference step input and is output of the Simulink model. Cost function received COA maximum population matrix, and then set the parameters of controller. After setting, the parameters of the controller are called the simulink model and output is shown using the scope in Simulink. Figure 6 shows diagram of the reduction of the cost function.
6. Simulation Results
Table 2 shows the values of the optimal output membership functions parameters of Sugeno fuzzy controller using COA and PSO algorithm.
Comparison between the control results obtained from FLC (manually adjustments) and optimized FLC clearly shows that optimized FLC has more accurate and acceptable results rather than manually adjustments of the system parameters for different datasets. The results show that tuned controller using COA is better and even superior to tuned controller using PSO.
In this paper, an efficient and effective tuning approach-based COA is presented to obtain the optimal Sugeno fuzzy controller parameters for control liquid level. Despite the fuzzy controller, the controller is ideal for liquid level control, and the results show that it can improve the performance of fuzzy controller by optimizing the parameters. Simulation results show clearly that the optimized controller parameters have better performance compared with manually adjustments of the system parameters for different datasets and COA could demonstrate its capability to tune up fuzzy controller parameters promptly with uppermost level of accuracy.
- M. Männle, “FTSM-fast Takagi-Sugeno fuzzy modeling,” in Proceedings of the Fault Detection, Supervision and Safety for Technical Processes (SAFEPROCESS '00), pp. 663–668, Budapest, Romaina, June 2000.
- A. Sala, T.M. Guerra, and R. Babuška, “Perspectives of fuzzy systems and control,” Fuzzy Sets and Systems, vol. 156, no. 3, pp. 432–444, 2005.
- M. Chadli and H.R. Karimi, “Robust observer design for unknown inputs Takagi-Sugeno models,” IEEE Transactions on Fuzzy Systems, vol. 21, no. 1, pp. 158–164, 2013.
- M. Chadli and T-M Guerra, “LMI solution for robust static output feedback control of Takagi-Sugeno fuzzy models,” IEEE Transactions on Fuzzy Systems, vol. 20, no. 6, pp. 1160–1165, 2012.
- S. Aouaouda, M. Chadli, M.T. Khadir, and T. Bouarar, “Robust fault tolerant tracking controller design for unknown inputs T-S models with unmeasurable premise variables,” Journal of Process Control, vol. 22, no. 5, pp. 861–872, 2012.
- M. Chadli, S. Aouaouda, H.R. Karimi, and P. Shi, “Robust fault tolerant tracking controller design for a VTOL aircraft,” Journal of the Franklin Institute, 2012.
- H.R. Karimi and M. Chadli, “Robust observer design for Takagi-Sugeno fuzzy systems with mixed neutral and discrete delays and unknown inputs,” Mathematical Problems in Engineering, vol. 2012, Article ID 635709, 13 pages, 2012.
- D. Saifia, M. Chadli, S. Labiod, and T-M. Guerra, “Robust static output feedback stabilization of T-S fuzzy systems subject to actuator saturation,” International Journal of Control, Automation and Systems, vol. 10, no. 3, pp. 613–622, 2012.
- Y.-C. Chiou and L. W. Lan, “Genetic fuzzy logic controller: an iterative evolution algorithm with new encoding method,” Fuzzy Sets and Systems, vol. 152, no. 3, pp. 617–635, 2005.
- G. Leng, T. M. McGinnity, and G. Prasad, “Design for self-organizing fuzzy neural networks based on genetic algorithms,” IEEE Transactions on Fuzzy Systems, vol. 14, no. 6, pp. 755–765, 2006.
- S. M. Homayouni, T. S. Hong, and N. Ismail, “Development of genetic fuzzy logic controllers for complex production systems,” Computers and Industrial Engineering, vol. 57, no. 4, pp. 1247–1257, 2009.
- D. Meng and Z. Pei, “Extracting linguistic rules from data sets using fuzzy logic and genetic algorithms,” Neurocomputing, vol. 78, pp. 48–54, 2012.
- M. Montazeri-Gh and A. Safari, “Tuning of fuzzy fuel controller for aero-engine thrust regulation and safety considerations using genetic algorithm,” Aerospace Science and Technology, vol. 15, no. 3, pp. 183–192, 2011.
- M. A. Shoorehdeli, M. Teshnehlab, and A. K. Sedigh, “Novel hybrid learning algorithms for tuning ANFIS parameters using adaptive weighted PSO,” in Proceedings of the IEEE International Conference on Fuzzy Systems, (FUZZ-IEEE '07), London, UK, July 2007.
- A. Chatterjee and K. Watanabe, “An optimized Takagi-Sugeno type neuro-fuzzy system for modeling robot manipulators,” Neural Computing and Applications, vol. 15, no. 1, pp. 55–61, 2006.
- D. Parrott and X. Li, “Locating and tracking multiple dynamic optima by a particle swarm model using speciation,” IEEE Transactions on Evolutionary Computation, vol. 10, no. 4, pp. 440–458, 2006.
- V. Mukherjee and S. P. Ghoshal, “Intelligent particle swarm optimized fuzzy PID controller for AVR system,” Electric Power Systems Research, vol. 77, no. 12, pp. 1689–1698, 2007.
- A. D. Chatterjee, K. Pulasinghe, K. Watanabe, and K. Izumi, “A particle-swarm-optimized fuzzy-neural network for voice-controlled robot systems,” IEEE Transactions on Industrial Electronics, vol. 52, no. 6, pp. 1478–1489, 2005.
- C. C. Wong, H. Y. Wang, and S. A. Li, “PSO-based motion fuzzy controller design for mobile robots,” International Journal of Fuzzy Systems, vol. 10, no. 1, pp. 284–292, 2008.
- C. F. Juang and C. Lo, “Fuzzy systems design by clustering-aided ant colony optimization for plant control,” International Journal of General Systems, vol. 36, no. 6, pp. 623–641, 2007.
- C. F. Juang and C. Lo, “Zero-order TSK-type fuzzy system learning using a two-phase swarm intelligence algorithm,” Fuzzy Sets and Systems, vol. 159, no. 21, pp. 2910–2926, 2008.
- M. K. Khan and S. K. Spurgeon, “Robust MIMO water level control in interconnected twin-tanks using second order sliding mode control,” Control Engineering Practice, vol. 14, no. 4, pp. 375–386, 2006.
- H. Pan, H. Wong, V. Kapila, and M. S. de Queiroz, “Experimental validation of a nonlinear backstepping liquid level controller for a state coupled two tank system,” Control Engineering Practice, vol. 13, no. 1, pp. 27–40, 2005.
- A. Visioli, “A new design for a PID plus feedforward controller,” Journal of Process Control, vol. 14, no. 4, pp. 457–463, 2004.
- D. J. Murray-Smith, J. Kocijan, and M. Gong, “A signal convolution method for estimation of controller parameter sensitivity functions for tuning of feedback control systems by an iterative process,” Control Engineering Practice, vol. 11, no. 9, pp. 1087–1094, 2003.
- K. K. Tan, S. Huang, and R. Ferdous, “Robust self-tuning PID controller for nonlinear systems,” Journal of Process Control, vol. 12, no. 7, pp. 753–761, 2002.
- K.-L. Wu, C.-C. Yu, and Y.-C. Cheng, “A two degree of freedom level control,” Journal of Process Control, vol. 11, pp. 311–319, 2001.
- K. E. Kwok, M. C. Ping, and P. Li, “Model-based augmented PID algorithm,” Journal of Process Control, vol. 10, no. 1, pp. 9–18, 2000.
- N. K. Poulsen, B. Kouvaritakis, and M. Cannon, “Constrained predictive control and its application to a coupled-tanks apparatus,” International Journal of Control, vol. 74, no. 6, pp. 552–564, 2001.
- N. B. Almutairi and M. Zribi, “Sliding mode control of coupled tanks,” Mechatronics, vol. 16, no. 7, pp. 427–441, 2006.
- T. Niimura and R. Yokoyama, “Water level control of small-scale hydro-generating units by fuzzy logic,” in Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, pp. 2483–2487, October 1995.
- P. Korba, R. Babuska, H.B. Verbruggen, and P.M. Frank, “Fuzzy gain scheduling: controller and observer design based on Lyapunov method and convex optimization,” IEEE Transactions on Fuzzy Systems, vol. 11, pp. 285–298, 2003.
- I. Rojas, M. Anguita, H. Pomares, and A. Prieto, “Analysis and electronic implementation of a fuzzy system for the control of a liquid tank,” in Proceedings of the 6th IEEE International Conference on Fussy Systems, pp. 1541–1547, July 1997.
- S. H. Ghwanmeh, K. O. Jones, and D. Williams, “On-line performance evaluation of a self-learning fuzzy logic controller applied to non-linear processes,” in Proceedings of the 5th IEEE International Conference on Fuzzy Systems, pp. 394–399, September 1996.
- J.S. Saini and Y.P. Singh, “Use of causal knowledge in a real-time fuzzy logic controller,” IEEE Transactions on Industry Applications, vol. 35, pp. 554–560, 1999.
- P. Korba and P. M. Frank, “Applied optimization-based gain-scheduled fuzzy control,” in Proceedings of the American Control Conference, vol. 5, pp. 3383–3387, Chicago, Ill, USA, June 2000.
- J. T. Evans, J. B. Gomm, D. Williams, and P. J. G. Lisboa, “Implementation and performance evaluation of an on-line neural network control scheme,” in Proceedings of the International Conference on Control (Control '94), vol. 1, pp. 629–633, March 1994.
- K. C. Ng, Y. Li, D. J. Murray-Smith, and K. C. Sharman, “Genetic algorithms applied to fuzzy sliding mode controller design,” in Proceedings of the 1st IEE/IEEE International Conference on Genetic Algorithms in Engineering Systems: Innovations and Applications (GALESIA '95), pp. 220–225, September 1995.
- Z. Aydogmus, “Implementation of a fuzzy-based level control using SCADA,” Expert Systems with Applications, vol. 36, no. 3, pp. 6593–6597, 2009.
- X.-S. Yang and S. Deb, “Multiobjective cuckoo search for design optimization,” Computers and Operations Research, 2011.
- S. Walton, O. Hassan, K. Morgan, and M. R. Brown, “Modified cuckoo search: a new gradient free optimization algorithm Chaos,” Solutions & Fractals, vol. 44, pp. 710–718, 2011.
- A. Aghaei and S. Azadi, “Optimizing Azadi Controller with COA,” International Journal of Computer Applications, vol. 61, no. 8, 2013.
- K. M. Passino and S. Yurkovich, Fuzzy Control, Addison Wesley Longman, Menlo Park, Calif, USA, 1998.
- R. Rajabioun, “Cuckoo optimization algorithm,” Applied Soft Computing Journal, vol. 11, no. 8, pp. 5508–5518, 2011.