Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
Two Degree of Freedom PID Controller for
Quadruple Tank System
A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE
Master of Technology in Electronics and Instrumentation Engineering
Submitted By
Deepak Choudhary 213EC3216
Department of Electronics and Communication Engineering National Institute of Technology, Rourkela
INDIA
May 2015
Two Degree of Freedom PID Controller for
Quadruple Tank System
A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE
Master of Technology in Electronics and Instrumentation Engineering
Submitted By
Deepak Choudhary
Under Supervision of
Prof. U.C.Pati
Department of Electronics and Communication Engineering National Institute of Technology, Rourkela
May 2015
Department of Electronics & Communication Engineering
National Institute of Technology
Rourkela -769008,Odisha,India
CERTIFICATE
This is to ensure that the undertaking entitled, "Two Degree of Freedom PID controller for
Quadruple Tank system" put together by Deepak Choudhary bearing roll no. 213EC3216 is a
bona fide work did by him under my watch and direction for the halfway satisfaction of the
prerequisites for the recompense of Master of Technology in Electronics and Instrumentation
Engineering amid session 2013-15 at National Institute of Technology, Rourkela. A real
record of work completed by him under my watch and direction. The applicant has satisfied all
the endorsed necessities.
The Thesis which is in view of applicant's own work, has not submitted somewhere else for a
degree/certificate.
Dr. Umesh Chandra Pati
Place: Associate Professor
Date: Dept. of Electronics and Communication Engineering
National Institute of Technology Rourkela-769008, Odisha, INDIA
Acknowledgement
I am greatly indebted to my supervisor Dr. Umesh Chandra Pati for his well regard guidance in
selection and completion of the project. It is a great privilege to work under his guidance. I
express my sincere gratitude for providing pleasant working environment with necessary
facilities. I would also like to thank to the Department of Science and Technology, Ministry of
Science and Technology, Government of India for their financial support to setup Virtual and
Intelligent Instrumentation Laboratory in Department of Electronics and Communication
Engineering, National Institute of Technology, Rourkela under Fund for Improvement of S&T
Infrastructure in Universities and Higher Education Institutions (FIST) program in which the
experimentation has been carried out. My special thanks to Mr. Sankat bhanjan prusthy for his
regular suggestions, encouragement and feedback which always motivated me. I want to thank
all employees and staff of the Department of Electronics and Communication Engineering,
N.I.T. Rourkela for their liberal help in different courses for the culmination of this proposal. I
want to thank every one of my companions and particularly my cohorts for all the mindful and
brain animating examinations we had, which incited us to think past the self-evident. I've
delighted in their fraternity such a great amount amid my stay at NIT, Rourkela.
I am particularly obligated to my guardians for their adoration, relinquish, and support. They are
my first instructors after I resulted in these present circumstances world and have set incredible
samples for me about how to live, study, and work.
Deepak Choudhary
Roll No: 213EC3216
Dept. of ECE
NIT, Rourkela
i
ABSTRACT
This work presents an overview of designing and tuning of 2 DOF PI and PID controller for
single and two tank interacting as well as non-interacting system. Transfer function of the plant
i.e. single tank system and two tank non-interacting as well as interacting system calculated
practically, following a mathematical model approach. Conventional PI and PID controller has a
limitation when it is tested for set point tracking along with disturbance rejection. We can get a
good set point tracking response and good disturbance rejection response separately but difficult
to get simultaneously.2 DOF PI and PID controller overcome this disadvantage; it
simultaneously provides a good set point tracking as well as good disturbance rejection response.
Controller parameters calculated through the Ziegler Nichols’ open loop method. Controller
action tested practically on the quadruple tank system using National Instruments’ LabVIEW and
compared with the simulation results. Set point and trends of the output variable as well as
process variable indicated in the front panel. Data from the tank acquired through the data
acquisition card VI microsystem V-01. Level of the liquid in the tank measured by the
Rosemount’s level transmitter and output is indicated in the range of 4-20 mA. Process variable
is manipulated by the action of control valve.
Key Words : Two degree of freedom, PID controller, Disturbance rejection, Set point tracking
ii
Table of Contents
Page no.
List of abbreviation used iv
List of figures v
List of tables vii
Chapter 1
Introduction 1-3
1.1 Overview 1
1.2 Literature Review 1
1.3 Motivation 2
1.4 Objectives 2
1.5 Thesis Outline 3
Chapter 2
Mathematical Modeling of Process 4-9
2.1 Introduction 4
2.2 Mathematical model of single tank 4
2.3 Mathematical model of two tank non-interacting system 7
2.4 Mathematical model of two tank interacting system 8
Chapter 3
Two Degree of PI and PID controller 11-15
3.1 Introduction 10
3.2 Tuning of PID controller 13
3.3 Optimal Tuning for Two Degree of freedom PI/PID Controller 14
iii
Chapter 4
Experimental Set up of liquid level system 16-18
4.1 Experimental set up 16
4.2 Description of Process 17
Chapter 5
Results and observations 19-45
5.1 Simulation response 19
5.1.1 Single tank process 21
5.1.2 Two tank non interacting process 25
5.1.3 Two tank interacting process 29
5.2 Experimental response 34
Chapter 6
Conclusion 46
References 47
iv
List of Abbreviation used
PI Proportional Integral
PID Proportional Integral Differential
Kp Proportional gain
Ki Integral gain
Kd Differential gain
1 DOF One Degree of freedom
2 DOF Two degree of freedom
FOPDT First order plus dead time
v
LIST OF FIGURES
Figure
No.
Title Of Figure Page
No.
2.1 Single Tank System 4
2.2 Two Tank non-interacting system 7
2.3 Two Tank interacting system 8
3.1 1 Degree of freedom control system 11
3.2 Feedforward type 2-DOF PID controller 12
3.3 2 DOF PID response with set point weighting factor values 13
3.4 Open loop response for single tank system 14
4.1 Experimental set up for quadruple tank system 16
4.2 Quadruple tank system 18
5.1 Simulink model of 2 Degree of Freedom PID Controller 20
5.2 PI and 2 DOF PI reponse for set point tracking 21
5.3 Disturbance rejection response of PI and 2 DOF PI controller for single tank 22
5.4 Set point tracking response of PID and 2 DOF PID controller for single tank 23
5.5 Disturbance rejection response of PID and 2 DOF PID controller for single
tank
24
5.6 Set point tracking response of PI and 2 DOF PI controller for two tank non
interacting system
26
5.7 Disturbance rejection response of PI and 2 DOF PI controller for two tank
non interacting system
27
5.8 Set point tracking response of PID and 2 DOF PID controller for two tank
non interacting system
28
5.9 Disturbance rejection response of PID and 2 DOF PID controller for two
tank non interacting system
29
5.10 Set point tracking response of PI and 2 DOF PI controller for two tank
interacting system
30
5.11 Disturbance rejection response of PI and 2 DOF PI controller for two tank
interacting system
31
5.12 Set point tracking response of PID and 2 DOF PID controller for two tank
interacting system
32
5.13 Disturbance rejection response of PID and 2 DOF PID controller for two
tank interacting system
33
5.14 Experimental response of Set point tracking for PI controlle single tank
system.
34
5.15 Experimental response of disturbance rejection for PI controller for single
tank
35
5.16 Comparison between simulation and experimental response of set point
tracking for single tank system
35
5.17 Comparison between the simulation response and experimental response of
PI controller for disturbance rejection
36
vi
5.18 Experimental response of set point tracking for PID controller single tank
system
37
5.19 Experimental response of disturbance rejection of PID controller single tank
system
38
5.20 Comparison between simulation response and practical response of PID
single tank controller for set point tracking
38
5.21 Comparison between the simulation response and experimental response for
disturbance rejection of PID controller single tank system
39
5.22 Experimenatl response of set point tracking for 2 DOF PI controller single
tank system
40
5.23 Experimental response for disturbance rejection of 2 DOF PI controller
single tank system
41
5.24 Comparison between simulation response and experimental response for set
point tracking of 2 DOF PI controller single tank system
41
5.25 Comparison between simulation response and experimental response of
disturbance rejection for2 DOF PI controller single tank system.
42
5.26 Experimental response of set point tracking of 2 DOF PID controller single
tank system
43
5.27 Experimental response of disturbance rejection for 2 DOF PID controller
single tank system
44
5.28 Comparison between simulation response and experimental response of set
point tracking for 2 DOF PID controller single tank system.
44
5.29 Comparison between simulation response and experimental response of
disturbance rejection for 2 DOF PID controller single tank system.
45
vii
List of Tables
Table
No.
Title of Table Page No.
I PID tuning parameters values 14
II open loop response for single tank system 19
III tuning parameter values of controller for single tank system 21
IV Perfomance index of PI and 2 DOF PI controller 22
V Perfomance index of PID and 2 DOF PID controller for single tank 23
VI tuning parameters values for two tank non interacting system 25
VII Perfomance index of PI and 2 DOF PI controller for two tnk non
interacting system
26
VIII Perfomance index of PID and 2 DOF PID controller for two tank non
interacting system
28
IX Tuning parameters values of controller for two tank interacting
system
29
X Performance index of PI and 2 DOF PI controller for two tank
interacting system
31
XI Performance index of PID and 2 DOF PID controller for two tank
interacting system
33
XII comparison of performance index of experimental response and
simultion resposne of PI controller for single tank system
36
XIII Comparison of performance index of experimental response and
simultion resposne of PID controller for single tank system
39
XIV Comparison between performance index of experimental response
and simulation response of 2 DOF PI Controller
41
XV Comparison between performance index of experimental response
and simulation response of 2 DOFPID Controller
45
Page | 1
Chapter 1
Introduction
1.1 Overview
Various process plants and oil refineries have to measure the level of fluid in tank so as to
provide a required pressure and flow. 2 DOF PI/ PID controller can be used for measuring fluid
level in tank with set point tracking as well as good disturbance rejection. In this project
mathematical modelling of single tank, two tank interacting and non-interacting system has been
described. Transfer function of these systems was calculated using mathematical modelling.
Simulation study has been carried out for responses of 2-DOF PI/PID controller and its
performance index were compared with conventional PI/PID controller. Tuning algorithm also
implemented on the experimental set up by using Lab VIEW software from National
Instruments. Experimental set up consists of four tanks, level transmitters, control valves, hand
valves, rotameter and air compressor. Process variable was measured by the data acquisition card
VI microsystem V-01. Simulation results are also compared with the experimental response.
1.2 Literature Review
Many researchers have worked on tuning of 2 DOF PI/PID controller for FOPDT system.
Mathematical modelling of single and non-interacting as well as interacting tank system has been
described [1]. Tuning method for two 2 DOF PI controller based on Butterworth rules and
genetic algorithm optimization has been described by H. Nemati and P.Bagheri [2]. Different
equivalent forms of 2 DOF PID controller and its optimal tuning method has been developed by
M.Araki and H.Taguchi [3].
Deducted procedure for tuning 2 DOF PI controllers for FOPDT controlled process has
been developed by V. M. Alfaro, R. Vilanova and O. Arrieta [4]. Cascade control configuration
for 2 DOF PID controllers which guarantees smooth control has been developed by V. M.
Alfaro, R. Vilanova and O. Arrieta [5]. Two decoupled PI controller, one for set point tracking
and other for disturbance rejection has been simulated on FOPDT process [6]. Robust tuning
Page | 2
method 2 DOF PI controllers for inverse response controlled process modeled by second order
plus right half plane zero transfer function has been developed by V. M. Alfaro and R. Vilanova
[7]. Different tuning techniques of PID controller for multi tank level system given by many
researchers one its form has been described by V.S. Aditya, B.Reddy , M.rao , D.Sastry [8].
Simple tuning rules for 2 DOF PI controller along with robustness consideration has been
provided in [9]. Zeigler – Nichols method for tuning of PID controller has been described in
[10]. Tuning procedure through multiple dominant pole method for tuning of 2 DOF PI and PID
controller for integral and time delay plants described [11]. Efficient numerical methods to
obtain optimal PI tuning formulae for first order plus dead time processes and its design method
which is based on optimal load disturbance rejection has been described in [12]. Analytical two
degree of freedom control scheme for open loop unstable time delay which shows improved
disturbance rejection and set point tracking response has been described in [13]. Specifications,
stability, design, applications and performance of PID controller with the discussion on the
alternatives to PID and its future has been described by K.J. Åström and T. Hägglund [14]. A
new design which introduces robust 2 DOF control technique with the active disturbance
rejection control and to improve PID response has been developed by R.Miklosovic, Z.Gao.[15].
1.3 Motivation
Multi tank system widely used in chemical and petroleum industries to control the level
of fluid. PID controller is best suited for controlling the level but it has got some disadvantages.
If there is requirement of good set point tracking there will be a poor disturbance rejection
response and if one wants to have good disturbance rejection there will be poor set point
tracking. Set point tracking as well as good disturbance rejection response is very difficult to
obtain through conventional PID controller. The 2 DOF PI/PID controller handles such a
problem. It improves the set point tracking while maintaining the same disturbance rejection.
Page | 3
1.4 Objectives
Mathematical Modeling of single tank, Interacting and non-interacting systems of two
tanks.
Simulation of conventional PI and 2 DOF PI controller response for single tank system
and two interacting as well as non-interacting system.
Simulation of conventional PID and 2 DOF PID controller response for single tank
system and two interacting as well as non-interacting system.
Implementation of conventional PID controller.
Implementation of 2 DOF PI/PID controller and its comparison with conventional PID
controller.
1.5 Thesis Outline
This thesis consists of total six chapters.
Chapter 1 includes the introduction, motivation and main objectives of the thesis.
Chapter 2 provides mathematical modelling of single tank system and two tank non-interacting
as well as interacting system.
Chapter 3 provides the theory of 2 DOF PID controllers and optimal tuning methods of its
parameters. Tuning of conventional PI and PID controller is performed using Zeigler Nichols’
open loop method.
Chapter 4 provides the details of experimental set up of process. It also includes the specification
of the plant and procedure of the experiment.
Chapter 5 provides the simulation and experimental responses of 2 DOF PI and PID controller
with their respective performance index.
Chapter-6 concludes the thesis.
Page | 4
Chapter 2
Mathematical modeling of the plant
2.1 Introduction
Implementation and analysis of process control requires the knowledge of dynamics of
processes. Dynamics of a process changes from one process to other process. The main objective
of this chapter to describe the dynamic response of single tank and two tank interacting as well
as two tank non interacting system. Modelling of process is achieved using balance of mass and
energy.
Rate of mass/energy - Rate of mass/energy = Rate of accumulation of
entering into the system going out to the system mass/energy into the system
2.2 Mathematical modeling of single tank system.
Fig. 2.1 shows the single tank process model consists of two valves, a tank of height h
and cross sectional area A.
Fig. 2.1 Single tank System
qi(t) is the inlet flow to the tank which flow through the hand valve V1. qo (t) is the outflow
through hand valve V2. Tank is open to atmosphere and the process is operated at a constant
Page | 5
temperature. Opening of control valve is fixed at particular position. Flow of liquid through
valve is given by,
( ) ( )
o v p
pq t C V t
G (1)
Cv= valve coefficient m3/s-pa
1/2
G = specific gravity of liquid, dimensionless
Vp(t) =fraction of valve opening ; 0< Vp(t)<1
∆p(t)=pressure drop across the valve, Pa
Tank and valves are open to the atmosphere so, differential pressure across valve is given by,
∆p(t)=Po+ ρgh(t)-Po= ρgh(t) (2)
Po=atmospheric pressure, Pa
ρ= density of liquid, kg/m3
g=acceleration due to gravity, m/sec2
h(t)=height of liquid in tank in meters
Therefore flow equation through valve becomes
( ) ( )o v p
pq t C V t
G
'( ) ( )v p V
gh t h tC V C
G G
(3)
where ’
v v pC C Vg
G
It is required to know how the level in the tank, h(t), is influenced by the flow of liquid into the
tank, h(t). The goal is to create the model and to obtain the transfer function relating h(t) and
input flow qi.
Page | 6
Unsteady state mass energy balance equation around tank provides,
Rate of mass of – Rate of mass of = Rate of storage
fluid entering the tank fluid going out the tank of mass in the tank
( )
i o
dm tq q
dt (4)
Where m(t) = Mass of liquid stored at time ‘t’ in the first tank , kg which is given by,
m(t) = ρAh(t) (5)
Substituting the expression of m(t) in Eq. no. 4, which gives,
ρqi – ρqo = ( )dh t
Adt
(6)
Eq. 3 gives another equation for the expression qo, substituting the expression qo in Eq. 6
( ) ( )
'i v
h t dh tq C A
G dt (7)
Expression of qo is nonlinear it must be linearized. So, linearized expression of qo gives,
1
0.5 ' ( )o o Vq q C h hh
(8)
Arranging Eq. 7 in the deviation variable form we get,
( )
( ) ( )i
dH tKQ t H t
dt (9)
Where; K=1/C ; C=0.5C’v ; ' /V vC C g h
A
C sec
( ) ( ) ( )H t h t h t
Page | 7
( ) ( ) ( )i i iQ t q t q t
Taking the Laplace transform of Eq. 9, we get transfer function as,
( )
( )1
i
H sQ s
s (10)
2.3 Mathematical modeling of two tank non interacting system.
Fig. 2.2 Two tank non- interacting system
Fig. 2.2 shows the schematic diagram of the two tank non interacting system with cross sectional
area A1 and A2 for tank 1and tank 2 respectively. Qi (t) is the inlet flow to the tank 1 and q1 (t) is
the outlet flow through valve V1 which will be inlet flow to the tank 2. q2(t) is outlet flow
through valve V2. h1(t) and h2(t) are the liquid level in tank 1 and tank 2 respectively. It is
required to find the relationship between the input flow Qi and level of liquid in tank 2.
The mathematical model of two tank non interacting system can be derived using mass
balance equation and Bernoulli’s law. Dynamic equation for single tank is given by,
11 1
( )( ) ( ) i
dh tQ t q t A
dt (12)
The flow through the valve V1 is given by,
1 1 1( ) ' ( )q t C v h t (13)
Tank1
Qi(t)
h1(t) q1(t)
A1
h2(t) q2(t)
A2
V1
V2
Tank2
Page | 8
Dynamic equation for tank 2 gives,
21 2 2
( )( ) ( )
dh tq t q t A
dt (14)
Again, the flow through valve 2 is given by,
22 2( ) ' ( ) Vq t C h t (15)
Linearizing the Eq. 6 and 8 and arranging in deviation variable form, we get,
11 1 1 1
( )( ) ( )
dH tH t K Q t
dt
(16)
22 2 2 1
( )( ) ( )
dH tH t K H t
dt
(17)
where:
1 2 11 2 1 22
1 2 1 2
1sec , sec , ,
A A CsK K
C C C m C
C1=0.5C’V1 , 1 1 1
' /V VC C g h C2=0.5C’V2 , 2 2 2
' /V VC C g h
Taking Laplace transform of Eq. 9 and 10 and rearranging them, we get
2 1 2
1 2
( )
( ) ( 1)( 1)
i
H s K K
Q s s s (18)
2.3 mathematical modeling of two tank interacting system
Fig. 2.3 Two tank non-interacting system
Page | 9
Fig. 2.3 shows the schematic diagram of two tank interacting system with A1 and A2 are the
cross sectional areas of tank 1 and tank 2. qi (t) is inlet flow to tank 1 and q1(t) is outlet flow
through valve V1 which is the inlet flow to tank 2 having liquid column h2(t). q2(t) is outlet flow
through valve V2 . Flow through the valve V1 depend upon the level of liquid in the tank1 and
tank2. Liquid level in tank 1 will affect the liquid level in tank 2 and vice versa. The
mathematical model of single tank system can be derived using mass balance equation and
Bernoulli’s law. Dynamic equation for single tank is given by,
11 1
( )( ) ( ) i
dh tQ t q t A
dt (19)
Equation of flow through valve V1 given by,
1 1 1 2( ) ( ( ) ( )vq t C g h t h t (20)
Dynamic equation around tank 2 given by,
21 2 2
( )( ) ( )
dh tq t q t A
dt (21)
Equation of flow through valve V2 given by,
22 2( ) ( )
vq t C gh t
(22)
Eq. 20 is nonlinear so after linearizing it we get,
1 1 1 1 2 1 2 2( ) ( ) [ ( ) ] [ ( ) ] q t q t C h t h C h t h
(23)
where,
1
1/2' 2
1 1 2
1/
2
vC C h h m s
Page | 10
Linearizing Eq. 22 we get,
2 2 2 2 2( ) ( ) [ ( ) ] q t q t C h t h
(24)
Where
2
'
2 v
2
1 1c c
2 h
Substitute the value of q1 in Eq.19 and taking its Laplace transform and arranging it deviation
variable form we get,
21
1 1
( )( ) ( )
1 1
i
H sKF s H s
s s (25)
Where,
K = 1/C1
11
1
A
C
Substitute the value of q2 and q1 in Eq.21 and taking its Laplace transform and arranging it in
deviation variable form we get,
11 2
1
( ) ( )1
KH s H s
s (26)
Substituting the value of H1(s) in Eq. 26 and by rearranging we get,
2 1
2
1 1 1
( )
( ) ( ) 1
i
H s K K
F s s s K (27)
Where,
11
1 2
CK
C C
21
1 2
A
C C
This chapter described the mathematical modelling, transfer functions and block diagram of
single order and second order system. In order to describe the process we need set of equations
which should be equal to the number independent equations and number of unknowns that is
why number of unknowns is stressed after each independent equation.
Page | 11
Chapter 3
Two Degree of Freedom PI and PID Controller
3.1 Introduction
PID Controllers are widely used in many process industries due to its simple structure and
reliable nature. Various design methods of PID controller have been presented in [17-20] but all
the PID controllers are of 1 DOF type as shown in fig 3.1. 1 DOF PI/PID controller can be tuned
only for a set of control parameters and has no ability to achieve the optimal dynamic response.
In control theory, the degree of freedom is defined as the number of closed-loop transfer
functions that can be adjusted independently.
Fig. 3.1 1-Degree of freedom control system
It is clear that in this structure, if the disturbance response is optimized, the set-point response is
often found to be poor and vice versa. So, for the optimal tuning there may be two tables; one for
the “optimal disturbance rejection” parameters and the other for the “optimal set-point response”
parameters for the optimal tuning. The 2 DOF PI controller handles such a problem. It improves
the set point tracking while maintaining the same disturbance rejection.
General form of the 2 DOF control system is shown in fig. 3.2 where the model
consists of two controllers GC(s) which the main controller and GCf (s) which is the feed forward
controller [16], D(s) is disturbance transfer function from d to y and GP(s) is plant transfer
function from u to y.
-
+ Gp(s) Gc(s)
r u
d
y
_ +
Page | 12
Fig. 3.2 Feedforward type 2-DOF PID controller
General expression of PID controller given by
( ) c p d
KiG s K K s
s (28)
Expression for the feed forward controller given by
( ) cf p dG s a k b k s
(29)
where Kp, ki,, kd are the proportional gain, integral gain and derivative gain of the controller. a and
b are the 2-DOF parameters or set point weighting factor. The closed loop transfer functions
from r to y and d to y are given by,
( ) ( ) ( )( )
1 ( ) ( ) ( )
p c f
sp
p c
G s G s G sG s
G s G s H s
(30)
( )( )
1 ( ) ( ) ( )
ds
p c
D sG s
G s G s H s (31)
Effect of set point weighting factor on PID response
Fig. 3.3 shows the response for the 2 DOF PID controller with different set of set point
weighting factor a and b. There is reduction in overshoot as compared to the PID response which
can be obtained by setting a and b = 0. So, a and b are the important factors in determining the
nature of response of controller. As value of a and b increases the overshoot decreases but
system will take significant time to settle as compared to the conventional PID controller.
+ + Gp(s) Gc(s) r u
d
y _
Gcf (s)
+
Page | 13
Fig. 3.3 2 DOF PID response for different values of set point weighting factor
3.2 Tuning of PID Controller
Tuning of PID controller requires three different parameters i.e. Kp, Ki and Kd. Combined action
of these gains is used to manipulate the process through control element such as control valve.
PID controller parameters depends on the measured process variable not on the knowledge of
process. Action of controller can be described in terms of degree to which it overshoots the set
point and degree of system oscillation. Tuning of PID controller is performed using Zeigler
Nichols’ open loop method.
Ziegler Nichols’ Open loop tuning method/Process reaction curve method.
Process reaction curve method produces a response usually to a step input change for which
various parameters can be measured i.e. transportation delay lag or dead time (L),time for which
the response to change(T) and the ultimate that the response reaches at steady state Mu. Fig. 3.4
shows the open loop response for single tank system and also indicates the delay time (L) and
time for which response to change (T).
Page | 14
Fig. 3.4 Open loop response for single tank system
Table I shows the controller parameters values for P,PI and PID controller based on the Ziegler
Nichols’ open loop tuning method .where,T
KL
,T = response time, L= Lag time.
Table I PID Controllers parameters values
Kp Ti Td
P K
PI 0.9K 3.33L
PID 1.2K 2L 0.5L
Where,
Ti is integral time and Td is differential time in sec.
3.3 Optimal Tuning for Two Degree of freedom PI/PID Controller
Optimal tuning of controller depends upon the control requirement. Here, good set point tracking
while designing controller for the disturbance rejection will be one of our requirement. Secondly,
maximum allowable overshoot should be 4% and it should provide faster system response. Set-
Page | 15
point response and the disturbance response have been employed to evaluate the performance of
the control system that has been traditionally implemented in tuning of conventional PID
controllers. The set-point response is the response of the closed-loop transfer function Gsp (s)
which is given by Eq. 30 and the disturbance response is that of Gd (s) given by Eq. 31 which
shows that the disturbance response is completely determined by the serial compensator GC(s) .
On the other hand, set-point response depends on both GC(s) and GCf (s) which is given by Eq.30
so that it can be still adjusted by GCf (s) even after GC(s) is fixed. This observation suggests the
following tuning method [16].
Two step tuning method
Following are the two step tuning method for the 2 DOF PI and PID controllers parameters.
The steps for this method are:
Step 1: Optimize the disturbance response by tuning C(s) (i.e. by adjusting the basic parameters
KP, KI , and kD) .
Step 2: Let GC(s) be fixed and optimize the set-point response by tuning GCf (s) (i.e. by
adjusting the 2 DOF parameters a and b).
This chapter presented the basic block diagram of 1 DOF control system and feedforward type
2 DOF PID controller and effect of its set point weighting factor on the set point tracking
response. Tuning of conventional PI and PID controller has also been described by using Zeigler
Nichols’ open loop method which is followed by Optimal tuning method of 2 DOF PI and PID
controller.
Page | 16
Chapter 4
Experimental set up of liquid level system
4.1 Experimental set up
Fig. 4.1 Experimental set up of a quadruple tank system
Fig. 4.1 shows the experimental set up of a quadruple tank system. Specification of each
component is following.
1. Four Cylindrical tank of height 50 cm each.
2. Four Rotameter having flowing measuring capacity of 40-400 lph.
3. Four Rosemount’s level transmitter having o/p of 4-20 mA with gain of 23.47 mA/psi.
4. Two linear Control valve operating up to the pressure of 35 PSIG.
5. Two 370W,230V/2A pumps
6. E/P positioner having i/p signal of 4-20 mA with supply pressure of 0.14-0.7 mPa.
7. Pressure regulator having inlet pressure of 18 Kg/m2
and output pressure of 2.1 kg/m2.
8. Air compressor, 415 10%Volt, 50 3% Hz,15-45 psi.
9. Data acquisition card VI microsystem V-01.
Page | 17
Process Set up is interfaced to the computer system using Data acquisition card VI microsystem
V-01. National Instruments’ application software Lab View is used to control the process.
Fig 4.2 shows the front panel diagram to provide set point and controller parameters to the
system. There is two graph indicator, channel I and channel II for displaying amplitude of
process variable, change in the set point value and the trends of manipulated variable w.r.t. time.
Fig. 4.2 Front panel diagram
4.2 Description of Process
Fig. 4.2 shows the quadruple tank system. This set up is used to implement the modelling of
single tank, two tank interacting and non-interacting system.
Single Tank system
For single tank system rotameter1 is used for measuring the input flow to the tank 1.Input flow is
given to the tank1 by adjusting the valve3 and corresponding level is measured with help of
calibrated scale along the length of tank1. Level of liquid in tank is also indicated by level
transmitter in the range of 4-20 mA.
Page | 18
Fig. 4.2 Quadruple tank system
Two tank non interacting system
Tank2 and tank3 is used to implement two tank non interacting system by adjusting the opening
of valve2 at fixed position. Input flow is measured through roatameter2. Input flow is given by
adjusting the opening of valve4 and corresponding level is measured with help of calibrated scale
along the length of tank2. Level of liquid tank is also indicated by level transmitter, giving its
output in the range of 4-20 mA.
Two tank interacting system
Tank1 and tank2 is used to implement the two tank interacting system by adjusting the opening
of valve1 at fixed position. Input flow is measured through roatameter1. Input flow is given by
adjusting the opening of valve3 and corresponding level is measured with help of calibrated scale
along the length of tank2. Level of liquid tank is also indicated by level transmitter, giving its
output in the range of 4-20 mA.
Tank1 Tank2
Tank3 Tank4
Valve1
Valve2
Rotameter 1 Rotameter 2
Valve3 Valve4
Page | 19
Chapter 5
Results and Observations
5.1 Simulation Results
Characteristics of tank
Table II shows inlet flow to the tank in lph and its corresponding height in cm, level transmitter
shows the level of liquid column in range of (4-20) mA. Maximum height of liquid column is 50
cm for which level transmitter shows 20mA and it shows 4mA up to the liquid column height of
2cm.Cross sectional area of tank 174.47 cm2.
Table II open loop response for single tank system
Flow(lph) Level Transmitter(mA) Height(cm)
350 19.9 49
330 17.4 42
310 14.8 34
290 13.1 29
270 10.5 20.5
250 8.4 14.5
230 6.5 7.5
210 5.6 5.5
190 5.3 4
170 4 0
Transfer Function of different plant model
Based on the mathematical models obtained in chapter 2, transfer function of the different
configuration is following.
For single tank system
( ) 1.34
( ) 154 1
i
H s
Q s s
For two tank non- interacting system
2
2
( ) 1
( ) 19348.8 278.2 1
i
H s
Q s s s
Page | 20
For two tank interacting system
2
2
( ) 1
( ) 23682.71 792.09 1
i
H s
Q s s s
Simulation model of two degree of freedom PID controller
Fig. 5.1 shows the simulation model of two degree of freedom PID controller for the single tank
system with set point weighting factor a= 0.65 and b=0.75.
Fig 5.1 Simulink model of 2 Degree of Freedom PID Controller.
Tuning parameters value of PI and PID controllers for single tank system.
Tuning prameter values of PI and PID controller calculated using Ziegler Nichols’ open loop
method as discussed in chapter 3. PI and PID parameters values for the single tank is shown in
table III.
Page | 21
Table III tuning parameter values of controller for single tank system.
Kp Ti(sec) Td(sec)
PI 2.7 266.4
PID 3.6 160 40
For PI
Ki = Kp/Ti =.0101
For PID
KI= 0.0225
Kd = Kp*Td = 144
5.1.1 Simulation results for single tank System
Set point tracking response of 2 DOF PI and PI controller for single tank system.
Fig. 5.2. shows the simulation result for set point tracking of single tank system. It shows the
response for PI and 2-DOF PI controllers with different values of set point weighting factor.
Intially set point of 20 cm is given which is tracked in 780 sec by PI controller and another set
point of 25 cm given at t = 1500 sec which is tracked in 500 sec.
Fig. 5.2 PI and 2 DOF PI reponse for set point tracking
Page | 22
Table IV Perfomance index of PI and 2 DOF PI controller for single tank system.There is
reduction in overshoot of 2 DOF PI controller as compared to the conventional PI controller.
Setlling time and peak time for 2 DOF PI controller increases and system becomes sluggish.So,
there is trade off between overshoot and setlling time of system.Set point weighting factor can be
choosen in way which can provide less overshoot as well as smaller setlling time.
Table IV Perfomance index of PI and 2 DOF PI controller
PI 2 DOF PI(a=0.45) 2 DOF PI(a=0.85)
% Overshoot 8.4569 0 2.2849
Settling Time(sec) 780.9474 800.0336 760.5836
Peak Time(sec) 271 - 297
Disturbance rejection response
Fig.5.3 shows the disturbance rejection response of PI and 2 DOF PI controller for single tank.
Unkown Disturbance is given at t = 1500 sec which is rejected in around 400 sec. Response of
both controller is same as the controller is desgined for disturbance rejection.
.
Fig 5.3 Disturbance rejection response of PI and 2 DOF PI controller
Page | 23
Set point tracking response of 2 DOF PID and PID controller for single tank system.
Fig. 5.4 shows the set point tracking response of PID and 2 DOF PID controller for single tank
system.Intially set point of 20 cm is given which is tracked in 538 sec by PID controller and
another set point of 25 cm given at t = 1500 sec which is tracked in 500 sec.Also, overshoot of
conventional PID controller is more than that of 2 DOF PID controler.
Fig 5.4. Set point tracking response of PID and 2 DOF PID controller
Table V shows the Perfomance index of PID and 2 DOF PID controller for single tank
system.There is reduction in overshoot by 2 DOF PID controller as compared to the conventional
PID controller. Setlling time and peak time for 2 DOF PID controller with set point weighting
factor a = 0.5, b=0.65 increases but decreases for 2 DOF PID controller having set point
weighting factor a = 0.85,b = 0.75.So, there is trade off between overshoot and setlling time of
system.Set point weighting factor can be choosen in way which can provide less overshoot as
well as smaller setlling time or it can be tuned according to control requirement.
Page | 24
Table V Perfomance index of PID and 2 DOF PID controller for single tank
PID 2 DOF PID(a=0.55
b=0.65)
2 DOF PID(a=0.85
b=0.75)
% Overshoot 9.3288 0 3.0436
Settling Time(sec) 538.2397 550.8644 527.1479
Peak Time(sec) 279 - 315
Disturbance rejection response
Fig. 5.5 shows the disturbance rejection response of PID and 2 DOF PID controller for single
tank. Unkown Disturbance is given at t = 1500 sec, and time taken to reject the disturbance is
less than 500 sec. Moreover, response of both controller is same as the controller is desgined for
disturbance rejection.
Fig. 5.5 Disturbance rejection response of PID and 2 DOF PID controller for single tank.
Page | 25
5.1.2 Simulation Response for two tank non interacting system
Table VI shows the tuning parameters values of PI and PID controller for two tank non-
interacting system.
Table VI tuning parameters values for two tank non interacting system.
Kp Ti(sec) Td(sec)
PI 10.92 139.86
PID 14.57 84 21
For PI
Kp =10.92
Ki = 0.071
For PID
Kp = 14.57
Ki=Kp/Ti = 0.173
Kd=Kd*Td = 305.97
Set point tracking response of 2 DOF PI and PI controller for two tank non interacting tank
system.
Fig 5.6 shows the set point tracking response of PI and 2 DOF PI controller for two tank non
interacting system.Intially set point of 20 cm is given which is tracked in 1194.2 sec and another
set point of 25 cm given at t = 2500 sec which is tracked in 500 sec. Also, percentage overshoot
of conventional PI controller is more than that of 2 DOF PI controller.
Page | 26
Fig. 5.6 Set point tracking response of PI and 2 DOF PI controller for two tank non interacting system.
Table VII shows Perfomance index of PI and 2 DOF PI controller for two tank non interacting
system.There is reduction in overshoot for 2 DOF PI controller as compared to the conventional
PI controller. Setlling time and peak time for 2 DOF PI controller increases and system becomes
sluggish.So, there is trade off between % overshoot and setlling time for the system.Set point
weighting factor can be choosen in way which can provide less overshoot as well as smaller
setlling time.
Table VII Perfomance index of PI and 2 DOF PI controller for two tnk non interacting system.
PI 2 DOF PI(a=0.75)
2 DOF PI(a=0.85)
% Overshoot 8.0071 1.7044 3.8404
Settling Time(sec) 1494.2 1485.7 1475.9
Peak Time(sec) 623 702 666
Disturbance rejection response
Fig. 5.7 shows the disturbance rejection response of PI and 2 DOF PI controller for two tank non
Page | 27
interacting system. Unkown Disturbance is given at t = 1500 sec, and time taken to reject the
disturbance is 1000 sec. Moreover, response of both controller is same as the controller is
desgined for disturbance rejection.
Fig 5.7 Disturbance rejection response of PI and 2 DOF PI controller for two tank non interacting system.
Set point tracking response of 2 DOF PID and PID controller for two tank non interacting tank
system
Fig 5.8 shows the set point tracking response of PID and two degree of freedom PID controller
with set point weighting factor values a = 0.75,0.85 and b = 0.85,0.95 for two tank non
interacting system.Intially set point of 20 cm is given which is tracked in 520 sec by PID
controller but 2 DOF PID controller take a more time to track the set point and another set point
of 25 cm given at t = 1500 sec which is tracked in 550 sec. Also, overshoot of conventional PID
controller is more than that of 2 DOF PID controller.
Page | 28
Fig. 5.8 Set point tracking response of PID and 2 DOF PID controller for two tank non interacting system.
Table VIII shows Perfomance index of PID and 2 DOF PID controller for two tank non
interacting system.There is reduction in overshoot of 2 DOF PID controller as compared to the
conventional PID controller. Setlling for 2 DOF PID controller increases and system becomes
sluggish.So, there is trade off between % overshoot and setlling time for the system.Set point
weighting factor can be choosen in way which can provide less overshoot as well as smaller
setlling time and it can be set based on our control requirement.
Table VIII Perfomance index of PID and 2 DOF PID controller for two tank non interacting system.
PID 2 DOF PID(a=0.75
b=0.85)
2 DOF PID(a=0.85
b=0.95)
% Overshoot 4.9605 0 0
Settling Time(sec) 520.0669 733.6098 874.4588
Peak Time(sec) 330 - -
Page | 29
Disturbance rejection response
Fig. 5.9 shows the disturbance rejection response of PID and 2 DOF PID controller for two tank
non interacting system. Unkown Disturbance is given at t = 1500 sec, and time taken to reject the
disturbance is 1250 sec. Moreover, response of both controller is same as the controller is
desgined for disturbance rejection.
Fig 5.9 Disturbance rejection response of PID and 2 DOF PID controller for two tank non interacting system.
5.1.3 Simulation Response for two tank interacting system
Table IX shows the tuning parameters values of PI and PID controller for two tank interacting
system.
Table IX Tuning parameters values of controller for two tank interacting system.
Kp Ti(sec) Td(sec)
PI 3.728 116.55
PID 4.971 70 17.5
Page | 30
For PI
Ki = Kp/Ti = 0.031
For PID
Ki = Kp/Ti = 0.0710
Kd = Kp*Td = 86.992
Set point tracking response of 2 DOF PI and PI controller for two tank interacting tank system.
Fig 5.10 shows the set point tracking response of PI and 2 DOF PID controller with set point
weughting factor value a = 0.88 and 0.95 for two tank interacting system.Intially set point of 20
cm is given which is tracked in 2500 sec and another set point of 25 cm given at t = 3500 sec
which is tracked in 1500 sec. Also, overshoot of conventional PI controller is more than that of 2
DOF PI controller.
Fig. 5.10 Set point tracking response of PI and 2 DOF PI controller for two tank interacting system.
Table X shows Perfomance index of PI and 2 DOF PI controller with set point weighting factor
a = 0.88 and 0.95 for two tank interacting system.There is reduction in overshoot of 2 DOF
PIcontroller as compared to the conventional PI controller. Setlling time for 2 DOF PI controller
increases and system becomes sluggish.So, there is trade off between % overshoot and setlling
Page | 31
time for the system.Set point weighting factor can be choosen in way which can provide less
overshoot as well as smaller setlling time and it can be set based on our control requirement.
Table X Performance index of PI and 2 DOF PI controller for two tank interacting system
PI 2 DOF PI(a=0.88) 2 DOF PI(a=0.95)
% Overshoot 11.4540 9.1406 10.3695
Settling Time(sec) 2500.5 2495.5 2490.3
Peak Time(sec) 1168 1256 1208
Disturbance rejection response
Fig. 5.11 Disturbance rejection response of PI and 2 DOF PI controller for two tank interacting system.
Fig. 5.11 shows the disturbance rejection response of PI and 2 DOF PI controller for two tank
non interacting system. Unkown Disturbance is given at t = 3500 sec, and time taken to reject the
disturbance is 1250 sec. Moreover, response of both controller is same as the controller is
desgined for disturbance rejection
Page | 32
Set point tracking response of 2 DOF PID and PID controller for two tank interacting tank
system
Fig 5.12 shows the set point tracking response of PID and 2 DOF PID controller with set point
weighting factor value a = 0.75 and b=0.85 for two tank interacting system.Intially set point of
20 cm is given which is tracked in 621.71 sec and another set point of 25 cm given at t = 2000
sec which is tracked in 600 sec. Also, overshoot of conventional PID controller is more than that
of 2 DOF PID controller.
Fig. 5.12 Set point tracking response of PID and 2 DOF PID controller for two tank interacting system.
Table XI shows Perfomance index of PID and 2 DOF PID controller with set point weighting
factor a = 0.75 and b=0.85 for two tank interacting system.There is reduction in overshoot of 2
DOF PIcontroller as compared to the conventional PID controller. Setlling time for 2 DOF PID
controller increases and system becomes sluggish.So, there is trade off between % overshoot and
setlling time for the system.Set point weighting factor can be choosen in way which can provide
less overshoot as well as smaller setlling time and it can be set based on our control requirement.
Page | 33
Table XI Performance index of PID and 2 DOF PID controller for two tank interacting system.
PI
2 DOF PI(a=0.75
b=0.75)
2 DOF PI(a=0.85
b=0.85)
% Overshoot 8.9877 0.0019 2.3752
Settling Time(sec) 621.7103 529.5069 516.4117
Peak Time(sec) 402 _ 464
Disturbance rejection response
Fig. 5.13 Disturbance rejection response of PID and 2 DOF PID controller for two tank interacting system.
Fig. 5.13 shows the disturbance rejection response of PID and 2 DOF PID controller for two tank
non interacting system. Unkown Disturbance is given at t = 2000 sec, and time taken to reject the
disturbance is 1250 sec. Moreover, response of both controller is same as the controller is
desgined for disturbance rejection.
Page | 34
5.2 Experimental Results
Set point tracking and disturbance rejection response of PI controller for single tank system.
Fig. 5.14 shows the set point tracking response of PI controller for single tank system.set point of
15 cm is given which tracked in around 900 sec another set point of 20 cm is given t = 900 secs
which is tracked in 600 sec.
Fig. 5.14 Experimental response of Set point tracking for PI controller single tank system.
Disturbance rejection response
Fig. 5.15 shows the disturbance rejection response of PI controller for single tank.Intially level of
tank is zero cm , set point of 20 cm is given to system which is tracked in 300 sec and unkown
disturbance is given to system at t= 350 secs which is rejected in 100 sec.There is increase in
percentage overshoot as compared to the set point tracking response.This is main disadavantage
of conventional PI controller.
Page | 35
Fig. 5.15 Experimental response of disturbance rejection for PI controller single tank system.
Comparison between simulation response and practical response of PI controller for set point
tracking.
Fig. 5.16 shows the comparison between simulation response and practical response of PI
controller for set point tracking. Experimental response as shown in fig. 15.6a indicates the
sluggish response as compared to simulation response shown in fig. 15.6b this because of
presence of modelling error and experimental response shows the more tracking time as
compared to simulation response.
Fig 5.6a Experimental response Fig 5.6b Simulation response
Fig 5.16 Comparison between simulation and experimental response of set point tracking for single tank system.
0
5
10
15
20
25
0 100 200 300 400 500 600 700 800
LIq
uid
leve
l(cm
s)
Time(secs)
disturbance rejection
Page | 36
Table XII indicates the comparison of performance index of experimental response and simultion
response of PI controller for single tank system. Percentage overshoot and setlling time is more
in experimental response as compared to simulation response. Peak time is less in simulation
response as compared to experimental response.
Table XII comparison of performance index of experimental response and simultion resposne of PI controller for
single tank system .
Experimental Response Simulation Response
Overshoot (%) 25 8.4569
Settling time(secs) 900 600
Peak Time(secs) 371.79 287
Comparison of disturbance rejection of experimental response and simultion resposne of PI
controller single tank system
Fig. 5.17 shows the comparison between the simulation response and experimental response of
PI controller for disturbance rejection. Percentage overshoot is more in practical response which
is shown in fig. 5.17a as compared to experimental response, shown in fig. 5.17b but the time
taken to remove the disturbance is less in practical response as compared to experimental
response.
Fig 5.17a Experimental response Fig. 5.17b Simulation response
Fig. 5.17 Comparison between the simulation response and experimental response of PI controller for disturbance
rejection.
0
5
10
15
20
25
0 200 400 600 800
LIq
uid
leve
l(cm
s)
Time(secs)
disturbance rejection
0 200 400 600 800 1000 1200 1400 1600 1800 20000
5
10
15
20
25
30
35
Time(secs)
Liq
uid
Level(cm
s)
Page | 37
Set point tracking and disturbance rejection response of PID controller for single tank system.
Fig. 5.18 shows the Set point tracking response of PID controller. Set point of 15 cm is given to
the system which is tracked in 1000 sec another set point of 20 cm given at time t = 1250 sec
which is tracked in 700 sec.
Fig. 5.18 Experimental response of set point tracking for PID controller single tank system.
Disturbance rejection
Fig. 5.19 shows the disturbance rejection response of PID controller for single tank.Intially level
of tank is zero cm , set point of 20 cm is given to system which is tracked in 250 sec and
unkown disturbance is given to system at t = 320 secs which is rejected in 80 sec.System is
desinged to have good disturabance rejection but set point tracking with the same tuning
parameters is not so good which is the main disadvantage of conventional PID controller.
Page | 38
Fig. 5.19 Experimental response for disturbance rejection response of PID controller single tank system.
Comparison between simulation response and practical response of PID controller for set point
tracking for single tank system
Fig. 5.20 shows the comparison between simulation response and practical response of PID
controller for set point tracking. Simulation response as shown in fig. 5.20b indicate the sluggish
response as compared to the practical response shown in fig. 5.20a this because of presence of
modelling error and simulation response shows the more tracking time as compared to practical
response.
Fig. 5.20a Experimental response Fig. 5.20b Simulation response
Fig. 5.20 Comparison between simulation response and practical response of PID controller single tank for set
point tracking.
0
5
10
15
20
25
0 100 200 300 400 500
Liq
uid
leve
l(cm
s)
Time(secs)
disturbance rejection
0 500 1000 1500 2000 2500 30000
5
10
15
20
25
Liq
uid
level(cm
)
Time(sec)
Page | 39
Table XIII indicates the comparison of performance index of experimental response and
simultion response of PID controller for single tank system. Percentage overshoot is more in
experimental response as compared to simulation response. Simulation response shows the
system is more sluggish as compared to the experimental response.
Table XIII Comparison of performance index of experimental response and simultion resposne of PID controller
for single tank system
.
Comparison between the simulation response and experimental response of PID controller for
disturbance rejection
Fig. 5.21 shows Comparison between the simulation response and experimental response of PID
controller for disturbance rejection. Percentage overshoot is more in practical response as
compared to experimental response but the time taken to remove the disturbance is less in
practical response as compared to experimental response.
Fig 5.21a Experimental response Fig. 5.21b Simulation response
Fig. 5.21 Comparison between the simulation response and experimental response for
disturbance rejection of PID controller single tank system.
0
5
10
15
20
25
0 100 200 300 400 500
Liq
uid
leve
l(cm
s)
Time(secs)
disturbance rejection
0 500 1000 1500 2000 2500 30000
5
10
15
20
25
Time(sec)
Liq
uid
level (c
m)
Experimental Response Simulation Response
Overshoot (%) 20 9.3288
Settling time(sec) 1200 980
Peak Time(sec) 410 292
Page | 40
Set point tracking and disturbance rejection response of 2 DOF PI controller for single tank
system.
Fig. 5.22 shows the Set point tracking and disturbance rejection response of 2 DOF PI controller
with set point weighting factor a = 0.45 for single tank system. Set point of 30 cm is given to
system and response settles at level of 31 cm with very small percentage overshoot as compared
to conventional PI controller. Another set point of 30 cm and 35 is given at time t = 450 sec and
650 sec which is tracked in 100 sec.
Fig. 5.22 Experimenatl response of set point tracking for 2 DOF PI controller single tank system.
Disturbance rejection response
Fig. 5.23 shows the disturbance rejection response of 2 DOF PI controller with set point factor
a = 0.45. Intially level of tank is at zero cm , set point of 30 cm is given to system which is
tracked in 250 sec and unkown disturbance is given to system at t = 320 secs which is rejected in
80 sec. Percentage overshoot is decreased as compared to the conventional PI controller. So, 2
DOF PI controller have both good set point tracking as well as good disturbance rejection
response.
0
5
10
15
20
25
30
35
40
45
0 200 400 600 800 1000
Liq
uid
leve
l (cm
)
Time(secs)
Set point tracking Response
Page | 41
Fig. 5.23 Experimental response for disturbance rejection of 2 DOF PI controller single tank system.
Comparison between simulation response and experimental response of 2 DOF PI controller for
set point tracking.
Fig. 5.24 shows the comparison between simulation response and experimental response of PI
controller for set point tracking. Initially set point of 30 cm, 35 cm and 40 cm is given to the
system as shown in fig. 5.24a and fig. 5.24b. Simulation response shows the sluggish response as
compared to the practical response because of presence of modelling error and simulation
response shows the more tracking time as compared to experimental response.
Fig. 5.24a Experimental response Fig. 5.24b Simulation response
Fig. 5.24 Comparison between simulation response and experimental response of set point tracking for 2 DOF PI
controller.
0
5
10
15
20
25
30
35
0 200 400 600 800
Liq
uid
Lev
el(c
m)
Time(sec)
disturbance rejection
0
5
10
15
20
25
30
35
40
45
0 200 400 600 800 1000
Liq
uid
leve
l (cm
)
Time(secs)
Set point tracking Response
Page | 42
Table XIV shows the Comparison between performance index of experimental response and
simulation response of 2 DOF PI Controller with set point weighting factor a = 0.45. Percentage
overshoot is 0 for simulation response and 3.79 as compared to experimental response. Settling
time and peak time is less for experimental response as compared to experimental response.
Table XIV Comparison between performance index of experimental response and simulation response of 2 DOF
PID Controller.
Experimental response Simulation response
Percentage Overshoot 3.79 0
Settling time(sec) 280 738..0336
Peak time(sec) 230 _
Comparison between Disturbance rejection of simulation response and experimental response of
2 DOF PI controller
Fig. 5.25 shows the Comparison between Disturbance rejection of simulation response and
experimental response of 2 DOF PI controller. Initially Set point of 30 cm is given to the system
which is tracked in 280 sec and in 690 sec as shown by fig. 5.25a and fig. 5.25b respectively.
Experimental response shows faster rejection in disturbance as compared to simulation shown in
fig 5.25a and fig.5.25b respectively.
Fig 5.25a Experimental response Fig. 5.25b Simulation response
Fig. 5.25 Comparison between simulation response and experimental response of disturbance rejection for2 DOF
PI controller single tank system.
Set point tracking and disturbance rejection response of 2 DOF PID controller for single tank
system.
0
5
10
15
20
25
30
35
0 200 400 600 800
Liq
uid
Lev
el(c
m)
Time(sec)
Page | 43
Fig. 5.26 shows the Set point tracking and disturbance rejection response of 2 DOF PID
controller with set point weighting factor a = 0.55 and b = 0.65 for single tank system. Set point
of 30 cm is given to system and response settles at level of 31 cm with very small percentage
overshoot as compared to conventional PID controller. Another set point of 35 cm and 20 is
given at time t = 350 sec and 550 sec which is tracked in 100 sec.
Fig. 5.26 Experimental response of set point tracking of 2 DOF PID controller single tank system.
Disturbance rejection response
Fig. 5.26 shows the disturbance rejection response of 2 DOF PID controller with set point factor
a = 0.55 and b = 0.65. Intially level of tank is at zero cm , set point of 20 cm is given to system
which is tracked in 250 sec and unkown disturbance is given to system at t = 320 secs which is
rejected in 80 sec. Percentage overshoot is decreased as compared to the conventional PI
controller. So, 2 DOF PID controller have both good set point tracking as well as good
disturbance rejection response.
0
5
10
15
20
25
30
35
40
0 200 400 600 800 1000
Liq
uid
leve
l (cm
s)
Time(secs)
Page | 44
Fig. 5.27 Experimental response of disturbance rejection for 2 DOF PID controller single tank system.
Comparison between simulation response and experimental response of 2 DOF PID controller
for set point tracking.
Fig. 28 shows Comparison between simulation response and experimental response of 2 DOF
PID controller for set point tracking with set point weighting factor a = 0.55 and b = 0.65.
Initially set point of 30 cm, 35 cm and 25 cm is given to the system as shown in fig. 5.28a and
fig. 5.28b. Simulation response shows the sluggish response as compared to the practical
response because of modelling error and simulation response shows the more tracking time as
compared to experimental response
Fig. 5.28a Experimental response Fig. 5.28b Simulation response
Fig. 5.28 Comparison between simulation response and experimental response of set point tracking for 2 DOF PID
controller single tank system.
0
5
10
15
20
25
30
35
0 100 200 300 400 500 600
Liq
iud
leve
l(cm
)
Time(sec)
0
5
10
15
20
25
30
35
40
0 200 400 600 800 1000
Liq
uid
leve
l (cm
s)
Time(secs) 0 500 1000 1500 2000 2500 30000
5
10
15
20
25
30
35
Liq
uid
level(cm
)
Time(sec)
Page | 45
Table XV shows the Comparison between performance index of experimental response and
simulation response of 2 DOF PID Controller with set point weighting factor a = 0.55 and b =
0.65. Percentage overshoot is 0% for simulation response and 2.58 % as compared to
experimental response. Settling time is less for experimental response as compared to
experimental response.
Table XV Comparison between performance index of experimental response and simulation response of 2 DOF
PID Controller
Experimental response Simulation response
Percentage overshoot 2.58 0
Settling time(sec) 293.65 470.86
Peak time(sec) 190.32 -
Comparison between experimental response and simulation response of 2 DOF PID controller
for disturbance rejection.
Fig. 5.29 shows Comparison between experimental response and simulation response of
Disturbance rejection for 2 DOF PID controller. Set point of 30 cm is given to the system which
is tracked in 280 sec and in 690 sec as shown by fig. 5.29a and fig. 5.29b respectively.
Experimental response shows faster rejection in disturbance as compared to simulation response
which is shown in fig 5.29a and fig.5.29b respectively.
Fig 5.29a Experimental response Fig. 5.29b Simulation response
Fig. 5.29 Comparison between simulation response and experimental response of disturbance rejection for 2 DOF
PID controller single tank system.
0
5
10
15
20
25
30
35
0 200 400 600
Liq
iud
leve
l(cm
)
Time(sec) 0 500 1000 1500 2000 2500 30000
5
10
15
20
25
30
35
time(sec)
Liq
uid
le
vel(cm
)
Page | 46
Chapter 6
Conclusion
Set point tracking response of single tank and two tank interacting as well as non-interacting
improves after designing these controllers for the disturbance rejection. Maximum overshoot for
the 2- DOF PID controllers is 3%. Settling time also reduces for the non-interacting tank process.
There is good amount of reduction in overshoot for the interacting tank process. 2- DOF PI
controller shows better set point tracking response than conventional PI controller. While
keeping the other tuning parameters fixed, Set point tracking response can be improved by
adjusting the set point weighting parameters a and b for the PID controller and set point
weighting parameters a for PI controller. It has been observed that increasing the value of the Set
point weighting factor a reduces the overshoot while increasing the value of the set point
weighting factor b improves the transient response. So, the values of a and b should be chosen
according to the control requirement.
Future Work
In process control industries, it is essential to design such systems that fulfill most of the
requirements. Lots of work has been done to improve the response of PI/PID controller for set
point tracking for different model, but in case of disturbance rejection with good set point
rejection, few research papers are published and a lot of work is to be done and also there is
scope in improvement of tuning procedure of 2 DOF PI/PID controller. In this research paper,
first order and second order system is taken. It can be further extend to higher order systems like
three tanks interacting and non-interacting system quadruple tank interacting and non-interacting
system.2 DOF PI/PID controller can be used with the decoupler to reduce the interaction with the
system.
Page | 47
References
1. Carlos A. Smith & B. corripio, Principles and Practices of Automatic Process control,
New York, John Wiley & sons, 1997.
2. Nemati. H, & Bagheri.P, “A new approach to tune the two-degree-of-freedom (2 DOF)”,
In IEEE International Symposium on Computer-Aided Control System Design(CACSD),
pp. 1819-1824,2010.
3. M. Araki and H. Taguchi, “Two-Degree-of-Freedom PID Controllers”, International
Journal of Control, Automation and Systems, vol. 1 , pp. 401-411, 2003.
4. Alfaro, V. M., Vilanova, R., & Arrieta, O. , “Analytical robust tuning of PI controllers for
first-order-plus-dead-time processes”, In IEEE International Conference on Emerging
Technologies and Factory Automation, ETFA, pp. 273-280, 2008.
5. Alfaro, Victor M., Ramon Vilanova, and Orlando Arrieta. " Two-degree-of-freedom
PI/PID tuning approach for smooth control on cascade control systems ", IEEE
Conference on Decision and Control, Vol. 47, pp. 5680-5685, 2008.
6. Beschi, Manuel, S. Dormido, J. Sánchez, and Antonio Visioli. "A new two degree of
freedom event-based PI control strategy." In IEEE American Control Conference, pp.
2362-2367, 2012.
7. Alfaro, Víctor M., and Ramon Vilanova. "Two-degree-of-freedom proportional integral
control of inverse response second-order processes." In IEEE International Conference on
System Theory, Control and Computing, Vol.16, pp. 1-6, 2012.
8. V.S. Aditya, B. Shiva Kumar Reddy, M. Suryaprakash rao and D.V.L.N. Sastry,” tuning
of PID controller for a multi capacity tanks systems by different methods” International
Journal of Advanced Research in Electronics and Communication Engineering, Vol. 1,
no. 3, September 2012.
9. Vilanova, R., V. M. Alfaro, and O. Arrieta. "Ms based approach for simple robust PI
controller tuning design." In Proceedings of the international multi conference of
engineers and computer scientists, pp. 767-771. 2011.
Page | 48
10. Basilio, J. C., and S. R. Matos. "Design of PI and PID controllers with transient
performance specification." IEEE Transactions on Education, Vol. 45, no. 4, pp. 364-370,
2002.
11. VItecková, Miluše, and AntonIn VItecek. "Two-degree of freedom controller tuning for
integral plus time delay plants." ICIC Express Letters, Vol. 2, no. 3 , pp.225-229, 2008.
12. Villanova, R., V. M. Alfaro, and O. Arrieta. "Analytical robust tuning approach for two-
degree-of-freedom PI/PID controllers." Engineering Letters, Vol. 19, no. 3,204-214,2011.
13. Alfaro, Víctor M., and Ramon Vilanova. "Robust tuning of 2-DOF five-parameter PID
controllers for inverse response controlled processes.”, Journal of Process Control, vol.
23, no. 4, pp. 453-462, 2013.
14. Åström, Karl Johan, and Tore Hägglund. "The future of PID control." Control
engineering practice, Vol.9, no. 11, pp.1163-1175, 2001.
15. Miklosovic, Robert, and Zhiqiang Gao. "A robust two-degree-of-freedom control design
technique and its practical application." In IEEE conference on Industry Applications,
vol. 3, pp. 1495-1502,2004.
16. M. Araki and H. Taguchi, “Two-Degree-of-Freedom PID Controllers”, International
Journal of Control, Automation,and Systems, vol. 1 , pp. 401-411, 2003.
17. Wang L. “Tuning PID controllers for integrating process”,IEEE Proc Part D, vol. 144,
no. 4, pp.385-392, 1997.
18. Zhang W D. “PID control for integrator and dead time process,” ACTA Automatica
Sintca, Vol. 25, no. 4, pp. 518- 523, 1999.
19. Zhang W D. “Quantitative performance design for integrating process with time delay”.
Automatica, vol. 35, no.7, pp. 518-723, 1999.
20. M. Araki, “PID control system with reference feed forward(PID-FF control system)”,
Proc. of 23rd SICE (Society of Instrument and Control Engineers) Annual Conference,
pp. 31-32, 1984.