Process Control - Chapter 4 PDF
Process Control - Chapter 4 PDF
Process Control - Chapter 4 PDF
Proportional Gain
Steady-state (bias) value
Controller output
𝑝𝑚𝑖𝑛
5 0 𝑒 Process Control
@VLC-2015
4.1.1 P Control
An inherent disadvantage of proportional only control is that
a steady state error (offset) occurs after a change in SP or
DV
For control applications where offset can be tolerated,
proportional only control is attractive because of its
simplicity
6 Process Control
@VLC-2015
4.1.2 Integral Control
𝑡
1
𝑝 𝑡 =𝑝+ 𝑒 𝜏 𝑑𝜏 (4.4)
𝜏𝐼 0
8 Process Control
@VLC-2015
4.1.2 Derivative Control
𝑑(𝑒)
𝑝 𝑡 = 𝑝 + 𝜏𝐷 (4.7)
𝑑𝑡
Derivative time (adjustable parameter)
By providing anticipatory control action, the derivative
mode tends to stabilize the controlled process
Derivative control action also tends to improve the dynamic
response of the controlled variable by decreasing the
process settling time
The most disadvantage of derivative control is the
sensitivity of the control calculations to high-frequency
noise in the measurement. Therefore, it is usually used with
the derivative filter
9 Process Control
@VLC-2015
4.1.2 Derivative Control
In practice, derivative control is never used alone; it is
always used in conjunction with proportional or
proportional-integral control
For example, an ideal PD controller has the transfer function
𝑃′ (𝑠)
= 𝐾𝑐 1 + 𝜏𝐷 𝑠 (4.8)
𝐸(𝑠)
Then, the PD controller with derivative filter
𝑃′ (𝑠) 𝜏𝐷 𝑠 (4.9)
= 𝐾𝑐 1 +
𝐸(𝑠) 𝛼𝜏𝐷 𝑠 + 1
where, the constant 𝛼 typically has a value between 0.05 and
0.2, with 0.1 being a common choice.
10 Process Control
@VLC-2015
4.1.3 PID Control
Now we consider the combination of the proportional, integral
and derivative control modes as a PID controller.
Unfortunately, many variations of PID control are used in
practice. Next, we consider the three most common forms
Parallel Form of PID Control
1 𝑡 𝑑𝑒(𝑡)
𝑝 𝑡 = 𝑝 + 𝐾𝑐 𝑒 𝑡 + 𝑒 𝜏 𝑑𝜏 + 𝜏𝐷 (4.10)
𝜏𝐼 0 𝑑𝑡
The corresponding transfer function
I
𝑃′ (𝑠) 1 𝐸(𝑠) 𝑃′ (𝑠)
= 𝐾𝑐 1 + + 𝜏𝐷 𝑠 1
𝐾𝑐
𝐸(𝑠) 𝜏𝐼 𝑠 𝜏𝐼 𝑠
(4.11) 𝜏𝐷 𝑠
11
@VLC-2015
4.1.3 PID Control
Series Form of PID Control
𝑃′ (𝑠) 1 𝜏𝐷 𝑠 + 1 (4.12)
= 𝐾𝑐 1 +
𝐸(𝑠) 𝜏𝐼 𝑠 𝛼𝜏𝐷 𝑠 + 1
𝐸(𝑠) 1 𝑃′ (𝑠)
𝐾𝑐 1 +𝜏 𝑠 𝜏𝐷 𝑠 + 1
𝐼
15
@VLC-2015
4.2 Closed-Loop Control
4.2.1 Closed Loop Transfer Function
D
𝐺𝐷
SP PV
𝐺𝐶 𝐺𝑃
18
@VLC-2015
4.2.1 Closed-Loop Transfer Function
Sensor Transmitter (AT)
The dynamic model of the sensor transmitter can be
approximated by a first order transfer function:
X m (s) Km X (s) X m (s)
Gm ( s ) Gm [mA]
X ( s) m s 1 Mass fraction
(0÷1) (4 20mA)
Pt ( s ) P( s) Pt ( s )
K IP [mA] K IP
P( s) [ psi / bar ]
(4 20) ( pmin pmax )
Control valve
Pt ( s ) W2 ( s )
W2 ( s ) Kv Gv
Gv ( s )
Pt ( s ) v s 1
[ psi / bar ] [kg / s ]
( pmin pmax ) ( wmin wmax )
20
@VLC-2015
4.2.1 Closed-Loop Transfer Function
X 1 (s)
𝐺𝑝1
[mf]
[mf]
X 1 (s)
Pt ( s ) Pt ( s ) Pt ( s ) W2 ( s) X (s) X 1 (s)
𝐾𝑚 [mA] 𝐺𝑐 𝐾
[mA] 𝐼𝑃 [psi] 𝐺𝑣 [kg/s] 𝐺𝑝2
[mass [mA] [mf] [mf]
fraction]
E( s )
𝐺𝑚
From Eq. (4.17) we have the closed-loop transfer function:
X sp (s) (4.18)
P 𝐺𝑚
K mGc Gv G p Gd
Y Ysp D (4.19)
1 Gc Gv G p Gm 1 GcGvG p Gm
Set-Point Changes: servomechanism problem
We assume for this case that no disturbance change occurs and
thus D = 0. The closed-loop transfer function:
22
VLC-2015
4.2.1 Closed-Loop Transfer Function
Y( s ) K mGc Gv G p
G1 ( s ) (4.20)
Ysp ( s ) 1 Gc Gv G p Gm
Disturbance Changes: regulator problem
Y( s ) Gd
G2 ( s ) (4.21)
D( s ) 1 Gc Gv G p Gm
Both closed-loop transfer functions (4.20) & (4.21) have the
same denominator
A(s) 1 Gc Gv G p Gm 1 GOL ( s ) (4.22)
where, 𝐺𝑂𝐿 (𝑠): open-loop transfer function
Then, we have the general transfer function:
K mGc Gv G p Gd
Y Ysp D (4.23)
23
VLC-2015
1 GOL 1 GOL
4.2.1 Closed-Loop Transfer Function
Thus, the response to the simultaneous disturbance variable
and set point changes is merely the sum of individual
responses. This result is the consequence of the Superposition
Principle for linear systems.
General expression for Feedback control systems
Z f
(4.24)
Zi 1 e
where Z, Zi: output and input variable
Gv ( s ) K v
Then, Y (s) K m K c K v K p ( s 1)
Ysp ( s ) 1 K c K v K m K p ( s 1)
Y (s) K1
(4.26)
Ysp ( s ) 1s 1
25 @VLC-2015 Process Control
4.2.1 Closed-Loop Transfer Function
𝐾𝑂𝐿 𝜏
where, 𝐾1 = ;𝜏 = 𝜏1 < 𝜏: faster response
𝐾𝑂𝐿 +1 1 𝐾𝑂𝐿 +1
Y (s) K3 s
2 2 (4.31)
Yd ( s ) 3 s 23 3 s 1
28 @VLC-2015 Process Control
4.2.1 Closed-Loop Transfer Function
𝐾𝑑 𝜏𝐼 𝜏𝐼 𝜏
where, 𝐾3 = ; 𝜏3 =
𝐾𝑂𝐿 𝐾𝑂𝐿
(4.32)
1 1 K OL I
3
2 K OL
∆𝑌𝑑
For step change in disturbance, 𝑌𝑑 𝑠 = , Eq. (4.31)
𝑠
becomes:
K 3 Yd
Y (s) 2 2 (4.33)
3 s 23 3 s 1
It is obvious from Eq. (4.33) that 𝑌 ∞ = 0. Thus, the
addition of integral action eliminates offset for a step change
in disturbance
29 Process Control
@VLC-2015
4.2.2 Stability of closed loop control systems
An important consequence of feedback control is that it can
cause oscillatory responses
This figure illustrates the effect
of controller gains on closed-
loop response to a unit step
change in set point.
33 Process
@VLC-2015 Control
4.3 PID Controller Design
PID controller settings can be determined by a number of
alternative techniques:
1. Direct Synthesis (DS) method
34 Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.1 Direct Synthesis Method
In the DS method, the controller design is based on a process
model and a desired closed-loop transfer function.
The closed-loop transfer function for set-point changes is
derived from Eq. (4.20)
Y K mGc Gv G p
Ysp 1 Gc Gv G p Gm
For simplicity, let 𝐺 = 𝐺𝑣 𝐺𝑝 𝐺𝑚 and assume that 𝐺𝑚 = 𝐾𝑚
Y Gc G
(4.34)
Ysp 1 Gc G
not known
1 Y Ysp (4.35)
Gc a priori
35 G 1 Y Y Process
unknown sp Control
4.3 PID Controller Design
A practical design equation can be derived by replacing the
unknown 𝐺 by 𝐺 , and 𝑌 𝑌𝑠𝑝 by a desired closed-loop transfer
function 𝑌 𝑌𝑠𝑝 𝒅
1 Y Ysp d
Gc (4.36)
G 1 Y Ysp
d
42
Classical feedback controller Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.2 Internal Model Control (IMC)
IMC controller D
𝒀𝒔𝒑 E U Y
𝑮𝑪 G
𝒀
𝑮
𝒀−𝒀
46 Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.2 Internal Model Control (IMC)
For the ideal situation where process model is perfect
(𝑮 = 𝑮) , substituting eq. (4.52) into (4.50) give the
closed loop expression
Y G fYsp (1 fG ) D (4.54)
G 1 0.5 s (4.62)
K
G (4.63)
( s 1)(1 0.5 s)
50 Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.2 Internal Model Control (IMC)
Setting 𝑟 = 1, and using eq. (4.52) gives
(1 0.5 s )( s 1) (4.64)
Gc ( s )
K ( c s 1)
The equivalent controller 𝑮𝒄 can be obtained from (4.48)
(1 0.5 s )( s 1)
Gc ( s ) (4.65)
K ( c 0.5 ) s
Eq. (4.65) is equivalent to the PID controller with
1 2
Kc I D (4.66)
K 2 c 2 2
51 Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.2 Internal Model Control (IMC)
Selection of 𝝉𝒄
The choice of design parameter 𝝉𝒄 is a key decision in
both the DS and IMC design methods
In general, increasing 𝝉𝒄 procedures a more
conservative controller because 𝐾𝑐 decreases while 𝜏𝐼
increases.
Several IMC guidelines for 𝝉𝒄 have been published for
the FOPTD .
1. c 0.8 and c 0.1 (Rivera et al., 1986)
2. c (Chien and Fruehauf, 1990)
52
3. c (Skogestad, 2003) Process
@VLC-2015 Control
4.3 PID Controller Design
4.3.3 Online Controller Tuning
We make a few general observations:
1. Controller tuning inevitably involves a tradeoff
between performance and robustness
2. Controller settings do not have to be precisely
determined
3. For most plants, it is not feasible to manually tune
each controller.
4. Diagnostic techniques for monitoring control system
performance are available. Process
53
@VLC-2015 Control
4.3 PID Controller Design
Continuous Cycling Method (Ziegler Nichols)
Step 1: After process has reached steady state, eliminate the
integral and derivative control action.
Step 2: Set 𝐾𝑐 equal to a small value (eg., 0.5) and place the
controller in the automatic mode.
Step 3: Introduce a small, momentary set point change so that
the CV moves away for the set point. Gradually increase 𝐾𝑐 in
small increments until continuous cycling occurs.
Step 4: Calculate PID controller settings using Ziegler-
Nichols tuning relations or Tyreus-Luyben settings.
Step 5: Evaluate the Z-N controller settings by introducing a
54 Process
small set point change and observe the closed loop response Control
4.3 PID Controller Design
Example: 2e s
G
(10s 1)(5s 1)
Compare PID controllers with the following settings:
a. Z-N settings
b. TL settings
55 Process
c. DS method with 𝜏𝑐 =3 Control
4.3 PID Controller Design
The ultimate gain and ultimate period are determined by trial
and error to be 𝐾𝑐𝑢 = 7.88 and 𝑃𝑢 = 11.66. The calculated
PID controller settings are:
56 Process
@VLC-2015 Control