Chapter 2 Process Control
Chapter 2 Process Control
1
Feedback and feedforward Controllers
Chapter 8
Proportional Control
In feedback control, the objective is to reduce the error signal to zero where
Chapter 8
e t ysp t ym t (8-1)
and
e t error signal
ysp t set point
ym t measured value of the controlled variable
(or equivalent signal from the sensor/transmitter)
3
Although Eq. 8-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,
p t p K c e t (8-2)
Chapter 8
where:
p t controller output
p bias (steady-state) value
K c controller gain (usually dimensionless)
4
Chapter 8
5
The key concepts behind proportional control are the following:
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 chosed to make the controller output increase (or
decrease) as the error signal increases.
manual reset.
Some controllers have a proportional band setting instead of a controller gain.
The proportional band PB (in %) is defined as
100%
PB (8-3)
Kc
6
In order to derive the transfer function for an ideal proportional controller
(without saturation limits), define a deviation variable as
pt
pt p t p (8-4)
pt K c e t (8-5)
Chapter 8
Ps
K c (8-6)
E s
7
Integral Control
For integral control action, the controller output depends on the integral of the
error signal over time,
1 t
p t p 0 e t *dt * (8-7)
τI
where τ I, an adjustable parameter referred to as the integral time or reset time,
Chapter 8
1 t
p t p K c e t 0 e t * dt * (8-8)
τI
8
The corresponding transfer function for the PI controller in Eq. 8-8 is
given by
Ps 1 τ I s 1
K c 1 K c (8-9)
E s τ s
I I τ s
Reset Windup
9
• When a sustained error occurs, the integral term becomes quite large and
the controller output eventually saturates.
• Further buildup of the integral term while the controller is saturated is
referred to as reset windup or integral windup.
Derivative Control
Chapter 8
10
• Thus, for ideal derivative action,
de t
p t p τ D (8-10)
dt
where τ , the derivative time, has units of time.
D
For example, an ideal PD controller has the transfer function:
Chapter 8
Ps
K c 1 τ D s (8-11)
E s
11
• For analog controllers, the transfer function in (8-11) can be approximated
by
Ps τDs
K c 1 (8-12)
E s ατ D s 1
where the constant α typically has a value between 0.05 and 0.2, with 0.1
Chapter 8
12
Proportional-Integral-Derivative (PID) Control
1 t de t
p t p K c e t 0 e t * dt * τ D dt (8-13)
τI
13
The corresponding transfer function is:
Ps 1
K c 1 τDs (8-14)
E s τI s
Ps τ I s 1 τ D s 1
K c (8-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. 8-16 is sometimes used:
t de t
p t p K c e t K I e t * dt * K D (8-16)
0 dt
Chapter 8
15
• 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. 8-13.
• Replacing de/dt by –dym/dt gives
Chapter 8
1 t dym t
p t p K c e t 0 e t * dt * τ D dt (8-17)
τI
16
On-Off Controllers
• Simple
• Cheap
• Used In residential heating and domestic refrigerators
• Limited use in process control due to continuous
Chapter 8
17
On-Off Controllers (continued)
Synonyms:
“two-position” or “bang-bang” controllers.
Chapter 8
18
Proportional-Integral (PI) Control
1
t
p( t ) p K c e( t ) e( t )dt
I 0
• Response to unit step change in e:
Chapter 8
ysp
20
Some controllers are calibrated in 1/I
21
PID Controller
Ideal controller
1
t
de
p( t ) p K c e( t ) e( t )dt D
Chapter 8
I 0 dt
P(s) 1
K c 1 Ds
E(s) Is
22
Controller Comparison
23
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 8
24
Figure 8.13. Proportional
control: effect of
controller gain.
Chapter 8
25
Chapter 8
Figure 8.14. PI control: (a) effect of reset time (b) effect of controller gain.
26
Advantages of feedback control
1.Corrective action occurs as soon as the controlled variable deviates
from the set point, regardless of the source and type of disturbance.
2.Feedback control requires minimal knowledge about the process to be
controlled; it particular, a mathematical model of the process is not
required, although it can be very useful for control system design.
3.The ubiquitous PID controller is both versatile and robust. If process
conditions change, retuning the controller usually produces satisfactory
control.
27
• However, feedback control also has certain inherent disadvantages:
28
Introduction to Feedforward Control
The basic concept of feedforward control is to measure important disturbance
variables and take corrective action before they upset the process. Feedforward
control has several disadvantages:
29
Figure 8 The feedback control of the liquid level in a boiler drum.
Figure 2.2 The feedforward control of the liquid level in a boiler drum.
31
Figure 2.3 The feedfoward-feedback control of the boiler drum level.
32
• In practical applications, feedforward control is
normally used in combination with feedback control.
• Feedforward control is used to reduce the effects of
measurable disturbances, while feedback trim
compensates for inaccuracies in the process model,
measurement error, and unmeasured disturbances.
33
Ratio Control
Ratio control is a special type of feedforward control that has had widespread
application in the process industries. The objective is to maintain the ratio of
two process variables as a specified value. The two variables are usually flow
rates, a manipulated variable u, and a disturbance variable d. Thus, the ratio
34
• Typical applications of ratio control include:
35
Figure 2.4 Ratio control, Method I.
36
• The main advantage of Method I is that the actual ratio R is calculated.
• A key disadvantage is that a divider element must be included in the
loop, and this element makes the process gain vary in a nonlinear
fashion. From Eq. 15-1, the process gain
R 1
K p (15-2)
u d d
37
Figure 15.6 Ratio control, Method II
38
• Regardless of how ratio control is implemented, the process variables
must be scaled appropriately.
• For example, in Method II the gain setting for the ratio station Kd must
take into account the spans of the two flow transmitters.
• Thus, the correct gain for the ratio station is
Sd
K R Rd (15-3)
Su
where Rd is the desired ratio, Su and Sd are the spans of the flow
transmitters for the manipulated and disturbance streams, respectively.
39
• Example 15.1
• A ratio control scheme is to be used to maintain a stoichoimetric ratio
of H2 and N2 as the feed to an ammonia synthesis reactor. Individual
flow controllers will be used for both the H2 and N2 streams. Using the
information given below, do the following:
40
Available Information
i. The electronic flow transmitters have built-in square root extractors. The
spans of the flow transmitters are 30 L/min for H2 and 15 L/min for N2.
ii. The control valves have pneumatic actuators.
iii. Each required current-to-pressure (I/P) transducer has a gain of 0.75
psi/mA.
iv. The ratio station is an electronic instrument with 4-20 mA input and output
signals.
Solution
The stoichiometric equation for the ammonia synthesis reaction is
3H 2 N 2 2NH3
41
• In order to introduce the feed mixture in stoichiometric proportions, the
ratio of the molar flow rates (H2/N2) should be 3:1. For the sake of
simplicity, we assume that the ratio of the molar flow rates is equal to
the ratio of the volumetric flow rates. But in general, the volumetric
flow rates also depend on the temperature and pressure of each stream
(cf., the ideal gas law).
a) The schematic diagram for the ammonia synthesis reaction is shown in Fig.
15.7. The H2 flow rate is considered to be the disturbance variable, although
this choice is arbitary because both the H2 and N2 flow rates are controlled.
Note that the ratio station is merely a device with an adjustable gain. The
input signal to the ratio station is dm, the measured H2 flow rate. Its output
signal usp serves as the set point for the N2 flow control loop. It is calculated
as usp = KRdm.
42
Figure 2.6 Ratio control scheme for an ammonia synthesis reactor of Example
15.1
43
b) From the stoichiometric equation, it follows that the desired ratio is Rd = u/d
= 1/3. Substitution into Equation 15-3 gives:
1 30 L / min 2
K R
3 15 L / min 3
Feedforward Controller Design Based on Steady-State
Models
• A useful interpretation of feedforward control is that it continually attempts
to balance the material or energy that must be delivered to the process
against the demands of the load.
• For example, the level control system in Fig. 15.3 adjusts the feedwater flow
so that it balances the steam demand.
• Thus, it is natural to base the feedforward control calculations on material
and energy balances.
44
Figure 15.8 A simple schematic diagram of a distillation column.
45
• To illustrate the design procedure, consider the distillation column
shown in Fig. 15.8 which is used to separate a binary mixture.
• In Fig. 15.8, the symbols B, D, and F denote molar flow rates, whereas
x, y, and z are the mole fractions of the more volatile component.
• The objective is to control the distillation composition, y, despite
measurable disturbances in feed flow rate F and feed composition z, by
adjusting distillate flow rate, D.
• It is assumed that measurements of x and y are not available.
The steady-state mass balances for the distillation column can be written as
F D B (15-4)
Fz Dy Bx (15-5)
46
• Solving (15-4) for D and substituting into (15-5) gives
F z x
D (15-6)
y x
Because x and y are not measured, we replace these variables by their set points
to yield the feedforward control law:
F z xsp
D (15-7)
ysp xsp
47
Blending System
• Consider the blending system and feedforward controller shown in Fig. 15.9.
• We wish to design a feedforward control scheme to maintain exit
composition x at a constant set point xsp, despite disturbances in inlet
composition, x1.
• Suppose that inlet flow rate w1 and the composition of the other inlet stream,
x2, are constant.
48
• Consider the blending system and feedforward controller shown in Fig.
15.9.
• We wish to design a feedforward control scheme to maintain exit
composition x at a constant set point xsp, despite disturbances in inlet
composition, x1.
• Suppose that inlet flow rate w1 and the composition of the other inlet
stream, x2, are constant.
49
Figure 15.9 Feedforward control of exit composition in the blending system.
50
• The starting point for the feedforward controller design is the steady-
state mass and component balances,
w w1 w2 (15-8)
w x w1 x1 w2 x2 (15-9)
where the bar over the variable denotes a steady-state value. Substituting Eq.
15-8 into 15-9 and solving for gives:
w1 ( x x1 )
w2 (15-10)
x2 x
In order to derive a feedforward control law, we replace by xsp, and and
, by w2(t) and x1(t), respectively:
w1 xsp x1 (t )
w2 (t ) (15-11)
x2 xsp
Note that this feedforward control law is based on the physical variables
rather than on the deviation variables. 51
• The feedforward control law in Eq. 15-11 is not in the final form
required for actual implementation because it ignores two important
instrumentation considerations:
• First, the actual value of x1 is not available but its measured value, x1m,
is.
• Second, the controller output signal is p rather than inlet flow rate, w2.
• Thus, the feedforward control law should be expressed in terms of x1m
and p, rather than x1 and w2.
• Consequently, a more realistic feedforward control law should
incorporate the appropriate steady-state instrument relations for the w2
flow transmitter and the control valve.
52