PID Controller Design for Two Tanks Liquid Level Control System using Matlab

Similar documents
Design and Implementation of PID Controller for Single Capacity Tank

Two-PI Controllers Based Quadruple Tank System

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

PID Control Tuning VIA Particle Swarm Optimization for Coupled Tank System

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

CONTROLLER TUNING FOR NONLINEAR HOPPER PROCESS TANK A REAL TIME ANALYSIS

MODEL BASED CONTROL FOR INTERACTING AND NON-INTERACTING LEVEL PROCESS USING LABVIEW

Design and Simulation of Gain Scheduled Adaptive Controller using PI Controller for Conical Tank Process

DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller

Comparative Study of PID and Fuzzy Controllers for Speed Control of DC Motor

Experiment 9. PID Controller

Analysis of Transient Response for Coupled Tank System via Conventional and Particle Swarm Optimization (PSO) Techniques

Relay Feedback based PID Controller for Nonlinear Process

Non Linear Tank Level Control using LabVIEW Jagatis Kumaar B 1 Vinoth K 2 Vivek Vijayan C 3 P Aravind 4

Simulation and Analysis of Cascaded PID Controller Design for Boiler Pressure Control System

Variable Structure Control Design for SISO Process: Sliding Mode Approach

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

6545(Print), ISSN (Online) Volume 4, Issue 1, January- February (2013), IAEME & TECHNOLOGY (IJEET)

II. PROPOSED CLOSED LOOP SPEED CONTROL OF PMSM BLOCK DIAGRAM

Online Tuning of Two Conical Tank Interacting Level Process

Different Controller Terms

Performance Analysis of Conventional Controllers for Automatic Voltage Regulator (AVR)

Non-Integer Order Controller Based Robust Performance Analysis of a Conical Tank System

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

Comparative Analysis of P, PI, PD, PID Controller for Mass Spring Damper System using Matlab Simulink.

A Comparative Study on Speed Control of D.C. Motor using Intelligence Techniques

Performance Analysis Of Various Anti-Reset Windup Algorithms For A Flow Process Station

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Neural Network Predictive Controller for Pressure Control

Comparative Study of PID and FOPID Controller Response for Automatic Voltage Regulation

VARIABLE STRUCTURE CONTROL DESIGN OF PROCESS PLANT BASED ON SLIDING MODE APPROACH

Cohen-coon PID Tuning Method; A Better Option to Ziegler Nichols-PID Tuning Method

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Simulink Based Model for Analysing the Ziegler Nichols Tuning Algorithm as applied on Speed Control of DC Motor

TUNING OF PID CONTROLLERS USING PARTICLE SWARM OPTIMIZATION

Open Access Design of Diesel Engine Adaptive Active Disturbance Rejection Speed Controller

Comparative Analysis of a PID Controller using Ziegler- Nichols and Auto Turning Method

MODEL BASED DESIGN OF PID CONTROLLER FOR BLDC MOTOR WITH IMPLEMENTATION OF EMBEDDED ARDUINO MEGA CONTROLLER

DETERMINATION OF THE PERFORMANCE OF NEURAL PID, FUZZY PID AND CONVENTIONAL PID CONTROLLERS ON TANK LIQUID LEVEL CONTROL SYSTEMS

Speed control of a DC motor using Controllers

PID control. since Similarly, modern industrial

Governor with dynamics: Gg(s)= 1 Turbine with dynamics: Gt(s) = 1 Load and machine with dynamics: Gp(s) = 1

LAMBDA TUNING TECHNIQUE BASED CONTROLLER DESIGN FOR AN INDUSTRIAL BLENDING PROCESS

Comparison Effectiveness of PID, Self-Tuning and Fuzzy Logic Controller in Heat Exchanger

FUZZY LOGIC CONTROLLER DESIGN FOR AUTONOMOUS UNDERWATER VEHICLE (AUV)-YAW CONTROL

Position Control of DC Motor by Compensating Strategies

Module 08 Controller Designs: Compensators and PIDs

Digital Control of MS-150 Modular Position Servo System

Study and Simulation for Fuzzy PID Temperature Control System based on ARM Guiling Fan1, a and Ying Liu1, b

COMPARATIVE STUDY OF PID AND FUZZY CONTROLLER ON EMBEDDED COMPUTER FOR WATER LEVEL CONTROL

Resistance Furnace Temperature Control System Based on OPC and MATLAB

EVALUATION ALGORITHM- BASED ON PID CONTROLLER DESIGN FOR THE UNSTABLE SYSTEMS

Position Control of a Hydraulic Servo System using PID Control

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

International Journal of Research in Advent Technology Available Online at:

Tuning Methods of PID Controller for DC Motor Speed Control

