You are on page 1of 35

Process Dynamics and Control

Chapter 8

FEEDBACK CONTROLLERS

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

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

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

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
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

Introduction
Consider the following blending process (Fig. 8.1).

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

Control system
Control objective:
To keep the tank exit composition x at the
desired setpoint by adjusting w2.

Measurement : Composition AnalyzerTransmitter (AT)


Feedback controller (AC): Automatic Controller
Final control element: Pneumatic control valve

Current-to-pneumatic (I/P) transducer


7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

Block Diagram

Figs. 8.2 & 8.3: Flow control system/loop (top) and its
block diagram (bottom).
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

Block Diagram

Fig. 11.8: Standard block diagram for a feedback


control system.
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

Proportional, Integral and Derivative

THREE MODE CONTROLLER

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation

Process Dynamics and Control

Feedback Control Error


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


ym = measured value of the controlled variable
(or equivalent signal from transmitter)

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

Process Dynamics and Control

For proportional control, the controller output is


proportional to the error signal
p(t) p K c e(t)

where

7/24/2013

(6.2)

p(t) = controller output


p = bias value (adjustable, manual reset)
Kc = controller gain (dimensionless, adjustable,
tuning)

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

10

Process Dynamics and Control

Function of proportional term

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

11

Process Dynamics and Control

Proportional Band, PB:


Definition :

100%
PB
Kc

(6.3)

Applies when Kc is dimensionless

Small (narrow) PB corresponds to large Kc


Large (wide) PB corresponds to small Kc

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

12

Process Dynamics and Control

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)
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

13

Process Dynamics and Control

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

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

14

Process Dynamics and Control

Ideal vs. actual


Ideal controller does not
include physical limits

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

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

15

Process Dynamics and Control

Reverse or Direct Acting Controller


Kc can be made positive or negative
Reverse-Acting (Kc > 0)
controller output (p)
increases as input (ym)
decreases
p p Kc e p Kc ( ySP ym )

Direct-Acting (Kc < 0)


controller output (p)
increases as input (ym)
increases
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

16

Process Dynamics and Control

Integral Control
(reset control, floating control)
For integral action, the controller output depends
on the integral of the error signal over time,
1
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
function:
7/24/2013

P(s)
1

E(s) I s

(6.8)

CCB3013 - Chemical Process Dynamics, Instrumentation

17

Process Dynamics and Control

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.
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

18

Process Dynamics and Control

Function of integral term

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

19

Process Dynamics and Control

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

1
p(t ) p K c e(t ) e(t )dt
I 0

(6.9)

The corresponding transfer function is:

P(s)
1

K c 1
E(s)
Is
7/24/2013

(6.10)

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

20

Process Dynamics and Control

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

1/ I

7/24/2013

- repeats per minute, aka, reset rate.


CCB3013 - Chemical Process Dynamics, Instrumentation and Control

21

Process Dynamics and Control

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.
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

22

Process Dynamics and Control

Reset windup
SP=setpoint
PV=process
variable to
control

Valve
movement

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

23

Process Dynamics and Control

Anti wind-up

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

24

Process Dynamics and Control

Derivative control
(Rate action, pre-act, anticipatory control )

Anticipate the future error by considering its rate of


change.
For ideal derivative action,
p(t ) p D

de(t )
dt

(6.11)

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 .

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

25

Process Dynamics and Control

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
E(s)

(6.12)

The derivative control action tends to stabilize the


controlled process.

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation

26

Process Dynamics and Control

PID Controller
PID control algorithm is given by
t

1
de
p(t ) p K c e(t ) e(t )dt D
I 0
dt

(6.13)

Transfer function of an ideal controller (parallel form)

P(s)
1

K c 1
D s
E(s)
Is

(6.14)

Transfer function actual (Series form)


s 1 D s 1
P(s)

K c I
E(s)

1
I D

= [0.05, 0.2]
7/24/2013

(6.15)

Derivative filter

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

27

Process Dynamics and Control

ON-OFF controllers
(two-position or bang-bang controllers)

Ideal controller

More practical controller


(Dead band)

Special case of proportional controller with very high gain.


7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

28

Process Dynamics and Control

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
Response time reduced
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

29

Too small a value of Kc


Process Dynamics and Control

Sluggish response
Larger deviation

Too large a value of Kc


Exhibit oscillatory or unstable behavior

Intermediate values of Kc is desirable


Increasing D tends to improve the
response by reducing the maximum
deviation, response time, and degree
of oscillation
If D is too large, measurement noise
is amplified and the response may
become oscillatory.
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation

30

Process Dynamics and Control

Increasing I makes the controller more sluggish.

Offset will be eliminated for all values of I.


For large values of I, it takes very long time to return to
the set-point.

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

31

Process Dynamics and Control

Summary
1. Two Position (On-Off):
Inexpensive
Extremely simple
2. Proportional:
Simple

Inherently stable when properly tuned


Easy to tune
Experiences offset at steady state
7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

32

Process Dynamics and Control

3. Proportional + Integral:
No offset
Better dynamic response than reset alone
Possibilities exist for instability due to lag introduced
4. Proportional + Derivative:

Stable
Less offset than proportional alone (use of higher gain
possible).
Faster response time.

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation

33

Process Dynamics and Control

5. Proportional + Integral + Derivative :


Most complex
Rapid response
No offset

Difficult to tune
Best control if properly tuned.

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation

34

Process Dynamics and Control

Conclusion
Concept of feedback control
P, I, D controller modes
ON-OFF as a special case of P-controller

Advantages and disadvantages


Motivation for additional modes

7/24/2013

CCB3013 - Chemical Process Dynamics, Instrumentation and Control

35

You might also like