Professional Documents
Culture Documents
Tablas de Control - Ingeniería Quimica
Tablas de Control - Ingeniería Quimica
PART I:
'
Chapter 1.
INCENTIVES
FOR
CHEMICAL
PROCESS
CONTROL
..........
......
.............
I
'
,-
REFERENCES..........,....................
PROBLEMS................................
PART II:
Chapter 4.
i *
I
I
4.4 Dead-Time . . . . . . . . . . . . . . . . . . . . . . . . .
AND
CONCLUDING
. . . . . . . . . . . . . . . . . .
REMARKS
. . . . . . . . . . . . . . . .
MODELING
CONSIDERATIONS
FOR
CONTROL
PURPOSES . . . . . . .
REFERENCES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
P R O B LEMS...............................
PART III:
Chapter 6.
AND
CONCLUDING
REMARKS
. . . . . . . . . . . . . . . .
LAPLACE
: . . . . . . . . . .
TRANSFORMS . . . . . . . . . . . . . . . . . . . .
Transform
. . . . . . . . . . . .
:.: .::
L
1.: :
&
_1 .,.I::;..
..:;
k:
7.3 Laplace
Transforms of Derivatives . . . . . . . . . . . .
7.4 Laplace
Transforms of Integrals . . . . . . . . . . . . .
1:
1.:1
$:,c
I;IRI
I
Appendix
8.A.
Appendix
8.B.
Chapter 9.
TRANSFER
FUNCTIONS
AND
CONCLUDING
REMARKS
................
Processes
Modeled
as
.......
..............
First-Order
Systems . . . . . . . . .
......
.............
Multicapacity
11.4
Inherently
ll.A.
.................
Dynamic
SUMMARY
AND
Systems
CONCLUDING
with
Inverse
REMARKS
......
.............
Response . . . . . . . . . .
.......... ; .....
i...............
17 :
PART IV:
Chapter 13.
INTRODUCTION
TO
FEEDBACK
CONTROL
............
1.
.i
.:
ti .
2.
e,
Measuring
Devices
13.4
Transmission
13.5
Final
(Sensors) . . . . . . . . . . . . . . .
Lines
Control
...................
Elements
.................
AND
CONCLUDING
REMARKS
................
II.
STABILITY
ANALYSIS
OF
FEEDBACK
SYSTEMS
.........
The
15.3
The
Routh-Hurwitz
15.4
The
Root-Locus
SUMMARY
Characteristic
AND
CONCLUDING
Equation . . . . . . . . . . . . . . .
Criterion
for
Stability . . . . . . . .
Analysis . . . . . . . . . . . . . . . . .
REMARKS
................
15.A.
Chapter 16.
7
:$
i1
Plots . . . . . . . . . . . . . . . . . . . . . . .
Nyquist
SUMMARY
AND
CONCLUDING
.................
REMARKS
,
!t;c
The
Ziegler-Nichols
18.4
The
Nyquist
.................
Tuning
Stability
Technique
..........
Criterion . . . . . . . . . . . . .
18.A.
REFERENCES..............................
PROBLEMS...............................
PART V:
Chapter 19.
Dead-Time
Compensation
i ..... t ...........
AND
CONCLUDING
REMARKS
........
................
Control . . . . . . . . . . . . . . . . . . .
Split-Range
SUMMARY
AND
CONCLUDING
REMARKS
................
FEEDFORWARD
AND
RATIO
CONTROL . . . . . . . . . . . . . .
............
AND
CONCLUDING
REMARKS
................
ADAPTIVE
AND
INFERENTIAL
CONTROL
SYSTEMS
........
SUMMARY
AND
CONCLUDING
REMARKS
................
EXPERIMENTAL
MODELING
OF
CHEMICAL
PROCESSES . . . . . . .
23.3
Pulse
SUMMARY
r-l
;. i,L
Nonlinear
. .......
Testing . . . . . . . . . . . . . . . . . . . . . .
AND
CONCLUDING
REMARKS
!.(.: ,
3
................
;.
PROBLEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PART VI:
MULTIVARIABLE
Chapter 24.
CONTROL
SYSTEMS FOR
COMPLEX
PROCESSES
Degrees
of
24.3
Generation
Freedom
of
...................
Alternative
Control
Systems . . . . . . . .
AND
: ...............
CONCLUDINGREMARKS
INTERACTION
25.1
The
25.2
Selecting
AND DECOUPLING
...............
Loops.
............
CONCLUDINGREMARKS
. . . . . . . . . . . . . . . .
I!::
1
p
i5
iI
Chapter 26.
..........
Selecting
26.3
The
26.4
Decomposition
26.5
An
Example
SUMMARY
Control
Objectives
Cause-and-Effect
AND
and
......
Manipulations
......... . . . . .
Diagram
Strategy
...........
..................
CONCLUDING
REMARKS
...........
REFERENCES . . . . . : . . . . . . . . . . . . . .'. . . . . . . . . .
PROBLEMS.......: . . . . . . . . . . . . . . . . . . . . . . .
PART VII:
PROCESS
Chapter 27.
I.
1.
z
1
@
c
a.
I
CONTROL
USING
DIGITAL
COMPUTERS . . . . . . . . . . .
27.1
The
Hardware
27.2
The
Design
27.3
SUMMARY
Characteristics
Physical
AND
Elements . . . . . . . . . . . . . . . . . .
Example
CONCLUDING
...............
..................
REMARKS
................
DISCRETE-TIME
Converting
Difference
SYSTEMS
AND
THE
Z-TRANSFORMS
.......
...........
; ..
and z-Transforms . . . .
Chapter 30.
REXARKS . . . . . . . . . . . . . . . .
THE
DESIGN OF SAMPLED-DATA,
FEEDBACK
CONTROL SYSTEMS . .
Chapter 33.
33.1
Feedforward
Control
33.2
Cascade
33.3
Adaptive
33.4
Supervisory
and
Ratio
Control . . . . . . . . . .
Control . . . . . . . . . . . . . . . . . . . . .
Control
....................
Control . . ,. . . . . . . . . . . . . . . . .
PROBLEMS
I.
PART I
THE CONTROL OF A CHEMICAL PROCESS:
ASSOCIATED
PROBLEMS
process,
- to analyse the characteristics of a control system and to formulate the problems that must be solved during the design of a
control system, and finally
- to provide the rationale for studying the material that follows
in the subsequent chapters.
In order to achieve the above objectives we will use a series
of examples taken from the chemical industry. ,These
usually simplified
tlualit.i3tive
examples are
points made.
/3
CHAPTER
INCENTIVES
FOR
CHEMICAL
PROCESS
CONTROL
pumps, distillation
columns,
absorbers,
evaporators,
tanks,
The
etc.),
plant's
its
imposed by its designers and the general technical, economic and social conditions
in
the
presence
of
ever-changing
external
influences
(disturbances).
for the well being of the people in the plant and its continued contribution to the economic development.
temperatures,
allowable
Thus,
the
operating
pressures,
system
that will
Production
specifications:
duction of two million pounds of ethylene per day, of 99.5% purity, from
an ethylene plant.
the production level (2 million pounds per day) and the purity specifications (99.5% ethylene) are satisfied.
Environmental
regulations:
Such
regulations
for
example exist on the amounts of SO2 that a plant can eject to the atmosphere, and the quality of water returned to a river or a lake.
-
Operational
constraints:
Such
constraints
should
destroyed.
constraints.
- Economics:
ditions, i.e. the availability of raw materials and the demand of the
final
products.
Thus, it
of
All the above requirements dictate the need for a continuous monitoring
of the operation of a chemical plant and an external intervention (control) to
guarantee the satisfaction of the operational objectives.
This is accomplished
which
constitutes
the
control
system.
There are three general classes of needs that a control system is called
to satisfy:
Such dis-
turbances denote the effect that the surroundings (external world) have on a
1_
reactor,
separator, heat exchanger, compressor, etc., and usually they are out
I-
control mechanism that will make the proper changes on the process to cancel
the negative impact that such disturbances may have on the desired operation
of a chemical plant.
Example
Consider the tank heater system shown in Figure 1.1. A liquid enters the
tank with a flowrate
Fi (ft3/min),
and a temperature
Ti (OF), where it is
and temperature of the stream leaving the tank. The tank is con-
sidered to be well stirred, which implies that the temperature of the effluent
is equal to the temperature of the liquid in the tank.
The operational objectives of this heater are:
- Keep the effluent temperature T at a desired value Ts.
- Keep the volume of the liquid in the tank at a desired value Vs.
The operation of the heater is disturbed by external factors like changes in
the feed flowrate
and temperature Fi
and
Ti'
after attaining T = Ts
and
Fi
some
form
changes.
tank.
e=T
-T.
yielding a deviation
T to return
troller opens the steam valve so that more heat can be supplied.
contrary,
e-c0
O n
t h e
or T>Ts.
It
is clear that when T = Ts, i.e. E. = 0 the controller does nothing. This
control system that measures the variable'of direct importance (T
in this
case) after a disturbance had its effect on it, is called Feedback control
system.
Fi changes. In
this case we measure the level of the liquid in the tank and we.open or close
flowrate
when
clear that the control systems shown in Figure 1.3 are also feedback control
systems.
All feedback systems shown in Figures 1.2 and 1.3 act post facto
(after the fact), i.e. after the effect of the disturbances has been felt by
the process.
Returning back to the tank heater example, we realize that we can use a
different control arrangement to maintain T = Ts
when Ti
changes.
Measure'
I7
Such
control
We
configuration
notice
that
is
called
the'feedforward
Feedforward
control
does not wait until the effect of the disturbances has been felt by the system, but acts appropriately before the external disturbance affects the system,
anticipating what its effect will be.
t = to
factors, but that as the time progresses the value of x returns to its
initial value to stay.
pressure,
concentration,
It
value.
in Figure 1.6 (curves a,b,c) are called unstable processes and require
external control for the stabilization of their behavior.
The explosion of a
i
-
reaction
A+B
takes place.
coolant medium that flows through a jacket around the reactor (Figure 1.7).
As it is known from the analysis of a CSTR system, the curve that describes
the amount of heat released by the exothermic reaction is a sigmoidal function
of the temperature T in the reactor (curve A in Figure 1.8). On the other
hand, the heat removed by the coolant is a linear function of the temperature
T (curve B in Figure 1.8).
i.e. nothing is changing, the heat produced by the reaction should be equal to
.
the heat removed by the coolant, thus yielding the steady states Pl, P2, Pg
at the'intersection of the curves
I
5
To understand the
Assume that we are able to start the reactor at the temperature T2, and
the
concentration
cA
At, T;
Figure 1.8) thus leading to higher temperatures in the reactor and consequently
to increased rates of reaction.
1
I
..:?ij
E
.:
I
--
.
1:
ti:
(Figure
off from
P2
P3
Note:
or Pl where
assertion.
Sometimes we would like to operate the CSTR at the middle unstable steady
state for the following reasons:
temperature
steady
state P3
is very low.
(ii) the
Question:
state
P2.
point.
,\ :*:
Bi. ,.:;:4
-
/::t
112/::!.
Safety and the satisfaction of the production specifications are the main
Once these are achieved, the
next goal is how to make the operation of the plant more profitable.
: .,!:
I ',..:'i
1
$':.
,,
1, \
Given the
the same, it is clear that we would like to be able to change the operation of
the plant (flowrates, pressures, concentrations, temperatures) in such a way
that an economic objective (profit) is always maximized.
taken by the automatic controllers of the plant and its human operators.
Let us now see an example from the chemical processing industry where the
controller is used to optimize the economic performance of a single unit.
+B
1
-t C
2
The
heat required for the reactions is supplied by steam which flows through the
jacket around the reactor (Figure 1.10). The desired product is B while C
is an undesired waste.
i.e.
tR
,Maximize
@=
I
0
where
= Ch Q(t)
(1.1)
steam flowrate
8
will
affect the temperature in the batch reactor and the temperature in turn will
affect the rates of the desired and undesired reactions,
should we vary Q(t) with time so that the profit @ is maximized. Let us
examine some special policies with respect to Q(t).
a.
If Q(t) is given the largest value that we can for the whole reaction
period
8..
tR, then the temperature of the reacting mixture will take the
Initially, when
CA
is large, we will
have high yields of B but we will also pay more for the steam. As
increases.
temperature
Consequently,
must
decrease, necessitating
decrease
in
the
steam
flowrate.
8
b.
We see clearly from the above two extreme cases that Q(t) will vary between
its lowest and highest values during the reaction period tRa How should it
vary in order to maximize the profit is not trivial and requires the
solution
of
the
above
optimization
problem.
must
the reaction period and (b) will adjust the valve (inserted in the steam line)
so that the steam flowrate
This
is
not used to ensure the stability of the reactor or to eliminate the effect of
external disturbances on the reactor but to optimize its economic performance.
CHAPTER 2
DESIGN ASPECTS OF A PROCESS CONTROL SYSTEM
variables
(flowrates,
temperatures,
pressures,
concentrations,
etc.)
b.
process,
and
Example
2.1
For the CSTR reactor discussed in Example 1.2 (Figure 1.7) we have:
input
variables:
Example
-.
2.2
For the tank heater discussed in Example 1.1 (Figure 1.1) we have:
input variables: Fi, Ti, Fs(F)
output
variables:
F, V, T
mechanism and
disturbances,
ii.
unmeasured
be
measured
output
directly.
Example 2.3
Suppose that the inlet stream in the CSTK system (Figure 1.7) comes from
an upstream unit over which we have no control.
1
disturbances.
then
F
is a disturbance.
ci
T, F, Tc ,
0
V are measured outputs since their values can be known easily using thermocouples (T, Tc ), a venturi meter (F), and a differential pressure cell (V).
0
The concentration
chromatograph,
stream.
CA
infrared
can be's
they are expensive and/or have low reliability (give poor measurements or
break
down
easily).
Consequently,
in
such
cases
cA is an unmeasured output
variable.
Example
2.4
For the tank heater system (Figure l.l>, the inputs Fi and T.1
turbances, while FS
The
output
are dis-
variables
V and T can be measured easily and they are considered measured outputs.
2Example
.
into
two
categories:
the -measured
- - - and
unmeasured
disturbances.
the
easily
measured; thus
they
are
measured
disturbances.
is
unit, reactors and the like, is not normally measured and conseconsidered
an
unmeasured
disturbance.
problems.
disturbances
generate
difficult
con-
Figure 2.1 sununarizes all the classes of variables that we have around a
5 chemical process.
2.2 ELEMENTS OF THE DESIGN OF A CONTROL SYSTEM
Let us see now what are the basic questions that we must ask while
attempting to design a control system that will satisfy the control needs for
a
chemical
process.
A.
Define
Control
Objectives
is:
Question 1:
They
suppressing
the
influence
of
external
disturbances,
or
Example
2.6
For the CSTR system discussed in Example 1.2 (Figure 1.7), the control
objective (qualitatively defined) is to ensure the stability of the middle,
unstable
steady
state.
objectives is not useful for the design of a control system and must be
quantified.
quantitative
translation
of
the
qualitative
control
objective
requires that the temperature (an output variable) does not deviate more than
Example
2.7
For the stirred tank heater of Example 1.1 the control objectives are to
maintain the temperature of the outlet (T) and the volume of the fluid in the
tank at desired values.
objectives
where
is
T
Ts
vs
and
vs
Example
direct
and
are
straightforward,
given,
desired
i.e.
values.
2.8
For the batch reactor of Example 1.3 the qualitative control objective
is the maxfmization of the profit.
objective
is
rather
complex.
The
quantitative
description
of
this
problem, which will yield the value of the steam flowrate, Q(t), at each instant during the reaction period.
B.
Select
Measurements
Whatever
performance
of
are
the
our
control
chemical
process.
etc.).
Question 2:
operational
performance
of
plant?"
our
control
measurements
Example
are
called
primary
measurements.
2.9
For the tank heater system (Example 1.1) our control objectives are to
keep the volume and the temperature of the liquid in the tank at desired
levels, i.e.
keep T = TS
Consequently,
monitor
a
and
thermocouple
directly.
(for
Sometimes it happens
quantities,
V = vs.
In such
cases we must measure other variables which can be measured easily and
rcl..Lably.
Then
and
the
Such
we
supporting
develop
secondary
measurements
mathematical
measurements,
unmeasured
output
are
relationships
between
the
unmeasured
outputs
i.e.
= f (secondary measurements)
which allow us to determine the values of the unmeasured outputs (once the
values of the secondary measurements are,available).
In a subsequent chapter
we will see that the above mathematical relationship between measured and
unmeasured
outputs
considerations.
results
from
empirical, experimental
or
theoretical
Example
2.10
(bottoms).
feed
composition
back control to manipulate the reflux ratio, so that we can keep the
distillate
95%
in
pentane.
analyzers.
often
or
not
providing
accurate
measurements).
measure the temperature at various plates along the length of the column quite
reliably,
using
simple
thermocouples.
balances around the plates of the column and the thermodynamic equilibrium
relationship
between
liquid
and
vapor
relationship that gives us the composition of the distillate if the temperatures of some selected trays are known.
scheme
that
uses
temperature
measurements
(secondary
measurements)
to
estimate
or infer the composition of pentane in the distillate, i.e. the value of the
control
objective.
The third class of measurements that we can make to monitor the behavior
of a chemical process includes the direct measurement of the external disturbances.
G
alleviate
any
undesired
measurements
of
c.
Manipulated
Select
the
consequences.
disturbances
(see
Feedforward
Figure
control
uses
direct
1.4).
Variables
Once the control objectives have been specified and the various measurements
process, i.e.
C&estion 3:
is a crucial question as the choice will affect the quality of the control
actions we take.
Example
2.11
analyse
later.
31
D.
Select
After
manipulated
that
of
the
the
Control
control
variables
defining
Configuration
objectives,
have
the
been
control
the
possible
measurements,
and
the
available
configuration.
systems
with
different
control
configurations.
The two feedback control systems in Figures 1.3a and 1.3b constitute two
different
liquid
control
level)
flows
configurations.
to
different
Thus, the
manipulated
Similarly,
the
same
information
variables,
feedback
i.e.
control
(measurement
of
F (Figure 1.3a)
system
(Figure
1.2)
and the feedforward control system (Figure 1.4) for the tank heater constitute
two
distinctly
different
control
configurations.
FOP
different
measurements.
Thus, for the feedback system of Figure~l.2 we use the temperature of the
liquid in the tank, while for the feedforward system of Figure 1.4 we measure
the temperature of the inlet.
In the above examples we notice that two control configurations differ
either in:
- The information (measurement) flowing to the same manipulated variable or
- the manipulated variable where the information flows to.
Thus, for the two feedback control systems in Figures 1.3a and 1.3b we
use the same information (measurement of the liquid level) but different
manipulated variables (F or Fi).
as
follows:
Definition
--II_Control configuration we will call the information structure which is
used to connect the available measurements to the available manipulated
variables.
It is clear from the previous examples that normally we will have many
different
the
control
following
configurations
for
given'chemical
process,
which
raises
question:
Question 4:
process
control
situation?"
The answer to this question is very critical for the quality of the control system we are asked to design.
Depending
in,a
single-output
multiple-input,
(SISO)
multiple-output
or
(MIMO)
control
systems.
a MIMO system.
In the chemical industry most of the processing systems are mulitpleinput, multiple-output
systems.
we will start first with them and progressively we will cover the design of
MIMO
systems.
-Feedback
- -
control
configuration:
(set points).
b.
the
controlled
pulated
variables
variables
controlled
are
(Figure
variables
at
not
2.4).
desired
Uses
secondary
measurements,
because
measured, to adjust the values of the maniThe objective here is to keep the (unmeasured)
levels.
The estimator uses the values of the available measured outputs, along
with the material and energy balances that govern the process, to compute
mathematically
(estimate)
the
values
of
the
unmeasured
controlled
variables.
These estimates in turn are used by the controller to adjust the values of the
manipulated
variables.
An
example
of
inferential
control
configuration
can
be
Feedforward
control
configuration.
in Figure 1.4.
E.
Design
In
receives
the
every
the
Controller
control
information
the
measurements
and
takes
appropriate
control
5:
of
the
manipulated
variables?"
The answer to this question constitutes the control law, which is imple_
mented
automatically
Example
by
the
controller.
2.12
Our
measurement will be the liquid level and the manipulated variable the outlet
flowrate.
wlien
17
law.
Let us assume that the heater has been operating for some time and that
1 its liquid level has been kept constant at hs
has remained constant at a value
T s'
while
the
liquid
temperature
Under
these
conditions
hs
that the
i,s
= F
i,s
and sF
Fs
(2.1)
Suppose
If nothing is
How h
changes
with time will be given from the transient material balance around the tank,
i.e.
dV
dt
Fi
or
Adh=F
dt
i
-F
(2.2)
*
dt
- (F -u Fs)
(F
i
Fi,s)
d(h - hs>
A
(2.3)
dt
since h S = const.
The variable h = h - hs
F.
F increases
a(h -
hs)
(2.4)
This law is called Proportional Control law, and the parameter a is known as
Proportional
From
Gain.
equation (2.4) we notice that when h - hs = 0 then F = Fs
consequently b = Fs.
F
= Fs
and
+ a(h
(2.5)
- hs)
d(h - $1
A
dt
+ a(h - hs)
(2.6)
- Vi - Fi,J
This last differential equation is solved for (h - hs), and for various
values of the proportional gain a
conclude
that
the
proportional
control
law-is
not
Thus,
acceptable.
a'
(h - hs)dt
+ b'
(h - hs)dt
Thus, the
F=F + a '
= 0 and F = Fs.
Consequently,
(2.7)
(h - hs)dt
0
Substituting F from eqn. (2.7) into eqn. (2.3) we take,
(2.8)
is shown
the error h - hs
subsequent
to
chapters
we
will
see
how
solve
Note:
In
integrodifferential
equations
with
control
the
proportional
control
action
the
integral
Fs
a(h
hs>
a'
I
0
(h - hs)dt
is given by,
37
engineer
control
designer.
tanks,
pumps,
compressors,, etc.)
which
are
interconnected
with
good
chemical
engineering
background.
Example
2.13
column
(Figure
2.10).
a CSTR and a
TB respectively.
- C
The reaction is endothermic and the heat is supplied by steam around the
jacket of the reactor.
the
distillation
column
where
Product
specifications:
Operational
constraints:
Economic
considerations:
are
The
raw
flowrates,
materials.
Indeed it is.
The basically new feature for the control design of such a system is the
interaction
between
the
units
(reactor,
column).
affects in a profound way the operation of the column and the overhead product
of the column influences the conversion in the CSTR.
This
tight
interaction
between the two units complicates seriously the design of the control system
for the overall process.
Suppose that we want to control the composition of the bottoms product by
manipulating the steam in the reboiler.
the
composition of the overhead product (A+B) which in turn will affect the
reaction conversion in the CSTR.
On the other hand in order to keep the conversion in the CSTR constant
at the desired level, we try to keep the ratio
column.
trol problems for single units and eventually we will treat the integrated
processes.
CHAPTER 3
HARDWARE FOR A PROCESS CONTROL SYSTEM
every
OF A CONTROL
- - -SYSTEM.
control
configuration
we
can
distinguish
the
following
hardware
elements:
a.
The
chemical
process:
It
represents
the
material
equipment
together
with
The
to
measuring
measure
the
instruments
or
sensors:
Such
instruments
are used
secondary variables, and are the main sources of information about what going
is
on in the process.
Characteristic
resistance
thermocouples
or
examples
are:
thermometers, for
,
measuring
the
temperature,
A mercury thermometer is not a good measuring device to be used for control since its measurement cannot be readily transmitted.
readily
transmitted.
measuring
devices.
Since good measurements are very crucial for good control, the measuring
devices should be rugged and reliable for an industrial environment.
C.
Transducers
or
transmitters:
trol until they are converted to physical quantities (like electric voltage
or current, or a pneumatic signal, i.e. compressed air or liquid) which can be
transmitted
For
easily.
example, the Strain Gauges are metallic conductors which change their
resistance
when
subjected
to
mechanical
strain.
Transmission
lines:
were pneumatic (compressed air or compressed liquids) but with the advent of
the electronic analog controllers and especially the expanding usage of
digital
computers
for
control, the
transmission
lines
carry
electric
signals.
Many times the measurement signal coming out from a measuring device is very
weak, and it cannot be transmitted over a long distance.
transmission lines are equipped with amplifiers which raise the level of the
signal.
For
mil 3.iv0I.t s .
The
controller:
It receives the information from the measuring devices and decides what
action should be taken.
could perform very simple operations and implement simple control laws.
Today with the increasing usage of digital computers as controllers the
available
machine
intelligence
has
expanded
tremendously,
and
very
compli-
The
final
control
element:
controller
be increased
(or decreased) in order to keep the liquid level in the tank at,the desired
value (see Example 1.1, Figure 1.3a), it is the valve (on the effluent stream)
:
that will implement this decision, opening (or closing) by the commanded
,
amount .
The
controi
are :
,
etc.
.
i
,. . .
.*
,?
Si
*
&.? , .s ~!
Recording
elements
:
These
are
used
to
provide.
a
visual
demonstration
of
83.
:
i;
)
si
:
1
3:
how the chemical firoce&behaves.
Usua%~y the variables recorded are the
2.
I ~._<.
: -1 a,.$
variables which are directly Ameasured as a part of the control &stw.
,?
Various types-of
Si
2:; ! ._ g:.
*, . _, .) 3
I
ra~orders,(te&erature, pre_ssure,.flewrate;
1.,.*
.,
composition, etc.)
.
can be seen in the control room of: a chtsmica), p&ant, monitor&q continuously
*z 51
,.,: :
/ ,.~J :, >;
,.....
3.r ,r.
the behavior of the p&e&$ .
The -recent introduction of the digital computers
in the process d&trol
.,
.(^
T,.=
,,I
opportunities, through
L
.fi
used for the cqntrdl of the
:
,CONTRO&.
.:
Th
h ee r a pp i dd technologica+ @+opment
@velopment of,d$gital.,.eomputers
of,d$gital.,.eomputers during
during tt h
h ee l a s t **
ten years, coupled with. s$gpifieant .reduction of their cost, had a very pro.,
found effect on how the ohemical-plants are controlled.*,The
il ::
; . . .
expected future
.
,,
improvements aqng
niquesmake
* -<
effects have*
,
,
r
3
elements
(valves,
pumps,
compressors,
switches,
This dfrect
etc.).
to .the
imple-
etc.
are hard-
and they are used to create the interface 1 between the computer
the units'we,have
In a let&
Finally.,
cbapter"we.wiil
diecuss
'the Computir
and
Sch,eduling
computer control.
to
chept$F:,
-wfW'the
final,
.,-'
I,
REFERENCES
(1
.. .
ChaRter 1:
can bc'foun&'&
(1)
prowess
'*
control
Techn-Jl&@
Son&, Inc. ,
tith'exokhermfq
reactions
I.
I& p. 2 (1976)
> r.
>
(
The reader is encouraged to return to these articles
later after he has become
': ". ,I
familiar w&h the terminology' nIncluded in the above refere&ea,
.
Chapter 3: Details on the chslracteristice
and th6 design of the measuring
+
devices,
recorders,
Oransducersi
d4
I
3%
Engineer\8
edi$n, MqGrqyHill,
New Vprk (1974). ,.
I
.*
(8). Pro&a Instruments and,bontrdls X&dbqqk,, D. M. Considine
,:
(editor.), ,2qd .* eaitiqn, l&&aw$iill;.
New York
_,
.: (19Jk)..,
I
An excellent reference for the cor&ter; contgo;;l ,& th&_ch+cel
pro-
cessea
is the boa&:
(~
SC.'
,i.'c_-I s.
. ;: ._
Con&&, by,,C,:L,
Smi&, Intext Educ,,
(197t3j.
/
-.' (11)
.I
"Ener@
I,
LaWuS,,,
. ',
..I'
,'
oi a Dis.~~~Jatisn,Sye'~,l~.by,
*
.:'
,
F. W."fFblas,
(1
I
Conser&ionl~ia
;,I
,>
,: .
:.
)L,
~.~~.~~+~~ellano,
:I
56
(3 (. _
Process Computer
<i
Cont.p3i,*!..by
',
P. R.zsi.
n
'_ ,,'
Chem.,
Fpg,;
Pr0&~.,,;12(4) , 76*;.(19i@b
~' " _/ :';
,,
..
!>
7' (52) 'Qhnppr Co&l of Aqm+&&anfq~,ll,,: !yL. C. Daig$e;III
and
.i.' ~,
.;;1.
G. I(, Nieman, C&m. .&g, progri;',.~70(2)j..Hf.11974),,~
": ' .',
" ,
,_
" .,
;.:.i. _, '_
;(13) "Applying Cpn*ol, (Sompuzt&/ t&a'& X~t$y$ .'
.* I.(
,
Nisenfeld, Ch". Eng. Progr.;.,-
.
--
--
..-----------------,
,, :
.-b---b
c..
,,'
Coolant Water
COLUMN
Controller
Contrdller
I-----y----,
-4
--a
5-J
I
.:
Reflux
Distillate '
.
Feed /I
I
-1
:
1
.
kimat& o f t h e
Values zrf the
Unmeasured CX&rolled
k-ti -4 VariabIes
f
.
----w-a
Estimates
of the
Unmrzrsured
Controlhd
Variables
./
i
3,.
.,
,:
I.
T h e g e n e r a l s t r u c t u r e o f t h e dnFetenfia1 c o n t r o l configurntim.
Measured,,
Oukputs.
,
U n m e a s u r e d
outputs
4:
.,
control
COIIC
J:;+II-;:t
i,,lI.
,
. . . . C-...-w-.
-.__-
,,
.,
..-.
a..
.-
..d.
..
ir,-
--g*
----I--l
-, . _ - . --- _ _. -. .-._ . . *. . . . .. .I . . - . . . . .
5q ,. :.
Disturbances
-..+-+Measured
c
.
.
Unmeasured
L : Intertace
..-- L
L,-
c CHEMICAL
PLtiT
.+ -1-1 ,w-..
,y- ..- -3
-
>
-J
.
2.
2.
While you are taking a morning shower, what $8 your control ob.jective,
your measurement and the manipulated variab,les at your disposal? q
+
i.
Compare a ,sifple feedback to., a ,sfmple f,yedf,orward control configuration
. 1 ) i
(Figure Q.I-1). Which one would you trust to8 .perform better in
_- ~a c h i e v i n g y o u;.,r . c o n t r,( o l *:obj,ect$ve?
,$2
, W h y ? :I,.j,.. :
3.
3.
4.
4.
I
55 ..
7.
8.
6
6.
,!
.
t
. ..
8
10.
.: :
I.
:; i
What is a differential.pr&sure
level in& tank? )- .
11.
12.
.$
14.
F ! . ,:.
cell and how doee it measure the liquid
I
1
i
._
i
(i ~
,.,
t,.
What ire the,b&ic and moB<i.import!ant advantages offered by the digital
, i $
- ; :- . _
. I
cornput ere in process control? Discuss thesj size, Cbp&ilities and ,the
/,(I
:
5,
t :rP
%. =f
:.<
:
:. .
prices of the most recenthigital m~croprochaeore~ evailable in the ,
,a
I
1
t.:
market.
Do you realize the inexpensive potential, tha?. they offer for
*,
s
* ., t <<.,. ;: .
I 2
process Atroi?
:,.
.
,
2,
:?
~:
,1
i.9.
.:
I.
.I.
I.
pRoBLEMs
1.
. *
:
1
Consider;the
(a)
~$7
:;
e.,
The'control
objectives
fok
this
.;
system,
dis&bances'thdt
Identify:I
':],
~
of the
i(
3.
L'
L
&kiwn in F%.gu3e
P;I-'Q',
considtir
~,,
that'thie:
4.
disturbances. ,"
-the
avaiiab~~.~&&$at&i
avaiiab~~.~&&$at~
.
:ttr~'~a8i~~~oon;trsl"object,i~~
For
the
CH; have
.' .system, '
and 'ihe'produced
distillation
deenrem&ed
in
",,,
/"
* I'
\'
:,_
'.,,
.i
,
I
' I
%I (a) Identify all the control objectives (make sure that you have ,,I,!
I
.
included all the operational object,ives) ,
, t. 3 : .;.I
,,
I
(b) identify all external ,disturbapces, and,, ,
(c), all ,.t$e available ,measurementa, end ~mar$pulated
,i
variables. .
5.
I ,Xi
,,._.,,
(e) if the control objective. is to; keep the purity of fhe..~@#h@, ,: :,.
r ~,: J:., _:
,prodpce (benzene) constant and.: the .use of, concencratiqn rn&$&?#g
.*
d e v i c e s .
( g a s lchromatographs,z infrared;l,anaiyzerS,;le~~?)a~B:ao~
*, .:,
:
,recommended d% fo. their low relwility;,i sugge#;
,
+ control configuration. What secondary mea&em
_
*
31; ,,
..une?. How would you use them in principle.. to.Se$t,ima~+4,;&
.; ~,,
-x
,:i,i+ ,-
(jonsider
6.
?.
sy&&, I I, ;, $5
::..:+%,y
;T *
.-,
.
,*(
/:poaaible;*for
7
2 achieving:
>,
*
.,
~
+
your control objectives?
3.
,
.i
I:.
,,
I
1.
. ,_
;A
7.
Ftgure ,P.I-5 shows a system of tw0 tanks which are used fur the temporary
lis used. :to a&uimA%te the l&@id. product in excess of the demand.
(a) 1, Idi?nt!Lfy:
E%ternal diatur~arices,
J -\ and- manPpuk&ted
:! i, MIMO
(b)
systemT
Develop alhernAtive
Is this a. SISO or a 1
>
~
<
feedback sand/or f e&f or-ward Control conf igu-
i , (i q
_.
.f
8 . Consider ii s&em of two ~contitiuou~~~ stirred Gnkreactors in%&.&
x
(Ffgure P. I-&) wh e r e t h e, - ? foll&#ing &ndqth&mic Tre@tion takds pltitie:
V
(.
.
l
/
. A + Cataiybt,t 4 B 1 t , ,::. ,~
.:.I-. ,,,t
;,,Z-:T
i, .j. i
.:t (a) fdentffy t+ c,,&ro~-.odj$&&!!& xrbr the ~pe+a&+ &;thg &o
1
:
:
/ +*
, * G>,.
CSTRS.~
),
(1;)
Cl-&y
subsequent&y
variabJ..
and
classify
,::
'&&
o&ji,ts
:the
irtputs"in,~~"dist~~~~~~~~~~~~~~aaipulated
,
,/
.,
1 T', ',,
: '.;
&to measbked
as ;~,&,~a#&~'
&&,&&~
,,,
,it
*.
d; ) ~J CI .!,i,.i .b i: --r (/ ,
:-_- :
.i*-!
k.
$ \., i f ..,.; :c
(c) Develop .a feedback control &nf i&rat& chat! iatiif&&&ur i.
:j
objectives using a c&iporition ~naljio;cit4~~~exit it&m or
.
L
,$
I
I
,/ .
:
he second CSTR.
.,
(df Developan Inferential controlcdnfigurat~on that uses.tempetatures
?I
.1
5
z.
+ !
_,
'. ., "
1.
_I
ti
(e)
analyzers
if
2
9.
they
are
needed.
is easier to .control,
Con8ider.a
,The
,:.
steam flowing in a jac&t around the: tubular reac&orz. ,The
stream of
through;the
s
the
can
steapl,thus
b
:
increasing -the temperature of thereacting mixtuke and:.Fonsequ&iy
,'
t,he.conversion to .B. &at us.,assuw &hat
th+ reacrtor -is isothe
I"_
,
^. * ,Jc i',
along its lengrh.;. Pigure P.-I-'lb,:: shows thotempersture
inthe reao%or during,the reaction pqriod, fl~#~
imize+.the profit fromthe'operation
I,
'
of the tubular reactor.
c,'
,.;. '(
1
(a?.,. Fo,qm.d.,~t~ .the optijmiqsy+, ~~~blem~E~~~;~~~eld~~:the ..temperat&: '.
4
pro$$I$ of F&g&e PUtlb
its sqlu,9i411~
,
~7.
._. .I ..as,
1 .*:
d.
.:
(b)
DweloR a .feedb,ack.^
:co@r~l &y@em
the.i tern':..tC'^.
._.^@ich.~ill,reguIate
.I_
.'
.i
what
perature of the rd[actor to ,t@t,.sh#k
T, /' iqP~gur= P.I-?b..<
,,I.'
"
!,, l'. ., ..i,'E ,.i.: .-F ,
Q? the:- kontfol $@hm
1.: j .<' ' , , .
"y:. 1'bed
<:t
I Cc) Draw a control
uses ,&digital- computer for the
.L.~ I system
* : . that
.&Se -'i,..
I
implementation of the feedback system in (b), Include measuring
I
devices,
10.
transmissionlines,,:final
,. * ',
con,trol
,>
.,
else is necessary,.. , .,' r:p
;)Y
*
TWO liquid streams with flowrates Fl, F2 ~j and temperatures T1, T2".
.~
'
flow through two separate pipes which converge at a mixing functkon
.*
/.
.:
:.r.,i
(Figure P.I-8).
the
.T3
temperature
of th.9 fir&
z4.
.; :
*(a) Ide@.fy the control objectives, ,disturbances, available
,P/
.measurements and manipulased variables. Is this a SISO or a
MIM&'system?
C-T - vI- -
S?ART II
MODELING THE DYNAMIC AND STATIC BEHAVI6R OF CR~EMICAL
$8. :
PROCESSES
construction, of
of the
the modei'
modei' will
will be
be, r&f&rid
r&f&&d toto .as
.as modeping.
modeping.
r
,
:
Modeling a chemical process is $i very synthetic activity,requiring
the ,
/
use of all the basic principle&of the chemical.pn@eering science, such as
thermodynamics ;* kinetics, ,trane,port
is :
THE ~EVELOIWNT
DEVELOPMENT OF A MATHEMATICAL MODEL ,.
.fd '_
_!'!.
processing system with.its associated variables as
./
shown in Fig&e 2.1.' To investigate 'how a chemical process (i.ei i t s 'outprr~ts)
,
;.
"3
_..
~_
changes:kth tiny@
time under
under the~'ix&enca
theinfluenca ofof the
the external
external disturbancesand
disturbances and mani.
pulated variables and consequently design an appropriate controller, we can
r:
use two different approaches:
.
',
,
',
-. Kxjjerimental approach: ' ii this case the physical equipment.(s) of the
i,
i
, ;
.L
ch&&kl process. is available to us. Consequently, we change,deliberately
I -:-';~..', i( :
_' ,
:
*,
the values of various inputs
. .I.-(disturbances, manipulated variables) and
1 .f,
, _ : ( L :,, .,G
,I)
;I* :,
through appropriate me&.&&g devices we obser&e,how the outputs itemw
J.
j_.
$
peratures, -pressures, ,flo#rates, condentrations) of the chemkk process
uy;i$i, ,A : ,
,
I .qi, ,,j.:
f
Y
1 ;,
;
I
.
:.*z :
change with time..i, . S u c h pro&dure i s t i m e a n d effort consuming an&it
as&it iis
s i
!<.,
!<'.',
: ,y-: L,, /Y >! f. nn" fj$ )~, +
. tJy
I T (
-' i"i * : I;*
usually quite costly because 8 large number of such experime&ts muqt.~;#e-:,.
,.
:
,: p , .:,-jj
1
,.
. -.
.(
F
: * & /(,) $1 . r
h
,--ki 4, . .
.
f
p e r f o r m e d . ,
. 1. ,I
;._>h; 1. ; ^. { ,-.iT, :
..*= : _ ii::! ;e&& ,~,:~~v
i&C.? t: .:.c $
7
I,,
.
- y&J&icalT ap;;ohc;;
It:,$s quite -of ten the case: that we Bkve .t& .desXgn
k. , i::
,. .:.
:
, .* ; 2:;
< . . G*&,>.
t h e c o n t r o l sy&em 'ko$"a
ch,emical p r o c e s s before,&'bkas,been c&nstruct&&
'I
I'9 ' .
i. ,
.,
"
In such a casa we cannot rely on the experimental
procedure,
and
we need
IL
,. ',.I
,_
Consider a general
'. a d i f f e r e n t
re~~eeenra~~n'of!.;~~~~~~~~l'pr~ess
im ordar,~~o.e~yit.~;~
^(
..
"'
.:
; d y n a m i c b&h&orr ~Thie~r&tired ropressnta$t9n is ~usiq&Q @A& kn twml
i:
squations
(diffirkkQIS~
'_
_ .j> _
~,
i ,i_
'&kg&&c)
approach.while
) . f
,.
wh.088:~
..
',&,
j I
for%tW development
IQitialZy, we.
we. will
will examine
examine:the
:the theoretikal
&apt&r
(Chapter ).
*;
'
., !
L :.
..
1; (
1,
disturbances.
,,, ci ;;
<
.,!C
:4
control?
: : f
..
Then,whydoye
*t, , ; ::I
2.
: 2,,I ;;.
,,~.
/, -.
L..i
hi--
, ; L;
:
: b
:: !
.d
have not been constructed . Consequently we cannot experiment to determine
,J*
,
_.
.
, ,:,k.
how the process reacts to various inputs and therefore design the appropriate - _I
*:. , .:,. :
1
a,,*
,-f r-fq
I, 1
~.
quas tion is :
best value?
.
:>
liquid,, level h 1s af f egted. by. changes!& the value, of.* the itilet$!lowrate
inlet$!lowrate 1 *
:
Pi or the integral ,acltion of the controller;
This.,is given byfequation
(2.g)
(: ,
__
,.
i
^ ,
.
L
Example 4.2 - Design a Feedforward Controller
for s^Process
,
::
<
In the feedforward control arrangement shown in Figure 4.1 we measure
.
,..
,:
the value ofth,e disturbance and we hnticipate __ what! its effect will,be I on the
.,
.
ofi.
output of the process that we want to control. In order to keap the value
I P
<.&
2.
) :
n .,__ :
:
this output at the desired level,. weneed to change the value of the msni>
.- .,
I: .,
:
i ,.
,/-I
3
pulated ,vrriable by such &~u&uni ae t,o d&Rat& the impact that .iha
I .:
.
disturbance would have on the output. &e ques(ion is: how much should, we
.I
r
s
<.I
; ..change the manipulated variable in order., to,,; c&&cel thb effect of the disI
:- ( _/ $ . ,I&
i; ,
:
q,::j :L;
turbance? To answer this qupat$on tie must kno;I *the following two
/ .(
.)
;
relationships,
;
i
_,*
output - f l (disturba&%?)
:*
.
; ,,
,
3?I,..
f,
f..
.
output - f2 (mani&ated v a r i a b l e ) ,) _I
/
..i.I
::Q is :
.: .t:., ~ .
:
.,
which are provided by a mathematical ,model of the process. ,Indeed, if the. ,A-;,
. . ,. .+. 1
+: ..$ +<I; : 2 s,+s; ., 14:; i-i ( f r
:I.
:
:
manipulated variable &st. take such :W valu&,
output is to remain the fsame,,
, ;, the
.
, ., ,.&7:< .*. ; p& -*,,: j , &A.- , *
..,_
-*.i
:
.B
,. ; / ,
.,
that
.
s :;#.& ( -*$ A , *
fl (dis++&)~~ f;i.:~m&ipulat& &&blG$ : S
,
,,
,f
j:
I .
t
,.
This example demons&&s very vividly how important is the mathematical
,. _~
.i
. -, t.7, iI .j ~
1 , I !
.,. <i
modeling for the ,deaign of a feedforward control system. In fact, iwithout.
:
/.
.good and accurate: mathematical
modeling
we
.can&t
desigti
efficient
feedfarward
. 5,~
.
.,
*:
, I i.
objective at al:desired
value.
not .measured
*
d:irectly, it can only be estimated from: the value of the measured output if a
relationship like the following is available,
9.
,.
control objective - f (me&red output). .
*,
/
, .,,6 .I$,I
.J
_*
$,,
an appropriate action like ,:.:
in the/. feedback control*
,../
I!
.,;
.
,I,
*
I
,I,
We notice therefore
that the availability of a good mathematical mod&
1.
: I,
.>,I**
(,
.:..
..
._:
~
-:L
*
3
for the process is indispensable: for the dt;arign of good inferential control
-.
I ,y ,
I
,.
i
\, .ri !,r
.)
A* . ,:,i
i
..,
systems.
:
s1
*
::.
I :
.:. _. I .,*_a%- >, 3 -I :,*
:
,..
i
.,
..,l/
,i rr, i
,
f
*
,
.
i
!
3
,~, 3
.:.**..
.,.
*
. J: .*
/. :
. I.
., .->
The above
very clearly ttit the mathemst$&l
I
4
.,
;a
::
_.
_
r
flowrate,
The quantity. S
etc.
- total mass,
.;
- mass of individual components
,\
.,
..i
j.
))
02,.
;,
!1 i
.y j
!_
$.,
jl
_2.48
., :, I : . I
a
I.$
Remark. It should be remembered that for the phy&al
chemical processes
Y? .: . .P , and
40 ;,_ , . .*a. 7 . .
5; _ i
$ 1 .
L rJe will be studying, the total mask and total energy can not be
,:
generated from nothing neither they disappear.
: .;
J
-._
l__l
. <
,L,..; _I j
Let us review now the most often used formsfor the balance equations.
,
,,. dl.I
Consider the sys tern shown in Figure 4.3. Then, we have:
. . . ,,.,
I, :
! c
r;
Mass. Balance on a Component A
?
:R ,: 1 F
,.
,
.
:
,
,d(c,V)
d(q)
ii piet cIA~i I,- : j :;;t;;; ci PJ 4
.
aL
UI.
i
j
,P; Z
,? 7
,.j, . L 5
i ,_,
: ./
pi .(
I
ky s, (4vTb)
,,I
i:,?,,
1
-.,.
,-,
*
I. Ll
c
,I ,.: I.)
is the total volume of the system; ,
#$ 1
:;. \
:
,
is
the
v%lumetric
flowrate
of
an
.&E&i
stream;
:
.
I
.
I:,
!
_(
.
Fi
,,,
.
is the v.olumetr$c flowrate ofianioutlet ~tr~eam; *r .%
.-,
I.
Fj
.!:: ..,1
,_,
i
,. ,I_
&
nA , is the number -of moles of colapanent A in the system;. _ .,
A,
x
..
:
_:. ;.,:
is the.molar concentration (moleri;/vol.ume)
of A in theiystem;
cA
_ .vy /.,A, ,
*
. . ,I
is the molar concentration of A in an &&et; *
*;
CAi
I . ,: /_ ,.A
CA
is the molar concen tratlon of A in an outlet;
2. ; r : , 5.I
.I )
..,
r
is the reaction rate per unit volume #or c0mponent.A in the system;
.
. :
_.,
., < I
ia the specific enthalpy of the ma,t&ial in an inlet stream; :
I, i
hi
y; y::,,
:
is the specj.fic enthalpy of the material
in an outlet .s&eam;
hj
*
: :.
:
. . L
.,.I, * , .
U,K,P are the internal, kinetic and potential energies of the systea,
L-
. , ~ -5 a* ,
l$,.
,,
:.
:. . *._
/.
respectively;
.,
?
:, ,,
r: 8i.. ), ),,
.
!
is
the
amount
of
heat
exchanged
between
the
system
and
its
s&rQu.ndlngs
Q
.
:
7
.e
per unit time;
., 1
., .y,:
. . , 9:
( : A$+
is the shaft. work exchanged between the system and its surroundings I
wS
per unit time.
in an aut.k.ez: bstreami s
? I
j
;
,.
j/O-
/ ,
total mass - pV
where
- pAh
j.
p the density of liquid; V the volume of liquid; A the cross
(4.2)
U+K+P
but since the tank does not move, dK/dt - dP/dt * 0 and dE/dt =
* ..#
.:
,,
, 1
dU/dt. For liquid systems
*
,,
dU/dt
a .dM/dt
Furthermore,
(4-3)
(T - Tref) - pAhc (T - Tref j,
,
:p
.
,:_
,
I,Y)
9
. t :.a,$ :
where
.
.( La, . ,. L; .:..a;.
::
+
;i
i
),
;
_
..L.
T -,c is the reference tsmper~fur&:~
where the sPe$if,lc en thalpy of
LtzI.
,: y $k> -i ,. ;
_the liquid is assumed to b& %ero.,
2
Lb, . .
eqne, - ( 4 . 2 ) i&f- (49) qii;i+i$adi t&at the eta&i &i$$+~ f o r . a
Frmi
._
(. . ::
,Y :
7
pVcp
Tref
2.
Note:
$
:
,
1
Let us proceed now to develop the state equations for the stirred tank
temperature.
*,
.- :
heater .
,_:.
)
*
,f
.
Accumulation of
total mass
time
.<
:*-
,,
fdW$!
I, +
,!
Input of.
,Output 0.f
3 total mass
t o t a l mass
t&me . j ,time
piEi (
:
j
pF
; c.
:..,q
i
.(&-
/
3 . +:
where Fi and F are the volumetric f iowrates , i .e, volupe beti unit;of time
,, ,i
(
. .
;t: /- c? d : ke
(ft3/min, or m3]min), for the inlet and outlet streams respectively. l Assuming
s
$ / .*
4:.:i
.; t
constant density (independent of temperature)
(4.4)
becomes:
_
eqn .
.;,I
:..
: .
/i. la\ L
.s P P. - u
or
Additkonal
,*
$
FT.+.--q-.,:
..FiTi
i 2
pc,
IT
&dT
,,
,!
= Fi (Ti' - T) + + .:
p ,
dt
i,
p.4
i L
.i
7.
(4.5b)
.:
L
.
:
J.
Summarliziag
i.
t&Eat*
auua~l~ns
,I Li/
Ah dT dt (,
The variables in
j
Section
Fi (Ti - 0 + $(4.4a).
F4qns.
Z.1)
d&sturbances:.
Ti;
.h,T
Fii
. ,_
heater.
(4.5b)
..
,output v&fabl:es :
~~~-stke variabies:%:
_,
.I
(4.4a)
.,
:Q, F ( f o r feedbhck
.,:;f,
-J,,
controls)
the mathem&ttc
We need
only solve*.,Ithem in : orqer
7
, to ..fin38 its
.A
behavior.
Let us now rtudy the dynamic end atatie be&?&x
of thentf-ynd: tqtilc
.a L i
..:..
.,>
. .
eqns , ..*
w-
(4.4id
c?nd (4&) g ,,.,F
ci, , .-.,
.
situation
is
: ,..
Fs
\,
r *I
II
>,
rj.,
Fi,i (Tg,s - 5) + g
O ,,
P
1
<,
,..I
t
I
The subscript :s
,denotes
changes value,
situations:
i.
k
j;.&
Consider that the inlet temperature:
6,
c
decreases by 10%. 'from,- its ..: Q j ,,-~- I ,::,,,'
p
.*
steady state value, Then value.:qf,~~he,l~~uid.
leve!, wil,l remain thq . +i f
/
, '
same at t,he steady state value, hs,.since 'Ti does not influt&ee 1) .:~I' .:~& .+
,.' the tot&mass,in
Ti
decreasing
.:, :
with,
time.
1
t
ii.
change
I_
By coriue&on, aquantity
and negati&$if
The statecequa,tiong
mathematicil
of the process.
eqn .
defined by
Consider the stirred tank. heater of tha &le, l..l:(F&& 1.1) r The
:
fundamental quantities whose values, provfde every information about
the:
-G
:
,.
.,
I
:
>,
reactor are:
- the total maas
mass of the liquid in the tank, *
,
~ y
,.*.
- its momentum.
The momentum of the heater rematns constdint even when tb,di&turb&nzes Change
value and will not be further c@sider?ed.
Let us now identify the state variables for the tank heater.
Remark:
,_
i
:
speeds. In particular,,
the level, h, achi&es its new-: . .
.
In a subsequent chapter : . ,; :,
. D ,IIwe. will analyze the reasons fo>r ,- such behavior:.,
_,:I , s1 .-+,,,>.*: 1
,~
1
:st
_
.
..I>
:
i
i
.
I
II ,,
: ;$ i,r
:
, .? -I. ,I>/ . i, ,,
..-;I .A.:.!
,
.il,
,
4.3 ADDITIONALRLWRNTS
OF TUZ, MATIiEMAqICAL
MOD&$ ~_
; .,
*.,
A,
,;:
; iy4 ,. ;
In additianto the balance equations , we need other reldtion$hi$ to
j
.
0 I. ).
G
;.:: < . .
express thedodynamic
equilibria, react.ion rates, t$ansp&t ra&e
for h&t,
1I
:d
, ;
5, p, ,f i :
/ :*
mass, momentum, etc. Such additional r$a&onshiRs~needed
to comple& the Y
*,
where
j_
.,/
At
TS
.* u
.c
:.
/
:
:,
-.
,,
Example 4,6
L1
i ;. ~., .
) ,:
where
Example 4.7
---------
--1---
_____
-T---C-T--
--
-..-
---..=--~----
_T~
.Y
_.,x
_.
8..
....--
.,
i
I
If
^ the pressure
-_
b in the drum
is
smaller
than
tha
bubble-point
pressure:-of
the
liquid
stream
. , ;
; .)
:
:
(
at the ,.t,emperature .T,,f the
will partially vaporize and two phases at
I ,tiqu,id
~
equilibrium with each other wifl.he present in the flash drum.
I
The thermodynamic equilibrium .,betwee& the vapor and liquid phases imposes
.I
Is
certain r.estrictions on the state variables ,:of the system which must be .;,*
.\
included in the mathematical model of t&e. flas,h,drum; if it ,is to. bk c9n~
sistent and Correct.
(ii)l
< , I
f
exercised
so that all the equilib,sium re&tion&ips
h&& been accounted fhr,
,.
:
_. P i 2:I ,:, 1 i6, ,:;II. I .;I i i : I . ; a-*, .,
p<,;.(.,
~.v*
*. _,, ci _ * .,:, , ~
i.:
*
.,
.__,, ,,.:
,.
.i:
p,
:z$
I
,:.I
j
l
.I
,
,.I
k
1
4. : ;<
D.
Equations of State
(\
, ,;, $& ) : i-p, _4 I
, :, ,;:&I(. ,9 -I. ,i
^
Waals equation, are two typic& e&ations :$fstate foe g&zous.-systems;
,f
r
^
~,. , . :. ;._/,I. I.^!-I,,7:I,
d
).
-. 3. :
,
, ,A_,
:
k >
y )
>_,.
;,, ;: j f I , ;, 2 ? ,. .,.: :. , j %: :
.b .:-i
Example 4 .g li .
.
., .,i , i: (.
L
,.:./
/, x ,I / :
: . .a _
4I * _( ,I *y* _! ? :
:> Let us return to the flash drum ,ey,stem discussed above in Example 4.7.
t ,. .r .,_ ; SF.
f I/
L. I
1
.
,
-
. ,G I
.i
!
~.
8,
or
considering'that
Average Molecular
we have
"
i
"<
"
'-
?.
P vapor
where yA9 yB
(4.6a)
'
-_
.?;
,I,
- IO,&,)
liqyiid
b. I
sections'it has
,?J
(disturbances,
manipulated
variables), 2ts
effect
is
instantaneously
observed
9
.
in the state
variables ana.the
*.
c. , or the feed knroerature.
I
Ai-
outputs.\
T,.
or the coolant temperature,
T,, change-.
i 1'
Y'c-.
in
the CSTR of Example 4.4, the effect of the change is fek: immediately and the
k
temperature, T, or conc,entration,
:
ii I
themselves.
start changing
CA, o.f the outlet stream
/,
;*,
p u r e delay* o r dfstanceyelokity
.
., .
j_
_ or transportation .lag,
; :
time,
leg!. ,
*
II
*
4) :
.,:
:>,, I.
g.*
4.9
,:,:A.
.L , , *r
.
f;:,
p
9:
Pi
1
,
_.
the ._ outlet
,stream
will
be.
see that at steady state the temperature ToUe.,. of %
,f
a ,.
,
,Q; i.*
equal to that of the inlet, Tin. AssuM now that starting ._at ,I
MO, theVtek+,
I, a..:
I_, ,*
1
perature of the inlet changes as shown by curve A in Figure-%%7b, It
,,.* *isi
clear that the temperature of the outlet,: T out; L will
remain
same until
if. . the>
.
/
temperature
the change reaches the end of &e pipe. Then, we will observe.the
.
*,
i
..,
:
I
&
I
%
>
,,!:
>
,
F
(
J
,+
_
,
iI
of the outlet changing, as shown b$ curve..B in I) Figure .4.7bi . - We notice that
t
the change of the outlet temperati&e~follows
:the same pattern ,as the change I
2,.
/
of the Inlet temperature with a delay of td aeconda . td is the d~acJ,S,Gne
a*
, (.I
and from physical
considerationa
., -*
.r * thsf,,
3 i.,;to see
(i
.I.,>2 :
_ *c
:!,/ 1 _* it I< is;; raay
,
.,.
volume of : the :p&pe ,.Jy. L&t.. p e (&&
,:,
td * voldinetrfc~fldw.rate
I ,.
I
,.I
where
,.
+I ,&f~.
U av is the average-velocity of the f&id over the croks sectional
if.,
areaof the pipe.
,I
Fuuctionafly,
T o;t( t3
,.
.
.i
,,.-
. _ 2
.i.
- Tin(t - td)
:_
,.
/,
$-
;.
,
., .
.::
rr
.(
, ;', .F,
(4.7)
:-.
,
I~
.,
t,;-
,-$;: .
3 I'
r. ;'
/
,:.
dest&il~~-~,v~~~
[, ; Ij
react&d
:.. ((,.
- .,_
+fundamental
'
Therefore,
it
iinot,.a
quantity.
(2) Themomentum
.
component A.
mixture, and'
-' L
in the 't'&nk. "
of the'CSTR
-*
.<
:
does no; 'change under any operating
f$.
?.I
*-
<
be neglected in sub-
QFi
where
pi
and p
- .P,F
f .! 0 ;-:!
.,>
;-
i:
(4.3
:,' "
.":
/ 8,
_
of &he ,.&let: and o&et-&reams,"
<'
i:
, ,I
,
Input
df ;A
j fime
.
-
i'_j" _
< --r _ /
$&me,:
._
,d
is
the
number
.of
mqlas
of
A,in.'&he,.;ir
et&n&
'&~yprq.
,,
,
,
'
.,
"A
_-a.4 -'v-q
..'.I :r
'( T,,. , I', .'&., i, I
(c) TotaSEng,rgy , Balance
.c...
$:;;j &c I, i , ) :
-lz ,~? ' '.',
t "
f ,.
Accumulation of
Input o f tqq$: _ output /of tbral
Merge removed
Energy
removed
total energy
total
'energy
energy .withfked$
'energy.with
f Bed>
enilsrgy.
enilsrgy.w:$eoutXetw:$eyutXet. _by
by coota;;
coota;;
time
,I
time . . .b,b.i, 1 i , * / ; .< $, I
.
In the above'b&nce we have'neglected the &ft,work done by the impeller of
. . _, ,I. ..f
',
:.,
<
:
.'
the stirring mechanism. The total energy,df'hhe
reacting mixture is
P ,,f (-I I
,fi9;
j
*(
,,
energy of the reacting mixture. Thefefore, assuming that the reactor does not
.>
:I
,#:>f.-.,
:
move? i,e-. dK/dt - dP/dt - 0 , the left-hand side of the total energy balance
yields ,
,.
dE
TE-
d(U + K + P)
d
t
dU
-xi
. iL
*._.a4,.:
I
I
I
j2)
_:/
^.
I
t
4 ~:.
*,:
. (Input of total energy-&th;feed per unrt,t!ej ~$,p,~Fi lhi(Ti); :
,. -2
,
:i
,
~1
.
.,
:. , ?, ,; . a 1 >
.
i
and,
5.
;
. .?
T$, i ,, _. ,?.
,\
i
).*,.
(Output of total o&ergy with the. ou,t&$$&$#n ,per .un@~$@& A. pF h(T)
:{,* -) .I , .: ,. ._ .$: :., ,, _,_ ::
2 .: :,b,.: ._, i.1 ?: : )
where hi is the specific enth&y (&Ghalpy per un$ maas)&&,:the
fee& at$,eam
>$ ,%
I.
6. ,L I ,,i .: , ..-,:
.z
and h is the specific enthalpy of dhe cid.et % tF&rni (kqkytadti+, the total
I
i
;.
@
).
.
,
energy balance leads to the foll~~i~~~~~~~uafr,~n,
I .I
: h. ..:i...I *-:; ,
i.
.
.,
;,, :
r.
r
- Qrz
Furthermore,
, I . j
where
.7
,._
._
,.
-1
i/
z ;
( I . -
.e,.
1:
_I
;,i*
Q is the amount of. heat &moved by the. coolaqt ,per unit: t&me. .a
:
, , I.
:; ; :i;* $.Y
1;; ;
.,
:
,.,.
.::.:$ .I ,_,.( a ;;, _ ,;,:
Equations (4.8)) (4.9) and (4.10) are %ot t&heir f&a! and most con:1 y,.:..
,< .,
I
,(,. :.,~
~ -! I< i
,i : ? . . S
to such form 1
venieht form for process control design.
studies. To bring them
I
;,~*..?f~,; ,i ( , ^, :., ., i
L
and
on
A B
=B
.,
WI
#
I
i
,
dV 2
,~
dt ; Fi ,L : F
: , (4&)
- Characterize the ma& of compo&nt A.[ _ This is .simple.. From eqn.S.;(4.9),iwe
~,
fy
;; ,
1:.
II r
_
.
,_
*is
realize thiit the state variables needed are:
,I
;
.-:
, --,.
_c:
Algebraicm&.$<ti&s on eqn. (4.9) lead to,
d(cAq?
x.&~
:
d,fA
d t - ~y4.zF : .y dt _. :,:, ,1
a
or
,
dcA . 1.
v-z-
_.*,
7
-E/&T
F
- cAF LI- .ko
/ A . _ I
I*
:
i, .B
/
.,
i;
cAv
i
,-.
- CA<Fi
.
.>
_,
- H(Ts A, .!$$
3 ,J ,i -+
: ,)
of A
:.
,
*.
,,_
::
,,
.
.snd B ..,?n j&e CSTR.
Differentiating
_ .
j- .,%
ali
as d
. : .<
d%
i (4.11)
,. ,
(be>;
~.
,
- fig(T)
:,. 2.
: a,
,; I I
where cp: 3s the specific heat capacity of the reactihg miiture and A,
the partial molar enthalpies of A and B.
HB
1.
:
(4.9)
dn..
dt
H
-Le
d(c.V)
n
Substitut.e
from
eqn:
Furthermore,
on component B,
,.
,. i
g.
:>,
,,.
I <. :. : I *
,JM &k&, )
< i ,)
dH
dt
Consequently:
,
eqn.
(4.lOa)
dT
PV cp dt - -iiAcAIpi
i
or
becomes
9 : , i i
i.,
(Ti
A A
- FcB%.
*
et
: Q
^) SE-;,
: . . :.
y -: 7 - _..,_ ___ .e steps in tha;mathemitical modeling of a CSTR tie
,
i
; ;: b . , .; ,:
have the following :
*~,,
,i g ; I /
:s t a t e v a r i a b l e s ; V , cA, T , :
>
I
.; i t
.
.
.*
.
state :equatAons :
._,
_/ 2. ,;
input variables:
,.:
.
constant parameters :
,*
I
p, cp9 (-PII,) ,A ko, E, (activatYon energy), R.
i
_-
Integration of eqns. (4.8a), (4.9a) and (4.10b) yields the CA(t),. '
'r
V(t) and' T;(t) as funrtions of' time.
'.
/
:
:
I;
1,;j. .
Theieteady state behavior of the CSTR is given by eqns. (4,8a), (4.9a) and
change.
(4.10b)
Setheir
a_
:.
'
.,
stlrred:tank,
feed streams&+
let
perature.of
(,
prtiducing a
composed?of
.&&entrat%ons
c.-~.., c
iandjc
%
Bl.'
A2 ' cB2*
bra the volumetric flswrlrtes of the two
.I
:&mperatures.
with steam or
'cooling
water, :,>, i
-I
: 'ii .
L ; , ', ,~ 3;:.
,,_,
The fundamental quantities neefled
to deecribe#th$
mixing t,ank,are:
_
.'
'L the total mass in the tank,:;
, >Z'
. . lr
(l),,The
;.-
i: .:
'..
;v
,'/
,$nd*.it
will.be neglicted.in
further treatment,
twofof
I the foiiowfng three quan-
,. .'
',
u
I
.-
t,im,e
agLl
where
,:Y
blF1
(m;;;;;qf+-Q;;.k)
in ,
2;
p2F2)
!biF3
time
@Jtput.;
of
to.t@
>,
.I ,.
(4;15j.
% p2,.p3
:
:..
Since the tank is well mixed the density of the product stream., p3 is equal
,
to the density of th,e material in t&e tank, p, i;e. ~3 * p. V is the volume
of the material in the tank which Ia charaeterizM by the cross +ectional area
.: ! (
of the tank, A;* and the height, h, of $he liquid level, ire.
> ._
_
4,
:
.
;,a
i
A*h,.
V I
_~
.
In general, the densities -p, pl
and
~(CA~Y.~~YT~)Y
PI
_:
,%.$
.
2
,,:
f(CA~,yA~,T1)
iii
~~~~~~~~C~2~,~2~k&)
I\
.>:
i. i
-i
li,.i!:f:
/
i, ._ ,i;
Usually (but not always) the above de&&&n&s &ati&ak
wd
.,
, s: %,,. assume.!Lhat the :
Ths,r&~$k.;; .
densities are independent of the concentrations
id. and tem&atures.
:
,,
.,) ,s: .i&
.j* **.
.
.
we assunK? thbt,
J;
>
:
c.
,;
,(
*,,;*..
. (t ; B .\ r : * i ,
Pl
P2
P3
Q*
..*
.,
,.
dV
dt
..(
(b) Balance
dh
AZ
(Fl
OB damponent
F2)
h
: t?
.i
I.
;,
>
T., ,
) iL
,, )( . . 87 (4,12a)
>%
*
;
/
:
Accumulation of
, T o t a l in&t o f Total.output of
(component A in )
i component A )
( component A )
t h e t a n Lk in; t h e t a n k _ ? f r o m t h e tank
time
time
: i .< time
j :
o r
:: i
- F3
L:;
L
,
[,.
<I
Vdt
..
.,
dcA
+cfi
.,:.i A dt =
(cAIF1
cA2F2)
-i CA3F3
(4.13)
.,.
dcA
x +-
and since CA =
CA
cAflFl
*
F+ 1 i31
= (cAIF1
+ cA2F2)
- cA3F3
i
.,.
;i.
i.
.I
I _. +a,-
:7 1
<,
4 F2h2)
Fuf t h e r m o r e ,
%li.
,,
,.
I.
4.
p,F3h3
)
,,
,:.
<,
,_
streams 1, 2 and 3.
h3)
- p(Flhl + F2h2)
- .: FP3h3
(4.?4)
.t
..
where To
Ph3(To)
,.
,(.
&(T,)
.j
ph2qbl
,: $ I
=,
where 8, and fi B
cA2tiA
+b$iw
.
+; cA2A$2(To)
.;,
(4.16a)
;,
(4439)
(4.16~)
~*!.
per mole).of components
and (4.16a,b,c) into the totsi energy balance eqn. (4,14) we have:,
:,
f, + cA A*
i,
)'+
s3
Cp3@3
- To)
dt
=
i J.
nln
i$+~~Afi~)+pF
F,(CAfin+ca
D1
,1
~. 1
.(Tl-To)
PI
.:
4 F,(c.
ii.
+'c
i$
+
cA
Ati
)
+
PF 2 'c p2 (T 2
L-A 2 A, B2
2 s2,
1
- F3c"& + cB:$&.' cn,hti ) QF c iT3 -'To)
3,
;3
3 s3' , ? -P3
j _A' ':.
\
.
AT-
To)
%,Q
.'
^,
4 0 @alance
on A)
.a
_-
PF~c~,($~
and
finally,
F3CA3AHS3
.ld
.a
,/,
4 pF2cp2(T2
'.
- To)
:
"
- To)
.
; ,
72
pc
dT
.t'$
p3
cA F;[Aiig
L AI? ] p':.+
1
1'
.g3
+ PF~~~~~,(T~ - To - cp3(T3-T$1
2 2
If we'aesume
(T3-To)
t&t c = c - c
- c , we have: ,
'
p
2
q3
p
pl
.!
..
(4':14a).
1
A'
.g,
,.
,' j Iy
i^ .,
.;
'
'0'
.
:,.(4.12;)
$.p
II.
:- .
"
(4.13a)
.:
I
.,* ,I .,
.,,:.r'
'.
,
:%
'i
dT3.
' _f?cpvdt- c F fAii -Atis ] "cA F2[A# -Aii ~+PP~c~(T~-T~)+PF;C~(~~-T~)~I~Q
_: Al l
s1
3
2 i s2
Is3
:+ : -,/". ' :,
:
ii
_
(4.14a)
)
'.
input variables: F1s cA1' T1s F22 cAiP T2,,'I! ,3 (for fa&bac~~~i$ntroL) I:<
.I
b'
*V (,or equi;d;entQ
theheight oE ,liqaidl.eve~: h)';'
;*:' .? , , ,
*,I.
.;:
i -.
a
n
d
T3i,
=A3
:
t ,
-.
1%.' .
.,
I
~:,
.'*. _,
parameters (constant): p, c p,s,dfis ,, Aii;
A&
:
s2' . ?
_( t;l.
r*
I/
Remar lcs :
(3) U&ally a mixing tank is equipped writh aeooiing
or heating
:
.'
,'
:dcA.'
,I'
.:
y-2 'I @A - kA )F + PA
dt
1
3l
2 - 'A3)'2
1f 'I
.
'I :, .I .,
:,
,- F3
-.
,'
equations:
'8
<
'
- i,Tl" +,F2)+
:-c
,'
,I~
',':
'/',
,l
f Q
-:..*'.
,
. p3
output variablea:
:?
0,
,
'
3 (*'2, 4, ,
,. :
.
,. c*,'!
:
>
:
i
during mixing:)
in an attempt to keep
.I )
L(
, -.. .
the mixing, isothermal.
_
*.
~:
(4) If the,heat of solution..sre @rang functions of concentration, i.e.
?:
i f [hii - A6 ] and [Afi
- Afi, ] a r e n o t s m a l l q u a n t i t i e s ,
%
,s3
,!
s2
3,
then from the total energy balance eqn. (4.14a) we notice that
7:
:
*, i.. *
i I :+ 7
T3. depends strongly on the *concentrations of the
jI tqgiderature
.
.,
.)
;
7
. - ;feed,strear& and their temperatures. If on -the o&r ha& ;
,y; .:.
,i ,_, . ,.
also changes along the axial direction t ~&NU thi
:I$. at the $ntrance
:. _ :valua
i
.
I,. ~ ,,
. ;. L
i I
t o t h e v a l u e T2 a t t h e e x i t . We wiil &&I& t&t the t~emp&ature does not
;I
change, al.qng
the radius. qf the pipe,. S&J.:- .we will+~ssitimp p$.& nlh. CO&
. \
,
;.!J.
.me..stgt$
i _
sequently, we have two indep.endents
variable& $..$. ,;ti.! a$ni,;:t,:
1
,
variable. of interest for t&e h e a t +&hanger i; .th&&peratt&.
l(T)
bf the ,
;.,
., f
,
heated liquid. Therefore, we need the energy baltitic.e;-foi;i..athe
$b&&!briiation
of the temperature.
the element of
. length
1,
1 /
AZ defined in Figure 4.9 by, the dotted lines. Fori this
syatcin,
andl,over a :ii
;,r
.*.
, 1:_i /r . ,:
a
_.
*.
period of time At we have:
c$
/
,,)I
i
i
..
Energy Balance
. C
,/(.
.,
/
.^:
. . ):A
- ( T ) ] - p cpvA(T):- *At -. p cpvA(T)
Q*t +
p ypA*bz- [(T)
t?f*t 1 ./. e
. I 2
I
( I z+Az
Accumulation
of
enthalpy during
the time period i
At
r.r \ :, _ 8;
Flow- .in of
enthalpy during
the time period
At
/.
Flow out of
enthalpy during
the t i m e period
At
,
r,
73
I,,
I',,
+ Q*Dt*(vrD*Az)
,,
(4.17)
.:,
Enthalpy trans&rred
from the steam $0 the
I. .
.
.
liquid ,1 through the
wall ,. during s&e time
7%
!,
..
,,::
period, At.
.I_
1
1
I,I,
tt
.
.
II
where
.d;.,
f
_
*i
;yri
_
!
*
Q is the amount of heat transferred. from the steam to the liquid per
unit of time. and unlit ,u$,heat tratisfer ,greo, -1.
,:,
.j
:
i
1.
1
A is the $ross section& :ar,ea of .the ,inmr tube,.
7
v is the velocity of. the liquid, an$
1
.:;; L
:,
D is the eFterna1 diameter of the inner tube.
:
,
Dividing both sides of eqn. (4.17) by Az*At and letting A&& and AtA,
i
,<
we take,
.
,
)r
1
aT
P cp AGE +
:
ST
1 pcpAat,,
cp
P c V
P J
v+$
,F$,*
iT 1 , : I i ,j ) i i, ;*, :.
A - --h*D;(Ts-T)
a?.>!,:,.::~ i
i
,*:A
.$, Z$
:i
I,
:I
,,
;.
(4.19)
:.
This is. the equation of st.&te that models t.ha- behavior of the, liquid51 tern.,
perature (state variable) along .thp~.~eng~~..of!-thre
.exehanger. S&me
e&.~~(.4.&
L,
: ;A,
s : I-,:
,.
Example 4.13.
4.13.
i .
i:,.
.,*,
I
,;r .1:
Consider a binary mixture of components A atid B to be separated into
;.
1.
:
,
J .
two product streams usingconventional dlstillatian, The rn+5ke
is
is fed in
1 m+5ke
.
;<.a
.I,
:,
the column as a saturated liquid, i.e. at its bubble .point, onto the feed tray
._
-(.
*,
;g,
?l
,-
of c'omponent A, c
that xD
of'the.re'flux'drum, It&
./
'the r&l& ,and dis'til.l~te
&reams,
'
At .the base of the distil,lation column, a'liquid &duct ,&'eirn (the'
,
bottoms product) is removed with 'a 'flo&a'tb'~'~b,
and's com#osition xB (molar
3 '
>.
-A
liibid
stream
w$&
,&
wlar
flowrate
6s'
i#
"&&A &$,, fr<im,
fraction of A).
:
the bottom of the column and after it has been heated pith steam,&t'retucns
,.I
to the base of the column." The~'-Eompoeition of the recirculaddng',back to column
'_.
:
stream is xB* Let s, be the,S&iquid .h+dup at,the baee og:%the column.
The column contains
the top.
Let Mi
N trays~nnmbered
be the liquid.holdupon
from thebottom
o-f..the:,&lumn
to
A
the i-&h, tray, ~The vapor holdupon
,+,
; .: '. ..'9
In Figure 4.11a we see the material flows in and out of the feed,,,hray,.
Figures 4.11b and.4.llc
(1-st)
trays.
Figure 4.11d
II
assumptions:
."
I
- Vapor holdup on each tray will be neglected. .;:
"
.,
%
:,The molar heats of vaporization of bo,$h'components
mately equal.,
This( means that one mole,of
i
'
- JThe relative~,volatil*ty
relativei,volatil&ty
~ : ,-.
L
#
88
c(a
- Negl.ect
tihich
:
,
II
'
'
des-
.,
the momentum balance.& each tray and assume that t-tie molar flow-
of ".
I.,rate of the liquid leaving each tray is related to the f;iquid,holdup
.!i
the tray through Francis weir foir&tA; -1
$
..****ii
wi - 1,2,***,f,***,N
(4:21.)
f(M$
Li -- f(M$
Li
i
:I
Let us now davelop the state equat$&which will detkiba'the dynanic
behavior of a 'distillation column.
The Fndamental
i.
and mass of component' ,A. But the 'question is:
'
,
I
Tt -is also
on each tray-change with time, we cannot find how the variables of practical
*r
significance, like xD and x ~khqti~e with time. Therefore, we are forced
B
to consider the'balances around each *tray.
Thus, wehsve
.*> . ,: (see also Figure
<
.
., f ':
,I: i
4.11):
Feed+'j"ay
Tntnl
(ipf)
A&am.
it
-,
cr:,i.
*.:
NL.w
::'
ci
'
r:
I tr
.,i^
CJ :
'
.::
1.
-1
-tr
-m
-1
'R T VNwl - aaM - .WN - PR - UN
UL
"
..
-, / &
.'
,:
'.
d"!$& ,
1
sComponent A:
dt. - FR*xD + $R-l*~~~l - L$$.'~~~ *i* Ec r '
.j,
AIUZID.
n-L--,--L
L.
-i
'".
'
dt
-.&I 2
dfM-x-l
--1--1,
.-
UXll~UWNlL~A~
dt
,'
L2x2
vyO
and if
,
Total
.<i.,.
d(Mi)
Mass: .r
:'
:-
- I.,~
:
\9. apa)
j r,
I
<
-...' vlyI: : ." i :! ; ,'(4;;. 24b)
- 'Llic&
.,::; 1, ., ,\ ; -: ',A;. cI.I
*. ; !
'. i
..Y 1 ,
,:
~
= LieI
,; (4.23b)
<'I; i i.
i
1;
1
" ,
& ",,_
.;
,"
'(4.23a)
b._
'(4,2.59)
Reflux Drum
! i4.
i Compon&t 8: d(fIRDxD)
dt
.G,.
I:
Column Base
d($
Total Mass: dtI . .
:i
d(MB.sj
Component A:
dt
..,2
c i
NAYS
Ll<$.
-.
- uR + FDjXD
,
.$ :.::.
.i
V
Llxl
.I
:
j
EB$
~, *.
.
j # _/... .
(4.26bj
,,
.l)
._
* .:i : i .
I,
(4.27a)
/)
Vu,
-,
(4.27b)
L F&
( ;
,A11
the
above
equations
are
the,
state
eqwtions
and descrl;be the dynamic
1
,/ 2
behavior of the distillation column. T#e stgte variable&, of the model are:
..
T$A
r )~, *
Liquid holdups; M1)M2, v ? ,Mf ,I FI* ,M& G, and MB
v
. . ,.G.
*
Liquid concentrations; x1x2.,;:*ixf5.* l
;,x ; $c - .
i
j. ~ $;* I &. ;q , 2!nd xl$ . ,
To complete the modeEing of the co&n, in addition to. the state equations,
,
,.3 )
.
,t
/ I : i .i; _. ,
we need the following -relationships:
I . 1*. I,:: 1 I,
::_, .;,
, 6,
.
. r
)I (a) Equilibrium relationships:
I
i
,
,:
..
:
. : : :+,
i ,
,>I i,. .&
.)
!
-i.
.,
,I
axi
6
,
f
,a
k&NiB
,
i~,Q,2,
(4 .20)
Yi = 1 f (a-l)xi~
s
*
,jr $ .:i
.
V
.
.
i.
) I
( b ) H y d r a u l i c r e l a t i o n s h i p s ( F r a n c i s we%+,, foimulg) ) ,,
,
._ _
. *r
*
i * I %.1,2,***if,***,N
(4.21)
Li = f(Mi)
L
1
When all the above modeling equations are solved wg find how the flowrates
(4.26a)
.i D;
j. ,
,I
l l *
,
.
.:
,of..
1 2;;
.,
L.
relgtionghips)
I
/(
4.6
: j.
MODELING DIFFICULTIES
I.
.
: '-.
,!
.
8,
The
modeling examples discussed in the previoue s.ections
. >
1
:.,
.I
or,tgis ghapter
:.
series
nf
diff+rttltJna
<..
and realist$$,mathematic
-'
I'.
,'>
;_;i,
,'
the Mathematical
Modeling.of.,.he
.,
Arise:
of'various
parameters such
cA '
,; "_
(c) those caused from the size and the complexity of the resulting model.
A .._
I'
Poorly
Understood
Processes
.,
;
To understand completely the physical and chemical phenomena occurring
impossible.
degree of
components
and
imprecisely
known
kinetics.
6
4
/'
1
,~
'I,
nonideal
.:.
IZxample
4.15
t&$ecules
(like ga&&.ne)
*?,
f e e d .
,,
j,
J-
air;:.! be
;
W&h
j
,
I
,,
.
.:.
._
/w
E
:I
,11
4 B-.
Imprecisely
Known , Parameters
_/
-.: / I, *
_I
The dead time is also a critical. parameter whose va1,u.e +$a usuelly; imprecisely known.
dead time can lead to .s+riou#~I stlility jroblems for the proce$s,l
When no r&able,
for the
: . values.
,
c, pa&u&a,. are available, we .-rwor t t o
.
experiments tin the real process in an.,effort
$.a estimate:
some goodj~ values
i %
for them. Moreon the experimental. prqcedures
,;
1. will be dispussed in a subsequent chapter.
,c
,.
* ,
1/
.
,~,:
i,,,
C.
f X -
44
differential equations';'and
',
41: algebraic equatfone,
:
:
I'
prohibit&e. Since
',
the common distillation systems include feeds'with mo& tha&.two compt.k&n$r and
~ " (li.
,%.'
possess larger numbers'af trays, it is clear that such .an~:~xten~iv~:'md;d~~ing
',
:: I.
would lead to cumbersome and hard to use mod&.
.1
q 9.:,
,9
0. ,
:,
;.:.
$i "
Care must be exercised too that the size.and the comglexity,,,of
c:~odel do
'; /
,,ap_) ,
I
not exceed certain manageable levels,,geyond
Gh$ch the model,:%$ses its vgfue:
"
:
and becomes less attractive.
,: '. :
I
SUMMAk
'
"
altady
a I
I
i J.
'.
modeling of processing systems $e need to:
,-:j+. 9
:
*
a.
kL
- identify the st&$,variables
whose values charagterizs-the
fundameztal
j
!: 'f !
I. .." ).
I
quantities of th&process,
and
.,!
, 9'
.:
*:farmulate the state equations whose solutibn depicts ,ho$the values of the
#.
,sttitevariables, art? consequently the -uatural state of the process, changes
,j
.-we
;
!
; -_
:.
t
.
c
with t i m e .
The state equatjzons are developed from the application of the cgnservation
:
principle on fundamental quantities like. totaltiass . * mass
., of various ~comp&&hts,
tot41i. energy, momentum.
,_
:~ :: t ?. I. 1
I.
i
reaction
kinetic
rates
: ,:
:_s
of a process, ad&itional
:.
.
.(
-,
equations
i.,
,i I, t,
;;
;:$
/ ,, .*. :
,._I>: ~~,a
./
- (equilibrium conditions Yamong *various phases
.i:, i
+ i. .
- thermodynamic equations of state-(40 descr,ib.e, the behavior&f varioug
:,.
1;. _.i
,materiale (gcfeas, l i q u i d s , ,mix#Cyyecq, @XL+). . , :. I., ~: ::.
_, ,: 1 j i:- / < . ~ i V+z,.:, ,I
3 .
,,
The modelgng
a process should a&aye consider t&: poss4~ility &! thi-; ..,,y, (
3
r:
,I;
.
tj
presence of etgnificant dead time.( The :dead time Is i v&y %mportant f*ea,ture,
1 : .,J :; .z , ,;~,? I :
(
I
and it plays a ,significant roleinWtfie &sign of effective controllers -for a : I u
,. .
chemfcal process. Only when the de&* t$@a is very amall (sincei& priaciple
(.
_/,_,
it will never b,e zero) it can be neglected from the d&iopmentof a mod+.
:t
Several difficulties arise during .the modeling,
of a &he&c& process.::
j
.
.
These difficulties can be classified int the following,, categories: ;. q
1.
- Difficulties arising from Amprecisely
known
phenomegi,
/,.
:
4:i chemical
~
-.
_ or.chemical
;,:
.,.
affecting the,, eff ectiveness of the selected equilibrium nor rate reJ.at$onships.
P
.
- Difficulties arising from the inaccurate values of the various model
of
._.
i: ,:
* ;
,,.
/
:.
,
q
mathematical modeling is an- art not very well defined, where the previous
I* _,
\
1, ,:
5, :. rt :;,
educati&, ,practical experience and intuition play a very important role.
.:,,
.
Although the modeling procedure outlined in this chapter is in principle
1 :
;I .:_
*ir
*
,:
feasible, additional practical considerationa motivated by the, needs of process
.
control dictate certain char&es that will
be discussed in Chapter 6,.
,
8
2.
3.
.(
What is a mathematical modgl.ofa physical process and what do we mean
...
:
.a
/
when we talk about mathematical modeling?
-. x
8.
;
. _ i, &I
: .,
In Figure 4.13 we see two dJLfferent curves.,which relate the temperature
.
1
,.z., , _,
,,,..
! , ~,I
and the feed rate of the .reactorc in the, fluid catalytic cracking:?nPt
,.:.
:
_
i
discussed in Example 4.15, I@ the term model approp,f,iate for each of
(.
: .J
:.
these curves?
j..?, :
+
t;. i.
.
.,.
i 4I (a%.
Let us recall that the Steam Tables give the temnerature .af whkh wnt&
liquid and water vapor are at equilibrium for a given Gressure. They
:a,
*i.
also give the specific values for enthalpy, ,entropy, and, volume...of both I
liquid and vapor phases. Do ,these tables of values consti@ute a
1 I
A-:.
:
i
mathematical model?
:i *,
:.
:
Consider the graphs shown in the Figure Q.&l. These graphs
were pro,
.i.
,
*I
duced by measuring the concentratie,n of B in, the rea$ibn,~ ,A 4 B,
;
/
over time, and at various temperatures. Do these glraphii
i. :. represent.
, _ a,
1
4,
mathematical model?
5.
10.
Why do you need to develop the mathematical model of a process you want
,.
..:.,*
s
:
*.
to control?
i
:
_* i,t
..
What are the strte variables and what are the state equations? What are
i. 1
they used for?
..
How many state variables do you need to describe a system which is com:
,*
I )
,, + 8 ,, _/
i
,, ? .( .
posed of M phases andN components?
, - ,~
*
+r We know that when two phases are at a thermodynamic equilibrium, the
.
li-. <,
j,
j .)
chemical iotential of every compotient (i) in the phase I(u $,l) 2
b (
<
.
- 1
equal to the chemical potential of the same component in the phase II
2
(lJ i , II), Le.
.
i i lJ;;,.,N
Q,i: - .%,I1
_:
Express the above equilibrium relationship in. terms of the mole concen,,
.- I ..$.
tration of the N components in the two phases. The answer to this
j.
: ,
question will denianstrate to you that wedont need the concentrations
k, :
,/,I
of the N components in both .phaaea in order to describe the system.
,
Write a relationship that will give you the molar or the specific
.i.)
/I
t,
b
entlialtiy of a liquid at tempe&ure, T, pressure, p, with a composition
~
of N components known.
,
RePeat question 8, but with a&# instead of a liquid.
11.
For the fash drum example (Examples 4.7 and 4.8) develop an expression
12,
14.
for the density of the vapor phase , using the Van der~ Waals equation of
.
*. .,
state. State also an expression for the d,ensity,of the liquid phase.
.I
When is a system at steady state?
..i
/
What is the main reason for the presence of dead time iua process?
,
,.
Do you know of any systems which do not possess dead time?
15.
16.
6.
,
7.
a.
9.
+
13.
:.. _
Which
process
possesses
dead
time?
What are the assumptions leading to equimolar vapor flow rates, i.e.
18.
v1 = v2 - ,*** - VN - v
Why
the
have
we
neglected
energy
galances
for
the
binary
ideal
distillation
What
are
the
assumptions
leading
to
the
equilibrium
relationship
(4.20)
Could you have dead-time between the overhead vapor and ,the distillate
product?
If
yes,
why?
*
*a
.A.
1 (Clnmeurure
T
I
Otd --------we_
Steady Sfafe
,-e-m----
n--w
\
-err----
-------
.Y
---
- - - - - --
f-.
^,
c iY.
,;;I;
/,Yrcxesr 45
,.
:<,:,
.,
CHAPTER 5
MODELING
CONSIDERATIONS
FOR
CONTROL
PURPOSES
to
be,
solved.
~ We will close~this
i-
s'
:_
5.1
THE
INPUT-OUTPUT
every
torally
>.
MODEL
particular,
the ,model should have .I th-e- following general form for every output;
,.;.
.,;
output = f (Jwut ~~~f.~,+$p) ;> _, ;; ., /
\!
:i c. . r
Using Figure 5.1 the above relationshtp implies .
.
.
y i - f(ml,m2,*** ,mh; dl,d2,;$* ;dQ). for i 2 1,2,***,m
,;
, . .
,.
_I
Such a model describing directly the, IrelationshiP between the anPut and
2
: 1
,F
:
output variables of a process is called input-output model. It is a very con
-2,:.
.
.
venient form since it represents directly.the cause-and-effect relationship in
, I
*
/,, j * .l, 1~;. b ,
processing systems and it is appealing -.
to process
engineersand control
I j
I
:a,, s
8
:
II
designers.
F;,(
.,
,
.L
5
if ,/.The mathematical models we learned to Qevelop (in the previous,:chapter)
-i;
$ i j
:.
.;
.i
,J
using the state variables, are not of the dfrect input-output tyPe., Neyer the. ,
.:- :-.
less, they constitute the basis for the development of, an input-ou,tPut model,
_.. ,.
I ,
1
This is particularly easy and stralghtfopard when the state Variables roin$ide
; I,
(
j..
;
completely with rtha output variables of a. process. In such a case vei can
.
i
integrate the state model to produce the input-output model of the process.
Pt.
: .
E x a m p l e 5 . 1The
- Input-output Model for the Stirred Tank,Heater
V g b Fi(Ti :, T) +, $
P
:.- i si,,
,,
= UAt(Ts
,
(47 5b)
\_
.
- T\
/(
UAt
dT
"z
+ (Fi + FIT
P
= FiTi +
UAt
pc TS
P
or
dT
dt
aT
KTs
(5.1)
where
, ' 1 c" ',
a - -;+L
Fi
LT
T ,I
and
' UA,
- vpCp
aT(s)
and T,
- fTr
i(s)
KTs(s)
_h
,c;5*2)
,
7,
where T
.a
(5.4)
t
I
Assuming .that
0, we .find
T'(tf
(5.5)
,'
Equation (5.5) expresses
,the.relationship
This
. :
*,
,/ :
Example 5.2 - The Input-Output Model for,a Hixing Process
1
;
,:
::. '
Consider again the mixing of two siream& process discussed in Example
,
.(I
'_
4.11 (Figure 4.8). Assume that:
:
- Fl -k F2 - F3;' which implies dV/dt = d, i.e. "V'i constant.
.'
- The heats ofsolut&ons'are
rsl
Af?d
independent of the-concentration
-
p82.-'Afis3]
='
(.j
'
which,,z&mplie$:
<,'
".'
*
i
Then, the state equations are reduced to the following:
dCA
-2+
($++cA3
= &i;
+' +cA2
.c
(5.6a)
* '
and
t
dT3
dt
Fl
.,F2
"
+ \v + $T3 ,
'
,
,' (5 6 ; '&.
I,
,;
At steady state eqns, . a
-
Fl
;.
F2
?j-Tl'+
7T2
(, ,,,;iG,,
' .
F1
V.CA
*!
and
U8)
'
+ -&
7,~
)' .'
I'
>
F2
t+CA
,:.
Z(s)
(5.6b)
'*'
'
'.
i
:
(5.7a)
,
-- ,,
;i't.jj.
: ,.
F.
F,
F1
F2
F1
F2
Q(# f
0,.I +> Ctf. + -$T3(oj.. I T Tx(idd) + p T2(#j f -j
p=p..
i
;
Subtract ,$5,7a) from: (5.6a) and (S.fb) from (5.6b) and take:
!I
(5.7b)
(5.8a)
F2
,+ 7 Td *+.,'KQ'.,
where A1
c' ,:.*c'
Ai' c'
A3' T',1:
follows:
L
,.
.I
i li
F2
v;
ci (t)
3.
and
'
and
(VO)
3
= 0'
as
31 :.i
:A3 - %3(s)
.
,I
;i'
T2 - T2(s) *, TJ .* T3 - T3(s+Q'+ Q.- Q(s)
,( i
I--.;;,
s-z
,,
',
.,i.;,..
I
x
,,:
;:
j
.:.:)
K.+3
ql .:I:;'
: " '_
., ;:. ,.
,:
yields:
T;(t) = c2eBat
vhriablesdefined
and (5.8bl)
- cleeal
:
,(4,8b),
:.
F1
&* .v..+
,;
.
>
Ti 9 T1 L Tl(s) , T; =
" /..
"-(
Also,
,are ,deviarjlon
- =A1 - Cilo
; -.
*'
and
,:
:,
p2 *,,
'- +- c'
dt
A1 : _r P : A2 3 I;
/
:i ':*
'I'.:. . .
: I
.i
,.~ .,
+
( :
i.e.. at tA0, at.bEeady
and'
T;(t=O)
-~
,$' :
state, then
'
(5,9a)
,(5.9b)
':
,
,
R&arks : (1)
,
I,-
,$umn
wi have:
state
,. :
J :*
>
variables:
variables:
:*
.:
I$
~
,,
D$stillate
:,
:
.,
,.
I
<
,..,
j .
:
5.2
DEGREESOF
'
FREEDOM
will be.achieved
been specified.
fi;i4edom unaer'both~dyn&ic
'. :
us start with't'wo characteris&
&les;
'i
.$.
lh,,/
. i,
.
5.3 - Degrees of Free&m in,a Stirred Tank Heater'
;:I'>
. .. .
.' c
:;
The mathematical model ofa'$tirred tank heat& (Example 4.4) is given by,
"
.'.
/
i
A;$ p F ":a F
,.
Example
A; j$
9: "$(Ti_
;jry
,$
,;:
_*/
;]
.',>,:.':)i2:
(4: Sbj,,
p,
;;. f
.
.: ; ; // :jy /. (
When eqns. (4.4a) and (4.5b) are solved, simultaneously,-we ca, :fi,d.how h
;,1 *: "',.iJ
' "
(liquid level) and T (liquid temperature) change with t&&e: taben the,inputs
jl
i
,%;.
.:.
'.
(Ti,FiiQ) change-. Let us ask though' the following twoquestionstI.
_
.*.
' ., 6:".
.'
"'
.,
,
I
..
*:
c :
12
i,
Number of variables = 6s h.; T, Fit F, Ti, and Q '
We have assumed'that A, 6 and'."c
We notice that
.i.Vt
-a
are parameters with given constant values.
'
^ \
._
3:
il,
1.
::
f
:
)V.
:;
,,
,;
./.
Number of variables
I -'
_-.*
_-& .L
.,.
:
, -z
6 *:~.
!, ~:;I1
,: j? \
: ;,,
.,
-?;
,,.&
If
'
$mbe%iof
equations
I .,; ,*-: .,
,;. I; 1:
Consequently,.the answer to. ths-fir.& q#@$tion.is~, .yI$S there exists at least
.";
,i
: ;.
-_.
one solution to;the equations mode&ing,.
-hank. h*ater; With respect to the
I/ ;,,, .',-')
,.
i;
second question!we eagily+conclud$
that&here
"is
an'
infinite number of solu~
.t
-i
tions since we can specify arbitrarily&e
values+ four variables (4 - 6 - a
. si-
1
I.,
and solve eqna,.,(4.4a) and (I).Sb),.~fqr th$r+nainiqg twc 3
variabl'es.
_'
:
The
arbitrariiy,specifie@
vs$iables a& tke .degreea,,>of freedom and their
,
;
.'
z_
number is Siveni'by the:followinS ~~vioue.ie~a~~~nship,~::, ;
,~
J .'
,f
>
of eq$$.onsj,
-'
. and T change
<
,or./I Q,.we,find I ~ .
Number of Equations
."a<
:or&+&
: Equilibrium'reXb&&hips~
N-b1
N
.L
-'
llydrtluiic
Xeqn.
relatio&hips'"
;.
Balances on"feed'tray
I
(eqn.
(4.20))
(4.21).)
'.
(eqns. (4.22a),
(4*22b))
.'
Balanties o n t o p t r a y
(aqns. (4.23a);
(4.23b))
2 (N-3)
(4.24b))
(4.25a),
2
Total = 4N + 5
i;
(4.27b))
I_
Number of Variables
m.
N-I-2
xi
i=1,,2****,f,***, N,D,B
liquid
compositions
s
1 .i :. ,
-,
i,Msl,
N+i
,.
,j
..:
Li
6
Total = 4N f 11
i=l 2 l
,
Ff c,; FD
liquid holdups
.
.
.) :
**,f,*** ,N l i q u i d f l o w s
.
,;
FB,
fFR
j
,!!
(4N C 11)
(4N
$ &
(. .z
,Mi fnl,.2,r**,f,*;*,k;I,~
.I ,.
N
(4.25b))
.f*
:.
column is
::
.I
_i.
, . .
).
.I
y
, L/ :*
_. ,
_;
:,:y
_,
I
8, ,.:$,,c
:I
al..
,
The observations made and the conclusions drawn from the above two &tamples
_,S
J.,
/ :.
f
*
b :.
i
f.
can now be generalized for any pradessing system deefribed by.,a s.et of E
,
*
I
equations (differential and/or algebraic) containing V varisb$es.
The num,I.
.,
_
b e r o f d e g r e e s o f f r e e d o m forsucha s y s t e m is given%:by,
:, li,, .
. ,
_
/
t
_/ * ,I:., ;.
;
:
,)
f i Y _ E ,1
v
Accardfng to the value of f t we can have the falluking c@s&k: !, ,
Case 1.
,.
'.gi..
The sdlut,ion
specified.
w$th,?equal
numb&~~of
i
udique~\ralued
Case 2.
9.
that the system
system isis ovirs$ecified
ovirs$ecified bybyf equations,
f equations,
i.e."we
i.e."ws
needneed
I ,_ I ,_
*.
_ :
to. r em&e. f <equat,ions
in order t;q have a solution for the &&am, "' "
Remarks:
of
in,~.~~~~al,,.proSeas.
intro- '
Example
f
5.5
thus:yielding
foup:degreea
six
ia detarmined
by a pumpi:valve;
ets.. ':-Let us
suppose that this is not the case and' that theliquid. flows out 'fromlthe tank
'1
:e,
'
>
/I 3
I
-,
:i.:.
\. % ; :
k+
,,
freely under
pressure oE the liquid, ih the t&k,
In tli38 cn8c
.; *t the
,,,.; hydroa{atic
,: !t
there is, .? an additional
equation relating F to h, e.g. F = $&, which
_* -i
reduces the numbyr
.I
r,
.,
Consider again the stiired task heater, but noti &id& f.eed&ck control
(Figure
5 . 5 ) Loop
.
%ontr&
1 inaintainlb
a'relationship
bqtw&eri F and
1
1
two
additional
b$ two.
I
). i
.
*,<
I%
PROCESS CONTROLLERS
".
::'T
!_
.,,.
ar+es;t
'.'j:Q
-I
"
t'
"How do you reduce t& number -of d&grees of. freed4p to szaro :
so that ydu can have a cromplately
dpecified syst4m w&h
unique behavior?" ,
.I
.
,
the,addifional
,frF,edc?n,
cpmpJ+@y,
we;"need
spe#ic?d,
,.
,
:*
Recall from Example 5.3 that the s&red tank heater powetises four
,
N ,I
degrees of freedom.
Therefore, we need four a?lditional. relation&hi&, independent of the linodeling equations (eqns J (4.4a) , (4.5b). These are provided
from
the
following
considerations:
- The feed flowrate Fi and feed temperature Ti are the maiin two disturbancae
for the stirred tank heater ;and they are both speclf,ied by the
1I
>;+ -,
as many degrees of freedom 8s the number of,.., &turba&es. .
L The control system required to achieve: the iontrol objec&ve$, it removes
as many degrees of freedom as the nurnber~~:.cdn~r;;~
obf&%ies~.
_
degrees
fir. a, chemical
_: :t.;-of. f?eedom
I
.,,i
1
process, care must be exercised not to specify more control objectives than it
I
-
is possible for the particular system. Thus we can have tit most two control
objectives for the stir&d tank heater.
Attemptfng
,
\
-_
,L :
;.
11
Specif
j
,, &&on of the disturbances.
. .I
binary. disfil,lstlon column ;
(I
.?,
.,
.,
I,i
degrees of freedom.
The acceptable
(i)
(ii)
composition
of
the
bottoms
Specifi- :
aatlsfy the
For example, in
r-
t
.
i a'
"Keefi at the desired values the bottoms flowrate Fg, its
comlksition
xB, and the two liquid holdups MD and' MB." .' '
1 ,.
'?
Care must be exercised noi'to%pecify
&re'contro&
objectives'than the
or
8'
six
operational
biniry;'drLitlPrstion
(control)
objectives: '?.
"Keep at the desired values &he FI), x~; Fg, xg; MD and' I$?
i
2 .:c;..
%,
,~
s': I
-,o
,.
%@,) !
_'
<
II (F1 + F*)
.
d c it,
;
v -4 - (c,
"F
*1
_ .pj
' :
in Example
":
f<.
d..
(4.12a)
.>I
'i
- CA )t
3l
.'!
(4.13a)
I,
..
dT,
~F~c~(T~-T~)~~P~~c~~~~-T~)~~~Q
-
, i
(4.14a)
v,c A3'. T3, pi.7 'F2', Fj I "Al' CA; 9 'Ai'
Tl, T~,;Q, 6, cp, Ap, ) aii, , AtiS .
12
3
.j
'.
Initial degrees of freedom - 17 - 3 = 14
', ;..
1.
6
:
Ii
m_,.
=P
are functions of the corres-
- 5
we have.left,
degrees
of
freedom.
,
L
:
I,
*I
/
,
.
,,.:
,I.
I.
The values of the dist$rbances are$pe$f&d by the extert&,world.
.. ,. .;..,,. 3,s: *: ,,
>.I .; s_: .
Specification of,:rfie son&o& &bje&t$v&,~ a, Considering s&x disturbances
*
Q i+
i.
,.
specified by the external world,. we ha&$&y 9 - 6 = 3. degrees o f .freedom
* ,. .i I .,:,j -@..$ L,, ;....i; ;. *:,,:;- A,: j j _, :
l e f t . Therefore, ye dan specify up to fhre$
controlobjectives~ I* ese are:
I.
; , ,.& /& $
I
Keep the volume (i) of the mixture tn ithe t&k a& tie11 &I
,
the temperature (T) and;;compositrtod (a& ) of! &e~eff&uent 8
,
3.
stream at desired values.
3
.,*.
_:.i.
2;:
,
Figure 5.7 shows three possible feedbaa conttol* loops which
<the above
: ., satisfy
!
:
.:.,
.
*
,
_
3
.
j
:
4
,
<
.
objectives.
,_
< r,
.
4,
.;
will determine
will
determine .the
.the scope
scope of modeJ.$,ng
modeJ.$,ng for: .qontrol
purposes,
It.T
Before attem4pting to mode!., a* pro!esg, tie wuqt pose the, follow$ng questions
well:
I
/,
_,,
,-,
(a) the system-iwhich we will attempt to.model,
/ *.I I.I.
s.
(b) the mass, energy.
knergy. and momentum balances that we sho@tLd ,-develop and,
,I
(11
, :
. I :
ti _*
/ ? a.
,. , I
, . I//
>I(
the i,nput
$put variables
variables (manipu&ted
(manipu&ted kr@
&d disturbances)
disturbances) and
and
(ii) Fhe
< :! . _
> I> ,, ;
t.:..:
:
~: i, ; : 1>
(iii) the
the output
outptt variables,
variables, ,,
.
:
rr\*
-2:.:
;r
il.
..
:
./.
,\
:,
,
that the mathe&tical model sSI&EdT Ynclu&.
1- 1 .,*. 1,:. j.I;, ;
v , .
Let us now examine each of-. the above three
questions and how they affect
j
, :, 1
t
1( .I * i:,.-,
: * ? : .f
the modeling of a process for control purposes through iseries of examples.
A.
.,
Control Objectives
As it has been discussed in Chapter 2 the,_objective.s.
- knsuring
bnsuring thiat
the stabikl.ty
stability in the
the operetip)tl
oper%tip)tl ,of
,of aa process,
proows, or
Qr l l
.:
- sup~,ressing tthehinflus&
e influs&
of, ex~ar~i,8Ssturbancas,
of, ex~ar~i,8Ssturbancas,
o
o r
- optimizing the economic performance of
9; .+a plan!,
plant, or
or usually
$ually ,, jj
- combination of the above.
.,
!
.
;.,,
,-.
1.
in
variable
- desired value or
variable
2 desired value
how the$e
will help ua
A.
B.
;. y /
: .,
;F i 4>,. 1~
If on the other hand our control objective fs.to k& the.tem$ature
;. :. : 3 ;: 1 :,pf y ,.,ii I/,
of the outlet stream, T, at a desired value, them
I we r&et .cons;Ld&
_:
. ~both
b,
:
state variables, i.e. the temperature and the level t& the:%qu$d in the
.,~ . .
tank.
This implies that we need write both total mass and lenergy
l,.
,f
balance. The disturbances of interest are the temperature and the
flowrate of the inlet stream; while the available mani&ated.var&bles
.
are
Fi, F and Q.
_
.h,
--
c.
control objectivesare
:.
..
,:*
:.
..
Example 5.10
.
Consider the continuous m&id proiess d&cussed in Example 4.11 (Figure :
,
*.
,i
4.8).
We can distinguish the following control situations:
:*
,
A.
If our control objective i&o keep the concentration of the effluent
/,
/,
,,
xx
- I.
ii
stream in A at a desired value, t&n the. state varsables of interest
.I I
, are the vo#.ume o,f the mixture in the ta6k and its concentration in A.
,
The relevant balances are thoaa,on total mass and on comionent A. tie
dlsturbancfa of intereet are:
cA
F2;
i0r CB 1, Fls cA ( o r cB2) a n d F21
2
1
1
: The available manipulated variables;
i are: Fl, F2, F3 or the ratio 6,
.:..,!
Fl,/F2.
:
_Ij, j,
k4
7 I
,.
*
Ir .
important
available
manipulated
variables
are:.F13
_I. .
and
Q.
B.
.Fa.
F3,
II
The
Fl/p2
a i
1
Impact
....
arei expected,.to
,
.:
/.
;,
,,
what complexity
balances.
.,
;.,
Example 5.11
Let us return to the stirred tank heater (Example 4.4). If the feed
flowrate (disturbance) is not.expecte&to vary*significantly,.then.the
volume
+
of the liquid in the tank w$llremain almost constant. In this;
.,./case
:
>,A
.
1 .jl
. ;_ *
dV/dt - Adhjdt a 0. and we can uegledt the total:mass balance and the jr
&e-.;&~~aatical m;del .& inte;;st ior c*r;$rol
associated state variable hi
i
purposes is given by the total: energy balance alone ieqn; (4, 5bj)iwith tern;
22,
(,!
.* Y, T:, i p
paratura the o;ly && v&iabg*
I .i
Remark:
;
Note that if the feed tempera&e, Ti, ke no&exp&ted .to qary sig-
;
*_
,
nificantiy but the feed floGrate, Fi, is expected to! change
-substantially,
above,
C.
and (4.,lOb).
f 1
. . 2
:
, .
l
r
,,,
This
which
j
have
small
contributions.
Example 5.12
Let us return to the continuous mijring ,prodess dkussed inExample 4 .ll.
:.
1.
Assume that for the particular combnents A and B of the mixture, tlie
heat of solution do&s not depend significantly bti the.-composition of A and
:.
.;
B.
:
f
. Afi .I
Afi
z 0
s3iI
,~ s3]j
<i,.,.
[ 3
1
and .the to
total
ealknekgy
knekgy balance
balance (eqn.
(eqn. (4.
(4. Ida)9
Ida)9 &n
&n be
be simplif
simplif &d
&d r 6 .the following:
following:
,
a
:
..(,
(
:.
dT3
~
f Q
PCpV.rdt - %=p% -: )T3) + cPF2CP(T2 -T)
:
, . 3 __
)
i-.
aa Ait
C sl
Afi
,I
7.
CA,
feed flowrates
F1-
disturbances,on\y
the feed
I
II
:,.
c
aye expected, to change significagtly
whiJe the,
:
by,.
,,
a n d F2 and feed temperatures.
Tl, and i; are expected
i
can
I j n+gleg&from
,s
.,:.
1 ; j i:.
and
phenomenon leacjs
I_ ._- to a :
state; _*.:
variables the temperature Ji,
the
. s i m p l i f i e d po$,el Ss &e,n o,n+y&y
.L
I
7.
:
.i; )
;;
Example 5.13
TINIS )
( -,
,,
_
II
mathematical model and the temperature from the ,set of state variables;
_ .
., I
(,
,.
,.,
.
L
5
Examples ;.9, 5.10,
5.10, 5.11, 5.12 and 5.13 demonstrate very simply but also
!;
>
)
vividly how the %.mathematical
model
o;f
a
process
.can
be
simplified
when we take
,y
,
;
:
,
: _
into account various consider-ations Lrelated to the nature of the process and
:,t ii, 4 I
the characteristics
of the control problems.
~
._
,~,
The control designer always looks out for such s
f icatio.n.j$
icatio.n~~.~(_,f! i( ., z1 : ?I:
i
* I
.
>
.,
; .::,t
3
,v (, ,.
.a,
- select the simplest type
t&b of,
of, ,model thtl& desq$bee
describea tibe; proqe&Iw$,thinprooess,w$thin- the
the
-.
1
desired accuracy _*.
._ .;,.w - t&J., .it.:y :
! : . . :9
3 !.
.
: /
The construction of a s&m@
s&m@ Iand
and effec;tiv~~.model.,,requ~~e$:
effec;tiv~~.model.,,requ~~e$: a:;goo$+
a:;goo$., knowledge
knowledge df
*: ,
). i, :
i
:
the physical a,nd,. chemical ptierromena under cons~~ezario~.~~nd..a~~;,~~a~a
:under.e
standing of the
(eig, oQi&rtjl
oQntrh1 dbjact~~~ir,~~~pacted
,d control problems ,involved (eig.
. 1 ,,
,I
.
disturbances and their magnitude, etc.):
,_I
.i;t
;
.
*.
_The input-output
is aa mathematical
des&ipti+ ,$aj$q
,rela$$g directly
directly ,,
input-output., model
mo,del is
matheatical ~@#r~pti+
,
the inputs (disturbances ; matiipulated
variables) to the outputs of a .,process .
.
*
.d
It is preferred over a stat;e model because it is simpler and depictsnicely
:; 1 ;
In Part III we
us+ng&he
, -:
Laplace
transforms,
:.
2
Using the mathematical model of a process we can find the number of its
r:
inherent degrees of freedom. A well modeled process should never be over..
specified.
Usually it isunderspecif id and we need to provide .additional
>.
,,
*l.
equations to make it exactly speoified. Such
2.
.
Describe a.: procedure which would alilowyou to develop the ?&xit-output
Define the:.concept
of
4.
equations
&riat.il&$;
'
">' , c ~
'$:. : '
"".
vi&
componen&?
(.&&&~~;$&.,a
$;i).;
6.
li
5.
of degrees of f.r&xiomand
with
.1i ,: :
do&m~
,MP?
(Recall
Duhems
ruler)
.I
,. t
r.
How does the number of *degrees of &e&iom affect the number and the
selection of the control objectives in a, chem$eal process? :.,
7 .
8,
by
d?
,_
l_.
*i
,;.
:
W h y c a n t y o u deuld a control, syst&a f o r an tierirpecified procelici .
I.
!I
:*.,
.
,,
.
.,.
J5
.
.
*
.,.
Can. you
Can
you have
havethe
thedesired
desired
operation
operation
for
explain w
explain
why.
hy.
10.
an
for underspecified
an underspecified
process?
process?IfIf yes,
yes,
If no,
no, explain
explain how,can
how,can you
youlift
liftthetheunderspecification.
underspecification.
f2h1,x3al,d2)
f2h1,x3ayQ)
dx3
f(x
d)
dt-,f(x
3 1x x2x x3mM2mm3 d1 dd2 d)
3
where
where
xx 1
1,, xx22,, xx3 are the state variables, m 1' m2' m3 are tbe manipulated
variables,.and
d l , 62, d 3 are the external disturbances.
(a) How
How many
many degrees
degrees ofoffreedom
freedom does
does the
the system
system .possess?
(b) How many control objectives can you specify at most? -;
11.
(c) Consider the above system at steady state. How many degrees of
.,
freedom does it possess?
.
i
A system is described by the follow$ng , sbt of state equationsi
dXl
dr* fl(ml,m2~dl,d2)
..dx
~ kd ,-J$
,
,
<A f2(ml,n$,dl)
;i,,
*,.
Find the degrees of freed&n for the system at its dynamtc state &d
: I.
steady state. Are they equal? If ndt, why? What are the implica$ions
on control in this case?
_z
12. What are the main control conslderatsons
consideratsons which afiect t.he slope of
mathematical modeling for achenkl
achemica1 process?
13.
14,
..
c,
I
I
i
; fl\
#?N
1
I
I ,,
h Ts
I
/I
I
I
I
1Llnll-r - )UfPUT ~0DE.t.
L - - w e - - - -------c---m-----------c--.
F;qtlre
d d
I ,_
I
I
:
*
k.2~
;
--------------------e--*-r.----rI
I
II
'I
I
I
a'&)
INPUTS
fF, ,4(,-
\-,
I
I
I
I
1
1
l- --------.----c&
I~~PuT-OUTPUT EJIOPEL I
- - - - - - - - - - - - -
ricjure 5 . 3
OUTPUTZ
..,--.
__
*.
.. . .
c
m
1
i
\
A
,
).
15:+"H&w
17.
.the process.
.'
Give'an outline of the steps tbat'yo$
of the tnathema&al
REFERENCES
;,
_'-
,"
,.
should take .during the development
.. 1
. ..:',
model f'or a 'cbemidai process,.
I_ '\, )'
.;
, .,. :
; ,i :
, ,,
""'
Chapter 4: ,Three'
eiceptional
'
,a .,large number
of
;
" process,
..
references
-with
i:,
modeliqg
(1)
(2)
(3)
examples parer
.~ .,'
5
.rl S,
a = ,. " ,:
:,
+
, .'
Process Dynamics and Control.' -voi ;i j., I b$ *J, MI": Dousl&, $~eniidg-Hall,
],
Inc., E~glewoO;d Cliffs, N.d. (1972). ,
.,:-'\
',
,.*
.,:I
-f,i ,,
.I
1 ./ , .~ ",.
Process Modeling, Simulation and 'Control for Chemical %ngin&&,
by'
W. L. Luyben, McGraw-Hill Book C.o**I p 'New York (1.7,3)i, .* :. ,,:,' t: .
. ;p. .%i -'
Dynamic Behavior of Processes, by J. C. Fri&ly,
Prentice-Hall, It&.,
Englewood
Cliffs,G
N.Jj.
(1972)
Iz
,,
II
I_
f7Q,
,,~
_ .
to develop simplified
models.
. and useful
.:
the following constitute a par.tial.fist:
For the modeling of ch,emical
Among
all the available references
.'-,
::
,
'reactors:,
, ,:
(7)
(8)
(9)
(10)
For
the
modeling
of
transport
by R. Aris, ;P,rentice-Hall,
Inc.,
McGraw-
pro&&es:"
TransportiPhenomena,
by R. Bi Bird; W; E. Stewart and E. N;~Li&tfoot,
'v
J. Wiley and Sons, Inc,, Naw York (1960). t
I._
,h
,
,
.,
Q,
.~
(12) Mass-Transfer Operations, 2nd" Ed.; by R.'k. Treybal, M&raw-Hill Book Co.,
I.
New York'"(1968).
:. * .,
:
?.' 1
.,:
'.
and R; M. Drake, Jr.,
(13) Heat and Mass Transfer, 2nd Ed.', byE, R, G'.'Eckart
McGraw-Hill Book Go., New, York (1959).
,
>.'
* >. ._
For more on the reaction equilibria and'phase equilibria the reader could con
sult the following books:~
' ' '
(11)
(14)
An'interesting
'
impact on
to the following
book:
by P,.:W.
Murrill,
I&
PROBLEMS
1.
;
;..
:. I /
I'
Figure P.&-l.
International Textbook
.,$y&m 1 differs;from
ii ,
t&k 2 does hot affect
I~
(a). Develop the mathematical model for each of the two systems.
'I
(b) What are the state vari&les,for
balance. equa$ons
(c) "Which mathemhtical
%ave'you
the,fl&rate
1:
cau8es
"._
pro-
the flow-of
liquid.
'is
(abova).for
P.II-2.
areas.of
flowrate
ft3/min.
2.
F5
i8..constantand
th&syetb:8h@n
in Figure
whi&a th&,cro8s.earctional
in ft2, rerapectively.
2.
does not depend on hg.a l*i:i d
The
/Y
3.
o f the system.
(c) ,Deve$op
1
$f,.the, s y s t e m . .b*,,l J , .
behavior!
.d
5.
At
*
Consider the mixing process taking;: place in., a two-tank system, (Figure
i
:* *! : .: \V(*,.
P.II-.5).
(a) Identify the state variables of the system.
(b) Determine what balances you should perform..
(c)
,!
Assume that the flowrates are volumetric $nd ,the compositi&s are in
moles/volume.
6,
bl
a n d
1
. .
/I _!
a
for the steam coil.
;(/ t
1
$ i CI!
,.i
I.
Develop then state model for .the.b&chbemixing of two
solutions (Figure,
3~ ; .
. )i : .
_ . s
di * ,;
i.
I .,
P.II-6). Initially the tank is empty., The volume of_ the
Qank
is,l,;cY
,
r
-* :
,
a,_. -& i ,.
are volumet2i.c apcjthe eohcentrat~ons ategilt
~,
(f2). The flowrates
).I:
*
,i.
i
CL
:_
j
.,,
!.:
,t i
a*
..
moles/volume.
I
.
:. ; ,:
d
(
-.
.
,
,i.,;;
.
:
I
/;
&
(H) How long does- it take to fill upthe tank?
,
(b) Show how would youf And, the
:; :v
;
mixture in the t~nk*;fu&$ t
I
;gi
f i l l e d upu
7.
volume, and that the heat, oft solution depends on the oom@s,~tio~n
.. - 3
Develon the state model for a batch reactor whese ehe F&&Y
. s &j Z.,I $ I.2 . r:*
1; i
.
reactions take place.
I,
* .
8,
c!*_
4. :..... .
, 1
\
~;
9 ,,
kZ
D
,r:
*
,
All reactions are endothermic and *have, f irst-ord.er k&n,et+s,:, :@he :::#i,,
,
.r;<;r
reacting mixture is heated by,steam of., lS&~ps,ig.w?&zh. f&$wsthrough
.-.
2
a jacket around the reactor with a rate of : Q (lEr/at$n)-,. ?
~1
<$
, .
Consider the continuous stirred tank rea&tor, system shot+Win,,,~FiguVe
A
k,
,tB
k,
+C
::
P.II-7.
and c
B1
i',21. :
temperature
Stream 2 ia pure,.,R.,J
; .'(
:i : T1',*
are:
?,$S
f
I
: ~,kl,
'.
A:+ R - P 1
(Reaction '1)
L
'9
i"
'.
The,reactions
9.
,
t
10.
<,
_.',
I
:~ Li, .:.
t
content with! 'At ' 'h&t.transfer
taking place
,,
a&&.
';,
-:
..*-
"'f). 2 -I,
',
-'t
;,,
a
(d) ,Iiow can you 8;mplify
the
state,model
ir
k2 &lo, ;l"
k
,;.
i
i
.. j
large range
of~tqnpera&,res?
;i
'
1
:;* .':
": ', ',* i: ; .F1 .,: .> ~
:
&I
(e) Define the assumptions that, s,kould be made in order tos, r., have:&':
I
v_(
>
c ,,:.,:
..
isothermal
reactor.
.'
j
; .; ,/, . p.I .1
,
'\ :.; ;-. ::g;
Develop the ,state model for the twoCSTR.ayetem
of Figure:P.II-8:. ,A
Tr I
I,. : ias,_ ".: '/ .,_I'
.b';
. .
%
simple reyction with 1st order kine,tics
takes place: A.B.
.:
L :
,;
Assume isothermal conditions. : .,4,
'
'
j
O'_
Assuming plug flow conditions for a jacketed tubular, react&
P.II-4)
olmple
exoth.etrmic
temperature
malten
et
,-
reaction,'A
levels,
Aqsume:,con@tant
u+ R
the ,reactiort
the reactor.
, ..
,'
-*
(Bigure
acceptable
i .'1
".' _
L.'
'
.,
moles/volume.
Tl&~lowrates
,.
are .volumetr&
Theinternal
diameter of the tube is d (in.) ano
.,
.j,.;
.,L
_
6
i t s langth >,;,II ,
-.
F i g u r e P.,lI-10
shows
.c
outputs? ,/
., . I
__
.~
-.
,z
perature
The.:generateci s t e a m flows o u t
r .
from the top of the boiler, with a flowrate P2 (&ss/hr), and a
; 4,
J
1: . <
p r e s s u r e p (psig) .
,
(
:i
,:
,
.,
?,
z
1
,:
(a)
t&-@idre;t&
(c)
F1 -- f (N -, . :
::
12.
(ilk).
Let.- P l
pressure
at
.,
i
,;.,
the
exit,.
%
-4.
(.
,
,
^
.
~~ol&etri~ fle&ate*
,
1; b
$.
.>
*
.:
,
.*ir,.
,i 3,, -p, ,,.
6 r.I
, x- I ,*TL
/
:
1
,
Assuming the t
I
cA (moles/volume) as the .
A does not diffuse along the
1. : , : 1 .
(a) Develop the state model that describes how the <, concentration of
1
14.
.(
-.:
,i
.(
3
i 1,
_. _I
/
,/a
:
The liquid stream passes through an isenthalpic ,expans.ion valve and
&:. 1
2 I
i:..
/.
is Flashed into, a flash drum (Figure 416).
The pressure p in
I
* .I
_s
the drum is assumed .to be lower than the bubble point pressure 04
yA
volumetric flowrate
F
v
h,
: .:a
,..
!:4&2)
,:*r
* \
(c)
(d)
ci,
L
the system(s) around which::you will
.
._
.,
.%
, :+
( e ) Ident&& t h e :state:&riablss
ad the-:input v a r i a b l e s (manipu..
(...
lations, disturbances) of the system,, - *, 9
.,
( f ), Dev&op :thecompkeee
15.
.,\
find?
-:>.r
~
,: .
,:.
,df freedom:.
fre$ddm:. *, ,.
System A:
c
!:s
:_.
,
1.
1..
The three-tank system of Figtire,
R&tire, iPC,II-%
~PC.114 (Problem 2) .
System B:
:i
(Problem 4) . .
system c:
1,
Figure P.IIi5
P.Zf-4
i)
17.
The
number
od
degreea
of
freedom,
and
1 : j.
you
.,.
::.
,
(d) Identify Maat would you use of:conlrol objectivea.
b
(e) Develop. the linearized model.of the CSTR::around
the steady ,a:
?
state and then show howyou.
input-output model. ,
18.
Do the same work as in- Problem 29 for the two .CSTR ,system of Figure
., i
P.II-8 ( P r o b l e m 9 ) .
19.
The ifi&nber.
flash drum.
:
l
20.
.$mpT&&
(k
ag$
.^
.;
!i
A simple chemical reaction, A + B; with first ord& kinetics,. tak&
place in a CSTR.
i,$.
(a)
Identify
the.
fundamental
dependent
variables
.
which
describe
(b) What are the relevant balances and whatare the boundaries
of the systems around which you wiil perform the balances?
;.,
/
(c) Formulate all the relevaht balance equations.(d) Identify the state variables of the plant.
21.
.
I
(b)
a
22.
Develop a s$nple~inpu&output
Develop the state model for an ideal binary l&&h distillat& column
* ,
with N ideal plates (Figure P.II-12). At t=O,- the composition of
;.
t h e i n i t i a l m i x t u r e i s cA a n d
mass is M (moles).
(a) -List the assumpt;lans you will make for modeling the system.
,
( b ) I d e n t i f y t h e r e l e v a n t balance,;equations.
(c) :,I, addition to the balance eq&tions what other, relationships
do you need to complete the. state
. . umodel? -.
(d) Show -how you can find the time when .the composition, of the
~ )
overhead product has reached a composition
;:, yA. (molar fract.ion) . ,
: .,
(e) How many degrees of ..freedom dqes the system pos?ess?
.I
(f) How many control objectives
can you specify?
/
,
I
Additional questions:
.,
:
(i)
24.
.
,:>
:
,, ;:
a .
j ,
;
Develop the state 1,.
model,
for a gas
(J?igurq
F,.XI-13)
! >,i.: 3 , .a*> : : column
, a&sorption
i :
21
with N ,:-ideal/ transfer
Tha,
?%a,
: .: f&x&ate
::r ; #&blhr)
: ppr,,:~ of the
,.L
)I
i units.*.
,
+,.
entering gas stream is : ,rg w,lth a oomqbsitioxa.~(m#ar
fraction) yA
rl
r,>, r;ilr? ,. :., ip,?:\. . *, it
t
.,
>:
while the ;composition of t!he effluent
effluent gas) :,stgeam
stgeam should
be i-*x yb, (mofar
jf i< should
. , ,)be
ftt. 11 :
:i
fraction) : The flowrate of the% liquti
absorbing stream
=. is l?$ (moles/
,_(. ,, . { . .) ,: :(.. : L. ., :, >
Ia-) and it Is free of .t!lp;cd,myncnt,
A. 1..,, '.' ,_
)
.l
: ", .
f, ! ,;:;i,
.
state
your
assumptions
!il:
,).
..,*;;,,
-:
,(
(/
.,
of*the
.? condenser and,, reboilor ,cons%der&
,.
,i
..I
.,E
. .
.,,
12,
.
L
.
I
ioo*psi
Q, (lblmin)
_- -
Fiqure
P.p-
I FR : cons-kud
Figyw ?.0-8
.
CSTR
- I I
FR
:
~,
AL
..a- 1
d
y;
Fe
Liquid S.ream
*
.**-:.- :.I 1.
. . .. .. .. .. .
.. .. :.
--,
. . ..- **.
. . . : . --.
a..:.
*. ,
. .:.*. . * 1. ::
..** .. *.. *. .* .
..,
..*. ..*.
--:
. . .- . ...
a.v .
Liquid t A
1
.,,
.,;-
PART III
ANALYSIk
*.
BEHAVIOR OF CHEMICAL PROCESSES
OF THE DYNAkiIC
SCVCViIl
t
, f3 iniplo
process%ng
sys terns.
a.l.low61
_'
:
.I ,)
,The analysis is limited, to linear dynamic sysbems; T@s may se& incompatible with the fact tha<'moost of the dhemical'eng&k&&ing
_ /. processes are
'.) _, .~
,
.'
,..
I"
,$e'very v&luab&e
modeled by nonlinear equations,' Rowe$or, linear .technique;
.
:*
,.' .,/ _,:I
,j : $,.;
and of great practical importance
the follov~hg reascns:. (a)..:There
is no
3 for'
';.
general theory for the analytic sokution of nonlinear' dif'ferential
e@nations,
: .; :".
" , I"
and consequently no compreh&sive
analysis o,f :nonlinear
dynamic syst+ms.
,. *, ,I
-ip I...'
,. _,.
,. j': s
(b) A nonlinear sjfstem can be ad,~~tely,appr~~~~~i(?d
by
~linoar
system
., I 1%,' near
I'
:! '
some
operating-conditions; (c) Significant 'kdvancei in .,the'~inearl,;eontrol
'!.
I '
theory permit the synthesis and dsisign
of.veri effective co&llers
even for
.'
.,
.*, -: !",
,)
:
nonlinear
processes.
Fundamental, therefore, is the concept.of linoariMtGn.and.
t&e&to;
$
cedure for approximating nonlinear s&&s with linear &ea~$hich%ill
be
studied in Chapter 6.
:/
',
:'
which
we
will
discuss
$n
Chapter
7,
,offer
a very
The Laplace transforms,
f.
simple and elegant procedure ,Wsolve linear differential. equations and con-
simpie
transforms.
..
a
using
.f
SYSTEMS
,...__,
to,find the.dynamic
behavior of a chemical process, we have to
, ; : LG.InJorder,
. :
;.
1
integratet2the state,equations used to model the, process.;,. But, most of the,
.1
,
processing systems that we will be interested in are modeled, by nonlinear differential
equations,
and it is well known thatthere is. no, general,mathematical
r
I
theory for the solution:o,F
.~nlinear.eq~iations., Only -for lineat I differential
,J
. ,.
equations are closed form,
analytic: solutions avail,able. ;,,
~.
:,
When confronted
with dynami.c,analysis,of nonlinear syst,ems, there,are
.I ,L
$
i
several things that,& Gan ,do ,suchi as:
3
t
(a) Simulate.the
nonlig~~r..sys,t~,,osl,an
a-nalog or digital .compu,ter and
^
. .>.
compute its soiution num+ically.
~.
(b), Transform~the nonlinear;~,&%tem into a linear one by:an npproprinto
. 1,; ,,
:
., ;.
I
..,.
transformation of its variables.
.r
(c) Develop a linear &de1 which approximates the dynawi& behavior of-a
.I
nonlinear system in thesreighborhobd
of:epsc~~isd~~peratfnjg,
&nditions..
$
,.
,
: The alternative.(b) @an be used in v+xy fW M~~~~i~~.ir~~~~nathee
(a)
.I .- )
and.(c) are, in principle, .alwaya feasible, In :thih &a&r wal-+$dieeuss
the computer simulation of nonlinear processes very briefly~be&&Wse iq is a
<. j
>
subject to be covered primarily in a courseon numerical an&lysia:~~PIar~e:
:+
models by line&
ones.
J. emphasis will be given on the approximation of non&ear
)1
4
.;
It should be noted that all the-theory,tor the design of control sy.@&n,
availablefrom
pa,st work, is.:, based on linear systems, and,th&very small \
I
L_.
advances have .f been,made towards the divelopment
linear systems.
,.
t
1
/-
6.1
I
!
insight Wthe
i.
'.
:These
cdnstitutb
a set of nonlinear,equations
70
analytic solution
available. Therefore; iri order to study t!he dyna&
.
:'
behavior of the CSTR, '& must solve the%mxk&ixig eqilat.~aire'n~~eri~a~l~
using ,a
*.
,I',.,
(.
:; ,I
.
. .Y:;.,,
. ,. !
fpmputer.
,'.:.
.,
(
The model for the ideal, binary d&stkll&t$on: coltin'(eeeik$ca&$a~4.
13)As
1;
composed of
2N+4
nonlinear
2N + 1
I
differential,
nonl&near.algebraic
::?,:.
equaftions,
lequatlons..
.:
:'
column.
1
Today, computer simulation-is uhed~kctensively
chemical processes to aid in thedesign
', : ? /.
,.<>:'
akdl~~
10 tray cdlu&").~-that
dytiamgt:
behsvTor,of
iI.
-/
$6 aaPal?ze
the~dynamki
of
,;
-
(d) They
do not possessmemory
likethe digital cohputers. ihe
: 3:
I
* .:,.
) I,!
subeequent revolution;brought ibout by the digital eorniutersi made the analog
,s
i t Y,q<. ,; ,*, .<:: >
,, y&;. & a 3 ;
;*i iE$?
computers obsolete
re sti?{I used in anme,Il ..$caFe and.$mari.ly
.I
_ ,_ .,
. I.
to train operzitorq on the dynamic opetiation Sf chAic% kiints. ,
* :,-,
. ..I*. . i
A.
solution
very.
/_
slowly.
,..
v:
Among
, a f ..ithe most of ten ,uoed..t
,.I;, <r$j!y! *.,hniques
, : : are
: , the*- ,- . ,_,
ii
following : (4) interval halving) (b) &nxeeslve aubr &tutio?%+ drnd (c) Newto?I_. ;#.
,..I
.3
j , . 2,: * _ i: - ; .s !
.X,
3:
R a p h s o n .
,.
.$
: ) ..: : j: y i ,: \.
.,,f
Here aga$ & have a .very large &mber of availab&e techniques. * Numerical
,:.I
t ;i 1. i , . / .
1 .-A,.
c,,*
,<
,s-: j h
j ;r ,;
integration +mplies an approximation of;. the. continuous dlff erential equatio&
,. , , * 7
1
;
2 ,.
ye,,,%!
*T.
~:
with discretei,f inite-difference equations. The: various integration methods
-3 , :,, ;. ;: -j, 4.
:
differ in the .way they implement this a&o&atlon. Thus, we have explicit
, *:
.,~, : i I I 1
!
e,
! * i..
:i
*
:
method,s which march on in time yielding the .sofution tn one. pass, or we have
i/
S.
J;;
*
5
_/r
T.i:fn,Rlitiit
h
merho$s
e
kwith e predictor-cc&rrectQr
y
q
u
ecapabilities,
s
t
i
o
n
s
Eor
3
,i.;
. .,
-,
r,:
an integration technique, aie the itabiiity of! the procedure and the speed with
:
ha:
.!, ._,. , . ,:i ),-;
;.. ..(: ,. ;*
which .it reaches ,.the solution, But again, these are questions which, in
I,,
,,.$
,
.
, (r
general, cannot be, answered to our satisfaction ahead of time. Among the most.
:
pppular integration methods is the explicit. fourth-order Runge-Kutta which pro:.
vides satisfactory accuracy and stability of computations as well as low cost.
:
i
j
,
I,
.t.
.~
,.
.;::,j..+
;
.,
s
approz&at!e
J
nor&rear &ten%
of procea&dyndmics
and
, ,
/: . ~ . /.
(a) We can have closed-farm, analytic. solutions for linear q&terns.
we can have a comRleQ
,aqd
ThUS,
.j i
> **.
of a-+'pot&Ln@p
ikqudtion
:wi.th.one
systems. 1
d x .=
7
f(x)
:
-'--'
dt
(6.1)
.:
II.
.
+
,.~
(&f)
::
xo)n
dx
.I
o n!
~..
+;;,*
(6.2)
,
?
If we neglect all the terms of order two and higher we take the following
r \i I
approximation for the value of f(x)::
t;, ,_, ,:.
,.
)
.:
f(x)
7.z f(Xo) + ($jx (x -ox,)
/
(6.3)
,o
ai
same
order.
.,
of
magnitude
as
the
,,
1 .
/
in ths appkoxima$i&
,. __
term f !
j +
1:(6.3) i s o f
I~2
xo
:::
take,
.:
-L. I.
E.
dx
dt
- f(xo) +
(glx
(x - xo)
0
(6.5)
a
.
.I
Example
6.1
yi&&,
dh
A dt
= Fi - F.
._.,
level, i.e.
F.
balance
/
i
liquid
of the'tank,and
h'the
(6.6)
'.
height of the
: .i
. . ,a I
which is a linear differential equation (modeling a linear dj&&c system) and
"' ! . _,
no approximation is needed.
i
,
,'
',
:
/
If on the other hand;
I
F.
then the resulting total mass balance yields a nonlinear dynamic model,
_* ,' :
_.
VfbFi
'..'
(6.7)
Let us develop the linearized approximation for the nonlinear model. The only
.,
nonlinear term in eqn. (6.7) is 13 v%. Take the Taylor series expansion of
this term around a point ho:
pig-
A0
(6
qh
as
.,[
+-ho>
t: o + .-dt-d(h
A-(h - hi) + :, fs
-sdi
(h
(B
I:
( h - h )2
210
*lo
JI;>
h=h 0
- ho)2
+
+
l
l
*
*
+ l .;
=&PO
+ m-k- ih - h o ) :
2%
I,
2,
approximate model:
Adh+.di-hsF
dt
i
2%
.
.
fl
Letus
.i
the
I,
system (6.7) yields the following
:
,jP
compare
the
viij 3 i O
>p"
>p
:_
,#,.
>.$
2.s
.'.
(6.8)
!'!
I
linearized, approximate m&h& given by eqn. (6:g) to
3.
P
nonlinear
As the time increases and the liqudd,level continues to fall, fts value
.,; -.
,r;:i
I
/
.
..
,
h 1 deviates m&i and more ;rom the~~&ri&al value ho around .which the
linearized
model
was
developed.
Figure ,6.2(b)
the differ
the
difference
enca 'ho
ho - h +ncrea8es the.
the. l%:neolriaed
l%:neolriaed
groesively less: accurate, 8s
?a0 expected.
6.3 DEVIATIO?j
VARIABLES
Let us now introduce the concept of the deviation variable that we will
find very helpful $I% later chapters for the control of processing systems.
Suppose
dynamic
that
system
(6.1).
-, . dx&'
(dt)
Consider
xs
xs
Then,
'.
.;
I,
-
f(x$)
'/
.i.e.
(6.9)
x. E xs.
xs. Then,
= f'x#K)
"* ,
,i,',
df
,+ \dx'xg: ( .x -'x
. $)
eqn. '(6.9)?from,,(6.10~.~and't~~~'
, _.
:.i. :/ a
d(x - xs)'
xs)' .L.L :" .
'.
m (df, ') ( x - xs)
dt
dx xs
= xt
c x
'
.*
.,
i,2i
,.
(6,. 11).
* 3
,,,
:<,.
3.
="(q
dxxsd
' *
,,
..*
:. (6.10)
. .
-'
,
,
"'
S.&A
'.*'
i):
i
.y
"
"
(6.12)
:. .u :
r
,.(
5Equation (6.12) is the linearized approximation of
the
nonljnearidynamic
. >, ,,'.'P " I :. "
; 'St: (-. j sys.'
t,.
tern (6.1), expressed in terms of the deviation variable x'.
' ,' I 'kj! *
.
The notion of the.deviation variable is'vesy '? useful in' procesd,control.
~<
state.
Consequently,
&del.
in such cases
Furthermore,
if
the
of
controller
/c
,
,
of.the given process has been designed. well, it will not allow the,process
variable to move
Consequently,
. far away from the desired steady state value.
the approximate, .G linealieed model exp,ressed
will be satisfaqtory
to describa
variables,
near tha
steady atate.
:r
I.
dll:Furl!ntl,ill
cqilcltions,
;,
al
Exumpta 6.2
::
I_
/:
Consider the linearized model of the; t&k &is tem (given by eqn. ,.(6.8), of
_.,
._/
Example 6.1. Let hs be the steady st,ate
vakua
of
the.llq@l
level,fcw
a,,
(,
._, ,,. .,,
given value, Fi,s of the inlet flowrate, Fi.: Then,
^
, the linearlzed.model
:*
around ,,hs, i.e. h 0 5 hs, gives
"'.$
2 ~~ - Fi -: 2
zi
. 7
At steady state'from eqn. (6.7) we also'yhave.
*-J&g
d t
,J'
0 9
Fis
,
51
,.
,;
G
".-igr
.a..
A-$+Bq*
_'
V3)
./i
,:
,~
'e,
: , .,'F
2% ,
,.
(6.14)'
-!
',
:
(6.15)
6.4 LINEAJ.UZATION
Fround
. .
a&f2
+c axlax 1
Neglect
the
terms
of
order
~~~~~~~~~
two
(x 1 -x lo )(x,-x2())
and
higher
and
take
+*-**
the'following
approximations:
fl(XiSX*)
fl(XiSX2)
and
,.
-,
,1.I ><
afl
afl
fl(Xl~X20)
fl(Xl~X20) f
f (-)
(-)
afl
afl
(X
(X - X
X
)) ++ ((ax2+x1o,
11 10
10
4
4
axI (X ~(p2~)
ax1
1(p*$
X 20)(x2 - x20)
X2#x2
C
; ..
af2
f295) tf2(x1(92())
tf2(x+2()) +~~)(xlox~o)~~~-~~~~
,:
,:
.a+,.
+(;i;;;J(x
+(;i;;;)(x
af;
dx2
,+
:)
+
;(---)
dt = f&&-J
ax,
.,.
(x?-y20)
(x
1,
1,
+,:I.,
X
:af2
10, )
10,
+ ax,l(x,
,:,:-
i.e.
.
(x
pyre?.. 22
pyre?..
- ~20)
**
(6.19)
nonlinear sytftrzim
des&ibed
by
_
,-
i
.&a& ?&ly also here,
,
x)
1 2
p o i n t (x10,x2$ o f l i n e a r i z a t i o n , a n d I
- the linearized approximate mod&depends on the point (x10,x29)
around
.;
fl(xl,s,x2,s)
f2(xl,s,x2,s)
9
.
i
:;-
;.
(6.20)
(6.21)
,+
Subtract eqn, (6.20) from (6.18) and (6.21) from (6.19) and take:
. ,. af
, , ~ rhrx ) -~. ,
I~$&&& (1)
~,~~~~,l,*,x2,a)(2-,x*,~)~~;22)
axi (x l,~,x2,*)(x1-~l,a)
':"j'
and
l,s,x2,s)(x1-xl,s) + (~)~~l,sX2,s)(XZ-.X2.a)(6*23)
_/*
D e f i n i n g t h e d$v+ytion var,$ablea b y ,
*
1
Xi
3 ,xl
- x~,~
and
*;
.*2
XQg
eqns. (6.22) and (6,23) take the following form,in terms ofdevlation
variables:
hi
-
-dXi
dt
,i %,,dx;
dt
!'
3
aiixi
~
.:
akxi
where
af-
a2l
a12x;
=. axl)(xl
'
es;.
22x;
*
,L
3; :
~.
:,
_.
s,x2,;)
, a22
.,
af.
(q(x;
.+
,j
:.p ,,.-I*
s,x2;aj*
_:
oection,s we
A final comment is in order. IN the previoue x.andiG&e.p%&ent
/
!
, ,, 1
1
considered the presence of state variables only in the nonlinear &nctions.
ir ii
.
8.. ill,
Thus, for systems with one variable we had oniy the state .x>&d for systems
<+
^
j 9 ,. ,T :.;, f,
with two variables we had only states xl a n d X2. The above formulation
.:t;i
,
1
Example 6.3
,.
,
: ,,L;
Consider a dynamic system desciibed
.,
a n d x2
1
,
dxl
dt
fl(x1sx2~yn2sdl)
_, '.
dx2 i= ,
fZTL,x2;ml,m2d2)
dt
where m
1
a n d. m2
distukbances,
'.I .
affea$ing
Linearizatidn*
the ,syst&m.
.I
(x10sx20sm10s~20sd10s~20~ w i l l y i e l d :
,.!
dxl
dt = f1(x10sx20sm10s~20rd10)
afl
,
afl
+ (T&~ lx,- xl01 + $qo
(x,-
x2$**
.
t.
and
!a_c
2) n (X,
+ (a~_
p--
dx,
-gf(X
2 10X20sm10Sm20~d20)
(6.$)
dl(+
3,
.,
ii
La
3.
)r
wh-@l-e
camntr~d
+h-
a+
n~4..+
-e
,.,-r--.t--ll--
t h a t t h e p o i n t o f linearization
xi.
*;
Xl
Xl0
Xi
3.
X2
Xi0
-
ml,
ia
varfahlem
ml
ml0
+hp n+a,Ar
ara~a
L-L-.-J--
-c
a,**
di
dl
did
=
di
d2
d20
--
(6.26)
:,.
_ dxi . .
xi ,f_: tal$ + a22xi + bzlmi f bZ2mi + ~~$1 5.
.C6.27)
.*, ,;+
where the cons tante a.
i-j bij =i are the appropriate derivatfves in the
eqns. - (6.24) .annd (6.25)) i.e.
c ,t
and
.
form that we would like to have for process control purposes, i;e. linearized
,.
approximation of the nonlinear state equations, in terms of deviation
,! .:
_
\
1.
I
var iab 1 es.
,* .
I
,
Linearization of a Nor&o thermal CS~TR
,$!:: ~
r
:
I
I
> y>
The modeling eqt tations for a CSTR were given in Example 441O'by eqns.
Example
6.4.
'5
_.
dCA
dt is.=
$ cc
k, e-E/RT
.O CA
- CA) Ai
:
I,
( 6 . 2 8 3
and
dT
L (Ti -T) $
J lo .-E!P;lTv Q - --$(p -,jj
.qL 29)
dt - f
P
,
I
I
.
?
.? .~
-& a:
This model is nonlinear due to the presence of the no&near term .e
. -- cAS
.
while all the o.ther terms are linear. *Thus, in order to linearize ,-n?qns.
,
term around
e-E/RTc
, e
-e
SubetitutXng
-E/RTo
-E/RT
+(
aT
ale
'A
Ql
* )To' CA
b 0
.I
d[*-ERTc
]
A), To,Q! (CA-CA :
(T - Toi +,(, 1 ac
.O
A
:*
-E/RTo
-E/RT
k e
(CA ) (&A To) f (8
O)(cA-CA
1
0
*
.
i
:
;
,
*
0
:
0,
RTo2
i
,.
\
I 1 -: : :
~.
the above approximation into eqns. (6 .J&y-&d (6,;;;) ;le i&e the
i t.
.-1
-E/RTo
cA
;. ,-*-+ (c Ai,-~A)
_,)
$+
(Ti-T)+
-E/RT
To,.-&;& $y- cA )
0
/
I.
-E/R%
-E/RT.
E
f!!!$+
-toe -.: o.#kS,-koL;iZ,,e
0
: RTo
::
,.
) :
j
- (
Jko
i.
-):,
; i '& .
(6.630)
4 :: j -,
: R >-E/RTo
: .
+&To
CA, .+ (- e
CA )(T-To)+(e )
R$
.:,
i
0
0
(6.31)
$e can proceed a stlp further co develop a more convenient form for eqns.
(6.30) and (6.31) using the deviation variables. Assume,that
To and CA
0
= $ (;;4"' - cA ),- ki e
i0
0"
AO
.;..
-E/RT_
.t.
Jko e
- 5 (To-~Tc
'I.,/ ;a- . o. 'A 0 . ,.p
:o
0 - + 'Ti -To)+
8
_ .,
Q
Subtract eqns-.
_'
<take:
(6.32)
.-c
(6,32) ar rd
(6.$3)>
,,,
\
"(T-T~)-~~
,)
'!
,A :
.
4
1'
.Ljl
dT
dt:?' [(Ti- Tie) - (T,- To,It
respectively, and
'-R/RT_
e u(~ACA 0.~.)
!':.(6.34)
,,
,.
:
-E/RT
-. ')(T+To)
ii
'
.I
-E/RT
I + I (e
I
(6.33)
:- i
dca
-d'[(.c
-c
dt T
,:: Ai
;'
O)(cA-,CA)
0
,.,
i
-3 [(T-To)
P
-- (Tc-Tc
)I.
e(6.35)
:,
Define
the
following
deviation
variables:
I
Then, eqns. (6.34) and (6.35) take the following form,. in terms'of
: !variables:
the deviation
dCA f. i ,; i i . %
--7
dt
Cc&
.1I;
dT' m 5 (T;- +') + r
-
koE -E:/RT
-E/RT
cl> -, ~~~ !+. T - hoe, 1~:
3
.[,0
..
,,*
l ci :---g
I P
Jk
dt
_ (,
'<
1
(6.361,.
CT'-T;)
(6.37)
-.
algebraic);: .Slnestherk
is no general theory for the
;
solution of such equations, digital computer simulation is used widely to study
the dynamics of:,chemical processing systems,'
Computer simulation is nothing
:
;,
else but the numerical sofution.of the 'eq&ations describing the behavior of a
L
*
process.
Linearization is the approtimation of a nonlinear model by a linear
one
::
Taylor se&8
only first order terms, while second and higher order terms areineglected.
,: -i$,
:"
j:
The lineaiized model provides very 'good',~Bprol;tnate'de~.~ripsidn of a ,process
only near the point of linearization.
':
For process control purposes the steady sta& operation of,, &stem
taken as the point
of. linearization.
.9
the-jatroductionbf
the
I
' deviation variables
ii whose values indicate how much a system is removed from
the desired steady state operation. The deviation variables are very useful
L
,
This
is
allows
.i,
"
?I
i
I
.
.,,
f
.I
.
,..
.A . , ii ; _ ,._
,)
.-_
;?
,I
:;.::
3.
methods.
4.
4.
5.
5.
What
relative
Do the bame
substitution
advantages
and
and
What are
disadvantages?
is
linearization,?
i
Why are.the linearized, ap&%imate
purposes?
I*/
models
useful
:
for
process
control
6.
When is the linearized model more accurate, near or far from the point.
1
of linearization, and ,.. why?
7.
8.
Which linearieation
Which
linearieation iris mote
rnoi~~ uskful,
useful, the
the one
one around
erouad the
the point
point AA or
arc the,
the,
.
.
one around,'the
one
around,'the point
point B,
B, and
and why?
why? (See
(See Figure
Figure
9.
6.4-1).
What are the deviation variables? What is the point of linearization 'r
in order
order to
to define
define the
the deviation
deviation variables
variables that
that will
wiil bebe useful for
for
process
10.
control
purposes?
,.
.,
,*
Show that
Show
that we
we should
should rekearize
relinearize the
the
ssteady
t a t e .
.
.-
11.
The
following
differential
equations
provide
the
mathematical
models
+Apx -
Process II:
adxl
I bl-z-+ b2
1
dxl + x
Process III: al=
1
w*
lot
'1.
dx,
+'5
'
.'
ml(t) t,d;(t)
//,!.
B-
1
4
< ,
5,
CH,APT?ER
,;: *I
7'
l.
? *it
LAPLACE
TRANSFORMS
,,:; I
The use of L&place transforms offers a very simple and elegant method to
I, & i '
solve the linear ar linearized differential equations.which ,#* result from the
; ,\S , .j,
mathematical modeling of .chemical processes.
:",
:. j
'
6
::,
The T,aplaee : transforms
), i"
<
.*, also allow;
::
1
~
.
I
various
external.influences.
,ld
i. '...
.,
!&.i
It is for all,',the
OF THE LAPLACETRANSFQRM
.,
;, ;
tr&or?n"
?(S)
.I.;o
I
Ranarks:
,:
?,
"
.
:d'
transform is given
"7: r
by eqn. (7.la).
T
-
T(e)
li
E-dd
T-m E'
Y$;t
..
"'
(7.fa)
"f(t)e
.L
(7.1)
/>i
I,
&[f(t)]
the function
;. 8
f(tl,e-st'&
m'
?(s):of
'3
and defined for
/<
transformatiun
From
the
dafini&n:
(i;
i)
zr
&:
@.
18j
i $8
&i& tfiihfi$he
:, .
&aplscy
~r~aaf~~m~~f
tde$&&
. .
6
: 1 t *j
C o n s i d e r t h e f u n c t i o n f ( t ) -: eat w h e r e ~0. % .
., : . ^
.,>,
1. .
i;.,:
men,*.
I1
*
.:
*I.
.,
_) :r,e(a-s)t
dt
!
[eat]
o eatemst.dt s
~ (7. 2);.
IJ=
:.,
.G
f-%i
i&g& i n ( 7 . 2 ) ,?.
.
becomes unbounded.
,;
trax$fdrmation
is a linear operation, i.e.
$,l 7.
_.
:,
[alfl(t) +
a2f2(t)J - ,ala,-*Ifl(t)j +
a2 [f,(t)]
.>
w h e r e a% _.a& a2
straightfoeard,
&
are con*tant
i.e,,,.
;
I
3.: ::
;
.&~jL&
.,
(7.3)
:*
param,eters ? <me p r o o f i s
,j
*.
-.
:
.,:. 1 _
- ,a:.;.
&
..:A$
If,(t)
Note:
.This
I.
that
conventioii.'will,be used
II: throughout this text. *
"
OF_! I f@4E
BASIC F&CTIONS "
6.'
.q ,
now apply the Laplace transformation on some basic-.&ncfions
US
that we
Exponential Function : I
..',>
%, .1
This function is' def$ned as! ,_
,. . . .
-at ' foi
t?Q
f(t) =.
-. e,.
-'
,.'? I
/ ~.
&
(7.5)
o--CL
,..
..
B.
Then
functian'is defined
S?
f(t) = at
for
as:
tzo
'
with a - ,-constant.
_., . .
Pro0 f :
;
&c[at]
&=-St
dt
;,
.*
.
0
.
: a.,
i .
, P ._ 0 TJ
.:
$&(ut)
we take :
.,
.-
Then,
_(.
.,y.;
.i7,7)
Proof:
--
-*:
-.
.I-;
:.
r,
^
.:
f.,
,.
:
i
>
Note:
s2+42
:_
.1
.j
<,
:
,^ p) L.
ri
:.:.,.
;~
.i
-.:
,,I
gtep,Functi,on,
(Figure7.lb)
for
A
-0
,]
00
tco
for
transform is
i
d[step f u n c t i o n o f s i e e A ] = As
(7.9)
L ,.
,
.y,
.9
Proof:
*
1
a.
We notice, that a.:discontinuitv in the value of- the function exists at
t=O, such that f (t=O) is undefined.
The definition of Laplace transform
1i
.:
4
from eqn. (7 .l) requires the knowledgeef
the function at t=O. *The drawback
is overcome if we consider the mere precisa ,mathematical definition of the
_
Laplace transformation from eqn. (71I.a)
(7.la)
T
&f(t)]
,,lsl;;,
&I Ic
T-MO
II.
&e-St&
f(t)e-stdt
(.
i.e. aa very
i.e.
very small
small but
but finite
finite positive time, instead of.
of. t&O,
t&O,
E.
Translated
li
.:
Hince,
.h
Functions
advanced
b y to
The
+ to) =
curve in
Fig. .;7.2c
t
L e t
= f(t
f(t)
curve in
F i g . 7.2a
- to)
c u r v e
Fi;g. 7,2b
S!Z[f(t)]
= f(s)
)- be -the Laplace
i n
. .
.
$[f ;t
- toI1
e-sto
I!(s)
:.
,;
(7110)
.-_
and
.
$.[f(t + t )]
0
esto
T(s)
(7 .ll)
_.
Proof:
-a0
-SWto)
-f (t - to)emst .dt .f e.
. <;f(t.- to).e
, , : d(t- to)
I
r
.s?
0
.; . .O rs
L ,..I
I
_ , _ i
::.
S i n c e d t = d ( t - to). L e t ty to=ri t h e n
I
,.,
., . ;;.r:.
* ,,
c
j
,,$[f(t - to) ] =
-st
OD
-s(t-.to)
: ., ., . ?qt*., Q)
. / _ ~: ;,.
d(tL t ) * e ._
f(r)e-* dr
I i~.
0.
;toI
I:
-.,
,
:
1
z
*
-St0 *
4
f(T)
$-ST
dT,. 6: e ,o ?(s) ! : 1.4 ,(
- e
.
.
I ,
.
1
0 I
f(t=to)e
I
0
Notice that in the last. equality,we rep$aced tha lower., bound -to wPthv ,O.. (*
This will not change the value ,of the.Jntagra&
1
i.!
.,
: %
I
>
Example 7;l
1 4,:.
:;. -1
(4.7)
t,
is the temperature of the liquid flowing out of the pipe and Tin
is .the temperature of the fluid flowing .in the pipe. The temperature of the
outlet is equal to the temperature of the inlet butdelayed by td .where
td
is the dead-time (transportation lag), i.e. the time required for a change in
the inlet to reach the outlet of the pipe.
I f
,?&Tin( t ) ]
- Tin(s)
J.
Tout(k)
= dfl[Tout(t)] - ,$%in(t
- td)] - e
-st
d f,,(S). .
,:
F.
Unit
Pulse
Function
/
i
.
Consider the. function shown in Figure 7,3a., The height is l/A and the
i .
,:
?
s
,:
I
is
width A. Thus, the area under the curve,
1
:>
/
if,
.,
area
1
X
i. _
This function is called unit pulse function of duration A and. 58 defined by:
0
rl
ii(t)
l/A
,/I
o
s -f
f o r
i .
for
t<O
1
&ct<A
; .
t>A
0,
*
1: 0 +/
1
,
.* :
It can also be described as the difference of two step functions of equal size
r..;
The first step fuktion occurs at time j t=O whiie the second is delayed
,t
_ .;
by A units of time. Thus, if
1
I.
first
l/A.
step
function:
,
t<o
f,(t)
{l;A
then,
6A(t) - unit pulse of duration A = f l( t) -- f,(t)
3
T h e Laplace
,-f.(t)
f.6A)
&s,(t)]
- GSA
a
(7.12)
i
Proof:
;ei$(t) 1
G;
&fl(t)
fl(tiA)]
.~,
_
I 3: I ;
Consider that the duratidn A of a unit pulse function& allowed t o
, *.
i.
.;
,r)
slirink, approaching z e r o , w h i l e t h e heiiht l / A .~ appr&ches i n f i n i t y . T h e
4:
area under the:curve remains always
,
A
+I
I
I
,,;
L/
/ .
,
As A+0 we take the function shown in Figure7.jb. This function is called.
i!
1
i
I~!L~,-Q!!~)~I~~
or I).Lrnc function and it Is usually represented hy
a(t)
i-
defined as equal to zero for all times except for t=O. Since the area under
).
;;-,
Ij, c .!
. _,iI
:
l.hc unit pulse remains equal to 1, i t in c l e a r tl& tlih ia true for the unit
.) :
,- ; !,.
.-I
r.,
impulse, i.e. L
m
G(t)dt
-cn
The Laplace
;erw1
transform
-
Proof:
Since a(t) - lim SAft) ,
Ad-l
Using L'Hospital's
iule
have p&en
b,.
>;
-: _:
. .,
"
function
have
k,s"
+ k*ls m-l
8, i.e.,:
** + kls + ko "
'!
I
*. ,.
%.'
g,:'
)<
5
Example 7.2
91w
8
= 42(s)
8 2 + to2
13th
w-?-y
q&ii)
- i4t 0
-
&". s&Q
s+a
q.2
~~~,.
(s+a)2 + w2,
* .
;
:
.I
.
./
-,,.i :j x
2:
2
,'
with Q,(S)
:
8 9.(ig~ ,-r- tlJ2):
"FZ'"-, 88 1.9~
-7 +- 2a
-J.- _ = i-s + a a&I~.. i:a,f85
?(s.): -
.'
( 7 . 16)
'.i
,.
* From eqns. (?.14j.
-- .(7.15) and*$7.161
-, k~&tr
~_ ----ce that in orde?.to ffnd the
I
Laplace transform of any derivative,,w$
n&$d,to have a number of initial con.,.~
ditions,
initial
transform of an n-th,order
de?ivative
we need n
** ) f("--l)(O)
.
l
7.4 LAPLACE
TRANSFORMS OF INTEGRALS
t
Pi f(t)dt]
(7.17)
"
where.
-.
%3>
&[f(tIl
.!'
Proof:
,.,
?,I
and
dv
Now
t
J
0
,J
0
f(t)dt]e-*tdt
i -~-$
7.5
THE
FINAL-VALUE
THEOREM
t--
where
s+o
'
I .
':,
:.L
.,
,...5;;
(7.18)
Proof:
Using the. Laplace
(7.14)) I"
lim
S-+O
.-:
5,
01 "
@&$ e-" dt - lim [s?(s) - f(O)]
8.
s-a
+
!,
cost dt
1
- lim [s?(s) -,f(O)I
P;
Example 7.3
s+l
s(s-l)(sf2)(
the final-value theorem we heve.
Let Z(s) =
limf(t)
t-
= Mm [ST(s)1
S+O
= lim
S-+O
i
:s+j.
4 lim 8
s(s-l)(s+2)(s+&q
t
s+o
84-1
c s-l)(s+2)(s+3)
:*
The final-value theorem allows.us
approaches
as
A note is in order.
'_
&
~
'
,
(
;
'
~
.
,
'
:
,
.
\
.
,
1
:=
i
!:
.
to compute the value
.
_
that a function
lim f(t)
t-
_,_.
transform is known.
The final-va$e
a..
is bounded. Therefore,
pi_
! lim [sF(s>l
s-m
.:
the
limit
~
$
.,
must be bounded.
Z(B)
'( .I
,THJOR@'l
=.
E(t)e-=dt
r- - ( )*? > _,
o";
: ^
Example
theoreti,.
'
/^
1: :
,;r
.-,,
.I
;,
:*s,
;:*i
7.4
,*;.'
:..
.;
.,_
1;
&I. ._ ;
,.
Let Z(s)
b
we have,
lim f(t) - lim [s?(s)] - lim
t-a
e-gao
)'
1 =
m lim L + -2s + lo
s2 - 8 - 12J
Se
~ L
-:
l.+
--___ llm -2s + lo
S-+-B
=i- -_
-s-I2
f(t) and"
l i m
Es+-
[s?(s)]
mtlst be bounded ,
:
.__
*,
SUMMARY
;JI- , ;i i. .Y?, 7 +a
*I
The Laplace transform
The
transform of
of aa function
function f(t)
f(t) ,-defined,
,-defin&,by
eqn;,~.:~(!.l),
by eqn;,t,
,(T. 1) , isis aa
,.
linear transformation of a function from thetime domain to the s domain
* ,:.
where 8 is a complex variable.
..
This .imRortant
.
The final and initial-value theorems,:will be employed in,order to compute
<,
7 *
I 1
the unknown final or initial value of the function f(tj,when Its L&lace
transform T(s) is known.
If T,(s) - ;Il'[fl(t)]
[fl(t)f2(t)]
and z,(s)'*
i<[f,(t)]
tllt2 .tUtIC!EiOlI
2.
l)OeS
3.
fl
= ;--i
possess a Laplace
transform?
5 cos(4t) f
e+ I- 5t?
4.
.
asint '+ belCt
gt>
a+b
'
Using
Euler's
cosa
identity
~'
-'.ms
,',
'.
,
1
.'
e j "+e -ja
2
show that
[cos(wt)]
s2 + u2
*
:
6.
Show that
$?Qf(t
where
?(s)
7.
= iAf(t) 1
transform of a derivative,
df(t)
dt d-" dt - s?(s) - f(O)
% ,.
/,,
,i :. !,8
x
. ,, <.
3ter>
_
,
/! WI
, I La.-.-J, ,.- 7 1
6)
II
Tnb-le
Time Futiktion ftz0)
7.1. Laplace
Laplace
Unit Step
Ramp, f(t) = 1
n.!
xi
a
I I
I
~ TabLe
Time Function (tz0)
Lapldce
7.1 (continued)
Transform
8
2 -U2,
s
cosh(wt)
.*
:. . . .
~.
'.'
t
"-I,
I-
._A
Table
Time Fynction
eaatsin(wtI
(tz0)
Laplace
7.1
(continued)
Transform
I CHAPTER 8
,a.,
SOLUTION
OF
LINEAR
DIFFERENTIAL
,;
USING LAPiACE
,
_ j.
EQUATIONS
k
1.
TRANSFORMS
1.
'
of findiflg;$he comple-
'
_*
.* ,.,j- / .:
+ aT- $ Ti + ,,iT* > j,
(5.1)
I
.
?,
Equation (5.1) can be expressed in terms of deviation vkri+bl&,
""
j.
:: ',,!" 1
.p
.* ,!
<
'
dT'
;'
+ ,aT' =' 5 T'i' + '^ KT'
(5.3)
dt
,I: ,"%
' 1:
',7 *i.. ,". ,'
: .,;
where
<; .
_.,j
T' - T - T(s) , T; = Ti - Tiis) , T; '= Ts - Ts'(s) *
I.
$f
r
at steady state: i.e. T'(O) - b.,
'
At &O, the temperature of the inlet'stream increases by a step of 10F from
.I
its steady state value and remains at this new level. Thus, T'(t) = 10F for
,~ L
',
T
I
/
t>o.
The temperature of the h~uibin
tile tank will start increasing and we
'
or. ,
T;(s) -- 0.
0.
T;(s)
:
-1
i
,.
ii
,,
. . . .. \
(8.2)
(8.2)
.-. -
trap@&%
transgorm
is+: given
given by the. right hs,pd<;ride
ha,nd<;ride
i: ll. 19:
It
,is
easy to
tijr
~hhowthat,
~hhokqxthat,
SC
: 1 .:, ,,
..
T(s) - + : -& ? +y I s [$ - AL]
; : ,b ,
( 8 . 3 )
.I
*.
I,; _
From T a b l e.:. 7.1.,we
find,easily
that;:
:
.
/I
/ .;.a
: r .
* ,+
d,
I
.,
- ,the function Cith Laplaca transform IIs 1s. a unit. st+ function, and
. . .e,* .,
:
i
.,:$
.$
- the function. with Laplace; traneform-l/,(e+a) is e-at .
.
.I
Therefore, from eqn. (8.3) we find,
;
. /
T ( t ) - g ( 1 - eeat)
(8.4)
_ i
,
T(t) given by eqn. (8.4) is the solution to our Initial dlfferentlal eqn.
(i.3) . , Indeed, taking the Laplace
of eqn. .(8.4),
.- ~it ~l.yields eqn, (8.3j. i$e
<
procedure by. wh%ch we find the time function when its, Laplace transform is
I
.
known is called Inverse Laplace Transformation and is the most critical step
,s*.
-I1,
.
/
while solving linear differential equations using Laplace transforms. To
h
*
.
giucn ~Fffr
.tlW tllf-
:.
. Find
the ,t+me function.
#$ch bs ,& $ts *place
Lap&ace trstis*orm,
tr&Morm, the. right
* : :
I
side.
side
instep It,? *is
This functiqn is the
.;
,s, 8of
i ,tBe,,~quat~on~Rb,taiqed,,
: hand
_.
. .
desired solution, since
it satisfies .&he differ&tiat equatlan and the
I
6
in&tier1 conditions.
Step C is the
tedious,, .Ghm Q general expression l$.ke,
~ most
j_
(.
(s2 + als, + bl)-te + cl)
Z(s)
/ ,i;s(s3 t a2s, bss + c2)
it is not obvious at all what is the function jt( t) whi-ch has the above; I
i
Laplace transform. : In Section 8.4we
8.2we .wcill
.wcili study a particular ðodo$gy for
the inversion of Laplace transforms by .P,art&a$.-Fractions &pa&on: *. *
0:
/ ?
I
I
8.2 INVEIiiON
8.2
INVEIiiON OF
OF LA&ACE
LA&ACE TRANSFORMS.
TBANSFOEMS.
mw1~1m3 EEPAEsIoN
: i < i:,,
,.
;
:
,
.
As it was pointed out above, the critical point in finding the
/ y;solution
Q, .:
$
to a differential equation. using Laplace transforms is the inversion ofthe
w
Laplace
transforms.
:.
1
,
where m<n.
90
P(s)
.t
+ 0.0 +
cn
rJa)
.)
(8.6)
where
c.
function
Then;
.the
: ,
r
.,,,,
wh.ere
z1
k-l@$j
X~[~~
ii*-+,,
&.?j]
f.
symbolizes the inverse L&lace transfcirm of the expression within
the brackets.
! ,.
* -$.I 1
1
When Z(s) is given as the ratio of two polynomials (eqn. (8.&) its
, ..:, ,. .
expansion into a series of fractions is governed by the form and the roots of
: .
h
the polynomial in the denominator P(s), In general we will distinguish two
i
j. .!
_ ,
cases;
i /
. i : . ?,
- polynomial P(s) has n distinct (all different) roots, realorcomplex, or
,: -_
- polynomial P(s) has multiple roots :
.I
.I
We will examine each case separately using characte&tic examples:
.
r
:
I_
j
-4
-*
i
..!, I ,
,.
given by
(8.7)
P(s) in- s3
2s2
a n d h a s t&se r o o t s ,
Pl ; 1
- ,s -t 2
:..
,
*and . . pj
*P,y* = - 1
&.:
Therefort%;
P(s)
m ..s 3,-2sL,- s+ 2
where $9 cp GJ
x(t)
Clelt
,:
I .il ,.I I
d-l&
and using Table 7 .l we find that
C2ew1yt
-1 5
9-2
C3e2*t
in (8:7).
Let us see now how we can compute the constants Cl, C2, C3.
.,
L,
(8.10)
" qs-1)
c1+-+
SC1
i
(8.11)
s-2
Equation (8.11) holds for all values of .s:: Set s - 1 - 0, i.e. s=l.
.i
The hast two terms in. the rip[ht ha& side of (8.10) become zero and.
we take,
;'.
- Compute C2:
9
)i.@!-D
(8
Set
- Compute C3:
0,
i.e.
-1,
.,,
by (.&2);:,";
_I
'*
l ,. i
,.
i , :, s
4 "
,I.
, f
II.
P(s)-'
Consider
..
I
the
Z(s)
The
following
polynomial
Laplace'transform
'
- -s-i-1
- - S2 -2s+5
P(s) is of secondorder,and
which s
,'
.,
not real (as in the previous case) but complex conjug!ates, i,e.
ri
! , 'g
and
P2 - 1 - 23,
p1 -l-t 2j
: <'
Therefore, _I
','
x(t)
of Table:7.1
c .(1+2j)t
1
,cl
,s+l
5
= [s-(1+2j)].~.s-(b-2j~] - s-(1+23) +8_(l_zj),@*12)
'.,?
C2e
we find '. +I
'
i'
I.
'(l-2j)t
C2 *are qnputed-as
(8.13)
fn Case I. :
(s-(1+2j)],
(s+l)[a - (1 : a.
La-h-c+-r-psfl[s'z 2j)]' - c1 '+
03 Es
-.(I + WI,
8 - (1 -;,2j)
i
,.
-.
Set [s - (1 + 2j)J = 0, i.e. s - 1 f 2j and take,
.
9
cl
- Compute C2:
.' ,
"
"'
. */
'/
A$i
and C2
&re
P u t t h e v a l u e s o f C l a n d C2 i n ( 8 . 1 3 ) a n d f i n
. d:
,i
1
x(t)
l-+
.
,(1+2j)t
,a
,&2j.)t.
: j
,, *
or
&entity
cosa
<
:ri
,-,
&I $1
;.
(8
,.
joina
(8.15)
Then we have:
e 2jt
= cos(2t)
.P .
J
jsin(25)
,.
*::
pd
! ,<.
Lt
.-2jt
h
-AL.
!
r e p l a c e eLJr byti leir .squal: f$bmth& above eq&~tions! a&$
8
t *_
:,
:p.
: .?
.,I
.
, . .I
ig
I n e q n . (8.14),
take,
x(t)
,:
or
\
*
g {(l-j) [coi3(;2t) lY .jsin(tLt) ]?+ (l+j) &as(&) ?.: &&(2t)
J*
1,)
L
:
-.Is
-5 ~5. 1,
_rl
.
:b
.
1
:
x(t)
et[ooi(2t>
sin(2t)
-,
,.
.,
i
:.
a2sinb
a3
2
2
r
al + a 2
.=
A p p l y ( 8 . 1 7 ) t o e q n . (8,.16).
x(tj
Ahere
:. $I
and.
(8.17)
-.
+ I$) j
:. :
tan-l(al/a2)
*<-,,
._ ,,
\. ;
and find :
Pt. &*sin(JZt
4 = tan-(l/l) = 45.
. .:, :;i
,
I
(8.16)
,
.>
egcrlo(b+~)
*
;y
., .
-..
-..
,* .I,
i'
Remark: yhenever the polynomial P(s)-has complex roots:
---YI
I
"(1).
they'will be always in'complex pairs, _r
.*',,
I)
(2) the coefficients of the cirresponding
terms in the partial
"T
fractions e&pansion will also be complex conjugates of each
:. . : ; )
.:
I
other, and
(3) they will give rise'to
III.
a:p&iodic
Multiple,Roots
h'
,I
,t-,;,
.-p
c;
z4,-1
C3
'C3
2 -t
= Tte
8. '
,
* .&w3 I, . . i. r.
:.
(s+l,j 2
_
Consequently, the inveroe Laplace tranlfosm 03 ' (8.19) ir easily foutid tq trek'
x(t)
- Clewt
C2teWt
+ C2tP
and
: cg ,.g I,
+ 2 -t e
+.*,' p i .
.+
(8.20)
Let us see then how can we compute the constants Cl, C2,1 C3*. and Ci.'
- Compute CA:
can be
both sides
computed using the procedure,described
earlier. Thus, :raultiply
.i
- Z.' *
of (8.19) by (s+Z) and they set sS2 - 0, i.e. s - -2 and find:
c4 = -1
- Compute C3:
.._
.'
.l
-'
s+2
- C1(s+l)L
+ C2(sfl)
(8.21)
+* c3 + -*+2
I.
i
Set (s+I)~ - 0, i.e. B m -1 and f&d
;i
.cgi'-l'
.,
:n
:, '/ i
i
: . :*$',
- Compute C2: The familiar procedure used ibove cbnnot
-employed for the
L..; ,) be
i
" :
n
computation of C2.
Thus, if we multiply ,both sides of (8,19) by (~+l)~
'/
',!
we take,
iG
(s+&s+3)
Then,
e,(s+l)
ci
C3
+;(
i Cq(s+l)
+; --GE-
setting
- Compute Cl:
lita@,
I:,2
Cl
3'
(e+2)3
.'
Set 8 - -li"and
i
.I
'_
..a
-3
.-
-1,
find
:' :
):i
",,'.,
9
,"..
: /> '
,\
,;
: :
.
'.:.
.( .,
~:'Substitute ihe values of Cl, Cp*,C3t and Ch in (g.20) knd find
,._
i.
'I/
,i
Ii
T .:
Remai k:
x(t)
If the polyiomial
.
P(s) has multiple roots, then the denominator
htne-at1
nln+l
,(gcg),
.,..
,,
, ,
./
Therefore the terms of the 4bove expansion lead .to..the following inverse Laplace
transform:
cm-1
m
&l
p.t
T3
,2
:
-F .yt + 21 t .+ a*. +*ft m - 2 +c (m-l)t: t
ei
[.
I
,:1
I.
The constant Ck can be computed:*in bhe usual manner by multiplying both
,
sides of the expansion .~ith (t 2 pi)m.-Yand setting saXY-, pi. I The ,,,remaining
,.
constants Cm-l l
**,C2,Cl are computedby su&ssivedifferentiations~of the
I,
j,
equation resulting from the amltip&a&n .of :tRe expacl-;aionl by (8 - pi)m.
< .
* Cl
or of, a system of
linear differential ,,equations ; twill f aU,Qw j the same general p&tern outlilned in
the two examples.
differential equ?tion
,r,
d2*
a2
dx
al dt
+&
conditions
x(O)
.!
:_
aox
(&o.
- >sx(O)
or
f(t)
(8.23)
,;
I
* :.
to be in the form of B deviation &iabale iith
:
**
:. >
-
.-,
.! ,b
,
/ I
&
if
..
_.
i:,
,I
; .j,;, ; j
:2J
I,
: .:
i
The polynomial
gtving *
.,
.-I
( iii 25)
< : : y -:
r
(,
L/s
e q n . ( 8 . 2 5 ) becomag.f,t
S(s)
- (2)
+ a ,.-_[d(e)
-0 i(O)] +ap - f ( s )
dt ]F-O
1
Z(s)
,!(8.24)
:.::
1
2
e(apeJ., +
;.
-[..,
,
a&.y.ao)
is
:;
-.\
,._
,, ::
I.
* r
.,,
<
:..
~,
,(&&)
,:.L< ; s.*
:
;
i
i
,*
of ,.the
, .'. constants a2, a 1' and ao we can distinguish three cases:
.'. .;'
T
...f',
::
Case.1: .;a2 - 4a2ao * 0. Then, we have two distinct real roots,
.! I"
e.g., 'let a1,:,y,4, a2 - 1, a, - 3 then ai ; 4a2ao *'. 16 -1294>0
.,
%
_., ,_ ,: L,
sl =, -1 and.:: s2:'= '-3.
..
1
s(a2s2
"
+ als + a,)
*(is2
1
-I-
48
i.
I
'Z;.
3) &. s(s+3)(8+1)
Multi&
-l/G
I:,
Cl
a.4 -3.
,
C3
s+l
(8.27)
..-
Find
*
e2
- -ii- +s+3+
..a:
Multiply
c2
and
Multiply
Case2:
(8.27) by'
a:- 4a2ao - 0.
S1
T2
$hen, we,have
-al/2a2
".l
.,.1
.)
Let al - 2, a2 ~'1, a0 - 1. a: - 4a2ao - 4 - 4*1*1 - 0
2,'
','
s1 - s2 - -1
*
1
0'
s(a2s2 + al8 + ao)
Multiply
(8.28)
by
s and
'-..
1
s(s2 + 28 f 1)
s(s+1)2
set
~0.
:
1 '" '.
.,
V;%;
C3
4*+$
8 83-1
(8.?28)
,,.
Find
c
'.
Differentiate
(8.29)'with
respect
to
.s
T'
'
.
'I :
.'. I_
c2
2
Case3: al4a2ao <
Let a, - 2, a3 = 1, a, * 2, a? -$ b&a- - 4
roots
are:
$2 ,$a,
c3
*-+-----+-(8.m)
s - k$U
s - +J.
3.
I, ._
.'
t
,.>A.
r
,v
, -.
_p
Multiply (8.30) by s, set s-O, and find,
:. "2..
L i:
112
c1
b
1'
and find,
2(-1+j)
(-l-j)(-1+j;
Multiply
-l+j
t
c.3'
#ii
2
-1+j
2(-lrj) ,I)
(-1+j)(-l-j)
_)
L t_- _
-q 1; ,1
EYIs- + . (-1+i)
z$
. . . + (-.w,i-l
-- k _ _ -yl
e 4: y-l 1
.
,;, ? i
or
x(t)
-I'
Consequently,
1.
x(t)
- c -l-j
Recall &k?i-ls;idemity'
d ,..a *. _L
.+
(-,,j)e*yw3G
-'a-.
if
- _.
+,~~,,(,l-j)e;l/z(ll'j)~.
s1 ty<,I
,
(8.31)
ta*-l(i/1)
tan-l(l):
ii:50
:,i
*
The use of Laplace
differential
It
for
differential equations;
.I
allXl
a.21Xf
.+
- bllfl(t)
with initial conditions xl(O) - ~~(0) IL: 0. Taking the Laplace transforms of
., ,
.,
the above equations and after appropriate grouping- we find,
,
(8 - a lp$f) - l+$()
bllW
+
b&(s):
i,;,
-ia21Gl(s)
(8
T i
The last two equations,for a set of two linear a,lgebtaie eq&&$ns~~~th ?l(s)
.
.
e
J
and Z2( 8) as the two unknown variables, and can, be solved easily using, for
4
I
.<
,>
.
example, Cramer 8 rule. 1Thus; we find:
j-p) -
&f1(8) + b12~2(e)~4
(8.35)
(8.36)
:f
&
Example
dxl
dt=
dx2
dt
2xl
+ rx,
2xl
-t
x2
with
et
Xl(O)
Using Cramer"s
with
I
s'
I.
-z&
:'
_';
.'
-,
: : " & _( .
or
:,
+)
3
s'fs+l
s(s-l)(s-4)(s+l)
9,
/
:':. .and s2(s). i -..,; s: r.2,
s(s-l)(s-4)(s+l)
,
1,
'
d
i .~
r ;
:.;'
)I
"~2'-i
2 . '. Dl ,D2
Tz2w =
1
' s(s-l)(s-4)(s+l) -,7,+x +tsi4
<,
:'.
*.
:':+
,.1 :.
..L
/'
Taking
the
SUMMARY
AND
inverses
we
finally
have:,
i"..).
I::
.:
:,.;r
;'
41
CONCLUDING RRMARKS
.
\ !. " : :, ;.f; a . '\ s,__ ,:t+,< , ,>:
In the previous sections it was 'shown that
the golution of lineqr dif.
* ,t
, .I :;,.,:.'.
'
,problem
ferential equations (single or syeti?Ofj 'be&omes ~"sii&le'ilg$braic
follows:'
transforms are used. The propedure
.p.b ; @,as
i
,'~- ,.
.", #
- Take the Laplace transforms ofkboth &ides of' the diffj3rentia$~,9
e$uations.
/"
:,' ,-yi i .; ., I ,
3'
s
',.
,.s.
7 I: ,_
,'
- Solve for the Laplace transforms'ofjthe, tinknown fun<tions <lon%<:I' left hand
8.
!
*/
'when Laplace
tr+nsfo?m'of
.;.
/
I
,APPENDIXg.A,,~LDTIQN
+,' I '"5. 9.:" , ,. ,..<:.
*
EJQIJATION
..:
yetOF ) {AN" n~th~XR.LINEAR
J, r ,., i . '
8,. DIFFERENTIAL
'I,3 '";"-:: "'7 /!"I . , . , d:~;~,~'~'
equation, .
Consider the following,n-th
order,
.c* / lineardifferential
'b
1
,,
:.i .,r,'.
: s,i'
,
r
'n-l
Y
"
& +, a
.d
(8A.l)
+ ,.aox , L'.gi '1,:'.f&):*'
n-l',dt~~l,~
: 'n dt"
(i
:/
._
_ :. _
with the following initial conditions:
'$3.'.
'
8
. ;
~(0)
ko, (dxj
dt tm() t' kl'
:., c \*,
-:.
*
where
the initial
conditions
/
rearrangements find,. ,
r ",
+* i
(8A.2)
;: _I
.'
'<
transforms of both sides of (&A,l)'using
,).
,!
I"i
L_
ansn + an-s'
.i
i< '&
:.
.,ii
I '
.i
',
ty i LI
'Z
b n-l =ak
b
'
=
a,kl
+
an$ko,***,
n 0 ' n-2
I,
I _.
.
:
/
.;
bl*ankn.2+8
-',a n k n-l. -t-an-lkn,+~**+alko
.
'
.
: .::1:
:'.
_('
,,> '7 i * .': ').f '* : A , _ ii! : : .; j * ,
il.
s ", , . .
Define the ch&&ze&t& polynomial,for eqn. (BA.l)"as follows; ,<L :f 'd
..
..I?
k.:
J )I\.
: .;
I!
:a! I) ;I.) / / ,$ . i
,;,c
,$
,.:
-'
I!
.+
:i
I *i'
: *>
!'*
'*.,.
1,
.I
.
x(t)
.
I,
x2(t)
q*]~:
":..
;__
i' ,.
b.
,'
1=
a-Q&]
;.
,.
.*:
I,
.-:,
. 2
is the particular solution and -depends % the f&m of the ,fcrcihg function
j -!
J_
b:
f(t).
,
_I
I .-
-, . .i
For process control, purposes,~ the:&yn&mics of a ptocess are ,~described in
:*
terms of ,deviation variables. , ,In such case, if the system is initially~.at<,
1(
~ .,r
;
.;
steady state, then
.F ..
, ;
k. t= kl -
p
(*. k-i :i, 0
1,:
,~
i
?
,i....
.
C
*
,
.
# .A
,
z..
I
:.{~li.
*.
.
I,
.and the solution to the n-th order eqtiatioq, is given by the particular solution
;. __t.,. * .;.*.i.A
,
ji
..,_/.. .: j
only* I :Y i
4
.;
:
I
/
If any of the roots of P*(a) isOlocated to ther#jht of%& inagi&ry
1
I
1
:.
,,;
axis; the system desciibed by (8A.l) is unstable. In order tobe stable all
l
roots of the characteristic polynomial.. i.P*(s) should -lie i to the left of the
/.ii
I .- .
:
.
imaginary axis.
.I,
,
.r
,. I.i
:
I&
/
.t.
\
.,
A*
.
,,:.
i
k1.r:
:. :
,
I
.a.
,
L.
,:q
_,
,.
.r
.: .; +,
4
:
.. f,
-,
,
.
:,
...
I
.L
. . .. J,
, A,
APPENDIX8,.B4'HE. I SOLUTION
EG UATIONS
,-,
; .- OF A GENERAL SYSTEM OF,LINEAR . DIFFERENTIAL
I
equations:
Consider the following system of n linear differential
: .'
dX1 - allxl + al2x2 +
dt
i
'i
~,
i...,.!
L,
:.iv
i '
dki
--$,= a2lxl -I- a22x2 +
5
'
** + alnxn + bllfl(t) +
1. ,
** ,f a2nXn
** + blmfm(t)
.
_ ,
y;
v
f bqlflW + *;~
+:b2nfm(t)
. . . . . . .
: v
! :/ :
dxn
+ bnmfm(t)
x + a22x2 + ** f a2nxn + b,lfl(t) + : '0.
-qTa
<,l
8
'. 1.
;, : ! ' !- j
'A
:5,,
A
I" \ t
,;*
I 1'
with initial conditions xl(G), - ~~(0) - ** I x,(O) - 0. In matrix: form the
* .j
I/
j.
).
, ',
" '; I a
above. equations yield,,.
.'i '
'fl.
; , *i 1 .,t. .:~, .> 711
:-,.,
/
,'," .
.
,
.&B::
1
di I"
:
(8B.l)
,dt - & + j, Bf ..
.
3
//
where:
.
Or
gs)
where: II =
[1
111. O
0
1
(8B.2)
s/,
transforms
- ~-lr.(sJ
- g-l g(B)]
transform we have,
(8~~3)
P
,
where adj($)x
:,
.i
,(!!I
ir.
,.+
,j
,?
.!
k.
;I:
ftactidns expansion.
,
P*;s) = 1s: - 4ii - sn + C& G-l
,..
+.;;Yp+
...
The polpnomfal
c,B
cp
- AZ),
?,
1 (I.(
are called the characteristic values or+ eigenvalues ofi.,tI$ aiatrk ,of :
1. : -,,{&i
:, ,;
I
! id
coefficients &, which characterises the homogeneous iystkaf
e&+ohs.
,.
The eigdnvalues
&
< /
$t) *
:t PA
.$
: 2 :
,..:
.,l
I,
,:
1 ;,
!
:
L
:1
*a the adjoint of m&+x S~U- (isee Appendix B)r: ,Thctefore, eqn. j
i8~.3),~g~es,.,
:*
,>
.
(,
,I
..:
S.
.,
.. ..
C
I
;)
1.
*. >; : / L i.
4%
.
2.. Why
in-the roots of the charaeterlstic pol~no&~l of
. are: _/w%interested
.
an.n-th order linear differential squation, or a system of linear d.$f,I
:
f erential equations?
..
*
i
dI
3.
Ho~'doeg the prbcedure to: $&@ute othe &netants of the terms resulting
IjIj
_,:
I' $ 1
from t~epgrt!ili
t~epgre!ili fraotldns qpansibn V&y;
v&y,i in ,thQpreaence of, multiple
,. _,
%WhatL
do these eolutions mean?
1.;
;:,$. , . ,
,.,
6. / (
f
.,
,
,i. ; : $,
What fact&e deiermfne .the@
:
_
:
5.
Consider the foglowing e$st+ of aimdtaneoue
ifnear differential .
2
:
,(
equations .
:
I
dxl
dt: 811X1
:
dx2
dt .- C2Pl
:
+
I
,
a12xie
t a22x2
j-
/
with
fg(t)
f,(tj
with
,<,.I i
I l., 1 * I. ~ _
Xl(O) - ~0
x2(0)
allXl
h(t)
I
and
dx2
dx2
+
+.b2dt
bl 2
w h e r e bl, b2, b3
on f,(t), ,f2(t)
b3x3
g(t)
System
can b6 s~lv&
seauentiallv
1:,
r, !
_ ,
and thlla
mnre
ma41v'+&&++kd.
Table 8.1.
Laplace
Trans,form:
I(s)
xirn+
Function:
f(tI-J
1.
(*+a)l(B+b)
,
3
-ct
ePt
e -at
(b-a>(c-a) + (c-b)(a-b) (a-c) (b-c)
L.
s+a
(Mb) (s+c) - .
3.
a
n
(s+b)
4.
a
(s+bj3
5.
[ (a-b)dbt - (a-c)ect]
,-726T
\
at
- - -
lcbt
3 $ ,-bt
.
/_
r.
i
6.
-_
(a+b)+
7
8.
1 >
s(as + 1)
,.
i,
,$
^.,._.
..:.
j;
: :;I>
_:
_,..
a
s(as + l).*
;,
.:,
10.
12.
ekbt
>.
1 _ ply
a+t -t/a
7 -y- c. ,.
.;
2.
,;
s.
, .' -rwt
1 +?e, z;>p
9.
*2(s2
::
+ 11~0~ +, u2jl,
? 2
(l+as)(s
+w2
1
(a+a) [(sfb)2 + w2 ]
1 (1 + il"wS)
e-at
(a&j -ty w2
- ein(cJr- 4)
te
w[(a-b) +.k2]1e
w h e r e cp - taa - (--a-b.1
_.
4-d
CHAPTER 9
TRANSFER FUNCTIONS AND THE INPUT-OUTPUT MODELS
it
uses
only
algebraic
equations
analysis
of
process
(not
It
dynamics
is
and
differential
convenient
finally, it
It is simple
equations
because
is
it
meaningful
as
we
allows
because
it
9.1
variables)
THE
and
TRANSFER
Consider
the
FUNCTION
simple
order
linear
outputs
OF
(or
variables)
of
PROCESS
WITH
SINGLE
OUTPUT
system
with
single
input
processing
The
(controlled
dynamic
behavior
linearized
of
nonlinear)
the
process
differential
process.
and
is
single
described
by
an
equation;
n-l
a
&+a
n dtn
n-l
dtn-l
(9.1)
where y(t) and f(t) are the input and output of the process, respectively.
Both
are
expressed
that
the
process
output
in
is
terms
of
described
deviation
by
one
variables.
state
[Note:
variable which
We
have
coincides
assumed
with
its
variable].
2
Y(O) = (%I t=O = 84
dt2
(9.1)
m
m
we
*.
cdtn-l
tz()
t=o
n-l
d
L>
(9.2)
find,
G(s)
e
a,s" + an 1s
n-l
+ l
(9.3)
** + als + a0
G(s) is called the transfer function of the above system, and in a simple
I
I
.-
algebraic form it relates the output of a process to its input (Figure 9.lb).
I
Thediagram of Figure 9.lb is also known as the block diapram
If the process has two inputs, fl(t) and f2(t) as shown in Figure 9.2a,
then
its
dynamic
model
is
n-l
a &+a
d
y+
n-l dtn-l
n dtn
+ b2f2(t)
1
_
(9.4)
Y(s) =
ansn + a
or
n-l
n-lS
f,(s)
+ 0.0 + als + a0
+- n
ans +a
b2
n-l +***+as+a Z,(s)
n-lS
l
o
equivalently,
Y(s)
G1(s)fl(s)
G2(s>7,b)
(9.5)
with
G1(s) E
bl
ansn+a
s n-l +***+as+a
n-l
l
o
and G2(s)
b2
n-l
ansn+a
+***+as+a
n-lS
l
o
G1(s) and G2(s) are the two transfer functions which relate the output of the
process to each one of its two inputs.
first input z,(s),
and
G2(s)
These
relationships are shown by the block diagram of Figure 9.2b. A similar procedure can be applied to any system with one output and several inputs.
Figure 9.3 shows the block diagram for such a system.
Summarizing
all
the
above, we
can
define
the
transfer
function
between
Laplace
Laplace
an
hnilrk~.
(1)
The
transfer
input-output
(2)
It
function
model
describes
when
the
allows
than
that
completely
the
corresponding
the
development
discussed
dynamic
input
in
Section
behavior
Thus,
changes.
of
of
simpler
5.1.
the
for
output
particular
is
=
Y(s)
G(s)ii(s)
response
y(t)
in
transform of G(s)f(s)
the
time
domain.
first
expressed
Example
The
9.1 - The
be
in
Transfer
mathematical
model
linearized
terms
of
the
deviation
Functions
of
around
of
stirred
steady
state
and
be
variables.
Stirred
tank
Tank
heater
Heater
in
terms
of
deviation
aT'
are
t Tf
deviation
L
$+K,==
KT;
(5.3)
variables,
Fi/V
and
and
UAt
r
PP
!if(s)
KTAb)
or
(9.8)
Define
the
two
transfer
functions
Gl(4
T'(s)/T;(s)
T'(s)
G,(s)T;(s)
and
= T'(s) /F(s)
G2W
Then,
+
(9.8a)
G2(s)T;(s)
Gl(s) relates
and Figure 9.4 shows the block diagram for the tank heater.
the temperature of the liquid in the tank to that of the inlet stream, while
G2(s)
relates the temperature of the liquid in the tank to that of the steam.
Remark.
-___
Compare
the
the
more
input-output
complex
model
developed
given
in
by
Example
(9.8)
5.1
and
(eqn.
Figure
5.5
and
9.4
to
Figure
5.1).
Consider a process (Figure 9.5a) with two inputs, fl(t> and f,(t), and
two outputs, yl(t) and y2(t).
following
two
linear
deviation
form;
dyl
dt
The
ally1
alp2
dy2
-=
dt
a21yl
a22y2
initial
conditions
Yp
[Note:
differential
Let
its
mathematical
equations,
with
t>
bllfl(
b21fl(t)
all
the
be
given
by
variables
in
the
+ bl$2(t)
(9.9a)
(9.9b)
b22f2(t)
are
y2(0)
Here again we have assumed that the process is described by two state
variables,
see
Section
and
~~-1
model
8.3
and
Example
8.21.
Then,
[(s - all)b22
+ a21b121
f2(s)(9.10b)
ys) +
s2 - (a 11+a22)S- a12a21
11+a22)s-a12a21
or
$4 = Gll(s)~l(s)
=
Y2W
G21(5)+)
G12(s)f2(s)
(9.11a)
G22(4~2W
(9.11b)
- a22b11)
- (all +a22)S-a12a21
s + (a21b11
GZ1(4 -
The
block
Remarks.
- a11b21)
- (all + a22)S
diagram
of
the
- a12a21
s + (a12b22
- a22b12)
s + (a21b12
, G22(4 - 2
S
- a11b22)
- (all+a22)S
- a12a21
notation;
matrix.
(2) For a system with two inputs and two outputs, like the
one discussed above, we have 2x2 = 4 transfer functions
to
For
general
Example
After
Transfer
Example
we
reactor
in
rearranging
- rl2
dcl;
dt
inputs).
9.2 - The
In
tank
of
6.4
developed
terms
the
Function
of
Matrix
the
deviation
terms
in
of
linearized
variables,
these
of
by
we
take:
equations
eqns.
continuous
(6.36)
= + cii
and
stirred
(6.37).
(9.13a)
UA T'
' =.i! T' +'A r i pcpV c
the
model
given
-E/RTo
Simplify
CSTR
(9.13b)
by defining
notation
-E/RT
=L+koe
all
'c
-E/RTo
kOE
a12 = z e
0
-E/RT
a21 =Jkoe
a22
1
=-r
JkoE
-2 e
-E/RTo
+
uA
PCpV
and
bl
l/-r
b2
= UA/bcJ)
The
dcL
dt
+ all CL
dT'
dt
+ a21
+ a22
initial
conditions
CA
are:
T' = blTi
(9.14a)
b2TA
(9.14b)
c;(o)
= T'(C) = C
(s + all)?;(s)
= blTf(s)
+ b2TA(s)
bl(s + a22)
qs> =
a12bl
Ei (s) - ~.';'s'
i
P(s)
bl(s + allI
a21bl
Ws) =- p(s> z; (s) +
P(s)
i
a12b2
- p T;(s)
(9.15a)
b2(s + all)
P(s) +
2
where P(s) E s + (all + a22)s + (alla22
(9.15b)
T;(s)
P(s)
- a12a21).
cp
f(s)
H
In
Table
9.1
we
Q)
G12W
G13W
G2#d
G22b)
G2+4
the
transfer
see
six
functions
corresponding
The
to
the
transfer
CSTR.
These
function
matrix is nonsquare since the number of inputs is not equal to the number of
outputs.
Figure
9.6
shows
the
input-output
model
for
the
CSTR
in
block-diagram
form.
Table 9.1.
output
Input
G
Element
-ij
am
cd, (s)
i
G1l.
bl(s+a22)/P(s)
G12
-a12bl/P(s)
G13
-a12b2/P(s)
'i's)
y(s)
T (s)
Eb, (s)
i
Transfer
Function
I
I
G21
G22
G23
bl(s+ all)/P(s)
b2(s+all)/P(s)
= G(s)
Z(s)
In general, the transfer function G(s) will be the ratio of two polynomials,
G ( s )
= $$
The only exception are system with time delays which introduce exponential
terms (see Section 7.2(E)).
Q(s) will always be of lower order than the polynomial P(s). The reasons will
become clear in subsequent chapters. For the time being, all the examples we
have covered satisfy this restriction.
The roots of the polynomial Q(s) are called the zeros of the transfer
function, or the zeros of the system whose dynamics are described by the
transfer function G(s). When the variable s takes on as values the zeros
of G(s),
1
1I
The
function,
the
roots
or
of
the
polynomial
equivalently,
transfer
function
the
P(s)
poles
becomes
are
of
called
the
the
system.
poles
of
the
transfer
infinity.
The poles and the zeros of a system play an important role in the
dynamic
analysis
of
processing
systems
and
the
design
usefulness
of
will
effective
become
controllers.
clearer.
input-output
model
of
the
tank
heater
was
developed
in
Example
9.1
and
it is given by:
i'(s)
G1(s)
Tf(s)
G2(s)T;(s)
(9.8a)
Glb)
l/T
s+a
Similarly,
the
transfer
function
sta
Notice
that
the
two
transfer
functions
Example
The
functions
Example
9.2
common
denominator,
P(S)
are
5 'S2
corresponding
summarized
+ (all
in
Table
+ a22)s
to
9.1.
the
All
CSTR
six
were
developed
transfer
+ (alla22 - a12a21)
in
functions
have
23
Since
p1,2
4a12a21
= G(s) F(s)
For given input f(t) we can find easily its Laplace transform
Z(s), while
Therefore,
the response y(t) in the time domain can be found if we invert the term
G(s)%).
Furthermore, in general,
G(s)
while the Laplace transform of all common inputs can also be expressed as the
ratio of two polynomials (see examples in Chapters 7 and 8 as well as Tables
7.1 and 8.1);
Pi(S)
f(s) = P2(S)
Consequently,
f(s)
$g
P,(S)
P2(S)
(9.16)
To
invert
the
right
hand
side
of
(9.16)
using
and
the
inversion
by
roots
of
partial
the
fractions
are
system's
located
response
Let
us
we
to
use
polynomial
uniquely
determine
the
general
of
partial
fractions
resulting
characterized
by
the
from
poles
the
of
the
input, without
particular
following
The
p,(s).
Therefore,
Pz(s).
can
the
are
method
P(s),
the
example
characteristics
additional
to
clarify
of
the
computations.
the
above
statement.
Q(s)
G(s) =s =
(9.17)
(s-Pl)(s-P~)(s-P3)m(s-P4)(s-P~)(s-P5)
where
pl, p2, p3, p4, p2 and p5 are the roots of P(s), i.e. the poles of
the
system
The
partial-fractions
G(s)
located
at
various
expansion
A.
of
the
G(s)
complex
will
yield
plane
the
(see
following
Figure
following
+
c2
c1
terms:
'4
'2
'5
y+-
s-p4
P2
observations
9.7).
can
be
made
for
the
location
of
the
s-p4
S--P5
poles:
Real, Distinct Poles, like pl and p2, are located on the real axis
(Figure
C1e
9.7).
During
pit
9.8a).
the
inversion,
pit
poles
make
terms
the
to
exponential
terms
like
which
response
P2t
Therefore,
rise
C2e
axis
give
p2t
and
B.
of
= s- + sPl
The
points
decay
of
the
to
grows
distinct
zero
system
with
grow
exponentially
poles
time,
towards
on
while
to
the
negative
real
infinity
infinity
positive
with
time.
Such poles
The
The term within the parenthesis gorws towards infinity with time.
behavior of the exponential term depends on the value of the pole p3;
- if
P3 ' 0
then
p3t
e + ~0
'as
- if
P3 < 0
then
p3t
+
as
-if
p3=0
then
p3t
=
t +
00
-f
and
Complex Conjugate Poles, like the p4, pt. We should emphasize that
complex poles appear always in conjugate pairs and never alone.
P4
jf3
and
p$
Let,
jS
In Section 8.2 we have seen that conjugate pairs of complex roots give
rise to terms like
eat sin(Bt + $) .
The sin(Bt + $) is a periodic, oscillating function, while the behavior
of eat
t+m,and
e at sin(St + $) grows to
pair
whose
of
complex
amplitude
conjugate
may
grow
poles
gives
continuously
if
rise
the
to
real
oscillatory
part
of
the
Poles
at
the
Origin.
Pole p5
Therefore,
(1) The above observations are general and can be applied to any
system.
Thus,
we
can
find
the
qualitative
characteristics
of
transfer
particular
additional
roots
before
can
we
response
(2)
Poles
to
of
to
the
infinity
function
input,
f(t),
introduced
have
the
we
by
the
complete
right
of
the
with
if
In
9.7).
the
behavior)
located
subsequent
stability
consider
picture
of
the
of
the
that
f(s),
qualitative
of
axis
grow
exponentially
time.
Therefore,
are
obvious
denominator
imaginary
function
should
is
system.
with
bounded
It
located.
to
all
the
chapters
the
left
we
of
the
its
transfer
imaginary axis
define
(Figure
more precisely
system.
to
concept
use
of
input-output
the
transfer
model
of
chemical
function, which
is
process.
defined
the
s-domain
(complex
plane).
The
transfer
function
the
given
between
specific
input
and
output
is
defined
input, provided
that
both
have
been
expressed
in
as
the
transform
deviation
form.
function
The
block
matrix.
diagram
is
very
illustrative
representation
of
the
interactions
between the various inputs and outputs of a process. From the block diagram
we
can
how
identify
very
quickly;
(a)
what
input
affects
what
output,
and
(b)
by
much.
The zeros of a system are the values of s which make its transfer
value
The
to
location
the
transfer
the
poles
system
to
external
positive, the
system
is
unstable.
of
Now,
which
we
are
Chapter
10
leaving
the
are
ready
to
modeled
with
certain
we
will
higher
study
order
of
the
common
dynamic
systems
system
inputs.
analyze
the
give
function.
of
response
which
for
will
determine
the
qualitative
dynamic
forms
of
response
Chapter
behavior
of
transfer
of
11.
the
various
functions,
first-order
processes,
In
systems,
2 .:
THINGS
TO
THINK
ABOUT
1.
2.
For
and
three
process
measured
formulate
3.
In
inputs
(disturbances
is
the
developed
that
concept?
many
a
the
Elaborate
on
manipulated
variables)
functions
should
corresponding
transfer
function
different
over
and
transfer
type
input-output
your
of
input-output
model
based
on
you
matrix?
model.
the
transfer
answer.
What
5.
What
we
prefer
four
outputs, how
why?
5.1
you
function
4.
and
Section
Would
with
type
of
information
does
convey?
stirred
tank
heater.
Develop
the
input-output
model
for
the
What
do
equations
Draw
the
block
Can
you
develop
inputs
7.
block
and
stirred
and
why?
Analyze
you
observe?
and
expressing
diagram
of
the
analytically
outputs?
The
diagram.
tank
If
yes,
heater
of
the
interactions
(Hint.
Start
the
variables
distillation
the
Example
how,
shown
don't
in
among
do
and
the
deviation
functions
but
inputs
linearizing
in
column
transfer
explain
by
among
form.)
Figure
the
4.10.
various
it.
9.
Repeat
inputs?
question
Elaborate
on
your
answer.
into account.
10.
Show that the poles of a 2x2 system are also the eigenvalues of the
r;,<. ., ,.
I
matrix of constant coefficients in the dynamic model of the system.
11.
Under what conditions can the CSTR of Example 9.2 become unstable?
I
I
I
I
I
I
I
I
I
I
I
.
r------------,
!L-e-,--,-- ,,,J
W
I Fiqure
9.2
I Fi 3 we
9.4
..-
b)
I Figure
9.51
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
,
? G&l
l
I,- --_____
_____
__ ____- _ _____
!.
,
I
3
(P>
I
I
*ii,.
P4
I
- --
, 3 Real Axis
CHAPTER 10
THE DYNAMIC BEHAVIOR OF FIRST-ORDER SYSTEMS
The previous chapters of Part III have provided us with all the prerequisite tools we need in order to analyze the dynamic behavior of typical
processing systems, when their inputs change in some fashion, e.g. step, ramp,
impulse, sinusoid, etc.
order systems.
systems,
and/or
manipulated
variables).
where
+ 'soy
= bf(t)
yields,
k!Y
a0 dt
$- f(t)
0
Define
al
-=
a
0
4.Y
TP
'p dt + y
TP
'
and
b
= K
P
a0
and take
= K f(t)
(10.2)
P
is called the
steady state gain or static gain or simply the gain of the process.
I
I
I
I
I
I
I
I
Their
If y(t) and
= 0 and f(0) = 0
From eqn. (10.2), it is easily found that the transfer function of a firstorder process is given by;
G(s)
= ti =
w4
; :p+ 1
P
(10.3)
a,
dt
2. f(t)
al
= K; f(t)
=
F(s)
(10.4)
Thus, the dynamic response of tanks which have the capacity to store liquids
or gases can be modeled as first-order.
pumps, valves, weirs, pipes which are attached to the inflowing or outflowing
liquids or gases.
I
I
I
which
For
can
such
walls,
store
thermal
systems
liquids
the
or
energy
(thermal
resistance
gases.
In
is
other
capacity, cp)
associated
with
words,
process
is
the
modeled
transfer
which
as
of
first-order.
heat
possesses
through
capacity
to store mass or energy and thus act as a buffer between inflowing and outflowing streams will be modeled as a first-order system. The stirred tank
heater
of
Example
4.4
and
the
mixing
processes
of
Example
4.11,
are
typical
class
store
primarily
Let
of
us
dynamic
components
mass
and
energy.
examine
now
some
in
typical
chemical
capacity
plant,
processes
with
the
capacity
modeled
as
to
first-order
lags.
Example
10.1 -
First-Order
System
with
Capacity
The
for
Mass
Storage
volumetric
is Fo.
(volume/time)
In
the
outlet
Assume
pressure
of
the
liquid
level
=$=
F.
is
related
linearly
to
the
At any time point, the tank has the capacity to store mass.
balance
hydrostatic
(10.5)
The
total
mass
gives:
Adh
dt
Fi
h
it
or
AR$+h=RF
(10.6)
At steady state
hw = R Fi(s)
(10.6a)
and from (10.6) and (10.6a) we take the following equation in terms of
deviation
variables:
AR%
where h'=h-h
=
h'
=R
(10.7)
l(S)
Let
l
TP
K
RF!
1
and F;=Fi-F.
(s)
m
K
P
TpS + 1
(10.8)
to flow) (10.9)
tern yields:
Vpc dT =
P dt
where
= UAt(Ts - T)
(10.10)
P,Cp
its
density
and
the
overall
heat
the
At
Ts
temperature
heat
capacity
transfer
of
the
coefficient
saturated
between
steam
and
liquid
steam.
UA(T
t s(s) - T(s))
(10.11)
deviation
from
(10.10)
take
the
following
equation
in
terms
of
variables,
vpcp $ =
where T'=T-T
will
and
(10.11)
yield
the
G(s)
(s)
and Ti = T, - T
following
I
(10.12)
UAt(T; - T')
transfer
transforms of (10.12)
function
UAt
T(s)
~ =
Tp
The Laplace
(s) *
P
TpS + 1
(10.13)
where
TP
K
Remarks.
Eqn.
lag
(2)
The
(10.13)
demonstrates
clearly
that
this
capacity
to
store
is
first-order
system.
system
possesses
the
thermal
energy
of
the
term
Therefore,
we
notice
that
the
time
constant
of
is determined by a constant-displace-
(10.14)
At steady state
0
Fi(s)
(10.15)
F0
Subtract eqn. (10.15) from (10.14) and take the following equation in terms of
deviation
variables:
Remark.
P(s) r
F;(s)
l/A
S
(10.16)
The
K
G(s) = f(s> = +
m
Let us examine how
change, i.e.
for
f(t) = 1
t>O
P(s)
= f
Y(s)
K;/s2
= K;'
We notice that the output grows l-inearly with time in an unbounded fashion.
Thus,
y(t) -+ Q) as
I
I
t-00
(Figure 10.3)
I
will make the tank flood or run dry (empty).
I
non-self-regulation.
Processes
The
most
inventory
with
often
integrating
encountered
systems
for
action
are
quite
tanks
with
liquids,
are
raw
materials
or
common
products,
in
vessels
chemical
with
process.
gases,
etc.
transfer
G(s)
function
for
y(s)
m
Let
us
examine
how it
such
we
Inverting
eqn.
(10.17)
Y(t)
by
eqn.
(10.3).
(10.3)
take
P
s(rps+l)
given
Y(s)
is
KP
rps+l
responds
systems
we
KP
Kp-s
rps+l
(10.17)
take,
-t/T
e
')
Kp(l
(10.18)
-t/T
y(t)
Figure
10.4
dimensionless
= AKp(l
shows
how
- e
y(t)
(10.19)
')
changes
with
time.
coordinates
y(t)/AK p
t/T
vs.
P'
and as such can be used to determine the response of any typical first-order
system,
independently
Several
response
of
features
of
the
particular
of
the
plot
first-order
systems
of
and
values
Figure
thus
of
10.4
worth
A,
are
characteristic
and
remembering.
TP'
These
of
the
features
are:
(1) A first-order lag process is self-regulating.
liquid
level
pressure
goes
up.
As
the
liquid
level
goes
up,
the
effluent
stream
restoration
(see
of
an
eqn.
(10.5)).
equilibrium
state
This
action
(steady
works
hydrostatic
F.
of the
towards
the
state).
-t/r
d[W/AKpl
(e
dt
It=0
P)t,o
maintained,
llary conclusions
are:
The smaller the value of the time constant T
initial
response
of
the
the
steeper
the
system.
Equivalently,
The
time
constant
The
after
ultimate
ultimate
four
constants, the
2TP
3TP
4sP
86.5
95
98
response
.
has
essentially
reached
value.
value
of
the
response,
state is equal to
Kp
characteristic
explains
the
name
steady
state
or
static
gain
given
to
the
parameter K
P'
A(output)s
K
where
A(output)s
A(input)s
(10.20)
A(input)s
(10.20)
also tells us by how much should we change the value of the input in order to
achieve
desired
change
in
the
is
large
is
small.
(very
sensitive
systems),
and
l
Example
10.4 - The
Consider
the
Effect
tank
of
system
Parameters
of
on
Example
the
10.1.
Response
It
of
possesses
First-Order
two
System
parameters;
from
another
but
equivalent
point
of
view,
and
> T
Pl
p2'
i.e. the tank with the larger capacity has a larger time constant, while the
A1 > A2
static
step
gains
changes
according
notice
the
to
that
the
same
remain
in
the
beginning,
the
the
eqn.
resistance,
inlet
(10.
tank
but
same.
R.
flowrates, the
liquid
level
in
each
tank
responds
the
smaller
ultimately, both
cross
levels
sectional
reach
the
area
same
responds
steady
faster
state
at
values.
This
is
in
agreement
have
different
resistances
cross
our
physical
sectional
areas
R1
A1
with
Suppose
experience.
A1
and
now
that
both
A2
that
R2
=q
AZ
tanks
(10.21)
AlRl
A2R2
rP2
Tpl
But, since Al > A2
Figure 10.5b shows the responses of the two tanks to a unit step
>K
p2
Pl'
change in the input. Since both tanks have the same time constant, they have
the
same
initial
speed
of
response.
Thus, the
liquid level grows more in this tank and its ultimate value is larger than
the value of the level in the tank with resistance Rl.
with our physical experience and
also
demonstrates
the
This
fact
again
that
the
agrees
larger
the static gain of a process the larger the steady state value of its output
for
the
same
input
change.
the
differential
conclusion
cess
a
previous
were
that
more
often
Let
equation
the
constant.
chemical
process.
processes
us
sections
examine
we
(see
assumed
eqn.
that
(10.1))
the
coefficients
were
constant.
of
the first-
time
constant
variable
time
constants
characteristic
examples:
and
gains
than
not.
Example
- A
10.5
For
the
Tank
tank
System
system
with
Variable
discussed
in
Time
Example
Constant
10.1,
and
assume
Gain
that
the
effluent
flowrate, Fo, is not a linear function of the liquid level, but it is given
by
the
following
F.
Then,
the
relationship
BJi;
material
Linearize
this
variables
(this
(which
[3
yields
around
problem
Adh+
was
f3
dt
for
turbulent
flow);
= constant
balance
equation
holds
the
following
steady
solved
h=
state
in
nonlinear
and
Examples
put
6.1
it
and
equation:
in
terms
of
deviation
6.2);
F;
or
dh
rp dt
KF!
PI
where
=
rP
We
notice
that
2A$7O
both
the
and
time
constant
24733
rP
Example
Let
h (s)
conclude
10.6 us
return
hw *
can
vary
the
Heater
to
system
with
the
has
Variable
heater
variable
Time
system
time
Constant
discussed
constant
and
in
and
UAt
and
Gain
Example
constant and the static gain for the heater were found to be:
TP
Since'we
10.2.
static
gain.
.
The time
1
I
The
overall
period
heat
of
or
of
heat
the
Corrosion,
operation.
internal
transfer
external
surfaces
transfer
dirt,
of
various
the
coefficient.
happen
The
time
of
such
First;
order
even
question
variable
are
to
simple
then
constants
and
systems.
There
we
use
can
This
differential
quite
to
how
two
possible
analytical
example
one
gains
is
in
handles
the
gradual
order
first-order
to
find
decrease
of
what
systems
the
dynamic
with
response
solutions:
which
with
variable
coefficients.
of
very
little
that
such
systems
and
characteristic
solutions
equations
complicated
in
on
systems.
static
are
the
as
deposited
first-order
arises
solids
coil, result
heating
other
value
are
to
available
us
Such
for
for
first-
solutions
process
control
purposes.
-
Second;
we
can
assume
possess
constant
time
At the end of
and K
P
and
P
Such an
consider
values
is
rather
which
case
the
time
period
of
that
we
and K which
P'
adaptive
constants
procedure
gain of a
relatively
constant
long.
linear
their
capacity
common
is
process
differential
to
components
store
in
whose
dynamic
equation.
material,
chemical
All
energy
plant.
behavior
such
or
is
governed
processes
momentum,
Therefore,
the
are
and
by
first-
characterized
constitute
majority
of
the
simple
by
most
input-output
configurations
represented
by
first-order
G(s)
The
that
will
dynamics
encounter
with
in
transfer
first-order
chemical
plant
will
be
function
K
+
P
two
we
constants
which
characterize
system
are;
the
time
with
to
the
its
steady
purely
and
no
resistance
is
the
dynamic
state
capacitive
to
lags
flow
arises
of
process
which
of
system,
while
time
the
constant
static
gain
is
is
behavior.
process
the
non-self-regulating
first-order
behavior
Therefore, the
are
from
mass,
leading
energy,
to
process
in
which
reaching
serious
control
self-regulating, thus
causing
has
only
the
capacity
capacitor.
problems,
milder
It
unlike
control
problems.
In Chap ter 11 we will study the dynamic behavior of systems with higher
order
dynamics.
Furthermore,
order
we
Particular
will
examine
attention
how
will
several
be
given
simple
to
capacity
the
2nd
order
processes
with
higher-order
systems.
systems.
first-
I
1
I
I
I
I
I
I
I
I
I
I
1
I
I
I
THINGS
1.
TO
3.
ABOUT
2.
THINK
first-order
What
is
the
what
causes
lag
principal
the
of
purely
characteristic
appearance
of
capacitive
of
purely
the
process?
first-order
capacitive
processes
and
process?
In Examples 10.1 and 10.2 it was found that for a first-order process
(time
Is
this
constant)
appropriate
Show
that
also
has
5.
Discuss
6.
How
would
= (storage capacity)x(resistance
for
simple, irreversible
4.
or
tank
an
isothermal,
reaction, A-tB,
with
variable
variable
time
constant
system
which
stores
you
regulate
the
constant
volume
CSTR,
where
takes place?
cross-sectional
and
static
momentum
purely
to flow)
and
capacitive
area
along
its
height
gain.
exhibits
process
first-order
of
the
tank
dynamics.
in
or
first-order
lag
system?
Answer
Is this a pure
the
same
question
if
9.
that
for
unit
impulse
F(s) = 1).
257
0
I
1234
t/q
I ure
FJ
m4
CHAPTER 11
THE
Systems
with
in
chemical
in
drastically
higher-order
origin
of
first-order
different
will
with
way
than
this
analysis
left
OF
SECOND-ORDER
behavior
that
chapter
second-order
The
be
dynamic
In
dynamics.
systems
BEHAVIOR
are
SYSTEMS
not
the
only
ones
encountered
process.
characteristics.
dynamics
DYNAMIC
for
we
systems
first-order
will
dynamics,
of
Chapter
of
analyze,
and
with
(b)
system,
(a)
their
higher
the
following
physical
dynamic
than
second-order
12.
second-order
system
is
one
whose
output,
y(t),
is
For
described
by
example, the
the
following
&
&?L
+ al
a2 dt2
(11.1)
= bf(t)
dt + ao
2 d2y
-cdt2
25~
(11.2)
+ y = Kpf(t)
where
T2 = a2/ao
Equation
(11.2)
is
in
25~ = al/a0
the
standard
the
natural
period
?l
the
damping
factor,
of
form
and
of
oscillation
= b/a0
second-order
of
the
system
where
system
and
has
the
same
significance
as
for
the
first-order
If
eqn.
(11.2)
is
in
terms
of
deviation
variables,
standard
for
transfer
G(s)
function
=
'j(s>
with
second
situations.
These
or
be
Processes,
into
following
/
(11.3)
dynamics
classified
the
conditions
system;
P
T2S2 + 25TS + 1
higher-order
can
Multicapacity
(i>
second-order
initial
yields
f(s)
Systems
the
can
arise
three
i.e. processes
from
several
physical
categories:
which
consist
of
two
or
more
energy
istics
(ii>
must
of
flow.
such
In
Second-Order
components
of
acceleration.
be
11.3
we
will
discuss
the
character-
systems.
Inherently
will
Section
Systems,
process
Such
discussed
like
which
systems
briefly
possess
are
in
the
inertia
rare
Section
fluid
in
11.4
or
mechanical
and
are
subjected
chemical
processes.
and
examples
two
solid
to
They
are
given
Processing
order
System
dynamics.
installed
on
With
Its
Controller,
unit
may
exhibit
controller
introduces
second
which
has
additional
or
higher
been
dynamics
which,
when together with the dynamics of the unit, give rise to second or
higher-order
this
The
in
control
second
behavior.
example
in
Section
11.5
will
demonstrate
point.
very
large
majority
chemical
plant
come
systems.
or
An
higher
Very
order
of
from
rarely
the
second
multicapacity
we
dynamics.
will
find
or
higher
order
processes
or
systems
with
the
systems
encountered
effect
of
appreciable,
process
inherent
systems,
let
us
features
of
analyze
the
Such
analysis
second-order
dynamic
will
response
provide
us
of
with
second-order
all
the
system
to
fundamental
system.
For a unit step change in the input, f(t), eqn. (11.3) yields:
K
The
two
f(s)
poles
of
P
S(T2S2 + 2<TS + 1)
the
second-order
transfer
(11.4)
function
are
given
by
the
roots
of
25TS
p1=-$+
/-c2-1
(11.5a)
J52_1
T
(11.5b)
and
p2=-$-
Y(s)
= s(s - KP
Pl)(S - P2)
(11.6)
and the form of the response y(t) will depend on the location of the two
poles, p1 and p2' in the complex plane (see Section 9.4). Thus, we can
distinguish three cases:
Case A - when
Let
us
CASE A.
examine
each
case
separately.
by
partial-fractions
expansion
yields,
y(t) = Kp l- e-5t'r(cosh&$+l
fc2-1
where cash(0)
and
sinh(a)
(11.7)
functions defined by
-a
-2
and
cash(a)
e' + e-'
2
The response has been plotted in Figure ll.la for various values of 5, <>l.
It is known as overdamped response and resembles a little the response of a
first-order
system
response
we
response
is
the
to
notice
that
rather
system
unit
step
the
system
sluggish.
becomes
more
It
heavily
input.
But
initially
becomes
when
delays
more
overdamped.
compared
to
respond
sluggish
Finally,
to
as
we
a
and
first-order
then
it's
5 increases, i.e.
notice
that
as
the
time goes on, the response approaches its ultimate value asymptotically. As
it was the case with first-order system, the gain is given by,
K
CASE B.
of
first-order
y(t)
response
system
in
series,
as
we
will
see
in
from
Section
the
11.3.
The
systems
result
with
overdamped
is
of
eqn. (11.6)
gives
the
result,
Kp[l - (1 + $)e-t/Tl
also
critical
system.
inversion
shown
damping
in
Figure
a-proaches
(11.8)
ll.la.
its
We
notice
ultimate
that
value,
second-order
faster
than
an
CASE C.
The
inversion
of
eqn.
(11.6)
in
this
1
e-Tt/.r
case
yields,
sin(wt
+ $)
Il-c2
(11.9)
where
/l-c2
oJ"T
(11.10)
and
I4 = tan-l l-C2
5
The
response
factor, 5.
-
The
has
been
From
the
underdamped
Although
the
in
Figure
plots
we
can
response
is
faster
responses, which
-
plotted
are
observe
characterized
underdamped
response
ll.lb
than
as
is
for
various
the
following:
the
critically
values
of
the
damped
or
overdamped
sluggish.
faster
and
reaches
The
amplitude.
quite
its
ultimate
value
with progressively
distinct
oscillatory
damping
from
behavior
all
becomes
previous
more
ones.
pronounced
with
smaller
values
of
the
damping factor, 5.
It
chemical
units
must
be
plant
they
emphasized
are
control.
it
caused
that
by
the
Therefore,
is
wise
almost
to
all
interaction
the
of
underdamped
the
responses
controllers
with
in
the
process
well
acquainted
with
its
characteristics.
Overshoot:
OVERSHOOT = exp(x)
/l-c2
Figure 11.3 shows the plot of overshoot vs.
Decay Ratio:
5, while as 5
damped response).
(OVERSH~~T)~
(11.12)
Period of Oscillation:
fl-G2
radian frequency = ___
T
(11.10)
To find the period of the oscillation, T, i.e. the time elapsed between
two successive peaks, use the well known relationships w = 21-rf and
f = l/T where f = cyclical
T
2x-r
=I-l-c2
frequency.
Thus,
(11.13)
4.
free
of
any
K
G(s)
damping.
has
two
purely
according
to
the
analysis
The
constant
wn
= l/T
imaginary
of
Response
is
(11.14)
(on
9.4
the
it
natural
imaginary
will
frequency
oscillate
(see
cyclical
period,
Tn,
is
given
continuously
eqn.
(11.14))
271-c
Time:
(11.16)
The
response
of
an
underdamped
system
will
For
it
reached
been
agreed
to
consider
that
the
response
reach
practical
its
needed
to
for
and
by
axis)
(11.15)
function
+)
poles
Section
amplitdue, and
corresponding
Tn
transfer
P
(s-j +)(s+j
i.e. it
Its
T2S2 + 1
with
the
response
reach
this
situation
is
known
as
its
purposes,
final
The time
the
response
Rise
Time:
required for the response to reach its final value for the first time.
/
/
From Figure 11.1 we notice that the smaller the value of 5, the shorter
I
I
I
the rise time, i.e. the faster the response of the system, but at the
Remark:
In
subsequent
chapters
(Part
IV),
our
objective
during
the
design
of
values,
the
decay
ratio
small, and
the
response
time
short.
We
will
realize
that it will not be possible to achieve all these objectives for the
same values of 5 and r, and
that
be defined.
of
second-order
Good
system
understanding
will
help
an
acceptable
the
underdamped
tremendously
in
compromise
behavior
the
design
should
of
of
efficient
controllers.
11.3 MULTICAPACITY PROCESSES AS SECOND-ORDER SYSTEMS
When material or energy flows through a single capacity, we get firstorder system.
two
of
capacities, as it moves from the input to the output variable, the behavior
the
system
is
described
by
second-order
dynamics.
Two
multicapacity
systems
are shown in Figure 11.4 with two mass capacities (the two tanks) each.
Examine the two systems of Figure 11.4 more closely to identify a significant
qualitative
difference
between
them.
Tank 1 feeds Tank 2 and thus it affects its dynamic behavior, while the
opposite
is
not
true.
Such
system
is
characteristic
so-called,
non-interacting
in
series.
capacities, or
interacting
capacities, or
Multicapacity
processing
the
same
capacity
column
processes
unit.
It
processing
process
is
unit.
with
another
is
interacting
do
quite
of
have
possible
For
capacity
example
not
large
affects
class
of
the
first-order
systems
the
behavior
dynamic
systems
involve
that
all
more
in
series.
than
capacities
one
are
physical
associated
with
store
multicapacity
non-interacting
of
mass
in
and
energy.
process.
turn
allows
distillation
thermal
energy
Let
We
us
will
A.
now
start
see
with
how
the
NON-INTERACTING
When
described
by
multicapacity
non-interacting
result
in
second-order
systems.
capacities.
CAPACITIES
system
is
composed
of
two
set
dyl
rP1 dt
processes
y1
of
two
non-interacting
differential
K
equations
of
first
f,(t)
capacities,
the
following
then
it
general
is
form:
(11.17a)
capacity
p1
dy2
-+y2
rp2 dt
K p2 y1(t)
second
(11.17b)
capacity
In other words, the first system affects the second by its output, but it is
not affected by it (Figure 11.5a).
then we can solve eqn. (11.17b).
The
corresponding
transfer
functions
are:
Y,(s)
KPl
Gl(s) = ~ =
fl( s) rplS+l
The overall transfer function between tba external
Go(s)
Y,(s)
y,(s)
y,(s)
= q(s)
= - * - = G1(s)G2(s)
Y,(s)
f,(s)
K
Kpl
Pl
=
s+l * r
P*s+l
rp1
(11.18)
or
GO(s)
=
(Tt)2s2
K'
P
+ 25'T'S + 1
(11.19)
where
(Ty
= T
25'T'
PlTP2
Equation
(11.19)
indicates
very
= T T
Pl p2
clearly
and
that
the
K' =K K
P
Pl p2
overall
response
of
the
system
is
second-order.
overall
From eqn. (11.18) we also notice that the two poles of the
transfer function
Pl =
are
real
and
and
1/T
distinct,
=
p2
Pl
i.e.
l/T
p2
and
are equal, then we have two equal poles.
Pl
Tp2
Therefore, non-interacting capacities always result in an overdamped or
critically
damped
second-order
system
and
never
in
an
underdamped.
The
response
by
damped.
eqn.
Instead
of
eqn.
(11.7) we
can
use
the
following
for
the
equivalent
critically
form
for
the response
-t/T
(-r
-t/.r
p1
Pl
can
be
p2 >
T e
p2
derived
(11.20)
I
easily
by
simple
inversion
Go(s)
Example
11.1
= G1(S)G2(S)GN(S)
T WO
Non-Interacting
K *..K
'1
'2
'N
= Gs+~)(~
s+l)...(T
ss-1)
p2
PN
Pl
Material
Capacities
is such a system.
and
The
in
(11.21)
Series
transfer
functions
for
where, according
K
to
Example
=R1
10.1
we
=R2
have,
can
easily
find
Go(s)
Equation
Fi(
are
deviation
transfer
form.
function
Since,
is
,
K
=
p2
s+l)(T
(T
p1
indicates
Using
r #
p1
eqn.
that
(11.22)
s+l)
p2
the
relationship
between
the
t
/
T
t
/
T
c
Figure
same
11.6
as
extewrnal
input,
those
of
response
of
we
S-shaped,
is
change
transfer
the
response
in
at
la&
qualitative
an
overdamped
the
notice
of
p1
K 1
'
(.c
e
p2
rp2-rpl
p1
the
with
11.6
This
shows
Figure
is
for
of
two
non-interacting
T e
p2
capacities
, we find:
comparison
The
(11.20)
p2
h;(t)
overall
in
with
the
q(s)
F;(s)
(11.22)
system.
that
= A2R2 .
rp2
rp1
we
and
= AIR1
p2
Pl
features
system
first-order
of
(see
response
the
p2
response,
for
example
would
be
which
Figure
are
ll.la
instructive.
the
with
511) *
Thus, from
that:
the
overdamped
i.e. initially
contrast
to
the
beginning.
and
is
multicapacity
changes
slowly
first-order
This
and
response
sluggishness
characteristic
of
system
to
step
input
then
it
picks
up
which
or
has
delay
multicapacity
the
is
change
speed.
largest
known
also
rate
as
systems.
See
also
Figure
11.6.
B.
INTERACTING
CAPACITIES
dh2
A2dt
Assume
linear
F1
F1
F2
resistances
=
F1
to
flow,
+ hl -
dh2
A2R2 dt
h2
(11.23a)
Tank 2
(11.23b)
i.e.
(11.24a)
R2
of
effect
characteristic
of
the
two
(11.24b)
"1"'
is
mutual
h2/R2
= RIFi
and (11.24b)
central
F2
yield:
become:
R2
(l+R)h
1 2
balances
Tank 1
and
(hl - h2)/R1
dhl
A 1R l dt
mass
interacting
capacities
and
indicates
the
capacities.
hw
R2
+ir;)h2&)
(l
Subtract (11.25a)
ducing
the
h2(s)
dhi
dt
dh;
A2R2 dt
where
R2
- q
variables
+
hi
(11.25a)
RIFi(s)
from (11.24a)
deviation
AlRl
Qs)
= 0
(11.25b)
take,
hi
R2
(l+~)h'
l2
RlFf
(11.26a)
(11.26b)
h =
1
hl - hi(s) , hi = h2 - h2(s) and F! 1= Fi - Fi(s)
Take the Laplace
(AIRIS
+ l)Ci(S)
- F;;(S)
and (11.26b)
and find
= RlFf(s)
-
R2 -,
- R1 hl(s)
R2
+ (1 + 5) I;;(s)
1
Solve these algebraic equations with respect to El(s) and g2(s) and find:
CT p R1b + CR1 +
r;;(s)
=
T
(11.27a)
+('I
+T
+ A1R2)s+1
Pl
p2
Pl p2
i;;(s)
R2)
R2
=
2+(T
rP1TP2S
(11.27b)
+T
+ A1R2)s+1
Pl
p2
and r
= A2R2
are the time constants of the two tanks.
= AIRl
rp1
p2
Equations (11.27a) and (11.27b) indicate that the responses of both tanks
where
follow second-order dynamics. Compare eqn. (11.27b) for the interacting tanks
with eqn. (11.22) which corresponds to the non-interacting tanks. We notice
that they differ only in the coefficient of s
term, A1R2.
cates
the
in
the
denominator
by
the
of
interaction
between
the
two
tanks.
between
the
two
The
larger
the
value
of AIR,,
the
Remarks:
(1) From eqn. (11.27b) it is easily found that the two poles of
J.
larger
the
interaction
tanks.
2 - 4 T T
+T
+ A1R2)
Pl
p2
Pl p2
>o
(11.28)
Therefore, p1 and p2
the
response
of
are
distinct
interacting
and
capacities
real
is
poles.
always
overdamped.
Consequently,
and
p2 given
R2
(rls+l)(T2s+l)
(S--Pi) b-P,>
(11.29)
where
and
'I1 = -l/P1
Equation
(11.29)
implies
r2 = -l/p2
that
two
interacting
capacities
can
be
constants.
Thus,
while
initially
the
two
interacting
tanks
=P2
rp1
when
they
are
veiwed
as
non-interacting,
they
have
different
time
constants
and
r1
(3) Assume that the two tanks have the same time constants, i.e.
T. Then, from eqn. (11.28) we take,
TP1 = rp2 =
-(2-c + A1R2> + 7
A1R2 + 4-cA1R
VT2 = P2/P1
=
-(2T
A1R2)
- JA:R; +
~TA$X
the
effective
time
constants
for
the
two
tanks,
i.e.
one
tank
becomes faster in its response and the other slower. Since the
overall response of h2(t) is affected by both tanks, the slower
tank
becomes
sluggish
are
Example
11.2
the
due
controlling
to
the
and
the
interaction.
more
sluggish
than
- The
Dynamics
of
the
Two
overall
Therefore,
response
becomes
interacting
Interacting
Tanks
T2S2
+ 5-rs + 1
Let Al = A2
R2
+ 1)(4.8~s
R2
capacities
non-interacting.
~;(s>
~
F;(s)
more
= (0.21~s
(11.30)
+ 1)
For a unit step change in F;(t), i.e. for Pi(s) = l/s, eqn. (11.30) after
inversion
yields
h;(t)
_ 5 . 2 e-t/4.8.r
1
F;(t)
-t/0.21T
= 1 + 0.014 e
_ 5.2 e-t/4.8T
or
If
the
two
tanks
were
non-interacting, then
q<s>
F;(s)
which
by
R2
s+1)(rp2s+1)
=
(T
the
transfer
function
of
the
i.e.
R2
(U?+1)(2Ts+l)
p1
inversion
yields
h;(t)
= R2[1
F;(t)
=l+
+ e
-t/-c - 4e-t/2T]
or
e
-t/T
4e-t/2T
They
are
both
overdamped.
As
such
they
have
the
characteristics
discussed
2T
and
For the case of the interacting tanks the effective time constants
have become
0.21r
4.8T
and
Their ratio
result.
allci
a12T'
= blcii
dT'
- +
dt
a21ci
a22T'
dt
blT;
(9.14a)
b2Ti
(9.14b)
for storing component A, while eqn. (9.14b) denotes the capacity of the CSTR
for storing thermal energy.
they are interacting.
reacting
mixture.
Consider now that the CSTR is at steady state when one of the following
variables
changes
by
unit
step;
- feed concentration
cd, , or
i
- feed temperature T!, or
1
- coolant temperature T'.
C
According
to
the
the
analysis
input
made
change
above
like
respond
to
second-order,
overdamped
systems.
[Note:
In the above example it has been assumed that the linearization of the
CSTR was made around a stable steady state (see Example 1.2) and that unit
step changes do not move the system far from this steady state.]
process
decomposed
can
into
exhibit
two
underdamped
first-order
behavior
systems
in
and
series
consequently
(interacting
they
or
cannot
non-
we
chemical
or
the
(b)
mechanical
resistance
and
conclude
their
in
process, and
resistance
we
examined
to
to
previous
they
are
translation
motion
capacitance
that
inertia
the
the
associated
of
and
solid
(c)
are
motion.
The
with
parts
capacitance
characteristic
inherently
second-order
three
sections.
examples
the
motion
possessing;
to
store
and
of
systems
in
of
(a)
liquid
inertia
mechanical
the
are
Appendix
masses
motion,
energy.
first-order
characterized
ll.A
to
Since
systems,
by
clearly
Law
applied
on
Balance of forces
on the system
given
=
system
yields
(mass of system)x(acceleration)
(11.31)
Since,
acceleration
d(velcoity)
dt
and
velocity
we
conclude
that,
Balance of forces
on the system
The
second
term
of
of the system.
the
d2
= (mass of system) x---- (spatial
dt2
the
right-hand
Equation
point
for
examples
11.5
SECOND-ORDER
(11.31)
of
side
or
Appendix
SYSTEMS
CAUSED
gives
its
rise
equivalent
(11.32)
displacement)
to
the
second-order
(11.32)
is
the
behavior
starting
ll.A.
BY
THE
PRESENCE
OF
CONTROLLERS
of
exhibit
we
the
process
without
the
will
being
have
let
us
the
and
produce
presence
of
opportunity
consider
a
the
to
simple
dynamic
simple
the
tank
first-order
shown
system
many
which
the
process
cannot
such
situations.
example.
in
with
controller.
examine
behavior
With
Figure
Second-Order
10.1
transfer
(Example
function
Dynamics
10.1).
given
by
Due
to
the
This is a
eqn.
(10.8).
We
would like to control the liquid level at a desired value when the inlet
flowrate
Fi
control
system
measures
the
liquid
If
level
is
the
(see
Section
level
higher
2.2)
and
than
shown
in
Figure 11.7a.
compares
it
with
the
value,
it
the
desired
desired
increases
steady
state
the
effluent
value.
flowrate
this
first
controller
to
second
order.
The
dynamic
mass
A dt
dh
while
changes
at
the
=
the
deviation
around
the
the
dynamic
tank
behavior
of
the
tank
gives,
state
we
have
(11.34)
Fe(S)
from
(11.33)
(11.33)
F;
dt
of
F.
steady
from
Adh =
where
Fi(S)
(11.34)
order
balance
Fi
desired
0
Subtract
the
and
take
(11.35)
F;
variables
are
defined
by,
deviation
(error)
h'
is
used
by
the
controller
to
increase
or
decrease
where KC
and
'I
are
constant
parameters
with
positive
values.
According
to (11.36j:
- When h' = 0 then F = Fe(s)
- When h' > 0, i.e. the level goes down, then from eqn. (11.36) gives
F. < Foes),
the
effluent
rate
goes
down
and
the
level
starts
increasing.
- When h' < 0, i.e. level goes up, then from eqn. (11.36) we find F. >
F
.
1-e.
o(s) '
i.e.
the
effluent
rate
increases
and
the
level
decreases.
The
control
Control,
action
because
terms, one
of
described
the
value
which
is
eqn. (11.36)
by
of
the
is
manipulated
proportional
to
the
called
variable
error
h',
Proportional
is
and
determined
the
Integral
by
other
two
proportional
A dh'
dt
The Laplace
Kch'
h'dt
(11.37)
= F;
K
c 1 F;ys>
=I s
+ K$'(s) +
F;(s)
or
=I
2 s2 + TIS + 1 E'(s) = K
P;(s)
K
C
I
[ C
From
eqn.
(11.38) we
find
that
the
transfer
function
between
the
external
by;
m=
F;(s)
P
T2S2 + 25r.s + 1
where
T2
From
the
=A~I/K~ , 25-r
above
equations
= TI and Kp = TI/K=
we
find
that
Depending on the values of the control parameters Kc and -cI we may have
the
following
cases:
-qp2.
is
that
of
an
- JK&A = 2.
underdamped
- Finally, w > 2.
In Figure 11.7b
change
in
The
the
system.
above
flowrate,
example
with
and
demonstrates
without
very
control.
clearly
how
the
simple
first-order
dynamic
behavior
overdamped
of
the
and rI
system
which
range
from
an
underdamped
to
an
response.
or
of
(ii)
the
The
come
from
control
second-order
first-order
systems
in
series,
(iii)
come
as
the
damping
action.
systems
are
characterized
by
two
factor 5
or
parameters;
Depending
on
the
value
of
zj we can have; overdamped response (Al), critically damped (c=l) or underdamed response (<cl).
-
The
underdamped
is
'Ihe
a
following
quick
but
observations
oscillatory
can
response
be
and
made:
it
is
usually
The
overdamped
exhibited
with
i
by
increasing
action
between
or
critically
first-order
value
damped
systems
of
first-order
the
in
damping
systems.
responses
series.
are
The
sluggish,
and
sluggishness
are
usually
increases
its behavior in the time domain and give its transfer function.
2.
system.
11.
3.
Identify the three classes of second-order systems and give one representative example for each class.
system.
Identify
their
distinguishing
characteristics.
5.
6.
Develop the expressions for the overshoot and the decay ratio (eqns.
(11.11) and (11.12)).
7.
Explain why two interacting capacities have more sluggish response than
two equivalent but non-interacting capacities.
9.
10.
11.
12.
13.
What is the origin of the most common systems with inherent second-order
dynamics?
14.
Describe an example.
In Example 11.4 if you use Proportional Control only would you change
the order of the tank's dynamic behavior?
Il ,. 6
30
Kp
IL
i.0
0.4
---A--- - -
--
;z
4
>
APPENDIX
ORDER
ll.A.
DYNAMICS.
Systems with inherent second-order dynamics can exhibit oscilla-
tory
(underdamped)
behavior
but
are
rather
rare
in
chemical
processes.
In this appendix we will present three simple units which can be encountered
1.
in
chemical
plants
and
which
possess
second-order
dynamics.
When the pressures at the top of the two legs are equal, the two
liquid levels are at rest at the same horizontal plane. Let us assume
that suddenly a pressure difference Ap = pl - p2 is imposed on the two
legs
of
the
manometer.
We
on the mano-
take,
forcepduEnt;ePgr;ssure)
1
_ (forcepduEnt;e;rqssure)
2
mass of liquid
( in the tube > x (acceleration)
or
ii A (2h) _ ( force due to ) = p$ (ll.A-1)
PIAl - p2A2 - p gc 2
fluid friction
C
where,
pl'p2
density
acceleration
conversion
gC
of
liquid
in
manometer.
gravity.
constant.
that
the
(plug
deviation
velocity
profile
in
the
We
tube
have
is
flow).
of
liquid
level
from
the
initial
plane
of
rest.
L
Poiseuille's
the
force
equation
due
(Poiseuille's
to
length
for
fluid
of
liquid
laminar
friction
in
flow
with
the
in
the
manometer
tubes.
pipe
be
flow
can
velocity.
used
Thus,
we
relate
have
equation)
rR4 AP
dh
(volumetric flowrate) = A dt = -811 L
where;
to
= radius
of
the
pipe
through
which
(ll.A-2)
liquid
flows.
viscosity
AP
Therefore,
applying
of
the
flowing
liquid.
L.
Poiseuille's
equation
to
the
flow
of
liquid
in
the
manometer, we take:
(ll.A-3)
Recall
also
that
the
v = dhldt
fluid
and
velocity
and
acceleration
are
dv/dt = d2h/dt2
given
by,
(ll.A-4)
pAL d2h
8pL.A dh
Ap*A -yh ---=-C
R2gc
dt gc dt2
we take,
+ 41.1L dh
gC
Tx+h=2pgAp
P@
(ll.A-5)
Define,
T2 = Ll2g ,
26~ = 4uL/psR2
and Kp = gc/20g
and
take,
T2 d2h
dh
- + 2r;T dt
+ h = KP'Ap
dt2
(ll.A-6)
Therefore,
k(s)-KP
(11 .A-71
T2S2 + 25TS + 1
*i(s)
of
For
the
the
manometer.
measurement
of
liquid
levels
quite
often
we
use
the
has
We
many
notice
that
similarities
the
with
system
the
of
the
manometer.
tank-displacer
The cross sectional
areas of the two legs are unequal and the Ap (external) pressure difference is caused by a change in the liquid level of the main tank.
Therefore,
h,(s)
'rn
-=
,;s2 + 26,T,S + 1
a)
2.
Variable
Capacitance
(ll.A-8)
Differential
Pressure
Transducer.
popular
ferences.
device
which
is
used
to
sense
and
transmit
pressure
dif-
of
the
sides
of
sensing
the
diaphragm
diaphragm.
is
detected
by
capacitor
A change in pressure pl
plates
on
in the process
tube
force
to
change.
balance
around
the
capillary
will
yield;
(mass)
(acceleration)
or
plA
- p2A
ALP
= (7)
C
d2x
(ll.A-9)
dt2
where,
A
cross-sectional
area
length
capillary
fluid
of
the
displacement
of
in
the
capillary.
tube.
the
capillary
tube
= displacement of diaphragm.
The force p2A at the end of the capillary is balanced by two forces,
i.e.
P# = (
resistance exerted by
viscous friction force
the diaphragm
)+( exercised by the fluid >
which acts like a spring
dx
=Kx+cz
(ll.A-10)
where,
K
(ll.A-11)
follows
second-order
T2 = A-u/g
c
'
dynamics.
If we define,
24 _ L
Fl (s) T2S2 + 2FTS + 1
3.
Pneumatic
The
ment.
Valve.
pneumatic
It
is
Consider
a
a
valve
is
system
the
that
typical
most
commonly
exhibits
inherent
pneumatic
valve
like
used
final
control
second-order
that
of
ele-
dynamics.
Figure
ll.A-3.
The position of the stem (or equivalently of the plug at the end of
the stem) will determine the size of the opening for flow and consequently
the
size
of
the
flow
(flowrate).
PA
This
force
acts
downwards.
- K x
diaphragm.
is
the
displacement.
dx
- Cx= frictional
contact
of
coefficient
Apply
Newton's
law
force
the
exerted
stem
between
and
It
with
stem
take:
M d2x
pA-Kx-Cz=r~
c dt
or,
acts
upward.
upward
and
valve
and
resulting
packing.
packing.
from
the
close
C is the friction
Let,
T2
= M/Kg
'
XT = C/K , K = A/K
and take,
=2 -+
d2x
dx x = Kp*p
2<r dt+
dt2
The last equation indicates that the stem position x follows inherent
second-order dynamics, when p changes.
ad
P(s)
A/K
_
(g-)s2
(ll.A-12)
+ ; s + 1
k - --c
_-L -_L-..- -.- t -.
L
_
.
_
.
.
-.
c_
cc
_-:r+
-_ -.-_
- _. -- -.L ._ __ - _ ,
CHAPTER 12
THE
Systems
with
higher
Three
processes.
DYNAMIC
are
BEHAVIOR
than
the
OF
HIGHER-ORDER
second-order
most
often
dynamics
encountered
SYSTEMS
are
not
classes
uncommon
of
in
chemical
higher-order
systems:
-
first-order
processes
in
series
(multicapacity
processes)
Processes
this
with
inverse
chapter
we
response.
will
analyze
their
typical
dynamic
characteristics.
Section
non-interacting,
11.3
give
we
found
rise
to
that
a
two
capacities
second-order
in
series,
interacting
or
system.
response
function
is
is
ans n
of
an
+
n-th
n-th
anls
order,
order
n-l
+
i.e. the
denominator
of
the
overall
trans-
polynomial,
** + als + a0
is
given
by
eqn.
(11.21)
K
Go(s)=G1(s)G2(s)"'GN(~)
p1
s+l)(T
= (T
p2
p1
where Gl(s),
For
G2(s),***,
interacting
In
11.3
PN
we
the
overall
studied
the
transfer
basic
function
dynamic
is
be
easily
N capacities in series.
drawn
from
the
discussion
in
more
characteristics
(11.21)
s+l)
capacities
Section
**OK
'2
'N
s+l)***(-r
Similar
complex.
of two
analysis
is
11.3.
A.
-
response
the
characteristics
oscillatory
and
very
sluggish.
Increasing
the
number
of
the
B.
-
has
of
an
in
series
capacities
overdamped
system,
increases
the
i.e.
it
is
sluggishness
not
of
response.
INTERACTING N CAPACITIES IN SERIES
Interaction
It
is
necessitate
increases
clear
the
sluggishness
therefore,
controller
that
which
will
of
the
process
with
not
only
overall
response.
keep
the
final
output
at
desired
value but will also try to improve the speed of the system's response.
Let us now examine some typical examples of processes with N capacities
in
series.
Example
12.1
- Jacketed
Reactors
as
Multicapacity
Processes
Consider the batch reactor shown in Figure 12.la. The reaction is exothermic and the content of the reactor is cooled by constant flow of cold
water
circulating
capacities
in
through
the
jacket.
We
can
identify
the
following
three
series:
Heat
capacity
of
the
reactor's
wall.
the
jacketed
CSTR
of
Figure 12.lb
i.e.
-
total
material
capacity.of
the
tank,
we
have
more
interacting
capacities,
29
heat
capacity
of
the
reactor's
content,
five
According
reactors
Example
to
capacities
to
what
input
are
interacting.
we
have
said
changes
will
be
rather
slow.
Distillation
chemical
and
processes
gas
for
absorption
the
columns
separation
of
Each
are
very
mixture
tray
has
often
encountered
in
Both
into
its
components.
material
and
heat
capacities.
Therefore,
capacities
in
easy
to
see
series.
that
Therefore,
top
of
the
the
From
2N
absorption
capacities
column
of
solvent
in
because
the
input
change
in
physics
of
distillation
the
produces
valuable
has
to
and
absorption
it
is
interact.
content
capacities
the
very
delayed,
component
travel
response
for
the
through
large
ratio
of
number
of
interacting
series.
Similarly, a
step
change
in
the
reflux
distillation
column
(see Figure 4.10) will have quickly an effect on the composition of the overhead
product
sluggishly
while
(delayed
the
and
composition
of
the
bottoms
an
immediate
will
respond
very
slow).
stream
effect
on
the
composition
of
bottoms
stream
since
few trays intervene between the returned to the column stream V and the
very
product
will
be
delayed
and
effect
very
on
the
composition
of
the
over-
slow.
taneously
change
took
observed
and
contrary
to
will
involve
some
in
place
the
our
in
behavior
physical
time
the
delay
input
of
the
experience.
between
variable,
the
output
its
variable.
Virtually
input
effect
all
and
the
was
instan-
physical
processes
output.
input
(forcing
function)
f(t).
We
can
while
for
For
first-order
such
system
by
system
we
have
the
following
the
delayed
function,
the
dead
time we
have
[y(t) 1
the
(see
Section
7.2,
eqn.
(7.10))
-t&i
[Yet - td)l
Therefore,
the
represent
= e
transfer function
between
the
input
f(t)
and
output
I
-tds
[Ytt - t,)l
[f(t) 1
Similarly,
by,
the
KP'e
rPs + l
transfer function
for
second-order
system
with
delay
is
given
-tds
- t$l
[f(t)1
[y(t
(1)
Remarks:
Figure
KP e
=
12.3
(12.2)
T2S2 + 25TS + 1
shows
the
response
of
first
and
second-order
sys-
Quite
often
the
exponential
first-order
the
first
(12.3a)
approximation
second-order
^ ^
(td)'sL + 6tds + 12
Processes
output
by
(td)2s2 - 6tds + 12
-tds
(3)
approximated
approximations
- 2
& '
::
is
td
1
ewtds
term
with
does
dead
not
time
are
contain
difficult
information
to
about
.approximation
_
(12.3b)
control
because
current
events.
the
dynamic
behavior
of
certain
the
called
opposite
Inverse
small
number
Example
direction
Response
of
Consider
the
to
or
We
Inverse
simple
where
it
Nonminimum
processing
12.3 - The
deviates
notice
that
eventually
Phase
and
consequently
the
initially
ends
from
the
what
Such
up.
response
behavior
Response
and
it
is
exhibited
Liquid
Level
in
Boiler
is
is
by
units.
Response
drum
boiler
of
the
shown
in
Figure
drastically
processes
liquid
level
will
be
If the flowrate
P.II-10.
total
decreased
volume
for
System
of
a
the
short
boiling
period
and
then
it
will
start
Such behavior is the net result of two opposing effects and can be explained
as
follows:
The
cold
the
entrained
of
the
12,4b),
-
feedwater
With
temperature
water,
the
liquid
following
form
level
(pure
drop
which
decreases
the
volume
of
bubbles.
first-order
integral
i.e.
vapor
boiling
sequently
an
causes
of
steam
the
capacity)
behavior
production
boiling
water
leading
to
(curve
remains
will
pure
in
constant
start
Figure
and
increasing
capacitive
conin
response,
and
K
-
p1
s+l
rpl
-K
)s+K
'c
p2 p1
p1
p2
S(T s+l)
p1
(12.4)
for
K-r
p2 Pl
the
(K
second
response.
<K
p1
term
response.
[Note:
function
The
When
has
above
opposing
K 'c <K
then
p2 p1 p1
a positive zero.]
example
demonstrates
effects.
Table
or second-order systems.
an
inverse
response,
its
12.1
In
from
that
the
shows
all
transfer
(12.4) we
eqn.
inverse
several
cases
we
function
response
such
notice
has
notice
that
is
the
opposing
that
result
effects
when
positive
the
the
zero.
transfer
of
between
system
two
first
possesses
In general,
the
transfer
function
of
system
with
bmsm + b,-lsm-'
G(s) =
ansn + anels
inverse
response
is
given
by
** + bls + b.
where one of the roots of the numerator, i.e. one of the zeros of the transfer
function
has
positive
Systems
with
real
part.
inverse
response
are
particularly
difficult
to
control
require
special
Example
Figure
attention.
12.5a
effects
result
response
equal
and
shows
from
two
another
possibility
different
of
first-order
inverse
response.
Two
opposing
processes,
yielding
an
overall
to
K
Y(s)
K
p1
p2
(
s+l - T s+lms)
Tpl
p2
(K r
-K
T )s+(K
-K >
p1 p2
p2 p1
p1
p2
(T s+l)(,r SSl)
p1
p2
or
Y(s)
We
have
inverse
initially
ultimately
i.e.
Figure
[Note:
system's
response
PROCESS
_. _
PROCESS
1
1
when
reacts
slower
reaches
than
higher
PROCESS
steady
2,
state
i.e. T
> T
but
p1
p2'
value than PROCESS 2,
> K
p1
12.5b
When
p2'
shows
the
inverse
response
of
the
overall
'I
>'c
,K
>K
and K 'I < K 'c
p1
p2
p1
p2
p1 p2
p2 p1
transfer function has a positive zero, i.e.
system.
we find that the
- K
p1
p2
K T
-K
T
p1 p2
p2 p1
processing
systems
may
exhibit
higher
order
The
response.
most
common are; (a) N capacities in series, (b) systems with de-d time and (c)
systems
with
sluggish
and
if
inverse
response.
the
The
capacities
time.
First-order
in
chemical
response.
sluggishness
are
with
dead
process.
The
effects, usually
the
interacting.
time
inverse
difference
of
covers
time
difficult
delay.
to
Systems
control.
with
the
number
of
capacities
response
the
with
large
is
the
responses
first
significant
majority
and
dead
result
between
of
of
(a)
second-order
time
and
dynamic
two
elements
opposing
first-order
systems,
inverse
with
response
or
I
I
I
I
I
I
3
I
I
I
I
I
I
2.
Using the above definition why is a system with dead time a higher-order
system?
3.
(Hint:
system?
or interacting capacities in
Consider
N identical non-interacting
capacities
dead time T
5.
What general type of responses would you expect for the overhead
How many capacities can you identify in the mixing process of Example
4.11? Are th-ey interacting
7.
why?
8.
9.
Shw qualitatively
distillation
10
inverse behavior.
or not?
(rOnsuIt
References
I , 1.
REFERENCES
Chapter
6:
Two
very
good
references
on
computer
simulation
(digital
or
Engineers
by
analog)
Chemical
(1973).
(2)
by
Both
books
the
neering
can
and
our
for
also
series
demonstrate
enhance
trollers
are
provide
digital
to
understand
systems.
included.
For
examples
how
ability
such
of
Computer
more
solution
of
algebraic
or
consult
the
following
two
computer
the
differential
on
from
dynamics
in
the
E.
of
of
develop
FORTRAN
for
the
Franks,
chemical
chemical
and
numerical
equations
G.
area
simulation
programs
details
classic
drawn
R.
reader
processes
better
con-
typical
techniques
is
engi-
systems
for
the
encouraged
to
books:
The
notion
and
the
linear
approximation
standard
the
texts
on
characteristics
of
of
nonlinear
the
Taylor
systems
can
R.
Luther
series
be
and
J.
expansion
as
found
in
all
D.
well
as
the
calculus.
us
to
which
ascertain
the
the
linearized
range
model
of
is
values
around
the
point
6.1
was
Russell
motivated
by
and
where
Denn
the
linearization
acceptable.
of
physical
the
reader
system
can
analyzed
book
by
find
more
(6)
Prentice-Hall,
in
Section
2.3
of
information.
W.
F.
Russell
and
the
The Laplace
Chapters 7 and 8:
of
transforms
the
reader
will
(7)
For
the
use
of Laplace
more
details
find
useful
edition, by
transforms
to
the
on
the
the
R.
V.
solution
theoretical
following
book:
Churchill,
of
aspects
McGraw-Hill
differential
equations
(ordinary, partial or sets of) the book by Jenson and Jeffreys can be very
valuable.
(8)
by
V.
G.
Jenson
and
G.
V.
In the following two references the reader can find tables with the Laplace
transformation
of
large
number
of
functions:
Handbook
Stegun,
Chapter
10:
of
Mathematical
Functions,
and 9)
and
an
momentum
valuable
. Abramowity and . .
by
extensive
balances,
physical
coverage
with
interpretation
The
of
first-order
large
of
interested
number
the
systems
of
notion
reader
will
based
examples.
of
capacity
find
on
(Chapters
mass,
energy
It provides also a
for
various
pro-
T. W.
Weber,
J.
cessing systems.
(11)
and
Control,
by
Wiley
In the books by Douglas [Ref. 51 and Coughanowr and Koppell [Ref. 121 the
reader
inputs.
can
find
the
response
of
first-order
systems
to
impulse
or
sinusoidal
Chapter
11:
The book by Weber [Ref. 111 is also an excellent reference for the
contains
find
examples
quite
useful.
Douglas [Ref. 51
of
inherently
second-order
which
the
reader
the
reader
can
find
impulse
and
sinusoidal
inputs.
For
mounted
level
measuring
systems,
or
order
systems
characteristics, the
reader
the
response
more
the
can
of
information
manometers,
consult
the
second-orcer
on
the
and
and
systems
to
externally
their
References
will
dynamic
18
second-
(Chapter 18),
The
following
variable
control
two
references
capacitance
differential
F.
consulted
pressure
for
G.
Shinskey,
further
transducer
McGraw-Hill
details
and
the
on
the
pneumatic
Chapter
the
be
by
valve.
can
edition,
12:
bottoms
Luyber
[Ref. l]
composition
of
has
good
distillation
Engineers,
discussion
on
the
inverse
column
change
in
to
by
response
the
of
vapor
paper:
(16) "by W. L. Luyben, Inst. Chem. Eng. (London), Symp. Ser. No. 32, p. 6
(1969)."
Iinoya
and
exhibit
inverse
situations
(17)
Altpeter
[Ref. 171
response
(transfer
and
discuss
give
functions)
the
table
which
give
characteristics
of
the
rise
most
to
inverse
response
of
common
inverse
of
and
the
systems
which
physical
response.
R.
J.
Altpeter,
boiler.
A-B
,
I Figwe
12 . 31
I-
,!%.
S
Input
+)
k
.
t,st4
*<
-- ----
(. a )
Cb)
C-+.
PsoCEsS 1
cc )
S
output
>
PROCESS
?j (9
Table
1.
12.1.
for
P2
K
P2
G(s)
2.
<
p1
-K
)s+K
p1
p1
P2
S(T s+l)
p1
(K T
p1
s+l
P2
Tpl
zero = -K
p1
/(K
p2
T
p2
p1
-K)>O
p1
K
-K
T )s+(K
(K T
-K >
p1
p2
p1
p2
p2
p1
p1
p2
G(s) =
s+l - T s+l =
CT s+l)(T
s+l)
Tpl
P2
p1
p2
for
3.
K T <
p1 p2
Difference
K 'I
P2 p1
between
zero = (K
-K
T )
- K )/(K
-r
p2
p1 p2
p2 Pl
p1
two
first-order
responses
-T
4.
Second-order
l e
first-order
Difference
between
two
>K
and T
>'I
L 0
p2
dl
d2
p1
p2
for
s+l
second-order
>K
K
p1
P2
for
r;s2 + 2C2T2S + 1
I
6.
p2
Pl
responses
K
G(s) =
p1
T2S2 + 25TS + 1
5.
for
response
K
G(s)
time
s+l
minus
dead
d2
P2
G(s) =
with
2
T2
K
p1 >
-7j K
Tl
p2
I
-T
K
G(s)
l e
dl
p1
T;s2 + 2yp + 1
-T
l e
S
d2
P2
T;s2 + 2c2T2S
for
+ 1
K >K
and
p1
p2
dl Id2 2 0 .
PART
ANALYSIS
In
systems
Part
III
we
under
the
influence
manipulated
system
in
AND
to
studied
variables).
respond
controlling
in
the
DESIGN
the
of
IV
OF
FEEDBACK
dynamic
changes
CONTROL
behavior
in
the
of
input
SYSTEMS
various
typical
variables
processing
(disturbances
or
specific
behavior
of
manner:
the
in
other
words,
we
were
not
interested
process.
Starting with Part IV, our main concern will be; how can we control a
process
in
order
input changes.
as
FFEDBACK,
VI
we
to
We
which
will
exhibit
will
we
discuss
certain
start
with
touched
the
upon
additional
desired
very
control
response
most
common
briefly
in
in
the
control
Chapter
configurations
presence
configuration
2.
such
of
known
In Parts V and
as;
feedforward,
Discuss
the
Identify
control
the
and
Analyze
learn
notion
types
examine
the
how
to
of
the
of
feedback
their
stability
design
feedback
effect
loop
controllers
on
the
characteristics
the
and
appropriate
of
present
which
response
a
feedback
its
are
of
feedback
system
hardware
available
a
for
chemical
control
elements.
process.
system
to
control
during
the
process
and
given
process.
-
Solve
some
feedback
special
problems
controllers.
which
are
encountered
design
of
1
/
I
CHAPTER 13
INTRODUCTION TO FEEDBACK CONTROL
In Chapter 1 we introduced the notion of a feedback control system. In
this chapter we will expand the discussion by introducing the hardware elements
of a feedback system and the types of the available controllers.
13.1 THE CONCEPT OF FEEDBACK CONTROL
Consider the generalized process shown in Figure 13.la.
It has an output
manner and our control objective is to keep the value of the output y at
desired levels.
- Measures the value of the output (flow, pressure, liquid level, temperature,
composition) using the appropriate measuring device.
Let
yrn
be the value
Usually, the
controller does not affect the manipulated variable directly but through
another device (usually a control valve) which is known as the final control
element.
Figure 13.lb summarizes pictorially the above three steps.
The system in Figure 13.la is known as open loop in contrast to the feedback controlled system of Figure 13.lb which is called closed loop. Also, when
the value of d changes. the response of the first is called open-loop response
while
that
of
the
closed-loop
is
evident
Example
The
13.1
second
is
from
Feedback
following
the
the
Figure
Control
represent
closed-loop
response.
13.lb.
Systems
some
typical
feedback
control
systems
which
are
(4
Flow control.
(b)
Pressure
Control.
The
feedback
system
in
Figure 13.2~
controls
the
(cl
used for the control of the liquid levels at the bottom of a distillation
column
Cd)
and
its
Temperature
condenser
Control.
accumulation
tank.
Cd
Composition
Control.
Composition
is
the
controlled
variable
in
the
To
simplify
the
presentation
of
feedback
control
system,
we
will
controller,
following
with
simple
circle
carrying
the
one
of
characterizations:
for
composition
control.
Also, little squares with the characterizations LT, TT, PT, FT, CT are used to
indicate
level,
transmitters.
temperature,
13.2d, respectively.
All
the
feedback
1.
control
place
Measuring
bellows
examples
loop
Process, the
take
2.
above
are
indicate
the
material
heat
instruments
or
diaphragms
the
basic
hardware
components
of
following:
equipment
(tanks,
or
that
where
the
exchangers,
reactors,
sensors, like
(for
pressure
physical
or
separators,
thermocouples
or
chemical
liquid
etc.).
(for
level),
operations
temperature),
orifice
plates
Transmission
to
the
lines, used
controller
and
the
or
liquid)
Controller,
it
or
to
carry
the
control
These
measurement
signal
lines
from
can
be
signal
the
from
controller
either
the
to
pneumatic
sensor
the
(compressed
electrical.
also
includes
the
function
of
the
comparator.
This
is
the unit with logic that decides by how much to change the value of the
5.
/
manipulated
variable.
value
point).
(set
requires
It
the
the
pump.
This
controller
manipulated
is
and
the
the
specification
control
device
implements
that
it
by
valve
or
receives
of
a
the
physically
the
desired
variable-speed
control
adjusting
signal
the
value
variable.
and
different
an
output.
equation
or
Consequently,
equivalently
their
by
behavior
transfer
can
be
function.
described
In
the
by
following
sections of this chapter we will take a closer look at the dynamics of these
hardware
elements.
the
measuring
device
and
Its
the
function
final
is
control
to
receive
elements
the
measured
signal
to
the
output
produce
the
Therefore,
YSP'
comes
various
types
of
E(t) =
continuous
output
and
may
be
an
electrical
There
(b)
of
pneumatic
one
are
functions
of
for
three
basic
essentially
Proporational
Its
output
Kcc(t)
of
(c)
the
is
+
for
feedback
among
same.
(or
air)
on
its
pneumatic
construction
controllers
controllers;
(a)
or
proportional,
proportional-integral-derivative.
differ
Controller.
actuating
c(t)
and
depends
controllers.
types
may
controller
(compressed
electronic
construction
are
feedback
signal
proportional-integral
details
A.
signal
the
Let
us
various
study
manufacturers
each
one
The
but
their
separately.
Controller)
proportional
to
the
error,
i.e.
(13.1)
cs
The
proportional
controller
or
equivalently
PB
proportional
by
is
its
described
by
the
proportional
band,
the
over
value
of
its
proportional
PB
loo/Kc
band
characterizes
range
which
the
error
must
change
in order to drive the actuating signal of the controller over its full range.
Usually,
PB
<
500
It is clear that,
"the larger the &ain Kc
smaller
the
controller's
and
or
c(t)
c(t)
c(t)
c(t)
K$t)
equation
yields
smaller
actuating
of
-
the
the
the
signal
actuating
proportional
will
signal
band
the
be."
by
cs
take,
The
last
(13.2)
the
following
transfer
function
for
proportional
controller
Gc(s>
(13.3)
Kc
Proportional-Integral
B.
Controller
(or
PI
Controller)
signal
c(t)
is
related
KCW
to
the
KC
-y-
I
where
an
r1
it
c(t)dt
by
the
parameter
varies
in
and
the
is
equation,
(13.4)
cs
adjustable
Usually
error
Its
sometimes
in
referred
minutes.
to
as
minutes
per
repeat.
range
0.1 I TI 5 50 minutes
Some manufacturers do not calibrate their controllers in terms of TI but in
terms of its reciprocal l/rI (repeats per minute), which is known as reset
rate.
At this point it is instructive to examine the origin of the term "reset".
Consider that the error changes by a step of magnitude E. Figure 13.4 shows
the response of the output of a controller as it is computed from eqn. (13.4).
3f3,
After a period of rI
c(t)dt
K
= 2 EATS = Kc~
r1
i.e. the integral control action has "repeated" the response of the proportional
action.
This repetition takes place every TI minutes and has lent the name
Therefore,
Gc(s>
C.
(or
proportional-plus-reset)
controller
is
given
by
(13.5)
= Kc(l +-+-)
I
ProportionalrIntegral-Derivative
controller.
c(t)
Kc
= K$t) + y
dc
E(t)dt + Kc 'D dt
(13.6)
where
TD
With the presence of the derivative term, Kc d&/dt, the PID controller
anticipates what the error will be in the immediate future and applies a control
action which is proportional to the rate of change in the error.
Due to this
property,
the
derivative
control
action
is
sometimes
referred
to
as
"anticipatory
3
control".
The
-
For
major
response
since dc/dt
-
For
and
drawbacks
the
constant
derivative
non-zero
control
error
it
action
gives
are
no
the
following:
control
action
= 0.
noisy
thus
with
of
response
with
large
control
yield
almost
zero
action,
error
it
can
although
it
is
compute
not
large
derivatives
needed.
From eqn. (13.6) we can easily derive the transfer function of a PID controller,
Gc(s>
13.3
= Kc(l+
m~ME;AsuRING
The
critical
DEVICES
successful
manner
(SENSORS)
operation
upon
the
of
good
uncorrupted
transmission
of
requirement
implies
need
the
(13.7)
-& + TDs)
I
any
feedback
measurement
the
of
the
measurement
for
an
control
to
accurate
system
controlled
the
depends
outupt
measuring
device
and
The
controller.
in
while
very
the
first
the
second
is
large
number
of
commercial
sensors.
They
differ
either
in
the
IV
or
the
technical
Let
us
look
the
most
common
A.
Flow
Sensors
The
those
The,
flow
which
using
more
measure
the
closely
process
sensors
well
booklets
at
circulated
the
various
by
the
various
manufacturers.
typical
sensors
used
to
measure
outputs.
most
the
known
commonly
pressure
(from
employed
gradient
fluid
in
the
developed
mechanics)
industrial
across
equation
a
of
practice
are
constriction.
Bernoulli,
we
can
compute
the
flow-rate.
are
typical
examples
of
sensors
based
on
the
above
but
also
more
The first
principle.
accurate.
A different sensor is the turbine flow meter which uses the number of
turbine
revolutions
Flow
sensors
to
compute
have
very
the
fast
flowrate
dynamics
of
and
liquids
they
quite
are
accurately.
usually
modeled
by
is
the
sensor,
flow
striction
B.
and
(13.8)
a&constant
by
the
construction
characteristics
of
and
determined
point
with
fully
developed
flow.
plate,
transducer
device.
has
Venturi
become
Pressure
The
tube).
very
variable
Figure
popular.
differences
cause
small
capacitance
ll.A-2
shows
displacements
differential
a
of
schematic
the
pressure
of
such
sensing
on
both
sensing
force
sides
of
diaphragm
balance
the
and
around
the
the
diaphragm.
capacitor
sensing
The
plates
diaphragm
differential
is
leads
converted
to
the
capacitance
into
between
d-c
voltage.
following second-
order model
2 d2z
'cdt2
where
25~
dz
dt
Kp*Ap
(13.9)
is
the
the
AP
T,C,K
actuating
details
Chapter
on
11.
by
the
the
sensing
difference,
diaphragm,
and
the
constructional
development
Various
of
pressure
For
displacement
other
of
the
device.
of
types
characteristics
sensors, all
of
of
them
measuring
the
dis-
placement of a mechanical part under the influence of Ap, are also in use.
C.
Temperature
The
most
Sensors
common
thermistors.
All
thermocouples, resistance
are
provide
the
measurement
in
bulb
terms
of
thermometers
electrical
and
signals.
temperature
sensing
element
is
always
inside
thermowell,
Figure
13.7.
transfer
thermowell
is
located
outside
the
casing.
single capacity with resistance and as we know from Chapter 10, it is modeled
by
first-order
system,
dTm
-+
=P dt
In
the
inside
in
second
and
series
and
second-order
Tm
case
outside
as
of
eqn.
construction).
(13.10)
the
casing.
we
thermowell
know
(overdamped)
the
T
we
from
dT
-$
have
Chapter
behavior,
25~
(Figure 13.6b)
istics
i.e.
+ Tm
11
major
heat
transfer
This
is
equivalent
the
thermocouple
film
to
reading
resistances
two
capacities
will
exhibit
i.e.
= T
(13.11)
temperature
sensing
device
(i.e.
thermocouple,
casing,
materials
13.8).
D.
Composition
Analyzers
They
analyzers.
are
used
to
and various
measure
the
composition
present
The
(dead
in
dominant
time)
in
dynamic
their
chromatographic
column,
process
to
stream
process
stream.
feature
response,
the
of
which
time
can
required
column, plus
the
composition
the
be
by
analyzers
quite
the
time
is
large.
sample
required
Thus,
to
to
the
time
for
travel
travel
delay
from
the
through
the
column, plus the time needed by the detector at the end of the column to
respond,
can
be
quite
large.
Such
long
time
delays
result
in
ineffective
control.
Other
features
operational
characteristic
reliability
(easy
of
composition
breakdown)
and
(b)
analyzers
their
are;
(a)
relatively
their
high
low
cost.
are
used
control
signal
to
mission
lines; the
the
the
long,
the
dynamic
from
consideration.
that
the
carry
final
the
process
of
element.
(compressed
changes
behavior
measurement
control
pneumatic
Unless
found
to
very
a
fast
signal
to
pneumatic
controller
and
the
air, liquids)
or
the
the
and
the
transmission
transmission
line
electrical.
lines
can
be
are
very
neglected
following
transfer
function
correlates
successfully
the
pressure
at the outlet (PO> to the pressure at the inlet (Pi) of the pneumatic line,
-Td s
p,(s)
e
-=rps+l
pi
with
r /T s 0.25.
d P
IN
[Note:
the
subsequent
pneumatic transmissioLl
lines.]
are
the
control
and
adjust
The
the
hardware
action.
They
accordingly
most
common
components
receive
the
the
value
final
of
of
control
the
output
the
control
of
is
which
controller
manipulated
element
loops
implement
(actuating
signal)
variable.
pneumatic
valve
(Figure ll.A-3).
This is an air operated valve which controls the flow through an orifice by
positioning appropriately a plug.
output)
consequently
above
the
the
plug
diaphragm
restricts
increases,
the
flow
the
stem
through
the
is
lost, the
valve
will
There
are
pneumatic
air
moves
pressure
down
orifice.
(con-
and
Such
valve
is
open" since
"fail
the
the
valves
spring
with
would
push
opposite
the
actions,
valves move from fully open to fully closed as the air pressure at the top of
the diaphragm changes from 13 to 15 psig.
In
Appendix
11-A
of
we
mathematical
which
describes
the
order.
term
will
remain
signal)
For
to
the
dynamics
which
fluid
non-flushing
F =
can
be
relates
flow
control
model
behavior
that
pneumatic
the
dynamic
fast
developed
neglected.
the
through
liquids
the
valve.
output
the
valve.
flow
through
the
the
controller
valve
is
(air
given
pressure
by,
where
AP
= a constant
specific
f(x)
valve
The
valve
shape
of
the
the
pressure
drop
flow
plug's
the
valve,
flow
across
of
the
flowing
characteristic
characteristic
surface.
liquid
curve.
curve, f(x),
Figure
and
depends
13.10
shows
the
Figure
13.11
shows
on
most
the
geometrical
common
the
types
flow
of
capacity
final
control
elements
equipment, variable-drive
actuators,
motors
include
for
relays
fans
to
start
or
pumps, heavy
or
stop
load
various
electrohydraulic
etc.
from
most
desired
value
controller's
set
Every
the
common
for
the
control
of
chemical
of
value
the
action
is
to
activate
the
manipulated
variable
such
the
that
controller,
through
output
the
variable
which
in
final
control
is
turn
returned
will
element.
to
the
point.
feedback
process,
(b)
loop
is
measuring
system
with
input
composed
sensor,
configuration
Its basic idea is to measure the controlled variable and use its
the
desired
(a)
is
Each
and
of
(c)
of
the
controller,
these
output.
following
(d)
elements
Their
hardware
dynamic
final
should
be
behavior
components;
control
element
considered
can
be
as
modeled
using the same principles as in Part II, and as we will see in Chapter 14, it
is
very
The
Integral
crucial
three
(PI
for
types
or
the
of
closed-loop
feedback
response
control
Proportional-plus-Reset)
of
the
controlled
process.
Proportional-Integral-Derivative
(PID
or
response
chapter
Proportional-plus-Reset-plus-Rate).
varies
we
There
elements.
requires
and
The
be
also study
will
is
will
great
their
variety
selection
information
extensively
which
of
the
the
analyzed
relative
of
measuring
appropriate
reader
can
Their
in
on
Chapter
and
devices
(sensors)
find
in
is
the
14.
advantages
element
effect
In the same
disadvantages.
and
important
technical
closed-loop
final
but
manuals
control
it
and
hand-
2.
feedback
Describe
control
one
are
the
strengths
and
weaknesses
of
system?
example
of;
(a)
flow
control,
(b)
control, (c)
pressure
and which are not the same as the examples covered in this chapter.
Draw the appropriate diagrams.
3.
4.
Define
an
open,
closed,
What
are
Identify
the
Write
and
loop?
the
temperature
5.
open-loop
Also
basic
Bernoulli's
define
hardware
hardware
control
closed-loop
equation
an
difference
tank
for
points
between
the
in
stirred
of
present
two
Why
open-loop
components
elements
of
system.
do
we
or
closed-loop
feedback
feedback
use
the
response.
control
loop
term;
loop?
for
the
heater.
of
Venturi
tube
and
show
points,
i.e.
prove
the
essence
of
eqn. (13.8).
6.
The
model
for
variable
capacitance
pressure
Is
inherently
this
it
second-order
mean
possible
for
the
to
have
and
can
exhibit
applicability
an
of
oscillatory
transducer
It
shows
underdamped
such
device?
behavior
by
the
measured
the
was
that
developed
the
system
response.
indicated
What
tem-
temperature
(T)
account,
before
deciding
pneumatic
control
valve.
changes by a step?
8.
Discuss
if
you
some
would
of
the
use
an
factors
you
air-to-close
should
or
take
into
air-to-open
9.
Compute
the
ramp
change
the
contributions
On
the
in
basis
derivative
10.
response
the
of
error
of
of
control
References
factors
which
PD
E,
the
this
Consult
(Proportional-Derivative)
i.e. E = at
proportional
example
with 01 = constant.
and
discuss
controller
the
derivative
nature
Sketch
actions
anticipatory
to
separately.
of
the
term.
6
(Chapter
affect
the
15)
and
selection
of
(Chapter
the
valve
10)
and
type,
discuss
i.e.
the
linear,
When
an
error
E(t)
increases
Idt)dt
troller
to
its
maximum
and
allowable
may
lead
the
output
value.
We
say
that
of
the
PI
con-
controller
has saturated and in physical terms it means that the valve is fully
open
before
or
closed
the
error
before
has
the
been
control
driven
action
to
zero.
has
been
This
completed,
situation
is
i.e.
also
known
as reset windup. How would you handle such a situation? You can consult References 7 and 15.
COtiTROLLER
--------- MECHAtil
- - _ _Sti
_ _ r
CWJTROUER
tt)
- _ _ _ _ _ _ _ _ _:
Y?lL
t&&WiSW
- Conlroll~~
- - - - - - - - - - - - - - - I
a.;>:a., . ,.J -
FINAL
CONTfZOL
ELEMENT
U&VICE
?I
PP cell
LiL
Orif iCf2
~Ficpre
cs
..
..
.
..
13.31
.
.w
.
> time
g%-,
;--Alp---,
_-.. ._-
Prcc ess
Trmpautun
-I-
ExtfAcd film.
wsi sbw2, 6.
c a.)
_7-
t?
Square
700
I Figure
0.B
0.3
0.6
/3.10(
CHAPTER 14
THE
In
the
DYNAMIC
previous
system
and
we
analyze
the
dynamic
control
system
yd
change.
chapter
discussed
we
its
behavior
when
This
BEHAVIOR
the
of
a
of
will
FEEDBACK
defined
hardware
values
analysis
OF
the
basic
notion
components.
process
the
be
CONTROLLED
which
done
by
of
feedback
control
disturbance
PROCESSES
controlled
(load)
considering
or
various
by
of
feedback
the
types
set
of
point
feed-
of
and
final
its
relating
of
the
the
generalized
four
components;
control
its
closed-loop
element, we
output
to
its
tmds
transmission l-es,
system
process,
can
inputs.
measuring
write
In
shown
the
in
device,
Figure
controller
corresponding
particular, if
we
13.lb.
transfer
neglect
the
For
mechanism
function
dynamics
we have:
Process
y<s>
Measuring
(14.1)
Device
= G,(s)
Y,(s)
Controller
(14.2)
y(s)
Mechanism
E(S)
Y,,b>
C(s)
= Gc(s)
Ym<s>
E(S)
comparator
(14.3a)
control
(14.3b)
action
Gf(s)
and
outputs.
(14.4)
Z(s)
are
the
transfer
functions
between
the
corresponding
Figure
14.1
shows
the
block
diagram
for
the
generalized
closed-loop
system
block
diagram
The
G
series
hnd (14.4).
of
of
Figure
block
Notice
the
direct
correspondence
between
between the
comparator
and
the
controlled
output,
i.e.
and G
constitutes the forward path, while the block Gm is on the
P
feedback path between the controlled output and the comparator, If G=
C
Gf
GcGfGp
then
Figure 14.2a
block
diagram.
Algebraic
shows
manipulation
m(s)
of
simplified
the
= Gf (s)C(s)
above
last
expression
in
3s) = Gp(s)(Gf
and
after
readjustment
equations
of
eqn.
the
yields:
(14.3b)
(14.3a)
(14.2)
- G,(4Tb)l
(14.1)
(s)G=(s)
[y,,(s) - G,(s)y(s)
1) + Gd(s);i(s)
take;
GpbNf (s)G,(s)
() =
version
[j;,,(s) - T,(s) 1
= Gf(s)Gc(S)[~Sp(s)
the
equivalent
= Gf WGc(s>3s>
= Gf(s)Gc(s>
Put
but
4+Gp(s)Gf(s)Gc(s)Gm(s)
Gd(S)
S+)
+4+Gp(s)Gf(s)G,(s)Gm(s)
()
(14.5)
Equation (14.5) gives the closed-loop response of the process. We notice
that it is composed of two terms.
output of a change in the set point while the second constitutes the effect
on the output of a change in the load (disturbance).
functions
are
known
as
GpGfGc
l+GGGG
p f c m
closed-loop
'
G
l+GG m
transfer
functions.
The
In
corresponding
transfer
particular
GSP
is the closed-loop transfer function for a change in the set point and
(14.6)
Gd
l+GGGG
p f c m
is
the
shows
closed-loop
block
For
every
Servo
set
transfer
diagram
servo
function
equivalent
feedback
problems; the
-
Gd
' 1 + GGm =
or
control
the
for
to
that
system
regulator
(14.7)
GLOAD
change
of
we
in
the
Figure 14.2a
but
further
distinguish
two
types
can
undergoes
as to keep y
of
control
problem.
change.
The
feedback
controller
acts
changes.
Y(s)
the
such
= 0 while
&+>
Then
= GLOAD(S)
feedback
way
(14.8)
GspWs;sp(s)
in
In such case,
T(s)
and
simplified.
Problem; the disturbance does not change, i.e. j(s) = 0 while the
point
the
Figure 14.2b
load.
(14.9)
ii(s)
controller
tries
to
eliminate
the
impact
of
the
load
the
dynamics
control
Example
elements.
point
or
whose
selection
14.1 -
Consider
of
load
the
measuring
Consequently,
changes
depends
becomes
sensors,
the
on
closed-loop
the
therefore
controllers
dynamics
of
and
depend
final
response
for
set
these
elements
critical.
the
liquid
level
control
system
for
the
tank
of
Figure 14.3a.
the
manipulated
variable.
The
transfer
functions
for
each
component
The
Process.
material
balance
Adh=F
dt
i
-F
around
the
tank
gives
Device.
This
transducer
(section
13.3)
h.
can
be
measuring
variable
the
capacitance
pressure
of
differential
liquid
column
pressure
of
height
The dynamic response of the sensor is given by eqn. (13.9). Let Ap = a*h
where a
is
constant.
Then
take,
T2 -+2&$+2=
d2z
dt2
where
the
(14.10)
z - hm, i.e.
transfer
the
function
value
for
the
Kp*Ap
indicated
sensor
by
Kp*a*h
the
measuring
device.
Therefore,
is:
Kpoa
Eim(s>
(14.11)
i;(s)
T2S2 + 2qLs + 1
Controller.
Let hSP
Z(s)
= $pw
Then,
- Grnw
F(s)
= Kc(l
Control Valve.
response
is
Let us assume that for the control valve of this system, the
that
Fo()
Figure
transfer
14.3b
(14.12)
of
first-order
system,
i.e.
%
= qTi c(s)
shows
functions
the
for
block
each
(14.13)
diagram
component
for
of
the
the
closed-loop
loop.
The
where
system,
with
closed-loop
the
transfer
the
response
functions
Fi
In this case the controller acts in such a way as to keep the liquid
level h, close to the changing desired value hSF. On the other hand, for
the regulator problem the set point hSF
controller acts in such a way as to eliminate the impact of the changing load
and keep h at the desired value hSP.
If T, Ti and Ts
Sensor
T,(s)
Thus,
(14.15)
K,T(s)
T,,(s)
Tm(s)
(14.16a)
E(s)
= Kc?(s)
(14.16b)
Control Valve.
f(s)
(14.17)
= & C(s)
V
Figure 14.4b shows the block diagram for the closed-loop system with the
transfer functions for each component of the loop.
T(s)
= Gsp(s>Tsp(s)
+ GLOAD(s)
Q(s)
and
follows:
Gsp(4
and
rg1
GLoAD(4
=
1+[.;a1 [Km1 [Kc1 &I
V
Remark:
It is
given by
1 + Product of the transfer functions in the loop
i.e.
l+GGGG
pmcf'
(2) The numerator of an overall closed-loop transfer function
is the product of the transfer functions on the forward
path between the set point or the load and the controlled
Thus;
output.
ysp
Therefore
the numerator is
G;Gf lGp
- The transfer functions on the forward path between the
load d and the output is only Gd. Thus, the corresponding
numerator is:
Verify these two rules with the overall closed-loop transfer functions GSP
and
GLoAD
=w
troller and its effect on the most commonly encountered first- and second-order
systems.
and
KC
Gf(s)
Gp(s) *Kc
y(S)
A.
1 + Gp(s)*Kc Y,,(s)
First-Order
1 + Gp(s)*Kc
&s>
(14.18)
Systems
L-!Y
= Kpm + kdd
=p dt + y
with y(O)=m(O)=d(O)=O ,
which gives
K
= *ii(s)
P
3s)
+ + &s)
P'
for the manipulation and Kd for the load.
Put
Gp(s)
K
A
Tps+l
and
Gdb)
Kd
= 1:
P
KpKC
~~s+l + K K
PC
Kd
Y,pb>
a(s)
=P"+l + K PC
K
K'
-q-- 7 (s)
rps+l SP
+ & a(s)
(14.19)
where
% -i&t-
(14.20a)
PC
K K
K'
P
and
1 +PKCK
PC
(14.2Ob)
K;
Kd
l+KK
PC
(14.20~)
The parameters K' and "ii are known as closed-loop static gains.
P
From eqn. (14.19) we conclude that the closed-loop response of a firstorder system has the following characteristics:
(i>
(ii)
K'
sits1
r;+l
P
and after inversion we find
-t/T
y(t)
= Ki(l - e
(14.21)
')
We notice that:
equal to
offset = (new set point)-(ultimate value of the response)
= 1
K'
P
KK
+PKCK
PC
1
l+KK *'I
PC
It decreases as
when
KC-+'.
Consider a unit-step change in the
= Ki(l - e
-t/T '
')
We notice
agains that the proportional controller cannot keep the response at the desired
set point but instead it exhibits an offset;
offset = (old set point) - (ultimate value of response)
= 0
Kd
- l+KK
PC
The benefit of the proportional control in the presence of load changes can be
seen from Figure 14.5b.
desired set point and introduces an offset, the response is much closer to the
desired set point than would have been with no control at all. Furthermore,
as we increase the gain Kc
offset -4 0
Remarks:
Kc-=.
337
(2) If Gm = Km and Gf = Kf
the
offsets
For
set
become:
point
unit-step
offset = 1 -
changes
K K K
Pcf
l+KKKK
p c f m
offset = -
Remark
(3)
In
(1)
the
for
still
subsequent
response
gained
above
for
the
already
the
Kd
l+KKKK
p c f m
holds.
sections
servo
we
will
problem
the
facility
regulator
problem.
assuming
to
repeat
in
they
are
controlled
examine
with
only
that
a
the
the
reader
similar
their
analysis
transfer
proportional
has
function,
controller,
do
not exhibit offset for set point changes but they do for
sustained
strate
load
this
changes,
important
e.g.
feature
step
for
the
level
flowrate
Fi.
In
of
terms
is
controlled
the
by
manipulating
variables
the
tank yields,
dt
F;
K(s)
level
demoncontrol
the
inlet
*dh =
liquid
us
Let
changes.
F;
domain,
mass
balance
around
Fd.
the
Therefore,
= l/As
Gp(s)
Consider
proportional
Gf = 1.
The
control
closed-loop
and
block
for
simplicity,
diagram
is
shown
Gm
in
=
Figure
P(s)
l/Kc
i;;,(s> + A
IL
$ s+l
y- s+l
For a unit step change in the set point, i&(s) = l/s and
F:(s) = 0. Then,
Ii(s)
+ s+l
C
From
the
final
value
theorem
= 1
S-4
Therefore,
offset = h& - h'(t*) = 1 - 1 = 0
For,a
load
unit
g(S)
step
l/K
A
c
change,
K s+l
C
h'(t*)
lim
1 = l/Kc
[sii(s)
s-+0
Therefore,
offset = 0 - l/K
-l/Kc
For liquid level control systems like the one of Figure 14.7a, usually we
are
not
interested
in
maintaining
the
liquid
level
exactly
at
the
desired
value
"liquid
Similar
level
can
conclusion
can
be
be
Therefore,
controlled
reached
effectively
for
gas
with
pressure
proportional
systems
whose
control."
transfer
Second-Order
Systems
The
function
transfer
Gp(s)
Put
this
(servo
for
Y(s)
m(s)
expression
in
Problem)
second-order
process
is
P
- 2 2
T s t 2STS + 1
eqn. (14.18)
and
recalling
that
for
the
servo
problem
d(s) = 0 we take,
Y(s)
K'
P
(14.22)
- L,,(s)
(q2s2 + 23'~'~
+ 1
where
(14.23a)
J~+KK
PC
(14.23b)
v'ltKK
PC
From
the
KpKc
=
above
(14.23~)
l+KK
PC
we
notice
that
the
closed-loop
response
of
second-order
It
The
Both
an
remains
second
order.
static
gain
decreases.
the
natural
overdamped
period
process
may
and
damping
become
factor
underdamped
decrease.
This
(oscillatory)
implies
with
that
proportional
Consider a unit-step change in the set point, i.e. yd(s) = l/s. Then,
K'
Ji(s>
(,,)2s2
p
+
Z<TS
given by,
- eqn. (11.7) for the overdamped case, <' > 1, or
- eqn. (11.8) for the critically damped case, 5' = 1, or
- eqn. (11.9) for the underdamped case, <' I 1.
Independently though of the particular value of r,', the ultimate value of
y(t) is given by the final value theorem (Section 7.5). Thus,
KK
Y(t->
= lim [s y(s)] = K; =
s-to
1 +PKCK
P C
Again,
offset -+ 0
Remarks:
l-
for
K K
PC
l+KK
PC
K
--+
(ultimate
value
of
response)
1
l+KK
PC
0~.
that 5' 5 1.
Therefore, we prefer
Then, the
the
in
the
expense
offset,both
of
higher
vary
desirable
overshoots
(maximum
features,
errors)
come
and
longer
oscillating
causing 5'
to decrease
(11.11)
from
eqn.
Thus, as Kc
responses.
we
see
that
the
increases
overshoot
increases
while
-
eqn.
(11.12)
Finally,
shows
that
eqn. (11.13)
the
shows
decay
that
ratio
the
also
period
the
above
features
are
demonstrated
in
Figure
increases.
of
oscillation
decreases.
14.7.
but
the
using
reader
attention
integral
with
to
the
instead
of
repetition
first-order
systems
proportional
of
and
algebraic
for
the
=
controller.
manipulations
servo
problem
Not to overwe
will
limit
only.
G G G
S(s)
Let
for
Gf
first-order
G
P
while
i-+ :pif:cGm
(14.24)
'd(')
simplicity
Gm
For
simple
Gc
process
we
have
K
z-f-..-.
Tps+l
integral
=
control
action,
Kc&
I
Substitute Gm, G
B(s)
P'
(--IF_
TKS+PK c 1)
TIS
P
1+ (--TK:+l)(K
A)
by
Y,,(s)
their
equals
and
take:
-,
.,.
or
Y(s)
(14.25)
j,,(s)
T2S2 + 25TS + 1
where
T =
(14.26a)
PC
(14.25)
Equation
"it
Thus,
that
of
effect
dynamics
of
for
order
and
consequently
it
characteristics.
Furthermore,
as
by
increasing
may
we
the
the
process, the
order
of
action
alone
is ecpected
closed-loop
response
have
have
the
system
integral
of
in
the
closed-loop
different
Section
its
response
to
make
action,
response"
drastically
seen
control
11.3
becomes
and
more
Thus ,
"integral
Let
order
important
uncontrolled
sluggish.
the
the
in
first-order
second
dynamic
12.1
(14.26b)
indicates
increases
for
becomes
1
?
-z JTKK
PPC
control
closed-loop
us
examine
system
the
more
dynamic
T(s)
of
From
eqn.
response
of
sluggish."
behavior
the
the
closed-loop
(14.25)
we
system
when
the
take:
. -1
T2S2 + 2STS + 1
found
damped, or
from
the
y(t->
underdamped)
final-value
s-to
but
theorem
the
ultimate
(Section
value
7.5),
of
the
i.e.
1 = 1
25TS + 11
response
can
Therefore,
offset
This
indicates
the
most
characteristic
effect
of
integral
action,
i.e.
reader
can
verify
easily
that
for
the
regulator
problem
the
integral
con-
offset.
Remarks:
indicates that
Therefore,
is an important question
are:
The
to
response
faster
moves
but
in
general
oscillatory
from
sluggish
underdamped
overdamped
behavior.
both
increase
(see
eqns.
(11.11)
and
(11.12)
and
Figure 11.3).
Therefore,
we
conclude
that
we
can
improve
the
speed
of
the
for
set
Figure
point
14.8
summarized
the
above
changes.
very
clearly.
derivative
GC
control
action
alone
we
have
K/TDS
system
with
derivative
control
action
is
given
by
K
I?
___
T
U(s)
Kc(y)
s+1
K
1+-J--*
y+l
Ysp(s)
KckDs)
or
Y(s)
Equation
(14.27)
derivative
(5)
control
(=
leads
KpKcDS
+KK-c)s+l
P
pcD
to
action
the
has
following
on
the
(14.27)
Y,,(s)
observations
closed-loop
on
response
the
of
effects
a
that
the
system:
The derivative control does not change the order of the response. In
the above example it has remained first order.
.,
..,,
.
TaQ
.4
..j
L _*
(ii)
For
unit-step
j;(s)
with
in
the
set
point
KK-rs
pcD
(TV + KpKc D)s + 1 * :
an
change
ultimate
value,
r
= lim [s
SO
Y ( t-m>
Y(s)1
l$lKcTDS
= lim
s-to
+ K K ~ >S
pcD
i
and
offset =
This
is
l-
an
=l.
important
Ifderivative
state
result
and
demonstrates
that,
the
system
approaches,
i.e.
it
does
not
reduce
to
offset".
(iii) From eqn. (14.27) it is clear that the effective time constant of the
closed-loop response is (rp + K K T ),
means
that
that
of
the
original
increases
the
effective
becomes
Remarks:
(1)
the
response
progressively
It
is
control
very
of
the
time
the
servo
is
slower
Furthermore, as Kc
increases
and
the
on
to
the
problem
examine
response
Gf
the
effect
of
of
second-order
is,
P
2 2 + 25TS + 1
T
s
K
Kc~D~
l+
or
response
the
derivative
system.
y(s)
than
slower.
process
process.
constant
instructive
action
controlled
first-order
This
PCD
22
T s + 25TS + 1
~ - K&9
Kc~D~
f(s)
2
T
From
-
the
the
last
same
Y,,(s)
+ (25~ + K K -c )s + 1
pcD
equation
natural
the
KpKcTDS
period
we
of
observe
the
that,
closed-loop
response
remains
while,
25-c
K K r
pcD
i.e.
T' > 5
Therefore,
the
closed-loop
response
produces
more
robust
is
more
damped
increase.
This
behavior
by
the
and
the
character-
controlled
process.
(2) The decrease in the speed of the response and the increase
in
the
damping
demonstrate
that
the
derivative
control
action,
"produces
more
controlled
stable
and
robust
behavior
by
the
process."
for
proportional
integral
or
control
can
derivative
be
control
used
alone,
actions.
this
is
almost
never
Instead, proportional-
employing
A.
Effect
of
PI
Combination
of
proportional
The
following
effects
integral
on
and
derivative
modes
of
control.
Control
the
and
response
of
integral
a
control
closed-loop
modes
system:
lead
to
the
the
The
order
The
offset
- A s
R
C
of
the
is
response
eliminated
increases
(effect
(effect
of
of
integral
integral
mode).
mode).
proportional
mode, see eqn. (4.20a) and more oscillatory to set point changes,, i.e.
the
overshoot
and
values of Kc
(see
-As
Chapter
-rI
decay
create
ratio
increase
(effect
of
very
sensitive
response
and
may
mode).
lead
Large
to
instability
15).
oscillatory
integral
with
higher
overshoots
and
response
decay
becomes
ratios
faster
(effect
but
of
more
integral
mode).
B.
which
The
Effect
of
PID
Control
Combination
of
the
three
has
resulting
in
from
general
PI
the
control
same
control
alone.
modes
leads
qualitative
Let
us
to
dynamic
now
closed-loop
characteristics
describe
the
main
as
response
those
benefit
order to have acceptable speeds, the response becomes more oscillatory and may
lead to instability.
The
introduction
stabilizing
the
system.
speed
by
effect
selecting
to
an
appropriate
of
Thus,
value
the
we
derivative
can
for
the
achieve
gain
mode
brings
acceptable
K C while
a
response
maintaining
14.10
summarizes
of a controlled process.
the
effect
of
PID
controller
on
the
response
leads to faster
responses,
shorter.
the overshoot remains almost the same and the settling time is
Both
SUMMARY
AND
The
dynamic
are
results
CONCLUDING
dynamic
of
overall
and
transfer
GLO~D
have
on
the
set
control
effect
response
the
action.
or
this
is
affected
i.e.
process,
The
form
of
load
very
the
process
loop,
element.
that
of
controlled
in
point
indicate
the
dynamic
feedback
control
for
(14.7)),
to
derivative
elements
final
function
respect
the
and
(eqn.
With
of
all
sensor, controller
the
REMARKS
response
behavior
of
changes,
the
measuring
the
i.e.
by
closed-loop,
GSP
(eqn.
(14.6))
clearly.
various
closed-loop
types
system,
of
we
feedback
can
controllers
observe
the
following:
-
The
proportional
loop
dynamic
time
constant.
its
an
-
The
of
with
and
become
The
and
(b)
it
serious
makes
the
is
derivative
takes
(b)
simple
control
appropriate
response
we
closed-loop
dynamics
and
effect.
changes
the
order
even
action
notice
(b)
the
slows
small
the
feature
action.
one
With
down
by
respect
track
very
presence
first
response.
character-
response
that
are
anticipates
to
of
closed-loop
oscillatory
(errors)
that
is
ultimate
The
indicates
dominant
alone
or
the
the
the
acquire
deviations
only
of
the
control
closed-loop
offset.
dynamics may
is
corrective
it
decreasing
disturbance
demonstrated
the
second
The
and
always
by
proportional
of
is
since
first-order
wherever
closed-loop
stabilizing
importance
of
point
eliminates
unstable.
needed
set
faster
effect
This
action, (a)
and
it
drawback
completely
desired
particular
processes
even
the
control
response
is
action
most
reject
between
integral
istic
while
The
to
offset
dynamic
response
inability
closely
control
its
while
behavior
integral
control
undesirable.
future
effect
errors
on
the
allows
for
higher
proportional
gain
due
to
its
Develop
one
the
block
diagram
of
generalized
feedback
control
system
with
function
and
the
on
each
the
3.
for
set
variable.
Develop
controller
responses
appropriate
2.
feedback
closed-loop
stream
simultaneous
point
changes
and
in
load
both
changes.
Can
loads?
4.
Define
5.
in
with
physical
two
terms
loops.
I c*
,
the
-- r"
servo
and
_ -..
._ -..
regulator
control
.s
cw
.I ;
the
problems.
-..
_I--.--I-____
Figure
Reduce
Q.14-2)
the
above
block
diagram
to
4.14-l
simpler
one
like
the
following
(Figure
Figure
0.14-2
6.
7.
What
are
the
relative
advantages
proportional,
process?
The
on
the
closed-loop
proportional
response
the
control
response
leads
compared
controlled
from
Section
10.4.
What
is
order
process
the
with
to
to
the
PI
process?
of
the
controlled
with
process
controlled
adjustable
12.
Repeat
item
13.
Which
one
11
of
the
the
closed-loop
the
and
PI
TI
TV
gain
for
uncontrolled
the
closed-
process
(see
definition
of
the
static
dynamic
response
for
control
destabilize
on
the
closed-loop
TV
on
the
gain
second-order
such
response
process?
of
and
closed-loop
response
of
PID.
Could
their
of
static
PI.
with
lower
Recall
gain
Can
control?
of
11.
the
effects
for
10.
of
9.
disadvantages
loop
8.
and
PI and
you
have
almost
the
same
closed-
parameters?
above
the
but
for
second-order
controllers, P,
three
process.
Integral
control
oscillatory
or
action
less,
makes
process,
(a)
faster
or
Repeat
item
14
above
(b)
more
slower,
but
for
derivative
control
action.
r PROCESS
---- ---
CONTROLLER
CoN-rRO~
ELEMENT
do)
----_,
2-L I
-
L-------- _ _ _ _ _ _ 1
ym CSI
Gm,
MEASURlr\lG
DEVICE
Fi
L-s-)
i,- _ _ ---a------_
yd(+)
L-3
4
+Kc '
I F i g we
14.51
I Fi g ure
.,
14-r
. .
L---------
----
CHAPTER
STABILITY
In
Chapter
14 we
ANALYSIS
examined
the
15
OF
FEEDBACK
dynamic
SYSTEMS
characteristics
of
the
response
of
the
dynamics
of
such
systems.
It
is
important
to
emphasize
again
the
dynamic
an
_ - uncontrolled
- - - - _ . - - -process.
.---__
characteristics of
Thk~s , non-
Oscillatory
second-order
and
Xhile
designing
tuning
its
feedback
controller, we
characteristics.
designing
Therefore,
feedback
control
are
before
control
system,
seriously
we
and
TI'
i.e.
concerned
proceed
with
selecting
about
the
its
its
components
stability
particular
details
of
Section
1.2
we
introduced
tem
was
considered
its
unstable
simple-minded
How
on
the
stability.
A sys-
Figure
1.6
shows
CSTR.
depending
of
notion
mathematical
rigorousness
of
the
There
are
definition
different
and
its
ways,
practical
definition
the
which
is
often
known
as
bounded
stabilitv.
---.-.L
"A dynamic system i.s considered to be stable if for every bounded input
it produces a 1~o11nc~~d wt.put , regardless of its initial state."
E7ery
systcm
f:n'l..led
-
wllicki
is not stnhlr
unstable.
bounded
is
an
T0
complete
the
ti~finition,
input
wl~ich
always
remains
alcove
consider
between
an
drl'inition
wi1.1.
be
that.
upper
and
lower Iknit
01.1
/,*5ys i :x1
tptitc;
exist.
rlilantit i<":
c-n1 y
31'e
in tl;t:c~r-y
and nr?t
Thwefort:,
!.imited.
in pr:3~tice
b~~.a~lse
all.
means y:er!
? xr F e
Accord-in::
F'jgure
1ij.l~
ic:
stabtt
while
system
with
response
like
those
of
Figure 15.lb
a tiv2ami7
producing
an
an
unstable
uncontrolled
controlled
7.'h en )
y-
C(sj,
c(sj fiiis)
and output
system.
process
or
system, e.g.
it
%P
grows
continuously
with
time,
thus
be
the
GLOAD'
closed-loop
transfer
Therefore.
the
function
stability
of
analysis
of
rolled.
us the first
"If
the transfer function of a dynamic system has even one pole with
positive
Therefore,
real
al.1 poJes
complex plane.
part, the
system
is
unstable."
process
with
the
following
response,
process
s = 1> 0.
is
unstable
Figure
because
15.2a
shows
its
the
Let
control only.
us
introduce
Assume
that
for
feedback
the
response
function
of
the
possesses
uncontrolled
transfer
control
measuring
system
sensor
with
and
the
proportional
final
control
element
G
Figure
15.3
The
our
Gf
shows
the
=l
the
closed-loop
system
From
block
response
diagram
of
of
system
the
the
closed-loop
is
given
by
3(s)
lO*Kc
= s _ (1 - 10K ) %P(') +
C
last
equation
we
conclude
that
s - (1 - 10Kc)
the
closed-loop
SP
s - (1 -
;O*Kc)
'
GLOAD
effect
of
of
which
for
the
controlled
to
the
behavior
the
controller.
d(s)
transfer
functions
5-K C
=
s - (1 - lo-Kc)
it
(15.5)
5*Kc
10-K
Compare
eqn.
becomes:
response
system.
system
of
to
the
original
system
can
be
unit-step
uncontrolled
change
in
system
and
the
load
realize
for Kc=l.
the
stabilizing
Example
15.2 - Destabilization
Consider
second-order
Gp(d
system
has
two
Therefore,
a
change
to
in
the
with
PI
following
Control
transfer
function
final
element
with
negative
and
P2 =
criterion
the
real
parts
-1 - j
system
is
stable.
Indeed, if we make
the
Introduce
PI
have
controller.
the
following
Let
the
transfer
measuring
element
and
the
functions:
= Gf (s) = 1 .
G,(s)
The
poles
our
Figure 15.4a.
control
with
Process
+2s+2
complex
according
unit-step
Stable
process
-1 + j
Pl =
=
S2
The
of
closed-loop
response
to
set
point
changes
is
given
by,
GG
P(s)
+PGCG
j,,(s)
Gsp-Ysp(s>
PC
To
examine
the
stability
of
the
closed-loop
response
we
have
to
find
where
T s+l
. Kc m-i!?s
s2+2s+2
GpGc
GSP = l+GG=
pcl+
'
,2+2s+2
KC(71s+1)/71
rIS+l =
.Ks3 + 2s2 + (2+Kc)s
c
-rIs
K
-I- 2
=I
Let
KC
= 100
and
S3
2s2
and
"I
the
roots
= 0.1
of
the
polynomial
+ (2 + 100)s + g
.
p2 = 2.59 + j(ll.5)
and
p3 = 2.59 - j(11.5)
process
the
following
response,
= $+ ii(s) +
Y(s)
Clearly, this
pole at
with
process
is
s = 1> 0.
unstable
Figure
because
15.2a
shows
its
the
transfer
response
function
of
the
possesses
uncontrolled
character.
control
Let
control only.
us
introduce
Assume
that
for
feedback
the
measuring
system
sensor
with
and
the
proportional
final
control
element
=
Gm
Figure
15.3
The
our
Gf
shows
the
closed-loop
system
1
block
response
diagram
of
of
system
the
the
closed-loop
is
given
the
by
Y(s)
last
equation
(15.5)
which
for
5KC
s - (1 - 10Kc) %P(') +
we
conclude
that
s - (1 - 10Kc) '(')
the
closed-loop
lO*K
G
SP
with
s - (1 - ;O*Kc)
simple
transfer
functions
5*K
eqn.
becomes:
lO.Ke
From
system.
proportional
'
GLOAD
Therefore,
control.
=
the
s - (1 -clO*Kc)
original
system
can
be
response of the controlled system to a unit-step change in the load for Kc=l.
Compare
effect
it
of
to
the
the
behavior
controller.
of
the
uncontrolled
system
and
realize
the
stabilizing
Example
15.2
Consider
Destabilization
of
second-order
GpW
Stable
process
Process
with
the
with
PI
following
Control
transfer
function
s2 +2s+2
The
system
has
two
according
unit-step
change
to
in
our
the
Figure 15.4a.
Introduce
final
element
control
G,(s)
The
closed-loop
To examine
negative
p2 = -1 - j
criterion
the
system
controller.
the
Let
following
is
parts
stable.
Indeed, if we make
the
transfer
measuring
element
and
the
functions:
= 1 .
to
set
point
changes
GG
+PGCG
- s;,,(s>
PC
real
and
PI
have
= Gf(s)
with
response
P(s)
poles
-1 + j
Pl =
Therefore,
complex
is
given
by,
Gsp*YspW
are located.
1
GpGc
G SP =
l+GG=
PC
,2+2s+2
1+
rIS+l
l Kc
v
T s+l
'Kc&I
l
s2+2s+2
K$y+l) hI
s3 + 2s' + (2+Kc)s
K
+c
-?
Let
Kc
= 100
S3
and
GSP
2s2
and
r1
the
roots
= 0.1
of
the
polynomial
(2 + 100)s + g
.
p3 = 2.59 - j(11.5)
I
I
I
I
I
I
I
I
I
I
I
I
our
criterion
the
closed-loop
response
is
Therefore,
unstable,
when
the
according
values
Compare it to the
response
destabilizing
of
the
PI controller.
stable.
uncontrolled
system
notice
the
effect
of
the
and
of
is
stable.
15.1
on
the
stability
organize
and
systematize
have
appropriate
the
closed-loop
characteristics
our
the
of
effect
process.
feedback
loop
may
for
feedback
such
G G G
Pfc
1 + GDGfGcGm
control
system
is
system
given
by
shown
in
eqn.
(14.5)
+ 1 + GIEfGcGrn
'SF(')
stability
= GSP
Ysp(s) +
characteristics
of
GLOAD
Figure
14.1.
(14.5)
'(')
the
;i(s> .
closed-loop
response
control
equivalently
Y(s)
The
dramatized
generalized
response
7(s)
or
15.2
terms.
Consider
The
and
for
given
both
by
the
transfer
functions
solution
l+GGGG
=
p f c m
of
0
the
because
following
they
have
will
be
These
poles
common
determined
denominator
are
and
equation
(15.1)
system
of
Figure
Let pl,p2,"*,p,
14.1
be the n
i.e.
1 +
then
we
can
Gp Gf c
G mG = (s - pl)(s
state
the
following
- p2)***(s
criterion
for
- p,)
the
stability
of
closed-loop
system:
"A feedback control system is stable if all the roots of its
characteristic
equation
left
imaginary
of
the
have
negative
real
parts,
i.e.
are
to
the
axis."
axis,
i.e. it
has
real
part
zero
or
positive,
the
feedback
system
is unstable.
Remarks;
(1)
The
of
stability
a
criterion
feedback
sytem
stated
above
independently
if
secures
the
stable
input
response
changes
are
and
GLOAD which
stability
with
respect
of
the
closed-loop
to
determine
changes
in
the
the
The
product
=
Go,
GpGfGcGm
will
be
the
measurement
feedback
called
loop
Y,(s)
is
open-loop
transfer
indication
broken
just
= GOLW *Y,,(s)
function
because
it
before
the
comparator,
relates
if the
i.e.
Therefore,
the
characteristic
GOL
equation
can
be
written
as
follows,
1
and
we
notice
that
it
depends
only
on
the
transfer
functions
-
The
roots
of
the
They
Example
15.3
of
the
closed-loop
are
often
Stability
characteristic
transfer
called
Analysis
equation
functions,
closed-loop
of
Two
are
also
and
GSF
the
GLOAD'
poles.
Feedback
Loops
10
=s-l
the
Therefore,
1
which
has
corresponding
the
Gf=l
'
pG G
f GcGm
following
and
Gm=l
characteristic
=l+S*
Gc
equation
l*Kc*l
=K
is,
root,
p = 1 - 10Kc
and the system is stable if p<O, i.e.
Kc > l/10.
Gf=l
Gm=l
and
s2+2s+2
Gc = Kc(l+&)
I
=l+
'
s2+2s+2
l*Kc(l
+ -+)*l
I
s3
2s2
+ 102s + 1000 = 0
poles
- ._. _ . . ./ .,
.I
%.3&t
I
The
tem
equation
is
unstable
positive
real
because
two
roots
of
the
characteristic
closed-loop
sys-
I
I
have
parts.
I
I
The
criterion
calculation
It
of
of
the
stability
actual
for
values
of
closed-loop
systems
the
of
roots
does
the
not
require
characteristic
the
polynomial.
only requires to know if any root is to the right of the imaginary axis.
The
Ruth-Hurwitz
imaginary
axis
closed-loop
and
thus
system
Expand
the
without
by
computing
conclusion
the
actual
equation
into
as
to
the
stability
values
of
the
roots.
the
following
it
is
negative
then
multiply
both
form,
sides
of
the
above
-1.
test.
there
is
least
part
the
First
real
polynomial
of
z
If
a0 be positive.
equation
quickly
characteristic
1tGGGG
p f c m
Let
reach
at
and
one
the
root
of
corresponding
the
characteristic
equation
unstable.
No
ao,al,a2,***,an-l,a
system
is
is
which
further
negative,
has
then
positive
analysis
is
needed.
Second
test.
If all coefficients
first test cannot conclude anything about the location of the roots. Form
the
following
Row
array
a
(known
as
Routh
array):
a4
a6
a2
al
a3
Al
A2
A3
B1
B2
B3
cl
c2
c3
4
5
a5
***
a7
. . . . . . . . . . . . .
*
.
***
-*-
where
Al = ala2 - aoa3 ,
al
Ala3
B1 =
A1
c1 = B1A2
alA
- A1B2
A2 ,_ ala4
A3 - =aoa5laba;
al
A1
A1A5
>
B2 =
B1A3 c2 = B1
El
aoa7
~..
alA
...
A1B3
etc.
Examine the elements of the first column of the above array, i.e.
a()>
- If any of these elements is negative then we have at least one root to the
right
of
the
imaginary
axis
and
the
system
is
unstable.
- The number of sign changes in the elements of the first column is equal
to the number of roots to the right.of
Therefore,
Routh
array
Example
are
15.4
positive.
Consider
the
feedback
control
system
of
Example
equation is
The
corresponding
2s2
Routh
(2 +
array
Kc)s
can
+
now
KC
-r
I
be
formed:
15.2.
The
characteristic
Row 1
2+K
Kc
?
K
2(2+Kc) -$
I
The
elements
of
the
first
column
are
Kc
2(2+Kc) -y-I
K
C
All
are
always
positive
except
T-1
11
'
the
third
which
can
be
positive
or
negative
100 and -cI = 0.1 the third element becomes -398 < 0, which
Kc =
means
that
elements
real
of
parts
the
the
(see
system
is
first
unstable.
column.
Example
Therefore,
we
have
two
roots
with
positive
15.2).
t2
In
and
TI
satisfy
the
condition
Example
15.5 - Critical
Stability
Conditions
for
Feedback
Then,
the
Loop
third
element
of
the
first
column
in
the
2(2+Kc)
Routh
.
that
The value of Kc
constitutes
Therefore,
-If
makes
the
third
element
zero
is
for
feedback
= 0.5
and
becomes,
- 10Kc
array
the
critical
according
K/0.5
to
the
conditions
Routh-Hurwitz
test
first
positive
and
the
system
equation
are
located
to
is
stable,
the
left
we
the
system.
have:
i.e. all
of
control
the
roots
imaginary
of
the
characteristic
axis.
- If Kc > 0.5 the third element of the first column of the Routh array
becomes
negative.
column, therefore
we
have
two
roots
of
the
characteristic
equation
located
increases
two
equation
axis
and
when
imaginary)
which
give
roots
move
on
the
sinusoidal
Remark:
towards
the
imaginary
imaginary
axis
(pure
roots
of
the
rise
characteristic
to
sustained
term.
The
two
purely
imaginary
2s2
K
.-A
r1
2s2
g
.
roots
can
be
found
from
the
equation
i.e.
=
j(2.5)
Routh
array
just
before
the
element
of
the
first
column
which
elements
of
the
second
row.
in
of
Example
15.1
>
system
notice
in
that
Example
depend
the
on
the
closed-loop
15.4, the
system
stability
is
stable
stable
when
Kc
F
I
= 0.1 yields
=I
0
we
Also,
2(2+Kc)
which for
closed-loop
the
<
KC
< 0.5 .
The root loci are merely the plots in the complex plane of the roots of
the characteristic equation as the gain Kc
is
As
determining
the
changes.
Let
such
they
are
very
useful
in
us
to
infinity.
characteristics
examine
the
of
construction
locus
Example
15.6
and
have
capacities
transfer
specific
stability
zero
root
two
from
the
The
using
varied
in
series
example.
may
be
two
stirred
tanks,
function
K
GpW
P
(T1s+1)(T2s+1)
Let,
Gm
Then,
the
Gf
=l
characteristic
1+
and
equation
KP
(Tls+1)(?2s+1)
is:
K = 0
c
Gc
= Kc .
two
heaters,
etc.
or
(~~s+l)(y+l)
Consider
K=KK
.
PC
where
K as the changing parameter instead of the gain Kc, and make the
following
(0
observations:
0)
the
characteristic
equation
has
as
its
roots
Pl
(ii)
and
p2
-l/T2
are
given
of
the
characteristic
by,
-(T1+T2) t &+T2)2
P1,2
roots
- 4y2(1+K)
.
2TlT2
2
K
(T1+T2)
<
4=lT2
i.e. as long as Kc
satisfies
the
inequality
(15.2)
c1
%
(iii) When
(15.3)
Pl
P2
2
-
2=1r2
(iv) For
(15.4)
K+
P
we have again two distinct roots which are complex conjugates of
each
other,
i.e.
-(T~+T~)
P1,2
J4'rclr2(l+K)
2 j
- (TV+ 2)
2T 1T 2
K -f a.
Using the above information we can construct the root locus of the system as
follows:
(a) The beginning of the root locus corresponds to
by
the
points
(b) As long as Kc
and
negative
satisfies
inequality
roots.
Therefore,
emanate
from
curves
which
axis.
Furthermore,
points
(15.2)
Kc = 0 and is given
have
two
distinct
real
at the point C (Figure 15.5). At this point, Kc i\as the value given
by eqn. (15.3) and we have a double root.
(c) For larger values of Kc
two
distinct
curves
of
the
locus
because
we
have
distinct, com-
,...
constant,
the
two
branches
of
the
root
locus
are
perpendicular
to
the
Furthermore.
satisfying
of
inequality
oscillatory.
the
response
the
Example
provide
(15.2)
15.6
demonstrated
information
about
the
that
the
root
stability
of
system
to
satisfying
locus
a
of
step
loop
the
input
inequality
system
closed-loop
is
not
(15.4).
does
system
b2~
not
but
only
informs
changes.
design
roots
methodology,
of
controller
the
gain
whereby
the
characteristic
can
be
movement
equation)
clearly
due
of
the
closed-loop
to
the
change
of
poles
the
(i.e.
proportional
displayed.
The construction of the root locus for the system of Example 15.6 was
rather
simple.
For
higher
order
systems
to
find
the
exact
location
of
the
root locus branches we need a computer program that can find the roots of a
high order polynomial.
system
and
the
Such
interested
programs
reader
can
are
find
available
one
in
in
any
Reference
large
computer
7.
Quite often though we are not interested in the exact location of the
root
to
locus
draw
system.
the
the
branches
general
and
simple
conclusions
but
qualitatively
about
the
dynamic
correct
behavior
graphs
of
will
a
suffice
closed-loop
Appendix 15.A gives a set of general rules which can be used to draw
approximate
root
locus
of
any
given
system.
Let us close this chapter with one more example on the construction of
the root locus for a reactor system and its use for the analysis of the
system's
Example
dynamic
response.
Douglas
Locus
for
Reactor
With
Proportional
Control
[Ref. 121 has developed the model for the reactor shown in
Figure 15.6.
The
control
objective
is
to
keep
the
concentration
of
the
He
attempts
to
achieve
the
control objective with a proportional controller which measures the concentration of C and manipulates the flowrate
The
transfer
Gp(s)
function
3s)
for
instantaneous
we
have
the
Gf
responses
following
1+
is,
(s+l.45)(~+2.85)~(~+4.35)
with
process
2.98(s+2.25)
G(s)
Assuming
the
of the reactant A.
gain
for
the
measuring
device
and
of A, i.e.
1
characteristic
equation
2.98(s+2.25)
2 (s+4.35)
(s+1.45)(s+2.85)
-K
for
the
closed-loop
system:
(15.5)
Kc
to
find
through
increases,
the
the
roots
use
of
and
p4
-4.35
the
characteristic
digital
computer.
Such
equation.
Table
15.1
solution
shows
These
how
results
is
the
have
feasible
locations
been
Table 15.1.
5
-
p1
-
-1.45
-2.85
-2.85
-4.35
-1.71
-2.30 + j(O.9)
-2.30 - j(O.9)
-4.74
-1.98
-1.71 + j(1.83)
-1.71 - j(l.83)
-5.87
20
-2.15
-1.09 + j(3.12)
-1.09 - j(3.12)
-7.20
50
-2.20
-0.48 + j(4.35)
-0.48 - j(4.35)
-8.61
100
-2.24
-0.35 + j(5.40)
-0.35 - j(5.40)
-9.75
p2
p3
p4
-
transferred
for
the
in
Figure
15.7
closed-loop
which
reactor
displays
the
four
branches
of
the
root
locus
system..
Let us examine the root locus branches of Figure 15.7 and draw some conclusions
on
the
dynamic
proportional gain K
(i>
response
changes
of
the
from
zero
closed-loop
to
reactor
as
the
infinity.
The system is stable for gain values up to 50 because all the roots
are located to the left of the imaginary axis.
between
50
and
100
the
root
locus
crosses
critical
value
of
reactor
the
between
50
becomes
and
100
for
the
(ii)
system
imaginary
Therefore,
which
the
axis
and
there is a
closed-loop
response
unstable.
For any value of Kc > 0 until the critical value there are two
complex
conjugate
roots
with
negative
real
parts.
They
imply
that
oscillation.
(iii) For Kc
larger
unstable)
the
jugates
with
response
of
oscillatory
Remark:
very
reactor
than
roots
positive
the
critical
that
cause
real
value
the
parts.
closed-loop
system
with
growing
amplitude.
approximate
system
be
Appendix 15-A.
can
the
system
becomes
instability
are
complex
con-
Consequently,
the
satisfactory
(where
to
an
sketch
constructed
input
of
using
the
the
the
step
root
unstable
change
will
be
locus
for
the
graphical
rules
of
SUMMARY
Almost
stable.
the
all
Under
feed
stability
during
its
control
processing
back
units
control,
characteristics
design.
loop,
employed
of
in
though,
a
chemical
they
can
closed-loop
plant
become
system
are
inherently
Therefore,
unstable.
are
of
uppermost
importance
i.e.
sensors, controller
process,
and
final
control
element.
The notion of stability that suffices for our purposes is that of the
bounded input, boudned output. According to this, a system is stable if it
produces
bounded
response
to
any
bounded
The
input.
criterion
that
we
will
of
For
its
transfer
uncontrolled
function.
systems
Thus,
the
poles
of
the
process'
transfer
function
must
be located to the left of the imaginary axis for the system to be stable.
-
For
closed-loop
systems
the
closed-loop
poles
(the
roots
of
the
character-
istic equation) must be located to the left of the imaginary axis for the
closed-loop
response
to
be
stable.
right
poles.
of
the
imaginary
axis, without
computing
the
actual
values
of
the
stability
characteristics
of
closed-loop
depend
on
the
dynamic
of
the controller used which are affected by the values of the parameters Kc,
locus
analysis
permits
changes
from
TI
and ~~~
The
root
us
zero
to
to
examine
infinity.
the
location
the
of K
general
C
characteristics
of
the
system's
response
for
of
various
values
The
back
root
locus
loops.
efficiently
It
has
been
has
systems
several
with
powerful
design
system.
Consequently,
use
control
for
historically
techniques
we
design.
dead
like
will
drawbacks
popular
like
its
method
for
the
design
to
handle
instability
of
feed-
based
no
more
on
the
space
frequency
response
and
expanding
time
of
on
a
its
3,
THINGS
TO
THINK
ABOUT
1.
Define
what
is
known
as
bounded
input,
bounded
output
stability.
2.
3.
4.
Define the
terms:
closed-loop
poles.
If
open-loop
transfer
function,
How
or
6.
does
Does
What
the
8.
the
pole
controlled
of
7.
location
an
the
stability
determine
the
If yes, why?
stability
of
an
uncontrolled
process?
of
the
uncontrolled
is
location
zeros
of
major
advantage
of
system?
transfer
function
affect
the
response
process?
of
the
Routh-Hurwitz
criterion
for
examining
9.
equation,
characteristic
The
why?
root
locus
analysis
Consult
cannot
References
handle
easily
13,
14.
systems
with
dead
time.
Show how systems with dead time could be handled with root locus
analysis.
10.
Examples 15.6 and 15.7 indicate that the root locus has as many
branches
Thus, in
as
the
Example
number
of
15.6
the
poles
of
open-loop
the
open-loop
transfer
transfer
function
has
function.
two
poles
and
the root locus two branches., while for Example 15.7 we have four poles
and
four
branches.
376
t
3
Y
- - - t
A+R - ?I
%+a-, c
C4Rr-D
D-l--R-E
I Figure
i5.4
I
6
I
k .;I00
c?
-6
\\
.,,,....
,-
,,,.
.,
. . .
~.
APPENDIX
15.A.
RULES
FOR
THE
CONSTRUCTION
OF
ROOT-LOCUS
DIAGRAMS.
l+GGGG
pmcf=
Then,
the
characteris-
Z1
Z2 -*-,
zm
are
the
the
As Kc changes from 0 to 03
we
pl, p2'
a*-,
Pn
the
The
Root-Locus
Root-Locus
The
for
the
1.
following
Number
of
Origin
whenK
Curves.
Thus,
ing
is
of
C
if
from
(15.A-1)
a* (s-pr) = O
of
the
open-loop
of
the
find
different
geometric
locus
for
the
general
transfer
open-loop
roots
of
transfer
for
the
the
roots
all
corresponding
closed-loop
function,
function.
characterisconsti-
closed-loop
system
with
system,
the
char-
rules:
Root-Locus
2.
(s-z
poles
Diagram
-*
m __zeros
are
while
2
1
c (s-p,)(s-p,)
l+K
equal
Curves.
=O.
p
The
to
Each
number
the
of
number
branch
branches
of
(locus)
(loci)
open-loop
composing
poles,
originates
from
the
n.
a
pole,
the
-1 is a double pole, we
point
(-l,O).
will
have
two
loci
originat-
3.
Termination of Curves. As Kc + 00
Root-Locus
terminate
at
either
zeros
the
open-loop
the
- approach
4.
of
(n-m)
zeros
at
transfer
infinity
function,
along
or
specified
asymptotes.
if the sum of the number of poles and zeros to the right of any
5.
should
times,
be
counted
twice,
Location
of
Asymptotes.
branches
of
the
the
poles
and
three
The
Root-Locus
zeros
of
(n-m)
emanate
the
etc.
asymptotes
from
open-loop
the
approached
center
transfer
of
function.
by
(n-m)
gravity
of
The center
of gravity is given by
c1 = i"l 'i n - m
j~l
The
asymptotes
make
'i
(15.A-2)
angles
of
n[(2k+l)/n-m)]
with
the
real
k = 0, 1, 2, . . . . (n-m-l)
axis.
This
means
that
they
are
equally
spaced
at
angles of
2T/(n-m)
with
6.
each
Breakaway
other.
Point.
Whenever
two
branches
emerging
from
two
adjacent
real poles intersect, they leave the real axis at a point which is
determined
by
the
equation,
m
1
c
s - z.
j=l
J
The
7.
two
branches
Entering
Point.
poles
move
n
1
c
i=l ' - Pi
leave
the
Whenever
towards
two
(15.h-3)
real
axis
at
two
branches
adjacent
real
right
coming
zeros,
angles.
from
they
two
enter
different
the
real
Angle
of
Departure.
For
multiple
real
poles
of
given
by
Eli =+
(2i+l)v
+ T&,
j=l
(pq-zj>
+ T& (pq-pj)
j=l
!
7%
for i = 0, 1, 2, . . . . k-l
where
9.
Angle
q
of
(15.A-4)
The
angle
zero is either 0 or
IT.
Root-Locus
branches
of
the
For
of
multiple
approach
the multiple
pole
at
angles
given by
n
oi = i
(2i+l)n
L
+ Y& (zq-zj)
j=l
7%
'
j=l
('q-pj)
for i = 0, 1, 2, . . . . k-l
(15.A-5)
where z
10.
Symmetry
of
the
Root-Locus.
Since
the
complex
roots
of
char-
Root-Locus
respect
Example.
is
symmetric
with
to
the
real
axis.
the
four
branches
branches
other
(loci)
1, see
(branch
three
which
(4-l)
emerge
Figure
approach
from
15.7)
zeros
at
the
Root-Locus
four
terminates
infinity
is
poles.
at
the
along
= -2.85,
composed
of
One of the
zero,
the
three
while
the
asymptotes.
c1 = (-1.45) + 2(-2.85)
The
asymptotes
+ (-4.35) - (-2.25)
(4-l)
-3.08
make
angles
of
-1~[(=+1)/(4-1) 1
k = 0, 1, 2
The
and
the
shown
The
following
Between
location
of
the
segments
-1.45
and
of
three
the
-2.25.
asymptotes
real
axis
are
are
part
center
in
of
of
Figure
the
gravity
15.7.
Root-Locus:
this segment.
- Between
every
point
and --m.
of
this
,.
I
. ...
The segment from -1.45 to +m has no poles or zeros to its right, while
the segment from -2.85 to -4.35 has three poles (pI,p2,p3)
zero to its right.
to
and one
-2.85.
From the double pole of -2.85 emanate two loci with angles of
departure given by equation (15.A-4).
Figure
Example
15.7
15.7.
shows
the
approximate
Root-Locus
for
the
reactor
of
CHAPTER 16
DESIGN OF FEEDBACK CONTROLLERS
the
In
this
type
of
chapter
the
we
will
feedback
confront
controller,
the
i.e.
critical
questions:
how do we select
adjust the parameters of the selected controller (i.e. Kc, TI, rD) in order
to
both
of
achieve
an
questions
lead
closed-loop
to
the
behavior
synthesis
studied
in
of
the
the
control
previous
The
answers
and
the
chapters
of
Part
system
three
to
analysis
IV.
the
block
diagram
of
general
closed-loop
system
shown
in
Figure 14.1.
When the load or the set point change, the
deviates
and
the
controller
desired
set
point.
tries
Figure
16.1
to
bring
shows
the
used.
We
notice
the
response
of
Question
1:
the
that
different
controlled
What
type
control
feedback
given
output
response
different
controllers
process.
of
the
response
Thus,
of
again
of
have
the
controller
close
the
types
the
the
process
controllers
different
should
to
controlled
of
first
process
effects
design
be
have
used
on
question
arises:
to
process?
Given that we have decided somehow to use PI control, we still need to select
the value of the gain Kc
demonstrate
on
the
very
and
two
of
controlled
response
known
these
that
the
as
time
r1*
parameters
process.
Thus,
an
important
effect
second
design
question:
is
reset
clearly
Question 2;
This
the
the
of
controller
feedback
tuning
controller?
problem.
1*
._.
-.
...
"keep
the
maximum
deviation
as
small
as
possible,"
or
"return to the desired level of operation and stay close to it
in
the
we
would
then,
shortest
time,"
have
selected
the
Similar
dilemmas
response of type B.
the
design
of
For
-
steady
other
controller
will
be
yielding
encountered
the
closed-loop
quite
often
during
controller.
every
process
state,
and
control
application
we
can
distinguish,
We
cannot
know
usual
steady
state
seen
already
have
achieve
that
zero
for
performance
The
based
-
on
that
steady-state
proportional
zero as Kc -+ 00.
performance
No
most
error,
control
further
in
criterion
steady
discussion
is
zero
error
situations, the
while
the
is
PI
needed
error
on
steady
proportional
controller
state
at
can.
(offset)
controller
Also, we
tends
the
steady
state
closed
loop
system
to
criteria.
evaluation
two
types
of
the
of
dynamic
commonly
performance
used
of
is
criteria:
They
are
simpler
These
are
more
precise
but
also
more
cumbersome
to
use.
In the remaining of this section we will deal with the first category of
simple
for
performance
the
The
of
the
next
criteria
we
will
leave
the
more
complicated
criteria
on
some
characteristic
most
often
section.
simple
performance
closed-loop
Figure 11.2):
and
response
criteria
of
are
system.
based
The
quoted
are
features
(see
- overshoot,
- rise time, i.e. time
for
-
the
first
settling
the
decay
frequency
for
the
response
to
reach
the
desired
value
time,
time,
desired
needed
of
value,
ratio,
of
oscillation
of
the
transient.
Every one of the above characteristics could be used by the designer as the
basic
criterion
for
selecting
parameters.
Thus,
overshoot
minimum
one
or
simple
Usually,
overshoot
designs
based
istics.
and
on
not
suffice
that
minimize
we
using
increase
simple
the
subjectively
From
all
the
popular
by
above
the
to
order
be
to
its
have:
emphasized
describe
the
be
etc.
of
desired
that
dynamic
i.e.
Unfortunately,
response
minimum
though
satisfied,
conflicting
adjusted
controller
character-
balance
performance
practicing
to
-values
in
must
time,
lead
criteria
and
the
objectives
settling
settling
design
It
more
criteria
and
controller
etc.
require
multiple
the
time,
does
intervene
most
design
settling
we
controller
overshoot
while
could
characteristic
response.
minimize
we
the
the
the
above,
The
conflicting
criteria,
engineers.
the
control
designer
must
characteristics.
decay
ratio
Specifically,
has
been
experience
has
the
shown
time.
reasonable
This
criterion.
l/4
trade-off
criterion
is
between
fast
usually
known
as
rise
the
time
and
one-quarter
reasonable
decay
ratio
settling
Example
16.1
Consider
controller.
Controller
Tuning
the
servo
control
The
closed-loop
With
problem
response
the
of
was
One-Quarter
a
Decay
first-order
developed
in
Ratio
process
Section
Criterion
with
15.3
PI
and
is
(15.23)
Ysp (s)
T2S2 + 25rs + 1
where
r,
1
r1
? JT K K (' + KpK~)
PPC
Yp
K K
PC
(15.24a)
and
We
notice
that
the
closed
loop
(15.24b)
response
is
second-order.
For the selection of the "best" values for Kc and 'II we will use
simple
criteria
tem.
Select
know
that
stemming
the
from
one-quarter
Decay Ratio =
the
decay
underdamped
ratio
-2lT3
exp( --->
fl-r2
Therefore,
for
our
problem
we
have,
exp
response
criterion.
of
From
a
eqn.
second-order
(11.12)
we
sys-
T-
J4rpKp;c _ l (1 + KpKc)
-2r
= an(14)
Therefore,
settingg
Let K =l
P
K
and
r1
etc.
which
satisfy
-cp=lO.
=l
Kc
= 0.49
the
Then,
=
one-quarter
we
10
find
Kc
the
30
proportional gain Kc
so
that
the
(16.1)
we
will
decay
ratio
following
Kc
50
have
several
criterion.
solutions
Kc
100
~~ = 0.04 ~~ = 0.02
Usually,
controller
has
we
select
the
first
necessary
the
"strength"
to push the response back to the desired set point and then we choose the
corresponding
TI
value
so
that
the
one-quarter
decay
ratio
is
satisfied.
shape
of
the
complete
closed-loop
response
from
time
t=O until
steady state has been reached could be used for the formulation of a dynamic
performance
criterion.
characteristics
criteria
of
(e.g.
this
Unlike
decay
category
the
simple
criteria
ratio, settling
are
based
on
time)
the
entire
which
of
use
the
only
dynamic
response
of
the
isolated
response,
the
process.
Integral
of
the
Square
Error
(ISE),
where
co
ISE =
(16.2a)
e(t)dt
0
2.
Integral
of
the
IAE =
.P
0
Absolute
Idt> Idt
Value
of
the
Error
(IAE),
where
(16.2b)
AC
.,...,L
,,
.,
. . .
34
3.
Integral
of
the
Time-Weighted
Absolute
Error
(ITAE),
where
cm
ITAE =
(16.k)
tlE(t) Idt
I
where
the
desired
The
set
deviation
(error)
of
the
response
from
point.
problem
of
designing
the "best"
controller
can
now
be
formulated
as
follows:
"Select
the
type
of
the
controller
and
the
values
of
its
adjusted
response."
Which one of the above three criteria we will use depends on the characteristics
of
the
system
impose
on
the
controlled
general
-
to
response
control
and
of
process.
the
some
additional
The
requirements
following
are
we
some
the
For
we
-
want
guidelines:
because
we
To
tune
the
errors
are
squarred
and
thus
contribute
more
to
the
value
of
integral.
the
square
supporession
small
suppress
the
of
numbers
errors
which
controllers
small
errors, IAE
is
better
than
(smaller
than
one)
they
become
persist
for
long
times,
the
better
because
the
presence
of
ISE
even
ITAE
large
because
when
smaller.
criterion
will
t amplifies
16.5
responses.
ITAE
demonstrates
When
performance
Different
For
the
different
the
controller
criteria, two
criteria
same
in
time
designs.
lead
to
integral
qualitative
manner
parameters
points
different
have
are
the
been
very
tuned
important
controller
criterion, different
shape
of
the
using
to
closed-loop
ISE,
IAE
emphasize:
designs.
input
changes
lead
to
and
Let
us
analyze
Example
16.2
these
two
statements
- Controller
Consider
the
feedback
on
the
basis
of
Tuning
Using
Time-Integral
system
shown
in
Figure
the
following
example.
Criteria
16.6.
The
closed-loop
response is:
-rIs+l
-
L(s) =
5s
Y,,(s) +
;i(s)
r1
2
--Q s+l
20Kc ' +5(l+20Kc
or
TIs+l
T s
I
d(s)
+4 = r2s2 + 2cTs + 1 %P(s) +,282 + 2T.s + 1
where
T =
(16.4a)
and
=I
2 J20K (1 + 2OICJ
(16.4b)
In order to select the best values for Kc and TI we can use one of the
three
criteria:
Furthermore,
Finally,
we
can
consider
changes
changes we still need to decide what kind of changes we will consider, i.e.
step,
sinusoidal,
criterion
and
impulse,
unit-step
etc.
changes
the
.rIs+l
Y(s)
2
T
2
s
set
+ 25TS + 1 s
point.
From
eqn.
(16.3)
we
have:
-rtlT 1ITI
y(t)=l+e
sin(
7 + tan
- 1 ___
Il-c2
r
(16.5)
)1
Il-C2
Then solve the following optimization problem
03
"Minimize ISE = [ysp - y(t)12dt
(conditions
a(ISE)
a7
for
optimality):
a(Iw
ar
(-J
Let -r*
and
we
find
the
can
corresponding
optimal
values
for
the
controller
parameters
TI
and K
C
If the criterion was the ITAE then we would have to solve the following
problem:
co
"Minimize
ITAE
Idt by selecting
dYsp - y(t)
the
values
of
is
given
= a(ITAE)/ar,
by
the
equations
= 0
It
criteria
Let
is
clear
will
us
be
that
in
consider
the
solutions
general
now
of
unit-step
changes
.-1
s
T2S2 + 2<TS + 1
I
two
problems
with
different
different.
yields;
Y(s)
the
in
the
load.
Equation
(16.3)
and
inversion,
-?t/T
y(t)
2 t
*I e
sin(fl-5 --)
(16.6)
T /-l-c2
We can find the optimal values of Kc and TI
as
previously.
unit step change in the set point (compare eqns. (16.6) with (16.5), we expect
that the optimal settings of Kc
and
one
given
as
Define
of
the
three
process?
popular
The
feedback
controllers
can
answered
question
be
should
in
be
very
used
to
systematic
follows:
an
appropriate
performance
criterion,
e.g.
ISE,
IAE
or
ITAE.
Select
that
controller
which
gives
the "best"
value
for
the
performance
criterion.
This procedure although mathematically rigorous has several serious
drawbacks
like:
- it is very tedius,
-
it
relies
control
-
it
on
modes1
element,
which
incorporates
criterion
and
troller
using
may
certain
what
Fortunately,
(transfer
not
functions)
for
be
exactly,
ambiguities
input
changes
known
as
to
to
the
which
process,
is
the
sensor
most
and
final
appropriate
consider.
only
general
qualitative
considerations
stemming
from
the
analysis
in Chapter 14.
and
derivative
clusions
There
control
were
as
Control
- Accelerates
the
Produces
except
an
modes
response
offset,
those
had
examined
on
the
the
effect
response
of
of
the
proportional,
integral
In
the
system.
summary:
con-
follows:
Proportional
we
with
of
controlled
i.e. non-zero
l/s
terms
process.
steady
state
error
for
all
processes
in
their
transfer
function,
(integrators)
like
the liquid level in a tank or the gas pressure in a vessel (see Remark in
Section
14.2).
Integral
-
Control
Eliminates
The
any
offset.
elimination
of
the
offset
comes
usually
at
the
expense
of
high
maximum
system
becomes
devications.
- Produces sluggish, long oscillating responses.
to
oscillatory
Derivative
Anticipates
Introduces
16.1
may
lead
to
faster
response
the
instability.
Control
Figure
and
produce
future
a
errors
stabilizing
reflects
in
and
introduces
effect
very
on
the
simple
appropriate
closed-loop
way
all
the
action.
response
above
of
process.
characteristics
which
achieve
parameters.
This
the
At
because
we
have
desired
response
is
true
desired
the
to
in
the
controlled
same
time
adjust
against
sense
the
three
it
that
it
response
by
introduces
parameters.
tuning
difficulty
offers
the
having
more
To
we
three
complex
balance
can
highest
the
adopt
flexibility
adjustable
tuning
problem
quality
the
of
the
following
rules
1.
to
If
select
possible
Simple
controller.
use
simple
proportional
acceptable
has
the
an
offset
proportional
controller
with
integrating
can
moderate
action,
controller.
be
used
values
i.e.
of
term
if:
for
gas
controller
provide
should
sufficiently
be
used
small
when
proportional
steady
state
control
errors
alone
cannot
Therefore,
(offsets).
but
very
often
(almost
always)
system,
mode,
3.
despite
remains
Use
PID
The
PI
eliminates
For
slow
down
caused
control.
The
response
by
the
integral
control
to
the
increase
offset
the
but
multicapacity
speed
of
reduces
the
process
whose
the
closed-loop
speed
of
response
the
is
response.
closed-loop
very
sluggish,
In
such
allows
the
excessive
recommended
for
of
satisfactory.
controller
response.
the
flow
Consequently,
for
use
of
higher
oscillations.
temperature
sluggish, multicapacity
and
gains
which
produce
faster
responses
processes.
control
where
we
have
Example
16.3
Let
control
us
Selecting
discuss
Type
various
We
systems.
the
will
of
Controller
processes
address
for
Various
which
are
to
be
primarily
the
question
Processes
controlled
of
by
feedback
selecting
the
bottom
drum
of
(Figure
Consider
the
distillation
16.7).
Our
two
column
control
liquid
and
level
its
objective
is
control
condenser's
to
keep
systems
for
accumulation
each
liquid
level
within a certain range around the desired set point and not to meet it
exactly.
p2
within
downstream
certain
process
range
change.
around
or
the
pressure
desired
value, thus
making
proportional
are
shown
relatively
in
Figure
and
manipulates
the
vapor
PI
while
slow.
16.8.
the
maintaining
caused
by
the
in
is
for
example
the
of
the
vapor, thus
process.
satisfactory.
acceptable
integral
mode
by
the
vapor
condensed.
in
distillation
configurations
For
such
flow
of
Such
systems
column.
of
the
control).
cooling
The
directly
systems
with
and
quickly
fast
response,
speed
of
affecting
response
For
the
two
flow
pressure
controller
Consider
water
may
slow
be
dynamics
system
vapor
which
used
(despite
pressure
affects
for
of
in
the
controlling
the
heat
some
slowdown
Figure
is
controlled
amount
the
of
pressure
transfer
Ic-
.U.
-.
1,
. . .
process
are
introduced
in
the
control
loop.
We
expect
that
the
response
may
get
an
selected
unstable
which
Both
will
system.
provide
Consider
respond
the
quite
Therefore,
enough
two
speed
flow
and
controller
should
be
robustness.
control
Therefore,
fast.
PID
systems
a
PI
shown
in
controller
Figure
is
16.10.
mixture
at
Our
accomplished
the
reactor.
have
two
reacting
(ii)
controller
PID
value.
Since
the
manipulating
the
rather
the
temperature
steam
the
control
system
temperature
of
reaction
of
to
heat
sensor
the
is
steam
temperature
processes: (i)
the
from
flow
measured
slow
and
is
temperature
keep
Between
the
the
transfer
(see
mixture.
this
jacket
between
around
effect
the
13.3)
We
in
reacting
control
Section
reacting
the
endothermic,
in
and
shown
and
expect,
make
controller
high
gains
the
system.
for
it
would
faster
the
to
transfer
therefore,
by
mixture
heat
objective
desired
is
we
Consider
control,
Therefore,
even
be
more
the
response
so.
most
appropriate
without
because
undermining
it
the
can
allow
stability
of
PID
slow
controller
response
should
caused
be
the
by
slow
most
composition
appropriate.
397
16.5
CONTROLLER
After
the
is
the
problem
known
TUNING
type
of
as
TECHNIQUES-
of
deciding
the
feedback
what
controller
values
controller
to
tuning
has
use
been
for
problem.
its
There
selected,
adjusted
are
we
still
have
This
parameters.
three
general
approaches
Use
simple
minimum
criteria
settling
simple
and
like
time,
easily
the
one-quarter
minimum
implementable
decay
select
-
Use
performance
single
time
16.2).
set
integral
This
will
of
performance
approach
mathematical
model
is
etc.
on
actual
process.
an
on an actual process, it is
In
Use
semi-empirical
this
methods
Cohen
section
known
and
rules
we
as
will
the
be
for
Additional
needed
the
criteria
rather
(transfer
Such
error,
then
values
(see
largest
ratio
to
like
function)
and
of
approach
it provides
specifications
the
is
on
the
multiplicity
and
parameters.
ISE,
cumbersome
an
Usually,
break
adjusted
Example 16.1),
IAE
or
relies
the
ITAE
(see
heavily
on
process.Applied
Example
the
experimentally
time consuming.
which
discuss
Process
have
the
been
most
Reaction
proven
in
popular
of
Curve
Method
practice.
the
which
empirical
was
tuning
developed
by
Coon.
Consider
disconnecting
the
the
control
system
controller from
of
Figure
the
16.11
final
which
control
has
been
element.
"opened"
Introduce
by
a
element.
(see
Figure
Between
16.10)
ym
The curve
y,(t)
is
Record
called
YmW
GpRC(s) =
~ =
(16.7)
Gf(s)*Gp(d-Gm(s>
C(s)
The
last
equation
shows
that
the
process
reaction
curve
is
affected
not
only
by the dynamics of the main process but also by the dynamics of the measuring
sensor
and
final
Cohen
and
control
Coon
element.
observed
that
the
response
of
most
processing
units
to
an input change as the above had a sigmoidal shape (see Figure 16.12a) which
can
be
adequately
approximated
by
the
response
of
first-order
system
with
GpRC(s)
which
has
YmW
___
C(s)
three
-tds
Ke
,rs+l
parameters:
T.
of
the
three
parameters.
(16.8)
Thus,
td
Cohen
=
and
time
point
elapsed
Coon
used
of
until
the
inflexion
the
system
approximate
model
and
and
various
one-quarter
minimum
offset,
minimum
integral
The
results
performance
decay
of
criteria
of
as
responded
eqn.
indicated
their
error
analysis
(ISE),
are
like:
etc.
summarized
and
above.
estimated
Then,
they
ratio,
square
(16.8)
below.
...
whose
response
has
the
general
overdamped
shape
of
16,12a(seealsoFipures
10.4, ll.la
oscillatory
behavior
produced
underdamped
is
mainly
Figure
by
the
response
takes
the
sigmoidal
shape
of
an
overdamped
system.
(3) From eqns. (16.9),
(16.1Oa)
and (16.11a)
for
the
controllers
we
notice that:
- The gain of the PI controller is lower than that of the
P controller.
control
mode
the
system
more
sensitive
(may
even
lead
The
stabilizing
effect
of
the
derivative
control
mode
Example
In
16.4
this
example
processes
(0
Tuning
influence
Processes
Feedback
- - - -Controllers
we
the
with
will
examine
tuning
results
very
shosrt
how
Through
the
dynamics
recommended
time
delay
Reaction
by
(dead
Curves
of
various
Cohen
and
Coon.
When
td
time).
typical
is very
small (almost zero) the process reaction curve (Figure 16.12a) reminds
the
response
settings
Kc
of
simple
dictate
an
extremely
first-order
large
system.
value
The
for
the
Cohen
and
Coon
proportional
gain
In real practice we
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
i
will use the largest possible gain to reduce the offset if a proportional controller is employed.
the
(ii)
value
of
gain
Multicapacity
processes.
will
be
processes.
Consider
determined
These
two
stability
constitute
first.-order
the
systems
requirements.
large
majority
in
series
valve
(final
of
real
with
P
s+l) (T
CT
s+l)
p2
Pl
Let
the
measuring
device
and
the
control
control
element)
Knl
=-cms+l
Then,
the
and
transfer
Gf
function
Kf
rfs+l
between
the
control
actuating
variable
eqn.
(16.7)):
KKK
f pm
s+l)(-r
=GGG
=
PRC
(y+l) (T
f pm
P2
Pl
Equation
same
of
(16.8)
dynamic
four
Figure
indicates
characteristics
first-order
16.13
that
systems
shows
the
the
process
as
the
in
series,
process
(16.8)
s+l)(Tms+l>
reaction
response
i.e.
reaction
curve
has
composed
of
system
it
is
slgmoidal
curve
for
the
the
curve.
following
values:
K
Draw
1.0
TPl
the
tangent
at
Km
rP2
the
1.0
2
inflexion
,
,
Kf
Tf
point
1.0
and
0.00
and
find;
Tm
= 20.
10.0
- t
-K
Therefore,
response
the
of
the
approximate
that
reaction
following
curve
can
first-order
with
be
approximated
dead
time
by
the
system:
1.0 e-2*5s
2Os+l
GPRC
The
process
= 1.0.
the
response
approximation
is
also
is
shown
in
satisfactory
Figure
until
the
16.13.
We
response
notice
has
Using
the
Cohen-Coon
For proportional
suggested
controller:
= 7.2
KC
shows
and
the
Cohen
and
Coon
= 5.85
TI
closed-loop
find:
controller:
For proportional-integral
16.14
we
= 8.0
KC
Figure
settings
responses
and
with
the
above
settings
produce
underdamped
behavior
= 0.89
rD
settings
for
We notice that
with
rather
good
decay ratio.
Example
16.5
The
- Controller
methodology
particularly
appealing
sensor
poorly
are
the
values
the
effects
trol
element
process.
of
and
controller
if
the
the
Poorly
tuning
dynamics
Known
using
of
the
Processes
process
main
reaction
process
or
curves
the
is
measuring
parameters.
all
for
of
known,
the
of
Tuning
dynamic
provides
an
In
such
case
components,
the
i.e.
process
process,
experimental, approximate
reaction
sensor
model
for
curve
and
the
reveals
final
con-
overall
c--
Take
16.10.
as
example
the
temperture
control
._.,
system
,...
for
the
reactor
of
Figure
the
reaction
kinetics,
the
mixing
the
heat
the
overall
the
effective
order
the
gain
time
the
characteristics
The
model
characteristics
capacity
heat
and
process
of
the
requiring
the
of
overall
the
the
of
the
steam
process
control
mixture,
between
thermocouple's
curve
knowledge
and
tank,
coefficient
constant
of
the
reacting
transfer
reaction
detailed
thermocouple
of
in
which
of
reacting
mixture,
thermocouple,
etc.
this
system
we
the
and
dynamics,
valve,
for
steam
can
use
dynamics
provides
to
for
tune
the
us
the
with
an
experimental
controller
reactor,
without
heating
jacket,
valve.
design
controller
(P,
PI,
for
selected
the
criteria
we
feedback
PID)
controller
and
(b)
controller.
can
use
to
it
to
choose
There
evaluate
are
the
two
values
main
alternative
of
the
adjusted
parameters
classes
of
dynamic
performance
controller
designs,
The first
decay
which
ratio,
are
based
rise
on
time,
the
settling
time
time), while
integrals
of
various
the
second
functions
of
includes
the
errors
product
of
time
with
the
absolute
errors).
The
first
class
of
criteria,
lead
to
single
The
-
multiple
and
need
additional
integral
based
lead
of
to
produce
on
criteria,
the
mathematical
model
(transfer
specifications
solution.
time
are
solutions
to
unique
solutions, since
closed-loop
they
function)
of
process,
problem, and
depend
on
the
entire
dynamic
response
system.
In order to select the type of a feedback controller we can use the following
general heuristic rules:
-
Use
proportional
level,
-
Use
gas
PI
Use
system
PID
to
has
tuning
one-quarter
if
small
eliminate
offsets
undesirable
satisfactory
to
speed
systems, while
controller
the
only
can
be
tolerated,
e.g.
liquid
control.
controllers
open-loop
For
pressure
controllers
open-loop
-
control
up
the
maintaining
the
decay
speed,
most
ratio
e.g.
response
methods
if
flow
the
response
of
the
control.
of
satisfactory
common
rule,
offsets
sluggish
multicapacity
robustness.
employ,
or
the
Cohen
and
Coon
settings
based
on
the
process
reaction
curves.
The first and last can be used with poorly known processes, while the second
necessitates
mathematical
models
for
all
components
of
closed-loop.
In the next two chapters we will discuss a methodology for the design of
feedback
far.
the
controllers, which
is
quite
different
from
everything
we
have
seen
so
design
problems
from
new
perspective.
THINGS
1.
TO
What
THINK
are
the
troller?
2.
What
3.
Discuss
is
meant
the
troller
Can
main
by
two
6.
arising
and
controller
classes
demonstrate
during
the
design
of
feedback
con-
tuning?
of
dynamic
how
performance
different
criteria
criteria.
lead
Give
to
physical
different
con-
designs.
you
design
simultaneously?
5.
questions
examples
4.
ABOUT
controller
which
minimizes
the
rise
and
settling
times,
Explain.
Can you design a controller which minimizes the overshoot and settling
time, simultaneously?
Explain.
What
advantages
are
the
relative
and
disadvantages
of
the
three time-
integral criteria, i.e. ISE, IAE and ITAE? How would you select the
most appropriate for a particular application?
7.
Why
do
simple
one-quarter
criteria
decay
like
ratio,
minimum
overshoot,
minimum
settling
time,
9.
Discuss a set of simple heuristic rules you could use to select the
most
10.
type
of
feedback
controller
for
particular
system.
Discuss the philosophy of the methodology that leads to the Cohen and
Coon
11.
appropriate
settings
for
feedback
controllers.
controller
an
for
existing
process
in
chemical
plant.
aa.
,.
12.
Why
do
shape?
most
of
Can
you
the
process
develop
reaction
physically
.1
. .
curves
have
meaningful
an
overdamped
system
which
has
sigmoidal
a
Are
14.
Cohen
according
and
to
Coon
the
settings
Cohen
and
reliable
Coon
for
all
settings?
processes?
Explain.
13.
Is
it
reasonable?
Explain.
15.
If the dynamics of the process or measuring sensor are not well known,
what
tuning
techniques
would
you
use?
L4,
..-
,..
4 a.7
uNc~~TROLCED
RESPONSE
desired
1
i 6.
lyue
-.--__
1G.d
-_
level of operaLion
.r-- u
pc --:
I
I
IF ig u-e
46.8 1
Cls)=A/S
2jnJs)
-
G,
. .
/
slope =s
44
id
!b)
?/
1.0
0.75
0.5
0.25
0
-7
t
A
I . .
CHAPTER
THE
FEQUENCY
RESPONSE
17
ANALYSIS
OF
LINEAR
PROCESSES
seen
so
When
response
far
linear
(after
characteristic,
the
how
and
it
is
called
system
is
subjected
long
time)
which
will
is
be
proved
Response
Analysis.
With
frequency
response
the
features
of
with
the
frequency
with
basic
premises
usage
for
controller
the
of
of
input
the
in
a
in
quite
different
Response
Section
we
input,
sinusoidal
17.2,
are
everything
we
Analysis.
sinusoidal
sustained
from
its
wave.
constitutes
primarily
ultimate
This
the
interested
the
next
while
shift)
leaving
of
find
sinusoid.
analysis,
phase
to
wave
response
(amplitude,
basis
sinusoidal
frequency
design
to
analysis
output
the
is
Frequency
also
Frequency
the
It
change
its
chapter.
G(s)
Let
f(t)
be
f(t)
simple
=
first-order
Y(s)
~
Us)
system
with
the
transfer
function
KP
(17.1)
TPS+l
sinusoidal
input
with
amplitude
and
frequency
w,
i.e.
= A sinwt
Then
T(s) = Aw
s* + u*
Substitute
F(s)
(17.2)
Y(s)
Aw
s2 + cd2
Expand
into
partial
Y(s)
fractions
and
5
+ l,T
P
find
c2
s + jw
c3
s - jw
(17.3)
trans-
-tl p
pe
= 2p2
y(t)
rPw
KpAo-r
-
+I
KA
sinwt
-t/-c
As
ta
the
'+O
and
the
first
term
disappears.
Y,,W
KPAwr P
- ,2w2
+ 1 coswt
P
KPA
,2,2 + 1 sinwt
P
(17.4)
a2sinb
a3sin(b+$)
where
a3
and
I$
tan-'(al/a2)
Y,,(t)
sin(wt
(17.5)
+ $I)
OF
+1
P
where
4
From
-
eqns.
The
tan
(17.5)
ultimate
-1
and
(17.6)
(-o.rp)
(17.6)
response
(also
we
observe
referred
that;
as
steady
state)
of
first-order
system
,,.I
..I
.
...
9/3
The
ratio
of
the
output
amplitude
to
the
input
amplitude
is
called
amplitude
AR = amplitude ratio =
(17.7)
P
- The output wave lags behind (phase lag) the input wave by an angle ]$I,
w (see eqn. (17.6)). Figure
shows
input
The
above
three
to
generalization
the
Remarks:
ultimate
response
of
the
system
and
its
relationship
to
the
wave.
expandable
to
the
any
of
algebra
(1)
observations
order
the
of
do
not
linear
results
complex
numbers.
w =
complex
only
Before
system.
above
Consider
hold
let
we
first-order
proceed
with
systems
but
are
the
us
number
for
W defined by
a + jb
where
Define
of W = Im(W).
the
following
terms:
and
IWI = J[Re(W)12
defined
by
(17.8)
+ [Im(W)12
+W
and defined by
Im(W)
tan-1 ~
L-Re(W) I
(17.9)
lwlcose
(WI ~0.~0
and
and
=
j[Wlsine
/WlsinO
Recall
also
cosa
that
ejfJ + e-je
and
sin8
Jo _ e-je
2j
Then
ejO + .-jO
w = /WI
ej 8 _ .--jO
+
j/WI
= lWleje
(17.10)
2j
= juFp+l
P
-jOrp+l
or
K
G(jw)
K WT
P P
T21112 + 1 - j T2U2 + 1
P
P
above,
P
and
Argument of Gm =tan --I(- wrp)
The
last
two
relationships
and
phase
lag
for
system
of
its
are
equal
transfer
the
to
indicate
frequency
the
function
modulus
when
that
response
and
the
of
amplitude
a
argument
ratio
first-order
respectively
s = jw.
This is an important result which we will generalize in the next section for
any
linear
system.
general
linear
system
with
the
transfer
function
G(s) =
where
with m<n.
-
(17.11)
We
will
prove
that:
wave.
G(s) if we put
s = ju, i.e.
AR = modulus of G(jw)
- The output wave is shifted with respect to the input wave by an angle 4
which
is
a
$
function
of
the
frequency
w given by
argument of G(jw)
PROOF
For a sinusoidal input f(t) = Asinwt we have
eqn.
(17.11)
yields:
Y(s)
G(s)
2Aw
Expand
the
y(s)
The
last
equation
into
cd2
partial
fractions:
a
b +
= G(s) Aw
+
s2 + w2=s + jw s - j w
5 + 52 + .
s-p1 s-p2
terms
c1
s-p
give
rise
to
eplt
'
c2
s-p
exponential
, e
p2t
'
... ,
terms
pnt
, ... , e
%
s-p n
5-l
s - 'n
Therefore,
the
ultimate
response
is
by
Yss(s>
Compute constants a
a =
G(s)
Aw
=
s2 + cd2
as + +ju s
-b
jw
(17.12)
AG(-jw)
-2j
b=h!t$+!d
and
Y&4
y,,(t)
AG(-jw)
1
s + jw
zj
or
AG(-jw) .-jut
zj
AG(jw)
2j
ejwt
(17.13)
Use eqn. (17.10) to express the complex numbers G(-jw) and G(jw) in polar
form,
i.e.
G(-jw)
IG(-jw)
Ie-j' = IG(jw)
[e-j'
and
G(jd
= IG(jw)
Iej'
(17.13)
y
ss
I AIG(jw)
2j
ej Cut+@) _
e-j (cot+@)
= *IG(jw) 1
1 ej(wt+$)
2j
or
Y,,(t)
= AIG(jw)l
sin(wt+$)
AIG(jo)l/A
(17.14a)
IG<jw)/
(17.14b)
argument of G(jw)
The
Frequency
transfer
function
G(s)
!k
Response
of
Pure
Capacitive
Process
is
for
K
'
jw
the
=
ultimate
response;
IG(jw)l
(17.15)
Kp/"
tan-l(-02)
ultimate
sinuosidal
-90
response
(17.16)
of
the
system
lags
behind
the
input
wave
by 90".
G(s) = G1(s)G2(s)
KpN
s+l
PN
G(jw)
But,
according
to
eqn.
(17.17)
,-'-,GN(j~)
(17.10)
j+,
Gl(jw)
where
= IGl(ju)
le
j+,
j+,
, G2(ja)
= IG2(ja) le
,***,GN(ju)
+1,42,***,4N
= bN(j") te
G2(jW),***,GN(jW).
Then,
j(41+$2+,***,+4N)
G(jw) = 1 IGl(jW) llG2(ju)l - ,-*- ,- IGN(ju) II l e
Consequently,
-
amplitude
the
response
has
the
following
characteristics;
ratio,
AR
IG( jd I
or
K
-K *,**-,-K
p1 p2
PN
(17.18a)
AR = ~--qyK~~,"~,
1
p2
-
phase
/L--q?
shift,
(17.19)
or
4 = tan-'(-wrpl)
)+,**a,+
+ tan-'(-UT
Since
Example
For
tan-'(-wr
P2
PN
17.3
a
The
Frequency
second-order
system
K
G(s) =
r2s2+L+l
Response
the
of
transfer
Second-Order
function
is
System
(17.19a)
.
A/!
G(jw) =
P
(-T2u2+1)+j2<Tu
P
(-T2u2+1)+j2cTu
22
. (-T w +l)-j25rw
(-.c2u2+1) -j 2y-rw
or
Kp(l--rLuL)
G(jw) =
(1-*2fA2)2+(257w)
Therefore,
-
the
amplitude
ultimate
ratio
AR
response
given
IG(jw)
Kp*2T-rlri
2 -9 (1-r202)2+(2r7U)
has
the
following
2
characteristics;
by
1
(17.20)
+ (25TW)
- phase shift is
+
25?W
(17.21)
1 - 92w2)
which is phase lag since 4~0.
transfer
function
is
--T s
G(s) = e d
Put s = jw and take
-j Tdw
G(jw)
Clearly;
- amplitude ratio = IG(jo)l = 1
(17.22)
(17.23)
Example
Let
(i>
17.5
The
us
now
Frequency
shift
our
Response
attention
Proportional
Controller
The
function
transfer
Gc(s)
of
to
Feedback
the
various
Controllers
types
of
feedback
controllers.
is
KC
Therefore,
AR
(ii)
and $=O.
Kc
Proportional-Integral
The
transfer
GcW
Controller
function
= Kc(l
is
+$-)
I
Therefore
AR
IGc(jw)l
Kc
m
(UT >
(17.24)
$I
(iii)
tan-l(-l/wrI)
Proportional-Derivative
Controller
The
argGc(jw)
transfer
function
<
(17.25)
is
= K,(l + -rDs)
GcW
Therefore,
AR =
IGc(jw)/
argGc(jw)
(17.26)
= Kc x + rkw2
tan
-1
(~Dw)
>
(17.27)
The positive phase shift is called phase lead and is the consequency
of
the
derivative
anticipatory
control
control
mode
nature.
and
another
manifestation
of
its
Proportional-Integral-Derivative
(iv>
The
transfer
GcW
function
= Kc(1
Controller
is
+-& + -rDS)
I
AR
lGc(jw)
4 = tan-l(rDw
J (T D w - A)2 + 1
I
(17.28)
(17.29)
- +-)
I
Notice that;
- AR is always larger or equal to 1 and
- depending on the values of 'rD and TI and the frequency w
we may have $>O (phase lead) or 4~0 (phase lag).
17.3 BODE DIAGRAMS
The Bode diagrams (in honor of H. W.
represent
the
and (17.14b),
frequency
response
of
system.
plots
constitute
convenient
way
to
Bode)
showing;
how
the
logarithm
how
the
phase
of
shift
the
amplitude
varies
with
ratio
varies
with
frequency
and
frequency.
frequencies.
Let
we
have
us
now
examine
encountered
in
the
the
Bode
diagrams
previous
of
chapters.
some
simple
dynamic
systems
that
A.
First-Order
For
System
first-order
system
we
have
seen
K
amplitude
ratio
that
(17.7)
I1 + r202
P
phase
lag
(17.6)
tan-'(-rw)
(17.30)
- + log(1 + T;w2)
as the independent
is constant, regard -rpw
P
The plot of log(AR) vs.
- log(rpw) is shown in Figure
17.3a
of the frequency w.
plot
Instead
this
graph, we
can
asymptotic
behavior
as
frequency
asymptote).
give
w-t0
of
the
very
an
approximate
(low-frequency
Thus,
we
elaborate
sketch
numerical
by
asymptote)
for
various
work
considering
and
as
values
needed
to
its
o- (high-
have:
This
is
the
Figure 17.3a.
AR=1
for
high-frequency
asymptote
shown
also
by
dotted
line
in
of
from
this
eqn.
plot:
(17.6).
We
can
easily
verify
the
following
It can be
character-
w-
- At w = l/rp(corner
= -450
Remark:
Equation
Pure
For
Capacitive
such
AR
The
Bode
C.
Process
processes
=
we
are
Second-Order
know
that
(see
Example
17.1)
and 4 = -90"
Kp/w
plots
easily
constructed
and
shown
in
Figure
17.4.
System
AR=...-.--
-2??w
and I$ = tan -5
>
1 - T202
J(l-T2U2)2+(25Tw)2
The two plots are shown in Figure 17.5 for various values of
< when Kp = 1.
The two asymptotes for the plot AR vs. TW are determined as follows:
- As w-fo, then
-As
logAR+O
AI+1
or
(low-frequency
Figure
=l,rw
17.5
we
amplitude
ratio
the
frequency
D.
low
Pure
From
Dead
can
Time
Example
Bode
plots
exceed
that
for
through
underdamped
significantly
asymptote
the
point
shifts
the
vertically
systems,
value
of
by
the
i.e.
.
value
5~1, the
When Kp # 1
1ogK .
P
System
17.4
for
passing
=l
notice
we
AR = 1
The
asymptote)
have
and
this
system
that,
$J
are
-TdW
easily
constructed
and
shown
in
Figure
17.6.
E.
Systems
in
Consider
Series
N systems in series with individual tranfer functions
Gl(s),G2(s),...,GN(s)
The
overall
transfer
G(s)
function
is,
Gl(s)G2(s),-,GN(s)
G(jw)
Gl(jw>G2(jw>,**o,GN(jw)
or
jw> le
G(ju) = IGl(ju)
j@,
or finally
j
($1++2+,**
,++,I
last
equation
yields
IG(jw) 1
= IGl(ju) I* IG2(ju) 1
l ,***,-IGN(j~) I
(17.31)
and
@
From
(17.29)
$1 + $2 +,,+
we
AR =
(17.32)
$N
have
(AR)l*(AR)2*,~*~,*(AR)N
or
log(AR)
= ~o~(AR)~
(17.33)
+ l~g(AR)~+,---,+log(~~)~
where
(AR>,,(AR>2,***,(~>N
are
the
(17.31)
the
amplitude
and
(17.32)
construction
of
ratios
for
the
individual
are
very
important
the
Bode
diagrams:
and
systems
in
indicate
the
series.
Equations
following
rules
for
logarithms
of
the
amplitude
ratios
of
the
individual
systems,
(2) The overall phase shift is equal to the sum of the phase shifts of the
individual
(3)
The
presence
of
entire
AR
phase
shift.
Example
Bode
the
GIW
overall
curve
17.6 -
Consider
The
systems,
in
the
vertically
by
Diagrams
following
=
for
overall
constant
Systems
systems
in
and
function
&
Two
two
&
transfer
G(s)
constant
transfer
amount.
in
function
will
move
the
Series
series;
G2W
&
is
6
5s+l
Then,
or
1ogAR
= log6
+
are
log(AR)l
the
Figure
systems as functions of w.
log6
w.
will
yield
the
amplitude
amplitude
17.7a
The
ratios
of
the
individual
systems,
addition
ratio
(17.34)
log(AR)2
of
of
the
these
two
curves
overall
system
From
plus
versus
this
the
the
curve
factor
frequency
we
..
JCJe
region is the algebraic sum of the slopes of the asymptotes for the two systems
in
the
corresponding
Region
(2)
1.
region.
Thus,
we
have:
From w =O to w = l/5
Region
2.
Slope
of
the
overall
point AR = 6 o = l/5
(iii) Region 3.
For
w > l/2
17.7b
shows
the
phase
shift
for
the
overall
system
versus
the
frequency,
as the algebraic sum of the phase shifts of the two individual systems, i.e.
9
$1
$2
tan-l(-2w)
tan-'(-5w)
It is clear that;
- when w-to, @l-to,
42%)
F.
Feedback
The
structed
(i>
and
(p-t-180'
Controllers
diagrams
easily
using
Proportional
Bode
values K
(ii)
($J2+-900
Bode
The
and $+O
the
various
results
types
of
Example
and
are
feedback
controllers
can
be
con-
17.5.
0"
trivial.
The AR and 0
for
frequencies.
all
Proportiaonal-Integral
Controller
From
(17.25)
eqns.
of
Controller
plots
C
for
(17.24)
and
we
take;
stay
constant
at
the
and 0 = tan-l(-l/wrI)
Therefore:
-
Low
frequency
asymptote:
As ~0
,>jl
then log@)
(WTI) L
= -log(w~I)
RC
and the low frequency asymptote is a straight 1 ine with s lope -1.
-
High
frequency
w+-= 1- - +O
2
(UT I >
A s
The
asymptote:
high
frequency
and
log& = 0 ,
C
asumptote
is
AR
1 .
i.e. K =
C
horizontal
line
at
the
value
AR/Kc = 1.
The (AR/Kc) vs.
- (UT,) is shown in Figure 17.8a.
shift
we
the
p-90"
as w+-=
4-f 0"
ys-.
the
phase
following:
as w-to
The
(iii)
have
For
and
Proportional-Derivative
The AR and $I
Controller
and
17.9b.
(iv)
Proportional-Integral-Derivative
The AR and 9
The
Bode
17.10a
plots
Controller
and 17.10b.
easily
constructed
and
they
are
shown
respectively.
in
Figures
Example
loop
17.7 -
Bode
Plots
Consider
the
transfer
function
feedback
OL
for
is
an
Open-Loop
control
(see
system
System
shown
2 in
Remark
in
Figure
Section
The open-
17.11.
15.2)
Gc*Gf*Gp*Gm
or
G
with
product
+ -+)*
I
l
O.ls+l
(2s+&+1)
of
six
the
transfer
1
s+l '
following
functions,
1
0.5s+l
corner
'
-0.2s
1
0.5s-U' e
1
2s+l '
with
= 100Kc*(l
OL
i.e.
cl+&),
I
frequencies
(in
-0.2s
l
O.ls+1
the
'
same
e
order)
Bode
plots
of
the
individual
can
present
-
First;
be
constructed
transfer
functions
and 17.12b.
The
following
the
rules
following
six
regions
are
Bode
discussed
easily
plots
in
constructed
for
the
I
I
I
and
overall
paragraph E
of
the
section.
we
identify
the
on
the
frequency
scale:
w5 5 w < a.
- Second; for the AR vs. w diagram, the
slope
of
the
overall
asymptote
The
overall
asymptote
is
shown
in Figure 17.12a.
- Third; the overall phase shift is equal to the algebraic sum of the phase
shifts
for
each
individual
transfer
function
and
is
shown
in
Figure 17.12b.
I
I
I
I
-.
+Q Y
17.4 NYQUIST PLOTS
A
Nyquist
characteristics
Re[G(jw)]
plot
of
is
an
alternate
dynamic
as abscissa.
way
system.
to
represent
It uses the
the
frequency
Im[G(j,)]
response
as ordinate and
we
Thus,
observe
the following:
- The distance of the point 1 from the origin (0,O) is the amplitude ratio
at the frequency wl, i.e.
distance = hRe[G(ju1)]12
- The angle $
II2 = IGkiw)( = AR
+ [Im[G(ju1)
with the real axis is the phase shift at the frequency wl,
i.e.
$I = tan-l[Im[G(jwl)]/Re[G(jwl)]]
Thus, as the frequency varies from 0 to ~0 we trace the whole length of the
Nyquist
and
phase
istic
for
The
for
plot
the
and
we
shift.
the
Nyquist
same
find
The
shape
particular
plot
system.
A.
systems
First-Order
The
(0
using
and
location
the
Therefore,
their
corresponding
values
of
for
the
Nyquist
amplitude
plot
are
ratio
character-
system.
contains
the
same
its
information
construction
as
is
the
pair
rather
of
easily
Bode
plots
given
the
plots
developed
in
the
previous
section.
System
corresponding
Bode
plots
are
given
in
Figure
Therefore,
17.3.
the
We
observe
beginning
of
that:
the
Nyquist plot is on the real axis where $=O and at a distance from
the origin (0,O) equal to 1 (see point A in Figure 17.14a).
.
93 0
I
(ii)
When u-)co
<
AR
and
~1
'
-90"
<
c$
<
the Nyquist plot will be inside a unit circle and will never leave
the
first
quadrant.
Its
complete
shape
and
location
are
shown
in
Figure 17.14a.
B.
Second-Order
The
(i>
System
corresponding
Bode
plots
are
shown
in
When w=O
Figure
Thus, the
17.5.
Notice that:
beginning
of
the
Nyquist
When wxo
then AR-+0 and (p-+-180', i.e. the Nyquist plot will end
When
~1
circle.
then AR51
When
frequencies.
5~1
Third-Order
System
1
$s+l) (3s+2) $s+U
+9,3
D.
Pure
Dead
From
the
Time
corresponding
AR = 1
Bode
plots
(Figure
17.6)
we
notice
that:
and
-T d w
$=
Therefore,
Pure
Capacitive
From
the
corresponding
Bode
plots
(Figure
17.4)
we
notice
that:
phase
Nyquist
lag
plot
remains
coincides
constant
with
at
the
-90"
negative
for
every
part
of
frequency.
the
Therefore,
imaginary
axis
the
(Figure
17.14e).
F.
Feedback
Controllers
PD
and
PID
controllers.
17.15b,
17.15~
of
linear
to
ultimate
a
response
sinusoidal
(also
input
called
has
the
sometimes
steady
state)
following
characteristics:
G(jw) .
The
Frequency
linear
system
varies
with
are
used
response
subjected
the
to
analysis
to
frequency
represent
a
of
the
is
the
study
sustained
the
input
frequency
of
the
sinusoidal
input.
wave, Bode
response
ultimate
response
of
diagrams
and
characteristics
Nyquist
of
plots
system.
The
Bode diagrams consist of a pair of plots showing how the amplitude ratio and
phase
shift
Re[G(jw)]
and
can
used
(transfer
with
and Im[g(jw)]
be
Frequency
be
vary
constructed
response
extensively
function)
to
of
the
frequency.
as coordinates.
from
each
analysis
Both
contain
the
same
information
other.
and
the
design
effective
unknown
systems.
Bode
diagrams
controllers
and
or
Nyquist
identify
plots
the
will
dynamics
4.38 ,
THINGS
1.
TO
THINK
What
are
ABOUT
the
characteristics
of
the
ultimate
response
of
linear
system
3.
What
means
response
4.
Define
could
you
use
analysis
for
the
Bode
diagrams
to
represent
dynamic
and
the
results
The
system
with
G(s) =
is
usually
l-s
transfer
known
the
Nyquist
plots.
Do
you
have
6.
it
Construct
the
to
the
G(s) =
7.
Does the
familiar
diagram
Kp*e
personal
function
as - first-order
Bode
any
If yes, why?
lead
element.
frequency
system?
of
and
transfer
first-order
Nyquist
lag
plot
[Hint:
element].
of
first-order
system
with
function
-T s
d
ups+1
Nyquist
plot
have
meaning
for
the
frequencies
-0 5 w I O?
Show that the Nyquist plot for this range of frequencies is the mirror
image
8.
of
the
familiar
Construct
qualitatively
transfer
function
Nyquist
the
plot
Nyquist
for
plot
the
of
frequencies
a
sixth-order
G(s) =
where
'1?29
P
(Tls+l) (r2s+l) (T3S+l.) (TqS+l) (TgS+l)
(T6S+l)
are
positive.
all
real
and
o_<ws+,=.
system
with
9.
For a system like the one in item 8 above, we claim that the slope of
the overall asymptotes in the 1ogAR
be given from the algebraic sum of the slopes of the asymptotes for the
individual
subsystems,
1
T 1 s+l
1
1
___
. . . ___
T 2s+l '
' rgs+l +
'
Explain why.
the
slopes
Nyquist
10.
of
plot
the
for
asymptotes
the
above
for
the
overall
system.
Draw a qualitative
system.
not
physically
= Kc(l
GC
represents
the
modify
the
of
actual
an
controller
Consult
11.
realizable.
above
of
transfer
PI
Ref.
This
+$-)
I
behavior
must
Therefore,
the AR-.
an
function
controller?
be
such
and
ideal
that
so
PI
controller.
that
The
transfer
as
W-+0
it
How
should
represents
function
of
then AR-+finite
the
the
we
behavior
actual
value.
PI
[Note:
1.
physically
unrealizable.
How
should
we
modify
Consult Ref.
and
to
develop
the
transfer
the
This
transfer
value?
function
of
an
actual PD controller.
12.
of
an
actual
PID
controller,
which
characteristics:
as
and
as
w-4
AR -+ c1 = finite
w-
AR -f 8 = finite.
has
the
following
q35
- - - _
- - -_
AR
1 /Yjwe 178)
. .
I~
i
-3 ,
c
-41
.--
1
I
I
- , -,
I
I
-I,
I 1
@)
--_
c __- - ^ C>
I
-^ - _ *_-_
-3
49
-1 Iti
6
0
CHAPTER 18
DESIGN
In
its
OF
the
FEEDBACK
previous
application
to
CONTROL
chapter
various
we
SYSTEMS
USING
studied
the
dynamic
FREQUENCY
frequency
systems.
The
RESPONSE
response
question
that
TECHNIQUES
analysis
may
and
have
been
raised in the mind of the reader, i.e. what do we do with it, will find its
answer
in
this
The
frequency
controllers.
-
first, to
Bode
or
response
It
helps
study
the
Nyquist
second, to
of
chapter.
analysis
the
stability
the
useful
tool
for
designing
feedback
designer,
diagrams
select
is
of
most
characteristics
the
open-loop
appropriate
of
transfer
values
for
closed-loop
function,
the
using
the
and
adjusted
parameters
controller.
the
function
closed-loop
is
given
by
shown
(see
Section
in
Figure
15.2,
18.1.
Remark
The
open-loop
2)
K ,e-o.ls
y,(s)
GOL
system
Y,,(s)
(18.1)
= oc5s + 1
The Bode diagram for GOL(s) can be constructed easily (see Example 17.7) and
is shown in Figure 18.2.
when
w =
We
17.0
notice
that,
rad/min $ = -180"
At
this
frequency
amplitude
ratio
is
AR =
= 0.12
(18.2)
Consequently,
Now,
if
let
us
consider
the
measurement
signal
of
controller.
the
feedback
then
the
ultimate
disconnected
from
the
comparator
sin(l7.0t)
open-loop
response,
= sin(l-/.Ot
y,(t)
been
has
y,(t),
is
given
by
- 180") = -sin(l7.0t)
At some instant of time the set point yd is set to zero, while at the
same
time
we
now
plays
the
same
role
played
by the set point in the "open" loop. Notice that the error E remains the
same.
with
the
Theoretically,
constant
amplitude,
response
of
the
system
will
continue
to
oscillate
since
us
examine
the
following
cases:
when
Therefore,
-180".
the
sustained
On
the
amplitude
contrary,
the
sequently,
18.3b
will
eventual
The
conclusion
if
drawn
out
from
to
an
unstable
system.
oscillating
exhibit
dying
leading
a
of
response
continuously
the
the
of
the
"closed'!
decreasing
loop
amplitude
of
Figure
leading
oscillation.
above
observations
is
the
following:
to
an
This
is
known
as
the
Bode
Stability
Criterion.
Example
Using
(a)
First-Order
following
the
Open-Loop
dynamic
Process:
Bode
G
P
Criterion
Consider
Response.
control
system
with
the
components
K
-$&
P
Measuring sensor: Gm = Km
Controller: G
We
open-loop
transfer
function
cGGGG
f p m
OL
know
(see
Section
criterion
over
the
above
K K K K
cfpm
rps+l
17.1)
is:
that
rPs+l
the
Therefore,
system
is
phase
according
always
stable
lag
for
to
since
the
first-order
Bode
there
is
system
stability
no
cross-
frequency.
components
of
the
loop
in
the
case
(a)
change.
G
.-Os5
OL
'rps+l
above
with
the
following
$I
tan -1 GTpW)
(-0.5w)
frequency
there is a cross-
Consequently,
and
according
to
the
which
This
at this frequency.
characteristic
for
the
stability
example
of
demonstrates
chemical
most
which
can
is
of
be
clear
the
chemical
approximated
that
the
becomes
case
Gm
(a)
above
for
very
important
an
system
effects
open-loop
with
dead-time,
closed-loop
instability
the
of
tuning
response
will
it
be,
the
feedback
con-
the
control
system
task.
Responses:
with
exhibit
first-order
Therefore,
crucial
by
possibility
processes
leads
processes:
Bode
the
Consider
following
again
changes:
Km
~
-rms+l
OL
K
(rps+l)(rms+l)
W=m .
Therefore,
according
to
then
If
we
consider
Gm
Km
___
r-,s+l
the
open-loop
and
transfer
Gf
function
Kf
rfs+l
becomes
the
GOL
K
(rpS+l)(rms+l)(rfS+1)
wCo
where 4 = -180"
stability
This
of
leads
chemical
Therefore,
and
to
the
the
process
system
second
control
there
may
is
become
important
crossover
unstable
observation
for
about
systems:
Remarks:
(1)
All
systems
in
Example
18.1
have
an
important
common
the AR and $J
also
true
systems.
For
for
the
such
large
systems
majority
the
tems
tool
of
for
the
interest
stability
to
of
Bode
Thus
feature;
stability
it
analysis
chemical
chemical
This
processing
criterion
constitutes
of
most
very
control
sys-
engineer.
function
may
not
be
decreasing
continuously
with
lead
Nyquist
to
criterion
Fortunately,
18.4
erroneous
are
which
For
such
conclusions
will
be
systems
the
and
need
we
discussed
in
Bode
the
Section
criterion
more
general
18.
very
few
and
consequently
the
Bode
criterion
will
(3) In order to use the Bode criterion, we need the Bode plots
for
the
These
can
the
open-loop
be
constructed
transfer
controller
transfer
functions
and
final
experimentally,
function
in
of
two
the
control
of
the
ways;
(a)
process,
element
controlled
numerically,
measuring
are
system.
known
if
device,
and
(b)
unknown.
sinusoidal
input
and
lag
phase
at
of
various
the
frequencies,
open-loop
response
and
the
amplitude
are
recorded.
From
Bode
for
behavior
tuning
by
Consider
back
-
system
the
stability
the
the
the
feedback
closed-loop
Bode
(Figure
crossover
criterion
frequency
controllers
response
plots
18.5).
indicates
for
The
%o '
of
the
two
how
in
we
can
order
establish
to
avoid
rational
unstable
process.
open-loop
important
transfer
features
function
of
these
of
plots
feedare;
to
the
Bode
criterion
(18.3)
can
make
the
following
observations
on
the
practical
significance
of
the
gain
margin:
behavior
controlled
process.
the
factor
safety
- Typically, a
margin
above
Let
us
Example
the
design
now
study
Consider
is
%o
we
than
the
use
and
thus
the
for
controller
designer
synthesizes
safer
the
operation
of
the
value
before
above
Margin
the
system
observations
and
closed-loop
= 17 rad/min, and
tuning.
feedback
system
with
gain
1.7.
the
- Gain
be
control
larger
18.2
will
the
the
system
using
Tuning
of
amplitude
becomes
of
Figure
ratio
an
unstable.
example.
Controller
18.1.
at
this
The
crossover
frequency
is
frequency
(see
eqn.
(18.2))
C
AR =
= 0.12 K
2
.
&T&z
Therefore
the
gain
margin
is
equal
to
= 1.7
Let us assume now that the dead-time for the process has not been estimated
accurately and that its "true" value is 0.15 instead of 0.1.
loop
transfer
function
is
given
by
K e-0.15s
G
OL
(18.4)
0.5s+l
For
(18.4)
we
this
frequency
find
the
that
the
crossover
amplitude
ratio
the
open-loop
frequency
is
transfer
function
of
%o = 11.6 rad/min.
At
is
P
and the system is still stable despite the error by 50% we made in estimating
the
dead-time
of
the
Notice
process.
though
present
example
system
demonstrates
the
Since
process
parameters
almost
never
known
safety
factor
for
If
are
the
various
needed,
parameters
like
that
has
the
noved
practical
Two
dead-times,
amplitude
points
static
ratio
has
closer
to
instability.
significant
of
the
are
emphasizing:
worth
gains,
time
gain
constant
are
operation.
parameters
are
known
very
well,
only
small
safety
factors
known
the
safety
factor
must
increase
and
the
recommended
Besides
the
design
the
of
Figure 18.5.
The
phase
gain
margin
feedback
there
control
it
margin
is
another
system;
the
safety
phase
factor
margin.
which
is
Consider
used
for
again
defined
as
is
the
additional
phase
follows:
lag
91)
needed
to
destablize
the
system.
It is
clear
therefore
used
for
are
larger
Example
that
the
designing
than
.*.
the
phase
controller.
Typical
margin
the
phase
larger
margins
the
used
safety
by
the
factor
designers
30".
18.3 -
Consider
higher
,._
the
closed-loop
AR =
system
of
Figure
and 4 = tan-'(-0.5o)
18.1.
We
know
that
Then,
we
+ (-0.1~)
6-k
. w 2
Let us tune the controller using a phase margin equal to 30".
Kc
and
30"=180"
-tan-'(-0.5~)
Then, the
have
(-0.1~)
first
equations
gives Kc = 6.33.
(i>
Assume
now
that
"true"
value
the
is
dead-time
0.15.
has
been
estimated
wrong
and
that
its
$ = tan-'(-0.5w)
+ (-0.1501) = tan-1(-0.5*12.5)+(-0.15~12.5)=188"
notice
system
We
of 30'
that
the
has
become
unstable,
i.e.
phase
margin
dead-time.
(ii)
The reader can easily show that a phase margin of 45" is enough to
tune
the
safety
of
the
controller
factor
for
in
absorbing
proportional
Kc = 5.05.
case
gain
(i)
a
Kc
50%
above
error
and
in
provide
the
the
necessary
dead-time.
The value
has a "true" value of 0.25 instead of the assumed 0.5. Then, the
crossover
frequency
180"
is
found
tan-l(-0.25w)
and it is equal to
%o
the
equation
(-0.1~)
At this frequency
= 17.9.
5.05
AR =
from
= 1.1
J/(o.25*17.9)2+1
Therefore,
phase
of 45" was
margin
satisfactory
for
tuning
the
phase
margin
is
needed.
Section
curve.
The
16.4
method
we
is
by
Ziegler
primarily
discuss
In
and
this
Nichols
tuning
method
experimental
and
section
will
which
we
is
based
on
uses
based
the
real
process
process
discuss
an
on
frequency
the
reaction
data
alternate
from
method
response
the
loop
response
of
loop
procedure.
process
a
It
system,
goes
(i>
Bring
the
(ii)
Using
proportional
introduce
reaction
system
sinusoidal
curve
the
the
control
set
which
Ziegler-Nichols
through
to
method
the
only
point
tuning
following
desired
and
uses
technique
with
level
continuous
oscillation
is
the
is
the
with
(design
feedback
low
crossover
loop
amplitude
from
steps:
operational
changes
data
frequency,
The
wCo.
condition).
closed,
and
varying
frequency
Let M
I
I
(iv>
the
following
settings
for
feedback
controllers:
rI(min.)
KC
-
Proportional (P)
KU/2
Proportional-Integral
above
settings
reveal
Ku/2.2
Pull.2
(PID)
Ku/l.7
PJ2
of
Z-N
(PI)
Proportional-Integral-Derivative
The
~D(min.)
the
rationale
the
Pu/
methodology.
PI
control
integral
(see
use
control
Figure
lower Kc
arguments
mode
17.8b)
maintains
were
used
lower
proportional
introduces
with
additional
destabilizing
approximately
in
the
gain
phase
effects
the
process
because
same
on
gain
reaction
the
presence
lag
in
all
the
system.
the
frequencies
The refore,
Similar
margin.
curve
of
tuning
technique
(see
Section 16.4).
-
The
strong
presence
of
the
stabilizing
derivative
effects
Example
18.4
the
stability
Controller
control
in
the
for
of
the
Tuning
mode
introduces
closed-loop
PID
response.
controller
can
be
phase
lead
with
Consequently,
increased
without
system.
by
the
Ziegler-Nichols
and
Cohen-Coon
Methods
'
1
Gm = 10s + 1 and
Gf = 1.0
The
controller
settings
according
to
the
controller; Kc
8.0
process
reaction
curve
method
were
found to be:
-
For
proportional
us
now
find
the
Ziegler-Nichols
settings
and
compare
them
to
the
above.
Using proportional control only, the
from
the
yields
frequency
frequency
can
be
found
equation,
-180" = tan-'(-5wC0)
which
crossover
is
%o =
found
log(AR)
0.415
from
+ tan-'(-2wC0)
+ tan-l(-10wCC)
The
ratio
rad/min.
the
amplitude
following
at
the
crossover
equation,
= log
2
&l + log & + log &
Therefore
l/O.055
the
ultimate
gain
is
= 18.22
-z..?L=
Yzo
15.14
minutes/cycle
= 9.11
rD
= 15.14/8
= 12.62
= 1.89
the
proportional
gains
are
little
larger
for
the
Z-N
settings,
- the reset and rate time constants are also higher for the Z-N.
Figures 18.6a and 18.6b indicate the responses of the closed-loop system to
step
changes
with
Z-N
better
and
than
emphasized
relative
in
the
C-C
those
though,
superiority
set
point
settings.
with
that
of
We
the
no
and
notice
more
respectively,
that
the
conservative
general
one
load
method
conclusions
over
responses
C-C
PID
controller
with
Z-N
tuning
settings.
can
the
using
be
other.
drawn
The
are
It must be
as
only
to
the
conclusion
we
draw is that both methods provide very good first guesses for the values of
the
controllers' adjusted
parameters.
with
open-loop
Nyquist
criterion
is
Bode
plots
employed.
like
those
of
of
the
this
chapter.
The
Nyquist
methodology
stability
of
Figure
18.4
the
the
For
reader
criterion
more
can
states
details
consult
on
Appendix
the
understand
the
Nyquist
the
concept
criterion,
let
of
us
valid
For
feedback
more
general
encirclement
study
the
and
theoretical
18.A
at
the
end
that:
is
criterion
therefore
following
the
examples.
any
is
correct
usage
of
Example 18.5 -
Third-Order
System
Using
the
Kc
G OL
(s+1)(2s+1)(4s+l)
Figure 18.7 shows the Nyquist plots for GOL when Kc = 1 (curve A) and
Kc = 50 (curve B).
range
For
each
Nyquist
plot
the
solid
line
covers
the
frequency
dotted segment of the Nyquist plot is the mirror image of the solid line
segment
with
respect
to
the
real
axis.
Figure 18.7 shows that curve A does not encircle the point (-l,O), while
curve B does.
with
Thus,
open-loop
Nyquist
according
plot
to
the
Example
18.6
Conditional
Nyquist
curve
the
A
is
criterion
stable,
the
while
feedback
curve
system
indicates
Stability
and
the
Nyquist
Criterion
Consider the Nyquist plots shown in Figures 18.8a, 18.8b and 18.8~. All
correspond
to
the
same
open-loop
the
Therefore,
point
the
(-1,0)
feedback
transfer
function
the
above
plots
it
while
systems
the
Nyquist
corresponding
is
clear
different
values
for
of
to
the
with
that
the
that
Figure 18.8b
first
of
closed-loop
the
and
does.
third
second
response
is
Nyquist
unstable.
becomes
it is not encircled by
byquist
plot
Remark:
For
and
the
fast
(-1,0)
corresponding
conclusions
by
the
following
on
the
open-loop
practical
closed-loop
response
encirclement
Nyquist
plot,
or
the
is
not
stable.
of
reader
the
can
point
use
the
method:
Nyquist
If
plot.
the
thread
has
wrapped
around
the
pencil
plot."
The gain margin and phase margin of an open-loop response can be also
computed
plots
from
of
Nyquist
system
plot.
contain
This
exactly
must
the
be
expected
same
since
Bode
and
Nyquist
information.
the
Therefore,
Nyquist
plot
intersects
the
unit
circle
around
the
origin.
represents
the
phase
AR at this
margin.
The amplitude ratio at this point is the distance between B and the origin,
i.e.
AR = M.
Consequently,
l/M.
a
The
this
useful
chapter
tool
open-loop
closed-loop
we
for
Bode
response
have
demonstrated
designing
and
will
Nyquist
be
that
feedback
plots
stable
or
the
frequency
ocntrollers.
of
feedback
not.
In
systems
response
analysis
particular:
reveal
if
the
r
,1 .-:.
,
-
The gain and phase margins can be computed easily and constitute the
safety
factors
account
for
incorporated
uncertainties
static gains.
Tuning
larger than 30 is
in
in
with
the
the
in
the
values
values
of
gain
margins
larger
most
of
of
the
typical.
tuning
the
It
dictated
process
feedback
time
constants,
than
should
by
controllers
be
the
1.7
dead
and
times
phase
emphasized
magnitude
to
of
margins
though
the
and
that
uncer-
parameters.
provide
closed-loop
tuning
methodology,
unlike
the
Cohen-Coon
settings.
Wtih this chapter we close Part IV which dealt with the analysis and
design
of
simple
feedback
systems.
more
complex
control
chemical
plants.
Thus,
special
compensatory
configurations
we
will
control
which
are
encountered
quite
often
large
time
or
study;
far
processes
with
dead
inverse
response,
-
systems
feedforward
adaptive
Finally,
process
we
with
selective
and
ratio
control
loops,
control
configurations
and
control.
will
dynamics
discuss
and
the
present
need
some
in
for
the
techniques
experimental
used
for
identification
this
purpose.
of
(
1
t
THINGS
1.
2.
TO
THINK
Explain
ABOUT
in
your
controller
in
controller
in
own
words
"manual"
the
that
by
operation,
"automatic"
while
by
"closing"
it
we
place
the
mode.
3.
Do
you
think
that
the
following
is generally rigorous?
Explain.
modified
statement
of
the
Bode
criterion
any
open-loop
crossover
transfer
function
is
larger
than
frequency."
6.
7.
and
Identify
the
Elaborate
on
Nyquist
two
these
plots.
major
sources
two
factors.
Using
the
Nyquist
first
and
second-order
stability
of
criterion
open-loop
instability
show
responses
in
that
are
closed-loop
feedback
always
responses.
systems
with
stable.
Define the phase and gain margins and show how you can compute them
from
8.
Bode
Bode
or
Nyquist
plots.
Explain in your own words what we mean when we say that phase and gain
margins
constitute
controller.
safety
margins
(safety
factors)
in
tuning
feedback
controller?
9.
Describe
the
Ziegler-Nichols
tuning
methodology.
This
Why?
procedure
is
10.
The
Ziegler-Nichols
while
the
response
settings
Cohen-Coon
of
the
result
settings
control
are
system.
from
closed-loop
determined
Would
you
from
considerations,
the
choose
open-loop
one
over
the
other
chemical
process
operation.
12.
State
and
the
the
stability
threshold
between
this
an
in
criterion
control
industrial
and
systems,
stable
give
some
different
than
and
unstable
environment?
examples
those
of
in
stable
this
the
Larger
the
tolerate
feedback
Nyquist
Answer
you
Nyquist
unstable
chapter.
13.
Can
at
plot, which
following
is
so
central
questions
gain
margin
implies
gain
margin
makes
and
for
justify
smaller
or
the
Nyquist
your
criterion.
answers:
larger
allowable
controller
gain?
-
Larger
closed-loop
response
of
process
faster
or slower?
-
Larger
phase
margin
implies
faster
or
Larger
phase
margin
implies
smaller
slower
or
larger
closed-loop
response?
allowable
controller
gain?
14.
The
discussion
in
Section
18.2
and
Examples
18.2
and
18.3
have
indi-
cated that we could use very large phase and gain margins to guarantee
closed-loop
to
15.
use
Larger
stability
larger
uncertainty
constant, dead
based
margins
on
larger
in
time)
or
under
model
than
those
the
tuning
gain
needed?
parameters
require
smaller
inaccuracies.
or
of
of
phase
model
the
(static
controller's
margin?
gain,
time
parameters
I
I
I
I
I
I
I
I
I
I
I
1
.!iF:
c.::
4 ,o
I
9
..
,,,
,
,
I
,
I
,
.c
-0
-2
REFERENCES
Chapter
more
13:
information
on
the
constructional
and
operational
details
of;
measuring
elements.
The
following
are
some
typical
sources:
(1) Process Instruments and Controls Handbook, by D. M. Considine, McGrawHill Book Co., New York (1957).
(2) Handbook of Applied Instrumentation, by D. M. Considine and S. D. ROSS,
McGraw-Hill Book Co., New York (1964).
(3) Instrument Engineers Handbook: Vol. 1. Process
Liptak, Chilton Book Co., Philadelphia (1970).
Measurement,
by
B.
Measurements and
Hougen, Cahners
For
the
some
(5)
While
book
dynamics
of
typical
sensors
the
dynamics
Techniques
New York
The
selection
thermocouples,
the
reader
Control
valves,
can
Loops,"
pumps,
Engineers..-by
consult
by
J.
piping,
the
L.
et
J.
0.
article,
Guy,
al.
Chem.
the
Guthrie
(6)
of
Practicing
of Process
(1964).
of
the
Control,
appropriate
by
P.
control
S.
Buckley,
valve
J.
Wiley
and
Sons,
is
discussed
in
Reference
(7)
Chemical
(1973).
Engineers,
The
distributed
character
of
the
pneumatic
transmission
lines
dynamics
by
is
and
Control,
by
T.
W.
Weber,
J.
and
II)
__~
Chapter
the
15:
,.
The
classic
mathematical
proof
the
. .
Routh-Hurwitz
tests
can
be
found
in
book,
for
an
extensive
Theory
discussion
of
the
Stability
(1970) .
(11)
studying
alternative
Systems,
can
(10)
Dynamical
reader
by
consult,
J.
L.
by
V.
Willelms,
G.
Nelson,
Jenson,
and
G.
V.
[Ref. lo] and Douglas [Ref. 121 can also be used for
definitions
of
the
subject.
(12)
The
construction
rules
for
the
stability
and
Vol.
by
root
2.,
locus
of
more
J.
M.
advanced
treatment
Douglas,
Prentice-Hall,
closed-loop
system
can
on
be
found in the books by Douglas [Ref. 121, Luyben [Ref. 71 and in the following
two
classic
(13) Proces
Koppel,
(14)
texts:
Systems Analysis and Control, by D. R. Doughanowr and L. B.
McGraw-Hill Book Co., New York (1965).
Modern Control
Cliffs (1970).
Engineering,
by
K.
Ogata,
Prentice-Hall,
Englewood
There is a variety of references on the use of root locus for the design of
closed-loop
systems.
Coughanowr and Koppel [Ref. 131 and Ogata [Ref. 141 offer an excellent
treatment
Chapter
of
the
subject
with
16:
Two
excellent
large
references
number
on
the
of
examples.
practical
edition,
by
F.
G.
problems
of
controller
[Ref. 151
Shinskey,
McGraw-Hill
__ ..-. -___
In
__I,
these
two
texts
the
selecting
the
most
appropriate
application.
by
the
will
an
find
type
In addition, one
industrial
For
reader
..x_
of
--
useful
find
on
the
.)
practical
feedback
can
,....
guidelines
controller
alternate
for
tuning
in
particular
techniques
employed
practice.
extensive
discussion
various
types
of
performance
criteria,
can
consult
the
following
reference,
Ref.
16,
the
reader
will
also
reading
on
this
find
use
subject
various
time
the
techniques
integral
for
solving
performance
following
sources
are
also
(19)
For
additional
the
process
L.
reaction
Smith,
and C. H.
on
C.
recommended:
(18)
reading
by
conFor
criteria.
the
curve
Intex Educ.
method
and
Publish.,
the
Coon settings, the reader can consult References 8, 12, 13 and 15.
Cohen
and
The
details on the development of the Cohen and Coon settings can be found in the
original
(20)
work
by
Cohen
and
Coon
by
G.
H.
Cohen
and
[Ref. 211 are two very good sources for an in depth study of the frequency
response
(21)
analysis
and
its
ramifications
in
controller
design.
G.
A.
Coon
For
very
systems
hard
with
to
transfer
complete
functions
the
very
frequency
difficult
response
to
factor
and
analysis,
Luyben
[Ref.
71
dis-
included
computer
in
FORTRAN
Nyquist
the
plots
which
for
Ziegler-Nichols
uses
the
method
has
also
"stepping" technique
distillation
tuning
He
More
column.
can
be
found
to
develop
details
in
by
the
J.
on
the
the
original
G.
consequently
Ziegler
Bode
philosophy
work,
and
N.
B.
the
application
controllers.
In
of
frequency
response
particular, References
arguments
and
15
in
the
analyze
design
the
of
frequency
systems, and
control system.
draw
some
useful
general
inferences
according
to
the
APPENDIX
18.A.
COMPLEX
MAPPING
AND
THE
NYQUIST
CRITERION
FOR
STABILITY.
easily
as
follows:
G(s) = (~)
= (-2+jlo) + 1 =
-l+ j-0
If
we
consider
the
G-plane,
space
with
coordinates
Re[G(s)]
and
Im[G(s)],
i.e. a
the
function
G(s).
us
proceed
step
further.
s: s=a+ j (?a)
OLCt
Curve S' is the map of line S in the space of Re[G(s)] and Im[G(s)]
(G-plane) and is shown in Figure 18.A-2b.
for 0 Ia.
After
state
of
the
having
Cauchy's
Nyquist
introduced
Principle
criterion
the
of
for
concept
the
of
Argument,
stability.
complex
which
mapping
constitutes
let
the
us
now
basis
Let also
Let
the
the
To
sider
G-plane
appreciate
the
encircles
the
closed-loop
1 + GPGmGcGf
contour
of
the
characteristic
points
times."
above
principle
let
con-
= O
G(s) = -1
of
us
equation.
encircle
point Go
importance
complex
plane
(s-plane).
stated
of
the
imaginary
axis
and
R -f 00.
For
the
imaginary
axis
we
have
s = j-w
with
semicircle
of
radius
R,
where
and its map in the G-plane will give us the Nyquist plot (see Section
17.4).
For
the
large
semicircle
we
have:
(18.A-2)
Rejw
Q,(s)
G(s) = p
n
where, Q,(s)
with n > m.
take:
G[RejW]
= Qm[RejW]/Pn[RejW]
Since the order of Pn is higher than that of Q,, then it is clear that
IGIRejW] 1 + 0
G(s)
for
Consequently,
open-loop
transfer
function,
Thus
we
Also,
conclude
that;
in the G-plane,
is
the
criterion
for
Nyquist
G(s)."
we
can
state
the
following
the
stability
a closed-loop response.
"If
the
Nyquist
diagram
of
the
open-loop
transfer
function
Principle
closed-loop
of
the
characteristic
Arguement,
equation
in
ther
the
are
roots
of
the
right
half
of
the
of
--.
,...
1
46
s-plane.
and if k >
The
above
stability.
criterion
is
known
as
the
Nyquist
Criterion
of
closed-loop
I,
b
-.
.
4
47f
PART V
ANALYSIS AND DESIGN OF ADVANCED CONTROL SYSTEMS
Although feedback control is the most commonly encountered in chemical
processes, it is not the only one.
CHAPTER 19
FEEDBACK CONTROL OF SYSTEMS WITH LARGE DEAD TIME
OR INVERSE RESPONSE
All the previous chapters of Part IV have been devoted to the analysis
and design of feedback control systems for rather simple processes.
In this
chpater we will be concerned with the feedback control of two special types
of systems; with large dead times and inverse responses.
Thus,
- the main process may involve transportation of fluids over long distances
or include phenomena with long incumbation
periods;
- the measuring device may require long periods of time for completing the
sampling and the analysis of the measured output (a gas chromatograph
is
such a device);
- the final control element may need some time to develop the actuating
signal;
- a human controller (decision maker) may need significant time to think and
take the proper control action.
In all of the above situations a conventional feedback controller would provide
quite unsatisfactory closed-loop response for the following reasons:
- A disturbance entering the process will not be detected until after a significant period of time.
- The control action which will be taken on the basis of the last measurement
will be inadequate because it attempts to regulate a situation (eliminate
an error) which was originated while back in time.
- The control action also will take some time to make its effect felt by
the process.
- As a result of all the above significant dead time is the main source of
instability
for
closed-loop
responses.
(i>
If
Then, the
notice that the increase of the dead time has introduced significant
additional phase lag which reduces the crossover frequency and the
maximum
allowable
gain.
has made the closed-loop response more sensitive to periodic disturbances and has brought the system closer to the brink of
instability.
(iii)
"As the dead time of an open-loop transfer function increases, the following
two undesirable effects take place:
- The crossover frequency decreases.
Therefore,
It is
process, i.e.
= G(s)e
Gp(4
-tds
The
feedback
measurement
signal
P(s)
-tas
Gc(s>
[G(s)
-e
1 Y,,(s)
(19.1)
the
(19.2)
Gc(s)*~(d*~,,(s)
p'(s) = (1 - e
(19.3)
Y'(s)
Y,(s)
The implication of adding y(s) to the signal f(s) is shown in Figure 19.2b.
There we notice that the signal y'(s) can be taken by a simple local loop
around the controller, which is called, dead-time compensator or Smith predictor.
that of Figure 19.2b and indicates the real effect of the dead-time compensator, i.e.
"moving the effect of dead time outside the loop."
Remarks:
Therefore,
the
G(s) and td
are
only
approximately
known.
td(model) represent
and
their
approximations
-td(model)'s
+(l-e
jGc Gmodell*?'Sp(s)
or
-tds
Y,(S) = [GcGmodel+(G e
-Gmodel e
-td(model)'s
) 1 -Y,,W
(19.4)
compensators:
- The larger the modeling error, i.e. the larger the differences (G - Gmodel) and (td - td(model)), the less
effective
is
the
compensation.
d(mode1))
function.
flows.
Therefore,
if the dead-time
478
td'
be as effective.
-1s
OJs+l' e
G(s) = &
.
and
.?
td = 1
frequency:
%o = 2.3 radlmin
The fact that the ultimate gain is 1.52 forced us to use Kc = 1.5 <
1.52.
Nevertheless,
This is possible
Then, the
GcG
Kc
0.5s+l
The
Consequently,
reduced, i.e.
offset =
1
l+KK
PC
1
= 1 + 1a5o = 0.0196
(c) Suppose that the process gain and time constant are perfectly known
but not the dead time.
The
arbitrarily large Kc
Thus
uncompensated
dead time gives rise to additional phase lag and leads eventually to a crossover
frequency.
If the ultimate gain is smaller than 100 then the system with
processes.
!*'
Two are the most popular ways to control systems with inverse response;
the first uses PID feedback controller with Ziegler-Nichols tuning and the
second an inverse response compensator.
A.
will anticipate the "wrong" direction of the system's response and will provide the proper corrective action to limit (never eliminate) the inverse
shoot.
[Ref. 261
Response
Compensator
In Section 19.2 we discussed how we can develop a Smith predictor (deadtime compensator) which cancels the effect of dead time.
concept of the predictor (compensator) can be used to cope with the inverse
response of a process and was developed by Iinoya and Altpeter [Ref. 251.
7*
(19.5)
and has a positive zero at the point (see also Example 19.4)
K
Z
Pl
KPlTP2
-Ki
p2
-K
T
: p2 p1
f
> '0
T(s)
ls+l -
= Gc(s>*k(
rp2
i+$ YspW
(19.6)
Tpl
Then, from eqns. (19.5) and (19.6) we can easily find that
[(K Pl T P2-KP2TPl)+k(~Pl-TP2)1S+(KPl-KP2)
>
Gc(s>
(T
s+l)(-r
Pl
.y
SP ,(s)
s+l)
p2
.and for
K 'c
-K
^c
p2 Pl
Pl p2
(19.7)
TP1 - =P2
we find that the zero of the resulting open-loop transfer function is nonpositive, i.e.
(K
z
-K
>
Pl
p2
- K
T
)+k(T
(K T
Pl p2
p2 Pl
Pl
)
p2
-T
'
Adding the signal Y'(S) to the main feedback signal y(s) it means the
creation of the local loop around the controller as it is shown in Figure
19.5b.
The system in this local loop is the modified Smith predictor and
is given by
K
p2
GCOMPENSATOR (s) = T s+1
P?L
Therefore,
K
-
p2
s+1
TP,I
and
1
*p2
increased inverse shoots and slower responses.
~~
will cause
SUMMARY
dead time there is the danger of instability even with low controller gains,
while for processes with inverse response the elimination or at least significant reduction of the inverse shoot is of paramount importance.
both problems can be solved with the introduction of the so-called Smith
predictor
or
feedback
compensation.
duce a local feedback loop around the controller which anticipates the time
delay of the measurement signal and makes the proper compensation.
If the
dead time is perfectly known the compensation is perfect and the control
feedback signal carries current not delayed process information.
If the dead
time is .~ not perfectly known (which is usually the case) or changing with time
(very common feature of chemical processes), the dead-time compensation is
only partial.
In the case of inverse response the added compensator modifies the
location of the zero of the open-loop transfer function, i.e. shifts it from
positive to nonpositive (negative or zero).
behavior.
gives
rather
satisfactory
results.
With this chapter we close the analysis and design of feedback control
-systems.
override,
What is the effect of dead time in the response of simple feedback control loops?
2.
3.
4.
Show that the dead time and inverse response compensators are based on
the same logic.
5.
What
are
their
implementational
-
difficulties?
dead-time
compensator
assuming
G(s) and
Construct
td perfectly known.
Is it
:
-- --_
the same as the dead-time compensator constructed for set point changes?
6.
7.
compensators?
If it
What is our goal when designing a controller for a system with inverse
response?
10.
Notice that it is
response?
I
1
j,p I- - - --T---cc>
1.0
0.5
0.4
II---------_---------_-
----
_-
-_---__
CONTROLLER
MEOtANSti
-----------------,
CHAPTER 20
CONTROL SYSTEMS WITH MULTIPLE LOOPS
Typical
examples
of such configurations which we will study in the present chapter are the
following:
(a)
Cascade
control.
this chapter are generically different from those we will study in Chapter 22.
20.1 CASCADE CONTROL
In a cascade control configuration we have one manipulated variable and
snore than one measurement.
-mtrol only one output.
control and its typical characteristics using an example from the experience
in the chemical processes.
the generated heat is removed by the coolant which flows in the jacket around
the tank.
Feedback
T C
The
Control
Fc
It is clear that
changes in
Therefore,
T C
Control
notice,
therefore, that we can have two control loops using two dif-
There we notice
that,
- the loop that measures T (controlled variable) is the dominant, or primary,
or master control loop and uses a set point supplied by the operator, while
Process I
Process II
(secondary) has an output which we are not interested to control but which
affects the output we want to control.
and
is the tem-
T.
Figure 20.2b shows the typical simple feedback control system, while
Figure 20.2~ indicates the general form of the cascade control.
The last
processes.
(a)
Heat
exchangers.
a desired value.
in the flowrate
of stream 1.
changes.
Again,
the
changes.
This observation is quite common in chemical processes and someone could state
that;
"in chemical processes, flowrate control loops are almost
always cascaded with other control loops."
Let us now turn our attention to the closed-loop behavior of cascade
control
systems.
= Gc,II
Gp,II
(20.1)
equation,
l + Gc II
G p,II = 0
,
(20.2)
Figure 20.4b shows a simplified form of the general block diagram (Figure 20.4a),
where the secondary loop has been considered as a dynamic element.
For the primary loop the overall open-loop transfer function is
GPRIMARY
G c,II Gp,II
(
Gc,I l+ Gc II G
) Gp,I
,
P,II
(20.3)
Remarks:
Gc
1
(
G
+;I
G
I1
) G
c,II Gp,II
P,I
(20.4) .
PID..
Generally, proportional
control:
considerations;
The
open-loop
transfer
function
Then, using
,JXxample
Consider a process with the following transfer functions for its primary
.and
secondary elements,
G
P,T
(5s+1~010s+1)
and
P,TT
1
0.5s+l
The secondary process is faster than the primary as can be seen from the
corresponding
time
constants.
open-loop
transfer
function
c,I'Gp,II'Gp,I
, (1 +$*
KcI
100
(O.sls+l)
(5s+l)(los+l)
The crossover frequency can be found from the equation that sets the total
phase lag equal to -180", i.e.
tan-'(-l/wCO) + tan-l(-0.5wCO)
+ tan-l(-5wCO)+tan-l(-10wCO)
~-180"
and it is equal to
%o
= 4.9 -rad/min
The ultimate value of the gain Kc I can be found from the condition
,
AR
=l
at
w =
%Ci
Thus,
and we find
K
merefore,
c,I
= 32.25
when the disturbance dII (of the secondary process) changes, the
simple feedback controller can use a gain up to 32.25 before the system becomes
unstable.
Also, given the fact that the overall provess is 3rd order, we
dII
will be
c,II Gp,II
1
= Kc,11 0.5s+1
c,II'
Therefore
we
loop response to compensate for any changes in the disturbance dII, arisingwithin the secondary process.
Once we have selected the value of -Kc II for the secondary loop, we
,
.I
i
can find the crossover frequency for t!he overall open-loop transfer function
given by eqn. (20.3).
controller,
using
the
20.2
K c,I'
SELECTIVE
CONTROL
SYSTEMS
These are control systems which involve one manipulated variable and
several
controlled
outputs.
trol only one output, the selective control systems transfer control action
from one controlled output to another according to the need. There are
.exral
-.
A.
Override
Control
from the normal control action and attempt to prevent a process variable from
exceeding an allowable upper or lower limit.
the use of special types of switches.
whenever a variable should not exceed an upper limit, while the low selector
switch (LSS) is employed to prevent a process variable to exceed a lower limit.
not fall below a lower limit wkich is necessary to keep the heating
coil immersed in water and thus prevent its burning out.
Figure 20.5
shows the override control system using a low switch selector (LSS).
According to this system, whenever the liquid level falls below the
allowable
It transfers control
action from the flow control to the pressure control loop whenever
the discharge pressure exceeds the upper limit (Figure 20.6).
Notice that flow control or pressure control is actually cascaded
HSS, which transfers control action from Loop 1 to Loop 2 when the
pressure in the high pressure line exceeds an upper limit.
B.
Auctioneering
Control
Systems
Thus, it is a
selective controller with several measured outputs and one manipulated input.
Catalytic
tubular
reactors
with
highly
exothermic
reactions.
Several
anhydride.
The location of the hot spot moves along the length of the
hot spot temperature depends also on the above factors and the temperature and flowrate
of the coolant.
Regeneration
of
catalytic
reactors.
manipulations.
very common in chemical processes but provide added safety and optimality
operational whenever necessary as the following examples demonstrate.
Two control valves manipulate the flow fo the feed and the
product.
reactor the two valves cannot act independently but should be coordinated.
Thus, when valve Vl opens, valve V2 closes and vice versa.
Figure 20.10b
When for.various
reasons
signal increases
Then, it is split into two parts and affects the two valves simul-
taneously.
Thus:
-As the controller output increases from 6 psig to 9 psig, valve V2 opens
continuously while Vl
Several
paraller
boilers
discharge
steam in a common steam header and from there to the process needs (Figure
20.11).
simultaneously.
control system.
from each boiler, we could control the firing rate and thus the steam production rate at each boiler.
Similar structures can be developed for the pressure control of a common
discharge
or
suction
header
for
paraller
compressors.
Table 20.1
Controller's
output
Signal
Valve Vl
Stem
Position
Valve V2
Stem
Position
3 psig
Open
Closed
Open
Open
Closed
Open
psig
15 psig
and
several
available
measurements.
It should be
emphasized that cascade control is possible only if we can measure the output
of the secondary process.
cesses and almost always flow control systems will be cascaded with other
control loops.
Selective control systems are used whenever we want to be able to select
the measured output that we will connect to the single manipulated variable.
Override and auctioneering control are two typical examples of selective
control.
limits.
Other types
of selective control systems are the variable structuring control and the use
,~E;redundant
Consider a process with one manipulated input and two measured outputs.
Can you keep both outputs at the desired values, using only the single
manipulated
2.
variable?
Starting from the premise that tht answer to item 1 (above) is negative,
explain how is it possible to have,
- a cascade control system or
- a selective control system
both of which have a single manipulation and two measured outputs.
3.
Discuss the rationale of a' cascade control system and demonstrate why
it provides better response than simple feedback.
4.
6.
[Note: Take
itself is
What types of controllers would you use for the two controllers of a
cascade
system?
Discuss a methodology to
Elaborate
on
your answer.
9.
10.
Discuss
their
characteristics.
11.
12.
What is an auctioneering control system, and where would you use it?
Describe a situation (different than those of Example 20.5) where you
could use auctioneering control.
13.
Consid%er
variables.
control.
0F R :L_ _ -P_R_ocJs_S- - - - - -,
i------- ---4da
IdT1
!.-------------
,
I
ME-
_---_- - -
_ _ _ _ _ _
_ _
_ __-
_ _ _ _ _
3EVICE
_ _ _ _ _ _ _
df)
- _ ----/---;---LOGP
- - -+
ib)
d,lbu.m
?rc?uct
Cc)
Fuel
I
I-!
6OlL_-ER- -1- - ! i.,I;Q
r---- I--
1 Figtire
Low
?ress u re
S&Kim
20.6i
Line
j-4o.Tj
OPEN
tsslng
You
fiJ 14 I-e
400. II
----I
CHAPTER 21
FEEDFORWARD AND RATIO CONTROL
The reason is
feedforward
control
configuration
Therefore,
feedforward
controllers
In the
last section we will examine a' special case of feedforward control, the
ratio control.
21.1 THE LOGIC OF FEEDFORWARD CONTROL
Consider the stirred tank heater shown in Figure 21.la.
The control
Figure 21.lb shows the conventional feedback loop which measures the
llrsperature
increases or decreases the steam pressure, thus providing more or less heat
-5nto the liquid.
msures
appropriately
the
steam
pressure
(manipulated
variable).
Thus, it increases
the steam pressure if the inlet temperature decreases and decreases the steam
control
configuration.
Subsequently,
it changes the
It is clear
that feedback acts after the fact in a compensatory manner while feedforward
acts beforehand in an anticipatory manner.
Let us now look at some common feedforward control systems used in
chemical
processes.
the
steam
pressure.
and liquid
temperature.
The
two disturbances are the steam flow from the boiler which is dictated
by varying demand elsewhere in the plant and the flow of the feedwater.
The available manipulated variables are the steam pressure in the reboiler,
and the reflux ratio.
Feedforward
control
is
particularly
useful
constant
temperature
and
composition
Remarks:
several disturbances represents the general case of feedforward control with a single controlled variable.
(2) The feedforward control of a CSTR, in Example 21.1, indicates that the extension to systems with multiple controlled
variables
should
be
rather
straightforward.
(3) With the exception of the controller, all the other hardware elements in a feedforward loop are the same as for
a feedback loop (sensors, transducers, transmitters, final
control
elements).
21.2
THE
PROBLEM
OF
DESIGNING
FEEDFORWARD
CONTROLLERS
The reader may have suspected already that conventional P, PI or PID controllers will not be appropriate.
dh
dt
Ah =
dt
_ - F
= Fi(Ti
Assume that Fi
- T)
Q/PC,
(4.5b)
have only the heat balance, eqn. (4.5b). The inlet temperature Ti is the
disturbance and the amount of heat supplied by steam, Q, is the manipulated
variable.
Steady-state
feedforward
controller.
Fi(Ti -
Ti++
i Ocp
T)
or
(21.1)
From eqn. (21.1) we find that in order to keep T = TSp, the manipulated
variable Q
= Fi pc (T
- Ti>
P SP
Equation
(21.2)
controller.
(21.2)
It shows how Q
control system.
The steady state feedforward
controller
at
sient.
(b) Dynamic
feedforward
controller.
(4.5b)
can be written
where
Fi
Fi
FT=TT~+&d
V = ah = liquid volume in the tank.
Fi
VT'
as follows:
variables
and take:
Fi
?T;
+ Q'
vpc
P
during the
(21.3)
Put eqn. (21.3) into a
(21.3a)
of eqn. (21.3a):
T;(s)
T(s)
where
T = V/Fi = retention
controller
changes
eqn.
PC
The feedforward
should make sure that T'(s) = T;,(s) = set point, despite any
in the disturbance
S(s)
(21.4)
1
Fi
THPS
Therefore,
from
Fi p~~[(rs+l)T;~(s)
- T;(s)]
(21.5)
forward control will be better for set point changes. Figures 21.5a
and 21.5b verify this point.
It is obvious
that,
"the better a model represents the behavior of a process, the better
the resulting feedforward controller will be."
Let us now generalize the design procedure outlined in Example 21.2.
Consider the block diagram of an uncontrolled process (Figure 21.6a).
Zbc process output is given by,
Y(s)
Gp(s)iii(s)
(21.6)
Gd(s)&s)
Let y,,(s) be the desired set point for the process output. Then, eqn. (21.6)
fm y(s) = B,,(s) yields:
7+)
= Gp(s)iii(s)
Gd(S);i(S)
(21.7)
E(s)
in the
Then, we take;
(21.8)
Equation (21.8) determines the form that the feedforward control system should
have and which is shown in Figure 21.6b.
functions, G, and GSP, which complete the design of the control mechanism,
i.e.
Gc(s)=Gd(s)/Go(s)
-transfer
function
ofthemain
feedforward
controller
(21.9)
GSp(4
Remarks:
(21.10)
(1) From Figure 21.6a we notice that the feedforward loop retains
all the external characteristics of a feedback loop.
Thus,
and
Perfect
Gd,
control
necessitates
possible.
trol.
(4) In the control system of Figure 21.6b we left out the sensor which measures the disturbance and the final control
element.
element.
TX
GpGVGcGs;~~SP
$ [Gd
- GpGvGcGm]i
(21.11)
- G pG v Gc G
m
=O
or
GC
(21.12)
Gd/GpGvGm
GpGv(Gd/GpGvGm)Gsp
5-17
and finally,
GSP
(21.13)
Gm/Gd
Equations (21.12) and (21.13) are more general than (21.9) and (21.10),
with the latter resulting from the former for Gm = Gv = 1.
computational
machine.
we use a digital computer as the controller (see Part VII), but for analog
i
controllers it is rather difficult and expensive to build these special purpose
machines.
GpW
Kp*G;(s)
and
G&d
Thus,
=
Kd*G;(s)
For instance, in Example 21.2, for the stirred tank heater we can easily
.identify
(see
"sp. (21. 4) ) ;
GpW
,c
i
Gd(d = &
1
Gi
1
indicates that K =
Fi PC
P
P
indicates
that
Kd = 1
and
G;(s) = & .
A.
steady state.
(21.10)?
At steady state, we retain only the static elements of the process
transfer functions, since Gl;(s=O.)
G
= K
and
Gd
1.
Thus,
Kd
Then, the design transfer functions, Gc -and GSp, are given by,
GC
(21.14a)
Kd/KP
and
GSP
l/Kd
(21.14b)
Therefore,
the elements Gc
and
GSP
can be
possible to use approximations to them and still obtain very good results.
athough they are approximations, they are expected to give improved results
:uv.er
Then,
GcW
Gd(d
GpW
1
as+1
1
Bs+l
Bs+l
as+1
(21.15a)
and
GSp(s)
1
Go
as
(21.15b)
and
are
they are not expensive like special purpose analog computational devices.
In Example 9.2 we
developed the transfer functions for the linearized model of the system;
Z$s) =
bl(s+a22)
P(s)
a12bl
a12b2
(9.15a)
-,
b2(s+all)
bl(s+all)
T (s) = a21bl
p(s> 'Ai +
q(s) +
Tp)
P(s)
P(s)
(9.15b)
..where
P(s) z s2 + (a 11 + a22)S + (alla22 - a12a21)
For the definition of the constant parameters; all, a12, a21, a22 and bl, b2,
see Example 9.2.
Let
US
feedforward
systems:
Problem 1.
inlet
concentration
and
temperature.
controllers.
CA
bl
P(s) = -
(s + a22)Eii(s)
bl
(21.16)
- 5 Tf(s)
a12b2
Equation (21.16) indicates that the first controller is a lead element while
the second is a gain-only element.
in Figure 21.7a.
Problem 2.
disturbances, and Tc
CA
SettiZg
and T i
as the two
T'(s) = 0, eqn.
(9.15b) yields
a21bl
1
' bl
F(s) = . (s) *- F T;(s)
C'
s+all Ai
b2
2
(21.17)
Equation (21.17) shows that the first controller is a lag element while the
second is a gain-only element.
Figure 21.7b.
21.4
FEEDFORWARD-FEEDBACK
CONTROL
Feedforward control has the potential for perfect control but it also
suffers from several inherent weaknesses.
In particular;
--it requires the identification of all possible disturbances and their direct
-%easurement,
- feedforward control requires a very good model for the process which for
many systems in chemical industry is not possible.
On the other hand, feedback control is rather insensitive to all three of the
above drawbacks but it has poor performance for a number of systems (multicapacity, dead time, tee.), and raises questions of closed-loop stability.
Table 21.1 summarizes the relative advantages and disadvantages of the two
control
systems.
parameter
Indeed,
feedback control loop monitors directly the behavior of the controlled process (measures process output).
combined
feedforward-feedback
control
system.
Let us now develop an equation for the closed-loop response of feedforward-feedback system of Figure 21.8.
dropped the argument s
7 =
iii + Gda
cvc
Cv(E1
E2)
- G j?>
Cv Gc (7
1 sp
ml
Cv
Gc
+ Cv Gc 2 (G SP
CvGc 2 =2
- G
ii>
'SP m2
(21.18)
Replace iii in eqn. (21.6) by its equal given from eqn. (21.18) and after
algebraic
rearrangements
take:
5.22
GpGV(G
ji
+G
G )
c2 SP
c1
l+GGG G
%P
P v cl ml
Gd - G PG vG c2 Gm2
+
l+GGG G
P v cl ml
ii
(21.19)
A close examination of eqn. (21.19), which yields the closed-loop process output
under
feedforward-feedback
control, reveals
the
following
characteristics:
characteristic
equation
l+GGGG =
P v cl ml
c2
If G
P' Gd'
G/GGG
d
pvm2
Go'
Gm2
and
GSP
G /Gd
m2
'
G G G
v c2 m2
#O
GpGvGc2GSP
In such case the feedforward loop does not provide perfect control,
i.e.
offers
'i + Ysp.
the
Then, El # 0
necessary
compensation.
Under
feedforward
The design
con-
Gc
Fipc
and
G sp
-rs+l
21.9b).
in the tank, for the same step change in the inlet temperature.
deviation
has
Notice the
disappeared.
Both flow-
the deviation (error) between the measured and desired ratios constitutes
the actuating signal for the ratio controller.
- In configuration 2 (Figure 21.10b) we measure the flowrate
stream A and multiply it by the desired ratio.
of the "wild"
rate that the stream B should have and constitutes the set point value
of stream B.
The
deviation
(Figure
21.11~).
(4) Holding the ratio of two blended streams constant, in order to maintain
the composition of theblend at the desired value.
(5) Holding the ratio of a purge stream to the recycle stream constant
(Figure 21.11d).
(6) Keeping the ratio of fuel/air in a burner at its optimum value (most
efficient
combustion).
flowrate
in an
,SuMMARY
'
eliminate the impact that the disturbance would have on the output.
Such an
Its major
advantage is the ability to act beforehand, while its most serious drawback is
its heavy dependence on the process model, which is almost always incompletely
known.
Additional
weaknesses
are;
possible disturbances and (ii) the inability to cope with changing process
parameters.
For all these reasons feedforward control is used with simple and
Processes
which benefit the most from feedforward control are those with very slow
- - ._.
feedback
control.
in chemical processes.
Ratio control is a special purpose f.eedforward
control system.
Primarily,
2.
3.
control
systems.
control? Why?
5.
6.
feedforward
7.
Explain why.
8.
9.
What is a +ag-lead
component
18,
for
feedforward
control?
114
.i ._..
12.
How do you select the desired value of the ratio in a ratio control
system?
13.
Draw the feedforward and feedback control systems which regulate the
flow through a pipe.
(Hint:
Examine
the static gain of the control loop in Figure 21.10a and consult
Reference
for details).
Table 21.1.
FEEDFORWARD
Advantages
1.
2.
Disadvantages
Requires
identification
possible
disturbances
the system.
direct
measurement.
1.
2.
of
and
all
their
/;
;
It does not introduce instability
3.
4.
Insensitive
to
process
parameter
variations.
Requires good knowledge of the
process model.
FEEDBACK
Advantages
1.
2.
h..3 .
Disadvantages
disturbance.
It is insensitive to modeling
taken.
errors.
It is insensitive to parameter
changes.
dead time.
It may create instability in the
closed-loop
response.
cc>
FEEDFO2WARD
CcNTRCLLEI:
IF.yure
21.3
53/
_ Ti,
-- _----- - ---7
FL
i
I
5302
FE~DFxwA~zD
CGNWOL
MEC~AN~SN\
----,
.- - - - - - - - - I
I
I
I SET- P O I N T
7
d
t
,
t
I ___-
----
----
Cb)
-
----1
533
Wi Id .streu7ll
Ay$--Y
i
Des1 i-d
FT : Fhu: Sense r-
Rat; u
*-- -__-______
Q
-,
CHAPTER 22
ADAPTIVE AND INFERENTIAL CONTROL SYSTEW
In this chapter we will examine two additional types of control systems;
(a) adaptive, and (b) inferential.
is
rather
postpone and quantitative discussion on these two control systems for Part VII,
where we will study the use of digital computers for process control.
There-
systems differ only in the way the parameters of the controller are adjusted.
But, why are adaptive controllers needed in chemical processes? Two are
the main reasons:
- Most of the chemical processes are nonlinear.
*-:-~.;dels
Therefore,
their
linearized
It is clear then
that as the desired steady state operation of a process changes, the "best"
values of the controller's parameters change.
controller
adaptation.
and process gain of a simple liquid storage tank depend on the value of
the steady state liquid level.
536
- Most of the chemical processes are nonstationary, i.e. their characteristics
change with time.
controller
parameters.
Clearly,
it is not to
We need an additional
To phrase it differently,
Any of
Programmed
or
Scheduled
Adaptive
Control
Suppose that the process is well known and that an adequate mathematical
model for it is available.
correlates well with the changes in process dynamics, then we can relate ahead
of time the "best" values of the controller parameters to the value of the
auxiliary
process
variable.
parameters.
control system.
adaptive
adjustment (adaptation) mechanism and it is comparable to feedforward compensation, with no feedback to compensate for incorrect adaptation.
A typical
KOVERALL
K pmcf
K K K
= constant
.
constant/(KpKmKf)
and Km
(22.1)
are known exactly.
Furthermore,
if
the characteristics of the control valve are known well, then, its gain, Kf,
*can be calculated from the stem position.
;etion (auxiliary measurement) we can compute the Kf. Then, eqn. (22.1)
yields the adaptation mechanism of this simple gain scheduling adaptive
controller.
Remark:
adaptation.
Figure 22.3a.
The otpimal value of the fuel/air ratio which maximizes the combustion
efficiency depends on the conditions prevailing within the process, e.g.
temperature of air.
From previous experimental data we know how the optimal fuel/air ratio
changes with air temperature for maximum efficiency.
Therefore, in order to
maintain the ratio continuously at its optimal value despite any changes in
the air temperature, we can use a programmed adaptive control system.
a system is shown in Figure 22.3b.
Such
Notice
B.
Self-Adaptive
Control
nntrolled output.
objective
function
(criterion).
Example 22.3 -
Model-Reference
Adaptive
Control (MRAC)
The
Ed) between the two outputs is used through a computer to adjust the parameters
of the controller in such a way as to minimize,the
Minimize ISE =
I
0
[em( dt
i
./, 4
The model chosen by the control designer for reference purposes is to a certain
extent
arbitrary.
The inner loop is an ordinary feedback control loop. The outer loop
includes the adaptation mechanism and looks like a feedback loop too.
The
model output plays the role of the set-point while the process output is the
actual
measurement.
mechanism in such a way as to provide a stable system, i.e. bring the error
Elll to zero.
in Chapter 32, i.e. after we have studied the use of digital computers for
fdTp->cess
control.
Regulator
(STR)
adjust the parameters of the feedback controller and is composed of, (a) a
recursive
troller
The parameter estimator assumes a simple linear model for the process,
e.g.
-tds
KpeTs+l
Then, using measured values for the manipulated variable, m, and the controlled
output, Y, it estimates the values of the parameters
estimation
technique.
least-squares
and b are known, the adjustment mechanism can find the "best" values for
computations.
The
Several
theoretical
and
experimental
studies
adaptive
control
mechanisms
increases
continuously.
Most of the
adaptive control systems require extensive computations for parameter estimation and optimal adjustment of controller parameters which can be performed
the quantitative design of such systems until Chapter 32, i.e. after we have
studied the use of digital computers for control.
22.2 INFERENTIAL CONTROL
Quite often, the controlled output of a processing unit cannot be
measured
directly.
Consequently,
measured and an adequate process model is available, then we could use feedforward control to keep the unmeasured output at its desired value (see
Chapter 21).
What happens though if the disturbances cannot be measured? None of the
control configurations studied so far can be used to control an unmeasured
process output in the presence of unmeasured disturbances.
Let us
&ock diagram indicate the relationships between the various inputs and outputs, and they are considered to be perfectly known.
From Figure 22.6a we can easily derive the following input-output
reliationships;
7
-iii + Gd l d
G
p1
G
p2
(22.2)
fi + Gd l ii
2
(22.3)
From eqn. (22.3) we can solve with respect to d and find the following
estimate of the unmeasured disturbance,
(22.4)
Substitute the above estimate into eqn. (22.2) and find the following
relationship,
:y
-f.
7
..__
bpl-2GpJ;
., .- Gd
-ii.-.
:: ,:
i:,l;
(22.5)
<;
Equation (22.5) provides the needed estimator which relates the unmeasured
controlled output to measured quantities like m and z.
Figure 22.6b
Notice that
the estimated value of the unmeasured output plays the same role as a regular
measured output, i.e. it is compared to the desired set-point and the difference is the actuating signal for the controller. Figure 22.7 shows a
simplified diagram of a typical inferential control system.
Remarks:
the process.
and
control.
(2) In chemical process control the variable which is most commonly inferred from secondary measurements is composition.
This is due to the lack of reliable, rapid and economical
measuring devices for a wide spectrum of chemical systems.
Thus, inferential control may be used for the control of
chemical reactors, distillation columns and other mass
transfer operations like driers, absorbers, etc.
Temperature
composition.
.-
.,
,;
-.
,.
variable.
Since the feed and overhead compositions are considered unmeasured, we
can only use inferential control.
Let us
now examine how we can develop and design the inferential control mechanism.
The process as defined above has two inputs and the two putputs, i.e.
- inputs; feed composition (disturbance), reflux ratio (manipulation),
- outputs; overhead
propane
composition
(unmeasured
controlled
output)
and
in Section 16.4, is a
simpler approach and yields the transfer functions between the various inputs
and outputs.
Following
this
methodology, we
developed
the
input-output
0.90*e-2S
70s + 1
,;ics) + 1.20.e-lS
30s + 1
Z(s)
=-
...(s)
Chapter 32.
(2) Were we to control the purity of the bottoms product, a
different temperature would be needed. Most likely would be
close to the bottom of the column.
(3) Recall that the effectiveness of an inferential control
scheme depends heavily on the goodness of the estimator,
which in turn depends on the model which is available for
the process.
measured
intermittently,
either
by
taking
samples
manually
models and for their implementation require extensive computations which are
possible only through the use of modern digital computers.
Therefore,
in
Chapter 32 we will return to these two schemes for further design developments.
Adaptive control is dictated by the nonlinearity and nonstationarity of
chemical
processes.
Depending
on how the controller parameters are adjusted we may have programmed or selfadaptive
mechanisms.
while the latter for processes which are poorly known. Gain scheduling is
the most characteristic example of the programmed adaptive control, while
model-reference adaptive control and self-tuning regulators are the most
tppical
digital
A secondary
process output is measured and from it the value of the unmeasured controlled
output is inferred.
If the "unmeasured"
secondary
measurement.
controlled
systems.
output.
But, most of the processing units in a chemical plant have more than
This
2.
Describe
qualitatively
the
4.
What is gain scheduling control and why can you use it in chemical
process
control?
feedforward
compensation.
Explain
why.
disadvantages?
5.
configurations.
547
6.
7.
The outer loops in the MRAC and STR configurations, are they of feedforward or feedback nature?
8.
-.
_.
.>
9.
As it was discussed in Section 22.1, the purpose of an adaptive controller is not to keep the controlled output at its desired set point.
This is accomplished by the regular feedback loop. What is then the
criterion or the objective function ,that guides the parameter
adjustment of an adaptation mechanism?
13.
Consider two processes; one (process A) slow with time constant 5 hours
and another (process B) faster with
time
constant 1 hour.
The compo-
sition of the output streams from the two processes is measured every
2-3 hours.
15.
.)
If, in addition to the unmeasured disturbance there are measured disturbances in a system, we can develop a combined inferential-feedforward
configuration.
1
ME,+SVRlNG
(4
SENSoR
550
\I
Unmeasured
Disfurbanfl
_- ---7
!
YI
Gd,
c5
Gd, i)
rzI
i- _ - _ _ __ - _ - - - - - - _a**
0a
d
- - - - - - -I r
----
J/
I
;
I
!
--
I
ii
,/
,
I
PART VI
DESIGN OF CONTROL SYSTEMS FOR MDLTIVARIABLE
PROCESSES.
The control configurations we have examined so far were confined to processes with a single controlled output, requiring a single manipulated input.
Such single-input, single-output (SISO) systems are very simple and not the
typical processing units encountered by a chemical engineer.
Chemical
pro-
cesses usually have two-or more controlled outputs, requiring two or more
.
manipulated
variables.
Furthermore, we will
CHAPTER 23
SYNTHESIS
FOR
OF
ALTERNATIVE
MULTIPLE-INPUT,
CONTROL
CONFIGURATIONS
MULTIPLE-OUTPUT
PROCESSES
In this
control
systems.
Primary
Secondary
or
self-tuning
regulator)
and
inferential
control
These
measurable
disturbances can,be
feedforward-feedback
(Figure
21.8)
and
ratio
control
configurations
(Figure 21.10).
(d) What manipulated variables should be used? A multiple input,
multiple-output
system
possesses
several
manipulated
variables
which
The selection of
fast and strong effect on the controlled outputs, some others do not.
Furthermore,
(e.g. liquid flows), some others are not (e.g. flow of solids,
slurries,
etc.).
(e) What is the configuration of the control loops? Once all the possible
measurements and manipulations have been identified, we need to decide
how they are going to be interconnected through the control loops. In
other words, what measurement will actuate a given manipulated variable
or what manipulation will be used to regulate a given controlled output
at its desired value?
For MIMO systems there is a large number of alternative control configurations.
The selection of the most appropriate is the central and critical question to
be resolved.
Let us now examine the above design questions in more detail and develop
systematic approaches to answer them.
23.2 DEGREES OF FREEDOM AND THE NUMBER OF CONTROLLED AND MANIPULATED VARIABLES
We have defined the degrees of freedom for a given process (see Section
5.2) as the independent variables which must be specified in order to define
the process completely.
(23.1)
This relationship was used in Examples 5.7 and 5.8 in order to determine the
number of controlled outputs in a binary distillation and a mixing process,
respectively.
Having determined the number of independent controlled outputs, the
following
question
arises:
in order to keep the controlled outputs at their desired values (set points)?
To answer this question, let us consider a process with the following
specifications:
- N controlled outputs (yl,y2,***,yN),
- M independent manipulations (ml,m2,***,mM)
outputs, the
y1
y2
manipulations
and
disturbances,
flbl,m2,***,y,+ dl,d2,***,dL)
f2bl,m29**9~;
dl,d29***,dL)
(23.3)
---------me--
YN
fN(ml~m299mM;
dl,d2,*-,dL)
of
f
independent
manipulated
(23.4)
Remarks:
(1) Let
eqn. (23.2).
are fewer than k, say Il<k, then there are (k-k) process
variables which change "wildly" in an uncontrolled manner
and may cause problems to the operation of the process.
But, if the effects of these "uncontrolled" variables on
the operation of the process are acceptable, then it is
perfectly legitimate to have fewer controlled variables
than the number dictated by eqn. (23.2).
(2) It is impossible to design a control system which can
i
regulate more controlled variables than the number
given
by eqn. (23.2).
(3) The degrees of freedom of a process at dynamic state are
equal in number of more than those at steady state.
This
Con-
dh
dt
This
suggests
have
concluded
(erroneously)
Had
dh/dt = 0, we
Notice
Therefore,
'!
1
components
with
molar
fractions
'i9 2 = 1,2,***,N.
Steam
flowing through a coil supplies'the necessary heat for maintaining the desired
temperature in the drum, despite any variations in the operating conditions.
For this process we would like to identify, (a) the controlled variables,
ib) the manipulated inputs and (c) generate all feasible loop configurations.
Let us first determine the degrees of freedom for the flash drum.
modeling
equations
The
are:
- Total mass balance (assuming constant molar density and insignificant vapor
-boldup)
dh
41 dt = Ff - (FV + FL>
- Component balances
d (hxi)
Ap
dt
Ffzi
- (FvYi + FLXi)
i = 1,2,***,N-1
- Heat balance
A --d(W=
cP,L
-
Vapor-liquid
yi
dt
Consistency
N
ii1
cp,fFfTf
equilibrium
=
relationships
Ki(T,p)exi
.- i = 1;2,i .a ,N >
constraints
xi
and
y
3
f
i=l yi
xiY Yi
for i = 1,2,***,N
- (2N+3)
= 4
Therefore,
outputs?
* ST fie desired value. Finally, the liquid level should remain within certain
bounds.
Thus, T, P, Ff
XGoiled variables can be measured directly, using simple and reliable sensors
(thermocouples, differential pressure cells, etc.) with fast responses.
Therefore,
and h.
23.3
variables.
GENERATION
OF
ALTERNATIVE
LOOP
CONFIGURATIONS
In other words,
different
loop
configurations.
there are 3! = 6
different
configurations
for N=4
there are 4! = 24
different
configurations
for N=5
different
configurations
etc.
The selection of the "best" among all possible loop configurations is a
difficult
problem.
triable
- choose
variable;
- choose the couplings so that there is a small dead time between every
manipulation
and
the
corresponding
controlled
variable;
24(=4!)
possible
loop
configurations
resulting
from all possible combinations among the controlled and manipulated variables.
,._
The "best" among the 24 can be found using the following qualitative
arguments:
Therefore,
from
Therefore, Ff and FV
trolling p
In
subsequent
loops.
and
loop
manipulated
In the present
processing
plant.
Consider a process composed of
through material or energy flows.
figurations for the overall process, we can adopt the following systematic
procedure:
Step 1.
common
operational
goal.
Having
Using
qualitative
or
quantitative
It is clear
that the number of the generated loop configurations for the overall
process is equal to the product of the retained configurations for all
blocks.
Step 5.
The control configurations resulting in Step 4 usually lead to an overspecification of the overall controlled process.
as follows:
23.3a).
Both
situations
systems.
Example 23.3 - Generate the Control Loop Configuration for a Simple Chemical
Process
The heart of the process shown in Figure 23.4 is the continuous stirred
tank reactor (CSTR) where the simple, exothermic reaction, A-tB,
takes place.
The reactor feed is preheated, first by the hot reactor effluent and then by
steam.
With this configuration we can fine tune the temperature of the coolant
(increase or decrease it) before it enters the jacket of CSTR.
The reactor
effluent is first cooled by the feed in the feed-effluent heat exchanger and
subsequently it is "flashed" in a flash drum.
streams, a vapor and a liquid, which are further processed in separate units.
Cooling water is provided to regulate the temperature in the drum. We would
like to develop alternative loop configurations for this process which satisfy
.&he
-.=
following
&zp
operating
objectives;
Divide the process into four blocks (Figure 23.4); coolant system,
feeti
preheating,
Steps 2 and 3.
There
__.
- Fc and TCO
- Fc and TCO
Fcl'
Fc2, Fcl
F Y
Fcl'Fc2
Con-
figuration No. 1 seems to be the simplest and is selected for the control of
the coolant system (Figure 23.5a).
Feed Preheating System (Figure 23.5d)
This block requires one controlled variable (see Table 23.3) which is the temperature Ti.
Tco
(01:
Available
manipulations
concentration,
are,
Fc>
to cascade temperature control and, as we have seen in Section 20.1 and Example
20.1, it provides fast compensation.
the reactor.
543
h], and
process.
trol system if the "best" loop configurations are selected for each
block.
5Step
Eliminate confliects
Consider the control system for the overall process shown in Figure
23.6a.
Thus, the
final
control
configuration
It has no conflicts
both recycled to the reactor from the flash drum and the bottom of the disstillation
column,
respectively.
heat exchanger with the reaction taking place in the tubes and the coolant
flowing in the shell around the tubes.
The basic control objective is; maintain the desired steady state prodllirtion rate and quality of product C for a long period.
$?%Pi?*
(e) Reactor,
(f) Flash drum with its feed cooler, and
(g) Distillation column with its condenser and reboiler.
Steps 2 and 3.
for
variables,
determination
of
Figure 23.9 presents the control structure for the overall plant,
Step 5.
The flowrate
The flowrate
the flow control loop in the mixing drum (stream 6), the flow
control loop in the feed preheating block (stream 8) and the
flow control loop in the reactor block (stream 9).
Eliminate
(iv>
elmination of the four conflicts among the control loops, which we described above, we can make two additional modifications which improve
the quality of the resulting control.
(CL)
in stream 13 are fed back to the main process and may cause
additional disruptions in the operation.
"SUMMARY
The typical processes in a chemical plant involve more than one inputs
and outputs and necessitate the design of multivariable control systems.
Several questions need to be answered for either single MIMO units or processes with several interacting units; (a) how many and which ones are the
variables.
variables.
control
configurations,
composed
of
single
loops.
Which
configuration
573
- Divide the process into blocks and generate alternative loop configurations
for each block.
- Recombine the blocks with their loop configurations and eliminate any
overspecification which creates conflicts among the loops.
This chapter has been concerned with the generation of feasible control configurations and not their precise evaluation.
What is a MIMO process and in what sense is the design of a control system for a MIMO process different than that for a SISO process?
2.
3,
assumption
correct?
controlled
and
manipulated
variables.
6.
7.
Why is it minimum?
9.
loop
configurations.
(Hint:
11.
configurations
leading
to
systems.
':12 *
Consider the process examined in Example 23.3. Are there more degrees
of freedom when the processing units are considered together in an
integrated whole, or when the various units are considered separately
detached from each other? Explain why.
13..
Why is the overall process overspecified when the various blocks with
their corresponding loop configuration are recombined to yield the
it.
14.
How can you overcome this drawback and still use steady
state models?
__--
L_
-_
.-
---_
--____
~.~--_--~.-~~-.----_..-------
_~~
..__
~__
_.
---
__-
-.--
__~_.-- ----~_-_----___
__-- _-----~_.--_- ..--- I.
_.-----. ._--.__ . .
.---__- +--
--- _-m3LLLig25Y---_--..-,
I
/
I-I
__-.
-.1
/
._
I
_~_
i
-
;-+
.-
..
..
[Fig
23. uce
Z]
r------___
-me
L---- ----_____
FEED fu.WfAT~N~t
- - - -
FLASH
- ----me;
DRUM
cc
*.
.:*
1 Figure
23.5)
II
0
,a- ,. .,
I1
,W
--- ---_ - __ - -- - - --e-J I
. . . ..I.
.:::....*.:..
. ...(. . a.....:
. .. . . .. .:....
L-;
1
r
l(l=J=L?:;
,?T \ .. .,. :: . . . . . . . . . . .,
l. : . . :-.:. . . . .I. . . :
IF
I---
_----- - --_----
----
I
I
t
b-l
Sieam
L-
l-
---I
I
I
IOz I
I
I
r ---_
I.l
A
BJ
2
Y
;s
CHAPTER 24
INTERACTION AND DECOUPLING OF CONTROL LOOPS
From the discussion in Chapter 23, two characteristics should be clear
concerning the design of control systems for processes with multiple inputs
and multiple outputs:
- First; a control system is composed of several interacting control loops.
- Second; there is a large number of feasible, alternative
configurations
of control loops.
For example, to control the operation of a flash drum we need a configuration
of four loops, which must be selected from 24 possible such loop configurations
(Example 23.2).
These two characteristics dictate the content of this chapter.
In par-
and
finally
INTERACTION
OF
CONTROL
LOOPS
Consider a process with two controlled outputs and two manipulated inputs
@Zgzzre 24.la).
Huts),
Y,(S)
Hll(d
iiil(s)
H12(~) fii2W
(24.1)
Y2W
H21W
=l(s>
H2+4
(24.2)
H12W,
i5,W
Let
US
that the transfer functions of the measuring devices and final control
elements in both loops are equal to 1.
fer functions of the two controllers, then the values of the manipulations are
given by
y(s)
= Gcl[~l,SpW - Y1l
q4
Gc2[Y2,sp(S)
(24.3)
T21
(24.4)
To understand the nature of interaction between two control loops and how it
arises, we will study the affects of input changes on the outputs when; (a)
one loop is closed and the other open and (b) both loops are closed.
(a) One Loop Closed.
24.2a).
Assume also that m2 = constnat, i.e. E,(s), and make a change in the
(24.2) we take:
Tl
HllGcl
1 + HllGcl 7 l,SP
(24.5)
(24.6)
1,SP
Lt is clear then that any change in the set point yl,sp
k& behavior of the controlled output yl,
3.
through which yl sp
,
only and keep the set point of Loop 2 the same, i.e.
on
Yl
to the new
Then,
on
But a
of Figure 24.2b.
control loops.
Analogous conslusion
change
the following statement which described the interaction between two control
loops:
"The regulatory action of a control loop deregulates the output of another loop (in the same process), which in turn
takes control action to compensate for the variations in its
controlled output, disturbing at the same time the output of
the first loop."
Having completed a qualitative presentation, let us now examine the
quantitative ramifications of the interaction between two control loops.
stitute eqns. (24.3) and (24.4) into eqns. (24.1) and (24.2) respectively
and take:
Sub-
(1
+ HllGcl)Yl+
(H12Gc2)~2=H11Gcl*~l
(H21Gcl)71 + (1 +
, SP+H12Gc2?2 , sp
H22Gc2)~2=H21Gcl~l,~~
H22Gc2*55,~~
(24.7)
(24.8)
Solve eqns. (24.7) and (24.8) with respect to the controlled outputs yl
y2
and
take
the
following
closed-loop
input-output
and
relationships,
Pll(S)
Qsp +
p12w
Y2,sp
(24.9)
y2
p21w
iysp
p&s)
72,sp
(24.10)
where
Pll(S)
{HllGcl + GclGc2(HllH22
-yH12H21)~/Q(s)
p&d
H12Gc2/Q(s>
p21w
H21Gc2/Q(s>
p&J
(H22Gc2 + GclGc2(HllH22
- H12H21))/Q(d
and
Q(s)
Remarks:
(l + HllGcl)(l
(24.11)
+ H22Gc2) - %2H21GclGc2
y1
H22Gc2
7, = 1 + H22Gc2 '2,SP
1 + H22Gc2 = 0
(24.12)
equation
Q(s) 5 (1+H11Gcl(l+H22Gc2)
-H12H21GclGc2
= 0
(24.13)
If strong interactions
shows the two control loops; Loop 1 controls the liquid level by manipulating
the effluent flowrate, and Loop 2 regulates the temperature by manipulating
the steam flowrate.
turb the temperature of the liquid in tank and Loop 2 will compensate by
adjusting appropriately the value of steam flowrate.
- If on the other hand, the temperature of the inlet stream (load) or the
%!
.-
&sired value of the temperature (set point) change, Loop 2 will adjust
,-be steam flowrate
liquid
.1y.
5;.rz;-zs9
level undisturbed.
thsinteraction
is in a single direction.
In other words,
(set
point).
However,
disturbs the reactor temperature away from the desired value. The, Loop 2
attempts to compensate for the change in temperature by varying the coolant
flowrate, which in turn affects the effluent concentration.
- On the other hand, when to compensate for changes in feed temperature (load)
or the desired set point of reactor temperature, it also causes the effluent
concentration to vary.
reactor
temperature.
It is clear from the above that Loop 1 interacts with Loop 2 in both directions
(unlike the loops of the stirred tank heater which interac in a single
direction).
1
O.ls+l %
5
O.ls+l m2
Y2
1
ml
0.5s+l
2
0.5s+l :2
m2 with y2.
The closed-
loop input-output relationships are given by eqns. (24.9) and (24.10) where
1
Hll = O.ls+l
5
H12 = O.ls+l
1
H21 = 0.5s+l
and
Kcl
G c2
2
H22 = 0.5s+l
controllers
with
Kc2
The charactewristic
equation of Loop 1
Hll~cl
K C-l
o.ls+l=O
-lO(l
+ Kcl) < 0
Therefore, when Loop 2 is open, Loop 1 is stable for any value of gain
Similarly,
&Cl.
is given by
S
and consequently, Loop 2 is stable for any value of Ka2, when Loop 1
is open.
(b) Tuning with both loops closed:
teristic equation is given by eqn. (24.13) and for this example takes
the following form:
1
0.5s+l'K,1'Kc2 = O
+(0.6+0.5Kcl+0.1Kc2)s+(1+KclfKc2-9KclKc2) = 0
(24.14)
According to the first test of the Routh-Hurwitz criterion for stability (see
Section 15.3), eqn. (24.14) has at least one root with positive real part if
any of its coefficients is negative.
Kc1
Kc2 -
9KclKc2
<
Cl
(24.15)
Inequality (24.15) places restrictions on the values that Kc1 and Kc2 can
take, to render a stable performance when both loops are closed.
This is in
direct contrast to our earlier result (see (a) above), whereby all values of
K
Cl
and K c2
K
--..g
[Note: The
when both loops are closed can be found by applying the second test of the
Routh-Hurwitz
criterion.]
different
ways
loop
The
.-
very popular tool for the selection of control loops. Let us now study the
logic of the mehtod and present some examples describing its usage.
A.
Definitions
Consider a process with two outputs and two inputs (Figure 24.la). Then,
m2
of magnitude Am1
Introduce a step
ml'
between
yl
and
ml,
when
Thus, introducing
a-step
reason:
gain
between
Yl
and
ml
when
ml
y2
and
m2'
Ay;
(AYi/AmlIy
The ratio of the two open-loop gains computed above defines the relative gain,
k, between output yl and input ml, i.e.
.^
(Ayl/Aml)m
x11
(Ayljoml)y2
2
(24.16)
In particular:
- If Xl1 = 0, then yl
to control
Yl'
- If Xl1 = 1, then ~2
and
Yl
In this case
interaction
xl1'
the larger
becomes.
varies it affects
dangerous.
i.e.
52 = (Ayl/Am2)m /(Ayl/Am2)y
1
2
x21
= (Ay2/Aml)m
x22 = (Ay2/Am2)m
/(Ay2/Aml)y
2
1
: relative gain between
/(Ay,/Am,)
1
y2 and m2
Yl
The values of these gians can also be used as measured of interaction for the
corresponding cases in a similar way as it was done above for
B.
xll*
Selection of Loops
For a process .with two inputs and two outputs there are two different
..loop
configurations, shown in Figure 23.2. Let us see how we can use the
Arrange the four relative gains, All, Xl2, X21 and X22 into a matrix
form, which is known as the relative-gain array, i.e.
=A
ml
m2
Xl1
x12
1x21
x22-1 y2
y1
It can be shown that the sum of the relative gians in any row or column of the
array is equal to 1.
Thus,
x11
Xl2
x21
x22
and
x11
%2
_.
/.,
A21
x22
= '1 I
:;* .- (2$*1!)
Therefore, we need to know only one of the four relative gains while the other
three can be easily computed.
Xll,
situations:
- All = 1.
and it is obvious that we can have two noninteracting loops formed by; ml
coupled with yl and m2
-31 = O.
a =
71
11
0I
.Ihe 1 in the off-diagonal elements indicate that we can form two noninteracting control loops by coupling
(Figure 23.2b).
ml
with
y2
and
m2
with
yl
- 51
= 0.5. Then,
3.5
0.5
L0.5
0.5I
and the amount of interaction between the two loops is the same in both
In other words, it does not matter how we
The two larger number, i.e. 0.75, indicate the recommended coupling with
the samller amount of interaction.
and the recommended coupling is the opposite of the previous case, i.e.
Couple
ml
- All> 1.
with
yl
and m2
Then, A22 = Xl1 > 1 and Al2 = h21 = 1 - Xl1 < 0. Situations
relative
gains, X 11
and
x22'
> (~yl/A~l~y2
(Ayl/Aml>
m2
In other words
and
(Ay2/Am2)
ml
interaction from the other loop and the larger the values of the
relative gains above unity, the larger the "holding back" effect
will be.
Therefore,
state
considerations.
Therefore,
for the selection of loops does not guarantee that the dynamic
interaction between the loops will be also minimal.
(2) The relative-gain array is a square matrix, which implies
that the number of manipulated variables is equal to the
number of controlled outputs.
and m 3'
Therefore,
ml
m2
m2
m3
m3
ml
[Note: In
(AYl/Aml)m
Then, compute
(Ay2/Aml)m
and
2
Return the system to the initial steady state and repeat the
same experiment by varying
Ayl
and
Ay2
and compute,
m2
by
Am2.
(AYl/Am2)m
and
(Ay2/Am2>
"1
in m 1, while keeping y2
m2'
and
(aYl/Aml~y
(Ay2/Amlly
1
Similarly, we can compute the following two gains,
and
(Ayl/Am2>
(Ay2/Am2)
y2
Taking
y1
x22*
relative
is straightforward.
an output y.
1
x ij
The
subscript
and a manipulation m.
J
is defined by
(Ayi/Amj)m/(Ayi/Amj)y
m denotes constant values for all manipula-
Similarly,
the
=A
m2
'12
'22
'1N
'1
'2N
y2
summation by columns
N
j&l
ij
= 1 for: i=1,2,***,N
summation by rows
Yl
l-iTi ml
1
+ O.ls+l
Y2
-0.2 0.5s+l ml +
%2
(24.18)
0.8
s+1 m2
(24.19)
iii
= 0.
Recall the final-value theorem (Section 7.5) and find the resulting new
steady state in yl, i.e.
Yl,ss
= lim [s y,(s)]
S-to
lim [l/(s+l)]
S-4
= 1
Therefore,
(Ayl/Aml)m
= l/l = 1.
2
constant under control by varying rn2'
- Keep y2
ml'
Since y2
us by how much m2
ii)
should change;
0.2
s+l
ti? \
0.8 0. Ss+l
71
s+l1 ml+
.-.
0.2
s+l
O.ls+l
0.8
0.5s+l
yl SS=lim
,
S-+O
Therefore,
for y1
is given by,
1 1
1
0.2
1
s+l
[s Yl]=lim s* -as+l s + O.ls+1'0.8' 0.5s+l'S
s+o Ilr
(Ayl/Am )
IL Y2
1.2511
Using eqns..(24.17)
we find
= 1.25
1.25 and
x11 = (Ayl/Am,)m2/(Ayl~~ml)y2
l/l.25
0.8
ii
and
m2
with
y2
to form two
loops differently, i.e. couple ml with y2 and m2 with yl, the interaction
of the loops would have been four times larger (i.e. 0.8/0.2 = 4).
"1 = 80% and x2 = 20% in a chemical A, are mixed in a vessel (Figure 24.6a).
We would like to form two control loops to regulate the product composition, x,
and flowrate, F.
while Fl E ml
Let F z yl and x z y2
and F2 Z m2
are the possible control configurations with different pairings between the
inputs and outputs, and they are shown in Figures 24.6b and 24.6~.
Which
one
should we prefer?
The steady state mass balances yield:
F
Fx =
[Note:
F1
(24.20)
F2
FIXl
(24.21)
F2X2
= 200 moles/hr
and
With these values we find the following steady state solution of eqns. (24.20)
and (24.21)
= 133.4
Fl
and
= 66.6
F2
201
= 0.6012
Therefore,
(AF/AFl)F
= l/l = 1
(Ax/AF~)~
= 0.6012/1 = 0.6012
2
201.67
F2
= 67.27
Therefore,
(AF/AFl)x
Consequently,
= 1.6711 = 1.67
x11
(AF/AFl),2/(AF/AFl)x
l/l.67
0.6
A
I
F2
-0.6
0.4 F
10.4
0.6I x
First;
with
F1
and x
with
F2 (Figure 24.6b).
Second; although the interaction between the two selected groups is smaller
than that of the other alternative configuration (Figure 24.6c), it is still
significant.
24.3
DESIGN
OF
NONINTERACTING
CONTROL
LOOPS
The relative-gain array indicates how the inputs should be coupled with
the outputs to form loops with the smaller amount of interaction.
But, the
control loops still affect each other's operation very seriously, and the
overall
control
system
is
characterized
unacceptable.
The
how we can design the decouplers for a process with two strongly interacting
loops.
667
consider
change
However,
we
% = 0, m2
constant,
i.e.
{
1
=- H12(s) HllW m2
(24.22)
function,
H12W
I+)
(24.23)
Hll(d
m2
m2
on
yl'
This dynamic element is called decoupler and when is installed in the control
system (Figure 24.7a) it cancels any effect that Loop 2 might have on Loop 1
but not vice versa.
To eliminate the interaction from Loop 1 to Loop 2, we can follow the
same reasoning as above and we find that the transfer function of the second
decoupler is given by,
H21(d
D2(s)
H22(~)
(24.24)
The block diagram of the process with two feedback control loops and two
decouplers is given in Figure 24.7b.
From the block diagram of Figure 24.7b it is easy to develop the following
two
closed-loop
Yl
input-output
relationships:
Gcl[H1l - H12H21'H223
l + Gcl[Hll - H12H21'H221
Y2
(24.25)
-7 1,SP
Gc2[H22 - H12H21'H223
l + Gc2[H22 - H22H21'H211
(24.26)
Y2,SP
The last two equations demonstrate the complete decoupling of the two loops
since the controlled variable of each loop depends only on its own set point
and not on the set point of the other loop.
diagram of the two noninteracting loops described by eqns. (24.25) and (24.26).
It is completely equivalent to that of Figure 24.7b.
Remarks:
exactly.
Hll,
H12,
H21
and
H22 are
the
change).
Therefore,
deteriorates.
H1ly
H12'
H21
and
H22
How to
would have on
yl before it has
two
decouplers
to
produce
n&interacting
loops.
the loops.
Dl'
Suppose
that the operating requirements allow small variations in the product flowrate
F, while dictating very tight control on the concentration x of the product.
Then, we can use partial or one-way decoupling to cancel any effects that
interaction might have on
yield
(Fl
+ F2)0.6
F2
= 0.8Fl
+ 0.2F2
or
Fl/2
which cancels
any effects that the flow control loop might have on the composition control
loop.
y1
Y2
0.5e-1'5S
s+l
2e-l.0s
0.5s+l
ml + e-Os5' _
2s+l m2
1
ml + s+l iii2
Form the two control loops by coupling yl with ml and y2 with m2.
the transfer functions of the two decouplers
(24.24), i.e.
Then,
Decoupler
hand
D2(s)
Dl
D2
makes
Dl(s)
is
D1
SUMMARY
R12(s)
Hll(s)
s+l
22s+l'
H21(S)
s+l
2 0.5s+l
H22(4
+1.0s
e
-1.0s
e
+1.0s .
On the other
unrealizable.
AND
CONCLUDING
REMARKS
set point changes entering a control loop are propagated to other loops.
But
what is even more serious, the disturbances propagating from one loop to the
.I.
others return back to the original loop and may destabilize the process
altogether.
the control system and constitute the main "headache" for the control
designer.
Bristol's relative-gain array provides a simple and useful tool to select
the couplings between the various inputs and outputs in such a way that the
interaction among the resulting loops is minimal.
method are heuristic in nature and there have been instances where the
relative-gain
array
gave
the
wrong
recommendations.
practicality are two very attractive features which made it very popular.
Whenever severe interaction still persists even for the best configuration
of control loops, the addition of decouplers
recommended.
Thus,
the interaction effect is cancelled and the loops behave as if they were
completely
independent.
chemical
In the last
Several
s domain.
Due to their mathematical complexity, they are beyond the scope of this text.
The interested reacer
Explain in your own words the interaction among the control loops of a
flash drum (Figure 23.lb).
Can you tune separately two interacting loops and retain the stability
of the overall process?
3.
Develop
the
resulting
closed-loop
Couple
4.
equation
changed
or
with
m2
and
y2
yl
Has
relationships,
the
similar
closed-loop
not?
Define the two open-loop gains used in the definition of the relative
gain
X12.
good measure of loop interaction? Can you compute All, A21 and X22
when you only know X12? If yes show how, if not explain why.
5.
Repeat item 4. for the relative gain. A.. of a general process with
1J
N inputs and N outputs.
6.
denote?
Define the relative-gain array for a process with 2 inputs and 2 outputs.
outputs.
7.
H21W
H22(~) # 0.
is given by
I I
1
0
8.
1'
9.
Explain how you can use the relative-gain array to select the loops
with
minimum
with
interaction.
manipulated
variable
if h
< O? Does
ij
mj
that another relative gain is larger than 1 or not?
10.
imply
Explain.
In Example 24.5 let xl = 0.3 and x2 = 0.7 and select the control
loops.
physical
or
11.
X ij < 0
decreased?
Explain why.
the
following
relative-gain
array
A=
and take the interaction index array (using the above definition)
1 1
-4
I
=
1/4
4-
1/4
Which of the two arrays i and f shows more clearly the amount of
relative
12.
interaction
between
the
corresponding
loops?
What do we mean by the term decoupling two control loops? Do the two
loops of the process in item 7 need decoupling? Why, yes or no?
13.
with
required
14.
m2
two
and
y2
with ml.
decouplers.
Find the steady state decouplers for the two control loops selected in
the process of Example 24.4.
15.
16.
17.
After
introducing
the
necessary
[Hint:
Examine'closely
the
closed-loop
character-
L----------------J
~ROCCSS
i
?
In&red
Effeck
&.. . . ,. . . . . . . . . . . . . . . . . . . . . . . . . . . -
..........
I
I
I
I
LP
-J-Q2
P R O C E S S
La
- - ----
---I
T
I
PRDCE55
Ys
CHAPTER 25
DIGITAL COMPUTER CONTROL LOOPS
As long as
the controller is an analog device (pneumatic or electronic) it can, (i) process continuously the analog signals generated by the sensors and/or the
corresponding
of an analog controller creates the need for new hardware elements and new
control design problems.
Figure
26.2 indicates the basic components of such a typical digital computer and
the
associated
peripherals.
A.
Central
Processing
Unit
CPU is the
*
heart of a computer system and maintains control over all its functions.
Thus, it is the CPU that,
- determined what is the next operation to be performed by the computer,
- executes the various arithmetic or logic operations,
- retrieves or stores information from or to the memory,
- directs various other operations.like data transfer between memory and
peripheral
devices.
The smallest unit of information that the computer uses for communication
or computations is the bit (from binary digir), which can assume values 0 or
1.
and word, an intermediate unit called byte is also used to characterize information of 8-bit long (i.e. 1 byte - 8 bits).' The byte is a useful unit
because all alphabet letters, numbers, other typing characters, control
characters,
Code
(industry
verifies
standards).
among the various computers with 8-, 16-, or 32-bit words being the most
common.
16-bit word computer arranges the binary digits in an octal system (composed
of three binary digits); i.e.
1
001
101
110
010
110
The first digit is reserved for the sign (e.g. 0 = +, 1 = -> and the other 15
form five groups of three digits each and are used to represent an integer
number.
Therefore,
111
111
111
111
to
hardware
instructions.
'To expedite and facilitate operations, modern CPU's are equipped with
various
hardware
options.
Hardware
floating-point
Floating-Point
arithmetic
Processor.
operations
and
tremendously
the
computational
Real-Time
Clock.
world's time and allows the computer to schedule its functions at time
intervals,
Thus,
it is the real-time clock that determines when the computer should take data
from measuring sensors or change the values of manipulated variables.
'(3)
Power
Fail-Safe/Automatic
Restart.
puter is lost, this option senses the power failure and executes a prespecified
set of instructions before the machine becomes inoperable.
These
instructions
may transfer the control of the process from the digital computer to another
back-up control system and/or save information necessary for an orderly and
automatic restart of the control programs, when electrical power has been
restored to the computer.
trolled
(4)
processes.
Watchdog
computers.
Timer.
In the second case an alarm alerts the operator that the computer has
Memory
This is the place where the computer stores, (a) the instructions of
the program it executes and (b) the values of the initial data, intermediate
and final results from computations.
execution.
There are two general types of memory:
in the memory. On the contrary, the Read Only Memory (ROM), as its
name implies, does not allow alterations of its content, i.e. a program can
"read" information from the locations of the ROM but cannot "write" in it.
The RAN is used for the storage of any size general purpose programs, while
ROM is employed for the execution of highly specific and small in size programs.
commands, etc.
Recently
field-programmable
ROM's
have
been
introduced.
The cycle time of a computer is the time required by the CPU to read the
content of one word from memory and restore its content.
According to the
value of the cycle time, we can distinguish the following types of RAM:
- Core memory, with typical cycle time -1 us (slow) and low cost, it is constructed with ferrite rings which retain the stored information when power
fails.
- Metal-Oxide Silicon Nemory
Various
additional
determinants,
Mass
Storage
Devices
- Disks, with very large capacity for storage (1 f 100 million 16-bit
low access time (5 -:- 100 us) and high cost.
into fixed-head and moving head disks.
words),
range 1-10 million 16-bit words and access time -5 us, while the second
have longer access times (50 :- 75 US) but higher capacities (up to 100
million
words).
Floppy disks are low cost, small capacity devices and are
- Magnetic Tapes.
trol computers and they are used to store off-line large programs and large
amounts of data.
D.
Communication
Peripherals
These equipments are used for communication between the operator and the
computer and include; typewriter terminals, line printers, video display units,
storage scope graphics terminals, card readers, X-Y plotters, etc.
Uith such
devices the computer can display data describing the current state in the
operation of the process it controls, or inform the operator about the current
control actions taken by the computer.
Furthermore,
the
communication
peripherals allow the operator to intervene and change set points, gains and
other characteristic parameters of a control loop, or switch control from the
computer to manual or other back-up control systems.
The
communication
software.
Input/Output
(I/O)
Interface
This is the device which allows the communication between the computer and
the process to be controlled.
functions:
(a) It receives the signals from the measuring sensors and transducers
associated with the various measured process variables.
may be continuous, alalog
electrical
voltages
These signals
(thermocouple
output,
flow or pressure transducer signals), or simple digital information (onoff), e.g. various relays, on-off valves, etc.
digital
control
systems".
controller.
operate and how one selects the appropriate interface for a given process
control
application?
computer based control system and will be covered in the next section with
some details.
Remark:
maxi-computers, mini-computers
or
micro-computers.
The stan-
are
normally
characterized
machines
with
8-bit
processors characterized as
1laxicomputers
COMPUTER-PROCESS
abilities.
INTERFACE
FOR
DATA
ACQUISITION
AND
CONTROL
Then, the control functions (e.g. feedback P, PI, PID laws) will be performed
by an executable program (in BASIC, FORT&W, assembly language, etc.), which
resides in the memory of the computer.
program requires as data (input) the values of the measured outputs and
produces as results (output) the values that the manipulated variables should
have in order to keep the controlled variables a't the desired set points.
For a digital computer both input (data) and output (results) are in digital
form and correspond to discrete-time values.
Samplers
The process measurement data (flow rates pressures, liquid levels,
temperatures,
sensors
and
discreteltime
the time taken by the computer to "read" the measured value, calculate the
error, and make a control correction is finite.
measured
computer
value
Then, the
This is denoted
Hold
Elements
Figure 26.3b
This is accom-
Here, the hold element keeps the value of a discrete in time signal
constant for all the period until the next signal comes along.
C.
the control program which requires data in a digital form (e.g. information
coded in l&bit words, for a 16-bit word machine).
The n bits
define 2n
1
Resolution = 2"-1
(26.1)
For a 12-bit converter the resolution is about 0.05 per cent, i.e. when two
voltage values differ by more than 0.05% of the prespecified voltage range,
the converter will distinguish the two signals and assign two different
integers for them.
0.4%.
Usually, both 8-bit and 12-bit converter's are satisfactory for process
control
purposes.
Higher
rates
can be achieved by high-performance converters and are useful only for very
special
problems.
To avoid the need for a large number of A/D converters handling the conversion of a large number of different analog signals, it is usual practice
to use a multiplexer.
can serve sequentially several lines carrying analog signals (Figure 26.4).
D.
(DBC)
The control commands produced by the control program are in digital form,
but most of the final control elements, pneumatic valves in particular, are
actuated by analog signals (e.g. compressed air).
Thus,
12
Digital
= 1.26 volts.
I/O
Information
l
concerning
the status of relays turning pumps, valves, lights and other devices
onoroff,
Control
l
commands
to
0 stepping motors.
(c) Communication between
0 several computers
l
Therefore,
The
transmission
(input
parallel (two-way, in and out, simultaneous transmission) or in series (oneway, in or out transmission).
rates vary from very low to very high, and are expressed in terms of band rates,
where one band = lOx(number
Remark:
of bytes transmitted/second).
(12-1)
12-bit converter we have 2
= 2048 positive integer numbers
(including zero) to represent voltage values in the positive
range 0 5 volts 2 5.
COMPUTER
CONTROL
LOOPS
and
its
In this section we
will examine the various types of control loops, which result when a digital
computer is used as the main controller, as well as the necessary hardware
components.
A.
Single-Loop
Control
Thus, it is
This in turn is
signals.
It should also,be
as well as the values of the adjustable control parameters (e.g. gains, reset
- or rate time constants, etc.), are now introduced by the operator through a
typewriter
B.
terminal.
Multiple-Loop
Control
the computer and the process, but now is somewhat different. Thus:
- Instead of using one A/D converter for every measured variable, we employ a
single A/D converter which serves all measured variables sequentially
through a multiplexer.
- A multiplexer can also be used to obtain several outputs from a single D/A
converter.
- The control program is now composed of several subprograms, each one used
to control a different loop.
Furthermore,
functions
properly.
Figure 26.6 shows the use of a single computer (CPU) to control two outputs.
Both systems in
Supervisory
Control
Unlike the situation of direct digital control, we may use the computer
to change only the set points or the values of the adjustable control
parameters of the local controllers.
supervisory
control
(Figure 26.7a).
implementing
direct
digital
control.
inform the supervising computer about the state of the local control loops and
for the computer to provide the set point or other changes to the local controllers.
When the local controllers are digital computers, then the I/O
interface carries only digital signals, allowing the communication between the
supervising computer and the local DDC's.
Supervisory control has been applied extensively in chemical processes,
to optimize their operation (minimize operating cost, maximize efficiency in
energy or raw materials utilization, maximize
production
profit,
etc.).
Thus, one computer supervises and coordinates the operating of several control
loops, deciding what are the best set-point values for the various loops.
Figure 26.7b
A/D
conversion.
This
approach
yields
satisfactory
results if the analog signals are transmitted over short distances, i.e. no
longer than 200-300 ft.
ration in the transmitted signal due to voltage losses and cable capacitance.
Furthermore,
signal.
Alternative (b) is preferred when the transmission distance is long and
there are strong sources of external noise.
control
architecture.
(a>
Therefore,
We need to
(b)
representation.
(4
discrete-time
equivalent?
How
Cd)
The Laplace
(e>
Does the design of a control loop change when we use digital computer
control?
loop?
inferential,
optimizing,
etc.?
In the following chapters we will address all the above and other questions
related to the design of computer control system.
Before closing this section, let us make a few remarks on the software
required to implement the control laws, and which constitutes a neiJ
control
programs.
(1)
Computer
System
Programs.
They include:
- Operating Systems, which deal with the real-time operation of the computer
control
system.
providingefficientuse
of
the
CPU,
memory,
communication
Application
Programs.
easily understood by the programmer and allow an easy statement for the
solution
procedure.
execution because the FORTRAN statements for example must be translated into
the machine language before they can be executed.
Normally,
tational speed coupled with large capacities to store information make the
digital
computers
very
"intelligent"
process
controllers.
It must be noted
though that the advanced and continuously advancing technology of the microprocessors has not been fully exploited by the process control designer, and
that a tremendous potential exists.
chemical
engineers.
A computer control system is composed basically of (a) the central processing unit with the associated peripherals (memory, mass storage devices,
communication devices) and (b) the I/O interface between the computer and the
process it controls.
This
incompatibility
is
erased by the computer process I/O interface with its samplers, hold elements,
multiplexers, A/D and D/A converters.
Two are the main modes of computer control; the direct digital (DDC) and
the supervisory control.
which can handle from 5 to 10 loops each, thus replacing as many analog controllers.
The economics of DDC are favorable and their use expands continuously.
The second does not implement all control actions but it is limited to the
supervision of local controllers and the change of their set points and
adjustable
parameters.
tools
to
handle
discrete-time
signals
and process models, process analysis and controller design techniques for
discrete-time systems, how to use the computational power for advanced control
techniques,
etc.
follow.
THINGS TO THINK ABOUT
1.
2.
637
3.
Describe
the structure
the characteristics
4.
of a conventional
of each hardware
component
in this structure.
What are the basic and what are the optional features of a central
processing unit?
computer?
5.
it very difficult
real-time
clock?
Why is
a
clock?
and hardware
components of a computer-process
I/O interface.
7.
Explain
Describe
in a computer-process
I/O interface?
to
interface?
9.
What
N analog signals
Repeat
question
D/A converters.
11.
For a prespecified
of a
conversion
error in
and
12.
Find the voltages which are represented by the integer numbers -712 and
+1514, within a prespecified range +lOV.
error in volts?
13.
Find the number of bits needed for a D/A converter to yield an error
less than 0.0001 volts, for a prespecified range of voltages 0 to 5V.
14.
Define the direct digital and supervisory control. Which one is used
for regulatory control actions and which for servo operations? In a
supervisory
control
Discuss
relative
advantages
and
disadvantages.
What size computers would you use for DDC and supervisory control?
Why?, How do the local DDC's communicate with the supervising computer?
16.
17.
What is high level and what a low level language for computer control
applications?
19.
Discuss the new design problems raised by the use of a digital computer
for process control.
TRAPJSDUCER
CEN TRA L
PROCESSING
CCtiA~VlcCAT!O~
PEizl PH ERALS
UN\l(CPU)
i3A.51
.
o
F EATU RES
CCNTROLLEP
ARITHb4\6TlC
U)rl(T
UNIT
e LOGICAL
e ZEGiSTE=
OPTIONS
D FLOATlf.J6-fOlNT
e REAL-
hZOCES3
TJ Me CLOCK
d Fu#ER FAIL-SAFE/btJi
RESTART
B \hlkTCADOG flFlER
5AM PLEP
- - - -_-J
/
I
\
\
i------i
/
1
!
I
I
--___
!
----
--_
I
I
t
1
I
--_
I
I
I
_ _ _ _ _ _ _ _
I- CCN-rROLLix
I
1----- I I
L------------ - CCMPUTER -PCCCESS ,h~&~fAcc
__----------.-
d: discrete-fime signal
c : &n+inUDUS
signal
.I
.---..-----_-_
1;
3
-
I
---r--l_----1 -..
d/
i a*
IU
--i----j
--
LOCAL CONTROiL=S
[ANALOG
PIGI-T~L)
CHAPTER 26
FROM CONTINUOUS TO DISCRETE-TIME SYSTEMS
r
When
we use.continuous,
continuous in time.
domain).
analyze the dynamic behavior of loops with computer control and discretetime models are needed.
Therefore,
computer
27.1
SAMPLING
CONTINUOUS
SIGNALS
Consider a line carrying a measurement signal y, which varies continuously in time as shown in Figure 27.la.
nT
time
points
n=0,1,2,***
Figure 27.1~
and
or impossible.
Thus, the obvious question arises:
"How does one select the best sampling period so that the
sampled representation of a continuous signal is satisfactory, without requiring excessively large number of
sampled values?"
There exists a mathematical answer to the above question whose development is
quite complex and goes beyond the scope of this text. We will try to give a
processes.
In Section 10.4 we
found that the response reaches the 63.2% of its final value when the time
elapsed is equal to one time constant
Also, when t = 2r
the response
P'
P
has reached 86.5% of the final value, at t = 3r
the 95%, etc. Therefore,
P
if the sampled represenntation of the response is going to be of any value,
the sampling period must be smaller than one time constant.
Practical experience suggests that a sampling period between 0.1 and 0.2 of
one time constant yields satisfactory results.
Suppose that the first-order system possesses dead time.
response to a step input is given by Figure 12.3a.
Then its
P'
whichever is smaller. If td
P'
is much smaller than
then neglect the dead time and take Ts = 0.1 T .
rP
P
The above rational can be extended.
can be approximated
Section 16.5.
dead time td.
and the
is smaller, or 0.1 T if
P
.
td
rP'
Figure 27.2~ shows clearly that we cannot reconstruct uniquely the original
sinusoid because there exist several waves passing through the sampled
values.
Therefore,
The sinusoid
sampler output takes the value of the continuous signal and has the form
shown in Figure 27.4a, or approximately the pulse form of Figure 27.4b. To
develop a concise mathematical descripti.on we assume that the sampler acts
instantly, i.e.
At-@.
height of the pulse goes to infinity and at the limit we take an impulse of
infinite
Y* (nTs)
= y(nT,)*b(t
is given by
(27.1)
- nTs)
Thus,
t = nT, (see
. .
.
- 2Ts) +
*a
and finally,
y"(t) =
nzo y(nTs>S(t
- nTs)
(27.2)
i.e.
s c&s(t) 1
domain
(i.e. s-domain),
T(s)
nzo y(nTs)
-TS
(27.2a)
THEIR DISCRETE-TIXE
VALUES
The discrete-time nature of a digital computer implies that when a computer is used to control a process the control commands are given periodically
as impulses at particular time instants and not continuously in time.
Such
sequence of control impulses cannot maintain a final control element continuously in operation.
computer reaches the valve, but then it closes until the next control impulse
arrives at the valve.
m*(2T) = m(2T)6(t-2T),**-
The simplest way to convert a sequence of discrete-time values into a continuous signal is to keep the discrete-time value of the signal at
t = nT,
n=0,1,2,***
m(t) is
= m(nT)
for
nT L t s (n+l)T
and
n=0,1,2,***
'(27.3)
In particular;
- for
O<t<T
m(t) = m(O)
- for
T5t< 2T
m(t) = m(T)
It does
not represent the only way to construct a continuous signal from its discretetime values.
Consider two successive discrete-time values, say m[(n-l)T] and m(nT).
We assume that for the next period
m(t)
m(nT)
for
nT I t < (n+l)T
and
n=2,3,4,***
Equation (27.4) yields the so-called first-order hold and the continuous
signal it produces is shown in Figure 27.5~.
element needs at least two values to start the construction of the continuous
signal while the zero-order hbld need only one.
It is possible to develop second-, third-, or higher-order hold elements.
They need 3, 4, or more initial discrete-time values before they can start the
construction of a continuous.
marginal
improvements
Therefore,
Example 27.4 - Comparing the Results of Zero- and First-Order Hold Elements
We will consider two distinct cases of discrete-time signals; (a) slowly
varying with time (Figure 27.6a) and (b) rapidly changing with time (Figure
27.7a):
- For the slowly varying signal the superviority of the first-order hold
is obvious (see Figures 27.6b and 27.6~). This is due to the almost
constant slope of the changing signal over large periods of time which
permits
successful
linear
extrapolation.
Nevertheless,
the
performance
features:
Remarks:
from
discrete-time
values
m(nT) is given by
2
(d)
dt2 t=nT(t-nT)2+***
(27.3)
(t-nT)
(27.4)
3rd,
derivatives
will
be
numerically
etc.
All
approximated
values.
transform of a unit
put is given by
iids>
1 - emST
m(nT)
hold
element is given by
-ST
Ho(s)
= 1 - e
(27.5)
HIW
27.3
CONVERSION
OF
CONTINUOUS
1 + ST (1 - ewST 2
T
>
S
TO
DISCRETE-TIME
(27.6)
MODELS
We will start by recalling the typical computer loop for direct digital
control shown in Figure 26.5.
the loop to that shown in Figure 27.8 by retaining its basic four components;
process, A/D converter with the associated sampler, digital controller, and
D/A converter with teh associated hold element. We notice that both continuous and discrete-time signals are *present
in the loop.
Pius:
- The process has continuous input and output signals and consequently it
can be described by continuous models (differential equations in the time
domain,
domain).
- The digital controller has both input and output signals discrete in
So far we have not studied any techniques to model such systems which from
now on we will call discrete.
Let us go a step further.
back PID device, the output of the controller would be given by eqn. (13.6) in
Section 13.2,
c(t)
= K$t)
KC
+T
c(t)dt
I i
+ Kc rD
g + cs
(13.6)
A continuous model for the control action such as that of eqn. (13.6) is
inconvenient for a digital controller which uses error values at particular .
time instants, i.e.
E(O), c(TS), E(2TS) ,*-*,E(nTS) ,***
and produces control commands at discrete
time
points, i.e.
c(T), c(2T),***,c(nT),***
But, how can we convert a continuous model to an equivalent discrete-time one?
This is the question to resolve in this section.
separately:
- Every sampling period a sampled value of the process output enters the
computer.
ySp(nTs)
y(nTs)
Kc E(nTs)
- The control action produced by the integral mode is based on the integration of errors over a time period.
by
numerical
integration.
rectangular
integration.
It is easy to
see that
c(t>dt
T s k;. 4kTs)
Therefore,
Kc Ts n
- $0 ENS)
3
- For the derivative mode action we need a numerical evaluation of the
derivative deldt.
Therefore,
rD
ds
c rD dt = Kc < {E(nTs) - c[(n-l)Tsl)
Consequently,
KcTs
KCTD
dkTs) + -y- {s(nTs) - s[(n-l)Tsll+cs
S
(27.6)
equation.
time
domain.
values
at
the
sampling
instants.
The
discrete-time
A detailed
exposition of such methods goes beyond the scope of the present text and
the interested reader can consult the various references on numberical
analysis
f(y,d
(27.7)
yn+l - yn
T
yn
(27.8)
T-f(yn,mn>
rP
ay
= + y = KPm
and using the above we can easily derive the difference equation which is the
discrete-time
model,
Yn+l
[Note:
= (1 --;T-)y, +
P
KPT
m
rP
n
(27.9)
notation, y(nT) 5 Y,
successive
discrete-time
values].
251 ay
dt
+ y = Kpm
(11.2)
dt2
We have already seen how to approximate the first-order derivative, i.e.
h57
4.Y
dt
Yn+1 - YIl
=
difference
equation,
+ 25 I (Y,+~ - Y,) + Y, = Kp mn
2
2
=
2(1
5
+)Y~+~
(T
25
$
+
l)y,
+
Kp
G
m
Y n-i-2
n
T
T2
(27.10)
of y, we need its
Example
Consider the following process with two inputs and two outputs:
dyl
dt
allyl
a12Y2
bllml
b12m2
dy2
dt
a2gl
+.
a22Y2
b2pl
b22m2
With the first-order difference approximation fot the derivatives we take the
following difference equations which represent the discrete-time model of the
multivariable
process,
y1,*+1 - y1,n
T
allyl,n
a12y2,n
b11m1,n
b12m2,n
y2,n+l - y2,n
T
a21Yl,n
a22Y2,n
b21ml,n
b22m2,n
OK
yl,n+l = (l--Tall)yl,n
Remarks:
(27.11)
(27.12)
measurement
data.
In a sub-
straightforward.
order process with dead time, td, between the input, m(t),
and the output, y(t), i.e.
dv +
rp z
Let
= Kp m(t - td>
of the period, T.
found to be
Y n+l
= (1 -+-)y,
P
+ y m
p
(n-k'0
(27.13)
In the next
On
the other hand it is easy to construct and describe hold elements of various
orders, with the zero-order being the most popular.
Laplace
transforms for
both components (sampler, hold element) are possible and yield an analytical
description of the two conversions (continuous to discrete and discrete to
continuous).
The discrete nature of a digital computer imposes the need for a
discrete-time representation of the various components in the loop.
Such
discrete models for the process, controllers, etc. can be easily derived by
numerical
various
approximation
forms
integrals,
for
of
the
corresponding
continuous
models.
There exist
etc., with
varying
complexity
and
computational
requirements.
of the continuous
The
In the present chapter all conversions have been confined in the time
domain.
develop the mathematical framework which allows easy analyses of discretetime process dynamic and design of discrete-time computer control systems.
THINGS TO THINK ABOUT
1.
3.
4.
continuous
counterpart.
Define the ideal impulse sampler. How does it differ from a real
sampler?
smapler; one in the time domain and the other in the Laplace
domain.
6.
How would you select the sampling rate for, (a) the response of a general
underdamped open-loop system and (b) the oscillating response of a
closed-loop
7.
system?
Demonstrate
graphically
first-order
hold
elements.
Describe the different ways which can be used to improve the quality
of a reconstructed continuous signal from its discrete-time values.
Outline relative advantages and disadvantages of the two methods.
11.
12.
one.
13.
14.
Consider
0.01
the
$f
following
+
two
m
first-order
systems
and
Also, show how you can improve the quality of the other (worst)
discrete-time
15.
Explain
model.
How many sampled output values do you need to construct the discretetime model for a third-order process?
Explain why.
Ii-
-iqc;tre
(ai
27.3
::
x
,
,
(a)
ii
FIRST- ORDER
HOLD
>
(b)
m k)
T
I Fi j ure
.2T.6 I
I Stt--Po;nt
r ----.---- -----------I
,
I