Implementation of Fuzzy and PID Controller to Water Level System using LabView



Similar documents
FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Stabilizing a Gimbal Platform using Self-Tuning Fuzzy PID Controller

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Controller Design using the Maple Professional Math Toolbox for LabVIEW

DEVELOPMENT OF MULTI INPUT MULTI OUTPUT COUPLED PROCESS CONTROL LABORATORY TEST SETUP

Industrial Plant and Process Control

Simulation of VSI-Fed Variable Speed Drive Using PI-Fuzzy based SVM-DTC Technique

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

MECE 102 Mechatronics Engineering Orientation

Microcontroller-based experiments for a control systems course in electrical engineering technology

Industrial Process Controllers

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW

Optimal Tuning of PID Controller Using Meta Heuristic Approach

A Design of a PID Self-Tuning Controller Using LabVIEW

Brushless DC Motor Speed Control using both PI Controller and Fuzzy PI Controller

ARCHITECTURE OF INDUSTRIAL AUTOMATION SYSTEMS

SAMPLE CHAPTERS UNESCO EOLSS PID CONTROL. Araki M. Kyoto University, Japan

Control System Definition

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

System Modeling and Control for Mechanical Engineers

Adaptive Cruise Control of a Passenger Car Using Hybrid of Sliding Mode Control and Fuzzy Logic Control

Keywords: Fuzzy Logic, Control, Refrigeration Systems and Electronic Expansion Valves.

A Fuzzy-Based Speed Control of DC Motor Using Combined Armature Voltage and Field Current

Lambda Tuning the Universal Method for PID Controllers in Process Control

Introduction to Fuzzy Control

Dynamic Process Modeling. Process Dynamics and Control

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

Performance Analysis of Speed Control of Direct Current (DC) Motor using Traditional Tuning Controller

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

Design and Rules Development of Online Children Skin Diseases Diagnosis System

Development and deployment of a control system for energy storage

REMOTE LABORATORY PLANT CONTROL

JAVA FUZZY LOGIC TOOLBOX FOR INDUSTRIAL PROCESS CONTROL

Leran Wang and Tom Kazmierski

PID Control. Chapter 10

Mini-Lab Projects in the Undergraduate Classical Controls Course

ELECTRICAL ENGINEERING

Control of Boiler Operation using PLC SCADA

Fuzzy Logic Based Reactivity Control in Nuclear Power Plants

Optimized Fuzzy Control by Particle Swarm Optimization Technique for Control of CSTR

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Chapter 10. Control Design: Intuition or Analysis?

Matlab and Simulink. Matlab and Simulink for Control

ELEC 5260/6260/6266 Embedded Computing Systems

Online Tuning of Artificial Neural Networks for Induction Motor Control

Force/position control of a robotic system for transcranial magnetic stimulation

In semiconductor applications, the required mass flows

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Non Linear Control of a Distributed Solar Field

FUNDAMENTALS OF CONTROL ENGINEERING

Computer Controlled Generating Stations Control and Regulation Simulator, with SCADA SCE

A Comparison of PID Controller Tuning Methods for Three Tank Level Process

Study of Effect of P, PI Controller on Car Cruise Control System and Security

DEVELOPMENT OF HIGH SPEED RESPONSE LAMINAR FLOW METER FOR AIR CONDITIONING

Industrial Steam System Process Control Schemes

Design and Implementation of SCADA System Based Power Distribution for Primary Substation ( Monitoring System)

Proceeding of 5th International Mechanical Engineering Forum 2012 June 20th 2012 June 22nd 2012, Prague, Czech Republic

stable response to load disturbances, e.g., an exothermic reaction.

Formulations of Model Predictive Control. Dipartimento di Elettronica e Informazione

Artificial Intelligence: Fuzzy Logic Explained

Practical Process Control For Engineers and Technicians

PC BASED PID TEMPERATURE CONTROLLER

PID Controller Tuning: A Short Tutorial

Hybrid Modeling and Control of a Power Plant using State Flow Technique with Application

Parametric variation analysis of CUK converter for constant voltage applications

SCADA, OPC and Database Systems

A Fuzzy Controller for Blood Glucose-Insulin System

A STUDY ON THE CONVENTIONAL AND FUZZY CONTROL STEEL-CUTTING PROCESS

K.Vijaya Bhaskar,Asst. Professor Dept. of Electrical & Electronics Engineering