Fuzzy Logic Controller on DC/DC Boost Converter

Comparative Analysis of Air Conditioning System Using PID and Neural Network Controller

CHAPTER 3 WAVELET TRANSFORM BASED CONTROLLER FOR INDUCTION MOTOR DRIVES

Closed-loop System, PID Controller

Class 5. Competency Exam Round 1. The Process Designer s Process. Process Control Preliminaries. On/Off Control The Simplest Controller

An Implementation for Comparison of Various PID Controllers Tuning Methodologies for Heat Exchanger Model

Tuning Of Conventional Pid And Fuzzy Logic Controller Using Different Defuzzification Techniques

MODELLING AND APPLICATION OF A COMPUTER-CONTROLLED LIQUID LEVEL TANK SYSTEM

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Design and Simulation of Fuzzy Logic controller for DSTATCOM In Power System

A Comparative Novel Method of Tuning of Controller for Temperature Process

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

Introduction to PID Control

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

MM7 Practical Issues Using PID Controllers

DC Motor Speed Control using Artificial Neural Network

Hacettepe University, Ankara, Turkey. 2 Chemical Engineering Department,

International Journal of Technical Research and Applications e-issn: , Volume 4, Issue 3 (May-June, 2016), PP.

Artificial Neural Networks based Attitude Controlling of Longitudinal Autopilot for General Aviation Aircraft Nagababu V *1, Imran A 2

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

Fundamentals of Industrial Control

Cantonment, Dhaka-1216, BANGLADESH

Modeling and Control of Liquid Level Non-linear Interacting and Non-interacting System

Real Time Level Control of Conical Tank and Comparison of Fuzzy and Classical Pid Controller

Research Article 12 Control of the Fractionator Top Pressure for a Delayed Coking Unit in Khartoum Refinery

Load Frequency Control of Multi-Area Power Systems Using PI, PID, and Fuzzy Logic Controlling Techniques

Md. Aftab Alam, Dr. Ramjee Parsad Gupta IJSRE Volume 4 Issue 7 July 2016 Page 5537

Optimized Tuning of PI Controller for a Spherical Tank Level System Using New Modified Repetitive Control Strategy

Real-Time Performance Evaluation of a Fuzzy PI + Fuzzy PD Controller for Liquid-Level Process

Auto-tuning of PID Controller for the Cases Given by Forbes Marshall

An Introduction to Proportional- Integral-Derivative (PID) Controllers

ANALYSIS OF V/f CONTROL OF INDUCTION MOTOR USING CONVENTIONAL CONTROLLERS AND FUZZY LOGIC CONTROLLER

IMPLEMENTATION OF KALMAN FILTER ON VISUAL TRACKING USING PID CONTROLLER

Procidia Control Solutions Dead Time Compensation

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Design and Analysis for Robust PID Controller

Design and Implementation of Fuzzy Controller on Embedded Computer for Water Level Control

Simulation Analysis of Control System in an Innovative Magnetically-Saturated Controllable Reactor

Control of Single Switch Inverters

Development of a Fuzzy Logic Controller for Industrial Conveyor Systems

Design and Implementation of Self-Tuning Fuzzy-PID Controller for Process Liquid Level Control

A PID Controller Design for an Air Blower System

Temperature Control in HVAC Application using PID and Self-Tuning Adaptive Controller

Transcription:

