Professional Documents
Culture Documents
Spring 2018
CHEG412
TEAM MEMBERS:
DATE: 2/05/2018
SECTION: 02
Table of Contents
1.0 Abstract ................................................................................................................................ 1
2.0 Introduction ......................................................................................................................... 2
2.1 Theory............................................................................................................................... 2
2.2 Objectives of The Experiment: ........................................................................................ 3
2.3 Working Equations........................................................................................................... 4
3.0 Apparatus ............................................................................................................................. 6
4.0 Procedure ............................................................................................................................. 8
5.0 Experiment Result.............................................................................................................. 10
5.1 Proportional (P) Only ..................................................................................................... 10
5.2 Proportional Integrated (PI) .......................................................................................... 10
5.3 Proportional Integrated Derivative (PID) ...................................................................... 11
5.4 Inflow rate ON-OFF Controller ...................................................................................... 12
5.5 Outflow rate ON-OFF Controller ................................................................................... 13
5.6 PID for Outlet and Inlet Flow Rate Controller .............................................................. 13
6.0 Discussion........................................................................................................................... 15
7.0 Conclusion .......................................................................................................................... 17
8.0 References ......................................................................................................................... 18
9.0 Appendices:........................................................................................................................ 19
9.1 Experiments Graph: ....................................................................................................... 19
9.1.1 Proportional (P) Only ................................................................................................. 19
9.1.2 Proportional Integrated (PI) Control ......................................................................... 20
9.1.3 Proportional Integrated Derivative (PID) Control..................................................... 22
9.1.4 Inflow rate ON-OFF Controller .................................................................................. 23
9.1.5 Inflow rate PID Controller .......................................................................................... 24
9.1.6 Outflow rate ON-OFF Controller ............................................................................... 24
9.1.7 Outflow rate PID Controller ....................................................................................... 25
Figure of Contents
This experiment was carried out at the Process Control Lab under the supervision of Lab
Instructor Mr. Ahmed Nafees. The experiment was conducted to control the water level of
the tank to reach set point which is 190 mm by using PCT40 equipment. Furthermore, the
experiment used feedback controller method which have three types of controller such as
proportional, P integral, I and derivative, D controller. Each types of controller have their own
capabilities to smooth the response system and achieve the set point. For instance, P
controller can faster the response but it cannot eliminate the offset. Moreover, I controller
can eliminate offset by changing the output measured with time until error is zero. Where
output measured reached steady state. However, the response become more sluggish. In
addition, D controller must work with P or I or both controller to stabilize the response
system. Thus, the experiment is to identify the characteristic response of the system by using
different effect of PID parameter and to compare the PID controller between manipulating
outflow rate and inflow rate. Based on experiment result, the higher the proportional gain, Kc
the lower the offset. Moreover, the lower the integrated time, τI the faster the response
system. Other than that, based on theory, the best controller is to have optimum value of PID
parameter and combine three types of controller together to get highest performance of
response which can eliminate offset at shorter time and has better stability criteria. From the
experiment, we run on-off controller which is one of the way to get optimum value of PID
controller. Therefore, the optimum value of PID parameter in our experiment are 5% for P,
10 secs for I and 5 secs for D controller which is the value for outflow rate PID controller. In
conclusion, we can find the optimum value for PID parameter by running on-off controller to
achieve highest performance of system response.
1|P a g e
2.0 Introduction
This experiment was carried out at the Process Control Lab under the supervision of Lab
Instructor Dr. Ahmed Nafees. The experiment was conducted to control the water level of
the tank to reach set point which is 190 mm by using PCT40 equipment. PCT40 equipment is
The Armfield PCT40 which provides a cost-effective way of teaching a wide range of process
control techniques in a simple basic unit. Moreover, it is a multi-function process control
teaching system which is capable of demonstrating level, flow, pressure and temperature
control loops. However, in our experiment, we only have to measured level variable and
using feedback control method. The PCT40 contains everything that is needed to perform a
range of single-loop process control experiments in conjunction with a PC.
The PCT40 includes a computer interface (USB), and all of the parameters can be controlled
directly from the computer, (ie the pump speeds), the valve positions and the heater power.
The computer also displays the readings from the various measurement sensors. The
software supplied with the unit includes on/off, time proportioned and
proportional/integral/derivative (PID) algorithms where all the parameters are easily
accessed and adjusted by the user. This approach means that a separate electronic console is
unnecessary for most applications.
2.1 Theory
A proportional–integral–derivative controller (PID controller or three term controller) is
a control loop feedback mechanism widely used in industrial control systems and a variety of
other applications requiring continuously modulated control. A PID controller continuously
calculates an error value as the difference between a desired setpoint (SP) and a
measured process variable (PV) and applies a correction based on proportional, integral,
and derivative terms (denoted P, I, and D respectively) which give the controller its name.
Term P is proportional to the current value of the SP − PV error e(t). For example, if the error
is large and positive, the control output will be proportionately large and positive, taking into
account the Proportional gain, Kc. By increasing the Kc, the offset of the response system will
be lower. Nevertheless, the controller become saturates when its output reaches a physical
limit, either Kcmax or Kcmin when the controller reaches it saturates. If the Kc reaches over the
physical limit, the system will be unstable. (Agarwal, 2016)
2|P a g e
Furthermore, for Integral controller which prefer to term I accounts for past values of the
SP − PV error and integrates them over time to produce the I term. For example, if there is a
residual SP − PV error after the application of proportional control, the integral term seeks to
eliminate the residual error by adding a control effect due to the historic cumulative value of
the error. When the error is eliminated, the integral term will cease to grow. This will result in
the proportional effect diminishing as the error decreases, but this is compensated for by the
growing integral effect. In addition, the decreasing τI tends to speed up the response and
make the response become more oscillatory. Thus, the response become more sluggish. (PID
Theory Explained, 2011)
Next, other than P and I term, Derivative controller which is term D is a best estimate of the
future trend of the SP − PV error, based on its current rate of change. It is sometimes called
"anticipatory control", as it is effectively seeking to reduce the effect of the SP − PV error by
exerting a control influence generated by the rate of error change. The more rapid the
change, the greater the controlling or dampening effect. However, by providing anticipatory
control action, the derivative mode tends to stabilize the controlled process. Thus, it is often
used to counteract the destabilizing tendency of the integral mode. In addition, D controller
is never used alone, it is always used in conjunction with P or PI controller. Other than that,
increasing derivative time, τD will has less oscillation and slower the response of the system
This is due to derivative control action tends to improve dynamic response of the controlled
variable by settling time, the time it takes reducing to reach the steady state. (Seborg, Edgar,
Mellichamp, & Doyle III, 2011)
Running on-off controller is one of the ways to tune the controller to get the best PID values.
In order to turn to on off controller in PCT40 equipment, the PID values should be zero. After
that, specify a set point and choose the automatic button and run the experiment. The level
in the tank will keep increasing until a certain limit then PSV will turn off to decrease the
level. The level will continue to decrease until it reaches to a lower limit, where the PSV will
be on again and let the level raise again and so on.
3|P a g e
2.3 Working Equations
Formula PID parameter calculation. Figure 1 shows the example to identify ymax, ymin and
time,t where is ymax is the highest over shoot and ymin is the lowest over shoot and t is the
time between those two.
The PID parameter from the value of inflow rate ON-OFF Controller:
4|P a g e
The PID parameter from the value of outflow rate ON-OFF Controller:
5|P a g e
3.0 Apparatus
The main equipment used in the experiment is called the Large process Vessel, which is part
of the PCT40. The PCT40 Unit is divided into several parts that were utilized in the
experiment which are listed below:
1- Small Process Vessel
a. Heating/Cooling Coil
b. Heating Element
c. Thermometer
d. Temperature Sensors
2- Large Process Vessel
a. Dip Tube
b. Cover Lid
c. Differential Level Switch
d. Float Switch
e. Scale
3- Inlet Flowmeter
4- Gear Pump
5- Manual valves
6- Control Software
The PCT40 can be seen in the figure below. Figure 2 shows the PCT40 Unit as a whole,
whereas Figure 3 focuses on the parts which were used in the experiment, the Large Process
Vessel.
6|P a g e
Figure 3: Large Process Vessel Schematics
The large process vessel is an acrylic container that contains yet another smaller vessel within
it. The vessel within is removable and is mainly used to change the volume of the vessel
(Either decrease or increase in this case). Other main parts of the vessel are the level scale,
float switch, and differential level switch which are strategically placed within the large vessel
as well as seen in the figure above. The lid that covers the whole vessel is utilized to support
an adjustable height level switch, a differential level switch as well as a dip tube that can be
used to fill or drain the vessel when in use. It is designed with several opening which allow for
any necessary connections and fittings that may be used for the experiment. Finally, a
piezoelectric pressure sensor can be seen mounted at the base of the large process vessel
which is mainly used to measure the level in the tank.
7|P a g e
4.0 Procedure
8|P a g e
4. The effect of the Derivative time:
o Keep the Proportional band and the integral time values constant at a certain
value of your choice and add a derivative time of your choosing
o Run new results sheet and start logging the data for each different value of D
o Save your file to an excel file
o Generate plots for each case and discuss the effect that the derivative action
has done to the response of the system.
9|P a g e
5.0 Experiment Result
The graphs have been drawn between time elapse and output tank level with varies of
Proportional Band, Integrated time and Derivative time. The set point of the experiment is
190 mm level of the tank. These graphs are used to observe the response of the system.
Figure 4: Graph of Output Tank Level against Elapsed Time with Three Varies Proportional
Conditions
10 | P a g e
Figure 5: Graph of Output Level Tank Against Time Elapse with Three Varies Time Integrated,
τI Conditions.
11 | P a g e
Figure 6: Graph of Output Level Tank Against Time Elapse with Three Varies Time Derivative,
τD Conditions
Figure 7: Graph Output Level Tank Against Elapsed Time for Inflow rate on-off Controller.
12 | P a g e
5.5 Outflow rate ON-OFF Controller
ON-OFF for outlet control is to identify the limitations of maximum and minimum output
level tank and duration time for maximum goes to minimum output level tank when
manipulating outflow rate controller. The value of Proportional Band, Integrated time and
Derivative time is 0. Figure 8 shows graph output level tank against elapsed time for ON-OFF
for outlet control. Maximum and minimum output level tank are 197 mm and 181 mm
respectively. Meanwhile, duration for maximum goes to minimum output level tank is 30
secs.
Figure 8: Graph Output Level Tank Against Elapsed Time for Outflow rate ON-OFF controller
13 | P a g e
Figure 9: Graph Output Level Tank Against Elapsed Time for Inflow rate and Outflow rate PID
Controller.
14 | P a g e
6.0 Discussion
Based on the experiment result, the effect of Proportional Band, PB for the P-Only controller,
as we observed, the PB at 5% has lowest offset compare to PB at 10% and 15%. This is
because the higher the PB will cause the lower of proportional gain, Kc, due to eq.
. Thus, the lower the Kc, the higher the offset of system response. Moreover, PB at
5% is the fastest response system compare to the PB at 10% and 15%. This is because, the
higher the Kc, the faster of the response system. Nevertheless, the Kc cannot eliminate the
offset due to output level system has physical limit, either Kcmax or Kcmin when the controller
reaches it saturates. If the Kc reaches over the physical limit, the system will be unstable.
(King, 2011)
Next, for the proportional integrated, PI controller, the integrated time, τI at 1 secs has the
highest oscillation for system response compare to τI at 10 secs and 30 secs. This is because,
based on the theory, the decreasing τI tends to speed up the response and make the
response become more oscillatory. Thus, the highest the τI, the less oscillation of the system
response. Thus, the faster the offset can be eliminated. The reason offset can be eliminated
in integral control because when integral action is used, the controller output level tank, p(t)
automatically changes until it attains the value required to make the steady-state zero error
due to eq.
Moreover, for the effect of the derivative time, τD, it does not eliminate the offsets. However,
by providing anticipatory control action, the derivative mode tends to stabilize the controlled
process. Thus, it is often used to counteract the destabilizing tendency of the integral mode.
In addition, τD at 5 secs has less oscillation and the slowest response of the system compare
to τD at 0.1 secs and 1 secs. This is due to derivative control action tends to improve dynamic
response of the controlled variable by settling time, the time it takes reducing to reach the
steady state. Therefore, the increasing τD will make the overall response become slower and
less oscillatory.
After that, for the experiment inflow rate and outflow rate of on-off controller was
conducted which is as one of the ways to tune the controller and get the best PID values for
manipulating inflow rate and outflow rate controller by using the formulae given. Therefore,
the best values of manipulating inflow rate controller for P, I and D, are 13.5%, 55 secs, and 9
secs respectively. Meanwhile, the best values of manipulating outflow rate controller for P, I
and D, are 5%, 10 secs, and 5 secs respectively. (Seborg, Edgar, Mellichamp, & Doyle III,
2011)
15 | P a g e
From the observation based on figure 6 which is PID controller for outlet flow and inlet flow,
the best PID controller is manipulating outflow rate. This is because, outflow rate PID
controller can eliminate offset faster than inflow rate PID controller by using integral control
action. Moreover, outflow rate PID controller has better stability criteria compare inflow rate
PID controller. In addition, since the PB for PID inflow rate controller is higher which is 13.5%
compare to PB for PID outflow rate controller which is 5%. Derivative control action in PID
inflow rate controller tends to make slower overall response compare to PID outflow rate
controller to improve response of the controlled variable by the settling time, the time it
takes reducing to reach steady state.
16 | P a g e
7.0 Conclusion
In conclusion, we have successfully achieved all the objectives from the experiment such as
from the P controller, the lowest PB which is 5% has the lowest offset and fastest response
due to the higher the Kc the lower the offset until certain limit. Increasing Kc also will provide
faster response. However, Kc will not eliminate the offset. Moreover, for PI controller, the
highest τI which is 1 sec has the highest oscillation system response due decreasing τI will
tends to speed up the response and make the response become more oscillatory. Other than
that, the system response at the highest τD in PID controller has less oscillation and slowest
response due to derivative control action tends to improve dynamic response of the
controlled variable by settling time, the time it takes reducing to reach the steady state.
Other than that, we conducted on-off controller to achieved the best value for PID
parameter. Moreover, by comparing response system between manipulating inflow rate and
outflow rate controller, we observe that, the manipulate outflow rate has the best
performance of system response compare to manipulating inflow rate. This is because,
outflow rate PID controller can eliminate offset faster than inflow rate PID controller by using
integral control action. Moreover, outflow rate PID controller has better stability criteria
compare inflow rate PID controller. In addition, since the PB for PID inflow rate controller is
higher which is 13.5% compare to PB for PID outflow rate controller which is 5%. Derivative
control action in PID inflow rate controller tends to make slower overall response compare to
PID outflow rate controller to improve response of the controlled variable by the settling
time, the time it takes reducing to reach steady state.
17 | P a g e
8.0 References
Agarwal, T. (2016, February 13). How Does A PID Controller Work. Retrieved from Structure &
Tuning Methods: https://www.elprocus.com/the-working-of-a-pid-controller/
Dimian, A. C., & Bildea, C. S. (2008). Chemical Process Design (Computer-Aided Case Studies).
United Kingdom: WILEY-VCH Verlog GmBh & Co.
King, M. (2011). Process Control A Practical Approach. United Kingdom: John Wiley & Sons
Ltd.
Moulijn, J. A., Makkee, M., & Van Diepen, A. E. (2013). Chemical Process Technology (2nd
Edition). United Kingdom: John Wiley & Sons Ltd.
PID Theory Explained. (2011, March 29). Retrieved from National Instruments:
http://www.ni.com/white-paper/3782/en/
Seborg, D. E., Edgar, T. F., Mellichamp, D. A., & Doyle III, F. J. (2011). Process Dynamic and
Control (3rd Edition). United Kingdom: John Wiley & Sons Ltd.
Nafees, A. (2018). CHEG412 Process Dynamic and Control Lab. UAE: Khalifah University of
Science & Technology.
18 | P a g e
9.0 Appendices:
9.1 Experiments Graph:
Condition: PB at 10%
Figure 11: Graph of Output Level Tank against Elapsed Time with PB at 10%
19 | P a g e
Condition: PB at 15%
Figure 12: Graph of Output Level Tank against Elapsed Time with PB at 15%
Figure 13: Graph of Output Level Tank against Elapsed Time with PB at 5% and Integrated
Time at 1 secs
20 | P a g e
Condition: PB at 5% and Integrated Time at 10 secs
Figure 14: Graph of Output Level Tank against Elapsed Time with PB at 5% and Integrated
Time at 10 secs
Figure 15: Graph of Output Level Tank against Elapsed Time with PB at 5% and Integrated
Time at 30 secs
21 | P a g e
9.1.3 Proportional Integrated Derivative (PID) Control
Condition: PB at 5%, Integrated Time at 1 secs and Derivative Time at 0.1 secs
Figure 16: Graph of Output Level Tank against Elapsed Time with PB at 5%, Integrated Time at
1 secs and Derivative Time at 0.1 secs
Figure 17: Graph of Output Level Tank against Elapsed Time with PB at 5%, Integrated Time at
1 secs and Derivative Time at 1 secs
22 | P a g e
Condition: PB at 5%, Integrated Time at 1 secs and Derivative Time at 10 secs
Figure 18: Graph of Output Level Tank against Elapsed Time with PB at 5%, Integrated Time at
1 secs and Derivative Time at 10 secs
Figure 19: Graph of Output Level Tank against Elapsed Time for Inflow rate ON-OFF Controller
23 | P a g e
9.1.5 Inflow rate PID Controller
Condition: PB at 13.5%, Integrated Time at 55 secs and Derivative Time at 9 secs
Figure 20: Graph of Output Level Tank against Elapsed Time for Inflow rate PID Controller
Figure 21: Graph of Output Level Tank against Elapsed Time for Outflow rate ON-OFF
Controller
24 | P a g e
9.1.7 Outflow rate PID Controller
Condition: PB at 5%, Integrated Time at 10 secs and Derivative Time at 5 secs
Figure 22: Graph of Output Level Tank against Elapsed Time for Outflow rate ON-OFF
Controller
25 | P a g e