You are on page 1of 39

Chapter 7

FEEDBACK CONTROLLERS

09/02/20 ChE 442 Process Control 1


Chapter Objectives

End of this chapter, you should be able to:


1. Explain the concept of feedback control
2. Explain P, I and D controllers

09/02/20 ChE 442 Process Control 2


Introduction
• Consider the continuous blending process, shown
in Fig.
IP

Electrical Signal
Pneumatic signal A
C xsp
x1, w1
x2, w2
A
T xm
x, V

x, w

09/02/20 ChE 442 Process Control 3


Control system
Control objective:
To keep the tank exit composition x at the
desired setpoint by adjusting w2.
Measurement : Composition Analyzer-
Transmitter (AT)

Feedback controller: AC Automatic Controller

Final control element: Pneumatic control valve

Current-to-pneumatic transducer: I/P

09/02/20 ChE 442 Process Control 4


Historical Perspective:

1930s – Commercial Three-mode controllers with


proportional, integral and derivative
(PID) feedback control action
1940s – Widespread acceptance of pneumatic
PID controllers
1950s – Electronic counterparts in the market

1960s – Computer applications


1980s – Use of digital hardware

09/02/20 ChE 442 Process Control 5


Block diagram of a feedback control loop:

09/02/20 ChE 442 Process Control 6


Basic Control Modes
Proportional, Integral and Derivative
Proportional Control

In feedback control, the objective is to reduce the


error signal to zero.
Define an error signal, e, by

e(t )  y SP (t )  y m (t ) (6.1)

where y sp = set point


y m = m easured v
al
ue
of
th
e
co
n
tr
o
ll
e
dv
ar
i
ab
l
e
(ore quiva l
e
nt
si
g
na
lf
r
o
mtr
a
ns
mi
t
te
r
)

09/02/20 ChE 442 Process Control 7


• For proportional control, the controller output is
proportional to the error signal

p(t)  p  K c e(t) (6.2)

w
h
e
r
e p
(
t
)=c
on
tr
o
ll
e
rou
t
p
ut
p =b
i
asv
a
lu
e(
ad
j
us
ta
b
le
,m
an
ua
l
re
se
t
)
Kc=c
on
tr
o
ll
e
rga
i
n(
di
me
ns
i
on
l
es
s
,a
dj
u
st
ab
l
e,
t
u
ni
ng
)

09/02/20 ChE 442 Process Control 8


Function of proportional term

09/02/20 ChE 442 Process Control 9


Proportional Band, PB:

100%
Definition : PB 
Kc

• Applies when Kc is dimensionless

• Small (narrow) PB corresponds to large Kc

• Large (wide) PB corresponds to small Kc

09/02/20 ChE 442 Process Control 10


Ideal vs. actual

Ideal controller does not


include physical limits

A controller saturates
when its output reaches a
physical limit, either pmax
or pmin.

09/02/20 ChE 442 Process Control 11


Proportional controller
In order to derive the transfer function for an ideal
proportional controller, define a deviation variable
as
p (t )  p (t )  p (6.4)
Then (6.2) can be written as
p (t )  K c e(t ) (6.5)
Taking Laplace transform of (6.5) and rearranging
we get P ( s )
 Kc (6.6)
E (s)

09/02/20 ChE 442 Process Control 12


• An inherent limitation of proportional controller is
that a steady-state error (offset) occurs after a set-
point change or a sustained disturbance.
• Offset can be eliminated by manually resetting
either the set-point or bias after an offset occurs –
impractical.

09/02/20 ChE 442 Process Control 13


Reverse or Direct Acting Controller
Kc can be made positive or negative

• Reverse-Acting (Kc > 0)


• “output increases as input
decreases (measured
value, ym(t))"

• Direct-Acting (Kc < 0)


• “controller output increases
as input increases
(measured value, ym(t))"

09/02/20 ChE 442 Process Control 14


Integral Control
reset control, floating control
For integral action, the controller output depends
on the integral of the error signal over time,
1 t
p(t)  p 
I  e(t )dt
0 (6.7)

where  I is an adjustable parameter and referred to


as the integral time constant or reset time, has units
of time.
The transfer P (s) 1
 (6.8)
function: E(s)  I s

09/02/20 ChE 442 Process Control 15


Integral Control
• An important practical advantage: Eliminates offset.

• For the process being controlled to be at steady state, the


controller output p must be constant so that the manipulated
variable is also constant.
• Eq. (6.7) implies that p changes with time unless e(t) = 0.
• This desirable situation occurs unless the controller output
or the final control element saturates.
• The control action by the integral controller is very little
until the error signal has persisted for sometime.
• On the other hand, proportional controller takes immediate
corrective action as soon as an error is detected.

