• Tidak ada hasil yang ditemukan

PID control tuning using cuckoo search algorithm for coupled tank liquid level system.

N/A
N/A
Protected

Academic year: 2017

Membagikan "PID control tuning using cuckoo search algorithm for coupled tank liquid level system."

Copied!
24
0
0

Teks penuh

(1)

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

FINAL YEAR PROJECT 2

BEKU 4894

TITLE: PID CONTROL TUNING USING CUCKOO SEARCH ALGORITHM FOR

COUPLED TANK LIQUID LEVEL SYSTEM

NAME AIN NADZIRAH BINTI AZMAN IC NO. 900918-10-5898

MATRIX NO. B011110075

COURSE

BACHELOR OF ELECTRICAL ENGINEERING (CONTROL, INSTRUMENTATION &

AUTOMATION) SUPERVISOR

(2)
(3)
(4)

“I hereby declare that I have read through this report entitle “PID control tuning using Cuckoo Search Algorithm for Coupled Tank Liquid Level System” and found that it has comply the

partial fulfillment for awarding the degree of Bachelor of Electrical Engineering (Control,

Instrumentation and Automation)”

Signature : ……….

Supervisor’s name : NUR ASMIZA BINTI SELAMAT

(5)

PID CONTROL TUNING USING CUCKOO SEARCH ALGORITHM FOR COUPLED

TANK LIQUID LEVEL SYSTEM

AIN NADZIRAH BINTI AZMAN

A report submitted in partial fulfillment of the requirements for the degree of Bachelor in

Electrical Engineering (Control, Instrumentations and Instrumentations)

Faculty of Electrical Engineering

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

(6)

I declare that this report “PID control tuning using Cuckoo Search Algorithm for Coupled Tank Liquid Level System” is the result of my own research except as cited in references. The report

has not been accepted for any degree and is not concurrently submitted in candidature of any other degree.

(7)

ACKNOWLEDGEMENT

“In the name of Allah the Most Gracious, the Compassionate Merciful”

Thank God, I express my gratitude to Allah s.w.t because with His permission, blessing and will allowed me to complete this report. A major research project like this is never the work of anyone alone. The contributions of many different people, in their different ways, have made this possible. Appreciation and thanks to my supervisor Miss Nur Asmiza Binti Selamat for the continuous support on my final year project research, for her patience, motivation, enthusiasm, and immense knowledge. Her guidance helped me in all the time of research and completing this project. I could not have imagined having a better supervisor, mentor and guidance in completion of my final year project in Universiti Teknikal Malaysia Melaka.

Besides my supervisor, I would like to express my sincere gratitude to all the lecturers that helped me throughout the completion of the project and always willing to help and gives their best suggestions. Without their support and guidance, this project will not complete as what I wanted. Moreover, I would like to express my gratitude to all my fellow friends who always there cheering me up and stood by me through the good and bad times. Completing this project would not have been possible without their helps and support.

(8)

ABSTRACT

(9)

ABSTRAK

(10)

TABLE OF CONTENT

CHAPTER TITLE PAGE

ABSTRACT v

ABSTRAK vi

TABLE OF CONTENTS vii

LIST OF TABLES x

LIST OF FIGURES xi

1 INTRODUCTION 1

1.1 Background of study 1

1.2 Problem statement 2

1.3 Objectives 2

1.4 Project scopes 3

1.5 Project outline 4

2 LITERATURE REVIEW 6

2.1 Basic Principle 6

(11)

CHAPTER TITLE PAGE

2.1.2 PID controller 7

2.1.3 PID tuning 9

2.1.4 Swarm intelligence 10

2.1.5 Particle swarm optimization 11

2.1.6 Cuckoo search 11

3.4.1 Particle swarm optimization 25

3.4.2 Cuckoo search 29

3.5 Objective function 35

3.6 Simulations 36

3.7 System with disturbance 37

4 RESULTS AND DISCUSSION 38

4.1 Introduction 38

4.2 Closed loop system 38

(12)

4.4.2 PIDPSO 46 4.4.3 Comparison of robust controller 48 4.5 Performance of PIDCS in Coupled Tank System 50