International Journal of Electrical and Computer Engineering (IJECE) Vol. 5, No. 3, June 2015, pp. 436~442 ISSN: 2088-8708 436 PID Controller Design for Two Tanks Liquid Level Control System using Matlab Mostafa A. Fellani *, Aboubaker M. Gabaj** * Control Engineering Department, Faculty of Electronic Technology, Beni-Walid, Libya Email: alfellani @gmail.com ** Computer Department, Faculty of Education, Tripoli University, Tripoli Libya Email: kgabaja@gmail.com Article Info Article history: Received Oct 30, 2014 Revised Apr 22, 2015 Accepted May 8, 2015 Keyword: Coupled tank system PID controller PID tuning method Water level control ABSTRACT The industrial application of Coupled Tank System (CTS) is widely used especially in chemical process industries. The control of liquid level in tanks and flow between tanks is a problem in the process technologies. The process technologies require liquids to be pumped, stored in tanks, and then pumped to another tank systematically. This paper presents development of Proportional-Integral-Derivative (PID) controller for controlling the desired liquid level of the CTS. Various conventional techniques of PID tuning method will be tested in order to obtain the PID controller parameters. Simulation is conducted within MATLAB environment to verify the performances of the system in terms of Rise Time (Ts), Settling Time (Ts), Steady State Error (SSE) and Overshoot (OS). The trial and error method of tunning will be implemented and all the performance results will be analyzed using MATLAB. It has been demonstrated that performances of CTS can be improved with appropriate technique of PID tuning methods. Copyright 2015 Institute of Advanced Engineering and Science. All rights reserved. Corresponding Author: Aboubaker M. Gabaj Computer Department, Faculty of Education, Tripoli University, Tripoli Libya Email:kgabaja@gmail.com 1. INTRODUCTION Proportional Integral Derivative (PID) controllers are widely used in industrial practice since last six decade. The invention of PID control is in 1910 (largely owing to Elmer Sperry s ship autopilot) and the straightforward Ziegler-Nichols (Z-N) tuning rule in 1942 [1]. Today, PID is used in more than 90% of practical control systems, ranging from consumer electronics such as cameras to industrial processes such as chemical processes. The PID controller helps to get our output (velocity, temperature, position) where we want it, in a short time, with minimal overshoot, and with little error [2]. It also the most adopted controllers in the industry due to the good cost and given benefits to the industry [3]. Many nonlinear processes can be controlled using the well known and industrially proven PID controller [4]. A considerable direct performance increase (financial gain) is demanded when replacing a conventional control system with an advanced one [4]. The maintenance costs of an inadequate conventional control solution may be less obvious. The tricky part of controller design is to figure out just how much of a corrective effort the controller should apply to the process in each case. Some situation requires tighter control of the process variable than On-Off control can provide. Proportional control provides better control because its output operate linearly anywhere between fully ON and fully OFF [5]. As its name implies, its output changes proportionally to the input error signal. Proportional controller simply multiplies the error by a constant to compute its next output. In 1930s the control engineers discovered that the error could be eliminated altogether by automatically resetting the set point to an artificially high value [3]-[6]. Journal homepage: http://iaesjournal.com/online/index.php/ijece

437 ISSN: 2088-8708 The PID controllers function is to maintain the output at a level that there is no difference (error) between the process variable and the set point in as fast response as possible. The objective of the controller in the level control is to maintain a level set point at a given value and be able to accept new set point values dynamically. This paper considers the designing of PID Controller to control coupled tank system using MATLAB software. This software is used to create the simulink model for PID Controller and performance for each parameter for PID Controller has been simulated. The performances of PID Controller are evaluated in terms of overshoot, rise time and steady state error. Then, the gain for each parameter will also be tuned in this software and the validity for each parameter will be compared using the reference value (set point). 2. MODELING OF THE COUPLED TANK SYSTEM Consider the process consisting of two interacting liquid tanks in the Figure 1. The volumetric flow into tank1 is q in (cm 3 /min), the volumetric flow rate from tank1 to tank2 is q 1 (cm 3 /min), and the volumetric flow rate from tank2 is q o (cm 3 /min). The height of the liquid level is h 1 (cm) in tank1 and h 2 in tank2 (cm). Both tanks have the same cross sectional area denotes the area of tank1 is A 1 (cm 2 ) and area of tank2 is A 2 (cm 2 ). Figure 1. The block diagram of two interacting liquid tanks For tank 1 (1) Assumimg linear resistance to flow we have: (2) And (3) (4) Taking Laplace transform on both sides of equation (4) then: Or (5) 1 (6) IJECE Vol. 5, No. 3, June 2015 : 436 442

IJECE ISSN: 2088-8708 For tank 2 438 (7) Assuming linear resistance to flow we have: (8) (9) (10) Taking Laplace transform on both sides of equation (10) we have: (11) 1 (12). To obtain, we have to cancel h 1(s) in equations (5) & (10) 1 1 1 0. 1 1 1 1 (13) Using the values of the Parameters shown in table 1 we drived the final transfer function of the system as follows: 0.01 6.25 7.51 (14) Table 1. Parameters values for two tank Parameters Value Unit A 1 250 cm 2 A 2 250 cm 2 R 1 0.01 Cm 2 /sec R 2 0.01 Cm 2 /sec H 1 30 cm H 2 15 cm 3. SIMULATION RESULT By nature, liquid level control system design is very mathematically orientated and without the use of computer assistance most design problems are very tedious and become quite lengthy. Computer program, such as Matlab have become an invaluable tool in an engineering environment. To show the convenience of using MATLAB/SIMULINK software package as a tool to simulate and analyze the behavior of two tanks liquid level control system, the simulations are conducted step by step. The system is simulated and the results are shown in the following subsection. PID Controller Design for Two Tanks Liquid Level Control System using Matlab (Aboubaker M. Gabaj)

