Professional Documents
Culture Documents
Graph 1 Open-Loop Data – Changes in Tank Level with Changes in Pump Speed....ix
Graph 2 Closed-Loop Data – Changes in Tank Level with Changes in Pump Speed. ix
OBJECTIVES
The main objectives of this experiment were as follows:
1. To develop an open-loop dynamic model between the tank water
levels and the pump speed from input step response data.
2. To study the transient or momentary behaviour of proportional-only
level control loops
APPARATUS
PROCEDURE
i. Prior to turning on the console, the following switches were set as
indicated below:
ʚ All function switches were set to “MANUAL”
ʚ All control potentiometers were set to minimum (fully
counterclockwise)
ʚ Valve control switch for SOL1 was set to “Divert”
ʚ Valve control switch for SOL2 was set to “FEED A”
ʚ Valve control switch for SOL3 was set to “STOP”
ʚ Valve control switch for SOL4 was set to “FILL A”
ʚ Valve control switch for SOL5 was set to “STOP”
ii. The PCT23 console was then switched on and the three
circuit breakers checked to ensure that they were all in the UP position.
The computer was subsequently turned on.
iii. The flow control valve V1 and the pressure reducing valve
PVR1 were fully opened, the former by turning it fully counter-clockwise
and the latter, by turning it fully clockwise. Valves V2, V3, V4 and V5 were
checked to ensure that they were closed.
iv. The water supply valve, mounted on the wall, was then
gradually opened and the makeup water was allowed to flow into feed tank
A until it was approximately half-full (about 150mm). The supply valve was
then closed.
v. The PCT23 icon on the Windows desktop was double-
clicked and experiment B – “1 loop (level L1 to pump N1)” was loaded.
vi. The flexible tubing was loaded into the peristaltic pump N1
and the pump head was clamped onto the tubing. The feed pump was then
switched on and the pump function switch was turned to “USB I/O”.
vii. The mimic diagram was opened and a value of 40 was
entered in the “N1” box.
viii. Following this, the water supply valve was gradually
opened until a slow stream of makeup water started flowing into the feed
tank. The valve, V1 was then adjusted until the inflow balanced the effluent
flow rate, resulting in the vessel level being constant at approximately 50%
of the scale
ix. “View”, “Graph” followed by “Configure the graph data”
was selected from thee toolbar.
x. The graph was then configured as follows:
xi. Variables “Run 1 Tank A level L1 (mm)” and “Run 1 Set-point Term
(Loop 1) (mm)” were placed on the primary axis, and the range set to 0 to
250mm
xii. Variable “Run 1 Feed pump Speed (N1) (%)” was placed on the
secondary axis and the range set to 0- 100%.
xiii. The data sampling was configured for a sample intervals of two(2)
seconds
xiv. The green “GO” icon was clicked to commence the data
collection.
xv. The controller output was increased from 40 to 50 % in the
N1 box and the water level was allowed to fall by 25mm (10% of scale).
xvi. The controller output was returned to 40% and adjusted
until a steady-state was re-established.
xvii. The controller output was decreased to 10 % and the water
level was allowed to rise by 25 mm.
xviii. The controller output was then increased back to 40% and
the controller output was adjusted until steady state was re-established.
xix. The PID box on the mimic diagram was left-clicked and the
current value of L1 was entered in the “Set Point” field to prevent the
controller from ‘bumping’ the process when it is switched from manual to
automatic.
xx. The proportional-only controller was configured by entering
a proportional band of 50%, an integral time of zero (0) seconds and a
derivative time of zero (0) seconds. The controller was then switched to
automatic by pressing “Apply”.
xxi. The system was allowed to run at this operating point for a
few minutes, following which the set point was increased by 25mm.
xxii. The “OK” icon was then clicked and the process was
allowed to move to a new steady-state.
xxiii. The results of steps 12 and 14 were used to derive and
estimate the overall velocity gain, K. A new value of the controller gain, K C
1
was then calculated by use of the IMC tuning rule: KC = θ|K|
xxiv. The PID 1 box was reopened and the corresponding
proportional band was entered. The level set point was decreased by
25mm and the process variables were allowed to line out.
xxv. Step 20 was repeated for a different value of .
xxvi. Approximately 1 Liter of water was dumped into the tank
and the system was allowed to return to steady state operation.
xxvii. Valve V1 was then closed by a few turns so that the inlet
flow was not shut off completely, and when steady-state was achieved,
data collection was stopped.
xxviii. The results were saved in Formula One and Excel formats
and copied onto a diskette. The makeup water valve was closed and the
controller was switched to manual. The controller output was set to 0% and
the software was exited.
xxix. All controls were set to minimum/OFF and all function
switches were set to MANUAL. The computer and console were turned off
and the clamps on the peristaltic pump head were released to prevent
permanent distortion of the flexible tubing.
THEORY
A process has an input which under goes some change to produce an
output. In the manufacturing industries, the aim is to obtain outputs at
specific dimensions, set point of the process. The aim of process control is
to maintain the required dimensions of the output, called the process
variable, by varying the inputs when/if the process experience any
disturbances.
Process control considers two types of control loops – open-loop and
closed-loop. Open-loop systems can be considered as systems in which
the output has no effect on the input, i.e., if any change is made to the
input, a decision has to be made to change it. On the other hand, in
closed-loop systems, the process variable is continuously monitored by a
controller. The function of the controller is to measure the output and
check for deviations from the set point, if there is any it sends a signal for
the input to be change so as to correct the deviation.
Proportional Control
PV = m*(CO) + b
In short, the bias of a P-only controller, is the output of the controller when
the measurement equals set-point, i.e. there is no error. The output bias b
of the controller is also known as manual reset.
EQ 0
EQ 0
b. Empirical Approach
See Appendix B
DISCUSSION
Use of Proportional-Only Controller
For controlling flow rates in closed-loop systems, it is recommended that
proportional-only controllers are the simplest way to reduce changes in
flow rate changes. The disadvantage of this though is that offset is an
inherent characteristic of P-only control throughout a process.
Configuring the controller to a PI control would help eliminate the offset
error. Derivative control is generally not recommended for processes that
respond quickly to change, like flow, since it causes instability and causes
the process to oscillate about its set point. However, for this experiment
that was not necessary to eliminate the offset as part of the experiment
looked at when exactly it occurs.
Bumping
When the set point of a closed-loop system is changed, depending on the
new set point, the system may no longer be at steady state. The controller
will have to send out correct signals so meet the new set point and return
to steady state. If the changes required are significant and sudden, the
system is bumped. The equipment in the process, pumps and motors for
example, can be damaged if sudden and significant changes are made to
their operating conditions.
Controller Gain, Kc
Generally controller gain is defined as the ratio of change of output to
change of input. For this experiment it is mathematically defined as
Kc = 1
θ*│K│
Proportional Band
Proportional band is the percent of the process variable range that causes
100% change in the controller output. The actual significance of the
proportional band can be understood in relation to the range of the
measurement sensor and the range of operation of the control valve. A
proportional band of 100 indicates that the control valve will move over
100% of its range for a 100% measurement sensing range.
Mathematically proportional band is given as
100 %
K=
KC
The effects of proportional band are that
ʚ At low proportional bands, process are prone to oscillating before
returning to a steady state.
ʚ At very high proportional bands, process quickly returns to a steady
state and with very little oscillation but at a offset.
Analysis of Results
The first part of the experiment was carried out under open-loop conditions
while the second part was under closed-loop conditions. The open-loop
data is represented graphically in Graph 1 of the Appendix and closed-
loop data is in Graph 2.
It was noted that throughout the experiment, at steady state conditions, the
pump speed was always 40%. Now in a steady state system there is no
loss or accumulation. At a pump speed of 40%, the inlet flow rate is equal
to the outlet flow rate giving no loss or accumulation.
Consider Graph 1. We see that when the pump speed increases, the tank
level decreases with a linear change until steady state is re-established.
Conversely, when the pump speed is decreased, the tank level increased,
once again linearly, until steady state has been re-established. This is
expected as the system has a direct acting level controller.
RESULTS & CALCULATIONS
Analysis of Results
Consider Graph 2. In the closed-loop system only the set point was
changes. The pump controlled the outlet flow rate while the inlet flow rate
remained constant. When the set point was increased, the pump speed
had to decrease for the tank level to rise and it had to increase when the
set point was lowered for there to be a loss in the water level.
When the litre of water was added to the tank, i.e. the inlet flow rate was
increased, the pump speed increased as the set point was lower than the
level after the addition of the water and a lost had to occur for the water
level to return to the set point.
When the proportional band was changed, to 30% and then to70%,
it was noted that steady state was re-established quicker with the lower
proportional band of 30%. Now the controller gain is inversely proportional
to the time constant, but proportional band is inversely proportional to
controller gain, so this implies that proportional band is directly
proportional to the time constant. Therefore results agree with theory,
decrease in proportional band, decreases time constant
Safety Analysis
ʚ The opening and closing of valves were done as specified to prevent
water flowing into the wrong places.
ʚ The wires were insulated and located behind equipment to prevent the
risk of electrical shocks in the event that spills occur.
ʚ The main valve controlling the water supply was opened slowly to
reduce turbulence which would have lead to instability and also to
prevent the water ‘pounding on’ the pressure sensor L1 at the bottom
of the tank else it would have been damaged.
ʚ The flexible tubing was loaded into the peristaltic pump and the pump
head clamped so as to prevent yanking of the tubing or the tubing
getting caught and damaged on any moving equipment.
ʚ The clamps on the peristaltic pump head were released at the end of
the experiment to prevent permanent distortion of the flexible tubing.
RESULTS & CALCULATIONS
Sources of Errors
ʚ The water flow rate from the main supply would have varied. This
would have caused fluctuations in the inlet flow rate to the tank
preventing complete steady state conditions from being established.
RECOMMENDATIONS
1. Include a high and low level alarm in tank A, just as tank B had, to
prevent overflow from the tank and to prevent damage to the pump in
case of water level dropping to low
2. Connect another tank to the system with a flow control valve, fill this
tank and use it as the water supply. This would ensure a constant
flow rate into Tank A, reducing errors caused by fluctuations in the
inlet flow rate caused by water supplied from water mains.
3. Allow a longer time for steady state to be achieved after changes are
made to the system.
CONCLUSION
The results obtained agree with theory.
For open-loop
2. Changes in pump speed gave a linear change in tank level until
steady state was re-established.
For closed loop
4. The average velocity gain, K, was found to be -0.4745/min
5. For K = -0.4745/min and a time constant of 0.632min the controller
gain Kc was calculated as 3.3346 giving a PB of 30% and for a time
constant 1.475min, Kc was 1.4288 giving PB of 70%.
6. Changes in set point resulted in automatic changes in pump speed
until the tank level reached the set point and steady state could be
achieved.
7. Proportional band is directly proportional to time constant, as
proportional band increases, the time constant increases and the time
taken for the system to achieve steady state increases
8. The actual time constant, θ2 was greater than the theoretical time
constant meaning that the changes occurred faster than expected.
REFERENCES
1. http://www.controlguru.com/wp/p62.html
2. Laboratory Manual CHNG 2009/2010 Chemical Engineering
Laboratory (2007-2008)
3. Lubyen, M.L., W.L. Luyben (1997) “Essentials of Process Control”.
Mc Graw Hill, New York
250 100
225 90
200 80
150 60
125 50
100 40
75 30
50 20
25 10
0 0
0:00:00 0:02:53 0:05:46 0:08:38 0:11:31 0:14:24 0:17:17
Elapsed Time, min:s
L1 N1
GRAPH 1 OPEN-LOOP DATA – CHANGES IN TANK LEVEL WITH CHANGES IN PUMP SPEED.
i
ii
Tank A Level, L1 mm
0
25
50
75
100
125
150
175
200
225
250
L1
0:00:00
0:01:26
0:02:53
0:04:19
N1
0:05:46
0:07:12
0:08:38
0:10:05
0:11:31
0:12:58
0:14:24
0:15:50
0:17:17
0:18:43
0:20:10
0:21:36
0:23:02
0:24:29
0:25:55
0:27:22
0:28:48
0:30:14
0:31:41
0:33:07
0:34:34
0:36:00
0:37:26
0:38:53
0:40:19
0:41:46
0:43:12
Closed Loop Data
0:44:38
Elapsed Time, min:sec
0:46:05
0:47:31
0:48:58
0:50:24
0:51:50
0:53:17
0:54:43
0:56:10
0:57:36
0:59:02
1:00:29
1:01:55
1:03:22
1:04:48
1:06:14
1:07:41
1:09:07
1:10:34
1:12:00
1:13:26
1:14:53
1:16:19
GRAPH 2 CLOSED-LOOP DATA – CHANGES IN TANK LEVEL WITH CHANGES IN PUMP SPEED.
1:17:46
0
10
20
30
40
50
60
70
80
90
100
iii
APPENDIX – B
Average Velocity Gain, K
K = % Increase in PV per Min
% Increase in Controller Output
ʚ For step (x)
L11 = 150mm L12 = 125mm
t1 = (31*2) = 62s t2 = (152*2) = 304s
N1 = 40% N2 = 50%
Given θ1 = 0.632min
Kc = 1
0.632min*│- 0.4745/min│
→ Kc1 = 3.3346
Given θ2 = 1.475min
Kc = 1
1.475min*│- 0.4745/min│
→ Kc2 = 1.4288
Proportional Band, PB
PB = 100
Kc
For Kc1 = 3.3346
PB1 = 100 %
3.3346
→ PB1 = 30%
For Kc2 = 1.4288
PB1 = 100 %
1.4288
→ PB1 = 70%