The Use of Hybrid Regulator in Design of Control Systems

ADVANCED CONTROL TECHNIQUE OF CENTRIFUGAL COMPRESSOR FOR COMPLEX GAS COMPRESSION PROCESSES

A simple method to determine control valve performance and its impacts on control loop performance

ECE 3510 Final given: Spring 11

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVI - Fault Accomodation Using Model Predictive Methods - Jovan D. Bošković and Raman K.

Automatic Train Control based on the Multi-Agent Control of Cooperative Systems

Dr. Yeffry Handoko Putra, S.T., M.T

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

Fuzzy Knowledge Base System for Fault Tracing of Marine Diesel Engine

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Research Methodology Part III: Thesis Proposal. Dr. Tarek A. Tutunji Mechatronics Engineering Department Philadelphia University - Jordan

Medical Device Design: Shorten Prototype and Deployment Time with NI Tools. NI Technical Symposium 2008

Anomaly Detection Toolkit for Integrated Systems Health Management (ISHM)

New Supervisory Control and Data Acquisition (SCADA) Based Fault Isolation System for Low Voltage Distribution Systems

Design of Model Reference Self Tuning Mechanism for PID like Fuzzy Controller

Computer Controlled Vortex Tube Refrigerator Unit, with SCADA TPVC

Building HVAC Load Profiling Using EnergyPlus

METHODOLOGICAL CONSIDERATIONS OF DRIVE SYSTEM SIMULATION, WHEN COUPLING FINITE ELEMENT MACHINE MODELS WITH THE CIRCUIT SIMULATOR MODELS OF CONVERTERS.

COST EFFECTIVE AND EFFICIENT INDUSTRIAL TANK CLEANING PROCESS

MATLAB Control System Toolbox Root Locus Design GUI

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

Introduction. Chapter The Motivation

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION - Vol. I - Basic Elements of Control Systems - Ganti Prasada Rao

PROGRAMMING FOR CIVIL AND BUILDING ENGINEERS USING MATLAB

Room Temperature based Fan Speed Control System using Pulse Width Modulation Technique

DCMS DC MOTOR SYSTEM User Manual

This is a Master s degree level apprenticeship which includes academic learning combined workplace learning and training.

COURSE CATALOGUE

Programming Logic controllers

Transcription:

Implementation of Fuzzy and PID Controller to Water Level System using LabView Laith Abed Sabri, Ph.D University of Baghdad AL-Khwarizmi college of Engineering Hussein Ahmed AL-Mshat University of Baghdad AL-Khwarizmi college of Engineering ABSTRACT The paper is about the water level control system which is required in many industrial processes like water treatment plant, the idea of the process is to keep the tank water level at the desired set point. First we implemented the conventional proportional integral - derivative (PID) controller to eliminate the steady state error, then it was used Fuzzy logic controllers which gives more performance and stability. It is noted from the results that the Fuzzy Logic controller is more enhanced than PID controller in which its no overshoot, faster settling time, better set point tracking and produced lower performances like integral of time and absolute error (ITAE) integral of time and squared error (ITSE),and integral absolute error (IAE), integral squared error (ISE). Both PID and fuzzy controller are implemented using LabView software Keywords Proportional-integral-derivative (PID) controller, Fuzzy Controller, LabView 1. INTRODUCTION One of the basic problems in the industries is water level controlling system. Level of liquid being an important process parameter has to be maintained at the desired level for smooth running of the process and for better quality products.all of the process industries, water treatment plants, and nuclear power plants be contingent upon controlling the level in tank systems. It is vital for engineers work in these plants especially control and mechatronics engineer to have a good understanding to how the tank level controlling system work and how the level control difficult is managed. Most of the control performances in the actual design are usually defined by overshoots, rising time, settling time, steady state error, etc. [1, 2]. Proportional-Integral-Derivative(PID)controller is the simple, reliable and accurate used in industrial feedback control loops, PID controller can t be used to control the complex system to get the better performance[3]. The engineers in the past was used the mathematical model of the system to design a controller based on a linearized model of real control systems, but the problem is that the response of complex and non-linearity of real process is hard to find by applying conventional control techniques (like PID controller) some experiments appearance that the simple PID with constant parameter not achieve response of level tank system [4, 5]. Using intelligent system like Fuzzy controller can consider an effective ways to solve this problem Fuzzy controller have a logical of the human behaviour in make decision. And as result gives the better performance than PID controllers in terms of settling and rising, response time, overshoot and robustness [6, 7, 8]. In this paper, fuzzy and PID controller is designed and applied to the Water level system. Then the fuzzy controller is used to make the system fast and stable.in result a comparison between two controllers was presented. 2. TANK MATHMATICAL MODEL The tank system model can write in mathematical form by relating the inlet flow of the tank Q in to the outlet flow Q out through drainage pipe using balance flows equation: Q in Q out. (1) Where: A: Tank cross-sectional area H: water level in the Tank. Fig 1: Single tank water level system The level of the tank is the integration of the above equation:.. (2) Beside if there is no pump sucking out the water from the drainage pipe, the outgoing flow will be: Where a: Area of the pipe. (3) : The velocity of outgoing water The SISO (single input single output) tank system is designed according to the model in eq. (2). The mathematical block diagram for the model in eq. (2) as shown in the Figure 2. 6

