Process Control - Fourth Class
Process Control - Fourth Class
Fourth Year
Units 4
Fourth Year - Process Control Theoretical 2hr/week
Tutorial 1hr/week
Practical 2hr/week
1. Control Systems
Feedback control, Feed-forward Control, Ratio Control, Cascade Control, Adaptive Control,
Selective Control Systems.
(4 hrs)
2. Linear Closed Loop Systems
The Control System, Controllers and Final Control Elements, Block Diagram of Chemical
reactor Control System, Overall Closed-Loop Transfer Functions.
(8 hrs)
3. Characteristics of the Closed Loop System
Transient Response of Simple Control Systems, Stability.
(6 hrs)
4. Stability analysis Frequency Response Methods
Determination the roots of equation, Routh’s Method
(4 hrs)
5. Frequency Response Methods
Introduction to Frequency Response, Bode Diagrams, Control System Design by Frequency
Response, Ziegler-Nichols Controller Settings.
(8 hrs)
References
1. D.R. Coughanowr and S. LeBlanc, Process Systems Analysis and Control, McGraw-
Hill, 3nd edition, 2008.
3. Luyben W. L., Process Modeling, Simulation and Control for Chemical Engineers,
McGraw-Hill, New York, 2nd Ed., 1990.
The Control System
GL(s)
Ti(s)
Load
Comparator
TR or YR Final control T or Y
Controller Process
element
Set point
GC GV GP
Gm
Tm or Ym
Measuring
device
Gm
Gd
d( s ) 1
Ti ( s ) s 1
+
Gp
m( s ) 1 / WCp + Y( s )
Qi ( s ) s 1 T(s)
2) Measuring Element
The T.F. of the temperature-measuring element is a first order system
Tm ( s) km
Tm ( s ) Gm T ( s )
T ( s) m s 1
km
Gm
m s 1
Where T and Tm are deviation variables defined as
T T Ts
Tm Tm Tm s
Output
K m steady state gain
input
τm=time lag (time constant)=(1-9) sec
T(s) Km
Gm Tm (s )
m s 1
Control valve
Control valve that can control the rate of flow of a fluid in proportion to the
amplitude of a pressure (electrical) signal from the controller. From experiments
conducted on pneumatic valves, the relationship between flow and valve-top pressure
for a linear valve can often be represented by a first-order transfer function:
Air supply Air supply
Example: Consider the 1st order T. F. of the process with control valve
Valve process
P(s) 𝐾𝑉 𝐾𝑃 Y(s)
𝜏𝑉 𝑠 + 1 𝜏𝑃 𝑠 + 1
If we assume no interaction;
The T. F. from P(s) to Y(s) is
Y ( s) KV K p
For a unit step input in P
P( s) ( v s 1)( s 1)
1 KV K p
Y(s) =
s ( v s 1)( s 1)
1 t / v 1 t /
y(t) = KvKp 1 v e e
v v
Y ( s) KK
If τ>>τv then the T. F. is v p
P( s ) ( s 1)
For a unit step input in p
y(t) = KvKp (1 – e-t/τ)
Q( s) KC E ( s)
P P Ps
E TR Tm
Controller
Tsp(or TR)+ E P(s)
Gc
-
Tm
Control Action
It is the manner, in which the automatic controller compares the actual value of the
process output with the actual desired value, determines the deviations and produce a
control signal which will reduce the deviation to zero or to small value.
Tm(s) 𝐾𝑚 T(s)
𝐺𝑚 =
𝜏𝑚 𝑠 + 1
On-Off Control
On-Off control is a special case of proportional control.
If the gain KC is made very high, the valve will move from one extreme position to
the other if the set point is slightly changed. So the valve is either fully open or fully
closed (The valve acts like a switch).
The P.B. of the on-off controller reaches a zero because the gain is very high
P.B 0
Process Control 8 Fourth Class
Dr. Zaidoon M. Shakor
2) Propertional-Integral controller (PI):
This mode of control is described by the relationship
t
1
p(t ) ps K C [ E (t )
I E (t )dt]
0
KC : Steady state gain
I : Integral time constant
t
KC P(s)
( p(t ) ps ) P(t ) K C E (t )
I E (t )dt
0
Taking L.T
P( s ) 1
K C (1 ) Gc ( s)
E ( s) Is
A
Example: PI controller with step change in error E(s)
s
1 A
P( s) K C (1 )
Is s E(t) p(t)
𝐾𝐶 𝐴
K A A
P(t ) K C A C t 𝜏𝐼
I
Y=c+mX
t E(t) P(t)
0 ps
0 t 0 t
Response of a PI controller (lineaer)
t
KC dE(t )
p(t ) K C [ E (t )
I E (t )dt d dt
] ps
0
𝐾𝐶 𝐾𝐶
𝑡 𝐾𝐶
𝐾𝐶
𝐸 𝑡 𝑑𝑡
𝜏𝐼 0 𝜏𝐼 𝑠
𝐸 𝑡 𝑃 𝑡 𝐸 𝑠 𝑃 𝑠
𝑑𝐸 𝑡
𝐾𝐶 𝜏𝐷 𝐾𝐶 𝜏𝐷 𝑠
𝑑𝑡
P( s) 1
K C (1 s)
E ( s) Is D
E
1.0 in
10 psi
Kc A
8psi
Kc A
I
For PI control
1 A
P( s) K C (1 )
Is s
K A
P(t ) K C A C t
I
Kc A
p(t ) K c A t ps
I
For E(s)=-1 then A=-1
Example: Error change with a ratio of 0.5 in/min is introduced into a pid controller
having Kc=10 , τI=1 and τD=0.5. plot the response of the controller P(t).
Solution:
dE
E=0.5 t 0.5 and dEdt 0.5dt
dt
p(t ) 10 0.5 t 10 0.5 tdt 10 0.5 0.5 ps
p (t ) p s 5 t 2.5 t 2 2.5
P( t ) p( t ) p s 2.5 5 t 2.5 t 2
t P(t)
0 2.5
1 10 E 0.5 P(t)
2 22.5
3 40 0 2.5
4 62.5
5 90
0 t 0 t
d(s) Gd
Comparator
ysp E(s) C(s) m(s) y(s)
GC Gf Gp
ym(s) Gm y (s)
Process balance
y ( s ) G p m( s ) Gd d ( s ) Measuring Device
Measuring device
y m ( s ) Gm y ( s )
Controller system
E ( s ) ysp ( s ) ym ( s ) Comparator
C ( s ) Gc E ( s ) Controller
Final control element
m( s ) G f C ( s )
Algebra manipulation of the above equations and arrange then
y ( s ) G p m( s ) Gd d ( s )
y ( s ) G p G f C ( s ) Gd d ( s )
y ( s ) G p G f Gc E ( s ) Gd d ( s )
y ( s ) G p G f Gc ( ysp ( s ) ym ( s )) Gd d ( s )
y ( s ) G p G f Gc ( ysp ( s ) Gm y ( s )) Gd d ( s )
y ( s ) G p G f Gc ysp ( s ) G p G f GcGm y ( s ) Gd d ( s )
(1 Gc G f G pGm ) y ( s ) Gc G f G p ysp ( s ) Gd d ( s )
Gc G f G p Gd
y ( s) ySP ( s) d (s)
1 Gc G f G p Gm 1 Gc G f G p Gm
Let G = GC Gf GP
G Gd
y( s) ySP ( s) d ( s)
1 GGm 1 GGm
G Gd
GSP Gload
1 GGm 1 GGm
The distubance does not change (i.e. d (s) = 0 ) while the set point undergoes change.
The feedback controller act in such away as to keep y close to the changing ysp . The
T.F. of closed loop system of this type is:
G p G f Gc
y ( s) ySP ( s)
1 Gc G f G p Gm
2) Regulated systems:
In these systems the set point (desired value) is constant ( ysp (s) = 0 ) and the change
occurring in the load. The T.F. of closed loop control system of this type is:
Gd
y ( s) d ( s)
1 Gc G f G p Gm
y ( s ) Gload d ( s )
The feedback controller tries to eliminate the impact of the load change d to keep y at
the desired setpoint.
0
2- Effect of Integral Control
Consider a servo problem, d ( s ) 0
Gc G f G p
y ( s) y SP ( s) (*)
1 Gc G f G p Gm
Consider Gm G f 1
kp
For the 1st order process G p
ps 1
For a simple integral control
1
Gc K c
Is
Sub in eqn. (*)
θSP(s) θo(s)
2 1.5
Set point
GC(s) Gf (s)
GP(s)
Solution:
Gm(s)
o ( s) Gd ( s)
Regulator loop:
d ( s) 1 Gm ( s)G ( s)
3 9
G(s) = GC(s) Gf (s) GP(s) = 2×1.5× =
10s 1 10s 1
1
o ( s )
10 s 1
1
=
d ( s ) 1 9 10s 10
10 s 1
1
θd(s) = 1/10
s
1
o (s) = 10 θo(t) off-set
s( s 1)
o (t) 0.1(1 - e-t )
At t = 0 ,o (t) = 0
At t = , o () = 0.1
Or
1
1
o () = lim so ( s) lim s 10
s 0 s 0 s ( s 1) 10
Offset= New s.s value-Ultimate value= 0 - 0.1= -0.1
C (s) GcG p
R( s) 1 GcG p
5
1.6
C (s) ( s 1)(2 s 1) 8
2
R( s ) 1 1.6 5 2s 3s 1 8
( s 1)(2s 1)
8
C( s ) 8 9 0.8889
2
R( s ) 2 s 3s 9 2 s 2 1 s 1 0.222 s 2 0.333s 1
9 3
0.222 0.471
2
1 2
w
2) The offset=New set point- Ultimate value
=0.1-0.088889=0.01111
2 2 0.471
3) Period of oscillation = 3.1640
1 2
1 (0.3538) 2
1 1 C
R K c (1 s)
Is D 1s 1
For D I 1 and1 2
a- Calculate ψ when Kc=0.5 and Kc=2
b- Determine the offset for a unit-step change in load if Kc=2
C (s) GcG p
R( s) 1 GcG p
1 1 1 1
K c (1 D s) K c (1 s )
C ( s) Is 1s 1 s 2s 1
R( s ) 1 K (1 1 1 1 1
D s) 1 K c (1 s )
c
Is 1s 1 s 2s 1
s 1 s2 1
Kc ( )
s 2s 1 Kc (s 1 s 2 ) Kc (s 1 s 2 )
s 1 s2 1 2s 2 s K c ( s 1 s 2 ) (2 K c ) s 2 (1 K c ) s K c
1 Kc ( )
s 2s 1
(s 1 s )
2
(2 K c ) 2 (1 K c )
s s 1
Kc Kc
a-1) Kc=0.5
2 Kc 2 0.5
2.2361
Kc 0.5
(1 K c ) 1 0.5 3 3
2 3 0.6708
Kc 0.5 2 2 2.2361
a-2) Kc=2
22
1.4142
2
(1 K c ) 1 2 1.5 1.5
2 1.5 0.5303
Kc 2 2 2 1.41421
Gp
B) C ( s) U (s)
1 G pGc
1 1
1s 1 2s 1
C ( s) U (s) U (s)
1 1 1 1
1 K c (1 s) 1 K c (1 s )
I s D 1s 1 s 2s 1
1
2
4s 3s 1
2
3
2 3 0.75
4
1
C () lim s 2 0
s 0 4 s 3s 1
Offset=0-0=0
ms 1
K c (1 Ds)(ms 1)
C R (s)
p ms (p m K c D )s (1 K c )
2
K c (1 Ds)( ms 1)
(1 K c )
C R (s)
p ms 2
(p m K c D )
s 1
(1 K c ) (1 K c )
Process Control 24 Fourth Class
Dr. Zaidoon M. Shakor
p m
1 Kc
p m K c D
2
1 Kc
p m K c D 1 K c
2(1 K c ) p m
p m K c D
2 (1 K c )p m
p m K c D
b) for ψ=0.7
2 (1 K c ) p m
1) τD=0
60 10 0 35
0.7
2 (1 K c ) 60 10 600 600K c
600 600 K c 50
600 600K c 2500
K c 3.166
2) τD=3 sec
60 10 3K c 70 3K c
0.7
2 (1 K c ) 600 2 (1 K c ) 600
70 3K c 34.292 (1 K c )
2.04(1 0.042 K c ) (1 K c )
4.1616 0.355 K c 0.0075 K C2 (1 K c )
0.0075K c2 0.0645K c 3.1616 0
K c 80.73 or K c 5.266
Examples 1:
Examples 2:
The transfer function of a block diagram is defined as the output divided by its input
when represented in the Laplace domain with zero initial conditions. The transfer
function G(s) of the block diagram shown in Fig. (1).
Y(s)
G (s)
X(s)
Here the path of the signals X(s) and Y(s) is a forward path.
Consider the block diagram of cascaded elements shown in Fig. (2a). Form the
definition of a transfer function we have:
X 2 (s)
G1 (s)
X1 (s)
X 3 (s)
G 2 (s)
X 2 (s)
Y(s)
G 3 (s)
X 3 (s)
And substitution yields
Y(s) G 3 (s)X 3 (s) G 3 (s)[G 2 (s)X 2 (s)] G 3 (s)G 2 (s)G1 (s)X1 (s)
Which can be written as
Y(s)
G 3 (s)G 2 (s)G1 (s) G (s)
X1 (s)
(a) (b)
The overall transfer function then is simply the product of individual transfer
functions.
For applications where it is required to generate a signal which is the sum of two
signals we define a summer or summing junction as shown in Fig. (3a). If the
Process Control 26 Fourth Class
Dr. Zaidoon M. Shakor
difference is required, then we define a subtractor as shown in Fig. (3b). Subtractors
are often called error detecting devices since the output signal is the difference
between two signals of which one is usually a reference signal.
X1(s) + +
X1(s)+X2(s) X1(s) X1(s)-X2(s)
+ -
X2(s) X2(s)
(a) (b)
Summer Subtractor (Error detecting device)
Fig. (3) Addition or subtraction of signals
The combination of block diagrams in parallel is shown in Fig. (4a). Form the
definition of the transfer function we have
Y1 (s) G1 (s)X(s)
Y2 (s) G 2 (s)X(s)
Y3 (s) G 3 (s)X(s)
And the summer adds these signals,
Y(s) Y1 (s) Y2 (s) Y3 (s)
or
Y(s) [G1 (s) G 2 (s) G 3 (s)]X (s)
The overall transfer function shown in Fig.(4b) is
Y(s)
G (s)
X(s)
where
G (s) G1 (s) G 2 (s) G 3 (s)
Y1(s)
G1(s)
X(s) Y2(s) +
G2(s) Y(s) X(s) G(s) Y(s)
+ +
Y3(s)
G3(s)
(b)
(a)
Fig. (4) Parallel combination of elements
In summary, we observe that for cascaded elements the overall transfer function is
equal to the product of the transfer function of each element, whereas the overall
Example:Derive the overall transfer function for the control system shown in Fig.
(5).
H1(s)
B1(s)
+ E1(s) C1(s) - E2(s) C2(s) C(s)
R(s) G1(s) G2(s) G3(s)
- +
B2(s) H2(s)
Solution
Y(s) G
Transfer function
R (s) 1 GH
2(s 1)(s 3) 2(s 1)(s 3)
Y(s) s(s 2)(s 4) s(s 3)(s 4)
R (s) 1 2(s 1)(s 3) *1 s(s 2)(s 4) 2(s 1)(s 3)
s(s 2)(s 4) s(s 2)(s 4)
2(s 1)(s 3) 2s 2 6s 2s 6
s(s 2)(s 4) 2(s 1)(s 3) s3 4s 2 2s 2 8s 2s 2 6s 2s 6
Y(s) 2s 2 8s 6
R (s) s 3 8s 2 16s 6
(a) (b)
M(s) + M1(s)
G(s) E(s) M(s) G(s) E(s)
+ +
+
C1(s) G(s) C(s)
C(s)
(a) (b)
Fig.(7) Moving a summing junction
R(s) C(s)
G(s)
R(s) C(s)
G(s)
Moving a
starting point 1
B(s) G (s)
B(s)
R(s) + C(s)
Closed loop G(s) R(s) G(s) C(s)
-
system 1 H ( s )G ( s )
H(s)
Consider the transfer function of the system shown in Fig. (8a). The final transfer
function is shown in Fig. (8d).
R(s) + +
G1(s) G2(s) C(s)
+ G4(s)
- +
-
H1(s)
H2(s)
R(s) + C(s)
G1(s) G2(s)+G3(s) G4(s)
- +
-
H 1 (s)
G4 (s )
H2(s)
(b)
H2(s)
(c)
(d)
Fig.8 Obtaining transfer function by block diagram reduction
R(s) +
+ + +
G1(s) G2(s) G3(s) C(s)
- +
H1(s)
H2(s)
Solution:
R(s)
+ +
G1(s) G2(s) G3(s) + G4(s) C(s)
- +
H1(s)
H2(s)
R(s)
+ G1(s) x G2(s)
G3(s) + G4(s) C(s)
1- H1(s)x(G1(s) x G2(s))
-
H2(s)
A stable system is one where the controlled variable will always settle near the set
point. An unstable system is one where, under some conditions, the controlled
variable drifts away from the set point or breaks into oscillations that get larger and
larger until the system saturates on each side.
H
G1G 2 G2
C R (s) U(s)
1 G1G 2 H 1 G1G 2 H
1 G1G 2 H 0 (Characterstic Equation)
(s r1 )(s r2 )(s r3 )......... 0 Im
s-p
s
p
Re
A linear control system is unstable if any roots of its characterstic equation are to the
right of imaginary axis.
If this equation has some roots with positive real parts, then the system is unstable, or
some roots equal to zero, the system is marginally stable (oscillatory), therefore it is
unstable.
Then for stability the roots of characteristic equation must have negative
real parts.
Process Control 35 Fourth Class
Dr. Zaidoon M. Shakor
Example:if
0.5s 1
G1 10 PI control
s
1
G2 Stirred tank
2s 1
H 1 Mesuring element without lag
1 G 1 G1G 2 H 0
10(0.5s 1)
1 0
s(2s 1)
s(2s 1) 5s 10 0
2s 2 6s 10 0
s 2 3s 5 0
3 9 20
s
2 2
3 11 3 11
s1 j and s 2 j
2 2 2 2
3
Since the real part in s1 and s2 in -ve ( )The system is stable
2
2-Routh’s Method
a-Write the characterstic eqn. on the form of a polynomial shape:
a os n + a1s n -1 + a 2s n - 2 + …..a n = 0 (*)
Where ao is positive
It is necessary that ao, a1, a2,…. an-1, an be positive. If any coeff. is negative, the
system is unstable.
If all of the coeff. are positive, the system may be stable or unstable. Then apply the
next step.
b. Routh array:
Arrange the coeff. of eqn. (*) into the first two rows of the Routh array shown
below.
Row
1 ao a 2 a 4 a 6
2 a1 a 3 a 5 a 7
3 A1 A2 A3
4 B1 B2 B3
n+1 C1 C2 C3
Process Control 36 Fourth Class
Dr. Zaidoon M. Shakor
a1a 2 a oa 3 a1a 4 a oa 5 a1a 6 a oa 7
A1 , A2 , A3
a1 a1 a1
A1a 3 a1A 2 A a a A
B1 , B2 1 5 1 3
A1 A1
B1A 2 A1B2 B A A1B3
C1 , C2 1 3
B1 B1
Examine the elements of the first column of the array ao, a1, A1, B1,C1……….W1
a) If any of these elements is negative, we have at least one root on the right of
the imaginary axis and the system is unstable.
b) The number of sign changes in the elemnts of the first column is equal to the
number of root to the right of the imaginary axis.
The system is stable if all the elements in the first column of the array are
positive
Example: Consider the feedback control system with the characteristic equation.
K
s3 + 2s 2 (2 K c )s c 0
I
Solution:
The corresponding Routh array can now be formed
Row
1 1 2 Kc 0
2 2 Kc 0
I
3 2(2 K c ) K c I 0 0
2
4 Kc I 0 0
The elemnets of the first-column are positive except the third, which can be positive
or negative depending on Kc and τI.
So state the stability
Put 2(2 K c ) K c I 0 2(2 K c ) K c
2 I
If Kc and τI satisfy the condition, then the system is atable
Critical stability
Put the third element=0
i.e 2(2 K c ) K c
I
For τI=0.1
2(2 K c ) 10K c 4 8K c
1) if K c 0.5 , the system is stable (all of the elements in the 1st column is +ve)
2) if K c 0.5 , the third element of the 1st column is negative. We have two sign
change in the elements of the first column.
Example:
U
R 1
Kc C
( 1s 1)( 2 s 1)
1
( 3s 1)
1 1
If 1 = 1, 2 = , 3 =
2 3
Determine Kc for a stable system
Solution:
The char. Eqn.
1
1 Kc 0
1 1
(s 1)( s 1)( s 1)
2 3
1 1
(s 1)( s 1)( s 1) K c 0
2 3
1 3 1
( s 2 s 1)( s 1) K c 0
2 2 3
s3 s 2 s s 2 3s
1 Kc 0
6 2 3 2 2
1 3 2 11
s s s 1 Kc 0
6 6
Row
1 1/6 11/6
2 1 1+Kc
3 10 K c 0
6
4 1+Kc
Since Kc>0
The system will be stable
Process Control 39 Fourth Class
Dr. Zaidoon M. Shakor
If 10-Kc>0
K c 10
Therfore Kc must within the range 0<Kc< 10
Example: U
R 3
K c (1 ) 2
s
C
1
0.2s 2 0.4s 1
Study the stability for Kc=2
Solution:
3 1
1 K c (1 ) 2 0
s 0.2s 0.4s 1
2
s3 2
1 Kc ( ) 0
s 0.2s 2 0.4s 1
sK 3K c 2
1 ( c ) 0
s 0.2s 0.4s 1
2
+ controller ( s 20)
R(s) Y(s)
k s( s 10) 2 Heading
-
Solution
k (s 20) ks 20k ks 20k
G(s) =
s(s 10) 2 s(s 2 20s 100) s3 20s 2 100s
Characteristic equation,
1+GH = 0
ks 20k
1+ 3 *1 0
s 20s 2 100s
s 3 20s 2 100s +ks+20k =0
s3 20s 2 (100 k )s 20k 0
The corresponding Routh array can now be formed
Row
1 1 100+k
2 20 20k
3 a 0
4 b 0
Controller Tuning
Tuning is the adjustment of the controller parameters to obtain a specified closed
loop response. Tuning of controller is the process of setting controller gains to
achieve desired performance.
After a Control system is installed the controller settings must usually be
adjusted until the control system performance is considered to be satisfactory.
The goal of the tuning is to determine the gains that optimize system response.
High gain increase responsiveness but also move the system closer to instability.
Low gain improve stability but the system becomes sluggish.
ISE e dt
2 ….. (2)
0
ITAE t e dt
….. (3)
0
If the performance indices increases, control system can perform poorly and
even become unstable. So it needs to tune the controller parameters to achieve good
control performance with the proper choice of tuning constants.
Example: Select the gain of a proportional controller (Kc) using the one-quarter decay
ratio criterion (DR=0.25).
The process is described by: Gp(s) = 10/[(s+2)(2s+1)] ,
Assume Gm(s) = Gv= 1.
Answer:
𝐺𝑃 𝐺𝑣 𝐺𝑐
𝑌(𝑠) =
1 + 𝐺𝑃 𝐺𝑣 𝐺𝑐 𝐺𝑚
2ψ
0.21083
=6.93
1) Cohen-Coon Method
It is an empirical rule which have been proven is practice, it is known as Cohen and
Coon method.
d(s)
Gd
1
C(s)
s
R Y(s)
GC Gv Gp
Ym(s) Y (s)
Gm
The Cohen - Coon method applies only to open-loop processes that are inherently
stable.
Cohen and Coon suggest method to first model process in the open loop and then
picking the appropriate control parameters. Noted that most responses have a
“sigmoidal” response to step change.
The procedure of this method is to open the control system by disconnection the
controller from the final control element, and introduce a step change of magnitude A
in the variable L which actuates the final control element.
Then find the T.F. between Ym and C as
𝑌𝑚 (𝑠)
𝐺𝑃𝑅𝐶 = = 𝐺𝑓 (𝑠) 𝐺𝑝 (𝑠) 𝐺𝑚 (𝑠) ….. (4)
𝐶(𝑠)
Cohen-Coon used process reaction curve, that it is a response of the process to a step
change in the manipulated variable. Cohen and Coon observed that the response of
most processing units to a step change in input variable can be adequately
approximated by the response of first order system with dead time, and the transfer
function is:
𝑌𝑚 (𝑠) 𝐾𝑒 −𝑡𝑑𝑠
𝐺𝑃𝑅𝐶 = ≈ ….. (5)
𝐶(𝑠) 𝜏𝑠+1
Approximate
response
S Slop = S
td t td t
(a) (b)
Fig. (1) (a) Curve for Cohen-Coon tuning.
(b) Curve approximation with a first order dead-time system.
Example: Consider the feedback control system for the stirred-tank blending process
shown in Fig. 1 and the following step test. The controller was placed in manual, and
then its output was suddenly changed from 30% to 43%. The resulting process reaction
curve is shown in Fig.(2). Thus, after the step change occurred at t = 0, the measured
exit composition changed from 35% to 55% (expressed as a percentage of the
measurement span), which is equivalent to the mole fraction changing from 0.10 to
0.30. Select the PID controller settings using the Cohen-Coon technique.
Answer
A first-order-plus-time-delay model can be developed from the process reaction curve
in Fig. (2) Using the graphical method. The tangent line through the inflection point
intersects the horizontal lines for the initial and final composition values at 1.07 min
and 7.00 min, respectively.
55 − 35
𝑆= = 3.3726 %/min
7 − 1.07
𝑂𝑢𝑡𝑝𝑢𝑡 𝐵 55 − 35 20
𝐾= = = = = 1.5384 %/%
𝐼𝑛𝑝𝑢𝑡 𝐴 43 − 30 13
∆𝑌
𝜏𝑑 = = 1.07 𝑚𝑖𝑛
∆𝑋
Process Control 50 Fourth Class
Dr. Zaidoon M. Shakor
𝐵 20
𝜏= = = 5.93
𝑆 3.3726
Example: Table (1) shows experimental process reaction curve of an open loop system
with a PI controller. Using the data in given in the table
(a) Approximate the open–loop response with that of a first–order system plus dead
time (i.e., find the values of K, τ, and td).
(b) Select the controller settings using the Cohen–Coon technique.
Table (1)
Time (min) -10 -5 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90
Manipulated
10 10 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15
input
Measurement of
0.650 0.650 0.650 0.651 0.652 0.668 0.735 0.817 0.881 0.979 1.075 1.151 1.213 1.239 1.262 1.311 1.329 1.338 1.350 1.350 1.350
output
Answer
1.3
1.2
1.1
Y(t)
1
0.9
0.8
0.7
0.6
0 20 40 60 80 100
Time (min)
Ke t d s
Then G PRC
s1
From Fig(1)
K=gain=B/A=(1.35-0.65)/(15-10)=0.7/5=0.14
S=slope at the inflection point=(1.35-0.65)/(60-14)= 0.0152
B=Ultimate response = 0.7
τ = effective time constant= B/S = 0.7/0.0152= 46
td = dead time =14
0.14e 14 s
GPRC
46s1
Using Cohen and coon setting
For PI controller
1 t
Kc 0.9 d 21.71
K td 12
303t d /
I t d 28.68
9 20t d /
2) Ziegler-Nichols Method
The method of Ziegler and Nichols known as the continuous cycling method. In this
method, integration and derivative terms of the controller are disabled and the
proportional gain is increased until a continuous oscillation occurs at ultimate gain Kcu
for the closed loop system. Considering Kcu and its related oscillating ultimate period,
Pu , the controller parameters can be calculated from the equation bellow.
𝐾𝑐𝑢 ⇒ 𝑓𝑟𝑜𝑚 𝑡ℎ𝑒 𝑝𝑟𝑜𝑐𝑒𝑑𝑢𝑟𝑒 𝑜𝑓 𝑡ℎ𝑒 continuous cycling method
Pu Pu
Pu
Also, Ziegler-Nichols used another method bode diagram of two graphs: one is a plot
of the logarithm of the magnitude of sinusoidal transfer function; the other is a plot of
phase angle; both are plotted against the frequency on a logarithm scale as shown in
Fig. (2).
Gain margin (GM) and crossover frequency (𝜔) can be found from two plots therefore,
the ultimate gain and period of oscillation are calculated from following:
K u
20 log GM ….. (17)
P
23.1428 ….. (18)
u
Gain
A.R
margin
0o
Ø(I)
Phase
Ø
margin
-180o
ωCO
ω
Example: Determine the Ziegler – Nichols tuning parameters for a PID controller, with
the given transfer functions. Assume that the time constants have units of minutes.
5 0.4 2
𝐺𝑣 = 𝐺𝑚 = 𝐺𝑝 =
2𝑆+1 5𝑆+1 𝑆+1
Answer
Continuous cycling method
1+ GOL = 0
1+Gv Gm Gp Gc = 0
Put Gc = Kcu
5 0.4 2
1+( ∗ ∗ ∗ 𝐾𝑐𝑢 ) = 0
2𝑆+1 5𝑆+1 𝑆+1
4 𝐾𝑐𝑢
1+( )=0
(2𝑆 + 1)(5𝑆 + 1)(𝑆 + 1)
10 S3 + 17 S2 + 8 S +1 + 4 Kcu = 0
Put S=iw , i= -1
10 (iw)3 + 17 (iw)2 + 8 (iw) +1 + 4 Kcu = 0
-10 iw3 – 17 w2 + 8 iw +1 + 4 Kcu = 0
Instrumentation
The example level-control problem had three critical pieces of instrumentation: a
sensor (measurement device), actuator (manipulated input device), and controller.
The sensor measured the tank level, the actuator changed the flow rate, and the
controller determined how much to vary the actuator, based on the sensor signal.
Each device in a control loop must supply or receive a signal from another device.
Figure 1.2 The feedback control of the liquid level in a boiler drum.
The feedforward control scheme in Fig. 1.3 can provide better control of the liquid
level. Here the steam flow rate is measured, and the feedforward controller adjusts
the feedwater flow rate.
2)Pressure Control
• Pressure control is usually by venting a gas or vapor.
• In hydrocarbon processes, off-gas is often vented to fuel.
• In other processes, nitrogen may be brought in to maintain pressure and vented
via scrubbers.
• Most common arrangement is direct venting.
• Several vessels that are connected together may have a single pressure
controller.
PV
PIC
PT
FV
PI FT
FIC
Vapor
LIC
FV
FT
LV
LT
Feed
Steam
Trap
Condensate
Figure 1.6 Vaporizer control system
Process
TIC
TE TT
TV
TIC
TE TT
TV
TO VARIABLE
TIC SPEED MOTOR TIC
TE TT TE TT
CONTROL CIRCUIT
(a) (b)
Figure 1.9 Temperature control of air coolers
Feed
TC
Cooling
water
TT
Product
Distillation Control
Distillation control is a specialized subject in its own right.
In addition to controlling condenser pressure and level in the sump, a simple
distillation column has two degrees of freedom.
Material balance (split) and energy balance (heat input or removed).
Therefore needs two controllers.
Therefore has the possibility that the controllers will interact and “fight”
each other.
Side streams, intermediate condensers & reboilers, pump-arounds, etc. all add
extra complexity and degrees of freedom.