09/02/20 ChE 442 Process Control 16


Function of integral term

09/02/20 ChE 442 Process Control 17


PI Controller
Integral control is used in conjunction with
proportional control as the proportional-integral (PI)
controller:
 1
t

p (t )  p  K c e(t )   e(t )dt  (6.9)
 I 0 

The corresponding transfer function is:

P(s)  1 
 K c 1   (6.10)
E(s)  Is 

09/02/20 ChE 442 Process Control 18


PI Controller

The
  response of the PI controller to a unit step
change in e(t) is shown in Fig.

1/ I - repeats per minute

09/02/20 ChE 442 Process Control 19


PI Controller
Disadvantages:
• Produces oscillatory response
• Reset windup

When a sustained error occurs, the integral term becomes


quite large and the controller output eventually saturates –
reset windup or integral windup.
Antireset windup: Temporarily halting the integral action
whenever the control output saturates.
09/02/20 ChE 442 Process Control 20
Reset windup
SP=setpoint
PV=process
variable to
control

Valve
movement

09/02/20 ChE 442 Process Control 21


Anti wind-up

09/02/20 ChE 442 Process Control 22


Derivative control
Rate action, pre-act, anticipatory control

• Anticipate the future error by considering its rate of


change.
• For ideal derivative action,
de(t )
p (t )  p   D (6.11)
dt
where  D is the derivative time, and has units of time.

As long as the error is constant de/dt = 0, the controller


output is equal to p .

09/02/20 ChE 442 Process Control 23


Derivative control
• Derivative action is never used alone.
• Always used in conjunction with P or PI control.
PD controller has the transfer function
P (s)
 K c 1   D s  (6.12)
E(s)

The derivative control action tends to stabilize the


controlled process.

09/02/20 ChE 442 Process Control 24


PID Controller
PID control algorithm is given by

 1
t
de 
p (t )  p  K c e(t )   e(t )dt    D  (6.13)
 I 0 dt 

Transfer function of an ideal controller (parallel form)


P (s)  1 

 K c 1    D s  (6.14)
E(s)  Is 
Transfer function – actual (Series form)
P(s)   s  1   Ds  1 
 K c  I   (6.15)
E(s)   Is   Ds  1 

lead / lag
units
09/02/20 ChE 442 Process Control 25
ON-OFF controllers
Synonyms: “two-position” or “bang-bang” controllers.

Ideal controller More practical controller


(Dead band)
• Special case of proportional controller with very high
gain.
09/02/20 ChE 442 Process Control 26
Typical responses of Feedback
control systems
Consider response of a controlled system after a sustained
disturbance occurs (e.g. step change in load variable)
No control
New steady state is
reached
P control
Offset reduced
 PI control
Offset eliminated
Oscillatory response
 PID control
Oscillations reduced
No offset
09/02/20 ChE 442 Process Control 27
Too small a value of Kc
Sluggish response
Larger deviation
Too large a value of Kc
Exhibit oscillatory or unstable
behavior
Intermediate values of Kc is desirable
D
Increasing tends to improve the
response by reducing the maximum
deviation, response time, and degree
of oscillation
D
If is too large, measurement noise
is amplified and the response may
become oscillatory.
09/02/20 ChE 442 Process Control 28
• Increasing the integral time makes the controller more
sluggish.
• Offset will be eliminated for all values  I
• For large values of  I , it takes very long time to return
to the set-point.

09/02/20 ChE 442 Process Control 29


Summary of the Characteristics of the
Most Commonly Used Controller Modes
1. Two Position:
• Inexpensive
• Extremely simple

2. Proportional:
• Simple
• Inherently stable when properly tuned
• Easy to tune
• Experiences offset at steady state

09/02/20 ChE 442 Process Control 30


3. Proportional plus reset:
• No offset
• Better dynamic response than reset alone
• Possibilities exist for instability due to lag introduced

4. Proportional plus rate:


• Stable
• Less offset than proportional alone (use of higher gain
possible).
• Reduces lags, i.e., more rapid response.

09/02/20 ChE 442 Process Control 31


5. Proportional plus reset plus rate:
• Most complex
• Rapid response
• No offset
• Difficult to tune
• Best control if properly tuned.

09/02/20 ChE 442 Process Control 32


Conclusion!

• Concept of feedback control


• P, I, D controller modes
• Advantages and disadvantages
• Motivation for additional modes

09/02/20 ChE 442 Process Control 33


09/02/20 ChE 442 Process Control 34
09/02/20 ChE 442 Process Control 35
09/02/20 ChE 442 Process Control 36
09/02/20 ChE 442 Process Control 37
09/02/20 ChE 442 Process Control 38
09/02/20 ChE 442 Process Control 39

You might also like