5 CONCLUSION 51

5.1 Conclusion 51

5.2 Recommendation 52

REFERENCES 53

APPENDIX A 55

(13)

LIST OF TABLES

TABLE NO TITLE PAGE

(14)

FIGURE NO

TITLE PAGE

2.1 PID controller block diagram 7

2.2 Swarm intelligence based 10

3.1 Methodology flowchart 18

3.2 Diagram of PID controller with optimization technique 18 3.3 Diagram of coupled tank liquid level system 19 3.4 Block diagram of second order process 24

3.5 PSO flow chart in CTS 26

3.6 CS flow chart in CTS 30

3.7 Block diagram of CTS for online simulation 36 3.8 Block diagram of CTS for online simulation with disturbance 37 4.1 Block diagram of closed loop system 39 4.2 Step response of closed loop coupled tank liquid level system 39 4.3 Graph fitness function versus iteration (CS) 40 4.4 Step Response of Close Loop System using CS 41 4.5 Graph fitness function versus iteration (PSO) 42 4.6 Step Response of Close Loop System using PSO 43 4.7 Step Response of Close Loop System using PID optimization

(PIDCS and PIDPSO) 44

(15)

FIGURE NO

TITLE PAGE

4.10 Graph fitness function versus iteration (PSO) for disturbance system 47 4.11 Step Response of Close Loop System with disturbance using PSO 47 4.12 Step Response of Close Loop System with disturbance using PID

optimization (PIDCS and PIDPSO) 49

4.13 Step Response of Closed Loop System with and without disturbance

(16)

INTRODUCTION

1.1 Background of study

Liquid level control system is commonly used in many process control applications, for example the level of liquid in a tank. Liquid tank system plays an important role in industrial application, such as in food processing, filtration and water purification system. In process industries, the water will be pumped into the tank and having a liquid process for example chemicals and mixing treatments. Afterwards, the liquid is transfered to other tanks as per requirement. The requirement in this system is to control the flow rate of the liquid delivered by the pump so that the liquid within the tank is as per desired. Vital industries where liquid level flow control is essential include petrochemical industries, papermaking industries and water treatment industries. In order to achieve this requirement of the process, the fluid supplied to the tanks must be controlled. An effective and proper tuning of PID tuning will be improved the performance of coupled tank liquid level system. Optimization technique will be used to obtain the tuning parameter of the controller.

(17)

level according to the desired determines the quality of the overall product. Food process industries commonly used mixing reactants process such as sugar refining industries. The level of the tank preparing sugar syrup and the acid have to be mixed together in order to coagulate the syrup. This is to control the quality of the sugar is reserved. Evaporation is one of the applications that is applied in liquid level control. Evaporators are used in many chemical process for the purpose of separating chemicals products. Fertilizer process plant is one of the examples that used evaporator to transform a weak solution of chemicals to more concentrated solution.

1.2 Problem statement

(18)

1.3 Objectives

In order to obtain the parameter tuning based in optimization technique, hence objectives of this study are:

i. To obtain PID control tuning using swarm intelligence, Cuckoo Search for coupled tank liquid level system

ii. To evaluate the transient system performance using Cuckoo Search and compare with Particle Swarm Optimization

1.4 Project scope

Four scopes are listed in order the project is conducted within the boundary.

i. Apply performance index, Integral of Time Square Error (ITSE) to obtain the error of the system and as the indicator of system performance.

(19)

iii. Use MATLAB and Simulink for simulation and develop Particle Swarm Optimization and cuckoo search algorithm.

iv. Apply disturbance to the coupled tank liquid level system to test the robustness of the optimization controller.

1.5 Report Outline

The report is divided into five chapters;

Chapter 1 – Introduction

This chapter provides readers a first glimpse at the basic aspects of the research undertaken, which are overview coupled tank liquid level system, problem statement, objectives and scopes of this report.

Chapter 2 – Literature Review

This chapter reviews the basic principle of the system, related previous work and other reviews related to this project.

(20)

This chapter will present the results of the system performance by using PID control tuning using Particle Swarm Optimization (PSO) and Cuckoo Search (CS). Both of the optimization controllers will be tested with disturbance.

