Chapter_7
Chapter_7
Chapter_7
Chapter 7
2
Basic Control Modes
Next we consider the three basic control modes starting with the
simplest mode, proportional control.
Proportional Control
Chapter 7
3
Although Eq. 7-1 indicates that the set point can be time-varying,
in many process control problems it is kept constant for long
periods of time.
For proportional control, the controller output is proportional to
the error signal,
Chapter 7
p t p Kc e t (7-2)
where:
p t controller output
p bias (steady-state) value
K c controller gain (usually dimensionless)
4
Chapter 7
5
The key concepts behind proportional control are the following:
p t p Kc e t (7-2)
1. The controller gain can be adjusted to make the controller
output changes as sensitive as desired to deviations between
set point and controlled variable;
2. The sign of Kc can be chosen to make the controller output
Chapter 7
(8-5)
7
Integral Control
For integral control action, the controller output depends on the
integral of the error signal over time,
1
p t p 0 e t *dt *
t
(7-7)
τI
Chapter 7
P s 1 τI s 1
K c 1 Kc (7-9)
E s τ I
s τ
I s
Chapter 7
Reset Windup
Figure 7.7
Derivative Control
The function of derivative control action is to anticipate the future
behavior of the error signal by considering its rate of change.
de t
p t p τD (7-10)
dt
where τ D , the derivative time, has units of time.
For example, an ideal PD controller has the transfer function:
Chapter 7
P s
K c 1 τ D s (7-11)
E s
P s τDs
Kc 1 (7-12)
E s ατ D s 1
Chapter 7
12
Proportional-Integral-Derivative (PID) Control
Now we consider the combination of the proportional, integral,
and derivative control modes as a PID controller.
• Many variations of PID control are used in practice.
• Next, we consider the three most common forms.
Chapter 7
1 de t
p t p K c e t 0 e t * dt * τ D dt
t
(7-13)
τI 13
The corresponding transfer function is:
P s 1
K c 1 τDs (7-14)
E s τI s
P s τ I s 1 τ D s 1
Kc (7-15)
E s τ
I Ds ατ s 1 14
Expanded Form of PID Control
In addition to the well-known series and parallel forms, the
expanded form of PID control in Eq. 7-16 is sometimes used:
de t
p t p K c e t K I e t * dt * K D
t
(7-16)
0 dt
Chapter 7
15
16
Chapter 7
17
Digital PID Controller
t n 1 D
pn p Kc en ek en en 1
I k 1 t
where,
Chapter 7
18
Controller Comparison
change.
PI -More complicated to tune (Kc, I) .
-Better performance than P
-No offset
-Most popular FB controller
PID -Most complicated to tune (Kc, I, D) .
-Better performance than PI
-No offset
-Derivative action may be affected by noise
19
Chapter 7
20
General Feedback Control Loop
D(s)
Gd(s)
Ys(s)
Gs(s)
D(s)
Gd(s)
Ys(s)
Gs(s)
22
Closed Loop Transfer Functions
Y ( s) G p ( s) Ga ( s) Gc ( s)
Ysp ( s) G p ( s) Ga ( s) Gc ( s) Gs ( s) 1
Y ( s) Gd ( s)
D( s) G p ( s) Ga ( s) Gc ( s) Gs ( s) 1
Characteristic Equation
sudden change in set point (and hence the error, e) will cause the
derivative term momentarily to become very large and thus
provide a derivative kick to the final control element.
26
• This sudden change is undesirable and can be avoided by basing
the derivative action on the measurement, ym, rather than on the
error signal, e.
• We illustrate the elimination of derivative kick by considering
the parallel form of PID control in Eq. 7-13.
de t
• Replacing de/dt by –dym/dt gives p t p K c e t
1
0 e t * dt * τ D
Chapter 7
t
(7-13)
τI dt
1 dym t
p t p K c e t 0 e t * dt * τ D dt
t
(7-17)
τI
28
Chapter 7
29
Level Control Example
• Process gain is
positive because
when flow is
increased, the level
Fin
LT LC increases.
L • If the final control
Fout
element is direct
acting, use reverse
acting PID.
• For reverse acting
final control element,
use direct acting PID.
Level Control Example
• Process gain is negative
because when flow out
Fin is increased, the level
LT LC decreases.
L • If the final control
Fout element is direct acting,
use direct acting PID.
• For reverse acting final
control use reverse
acting PID controller.
Automatic and Manual Control Modes
• Automatic Mode
Controller output, p(t), depends on e(t), controller
constants, and type of controller used.
( PI vs. PID etc.)
Chapter 7
Manual Mode
Controller output, p(t), is adjusted manually.
Manual Mode is very useful when unusual
conditions exist:
plant start-up
plant shut-down
emergencies
• Percentage of controllers "on manual” ??
(30% in 2001, Honeywell survey)
32
On-Off Controllers
• Simple
•
Chapter 7
Cheap
• Used in residential heating and domestic refrigerators
• Limited use in process control due to continuous
cycling of controlled variable excessive wear
on control valve.
33
On-Off Controllers (continued)
Synonyms:
“two-position” or “bang-bang” controllers.
Chapter 7
34
Practical case (dead band)
Chapter 7
35
Proportional-Integral (PI) Control
1
t
p( t ) p K c e( t ) e( t )dt
I 0
Figure 7.7
ysp
37
Some controllers are calibrated in 1/I
("repeats per minute") instead of I .
38
PID Controller
Ideal controller
1
p( t ) p K c e( t ) e( t)dt D
I 0 dt
P(s) 1
K c 1 Ds
E(s) Is
Transfer function (actual)
P(s) Is 1 Ds 1
K c
E(s) Is Ds 1
α = small number (0.05 to 0.20) lead / lag units
39
Typical Response of Feedback Control Systems
Consider response of a controlled system after a
sustained disturbance occurs (e.g., step change in
the disturbance variable)
Chapter 7
40
Figure 7.13.
Proportional control:
y effect of controller
gain.
Chapter 7
41
y y
Chapter 7
42
Summary of the Characteristics of the Most
Commonly Used Controller Modes
1. Two Position:
Inexpensive.
Extremely simple.
Chapter 7
2. Proportional:
Simple.
Inherently stable when properly tuned.
Easy to tune.
Experiences offset at steady state.
3. Proportional plus integral:
No offset.
Better dynamic response than reset alone.
Possibilities exist for instability due to lag
introduced.
43
4. Proportional plus derivative:
Stable.
Less offset than proportional alone (use of
higher gain possible).
Chapter 7
44
Position and Velocity Algorithms for Digital PID
Control
A straight forward way of deriving a digital version of the parallel
form of the PID controller (Eq. 7-13) is to replace the integral and
derivative terms by finite difference approximations,
Chapter 7
7-13
k
0 e t * dt e j t
t
(7-24)
j 1
de ek ek 1
(7-25)
dt t
where:
7-13
Chapter 7
t k D
pk p K c ek e j ek ek 1 (7-26)
1 j 1 t
(7-27)
48