Fig 2: The block diagram of the tank level with an inlet and an outlet flow 3. PID CONTROLLER DESIGN The PID controlling jobs is to adjust the output at a level so that there is no error (the difference between the sensing value (SV) and the set point (SP)). General architectural of PID controller is shown in Figure 3, the error e(s) is the controller input and the actuator input is the controller output u(s). Fig 4: Front panel of tank level controlled by academic PID Fig 5: Block diagram in LabView program for PID controlling of the tank The block diagram below explain the component of the PID controlling of the tank Fig 3: Block diagram of PID Controller The PID controller governing equation is:. (4) The PID controller output in terms of Laplace transform can be written as: (5) Figure 6 show the schematic design for our system based in LabView program, Figure 4 is the water tank system GUI (Graphical User Interface) with PID controller made by LabView,the user can change the set point which in this case is like input value for control system, while the Figure 5 present the Block Diagram (BD) for the system in LabView Fig 6: Schematic diagram for PID control According to PID controller s simplicity and excellent performance, it were used in more than 95 % industrial processes at many applications. The PID controller can be tuned by using off-line control methods as well as online control methods. The control techniques of complex dynamic systems with nonlinear or time varying behaviour are very difficult to determine the model of the process [9, 10]. 4. FUZZY CONTROLLER DESIGN Fuzzy controller is able to summarize human knowledge of the system and integrate them to the laws of control.fuzzy control system design depending on (a) adjusting the fuzzy input and output memberships (b) regular the rule base table and (c) designing each of the four components of the fuzzy controller as shown in Figure 8 [11,12]. 7

Fig 7: Front panel of tank level process with fuzzy controller Fig 8: Fuzzy controller architecture For our case the input variable for tank level control is error e(t) and differential error e (t) while The output (y) is the control signal to the actuator. Inputs and Output Subsets Input1 (level Error): Negative High (NH), Negative (N), Small (S), Positive (P), and Positive High (HP) Fig 11: Membership function for output Response The relations between the inputs to output of the system are shown by the rule base in Table 1. Which show that for any possible value of the two inputs, there is an output based on the rules. Fuzzy rule consider an alteration between linguistic control understanding of an expert and automatic control plans of an activator [13]. e Table 1. The Rule Base e HN N S P HP N HN N P HP HP S HN N Z P HP Fig 9: Membership function for error Input 2 (Error Rate Level): Negative, Small, and Positive Fig 10: Membership function for error rate Output: Negative High, Negative, Zero, Positive, and Positive High P HN Z N Z HP The final step in designing fuzzy controller in LabVIEW Program is using the test system as shown in Figure11, in which the response of the system can be enhance the rule base of the fuzzy controller and adjusting the output value through changing the range of the membership for input and output values [14]. Figure 7 Show the GUI which implemented by LabView while Figure 13.Present the Block Diagram with fuzzy controller 8

