Boiler Flow Control Using PID and Fuzzy Logic Controller
Boiler Flow Control Using PID and Fuzzy Logic Controller
Abstract: Conventional Proportional Integral Controllers are non linear systems and is used for modeling complex systems
used in many industrial applications due to their simplicity and where an inexact model exists or systems where ambiguity or
robustness. The parameters of the various industrial processes vagueness is common. The fuzzy control systems are rule-
are subjected to change due to change in the environment. based systems in which a set of fuzzy rules represent a
These parameters may be categorized as steam, pressure,
temperature of the industrial machinery in use. Various process
control decision mechanism to adjust the effects of certain
control techniques are being developed to control these system stimuli. With an effective rule base, the fuzzy control
variables. In this paper, the steam flow parameters of a boiler systems can replace a skilled human operator. The rule base
are controlled using conventional PID controller and then reflects the human expert knowledge, expressed as linguistic
optimized using fuzzy logic controller. The comparative results variables, while the membership functions represent expert
show the better results when fuzzy logic controller is used. interpretation of those variables.
Maximum overshoot for fuzzy logic controller is measured as
9.35% as compared with 47.3% given by conventional PID II PROPORTIONAL-INTEGRAL-DERIVATIVE
controller. Settling time for fuzzy logic controller and PID CONTROLLER
controller is measured at 7.18 seconds and 10.14 seconds
respectively, which shows the superiority of fuzzy logic
A proportional–integral–derivative controller (PID
controller. controller) is a generic control loop feedback mechanism
(controller) widely used in industrial control systems – a PID
Keywords: boiler, fuzzy logic controller, PID controller. is the most commonly used feedback controller. A PID
controller calculates an "error" value as the difference
I INTRODUCTION between a measured process variable and a desired set point.
The Proportional-Integral-Derivative (PID) controllers have The controller attempts to minimize the error by adjusting the
been the most commonly used controller in process industries process control inputs. In the absence of knowledge of the
for over 50 years even though significant development have underlying process, PID controllers are the best controllers.
been made in advanced control theory. According to a survey However, for best performance, the PID parameters used in
conducted by Japan Electric Measuring Instrument the calculation must be tuned according to the nature of the
Manufacturers Association in 1989, 90 % of the control loops system – while the design is generic, the parameters depend
in industries are of the PID type. The proportional action on the specific system. The PID controller calculation
adjusts controller output according to the size of the error, the (algorithm) involves three separate parameters, and is
integral action eliminates the steady state offset and the accordingly sometimes called three-term control: the
future is anticipated via derivative action. These useful proportional, the integral and derivative values, denoted P, I,
functions are sufficient for a large number of process and D. The proportional value determines the reaction to the
applications and the transparency of the features lead to wide current error, the integral value determines the reaction based
acceptance by the users. Strength of the PID controller is that on the sum of recent errors, and the derivative value
it also deals with important practical issues such as actuator determines the reaction based on the rate at which the error
saturation and integrator windup. PID controllers perform has been changing. The weighted sum of these three actions
well for a wide class of processes and they give robust is used to adjust the process via a control element such as the
performance for a wide range of operating conditions and are position of a control valve or the power supply of a heating
easy to implement using analog or digital hardware. element. Heuristically, these values can be interpreted in
Moreover, due to process uncertainties, a more sophisticated terms of time: P depends on the present error, I on the
control scheme is not necessarily more efficient than a well accumulation of past errors, and D is a prediction of future
tuned PID controller. errors, based on current rate of change. By tuning the three
The concept of intelligent control lies with the fact that constants in the PID controller algorithm, the controller can
human intelligence is imbibed in to the controller architecture provide control action designed for specific process
so that human behavior can be emulated in the control requirements. The response of the controller can be described
decision. Human expert knowledge is based upon heuristic in terms of the responsiveness of the controller to an error,
information gained in relation to the operation of the plant or the degree to which the controller overshoots the set point
process, and its inherent vagueness ("fuzziness") offers a and the degree of system oscillation. Note that the use of the
powerful tool for the modeling of complex systems. The PID algorithm for control does not guarantee optimal control
fuzzy logic controller provides an algorithm, which converts of the system or system stability. Some applications may
the expert knowledge into an automatic control strategy. require using only one or two modes to provide the
Fuzzy logic is capable of handling approximate information appropriate system control. This is achieved by setting the
in a systematic way and therefore it is suited for controlling gain of undesired control outputs to zero. A PID controller
315
Rahul Malhotra et al IJCSET | July 2011 | Vol 1, Issue 6,315-319
316
Rahul Malhotra et al IJCSET | July 2011 | Vol 1, Issue 6,315-319
VII. BOILER CONTROL USING FUZZY LOGIC Table 2: IF-THEN rule base for fuzzy logic control
CONTROLLER
PID controller is a standard control structure for classical
control theory. But the performance is greatly distorted and
the efficiency is reduced due to nonlinearity in the process
plant. The fuzzy PID controllers are the natural extension of
their conventional version, which preserve their linear
structure of PID controller. The fuzzy PID controllers are
designed using fuzzy logic control principle in order to
obtain a new controller that possesses analytical formulas
very similar to digital PID controllers. Fuzzy PID controllers
have variable control gains in their linear structure. These
variable gains are nonlinear function of the errors and
changing rates of error signals. The main contribution of
these variable gains in improving the control performance is
that they are self- tuned gains and can adapt to rapid changes
of the errors and rate of change of error caused by time delay
effects, nonlinearities and uncertainties of the underlying Figure 4: Mamdani fuzzy inference system developed for
process. fuzzy controller
u*
(u ) * u d u
c
(u ) d u
c
317
Rahul Malhotra et al IJCSET | July 2011 | Vol 1, Issue 6,315-319
Figure 12: Step response of the system with input and output Figure 15: Step response of system with fuzzy logic
controller
318
Rahul Malhotra et al IJCSET | July 2011 | Vol 1, Issue 6,315-319
REFERENCES
[1] Erdal Kayacan and Okyay kaynak, “An Adaptive Grey Fuzzy PID
Controller With Variable Prediction Horizon,” SCIS&ISIS2006 @
Tokyo, Japan (September 20-24, 2006); 760-765
[2] B.G. Hu, G.K.I Mann and R.G Gosine, “New methodology for
analytical and optimal design of fuzzy PID controllers,” IEEE
Transaction of fuzzy systems, vol. 7, no. 5, pp. 521-539, 1999.
[3] Awang N.I. Wardana, “PID-Fuzzy Controller for Grate Cooler in
Cement Plant,” IEEE transaction of fuzzy system, no.7, vol. 32, 2005,
1345-1351
[4] Han-Xiong Li,Lei Zhang, Kai-Yuan Cai, And Guanrong Chen,“ An
Improved Robust Fuzzy-PID Controller With Optimal Fuzzy
Reasoning,” IEEE Transactions On Systems, Man, And Cybernetics
Part B: Cybernetics, Vol. 35, No. 6, December 2005; 1283-1292
[5] Isin Erenoglu, Ibrahim Eksin, Engin Yesil and Mujde Guzelkaya,
“An intelligent hybrid fuzzy PID controller,” in Proceedings of 20th
European Conference on Modeling and Simulation, 2006.
Figure 16: Comparison between PID controller and fuzzy [6] Leehter Yao and Chin-Chin Lin, “Design of Gain Scheduled Fuzzy
controller PID Controller,” World Academy of Science, Engineering and
This section shows a comparative study between different Technology 1 2005, 152-156
[7] Zhen-Yu Zhao, Masayoshi Tomizuka, Satoru Isaka, “Fuzzy gain
controllers. In this paper we have considered the steady state scheduling of PID controllers,” IEEE transactions on systems, man
and transient state parameters. These parameters are and cybernetics, vol. 23, no. 5, September/October 1993; 1392-1398.
maximum overshoot, settling time.
[8] B. Nagaraj, S. Subha, B. Rampriya, “Tuning Algorithms for PID
Controller Using Soft Computing Techniques,” IJCSNS International
Table 3: Comparison of Maximum overshoot and settling Journal of Computer Science and Network Security, VOL.8 No.4,
time for conventional PID controller and fuzzy logic control April 2008; 278-281
S. Controller Maximum Settling [9] Zeyad Assi Obaid, Nasri Sulaiman and M.N. Hamidon, “Developed
No Overshoot Time Method of FPGA-based Fuzzy Logic Controller Design with the Aid
of Conventional PID Algorithm,” Australian Journal of Basic and
1 PID 47.3% 10.14 sec Applied Sciences, 3(3): 2724-2740, 2009
Controller [10] Zeyad Assi Obaid, Nasri Sulaiman, M. H. Marhaban and M. N.
2 Fuzzy logic 9.35% 7.18 sec Hamidon, “Analysis and Performance Evaluation of PD-like Fuzzy
Logic Controller Design Based on Matlab and FPGA,” IAENG
controller International Journal of Computer Science, 37:2
[11] Nasri Sulaiman, Zeyad Assi Obaid, M. H. Marhaban and M. N.
Hamidon, “FPGA-Based Fuzzy Logic: Design and Applications – a
Table 4: Comparison of Integral of Absolute Error (IAE) and Review,” IACSIT International Journal of Engineering and
Technology, vol.1, no.5, pp. 491-503, 2009.
Integral of Time and Absolute Error (ITAE) for PID [12] Chao-Ying Liu, Xue-Ling Song, Zhe-Ying Song, Ying-Cai Sheen,
controller and FLC “Control System Design of Heat Exchange Station based on fuzzy
S. Controller IAE ITAE technology,” Proceedings Of The Fifth International Conference On
No Machine Learning And Cybernetics, pp. 380-384, 2006.
[13] Seema Chopra, R. Mitra, Vijay Kumar, “Auto tuning of fuzzy PI type
1 PID Controller 0.86 1.72 controller using fuzzy logic,” in the proceedings of IJCC, Vol. 6,
2 Fuzzy logic 15.72 97.19 No.1, March 2008; 12-18.
[14] Seema Chopra, R. Mitra, Vijay Kumar, “Neural network tuned fuzzy
controller for MIMO system,” in the proceedings of IJCSSE, 2:1,
2007; 78-85.
VII CONCLUSION [15] Manish Kumar, and Devendra P Garg, “Intelligent Learning Of Fuzzy
In this paper a process control case study taking boiler has Logic Controllers Via Neural Network And Genetic Algorithm,”
been implemented. The flow of high pressure steam to the Proceedings of 2004 JUSFA 2004 Japan – USA Symposium on
Flexible Automation Denver, Colorado, July 19-21, 2004;1-8.
turbine is controlled by electronic governor. First of all a [16] Herrera, F., Lozano, M., Verdegay, J. L., Tuning Fuzzy Logic
mathematical model of the system is developed and a Controllers by Genetic Algorithms International Journal of
conventional PID controller is implemented in it. The PID Approximate Reasoning 1995; 12:299-315
controller gives a very high overshoot and high settling time. [17] Lee, M.A., Takagi, Integrating Design Stages of Fuzzy Systems
Using Genetic Algortithms, Proc. 2nd IEEE Int. Conf. Fuzzy
So we proposed and implemented artificial intelligence Systems, San Francisco, 1993; 612-617
principles in the controller architecture. Then we [18] Belarbi K; Titel F, Genetic algorithm for the design of a class
implemented a fuzzy logic control and then optimized the of fuzzy controllers: An alternative approach, IEEE Transactions On
step response parameter using genetic algorithm. The fuzzy Fuzzy Systems 2000, Vol 8, Iss 4, pp 398-405
[19] Park, Y. J., Cho, H.S., Cha, D.H., Genetic Algorithm-Based
logic control gives a much better response then the Optimization of Fuzzy Logic Controller Using Characteristic
conventional PID controller. In future scope we can Parameters, Proceedings of the 1995 IEEE International Conference
implement neural network based feed forward controller and on Evolutionary Computation, pp 831-836.
genetic algorithm based online optimization techniques to [20] Cheong, F., Lai, R., Constraining the Optimization of a Fuzzy
Logic Controller Using an Enhanced Genetic Algorithm, IEEE
improve the control performance. Transactions on Systems, Man and Cybernetics-Part B: Cybernetics,
Vol 30, No.1, Feb 2000.
319