439 ISSN: 2088-8708 3.1. Simulation Result without Controller It may be observe that from figure 2, the liquid will constantly overflow. This situation happen because of this system running without controller to control the Pump speed, so the Pump will continuously pump the liquid out from the tank until it overflow. PID controller must be added to control the liquid level. Figure 2. The performance of the coupled tank system without controller a. Simulation Result with PID Controller: In this section the simulation result with the PID Controllers has been shown and the controller tunning methode. Figure 3 shows the performance of the system with proportional controller. The set point is set equal to 1 and the proportional gain is set 20. The plot shows that proportional controller reduced both the rise time and the steady state error. Proportional controller also increased the overshoot and decreased the settling time by small amount. IJECE Vol. 5, No. 3, June 2015 : 436 442

IJECE ISSN: 2088-8708 440 Figure 3. The performance of the coupled tank system with proportional controller Figure 4 shows the performance of the system with proportional plus derivative controller. The set point is set equal to 1. The proportional gain is set equal to 20 and derivative gain is set equal to 10. This plot shows that the derivative controller reduced both the overshoot and the settling time but had small effect on the rise time and the steady state error. Figure 4. The performance of the coupled tank system with proportional Plus integral controller. Figure 5 shows the performance of proportional-integral controller. The set point is set equal to 1. The proportional gain is set equal to 20 and integral gain is set equal to 12. The plot shows that integral controller PID Controller Design for Two Tanks Liquid Level Control System using Matlab (Aboubaker M. Gabaj)

441 ISSN: 2088-8708 also reduced the rise time increased the overshoot same as the proportional controller does. The integral controller also eliminated the steady state error. Figure 5. The performance of the coupled tank system with proportional Plus derivative controller Figure 6 shows the performance of the system with PID Controller. The set point is set equal to 1. The proportional gain is set equal to12, integral gain is set equal to 4 and derivative gain is set equal to 7 to provide the desired response. The plot shows that the output achieves the set point value at time equal to 12 second. The output have slightly overshoot before stabilize at time equal to 20 second. Figure 6. The performance of the coupled tank system with proportional Plus derivative Plus integral controller IJECE Vol. 5, No. 3, June 2015 : 436 442

IJECE ISSN: 2088-8708 442 Figure 7. The performance of the coupled tank system with four types of controllers. From the simulation results shown in figure (2, 3, 4, 5, 6 & 7) it may be concluded that PID controller eliminates the offset of the proportional mode and still provides fast response. This can be used for virtually any process condition including this liquid level control. The PID controller is one of the most powerful but complex controller mode operations combines the proportional, integral, and derivative modes. This system can be used for any process condition including controlling water level in a tank. The water level can be controlled continuously without manual adjusting of the valve. The PID algorithms will automatically response to the system so that the system is stabilized near the set point. 4. CONCLUSION This paper presents a simulated level control of liquid in two tank system with a different controller's such as Proportional-Integral-Derivative (PID). Various conventional techniques of PID tuning method were tested in order to obtain the PID controller parameters. Simulation was conducted within MATLAB environment to verify the performances of the system in terms of Rise Time, Settling Time, Steady State Error and Overshoot. The liquid level system is controlled using a simple P, PI, PD and PID controller. Hence it may be concluded that the PID controller is the most effective controller that eliminates the offset of the proportional mode and still provides fast response. That is why PID controller has been chosen. It may be further stated that because of the action of Proportional parameter, the plot result will respond to a step change very quickly. Due to the action of Integral parameter, the system was able to returned to the set point value. REFERENCES [1] J. Swder, G.Wszoek, W.Carvalho, Programmable controller design Electropneumatic Systems, Journal of Material Processing Technology 164-1655 (2005) 14659-1465 [2] Aurelio Piazzi and Antonio Visioli, A Noncausal Approach for PID control, Journalof Process Control, 4 March 2006. [3] Carl Knopse, Guest Editor, PID Control, IEEE Control System Magazine, February 2006. [4] S. Bennett, Development of the PID controller, IEEE Contr. Syst. Mag., vol. 13, Dec. 1993, pp. 58 65. [5] S. Song, L. Xie and Wen-Jim Cai, Auto-tuning of Cascade Control Systems IEEE Proceedings of the 4th world Congress on Intelligent Control and Automation, June 10-14, 2002, Shanghai, P.R. China, pp 3339-3343. [6] K. Passino, Towards bridging the perceived gap between conventional and intelligent control, in Intelligent Control: Theory and Applications, IEEE Press, 1996, ch. 1, pp. 1 27. Gupta, M.M. and Sinha, N.K. editors. [7] K. Passino, Bridging the gap between conventional and intelligent control, Special Issue on Intelligent Control, IEEE Control Systems Magazine, vol. 13, June 1993, pp. 12 16 PID Controller Design for Two Tanks Liquid Level Control System using Matlab (Aboubaker M. Gabaj)