0 74 148 222 296 370 444 518 592 666 740 814 888 962 1036 1110 1184 Level (m) International Journal of Computer Applications (0975 8887) (b) 4 3.5 Fig 12: Input/output relationship of the system 3 2.5 2 1.5 1 0.5 0 Fig 13: Block diagram of tank level adjusted with fuzzy controller 5. RESULTS The PID controller is tuned, where the proportional gain Kp = 10, integral time Ti = 100 and derivative time Td = 10. Fig. 8(a) represents the response of the PID controller which has settling time of 250 sec and rise time of 34 sec. overshoot =11.2%and The response of fuzzy controller is shown in Fig. 14 (b) with setting time 105 sec and rise time 29 sec we observe that there is no peak value appeared in the curve so there is no over shoot calculated.the water level controlled by 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. (c) Fig (14) (a) Response of PID controller, (b)) Response of fuzzy controller(c) comparison between PID and Fuzzy controller in step response The comparison of transient responses such as overshoot, settling time and rise time for the two controllers are shown in table 2. Type Table 2 Comparison of transient response Overshoot % Time (sec) Fuzzy level PID Settling time (sec) Rise time (sec) PID 11.2% 250 34 Fuzzy No Overshoot 105 29 (a) 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. The error indices such as (IAE), (ISE), (ITAE) and (ITSE) for PID controller and fuzzy controller are compared in table 3. 9

Table (3) comparison of error indicated Type IAE ISE ITAE ITSE PID 0.362224 0.509354 9.453114 4.988225 Fuzzy 0.196873 0.235035 2.841599 1.603642 From the table, the absolute error of fuzzy controller is 45.6 % less than PID controller, the squared error is also 53.9 % less than that of PID controller. Similarly, the ITAE and ITSE of fuzzy controller are 69.9 % and 67.9 % less than PID controller. 6. CONCLUSION This paper presents the control of the level in a single tank using different two type controllers PID and fuzzy. From program simulation that built it was indicates that the fuzzy controller has more Advantages to the system than the PID controller. From the comparison between the two controllers it s clear that the fuzzy controller is more enhanced than PID in which its show No overshoot, respectable robustness and low settling and rising time. Moreover, it has a strong capability to response to the changes of the system parameters and antidisturbance Performance. The fuzzy controller gives better performance in terms of Error indices such as IAE, ISE, ITAE and ITSE, respectively. The future scope of this work is using fuzzy controller in SCADA system in water distribution system as well as its real time implementation which include using Arduino microprocessor for data acquisitions and controlling the operation of variable speed pump, the level will collect through ultrasonic level sensor and Human Machine Interface (HMI) will built by using LabVIEW. 7. REFERENCES [1] Bequette, B. W.2003, Process Control Modelling, Design and Simulation,Prentice Hall. [2] Sudheer, L. Shrimanth.2013, step variation studies of ARM7 microcontroller based Fuzzy logic controller for water-in-tank level control, (IJEET), Vol.4, pp. 405-415 [3] Smith, C. A and Corripio.2006, A. B, Principles and Practice of Automatic Process Control, 3rd ed., John Wiley & Sons, Inc. [4] Labview PID and Fuzzy Logic Toolkit User Manual by national instrument, 2009. [5] Zuo, X. 2010, Liquid level control of water tank system based on improved polyclonal selection algorithm and RBF network, IEEE, 2nd International Conference on Computer Engineering and Technology, Vol 2, p 528-532. [6] Xiao, Q. 2010, Fuzzy Adaptive PID Control Tank Level, IEEE, International Conference on Multimedia Communications, p149-152. [7] Eyabi, P. B.1999, Real time fuzzy logic and PID implemetation and control in LabView,Master's Theses. Paper 1805, San Jose State University. [8] Nnochiri, U. 2014, Comparison Study between Fuzzy Logic Controller (FLC) and Proportional-Integral- Derivative (PID) in Controlling of Liquid Flow, International Journal of Engineering and Technical Research (IJETR),Vol-2. [9] BinYusof, A.Muhyiddin.2013, A comparative study of conventional PID and FUZZY-PID for DC motor speed control, Master's Theses, Universiti Tun Hussein Onn Malaysia. [10] Kiam Heong Ang.2005, PID Control System Analysis, Design, and Technology, IEEE, transactions on control systems technology, vol. 13, No. 4. [11] Mahmood, A. Kidher.2013, Design Fuzzy Logic Controller for Liquid Level Control, International Journal of Emerging Science and Engineering (IJESE), Vol-1, Issue-11. [12] Mihaela, R. and Eugen, R. 2011, Fuzzy controller for adjustment of liquid level in the tank, University of Craiova, Mathematics and Computer Science, Vol.38, P 33-43. [13] Jian-jun, Zhu.2014, Design of Fuzzy Control System for Tank Liquid Level Based on WinCC and Matlab, IEEE, 13th International Symposium on Distributed Computing and Applications to Business, Engineering and Science, p 55-57. [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. IJCA TM : www.ijcaonline.org 10