Implementation of Fuzzy and PID Controller To Water Level System Using LabView PDF
Implementation of Fuzzy and PID Controller To Water Level System Using LabView PDF
6
International Journal of Computer Applications (0975 – 8887)
Volume 116 – No. 11, April 2015
7
International Journal of Computer Applications (0975 – 8887)
Volume 116 – No. 11, April 2015
N HN N P HP HP
S HN N Z P HP
8
International Journal of Computer Applications (0975 – 8887)
Volume 116 – No. 11, April 2015
(b)
3.5
Fig 12: Input/output relationship of the system 3
2.5
Level (m)
2
1.5
0.5
1036
0
74
148
222
296
370
444
518
592
666
740
814
888
962
1110
1184
Time (sec)
Fuzzy level PID
Fig 13: Block diagram of tank level adjusted with fuzzy
controller
5. RESULTS (c)
The PID controller is tuned, where the proportional gain Kp = Fig (14) (a) Response of PID controller, (b)) Response of
10, integral time Ti = 100 and derivative time Td = 10. Fig. fuzzy controller(c) comparison between PID and Fuzzy
8(a) represents the response of the PID controller which has controller in step response
settling time of 250 sec and rise time of 34 sec. overshoot
=11.2%and The response of fuzzy controller is shown in Fig. The comparison of transient responses such as overshoot,
14 (b) with setting time 105 sec and rise time 29 sec we settling time and rise time for the two controllers are shown in
observe that there is no peak value appeared in the curve so table 2.
there is no over shoot calculated.the water level controlled by
Table 2 Comparison of transient response
Fuzzy controller faster response with the more ability to reach
the stability than conventional PID controller which
assistances in increase the performance of the system. Rise
Overshoot % Settling
Type time
time (sec)
(sec)
From the table 2 and Fig 14, it is observed that the fuzzy
controller has No overshoot like PID controller and take less
time to reach the steady state.
(a) The error indices such as (IAE), (ISE), (ITAE) and (ITSE) for
PID controller and fuzzy controller are compared in table 3.
9
International Journal of Computer Applications (0975 – 8887)
Volume 116 – No. 11, April 2015
Table (3) comparison of error indicated [3] Smith, C. A and Corripio .2006, A. B, “Principles and
Practice of Automatic Process Control”, 3rd ed., John
Wiley & Sons, Inc.
Type IAE ISE ITAE ITSE
[4] “Labview PID and Fuzzy Logic Toolkit User Manual by
national instrument”, 2009.
PID 0.362224 0.509354 9.453114 4.988225
[5] Zuo, X. 2010, “Liquid level control of water tank system
based on improved polyclonal selection algorithm and
Fuzzy 0.196873 0.235035 2.841599 1.603642 RBF network”, IEEE, 2nd International Conference on
Computer Engineering and Technology, Vol 2, p 528-
532.
From the table, the absolute error of fuzzy controller is 45.6 % [6] Xiao, Q. 2010, “Fuzzy Adaptive PID Control Tank
less than PID controller, the squared error is also 53.9 % less Level”, IEEE, International Conference on Multimedia
than that of PID controller. Similarly, the ITAE and ITSE of Communications, p149-152.
fuzzy controller are 69.9 % and 67.9 % less than PID
[7] Eyabi, P. B.1999, “Real time fuzzy logic and PID
controller.
implemetation and control in LabView” ,Master's
6. CONCLUSION Theses. Paper 1805, San Jose State University.
This paper presents the control of the level in a single tank [8] Nnochiri , U. 2014, “Comparison Study between Fuzzy
using different two type controllers PID and fuzzy. Logic Controller (FLC) and Proportional-Integral-
From program simulation that built it was indicates that the Derivative (PID) in Controlling of Liquid Flow”,
fuzzy controller has more Advantages to the system than the International Journal of Engineering and Technical
PID controller. Research (IJETR) ,Vol-2.
From the comparison between the two controllers it’s clear [9] BinYusof, A.Muhyiddin.2013, “A comparative study of
that the fuzzy controller is more enhanced than PID in which conventional PID and FUZZY-PID for DC motor speed
its show No overshoot, respectable robustness and low control”, Master's Theses, Universiti Tun Hussein Onn
settling and rising time. Moreover, it has a strong capability to Malaysia.
response to the changes of the system parameters and anti-
disturbance Performance. [10] Kiam Heong Ang.2005, “PID Control System Analysis,
Design, and Technology”, IEEE, transactions on control
The fuzzy controller gives better performance in terms of systems technology, vol. 13, No. 4.
Error indices such as IAE, ISE, ITAE and ITSE, respectively.
[11] Mahmood, A. Kidher.2013, “Design Fuzzy Logic
The future scope of this work is using fuzzy controller in Controller for Liquid Level Control”, International
SCADA system in water distribution system as well as its real Journal of Emerging Science and Engineering (IJESE),
time implementation which include using Arduino Vol-1, Issue-11.
microprocessor for data acquisitions and controlling the
operation of variable speed pump, the level will collect [12] Mihaela, R. and Eugen, R. 2011, “Fuzzy controller for
through ultrasonic level sensor and Human Machine Interface adjustment of liquid level in the tank”, University of
(HMI) will built by using LabVIEW . Craiova, Mathematics and Computer Science, Vol.38, P
33-43.
7. REFERENCES [13] Jian-jun, Zhu .2014, “Design of Fuzzy Control System
[1] Bequette, B. W.2003, “Process Control Modelling, for Tank Liquid Level Based on WinCC and Matlab”,
Design and Simulation”,Prentice Hall. IEEE, 13th International Symposium on Distributed
[2] Sudheer, L. Shrimanth .2013, “ step variation studies of Computing and Applications to Business, Engineering
ARM7 microcontroller based Fuzzy logic controller for and Science, p 55-57.
water-in-tank level control”, (IJEET), Vol.4, pp. 405-415 [14] Kavitha, S. 2012, “Fuzzy Based Control Using Lab view
For Temperature Process”, International Journal of
Advanced Computer Research, Vol-2, No-4, Issue-6.
IJCATM : www.ijcaonline.org 10