Chapter 3 - Continuously Process Control
Chapter 3 - Continuously Process Control
e=r–b
e = error,
b = measured indication of variable,
r = setpoint (or reference) of variable.
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 3
Error
To express error as percent of span, it is
necessary to write both the setpoint and
measurement in terms of percent of span:
r −b
ep = ×100%
bmax − bmin
where
ep = error expressed as percent of span
bmax = max of measured value
bmin = min of measured value
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 4
Control Parameter Range
The ouput is often expressed as a percentage where 0%
is the minimum controller output and 100% the
maximum.
The controller output as a percent of full scale when the
output varies between specified limits is given by
u − umin
p= ×100%
umax − umin
where
p = controller output as percentage of full scale
u = value of the output
umax = max value of controlling parameter
umin = min value of controlling parameter
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 5
Example 3.1
What is the error if the setpoint is 10.5 mA, and the measured value is
13.7 mA in the standard instrumentation signal range of 4 to 20 mA.
r −b 10.5mA − 13.7 mA
ep = ×100% = × 100% = −20%
bmax − bmin 20mA − 4mA
Example 3.2
A process has a temperature range of 300 K to 440 K and a setpoint of
384 K. What is the percent of span error for the measured
temperature of 379 K?
r −b 384 − 379
ep = ×100% = ×100% = 3.6%
bmax − bmin 440 − 300
Therefore, S = 28.75I + 25
At 310 rpm, we have 310 = 28.75I = 25. which gives I = 9.91 mA
Solution
(a) Linear equation: H = KI + H 0
2 = 4 K + H 0 − −(1)
3 = 20 K + H 0 − −(2)
H H = 0.0625 × 12 + 1.75
H H = 2.5m
dp
= K I e p = (−0.15s −1 )(−30%) = 4.5% / s
dt
t
p = K I ∫ e p dt + p(0)
0
t
p = K P e p + K P K I ∫ e p dt + pI (0)
0
For 0 ≤ t ≤ 1, ep = t
t
p1 = 5t + 5∫ t dt + 20
0
t
t 2
p1 = 5t + 5 + 20
2 0
p1 = 5t + 2.5t 2 + 20
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 62
t
Solution p = K P e p + K P K I ∫ e p dt + pI (0)
0
p2 = 5 + 5[t ] 1t + 22.5
p2 = 5 + 5[t − 1] + 22.5
p3 = 32.5
p2 = 5 + 5(t − 1) + 22.5
p3 = 32.5%
p2 (1) = 27.5%
p1 = 5t + 2.5t 2 + 20
p(0) = 20%
de p
p = K Pep + K P K D + p0
dt
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 67
Solution de p
p = K Pep + K P K D + p0
For 0 ≤ t ≤ 1, ep = t dt
p1 = 5t + 2.5 + 20
For 1 ≤ t ≤ 3, ep = 1
p2 = 5 + 20 = 25
p3 = −2.5t + 31.25
For 0 ≤ t ≤ 1, ep = t
t
p1 = 5t + 3.5∫ t dt + 2.5 + 20
0
p1 = 5t + 1.75t 2 + 22.5
2
For 1 ≤ t ≤ 3, ep = 1 pI (1) = 1.75t + 20 = 21.75%
t
p2 = 5 + 3.5∫ (1) dt + 0 + 21.75
1
p2 = 3.5(t − 1) + 26.75
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 76
t de p
Solution p = K P e p + K P K I ∫ e p dt + K P K D + PI (0)
0 dt
For t ≥ 5, e p = 0
p4 = 32.25%
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 77
p3 = −0.875t 2 + 6.25t + 21.625
pI = 32.25%
p2 = 3.5(t − 1) + 26.75
p1 = 5t + 1.75t 2 + 22.5
78
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 78
p3 = −0.875t 2 + 6.25t + 21.625
pI =
p2 = 3.5(t − 1) + 26.75 32.25
%
p1 = 5t + 1.75t 2 + 22.5
PID Controller
PD Controller 79
Prepared by Wong Chee Woon UEEA2413 Process Control and Instrumentation 79
PID tuning using Matlab