Chapter 5 – Conclusion and Future Works

(21)

CHAPTER 2

LITERATURE REVIEW

2.1 Basic Principles

2.1.1 Coupled tank liquid level system

(22)

is increased. When the outflow rate is lower than the inflow rate, the liquid level will be settled at a higher level than before, assuming that a steady state is achieved before the tank overflows.

2.1.2 PID Controller

The Proportional-Integral-Derivatives, PID controller is a control feedback mechanism, which it is a well-known controller for many decades and almost most of the industries still use it. This controller will minimize the error by adjusting the process control inputs. It will calculate the error value as the difference between a measured process variable and desired set point.

(23)

Figure 2.1 shows a basic PID controller in the block diagram form. The PID controller consists of three term control which are Proportional (P), Integral (I) and Derivative (D). Each of the term control gives the different performance of the system (overshoot, settling time, rise time and steady state error). Proportional controller, Kp is an adjustable amplifier to be responsible for process stability. It will give an effect of reducing the rise time and steady state error will decrease. The steady state error needs to be eliminated. Thus, by using an integral controller, Ki will reduce the error and lastly eliminate the steady state error. However, it will give a high oscillation and overshoot percentage, as well the effect of the settling time of the performance will increase. In order to improve the whole performance of the system, derivative controller, Kd will be added to the system. It will give an effect of reducing overshoot percentage, increasing the stability of the system as well as improving transient response.

Table 2.1 is the comparison of the effect controller, Kp, Kd and Ki applied on a closed loop response. The table is used as a reference in trial and error method or traditional tuning. By varying of these variables, it may change the effect of the other two. It is because Kp, Kd and Ki are depending on each other.

Table 2.1: The effect of performance based on PID controller properties Settling Time,

Ts

Rise Time, Tr Steady State

Error, SSE

Overshoot, OS

(24)

techniques available for PID tuning, for example self-tuning PID, auto-tuning PID and optimization technique can be applied to the coupled tank system.

In this study, PID tuning that will be used is optimization technique. Optimization is a process that finds a best or optimal, solution for a problem. The optimization problem can be defined as finding the values of the variables that minimize or maximize the objective function while satisfying the constraints. The optimization problems are centered on three factors, which are;

i. Objective function, which is to be minimized or maximized ii. A set of unknown or variables that affect the objective function

iii. A set of constraints that allow the unknown to take on certain values but exclude others

Optimization is one of the simplest ways to give a better value of the parameters of a system under specified conditions. The function of the optimization in a system is to obtain the relevant parameter values, which enable performance index (also known as objective function) to produce minimum and maximum value. Optimization methods classified into five classes, which are Linear Programming, Integer Programming, Quadratic Programming, Combination Optimization and Metaheuristic.

Gambar

Figure 2.1: PID controller block diagram
Table 2.1: The effect of performance based on PID controller properties

Referensi

Dokumen terkait

[r]

HASIL PE,NILAIAN SEJAWAT SEBIDANG ATAU PEER REVIEW.. KARYA PAMERAN SE,NI RUPA

Those problems can be solved by using Karanganyar tourism map that had been given by Department of Tourism and Culture of Karanganyar Regency to map out the location of

Evaluasi meliputi jenis antibiotik profilaksis yang digunakan, saat pemberian, dosis, frekuensi dan rute pemberian dibandingkan dengan Prosedur Tetap Bedah Caesar Rumah sakit

Penelitian ini adalah tindakan kelas yang bertujuan untuk mengetahui.. seberapa tinggi penigkatan hasil belajar siswa setelah

Hal m1 didukung, Balkcom (1992: 1) yang menyatakan pembelajaran kooperatif adalah suatu strategi pembelajaran dalam kelompok kecil yang terdiri dari pemelajar yang

Key words: tropical woody peat, inland peat, lower peat layer, boron, sea water, Mg/Ca ratio.. Tropical peat consists of plant residues of former forests in varying degrees

Tujuan penelitian ini adalah untuk mendiskripsikan peningkatan kemampuan bertanya pada mata pelajaran IPA melalui penerapan strategi pembelajaran the learning cell