Professional Documents
Culture Documents
Babatunde A. Ogunnaike, W. Harmon Ray - Process Dynamics, Modeling, and Control (1994, Oxford University Press, USA)
Babatunde A. Ogunnaike, W. Harmon Ray - Process Dynamics, Modeling, and Control (1994, Oxford University Press, USA)
dynamics,
mo de lin g,
an d control
TOPICS IN CHEMICAL ENGINEERING
A Series of Textbooks and Monograph s
SERIES TITLES
Receptors: Models for Binding, Trafficking, and Signalling
D. Lauffenburger and f. Lindennan
Process Dynamics, Modeling, and Control B. Ogunnaike and W. H. Ray
process
dynamics,
modeling,
and control
BABATUNDE A. OGUNNAIKE
E. I. DuPont de Nemours,
Experimental Station,
and
Adjunct Professor,
Department of Chemical Engineering
University of Delaware
W. HARMON RAY
Department of Chemical Engineering
University of Wisconsin
1 3 5 7 9 8 6 4 2
Printed in the United States of America
on add-fre e paper
To Anna and "the boys" (Damini and Deji),
... Agbaja owo ni n'gberu d'ori;
and
part I
INTRODUCTION
2.1 Introduction 35
2.2 Historical Overview 36
2.3 Basic Digital Computer Architecture 38
2.4 Data Acquisition and Control 46
2.5 Some Examples 56
2.6 Summary 61
vii
viii
CONTEN TS
par tll
PROCE SS DYNAMICS
partlll
PROCESS MODELING AND IDENTIFICATION
part IV
PROCESS CONTROL
Chapter 17. Controller Design for Processes with Difficult Dynamics 599
partV
Chapter 30. Process Control System Synthesis- Some Case Studies 1097
part VI
APPENDICES
Over the last two decades there has been a dramatic change in the chemical
process industries. Industrial processes are now highly integrated with respect
to energy and material flows, constrained ever more tightly by high quality
product specifications, and subject to increasingly strict safety and
environmental emission regulations. These more stringent operating conditions
often place new constraints on the operating flexibility of the process. All of
these factors produce large economic incentives for reliable, high performance
control systems in modem industrial plants.
Fortunately, these more challenging process control problems arise just at
the time when inexpensive real time digital computers are available for
implementing more sophisticated control strategies. Most new plants in the
chemical, petroleum, paper, steel, and related industries are designed and built
with a network of mini- and microcomputers in place to carry out data
acquisition and process control. These usually take the form of commercially
available distributed control systems. Thus digital computer data acquisition,
process monitoring, and process control ·are the rule in process control practice in
industry today.
Because of these significant changes in the nature of process control
technology, the undergraduate chemical engineer requires an up-to-date
textbook which provides a modem view of process control engineering in the
context of this current technology. This book is directed toward this need and is
designed to be used in the first undergraduate courses in process dynamics and
control. Although the most important material can be covered in one semester,
the scope of material is appropriate for a two-semester course sequence as welL
Most of the examples are taken from the chemical process industry; however,
the text would also be suitable for such courses taught in mechanical, nuclear,
industrial, and metallurgical engineering departments. Bearing in mind the
limited mathematical background of many undergraduate engineers, all of the
necessary mathematical tools are reviewed in the text itself. Furthermore, the
material is organized so that modem concepts are presented to the student but
the details of the most advanced material are left to later chapters. In this
xviii PREFACE
way, those prefering a lighter treatment of the subject may easily select
coherent, self-consistent material, while those wishing to present a deeper,
more comprehensive coverage, may go further into each topic. By providing
this structure, we hope to provide a text which is easy to use by the occasional
teacher of process control courses as well as a book which is considered
respectable by the professor whose research specialty is process control.
The text material has been developed, refined, and classroom tested by the
authors over many years at the University of Wisconsin and more recently at
the University of Delaware. As part of the course at Wisconsin, a laboratory
has been developed to allow the students hands-on experience with
measurement instruments, real-time computers, and experimental process
dynamics and control problems. The text is designed to provide the theoretical
background for courses having such a laboratory. Most of the experiments in the
Wisconsin laboratory appear as examples somewhere in the book. Review
questions and extensive problems (drawn from many areas of application) are
provided throughout the book so that students may test their comprehension of
the material.
The book is organized into six parts. In Part I (Chapters 1-2), introductory
material giving perspective and motivation is provided. It begins with a
discussion of the importance of process control in the process industries, with
simple examples to illustrate the basic concepts. The principal elements of a
modem process control scheme are discussed and illustrated with practical
process examples. Next, a rudimentary description of control system hardware
is provided so that the reader -can visualize how control schemes are
implemented. This begins with a discussion of basic measurement and computer
data acquisition methodology. Then the fundamentals of digital computers and
interfacing technology are presented in order to introduce the basic concepts to
the reader. Finally, control actuators such as pumps, valves, heaters, etc. are
discussed. The purpose of the chapter is to provide some practical perspective,
before beginning the more theoretical material which follows.
Part II (Chapters 3-11) analyzes and characterizes the various types of
dynamic behavior expected from a process and begins by providing an
introduction to the basic mathematical and analysis tools necessary for the
engineering material to be studied. This is followed by a discussion of various
representations and approaches in the formulation of dynamic models. The
emphasis is on learning how to select the model formulation most appropriate
for the problem at hand. The essential features of state-space, transform-
domain, frequency-response, and impulse-response models are presented and
compared. Then comes a discussion of the fundamental dynamic response of
various model types. Processes with time delays, inverse response, and
nonlinearities are among the classes considered in some detail. The
fundamentals of process stability analysis are then introduced and applied to
the models under discussion.
Methods for constructing process models and determining parameters for the
model from experimental data are discussed in Part Ill (Chapters 12-13). Both
theoretical and empirical models are discussed and contrasted. Complementing
the usual material on step, pulse, or frequency response identification methods,
is a treatment of parameter estimation for models represented by difference and
differential equations. Sufficient examples are provided to allow the student
to see how each method works in practice.
PREFACE xix
Adebeknn, Doug Cameron, Yuris Fuentes, Mike Graham, Santosh Gupta, and Jon
Olson who taught from the manuscrip t and provided many helpful suggestions.
Also we are grateful to Dave Smith who read the manuscri pt and provided
detailed comment s, to Rafi Sela who provided help with examples , and to
l-Lung Chien who contrihnh• cl tn {h,.rt."'" ?7 W~ a~ indc"btcd tc Jcc Mill.-::r, Jill•
Trainham, and Dave Smith of Dupont Central Science and Engineering for their
support of this project. Our thanks to Sally Ross and others at the U.W. Center
for Mathema tical Sciences for their hospitalit y during several years of the
writing. The preparati on of the camera-re ady copy for such a large book
required an enormous amount of work. We are grateful to Andrea Baske,
Heather Flemming, Jerry Holbus, Judy Lewison, Bill Paplham, Stephanie
Schneider, Jane Smith, and Aimee Vandehey for their contributions along the
way. Special thanks to Hana Holbus, who gave her artistic talents to the
figures and provided the diligence and skill required to put the manuscri pt in
final form. Thanks also to David Anderson who did the copy editing. The book
could not have been completed without the patience, support, and forbearance
of our wives, Anna and Nell; to them we promise more time. Finally, the
authors credit the atmosphere created by their colleagues at the University of
Wisconsin and at the Dupont Company for making this book possible.
I
~
CHAPTER l.
CHAPTER2.
Introductory Concepts of Process Control
1
INTRODUCTORY CONCEPTS
OF PROCESS CONTROL
4'$.$~!r!.f..!EE...E~o~sing
unit, _or combinations of processi~g ~nits, used for the
converstofiroj raw matenals (through any combznahon of chemical,
physical, mechanical, or thermal changes) into finished products, is a
chemical process.
m-."tD.t:r~,Q·KR~u q~~t.t~... ,~;..:·::;~-:.;,·.;:~:;;·, , . r- -~
A concrete example of these somewhat abstract ideas is the crude · ·tif ......,
fractionation section of a typical oil refinery illustrated in Figure 1.2. Here,
the raw material (in this case,cf'Jde"':,iif"is numped from the "tank farms,"
~•l¥_rA<~ ""'Jo»f. ...,.,. ll>lt.o
through the gas-fired preneater turnace, into the fractionator, where
f-a•n•$ "lflrlv,.H.
separation into such useful vroducts as· napthas, right gas oil, heavy gas oil,
ttcrQTb~~"~"" nic,.c e'l~ft4...,_. r,~fC);,jl
and high boiling resid1:1e takes place.
re 'Z.! tlr~
5
6 INTRODUCTIO N
Energy
Let us now compare this actual process with the abstract representatio n in
Figure 1.1:
storage_ tan~ks
• The processing units are theeooT"Beral.,p:k4~ the .furnace, and the
&:.""' ~~
fractionator, along with their ref,:ll~ctive a,p .:ar..Y
equipment.
• The raw material is basically the crude oil; fte air and fuel gas fed into
the furnace provide the energy input realized via firing in the furnace.
In addition there are often other sources of energy input to the
fractionator.
• The condensation of lighter material at the top of the fractionator,
effected by the cooling unit, constitutes enerK¥.J!,I!lJ?Ut.
• The (finished) products are the naptha and r~i?~ streams from the top
and bottom, respectively, and the gas oil streams from the mid-sections.
'c;;Aitoltt()H,Hw'i
2. Specified production rates must be maintained.
The amount of product output required of a plant at any point in time is
usually dictated by market requirements . Thus, production rate
specifications must be met and maintained, as much as possible.
For the process shown in Figure 1.2, some operating constraints mandated by
safety would be that the furnace tubes should not~~~ their metallurgical
temperature limit and the fractionation unit should not exceed its pressure
rating.
CHAP 1 INTRODUCTORY CONCEPTS OF PROCESS CONTROL 7
is the job of the control system. To achieve good designs for these control
~~ 'or..tfMT:'-
systems one must embarl< on llie study of a new field, defined as follows:
'"' b·· k
Residue
Naptha
0
Cumulative Percent Boiled Off
Figure 1.3. Crude oil boiling point curve illustrating the product distribution of a light
crude oil and a heavy crude oil.
CRUDE OIL
--,----'---'<------>.
F,Ti
The heat content of the heating fuel, as well as the fuel supply pressure,
are also known to vary because of disturbances in the fuel gas coming from a
different processing unit in the refinery complex.
The furnace control problem may be summarized as follows:
".l .. t"'t•Cfl.O.;.
Deliver crude oil feed to the fractionator at a constant temperature T*,
and flowrate F0 , regardless of all the factors potentially capable of
causing the furnace outlet temperature T to deviate from this desired
value, making sure that the temperature of the tube surfaces within the
furnace does not, at any time, exceed the value Tm·
Observe the presence of the three objectives related to safety, product quality,
and production rate, namely: furnace temperature limit T m' the required target
temperature T*, for the furnace "product", and the crude oil throughput F0 ,
,..,g,, "'1.........,1
respective y.
Pot<~€~
1.2.2 Evolvmg
1'1:)\11
Effective Solutions
~J-.t~o~"f'\.o.Q. 8r<\~(.Tt.(.l.'..4,tt:;_:
The various phases in the e~9l~ti!;ln of an acceptable solution to typical
industrial control problems are illusi;ated by the following dialogue between a
plant engineer (PE), charged with the responsibility of smooth operation of the
plant (in this case, the furnace), and the control engineer (CE), who is
responsible for assisting in providing solutions to control-related process
operation problems.
Phase 1
by the crude oil type, and desired refinery throughput; it therefore changes every
2-3 days.
Also, we have an upper limit constraint (Tm> on how high the furnace tube
temperatures can get
CE: So, of your two process outputs, Fo- and T, the former is set externally by the
fractionator, while the latter is the one you are concerned about controlling?
PE: Yes.
CE: Your control objective is therefore to regulate the process output T as well as deal
with the servo problem of set-point changes every 2-3 days?
PE: Yes.
CE: Of your input variables which ones do you really pave control over?
PE: Only the air flowrate, and the fuel flowrate; and even then, we usually preset the
air flowrate and change only the fuel flowrate when necessary. Our main control
variable is the air-to-fuel ratio.
CE: The other input variables, the crude oil feed rate F, and inlet temperature T;, are
therefore disturbances?
PE: Yes.
CE: Any other process variables of importance that I should know of?
PE: Yes, the fuel supply pressure Pp and the fuel's heat content A.F; they vary
significantly, and we don't have any control over these variations. They are also
disturbances.
CE: What sort of instrumentation do you have for data acquisition and control action
implementation?
PE: We have thermocouples for measuring the temperatures T and T;; flow meters for
measuring F, QF; and a control valve on the fuel line. We have an optical
pyrometer installed for monitoring the furnace tube temperature. An alarm is
tripped if the temperature gets within a few degrees of the upper limit constraint.
Phase2
T*
Temp.
·.
No Control
Time
Phase 3
PE: The performance of the feedback system [see Figure 1.6(b)], even though better than
with manual control, is still not acceptable; too much low-tempe rature feed is sent
to the fractionator during the first few hours following each throughput increase.
CE: (After a little thought) What is needed is a means by which we can change fuel
flow the instant we detect a change in the feed flowrate. Try this feedforwarrl
control strategy by itself first (Figure 1.7); augment this with feedback only if you
find it necessary (Figure 1.8(a)).
Phase4
PE: With the feedforward strategy by itself, there was the definite advantage of
quickly compensating for the effect of the disturbance, at least initially. The main
problem was the nonavailability of the furnace outlet temperature measurement to
the controller, with the result that we had offsets. Since we can't afford the
persistent offset, we had to activate the feedback system. As expected the addition
of feedback rectified this problem (Figure 1.8(b)).
PE: We have one major problem left the furnace outlet temperatur e still fluctuates,
sometimes rather unacceptab ly, whenever we observe variations in the fuel
delivery pressure. In addition, we are pretty sure that the variations in the fuel's
heat content contributes to these fluctuations, but we have no easy way of
quantitatively monitoring these heat content variations. At this point, however,
they don't seem to be as significant as supply pressure variations.
CE: Let's focus on the problem caused by the variations in fuel supply pressure. It is
easy to see why this should be a problem. The controller can only adjust the valve
on the fuel line; and even though we expect that specific valve positions should
correspond to specific fuel flowrates, this will be so only if the delivery pressure
is constant. Any fluctuations in delivery pressure means that the controller will
not get the fuel flowrate it asks for.
We must install an additional loop to ensure that the temperatur e controller gets
the actual flowrate change it demands; a mere change in valve position will not
ensure this.
We will install a flow controller in between the temperatur e controller and the
control valve on the fuel line. The task of this inner loop controller will be to
ensure that the fuel flowrate demanded by the temperatur e controller is actually
delivered to the furnace regardless of supply pressure variations. The addition of
this cascade control system should work well. (See Figure 1.9 for the final control
system and its performance.)
No Control
Time
(a) (b)
T
Flow
Measurement
Feedforward
Controller No Control
Time
(a) (b)
T* ••••• •••
·...... ...
No Control
Time
(a) (b)
T" •••••
··.....
········....
No Control
Time
(a) (b)
Input variables are tlwse thnt independently stimulate the system and
can thereby induce change in the internal conditions of the process.
Output variables are those by which one obtains information about the
internal state of the process .
....oifD3..q~tW ,CDoT,c•lcr~t:tsr<J
It is !1J?£WPriate, at this point, to introduce what is called a state variable
and di~fm~1sh it from an output variable. State variables are generally
01f1S.t.4 WlJ
recogruzea s:
The state variables are therefore the true indicators of the internal state of the
process system. The actual manifestation of these internal states by
measurement is what yields an output. Thus the output variable is, in actual
fact, some measurement either of a single state variable or a combination of
state variables.
On a second level, it is possible to further classify input variables as
follows:
Finally, we must note that some process variables (output as well as input
variables) are directly available for measurement while some are not. Those
process variables whose values are made available by direct on-line
measurement are classified as measured variables; the others are called
unmeasured variables (see Figure 1.10.)
Although output variables are defined as measurements, it is possible that
some outputs are not measured on-line (no instrument is installed on the process)
but require infrequent samples to be taken to the laboratory for analysis. Thus
for control system design these are usually considered unmeasured outputs in the
sense that the measurements are not available frequently enough for control
purposes.
14 INTRODUCTION
INPUT
Disturbances
Measured Unmeasured
Measured
INPUT
Manipulated ==~:>1 CHEMICAL
PROCESS
Variables
Consider the stirred heating tank process shown in Figure 1.11 below, in which it is
required to regulate the temperature of the liquid in the tank (as measured by a
thermocouple) in the face of fluctuations in inlet temperature T;. The flowrates in and
out are constant and equaL
F,T1
F,T
Q:Steam
Flowrate ! Condensate
Referring back to the description of the process given earlier in Section 1.2, it is clear
I that T, the outlet temperature, is om.putput variable. Next, we note that the value of
this variable is affected by a ~~'!~I o-ther variables that must be carefully considered
in order to classify them prgperly.- '"" ""'-~te>. ."1>--«u.•w.n
I Of all the variables that can affect the value ofT, only Q,'\' the air flowrate, and
Qp, the fuel flowrate, can be manipulated,!t wiLl; they are therefore the manipulated
(or control) variables. ""H,......,.,oca.-1"'~·~'
The other variables, F (the inlet feedrate), T; (the inlet temperature), Pp (the fuel
supply pressure), and Ap (the fuel's heat content), all vary in a manner that we cannot
control; hence they are all disturbance variables.
This process, therefore, has one output variable, two manipulated input (i.e., control)
variables, and four disturbance variables.
One final point of interest. As we shall see later on in Chapter 4, wh~JY~ A... ll-• _ r"o -.
take up the issue of mathematical descriptions of process systems, it is t!ti}'Iy '~ ' o ,;--'·''''
common to represent the process variables as follows: -fo-._,J;
,...~,~
The hardware elements required for the realization of the control system's lI
tasks of !.!1f:es.~;,~pent, decision making, and corrective action impleme_l!fa~""
typically f~ll into the following categories: sensors, controllers, transmffters: l'l?;i-«2~ 1
and final control elements. I
--~ '"'-:;-, ..... , [.c.
Sensors
.... ~~prt~1-!t,~c.1~2nlh ·
The first task, that of a,s~~!ng information about the status of the process
output variables, is carriea" out by sensors (also called measuring devices or
primary elements). In most process control applications, the sensors are usually
needed for pressure, temperature, liquid level, flow, and composition
measurements. Typical examples are: thermocouples (for temperature
measurements), differential pressure cells (for liquid level measurements),
gas/liquid chromatographs (for composition measurements), etc.
Controllers
I
The decision maker, and hence the "heart" of the control system, is the
controller; it is the hardware element with "built-in" capacity for performing
I
the only task requiring some form of "intelligence."
The controller hardware may be pnei;£matic in nature (in which case it
operates on air signals), or it may be electronic (in which case, it operates on
electrical signals). Electronic controllers are more common in more modem
I
industrial process control applications.
The PAr~WilJic and electronic controllers are limited to fairly simple
operations "Which we shall have cause to discuss more fully later. When more
complex control operations are required, the digital computer is usually used as
a controller. ·
Transmitters
How process information acquired by the sensor gets to the controller, and the
controller decision gets back to the process, is the responsibility of devices
known as transmitters. Measurement and control signals may be transmitted as
air pressure signals, or as electrical signals. Pneumatic transmitters are
required for the former, and electrical ones for the latter.
control valves (usually pneumatic, i.e., they are air-driven), and they occur in
various shapes, sizes, and have several modes of specific operation. Some
other examples of final control elements include: variable speed fans, pumps,
and compressors; conveyors; and relay switches.
Feedback Control
The control system illustrated in Figure 1.12 operates by feeding process output
information back to the controller. Decisions based on such "fed back"
information is then implemented on the process. This is known as a feedback
control structure, and it is one of the simplest, and by far the ·most common,
control structures employed in chemical process control. It was introduced for
the furnace example in Figure 1.6(a).
DISTURBANCE
INPUT OUTPUT
PROCESS '(
I Sensor
Final ControV I
Element 1 !--Transmitter
I
Transmitter --1 DECISIONj..<
L--- - 1 coNTROLLERI
Jl 1""1
I
~ INFORMATION
~~~OLLERIJ-;--
DECISION ,_.Transmitter
t DISTURBANCE
__.Sensor
Feedforward Control
In Figure 1.13 we have a situation in which it is information about an incoming
disturbance that gets directly communicated to the controller instead of actual
system output information. With this configuration, the controller decision is
taken before the process is affected by the incoming disturbance. This is the
Jeedforward control structure (compare with Figure 1.12) since the controller
decision is based on information that is_j~in~'.~d fo~~rd.". As w~ shall s~e
later, feedforward control has proved m~ens~ m dealing w1th certam
process control problems.
The main feature of the feedforward configuration is the choice of
measuring the disturbance variable rather than the output variable that we
desire to regulate. The potential advantage of this strategy has alre~~J>eeJ}.l; ,
noted. Further reflection on this strategy will, however, also··· W,:~fiE a <Dl41",
potential drawback: the controller has no information about the co"~ditions
existing at the process output, the actual process variable we are concerned
about regulating. oif<d/'J"JIC'f6<Ib
Thus the controller detects the entrance of disturbances and before the
process is upset a\te)rtp¥s"'ft;l compensate for their effects SOip.ehow,.,(typi_s;~~.Y
based on an imJ2erfect process model); however, the controller is u'lliffi'relo
determine the'ac~~cy of this compensation, since this strategy qoes not ca%,.
for a measurement of the process output. This is often a JSi~il~t '"c~.~,,,
>« ffl.loR". '""""'l<<£4<U€;~ttz, t<ty~!cl't<>. • -
msad\'SIIltage as was' noted m Section 1.2.
r·"·· ~• ,dj")
Open-Loop Control
When, as shown in Figure 1.14, the controller decision is not based upon any
measurement information gathered from any part of the process, but upon some
. l~fe.HI\"
sort of mt~ma11y generated strategy, we have an open-loop control structure.
This is because the controller makes decisions without the advantage of
CHAP 1 INTRODUCTORY CONCEPTS OF PROCESS CONTROL 19
INPUT OUTPUT
Final Control/
Element
1DECISION
Transmitter_..,..,
(coNTRO~LERIJ
Figure 1.14. The open loop control configuration.
information that "closes the loop" between the output and input variables of
the process, as is the case with t;he feedback control configuration (see Figure
1.12.) This otherwis"Et.!Vihlf
ccr-HJ6;tJq"b 1\.o~"'
io'opis
"open." However, this does not necessarily
constitute a hanmcap.
-Perhaps the-I:tdst common example of an open-loop control system can be
found in the simple tiqting device used for some traffic lights. Regardless of the
volume of traffic, the timer is set such that the period of time for which the
light remains green, yellow, or red is predetermined.
We shall study these and other control system structures in greater detail
later.
I
of the process control system, be it manual or automatic. However, output
vana• bles "\aey_1ate
K ""!fJ\JO<Jlfr
om th err
. set-pomts:
•
~··.V1111it
Time_. .
(b)
Figure 1.15. Possible process response s under (a) servo; (b) regulato ry control.
2.
3.
Can the problem be solved only by control, or is there another
alternative (such as redesig ning part of the process)?
problem posed by the process system. The usual altematives are: Feedback,
Feedforward, Open Loop, and others which we shall discuss later.
The Process
The process under consideration is the simple cylindrical liquid receiver shown
in Figure 1.16. Liquid flows in at the rate Fi and is permitted to flow out at a
possibly different flowrate F. The tank's cross-sectional area is considered
uniform, with a constant value Ac. Control valves are available at both the
inlet and outlet pipes; a differential pressure level measuring device is
available for providing liquid level measurements; flow measurement
devices are available for monitoring both inflow and outflow.
INTRO DUCT ION
22
F. (m 3 /s) Cross section al area Ac (m2 )
~ /
Y---------------~
F (m 3 /s)
Rema rks
very straig htforw ard
1. Note that even for such a simpl e process, with a
the system in a numb er _of
contro l proble m, it is possib le to configure
differ ent ways.
rise to differ ent contro l
2. The differ ent config uratio ns will obvio usly give
systems whose perfor mance s we shall now procee d to demon strate.
Configuration 1
in Figure 1.17 where the
The first config uratio n we will consid er is as shown
regula te the liquid level, using a feedback strate gy. The
outflo w is used to
main features of this config uratio n are as follows:
1. Process Variables
(1.2)
CHAP 1 INTRODUCTORY CONCEPTS OF PROCESS CONTROL 23
( 1.3)
For reasons that will become clearer later, we now find it convenient to define
the follo~ing deviation variables:
y = (h- h,)
d = (F;-Fis)
u = (F-F.)
(1.4)
3. Process Behavior
Let us consider how this system will respond to the situation in which the
inflowrate F; suddenly increases from its steady-state value ofF;, to (F;, + ,;).
Keep in mind that with this configuration, the variable F i is now a
disturbance.
The simplest feedback control law, and perhaps the most intuitive, is that
which requires the automatic level controller to change the outflow
proportionately to the observed deviation of h from h,. Mathematically, this
translates to:
F = F, + K (h- h)
or, in terms of the deviation variables introduced above:
u = Ky (15)
1.0
0.5
Time
Let us note here that with the above control law, an increase in the value of
h over its steady-state value h5 provokes an increase in outflow F, an acti~n
that brings down the liquid level. Observe, therefore, that this controller
appears to make sensible control decisions.
We shall now investigate the actual overall system response to the
disturbance d = ~' for various values of the controller parameter K, by
substituting Eq. (1.5) for u in Eq. (1.4), and solving the resulting equation:
(1.6)
(1.7)
(1.8)
(1.9)
Configuration 2
(1.1) gives
Substitu ting this into the mathem atical model for the process , Eq.
the interest ing result:
(1.11)
measur ed
The implica tion of this result is that, so long as the inflow can be
can be regulate d also with sufficient
with sufficient accuracy, and the outflow
strategy will keep the liquid level constan t at all times; i.e., we
accuracy, this
particul ar scheme is incapab le
have perfect regulato ry control. Howeve r, this
t for liquid level (i.e., of servo control) . Practica l issues
of changin g the setpoin
d constitu te
such as how accurately inflow can be measure d and outflow regulate
probabl y make this scheme unsuitab le.
importa nt limitatio ns here and would
Configuration 3
1.20, where
A third possibil ity for configu ring this system is shown in Figure
to flow out by gravity, at a rate determi ned jointly by the
the liquid is allowed
stem position
hydrost atic pressur e and the valve resistance. The outlet valve
this time -
is fixed and does not vary with time. The inflow - not the outflow
is used to regulate the level, employ ing a feedbac k strategy .
theme
Observe now that where Configu ration 2 is a mere variatio n on the
ration 1, this new configu ration is totally differen t in philoso phy.
of Configu
, and compar ing with those of
Let us confirm this by examini ng its main features
Configu ration 1.
1. Process Variables
Input variable : F; (now the control variable and the only input)
2. Mathematical Model
If we assume, for now, that the outflow from the tank is directly proportional
to the liquid level (strictly speaking, this is not always true), and that the
constant of proportionality is the valve resistance c, then one can easily show,
once more, that a material balance around the system yields the following
mathematical model:
(l.l3)
(l.l4)
A comparison of this equation with Eq. (1.4) shows that we are now dealing
with an entirely different system configuration.
1. Nonlinearities
The process model equations we have dealt with have been linear, and thus
easy to analyze. This is not always the case. A case in point is the model in Eq.
(1.13) for the system in Figure 1.20. In reality, outflow is often proportional to
the square root of liquid level, implying that a more realistic model will be:
(1.15)
2. Modeling Errors
It is the rare chemical process that is as simple as the example just dealt with;
the variables involved are usually more numerous, and their interrelationships
more complicated. It is in fact not unusual to have to deal with an integration
of several such processes. Nevertheless, the knowledge gained from
investigating such simple processes can be gainfully applied to the more
complicated versions, sometimes with only minimal, quite often obvious,
additional considerations, and sometimes with considerable modifications that
may not be immediately obvious.
CHAP 1 INTRODUCTORY CONCEPTS OF PROCESS CONTROL 29
Cold
stream
How are we sure that the hot stream will not be more effective as a
control variable for regulating the level?
Even after we have resolved the nontrivial issue of which control variable to
pair with which output variable, we are faced with a second important
consideration:
The answer, of course, is in the negative; the level controller will always
interfere with the liquid temperature, and hence with the temperature
controller. The converse is also true; the temperature controller will affect the
liquid level and hence interfere with the level controller. This situation of
INTROD UCTION
30
known as
mutual interfer ence from otherwi se independent controll ers is
is a key element in the analysis of the behavio r of processes
interaction and
having multiple input and multiple output variable s.
Figure
To transfer the knowle dge gained from investigating the system in
the two
1.20 to the one in Figure 1.21 requires due conside ration of, at least,
issues raised above.
This last exampl e should motivate our study of the more advance
d control
strategies discuss ed in Part NB and Part NC.
A historical perspective of what the theory and practice of Process Dynamics and Control
used to be in the past may be found in several classic texts. A few of these are:
1. Eckman, D.P., Principles of Industrial Process Control, J.Wiley, New York (1948)
2. Truxel, J. G., Automatic Feedback Control System Synthesis, McGraw-Hill, New York
(1955)
3. Ceaglske, N.H., Automatic Process Control for Chemical Engineers, J. Wiley, New York
(1956)
4. Eckman, D.P., Automatic Process Control, J. Wiley, New York (1958)
5. DelToro, V. and S.R. Parker, Principles of Control Systems Engineering, McGraw-
Hill, New York (1960)
6. Williams, T. J., Systems Engineering for the Process Industries, McGraw-Hill, New
York (1961)
The industrial perspective of process control is presented in greater detail, complete with
practical considerations based on actual experience in the following references:
The more theoretical foundations of modem control techniques may be found in several
textbooks and research monographs. Two of the more easily accessible ones are:
10. Brogan, W. L., Modern Control Theory, Quantum Publishers, New York (1974)
11. Ray, W. H., Advanced Process Control, Butterworth&, Boston (1989) (paperback
reprint of original 1981 book)
In each first chapter of the following books, one will find introductory examples that may
be of interest in the way they are use<\ to provide a preview of the design, analysis, and
implementation of control systems. Reference 14, in particular, contains an interesting
catalog of examples of control systems that occur in nature.
12. Coughanowr, D. R. and L. B. Koppel, Process Systems Analysis and Control, McGraw-
Hill, New York (1965) (2nd ed., D. R. Coughanowr, McGraw-Hill, New York (1991))
13. Luyben, W. L., Process Modeling, Simulation, and Control for Chemical Engineers (2nd
ed.), McGraw-Hill, New York (1991)
14. Weber, T. W., An Introduction to Process Dynamics and Control, Wiley-Interscience.
New York (1973)
REVIEW QUESTIONS
1. What are the three broad objectives on which the basic guiding principles of process
operation are based?
2. Based on the guiding principles in operating a chemical process (Section 1.1), can you
guess why pneumatic controllers, actuators, and transmitters can be found in many
plants?
3. What are the main concerns of Process Dynamics and Control as a subject matter within
the chemical engineering discipline?
32 INTRODU CTION
4.
5.
6.
What is the difference between the input and the output variables of a chemical
process?
11. What differentiates a feedback control system configurat ion from the feedforwa
rd
configurat ion?
13. Differentiate between a servo control problem and a regulatory control problem. Can
you guess which will be more common in a plant in which the processes operate
predomina ntly in the neighborhood of steady-state conditions for long periods of time?
PROBLEMS
1.1 The process shown in Figure Pl.l is a distillation column used to separate a binary
mixture of methanol and water. It is desired to regulate the composition of methanol
in both ovemead and bottoms product streams: XD and XB respectively.
Let us assume that the reflux flowrate L can be varied, but both overhead and
bottoms product flowrates, respectively, D and B, are determined by the steady-stat e
Cooling
Water
Feed
F,T
Q
~~~~y----c~;su:mnus~p~
pressureP
(Pl.2)
(P1.3)
Show that in this case the liquid level in the tank
does not remai n consta nt but in
o
fact decreases linearly with time for > 0.
CHAIPTIEJR
2
INTRODUCTION TO CONTROL
SYSTEM IMPLEMENTATION
In the rest of this book, we will be occupied primarily with just two issues: how
to characterize the dynamic behavior of chemical processes quantitatively (in
Parts II and ill), and how to use such knowledge to design effective control
systems (in Parts IV and V). But before beginning this detailed study of
chemical process characterization and controller design, it will be
advantageous to become acquainted with the essential aspects of control system
implementation: i.e., how process information actually flows from the process
to the controller and back, and how the computations required of the controller
are actually carried out. Since entire books have been written on these control
system implementation issues, the intention is to provide only a brief
introductory overview in this chapter.t While the material covered here is
important in providing a well-rounded perspective for the reader, certain
aspects are not crucial to the discussion that follows in the rest of the book; thus
it is possible, if desired, to bypass such material for the moment and return to it
later.
2.1 INTRODUCTION
In Chapter 1 we identified the process control system as that part of the
overall chemical process that is charged with the responsibility of monitoring
the outputs, making decisions about how best to manipulate the inputs, and
implementing these decisions on the process. Figure 2.1 shows a simplified
structure of a process incorporating such a control system. The process variables
are measured and "conditioned," and the data transmitted to the controller;
this measurement information is then incorporated into the controller's
algorithm and desired control actions are computed; the computed control
actions are then transmitted to the process via local actuators (such as valves
and heaters) which cause changes in the manipulated variables of the process.
t Part of the discussion in this chapter has been adapted and updated from Ray [4].
35
36 INTRODUCTION
Control system goals
Data
t Control
output
~ input CONTROLLER interface
interface signal
conditioning
Data Control
transmission variable
line transmission
line
Measurement Local
transducers PROCESS
actuators
- and
signal
TOBE
CONTROLLED and
conditioning controllers
3. Digital Implemen tation: The need to preserve signal integrity in the face
of interference, in conjunction with the need for a more versatile computati onal
device, led to the developm ent of modem digital implemen tation strategies.
The transmiss ion medium is still electrical, but the signals are transmitte d as
binary numbers. Such digital signals are far less sensitive to noise. Also, the
computat ion device is the digital computer , more flexible because it is
programm able (it carries out computat ions on the basis of a sequence of
instructio ns that can be easily altered as needed), and more versatile because
there is virtually no limitation to the complexit y of the computat ions it can
carry out. In addition, with digital implemen tation, it is possible to carry out
computati on with a single computin g device, or with a network of such devices.
38 INTRODUCTION
Let us now discuss the function of each of the elements of the computer:
1. Central processing unit (CPU)- This is the heart of the computer and
has overall control of the system. The computer uses the binary digits (0
or 1) as the basic computational and communication code. This is
accomplishe"d electronically by manipulating and transmitting square
pulses that need be interpreted only as a 0 or a 1. The resolution of a
machine is dependent on the number of binary digits (abbreviated bits)
CHAP 2 INTRO DUCTI ON TO CONTROL SYSTE M IMPLE
MENTA TION 39
Video
Display
• Main CPU
• Expansion memory
• Floating-point
coprocessor
Boards
• Video display controller
• Hard disk controller
• Floppy disk controller
• Real-time clock
• Analog/digital inputs
• Digital/analog outputs
• Digital I/0
• Specialized instrum ent
Figure 2.2. Elements of a digital computer.
2. Memory - The memory devices associated with computers today are very
fast and very cheap when compared to those even 10 years ago; thus even the
most inexpensive PC comes equipped with 4 million bytes (megabytes) or
more of SO_ns cycle time memory at a cost of $50 per megabyte. A decade ago,
10 times less memory with 10 times less speed would have had a factor 10
higher price. Memory is of two basic types; the first, dynamic randvm access
memory (DRAM), is used for working storage during computations arid loses
stored information in a power failure; thus battery power backup is often
available. The second type is a special purpose memory, read-only memory
(ROM), used to store permanently basic instructions for starting up the
machine, input/ou tput commands, etc., or for crucial, frequently used data
files. ROM devices require special programming hardwar e in order to make
any changes in the stored information and often are WORM (write once, read
many) devices.
3. Mass storage devices -There are a number of different types of mass storage
devices available for compute rs (see Table 2.2). These are used for
inexpensive high-capacity storage with access times and transfer rates much
slower than memory. Magnetic tape is the cheapest bulk storage device, but
has the disadvantage that it has slow access time (due to the time required
to move back and forth on the tape drive to find the desired files). For
sequentially stored files, magnetic tape has reasonably fast transfer rates
and is thus suitable for backup storage of large programs, data banks, etc. A
much faster mass storage device is the rotating disk, which comes in several
types: floppy disks, magnetic hard disks, optical disks, and compact read-
CHAP 2 INTRODU CTION ro CONTRO L SYSTEM IMPLEM ENTATIO N 41
Table2.1
Bin~, Octal, Hexadecimal, and Decimal Convers ion
000000 0 0 0
000001 1 1 1
000010 2 2 2
000011 3 3 3
000000 4 4 4
000101 5 5 5
000110 6 6 6
000111 7 7 7
001000 10 8 8
001001 11 9 9
001010 12 A 10
001011 13 B 11
001100 14 c 12
001101 15 D 13
001110 16 E 14
001111 17 F 15
010000 20 10 16
011000 30 18 24
100000 40 20 32
101000 50 28 40
110000 60 30 48
111000 70 38 56
Octal-· binary conversion: For 3 bits octal =b0 + 2b1 + 4b2, where b b , b are
01 1 2
binary digits.
Dednud- octal conversion: Decimal= ag + Sa1 + 6442 + ... +snail' where a a ,
01 1
..•,an are the octal digits.
Hextldecimal- binary conversion: For 4 bits hex = b0 + 2b + 4b + 8b , where
1 2 3
b01 b1, b2, ~ are binary digits.
Decimal-hexadecimal conversion: Decimal = a0 + 1611 1 + 256a + .. + 16nan
2
where a01 a1, ••• an are hexadecimal digits
(cycle time)
Memory:
SOns 50ns 50
DRAM 4-96
Mass storage:
Magne tic hard 1
100 - 3000 1-20m s 1-5
disk
Optic al 10
200 30ms 0.6
disk 100
1-5 lOOms 0.05
Floppy disk
Magne tic 1
2000 0.1-1
tape (DAT) 1
1000 SOOms 0.1-1
CD-RO M
Table2.3
Some Communication Peripherals
This gives an expected error of± 112 the resolution, or± 0.00244 V. In this
case the relative error in conversion is approximately given by:
so that more precision is obtained if the measured voltages are close to the
full-scale voltage (10 V in this example). This can be accomplished through
signal conditioning, which will be discussed in the next section.
44 INTRODUCTION
Table2.4
Some Typical Application s of Data 1/0 Interfaces
Integer
AID 1--I-.,. - 2048 s I :S 204 7
converter
- 10 volts S V S + 10 volts
(a) Analog-to-digitel conversion (12 bits)
10 I 12610
vmea.sured = 2047 = 2047 = 6.16023 v
where for this input voltage, the relative error is:
210
V measured 2047 = 0.102 v
and now the relative error is:
+ 0.00244 = ± 2.4%
0.102
which is a significant error. Thus for this converter one should convert
voltages larger than 1 V to ensure negligible AID conversion error.
DIA converters operate as just the reverse of AID conversion. An integer
with range 2N is placed in a register and converted to an analog voltage
output. The 12-bit D I A converter shown in Figure 2.3 has a voltage output
range of- 10 V:::::; V:::::; + 10 V, corresponding to input integers ranging from
-2048:::::; I:::::;+ 2047. Thus the resolution and expected error of this Dl A
converter are the same as those of the AID converter discussed above. To
46 INTRODUC TION
which is rounded to !input = 716. This gives an actual output voltage of:
716
V output = 2047 X 10 = 3.49780 V
very close to the desired voltage. However, just as the case for A/D
converters, D/ A converters should output voltages in the upper 90% of the
range in order to minimize conversion errors. Throughpu t rates forD/ A
converters are also very high, typically on the order of a million
conversions/s.
Process control computer installations will have many channels of A/D and
D I A converters in order to allow many loops to interface with the computer
at one time.
Table2.5
(continued)
INTRODUCTIO N
II
Process variable Device Output Comments
computer can receive only voltage or digital signals, the pneumatic and current
signals must be converted to one of these acceptable inputs. In practice this
involves special transducers for pressure/voltage conversion (P /E transducer)
and current/voltage conversion (1/E transducer, which is usually just a high-
precision resistor).
In a similar way control system actuators come in several different forms.
Table 26 includes some of the most common types. Notice that in the process
industries, the most frequently seen actuators are for flow· controL This is
because heating and cooling processes often involve such factors as coolant flow-
rate adjustment, steam injection rates, or furnace fuel flowrates. Similarly,
pressure adjustments usually require controlling inflow or outflow from a vessel,
as does liquid level control. Although the digital computer outputs are limited
to digital or voltage signals, some of the control actuators require current or
pneumatic inputs. Thus special transducers are needed to provide for
voltage/pressure (E/P} and voltage/current (E/I) conversion.
Sensor signals
-lOmV
1~--------------~~
Sequentially
2o---------9
transmitted
3o---------{l Multiplexer voltages
.
N-1.~----------41.
500X
amp.
Amplified
signals
-5V
No-----------~~
Figure 2.4. Two different strategies for multiplexing and amplifying low-voltage signals.
-1~-----~ Frequency
(a) Low-pass filter
....,----,-------..~1
Thermocouple
ligna!
filLoterw-pau
Filtered
ligna!
To
<0111puter
The last part of signal conditioning involves a decision on how the signal is
to be transmitted to the computer. There are several alternatives available for
signal transmission:
1. Voltage signals- These work well over short distance cables (up to- 300
ft) where voltage losses and cable capacitance do not cause signal
deterioration.
2. Current signals -This method works well with hardwire connections over
longer distances but requires special transmitters and 1/E conversion at the
receiving end.
52 INTRODUCTION
3. Digital signals- These signals can be transmitted most easily and are the
natural choice when the original signal is digital. Even voltage signals
may be transmitted in a digital mode through A/D conversion at the
sending location and D/ A conversion at the receiving end. Digital signals
have the advantage that they are less susceptible to noise problems and
can be transmitted over extremely long distances through telephone
connections.
Computer control is usually carried out in one of two modes: supervisory control
or direct digital control (DDC). Supervisory control, illustrated in Figure
2.7(a), involves resetting the set-point of the local controller according to some
computer algorithm. Thus the computer control scheme need only supervise and
coordinate the actions of the local controllers. Direct digital control, by
contrast, requires that all the controller action be carried out by the digital
computer. Measurements are sent to the computer and compared with the set-
point; then the computed control action is transmitted to the actuator. This is
illustrated in Figure 2.7(b). For DDC the computer samples the flow
measurement at discrete instants of time and sends as control signals step
changes in the control valve stem position. The time interval At between
samples and controller changes must be chosen with care. If At is taken too
r '/---1.'-------Jf-- Set-point
,----,, from
computer
r~~ Loo&PID~~w
! lf--- (a) Supervisory control
r1 "!-----1!----11--f/----1/--{/
);
r---!1---fl--f/-- Valve setting
., Flow measurement
to computer
from computer
J_
Figure 2.7.
!f-----(b) Direct digital control
Data Data
.\Dquiaition At:quisitlon
and PROCESS
Comput er
Local Control
Compute r
2
5
D Data
0 Diaplay
At:quiaition
Computa r
0
Display
0 Display
rk based on personal
Figure 2.8. A small data acquisition and computer control netwo
oomputers.
lly be configured with local
system and have local memory. They would norma
a server. Each comp uter
disk storag e and often have shared disk storage with
displa y, and the main control comp uter
in the netwo rk could have its own video
could have multiple displa ys.
essen tial featur es of
Note that this relativ ely small netwo rk has the
uted CPU's with assign ed tasks, assignment of high-
netwo rk computing: distrib
ph. traces, etc.) to the
volum e data transfer (e.g., entire spectra, chrom atogra osition result,
data transf er (final comp
local computers with only low-volume onal loops,
uters in the netwo rk, ease of expan sion to additi
etc.) betwe en comp
etc.
Cot:nmercial Distributed Control Syste ms
and full scale-plants, ·
For larger processes such as more complex pilot plants
of contro l loops, comm ercial distrib uted control
where there can be hundr eds
many vendo rs who provi de
systems are often the netwo rk of choice. There are well - with
, Foxbo ro, and Honey
these DCS networks - the largest are Bailey
CHAP 2 INTRODUCTION TO CONTROL SYSTEM IMPLEMENTATION 55
a variety of proprietary features. However, in our discussion here we will
provide only an overview of the generic features of DCS networks and refer the
reader to the vendors themselves for a discussion of their distinguishing
attributes.
Commercial DCS networks are similar in philosophy to the simple network
described above. The difference is that they are designed, in both hardware
and software, to be flexible (i.e., easy to configure and modify) and to be able to
handle a large number of loops. Furthermore, the latest commercial networks
come with optimization and high-performance model building and control
software as options. This means that engineers who understand the process
dynamics, the process control system goals, and the theory behind modern
control systems can quickly configure the DCS network to implement high-
performance controllers. Chapter 27 provides an overview of some of the
control strategies readily available in commercial DCS networks.
The elements of a commercial DCS network are illustrated in Figure 2.9.
Connected to the process are a large number of local data acquisition and control
computers which play the same role as computers 2-5 in Figure 2.8. Each local
computer is responsible for certain process measurements and part of the local
control action. They report their measurement results and the control actions
taken to other computers via the data highway. Although Figure 2.9 shows
only one data highway, in practice there can be several levels of data
highways. Those closest to the process handle high raw data traffic to local
computers while those farther away from the process deal only with processed
data but for a wider audience. For each data highway, any computer on that
highway, in principle, could access any of the data on the highway. The data
highway then provides information to the multidisplays on various operator
control panels, sends new data and retrieves historical data from archival
storage, and serves as a data link between the main control computer and other
parts of the network. Sitting above the lower part of the DCS network is a
supervisory {or host) computer that is responsible for performing many higher
level functions. These could include optimization of the process operation over
varying time horizons {days, weeks, or months), carrying out special control
procedures such as plant startup or product grade transitions, and providing
feedback on economic performance. The data link between the host and the
main control computer is usually much smaller than those on the data highway
because the data transfers are much less frequent and are much less voluminous.
A DCS network such as shown in Figure 2.9 is very powerful because the
engineer or operator has immediate access to a large amount of current
information from the data highway and can see displays of past process
conditions by calling on archival data storage. The control engineer can readily
install new on-line measurements together with local computers for data
acquisition and then use the new data immediately in controlling all the loops
of the process. It is possible to change quickly among standard control strategies
and readjust controller parameters in software. Finally, the imaginative
control engineer can use the flexible framework to implement quickly his latest
controller design ideas on the host computer or even on the main control
computer. These are the attributes that will lead to every process of any size
having a DCS network in the future.
56 INTRODU CTION
Local
Data acquisition
and Control Local Display Loeal Display
Computers
Procesa
A simple interfacin g problem arises for a gas storage tank system which has
been used in the teaching laboratory at the University of Wisconsin.
A drawing of the interfacing scheme is shown in Figure 2.10. A bourdon tube
transduce r is used to measure the pressure in the tank. This transduce r is linear
and transforms a pressure range of 0 to 60 psig to a voltage range of 0 to 50 mV.
This low-volta ge signal is then amplified to a voltage range of 0 to 10 V before
being sent to the 12-bit A/D converter.
The digital computer must be programm ed to receive the pressure
measurem ents and calculate control signals based on some controller algorithm.
For example, a simple PID controller in discrete form would be (see Chapter 26)
CHAP 2 INTRODUCTION TO CONTROL SYSTEM IMPLEMENTATION 57
where u(tk) is the control signal at time tk, u 0 is the zero-error control signal, Kc
is the proportional controller gain, 1:1 is the integral time, and 1:0 is the
derivative time. The measured output (pressure in this case) at time tk is
denoted by y(tk), and y4 is the controller set-point. The quantity M is the
sampling/control time interval and is usually selected to be short compared
with the time constants of the process.
The control signal, which is transmitted as an analog voltage, must be
converted to a 3-15 psig air-pressure signal in order to drive the pneumatic
valve. This could be done in one step with an E/P transducer; however, to make
use of existing equipment, this conversion is done in two steps, as shown in
Figure 2.10.
· After installation, the transducers must be calibrated. For example, 0 to 60
psig corresponds to 0 to 10 V analog voltage for our system, while 0 to 10 V
analog control signal corresponds to 3 (full shut) to 15 psig (full open) for the
control valve. Because the analog signals were sent over shielded cables for
relatively short distances and were not in the vicinity of power lines or motors,
no noise suppression devices were needed in this application. Figure 2.11
illustrates the dynamic behavior of the implemented control scheme, showing
both the measured tank pressure and the computer-specified control valve
position. The control time interval/it was taken to be only a few seconds, so
that the DOC step changes in valve position appear as a continuous curve in the
plot. The actual valve stem position does not exactly follow the specified
control signal due to the dynamics of the valve itself. Nevertheless, the
control system performs well, as might be expected.
Air-to-open
control valve 3-l~psig
1-5~ 0-lOV
JIP Ell '!--If--
transducer transducer a!
===C:>I<J:=:=:;-,
Air pressure,
Control sign
from computer
60psig
PI
25%
0 150
Time{s)
control.
Figure 2.11. Dynamic behavio r of the gas storage vessel under DOC
REACTO R
n
EVAPORATOR DETAIL
Figure 2.13. More detailed DCS graphic display of evaporation section of Figure 2.12.
60 INTRODUCTION
MASS
FLOWMETER
POSITIONER
FIELD BUiS-.-j
(9600 baud, 115 uo"'~·'!-----1
ON-LINE
RHEOMETER
Sitting above the slave bus are several multitask ing CPU's called
multifunction processors (MFP's). For controllin g the process in Figure 212, only
two MFP's are required - one for the upstream part of the process (up to reactor
#2) and one for the remaining part of the process. Each of these MFP's has
limited memory and uses the same CPU as found in common personal computers.
However, by using multiple MFP's the computat ional load can be handled. In
order to ensure against computer failures, each MFP has a duplicate which is
sitting idle ready to take over in case of a computer malfuncti on. The MFP's
handle all of the local controller algorithm s and report the measurem ents and
controller actions to the controlway, which is the next level data highway.
The data from the controlwa y is sent to a Network Processing Unit (NPU)
which is a computer linking the controlwa y to the Central Communication
CHAP 2 INTRODUCTION TO CONTROL SYSTEM IMPLEMENTATION 61
Network. On this central network hang the operator's console and displays,
engineering workstations, and the host (supervisory) computer. The Central
Communication Network can be accessed by computers throughout the plant,
and by remote connections anywhere in the world. Thus the engineer at the
company headquarters on the east coast can see on his computer screen the same
displays the operators see at the plant in Texas.
To illustrate how this DCS works, consider the level control of the feed
hold tank discussed above. The level sensor @] sends the level signal to an
AID slave unit; this measurement goes on the slave bus and is picked up by MFP
#1 (which is responsible for the upstream part of the plant). MFP #1 calculates
the change in the feed solution valve position to be sent to the valve. This
value is put on the slave bus and picked up by a D I A slave IIO device which
transmits the command to the valve. Simultaneously, the MFP sends a report of
measured level and control action taken to the controlway. This report is
picked up by the NPM and transmitted to the Central Communication Network.
The data appear on the operator console graphic display unit as a new point on
a trend chart, and appear in numerical form next to the valve in the display
shown in Figure 2.13. The data are also logged by the host computer and filed
in archival data storage.
To minimize the data traffic on each of the data highway levels, there are
usually several timescales at which sensors report data and control action
taken. Thus for variables that change slowly (such as temperatures in large
processes), measurements and control action can be taken infrequently (e.g.,
every minute); for variables that change rapidly (e.g., flowrates in a transfer
line), it is necessary to use a fast sampling and control action timescale (e.g.,
1 s). A second way to minimize data traffic is to only report changes in
variables within some band of values. Thus if the last reported value of
temperature was 41.5"C and the report bounds are± O.s·c, then no changes
would be reported until the temperature fell below 41.0"C or above 42.0'C.
2.6 SUMMARY
PROBLEMS
rs:
2.1 Conve rt the following binary numbe rs to octal numbe
2.3 A Fortran program consists of 100 lines with approximately 25 characters per line.
Estimate the number of words of memory in a 16-bit machine required to store this
Fortran code.
Discuss why some of these peripherals are assigned higher priorities than others.
2.5 A computer has a 12-bit A/D converter with- 10 V to + 10 V span. Determine the
analog input voltages and relative error for the following integers corning from the
converter:
2.6 Provide the answers to Problem 2.5 for a 10-bit AID converter with a- 5 V to+ 5 V
span and for the following integers:
2.7 It is desired to output the following voltages through a 12-bit D/A converter with a
-10 V to+ 10 V span. Determine the integer that should be loaded into the D/ A in
each case. '
(a) -1 V
(b) +2.7V
(c)+8.7V
(d)-6 v
2.8 Two computers are linked over a 2400-baud telephone line. The operators of one
computer would like to transfer a Fortran program to the other computer over this
telephone link. The Fortran program in question has about 500 lines of code with
approximately 30 characters per line. Estimate how long it will take to transfer this
program. An engineer suggests connecting the two computers via a 9600-baud cable
link. How long would the program transfer take in this case?
part II
JPJROCCES§
DYNAMKCS
The main justification for a separate study of Process Dynamics as a precursor to
the study of Process Control lies in the simple fact that to succeed in forcing a
system to behave in a desired fashion, we must first understand the inherent,
dynamic behavior of the system by itself, without assistance or interference
from the controller. The task of designing effective control systems can best be
carried out if it is based on a sound understanding of inherent process dynamics.
Thus Part TI, consisting of Chapters 3-11, will be devoted to analyzing and
characterizing the various types of dynamic behavior expected from a
chemical process. The concept of employing a process model as a "surrogate" for
the actual process is central to these studies. It allows us to carry out systematic
analysis of process behavior most efficiently; it also provides the criteria for
characterizing the behavior of an otherwise limitless number of actual
processes into a relatively small number of well-defined categories.
part II
JPJROCCJES§
DYNAMKCC§
CHA PTER S. Dyna mic Beha vior of Linea r Low- Orde r Syste ms
CHA PTER 6. Dyna mic Beha vior of Linea r High er Orde r Syste ms
3
BASIC ELEMENTS
OF DYNAMIC ANALYSIS
3.1 INTRODUCTION
As defined in Chapter 1, the input variables of a process are those variables
capable of independently stimulating the process, and inducing changes in its
internal conditions. Such changes in the internal state of the process are
usually apparent from observing changes in the output variables of the process.
By how much, and in what manner, the process responds to a change in the
input variable clearly depends on the nature of this input change; it also
depends on the intrinsic nature of the process itself. For example, the insertion
of a hot piece of iron into a beaker of water will elicit a water temperature
response different in magnitude and character from the response obtained by
inserting the same piece of iron into a larger body of water such as a lake.
For any given input change, the observed process response provides
information about the intrinsic nature of the process in question. By the same
token, if the intrinsic nature of the process is known, and can be properly
characterized, then the response of the process to any input change can be
predicted.
Process Dynamics is concerned with analyzing the dynamic (i.e., time-
dependent) behavior of a process in response to various types of inputs. It is by
such studies that we are able to characterize a wide variety and limitless
number of actual processes into a relatively small number of well-defined
categories. The advantages that such process characterization provides cannot
be overstated, as will become clearer when we take on the issue of control
system design in Part IV.
To illustrate this point, consider the possible responses to a step change in
67
68 PROCESS DYNAMICS
•-i Linear
Process
~
_J
the input u(t) for a linear dynamic process. Depending on the process, the
dynamic response could take one of the forms shown in Figure 3.1. It is
important for the control system designer to understand the type of process
model which could produce such dynamic behavior. This will be one of the
goals of our study of process dynamics.
The tools required for carrying out the analysis of dynamic process behavior
will be reviewed in the next section.
Observe then that any successful dynamic analysis requires first and foremost
As will be seen later, process models are usually in the form of differential
equations: linear and nonlinear, ordinary and partial. A familiarization with
such equations, especially how they are solved, will therefore be important in
carrying out dynamic analysis.
In this regard, one of the most important tools we will use is the Laplace
transform, a technique that, among other things, converts linear, ordinary
differential equations into the relatively easier-to-handle algebraic
equations. It also converts partial differential equations into the ordinary
type. Beyond this, however, by far the most significant contribution of the
theory of Laplace transforms to dynamic analysis lies in the fact that it is
responsible for the development of the transfer function model form, which is
still the most widely used model form in process control studies.
PROCESS DYNAM ICS
70
requires the use of
When process models are nonlinear, accurate analysis.
g out a compu ter simula tion of proces s behavior. If
numerical methods in carryin ear equati ons
the nonlin
the emphasis is on simplicity rather than accuracy, linear
s behav ior deduc ed from such
may be linearized and approximate proces
approximations of the proces s model .
form of difference
Process model s used for compu ter control take the
ntial equati on counte rparts, can be solved
equations, which, like their differe on forms by
linear, or reduce d to equiva lent transfe r functi
analytically when Lapla ce
e equiv alent of the
the use of z-transforms - the discrete-tim
transform.
t variab les, i.e.,
Proce sses that have multip le input and outpu
we would expec t, by severa l
multiv ariabl e system s, are model ed, as
emplo yment of matric es in dealin g with such
differential equations. The
imes drama tically reduce s an otherw ise tediou s or intractable
equati ons somet
problem to a manageable one.
y consid ered most
We have thus identified the mathematical tools usuall
ntial (and difference)
impor tant to the study of dynam ic analysis, viz., differe
z-trans forms, and matrice s. Thus a
equations, numerical methods, Laplace and ed worki ng
specifi cally design ed to provid e the requir
discussion of these tools, on of a
er, that an inserti
understanding, appea rs desirable. We observe, howev tute a
at this point either must consti
discus sion of each of these topics y to be
tion from the main task at hand, or must be too sketch
prolonged distrac
B-D, and the reader is
useful. Such discussions can be found in Appendices
often as needed . Thus we will introd uce only
encouraged to refer to these as
rms here - and z-tran sforms in Chapt er 24 - leavin g a fuller
Laplace transfo
discussion of each of these topics for Appendix C.
are designed to accept a process model, and a definition of the desired process
input to be employed in "forcing" the response. These will then be used to
produce graphical displays of the simulated process response.
Appendix E has a description of computer-aided control system analysis
and design software suitable for this task.
The operation of {1) multiplying the function f{t) by e-51, followed by (2)
integrating the result with respect to t from 0 to oo is often compactly
represented by L(f(t)}, so that Eq. (3.1) may be written as:
Remad<s
Solution:
By definition:
-SI It=-
-
j{s) = -e- (3.4)
s '" 0
to give:
Solution:
which yields:
- e-(s+a)t It=-
.ifs) (3.7)
s +a t=O
and finally :
(3.8)
s + a
1. Not all functions f(t) possess Laplace transforms. This is because the
Laplace transform involves an indefinite integral whose value must be
guaranteed to be finite if the Laplace transform is to exist. It is, in
general, not possible to guarantee that the integral in Eq. (3.1) will be
finite for all possible functions f(t).
CHAP 3 BASIC ELEMENT S OF DYNAMIC ANALYSIS
73
2. We note, however, that all the functions of interest in our study of
Process Dynamics and Control are such that they possess Laplace
transforms.
4. The functionf( t) and its correspon ding transform J(s) are said to form a
transform pair. A most importan t property of Laplace transform s is
that transform pairs are unique. This implies that no two distinct
functions J(t) and g(t) have the same Laplace transform. The usefulness
of this property will become clearer later.
(3.9)
= -1.
21t]
f -
c
e'' fis)ds (3.10)
(3.11 )
L{ 41ijf } = s fts) -fit) I,= 0
L{ ~} = s fts)-f lO)
(3.12)
tJtffi
dt
I
t=O
=r (0)
(3.14)
we have that:
Simi larly :
In general:
CHAP 3 BASIC ELEMENTS OF DYNAMIC ANALYSIS 75
or
(3.18)
where J< 0 (0) denotes the value of the ith derivative of f(t) evaluated at t = 0.
Let us note here that, if the initial conditions on f(t) and all its derivatives
are zero, then Eq. (3.18) reduces to:
L { if'll
dt" J
= ~ J(s) (3.19)
implying that the effect of multiplying a function by e•1 is that the s variable
in its transform is shifted by a units, as indicated in Eq. (3.21).
For example, recall from Eq. (3.5) that we obtained the Laplace transform
ofj(t)=1 as 1/s. We could now use this fact and the shift property indicated
above to obtain L{e....,1} directly as being 1/(s +a) without having to carry out
the integration as was done in Eqs. (3.6)-(3.8).
The main utility of this particular shift property, however, lies in carrying
out inversions of transforms. Thus a more useful version of Eq. (3.21) is:
(3.22)
The implication is that if the transform pair [f(t), j{s)] is known, then to find
the inverse of a transform involving a shift in s by a, we merely multiply f(t) by
e•'.
An example will serve to illustrate the application of this property.
76 PROCESS DYNAMIC S
Example 3.3
find
ct{_l } s +a
Solution:
L -1 { _I- } = e-at.I
s +a
e-at (3.23)
2. Shift in Time
If L(f(t)) = f(s), then it is possible to find the Laplace transform of f(t- a), a
time-shifted version ofJ(t) (see Figure 3.2), in terms of J(s) as follows:
Provided s /(s) does not become infinite for any value of s in the right half of
the complex s-plane (see Appendix C), then the final value of f(t) is finite and
may be obtained fromf(s) as follows:
If the above stated condition s are, not satisfied, the implicatio n is that f(t) has
no limit as t - t oo .
CHAP 3 BASIC ELEMENTS OF DYNAMIC ANALYSIS 77
t
itt)
0 t--~
for the situation where 11(t) =1, and y(O) =0. Now, because of the uniqueness of
transform pairs, equality of two functions implies equality of their transforms.
Hence we can take Laplace transforms of both sides of Eq. (3.27) to obtain an
equivalent equation in the Laplace variables, i.e.:
- - K
-rs y(s) + y(s) = - (3.28)
s
since u(t) =1, and therefore U{s) =1/s (recall Eq. (3.5)).
Observe that Eq. (3.28) is now an algebraic equation that can be solved
easily for y(s). The result is:
- K (3.29)
y(s) = s(n + 1)
H we now know of a function y(t) whose transform is as given in Eq. (3.29), the
problem will be solved. _!he next step is therefore that of obtaining y(t), the
inverse transform of the y(s) function given in Eq. (3.29).
We note, firstly, that Eq. (3.29) may be rewritten in the entirely equivalent
form:
- K K-r (3.30)
y(s) = -;- (-rs + 1)
that is, the right-hand side of Eq. (3.29) has been broken into two partial
fractions. By applying the linearity property of Laplace transforms we know
that Eq. (3.30) is the Laplace transform of the sum of two functions, the first
being K, a constant. By recalling the shift property, and noting that the second
function can be expressed as:
PROCESS DYNA MICS
78
we obtai n that:
y(t) K- K e-tlr
or (3.31)
y(t) == K (I - e-tt~
ACE
Exam ple 3.4 SOLUTION OF UNE AR ODE' S BY LAPL
TRAN SFOR MS.
following conditions:
by the method of Laplace transforms given the
Solut ion:
equat ion gives:
Taking Laplace transforms of both sides of the
1
+ 6 y(s) =-;
] - -
-
[ s 2 y(s) + 5 [s y(s)- y(O)}
- sy(O )- y'(O)
rearranging, we have:
and upon introducing the initial conditions and
I
(s 2 + 5s + 6) .Y(s) = -;+(s +5)
CHAP 3 BASIC ELEMENTS OF DYNAMIC ANALYSIS 79
- I + s(s + 5)
(3.33)
y(s) = s(s 2+ 5s + 6)
(s) =
y
lli
s
+ 2JL- _2}]_
s+2 s+3
(3.34)
(3.35)
INITIAL L TRANSFORMED
PROBLEM PROBLEM
(In time domain) Laplace (In s-dlmain)
Transformation
Manipulations
ins-domain
(TypicaJ1y easier
thanma nipulations
in time do main)
·1
SOLUTION L SOLUTION
(in terms of (in terms of
t variable) Inverse Laplace s variable)
Transformation
Heaviside function):
or in terms of the unit step function, H(t) (also called the
u(t) = AH(t), (3.37a)
u(t)
0
t
0
- A
u(s) = L{u(t)} = - (3.38)
s
0; t < 0
u(t)= { A;O<t<b (3.39)
0; t > b
0 b
oo; t == 0 (3.44)
/'i..t) = {
0; elsewhere
and
J+£ li{t) dt
J -
+-
(>Q
/'i..t) dt ==
- £
= (3.45)
u(t)
Area= l
The impulse function of area A (given by Eq. (3.43)) has the Laplace
transform:
J t 0 +t
O{t- t 0 ) f(t) d t = fl.,t0 ) (3.47)
t0 - E
where O(t- t0) is the general, "shifted" delta function whose value is
zero everywhere except at the point t = t 0 • (Note that the function
defined in Eq. (3.44) is obtained by setting t 0 = 0.) This property may
be used, for example, to establish Eq. (3.46).
3. If H(t) represents the unit step function, then:
i.e., the Dirac delta function is the derivative of the unit step (or
Heaviside) function.
0; t < 0
u(t) = { At; t > 0
(3.49)
Observe that this function can be obtained by integrating the step function of
magnitude A. Alternatively a first derivative of the ramp function in Eq. (3.49)
gives a step function of magnitude A.
84 PROCESS DYNAMICS
u(t)
0 _...._ __,.
t
0
- A
u(s) = L{u(t)} =-a (3.50)
s
0; t < 0
u(t) {
(3.51)
A sinwt; t > 0
0 n/ro 2Jtlro
4. RAMP: Gradua lly open the steam valve such that Q increases
linearly.
Ramp ends when the steam valve is fully open.
F,T
Q:Steam
Flowrate • Condensate
3.5 SUMMARY
, as well as an introduction
A description of Process Dynamics and its importance
neces sary for dynam ic analysis, are the issues
to the basic elements that are
The idea of using a process
that have occupied our attention in this chapter.
such studie s was introduced. The role of
mode l and ideal forcing functions for
of the numerical and graphical
the digital comp uter in the actual carrying out
aspects of dynamic analysis was briefly discussed.
empl oyed in dyna mic
The ideal forcing functions that are typic ally
e chara cteris tics have been introduced. In later
analysis studies and their uniqu of information that
the sort
chapters we shall see how they are employed and functions.
each of these input
can be extracted from the responses forced by tools for dyna mic
al indisp ensab le math emati cal
The importance of sever most of these
ed treatm ent of
analysis has been stressed. Even thoug h a detail trans form and its
, the Lapla ce
tools was defer red until later in the book
ic mode ls were discu ssed.
usefulness in analyzing dynam
• ~entialequations
• Laplace transf orms
• Numerical methods
• z-transforms
• Matric es
ic analysis?
are each useful for what aspect s of proces s dynam
ted in this chapte r as an indisp ensab le
5. In what sense was the digita l comp uter presen
tool of dynam ic analysis?
ons not being Laplace transf ormab le;
6. What do you think is respon sible for some functi
why most of the functio ns of practi cal intere st in proces s dynam ics
and can you guess
ce transf ormab le?
and control proble ms are in fact Lapla
m in determ ining the "final value" of
7. Why is it not possible to use the final-value theore
the function j{t) given that
K
/(s) = - -
s-a
10. Outline the main application of the Laplace transform in process control.
11. Of all the ideal forcing functions discus~ed in Section 3.4, which do you think is most
easily implementable in practice?
12. If your objective is to cause the least possible upset in your process, which of the ideal
forcing functions should you employ in an experimental study?
PROBLEMS
3.1 By carrying out the indicated integration explicitly, use the definition of the Laplace
transform given in Eq. (3.1) to establish that:
(i)
3.2 Use the definition given in Eq. (3.1) to establish the linearity property given in
Eq. (3.9).
1 . .
(1) cos li.)f 2(e'"" + e-Jro')
use the linearity property of Laplace transforms given in Eq. (3.9) along with the
fact that:
(P3.l)
s +a
j(t) = tn (P3.2)
(when n is an integer) use the results on the transform of derivatives in Section 3.3.2
to establish that
f(n + 1)
sn +I
(P3.4)
PROCES S DYNAM ICS
88
step input is
3.5 Given that the Laplace transform of a certain process response to a unit
given by:
K(~s + 1) (P3.5)
y(s) =
s(-rs + 1)
Find lim y(t), for the function whose Laplace transform is given as:
3.6
,......
3(s + 2)(s- 2) (P3.6)
Figure P3.1.
0 t < 0
u(t) =
{ A(J t 0 ~ t < b (P3.7)
t 2:: b
4
THE PROCESS MODEL
89
90 PROCESS DYNAMI CS
Discrete-Time Systems
Even though the tacit assumption is that the variables of a process do not
ordinarily change in "jumps," that they normally behave as smooth continuous
functions of time (and position), there are situations in which output variables
are deliberately sampled - and control action implemented - only at discrete
points in time. The process variables now appear to change in a piecewise
constant fashion with respect to the now discretized time. Such processes are
modeled by difference equations and are referred to as discrete-time systems.
Each of these model forms and their applications will be discussed in more
detail in the sections to follow.
Because these model types are obviously interrelated, it is possible to
convert from one form to another. For Process Dynamics and Control
applications, this is quite advantageous . Later on in Sections 4.3 through 4.6
when we examine the salient features of each model form, the importance of
being able to switch from one model to the other will be better appreciated.
Before examining each model form critically and discussing the
interrelations hips between them, let us first consider the important issue of
how process models are formulated.
The theoretical principles of how process models used in Process Dynamics and
Control studies are formulated will now be introduced.
While this may appear so straightforwa rd, almost to the point of being
simplistic, it is nevertheless the basis for a countless number of mathematical
models.
The conservation principle written as an equation is:
That is:
Rate Rate Rate Rate
of of of + of (4.2)
Accumulation Input Output Production
ofq ofq ofq ofq
Mass Balance
The mass balance equation may be· with respect to the mass of individual
components in a mixture (a component mass balance), or with respect to total
mass. The general form of the equation is no different from Eq. (4.2), i.e.:
l process
matter can never be totally created or totally destroy ed in chemica
systems that operate under nonrela tivistic conditio ns.
tion" of
where now we have paid due respect to the fact ·that any "genera
to forces acting on the volume element , and that this is
momen tum must be due
done at a rate equal to the total sum of these forces.
It is importa nt to note that this equatio n is in fact just a general
ization of
which states that force is the produc t of mass and
Newton 's law of motion
tion. For systems in which mass could be variable , it is more accurate to
accelera
also be
express force as the rate of change of momen tum. Thus, Eq. (4.4) could
equatio n of force balance . Since force is a vector quantity ,
conside red as an
ed further in Bird et
possess ing both magnitu de as well as direction, as discuss
three such
al. [1], a comple te force (or momen tum) balance will consist of
for each of the three directio ns in a three-di mension al space.
equatio ns written
(or momen tum) balance s are very
For our current purpose s, we note that force
g process control systems ; therefor e we will not
rarely the bases for modelin
pursue this aspect further.
Energy Balance
rise to the
Modify ing Eq. (4.2) specifically for energy conserv ation gives
following general energy balance equation :
easily
The importa nt point to note about this equatio n is that it is
first law of thermod ynamic s.
recognizable as an equival ent stateme nt of the
Based on:
• The law of mass action
• Arrhenius expression of temperature dependence in reaction
rate constants
4. Thermodynamic Relations
• Equations of state
(e.g., ideal gas law, van der Waal's equation)
• Equations of chemical and phase equilibria
The Process
F,T
Q:Steam
Flowrate
t Condensate
+steam
Assumptions
1. We will assume that the content of the tank is well mixed so that the
liquid temperature in .the tank and the temperature of liquid in the
outlet stream are the same.
d (4.6)
dt(pV) = pF-pF
dV
dt = 0 (4.7)
implying that:
V = constant (4.S)
Thus the material balance equation merely tells us that we have a constant
volume process. This should not come as a surprise; it is in perfect keeping with
common sense that if inlet flowrate equals outlet flowrate then the volume
within the system must remain unchanged.
For this system let us note that even though the total energy is a sum of the
internal, potential, and kinetic energies, the rate of accumulation of energy will
involve only the rate of change of internal energy. This is for the simple reason
that the tank is not in motion, thus eliminating the involvement of any kinetic
energy terms; and since there is also no change in the position of the tank, the
rate of change of potential energy will be zero. One final point: for liquid
systems, the rate of change of total enthalpy is a good and convenient
approximation for the rate of change of internal energy.
Let us now proceed with the energy balance. (We shall use the variable T*
to represent a reference temperature at which the specific enthalpy of the
liquid is taken to be zero. As we shall see, this is only for exactness; the
variable cancels out in l;he long run.)
pC, 1, [V (T- T* )] = pFC, (T;- T*) + A.Q- pFC, (T- T*) (4.9)
(4.10)
since, by the mass balance, we know that V is constant. The equation may be
further simplified to:
PROC ESS DYNA MICS
98
(4.11)
with (4.13b)
y =X
1 1
sy(s) = - ey(s) + fju(s) + e d(s)
This is now a transform-domain model for the dynamic response of the stirred
mixing tank, an algebraic equation that may now be rearranged to give an
expression for y(s) in terms of its dependence on u(s) and d(s), i.e.:
(4.14)
_1}!}_
g(s) (4.15a)
es + 1
1
gj..s) (4.15b)
es + 1
The expressions in Eqs. (4.15a,b) are called transfer functions (see Section 4.8 for
a detailed discussion) and Eq. (4.14) is a transfer function model for the stirred
heating tank. Equation (4.16) is the general expression for transfer function
models in the transform domain.
Thus g(jm), gd(jm) are functions of a complex variable having both real and
imaginary parts; for example, the real and imaginary parts of g(jm) are:
t Note that here and from now on in this book we have dropped the overbar on the Laplace
transform for notational convenience.
PROCESS DYNAM ICS
100
of the process. If
Equation (4.17) can be interpr eted as the frequency response
the real and imagin ary parts of g over the frequen cy range of
one stored as data
ute the freque ncy-re sponse
relevance, these data files, g(jm}, would constit this
n (4.18} is also a transfer function model, but
model for the process. Equatio
in the frequen cy domain . An expand ed discuss ion of this type of model can
time
be found in Chapte r 9.
x(t) = e-118x(0)+ r 0
e-(t-d)IBf3u(a)dC1+ r 0
e~<r-a)IB~d(o)da
y(t) = r 0
e-(t-dYBf3u(a)dC1+ f' e-(t-0)/B~d(o)da
0
(4.19)
y(t) = f t
0
g(t- a)u( o) da + J t
0
gj..t- a)d( a) da (4.21)
15(t) is 1
3. Because the Laplace transform of the unit impuls e function
from the transfo rm-dom ain model form in
(see Chapte r 3}, then
(4.16), the respon se of this process to the input u(t) = 15(t), (with
Eq.
d(t) = 0) will simply be:
y(t) = g(t)
CHAP 4 THE PROCESS MODEL 101
and, similarly, the response to d(t) = O(t) (with u(t) = 0) will be:
y(t) = gj,.t)
Thus, g(t), gd(t) in Eq. (4.20) represent the response of this process to
an impulse in the manipulated variable and disturbance
respectively. It is for the foregoing reasons, therefore, that the
model form in Eq. (4.20) is referred to as the impulse-response model
form. As will be explained in Section 4.6.1, Eq. (4.21) is an impulse-
response transfer function modeL
For any two functions j(t) and g(t), if L{f(t)} = j(s) and L(g(t)} =
g(s) then the inverse Laplace transform of the product {f(s)g(s)} is
given by the following integral:
L-1{j{s)g(s)} = i
0
g(t-a)f(a)da (4.22)
(4.23)
(Vff).
whe re ()is the reac tor resid ence time
.
Figu re 4.2. The nonisothermal CSTR
CHAP 4 THE PROCESS MODEL 103
Energy Balance
Here, the density and specific heat capacity of the reacting material,
respectively represented by p and CP, are assumed constant. T* is the datum
temperature introduced in the previous example; once again it does not show up
in the final expression. The quantity (-L1H) is the heat of reaction, with the
convention that it is positive for exothermic reactions and negative for
endothermic reactions.
d
pCP dt[V(T-T*)] = pFCP(TrT*)-pFCP(T-T*)+(-L1H)kVc,..-Qc (4.24)
(4.25)
(4.26)
dT
(4.27)
dt
2. They are coupled, in the sense that it is not possible to solve one
equation independently of the other.
PROC ESS DYNA MICS
104
possible to take Laplace
3. As a result of the nonlinearities, it is not
is also impo ssible to obtain a closed
transforms of these equations. It
form, analytical solut ion to these equa tions .
ns:
In closing, let us make the following observatio
constitutive equa tions
1. Usin g the conservation principle along with
mode l forms. This will always
has given rise to differential equation
be the case.
-response, or impu lse-
2. The equiv alent trans form -dom ain, frequency
etica l mode ls are deriv ed from the original
response versions of theor
the first by Lapl ace
diffe renti al equa tion repre senta tions :
itutio n, the last by solvi ng
transforms, the second by variable subst
analy tical ly.
l is linear with cons tant
3. Only when the differential equa tion mode
trans form -dom ain form be obtained by
coefficients can the equivalent
analytical solut ions are
takin g Laplace transforms; and only when
form be deriv ed from the
possi ble can the impu lse-r espo nse
differential equa tion mode l form .
dx.(t)
dt = Ax(I)+ bu(t) + yd(t) (4.29)
y(t) = CTX
Here the fact of the multiplicity of state variables is reflected in the presence
of a state vector x(t), (not just a single state variable x(t)) accompanied by the
matrix A and vectors b, c, andy. This is the state-space representation for
higher order single-input, single-output systems (see Chapter 6).
in Chapt er 10.
Other examples of this class of models will be encountered
will introd uce time delays in Chapt er 8, and there we will indica te
We
be augme nted to includ e delays . A hint is
how these state-space model s can
given in Examp le 4.3 of this chapte r.
(4.32)
CHAP 4 THE PROCESS MODEL 107
~----~,~~--------~Sream
v .., T(z,t)
·Condensate
'+'
Figure 4.3. Steam-heated shell-and-tube heat exchanger.
where the fluid being heated is flowing inside the tube (cross-sectional area A)
with constant velocity v along the length of the tube (the z-direction).
The fluid density p and specific heat capacity CP are assumed constant. The
heat exchanger arrangement is assumed to have a heat transfer area A 1 per unit
length of tube, and U is the overall heat transfer coefficient. T(z,t) is the fluid
temperature profile as a function of time and position along the length of the
tube; T 5 is the steam temperature on the shell side..
A more general model form for distributed parameter systems is:
dx
iJt = f(x, u, V•x, V2x, ... ) (4.33)
When process variables are ava.'ilable at discrete points in time, the state-
space models take the form of difference equations. The following are typical
discrete-time models.
In this case, x(k), u(k), d(k), and y(k) respectively represent the state,
control, disturbance, and output variables at the discrete-time instant tk =kilt,
where .Llt is the sampling interval. Thus the model is
y(k) = cx(k)
108 PROCESS DYNAMICS
Again, f(·) and h(·) are usually vectors of nonlinear functions. A fuller
discussion of discrete-time systems may be found in Chapters 23-26.
where g(s) and gd(s) are referred to, respectively, as the process and disturbance
transfer functions in the transform domain. Thus they are input/ output models
in the transform domain. The process transfer function for the stirred heating
CHAP 4 THE PROCES S MODEL
109
tank of Section 4.2, for exampl e, is given in Eq. (4.15a), and the
disturb ance
transfer function is given in Eq. (4.15b).
When the problem has multipl e inputs and multiple outputs it is possible
to
define transfor m-doma in matrice s G(s), GAs) relating inputs and outputs
as:
where the scalar transfer function s of Eq. (4.37) have been replace
d by matrix
transfer functions.
As we briefly showed with the exampl e of the stirred mixing
tank, the
transfo rm-dom ain model represe ntation arises, in theory, from
Laplace
transfor mation of the state-sp ace model. Because Laplace transfor
mation is a
linear operatio n (see Append ix C), these models exist therefore only
for linear
systems. There is thus no easy way of represen ting nonline ar process
systems by
such transfor m-doma in models.
Here g(z), gd(z) are the z-transf orm transfer function s of the
discrete -time
system (see Chapter s 24-25 for more detailed discussion). The
multiva riable
version follows from Eq. (4.38) by direct analogy:
where G(z) and Giz) are z-transf orm transfer function matrices.
PROCESS DYNA MICS
110
sed in Chapt er 9.
More details of frequency-response model s are discus
where Re(m), lm(m) are data records over a range of frequencies. The details
and some examples of this procedure can be f01md in Chapter 13.
Frequency- response models are also used in control system analysis and
design because, as we shall see later, a number of control system design
procedures are based on the frequency domain:
y(t) = f0
g(t- a) u( a) da (4.45)
where a is a dummy time argument which gets integrated out This is called an
impulse-response model. The general impulse-response transfer function model
takes the form:
y{t) = .[
0
g(t- a) u(a) da+ J' 0
g,tt- a) d(a) da {4.21)
when u(t), d(t) are scalar quantities. These are input/ output models in the time
domain since they relate the inputs u(t) and d(t) to the output y(t). We saw an
example of this model form for the stirred heating tank in Section 4.2.
For multivariable systems, where y, u, d are vectors, if we define impulse-
response matrices of the form:
PROCESS DYNAMICS
112
y ={
0
G(t- a) u(a) da + J'
0
Gd(t- a) d(~) da (4.46)
r 0
g(G) U(t- <1) da = r
0
g(t- <1) u(C1) da (4.47)
y(t) = r 0
g(a)u (t- o) da + {
0
gj..o)d (t- 11) da (4.48)
or, conversely:
/X.t) = r 0
g(o} da (4.49b)
CHAP 4 THE PROCESS MODEL 113
The actual step-response model takes the form:
y(t) = r0
di.o) u(t- cr) du (4.50a)
(4.50b)
when y, u, d are scalars. By analogy with the continuous case, the discrete-
time, multivariable impulse-response model is:
k k
y(k) = I. G(i)u(k- i) + I. Gd(i)d(k-z) (4.53)
•= I •= I
where
l
gnl(i) gn2(i) ... gnm(l)
8d11(i)
8d,(i)
[ 8d,,(i} 8d,(l)
Gd(l) =
8d.,(i} 8d,,P)
PROC ESS DYNA MICS
114
become in the discrete case:
Also the conti nuou s forms Eqs. (4.49) and (4.50)
k
(4.54)
/Xk) = .L Ig(i)
•=
and
(4.55)
g(k) = {Xk)- j3(k- 1)
response mode l is:
so that the discrete-time version of the step-
k
(4.56a)
y(k) = L [j3(i) - f3(i-
i= I
1)}u(k - i)
k
(4.56b)
L f3(i).L1u(k- i )
i= I
wher e
(4.57)
L1u(k) = u(k) - u(k- 1)
Now, it is not unusual to find that a specific task will be easier to perform
using a model form different from the one that is readily available. In such a
case, it will be necessary to convert the available process model from its current
form into the more useful form. Thus the relationships that exist between the
various process model forms and the important issue of how to convert one model
form to another will now be discussed. The reader may find Figure 4.4 a helpful
roadmap of the discussion.
y(t) = cx(t)
s so that
Assumi ng the model has been present ed in terms of deviatio n variable
we have zero initial conditions, Laplace transfor mation gives:
function
We may now compar e this with the general transfor m-doma in transfer
ng relation ship betwee n the
given in Eq. (4.37) to establis h the followi
state-sp ace model, and the transfer function s g(s) and
variable s {a,b,c,n of the
gd(s):
__}'£_ (4.59b)
gJ.s)
s-a
for
As will be further illustrat ed in Chapter 20, the same procedu re is used
s. We note that the
multiva riable systems, with scalars replace d by matrice
in the
transfor mation from Eq. (4.28) above to Eqs. (4.58) and (4.59) is unique
that for any given set of values {a,b,c,1f, we can obtain only one set of
sense
transfer functions g(s) and gd(s).
rm-
When the state-sp ace model is nonlinear, only approxi mate transfo
transfer function models obtaine d from linear approxi mations of the
domain
nonline ar models are possible. This is discussed in Chapter 10.
CHAP 4 THE PROCESS MODEL
117
It should be reemphasized here that while the state variable x(t) appears
explicitly in the state-space model, it is entirely missing from the transform-
domain transfer function representation . Thus the state-space model inherently
contains more information than the equivalent transform-do main transfer
function form.
with
K
g(s) = (4.60b)
-rs + I
Solution:
Introducing Eq. (4.60b) into Eq. (4.60a) and rearranging, the transform-dom ain
model may be rewritten as:
From here it is now clear that the most obvious differential equation that would give
rise to Eq. (4.61a) upon Laplace transform is:
dx
T dt +x(l) Ku(t) (4.62a)
y(t) x(t) (4.62b)
This is therefore a state-space equivalent of the model given in Eq. (4.60). Observe,
however, that for any arbitrary constant c, we may define:
PROCESS DYNA MICS
118
y(t) = cx(t)
y(t) = cx(t}
(4.63b)
with
K
(4.64b)
(4.64c)
Solution:
Introducing Eqs. (4.64b,c) into Eq. (4.64a) the transfer function model may be
rewritten as:
(4.65a)
where
K
--u(s) (4.65b)
-rs + I
Kd
--d(s) (4.65c)
Tds + I
If we now rearrange Eqs. (4.65b,c) as was done in Example (4.1) we will have:
from where we may now deduce one possible set of differential equations which upon
Laplace transformation would give rise to Eq. (4.66a,b) and which are, respectively:
(4.67a)
(4.67b)
Along with the initial conditions with x1(0) =0, and x2(0)
=0, Eqs. (4.67a,b) and (4.68)
equival ent of the model given in Eq. (4.64.)
constitute one possible state-space
Remar ks
In the special case for which T= -rd, we may add Eq. {4.66a) to Eq. (4.66b) to obtain (by
means of Eq. (4.65a)):
be:
and the differential equation extracte d from here will simply
ace representation:
We may then set y(t) = x(t) and obtain an equivalent state-sp
dx
-r dt + x(t) Ku(t) + Kd d(t)
y(r) x(t)
-DELA Y
Examp le 4.3 REALI ZATIO N OF A FIRST- ORDER -PLUS -TIME
TRAN SFORM -DOMA IN TRANSFER FUNCT ION.
with
Ke-as (4.69b)
= --
g(s)
n + 1
find an equivalent state-space representation.
Solutio n:
r function model may be
Again, introducing Eq. (4.69b) into Eq. (4.69a), the transfe
rewritt en as:
CHAP 4 THE PROCESS MODEL 121
To obtain a differential equation which, upon Laplace transform. would give rise to
Eq. (4.69), we now only need to recall the time-shift property of Laplace transform
given in Eq. (3.24) in Chapter 3. This, along with what we have seen earlier in
Example 4.1, helps us to establish that one such differential equation is:
r ~ + y(t) = Ku(t- a)
We may then set y(t) = x(t) and rewrite this as:
dx
'dt+x(t) Ku(t- a) (4.7Ia)
y(t) x(t) (4.7lb)
and this will then provide a state-space equivalent of the model given in Eq. (4.69).
y(t) = cx(t)
n in x(t) is
The analytical solution to the linear, first-order differential equatio
easily obtaine d as:
x(t) =[
0
ea(l-d)bu(CJ')dCJ + r
0
ea(I-U) yd(CJ) da (4.72)
in the require d
so that, multip lying by c, we obtain the expression for y(t)
The relationships
impulse-response transfer function form given in Eq. (4.21).
state-s pace model and the impuls e-
betwee n the variables {a,b,c,n of the
response functions g(t) and g,l..t) are easily seen to be:
g(t) = b C ~I (4.73a)
g,!..t) = rc ~I (4.73b)
y(t) = [
0
g(t-ci) u(ci)d a + J
1
0
g,l..t-c i)d(d)d a (4.21)
e only if the
and derivin g the corresp onding state-space model is possibl
le in well-ch aracterized
impulse-response functions g(t) and git) are availab
and differentiable functional form.
I CHAP 4 THE PROCESS MODEL 123
Whenever this is the case, Eq. (4.21} may be differentiated to obtain the
equivalent differential equation. This venture is usually carried out with the
aid of Leibnitz's rule for differentiating under the integral sign:
' ! (J
B(r)
(4.75)
Solution:
which is differentiable. If we now differentiate Eq. (4.75) with respect to t (with the
aid of Eq. (4.74)), we obtain:
41.
dt
= K
1"
J' -!.. 1"
e- (t- o)lr u( a) da + K u(t) - 0
1"
0
which simplifies further (using Eq. (4.75) to eliminate the integral) to give:
or
f
41.
dt + y(t) = Ku(t)
dx ·
f dt +x(t) Ku(r) (4.62a)
y(t) x(t) (4.62b)
as required state-space representation.
PROCESS DYNA MICS
124
Mod els
4.7.5 Tran sform -Dom ain and Impu lse-R espo nse
Transform-domain and impulse-response models are
theoretically quite closely
ons of the same input /outp ut mode l in
related, because they are just representati
transf orm-d omain mode l is the Laplace transf orm
differ ent domains. The
rseiy, the impulse-response
version of the impulse-response model; and conve omain modeL
t versio n of the transf orm-d
mode l is the time-domain input / outpu orm of the
functi on g(t) is the invers e Lapla ce transf
The impul se-res ponse orm of the
the Lapla ce transf
transform-domain transfer function g(s); and g(s) is
impulse-response function g(t).
where
g(s) = _K_ (4.60b )
n + 1
Soluti on:
impulse-response function
In this case, by Laplace inversion of g(s) we obtain the
as:
CHAP 4 THE PROCESS MODEL 125
(4.76)
obtained by taking the inverse Laplace transform of the transfer function model given
in Eq. (4.60) and using the convolution theorem of Laplace transforms stated earlier on
in Eq. (4.22).
(4.77)
Solution:
g(t) = Kt ·'
-ze....,T (4.78)
T
K
g(s) = {
TS+l
)2 (4.79)
K
y(s) = { ) 2 u(s) (4.80)
TS+l
In conclusion, we note that since we are concerned here with two fundamentally
similar input/ output models having the same information content, all the
transformations involved are unique.
PROCESS DYNAM ICS
126
ls
4.7.6 Trans form- Doma in and Frequ ency- Respo nse Mode
transfo rm-dom ain
As already indicat ed several times, the conver sion from the
require s the conver sion from a Laplace
to the frequency-response form merely
r transfo rm by letting s = jm in g(s), gd(s). Howev er, the
transfo rm to a Fourie
form to the Laplac e transform,
reverse conversion, from the frequency-response
r functio n, g(jm), is analyti cally tractab le so
can only be done when the transfe
ng the substit ution jro = s can lead to a meanin gful Laplac e
that reversi
in nonpar ametric
transform. 1his is impossible when the original model arises
form from experim ental data.
e domain
To illustrate, conside r the heating tank of Section 4.2. The Laplac
tank temper ature to the tank inputs were
transfe r functio ns relatin g the
determ ined to be:
_llL (4.15a)
g(s)
8s + 1
1 (4.15b)
gjs) = es + 1
t to the frequen cy-
By making the substit ution s = jm, we are able to conver
response domain with transfer functions:
[39( 1 - jm8) (4.17a)
(jm) = 139 = ( 8ro) 2 + 1
g j6m + 1
(1 - jm6) (4.17b)
1
gjjm) = jem + 1 (8ro) 2 + 1
to simply let
Note that to begin with a model of the form (4.17), it is not enough
to recover the Laplac e transfo rm. It is necessa ry to recogn ize
jm = s in order
of oi'-" appear , there is also a
that everyw here in Eq. (4.17) where even powers
the reverse
hidden factor (-1)" pn. With simple rules such as this
is possibl e when the frequen cy-resp onse model g(jm) remain s in
transfo rmation
ental data so
analyti cal form. If the origina l model, g(jm) arose from experim
that:
g(jm) = Re( ro) +jIm( ro) (4.41)
a large numbe r of
was simply a nonpar ametric record of Re(m), Im(m) stored at
n to g(s) in analyti cal form is obviou sly
freque ncies, the transfo rmatio
e the analyti cal depend ence on rois nnknow n.
impossible becaus
l N
g(t) = - Llco
1C n=l
L.
g(jco.) cosco.t (4.81))
where !J.ro is the mesh size in frequency at which the data is stored. This g(t)
can then be used with the convolution integral to produce an impulse-response
model of the form of Eq. (4.21).
In order to accomplish the reverse transformation from the impulse response
to the frequency domain, there are two possibilities. When g(t) is in a
convenient analytical form, or when the numerical inversion methods of
Chapter 13 apply, then the two-step procedure of obtaining the Laplace
transform g(s) and then making the substitutions = jw will work. However,
very often g(t) is obtained directly from experiment as a data record stored at a
large number of times. In this case, it is usually better to take the Fourier
transform numerically, to generate g(jro). A form of the expression often used in
practice (see Chapter 13) is:
g(jco) = f"
0
g(t) cos cot dt- j f"
0
g(t) sinrot dt (4.82)
Thus there are reliable practical means of relating the frequency response and
impulse response of a process even when the models consist of nonparametric
data records.
CTI ON
4.8 THE CON CEP T OF A TRANSFER FUN
only allud ed to - with out form ally
Thu s far in our discu ssion , we have
tran sfer func tion in the math ema tical
exam inin g - the conc ept of the in
ever , as will become abun dant ly clear
desc ripti on of process behavior. How the book , this transfer Junction
ut the rest of
our subs eque nt stud y thro ugho
mics and control. Thus we shall now take
concept is very central to process dyna
a closer look at this impo rtant concept.
ess Mo del
4.8.1 A Gen eral ized Vie w of the Proc
and cont rol stud ies are conc erne d, a
To reiterate, as far as process dyna mics
emat ical equa tions by whic h the syste m
process mod el is any collection of math
be pred icted . The state -spa ce mod el
outp ut resp onse to a give n inpu t can
and uses this to gene rate the outp ut;
explicitly calcu lates the state varia ble
rate the outp ut directly. How ever , even
the inpu t/ outp ut mod el forms gene
differ in the form of inpu t function they
thou gh these vario us mod el forms may
generate, and in the way the outp ut is
accept, the form of outp ut response they
lar.
gene rated , they are fund ame ntall y simi
We recall that:
is a time -dom ain func tion,
1. For the state-space model, the inpu t, u(t),
tion y(t), is gene rated by the
and the outp ut, the time -dom ain func
al or diffe renc e mod el equations.
process of solving differenti
model, the inpu t is u(s), a
2. For the cont inuo us transform-domain
ble s, and the outp ut, y(s)
func tion of the Laplace trans form varia
process of mult iplyi ng u(s) by
(also a function of s), is gene rated by the
the function g(s).
inpu t, u(jro) is a func tion of the
3. For the frequency-response model, the
varia ble, and the outp ut y(jro) (also a
indic ated com plex frequency
gene rated by the proc ess of
func tion of the same varia ble), is
).
mult iplyi ng u(jro) by the function g(jro
CHAP 4 THE PROCESS MODEL 129
We may now observe that in each case, the output is produced by the process of
"operating" on the given input by an appropriate "function." Thus, in essence,
each model form is seen to consist of two parts:
1. A function, and
2. An operation
Observe now that the "transfer function" form of the mathematical model
as represented in Eq. (4.83) is an input/output representation. It may be
extended to include input disturbances to read:
In principle, all the various model forms we have discussed in this chapter can
be considered in this form, where we recognize that the argument (-) and the
operator options g • u, gd • d will be different in each model form. The detailed
mathematical expressions for the "transfer functions" of each model form are
shown in Table 4.1. Let us now observe that in this context:
1. The state-space model exists in the time domain, and its "transfer
function" representation involves an operation consisting of the
solution of differential equations and a "transfer function" in which
the state variable x(t) appears explicitly. Thus time, the
fundamental variable of the domain of existence, shows up implicitly
in this "transfer function" through the state variable x(t).
Disturban ce d ( · )
+
I--'Y1,_<_·_l..,+~l--- y (. )
Output
Variables
Figure 4.5. The input/output form of a process model- the transfer function.
CHAP 4 THE PROCESS MODEL 131
Table4.1
CONTINUOUS LINEAR
INPUT/OUTPUT
TRANSFER FUNCTION MODELS
State-Space Model:
dx(t)
{ dt ~ Ax(t) + yd(t); x(O) =0
y 2 (t) = cTx(t)
Note: Although the state-space model can be considered in this input/ output
~orm, it is not usually referred to as a transfer function model.
Transform-Domain Model:
Frequency-Response Model:
Impulse-Response Model:
g(·). u(·) = r0
g(t- a)u(a)da
r0
git- a)d(a)da
y(t) r0
g(t- a)u(a)da + r 0
gd(t- a)d(a)da
132 PROCESS DYNAMIC S
The "operatio n" indicated by the transfer function relation in Eq. (4.84) is
linear. This implies that the principle of superposi tion applies to all forms
of
the transfer function shown in Table 4.1. Thus if yl) is the response to u 1(·),
and y 2(·) is the response to u 2(·), Hu:m the response to u(·) = c1u1(·) + c2u2 (-) will
be c1y1(-) + c2y2 (·), i.e.:
g(s)
!fS§2
(4.86)
D(s)
The roots of the numerator polynomial, N(s), i.e., zl' z 2, ••• , z,, are thus called
the zeros of the transfer function, while p1' p2 , ••• , pn' the roots of the
denominator polynomial, D{s), are called the transfer function poles.
y(s) = g(s)u(s)
the dynamic analysis problem becomes that of finding y(t), given g(s) and u(t)
or its Laplace transform u(s). ·
From, Eq. (4.86) it is clear that the product g(s)u(s) will also be a ratio of
polynomials, i.e.:
If r;, i = 1, 2, ... , n, are the roots of the denominator polynomial B(s), then, by
factorization, Eq. (4.90) becomes:
(4.91)
PROCESS DYNAM ICS
134
by partia l fractio n
The right-h and-si de expression may now be broken down
expansions to give:
(4.92)
4.9 SUMMARY
ic analysis that began in
The discus sion of the fundam ental eleme nts of dynam
in this chapte r with the detaile d treatm ent of
Chapt er 3 has been compl eted
the concept of proces s models .
detail, the most
The objective in this chapte r has been to treat, in some
s model as a tool of dynam ic analys is. An
pertin ent aspect s of the proces
bing proces s behav ior
introd uctory discussion of the impor tant concep t of descri s are
strateg y on how proces s system
mathe matica lly, the implication of such a forms
summ ary of the most impor tant proces s model
characterized, and a quick
were used as a backdrop for the rest of the chapter.
lated using mass,
The essent ial points of how proces s model s are formu
balanc es have been discus sed and illustr ated with some
mome ntum, and energy
furthe r discussions on
simple examples. ·A broade r spectr um of examp les and
and usage have been reserv ed until
the practice of process model develo pment
Part III.
ied as the state-
The most impor tant process model forms have been identif
freque ncy-re sponse , and the impuls e-response
space, the transform-domain, the
t featur es of each one of them were exami ned both in the
forms; the salien
ns. We have shown
contin uous time as well as in the discrete-time representatio
is related to the others and stresse d the impor tance
how one process model form
to switch back and forth from one proces s model form to the other
of being able
les were used to illustr ate the
whene ver this is called for. Severa l examp lent
s model from one form to anothe r equiva
proced ure for converting a proces
form.
in the remain ing
In anticipation of its usefulness in the discussions to follow
entire sectio n was devote d to a discus sion of the
portio ns of this book, an
and how it is used,
transfer function, its linearity proper ties, its poles and zeros,
in general, for dynamic analysis.
k on the main task
With this backg round, we are now in a positio n to embar
the variou s classes of
at hand: that of analyz ing the dynam ic behav ior of
Chapt er 5 throug h Chapt er 11) will
processes. The next seven chapte rs (from
be concerned with just this task.
CHAP 4 THE PROCESS MODEL 135
REFERENCES AND SUGGESTED FURTIIER READING
REVIEW QUESTIONS
1. What is a mathematical model and what is its main utility in process dynamics?
2. Can a process model be considered as the equivalent of the physical process it purports
to model? Why, or why not?
3. Whatis:
(a) a linear system
(b) a nonlinear system
(c) a lumped parameter system
(d) a distributed parameter system
(e) a discrete-time system?
4. What are the various ways in which a process model can be cast?
5. What is the fundamental basis for developing virtually all theoretical process models?
7. What are the principal uses of each of the four model types?
9. What conditions muSt apply for a state-space model to be convertible to the impulse-
response form?
12. What is a block diagram, and why is it an intuitively appealing device for representing
particularly a transfer function model? ·
13. Traditionally, with which model form is the term "transfer function" tacitly assumed
to be synonymous?
14. What are the poles and zeros of a "traditional" transfer function?
PROBLEMS
4.1 This diagram is from a Department of Energy underground storage tank. Such tanks
are used throughout the United States for storing gasoline for sale to the public.
PROCESS DYN AMiC S
136
F, --- --- -, r---------~~-------~
I
I
I
b
I
I
I
L---~---j--'----Fa
Figur e P4.1.
dT, (P4.l )
pVCP dr = c(T2 -T1)+Fp CPT0 -FpC pTI
c = a constant
.
F =volumetric flowrate in and out of the kettle
Figure P4.2.
137
CHAP 4 THE PROCES S MODEL
(b) If the heat capacity of the hot plate material is assumed uniform
and given as C 2,
and its mass and effective lateral area for heat transfer to the atmosph ere lre
adequately
respectively given as m and A, , obtain a second modeling equation that
dynamic s of r2, the hot plate temperat ure in response to changes in Q,
describes the
the rate of heat input. It may be assumed that the atmosph eric temperat ure is r., a
constant.
constant; the heat transfer coefficient may also be taken as h, another
the objective
4.3 Assumin g that the simpler conditions of Problems 4.2(a) apply and that
is to control the water temperature T1 by adjusting T .
and which is
(a) Which of the variables indicated in Eq. (P4.1) is the input variable,
the disturba nce variable?
•, T2•, and T0•, the
(b) By defining appropri ate deviatio n variables (in terms of T1
steady-state values of T1, T2 0
, T respectiv ely) rewrite Eq. (P4.1) in the form:
t!x
dt = ay + bu + ")d (P4.2)
(P4.5)
y = xz
steady-state
where x1, x2, and u· respectively represen t (as deviations from initial
mass in the
values) the drug mass in the Gastroin testinal tract (GlT), the drug
eam (BS), and the drug ingestion rate. (The immedia te conseque nce is that
Bloodstr
variables, x x and u, are all zero.)
the initial conditions for these deviation 1, 2,
al in question
The constants k1 and k:.z are physiological properti es of the individu
and in general will not be equaL
Eliminatio n
BLOODST REAM
Figure P4.3.
rearrang ing
(a) By taking Laplace transfor ms in Eqs. (P4.3) and (P4.4) and
appropri ately, obtain a transfer function relationship of the form:
y(s) = g(s)u(s) (P4.6)
rate.
relating the measurement of drug mass in the BS, x2, to u, the drug ingestion
(b) To rewrite the model for this process in the vector matrix form:
y
what will A, B, and cT be?
PROCESS DYNAM ICS
138
the followin g
4.5 (a) The top portion of a distillati on column has been modeled by
transform-domain transfer function model:
in order to
Obtain the correspo nding set of differential equation s to be solved
generate a time-domain response.
(b) Choose 10 frequency values in the range of 10- < lO < 100 and
3 generate values for
the g(jw) and gijw) correspo nding to the transfer functions given in Eq. (P4.7).
Given that u(k) =0 for k S 0; y(O) =0, express this model in the impulse-
response form:
k
y(k) = L Ig(i)u(k -
i~
i) (P4.9)
g(s) by partial
Obtain the equivale nt impulse- response model. [Hint: Expand
fractions first and then obtain g(t).]
K(~s + 1)
(b) g(s)
(-rs + I)
K
(c) g(s) = (-r 1s + l)("t 2s + 1)
5
(d) g(s)
-I2s 2 +s+
5
(e) g(s)
I2s 2 +7s+
5
(f) g(s)
s2 + s +
3(s + 4}
(g) g(s)
(5s + 1)(-3s + 1)
2{3s + l){s + l}{-5s + q
(h) g(s)
(4s + 1)(2s + 1)(2.5s + 1)(1.5s + 1)
CHAJPTJER
5
DYNAMI C BEHAVI OR OF LINEAR
LOW-OR DER SYSTEMS
We begin our study of process dynamics in this chapter by looking first into
linear systems with low orders. Systems that come into consideration here are
primarily first-order systems, along with pure gain and pure capacity systems
which, in actual fact, are variations of the first-order system.
These systems are characterized by transfer functions with denominator
polynomials of order 1 or less. The lead/lag system is of importance in control
system design, and since its characteristics fit in with our low-order
classification, its dynamic behavior will also be investigated in this chapter.
Systems whose transfer functions have denominator polynomials of order
higher than 1 are considered in Chapter 6.
tE_
a 1 dt + a 0 y = bu(t) (5.1)
(where y(t) represents the output and u(t) represents the input) are referred to
as first-order systems. It is customary to rearrange Eq. (5.1) to read:
(5.3a)
(5.3b)
139
140 PROCESS DYNAMICS
If the model in Eq. (5.1) had been presented in terms of deviation variables
(see Chapter 4), then taking Laplace transforms in Eq. (5.2) and rearranging
gives:
It is therefore clear that the general transfer function t for a first-order system
is given by:
K (5.5)
g(s) =
(-rs + 1)
Characteristic Parameters
The characteristic parameters of a first-order system may now be identified as
K and -r, respectively called the steady-state gain and the time constant for
reasons which shall soon be made clear. The transfer function has a single pole
at s = -1/ r, and no zeros.
Recall also that the mathematical model for this process was:
A dh = F1--ch (1.13)
c dt
or in deviation variables:
t As indicated in the previous chapter, the term "transfer function" can actually refer to
any of the model forms; however, it will be quite dear from the functional form of g( ·) which
specific form is under consideration.
CHAP 5 DYNAMICS OF LOW-ORDER SYSTEMS 141
Au C 1
!!.!:. = - - y + -u (5.6)
dt Ac Ac
1/c
g(s) = (A, lc)s + 1 (5.7)
Observe now that for this system, the time constant is A,/ c, while the steady-
state gain is 1/c.
f!J!.
dt
+ (k + 1/0)y = l9 u (5.8)
Volume=V
g(s)
(ek 1+ 1) (5.9)
( 8k ~ 1) s +
IOUS
5.2 RESPONSE OF FIRST-ORDER SYSTEMS TO VAR
INPU TS
rder transf er functi on form
In what follows, we shall utilize the gener al first-o
and (5.5) to obtain the respon se of first-o rder system s to
introd uced in Eqs. (5.4)
CHAP 5 DYNAMICS OF LOW-ORDER SYSTEMS 143
such input functions as were discussed in Section 3.4 of Chapter 3, i.e., step,
rectangular pulse, impulse, ramp, and sinusoidal functions.
K A
y(s) = -rs + 1 --; (5.11)
since, as we may recall from Chapter 3, u(s), the Laplace transform for this step
input function, is AI s.
By partial fraction expansion, Eq. (5.11) becomes:
which, upon inverting back to the time domain, gives the required step
response:
A sketch of this response and the input (forcing) function is shown in Figure 5.3.
1. The output, y(t), attains the value AK at steady state. The value of
the input function, u(t), responsible for this response is A. Observe,
therefore, that the ultimate change in the output as t --7 oo is the
magnitude of the input step function A multiplied by the constant K.
(This obviously also implies that the ratio of the steady-state value
of the output to that of the input (AK/ A) is K.) This is the reason for
calling K the steady-state gain.
AK
(5.14)
-r
144 PROCESS DYNAMICS
y(t)
0.632
AKLK----;~----
AK -- -_, /
,. I
I
0 ---1-------- --·t
0 't
J = f-0
[y*- y(t)] dt = AK f-
0
[1 - ( 1- e- 11')] dt
J = AK f- 0
e-t!rdt = AKr (5.15)
Thus, for a unit step input, the area under the curve bounded by the
"instantaneous" response, and the actual first-order response is Kr, as
illustrated in Figure 5.4.
CHAP 5 DYNAMICS OF LOW-ORDER SYSTEMS 145
0 t--
Figure 5.4. Response of a first-order process to a unit step input.
1. Steady-state gain, K
K=~
A
i.e., the final, steady-state value of the response divided by the input step size
(see Characteristic 1 above).
2. Time constant, -r
Let a be the slope of the y(t) response at the origin. Then from
Characteristic 3 above:
so that:
We may also obtain -rby utilizing the fact that at t = -r the value of the output
is y( -r) = 0.632 y( oo ).
Let us illustrate some of the issues involved in analyzing the dynamic
behavior of first-order systems with the following examples.
A 250 liter tank used for liquid storage is configured as in Figure 5.1 so that its
mathematical model and its dynamic behavior are as discussed in Section 5.1.1.
PROCESS DYNAMICS
146
uniform.
The cross-sectional area of the tank is 0.25 m 2, and it may be assumed
we shall assume to be linear for simplicit y, has a
The outlet valve resistance, which
valuec =0.1 m2/min.
F; at 37
The entire system was initially at steady state with the inlet flowrate
question s are now to be answered :
liters/mi n (0.037 m3/min) . The following
Solution :
If we now introduc e the given values for the flowrate and the
resistance c, we
have the required value for the initial steady-state liquid level:
hs = 0.37 m
K= 110.1 10 (min /m 2 )
T = 0.25/0.1 2.5 (min)
0.05 m 3 I min.
The magnitu de of the step input in the flow rate is (0.087 - 0.037) =
from Eq. (5.13) the expressio n represen ting the change in liquid level in response
Thus
to this input change is:
its initial
Note that this is in terms of y, the deviatio n of the liquid level from
by:
steady-state value. The actual liquid level time behavior is represented
solved for t to
3. Introduc ing h = 0.86 into the expressi on shown above, it is easily
value to which
give the time required to attain to the 0.86 m mark as 9.78 min. The final
the liquid level eventual ly settles is easily obtained as 0.37 + 0.5 =0.87
m.
To answer this question, we obviously need to know the height of the tank. From
the given capacity (250 liters = 0.25 m3 ) assuming that the cross-sectional area is
uniform, since:
We may now use either expression to find the time when h = 1, or y = 0.63; the result is
t=25min.
We therefore conclude that for this magnitude of inlet flowrate change to the
liquid level system, liquid spillage will commence at about 2.5 min after implementing
the flow rate change.
0; t < 0
u(t) = { A; 0 < t < p (3.39)
0; t > b
u(s) = A-(I
s
- e-bs) (3.42)
K
y(s) = - - - ( I -
A e-bs)
7:S + I s
AK (I e-bs) (5.16)
s( rs + I) -
PROCESS DYNAM ICS
148
AK(l- e -bit)
y(t}
t
0 b
k-
u(t)
0 ,.-.--
t
I I
0 b
system.
Figure 5.5. Rectangular pulse response of a first-order
on is made easier by
The invers ion of this appare ntly compl icated functi
splitting the terms into two parts as follows:
AK AKe-b• (5.17)
y(s) = s(-rs + 1) s(-rs + 1)
A K ( l - e-tl-r) ; t <b
{ (5.18)
y(t) =
AK[( t- e-tl'r)- ( 1- e-<t-bli'C)]; t > b
D
Examp le 5.3 RECfA NGUL AR PULSE RESPO NSE OF THE LIQUI
LEVEL SYSTEM.
The expression for the peak value attained by a first-order system in response to a
rectangular pulse input of magnitude A and duration b is given by:
(Note that this expression is in terms of deviations from the initial steady-state value
for the liquid level.)
Since in this example, A = 0.05, b = 2.5, and from Example 5.1 we recall that K = 10,
T = 2.5, with an initial liquid level of 0.37 m, the peak value for the liquid level is
obtained from:
or
hmax 0.686 m
u(t)
Area=A
04---L----------------------
0
Note:
impuls e
2. If Ystep represents the step response, and Yimpulse represents the
response, then:
(5.21)
O· t < 0
u(t) = { ' (3.49)
At; t > 0
A (3.50)
u(s) = 2
s
y(s) = Cs ~ 1) ~ (5.22)
Note:
a ramp
1. As t --? oo, y(t) --? AK(t- 'f). Thus the response is asymptotic to
slope AK, displac ed by -r time units from the origin at
function with
y=O.
se by
2. If the step response is represented by Ystep and the ramp respon
Yramp then it is easy to establis h that:
(5.24)
Slope =AK
y(t)
y(t) =AK!t- •)
1----..... .-c::/---- - - - - - - -
0 t
u(t)
Slope =A
The inversion of this to the time domain (see tables in Appendix C) yields:
1. The first term in Eq. (526) is a transient term that decays with a time
constant -r, and vanishes as t -+ oo ; but the second term persists.
2. After the transients die away (after about four or five time constants in
practice) the ultimate response will be a pure sine wave. Thus, we
have, from Eq. (5.26):
M = AKI[(orcl' + ff'
y(t) M~
0 --- ------
1
---
-M - - --- -
0 -----··
- --
I
.J- -. t
AEllll--
----- .!_ ____ ,
"'" 0 ~- ------c~--
-A~--·t
1. The input function (u(t) =Asina>t) and the UPR are both sine waves
having the same frequency ro.
2. The UPR sine wave lags behind the input signal by an angle cp.
3. The ratio of the UPR's amplitude to that of the input sine wave is
KN (ro-r) 2 + 1, a quantity termed the "amplitude ratio" (AR) for
precisely this reason.
(5.29a)
and
(5.29b)
respectively known as the amplitude ratio and the phase angle. Note that
both quantities are functions of ro, the frequency of the forcing sinusoidal
function. Studying the behavior of AR and cp functions as they vary with ro is
the main objective in frequency response analysis.
CHAP 5 DYNA MICS OF LOW -ORD ER
SYST EMS
153
Frequency Response
The frequency response of a dynamic syste
m is, in general, a summ ariza tion of
its (ultimate) responses to pure sine wave
inpu ts over a spec trum of frequencies
w. As indic ated above, the prim ary variables
are AR, the amp litud e ratio,
and ¢, the phas e angle. It is custo mary
to refer to· the phas e angl e as a phase
lag if the angle is negative and a phase lead
if the angle is positive. The most
com mon meth od for sum mari zing frequ
ency resp onse infor mati on is the
graphical repre senta tion sugg ested by Hend
rik Bode [1]. Kno wn as the Bode
diag ram (or Bode plot), it consists of two
graphs:
1. log (AR) vs. log w, in conjunction with
2. ¢ vs. log w
g(s) = K
(5.32)
A process havi ng such characteristics is
referred to as a pure gain process by
virtu e of the fact that its transfer func
tion invo lves only one characteristic
para mete r: K, the process gain term. Such
systems are always at stead y state,
mov ing instantly from one steady state to
another with no transient behavior in
betw een stead y states.
The transfer function for the pure gain syste
m has no poles and no zeros.
154 PROCESS DYNAMICS
. --........,
~
~
~
0
• -50
~
~ -
-100
h = RF (5.33)
y Ru
Thus the respon ses are identic al in form to the input (or forcing
) functions,
differi ng only in magnit ude. The input functio n is amplif
ied if K > 1,
attenua ted if K < 1, and left unchan ged if K = 1.
The followi ng is a catalog of the responses of a pure gain process
to various
input functions.
Step Response
Input
u(t) { 0; t < 0
A- t > 0
(3.36)
'
Output
{ O· t < 0
y(t)
A'K; t > 0 (5.35)
156 PROCESS DYNAMIC S
Input
Output
u(t)
r .
t < 0
A; 0 < t < b
O· t > b
(3.39)
Impulse Response
y(t)
r 0;
t < 0
A'K; O<t<b
t > b
(5.36)
Input
u(t) = A li{t) (3.43)
Output
y(t) = AK S{t) (5.37)
Ramp Response
Input
{ O· t < 0
u(t) (3.49)
A't; t > 0
Output
{ O· t < 0
y(t) (5.38)
A'Kt; t > 0
Sinusoida l Response
Input
0; t < 0
u(t) ={ (3.51)
Asinwt; t > 0
Output
0; t < 0
y(t) = { AKsinwt; t > 0
(5.39)
We note from here that the frequency response of the pure gain process
indicates an amplitude ratio AR = K, and a phase angle t/1 = 0. In other words,
the UPR of the pure gain process is a sine wave whose amplitude is K times the
amplitude of the input sine wave, and perfectly in phase with the input. This,
of course, is in keeping with the characteristic of the pure gain process.
CHAP 5 DYNAMICS OF LOW-ORDER SYSTEMS 157
The advantage in being able to approximate the dynamic behavior of a fast
dynamic process with that of a pure gain process lies in the fact that the
derivation of the dynamic responses (an exercise which normally involves
Laplace inversion) is now considerably simplified to an exercise involving mere
multiplication by a constant.
41
a 1 dt + aoY = b u(t) (5.1)
or
~ = K*u(t) (5.40)
where
K* (5.41)
y(t) = K* r
0
u(a) da (5.42)
Because the output of this process involves an integration of the input function,
pure capacity processes are sometimes called pure integrators.
Taking Laplace transforms in Eq. (5.40) gives:
K*
y(s) = -u(s) (5.43)
s
from which we obtain the transfer function for the pure capacity system as:
K*
g(s} = - (5.44)
s
158 PROCESS DYNAMICS
the
The pure capacity system is therefore characte rized by the presence of
be
integrato r (or capacitan ce) element 1/s, and the paramet er K*, which may
regarded as an integrato r gain (see Eq. (5.42).)
From the expressio ns in Eqs. (5.3a,b) and Eq. (5.44), we may now note that
the behavior of a first-orde r system approach es that of a pure capacity system
the
in the limit as -r~oo and K-'too while their ratio, K/ 1:, remains fixed at
capacity system to be a first-ord er
value K*. We may thus imagine a pure
time constant and steady-st ate gain are both extremel y large but
system whose
for which the ratio of these paramete rs is a fixed, finite constant.
The transfer function of a pure capacity system has one pole at the origin
(s = 0) and no zeros.
0 = F;,-F (5.46)
Subtract ing Eq. (5.46) from Eq. (5.45) and defining the deviatio n variables
y = h- h5, u = F;- F;5, we obtain:
(5.47)
Storage h
Tank
I -g
F
Pump
IIA,
y(s) = -s- u(s) (5.48)
Step Response
y(s)
= K*!l
s s
=7
AK*
y(t)
{ ~~*t; ~: ~ < b (5.50)
AK*b; t>b
a response that starts out as a ramp function, and subseque ntly settles down
to a
new steady-s tate value AK*b.
160 PROCESS DYNAMIC S
y(t)
0 --;-------
~----.----------t
0 0 b
y(t}
0
~r--------------
0 0
Impulse Response
a step function.
Ramp Response
AK*t2 (5.52)
y(t)
2
Sinusoida l Response
AK*
. y(t) - - (1 - cosro t)
w
or
y(t) = ro
AK*
[1 + sin(wt- 90°)] (5.53)
(5.54b)
' = -90°
Diagramm atic represent ations of the step, pulse, impulse, and ramp
responses are shown in Figure 5.12; the sinusoidal response is shown separately
in Figure 5.13.
CHAP 5 UYNAMlCS UF LUW-Ul<Ut:R SYSTt:MS 161
M=AK" $=-90
ro
M
y(t) 0
-M
0
u(t) 0
-A
(5.57)
For this reason, first-order numerator terms in a transfer function are referred to
as first-order leads.
Because the system currently under consideration has both a lead and a lag
term, it is therefore naturally referred to as a lead/lag system.
162 PROCESS DYNAMICS
Characteristic Parameters
The characteristic parameters of the lead/lag system are: K, the system gain;
~~ the lead time constant, -r, the lag time constant; and the "lead-to-lag " ratio,
p= ~-r.
The transfer function for the lead/lag system has one pole located at
s =-1/-rand one zero locatedats =-1/~.
Although it is rare to find a chemical process whose behavior is
characterized by the lead/lag transfer function of Eq. (5.55), it is important to
understand them because these systems find important applications in control
system design such as that in the implement ation of feedforwar d control
systems.
Lead/lag systems are typically implemented in control systems as analog
units, or electronic (microprocessor-based) systems that operate according to the
transfer function form given in Eq. (5.55).
g s
()
=
K(C:s+ 1)
(-rs + 1) =
K[A
0
A, J
+ (-rs + 1)
(5.58)
Ao = ~'f = p (5.59a)
A careful observation of Eq. (5.60) now reveals a very in:\portant fact about
lead/lag systems:
(5.62a)
c
B outlet
[
(1- p)FBJ c - c (5.63a)
FA Bf Blank
(5.63b)
x = c8 1ank - (cBlank)S
vhere the notation 0. is used for the steady-state value of the indicated
•ariable, then Eq. (5.63) becomes:
)r if we let p = t;J-r:
y(s) = (Ts
c.;s ++ 1)) u(s)
1
We now note that the transfer function for a process will involve a lead term
whenever the state-space model has an output depending directly on an input,
~sin this case (see Eq. (5.64b).
the required unit step response of the lead/lag system is easily seen to be given
by:
y(t) = K[p +(I - p)(I - e-rl~] (5.65)
The unit step response of the lead/lag system is shown in Figure 5.15 drawn
for the situation with 1: = 1 minute.
3. Observe that the initial value of y(t) is pK, while the final ultimate
value is K; thus whether the initial value is higher or lower than
the final value will be determined by whether p is greater or less
than 1.
2.0
1.5
..Il9
K
1.0
0.5
0.0
0 2 3 4 5
Time(min)
CASE 2. p =1 (i.e., ~ = T)
Under conditions of identical lead and lag time constants, the lead/lag
system becomes a pure gain system (by virtue of the cancellation of the
identical numerator and denominator polynomials), attaining the ultimate
value instantaneously; i.e., y(t) = K for all times.
5.6 SUMMARY
This chapter has been concerned with characterizing the dynamics of processes
modeled by low-order, linear differential equations. We have found that the
transfer functions for these systems involve denominators having at most a
first-order polynomial.
The first-order system was identified as having two characteristic
parameters: the steady-state gain K, a measure of the magnitude of the steady-
state system response, and the time constant T, a measure of speed of system
response; its transfer function has a single pole and no zeros. Several physical
examples of relatively simple processes that can be categorized as first-order
systems were presented. The mathematical expressions representing the
response of the first-order system to other ideal forcing functions were derived
and the important characteristics of each of these responses highlighted.
When a 1, the coefficient of the only derivative term in the differential
equation model of a first-order system vanishes, the resulting system responds
instantaneously to input changes. Such a system was identified as a pure gain
process. A pure gain process is therefore no more than a first-order system with
CHAP 5 DYNAM ICS OF LOW-O RDER SYSTEM S
167
zero time consta nt - one that is infinit ely fast. The
transfe r functio n for this
proces s was found to have no pole, and no zero: only
a consta nt gain term. As
such, the dynam ic respon se of pure gain proces ses are
very easy to compu te since
they are mere multip les of the forcing functions. Very
few such system s occur in
actual practic e, but first-o rder system s whose time
consta nts are quite small
(system s whose dynam ics are very fast, respon ding
with hardly notice able
transie nts) behave approx imatel y like pure gain proces
ses.
The disapp earanc e of a 0 , the coeffic ient of y(t),
from the first-o rder
differe ntial equati on model results in a uniqu e situati
on in which the first
deriva tive of the proces s outpu t is directl y propor tional
to the input functio n
(imme diately implyi ng that the output is directl y propor
tional to the integr al
of the input functio n). System s of this type were identif
ied as pure capacity
system s or pure integrators. The transfe r functio n
for these proces ses has a
single pole located at the origin (s = 0}, and no zero.
We have noted that in the
limit as the time consta nt and steady -state gain of
a first-o rder system both
approa ch infinit y, doing so in such a way that the ratio
K./r remain s fixed, the
behav ior of the pure capaci ty system is obtain ed. The
storag e tank in which
the outflo w is indepe ndent of the liquid level was
presen ted as the typica l
examp le of the pure capaci ty system . The dynam ic
respon ses of this class of
system s were also derive d and discussed.
The final class of system s to be discus sed was the lead/l
ag system . The
charac teristic param eters of the lead/l ag system were
identif ied as the system
gain, a lead time consta nt, a lag time consta nt, and
the lead-to -lag ratio. The
transfe r functio n has one pole and one zero; and it is
the presen ce of this zero
that really disting uishes the lead/l ag system from
all the other low-o rder
system s. We showe d that the dynam ic behav ior of
the lead/l ag system is in
fact a weigh ted averag e of the dynam ic behav iors
of the pure gain and the
first-o rder system s. This fact was used to derive the
unit step respon se of the
lead/l ag system , and its somew hat unusu al characteristic
s were then discus sed.
What we have learne d from this partic ular respon
se will becom e useful in
Chapt er 16.
Our study of the dynam ic behavi or of proces s system
s contin ues in the next
chapte r when we invest igate the behav ior of system
s whose dynam ics are
describ ed by model s of higher order than the ones we
have encou ntered in this
chapte r.
4. How can the characteristic parameters of a first-order system be determined from its
theoretical step response?
5. What is the relationship between a process step response and impulse response?
6. What is the relationship between a process ramp response and step response?
7. What are the main characteristics of the sinusoidal response of a first-order system?
9. What is a pure gain system and what are its main characteristics?
13. A lead/lag system has how many poles and how many zeros?
14. In what way does the value of the lead-to-lag ratio affect the step response of a
lead/lag system?
15. What relationship exists between the dynamic behavior of the lead/lag system and
that of the pure gain system and the first-order system?
PROBLEMS
5.1 The process shown in Figure P5.1 is a constant volume electric water heater. On a
particular day, as the tank water temperature reached the 80°C mark, the heater
broke down and stopped supplying heat. At this time, water was withdrawn from
this 100 liter capacity tank at the rate of 10 liters/min; cold water at 30°C
automatically flowed into the tank at precisely the same rate. This exercise went on
for exactly 5 min, and the water withdrawal was stopped. (Because of the heater
design the cold water also stopped flowing in.)
ColdWater
T;-3E::=~
Hot Water
Heater
and:
(2) (T-T*) = ----=L
6s + I
(R- R*) (P5.2)
stating explicitly what the variables y, u, and d represent in terms of the original
process variables, and clearly identifying g(s) and gd(s).
(b) Obtain an expression for the dynamic response of the tray temperature to a unit
step change in the underflow reflux flowrate, given that the initial temperature on
the tray is 250°F and that the feedrate remained constant. To what ultimate value
will the tray temperature settle after this unit change in R?
(c) Obtain an expression for the dynamic response of the tray temperature, this time
to a unit step change in the feed flowrate, once more given that the initial temperature
on the tray is 250°F, and that this time the reflux rate has remained constant. Deduce
the final steady-state tray temperature in response to this change in feedrate.
PYROLYSIS FRACTIONATOR
T
Underflow
Reflux
R
Feedforward
Controller
5.3 (a) Using your favorite computer simulation software, or otherwise, plot the
dynamic responses obtained in Problem 5.2(b) and (c) above on the same graph, and
on the same scale. Which input variable affects the tray temperature the most (in
terms of absolute change in the tray temperature) , and which affects it the quickest
(i.e., which response gets to steady state the quickest)? (Keep in mind that these are
both unit step responses.)
(b) By summing up the individual expressions for the two responses (or otherwise)
obtain an expression for the tray temperature response to a simultaneou s
implementat ion of unit step changes in both the feedrate and the reflux rate, and
given the same initial temperature of 250°F. Plot this combined response and
comment on its shape.
5.4 (a) Assuming that the model supplied for the pyrolysis fractionator in Problem 5.2 is
accurate, given that an inadvertent step change of 2 Mlb/hr has occurred in the
feedrate, what change would you recommend to be made in the reflux flowrate in
order that at steody state no net change will be evident in the tray temperature?
(b) It has been recommende d by an experienced control engineer that if the specified
process model is accurate, "perfect" feed disturbance rejection can be obtained if the
reflux flowrate is made to change with observed variations in the feedrate according
to:
(R-R*) = gFF(F-F*) (P5.3)
4(6s + 1) (P5.4)
BFF = (30s + I)
Using Eqs. (P5.3) and (P5.4), for the situation when the process is operating under
the indicated strategy, obtain an expression for the reflux rate response to the step
change of2 Mlb/hr introduced in part (a) above. Plot the response and compare the
ultimate change in the reflux flowrate recommende d by this control scheme with your
recommenda tion in part (a).
5.5 In Process Identification (see Chapter 13) the objective is to obtain an approximate
transfer function model for the process in question by correlating input/ output data
obtained directly from the process. It is known that the frequency-re sponse
information derived from such plant data is richest in information content if the
process input is an ideal impulse function. Since this function is, of course,
impossible to implement perfectly in reality, it is customary to utilize instead the
rectangular pulse input as a close approximatio n.
Given a first-order process with the following transfer function:
4
g(s) =~ (P5.5)
(a) Obtain the theoretical unit impulse response; let this bey"( I).
(b) Obtain the response to u1(t), a rectangular pulse input of height 1 unit and width
1 emit; let this be y 1 (t).
(c) Obtain the response to uz(t), a rectangular pulse input of height 2 units and width
0.5 unit; let this be y2(t).
(d) Compare these three responses by plotting y*(t), y 1(t), and y 2(t) together on the
same graph and confirm that the rectangular pulse input with a narrower width
provides a better approximatio n to the ideal impulse function.
CHAP 5 DYNAMICS OF LOW-ORDER SYSTEMS 171
5.6 The procedure for starting up some industrial reactors calls for the gradual
introduction of reactants in several steps rather than all at once. Given that the
dynamic behavior of one such reactor is reasonably well represented by the simple
transfer function model:
0.32
y(s) = !5.5s + I u(s) (P5.6)
where y represents, in deviation variables, the reactor temperature (with the time
scale in minutes), it is required to find the response of the process to a program of
reactant feed represented by the staircase function described mathematically as:
t:S 0
r
I. 0 < t :s; 2
u(t) = 2; 2 < t :s; 4 (P5.7)
3; 4 < t :s; 6
4· t > 6
y(t) = J' 0
g(a)u(t- o') da (P5.8)
Now use this directly with Eq. (PS.7) to obtain the required response.
I
u(t)
2 4 6 Time
5. 7 A storage tank of the type shown in Figure 5.11 in the main text is subject to periodic
loading from the upstream process. Because a steady rate of product withdrawal is
maintained by the constant speed pump at the tank outlet, this is a true "pure
capacity" process. The tank's cross-sectional area is given as 2.5 ft 2, and that the
incoming feedstream fluctuates around its nominal flowrate in essentially sinusoidal
fashion with maximum deviation of 10 ft3 /hr; the frequency of the sinusoidal
172 PROCESS DYNAMICS
fluctuation is different from shift to shift, but it may be considered constant on any
particular shift.
(a) Derive from first principles the expression for the response of the tank level (as a
deviation from nominal operating conditions) assuming that the input is a perfect
sinusoid with the given amplitude but a yet unspecified frequency (1). For a given
frequency of 0.2 radians/hr, plot on the same graph. both the periodic input loading
function and the tank level response. Compare these two functions.
(b) In terms of the frequency of the periodic loading, what is the maximum deviation
from nominal tank level that will be observed?
(c) Given now that the tank is 10ft high and that the nominal operating level is 5 ft,
what condition must the loading frequency satisfy to guarantee that during any
particular shift, the tank neither overflows nor runs dry?
5.8 Consider a household pressing iron along with its thermostat as a dynamic system of
constant mass m and heat capacity c,.
(a) Develop a mathematical model for this system assuming that the rate of heat input
through the heating element is Q (appropriate energy units/min) and that the iron
loses heat to the surrounding atmosphere according to Newton's "law" of cooling;
i.e., the heat loss is given by hA(T- T.), where T. is the (constant) temperature of
the surrounding atmosphere, h is the heat transfer coefficient, and A is the effective
area of heat transfer.
(b) Given T5 and Q 5 as appropriate steady-state values for T and Q respectively,
express your model in the transfer function form y(s) =g(s) u(s) where y =T- T5 and
u =Q-Q5 ;show thatg(s)has the first-order form. What are K and -rin this case?
(c) A specific pressing iron, with K = 5, has a thermostat set to cut off the standard
energy supply (u• =10) when T attains 55°C. At t = 0, the iron was at an initial
steady-state temperature of 24°C and the standard energy supply commenced;
precisely 6 minutes after the commencement of this operation, the energy supply was
automatically cut off. Find the effective time constant -r for this particular iron.
5.9 A certain process is composed of two first-order processes in parallel such that its
transfer function is given by:
(P5.9)
(a) Consolidate this transfer function and identify its steady-state gain, its poles and
its zeros, and thereby establish that the steady-state gain is the sum of the steady-
state gains of the contributing transfer functions; the poles are identical to the poles
of the contributing transfer functions; the lead time constant (&om which the zero is
obtained) is a weighted average of the two contributing lag time constants. (The
dynamic behavior of such systems are investigated in Chapters'6 and 7.)
(b) What conditions must the parameters of the contributing transfer functions
satisfy if the composite system zero is to be positive?
5.10 Consider creating a model for the bottom part of the distillation column shown
below in Figure P5.4. Here, in terms of deviation variables:
d [W R(t) + W 8 (c)]
dt = L-V- B
6
DYNAMIC BEHAVIOR OF LINEAR
HIGHER ORDER SYSTEMS
Having discussed the behavior of low-order systems in the last chapter, the
next level of complexity involves those systems modeled by linear differential
equations of higher (but still finite) order. Such systems are typically
characterized by transfer functions in which the denominator polynomials are
of order higher than 1. The objectives in this chapter are similar to those of
the preceding chapter: to investigate and characterize the dynamic responses
of this class of systems.
We will begin our investigation of such systems in the most logical place:
with the composite system made up of two flrst-order systems connected in
series. We will flnd this to be a natural extension of our earlier discussion on
first-order systems. This opening discussion of two first-order systems in series
will also serve two other purposes:
·Our discussion in this chapter will end with a treatment of the dynamic
behavior of one final class of higher order systems: those whose transfer
functions have zeros in addition to the higher order denominator polynomials.
There is yet another class of systems - time delay systems - qualified to
be classified as "higher order." However, these systems are, in principle, of
infinite order and will be discussed at a later stage in Chapter 8.
Consider the situation in which two liquid holding tanks are connected in
series, each one being of the type identified as a first-order system in Chapter 5
175
176 PROCESS DYNAMICS
(Section 5.1.1). Such systems can be configured in one of two ways. Let us
consider the first of such configurations shown in Figure 6.1 below. This
indicates a situation in which the flow out of tank 1 discharges freely into the
atmosphere before entering tank 2. The flowrate of this stream is therefore
solely determined by the liquid level in tank 1 and is totally independent of
the conditions in tank 2.
Thus while the conditions in tank 1 influence the conditions in tank 2,
observe carefully that the conditions in tank 2 in no way influence tank 1; i.e.,
tank 2 does not interact with tank 1. This is the noninteracting configuration.
Contrast the arrangement in Figure 6.1 with the one shown in Figure 6.2.. In
this case, the flow out of tank 1 now depends on the difference between the
levels in the two tanks, with the result that variations in the conditions in
tank 2 will influence the conditions in tank 1. Such an arrangement gives rise to
a situation in which tank 2 does in fact interact with tank 1; it is therefore
called the interacting configuration.
As we might expect, the dynamic behavior of the interacting ensemble will
differ from the dynamic behavior of the alternative noninteractin g
arrangement. Let us look at these in tum, beginning with the noninteractin g
system of Figure 6.1.
• ForTank1:
(6.1)
(6.2)
(6.3)
(6.4)
and
KI
y 1(s) = 't"IS + 1
u(s) = g 1 u(s) (6.5)
K2
y2(s) = 't"2S+ 1 YI(s) = 82 Y1(s) (6.6)
Now, for this system, we are interested in studying the effect of changes in
the input function F0 , on the level in the second tank; i.e., we wish to
investigate the influence of u on y 2 • (Note that we are already familiar with
the influence of u on y1; it is a first-order response problem similar to those
studied in detail in Chapter 5.)
(6.7)
By solving Eq. (6.4) for y1 and introducing the result into Eq. (6.7), we may now
eliminate the last surviving y 1 term. The final expression appropriately
rearranged is:
(6.8)
K2 K,
y2(s) u(s) (6.9)
'X"2S + -r,s + 1
Figure 6.3.
u(s)
·I gl(s)
yl(s)
·I g.jsl
y2(s)
~
(6.10)
The transfer function for this process therefore has two poles
(at s = -1/7:1 and
s = -1/12) and no zeros.
Alternatively, we may equally well obtain the transfer functio
n model for
this process by taking Laplace transforms of the differe
ntial equation model of
Eq. (6.8), assumi ng zero initial conditions. It is an easy task-
left as an
exercise for the reade r- to show that the results are identic al
A very import ant point to note here is that the overall transfe
r function for
this process is in fact just a produc t of the two contrib uting
transfer functions
indicat ed in Eqs. (6.5) and (6.6). A block diagram atic represe
ntation of this
system shown in Figure 6.3 emphasizes this point.
6.1.2 Unit Step Respo nse of the Nonin teract ing System s in
Series
We may now use the transfer function of Eq. (6.9) to obtain express
ions for how
this system respon ds to various inputs. When the input
function is the unit step
function, for example, the system response may be obtained from:
K 1
(6.11)
In the special case when -r1 =12 =1:, Eq. (6.11} becomes:
(6.13)
(6.14)
180 PROCESS DYNAMICS
1.0
0.8
Y; (t) 0.6
K;
0.4
0.2
0.0
0 2 4 6 8 10
Figure 6.4. Unit step responses of the liquid level in the two-tank process.
dh
-
dt
I
1=0 -
-0
3. As was obtained for the single first-order system in Eq. (5.15), the
same measure of "inherent reluctance" for the two (noninteracting)
first-order systems in series may be obtained by integrating, over
time, the difference between instantaneous response, y• = K, and the
actual unit step response given in Eq. (6.12), i.e.:
}2 = f~ [y*- y(t)] dt
0
(6.15)
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS
181
which is to be compared with the correspon ding single, first-orde r
system result: 1 = K-rwhen A= 1 in Eq. (5.15). The implication of this
result is that the addition of another first-order system with a time
constant of -r2 increases the reluctance inherent within the system by
an amount directly related to this time constant.
Thus two first-order systems in series are more reluctant to respond
to changes than a single, first-order system by itself. Upon careful
considera tion of the physical system in Figure 6.1, a little reflection
will confirm that this statement is in pe:fect keeping with what we
would intuitively expect.
For Tank 1:
(6.16)
ForTank2 :
(6.17)
Assuming linear resistances, the flowrate out of tank 2, as before, is still given
by F2 = c2h2 ; but now F1 is given by:
F 1 = c 1(h 1 -h 2)
The mathemat ical models Eqs. (6.16) and (6.17) therefore become:
~dh, = Fo
-h, +h2 +- (6.18)
c, dt c,
A 2 dh 2
c1 c 1 ) h2
( 1 +-
-;,;dt'= -h.-
c2 cz
(6.19)
As was done in the nonintera cting case (in producing Eqs. (6.3) and (6.4)), if we
now introduce the same constants, and express these equations in terms of the
usual deviation variables, taking Laplace transform s and rearrangi ng the
resulting expression s will give rise to the following transfer function model:
K
(6.20)
Observe now that the difference between the transfer function for the
noninteracting case (given in Eq. (6.9)) and the one indicated in Eq. (6.20) for the
interacting case lies in the presence of the term K2 -r1 in the coefficient of sin the
denor.:tinator polynomial in Eq. (6.20). This is appropriately indicative of the
interaction of tank 2 (via its steady-state gain K2) with tank 1 (via its time
constant 1i)·
The following example will assist us in appreciating the effect of
interaction on the dynamic behavior of interacting first-order systems in series.
Consider the situation in which the system of Figure 6.1 consists of two identical
tanks with identical time constants -r1 "' 1'z == 1 minute. The steady-state gains are also
identical, and equal to 1; i.e., K 1 == K2 =1.
1. Obtain an expression for the response of y2 (the level in the second tank as a
deviation from its initial steady-state value) to a unit step change in the inlet flowrate
to tank 1.
2. If these same tanks are now arranged as in Figure 6.2, obtain the unit step
response for this interacting configuration and compare with the response obtained in
(1) for the noninteracting case.
Solution:
1. In this case since -r1 = -r2 , the required response may be obtained by directly
appealing to our earlier result in Eq. (6.14) for 'I"= 1 and K = 1; what we have is the
following result:
(6.21)
2. In the interacting situation, introducing the given parameter values into Eq. (6.20),
we find that the transfer function model is given by:
which, for a unit step input, becomes (after factorization of the denominator
quadratic):
I l
Yz(s) = (2.618s + I )(0.382s + I) -; (6.22)
Before carrying out the final step of Laplace inversion in Eq. (6.22), note first of all
that this equation, when compared with Eq. (6.11), indicates that the interacting
configuration of two first-order systems in series, each having a time constant of 1
minute, is equivalent to a noninteracting configuration of two first-order systems
having unequal time constants 2.618 min and 0.382 min.
Thus the first effect of interaction is to alter the effective time constants of the
individual contributing first-order systems.
0.8
0.6
0.4
0.2
0.0
0 2 4 6 8 10
A plot of the two responses (6.21) and (6.23) are shown in Figure 6.5. It is now
clear that the main effect of interaction is to make the response more sluggish. It should
be easy to see, from purely physical grounds, that this is indeed to be expected once we
take cognizance of the fact that with the interacting arrangement , any increase in tank
2 level will reduce the flow from tank 1, further slowing down the rate at which this
level will increase. This is not the case in the noninteractin g arrangement.
(6.24)
where y(t) and u(t) are respectively the system's output and input variables.
Once again, it is customary to rearrange such an equation to a "standard
form" in which the characteristic system parameters will be more obvious. In
this case, the "standard form" is:
y(s)
so that the general transfer function for the second-ord er system is given by:
184 PROCESS DYNAMICS
(6.26)
Note that whereas the transfer function of the first-order system has a first-
order denominator polynomial, the transfer function for the second-order system
has a second-order denominator polynomial (i.e., a quadratic).
Characteristic Parameters
The reason for the terminology adopted for these parameters will soon become
clear.
The second-order system's transfer function has no zero, but has two poles
located at s = r 1 and s = r2 where r1 and r2 are the two roots of the denominator
quadratic.
Let us now recall the opening discussion of this chapter involving the dynamic
behavior of two first-order systems in series. We obtained the differential
equation model for the noninteracting arrangement as the second-order
differential equation in Eq. (6.8).
Comparing this now with the standard form in Eq. (6.25), we see that:
and
A comparison of the transfer function representation in Eq. (6.20) with Eq. (6.26)
shows that the interacting configuration gives rise to a second-order system in
which T and K are as given above for the noninteracting system, but with t;
given by:
LHfi.t' o v r 1\1/iJVllL.:l v.r- n1unr.1\. LJ1\.LIL1\. J 1 J l LlVlJ
Tube of Radius R
The U-tube manometer shown in Figure 6.6 is a device used for measuring
pressure.
The dynamic behavior of the liquid level in each leg of the manometer tube
in response to pressure changes can be obtained by carrying out a force balance on
this system. As shown in Refs. [1, 2], the resulting equation is:
(6.27)
where h is the displacement of the liquid level from rest position, L is the total
length of liquid in the manometer, R is the radius of the manometer tube; p and
J1 are respectively the density and viscosity of the manometer liquid; AP is the
pressure difference across the tops of the two manometer legs; and g is the
acceleration due to gravity.
When Eq. (6.27) is arranged in the standard form, we observe that the
dynamic behavior of this system is second order with:
and
Our final example is the spring-shock absorber system shown in Figure 6.7 (also
known as the damped vibrator in mechanics).
Performing a force balance on this system gives the following differential
equation model:
' tflx dx
m dt2 = - kx- c dt + f(t) + g (6.28)
186 PROCESS DYNAMICS
where
m is the mass of the entire system
X is the displacement of the spring from the fully
extended position
g is the force of gravity
j{t) is some forcing function imposed downwards
-kx is the force exerted by the spring (k is the spring
constant)
dx
-e- is the force due to the shock absorber, with c as the
dt
coefficient of viscous damping
If the initial rest position for the system is x(O) = x&' with /(0) = 0 observe that
the force due to the compressed spring will exactly equal the force of gravity,
i.e.:
We may now rewrite Eq. (6.28) in terms of the deviation variable y = x- x0; the
result is:
mtf!::t_
dfl
= -ky-ctjz+
dt
j{t)
and
with
(6.29a)
y (6.29b)
dx(t)
dt = Ax(t) + bu(t)
y(t) = cTx(t)
(6.30a)
(6.30b)
dxl ?!1.
dt - dt (6.3la)
dxz ~
Tt = dr (6.3Ib)
188 PROCESS DYNAMICS
Now we introduce Eq. (6.30b) into Eq. (6.31a) for dyldt; solve Eq. (6.25) for d2yldP
and introduce the result into the RHS of Eq. (6.31b); the result is:
dxl
(6.32a)
dt
(6.32b)
and from Eq. (6.30a) we have the equation for the system output, i.e.:
(6.32c)
cT = [I OJ
(6.33)
y(s) (6.34)
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 189
where r1 and r2 are the roots of the denominator quadratic (the transfer function
poles).
Ordinarily, one would invert Eq. (6.34), after partial fraction expansion,
and obtain the general result:
(6.35)
where, as we now know, A 0 , A 1 , and A 2 are the usual constants obtained during
partial fraction expansion. However, tl,e values of the roots r 1 and r1, obtained
using the quadratic formula, are:
(6.36)
By examining the quantity under the radical sign we may now observe that
these roots can be real or complex, depending on fue value of fue parameter (.
Observe furfuer that fue type of response obtained in Eq. (6.35) depends on
the nature of these roots. In particular when 0 < ( < 1, Eq. (6.36) indicates
complex conjugate roots, and we will expect the response under these
circumstances to be different from that obtained when ( > 1, and the roots are
real and distinct. When ( = 1, we have a pair of repeated roots, giving rise to
yet another type of response which is expected to be different from fue oilier
two. The case ( < 0 can occur only in special circumstances and signals process
instability. This will be discussed in detail in Chapter 11.
There are thus three different possibilities for the response in Eq. (6.35),
depending on the nature of the roots rl' r 2, that are dependent on the value of
the parameter (. Let us now consider each case in turn.
It can be shown that in this case, Eq. (6.35) becomes, after some simplification:
where:
(6.38b)
Note:
In this case because we have a pair of repeated roots, we cannot use Eq. (6.35)
directly. Laplace inversion of the appropriately modified version of Eq. (6.34):
AK/r
y(s) = s (s- d
gives the required response:
With fJ as defined in Eq. (6.38a), the roots are now given by:
sinh 6 = ~ (e 8 - e- 9 )
cosh 6 = ~ (e 8 + e- 8)
The indicated time response is another exponential approach to the
ultimate value of AK. Although perhaps not immediately obvious from
Eq. (6.40), it is true, however, that this particular exponential approach is
somewhat slower than the one indicated in Eq. (6.39).
We thus see that whether the second-o rder response is underda mped,
overdam ped, or critically damped is determin ed solely by one paramet er
{.
This is why it is referred to as the damping coefficient.
Let us now return to the underda mped response in Eq. (6.37) and consider
what happens when (is set equal to zero. This represen ts the situation
in
which there is no damping at all. The resulting response in this case is:
(6.41)
a pure, undamp ed sine wave, with frequency 1/-r. This is referred to as the
natural frequency of oscillation a>11• Observe that its reciprocal, the natural
period of oscillation, is 1:, establishing the reason for the name given to this
paramet er.
Having established that there are three categories of second-order systems
(underda mped, critically damped, and overdam ped) we are now interested
in
finding out under what category the ensembl e of two first-ord er systems
in
series falls. The following example is used to resolve this issue.
Having shown that two first-order systems in series (be they interactin g or otherwise
)
constitute a second-or der system, the following questions are to be answered
.
1. What type of second-o rder system (underda mped, overdamp ed, or
critically
damped) is the noninteracting system?
Solution:
1. As earlier demonstr ated, the damping characteristics of any second-or der system
are determin ed solely by the value of the paramete r {. For the nonintera
cting
arrangem ent, we had earlier shown that this paramete r is given by:
192 PROCESS DYNAMICS
(6.42)
and our task is now to find out whether this quantity is greater than, less than, or
equal to 1. .
First observe that Eq. (6.42) is a ratio of the arithmetic mean and the geometric
mean of the two time constants -r1 and 12· We may thus use the argument that the
arithmetic mean of two positive quantities can never be smaller than their geometric
mean to establish that { ~ 1.
Alternatively, let us assume that the converse is true: that is
to conclude from Eq. (6.42) that
'< 1. This leads us
(6.43)
Since the quantities involved in this inequality are all positive we may square both
sides without altering the inequality; the result is:
or
(6.44)
can never be less than zero, thus proving false the initial assumption of
therefore conclude that'~ 1.
'<
Observe, however, that regardless of the actual values of -r1 or 12• a squared quantity
1. We
=
Note that when ""1 12 Eq. (6.42) indicates that '= 1.
The conclusion is therefore that the noninteracting arrangement of two first-order
systems in series is either critically damped (when the two time constants are identical)
or overdamped; it can never be underdamped.
2. For the interacting case, the damping coefficient was earlier given as:
(6.45)
A comparison of this expression with Eq. (6.42) shows that unless K2 is negative
(which is not the case with the two physical tanks of Figure 6.2)) the damping
coefficient for the interacting system takes on a value that is even greater than that for
the noninteracting system.
Thus if the noninteracting system is overdamped, then the interacting system is
even more so. (As an exercise, the reader should show that the interacting system can
never be critically damped.)
Thus we conclude that the interacting system is also overdamped; exhibiting
"heavier" damping characteristics than the noninteracting system. This implies the
interacting system will show more sluggish response characteristics than the
noninteracting system; this, of course, had already been indicated earlier on in
Example 6.1.
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 193
One of the most important conclusions from this example is that two first-
order systems in series can never exhibit underdamped characteristics.
There are a number of other physical systems that do exhibit underdamped
behavior. For example, the U-tube manometer of Section 6.2.1 will exhibit
underdamped behavior for its most common configuration with water or
mercury. Another physical system that can exhibit underdamped response is
the spring-shock absorber system of the last section. Let us illustrate with the
following example.
A suspension system similar to the one shown in Figure 6.7 has been designed as part
of a special cart to carry delicate instrumentation around the plant for special tests
and measurements. Unfortunately the shock absorbers tend to wear out with use, and
must be replaced. In order to determine the performance of the system with various
types of shock absorbers and to construct a model for the system, some experiments are
to be performed with the following equipment:
springconstant, k = 2000newtons/m
=
mass of load, m 500 kg
=
amplitude of test force, A 50 newtons
Using the model developed in Section 6.2.1 for this system we see that the deviation
from the desired position, y, is given by:
b.. !!1.
m dt2 = - ky- c dt + J(t)
T =
_/5o0
-'I 2000 = 0.5 s, K
1
= 2000 = 0.0005 mlnewtons,
_t;;2 c
' = -" 4xlQ6 = 2000
with a natural frequency of wn = 1/T = 2 radians/s.
Thus for new heavy duty shocks, the damping factor ' = 0.8, for new regular shocks,
' = 0.6, and for worn regular shocks, ' = 0.2. Before beginning the experiment, the
model is used to predict the dynamic response. To apply a step input, u(t) = AH(t), one
simply places a force of 50 newtons on the system for t :!> 0, defines this as the origin,
and then suddenly releases this force at t = 0. The resulting responses from the model
194 PROCESS DYNAMICS
worn shocks ( l;= 0.2)
0.05
0.04
y(t) 0.03
meters
0.02
0.01
4 6
t(sec)
regular shocks heavy dut,y
(~= 0.6) shocks ( ~= 0.8)
for the three shock absorbers tested are shown in Figure 6.9. Note that both new
shocks give good response with the heavy duty ones giving less overshoot. The worn
shocks oscillate for a long time before coming to rest, while removal of the shock
absorbers (c = 0) gives sustained oscillations with no damping.
Note that for this example, the characteristic time 'f, or equivalently, the natural
period of oscillation ron =1/'f, is determined by the mass of the load and the spring
constant k. The damping factor { depends on these factors as well as the shock
absorber viscous damping coefficient c.
As we know, the differential equation model for a first-order system with time
constant r 1 and steady-state gain K is given as:
~
'fl dt + y = K u(t) (6.46)
(6.47)
where the constants Kc and 1/-r1 are controller parameters; Yd is the desired set-point
value for y. (We should point out that the name given to this controller derives from
the fact that Eq. (6.47) indicates control action proportional to the error (yd- y) as well
as involving the integral of this error.) Investigate the dynamic characteristics of this
combination, first in general, and then for the specific case in which the system's
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS
195
steady-state gain and time constant are respectively given by: K = 2, and T1 = 4; and the
controller parameters are: Kc = 0.5 , -r1 = 0.25 .
Solution:
By introduci ng Eq. (6.47) into Eq. (6.46), we obtain the integra-di fferential
equation:
(6.48)
(6.49)
This second-or der differential equation may now be rearrange d into the "standard
form" to give:
(6.50)
so that now the characteristic second-order system parameters are seen to be given
by:
-~
7:=-\J~-c; ~=
(I +KKJ
2 (6.51)
Thus, whenever:
In light of this example , we now state that the dynamic behavior of many
systems under feedback control is very similar to the underda mped second-o
rder
response . For this reason, the underda mped response takes
on special
significan ce in process control practice, and as a result, some special terminol
ogy
(which will now be defined) has been develope d to character ize this
behavior .
196 PROCESS DYNAMICS
1. Rise Time, t; Time to reach the ultimate value for the first time; it can be
shown that, for a second-order system:
(6.52)
f3 = ls 2 -1P12 (6.38a)
(6.53)
~
Overshoot -- AK -- exp (-=.!!_(_)
{3 (6.54)
tmax =-1r(I)
(6.55)
AK
------------···j
-- - --
'
.___ -----------
'
t, t,
t-
and since the period (in times/ cycle) is given by 2n/ w we therefore have:
T _ 2n-r (6.56)
- f3
4. Decay Ratio: A measure of the rate at which oscillations are decaying,
expressed as the ratio aja 1 in the diagram:
5. Settling Time, t 5 : A somewhat arbitrary quantity defined as the time for the
process response to settle to within some small neighborhood of the ultimate
value; usually taken to be within ± 5%.
K
y(s) = 1:ls 2 + 2,-rs + IA (6.58)
Again, depending on the value of ', there are three possible types of responses,
and they are summarized below.
0 2 4 6 8 10
th
K Am {6.62)
y(s) = -r2s2 + 2,-rs + I s2 + m2
{6.63}
y(s) = (s + jm)(s- jm} (s- r 1 }(s- r 2 }
where r1 and r 2 are the second-order transfer function poles, and j is the
imaginary number -{:1.
Once again, we observe that upon partial fraction expansion, three types of
responses can be identified. It can be shown that these respon5es are given as
follows:
(6.65}
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS
199
Case 3: t; >1 (2 imaginar y roots, 2 real, distinct roots)
2. As t -+ "" the first two terms in each case persist; the other terms
vanish by virtue of the exponential terms becomin g zero.
Thus in each case, the ultimate response is also sinusoid al and is of the
form:
and now if we evaluate the constant s C 1 and C , and apply the usual
2
trigonometric identities to combine the sine and cosine terms into one sine term,
we obtain the ultimate periodic response for the second-o rder system as:
(6.67)
(6.68)
Frequency Response
A comparis on of the input sine wave, Asincot, with the ultimate output shown
in Eq. (6.67) indicates that the frequenc y response of the second-o rder system
has amplitud e ratio given by:
AR K
(6.69)
Consider the situation shown in block diagramatic form in Figure 6.12, in which
N noninteracting, first-order systems are connected in series. The arrangement
is such that the output of the ith system is the input of the (i+1)th system,
with u, the process input, as the input to the first system in the series (see
Figure 6.12).
The analysis of this system's dynamic behavior is actually a
straightforward extension of 'the discussion in Section 6.1.1. Firstly, because
each of the N systems in the ensemble is first order, the transfer function
relationship for each component is given by:
Kl
y 1(s) = u(s}
'l'IS + 1
K2
Y2(s) =
'l'2S + 1 yl(s)
Kl
Y;(s} = Y1-1 (s)
'l'iS + 1
KN-1
YN-l(s} = 'l' s + 1 YN-2 (s)
N-1
KN
y~s) = 'l' s + 1 YN-1 (s)
N
N K- )
y~s) = ( IT ' u(s) (6.70)
f.~ 'l';S+ 1
Characteristic Parameters
The characteristic parameters for this system are easily identified. They are:
N
• K = II K1 the combined steady-state gain, a product of theN
i=l
individual, contributing system steady-state gains,
The transfer function for this process, extracted from Eq. (6.70), is:
N K.
g(S) = (,.u; T;S ~ 1) (6.71a)
(6.71b)
y~s) = (~ 'r;S
K;
+ I s
)I (6.72)
y~s) = K ( A-S0 + )
N
r-'1 T;S
A.
' 1
+
)
(6.73)
where the constants A; (obtained from the partial fraction expansion) are given
by:
[(T; s + l)g(s)]
A 0 = I; A; = lim (6.74)
S-+ (-1/T;) Ks
when the poles of the process transfer function g(s) given in Eq. (6.81) are all
distinct.
By inverting Eq. (6.73), the unit step response is obtained as:
202 PROCESS DYNAMICS
(6.75)
Concen:Ung the nature of this response, let us note the following points.
2. It can be shown that, as long as N > 1, the slope of the unit step
response at the origin will be zero, i.e.:
-dyN
dt
I
t= 0 -
-0 (6.76)
J N = f- 0
[y*- y(t)] dt
(6.77)
The response of this system to various other inputs can be derived along the
same lines as illustrated with the unit step response. This is left as an exercise
Lo 1---::::::=--=~~=~-,
0.8
0.6
YN(t)
1{0.4
0.2
2 4 6 8 10
Figure 6.13. Unit step response of several noninteracting first-order systems in series.
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTE
MS 203
to the reader. The sinus oidal response, and the
subse quent frequency response
deriv ed from the ultim ate, purel y periodic portio
n of this response, are of
special significance and will be discussed in Chap
ter 9.
6.4.2 A Spec ial Limi ting Case
To round up our discussion of N first-order system
s in series, we wish to consider
a very special case of such systems. The situat
ion unde r consideration is as
follows:
lim J N = lim
N-too N-+oo
(1. 1";)
N
r=l
(6.79)
lim JN = a (6.80)
N~-
204 PROCESS DYNAMICS
y(t)
a TIME
Figure 6.14. An intuitive deduction of the unit step response of a special infinite
sequence of first-order systems in series.
This is a very helpful result because it implies that the area under the curve
between the instantaneous unit response y* = 1 and the actual unit step response
of this infinite sequence of systems is equal to a.
When we combine this with the fact that the response expected from the
"final" stage in this infinite sequence is a step function, we are led to deduce
that the overall unit step response from this system can only be as shown in
Figure 6.14, a unit step function delayed by a time units.
What we have deduced from such intuitive, qualitative arguments is in
fact what actually obtains, but we will have to wait until Chapter 8 for a
rigorous confirmation of this statement.
This special infinite sequence of first-order systems behaves like a system
that does not in any way alter the form of the input function: it merely
introduces a delay, making the output appear as the same function as the input,
only shifted by a certain amotmt of time units. Such systems are of importance
in process control studies and will be discussed in Chapter 8.
(6.81)
To facilitate our study of such systems we now introduce the following notation:
When q is strictly less than p, the model is termed strictly proper, and when
q = p, it is called semiproper. For realistic process models, q will always be less
than or equal to p. The first in this class of systems is therefore seen to be the
(2,1)-order system; its dynamic behavior will be investigate d first before
generalizin g.
(6.83)
At this point we should note that the difference between this system's transfer
function and that for the system composed of two first-order systems in series
(see Eq. (6.10)) is the presence of the first-order lead term with the lead time
constant ~1 in Eq. (6.83), contributing the only transfer function zero. Thus we
may expect that any difference observed between the response of the (2,1)-order
system and the pure second-ord er system will be attributable directly to the
presence of this single zero.
The response of the (2,1)-order system to a unit step input is obtained from:
K(~ s+I)
1 l
y(s) = -:--~-:- -''---
(6.84)
(-r1s + t)(-r2s + t) s
(6.85)
(6.87)
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS
207
0~~--r-~.-~-.r-~.-~~
0 10
Time
Figure 6.15. Unit step response of the (2,1)-order system, for various values of the
lead
timeconstant~r
Case 1:
In this case it can be shown (see problems at the end of the chapter)
that
the response overshoots the ultimate value K.
This brings out a very importa nt difference between the system with
a zero
(shown in Eq. (6.83)) and the one without (see Eq. (6.10)). Observe
that while
the system of two first-order systems in series can never oversho
ot the final
value, the system shown in Eq. (6.83) can exhibit oversho ot if the
lead time
constant is large enough.
Case 2:
Here the zero cancels one of the poles, and the respons e becomes identical
to
that of a first-ord er system with time constan t equal to the survivin
g time
constant.
Case 3:
The respons e in this case does not show any oversho ot, and it
actually
resembles that of a first-order system until ~1 becomes quite small compar
ed to
-r1 and -r2.
208 PROCESS DYNAMICS
1.0
0.8
y(t) 0.6
K
0.4 without a zero
0.2
0.0
0
Figure 6.16. Comparison of the unit step responses of the second-order system, with and
without a zero.
These facts are demonstrated in Figure 6.15, where the unit step response of
a (2,1)-order system with -r1 = 1, r 2 = 4, is shown for four different values of ~1
covering all the cases indicated above:
1. ~1 =0.05, Case 3,
2. ~1 =1 and ~1 =4, both Case 2 conditions, and
3. ~1 = 8, Case 1.
Let us now note the following important points about the (2,1)-order
system's step response in general.
1. Unlike the pure second-order response, the response for the system
with a zero is swifter. We therefore see clearly that the effect of the
lead term is to "speed up" the process response.
3. It can be shown that the response of the system with the zero has a
nonzero slope at the origin. In particular, either directly from
Eq. (6.97), or by using the initial value theorem of Laplace
transforms, we obtain for this (2,1)-order system that
(6.88)
Once again, by partial fraction expansion (assuming distinct poles, "ti) Eq. (6.90)
becomes:
A0 P A; )
y(s) = K ( -;- + ;~1 't';s + I (6.91)
just like in Eq. (6.73), and in fact the constants A; are also given by the same
expression Eq. (6.74), i.e.:
(6.74)
However, the actual values obtained for this set of constants will be different
because the transfer function g(s) in this case is given by Eq. (6.81) (as opposed to
Eq. (6.71)) and the presence of the zeros will influence the values obtained. (For
example, see Eq. (6.86) for the case with p=2, and q=l.)
210
PROCESS DYNAM ICS
From Eq. (6.91} the step response is given by:
(6.92)
2. When p - q >1 the initial slope of the response is zero, and the shape
of the response curve is sigmoidal (see Figure 6.17).
Figure 6.17. Effect of a single zero on the unit step response of a third-order system.
REVIEW QUESTIONS
1. An ensemble of two first-order systems in series is equivalent to a system of what
order? In general, what will the resulting system order be for an ense>mble of N first-
order systems in series?
2. What is the rationale behind the terminology adopted for { and -r, two of the
characteristic parameters of the general second-order system?
5. Under what condition will the step response of a second-order system with a single
zero exhibit overshoot?
6. In general, what effect does a lead term have on the theoretical process response?
7. Is it possible to distinguish between the step response of a first-order system and that
of a second-order system with a single zero, whose characteristic parameters are
related according to: -r1 < ~1 < T2?
8. If a second-order system with a single zero now has characteristic parameters related
according to: ~ 1 << -r1 < r:2 (i.e., the lead term is almost negligible), how can we
distinguish between its step response and that of a first-order system?
9. How can you distinguish between the step response of an underdamped second-order
system (with no zero) and that of a second-order system with 'a single zero that
exhibits overshoot only because of the presence- and location- of its zero?
10. What does the term "pole-zero excess" mean, and what effect does it have on the nature
of the initial portion of the system step response?
PROBLEMS
6.1 (a) By taking Laplace transforms of the expression in Eq. (6.8) in the main text,
obtain the transfer function relating y2 and u, and show that it is identical to that
given in Eq. (6.10).
(b) By differentiating the unit step response given in Eq. (6.12) and setting t = 0,
establish that the initial slope of the second-order system's step response is zero
*
when -r1 r:2. Repeat this exercise using the expression given in Eq. (6.14) and
establish that even when r:1 =r:2, the initial slope of the second-order response is still
zero.
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 213
6.2 By using the initial value theorem of Laplace transforms, or otherwise, show that
for the general system whose transfer function is given in factored form as in
Eqs. (6.81) and (6.82), i.e.:
g(s) (6.82)
the initial slope of the step response is zero whenever p - q > 1, and nonzero only
whenp-q = 1.
Also show that when the pole-zero excess is precisely 1 (i.e., p- q = 1)- all other
things being equal - the initial portion of the step response becomes steeper as the
values of ~i, i = 1, 2, ... , q, the lead time constants, increase; whereas, as the value of
the lag time constants T;, i =1, 2, ... , p, increase, the initial response becomes less
steep.
6.3 (a) Obtain the impulse response of two first-order systems in series directly by using
the transfer function in Eq. (6.10), with K = K1K2•
(b) Differentiate the step response given in Eq. (6.12) with respect to time and
compare the result with the impulse response obtained in (a); hence establish that, at
least for this system, one can obtain the impulse response by differentiating the step
response.
(c) Starting from the general, arbitrary linear system model:
d
d/ &step) = (Yimpulse) (P6.1)
where (ystep) is the step response, and (ylmpulse) is the impulse response.
6.4 A parallel arrangement of two first-order systems, each with individual transfer
functions given by:
Kl
gl(s)
T 1s + I
K2
g2(s)
t"2S + I
gives rise to an overall composite system with transfer ftu1ction given by:
(a) You are now required to show that, unlike the series arrangement discussed in
the text, this g(s) has the following properties:
214 PROCESS DYNAMICS
6.5 For the interacting system discussed in Section 6.1.3, introduce the following
deviation variables:
and let y = x 2; further, introduce the parameters, r 1, -r2, Kl' and K 2, precisely as
defined for the noninteracting system discussed in Section 6.1.1 and thereby combine
the expressions given in Eqs. (6.18) and (6.19) into a vector-matrix differential
equation model of the form:
.
x Ax +Bu
y cTx
6.6 (a) Show that the expression for y(t) in Eq. (6.87) attains a maximum only if
~ >r1 and '12, and hence establish that a (2,1)-order system will not exhibit overshoot
unless the lead time constant is greater than both lag time constants; ie., ~ >T1 and '12·
(b) Under conditions guaranteeing the existence of a maximum in F.q. (6.87) derive an
expression for the time tmax at which this maximum occurs; also derive an expression
for the timet 1 when the ultimate value K is first attained.
6.7 Using whichever control system simulation software is available to you (e.g.,
CONSYD, CC, Matlab, etc.) obtain unit step response plots for systems whose
transfer functions are given below:
2(3s + 1)
(a) g(s) = (2s + l)(s + 1)
6.8 An industrial distillation column of an unusual design is the first part of a complex
monomer /solvent recovery system used to separate the components in the product
stream of a polymerization reactor. After a carefully conducted procedure for
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 215
process identification (see Chapter 13), the dynamic behavior of the most critical
portion of the colunm was found to be reasonably well characterized by the transfer
function:
6s 2 + s + I
g(s) = (6s + i)(s 2 + 3s + I) (P6.2)
(a) How many poles and how many zeros does this system transfer function have
and where are they located?
(b) Use a control system simulati'on package to obtain the system's unit step response;
what do you think might be responsible for this somewhat unusual response?
(c) Expand g(s) in the form:
As+ B C
g(s) -s2~+"--c:'3-s~+- + -6-s-+-1 (P6.3)
What insight does such an expansion give in terms of an "empirical mechanism" for
explaining the observed system behavior?
6. 9 In modeling the process of drug ingestion, distribution, and subsequent metabolism in
an individual, a simplified mathematical model was given in Problem 4.4 at the end of
Chapter 4 as:
dx 1
-k 1x 1 +u (P4.3)
dt
dx2
dt klxl -k2x2 (P4.4)
y x2 (P4.5)
101----,
u(t)
0 5 Time,Mina
(P6.6a)
(P6.6b)
where:
dx 1
dt = allxl - a,r2 + bu (P6.7a)
dx 2
dt = a21X1 - a22X2 (P6.7b)
CHAP 6 DYNAMI CS OF HIGHER ORDER SYSTEMS
217
For the specific pond in question, the appropria te paramete r values are estimated
to
be: ~1 =1.0; au= 1.5; ~1 =2.0; au= 2.0; and b =0.25.
Reduce the two equations to a single second-or der differential equation in x
2 of the
Corm:
{P6.8)
and give the values of the new parameters f3o, {J1, Pz,
and ;. From your knowledge of
second-or der systems, what do these paramete rs indicate about the type of behavior
predicted for x2 by the approxim ate model? Finally, obtain and plot the actual
unit
step respon~e of x2• Comment on whether or not the prediction s of this simplified
,
linearized model are consisten t with the dynamic behavior observed via the
pond
monitoring system
6.11 Revisit Problem 6.10. By taking Laplace transform s of the modeling equations
(P6.7a,b), solve the two equations simultane ously for x (s) and x (s) and
1 2 obtain
transfer function models of the Corm:
(a) Write explicit expressio ns for the two transfer functions g (s) and g (s);
1 2 first
compare and contrast them, then confirm that the expressio n obtained for
x 2 in
Problem 6.10 is equivalen t to that obtained here in Eq. (P6.9b).
(b) Using the transfer function representa tion in Eq. (P6.9a), obtain and plot
the unit
step response of x1, the mass concentra tion of M in the pond. Compare this
1 plot
with that obtained in Problem (6.10) for the mass concentra tion of M •
2
6.12 The following transfer function was obtained by correlatin g input/ou tput
data
collected from a series ensemble of three CSTR's used for the sulphonat ion reaction
in a detergent manufacturing process:
) 3.6
g(s = {12s + 1){15s + 1)(20s +I) {P6.10)
The input to the process u is the mole fraction of the main reactant in the feedstream
to the first reactor; the output y is the normalize d (dimensionless) weight percent of
the product at the third reactor's outlet. The time units are in minutes.
(a) Obtain an expressio n for the system's response to a change of 0.1 in the
system
input, and use a control system simulation package to obtain a plot of this response.
(b) The final reactor, having been identified in isolation from the rest as the
one with
a time constant of 20 min, and with a gain of 1.5, is to be taken out of commissi
on
temporari ly. All other things being equal, what will be the transfer function
of the
surviving two-react or ensemble ? Obtain and plot the response of the smaller
ensemble to the same input as that in part (a); compare this plot with that obtained
in
part (a). ·
(P6.11)
(P6.12a)
(P6.12b)
with
Using the Lake Superior parameters given above, obtain the time behavior of the
pollutant concentrations C1 and C2 in response to a cluznge inC; of 5 kg mole/km3.
Plot these responses and compare them with the response predicted by the simpler
model in Eq. (P6.11).
(b) Were the lake now assumed to be stratified into three distinct layers of equal
volume V1 = V2 = V 31 and each with respective pollutant concentration C1, C2, and
C31 write an appropriate model, the equivalent of the one in Eq. (P6.12); state your
assumptions. Plot the time responses of C1, Cz, and C3 to the same change in C; used
in part (a) above. Compare with the plots in part (a).
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 219
~ . . . . . . . . . .~I~=
Blend Tank F*
x•
Holding Tank
6.14 Figure P6.3 is a simplified schematic diagram of a gasoline blending process. Stream
A of gasoline with octane rating XA comes directly from the production facility at a
volumetric flowrate FA gal/min; stream B of gasoline with uniform octane rating
X 8 is drawn from a storage tank, and its flowrate, F8 gal/min, is determined by a
very effective control system designed to maintain the octane rating of the gasoline
stream exiting the blend tank at the desired value, x·. The blended gasoline flows
into the holding tank at a flowrate F" determined by the level in the blend tank. A
metering pump draws the blended gasoline out of the holding tank at a constant,
supply flowrate F5 gal/min.
1. XA, the octane rating of the gasoline in stream A is constant; only the
flowrate FA varies. (In reality, both change.)
2. The gasoline density is essentially constant at p regardless of the octane
rating.
3. The control system works perfectly, so that the octane rating of the blend
tank gasoline is not only uniform, it is also constantly held at X"; the blend
levei h1, however, changes because of the control moves made on F8•
4. The cross-sectional areas of the blend tank A1 and that of the holding tank
A 2 are uniform and constant.
5. The flowrate F" is directly proportional to the level h1 .
(a) Obtain a reasonable mathematical model which describes the dynamic behavior
of the levels h1, and h2 of the blended gasoline respectively in the blend tank, and the
holding tank. Define the deviation variables:
cast your model in terms of these variables and obtain a transfer function model
relating u to x2•
(b) Obtain an expression for the response of the holding tank level (x 2 in deviation
variables) to a rectangular pulse of magnitude Sin flowrate F N lasting for 9 time
units. To what value does x2 settle ultimately?
\ 220
6 41 + y = Su(t)
2dfl + 1.414 dt (P6. 14)
MR
Tissue
Reservoir
KAKT - + (KA
- + Kr'JAs
- - fJ - - + K- T ) •
IL + IL
• T • • Q '7'7
QVA VA VA
BA 1 MR MR
= BA,Fco/ (t) +-.-- + Q +A; (P6.15)
VA
(P6.16)
where each (•) indicates a derivative with respect to time. The variables in these
equations are defined as follows:
KA Volume of lung (alveolar) reservoir
KT Volume of tissue reservoir
8~ Alveolar concentration of C02
8A = Rate of change of alveolar concentration of C02
l!r Tissue concentration of C02
tk Rate of change of tissue concentration of C02
VA Ventilation rate
Q Cardiac output
B Barometric pressure
A.., Ai = Parameters of an empirical absorption relation
MR = Rate of metabolic C02 production
Fco 1 = Fraction of C02 in inspi!Jd gas
(witb the implication that Fco 1 VA represents the rate of C02 intake via
inspiration.) 2
take Laplace transforms and show that the equivalent transfer function model for
this biological system is the following set of equations:
(~ 2 s+ I)
---"----~ u(s) (P6.17a)
( 1" Is + 1)( -r2s + I)
- - - =K- - - - - u(s) (P6.17b)
(r 1s + l)(r2s +I)
and hence that:
(~ 2 s + I)
YI (s) ~ K y2(s)
6.17 (a) Revisit Problem 6.16. An inspection of the transfer function representing the
behavior of the alveolar concentration of C02 indicates the presence of a zero. From
the definition of ~2 in terms of actual physiological parameters, and in terms of its
relation to the "effective time constants" r 1 and 12 introduced in Problem 6.15, will
the step response of the alveolar C02 concentration ever show an overshoot?
(b) For the specific situation in which the following parameters are given (cf.
Grodins et al. (1954) cited in Problem 6.16):
• 5liters/min; B = 760 mrn Hg;
Ky ~ 40 liters; Q~ 6liters/min; KA = 31iters; VA=
A5 ~ 0.00425liters/liter/mm Hg
obtain and plot the change observed in the tissue C02 concentration (y1) and the
alveolar C02 concentration (y 2 ), in response to a change of 0.1 in the inspired
fraction of C02, Fro,.'·
:---- ~ -
ts + 1
+
Qu<•> PAS(s)
~ ~ -
s(u + 1)
Figure P6.5.
CHAP 6 DYNAMICS OF HIGHER ORDER SYSTEMS 223
where '!', the systemic arterial system's effective time constant, and the gains K1, K2,
are defined in terms of physiological parameters as:
1
K,.=-
c,.
with:
R5 a linear Poisseuille resistance (arising from the hydraulic analog on
which the fu11-scale model is based),
CAs systemic arterial compliance,
Cvs systemic venal compliance,
C5 = (CAs+Cv5),thetotalcompliance.
(Compliance is defined as a ratio of volume to pressure.)
and identify the poles and zeros of the consolidated transfer function, leaving these
in terms of the given parameters, r, Kv and K2. If the model were to be used instead to
study the effect of the rate of transfusion on systemic arterial pressure, where
transfusion is defined as blood flow to the system from the external environment
(precisely the reverse of hemorrhage), what changes, if any, need to be made in the
model?
(b) Again, in terms of the parameters r, K1, and K2, obtain an expression for the
response of PAS to a unit step change in QH. From your result, deduce the long-term
effect of sustained hemorrhaging on the systemic arterial load pressure.
(c) Given the following parameters: R5 =0.0167 mm Hg; Cv5 =500 cc/mm Hg, (cf.
Grodins 1959), obtain and plot the response of PAS to a rectangular pulse in QH of
magnitude 20 cc/s, sustained for 30 s, for two different values of
CAs~ 250 cc/mmHg, CAs= 750 cc/mmHg. To what ultimate value does PAS settle in
each case?
\
CHA PTE R
7
INVERSE-RESPONSE SYSTEMS
When the initial direction of a process system's step response is opposite to the
direction of the final steady state, it is said to exhibit inverse response. There
is an initial inversion in the response of such processes that starts the process
output heading away from its ultimate value; this is later reversed, and the
process output eventually heads in the direction of the final steady state.
Unusual as this phenomeno n may appear, it nevertheless occurs in enough
real processes to warrant a closer look. In doing so, we will see that systems
that exhibit such inverse-response characteristics actually belong in the same
class as the higher order systems with zeros studied in Chapter 6. However,
while the zeros of the previously studied systems have all been negative, we
will find that inverse-res ponse behavior is associated with the presence of
positive zeros; i.e., zeros located in the right-half of the complex s plane.
(7.1)
and because the second "mode," g2(s), appears to be in "opposition" to the first
"mode," g 1(s) (by virtue of the negative sign), we refer to g 1(s) as representin g
the "main mode" and to g2(s) as the "opposition mode" of the system.
Let us consider in particular the situation where we have a system
composed of two opposing first-order modes (see Figure 7.1), i.e.:
Kl K2
g(s) = -r I s + 1 - 't: s + 1 (7.2)
2
where both steady-state gains are positive, and by definition, we consider the
"main" steady-stat e gain K1 to be larger than the "opposition " steady-state
gain K2 •
225
226 PROCESS DYNAMICS
u(s) y(B)
The dynamic behavior of such a system, obtained from the usual transfer
function model:
y(s) = g(s) u(s)
will in this case be given by:
or
(7.3b)
where y1(s) is the response of the "main" first-order process, and y 2(s) is the
response of the "opposition" first-order process.
Let us now investigate the qualitative nature .of this system's unit step
response.
It is clear from Eq. (7.3b) that the overall unit step response of this composite
system will be the difference between the unit step response of system 1 and
that of system 2.
Steady-State Considerations
Initial Slope
~ (7.5)
dt
The application of Eq. (7.5) in particular for t = 0 now assures us that the net
initial slope of the composite system response is, once again, the difference
between the iQitial slope of the "main" system's response and that of the
"opposition" system.
Recalling once more our results for first-order step responses, we
immediately obtain from Eq. (7.5) that the initial slope of the overall system
is given by:
(7.6)
Let us now make an interesting proposition: suppose that the natures of the
"main" and "opposition" systems are such that:
(7.7)
i.e., the initial slope of the opposing system response is greater than the initial
slope of the "main" system response; then the net initial slope of the overall
system response as given in Eq. (7.6) will be negative.
y(t)
-K ---------~----
Negative Final Steady State
b)
Figure 7.2. Initial and final aspects of the behavior of the composite system of Figure 7.1.
\ 228
PROCESS DYNA MICS
When we combine the stead y-stat e considerat
ions with the initia l slope
resul ts, we find that the step respo nse for
this composite syste m, unde r
conditions indicated in Eq. (7.7), will have a
negative slope at the origin -
indic ating an initial down ward trend - and
a positive final stead y-sta te
value. As indicated in Figure 7.2(a), the only way
it is going to be possible for
the respo nse to start out headi ng down ward ,
but end up being ultim ately
positive, is if there is a "tum aroun d" somewhere
between the initial point, t =
0, and when steady state is achieved.
The oppo site behav ior show n in Figur
I K1 1 > IK2 1, but both K1 and K2 are negative. In ethis7.2(b) can be obtai ned if
case the ultimate response
given by Eq. (7.4) will be negative, and the initia
l slope satisfying Eqs. (7.6)
and (7.7) will be positive. Thus the system will
begin to respond in a positive
direction and then reverse itself and ultimately
reach a negative stead y state
as show n in Figure 7.2(b).
Systems whose step responses are characterized
by such an initial inversion
(starting out the process in the "wro ng" direc
tion which is later rever sed so
that the process response eventually heads in the
"righ t'' direction) are said to
exhibit inverse response.
The main point here is the following: ·
(6.83)
CHAP 7 INVERSE-RESPONSE SYSTEMS 229
with
(7.8a)
(7.8b)
- Thus we see that while the overall process gain can be of either sign,
~ < 0 is a requirement for inverse response of g(s) in Eq. (6.93); i.e., g(s)
must have a positive (right-half plane) zero.
With this as background , we will now look into some physical processes
that exhibit inverse-response characteristics. We should now be in a position
to understand , on purely physical grounds, why such behavior is inevitable in
such processes. Once we can identify two opposing mechanisms as being
responsible for the dynamic behavior of a physical process, especially if one of
them exercises greater influence on the process output than the other, it should
no longer come as a surprise if we find that such a process exhibits inverse
response.
The drum boiler shown schematically in Figure 7.3 is the process currently under
consideration. It is typically used for producing steam as a plant utility. The
boiler contains boiling liquid, vapor bubbles, and steam, and the level of
nongaseou s liquid material accumulated in the drum is the key variable of
interest desired to be kept under control.
The observed level of material in the drum is due to both the liquid and the
Steam
Feedwater
Heating
Figure 7.3. Schematic diagram of the drum boiler process.
230 PROCESS DYNAMICS
entrained vapor bubbles that, because of their higher specific volumes, rise
through the boiling liquid and temporarily "settle" on the boiling liquid
surface. This fact is central to the dynamic behavior of the level in the drum
boiler.
Let us now consider how the level in the drum boiler will respond to a
positive step change in the input; i.e., an increase in the cold feedwater
flowrate. First, we note that in the long run, the addition of more feed material
into the drum boiler must ultimately result in an increase in the process
inventory (the heat supply to the reboiler has not been changed). However,
the same action of adding more cold feedwater sets in motion, simultaneously,
an opposing phenomenon: for observe that the entrance of cold water
immediately results in a drop in drum liquid temperature, causing vapor bubbles
to collapse, thus reducing the observed level in the boiler drum.
The overall result is that shown in Figure 7.2(a), where a step change in
the cold feedwater rate initially causes a drop in the boiler level before we
ultimately see the expected increase, a typical inverse response.
The two opposing dynamic modes in the boiler drum process are now fairly
easy to identify:
Observe carefully that the influence exerted on the drum boiler level by the
first mode is by far the greater, in the long run; but this influence is exerted on a
much slower timescale than the less influential second mode. However, despite
the fact that the influence of collapsing bubbles on the boiler drum level is, in
the long run, obviously far less significant, it is nevertheless exerted on a much
swifter timescale. These factors combine to make the drum boiler process a
prime candidate for inverse-response behavior as is well known (see also
Shinskey [1] and Smith and Corripio [2]).
reboiler, pitted against the frothing and subsequent liquid spillage (caused by
the same action responsible for the boil-up) responsible for the less substantial,
but rapidly executed, initial increase ~ the reboiler material. The first mode
exerts the more substantial influence but on a much slower timescale; the
influence of the second mode is less substantial in the long run, but it is exerted
on a much swifter timescale. The inevitable result of such a combination is
inverse response of the form shown in Figure 7.2(b ). (See also Luyben[3].)
When the temperature of the reactants in the feed stream to a tubular catalytic
reactor is increased, the temperature of product material at the reactor exit
exhibits inverse-response behavior if the reaction is exothermic. The reason for
this observation is as follows.
The increase in the feed temperature has the initial effect of increasing the
conversion in the region near the entrance of the reactor, thereby depleting, for
a short period, the amount of reactants that will reach the region around the
exit. This results in a temporary reduction in the exit temperature.
However, the catalyst in the bed begins to increase in temperature so that
eventually the reactants reaching the exit region do so at a higher
temperature, promoting an increase in the reaction rates in this region, and
ultimately resulting in an increase in the exit temperature.
Once more, we see the initial reduction in the amount of unreacted material
reaching the exit region as the less significant, yet fast mode, standing in
opposition against the increase in reactant temperature, the mode that has the
more significant influence on exit temperature but whose influence, even though
steady, is on a slower timescale. Thus the reactor exit temperature will respond
as shown in Figure 7.2(a). Reference [2] (p. 391) reports an example of another
chemical reactor that exhibits inverse-response characteristics.
K (-1]s + 1)
g(s) (7.9)
where 11 > 0. Note also that this is just the (2,1)-order system discussed in
Chapter 6, with ~ = - 7].
Observe that this transfer function has two poles located at s = -1/r1 and
s = -1/r2, but its only zero is located ass = + 1/11; i.e., it is a positive zero.
Because of the location of the zero in the right-half of the complex s plane,
such zeros are commonly referred to as right-half plane (RHP) zeros.
232 PROCESS DYNAMIC S
7.3.1 Unit Step Respons e
The unit step response for this system may be obtained using Eq. (7.9) and the
usual transfer function model with, u(s) = 1/s, i.e.:
(7.10)
Ultimate Response
K (7.11)
Initial Slope
Let dy(t)/dt represent the derivative of the unit step response function. We may
now employ the initial value theorem of Laplace transform s to obtain the
initial value of dy(t)/dt, the value of the initial response slope at the origin.
In this case, we have:
. d"ft\
Il i D = = (7.13)
1-> 0 dt
finally giving:
lim 4J.ffi ..::K!1_ (7.14)
I-> 0 dt 't"I 't"2
Since TJ, -r1, -r2 are all positive, then the initial slope takes the opposite sign of
the process gain. This fact combined with the results of Eq. (7.11) prove that
the system Eq. (7.9) will always show an inverse response.
We may now obtain the complete unit step response from Eq. (7.10) in the
usual manner, yielding:
(7.15)
This is similar in every respect to the solution to Eq. (6.84) but with the singular
and most important exception that the substitution ,; =- TJ < 0 has been made in
Eq. (6.87).
Figure 7.4 shows this response for the system with K = 1, -r1 = 2 min, 't":z = 5
min, and TJ = 3 min; i.e., the system whose transfer function is given by:
( -3s + I)
g(s) = (2s + I)(Ss + I) (7.16)
The response of this system to other input functions can be found using the
same principles and is left as an exercise for the reader (also see problems at
the end of the chapter).
1.00 -------------:::--=------
0.75
0.50
y(t)
0.25
0.00
Figure 7.4. Unit step response of a system with one right-half plane zero.
234 PROCESS DYNAMICS
(7.18)
where
-r. + 71
IJ.·
I
= _,__'r;
; i = 1,2 (7.19)
For the system whose transfer function is given in Eq. (7.16) and whose step response
is given in Eq. (7.17) show from this step-response expression that this is an inverse-
responding system and find the time at which the response experiences "tum around."
Solution:
The first characteristic of the response obtained from systems of the type indicated
in Eq. (7.6) is that the initial slope possesses a different sign from that of the ultimate
value. From Eq. (7.17) we see immediately that:
y(oo) =
which is positive.
Differentiating Eq. (7.17) gives:
41_
dt =
_i..-112+!....-tJS (7.20)
6~ IS~
kd t I 1•0 =
-0.3
so that with the negative initial slope and a positive final value, the response is
identified as an inverse response.
The process response experiences "tum around" at the point where the response
passes through a minimum. By setting the expression in Eq. (7.20) to zero, we observe
CHAP 7 INVERSE-RESPONSE SYSTEMS 235
which when solved for t gives the time of the minimum tm:
or
tm = 1.488 min
Alternatively, one could substitute directly into the general result Eqs. (7.18) and
(7.19) to obtain tm.
(7.21)
( -3s + I)
g(s) = (2s + 1)(5s + I) (7.I6)
the system with one RHP zero and two poles, whose unit step
response was
present ed in Eq. (7.17) and in Figure 7.4.
• System B:
( -3s ~ I)
g(s) = (2s + 1)(5s + I)(4s + I) (7.23)
a system with one RHP zero and three poles, one more than System
A.
• System C:
( -3s + l)(s + I)
g(s) = (2s + l)(5s + 1)(4s + I) (7.24)
a system with one RHP zero, one regular , negativ e zero, and
three poles, one
zero more than System B, and one pole and one zero more than
System A
Figure 7.5 shows the unit step respon ses of Systems A and
B. Right away,
we clearly see that the influence of the additio nal pole possess
ed by System B
is to slow down its respon se in compar ison to that of System
A. Observ e also
that as a result of the increas ed sluggis hness of System B, the
inverse respon se
it exhibit s is less pronou nced than that of System A Thus
the effect of an
additio nal pole is to slow down the overall respon se while
reduci ng the
strengt h of the initial inverse response.
When one zero is added to the System B transfe r functio
n, the result is
System C. A compar ison of the unit step responses of these two
systems is shown
in Figure 7.6. As expected, the additio nal zero causes the System
C respon se to
be so.mewhat swifter than that of System B. 'J,'he effect
of a simulta neous
additio n of a pole and a zero to the transfe r functio n of System
A, to produc e
System C, is demon strated by the unit step responses shown
in Figure 7.7.
1.00
0.75
0.50
y(t)
0.25
0.00
-0.25~rrrT~-.rT~-rrT~~rro
0 10 20 30 40
time
Figure 7.5. Unit step respons es of systems A and B, demons trating the
effect of an
additional pole.
CHAP 7 INVERSE-RESPONSE SYSTEMS 237
1.00
0.75
0.50
y(t)
0.25
0.00
-0.25
0 10 20 30 40
time
Figure 7.6. Unit step responses of systems Band C, demonstrating the effect of an
additional zero.
1.00
0.75
0.50
y(t)
0.25
0.00
-0.25
0 10 20 30 40
time
Figure 7.7. Unit step responses of systems A and C, demonstrating the effect of an
additional zero and pole.
Because the additional lag term, (4s + 1), contributing the pole has a stronger
effect than the added lead term, (s + 1), contributing the zero, the overall effect
is biased towards that due to the added pole; the system response is slowed
down, and the strength of the initial inverse response is reduced.
The initial portion of the step response of a system with multiple RHP
zeros will exhibit as many inversions as there are RHP zeros.
238 PROCESS DYNAMICS
From this general result, we may now make the following deductions:
1. The step response of a system with one RHP zero exhibits (as we now
know) one inversion. If the step response is therefore to end up in the
right direction, it must first start out in the wrong direction; this, of
course, is what we have seen in the examples presented thus far.
2. The step response of the system with two RHP zeros exhibits two
inversions in the initial portion, with the following consequences: for
this response to end in the direction of the final steady state (as it
must) after executing two inversions, it must start out heading in the
right direction first, take a first inversion and temporarily head in
the wrong direction, and return to the right direction upon the second
and final inversion.
3. The step response of the system with three RHP zeros exhibits three
inversions in the initial portion. Consequently, we observe once again
that such a response must start out in a direction opposite to that of the
final steady state. The first inversion temporarily turns the response
in the right direction, and the second inversion reverses the trend; the
third and final inversion is what puts the response in the direction of
the final steady state.
The system with an odd number of RHP zeros exhibits true inverse
response in the sense that the initial direction of the step response will
always be opposite to the direction of the final steady state, regardless
of the number of inversions involved in this response.
On the other hand, the initial portion of the step response of a system
with an even number of RHP zeros exhibits the same even number of
inversions before heading in the direction of the final steady state, but
the initial direction is always the same as the direction of. the final
steady state.
To demonstrate these results, the unit step responses of: the following
systems are plotted in Figures 7.8, 7.9, and 7.10.
• System D:
( -3s + 1)(-s + 1)
g(s) = (2s + 1){5s + l)(4s + 1) (7.25)
• System E:
( -3s + 1)(-s + 1)(-2.5s + 1)
g(s) = (2s + 1)(5s + 1)(4s + 1)(3.5s + 1) (7.26)
• SystemF:
( -3s + 1)(-s + 1)(-2.5s + 1)(-6s + 1)
g(s) (7.27)
(2s + 1)(5s + l)(4s + 1)(3.5s + 1)(1 + 7s)
0.75
0.50
y(t)
0.25
0.00
- 0.25-J-..~...,...,~....-~.......,.~.....,,................,
0 10 20 30 40 50
time
0.75
0.50
y(t)
0.25
0.00
-0.25 -f..-~T"T"T.....,~.-.,-~......~"T"'""~
0 10 20 30 40 50 60
time
0.75
0.50
y(t) 0.25
0.00
- 0.25-t..-~............,.............~......~..............,
0 10 20 30 40 50 60
time
1. Shinskey, F.G., Process Control Systems (2nd ed.), McGraw-Hill, New York (1979)
2. Smith, C.A. and A.B. Corripio, Principles and Practice of Automatic Process Control, J.
Wiley, New York {1985)
3. Luyben, W.L., Process Modeling, Simulation, and Control for Chemical Engineers (2nd
ed.), McGraw-Hill, New York (1991)
REVIEW QUESTION S
5. If two inverse-response systems A and Bare otherwise identical, except that the system
A transfer function has an additional (left-half plane) pole, how will one system's step
response differ from the other?
6. What aspect of the transfedunct ion determines the number of inversions exhibited by
a system's initial step response?
7. Why is it that a system whose transfer function has an even number of right-half plane
zeros is, strictly speaking, not really an "inverse-res ponse" system in the strictest
possible sense of the term "inverse response"?
CHAP 7 INVERSE-RESPONSE SYSTEMS 241
PROBLEMS
7.1 (a) Derive individual expressions for the response obtained when the system whose
transfer function is given in Eq. (7.16) is subjected to the following inputs:
0; I;?; b
(b) For the two distinct situations in which the magnitude and duration of the pulse
input investigated above are given.as:
1. A= 1/8, b =8,and
2.A=l/2,b=2
obtain plots of the resulting pulse responses and compare them with a plot of the unit
impulse response.
(c) Compare the unit impulse response obtained in part (a) with that of the system
whose transfer function is given as:
(3s + l)
g(s) = (2s + l )(s + l) (P7.!)
7.2 From the expression given in Eq. (7.15), show that the inherent reluctance factor for
this inverse-response system- defined in the usual fashion as:
J = f- 0
[y*- y(t)] dt
(P7.2)
Compare this with the expression given in Chapter 6 for J(2,1), for the corresponding
system with a left-half plane zero.
7.3 While the dynamic behavior of a system with a "strong" left-half plane zero is
expected to be different from that of a system with a "strong" right-half plane zero,
the nature of such differences are, in themselves, quite informative. Plot the unit step
responses of the two systems whose transfer functions are given as follows:
(3s + 1) (-3s + 1)
St(s) = (2s + l)(s + 1) ; and g2(s) = (2s + l)(s + 1)
7.4 Two systems, each with individual transfer functions g 1(s) and g 2(s) are connected
in a parallel arrangement such that the resulting composite system has a transfer
function given by:
242 PROCESS DYNAMICS
(P7.3)
(-r 1s + 1)(-r2s + 1)
K2
Cz(s) = As + I (P7.4)
(a) How many poles and how many zeros will the resulting composite system
possess?
(b) Assuming that both K1 and K,_ are positive, what conditions must be satisfied by
K 2, and A. so that g(s} will no longer be an inverse-response system? (You may find it
useful to know that: A necessary and sufficient condition for the quadratic equation
ax2 + bx + c = 0 to have no roots with positive real parts is that all its coefficients, a, b,
and c be strictly positive.}
(c) It has been proposed that the inverse response exhibited by the system in
Eq. (7.16) be "compensated" by augmenting it with the following first-order system
in a parallel arrangement
(P7.5)
i.e., the parallel arrangement of this first-order system and the inverse-response
system in Eq. (7.16) will result in a composite system that does not exhibit inverse
response. Confirm or refute this proposition.
7.5 (a} A system consisting of a first-order mode in opposition to the main pure capacity
mode, with respective transfer functions g 2(s) = K,_/{-r,s + 1) andg1(s) = K 1 /s, can
exhibit inverse response only if K 1 < K,_/12- Establish this result
(b) The level in a certain ~boiler process is known to exhibit inverse response.
In identifying a dynamic model for this process, input/output data were collected in
accordance with a planned experimental procedure supposedly designed so that the
two opposing modes of the overall process can be identified independently. After
carrying out the appropriate data analysis, the following candidate transfer
ftmction model was obtained:
g(s) gl(s)- g2(s) (P7.6)
where
5.3
c1(s) s (P7.7)
and
10.1
g2(s) = (P7.8)
2.2s +
It is known that the experimental procedure is much better at identifying the ultimate
behavior, characterized mostly by g 1(s), than at identifying the initial transient
behavior, characterized mostly by g 2(s). In fact, an independent researcher has
suggested that this model identification procedure tends to overestimate the first-
order time constant in each typical g 2(s) by as much as 20%. In light of the identified
transfer hmctions given above, provide your own assessment of the identification
procedure.
_K_1_ K2
=
(r2 s + I y
g(s) (P7.9)
r1s + I
will exhibit inverse response only if:
given that
(P7.11)
.7.7 In the science of immunology, it is known that the process of vaccination results in
responses from two subsystems in opposition: the "disease-causing" mode promotes
the growth and replication of the intruding "disease-causing" i::ells; the immune
system. on the other hand, produces the appropriate antibodies required to fight off
the intruding cells. The antibodies produced by the healthy immune system ultimately
overwhelm and completely destroy the disease-causing cells, and then remain behind
in the bloodstream as prophylactic sentries against future attacks. A dynamic
systems approach to the analysis of this process shows that immunization in the
human body is an inverse-response process.
Let x 1 represent the "disease-causing cell count" (in total number of cells per
standard sample volume); in general its "isolated" response to the amount of injected
vaccine u (in cm3) is reasonably well approximated by:
K!
x 1(s) = s(r1s + I)
u(s) (P7.12)
(P7.13)
With regards to the approximate models given above, the following two facts are
pertinent to the analysis:
(P7.16)
(P7 .17)
(a) Show that under the conditions represented in Eqs. (P7.16) and (P7.17), the
transfer function relating y to u has precisely one -not two- right-half plane
zeros and therefore that the response of the "extent-of-immunization index" y to the
amount of injected vaccine u will exhibit true inverse response.
(b) For the specific situation in which a 5 cm3 ampoule of a certain vaccine was
injected into an individual for whom:
K1 = 0.5 K2 (P7.18a)
-r1 = 2 hr, 12 = 3 hr. -r3 = 5 hr (P7.18b)
first establish that this is a situation in which the individual's immune system is
healthy and the vaccine is effective; then approximate this vaccination input as
u(t) = SO(t) and obtain a plot of the response of the "extent-of-immuniz ation index"
y.
(c) Provide your own interpretation of what the "extent-of-immuniz ation index" y
measures. Explain carefully what you think a value of y = 0, a value of y < 0, and a
value of y =1 mean.
7.8 Revisit Problem 7.7. Establish from the general expression obtained there for the
overall transfer function relating y to u that:
(a) For the unhealthy immune system (with K 1 > K 2) into which a unit impulse
u(t) = O(t) of an otherwise effective vaccine has been introduced, the "extent-of-
immunization index" y will settle ultimately to a value of -1 (as opposed to the
desired value of +1) without exhibiting inverse response.
(b) When a healthy immune system receives a unit impulse u(t) = O(t) of a vaccine that
is considered less effective because:
KI
K2 ( Tz + TJ) < Tl• (P7.19)
In each case determine the "health" of the immune system and the "effectiveness" of
the vaccine, and then obtain a plot of the response of the "extent-of-immuniz ation
index" y to an idealized unit impulse input of vaccine, u(t) = O(t). In terms of the two
components of y, provide a qualitative explanation for the observed response in
each case particularly with respect to the immune system's state, and the
effectiveness of the vaccine.
CHAJPTJER
8
TIME-DELAY SYSTEMS
As diverse as the various classes of systems we have studied so far have been,
they do have one characteristic in common: upon the application of an input
change, their outputs, even though sluggish in some cases, begin to respond
without delay.
In the process industries, one often finds systems in which there is a
noticeable delay between the instant the input change is implemented and
when the effect is observed, with the process output displaying an initial
period of no response. Such systems are aptly referred to as time-delay systems,
and their importance is underscored by the fact that a substantial number of
processes exhibit these delay characteristics.
This chapter is devoted to studying time-delay systems: how they occur,
why they are classifiable as infinite-order systems, their dynamic behavior,
and how they are related to other higher order systems.
245
246 PROCESS DYNAMICS
Transport Delay L
a=-
v
0 L
Since the fluid velocity is v, and it is assumed constant, the time for each
fluid element to traverse the required distance from the pipe inlet to the outlet
is L/v. Since the pipe is also assumed to be perfectly insulated, there will be no
heat losses, or any other changes for that matter, experienced by each fluid
element in the process. Thus, any changes implemented in the inlet will be
preserved intact, to be observed at the outlet after the time requiied to traverse
the entire pipe length has elapsed.
From such physical arguments we have arrived at the conclusion that in
response to changes in the process input (i.e., the inlet temperature) the process
output (i.e., the exit temperature) will have exactly the same form as the
input, only delayed by L/v time units.
Let us now show, mathematically, that this is in fact what obtains.
where p, CY, are, respectively, the fluid density, and specific heat capacity,
and T* is the usual, reference temperature (see Chapter 4); the notation lz is
used to indicate that the quantity in question is evaluated at z.
By dividing through by Liz, and taking the limits as Az -+ 0, Eq. (8.1)
becomes:
dT(z,t) dT(z,t}
ar +v ik =0 O<z<L (8.2}
z z +Az
a partial differential equation (PDE). When we pause to consider the fact that
the fluid temperature within the pipe varies not only just along the length of
the pipe but also with time at each point along the pipe, it should not come as a
surprise that this process is modeled by a PDE.
As earlier alluded to, the system whose dynamic behavior is represented
by PDE's is known as a distributed parameter system. Thus the process
currently under consideration is one of such systems.
Let us now define the deviation variable:
where we recall that T(O) = T0 is the initial fluid temperature at t =0 along the
pipe length. In terms of this deviation variable, the process model in Eq. (8.2)
is:
MW ~-o
dt + v dz - (8.4)
To develop a transfer function model for this process, we must now take
Laplace transforms of the expression in Eq. (8.4). From the definition of the
Laplace transform, we have:
or
sy(z,s) + v f~ e-st ay~,t) dt = 0 (8.5)
0
since the first term is simply the Laplace transform (with respect to time) of
the indicated time derivative.
For the second term in Eq. (8.5), interchanging the order of integration and
differentiation (an exercise which can be shown to be valid in this case) gives:
(8.8)
Observe now that Eq. (8.9) represents the relationship between the Laplace
transform of the inlet temperature and the Laplace transform of the
temperature at any other point z along the length of the pipe. Observe further
that the term z/v is the ratio of the distance traveled in arriving at this point,
to the flow velocity, a direct measure of the time taken to traverse the
indicated distance.
We are particularly concerned with the situation at the pipe exit; i.e., at
z =L. In this case, Eq. (8.9) becomes:
and if we define as a the time it takes for a fluid element to traverse the entire
length of the pipe, i.e.:
L
a=-
v
(8.10)
then we have:
Thus the transfer function relating the process input (changes in the inlet
temperature, y(O,s)) to the process output (changes in the exit temperature,
y(L,s)) is clearly seen from Eq. (8.11) to be given by:
(8.12)
We may now use Eq. (8.12) to investigate how this process will respond to
changes in the input function u(t) = y(O,t).
This task is seen to be very easy once we recall the effect of the translation
function of Laplace transforms. We have, for any input u(t) that
which, when converted back to the time domain gives the result:
indicating that the output is exactly the same as the input, only delayed by a
time units, which, from Eq. (8.10) is the time it takes a fluid element traveling
at a velocity v to traverse the pipe length. This, of course, is in perfect
agreement with the conclusions we arrived at earlier from purely physical
grounds.
The process we have been analyzing is perhaps the most common example
of the pure time-delay process. It illustrates the well known fact that the
transportation of material and/ or energy from one part of a plant to the other is
usually accompanied by the phenomenon known variously as transportation
lag, dead time, distance-velocity lag, or simply time delay. Thus, recycle
loops, flow through connecting pipes, etc., all contribute to the existence of the
phenomenon of time delays in the process industries.
In measuring fluid concentrations using such equipment as gas or liquid
chromatographs, the finite period it takes for the fluid to flow through the
equipment and for the analysis to be completed constitutes another source of
time delays in physical processes.
As we will see later, time delays also appear in approximate linear models
of complicated processes. However, in such cases the delay is not associated
with pipes or other transportation processes; it is simply a more economical
means of approximating higher order dynamics.
Let us now formally discuss the dynamic behavior of the pure time-delay
process.
is known as a pure time-delay process because its response to any input is merely
a delayed version of the input.
It is important to note that the processes we have considered up until now
have all had transfer functions that are ratios of (finite-order) polynomials in
s. Obviously, this is not the case with the pure time-delay process whose
transfer function, as indicated in Eq. (8.15), is a transcendental function.
An attempt to obtain a rational version of the transfer function in Eq. (8.15)
by recasting it as:
1
g(s) = e"•
and carrying out a Taylor series expansion for eas results in:
(8 ..16)
n•:Lb ''':~
0 a
e) Impulse Response
t
d) Ramp Response
The response to some of the standard input functions we have been using thus far
are summarized in Figure 8.3.
Of special note is the sinusoidal response. In this case, the input is A sin mt
and from Eq. (8.17), the output is given by:
When compared to the input function, Eq. (8.18) indicates that the frequency
response of the pure time-delay system has the following amplitude ratio and
phase lag characteristics:
AR = 1 (8.19a)
~ = -aw (8.19b)
(6.78)
CHAP 8 TIME-DELAY SYSTEMS 251
Let us now formalize the heuristic arguments with which we earlier
attempted to deduce the dynamic behavior of this system in the limit as
N~oo.
From the expression in Eq. (6.78) we obtain the required limits as:
lim (8.20)
N-->~
To evaluate the limits on the RHS of Eq. {8.20) requires the following
arguments:
The. definition of the exponential number e is:
e = m-+oo
lim (1 + lm)f
so that:
1
e-a = lim ( 1 +- )-am
m-+oo m
lim
m-+~
from where it becomes very clear that the limit in Eq. (8.20) is:
which is exactly the same as the transfer function given for the pure time-
delay process given in Eq. (8.15).
We now have the following result:
The most significant implication of this result is that the pure time-delay
system, identified in the more revealing transfer function form in Eq. (8.16) as
an infinite-order system, is conceptually equivalent to a system composed of an
infinite sequence of first-order systems in series. Of more practical importance
is the fact that a high-order system (for example, a large number of first-order
processes in series) will therefore tend to behave very much like a pure time-
delay system.
252 l:'KUCJ;;~~ VYNAMJC:>
Consider the system shown in Figure 8.4. This is the same isothermal CS1R
discussed in Chapter 5, but this time the feed stream is shown as being
transported to the reactor, at a constant velocity v, through a long cylindrical
pipe of length L, and unifonn cross-sectional area.
The feed is assumed to contain species A diluted with water to achieve a
concentration c0 • We assume the feed is cold so that no reaction takes place in
the pipe; the reaction starts as soon as feed enters the reactor; the concentration
of A at the reactor inlet is Cr
We now make the following observation s about the dynamic behavior of
this process: ·
2. From the discussion in Section 8.1, we know that the long pipe behaves
like a pure time-delay process, only in this case, it is material, not
energy, which is being transported . The relationship between the pipe
inlet concentrati on c0 and the pipe outlet concentration c1 is therefore
given by:
(8.23a)
where a= L/v. In terms of the deviation variables w(t) = c1(t)- cls(t) and
u(t) = c0(t) - co.( f) this relationship becomes:
Concentration Measuring
Controller Device
Figure 8.4. A chemical reactor where reactants are mixed a long distance upstream.
CHAF li l'JMt.-Ut.L IH ;:,r:>JIJM:>
r------- -------- -------- ,
I I
u(s) 1
!._ ________ __ _
3. From Eq. (5.9) and the discussion in Section 5.1 of Chapter 5, the reactor
was identified as a first-orde r system; i.e., if the deviation of the
reactor outlet concentra tion cA(t) from its steady-sta te value cAs is
designate d y(t), the transfer function relationsh ip between w(s) (which
is the reactor input) and y(s) is given by:
K
y(s) =- - w(s)
'I:S + 1
(8.25)
y(t)
a-t
0,_-r-,--T-.-~-,~~--~-,
0
Figure 8.6. Response of system in Figure 8.4 to a unit step change in pipe inlet
concentration.
254 PROCESS DYNAMICS
Thus, for example, the response to a step change in pipe inlet concentration
will be as shown in Figure 8.6; here the period of no response corresponds to the
time required for the reactant at the new concentration to travel through the
pipe and enter the reactor. It is after this time has elapsed that the first-order
dynamic behavior of the reactor (by itself) is observed.
and in general, for the (p,q)-order system with associated time delay a, the
transfer function is:
g(s) (8.29)
(8.30)
'
_u<_s>~1-t•-11
'
l----1•~1
~
e-«•
.. g"(s)
---------------------------------
Figure 8.7. Block diagrammatic representation of the general time-delay system.
CHAP 8 TIME-DELAY SYSTEMS 255
(8.31)
Solution:
0.66 e- 2 · 6 s
g(s) = 6. 7 s + I (8.32)
2. From our earlier results on the response of first-order systems (see Eq. (5.13)) the
unit step response of the nondelay portion of this process is given by:
If we now combine with this the effect of the time delay, which is to shift the response
1.0
0.8
0.6 ---------~-~-~--------
y(t)
0.4
0.2
0.0
0 10 20 30 40
TIME(min)
Figure 8.8. Unit step response for the system of Example 8.1.
256 PROCESS DYNAMICS
by 2.6 minutes, the time-delay system step response is now given by:
O·
{ o.'66( I < 2.6
(8.33)
y(t) = 1 e-(t-2.6)/6.7); 1 > 2.6
Our earlier result that the pure time-delay system is equivalent to an infinite
sequence of identical first-order systems in series has some useful implications.
If the behavior of N first-order systems in series approaches that of a time-
delay system in the limit as N becomes very large, it seems plausible to
attempt to approximate the behavior of very high-order systems as if they
were time-delay systems.
To illustrate this concept, Figure 8.9 shows the step responses of a fourth-
order system (consisting of four first-order systems in series) and that of a first-
order system with time delay. •,
The advantage in adopting such an approximation strategy lies in the fact
that fewer parameters are required to characterize the approximate model
than the full Nth-order model. Observe that the Nth-order system is
characterized by N+l parameters: N time constants and one steady-state gain,
whereas the first-order system with time delay is characterized by only three
parameters.
In addition, we need to keep in mind that all models are really
idealizations of true process behavior; and no one model is capable of perfectly
representing reality. It is in this sense that an approximate but simpler model
may be preferable.
Approximating the behavior of very high-order systems with that of low-
order systems with delays is a common strategy adopted in Process Control
practice. As we will see later, this strategy is not only useful for dynamic
analysis, it is sometimes an important aspect of controller design.
One system of importance in the process industries whose time-delay
characteristics are explicitly due to the physical presence of a flow time delay
is the heat exchanger. Let us now briefly examine its dynamic behavior.
y(t)
Figure 8.9. Comparison of step responses of a high-order system with that of a first-
order-plus-time-delay system.
CHAP 8 TIME-DELAY SYSTEMS 257
~----~~~~--------~Suam
--'-v--1_ T(z,t)
t Condensate
The mathema tical model for this process (derived in Chapter 12) is:
where {3 is a heat transfer paramete r (see Chapter 12):· In terms of the usual
deviatio n variables, the process model is:
~
at + v ~ t - y (z,t )]
ik "' {3[ u () O<z<L (8.35)
To develop the transfer function model for this process, once again we must
the
take Laplace transform s of Eq. (8.35). Using the same strategy as before,
result is:
d
sy(z,s) +· v ~ y(z,s) = {3 ([u(s)- y(z,s)] J
~ 11 u(s)
_._ = - !.L±Jl)_ y(z,s) + (8.36)
"' v v
(8.37)
and in particular for z = L (heat exchanger exit conditions) the transfer function
model is:
(8.38)
and
(8.40)
K 1 = e-a/J (8.41)
(8.42)
where
CHAP 8 TIME-DELAY SYSTEMS 259
gl(s) = ~
s+,.,
1
= (li{J)s + 1 (8.43a)
and
Kl e-as
g 2(s) = ( 11{J)s +1 (8.43b)
the first being a pure first-order system with steady-state gain 1, and time
constant 1/[3, and the second, a first-order-plus-time-delay system with steady-
state gain K1, same time constant 1/[3, and time delay a.
The disturbance transfer function gd(s) is that of a pure time-delay system
with nonunity gain Kr The reader should be convinced from Eq. (8.41) that this
gain is positive, and less than 1.
These facts significantly simplify the dynamic analysis of an otherwise
complex system. In fact, contrary to popular expectations (see Coughanowr and
Koppel, Ref. [1], pp. 356, 357) the dynamic response of this system is now very
easy to obtain, as illustrated by the following examples.
Obtain an expression for the dynamic behavior of the temperature of the fluid leaving
the heat exchanger of Figure 8.10 in response to a unit step change in the steam
temperature, assuming the inlet temperature T(O,t) has remained constant.
Solution:
When the inlet temperature is kept constant, the dynamic behavior of the heat
exchanger outlet temperature is obtained from:
From Eq. (8.42) and the expressions in Eq. (8.43) we observe that y(t), the unit step
response we seek, is given by:
(8.44)
where y 1(t) is the unit step response of the first-order system whose transfer function
is given in Eq. (8.43a), and y 2(t) is the unit step response of the system indicated in
Eq. (8.43b).
We may now call upon our previous knowledge of the dynamic behavior of such
systems; this enables us to write down immediately the expressions for y1(t) and y2(t)
as:
(8.45)
and
260 PROCESS DYNAMICS
(8.46)
(8.47)
If we now subtract Eq. (8.47) from Eq. (8.45), as indicated in Eq. (8.44) we obtain the
required unit step response as:
I - e-Pr ; t < a
y(t) ={ 1 - e-a
fJ
; t >a
(8.48)
where we have made use of Eq. (8.41) in place of the surviving K1 term in the second
half of the expression.
The expression in Eq. (8.48) indicates that the change observed in the temperature
of the fluid at the heat exchanger outlet (as a deviation from the initial steady-state
value) starts out i.l1creasing exponentially, with no delay, and afrer a time units have
elapsed (the time required for any incoming fluid element to travel through the entire
inner pipe) the temperature change takes on a constant value, 1- e-afl. The response is
shown in Figure 8.11. (It is left as an exercise to the reader to confirm that, on purely
physical grounds, this response is indeed what we should expect)
Obtain the response of the remperature of the fluid leaving the heat exchanger to a unit
step change in the inlet temperature T(O,t) when the sream remperature is kept constant
Solution:
From Eq. (8.38) (or the simplified, general form in Eq. (437)) when u = 0 (for this is
the implication of keeping the steam temperature co~tant) the response to this
disturbance input is obtained from:
y (s) = gJ..s)d(s)
From Eq. (8.40) we easily see that the response will be that of a pure time-delay sysrem
with gain K1; i.e., instead of a repetition of the unit step function shifted in time, we
have:
y(t) =
or
y(t) {8.49)
CHAP 8 TIME-DELAY SYSTEMS
261
change in
Figure 8.11. · Response of the heat exchanger exit temperature to a unit step
steam temperature .
mation,
Howeve r, a large number of terms are required to give a good approxi
to very high-or der systems . A better approac h is to use Eq. (8.50),
leading
ent to
which retains relatively low-order terms, but which can be made equival
in Eq. (8.51). The coeffici ent set a;, bi which causes
the leading terms
of terms
Eqs. {8.50) and (8.51) to be equival ent for the maximu m number
Eq. (8.51) (for a specific order p,q) is termed a "Parle approxi mant."
262 PROCESS DYNAMICS
a
1- 2s
--- (8.52)
a
I+ 2s
a a2
1- 2 s + 12s 2
e-as = (8.53)
a a2
1+ 2 s + 12 s2
(8.54)
(8.55)
CHAP 8 TIME-DELA Y SYSTEMS 263
1.0
0.6
-0.6
Va
Figure 8.12. Unit step response of a pure time-delay system using first-, second-, and
third-order Pad~ approximations.
10
AR 1
0.1 .
1 10 1cf
Figure 8.13. Frequency response of a pure time delay and the first-, second-, and third-
order Pade approximations.
264 PROCESS DYNAMICS
1.00
____ ..,.._
0.75
Figure 8.14. Unit step response of a pure time delay using the N first-order system
approximation.
(8.56)
The step response of Eq. (8.56) is shown in Figure 8.14 for N up to the 15th order.
The frequency response of this approximat ion is shown in Figure 8.15. Note
that the phase lag can be matched reasonably well, but the amplitude ratio
fails badly at high frequencies. In general, the Pade approximat ion gives much
better results for the same model order than the high-order system
approxima tion.
exact
""',.,._.,....,__-+-- 5th
1st order
order
AR .....,..f"<--1--
10th order
15th order
10-1-r~~~~~+-~~-rMH~--~,-rr~
101 1 10 10 2
o~---=~~===+~~~
1 10
Figure 8.15. Frequency response of a pure time-delay using the N first-order system
approxirna tion.
265
CHAP 8 TIME-DELAY SYSTEMS
1. State space
2. Transform domain
3. Frequency response
4. hnpuls e response
ning time delays in
However, we did not deal explicitly with models contai
Now that we have introd uced the time delay and
that earlier discussion.
delays are introduced
reviewed some of its properties, let us indicate how time
sed earlier . We shall consider only
into each of the linear model forms discus
s here; discret e-time system model s with time delays
continuous-time system
are discussed in Chapters 23-26.
will have the same form as without delays except that g(s), g (s) will have
terms e-as, e-fls, e-'1•, e-lls to represent the delays in Eq. (8.57). Thus a general
form would be:
N
I, b.(s)e-a.s
g(s) = .: ,"
M,_-=-l- - -
(8.58)
2:, am(s)e-fl.S
m= l
where the am(s),bn(s) are rational polynomials in s. The more usual form that
arises when there is only an input or output delay is:
would have the form of Eqs. (8.58) or (8.59). A fuller discussion of this will be in
Chapters 20-22.
g(jm) =
a=l
M (8.60) J
L am(jm)e-ifl,.(IJ
m=l
and
g(jm) = g"(jm)e-i- (8.61)
When one uses the identity:
e-il = cos~-jsin;
one sees that the frequency response of Eqs. (8.60) or (8.61) is straightforward to
determine.
1
CHAP 8 TIME-DELAY SYSTEMS 267
y(t) = f
0
G(t- u)u(cr)du + J'0
G,tt- cr)d(cr)dcr (4.46)
(4.76)
Ke-a.
g(s) =- -
Ts +I
(8.62)
0 < t<a
(8.63)
This expression for g(t) can just as easily be inserted into Eq. (4.21) as the
expression in Eq. (4.76). Thus time delays introduce no special problems for
impulse-response models.
To summarize, we see that time delays can be introduced into each of the
model forms without any special problems.
8.7 SUMMARY
We have been mainly concerned in this chapter with studying the
characteristics of time-delay systems: those systems for which there is a delay
period between when an input change is implemented and when the response is
observed. The sources of such behavior in physical processes have been
identified, the characterizing factor in their mathematical model identified,
and the most salient features of their responses discussed. .
We have seen that simple time-delay systems are composed of regular
dynamic systems connected in series with pure time-delay elements. Thus their
responses are exactly like those of "normal," undelayed systems, only shifted in
time. The transfer functions of time-delay systems involve the exponential
term e-us, which accounts for the observed time shift in the process responses.
268 PROCESS DYNAMICS
A very importan t aspect of the discussion in this chapter is the fact that
the dynamic behavio r of very high-ord er systems are often conveni ently
I
approxim ated by lower order models with time delays. This has certain
implications as far as controller design is concerned which we will have cause
to refer to later on.
When the transcen dental nature of the time-del ay system's transfer
I
be
function model is a problem, rational approximations of different types may
used. Both Pade approximations and high-order system
been discussed and their properties analyzed.
approxim ations have 'I'
I
i
REFERENCES AND SUGGESTED FURTHER READIN G
1. Coughan owr, D. R. and L B. Koppel, Process Systems Analysis tmd Control, McGraw-
Hill, New York (1965) (2nd ed., D. R. Coughano wr, McGraw-Hill, New York
(1991)) l1
.j
!
PROBLEMS
(P8.1)
for this specific distillatio n column, obtain an expressio n for the dynamic behavior
such a
observed in u(t) as a result of a unit step change in the disturban ce d(t) under
Sketch this response showing clearly all importan t distinguis hing
control strategy.
factors.
"
8.3 Revisit Problem 5.6. First obtain u(s), the Laplace transform of the input "staircase
function of Eq. (P5.7) and Figure P5.3, then use the given transfer function model:
0.32 (P5.6)
y(s) = 15.5.r + 1 u(s)
8.4 An industrial furnace studied by Endtz et al. (1957)t has as its input the fuel supply
pressure (in psi), with the effluent stream temperature fm •q, as its output.
In terms
of deviation variables, the transfer function model relating these process variables
was given as:
y(s) (P8.2)
(900s + l )(25s + l) u(.r)
+1. Endtz, J. M. Janssen, and J. C. Vermeule n, Plant and Process Dynamic Characteristics,
Butterwo rths, London (1957), p. 176.
270 PROCESS DYNAMIC S
(b) The authors also noted that the process could equally well have been described
by the transfer function model:
40
y(s) (P8.3)
(900s + 1)(13s + 1) 3 u(s)
Obtain the unit step response of this new system model and compare it with the two
obtained earlier.
8.5 The production end of a certain polymer manufacturing facility consists primarily of
the ensemble shown in Figure PB.l: a prernixer and a reactor connected in series by a
pipe whose length is not negligible.
Solvent Catalyst
!
Monomer
Polymer
REACTOR
Figure PS.l.
The premixer is a stirred tank in which a large stream of inert solvent S (flowrate
F5) is mixed with a small stream of chain transfer agent T (flowrate Fr)· By design, a
fraction p of the chain transfer agent stream is fed directly to the outlet of the
premixer. The monomer M and catalyst Care fed inlo the continuous stirred tank
reactor along with the diluted stream of the chain transfer agent from the premixer.
Polymer product is withdrawn from the reactor outlet and separated from the
unreacted monomer and solvent in another section which is of no interest at the
present time.
The main objective is to control the normalized melt viscosity of the polymer product
by adjusting the ratio of Fr to F5 . The pertinent process variables are defined as
follows, in terms of deviations from apprupriate steady-state values:
Given that the following transfer functions are reasonably accurate for each
portion of the ensemble as indicated:
PREMIXER: _ll..±__L
lOs+ I
REACTOR: 25
12s + I
CHAP 8 TIME-DELAY SYSTEMS 271
(where the time unit is in minutes and all the other units are normalized units
conforming with industry standards for this product):
(a) What is the overall transfer function (for the entire polymerization process) that
relates- in terms of deviation variables- the process input (the (Fr/Fs) ratio) to
the process output, the normalized polymer melt viscosity?
(b) Obtain individual mathematical expressions for the response of v(t), w(t), and
y(t) to a step input of size 0.02 in u(t). Sketch each of these responses separately,
showing clearly all important distinguishing characteristics.
(c) H a modification to the process has the apparent effect of shifting the location of
=
the single zero of g 1(s) from its original location in the complex plane to s -0.05,
sketch the new response of v(t), w(t), and y(t) to the same step input of size 0.02 in
u (t), assuming that only the premixer dynamics have been affected by the
modification. Show clearly all the important distinguishing characteristics of each
response.
8.6 After linearizing the original set of six coupled, nonlinear, ordinary differential
equations that describe the dynamics of an industrial separations process, further
simplification and Laplace transformation gave rise to the following transfer
function relating the input to the output:
10.3
y(s) = (l.5s + 1) 5 (15.2s + l)u(s) (P8.4)
Use your favorite control system simulation package to obtain the unit step response
of this process and compare it to the unit step response of the process whose transfer
function is given as:
IO.Je-7 ·5'
· g(s) = (15.2s + 1) (P8.5)
How is this transfer function related to the one indicated in Eq. (P8.4)? Assess the
reasonableness, or otherwise, of using this transfer function in place of the "more
complicated" one in Eq. (P8.4).
when the feed comes from usual feed tank A. When the alternate feed tank B provides
the feed, the reactor model is altered slightly to:
(P8.7)
(a) With no additional information given, provide your own speculations as to what
might be the difference between tank A and tank B; what u, the input variable to the
reactor, might be; and what y, the reactor output variable, might be.
(b) Obtain the transfer functions g(s) and gd(s) for each of the two models. How do
they compare to the transfer functions of the time-delay systems of Section 8.3?
(c) Given a specific situation in which a= -2, a 1 =0.5, b =3.0, r=
0.25, with tXo =2
and ~ = 5, use a control systems simulation package to obtain the process response
to a unit step change in u(t) when the feed is taken from each of the two feed tanks
and compare these two responses. If you had a choice, which feed tank would you
rather use? Support your answer as adequately as you can.
272
PROCESS DYNA MICS
8.8 The one-di mensio nal rod shown in Figure P8.2 is to
be heated as indica ted using a
steam chest.
z---
Steam T(z,t)
Cheat, Tw
Figure P8.2.
(P8.9)
z=l £1.-
dZ - 0
(P8.11)
(P8.12a)
where:
(1 + e-2~s) (P8.l2 c)
{; (1 +e-N s) (P8.12d)
f3
g(O,s) = _I (P8.13)
"s
1 + /itanh ..;-s
8.9 Use the first-order Pade approximation:
in reverse to approximate:
(I - 3.:!1__
g(s) = (2s + 1)(5s +I) (P8.14)
with another transfer function which no longer involves a right-half plane zero but
a time delay. Obtain a plot of the unit step response of the inverse-response system
represented by the original transfer function and compare it with the step response
obtained from the approximating time-delay system obtained by using the Pade
approximation in reverse.
8.10 By using arguments similar to those employed in Section 8.2.2, or otherwise, show
that the time-delay term e-f1s in a transfer function may also be represented as:
[{Js = lim (1 +
N-+oo
'y'
-f3s
N) (P8.15)
now show from Eq. (P8.15) that it is also possible to represent the time-delay term as:
(P8.16)
i.e., as an infinite set of poles and an infinite set of right-half plane zeros.
8.11 (a) Given the following transfer function model for a heat exchanger:
(1 - 0.5e- 103)
y(s) (P8.17)
( 40s+ I) (ISs + 1 ) u(s)
274 PROCESS DYNAMIC S
Obtain the equivalen t differential equation model, as well as the equivalen t impulse-
response modeL
8.12 Show that the system whose transfer function is composed as follows:
K 1e-as K2
g(s) (P8.18)
Ts + 1 Ts + I
s = a
(P8.19)
and hence establish that the system will exhibit inverse response only if:
(P8.20)
8.13 (a) Two first-order-plus-time-delay systems in parallel have the composite transfer
function given by:
Kle-a!s K2e~s
g(s) (P8.21)
('riS +I) ('r2S +I)
Why is it that under conditions indicated by 11 > ~ and K > K , the system
1 2 will
exhibit inverse response regardless of the relative values of r and -r ? Given
1 2 the
specific situation with 11 =10, ~ =3; K1 =5, K2 =2; with ~ =7 and 'l2 = 6, obtain
a
plot of the composite system's unit step response.
(b) Under the situation in which r1 = r2 = r, show that the composit
e transfer
function shown in Eq. (P8.21) has a single zero located at:
s = (P8.22)
an expression that is entirely independe nt ofT. From here, deduce· the condition
s to
be satisfied for the composite system to exhibit inverse response when ~ =
'!2·
CHAJPTJER
9
FREQUE NCY-RES PONSE ANALYS IS
9.1 INTRODUCTION
As has been shown with isolated examples at various stages of our discussion
thus far, the response of a linear system to a sinusoidal input, say, A sin rot,
given enough time for all the transients to die out, is also a sine wave. As
illustrated in Figure 9.1, the output sinusoid has the form A 0 sin (rot+ 1/J); i.e., it
has the same frequency as the input but a different amplitude A.,; and it is out of
phase by 1/J degrees (or radians). The ratio of output and input amplitudes,
A of A, is known as the amplitude ratio, AR; 1/J is called the phase angle.
For any given system, the AR and 1/J values vary with ro, the frequency of
the input signal. The results we have obtained so far bear out this fact (see
Eq. (5.29) for the first-order system, Eq. (5.54) for the pure capacity system,
Eqs. (6.78) and (6.79) for the second-order system, and Eq. (8.19) for the pure
time-delay system). The investigation of how these quantities vary with m,
for any particular system, is the main concem of frequency-response analysis.
275
276
PROCESS DYNAM iCS
Asinwt
---t"'""'l Process
..
located in the complex plane as shown in Figure 9.2, we define its magnitude I z I
and argument arg (z), or L z , as:
(9.2)
and
arg (z), or L z = tan -J (~) (9.3)
AR = lg(iro)l (9.4a)
and
; = arg (g(iw)), or L g(iw) (9.4b)
The relationship given in Eq. (9.4c) which allows g(jw) (and thus the
frequency response) to be obtained directly from g(s) is a very powerful result,
and establishing it requires deriving the frequency response for the general
Am
y(s} = g(s) s2 + m2 (9.5}
The frequency response of this system may now be obtained by carrying out the
following steps:
Upon partial fraction expansion in the usual manner, Eq. (9.5) may be rewritten
as:
n [ Ai -] + B 1 B2
s =
y( ) ~~ --
(s- r;)
---+
(s- jm) (s + jm) (9.6)
where the r/s are the n (possibly complex) roots of the nth-order denominator
polynomial of g(s), i.e., the system poles; and, of course, + jm and - jm are
recognized as the complex conjugate roots of (s2 + oJ).
2. Laplace Inversion
(9.7)
3. Asymptotic Behavior
If each of the ri is negative (or has a negative real part), we observe that the
terms involving er;t in Eq. (9.7) all die away with time. Furthermore, if we
recall the Euler identities:
we see that the other two terms in Eq. (9.7) persist, since they are, in fact, a sum
of sines and cosines. Thus, the ultimate periodic response (UPR) is given by:
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 279
(9.9)
The necessity for imposing the condition of negativity on the r; sterns from
the following fact: if just one of these roots is positive (or has a positive real
part), the exponential term associated with it will grow indefinitely with
time, making nonsense of the concept of an ultimate response that is strictly
periodic; there is, in fact, no longer a bounded function to which such a response
ultimately settles. The importance of this statement will be developed further
in Chapter 11.
B1 = s-+
lim
(jw)
(s- jm) [g<s) < .
S - } (J)
~r + }
S
. )]
(J)
lim
s-+ (jw)
[g(s)
(s
A~
+ JW)
J (9.10)
or
(9.11)
_ Ag(-jm)
Bz- 2" (9.12)
-'J
Making use of the Euler identities, and the values given in Eqs. (9.11) and (9.12)
for the constants, Eq. (9.9) becomes:
Y( t) 11 -+ _ _
-
A [gUm)- j g(-jm)J · +A [g(jm) + g(-jw)J Sin
COS(l)l
. (I)/ (9.13)
2 2
A crucial step. Recognizing that g(jw) is a complex number with real part Re(w)
and imaginary part Im(w), we obtain:
ntity:
the following ge neral trigonometric ide
We no w need to recall
(9.l6a)
ps in9 +q co s0 = ps in( 9+ If/)
wh ere (9.16b)
an d (9.16c)
If/ = tan -I ( ; )
an d
_
tan
-1 [ Im (w )
Re (ro )
J (9.18b)
lfl -
an d Argument of g(jw)
ns e (which we recall
by the inp ut A sin
lflin Eq. (9.18b).
cot), is giv en
is the
by p
I
I
I
um en t of the
Eq . (9.14a) tha t the ma gn itu de an d the arg I
II
We no w no te from
are given by:
complex nu mb er g(jw)
(9. l9a )
I
I
I
'
I CHAP 9 FREQUENCY-RESPONSE ANALYSIS
281
and
AR = lg(jro)l (9.4a)
g(jro) = ARei~
with AR, the amplitude ratio, and ,, the phas
e angle, given by:
3. Having done this, the required AR and l/J are given by:
and
. IN(jm)leiLN(jw)
g(jm) = ID(jro)lfiLIJ(iru)
so that the polar form for g(jm) will be:
From Eq. (9.4), therefore, the required AR and ¢will now be given by
AR= I~Nfiro)l
(9.22a)
Use the procedure given above to obtain the frequency-response of a first-order system
and compare this result with that obtained earlier in Eq. (5.29).
Solution:
Next we rationalize this expression to eliminate the quantity j from the denominator;
this is done by multiplying numerator and denominator terms by the complex conjugate
of the denominator; i.e.:
g(jw)
K(__l_)l-jwr
jwr + 1 I - jw -r
giving
. ( I - jw T )
g(jw) = K I + w2r
This may now be put in the Eq. (9.14a) Cartesian form as:
g(jw) = K( I +
1 2 2 -
m T
(9.24a)
and
Im(ro) (9.24b)
We therefore have:
AR = lg(jro)l K
(9.25a)
and
We may now compare these with the expressions obtained earlier in Eq. (5.29) and
observe that they are exactly the same.
/
I
284
PROCESS DYNAM ICS
Alternatively, with the polar form approac h, we recognize from
Eq. (9.23) that
. N(jw) K
g(jw) = D(jw) = 1 + jw t'
with
N(jw) = K,
D(jOJ) = I + jwt'.
Thus
IN(jw)l = K; L N(jw) =0
ID(iw)l = "'1 + o}; ; L D(jw) = tan - 1(wT)
with the immedi ate result that according to Eqs. (9.22a,b):
IN(;w)l K
AR = -ID(;-.m-~1 = -;"';::::1::::;+::::m=2~=-
Solutio n:
g(s)
K
(6.26)
(9.27a)
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 285
and
¢ = arg [g(iw)],
• •
or L g(iw) = tan -1 ( 1-2,1»1'
_ wl.fl ) (9.27b)
which are exactly the same as the expressions given earlier in Eqs. (6.78) and (6.79)
for the AR and the phase angle of the second-order system.
With the polar form approach, we recognize that in Eq. (9.26):
N(iw) = K
IN(iw)l = K ; L N(iw) = 0
We may now use Eq. (9.22) to obtain the required AR and¢ directly:
IJI.Voil K
AR =-ID(i-.w-~1 = --'-l;::Cl=-=w=2=.f2=)2:::+=(=2=,w=-r=)=-2
and
One important point to note from these examples is that applying the
general frequency-response result greatly facilitates the determination of a
""I"'
Figure 9.3. Bode diagram for a first-order system.
286 PROCESS DYNAMICS
Im
Im
Second Order
Process
Figure 9.5. Nyquist plots of first- and second-order process g(jro) given by Eqs. (9.23)
and (9.26).
(9.29)
then establishing Eqs. (9.28) and (9.29) from Eqs. (9.1) and (9.3) and Figure 9.2 is
straightforward, and it is left as an exercise to the reader.
As we already know from Chapter 6, g{s), the overall transfer function for
the composite system, is given by:
(9.30)
(9.31)
If we now write the overall transfer function in its polar form, i.e.:
a direct comparison of Eqs. (9.32) and {9.31) gives the required result.
It is now important to point out that taking logarithms in Eq. (9.28) gives
the following alternative, but equivalent form which is particularly useful in
constructing Bode diagrams:
log (AR) overall = log AR 1 +log AR2 + ... +log ARN (9.33)
implying that the logarithm of the overall amplitude ratio is a sum of the
logarithms of the contributing system amplitude ratios. ·
These results will be useful in our subsequent discussions as we start to look
at the frequency response of the various classes of process systems. First, let us
summarize the implications of these results on the construction of Bode
diagrams from complex transfer functions.
288
PROCESS DYNAM ICS
Implic ations for Construction of Bode Diagrams
Any complex transfer function g(s) can be broken down into simpler
individu al
compon ents g1(s), g2(s), ... , gN(s), whose frequency-response parame
ters, AR1,
AR2, ••• , ARw and ~1' ~2 , ••• , ¢N can be easily found. As a result of
Eqs. (9.28),
{9.29) and (9.33), the following are the classical rules for constru cting
the Bode
diagram corresp onding to the comple x transfer function, using the
frequency-
response characteristics of the simpler components:
(9.34a)
and
(9.35)
Asymptotic Considerations
Amplitude Ratio
MR=AR= I (9.36)
K
2. As CiJ'f ~ oo, log AR./ K ~ -log CiJ'f and the log-log plot of MR = AR/ K
vs. CiJ'f tends to the line represented by:
AR
log K = - log w-r (9.37)
a straight line with slope -1. Because this situation arises at very high
frequencies, this line is known as the high-frequency asymptote.
(iJ
n
= -1:I (9.38)
the reciprocal of the system time constant. This is illustrated in Figure 9.3.
Phase Angle
The important aspects of the asymptotic behavior of the phase angle are as
follows:
1. As em~ 0, ¢~ 0, and
2. As CiJ'f ~ oo, ¢ ~ - 90°
3. At the corner frequency, em= 1, and ¢=-tan -l (1) = -45°
290 PROCESS DYNAMICS
-- ~] 0.01
" .....!
0.1
" ....J
1
" ....J
10
These facts tell us that the phase angle for the first-order system becomes
asymptotic to -90° as frequency increases, never falling below this value at any
time.
All these points are illustrated in the Bode diagram given in Figure 9.3.
g(s) =K (9.39a)
so that
g(jm) = K (9.39b)
and in terms of the form in Eq. (9.14a), we have Re = K and 1m= 0, with the
immediate implication that
AR = K (9.40a)
and
~ =0 (9.40b}
Thus the Bode diagram for this system has the simple form shown in Figure
9.6. The important point to note here is how the frequency response of the pure
gain system correspond s to that of the first-order system at low frequency.
g(s) = -
K*
s (5.44)
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 291
we have:
K*
g(jw) = jw
K*"
g(jw) = - !i:l. (9.41)
(I}
K*
AR=- (9.42a)
w
and
giving
(9.42b)
It is important to note that these results are exactly the same as earlier
obtained in Eq. (5.54).
Observe from Eq. (9.42a) that:
AR
log K* = -log w (9.43)
Thus the log-log plot of the magnitude ratio vs. w for the pure capacity
system will be a straight line with slope -1; and the phase angle plot will be a
horizontal line fixed at~= -90°. The actual Bode diagram is shown in Figure
9.7.
It is important to note that both the MR and ~ behavior correspond to the
asymptotic behavior of a first-order system at high frequency.
w-:]J::EIJ0.01 0. 1 10 100
(9.45a)
and
f = tan -J (~) (9.45b)
AR
log K = log ro~ (9.46)
(9.47)
100
• 50 ·/
0
lo-"
"'
lQ-1
/ '"
1 10 10"
OJ!;
Phase Angle
1. As w.;~o, ~~o
2. As ~ ~ oo, ~ ~ +90"
3. At the comer frequency, cug =1 and ~ =tan -I {1) = + 45"
The Bode diagram for this system is shown in Figure 9.8.
There are some very important points to note about this frequency response:
1. The magnitud e ratio for the first-order lead process is greater than or
equal to 1; with the first-order system, MR is less than or equal to 1.
2. The phase angle is always greater than or equal to zero, with the
implicatio n that the output sine wave actually leads the input sine
wave. This is the basis for the term "lead system."
It is interestin g to note that just as the transfer function for the first-orde r
lead is like the inverse of the transfer function for a first-orde r system, the
Bode diagrams for these systems are mirror images of each other; for the
magnitud e ratio plots the reflection is about the line MR = 1, while for the
phase angle plots, the reflection is about the line ~ = 0.
g(s) = K <5s + 1)
(-rs + l) (5.55)
294 PROCESS DYNAMICS
AR ...J 1 + wlel
(9.48a)
T = ...; 1 + w27:2
and
Thus for the lead/lag system, the high- and low-frequency asymptotes are the
same for the phase angle plot, and similar in character for the AR plot (similar
in the sense that both the low- and high-frequency asymptotes are horizontal
straight lines).
~= I .l. . .1
: ] ...... ..1
0.01 0.1 1 10 100
·J.liifJ
0.01 0.1 10 100
Figure 9.9. Bode diagram for the lead/lag system when~< T; (~ =0.5, T =1).
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 295
~. ~l ". .11.
0.01 0.1 1
..J " .. .J
10 100
·:L:FKl
0.01 0.1 1 10 100
Figure 9.10. Bode diagram for the lead/lag system~> 1; (~ =2, -r =1).
It is easy to see, once again, that there are three possible types of behavior
arising from the lead/lag system, depending on the relationship between the
lead and lag time constants.
Eliminating the trivial case when ~ = -r (a pure gain system), the two
possible Bode diagrams, when ~<-rand when~> -r, are shown in Figures 9.9
and 9.10 respectively for the specific case when -r= 1 and~ takes on the values
0.5 and 2. Note the high-frequency behavior when the lag term dominates
(Figure 9.9) and when the lead term dominates (Figure 9.10). The asymptotic
value of MR = AR/ K lies either above the line MR = 1, or below depending on
whether p = ~I-ris larger or smaller than 1.
(6.10)
(9.50a)
296 PROCESS DYNAMICS
and
(9.50b)
(9.51)
1. The high-frequ ency asymptote of the amplitude ratio plot is, in this
case, a straight line of slope -2;
To illustrate how the Bode diagram is generated by combining the AR and '
of two first-order elements, we present Figure 9.11, for the system:
100
-2001-~~~--~~-.~nn~rrnn~
0.0~ 0.1 1 10 100
(J)
For the general second-order system, from the earlier results given in Eqs. (6.78)
and (6.79) (and confirmed in Example 8.2), we have:
AR
(9.53a)
K = --/ (1 - oiil-) 2 + (2Cmr )2
and
¢ = tan _1 ( 1-2(mr)
_ w1 il (9.53b)
Asymptotic Considerations
Considering the expressions in Eq. (9.53) as functions of m'C, with ' as a
parameter, the following asymptotic characteristics are worthy of note:
Amplitude Ratio
(9.54)
AR
log K = - 2log wr (9.55)
Phase Angle
2. When arr = 1, regardless of the value of', tan ¢ =- oo, so that¢=- 90°.
3. As arr ~ oo,
implying that the phase angle for the second-order system becomes
asymptotic to -180° as frequency increases, never falling below this
value at any time.
Note also that these facts imply that the various phase angle plots,
obtained for different values of the parameter t; pass through the same point at
¢ =- 90° when arr = 1. The Bode diagram is shown in Figure 9.12.
One peculiar characteristic of the frequency response of a second-order
system is the fact that the AR plot shows a "hump" for certain values of t;. By
differentiating Eq. (9.53a) with respect to ro-r, and setting to zero, we may use
elementary calculus to determine that this phenomenon, known as resonance,
occurs for:
1
t; < ...[2 = 0.707 (9.56)
The frequency at the point where the AR plot passes through this maximum,
called the resonance frequency, mr , is:
10
MR=AR tt---~~~~
K
0.1
0.01-t---r---r"T""TTT"T"rT---,.-....--,.....,~-rtol
0.1 1 10
1
0
(9.57)
It is now a fairly easy matter to generalize the results obtained thus far. We
have that:
The Bode diagram for the Nth-order system has for the amplitude
ratio high-frequency asymptote a straight line of slope -N, and for the
low-frequency asymptote, the horizontal line: AR/K = 1. The phase
angle plot starts at 0° at zero frequency and asymptotically approaches
- (90 x N) o at very high frequencies.
The complete Bode diagram for an Nth-order system will have the
properties of the lower order systems of which it is composed, and will
therefore not be much different in character from the ones we have already
encountered.
g(s) (6.83)
(0.5s + I)
g(s) = (s + 1)(4s + 1) (9.58)
0.1 1 10 100
--....!'--..
0.1
""' 1
Q)
10 100
Figure 9.13. Bode diagram for the (2,1)-order system with ~1 < T1 < 'li·
9 _ (2s + 1)
g( ) - (s + 1)(4s + 1) (9.59)
When the lead time constant is larger than both lag time constants, as with
the following system:
9 _ (Ss + 1)
g(,) - (s + 1)(4s + 1) (9.60)
we recall fll"St that, as was shown in Figure 6.15 (for this same system), the step
response overshoo ts the final steady-state value.
CHAP 9 FREQUENCY -RESPONSE ANALYSIS
--
301
~
AR 10-4 ~
........
10
Figure 9.14. Bode diagram for the (2,1)-order system with T1 < ~ 1 < Tz·
The Bode diagram for this system is shown in Figure 9.15. It is interesting to
note that both the AR and f aspects of this Bode diagram exhibit "overshoot."
The AR plot overshoots the value of 1 over a certain range of frequency values,
and the phase angle is actually positive for some low-frequency values. This
is, of course, due to the fact that the influence of the lead term is stronger in this
case than in the earlier two cases.
1
AR ~ .......
10~
~
10--4
0.01 0.1 1 10 100
50
-50
-100
O.ol
""
0.1
""' "--.
""
1 10 100
(l)
Figure 9.15. Bode diagram for the (2,1)-order system with a stronger lead influence;
'~"1 < "~"2 < ~1"
302 PROCESS DYNAMICS
1
---..
~ ..........
............
0.1 1 10 100
0
i --......
•
-100
"
-200
-300
0.01 0.1
··" 1
""---
(J)
10 100
Figure 9.16. Bode diagram for the (2,1)-order system with ~1 < 0; i.e., an inverse-
response system.
Inverse-Response Systems
When the zero present in the system transfer function is a RHP zero, ie.,
~1 < 0 < -r1 < 12· we already know that the system will exhibit inverse response.
h\ terms of the eHect of the RHP zero on the frequency response, the main point
of interest is summarized below:
Thus, for example, the high-frequency asymptotic value of lfl for the second-
order system by itself, with no zeros, is -180"; this value is improved to -90° for
the second-order system with a single LHP zero, and worsened to -270" for the
corresponding system with one RHP zero. The sign of the zero has no effect in
the amplitude ratio.
For the purpose of illustration, the Bode diagram for the inverse-response
system used as an example in Chapter 7:
( -3s + I)
g(s) = (2s + l){Ss + 1) (7.16)
is shown in Figure 9.16. Note the asymptotic value of the phase angle at high
frequencies tends towards -270".
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 303
and
~ = -am (9.62b)
once again confirming the results given earlier in Eq. (8.19). The Bode diagram
is shown in Figure 9.17.
The most important features are the constant, unity AR characteristics, and the
perpetually increasing nature of the phase lag. This is in contrast to each of
the systems we have considered so far, where there has always been a limiting
value to which the phase angle tends at very high frequency: the pure time-
delay system is unique in that its phase angle decreases indefinitely as
frequency increases.
10
~
AR 1
~
10-4
... ""
1 10
10~--~rn~n--.,.~m+~ro~nm
0.01 0.1 10
~o,~--.,,Trr~-rTOTTinr_,~~mm
0.01 0.1 1 10
For any system with an associated delay, we note from Eq. (9.62a) that the
logarithm of the AR contributed by the time-delay element is zero; we
therefore have the following result:
AR = AR* (9.63a)
and
0.66 e-2•6•
g(s) = 6.1s +1 (8.32)
Observe that the first-order AR characteristics are still retained; but the
phase angle no longer has the -90° limiting value. The fact that the phase
angle no longer has a limiting value is due directly to the presence of the time-
delay element.
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 305
9.5 FREQUENCY RESPONSE OF FEEDBACK CONTROLLERS
Listed below with their corresponding transfer functions are the four types of
feedback controllers we will deal with later on in Part IV:
g.(s) = K, (9.64)
(9.65)
Figure 9.19. Bode diagrams for (a) the PI controller and (b) the PID controller.
306 PROCESS DYNAMICS
9.6 SUMMARY
We have studied the frequency-response characteristics of the various classes
of processes in this chapter, deriving the individual AR and ¢ expressions, and
studying their respective Bode diagrams. We have also introduced the
Nyquist plot as an alternative method of displaying the frequency response.
Looking back, we should now be able to see why it is true that the
fundamental features of these process systems are fully characterized by their
frequency responses. Firstly, we have shown that the frequency-response
characteristics are immediately obtained from the magnitude and argument of
g(jm), the process frequency-response transfer function. We have seen that the
frequency response of the process, represented by g(jm), fully characterizes a
linear process.
Even though we have presented several technical piece~ of information
useful in the construction of Bode diagrams (especially for systems with
complex transfer functions) it should be kept in mind that the standard practice
is to employ computer software packages for generating such diagrams.
Since Bode diagrams are just as characteristic of individual classes of
linear systems as their transform-domain transfer functions, it is important
that the essential aspects of these diagrams for each class of systems be well
known. It is perhaps helpful to summarize these salient features here:
Pure Capacity System: The entire MR plot is a straight line with slope -1 and
¢ is constant at -90° at all frequencies, characteristics similar to those of the
first-order system as m-+ co.
Second-Order System: The MR plot takes the value 1 at very low frequencies
and approaches a straight line with slope -2 as ID -+ co; in between, for values
of damping coefficient t; < 0.707, the MR plot exhibits resonance; for other
values of t;, the MR values are less than or equal to 1. The phase angle plot
starts out at 0° at very low frequencies, takes the value - 90° at the natural
frequency (J)n = 1/ 1' (regardless of the value of t;), and approaches a limiting
value of- 180° as ID-+ =.
Nth-Order System: The MR plot takes the value 1 at very low frequencies and
approaches a straight line with slope -N as m -+ co. The phase angle plot
starts out at 0° at very low frequencies and approaches a limiting value of
- (90 x N ) as ID-+ oo.
0
REVIEW QUESTIONS
1. The complete response of a linear system to a sinusoidal input consists of two parts:
what are they and which part is studied in "Frequency-Response Analysis"?
3. What is the fundamental frequency-response analysis result, and what is its main
benefit?
5. How are the amplitude ratio and phase angle characteristiC'.s of the individual elements
of a composite system related to the corresponding overall system characteristics?
6. Why is the reciprocal of the first-order system time constant referred to as the "corner
frequency"?
9. What key parameter determines the shape of the le~d/lag system's Bode diagram?
10. What conditions must the damping coefficient of a second-order system satisfy in order
that the phenomenon of resonance be evident in its Bode diagram?
11. A common misconception about underdamped second-order systems is that they all
exhibit resonance. What do you think is responsible for this misconception? Give a
range of values of the damping coefficient for which the second-order system will be
underdamped without exhibiting resonance.
12. What is the difference between the effect of a left-half plane zero and that of a right-
half plane zero on the phase angle characteristics of a process?
308
PROCESS DYNAM ICS
13. How can you distinguish the frequency response of a system with
a strong lead from
that of a system that exhibits resonance?
PROBLEMS
z = a +bj
may be expressed in the exponential polar form:
z = lzfeN (P9.1)
where
lzl (P9.2a)
(P9.2b)
and rederive these results for the time-delay system and show that the
expressions
given for AR and~ in Eq. (9.4) hold regardless of the presence of time delays.
s 2 + 4s +
I
s 2 + 0.2s +
9.4 Show that the response of a pure capacity system with transfer function:
K
g(s) = -;
to a sinusoidal input u(t) =A sin rot is exactly equivalent to the unit step
response of
an undamped second-order system; specify the undamped system gall.
9.5 Obtain Bode plots for the system whose transfer function is given by:
(P9.3)
CHAP 9 FREQUENCY-RESPONSE ANALYSIS 309
for b = 1, 0.1, 0.01 and compare with the Bode plot for g(s) = 1. How can these
results help you in assessing the effectiveness of approximating the ideal impulse
function with a rectangular pulse function?
9.6 (a)Sketch the Bode diagram for each of the systems whose transfer functions are
given below. Be sure to identify clearly on each sketch all the important
distinguishing characteristics:
K
as 3 + bs 2 + cs + d (P9.4)
(P9.5)
(b) A pulse test identification experiment performed on a process gave rise to the
Bode diagram shown below in Figure P9.1.
Postulate a possible transfer function form that you believe is consistent with the
features displayed by this Bode diagram. Support your postulate adequately.
MR
- - - - - - - Frequency (Radians/Time)
Figure P9.1.
9.7 The following differential equations were given in Problem 8.7 (Chapter 8) for a
chemical reactor operating under two different feed conditions:
41_·
dt = -2y(t) + 0.5 1y(t- 2) + 3u(t) (P9.6)
and
assuming the disturbance is zero. Obtain the transfer functions in each case and
from these obtain the rorresponding Bode diagrams and rompare them. How does the
310 PROCESS DYNAMICS
Bode diagram for the system described by the model in Eq. (P9.6) differ from the
standard first-order system Bode diagram?
9.8 The transfer function for a steam-heated heat exchanger is given as:
(1 - o.se- 10•)
g(s) = (40s + l)(l5s + 1) (P9.8)
Obtain the co~sponding Bode diagram. How does this differ from the Bode
diagram of a typical time-delay system of the type considered in Section 9.4.4?
9.9 (a) In each case, by obtaining fi.rst,g(jm), or otherwise, derive the expressions for the
AR and 'for the PI and PID controllers whose transfer functions are given in
Eqs. (9.65) and (9.67).
(b) Derive expressions for the asymptotic behavior of the AR and 'for these
controllers and confirm that Figure 9.19 is, in fact, consistent with such results.
9.10 An anaerobic digester used in a small town's waste management facility, which is
approximately modeled by the following transfer function:
0.52
g(s) = (45.5s + 1)(l2.2s + 1) (P9.9)
9.11 For each of the following pairs of transfer functions, plot and compare the Bode
diagrams, noting which of the two has the minimum phase angle behavior. (These
results will be useful in Chapter 18.)
5 se-'ls
(a) Ct(s) g2(s)
6s + I; 6s + I
5(4s+l) 5(-4s + I)
(b) Ct(s) g2(s)
(2s + 1)(6s + 1); (2s+ 1)(6s + 1)
5 _5_
(c) Ct(s) = g2(s)
2s + 1; 2s :... 1
10
NONLINEA R SYSTEMS
The processes we have studied so far have all been represented by linear
models. Because this entitles them to be classified as linear systems (and
linear systems, as we know, are fully characterized by their transfer functions)
we have been able to obtain fairly general results by taking full advantage of
the convenience offered by the transfer function model form.
However, the truth of the matter is that, to varying degrees of severity, all
physical processes exhibit some nonlinear behavior. Furthermore, when a
process shows strong nonlinear behavior, a linear model may be inadequate; a
nonlinear model will be more realistic. Unfortunately, this improved closeness
to reality is attained at a cost: the convenience and simplicity offered by the
linear model is sacrificed. To be sure, many processes exhibit only mildly
nonlinear dynamic behavior and therefore can be reasonably approximated by
linear models. However, even for such systems, the behavior over a wide range
of operating conditions will be noticeably nonlinear, and no single linear model
is able to represent such behavior adequately.
The issue of analyzing the dynamic behavior of processes represented by
nonlinear models is the main concern in this chapter; this is motivated by the
fact that situations do arise when it is undesirable to neglect the inherent
nonlinearities of a process, be they mild or otherwise. The objective here is to
provide an overview of how we can expect to carry out dynamic analysis when
the process models are nonlinear.
The nature of nonlinear problems (in all areas of analytical endeavor, not
just in Process Dynamics and Control alone) is such that they are not as easily
amenable to the general, complete treatment possible with linear systems. To
keep nonlinear dynamic analysis on a realistic and practical level therefore
usually involves trade-offs between accuracy and simplicity. Keeping this in
mind will help us maintain a proper perspective throughout this chapter.
311
312 PROCESS DYNAMICS
10.1 INTRODUCTION: LINEAR AND NONLINEAR
BEHAVIO R IN PROCESS DYNAMICS
There are two basic properties that characteriz e the behavior of a linear
system:
Input
r···- Bespooaeat
UpperSteadySt ate
lc=
/ Response at
·-· Lower Steady State
Figure lO.L Step response of a truly linear system at two different steady states.
CHAP 10 NONLINEAR SYSTEMS 313
Input
v--Output
tc
"Step up" Responae
for all the other input functions. In particular, the ultimate response of the
nonlinear system to a sinusoidal input function is not a pet;fect sinusoidal output
function.
The model equations that will represent the dynamic behavior of such
systems adequately must necessarily contain nonlinear terms; and immediately,
the convenience of being able to completely characterize the system's dynamic
behavior by the linear transfer function is lost.
That nonlinear dynamics are inevitable in most chemical processes is a fact
that needs very little justification; one only has to call to mind, for example,
the equations of chemical phase e_quilibria when Henry's Law doesn't apply;
heat flux expressions for heat transfer by radiation; chemical kinetic rate
expressions, especially the well-known Arrhenius expression, all of which are
hardly linear. A survey discussing nonlinear processes that occur in the
chemical industry may be found in Ref. [3].
To buttress this point, we will now provide a sample of some very simple,
very common process systems and their process models.
dh .r.
Ad-= F.-c-vh (10.1)
t '
more realistic, that is, than Eq. (1.13) which was based on the simplifying
approximation that outflow varied linearly with liquid level.
The nonlinearity of this model is, of course, due to the presence of the square
root term.
(10.2)
Perhaps the most popular example of a classic nonlinear chemical process is the
nonisothermal CSTR. As we had earlier shown in Chapter 4, the
mathematical model for this process system is:
deA
dt=
- ! C -
()A
~
"'0
e- (EIRT)C +! C
A ()Af (4.26)
(4.27)
Observe that the nonlinearities in this model are due to two factors:
The point here is that if such simple, common systems have nonlinear
mathematical models, we can imagine the extent of nonlinearities to be
encountered in the models for more complex systems, in which more complicated
chemical and physical mechanisms are responsible for the observed system
behavior. A good catalog of such system models is available, for example, in
Refs. [1, 2].
Coming to grips with the fact that realistic process models are almost always
nonlinear, the next major question we wish to ask ourselves is the following:
Assuming, for the moment, that we are able to answer this question
satisfactorily, there is yet another important question, raised primarily
because of our experience with linear systems analysis:
The answers to these questions form the basis of the material covered in this
chapter.
To analyze the dynamic behavior of a system represented by nonlinear
equations, there are usually four alternative strategies to adopt:
CHAP 10 NONLINEAR SYSTEMS 315
We shall consider each of these in tum, with greater emphasis laid on the
third and fourth strategies for reasons that will become clear as the discussion
progresses.
If this were possible, the general strategy for dynamic analysis would then
involve first carrying out this transformation, then performing dynamic
analysis on the linear, transformed version, and finally transforming the result
back to the original variables.
Let us illustrate with an example.
(10.3)
316 PROCESS DYNAMICS
l = (10.4)
Since:
then, according to this definition Eq. {10.4), and from Eq. {10.3) we have:
(10.5)
(10.6)
(10. 7)
dz I I
dt = -~z+ ~v (10.8)
which is now linear in the new variables z and v defined in terms of the old variables
as shown in Eqs. (10.4) and {10.7).
In principle, we may now use Eq. (10.8) to investigate the dynamic behavior of this
system and relate it to the original system variables via the expressions in Eqs. (10.4)
and (10.7).
There is, in fact, no general procedure for finding such transformations for
all nonlinear systems; and for the restricted classes of systems for which a
general procedure exists, it is not easy to apply (cf. Ref. [8]).
CHAP IO NONLINEAR SYSTEMS 317
There are other related methods based on differential geometry, but these
also suffer from similar limitations (cf. Ref. [9]). A good overview of such
transformation methods may be found in Ref. [10].
General Procedure
as
The general procedu re for analyzing the system's behavior numerically is
follows:
'!1$ involves taking the original system model, consisting of one, or possibly
several, equation s of the type:
dx;
dt =ft(x 1, x 2, ••• , xn, u, d, t) (10.9)
If we are now given the initial values x;(O) for each of the variables, and the
for
value of the forcing functions, these equations can now be solved recursively
the value taken by each x;(k) in the next time interval.
Owing to the recursive nature of this aspect of the problem , the digital
compute r is the perfect tool for doing the job. When the model for a process
system is thus solved with the aid of a computer, we are said to have obtained
a compute r simulation of the process behavior.
There are many specialized techniques for obtaining numerical solutions to
on
different ial equation models and these are typically covered in courses
methods and analysis (see also Append ix B). These techniqu es
numeric al
usually differ in the discretization strategy employe d in taking the model from
the continuous form in Eq. (10.9) to the discrete form in Eq. (10.10).
318 PROCESS DYNAMICS
The dynamic behavior of the liquid level in a tank has a model given as:
(10.1)
with a cross-sectional area A of 025 m 2 and was initially at steady state with inlet
flowrate Fi at 0.3 m3 /min, while the level in the tank h was 0.36 m. It is required to
obtain the response of this system when the inlet flowrate is increased to 0.4 m 3 /min.
Derive an expression to be used for obtaining the numerical value of the level in the
tank system at intervals of 0.1 min using the explicit Euler method for discretization.
The constant c has the value 0.5 mS/2/min.
Solution:
Using the given data, the model for this specific process is:
dh _r
dt = 4F;-2"1h (10.11)
Now, with the explicit Euler method (cf. Appendix B), a first derivative is represented
in the following discrete form:
~ y(t + At) - y(l)
dt = At
or, taking time t as the kth time interval, with At as the width of each of these time
intervals:
~ y(k + 1)- y(k)
dt = (10.12)
At
or
gives the value of the liquid level at intervals of 0.1 minutes; a compilation of these
values constitute the required numerical step response.
Note that the recursive calculations required by this procedure are best carried
out with the aid of a digital computer. There are many special subroutines available
for the numerical integration of differential equations, so that details of this procedure
are usually handled by the software.
(.&.)
ftx) = f(x,) + dx x=x (x-x, )
, +
(R)dx2 x=x
(x _ x ,)2
2! + ...
,
+(
AY)
d n
(x- x,)n
I + ... (10.16)
X x=x, n.
x,
dJc R ,
Jt = J\X,U) (10.19a)
y = h(x) (10J9b)
where f(•, •) is an arbitrary nonlinear function of the two variables, x, the
process state variable, and u the process input; h(•) is another nonlinear function
relating the process output, y to the process state variable x .
The linearized approximat ion of this very general nonlinear model may
now be obtained by carrying out a Taylor series expansion of the nonlinear
functions around the point (x5 , U5 ). 1his gives:
(K)
dt1xt = f(x,, u,) + a
X (x 1 •,)
(x-xs) + (K)
au (u-u,)
(x1 u)
+ higher order terms (10.20a)
(10.20b)
Ignoring the higher order terms now gives the linear approximat ion:
(10.2la)
where
a(•, •) =
(1?1,.)
b(•, •)
(~£ )x 1 u)
c(•) =
(~1•
It is customary to express Eqs. (10.2la,b) in terms of deviation variables:
x = x-x 5
ii = u- u,
y = y- Y,
322 PROCESS DYNAMICS
dX
a;;+ bu (10.22a)
dt
y =ex (10.22b)
where, for simplicity, the arguments have been dropped from a, b, and c. A
transform-domain transfer function model corresponding to Eq. (10.22) may now
be obtained by the usual procedure; the result is:
with the transfer function as indicated in the square brackets. This transfer
function should provide an approximate linear model valid in a region close to
(x 5 ,u5 ).
The principles involved in obtaining approximate linear models by
linearization may now be summarized as follows:
Obtain an approximate linear model for the liquid level in a tank whose nonlinear
model was given as:
( 10.1)
Solution;
The nonlinear function in this case is f(h) =h112, a function of a single variable. A
Taylor series expansion of this function around the steady state h5 gives:
h 112 = h,
112
+ 2I h,-112 (h- h,) + htgher
.
order terms (10.24)
CHAP 10 NONLINEAR SYSTEMS 323
Ignoring the hi~her order terms and introducing the linear approximation into
Eq. (10.1) for h11 now gives:
A dh
dt
= F- [h 112
I C S
lh -1/2 (h
+ 2 S
_h)]
S
(10.25)
'C
iJJ.
dt = Ku-y (10.26)
From this approximate linEar model, we may now take Laplace transforms in the usual
manner to obtain the following approximate transform-domain transfer function
model:
K
y(s) = --u(s) (I 0.28)
u + I
a first-order transfer function with steady-state gain and a time constant given by
Eq. (10.27). It is now very important to note that both K and 'Care functions of h5, so
that the apparent steady-state gain and time constant exhibited by this system will be
different at each operating steady-state condition.
The dynamic behavior of the liquid level h in the conical storage tank system shown in
Figure 10.4 can be shown to be represented by Eq. 10.1, where now the cross section
area of the tank is given by:
(10.29)
(10.30)
f3 = ca
Here, F; is, again, the inlet flowrate, the manipula ted variable. Obtain an approxim
ate
linear model for this system.
Solution:
The process model has two types of nonlinear functions: F; h-2, a product of
two
functions, and h-312 . We shall have to lin~arize each of these functions
separately
around the steady state (h5, F;.).
1. The linearizat ion off (h, F;) = F; h-2 proceeds according to Eq. (10.18) as follows:
(10.31)
2. The steps involved in linearizing the second nonlinear term are no different from
those illustrated in the previous example; the result is:
h-312 = h -3/2-
s
l2 hs-512 (h- hs) (10.32)
We may now introduce these expressions in place of the correspon ding nonlinear
terms
in Eq. (10.30). Recalling that under steady-st ate condition s aF;s = fJh/ 12
, and
introduci ng the deviation variables y = (h -h5 ) and u (F; -fis), the approxim
= ate
linear model is obtained upon further simplification as:
T
!!J.
dt + y = Ku (10.26)
where the steady-sta te gain, and time constant associated with this approxim
ate linear
model, are given by:
2h/ 12
K =-2ah 112
{3 s {10.33a)
c
and
2h 5/2
T = _ s{3 _ (l 0.33b)
/
CHAP 10 NONLINEAR SYSTEMS 325
If we desire an approximate transform-domain transfer function model, Laplace
transformation in Eq. (10.26) gives:
K
y(s) = --u(s) (10.34)
-rs + 1
Note that the approximate linear model for the conical tank has the same process
gain, K, as for the cylindrical tank; but the time constant is a much stronger function of
the liquid level hs.
Some important points to note about the results of these two illustrative
examples are the following:
3. Using such approximate models, we are able to get a general (even if not
100% accurate) idea about the speed and magnitude of response to
expect from any arbitrary nonlinear system. Numerical analysis can
give more accurate information, but only about the specific response to a
specific input, starting from a specific operating condition for a specific
set of parameters.
4h/ 12
y(s) n u(s) (10.36)
(2h/ )s + I
~
dt -- _1
( 2h/'-2) { h,- h (t) + 4 h s 1/2 [ F; (t)- F;, ] } (10.37)
326 PROCESS DYNAM ICS
1.000
I
--
linear
0.900
0.800
1---:: p nonlinear
,t.';/"
0.700
tline!r a~ nonlinear
0.600
......
h 0.600 It-
0.400 ~
......
0.300
0.200
0.100
' ~
-. nonlinear
0.000 linear I
0.0 0.2 0.4 0.6 O.B 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.B 3.0
Time
Figure 10.5. Response of nonlinear model Eq. (10.35) and linear model Eq. (10.37)
for
two different steps in feed flowrate up and down .df; = ± 0.05
and
±0.15.
1.000
0.900
0.800
0.700 ~ y "'\ j-
0.600 I \ v \ I
h 0.500
i;::ra nd~' I'-. A
J.V ~ v
0.400 nonlinear ~ A
I / ~ j \ J
0.300
0.200
I
f-DO'j'-" s-·v~
\' 'l
0.100
0.000
0.00 0.50 1.00 1.60 2.00 2.50 3.00 3.li0 4.00 4.50 6.00
Time
Figure 10.6. Response of nonlinear model Eq. (10.35) and linear model Eq. (10.37)
to
sine wave in inlet flowrate with two different amplitudes A = 0.05, 0.15.
The step respons e (up and down) for these models is shown in Figure
10.5 for
steps of two differen t magnitu des. The response to a sine wave input
of two
differen t amplitu des is shown in Figure 10.6. Note that for small
magnitu de
step inputs and small amplitu de sine waves, the linear model
is a good
approxi mation of the nonline ar model; however, for the large amplitu
de inputs
the linear model predicti ons deviate somewh at from the nonline
ar model
behavior. Also note the distinct differences in nonline ar respons e for
a step up
and step down.
10.5 SUMMARY
Our discussi on in this chapter has been motivat ed by the fact that
it is indeed
the rare process that is absolut ely linear in behavio r. Unders tandabl
y, the
analysis of the dynami c behavio r of nonline ar systems is not as
easily, or
conveniently, carried out as the analysis of linear systems; but it is
importa nt to
know the various options available to us when we cannot ignore
the inheren t
nonlinearities in a process model.
CHAP 10 NONLINEAR SYSTEMS 327
We have identified four techniques by which nonlinear systems may be
analyzed, passing relatively quickly over two of them because they are of
limited practical application, and focusing mostly on the two most viable
options - numerical analysis and model linearization.
It has become clear t..hat with nonlinear analysis, it is not possible to have
accuracy and generality at the same time, unlike the situation with linear
analysis. When accuracy is the more important objective, the numerical
approach is the appropriate choice. Apart from requiring computer assistance,
the other drawback associated with this approach is that it makes available
only simulation results for a specific set of parameters.
The model linearization technique is the most popular, primarily because
it allows the use of the convenient methods of linear analysis and it is quite
general. It is generally perceived that this advantage outweighs the
disadvantage of potentially poor accuracy, especially when analysis is
required to cover a wide range of operating conditions. All in all, when the
limitations of linearization are kept in proper perspective, it can prove to be a
very powerful tool for analyzing the dynamic behavior of nonlinear systems.
(This last statement takes on even greater significance in the next chapter
where we consider system stability.)
We must now draw a most important conclusion from the proceedings in this
chapter, enabling us to justify why so much time is invested on linear systems
analysis when real process systems are almost always nonlinear to some extent.
Before leaving the main subject of Process Dynamics, there remains one
final issue to be discussed, that of system stability. This is the subject of the
next chapter, the last chapter of Part II.
ONS
REVIEW QUESTI systems, an d ho w
d< > tfi ey
ch ara cte riz e the behavior of linear
rti es
1. What tw o prope nonlinear behavior?
assist in recognizing ical pr O CE ss
on so urc es of no nlinearities in chem
of the most co mm
2. What are so me
models? r, w ha t ar e
of no nli ne ar sy ste ms dynamic behavio
ted with the analysis
3. When confron consideration?
ap proaches available for
some of the ry pr ac tic al ?
ria ble tra ns for ma tion currently no t ve
earization by va
4. W hy is exact lin of the numerical ap
pr oa ch to
ma in ad va nta ge s and disadvantages
of the
5. What are some
analysis?
nonlinear dynamic ach to nonlinear dy
na m ic
va nta ge of the mo del linearization appro
in ad
6. W ha t is the ma main disadvantage
of this approach?
analysis? What is the ab ou t
ximate in fe re nc es
s it po ssi ble to dr aw general bu t appro it po ssi ble to dr aw
make pr oa ch makes
7. Which ap pr oa ch nlinear syste m, an d wh ich ap
the behavior of a no
cific bu t ac cu rate inferences?
on ly spe tio n (o f a
of a nonlinear fu nc
ry to tru nc ate a Ta ylor series expansion de sir ed ?
8. Why is it necessa ear approximation is
the first term if a lin
single variable) after th eir
in na tur e, so th at
s are alm os t un iversally no nli ne ar r ap pr ox im ati on s
9. If chemical pro
cesse
t alw ay s no nli ne ar, wh y are linea fe ed ba ck
ls are almos ecially wh en
mathematical mode a su bs tan tia l nu mb er of cases, esp
te in
fo un d to be ad eq ua
control is involved?
/
CHAP 10 NONLINEAR SYSTEMS 329
with b(}l b1, b2, b3' b4 as constants.
(c) Antoine's equation: Temperature dependence of vapor pressure:
pO(D = e!A-M;T+C)] (Pl0.3)
with A, B, Cas constants.
PHASE EQUILIBRIUM:
ax
y(x) = I + (a - 1 )x
(Pl0.4)
HEAT TRANSFER:
differs from the differential equation model for the first-order system:
dY(t)
aY(t) + bU(t) (Pl0.7)
dt
10.3 The dynamic behavior of the liquid level in a certain cylindrical storage tank is
modeled by:
dh
A -dt = F.l - ch 113 (Pl0.8)
where A is the uniform cross-sectional area (m2); F; is the inlet flowrate (m3/min); h
is the liquid level (m); and cis a constant.
(a) Linearize this process model around a steady-state level h5 , and obtain an
approximate transfer function model relating the deviation variables y =h - h5 and
u = Fi- F; 5 , where Fis is the steady-state inlet flowrate corresponding to h5•
Explicitly specify what the steady-state gain and the time constant of the
approximate transfer functions are.
(b) The specific tank with c =0.5 (m7 /3 /min), A= 0.25 m2, and whose total height is
1 m, had a steady-state liquid level of 0.512 m when operating at an initial steady-
330 PROCESS DYNAMIC S
state flowrate of 0.32 m3 /min. It is believed that if the flowrate were to increase
suddenly from this initial value to a new value of 0.52 m3 /min, and remain there, the
approximate, linearized model will mislead us into concluding that the liquid level
will rise to a new steady-state level within the limits of the total tank height, and the
tank will not overflow; the more accurate nonlinear model, on the other hand,
predicts that this change will, in fact, cause the tank to overflow. Confirm or refute
this statement.
10.4 A mathematical model for the level of gasoline in a hemispheri cal storage tank is
given as:
dh _ l l (
dt - tr (2Rh- h 2 ) F;- ch
112) (PI 0.9)
where R is the radius of the hemispherical tank, and f; is the flowrate of gasoline
into the storage tank. Show that by introducing the following transformations:
(PIO.IO)
and
(PIO.Il)
10.5 Revisit Problem 10.4. Given a specific tank with parameters R =2m, and c = 1.5
(m 5 12 jmin.), operating at initial steady-stat e conditions : f;s = 1.35 m 3 /min,
h6 =0.81 m;
(a) Linearize the original mathematical model around this steady state, using a first-
order Taylor series expansion; obtain an approxima te transfer function model, and
use this approximate model to obtain a response of the gasoline level to a step change
in f; from the initial value to 1.8 m3 /min. Plot this response.
(b) Using a numerical integration software of your choice, obtain a more accurate
response of the gasoline level (to the same change in f; investigate d in part (a)) by
solving the original modeling equation, incorporat ing the given parameters .
Superimpo se a plot of this response on the approxima te response plot obtained in
part (a) and comment on the "goodness" of the linearized, approxima te transfer
function modeL
10.6 In Example 10.4, an approxima te linear first-order model was derived for the
conical tank by linearizing the original nonlinear model. The following problem
(Olson 1992)t shows an alternative method for doing the same thing.
Starting from the original material balance equation:
dV
dt = F;-chl/2 (PIO.I3)
given initial steady-stat e values V5 for the tank volume, h for the tank level, and Fis
5
for the inlet flowrate, define the following new variables:
v = VIVS
respectively, the relative volume in the tank, the relative tank level, and the relative
inlet flowrate. Show that wilh this definition, the material balance equation
becomes:
T dV = F. - H In.
S dt I (PIO.l4)
=
with -r5 VJFis' the residence time of ~e tank at the current operating stea_dy stat~.
Now introduce the deviation variable V = V- V5 = V -1, with the others, H, and F;
similarly defined, and show that upon linearization, Eq. (Pl0.14) becomes:
(PJO.l5)
an equation that is easier to use than Eqs. (10.26) and (10.33) since no constitutive
relation is needed to find the time constant and the gain.
10.7 In Problem 6.10 the model for an experimental biotechnology process was given as:
d~I
d/ = ai~I - a12~1~2 + b)l (P6.6a)
d~2
dt = -a2~2 + a2I~Ig2 (P6.6b)
where:
~ 1 is the mass concentration of microorganis m 1, M (microgram/l iter)
1
~2 is the mass concentration of microorganis m 2, M 2 (microgram/l iter)
Jl is the rate of introduction of M 1 into the pond (microgram/ hr)
a 1, a12, a2, a21, b, are fixed parameters
Linearize this nonlinear model around the reference values g• , g• , and J.L*,
1 2
defining the following deviation variables:
U=J.L-Jl*
Show that the resulting linearized model is of the form given in Eqs. (P6.7a,b ):
dxl
dt = a 11 x 1 - a 12x 2 + bu (P6.7a)
dx2
d/ = a2Ixl - a21x1 (P6.7b)
10.8 Perhaps the most popular nonlinear chemical engineering system is the
nonisotherm al CSTR in which the single, irreversible reaction A -> B is taking place.
The model for this reactor is given in Chapters 4 and 12 as:
(4.26)
(4.27)
332
PROCESS DYNAM ICS
where, as previou sly noted: cA is the concent ration of reactan
t A in the reactor
while Tis reactor temperature, 8 =V/F is the mean residenc
e time in the reactor,
k = k0e-(E.IRT) is the reaction rate constant, f3 = (-L1H)/pCP is
a heat of reaction
parameter, and X is the heat removed by the tubular cooling coil:
X
= _IM_(T -T)
pC V (12.3)
c
p
with h as the coil heat transfer coefficient, A the total coil heat
transfer area, and
Tc is the average tempera ture along the length of the coil. Lineariz e this set of
equatio ns around the steady states cAs and T •
5
ds.
d(= (P10.16)
ds2
dt 60Jl- 3.03161~2 (PI0.17 )
ds3
- o.OOI34I06~ 1 % + o.o34677 ~2 - 10,;3 (Pl0.18 )
(PI0.19)
along with:
I) =
S4
s3 (PI0.20 )
11
STABIL ITY
A very important aspect of the dynamic behavior of a process that so far has
not received any formal attention has to do with the following issue: when a
(fmite) input change is implemented on a physical system, does the resulting
transient response ultimately settle to a new steady state, or does it grow
indefinitely? This issue did not arise in all our previous discussions because of a
deh"berate attempt on our part to defer it until all other aspects of dynamic
analysis have been discussed.
If it is indeed possible for a process not to settle eventually to another
steady state, but have its output grow indefinitely when disturbed from an
initial steady state, what characteristics of the process determine whether or
not such behavior will occur? This chapter is primarily concerned with
investigating those issues having to do with the stability properties of a
dynamic process as represented by its model.
333
334 COMPUTER CONTROL
y(t)
t: = ~
I I
Steady
State
Steady
State
Steady
State
Figure 11.1. The three possible responses of a dynamic system to a disturban ce:
(a) returns to a steady state; (b) output grows indefinitely; (c) output
oscillates indefinitely with a constant amplitude.
Pivot
a. b.
be considered as being unstablei that is, 6 =1r is an unstable steady state. Note
that the upward pointing configuration is indeed a. steady state because all the
forces are balanced when 6 = 1r exactly. However, this steady state is in fact
unattainable by the system unless some external force is used to hold the
pendulum in this position.
Definition 1:
Pivot
...~---··-··...
.
:
.
.
.
~
.'
'' ''
~
\<>··--··. ·:::·~. . .
....... --
Definitio n 2:
Thus Definitio n 2 means that any steady state .that is asympto tically
stable will return to the steady state :x, as t -+ oo after some initial perturba tion
x 0• Usually for process dynamic s and control problem s there is no
practical
difference between steady states that are stable and asymptotically stable.
Definitio n 3:
Definitio n 4:
Note that this is just the definitio n of stability (Definition 1) but limited
to some domain M. If we allow the domain M to be the whole space, then the
system is said to be globally stable. This concept of system stability on
a
domain is importan t in interpret ing the behavior of nonlinea r systems where
there may be multiple steady states or domains in the state space that are
unstable.
The precise definitio ns above are necessar y when we consider all the
possibilities arising from nonlinea r systems; however , the simpler concept
of
Bounded -Input/B ounded- Qutput (BIBO) stability is often sufficient for linear
systems:
CHAP 11 STABILITY 337
Defittition 5 (Bounded-Input/Bounded-Output Stability):
We will apply the stability concepts just discussed in order to answer these
questions in this chapter.
b sq + b _ 1 sq- 1 + ... + b 0 _ M
g(s) = aPsP+ aP_ 1 sP 1 + ... +a 0 - A(s) (11.2)
Recall that the polynom ials in g(s) can be factored into the form:
(11.3)
so that zk, k =1, 2, ... q the roots of the numera tor polynom ial, B(s),
are the zeros
of g(s). Similarly, r;, i = 1, 2, ... p, the roots of the denomi nator
polynom ial,
A(s), are the poles of g(s).
To illustrate the respons e to a bounde d input, conside r the unit step
respons e
given by:
1
y(s) "' g(s)- (11.4)
s
y(s) = A
-
0
s
+ A. -
IP [ --'
; = 1 (s- r;)
J (11.5)
where the r;'s are the p system poles. Recall that the ri can be
either real or
complex number s, r; = 7i + jTt;, where 7i is the real part and 71; is the
imagina ry
part of the ith system pole.
Laplace inversio n here immedi ately yields:
(11.6)
Figure 11.5. The complex plane showing the location of system poles (x) and system
zeros (0).
A linear system is stable if and only if all its poles have negative
real
parts so that they lie in the left half of the complex plane; otherwis
e
it is unstable.
This is a very powerfu l result because it clearly states that the stability
of a
linear system is depend ent only on its poles; zeros do not affect system
stability.
Thus the issue of determi ning the stability character of a linear system
is no
more than that of determining the nature of its poles; it is not at all necessa
ry to
determine the details of the dynamic process response. Figure 11.5
shows the
complex plane with some poles and zeros plotted. Note that from the
stability
test above, if any pole is in the right-half plane, the system is unstable
.
Let us illustrate this with an example.
5
(11.7)
(11.8)
where the only difference between System 1 and System 2 is that the latter
has a zero
while the former has none; they both have identical denominator polynom
ials, i.e.,
identical poles.
Solution :
5
gl(s) = (s + 3)(s- 2)
340 COMPUTER CONTROL
5(s + 1)
gz(s) = (s + 3)(s- 2)
Observe that both systems have identical poles: two each, located at s = -3 and
s = +2. According to the stability result given above, therefore, both systems are
unstable by virtue of the pole at s = +2. The zero possessed by System 2 exerts
absolutely no influence as to whether it is stable or not.
Let us confirm this further by obtaining each system's unit step response. For
System 1, this is obtained from:
_ _5___ !
(s + 3)(s - 2) s
5(s + I) 1
Y2(s) = (s + 3)(s- 2)-;
and
-516
- - +-2/3
- - + 3/2
--
s s+3 s-2
and
Now, each of these responses grows indefinitely with time by virtue of the e21
terms, and therefore both systems are in fact unstable, as we had earlier concluded.
Thus, the answer to the question "when is a linear system stable?" is: when
all the transfer function poles (the roots of the denominator polynomial) have
negative real parts; i.e., when they lie in the left half of the complex s-plane.
If the linear system in Eq. (11.2) were expressed in terms of a pth-order
differential equation model of the type:
(11.10)
where the p characteristic values, m1, are found by using the coefficients of the
derivatives in Eq. (11.9) to form the characteristic equation:
aP m p + aP _ 1 m p-1 + . . . + a 2 m 2 + a 1 m + a 0 -- 0 (11.11)
Thus for models in the form of Eq. (11.9) we have the following stability
result:
A linear system in the form of Eq. (11.9) is stable if and only if all its
characteristic values m1 have negative real parts so that they lie in
the left half of the complex plane.
(11.12)
;,_I = x,
• = -;;
x, l ( -aP _ x, -aP _ xP _
1 2 1
p
withx 1 = y
0 1 0 0
0 0
A 0 0 0
-<Jo -al
a, a,
342 COMPUTER CONTROL
0
0
K
l1p
<~m (11.13)
Here the quantities A;, i = 1, 2, ... , p are the eigenvalues of the matrix A in
Eq. (11.12) found from the roots of the polynomial defined by:
Thus for models of the form of Eq. (11.12), stability is determined as follows:
A linear system in the form of Eq. (11.12) is stable if and only if all of
its eigenvalues ..t1 have negative real parts so that they lie in the left
half of the complex plane.
Note that the polynomials in Eqs. (11.11) and (11.16) are identical to the
denominator polynomial in Eq. (11.2) so that all three equations have the same
roots; i.e., the poles of the transfer function g(s) in Eq. (11.2) are the same as the
characteristic values of the high-order Eq. (11.9) and the same as the
eigenvalues of the matrix A in Eq. (11.12). Thus r1 = m1 = A.1; i = 1, 2, ..., p.
From this similarity we know that the stability of a linear system is
determined by the sign of the real parts of the poles, characteristic values, or
eigenvalues, depending on the system model form we use. These all result from
the same polynomial equations.
It is important at this point to mention that the sign of the real parts of the
roots of these polynomials can be determined without explicitly solving the
equations. Straightforwa rd and valuable methods for doing this are presented
in Chapter 14.
Using the transfer functiong 1(s) from Example 11.1, transform the model:
(11.17)
into the time domain and investigate the stability character of the time-domain model.
CHAP 11 STABILITY
343
Solution:
c61!l
dt2 + !Ml1
dt - 6y(t) = 5u(t) ( 11.18)
or equivalentl y letting:
dx 1
dt = x2(t)
dx 2
dt = -x2(t) + 6x I(/) + 5u(t) (11.19)
y = XI
A =[0 1 ].
6 -1 b = [~]. c = [~]
Now we see that the three model representat ions Eqs. (11.17), (11.18) and (11.19)
produce the set of characteristic equations:
0 (from 11.2)
0 (from 11.11)
Thus s 1 = m 1 = A.1 = -3, s2 = m2 = A:z = +2, and the system is unstable however it is
analyzed. ·
Let us neglect the inputs u, d, t, since the variables have nothing to do with the
inherent stability propertie s of the system, and put Eq. (10.9) into vector
notation:
dx
dt = f(x) (ll.20)
344 COMPUTER CONTROL
where x is a time-dependent vector of the n states and f is a vector function:
X = f = (11.21)
/ll(x)
dx,{t)
T = /;(x,)+
111
L -a;-
[i}f (x)J [x1 (t)-x1,]; (11.22)
J•l j x•x.
i = 1, 2, ..., n
Note that (dft (x) I iJxi) x • x is the partial derivative of/; with respect to the jth
state xi, evaluated at the steady state x.- H we define the deviation variable:
i = I, 2, ..., n (11.24)
we obtain the linearized model in terms of deviation variables:
clif..t)
~= L
" [at;
~
(x)l _
x.(t) (11.25)
"' J= I UJ<j •x, 1
i = 1, 2, ..., n
This can also be put into vector-matrix notation:
Ji. -
dl =Ax (11.26)
where we define:
i}f, i}f,
ax, ax2
i}f2 iJj2
i = A= ax, iJx2 (11.27)
CHAP 11 STABILITY 345
Now, the approximate linear model for the nonlinear system will be adequate
in representing the dynamic behavior as long as the system remains in some
domain 0 surrounding the steady state xs (see Figure 11.6). The bounds of this
domain Q could be, for example, when the maximum error is 1%, or 5%, or some
other bound. One thing is clear, however: as the domain shrinks in size, the
linear model becomes better and better until there is some region very close to
xs where the error is infinitesimal. This fact is illustrated most clearly in
Figure 10.3 of the last chapter for the case of n = 1. Thus, analysis of a
linearized model for a nonlinear system will give exact results regarding the
stability or instability of the steady state xs. This result, originally due to
Liapunov [1, 2], is the basis of all steady-state stability analysis of nonlinear
systems.
Figure 11.6. The domain n around the steady state xs for which the linearized model is
a good approximation of the nonlinear system.
346 COMPUTER CONTROL
The Pendulum
As is shown in several texts on classical dynamics, as well as in Ref. [5], the
mathematical model for this system, obtained on the basis of Newton's law of
motion, is:
Jl(J k d(J lL .
- + - - + Slll (} = 0 (11.28)
dr mdt R
where k is some positive constant of proportionali ty; m and R are respectively
the mass of the bob and the length of the connecting rod; and g is the
acceleration due to gravity. This model is nonlinear because of the presence of
the sin (} term.
Since all time derivatives vanish at steady state, we have from Eq. (11.28)
that:
sin (}s = 0 (11.29)
Stability Analysis
Let us now apply the stability results of this chapter to determine the stability
of this system close to the two steady states, e. = 0 and e. = n.
First let us reduce the second-order model Eq. (11.28) to a set of two first-
order equations of the form of Eq. (10.9) by letting x1 = e, x2 =de/ dt so that:
dxl
dt = Xz = fl (x" x2)
We can use this form for stability analysis by defining the deviation variables:
xl = xl-xls
i 2 = Xz -x2s
and invoking Eq. (11.25):
di
_I_
dt - xl (11.32)
di2
- JL(
R COS x 1 ) _ X- 1 - !_-
dt "t-.rh' m X2
CHAP 11 STABI LITY
347
where the two possib le steady states are now repres
ented as:
Stead y state 1: xls = 0, X:1s = 0
Stead y state 2: xls = 7!, x 15 = 0
If we now put Eq. (11.32) in the vector-matrix form
of Eq. (11.26), we have:
dx = Ai
dt (11.26)
where
(11.33)
0
lA -111 =[ (11.34)
0 (11.35)
which has roots:
(11.36)
Note that these results confirm our physical intuition and our earlier
conclusions.
Finally, it should be noted that it is also possible simply to linearize the
nonlinear model of Eq. (11.28) and analyze the linearized second-order
differential equation for stability directly without first converting to the
matrix form (see Problem 11.2).
(10.1)
2h, 1tlfc
y(s) = 112 u(s)
( A 2h,
-c-s + 1
)
indicating that the linearized model has a single pole located at:
ciA
s = -:7m
2h,
(11.37)
We now observe that there is no h5 value for which this pole will lie in the
right half of the complex plane; we therefore conclude, on the strength of the
stability result given above, that this system is always stable!
It is truly remarkable that we can come to such a strong conclusion on the
basis of a linearized modeL It is, however, easy to see from physical grounds
that this conclusion is in fact true.
The nature of the system is such that the flowrate out of the tank is
proportional to -{h, and when inflow balances outflow, we have a steady state.
Now, if there is a disturbance of this equilibrium, say, for example, the inflow
is increased, the immediate effect is an increase in the liquid level in the tank;
but this increased level now causes the outflow to increase, albeit as a nonlinear
function.
When the level has increased to such a point where the resulting increase
in outflow balances the initial inflow increase responsible for the disturbance,
we attain another steady state; and the system has regulated itself. Such
systems are, therefore, called self-regulating systems.
Note that this fact holds regardless of the initial steady state in question;
it is only the rate at which the new steady state is attained that depends on
the actual liquid level at the initial steady state. It is left as an exercise for
the reader to confirm that the system attains to a new steady state faster when
starting from lower values of the steady-state liquid level.
CHAP 11 STABILITY 349
is open-loop unstable because its only pole, located at s = +1/ r, is a RHP pole.
Thus while the presence of a RHP zero indicates inverse response, the
presence of a RHP pole indicates instability.
10
y(t)
0~~--.-r-~.-~~~
0 4 6 8 10
Time
y(t)
0 2 4 6 8 10
Time
Figure 11.8. Effect of an additional LHP pole on the unit step response of an open-loop-
unstable system exhibiting exponentia l instabihty.
This fact is demonstr ated in Figure 11.8 which compares the step response
of the system in Eq. (11.40) (in the dashed line) with the response (in the solid
line) of the system whose transfer function is given by:
2
g(s) = (5s- I)(3s + I) (I 1.41)
As we already know, zeros tend to speed up the system response. For open-
loop-unst able systems, additiona l zeros therefore tend to quicken the pace of
the observed instability.
The unit step response of the system whose transfer function is given by:
( ) _ 2(4s + I)
g s - (5s-l) (11.42)
is plotted in the solid line in Figure 11.9 and compared with the original unit
step response for the system in Eq. (11.40), and we can clearly observe the
acceleration effect of the zero.
15~--------------~---,
10
y(t)
0 2 4 6 8 10
Time
Figure 11.9. Effect of an additional LHP zero on the unit step response of an open-loop-
unstable system exhibiting exponentia l instability.
CHAP 11 STABILITY
351
1.0
0.5
y(t) 0.0
-0.6
-1.0
0 2 3 4
Time
Without
~.!:
1 Pole\ r:fil!!
. :~:au:
• n n:: n :: :::
'" • II II II II jl I I I I I
• •,. "IIUIIIIIIIII I
-l
With the
Additional
Pole
0 2 8 4
Time
Figure 11.11. Effect of an additional LHP pole on the unit step response of an open-loop-
unstable system exlubiting oscillatory instability.
352 COMPUTER CONTROL
401 I
I
With the Zero Without the Zeroj :
20~ '
.
'NH II II I
I II I
. I II II II I
. A II II II II I
ft 11111111 Ill
AA • A II II It II II II I
1\1\.f\1\1\ 1\llllllllftlllllll
~+t+-f-I'I,I'J"liL~l\l\1\1\11 1\1111! llll
y{tJ o +.O.,O,A.f'<vrfl+vtiv-11VlftH
' ' VII II II IIIII II I
V II II II II I I I I
' II II II I I I I
I II II II I I
• I II I I I I
. U Ill I
-20- I II II
• II II
II tl
U II
I II
II
II
!
-40~---r--,~--~---~~~~--r-1--r--,1
0 2 4 6 8
Time
Figure 11.12. Effect of an additional LHP zero on the unit step response of an open-loop-
unstable system exhibiting oscillatory instability.
arrest the unstable behavior. This is illustrated in Figure 11.11 (in the solid
line) by the response of the system:
10
g(s) = (s 2 - 2s + 629)(s + 1) (l1.44)
is shown in Figure 11.12 (solid line), to demonstrate the effect of the additional
zero. As expected, the acceleration effect brought about by the zero causes the
system instability to become apparent much sooner than in the case of the
system Eq. (11.43) without the zero.
11.4.3 Systems Displaying Sustained Oscillatory Behavior
Recall that in Section 11.1 we indicated that one type of dynamic behavior
observed for some systems is sustained oscillatory behavior (see Figure 11.1(c)
as an example). This type of behavior is quite rare for linear systems not under
feedback control. It can result only from processes at the boundary between
stability and instability when the system poles (or eigenvalues) are purely
imaginary complex conjugates (i.e., having zero real parts). This would
correspond to a pair of system poles on the imaginary axis in Figure 11.5.
However, as we shall see in the example of the next section, many linear
systems under feedback control can exhibit this behavior for controller gains at
the point of instability of the process.
Many nonlinear systems, on the other hand, can display sustained
oscillatory behavior for a wide range of operating conditions even without
feedback control. Chemical reactors are perhaps the most common processes
where such oscillations are seen. The conditions for the onset of these
oscillations are quite complex and will not be dealt with in this book. The
reader is referred to Refs. (3, 4) for more details.
CHAP 11 STABILITY 353
11.5 STABILITY OF DYNAMIC SYSTEMS UNDER FEEDBACK
CONTROL
As we shall see in Part IVA, one of the more important applications of the
concept of system stability arises from the fact that a system that is stable by
itself can be made unstable by the addition of feedback controllers. Thus a
device that is supposed to improve the dynamic behavior of a process has the
potential to be detrimental. One of the objectives of control systems design is,
therefore, to design control systems that do not jeopardize process stability.
Not to preempt a fuller discussion in Chapters 14 and 15, we only illustrate
these ideas here with an example.
Let us consider the problem of controlling the level in Tank 3 of the three
tank process shown in Figure 11.13. To accomplish this, the inlet flowrate to
the first tank, F()I will be manipulated based on a signal from a proportional
feedback controller. Recall from Chapter 5 that a linear model for the liquid
level hi of each tank will take the form:
dh[
Al dt = Fo-clhl
(11.46)
where A 1, ci represent the cross-section area and the outlet valve discharge
constant for each tank. In terms of deviation variables Yi = hi - hi., u = F0 - Fos·
1his becomes:
(11.47)
(11.48)
Taking the Laplace transform of Eq. (11.47) and relating y3 to u, one obtains the
transform-domain transfer function:
(11.49)
Figure 11.13. Three noninteracting tanks in series with proportional feedback control.
so that:
6
g(s) :::: (2s + 1)(4s + l)(6s + l) (11.50)
For the proportio nal controller with gain K,, i.e., u(s):::: K, (yd (s)- y (s)) we
3
can see in Figure 11.14 the effect of increasing the controller K, on the dynamic
2.0
a)
1.5
y 3 (tJ 1.0
0.5
0 20 40 60 80 100 120
t
2.0
b)
1.6
y 3 (tl 1.0
0.5
0.0 +-.----,-..---,---.----,-~.---.--,--,---.---,
0 20 40 60 80 100 120
t
Figure 11.14. Response of the three-tank system under proportional feedback control to
a
unit step change inset point; (a) K, =1.0; (b) K,= 1.67.
CHAP 11 STABIL ITY
355
respon se for a unit step change in set point for y . Note that
3 for Kc = 1.0, the
respon se is stable, while for Kc = 1.67 the respons e is purely
oscillatory becaus e
the system is at the transiti on betwee n stability and instabil
ity. For Kc > 1.67
the process become s unstabl e. This exampl e clearly shows that
it is possible for
this process to becom e unstabl e as a result of overly aggress
ive control action
(i.e., by having the control ler gain too large).
We note, finally, that just as it is possible for an inheren tly
stable system to
be made unstab le by feedba ck control , it is also possibl
e to stabiliz e an
inheren tly unstabl e system by feedback control. We will
discuss these issues
further in Chapte r 17.
REVIEW QUESTIONS
1. When a process is "'disturbed" from an initial steady state, what are the various ways
in which it can respond?
2. Why is it necessary to distinguish between the stability of a system steady state and the
stability of the system itself?
3. What is the difference between the stability definitions 1, 2, and 4 given in the main
text?
6. What are some of the practical issues concerni..<g system stability that arise in process
dynamics and control?
7. Is the stab~lity of a linear system steady-state dependent? That is, can a linear system
be stable at one steady state and be unstable at another?
10. How does one investigate the stability of a nonlinear system steady state?
12. What influence, if any, do the zeros of a linear system's transfer function exert on its
stability?
13. When a linear system exhibits oscillatory instability, what can be said about the
nature of the system transfer function poles?
14. Which system is more likely to exhibit sustained oscillatory behavior by itself
(without a controller): a linear or a nonlinear system?
15. Is it possible for an otherwise open-loop stable system to be made unstable by the
introduction of feedback control?
PROBLEMS
11.1 Given the following system transfer functions:
K
(a) g(s) = (Pll.l)
( -rs + l)(s 2 + m2 )
K
(b) g(s) (Pl1.2)
(s 2 + 4s + 3)
K
(c) g(s) (P11.3)
(s 2 +2s-3)
CHAP 11 STABILlTY 357
K(s + 1)
(d) g(s) = s(s 2 + 4s + 3) (Pll.4)
11.2 Linearize the model in Eq. (11.28) around each of the steady states indicated by
Eqs. (11.29) and (11.30), and analyze the stability of these steady states directly
from the linearized differential equation without using matrix methods.
11.3 The mathematical model of the most important aspect of a pilot scale bioreactor has
been reduced to the following bilinear equation:
dY(t)
dt = -2.SY(t) + O.SY(t)U(t) + l.SU(t) (Pll.S)
where U(t) and Y(t) are, respectively, transformed versions of the dimensionless
dilution rate, and the dimensionless reactor biomass.
(a) Obtain an expression for the relationship between Y* and U*, the respective
steady-state values of Yand U. Plot Y* versus U*.
(b) A laboratory experiment calls for running the bioreactor at the transformed
dilution rate of U*= 3.0. Investigate the stability of the bioreactor at this operating
condition.
(c) It has been reported that the reactor has never been successfully operated at the
transformed dilution rate of U*= 6.0. Establish that the reason for this is that the
conditions correspond to an infeasible steady state, and that even if the steady state
were feasible, the reactor will be unstable at such an operating point.
11.4 In Problem 10.9, the model for a free-radical polymerization reactor was given as:
(PIO.l6)
(Pl0.17)
(PIO.l8)
(PIO.l9)
(Pl0.20)
tfl' 1 1 hA -
- = --T+ Rb e-< EIR1)c + -T- --(T-T)
dt o I"'() Aofpc v c
p
11.6 Investigate the steady states of the hemispherical gasoline storage tank of Problem
10.4 for stability. The mathematical model was given as:
dh - 1 1 (
dt - n(2Rh- h 2 ) Fi- ch l/2) (Pl0.9)
where R is the radius of the hemispherical tank, and f; is the flowrate of gasoline
into the storage tank. Is the system stable at all steady states? Provide a physical
justification of your answer.
11.7 The mathematical model for an exothermic chemical reactor has been reduced by
some elementary transformations to:
dY(t)
dt = -Y(t) + 2.6U(t)- 2.0U(t) 2 + F(t) (Pll.6)
11.8 Consider the situation in which the transfer function of a dynC~mic system, g+(s), is
generated according to:
g(s) K
g+(s) = I+ (PI1.7)
g(s)K
show that there is no value of K > 0 for which the system represented by g+(s) will be
unstable.
(b) Show also that for g(s) given as:
6
g(s) = (2s + I){ 4s + 1) (Pll.9)
once again, there is no value of K > 0 for which the system represented by g+(s) will
be unstable. ·
CHAP 11 STABILI TY
359
(c) When g(s) is given as:
6
g(s) = (2s + 1)(4s + 1)(6s + I) (Pil.lO)
will have no roots in the right half of the complex pl11ne if and only if:
a 0, a!' a 2, a 3 > 0; and
ala2 > aaa3
4.5
g(s) = (3s - I) (Pll.ll)
(Pil.12)
4.5
g ()
s = (P11.13)
(3s- l)(-r2s +I)
which differs from the transfer function given in Eq. (Pll.ll) only by
the presence of
the addition al pole: show that under proportio nal-only control, the
conditio ns for
closed-loop stability in this case now depend on the location of the
addition al left-
half plane pole relative to the location of the unstable pole in the right
half of the
complex plane.
part Ill
JPROCJE§§ MOD ELliN G
AND
liDJEN1rliJFliCA TliON
Three organically related elements are essential for effective control systems
analysis and design: the inputs to the process, the process model as an
abstraction of the process itself, and the outputs from the process. Once any two
have been specified, the third element may then in principle be derived.
When the input is specified along with the model, and the resulting process
output is to be derived, this is the Process Dynamics problem, a rather
comprehensive treatment of which has just been completed in Part II for various
processes represented by diverse models. When the desired process output is
specified along with the process model, and the input required to produce such
an output is to be derived, this is the Process Control problem; it will be
discussed in Part IV. Deriving the process model from process input and output
information (and perhaps some knowledge of the fundamental laws governing
process operation) is the Process Modeling problem, quite often the most
important (and most difficult) problem of all; it will be the focus here in Part
mconsisting of Chapters 12 and 13.
Chapter 12 is devoted to the development of theoretical process models
from first principles, using material and energy balances (and fundamental
physical/che mical laws) to determine the model equation structure, and
estimating unknown model parameters from the process input and output data.
Chapter 13 is devoted to Process Identification: the alternative approach of
developing purely empirical models, in which the model form, and all the
model parameters, are obtained strictly from input and output data acquired
from the operating process. The relative merits of each approach will be
discussed in the context of examples illustrating model development for
distillation columns, chemical reactors, etc.
part II I
PROCE§§ MO DEl liNG
ANI D
liDE NTK FKC ATli ON
12
THEORETICAL PROCESS MOD ELI NG
12.1 INTRODUCfiON
Inasmuch as entire books have been written on process modeling (cf.
Refs. [1-3]),
our objective in this chapter is not to present a compre hensive treatme
nt of
theoretical modeling. Further, since mathematical modelin g is recogni
zed as a
curious mixture of "art" and science, the subjective and the objective
, neither is
it our objective to present a rigid, cookbook procedu re for developing
theoretical
models. Instead , our aim is to present first the philoso phy and
principl es
involved in modelin g the behavior of process systems, and then to illustrat
e the
application of these principles with several examples.
Process Modeli ng is not a rigid science that can be practice d in only
one
"right" way, but neither is it amorph ous and unstruc tured: there
is some
technique involve d, and the procedu re, even if not rigid, must be systema
tic if
the modelin g exercise is to be carried out successfully and efficiently.
363
NTIFICATION
PROCESS MODELING AND IDE
364
of Dy namic Processes
12.1.1 Mo del ing the Behavior
objective ma y be
dynamic processes, the ma in
In mo del ing the beh avi or of tion ship bet wee n the various
red uce d to tha tof obtaining a functional rela behavior. The
lain s the obs erv ed process
pro ces s var iab les wh ich exp al relationship,
- but unk now n - fundament
und erly ing belief is tha t a true s var iab les, and our
sts bet wee n the proces
dic tate d by nat ura l laws, exi this rela tion ship .
towards discovering
modeling exercise is directed set tha t it is imp oss ible to por tray
the out
It is also und ers too d righ t at mat hem atic al form.
actual process behavior in
perfectly aU the details of the a fun dam ent al mo del ing
refo re, theoretical mod elin g seeks to arrive at most
The ure to the
application of the laws of nat
relationship thro ugh systematic the pro ces s. The
to determine the behavior of
important phenomena assumed
cal process model.
end result is known as a theoreti this unk now n
On the oth er han d, emp irica l modeling seeks to approximate
al functions, using
e (usually simple) mathematic
functional relationship by som Bec ause they dep end
entally from the system.
information gat her ed experim erie nce , the app rox ima ting
rma tion and exp
ent irel y on exp erim ent al info .
ed are known as empirical models
mathematical functions obtain ore tica l mo del ing app roa ch wh en the
the
It is typ ica l to ado pt the reasonably well
me cha nism s by wh ich a process operates are
und erly ing retical approach
s is too complicated for the theo
und erst ood . When the proces ent al nat ure of the
rmation about the fundam
(usually because very little info atio ns are eno rmo usl y
theoretical mo del equ
pro ces s is available, or the riat e cho ice. The ent ire subject
ch is the approp
complex) the empirical approa rma tion (with no
from pur ely experimental info
of constructing a process model r) is kno wn as Process
es for the observed behavio
recourse to any theoretical bas
Cha pte r 13.
Identification; it is the subject of to be mutually
e two app roa che s to process modeling appear
Although thes can not be completed
tha t theoretical modeling
ind epe nde nt, we will soon see wil l also find tha t some
som e exp erim ent atio n; in Cha pte r 13, we
wit hou t to be successful.
required for empirical modeling
theoretical considerations are
nt
al Process Mo del De vel op me
12.1.2 Procedure for Theoretic
a process model
and ultimately abstract from it
To star t from a physical system of several stages:
is a process that consists
that can be use d as its surrogate
e, whether
will enable us decide, for exampl
The ans wer to these questions roac h.
or the alternative empirical app
to use the theoretical approach
Stage 2: Model Formulation
briefly
retical mo del dev elo pm ent was
Wh at this stag e entails for theo uss ed in mor e detail
pter 4 and will be disc
introduced in Section 4.2 of Cha men t (or Pro cess Iden tific ation)
model develop
below. This stage in empirical
will be discussed in Chapter 13.
Stage 3: Parameter Estimation
retical or
sical process (wh ethe r by theo
In dev elop ing a model for a phy es mu st be specified
ters app ear who se valu
empirical means), certain parame beh avio r. For exa mpl e, the
to predict process
before the mo del can be use d . (4.26) and
the non isot her mal CSTR in Eqs
theoretical mo del obtained for
(4.27}:
(4.21i)
(4.27)
ers:
contains the following paramet
8, the reactor residence time
k = k 0 e- (E/RTJ, the reaction rate
constant
ided by the
, a rati o mad e up of the hea t of reaction div
P= (-ti H}/ pCP y of the reactor content.
density and specific hea t capacit
366 PROCESS MODEUNG AND IDENTIFIC
ATION
For any process mod el a subs et of the para
mete rs may be know n a priori,
avail able in the liter ature , or estim ated
from inde pend ent expe rime nts
perfo rmed , for exam ple, on a pilot plan
t, or in the laboratory; the rema ining
unkn own para mete rs must be determined
throu gh other means. It is customary
to obta in such para mete r estimates using
expe rime ntal data obtai ned directly
from the physical process.
~
: Formulation Formulation I
.....
N
:1
tT1
0
~
,_ -- -- :::'!
• Para mete r
: Estim ation
s
'1:1
:;.:,
R
Ci
\1:)
~
0
g
~
G')
'
'
'-
'
Model
Validation
'-----------------------------
-·~---------------------------
Figu re 12.1. Theoretical process modeling.
----·'
c...
0\
',J
368 PROCESS MODELING AND IDENTIFICATION
Primarily as a result of all these errors, the final result - a theoretical process
model - will be an imperfect representat ion of the process; this provisional
model must therefore be evaluated against process data to determine its
adequacy in a final model validation step.
dcA. - !
dt- -flcA.-koe
,.(E/R1) ! (12.1)
cA.+(JcA.f
ar 1 1
dt = -6 T + f3ko e-{Eitn)cA + 6 Tr X (12.2)
hA -
X=
pCp V(T-Tc) (12.3)
where h is the coil heat transfer coefficient, A the total coil heat transfer area,
and:
(12.4)
the average temperature along the length of the coil 0 < z < L. It is known
(Aris [4]) that X depends nonlinearly on the coolant flowrate q, according to:
(12.5)
where T cf is the coolant inlet temperature, and p,Cpc is the volumetric heat
capacity of the coolant. In addition, the parameters U, a are given by:
U = p,CP,
(12.6)
pC, V
a =hA-- (12.7)
P, c,,
Observe that our model has five parameters, {J, U, lea- E, a; two of these (fJ and
U) are typically available in the literature; and the other three are to be
determined. In addition there are five variables cAf, 6, T1 , Tcf, q, determined by
the reactor operating conditions. In subsequent sections of this chapter, we
shall show how the unknown parameters are estimated and how the final
CSTR model is validated against process data.
Top
Section
Feed
Section
Bottom
Section
Figure 12.3. The binary distillation colUllUl (adapted from Ref. [5]).
Vapor in
from
Platen-! L 0 z0
Rate of accumulation of A
in the liquid phase on plate n
Rate of accumulation of A
in the vapor phase on platen
The materia l balance equations for the typical nth tray are therefo
re given by:
dh.
dt ;: ; V. _ 1 -V. (12.10)
These form the basic buildin g blocks for modeli ng the entire
distillation colurrm
compo sed of several such stages.
372 PROCESS MODELING AND IDENTIFICATION
1. The ccndenser/receiver,
2. The top tray (Tray N), different from all the other trays because it is
the point of entry of the reflux stream),
3. An arbitrary tray n representative of all the other trays like it,
4. The feed tray (Tray f>, different from the others because it is the point
of entry of the feed stream,
5. The first tray,
6. The reboiler and column base.
and also that the temperature on each tray is determined from thermodynamic
equilibrium, making an energy balance unnecessary.
CHAP 12 THEORETICAL PROCESS MODEUNG 373
(12.12)
(12.14)
(12.15)
(12.17)
374 PROCESS MODELING AND IDENTIFICATION
FEED TRAY
(12.18)
(12.19)
FIRST TRAY
(12.20)
(12.21)
(12.22)
(12.23)
(12.25)
(12.26)
(12.27)
n = 2, 3, ..., N- 1; n *f
(12.28)
(12.29)
(12.30)
liquid phase
Note that we have (N + 2) differential equatio ns for the
nal differe ntial equatio ns for the liquid
compositions, and (N + 2) additio
the equatio ns are all nonline ar and couple d. The vapor phase
holdups; and
the equilib rium relation Eq. (12.11),
compositions can be eliminated by using
s, H ,., by
while the liquid flowrates Ln can be related to liquid holdup
Eq. (12.24).
resulting
The manipulated (control) variables are reboiler vapor rate V,
to the reboile r, and the reflux rateR (or alterna tively
from adjusting the steam
e F, and feed
the distillate produc t flowrate D). The disturbances are feedrat
composition of
composition x1 . The measured output variables are typically the
and bottom s produc ts, xDt x • Thus the nonline ar model would
the overhead 8
take the form of Eq. (4.31):
dx(t)
dt = f(x(t), u(t), d(t); 9)
y(t) = h(:x(t))
s of all liquid
where the state vector x is of dimension 2N + 4 and consist
output vector y is of dimension 2,
compositions and liquid holdups, while the
has dimens ion 2, and the manipu lated variabl e vector
the disturbance vector d
u also has dimens ion 2. This is seen explicitly in Eq. (12.31):
376 PROCESS MODELING AND IDENTIFICATION
xa
XI
x2
= [~]
XI
u
XN
Xo d = [~]
x= (12.31)
HB
e = [~]
HI
H2
y = [:;]
HI
HN
Hv
Observe that if there are 50 trays in the column, the model would consist of 104
nonlinear differential equations even though we have only two outputs and two
control variables. In Chapter 13 we demonstrate that in some cases, simple
empirical models often do a fine job of representing this two-input/two-o utput
system with much less work.
In conclusion, we note that the situation with most industrial distillation
columns is more complicated: the feed mixtures are usually multicomponent; the
trays are not 100% efficient; the vapor holdups on the trays are not negligible;
there are multiple feed entry points and multiple sidestream draw-offs; and
the condenser and reboiler heat exchanger dynamics may be important.
However, the basic principles involved in developing the more
complicated model (which takes all these factors into consideration) are
exactly the same as those illustrated with the relatively simpler situation we
have just dealt with. Such a complex theoretical distillation column model
has been derived in Ref. [5].
v
T(z,t)
t Condensate
I• "'
Figure 12.5. The steam-heated shell-and-tube heat exchanger.
The Process
We wish to develop a theoretical model that will predict the variation of the
fluid temperature both with time and with position.
To do this we will consider changes taking place during the infinitesimally
small time interval [t, t + at], in the space contained within the
infinitesimally sized elemental ring section shown in Figure 12.6, whose
boundaries are at z and z + az. The following assumptions are used in
conjunction with this microscopic description of the process:
4. The dynamics of the rube and shell walls are assumed small enough to
be negligible: thus any accumulation of energy within the elemental
ring is due entirely to the fluid occupying the element, not the heat
exchanger wall.
Amount of energy in at z :
with flowing fluid,
over the time interval [t, t + At]
(Note that the total heat transfer area on this elemental ring is A, Az.)
(12.32)
CHAP 12 THEORETICAL PROCESS MODEUNG 379
and now, if we take the limits as l'iz and /'it simultaneously tend to zero,
recalling the definition of the partial derivative of a function, Eq. (12.32)
becomes:
f3 (12.34)
3. Upon inspecting Eq. (12.33) carefully, we see that the main difference
between this type of model and the others we have obtained for lumped
systems is that there is an additional term on the LHS, involving the
fluid velocity and a temperature gradient in the spatial coordinate z;
this is known as a convective term, indicating the rate of heat transfer
due to fluid motion, or convection. The term on the RHS is related to
the rate of heat transfer by conduction across the walls of the heat
exchanger.
The model for the heat exchanger is linear and can therefore be reduced to a
transfer function between the steam temperature T51 and the exchanger outlet
temperature T{L, t). This was made explicit in Chapter 8 where an example
may be found.
11 = f(z, 9) (12.37)
where:
deA
dt = -kcA (12.38)
382 PROCESS MODELING AND IDENTIFICATION
whose solution
where k is the reaction rate constant. This is a linear, first-order, ODE
is easily written as:
(12.39)
i.e.
(12.40)
we assume that
Thus in this case, the measurable output is the reactant concentration;
tion is an independ ent variable at our disposal to specify
the initial reactant composi
only unknow n
arbitrari ly; and the reaction time is known precisely. Hence the
paramet er is the reaction rate constant.
Each single experiment involves measuring all the n output variables 111' 712, ••• ,
11n' for a specified set of values for the independen t variables, z11 z2, •••, zm. In
order to be able to determine the p parameters el' e2, •.., eP' independently, it is
necessary to perform at least p such experiments. As we might expect, all
things being equal, the greater the: number of experiments performed, the better
our estimates will be.
The result of each individual experiment is a set of vectors 11 and z that
may be related to the process model; in particular, for the kth experiment, we
have:
11(k) =
f(z(k), 9); k = 1, 2, ... , N (12.41)
where e(k) is the vector of errors between the model prediction and the actual
data.
Parameter estimation is now involved with finding a specific set of
parameter values ~ such that some scalar function 5 of the error vector- known
as the objective function and usually represented as 5(9), since it depends on the
9 parameter value - is minimized; i.e., over the entire range of possible values
of 9, the smallest value of 5(9) is given by 5(~).
Note now that the type of parameter estimates we obtain will depend on
the error criterion we use in the objective function to be minimized.
Error Criterion
and W (k) is the n x n weighting matrix whose elements reflect the relative
precision of the various measurements (Seinfeld and Lapidus [10]). The
criterion in Eq. (12.45) is known by the self-explanatory term: weighted least
squares.
There are several other criteria used for the optimal determination of
model paramett:!rs: for example, the method of maximum likelihood, the
method of moments, and decision theoretic methods, of which Bayesian
estimation is the most popular. We will not discuss any of these methods here;
the interested reader is referred to Refs. [7] - [10] for further information.
Optimization
Focusing attention now on just the least square criterion, we see from
~q. (12.44) that parameter estimation in this context boils down to finding the
9 that gives the minimum 5. Thus, in essence, the parameter estimation
problem is really an optimization problem.
Observe that for each trial value of the vector 9, we will obtain a
corresponding value for 5(9), as indicated in Eq. (12.44). This value of 5(9)
represents how far the model prediction is from the experimental data; it
provides a means of assessing each trial value of e objectively as a possible
choice for the "best estimate." The collection of all such values of 5(9) as a
function of e yields a sum-of-squares surface in the p-dimensional parameter
space. The objective of parameter estimation is to locate the global minirnAIITI of
this surface; thee value at which this minimum occurs is designated e, and
called the least squares estimate of e.
Formulated in this sense - as an optimization problem - least squares
parameter estimation may be carried out using various types of optimization
techniques. The specific situation usually determines which technique is most
profitable.
Let us now indicate how the foregoing principles can be applied in
estimating parameters from process models that occur in terms of differential
equations.
T] = f(z,8)
then, from Eq. (12.42), we see that the experimentally obtained measurements
of the process output (which we have referred to as y(k)), obtained for various
values of the vector of independent variables, z(k), are related to the process
model according to:
[;m]
f(z(l),
f(z(2), 9)]
9) [ E(l)
E(2) ]
[ -·· ...
y(k) = f(z(k), 9) + £(k) ( 12.46)
... . ..
y(N) f(z(N), 9) t(N)
If f(z,9) is linear in the parameters 9, then it can be shown that Eq. (12.46)
becomes:
Y = X9 +E (12.47)
(12.48)
The theoretical model for a storage tank was given in Chapter 5 as:
(12.49)
where Fi and F respectively represent the inlet stream flowrate, and the metered outlet
flowrate. The only process parameter, K*, is to be estimated from experimental data.
Show that for the situation in which a unit step increase is made in the inlet
flowrate Fi'
386 PROCESS MODELING AND IDENTIFICATION
be represe nted in the
(a) The analytical solutio n to this modeling equatio n can
form given in Eq. (12.37),
(b) Show that it is linear in the parame ter K•, and
the tank at time points
{c) Show that experimental data collected on the level in
n of the
tv t2, .•• , tw when compiled and related to the analytical solutio
process model give rise to a matrix equatio n of the type in Eq. (12.47).
Solutio n:
steady state (i.e., Fi =F)
(a) For the situatio n in which the system was initially at
in Fi was implem ented, the modelin g equatio n becomes:
before the unit step increase
dh _ K* (12.50)
dt -
since now, (F1- F) =1. The solution to Eq. (1250) is easily obtained as:
h = h0 +K*t
(12.51)
form:
then it is easy to see that Eq. (12.51) could be written in the
(12.52)
Yt = hi - flo = K*tl + E1
Y2 = h2 - ho = K*tz + Ez
(12.54)
CHAP 12 THEORETICAL PROCESS MODEUNG 387
For the storage tank in Example 12.2, obtain an expression for the least squares
parameter estimate of its integrator gain K•, in terms of experimenta l level
measurements (denoted as Yk• deviations from the initial steady-state value) and time tk.
Solution:
Since the experimenta l data can be related to the analytical form of the process
model written as in Eq. (12.47), we can use Eq. (12.48) to obtain the required least
square estimate of K•. In this particular case, from the results in Example 12.2, by
comparing Eq. (12.54) with Eq. (12.47) we see that
If we therefore apply Eq. (12.48) using these specific vectors, we ·obtain that f.•, the
least squares estimate of the integrator gain K•, is given by:
N
~~/l Yt (12.55)
N
I r 2
~~I k
(l2.56a)
and
N
x'y = '"t"
k~l k i
ry (12.56b)
The implication of Eq. (12.55) is therefore that the "best" estimate of the integrator
gain for the storage tank may be obtained as follows:
The equation describing the temperature profile in a cylindrical ingot being heated is a
furnace is {see Ray [11}):
(12.57)
(a) Show that an analytical expression (derived from this model) for the steady-state
temperature profile in the ingot is:
(12.58)
with two unknown parameters, cl and c2. These parameters characterize the
steady-state temperature profile.
(b) Because Eq. (12.58) is linear in these unknown parameters, they are relatively
easy to estimate. The following experimental data were obtained from a
particular system (from temperature probes placed at various positions along the
radial direction of the ingot) after a unit step change was implemented in the
quantity of heat applied to the boundary of the ingot by the furnace. Use the data
to obtain a least squares estimate of the two characterizing parameters cl and c2.
r (ems) T(OC)
0.5 18
1.0 21
1.5 23
2.0 24
2.5 26
Solution:
(a) 1he model for steady-state conditions is extracted from the general model given
in Eq. (12.57) by setting the time derivative to zero, leaving:
{12.59)
which can be solved in a number of different ways. Perhaps the most straightforward
solution is obtained by noting that if the derivative of a quantity is zero, then that
quantity must itself be constant; for Eq. (12.59) this means that:
~ a;:; ) = C 1; a constant
CHAP 12 THEORETICAL PROCESS MODEUN G
389
or
(12.60)
(12.61)
T1 = C1 In r1 + c2 + e1
T2 C1 In r2 + C2 + C2
(12.62)
Y = X9+E
(12.63)
and now using the expressio n in Eq. (12.48) upon carrying out the indicated
matrix
operation s, we obtain the least squares estimate for these characterizing paramete
rs
cl and c2 as:
[c2c,J [s.o]
= 21.0 (12.64)
390 PROCESS MODELING AND IDENTIFICATION
Nonlinear Estimation
cal solutions
The more common situation with process models for which analyti
f(z, 9) to be nonline ar in 9. For exampl e, for
exist, is for the functional form of
, as we recall from Chapte r 5, the process model, is:
any first-order system
'ttjx + y
dt
= Ku(t) (5.2)
is:
and the general solution to this model, for a unit step input in u(t),
y(t) = K ( 1 - e-111) (12.65)
n converts
where ~is cA/cAo. Observe now that a logarithmic transformatio
Eq. (12.66) to:
ln ~ = - kt (12.67)
lineari zing
which is now linear in the param eter k. Anoth er such
rmatio n frequen tly used to "conve rt'' models that are nonlinear in the
transfo
e.
parameters to linear ones is illustrated in the following exam~l
Asswning that the plate temperature Tis uniform over the entire surface, that the
surrounding air is calm, and that the atmospheric temperature remains constant at T_,
the model representing the change in plate temperature due to heat loss to the
atmosphere is:
(12.68)
where m, CP, and A are respectively the total mass, specific heat capacity, and heat
transfer area of the plate.
If we now let:
UA-
a-- ( 12.69)
- mCP
(12.71)
Now, from temperature data taken at various points in time during the course of
experimenta tion on this plate, the correspondin g value of the variable ; can be
calculated; from the logarithm of this derived variable, using Eq. (12.72) and the linear
least square technique, we can obtain an estimate for the parameter a. From
Eq. (12.69), given the plate area, and other physical properties, we may then deduce the
overall heat transfer coefficient U from this estimate.
from where it now becomes clear that we can no longer carry out the
logarithmic transforma tion because of the additional error term.
Neverthele ss, even though it might be questionab le from a strict,
statistical point of view, it is possible to get around this problem by
specifying a different error structure; for example, the batch reactor
case might be presented as:
392 PROCESS MODEUNG AND IDENTIFICATION
( Y;)
In CAo = -kt; + E; (12.74)
~ = f('ll, z, 9, I) (12.75)
2. For the same conditions under which the experiments were performed,
integrate the process model (numerically) to produce predicted model
output 'Ilk• given that the value of the unknown parameter vector is e<0>.
CHAP 12 THEORETICAL PROCESS MODELING 393
3. Evaluate the sum-of-squares function by subtracting the model
prediction 1'1k from Yk (the actual data it is supposed to predict) and
finding the norm of the resulting discrepancy vector, i.e.:
N
Sj = S (e<i>) = k~J Yk- 1'1k (eW)r [Yk- Tjk (eW)] (12.76)
4. Update the estimate eU>; This is where specific methods for nonlinear
parameter estimation in nonlinear process models differ. We will later
summarize some of the more pogular methods for carrying out this step.
Let the updated estimate be e<i+ >.
5. Return to Step 2 and iterate; obtain Si + 1 using the updated estimate.
I I
6. Continueuntil sj+l-Sj is less than some predetermined tolerance.
The final updated estimate is the required least squares estimate, lf.
Gradient Methods
The general parameter updating expression for a host of methods known by this
name is:
au+ •> = e<n- ilng (12.77)
where: ;t is some scalar, n is a matrix, and g is the gradient vector of the sum-
of-squares surface S, i.e., each element g; of this vector g is given by:
(12.78)
There are several methods that operate according to Eq. (12.77), and they
acquired their collective name because they require the computation of the
indicated gradient. The choice of matrix n, and scalar Jt, is what
differentiates one gradient method from the other.
H = [ ~: ~J (12.79)
394 PROCESS MODEUN G AND IDENTIFICATION
=
i.e., n H-1•
It works well close to ~ minimum, but in general does not guarantee
that at each step S (9(j + t)) < S(O(J')); besides, its requirem ent of the
computation of second derivatives can prove very tedious.
For all these methods the vah.1e of .it is set at 1, but with the Levenber g-
Marquard t method, the value of the scalar K can be altered during the course of
computat ion, dependin g on certain circumstances (see Seinfeld and Lapidus
[10]).
There are other methods, for example, the direct search methods, which do
not require computation of the gradient of the sum-of-squares surface, iJS/iJe;
they perform well on well-conditioned problems but may not be as efficient as
the gradient methods. These methods and others, such as the method of
quasilinearization, are discussed in Ref. [10), to which the interested reader is
referred.
It is important to note that computer packages that incorpora te several of
these estimatio n techniques are now routinely available; it is therefore no
longer necessary to write one's own paramete r estimatio n program (see, for
example, Stewart and Caracotsios [9)).
Final Comments
Partial Different ial Equation Models
Issues of Convexgence
Since these algorithm s are iterative, it is essential to be .sure that, first, they
will converge; and second,.that they converge to the true minimum. While it is
possible to guarantee convergence, if the problem is carefully defined, there is
no procedure by which one can absolutely guarantee that the technique will
achieve convergence to a global minimum. It is customar y to employ a trial-
and-error procedure for "probing" for a global minimun\ after convergence to
some minimum has been achieved.
Another important issue is that some problems might be such that the sum-
of-squares surface is flat; in this case, large changes in 9 values lead to only
small changes in 5(9). The problem here is that the paramete r estimates can no
longer be very reliable since several, obviously different, combinat ions of
paramete r values would give equally small values of the objective function to
be minimized; the true minimum is therefore difficult to identify, and tends to
get masked even more by numerical round-off errors.
395
CHAP 12 THEORETICAL PROCESS MODELING
cases, by redesigning the
Such problems are said to be ill-posed; and in some
be allevi ated; in other cases nothing much can be
experiment, this problem may ates visua lly by
eter estim
done. It will be essential to verify the param imental data.
ction again st the exper
plotti ng, wher e possible, the mode l predi with regar d to the
s abou t param eter estim ation
Furth er discu ssion
ble in Ref. [10].
mode ling of process control systems are availa
R
12.4.4 A Deta iled Example: The Non isoth enna l CST
(12.81)
(12.82)
y = (~ - 1) = k9 + E (12.83) .
TABLE 12.2
40.0 0.45
60.0 0.96
80.0 1.91
CHAP 12 THEORETIC AL PROCESS MODEUNG
397
.1 +-~--.----r-~-.....-----1
0.0028 0.0029 0.0030 0.0031 0.0032
c
y = cAs = ( 1 + Oko e (-E/RT)) + e (12.86)
T1 + 8Uq,(1 - e-atqc)T,1
Ts = 1 + (}Uq,(l- e-alqc) + E
and can be used with steady-state data in which T, varies with parameters q,,
Tf' T cf' 9 to estimate the parameter
a using nonlinear estimation. Alternatively
the steady-stat e equation could be transforme d to become linear in the
parameter a, i.e.:
_ (CA-cAsCA•) _- (~) 1 [ _
e
-(I ~k8)'] + e (12.88)
y - cAs (1 + k9) 1
Y _ T-Ts _ ~ [r-exp(-{~+Uq.(l-exp(-a/qc)]}r)] +e
- ( Ts ) - ( rJ {
1+ 9Uq.( l- exp(-a!q.)]}
step test begins.
Here T5 is the tank temperature at the steady state before the
ting this step test at three differen t coolant flowrat es, we would have
By conduc
te the heat transfe r parame ter a..
the dynam ic data sets necessary to estima
ter a. appear s nonline arly in the model, numeri cal methods
Because the parame
for nonlinear estimation must be employed (cf. Section 12.4.2).
ents are
Althou gh carefully design ed steady -state or dynam ic experim
g parame ter estimat ion, it someti mes happen s that only a
preferr ed in carryin
plant records and there is no
limited amoun t of dynamic data is available from s of
design. In this case, the numeri cal method
opport unity for experimental
12.4.3 must be applied in order to carry out nonlin ear parame ter
Section
le this might
estimation. For example, for the CSTR of the presen t examp
op dynam ic experim ents in which both temper ature and
corresp ond to open-lo
to have the compo sition,
composition vary with time. If one is fortunate enough
vary over a ·suffici ently wide range in these
temperature, and coolant flowrate
experim ents, then reason able values of the param eters k 0 ,E, a could be
estimated from this data.
u = o.s (m 3f 1
{3 = 50 ( °C liter )
gm- mole
a = I (m 3/hr)
1.0
Q
..,
.51
0.8
~.,
g
0
u
1:!
..,"'
.,""'
11::
0.2
0.0 1.0 2.0
Residence Time
65
u
1 60
t
""
8
~
..,...u0 55
"'"'
11::
1 2
Residence Time
REVIEW QUESTIONS
concern in process modeling?
1. Wha t are the three fundamental issues of
ling?
2. Wha t is the main objective of process mode
een "theoretical modeling" and "empirical
3. Wha t is the fund amen tal difference betw
modeling"?
etical modeling approach?
4. When is it reasonable to adop t the theor
to be preferred over the theoretical modeling
5. Whe n is the empirical modeling approach
appro ach?
?
ling exercise with a "problem definition"
6. Why is it necessary to start a process mode
ition" stage of the procedure for process model
7. What is involved in the "problem defin
developme nt?
for theoretical modeling?
8. Wha t is involved in "mod el formulation"
PROB LEMS
ly into a surrounding
12.1 (a} When a mercury-in-glass thermometer is introduced sudden
preven ts instant aneous attainm ent of the
fluid, the mass m of mercur y in the bulb
surroun ding tempera ture.
t, and that the rate at
Given that the specific heat capacity CP of mercur y is constan
to the thermo meter is
which energy is transfe rred from the surrou nding fluid
atical model for the
govern ed by "Newto n's law of cooling," obtain a mathem
of the mercur y in the bulb, if the
transie nt behavi or of T, the temper ature
is at a constan t temper ature T • You may assume:
surroun ding fluid 5
TABLEP12.1
T emperature Response D atafroma Thermom e er
0.0 78
10.0 88
20.0 102
30.0 113
40.0 120
50.0 126
60.0 130
70.0 132
80.0 135
90.0 136
100.0 138
120.0 139
/,--------------------
(
! w,T
Liquid Inlet
w,T1
1. The agitation is assumed perfect, so that the temperature within the heater may be
considered uniform.
2. The coil temperature Tc is also assumed uniform at any instant, but different from
the boiler liquid temperature T.
3. The physical properties of all the components of the process are assumed
constant.
4. There are no heat losses to the atmosphere.
Cast your model in terms of deviation variables, and present it in the state-space
form.
12.3 The process shown below in Figure P12.2 is a continuous stirred mixing tank used to
produce F liters/min of brine solution of mass concentration C8 gm/liter. The raw
~
"Br•"Br I\ '-J
'~
/1 T ~hW:~r
Concentrated ....__,........_,.....__,.....,.__,..._,
Brine Feed
h
'----r----1 1
Figure P12.2. Stirred mixing tank for brine production.
CHAP 12 THEORETICAL PROCESS MODELING 405
materials are fresh water, supplied at a flowrate of Fw liters/min. and a highly
concentrated brine solution (mass concentration C8 gm/liter) supplied at a flowrate
of F8 liters/min. The volume of material in the tarik is V liters, the liquid level in the
tank1s h meters, and the tank's cross-sectional area, A(m2), is assumed constant.
(a) Assuming that the tank is well mixed, so that the brine concentration in the tank
is uniformly equal to C8 , and that the flowrate out of the tank is proportional to the
square root of the liquid level, obtain a mathematical model for this process.
(b) If the process is redesigned to operate at constant volume, obtain a new process
model and compare it with the one obtained in part (a).
12.4 The continuous anaerobic digester used for treating municipal waste sludge is
essentially like any other CSTR except that it involves multiphase biological
reactions. Material essentially consisting of organisms of concentration
Cxo mole/m3, and substrate of concentration C50 mole/m3, is fed to a certain
anaerobic digester at F m 3I day. Using the following additional assumptions:
1. That the reactions of interest take place only in the liquid phase and that the
reactor (liquid) volume V (m3) is constant,
2. That the organism concentration in the digester Cx is uniform, as is the substrate
concentration C5 ,
(a) Obtain a model for this digester process by carrying out organism and substrate
balances and using the following constitutive relationships:
1. The organism growth rate (in the reactor) is given by:
(Pl2.3a)
where J.L, the specific growth rate, is itself given by the Monod function:
Here Jto is the maximum specific growth rate, and K5 is the saturation constant.
2. The yield (the rate of growth of organism ratioed to the rate of consumption of
substrate) in the reactor is given by:
dCx dC,
dl = -Sxs dl (Pl2.4)
(b) A specific digester with the following parameters: K5 = 3.33 x 10-3 mole/m3,
Jto = 0.4 day - 1, Sxs =0.02, V =10m3, is being fed at the constant rate of 1m3 /day
with material containing organism and substrate concentration of 0.3 mole/m3 and
167 mole/m3 respectively. Assuming that the concentrations of both organism and
substrate in the digester were initially zero at the commencement of the operation.
use the model obtained in (a) (along with a differential equation solver) to obtain,
and plot, the behavior of Jl, Cx, and C5 in the digester as a function of time.
12.5 The countercurrent liquid/liquid extraction process shown below in Figure P12.3
consists of N serarate stages used to contact a liquid mixture containi_n_g
transferable matenal A with the raffinate solvent. In eacli stage, n (n = 1, 2, ... , NJ,
(n + 1) and
After the attainment of equilibrium
in stage n, the raffinate is sent to stage
lly, R mole s of solve nt with comp osition y0 (moles
extract to stage (n -1), etc. Initia of solvent
into stage 1, and the extract E moles
of A per mole of solvent) is char ged nt) is charg ed into stage N.
of A per mole of solve
with composition xN + 1 (moles have
ss, stating dear ly any assumptions you
Derive a dynamic model for this proce
made.
is show n below
lar reactor who se schematic diag ram
12.6 Consider the packed bed tubu l tube of unifo rm cross-sectional area A,
w cylin drica
(Figure Pl2.4 ). It is a hollo is taking
whic h the exothermic reaction A .... B
pack ed with solid catalyst pellets, in
place. - the
void spac e to the total reactor volu me
The pack ing is such that the ratio of e. Reac tant flow s in at one
repre sente d by
void frac tion - is known; let its value be place with in the react or. Obta in a
ion takes
end at cons tant velocity v, and react tion C
the varia tion in the reactant concentra
theoretical model that will repre sent spati al posit ion z. Consider that
ion of time and
and reactor temperature T as a funct from the
the catal yst pelle ts T5 is diffe rent
the temp eratu re on the surface of tion with time and position is
fluid , and that its varia
temp eratu re of the reacting
also to be modeled.
Reactant
I '
z
. Z Z+6Z
lar reactor.
Figu re P12.4. The pack ed bed tubu
ptions:
You may make use of the following assum
the reactor with a flat veloc ity profile (implying
1. The reacting fluid flows throu gh l
tion, or velocity variations in the radia
hat there are no temp eratu re, concentra
direction). ective
in the axial (i.e., z) direction is by conv
2. Transfer of mate rial and ener gy
direction.
forces only; there is no diffusion in this tion, with
with respect to the reactant concentra
3. The rate of reaction is first orde r posit ion along the reactor; it
expli citly on
a rate cons tant k. It does not depe nd The heat of reaction
tion and temp eratu re.
only depe nds on react ant concentra
may be taken as (-AH). follow
catal yst to the fluid is assu med to
4. The heat trans fer from the solid h this heat trans fer takes place is
over whic
Newton's "law " of cooling; the area
assumed to be a know n constant A5•
407
CHAP 12 THEORETICAL PROCESS MODELING
t; the solid catalyst
5. The fluid density p and specific heat capacity C are constan
d to be all identica l, with identica l density p5 , and identical
particles are assume
specific heat capacity c,.•.
any cross section of
6. The catalyst packing is assume d to be uniform, so that across
ment of particle s are identica l. (This allows
the reactor, the number and arrange
use of an arbitrari ly located microsco pic element for develop ing the model.)
the
7. There are no heat losses to the atmosphere.
In addition there is a
where the reactant s A and B react to a common produc t C.
solubili ty of the feed materia l at the feed tempera ture so that a cAl+ c81 = cr
limited
Under these conditions the material balances on A and B are:
az,
Clearly state the physical meaning of the parame ters a1, b1, b2
.
contain s the result of a carefull y planned dynami c experim ent
The table below
the four unknow n parame ters in this model
perform ed for the purpose of estimating
from measure ments of y, the product concent ration in the reactor.
ns were such that
Given that initially the nomina l operatin g reactor conditio
x 1= x 2= 0, with u =
0, and that the experim ent involve d implem enting the change
U=-lat t=O:
best of your ability.
(a) Use the data to estimate the parameters al' a2, b1, and b2 to the
response of the model above using the parame ters estimated in
(b) Plot the theoretical
e the model fit
part (a) and compar e it with the experimental data. Evaluat
408 PROCESS MODELING AND IDENTIFICATION
TABLEP12.2
Reactor Experimental Data
0.0 0.00
1.0 - 0.160
2.0 - 0.175
3.0 - 0.090
4.0 0.025
5.0 0.150
6.0 0.259
7.0 0.401
8.0 0.490
9.0 0.555
10.0 0.650
11.0 0.725
12.0 0.750
13.0 0.801
14.0 0.852
16.0 0.901
18.0 0.922
20.0 0.947
22.0 0.965
24.0 0.971
26.0 0.985
28.0 0.990
30.0 0.992
CH AP TER
13
PRO CESS IDEN TIFI CAT ION:
EMP IRIC AL PRO CESS MOD ELIN G
409
NTIFICATION
PROCESS MODELING AND IDE
410
of tray s is N.
equations, if the total num ber
{2N + 4) non line ar differential trol pro blem may requ ire the con trol
ion con
Since a typical indu stri al distillat bottom of the
e frac tion of ligh ter mat erial only at the top and at the
of the mol
fact, be more useful.
colum.n, a simplex model may, in mod elin g is
In eac h of thes e case s - the first in whi ch theo reti cal
inco nve nien t -
ch it is bot h ·impractical and
impossible, the seco nd in whi n.
process identificatio
useful models can be obtained by
atio n
13.1.1 Wh at Is Process Ide nti fic
the "un kno wn"
d in Figure 13.1 below, in which
Con side r the situation dep icte ons e, y(f), is measured.
function, u(t), and the resp
process is subjected to a forcing the obs erve d stim ulus /res pon se
responsible for
Even thou gh the basic principles a mod el for this
it is still pos sibl e to dev elop
beh avio r may not be kno wn, data ; the unk now n syst em is
inp ut and out put
system by directly correlating the e the foll owi ng
ntif ied. " We ther efo re hav
the n said to hav e bee n "ide
def init ion :
structing a process model strictly
Process identification involves con tput data, with no recourse to
t/ou
from experimentally obtained inpu
cern ing the fundamental nature and properties of the
any laws con
system.
gh it can be
the process is nec essa ry (althou
No a priori kno wle dge abo ut the exp erim enta l
like a "bla ck box ," and
help ful) : the sys tem is trea ted stim uli is use d to infer (or
response to exte rnal
info rma tion gath ered from its
the ''box."
"identify") wha t goes on wit hin
ntification
Linear or Nonlinear Process Ide
of inp ut/ out put
con tinu ous systems, the resu lt
It wou ld see m natu ral that for wou ld be one of the linear transfer
n sho wn in Figure 13.1
process identificatio trol practice, this
Cha pter 4. In fact, in process con
function mod els intr odu ced in obta in non line ar models for
it is also possible to
is ind eed the case. How eve r,
tification (d., e.g., Ref. [1]).
non line ar systems by process iden
~-1 7 I ~
Figu re 13.1. Process identification.
411
CHAP 13 PROCESS IDENTIFICATION
that the process to be
The basic assum ption in process control practice is
linear in some neigh borho od of the opera ting
identi fied is appro ximat ely
mode l identi fied for such a
steady state; as such, the linear transf er function
theref ore be conce rned in this chapt er
process is considered adequate. We will sted in the
ss identi ficatio n; the reade r intere
exclusively with linear proce
ng literature
lt the growi
nonlin ear aspects of process identification shoul d consu
in this area (d., e.g., Chapt er 5 of Re£.[6], and Ref. [7]).
5. Not particularly useful for poorly Quite often proves to be the only
understood and/or complex alternative for modeling the behavior
processes. of poorly understood and/or complex
processes.
Given u(t), the input to a dynamic process, and y(t), the process response
to this input function, what is g(•), the process transfer function model?
1. Problem Definition
2. Model Formulation
3. Parameter Estimation
4. Model Validation
The difference lies in the specific issues involved at each stage. Let us now
consider these issues one by one.
• Step
• Impulse
• Pulse (rectangular or arbitrary)
• Sin ewa ves
• Wh ite noise
• Pseudo ran dom binary sequences
oth er rela ted
choice of inp ut functions, and
The factors tha t influence the the sub seq uen t discussion.
app rop riat e places in
issues, will be men tion ed at the
The Role of Process Dynamics
t of gen erat ing the
the fun dam ent al pro blem is tha
In process dyn ami cs stud ies, theo reti cal pro ces s
iou s typ es of inp uts, usin g a
resp ons es of a sys tem to var e to cha rac teri ze the se
ons es we are the n abl
mo del ; by stu dyi ng suc h resp d wit h a rev erse problem: tha t of
ation we are face
systems. In process identific inp functions. It is
ut
from its resp ons e to certain
iden tify ing a process mo del stud ies will be very useful.
lts of process dynamics
therefore eas y to see how resu h the qua lita tive sha pe of the
ilia rity wit
Obs erv e, ther efo re, tha t a fam e it eas y to pos tula te
of pro ces s sys tem s will mak
resp ons e of var iou s classes example, because
inp ut/o utp ut dat a records. For
candidate process mo dels from is wel l kno wn, it is possible to
firs t-or der sys tem
the ideal step resp ons e of a as a firs t-or der
y be app rox ima tely mo del ed
tell if a phy sica l pro ces s ma ons e.
ing its experimental step resp
sys tem or not , sim ply by exa min step , imp ulse , pul se, and
lts --'- theo reti cal
Thu s, pro ces s dyn ami cs resu tula ting can did ate
e the rati ona l bas es for pos
frequency resp ons es - pro vid st imp orta nt roles of
n. Thi s is one of the mo
mo del s in pro ces s identificatio
identification.
process dyn ami cs in process
dels
Typical Candidate Process Mo
in the observed data
ses , unless something else
For mo st che mic al pro ces typ ical "co ntin uou s-
owi ng is the coll ecti on of
indicates otherwise, the foll of tran sfor m-d om ain tran sfer
rese nte d in the form
time" can did ate mo del s (rep
functions):
415
CHAP 13 PROCESS IDEN fiFIC ATIO N
-~
: FORMULATION
0
!:!::
.
•
I ......---....._
Equation
Errors
-----....._
.
:
'
;
~ .
,------
~ ; PARAMETER Parameter
;~
; ESI'IMATION Estimation
Errors
tl
~
• MODEL
; VALIDATION
~
,.....
Figure 13.2. Process identification: empirical process modeling.
""'
CHAP 13 PROCESS IDENTIFICATION
417
13.3 STEP-RESPONSE IDENTIFICATION
13.3.1 Basic Principles
The main strategy of step-response identification is to fit theoreti
cal step-
response functions to experimental step-response data. The experim
ental step-
response is obtaine d by implementing a step change in the input variable
of the
physical process and recording the observed change in the output variable
. The
experim ental procedu re of introdu cing a step input and gatherin
g the step-
response data from a process, for the sole purpose of identify ing an
empirical
process model, is known as step testing.
Model formulation consists of:
1. First-order-plus-time-delay
):
With transfer function as given in Eq. (13.1
0; t <a (13.4)
{ AK( 1 - e-<t- aYry; t ~a
y(t) =
Parameters: K, 1:, a
2. Second-order-plus-time-delay
t <a
t ~a
(13.5)
y
3. Single zero, two poles, plus time dela
t <a
0;
{
AK [ 1 _ (7:1 ~ ~ )e-<t-a)/r 1 _ (7:2 - ~ )e-<t-a)/"2]; t :<:a
y(t) = 't"2- 7:1
-r:, 't"z
(13.6)
wn param eters is as
A straig htforw ard technique for estimating the unkno
follows:
(13.12)
slope= -11<
Figure 13.3. Estimating time constant and time delay from step-response data.
TABLE 131
Solution:
We first note that the data are given in terms of actual process variables; they must
be recast in terms of deviations from initial steady-state values. Thus, from the
supplied table, we obtain output y(t) as T- 380°, and input u(t) as R- 25,000.
A careful inspection of the step-response data indicates that the ultimate change in
the Tray #16 temperature as a result of the implemented reflux flow change is, on the
average, 15.0°F, i.e.:
(13.14)
Observe therefore that since the step input is of magnitude 2,500 (lb /hr), (27,500 -
25,000 ), the steady-state gain is estimated as:
" 15
K = 2500 = 6 x 10"'3 °F/{Ib/hr) (13.15)
We next obtain the variable (y_ -y)!y_. Table 13.2 shows the data set up in the
form required for estimating the model parameters.
TABLE 132
y_-y
Tune(hr) u y --
Y-
colum n of Example
Figur e 13.4. A comparison of mode l and data for the distillation
13.1.
is given by:
K (13.18)
y(t) = - e-tlr
't"
transform of the
Because this expression is identical to the inverse Laplace
transfe r functio n g{s), let us refer to it as g(t). (Recall the definition of
process
the impulse-response function in Chapter 4.)
e-respo nse
Let us now note the following about this particu lar impuls
function, g(t):
and
[
0
t g(t) dt =~ f- 0
te-t1r dt = K't" (13.19b)
function g(t)
Since Eq. {13.19a) is the definition of the zeroth momen t of the
t, we may now observe
about the origin, and Eq. (13.19b) defines its first momen
the time constan t of a first-or der system
that the steady -state gain K and 't"
mi = [ rig(t) dt (13.20)
0
and
(13.2lb )
424 PROCESS MODELING AND IDENTIFIC ATION
The implicatio n now is that given experimen tal impulse-r esponse data,
g(k), k = 0, 1, 2, ... , N (which is g(t) observed at various discrete points t , tl' t
0 2,
.•• , tN in time, at equally spaced time intervals .it), then if the data came from
a
first-order system - or one which is approximately so - the system gain and
time constant are estimated from the expressions:
k =[ g(t)dt (13.22a)
0
and
1\
f-0
tg(t) dt
r (l3.22b)
where we may evaluate the integrals using quadratur es with the discrete
experime ntal g(k) data.
For example, using Simpson's rule (where N must be even), the expressions
in Eq. (13.22) take the explicit form:
K. = f0
iN
g(t) dt
and
1\ 0
f'" tg(t) dt
r = --=---
rN
0
g(t) dt
[4 ~/21-1 g(2i- 1)
[
Nil
N/2-1
g(O) + 4 ~ 1 g(2i- 1) + 2 ~l(2i) + g(N) J (13.23b)
..., ~ (-st'i
e -- ]=0
.L- (13.25)
j!
g(s) = J. i, {-~~)i
0 ]=0 ).
g(t)dt (13.26)
f. L- .
or
s iti
g(s) = (-IY-.-
1 g(t) dt (13.27)
0 j=O )
Since we started out assuming that the transfer function exists for the
process in question, then the Laplace transform indicated in Eq. (13.24) exists,
and therefore both the integral, and the summation in Eq. (13.26) converge.
This permits us to reverse the order of integration and summation; we may
therefore rearrange Eq. (13.27) to give:
g(s) = i, (-1 f ~ [
J=O ). 0
ti g(t) dt (13.28)
or
(13.29)
where mi is the jth moment of the impulse-response function g(t), defined as:
mi =[ ti g(t) dt (13.30)
0
resu lt
whic h imm edia tely gives the impo rtant
K = f~ g(t)d t = m0 (13.33)
0
g#(s) =~ (13.34)
1.
who se stea dy-s tate gain is now
a "nor mali zed" tran sfer func tion of the impu lse resp onse as:
alize d mom ents
Furthermore, if we define the norm
(13.35)
or
112 21l3 3 (13.37)
g#(s) = I -ll 1s + 2 s - 6 s + ...
427
CHAP 13 PROCESS IDENTIFICATION
se can be obtained
The norma lized moments Jlj of a system's impul se respon
they are theref ore know n quant ities in Eq. (13.37)
from exper iment al data; on.
own" transf er functi
which can be related to the elements of the "unkn system , whose
suspe cted to be an nth-or der
Thus, for example, for a system
transfer function is:
(13.38)
J.l22 J.l33
----- ---:t c--'- ----- :2:- ----1
-
- 1- J.lts + 2 s - 6 s + ...
a.s"+ a._ 1s•- + ...+a s +a 1s+
2
or
l s+J.l ;s 2 + ... ) (13.40)
1 = (a.s" +a._ 1s•- 1 + ... +a 1s+1) (l-J. 1
~- 2 J.1.2 (13.42)
Gz = 0 tJlt - 2 - J.l.t - 2
~ JlJ (13.43)
a3 = a2Jlt -atz+ 6
etc.
First-Order Model
In this case:
_1_
g#(s)
t'S + 1
or, in general:
(13.48)
from which we can obtain several estimates of the time constant -r. Because the
computation of higher moments from data is usually subject to more error, it is
advisable to restrict attention to no more than the first three moments.
It should be kept in mind, of course, that the entire data set is used in
computing each moment; thus if 'I' were estimated solely from the first moment
as indicated in Eq. (13.45), the result will still be based on the entire data set.
The estimates obtained from the higher moments could then be considered as
providing diagnostic information about the "closeness" of the actual process
dynamic behavior to that of an ideal first-order system.
Second-Order Model
In this case:
g#(s)
(13.49)
(13.50)
(13.51)
which are sufficient for the determina tion of these unknown constants.
Additiona l moments can be used to obtain additiona l estimates of these
same constants. These may then be used to verify how truly close the observed
system response is to second-or der behavior. Again, the degree of discrepan cy
between the estimates obtained from Eqs. (13.50) and (13.51), and the
additiona l estimates obtained using the higher moments , provides an
indication of how good or bad an approxim ation the postulated second-or der
model is to true system behavior.
Second-Order-Plus-Single-Zero Model
The normalize d transfer function in this case is:
g#(s)
es + 1
= a 2s2 + a I s + l
(13.52)
(13.53a)
0 (13.53b)
(l3.53b)
When these equations are solved simultane ously for the unknown transfer
function parameter s, we obtain:
CATION
PROCESS MODEUNG AND IDENTIFI
430
{13.54)
(13.55)
and
{13.56)
In this case:
{13.57)
ntial
series representation for the expone
and upo n introducing the infinite
function, the result is:
the two
nts of 5, and of s2, we may write
and , again, by matching coefficie meters:
ation of the two unknown para
equations needed for unique determin
(13.59)
{13.60)
ing to
simultaneously for a and 't" by rearrang
These two equations may be solved ·
give:
(13.61)
P.g =P.t = ""+ a
and
(13.62)
. It is
es of 't" and a are easily obtained
from whi ch inde pen den t estimat mea n of the
ations indicate: since p.1 is the
interesting to note wha t these equ
431
CHAP 13 PROCESS IDENTIFICATION
and since the "variance" of g#(t) is
normalized impulse-response function, g#(t),
f12 - (J.L1f, we then have that:
for a first-order-plus-time-
The normalized impulse-response function
a variance of 1'2 •
delay process has a mean value of • + a and
for deter mini ng the para mete rs of a
This prov ides a very simple algorithm
l from impulse-response data g{tk) as
first-order-plus-time-delay process mode
follows:
tely 4;:ttegrating the data;
1. Obtain the zero th mom ent m0 by appr opria
stead ~-sta te gain K say, K (cf. Eq. (13.33)).
this is an estimate of the
ned from 1 to obtain
2. Normalize the data g(tk) with K obtai
"
3. Obtain the mean value of g#(tk). is an estin,l.ate of 1', say, T.
,( this
4. Obtain the stand ard deviation of g#(tk) g 1' from the mean.
time delay a by subtr actin
5. Obta in the estimate of the
a
Obtaining Moments from Experimental Dat
usually obta ined at discrete points in
Experimental impulse-response data are
vals M, and therefore the integral in
time, usua lly at equally spaced time inter
by quad ratur es or othe r efficient
Eq. (13.30) will have to be appr oxim ated
Thus , for exam ple, using Simp son's rule we
numerical integ ratio n schemes.
have :
(13.63)
from:
The steady-state gain is therefore obtained
J.
Nf2 - I J
m0 = 3At
[
g(O) + 4 J. g(2 i- 1)
Nil
1
+ 2 1g(2i
) + g(N) (13.64)
The impulse response of a system strongly suspected to be first order is given in the
table below. From the supplied data, find the steady-state gain and the time constant
for this system. How good is the postulate that the ~ystem is first order?
Solution:
We observe first that no value is available for g(O). By linear extrapolation using
g
g(OS) and g(l) the approximate value (0) = 4.22 is substituted. Using the data, with
At = 0.5 min, and the substituted value for g(O), we obtain the moments from Eq. (13.63)
as follows:
m0 4.86
m1 4.96
m2 9.72
0.5 3.03
.1.0 1.84
1.5 1.12
2.0 0.68
2.5 0.41
3.0 0.25
3.5 0.15
4.0 0.09
4.5 0.06
5.0 0.03
5.5 0.02
6.0 0.01
6.5 0.008
7.0 0.005
4.96
4.86
1.03
along with:
9.72
ILJ= 4.86
2.00
CHAP 13 PROCESS IDENTIFICATION
433
Thus, from these data, we obtain the following estimate of the steady-state gain:
" = 4.86
K (13.66)
Recalling Eqs. (13.45) and (13.46), two possible estimates of the time constant for the
postulated first-order model may be obtained; from the first moment:
-r" = - f2.00
·\J 2-
-2 '= .
1.00 mm (13.68)
We may now observe that these two estimates are sufficiently close that we have
reason to believe that the system must truly be first order.
It is pertinent at this point to disclose that the data set was generated from the
continuous function:
which is recognizable as the impulse response of a first-order system with gain 5, and
time constant, 1 min. We may now observe that:
1. The estimates (particularly of the time constant) are fairly accurate,
2. The steady-state gain estimate, as expected, is less accurate. This is due to errors
introduced by the absence of g(t0 ) from the data (making it necessary to use an
approximate extrapolant), the finite sized time interval between experimental
observations, and the finite number of data points.
(13.70)
etc.
whic h may be writt en toget her as:
0 0 g(l)
y(l) u(O)
u(O) 0 g(2)
y(2) u(l)
u(2) u{l) u(O) 0 g(3) (l3.7Ia)
y(3) =
or in the form:
(13.7lb)
y = Ug
e "data " g(k) to be deriv ed from
Here N is the total numb er of impulse-respons
..., M wher e N SM. Observe the
the inpu t/ outp ut data record, u/cl Yti k = 1, 2,
rary inpu t is mere ly a trans form ation
implication: that the response to an arbit
nse via the "inpu t matri x" U.
of the unit impu lse respo
= N and u(O} :F 0, the matri x U is squar e and nons ingul ar; henc e the
HM
solution to Eq. (13.71b) is given by:
g = u-ty (13.72)
The response of a particular system to the indicated input sequence is given in the table
below. From the supplied data, derive the corresponding impulse-response data.
Solution:
We observe first that the expanded version of Eq. (13.71a) may be solved one at a
time with the first equation yielding:
g(l) = y(l)/u(O)
which may be used in the second to obtain:
1
g(2) = u(O) [y(2) - g(l )u( l )]
0.0 2.0 0
0.5 2.0 9,80
1.0 1.0 15.86
1.5 0.0 14.64
2.0 0.0 8.95
2.5 0.0 5.44
3.0 0.0 3.30
3.5 0.0 2.00
4.0 0.0 1.21
4.5 0.0 0.73
5.0 0.0 0.45
5.5 0.0 0.27
6.0 0.0 0.16
6.5 0.0 0.09
7.0 0.0 0.0056
7.5 0.0 0.0036
If we now apply this to the given data, we easily obtain g(O) = 4.9; g(l) = 3.03;
g(2) = 1.84; g(3) = 1.12; g(4) = 0.68; g(S) = 0.41; g(6) = 0.25; g(7) = 0.15; g(8) = 0.09;
g(9) =0.06; g(10) =0.03; g(ll) =0.02; g(12) = 0.01; g(13) = 0.008; and g(14) = 0.005 as
the required corresponding impulse-response data.
2. After the transients have died out, measure the output data.
3. From the observed output data, deduce the amplitude ratio (AR), and
the phase angle ;; this provides a single point on each haH of the
experimental Bode diagram.
4. Change the frequency of the input function and go back to Step 2; repeat
until enough frequencies have been covered.
g<s) - 1ffi
- u(s) (13.73)
u(t)
.
Figure 13.5. Input and output curves of a typical pulse test.
ICATION
PROCESS MODELING AND IDENTIF
438
ve time
u(jw) can be obtained from respecti
Observe, therefore, that if y(jw) and obta ined from a
rant ees that g(jm) can be
data, y(t), and u(t), Eq. (13.74) gua
es.
ratio of these two frequency quantiti fast as
wn that any function f(t) which goes to zero sufficiently
It can be sho
t --7 ± oo can be written as:
(13.75a)
1 am
fl..t) = -2
rr
r
n= -
Jum.) (co s m.t + j sin co.t) {13.76)
theorem,
ificant implications of Fourier's
whi ch shows one of the mos t sign
tha t:
al)
as a sum of harmonic (or sinusoid
Any function f(t) can be written
and frequency m,..
functions, with amplitude J(jm,.)
co,. is represented in the sum in Eq. (13.76) is
How strongly a certain frequency s very little
IJ I;
(jm,) a small value indicates f( t) con tain
dea rly indicated by larg e valu e indi cate s stro ng
stion, while a
of the part icul ar frequency in que
representation. s from
obtain experimental Bode diagram
We may now use these results to
puls e test results as follows:
ten as:
Equation (13.74) may now be writ
(13.77)
439
CHAP 13 PROC ESS IDENT IFICA TION
Fourier transformations of the
,... 1\
(13.78b)
f T
1
y(t)co s (l)t dt - j
----~0~--------
J
T
1
y(t)si n (l)f dt
(l3.79a)
g(j(l)) = -.0~--------
JT,
u{t)co s (l)t dt - j Jr.
u{t)si n (l)f dt
0 0
or
Al((l ))- jA2((l))
g(j(l)) = (13.79b)
Bl((l) )- jB2((l))
A2((l)) JT
0
'y(t)s in (l)t dt (13.80b)
B 2(t») = fT
0
"u(t)sin t»t dt (13.8lb)
The procedure for obtaining the Bode diagram is now outlined below:
1. Examine the output data and determine TY' the time beyond which the
output may be considered as having essentially returned to zero; T11 the
correspond ing time for the input pulse is predetermi ned as part of the
experimental design.
2. Choose a range of frequencies, t»min and t»11111X' over which the Bode plot
is to be obtained; for different values of t» in this range, evaluate each
of the four integrals in Eqs. (13.80} and (13.81}; this gives g(jt»} as a
function of t».
3. The amplitude ratio and phase angle for each of these frequencies are
now obtained from the expression in Eq. (13.79):
A,2+A22
AR(t») = B,2 + B22 (13.82)
and
n)Im [g{im)J}
t/'(t») = ta
lie [g(it»)] (13.83)
~] _
A I B I +A 2B 2
Re[g(j
t», - B 2+B 2 (13.84a)
I 2
(13.84b)
Thus, compared to direct sine wave testing, we see that pulse testing:
• Gives the same results (experimental Bode diagrams), but it does so more
conveniently.
• Requires considerable computatio nal effort, but this is a burden which
the computer bears with considerable ease.
Pulse testing also has the additional advantage that, unlike step testing, it is
less likely to produce data containing significant nonlinear effects: the input
CHAP 13 PROCESS IDENTIFIC ATION
441
returns to its initial starting value, and therefore the process is not permanently
perturbed away from its initial.
As with direct sine wave testing, a process model is obtained, complete
with paramete r estimates , by fitting a theoretical frequency response to the
experime ntally obtained data. This essentiall y involves an optimizat ion
problem in which we attempt to match ideal model informati on to
experime ntal data informatio n; the parameter set which provides the closest
fit is accepted as the "best" estimates.
In principle, once the plausible models have been postulated by inspection
of the experime ntally obtained Bode diagram, paramete r estimation can be
carried out either in the frequency domain - using the frequency data- or
directly in the time domain, using the raw time interval data.
Frequency Spectra
We reiterate the importanc e of keeping in mind that in process identification,
the model is based entirely on experime ntal data; and therefore whatever
informati on is not contained in the data cannot magically manifest itself in the
model.
What this means for pulse testing is that if certain frequencie s are not
strongly represent ed in the input and output data, we should not expect the
experimen tally derived Bode diagram to contain useful informati on at these
frequencies.
Thus, it is importan t to analyze the input and output data ior their
~frequency content," by inspecting the magnitud es of the functions
u (jw) and
y(jw) at various frequenci es. As noted earlier, this provides us with
informati on regarding how strongly any particular frequency is represente d in
the input or output data.
From Eqs. (13.77) to (13.81) it is easy to see that for the input:
(13.85)
(13.86)
A plot of Eq. (13.85) against frequency gives the input frequency spectrum;
the correspon ding plot of Eq. (13.86) gives the output frequency spectrum. From
these frequency spectra, we are able to determine what portions of the
experimen tal Bode diagram contains useful information.
Figure 13.6 shows an example plot of theoretical frequency spectra for a
rectangul ar pulse function of height 1, and various durations of 90 sec, 60 sec,
and 30 sec. Observe that the shorter the pulse width, the wider the frequency
range represente d with enough significance in the input signaL The pulses with
longer widths tend to represent only a relatively narrow range of low
frequenci es with considera ble significance; they contain very little of higher
frequency components.
It can be shown that the pulse input guarantee d to contain all possible
frequency compone nts with equally significan t magnitud e is the impulse
N
442 PROCESS MODELING AND IDENTIFICATIO
100
b= 90sec
80
60
~0
'\ A=l
A
I f(jm) I
40
~
20
0
0.0
'0 ~
0.1 0.2
- 0.3 0.4
~
0.5
Frequency m (Rad/Sec)
The System
lation colum n used for instructional
The system in question is a pilot scale distil
s and Proce ss Laboratories of the Univ ersity of
purp oses at the Oper ation
diameter, copper column, havin g
Wisconsin-Madison. It is a 19-plate, 12-inch
-off locat ions; it is used for separ ating a
variable feed and sides tream draw
binar y mixture of ethanol and water.
and in the overh ead, reflux,
Thermocouples are available on every tray,
temp eratu re meas urem ents. A dens ity mete r is
and feed lines, to prov ide
ent; a minicomputer is available for
available for on-line composition measurem
uter control.
data acquisition, and ultimately for comp
The Problem
ol syste m for contr ollin g the
The ultim ate objective is to desig n a contr
ead strea m, one sides tream , and at the
composition of ethan ol in the overh
-off rate, and the reboiler steam
bottom. The reflux flowrate, sides tream draw
can be used to contr ol the three
press ure are the main inpu t variables that
feed temp eratu re constitute disturbances. A
compositions; the feed flowrate and
Figure 13.7.
schematic diagram of this system is show n in
ver, a math emat ical mode l of
To design an effective control system, howe
immediate problem.
the distillation colum n is required; this is the
m is similar to that of the ideal
Observe that the configuration of this syste
ssed in Chap ter 12; we could therefore apply
binar y distillation colum n discu
l for our experimental column.
the same principles to obtain a theoretical mode
s enum erate d in Chap ter 12, such a
On the basis of the same assum ption
theoretical mode l will:
CHAP 13 PROCESS IDENTIFICATION 443
D
Overhead
Product
ul Yt
FC
Tmy E Sidestream
5 Product
u2 Yz
A
Feed
TC
Steam
I
I
~----------------
0
Bottoms Product
Pulse Testing
Because of the nonlinearit ies inherent in the process, the pulse testing
approach was chosen over the step testing approach; transfer function models
were identified that represented how each of the three noted outputs respond
to each of the three inputs, and the two disturbance variables.
The identificatio n procedure employed is as follows:
Some Results
0.78
0.66e- 2 •68
z
0~
0.77 gu(s) = (6.7s + 1)
f;:Ci
Fi3:i
~~
OCI
0.76
0~
~~~~
0.75
0 0.74 ~-
0.73
0 20 40 60 80 100
t (min)
M
a
I
n
I
t
u
d
8
Figure 13.9. Frequency spectra of the input and output data of Figure 13.8.
w~~Tn~~~nm~rTrmm
1 ;1-+J+#IIII-.....1:::-1+
·~liiiiiEH
lo-4 lo-3
Ol
lo-ll to-1
Figure 13.10. Bode diagram derived from the data of Figure 13.8.
CATION
PROCESS MODELING AND IDENTIFI
446
0.62-r-------- ------.
0.60
.... .... . "
0.58
~
0.56
0.54
vo)
r--.- -,--- l
0.52 +-.. ..--. ---r- -r"" ""T- -r-·- ..--- 100 120
20 40 60 80
0
Time (min )
25000
M 20000
a
g
n 1500
Inpu t
i
t
,If
1000
u
d
e 5000
0
M
0.00 0.02 0.04 0.06 0.08
Frequency
MR-~J II I I~ H i
lQ-5 lo-' I0-2
of Figure 13.11.
Figur e 13.13. Bode diagram derived from the data
·~--------------------~
Time (min)
An Illustrative Example
to illustrate these ideas, let us now consider, as an example, the problem of
identifying a model for a multivariable system having two inputs, u1, u2, and
two outputs, y1, y2•
The input/ output data record shown in Figure 13.14 (for y1) and Figure 13.15
(for y 2) were obtained by simulating the response of a system represented by
l[ l
(see Chapter 20):
3
Y1 12.8e..,
16.7s+l -18.9e- ' ]
21.0s+l [" 1
[ (13.87)
= 6.6e- •
7 -l9.4e-31
y2 l0.9s +1' 14.4s + 1 "2
4,---------------------~
0 20 40 60 80 100
Time(min)
Figure 13.15. Input/ output data for multivariable system; output variable 2.
CHA.P 13 PROCESS IDENTIFICATION
449
4;---------------------~
3
20 40 60 80 100
Time(min)
Figure 13.16. Model vs. experimental data for multivariable system; output variable
1.
The input/ output data record was presented to the program MIDENT, and,
as a starting point for the identification, a first-order-plus-time-delay model
was postulat ed for each of the four transfer functions in the multivar iable
process model.
On the basis of the supplied input/ output data record, and the postulate
d
model forms, MIDENT returned the following estimate d matrix of transfer
functions for the process:
ll.8e-I.OOs -18.2e-2·76' ]
" [ 14.9s + I 18.0s + l
G(s) = 5.58e-6· 91' -17 .5e-38 (13.88)
10.2s+ l 11.8s+ l
A compari son of this transfer function matrix with the "actual" one
in
Eq. (13.87) indicates the effect of the bias introduc ed by the added stochasti
c
disturbance and the added difficulty in estimating large numbers of paramete
rs
from data containing several inputs varying simultaneously.
Since in reality it is impossible to have an "actual" model to compare with,
the experimentally determined model is usually evaluate d by comparison with
the data, typically in a plot. Such plots for this example system are shown
in
Figures 13.16 and 13.17; the model response to the same input sequence in u and
1
u 2 is shown in the solid lines. Observe that the model fits the data well
enough.
Time (min)
Figure 13.17. Model vs. experimental data for multivariable system; output variable 2.
NTIFICATION
PROCESS MODELING AND IDE
450
13.7 SUMMARY
hem atic al mo del
ntio n on how to dev elo p a mat
Thi s cha pte r has foc use d atte practical imp orta nce
of the following situ atio ns of
for a pro ces s wh en any one
aris es:
out theoretical
hin g abo ut the system, ruli ng
1. Wh en we kno w little or not
modeling.
eve n eno ugh to
abo ut the sys tem - per hap s
2. Wh en we kno w som eth ing h to pla ce
tica l mo del - but we wis
dev elo p an ade qua te the ore n rigo r, or com pleteness.
mo del rath er tha
emp has is on the utility of the
a "bl ack box " and
, the sys tem is trea ted like
Un der the se circ um stan ces -can be obs erv ed and
inp ut, so tha t the resp ons e
stim ula ted by cha nge s in its del s to suc h exp erim ent al
ng mat hem atic al mo
ana lyz ed. The pro ces s of fitti
process identification.
inp ut/ out put dat a is kno wn as n hav e bee n
suc ces sful pro ces s iden tific atio
The ma in issu es inv olv ed in ain (us ing step and imp ulse
hod s in the tim e dom
disc uss ed; and the var iou s met pre sen ted . The mo st
frequency dom ain hav e bee n
responses) as wel l as in the ation, and pul se
ing for tim e-d om ain identific
pop ula r me tho ds are step test
identification.
test ing for freq uen cy- dom ain ws hea vily from
It sho uld not be sur pris ing tha t pro ces s identification dra
atio n pro ble m is a
s dynamics: the process identific
our pas t kno wle dge of pro ces p of pro ces s dynamics is
ver se of the pro ces s dyn ami cs problem. A good gras
con
sful process identification.
ther efo re imp orta nt in succes sys tem s is not
identification of multivariable
In the mo st gen era l sense, the efo re not mu ch in the
tha t of SISO sys tem s; ther
sign ific ant ly diff ere nt from issu e. A det aile d trea tme nt of
uss ed abo ut this
wa y of new mat eria l was disc r, and the inte rest ed
inte nde d sco pe of this cha pte
this pro ble m lies out side the erth eles s, an exa mp le
le, to Refs. [5] and [6]. Nev
rea der is refe rred , for exa mp a mu ltiv aria ble ide ntif icat ion
the app lica tion of
was pre sen ted to illu stra te
com put er program. tinu ous sys tem s.
r focused exclusively on con
The disc uss ion in this cha pte rete -tim e sys tem s is reserved
identification of disc
The issu es inv olv ed wit h the rop riat e.
a discussion wil l be mo re app
unt il Cha pte r 23 whe re suc h
D FUR1HER READING
REFERENCES AND SUGGESTE
mical Engineering, Vol. 3:
, Mathematical Met hod s in Che
1. Seinfeld, J. H. and L. Lap idus Eng lew ood Cliffs, NJ
Identification, Prentice-Hall,
Process Modeling, Esti mat ion and
(1974) (2nd ed.), McGraw-Hill,
Bracewell, R.N ., The Fou rier
Transform and Its Applications
2.
New York (1986) tems with Mul tipl e
Ogu nna ike, B. A., Control Sys
tems Design for Multivariable Sys
3. con sin- Mad ison (198 1)
vers ity of Wis
Time Delays, Ph.D. Thesis, Uni and W. H. Ray , "Ad van ced Multivariable
, M. Mor ari,
Ogu nna ike, B. A.,] . P. Lemaire (1983)
ion Col umn ," AIChE J., 29, 632
4.
Con trol of a Pilot Plan t Distillat Yor k (1974)
Eykhoff, P. System Identific atio n, J. Wil ey, New
5. -Hall, Eng lew ood Cliffs,
The ory for the User, Prentice
6. Ljung, L., Sys tem Identification:
NJ (1989) Analysis and Identification from
Ran dom Data, Wiley-
7. Bendat, J. S., Non line ar System
Interscience, New York (1990)
451
CHAP 13 PROCESS IDENTIFICATION
PROBLEMS
discrete points t0, t 1, 12, ... ,IN in
13.1 Process identif ication data are usually available at
e at each of these same discre te
time. The value of the theoretical model respons
... , N, (or y(k) for simplic ity), can be shown to be given
points in time, y(tk), k = 1, 2,
precisely by:
(PI3.1 )
452 PROCESS MODELING AND IDENTIFIC ATION
(13.3)
where
al (e-M/r 1 + e-llt/r2) (Pl3.2a)
~ = _ ([t.t/r1 e-t.t/r2) (P13.2b)
and
(Pl3.3a)
(Pl3.3b)
along with:
a
m (Pi3.4)
(a) From this information alone, derive the corresponding expressions for obtaining
y(k) for the processes whose transfer functions are given in Eqs. (13.1) and {13.2):
Ke-as
g(s) = (13.1)
-rs +
Ke-as
g(s) (13.2)
(-r 1s + l)(-r2 s + I)
(b) H for simplicity we assume that the delay term min the expression in Eq. (P13.1)
is known independently, given discrete input/outp ut data sets u(k) and y(k), the
remaining parameters, a1, a2, b1, and b2 are relatively easy to estimate using linear
regression. Derive explicit expressions for determinin g the original transfer
function parameters K, -r1, 12, and ~from estimates of a1, a2, b1, and b2:
13.2 A laboratory scale stirred mixing tank is strongly believed to. behave like a first-
order system subject to some delay. The process was subjected to a step change of 0.2
gallons/mi nute in the hot water flowrate; the recorded response is shown in Figure
P13.1.
Strictly from the provided response curve, determine (to the best of your ability)
estimates of the parameters K, -r, and a which best fit the stated postulate. Briefly
provide the rationale behind whatever technique you have chosen to employ.
13.3 Even though rare, freak accidents sometimes occur in industrial practice that can
cause blocks of computer data files to be irrecoverab ly lost. Under such
circumstances, crucial information may have to be extracted instead from strip-chart
recordings.
Assuming that such is the case with the process in Problem 13.2, and that Figure
Pl3.1 is the only surviving strip-chart recording of the step test, extract to the best of
CHAP 13 PROCESS IDENTIFICATION 453
0 z 7 8
Tlme(min)
your ability at least 15 data points from the given curve and use them to estimate K, ~
and a for a postulated first-order-plus-time-delay model. Compare these estimates
with those obtained in Problem 13.2.
TABLEP13.1
SQ..._Scmbber S~ Test Data
TABLEP13.2
1mlt ulse Respo nse Data
0.0 0.0
0.5 0.0
1.0 0.0
1.5 0.0
2.0 10.10
2.5 6.36
3.0 3.86
3.5 2.36
4.0 1.43
4.5 0.86
5.0 0.53
5.5 0.31
6.0 0.19
6.5 0.13
7.0 0.06
7.5 0.042
8.0 0.021
8.5 0.017
9.0 0.011
9.5 0.006
10.0 0.003
455
CHAP 13 PROCESS IDENT IFICA TION
TABLEP13.3
Reactor Imp1ulse-Respon se D ata
Impul se Impul se
Respo nse g(tk) Time tk Respo nse g(tk)
Time tk
{min) (Normalized •c) (min) (Normalized °C)
TABLEP13.4
Fre_quenc:y-R(~_onse Data
13.9 Table P13.4 contains frequency-response data derived from a pulse test performed
on an approximately linear process.
(a) Plot the data appropriate ly and postulate a candidate transfer function model.
Justify your postulate.
(b) Estimate the parameters in your model. [Hint: It may not be necessary to estimate
all the paramters simultaneously.]
(c) Obtain a plot of your identified model's theoretical frequency response and
compare it with the data. Comment on the model fit
13.10 (This problem is somewhat open ended, and requires a little more effort than usual; it
is
based on an actual industrial process, and the data record is based on actual data
obtained from the process.)
The mole fraction Xr of a chain transfer agent in a solution polymerization reactor
is to be controlled by manipulati ng Fp the chain transfer agent flowrate into the
reactor. To facilitate the controller design, a simple, low-order model is to be
determined from identification experiments. The raw process data file from one such
experimen t is shown in Table P13.5.
(a) Postulate a model and estimate the parameters.
(b) Validate the model by simulating the theoretical response of your identified
model to the indicated input and comparing it to the actual experimen tal data.
Comment on the fit
(c) If the model obtained in (a) is shown in (b) to be inadequate, postulate another
model and repeat the exercise.
CHAP 13 PROCESS IDENTIFICATION
457
TABLEP13.5
P otvmer
I Reactor Identification Data
Time FT XT Time FT XT
(Hr:Min) (lb/hr) (ppm) (Hr:Min) (lb/hr) (ppm)
14
FEEDBACK CONTRO L
SYSTEM S
Our study of the control of process systems begins in this chapter with an
introduction to perhaps the most common (definitely the oldest) control
strategy: feedback control. The main objective in this chapter is to acquaint us
with feedback control systems, what they are and how they behave; the issue
of how to design feedback control systems comes in the next chapter. However,
since this is meant to be a fairly comprehensive introduction to the subject, the
intended scope of this chapter is quite broad: we will introduce the concept of
feedback control and the individual elements that make up the feedback
control system; develop the ideas of closed-loop block diagrams and transfer
functions; and use these to invesflgate the dynamic behavior of feedback control
systems, leading finally to the important issue of closed-loop system stability.
461
SINGLE LOOP CONTROL
462
F,T;
F,T
t Condensate
se it is gener ated
This is know n as the "feedback" error signal becau
been "fed back" from the proce ss.
from measurement that has
signa l£, to be used in
3. Supp ly the controller with the feedback error
of u (the chang e in the steam flowrate} which will
obtaining the value
be implemented on the process.
463
CHAP 14 FEEDBACK CONTROL SYSTEMS
ated value of u on
4. Imple ment u (the command to implement the calcul
t, in this case, the steam
the process is issued to a final control elemen
valve ).
5. Measure y again, and repeat the entire procedure.
ed in implementing this
Let us now look more closely at the elements involv
feedback control strategy.
ram
14.1.2 Elements of the Feedback Loop and Block Diag
Repr esen tatio n
ck controller, as shown
The combination of the physical process and the feedba
a feedback control system. This feedback contro l
in Figure 14.1, is know n as
system is seen to consist of the following elements:
..,,,,
I
' ol
I II
Final
''
Error ' - - - r - - ' ,,
Signel Control
II
\ Controllor Element
c(s) : : Outpu;( s)
u(s) Manipulated
..:
,,,,
Measure d Variable
Output (s)
1. Identifying the individual elements of the control system (as was done
in the previous section for the process in Figure 14.1),
We will now continue with our example process in Figure 14.1 and show how the
block diagram in Figure 14.2 was developed.
The Process
As we will recall from the discussion in Chapter 4, this model form is, of course,
generally applicable to linear single-input, single-output (SISO) systems, not
just specific to the stirred heating tank system that we have used merely as a
backdrop. The block diagramatic representation of this transfer function model
is shown in Figure 14.3.
d(s)
~-------------------------------~
u(s) y(s)
Input y
Output Ym
In the specific case of the stirred heating tank system, using a thermocouple as
a measuring device, y represents the temperature, and Ym the voltage output of
the thermocouple. Other types of sensors were mentioned in Section 1.4 of
Chapter 1.
~
Figure 14.4. The measuring device.
T
Figure 14.5. The comparator.
Input e
Output c
The transfer function for the controller is usually designated gc; thus, we have:
c(s) = Bc(s) E(s) (14.4)
As we might expect, gc(s) can take various forms; and the form it takes
obviously determines the nature of c(s). We shall examine the different forms
of gc(s) below.
ted g..,; we
transfer function is usually designa
types of final control elements), its
ther efor e have: (14.5)
u(s) =
Cv(s) c(s)
ess itseU. It
pared to the dynamics of the proc
and -rv is usually quite small com valv e can be ignored,
that the dynamics of the
is therefore customary to assume er, dire ctly . Alte rnat ively, it is
of the controll
and u(s) is taken to be the outp ut of the process;
cs of the valve along with that
also possible to lum p the dynami
gral par t of the process.
i.e., the valve is treated as an inte
Block Dia gra m
14.2.2 Th e Closed-Loop Sys tem
feedback
out of each of the elements of the
The flow of information into and indi vidu al bloc k diag ram s in Figures
by the
control loop is aptl y represented bloc ks, link ing each of
bine these indi vidu al
14.3 thro ugh 14.7. If we now com bloc k diag ram as sho wn in
with the overall
the indi cate d signals, we end up con trol
een each component in this feedback
Figure 14.2. The relationship betw sequ ent anal ysis of
as we might suspect, sub
loop is now easier to visualize, and
facilitated.
the ove rall syst em is also greatly systems,
This bloc k diag ram is typi cal of all stan dard feedback control
or, or fina l con trol
ess, con trol ler type, sens
rega rdle ss of the specific proc e com plic ated vari atio ns·on
Even thou gh mor
elem ent in any part icul ar case. erly ing the
possible, the basic principles und
the sam e them e are sometimes een the com pon ents
the relationships betw
dev elop men t of suc h diagrams and
are alw ays the same. the simple
to be for a closed-loop system for
· Such a block diag ram is said con nec ted with the
"closed": the controller is
reas on that the control loop is the con trol ler, and also
s to the process from
process so that information flow con tinu ous ly, in one unb rok en (hence
troller,
from the process back to the con
"clo sed" ) loop . ysis of
s are particularly useful for the anal
These closed-loop block diagram invo lved , we
taking a closer look at the issues
closed-loop systems; but before ers take .
forms that feedback controll
wish to consider first the various
467
EMS
CHAP 14 FEEDBACK CONTROL SYST
ERS
14.3 CLASSICAL FEEDBACK CONTROLL
loop
r is that com pone nt of the feedback
As note d above, the feedback controlle (via the final cont rol elem ent)
proc ess
that issues cont rol com man ds to the its desi red set-p oint
ess mea sure men t from
based on e, the deviation of the proc man d sign al to issu e for any
s wha t com
value. How the controller calculate r from anot her.
one mnt rolle
given value of e is wha t differentiates s
controller, along with the equa tion
The nam e of each classical feedback be give n.
to c(t), will now
that describe how they each relate e(t)
Thus:
1
PB cc -
Kc
(14.13)
The addition al paramet er 1:1 is called the integral time, or the reset time.
Often the reciprocal, 1/7:1 is the preferred parameter; this is known as the reset
rate.
(14.14)
(14.15)
The transfer function for the PID controller is therefore given by:
(14.16)
(14.17)
/Outer
/ Box
I Vis)
Yis>
1jf{s) .1 y(s)
(14.18)
Using Eq. (14.1) for eand Eq. (14.3) for Ym' Eq. (14.18) becomes:
Introduci ng Eq. (14.19) into the process equation for u now completes the
consolida tion exercise, having eliminate d every other variable except y, yd,
and d; the result is:
(14.20)
BBvBc gd d
Y = 1 + ggv gch Yd + 1 + gg g h (14.21)
v c
and by defining:
lfl(s) = (14.22)
and
(14.23)
we obtain:
y(s) l/l(s) yjs) + ytJ..s) d(s) (14.24)
SINGLE LOOP CONTROL
470
; IJI{s) and 'I'Js)
function repr esen tati on we seek
This is the closed-loop transfer oop tran sfer func tions.
are the closed-l
defi ned in Eqs. (14.22) and (14.23) fun ctio ns and the bloc k diag ram from
sfer
Reg ardi ng these closed-loop tran
erve that:
whi ch the y wer e obtained, obs
ominators.
1. 'If and 'I'd hav e identical den
tran sfer
2. The num era tor of 'If, i.e.,
gg,$c' is the pro duc t of all the
y to Yd; whi le gd, the num erat or of lfld
functions in the direct pat h from dire ct pat h betw een
sfer functions in the
is also the "pr odu ct of the tran
11
whe re
functions in the direct pat h betw een the
'7- = pro duc t of all the transfer
(yd or d).
out put y and the inp ut
loop.
nL = pro duc t of all the transfer functions in the entire
foll owi ng
tion of thes e resu lts wit h the
Let us illu stra te the app lica
exa mpl es.
FUN CI'I ON FRO M SIN GLE
Exa mpl e 14.1 CLOSED-LOOP TRANSFER M.
L SYSTEM BLOCK DIA GRA
LOOP, FEEDBACK CON TRO
in Figure 14.9, first
who se block diag ram is sho wn
For the feedback control syst em
tion relating
find the closed-loop transfer func
d and (c) y and d2,
(a) y and Yd• (b) y and 1 ,
ress ion rela ting the
ed-loop tran sfer func tion exp
and then obta in the over all clos
outp ut to all the inputs.
.
Figu re 14.9. Block diag ram for Example 14.1
471
EMS
CHAP 14 FEEDBACK CONTROL SYST
Solution:
y is g2 g1
tions in the direct path between y and 4
(a) The prod uct of the transfer func e loop isg g g gchz hr
tions in the entir 2 1 11
g11 g,; and the prod uct of the transfer func relation between y and Yd is:
Thus the closed-loop transfer func tion
(14.26)
d is g gd;
tions in the direct path betw een y and 1 2
(b) The prod uct of the transfer func two quan tities will be give n by:
relating these
thus the closed-loop transfer function
g,_ ld (14.27)
of transfer
d , we have the following prod uct
(c) In the dire ct path betw een y and 2 tion in this case will therefore be given
trans fer func
functions g2 Kr The closed-loop
by:
(14.28)
function
we now obta in the overall transfer
Combining all three expressions, ut as:
control system to the outp
relating all the inputs of this feedback
B28 d d
B2B J8v lc 1
+ l+g ,_g ,g., g.,h 2h1
y = l+g 2g1 gvg ch2 h1Y d
(14.29)
cont rol
is poss ible to hav e a SISO feed back
As we will see in Cha pter t( it loop s. In such
me invo lves mul tiple con trol
syst em for whi ch the over all sche oop tran sfer func tion is to
the over all clos ed-l
case s, the stra tegy for find ing cing the inne r loop s to sing le
ram by first redu
simp lify the mul ti.lo op bloc k diag whi ch is
ks. Suc h an exer cise redu ces the mul tiple loop s to a sing le loop
bloc d.
niqu e we hav e disc usse
then easi ly han dled by the tech
It is best to illus trate this conc ept with an exam ple.
CI'IO N FROM
Example 14.2 CLOSED-LOOP TRANSFER FUN
OP FEEDBACK CON TRO L SYSTEM BLOCK
MULTILO
DIAGRAM.
back cont rol
fer function for the multiloop feed
Find the over all closed-loop trans (As we will see later in
n in Figure 14.10.
syst em who se bloc k diag ram is show tion. )
Chapter 16, this is a crrscade control
system conf igura
Solution:
gnated
r loop by itself. It has two inputs, desi
Let us start by considering the inne trans fer func tions relating thes e
clos ed-lo op
m2 and d2, and one outp ut m1• The ple 14.1; the
g the appr oach illus trate d in Exam
variables are easily obta ined usin
result is:
(14.30)
472
SINGLE LOOP CONTROL
:
i
!
!Inner
!Loop
~.........................................................................................................l
~------------_, hl ~-------
-----------~
Figur e lUO. Block diagra m for Example 14.2.
(14.32)
~------------~ hl ~-----------
-----~
Figur e 14.11. Single-loop equivalent of the multiloop block diagra
m of Figure 14.10.
CHAP 14 FEEDBACK CONTROL SYSTEMS
473
The input s for the closed-loop system are y
, the set-po int, and d the
disturbance. In precisely the same manner as with 4
open-loop dynamic analysis,
we may now use Eq. (14.33) to investigate the dynam
ic response of closed-loop
systems to changes in the set-point (the servo, or
set-point tracking problem), or
the response to input disturbances (the regulatory
problem).
To be sure, the transfer functions involved in
such closed-loop dynam ic
analyses are more complicated than those used
for open-loop analysis, but the
principles are exactly the same in each case.
Let us now combine all the blocks in the direc
t path betwe en y and y d
(excepting the controller, gc) in a general feedback
control system block diagr am
and refer to this produ ct as simply g; and let gd
represent the produ ct of all the
transfer functions in the direct path between y and
d; furthe r let the produ ct of
all the blocks in the feedback path be referred to
as h, giving rise to the generic
closed-loop system show n in Figure 14.12. (It is
important
g and h stand for here; we have introduced these "com to keep in mind what
bined" transfer functions
as a short hand notat ion only; by no means are
we restricting the following
discussion to only those systems having one g and
one h block.)
For this generic system, the closed-loop transfer
functions are given by:
ggc
'I' = 1 + ggch (14.34a)
and
gd
'I'd= (14.34b)
1 + ggch
and the transfer fu.'lction repre~~tation for the closed
-loop system is:
(14.35)
Ym
h
to
time, the ratio of the tank volu me V
whe re f3 = }.j pVC and 9 is the residence with stea dy-s tate gain and
the thro ugh put l Thus this is a first-ord er syst em
time cons tant give n by:
(14.36a)
K = {38
and (14.36b)
'1: = e
that
valve dynamics are negligible and
Let us assume, for simplicity, that moc oupl e are perf ect and
from the ther
tem pera ture mea sure men ts obtained
instantaneous, implying:
gv = 1; h =1
rolle r
with prop ortio nal gain K,, the cont
Und er prop ortio nal only control,
transfer function is given by:
(14.37)
(14.38)
475
CHAP 14 FEEDBACK CONTROL SYSTEMS
matio n becomes:
which, upon introducing the provided infor
)
( KKc
es + 1 ! (14.39)
y(s)
KK ) s
1 + ( es : 1
:
which we now put in the more revealing form
K"' ! (14.40)
y(s) = e•s + 1 s
(14.41a)
(l4.4 1b)
1. As t ~ oo, y ~ K* .
is exponential.
2. The appr oach of y to the ultimate value K*
1a) we see that K• will
3. How ever , from the definition in Eq. (14.4
all finite valu es of K,.
always be less than 1, for
476 SINGLE LOOP CONTROL
l.O - - - - - - - - - - - - - - - - - - - - - &fs~t
y(t)
Increasing K ,
4. Because the final value attained by y is not the same as the desired
value yd, there is said to be a steady-state offset defined by:
KKC
offset = 1 - = --=-- (14.44)
1 + KKC 1 + KKC
5. Note that as the controller gain, Kc ~ oo, the offset tends to zero.
gd
y(s) = -1 --d(s)
+ ggc (14.45)
y(s) (14.46)
KK ) s
1+ ( (Js : 1
Kd* 1
y(s) = 8*s + 1 s (14.47)
CHAP 14 FEEDBACK CONTROL SYSTEMS 477
1.0
No Control, Kc • 0
y(t)
_1_
l+KKc
Offset
K *- I (I4.48)
d - I+ KKC
(14.49)
Figure 14.14 shows the closed-loop response, Eq. (14.49), along with the
open-loop response, Eq. (14.51). Note that using the proportional controller
reduces the offset, and that the amount of offset decreases as the value of Kc
increases.
SINGLE LOOP CONTROL
478
Syst ems
Effect of Proportional Control on First-Order
al feedback control on a general
Let us now summ arize the effect of propo rtion
first-order system.
fer function:
The first-order system with the open-loop trans
(14.53)
(assuminggv = 1, h = 1) where:
(14.54a)
and
(14.54b)
-- K K (1 + 1-)
-rs + 1 c 1:1 s
(14.55)
=
y(s)
1
K
-K
+'L"S- + 1 c
(
1 +-s) 1
'&/
yjs)
MS 479
CHAP 14 FEEDBACK CONT ROL SYSTE
(14.60)
and there will be no offset since the desired value and the ultimate value to
which the process output settles are identical.
We can go through the same procedure for the regulatory problem; we will
arrive at the same conclusion: with PI control, steady-stat e offsets are
completely eliminated.
gd
y(s) =- - d(s)
1 + ggc
(14.62)
(14.63)
and the response to a unit step change in set-point will be obtained from:
(14.64)
where factorization of the denominator polynomial into its roots, and partial
fraction expansion, followed by Laplace inversion will give the required
transient response.
However, we are particularly interested in investigating the ultimate
value to which this response settles, prompted by the fact that with the first-
order system, we had offsets.
Provided that the conditions of the roots of the denominator polynomial in
Eq. (14.64) are such that the response indeed tends to a finite limiting value (a
condition we shall revisit quite soon), we may now apply the final-value
theorem of Laplace transforms to Eq. (14.64) to obtain the ultimate value of this
transient response.
We thus have:
lim y(t) = lim ( 1 gKcK ) (14.65)
t-+- •-tO +g c
and since the only term involving s in the RHS of Eq. (14.65) is g, and we know,
by definition of its steady-state gain that
lim (g) = K
•-+0
we now have:
. ( KKc )
}~'! y(t) = l + KKC (14.66)
K*K )
(14.67)
lim y{t) = lim ( -r. K_c
.....
~ s--.0 l+ _
s
or K*K
lim y(t) = s-+0
lim (
S +
K*~c ) = 1 (14.68)
t-+-
t
does not exhi bit stea dy-s tate offse
Thu s only the pure capacity syst em ame ntal reas on for this will
rol. The fnnd
und er proportional-only feedback cont
be show n later .
(14.69)
y(s) =
set-
the response to a unit step change in
and upo n rearrangement, we find that
poin t will be obtained from:
(14.70)
we have:
(14.72)
no steady-state offset.
for all values of K and K,, implying that there will be
ure, we can also arrive at the same
By going throug h precisely the same proced
proble m under PI feedba ck control.
result for the regulatory
in feedback
Thus we have established the following well-known result
control:
under PI
The closed-loop system will never exhibit steady-state offset
control.
contro l system
Simila r argum ents can be presen ted for the feedback
contro l; we will find that there will be
operat ing under PO, and under PID
PD contro l, but none under PID contro l This finally
steady-state offset under
leads us to the following statem ent
The presen ce of integral action in a feedback control system will
transient
eliminate any steady-state offset from the closed-loop
occurs as a result of the absence of integral
response; steady-state offset
action.
feedback contro l
Thus, the pure capacity system under proportional-only
-state offset becaus e the system has its own built-in integr al
exhibits no steady
integra tor by virtue of its transfe r
action (recall that the system is called a pure
s not so endow ed will exhibit steady- state offset
function form); other system
under proportional contro l
-loop systems, let
Before leaving the subject of transient responses of closed
that the analyt ical approa ch we have presen ted here
us emphasize the point
l insigh t into the
is for pedag ogical reason s only, to provid e genera is not the
ics of feedba ck system s; this
fundam entals of closed-loop dynam
ach to take in practic e. The availa bility of a variet y of
custom ary appro
makes it unnecessary
computer packages for control systems design and analysis
to carry out such analysis by hand.
on practice, it
Even though computer assisted analysis is currently the comm
approa ch is still the prefer red
should be noted, however, that the analytical
l insigh t into the dynam ic behav ior of closed-
means by which to obtain genera
in invest igatin g
loop systems. Comp uter assisted analysis is most useful
illustra tive examp le.
specific system behavior. We will give one
484 SINGLE LOOP CONTROL
Example 14.3 CLOSED-LOOP TRANSIENT RESPONSE OF A THIRD-
ORDER SYSTEM UNDER PROPORTIONAL FEEDBACK
CONTROL.
Recall the three tanks in series process of Section 11.5 represented by a third-order
linear model whose transfer function is given below. We propose to use proportional-
only feedback control of the liquid level in Tank 3 with K0 = 1. Find the closed-loop
transient response to a unit step change in set-point. What is the final steady-state
value to which the system settles, and what is the steady-state offset? The transfer
function relating Tank 3 level to Tank 1 inlet flowrate is:
6
g(s) = (2s+1)(4s+1)(6s+1) (14.73)
Solution:
The closed-loop transfer function relation for this system under proportional
feedback control is:
In principle, we could now expand the cubic denominator polynomial, perform the
indicated algebra and factor it into its three roots; combine this with the input term
(1/s) and carry out partial fraction expansions; and after Laplace inversion we will
obtain the required analytical expression for the transient response. This is clearly a
very tedious exercise.
However, by entering this information into any control system analysis and
design package (in this particular case, we used one known as CONSYD) the generated
transient response is shown below in Figure 14.15. Note the indicated offset.
It is easy to calculate the actual value to which the transient response settles at
steady state; it is given by;
....5_
y(oo) = 1 + KKC
1.5
-~
1.0 1\
\I\ /\ ~ ........ -
} Offset
y(t)
-
0.5
0.0 II
0.0 2.5 6.0 7.5 10.0 12.5 15.0
Time
Figure 14.15. Transient response of the example system under proportional feedback
control to a unit step change in set-point
CHAP 14 FEEDBACK CONTROL SYSTEMS
485
which in this case is:
y( oo) = 76 or 0.857
The steady-state offset is obtained by subtracting this from the desired value of 1; the
result is:
offset = 0.143
The reader may want to verify that this is accurately represented on the computer-
generated transient response of Figure 14.15.
so that in the transient state, while things are still changing, the rate at
which the process input is being changed is given by:
tM!l - K t!!£.!1
iii - c dt (14.76)
Of course, at steady state, all the derivatives will vanish, but the real issue is
now the following: is it possible for dE(t)!dt to be zero without E(t) itself being
zero? The answer, of course, is yes; as soon as E(t) becomes constant, whether at
zero, or at a nonzero value, steady state is achieved. Observe from Eq. (14.75),
however, that for E(t) to be zero, u(t) must also be 0; but from the process model
we immediatel y see that u(t) will never be zero for nonzero set-point y or
4
nonzero disturbance d(t). Thus there will always be steady-state offset.
and under transient conditions, the rate at which u(t) changes will be given by:
~
dt
= Kc [~
dt
+ .!..E(t)]
'CI
(14.78)
SINGLE LOOP CONTROL
486
tha t regardless of
iati ng Eq. (14.77). Let us now observe
obtained by dif fer ent enever steady state
or the spe cific process in question, wh
contro ller par am ete rs, l van ish , and e(t ) wil l
iva tiv es in Eq. (14.78) wil
is achieved, all the der set.
will be no steady-state off
always be zero, and there rea der to est abl ish similar results for the PD
left as an exe rcis e to the
It is
and the PID controllers.
TY
14.6 CLOSED-LOOP STABILI
iderations
14.6.1 Preliminary Cons
g transient responses of
in to the issue of inv est iga tin
Let us ret urn onc e aga sed-loop transfer function
e sta rtin g poi nt is the clo
closed-loop systems. Th
(14.24):
representation given in Eq.
(14.24)
) d(s)
y(s) = IJI(s) yJs) + lfiJs
and (14.80)
ns have identical
me nti oni ng aga in tha t these two transfer functio
It is wo rth
denominator polynomials.
Characteristic Equation
response to a uni t step
ceding section, the transient
As dem ons tra ted in the pre :
obtained from
change in the set-point is
ggc 1 (14.81)
y(s) = _ __;:___
1 + ggch S
give:
which in general inverts to
(14.82)
t since gg)! is
To obtain this denom inator however, requires some rearran gemen
ver, we will show that these roots are
itself a ratio of polyno mials: /Howe
exactly the same as the roots of Eq. (14.83).
The most general form that ggc could take is:
Nl(s) e-a,s
ggc = D 1(s)
(14.84)
when time delays are involved, and h can also take the form:
N 2(s) e- tt.zs
h = -=---- :-- (14.85)
Dz(s)
D;(s) to represe nt
where we use N;(s) to represe nt numer ator polyno mials and
denom inator polynomials. Thus, Eq. (14.83) becomes:
n, and from
Now, from the expres sion for the closed-loop transfe r functio
Eqs. (14.84) and (14.85), we have that:
488 SINGLE LOOP CONTROl.
(14.88)
(14.89)
and since the roots of the denominator polynomial are determined from the
equation obtained by setting the denominator "polynomial" to zero, we
immediately see that this gives us the same result as Eq. (14.87), thus
establishing that Eq. (14.83) indeed represents the general closed-loop system
characteristic equation.
1 + KKc = 0
or
1+_K_K
+
TS
(I + _!_)
1 c Tf
=0
(s2 + 3s + 2) = 0
a quadratic whose two roots are easily obtained as:
s = -1; s = -2
and since these roots are all negative, we conclude that the system is stable.
CHAP 14 FEEDBACK CONTRO L SYSTEM S
489
It should not be too difficult to see from this exampl e that for
low-ord er
polynom ial characte ristic equatio ns, the roots are easy to find,
and stability
analysis is therefor e easy to carry out. For higher order polynom ials,
howeve r,
finding these roots explicitly can be quite tedious. Thus less tedious
method s of
stability analysis , which cleverly sidetrac k the issue of actually
calculat ing
these roots, are to be preferre d.
Let us now conside r some of these stability tests.
This means that the Routh test can only be applied to systems with
polynom ial
characte ristic equatio ns, immedi ately excludi ng time-de lay systems
whose
characte ristic equatio ns contain the transcen dental e- as term. (This
is one of
the situatio ns alluded to in Chapter 8 in which rational approxi
mations for
e-as are sometim es utilized .)
The following is the procedu re for applyin g the Routh test:
Ro w2 a1 as as
Ro w3 bl b2 b3
Ro w4 cl c2 c3
Row (n + 1) q>1
coefficients of the
obt ain ed directly fro m the
• Th e first two row s are
c equ atio n.
pol yno mi al characteristi ated as follows:
in the suc cee ding row s 3, 4, ... are calcul
• Th e elements
Th e elements of Row 3
(14.91)
Th e elements of Row 4
(14.92)
etc.
from the elements of
row are alw ays obt ain ed
• Th e elements in eac h
the two preceding rows.
ms of the Ro uth test:
ze the res ult ing arr ay usi ng the fol low ing the ore
3. An aly
l par ts (i.e., lie in
yno mi al hav e neg ativ e rea
• All the roots of the pol nts in the first column are
all the ele me
the LHP) if, and onl y if,
positive and nonzero.
the re is at least one
nt of this first col um n is negative,
• If any ele me al to the num ber
ber of suc h RHP roots is equ
roo t in the RHP. The num
t column.
of sig n changes in the firs
the im agi nar y axis
one pai r of roots are on
• The situ ati on in wh ich th the van ish ing of
LHP) ma nif est s itself wi
{all oth ers bei ng in the loc ate this pai r of pur ely
row. We can
all the ele me nts in the nth
sol vin g the equation:
im agi nar y roots exactly by
(14.93)
PtS 2 +p 2 = 0
ments in row (n - 1).
wh ere p1 and p2 are the ele
ing
uth tes t wi th the fol low
t us illu str ate the app lic ati on of the Ro
Le
exa mp les .
491
EMS
CHAP 14 FEEDBACK CONTROL SYST
A POL YNO MIA L
Exam ple 14.5 ROU TH TEST FOR THE ROO TS OF
EQU ATIO N.
er polynomial:
Find how many roots of the fourth-ord
(14.9 4)
Solu tion: j
is
stand ard form; the leadi ng coefficient
The equa tion is alrea dy arran ged in the le to say concl usive ly, just
Thus we are unab
positive, as are all the other coefficients.
inspe ction , whet her or not there are any roots of this polyn omia l in the RHP.
by
· We must now proceed to the Routh
test.
.
l, the Rout h array will have five rows
Since we have a fourt h-ord er polynomia array is gene rated :
following Rout h
Following the proce dure given above, the
Row 1 1 5 1
Row 2 2 6
Row 3 2 1
Row 4 5
Row S 1
in the
column is negative, the numb er of roots
And now, since no elem ents in the first tion for a contr ol syste m, we
tic equa
RHP is zero. Thus if this were the characteris
will conclude that the syste m is stable.
test is in eval uatin g the range of
The mos t impo rtan t application of this
a cont rol syste m to be stable. Let us
controller para mete r values requ ired for
ess we introduced earlier in Section 11.5
illustrate this usin g the three-tailk proc
n in Example 14.3. Recall that for this
of Cha pter 11 and whic h we met agai
n, that for K, = 1 the syste m is stable; for
system, we found, pure ly by simulatio ly
K, = 1.67 the syst em is on the verg
e of instability, and it goes complete
the precise rang e of K, for whic h the
unstable for K, = 2. Let us now establish
system is stabl e usin g the Rou th test.
Solu tion:
m is:
The characteristic equa tion for this syste
0 (14.9 5)
1 +(2.r + 1)(4s + 1)(6s +I)
Note:
• The roots of this characteristic equation depend on what value K, takes.
• The characteristic equation is in the standard form with the leading term
positive; also all coefficients are positive, for values of K, > -1/6.
Because we have a third-order polynomial, the Routh array in this case has four ro~s
and the specific entries are shown below:
Row 1 48 12
Row2 44 1 +6K,
120 _ 72 K 0
Row3 11 11 c
Row4 1+ 6K,
Analysis:
Solution:
Since we cannot tell anything about this system's stability by inspection of the
characteristic equation, we proceed to the Routh test.
Either by recognizing that this is the Example 14.6 system with K, = 5/3, or by
generating the Routh array from scratch, we obtain:
Row 1 48 12
Row 2 44 11
Row 3 0 0
Row4 ?
CHAP 14 FEEDBACK CONTROL SYSTEMS
493
Of course, the vanishing of all the elements in the third row indicates that we are
unable to evaluate the final element in the fourth row. It is not necessary, however, to
do this. All the other elements in the first column are positive, and therefore we
conclude that we have a situation in which a pair of roots lie on the imaginary axis.
The exact location of these roots can now be found, according to Eq. (14.93), by
solving:
(14.98)
from where we find that the roots are located at:
(14.99)
Determine how many roots of the characteristic equation given below lie in the RHP:
sl-3s+2 = 0 (14.100)
Solution:
Observe that the coefficient of s 2 is zero. The first step therefore is to replace the
missing coefficient with a small positive number £, which we shall use in our
subsequent calculations of the ~ements of the Routh array. Afterwards we will allow
this quantity to go to zero and investigate the behavior of the Routh array in the
limiting situation.
The "working" characteristic equation becomes:
(14.101)
Let us note right away that regardless of the value of E, the system is unstable by virtue
of the negative coefficient of s. Thus our objective is not so much to determine whether
the system is stable or not as it is to determine the number of roots of the characteristic
equation are in the RHP.
The four rows of the Routh array are generated below in terms of the parameter e:
Rowl 1 -3
Row2 e 2
-3£-2
Row3 0
e
Row4 2
Analysis:
In the limit as £-t 0, we note that the term in Row 3, when written as: (-3- 2/ e)
will clearly be negative.
Thus we have a negative entry in the first column showing up at the third row;
this is not much of a surprise since we already know that the system is unstable.
SINGLE LOOP CONTROL
494
che s zer o
E is a pos itiv e qua ntit
y (more precisely, it app roa
Ho wev er, since technically obs erv e tha t in goi ng dow n the first
of the rea l line) we
from the righ t-ha nd sid e to row 3, and ano the r sig
n
we enc oun ter the firs t sig n cha nge from row 2
col um n,
4.
change from row 3 to row tha t the equ atio n has two
ce the re are now two sig n changes, we conclude
Sin
roots in the RHP. 100) as (s -1) (s + 2); from
2
s out tha t we can actu ally factorize Eq. (14. 2 rep eate d
It turn the pol yno mia l has
th analysis is ind eed correct:
wh ere we see tha t our Rou
roots at s = 1.
s, the Routh array
ling wit h time-delay system
As not ed earlier, wh en dea ain app rox imate results by
can do one of two things: obt
is inappl ica ble . We Ch apt er 8, or use oth er
pol yno mial app rox im atio ns of
usi ng the rat ion al uency response methods
rational elements. The freq
methods which tolerate non nex t chapter are the mo st convenient. Another
lt wit h in the
which wil l be dea , but the treatment will be
tho d tha t is als o app lica ble will now be presented
me
elay systems.
general, not just for time-d
Direct Su bstitution
14.6.4 Stability Limits by
im por tan t app lica tio ns of
It bea rs rep eat ing aga
in tha t one of the mo st range of
hel pin g us ascertain wh at
stability analysis in feedback control is in s.
ty of the proces
r val ues gua rantees closed-loop stabili
contro ller par am ete be obtained by the
t, suc h stability limits can
Ap art from the Routh tes d is as follows:
n. The basis of this metho
method of direct substitutio
, at least one
is on the verge of instability
When a closed-loop system imaginary
stic equation must lie on the
pair of roots of the characteri this case these marginally stable roots,
in
axis of the complex plane; be substituted
the characteristic equation and can
s = ±jw, will satisfy n controller
ng equation for the unknow
directly. Solving the resulti required stability limits.
parameters will establish the
in, we choose the
an example; and once aga
This is bes t illustrated by all tha t for this system
of Section 11.5. We will rec
example three-tank system 14.7 tha t it will be on the
epe nde ntl y in Examples 14.6 and
we est abl ish ed ind ely im agi nar y roots are
y wh en Kc = 5/3 , and tha t the pur
ver ge of ins tab ilit by the method of direct
will reconfirm these results
located at s = ± 1/2 j. We '
substitution.
-OR DE R
ITY LIMITS FO R A TH IRD
Exa mp le 14.9 CL OS ED -LO OP STABIL BST ITU TIO N.
RO L BY DIRECT SU
SYSTEM UNDER P CO NT
the
iting val ue of Kc for wh ich
ct sub stit utio n, find the lim
Usi ng the me tho d of dire en bel ow wil l rem ain stab le:
characteristic equ atio n is giv
dos ed- loo p system wh ose
{14.96)
Sol utio n:
equation, we have:
By substituting s =jw into this
1 + 6K c) = 0
-48 jail -44 co2 + l2jm + (
495
CHAP 14 FEEDBACK CONTROL SYSTEMS
=0 (14.1 03a)
-48CJf + 12ro
and
=0 (14.103b)
1 + 6K, -44ai2
or
ro = ± In, Kc = 5/3
so that:
Kc -Ss (14.104)
gg,jl = (lOs + 1) e
es:
The closed-loop characteristic equati on then becom
(lOs+ l)+Kc e-5• = 0 (14.105)
This requires that both the real and imaginary parts vanish simultaneously so that
(14.107a)
(l4.107b)
must be solved forK,, w. Because of the sine and cosine functions in Eq. (14.107), there
are an infinite number of solutions. Some of these are provided in the table below.
K, Q)
-1 0
3.81 ± 0.367
15.87 ± 1.583
28.36 ± 2.834
We can ignore all but the first two solutions because the others are due to the periodic
nature of the time delay; i.e., all solutions with w > 2n/5 in Eq. (14.107) are higher
harmonics. Thus the system in Eq. (14.104) will be stable under proportional control
for controller gains in the range -1.0 < K, < 3.81.
Let us observe in closing that the roots of the characteristic Eq. (14.83) will
take on different values as the value of K, changes. We are sometimes
interested in more than just the critical value of K, (i.e., the stability limit);
we want to know the entire history of how changes in K, values affect the roots
of the characteristic equation.
A plot of the entire spectrum of values taken by each root of this
characteristic equation as K, varies from 0 to oo is known as a root locus. Because
it offers insight into the closed-loop behavior of feedback systems, we will
close this chapter with an introduction to the root locus diagram.
6
g(s) = (2s + 1)(4s + 1)(6s + 1) (14.73)
CHAP 14 FEEDBACK CONTR OL SYSTEMS
497
0.75l
I
I
0.50
K.= 1.67 1 ro, =0.500
m K,=l.OO
a 1
g I
0.25 I
i I
n I
K.= 1.67 I
I
r
y
0.00 • ----L
I ------ ·
I
I
I
A -0.25 I
X I
I
(14.96)
This is a cubic equati on with roots r 11 r , r which may
2 3 be calculated for each
value of controller gain, Kc l!§ing a simple numer ical
polynomial root finder,
one may generate the following table for 0 ~ K, ~ 3.0.
The Root Locus Diagram, a plot of these roots in the compl
ex plane, with
K, as a param eter, is shown in Figure 14.16.
I Kc 't r2 T3
in the roo t
the characteristic equ atio n plotted
whe re r1 , r2, ••. , rn are the roots of re of the clos ed-l oop tran sien t
litat ive natu
locu s diag ram . Thu s, the qua tic equ atio n.
by the roots of the characteris
resp ons e is enti rely dete rmi ned wha t thes e root s will be
ram is a collection of
Observe that the roo t locus diag
er value.
for any given controller para met s diag ram
The mos t imp orta nt imp lica tion therefore is that the roo t locu
pred ictin g clos ed-l oop
icul arly usef ul for
pres ents us wit h info rma tion part the stab ility cha ract eris tics of a
e token,
tran sien t resp ons es. By the sam of the roo t locu s
rmined from an inspection
closed-loop system can also be dete
diag ram .
we observe that:
For example, from Figure 14.16,
ch are
roots: - 0.167, - 0.250, - 0.500 whi
• For K, == 0, ther e are thre e real in Figu re 14.1 6.
d by x's
the open-loop poles of g indicate llato ry
0 Kc < 0.00 4, all the root s are real and ther e is no osci
• For 5;
response. ativ e real
the roots are complex with neg
• For 0.004 < K, < 1.67, two of
ped oscillatory.
part s so that the response is dam s so
of the root s are complex with positive real part
• For K, > 1.67, two easi ng amp litu de and uns tabl e.
incr
that the resp ons e is oscillatory with em' s osci llato ry
soid al port ion of a syst
• Since the frequency of the sinu t of the cha ract eris tic
ima gina ry par
resp ons e is dete rmi ned by the er
s, the osci llato ry resp ons e take s on high er and high
equ atio n root
frequency as K, increases. e as K,
s real and becomes mor e neg ativ
• Since the thir d root, r3, stay ing from the term A 3 e'i in Eq.
e aris
increases, the tran sien t resp ons
s.
(14.82) becomes faster asK , increase
from this example.
Let us now generalize the results
t Locus Dia gra m
14.7.2 Ge ner al Features of a Roo
techniques
ineers wer e required to mas ter the
Earlier generations of con trol eng eve r, this is no long er
locus diagrams. How
for efficiently con stru ctin g roo t such diag ram s with a grea t dea l
that generate
necessary. Com pute r pro gram s stud ent or
available, ther eby allo win g the
of facility are now rou tine ly how to inte rpre t thes e
the task of lear ning
prac ticin g eng inee r to focus on
.
diagrams, not how to draw them roo t locus
owi ng ther efor e are the general features exhibited by the
The foll of extr acti ng, and
ch will facilitate the task
diag ram , a kno wle dge of whi in the diag ram .
tion contained
prop erly interpreting, the informa
.
w as man y roots as the poles of gg)r
1. The root locus diag ram will sho
is sim ply a
This is easily esta blis hed from
the fact that the root locus diag ram
c equation:
plot of the roots of the characteristi
(14.83)
499
CHAP 14 FEEDBACK CONTROL SYSTEMS
there are no time delays
with the controller gain Kc as a parameter. When
sente d as the follow ing ratio of polynomials:
involved, gg)z can be repre
(14.108)
or
=0 (14.109)
D(s) + K,Kc N(s)
s. Then if we let:
wher e both Na(s), Da(s) are mth-order polynomial
N(s) = N'(s) NJs) (14.112)
This is simply because of the fact that "branching" off the real axis occurs when
there are complex roots, and such roots only occur in mirror image pairs, as
complex conjugates.
3. The root loci commence at the poles of gg)r and terminate at its zeros.
D(s) = 0 (14.114)
which, of course, gives rise to roots identical to the poles of gg,!z in Eq. (14.108).
To obtain the temrinating point of the root loci, we divide through in
Eq. (14.109) by Kc first, to obtain:
M
K +KPN(s) 0 (14.115)
c
K,N(s) =0 (14.116)
which gives rise to roots identical to the zeros of gg,!z in Eq. (14.108).
It is in this sense therefore that we may ·consider the root locus diagram as
the ''history of the migration of the poles of gg,!z to its zeros" as a function of
the controller gain.
This raises an interesting question, however: what happens in the situation
where gg,!z has more poles than zeros? The answer is that the remaining roots
go to infinity. We therefore have the result:
The root locus has n branches, r of which terminate at the zeros of gg,h,
while the remaining (n - r) branches go to infinity as K, increases.
Note that the system with the root locus diagram shown in Figure 14.16 has no
zeros so that all three branches go to infinity.
(14.117)
The zeros and poles of gg,!z are easily identified on the root locus diagram, but
not the process gain. This fourth property may be used to evaluate the total
CHAP 14 FEEDBACK CONTROL SYSTEMS
501
process gain K 11 from the root locus diagram. Observe that from Eq. (14.108)
that this property implies:
(14.118)
S. The closed-loop system response is nonoscillatory for points on the loci that
lie completely on the real axis.
6. When the loci branch away from the real axis, the closed-loop system
response becomes oscillatory.
7. The closed-loop system is on the verge of instability at the point where one
of the branches first intersects the imaginary axis in going from the left
half to the right half of the complex plane.
It should be quite obvious by now that gg,ft plays a very important role in
issues concerning the root locus and in the determinati on of the characteristics
of the closed-loop system in generaL This quantity is referred to as the open-
loop transfer function of the closed-loop system. This is because if the feedback
loop is "opened" right at the point where the feedback information Ym is passed
on to the comparator (see Fi~ 14.12), the transfer function relation between
this output and the set-point y 4 is:
(14.119)
The root locus diagram shown in Figure 14.17 is for the process with:
2Kc(s + 1)(- s + 1)
ggjl = (O.Ss + 1)(2s + 1)(4s + I) (14.120)
(a) Confirm that the poles and zeros shown in the root locus plot correspond to those
in the transfer function Eq. (14.120)
(b) What will the nature of the transient response be when Kc =17
(c) At what Kc value is the system on the verge of instability?
/
/
\
SINGLE LOOP CONTROL
m
a 1
g
i
n
a
r
y 0
A
X
i -1
8
2 3
-2 -1 0
Real Axis
eled by Eq. (14.120).
Fig ure 14.17. Root locus diag ram for process mod
Sol utio n:
at s = -2, - 0.5 0,- 0.25) and
indicates three pole s (located
(a) The roo t locu s diag ram mod el. Obs erv e that the
= s is consistent wit h the orig inal
two zeros at s -1, + 1. Thi em zero s and one of whi ch goes
s, two of whi ch go to syst
roo t locu s has three branche
to pos itiv e infinity. = t two of the roo ts hav e
ram , whe n K, 1, we see tha
(b) Pro m the roo t locu s diag ion is therefore that the
the complex plane. The conclus
alre ady bran che d out wel l into
ped oscillatory.
tran sien t response will be dam the bran che s are on the
Ke = , the roo t locu s diag ram sho ws that two of
(c) Wh en 3.21
. The con clus ion is therefore that this
cross into the RHP
ima gina ry axis and abo ut to e of instability.
whi ch the syst em is on the verg
is the controller gain valu e for
I
I
I
I
I
1 I
: Kc=3.81
Kc:=2.0t
.___._m. =- 0.367
K 0 = 2.0 K 0= 3.81
-1
J
K,=2.0
14.12.
Figur e 14.18. Root locus diagram for Example
y(t)
40 60 80 100
0 20
t
e
response for the system in Eq.{l4.104).
1-
Figur e 14.19. Simulation of the closed-loop
504 SINGLE LOOP CONTROL
On the other hand, the presence of a RHP zero has the effect of attracting
the poles into the RHP as K, increases and therefore encouraging instability.
Thus while a RHP zero does not imply instability (remember, only poles
determine stability), the RHP zero is a catalyst for instability.
As we will discuss in greater detail later, it is clear from just these root
locus considerations that a system with a RHP zero is more prone to instability
under feedback control than one with no zero at all; and the system with a LHP
zero is less prone to instability than both of the other classes of systems.
14.8 SUMMARY
We have concerned ourselves in this chapter with getting acquainted with
feedback control systems, and our quest has taken us over a lot of material. We
started with an introduction to the concept of feedback as a control strategy and
followed with the idea of block diagramatic representation for feedback
systems. After discussing closed-loop transfer functions and how they are
obtained, the rest of the chapter was devoted to various aspects of the analysis
of feedback control systems, all of which were dependent on the closed-loop
transfer functions. ·
The presentation of the analysis of feedback control systems in this chapter
is somewhat parallel to the discussion of the analysis of open-loop dynamic
behavior given in Part ll: we started with the ideas of block diagrammatic
representations for feedback control systems, and derived the resulting, overall,
(closed-loop) transfer functions; this was followed by utilizing these transfer
functions to analyze the transient responses of feedback control systems; and
this in tum led inexorably to the issue of stability.
The importance of the issue of closed-loop stability is only beginning to
emerge in this chapter; it will take on greater dimensions as we progress into
the issue of the design of feedback control systems.
We have found that the issue of closed-loop stability analysis boils down
to investigating the nature of the roots of the characteristic equation. We have
also seen that beyond the very low order polynomial equations, evaluating
these roots for purposes of stability analysis can be quite tedious. As a result,
we presented two stability analysis techniques that circumvent the tedium of
polynomial root extraction: the Routh test and the method of direct
substitution.
The graphical root locus method was also introduced as a means of
investigating closed-loop stability, and also determining qualitative
characteristics of closed-loop transient responses.
With the material covered in this chapter as background, we are now in a
position to embark on the central issue of Part IV: the design of effective
controllers. · This endeavor, which will take us through the rest of the book,
begins with the design of the relatively simple conventional feedback control
systems in the next chapter.
1. Routh, E. J., Dynamics of a System of Rigid Bodies, Part II, Macmillan, London (1907)
CHAP 14 FEEDBACK CONTROL SYSTEMS
505
REVIEW QUESTI ONS
3. What steps are involved in developing a block diagram for a physical control system?
5. Which of the classical controllers, P, PI, PD, and PID, usually gives rise to transient
responses with nonzero offset when used in a feedback loop?
J
6. What is the role of the characteristic equation in analyzing a closed-loop system
for
stability?
7. The Routh test is an algebraic test for determining what? How is it used in feedback
control and what are its limitations?
11. How is the "open-loop" transfer function of a feedback control system related
to the
closed-loop transfer function and _the characteristic equation?
12. In what ways do the poles and zeros of the "open-loo p" transfer function
of a
feedback control system determine the general features of its root locus diagram?
13. Why is a root locus diagram symmetric about the real axis?
14. What distinguishes the root locus diagram of a feedback system which contains
a time-
delay element?
PROBLEMS
14.1 The crude oil preheater furnace first introduced in Chapter 1 (see Fig. Pl4.1) is
used
to preheat the crude oil feed material to a fractionator.
As presented previously in Chapter 1, the crude oil flowrate F and temperatu
re T; at
the inlet of the furnace tend to fluctuate substantially. The crude oil flowrate out
of
the furnace F0 may vary, but it is desired to control the exit temperature T.
(a) Given the following transfer function relations (where (•) indicates nominal
steady-state operating values):
-
CRUDE OIL
Heat Exchanger
Process
Feed
Strea m Chilled
Brine
Out
Figure P14.2.
507
L SYSTEMS
CHA P 14 FEEDBACK CONTRO
-(1 - o.se- 10•) (P14.3a)
(T-T *WC ) (40s + 1)(15.r + I) (FB- FB*) (kgls)
{Pl4 .3b)
negligible dynamics:
and that the mea surin g device has
diag ram for this feedback cont rol system.
(a) Draw a block sfer func tion
rma tion , obta in the clos ed-l oop tran
(b) Usin g the supp lied info acte risti c equa tion.
writ e the char
relat ions hips for this syst em and wha t is the stea dy-
proc ess feed strea m temp eratu re,
(c) For a 2°C step increase in the a func tion of the cont rolle r gain K/
eratu re, as
state offset obse rved in the exit temp
stria l low boil er colu mn is
on the reflux receiver of an indu
14.3 The level cont rol sche me ly cylin dric al vess el 2ft in
iver if an esse ntial
show n in Figu re P14.3. The rece
diameter.
J
deve lop a
the mom ent the leve l tran smit ter and the level controller,
(a) Igno ring for rate of mate rial from
ess, assu min g that Fc' the flow
math ema tical mod el for this proc tant ially with time , but that FR, the
vari es subs
the cond ense r, is unm easu red and F is to be used to
the disti llate "pro duct " flow rate 0
reflu x flow rate, is held eons tant; s of devi ation varia bles and obta in a
r mod el in term
cont rol the drum level. Cast you are in lb /hr, and the dens ity
proc ess. The flow rates
tran sfer func tion mod el for this lb/ft 3.
cons tant at 30
of the mate rial may be assu med mics repr esen ted
disti llate "pro duct " line has dyna
(b) Give n that the valv e on the
by: 0.02
Kv~.f} = 0.2s +
so that:
(wit h the time cons tant in minutes)
(P14 .5)
From Condenser
Fe
Reflux
Figu re P14.3.
508
SINGLE LOOP CONT ROL
where Pv represents the valve positio n (in%), and(*)
indicates nomin al steady-state
operat ing values, develo p a block diagra m for this
process when the controller is a
propor tional controller operat ing according to:
Figure P14.4(a).
..
y
Figure Pl4.4( b) ..
14.6 When the human eye is exposed to an external light flux, a simplified model of the
feedback control mechanism used to regulate the retinal light flux by opening the
human iris is shown in the block diagram of Figure P14. 6.
Figure P14.6. Simplified block diagram of the human pupil servo mechanism.
(a) By using a first-order Pade approximation for the time-delay term, find the value
of K for which the closed-loop system will exhibit sustained oscillations. What will
the frequency of these oscillations be? (Adapted from Nise (1991)t) (Note that it is
not unusual that the retinal light flux will "exhibit oscillations." The opening of the
iris directly determines the amount of retinal light flux: thus, retinal light flux
oscillations imply oscillati~ of the iris.)
(b) By using the method of direct substitution, or otherwise, repeat part (a) without
using an approximation for the time-delay element. Compare your results with those
obtained in part (a) and thereby assess the adequacy of the approximation used.
5e-11s
g(s) = 15s + I
_1_
g.(s)
3s + I
determine the largest value of Kc for which the control system is stable.
(b) For the same control system indicated in Figure P14.7, if now, Kv(s) =1, and the
plant, given as a second-order system, with the usual transfer function:
Figure P14.7.
+ -I -)
ff s
h 1-------'
Figu re P14.9.
0.25
O.Ss +
rol syst em
The rcjt locus diag ram for the cont
and a controller of unknown structure.
wing featu res:
is, however, know n to have the follo
Controller:
512 SINGLE LOOP CONTROL
Process:
2
g(s)
(s 2 + I)
Measuring device:
I
h(s) = (s + 2)
(a) Use a root locus plotting program to obtain a root locus diagram for the closed-
loop system
(b) From the root locus diagram, draw qualitative sketches of the expected closed-
loop responses of the system to a unit step change in set-point for Kc =0, Kc = 1,
Kc = 10, and Kc = 100. It is important to do this part before proceeding to part (c),
otherwise you will miss the point of the exerdse.
(c) Use a control system simulation package to verify your sketches in part (b).
CH AP TE R
15
CON VEN TIO NAL FEEDBACK
CON TRO LLE R DES IGN
513
SINGLE-LOOP CON TRO L
514
entio nal
cons ider ed the central issue in conv
design of the feedback controller is
control systems design. not
essf ul desi gn of the cont rolle r is
How ever it is also clea r that succ all feed back syst em.
the success of the over
sufficient - by itself - to guar ante e ess
othe r prel imin ary issue s with significant bear ing on the succ
There are som e usse d now befo re we go on to the
be disc
of a feedback control system; they will
mai n task at hand . the
gn prob lem incl udes , apar t from
The com plet e cont rol syst em desi ation s as:
f, such cons ider
obvious desi gn of the controller itsel
10 20 30 40 50 60 70 80 90 100
'h Valve position
Control Valves
s, the main poin ts of inter est are
Conc ernin g the selection of cont rol valve
summ arize d below.
Direct/Reverse Acti on
As we recall from Chap ter 14, the propo rtiona l
controller respo nds as:
J c(t) = Kc E(t) (14.8)
i.e., to a posit ive increase in the error signa
l, it respo nds by dema nding a
propo rtiona te increase in the process input . For
the stirre d tank process show n
in Figur e 14.1, for example, if, for some reason
the tempe rature of the liquid in
the tank falls below the desir ed set-p oint
value , the contr oller receives a
signa l e(t) that will be positi ve and the contr
oller signa l to the control valve
will be positi ve; for an air-to -open valve, this
decis ion will transl ate to an
incre ase the steam rate. Of cours e, this is the
appro priate decis ion to take,
since such actio n will have the effect of
raisin g the value of the tank
temp eratu re.
Howe ver, consi der the level control syste m we
discu ssed in Chap ter 1, the
confi gurat ion show n in Figur e 1.17. If the liquid
level in this tank falls below
the desire d set-po int value, the contr ol action
requi red to rectify the situat ion
shoul d call for a reduction in the outflo w from
the tank. As prese nted in
Eq. (14.8), the contr oller will call for an increa
se in the outflo w, and this will
be inapp ropri ate action.
The probl em is not with the defin ition of the
contr oller; the issue is the
difference betwe en these two processes. Obser
ve that the process in Figure 14.1
has a positive stead y-stat e gain (an increase
in the input varia ble cause s the
outpu t varia ble to settle to a highe r value at
the new stead y state), while the
process in Figur e 1.17 has a negative steady-stat
e gain (an increase in the input
variable cause s a reduc tion in the value of the
outpu t variable).
To allow the controller to make the appro priate
decis ion regar dless of the
sign of the proce ss stead y-stat e gain, commercial
controllers are equip ped with
a featur e that make s it possible to change the sign
of the controller gain Kc.
SINGLE-LOOP CONTROL
518
Figure
tate gains, such as the process in
For systems with positive steady-s and ther e is
icted in Eq. (14.8} is appropriate,
14.1, the controller action as dep con trol ler acts in dire ct
controller gain. The
no nee d to change the sign of the with neg ativ e stea dy-s tate gain s,
systems
action mod e for such systems. For the sign of the
rred to above, a reversal of
such as the liquid level system refe then
essa ry for app ropriate action. The controller is
controller gain Kc is nec
e.
said to operate in reverse action mod trol ler
hap s the mos t imp orta nt poi nt to not e is that goo d con
Per take on a sign that ensu res
troller gain should
performance requires that the con t of the proc ess stea dy-s tate gain and
pro duc
that the overall process gain (the
the con trol ler gain} is posi tive . tive.
that the overall process gain is posi
In wha t follows, we will assume
Parameters
Commercial Controller Fomzs and
as given by
operation of feedback controllers
The equatioll$ that describe the sam e form . The most
rs are not always in the
various commercial manufacture y com mer cial man ufac turers use
that man
imp orta nt difference lies in the fact prop ortional band)
mor e precisely, percent
the term proportional band (PB) (or, nt poi nt to note is the
Kc. The imp orta
in plac e of the controller gain
ntities:
relationship between these two qua
roller output)
PB _ 100 (maximum range of cont (15.1)
- Kc (maximum rang e of measured variable)
por tion al
l gain corresponds to a wide pro
and the fact that a low proportiona s to a narrow
por tion al gain correspond
ban d, and conversely, a high pro
proportional band. 1), let us define some variables:
To pro ve the relationship in Eq. (15.
l
d variable erro r causing the fina
!:.£+ := the range in the measure its maximu m valu e with
control element to go from zero to
control ler gain Kc
causing the final control
ac• e the rang e of controller out put
imu m value
element to go from zero to its max
d variable
ay• s the maximum range of the measure '
ional Band is:
Now the fundamental definition of Proport
(Ae* ) (15.2)
PB = 100 · (!:.y*)
} yields:
Substituting Eq. (15.3} into Eq. (15.2
- 1()() (!:.c*} (15.4)
PB - Kc (l:.y*)
ROLLER DESIGN 519
CHAP 15 CONVENTIONAL FEEDBACK CONT
100 100
p(r) = PB e(t) + PB -rr
II
0
£(t) dt + Ps
(15.6)
.
where PB and -r1 are the specified parameters
Ther e is also a very impo rtant poin t to note abou t the comm ercia l
oller , preci pitat ed by the fact that to
impl emen tatio n of the PID contr
Eq. (14.16) requires obtai ning the
impl emen t the PID controller as given in
arises because it is impossible to
derivative of the error signal. The problem
a signa l with a physical device. Thus the
obtai n the exact deriv ative of
tes the "ideal" PID controller of
commercial PID controller usually approxima
Eq. (14.16) by:
(15.7)
/
than 0.1. The essence of the
wher e a is a smal l quan tity, 'typically less
Eq. (14.16) is approximated by a
approximation iS that the derivative aspect in
ant. ,
lead/ lag term with a very small lag time const
for comm ercial controllers configured in the
It is also important to note that,
"interacts" with the other two
form show n in Eq. (15.7), the derivative term
; wher eas for the ideal PID in
term s beca use they mult iply each other ct, and do not interact.
deriv ative terms are distin
Eq. (14.16) the integral and
of Eq. (14.16} is the fact that
Anot her prob lem with the ideal PID controller
oint, the derivative action make s a
when a step change is made in the set-p e kick." To avoid this
outp ut- called "deri vativ
sudd en change in controller term, de/ dt, with
the deriv ative
kick, commercial controllers often replace
dym/dt.
~-------;j
r ------
'
I
(b)
settling time limits
y(t)
Figure 15.2. Some possible closed-loop responses to a set-point change: (a) oscillatory
response with overshoot; (b) some nonoscillatory responses.
CHAP 15 CONVENTIONAL FEEDBACK CONTROLLER DESIGN 521
Of these, the first two are very easy to specify: the only reasonable
specification is that the system must be stable; also, the key steady-state
criterion is that there be little or no steady-state offset (i.e., the error e is
brought close to zero at steady state). The third class of criteria specifies how
the system responds under closed-loop control. As indicated below, these
criteria must be chosen according to the problem at hand.
Figure 15.2 illustrates several types of closed-loop responses that can arise
depending on the process being controlled, choice of controller type, and the
controller parameters selected. Figure 15.2(a) shows an underdamped
oscillatory response, while 15.2(b) illustrates several possible types of
nonoscillatory responses. The control system designer must decide which type
of response is the "best" for any particular problem. To help in this choice,
some precise mathematical criteria may be specified. Some of these are:
Obviously there may be some trade-offs with these criteria. Let us use an
example to illustrate.
Let us recall the three water tank system of Section 11.5 which had the open-loop
transfer function relating the level in tank 3 to the feedrate of tank 1 as:
6
g(s) = (2s + 1}.(4s + 1)(6s + I) (15.8)
If one uses a PID controller to control this system, the closed-loop set-point response is
given by:
y(s) (15.9)
For only PI action determine the effect of tuning parameters K0 -r1 on the closed loop
response.
Solution:
Recalling that derivative action is not recommended for level control, let us set
1:0 =0 and rearrange Eq. (15.9) to:
(15.10)
522 SINGLE-LOOP CONTROL
0.0
0 20 40
1.5
K,= 0.12
1.1 - - - - - - - ~tt_!!:n~ti~·~...:s-
1.0
yd
0.9
0.5
0 20 40 60 80 100
The effect of -r1, Kc on each of the control system performance criteria for this process
can be seen in Figure 15.3. Note that for 1/ -r1 small, one must use higher controller
gains to eliminate offset in a timely fashion. This provides short rise times, but poor
decay ratio performance (poorly damped oscillations) and significant overshoot. For
larger values of 1/-r1, smaller controller gains maybe used, and this results in larger
rise times, but less overshoot. It is generally difficult to have very short rise times and
small overshoot. However, if settling time was the only criterion (e.g., time to stay with
± 10% of the set-point change), then a wide range of controller parameters with
different types of responses would provide settling times of about 30 minutes.
(15.l lb)
s.
whic h selectively penalizes large error
r (ITAE)
3. Integral Time-weighted Absolute Erro
long times.
whic h more heavily penalizes errors at
r (ITSE)
4. Integ ral Time-weighted Squa red Erro
t e"'l(t) dt
(15.l ld)
ITSE = [
0
rs at long times.
whic h more heavily penalizes large erro
ying these crite ria will be illus trate d
Typical resp onse s resu lting -from appl
with an example in the next section.
JSE
0 20 40 60 80 100
Figure 15.4. Closed-loop responses for the three-tank system with a PI controller that
results from minimizing the time integral objectives Eq. (15.11).
SINGLE-LOOP CONTROL
526 ure
settings are sho wn in Fig
onses obt ain ed using these
The var iou s closed-loop resp e sho rter rise tim es tha n IAE and
tha t lSE and ITSE pro duc
15.4. The resu lts ind icat e objectives ITSE and ITAE
hav e
er ove rsh oot . Also the time wei ght ed hea vily. All
ITAE but larg es are not pen aliz ed
dev iati ons at sho rt tim
lon ger rise tim es bec aus e
vid e rath er good. settling times.
criteria pro
Contr oller Designs
15.3.2 Mo de l Following PID
tha t wo rk on the
of mo del fol lowing tun ing procedures
There are a num ber cause the actual closed-
the PID controller parameters that
pri nci ple of fin din g e cases, wh at is prescribed
prescribed fashion. In som
loop system to behave in a wh ich·the actual process is req
uired to track;
op traj ect ory
is an entire clo sed -lo rat her tha n the entire
ers , it is the loc atio n of the closed-loop poles,
in oth
ibed.
trajectory, which is prescr
Direct Synthesis Tuning
Chapter 19) seeks to find
ch (to be discussed fully in
The direct synthesis approa uir ed to pro duc e a pre specified closed-loop
tro ller gc req
the feedba ck con n for a process un der
pon se. Recall tha t the closed-loop transfer functio
res
feedback control is: (15.12a)
y(s) = 1 + ggch y,j..s)
or (15.13)
proc ess
para met ers that brin g the actu al
let us find the con troll er tuni ng in Eq. (15.14).
ible to the specified resp onse
resp onse Eq. (15.12a) as close as poss eral mod el for a seco nd-
4) is the gen
Recall from Cha pter 6 that Eq. (15.1 over shoo t) or und erda mpe d
ove rdam ped (no
orde r syst em that can hav e either t of the actu al
(15.14) can app roxi mat e mos
resp onse (cf. Figure 6.8). Thu s Eq.
closed-loop responses possible. as an
dire ct synt hesi s cont rolle rs usin g
Let us now illus trate the design of
g(s) of the form:
exam ple a third -ord er process with
K
whe re
(15.17)
we obtain:
one of the time cons tant s (say, 'l3),
Now if we choose ¢to be equ al to
(15.18)
(15. 20)
:JLiJ
( 15.21)
(15.22a)
(15.22b)
K = 5_
c fJ
(15.23)
Use the direct synthesis tuning procedure to obtain PID controller parameters for the
three-tank system of Example 15.1. Recall that for this system:
6 (14.73)
g(s) = (2s+l)(4s+l)(6 s+l)
Assume that a reasonable closed-loop response given by Eq. (15.14) is desired. Repeat
the design for the situation in which there are only two tanks so that:
6 (15.24)
g(s) = (4s + 1)(6s + I)
Solution:
Using Eq. (15.20) for the tuning parameters, let us find a good reference trajectory
for which tjJ defined by Eq. (15.17) is close to one of the three time constants in
Eq. (14.73). Let us choose Tr =4.0, 'r = 0.5 in the reference trajectory Eq. (15.14) to
yield:
(15.25)
which produces the underdamped trajectory shown in Figure 15.5. Note that from
Eq. (15.17) this yields tjJ =4, fJ = 24. In this case r3 =4.0 is canceled exactly, and the
controller tuning parameters from Eq. (15.20) become K, =0.333, 1/-r1 = 0.125, -r0 =1.50
for this PID controller. The desired reference trajectory given in Eq. (15.25) is
achieved exactly as illustrated in Figure 15.5.
0 20 40 60 80 100
Figure 15.5. Results of direct synthesis tuning of the three-tank (PID) and two-tank (PI)
processes. The reference and feedback trajectories are identical here as are
the resulting trajectories for the two problems.
If we apply the same type of design to the two-tank system with the model given by
Eq. (15.24), we see that we may choose T, =4.0, ,, =0.5 again yielding the reference
trajectory in Eq. (15.25) with 1/J =4, {3 =24. The resulting PI controller parameters are
now given by K, = 0.250, 1/'1"1 = 0.1667. With this controller, the desired reference
trajectory is achieved exactly- this time by a PI controller for the two-tank system.
Note that because we chose .the same reference trajectory for each problem, the closed-
loop responses for both problems are identical and shown in Figure 15.5.
IMC Tuning
Rivera et al. [4] use the ide.rs· of Internal Model Control (IMC), a control
strategy discussed in Chapter 19, to produce equivalent PID tuning rules. Again,
as with the direct synthesis approach, there are only certain classes of process
transfer functions g and desired .. reference trajectories (y/yd) that lead to the
PID structure and for which IMC tuning can be directly applied. In addition,
their controller structure requires a damping filter multiplying the PID
controller. Later, in Section 15.4, we will present the IMC-based PID tuning
rules for a class of approximate models.
(15.29)
nt in the complex
ust ing K,, -r , -r0 we can locate r 1, r 2 wh ere ver we wa
and by adj 1
p O.SKCU - -
PI 0.45Kcu Pu/1.2 -- -
0.6Kcu P./2 P.IB
PID
example.
Let us illustrate this proced~.-with an
G A FUNDAMENTAL
Exam ple 15.4 ZIEGLER·NICHOLS TUN ING USIN
J'RO CES S MOD EL.
Solu tion:
t subs tituti on that the prop ortio nal
From Example 14.9 we see from direc
p response of the system to the verge of
controller gain which brings the closed-loo
instability is:
K•• = 513 1.667=
at that point is:
and the frequency of sustained oscillation
m. = 0.5 radlmin
0 20 40 60 80 100
Figure 15.6. Closed-loop response of the three-tank process under P, PI, and PID control
using Ziegler-Nichols settings.
Thus the Ziegler-Nichols settings for the various controllers are then:
P: Kc =0.8333
PI: Kc = 0.75, 1I T1 =0.0955
PID: Kc =1.0, 1/T1 =0.159, To= 1.57
(15.30)
'· ····=?·----~,-----
Reactx m Approximation
Curve
...
Figur e 15.7. The proce ss react ion curve and the
first- order -plus -time -dela y
approximation.
SINGLE-LOOP CONTROL
534
- - - - - - -if - - -=-=---
•lop e- G I
t: I
a
f-oa~-t-t+ t---
ve.
to the process reaction cur
Fig ure 15.8. Fitting mo del par ame ters
app rox ima te mo del
procedure for obtaining the
Th e following is a simple
s reaction curve:
Eq. (15.30) from the proces
tro ller fro m the
n curve: Disconnect the con A in the inp ut
1. Obtain the process reactio gni tud e
ent a step change of ma
controlled process; implem tro l ele me nt {e.g ., ope n or do se
the final con
to the controlled process via d the res ult ing
tain fixed amount). Recor
the control valve by a cer giv es the process
the me asu red out put ; this
tra nsi ent res pon se of Ym' in Fig ure 15.8 .
of which is sho wn
reaction curve, an example
zing parameters.
2. Estimate the characteri
time del ay, a:
(a) Estimate the effective process reaction
tan gen t line at the inflexion poi nt on the
Dr aw a s giv es an est ima te of
rsects the time axi
curve, wh ere this line inte 15.8).
(see Figure
the effective time delay, a
e gai n, K.
(b) Estimate the effectiv
By definition of the ste
ady-state gain:
out put
K = ult ima te value of the
ut
ma gni tud e of the ste inp
p
, we have:
In this case, from Figure 15.8
Y,.(oo) (15.31)
K=A
put dev iati on
It mu st be kep t in min d
that Ym is in terms of the out
ue; it is not an absolute me asu rem ent of
from the initial starting val
the process output.
tim e constant, -r.
(c) Estimate the effective obtained as:
ful but rou gh est ima te of the time constant Tis
A use
y,.(oo) (15.32)
T= - -
0'
the inflexion
the tan gen t line dra wn at
wh ere a is the slope of t (-r+ a) can be pic ked off
) implies tha
point. Note that Eq. (15.32 inflection poi nt
where the tangent at the
the time axis at the poi nt
put value, Ym(oo).
intersects the ultimate out
cedure wit h an example.
We now illustrate this pro
R DESIGN 535
CHAP 15 CONVENTIONAL FEEDBACK CONTROLLE
10
8 )8
""•) • (ii;.;i -a.
"'
20 30 40 50
0 t-
TION
Examp le 15.5 FIITIN G PARAMETERS TO THE PROCESS REAC
CURVE FOR TilE THREE-TANK SYSTEM.
{15.33)
g(s) • (ISs + 1)
10
Ym(t) 4
~rT,rT.-~
o-r~~TO-r~-r.,-r~~
10 20 30 40 50
0 t
Table15.2
Ziegler-Nichols Approximate Model PID Tuning Rules [3)
(as reinterpreted by Smith and Corripio [6])
p
t(:) - -
PI 0:(:) 3.33a -
!
Table15.3
Cohen-Coon Approximate Model PID Tuning Rules [5]
Controller Kc
Type
7:1
"v
p
k(: )[ 1+ j ( ~ )] - -
PI k(:)[o. 9 +112(~ )]
a [~J
9+20(~)
-
PD t(:)[~+~(~)] -
{~J~)
22 + 3(
PID t (: )[~ +~ (~ )]
a 13[~J
+s( ~) ill+~d
Time-Integral Tuning Rules
Smith, Murrill and coworkers [7-9] have developed correlations for PID tuning
parameters which minimize integral-time objectives such as IAE, ISE, ITAE,
and ITSE. Their correlations distinguish between set-point changes and
disturbance-rejection responses. A rather complete set of results are summarized
in Ref. [6]; however, we will choose to present only the ITAE results in Table
15.4 because these are often the best solution in a practical'sens e (e.g., see
Figure 15.4).
Again, these should only be applied in the approximate range 0.1 < (a/7:) < 1.0.
It is particularly interesting to note now how these different tuning rules
based on somewhat different criteria all depend on the time-constant -to-time-
delay ratio. It is therefore easy to see why many practical industrial control
engineers consider this ratio to be a very crucial process parameter when it
comes to tuning feedback controllers.
SINGLE-LOOP CONTROL
538
Tab le15 .4
es [7-9]
Min imu m ITAE App roxi mat e Mo del Controller Tun ing Rul
't'z 't'o
Controller Type of Kc
Type Response
p . o:9 (~Jos4 - -
Disturb.
o.;r(~J916
't -
Set-point
[ 1.03-0.165 (~]
PI
Tab lelS .S
Cha pter 19)
te Mo del Con trol ler Tun ing Rul es (cf.
Dir ect Syn thes is App rox ima
1' 1' - -
PI K('t'r +a)
a _!( !_ a-rr
2-r+ a
PID 2K (-r, +a )
H2 2-r+ a 2(1'r +a )
,.
539
CHAP 15 CONVENTIONAL FEEDBACK CONTROLLER DESIGN
IMC Approximate Model Tuning Rules
d tuning
As noted in Section 15.3, Rivera and Morari et al. [4, 10] have propose
control lers based on the Interna l Model Contro l (IMC)
rules for PID
the designe r must select a
method ology. In additio n to the model parame ters,
s to the desired closed-l oop time constan t
"filter parame ter," .l., which amount
er respons e. Thus for .l. small, the controll er will respond more
for a first-ord
quickly than if it is larger. The tuning rules are given in Table 15.6.
Table15 .6
IMC Approx imate Model Controller Tuning Rules [4,10]
1'
1' - !>1.7
PI .l.K a
"Improv ed"
2-r+ a a l
PI 2-l.K 1'+2 - ->1.7
a
2-r+a a _!!!_ it
->0.25
PID 2K (it +a) 1'+2 2-r+ a a
those based
Note the similari ty betwee n the direct synthes is tuning rules and
on IMC. We shall have more to say about this in Chapte r 19.
but the
A number of other approxi mate model tuning rules are availabl e,
y nt to provide a wide choice. Let us now
ones present ed here are certainl sufficie
perform ance of the various tuning rules with an example .
compar e the
Solution :
ers
Based on all of the tuning rules discussed above, the controller tuning paramet
PID control are given in the followin g table (where we recall, for the
for PI and
approximate model K = 6, 1'= 15, a= 3).
540 SINGLE-LOOP CONTROL
PI PID
0 20 40 60 80 100
Figure 15.11. Closed-loop set-point change responses for the three-tank process using a
PI controller designed with various controller tuning rules (the IMC and
direct synthesis results are identical).
CHAP 15 CONVE NTIONA L FEEDBACK CONTROLLER DESIGN
541
0 20 40 60
t 80 100
or
(15.35)
wh er e
this closed-loop
-lo op transfer function for
Here, gl. is referred
to as the op en d ou tp ut variables
clo sed -lo op system's in pu t an en
system because it rel ate s the -loop response is giv
opene d. No w we recall tha t the closed
when the loop is
by:
the
d from the roots of
se d- loo p sy ste m stability is determine
so that the clo given by:
aracteristic equation
closed-loop system ch ) (15.37
CONTROLLER DESIGN 543
CHAP 15 CONVENTIONAL FEEDBACK
rmining the stability of a closed-loop
Thus, gL is seen to play a key role in dete
system.
In the frequency domain, gL(jro} is give
n by:
(153 8)
or in pola r form:
(15.40)
Re
Note that the curve traced by KLVW) sweeps out a path as frequency w is varied.
As we recall from Chapter 9, depending on the order of the system, the curve
rotates through 90° (first order), 180° (second order), 270° (third order), etc., or
rotates an infinite number of times if there is a time delay. Note also that the
AR (the distance of the c..trve from the origin) tends to decrease with increasing
frequency. Also note that the AR is proportional to the controller gain because
of the definitions Eqs. (15.38) and (15.41). For example, by doubling the
controller gain we cause the Nyquist plot to have twice the value of the AR at
every frequency.
I; = gL(si)
which can have locations on the Nyquist plot, Figure 15.14.
Mathematically, we then say that gL(s) maps the chosen value of s into the
resulting value of f. For example, by this "mapping," all the values s = jw (for
all values of w) - corresponding to the upper portion of the imaginary axis in
the complex plane - give rise to:
f = gL(jw)
stable
t
10
Re
l
Figure 15.15. Plot of possible locations of the roots, r 1 = a 1 + j {31, of characteristic
Eq. (15.37).
CHAP 15 CONVE NTIONA L FEEDBACK CONTROLLER DESIGN
545
But recall that the Nyquist diagram is nothing more than a plot
of gL(jOJ) in
the complex plane. Observe therefore that this mappin g actuall
y corresponds
to the very curve traced out by the Nyquist diagram. Thus
we say that the
upper portion of the i'fiUlginary axis is mapped onto the curve
gL(jOJ) of the
Nyquist plot.
It is easy to show that the lower portion of the
imagin ary axis,
corresponding to the values s =- jOJ (for all OJ), gives rise to:
=
1. If the open-loop process gL(s) is stable, then P 0 and
the closed-loop
process is unstable only if there are net clockwise encirclements
of (-1,0).
.,
SINGLE-LOOP CONTROL '1,.
546
e mu st be at least
unstable, then P > 0 and ther
2. If the open-loop process is controller
of (-1 ,0) (i.e., N ==- P) for the
P counterclockwise encirclements
.
to stabilize the uns tabl e process
ure 15.14, all of
controls the size of AR in Fig
3. Since the controller gain, K,, cho ice of K, (an d obviously the
ically on the
these conclusions dep end crit y therefore be
well). The Nyq uist plo t ma
oth er controller par ame ters as crit erio n to det erm ine
Nyq uist stab ility
use d in con jun ctio n wit h the ter valu es.
ler par ame
stability limits on the control
(15.44)
1 (Pcon trol)
{a) -r0 =0,-= 0
1'1
1 {PI control)
(b) -r0 =0,-= 0.0S
'~'I
1
(c) -r0 = 10,-= 1.33 (PID control)
1'1
Soluti on:
1 (obtai ned using the progr am
The "gain neutra l" Nyqu ist plots forK. =
that for P contro l (Figure 15.16{a)), the
CONSYD) are given in Figure 15.16. Note
for Kc = 1 and the Nyqui st curve interse cts the real axis at (- 0.60, 0),
system is stable
·-.-;_ r=
0.6. Thus for all contro ller gains Kc > 1/0.60 = 1.667, the system is
indica ting that
once; the same token the system
by
unstab le becau se the curve will then encircle {-1,())
is stable for all Kc < 1/0.60 = 1.667.
l.. Nyqui st plot (for Kc = 1) begins
For PI contro l (F'tgure 15.16{b)) the "gain neutra
axis (becau se of the 1/s factor ingL{s)) and finally interse cts
at-- on the imagi nary
system is unstab le for all contro ller gains
the real axis at (- 0.732,0). Thus the
Kc > 1/0.73 2 = 1.37.
ex. As indica ted in Figure
For the PID controller, the situati on is a bit more compl
Nyqui st curve begin s at- oo on the imagi nary axis, but
15.16{c), the "gain neutra l"
(-1.48,0) for Kc = 1. Note howev er
interse cts the real axis at two places: (-19.8,0) and
se the point (-1,0) is never encircled for
that the net numb er of encirclements is 0 becau
Kc=l.
Obser ve now that:
will still not cause the result ing
1. As Kc is increa sed beyon d 1, the amplification
and the process remains stable.
Nyqui st curve to encircle the point (-1,0),
ing curve shifts to the right, and the first
2. Howe ver, in decreasing Kc the result
encirc lemen t of (-1,0) will occur when:
1
Kc < 1.48 = 0.674
1
Kc < 19 . 8 = 0.051
(-1,0)
-2
(' ( -0.80,0)
I
~ lJ
-6
-2 2
(b)
Im
c:·
(-1,0)
-6
~
~
J
II
-4 -2
(c)
lm
Re
(-19.8,0) ...,....--
lm
\ "4
~ (-1,0)
1\e
(-1!8,0~
a 2
4
-4 -2 0 2 4
Figure 15.16. Nyquist plots of the three-tank system under (a) P control, (b) PI control
(-r1 = 20), (c) PID control (t1 = 0.75, To= 10).
CHAP 15 CONVENT IONAL FEEDBACK CONTROLLER DESIGN
549
2
I
I
I
I
I
I
~ 1
I
I
I
A
: K0 =0.674
G
--f~-·~1
I
N
A 0
R
y
A
X : K.,=0.674
I 1
s I
I
I
I
I
- 2:-lr---~--.----r---r~--~--~l~--r---,1
-0.6 -0.2 0 0.2
REAL AXIS
Figure 15.17. Root locus diagram for the three-tank system under PID control
(l/T1 = 1.33, TD = 10). Compare with Nyquist plot (Figure 15.16(c)) and
Bode plot (Figure 15.20).
Thus with the PID controller, the system is "conditionally stable," i.e., forK,< 0.051
and K, > 0.674 the system is stable, but in the range 0.051 < K, < 0.674, the system is
unstable.
The explanatio n for this type of behavior may be made more explicit by the Root
Locus diagram of Figure 15.17. There it is seen that a pair of closed-loop poles cross
into the RHP when K, = 0.051, but tum around and cross back into the LHP when
K,=0.674.
tO to•
to-• t~·
p 0 I
H
A ~ ''
I
~ -100
--------- --~
-----
~
.,......':'
-200
G
L
E -300 10 10•
to-• t0-1
FREQUENCY (RADIANS/l'IME)
; K, = 1.
e-tank process with P control
Fig ure 15.18. Open-loop Bode plo t for thre
CONTROLLER DESIGN 551
CHAP 15 CONVENTIONAL FEEDBACK
A
M
p 10"
L
I
T
u
D
~~.
- t-
;- I
1'---.
--------
I
E
to-• I
I
-........._
R I
I
A 1111
T lQ-10
""to-• ""
I 1111
""10 l.O'
I 10- 1
0
--~- .------r------,
p 0~-----,------.-
H
A
~ ~ "" :
~-:~+----+----1
-100
~ - 200-4----_-_--_-_-_-l----+--"-_--_.....
I
G :
\;
L ~~nrr~_,~m*~,Tn~
E -300~-rTTrnmr-rT~~
lQ-1 1 10 to•
to-• 10-•
FREQUENCY (RADIANS/riME)
ol;
for three -tank proc ess with PI contr
Figu re 15.19. Open -loop Bode plot
K, = 1, 1/ r1 = 0.05.
that the same proc edur e is appl ied in each
are show n in Figures 15.1 8- 15.20. Note
fi~ .
A
M
p 104
L
I
T
u
D
E
R
A
T to-• I
10 102
I to-• lo-• lo-1:
0 I
I
p -50 I
I
H I
A I
~ -100 I
~ {'\
I
I
I
~
G
L
-150
.,. ______
-----~':!"' ~j ; .. "'--- ""
E -200 "" "" "" 102
to-t 1 10
to-s to-•
FREQUENCY (RADIANSfl'IME)
rol;
for three -tank proc ess with PID cont
Figure 15.20. Open -loop Bode plot
K, =1, 1/ r1 =1.33, r 0 = 10.
552 SINGLE-LOOP CONTROL
A little thought will show that this is exactly the same procedure as followed for
Nyquist stability analysis and obviously the results are the same:
(a) For P control, the crossover frequency is w, = 0.5 and AR, = 0.60; thus the
closed-loop system is stable for K, < 1.667.
(b) For PI control, the crossover frequency is w, = 0.457 and AR, = 0.732 so that
the closed-loop system is stable for K, < 1.37.
(c) For PID control, note that there are two crossover frequencies, w,, =0.172,
w,, = 0.338, and two critical amplitude ratios AR,, = 19.8, AR,2 = 1.48, and
thus the Bode stability criterion does not apply. If one were to apply it in
this case, the system would be declared unst;;.ble for K, = 1 which is clearly
incorrect.
Now that we have stability criteria which we can apply to frequency domain
models, let us illustrate some stability margin tuning strategies that have
found widespread use in practice.
Consider the "gain neutral" Bode diagram shown in Figure 15.21 for open-loop
transfer function gL(s) (i.e., with K, = 1). Every "gain neutral" Bode diagram of
this type has the following important characteristics:
1. Two critical points, one on each plot: the phase plot has m,, the
frequency for which tfl = -180°, and the AR plot has the point where
AR=l.
AR
-180 ------------
Figure 15.21. Bode diagram for the open-loop transfer function, gL(s).
CHAP 15 CONVENTION AL FEEDBACK CONTROLLER DESIGN 553
According to the .Bode stability criterion, if AR, > 1 then the system is
unstable; conversely, the system is stable if AR., < 1. Furthermore, we observe
that an intuitively appealing measure of how nearly unstable a system is may
be defined as how far AR, is from the critical value of 1; or how far ~1 is from
-180°.
We therefore define a gain margin, GM, as:
1
GM=- (15.46)
ARc
and a phase margin, PM, as:
PM = ~~- (-180") (15.47)
2. From this plot, obtain the critical value of AR (i.e., AR,) at the
crossover frequency m, (see Figure 15.22}.
SINGLE-LOOP CONTROL
554
(1)-
•
(j)-
------------I
I
-18 0°
~
e diagram.
Fig ure 15.22. Controller tuning from a Bod
tion 15.5.2, the
re tha t as explained in Sec
Observe from her e therefo l ma ke K,u AR , = 1) is given by:
(which wil
ultimate controller gain K, 11
(15.48)
bility criterion,
, according to the Bode sta
The imm edi ate implication tab ility wh en K, = Kcu.
is now tha t the system wil
l be on the verge of ins
verge of instability
wh en the system is on the
3. It can be sho wn . tha t ual ly as an
out put will oscilla per pet
te
(wh en K, = K,u), the sys tem this oscillation,
uency m,. The per iod of
und am ped sin uso id wit h freq
P , is given by:
kno wn as the ultimate period 11
(15.49)
s determined, the
ultimate gain and per iod thu
4. With the values of the for diff ere nt controller types
rgi n settings
Ziegler-Nichols stability ma
le 15.1 in Section 15.3.3.
ma y be determined from Tab
knowledge of the
s which dep end only on a
Clearly, any oth er tun ing rule ll Alternatively, the re
per iod could be use d as we
ultimate gain and ultimate uency response; these
on oth er aspects of the freq
are tun ing rules tha t dep end
chapter.
will be discussed in a late r
G FRO M A
BILITY MA RG IN TU NIN
Exa mp le 15.9 ZIEGLER-NICHOLS STA
BODE PLOT.
8.
the Bode plo t of Figure 15.1
tem wit h P control hav ing
Con side r the thre e-ta nk sys con troL
settings for P, PI, PID
Determine the Ziegler-Nichols
n: h pro por tion al con trol .
tha t ru, = 0.5, K, 11 = 1.667 wit
Sol utio
Fro m Fig ure 15.18, we see hols PI, PID settings are as
P,
P =12.56 and the Ziegler-Nic
Thus the ulti mat e per iod is 11
given in Example 15.4.
ROLL ER DESIGN 555
CHAP 15 CONV ENTI ONAL FEEDBACK CONT
EL
15.6 CONTROLLER TUNING WITHOUT A MOD
le loops, it may not be necessary to
In many pract ical situations invol ving simp
in order to tune the controller. In
obtai n a mode l (fund amen tal or approximate)
s migh t preve nt the deve lopm ent of any
other cases, time or other limitation
one. Unde r these circumstances, it
form of mode l, even if there was the need for
e experiments, in conjunction with
is possi ble to use simple; unob trusiv e on-lin
in Table 15.1, to provi de good initial controller
tunin g rules such as those found
expe rime ntal appr oach es for
para mete r value s. Let us cons ider two
impl emen ting this strategy.
oop Stab ility
15.6.1 Experimental Dete rmin ation of Closed-L
Bou ndar ies
contr oller and expe rimen tally
This appr oach invol ves using a prop ortio nal
the close d-loo p syste m begin s to oscillate at
turni ng up the controller gain until
is an expe rimen tal deter mina tion of
cons tant ampl itude with perio d Pu· This
KCU' P" for a propo rtion al controller. guide lines such as the Ziegler-
With these value s deter mine d, the tunin g
Table 15.1) may then be used to
Nich ols stabi lity marg in rules (show n in
rapid ly respo nding loops (such as
confi gure a PI or PID controller. For simple,
this appro ach is easy and quick to impl emen t
local flow or temp eratu re loops),
d-loop response, this appro ach is
Obvi ously , for large processes with slow close
se one is bringing the entire process
much less convenient and may be unsafe becau
vior. Thus this appro ach must be used with
to the poin t of unsta ble beha
cauti on.
to Dete rmin e
15.6.2 11Auto Tun ing" with Relay Con troll er
Stab ility Boundaries
le relay controller may be used to
Astrom and Hagg lund [11] show how a simp
ate perio d from smal l ampl itude
deter mine the ultim ate gain and ultim as is foun d in the
le on-of f contr oller such
expe rimen ts.. The controller is a simp e 15.23 . The relay
home furnace. The syste m block diagram
is show n in Figur
have a smal l dead zone 6. It
contr oller has a speci fied ampl itude h and
may
very high gain prop ortio nal contr oller with
can be creat ed easil y by using a
exam ple of the resul ting close d-
cons train ed contr oller actio n - h S u S h. An
m and Hagg lund have show n that
loop respo nse is show n in Figure 15.24. Astro
perio d of the close d-loo p respo nse is the
to a very good appro xima tion, the
al contr oller gain is given by:
ultim ate perio d Pu' and the ultim ate propo rtion
(15.50)
(a)
Yd
set point -
(b)
h------~--._--~----~
Controller
output, u
0 ---4--------- --
-h~----~--~---+
-li 0
.
li
Error Signal, E
Figure 15.23. Feedback control with relay controller: (a) block diagram, (b) relay
controller with amplitude h and dead zone o.
verge of instability. Thus this approach is much more convenient and safer
than the first approach. The disadvantage is that we must have available (in
hardware or software) a relay controller with which to perform the tuning. In
industrial practice, some vendors provide auto tuning cards for electronic
controllers, while for distributed control systems, these relay controllers are
provided as software.
0.2
(a)
-0.1
-0.2+-~-r~~r-~--.-~-.--~..,
0 20 40 t 60 80 100
0.2
(b)
-0.2 +---.---.--..--.-~.-~--..--~-,
0 20 80 100
Figure 15.24. Closed-loop response with the relay controller: (a) e= y4 -y; (b) u.
CHAP 15 CONVENTIONAL FEEDBACK CONTROLLER DESIGN 557
Figure 15.24 illustrates the performan ce of this auto tuning approach
applied to the three-tank process. Here the relay controller is a high-gain
proportio nal controller (e.g., Kc = 100) with constraine d small amplitude
control action (e.g., h == 0.1). The closed-loop response of this relay controller to
an initial disturban ce leads to period Pu = 12.6, and the output amplitude is
A = 0.076. Thus the ultimate controller gain, calculated from Eq. (15.50), is
Kcu =1.67.
Semina [12] shows how these ideas can be applied for tuning unstable and
nonlinear processes.
15.7 SUMMARY
We have taken the first step in what is to be an extensive study of controller
design for chemical processes by undertaki ng in this chapter a rather
comprehe nsive treatment of the design of conventional, single-loop, feedback
controllers. We have introduce d the basic principles of single-loop feedback
controller design, identifying the main issues as: the controller type decision,
and choosing controller parameters (also known as controller tuning).
Various concepts, methods, criteria, and techniques typically used for
making rational decisions about what controller type to use, and what
parameters to choose for these controllers have been introduced.
The nature of a substantial number of industrial processes is such that they
can be adequatel y controlled by straightfo rward, conventio nal, single-loop,
feedback controller s. This chapter is therefore directly relevant for such
systems. However, important situations arise in which the conventional single-
loop feedback control scheme proves inadequat e. The remaining chapters in
Part IVA deal with the issue of controller design (for single-inp ut, single-
output systems) under circumsta nces in which more is required than the
conventional scheme can offer. The issue of controller design for multivariable
systems is discussed later, in Part IVB.
1. Considine, D. M., Process Instruments and Controls Handbook, McGraw-H ill, New
York (1974)
2. Smith, R. E. and W. H. Ray, CONSYD EX- An Erpert System for Computer-Aided
Control System Design (in press)
3. Ziegler, J. G. and N. B. Nichols, "Optimum Settings for Automatic Controllen;," Trans.
ASME,64, 759 (1942)
4. Rivera, D. E., M. Morari, and S. Skogestad, "Internal Model Control 4. PID
Controller Design," I&C Process Design Development, 25, 252 (1986)
5. Cohen, G. H. and G. A. Coon, "Theoretic al Considerat ions of Retarded Control,"
Trans. ASME, 75, 827 (1953)
6. Smith, C. A. and A. B. Corripio, Principles and Practia of Automatic Process Control, J.
Wiley, New York (1985) ·
7. Murrill, P. W., Automatic Control of Processes, Internation al Textbook Co., Scranton,
PA (1967)
8. Lopez, A. M., P. W. Murrill, and C. L Smith, "Controller Tuning Relationships Based
on Integral Performanc e Criteria," Instr. Tech., 14, 11, 57 (1967)
9. Rovira, Alberto H., PhD. Thesis, Louisiana State Univen;ity (1981)
558 SINGLE-LOOP CONTROL
d Cliffs, NJ
10. Morari, M. and E. Zafirou, Robust Process Control, Prentice-Hall, Englewoo
(1989)
s with
11. Astrom, K. J. and T. Hagglund , "Automa tic Tuning of Simple Regulator
Specifications on Phase and Amplitude Margins," Automntica, 20, 645 (1984)
,"
12. Semina, D., "Automa tic Tuning of PID Controllers for Unstable Processes
Proceedings ADCHEM '94, Kyoto, Japan (1994)
1. Apart from the design of the controller itself, what other considerations are important
in control systems design?
2. What are the most important points about sensors and transmitters?
4. What are the three most common control valve flow characteristics?
6. Apart from the control valve, what are some other final control elements?
action
7. Why is it necessary for a controller to be equipped with a direct/rev erse
selection feature?
18. What is the fundamental principle behind the use of stability margins for controller
design when process models are available?
19. Explain the philosophical difference between the models developed via the principles
of process identification discussed in Chapter 13, and the models constructed for the
sole purpose of feedback controller tuning.
20. For feedback controller tuning purposes, what is the most commonly employed
approximate process model form?
21. What is the process reaction curve, and how is it used for feedback controller tuning?
22. What is the Nyquist stability criterion, and how is it used for controller tuning?
23. What is the Bode stability criterion, and how is it used for controller tuning?
24. Within the context of controller design using frequency-response models, what is a
"gain margin" and how is it different from a "phase margin"?
25. What strategies are available for controller design without the use of a "formal"
model?
26. What is the fundamental principle underlying the "auto tuning" technique using
relays?
PROBLEMS
15.1 The dynamic behavior of a pilot scale absorption process has been approximated by
the transfer function model:
-0.025
y(s) = l.Ss + 1 u(s) (PIS.!)
where y is the deviation of 502 concentration from its nominal operating value of
100 ppm, measured at the absorber's outlet; and u is the absorber water flowrate, in
deviation from its nominal operating value of 250 gpm; time is in minutes.
(a) It is desired to design a PI controller for this process (assuming for now that the
dynamics of the sensor as well as those of the valve are negligible) by assigning the
dosed-loop system poles to the same location as the roots of the quadratic equation:
(P15.2)
Find the values of Kc and 1/ -r1 required to achieve this pole assignment, and identify
the location of the resultant closed-loop zero which this technique is unable to place
arbitrarily. [Hint: Pay attention to the sign which Kc must have for the controller's
action to be reasonable.]
(b) Implement this PI controller on the process and obtain a simulation of the closed-
loop response to a step change of -10 ppm in the set-point for the absorber's outlet
502 concentration. Use the g(s) given in Eq. (PlS.l) above for the process model.
(c) To investigate the effect of plant/model mismatch and unmode!ed dynamics on
control system performance, consider now that
1. the "true" process model has the same first-order structure, but with a gain of
-0.03, and a time constant of 1.0 min;
2. the unmodeled dynamics ignored in part (a) are given by:
560 SINGLE-LOOP CONTROL
Introduce this information into a control system simulation package, implement the
controller of part (a) on this as the "true" process, and compare the closed-loop
response to the same -10 ppm set-point change investigated in part (b). Comment
briefly on whether or not the difference in performance is significant enough to
warrant a redesign of the controller.
15.2 Revisit Problem 15.1. Reduce the K, value obtained in part (a) by a factor of 10, and
implement this new controller first on the process as indicated in part (b), and then
implement it on the process as modified in part (c). Compare these two closed-loop
responses.
By evaluating this set of responses in light of the corresponding set of closed-loop
responses obtained in Problem 15.1, comment briefly on what effect (if any) the use of
a smaller controller gain has on the control system's "sensitivity" to the effect of
plant/model mismatch and unmodeled dynamics.
15.3 A conventional controller is to be used in the scheme shown below in Figure P15.1
for controlling the exit temperature of the industrial heat exchanger first introduced
in Problem 14.2
Assuming that T 8, the brine temperature (in "C), remains constant, the transfer
function relations for the prooess have been previously given as:
(a) Use the provided model in a control system simulation package to obtain a
process re~~ction curve; use this process reaction curve to design a PI controller for
this prooess based on:
ChUled
Brine
Heat Excbanaer
Process
Feed
Stream Cbllled
Brine
Out
Figure Pl5.1.
CHAP 15 CONVENTION AL FEEDBACK CONTROLLER DESIGN 561
(b) Using each of the PI controllers designed in part (a) in turn, obtain the overall
closed-loop response of the heat exchanger system (using the actual transfer fl.Ulction
models given in Eq. (P14.3)) to:
In each case briefly evaluate the performance of each of the three PI controllers. If
you had to recommend one controller for use on the actual process, which one would
you recommend?
15.4 The process shown in Figure Pl5.2 consists of an insulated hollow pipe of uniform
cross-sectional area A m 2, and length L (m), through which liquid is flowing at a
constant velocity, v (m/s).
It is desired to maintain the temperature of the liquid stream flowing through the pipe
at some reference value, T,OC, and a control system is to be designed to achieve this
objective. A temperature controller (TC) has been set up to receive T, a temperature
measurement, and use this information to adjust the quantity of heat, Q (kW.hr)
supplied to the inlet stream by the electrical heater. The electric heater is so efficient
that the temperature at the pipe inlet T; responds instantaneously to changes in Q;
however, the only thermocouple available for temperature measurement has been
installed right at the pipe outlet (see diagram). Thus, if we define the following
deviation variables:
assuming the thermocouple has negligible dynamics, and that it is equipped with
built in calibration so that its output is identical to the measured temperatUre, in •c,
then the equations describing the behavior of this system are:
Figure P1S.2.
562 SINGLE-LOOP CONTROL
(c) Use the Ziegler-Nichols stability margin tuning rules to design a PID controller
for the system descnbed in part (b). Implement this controller and obtain the closed-
loop system response to a step change of +2oC in the fluid temperatur e set-point.
15.5 The liquid level in a drum boiler used in the utilities section of a research laboratory
complex is controlled by the feedwater flowrate as indicated in Figure P15.3. An
approximat e transfer function model representing this process is given by:
0.1(1 - 2s) (P15.6)
y(s) = s(Ss + 1) u(s)
where, in terms of deviation variabies, y is the drum level (in inches) and u is the
feedwater flowrate (in lb/hr), time is in minutes.
Steam
l I;! LC
I" ....,
~
• J
Feedwater
Heating
Figure P15.3.
It is known that there are no significant sensor dynamics, but that the valve
dynamics are represented by:
1.2 (PJ5.7)
g.(s) = (0.8s + 1)
15.6 For a pilot scale, binary {Ethanol/W ater) distillation column, the process reaction
curve, representin g the experiment ally recorded response of the overhead mole
· fraction of ethanol to a step change in the overhead reflux flowrate, has been
approximat ely modeled by the transfer function: ·
0.66e-2.6s
{P15.8)
g(s) = 6.1s + 1
(a) From an appropriat e Bode diagram for this process, obtain the parameters
necessary for designing a PI controller using the Ziegler-Nichols stability margin
tuning rules (fable 15.1).
(b) It has been suggested by Fuentes (1989),t that given a process reaction curve
represented by the transfer function:
it is, in fact, possible to use the Ziegler-Nichols stability margin tuning rules to
design a controller without having to obtain the required parameters from a Bode
diagram. The analytical procedure proceeds as follows:
For the given g(s), recall from Chapter 9 that the frequency-response
characteristics are given by:
K
AR (P15.10)
(P15.11)
for which no analytical, closed-form solution exists. However, Fuentes has shown
that under certain reasonable conditions, the solution is well approximated by the
expression:
(P15.13)
was found to be adequate. Here, y is the deviation if the MAP (in rnrn Hg) from the
average value observed prior to the administration of the drug; u is the
Nitroprusside infusion rate (in rnl/rnin); time is in minutes.
Since it could be fatal to deviate significantly from the prescribed value of the
MAP in either direction, it is desired to design a feedback control system which will
exhibit little or no oscillatory behavior.
(a) Assuming that this model is accurate enough, and assuming that no other
dynamics are involved in the "process," use the stability margin approach and the
Ziegler-Nichols tuning rules in Table 15.1 to design P, PI, and PID controllers for
this "process. n
(b) Evaluate all three controllers by obtaining a simulation of the closed-loop system
response to a demand for a -20 rnrn Hg step change in the dog's MAP. Plot both y and
u for each of the three controllers.
In light of the requirement stipulated above, are any of the three controllers
acceptable? If not, how would you modify the controller parameters to make them
acceptable? ·
564 SINGLE-LOOP CONTROL
15.8 The cardiac and blood vessel hemodynamics model developed for the cardiovascular
regulator by Grodins (1959),t includes the subsystem shown in Figure Pl5.4, which
may be used to study the effect of hemorrhaging (or the effect of the rate of blood
transfusion) on the human systemic arterial pressure.
Figure P15.4.
with:
R5 a linear Poisseuille resistance (arising from the hydraulic analog on
which the full-scale model is based)
CAs systemic arterial compliance
Cy5 systemic venal compliance
C5 (CAs+ Cv5 ); the total compliance
(Compliance is defined as a ratio of volume to pressure.)
(a) For the specific subject for whom the following parameters apply:
R5 = 0.0167 mm Hg, Cy5 = 500 cc/mm Hg, CAs= 500 cc/mm Hg (cf. Grodins 1959),
design a P controller that will adjust QH' now representing the blood transfusion rate,
using feedback measurements of PAS" Use the pole assignment method, in conjunction
with a desired closed-loop characteristic equation that is second order:
s2 + 0.9 s + I = 0
Will this controller leave a steady-state offset? Briefly justify your answer.
(b) Implement this controller on the "process" and obtain a simulation of the closed-
loop response to a step change of+ 15 mm Hg in the PAS set-point. Plot both the PAS
response as well as that of the blood transfusion rate, QH.
16
DESIGN OF MORE COMPLEX
CONTROL STRUCTUR ES
565
566 SINGLE LOOP CONTROL
Steam
supply
header
Consider the second example system shown in Figure 16.3, the familiar
stirred heating tank under conventional feedback control (as earlier shown in
Figure 14.1). As we recall, the objective is to regulate T, the temperature
within the tank, by adjusting the rate of steam flow through the coil.
According to the conventional scheme, any changes in T; must first be registered
as an upset in the value of T before the controller can take corrective action.
However, where the fluctuations in T; are frequent and substantial, it appears
as if an alternative scheme which will detect changes in the disturbance T; and
implement preventive control action before an upset is registered in T will be far
more effective.
The block diagram for the stirred heating tank control problem may also be
represented by Figure 16.2. However, in this case, disturbance d1 represents the
inlet temperature variations and d2 the disturbances related to the coil steam
flow rate.
These two examples are illustrative of processes with significant
disturbances. There are two common controller structures that are often used for
this type of problem: cascade control and feedforward control. Cascade control
is required when the significant disturbances affect the input; feedforward
control is required when the significant disturbances affect the output. ln the
next two sections we will discuss the design of these two types of control
structures.
Figure 16.2. Block diagram for a feedback control system with two disturbances.
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES 567
F,T
Figure 16.3. The stirred heating tank under conventional feedback control.
Primary
Controller
: Inner
! : (or secondary)
~-----------------------~ ~p
-------------------------------- -------------------------J
Outer
(or primary)
loop
One of the most crucial facts to emerge from the last section is that even though
we have a single-input, single-output (SISO) system, the control of the single-
output variable is achieved, under cascade control, with two control loops, not
one. In other words, the cascade control system is a multiloop, SISO control
system.
To analyze the overall behavior of the cascade control system, first we
need to consolidate the block diagram of Figure 16.5, by dealing first with the
inner loop.
As illustrated in Example 14.2, it is easy to see that the closed-loop
relationship for the inner-loop elements is:
u = (16.1)
or
(16.2)
where gt and g2,. are obtained directly from Eq. (16.1). The block diagram is
therefore consolidated as shown in Figure 16.6.
From here, the overall closed-loop transfer function representation is now
immediately obtained as:
l . . . - - - - - - - - - 1 ht 1 - - - - - - - - - '
Figure 16.6. Consolidated block diagram for the cascade control system.
570 SINGLE LOOP CONTROL
· loop. In this case the block diagramatic representati on is given in Figure 16.2,
for which the closed-loop transfer function representati on is easily obtained as:
ggv gel ggd2 d gdl d
y - y + + (16.4)
- 1 + ggv gel hi d 1 + ggv gel hi 2 1 + ggv gel hi 1
A careful comparison of Eqs. (16.3) and (16.4) now reveals the effects of
cascade control on the closed-loop performanc e of such systems:
It is useful to note that proportiona l controllers can be used for the inner loop of
a cascade controller because any offset in y can be corrected by using integral
action in the outer loop. ·
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES 571
The objective is for y(s) to equal its set-point value, Yd(s), at all times,
regardless of changes in d(s). This raises a design problem that translates
simply to:
Derive the u(s) required to make y(s) =yis) for all time.
FT
Yd
y
1 Ca(s) ]
u(s) =[ g(s) y d - g(s) d(s) (16.6)
or
(16.7)
the contro ller equat ion for the feedfo rward schem
e. Here g 51 (s) =1/g(s) is the
set-po int tracki ng contro ller and gg(s) =- ga(s)/ g(s)
is the distur bance rejection
contro ller. In block diagra matic form, what Eq.
(16.7) repres ents is shown in
Figure 16.8.
Some impor tant points to note from Eqs. (16.6)
and (16.7) about the
feedfo rward schem e are as follows:
(16.8)
while for the regula tor proble m (yd = 0), we have:
Design a feedforward controller for the stirred heating tank of Figure 16.7.
Solution:
The first task is to monitor the inlet temperature 'f;, so as to have a measurement of
the disturbance d. We recall from our numerous encounters with this process that its
transfer function model is of the form in Eq. (16.5) with:
g(s) = (J!__)
8s + I
(16.10a)
g (s) =
d
(-1-)
8s + 1
(16:10b)
where the parameters fJ and 8 have been previously given (see Chapters 4 and 14,
Eqs. (4.11) through (4.15)).
According to the design procedure given above, the equation for the feedforward
controller therefore is:
8s + I I
u(s) = --yj.s)--d (s) (16.11)
fj8 fJ8
Investigate the controller performance and the overall behavior of the stirred mixing
tank system in response to a step change of magnitude A in the set-point yd, while
under pure feedforward control as designed in Example 16.1.
Solution:
I
u(s) "' fJB (1 + B.s) yj.s) (16.12)
A A
u(s) = - +- (16.13)
fJ8s f3
574 SINGLE LOOP CONTROL
The overall system response is now obtained by using Eq. (16.13) for u(s) in the
process model:
{39
y(s) - - u(s); (16.14)
8s + I
immediately giving:
y(s) = _A_
9s + I
(ls + e)
which rearranges straightforwa rdly to give:
A
y(s) = -;
which, when inverted back to time, gives the result
y(t) = A (16.15)
The implication of this result is that the system output, y(t), tracks the desired set-
point perfectly. This should not come as a surprise; so long as the process model
matches the actual process behavior, it is easy to show, in general, that regardless of the
particular form of yd• this feedforward scheme always gives the result that y = yd for
all time; recall that the controller was designed specifically with this condition as the
basis.
Of course, more realistically, the process model will typically not match the
process behavior exactly and such perfect set-point tracking will no longer be possible
and steady-state offsets will be inevitable.
According to Eq. (16.11) the feedforward controller equation for disturbance rejection
is simply:
1
u(s) = - fJB d(s) (16.16)
1 (16.17)
u(t) = - fJB d(t)
Recalling from Chapter 4 the physical quantities that f3 and 8 represent; Eq. (16.17)
becomes:
FpCP
u(t) .:1. d(t) (16.18)
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCI'URES 575
Let us now consider the situation in which d(t) increases from its initial value of 0
to a new value 8 (i.e., Ti increases from Tis to Tis + 8); the controller in Eq. (1~.18)
recommends that the steam flowrate be reduced by the factor (FpC/ A.)8. Now, since
the quantity of heat carried by steam at flowrate Q is AQ (recall that .il represents the
latent heat of vaporization), then the indicated control action calls for the energy input
to the process to be reduced by the factor FpCP8.
Observe now that since F is the volumetric flowrate of the inlet stream, FpC 8 is
precisely that amount of additional energy brought into the system as a result of the
increase in T;. The result, therefore, is an exact counterbalancing of the disturbance
effect by the prescribed control action. This leaves the tank temperature entirely
unaffected by whatever fluctuations the inlet stream temperature Ti may experience, a
situation of perfect disturbance rejection.
Practical Considerations
As attractive as pure feedforward control may appear to be, it suffers from some
significant drawbacks:
S. Even in the unrealistic event that a perfect process model exists, the
derived feedforward controller transfer functions- both g,1 and Ku-
involve the reciprocal of .the process transfer function g, and may
therefore present any of the following problems:
(a) They may be too complicated to be realizable in time.
(b) If g has a time delay element, e-as, then its reciprocal will contain
the term eas, implying that implementing Kst in real time will require a
prediction.
(c) If both g and gd have time-delay elements, and the time delay
associated with g 4 is less than that associated with g, then gff will
e"
contain a term in where r > 0; again, as in (b), prediction is required
to implement such a controller in real time.
Under the conditions specified in (b) and (c), the controllers are said to
be physically unrealizable since, at time t, each of these controllers
will require knowledge of the value that yd(t), or d(t) will take at some
time in the future; in (b) Yd(t + a) is required, in (c), d(t + il is required.
It is, of course, impossible to predict these quantities exactly.
and
K -{Js
de TS+ I
gjs)"' -~ Ke-as (16.19)
d
(16.20)
which is a lead/lag unit with a time delay. In the event that a and f3 are
approximatel y equal Eq. (16.20) is a pure lead/lag element.
This offers an objective justification for the effectiveness of lead/lag units
in the implementati on of feedforward control schemes even in situations when
the dynamic behavior of the processes in question are poorly modeled.
As noted in Chapter 5, lead/lag units are commercially available as analog
units; they can also be implemented on the digital computer. As indicated in
Eq. (16.20), by adjusting the values for the gain term, as well as the lead and
lag time constants on the equipment, it is possible to obtain acceptable
approximatio ns to the exact feedforward controller derived in Eq. (16.6).
Figure 16.9. Block diagram for the feedforwar d/feedback control scheme.
578 SINGLE LOOP CONTROL
h ~----------~
The closed-loop transfer functions are easily obtained from Figure 16.10 as:
(16.21)
(16.22)
(see the expressions in Eqs. (16.6) and (16.7) given earlier) then the effect of d on
y is theoretically eliminated.
Observe carefully that this has nothing to do with gff. The implication
is that the stability of the feedback loop remains unaltered by
including feedforward compensation. This is a very significant point in
favor of the feedforward control scheme; in terms of closed-loop
stability, we have nothing to lose by applying it
F
Water
Ratio
Station
(a) (b)
Figure 16.12. The salt solution mixing tank under ratio controL
The actual, current ratio of the flowstreams is the information obtained from
the process and passed on to the controller; the controller will now have to use
this informati on to calculate, and implemen t, the change needed in the salt
concentrate flowrate to attain to the desired ratio.
Under the strategy indicated in Figure 16.2(b) on the other hand,
In this case there is a flow controller that directly regulates the flowrate of the
salt concentrate stream; the information it receives from the ratio station is its
set-point.
Regardles s of the particular applicatio n, configura tion (b) is usually
preferable; for one thing, it is easier to design, and more intuitively appealing;
for another, it can be shown that some nonlinear ities are involved with
configuration (a) which are absent in configuration (b).
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES
581
r'.ng controL
Figure 16.15. Crude oil preheater fumace with override and auctionee
send it to a
experience, we use one of these tube temperature measurements and
High Selector (HS) switch. When the measur ed
tempera ture controller and
tempera ture exceeds a preset critical value, the HS switche s from the
tube
adjusted to
"norma l" loop to the "abnormal" loop in which the fuel flowrate is
tempera ture at a preset safe maximu m. When the "norma l"
control tube skin
n the maximu m tube
loop again calls for less fuel than require d to maintai
will switch back to the "norma l" loop. In this
surface temperature, the selector
the crude oil exit tempera ture from the furnace will be maintai ned at its
way
d. During
set-poin t except when the tube surface tempera ture is exceede
n, the crude oil exit tempera ture will be somewh at below
"abnorm al" operatio
n of the
its set-poin t, but as close as possible while ensurin g safe operatio
furnace.
16.2.2 Auctio neerin g Contro l
This is
A second type of selective control is so-called "auctioneering" controL
variable to be used may
where there is a fixed control loop, but the output
ed by the furnace example of the previou s section.
change. This may be illustrat
ed at
Recall from Figure 16.14 that the tube surface tempera ture was measur
"abnorm al" loop we are interest ed in the
several locations. Obviously for the
the highest tube surface tempera ture. Thus, we can add a HS
location with
measur ed in regulati ng the
switch to choose the largest tempera ture of those
ensures that the highest measur ed tempera ture
tube surface temperature. This
has been
is maintai ned at a safe level. This auction eering control scheme
added to the override controller and shown in Figure 16.15.
spot
Other applications of auctioneering control include controlling the hot
measur ement location s, and
tempera ture of packed bed reactors with multipl e
area for tempera ture sensitiv e materia ls to ensure
the refrigeration of a storage
ture.
that all parts of the cooler are below a material degrada tion tempera
(b)
5;-.C::::......_ _ _
Ja_cket_I_ni_•t_'l'_em_p_ __,laO"C
open open
Cooling water Steam valve
valve position position
Figure 16.16. A nonisothermal batch reactor under split-range control; (a) controller
configuration; (b) split-range schedule.
CONTROLLER SCHEDULE
Deviation from Set-point ("0 Controllers Active
FT
Actuator
E I
Feedback I
Error I
16.5 SUMMARY
In this chapter we have introduced some special types of control systems that
are required for those situations in which the performance of the conventional
feedback controller, by itself, will be inadequate. We have shown that when
the process input variable is itself subject to disturbances, the cascade control
scheme is recommended. An inner control loop, which is tuned to respond faster
than the main outer control loop, is used to contain the influence of the external
disturbance on the process input variable.
When the disturbances that directly affect the process output are
significant and occur frequently, the feedforward control scheme is able to
detect such disturbances and compensate for them before they affect the process
output. The design of ideal feedforward controllers and how lead/lag units are
useful in the practical implementation of the feedforward control scheme have
been discussed. Since perfect disturbance rejection by feedforward control is not
possible in practice, it is usual to augment this with the addition of "feedback
trim." The issues involved in such feedforward/feedback control schemes have
been analyzed.
The concept of ratio control was introduced, and the various alternative
configurations for this special form of the feedforward controller illustrated.
We have also discussed the application of selective control schemes such as
override and auctioneering control when there are several output variables
controlled by a single input. Conversely, we also discussed the design of split
range controllers and scheduled controllers where several manipulated
variables are used to control a single output. These control schemes have been
illustrated by practical examples.
Finally the concept of reset windup was introduced, and a popular scheme
for preventing it was presented.
1. Shinskey, F. G., Process Control Systems (2nd ed.), McGraw-Hill, New York (1979)
2. Hanus, R., M. Kinnaert, and L. Henrotte, "Conditioning Technique: A General Anti-
windup and Bumpless Transfer Method," Automatica, 23, 729, (1987)
3. Astrom, K. J. and B. Wittenmark, Computer-Controlled Systems (2nd ed.), Prentice-Hall,
Englewood Cliffs, NJ (1990)
REVIEW QUESTIONS
1. What control strategy is needed for improved performance when the input of a process
is affected by significant disturbances?
4. What are the essential requirements for the successful implementation of cascade
control?
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES 587
5. What is the main purpose of the secondary loop in a cascade control structure?
6. Of the two loops in a standard cascade control structure- the inner (secondary) loop,
and the outer (primary) loop- which needs to be faster, and why?
7. What is the typical controller tuning procedure for a cascade control system?
11. Is feedforward control possible if the disturbance affecting the process output is not
measurable?
13. Why are lead/lag units useful for implementing feedforward controllers?
14. What properties of feedforward control and of conventional feedback control make
them mutually complementary?
15. Why is it that ratio control can be considered 11 special form of feedforward control?
16. To what aspect of the process does the term "wild stream" refer in process flow
applications of ratio control?
17. Under what conditions will a process require the use of selective control structures?
18. When is override control the appropriate selective control structure to use?
19. What is auctioneering control and when is it the appropriate selective control
structure to use?
PROBLEMS
16.1 (a) Figure P16.1(a) shows a feedback control scheme for a blending process that is
subject to significant disturbances. It is desired to augment this scheme with
feedforward control. Of the four potential locations for the feedforward
measurement indicated in the diagram, A, B, C, or D, which would be the best? (The
8 values noted in the diagram correspond to the average residence time in the
indicated hollow pipes.) Justify your answer briefly.
(b) Figure 16.1(b) shows a schematic diagram for a heat exchanger exit temperature
control problem. The exit temperature of the process stream is influenced by the
steam flowrate into the heat exchanger shell, and by the erratically varying inlet
temperature of the process stream. The steam flowrate itself is also subject to erratic
fluctuations induced by unsteady, unpredictable, and unmeasured steam supply
pressure.
588 SINGLE LOOP CONTROL
Composition
Analyzer
A
I
Figure P16.1(a).
For each case, draw a process diagram similar to that given in Figure P16.1(b),
showing clearly the connections between each of the controllers in question and the
sensor /transmitter from which it gets its information.
steam
Process
Stream
CondeDI&te
y
Figure P16.1(b).
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES 589
16.2 In an industrial polymer process, the weight average molecular weight of the product
is controlled by manipulating the chain transfer agent flowrate. However, a certain
impurity that enters the process via the solvent stream also acts as a chain transfer
agent. Since the impurity concentration in the solvent stream (available via on-line
chromatograph ic analysis) varies unpredictably, the process has proven very
difficult to control by the usual feedback control technique.
The following is an approximate model available for the reactor:
-550.0 -4.5
y(s) = II.Os + I u(s) + (5.0s + 1)(25.0s + l)d(s) (P16.1)
is to be used on the process, and that in reality, the "true" process gain is actually
-{)00.0, and that the disturbance gain is - 4.0, but the time constants were correctly
estimated in Eq. (P16.1), implement this feedback controller alone on the "true"
process, and obtain the closed-loop response to a step change of 20 ppm in the
impurities concentration. Plot this response.
(c) For the "true" process as given in part (b), implement the feedforward controller
designed in part (a); obtain and plot the control system response to the same step
change of 20 ppm in the impurities concentration. Comment on the performance of
this control scheme. What effect, if any, does the modeling error have on the
performance?
(d) Now implement both the feedback controller of part (b) and the feedforward
controller of (a) on the process; obtain the overall system response to the same step
change of 20 ppm in the impurities concentration. Compare this response with the
ones obtained in parts (c) and (d), and with reference to this specific example, briefly
comment on the strengths and weaknesses of each control of the schemes
investigated: feedback alone, feedforward alone, and feedforward I feedback.
2 0 -ISs
I. (T- T*) = _e_ _ (F- F*) (P16.2)
30s + I
and
5 -2s
2. (T- T*) = 6s e+ I (R- R*) (Pl6.3)
590 SINGLE LOOP CONTROL
stating explicitly what the variables y, u, and d represent in terms of the original
process variables, and clearly identifying g(s) and gis).
rd
(b) Assuming that the specified process model is accurate, design a feedforwa
controller to achieve "perfect" feed disturbance rejection by giving an explicit
expression that indicates how the reflux flowrate is made to change with observed
a
variations in the feedrate. Is this feedforward controller realizable? Provide
physical interpretation for why, or why not
(c) For the situation in which the process is operating under the indicated
feedforward control strategy, obtain an expression for the reflux rate response
to
the step change of2 Mlb/hr introduced in part (a). Plot the response.
as y in
16.4 The bottoms temperature of a distillation colUIIU\, in °C (represented
deviation variables) is controlled by manipulating the steam flowrate to the
reboiler, in lb/hr (represented as u1 in deviation variables). This purely feedback
Steam
Steam
supply
header
(Pl6.4)
However, the steam flowrate itself depends on the percent valve opening
(represented as u2 in deviation variables), and the steam supply pressure, in psi
(represented as d1 in deviation variables) which is known to fluctuate in an
unpredictable, but measurable, fashion. These process variables are related
according the following approximate model:
(Pl6.5)
(a) As discussed in the main text, cascade control is a popular strategy for dealing
with the control problems created by such steam pressure fluctuations. Draw a
block diagram for this process under such a cascade control strategy; include all the
given transfer functions (and the controllers}, and label all the signals.
(b) Because the steam supply pressure is measured, it is also possible to configure
this process for feedforward/feedback control instead of cascade control.
Reconfigure the process for this new control structure, draw a block diagram
showing this new configuration, and obtain an expression for the feedforward
controller to be implemented. Briefly comment on which scheme (the cascade scheme
in part (a), or the feedforward/feedback scheme) you think will be more effective
and why. Under what condition will you choose one over the other?
16.5 Figure P16.4(a) shows the control scheme for controlling the effluent temperature of
a CSTR in which art endothermic reaction is taking place. Because the temperature
controller manipulates the preheater feed valve directly, the significant variations in
T;, the temperature of the reactant feed to the .preheater, adversely affect the
performance of this temperature control scheme.
In modifying this scheme for cascade control, the following block diagram shown in
Figure P16.4(b) was obtained.
(a) In terms of the physical system variables, state carefully what the following
quantities in the block diagram represent y, Yd• Kct• upI' Ka•Kv• g2, d1, Kdt• u, and g.
(b) Obtain the closed-loop transfer function relation between y and yd• and between
y and dr What is the closed-loop characteristic equation?
Reactant
T
1---11---H---{ TT
Figure Pl6.4~a).
592 SINGLE LOOP CONTROL
Figure P16.4(b).
(c) Given that both g,1 and g,2 are proportional controllers with gains Kcl and K,2
respectively, and that:
2e-4s
g(s)
3s + I
_bL
g2(s)gv(s)
2s + I
e-2s
gdl(s) = 0.2s +
for K,2 = 2, find the Kcl range over which the cascade system is stable. Use a first-
order Pade approximation for the time delay involved.
(d) Consider the simpler case in which the reactor effluent temperature controller
communicates directly with the preheater valve (as in Figure Pl6.4(a)). Redraw the
process block diagram, and for the same process information as in part (c) (except
that now there is no longer a second controller), find the Kc1 range over which the
simpler system is stable. Compare your result with that obtained in part (c).
16.6 The objective in the water heating tank process shown in Figure P16.5 is to maintain
the outlet temperature at some desired set-point Td by adjusting q, the quantity of
heat sent to the tank via steam heating. The steam delivery pressure is P, and it
experiences variations over which we have no control, but which affect q. ·
The following deviation variables are given:
Figure P16.5.
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTUR ES
593
The relevant transfer functions for the components of this dosed-loop system are
also given as follows: g 1(s), process;g41 (s), disturbance (inlet stream temperature);
h(s), thermocouple; g,(s), feedback controller; Kv(s), control valve;g (s), disturbance
42
(steam pressure).
(a) Develop a block diagram for the closed-loop system showing all the components,
and obtain the closed-loop transfer function equation.
(b) For the specific situation in which the following transfer functions are given:
_Q_,L _1_
g,(s) 841(s)
5s + I 3s + I
2 __Q,j_L
g"(s) 8dz(s)
0.5s + ISs+ I
I
h(s)
0.2s +
under PI control with r1 = 0.2, find the range of K, values ior which the system
remains stable.
(c) If a cascade control strategy is to be employed, how should the second oontrol
loop be configured (i.e., what will it manipulate, and what measureme nt will it
accept)? Draw the block diagram for the process under this strategy. If the new
controller is specified as a proportion al controller with gain K, =5.0, with the
2
primary controller as given in part (b), find the range of K, values for which the
cascade control system will be stable.
16.8 The primary control objective for a certain industrial polymer reactor is to control
the polymer product melt viscosity; and two input variables, the reactor temperature,
and the mole fraction of the chain transfer agent in the reactor, are available for this
purpose. However, because the latter affects the melt viscosity on a much slower
timescale than the former, reactor temperatur e is used as the primary control
variable when close to steady-state operating conditions. An approximate model for
this aspect of the process under such conditions is given by:
3.5 ) (
y(s) = ( 5.0s + 0.5
I u,(s) + 20.0s )
+ I d,(s) (Pl6.6)
-1.5
ul(s) "' ( 3.0s + l ) Uz(s) + ( 0.5s
0.3 ) (PI6.7)
+ l d2(s)
594 SINGLE WOP CONTROL
Jacket
Cooliug--D!<J--<IH
Water
Figure P16.6(a).
2.3 ) (P16.8)
u,_(s) = ( 0.02s + I "J(S) + I.S ~(s)
where, in terms of deviation variables, "3 is the dimensionless jacket cooling percent
valve opening, and d3 is the cooling water supply pressure, in psi.
All the foregoing information notwithstanding, the conventional feedback control
scheme indicated in Figure Pl6.6(a) is used; the viscosity controller has the yet
unspecified transfer function, Kc(s).
(a) Draw a block diagram for this process under this control strategy, taking care to
label each essential element.
(b) Obtain a closed-loop transfer function expression, and use the Ziegler-Nichols
stability margin tuning rules to design a PI controller for this process. Implement this
controller and obtain the closed-loop system response to simultaneous step changes
of +3°C in the cooling water supply temperature, and +2 psi in the supply pressure.
Plot this response.
Figure P16.6(b).
CHAP 16 DESIGN OF MORE COMPLEX CONTROL STRUCTURES 595
(c) The cascade control scheme indicated in Figure Pl6.6(b) calls for a temperature
controller to be interposed between the viscosity controller and the jacket cooling
water valve. Redraw the block diagram for the modified process. Given that the
temperature controller is a proportional controller with a gain of -4.0, and
retaining the viscosity controller designed in part (b), obtain the response of this
new closed-loop system to the same input disturbances investigated in part (b). Plot
this response and compare it to that obtained in part (b).
16.9 This problem illustrates the physical interpretation, analysis, and design of
multilayered cascade control loop systems.
Revisit the polymer process in Problem 16.8, and consider the introduction of yet
another cascade control loop, as indicated in Figure P16.7; here a flow controller is
now interposed between the temperature controller and the jacket cooling water
valve.
(a) Redraw the block diagram for the modified process, and obtain a closed-loop
transfer function expression.
(b) Given that the third controller is also a proportional controller, this time with
gain 0.5, and retaining the two controllers as previously specified, obtain the
response of this double cascaded control system to the same input disturbances
investigated in Problem 16.8 parts (b) and (c). Plot this response and compare it to
those obtained in Problem 16.8.
(c) In retrospect, by revisiting the description of the process given in Problem 16.8,
explain on purely physical grounds why the single cascade system will be better
than the pure feedback control system, and why the double cascaded system will be
even better, whenever the cooling water supply temperature and pressure variations
are significant.
Chain Transfer
Agent
Monomer
Jacket
Cooline--f::>!< 1----flrt+
Water
Figure P16.7.
SINGLE LOOP CONTROL
596
Produc tion
Production Rate
Rate Estima tor
Controller
Figur e P16.8.
use of a Vanadium catalyst and an alumi num
16.10 A polymerization process requires the
cocatalyst in a fixed ratio. Howe ver, the catalyst flowrate is used to control the
tly as shown in Figure P16.8.
produ ction rate and therefore varies independen
itters are availa ble for measu ring the catalyst and cocat alyst
Two flow transm
you would go about desig ning a ratio control
flowrates. Briefly describe how
ss diagr am is Figure P16.8 to show your
scheme for this process. Modify the proce
ratio control schem e.
Figur e P16.9.
16.12 An opportunity for investigating the "parallel" control structure arises with the
following temperature control problem for an exothermic reactor subject to feed
temperature disturbances.
The reactor is traditionally cooled by jacket cooling water, and an approximate
mathematical model for the process (in the vicinity of the normal operating
conditions) has been obtained as:
-4.0e-O.ls 1.5e-o.b
y(s) = 15.0s + I "•(s) + 2.5s + I d(s) (P16.9)
withy as the reactor temperature (0 F), u1 as the jacket cooling water flowrate (gpm{,
d as the reactant feed temperature (0 F), all in terms of deviation variables. The e-o. 5
is the approximate dynamics introduced by the temperature sensor.
In order to increase the cooling capacity, a condenser was installed as shown in
Figure P16.10, with the objective of using condenser cooling water flowrate as an
~Condenser
Cooling
Water
Feed
@
Jacket
--~--'-+-----f)!<]--- Cooling
Water
Product
Figure P16.10.
'..'~
. -.
-0.5e-O.Is
y(s) = 2s + 1 ~(s) (Pl6.10)
(a) Assuming negligible valve dynamics, design a PI controller for the traditional
process (i.e., with jacket cooling water to control reactor temperature) using the
Ziegler-Nichols approximate model tuning rules (Table 15.2). Implement this
controller and obtain the closed-loop response to a +1op change in the feed
temperature.
(b) Repeat part (a) for the situation in which the condenser cooling water alone is
used to control the reactor temperature.
(c) Now consider the situation in which both the condenser and the jacket cooling
water flows are to be used simultaneously in a parallel control arrangement. Let the
"primary" controller, TCl, with a transfer function Kc1(s), manipulate the jacket
cooling water valve, and the "secondary" controller, TC2, with a transfer function
ga(s), manipulate the condenser cooling water valve.
Let TCl be the PI controller obtained in. part (a), while TC2 is a proportional
controller obtained by dropping the integral portion of the PI controller of part (b).
Implement this parallel control scheme, feeding the same feedback error to both
controllers; obtain the closed-loop response to the same input disturbance
investigated in parts (a) and (b). Plot they response as well as both the u1 and~
responses. Briefly comment on the nature of the observed control action.
CHAJP1rJER
17
CONTROLLER DESIGN FOR
PROCESSES WITH DIFFICULT
DYNAMICS
The open-loop dynamic behavior of certain processes are so different from what
one normally observes for most other processes that they pose special controller
design problems. If we cast our minds back to our studies of the dynamic
behavior of various processes in Part II, we will recall that processes with
inverse response, as well as those with time delays, exhibit dynamic behavior
that is qualitatively different from what we would expect of "normal"
dynamic systems. Also in this class are processes that show open-loop
instability.
As we might expect, the control problems created by these processes can be
quite difficult. As a result, controller design strategies that will produce
effective controllers for such processes must necessarily take into consideration
the unusual open-loop dynamic behavior they exhibit. This chapter is thus
concerned with controller design for processes having these difficult types of
dynamics: time delays, inverse response, and open-loop instability.
t +
.
yt--~;......>-:--'-7~--- y
0~-----------------
Time-
Positive Nel!"tive
Steady State Steady State
Gain Gain
Time .....
(a) (b)
Figure 17.1. Step responses for processes with "normal" open-loop dynamics.
Processes that exhibit "normal" behavior do not have any of these terms in
their transfer function models.
As we recall from Chapter 8, when the response of a process is as depicted
in Figure 17.2(a), i.e., it exhibits an initial, distinct period of no response, we
have a time-delay (or dead-time) process.
A process with time delay thus violates the first c~ndition noted above for
normal dynamic behavior: it does not respond instantaneously to input changes.
Unfortunately, a substantial number of chemical processes exhibit time-delay
(or time-delay-like) behavior.
Figure 17.2.
tctclL Time._
(a)
Time._
(b)
Time._
(c)
Step responses for processes with difficult dynamics: (a) time delay,
(b) inverse response, (c) open-loop unstable.
CHAP 17 CONTROUERS FOR PROCESSES WITH DIFFICULT DYNAMICS 601
A process with inverse response violates the second condition for normal
dynamic behavior in that, even though its step response eventually ends up
heading in the direction of the new steady state, it starts out initially heading
in the opposite direction, away from the new steady state, changing direction
somewhere during the course of time. Such a response is depicted in Figure
17.2(b). Examples of physical processes that exhibit this unusual dynamic
behavior were given in Chapter 7.
As we saw in Chapter 11, a process for which the step response is
unbounded, i.e., the output increases (or decreases) indefinitely with time, as
depicted in Figure 17.2(c) (or, also as in Figure ll.l(b)), is said to be open-loop
unstable for obvious reasons. An open-loop unstable process thus violates the
third condition noted above; its output fails to settle to a new steady-state
value in response to a step change in the input. The most well-known chemical
processes that exhibits open-loop instability is the exothermic CSTR.
Before we analyze these three classes of processes in more mathematical
detail, it is useful to consider physical reasons why they would cause difficulty
for a conventional feedback controller:
(17.3)
and
cess:
as the open-loop unstable pro
. has identical AR beh avi or
(17.5)
m phase.
le process is also non min imu
so tha t the open-loop unstab by Bo de [1], it wa s act ual ly the RH P pole
ally pre sen ted
In fact, as ori gin - and not the sys tem s in
- and , of course, the time delay m
and the RH P zero erred to as the non min imu
the y app ear , tha t we re ref
wh ose tran sfe r functions any non mi nim um pha se
wh ich therefore contains
pha se elements. A sys tem a NMP system.
pol e, a RH P zero, or a time delay, is
ele me nt, be it a RH P to focus atte ntio n on in
systems we have decided
Observe therefore tha t the tain non mi nim um pha se
pte r sha re a com mo n feature: the y all con
thi s cha
DIFFICULT DYNA MICS 603
CHAP 17 CONT ROUE RS FOR PROCESSES WITH
ss system's transfer function
elements. The presence of NMP elements in a proce
ult" dynam ic behavior; it is
is thus identified as being responsible for its "diffic
amou nt of difficu lty in control systems design.
also the source of a considerable
ics is prese nted in
Anoth er aspect of processes with "difficult" dynam
which arise when, in order to
Chapt er 19; there we show the serious problems
contro ller must conta in an invers e of the process
achieve high performance, the
mode l
l problems presented by
Let us now consider in more detail the special contro
ller desig n techn iques available for handl ing
these systems, and the contro
them.
where g•(s) has "normal " dynamics. Under conventional feedback control as
shown in Figure 17.3, the closed-loop system has the characteristic equation:
As discussed above, the increased phase lag of the delay term requires, for
closed-loop stability, a reduction in the allowable value of the controller gain.
The closed-loop system will therefore have to be more sluggish than the
correspo nding system without delay. Therefore even though conventi onal
controllers can be used for time-delay systems, we usually have to sacrifice
speed of response in order to have closed-loop stability.
Classical Techniques
y
The techniques for designing conventional feedback controllers for time-dela
what we have already discusse d in Chapter 15.
systems are no different from
rs
As evidence d by the performance of the conventional feedback controlle
designed in Chapter 15 for the example time-dela y system:
6e-3' (17.9)
g(s) = 15s + 1
(see Figures 15.11-15.12) acceptable results can be obtained using these classical
techniqu es provided the time delay is not too large. In this case, closed-loop
stability, and acceptable overall closed-loop performance can be obtained
without sacrificing too much of the speed of response.
The major problem with conventional feedback controller design for time-
delay systems lies in the fact that for systems with large time delays,
consider ably smaller controller gains are recomm ended yielding sluggish
response. Under these circumstances, it is customary to employ a scheme that
explicitly takes the presence of the time delay into consideration and actively
compensates for it. Such an approach is referred to, in general, as time-dela
y
compensation.
g*(s)e-as .. y
Figure 17.3. Block diagram of a time-delay system under conventional feedback control.
CHAP 17 CONTROLLERS FOR PROCESSES WITH DIFFICULT DYNAMICS 605
u(s)
1------..-•Y.
represents the model of the real process. Let us define new variables y*(s),
Ym *(s) as follows:
y*(s) = g*(s) u(s) (17.11)
then y*(s) is the output of the "undelayed" version of the process output y(s).
Let us proceed to analyze the time-delay compensator assuming for the
moment that there are no model errors (so that gm(s) =g(s) and am= a). Observe
that the signal reaching the controller, designated as ec in the diagram, is a
"corrected" error signal given by:
or
(17.14)
1 + gc8*(s) = 0 (17.15)
which no longer contains the time-delay element and therefore allows the use
of higher controller gains without placing the closed-loop stability in
jeopardy.
y*
Figure 17.5. Equivalent block diagram for system incorporating the Smith predictor.
'l
SINGLE-LOOP CO NTR OL
606
p of Figure 17.4
Smith [3, 4], and the minor loo
This control scheme is due to son s tha t wil l be exp lain ed
era lly kno wn as the Sm ith predictor for rea
is gen
sho rtly . 17.4 tha t the
the block dia gra m in Figure
Let us establish directly from in Eq. (17. 15). Aga in, ass um ing
ation is really as
closed-loop characteristic equ or loo p aro und the
rs, we can consolidate the min
tha t the re are no model erro bet wee n £ and u as:
-function relationship
controller to obtain the transfer
(17. 16)
so that:
1 + g*g , (17.20)
-:: :-:
-- -" --g*g
1 + g*(s) e-asg,* = --
1+ g* g,- , e-rn
observe that:
2. By the definition in Eqs. (17.11) and (17.12), we may
y*(s) = ea-; y(s)
so that:
y*(t) = y(t + a) (17.22)
y(t) exactly a
and it becomes perfectly clear that y"(t) is a prediction of
the name "Smit h predic tor" genera lly
time units ahead , hence
associated with the schem e.
proces s model is
3. The schem e will work perfec tly as long as the
perfectly known; modeling errors will obviously affect its performance.
The most significant criticism of the Smith predic tor techni que is its
sensitivity to model ing errors.
lJesign Procedure
predic tor for time-
The following is the design proced ure for using the Smith
delay compensation:
where (17.24)
e, = e- (y* - y)
by which y*
The design of the minor loop involves setting up a means
from the proces s model , typica lly by simula tion,
and y are produ ced
the proces s model ,
using a digital computer; y is obtained directly from
yed versio n of the proces s model .
and y* is obtained from the undela
608 SINGLE-LOOP CONTROL
2. Design g,
Since, according to the Smith predictor scheme, the controller "thinks"
it is controlling the process g•(s) for which there is no time delay (see
Figure 17.5}, we now design the controller on this basis, using any of the
previously discussed techniques; i.e., design Kc for the undelayed
version of the time-delay system. Observe that the absence of the time
delay from the apparent process permits the use of much higher
controller gains than would otherwise be allowable. However, since,
for perfect delay compensation, the Smith predictor requires a perfect
model, and real models are never perfect, we must be cautious in
choosing the controller parameters for g,. In practice, one would choose
controller parameters large enough to achieve much better performance
than feedback control alone, but not so large as to cause serious
deterioration in performance resulting from inevitable plant/model
mismatch.
s _ (1- 3s)
g() - (2s + l)(Ss + 1) (17.25)
Without the RHP zero in the numerator, the transfer function will be second
order, and from our results in Chapter 9, we know that the phase angle will
asymptotically approach a limiting value of -180° - implying that the
closed-loop system will always be stable, since, theoretically, the phase angle
only attains the critical value of -180° at infinite frequency. '
With the RHP zero present, observe from Figure 9.16 that the limiting
value for the phase angle has been altered to -2700 and as such, there is now a
finite (crossover} frequency at which ~ = -180°, and hence there is a limiting
value of K, above which the system will be unstable.
Typically, inverse-response systems are controlled either using
conventional PID control or an inverse-response compensator, similar in nature
to the time-delay compensator discussed in the previous section. Let us look at
the details of these controller designs more closely.
CHAP 17 CONTROLLERS FOR PROCESSES WITH DIFFICULT DYNAMICS 609
Design a PID controller for the inverse-response system of Eq. (17.25) using the
frequency-response Ziegler-Nichols technique.
Solution:
Figure 17.6 shows the Bode diagram for the system under proportional-only
control: i.e., the open-loop transfer function is given by:
~ -............ ........_ I
-100
-200
it-- - - --X
(l)co = 0.55----..: '-
"'
10
frequency (radians/time)
and (l7.27 b)
11.43
.
· Let us illustrate how to apply this procedure with the following example
INVERSE-
Example 17.2 APPROXIMATE TIME-DELAY MODEL FOR AN
RESPON SE SYSTEM USING A REVERSE PAD~
APPROX IMATIO N.
of Eq. (17.25)
Obtain an approxim ate time-delay model for the inverse-response system
using the reverse Pad~ approxim ation and compare the unit step response
s of both the
inverse-response system and its time-dela y approxim ation.
Solution :
which 71 = 3,
Since the original system transfer-function model has a RHP zero for
then accordin g to~ (17.28) using the reverse Pad~ approxim ation requires replacin g
. ate time-dela y model is therefore given by:
this with: (1 + 3s) e The approxim
(1 + 3.s)e-6• (17.29)
.''·'
.''.'!
g(.r) = (2s + l)(Ss + 1)
system of
Figure 17.7 shows the unit step response of the original inverse-r esponse
le
Eq. (17.25) and the time-delay approxim ation Eq. (17.29), indicatin g quite reasonab
agreement.
1.00 p=--
0.75
. /
.
0.50
I
2
...
0.25
!
0.00
I!
-0.25
~
0 10 20 30
Time
and its
Figure 17.7. Compari son of the unit step responses of an inverse-response system
time-delay approxim ation using a reverse Pad~ approxim ation.
SINGLE-LOOP CONTROl.
612
Let us now demonstrate the design of a PID controller by
the Cohen and
Coon process reaction method with the following exampl e.
OLLER FOR
Exampl e 17.3 DESIGN OF A CONVE NTION AL PID CONTR
AN INVERS E-RESP ONSE SYSTEM BY THE COHEN AND
COON METHO D.
Solutio n:
mate time-delay
Recall that the unit step respons e for this process and the approxi
and steady-s tate gain
respons e is shown in Figure 17.7. From the figure the time delay
by taking the slope
are directly available; the effective time constan t is easily obtained
e at the origin. The values taken by these
of the approxi mate time-de lay respons
paramet ers are:
K = 1; a= 6; t"= 4
o.
2
... o.
0 10 20 30 40 -
Time
system under
Figure 17.8. Compar ison of closed-loop respons e of the inverse- respons e
line: Ziegler-
PID control. {Dashed line: Cohen- Coon controll er; solid
Nichols Controll er; dotted line: inverse- response compen sator).
CHAP 17 CONTROUERS FOR PROCESSES WITH DIFFICULT DYNAMICS 613
The objective here is to choose the quantity A. such that the signal reaching
the controller appears to be from a "normal" system; in this context, one which
does not exhibit inverse response.
Let us define the variable y' according to:
and observe that this is the signal generated by the minor loop. As a result of
this minor loop, the signal reaching the controller, designated as e, in the
diagram, is given by:
£c = y r y(s) -y'(s) (17.33a)
or
Ec = yr (g(s) + g'(s)] u(s) (I7.33b)
Now, let:
and
(17.36)
g*(s) = g (s)(1 -
0 TfS) + g"(s).M (17.37)
or
g*(s) = g (s)[l + (1- Tf}s]
0
(17.38)
(17.39)
the transfer function of the apparent process generating y" no longer contains a
RHP zero. Thus the minor loop provides a corrective signal that effectively
eliminates the inverse response from the feedback loop. ·Owing to its similarity
to the Smith predictor, the inverse-response compensator also suffers from the
same sensitivity to model inaccuracies. ·
There is some strategy in selecting the exact value of 1 satisfying
Eq. {17.39). Choosing 1 > 11 (as opposed to 1 =71) has some advantage in case of
plant-model mismatch. However, one must be careful not to chose 1 too large
because then g"'(s) will have a much faster response than go(s) (see discussion in
Chapter 6) and the control loop will be sluggish. It can be shown that the
choice:
1 = 27] (17.40)
and therefore:
6s
g'(s} = (2s+ l}(5s +l) (17.43 )
g•(s} = .-:--'('-"3=
,. -s,..:,+,.,l:.,j}:.._,,.,.
(2s + l)(Ss + 1) (17.44)
Invest igate theclosed -loop stabili ty proper ties of the invers e-resp
Eq. (17.25) under proportional-only feedback control, first withou onse system of
t any compensation,
and then with the inverse-response compensator design
ed in Example 17.4.
Solution:
(17.46)
(17.47)
any value of K, higher than this will make the system unstable.
With the inverse-response compensator, let us first obtain the overall closed-loop
transfer function from the block diagram of Figure 17.10; we will then deduce the
characteristic equation from here and use it to investigate the stability properties.
Consolidating the block diagram, dealing first with the minor loop, gives:
(17.50)
1+88/=0 (17.51)
Upon introducing into Eq. (17.51) all the appropriate expressions for the indicated
transfer-function elements, and rearranging, the characteristic equation becomes:
10r+7s+(I + KJ = o (17.52)
which is stable for all positive values of K,; clearly demonstrating the restrictive effect
of the RHP zero on closed-loop system stability and the advantages of using the
inverse-response compensator.
To illustrate the performance of the inverse-response compensation compared to
conventional PID control, the response to a unit set-point change with the inverse-
response compensator combined with a PI controller (K, = 10, 1/ -r1 = 0.167) is shown in
Figure 17.8 together with two responses of conventional feedback controllers using
PID control. Note that the inverse-response compensator produces the smallest
negative deviation and a rapid response without overshoot.
Design Procedure
As with the time-delay compensator, the following is the design procedure for
designing an inverse-response compensation scheme:
1. Design the inverse-response compensator loop
As demonstrated in Example 17.4, this simply involves obtaining the
appropriate transfer function g'(s) to use in the minor feedback loop in
the block diagram shown in Figure 17.10; it specifically entails finding
A which satisfies the conditions in Eq. (17.39) and using this in the
expression for g'(s) in Eq. (17.31).
CHAP 17 CONTROU.EJ<::; J:UK l'KULI;:;:;,:;,t;,;, VVIU1 UJI:"I:"JI,.UL.l UllVJU'Illl,.::> rut
2. Design 8c
Once the compensator has been designed, its effect is to make the
controller "think" it is interfaced to the process g ..(s) which has no
RHP zero. Again, as with the time-delay compensator, we now simply
design the controller for g""(s); and the absence of the RHP zero permits
the use of higher controller gains than would otherwise be possible.
However, because of process/model mismatch, one must be careful not to
increase the controller gains too aggressively.
Obtain the range of Kc values required to ensure that the closed-loop system involving
the first-order system:
K
g(s) = -- (17.53)
n- 1
Solution:
KKC
1+-- = 0 (17.54)
TS - 1
(17.55)
,,jl
I -KKc
s = --- (17.56)
T
Thus, observe that this root will be negative (and the closed-loop system will be
stable) as long as:
K > !_ (17.57)
c K
with the immediate implication that any Kc value which satisfies Eq. (17.57) will
stabilize the otherwise open-loop unstable system.
Beyond merely stabilizing the system, observe that we may go one step
further and obtain the values of controller paramete rs that will not merely
stabilize the closed-loop system, but which will place the closed-loop system
poles in prespecified locations in the LHP.
Let us demonstrate this with the following example.
Design a PI controller for the system of Example 17.6 that will stabilize the closed-
loop system with the closed-loop system poles lore ted at s = -2, and at s = - 4.
Solution:
The closed-loop characteris tic equation in this case becomes, upon some
elementary rearrangement
(17.58)
(17.59)
and
(17.60)
Introducin g the process parameters , K = 2, 't =5 and solving these two equations
simultaneously gives the required controller parameter values:
2(-s + I)
g(s) = (4s - l)(2s + I) (17.63 )
Soluti on:
(17.64 )
and by inspection, the stable range of controller
exhibits conditional stability.
gain is t < K, < 1. Thus the system
17.5 SUM MAR Y
We have focused attention in this chapter on those
processes that exhibit such
dynamic behav ior in the open loop as to make
them quite difficult to control,
for the most part, by conventional means. We
have seen that there are three
classes of such systems: time-delay systems,
inverse-response systems, and
open-loop unsta ble systems; we have also seen
that they have some thing in
common: they each have nonminimum phase eleme
nts. The presence of these
nonm inimu m phase elements (the exponential
term for the time-delay system;
the RHP zero for the inverse-response system;
and the RHP pole for the open -
loop unsta ble system) constitutes the main sourc
e of difficulty in desig ning
effective controllers for these systems.
Parti cular ly for the time- delay and the inver
se-re spons e syste ms,
when ever the influence of the nonm inimu m phase
element is not too stron g,
conve ntion al feedback controllers can give
acceptable result s. Howe ver,
compensators introduced as minor loops aroun d
the controllers are recommended
when the nonm inimu m phase elements exert subst
antial influence; i.e., when
the time delay is very large, and for the inver
se-response system, when the
negative lead time constant is large. Aside from
their sensitivity to mode ling
errors, these compensators can be quite useful
in that they enable the use of
620 SINGLE-{.OOP CONTROL
higher controller gains; thus improving the overall closed-loop performance.
Explicit procedures for designing control systems that incorporate these
compensators have been given.
The open-loop unstable system was shown to be a comparatively less
demanding system to control; it seldom requires more than closed-loop
stabilization by conventional feedback control However, the design procedure
can be difficult because the identification of the open-loop model is difficult
and the conditional stability properties make controller tuning more complex.
1. Bode, H. W., Network Analysis and Feedback Amplifier Design, Von Nostrand,
Princeton (1985)
2. Morari, M. and E. Zafiriou, Robust Process Control, Prentice-Hall, Englewood Cliffs,
NJ (1989)
3. Smith, 0. J. M., "Close Control of Loops with Dead Time/' Chern. Eng. Prog., 53, (5),
217 (1951)
4. Smith, 0. J. M., "A Controller to Overcome Deadtime," ISA Journal, 6, (2), 28 (1959)
5. Waller, K. and C. Nygardas, "On Inverse Response in Process Control," I&EC Fund.,
14, 221 (1975)
6. Iinoya, K. and R. J. Altpeter, "Inverse Response in Process Control," I&EC, 54, (1), 39
(1962)
REVIEW QUESTIONS
1. What are the three classes of processes with difficult dynamics discussed in this
chapter, and how does the process transfer-function model indicate the presence of
such difficult dynamic characteristics?
3. Why are the time delay, the RHP zero, and the RHP pole considered nonminimum phase
elements?
4. In physical terms, how can the presence of a time delay cause problems in conventional
feedback control?
5. In terms of phase angle characteristics, how does the presence of a time delay cause
problems in conventional feedback control?
1. When does it become inadvisable to apply conventional feedback control for a time-
delay system?
9. What is the procedure for controller design incorporating a Smith predictor for a time-
delay system?
10. How is the minor loop of the Smith predictor scheme usually implemented?
CHAP 17 CONTROLLERS FOR PROCESSES WITH DIFFICULT DYNAMICS 621
11. Why do you think the performance of the Smith predictor scheme will be sensitive to
modeling errors?
12. What is the main problem created by an inverse-response system under conventional
feedback control?
13. Of all the conventional feedback controllers, which kind has the potential of coping
with the problems created by inverse response? Why is this controller type able to
copewith this problem?
17. What is the procedure for controller design incorporatin g an inverse-resp onse
compensator for an inverse-response system?
18. What poses the more significant challenge in dealing with an open-loop unstable
system: model identification, or controller design?
19. Why is it not possible to use standard process identification procedures for open-loop
unstable processes?
20. Can any process that is unstable in the open loop be stabilized by any conventional
feedback controller?
PROBLEMS
17.1 For the time-delay process with the following transfer-function model:
s.oe-10.0s
y(s) = 15.0s + I u(s) (Pl7.1)
(a) Use the Cohen-Coon tuning rules to design a PI, and a PID, controller; implement
each of these controllers and obtain the closed-loop system response to a unit step
change in the set-point. Compare the perfonnance of these two controllers.
(b) Repeat part (a) using the appropriate time integral tuning rules to design the PI
and PID controllers. Compare this set of closed-loop responses with those obtained
in part (a).
17.2 (a) Design a Smith predictor for the time-delay process given in Problem 17.1. by
specifying the transfer function to be implemented in the minor loop around the
controller yet to designed.
(b) Assuming the process model given in Eq. (P17.1) is perfect, implement the Smith
predictor, using for g,, a PI controller with gain 0.3 and integral time constant 15.0.
Obtain the overall response to a unit step change in the set-point.
(c) Investigate the effect of process gain errors on the performance of the Smith
predictor by repeating part (b), retaining the same PI controller, but this time using as
the "true" process model:
5.5e-10.0s
y(s) = 15.0s + I u(s) (Pl7.2)
622
SINGLE-LOOP CONTR OL
while using the model in Eq. (P17.1) in the Smith predicto r's
minor loop. Compar e
this respons e with the "perfect " Smith predicto r response.
(d) Now investig ate the effect of time-de lay errors on the perform
ance of the Smith
predicto r by repeatin g part (c), but this time using as the "true"
process model:
5.oe-11 .0s
y(s) = 15.0s + I u(s) (Pl7.3)
s.oe-IO.Os
y(s) = !6.5s + 1 u(s) (Pl7 .4)
now find the range of values which K, can take for the overall
system to be stable.
(d) If the pure proport ional controll er and the inverse- respons
e compen sator in the
minor loop around it are combin ed into one "appare nt controll
er" block referred to
as g,•, show that in the limit asK,--+ oo, this apparen t controll
er, gt, in fact tends to
a PID controller. What are the values of K,, -r , and -r for this
1 0 controller?
(e) Implem ent the limiting PID controll er derived in part (d)
on the process model
given in Eq. (P17.5) and obtain the closed-loop system respons
e to a unit step change
set-point.
3 3
g(s) = (7 s + l) - (s + l)(s + 3) (Pl7.7)
(a) Assume that the process is to be under proport ional feedbac
k control and obtain
a root locus diagram for the closed-l oop system, and from it determi
ne the range of K,
CHAP 17 CONTROLLERS FOR PROCESSE
S WITH DIFFICULT DYNAMICS 623
value s requi red for closed-loop stability.
Wha t is the frequency of oscillation when
the dosed -loop syste m is on the verge of
instability?
(b) Use this infor matio n to desig n a PI
contr oller for the process. Imple ment this
controller and obtai n the closed-loop respo
nse to a unit step change in the set-p oint.
Briefly comm ent on the control system perfo
rmance vis-ll-vis the natur e of the proce ss
transf er function.
(c) For Extra Credit Only. Derive an inver
s~response comp ensat or for the
systems with two right-half plane zeros, whos class of
e transf er functions are of the form:
g(s)
(Pl7 .8)
5(1 - 0.5s)
y(s) = (2s + 1)(0.5 s + I) u(s) (Pl7 .9)
(Pl7. 10)
(a)
(b)
(c)
2.0
g(s) "' (2s + l )(Ss - 1) (P17.12)
18
CONTROLLER DESIGN FOR
NO NL IN EA R SYSTEMS
625
626 SINGLE-LOOP CONTROL
1. Local Linearization
This involves linearizing the modeling equations around a steady-state
operating condition and applying linear control systems design results.
It is obvious that the controller performance will deteriorate as the
process moves further away from the steady state around which the
model was linearized, but quite often, adequate controllers can be
designed this way.
• The specific nature of the nonlinear control problem at hand; the nature
of the process, and the control system performance objectives,
• The amount of time available for carrying out the design,
• The type of hardware available for implementing the controller,
• The availability and quality of the process modeL
Design a PI controller for the liquid level system of Example 10.2 using
an approxim ate
linear model. Choose the controller paramete rs K, and -r such that
1 the closed-lo op
poles for the approxim ate linear system are located at rl' r = -2 ± 2j.
2
Solution :
A linear approxim ation for this system's nonlinear model was obtained
earlier on
in Example 10.3; it is the first-order transfer function model given below:
y(s) (18.1)
(18.2)
(18.3)
With strong linearities, the classical scheme should not be used for
carrying out
large set-poin t changes , which, by definition, require moving the
nonline ar
process from one steady state to another, quite different, steady state.
628
SINGLE-WOP CONTROL
18.3 ADAPTIVE CONTROL PRINCIPLES
A controller desig ned for the system in
Example 18.1 usin g the appr oxim ate
transfer function mod el given in Eq. (18.1
) will function acceptably as long as
the level, h, is main taine d at, or close to,
the steady-state value h,. Und er
thes e cond ition s (h - h,) will be smal
l enou gh to mak e the linea r
appr oxim ation adequate. However, if the
level is requ ired to change over a
wide rang e, the farth er away from h
5 the level gets, the poor er the linea
appr oxim ation . r
Observe also from the approximate trans
fer function model in Eq. (18.1)
that the appa rent stead y-sta te gain and
time constant are depe nden t on the
stead y state arou nd whic h the linearizat
ion was carri ed out. This implies
that in goin g from one stead y state to
the other, the approximate process
para mete rs will change.
The main prob lem with appl ying the
classical appr oach unde r these
circu msta nces is that it igno res the
fact that the char acter istic s of the
appr oxim ate mod el must change as the
process moves away from h,, if the
appr oxim ate mod el is to rema in reaso
nabl y accu rate. The imm edia te
impl icati on is that any cont rolle r desig
ned on the basis of this chan ging
appr oxim ate mod el mus t also have its para
meters adju sted if it is to rema in
effec tive.
In the adap tive control scheme, the contr
oller para mete rs are adju sted (in
an auto mati c fash ion) to keep up
with the chan ges in the proc ess
characteristics. We know intuitively that,
if prop erly designed, this sche me
will be a significant improvement over the
classical scheme.
There are vario us type s of adap tive cont
rol schemes, differing main ly in
the way the cont rolle r para mete rs are
adjusted. The three mos t popu lar
schemes are: scheduled adap tive control,
model reference adaptive control, and
self-tuning controllers. We shall discuss each
of these in the following sections.
18.3.1 Sch edu led Ada ptiv e Control
A scheduled adaptive control scheme is
one in which, as a resul t of a priori
knowledge and easy quantification of wha
t is responsible for the changes in the
proc ess characteristics, the com men surat
e changes requ ired in the controller
para mete rs are prog ramm ed (or sche dule
d) ahea d of time. This type of
adap tive control, sometimes referred to as
gain scheduling, is illustrated by the
block diag ram in Figure 18.1. As the inpu
t and outp ut variables of the process
r-1 Controller
Parameter
A4justment
I1 Output
y
Updated
Controller u
Parame~
Set-point + .11. I
I( I Controller II I
I p......,... II Output
y
u
-
(18 .5)
The actual process gain, K(t)
, can be determined at any time
u(t), y(t) as sho wn in Fig ure from measurements of
18.1. Thu s the con trol ler par
inv olv e calculating K(t) and ame ter adj ustm ent wo uld
usin g Eq. (18.5) to adju st K,(t
).
An oth er com mo n typ e
of sch edu led ada pti ve
predetermining a set of con con tro l inv olv es
troller tuning parameters, and
model, for each region of ope pos sibly a process
rating space (e.g., as indicated
applying this schedule of app by u and y) and then
ropriate controller paramete
pha se space. Such prepro rs for each par t of
grammed adaptive control
effective when there is a larg schemes can be very
e amount of prior knowledge
however, in other situations about the process;
in which the process is not
permit the use of scheduled so well known as to
adaptive control, there are
schemes, in which the measu more self-adaptive
red value of the process inputs
to deduce the required control and outputs are used
ler
mechanism. These wil l be disc parameter adaptation by using some learning
ussed nex t
18.3.2 Mo de l Reference Ad
aptive Contr ol
The first of these self-adapt
ive schemes is called the mo
controller (sometimes abb del
reviated MRAC) and is illu reference adaptive
dia gra m of Figure 18.2. The strated by the block
key component of the MR
reference mo del tha t consist AC scheme is the
s of a reasonable dosed-loo
process sho uld respond to p model of how the
a set-point change. This cou
reference trajectory, or it cou ld be as simple as a
ld be a more detailed closed
reference model out put is com -loop modeL The
pared wit h the actual proces
observed error E,n is used to driv s out put and the
e some adaptation scheme to
parameters to be adjusted so cause the controller
as to reduce E,n to zero. The
adaptation scheme
630 SINGLE-LOOP CONTROL
~
A<ijustment
-
· : Controller ~ Process J Output
Let us revisit the reactor of Example 18.2 in which the catalyst decays in an unknown
way over time. In this case we wish to design a very simple MRAC in order to
maintain good control system response over the entire lifetime of the catalyst. Let us
assume that we have a PI controller and wish to update the controller parameters by
using an optimization algorithm to choose K" 1j in order to minimize:
f
~
ISE = em2(t) dt
0
for a fixed test sequence of small set-point changes. The test sequence is repeated with
optimization until the ISE reaches a specific low level. As the catalyst decays, this
optimization scheme is applied periodically to ensure that the desired control system
response to the test sequence is maintained.
Updated
Controller
Parameters
1-+-0ut:._.._put=-- y
u
Ke-as
s(s) = ( 18.6)
<s+ l
and we will implement a PI controller based
on the minim um ITAE tunin g rules of
Table 15.4:
1. Scheduled Adaptive Control is used by parents who use a list of "if this
occurs, do this" instances. This mear1s they assume they can anticipate
and enumera te all the situation s that can occur and specify
preprogr ammed remedies. No thinking or decision making is expected
of their children. Thus schedule d adaptive control will work when all
the possibilities are known in advance.
Several different methods have been reported in the literature for carrying
out such variable transformations for nonlinear systems and utilizing the result
for controller design (see Refs. [6-10]). The following is a simple illustration of
the general principles involved (cf. Ref. [6]).
dx
dt = f{x,u) (18.8)
where c.J2(x,u) is what is left after separating out that portion of f(x,u) that is
a function of x alone. Bothfi andf2 are taken to be nonlinear, and no restrictions
are placed on their functional forms; c1 and c2 are constants.
Thus the process model can be written as:
(18.10)
z= g(x) (18.11)
where g(·) is a function of x alone, to be determined such that the process model
Eqs. (18.8) or (18.10), which is nonlinear in the original variables x and u, is
transformed to, for example:
dz az + bv
dt= (18.12)
or
~= a+ bv (18.13)
dt
d?,._dzdx
dt - dx dt (18.14)
(18.15)
Observe now that if the function z = g(x) were to be chosen such that:
dz _ _ z_
dx - ft(x) (18.16)
with
dz
Hx,u) dx = v (18.17)
then Eq. (18.15) will become identical to Eq. (18.12), with constants
a=c1,andb=c2•
The required transformation is therefore obtained from Eq. {18.16), i.e.:
or
(18.18)
z = Jft) (18.20)
along with:
(18.21)
will transform the nonlinear Eq. (18.15) to the linear Eq. (18.13) with constants
a =c1, and b = c2 •
CHAP 18 CONTROLLER DESIGN
FOR NONLINEAR SYSTEMS
635
gO
X
,------Linea
I
---r---
Pseudo Syste m
-----------i
I
I
v(t) 1
I
I
I
I
I
I
I
I
I
I
L------------------ ---~
I
(18.24)
ts are given
where x and u have respectively replaced hand Fi, and the constan
by:
that:
Thus in accordance with Eq. (18.9) we have, for this specific system
(18.25)
and
(18.26)
Z J
= x~2
or
z = 2xl/2 (18.27)
the control
and from Eq. (18.21) in conjunction with Eqs. (18.25) and (18.26),
equatio n is given by:
(18.28)
instruct ional
(These are actual specifications for a level control system used for
Wiscon sin-
purpose s in the Process Control laborato ry at the Univers ity of
Madiso n.)
CHAP 18 CONTROLLER DESIGN FOR NONLINEAR SYSTEMS
r
637
~F
DLC
-=-=
-
flf-··'lf--'
h
1
L--------+- Fout
1. Obtain the actual measurement x (in this case h) from the process.
2. Calculate z from Eq. (18.27); i.e., take the square root, and multiply by 2
(the constant multiplication is actually unnecessary, as it merely scales
the variable).
3. From the same expression, given the desired value for x, obtain the
desired value for z; i.e., zd =2~.
4. The PI controller (tuned for the linear, transformed system Eq. (18.13))
receives z and zd, and prescribes v(t), the control action required for the
linear pseudo-system.
80
60
40
0 10 20 30 40 50
Time(secs)
Figure 18.6. Flow system response to set-point change; dashed line: nonlinear
controller; solid line: conventional PI controller.
Kc =9 and K1 =KJ -r1 =1, the system response to the same set-point change under
conventional PI control (i.e., decisions on the inlet flowrate are taken using
direct level measurements) is shown in the solid line. As we would expect, the
transformation controller performs better than the conventional PI controller.
Application of the nonlinear transformation strategy is restricted by the
following considerations:
• The nonlinear transformations are not always easy to find (see Refs.
[8, 9] for some general approaches).
• The success of the controller design is dependent on having a good
nonlinear process model- something that is unusual in practice.
18.5 SUMMARY
What we have presented in this chapter is no more than a somewhat brief
overview of what is available for designing more effective controllers for
nonlinear processes. We have indicated the conditions under which the
classical approach of linearization followed by linear controller design will
yield acceptable behavior and provided strong reasons for why this approach
is still very pervasive in practice despite the fact that virtually all process
systems of interest are nonlinear.
When the nonlinearities of a process are mild, the classical approach is
recommended, as there is no real advantage in using any of the more
complicated approaches. When the nonlinearities are more pronounced, the
classical controller will not be as effective, and alternative approaches are
called for. The various adaptive control schemes will usually work well under
these conditions.
The technique of variable transformations was also presented for those
situations in which the nonlinearities in the process are to be recognized
explicitly and taken into account in the design of effective controllers. Like
CHAP 18 CONTROLLER DESIGN FOR NONU
NEAR SYSTEMS
639
most other mode l-bas ed contr oller desig
n techn iques , it is expe cted to be
susce ptible to mode ling errors.
Rese arch in nonli near proce ss contr ol is
rapid ly deve lopin g and usefu l
resul ts are conti nuing to appea r. Thus in
the futur e there will be more to be
learn ed abou t nonli near control syste m desig
ns.
PROBLEMS
Ogunn aike, and Pearso n
18.1 A reacto r simila r to the one discus sed in Doyle,
free-ra dical polym erizati on of methy lmetha crylate (MMA)
(1992),"t used for the e as solven t, is
) as initiato r, and toluen
using azo-bi s-isobu tyronit rile (AIBN
model ed by the follow ing set of equatio ns:
d~l
dt= 3(6- ~I)- 1.4~1~ (Pl8.l)
d~2 (Pl8.2)
dt= 50Jl - 3~2
d~3 10~3
- 0.001~ 1 ...JTz + 0.035 ~2 - (Pl8.3)
dt
d~4
Tt= 130~1~ - 10~4 (Pl8.4)
along with:
~4 (Pl8.5)
71 =
~3
~4' respec tively repres ent the
As previo usly noted in Proble m 10.9, ~1 , ~2, h and
ionless monom er concen tration , initiato r concen tration, bulk zeroth moment,
dimens
71 is the numbe r averag e molecu lar weight ; and Jl is the
and bulk first mome nt;
volwn etric flowra te of the initiator.
obtain from the model ing
(a) Given an operat ing steady -state value, Jl*= 0.02,
steady -state values for ~ 1 •, ~2•, ~3•, ~... and 7!*.
equati ons the corres pondin g
a proces s reactio n curve
(b) Startin g from these steady -state condit ions, obtain
nonlin ear set of equati ons (using a differe ntial equati on solver),
directly from these contro ller from this
value of Jl. Design a PID
for a 25% increas e in the nomin al
s reactio n curve, using the time-in tegral tuning rules (for set-po int changes},
proces
r-Nichols tuning rules. Which
and design anothe r PID controller using the Ziegle
contro ller is more conservative?
ols contro ller (on the nonlinear
(c) Evalua te the perfor mance of the Ziegler-Nich
of 2,000 in the numbe r averag e molecular weight
model equations) for a step change
set-point. Plot the closed-loop system response
equati ons around the steady·
18.2 (a) Revisit Problem 18.1. 1his time, linearize the model
the deviat ion variab les X:! = ~1 - ~t. i =1, 2,
state values obtain ed in part (a), define
transfe r functio n model
3, 4; y = 1) - 71•; u =Jl- Jl•; and obtain an approx imate
and the Ziegler-Nichols tuning
relatin g y to u. Using the Bode stability criterio n
18.3 The dynamic behavior of the isothermal series/parallel Van de Vusse reaction
taking place in a CSTR may be modeled by the following equations (cf. E. Hemandez
(1992), Ph. D. thesis, Georgia Institute of Technology, Chapter 4) :
(Pl8.6)
(Pl8.7)
along with:
11 = s2 (P18.8)
ss
where 1, 2, are, respectively, the dimensionless reactant and product
concentration in the reactor, Jl is the dimensionless dilution rate, and 11 is a
measurement of the dimensionless product amcentration.
(a) Given an operating steady-state value of p•= 17.5 for the dilution rate, obtain
s
from the modeling equations the corresponding steady-state values for 1•, f.,• (and
hence 11•). linearize the model around this steady state, define the deviation
variables x1 =s = = =
1 - ~ 1 •; i 1, 2; y f/ - 11•; u p- p•; and obtain an approximate
transfer function model relating y to u for this process. What does the transfer
function reveal about the character of this process at this particular steady state?
(b) Using a nonlinear differential equation solver, obtain a simulation of the process
response to a step change in dilution rate from 17.5 to 30.0. Obtain the
commensurate step response using the linearized model derived in part (a). Compare
these two responses and comment on whether or not the approximate linear model
captures the qualitative process behavior adequately.
(c) Using the Bode stability criterion and the Ziegler-Nichols tuning rules, design a
PI controller for this process with the aid of the approximate transfer function.
' Implement this controller on the nonlinear process and evaluate its performance if a
step change in the value of f., from the initial steady-state value obtained in part (a)
to a new value of 1:0 is desired.
,. (d) Again, using the Bode stability criterion and the Ziegler-Nichols tuning rules,
design a PlD controller for the process and repeat part (c). Compare the performance
of the PI and PlD controllers. It is normally expected that for such processes as this,
the PID controller should provide the superior performance. Why should this be the
case, and does this particular PID controller live up to these expectations?
18.4 Revisit Problem 18.3. With the aid of the approximate transfer function obtained in
part (a), design an appropriate compensator for this process, and implement this
along with the PI controller designed in part (c) on the nonlinear system. Evaluate
the performance for the same step change investigated in Problem 18.3(c). Compare
this performances first with that of the PI controller without the compensator, and
then with the performance of the PID controller investigated in Problem 18.3(d).
642 SINGLE-LOOP CONTROL
18.5 The process model for the liquid level control system in a cylindrical tank has been
given as:
(18.23)
(a) Revisit Example 18.1, where, using the approxima te transfer function given in
Eq. (18.1), a static PI controller was designed for this process by pole placement.
The process parameter s taken from Example 10.2 are: A = 0.25 m2,
c = 0.5 m512fmin. h5 = 0.36 m. Implement this controller on the nonlinear system,
and
evaluate its performanc e for a step change in the level set-point from 0.36 to 0.5 m.
Plot this response.
(b) Design a scheduled adaptive PI controller for this process if, with the controller
used in part (a) as the basis, the objective is to maintain constant the product of the
controller gain and the apparent process gain. Write an explicit expression for how
the controller gain should change with the level in the tank. Implemen t this
scheduled adaptive PI controller on the nonlinear process, using the same static
integral time constant as in part (a), and evaluate the performanc e for the same step
change in the level set-point Compare the responses.
18.6 The mathematical model for the level of gasoline in a hemispherical storage tank was
given in Problem 10.4 as:
dh
dt = ltr(2Rh1- h 2)
(
F;- ch
1/2) (Pl0.9)
where R is the radius of the hemispheri cal tank, and Fi is the flowrate of gasoline
into the storage tank. Follow the procedure of Section 18.4.1 and derive the
expressions for the transformations required to convert this model to the form given
in Eq. (18.12):
dz
di=az+ bv (18.12)
(18.13)
18.7 A mathemati cal model for the isolated population dynamics of a typical
autoregene rative biological system is given by:
(P18.9)
where
(a) For any given constant value p. = p.•, solve the model Eq. (P18.9) explicitly, given
the initial population~ at t = 0, and show that the time behavior of sis given by:
CHA P 18 CON TRO llER DESIGN
FOR NON LINE AR SYST EMS
643
p*
~ = (Pl8. 10)
71 = ~(t- 5)
(Pl8 .ll)
intro duce the devi ation varia ble,
y = 71 - 71*, and obta in the trans fer func
relat ing y to u. With the aid of this trans tion
fer function, desig n a PID controller
process using the time integral tuning for the
criteria (for set-point changes). Implemen
cont rolle r on the nonl inear process t this
and evalu ate its perfo rman ce for a
chan ge in the desir ed set-point of the unit step
meas ured valu e of; from its initial value
Plot this response and comment on the of 2.
controller performance.
CHAP1rJER
19
MODEL-BASED CONTROL
So far, feedback controller design has been approached from the classical
viewpoint in which the controller structure choice is restricted to the PID form,
and design guidelines are used merely to choose appropriate parameters for
this prespecified class of controllers.
There is an alternative approach in which what is specified a priori is the
dynamic behavior desired of the control system- not the controller structure;
the design procedure is then invoked to derive the controller (the structure as
well as the parameters) that will achieve the prespecified desired objectives.
This completely different controller design paradigm involves the explicit use
of a process model directly; it is therefore often referred to as model-based
control. The objective of this chapter is to introduce the concepts of model-
based control, and then to discuss some of the most common model-based control
techniques.
19.1 INTRODUCTION
In introducing the subject matter of Part III, it was stated that the three
constituent elements of process analysis are: the inputs to the process, the
process model (as an abstraction of the process itself), and the outputs from the
process. By specifying any two of these elements, and requiring that the
unspecified third be determined from the supplied information, we obtain the
three fundamental problems of systems analysis illustrated in Figure 19.1:
645
646 SINGLE-LOOP CONTROL
and it is required to determine the process model g. This was the
subject of Part Ill; it is the most difficult problem.
----~u--•~~~---g--~~--?~-..~
(a) The Procesa Dynamics Problem.
____u
__ _.~~~---?--~~--~Y--•~~
(b) The Procesa Modellng/Identifll:ation Problem.
--~?--~·~~---g--~---~r--~~~
(c) The Process Control Problem.
88c (19.1)
y(s) = -1 --yjs )
+ ggc
The
where q(s) is a specific, predeter mined transfer function of our choice.
depends on the type of closed-lo op
choice of the reference trajector y q(s)
response desired and on the possible response s from the process. Some
Note
particula r choices for the reference trajectory are shown in Figure 19.3.
no time delays or inverse response , reference trajectori es
that for systems with
a
of type (a) or (b) would be appropri ate. Howeve r, if the process has
significant time delay, then a reference trajectory of type (c) is required because
.
no controlle r can overcom e the initial delay in the closed-io op response
Similarly, if the process has an inverse response , then the reference trajectory
must allow inverse response.
Having defined an appropri ate form for the reference trajector y, the
controller synthesis problem is now posed as follows:
In other words, given q and g, find the Kc required to make the process
closed-
loop transfer function exactly equal to q. Noting that the closed-lo op behavior
(as represen ted in Eq. (19.1)) will be as we desire it to be in Eq. (19.2) if,
and
only if:
ggc
(19.3)
q{s) = 1 + ggc
then the controller synthesis problem reduces to solving Eq. (19.3) for 8c to yield:
g -
c -
l(_!i_)
g 1- q
(19.4)
lr-----~------------------~
q(s)=-1-
trs+l
(b)
(d)
q(s)= (1-11,•)
(t,,S+ 1Xt,, + 1)
0 t
This is the controller synthesis formula from which, given the process model g,
we may derive the controller g, required for obtaining any desired closed-loop
behavior represented by q.
Observe that there are no restrictions on the form this controller can take;
for this reason, we may also expect that there will be no guarantees that the
controller will be implementable in all cases. However, we shall see that if q
is chosen appropriately, the synthesized controller g, will take on practical
forms. In particular, we will show that in some important cases, the
synthesized controller actually takes the familiar form of conventional PID
controllers.
Let us consider first a simple form that is adequate for many processes and that
leads to simple controller structures; i.e., the first-order response:
For this choice of q, the controller synthesic; formula Eq. (19.4} simplifies to:
1 1
g
c
=- -
'C,S g
(19.6)
For these processes, with g(s} =K, Eq. (19.6) gives rise to:
1
gc = KT,s (19.7)
Since in this case g(s} =K/s, Eq. (19.6} gives rise to:
1
gc = K-rr (19.8)
First-Order Processes
K
g(s) = -rs + 1 (19.9)
CHAP 19 MODEL-BASED CONTROL
651
Eq. (19.6) gives the required synthesized controller as:
TS + 1
Kc = K-r,s (19.10)
g
c
= _!....
K-r:,
(1 + _1)
Ts (19.11)
( 0.66
g s) = 6. 1s + 1 (19.12)
using the direct synthesis approach, and given that the desired closed-loop behavior
is
as in Eq. (19.5), with -r,= 5. Compare this controller with that resulting from
choosing
-r,.,;,l.
Solution:
Let us observe first that this is the system used in Problem 15.6 without the
time
delay.
Either from first principles , or directly from Eq. (19.11), we obtain that
the
required direct synthesis controller (for -r,= 5) is:
(19.13)
SINGLE-LOOP CONT ROL
652
a PI contro ller with Kc = 2.03 and Tr = 6.7.
1 (the faster closed -loop trajectory) is:
The contro ller obtain ed with the choice -r, =
(19.14 )
lli( I
Kc = K'r, 1 + 2{-rs + 2{s
-r ) (19.16)
Solut ion:
ple system used in Sectio n 17.3 of
Once more we obser ve that this is the exam
witho ut the RHP zero.
Chap ter 17 (see Eq. (17 .25))
Eq. (19.16) direct ly (being carefu l to
Eithe r from first princi ples, or by apply ing
eters 'and '!"from the given mode l param eters correctly), we obtain
extrac t the param
that the requir ed direct synth esis contro ller (for 'IT= 5) is:
(19.18)
CHAP 19 MODEL-BASED CONTROL 653
a PID controller with I<,; =1.4 • -r1 =7, and '1'0 = 1.43.
Upon reducing the value of 11- to 1, we obtain the following controller:
8c = 1 (1 + ;, + 1.43 s) {19.19)
a PID controller which has the same integral and derivative times as the former
controller, but whose proportional gain is five times larger.
We therefore observe that for this form of the direct synthesis controller, changing
the value of 11- only affects the value of the proportional gain; all other controller
parameters are unaffected.
It is easy to show (see Problem 19.2) that for a second-order system with a
single zero, the direct synthesis controller resulting from Eq. (19.6) takes the
form of a PID controller with a first-order filter. Examples of direct synthesis
controller designs for second-order reference trajectories were presented in
Chapter 15 where we saw that they also took the form of a PID controller in
many cases.
For processes having models which are third order or higher, it is easy to
see that the controllers synthesized using Eq. (19.6) are bound to take
increasingly more esoteric forms. We will not pursue this aspect further since it
is not of pressing practical interest. What is of practical interest is the
synthesis of such controllers for processes with more complex dynamics: time
delays, inverse response, and open-loop instability.
shown in Figure 19.3. H we redefine the controller equation using Eq. (19.22) for
q in Eq. (19.4) we obtain:
8c -
_ (?:s +
K
1) [ e-<a,- a)s
(7:,S+ 1)- e-a,&
J (19.23)
_ (?:s+
g., - K
1)(
'I:,S
l
+ 1 - e-as
)
(19.24)
which we will show is identical to the Smith predictor {Chapter 17), plus a PI
controller. We will also show that by using various approximations for the
exponential term, this controller simplifies to the classical PI and PID forms.
To implement the controller as given in Eq. (19.24) implies that control action
u(s) will be determined using u(s) = Kc(s) e(s):
_ (?:s + 1) ( 1 )
u(s) - K -r,s + 1 - e-as £(s)
or
K-r,s K Ke-«<
( 7:S + 1) u(s) + - - u(s)
7:S + 1
=- - u(s) + £(s).
7:S + 1
(19.25)
Ke-«<
y(s) = - -1 u(s)
'I:S +
we defined as y,.(s), the output of the equivalent system without the delay,
i.e.:
K
y*(s) = -rs + 1 u(s)
CHAP 19 MODEL- BASED CONTRO L
655
This being the case, Eq. (19.25) then becomes:
KT,s
( 't:S + 1) u(s) + y*(s) = y(s) + E(s)
u(s) +
= ( 't:SKT,s 1) { e(s)- (y*(s)- y(s)]}
or, finally:
e-as = I- as
(19.28a)
656 SINGLE-LOOP CONTROL 1
with
-r* = a-r,
2(a + -r,) (19.28b)
This is recognizable as the commercial PID controller form (see Eq. (15.7)), with
I
the controller parameters as indicated. Alternatively, the same controller
could also be rearranged to give:
(19.29)
using the direct synthesis approach, and given th!! reference trajectory of Eq. (19.22),
with 'l'r= 5. Compare this PI controller with that obtained (using -r,.= 5) for the system
in Example 19.1 which is identical in all respects to this system except for the presence
of the lime delay.
Solution:
Be = 1.34 (• + 6\s)
For the equivalent system without the time delay treated in Example 19.1, the PI
controller recommended in that case has exactly the same integral time, but a higher
proportional gain value (2.03 as opposed to 1.34).
CHAP 19 MODEL-BASED CONTROL 657
Thus in designing a PI controller for the time-delay system, the direct synthesis
method has recommended a reduction in the proportional controller gain value as
compared to the value recommended for the equivalent system without the delay.
Observe that the controller gain value recommended for the PID controller is
slightly higher than that for the PI controller. This is true in general for all types of
controller design techniques: the presence of derivative action typically allows the use
of higher controller gain values.
Obtain the exact direct synthesis controller for the first-order-plus-time-delay system
of Example 19.3.
Solution:
From the preceding discussion, we observe that the exact direct synthesis
controller for the Example 19.3 system:
0.66e-2·6'
g(s) = 6.1s+ I
Kc = 2.03 (• + 6~7s)
This is, of course, the same controller obtained for the equivalent system without the
time delay in Example 19.1, but the signal operated upon by this controller is not e(s};
as a result of its association with the Smith predictor, it is:
where e(s) is the regular feedback error, with y•(s) and y(s) obtained by simulation,
respectively from:
* 0.66 (
y (s) = 6.7 s + 1 us)
and
0.66e-2·6•
y(s) = 6.1s + 1 u(s)
K (1 - 1]S)
(19.30)
(1- 1],S) _ I _
q(s) = ('r
71
s +I) 't 72s + 1 (19.31)
658 SINGLE-LOOP CONTROL
(19.32)
i.e., the commercial PID controller form (with the parameters as indicated), or,
alternatively:
(19.33)
the standard PID form with the additional first-order filter. In each case:
(19.34)
Recall that in Section 17.3 of Chapter 17, we had indicated that of all the
classical feedback controllers, the PID type is the only one that has been found
useful in controlling inverse-response systems; this direct synthesis controller
provides another justification for this fact.
. {I - 3s)
g(s) = (2s + l)(Ss + 1)
using the direct synthesis approach, with Eq. (19.31) as the desired closed-loop
behavior, with T, = 1. Compare the resulting controller with that obtained (using
'~'r-= 1) for the Example 19.2 second-order system which, but for the absence of the RHP
zero, is identical in all other respects to this system.
Solution:
Directly from Eq. (19.33), upon introducing all the appropriate parameters we
obtain the direct synthesis controller as:
If we now observe that the filter time constant 0.43 is small compared with all the
other process time constants, dropping this term simplifies the direct synthesis
controller to a PID controller with K, = 1, T1 =7, and -r0 -= 1.43.
CHAP 19 MODEL -BASED CONTR OL
659
In Example 19.2, for the second-order system having identica
l time constants but
no RHP zero, we obtained a PID controller with identical integral and
derivative times
but whose proportional gain value was seven times larger. We therefor
e see how the
direct synthesis technique recognizes the presence of inverse--respons
e behavior (and
its potential problems) and prescribes a substantially lower value
of the controller
gain.
K
g(s) = 'rS - I (I9.35)
with the indicat ed single RHP pole; Eq. (19.6) gives the
direct synthe sis
control ler require d to provid e the closed- loop behavi or
indicat ed by q in
Eq. (19.5) as:
- _!_(t -
g, - K-r, _I)
'fS (19.36)
which looks like a PI control ler with K, = -r/ K -r, but with the
singula r, and very
import ant, differen ce that its integra l time is negative; i.e.,
-r1 = --r.
The problem with this control ler is that it will only functio
n proper ly if all
the process parame ters are exactly equal to the model parame
ters; if this is not
the case the overall closed- loop system will be unstabl e.
In other words, the
controller in Eq. (19.36) will give rise to a stable closed-loop
system only under
the obviou sly unreali stic situatio n that the model is an exact
represe ntation of
the process ; the controller therefore has a severe robust stabilit
y problem. Let
us first establis h this import ant fact before provid ing a solutio
n.
Robust Stabili ty Problem s
0 (I9.39)
660 SINGLE-WOP CONTROL
(1J,S + 1)
(19.40)
q(s) = ('t',,S + 1) 't', 1s + I
(19.41)
If we now choose the coefficient of s in the denominator term inside the large
brackets to be equal to -'t'; i.e.:
rearrangement gives:
(19.42)
__!}_ -
1], s + 1
(19.43)
1- q - 't', 1',
- '- ' S ( 't'S - 1)
't'
Using this result, the direct synthesis controller based on Eqs. (19.43) and {19.4)
is:
(19.44)
CHAP 19 MODEL-BASED CONTROL 661
recognizable as a normal PI controller with K, = 'rTI, I K -r, -r, and -r1 = TJr·
It can be shown that the closed-loop characteristic equ~tion for this system,
when there is plant/model mismatch, is given by:
(19.45)
(19.46)
the dosed-loop system will be stable even though the parameters of the plant
and its model are not exactly the same.
Note:
(19.47)
and the two closed-loop time constants -r, and -r, are now chosen such
1 2
that Eq. (19.48) is satisfied. .
For the second-order open-loop unstable system with a single RHP pole:
K (19.49)
g(s) = (as+ 1)(-rs- 1)
it is left as an exercise to the reader to show that for the reference trajectory in
Eq. (19.40), and with the aid of the same choice of parameters as indicated in
Eq. (19.42), the direct synthesis controller is obtained as:
the first-order open-loop unstable system, are also easily derived. Recall the
results given for the system in Eq. (17.62) in Chapter 17, and compare with
Eq. (19.50). It is by no means obvious that for such a system, only a PD or a PID
controller will stabilize the process; the direct synthesis controller, however,
indicates this fact directly in Eq. (19.50).
Table19.1
Some Formulas for Direct Synthesis Tuning of Processes with Simple Dynamics
1 1
-r,.s + 1
PI Controller:
K
15+1
or
-t>--a(
-'rr-)
-2 a+ -r,
Table 19.3
Some Formulas for Direct Synthesis Tuning of
Unstable Processes
-r,. -r,.
PI Controller with 11,. = -r, + -r,. +-'-•:
1 2 't'
't' 11,.
K
,- -
K-r- -
-r ·, 't'r= 11r
't rz
. -r,., ..,.
PID Controller w1th 11,. = -r, + -r, + - - :
I 2 't'l
(12 + 'lfr) 't'2 11,.
Kc . 't=ti+71 . t; = - -
K-r,, -.,.2 ' l r ' D -r2 + 1],
19.3.1 Motivation
with the block diagram shown in Figure 19.4 Here d represents the collective
effect of unmeasured disturbances on the process output y. If it is desired to
have "perfect" control, in which the output tracks the desired set-point Yd
perfectly, the control action required to achieve this objective is easily
obtained by substituting y =Yd in Eq. (19.51):
(19.53)
The implication is that if both d and g(s) are known, then for any given yd,
Eq. (19.53} provides the controller that will achieve perfect control. Since in
reality, dis unmeasured, and hence unknown, and since g may not always be
known perfectly, but only modeled approximately by, say, g(s), we may now
adopt the following strategy for implementing Eq. (19.53):
1. Assuming that g is our best estimate of the plant dynamics g, then our
best estimate of d is obtained by subtracting the model prediction,
g(s)u(s), from the actual plant output y to yield the estimate:
_I_
c(s) = (19.55)
g(s)
in Figure 19.5 and in Eqs. (19.54) and (19.56) so that the "perfect" controlle
r for
both set-point changes and measure d dishtrbance rejection is:
(19.57)
Observe now that the addition al term in Eq. (19.57) is no more than what
has
already been derived in Chapter 16 for the feedforw ard controlle r used
for
cancelling out the effect of measure d disrurbances.
By rearrang ing the block diagram of Figure 19.5 as indicated in Figure 19.6(a)
and consolid ating the inner loop into the single block indicate d in Figure
19.6(b), it is possible to compare the IMC structure with an equivale
nt
conventi onal feedback control struchtre . The following relations hips between
the conventi onal feedback controlle r, g,(s}, and the internal model controlle
r,
c(s), are easy to establish:
g,(s) = --"'c(u.s)_ _
(19.58a)
I - c(s) g(s)
c(s) = _ _g,(s)
.:....___
(19.58b)
1 + gc(s) g(s)
Yd + +
1---+o{) (}-.,---- y
d
Figure 19.5. The internal model control structure.
CHAP 19 MODE L-BAS ED CONTROL
667
d
Yd + + +
I-_.,+-<X:h .----Y
Yd + +
Be=_£ _
l-eg f---"0---i!~ g(s) 1----+-{X)-----l~Y
Relation of u to y4 and d:
c
u = (yrd ) (19.59)
I + c(g- g)
Relation of y to y 4 and d:
y = d + gc (yd-d ) (19.60a)
t + c(g- g)
or
gc
y = Yd +
l-g c
d (19.60b)
1 + c (g - g) I + c (g - g)
From these transfer function relations, w~ may now estab lish the following
three basic prope rties of the IMC scheme:
and
y = gc(yrd) + d (19.62)
From Eq. (19.61) we see that the control u will be bowtded if c(s) is stable, and
the output y(s) is bowtded if g(s)c(s) is stable. Thus for the nominal case in
which the model is assumed to be perfect, the IMC structure guarantees that
the closed-loop system will be stable whenever the process g(s) is open-loop
stable, and the controller c(s) is also stable. The requirement that g(s) also be
stable is not 5o stringent, but to require c(s) =1/g(s) to be stable is often difficult
to satisfy in practice.
then regardless of the fact that g *" g, Eq. (19.60) shows that y:::; y4 at steady
state. Thus so long as the steady-state gain of the controller is the same as the
reciprocal of the gain of the process model, the IMC structure guarantees offset-
free controL
The IMC structure is an idealization that can seldom be realized in
practice; however, it is a useful ideal for purposes of discussion, and by adding
some approximations and additional constraints, IMC can be implemented in
some cases.
(19.63)
with parameters il and n chosen to ensure that c(s) is proper (i.e., the
numerator order is less than, or at most equal to, the denominator
order).
Design a controller for the first-order process whose transfer function is given by:
5.0
g(s) '" Ss + 1 (19.66)
using the IMC strategy. Convert this controller to the conventional feedback form.
Solution:
Observing that the transfer function in Eq. (19.66) is completely invertible, we
obtain:
1 Ss + 1
g(s) = --s:o-
which requires only a first-order filter (n =1) in order that c(s) =fig be proper. Thus,
from Eq. (19.64), we have, in this case:
g (s)
c
= j_(t _1_)
5l
+
8s
(19.68)
c(s) = JJj)_
g(s)
1 ) _ fl:s)l i(s)
g,..s - 1 - J(s)
or
1 [....fuj_]
gc(s) = g(s) 1 - f(s)
(19.69)
which is identical to Eq. (19.4) with f(s) = q(s). Thus for ~um phase
systen-..s, the filter of the IMC scheme and the reference trajectory of the direct
synthesis scheme have the same interpretation. It is easy to show that even
when g is not invertible, the IMC scheme and the direct synthesis scheme still
give rise to identical controllers, only this time, f(s) and q(s) take on different
forms.
It can also be shown that the equivalence between the IMC controller and
the direct synthesis controller is not limited to the nominal case; even in the
presence of modeling errors, the direct synthesis controller and the IMC
controller also give rise to identical closed-loop responses.
Solution:
Observing that the presence of the time delay makes the transfer function not
completely invertible in this case, we proceed to factor the transfer function as
follows: Let
CHAP 19 MODEL-BASED CONTROL 671
so that:
g_(s) = __2jL_
Ss + I
The desired controller is then easily determined from Eq. (19.64) as:
I
g_ s
I (8s+1)
c(s) = - ()j{s) = -5 0 - -
. .ls + 1
(19.71)
Problem (19.9) illustrates how the IMC approach is used to obtain PID tuning
rules for processes whose dynamics are represented by first-order-plus-time-
delay transfer functions. These results were presented in Chapter 15, in Table
15.6.
For additional details about the IMC scheme, particularly, regarding how
model uncertainty information is used to design a filter that will ensure
robustness, the interested reader is referred, for example, to Morari and
Zafiriou [4].
(19_73)
This can be related to q(s) in the Laplace domain by taking the Laplace
transforms of Eq. (19.73) and letting y = y" to yield:
or y, =q(s)yd where:
672 SINGLE-LOOP CONTROL
The process model Eq. (19.72) may be used directly to obtain the controller
required to cause the process to follow this trajectory by equating Eqs. (19.72)
and (19.73) to obtain:
f(y,u,d) = K 1 (yd-y) + K 2 r0
(Y&-y)dr (19.74)
(19.75)
is the control law to be solved for u. Although it may not be obvious, it should
be pointed out that solving Eq. (19.75) for u involves an implicit inversion of the
process model.
This technique, known as "Generic Model Control," was first presented by
Lee and Sullivan [2]. It has the following properties:
1: 41:
dt
= -y + Ku(t) (19.76)
or
(19.77)
CHAP 19 MODEL-BASED CONTROL 673
where e(t) is the usual feedback error term. We may now integrate Eq. (19.77)
directly to obtain:
(19.78)
The control action required to cause the process modeled by Eq. (19.76) to follow
the trajectory described by Eqs. (19.77) and (19.78) may now be obtained
straightforwardly by substituting the desired trajectory expressions into the
model equation and solving for u(t); the result is:
u(t) =K
1:K1 [ E(t) + IT f' ]
0
e(t)dt (19.79)
which, of course, is a PI controller. But beyond this fact, observe that this is
precisely the same PI controller obtained for the direct synthesis controller in
Eq. (19.11) with K 1 = 1/ 'fr . Note that if the process output y is set equal to the
reference trajectory Yr in Eq. (19.73), a Laplace transform of the resulting
expression gives:
and only the substitution K 1 = 1/7:r is required to establish that this desired
trajectory is precisely the one indicated by q(s) given in Eq. (19.5) and used by
the direct synthesis controller.
.~.d!L . . d~ . . ) -
I ( Y' dt ' dil ' · · · • dt' • u • d - 0 (19.80)
applying the GMC scheme requires no more than obtaining the required higher
order derivatives of the desired trajectory, introducing these into the model in
Eq. (19.80) and solving for u. Thus, control action will be obtained by solving:
(19.81)
foru.
For the purpose of illustration, consider the design of a GMC controller for
the second-order process modeled by:
Ku (19.82)
,,
(19.83)
And now, by introducing Eqs. (19.77), (19.78), and (19.83) into the process model
in Eq. (19.82) and solving for u, we obtain:
u(t) = 2 ''fK
K 1 {
e(t) + _l
2 (;1:
J'
0
e(t}d t 2 s [A.llil._J}
+ ..!_ dt (19.84)
the same PID controller obtained in Eq. (19.16) using the direct synthesis
approach.
For additional information about the GMC technique, including discussions
about its applications on several experimental case studies, the reader is
referred to Lee and coworkers [2, 5, 6].
which was used to introduce the GMC technique in Section 19.4; and instead of
requiring that the process output approach its desired value of y4 along a
specific reference trajectory, y,, we now wish to approach the control problem
differently. We start by setting up an objective functional of the general form:
(19.85)
where y(9 is the value taken by the process output at the final time t =t1 ; and
GO and F(·, ·,·)are functions chosen by the control system designer to reflect
the aspect of the process behavior to be optimized. The idea is now to find the
control policy u(t) that minimizes (or maximizes) cP, perhaps even subject to
such operating constraints as:
h (y,u) = 0 (19.86b)
19.6 SUMMARY
The appr oach to controller design that
we have intro duce d in this chap ter is
radically diffe rent from anyt hing we
have disc usse d up until now . Thes
model-based appr oach es allow the cont e
rol syst em desi gner to spec ify the
closed-loop beha vior desi red of the
process, and from this, to deriv e the
controller requ ired to obtain the specified
closed-loop beha vior directly, usin g
the proc ess mod el. Even thou gh the
two classes of mod el-ba sed cont rol
techniques were identified, our discussion
focussed more on the direc t synthesis
approaches (Direct Synt hesi s Control,
Inter nal Mod el Con trol, and Generic
Model Control) whil e pass ing more light
ly over the optim izati on appr oach es.
This latte r class of techniques are muc
h more naturally suite d to mult ivari able
systems and will therefore be discussed
more fully later whe n it will be mor e
appropriate to do so.
We show ed that model-based controlle
rs all share in common the concept of
using the process mod el inverse - in
one form or anot her - as part of the
controller; we also show ed that even
thou gh philo soph icall y diffe rent from
conventional feedback control, model-ba
sed control strategies often give rise to
controllers that may be rearr ange d
to take on the fami liar form s of thes
classical controllers. The special cons e
idera tions requ ired for deal ing with
those processes that exhibit more com
plex dynamics were carefully discussed
and we foun d that the deriv ed controlle ,
rs then take on special forms, some of
676 SINGLE-LOOP CONTROL
REVIEW QUESTIONS
1. What are the three fundamental problems of systems analysis?
6. What are some of the most important features of an acceptable closed-loop reference
trajectory?
7. What are some model forms and closed-loop reference trajectories that give rise to
direct synthesis controllers in the form of the classical feedback controllers?
8. What is the advantage of using the direct synthesis approach to design feedback
controllers for low-order processes?
9. What restrictions are placed on admissible reference trajectories for direct synthesis
controller design when time-delay and inverse-response elements are present in
process models? Why are these restrictions necessary?
10. What additional approximations are needed in order to obtain classical feedback
controllers from a direct synthesis controller designed for a first-order-plus-time-delay
system?
CHAP 19 MODEL-BASED CONTROL 677
11. The direct synthesis controller designed for a first-order open-loop unstable system
suffers from what problem if a first-order closed-loop reference trajectory is used?
How is the problem remedied?
12. Why is it rarely feasible to use the model inverse directly as the controller in the IMC
strategy?
15. What is the relationship between the IMC filter and the transfer function for the direct
synthesis reference trajectory?
16. What are some of the main properties of Generic Model Control?
18. What are some of the philosophical differences between optimal control and GMC?
PROBLEMS
19.1 Suppose that the direct synthesis controller given in Eq. (19.2) is implemented as in
Figure 19.2, but the true process transfer function is Kp rather than g. Obtain the
closed-loop transfer function between Yd andy, and show that, despite the fact that
*
gP g, so long as the overall system is stable, this direct synthesis controller
guarantees that at steady state, y = yd, and there will be no offset.
19.2 Obtain the direct synthesis controller for the process whose transfer function is
given as:
K (~s + 1)
g(s)
if the closed-loop reference trajectory in Eq. (19.5) is desired. Show that this
controller may be arranged in two ways: first, as:
(Pl9.1)
which is a standard PID controller with an additional term; and then as:
19.3 Establish the result presented in Eq. (19.50) for the open-loop unstable system
modeled by the transfer function in Eq. (19.49).
19.4 The following problems have to do with the theoretical robustness stability properties
of the direct synthesis controller.
(a) Consider a first-order process whose true transfer function:
678 SINGLE-WOP CONTROL
K
g (s) = ____5L_ (Pl9.2)
P -rps + l
(P19.4)
containing an additional time constant, Tn, which has been neglected by the model
transfer function in Eq. (P19.3). Furthermore, suppose that the direct synthesis
controller has been designed on the basis of the first-order desired trajectory, using
the Eq. (P19.3) model. Establish that in implementing such a controller on the real
second-order process, closed-loop stability will be guaranteed provided:
(PI9.5)
where Pp is the multiplicative uncertainty in the process gain estimate, defined by:
(PI9.6)
(c) To illustrate how relatively weak the restriction indicated in Eq. (P19.5) is,
consider the situation in which the true process transfer function is:
4
Cp(s) = (lOs+ 1)(6s +I) (P19.7)
and that the model not only ignores the smaller time constant, but in addition grossly
underestimates the dominant time COIIStant as 3.0, and the gain as 2.0; i.e.:
2.0
g(s) = 3.0s + (P19.8)
is the model used to design the direct synthesis controller. First show that, in this
case, guaranteeing closed-loop stability merely requires that -r7 > 1.5. Next obtain a
PI controller for this process by direct synthesis, using the model in Eq. (P19.8) and a
first-order desired reference trajectory with T7 = 2.5; simulate and plot the response
of the closed-loop system to a unit step change in the set-point.
19.5 The following second-order transfer function was obtained via an identification
experiment performed in a small neighborhood of a particular steady-state operating
condition of a nonlinear process:
CHAP 19 MODEL-BASED CONTROL
679
K
g(s) = (3.0s + I )(5.0s + I) (P19.9)
- 0.55
g(s) = (- 5.2s + 1) (Pl9.11 )
and the true process gain and time constant are known to
lie in the following limits:
-0.45 ~ KP ~ - 0.65 (P19.12 a)
- 4.9 ~ Tp ~ - 5.5 (Pl9.12 b)
Choose an approp riate desired closed-loop transfe r functio
n and design a direct
synthesis controller for this process. Implement your control
ler on a process whose
transfer function is given as:
680 SINGLE-LOOP CONTROL
(s) = -0.6(-1.5s+ I)
(PI9.13)
Cp (-5.0s+l)
and plot the closed-loop system response to a unit step change in set-point.
19.8 The following sixth-order transfer function was obtained by linearizing the
original set of ordinary differential equations used to model an industrial chemical
reactor:
10.3
g(s) = ( 1.5s + 1)5(15s + I) (Pl9.14)
The indicated time constants are in minutes. For the purposes of designing a
practical controller, this model was further simplified to:
10.3e-7 ·5'
gl(s) = 15s + I (PI9.15)
(a) Design a controller for this process by direct synthesis, using the transfer
function g1(s), for '~'r = 5.0 min. Introduce a first-order Pade approximation for the
delay element in the controller. What further approximation will be required in
order to reduce the result to a standard PID controller? Can you justify such an
approximation?
(b) Implement the PID controller obtained in part (a) on the sixth-order process and
obtain the closed-loop response to a step change of 0.5 in the output set-point.
(c) Repeat part (a) but this time introduce the Pade approximation for the delay
element in the model before carrying out the controller design, and then design a
direct synthesis controller for the resulting inverse-response system, again using
'~'r = 5.0 mins. Compare the resulting controller with the one obtained in part (a).
19.9 Use the IMC approach to design a classical controller for the process whose
dynamics are represented by the general first-order-plus-time-delay transfer
function:
K e-as
y(s)
'I'S + I
What values does this IMC procedure recommend for Kc, 'l'p and T0 ?
19.10 Revisit Problem 19.8 and design a PID controller for the sixth-order process in
Eq. (P19.14), based on the transfer function in Eq. (P19.15) and the IMC procedure of
Problem 19.9, with the specific choice of .it= 5.0 min. Compare this controller to that
obtained in part (a) of Problem 19.8. What does this example illustrate about the
relationship between the IMC strategy and the direct synthesis strategy for PID
controller tuning for systems with time delays?
(P19.16)
It may be assumed that the bounds given above for the parameter values cover the
entire range of possible values taken by the true process parameters.
In terms of deviation from steady-state values, y is the exit temperature (°F); u is the
steam rate (lb/hr); dis the inlet temperature of the process stream.
(a) Assume that d(s) is measured and design an IMC controller for this process using
the supplied model. Justify all the design choices made.
(b) Implement the controller designed in part (a) on a "process" represented by:
I .3e-8s 2ls
gp(s) = (8s + 1 )(29s + 1} + 0·55 e- (Pl9.17)
and plot the control system response to a change of 2.0°F in the inlet temperature of
the process stream. Evaluate the performance of your controller. If it is necessary to
redesign your controller, explain what needs to be done, do it, and then implement
the redesigned controller for the same distwbance.
19.12 The following model has been given for a CSTR in which an isothermal second-order
reaction is taking place:
(Pl9.18)
Here F, the volumetric flowrate of reactant A into the reactor, is the manipulated
variable; CAO• the inlet concentration of pure reactant in the feed, is the disturbance
variable; and CA' the reactor concentration of A, is the output variable to be
controlled; V is the reactor volume, assumed constant. The nominal process
operating conditions are given as:
F = 7.0 X w-
3 m3ts
V 7.0 m3/s
k 1.5 x 1o-3 m3/kg mole-s
CAo 2.5 kg mole/m 3
CA 1.0 kg mole/m 3
(a) Use this information to design a GMC controller for the reactor, leaving as
unspecified the controller parameters K1 and K2 • Describe how such a controller
would be implemented.
(b) Assume now that the gas chromatograph measurement of CAO made available to
the controller is permanently biased such that the true measurement is always
CAo + 0.25 kg mole/m3. Under these circumstances, implement the GMC controller
with K1 =1.0 x 1o-3 and K2 =2.0 x 10-3 and plot the control system response to a
change in the actual inlet concentration from2.5 to 2.0 kgmole/m3 . Assume all the
other model parameters are as given.
part IVB
MUL TIV ARIA BLE
PRO CES S
CON TRO L
682
CHAPTJER
20
IN TR OD UC TIO N TO
MU LT IVA RIA BL E SY ST EM S
683
684 MULTIVARIABLE PROCESS CONTROL
GoldStream
Fc,Tc
Figure 20.1. Stirred mixing tank requiring level and temperature controL
not arise, since there was just one of each. But now, with m inputs and n outputs,
we are faced with a new problem:
One of the consequences of having several input and output variables is that
such a control system can be configured several different ways depending on
which input variable is paired with which output variable. Each U; to yi
"pairing" constitutes a control configuration, and for a two-input, two-output
system (often abbreviated as a 2 x 2 system) we have two such configurations:
Configuration 1 Configuration 2
ut-Yt ut-Y2
and
The stirred mixing tank shown in Figure 20.1 has two input variables, the cold stream
flowrate, and the hot stream flowrate, to be used in controlling two output variables,
the temperature of the liquid in the tank, and the liquid level (see Ref. [1]). Enumerate
the different ways the control system can be configured.
Solution:
There are two possible configurations:
1. Use hot stream flowrate to control liquid level, and use cold stream to
control liquid temperature (this is the configuration shown in Figure 20.1).
2. Use cold stream flowrate to control liquid level, and use hot stream to
control liquid temperature.
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS 685
Note that these two configurations are mutually exclusive, i.e., only one of them can be
used at any particular time. .
It can be shown that for a 3 x 3 system, there are six such configurations; for
a 4 x 4 system there are twenty-four; and in general, for an n x n system, there
are n! possible input-output pairing configurations.
We know, of course, that our controllers can be set up according to only one of
these configurations. Furthermore, we would intuitively expect one of the
configurations to yield "better overall control system performance" than the
others: how, then, to choose among these possibilities?
At the simplest level, therefore, the first problem in the analysis and
design of multivariable control systems is that of deciding on what input
variable to pair with what output variable; and the problem is by no means
trivial.
Notation
Because we will be engaged with this issue of input/ output pairing quite a bit,
we now find it necessary to introduce the following notation, to avoid the
confusion that usually attends this exercise:
After the input variables have been paired with the output variables,
we shall reserve the notation ui for the input variable paired with the
jth output, Yr
Thus, for example, if the third input variable m3 is paired with the first
output variable yl' then m3 becomes ul' In this sense, the subscripts on them's
are merely for counting purposes; the subscripts on the u's actually indicate
control loop assignment.
Let us illustrate again with the stirred mixing tank. The input variables
are:
1. The cold steam flowrate
2. The hot stream flowrate
We may then refer to these respectively as m 1 and m2, in their "unpaired
state."
The output variables are:
1. Liquid level
. 2. Liquid temperature
and let these be y1 and y2 respectively.
Now, as configured in Figure 20.1, the hot stream m2 is paired with the
liquid level y1; and the cold stream m1 is paired with the liquid temperature
y2• Thus, in terms of keeping track of how many input variables we have, the
cold stream is m1, and the hot stream is m2; but in terms of which output they
have been paired with, the hot stream is u 1 (because of its association with the
"first" output variable, y1), and the cold stream is u 2 .
686 MULTIV ARIABL E PROCESS CONTR OL
Interactions
Another import ant consideration that did not feature in discuss
ions involving
SISO systems but that is of prime importance with multivariable
systems is the
following: after somehow arriving at the conclusion that input,
m1, is best used
to control output yi' we must now answer the very pertinent questio
n:
In addition to affecting yj' its assigned output variable, will
m 1 affect
any other output variable? That is, can m control y in isolatio
1 1 n, or will
the control effort of m 1 influence other outputs apart from Y/
1. As shown in Figure 20.2, with both inlet streams, and the recycle
pump
in operation;
with A, B, C, and r
as appropriately dimensioned system matrices of
conformable order with the respective multiplying vectors.
dx(t)
dt = f(x, u, d) (20.3)
y(t) = h(x(t))
where f(x, u, d), and h(x(t)) are usually vectors of nonlinear functions.
and each typical giis) transfer function element is exactly like the familiar
SISO transfer functions. Gis) is ann x k transfer function matrix consisting of
similar transfer function elements.
690 MULTIVARI ABLE PROCESS CONTROL
which can be rearranged (paying due respect to the rules of matrix algebra) to
give:
y(s) = [C(sl- A)- 1B] u(s) + [ C(sl- At1 r] d(s) (20.8}
The reverse problem of deducing the equivalent state-space model from the
transfer function model- typically known as the realization problem - is not
by any means trivial.
For one thing, no realization is unique, in the sense that there are several
equivalent sets of differential equations that, upon Laplace transforma tion,
will yield the same transfer function matrix. Further, there are several
different ways of obtaining these different, but equivalent, realizations. As a
result it is often necessary to utilize a method that provides the so-called
"minimal realization. "
We consider a discussion of how to obtain minimal realizations as being
outside the intended scope of this book; the interested reader is referred to Ref.
[1] for the important details. A simple procedure for obtaining state-space
realizations will be illustrated with a problem at the end of the chapter.
It is important to note that most computer-a ided control systems design
packages with multivariab le control capabilities (cf. Appendix E) have
routines for obtaining time-domai n realizations ; this step is necessary when
carrying out process simulation using transfer function matrix models.
Let us consider some examples of multivariable process models.
dhl
Aldt = -alht+f3h2+ Ft (20.11)
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS
691
(20.12 )
(20.13 )
(20.14)
(20.15 b)
Observe now that these equations, (20.13), (20.14), and
(20.15), are in the form given in
Eqs. (20.1) and (20.2); the state-5pace vectors" and matrice
s are easily seen to be:
C
P r> Ac @ill -
dr -per> (FHTH+ F cTc+FdTd-K"V~ rhT) (20.17)
which are nonlinear because of the presence of the square root term, and the product
functions of h and r.
The modeling equations obtained in Example 20.3 can be linearized around some
steady-state operating point, h5 , T5 along precisely the same lines indicated in Chapter
10. If in addition we define the following deviation variables:
=
x1 h-h5 ; x 2 = T-T5
ul = FH-FHs; "2 = Fc-Fes
dt = Fd-Fds; dz = Td-Tds
(20.18)
dx 2
dt =
(20.19)
A [- K
2A,{h,
0
<~J (20.20)
r [ A< 0 ] (20.22)
(T ds- T,) Fds
Achs Achs
If both level and temperature are measured, then y = x and C =I, the identity matrix.
The next example illustrates how to obtain transfer function matrices given
the state-space model.
CHAP 20 INTRO TO MULTIV ARlABLE SYSTEM S
693
Example 20.5 APPROXIMATE TRANSFER FUNCTI ON MATRICES FOR
THE STIRRED MIXING TANK OF FIGURE 20.1, USING THE
STATE-SPACE MODEL OF EXAMPLE 20-4.
From the approximate state-space model obtained for the stirred mixing
tank system in
Example 20.4, we can use the relationships in Eqs. (20.9) and (20.10)
to deduce the
correspo nding transfer function matrices for this process.
Prom Eq. (20.9), and recalling the state-space matrices of Eqs. (20.20),
(20.21), and
(20.22) we see that G(s) is given by:
G(s) =[ ~ ~]
G(s)
[ A. (u •,)
(TH- T1 )
A<(,. "")
(Tc- T,)
J (20.23)
where:
_K_
0 11 (20.24a)
2A,{h.
K
a22 (20.24b)
Ac-{h.
Gj..s)
[ .. ..
•.( • )
(Tds- T,)
A,hs ( s + a22)
0
Fds
A,h,(s +a 22 )
] (20.25)
State space models are usually obtaine d from theoreti cal modelin
g
exercises, and, as shown in the last example, they can be used to derive
transfer
function models when the modelin g equatio ns are linear. Often,
when a
multivariable process is modele d by experim ental means - by
correlat ing
input/ output data - the model is constru cted in the transfer function
matrix
form as illustrat ed in the following example.
694 MULTIVARIABLE PROCESS CONTROL
Example 20.6 TRANSFER FUNCTION MODEL FOR A BINARY
DISTILLAT ION COLUMN.
The model for a distillation column used in separating methanol and water was
reported in Ref. [21 as being of the form Eq. (20.4), with two output variables, two
input variables, and one disturbance variable defined (in terms of deviation variables)
as:
y1 overhead mole fraction methanol
y2 bottoms mole fraction methanol
u1 overhead reflux flowrate
u2 bottoms steam flowrate
d column feed flowrate
12.8e-•
-18.9e-3' ]
[ 16.7s + I 2!.0s + l
G(s) = 6.6e-1s -19.4e-3'
(20.26)
10.9s+ I 14.4s + l
and
3.8e-8.1s ]
[ 14.9s + I
4.9e-3 ·4' (20.27)
13.2s + l
Later on, we will use this process model to evaluate various control system designs.
(20.28)
y(t) = C r0
eA(t-< r)[Bu(a ) + rd(a) ]da (20.29)
x(t) = r
0
eA(t- a) B. 1 da (20.30)
(20.3Ia)
where w is a vector whose ith element is given by:
W; =lb
J
.. I)
(20.3lb )
(20.33)
then, for a unit step change in U; alone, with all the other inputs remaining at
zero, the response is:
(20.34a)
or
y(t) = CA -•(eAr- l)b; (20.34b)
x(t) (20.36a)
or
(20.36b)
20.3.3 Stability
Consider the two-tank process of Figure 20.2 under the situation in which Tank 1 is a
500 liter tank, while Tank 2 has a capacity of 200 liters; the respective cross-sectional
areas are 0.5 m 2, and 0.2 m2.
698 MULTIVA RIABLE PROCESS CONTRO L
The flowrate out of each tank is assumed proportio nal to the liquid level in each
tank; the constants of proportio nality are identical and are given
as:
a1 = ~ = 0.1 m 2/s; 40% of the amount of liquid leaving Tank 2 is recycled back to
Tank 1, implying that f3 =0.04 m2 Is, and r= 0.06 m2 Is.
The entire process is initially at steady state at the following conditions:
Solution:
Introduci ng the specific process parameter s into the model obtained in Example
20.2, we find that the system matrices are given by:
-0.2 0.08 ] [ 2 0 ]
A= [ ; B = (20.38)
0.5 -0.5 0 5
withC=I .
To investigate the stability of this system, all that is required is to evaluate
the
eigenvalues of A; these are obtained from:
I<A - .:tl)l = 0
or, in this case:
-0.2 - A. 0.08
1
0.5 -0.5- A. I= 0 (20.39)
which, upon evaluatin g the indicated determina nt, gives rise to the characteri
stic
equation:
a quadratic whose two roots, the eigenvalues of the matrix A, are given by:
-0.1 (20.41a)
-0.6 (20.41 b)
and since both of these eigenvalues are negative, we conclude that the system
is open-
loop stable.
(2Q.42)
CHAP 20 INTRO TO MULTIVARIABLE SYSTEM S
699
With the following two examples, we investi gate the respon
se of the two-
tank process to step changes in the inlet flowrate to Tank 1 first,
and then Tank
2. Two import ant facts are to be illustrated by these examples:
Obtain expressions for how the liquid level in each of the two
tanks will respond to a
step increase in the Tank 1 inlet flowrate from its initial vaiue
of 0.05 m 3 / s to a new
value of 0.065 m 3 /s (while the Tank 2 inflow is maintai ned
constan t at its initial
steady-state value). Comme nt on the interactive influence of this
input variable on the
level in Tank 2.
Solutio n:
{20.43}
25 4 ]
[
~is ~~o (20.44)
and the other eigenvector, corresponding to~= -0.6, is similarly obtained as:
(20.45)
the inverse of which is now easily obtained, In the usual manner, giving:
What is now left is to introduce the appropriate matrices into Eq. (20.43). In
doing this, it is perhaps of interest to see what the matrix exponential turns out to be in
this case. From Eq. (20.35) upon introducing Eqs. (20.42), (20.45), and (20.46), and
simplifying, we obtain:
After completing the remaining algebra indicated in Eq. (20.43), and simplifying, the
final result is:
3 °
5 (I - 0.96e-0· 1' - 0.04e-0· 6
')]
=[
x{t)
;o ( 1 - 1.2e-O.Ir + 0.2e-0•6')
(20.47)
From here, multiplying by 0.015, and introducing the actual process variables in place
of the deviation variables, we obtain the following explicit expressions for the
responses of the liquid level in the two tanks to a step change of the indicated
magnitude in the inlet flowrate to Tank 1:
Comments
In the same manner as in Example 20.8 obtain expressions for how the liquid level in
each of the two tanks in Figure 20.2 will respond to a step increase of the same
magnitude (0.015 m 3 /s) in f 2, the Tank 2 inlet flowrate (i.e., from its initial value of
0.05 m3/s to a new value of 0.065 m 3 /s) while maintaining the Tank 1 inflow at its
initial steady-state value.
Solution:
This time, since the input change is in u2, the unit step response is now obtained
using:
Everything else is exactly as in Example 20.8, and therefore following exactly the same
procedure, we obtain the following results:
look very similar until we try to define the poles, and, in particular, the zeros
of the latter.
We recall from Section 4.8 that for the SISO system whose transfer function
is given by:
Nfs\
g(s) ==
D(s) (20.52)
the poles are the roots of the denominato r polynomial , D(s), while the zeros
are the roots of the numerator polynomial , N(s).
As noted in Section 20.2 of this chapter (in Eq. (20.5)), the transfer function
matrix consists of an array of several transfer function elements of the type in
Eq. (20.52); this raises the following question: since each transfer function
element making up the multivariable transfer function matrix has its own set of
poles and zeros, how do we define the poles and zeros of the entire system?
This question is easier to answer for poles than it is for zeros.
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS
703
Multivariable System Poles
It is customary to define the poles of a multivariable system as the collection of
all the poles of the individua l transfer function elements of the transfer
function matrix.
The rationale behind such a definition is that the transfer function
elements can always be expressed as different numerato r polynomi als all
divided by the same denomina tor polynomial, and this common denomina tor
polynomi al, will consist of all the poles of the individua l transfer function
elements. For example, the transfer function matrix:
-[~~]
G(s) - _1___
1_ (20.53)
s+4s+ 2
[
(s + 2)(s + 3)(s + 4) (s+l)(s+ 2)(s+4) J
(s + l)(s + 2)(s + 3) (s + l)(s + 3)(s + 4)
G(s) (20.54)
(s + l)(s + 2)(s + 3)(s + 4)
G(s) = [C Adj(sl- A) B)
l(sl- A)l (20.55)
where we now note that each element of the transfer function will have, as a
common denomina tor, the polynomi al resulting from evaluatin g the
determina nt I (sl- A) I, with the immediat e implication that the poles of the
entire multivaria ble system are the roots of:
If we compare this with Eq. (20.37), the equation used to evaluate the
eigenvalu es of the matrix A, we immediat ely see that they are the same
704 MULTIVARIAB LE PROCESS CONTROL
equation and will therefore have the same roots. 1his leads us to the following
result:
_I__ ~
from where we see clearly that this inverse matrix has poles at the roots of the
common denominator polynomial resulting from evaluating the indicated
determinant. Thus the roots of the equation:
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS 705
IG(s)l = o (20.59)
are therefore the zeros of the (square) transfer function matrix G(s). We now
state the following definition of the zero of a multivariable system:
When the transfer function matrix is not square (indicating that the number
of inputs and outputs are different) it is no longer possible to define the zeros in
terms of the determinant. We will be concerned mostly with square systems, but
for completeness, we note that a generalization of the idea of the determinant
of a square matrix leads us to the following more general definition of the zeros
of a (possibly nonsquare) multivariable system:
Those values of s for which the rank of the transfer function matrix G (s)
is reduced are called the zeros of G (s).
Find the zero{s) of the multivariable system whose transfer function is given in
Eq. (20.53).
Solution:
I
IG(s)l = (s + l)(s + 2) (s + 3)(s + 4)
(20.60)
IG s I - 4s + I 0 (20.61)
() - (s + I )(s + 2)(s + 3)(s + 4)
with the implication that the multivariable system has a single zero at s = -10/4.
G(s) = [ ~;-h]
_1___
1_ (20.62)
s+3 s+4
G(s) - -[;-±I~]
_1___
1_ (20.63)
s+4 s+7
(20.65)
u, - [ ! :] (20.66)
I I
However, whereas His singular, the determinant H 1 is always equal to 1,
regardless of the value of e. Thus, even though we know, by construction, that
as e gets smaller, the matrix H 1 approaches singularity, its determinant gives
no such indication.
It is known that the determinant of a matrix is equal to the product of its
eigenvalues; we might therefore be led to think that the eigenvalues might
contain more information than the determinant. While this is true in general,
when it comes to indicating the onset of singularity, the eigenvalues are not
much better than the determinant. For example, the two eigenvalues of the
matrix H 1 are both equal to 1, and provide no better indication than the
determina nt regarding how nearly singular the matrix is. Thus we need
something better as a quantitative measure of near singularity.
Singular Values
It turns out that a good measure of the near singularity of a matrix can be found
from quantities known as the singular values of the matrix. For any general,
possibly complex, n x m matrix H, the singular values are defined {d. Appendix
D) as:
i = 1, 2, ... , n (20.67)
708 MULTIVARIABLE PROCESS CONTROL
where H .. is the transfose of the complex conjugate of H (simply the transpose
if H is real) and il.i (H H) represents the ith eigenvalue of the matrix (H* H).
For our example matrix, H 1:
(20.68)
(20.69)
i.e.:
(20.70a)
(20.70b)
(20.7la)
(20.7lb)
We may now observe that as £-+ 0, the larger singular value, Uv goes to
infinity, and the smaller, u2, goes to unity; this widening "separation" between
the two singular values provides a reliable indication of the onset of
singularity, or "ill-conditioning." In fact, the ratio of the largest and smallest
singular value:
O"rnax
1C =- (20.72)
(7miD
is known as the "condition number" of a matrix. Thus for our example, te -+.""
smoothly as £ -+ 0 and provides a good measure of the progress towards
singularity.
In general, given the transfer function matrix G(s), the singular values are
obtained, as a function of frequency, by substituting s = jw, and evaluating the
square root of the eigenvalues of the matrix S(jro) given by:
since the complex conjugate of G (jro) is G (-jro). Plots of these singular values
and the condition number te as a function of frequency provide useful design
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS 709
information for multivariable systems (see Ref. [3]). Singular value analysis
has proved to be a useful tool in the analysis and design of multivariable
control systems, but a detailed discussion lies outside the intended scope of this
book.
With the foregoing characteristics of the multivariable transfer function in
mind, we now proceed to the more mechanical aspects of how to use transfer
function matrices for obtaining transient responses. The principles involved are
mostly straightforward extensions of what we already know for SISO systems.
where G(s) is ann x m transfer function matrix whose elements are as given in
Eq. (20.5). Writing Eq. (20.74) more explicitly gives:
Let us now define as xij the product of the ijth transfer function element and
the jth input, i.e.:
(20.75)
Observe now that this is exactly like the representation for a SISO system; we
can therefore obtain the response of x11 to changes in u1 in precisely the same
manner as with the SISO system.
If, therefore, each transfer function element g 1/s) has p11 poles, then upon
carrying out the usual partial fraction expansion for this transfer function
element, and inverting, we will obtain:
(20.76)
where the coefficients A 119 are obtained from the partial fraction expansion
exercise, and r119, q = 1, 2, ... , p11 are the roots of the denominator polynomial of
gij(s), i.e., the transfer function poles.
The actual multivariable system outputs are obtained by taking the
appropriate sums of these x11 responses, i.e.:
m
y. =
I
_Lx ..(t)
}=I IJ
(20.77)
'fi
Y; ~ ~~ (Aijq e'' 1
•') (20.78)
Stability
Observe that if any of the rijq ~erms in Eq. (20.78) has a positive real part, then
the output associated with this term will grow indefinitely, and even though
all the other outputs might not suffer the same fate, the entire multivaria ble
system is said to be unstable. Of course, we know that the rrq terms are the
transfer function poles, and therefore, just as with the SISO system, the
stability of the multivari able system is determine d by the nature of the
transfer function poles. We now have the following result:
The multivari able system poles have earlier been identified as the
totality of the poles of each transfer function element. Thus for a multivariable
system to be stable, none of the individua l transfer function elements should
have a right-half plane (RHP) pole.
In relation to the equivalen t state-space form, the multivaria ble system
,,
}1 poles have been identified in Eq. (20.56) as the roots of the polynomi al
I!
!.. resulting from evaluating the determina nt indicated in this equation, i.e.:
q. l(sl- A)l = 0
Thus from the transfer function matrix point of view, stability requires that the
roots of this equation all lie in the LHP.
Upon comparin g this equation with the equation given in Eq. (20.37) for the
determina tion of the eigenvalues of the matrix A, we immediately see that the
condition that all the eigenvalues of A lie in the LHP is exactly identical to
the condition requiring the poles of the transfer function matrix G(s) to lie in
the LHP.
Thus, it matters not whether we determine the stability of a multivariable
system in terms of its transfer function matrix or its state-spac e model; the
results are identical.
Transient Respons es
The actual mechanic s of obtaining multivaria ble transient responses using
transfer functions can be quite tedious (except in some unusually simple cases)
even though the principles are trivial extensions of what we already know
'! from SISO systems analysis; this makes computer assistance inevitable.
For most computer packages with multivari able systems analysis and
controller design capabilities, the user provides the transfer function matrix
and the desired input forcing function, and the transient responses will be
calculated and the time behavior plotted.
The following example illustrates the analytical aspects of obtaining
multivari able transient responses using the methano l/water distillatio n
column introduce d in Example 20.6.
CHAP 20 INTRO TO MULTIVARIA BLE SYSTEMS 711
Example 20.11 STEP RESPONSES OF THE BINARY DISTILLATION
COLUMN.
Obtain the response of the binary distillation columrt of Example 20:6 to a unit step
change in u 1, the overhead reflux flowrate; also obtain the response to a unit step
change in u,_, the bottoms steam flowrate. Comment on the interactive influence of u on
1
y 2 in comparison to its "main" effect on y 1. For the second unit step response, also
comment of the interactive influence of u 2 on y 1 in comparison to its "main" effect on
h
Solution:
From the transfer functions in Eq. (20.26), given that u 1 =1 and u2 = 0, then the
transient responses are obtained from:
l2.8e-• I
yl(s} = 16.7s + Is (20.79)
and
6.6e-1' !
Y2(s) = 10.9s + I s (20.80)
and recalling Example 8.1, where the unit step response of a time-delay system was
first illustrated, we obtain:
{ o· I <
Yt(l) = (20.81)
12.8(1- e-<r-1)116.7 } I ~
and
{ o· I< 7
y2(1) =
6 _~( I _ e-<r-7)/10.9); I ~ 7
(20.82)
Observe that these equations are similar to the step response of any other first-order-
plus-time-delay system.
Note that the "interaction" effect of u1 on y 2 is significant with a net change of 6.6
iny2 at steady state.
In this case, setting u2 = 1 and u 1 = 0, we find that the transient responses are
obtained from:
-18.9e-31 I
Y1(s) = 2!.0s + I ; (20.83)
and
-I9.4e-3' I
Y2(s) = 14.4s + 1 s (20.84)
(20. 85)
712 MULTIVARIABLE PROCESS CONTROl.
and
(20.86)
and
E(s) yd- y(s)
(I+GG.)y(s ) = GGcyd+Gdd
~ (a)
ds
~ Gd -
dk
-
+
Y1d + ., ~
+
'< +
+
Y2d - + £2
G, ~ G
;>'+ ·r, +
Ynd
~ Yn
(b)
(c)
r-----------------.Loopl
r--------------------
y"' +
--------------------· Loop2
L __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ J
(20.92a)
CHAP 20 INTRO TO MULTIVARIABLE SYSTE MS
715
or from
(20.92b)
(20.93 )
(20.94 )
(20.96 )
for Condit ion 2.
For the complete multiv ariable system, with both loops
closed (Condition 3), the
characteristic equati on is obtain ed from:
716 MULTIVARIABLE PROCESS CONTROL
I= 0 (20.97)
The main point is to observe that the conditions which will guarantee stability for
each individual loop when operating in isolation are completely different from the
conditions that will guarantee stability when both loops are closed. However, one
should note that:
2. If either g 12 or g 21 (but not both) are zero, there are still interactions
between the loops, but these do not influence the stability condition. In this
case (called one-way interaction), the interaction appears as a disturbance in
the affected loop.
20.6 SUMMARY
This chapter has been concerned with providing an introduction to
multivariable systems, emphasizing the peculiar characteristics which sets
them apart from SISO systems, but where necessary also pointing out the
similarities they bear with their SISO counterparts. Our objective has been to
provide a framework for the discussion of effective controller design techniques
for multivariable systems in the following two chapters, rather than a
detailed analysis of multivariable system structure.
We have pointed out the problems of input/output pairing, interactions,
and controllability and observability, and have shown that they arise as a
result of the presence of more than one input and/or output variable. These
problems are therefore unique to multivariable systems; they do not arise for
SISO systems.
We have introduced multivariable process model forms and how they are
used for both open- and closed-loop dynamic analyses; in this connection, the
important properties of a multivariable system - poles, zeros, and singular
values - that influence dynamic behavior were also introduced.
With the material presented in this chapter as background, we are now in a
position to consider the issue of controller design for multivariable systems.
This will be the subject of the next two chapters.
CHAP 20 INTRO TO MULTWARIABLE SYSTEMS 717
1. Ray, W. H., Advanced Process Control, McGraw-Hill, New York (1981), Butterworths,
Boston (1989)
2. Wood, R K. and M. W. Berry, "Terminal Composition Control of a Binary Distillation
Column," Chern. Eng. Sci., 29, 1808 (1973)
3. Morari, M. and E. Zafiriou, Robust Process Control, Prentice-Hall, Englewood Cliffs,
NJ (1989)
4. Luyben, W. L. and C. D. Vinante, "Experimental Studies in Distillation Decoupling,"
Kemian Teollisauus, 29, 499 (1972)
REVIEW QUESTIONS
2. What are some of the major issues that differentiate a multivariable system from a
single-input/single-output (SISO) system?
6. What are the poles of a transfer function matrix? Can they be determined by mere
inspection?
7. Given a multivariable system's transfer function model and the equivalent state-space
model, what is the relationship between the transfer function matrix poles and the
system matrix A?
11. Which of the following properties of a multivariable system matrix provides the most
reliable indication of incipient singularity: the eigenvalues, the determinant, or the
singular values?
12. When is a multivariable system modeled by a linear transfer function matrix stable?
13. How is closed-loop stability determined for a linear multivariable feedback system?
14. When a multivariable control system consists of several individual single loops, is it
possible to guarantee stability for the overall system (with all loops operating
simultaneously) by guaranteeing stability for each individual loop independently?
718 MULTIVARIABLE PROCESS CONTROL
PROBLEMS
i = Ax + Bu
y = Cx (P20.1)
where the matrices and vectors are given by:
X= [::l u = [:J;
A= [ -31 -42 J; 8 =[ 2
0
0
1
J;C = I, the identity matrix.
°
(a) Find the eigenvalues of the matrix A, the corresponding matrix of eigenvectors M,
and confirm that for this system:
A = MAM- 1 (P20.2)
20.2 Given that the impulse response model form for a system whose state-space model
is
as given in Eq. (P20.1) is:
y(t) = r 0
G(t- o')u(a) da {P20.3)
20.3 The complex theoretical model for a certain novel bioreactor has been linearized
around a proposed steady-stat e operating point, resulting in the following
approximat e linear state-space model:
i = Ax + Bu
with
A=[45 -!]·
-2 '
B-[1
-
OJ·
0 2 • X = [::l [:J U =
For simplicity we shall assume that the two state variables are measured directly so
that:
y = X
CHAP 20 INTRO TO MULTIVAR IABLE SYSTEMS
719
· (a) Show that the bioreactor is open-loop unstable at this operating condition.
(b) Obtain the corresponding transfer function matrix G(s) for the bioreactor at this
operating point; find the system poles and zeros.
(c) Certain economic considerations dictate that the bioreactor is most profitably
operated at this unstable steady state. Under proportional-only feedback control,
using two single-loop controllers with gains Kc, and Kc{ with:
(P20.5)
where
given that Kct =2, find the range of values which Kc, must take for the closed-loop
system to be stable.
[
s :
--=L
s+1
3 s ~I 1
___!Q__
s+4
l[m']mz
(P20.6)
(a) Find the poles and zeros of the transfer function matrix.
(b) Obtain explicit expressions for the system outputs y (t), y (t) in response to
1 2
inputs m1(t) =mz(t) =1 at t > 0. Plot these responses.
20.5 Luyben and Vinante [4] studied a 24-tray distillation column used for separating
methanol and water. Considering the temperatur es on trays 17 and 4 as the most
important output variables, they studied their responses to changes in the reflux
flowrate, and steam flowrate, and obtained the following transfer function matrix
model:
where, in terms of deviations from their respective steady states, the input and
output variables are:
(a) By defining four new "state" variables x 1, x2, x3, and x as follows:
4
( -2.16e-•)
8.5s + 1 m,(s) (P20.8)
x 2 (s) ( 7I..05s
26e- 0 · 3'
+ I
)
m2(s) (P20.9)
720 MULTIVARIABLE PROCESS CONTROL
-2.75e-I.Ss)
( 8.2s + I ml(s) (P20.10)
(P20.11)
write the differential equations to be solved in time to simulate the dynamic behavior
of this process. Such a set of equations are called a realization of the original
transfer function model.
(b) Using your favorite simulation package (or otherwise) obtain the response of y1
(the tray ##17 temperature) to unit step changes implemented simultaneously in both
the reflux Oowrate and the steam flowrate. By examining the given transfer function
model carefully, explain the nature of the response you have obtained.
20.6 Obtain the equivalent impulse response matrix model for the Luyben and Vinante
column of Problem 20.5.
[Hint: The impulse response matrix G(t) has as its elements gip), the inverse Laplace
transform of gi/s), the individual elements of the transfer function matrix. Do not
forget the presence of the time delays.]
20.7 For the multivariable system whose block diagram is shown below in Figure P20.1,
find the closed-loop transfer function matrices relating y to both yd and d. What is
the characteristic equation?
G(s) =
[
_I
5s + I
_!QQ_
0.0001
0.2s + I
l (P20.12)
3s + I 0.5s +
Figure P20.1.
CHAP 20 INTRO TO MULTIVARIABLE SYSTEMS 721
y
Figure P20.2.
20.9 The block diagram shown in Figure P20.2 (where all the indicated blocks contain
transfer function matrices) is for a certain multivariable control system to be
discussed in Chapter 22.
(a) Find the closed-loop transfer function between y and Yd·
(b) What is the characteristic equation for this system?
(c) Given that the following relationship exists between G, the process transfer
function matrix, and the other transfer function matrices V and W:
G = WI, yT
where I, is a diagonal matrix, and the matrices V and W are unitary matrices (see
Appendix D), show that the characteristic equation for this system reduces to:
(P20.13)
l[::J
below:
[:J =[ s: I
s + I
3s ; I
2s + 1
(P20.14)
is under feedback control, using the Ycm 1 /y2-m 2 pairing, so that the process
transfer function matrix, G(s), is as indicated above; the controller, Gc has been
chosen as two pure proportional controllers, i.e.:
G
c
=[ Kc,
0
0
K
J
c2
21
INTERACTION ANALYSIS AND
MULTIPLE SINGLE-LOOP DESIGNS
21.1 INTRODUCI'ION
As introdu ced in Chapte r 20, a multivariable system has multip
le inputs and
multiple outputs. When confronted with the task of using the
multiple inputs
to control the multiple output variables of such processes, it
seems natural to
start out by consid ering the possibility of pairing the input
and output
variables and assigning one feedback controller to link each
input/ output
variabl e pair, resulti ng in several feedback contro l loops,
as illustra ted in
Figure 20.3(c).
723
724 MULTWARl ABLE PROCESS CONTROL -~·
(21.1)
(21.2)
where we clearly see how each input variable is capable of influencing each
output variable.
Here, we have a situation in which if u 1 has been assigned to y 1 (and, by
default, u2 to y2), each of these control loops will experience interactions from
the other loop; Loop 1 (the u1 - y1 loop) will experience interaction s coming
from Loop 2 (the u 2 - y2 loop) via the g12 element, since it is by this that y is
1
influenced by u 2• In the same manner, Loop 2 experiences interactions coming
from Loop 1 via the g21 element. This situation is clearly illustrated, once
again, in Figure 20.3(c).
If the input/ output pairing were switched - giving a second, alternative
configurati on - each loop will still be subject to interactions from the other
loop, but this time, the interactions will come about via the g11 and g22 elements
in Eqs. (21.1) and (21.2). .
It seems reasonable that, as long as we intend to use two single-loop
controllers for this 2 x 2 system, we should pair the input and output variables
such that the resulting interaction is "minimum" ; in other words, since there are
two possible input/ output pairing configurations for this particular system, it
would be to our advantage to choose that configuration that results in smaller
net interaction among the variables. This strategy works well for the great
majority of processes; however, one should be aware that there are more
complex control system designs that try to use the interaction s rather than
eliminate them.
To proceed logically to determine which input/ output pairing configuration
to use for the multiple, single-loop control strategy, we must have a means of
discriminat ing between the N! different configurations ~ble with an N x N
system. This means we must be able to quantify the interactions experienced by
the process under each configuration.
Loop1
___ ...
I
-----,
- ______ .,...______ .
I
T
Note that each loop can be opened or closed. When both loops are open,
then m 1 and m2 can be manipulated independently and the effect of each of
these inputs on each of the outputs is represented by the following transfer
function model:
(21.3)
(21.4)
When a unit step change is made in the input variable ml' with all the
loops open, the output variable y1 will change, and so will y2, but for now we
are primarily interested in the response in Yr
After steady state has been achieved, let the change observed in y1 as a
result of this change in m1 be referred to as lly1m; this represents the main effect
of m1 on y1• Observe from Eq. (21.3) that:
(21.5)
Keep in mind that no other input variable apart from m1 has been changed,
and all the control loops are opened so that there is no feedback control
involved.
726
MULTWARIABLE PROCESS CONTROL
• Experiment 2: Unit step clumge in nit With Loop 2 closed
.
In this "experiment," the same unit step change imple mente
first "experiment" will be implemented; howe ver, d in m1 in the
this time, Loop 2 is closed,
and the contro ller Kcz is charg ed with the responsibil
ity of using the other
input variable m2 to ward off any upset in y occur
2 ring as a result of this step
chang e in mr Note that Figure 21.1 shows that m
1 has both a direct influence
on y1 and an indire ct influence with the path given
by the dotted line. In
partic ular the following things happe n to the process
due to the chang e in m1:
1. Obviously y1 changes because of Kw but becau
se of interactions via the
g21 element, so does y2 •
(21.6)
~Ylm
All = ~y,*
or
~Ylm
Au
= ~Ylm + ~Ylr (21.7)
,. CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 72 7
This quantity is a measure of the main effect of m1 on y 1 compared to the total
effect including the effect it provokes from the other controller, since it cannot
control y1 without upsetting y2 • Thus the quantity, ~1 , provides a measure of
the extent of interaction in using m1 to control y1 while using m2 to control y2•
Observe that we can now perform a similar set of "experiments" that, this
time, investigate the candidacy of m2 as the input variable to use in controlling
Yr By properly interpreting the measures calculated from Eq. (21.7), we can
quantify the degree of steady-state interaction involved with each control
configuration, and thus determine which configuration minimizes steady-state
interaction.
• m1 does not affect y2, in which case there is no retaliatory control action
frommpor
• m 1 does affect y2, but the retaliatory control action from m2 does not
cause any changes in y1 because m2 does not affect y 1•
Under such circumstances, observe that m1 is the perfect input variable to use in
controlling y 1, because we will then have no interaction problems.
This indicates a condition in which m1 has no effect on y 1, for only then will
Ay 1m be zero in response to a change in m1 • Observe that under these
circumstances, m1 is the perfect input variable for controlling not y1 but y2: since
m1 does not affect y1, we can therefore control y2 with m1 without interacting
with y 1 at all.
iJyi)
(am.
1
= open J all loops
Aij ~av~--~_u~~~~~-- ---
(21.8)
open-loop gain ) .
=( closed- loop gain for loop 1 under the control of m;
When the relative gain is calculated for all the input /outpu
t combinations of a
multivariable system, and the results are presen ted in
an array of the form
shown below: ·
the result is what is known as the relative gain array (RGA) or the Bristol
array. The RGA was first introduced by Bristol [1] and has become the most
widely used measure of interaction.
2. A;i is dimensionless; therefore, neither the units, nor the absolute values
actually taken by the variables mi, or Yi' affect it.
4. Let K;/' represent the loop i steady-state gain when all the other loops
- excepting this one - are closed, (i.e., a generalization of Eq. (21.6)
for the example 2 x 2 system), whereas Kii represents the normal, open-
loop gain. By the definition of A.ii' observe that
1 (21.11)
Kq* == :;tKii
ij
(21.13)
(ay.)
-
dm1
-K
all loopJ open - II (21.14)
(21.15)
(21.16)
(21.17)
(21.18)
where
(21.19)
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 731
(21.20)
and
(21.21)
A= [
1
1-~
-=....{_]
1-~
-=....{_ _1_
(21.22)
1-~ 1-~
Note carefully that the elements add up to unity across any row as well as down
any column.
It is useful to observe that if we define:
(21.23)
.t
A- [ (21.24)
1-.t
(21.26)
It is impo rtant to note that the above
equa tion indicates an element-by-element j
mult iplic ation of the corre spon ding elem
has noth ing to do with the stand ard matr
ents of the two matrices K and R; it ~l
ix prod uct.
Let us illustrate this proc edur e with the
following examples. I
Exam ple 21.1 RGA FOR A GENERAL 2 x 2 SYSTEM
USIN G MATRIX
MET HOD S.
Solut ion:
(21.2 7)
I [
R = (K-1 ) T = -,I
K22
(21.29)
K -K 12
(21.3 0)
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 733
or
(21.31)
*
which, for K11K22 0 simplifies to:
.:til= - 1- (21.32)
1 - '
with
(21.33)
exactly as we earlier obtained in Eqs. (21.18) and (21.19). By considering each element
of the K and R matrices, we can generate an expression for each of the other-\·
The following are examples of how to calculate the RGA for some specific
systems.
Find the RGA for the Wood and Berry binary distillation column whose lransfer
function matrix is as given in Eq. (20.26).
Solution:
For this system, the steady-state gain matrix is easily extracted from the transfer
function matrix by settings =0, giving:
K = G(O) = [
12.8 -18.9 J (21.34)
6.6 -19.4
K-1 = [
0.157 -0.153 J (21.35)
0.053 -0.104
R - (K- 1)
T
-
[ 0.157 0.053 J (21.36)
-0.153 -0.104
and a term-by-term multiplication of Kij and rij now gives the RGA as:
Solu tion:
K-1
2.955 -0.6
0.0083]
[ 1066 -0.79 7 -0.00 5
(21.40)
61.157 18.405 1.748
so that:
2.955 1.066
61.157 ]
R = (K-l) T = [ -06 -0.79 7 18.405
(21.41)
0.0083 -0.00 5 1.748
From here, a term- by-te rm multi plica
tion of the elem ents in Eqs. (21.39) and
indic ated in Eq. (21.26), now gives the (21.41), as
comp lete RGA for thls system as:
CHAP 21 INTERACI'ION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 735
Observe carefully that the elements sum to unity across any row, and down any
mlmnn.
3. 0 < l;; < 1, indicating that the open-loop gain between Y; and m; is
smaller than the closed-loop gain:
736 MULTIVARIABLE PROCESS CONTROL
• Implication for loop interactions: since the closed-loop gain is the
sum of the open-loop gain and the retaliatory effect from the other
loops:
(a) The loops are definitely interacting, but
(b) They do so in such a way that the retaliatory effect from
the other loops is in the same direction as the main effect of
miony1•
Thus the loop interactions "assist" m1 in controlling y1• The extent of
the "assistance" from other loops is indicated by how close A.ij is to
0.5.
When A.11 = 0.5, the main effect of m1 on y1 is exactly identical to the
retaliatory (but complementary) effect it provokes from other loops;
when A.1i > 0.5 (but still less than 1) this retaliatory effect from the
other interacting loops is lower than the main effect of m on y ; if,
1 1
however , 0 <A-11 < 0.5, then the retaliato ry effect is actwilly more
substantial than the main effect
4. A.11 > 1, indicating that the open-loop gain between Y; and m is lilrger
1
than the closed-loop gain:
• Implica tion for loop interactions: the loops interact, and the
retaliatory effect from the other loops acts in opposition to the main
effect of mi on y1 (thus reducing the loop gain when the other loops
are closed}; but the main effect is still dominan t, otherwis e A. t will
1
be negative. For large ~/ values, the controller gain for loop z will
have to be chosen much larger than when all the other loops are
open. This could cause loop i to become unstable when the other
loops are open.
• Pairing recommendation: The higher the value of A.q- the greater the
oppositi on m1 experiences from the other control loops in trying to
control y1; therefore, where possible, do n~t pair m with y if A. .
1 1 11
takes a very high value.
5. A.11 < 0 ; indicating that the open-loop and cl~ed-loop gains between
y1 and m1have opposite signs:
• Implica tion for loop interactions: the loops interact, and the
retaliatory effect from the other loops is not only in opposition to
the main effect of m1on y1, it is also the more dominan t of the two
effects. This is a potentia lly dangero us situation because opening
the other loops will likely cause loop i to become unstable.
I 0 0 0
0 0 0
A= 0 0 0
0 0 0
in which each row, and each column, contains one and only one nonzero element
whose value is unity. Such an RGA is obtained when the process transfer
function matrix is diagonal, or triangular; the first indicates no interaction
among the loops, while the latter indicates one-way interaction (see example
below and problems at the end of the chapter). It is easy to pair the input and
output variables under these circumstances.
The case of one-way interaction requires some further discussion. Consider
the 2 x 2 system with the following lower triangular transfer function:
. ~J
_1
[ s + 1
G(s) = _ 3_ (21.43)
3s + 1
A=[~~] (21.44)
Note that because the element gu(s) is zero, the input m2 has no effect on output
y1 and thus any control action in Loop 2 has no effect at all on Loop 1 (cf. Figure
21.1). However, the input m1 does influence the output y2 through the nonzero
g21 (s) element. Thus upsets in Loop 1 requiring control action by m1 would
appear as a disturbance, g21 (s) m 1(s), which would have to be handled by the
feedback controller of Loop 2. Hence, even though the RGA of Eq. (21.44) is
ideal, Loop 2 would be at a disadvantage. Thus in deciding on loop pairing one
should distinguish between loop pairings having ideal RGA's resulting from
diagonal transfer functions and those arising from triangular transfer functions.
The latter case will always have poorer performance under feedback control.
In the more common nonideal cases, the following pairing rule originally
published by Bristol [1] should be used:
• Rulel
Pair input and output variables that have positive RGA elements that
are closest to 1.0.
738
.MUL TNARIA BLE PROCESS CONTROL
Thus, for a 2 x 2 system with outp ut variables
inpu t variables m1 and m2, if the RGA is:
y1 and y2, to be paire d with
A = [ 1.5 -0.5
-0.5 1.5
J
recom mend s the 1-1/2-2 pairi ng in orde r to
avoid pairi ng on a nega tive RGA
element. (Despite the fact that pairi ng on
RGA value s great er than 1 is not
very desirable, to pair on a negative RGA value
is worse still.)
Thus, for the 2 x 2 Wood and Berry distillation
colum..1 whos e RGA was
calculated in Example 21.2 as:
A = [ 2.0
-1.0
-1.0
2.0
J
the 1-1/2 -2 pairi ng is recommended; in term
s of the actual process variables,
(see Example 20.6) this trans lates to using
the over head reflux flowrate to
control overh ead mole fraction of meth anol
(y - m1), and the botto ms steam
flowrate to control the bottoms mole fraction 1
meth anol (y2 - m2).
For the 3 x 3 distillation column of Example
21.3 with the RGA:
Niederlinski Index
Even thou gh pairi ng rule 1 is usua lly suffi
cient in most cases, it is often
necessary (especially with 3 x 3 and highe
r dime nsion al systems) to use this
rule in conjunction with stability cons idera
tions prov ided by the following
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE
-LOOP DESIGNS 739
theore m origina lly due to Nieder linski (Ref. [3]), and
later modifi ed by
Grosdi dier et al. (Ref. [4]):
1. Rational, and
2. Open-loop stable,
The following import ant points help us utilize this result proper
ly:
1. This result is both necess ary and sufficie nt only for 2 x
2 systems; for
higher dimens ional system s, it provid es only sufficient conditi
ons: i.e.,
if Eq. (21.45) holds then the system is definitely unstable; howev er, if
Eq. (21.45) does not hold, the system may, or may not be unstabl
e: the
stabili ty, will, in this case, depen d on the values taken
by the
control ler parame ters.
• Rule2
Thus, the strategy for using the RGA for loop pairing may be summarized as
follows:
1. Given the transfer function matrix G(s), obtain the steady-state gain
matrix K = G (0), and from this, obtain the RGA, A; also obtain the
determinant of K, and the product of the elements on its main diagonal.
2. Use Rule #1 to obtain tentative loop pairing suggestions from the RGA,
by pairing on positive elements which are closest to 1.0.
Calculate the RGA for the system whose steady-sta te gain matrix is given below,
and
investigate the loop pairing suggested upon applying Rule #1 (see Koppel, Ref.
[5]):
I
1 (21.46)
3
Solution:
By taking the inverse, and calculating the RGA in the usual manner as illustrated
in Example 21.3 we obtain the following RGA:
A= [ -~~5 ~· 5 -4.5]
4.5 (21.47)
-4.5 4.5 I
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 741
from which, by Rule #1, the 1-1/2-2/3-3 pairing is recommended.
According to this pairing however, the steady-state gain matrix for the system has
determinant given by:
Thus, for this system, according to Eq. (21.45) this pairing will lead to a negative
Niederlinski index and an unstable configuration.
A= [ ~~5 ;:
~-5]
-4.5 4.5
N _ 4/27 _ .i.
- 5/3 - 45
K = G(O) = [ o\
-2
2
-3
-0.1 ]
-1 (21.50)
742 MULTIVA.RIABLE PROCESS CONTROL
with a deter mina nt, I K I =0.53. The RGA for this syste m is:
(21.52)
The second approach is usually less tedious than the first one,
and is therefore
more popular.
It should not come as a surpris e that RGA's for nonlinear
system s are
distinguished by their dependence on specific steady-state proces
s conditionS.
As we may recall from Chapter 10, it is the nature of nonline
ar process systems
for characteristic process parame ters to be different at differe
nt steady -state
operat ing conditions. Thus, while RGA's for linear systems
consist only of
constant elements, the RGA's for nonlinear systems are functio
ns of process
steady-state operating conditions and will therefore change as
these operat ing
conditions change.
We shall now presen t examples to illustrate these two proced
ures for
obtaining RGA's for nonlinear systems, and how such RGA's are
used for loop
pairing .
X = (21.54)
(21.55)
whic h is linear, and:
(21.56)
(21.59)
Thus , when the secon d loop is close d,
to perfo rm its task of maintaining the mole
fracti on of mate rial A at :x•, m will respo
2 nd to any chang es in m1 as indic ated in
Eq. (21.59). If we now intro duce this into Bq. (21.55
) we will have:
or
(21.60)
an expre ssion that repre sents the chang
es to expec t in F as a resul t of changes in
when the second loop is closed. From here, differ m1,
entia ting with respe ct to m now gives:
1
iJF )
( iJm 1
1 second loop closed = :x* (21.61)
CHAP 21 INTERACTI ON ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 745
(21.62)
A- [
x* 1- x* J (21.63)
1 - x* x*
1. The RGA is dependent on the particular steady-state value x"' desired for the
composition of the blend; it is not constant as was the case with the linear
systems we have dealt with so far.
2. The implication here is that the recommended loop pairing will depend on our
steady-state operating point
1. If x" is close to 1, the first implication, from Eq. (21.56), is that m1 (which
represents the flowrate of pure material A) is larger than m2, the other
flowrate- From Eq. (21.63) the recommended pairing in this case is F- m1 and
x - m2, i.e., the larger flowrate is to be used in controlling total flow, while
the smaller flowrate is used to control the composition.
2. That this is the most reasonable pairing can be seen by examining the physical
system: when the product composition is close to 1, we have almost pure A in
the blend, and the total flowrate can be modified quite easily using the
flowrate of A, without affecting the composition too drastically; similarly, if
we wish to alter the composition, the addition of small amounts of material B
can cause significant changes in the composition without altering the
flowrate significantly. Thus, the flow controller will not interact strongly
with the composition controller if this F- m1 and x - m2 pairing is used. By
contrast, if the alternate pairing configuratio n is used, the interactions
between the two control loops will be quite severe.
Solu tion:
(21.64)
A (21.65)
where we see again that the RGA depends on the steady-state operating temperature
T5' and as such, we will expect different loop pairing suggestions for different steady-
state operating conditions. (It is interesting to note that the RGA is not directly
dependent on the steady-state level h5 .)
To illustrate these points, let us introduce numerical values for the parameters of
this process as follows:
We will now investigate loop pairing for this process under four different steady-state
operating conditions:
Upon examining the physical process, we immediately see that this is the only
reasonable thing to do: the cold stream temperature (ts•q is much farther away from
the steady-state operating tank temperature (55°C) than the hot stream temperature
(65°C). As a result, small changes are required in the cold stream flowrate in order to
produce noticeable changes in the tank temperature, making it possible for the
temperature controller to do its job effectively without causing much upset in the liquid
leveL
Conversely, because the hot stream temperature is closer to the operating steady-
state tank temperature, it can be used to control the level without causing significant
changes in the tank temperature.
Note therefore that the alternative pairing (hot stream to control temperature, and
cold stream to control level) will cause significantly more pronounced problems due to
loop interactions, and will therefore not be as effective.
.... .... .. ~ J
v llKlli8l..E PROC
Contlition 2: ESS CONTROL
T1 < 40°C (In parti
cular Ts = 25°Q
We now have a situa
to the cold stream tion in which th
temperature. The RG e operating steady-state temperature is
values, is: A in this case, upon clo
introducing the num ser
erical
A = [ 0. 2 0. 8]
0.8 0. 2 (21.67)
and the RGA recom
men
condition 1: the 1-2/2 ds a pairing which is the reverse of th
-1 pairing, in which at recommended un
: der
Uquid level (y ) is co
1 ntrolled by the cold
Temperature (y:z) is stream ("'2}, and
Again, from physica controlled by the ho
l considerations, thi t stream (lilt)·
configuration th at s makes perfect se
variables.
minimizes t."e ste
ady-state interactio nse, since this is the only
n effects among th
e process
Condition 3:
In this case, the op
stream temperatures erating temperature is exactly equidista
. The RGA in this ca nt from the cold and
se is: hot
A = [ 0.5 0. 5]
0.5 0.5 (21.68)
and, as we might als
o expect from the ph
ba d. ysics of this situatio
n, either pairing is eq
ually
Contlifion 4:
In this case, the ta
Observe that the RG nk is to operate at the same tempe
A in this case is: rature as the hot str
eam.
(21.69)
an d it suggests th
at we can achieve
wi th the temperatu perfect control of th
re if we use the ho e level without in
t stream for this pu terac
obvious fact th at va
riations in the hot rpose. It also indica ting
temperature. stream flowrate ar tes the
e not able to affect
the tank
These simple ex
indeed be us ed fo amples have therefore demonstrate
r d
sometimes recom nonlinear as well as for linear syste that the RGA can
mends different pa ms. That the RG
confirms to us that iring A
even though the an s at different ~perating conditions
linearized models, alysis has been ba
this cardinal prop
erty of nonlinear sy sed on approximate
stems is not lost.
21.6 LOOP PAIRING
INTEGRATOR MFOR SYSTEMS WITH PURE
ODES
Since interaction
analysis via the
information, a pa RGA involves us
rticularly interest in g steady-state
processes that cont ing situation arise
ain pure integrator s when dealing w
show no steady sta elements, since pu ith
te. re integrator elemen
ts
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 749
Even though McAvoy [7] has several suggestio ns as to what might be done
in such cases, we use the following example to suggest an alternativ e way of
dealing with systems of this nature.
The transfer function for a 2 x 2 subsystem extracted from the 3 x 3 model obtained by
Tyreus [8] for an industrial de-ethanizer is given below. Obtain the RGA for this
system and use it to recommend loop pairing:
G(s) =
[
1.318e-2.5s
20s + 1 -4s]
-:!~___
3s
(21. 70)
0.038(182s + I) 0.36
(27s + 1)(10s + 1)(6.5s + l) s
Solution:
1
I= -
s
We then have:
1.3.18 -/ ]
K = lim G(s) = lim [ 3 (21. 71)
s-+O /-+oo 0.038 0.36/
Thus the relative gain parameter for this system may be obtained from Eqs. (21.18),
(21.19), and (21.71) to yield:
,t = lim
I-+..
(I + 0.03; X 0.333/)
1.138 X 0.36/
(21.72)
,t = 0.97 (21.73)
A= [
0.97 O.QJ J (21.74)
0.03 0.97
[~;]
1.11e-6.5s -0.012e-1. 2•
3.25s + 1
-33.68e-9·2•
7.09s + I
0.87(11.61s + l}e-•
[::] (21.75)
where the input variables m1 and m2 are, respectively, the overhead reflux rate and the
reboiler steam pressure.
It is impossible to control all three output variables with only two input
variables; however, the sidestream mole fraction of ethanol is deemed the least
important of the output variables, leaving two output variables to be controlled with
the two input variables. How should these input and output variables be paired?
Solution:
Upon deciding to leave the control of the sidestream composition out of the control
scheme, we may now rewrite the model as:
0.66[2•6• -0.0049e-• ]
[
6.1s + 1 9.06s + 1 [ J (21.76)
-33.68e-9 ·2' 0.87(11.6ls + 1)e-• ::
8.15s + 1 (3.89s + 1)(18.8s + 1)
The modified (square) subsystem's steady-state gain matrix is obtained from Eq. (21.76)
as:
i [ o.66 -0.0049 ]
(21.78)
-33.68 0.87
Note that according to this control scheme, as indicated in Eq. (21.77), the
sidestream composition will drift as the values of m1, and m2 change, but that is the
nature of underdefined systems: we can only achieve arbitrarily good control of two
out of the three output variables and accept the drift in the third one.
752
MULTIVARIABLE PROCESS CON
TROL
This example has sho wn that
for und erd efin ed systems, the
choose a square subsystem by dro stra teg y is to
ppi ng off the excess num ber of out
on the basis of economic importa put variables
nce; the subsequent analysis is
square systems. the same as for
[
o.se-0.2s
3s + I
0.07e-0.3s
2.5s + I
0.004e-O.Ss - 0.003e-()· 2•
l [
m1
mJ
(21.81)
l.5s + 1 s + I
0.5e-O.Zs 0.04e-0.03s ]
[ 3s + 1 2.8s + 1 m1
(21.82)
=
0.004e...o.ss - 0.00le...o· 4 ' [ mJ
1.5s + 1 l.6s + 1
[y
Yz
1]
=
0.07e...O.Js
[ 2.5s + I
0.04e-0 .0 3s
2.8s + 1
- 0.003e-().2s - O.OOie-0•4•
l [mz]
m3
(21.83)
s + I 1.6s + I
are:
Next we obtain the RGA's for each subsystem; the results
For Subsystem 1:
[
0.843 0.157 J (21.84)
0.157 0.843
For Subsystem 2:
- [ -1.4 2.4
11.3 -
J (21.86)
2.4 -1.4
(21.87)
3. The RGA (or any of its newer dynamic variations) only suggests
input/ output pairings for which the interaction effects are minimized;
it provides no guidance about other features which may influence the
pairing. Thus this is the topic of the next subsection.
1. Constraints on the input variable: It may happen that the best RGA
pairing results in a choice of input variable for Y; that is severely
limited by some constraints (maximum feed concentration, maximum
heater power, limited heat duty, etc.) so that it cannot carry out the
control task assigned. In this case, another pairing might perform
better even with increased steady-state interactions.
(Tc - Ts)
Achs<s + a 22 )
whe re all' lln are give n by Eq.
(20.24).
Now the three possible squ are
sub syst ems of this ove rdet erm
gain arra ys as follows: ined syst em yield relative
A=[~~]
3. Fe, Q as man ipul ated vari
able s:
A=[~~]
If we wan t the stea dy-s tate
tank tem pera ture to be T = TH +Te
theR GA is: 5 --2 - , then for Sub syst em 1,
A [ 0.5 . 0.5 J
0.5 0.5
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 757
so that either Subsystem 2 or 3 using the in-tank heater would be preferred based on
RGA analysis. However, suppose that the in-tank heater has limited power and can
barely achieve the steady state, T" at maximum power. Thus it would not be a
desirable choice for regulatory temperature control. In this case, Subsystem 1 with the
poor RGA pairing would be better than using such a low-power heater.
Suppose that in order to overcome the heater power limitation, a much larger
heater was installed in the tank, but because of its massiveness it has a very large time
delay between the control signal and the actual power delivery. The poor RGA choice
of Subsystem 1 could still be the best choice because of the sluggish closed-loop
response with the heater.
Consider the in-line blending problem of Example 215. Recall that when we wish a
blend which contains 20% species A, the RGA is:
A =[ 0.2 0.8]
0.8 0.2
Based on RGA analysis alone, pairing the total flowrate, yp to the flowrate of A, m1,
and the blend composition, y2, to the flowrate of B, m2, would not be a recommended
pairing. However, if the flow measurement and valve dynamics were very rapid, then
the dosed-loop response of the y1 - m1 loop would be extremely fast (on the order of
seconds). By contrast, if the composition analyser had a significant time constant (on
the order of minutes), then the y2 - m2 loop would be 10- 100 times slower than the
y1 - ~ loop. In this case, timescale decoupling would mean the control loops could be
considered virtually independent of each other, and no serious interactions would
occur.
s_+21 ]
G(s) :: [ IO•> I (21.88)
- 4
s + 1 I Os + 1
A :: [ 0.8 0.2 ]
0.2 0.8
0 1 2 3 4 6
1.0
0.5
0.0
0 1 2 3 4 5
Fig ure 21.4. Set-point response for adv
erse RGA pai rin g in Exa
mple 21.12.
CHAP 21 INTERACTIO N ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 759
Since our primary objective in this chapter is really the design of effective
multiple single-loop controllers for multivariable systems, the amount of time
invested in discussing the issue of input/ output pairing should give an
indication of how important this aspect is in the overall scheme of multiloop
control systems design. The crucial point is that if the input and output
variables making up the control loops are poorly paired, it will be exceedingly
difficult or even impossible to design a successful multiloop control system.
Having covered the first half of this design task in earlier portions of this
chapter, it now remains to discuss the issue of tuning the individual controllers.
Before we do this, however, it is useful to indicate how the RGA analysis can
be used to indicate the expected performance of a multiple single-loop control
strategy.
It should not be surprising that when the RGA for the process is close to the
ideal, (i.e., A;; very close to 1) that multiloop controllers are likely to function
very well if carefully designed. However, when the RGA indicates strong
interactions for the chosen loop pairing and especially when the input and
output variables are paired on values of }.ij that are very large or negative,
multiloop controllers are not likely to perform well even for the best possible
tuning.
If, based on an analysis of the expected extent of loop interaction, the
decision is made to proceed with a multiple single-loop control strategy, one
must now consider how to tune the individual controllers.
A = [ 2.0 -1.0
-1.0 2.0
J
S 761
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGN
10 20 30 40 50
0
-19.4 e- 3•
Y2(s) !4.4s + 1 uz(s)
10 20 30 40 50
0
.,~ (a)
1. 00
0. 75
Yt
0.50
0.25
0.00
0 10 20 30 40 50
t
1. 0
(b)
0. 5
y 2 0.0
-0.6
-1.0
I I I I I
0 10
I I I I I
20 30 40 50
1.00
y 1 0.75
0.50
0.25
0.00
0 10 20 30 40 60
1.0
(b)
0.6
Y2 0. 0 +----1
-0.5
0 10 20 30 40 60
Figure 21.8. Closed-loop response with both loops closed and "detuned" controllers:
(a) Y1' (b) Y2·
Figure 21.7. Thus we must detune both loops. Using the detuning rule in Eq. (21.89),
for A.= 2 we see that the original controller gains must be multiplied by a factor of 0.59
so that the new tuning is:
The closed-loop performance of the multiloop system with these new parameters is
shown in Figure 21.8. Now the process is stable and has better closed-loop response
with the new tuning parameters. The response could be further improved by continued
adjustment on the tuning parameters.
764 MULTIVARIABLE PROCESS CONTROL
Other techniques that may be used include optim izatio
n proced ures that
minim ize the weighted sum of the integral-squared error
for all the loops
(recall the discussion of these in Chapter 15) and model
-based tuning (to be
discussed in Chapter 22).
REVIEW QUESTION S
4. Why is a single element of the RGA sufficient to determine the entire array for a 2 x 2
system?
5. Qualitatively, what is the implication for loop interaction when the ijth element of a
multivariable system's RGA:
• Is equal to 1?
• Is equal to 0?
• Lies between 0 and 1?
• Is greater than 1?
• Is equal to 1?
• Isnegative?
6. What is the ideal RGA, and under what condition can it be obtained?
7. Why is the RGA for a process in which the loops experience no interactions identical
to the RGA for a process in which the loops experience one-way interaction?
9. What is the Niederlinski index, and how is it useful for loop pairing?
10. How is loop pairing carried out for nonlinear systems using the RGA?
13. How is the loop pairing problem for underdefined systems fundamenta lly different
from the loop pairing problem for overdefined systems?
14. What is the procedure for applying the RGA for pairing the input and output variables
of an overdefined system?
15. How can the RGA be obtained and used for loop pairing in the absence of process
models?
17. Even though the RGA is the most widely used loop pairing tool, what are some other
important factors that should guide the final choice in this matter?
18. What is the procedure for designing multiple single-loop controllers for multivariable
systems?
19. After designing each individual single-loop controller in a multiloop control system
independently, why is it necessary to detune them when all the loops operate
simultaneously?
766 ~TIV~LEPROCESSCONTROL
PROBLEMS
r'~] = [ 2.~~8! 1 0
(P21.1)
L,2 0.55 -0.013
4.36 + 1 3.56 + l
where, in terms of deviations from their respective steady states, the input and
output variables are:
y1 = Polymer production rate (gm/min)
y2 = Weight average molecular weight
m1 = Monomer flowrate (gm/min)
m2 = Chain transfer agent flowrate (gm/min)
Not included in the model is the effect of the catalyst flowrate; for the experimental
system this was permanently set at a fixed value.
(a) First study the given transfer function matrix; does it show any evidence of
interactions between the process variables? Which output variable is expected to
be more susceptible to the effect of interactions and why?
(b) Calculate the RGA for this process. What does this suggest in terms of
input/output pairing and the loop interactions resulting from such a pairing
scheme? Interpret your results in light of your initial assessment in part (a).
21.2 (a) Assuming a Ycm1 I y2-m 2 pairing, design two independent single-loop PI
controllers for the polymer reactor of Problem 21.1 using Cohen-Coon settings.
What are the recommended oontroller parameters?
(b) Using your favorite simulation package, obtain the response of the overall
closed-loop system to a set-point change of 100 gm/min in the polymer production
rate (with no change desired in the weight average molecular weight), using the
controllers you designed in part (a). Plot the responses of all the process input and
output variables. Evaluate the performance of these controllers.
21.3 A pilot scale distillation column used for separating a binary mixture of ethanol and
water is modeled by the following transfer function matrix~model:
0.7e-2.6s
6.1s + 1
-O.oose- 8
]
[ 9.ls + 1
G(s) = (P21.3a)
· -34.7e-9·26 0.9(11.6s + i)e-8
8.2s + 1 (3.9s + 1)(18.8s + 1)
The process variables are (in terms of deviations from their respective steady-state
values):
y1 = Overhead mole fraction ethanol
y2 Temperature on Tray #19
m1 Overhead reflux flowrate
m2 Reboiler steam pressure
d1 Feed flowrate
d2 Feed temperature
It is desired to design two single-loop feedback controllers for this process with
Controller 1 to regulate y1, and Controller 2 to regulate y2 . Which input variable
(m 1, m2) will be more advantageous to pair with which output variable (y1, y 2)?
Support your decision adequately. Comment on how well you think the best set of
single-loop controllers designed for this distillation column will perform.
21.4 The "low-boiler column" in a distillation train used to separate the products of an
industrial chemical reactor has the following experimentally determined
approximate transfer function model :
~0041 1
0.185
]
[ 0.0041s+ 0.37s +
-0.001 0.16
Gj..s) = 0.0002:5s + 1 0.4s +
(P21.4b)
The distillation column variables are (in terms· of deviations from their respective
steady-state values):
[ 0.,.~~ 0.07e-O.Js
mo del wa s obtained:
0.0 4e-0· 3•
0.01<~~]
[~;]
3s + 1 2.5 s + 1
:.~;;:.
1.5 s + 1
=
0.00:e-O.Ss
0
-O.OOJe-0· 2•
0
-0.006e-0.4s
1.l s +I
[=:]
m3
I. 5s + 1 s +I 0 m4
1.6s + 1
Which inp ut/ out put pairing
configuration is expected
mu ltip le single-loop con to give the bes t results for
trol strategy? [Hint : One a
can be detected by inspection; eliminate this input/output pair is
obviou
pairing problem.] to reduce the problem to a 2 s and
x 3 loop
CHAP 21 INTERACTION ANALYSIS AND MULTIPLE SINGLE-LOOP DESIGNS 769
21.6 The following is a transfer function model representing the dynamic behavior of
certain portions of a hot oil fractionator:
m3
m
4
(P21.5)
21.7 (a) The following incomplete RGA was determined experimentally (after four very
long and tedious experiments) for a 3 x 3 system with outputs y1, y2, y31 to be paired
with the inputs m 1, m 2, m 3 • Is there enough information to determine an
input/ output pairing? If so what input/ output pairing is recommended?
[ ~ 0~8 ~·6 ]
--0.2 --0.2 ?
(b) The same strategy as that used in part (a) was used to generate the following
incomplete RGA, this time for a 4 x 4 system with outputs y1, y2, y3' y4 to be paired
with the inputs m1, m2, m3 and m4• What input/output pairing is recommended?
0.15 ?
? 0.29
3.31 0.27
? ?
21.8 The following 4 x 5 transfer function matrix model was developed by Congalidis,
Richards, and Ray [Proc. ACC, 1986, pp. 1779-1793] for a CSTR used for solution
copolymerization of methyl-methacrylate (MMA) and vinyl acetate (VA):
where, in terms of deviations from their respective steady states, the four output
variables are:
SYSTEM B: K =[ -l.O
-1. 0 -0. 4
0. 4 J
SYSTEM C: K = [ 2.30 1. 10 ]
·
1.14 0.55
(a) Wh at do the RGA's
for these systems sug ges
single-loop controllers t regarding hC;lw well we
to wo rk in eac h case? can expect
(b) Examine the steady
-state gai n matrix for
contain abo ut inherent sys tem C carefully; wh
process characteristics at clues do es it
(c) Of the tw o system wh ich are reflected in
s A an d B, wh ich wo uld the RGA?
SUpport your answer you expect to be easier
adequately. to control?
21.10 The dru g Hydro
chlorothiazide (trade na me
blo od pressure in elderl "Diazide") is sometime
y patients. Because it is s use d to regulate
a substantial increase also a diuretic, its main
in uri ne production, sid e effect is
wh o are quite often alr an un ple asa nt pro ble
eady pro ne to incontine m for the eld erl y
ant isp asm od ic dru g Ox nce. To counter this
ybutynin (tr ade na me uD sid e effect, the
well. However, quite itropan'') is oft en pre
apa rt from the cost of scr ibe d as
increase ocular pre ssu the medication, Oxy'b
re an d can therefore be utynin is kn ow n to
qu ite dangerous for tho
se pat ien ts
CHA P 21 INTE RACT ION ANAL YSIS AND MULTIPLE
SINGLE-LOOP DESIGNS 771
with glaucoma. As an alternative, a less
expensive experimental drug "OGZ "
purported. to have much milder side effect
s is being tested unde r strictly controlled
conditions for use in conjunction with Hydr
ochlorothiazide. Preliminary results
show that altho ugh the expe rimen tal
"OGZ " can coun terac t the increased
prod uctio n of urine , in what appe ars remin
iscent of the type of interactions
experienced by multivariable chemical proce
sses, it also causes a slight increase in
blood pressure, perha ps as a result of some
yet unidentified chemical int&action
with the active ingredient in Hydrochlorothiazi
de.
Tests carried out on a certain patie nt indic
ates that the effect of regular doses of
Hydrochlorothiazide and the drug "OGZ"
may be repre sente d by the following
approximate transfer function model:
0.0005e--O.ISs ]
0.21 s + 1
-0.02
[ul] (P21.6)
~
0.2ls + 1
where, in terms of deviations from their respe
ctive stead y states, the four variables
are:
22
DESIGN OF MULTIVAR IABLE
CONTROLL ERS
22.1 INTRODUCTION
In this chapter we will assume that the simple approach of Chapter 21
involving good loop pairing and appropriate tuning of multiple single-loop
controllers has not produced a control system that meets the requirements of the
process. Thus it is necessary to design a true multivariable controller that acts
on data from all the process outputs and makes adjustments to all the process
inputs in response to a disturbance or set-point change. To make this more
77~
J' II 'I
explicit, le t us M U LT NARIABL
ad op t the nota E PROCESS CO
tion in tr od uc ed NTROL
after in pu t/ ou in C ha pt er 20
tp ut pairing ha an d assume th
an d th at th e s be en carried at
sy st em ha s be out, the in pu t
Y n- Un pairings en co nf ig ur ed variables becom
. w it h th e y 1 - u e ui ,
U nd er th e m 1, y 2 - u 2 , ••• ,
ul ti pl e, in de pe
controller g, op nd en t, single-l
erates accordin oop co nt ro l st
I g to: ra te gy , ea ch
or
O n th e ot he r ha (22.1)
nd , a true multiv
only ei, bu t us a.
in g the entire se .riable controller m us t decide
obtained from: t, Et, ~~ ... , £ • on ui, no t using
11 Thus, th e cont
roller actions ar
e
Ut = ft<e •• e2, ... , en)
u2 = /2 (e l' e2, ... , ell)
u3 = !3 (e " £2, ... , en>
= (22.2)
.UII = fn (Ep £2, ... , £11)
The de si gn prob
lem is therefor
each of th e ou e
tp ut errors is dr th at of determining fl ), / (.)
re du ce s to de iven to zero in 2 , ... , / 11 (.) so
th at
si gn in g th e co an acceptable fa
el im in at ed , or ntroller su ch shion; this ofte
at least signific th at th e in te ra n
principle be hi antly re du ce d. ct io n effects ar
nd ho w th e fu In a ve ry general se e ·
w ha t distinguis nctions in di ca ns e, th e
hes one multiv te d in Eq. (22.
ariable control 2) are
representative
examples will technique from de te rm in ed is
serve to illustra another. A few
te this point.
• Decoupling
In decoupling,
as sh ow n in Fi
ad di ti on al tran gures
sfer function bl 22.1 an d as discussed in mor
co nt ro ll er s an ocks ar e in tr od e detail below,
d th e process, uc ed be tw ee n
in de pe nd en t co fu nc ti on in g as th e single-loop
ntrollers. The links be tw ee n
w il l therefore actu th e ot he rw is e
no w contain in al control action experienced
example, for a formation fr om by the process
gc ~~ if the "dec x 2 system, whose individual co l th e ot he r controllers; for
2 al
oupling blocks" nt
re~pectively, then for each loop ha roller ou tp ut s are gc Et an d
the control equa ve transfer func
tions are given
by:
tions g1 1an d g
1
~
1 2
an d
(22.3) ~
w hi ch are of th (22.4)
e form given in
taken in this ca Eq. (22.2) w it h
se by fi<Et,~), th e specific fu
andf2 (e ,~) nctional forms
1 sh ow n explicitl
y.
CHAP 22 DESIGN OF MULTW
ARLABLF. CONTROlLERS
775
(22.6)
(Under cer tain conditions, the
linearized transfer function mo
mixing tan k of Examples 20.3 del for the stir red
and 21.6 is actually of this form
Observe now tha t according .)
to Bqs. (22.5) and (22.6), the pro
of this sys tem interact wit h one cess variables
another; but by defining two
and J.l,_ according to: new variables Pt•
and (22.7)
(22.8)
the modeling equations becom
e
and
Yt = a(s) J.lt (22.9)
y2 = b(s) J.ll (22.10)
and J.t 1 doe s not inte rac t wit
h y2; nei the r doe s J.t inte rac
imp lica tion now is tha t ind 2 t wit h y1 • · The
epe nde nt con trol lers can be
transformed sys tem represent des ign ed for the
ed in Bqs. (22.9) and (22.10); the
will now be: control equations
(22.11)
776
MU LTI VAR IAB LE PROC
ESS CO NT RO L
an d
(22.12)
wh ere , of course, e; = (y
J.lz. are no t the real proces4~ - Y;)· No te however, tha t the new variables p. and
variables; we mu st no w 1
process inp ut variables, recover u 1 an d u 2, the act
from Eqs. (22.7) and (22 ual
res ult of the reverse tra .8), in terms of Jl.t, an d J.lz.·
nsformation is: The
Ill + ll2
ul =
an d 2 (22.13a)
Jl, - ll2
u2 =
2 (22.13b)
an d up on int rod uci ng Eq
s. (22.11) and (22.12) into
act ual con tro l equ ati on these equations, we ob tai
s wh ich , on the bas is n the
tra nsf orm ati on , will eli of the ind ica ted var iab
minate interactions from le
this process:
gel El + g c2 £2
ul =
an d 2 (22.14)
gc 1 £1 - gc 2 ~>2
u2 =
2 (22.15)
again, of the form in Eq
. (22.2).
Fin din g the app rop ria te
com bin ati on of process
tot al eli mi nat ion of, or, variables tha t will lea d
at lea st a red uct ion in, to
ten ds in gen era l to be the con tro l loo p intera
an "ar t" (see Refs. [1, 2]) ctions,
later, the concept of sin gu ; nev ert hel ess , as we will see
lar value decomposition
reg ard . can pro vid e guidelines
in this
Ha vin g thu s illu str ate
d the ge ne ral pri nci
mu ltiv ari abl e controller ple s an d con cep ts of
, we no w pro cee d to dis a
con tro lle r des ign tec hn cuss som e of the mu ltiv
iqu es in gre ate r detail ari abl e
att ent ion on thr ee things . In eac h case we wi
: ll focus
1. Principles beh ind
the technique
2. Re sul ts
3. Ap pli ca tio ns, inc
lud ing pra cti cal co nsi
uti liz ati on de rat ion s for eff ect ive
22.2 DECOUPLING
22.2.1 Principles of De co
up lin g Us ing In ter ac tio n Co mp
en sa tor s
Fro m ou r int rod uct ion
to mu ltiv ari abl e sys tem
sub seq uen t discussions s in Ch ap ter 20, an d
in Ch apt er 21, we kno
w tha t all the inp ut variab ou r
typ ica l mu ltiv ari abl e pro les of a
ces s are coupled to all
y1 - u 1, y2 - u2, ... , Yn - un cou its ou tpu t variables; the
plings are desirable (this ma in
is wh at ma kes it possib
le
CHAP 22 DESIGN OF MULTWARIABLE CONTROLLERS 777
to control the process variable in the first instance); it is the y 1 - u cross-
1
couplings, by which y1 is influenced by u1 (for all i and all j, with i '!! J), that are
undesirable: they are responsible for the control loop interactions.
It is therefore clear that any technique that eliminates the effect of the
undesired cross-couplings will improve control system performance. Note that
the purpose is not to "eliminate" the cross-couplings; that is an impossibility,
since to do this will require altering the physical nature of the system.
Observe, for example, that it is not possible to stop the hot stream flowrate
from affecting the tank temperature in the stirred mixing tank system of Figure
20.1, despite the fact that our main desire is to use this flowrate to control the
level; neither can we prevent the cold stream from affecting the level, even
though controlling the tank temperature is its main responsibility. We can,
however, compensate for the noted cross-coupling effects by carefully balancing
the hot and cold stream flowrates.
The main objective in decoupling is to compensate for the effect of
interactions brought about by cross-couplings of the process variables. As
depicted in Figure 22.2, this is to be achieved by introducing an additional
transfer function "block" (the interaction compensator) between the single-loop
controllers, and the process. This interaction compensator, together with the
single-loop controllers, now constitute the multivariable decoupling controller.
In the ideal case, the decoupler causes the control loops to act as if totally
independent of one another, thereby reducing the controller tuning task to that
of tuning several, noninteractin g controllers. The main advantage here is that
it will now be possible to use SISO controller design techniques.
The decoupler design problem is that of choosing the elements of the
compensator , G 1, shown in Figure 22.2, to satisfy usually one of the following
objectives:
Ir-------------------~t
;;.:Yd._+'"{)(:l--E-ti' v Gr • u G
: ~~~P teraction 1
1 controllera compensator,
---------------------
DecoupHngcontroller
Simplified Deco
upling
Let us st ar t by
observing the fo
in Figure 22.1: llowing im po rt
an t aspe cts of the block
di ag ra m
1. There ar e tw
o co mpensator bloc
ks g1 an d g , on
I 1 e for each loop.
2. We ha ve ad 2
op te d a ne w no
designated as v ta ti on : the co nt
an ro ll er
the process rem1 d v2, while the actual control ac ou tp ut s ar e no w
ains as u1 an d tion implemente
be ca us e th e ou u• d on
tp ut of the co 2 This distinction becomes ne
implemented on ntrollers an d th cessary
the process no lo e co nt ro l ac ti on
nger have to be to be
the same.
3. W it ho ut th
e compensator
, u1 =v1 an d u
remains as: =
2 v2, an d th e
process m od el
Y1 = 8 u "t + 81 2" 2}
Yz = 821 "t + 822"2 (22.16)
so th at the inte
ractions persist,
therefore affect since u2 is still
s y1 th ro ug h th cross-coupled w
e g 12 element, an it h
coupling th ro ug
h g21· d u1 affects y by an d
2 cross-
4. W it h the in
teraction compe
v 1 th ro ug h g nsator, Loop 2
1 , so th at u is "i nf or m ed "
ad ju st ed accor~ 2 - w of change
:lingly. The sa m ha t the process actually feels s in
which adjusts u e ta sk is pe rf or - is
1 w it h v2 inform m ed for Loop
ation. 1 by g1 ,
The design ques 1
tion is now pose
d as follows:
What should g
completely neul1 and & be if the effects of loop
ralizei! interactions are
to be
We will no w an '
sw er this question.
First, let us cons
ider Loop 1, in Figu
re 22.1 where th
e proc ess model is:
(22.17a)
(22.17b)
CHAP 22 DESIGN OF MULTWARIAB
LE CONTROLLERS
779
How eve r, bec aus e of the compen
sators, the equ atio ns gov erni ng the
acti on are: con trol
(22.18)
(22.19a)
(22.19b)
Now in ord er to hav e only v affe
1 ct y and to
eliminate the effect of v2 on y , it
is now eno ugh to choose g suc 1 1
. h . 1 h that the coefficient of v in Eq.
van tS es, 1.e: 1 2 (22.19a)
whi ch requires:
(22.20)
(22.21)
(22.22a)
and
(22.22b)
(22.23a)
an d
(22.23b)
If we no w recall Eqs.
(21.19) an d (21.23) as
pa ram ete r 1 for the the definition of the
2 x 2 system, we im rel
become: mediately see that Eq ative gain
s. (22.23a,b)
(22.24a)
an d
(22.24b)
implying tha t up on im
plementing simplified
loop steady-state gain de
in each loop is the rat coupling, the effective closed-
relative gain paramete io of the open-loop ga
r. Note tha t wh en 1 in an d the
loop gains become is
ve ry small,. an d contr very large, th~ effective closed-
jeopardized. We will ol sy ste m performan
return ce ma y be
It is no w im po rta nt to this point below.
dimensions lar ge r tha to no te th at wh en de ali ng wi th sy
n ste
potential of rapidly be 2 x 2, the simplified decoupling approa ms ·w ith
coming tedious. For ch ha s the
system is sh ow n in Fig exam
ure 22.4 where there are ple, the situation for a 3 x 3
design. More general
ly, an N x N system lea no w six compensator blocks to
same principles us ed ds
for the 2 x 2 system are to (N2- N) compensators. The
cumbersome work inv also applicable, bu t the
olved. re is more
CHAP 22 DESIGN OF MULTIVARIABLE CONTROU.E RS
781
Generalized Decoupling
A more general procedure for decoupler design may be outlined as follows:
y =Go (22.25)
(22.26)
so that:
(22.27)
(22.28)
(22.29)
4. Clearly, the co
mpensator obtain
chosen for GR. Th ed using Eq. (22.29) de
us the elements of pends on w ha t is
de si re d de co up le GR should be sele
d be ha vi or w ith cteq to provide th
defined in Eq. (22.2 th e e
9). A commonly em simplest possible decoupler
ployed choice is:
GR = Diag[G{s)]
(22.30)
i.e., the diagonal
elements of G(s)
diagonal matrix GR are retained as th
; however, other e elements of the
choices may be us
Relationship betw ed.
een Generalized
and Simplified D
"Gener alized" decoup
ecoupling
th at for simplified ling m ay be related to simplified
decoupling ap pl ie decoupling, by no
transfer function d to a 2 X 2 syst ting
matrix is given by em , th e compensat
: or
(22.31)
while for a 3 x 3 sy
stem, the compens
ator matrix Gr take
s the form:
(22.32)
[ (16. 7s + 1) e-2•]
ul = VI+ 1. 48 (21. 0s + 1) V2 (22.35)
U2 = Vz + [ 0.34 (14.(10.
4s + 1) e- 4•]
9s + 1) VI (22.36)
12.8e-•
-18. 9e-3' ]
[ l6.7 s + 1 2l.O s + 1
G(s) = 6.6e -1' (22.37)
-19. 4e-3'
10.9 s + 1 J4.4s + 1
MU LDV ARI ABL E PROCESS
CONTROL
and if we choose GR to be diag
onal elements of Eq. (22.37), then
:
-19.04e-3s ] (22.38)
14.4 s + 1
(22.41)
(22.45)
The actual imp lem enta tion of this
deco uple r mea ns that give n v ,
Loop 1 (ove rhea d com posi tion 1 the outp ut of the
) controller, and v2, the outp ut
composition) controller, the ove of the Loo p 2 (bot tom s
rhea d reflux rate, u1 will be dete
rmin ed from:
(22.46)
and the bott oms stea m flowrate
will be determined from:
(22.47)
with the deco uple r transfer func
tion elem ents as give n in Eqs.
and (22.45). (22.42), (22.43), (22.44),
CHAP 22 DESIGN OF MULTIVAR IABLE CONTROLLERS
785
These two examples clearly illustrate the advantage s and disadvant ages
of simplified versus generalized decoupling:
I
I I
Sin gle Decoupler 1 y
Delays Process
I
Loop 1
~---------------
Controllers --l
(22.4&)
wh ere D is a diagonal
matrix of tim e delays:
(22.49)
Th e simplified de co up
ler is the n de sig ne d by
rat he r tha n G, an d the us ing the elements of
ma tri x D mu st be ins Gm
as sh ow n in Figure 22. ert ed int o the co ntr ol
5. An example below loop
In the case of ge ne ral illustrates :this procedure
ize d de co up lin g, on e .
pro ce ss Gm as above, ma y us e the mo dif ied
or alt ern ati ve ly ad jus
dia go na l ma tri x, G R t the tim e de lay s in
in Eq. (22.29), in or the
G1 =(G D) -1 GR are cau de r tha t the ele me nts
of
sal. This is equivalent
ha ve the smallest de lay to requiring tha t G,R1 GD
in eac h row on the dia
gonal.
2. Sta bil ity : In ord er
to en su re the· stability
functions, it is necessar of the co mp en sat or tra
y tha t the cau sal ity co nsf er
an d tha t the re be no RH nd itio n above be satisf
P zeros of the process ied
req uir em en t for simpli G(s). This is an absol
fied de co up lin g an d red ute
uces to the condition tha
t
CHAP 22 DESIGN OF MUL TNARIABLE CONT
ROLLERS 787
there be no RHP zeros in the diagonal elem
ents of G and that the off-
diagonal elements of G be stable. For generalize
d decoupling this may
be relaxed by adjusting the dynamics of GR in
orde r that the elements of
G1 =G-1 GR be stable.
(22.52)
[ 1.48 (16.7 s +
21.0s + I
t)J
_ [0.34 (14.4 s + 1) e- 6 •]
g/2 - (10.9 s + 1)
788 MULTIVARIABLE PROCESS CONTRO L
and these are implemented together with the delay matrix, D(s). Note that
this
decoupling comes at a cost of an additional delay of one minute in Loop 2.
If we use generaliz ed decoupli ng for the process in Eq. (22.50), all the
compensators are causal except for:
which cannot be implemented. To remedy this we could use the D(s) given
by Eq.
(22.52) and let:
Alternatively, we could let D(s) =I and increase the time delay in the (2,2) element
of
GR to 4 minutes and have the same generalized compensator as in Eqs.
(22.42)-
(22.45), but now
Partial Decoupling
When some of the loop interactions are weak or if some of the loops need not
have high performance, then one may consider partial decoupling. In this case,
attention is focused only on a subset of the control loops where the interactions
are importan t and high performance control is required.
It is typical to consider partial decoupling for 3 x 3 and higher dimensio
nal
systems , since the main advanta ge lies in the reductio n of dimensi onality;
however , partial decoupling is also applicable to 2 x 2 systems, in which case,
one of the compensator blocks in Figure 22.1 is set to zero for the loop that is
to
be excluded from decoupling.
The following example illustrates the application of partial decoupl ing for
a 3 x 3 system.
CHAP 22 DESIGN OF MULTWARIAB LE CONTROLLERS 789
Hulbert and Woodburn [3] have reported the control of a wet-grinding circuit whose
transfer function model, obtained by experimental means, is given by:
[~
0.00037 0.000767 -0.00005
lOs + 1 (22.54)
[m 500s + 1
930
33s + 1
,-667e-320s _-1033
500s + 1 166s + 1 41s + 1
The time delay and time constants are in seconds; and the indicated process variables
are given in terms of deviations from their respective steady-state values as:
A relative gain analysis of this system (see Problem (22.2)) recommends the 1-1/2-
2/3-3 input/ output pairing configuration; it also indicates that if three independent
single-loop feedback controllers are used, the system will experience significant loop
interactions. A schematic diagram for this process is shown in Figure 22.6.
Since the least sensitive of the output variables for this system is y 2 (the total flow
from the mill), and since from experience, it is known that the greatest amount of
interaction is between control Loops 1 and 3, it is desired to design decouplers for
only these loops, leaving Loop 2 to operate without decoupling. Obtain the transfer
functions required for these decouplers.
Solution:
Under the indicated conditions, the transfer function matrix for the subsystem of
interest is now given by:
-21 ]
119
[Yt] = [ 217:s930+ 1 lOs+ 1. ["t]
u3
(22.55)
Y3 -1033
500:s+1 47s+l
and if the decoupler transfer functions are represented as g1 for Loop 1, and g1 for
Loop 3, then using the simplified decoupling approach, we hav~, from Eq. (22.55):
3
_2_1_
lOs + 1
81, 119
217s + 1
790
MU LTI VAR IAB LE PROCES
S CON TRO L
Torque,y 1
Flow from
Mill Y2 mill Sump wat er
feed rate
Wat er
to the
mill
Density
of cyclone
feed
and
930
500 s + 1
g/3 = _j_ Qll _
41s + 1
whi ch sim plif y to:
0.17 6{2 17s + 1}
g/1 (lO s + l)
and (22. 56)
(22. 58)
CHAP 22 DESIGN OF MUL TIVARIABLE
CONTROLLERS
791
and
(22.59)
(22.60)
whe re KR is the steady-state version of
GR(s). Since the inversion indicated in
Eq. (22.60) now concerns only a matrix
of num bers , Eq. (22.60) will always be
realizable and easily implemented.
The main adva ntag es of steady-state
deco upli ng are, therefore, that its
desi gn invo lves simp le num erica l com
puta tion s, and that the resu lting
decouplers are always realizable.
Solution:
-18.9
g/1 = - 12.8 =l.48 (22.61)
and
6.6
8J, = --19 .4 = 0.34 (22.62)
and these will be impl emen ted on the real
process as:
(22.63)
and
(22.64)
For the generalized deco upler on the other
hand , we have, upon takin g the inverse
of:
K = [ 12.8 -18.9
6.6 -19. 4
J (22.65)
792 MULTIVARIABLE PROCESS CONTROL
and multiplying by:
K = [ 12.8 0 ]
R 0 -19.4 (22.66)
we would obtain:
Gl =[
2.01 2.97 J (22.67)
0.68 2.01
and
(22.69)
Note that these same results could have been obtained by settings =
0 in the dynamic
decouple r results obtained in Example 22.2.
In principle we would expect the simplified approac h and generali zed
approac h
to give the same result for steady-s tate decoupling. That this is true
may be seen by
dividing Eqs. (22.68) and (22.69) by the common factor 2.01 to obtain
Eqs. (22.63) and
(22.64). Howeve r, the single-loop controller gains in each case will
also differ by the
factor 2.01.
As the exampl e illustrat es, steady-state decoupl ers are very easy to
design
and straigh tforwar d to implem ent. This advanta ge in simplic ity
can be so
compel ling that, quite often, in dealing with control loop interact ion
problem s
in practice, steady- state decoup ling is the first techniq ue to try; only
when the
dynami c interact ions prove to be persiste nt will dynami c conside
rations be
enterta ined.
Observ e that whenev er the dynami c aspects of the transfe r
functio n
elemen ts in each row of the transfer function matrix are similar,
the dynami c
decoup ler will be very close to its steady- state version. It can be
shown (and
this is left as an exercise to the reader) that for the stirred mixing
tank system
whose approxi mate transfer function matrix was given in Eq. (20.23),
whethe r
we use the simplif ied or the general ized approac h, the dynami
c decoup ler
obtaine d in each case is actually identica l to the corresp onding
steady- state
decoupler. ·
Because steady- state decoup ling often leads to great improv ements
in
control system perform ance with very little work or cost, it is the
decoup ling
techniq ue most often applied in practice. Thus in the next section
we will
discuss the design of steady- state decoup lers and their perform ance
in some
detail.
1. Are there constraints on some of the inputs (e.g., valve range, heating or
cooling power, etc.) which are reached? If so the decoupler cannot be
used beyond the point of these constraints because the constrained
controllers are no longer responding to error signals and the decoupler
could even make the feedback control scheme drive the process unstable
once an input constraint is reached.
Let us consider the implementation of the simplified steady-state decoupler for the
Wood and Berry Distillation Column of Example 22.2.
Recall that the decoupler is given by Eqs. (22.61) and (22.62). When this is
implemented together with diagonal PI controllers with tuning parameters K, = 0.30,
1/-r1 = 0.307, K, =- 0.05, 1/-r1 = 0.107, one sees from Figures 22.7-22.8 t'hat the
I 2 2
794
MU LTIVARI ABL E PROCES
S CONTROL
1.0
0.5
0.0
0 10 20 30 40 50
Figu re 22.7. Woo d and Berry Distillation Colu
mn: closed-loop resp onse of y
und er steady-state decoupling cont 1 and y2
rol with unconstrained inputs.
dos ed-l oop resp onse is bett er
than wha t was obta ined with
designs (cf. Example 21.13). Thu mul tiple single-loop
s a steady-state decoupler seem
Now supp ose that an ener gy reva s very attractive.
mp of the colu mn has redu ced
reflux drum and reflux control valv the size of the
e so that u1 has a more limited max
~ u1 ~ 0.15. Whe n the sam imu m flowrate, 0
e decoupling control scheme is appl
new reflu x flow rate cons train ied to the colu mn with the
t, Figures 22.9, and 22.10 sho
resp onse is very poo r once the w that the clos ed-l oop
reflu x valv e is full ope n and
unstable. This is beca use u is the syst em beco mes
1 pegg ed at its max imu m valu e tryin g
Loo p 2 is tryin g to com pens ate to increase y1 and
ima gine d control actions u , whi
not implemented. 1 ch are com pute d, but
0.5
0.4
0.3
0.2
0 10 20 30 40 50
Figure 22.9. Wood and Berry Distillation Column: closed-loop response of y1 and y2
under steady-state decoupling control with constrained u1, 0 S u1 S 0.15.
0.4
0.3
/"2
0.2
0. 0 I I I I I I I I I I I I I I I I I I I I I I I I
0 10 20 30 40 50.
Figure 22.10. Manipulated variables u1, u2 for closed-loop response in Figure 22.9 when
u1 is constrained 0 S u1 S 0.15.
796 MULTIVARIABLE PROCESS CONTROL
High Sensi tivity to Model Error
Consi der the system whose steady-state gain matrix is
K, so that its steady-
state model is given by:
y = Ku (22.70)
If steady-state decoupling is applied on such a system
, we now know that the
outpu ts of the independent, multiple single-loop controllers,
represented by the
vector v, will be related to the actual vector of process input
variables u by:
(22.71)
(22.72)
(22.73)
or
(22.74)
and since KR is diagonal, G 1 will have achieved decou
pling; there will no
longer be cross-coupling between the control loops.
We know, howev er, that no process model (not even
the steady -state
portio n alone) is 100% accurate; let us then consider
the situation in which
there is an error .6.K in the estimate of the steady-state gain
matrix. In reality,
therefore, the true steady-state model should be:
y = (K +.6.K)u (22.75)
The decou pler in Eq. (22.72), designed on the basis of K,
will now provid e the
following relationship between v andy:
y = (K+.6.K) K- 1 KRv
or
(22.76)
(22.78)
KqC11 (22.79)
.il.q = IKI
alde d by the nearness of I K I
Therefore large sensitivity to modeling errors -her
RGA values.
to zero - will be manifested as inordinately large
origin al RGA pape r [4] it is stated that in addit ion to provi ding
In Bristol's
RGA also provi des a measure of a
a meas ure of control loop interactions, the has also prese nted
error s. Shins key [5, 6]
syste m's sensitivity to mode ling very sensitive to
values are
results show ing that systems with very large RGA RGA value s.
incre asing
decoupler error, with sensitivity increasing with
Thus we may conclude that:
whose input/output
Decoupling will be difficult to achieve for a system a system will also
variables are paired on very large RGA values; such
be very sensitive to modeling errors.
4.05e-27s 1.20e-27s ]
[ 50s+ 1 45s + 1
G(s) = 4.06e-& __!.,_!L (22.80)
13s +1 l9s +l
The stead y-sta te gain s are dimension
less, and the time delay s and time cons
minu tes. Ana lyze the sens itivi ty tants are in
of this syste m to mod el erro rs, and
feasibility of deco uplin g. asses s the
Solu tion:
K = [ 4.05 1.20
4.06 1.19
J (22.81)
A = [ -91.8
92.8
92.8
-91. 8
J (22.83)
xl + 2x2 =1 (22.84)
2x 1 +4x2 =3 (22.85)
CHAP 22 DESIGN OF MULTWARIABLE CONTROLLERS 799
It is clear that there is no solution, and the reason is that the elements of the
LHS of both equations are linearly dependent; one is exactly twice the other. If
these two equations are written in matrix form, we would have:
[ ~ ~ J[::J = DJ (22.86)
or
Ax= b (22.87)
(22.88)
(22.89)
which is singular; hence its inverse does not exist, and there is therefore no
solution.
Eqs. (22.84) and (22.85) are called a degenerate set of equations; the
determinant of the system matrix given in Eq. (22.89) is zero because the two
columns (and the two rows) are linearly dependent. If now the equations are
modified slightly to read:
x 1 + 2.01~ =1 (22.90)
in principle, these equations now have a solution; however, small errors in the b
vector will result in very large errors in the solution. These system of equations
are now very nearly degenerate, and the solutions are not very reliable.
The same issue of degeneracy illustrated above applies to decoupling; for
observe that what we are trying to do with decoupling is exactly the same as
solving the system of linear equations:
(22.93)
to determine the decoupled process input vector u; therefore, if K is degenerate,
it will be extremely difficult to achieve decoupling.
To illustrate this issue of degeneracy in decoupling, and what it means in
physical terms, let us return to the Prett and Garcia hot oil fractionator
subsystem of Example 22.7; the steady-state model for this system is:
fy·]
l.Yz
=[ 4.05 1.20]
4.06 1.19
["·1
uJ (22.94)
MULTIVARIABLE PROCESS CONTRO
L
Note that the rows of the stead y gain
matrix are almo st identical, and if we
writ e out these equations in full to obta
in:
y1 = 4.05u 1 + 1.20u2
and
y 2 = 4.06u 1 + l.l9u 2
0.261 0.261 ]
[ 43.5 s + I 43.5 s + l
G(s)
0.012 35 (T H- T,) 0.01 235( T c- T,) (22.95)
21.7 s + 1 21.7 s + l
(These phys ical dime nsion s corre spon d
to those for the stirred mixin g tank syste
for instr uctio n at the Univ ersity of Wisc m used
onsin -Mad ison. )
Inves tigate the pOSSlble dege nerac y for
this syste m unde r two conditions:
• Condition 1
Solution:
whose determinant is- 0.129; the RGA for this system is obtained as:
and even though the indication is that there will be significant interactions, we
observe that decoupling is very feasible in this case. (We will show later what is
required to achieve decoupling under these conditions.) Note that because of the
-D.247 element, the rows and the columns of Eq. (22.96) are; in fact, not linearly
dependent even though they may appear to be so.
and we observe immediately that if we rounded all the elements off to only the second
decimal place, Column 1 will be identical to Column 2.
The determinant of this matrix is- 0.00162, and the RGA is:
A = [ 10 -9
-9 10
J (22.99)
and it is now clear that the system will be easier to decouple under Condition 1 than
under Condition 2.
There is a physical reason for the increased. degeneracy under Condition 2:
observe that the difference between the hot and cold stream temperatures is only half of
a degree. The implication is therefore clear: we no longer have two input variables,
we essentially have only one (since the hot stream is almost identical to the cold
stream), and as a result we have lost one degree of freedom in controlling the process.
Even though it is not crystal clear from the discussion given above, note that the
degeneracy will affect only our control of the temperature; in no way does it affect our
control of the level.
K
= [ -60 0.05
-40 -0.05
J (22.100)
A= [ 0.6 0.4]
(22.101)
0.4 0.6
neither of which is unusual. Nevertheless, a trained eye will spot the problem
with this system upon inspecting Eq. (22.100) closely: observe that if u1 and u
2
are of the same order of magnitude (i.e., same scaling), this matrix indicates
that u 1 is the only ·effective control variable; the effect of u2 on the process
output variables is negligible in comparison. Thus, we have a situation
somewhat similar to that illustrated with the stirred mixing tank in Example
22.8, under Condition 2; the system in Eq. (22.100) essentially has only one input
variable; decoupling cannot be achieved in two output variables using only one
input variable.
Compare this now with the process whose gain matrix is:
K =
[ -3 1
-2 -1
J (22.102)
The two processes have identical determinants and identical RGA's, but while
decoupling is not feasible in Eq. (22.100) it is entirely feasible in Eq. (22.102).
It is obvious from this example that neither the determinant nor the RGA is
a reliable indicator of ill-conditioning; in this case, what indicates the
difference between the two processes in Eqs. (22.100) and (22.102) are the
eigenvalues of the two matrices. :
The eigenvalues of the matrix in Eq. (22.100) are:;
.t. = -2 +j (22.104a)
~ = -2-j (22.104b)
We may now note that while the product of each set of eigenvalues is the same
(the product of the eigenvalues of a matrix is equal to its determinant) for the
difficult-to-decouple system, one eigenvalue is about 720 times larger that the
CHAP 22 DESIGN OF MULTWARIABLE CONTROLLERS 803
other; for the easy-to- decouple system, the two eigenval ues have identical
magnitudes.
Unfortu nately, eigenva lues are not always reliable indicato rs of ill-
conditioning, as illustrate d by the following process having a gain matrix:
K
=[ 1 0.001
100 1
J (22.105)
The determin ant for this matrix is 0.9; and the RGA is:
A = [ 1.11 -0.11
-0.11 1.11
J (22.106)
no
and the larger is less that twice the value of the smaller, again giving
indicatio n of any problem s with decoupling.
Howeve r, upon critical examina tion, we see that the problem with this
100
process is that u 1 exerts 1000 times more influence on y1 than does u2 ; and
one
times more influence on y2• Thus once more, we have a situation in which
of
input variable is significantly more influential tltan tlte other: anotlter case
ill-condi tioning.
As mention ed earlier in our introduc tory discussio n in Chapter 20, the most
reliable indicato rs of ill-condi tioning in a matrix are its singular values
are
defined as the square root of the eigenvalues of the matrix KTK. (Since we
now dealing witlt constant matrices, we do not need to use the more general
definition involvin g the transpos e of the complex conjugate.)
For the process in Eq. (22.105) the singular values are:
(22.108a)
02 = 0.009 (22.108b)
the
The ratio of the largest to the smallest singular value of a matrix is called
and it is the single most reliable indicato r of tlte conditio ning
condition number,
the
of a matrix: the larger the conditio n number, the poorer the conditio ning of
matrix.
The condition number for the process currently under investigation is:
1C = 1.113 X 104
which is really quite large, clearly indicatin g its poor conditioning.
MU LT IVA RIA BL E PR
OCESS
CO NT RO L
Let us fur the r illu str ate
of a pro ces s by ref err ing the use of sin gu lar val
ues to assess the con dit
bac k to the processes of ion ing
us co nsi de r the Pre tt the ear lie r examples.
an d Ga rci a fra cti on ato First, let
the gai n ma trix is: r [7]. Fo r thi s pro ces s,
rec all tha t
K = [ 4.05 1.20
4.06 1.19
J (22.109)
wh ich has sin gu lar val
ues Oi = 5.978, a = 0.0087
2 8 an d a con dit ion nu mb er:
5.978
1C = 0.00878 = 680.778
Th is de arl y ind ica tes
ser iou s ill-conditioning
Sim ila rly1 the sti rre d mi .
xin g tan k un de r Co nd
22.8 ha s a gai n ma trix itio n 1 sti pu lat ed in Ex
: am ple
K = [ 0.261 0.261
0.247 -0.247
J (22.110)
wh ich has sin gu lar val
ues a1 = 0.3695, <1 = 0.3
2 500 an d a con dit ion nu mb er:
1C = 0.30.3695
5 = l.06
ind ica tin g a ve ry we ll-c
on dit ion ed sys tem .
Ho we ver , recall tha t un
de r Co nd itio n 2, the sti
ma tri x: rre d mi xin g tan k ha s a
gai n
K =
[ 0.261 0.261
-0.0556 -0.0618
J (22.111)
wh ich has sin gu lar val
ues of <11 =0.1432, a =0.000019 an d condition number:
2
= 0.1432
1C 0.000019 -- 7537
ind ica tin g tha t un de r
Co nd itio n 2, the mi xin
sys tem . g tan k is a 'po orl y co
nd itio ne d
No te the ref ore tha t it
is im po ssi ble to ass ess
accurately, an d reliably, the con dit ion ing of a
pro ces s
wi tho ut kn ow ing the
ma trix K; the rea de r is sin gu lar va lue s of the
ref err ed to Ap pe nd ix ga in
are ob tai ned . D for ho w the se sin gu
lar val ues
Le t us no w com bin e all
the factors affecting the
an y mu ltiv ari abl e sys feasibility of dec ou pli ng
tem . Th e sm all de ter for
val ues are ind ica tiv e mi na nt of K an d the
of sen sit ivi ty an d deg lar ge RG A
nu mb er ind ica tes ill- con ene rac y, an d the lar ge
dit ion ing in a wa y in co nd itio n
no r the RGA val ues , no wh ich ne ith er the det
r eve n the eig env alu es erm ina nt,
deg ene rac y are , in fac can. Ho we ver , sen sit
t, on ly spe cia l cas es ivi ty an d
hav e the following as the of ill- con dit ion ing ; we
final con clu sio n of ou the ref ore
r dis cus sio n in this sec
tion:
CHAP 22 DESIGN OF MULTIVARIABLE CONTROLLERS 805
K = W l:Vr (22.112)
y =W I_VTu (22.113)
(22.114)
(22.115)
and
(22.116)
(22.117)
Figure 22.11. Block diagram of the multivariable controller based on the SVD technique.
806 MULTIVA RIABLE PROCESS CONTRO L
2. Multiva riable IMC and Direct Synthes is Controll ers: These are
relativel y straightf orward extensio ns of their SISO counterp arts in
Chapter 19 (cf. the work of Morari et al. [16, 17] and others [18, 19}).
22.6 SUMMARY
The final stage in our discussion of controller design for multivariable systems
has been presented in this chapter with a discussion of the principles and
techniques of true multivariable control. We spent some time discussing
decoupling (by far the most widely used multivariable controller design
technique) being careful to differentiate dynamic decoupling from its
simplified variations: steady-state decoupling and partial decoupling.
In discussing the issue of feasibility of decoupling (a topic that has
important bearing on the application of decoupling but is quite often ignored),
we have shown the various physical factors that affect the feasibility of
decoupling and that singular value decomposition is the most reliable
technique for assessing process decoupleability. In addition, we also discussed
how the SVD provides an alternative method for designing steady-state
decouplers.
Finally we have provided a directory of other model-based controller
design techniques that can be applied to multivariable systems. The most
popular of these will be discussed further in Chapter 27.
REVIEW QUESTIONS
8. What is the effect of a large RGA element on the effective closed-loop gains of a 2 x 2
system which employs two single-loop feedback controllers and simplified decouplers?
9. Why is the simplified decoupling approach not recommended for higher dimensional
systems?
11. In terms of what must be specified a priori, and what is obtained as a result of the
design, how does the simplified decoupling approach differ from the generalized
approach?
12. What are the primary advantages and disadvantages of simplified versus generalized
decoupling?
13. In what marmer are the simplified ideal decouplers similar to feed forward controllers?
14. What conditions must be satisfed for ideal dynamic decouplers to be implementable?
15. Under what conditions will partial decoupling be an attractive alternative to full,
ideal decoupling? ·
18. What further issues are important for the successful implementation of steady-state
decouplers?
20. How can the determinant of a system's gain matrix be used to determine when
decoupling will be difficult to achieve? Is this a foolproof means of assessing the
feasibility of decoupling?
21. How can the RGA elements on which the input and output variables of a system are
paired be used to determine when decoupling will be difficult to achieve? Is this a
foolproof means of assessing the feasibility of decoupling?
22. What does it mean in physical terms if a process possesses a nearly degenerate steady-
state gain matrix?
23. What is the most reliable indication of ill-conditioning of a process steady-state gain
matrix? .
26. What are some other model-based multivariable controller techniques available in the
literature but not discussed in detail in this chapter?
810
MULTIVARIABLE PROCESS CONTRO
L
PROBLEMS
22.1 (a) Impl emen t the simp lified dym~mic
deco uple r desig ned, in Exam ple 22.1,
Woo d and Berry distillation colu mn, for the
on the basis of the transfer function matr
ix:
12.8e-•
-18. 9e-3' ]
[ 16.7 s + 1 21.0 s+ 1
G(s) -
- 6.6e -15 -19. 4e-35
10.9 s + 1 14.4 s + 1
Use two single-loop PI controllers with
tuning parameters:
15e-2s -25e-4• ]
_ [ 15s + 1 16.r + 1
G(.r)
. - 6 -s._ =--.!
22 .__
-4• (P22.1)
_e
· 9s + 1 12.r + 1
I
- ; t'Il = 50;
0'1
J.....
0'2, n
t' = 50·
,
1
-; '~'n =50;
0'3
where 0'1, u2, u3 are the computed singular values. Obtain the closed-loop system
response to a step change of- 50 Nm in the torque (i.e., y1) set-point and compare the
performance of this steady-stateSV D decoupler with the partial dynamic decoupler
of Problem 22.2 (c). Can you think of a systematic way to select integral time
constants for single-loop controllers operating with a steady-state SVD decoupler?
22.4 The transfer function model for a solid-fuel boiler has been given by Johansson and
Koivot as:
(P22.2)
The unit of time is seconds, and the process variables are (in terms of deviations from
their respective steady-state values):
(P22.3)
22.6 (a) Revisit the heavy oil fractionator of Problem 22.5; multiply the PI controller
gains obtained in part (b) by 92.8, the relative gain parameter for the process;
implement these new control.l.ers along with the simplified decoupler designed in part
(c), and obtain the closed-loop system response for the same set-point change in the
Yr Compare the new closed-loop system performance with the one obtained in
Problem 22.5(c).
(b) To investigate the effect of plant/mode l mismatch on the strategy employed in
part (a), implement the same steady-state decoupler of part (a), along with the new PI
controllers, but now on a process whose transfer function matrix is:
a very slight modification of the model used in the design of both the decoupler as
well as the controllers. Obtain the closed-loop system response to the same unit step
change in the y 1 set-point; plot the output responses as well as the control actions;
and comment on the performance of the closed-loop system in this case.
[ '•] = [
-33.89
(98.02s + 1)(0.42s + 1)
32.63
(99.60s + 1)(0.35s + 1)
]
["•luJ (P22.5)
Y2 -18.85 34.84
(75.43s + 1)(0.30s + 1) (110.50s + 1)(0.03s + 1)
The unit of time is minutes, and the dimensionless process variables are defined as
follows:
T21- 614.10°R .
Yt = 30.0oR ; the normalized tray21 temperature
T7 -636.71"R .
Y2 = ao.ooR ; the normalized tray 7 temperature
th normalized flowra
"1 = L-63.384 mol/min
.0mol/min ; e reflux te
(a) Is steady-state decoupling feasible for this process? Justify your answer
adequately.
(b) Using the procedure discussed in Chapter 19, design two single-loop direct
synthesis (PID) controllers for this distillation column, using the diagonal elements
of the transfer function matrix model, with -rr = 50.0 for each loop. Using the
generalized approach, design a steady-state decoupler for this process, with GR(O)
chosen as Diag[G(O)]. Implement this decoupler with the two PID controllers and
obtain the closed-loop system response to a 0.05 step change in the y2 set-point. Plot
the responses and comment on the performance.
~:l
l.lle-6 .5s
[~(21.38)
-2.36 e-3• -0.012e-1.2s
= 3.25s + l Ss + I 7.09s + 1
-33.6 8e-9 ·2' 46.2e -9.4• 0.87{ 11.6l s + l)e-•
8.15s + 1 l0.9s + 1 (3.89 s + l)(18 .8s;+ 1)
22.10 Revisit the pilot scale, binary distillation process of Problem 22.9 and consider a
partial decoupling strategy in which the second loop, involving the control of y71 the
sidestream mole fraction of ethanol, with u2, the sidestream draw-off rate, is to
operate without decoupling; dynamic decouplers are to be designed for Loops 1 and
3.
Using the simplified decoupling approach, and making any other decisions you deem
necessary, design the decouplers, as well as two PI controllers for each of the two
loops. As much as possible, justify any design decisions made.
Design a third controller for Loop 2 which is to operate without decoupling.
Implement your design and obtain the closed-loop system response to a + soc change
in the y3 set-point. Plot the responses and compare the control system performance
with that obtained in Problem 22.9.
For this particular system, and on the basis of your designi comment on whether or
not partial dynamic decoupling offers any advantages over full-scale steady-state
decoupling.
22.11 Consider the multivariable PI controller described by the following transfer function
matrix:
(P22.7)
where Kc and K 1 are full, n x n matrices respectively for the proportional and the
integral parts of the controller. The problem with this controller is that there are
2 x n x n tuning parameters to be specified, and no established tuning methods
comparable to those available for its classical single-loop counterpart.
Pullinen and Lieslehtot have presented some techniques for choosing the matrices in
Eq. (P22.7) and have implemented some designs on the following distillation column
model:
The unit of time is minutes, and the dimensionless process variables, in terms of
percent of range, are defined as follows:
K = [ -2.892 3
c -3.973 2
1.4336
8.4310
J.•
K = [ -0.528 0.282 J (P22.9)
I -0.276 0.612
(P22.11)
(P22.12)
5.0
8 = [ o.o
0.0
10.0
J
Implem ent this controller on the process and obtain the closed-
loop system respon se
to the same change of- 2% in the top temper ature. Plot
the responses and compa re
them with those obtaine d in part (a).
For extra credit, see if you can improve the performance b)J choosing different tuning
parameters for the diagonal matrix e.
(P22.13)
817
CHAP 22 DESIGN OF MULTWARIABLE CONTROLLERS
ionless outflow
The output variabl es, y 1 and y 2, respect ively the dimens
led with u1 and u 2,
concen tration and reactor temper ature, are to be control
; d and liz, the
respectively the dimensionless coolant temperature and input feedrate 1
ature and feed
disturb ances, are respect ively the dimens ionless feed temper
state are given as
concentration. The model parame ters in the operati ng steady-
follows:
transfer function:
An approximate linear model obtained for this process has the
as follows:
The process variables; in terms of percent of range, are defined
a
1- 2s
e-as ..
a
1 + 2s
in reverse to approx imate each eleme nt in the proces
s model that has a right-h alf
plane zero with a time delay and a mirror image left-ha
lf plane zero. Now use this
modif ied model , augme nted with an approp riate
diagon al matrix of additio nal
delays (see Figure 22.5), and design the simplified decoup
ler.
(c) Implem ent the decoup ler design ed in part (b)
along with the contro llers given,
with Ka chang ed to 0.27, and obtain the colum n respon
se to a step change of 1% in
the top tempe rature set-point. Was it necess ary to
reduce the value of Ka? Why, or
why not?
0.34e-s(°F/SCFM) I )
Ybet(s) 8.9s + 1 "fuel's (P22.17b)
-1.74e-2s(°F/%}.
4.4s + I "m.mpe/-•) (P22.18a)
== 1.40e-s(°F/%} () '
3.8s + 1 "damptr s (P22.18b)
0 = [ 30.o o.o
0.0 4.0
J (P22.19)
o->n
CHAPTER
23
INTRODUCTION TO
SAMPLED-DATA SYSTEMS
821
822 COMPUTER PROCESS CONTROL
Viewed in this light, we see that the classical analog feedback controllers
- which operate according to the PID control laws discussed earlier - are just
one possible class of controllers; one can see that there are other devices,
operating according to other control laws, that can also function as controllers.
The digital computer is perfectly suited to do the job of a controller with
greater flexibility and versatility than the classical controllers because of the
following advantages:
1. Data acquisition from the physical process is very easily and rapidly
done with the digital computer.
2. A tremendous capacity for mass storage (and rapid retrieval) of the
collected process information is readily available.
3. The control "law" for calculating corrective control action no longer has
to be restricted to a hardwired analog circuit (e.g., for PID control)
because any control law, no matter how unconventional or complicated,
can usually be programmed on a computer.
4. The required computations, no matter how complex, can be carried out at
very high speeds.
5. The cost of digital computers and ancillary equipment has reduced
drastically in the last few years.
y(t)
Time
r----- -----,·
I I
_Y_<t_>______ -T:_.~
I
------- ------ I
SAMPLE R
The use of the computer for data acquisition introduces a new perceptio
n
of the process: a quantized view, in which the system is no longer
seen
as giving out continuous information, continuously in time; process
information now appears to be available only in discrete form,
at
discrete points in time.
u(t) / ...
0 t---
(a (b
Figure 23.2. A discrete signal from the computer and the intended continuous version.
sampling point, and shuts off completely in between samples. Quite apart from
the unusual wear and tear that such control action will have on the valve, it is
obvious that the intention is not to have the control valve open up only at
sampling points; the intended control action is shown in the dashed line in
Figure 23.2(b ).
Since the computer is incapable of giving out continuous signals, what is
required is a means of reconstructing some form of "continuous" signal from these
impulses. The device for doing precisely this is known as a digital-to-analog
{D/ A) converter. The key elements in D/ A converters are called holds; they
are designed to simply "hold" the previous value of the signal (or its slope, or
some other related function) until another sample is made available. We will
discuss these further later.
The data acquisition and control action implementation aspects of the
computer control systems may be combined to produce Figure 23.3, a typical
block diagram for a computer control system - an equivalent of that shown in
Figure 14.2 for the analog feedback control system.
Mathematical Descriptions
As a result of the effects of using the computer for data acquisition and control
action implementation, computer control systems are often referred to by such
terms as sampled-data systems, discrete-time systems, or digital control
systems, to indicate explicitly this quantized characteristic bestowed upon it
by the digital computer. Such systems must now be described, mathematically,
in a manner that reflects their "new" character of giving out, and receiving,
· Process
~-------,
I I
Process control computer d
-----------------,
1 D/A Converter
I
I
Setpoint
----!-/.,+.()(}-.-t
Yd
I
L----
,.-----,
I I y(t)
'----,li--"' ---c~:-------1 Measuring
1 :Analog '---D_e_vt_·c_e_ _,
L _____ .J Measurement
AID Converter
general :
(23.1)
Let us now
It is also custom ary to represe nt the sample d version off(t) asf"(t).
two function s, the continu ous f(t), and its
derive an expression for relating these
, f"(t), because this relation ship will be require d in Chapte r 24
sample d version
when we take up the analysis of sampled -data systems .
g
Note that the action of the sampler is such that during the kth samplin
interva l, the sample r output f*(t) takes the value f(t = f~:) (i.e., f(tt)), for t"
Figure 23.1).
seconds; immedi ately afterwa rds, the sampler output is zero (cf.
is a train of impulse s whose values match that of the
Thus the comple te f"(t)
at zero
continu ous functio n f(t) only at the samplin g points, and remain
r operatio n in which measur ement is
elsewhere. If we assume ideal sample
neously (t" = e-+ 0) then a single sample r output at time tk is
provide d instanta
as follows:
most conveniently modele d using the ideal delta (impulse) function
(23.2)
possible is
The key propert y of the delta function that makes this descrip tion
shown below for any arbitrary function x(t):
826 COMPUTER PROCESS CONTROL
f t+£
,_ £
x(t) o(t- 6) dt = ..
{x((J)·
0,
t
t
=6
* 6
(23.3)
That is, the operation of l>(t- 9) on any function combined with the indicated
integration has the net effect of "wiping out" the original function, leaving a
single, surviving "spike" at the point t = 6 whose magnitude coincides with the
value of the original function at this single point.
Since what we observe as the sampler output is a sequence of such impulses
as that represented in Eq. (23.2), then.f(t) can be represented as:
or
(23.4b)
2. Sampling too slowly. In this case, fewer samples will be taken, and as
a result, there will be no unusually heavy burden on the computer.
However, the main problem is that y(tk) may no longer resemble the
original, continuous signal, y(t). This problem is known as aliasing, and
CHAP 23 INTRODUCTION TO SAMPLED-DATA SYSTEM
S 827
a classic examp le may be used to illustr ate its effect in
Figure 23.4. If
the origin al sinuso idal function, shown in Figure 23.4(a)
, is sampl ed
four times every three cycles, the result is the sampl ed
signal shown by
X's in Figure 23.4(b). If we attem pt to recons truct
the origin al
sinuso idal signal from this sampl ed data, we obtain
the appare nt
sinuso idal signal shown in Figure 23.4(b), whose freque
ncy is clearly
seen to be lower. Of course, typical process signal s are
not sinuso idal,
but the examp le serves to illustr ate the proble m of
captur ing high-
frequency inform ation when sampl ing too slowly. The
other proble m
associ ated with sampl ing too slowly is that the effecti
veness of the
contro l system is often substantially reduce d. This stems
from the fact
that in betwe en sampl es, the contro l system actual ly
operat es as an
open-l oop system since no control action is taking place
during the entire
period in betwe en samples. Thus if the sampl ing interv
al is very long
the perfor mance will clearly deteriorate.
0) =21t
- (23.6)
s At
(a)
(b)
(23.7)
Alternatively, for any given sampling frequency ro5, the largest frequency that
can be extracted from sampled data, called the Nyquist frequency OJN, can be
determined from the equality in Eq. (23.7) as:
(23.8)
The validity of the sampling rule in Eq. (23.7) can be seen from Figure 23.4
where we observe that if we want to capture a sine wave, which has period T
and frequency, OJ= 2.1t!T, then we must sample with frequency:
41t
OJS > T (23.9)
By comparing Eqs. (23.8) and (23.9), we see that this means choosing M < T /2 in
Figure 23.4. Note that if we were to choose At =T /2 and had our first sample at
T I 4, then we obtain the sequence of samples shown with circles in Figure 23.4,
and we have captured the sitte wave in sampled form. However, choosing M to
barely satisfy the sampling rule, At = T /2, does not capture all the details of
the sine wave. It only guarantees that one obtains the correct frequency, but the
amplitude could be totally incorrect. For example, suppose one sampled with
At = T/2, but took the first sample at T/3 as shown by triangles in Figure 23.4.
In this case the sampled sine wave has reduced amplitude; in fact if one took
the first sample at T/l, the resulting signal would appear constant because the
sampled amplitude is zero.
The lesson here is that one must consider carefully the specification of
OJmax' the highest frequency one wishes to capture, and allow sufficiently rapid
sampling to uncover the details of the signal. Obviously this means that the
choice of At will very much depend on the particular application at hand. For
digital computers that are simply pieces of hardware emulating continuous
analog controllers, rapid sampling is important. However, digital control
algorithms based on less frequent sampling are usually used. In this case the
following rule-of-thumb has been found to provide a good starting choice for
sampling time: ·
(23.10)
This rule will ensure, for example, that for a first-order system with time
constant -r, no more than 20-25 samples will be required to represent a step
response.
CHAP 23 INTRODUCTIO N TO SAMPLED-DA TA SYSTEMS 829
Even though the usual practice is for instrumentati on engineers to take care
of the issue of signal conditioning at the hardware design and selection stage,
this only ensures that whatever signal was produced by the measuremen t
device reaches the computer intact. Once the data are in the computer,
additional digital filtering may be required to enhance the precision of the
measurements.
The simplest, and perhaps the most popular, digital iilter is the
exponential filter which works according to the following equation:
where:
This filter is classified as a low-pass filter because it allows only the low-
frequency components of a signal to pass through, the higher frequency
components having been substantially reduced. Other types of digital filters
are also used in practice.
It is important to note that while filters help suppress the effect of high-
frequency fluctuations, they may also introduce additional dynamics into the
control system, and hence can affect the dynamic behavior of the overall
control system. For example, the exponential filter of Eq. (23.11) can be shown
to be the discrete-time version of a first-order system with a steady-state gain
of 1, a time constant related to fJ and flt, and having as input the "noisy" signal
y(t). If such a filter is used in a feedback control system, it will be important to
take the additional filter dynamics into consideratio n if the filter time
constant is comparable to the process time constants.
830 COMPUTER PROCESS CONTROL
Holds
The basic essence of the signal reconstruction problem is really that of
connecting discrete points with some curve to give the otherwise discrete signal
a semblance of being continuous. From a purely mathematical point of view, it
would appear as if the best way to connect a smooth curve through discrete
points is by employing splines or other interpolation device. This approach is,
however, not very practical, for two reasons:
u(tk); t = tk
{
u(t) u(t~c) ; t" < t < t" + 1 (23.12)
u(tk +I) ; t = tk + I
As shown in Figure 23.5, this leads to the "stair-case" function, which, even
though not an exact representation of the continuous function in dashed lines, is
good enough, and very practical
Physical devices which make it possible to generate a signal as illustrated
above by holding the value of the discrete signal in a certain fashion over the
sampling interval until new information is available are referred to as holds.
In particular, what is indicated in Eq. (23.12), and illustrated in Figure 23.5, is
achieved by a zero-order hold (ZOH), so called because of the "holding" policy
of simply maintaining the previous discrete value over the sampling interval.
The first-order hold, on the other hand, "holds" at tk by linearly
extrapolating between u(tk_ 1) and u(tk) until u(tk + 1) becomes available, i.e.:
(23.13)
u(t)
Tme
Here we see that Eqs. (23.14) and (23.15} have terms u(k-D;) that allow delays
in the control inputs and terms d ( k - Mi) that allow delays in the disturbances.
For example, if there were a time delay a in the inputs, this corresponds to
D = a/ t:..t being subtracted from k in the input argument. It would also be
possible to include terms for delayed states or delayed measurements, but we
will not deal with that case here. These models are either derived from the
corresponding continuous model or constructed directly from experimental data
(see the next two sections). The premise behind Eqs. (23.14) and (23.15) is that
they represent the state and output dynamics at sample times tk = kM when the
controls u and disturbances d are applied with a zero-order hold (ZOH). From
our discussions in the last section, it is clear that having u enter the process
with a ZOH is straightforward. However, the process disturbances, d, are
really continuous variables, and approximating them as constant over a
sampling interval, t:..t, may not always be appropriate. This point will be
discussed in more detail in subsequent chapters.
In order to develop better insight into difference equation models, a few
common ones are listed in Table 23.1. These forms are explicitly derived below
and in the problems at the end of the chapter.
which is valid for any convolution operation may be used to make the
computations more convenient. Remember that these impulse-response models
include a zero-order hold.
Impulse-response models for some common cases are also shown in Table
23.1.
Table23.1
Some Common Forms of Discrete-Time Models..
First Order:
y(k+ 1) = ~(k)
'l"dJft) + y(t)= Ku(t) K(- 1 (1-,) K {1- ,)z-1
+ K {1- ~) u(k)
1- ,z-1
K
g(s)=-- t/J=e-MI~
'!"S+l
Second Order:
(~r-P)J
x(P+ ~r)J
bz=1 £1+a
b2 =K[£1+ a
x(~r-P)]
(J}t=~ (J}t=~
a=e-<.MI~ a=e-fl!JI<
P=cos(rut.t) P =cos(w.1!)
r=sin(rut.t) r= sin(w.1!)
1:4!
dt
+ y = Ku
which, along with the usual zero initial condition, y(O) = 0, has the exact,
analytical solution:
y(t) = J'
0
e-<t-a)l<t ~u(O) du (23.19)
(23.20)
Multiplying Eq. (23.19) by e-At/-r and subtra~g from Eq. (23.20) yields:
(23.21)
where we have made use of the result from elementary calculus that:
J (•) = Jri+At
t
+At
ft
0
(•) -
1
J ft
0
(•)
where we have factored out u(tk) because it is constant over the interval covered
by the integral in Eq. (23.22). If we now evaluate the integral in Eq. (23.22), we
see that:
In exactly the same way, higher order discrete-time models can also be
obtained by exact discretization of the corresponding higher order models. To
demonstrate, let us assume the time-domain model is of the form:
•
x(t) = Ax(t) + Bu(t) x(O) = x 0 (23.26)
where vector x represents the process states, u the control inputs, and y the
process outputs. The matrices A, B, C have constant elements. Recall that the
analytical solution to Eq. (23.26) takes the form:
We may solve for x(kM) by repeated application of Eq. (23.28) for each value
of k under piecewise constant u to yield:
(23.29)
kill
eAI(k+l)M-oldu)Bu(kA t)
0
eA<M-a>duB (23.31)
ed by hand
Althou gh one could evalua te the matrix expone ntials requir
rd compu ter progra ms available
(see Appen dix D), fortunately there are standa
ting Eqs. (23.32) and (23.33) given Eqs. (23.26) and
(see Appen dix A) for evalua
(23.27).
(23.35)
Suppose that after having excited the system with the input sequence: {u(l),
u(2), u(3), ... , u(N)}, the process response data {y(l), y(2), y(3), ... , y(N), y(N +
1)} is measured. Starting from k = 3 in Eq. (23.35) we have:
[~) l
y(4)
y(N)
y(N + 1)
=
y(2)
y(3)
y(N
y(N)
~I)
y(1)
y(2)
y(N ~
y(N- 1)
u(2)
u(3)
u(l)
u(2)
2) u(N- 1) u(N- 2)
u(N) u(N- 1)
[il (23.36)
4.0
3.0
:y(l<) 2.0
0.0
50 100 150
0 k
TABLE23.2.
Stirred Mixing Tank Data Summary
It is known a priori (and a plot of the data also confirmed this) that there is a time
delay of 14 seconds (or 7 sample times) in the input; as a result the simple discrete
model:
was postulated. The parameters a and b were estimated by least squares from the
complete data set, with u(k) = 6 for all k values. The result is:
a = 0.95; b = 0.042
is shown as the solid line in Figure 23.8. As indicated in the plot the model fits the data
reasonably well.
842 COMPUTER PROCESS CONTROL
(cf. Eq. (4.51) in Chapter 4), the discrete counterpart of the convolution integral
of Eq. (4.47). For each observed experimental output data, we may write, using
Eq. (23.40):
y(l) = g(l)u(O)
And now, for any arbitrary set of inputs u(k), k = 0, 1, 2, ..., M, and for N discrete
impulse-response elements to be estimated from the data (where N~M) we
obtain from Eq. (23.42), the familiar least square estimate of g the impulse-
response vector, as:
(23.43)
These equations simplify, as we would expect, when the input sequence, u(k),
takes on simple, specific forms, such as step, rectangular, or impulse functions.
23.7 SUMMARY
Our objective in this chapter has been simply to acquaint us with the peculiar
characteristics of discrete-time systems before fully delving into dynamic
analysis and controller design for such systems in the upcoming chapters.
In this regard, the three main issues we addressed were that
1. Box, G. E. P. and G. M. Jenkins, Time Series Antdysis: Forecasting and Control, Holden-
Day, San Francisco (1970).
REVIEW QUESTIONS
1. Reduced to its most fundamental essence, what is a controller?
3. In using the computer for data acquisition, what role does the analog-to-digital
converter play?
4. What view of the process is induced by using the computer for data acquisition?
L
COMPUTER PROCESS CONTRO
844
it pos sibl e to use the
tal-to-analog con vert er mak es
5. Wh at key elem ent in the digi
trol action effectively?
com pute r for implementing con
mor e conveniently represented
mathematically by wha t class
I
6. Com pute r control systems
of models?
digi tal com pute r for control
issues raised by the use of the
7. Wh at are the thre e maj or
system implementation? •
rate?
8. How doe s an idea l sam pler ope
t are the adv anta ges
for a sam pled -dat a syst em, wha
9. In cho osin g a sam plin g interval
'
g too rapidly, or too slowly?
and disa dva ntag es of sam plin
f
I
10. Wh at is "ali asin g"? j
,i
uency?
11. Wh at is the Nyq uist freq i
12. Wh at is invo lved in signal
con ditioning?
PROBLEMS.
a cert ain com mer cial
on the rela tive visc osit y of
23.1 (a) Hou rly labo rato ry data that the true rela tive viscosity of the
P23.1. Giv en
elas tom er are sho wn in Table d essentially constant,
the 25 hou r peri od had rem aine
pro duc t man ufac ture d duri ng ry ana lysi s "no ise, " app ly the first-
is due to laborato
so that the obs erve d variation
CHAP 23 INTRODUCTION TO SAMPLED-DATA SYSTEMS 845
order filter in Eq. (23.11) on the data, using three different values of the parameter
=
{J 0.3, 0.5, and 0.9. Plot the raw data along with the three sets of filtered data.
What would you estimate the true relative viscosity value to be?
(b) One of the primary criticisms of the first-order filter is that it tends to "smear
out" abrupt shifts in noisy data. To illustrate this effect, revisit the data in Table
P23.1, and starting from entry 13, add 5.0 to each of the last 13 samples; filter the
entire data set using the first-order filter using {J =0.3, and {J = 0.9. Plot the raw data
along with the two sets of filtered data and comment on the effect of using high
values for the filter parameter {3.
TABLE P23.1
Hourly Viscosity Data
1.0 49.763
2.0 50.050
3.0 51.079
4.0 49.310
5.0 49.855
6.0 51.056
7.0 49.887
8.0 49.806
9.0 49.735
10.0 50.799
11.0 50.699
12.0 50.469
13.0 50.007
14.0 50.341
15.0 49.798
16.0 50.767
17.0 48.678
18.0 50.372
19.0 50.782
20.0 49.648
21.0 49.889
22.0 49.669
23.0 49.544
24.0 50.472
25.0 50.837
23.2 The transfer function for the Wood and Berry distillation column used in separating
methanol and water was introduced in Chapter 20 as:
12.8e-s -18.9e-3' ]
[ 16.7s + 1 2l.Os + 1
G(s) - (P23.1)
- 6.6e-1' -19.4e-3'
10.9s + 1 14.4s + 1
The time constants and time delays are in minutes, and the input and output
variables for the process are:
23.3 The data set in Table P23.2 was obtained from an experiment designed for
identifying a simple model to be used for computer control of a pilot plant polymer
reactor. The output y(k) is the observed change in the "coded" viscosity of the
polymer in solvent, as measured every minute by an on-line viscometer; the input u(k)
is the relative change in the composite manipulated variable C, a fundamentally
derived nonlinear function of the initiator flowrate, and the ratio of the catalyst to
cocatalyst flowrate, i.e., u(k) = (C(k)- C*)/C* where C* is the typical steady-state
operating values for this composite process variable. (The process exhibits
reasonably linear behavior over a wide range of operating conditions as a result of
the unusual, composite input variable employed.)
Postulate a discrete first-order model and from the given data estimate the
parameters. Evaluate the model fit.
TABLE P23.2
Polymer Reactor Pilot Plant Pulse Test Identification Data
23.4 For the same polymer reactor data of Problem 23.3, postulate a discrete second-order
model of the form:
(P23.2)
and estimate the parameters. Evaluate the model fit and compare it to the fit obtained
in Problem 23.3.
CHAJP1rEIR
24
TOOLS OF DISCRET E-TIME SYSTEMS
ANALYS IS
• The z-transform
• The pulse transfer function
• Linear difference equations
RA.7
~,. ~,·
,.~;.,,
848 COMPUTER PROCESS CONTROL
This chapter is devoted to studying the z-transform .and the pulse transfer
function in the context of their application to discrete systems analysis. We
treat linear difference equations and their solution in Appendix B.
It is important to remember that these analytical tools are applicable only
when the process model is linear with constant coefficients; for nonlinear
process models, dynamic analysis must be carried out numerically, or else
approximate linear models will have to be substituted for the nonlinear ones.
24.2.2 Definition
The z-transform of the discrete signal j*(t) made up of the sequence of impulses
f(kdt ) fork = 1, 2, ... , is defined as:
f{z)
-
= Z{f*(t)} = .kJ;fkdt)z-k (24.la)
-
f{z) = Z{f*(t)} = kJ;fk)z-k (24.lb)
Remarks
f*<t> I r 1 o(t -
= l=O k/:J.t) (24.llb )
.f{z) = Z{f*(t)} =
-
L
k:O
r-k z-1 (24.12)
which the infinite sum in Eq. (24.1) exists and is finite. Fortunate ly, all the
functions of practical interest in computer process control are such that they
possess z-transforms.
Linearity
As with Laplace transform s, the z-transfor m operation is linear, i.e., given two
constants c and c2 and two (z-transformable) discrete functions .f*1(t) and f""2 (t),
1
then:
(24.14a)
The validity of this assertion is easily proved from the definition in Eq. {24.1).
It can also be shown that the inverse z-transform operation too is linear, so
that:
(24.14b)
Convol ution
lf/1(k) andf2(k) are two discrete sequences ink, which respectively make
up the discrete functions f"1{t) andf'2 (t), and if:
850 COMPUTER PROCESS CONTROL
(3.1)
L{li(t)} = 1
(24.3)
(24.4)
we are able to exactly recover the z-transform defin~d in Eq. (24.1) from
the Laplace transform in Eq. (24.3). Thus:
Before proceeding farther, let us illustrate how to use Eq. (24.1) to obtain
z-transforms with the following examples.
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEM S ANALYS IS
851
f"(t)
1 /
t{t)
0 ~: J[]]l1\[lf""
~~
t-
Figure 24.1. The continuous and the discretized unit step function.
The d~ete sequenc e obtained from the simple, unit step function is
clearly given
by:
r<r> = I. 1 6(1 -
k=O
k~t> (24.6)
J(z) = Z(f*(t))
-
L 1 z-t (24.7)
k=O
= 1+z-1 +z-2 + ...
an infinite series which, for Iz-1 1 < 1 converge s to give:
1
J(z) = 1 - z-1 (24.8)
f{t) f{k)
t-
Figure 24.2. The continuo us and the discretized exponential function.
854 COMPUTER PROCESS CONTROL
and
Z(f''z(t)} = /2 (z) (24.15b)
(24.16)
ing transfe r
This proper ty is particu larly useful for analysis involv
functions.
of Eq. (3.10),
a closed complex integral which, not surprisingly, is reminiscent
the inverse of the Laplace transform.
a is hardly
Of course as with the Laplace transform, this inversion formul
used in practic e. More practic al method s for inverti ng z-trans forms will be
ever
important points
investigated in the upcoming Section 24.3. However, two very
must be noted from the expression in Eq. (24.17): '
ce f(k); it is
1. The z-transform inverse produces only the discrete sequen
ble of provid ing inform ation about the origina l contin uous
incapa
function,/(t), from which the sequence could have come.
interval, At,
2. The inverse provides no information about the sampling
for the discrete sequence f(k).
-
Z{fik-m)) = k"J;fk-m)z-k (24.19)
Z{fik-m)}
..
= 'I,f(i)z-i-m (24.20)
i•-m
For causal functions, f(i) = 0 for i < 0, hence, Eq. (24.20) simplifies to:
Z{f(k-m)} =
-
I. [fti) z-1 ]z-m
•=0
-
= z-m _I. [fti) z-1 ]
•=0
= z-m f(z) (24.21)
as required.
The assumption that the time delay is an integer multiple of the sampling
time may not always hold. Under such circumstances, it is possible to make use
of the so-called modified z-transform (see Refs. [1-3]). However, we will not
discuss this in detail here.
The z-transform equivalent for the discrete sequence f(k) states that:
In terms of the discretized version of a continuous function, the same result could
be presented as follows:
H j*(t) is the sampled version of the continuous function f(t), with Z(f'*(t)}
given as J(z), then:
(24.26)
Let us illustrate the application of this result with the following example.
Find the z-transform of the discrete function f'(t) obtained by sampling the continuous,
damped sine function j(t) =e-at sin rot (t ~0) at intervals of M time units.
Solution:
The solution strategy is first to find the z-transform of the sampled sine function,
and then to apply the complex translation result.
Thus, we first let:
(24.27)
then, recalling Eq. (24.2), the sampled sine function will be given by:
,JB _ e-jB
sin 8 = 2j (24.30)
f,J (z) = ~ I[
2} k= 0
e(jOJkllr)- e(-jwk&t)] z -k
(24.31)
or
(24.32)
Upon further rearrangement, using Eq. (24.30) and the cosine counterpart:
,JB + e-j8
cos8= 2
Eq. (24.32) simplifies to:
f1(z) = -1 (24.33)
I - 2z cos (mt.t) + z -2
We now observe that the desired z-transform, f(z), for the sampled damped sine
function may now be obtained from Eq. (24.33) by invoking the complex translation
result Eq. (24.26): the result is:
ss
24.2.5 Appl icatio n of z-Transforms to Discrete-Time Proce
Cont rol
l systems analysis and
The application of z-transforms to discrete-time contro
ations in contin uous time.
design is analogous to the Laplace transform ~pplic
are summ arized as follow s and illustr ated in
The broad conce pts involv ed
Figure 24.4:
ime domai n (or in
1. The original problem, formulated in the continuous-t
the Laplac e domai n) is first discre tized with sampl e time At.
z-dom ain.
2. The discretized proble m is transformed to the
ain to produ ce the
3. The transf ormed proble m is analyzed in the z-dom
desired result in terms of z-trans forms.
te form from the
4. The desire d time domai n results are recovered in discre
e z-tran sform operat ion.
z-domain solution, through the invers
procedure. The first
Several examp les below will illustrate the details of this
requir e more detaile d discussion.
two steps in the proced ure described above
possib le paths one may take in procee ding from a
Figure 24.5 illustr ates the
impor tantly , the figure
continuous-time formulation to the z-transform. More
also shows:
Original Problem
(In time or z 'I'ransiOrmed
Problem
Laplace domain) z- 'I'ransformatim (In z-domain)
DuW Dlscretized
ADaJ.yais in
z-doma"m
Results
(in terms of
z-1 Result in
discrete time z-domain
variable, k) Inverse z-Transformation
in discrete-
Figure 24.4. Conceptual representation of the application of z-transforms
time process control.
860 COMPUTER PROCESS CONTROL
itt) its)
L
Continuous j0
its)= e- 11 f(t) dt
Domain
Discretization Discretization
f(z)
Variable
Transfonnation
z-Domain
f(z) =f f(k) z --1< z = e 161
k•O
Figure 24.5. Paths relating the continuous domain to the z-domain via the discrete
domain.
2. That all paths from the continuous formulation to the z-tra11sform must
involve the irreversible operation of discretization, making it easy to
see why it is impossible to recover the original continuous function from.
the z-transform of its discretized version.
or
we easily find, from any table of z-transforms (such as the one in Appendi x
C),
or from Example 24.2, that this is the z-transfo nn of the discrete exponen
tial
function, f(k) = rk, with r = lf'M, for which:
I
Z(f{k)} = Z(r*) =I _ (rz)-l (24.42)
Thus, by inspectio n, we immedia tely observe that the inverse of Eq. (24.41)
becomes:
rm,
the variable z-1• Thus for any z-transfo
recognizable as an infinite series in
z-1, say: .
f(z), exp and ed as an infinite series in
(24.45)
the
is easily recovered by comparison of
its inverse, the discrete seju ence , f(k),
4) and (22.45) to yield
coefficients of pow ers of z- in Eqs. (22.4
(24.46)
f(k) = Yk ; k = l, 2, ...
f(z)
Power Series Expansion for Arbitrary
ials in
In general, the z-transform is usua
lly expressed as a ratio of two polynom
z-1, i.e.:
(24.47)
or
(24.48)
of
been expr esse d inst ead in term s
Obs erve that had the tran sfor m ly by divi ding both
8) is obtained easi
poly nom ials in z, the form in Eq. (24.4
min ator by the appr opri ate power of z.
num erat or and deno explicit "lon g divi sion " of the
y out
In prin cipl e, it is possible to carr d in
omi nato r poly nom ial, as indi cate
num erat or poly nom ial by the den in Eq. (24.45), with the
infinite series as
Eq. (24.48); the resu lt will be an
ANALYSIS 863
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEMS
will be zero . Obviously, this
possibility, of cours e, that some coefficients
procedure is tedious.
the follo wing :
A less tedious, entirely equivalent procedure is
); thus if:
The objective is to represent Eq. (24.48) as in Eq.
(24.45
3
f(z- 1) = ro + rlz-l + r2z- 2 + r3z- + ...
ion:
then the requi red JS: sequence must satisfy the equat
_1 B(z- 1) (24.49)
T(z ) = A(z-1)
or
(24.50)
giving
(24.52b)
so that:
(24.53b)
so that:
(24.54b)
864 COMPU TER PROCESS CONTRO L
express ion
and upon recogni zing the emergin g pattern, we obtain, for the general
for finding Yk given ak' and b1:
(24.55)
n.
which can be used recursiv ely with Eq. (24.52b) as the initial conditio
Using the technique of infinite series expansion, find the inverse z-transfo
rm of
c (24.56)
./(z) =1 - ~z- I
Solution:
the
As j(z) is already in the form required by Eq. (24.48), we simply note that
coefficients are given by:
bo = c (24.57a)
bk = O· k= 1,2, ... (24.57b)
and
ao =
(24.58a)
al = -~
(24.58b)
ak = 0; k=2, 3, ... (24.58c)
(24.60)
Yt =q
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEMS ANALYSIS 865
Using both Eqs. (24.59) and (24.60} now in Eq. (24.55) fork =2, remembering that both
b2 and a2 are zero, we obtain:
h = cq?
and we finally see that Eq. (24.55} in this case gives rise to a recursive relation:
(24.61)
or, that;
(24.62)
Thus, we now have that the givenf(z) may be expressed as the following infinite
series:
f{k) = cf (24.63)
The same conclusion could have been arrived at immediately from Eq. (24.62}, by
equating the 11: and the f(k) sequences.
Note that this sequence also represents the discrete exponential function, with
41 = 1/r, or tP =e...,111
2. Use the linearity property of the inverse z-transform to recover f(z) from
(24.65)
The procedure for breaking the function f(z) up into its simpler partial
fractions is now outlined:
(24.66)
(24.67)
C.
f.{z) = 1 - P;Z _ 1 ; i
1 = 1, 2, ... , n (24.68)
I
which is simple enough that its inverse may be obtained directly from
z-transform tables. Alternative ly we may recall that this is precisely
the z-transform we inverted in Example 24.4; thus, we have that for
each partial fraction in Eq. (24.67):
or, that:
(24.69)
(24.7lb)
j( ) _ 0.8~ 2 - 0.3z
z - z 2 - 1.5~ + 0.5 (24.73)
Solution:
Observe first that f(z) is given in terms of polynomials in z and not in terms of
polynomials in z-1 . It is important to note that nothing is inherently wrong with
dealing with z-transforms presented in this form; however, it is quite often more
convenient to deal with polynomials in z-1
By dividing through by 7?-,f{z) is easily converted to the desired form:
0.8 - 0.3z- 1
fiz) = 1- l.sz- 1 + o.sz- 2 (24.74)
from whence we factor the denominator into its two roots to obtain:
0.8 - 0.3z- 1
f{z) = (1 - z- 1) (I - o.sz- 1) (24.75)
The inverse transform is now easily obtained from Eq. (24.69) as:
If we sample g(t) with sample time At, then from the definition of the z-
transform (Eq. (24.1)), we obtain the pulse transfer function for the sampled
process without a hold:
BN,/-z)
-
= k=O
I. g(kt1t)z-" (24.81)
Solutio n:
Since:
- K ..v
L 1 {g(s)} = g(t) = -e r (24.83)
r
(24.84)
or
(24.86)
where
(24.87)
This is the pulse transfer function of a first-order sample
d-data process with
sampling time M and no zero-order hold.
Continuous Time
Domain Discrete Time
Domain
~
~
Continuous-time
Domain
~
Discrete-time
Domain
pled-data
continuous system and its sam
Fig ure 24.8. Proper equivalence between a
n of a hold element.
version achieved wit h the inclusio
d in Example
function KN~(z), suc h as der ive
On e mig ht think the transfer rop riat e equ iva len t tran sfe r
s, wo uld be the app
24.6 for a firs t-or der proces um ptio n wo uld be
e process. However; this ass
fun ctio n for the discrete-tim the sam ple d-d ata
ure 24.7, the inp uts received by
wrong! As represented in Fig (a) in Cha pte r 23; the y
ses of the typ e ind ica ted in Figure 23.2
sys tem are pul retu rn to zer o
sam ple poi nt but pro mp tly
tak e the val ues u(k At) at the rete-time process
Cha pte r 23, .the equivalent disc
thereafter. Thus, as we saw in rde r hol d, H(s), wh ich
har dw are -th e zer o-o
requires one add itio nal piece of ) so tha t it app ear s as a
seri es of spi kes of the sam ple d inp ut, u(tt
act s on the e process can not
zero-order hol d, the discrete-tim
series of step s. Wi tho ut this any oth er essential
had no final control ele me nt or
fun ctio n any bet ter than if it (z) in Eq. (24.86)
the pul se tran sfe r function KNH
par t of the process. Since am ic ana lysis because it
s no zer o-o rde r hol d, it is not ver y useful for dyn
contain
cess.
does not represent the true pro is the one tha t
Thu s the cor rec tly con figu red sam ple d-d ata sys tem
te tha t one first use s
indicated in Figure 24.8. No
incorporates a hol d element as sen ds tha t to the tran sfe r
d ver sion of u(s) , den ote d by u•(s), and
the sam ple , H(s). This can
es the zer o-o rde r hol d element
fun ctio n H(s) g(s) wh ich inc lud n, g(z). Since the
rop riat e pul se tran sfer functio
the n be con ver ted to the app con trol sys tem s, it
ted into essentially all dig ital
zer o-o rde r hol d is inc orp ora to foll ow.
t in all of the analysis
wil l be ass um ed to be pre sen
)·
The Pulse Transfer Function g(z I
n resulting from a
der ive the exp ress ion for the pul se transfer functio
Let us now ent as sho wn in
sfer function and the ZO H elem
com bin atio n of the process tran the ZO H is to hol d
erv e tha t the ope rati on of
Fig ure 24.8. First, we obs per iod At; this is
con stan t ove r the sam plin g
wh ate ver val ue it receives ut by a fun ction tha t tak es
the sam e as "op era ting " on the pul sed inp
pre cise ly and remains at this
ing of the sam plin g per iod ,
on a val ue of 1 at the beg inn 24.9.
h a function is sho wn in Figure
val ue ove r the interval At. Suc if U(t) is the
resents the ZO H operation, and
Observe, now , tha t if H(t) rep
uni t step function, then:
(24.88)
H(t) = U(t )- U(t
- At)
ANALYSIS 871
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEMS
H(t)
lh
O
L l_
Figur e 24.9.
0 At
--- time
or
(24.92)
(24.93)
function of a sampled-data
The procedure for obtaining the pulse transfer
as follows:
process with a ZOH element may now be outlined
872 COMPUTER PROCESS CONTROL
.,, '
1. Take the inverse Laplace transform to obtain the continuous-time
function corresponding to g(s}/s; let this function beg(t).
2. Discretize the function g(t) with sample time Jlt to yield g(kllt) and
then obtain the z:transform g(z).
3. Multiply by 1 - z-1 as indicated in Eq. (24.93) to obtain g(z), i.e.;
Find the pulse transfer function for a first-order sampled-data process with a ZOH
element, given that
K
g(s) (24.95)
(n + 1)
Assume that the inputs and outputs are synchronously sampled at regular intervals of
llt time units.
Solution:
~= K (24.96)
s :r ( ts + I)
and either by recognizing this as the unit step response of a first-order system, or by
going through the actual mechanics of partial fraction expansion followed by Laplace
inversion, we obtain:
(24.97)
(24.98)
(24.99)
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEMS ANALYSIS 873
If we let
(24.100)
To establish this inequality, we first obtain H(z), say, from Eq. (24.88) as
follows:
Recalling the expressions obtained earlier for the discrete unit step function,
and also recalling the time-shift result in Eq. (24.18), Eq. (24.103) becomes:
and hence:
(24.105)
which merely reproduces our original isolated process pulse transfer function.
Thus one must always deal with g(z) rather than gNH(z).
Solution :
as the pulse transfer function model corresponding to the example first-order difference
equation model. Thus the pulse transfer function is given by:
(24.116)
(24.120 )
Solutio n:
(24.121)
If we now take the inverse z-transforms using Eq. (24.119) we immedi
ately obtain:
y(k)-(e -Atl")y( k-1) = K(l-e -M1")u(k-1 )
which rearran ges to:
(24.122 )
This equatio n is recognizable as the difference equatio n model
for a first-order system
obtaine d in Table 23.1 by exact discreti zation of a first-ord
er, differen tial equatio n
model, when the input is taken to be piecewise constant over the
sampling interval.
The interre lations hips betwee n the most commo n contin uous-t
ime and
discrete-time model forms for processes are summa rized in
Figure 24.10. By
following the paths shown one can move from the continuous
to the discrete
domai n and obtain either time- or transform-domain models as
desired.
L I
Differential I
NZ::
g(s)
Equation
-8
Realization
I
I
Discretization I
with zero I i!t>
orderhold
I
Difference
Equation
z
Discrete
g(z) ~ I
z li'ttJ)
Realization
I
REFERENCES AN D SUGG
ESTED FURTHER RE AD
ING
Detailed treatment of additio
nal issues involved wit h dig
available, for example, in the ital control systems in general
following books devoted enti are
rely to this subject matter:
1. Franklin, G. F. and J.D
. Powell, Digital Control of Dyn
Reading, MA (1980) amic Systems, Addison-Wesle
y,
2. Ogata, K, Discrete-Tim
e Control Systems, Prentice-Halt
3. Astrom, K. J. and B. Wit Englewood Cliffs, NJ (1981)
tenmark, Computer Controlled
Englewood Cliffs, NJ (1992) Systems, (2nd ed.) Prentice-Hall,
REVIEW QU ES TIO NS
1. Wh at is the z-transform?
PROBLEMS
sam plin g the
discrete function f(t) gene rated by
24.1 Establish that the z-tra nsfo nn of the Mis give n by:
sample time
cosine function f{t) =co s (rot) with a
(P24.1)
n as:
ace dom ain transfer function is give
24.2 For a system who se continuous Lapl
(P24.2)
g(s)
(P24.3)
g(z) = 1 + a 1z- 1 + a 2z- 2
n by:
then the indicated coefficients are give
(P24.4b)
MS ANAL YSIS 879
CHAP 24 TOOL S OF DISCR ETE-T IME SYSTE
(P24.4c)
and
(P24.4d)
(P24.4e)
2.0(-3 s + 1) (P24.5)
g(s)
(2s+ I )(5s+ I)
Y -
_ [ch - h*)
h* (in)
(in)]
This model is to be used for the design of a digital controller with a sample rate of tu
=0.1 min; obtain the required pulse transfer function model for the sampled process
incorporating a ZOH element.
24.6 In Example 20.3, the nonlinear model for the stirred mixing process of Figure 20.1
was obtained as:
(20.16)
(20.17)
This model was linearized around the steady-state operating point, h5, T 5 in
Examples 20.4, and by defining the following deviation variables:
Yt =XI = h- h.;
UI = FH-FHs;
dt = Fd-Fds;
The equivalent Laplace domain transfer function matrix model was obtained in
Example 20.5 as:
G(s) (20.23)
and
GJ..s) (20.25)
with
(20.24a)
CHAP 24 TOOLS OF DISCRETE-TIME SYSTEMS ANALYSI S
881
K
~2 = _r;- =2au (20.24b)
Ac"V h1
(a) H a specific process whose physical paramete rs are given below is sampled
with
at = 10 sec, obtain the pulse transfer function matrix for the sampled process,
assuming a ZOH element
15 em
K
f3 = -r;- = 3.25
2-v h,
Tc = l7°C
T8 =
72°C
T4 =
35°C
T, = 28°C
F, = 103 eels
F4, =
10.3 eels
(b) H, as a result of a transportation lag through the water pipes, a time delay of
60
seconds is known to be associated with the effect of the flowrate changes
on
temperature, how should the pulse transfer function matrix be modified to reflect
this
fact?
C H A PT ER
25
DY NA MI C AN AL YS IS
OF
DISCRETE-TIME SYSTEMS
000
884 COMPUTER PROCESS CONTROL f! ,.
'·
Given a discrete-time process model and u(k), k = 0, 1, 2, ...,a sequence of
discrete values for the process input, investigate the behavior of the
process output, y(k), k = 1, 2, .... (For multivariable systems, we would
have vectors u (k) and y (kj instead of the corresponding scalar
sequences.)
bz- 1
y(z) = 1 + az 1 u(z) (25.2)
tP = -a (25.4)
we would have:
y(l) = ,Py(O) + b
and fork= 2:
y(2) = I/Jy(1) + b
which becomes:
y(2) = ,P2y(O) + ,ph + b (25.5)
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS
885
and similarly, for k = 3:
y(3) = ¢y(2) + b
or
(25.6)
It is now easy to see that further recursive evaluation will yield the general
result:
Since the model is assumed to be in terms of deviation variables, and since the
process is initially at steady state, then y(O) = 0; also, it is easily established
that the geometric series involving powers of ¢simplifies to (1 - ()/(1- ¢),
*
provided ¢ 1. Thus the general expression for any value of k becomes:
unbounded.
4. The closer I ¢I is to 0, the faster I --+ 0, and the faster the approach of
y(k) to y(oo); conversely, the closer I ¢I is to 1, the more sluggish the
approach to y(oo).
5. Thus in terms of the familiar characteris tic parameters of the
continuous first-order system, ¢ appears to be related to the time
constant, while b/(1- ¢)is clearly the steady-stat e gain. A comparison
of Eq. (25.1) with Eq. (24.122) establishes that this is in fact the case.
0~------------,k----~
() = b
Yz
[t/(1 -z-IP) _ 11(1 -1/Jz-IP)J
1- 1 1- 1
(25.9)
result:
s are easily obtained, giving the
from whence inverse z-tran.sform
to give:
wh ich immediately rearranges
(25.10)
y(k) = 1 ~ ¢ (1 - fi'')
the corresponding
Eq. (25.8). We may now recall
exactly as obtained earlier in
apter 5, (Eq. (5.13) with A = 1}:
continuous-time result from Ch
(25.11)
y(t) = K ( 1 - e--tl")
y Input Sequence:
Response to an ArbitrarAn
Time-Domain alysis
ation wh en we have
ng discussion to cover the situ
It is easy to extend the foregoi ser ve from the time-
for a first-order process. Ob
an arbitrary inp ut sequence the gen era l,ex pression for y(k)
ain equ atio n in Eq. (25.1) that, with y(O) = 0,
dom
ma y be obtained recursively:
(25.12)
1, y(l) = bu(O)
for k=
y(2) = ~(1) + bu( l)
for k= 2, and ¢= -a,
, y(2) = tjlbu(O) + bu( l)
or, using Eq. (25.12) for y(l)
y(3) = fbu (O) + tjlbu(l) + bu( 2)
and, for k= 3,
= b[¢2u(0) + /f>u(l) + u(2 )]
so that in general:
y(k) ,;. b[i/- 1u(k -i)]
(25.13)
RETE-TIME SYST EMS 887
CHAP 25 DYNA MIC ANAL YSIS OF DISC
ete first- orcie r proc es;s to any
Thus, Eq. (25.13) gives the response of the discr
arbit rary inpu t sequence u(k), k =0, 1, 2, ....
(24.16)
(25.14)
Let Z'1 {g(z)} = g(k), k = 0, 1, 2, ... , and z-1{u(z)} =u(k), k = 0, 1, 2, ... , then, y(k)
is imm ediat ely obtai ned as:
y(k) .L g(i)u (k- i)
= 1=0 (25.16)
here:
There are a few impo rtant point s we must note
funct ion for the proc ess whos e
1. g(k) is the discrete impulse-response
when u(k) is the Kronecker
z-tra nsfer funct ion is g(z). Obse rve that
delta function O(kllt) defin ed by:
(25.22)
(24.110)
in the z-domain.
If all we are interest ed in is numeri cal analys is of the behavio
r of these
ideal for this purpos e, being easily program med on
systems, then Eq. (24.106) is
compu ter to accept values of the discret e sequenc e, u(k), and
a digital
the general
sequen tially comput e the resulta nt y(k). To gain insight into
, howeve r, the analysi s is somew hat more
characteristiCs of these systems
conveni ently carried out in the z-doma in.
(25.23)
domain
The z-transform inversion required for conver ting Eq. (25.23) to the time
24.3 of
is best carried out by partial fraction expans ion as discuss ed in Section
Chapte r 24.
, real
Assumi ng once again that the denomi nator polyno mial has n distinct
fraction expansi on,
roots, then recalling Eq. (24.67), we see that by partial
Eq. (25.23) becomes:
(25.24)
1/(1 _ z-1)
where the first term on the RHS arises because of the additio nal
p the roots of the denomi nator polynom ial, and
term. As before, p1, p 2, ••• , n are
the constan ts ~ R1, ... , Rn are determi ned in the usual fashion.
Taking inverse z-transforms in Eq. (25.24) now yields:
(25.25)
e:
It is importa nt to note a few things about this general unit step respons
then observe that as k ~ oo, all the terms except R0 vanish and y(k)
attains a finite, steady-state value, y(oo) == R0 •
COMPUTER PROCESS CONTROL
890
fy Eq. (25.26), then this port ion of
2. If just one of the roots pi fails to satis
indefinitely as k ~"", and the
the expression in Eq. (25.25) will grow
d beca use of this single term.
response will be unbounde
of the roots of the denominator
3. It is therefore clear that the natu re
fer func tion determines ,the character
polynomial of the z-domain trans
isely the case with s-do main
of the response. Recall that this was prec
transfer functions.
nomial of the z-tra nsfe r function
Being the roots of the deno min ator poly
whe n z =pi' i = 1, 2, ... , n; therefore,
implies that this polynomial will be zero
analysis, these roots pi are know n as
as was the case with s-domain dynamic
r in Section 25.2 we shall have more to
the poles of the z-transfer function. Late
of the z-transfer function.
say about the poles (and also the zeros)
ce
Response to an Arbitrary Inp ut Sequen
rete syst em to an arbi trary inpu t
The response of the general, linear disc
olution result. Since the z-tra nsfe r
sequence is best obtained using the conv
function for this process is:
(25.27)
+
-
.L en (pni u(k- i)
r=O
(25.29)
y(k) = L, .L ci (p/
-
u(k- z')
(25.30)
j= I r=O
(25.34)
Yt( k)]
y(k) = [ ;
Y2(k)
(25.38)
The response to the arbitrary vector sequence of inputs, u(k), is easily shown
to be:
y(k) = [i~i-l Bu(k- i)J (25.39)
'"''
which is recognizable as the matrix version of Eq. (25.13).
and the corresponding pulse transfer function model with (rp =-a) is:
bz-'(z-0~
y(z) = 1 _ rpz- u(z) (25.41)
bz-•
g,(z) = 1- rpz-'
where g 1 (z) is the "undelay ed" portion. The "undelay ed" response, y 1(k), is
obtamed, and from the time-shift result, the required time-dela yed response
will be given by:
0; k <D
{ (25.45)
y(k) = y 1(k-D); k"Z.D
or
(bo + blz-1 + b2z-2 + ... + bmz-m) z-D
(25.46b)
g(z) = 1 + a 1z- 1 + a 2 z- 2 + ... + a.z-•
If we choose not to confound the z-D term, indicative of the presence of a time
delay of D sample times, with the z1 term, indicative of the denominator-
numerator polynomial-order excess, then it is possible to write Eq. (25.48) as the
following ratio of polynomials involving only z:
where B'(z) and A'(z) are the numerator and denominator polynomials in z
indicated in Eq. (25.49). Since this form is in terms of the variable z (which is
the inverse of the unit "backward shift" operator .z-1), it is sometimes referred
to as the "forward shift'' form in direct contrast to the "backward shift" form.
If we choose to combine the z' and the zD terms, g(z) will have the form:
(25.51)
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 895
with
N = D-1 (25.52)
We must now note the following very crucial points about the relationship
between the two forms available for representing the pulse transfer function:
(25.53)
(25.54)
found in Eq. (25.46) have identical sets of roots for z, provided z * 0, and
may therefore be considered equivalent
(25.55)
and
0 (25.56)
''
have identical sets of roots for z.
4. In the event that a pulse transfer function is given in the form shown in
Eq. (25.51) where the time delay D and the numerator-denominator
polynomial-order excess l are combined, the value of l can be deduced
from the respective orders of B '{z) and A '{z), and hence the actual
value of D can be determined from Eq. (25.52).
Solution:
1. By observing that there is a common .z-1 factor in the numerator, Eq. (25.57) may be
rearranged as:
(25.58)
and now, since the order of the remaining numerator polynomial (in parentheses) is 1,
and the order of the denominator polynomial is 2, we conclude that Eq. (25.58) is in the
form given in Eq. (25.46) with I = 2- 1 = 1, and D = 1.
b 1z + b 2
(25.59)
g(~) = z2 + a 1z + a 2
Let us now note that if we had been given Eq. (25.59) directly as the pulse transfer
function for the second-order system with a ZOH, a very common mistake is to inspect
Eq. (25.59) -which is entirely identical to Eq. (25.58) -and conclude that there is no
delay involved in this system. However, since this is a ratio of a first-order and a
second-order polynomial, obviously I '" 1 and D = 1.
- ....!lliL
g(z) - zNA '(z)
or, when derived from the "backward shift " form, and the delay term D has
not been combined with the numerator-denominator polynomial-order excess I:
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 897
_ iB'(z)
g(z) - z0 A '(z)
Steady-State Gain
Let S(k) represent the unit step response of the system whose pulse transfer
function is g{z). Observe that S(k) will be given by:
(25.63)
where
.5(z). l
= g (1z-z -
)-1 (25.64)
H we now recall that the final steady-state value of a system's unit step
response is identical to its steady-state gain, we have the final result that K,
.-/.'k,.
COMP UTER PROC ESS CONT ROL
898
its pulse transfer function
the system's steady-state gain, is obtained from
according to: (25.67)
K = lim [g(z)]
z ->I
s system is:
Recall that the corresponding result for the continuou
K = lim [g(s)]
(25.68)
s ->0
B'(z), and
, and a pole-zero excess of
• When there is a time delay of D sample times
located at z = 0, the
n - m = l , there will be N = D -1 additional poles
origin of the complex z-plane.
forward shift form and A(z-1)
However, we had noted earlier that A'(z) in the
in the back ward shift form have identical
sets of roots; simil arly, B'(z) and
B(z-1) also have identical sets of roots. The implication for poles and zeros of
g(z) in terms of the backward shift representa
tion is now given as follows:
bz- 1 (25.71)
(b) g(z;) =1- az- 1
bz-1-M (25.72)
(c) g(z) I - az- 1
Solu tion :
(25.70), that n =I,
observe, first directly from Eq.
(a) For this transfer function, we in the requ ired characteristics as
m =0, and D =0. Thu s l = 1 and
we now obta
follows: , ther e is no ZOH
• This is a first-order transfer
function, because n = 1; how ever
• The delay is zero, because D = 0
-a)
• By setting z =1 we obtain K = b/(1 = 0 since
tion has one pole at z =a; the only zero is the one at z
• The transfer func
l=la ndm =O
0) by z /z we obtain:
Of course, multiplying in Eq. (25.7
bz (25.74)
g(z) = - -
z- a
to see the poles and
at z =a. Thu s it is muc h easi er
with a zero at z = 0, and a pole
zeros in the forward shift form. erator, the transfer
(b) In this case, recognizing the
presence of the .z-1 term in the num
function is first "rea rran ged" as:
(25.75)
g(z;)
a unit delay.
er transfer function in part (a) with
and we see that this is the first-ord with dela y D = 1, stea dy-state gain
function,
Thus we have: a first-order transfer z = 0 beca use l = 1.
K =b/(1 -a), a pole at z =a,
and in principle an excess zero at n: the unit
ellat ion phen ome non agai
pole-zero canc
How ever , we now obse rve the
900 COMPUTER PROCESS CONTROL
delay contributes an extra pole at z = 0 that cancels out the excess zero located at the
same point. In fact, the delay associated with this process is only noticed if the
backward shift form Eq. (25.75) is used: multiplying both the numerator and
denominator by z irrunediately gives:
which still shows the pole at z = a but fails to show either the excess zero or the single
pole contributed by the delay because they have been canceled out, being opposing
terms located at the same point.
(c) In this case, the transfer function clearly has the same form as that in part (b) but
with an additional delay term; thus it has all the characteristi cs identified with part
(b), but now D=M+1.
We must again note that one of the M + 1 additional poles contributed at z = 0 by
the delay term will be canceled out by the excess zero at the same location, so that if
Eq. (25.72) is put in the forward shift form, it will appear as if it has only a delay of
M,i.e.:
(25.77)
(b 1 + b2z- 1)z- 1
(25.78)
g(z) = 1 + a 1z 1 + a 2 z- 2
-:.
which we recall from Example 25.2 is a second-orde r process with a ZOH. To verify
this, observe that n = 2, m = 1, D = 1; so that I= 1, and the characteristics of Eq. (25.78)
in this case are:
• A second-order transfer function (n = 2)
• A unit delay (D = 1)
• A steady-state gain K = (b1 + b2 )I (1 + a1 + ~)
• Two poles at the roots of the denominator polynomial, i.e., z = p1, p2, where:
(25.79)
Observe again that the excess zero gets canceled out by the additional pole at z = 0
contributed by the unit delay. In the forward shift form, Eq. (:2~.73) reads:
b 1z+b 2
(25.80)
g(z) = z2 + a,z + "2
in which the proper zero at z =- (b2 /b 1 ), and the two poles are preserved, but the
excess zero and the additional pole due to the delay have been canceled out.
Recall from Chapter 23 that we indicated that the presence of a ZOH induces a
time delay in the process. This is seen in parts (b), (c), and (d) of Example 25.3
as a factor z-1 •
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 901
Let us keep in mind that in computer process control, the process model may
often be available first as a Laplace transfer function; the convenience of the
z-transform (over the Laplace transform) in analyzin g discrete-time systems is
what prompts its replaceme nt with a z-domain pulse transfer function model.
Since we are therefore often engaged in converting a Laplace transfer function to
its z-domain counterpa rt, it will, of course, be useful to be able to relate g(z) to
the g(s) from which it was derived. It turns out, however, that in going through
this exercise our ultimate reward is something more fundamen tal: we find that
we are, in fact, able to relate the entire complex s-plane - the familiar arena
in which continuou s analysis takes place - to the entire complex z-plane, the
(yet unfamiliar) correspon ding arena for discrete analysis.
where g*(t) is the sampled version of the continuou s impulse response g(t). The
correspon ding g(z) is obtained, in principle, by taking z-transforms of g*(t); by
definition of the z-transform, therefore, we have:
g(z) = Z{g*(t)}
-
= I. g(kt:.t)z-1
I"' 0
(25.82)
and by comparin g Eq. (25.82) with Eq. (25.81) we see that the sampled
s-transfer function is related to the z-transfer function by the relation:
z = esAt (25.83)
or, conversely:
I (25.84)
s = -lnz
M
(a)
.Imagi nary
Imaginary
-1 1 Real
Real
Imaginary
(b)
Real
z-plane.
Figure 25.2. Corresponding regions in the s-plane and the
jiD
Sro
-- tary j-"
lemen-~
Comp~- 2 8 plane
strip 3ID
~tl\\'l~tl.\\'1~ j -2· Im
z plane
Complementary
strip ro
·
~~~·J-2-
....,
Prima ry --l- ---1 .,.
(J
strip 0 (0
\Wl\\ll\ll!l\\1~~ -JT
- I
Complementary
strip 3ID
~~M~-iT
Complementary
"',_,...s..,tn...;'p;.,.,.,"'""'~ -}2
. Sro
1
or
z = rJr»At (25.87)
so that: (25.93)
()"to = r cos(DJAt) = eOl\lcos(tDAt)
and
m* = r sin(IIW) =ecr6tsin(DJAt) (25.94)
z-p lan e
ship s to loc ate poi nts in the
Let us now use the se rela tion lan e (cf. Fig ure s 25.2 and
nt points in the s-p
cor resp ond ing to several imp orta
25.3).
the locus of all complex numbers in the z-plane having magnitude 1. This is
clearly identified as the unit circle. Thus, we have that:
The imaginary axis in the s-plane corresponds to the unit circle in the
z-plane.
Since CJ is negative in this case, we see from Eqs. (25.89) and (25.90), that ecrM
will be less than 1. Thus, the corresponding set of points in the z-plane are
represented by:
i.e., the set of all complex numbers with magnitude less than 1, for all
arguments; this clearly represents the points lying in the interior of the unit
circle. Thus:
From Eqs. (25.89) and (25.90), since CJ is positive in this case, we easily obtain
that the corresponding set of points in the z-plane are now represented by:
and this is the set of all complex numbers with magnitude greater than 1; this is
clearly the set of points lying in the exterior of the unit circle, i.e., the
complement of the set represented in Eq. (25.%). Thus:
Even though we have now completely matched the s-plane to the z-plane,
there is one last point to be made: we start by considering a specific situation of
special significance involving two points in the s-plane .represented by:
(25.98)
and
(25.99)
Observe that these two points have the same real parts, and that their
imaginary parts differ by an integral multiple of 27t/ t:.t, which is recognizable
as the sampling frequency (recall that a sampling interval of t:.t corresponds to
a sampling frequency co5 = 27t/ t:..t).
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 905
Let us obtain the points in the z-plane correspon ding to these two s-plane
points. Using Eq. (25.92) we have:
and
(25.101)
(25.102)
From the periodicit y property of the sin and cosine functions , Eq. (25.102)
becomes:
(25.103)
so that points z 1 and z 2 are identical in the z-plane. We therefore have the
following result:
If two points in the s-plane have the same real part, but their
imaginary parts differ by integral multiples of W 6 , the sampling
frequency, they map into the same point in the z-plane.
2. In mapping the entire left half of the s-plane into the z-plane, only the
points within the primary strip are mapped into unique points within
the unit circle in the z-plane; any other points outside the primary
strip in the s-plane will map to points in the z-plane that are
repetition s of these primary points.
3. The relationsh ip between the z-plane and the s-plane is not unique; a
given point in the s-plane correspon ds to a single point in the z-plane,
but a given point in the z-plane correspon ds to an infinite number of
points in the s-plane.
There is a very importan t practical reason for the nonuniqu eness in the
secondar y strips where the frequency in the s-plane is larger than half the
sampling frequency, i.e., wsf2. Recall from our discussion in Chapter 23 that we
defined the Nyquist frequency, wN = w.f2, as the largest frequency for which
informati on can be extracted from sampled data having sampling frequency
(1} = 2n/ Lit. Thus the primary strip shown in
5
Figure 25.3 is the locus of all
COMPUTER PROCESS CONTROL
906
thus
less than the Nyq uist frequency and
points in the s-plane with frequency into the disc rete z-plane. All
m properly
that defines those points that transfor e a freq uenc y too high to be
s hav
the poin ts in the complementary strip a
in fact may corr upt the sam pled -dat
con tain ed in the sampled data and 23.4.
as seen in Figure
results by producing aliased data such
and Zeros
Ma ppi ng of Transfer Function Poles
in
the s-plane is related to the z-plane
Hav ing examined the issue of how issue: give n the poles and zeros
e specific
general, we now wish to address a mor ndin g g(z)?
s and zeros of the correspo
of g(s), wha t can we say about the pole
s of
denominator polynomial are the pole
and that the n roots of the nth-order are the zero s.
er numerator polynomial
g(s), while them roots of the mth-ord ler
We also recall that it is poss ible to decompose Eq. (25.104) into simp
terms by partial fraction expansion, viz.:
(25.105)
(25.106a) becomes:
from which the discrete version of Eq.
(25.107)
c*<t> = :L g(k&t) C<..t- k!it)
t=O
e
using Eq. (25.106b), we obtain the puls
By taking z-transforms in Eq. (25.107), star ted with in
ace transfer function we
transfer function equivalent of the Lapl
Eq. (25.104):
AI (25.108)
in a
tion term s, we are able to obta
By reco mbi ning thes e part ial frac
the form:
consolidated pulse transfer function of
B(z- 1) (25.109)
g(.z) = - -
(I- p 1z- )(t - p 2z- 1)
1 ... ( 1- Pnz- 1)
TI::MS YU7
IS Ul:" VlSC J<I:i 'lli-T lMt: SYS
CHA P 25 DYN AMI C ANA LYS
n by:
where each Pi in Eq. (25.109) is give
{25.110)
P; = ~!J
(located at
e transfer function wit h n ~les
Observe that Eq. (25.109) is a puls of the num erat or
rmined by the roots
z = p;, i = 1, 2, ... , n) and m zeros dete
polynomial B(z-1).
its pulse
lts for g(s) in Eq. (25.11>4) and
We may now summarize the resu
in Eq. (25.109):
transfer function equivalent, g(z),
poles of g(z)
1. While the poles of g(s) are 11 2
s s , ••• , 511 , the cor resp ond 1ng
the result:
are ~,Iii, ~.P1 , ••• , tf.A1, thus giving
r function, the ccrresponding
If s = s; are the poles of an s-transfe e'~ 1
·
poles of the z-transfer function are P;
=
from
sfer function poles are map ped
thus confirming again that the tran e wit h t:be fun dam enta l
accordanc
the s-domain to the z-domain in
83).
relationship z = e"lil given in Eq. (25.
) could be
implies that the pole s Pi of g(z
2. The relation in Eq. (25.110) wit hou t exp lici tly carrying
s s; of g(s)
determined directly from the pole
out the z-transform process.
) exists
r-cut relationship as Eq . (25.110
3. Unfortunately, no such clea the zero s of g(s), we can only
. Given
between the zeros of g(s) and of g(z) exp licit ly carr ying out the
of g(z) by
locate the corresponding zeros
z-transform process.
in the
the location of the pol es of g(z)
4. Eq. (25.110) emphasizes that sam e is
the sampling tim e At. The
z-plane are strongly influenced by g time s that a
only for small sam plin
true for the zeros. However, it is to a zero of g(z) at
s approximately
zero of g{s) at s = ~i correspond
z=et;;M.
ys
Transfer functions wit h time dela
function is
we recall that the Laplace tran sfer
When time delays are involved, scendental
pole-zero contribution of the tran
no longer completely rational; the ana lyz e precisely.
e-as dela y term is not qui
te as stra igh tfor war d to noted
the z-transfer func tion . As we had
Surprisingly, this is not the case with at the origin of the z-plane.
poles
earlier, the delay term contributes
Poles and Zeros of Processes
ane goes, the
As far as the map pin g of poles
and zeros from the s- to the z-pl
ing the
cess control is really that of find
imp orta nt issu e in com put er pro process and of the
zeros of the continuous
relationship betw een the poles and the wor d process. The
wit h emp has is on
cor resp ond ing discrete process,
908 COMPUTER PROCESS CONTROL
,. '
difference between this issue and that of merely mapping transfer function
poles and zeros is the crucial point made several times earlier:
Thus, for example, given the second-order continuous process with the s-transfer
function:
K (25.111)
g(s) = (s + a)(s + /3)
by straightforward discretization, we obtain a z-transfer function having the
form:
(25.112)
We may now observe that for this example, the.continuous process has two
poles, and both KNH(z) and g(z) also have two poles; the denominator
polynomials of KNH(z) and g(z) are the same, but their respective numerator
polynomials are different. Also note that g(s) has no zero, while g(z) has a
single zero located at z =- (b2 /b1)
We may now make the following statements ·about the relationship
between the poles and zeros of a sampled continuous process and the resulting
discrete process incorporating a ZOH element.
3. The number of zeros of the continuous process is, in general, not the same
as the number of zeros of the equivalent discrete process incorporating a
ZOH element. Thus, the incorporation of a ZOH affects the number of
zeros.
4. Again, unfortunately, it is not possible, given only information about
the zeros of a continuous process, to make any general statements about
the number or the exact location of the zeros of ·the equivalent discrete
process incorporating a ZOH. (See Ref. [1], p. 58 and Ref. [4], p. 61, for
heuristic rules giving approximate locations of these zeros.)
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 909
Inverse-Response Processes
We recall from Chapter 7 that a continuous process whose transfer function has
the
a zero in the right half of the s-plane will exhibit inverse response. By
same token, a discrete process whose pulse transfer function has a zero outside
the unit circle will also exhibit inverse response. However, as we will now
show with an example, sampling a continuous, inverse-response process may not
,
always give rise to a discrete-time process that exhibits inverse response
further demonst rating the effect of sampling time on the zeros of sampled
processes.
For the inverse-respon.<oe process studied in Chapter 7, with Laplace transfer function
given in Eq. (7.16) as:
(-3s+l ) (7.16)
g(s) = (2.r + 1)(5s + 1)
a ZOH
obtain g(z), the hybrid pulse transfer function for the process incorpora ting
that the unit of time is minutes, identify the zero of g(z) and investigat e
element Given
its location with respect to the unit circle when M is 1, 2, 6, 7, 8, and 10 min.
Solution:
we
Following the procedur e outlined in Chapter 24, for obtaining g(z) from g(s),
have first that:
.&{& (1-3s)
g(s) =
s
= s(2s + l)(5s + 1)
(25.114)
(compare with Eq. (7.17)). From here, using Eq. (24.92) we obtain g(z) as:
(25.115)
where
(25.116)
(25.117)
(25.118)
nu COMPUTER PROCESS CONTR OL
where
(25.ll9 a)
(25.ll9 b)
z, = -(:~)
or
8p,- 3p,p2 - 5pl (25.120 )
zl = 3 - 8p2 + 5p I
• ForM= 1; zt = 1.414
•For~t=2; z1 ::: 2.194
• ForM= 6; z1 = -1.373
• ForM= 7; z1 = -0.8604
•ForM =8; Z1 = -0.592
• ForM= 10; z1 = -0.32
= 1, 2, and 6, but lies
Thus we observe that the zero lies outside the unit circle for M
system will exhibit
within the unit circle for ~t =7, 8, and 10. Therefo re the discrete
e when the sample time is less than 6 min, but will not exhibit inverse
inverse respons
greater. The conclus ion is clearly that when a
response when sampling time is 7 min or
respons e system is sampled , whethe r or not the resultin g discrete
continuous inverse-
) exhibits inverse respons e is influenc ed by the
system (including the ZOH element
sampling time.
(25.121)
y (t)
y(kAt )
I I I I I
I
--. .!.- - .J- - _ I _ - - t - - - +- - -1-
0 I 1 I
At min
-2-
~t = 1.5 ~trrun
The pulse transfer function for this process is given in the backward shift form
as:
g(z) (25.122)
b
g(z) ---
z-p
(25.123)
Taking the inverse z-transform of g(z) in Eq. (25.122) gives the impulse response
of this process, g(k), as:
The nature of this impulse response is clearly governed by the location of the
single pole p which must be a real number. It is possible to identify six
qualitatively different types of responses as shown in Figure 25.5:
I~ Real
Figure 25.5. Impulse responses of the first-order process with a ZOH as a function of
the location of the single pole (adapted from Ref. [4]).
One should realize that for the discrete, first-order process resulting from
sampling a real, continuous first-order process, it is physically impossible to
obtain the ·response types 4, 5, and 6; this is because the single pole at z = p
arises from the real continuous pole at, say, s = s 1 and since these poles are
related according to p = e5 • 111, it becomes clear that p cannot be negative.
Responses 4-6 are typically associated, not with physical first-order processes,
but with certain discrete controllers to be discussed in the next chapter.
blz-1 + b2z-2
g(z) = 1 + alz I + a2z 2
and if the two roots of the denominator quadratic are p 1 and p2, then g(z) has
the factored form:
g(z) (25.125)
g(z) = z2 + a z+ a
(25.126)
I 2
L
COMPUTER PROCESS CONTRO
914
or
(25.127)
g(z)
tics
The Transfer Function Characteris
ver form) is characterized by:
The transfer function (in whiche
real and
ch cou ld be real and distinct,
• Two poles, at z = p 1, p 2 , whi
coincident, or complex conjugates.
• One zero at z =- b21br
tha t the transfer
s, we are also able to deduce
From the backward shift form and -ho ld process.
y due to the sample-
function has the usual uni t dela
eristics: Real Poles
The Transient Response Charact
ans ion of
the pol es are rea l and distinct, a par tial fraction exp
Wh en
Eq. (25.125) yields:
(25.128)
and
(25.130)
sfer functions
(25.128) is a sum of two pulse tran
Thus the transfer function in Eq. , and the con tribution of
typ e just dea lt wit h for the first-order system
of the ure 25.5. To
t response is as illustrated in Fig
each term to the overall transien to pro duc e the
tha t taking the inverse ofg (z)
see this more explicitly, not e '
impulse response, g(k), gives:
(25.131)
:
whe n the poles are distinct and
k-l; k;:: l (25.132)
g(k) = blk pk- l+b 2(k -l)p
and
(25.136)
OJ* = tan- 1 ( :: )
the pul se
par tial fraction exp ans ion of
Un der these circumstances, a
transfer function gives: A1z-l A2z-t
r*e-it»•z-1 (25.137)
g(z) = 1 - r*eico*z-1 + 1 -
(25.139)
wh ere the additional z-1 term
has occurred as a result of the
process. sampling and hol d
Let us now observe that upo
n decomposing Eq. (25.139) into
fractions, we wil l obtain onl simpler partial
y two typ es of terms: the typ
corresponding to those poles e in Eq. (25.128)
of A(z -1) tha t are real, and the
cor res pon din g to those pol type in Eq. (25.137)
es tha t are complex conjug
tran sie nt res pon se of any gen ate pairs. Thus the
eral sam ple d-d ata process
app rop riat e combination of will simply be an
the transient responses catalo
and 25.6, as det erm ine d by ged in Figures 25.5
the nat ure of the poles of
polynomial. These transien the den om ina tor
t responses therefore constit
blocks from which the respon ute the basic building
se of any other linear process
Again, as noted in the discus can be deduced.
sion of the second-order pro
affect only the magnitude of cess, the zeros
each contributing response; 2
ultimate behavior as k ~ oo. they do not affect the
So lon g as the zeros all lie wit
not much else can be said in term hin the uni t circle,
s of their influence on transien
Discrete processes wit h zer t responses.
os out sid e the uni t circle beh
con tin uou s cou nte rpa rts wit ave like the ir
h zeros in the right-half pla cc
inverse-response behavior. ne: the y exhibit
0\
;~,
.?l
e*(t)~
~
~ oo mu oo s II
y(t )
-- DISCRETE R
,-.- CONTROLLE ~ _j - ,
IDLD PROCESS I ..
SAMPLER
.....
------------------~
y"'( t)
~---------------'~-- ta control system.
Figure 25.7. Basic elements of a sampled-da
the discrete inp uts
s mu st now be sampled, and for wh ich
con tinuous out put ear continuous wit h a
troller mu st be ma de to app
pro duc ed by the discrete con
hold element. This concep t is illustrated in Figure 25.7. refore consist
gra ma tic rep res ent ation of such systems will the
The blo ck dia nnecting continuous
tur e of con tinu ous as we ll as sampled signals interco
of a mix
functions.
as well as discrete transfer sampled-data systems
cle ar tha t block dia gra m analysis for
It is therefore tem block diagrams are
sampled-data control sys
can not be han dle d cavalierly; con tinu ous feedback control
cre tize d ver sio ns of the familiar
not jus t me re dis valuable concepts and
dia gra ms . Ho we ver , the re are som e
sys tem blo ck d-d ata sys tem blo ck
rify and sim pli fy sam ple
pri nci ple s tha t hel p to cla
sen t these next.
dia gra m analysis; we wil l pre
ts an d Principles
25.3.1 Some Useful Concep
ansfer Functions
No tat ion for Signals and Tr
m continuous
(•) is use d to dis tinguish sam ple d signals fro
A sta r sym bol um ent indicates the
no suc h atta chment. As usual, an (s) arg
sig nal s tha t car ry um ent indicates the
icated signal, while a (z) arg
Laplace transform of the ind mu st be discrete.
signal which, by definition,
z-transform of the indicated
sform Concept
The us ta" ed # Laplace Tran
nal is ind ica ted by
a discrete (or sampled) sig
The Laplace transform of s int rod uce d in Ch apt er
cal led "st arr ed" Lap lac e transform; it wa
j"(s), the so-
24, in Eq. (24.3): .. 41 (24.3)
f*(s) == L{f *(t) } = "~f<kM)e-ks
orm u*(s) and
the "st arr ed" Laplace transf
The transfer function relating d as:
n define
y*(s) is the s•-transfer functio
(25.140)
y*(s) = g*(s) u*(s)
·J·•
s.
It relates the Laplace tran
sform of two sampled signal
Product of Transforms
Obta inin g "Sta rred " Transforms from a
from a sam pled inpu t u•(s):
Give n the cont inuo us signal, y(s), resulting
= g(s) u*(s) (25.143)
y(s)
n by:
then, the sam pled outp ut, y•(s), is give
(25.144)
y*(s) = [g(s) u*(s)J* = g*(s) u*(s)
k diag ram anal ysis for sam pled -dat a
This very usef ul resu lt is cent ral to bloc
. [2, p. 184-5], and [4, p. 86]
systems; its proo f may be foun d in Refs
z-Transform
Rela ting the "Starred" Tran sfor m to the
to us:
The key resu lt here is alrea dy familiar
in that:
from where we immediately obta
y(z) = gNH(z)u(z)
K (25.146)
g(s) = -rs + 1
tran sfer
us that the corr esp ond ing pul se
this block diag ram analysis tells
function is:
(25.147)
Series Elements
in Figure 25.9 containing two continuous
Consider now the block diagram shown
an intermediate sampler. Again, the
process elements in series separated by
is to obtain the z-domain pulse transfer
objective of the block diagram analysis
function relating y(z) to u(z).
The analysis proceeds as follows:
(25.148)
y(s) = g2(s) v*(s)
and (25.149)
v(s) = g 1(s) u*(s)
, we finally obtain:
and upon applying the Starred" transform
11
(25.152)
y*(s) = g*2(s) g* 1(s) u*(s)
ired z-transfer function relation as:
We now straightforwardly obtain the requ
(25.153)
y(z) = Kw/..z) KtNJ..z) u(z)
on either sampler.
where we emphasize that there is no hold
on here is that the over all puls e transfer function for the
The implicati
of the puls e transfer functions of the
process in Figure 25.9 is the prod uct
if:
indi vidu al elements. Thus, for example,
Kt (25.154a)
Kt = -rls +
v*(t) ~
~u*(tl
v(t) g,(s)
gt(s) y(s) y•(s)
v(s) v•(s)
u(s) u•(s)
v(t) y(t)
~
~ u*(t) __;,_; ._ gl (s)
v(s)
g2 (s)
y(s) y*(s)
u(s) u*(s)
series with no
ram for two continuous elements in
Figure 25.10. Open-loop block diag
intermediate sampler.
and
(25.154b)
(25.155)
each
indi vidu al z-transfer functions for
obtained by simp ly multiplying the
first-order process.
s whe n the two elements in series are
A completely different situation arise
g, as indicated in Figure 25.10. Let us
continuous, with no intermediate samplin e transfer function relating y(z) to u(z)
puls
now proceed to obtain the z-domain
for this case.
and (25.156b)
v(s) = g 1(s) u*(s)
so that: (25.157)
ed
ects y(s)'to u•(s) in Eq. (25.157) (and inde
We mus t now observe that wha t conn of two , continuous tran sfer
bination
in the block diag ram itself) is a com
s whi ch may be com bine d into one single - but still continuous -
function ind
will refer to as g28'1(s) simply to rem
composite transfer function, which we (25.157) may be writ ten as:
, i.e., Eq.
us of its individual component elements
(25.158)
y(s) = g-zg 1(s) u*(s)
whe re (25.159)
te
version of this second-order, composi
and the z-transform of the discretized
transfer function is given by:
(25.162)
(25.163)
924 COMPUTER PROCESS CONTROL
where 1/J; =e-Al/~,; =1, 2. This can be compared with Eq. (25.155), the situation
without a ZOH.
Following a similar analysis, we see that if the single sampler on the input
to g 1(s) in Figure 25.10 has a ZOH, then the overall transfer function in Figure
25.10 becomes (cf. Appendix C):
(25.164)
In practice, Eqs. (25.163) and (25.164) which include the ZOH are the relevant
ones for discrete-time block diagrams of real processes.
The next example illustrates in detail the block diagram with and without
a zero-order hold.
Obtain the continuous-time response, y(f), of the process indicated in Figure 25.10,
given that the input, u(f), is a unit step function. and that g1(s) and g2(s) are first-order
processes given by Eq. (25.154). Determine the continuous-tim e response y{f) for two
cases
1. Wheng1(s) includes a zero-order hold
2. When there is no zero-order hold
Solution:
The unit step response with the zero-order hold can be found easily because the
transfer function for the continuous process including the hold is:
so that:
(25.167)
f.'
"
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 925
(a)
K1K
I
y
Time
(b)
y
KtK2
~~-Tt
Time
(25.169)
(25.170)
O<t<ll.t
K K
_1_2_ [ (e-r!T,- e-t/<1)
'~"t - 1"2
The Sampler:
is Y..m·
Performs a discretization operation on Ymi its outpu t
The Comparator:
Is part of the discrete controller mechanism:
E*(s) = y*Js)- y*m(s)
(25.175)
The Controller:
Being completely discrete, operates according to:
(25.176)
ck control system .
Figure 25.12. Typical block diagra m of a digital feedba
928 COMPUTER PROCESS CONTROL
In order to determine the response to set-point changes, let us begin with the
process model in Eq. (25.173) and set d(s) = 0; the process input, u(s), is
determined by Eq. (25.178), but since cn(s) itself is determined by Eq. (25.177),
we have:
u(s) = 8v(s) H(s)c*(s)
which, when introduced into Eq. (25.173) for u(s) gives:
y(s) = g(s) gJs) H(s)c*(s) (25.179)
From this point on, we have two main tasks:· (1) determine y"'(s), and (2) obtain
a closed-form expression for y"'(s) by eliminating c"'(s).
By taking the usual star transformation in Eq. (25.179), we obtain:
where the product of the three continuous transfer functions g(s)g11(s)H(s) has
been combined into the single, composite, continuous transfer function ggvH(s),
with "starred" Laplace transform indicated in Eq. (25.180).
Next, we observe from Eqs. (25.176) and (25.175) that c•(s) is given by:
(25.181)
•
In order to eliminate y•,.(s), we must now exercise some caution, because the only
related expression we have is in Eq. (25.174), and it involves the continuous
signal, y,., not y•,.. We must first reintroduce Eq. (25.179) for yin Eq. (25.174) to
give: '
Ym(s) = h(s)g(s) 8v(s) H(s)c*(s) (25.182)
and then take the star transform in order to generate the required expression for
y*,.(s). Here we make the product h(s)g(s)g 11 (s)H(s) into the composite
hgg-~(s), and take the star transformation to give:
We may now safely introduce Eq. (25.183) into Eq. (25.181) and solve for c"(s} to
yield:
g*c(s) ]
c*(s) = [ • y*,/..s) (25.184)
1 + (hggJf] (s)g*c(s)
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS 929
If we now eliminate c•(s) from Eq. (25.180) by introducin g Eq. (25.184) we obtain
the starred transfer function relationship:
(gg.HJ* (s)g*c(s) ]
y*(s) =[ * y*J.s) (25.185)
1 +[hgg.H] (s)g*c(s)
and
the product of all continuou s transfer functions in the feedback loop (again,
excluding the controller); then Eq. (25.185) may be written as:
y*(s)
g*j..s)g*c(s)
= [ 1+g*l,s)g*c(s)
Jy*J.s) (25.187)
We may now simply recast Eq. (25.187) in the z-transform notation to obtain the
required closed-loop transfer function relation:
(25.188)
The introduct ion of the composite transfer functions gj.s) and g1(s) is more
than just a notationa l convenience; it permits the developm ent of a simple,
error-proo f procedure for obtaining closed-loop transfer functions for sampled-
data systems without having to go through a lengthy derivation every time.
This procedure is now outlined as follows:
3. Also obtain the product of all the continuou s transfer functions in the
feedback loop (again, excluding the controller); let this be g1(s); also
obtain the starred transform of this transfer function, g»1(s).
COMPUTER PROCESS CONTROL
930
wil l be giv en
tion for the closed-loop sys tem
4. The star red tran sfo rm rela fun ctio n rela tion is eas ily
the z-tr ans fer
by Eq. (25.187) fro m wh ich
).
obt ain ed as given in Eq. (25.188
) to d(.z)
Tra nsf er Fun ctio n Relating y(.z
iving the tran sfer
ve ma y now be app lied in der
The pro ced ure sum ma rize d abo
put to disturbance changes.
function relating the process out cess out put
dis turb anc e sig nal and the pro
The for war d pat h bet wee the
n
g (s); how eve r, rec all tha t the
e transfer function, 4
contains onl y the dis turb anc mu the refo re
st
tinu ous , not sam ple d, and we
dis turb anc e sig nal is also con
the composite g4 d(s).
combine it wit h gd(s) to obtain cisely as in
ns in the feedback loo p are pre
The con tinu ous transfer functio ate ly, tha t, wit h res pec t to
we hav e, imm edi
the las t der iva tion : thu s,
disturbance changes:
[g4 d] •(s)
y*(a) = I + g*t_s)g*,Js)
n:
so tha t in z-transform notatio
(25.189)
y(z) = 1 + gt.z)gc(t.)
expressions to
closed-loop z-transfer function
We ma y now combine the two
obt ain :
(25.190)
the corresponding
ce bet wee n this expression and
Observe the stri kin g resemblan
r 14 for continuous systems.
expression obtained in Ola pte
Let us not e tha t
(25.190) are
mia ls in bot h por tion s of Eq.
1. The den om ina tor pol yno
ide ntic al.
al (because it is
n tho ugh we can not sep arate out the dist urb anc e sign
2. Eve
ed form for d(s), the composite 4
g d(s) can
continuous), given any specifi
can the n be obtained. .
be formed, from which gd d(.z)
t res pon se to
usi ng Eq. (25.190 } to det erm ine closed-loop tran sien
3. In anc e, the
a cha nge in the inp ut dist urb
eith er a set- poi nt cha nge , or d solely by
t response will be det erm ine
nat ure of the observed tran sien
polynomial, ie.:
the roots of the den om ina tor
. (25.191)
1 + gf,:r.) Kc(Z) = 0
··~ .
...: ·.
931
RETE-TIME SYSTEMS
CHAP 25 DYNAMIC ANALYSIS OF DISC
c
is rem inis cent of the char acte risti
4. Obs erve that this expr essi on feed back syst ems in
closed-loop
equation obtained for continuous-time
it is, in fact, the sam pled -dat a feed back con trol system
Cha pter 14;
s prec isely the s3m e role as its
characteristic equation, and it play
continuous-time counterpart.
with the follo win g example.
We shall illustrate closed-loop analysis
A FIRS T-O RDE R SYSTEM
Exam ple 25.6 CLO SED -LOO P BEH AVI OR OF
AL DIG ITA L CON TRO L.
UND ER PRO POR TION
H(s) = (
I
- s
e-sllt) (theZOHelement)
nal controller, i.e., g*c(s) = Kc.
and the controller is a digital prop ortio
Solu tion:
cont inuo us transfer func tions in the forward
In this case, the consolidation of the
86)
path in this case gives, from Eq. (25.1
= _ KI (1 -se"'"") (25.192)
TS +
y(z)
932 COMPUTER PROCESS CONTROL
which simplifies to:
(25.193)
To obtain the response to a unit step change in the set-point, we let yti<z) =~in
Eq. (25.193) to obtain: 1- z
KKc(l - ~)z- 1 } 1
y(z) = { ----1 (25.194)
1 + (KKc-1,6(1 +KKc)] z-1 1-z
Let
(25.195)
be the closed-loop transfer function pole in Eq. (25.194); then, solving for t/1 in terms of
pgives:
so that
1- p
(25.196)
1 -t/1 = 1 + KK
c
Introducing Eqs. (25.196) and (25.195) into the winged brackets in Eq. (25.194) now
gives:
KetO- p)z- 1] 1
y(z) = [ 1 _ P z-1 1 _ 4 -1 (25.197)
where
(25.198)
is the closed-loop gain. The z-transform indicated in Eq. (25.197) is now easily
inverted (d. Appendix q to give:
(25.199)
25.4 STABILITY
A major recurring theme throughout this chapter is that once we have made the
modifications required by the special character of discrete-time systems, all
the techniques for continuous-ti me system analysis that we learned earlier
carry over nicely for the analysis of discrete-time systems. This is especially
true for stability analysis.
As was the case for the continuous system, we are often concerned with
whether or not the output sequence of a discrete system remains bounded in
response to a bounded sequence of values for the input. While there are other
means of defining system stability, this concept of "bounded-inp ut, bounded-
output" (BIBO) stability is usually sufficient.
By analogy to the continuous-ti me definition of BIBO stability, we may
now state that
If in response to a bounded input sequence, u(k), the dynamic output
sequence of a system, y(k), remains bounded as k ~ oo, then the system is
said to be stable; otherwise, it is said to be unstable.
It is important to remember that, strictly speaking, this definition has
nothing to say about the behavior of the output of sampled-data systems in
between sampling points. However, it requires a special pathological situation
for an unbounded continuous signal to give rise to a bounded sampled sequence.
Therefore, it is standard practice to assume that a bounded sampled sequence
implies a bounded continuous output signal
25.4.1 Conditions for Stability
Recall that a continuous system is considered stable if the roots of its
characteristic equation all lie strictly in tl1e left half of the complex s-plane.
For the open-loop system, this translates to having all the poles of the open-
loop transfer function in the left-half plane; for the closed-loop system, it is
the roots of the more complicated closed-loop characteristic equation that must
lie in the left-half plane. Thus the stability region in the continuous domain is
clearly the left half of the s-plane, with the imaginary axis as the boundary.
From our discussion in Section 25.2.3, it was established, using the
fundamental relationship between the variables s and z, that the region in the
z-plane that corresponds to the left half of the s-plane is the interior of the
unit circle (Figure. 25.2(b)). Thus, we are therefore able to deduce that the
region of stability in the z-plane is the interior of the unit circle, with the
circle itself as the boundary. We may therefore state that:
A discrete system is stable if the roots of its discrete characteristic
equation all lie strictly within the unit circle in the z-plane.
Let us now discuss what this translates to in the open-loop and closed-loop
cases-
Open Loop
For the general linear discrete system whose open-loop transfer function was
given earlier as:
(25.46a)
L
COMPUTER PROCESS CONTRO
934
or
(25.46b)
hled as:
the characteristic equation is def
=0 (25.200)
A(.1;- 1) = 1 + a1z-1 + ¥ 2 + ... + anz..,.
to as the poles
ll, have been previously referred
the roots of which, we may reca
of g(z). Thus:
is
n-loop pulse transfer function g(z)
The discrete system with an ope of g(z) lie strictly within the unit
s
open-loop stable if all the pole
circle.
en earlier
ose time-domain model was giv
For the multivariable system wh
as:
(25.31)
y(k ) = «<ly(k -1) + Bu (k- 1)
AN IM PO RT AN T QU EST ION
relate the stability
ask an imp orta nt question that enables us to
We mu st now ing continuous
systems to tha t of the underly
pro per ties of a sampled-data
system:
open-
es from sampling a continuous,
Can the discrete system that aris unstable?
op
loop stable system ever be open-lo
25.2.3 and
r back to our discussion 1n Section
To answer this question, we refe the pol es of an
de tha t if s =s, i = 1, 2, ... , n are
recall the earlier statement ma z-tr ans fer fun ctio n are z =f!IJ.
onding poles of the
s-transfer function, the corresp tem is stable,
follows: if the continuous sys
The implications here are as t the sam ple d-data
the case, observe then tha
then s1 < 0 for all i; this being e a z-tr ans fer fun ction
res ulti ng from sam plin g this system will hav 0. We
system if s1 <
the uni t circle, since tf/J < 1
1
whose poles will all lie within
therefore conclude that:
open-
system can never give rise to an
An open-loop stable continuous
em.
loop unstable sampled-data syst
935
DISCRETE-TIME SYSTEMS
CHAP 25 DYNAMIC ANALYSIS OF
tion of the
statement is true, the actu al loca
Observe, how eve r, that while this the sam plin g tim e.
poles withinthe uni t circle will dep end on h.t,
Closed Loop
feedback
n relation for the typ ical dig ital
The closed-loop tran sfer functio cha ract eris tic equation
Eq. (25.190) wit h the
control system was obta ined in
given as:
(25.191)
1 + 8/Z) 8c(Z) = 0
Solution:
K
1_ e-SAI)
g(s) = - - ; and H(s) =( s
'fS + 1
we have
back loop apart from the controller,
are the only other elements in the feed
that
(25.203)
tion is:
so that the corresponding z-transfer func
K(l - l,&)z- 1 (2:5.204)
EJ{z) = 1 _ ~z- 1
' '~
936 COMPUTERPROCESSCONTROL
with~= e-Mir. And now, since g.(z) = ~,the characteristic equation for this closed-
loop system is given by:
z = p =f-(1-,)KKc (25.206)
1. When K, = 0 (the open-loop case), the root is located on the real axis at
z == ' == e-Mir, and since i-llt/r is always less than 1, we therefore have that
0 < ~ < 1, and the system is stable.
2. As I<,; increases, the value of this root shifts to the left along the real axis.
3. At the critical point when Kc = r, , where:
1 ... ..
K* = _:__;__z_ (25.207)
c K(l-')
z = -1 in Eq. (25.206), and the root lies on the boundary of the unit circle; for
values of Kc > K•,, the root falls outside the unit circle, and the system
becomes unstable.
This last observation is quite significant recall that a continuous first-order system
under continuous proportional control am never be unstable; we have just shown that
~e same system under digital proportional control can only be stable for controller
gain values less than the critical value shown in Eq. (25.207).
It must also be observed that in the simple example just:considered, not only
is it possible for this system to go unstable, the critical controller gain value
required for this system's closed-loop stability depends on the sampling time
(through ~}. The influence of sampling time on the stability of this system is
illustrated in the next example.
Examine the influence of sampling time on the stability properties of the closed-loop
digital control system of Example '15.7.
937
CHAP 25 DYNAMIC ANAI.YSIS OF DISCRETE-TIME SYSTEMS
Solution :
root of the
From the expressi on in Eq. (25.206) for the location of the single
equation , we observe that for a fixed value of controlle r gain K,, the
characte ristic
critical value of 'for which the root becomes -1 is given by:
KK - 1
(25.208)
'critical = KK: + 1
Atcrilical
KK - 1)
= - r In ( KK: + 1
(25.209)
-- w + 1 (25.211)
z=w- l
for usin g the
sho uld be noted. The strategy
whe re the interesting sym met ry d:
ility analysis is now outline
bilinear transformation for stab
n, P(z) = 0,
1. By substituting Eq. (25.211
) for z in the characteristic equatio
convert it to the equation ll(w)
=0;
respond to
any roots of ll(w) in the RHP cor
2. Use the Routh test on ll(w); circle.
uni t
roots of P(z) in the exterior of the
s a substantial
of P(z) to ll(w ) frequently require
Unfortunately, the conversion by the usu al amo unt of
on; this is the n followed
am oun t of algebraic manipulati . .As a tesu lt, this technique
ting the Routh test
com put atio n involved in conduc can tell directly
niques (see below) by which we
is not as pop ula r as oth er tech
ts inside the uni t circle or not.
if a polynomial in z has all its roo
The Jury Test
s-time" Routh
e-time" version of the ucontinuou
The Jury test is a truly "discret ons for a pol yno mia l
and sufficient con diti
test; it pro vid es the necessary t are less than 1 in absolute
to hav e roots tha
equ atio n (with rea l coefficients} on an array, or
the uni t circle); it is also based
value, (i.e., roots tha t lie within tion of the Jury
and· the generation and applica
table, just like the Rou th test;
TEMS 939
SIS OF DISCRETE-TIME SYS
CHAP 25 DYNAMIC ANALY
tion and application of
e resemblances to the genera
table bears some remarkabl
the Routh array.
ure for applying the Jury tes
t.
The following is the proced
" fonn:
c equation in the "fo rw ard
1. Write the characteristi
(25.212)
, is positive.
where the leading term, a0
t of the Jur y test:
2. Carry ou t the first par
.212) determine:
By substituting into Eq. (25
(25.213a)
II
(25.213b)
P(-1) = .L (-1 )"- i a.
t=O I
TIIEJURYTABLE
Rowl
Row2
Row3
Row4
Row6 co cl c2 c3 cn-2
• •
• •
• •
Row2n-5 P3 P2 Pt Po
Row2n-4 Po Pt P2 P3
qz ql qo
1Rnw2n-3
Row2n-2 qo ql q2
bk =
I
an an -1-k I; k = 0, 1, 2, ..•, n -1
ao ak+ 1
ck =
I
bn-1 bn-2-kl ; k == 0, 1, 2, ..., n- 2
bo bk+ 1
•
•
•
qk = IP3 P2-k I ; k == 0, 1, 2
Po Pk + 1
SYSTEMS 941
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME
first colum n:
4. Deter mine stabil ity from the eleme nts of the
that all three tests in Step 2
The first neces sary condi tion for stabil ity is
is true, then for stabil ity it is furth er neces sary that
above are satisfied. If this
calcul ated elem ents in the first
the follow ing cond itions relati ng pairs of
colum n be satisfied:
•
•
•
Solut ion:
4,
(25.212), but by multip lying by z
The equati on is not in the form requir ed by Eq.
we obtain:
0 (25.215)
P(z) = z4 + 0.4 z3 - 0.69 i- 0.256z + 0.032 =
given by:
which is in the required form, with the coefficients
~' J \
942 COMPUTER PROCESS CONTROL
The table will consist of three pairs of rows; the elements of the first pair of rows
are already known from the characteristic equation; so the elements we need to
detennine are b., bl' b2, b31 for the second pair of rows, and for the last pair of rows, c0
and~· We may calculate c1 if we wish, but it is not necessary for the
stabilil:'f test; for
completene ss its value is included in the table shown below. .
After going through the required determinant evaluations, the following Jury table
is obtained:
Examining the pairs of calculated elements in the first column of this table, we find
that
0.9990 > 0.2688; and 0.9255 > 0.5575
indicating that no roots of the characteristic equation lie outside the unit circle, from
which we conclude that the system is stable.
It is, perhaps instructive to note that P(z) may be factored as follows:
from where we see that indeed no root lies outside the unit circle.
As with the Routh test, it is possible to conduct the Jury test with unspecified
values for controller parameters. The results of such tests will be the range of
values of the controller paramete rs over which the closed-loop system will be
stable (see Problem 25.10).
Other Methods
It should be noted that other methods exist for studying the stability
properties of discrete-time systems. Some of these other methods include:
2. How are the poles, the zeros, and the steady-state gain of a pulse transfer function
determined?
3. What does the time-delay term contribute to the pole-zero distribution of a pulse
transfer function?
5. What is the fundamental relationship between the complex Laplace transform variable
s and the z-transform variable?
6. 1he imaginary axis in the complex s-plane maps into what region in the z-plane?
7. The entire left half of the complex s-plane maps into what region in the z-plane? What
does this imply about the region in the z-plane into which the entire right-half plane is
mapped?
8. Why is the relationship between the z-plane and the s-plane not unique?
9. How are the poles and zeros of a Laplace domain transfer function related to the poles
and zeros of the corresponding z-domain transfer function?
10. Why is the number of zeros of a continuous process usually different from the number
of zeros of the transfer function of the equivalent discrete process incorporating a
ZOH?
11. A discrete process whose pulse transfer function has a zero outside of the unit circle
will exhibit what type of dynamic behavior?
12. Why does the process of sampling a continuous inverse-response system not always
produce a discrete system that exhibits inverse response?
13. How do the following characteristics of a discrete system's pulse transfer function
affect its dynamic behavior?
14. What distinguishes the block diagram of a sampled-data feedback control system from
that of a continuous feedback control system?
945
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS
15. What is the "starred " Laplace transform, and what is it used for?
the same as those
16. Which components of the sampled-data feedback control system are
of the correspo nding ccntinuo us feedback control system; which are common to both
and which are complet ely unique to the
but modified for the sampled-data system;
sampled-data system?
s for sampled-data
17. What is the procedu re for obtaining closed-loop transfer function
systems?
22. What is the procedure for applying the Jury stability test?
PROBLEMS
er system
25.1 Given the following pulse transfer function model for a first-ord
incorporating a ZOH element
Obtain the system's unit step response for the following values of 1/J :
(a) ¢= 0.5
(b) ¢=0.8
(c) ¢=-0.5
{d) ¢=1.5
of a first-
Plot these responses and comment on the effect of ¢on the step response
order system.
25.2 Each of the following pulse transfer functions relates the input
u and output y of a
sampled process incorpor ating a ZOH element. For each case:
25.3 In Chapter 7, it was established that a system composed of two first-Qrder systems in
opposition , i.e., whose transfer function is given by:
(P25.2)
(P25.3)
(a) Obtain the equivalent discrete-time result by deriving the conditions under which
the system whose pulse transfer function (with ZOH element) is given below will
exhibit inverse response:
btz-1 b2z-t
(P25.4)
g(z) = 1-ptZ-1 -1- P2Z-I
(b) By relating Eq. (P25.2) to Eq. (P25.4), show that in the limit as the sampling time
ll.t tends to zero, the conditions derived in part (a) reduc~ to the conditions in
Eq. (P25.3).
25.5 For each of the block diagrams shown in Figure P25.1, determine the open-loop
transfer function between y(z) and u(z). In each case:
1
s
5
3s + 1
the unit of time is minutes, and the sample time M =0.5 min.
SYSTEMS 947
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME
y"(t)
t(t) u*(t)
~--~ y"(s)
t( s) lit u*(s)
y"(t)
u*(t) ....
y"(s)
t( s) lit u•(s)
Figure P25.1.
'!"
(P25.6)
K'!",
where the K is the process steady-state gain, '!"is the process time constant, and '~"r is
the time constant of the desired dosed-loop reference trajectory.
(a) In attempting to implement the control system on a digital computer, a young
engineer selected '!"/ '~"r = 3.0. A more experienced control engineer recommended that
with such a selection, the sampling time, Ill, should not exceed 0.7'!", otherwise the
closed-loop system might become unstable. Confirm or refute this recommendation.
(b) Because of hardware limitations, it is not possible to sample this process any
faster than l!t = '!". What is the maximum value of '!"/ '!", for which the closed-loop
system will remain stable if At = '!"?
25.10 A process consisting. of two CSTR's in series is reasonably well modeled by the
followi."1g transfer function model:
1.5
y(s) = (12.0s+ 1)(5.0s+ l)u(s) (P25.7)
The time constants are in minutes, and the valve and sensor dynamics may be
considered negligible.
(a) Show that under proportional feedback control in continuous time, the closed-
loop system is always stable, for all values of proportional controller gain KC"
(b) Under digital proportional feedback control, incorporating a ZOH, find the
range of Kc values for which the closed-loop system will remain stable if the sample
lime Ill =1 min.
(c) Repeat part (b) for At= 5 min.
2-5.11 An approximate model for the reactor temperature response to changes in jacket
cooling water flowrate was given for a certain reactor in Problem 24.4 as:
-0.55 ("F/gpm)
g(s) = (5s- 1)(2s + 1) (P24.6)
The time constants are in minutes. First show that the closed-loop system is
stabilized under proportional feedback control in continuous time, with Kc = -4.0.
Next, investigate the closed-loop stability of the digital control system employing the
same controller (incorporating a ZOH element) with Ill = 0.5 min.
2.5.12 The dosed-loop transfer function for a digital feedback control system has been
obtained as:
(P25.8)
+ gjz)Kc
CHAP 25 DYNAMIC ANALYSIS OF DISCRETE-TIME SYSTEMS
949
(P25.12)
Catalyst
Monomer
PIPE
PREMIXER REACTOR
Figure P25.3.
The following transfer functions have been given for each portion of the process:
k:t..1_
Premixer. gl(s) = 1 Os + 1
g2(s) e-6s
Connecting pipe;
_2_5_
Reactor: g3(s) 12s + 1
the time unit is in minutes, and all the other units are normalize d units conforming
with industry standards for this product.
(a) We want to control this process using a digital controller, gc(z), incorporating a
ZOH. Draw a block diagram of the type in Figure 25.12 for this process and obtain
the closed-loop transfer function.
(b) Under proportion al control with L!.t = 3 min, find the maximum value of Kc for
which the closed-loop system remains stable.
(c) By increasing the sample time to M =6 min. the delay is reduced to one sample
time. Repeat part (b) for this choice of the sample time. In terms of the range of Kc
values required for closed-loop stability, is there an advantage to increasing the
sample time in this manner in order to reduce the delay time?
CHAPTER
26
DE SI GN OF
DI GI TA L CO NT RO LL ER S
r control
ventional analog and digital com pute
The major distinction between con rict ed by the
conventional con trol ler is rest
syst ems is that the con tinu ous , form s, suc h as the
on simple, prespecified
available hard war e elements to take has virt uall y unli mit ed
digi tal con trol ler
P, PI, or PID; by con tras t, the rithm can take .
trol algo
flexibility in the possible forms a con We
cha pter is con cern ed with how digital controllers are designed.
This lf, alon g with a
digi tal con trol ler itse
star t with an intr odu ctio n to the ler des ign app roac hes: the
digital con trol
discussion of the two fund ame ntal rete
dire ct. The indi rect app roac h invo lves con stru ctin g disc
indirect and the ous desi gn
trollers obta ined by con tinu
app roxi mat ions to con tinu ous con that fall und er this
trollers and the othe rs
methodologies; discrete Pill con discrete
first. Wit h the direct app roac h, a com plet ely
category are disc usse d con trol ler desi gn lead s dire ctly to
ess, and
repr esen tatio n is used for the proc ally take full
techniques in this category usu
discrete controllers. The desi gn r and ther efor e quit e
by the digital com pute
adv anta ge of the latit ude offered icat ed in stru ctur e than the
mor e sop hist
often resu lt in controllers that are on of
sica l con troll ers. The cha pter concludes wit h a discussi
discretized clas le proc esse s.
tal controllers for multivariab
issues involved whe n designing digi
NS
26.1 PRELIMINARY CONSIDERATIO
shall
book, unle ss othe rwis e stat ed, we
As we hav e don e elsewhere in this suri ng
final con trol elem ent and the mea
con side r that the dyn ami cs of the ess into one
with the dyn ami cs of the proc
device hav e all bee n com bine d outp ut
to be designated as g(s). The inpu t and
overall process transfer function , and y(t) , resp ecti vely ,
desi gna ted as u(t)
of this "ov eral l proc ess" shal l be and y(s). This is usua lly the case in
with corr espo ndin g Laplace tran
sforms u(s)
put data
a proc ess mod el by inp ut/ out
prac tice bec aus e in iden tify ing valve
to separate out the contributions of the
correlation, it is usu ally difficult
Ot::1
·~
952 COMPUTER PROCESS CONTROL ~~Jl
dynamics, and those of the measuring device, from the collected input/outp ut I
data; thus it is precisely this overall transfer function, g(s), that is identified.
Under digital feedback control, recall that the continuous input, u(t),
received by the overall process is actually a discrete signal from the discrete
controller that has been "made continuous " by the hold element; in particular,
with a ZOH element, u(t) will be the piecewise constant input signal generated
from the discrete sequence u(k), the control command signal from the controller.
The controller itself is considered as receiving discrete error information, E(k),
the difference between the sampled, desired set-point value, Yd(k), and the
sampled process output, y(k).
This digital feedback control system is shown in Figure 26.l(a). (The
sampler at the input of the ZOH element is not explicitly shown because the
block represents a combinatio n sample-and -hold device.) Observe that with
the exception of u(t) connecting the hold element and the overall process, every
other signal indicated in this diagram is sampled. If we now combine the ZOH
element and the process, and refer to the composite transfer function as g~s),
i.e.:
= (
l _ e-'At) g(s) (26.1)
s
then
* u*(s)
y*(s) = gif.s) (26.3)
With this maneuver, all the explicitly indicated signals will now be discrete,
and Figure 26.1(a) can be represented in the completely equivalent form shown
in Figure 26.1(b). Once again note that we use g(z) with no subscripts to denote
the discrete-time process having a zero-order hold, because this is the true
equivalent of g(s) in control system design.
Henceforth in our discussion, a reference to the "process" is to be understood
to mean that entity represented by g, the overall process (plus valve and
measuring device dynamics) incorporati ng the ZOH element. In a digital
feedback control system, the only other component in the loop (as indicated in
Figure 26.l{b)} will be the digital controller g, with discrete input e(k) and
discrete output u(k).
With these ideas in mind, let us now proceed to the task at hand: the
design of digital controllers.
CHAP 26 DESIGN OF DIGITAL CONTROllERS 953
u(k) u(t)
(<sl ZOH g(l)
u*(a) u(o)
(a)
(b)
In its most general form, the digital controller transfer function, gc(z), has the
form:
(26.6)
COMPUTER PROCESS CONTROL
954
z-domain discrete control
·(i.e., a ratio of two polynomials in z- ) so that the
1
(26.7a)
or
eo + (} 1Z-1 +
9
2Z
-2 (}
+ ··· + ,.Z
-r
) (26.7b)
u(z) =
( 1 + lp'IZ-1 + 'lf2Z-2 + ... + 'l'qZ-q E(z)
of:
are the poles of the digital controller, while the r roots
9(.z- 1) = 80+ 81z- 1 + 82z-2 + ... + e,.z-r = 0
(26.9)
or
Test the following digital controller pulse transfer functions for physical
realizability.
3 + 2z- 1 + 3z- 2
(a) g,(z) (26.15)
1 + 4z 1
z + 3 + 2z- 1 + 3z- 2
(b) g,(z) (26.16)
I + 4z- 1
2z- 1 + 3z- 2
(c) g,(z) (26.17)
I + 4z- 1
z 2 + z + 3 + 2z- 1 + 3z- 2
(d) g,(z) (26.18)
z. 2 + 1 + 4z 1
Solution
(a) The highest P.ower of z in the numerator of Eq. (26.15) is 0 (note that the constant 3
is the same as 3z0), i.e., RN = 0; the highest power in the denominator is also 0, i.e.,
R0 =0. Thus, this controller is physically realizable, because RN =R 0 . Note that this
controller is a special case of the one presented in Eq. (26.7). A time-domain
realization of Eq. (26.15) is easily obtained as: :
u(k) = - 4u(k- I)+ E:(k + I)+ 3E:(k) + 2E:(k- I)+ 3E:(k- 2) (26.20)
or
(26.2 2)
u(k) = -u(k- 2) - 4u(k- 3) + e(k) + E(k- 1) + 3E(k- 2) + 2£(k- 3) + 3E(k- 4)
information. Note also that
which no longer involves terms requiring future2 ;z-2 would have eliminated the
er function by z-
multiplying the original pulse transf
(26.22) could have been obtained
positive powers of z, and the realization in Eq.
directly.
er Des ign
26.2.2 Two Approaches to Digital Controll
oller desig n are no different from
Fund amen tally, the objectives of digital contr
each case the aim is to obtai n a
those of conti nuou s contr oller desig n: in
d perfo rman ce criteria (typically that
contr oller that satisfies some presp ecifie
be no steady-state offsets, and that
the closed-loop syste m be stable, that there
e"). In digit al contr oller desig n,
the dyna mic respo nse beha vior be "acceptabl
howe ver, the end resul t is a discrete contr oller.
1his discrete controller can be obtai ned in
one of two ways:
1 - e-s AI (
"' -1 I - 1 + s6 t-
~ + ...
/
J
~__;:_.- 2!
s s
a
in the par ent hes is in
Eq. (26.23) cor res po nd to
tha t the firs t tw o ter ms Th e im pli cat ion s on
No te
, a time delay of ma
gn itu de t:.f/2.
series expansion of e-st.t/2 an d ma y be summarized as follow
s:
significant,
closed-loop stability are
dynamics of the
e delay contributed to the
The additional, effective tim s roM/2 radians
sample-and-hold device add y reducing the
sampled process by the thereb
the process phase lag,
(or 18 0ro / ro5 degrees) to ol
ians (or lBOroc 5 (1) deg rees), where ro,0 is
ma rgi n by roc M /2 rad
phase 0
quency.
the crossover frequency
, and ros is the sampling fre
sed -lo op sta bil ity
ha nd ed ly res po nsi ble for the clo
This fac tor is sin gle
25.8 of Ch ap ter 25 for
the first-order system
s ob ser ved in Ex am ple
propertie
control.
un de r digital proportional
al· Computer Control
The Advantages of Digit
-loop control
m the for ego ing to conclude that a closed
One might be tempte d fro n un de r digital
m bet ter un de r continuous control tha
system will alw ays per for l ha s on e single,
fro m tru e, however. Digital con tro we r
control. Th is is far l: the computational po
hel mi ng adv ant age over conventional contro me nta tio n of con trol
overw pu ter allows the imple
the dig ita l com en tio na l an g
alo
an d versatility of to im ple me nt wi th co nv
po ssi ble
str ate gie s tha t are im falls associated wi th
Th us, wi th a pro pe r un der sta nd ing of the pit
controllers.
(26.24)
where p, is the controller output when e(t) is zero. By defining u(t) as the
deviation variable (p(t)- p5 ), Laplace transformation in Eq. (26.24) gives:
where the indicated controller transfer function, as we well know, is given by:
(26.25b)
f 0
1
e(t) dt = .f
r= I
e(i) llt (26.26a)
and
de e(k)- e(k- 1)
(26.26b)
dt "' llt
The digital PID controller may be obtained by discretizing Eq. (26.24), using
Eq. (26.26). Depending on how the result is presented, this digital controller
can take one of two distinct forms: the position form, or the velocity form.
961
CHAP 26 DESIGN OF DIGITAL CONTROLLERS
The Position Form
(26.26) directly we have:
By discretizing Eq. (26.24) and substituting Eq.
1:D }
/:it k (26.27)
u(k) = Kc {E(k) +- .L E(i)
1:1 r=l
+ -:< [e(k )- e(k- 1)]
u.t
immediately obtain:
We may now take z-transforms in Eq. (26.27), and
by:
with the controller pulse transfer function given
(26.34)
COMPUTER PROCESS CONTROL
The digital PID controller given in Eq. (26.27) may be expanded and rearranged
to yield:
'T:o
u(k) = Kc ( 1 + !it +
!it)
7: e(k) +
1
(Kjl.t ----;;;- e(k- l)
-:r;-- Kc-cD)
K/1t
+-[e(k- 2) + e(k- 3) + ... + e(l)] (26.35)
'CI
which takes the general form of a digital controller given in Eq. (26.13), with
the following parameters:
Thus, the digital PID controller is seen to be a special case of the general
digital controller presented earlier.
!it 'Co }
!lu(k) = Kc {[e(k) - e(k- 1 )] + 7:1 e(k) + !it [ e(k) - 2e(k- 1) + e(k- 2)]
(26.37)
where
ilu(k) = u(k)- u(k- 1) (26.38)
This is known as the velocity form, since it represents the "change" in the
position of the control variable.
The pulse transfer function representation of the velocity form is easily
obtained by taking z-transforms in Eq. (26.39); the result is:
963
CHAP 26 DESIGN OF DIGITAL CONTROLLERS
(26.40)
u(z) --~
1 -1
-z
so that:
(26.41)
60 = K, (1 + ~ + ~:} 61 = - K, c:~ + 1) ;
~ = Kc(~} 6;=0 ;i>2
l PID controller:
The following points may now be noted about the digita
or the velocity form.
1. It is physically realizable in either the positi on
and the deriv ative in
2. If the appro ximat ions used for the integr al
Eq. (26.24) had been differ ent (say, for exam ple, we had used the
trapez oidal rule for the integr al, and the backw ard difference for the
have been obtained
derivative) completely different expressions would
for the digita l PID controller.
the positi on form; the
3. The velocity form has certai n advan tages over
of reset windu p.
most obvious is that it eliminates problems
l PID controller may be
A discussion of several opera tional aspects of the digita
found in Ref. [1], p. 183, and Ref. [2], pp. 616-619.
964
COMPUTER PROCESS CONT ROL
26.3.2 Digi tal PID Controller Tun ing
(26.42)
In usin g this to obtai n the discr ete equiv alent
of an s-tran sfer function, g(s), it
shou ld be recalled that the proc edur e calls
for a Laplace inver sion to obtai n
g(t), follo wed by discretization, to obtai n
g*(t); only after this step can we take
CHAP 26 DESIGN OF DIGITAL CONTROLLERS
965
z-transforms, a process which we have shown to be exactly equivale nt to taking
Laplace transfor ms to obtain g*(s), and then converti ng to the z-domai n
via
Eq. (26.42).
Such a procedu re provides exact discrete-time equivalents, but it is clearly
very tedious. It turns out, howeve r, that by replacin g Eq. (26.42) with
approximations for e-sA1, we obtain relations between s and z that may be used
to
convert from the s-domai n to the z-domai n by direct substitution. Three of
the
most common approximants are now presented below:
1. Expansion of e-5~ 1 : A series expansio n for e-sM truncate d after the first
two
terms gives:
z- 1 =1-sM
which rearranges to give:
(26.43)
~ .. I +sM (26.44)
z-1 =
1 +sM
(26.45)
e-sAI , 1 - s11tl2
1 + s!J.tfl
or
e-sAI , 2-sM
2 + s/1t (26.46)
so that:
z-1 2-sM
2 +sM (26.47)
966 COMPUTER PROCESS CONTR OL
imation [3]:
and solving for s in terms of z, we obtain the Tustin approx
(26.48)
), we obtain the
by replac ing s accord ing to the expres sion Eq. (26.43
appro ximat e digita l equivalent as:
g ( z) = Kc [ 1 + t:..t
-rl -
1- + -,;D
1 - z-1
_
-I:J.t ( 1 - z 1)
J (26.49)
c
LERS 967
CHAP 26 DESIGN OF DIGITAL CONTROL
tran sfer func tion obta ined earli er in
whic h is, in fact, iden tical to the
a verifiably appr opri ate approximation
Eq. (26.34). The fact that Eq. (26.49),
y from the Laplace transfer function shou ld
to g,(s), coul d be obtained so easil
the reasons why this appr oach is very
not be lost on the reader; it is one of
attra ctiv e.
g (z)
c
= At ~ (-1-8 )1 •
t, 1 - z =
1-z-•
/il
(26.50)
DIRECT SYNTHESIS
Example 26.2 DIGITAL APPROXIMATION TO THE
T-OR DER PRO CESS.
CONTROLLER FOR A FIRS
oller
the cont inuo us direct synthesis contr
Obtain the digital approximation for ion is given by :
system whos e transfer funct
designed for a first-order
K
g(s) = TS + I
Solution:
rearrangement
Substituting s =(1- z-1) I M gives, upon some
..M L
T + 6t
{26.5 1)
g(s>l. = (' ·~r) =
I (_T)z-1
1' + l'lt
g,(z) -
_ 1' +
K
M(I- bz-
T,
l
- Z
-I
1)
(26.5 2)
968 COMPUTER PROCESS CONTROL
where
b =
The time-domain realization of this controller is easily obtained as:
+lit)
1' - e(k)- -
u(k) = u(k-1}+ ( -
K1',
("' )KT,
e(k-1} (26.53}
which is recognized as a PI controller in the velocity form; it is, of course, also of the
general digital controller form in Eq. (26.13).
(16.20)
Assuming that the indicated time delay is an integral multiple of At, say,
r =MAt, then, by observing that the substitution of Eq. (26.43) for ('B + 1)
results in something of the form a (1 - bz-1), it is a trivial exercise to establish
that the digital lead/lag form for the feedforward controller will be:
_ K8 z-M(l - bz- 1)
gjz) - (1 - cz-t) (26.54)
It is left as an exercise for the reader to ded_uce what the c~tants Kff, a, b, and
c are. Note that even this digital feedforward controller transfer function is a
special case of the general form given in Eq. (26.6).
(26.55)
CHAP 26 DESIGN OF DIGITAL CONTROLLERS 969
the Smith predictor improves the closed-loop behavior of processes with
transfer function g e-as by eliminating the delay from the closed loop. Here, g,
is the classical controller designed for g, the process without the delay.
It should be noted that this control law is not easy to implement in
continuous time (cf. Ref. [1J, p. 238, and Ref. [4], p. 228). By substituting
Eq. (26.43) for s, however, Eq. (26.55) can be converted to a digital control law
that is quite easy to implement on the digital computer. To accomplish this,
first rearrange Eq. (26.55) to give:
Let us now consider, for the purpose of illustration, the situation in which the
process transfer function is of the first-order-plus-time-delay type, so that g,
the transfer function without the delay, is:
g(s) = - K- -
-rs + I
(from the discussion in Chapter 19, we will recall that such a g, will be a PI
controller with parameters as indicated in Eq. (19.11)).
Under these conditions, Eq. (26.56) reduces to:
u(s\ [ 1 +
(I - e-as)] = -E(s)
1
, r,s gT:,s
• (26.57)
If we now substitutes= (1-z-1)/ I::J from Eq. (26.43) and assume the time delay
a = Ddt, where D is an integer, the digital approximation to Eq. (26.57) is
obtained straightforwardly as:
(26.58)
(26.59)
Note once again that this control law is of the general form given in Eq. (26.13)
and is very easy to implement on the digital computer.
COMPUTER PROCESS CONTROL
970
DISCRETE
26.5 DIGITAL CONTROLLERS BASED ON
DOM AIN STRATEGIES
lating ·analog designs to digital
As note d earlier, the problems with trans
control of sampled-data systems are
equivalents and employing these for the
fail to take the effect of the sample-and-
twofold: (1) pure ly continuous designs
the trans latio n proc ess invo lves
hold oper ation into cons idera tion; (2)
digital controllers may work well if
approximations. Thus, these "translated"
ling is faster and the approximations
the sampling time is short because samp
tituti ons will be more accurate; however,
involved in the s and z variable subs
continuous originals.
they are not likely to perform as well as the
obta in bette r resu lts by takin g the direct appr oach , i.e.,
It is possible to
in the discrete framework, either in
carrying out digital controller design with Some· of the approaches for
ime dom ain.
the z-domain, or in the discrete-t
in this section.
carrying out such designs will be discussed
in
26.5.1 Direct Syn thes is in the z-D oma
domain results derived in Chapter
Rather than approximating the continuous
borrow the concepts and use them to
19, as was done in the last section, let us
r from first principles.
deriv e a digital direct synthesis controlle
ata cont rol syste m show n in Figure 26.1(b) whic h
Consider the sampled-d
een y(z) and yiz) as:
has the closed-loop transfer function betw
g(z) Sc(Z) (26.60)
y(z) = y tz)
I + g(z) g c(Z) t1'
that this
bee n incorporated. Thus, observe
where the unit sampling delay has
the form:
translates to requiring that q(z) take
(26.63)
q(z) = z-1
er will be given by:
and the resulting deadbeat controll
I z-1 (26.64)
gc(z.) = g(z) 1- z- I
for q(z)
of D sample periods, the expression
When the process has a time delay y to read :
is modified to account for the add
itional time dela
=
z-D- 1
(26.65)
rt_z.)
a
troller for a first-order system with
Thus, for example, the dea dbe at con
ZOH will be obtained by using:
K( l- f)C 1
g(z) = 1- ;z.-1
ion as:
(26.67) is obtained in the usu al fash
The time-domain realization of Eq.
(26.68)
972
COMPUTER PROCESS CONTROL
whic h, again has the form given in Eq. (26.13
).
A very impo rtant point to note abou t the deadb
eat contr oller (and indee d
all other contr ollers based on the direc t synth
esis schem e) is that it depen ds on
the inver se of g(z); thus the zeros of g(z) becom
e the contr oller' s poles .
This imme diate ly creat es a probl em for proce
sses with inver se respo nse
(zero outsid e the unit circle) becau se the proce
ss zero becom es an unsta ble pole in
the contr oller. Thus dead beat contr ollers canno
t be used for proce sses with
inver se respo nse.
An intere sting situat ion arises when the proce
z = - [3, wher e 0 < f3 < 1, so that the zero, even thoug hg(z)
ss has a zero locat ed at
negat ive, lies withi n the
unit circle . Unde r these condi tions , this negat
ive proce ss zero becom es a
nega tive contr oller pole. The contr ibutio
n of such a pole to the dyna mic
respo nse of the contr oller will be of the type
4 discu ssed in Chap ter 25, and
illust rated in Figur e 25.5; conse cutiv e value
s of the contr oller outpu t will
altern ate in sign, a situat ion referr ed to as "ring
ing."
The effect of contr oller ringing on the proce
ss outpu t y(k) is to produ ce
intersample rippling; i.e., oscill ations in the outpu t
betw een samp les. This can
be illust rated with the follow ing exam ple.
( ) _ 0.040 52 z- 1 + 0.036 65 z- 2
g z - 1- 1.664 z- 1 + 0.740 8 .:- 2 (26.70)
Note that this has poles Pi= 0.8318 ±0.221 i and a zero
at Z; =- 0.9045.
Design a deadbeat controller and determine the closed
-loop response to a unit step
set-point change.
Solution:
gc(z) =
( z- . 1
1
1 - z-
)(1- 1.664 z- 1 + 0.740 8 z- 2)
0.040 52 z- 1 + 0.036 65 z- 2 (26.71)
which can be realized by inverting the pulse transfe
r function to:
u(k) = 24.68 [0.0039 u(k- 1) + 0.03665 u(k- 2)
+ ff..k)- 1.664 ff..k- l) + 0.7408 ff..k- 2)] (26.72)
When this controller is applied to the process, the
of the continuous and discrete outputs y, well closed -loop response, in terms
Figure 26.3. Note that the controlfer pole as as the discrete mput u, is shown in
at Z; =- 0.9045 (coming from the process
CHAP 26 DESIGN OF DIGITAL CONTROLLERS 973
a)
0.5
0.0
0 5 6
40
;· b)
'
20
'
,·.'
'' . ·,
'
u(ld 0 '
'. -·
-20
' . ·-
-40
'
0 3 4
zero) causes ringing of u(k), and this produces the rippling of the continuous output
between samples. Obviously if we did not measure the continuous output and had only
the sampled output we would think the controller was outstanding because it caused
the sampled process to reach the new set-point in one sample time.
This example illustrates one of the major problems with deadbeat controller s
and indeed any other controller with very aggressiv e controller action and
poles close to -1: the sampled process may follow the discrete-time reference
trajectory perfectly and yet the actual process is wildly oscillating. See Refs.
(3, 6, 7-9] for more discussion of deadbeat controllers.
Dahlin Algorith m
It is possible to improve the performan ce of the deadbeat controller by choosing
a less aggressiv e reference trajectory ; this is the purpose of the Dahlin
algorithm . With Dahlin' s algorithm , the closed-loo p behavior is desired to
be of the first-orde r-plus-tim e-delay type, with the familiar continuou s-time
represent ation:
If the delay is an integral multiple of the sampling time (i.e., r= MM, say),
then this translates to a q(z) given by:
(I _ e-IJ.tt~,) z-M-l
q(z) = I - e All~, z-l (26.73)
COM PUT ER PRO CESS CON TRO L
974
with the first -ord er-p lus- time -del ay
whic h incl udes the ZOH elem ent
be obtained from Eq. (26.61) as:
dynamics. The Dahlin controller may now
1 [ (1- e·d/IT,) z-M-1 J (26.74)
1_ e-611r, z-1 _ ( 1 _ e Atlr,)
z-M-1
Kc(Z) = g(z)
abou t the Dahlin algorithm:
The following are some points to note
time delay M, and the time constant
1. It has two tunin g parameters: the
is chosen so that the controller is
term -r, in the reference trajectory. M
ess time delays; -r, determines the spee d
realizable whe n there are proc
of the closed-loop response.
, we have the oppo rtun ity to avoi d
2. It is clear that with this algorithm
the type of excessive control actio n that is possible with the dead beat
as conservative a controller as
controller since we can choose -r, to give
the inve rse of g(z) mea ns the
we wish; however, the depe nden ce on
le to cont rolle r ring ing. It is
Dah lin algo rithm is still susc eptib
effects of ring ing in the Dah lin
som etim es possible to mini mize the
othe r tech niqu es for avoi ding
algo rithm by choo sing -c, carefully;
[8].
ringing may be found, for example, in Ref.
ess inverse, any process zeros outside
3. Because the controller uses the proc
pole s in the Dah lin controller.
the unit circle will become unst able
used with proc esse s havi ng
Thu s the Dah lin cont rolle r cann ot be
inverse response.
Solu tion:
is only slightly less agres sive than that
If we choose a reference traje ctory that es:
used by the dead beat controller, i.e., r=
0, -r, = 0.3 =At, so that Eq. (26.73) becom
0.6321 z- 1 (26.75)
q(z) = 1 - 0.36 79 z- 1
1.0
0.5
b)
40
20
··-,
' ''
:' .- ...
u(k) 0
'
: ·__. :.FLru·-~--
··' -·
-20
--·
second-order process of
Dahlin controller for the nge
Figure 26.4. Closed-loop response of resp onse to set-poi nt cha , (b) controller action
Example 26.3; (a) out put
requiied.
lier dea dbe at con trol ler
Eq. (26.77) wit h the ear
No te tha t by com par ing ler is only a detuned deadbeat
72), one sees tha t wit h -r, > 0, the Dahlin control
Eq. (26.
controller. (26.77) is shown in
the Dahlin controller in Eq.
The closed-loop response of rippling, the effects are less
le there is still ringing and
Figure 26.4. Note that whi However, the response
nce d, and the con tinu ous output response is imp ed.
rov
pronou
is still not very good.
deadbeat and Dahlin con trollers to permit them
It is possible to modify the se and · to eliminate ringin
g. This
inverse respon
to han dle processes with ller does not strive
det uni ng filters so tha t the resulting contro
involves add ing Edgar [8} and late r Zaf irio u and Morari [9]
s zer os. Vo gel and
to cancel pro ces se dehming filters. We
e pro pos ed spe cific app roaches for the design of the
hav
and Edgar controller here.
will discuss only the Vogel
Vogel-Edgar Controller
Dahlin's algorithm by
pro pos ed modifications to
Vogel and Ed gar [8] have am ics from the controller. This
would me an
mo del num era tor dyn
removing the the Vogel-Edgar
s not try to can cel the process zeros; thu s
the con tro ller doe cesses with inv ers e
jec t to ringing and can han dle pro
con tro ller is not sub trajectory so tha t
is add ed to the reference
response. Th e modification
Eq. (26.73) becomes:
976 COMPUTER PROCESS CONTROL
where B(z-1)
"') _
tt\Z- (
(1-
1_
e-IJ.ttT,)
e-IJ.tiT, z-•)
[~ B'·-•']
B(l)
'
Eq. (25.46).
With this modification, the Vogel-Edgar controller will be:
(26.79)
1.5 a)
1.0
0.5
b)
..·---------------
. -----------------------------
0 1 2 3 4 5 6
Figure 26.5. Closed-loo(> response of the Vogel-Edgar controller for the second-order
process of Example 26.3; (a) output response to set-point change, (b)
controller action required.
CHAP 26 DESIGN OF DIGITAL CONTROLLERS 977
Solution :
d in
If we modify the reference trajectory by the factor B(z- )/B(l) as indicate
1
much
The closed-loop response to a unit step in set-poin t (Figure 26.5) shows
with no ringing and only slightly delayed rise time. Thus for
improve d control action
real parts, the
discrete processes with zeros outside the unit circle, or with negative
algorithms.
Vogel-Edgar controller is far superior to the original deadbea t or Dahlin
Zafiriou and Morari [9] provide a review of these and other SISO digital
controllers.
) is constant.
whe re we hav e assu med that yik e will be
loy sev eral type s of designs here; two of thes
Now , we cou ld emp
disc usse d in mor e detail.
Direct Syn the sis Design
dom ain; for
traj ecto ry in the disc rete -tim e
Sup pos e we cho se a reference the first ord er wit h tim e-
transfer function for
exa mpl e, by inve rtin g the pul se
obtains:
dela y response in Eq. (26.73) one
(26.88)
term by term
pari ng Eq. (26.87) wit h Eq. (26.88)
whe re 4Jr = e-411-r,_ Thu s by com ach ieve the des ired first-
select K0 and K1 to
for the case whe n M =0 one can
this mea ns selecting:
ord er response. In the present case
e exactly.
so that Eqs. (26.87) and (26.88) agre
Pole Placement Design
(26.87), one obtains:
If we take the z-transform of Eq.
b(K0 +K 1 ) (26.89)
y(z) = 1- (1 +a -b K 0 )z- 1 +( a+ hK 1 )z- 2 Yd
roo ts of the
tran sfer function who se pole s are
indi cati ng a closed-loop pul se
cha ract eris tic equ atio n:
(26.90)
26.7 SUMMARY
presented tw o
int rod uc ed the digital controller an d
In this ch ap ter we ha ve pro ac h, in wh ich
its de sign. The indirect ap
ap pr oa ch ph ilo so ph ies for lm by simple va ria ble
de sig ns are "tr an sla ted" into the digital rea
continuous
980 COMPUTER PROCESS CONTROL
substitution, makes it possible to convert to digital form virtually any
controller designed by the controller design techniques discussed in Part IVA.
By this method, continuous PID controllers, feedforward and cascade
controllers, time-delay compensation controllers, direct synthesis controllers,
ratio controllers, etc., are all easily digitized, and may be used on the sampled-
data system. Despite the convenience, this approach has the disadvantage of
requiring special compensation for the effect of sampling if the sample time is
large; also, the approximations involved in the digitizing process usually
result in some loss of performance.
With the direct approach, the design is carried out directly in the discrete
domain, either using transfer functions (as with the deadbeat and the Dahlin
algorithms) or the difference equation model in discrete time. While these
tecbniques implicitly take the effect of sampling into consideration, they are
unable to deal directly with the fact that the process is inherently continuous;
the result, as was demonstrated with the discrete domain direct synthesis
tecbniques, is the possibility of a closed-loop system that achieves the desired
behavior at sampling points but that exhibits unacceptable intersample
response.
It is important to reiterate, in closing, that the real advantage of digital
over analog control is that control algorithms that are impossible to implement
because of analog hardware limitations are easily implemented on the digital
computer. It is this versatility of the digital computer, more than anything
else, which makes the application of advanced control schemes possible.
REVIEW QUESTIONS
1. What is a digital controller, and what are some of the characteristics that distinguish
it from a conventional analog controller?
2. What is the general z-domain form of the digital controller, and how is the
corresponding time-domain realization obtained?
3. Why is the concept of "physical realizability" important within the context of digital
controller implementation?
981
CHAP 26 DESIGN OF DIGITAL CONTROLLERS
physic ally realizable?
4. What does it mean for a digita l controller to be
"indir ect" appro ach to the design of
5. What is the funda menta l philos ophy behin d the
the philos ophy behin d the "direc t"
digita l contro llers? How is it differ ent from
appro ach?
the "indir ect" appro ach to the design of
6. What are the advan tages and disadvantages of
digita l contro llers?
the "direc t" appro ach to the design of
7. What are the advan tages and disadv antage s of
digita l contro llers?
menon arise?
18. What is "ringing," and how does this pheno
thm for impro ving on the perfor mance of
19. What strateg y is emplo yed in Dahlin's algori
the deadb eat contro ller?
function:
(d) A tran sfer line, with transfer
e-0.2 • (P26.3)
g,(s) = O.Ols + I (SCFM/SCFM)
function:
(e) The mai n process, with transfer
(P26.4)
g•ls)
1'
= 0.5s2 ·0+ I
(°F/SCFM)
n tuni ng rule s
el, alon g with the Coh en and Coo
(a) Use this Lap lace dom ain mod rolle r. Disc retiz e the resu lting PI
gt~ a PI cont
pres ente d in Cha pter 15, to desi cont inuo us proc ess
ent the digi tal cont rolle r on the
cont rolle r usin g At = 2. Imp lem a unit step chan ge in the basi s
em resp onse to
and simu late the clos ed-l oop syst ·
.
weig ht set-point. Plot the response sam plin g rate At= 4, discretize the
oper ated at the incr ease d
(b) If the procesS is to be e new cond ition s.
4 and repe at part (a) und er 'thes
cont inuo us PI cont rolle r usin g At=
s.
Com pare the closed-loop response y in the proc ess
atio n with At = 4, first add At/2 to 'the time dela
(c) For the situ in the cont inuo us PI
Coh en and Coo n rule s to obta
tran sfer func tion befo re usin g the (usi ng M = 4} and repe at part (b).
cont rolle r
cont rolle r. Disc retiz e this new e any significant
controller to that in part (b). Is ther
Com pare the perf orm ance of this last cont rolle r?
d in obta inin g this
adva ntag e to the strat egy emp loye
tion of etha nol, y, in an
tion mod el relates the top com posi
26.3 The following tran sfer func x flow rate, u, and the feed flow rate, d:
to the reflu
etha nol/ wat er disti llati on colu mn
983
ITAL CONTROUERS
CHAP 26 DESIGN OF DIG
0.661!-l.SI 0.14e-12.0s (P26.6)
+ 1 d(.r)
y(.r) = 6.7 .r + 1 u(.r) + 6.2 .r
(P19.18)
26.7 In Problem 24.5, the transfer function model for a thermosiphon reboiler was given
as:
() _ 0.9{0.3s-1)u{)
Ys - s (2.Ss + 1) s (P24.7)
h*) (in)]
y = [ (h-h* (in)
K e-ar (P26.1 0)
g(s) = - -
-rs + I
Chilled
Brine
Figur e P26.1.
987
ITAL CONTROLLERS
CHAP 26 DESIGN OF DIG
le process as:
r functio n for an ope n-l oop uns tab
26.11 Giv en the tran sfe
- 0.5 5 (P26.13)
g(s) = 5.0~
for
s inc opo rati ng a ZO H,
(z) the pul se tran sfe r function for the proces
(a) Ob tain gHp ation.
esponding difference equ
M 1 min. Write out the cor
= trol led usi ng the digital PI controller:
s is to be con
(b) Giv en tha t this proces
-1) (P26.14)
u(k) = u(k -l) -1. 2K e(k )+K e(k
atio n
int o the dif fer enc e equ
free par am ete r K, int rod uce this exp res sio n con sta nt, obt ain the
wit h the set -po int y4 is
(a), and ass um ing tha t the val ues tha t
mo del obt ain ed in par t tain the ran ge of
atio n rela ting y(k) to Yd·
Ob
closed-loop difference equ loo p sys tem to be stable.
am ete r K can tak e in ord er for the closed
the controller par
ble ms 85 and
process intr odu ced in Pro
12 A dig ital con trol ler designed for the pol ym er
26.
25.15 has bee n giv en as:
k)
0.375Su(k- 2) + 0.325e(
u(k) = 0.6 25u (k- 1) + 99e (k- 2) (P26.15)
- O.S08e (k -1) + 0.1
s sail,
• "'1ie time lias come, ' tfie <Walru
'To taff;_ of many tnings:
:..
Ofsfwe.s- aru!sliips- ant!se.afing ~.. gs~ ,,
Ofca65age.s atu f kin
nd
Lewis Carroll, Alice in Wonderla
27
E CONTROL
M O D E L P R E D IC T IV
of new technology is
ent ific end eav or, the dev elo pm ent
In ma ny are as of sci cer tai nly tru e of classical
ate d by practical nee d. This is s
qu ite oft en mo tiv of the chemical proces
om ati c pro ces s con tro l wh ere the em erg enc e int erc onn ect ion of
aut complex
pro du cti on volume, an d
ind ust rie s, wi th its lar ge d the nee d for aut om ati on , which~ in tur
n
era tio ns, cre ate tro l tec hn olo gy .
sev era l un it op of au tom ati c pro ces s con
the dev elo pm ent ces s con tro l
mo tiv ate d field of pro
ore , in pro ces s con tro l technology wi thi n the ate d mo stly by
Furtherm bee n mo tiv
icant advances hav e also
itself, we find tha t signif rly so wi th the mo del -based control technique
s
is is par tic ula
practical need. Th
apters 19, 22, an d 26.
already int rod uce d in Ch ind ust rie s, the un ive rsa
l dri ve for mo re
an d all ied
In the che mi cal icient use of energy, an d
nt of hig h pro du ct quality, mo re eff to
con sis ten t att ain me sibility hav e all combined
of env iro nm ent al respon
an increasing awareness con tro l systems tha n can be me t by tra dit ion al
cte r dem and s on to the
impose far stri the se challenges led
ind ust ry' s res po nse to
tec hn iqu es alone. Th e nam ic Matrix Control (DMC)
ind ust ria lly successful Dy ,
dev elo pm ent of the
d Model Algorithmic Contr
ol (MAC) [45, 46, 60, 62 - 65]
hni que [14 - 18, 56] an tw are use d for its
tec pu ter sof
e of the commercial com
bet ter kn ow n by the nam tw o con tro l stra teg ies (and subsequent ones
of
n- IOC OM . Th ese sch em es
im ple me nta tio d as Model Predictive Contr
ol (MPC)
str uct ure ) are cla ssi fie
a sim ila r
discuss.
for reasons we shall soon vid e an ov erv iew of the
Ou r pri ma ry object ive in this cha pte r is to pro tro l
ce of Mo del Pre dic tive Control as a family of con s,
· pri nci ple s an d pra cti n on its basic princi ple
we will focus ou r discussio
schemes; and in this reg ard der lyi ng theory, an d the var iou s commercially
s of the un
som e rel eva nt asp ect first MPC schemes we re
kag es. Also, ev en tho ug h the ,
availa ble MP C pac me nta ls of the the ory
ins igh t int o the fun da
dev elo ped in ind ust ry, hav e res ult ed pri ma rily fro m
an d limitations of MPC
implementation details, l the ref ore rev iew suc h contributions and ho
w
trib uti ons ; we wil C, pa yin g
academic con nce of MP
ve ext end ed the fro nti er an d scope-of-influe dis tin ct an d
the y ha MPC as a
ula r att ent ion to the em erg enc e of no nli nea r
par tic
in its.oWn right.
im po rta nt subject ma tte r
·2
.-
992 SPECIAL CONTROL TOPICS
27.1 INTRODUCTION
Model Predictive Control is an appropriate ly descriptive name for a class of
computer control schemes that utilize a process model for two central tasks:
The typical industrial process is usually complex, having several input, output,
and disturbance variables, and processing large volumes of raw materials in
continuou s, semibatch , or batch mode. Furthermo re, the current
economic/ environme ntal climate dictates that such processes must operate
m1der conditions of very stringent demands on:
• Product quality
• Energy utilization
• Safety and environmen tal accountability
In most cases, the key product quality variables, by which the product is
sold are not available for on-line measureme nt, and in', some cases, even the key
indicators of the basic process conditions are not a\iailable for measureme nt
frequently enough. In addition, when the same processing units are used to
manufactur e several different grades of the same basic product, the plant will
undergo frequent transitions or start-ups and shutdownS.
Observe now that when these MPC capabilities are compared with the noted
"ideal" controller attributes, it is easy to appreciate the industrial success of
this class of controllers where others have failed. Let us now give a historical
perspective of the evolution of MPC.
1. To consider first how the process output will behave in the future if no
further control action is taken,
2. To target control action towards rectifying what remains to be corrected
after the full effects of the previously implemented control action have
been completely manifested.
The first element of MPC is the definition of a desired ~et trajectory for the
process output, y•(k). This can simply be a step to the new set-point value or
more commonly, it can be a desired reference trajectory that is less abrupt than a
step. .
* y*(k + 2} ~~>· ··
y (k .; ll _...,. ;- ••• •
..n
" ,.( _.• ·0··-·- o-···- -o"..
y*(k V.~--
Y<kl.
-,(" •••.o· J(k+ 1)
/ /·~~y (k)
u(k+ m-1)
/(k-2)~/ m
A •
y(k-2 )0'/
y.,.(k- 2j
k+m -1 k+p
Horizon
o
ted as a ratio of tw
tra ns fe r fu nc tio n ha s been re pr es en 1 alo ng wi th the
where the indica ted
e, B(z-1) an d A(z-
),
z-transform variabl re discussion
po ly no mi als in th e es (se e Ch ap ters 24 an d 25 for mo
associated de lay of
m samp le tim tion m us t also be
Th e pa ra me ter s of the transfer func
s).
of these m od el form ental da ta via proces
s identification.
ne d fro m ex pe rim
determi
nd ar d MPC may be
th e va rio us model forms for sta th at it is
Ot he r discussio ns of
, 69 ]. It is im po rta nt to re m em be r
in Refs. [57 ou gh some
found, for example, od el fo rm to an ot he r, ev en th
t fro m on e m of ho w to
po ss ib le to co nv er ar d th an others. Th e de tai ls
conversions ar e m
or e str aig ht fo rw ters 4, 23, an d 24;
to an ot he r ha s be en discussed in Chap
rm
convert one model fo , in Ref. [49].
de tai ls m ay als o be found, for example
such
Inverse
Obtaining the Model
el inverse" is
oc es s of obtaining the "m od
In m os t practical sit
uatio ns , th e pr ined) optimization
lut ion of a (possibly constra
carried ou t numeric
all y, as th e so ow n (and we shall
tim iza tion case, it ca n be sh
problem. In the unco
ns tra in ed op generalized (left, or
lti ng in verses ar e typically del.
do so sh or tly ) th at th e re su titutes the pl an t mo
of th e ma the ma tic al operator th at cons
right) inverses
ictions
Updating Model Pred
rved between actual
ut e to wh ate ve r discrepancy is obse , unmeasured
Many factors contrib model prediction: the effect of unmodeled the model
ts an d re, or er ro rs in
pl an t measuremen in the model structu
fu nd am en tal er ro rs lat e on e cause from
disturbances, ten im po ssible to iso
pa ra m et er es tim ate
s. As it is of th e discrepancy
gy is sim pl y to att rib ut e
another, th e sta nd
ar d M PC str ate remain constant fo r
es , as sume this va lu e will
entirely to un m ea su
re d dis tur ba nc mo de l predictions
n ho rizon, an d up da te the
all future times over
th e pr ed ict io ad di ng the cu rre nt ly
ate gy is rea liz ed therefore by simply
accordingly. The str
edictions.
y to all the future pr principles ar e
observed discrepanc tw o se ctions ho w these general
Let us no w examine
in the ne xt MAC, th e tw o
th e ba sic fo rm ul ati on of DMC an d
in
ap pl ied specifically neers of the MPC me
thodology.
co ns id er ed as th e pio
schemes
1000 SPECIAL CONTROL TOPICS
27.3 DYNAMIC MATRIX CONTROL
27.3.1 Process Repres entatio n
Let 13 = [p(1), {3(2), {3(3), ... , f3(n)f represen t the unit step-res ponse function
obtained for a process, i.e., as illustrate d in Figure 27.2, the elements of
the
vector ~ represen t the change observed in the process output at n, consecut
ive,
equally spaced, discrete-time instants after impleme nting a unit change in
the
input variable.
Also, let the current time instant be k, and let us further assume that, in the
absence of further control action, it is predicted that the output of the process
in
question will take the values:
I
Unit Step Response
Unit Step Change
~n)
Input
J Dynamic
System
Output 11<3
~
...
1
where Au(k) is the value of Au at m points in time beginnin g at time step k; i.e.:
{J(I) 0 0 0
/l:l) /3(1) 0 0
/J,.3) W.> /3(1) 0
f3=
{J(m) f3(m- I) /3(m- 2) /3(1)
{3(m + 1) {J(m) f3(m- 1) /3(2)
A/J) f3(p- 1) f3(p- 2) {3(p- m + I)
Past Future
Target
-----------r-----~-
0
0
.___ _ _u(k=+m-1)
k+p
Horizon
Figure 27.3. The elements of DMC: The "reference trajectory" is the set-point line.
y*(k + I) = fy*(k + 1), y*(k + 2), y*(k + 3), ... , y*(k + p)f
(usually set constant at the desired set-point value), i.e., choose .11u(k) such
that:
yO(k) + 8 .11u(k) + w(k + 1) = y*(k + 1) (27.7)
If we now define e(k + 1), the projected error vector in DMC parlance, as the
difference between the desired output trajectory y*(k + 1) and the current output
prediction in the absence of further control action, JO(k), corrected for the effect
of unmeasured disturbance, w(k + 1), i.e.:
then the control problem reduces to choosing .11u(k) such that the equation:
is satisfied. This is the final process model form for the unconstrained DMC
formulation. The set of equations represent, on the RHS, the predicted
deviation of plant output from desired set-point in the absence offurther control
1003
TROL
CHAP 27 MODEL PREDICTIVE CON
d in the
d incremental change to be obs erve
action, and on the LHS, the pred icte the sequence of control moves, .du(k).
enting
plan t outp ut as a result of implem
n
Unconstrained Problem Sol utio
9) usu ally con tain s an ove rdet
erm ined set of
Now , the exp ress ion in Eq. (27. of con trol moves, is
con tem plat ed num ber
equ atio ns since, in DM C, m, the n hor izon leng th p. Thus, no
the pred ictio
alw ays cho sen to be sma ller than e is no vector
of equations in the sense that ther
exact solu tion exists for this set tly.
mat ch the RHS exac
.du(k) that will cause the LHS to " by finding
equ atio ns in Eq. (27.9 ) may therefore only be "sol ved
The set of B .1u(k))ll (d.
som e vector norm: ll(e(k + 1)-
the vector .du(k) that minimi7.es som e met ric that measures
ed by minimizing
App end ix D), i.e., Eq. {27.9) is solv do) and the
on the LHS (what the process can
the difference betw een the vector
is required to do).
one on the RHS (what the process ares of the
In the specific case whe re the chosen nor m· is the sum of squ
this is the sam e as
(i.e., the Euclidian norm),
elem ents of (e(k + 1)- 5 Au(k))
ation problem:
solving the unconstrained optimiz
(27.10)
+ l)- 8Au (k)]
min tf> = [e(k + I)- 5Au (k)n e(k
t.u(k)
a well-known,
l "least squ ares " pro blem with
whi ch, of course, is the classica 10) with resp ect
By differentiating in Eq. (27.
analytical, closed-form solution.
forwardly:
to Au{k), we obta in quit e straight
__ lL .
aau(k) = - fiT[e(k + I)- 8 Au(k
)]
ations:
we obtain the so-called norm al equ
and by setting this equ al to zero
or
(27.12)
Au(k) = fi+e(k + I)
whe re
6 because while:
is kno wn as the "left inverse" of
tity
idempotent matrix, and not the iden
B C + on the othe r han d gives an
matrix I (see App end ix D).
1004 SPECIAL CONTROL TOPICS
Observe therefore that while the model prediction in Eq. (27.9) involves
the system's dynamic matrix 1'3, the control action calculation in Eq. (27.11)
involves the left inverse of 1'3.
It is important to point out here that from the definition in Eq. (27.8), and
from the model equation in Eq. (27.6), we see that:
the deviation of the predicted process output from the desired trajectory,
which we now define as the "residual error vector" e,(k + 1):
Thus a control sequence du(k) chosen according to Eq. (27.11) minimizes the
squared residual error between the predicted process output and the desired
trajectory over the p-interval prediction horizon.
The difference between the two error vectors e(k + 1) and e,(k + 1) in
Eq. (27.15) is subtle but extremely important: e(k + 1) we recall as the '"projected
error vector" - the predicted output error that will result if no further control
action is taken; e,(k + 1) on the other hand is the residual error left after the
control action aimed at eliminating e(k + 1) has been implement ed. Thus
e(k + 1) is used to compute control action; the result of the computatio n is
conditioned upon minimizing the residual e,(k + 1).
In the explicit, unconstrai ned DMC solution, du(k) is determine d
analytically using e(k + 1) as shown in Eq. (27.11); in the implicit fmm obtained
by solving the optimizatio n problem in Eq. (27.10), e,(k + 1) may be introduced
for e(k + 1)- 13 du(k) and du(k) is then determined numericall y so that the
residual vector is minimized.
In practice, a penalty against excessive control action is often incorporate d
into the optimizatio n objective to read:
It is easy to show that in this case the resulting control action is:
(27.17)
the
time instant k. With the actual measure ment y(k) now availabl e,
discrepancy in the model predictio n, i.e.:
1. Update the projected error vector e(k + 1) in Eq. (27.8) at the next time
instant, i.e.:
• Update yt(k + 1) with any new desired set-poin t information.
y
• Update 0 (k) by adding the effect of impleme nting Au(k), and
assumin g no other control move beyond this will be implemented.
• Using available system measure ment and the correspo nding model
prediction, update the w(k + 1} estimates as indicated in Eqs. (27.18)
and (27.19).
3. Recompute the control move sequence using these updated and "shifted"
vectors, impleme nt the first one, and repeat the cycle.
1006 SPECIAL CONTROL TOPICS
(27.20)
where e;(k + 1) is the projected error vector for the ith output variable (i = 1, 2),
.6.ui(k) is the sequence of control moves for the jth input varjable (j = 1, 2), and
eij is the dynamic matrix formed from the step-respo nse of the
output variable
i to the input variable j (i = 1, 2; j = 1, 2).
By simply expandin g the definition of the vectors and matrices so that the
entire partitione d vector on the LHS is represented as e(k + 1), the one on the
RHS as .6.u(k), and the partitione d matrix simply as 8, observe therefore that
Eq. (27.20) is exactly of the same form as Eq. (27.9), and therefore the least-
square control move sequences are also given by Eq. (27.11); the only difference is
that the matrices and vectors are now larger in dimension.
Scaling
With multi variable processes, it often happens that a unit change in one output
variable is much more importan t than a unit change in another. A typical
example is the two-point distillation control system in which the top product
quality (measure d in mole fractions) and a tray temperatu re in the bottoms
1007
TROL
CHAP 27 MODEL PREDICTIVE CON
t variable, a
controlled. In the case of the firs
section (measured in °F) are to be t be betw een 0
scale (since mole fractions mus
unit change repr esen ts the entire con side red unu sua l. Thu s in
s of lO"F are not
and 1), whi le tem pera ture change as imp orta nt
in temperature may be dee med
this part icul ar case, a unit change
.
as a change of 0.01 in mole fraction suc h that
the imp orta nce of scaling the erro r vector e(k + 1)
DMC recognizes ted equally.
vari ous outp ut variables are trea
equally imp orta nt changes in the mat rix r as a tuni ng
This is don e thro ugh the intr
odu ctio n of a wei ghti ng
s:
para met er so that Eq. (27.11) read
or (27.22)
min ;
.Wl)
= [e(k+ 1)- 8Au (k)f r[e( k+ 1)- 8Au(k)J
(27.27)
subject to:
(27.28)
where the matrices Q, A, are
related to the tun ing par am eter
to som e har d constraints; the s not ed above and
vectors v and 11 on the oth er
functions of the out put predic han d are line ar
u(k - n), as well as bei ng fun y,
tion vector, the pas t inputs,
u(k - 1), u(k - 2), ...,
ctions of the tun ing parameter
efficient algorithms for solving s. There are ma ny
this QP (e.g., Refs. [57, 66, 84])
It sho uld per hap s be not ed, .
in conclusion, tha t the origina
rep orte d in the pioneering pap l DMC scheme
ers was not formulated in this
is, strictly spe aki ng, the QD fashion; the above
MC formulation. As wil l be not
the commercial DMC pac kag ed in Section 27.5,
e is bas ed on opt imi zin g an
nor m) of the res idu al erro r vec absolute val ue (L 1
tor rather tha n the quadratic fun
as not ed above. ction (L nor m)
2
is very similar to that in Eq. (27.6): the main differences are that this is an
impulse-response model involving u, the actual input, whereas the DMC model
in Eq. (27.6) is a step-response model involving t..u, the change in the input; the
matrix G here is composed of impulse-response coefficients, in precisely the
same manner in which the "dynamic matrix" 8 in Eq. (27.6) is composed of the
step-response coefficients.
However, how the elements of the desired trajectory, y*(k + 1) are calculated
in this case constitutes what is perhaps the most fundament al difference
between DMC and MAC. While with DMC all the elements of the entire
vector y*(k + 1) are set equal to the current set-point value, i.e.:
with MAC, the elements of the desired trajectory are taken as a reference
trajectory, y *(k), based on the current measured value, y(k), and the current set-
point, Yset-point(k) as follows:
Thus the MAC desired trajectory is a first-order approach to set-point from the
current measured value. This is indicated in Figure 27.4.
As noted in Ref. [46), it is possible to use higher order trajectories; however, the
first-order strategy noted above is used almost exclusively.
It is important to note that the parameter a determines the desired speed
of approach to set-point; a small value (close to zero) indicates the desire for a
swift approach to set-point, while a larger value (close to 1) indicates the
opposite: a more sluggish approach to set-point. This parameter is thus the
· primary tuning parameter for the MAC controller, and its choice is very closely
tied to the robustness of the overall control system (cf. Ref. [54]). As noted in
Ref. [28] the parameter a is a more direct, and more intuitive, tuning parameter
than the weighting matrices, horizon lengths, etc., utilized in the DMC
formulation.
1010 SPECIAL CONTROL TOPICS
y*(k+il
..:-:...........~
Ysetpo intt----- -------:: .":"
.......... ·
/
....... , ...
MAC Desired
Trajectory
II
k Time
Finally, we also note that in the DMC formulation, the number of control
moves m is deliberately chosen to be less than the prediction horizon length p,
and both are available as tuning parameters . With MAC m = p and neither is
used as a tuning parameter; p is determined by the truncation order of the finite
impulse-response function, i.e., for all j > p, h(J) =0.
Problem Solution
In a similar vein to the DMC problem, MAC determines the control sequence by
minimizing the objective function: '
p A
or
p
41 = L. [e,(k + i)] 2 ){i)
i =I
Implementation
The model prediction is updated and corrected for the effect of modeling errors
and unmodeled disturbances precisely as indicated in Eqs. (27.18) and (27.19) for
DMC. The same strategy of implement ing only the first element of the
computed input sequence and then repeating the optimizatio n at the next time
instant is also adopted in MAC.
The constrained problem poses no additional complications; the constraints
are simply appended to the objective function and the resulting quadratic
program (QP) is solved using a proprietary algorithm resident within the
IDCOM software. For obvious reasons, not much has been disclosed about this
algorithm; however, it is known to perform a two-step QP when there are more
inputs than outputs. Under these conditions, because of the extra degrees of
freedom, the objective of the second QP is to minimize the deviation of the
1011
TROL
CHAP 27 MODEL PREDICTWE CON
valu es in
ecti ve pres pec ified idea l rest ing
inp ut sequ enc e from thei r resp ensu res that the
es of the first QP. This
add itio n to mee ting the objectiv exp end itur e of con trol
with the opti mum
objectives of the first QP are met
effo rt.
•
TIVE CONTROL
27.5 COMMERCIAL MODEL PREDICREVIEW
SCHEMES: A QUALITATIVE
mer cial
are curr entl y ava ilab le as com
A wid e vari ety of MPC sche mes . The salie nt feat ures of
by various vendors
com pute r software packages offered sum mar ized qua litat ivel y belo w.
are now
several of these commercial prod ucts
27.5.1 IDCOM
pac kag e
CO Mm and - is the com mer cial
IDC OM - for IDe ntif icat ion and enti ng the Mo del
Setpoint, Inc. for imp lem
mar kete d in the Uni ted States by ier, the orig inal IDC OM
me. As note d earl
Alg orit hmi c Con trol (MAC) sche Ger bios ; late r vers ions {IDC OM -
by Ade rsa/
controller was dev elop ed in France ems } wer e
IDCOM-M for mul tiva riab le syst
S for single variable systems, and
Setp oint, Inc. in the Uni ted States.
dev elop ed jointly by Ade rsa and
Mo del Form
ion of
IDCOM is the impulse-response vers
The process mod el form utilized by is usu ally iden tifie d
el form. The mod el
the line ar discrete convolution mod the mod el dire ctly in the
her than iden tify
from plan t dyn ami c test data . Rat n reco mm end ed to iden tify the
r, it is ofte
imp ulse -res pon se form, how eve ulse -
type mod el first and then to con vert this to the requ ired imp
ARMAX atio n of the imp ulse -
bec ause the iden tific
resp ons e form. This is prim aril y ally lead s to estim ates with larg e
y data usu
resp onse function directly from nois -res pon se
e of the fact that the imp ulse
vari anc es - a dire ct con sequ enc
ly corr elated.
coefficients are all fund ame ntal
incl ude s a rout ine for mod el identification.
The IDCOM package
Fundamental Objective
ence of
controller is to determine the sequ
The prim ary objective of the IDCOM ictio n hori zon of inte rest , the
ove r the pred
con trol mov es that will minimize, Var iabl es, in
pred icte d outp uts (Controlled
sum of squ ared dev iatio ns of the whe n bou nds rath er
points (or zon e limits,
IDCOM parl ance ) from their set- to both abso lute , and rate -of-
ified) subject
than prec ise targ et valu es are spec ance).
on the inpu ts (Ma nipulated Variables in IDCOM parl
change, constraints led vari able s,
vari able s than con trol
Wh en ther e are mor e man ipul ated l Res ting Val ues
ewo rk is the concept of Idea
inco rpor ated in the IDCOM fram add itio n to the prim ary
In this case, in
for the man ipul ated vari able s. to min imiz e the sum of squ ared
then tries
objective, the IDCOM con trol ler rest ing
of the man ipul ated vari able s from thei r respective idea l
dev iatio ns es rega rdin g the
ng the prim ary objectiv
valu es, but still subj ect to sati sfyi
con trol led variables.
1012 SPECIAL CONTROL TOPICS
Thus the IDCOM strategy involves a two-step optimization problem: the
primary problem involves choosing the control sequence required to drive
controlled variables close to target; the second involves optimizing the use of
control effort in achieving the objectives of the primary problem. This two-step
optimizati'4l problem is solved using a quadratic programming (QP) approach.
Even when there are no excess manipulate d variables, the ideal resting
values concept is still particularly valuable when, for operationa l and/ or
economic reasons, there is some benefit in having a manipulated variable at a
specific steady-state value. No other MPC scheme incorporates this concept
explicitly.
Tuning
The major tuning parameter in the IDCOM controller is the "reference time" by
which the desired closed-loop speed of response is specified. A smaller
"reference time" (corresponding to an a value in Eqs. (27.32) and (27.33) close to
zero) provides faster closed-loop response, but the manipulate d variable is
moved more vigorously; a larger "reference time" (corresponding to an a value
close to unity) provides a slower but smoother response requiring less vigorous
control action. By virtue of this fact, a larger "reference time" also improves
the robustness of the overall control system since then the controller becomes
less sensitive to plant/mod el mismatch.
Implementation Platform
·Even though a version of IDCOM (IDCOM-B) is currently available for
implement ation directly on the Bailey DCS, the IOCOM software typically
resides in the process control computer and communicates with the distributed ..•·.
control system (DCS) database tht9ugh some interface. A common hardware
implementation strategy recommended by Set-point requires linking IDCOM-
resident in a Digital VAX - with the Honeywell TDC 3000 DCS system
through Honeywell's CM-50s interface and a generic scanner program, called
the Phoenix interface, written by Set-point. Of course, with the appropriate
interface, any other available DCS system could be used in place of the IDC
3000.
27.5.2 DMC
The Dynamic Matrix Control (DMC) scheme was originally developed at Shell
and is currently being marketed by Dynamic Matrix Control Corporation. It is
also available from other vendors under license from DMC Corporation. As
noted earlier, even though they differ in certain details, the basic control
philosophies of DMC and IDCOM are similar.
CHAP 27 MODEL PREDICTWE CONTROL 1013
Model Form
DMC utilizes the step-response model form usually obtained from plant
dynamic test data. The DMC package includes an identification software
package - Dynamic Matrix Identification (DMl) - developed specifically for
identifying step-response models for multivariable processes. The strategy
employed remains undisclosed for proprietary reasons.
Fundamental Objective
The original version of the DMC algorithm finds the sequence of control moves
that minimize the squared deviation of the predicted output from their
respective set-points. This is done by first solving the unconstrained
optimization problem with the quadratic objective function explicitly,
obtaining the least square solution. The constraint handling capability is then
added by iteratively checking for constraint violation and resolving the
modified problem if violation occurs. In the subsequent Shell versions of DMC,
constraints handling is incorporated more directly by formulating the problem
as a Quadratic Program. This version, as noted earlier is known as Quadratic
Dynamic Matrix Control (QDMC).
The DMC package marketed by DMC Corporation is different from QDMC
in that the controller objective function requires the minimization of the
absolute value of the vector of errors between the predicted process output and
their respective set-points or zone limits. This absolute value formulation
allows the constrained optimization problem to be solved by the less
computationally intensive linear programming (LP) approach.
Since only a single-step optimization is performed, ideal resting value
optimization is not an explicit part of the DMC algorithm. In order to keep
manipulated variables close to their prespecified economic optimum values (in
situations when there are more manipulated variables than controlled
variables), additional terms are introduced into the overall objective function.
The relative importance of the various aspects of this composite objective
function (minimizing prediction error, versus penalty against excessive control
action, versus keeping manipulated variables at the economic optimum) is
indicated by the values introduced for the various weighting matrices
associated with each individual component.
Tuning
The main tuning parameters are known as the move suppression factors (the
scalar K in Eq. (27.17) or the matrix R in Eq. (27.25)); they indicate the trade-
off between the amount of movement allowed in the manipulated variables and
the rate at which the output deviation from set-point is reduced over the
prediction horizon. The prediction horizon as well as the number of control
moves computed at each optimization cycle are also available for use as tuning
parameters.
As earlier explained, the weighting matrix r in Eqs. (27.23) and (27.25) is
used primarily for scaling in the multivariable case; it permits the assignment
of more or less weight to the objective of reducing the predicted error for the
individual output variables; the matrix F in Eq. (27.25) is primarily for
1014 SPECIAL CONTROL TOPICS
from prespe cified
penaliz ing the movem ent of manip ulated variabl es away
values when such a policy is desired and reasona ble.
economic optimu m
Implementation Platform
l compu ter. Some
The DMC softwa re will typically reside in the process contro
cases where DMC resides in the VAX
DMC Corpor ation applica tions include
nicates with Honey well TOC 3000 throug h CM-SO s.
compu ter and commu
27.5.3 OPC
Optim um Predic tive Contro l (OPC} was develo ped, and
is curren tly being
Treiber Contro ls, Inc. The control concep t, the model form, and the
market ed, by
ed by DMC.
fundam ental objectives are all similar to those employ
Model Form
ion. Howev er,
like DMC, OPC uses the step-re sponse model for output predict
ing time-se ries analysi s to identif y a transfe r
this model is obtain ed by employ
from plant data; this is then conver ted to the step-re sponse
functio n model
identif ication strateg y in which
model. This is in direct contra st to the DMC
respon se is identif ied directly using DMI.
the so-called nonpar ameter ic step
permit s the
Furthe rmore the identif ication modul e of OPC only . I
elemen ts of a multiv ariable
identif ication of the compo nent input/ output :: I
a time, wherea s with DMI it is possib le to
transfe r functio n matrix one at
identif y these elemen ts simulta neousl y.
Fundamental Objective
the original DMC;
The OPC objective function is essentially the same as that of
tic ;perfor mance index.
contro l action is calcula ted by minim izing a quadra
constra ints and still run. OPC on smaller
Howev er, in order to be able to handle
zation proble m, which is more ~tural ly cast as the
machin es, the optimi
be reform ulated.
compu tationa lly intensi ve Quadr atic Progra m (QP), had to
es, the origina l quadra tic objective
By the introdu ction of two artificial variabl
into a linear objecti ve functio n with one additio nal
functio n is transfo rmed
aints us~g less
equali ty constr aint; this permit s the handli ng of constr
(LP) approa ch, so that OPC can
compu tationa lly intensive Linear Progra mming
indeed run on smaller machin es.
Tunin g
DMC: the penalty
The major tuning parame ters in OPC are the same as with
the contro l moves. Other variabl es such as the predict ion horizon ,
weight s on
le as tuning parame ters.
the numbe r of control moves, etc., are also availab
1015
E CONTROL
CHAP 27 MODEL PREDICTW
Implementation Platform
ula tion task s are all
del bui ldin & controller des ign and sim
Wi th OP C the mo des ign , the OPC
ible per son al com put ers . By
car ried out on IBM com pat ley's MF C03 multifunction
be carried out on Bai
controller implementation can vid e add itio nal com mu nic atio n
the nee d to pro
controller. This eliminates
the DCS system.
between the hos t computer and
s
Example Industrial Application
n Setpoint, Inc. and
at of a smaller company tha
Treiber Control, Inc. is somewh ny OP C app lica tions as there are
re are not as ma
DMC Corporation. Thus the bee n app lied on
tion s. Ho we ver , OP C has
IDCOM or DMC app lica hig h-p uri ty dis till atio n
g uni ts, tar san ds ext rac tion cells,
hyd roc rac kin ble pol yet hyl ene
, pul p mills, and mu ltiv aria
col um ns, pol ym er ext rud ers
reactors.
27.5.4 PC
. In ma ny ways it
ma rke ted by Profimatics, Inc
Predictive Co ntro ller (PC) is stra teg y wit h those of DMC.
ear s to com bin e var iou s aspects of the IDCOM
app
Model Form
IDCOM. Like IDCOM
ally similar to tha t use d by
Its mo del form is fundament e constant determines
defined by a filter wh ose tim
it use s a reference trajectory
p response.
the des ired spe ed of closed-loo mo del upd atin g
Ho we ver , unl ike any of the oth er MPC schemes, the
rec tion strategy is
istic. The model prediction cor
scheme is som ew hat mo re real t obs erv ed trends can be
ed by inc lud ing pas t pre diction errors so tha
enh anc
.
inc orp ora ted systematically
Fundamental Objective
iterative strategy for
ction utilized by PC and its
The qua dra tic objective fun alg orithm.. Ho we ver ,
cent of the original DMC
con stra int han dlin g is reminis ltip le futu re control mo ves
oth er MP C schemes in which mu
aga in, unl ike the only the first one is
zation cycle (even tho ugh
are com put ed at each optimi y: each optimization
e ado pts a single mo ve strateg
implemented), the PC schem ve. Thi s policy may affect
cer ned wit h com put ing only one control mo
cycle is con are active.
ly especially wh en constraints
controller performance adverse
Tu nin g
ine the desired closed-
rence trajectory is used to def
In PC, as in IDCOM, the refe time con sta nt for obt ain ing the refe ren ce
pon se; as suc h the filt er
loo p res
parameter.
trajectory is the major tuning
Implementation Platform
C.
e platforms as IDCOM and DM
PC is imp lem ent ed on the sam
1016 SPECIAL CONTROL TOPICS
Example Industrial Applications
Published applications of the PC algorithm have been mostly in oil operations,
particularly on FCC units.
27.5.5 HMPC
Horizon Predictive Control (HPC) is marketed by Honeywell as a single loop
(multi-input, single-output) scheme. The multivariable version, Honeyw ell
Multivariable Predictive Control (HMPC), is relatively new on the markel
Model Form
Both HPC and HMPC are flexible in the model form they can accept for
carrying out model prediction. However, the identifier included with these
packages identifies parametric ARMAX or transfer function models from plant
data.
Fundamental Objective
The objectives of HPC (and of HMPC) are fundamentally different from that of
the other MPC schemes. A correction horizon (the main tuning parameter) is
chosen by the designer as the time after which the prediction error is to be
reduced permanently to zero; as there is an infinite set of control move sequence
s
that will achieve this nominal objective, the HPC objective is therefore to find
the sequence that corresponds to a minimum expenditure of control efforl
It should be noted that the quadrati c objective function of the DMC
algorithm may be reformulated to resemble the HPC objective.
For proprietary reasons, there are several other aspects of the HMPC/H PC
algorith m that are currently unavailable.
Tuning
The major tuning parameter is the correction horizon. It is defined as the
length
, of time within which the controller must retUrn the variable to its set-poin
t or
nearest limit. It is claimed that even in the multivariable case, all that is
required is the specification of this correction horizon for each controlle
d
variable . ·
Implementation Platfor m
The model building, controller design, and simulation mod~ for HMPC/H PC
are implemented on the personal computer. Estimation of model parameters
from plant dynamic test data is carried out using MATLAB's system
identification toolbox. The controller coefficients are transferred from the PC
to the Honeywell DCS. The control algorithm is implemented directly in the
Honeywell application module so that no process control computer is needed for
implementing HMPC/HPC.
Example Industrial Applications
Since HMPC/ HPC are relatively new addition s to the commercial MPC
market, publicly documented industrial applications are still relatively few.
CHAP 27 MODEL PREDICTIVE CONTROL 1017
Plant
W>
Filter Controller
u y
Setpoint+ ~ F f-. Q p
yd
+
p
-
\..
Model
"d
Figure 27.5. The IMC structure.
SPECIAL CONT ROL TOPICS
1018
d to the initial eluci datio n of
Brosilow and coworkers [7, 8] also contribute
as well as to the use of linear
the fund amen tal struc ture now know n as IMC,
:variable control.
prog ramm ing withi n the concept of multi
ing appr oach to MPC was first intro duce d by
The quad ratic prog ramm
cons train ed MPC prob lem as a
Garcia [24] and Ricker [66]. By posin g the
simil arity betw een the prob lem
Quad ratic Program, and by recognizing the
ard MPC , it is possible to take adva ntage
solved at every time insta nt in stand
for solvi ng such optim izati on
of effic ient algor ithm s that alrea dy exist
problems.
strat egy was prese nted by
A statis tical inter preta tion of the DMC
lishe s that withi n the DMC fram ewor k reside
Ogunnaike {53]. This work estab
proven statistical concepts as least
the same principles upon whic h such time-
-Mar quart nonl inear regre ssion
squa res parameter· estimation, the Leve nberg
Baye sian sequ entia l estim ation are base d,
meth od, Ridge regression, and
ding DMC's success.
thereby prov iding another vehicle for unde rstan
ry of time -seri es analy sis,
Usin g argu ment s from the statis tical theo
other thing s, the theoretical basis for the
MacGregor [38] established, amon g
reference trajectory. He show ed
first-order filter used to generate the MAC
beha vior (due to mode l error s and
that if the unmo deled aspects of the plan t
unme asure d disturbances) can be represented
as a rand om walk process observed
ption which is reasonably close to the
with white meas urem ent noise (an assum
nce pred ictor of the effect of these
obse rved reality), then the mini mum varia
age of Section 27.3, is obtai ned by
unmo deled dynamics, w(k + 1) in the langu
path , as advo cated by the MAC
utiliz ing a first-order fl.lter in the feedback
scheme.
ut of this filter is easil y
MacG rego r also estab lishe d that the outp
movi ng average (EWM A) of past
rearr ange d to give an exponentially weighted
it then beco mes easy to dedu ce that unde r
value s of the disturbance sequence;
ignored, the EWM A control charts
conditions in which the process dynamics are
me identical to the MAC strate gy
used in Statistical Process Control (SPC) beco
detai led discu ssion of this and other
incor porat ing this first-order fl.lter. A
related issues may be found in Chap ter 28.
Schemes
27.6.2 Add ition al Stru ctur ally Sim ilar MPC
tural similarities with DMC and
Several control meth odolo gies beari ng struc
of the differences betw een these
MAC have since been prop osed . Mos t
es are subtle, but, in some cases, these
strate gies and the original MPC schem
to impo rtant distin ctions. The following is a
subtl e differences can lead
ol strategies:
representative selection from this class of contr
2. Extended Linear MPC [33] in which the basic linear MPC structure is
augmented to reflect the true nonlinearities captured by an explicit
nonlinear model; the recommended control moves then become
perturbations around the basic linear MPC controller recommendations.
2. Nonlinear Model Inversion. The procedu re for carrying out fue model
inversi on require d for the implem entation of the standar d MPC
can
control ler is itself not trivial; the inversio n in the nonlinear case
only be expected to be even more complic ated.
need for
These factors notwith standin g, there are strong factors motivating the
nonline ar control in certain chemical process control applicat ions.
and
2. Continu ous processes that experience frequent start-ups, shutdowns,
a substan tial period of time away from any
transiti ons spend
identifi able steady-state operatin g region.
the
3. There are processes for which the overall nonlinearities (even in
so severe, and so critical to
neighbo rhood of steady states) can he
stability, that no linear time-var ying model will be adequat e.
r industry )
For such process es (which are common in the chemical and polyme
very effectiv e; nonline ar controll ers will be
linear control lers will not be
for improv ed perform ance. A particul ar exampl e of the latter class of
essential
for which the nonline ar model
systems is the reactor studied in Ref. [19],
in the process gain. It was found that fuere is no linear
exhibits a sign change
ler (with integral action) which will permit stable operatio n of this
control
process.
d"1(k) is exactly as
where everyt hing else but the newly introd uced vector
nts of the vector d"'(k) are compu ted by
described for standa rd DMC. The eleme
minimizing the differe nce betwe en 1r
(k + 1), the outpu
y(k
t
+
predic
1),
tion obtain ed
the predic tion
from the extended linear model shown above, and device,
model of the plant. Thus by this
obtain ed from a full-scale nonlinear orated
s as captur ed by the nonlin ear model are incorp
the process nonlinearitie origin al
preser ving the
direct ly into the DMC formu lation while still
framework. then becomes a
The solution to the extended DMC proble m so formulated
onal d"'(k) term) aroun d
pertur bation (predicated by the presence of the additi ated via
inger et al. [72], have illustr
the standa rd. linear DMC solution. Simm
ial effecti veness of this schem e.
simulation studie s the potent
Bilinear MPC
a bilinear model can
As an appro ximat ion of the ·nonlinear plant behav ior,
a linear model; it can also
often provid e a more accurate representation than
n than a full-sc ale nonlin ear model. An
provid e a more tractable representatio
bilinea r proces s repres entatio ns has been presen ted by
MPC strategy based on
·
Yeo and Williams [79].
rmations were
The results presented were for SISO systems, and some transfo
resulti ng algori thm might be explic it in the same
emplo yed in order that the
s might be easier to
vein as the IMC results. Particularly because bilinear model
appro ach se.ems to hold some
obtain than full-scale nonlin ear models, this
ed to multiv adable ~syste ms relatively
promise, especially if it can be extend
ed it can be formu lated to handle constra il}ts.
easily, and provid
Nonl inear MPC
system s have been
Strategies for extend ing the IMC conce pt to nonlin ear
20]; in particu lar the issues of generating an
presen ted by Economou et al. [19,
of the nonlin ear model and that of implem enting it as the
appro priate inverse ·
(nonlinear) IMC controller were carefully discussed. MPC
ach, recall that the origin al
As an altern ative to the IMC appro
to take full advantage
problem was posed as a QP (or an LP) primarily in order
in the standa rd MPC
of these optim ization techniques. If the linear model
ear model of the type:
scheme were then replaced by a full-scale nonlin
dx (27.36)
dt = f(x, u, d; 9)
1023
TROL
CHAP 27 MODEL PREDICTWE CON
(27.37)
y =
g(x, u, d)
if necessary,
d to ente r in a non line ar fashion
and the constraints are perm itte
:
then the resulting problem becomes
(27.22)
min tfr[u(t), x(t), y(t) ]
u(r)
subject to:
dx
dt - f(x, u, d; 9) =0
y - g(x, u, d) = 0
h(x, u) = 0
q(x, u) :s; 0
x(to) = Xo
t e [t0, t0 + 11
state vector,
uts, u is the inp ut vector, x is the
Her e y is the vector of process outp the curr ent
is the vector of mod el para met ers;
d is the disturbance vector, and 9 by T.
iction horizon is indi cate d
time is indicated at t()t and the pred pro gra m
line ar MP C problem becomes a non line ar
Posed this way , the non men t of effi cien t non line ar
rap id dev elop
(NLP). As a resu lt of the bers of vari ables
capable of han dlin g large num
pro gram min g (NLP) algorithms pro blem as pos ed abo ve.
e to solve the NMPC
and constraints, it is now possibl revi ew of the wor k don e to dat e
Biegler and Rawlings [5] pro vide
a very careful also
; thes e are
course, still rem ain unr eso lved
in this regard. Several issues, of
the refe rence.
ver y carefully considered in
3. Constraints
It allows the explicit handling of constraints through on-line optimization.
This aspect, in particular makes conventional MPC the only methodology
that, in one package, allows the typical performance criteria of importance
in the process industries to be addressed directly and not in the ad hoc
fashion typical of most other schemes.
J)eficiencies ·,
directly or indirectly with the very attributes that constitute its strength.
1. Model Form
There are several industrial processes of importance for which an
approximate linear model provides a poor representation of the relevant
plant dynamics. In this case, the attractiveness of the step- (or impulse-)
response model is supplanted by the unacceptable inaccuracies of the
naively simple representation.
Also, the conventional MPC model form is not directly applicable to
processes with integrating elements; under these conditions special
modifications noted in Morari and Lee [48] are required.
The issue of model identification could alSo be raised here; however,
model identification is a universal problem in process control and in general
is not localized to MPC Slone. ·
2. Tuning
The control computation strategy adopted by MPC, even though
fundamentally appealing, contains a substantial number of tuning.
parameters; and it is not always obvious how these pllfameters should be
chosen. In this regard, as noted earlier, MAC is far 1~ cumbersome than
DMC; but by the same token, the latter has more qegrees of freedom
available for Achieving the often conflicting objectives of robustneSS and
performance. ·
3. Model Prediction Updating
The model prediction updating strategy is often extremely inadequate
because it assumes that the currently observed discrepancy between the
model prediction and plant measurement is due only to unmodeled
disturbances; it also assumes further that such discrepancy will remain
constant over the prediction horizon. This often leads to poor performance,
especially in disturbance rejection.
4. Analysis )!
As attractive and as useful as conventional MPC has been, a systematic . :';i
analysis of its stability and robustness properties is not possible in its ·;~'
1025
CHAP 27 MODEL PREDICTWE CONTROL
in general, time-
origin al finite horizo n formulation. The control law is,
in the constr ained case, canno t be repres ented in the
varying, and especially
The infinit e horizo n
closed form requir ed for such genera l analyses.
such analys is (cf. Refs. [51, 61]).
formulation is more amenable to
of MPC along with
A more detailed discussion of the strengths and weaknesses
may be found in Morar i and Lee [48].
some recommendations for improvements
uence of recogn izing these deficie ncies is that the areas of
A natura l conseq
ied. These are summ arized
MPC in need of further work are more easily identif
next.
27.9 SUMMARY
l
reviewed in some detai
sta te of Mo de l Pre dic tive Control has been ipl es of MP C, its
The current the basic pri nc
in this ch ap ter . Th
e main issues regarding un de rly ing theory of sta nd ard
ls of the
an d some detai es av ail ab le for the
historical evolution, d. Th e commercial pa ck ag
sse ing
MPC ha ve be en dis cu reviewed, while stress
tio n of va rio us MP C schemes have been co ntr ibu tio ns to the
implementa m the oth er. The academic lin e
e fro eering dis cip
wh at differentiates on dy of kn ow ledge within the engin as
C as a bo ne ar MP C
advancement of MP ject matter of nonli
gling ou t the critical sub right. In
have been reviewed, sin worthy of separate consideration in its ow n
me tho do log y C in ne ed of further
an emerging dis cu ssi on of oth er areas of MP
ve r, a
addition to this, howe
rk ha s als o be en pre sented.
wo
It sh ou ld be cle ar from this chapter th at
joy ed remarkable
a co ntr ol methodology ha s en te,
1. St an da rd MP C as marily because, to da
tri al suc ces s wh ere others have failed pri rta nt pe rfo rm an ce
indus im po
dology tha t allows the sig n
it is the on ly metho o the co ntr oll er de
po rat ed dir ec tly int
cri ter ia to be inc or
formulation.
sim ple to
pr inc ipl es of MPC ar e rel ati ve ly
2. Th e fu nd am en tal me nta tio n are
mo de ls req uir ed for its im ple
un de rst an d, the ba sic ge of advances in
tai n; an d it takes full ad va nta
reasonably ea sy to ob the av ail ab ili ty of
ute r ha rd wa re tec hn olo gy as we ll as
co mp
.
optimization software
literature attest to
pli ca tio ns available in the op en n
3. The nu me ro us ap as a co ntr oll er de sig
fu nd am en tal eff ectiveness of MPC ine d mu lti va ria ble
the co ns tra
larly for large-scale,
me tho do log y particu mi c ch ara cte ris tics.
dyna
processes with complex ial
• fact tha t the commerc
ese nu me rou s ap pli cations also attest to the sc he me s ar e all
4. Th fo r im ple me nti ng
M PC
pa ck ag es av ail ab le tal
te; the y all ha ve the sa me fu nd am en
tal ly ad eq ua tinguish on e fro m
fu nd am en various factors tha t dis
gic al ba se, an d the ry mo tiv ati on
technolo of the prima
essentially as a result d
the oth er have arisen lop er an d/ or ma rke ter. However, DMC an
of the de ve ne eri ng
an d preferences ions since, as the pio
cupy preeminent posit the y
IDCOM continue to oc y ha ve be en av ailable the longest:
ial pa ck ag es, the d ind us tri al
co mm erc do cu me nte
ref or e ha ve the lar ge st sh are of the
the
ap pli ca tio ns .
nefit from the
suc ces ses , not all processes will be
Yet for all its stren gth s an d or no interactions,
os e variables exhibit little
po we r of MPC. Pro ces ses wh se which are se ldo m
dy na mi c characteristics, an d tho MPC:
processes wi th no rm al fit significantly from
to co ns tra int s wi ll mo st likely no t bene
subject as well.
just as likely to perform
simpler techniques are wo rk is ne ed ed MPC are:
further
The main areas where
c test data,
Ide nti fic ati on of mo dels from plant dynami
•
ns,
• Nonlinear extensio
1028 SPECIAL CONTROL TOPICS
the former because to a large extent, the performance of the MPC scheme is
really only as good as the model used, and the latter because nonlinearities are
an integral part of all realistic processes, and they can still constitute
significant problems in certain cases.
1. Arkun, Y. and W. H. Ray, Eds., Proceedings of Chemical Process Control- CPC IV,
AIChE (1991)
2. Arulalan, G. R. and P. B. Deshpande, "Synthesizing a Multivariable Prediction
Algorithm for Noninteracting Control," Proc. Am. Control Conf., Seattle, WA (1986a)
3. Arulalan, G. R. and P. B. Deshpande, "A New Algorithm for Multivariable Control,"
Hydrocarbon Processing, 51, (1986b)
4. Arulalan, G. R. and P. B. Deshpande, "Simplified Model Predictive Control," Ind. Eng.
Chem. Res., 26, 356 (1987)
5. Biegler, L. T. and J. B. Rawlings, "Optimization Approaches to Nonlinear Model
Predictive Control," in Proceedings of CPC W, 543-571 (1991) .
6. Box, G. E. P. and G. M. Jenkins, Time Series Analysis: Forecasting and Control, Holden-
Day, San Francisco (1976)
7. Brosilow, C. B., "The Structure and Design of Smith Predictors from the Viewpoint of
Inferential Control," Proc. Joint Aut. Control Conf., Denver (1979)
8. Brosilow, C. B., G. Q. Zhao and K. C. Rao, "A Linear Programming Approach to
Constrained Multivariable Control," Proc. Am. Control-Conf., San Diego, 667 (1984)
9. Caldwell, J. M. and G. D. Martin, "On-line Analyzer Predictive Control," Sixth
Annual Control Expo Conf., Rosemont, IL, 19-21 May (1987)
10. Chang, T. S. and D. E. Seborg, "A Linear Programming Approach to Multivariable
Feedback Control with Inequality Constraints," Int. J. Control, 37, 583 (1983)
11. Clarke, D. W. and C. Mohtadi, "Properties of Generalized Predictive Control," Proc.
10th IFAC World Congress, Munich, 10, 63 (1987a)
12. Clarke, D. W., C. Mohta:di and P. S. Tuffs, " Generalized Predictive Control - I and
II," Automatica, 23, 137-160 (1987b)
13. Clarke, D. W., "Adaptive Generalized Predictive Control," in Proc. ofCPC W, 395-
417 (1991)
14. Cutler, C.JI.. and B. L. Ramaker, "Dynamic Matrix Control- A Computer Control
Algorithm," AIChE National Meeting, Houston (1979)
15. Cutler, C. R. (1983). Ph. D. Thesis, U. of Houston
16. Cutler, C. R. and R. B. Hawkins, "Constrained Multivariable Control of a
Hydrocracker Reactor,• Proc. Am. Control Conf., Minneapolis, 1014 (1987)
17. Cutler, C. R. and R. B. Hawkins, "Application of a Large Predictive Multivariable
Controller to a Hydrocracker Second Stage Reactor," Proc. Am. Control Conf., Atlanta,
284 (1988)
18. Cutler, C. Rand F. H. Yocum, ''Experience with the DMC Inverse for Identification," in
Proc. of CPC IV, 297-317 (1991)
19. Economou, C. G., M. Morari and B. Palsson, "Internal Model Control- 5. Extension
to Nonlinear Systems," Ind. Eng. Chern. Process Des. Dev., 25, 403 (1986)
20. Economou, C. G. and M. Morari, "Internal Model Control - 6. Multiloop Design,"
Ind. Eng. Chem. Process Des. Dev., 25, 411 (1986)
2.1. Erickson, K. T. and R. E. Otto, "Development of a Multivariable Forward Modeling
Controller," I. and E C Research, 30, 482 (1991)
22. Frank, P. M., Entwurf von Regelkreisen mit Vorgeschriebenem Verhalten, G. Braun,
Karlsruhe (1974)
23. Garcia, C. E. and M. Morari, "Internal Model Control -1. A Unifying Review and
SOme New Results," Ind. Eng. Chern. Process Des. Dev., 21, 308 (1982)
CHAP 27 MODEL PREDICTIVE CONTROL 1029
REVIEW QUESTIONS
for wha t two cent ral tasks?
1. In MPC the proc ess mod el is used
y to bene fit from
cs of thos e proc esse s mos t likel
2. Wha t are the typi cal char acte risti
MPC ?
MAC and IDC OM?
3. Wha t is the rela tion ship betw een
mes ?
basic fram ewo rk of all MPC sche
4. Wha t four elem ents cons titut e the
onse mod el?
impu lse-r espo nse and a step -resp
5. Wha t is the difference betw een an
?
6. What mod el form is emp loye d in DMC
e up of wha t elements?
7. The dyna mic matr ix in DMC is mad
actio n com puta tion
mic matr ix 13 is used for cont rol
8. Wha t type of inve rse of the dyna as a leas t squa res min imiz atio n
prob lem is pose d
whe n the unco nstr aine d DM C
prob lem?
+ 1) and the resid ual
the "pro jecte d erro r vect or" e(k
9. Wha t is the diffe renc e betw een
erro r vect or e,(k + 1) in DMC?
upda ting mod el pred ictio ns?
10. Wha t is the DM C strat egy for
cont rol mov es calc ulate d at
leme nt the entir e sequ ence of m
11. Why is it inad visa ble to imp vals ?
ession over the next m time inter
time instant k in auto mati c succ
1032 SPECIAL CONTROL TOPICS
12. Why is scaling important in using DMC for multivariable control problems posed as
least squares optimization problems?
13. What role does the scalar K play in the unconstrained DMC formulation?
14. In the general constrained DMC formulation, explain the roles of the tuning matrices r,
B,andD.
16. What are the main differences between DMC and MAC?
19. What characteristics set the commercial package PC (marketed by Profimatics) apart
from the others?
20. What property makes the Honeywell's HMPC different from the other commercial MPC
packages?
28
L
ST AT IST IC AL PR OC ES S CO NT RO
28.1.1 Com mon Caus e and Spec ial Caus e Vari ation
d value Yd(k) is said to be
Any observed differences betwe en y(k) and its desire
due to "common cause" variat ion if:
(28.2)
y(k)- yjk) = e(k)
i.e., that the observed process measurement y(k) varies around its true, fixed,
constant, mean value, y•, in a random fashion that follows the Gaussian
probability distribution function. Thus the probability of obtaining a value of y
lying in any given interval is obtained from the probability density function:
1 exp [- !. (~)~
= -~
j{y)
2 u u (28.5)
Thus the probability that y (k) will fall outside the limits y» ± 3u is the sum of
the probabilities in Eqs. (28.6) and (28.7), or 0.0027.
With this simple fact, we may now observe that whenever the process is
truly "on-target," it is highly unlikely that the discrepancy between the
observed value y(k) and its desired target value y4 will exceed the value 3u,
three times the measurement error's standard deviation; any deviation
exceeding these bounds is very likely (with probability 0.9973) to be due to a
"special cause."
CHAP 28 STATISTIC.1L PROCESS CONTROL 1037
z=-- - (28.8)
but when:
z ~ 3.0 (28.1 0)
51.500
t
y
49.500
i
Lower Control Limit (LCL}
Time Sequence
le 23.1
the Mooney viscosity data of Tab
Figu re 28.1. Shewart quality control cha rt for con trol" ).
(a typical Shewart Cha rt for a process "in-
hou rly
rt sho wn in Fig ure 28.1 is for
For example, the She war t Cha The des ired
osity of an industrial elastomer.
measurements of the Mooney visc stan dar d dev iati on
for this grade is 50.000; a
targ et Mooney viscosity value c var iabi lity asso ciat ed
characterize the intrinsi
value of CT = 0.5 is kno wn to er sen siti ve Qu alit y Con trol
and the rath
wit h the sam plin g pro ced ure Table 23.1
ipm ent use d for obtaining these measurements.
lab ora tory equ The targ et line is
which the plo t was obtained.
contains the original dat a from at 50± 1.5 sinc e C1 =0.5.
limits lines are dra wn
. dra wn at y4 =50 , and the control lim its; the pro cess is
outside the ± 3C1 con trol
Observe tha t no dat a point falls
therefore said to be "in con trol "
wart Chart
Constructing and Using The She
the Shewart
ure for constructing and using
The following is a typical proced .
trol
Cha rt for Statistical Proce~>'S Con
ive of "usual" process operation.
1. Collect historical dat a indicat
resentative
al subgroup" - the dat a set rep
2. From this, extract a "ration Thi s dat a set is use d to establish
ance.
of periods of "rational" perform mat e of a,
value, as well as a good esti
the operating "base": the mea n sett ing the con trol
variation nee ded for
the measure of intrinsic process
lim its.
ence of a
desired targ et val ue (in the abs
3. Dra w the centerline at the from the rational
an value esti mat ed
specified targ et value, the me low er con trol lim its at
the upp er and
subgroup may be substituted); set
± 3CT from tlili? centerline.
tially in time on this chart.
4. Plot process dat a y(k) sequen
the control
er an observation falls out side
5. A "signal" occurs whenev cau se, and take "corrective
assignable
limits; in suc h a case, find an
action."
1039
L
L PROCESS CO NT RO
CH AP 28 ST AT IST ICA
TABLE23.1 .1
sity Data For Figure 28
Hourly Mooney Visco
Mooney Viscosity
Time Sequence Units)
(in hours) (Standard Ind us try
49.763
1.0
50.050
2.0
51.079
3.0
49.310
4.0
49.855
5.0
51.056
6.0
49.887
7.0
49.806
8.0
49.735
9.0
50.799
10.0
50.699
11.0
50.469
12.0
50.007
13.0
14.0 50.341
49.798
15.0
50.767
16.0
48.678
17.0
50.372
18.0
50.782
19.0
49.648
20.0
49.889
21.0
49.669
22.0
49.544
23.0
50.472
24.0
50.837
25.0
5a
~-3crr-~----------------------
Lower Control Limit
Figure 28.2. Implication of a positive shift of 2a in the mean
level of a process
measurement
CHAP 28 STATISTICAL PROCESS CONTROL 1041
while the Pr [(y\ -y )>Sa] is negligibly small. Thus for such a shift in mean,
the ARL = 1/0.1587 = 6.301, implies that on the average, seven observations
will pass before we can expect a signal to be triggered on the Shewart Chart.
Since it is not unusual for observations to be made every hour, this implies that
we may not see the real upset in y* of 2 standard deviations until perhaps 7
hours after the event occurred. This may be an unacceptably long time for such a
significant deviation in the process output to go undetected.
The CUSUM (for CUmulative SUM) chart, first introduced by Page [18, 19],
is a procedure that is designed to detect smaller shifts in mean value more
quickly. The operating model for the CUSUM technique is the same as in
Eq. (28.4):
y(k) = y* + e(k) (28.4)
[y(k)- Yd]
or
8+ e(k) (28.12)
where 8 represents the discrepancy between the true mean value of the process
variable, and the desired target value. Now define S(k) as:
k
a cumulative sum of the deviation of the observation from the desired target
value. The CUSUM chart is a plot of S(k) against the time index k. If the true
mean value of the observation equals the desired target value, then o = 0 and
from Eq. (28.12):
k
S(k) = I e(i)
i= I
(28.14)
in which case S(k) will appear as a random walk, wandering randomly around
zero. For any nonzero discrepancy 8:
k
S(k) = k8 + .I e(i)
r= I
(28.15)
SPEClAL CONTROL TOPICS
1042
,
aine d, syste mati c incre ase or decrease
and the plot of S(k) will show a sust
or negative.
depe ndin g on the whe ther 8 is positive
diffe renc e in sens itivi ty betw een the Shew art Cha rt and
To illus trate the
Moo ney viscosity data in Table 23.1 and
the CUSUM chart, let us retu rn to the y
n level at k = 10 by addi ng 0.6 to ever
simu late a delib erate shift in the mea Shew art Cha rt for the
The resu lting
obse rvat ion afte r the nint h one.
well as the origi nal data set, y, are supe rimp osed and shown
"per turb ed," Yp as
ate the original data ; the solid circles
in Figure 28.3a. (The emp ty circles indic ),
the shift is relatively sma ll (0.6 = 1.2a
indicate the pert urbe d data.) Because Shew art boun ds, and no
in the 3-sigma
the pert urbe d data still rema in with
signal is trigg ered .
show n in Figu re 28.3(b), whe re the
The corr espo ndin g CUSUM char t is
for the orig inal data , S, and the solid
emp ty circles indi cate the CUSUM
urbe d data , SP. Note that whe reas the
circles indicate the CUSUM for the pert
mere inspection of the CUS UM chart, the
simu lated shift is quit e noticeable by
the Shew art Cha rt. The chan ge in the
sam e is not true for sequ entia l plot on
the tenth obse rvati on on, prov ides a
slop e of the CUSUM plot, visible from of
nt" has occurred, but also an estimate
clear indic ation not only that an "eve
whe n it migh t have occurred.
ing whe ther or not a true change in
For the purp ose of objectively ascertain
it is cust oma ry to emp loy the so-called
slop e has occu rred in a CUSUM plot,
the Shew art Cha rt emp loys the parallel
"V-mask" muc h in the sam e way that is
cons truct ing and usin g this "V-mask"
UCL and LCL lines. The proc edur e for inter ested read er may
ussed here. The
som ewh at invo lved and will not be disc
ple, Luca s [9, 10], or Wet herill and Brow n [24]. In any event,
consult, for exam
large ly supp lant ed by an equi vale nt,
such a grap hica l proc edur e has been
disc usse d, for exam ple, in Luca s and
prim arily com puta tion al, appr oach
ly in MacGregor [15].
Crosier [12, 13], and also mentioned brief
perf orm s wha t is kno wn as a
Theo retic ally, the CUSUM met hod
T): i.e., it tests the null hypo thes is (H0
)
Sequential Probability Ratio Test (SPR thes is {H.) that 8 -:;: 0. If
alternative hypo
that c = 0 in Eq. (28.12), agai nst the
we define SPR T as:
Pr[y (l); y(2); ... ; y(k)] unde r Ha
SPR T = -:-(l); --'...---
---y(2); --"
:--unde -
r H0
(28.16)
Pr[y ; y(k)J
52.000 oy eyp
51.500
51.000
50.500
y
50.000
49.500
(a)
14.000
os • sp
13.000
12.000
11.000
10.000
9.000
8.000
7.000
s 6.000
Shi ft Imp lem ent ed
~
5.000
4.000
3.000
2.000
1.000
0.000
·1.000 19.0 22.0 25.0
8.0 10.0 13.0 16.0
0.0 2.0 4.0 6.0
Tim e Seq uen ce
(b)
equal attention to the entire data history as it pays to the most current
information. There is a class of "moving average" techniques that fall
somewhere in between the Shewart and the CUSUM methods in the manner in
which historical data is utilized; the Exponentially Weighted Moving
Average (EWMA) method, first proposed by Roberts [20], is the most widely
used in this class.
The EWMA of the observation y(k) is given by the expression:
then it follows immediately that Eq. (28.17) may equally well be written as:
Note how the expression for ~(k) naturally falls in between e(k) used by the
Shewart method (corresponding to w(i) = 1 fori= k; and zero otherwise), and
k
I, e(i) used by the CUSUM method (corresponding to w(i) = 1 for all i ).
i =1
Now, if the errors e(i), i = 1, 2, ... , k, are considered as usual to be
independent and identically distributed Gaussian random variables with zero
mean and constant variance cr,
then it can be shown that the variance of ~(k) is
given by:
(28.21)
(28.22)
The parameter A. that, from Eq. (28.20}, determines the memory length, and
that from Eq. (28.22) also strongly influences the EWMA variance, is to be
chosen by the user. Procedures and guidelines for determining "optimum" values
for A. are presented, for example, in Hunter [5].
1045
CHAP 28 STATISTICAL PROCESS CONTROL
Plott ing and Using the EW.M:A
r [5] sugges ts that y(k)
For the purpo ses of plottin g the EWMA statistic, Hunte
"one-s tep-ah ead foreca st" of y(k + 1), say,
in Eq. (28.17) be consid ered as a
d as such. The EWMA plot is initiali zed by setting y_,(l)
y1 (k + 1), and plotte l limits for the
igma contro
equal to the target value, i.e., y1 (1) = Yd· The three-s
EWMA are obtain ed from Eq. (28.22) , i.e.:
52.000
0 Yewma
51.500
51.000
50.500
Yewma
50.000
49.500
48.500
_._.._._ _,_....__ .
48.000 l-...J.-L --'--'--L ....I-'--- '--'--L... .I-'--'-.. ._........_.__,_..
22.0 25.0
0.0 2.0 4.0 6.0 8.0 10.0 13.0 16.0 19.0
Time Sequen ce
Figure 28.4. The EWMA plot for the Mooney viscosity data.
SPECIAL CONTROL TOPICS
1046
NDA RD
28.3 SERIAL CORRELATION EFFECTS AND STA
PROCESS CONTROL
Dist urba nces
28.3.1 The Natu re of Indu stria l Processes and
of an interconnected network of
The typical industrial chemical process consists
as chem ical reactors, distillation columns,
indiv idual processing units such
inertial components prese nt in
heat exchangers, mixing tanks, etc. The inherent
, the transportation lag due to
each of these units, the presence of recycle loops
the fact that many process variables of
flow throu gh connecting pipes, and
104 7
CESS CONTROL
CHAP 28 STATISTICAL PRO
spi re to gua ran tee
me asu red frequently, all con
importance are sam ple d and to pas t obs erv atio ns.
erv atio ns wil l be stro ngl y rela ted
tha t cur ren t obs re be expected to be
process variables will therefo
Measurements of controlled ented reasonably
such correlations can be repres
strongly serially correlated, but del s: the stu dy of process
wit h (de term inis tic) dyn am ic process mo
we ll
ated upo n this very fact.
dynamics in Par t II was predic le variations in
however, of the una voi dab
There is the add itio nal factor, t fluc tua tion s in am bie nt
the bui ld up of impurities, con stan
raw ma teri als, , tha t combine to
n, hea t exchanger fouling, etc.
conditions, catalyst deactivatio ible to pre dic t, or to
ys tha t are virhtally imposs
"di stu rb" the process in wa
e deterministic model.
represent wit h any reasonabl and the con stan t
These two factors - the inh ere nt process dyn am ics,
es - mean tha t
presence of process disturbanc
naturally tend to
e measurement, y(k), wil l
The typical process variabl in addition it
with previous observations;
be very stro ngl y correlated -tar get. "
wander and not remain "on
will also naturally tend to
ted in Eq. (28.4), an
quality control mo del pre sen
Thus within the context of the has:
the typical chemical process
observation y(k) obt ain ed from
t is har dly eve r
exp lain abl e par t, y .. (k), tha
1. A "de term inis tic, " or dynamics.
- because of inherent process
constant -o r unc orr ela ted
refer to as d(k),
cha stic " or une xpl ainable part, tha t we will now
2. A "sto se," e(k); d(k)
the unc orr ela ted "w hite noi
tha t is har dly the sam e as
a nonstationary drift.
will usually take the form of
Co rre lat ion
28.3.2 Co pin g Wi th Se ria l
s dat a is tha t all the
of serial correlation in proces
The mo st imp ort ant effect tho ds bre ak down. The
ind traditional charting me
underlying ass um ptio ns beh ed on the so-called "no rma l
as we ll as the EWMA, are bas
She wa rt Ch art, error, e(k), being an
y strongly on the me asu rem ent
theory test" tha t dep end s ver ce. The seq uen tial
dis trib ute d Gaussian sequen
ind epe nde nt and identically tho d is alsQ bas ed on e(k)
ility rati o test car ried out in the CUSUM me
probab
ce.
being such a Gaussian sequen statistical basis of
When cor rela tion is stro ng eno ugh to und erm ine the
to em ploy one of two
trol methods, it is customary
these traditional qua lity con oun ts to app lyin g "ba nd- aid s"
ch essentially am
approaches. The first app roa rt Ch art are wid ene d
s: the limits of the She wa
to the trad itio nal technique negative correlation;
correlation, or nar row ed for
"ap pro pria tely " for positive "ad jus ted app rop riat ely " to
rs of the CU SU M and EWMA are
the par am ete e of the se issues are
relation on the ARL. Som
account for the effect of cor egor, Hu nte r and
lish et al. [3], and also in MacGr
discussed, for example, in Eng r, fail to con fro nt the
aid " approaches, how eve
Ha rris [17]. The se "ba nd- test s bas ed on ind ependence of
istical hypothesis
fundamental fact tha t all stat the pre sen ce of
com ple tely inv alid ate d by
seq uen tial obs erv atio ns are
correlation. ons in y*( k) are
tive app roa ch is mo re systematic: var iati
The alte rna ed in the sys tem atic
reflect the dynamics inv olv
mo del ed app rop riat ely to
1048 SPECIAL CONTROL TOPICS
(explainable) component of the data; disturbance models that go beyond setting
d(k) = e(k) are also developed to reflect the nature of the typical disturbances
experienced by the process. The use of such techniques specifically for the
purpose of developing quality control charts is discussed in detail in Keats and
Hubele [7], and also in Harris and Ross [4]. In Section 28.5 we will discuss how
this same approach is used for controller design.
28.3.3 Standard Process Control
To be sure, the presence of serial correlation and systematic drifts in the
observed value of a process variable severely limit the applicability of
traditional QC methods on most chemical processes. But a more serious
impediment is the assumption of the traditional QC methods that making
adjustments in the manipulated variable to correct for observed deviations from
target values always has significant associated costs.
In most industrial chemical processes, not only are adjustments in the
manipulated variables cost-free, but because of a natural propensity for the
process to drift away from target, it is not making timely adjustments to correct
for observed deviations that has associated costs. This is the motivation for
the standard process control paradigm: that the natural dynamics of the
process, and the persistent nature of the disturbances, are such that waiting to
ascertain the "significance" of an observed deviation before taking corrective
control action is often Wlacceptable. Corrective control action is therefore taken
after every observation is made, employing any of the control algorithms
discussed in detail in Part IV of the book, the most popular being feedback
control, using the PID control algorithm (cf. Chapters 14 and 15).
A well-devised standard control strategy can therefore significantly
minimize the effect of persistent disturbances on the process variable of
interest, but at the expense of making continuous adjustments in the
manipulated variable. However, since the net result of having a key process
output variable drift away from desired target value can mean significant
financial loss; and since it is relatively easy to make the required changes in
the manipulated variables to correct for these process excursions; and since the
resulting variation in the manipulated variable value is of no real consequence,
it has been said that:
The most serious criticism of this standard process control philosophy lies
in the fact that when the observed deviations from target are truly random,
and not statistically significant, the continuous controller adjustments actually
make the situation worse. These, and other related issues, have been discussed,
for example, in MacGregor [16].
wh ere (28.27b)
ynomials in z-1.
and t;(z-1) and tr(z-1) are pol
Disturbance Models
Box and Jen kin s [1]) for
y time ser ies mo del s (cf.
It is cus tom ary to em plo mple, the following model
:
representing the stocha stic disturbances. For exa
(28.28)
d(k) = If> d(k - I) + e(k)
t-order autoregressive, or
ere e(k) is Ga uss ian wh ite noise, is kno wn as a firs
wh
AR(l), model, while: (28.29)
= e(k )- ee(k - l)
d(k)
l
model. For reasons we wil
is kno wn as a first-order
mo vin g average, or MA(l), tio nar y sto cha stic
of sta
two mo del s are exa mp les
no t go int o her e, the se del s are: the "ra ndo m walk" model:
ary mo
processes. Two nonstation
(28.30)
d(k) = d(k -1) + e(k)
IM A( l)) model:
rder mo vin g average," or
and the "in teg rat ed first-o
) - Be( k -1) (28.31)
d(k) = d(k -1) + e(k
(28.32)
where 1/J(z-1) and O(z-1 ) are, respectively, pth-order and qth-order polynomials
in the backshift operator z-1, and \1° is the Dth difference operator defined as:
The interested reader is referred to Box and Jenkins [1] for further details; for
our purposes here, we only note an important result due to MacGregor [14] that
as the interval between observations increases, the behavior of an
ARIMA(p,1, q) model- for any p or q - approaches that of the IMA{l,1)
model shown in Eq. (28.31). Titis is the motivation for restricting our attention
to the model in Eq. (28.31).
or
with appropriate form chosen for P(z-1), and for d(k); and an appropriate value
chosen for m, the process delay. The typical objective is that control action,
u(k), should be determined to minimize the expected squared deviation of y(k)
from its desired target value Yd· Since E[(y- yd) 2] is the theoretical definition
of the variance of y (given that its mean value is yd), this objective is commonly
referred to as the "minimum variance" control objective.
To determine the "minimum variance" control action, without loss of
generality, we take the nominal value y 0 around which the model was
obtained to be the target value yd, and note from Eq. (28.33) that:
It can now be shown (cf. Box and Jenkins [1), MacGregor [15]) that the control
action, u(k), that minimizes E([y(k + m + 1) - yd]2) in Eq. (28.34), is given by:
1 •
u(k) "' P(z-•) [-d(k + m + Ilk)] (28.35)
and that the specific form taken by F(z- 1) is determined by the disturbance
model.
Whenever an observation y(k) becomes available, we may use Eq. (28.33) to
obtain the corresponding value of d(k) as:
(28.37a)
where
(28.37b)
is the dynamic model prediction of the deterministic part of the observed data
y(k). Thus, Eq. (28.35) may now be rewritten with the aid of Eqs. (28.36) and
(28.37) as:
(28.38)
For certain specific simple forms of dynamic process and disturbance models, the
nature of the resulting minimum variance controller can be very instructive. We
shall consider four examples.
d(k)
Forecast
Filter
Deterministic
Dynamic
Model
e.
2. Pure gain process with IMA (l,l) disturbanc
with (28.31)
d(k) = d(k- I) + e(k) - () e(k- 1)
so that: (28.47)
- 6 e(k)
d(k + I I k) = E[d( k + 1)] = d(k)
a kno wn
ing bee n observed, is con side red
since E[e(k + 1)] = 0 and e(k), hav obta in the exp ress ion for
7) from Eq. (28.46) we
quantity. By subtracting Eq. (28.4
r:
the "one-step-ahead" forecast erro
)
e(k+ l) = d(k +l) -d( k+ llk
7) yields:
Introducing this now into Eq. (28.4
- () )d(k) (28.49)
d(k + Ilk) = 6 d(k lk- l) + (l
as an EWMA
er filter on d(k), or equivalently,
recognizable eith er as a first-ord
of d(k). plot does
nt (in the sense that the EWMA
1\
E GAI N
IANCE CONTROLLER FOR PUR
Exa mpl e 28.1 MIN IMU M VAR TURBAN CE ..
PROCESS WIT H IMA (l,l) DIS
process who se model
imu m variance controller for the
Obt ain an expr essio n for the min
has been identified as :
(28.50a)
(y(k ) - y d) = 5.0u (k- I) + d(k)
with (28.50b)
d(k) d(k - I) +e(k ) - 0.6 e(k - I)
Solu tion :
in the requ ired
para met ers in Eq. (28.50), we obta
From Eq. (28.45) and the mod el
ession as:
min imu m vari ance controller expr
(Note that both the parameter f) and the form of this "forecast filter" F(z-1)
arise naturally from the IMA(l,l) disturbance modeL)
The minimwn variance control expression now becomes:
1(1-fJ)
u(k) = -K (1- (}z-1) d(k)
or
1
(1 - 9r 1)u(k) :::: - K (1 - (} )[(y(k) - yd)- Ku(k- 1)] (28.52)
where we have made use of the model in Eq. (28.44) to write d(k) in terms of
known process information. If we now note that Yd- y(k) is E(k), the familiar
feedback error, then Eq. (28.52) rearranges to give:
or
u(k) :::: (1 - (})
K
±
i=l
E(i) (28.53b)
Obtain an explicit expression for the minimum variance controller derived for the
process given in Example 28.1 if the controller is to be implemented at every time
instant k.
Solution:
Recalling from the model in Eq. (28.50) that the process parameters are K = 5.0 and
£J = 0.6, then from Eq. (28.53b), the required controller is the pure integral controller:
k
u(k) = 0.08 L £(i)
i= I
1057
CHAP 28 STATISTICAL PROCESS CONTROL
4. FiiSt-order process with IMA( l,l) distur bance
:
t k).
(Control action to be imple mente d at every time instan
(28.54)
with
(28.31)
d(k) = d(k-1 ) +e(k )- ee(k -l)
[
} - 1r I
~~
z- I (l - (} )
(1 _ (}z-') d(k)
J (28.55)
u(k) = -
rearrangement, we obtain:
upon using the mode l to replace d(k). After furthe r
]
u(k)- u(k-1 ) = ( )[ e(k)- n1€(k-l )
(l-fJ
1
(28.56)
ssion is recognizable as
where e(k) is the feedback error Ya- y(k). This expre
r rearra nged to give the
the velocity form of a PI controller; it may be furthe
familiar positi on form:
u(k) =
(l-fJ
,.
)[
E(k) +(I- n 1)
k-1
.I E(i)J (28.57)
':>! •= I
MENTED AT
Examp le 28.3 MINIM UM VARI ANCE CONT ROLL ER IMPLE
FOR A FIRST -ORDE R PROCESS
EVERY TIME INSTA NT k
WITH IMA(l ,l) DISTU RBAN CE.
ed as:
The deterministic model for a process has been obtain
(28.58)
(y(k) - yd) = 0.5 (y(k- I) - yd) + 0.8u(k - I)
given by:
with the accompanying stochastic disturbance model
SPECIAL CON TROL TOPICS
1058
(28.59)
d(k) = d(k -I) + e(k) - 0.6 e(k- I)
Solut ion:
param eters are {1 =0.8, n1 = 0.5, and
Obse rve that for this process, the mode l
controller is the PI controller:
8 =0.6. Thus, from Eq. (28.57), the required
TECHNIQUES
28.6 MORE ADVANCED MULTIVARIATE
likely to face a situa tion in which
Realistically, the process engineer is more
are to be mon itore d and controlled
seve ral process and qual ity variables
ess control, extending the ideas we
simultaneously. As with multivariable proc
ate case is fraug ht with man y
have pres ente d thus far to the mult ivari
effic ient mult ivari ate equi vale nt of the
complications. Nevertheless, a very
ented in Kresta et al. [8]. It is based
Shewart plot has been developed and pres
l analysis as Principal Com pone nt
on such tools of mult ivari ate stati stica
Structures (PLS). A full discussion of
Analysis (PCA) and Projection to Latent
outside the intended scope of this
these multivariate SPC monitoring tools lies
ed to consult the cited reference.
chapter; the interested reader is encourag
techniques to the desig n and
The application of these mult ivari ate SPC
mum varia nce controllers has also been
implementation of multivariable mini
industrial polymerization process has
carried out. A specific application to an
h the interested reader is referred.
been reported in Roffel et al. [21], to whic
1059
CHAP 28 STATISTICAL PROCESS CONTROL
28.7 SUMMARY
ess and quality control in the face of
The indu stria lly impo rtant issue of proc
focus of this chap ter. We have
inhe rent varia bilit y has been the main
trol (QC) meth ods - the Shew art,
revie wed the tradi tiona l Qual ity Con
ing the salie nt poin ts and the basic
CUSUM, and EWMA charts - high light
The role of stan dard proc ess control
assu mpti ons unde rlyin g each technique.
tical process cont rol (SPC) was also
with in the fram ewor k of traditional statis
appli cable in all situa tions , and neith er is
discu ssed . Trad ition al SPC is not
unde r which each appr oach is most
stan dard process control; the circumstances
appr opria te have been carefully note d.
d in this chap ter as a technique in
Stochastic process control was pres ente
mic mod els are con1bined with
whic h appr opri ate dete rmin istic dyna
els and appr opri ate perfo rman ce
appr opri ate stoch astic distu rban ce mod
nal control decisions. It was show n
objectives for the purp ose of mak ing ratio
sed tradi tiona l char ting meth ods and
that the appa rentl y diametrically oppo
y inter preta tion with in this unify ing
the classical PID cont rolle rs find read
ivari ate tech niqu es were brief ly
fram ewo rk. High er dime nsio nal, mult
the read er inter ested in purs uing this
men tione d with references prov ided for
rapid ly deve lopin g topic further.
REVIEW QUESTIONS
1. What is Statistical Process Control (SPC) in its broadest sense?
2. Within the context of maintaining a process variable steady in the face of unavoidable,
inherent variability, what is the analysis problem and what is the control strategy
problem?
3. What is ''common cause" variation, and how is it different from "special cause"
variation?
4. Why do the traditional Quality Control (QC) methods pay more attention to the
analysis of process variability and not so much to control strategy?
5. Why does standard process control pay more attention to control strategy and not so
much to the analysis of process variability?
6. How is the Gaussian probability density function used in the traditional QC methods?
7. In hypothesis testing, what is the difference between a Type I error and a Type II
error?
11. What is the recommended plan of action when a "signal" occur in a Shewart Chart?
12. In employing the standard "3-sigma" limits on a Shewart Chart, what is the risk of
raising a false alarm?
13. What is the motivation behind augmenting the Shewart Chart with the Western
Electric rules?
14. What is the average run length, (ARL), and how does this concept help in assessing the
usefulness of a QC method?
CHAP 28 STATISTICAL PROCESS CONTROL
1061
y aim" of standar d
23. As summa rized by Downs and Doss [2], what is the "primar
process control?
es should be investigated in
24. The status of what three basic process and control attn'but
le in a given situation?
deciding whethe r or not traditional SPC is applicab
29
SELECTED TOPICS IN
NT RO L
AD VA NC ED PROCESS CO
trol and
cha pter s to Model Predictive Con
Even after dev otin g ind ivid ual ther e is still a vas t arra y of
in Par t V,
Statistical Process Control her e disc usse d.
trol topics that we hav e not yet
imp orta nt adv anc ed process con s, are equ ippe d
s, and many existing processe
However, almost all new processe dig ital com put er data
wit h Distributed Computer Syst
ems (DCS) so that As a
are an inte gral par t of the plan t env iron men t.
logg ing and control lem ente d
trol methods are now bein g imp
consequence, Advanced Process Con rs des igni ng thes e
stries. While the enginee
broadly throughout the process indu rees and spec ial trai. .'ling ,
hav e advanced deg
advanced control systems usually t und erst and the basi c con cep ts
rations mus
all engineers involved in plan t ope on and
met hod s. Thu s in this chapter, we will introduce the jarg
beh ind these pro cess con trol
h some of the adv anc ed
qua lita tive idea s associated wit
plants.
methods being installed in today's the use
the met hod s of advanced process control involve
Essentially all of in ord er to
(e.g., a detailed process model)
of quantitative process knowledge ess kno wle dge
lem. For example, this proc
solve a difficult process control prob men ts, to dea l with the
of on-line measure
can be use d to overcome the lack eris tics cha nge wit h time , to
ami c charact
pro blem of processes whose dyn w opti mal
esses with spatial profiles, to allo
provide control systems for proc of failure
ntain safe process operation in case
economic performance, and to mai valv e, sens or). In each of
system (e.g., pump,
of a key component of the control ribe a diff eren t adv anc ed con trol
shall desc
the sections of this chapter, we clud e with a
it is designed to solve. We con
met hod and the special problem .
process control technologies
brief discussion of some emerging
OF GO OD ON-LINE
29.1 CONTROL IN THE ABSENCE
ESTIMATION
ME AS UR EM EN TS - STATE
key process
process indu stry that there are
It is very often the case in the inte rval s. It is eve n
d on-line at frequent time
variables that can not be measure ava ilab le on a rou tine basis.
at all are
possible that no mea sure men ts
1064 SPECIAL CONTROL TOPICS
Sometimes these measurements can be taken only very infrequently (as in the
case of on-line gas chromatography with long elution times) or perhaps
samples must be sent to the lab for analysis. In both these cases the
measurement result is known only after a significant delay. For these very
common situations, the process time constants may be short relative to the time
between measurements, and in addition, the measurement result is delayed,
indicating the state of the process .some time in the past. Hence, direct
feedback control based on these measurements is impractical. In such situations,
a State Estimator may be designed to estimate the values of these process
variables between measurements. This state estimator is used to "observe" the
values of unmeasured variables and is often called an "observer."
Another type of problem that arises less frequently in process control is a
situation where the process variable is measured on-line, but there is a high
level of noise in the measurement signal. If the frequency of the noise is widely
separated from the frequency of the process measurement itself (as in the case of
60 cycle noise superimposed on slowly varying temperature measurements}, then
simple filters such as described in Chapter 2 may be used. However, if there is
significant overlap of frequencies in the noise signal and in the process
measurement, then more sophisticated model-based filtering may be used as
part of the state estimator. The most common of these filters is based on the
work of Kalman in 1960 [cf. Refs. 1-3] and is termed a Kalman Filter.
dx
dt = f(x, u, a) + ~(t) (29.1)
2. Initial conditions:
x(O) = x 0 + ~O (29.2)
When on-line measurem ents are available continuou sly (as in the case of a
temperatu re, level, or pressure measurem ent), these componen ts may combine
into a state estimator of the form:
(29.6)
State Model
:k =f(:r.:,u,o:) + ~(t)
State Estimator
Initial Condition Estimate
i = f(i,u,o:) + K(t) [)(t)- h(i,u,j3))
x(O) =Xo +~ i{t)
x(O} = Xo
Output data
y =h(:r.:,u,j3) + 11
0
(a) Continuous data
~(t)
tl ts ts t, ts te
t- --
Discrete
(b) data
REACTOR (ADAYfED
Exam ple 29.1 A CONTINUOUS STIRRED TANK
FRO M REF. [1])
reactions:
us stirred tank reactor (CSTR) for the
Let us consider an isothermal continuo
c in the
given in terms of the concentrations cA, 8
The rates for each of the reactions are
reactor:
V
des
dt = F(c81 - c8 ) + V(k 1cA - ~c8 ) c8 (0) = c80
are the
of A and B respectively and cAo- c80
Here CAf, c8! are the feed concentrations Now supp ose that it is poss ible to
at start-up.
initial concentrations in the reactor but we cann ot mea sure
mea sure the concentration of species
B continuously on-line,
to know its valu e. Thus we wish to
is important
the concentration of A even though it
using a state estimator.
estimate the concentration of species A F, cAf'
First let us simp lify the equa tions by noting that c81 = 0 and the quantities V,
defin e the dime nsion less para mete rs:
k1, k2 are all constant. Then we can
k 1V k 2V t'V
Da 1 =F ; Da2 =r: l=[ i
CA en u; ~
xl X2=-
CArtf CAref
CAref
1068 SPECIAL CONTROL TOPICS
where cAre[ is the nominal initial charge of species A to the reactor.
With these definitions the model becomes:
dxl
dt = -(1 +Da 1)x1 +u
LO
_ "true" states
- - state estimates
0.5
LO
t__..
Figure 29.3. Comparison of "true" states and state estimator estimates for continuous
data. 77(1) is the actual measurement error used (0'= 0.05).
CHAP 29 SELECTED TOPICS IN ADVANCED PROCESS CONTROL 1069
Figure 29.4. Feedback control loop in which a state estimator is used to provide
"measurements" to the controller.
then we have a process gain K, a time consta nt 1', and a time delay
a, which can
vary. Variations in process gain K will cause the entire curve I g(s) I in Figure
the same factor; variatio ns in the time consta nt 't
29.6 to move up or down by
I frequen cies and L g(s) to vary at mediu m
will cause I g(s) to vary at high
effect on I g(s) I
frequencies; finally, variations in the time delay a will have no
tes
to vary at higher frequen cies. This illustra
and will cause the curve L g(s)
the Bode plot to variati ons in the proces s parame ters. Note
the sensiti vity of
frequency around
that loop stabilit y is threate ned only by changes at higher
robust stabilit y tends to be determ ined by process
the crossover frequency. Thus
frequen cies. This means that for the transfe r function in
variabi lity at higher
gain are most critical , while
Eq. (29.9), variations in the time delay and process
variations in the time constant are not so import ant
ms with
There are two practic al situati ons that lead to proble
misma tch and arise as a
robustness. Both could be said to lead to plant/m odel
consequence of the following situations:
no longer
1. Proces s Variab ility: in which an otherwise adequa te model
matche s the observ ed plant behavi or becaus e the process itself has
and heat exchan ger fouling are two examp les
change d. Catalyst decay
of mecha nisms underl ying such process variabi lity.
Lg(s ) ~~~
~~~~~~~~~~
-180~~~~~~
..
Figu re 29.6. Bode plot for g(s).
The bounds of this fuzzy reqion can be seen in Figure 29.6. The curve for I g(s) I
has possible variabilit y± I t.Kmax I,
while the curve for L g(s) has possible
I
variabilit y ± ro t.amax I.
Note the large potential variabilit y in the
crossover frequency roc and correspon ding critical gain, 1/ A, caused by the
variability in K and a.
It would be useful to have a transfer function for the bounds on this region of
variability. Let us call this transfer function the variability factor, lf/(s). Then
we could say that the true process, g(s), varies from the nominal process, gm(s),
by:
g(s) = gm(s)~s) (29.11)
Thus, the nominal process when LlK =t.a = 0 has a variability factor of unity.
We mar view the Bode plot of this variability factor for b.K = ± t.Kmax ,, I
I
Aa = ± b.amax to see how it influences the frequency response of the nominal
process, gm(s) (cf. Figure 29.8).
If one were to convert the Bode plot in Figure 29.6 into a Nyquist diagram
(see Figure 29.9), then we can see the uncertainty in gain and phase angle in the
same graph. Notice that the variability factor lf/(s) causes the possible domain
of g(s) to appear as wedge-sh aped regions of uncertain ty around gm(jro) when
there is variability in only K and a. For example, see the wedge formed around
the point g(jro1) as a result of the uncertain ty in the actual values of L g(jro1)
lljl (s) I
A.K,.,
1.0
-&.,..,.
I
(II
(II
Figure 29.8. Bode plot for the variability factor V'(s) given by Eq. (29.12); liK =± 1,
lia= ±2, K = r= a= 5.
CHAP 29 SELECTED TOPICS IN ADVANCED PROCESS CONTROL 1073
-3 -2 -1
Real Axis
Figure 29.9. Nyquist diagram for g(s), gm(s) given by Eqs. (29.11) and (29.12).
by
and I g(jOJ1) I. The envelop e of all these regions is the band given
I I
K ± AKmax fihO~ in the figure. Notice that tuning rules involvin g phase
margin and gain II,l'argin are designed to make sure that no part of the possible
domain of g(s) encompa sses the point -1 in the Nyquist diagram . The gain
I I
margin rules ensure that the gain variations K ± AKmax do not cause g(s)
to
OJ,; the phase margin rules on the other hand ensure that
include -1 when OJ =
I
variation s in phase lag due to time-delay variabili ty (a± Aamax )OJ do I not
cause g(s) to encompa ss -1 for some m < m, in the figure. Thus one can see how
of
PID controller tuning rules address the question of robust stability in the face
process variations.
Inadequate Modeling
of
Suppose that a linear process model, gm(s), was develop ed from a set
step test or pulse test data. Howeve r, there are
experim ental data such as
to
always inadequ acies in such experim ental data sets. This could be due
unmode led nonlinea rities, poor experim ental design, or measure ment noise
problem s that prevent the model from represen ting all features of the process.
In normal process identification experim ents it is the high-fre quency
part of
the model which is usually in greatest error. This is the process /model
mismatc h problem . In this situation, the robust stability of a control system
depends on how sensitive the control system design is to model inadequacy.
In practice, one finds that the variability factor lfl(s) resulting from process
identification experim ents has the general shape shown in Figure 29.10. Note
that the variabili ty factor is close to unity until the failure frequency m1
is
ental data are inadequ ate to
reached. Above this frequency, the experim
identify reliable model paramete rs. If this failure frequenc y is well beyond
for
the crossover frequency m1 >>m,, then obviously the model will be adequate
, if the failure frequenc y is dose to
conventi onal control system design; however
OJc, then control systems designed using the model may lead to serious stability
problems. We shall discuss some possible remedies for this problem below.
SPECIAL CONTROL TOPICS
1074 .
l'l'(s)l
/
~====::::---1
\
1.0
Ill--
L'l'(s)
(29.13)
f.<
Thus we choooe the radius t») large enough to encom
pass the exact shape
ted variat ions in g(s) shown in Figures 29.9 and
g(jt»). Note that ~r the expec
29.10, the radius 14 ((J)) as a fraction of gm shoul I Id be relatively small at low
freque ncies. Hence:
frequencies and increase dramatically at larger
-l ((J)) T.c ro>
= .,.........::..:......;....,. (29.14)
m - lcmU(J)>I
Q)
-
passing disk size I 4 { ro) as a fraction of
Figure 29.11. Frequency dependence of the encom
the nominal process lgm(jm} I.
TROL 1075
IN ADVANCED PROCESS CON
CHAP 29 SELECTED TOPICS
ure 29.11. Note
endent behavior sho wn in Fig
should have the frequency-dep var iab ility factor IJI(jm),
Eqs. (29.13) and (29.14) tha t in terms of the
from
Tm(m) mu st satisfy:
·
(29.15)
Ro bu st Controller Design
and of mo del
effects of process var iab ility
With this bac kgr oun d on the r how one des ign s a controller
position to conside
uncertainty, we are now in a m Fig ure 29.7, we
ance and robust stability. Fro
THAT provides good perform gai n to imp rov e the
pro por tion al con trol ler
recall· tha t inc rea sin g the ity. How eve r, the re is one factor
ess to instabil
performance reduces the robustn lly, goo d con trol
trade-off somewhat. Genera
tha t allows us to improve this at low freq uen cies onl y.
hig h controller gains
sys tem performance requires ine d by the con trol ler gain near
ility is determ
Conversely, the question of stab response of our
uen cy. Thu s, if we could shape the frequency
the crossover freq uen cies and a sharp
h controller gains at low freq
controller so as to provide hig cy is app roa che d, we could
in con trol ler gain as the crossover frequen
red uct ion our controller.
ance and robust stability from
the n guarantee both high perform 29.1 2.
This would correspond to the
curved balance beam in Figure
des ign a rob ust PI con trol ler for the system
To illustrate this po~t, let us giv en by Eq. (29.12). Let us
9) wit h ·the var iability factor 'l'(s)
giv en by Eq. (29. the controller so
ent weighting function W(s) in
intr odu ce a frequency-depend
tha t:
(29.16)
uency in order to
like W(s) to red uce the controller gain at high freq
We wo uld !J.a. This means
wo rst parameter variations !J.K,
gua ran tee stability und er the in Figure 29.13, so
a Bode plot of the type sho wn
tha t ideally W(s) should have h frequencies.
phase angle increases at hig
tha t the gain drops off and the
f. ~
II
~ ~
~
~
j
~ $
Po.
s il
s 5.
~
"ll
.!!
!
8
·~"I
1.0
., ~I
'"· · I .,
j
Figur e 29.13. Ideal form of contr oller
weighting to achieve high perfo rman ce
frequencies and robus t stability at high frequ at low
encies.
Ther e are diffi culti es in impl emen ting
this ideal cont rolle r weig hting
because simple forms such as:
efi.,s
W(s) = (-r,.s + l)" (29.17)
whos e Bode plots have the desir ed shap
e, are not causal. How ever , there are
convenient appr oxim ation s such as:
(29.1&a)
or
Let us suppose that K = 5, t = 5, and a = 5 in the process given by Eq. (29 .9). If we
allow AK = ±1 and Lia = ±2, then the process variability has already been plotted in
Figures 29.6, 29.8, and 29.9. It can be shown that if we choose W(s) to be of the form:
W: · 5s+l
(s) = 5 s + I + 2(1 - e- 5 •) (29.19)
then W(s) will have the frequency response shown in Figure 29.14. This is similar to
the ideal form in Figure 29.13 for frequencies w < 0.5.
The overall control scheme for the robust controller is represented in Figure 29.15.
The actual process is given by the model g (s) combined with the variability factor as
in Eq. (29.11). In a similar way, the controller is a combination of a PI controller and
the input weighting function W(s) as in Eq. (29.16).
For the W(s) chosen (Eq. (29.19)), the Bode plot shown in Figure 29.14 is not as
effective in decreasing amplitude and increasing phase lag at high frequencies as the
idealized form in Figure 29.13. Nevertheless, as we shall see, it does decrease the
process gain and phase lag in the region close to the critical frequency that aids both
performance and stability.
To see the loop shaping effect, the nominal (lfl(s) = 1) ueffective" process Km(s) W(s)
seen by the PI controller has the Bode plot shown in Figure 29.16 for W(s) =1 and for
W(s) give11 by Eq. (29.17). Note how much the amplitude ratio has decreased at
llJc. In fact; 'the gain margin has gone from 0.45 for the uncompensated plant to 1.18 for
the compensated,plant. This should allow the PI controller gain to be much lower for
the same performance or the gain to be increased to improve performance with no
cieterioration in robust stability.
To illustrate the control system performance the closed-loop step response of the
nominal plant, Eq. (29.9), with uncompensated PI controller (W(s) = 1) tuned optimally
to minimize Integral Time Squared Error (ITSE) for Km<s) is shown in Figure 29.17(a).
The corresponding step responses are shown in Figure 29.17(b) for the PI controller
tuned "manually" when the plant is Km(s) W(s) with W(s) given by Eq. (29.19). Note
that for this "nominal" plant with no parameter variations, compensation with W(s)
given by Eq. (29.19) gives much better performance as expected. However, one must test
the effect of parameter variations on the control system.
Process g(s)
r - - -- r -- - - - I
I Nominal
Process
y
L - - - - - - _] L - - - _I
l
Figure 29.15. Block diagram for a robust controller Kc(s) consisting of a PI controller and
input weighting, W(s). The process consists of the nominal process, Km(s),
and the variability factor 'l'(s).
SPECIAL CONTROL TOPICS
1078
10
: ---- - •••• gm (s)
~
IW(s )gm( s)l
W (s)g0
~ ··········z;_
lgm (s)l .....____.,
1
:
'I
1
10-3
~~~---------.
0~--------~~~~==
LW( s)g111 (s)
~
------r----~~~
Lgm (s)
~ ~00~--------~r----
J
1
-loop frequency
pensated and uncompensated open
Figu re 29.16. Bode plots of the com gm(s).
response of the nominal plot, W(s)
Nominal
1.25 •
1.00
0.75
0.50
0.26
0.00
30 40 50
0 10 20
er PI control
onse for the process in Eq. (29.9) und
Figu re 29.17. Closed~loop step resp mpensat ed cont rolle r tuned to be
with no parameter variations: (a) unco 6); (b) com pensated
1/r =
ITSE optimal for W(s) = l(K, = 0.18
4, 1 0.12
response whe n W(s) is given by
controller tuned "manually" for good
Eq. (29.19)(Kc = 0.45, l/r1 = 0.06).
CONTROL 1079
IN ADVANCED PROCESS
CHAP 29 SELECTED TOPICS
2.0 AK= l,ll a.= 2
1.5
y 1.0
0.5
40 50
20 30
0 10 t
control
cess in Eq. (29.9) und er PI
ure 29.18. Clo sed -loo p step response for the pro = 2; tun ing as in Fig ures
Fig ons AK = 1, Aa
wit h par am ete r var iati
29.17(a) and (b).
30 40 50
10 20
0 t
0
LW(s)gm (s)
...."'
~ -200
.
"'.,
g::
-400
10--1
(I)
Figure 29.20. Open-loop frequency response of the compensated plant for various
process parameter variations.
For parameter variations that cause the plant to be less stable (M< = 1, 11a =2), the
two closed-loop step responses are shown in Figure 29.18. By contrast, parameter
variations that cause the plant to be more sluggish (M< =-1, 11a =-2) are applied and
the two closed-loop responses shown in Figure 29.19. Observe that the performance of
the compensated PI controller is noticeably better for all parameter variations. Thus
the compensator chosen has indeed improved both performance and robust stability
when the process gain varies by 20% and the process time delay changes by 40%. The
reason can be seen from the Bode plots of the compensated process shown in Figure
29.20. In addition to the fact that the amplitude ratio is reduced by the compensator
close to the critical frequency me there is another valuable feature. Close to the critical
frequency me there is some significant variation in phase lag with parameter
variations, but the amplitude ratio is relatively flat. Thus there is robust stability for
reasonably large process parameter variations.
Although there are many possible choices for weighting functions W(s) and
optimization methods can be used to find good ones, the choice we made in Eq. (29.19)
was found by using the equations for a Smith Predictor linked to a proportional
controller. This turns out to have the very nice properties noted above.
y = G(s)u
where
y = [~:]' u = [:J
K II e-«u• K 12e-a,.,s]
[ -r11 s + I 'rl2S + I
G(s) = K22e-«tt'
(29.20)
K2Je-«:.••
-r21 s + I 'rzzs + I
As compared with the SISO system in Eq. (29.9), where everything could be
represented by a Bode or Nyquist plot, this MIMO system has four elements
gr (s), each one with a different frequency response. Thus, in order to design a
MIMO controller G c (as shown in Figure 29.21) that will achieve good
performance and robust stability for this system, more complex methods must be
applied.
In keeping with the concept of shaping the frequency response of the control
Gc- Doyle and Stein [5] proposed the use of the singular values to construct a
Bode-like plot for a MIMO system. Recall from Chapter 22 and Appendix D
that the singular values of a matrix may be defined as the positive square root
of the eigenvalues of the product G 8 G where G 8 is the complex conjugate
transpose of G -termed the ~ermitian of G. That is:
Thus there are N singular values for an N x N matrix, and the largest and
smallest of the singular values provide norms for the matrix G(s):
(29.23)
-~I
.. y
of the sensitivity of
, is often used as a measure
know.n as the condition number sib le control structures
fact, when evaluating pos
the process to uncertainty. In var iab le to eliminate highly
MIM O sys tem s, K can be use d as a screening
for
sensitive structures. servatism of the singular val
ue analysis that
To overcome some of the con ) (ev en, for example,
over all elements of G(s
averages the model uncertainty g (s) per hap s ver y poorly),
mig ht be kno wn very precisely and 12
wh en g (s) " and the concept of
of the "structured nncertainty
11
Doyle [6, 7] proposed the use as oth er ideas are
Designs using these as well
"str uct ure d singular values." tun ately, the cur ren t
and Zafiriou [4]. Unfor
discussed in detail by Morari tem s stil l pro duc e rather
rob ust con trol ler design for MIMO sys
approa che s for mance is not the best.
ults in ma ny cases so that controller perfor
con serv ativ e res ng sha rpe r analysis
ains to be don e in ord er to bri
Thus, important research rem ails of stru ctu re can
lag information and more det
to the problem so that phase
.
be used in the controller design
OF IL ES - DISTRIBUTED
29.3 CONTROL OF SPATIAL PR S
ER
PARAMETER CONTROLL
we have assumed
disc uss ion of control problems to this point,
Thr oug hou t our ns of time. However,
asurements were only fnnctio
that all states, inputs, and me iables are functions
ms for which the process var
there are process control proble tall urgical processing
as· ~e. For example, in me
of position in space as well tal slab s and sheets there
stee l, alu min um ; or oth er types of me
operati ons for in the metal. Figure
pro per temperature profile
are furnaces for creating the ire d lon git udi nal
one furnace in wh ich a des
29. 24 sho ws a typical 3-z ula tion of the firing
imposed on the slab by manip
temperature profile is to be e ope rati ons the slab is
ivid ual zon es of the furnace. In som
rates in the ind g through the furnace
it is a continuous strip movin
motionless, and in some cases opt ica l pyr om ete r
t the re are con tin uou s
wit h vel oci ty v. No te tha furn ace. Figure 29.25
at five fixed positions in the
measurements of temperature and an act ual tem per atu re
tes the des ired set- poi nt temperature profile
illustra d controller.
e through application of a goo
profile history tha t could aris del for the pro ces s wo uld be in the
riate mo
For this problem, the approp
ations of the form:
form of partial differential equ
ox(z. t)
iJt = a az2 az. t) + {Jx(z, t) + u(z. t) ; 0
o2x(z. t) + v ox(z s: z :;; L (29.26)
11111111111111.1111111111111.11111111111111
Figure 29.24. Heating of a metal slab in a 3-zone furnace having 5 temperature sensors.
Here a is a thermal conduction parameter, u.is the velocity of the slab through
the furnace, f3 represents the convective cooling heat transfer coefficient, and
u(z,t) is the radiant heat flux from the three zones of the furnace. The
boundary conditions Eq. (29.27) indicate that there is negligible heat transfer
from the ends of the slab. The measurements are taken at five points Z; where
the optical sensors are located:
Physical System
t-0.20
1.0
Temp Sensors
0.8 ! r r r1 tc 0.05
... .. -------·
I Metal Slab
~ ...
..• .
0.6 jlllllllllllllll lll
y(z,t) Heating Zones
t=0.02.
_............... ---
0.4 . -·
t=O.Ol
.......... --------·--
0.2 ......... -... -··
___ ... ..... -
0.0
Figure 29.25. Control of the temperature profile of a slab moving through the 3-zone
furnace. Start-up from a cold slab.
CHAP 29 SELECTED TOPICS IN ADVANCED PROCESS CONTROL 1085
u 1(t); 0 ~z~~
u3(t); 2L <
3 - z <- L
1. The simple- minded approac h: Forget that there are spatial profiles
and simply design a MIMO controller that adjusts u 1, u 2, u 3 in order to
bring the five measure ments, Y;(t), to their set-poin t. This approac h
will work for some problems, but will not in general give the best results
because so much information about the spatial structure is neglected.
2. The more enlighte ned approach : Plan to use all the informat ion at hand
to design a distributed parameter controller that will control spatial
profiles. There are several ways in which this mjly be done (see Ref. [1]
for a discussio n). If the model equation and paramet ers (such as
Eqs. (29.26- 29.29)) are known, then the first principle s PDE model may
be used to design the controll er (see Ref. [1] for some example s).
Alternat ively, if the model equation s are unknow n, then a spatially
distribut ed transfer function model of the form:
t
II (where <Y;(s) is the singular value and W;, V; are right and left singular
functions) may be obtained from experim ent. Recent work (Refs. [8, 9])
has shown how this approac h to modelin g captures all of the spatial
structure of the distribu ted system and allows high-qua lity control
systems to be designed after a few process identification experiments. To
illustrate the perform ance of such an approach , the start-up of a slab
furnace was carried out with a controller of this type, and the results are
shown in Figure 29.25.
of
Another case where the control of spatial profiles is importan t is the control
concentr ation and tempera ture profiles in a tubular reactor. This singular
[9])
function approach has been shown to perform well in this case also (cf. Ref.
1086 SPECIAL CONTROL TOPICS
Level II: At the second level, mid- and long-term (e.g., 1 month, 3 month, 6
month, 1 year) economic scheduling is carried out using optimization and
optimal scheduling algorithms. This scheduling uses geographic market
Figure 29.26. The multilevel nature of process operations for an oil refining company
(adapted from Ref. [10]).
1087
OCESS CONTROL
PICS IN ADVANCED PR
CHAP 29 SELECTED TO
ete rs, cru de oil
tio ns, ref inery models, cost pa ram
forecasts, we ath er pre dic the refineries for varying
du cti on schedules for each of
shipment s, etc., to set pro edules wo uld call for
int o the fut ure . For example, these sch he ati ng oil
time pe rio ds
on rat es in the summer an d higher ho me
higher gasoline pro du cti facture of these
r wh ile op tim ally allocating the manu
production in the wi nte an op tim al pro du cti on
va rio us refineries. In this way,
pro du cts am on g the eters suc h as cru de oil
le for eac h ref ine ry is generated. Because param pa ram ete rs change
schedu refinery
ma rke t forecasts, an d
prices an d availability, rev ise d on a weekly to mo nth ly basis.
les have to be
frequently, these schedu
led ste ad y-s tat e an d
s lev el, one begins to use detai
Le ve l III : At thi ind ivi du al process units
del s to optimize the operation of
dynam ic pro ces s mo ents coming from Level ll.
the par am ete rs an d production requirem ject to catalyst
bas ed on
pip est ills , cat alytic reforming un its sub
Thus, mu ltip rod uc t ized so as to meet
cra cki ng operations are all optim
deactivation , an d cat aly tic This pro du ces the set-
du cti on sch ed ule s in the mo st efficient way.
the pro le.
it during the scheduling cyc
points for each process un
s I-m , Level IV is
the op tim iza tion completed in Level
Level IV : Wi th cess control schemes
mo re sop histicated advanced pro el
use d to im ple me nt the -points to the lower lev
ing mu ltiv ari abl e con troL These provide set
includ
loops.
an d maintained.
el, ind ivi du al control loops are tun ed
Level V: At thi s lev l system or through
ple me nte d via a distributed contro
These loo ps ma y be im It is at this level that an
du al ana log or dig ita l controller hardware.
ind ivi ial.
trol system design is essent
understanding of SISO con
VII) consists of the
int erf ace wi th the pla nt (Level
Level VI : Th e fin al ors suc h as valves,
nts for me asu rin g pro cess variables an d actuat
ins tru me
ou t control action.
motors, etc., for carrying
only discussed
ll pic tur e of pro cess operation, we ha ve
From this ov era have presented a few
de pth in this book; however, we
Levels V an d VI in an y tha t wo uld no rm all y be
les of ad va nc ed pro cess control strategies
examp
implemented at Level IV. off-line an d
tio n car rie d ou t at Level m can be do ne
The process op tim iza alternatively can be
tes to Le vel IV from time to time, or
mu st only pro vid e up da da ys for significant
e wi th a timescale of ho urs to
im ple me nte d in rea l tim timization methods are
s to Le vel IV. A wide variety of op ,
chang es in set -po int of nonlinear programming
d, inc lud ing lin ear pro gramming, various forms ds. A sur vey of suc h
use n metho
an d dynamic optimizatio
pe ak seeking algorithms, -13 ].
Refs. [11 olve mixed Linear,
methods ma yb e found in tas ks of Level ll often inv
uli ng
The eco no mi c sch ed nted off-line an d the n
ne ar Pro gra ms. These are impleme ntrol
Integer, an d No nli . These ap pe ar to the co
vid e up da ted pa ram eters to the lower levels sys tem de sig n mu st
pro ba nc es tha t the control
ic" dis tur
sys tem as "econom found in Refs. [13-14].
iew of these ideas may be
accommodate. An overv
I
1088
SPECIAL CONTROL TOPICS
29.5 CON TRO L IN THE FACE OF COM PON ENT
ABNORMALITY DETECTION, ALARM FAI LUR E-
INTE RPR ETA TION , AND CRISIS MAN AGE
MEN T
In all of our discu ssion s of contr ol syste m
desig n, we have assum ed that all
senso rs work ed, actua tors did not fail, and electr
ic powe r outag es did not cause
pump s and compressors to stop, i.e., we designed
our control systems for norm al
opera tion. Howe ver, an increasingly impo rtant
aspect of control syste m desig n
is to desig n contr ol strategies for contingencies
such as senso r failure, sticking
valve s, burnt -out moto rs, electric powe r outag
es, and other possi ble but rare
occurrences. The princ ipal goals of such crisis
control schemes are to maint ain
safe process opera tion, to minimize the risk of
envir onme ntal pollu tion, to take
short -term meas ures to mitig ate the effects of
the failure, and to ident ify those
steps necessary to restor e norm al operation.
From the accounts of badly mana ged crises in
the past, we are all aware of
the catas troph ic consequences of a major explo
sion and fire, and the impac t of
the releas e of toxic or pollu ting materials into
the environment. Howe ver, even
a mino r event not felt outsid e the process unit
can dama ge a process so severely
as to put it out of opera tion for many months.
Thus prope r response to only one
such event can save lives, jobs, and the econo
mic healt h of the organ izatio n.
Clear ly, crisis contr ol schem es are an impo rtant
part of process contr ol syste m
desig n.
Some aspects of a crisis control scheme woul d be:
Obviously, the design and implementation of such crisis control schemes require
a good knowledge of the process so as to be able to determine all possible
combinations of failures, their detection and alarm structure, and the
appropriate countermeasures in each case. The development of the
methodology and software for these control systems is a subject of current
research and development in the field of Artificial Intelligence. See Refs. [15,
16] for an overview.
------~F---~~Yn
input hidden output
nodes layer nodes
(b)
1.0
f{x)
ot:::::=:===:::___ _ _ __
X
Interconnection
Network
(a)
Memory I
Memory I Interconnection
Network
(b)
30
PR OC ESS CO NT RO L SYS TEM
SYN TH ESI S - SO ME CA SE STU DIE S
10Q7
1098 SPECIAL CONTROL TOPICs
yed in industry
The sheer numb er and variety of distillation columns emplo
t an infinit e variet y of contro l system design
mean s that there is almos
the types of problems
problems. In the next few sections we shall try to descn be
strateg ies that can be applied.
that arise and discuss some of the controller
brief; howev er, the bread th and depth of
Necessarily the discussion must be in this
furthe r by consu lting the enorm ous literat ure
this topic can be explored
22].
field. Some good starting points are Refs. [2, 6, 11, 12, 16,
I
,.
.'I
1100
SPECIAL CONTROL TOPics
Cl
and lighter C2
Low-purity
ethylene
High-pu rity
ethylene
C3
and
heavier
ClColw nn C2/C3 Splitter C2 Olefin/Paraflin Splitter
3. The process does not have good sensors. It is a common problem that not all
stream composition measurements are available on-line; in some cases samples
must be sent to the laboratory so that there are long delays in receiving
measurement results. The usual solution is to implement some type of
inferential control scheme or one based on a composition estimator. The
inferential control scheme involves cascade control in which a secondary on-
line measurement (such as the temperature on a particular tray) is used as the
output being controlled in the inner cascade loop. The outer cascade loop then
resets the tray temperature set-point based on the slower stream composition
measurements. An alternative scheme involves estimating the composition
from other secondary measurements and the process model. Both strategies
have been successful in practice.
D
Overhead
Product
ul Yt
FC
E Sidestream
Product
Steam
Bottoms Product
Figure 30.3. A 19-tray distillation column for the separation of ethanol and water.
I~ :
1102 SPECIAL CONTROL TOPICS
30.1.4 An Example
ghtf orw ard disti llati on cont rol syste
As an illus trati on of a relat ively strai
scale distillation colu mn used for thm
desi gn problem, cons ider the 19-tray pilot
d in Section 13.5. The column, sho wn;
sepa ratio n of etha nol/ wate r discusse for
m, and bott oms prod ucts ; how ever ,
Figu re 30.3, has over head , side strea and botto ms
in controlling the over head
simplicity here, we are only interested nt beca use it is the
prod uct is imp orta
prod ucts . Close control of the over head of the etha nol cont ent in the
e control
feed to othe r high er puri ty columns, whil to a final etha nol clean -up
mate rial
bott oms is imp orta nt beca use it is feed
dela ys, the over head com posi tion is
colu mn. In orde r to avoi d analysis
eter . Unf ortu nate ly, the bott oms
mea sure d with an on-l ine dens itom
the dens itom eter has larg e relative
com posi tion is so low in etha nol that
and an inferential control scheme mus t
errors. In this case the sensor is useless,
cont ent of the bott oms is accurately
be used . It is know n that the etha nol
om tray (Tray #19) of the column as
corr elate d to the temp eratu re of the bott
eratu re is a surr ogat e for the bottoms
show n in Figure 30.4. Thus Tray 19 temp
com posi tion variable.
ng data from the distillation column
As discussed in Section 13.5, puls e testi
of the form
leads to a linear transfer function mod el
y(s) = G(s) u(s)
whe re
= ethanol in overhead]
[YI(s)J = [mole fractiontemp
y Y2(s) Tray 19 erat ure- oc
100
§
"' Steady state
~ 90
......
"'"
~a-
~~
80 3.0
0 1.0 2.0
(30.3)
s. The matrix D is
ign parameters for the proces
The matrices Gr and D are des del ays to some of the
apter 22 where we mu st add
the sam e as discussed in Ch Fol low ing the pro ced ure
to ens ure cau sali ty in our control system.
inp uts
that
outlined in Chapter 22, we see
~ e-~.6s
(30.4)
D = [ ]
matrix G r is
t the con trol sys tem is causal. The des ign of the
will ens ure tha . For example, if we
ltidelay compensator desired
determined by the type of mu choose Gr to be the
e performance, then we wo uld
wish to ensure the best possibl d out (see Ref. [8] for
st delay in each row factore
same as GD wit h the smalle
the result is
design details). In this case,
0.66 -0.0049 ]
6.1 s + I 9.0 6s + 1
[ (30.5)
GF = -34 .7e-6.6s 0.8 7 (ll. 6s + 1)
5s+ l
8.1 (3.8 9s + l) (18 .8s + l)
mn.
stru ctur e for the distillation colu
Fig ure 30.5. The multidelay compensator
II ; '
',.,
1104
SPECIAL CONTROL TOPICS
''i
0.700 \ ·:,
Yt 0.675
0.650
I I I
0 20 I
40 60 80 100
93.0
(\.
Y2
92.5
I\
: \
92.0 .....J'c:. ....'\_ /·'.··..
91.5
I
0 20 40 60 80 100
TIME (MIN )
Fig ure 30.6. Res pon se of dist illat ion colu
mn to a set- poin t cha nge of
fraction etha nol in ove rhea d -Q.035 mole
composition. ··-·-··- set- poin ts;-
on ly; -- PI with multidelay - - PI control
compensator of Jerome [8].
Imp lem ent atio n of this design
can lead to extremely goo d resu
the sim ulat ion tests sho wn in lts as sho wn by
Figure 30.6.
Earlier ver sion s of the mu ltid
elay com pen sato r wer e test ed
on the actu al dist illa tion col experimentally
um n of Figure 30.3 and sho wed
com par ed to PI control. For excellent results
example, if we let D == I (no dela
Gp be the sam e as G wit ys add ed) and let
h all del ays removed, the n the
rem ove d from the clo sed -loo dela ys are completely
p cha ract eris tic equ atio n of
the sys tem . An
z 0.75 1
n=_ ~
0 0.60 -1-- -r--- ,..-rr ---r- -rj
-20 0
.- ·--- -·-.. e: .._.. ,· .....
--.--r,-.--...,.,-..-.,,.--...,--l
c
20 40 60 80 100
TIME(hUN)
Fig ure 30.7. Experimental response to a set-
point change in overhead composi
-w ith the delay compensato tion.
r; ....... with multiloop PI only.
CHAP 30 CONTROL SYSTEM CASE STUDIES 1105
example of the experimental results when a set-point change is made in the
overhead composition is shown in Figure 30.7. Further experimental results
may be found in Ref. [14].
In this example we were required to deal with process time delays, loop
interactions, and the lack of an on-line sensor for bottoms composition.
However, these difficulties were overcome, and the final control system design
gave excellent results [8, 14].
We have only scratched the surface here in discussing distillation control
problems. There are promising new strategies (e.g., [9, 26]) and a host of special
situations which we have not been able to mention. However, the references
cited here provide a starting point for further study.
• T (z,r,t)
'1 (z,r,t)
(b)
T
C;
Tr
0
z_..,.. L
z-
T
,· .....
·. I • •
I
~
• •• ·-.
·--- ..... __ :Tl ·- ... _____ :T2 ·------- --- Ta
I '
• Exothermic reactor
0
z L
Tim e= 0.2
Syst em inpu ts
Methanol
Feed Feed
Temp 523.0
Meth 0.0500
Rate 1.400
Oil jack et
Temp 523.0
Prod uct
J
oa Temp 535.9
. c Meth 0.0337
iek co 0.0508
Form 0.9156
t
Temp #7 535.9
m #7 o.o5os
GC #7 0.9156
The first issue involves the choice of manipulate d variables. From the
available alternative s:
Tf Feed temperatur e
Tc Jacket temperatur e
F Feedrate
YmJ - Methanol feed mole fraction
the best choice for inputs seem to be T, and T1 . Both feedrate F and feed
compositio n Ymt affect production rate but are often constrained by upstream or
downstream units. Thus we will consider them disturbance inputs.
The choice of outputs must be made from the available sensors and sensor
locations. For example, one might have the possibility of placing sensors at one
or more of the seven positions denoted by 10 em increments along the bed (cf.
Figure 30.11). Thus with the analytical instrument ation noted above, the
possible outputs could be
600
0 70 0 70
1.0 Formaldehyde 0.4 co
0.5 0.2
0 70 0 70
Figure 30.11. Typical axial profiles of temperature and composition; sensors may be
located at 10, 20, 30, 40, 50, 60, or 70 em along the bed.
1110 SPECIAL CONTROL TOPICS
Ym(Zj*,l:t,-12.5)
Figure 30.12. Cascade control schemes for packed bed reactor control.
Thus T1 is often a secondary manipula ted variable in packed bed reactor control.
l.OOr------------,
320
-----;--;·-----· 260 ~~~-
255/
250
T....
245 ~~. .
i --
Estimate
Set-point T-n
Set-point
I 0 5 10 15 0 5 10 15
Time(min) Time(min)
(a) (b)
350 270
265
340
6 260
'--
330
I 320
..
'
r'
' 255
! 310
~
~,"-- Tmax
- - - Estimate
Set-point
250
245
T...ul
Set-point
/
300 240
0 10 20 30 0 10 20 30
Time(min) Time(min)
li. 5. In the present design, we shall use only exit concentrati ons of
l Ym, Yeo every 12.5 minutes, but shall use all available temperatur e
sensors sampled rapidly. The concentrati on samples will be fed to
J ' the special YF controller in order to adjust the value of Twan every
12.5 minutes. Since the time required to move from one ·~eactor
steady state to another is 6-8 min, the outer loop in Figure 30.12 is
1: basically for steady-state control.
6. The first inner loop controlling T max makes use of more frequent
temperatur e profile measureme nts, and these are used to estimate
! ' T max· This can be done by auctioneeri ng control (cf. Chapter 16) or
'' by simple polynomial interpolatio n between the measureme nts.
Care must be taken not to tune this loop too tightly or it will run
Ii faster than the next inner control loop - poor practice for cascade
II control.
II!
'1:
(a)
<l
1 ..
-~
0.4
0.3
~ 0 r:>.
] ~ 0.2
<l
-1
lF ~.
.!!
0.1
~r:>.
-2
0
0
-3 0 -0.1
-4 -0.2
0 10 20 30 0 10 20 30
Time(min) Time(min)
(b)
Methanol Carbon monllllide
1.0 0.05
~.,
1ii
<l
.2 0.9 0.04
r!
~
8
iii 0.8 0.03
)! § o Data o Data
·I
t
'
1 -Estimates -Estimates
7. The last inner loop regulates the jacket wall temperature and is the
fastest of the three loops. It is not instantaneous because of the
thermal capacitance of the reactor externals and limited
heating/ cooling power.
This control scheme has been applied to an experimental reactor (d. Refs.
[27-29]) and has performed quite well. To illustrate, Figure 30.14 shows how
T max and T wan respond to a set-point change in T max· When the special
optimizing controller was added (d. Ref. [29]), Figures 30.15 and 30.16 show
how the maximized yield of formaldehyde was achieved from cold startup in
about 10 minutes.
Although we have been able to mention only some of the key issues in catalytic
packed bed reactor control and provide one experimental example, it is hoped
that the reader will have a glimpse of the challenges involved in designing
control schemes for this class of processes. Much more can be found in the
literature cited in Refs. [24, 25, 27-291 for those interested in reading further.
Purge
Hold Tank
Monomer(a)
Monomer(b)
'
Inhibitor (z) l
·~~-~ ~- -~~ ·-·----- -~!
Polymer, Initiator, Transfer Agent
I
Figure 30.17. Copolymerization reactor with recycle.
SPECIAL CONTROL TOPICS
1114
macr omol ecula r struc ture and the
sell for arou nd one dolla r per kg. The
are large ly deter mine d by the kinetic
mate rial prop erties of these prod ucts
eriza tion reactor. Thus a detai led
mech anism and the opera tion of the polym
processes is the key to the efficient
unde rstan ding and close contr ol of these
red poly mers with mini mal oper ating
prod uctio n of high -qua lity, tailo
in gaini ng this unde rstan ding and
problems. One of the most impo rtant tools
polym eriza tion process modeL
achieving good control of the process is the
The second essen tial elem ent requ ired for good polym eriza tion process
rs and good process moni torin g
contr ol is an adeq uate array of proce ss senso
with good mode ls, to have long-
algor ithms . It is extre mely difficult, even
ce witho ut adeq uate meas urem ents
term, high-quality control system perfo rman
and good process monitoring.
efficient opera tion of a process
The final element in achieving the safe and
uct, is good control system design.
whic h yields uniform, high- quali ty prod
of the issue s invo lved in creat ing these three
A detai led discu ssion
18-21]. Here we shall only be able
essential elements may be found in Refs. [4, rd/fe edba ck control
ning a feedf orwa
to discuss a particular case study of desig
on proce ss. .
syste m for a solution copolymerizati
, consists of a conti nuou s stirre d
The process of interest, show n in Figure 30.17
on of meth ylme thacr ylate (MM A)
tank react or (CSTR) for the copo lyme rizati
to a sepa rator with recycle of unre acted
and vinyl aceta te (VA) coup led
mono mer A and VA as mono mer B.
mono mer and solvent. Let us denote MMA as
n are given in Ref. [4].
Many of the details of this contr ol syste m desig syste m is requi red that perfo rms
The basic control probl em is that a contr ol
es and can quickly achieve set-p oint
well in rejecting feed or recycle distu rbanc
from one prod uct grad e to anoth er. The
chan ges when there is a trans ition
ls of the nonli near model), but it is
process is nonlinear (see Ref. [4] for the detai
be adeq uate for contr ol syste m
thou ght that appro xima te linea r mode ls may
feedf orwa rd contr ol to adjus t the fresh
design. The control strate gy is to use
recycle composition can be corre cted
feedrates to ensur e that distu rbanc es in the
Gar Yap
Gir Mpw
process.
Figur e 30.18. Inputs and outputs of solution polymerization
Inputs
Monomer A (MMA) feedrate Gaf =18 kg/h r
Monomer B (VAc) feedrate Gl!f=90kg/hr
Gif= 0.18 kg/h r
Initia tor (AIBN) feedrate
Gsr= 36 kg/h r
Solvent (Benzene) feedrate
Gtf= 2.7 kg/h r
Chai n trans fer (Acetaldehyde) feedr ate
Inhib itor (m-DNB) feedr ate Gif=O
1j=336.15K
Reactor jacket temp eratu re
Trt= 353.15 K
Reactor feed temperature
~=0.05
Purg e ratio
Reactor Parameters
V,= 1m3
Reactor volume
S,:4 .6m2
Reactor heat transfer area
Outputs
Gpi = 23.3 kg/h r
Polymer production rate
Mole fraction of A in polymer Y.P =0.56
Weig ht avera ge molecular weight Mpw=35,000
T, "' 353.01 K
Reactor temp eratu re
1116 SPECIAL CONTROL TOPICS
obtain acceptable steady-state values for the output variables. The steady-
state operating conditions are summarized in Table 2. Under these conditions,
the reactor residence time is 9, = 6 hr and the overall reactor monomer
conversion is 20%. These operating conditions ensure that the viscosity of the
reaction medium remains moderate. Table 2 also indicates that the reactor feed
temperature T1 is practically equal to the reactor temperature Tr , because we
have chosen to simulate reactor operation with a preheated feed where the
sole source of heat removal is through the jacket
28
';:; .65
~ 26 0.
;..~ .6
~a. 24
----- ------ -
22 .55
.5
1: 10 20 30 40 50 0 10 20 30 40 50
II· 't 't
I'
i" Reactor Temperature
I'
I•
Molecular Weight
360
5
,.H
ji
0
358
~4 g 356
0
:::. E-<~ 354
\.a
:::<: 352
2
0 10 20 30 40 50 10 20 30 40 50
't 't
~. api
a., Yap
air Mp..
atr ProceBS Tr
TJ
a.,
~
-
iG"..
Figure 30.20. Solution polymerization process with feedforward control on recycle
stream.
SPECIAL CONTROL TOPICS
2118
Process
Inpu ts
Tab le3. Process Tran sfer Function for Flow
I""" +-
Gbf
~"""c+.-
P•
G~
+
Yap
= [AB CD E] Gif
M;w Tif
._r;_
._Tj-
c D E
A B
6.459~0.899686 + 1}
0.34063 0.20527 0.49882(0.498498 + 1} 0 0.06573982 + 0.2970& + 1
0.41 95s+ l 0.1242.UZ + 0.402426 + 1
0.849425+ 1
-0.29677
-3.7235
-0.41613 0.66018 0 0.795905+1
1.5098s + 1 1.4471s+ 1
2412 7s+l
-0.19626 -4.7145
0.49084 -0.71493
0.29682
1.3517s+ 1 2.7110s+ 1 0.075213fl + 0.40?98s + 1
2544 7s+ 1 1.54435 + 1
1.0252!0.22710s + 1}
0 0 o.onnzsl + 0.30978s + 1
0 0
1119
CHAP 30 CONTROL SYSTEM CASE STUDIES
*Controller reset time 'C; is reported as a fraction of the reactor residence time.
CHAP 30 CONTROL SYSTEM CASE STUDIES 1121
24. Polymerization Rate .7 Polymer Composition
.65
~
c. 23.5 ><r; .6
0s.
.55
23. .5
0 5 10 15 20 0 5 10 15 20
~
:a
~ ~
;:;.353
::E1
3. 352-l--+--1'--+----11-+--+-+---1
0 5 10 15 20 0 5 10 15 20
~ ~
';:;' 1-----.---------
~
ti 23 ><~ .55
r!
22 .5 -1-~1---+--1---l--+---1--+--~
0 5 10 15 20 0 5 10 15 20
't ~
:a
~
0 3.5 ~ 353
:::. E-<
j
3. 352
0 5 10 15 20 0 5 10 15 20
~ 't
The first issue is clearly critical, since it is difficult to control what cannot be
measured. Thus the development of reliable on-line sensors and analyzers for
polymer reactors has been rec~iving much attention (d., for example, Ref. [4],
for a review). However, continuous on-line monitoring of polymer properties
has not yet become a widely applicable, commercially viable option; to be
effective, many real-time polymer reactor control strategies must still rely on
fundamental models capable of predicting the required polymer properties on-
line (d. Refs. [1, 5, 9]). The remainder of this section is devoted to discussing
the design, implementation, and performance ~f a control system developed for
an industrial polymerizatio n reactor.
SECOND TIER
(Reactor Product Control)
Production Rate and Product Properties
PRODUCT
CHARACTERISTICS
REACTOR
CONTENTS - Production
TARGETS Rate,
·Polymer
Composition
FIRST TIER Y~,o Ya, Yc
(Reactor Contente Control) - Viscosity
J
- etc.
REACTOR
CONTENTS
:··i.Mr:a··: ANALYSIS
: Rx Feed Flow
PROCESS +
Model Based
Controller 112
y
Intennediate
Variables
(Measurement)
~
[ At the heart of the second tier will be an on-line, dynamic first principles
:.
., model (cf. Chapter 12) running in parallel with the process, supplying
' estimates of these product properties in between the unacceptab ly infrequent
i
two-hour samples. An on-line state estimator (cf. Chapter 29) is used to update
the model predictions when laboratory measurements become available. This
1. Basic Dynamic Model: On the basis of a detailed kinetic scheme, the basic
dynamic model was obtained by carrying out material balances on the reactor
contents {three monome rs, catalyst, cocataly st, chain transfer agent, and
inhibitors). Populati on balances on growing and dead polymer chains
are
manipul ated in standard fashion to produce a set of moment equations (cf. Ref.
[17]). Finally, the producti on rate and product properti es - polymer
composition, the number average molecular weight Mn, and the weight average
molecular weight Mw - are obtained directly in terms of the bulk moments and
the molecular weights of the three monomers. The complete model consists
of
29 ordinary differential equation s (seven material balance equation s for
the
reactor contents. and 22 moment equations) and five algebraic equations for
the
polymer propertie s (cf. Ref. [13]).
(30.6)
A
was found to be adequate. Thus, estimates 1) of the MVIV are obtained using
only the kinetic model prediction of Mw.
A small subset of the rate constants and some reactivity ratios were available
in the open literatur e; the remainin g rate constant s, along with the other
paramet ers, were estimate d from plant startup data using standard principle
s
of paramet er estimatio n in differential equation models (d. Chapter 12).
Some of the actual off-line results indicating the match between the plant
data (represe nted by the triangles) and the predictio ns obtained from
the
complete model (represented by the solid lines) are shown in Figure 30.27.
'l 'I
1126 \·."1.
l SPECIAL CON TRO L TOPICS
X105
25000 2
A A
Mn Mw
0
0
0 2 4 6 8 0 2 4 6 B
Time (hrs )
Tim e (hrs )
X1Q5
5
1.250
M.
0
0 2 4 6 8 0 2 4 6 8
Time (hrs)
Time (hrs)
2000 0
~ -
- w.M f\. II.
~ 50
8
§
0 0
0
re 0 2 4 6 8 0 2 4 6 8
Time (hrs}
Time (hrs)
30
50
-
/:J,.A l•
25
·- ~ A Yc
........ A A
20
0
0 2 4 6 8 0 2 4 6 8
Tim e(hrs )
Time (hrs)
Figu re 30.27. Comparison of the
dyna mic reactor mod el predictions
data for production rate and polymer with plan t startup
composition.
CHAP 30 CON TROL SYST EM CASE STUD
IES
1127
4. On-l ine Implementation: By runn ing
the reactor mod el on a real- time
proc ess cont rol com pute r in para llel
with the plan t, on-li ne plan t inpu t
infor mati on is used to prov ide on-line estim
ates of prod uctio n rnte, poly mer
composition, molecular weight distributi
on (particularly Mn and Mw) as well as
1], the MVIV, every minute.
Recognizing that perfe ct pred ictio n of
beha vior is an unat taina ble idea l, prov plan t
ision is mad e for upda ting mod el
estimates on the basis of actual process meas
urements when ever these beco me
avai lable .
However, once again, an otherwise stand
ard problem is complicated by the
pecu liar characteristics of indu stria l poly
mer reactors: as a resul t of a varying
labo rator y analysis delay of betw een 30
and 45 minutes, t5 {the time at whic h
the prod uct samp le was taken), and t
1 (the time at whic h the process data
actu ally beco me available) are not only
diffe rent, but their diffe renc e,
1: = tk- t., is varia ble. Thus
the inno vatio n process in our state estim
scheme mus t be modified appropriately in ation
orde r to accommodate this situation.
As a resul t of these and other such considera
tions (cf. also, for example, Ref.
[23]), the mod el equations implemented on-li
ne take the form:
(30.7a)
9= h(x) (30.7b)
0 20 40 60 80 100 120
Time, Hours
Figure 30.28. Off-line comparison of on-line estimates
and actual laboratory
measurements: complete !Hiay campaign
data on MVIV.
1128 SPECIAL CONTROL TOPICS
where K,.(t) is a matrix of correction gains defined such that the innovation
portion of Eq. (30.7a) is active only when t = tb i.e., when process data become
available; the vector y represents estimates of the product properties (and
production rate); ~is an estimate of tk- t 5 •
The ~ estimates are particularly susceptible to modeling errors since they
are estimates of nonfundam ental properties based on empirical correlations·
polymer compositio n estimates, on the other hand, are more accurate, being
estimates of fundamenta l properties obtained solely from the kinetic model.
2.00
[
_,......_ (a)
1.75 ....- ...<:"'\.
•.. "
""'
~~/
.:0......
1.50
~ I
1.25 I -
--
LOO L ---
Model prediction
Lab results
-
0.75
23:15
I
0:30 1:45 3:00 4:15 5:30 6:45 8:00 9:15
Clock time
2.00
{b)
.......... ......... _,. ~
1.75
./ ( ~
1.50 R ... . ~
::: ~
·"' ~
1.25
I r--
--
1.00 I -·
Model prediction
Lab results
f-
0.75
22:30 0:00
I1:30 3:00 4:30 6:00 7:30 9:00 10:30
Clock time
Figure 30.29. (a) Comparison of estimates and actual laboratory measurements: "live"
on-line snapshot of MVIV record at about 09:00 hrs.; (b) comparison of
estimates and actual laboratory measurements: "live" on-line snapshot of
MVIV record just before 10:30 hrs.
CHAP 30 CONTROL SYSTEM CASE STUDIES 1129
Figures 30.28 and 30.29 are indicative of typical on-line performance of the
state estimator. It should be noted that with process trends captured on-line
(as in Figures 30.29(a, b)) the estimates always lead the laboratory analysis
results. Figure 30.28 demonstrates the close agreement between MVIV estimates
(solid line) and actual laboratory data (represented by triangles connected by
the dotted line).
To illustrate another aspect of the model, Figure 30.29(a) shows an on-line
process trend "snapshot" of the MVIV estimates and actual laboratory data,
taken sometime after 09:00 hrs as seen on a typical operator console; Figure
30.29(b) shows the same trend 1 hr 15 min later. Apart from the general
agreement between the actual laboratory results (the hatched line) and the
estimates (the solid line), observe that what was estimated as the current
MVIV value (in Figure 30.29(a) before the laboratory measuremen t was
available) was confirmed as a very accurate estimate 1 hr 15 min later in Figure
30.29(b).
Level 0: Activity at this level is primarily concerned with the tuning of local
field controllers responsible for maintaining the various reactor feed flowrates.
PI controllers were employed at this level, and the direct synthesis tuning
technique discussed in Chapter 15 was employed in selecting the controller
parameters (d. Table 15.5). The Tier 1 control scheme actually sets the set-
point for these local controllers. Tuning the reactor level and temperature
controllers is also done at this level.
A model predictive control scheme (cf. Chapter 27) with the following features
was therefore designed for this tier:
if we assume, for simplicity, that the time delays associated with each
output are identical (a reasonable assumptio n since the time delay is
primarily due to chromatographic analysis).
The linear multivariable model in Eq. {30.8) was identified from several
pulse test experime nts. Pulses were implemen ted in the multiple inputs
(monomers, chain transfer, solvent, and catalyst flowrates) and the responses of
the mole fraction of the reactor contents were recorded. The techniques in
Section 23.6 of Chapter 23 were used to identify the model parameter s. A
catalog of these approxim ate linear models was obtained by repeating this
procedure for each different product grade.
Tier 2: This tier has four outputs - production rate, %A, o/oB in polymer ('YoC,
of course, is determine d once these two are fixed), and 1J, the MVIV- to be
regulated by the Tier 1 set-points. The proposed model predictive control
scheme at this level is somewha t unusual in that two distinct - and
fundamen tally differen t- models are involved: the full-scale, nonlinear first
0.15 - 16500
- - Control Action, FA
12500
·-'
.!..~ 1- ""' -
1- \_....__ ~ ....~ FA
Monomer A
Flowrate
~
10500
0.07
/_ ~ ~
8500
0.05
I_ 6500
8:45 11:45 14:45 17:45 20:45 23:45 2:45 5:45 8:45
Clock time
I
Figure 30.30. Performance of Tier 1 control system: 24-hr trend of XA response.
Ll'll'1r .:>U L.Vl\'li<.LIL .:ll~lC.lVl.l..J1,:::>J::::. ;:JJUUJJ:..:l' ll.jl
principles model (Modell), used solely as a surrogate for the reactor to provide
estimates of plant output in between the 2-hr samples; the linear parametric
model (Model 2) of the type in Eq. (30.8), used in MPC fashion to calculate
control action using the Model 1 output in lieu of actual measureme nt. The
proposed control action implementation frequency is once every 15 min, so that
the Tier 1 control system operates at three times the rate of the Tier 2 control
system.
1.50
....
1.25
...
·~
l~ /'\ ................ 1'\r
1.00 ..... .....
~
~ ~\l.-
r
0.75 I--
- - Model estimates
- - Lab results
0.50
I--
0.25
15:00 21:00 3:00 9:00 15:00 21:00 3:00 9:00 15:00
Clock time
Figure 30.31. Performance of Tier 2 control system: 24-hr campaign startup trend of
MVIV transient response.
1132 SPECIAL CONTROL TOPICS
application of the control system, such startups take almost three times
as long
to complete, and the MVN is usually still difficult to maintai n at the
desired
target value thereaft er. Similar perform ance is obtaine d for the
polyme r
composition as well as for production rate.
The strategy we have present ed in this section for achieving good control
of a
multiva riable, nonline ar terpoly merizat ion reactor whose critical
output
variables are not available for measure ment on-line hinges on two points:
I
t cases.
Nevertheless, the plant process engineers attribut e the effectiveness
of linear
MPC to the fact that the most severe nonline ar effects are associat
ed with
temper ature variatio ns; these were all but elimina ted by the
standar d
' operati ng procedu re of fixing the reactor tempera ture and not using
it as a
control variable.
It should be noted, finally, that a full-scale nonlinE!ar model
predictive
control scheme could have been employed; the most significant limitatio
n was
the comput ational facilities availab le at the plant site. This
limitati on
therefore ultimately turned out to be a blessing in disguise since the
full-scale
nonline ar MPC scheme may be somewh at more difficult to maintai
n than the
linear scheme.
CHAP 30 CONTROL SYSTEM CASE STUDIES 1133
30.5 GUIDELINES FOR CHARACTERIZING PROCESS
CONTROL PROBLEMS
The four case studies we have just presented in this chapter illustrate the fact
that the various control problems encountered in various chemical processes can
indeed be solved by the many different controller design techniques now
available, most of which were discussed in this book. These case studies also
attest to the fact that some control strategies are more appropriate than others
for certain problems. As a result, it is important for the practicing engineer,
charged with the responsibility of designing and implementing industrial
control systems, to have a means of matching controller design strategies to the
specific problem at hand in a rational manner. In this section we wish to
present some concepts to assist in this task.
30.5.1 The Process Characterization Cube
As diverse as chemical processes and processing units are, it is well known that
they possess certain characteristics by which they may be grouped into a
number of recognizable classes exhibiting similar behavior. (For example, the
level of a reboiler in a distillation column, and the exit temperature of certain
exothermic tubular reactors, can both exhibit inverse response.) This, in fact,
was the main premise of the study of process dynamics in Part n, using ideal
process models. Such classifications are particularly useful for control system
design since:
The characteristics that distinguish one class of processes from another
also provide information which, if properly interpreted, indicate how
the control problems common to each class ought to be tackled
appropriately.
The appropriate controller design technique may then be selected in a rational
fashion.
Following the discussion in Ref. [15], as a possible starting point in the
selection of a controller design technique, the process in question may be
classified as shown in Figure 30.32, using the following three characteristics
defined in the following manner:
1. Degree of Nonlinearity: the extent to which the process behavior is not
linear - from essentially linear systems on one extreme, to those that
exhibit very strong and acute nonlinear behavior on the other extreme.
2. Dynamic Character: the extent of complexity associated with the
dynamic response - from simple systems exhibiting first-order, or
other such low-order dynamic behavior, on the one extreme, to systems
exhibiting such difficult dynamics as inverse response and time delays,
on the other extreme.
3. Degree of Interaction: the extent to which all the process variables
interact with one another - from those systems whose variables are
totally uncoupled, or only weakly coupled, on the one extreme, to those
systems whose variables are strongly coupled on the other extreme.
,.;;~
1134 SPECIAL CONTROL TOPICS i
By assessing chemical processes in terms of these three attributes, it is possible
to "locate" each process in one of the eight "pigeon holes" in Figure 30.32: four
on the "front face," and four on the "back face." For example, essentially linear
processes (with low to mild degree of nonlinearity), having simple to moderate
dynamic character, and whose variables do not interact significantly with one
another, will be located the bottom left half "pigeon hole" (or subcube) on the
"front face." With a knowledge of the characteristic problems typically
associated with each "pigeon hole," and the controller design technique
capable of handling each problem, it is possible to use this "characterization
cube" as a guide in selecting candidate controller design techniques.
We recognize of course that these three attributes may not capture all the
possible features of importance in all the possible classes of chemical processes;
nevertheless, they represent the most significant aspects of most processes,
especially as regards the design of effective controllers.
Dynamic Character
I
CHAP 30 CONTROL SYSTEM CASE STUDIES 1135
Additional Considerations
There are many situations of practical importance for which it might be
necessary to take other factors into consideration in addition to the three
attributes employed above. Some of these factors include:
2A
1 . . . I········.I···········c····]········] ········~······•r:······
. . . . .
•
.
•
•
..
•
•
0
..
0
•
•
•
.
0
•
•
.
0
•
:IV 1 1 1 l l
·········· r············T···········r··········T············r············r···········-~·-········ ·
··r············r············r··········T············l·············r···········-~·-··········
0.8'---"----"-------''------'-----J.-----J.-----J.--_J
0 20 40 60 80 100 120 140 160
Feedrate [llh]
I
' CHAP 30 CONTROL SYSTEM CASE STUDIES
3.5.- ----- ----- ----- ----- ----.
1141
~
.g
"'a 2.5
"...,
:a
"'a
~
".,.
-§ 2
>.
0
1.5
20 40 60 80
J Feedrate [1/h)
100 120 140 160
140
135
§ 130
~
.a
.,f!
s""., 125
.
E-<
.su
120
~
115
110 I I
0 20 40 60 80 100 120 140 160
Feedrate [1/h)
l
as they are nonlinear.
]
1
Operating Regime F: (u 1 - 60 hr - 1; y1 (or x 2 ) - 1.12 moles/liter)
l
Primary Attributes: Gain undergoes sign change (Severely nonlinear);
Both Minimum and Nonminim um phase (Difficult i
Dynamics);
RGA - ±co (Severe Interactions + Ill conditioning). l
Characteri zation:
Implication :
Category VIII Process.
Nothing short of carefully designed multivariab le
nonlinear controllers will work well.
l
l
1
l
CHAP 30 CONTROL SYSTEM CASE STUDIES 1143
Time (h)
g 0.8
f! 0.4
...,::I
t
""E!
E!:
Figure 30.37. Process response to 1• step change in reactor set-point (Regime A, two
single-loop PI controllers).
.s /
..
<l
1>. ...(),004
~ ~-- .... ,.,.
/
.!a
~
0
...(),006
0 0.2 0.4 0.6 0.8
Time (h)
1.5
g
..
.....
,:~
.B
c.
a
t!.
j_ I I
0o 0.2 0.4 0.6 0.8 1
Time(h)
Figure 30.38. Process response to 1• step change in reactor set~point (Regime B);- two
single-loop PI oontrollers; --- two single-loop IMC controllers.
The very problematic behavior of the process when operating in the regime
F is indicated in Figures 30.39 and 30.40. Figure 30.39 shows the response of the
process to a step change of -0.01 mol/1 in the Cyclopentanol concentration set-
point under two single-loop PI controllers. Observe that the process is unable to
attain this new steady-stat e value; in fact, the reactor proceeds to "washout,"
0.5
~
0
E.
0
s<l
Q)
...().5
Complete Washout
c. -1.0
0
~ -1.5 I
0 0.2 0.4 0.6 0.8 1
Time (h)
4
g
...Q)
.a
:! ..
S'
i!. -4
-6
0 0.2 0.4 0.6 0.8
Time(h)
-50000
0.2 0.4 0.6 0.8
Time(h)
g 8
f 6
E
.
fl
s"
4
~ 2
~ 0
0
8 -2
0 0.2 0.4 0.6 0.8
Time (h)
and the actual (absolute) Cyclopentanol concentration goes to zero (the initial
concentration was 1.1 mol/1). The corresponding control actions taken by each of
the two single-loop controllers are shown in Figure 30.40. Note that the
behavior of the first controller is essentially unstable.
The reason for this behavior is that the process gain is close to zero at this
particular steady state, becoming slightly positive for negative deviations
from the steady-state flowrate, and changing signs to become slightly negative
for positive flowrate deviations. Thus if the linear PI controller is designed for
a positive process gain, the closed-loop system will become unstable when the
actual process gain changes signs.
30.6 SUMMARY
In this final chapter we have provided four different case studies of control
system design applied to processes of industrial importance:
Taken together these four case studies illustrate the "art and science," that is,
the combination of engineering creativity and process control theory, that can
be applied to provide high-performance control systems in practice.
This chapter concluded with a guide for classifying the types of difficulties
and specific challenges posed by a specific control problem and some
recommendations for remedies to be employed. This guide can be used to
provide a starting point for control system design.
1. Ardell, G. G. and B. Gwnowski, "Model Prediction for Reactor Control," Chem. Eng.
Prog., June (1983)
2. Buckley, P. S., W. L. Luyben, and J. P. Shunta, Design of Distillation Column Control
Systems,Instr. Soc. Amer., Research Triangle Park (1985)
3. Chien, D. C. H. and A. Penlidis, "On-line Sensors for Polymerization Reactors," Rev.
Macromol. Chern. Phys., C30, (1), 1-42 (1990)
4. Congalidis, J.P., J. R. Richards, and W. H. Ray, "Feedforward and Feedback Control of
a Solution Copolymerization Reactor," AIChEJ, 35, 891 (1989)
5. Cozewith, C., "Transient Response of Continuous-flow Stirred-tank Polymerization
Reactors," AIChE/,34, (2), 272 (1988)
i 6. Deshpande, P. B., Distillation Dynamics and Control, Instr. Soc• .Amer., Research
!'·
.. I Triangle Park (1985)
r ,. 7. Engell, 5. and K.-U. Klatt, "Nonlinear Control of a Nonminimum Phase CSTR,"
I Proceedings of the American Control Conference, 2941, San Francisco, June 1993
'' 8. Jerome, N. F. and W. H. Ray, "High-performance Multivariable Control Strategies for
Ii 9.
Systems Having Time Delays," AIChEJ, 32, 914 (1986)
Kaspar, M. H. and W. H. Ray, "Chemometric Methods for Process Monitoring and
High Performance Controller Design," AIChEJ, 38, 1593 (1992)
10. McAuley, K. B. and J. F. MacGregor, "Optimal Grade Transitions in a Gas Phase
Polyethylene Reactor," AIChEJ, 38 (10), 1564 (1992)
11. McAvoy, T. J., Interaction Analysis,Instr. Soc. Amer., Research Triangle Park (1983)
12. Nisenfeld, A. E. and R. C. Seemann, Distillation Columns, Instr. Soc. Am.er., Research
Triangle Park (1981)
13. Ogunnaike, B.A., "On-line Modeling and Control of an Industrial Terpolymerization
Reactor," Int. Journal of Control (in press) (1994)
r
I.
CHAP 30 CONTROL SYSTEM CASE STUDIES 1147
part V I
APPENDKCJES
'i!
:) 1148
I
AJPJPENDKX
A
CON TRO L SYST EM SYM BOL S USED
IN PRO CESS AND
INST RUM ENT ATIO N DIAG RAM S
In reading Process and Instrume ntation (P&I) Diagram s, the process sensors,
controllers, and actuators are indicated by special symbols. It is importan t to
be
able to recogniz e these symbols in order to work with design engineer
s,
operators, et al. Some of the most commonly employed symbols are indicated
in
the tables below. In many P&I diagram s, only abbrevia ted treatmen t of
the
control loop is given so that only the measure ment, the controller, and
the
actuator are shown. The standard s of the Instrume nt Society of America (ISA)
are followed in this section. Ref. [1] presents a much more compreh ensive
descripti on of the ISA standard s.
[1] InstruJrt entation Symbols and Identific ation, ISA-SS-1 (ANSI/I SA- 1975,
R1981) Instrumentation Soc. of America, in Standard s and Practices for
Instrume ntation. 7th Edition (1983).
1149
f ·.!I'
ji
1150 APPENDIX A
Line Meaning
Connection to process or mechanical
---------------------- link or instrument supply
Svmbol Actuator
--
-~ Motor
--~ Solenoid
~
Pressure control valve, external
pressure measurement
~
Pressure relief or safety valve,
angular pattern
~
Pressure relief or safety valve,
straight through
~
linkage
...
w 1152
!I APPENDIX A
Table A.4. Some Sensor Symbol s
Svmbol Sensor
~
-- meter
~
Pressure indicator, undefin ed type
cr type
J
~
l
CONTROL SYSTEM SYMBOLS USED IN P & I DIAGRAMS 1153
S bol Meanin
l
B
CO MP LE X VARIABLES, DIFFER
ENTIAL
EQUATIONS, AN D DIFFEREN
CE
EQ UA TI ON S
1155
'II 1156
! APPENDIXB
iJ p
: (x,y)
•
'•
Imag inary r ''• ~
Axis ',y
•
I
•
.
'
''
.••
Real Axis X
~
Figure 8.1. The complex number. "
~
z = x-jy (B.5)
Tha t is, z is a num ber repr esen ted
by the poin t (x, -y), a mirr or ima
num ber z reflected in the real axis. ge of the
The following are imp orta nt relation
abo ut complex num bers and their conj s to note
ugates.
I 1.
2.
Their moduli:
z+-
Rez = - z Imz =
z- z
2 Zj (B.7)
zz = ld (B.8)
Relation Eq. (B.8) is particularly usef
ul; it indicates that mul tiply ing a
num ber by its conjugate produces complex
a (nonnegative) real number.
z = rL9 (B.9)
whe re the symbol L is used to indi
cate implicitly that 9 is an angle. The
pola r representation correspondin explicit
g to Eq. (B.l) is obtained by noti ng
that
x=r cos 9; and y= r sin 9
so that z may now be written as:
z= r(cos 9+ jsin 9)
(B.lO)
The Mod ulus and the Arg ume nt
(B.l l)
~·.··~
l'
j
APPENDIXB ';,,i~'li~
(B.l2 )
The Exponential Pola r Form
(B.14)
nus is sometimes referred to as the exponentia
l pola r form for obvious reasons.
Transformations
The following is a sum mary of the relat
ionships used for trans form ing one
complex num ber representation to the other
.
L From Cart esian to Pola r
r=.VXl+l (B.l5a)
and
o= mn-{;) (B.15b)
=
Given: z r L 6 eithe r in the trigonometric
form in Eq. (8.10}, or in the expo nent ial
form in Eq. (B.14), the required Cart esian
x and y num bers are obtained from:
x= rcos 6 (B.16a)
and
y = rsin 6 (B.l6b)
B.1.3 Algebraic Operations
The sam e basi c alge braic oper ation
s of addi tion , subt racti on, divis ion,
mult iplic ation poss ible with real num and
bers can also be carri ed out with com
num bers . Whi le it is true, in princ iple, plex
that all the alge braic oper ation s can be
perf orm ed usin g both the Cart esian and·
the pola r forms, it is also true that for
each algebraic oper ation , there is a pref
erred com plex num ber repr esen tatio
whic h cons idera bly simplifies the requ n
ired man ipula tion.
In wha t follo ws, it is with out loss of
gene ralit y that we illus trate alge braic
operations usin g two complex num bers
Zt and Zz given in the Cart esian form by:
Zt =XI +jyl (B.l7 a)
z2 = r2ei~ (B.18b)
in (exponential) pola r form; the exte nsio
n to three or mor e com plex num bers
strai ghtfo rwar d. is
(B.20)
Usin g the alter nativ e Cart esian form, we
obtain:
1160 ~~~!!
APPENDIXB
which, upon expanding and rearranging becomes:
(B.2I)
(rl eiB•)
(rz ei82)
~ e j(0,-11,)
r2 (B.22)
~ = (x• + iYt)
(B.23)
Zz (.xz +iYz)
We must now eliminate the complex number in the denomi nator and
replace it
with a real number ; this is achieve d by multipl ying both numera
tor and
denomi nator in Eq. (B.23) by the complex conjugate of .;, a procedure
kno·wn as
rationalization, i.e.:
and
arg (z) = arg (z1) + arg (z,z) (B.25)
zt
1' 2 Quotien ts: Ifz =-then :
L
,,,
Zz
lz.l
'j; lzl (B.26)
r.: lz2l
i: and
.,:'I
arg (z) arg (z1) - arg (z2 ) (B.27)
li
COMPLEX ALGEBRA, DIFFERENTIAL AND DIFFERENCE
EQNS 1161
B.1.4 Powe rs and Roots of Complex Num bers
(B.l4)
is multip lied by itself n times, we obtain the result
that:
(B.28)
Similarly, we have:
(B.29)
ln particular, if r = 1 in Eq. (B.28), we obtain:
(B.30)
and upon introd ucing Euler's formula Eq. (8.13) for
both sides of Eq. (B.30), we
have:
r= l and 8 = 0+211k
havin g recalled the fact that e, along with any other
angle equal to 8 plus integral
multiples of 27r, are equally valid argum ents of the same
complex number. Thus,
in the trigonometric form Eq. (B.33) becomes:
is nonhomogeneous.
The following is a summary of some key methods for solving the most
important classes of these linear differential equations.
~+ t.zy = 0 (B.37)
Of course not all first-order equations are this simple; but the concepts here
illustrated are useful in solving the more general equations.
The general nonhomogeneous linear first-order equation is given by:
It is usually solved by the method of integrating factors and has the more general
solution:
COMPLEX ALGEBRA, DIFFERENTIAL AND DIFFERENCE EQNS 1163
In the special case when the coefficient a is a constant, the first-order differential
Eq. (B. 39) becomes:
f!1ffi
dt + qy(t) = q(t) (B.41)
and the solution will then be obtained immediately from Eq. (8.40) as:
or
Note that to avoid the potential confusion arising from using the same variable t
in the limit of the integral and as the integration variable, it is customary to
introduce a dummy time argument (say, a) under the integral sign, and retain t
for current time (and hence in the upper limit).
It is straightforward to show (and the reader is encouraged to do so as an
exercise) that if we wish to solve the standard state-space model (Eq. (4.28) from
Chapter 4) which includes both control action u(t) and disturbance d(t), ie.:
y = cx(t)
then the solution is:
~ dn-1y ~
llodtn + a1dtn-1 + ... + an-1 dt + any = q(t) (B.45)
(B.47)
1164
APPENDIXB
The specific form of the solu tion is mos
t easily foun d from the meth od of Lapl
trans form s (see App endi x C); it is also ace
possible to solve these equations by matr
meth ods as show n below. ix
Ma trix Methods
Con side r the situa tion in whic h a new
set of variables, z 1 (t), z 2 (t), ... , zn(t) are
intro duce d to repr esen t the variable y
and its first n-1 derivatives as follows:
z1(t) y
~(t) 4l
dt
z3(t) = ~
dP
(B.48)
dn-2 y
z._, (t) = dt"- 2
dn-1 y
z.(t) = dtn-1
dz (t)
-dt1- = z2 (t)
(B.49)
dz 11 _ 1 (t)
dt = z.(t)
and
I
COMPLEX ALGEBRA, DIFFERENTIAL AND
DIFFERENCE EQNS
1165
['~]
0
z2(t) 0
z(t) = ; f(t) =
gill_
zn(t)
Go
(B.51)
0 0 0
0 0 0
A= 0 0 0
--an --an-1 --an- 2 --a!
Go Go Go Go
(B.52)
y = Cx(t)
(B.55)
which involves not only y(t) and its first derivative, but also the function with
the
delay-time argument. Equations of this type are known as delay-differential
(or
differential-difference) equation s. Even though they are closely related
to
differen tial equation s, solving them requires specializ ed techniqu es.
A
particularly readable discussion of such equations is contained in Driver (1977)
[11].
Of all equation s involving delay-time arguments, the types most commonly
encounte red in process control are usually of the form:
(and minor variations thereof) where the delay-time argumen t is not associate
d
with the unknow n function y(t) hut with the "forcing function." The solutions
to
such equations are most straightforwardly obtained using the method of Laplace
transforms (see Appendi x C).
where q(k) is a known sequence. To build up a solution from the initial value
y(O), we obtain:
k
y(k) = y(OX-a l + I, (-af'-i q(i) (B.58)
t=l
is the solution to Eq. (B.57). Note the analogy between Eqs. (B.58) and
(B.42), the
solution to li-te continuous differential Eq. (8.41).
From Chapte r 4 we recall that the standar d discrete-time model with control
u(k), disturbance d(k), and output y(k) has the form:
k
y(k) = y(O)a" + c I, ak-i [bu(i -1) + '}ti(i -1)] (B.60)
r=l
Ji we now compare Eq. (B.59) with Eq. (B.43) and then compare their respecti
ve
solutions, Eqs. (B.60) and (B.44), we observe that the two solutions are
completely
analogous, with e•1 in Eq. (B.44) replaced by a", and the integral replaced
by the
fmitesum.
II
y(k) = Ao + r=l
l:,A1(m;)" (B.62)
where the m 1, i =1, 2 ... n, are then roots of the characteristic equation:
(B.64)
Zn-2 (k) = y(k -2)
Zn-1 (k) = y(k -1)
Zn(k) = y(k)
~
!.i
}I
Zn-2 (k) =
Zn-l (k-1 )
Zn-l (k) = z4 (k-1 )
(B.65)
z1 (k)]
z
[ 2(k)
~k) = ;
Z4 (k)
• COMPLEX ALGEBRA, DIFFERENTIAL
AND
0 1
DIFFERENCE EQNS
0 0
1169
0 0 1 0
ell=
0 0 0
-a. -an- I -an- 2 -a]
Go Do
I
Go Go
k
~k) == cll"z(O) + "£ cll/t.-i f(t)
t=l (B.67)
where z(O) represents the vector of initi
al conditions on z( k).
The line ar discrete-time mod el for mul
tivariable syst ems was pres ente d in
Cha pter 4 (and disc usse d in deta il in
Cha pter s 24-26). This is a special case
Eq. (B.66) and takes the form: of
~ = f(t,y ) (B.70)
!f2 - 1 Y . . f!r .. )-
! ( dt" .d"
' dtn- l ' ... ' dt 'Y' t - O (B.7l)
y = Tj(t} (B.72)
1. The numerical solution y(O), y(l), y(2), ... , y(k), ... constitutes only an
approximation to the exact but unknown solution because of unavoidable
errors introduced in the course of its computation. These errors arise
from two separate sources: (a) from the numerical methods formula itseU
(which must be obtained by introducing some approximations), and (b)
from the fact that in any computation, only a finite number of significant
COMPLEX ALGEBRA, DIFFERENTIAL AND DIFFERENCE EQNS 1171
3. As Llt the interval between the discrete points ~~ t1 , t 2, ••. , t1 , ••• tends to
zero, will the values taken by the numerical approximation also tend to
the values of the exact, but unknown, solution? This question addresses
the issue of convergence.
These and other related issues not mentioned here are critical to the successful
generation of numerical solutions and are therefore discussed in great detail in
texts devoted exclusively to numerical methods. The supplied references [15,16]
are recommended to the reader interested in pursuing these aspects further. For
now we will review a few of the key techniques used to obtain numerical
solutions to differential equations.
~ = f(t,y) (B.73)
(B.74)
(B.75)
(B.76)
or, simply:
(B.77)
W!
!/
1172
,j' APPENDIXB
Observe now that starting with the initial value y(O), Eq. (8.77) can be used
recursively to generate the sequence y(l), y(2), y(3), . .. as the required
approximate solution to Eq. (8.73).
The formula in Eq. (8.75) is known as Euler's method; it represents one of the
simplest schemes available for solving initial-valu e problems. It has the
advantage that it is very straightforward to use, and very easy to program on the
computer; its main disadvantag e is that it is not very accurate. It can be shown
that the local formula error for Euler's method is proportiona l to (M)2 and to the
second derivative of 71(t ), the true, but unknown solution.
While it is true, in general, that the accuracy of Euler's method may be
improved by reducing the interval size At, unfortunate ly there is a limit beyond
which any further reduction in interval size actually worsens the accuracy.
Observe that as At is reduced, many more steps are required in going from to to
the final point tN; but round-off error is introduced at each step of the calculation
so that the accumulate d round-off error actually increases as the interval size At
is reduced. Clearly it is possible to cross a point where the increased accuracy
achieved by the interval size reduction is offset by the increase in the
accumulated round-off error.
with its initial condition y( fo) = y(O) whose unknown solution is given by
y = 7J(f). By integrating from the point tk to
tk+I we obtain:
(8.78)
(8.77)
and upon replacing 1](tk) and 17(tk+l) with their respective approximate values y(k)
and y(k + 1) we obtain the improved formula:
COMPLEX ALGEBRA, DIFFERENTIAL AND DIFFERENCE EQNS 1173
The only complication now is the appearance of the unknown y(k + 1) in the RHS
of Eq. (B.79)i this is resolved by introducing the simpler Euler formula Eq. (B.77)
in its place. Simplifying the notation further by using y'(k) to represent f(t k, y(k))
we obtain the final result
It can be shown that the local formula error for the improved Euler method is
r
proportiona l to (M and since the only reasonable values for M are usually such
I
that IM I << 1, it follows that the improved formula is indeed more accurate. It
should be noted that the improved accuracy has been achieved at the expense of
increased computation.
(B.81)
where
cl = fih • y(k)) (B.82a)
is similar to the improved Euler formula except that f(t,7j(t)) is now replaced by a
weighted average of the values it takes at various points in the interval [t k' t k + ].
1
This is the formula for the (fourth-order) Runge-Kutta method; it is a very
accurate and very popular method for obtaining numerical solutions to initial-
value problems (despite the fact that it is more complicated than any of the Euler
methods). It can be shown that the local formula error for this method is
proportiona l to (llt)S.
It should be mentioned that there are many other categories of numerical
methods (e.g., variable step-size, multistep, etc.) which are discussed at length in
standard texts on numerical methods. However, the reader should also note that
computer software packages abound which offer a wide variety of these
numerical teclmiques so that it is no longer necessary for one to write one's own
program for carrying out the required computations. It is, however, important
for one to understand the implication s of using one method as opposed to
another.
1174 APPEND!XB
Higher Order Equations
It can be easily shown that any higher order differential equation can be reduced
to a system of several first-order equations of t..l-te type in Eq. (B.73). Numericnl
techniques applicable to first-order equations extend quite straightforwardly to
systems of first-order equations. Thus problems involving higher order
equations, or those involving systems of first-order equations, do not raise any
additional issues of consequence. See, for example, Refs. [14, 16].
1. Stephenson, G., Mathematical Methods for Science Students, Longmans, London (1971)
2 Greenberg, M. D., Foundations of Applied Mathematics, Prentice-Hall, Englewood Cliffs,
NJ (1978)
3. Kreyszig, E., Advanced Engineering Mathematics, (3rd ed.),J. Wiley, New York (1972)
4. Wylie, C. R., Adwmced Engineering Mathematics, (4th ed.), McGraw-Hill, New York
(1975)
5. Sokolnikoff, I. and R. Redheffer, Mathematics of Physics and Modern Engineering,
McGraw-Hill, New York (1966)
The following are two specific references on the subject of Complex Variables: the first is
more modem and discusses applications; the second is considered a classic treatise on the
theory with very little by way of applications.
The following are references on the general topic of Ordinary Differential Equations:
Ref. [8) is very pleasant to read, Ref. [9] is a venerable classic, Ref. [10] gets very theoretical
at times, and Ref. [11] contains a systematic treatment of Delay-differential equations.
Two important references providing detailed and thorough treatments of the topic of
Difference Equations are:
12. Goldberg, S., Introduction to Difference Equations, J. Wiley, New York (1958)
13. Milne-Thompson, L. M., The Calculus of Finite Differences, Macmillan, London (1933)
COMPLEX ALGEBRA, DIFFERENTIAL AND DIFFERENCE EQNS 1175
There are numerous useful references on the general subject of Numerical Methods; the
following is somewhat of a representative sample in terms of breadth and depth of
coverage.
14. Hornbeck, R. W., Numerical Methods, Quantum Publishers, New York (1975)
15. Conte, 5. D. and C. de Boor, Elementary Numerical Methods, (2nd ed.), McGraw-Hill,
New York (1972)
16. Carnahan, B., H. Luther, and J. Wilkes, Applied Numerical Methods, J. Wiley, New York
(1969)
17. Henrici, P., Elements of Numerical Analysis, J. Wiley, New York (1964)
The following are references that focus attention on the more computational aspects of
Numerical Methods: Ref. [18] is a good introductory text, while the more recent Ref. (19]
is a comprehensive and immensely useful (almost indispensable) reference book.
Two of the more specialized references concerned with the numerical solution of Ordinary
Differential equations are: Ref. [20], authored by a well-respected practitioner, and
Ref. [21], a more advanced treatment of the same subject.
20. Gear, C. W., Numerical Initial-value Problems in Ordinary Differential Equations, Prentice-
Hall, Englewood Cliffs, NJ (1971)
21. Henrici, P., Discrete Variable Methods in Ordinary Differential Equations", J. Wiley, New
York (1962)
Ill
AIPJPJENDKX
c
LAPLACE AND z-TRANSFORMS
T {f(t)} = ra
K(s, t)f(t)dt = j(s) (C.l)
• This is an expression for the general integral transform; K(s, t), the
function of
two variables that serves as the multiplier in the transform formula
is called
the kernel of the transform.
By specifying various kernels and limits of integrat ion, several
useful
integral transforms can be obtained from Eq. (C.l). For example, when
a =0,
b = -, and K(s, t) =e-st, we have the Laplace transform defined in
Eq. (3.1).
Some other examples are:
1177
1178 APPENDIX c
1. FOURIER TRANSFORM: a= -oo, b =oo, K{e», t) =e-Jt»t
2. HANKEL TRANSFORM: a= 0, b = oo, K{l, t) = t Jv{lt), where J (lt) is
Bessel's function {of the first kind) of order V> -1/2 v
1 1{)(s)} = r·
a•
K*(s,t)j(s)ds =J(t) (C.2)
by which the original function, f(t), may be recovered from its transformed
version, f(s), using K"{s, t), the kernel of the inverse transform formula, and
integrating out the s variable between the limits a• and b"". For example, the
corresponding inverse Laplace transform expression has:
The integral transform of Eq. (C.l) and its inverse relation in Eq. (C.2) constitute
a "transform pair."
Integral transform pairs in general have found significant application in
science and engineering; and some transforms are more natural than others for
certain applications. For example, in certain aspects of the theory of
elasticity, the Mellin transform is the more natural choice. For process control
applications, however, the Laplace and Fourier transforms are the most
natural and most useful; and it will be shown later that for the analysis and
design of discrete-time control systems, it is in fact just a clever adaptation of
the Laplace transform that leads to the more natural z-transform.
(C.3)
a. = t fL fit)co{ nt Jt (C.4a)
and
(C.4b)
By substituting Eq. (C.4) into Eq. (C.3) and taking limits as L -> co, after
carefully carrying out the required manipulations, and using the exponential
representation for the sin and cos functions, we obtain:
(C.5)
This is the Fourier integral formula; it provides the origin of the Fourier
transform and its inverse. For, if we were to define:
(C.7)
We may now observe that, in the spirit of the general integral transform pair
given in Eqs. (C.l} and (C.2}, Eq. (C.6) expresses the transform of the function
f(t}, and Eq. (C.7) the corresponding inverse. Thus,J(m) defined as in Eq. (C.6)
is called the "Fourier transform" of f(t), and Eq. (C.7) is the corresponding
inverse "Fourier transform" formula by whichf(t) is recovered fromJ(m). Note
that the domain of f(t) is infinite.
Note that if e-<'1 1f(t) I < M then it is also true that e-<'llf(t) I < M for all a1 >a;
therefore, the a required by Condition 2 is not unique. Now, let a be the
greatest lower bound (infimum) of the set of a values for which Condition 2 is
satisfied: then a is called the "abscissa of convergence" of the function f(t).
Now, by virtue of Condition 2 and this definition of the abscissa of
convergence, for any function satisfying these two conditions, the following
composite function:
0; t<O
¢(t) = { (C.8)
emf(t); t> o
is guaranteed to be Fourier transformable regardless of whether J(t) is or not
Introducing Eq. (C.8) into Eq. (C.5) gives:
so that:
f(t) = _!_f
21r _..
e<a+ jm)l [ j ( 7:)e-<a+
0
j(J))~ d1: dro (C.9)
s = a +jro (C.lO)
j(t) = lim ~
1 fa+jtJJ e" iooj("()e""'T d'l:ds (C.ll)
tJJ ..... 1CJ a-}t» 0
and now, by defining:
Jcs> = [ f(t)e-" dt (C.l2)
0
fi.t) = lim
w-+-
~
1r}
f a+j(J)
a-j(J)
f(s) e'' ds (C.13)
r and of
The Laplace transform of a Junction f(t) that is piecew ise regula
ential order is given by Eq. (C.12); the corresponding inverse
expon
transform is given by Eq. (C.13).
C.3.2 Prope rties and Usefu l Theor ems of Laplace Trans forms
Basic Properties
1. Linear ity
(C.l4)
d.
Extension to linear combination of n functions is straigh tforwar
(C.17)
is very useful in
and an nth derivat ive is turned to an nth power of s. This result
ns from differen tial equatio n models ; it provid es the
obtaini ng transfe r functio
1182 APPENDIXc
3. Transform of Integrals
~'.!''·
f' (C.l9)
n.
(C.21)
L-l {-1}=
s+a
e-o' (C.22)
6. Time Shift
L{ft:t- a)} = e-o• J(s) (C.23a)
Conversely:
(C.23b)
Conversely:
1183
LAPLACE AND z-TRANSFORMS
')
J(s) = In [{Lill]
(s _ 1)
because
dJ(s) = ;+I
d.;
1
- ~
l
which may be used to deduce, for example, that since L[1] = 1/s, then:
n!
L{t"} = li+l
s
(C.27)
(C.28)
then
1184
APPENDIX c
L{f{t)} = ~
1 - e-Ts
(C.29)
J(s) = 1 l -slit
-e (C.30)
lim f(t)
t-+-
= s-+0
lim [s J(s)] (C.31)
J
provi ded s (f) does not becom e infini te for any
value of s with a positi ve real
part; i.e., s J(s) has no positi ve poles . (The
theor em is appli cable only to
funct ions for which the limit as t ~ oo exists
.) This resul t is very usefu l for
obtai ning the stead y-stat e gain of a (stable) proce
ss from its transf er function.
11. Initia l-Val ue Theo rem
L{ f~ f(t- ..l.)g(A.) dA.} = i{ f(A.)g (t- A.) dA.} = j(s) 8<s) (C.33)
~(t) = r
0
f(t _ A.)g(it) d..l. (C.34b)
LAPLACE AND z-TRANSFORMS
1185
It has the following properties :
The commutat ivity property is employed , for example, in the first equality in
Eq. (C.33).
(C.35)
and for simplicity, let us assume that all the initial condition s are zero. Taking
Laplace transform s of both sides (and for convenience, simplifyin g the notation
by dropping the " used to distinguis h the Laplace transform ed function), we
have, from Eq. (C.l8), that
(C.36)
(C.37)
For any specific forcing function, j(t), with a Laplace transform , j(s), in
principle, the solution of the differential equation, y(t), is now that particular
function whose Laplace transform appears on the right-hand side of Eq. (C.37).
It is impractic al to construct a Laplace transform table general enough to
contain all possible functions, y(t), and their correspon ding transform s, y(s);
thus in its present general form, Eq. (C.37) cannot be inverted to obtain the
required y(t). However , it is possible to express the right-han d side of
Eq. (C.37) as a sum of simpler functions whose inverse transform s are easily
found. For example, if for a given j(s), the n roots of the denomina tor
polynomi al in Eq. (C.37) are real and distinct, and given as rp r , ••• , rn, then it
2
is possible to express Eq. (C.37) as:
AI A2 A.
y(s) = - - + - - + ... + - - (C.38)
s- r s-
1 r2 s- r.
In this case:
(C.41)
g by (s- r 1) gives:
and we want to find Ai, i = 1, 2, ... , q. Multiplyin
(C.43)
I
I
1187
LAPLACE AND z-TR ANSF ORM S
In general:
(C.44)
Solu tion:
AI A2
(s + 5) --+--
(s + 2)(s + 3) s+2 s+3
Solu tion:
:
Factoring the denominator quadratic gives
(s 2 + Ss + 1)
R(s) = s(s + 2)(s + 3)
so that:
(s 2 + Ss + 1)
s(s + 2)(s + 3)
Clearly:
' (? + 5s + 1)/s(s + 2)
j
f
l''
r 1188
APPENDIXC
( Thus:
I
ew_ = (-AI
R(s) =
Q(s)
- + ... +
s-r 1
Aq-k )
+ P*(s )
k (C.47a)
s-rq -k (s-r m)
or
Bk = }~n;.
To simp lify the nota tion , if we defin
0
[ (
s- rm )k ..fl&
Q(s) .J (C.49) I
e:
(C.5 l)
The othe r Bi coef ficie nts are obta
ined by diffe rent iatio n. Obs erve from
Eqs. (C.47) and (C.48) that:
(C.53)
or
(C.54)
__1_[
Bj- (k-j) !
tfk-j) 4i*(s)J
J.s(k-J) s=rm (C.55)
Rs - I
( ) - s(s 2 + 6s + 9)
Soluti on:
I
R(s) = ~(s + 3)2
s(s + 3) 2
P(s) =
I
<P*(s) = ;
then we have:
l
I
l
9
s(s
and R+(s) is the remaining portion of R(s). H we let <fJ+(s) be what is left of R(s)
after (s - r)(s - r•) has been removed, i.e.:
then C1 and C2 are obtained in the usual manner, by multiplying in tum first by
(s- r), and settings =r, and then by (s- ,.) and settings =,.; the result is:
cI -[~]
- (r-1'*) (C.59)
Cz - -[~]
(I'*- r) (C.60)
Solution:
R( s ) -- 4
s(s - r)(s - r*)
with
r = - (1 + ;); r* = - (1 -f)
and we wish to expand this as:
4 AI Cl C2
s(s - r)(s - r*) -; + (s + I + f) + (s + i - j)
In this case:
4
<fJ+(s} = -
s
c2 = -1 +j
4 2 (-1-i) (-l+j)
s(s - r)(s - r*) = -; + (s + I + j) + (s + I - j)
Note from Eqs. (C.59) and (C.60), and also from the example, that C1 and C2
will naturally occur as complex numbers. This is awkward if the end result is
not merely partial fraction expansion, but the Laplace inversion to obtain R(t).
For this reason, Eq. (C.56) is often consolidated to:
(C.61)
where we have made use of the fact that C2 = C1*, the complex conjugate of C1•
It is now easy to show that Eq. (C.61) simplifies to:
(s - a) 2{3 b R+( )
R( )
s = 2 a (s- a)2 + b2 - (s- a)z + bz + s (C.62)
where
f3 - Im(C 1) -- [~]
Im (r _ r*) (C.63b)
Thus, for the function in Example C.4, a= -1, b =-1, a= -1, f3 = -1, and the
inverse transform is:
where R1(s) is now strictly proper and can therefore be expanded as before. It is
easy to show that A 0 is given by:
R (s 2 +4s+3)
(s) = (s 2 + 9s + 20)
Solution:
obtaining in the usual manner that A 1 =3, and A2 =-8. The complete partial fraction
expansion is now given by:
LAPLACE AND z-TRANSFORMS 1193
Reference [1] should be consulted for more information about the Laplace .
transform and its application in engineering, A table of Laplace transforms of
some common functions is provided below in Table C.1. References [2,3] contain
more extensive tables of Laplace transforms.
J(s) J(t)
-
1
1. 1
5
1
2. - t
52
1 t" -1
3. -
s" (n- 1)!
4. 5 -3/2 2{f
5. r~) (k~ O) f-1
s
6. ~(k~O) tk -1e-at
(s + a)k
1 -- e....,,
7a.
s+a
7b.
1
-- -1 e -1/r
+1
'tS 'r
1 1-e-ttr
8.
s(ts + 1)
1
9a. te-• 1
(s + a) 2
1 t
-e-tlr
9b.
(ts + 1)2 r-
1
10. 1 - (1 + t/-r)e -tlr
s(-rs + 1?
1 1 - t" -1 e-at
--
lla. - -11 (n = 1,2, ... )
(s +a) (n- 1)!
1 1 tn-1 e -1/r
llb. )" (n = 1, 2, ... )
(-rs + 1 -r"(n- 1)!
1 _l_(e-at- e-bt)
12. (b- a)
(s + a)(s + b)
l
1194 APPENDIXC
Table<:L Continued
J(s) f(t)
13.
s ~be_,,-
( )
ae-•')
(s + a)(s +b)
14.
1
s(s + a)(s + b)
1 - {be_., - ae-b')
_!_ [ 1 + -(a-b)
ab
J
b sin bt
15. s2+~
b sinh bt
16. s2-b2
s cosbt
17. 52+ b2
s cosh bt
18. s2-b2
b2
19. (1-cos bt)
s (5 2 + b2)
b e-~~ 1 sinbt
20.
(s + a) 2 + b2
s +a
21. e"""' cos bt
(s + a) 2 + b 2
(C.66)
(C.68)
The integral is easily evaluate d by invoking the property of the delta function,
and Eq. (C.68) becomes:
(C.69)
us
This should now be compare d with the Laplace transform of the continuo
function, j(t):
(C.12)
and refer to the resulting L[f"(t)] as the "z-transform" of f(t), then Eq. (C.69)
becomes:
(C.71)
1196 APPENDIXc
which is the "formal" definition of the z-transform of the sampled signal f'(t}.
Because Eq. (C.69} is a valid Laplace transform, its inverse transform is
given by Eq. (C.13); and upon introducing the transformation in Eq. (C.70), we
obtain:
J(t1,) = f*(t)
.
1
= -2 .
19 ,,f"J<z> zk -z · dz
(C.72)
where
''2I =
= e-{a-jm)/>1
e-{a+jt»)/>1
j
l
Thus unlike the other integral transforms for which the transform and its
inverse appear symmetric, the z-transform and its inverse appear to be
nonsymmetri c. However, this is merely an artifact of the notational
convenience employed: in its "fundamental " (if not entirely practical} form, the
transform is actually as shown in Eq. (C.67), and it is as symmetrical with the
l
1
inverse in Eq. (C.72), as Eqs. (C.12) and (C.13) are.
As with Laplace transforms, it should be noted that the inverse transform
1 formula is hardly ever used for inverting a z-transform. It is customary to use
! Tables of z-transforms, an example of which is presented at the end of this
l section.
I
nature of discrete signals, some of these properties have no equivalent for the
Laplace transform; by the same token some of the properties of the Laplace
transform also have no precise z-transform equivalent.
f
1. Linearity
Also:
Z(J(k + 2)} = i-J(z)- z2fl0) - z.f\1) (C.76)
and in general:
or
(C.78)
then
(C.83)
In general:
m-1
Z{t1"'.1\k)} = (z-1)mJ(z)-z L,(z-1)m-i-It1:t\:O) (C.84)
i= 0
(C.86)
then
(C.87)
and in general:
(C.88)
5. Compl ex Shift
j(k), then the
If the functio n j(t) is sample d with sample time ~t to obtain
sample d version of the functio n e-<~l_f(t) is ri'j(k) where:
(C.89)
6. Transform of Sums
(C.92)
and in general:
(C.94)
n f(k) = 1{k) is
Typical application: since the z-transform of the unit step functio
the z-trans form of the unit ramp
known to be 1/(1 - z- ), then
1 by Eq. (C.93),
function j(k) = k is obtaine d as:
1199
LAPLACE AND z-TRANSFORMS
8. Complex Integration
(C.95)
ations
C.4.3 Sol utio n of Linear Difference Equ
z-tra nsfo rm find s appl icati on in the
As with the Laplace tran sfor m, the
Consider the linear difference equation:
solu tion of linear difference equations.
(C.99)
b u(k- 1) + ... + bmu (k- m)
y(k) + a 1y(k- 1) + ... + a,Y( k- n) = 1
y(z)
(C.IOO)
Solutio n:
or, introducing the z-transform of the unit step function for u(z):
1.5z- 1
(C.102)
1.5z-1 AI A2
(I z- 1)(1- 0.7z- 1) = (1- z- 1) +(I- 0.7z- 1) (C.103)
Since the roots of the denomi nator polynomial are real and distinct
(they are located at
z = 1 and z = 0.7), we proceed as in Section C.3.4: multiplying in
Eq. (C.l03) by (1-z-1)
LAPLACE AND z-TRANSFORMS 1201
and setting z = 1 we obtain immediately A 1 = 5. Similarly, multiplying by (1- 0.7z-l)
and settings = 0.7 gives A2 = -5.
Thus, by partial fraction expansion Eq. (C.102) becomes:
(C.l04)
from where the required solution is obtained from the inverse z-transform of
Eq. (C.104) as:
0.8- 0.3z- 1
(C.l06)
Solution:
Because of the repeated pole at z = 1, we wish to expand the RHS of Eq. (C.106) as:
0.8- 0.3z-l AI B2 81
(I - z-IJ2(1 - o.sz-1) = 0- o.sz-I) +(I - z-1)2 + (1 - z-1)
We obtain A 1 = 0.2 in the usual manner: multiply by (1 - O.Sz-1) and set z = 0.5. And
now:
d * -0.1
dz<P (z) = (z - 0.5 )2
from where we now obtain B1 as..:. 0.4 by setting z =1. The required complete partial
fraction expansion is therefore:
The references given below should be consulted for more information about the
theory of the z-transform, and its various applications.
A table of z-transforms of some common functions is provided below in Table
C.2; Table C.3 contains some common s transfer functions and the correspondin g
pulse transfer functions incorporating the zero-order hold element.
1202 APPENDIX c
Table c.2 Table of z -Transforms of Some Common Functions
(Sample Time = M)
1. -1 1(t) 1(k)
1
s 1- z-1
1 .M.z--1
2. ;2 t kM
(I- z-1)2
(n -1)!
3. sn t"- 1 (kl:J.t)" -1 lim 1
a-+0 ( - )
n-1
~~
z)
1 1
4a. - -
s+a
e-at e-akt>t
1- e-a~>tz-1
1
4b. - - pk
1- pz-1
1 Llte-•~>~z- 1
5. te-at kMe-akAt
(s + a) 2 (1 _ e-al>tz-1 )2
s 1 - (1 + aM)e-a~>tz- 1
6. (1- at)e-at (1 - akllt)e-ak4t
(s + a) 2 {1 _ e-at>tz-1)2
a {1 - e-a~>~~z- 1
7a. 1-e-<'' 1-e-akl>t
s(s +a) (1- z-1)(1- e-aMz- 1)
(1 -E)z-1
7b. - - 1-pc
(1- z- 1)(1-pz-1)
Sa.
b-a
(s + a)(s +b)
e-<1'- e-bt ,..w_ e--bkl>t (e-al>t_ e-bl>t~z-1
(1 - e-al>tz-1)(1- e-bl>tz-l)
(Pt- P2)z-l
Sb. - - (pl)k - (p2)k
(1- Ptz-1)(1- p2z-l)
b z-1 sinbM
9. sin bt sin bkM
(s2 + b2) (1 - 2r1cosMt + z-2)
s 1- z-1cosbM
10. cos bt cos bkllt
(s2 + b2) (1 - 2z-1cosMt + z-2)
l
Table C.3. Some Common Continuous Transfer Functions and Equivalent Pulse Transfer
Functions with Zero-Order Hold Sampling.
~
Q
(Sample Time = M)
~
b z-1 + b z-2 ~
~
g(s) g(z) = 1 2 g(k)
1 + a1 z-1 + a2 z-2
'T1
1.
1
s
b1 = flt; b2 =0 fltlk-1 ~
a1 = -1; az = 0
1 flt 2 flt2 kflt2 (k -1) flt 2
2. ·b
b1---2 , 2-
-2- -+
s2 2 2
a1 = -2; a2 =1 I
1 =0
4. bl = (1 - e-Af/'9; b2 bl pk-1
'tS +1 a1 = -e-Ath; a2 = 0 bl = (1 - p); p = e-Af/t
or: (pk- 1 - pk)
....
N
0
w
r~..........-~·-- -.. . . . . .
~Q:.,~~-I\IIi-14 .a $ ($W. I .. • I 0 rr•• U444W*.....-:T A
u
?::: Table C.3. Continued
@
~
() b1 z-1 + b2 z-2
g(s) gz = g(k)
1 + a1 z-1 + a2 z-2
5.
1
s ('tS + 1)
b1 = 't
b2 = 't
= -(1
f'
":t -
1 - e-At/-r - ~
1 + e-At/-r ;
~t e-At/~
b1
1-p
-:c -
e·
bl = 't
~
b2
- - (1 - pk) + - - (1 -.pk-1)
1-p
1 + p
a1 + e-At/-c) b2='t(1-p-~t p
~ = e-Atl-c p = e-Atl-c
or: lit - 't {pk- 1 - pk)
ab [b {1 - e-<~At) - a(1 - e-bAt)] b1 (
6. b1 = - - P1k- Pl) + b2
--(_p k-1- p2k-?
(s + a)(s + b) (b- a) P1 - Pz P1 - Pz 1
[tze"dl' (1 - e-b<\1) - IJe-bAt (1 - e-<141)] b _ [b (1 - p1) - a (1 - p2))
(a *-b) bz = 1 -
(b -a) (b- a)
al = -(e--<IAI + e-hAt) b _ [apt (1 - P2) - bpz {1 - Pt~
2 - (b- a)
a2 = (e--<IAI) (e-bAt) Pt = e-aAt
P2 = e-bAt
""
0
N
,....,
R o ~ 0 ........ -·-· R • - - - - - •
~~-c-.~
~
Table C.3. Continu ed
~
~
g(s) bt z-1 + b2 z-2
g(z) =
1 + at z-t + a2 z-2 g(k)
7.
~
(s + a'f
bt =1 - (1 + a.dt) e-<Uit
b2 = e-<~"" (e-a"" + a.dt - 1)
a1 = -'2.e-«41
btlql'-t + b2(k- 1)pk- 2
b1 = 1 - (1 + at:..t) p
I
b2 = p (p + at:..t - 1)
a2 = (e-aM)2 p = e-<~At
or: [(1 - aM) pk- 1 - pi]
8.
1
Ql= ~ ;~<1 I
---- ---~~
-----
----
- -------- ....
"'
Q
tro
u
>< Table C.3. Continued
iS
i1i
§:
~
Pt = e-<lAI
a2 = (e"'""AI) (e-I'AI)
Pz = e-bAt
-
- -- ·- - -- ·- --
I.C
<::>
,....
"'
LAPLACE AND z-TRANSFORMS 1207
A general reference that covers several aspects of Laplace transforms theory and
applications is:
More extensive tables of Laplace transforms may be found, for example, in:
A detailed treatment of the theory and application of z-transforms may be found in Ref. [4);
a more abbreviated but useful discussion may be found in Ref. [5]. Each of these references
contains more extensive tables of z-transforms Ref. [6] contains many worked examples of
partial fraction expansions for rational polynomials in the z variable.
4. Jury, E. I., Theory and Application of the z-transform Method, J. Wiley, New York (1964)
5. Kuo, B. C., Analysis and Synthesis of Sampled-Data Control Systems, Prentice-H all,
Englewood Cliffs, NJ (1963)
6. Ogata, K., Discrete-Time Control Systems, Prentice-Hall, Englewood Cliffs, NJ (1987)
i
~
j
APJPJENDJIX
D
REV IEW OF MAT RIX ALGEBRA
(D.l)
1209
1210 APPENDIXD
B
only A and C can be added or subtracted; because its dimensions are different,
cannot be added to, or subtracte d from, either A or C. The swn of A + c = D can
be written:
(D.3)
(or
Thus addition (or subtracti on) of two matrices is accomplished by adding
matrices. These operation s
subtracti ng) the correspo nding elements of the two
to any number of matrices of the same order. In
may, of course, be extended
particula r observe that adding k identica l matrices A (equival ent to scalar
the
multiplic ation of A by k) results in a matrix in which each element is merely
of A multiplie d by the scalar k. Thus, when a matrix is to
correspo nding element
each
be multipli ed by a scalar, the required operatio n is done by multiply ing
element of the matrix by the scalar; for example, for A given in Eq. (0.2):
(D.4)
[ : : ] + [ : : ] = [ ;5 :4 ]
4[ 6 : ] - 3[ : : ] = [ ~: :I ]
REVIEW OF MATRIX ALGEBRA 1211
D.2 MULTIPLICATION
Matrix multiplication can be performed on two matrices A and B to form the
product AB only if the number of columns of A is equal to the number of rows in
B. H this condition is satisfied, the matrices A and B are said to be conformable in
the order AB.
Let us consider that A is an m x n matrix (m rows and n columns); then to
form the product P= AB, B must bean nxr matrix (n rows and rcolumns). The
resulting product Pis then an m x r matrix (m rows and r columns) whose
elements Pij are determine d from the elements of A and B according to the
following nile:
n
Py·· L a 1bk.~ i =1, 2, ... , m; j =1, 2, ... , r
= k=l I
(D.5)
The following are some simple examples to illustrate how matrix multiplication is
carried out.
[
(3Xl+4X2 ) (3X2+4X 5}] [ 11
= -4
26
-9
J
= (-2xl-lx 2) (-2x2-lx 5)
1212 APPEN DIXD
,
3.
Unlike in scalar algebra, the fact that AB exists does not imply
For example, if A is m x n and B is n x
BA does not exist since the dimens ion n
r,
x
then
r is
AB
not
But if instead B had been an n x m matrix, then both
only in cases where the numbe r
numbe r of rows of 8, and the
of
numbe
column
r of
s
rows
of
of
exists
conform
A
A
(n
and
able
AB
in
(min
produc ts
is
this
of
with
and
this
AB
that BA exists.
order
BA
m
case)
case)
and
x
m x r, but
n.
exist.
equals
equals
BA.
Thus,
the
the
Note,
II
numbe r of column s of B, can we form both the
BA will be of
however, that in this case, the order of AB will be m x m while
order n x n, so that, in general:
(D.7)
cation
In matrix algebra, therefore, unlike in scalar algebra, the order of multipli
is very important.
or to be permutable.
Those special matrices for which AB = BA are said to commute
Exampl eD.3 NON COMM UTATIV ITY OF MATRI X MULTI PLICAT ION.
=[ 19 22 J
43 50
and BA:
REVIEW OF MATRIX ALGEBRA 1213
=[23 34]
31 46
: :l
then
a 11 a21 ]
AT = [ all an (D.8)
al3 a23
AD [ 19 22]
43 50
so that
(AB)T =[ 19 43 J
22 50
Now:
so that
we have that:
Tr(A) = (1 +4) =5
and
Tr(C) = (0+2+1) =3
REVIEW OF MATRIX ALGEBRA 1215
0.4.2 Determinants and Cofactors
Of all the scalar properties of a matrix, none is perhaps more important than the
determinant. By way of definition, the "abs"olute value" of a square matrix A.
denoted I A I , is called its determinant. For a simple 2 x 2 matrix:
(0.12)
(0.13)
For higher order matrices, the determinant is more conveniently defined in terms
of cofactors.
Cofactors
The cofactor of the element aij is defined as the determinant of the matrix left
when the ith row and the jfh column are removed, multiplied by the factor
(-l)i+i. Forexample,letusconsiderthe3 x3matrix:
(0.14)
(0.15)
(0.16)
For the general n x n matrix A whose elements a;i have corresponding cofactors
cii' the determinant I A I is defined as:
n
IAI = L a;Fij (for any column j) (0.17)
i ~t
1216
APPENDIXD
or
n
IAI = ft,a;F;i (for any row i)
(D.l8)
Eqs. (D.l7) and (D. IS) are known as the Laplace expansion
formulas; they imply
that to obtain I A I :
·
1. Choose any row or column of A
2 Evaluate the n cofactors corresponding to the elements in
the chosen row
or column.
3. The sum of the n produ cts of eleme nts and cofact
ors will give the
requir ed determ inant. (It is impor tant to note that the
same answer is
obtained regardless of the row or column chosen.)
That is:
(D.I9)
It is easily shown that the expansion by any other row or
column yields the same
result.
IAI = 1 I : : I -21 : : I + 31 : : I
1 (45 -48)- 2 (36 -42) + (32- 35)
-3+12 -9 = 0
Thus for this matrix, IA I = 0. We will have cause to refer to this matrix later on.
REVIEW OF MATRIX ALGEBRA 1217
Properties of Determinants
The following are some important properties of determinants frequently used to
simplify determinant evaluation.
1. Interchanging the rows with the columns leaves the value of a determinant
unchanged.
The main imrlications of this property are twofold:
(a) I A I = AT I;
(b) Since rows and columns of a determinant are interchangeab le, any
statement tluzt holds true for rows is also true for columns, and vice versa.
2. If any two rows (columns) are interchanged, the sign of the determinant is
reversed.
4. Multiplying the elements of any one row (column) by the same constant
results in the value of the determinant being multiplied by this constant
factor; ie., if, for example:
Dl = ~I ~ ~ and Dl = ~I ~ ~
~I ~2 0 33 ~I all "l3
thenD2 =kD1
5. If, for any i and j ( i "# j) the elements of row (column) i are related to the
elements of row (column) j by a constant multiplicativ e factor, the
determinant is zero; i.e., if, for example:
thenD2 =Dl' ..
1218 APPENDIXD
the expansion combining the elements of row 1 with the cofactors of row 2 gives:
and similarly:
j=k
(D.20)
i*k
and for any row i:
n
I,a..c1.
__ {IAI; i=k
(D.21)
J= 1 ' 1 ~ 0; i*k
0
REVIEW OF MATRIX ALGEBRA 1219
a diagonal matrix with the determinant of A on the main diagonal. We shall
refer to this result later.
Rank of a Matrix
The rank of a matrix is defined a5 the order of the highest nonvanishing minor of
that matrix (or, equivalently, the order of the highest square submatrix having a
nonzero determinant). In Example D5, for instance, the 1st minor (of order 3)
vanished, but none of the 2nd minors (of order 2) vanished; the single elements
of the matrix- nine in all- are themselves minors (of order 1), and all are
nonzero. Of the non vanishing minors, therefore, the highest order is 2. Thus, A
in Example D.5 is of rank 2. A square n x n matrix is said to be of full rank if its
rank= n; the matrix is said to be rank deficient if its rank is less than n.
In several practical applications of matrix methods, the rank of the matrix
involved provides valuable information about the nature of the problem at hand.
For example, in the solution of a system of linear algebraic equations by matrix
methods (see Section D.7 below), the number of independent solutions that can be
found is directly related to the rank of the matrix involved.
and
0 0
1 0
0
0 0
IQ= Q= QI
(D.23)
for any general matrix Q of conforma
ble orde r with the mult iplyi ng iden tity
matrix.
is an orthogonal matrix.
(D.24a)
Some examples of symmetric matrices are:
I
REVIEW OF MATRIX ALGEBRA
1221
B=r ~ ~ ~2 J
... 5 -2 4
Thu s a sym met ric mat rix and its
transpose are identical, i.e.:
(D.24b)
A skew-symmetric mat rix is one for
which:
(D.25a)
The following are som e examples
of such matrices:
(D.25b)
By noti ng that aij can be exp ress
ed as:
(D.26a)
(D.26b)
6. Her mit ian Mat rice s
Wh en sym met rica lly situ ated
elem ents in a mat rix of com plex
complex conjugates, i.e.: num bers are
(D.27)
the mat rix is said to be Hermitian.
For example:
[
3 (2-3 j) J
(2+ 3j) 5
is a Her miti an matrix. Not e that
the (real) symmetric mat rix is a spec
Her miti an mat rix in whi ch the coef ial form of a
ficients of j are absent.
7. Sin gula r Mat rice s
A mat rix who se dete rmi nan t is
zero is said to be singular. Thu s,
mat rix enc oun tere d in Exa mpl for exa mpl e, the
e D.S is a sing ular mat rix. A
dete rmi nan t is not zero is said to mat rix who se
be nonsingular.
1222 APPENDIXD
8. Idempotent Matrices
A matrix A is said to be idempotent if:
AA =A (D.28)
(D.29)
The inverse matrix A -I does not exist for all matrices; it exists only if:
1. A is square, t and
2. Its determinant is not zero (i.e., the matrix is non-singular).
and, as defined previously, C;j is the cofactor of the element aij of the matrix A.
cT, the transpose of this matrix of cofactors, is termed the adjomt of A and often
abbreviated adj (A). This expression for the matrix inverse may be seen to follow
directly from Eq. (0.22) and the definition of the inverse in Eq. (0.29).
ij •
+Generalizing the concept of an inverse to include nonsquare matrices will be discussed
shortly.
REVIEW OF MATRIX ALGEBRA
1223
Clearly because I A I = 0 for singular matrices, the matrix inverse as
expressed in Eq. (D.30) does not exist for such matrices.
It should be noted that
Let us illustrate the foregoing discussion by obtaining the inverses of the following
three matrices:
from where the reader may want to verify by direct multiplica tion that
AI (Airl = (AirlAI = l
Next we observe that determinan t of the 3 x 3 matrix A was obtained in
Example 0.5 as zero; thus it is a singular matrix, and therefore (~)3t does not exist.
The determinan t of~ may be obtained by expanding in the cofactors of the first
row, i.e.:
~~~ = 2 1: : 1-2 1: : I + 3 1: : I
2 (45-48)-2 (36-42) + 3 (32-35)= -3
Thus the matrix is nonsingula r, and we may proceed to compute the inverse. We
recall from the definition of cofactors that the nine cofactors of A are obtained as:
1224 APPENDIX D
r
and the reader may in similar fashion verify that (A 3 1As is also equal to I.
I
REVIEW OF MATRIX ALGEBRA 1225
containing the unknowns .,, '2, .13 can be represented by the single matrix
equation:
Ax= b (D.33)
where
which becomes:
(D.35)
upon recalling the property of a matrix inverse, that K 1A =I, and recalling
Eq. (0.23) for the property of the identity matrix.
There are several standard, computer-ori ented numerical procedures for
performing the operation A - 1 to produce the solution given in Eq. (0.35). Indeed,
the availability of these computer subroutines makes the use of matrix techniques
very attractive from a practical viewpoint
It should be noted that the solution Eq. (0.35) exists only if A is nonsingular,
as only then will A- 1 exist When A is singular, K 1 ceases to exist and Eq. (0.35)
will be meaningless. The singularity of A of course implies that I A I =0, and
from property 5 given for determinants in Section 0.4, this indicates that some of
the rows and columns of A are linearly dependent. Thus the singularity of A
means that only a subset of the equations we are trying to solve are truly linearly
independent; as such, linearly independent solutions can be found only for this
subset It can be shown that the actual number of such linearly independent
solutions is equal to the rank of A.
To illustrate the use of matrices in the solution of linear algebraic equations, let us
consider the set of equations:
7x,_ + &:2 + 9x 3 5
Ax = b
1226 APPENDIX D
where A, b, x are:
Notice that A is simply the third matrix whose inverse was computed in Example D.6,
i.e.:
Ii
Thus, from Eq. (0.35), the solution to this set of algebraic equations is obtained as:
I
Thusx 1 =0, x 2 =1, x 3 =-1/3 is the required solution.
Let us now alter the coefficient of xt in the first equation from 2 to 1 so that we
now have the following set of equations to solve for the three unknowns:
x 1 + 2x 2 + 3x 3 1
4x1 + 5x 2 + 6x 3 3
7x1 + Sx2 + 9x 3 5
a matrix whose determinant had previously been obtained as 0 and whose rank was
later identified as 2. The immediate implication is that since A is singular, we cannot
solve this new set of equations for all the three unknowns.
Observe now that by adding the first and third equations we obtain an equation
that is exactly twice the second equation; thus, the three equations are in fact not
completely independent . It is easily shown that we can solve these equations
independent ly only for two of the unknowns; the third unknown can only be
obtained as a linear combination of these two. Thus there are only two linearly
independent solutions to this new set of equations, exactly the same as the rank of A.
l
REVIEW OF MATRIX ALGEBRA 1227
D.S GENERALIZED INVERSES
Consider the general problem of solving m linear algebraic equations:
(D.36)
containing the n unknowns J1, x 2 , x 3 , ••• , x,.. Observe that this system of
equations, as in Eq. (D.32) can also be represented by the single matrix equation:
Ax= b (D.33)
au a,2 a,.
..
A=
0 21
a3l
am!
On
a32
am2
~
~
amn
.
·-[i} ·=[i] (D.37)
CASEl: m=n
CASE2: m >n
CASE3: m < n
X = A- 1b
(D.35)
(It is easy to establish that whe neve r the
n x n matrix A is singular, the prob lem
redu ces to a Case 3 prob lem with m -no
w less than n- being equal to the rank
of the rank-deficient A.)
In each of the othe r two cases, solutions
of the form given in Eq. (D.35) can be
obta ined but only after impo sing addi tiona
l conditions as we now show.
Overdefined Systems
The prob lem here is that there is no
vector x for whic h Ax exactly equa ls
How ever , it is possible to obta in a solu b.
tion in whic h Ax is "closest" tob in the
"leas t squa re" sense by finding a vector
Q that minimizes:
¢J = (Ax -bl( Ax -b)
(D.38)
By appl ying the usua l tech niqu es of
calculus, it is easy to show that provi
(ATA) is nonsingular, this "least squa res ded
solution" vector is given by:
(D.39a)
or
(D.39b)
whic h is of the form in Eq. (D.35) with AL
defined by:
AL = (ATAriAT
(0.40 )
now play ing the role of A-1.
.
Note the following abou t AL defined by
Eq. (D.40):
1. ALi sann xmm atrix whil e Ais mxn
AALA =A
(D.41)
while post mult iplyi ng by A L gives:
(0.42 )
Because only whe n A is multiplied on
the ieft by If do we get an identity matr
A L is called a left inverse. ix,
REVIEW OF MATRIX ALGEBRA
1229
Underdefined Syst ems
The prob lem here is that there is an infinite
set of vectors x for whic h Ax exactly
equa ls b. How ever, it is possible to obtain a
solut ion vector x of minl lnum norm
by posin g the following constrained optimizatio
n problem:
Min cp =
subject to: Ax = b
t (XI"x)
(D.43a)
or
X = Ai1> (D.43b)
whic h, once again , is of the form in E"q. (0.35
) with A R defin ed by:
AR = AT(A A!tl
(D.44)
now playi ng the role of A-1.
(D.45)
while pre multi plyin g by AR gives:
(D.46)
In this case, we obtai n an ident ity matri x only
when A is mult iplie d on the right
by K; therefore AR is called a right inverse.
Noti ng the simil aritie s betw een Eqs. (0.41
) and (D.45), and also the
simil aritie s betw een Eqs. (D.42) and (D.46
), we can now state the following
results:
The gene ral syste m of linear algebraic equat
ions in Eq. (0.33):
Ax= b
(0.33 )
with A as a gene ral m x n matri x (for whic
h m is not necessarily equa l to n) has
the solution:
1230 APPENDIXD
J
3. Either: A+A= I (for the left inverse)
or: AA+=I (for the right inverse)
Observe that A-t, the regular inverse of a square, nonsingular matrix satisfies all
these conditions. Thus A-t is actually a special case of A+, and t."l)e above is
therefore the most general description of the inverse of any matrix. Note, finally,
that only A"" 1 is both a left and a right inverse; if Eq. (D.33) is a..1. overdefined
system of equations, then a least squares solution can be found only via a left
inverse; for an underdefined system of equations, a minimum norm solution can
be found only via a right inverse.
a set of three equations in two unknowns. Observe right away that the system is *t
overdefined by one equation, and there is no single set of values for xt and x 2 that will t
simultaneously satisfy all three equations. These equations may be written in the '
form Eq. (0.33):
Ax = b (D.33)
In this case:
(D.48)
and from Eq. (0.47), the "least squares" solution is obtained from:
(D.47)
(ATArl = I [ 6
50 -2
~2 ]
so that A+ is given by:
2 14 -10
A+
;0 [ I6 -I3 -5 ] (0.49)
and
+
x=Ab= I [
50
2
16 -13
14 -10
-5 J[:J
which, upon evaluation, gives:
We now note that the solution in Eq. (0.50) "satisfies" the system of equations only in
the least squares sense; i.e., of all possible x choices, this particular x given in
Eq. (0.50) provides an Ax that comes closest to b in the least squares sense.
We may also observe that, as asserted earlier:
14
+ 1 [ 2
A A = 50 16 -13
-10 ]
-5
1232
[ 0~ ~.N ~4]
--0.24 0.82 --0.3
APPENDIXD
(D.5I)
rI
--0.4 --0.3 0.5
Let us now consider the problem of solving the following set of equation
s:
Ax = b (D.33)
we would have:
A= [ II
2 3
(D.47)
I
where we now recall from Eq. (0.44) that:
f
and hence:
(M1)-1 1 [ 4 -10 ]
20 -10 30
REVIEW OF MATRIX ALGEBRA
1233
Thus, we have that A+ is given by:
-10 ]
30
or
-{),3
[ -{).1
A+ =
0.1 (D.53)
0.3
and therefore:
X= A+b = [ ~:~
0.1 00.5 ] [ 120 J
0.3 -{).5
(0.54)
The reader may now wish to verify that Eq. (0.54) does
in fact satisfy the system of
equations exactly, and that for the A given in Eq. (0.52)
and A+ given in Eq. (0.53),
AA + results in the 2 x 2 identity matrix, while A+ A
results in the 4 X 4 idemp otent
matrix:
1
'
(0.55)
or
(A-AI)x =0 (0.56)
Being a system of linear homogene ous equations, the solution to Eq. (0.55) or
"*
equivalently Eq. (0.56) will be nontrivial (i.e., x 0) if and only if:
IA-A.II =o (0.57)
This equation (or its determina nt form in Eq. (0.57)) is called the characteristic
equation of then x n matrix A; its n roots, A. 11 A. 2, A. 3, •••,A.,.- which maybe real
or imaginary, and may or may not be distinct- are the eigenvalues of the matrix.
At.~ = -5,2
REVIEW OF MATRIX ALGEBRA 1235
Thus in this case the eigenvalues are both real. Note that A- 1 + A. 2 = -3, and that
~~ = -10; also note that Tr(A) = 1 - 4 = -3 and I A I = -10. Thus, we see that
~ + ~ = Tr(A) and A- 1 ~ =I AI.
If we change A slightly to:
lA-AII = I I- It
-3
2
4 -.?..
=A? - 5A. + 10 0
which are complex conjugates. Note again that Tr(A) = 5 = A,. + lt 2 and I A I = 10 =
~~·
Finally if we make another small change in A, i.e.:
.?..2 - I +6 =0
which has solutions:
so that the eigenvalues are purely imaginary in this case. Once again Tr(A) =0 =.:1. 1 +
~and IAI =5= ~~·
Returning now to the original problem in Eqs. (D.55) and (D.56), we note that
every distinct eigenvalue It when substituted into Eq. (D.56) gives rise to a
corresponding nontrivial solution x; for which:
(D.59)
These nontrivial solution vectors are called the eigenvectors of A. Thus every
distinct eigenvalue ~._of A has associated with it a corresponding eigenvector x;,
j = 1, 2, ... , n. When some eigenvalues are repeated, some specialized
considerations - which we will not discuss here - are required. (See the
bibliography at the end of the appendix for more details.) We shall restrict
ourselves here to the case of distinct eigenvalues.
The following are some useful properties of eigenvectors:
l
1236
APPENDIXD
1. Eigenvectors associated with separate, distinct eigenvalues are
linearly
independent.
adj(A-A - 11)=[ I 2
- ]
-3 6
XI
[~]
{10
Similarly for A. 2 =
2:
[~I
2
(A-A. 21)
--{j ]
and
[~
-2
adj (A -..:1.21) =
-1 ]
Thus:
x2 =[; J
can be chosen as the eigenvect or for eigenvalue ~ = 2. The normalized eigenvector in
this case is:
Let us return again to the original eigenval ue/ eigenvector problem , and choose
the calculated n linearly indepen dent eigenvectors xi, j = 1, 2, ... , n to be the
columns of a matrix M, ;.e.:
(0.60)
M is called a modal matrix. Obviously, if the eigenvalues lti ~re distinct, then the
eigenvectors xi are all independ ent, and the modal matrix M will be nonsingu
lar,
and M""1 will a.tways exist.
This modal matrix is very useful in converting a matrix A to diagonal form.
Recall the eigenval ue/ eigenvector problem: to determin e the values of It i
for
which nontrivial solutions vectors xi can be found for:
j = 1, 2, ... , n (D.61)
For each j, the complete set of equations may be written more compactly as:
(D.62)
0
0
0 i]
a matrix whose diagonal elements are the n eigenvalu es of A, and observe that
(D.63)
the square bracket on the left-hand side in Eq. (D.62) is just the modal matrix M,
then we see immediate ly that the square bracket on the right-han d side is just
MA. Thus Eq. (D.62) may be written as:
AM= MA (D.64)
M-1AM =A (D.65)
Then x n matrix A is thus reduced to what is known as the diagonal canonical fonn
by using the transform ation Eq. (D.65). By pre- and postrnulti plying both sides
of Eq. (D.65) by M and M-1 respectively, one obtains the companion relation:
(D.66)
These two relations are very useful in the solution of linear algebraic and
differenti al equations as shall be seen later. Note that the latter relation in
Eq. (D.66) indicates that a square matrix A can be decompo sed into three
matrices involving only its eigenvalu es and eigenvecto rs.
discussed in Examples D.lO and D.ll. Recall that the eigenvalue s and eigenvecto rs
were determined to be:
while
[ ]
1 2
7 --::;
M""l
3 1
7 7
M"IAM
[; ;][: 2
-4 ] [ ~3
2
]
[ t -~] [ -5
4
] =[ :
0
]
~ 1 15 2 2
7 7
which verifies Eq. (0.65). Similarly, evaluation of the RHS of Eq. (0.66) gives:
Tr(A) = •L )...J
J=l
(D.67)
Here, r is the m X n matrix:
r = [ : :J:wi iliS
·[:
0
a2
0
0
0
0
_:
o;.
] (D.68)
(0.69)
(0.70)
w-1 = wr
Also:
yry = 1 = yyr
so that:
y-I = yr
A= wr,y r
(0.71)
It can be show n that analogously to the eigen
value / eigenvector expression
for squar e matrices in Eq. (D.61), we have the more
general pair of expressions:
(0.73)
(D.74)
whose eigenvalues are obtained as 10, and 5; thus the singular values of A are:
ordered such that q > "i as required by SVD analysis. Thus, the 3 x 2 matrix :E in
this case is given by:
(0.75)
2 ]
adj (ATA-l 11) =[ -4
2 -1
a possible choice for the eigenvector is the second column. Normalizing this with
.V 22 + 12 =--15, the norm of the vector, we obtain the first right singular vector v 1
corresponding to a 1 =i l las:
., - [;,]
Thus:
]
2 1
-{5 {5
V=[ {5
-\ 2
{5
*-
REVIEW OF MATRIX ALGEBRA
1243
and therefore:
[ ]
2 .::L
vr =
15 15
(D.76)
_J_ .1...
15 {5
The reader may want to verify that this Vis truly a unitary matrix by evaluatin
g vTv
as well as vvT and confirming that each matrix product gives the
2 x 2 identity
matrix.
i.e.:
~.Az.A.J = 10,5,0
Note that the nonzero eigenvalues of AATare identical to the eigenvalues
of ATA.
For A, =10:
To find the adjoint of this matrix, we first find the cofactors and take the
transpose of
the matrix of cofactors. In this case, this is easily obtained as:
as m Eq. (0.74). As an exercise, the reader may also wish lo verify Eq. (0.67) for this
example.
~ • Ax ; X(O)•"' (D.78)
Here M is the modal matrix described above. Substituting Eq. (D.80) into
Eq. (0.78) yields:
M"1M ~ = M"1AM.r(t)
or
4!!!l
dt = 1\z(f).• z(O)- ....
-v - M"'""'
"V
(0.82)
<t,(f)
dt • .t,z1(1) ; z1(0) • : 10
where
0 0 0 ""
is the ttllltrix trponmtilll for the diagonal matrix, A. The solution Eq. (D.83) may
be put back in terms of the original variables, 1(1), by using Eq. (0.79):
(D.87)
is called the mtltrix exponential of AI. It is very important to note that Eqs. (0.86)
and (0.87) provide the general solution to any set of homogeneous equations
Eq. (0.78) provided A has distinct eigenvalues.
(0.88)
where
Observe that A is the same matrix we have analyzed in Examples 0.10, 0.11, and
D.12sowealready know llse~genvalues, At•.!:!• and modal matrix, M. Thus, we have
that
-'1#-$t/2e2']
6<_, .;•
7
The extensiml of these ideas to provide solutions for the case of nonlumrogtneous
1/nesr dijfomttiAL tqUIIIUms:
when! the matrix exponentials, eA(t-~l, ~·~,may be evaluated using the relation
Eq. (0.87).
and
Substituting for ,AI, and ,.V"o calculated in lite Example 0.14, we obtain the solution:
1248 APPENDIXD
x(t) =
or
For the situation where the matrices A, B, r may themselves be functions of time, ;i
the solution requires a bit more computation. In this case: ~
Because A(t), B(t), r(t) may have arbitrary time dependence, the fundamental
matrix solution is usually obtained by numerical methods. Nevertheless, once
~(t,fo) is determined, the solution x(t), may be readily calculated for a variety of
control and disturbance inputs, u(t ), d(t), using Eq. (D.91).
D.12 SUMMARY
· In this appendix, the techniques of matrix algebra have been reviewed. These
methods find particularly useful application in providing very general solutions
to sets of linear algebraic and linear ordinary differential equations. The
importance of matrices as a tool for analyzing the dynamics of physical processes
should not be undervalued by the reader. As an aid to further study, a
bibliography is provided below.
E
COM PUT ER-A IDED CON TRO L
SYSTEM. DES IGN
The calculations required for the analysis of process dynamic s, the fitting
of
models to experime ntal data, and the creation of control system designs can
be
quite tedious and challeng ing. Fortunat ely, there are a host of interacti
ve
Comput er-Aided Design (CAD) package s which will carry out these
calculations with no program ming effort required by the user. These packages
a
are available for reasonab le fee, and thus should be used by students
and
others studying the material in this book. Some of the more widely
used
packages are listed in Table E.l below. Reviews of the field of compute r-aided
design and a discussio n of these and other CAD program s can be found
in
Refs. [1-3].
1249
1250 APPENDIX E
REFERENCES .
1. Chen, Z.-Y. (Ed.)., Computer-Aided Design in Control Sytems, Proceedings 4th IPAC
Symposium, Pergamon Press, New York (1988)
2. Holt, B. R., et al., "CONSYD- Integrated Software for Computer-Aided Control System
Design and Analysis," Comput. Chern. Eng., 11, 187 (1987)
3. Linkens, D. A (Ed.), CAD fur Control Systems, Marcel Dekker, New York (1993)
author
in de x
A Brown, D. W., 1060 Deshpand~980, 1028,1146
Brown,]. W., 1174 DiPrima, 1174
Abramowit z, 1207 Bruns, 808 Doss, 1059
Aitolahti, 1029 Bryson, 1094 Downs, 807, 1059
Albert, 62 Buckley, 31, 1146 Doyle, F.J., 1147
Altpeter, 620 Doyle,]. c., 8C8, 1094
Alvarez, 807 c Driver, 1174
Amundson, 1248 Duncan, 1248
Ardell, 1146 Cadzow, 943
Aris, 401 Caldwell, 1028, 1029 E
Arkun,328 , 1029,1030 Camp, 1031
Arnold, K. ].,401 Caracotsios, 401 Eckman,31
Arnold, V.I., 328 Carbonell, 1095 Economou, 1028
Arulalan, 1028 Carnahan, 1175 Edgar, 980
Ash, 980 Ceaglske, 31 . Engell, 1146
AstrOm, 558, 586, 639, 877, Champetier, 639 English, 1059
943, 980 Chang,102 8 Erickson, 1028
Ayral, 1029 Chen, 1250 Eykhoff, 450
Chien, 1146
B Churchill, 1174, 1207 F
Cinar, 1147
Baker, 1094 Clarke, 1028 Flannery, 1175
Bard, 401 Coddington, 1174 Francis, 808
Beck, 401 Coggan,62 Frank, 676, 1028
Bellman, 1248 Cohen,557 Franks, 401
Beudat, 450 Collar, 1248 Franklin, 877, 943, 980
Berry, 717 Congalidis, 1146 Frazer, 1248
Bhat, 1095 Conle, 1178 Friedly, 327, 401
Biegler, 1028, 1094 Considine, 557
Simonet, 1030 Coon,557 G
Bird, 135, 212 Copson, 1174
Bischoff, 401 Corripio, 240, 557 Gagnepain, 764
Bode, 167, 620 Coughanow r, 31, 268, 355 Gantmacher, 1248
Bodson, 639 Cozewith, 1146 Garcia, 676, 807, 1028,
Bongiorno, 1031 Crosier, 1059 1030, 1094
Box, 843, 1028, 1059 Cutler, 808, 1028 Gay, 1094
Boyce, 1174 Gear, 1175
Bracewell, 135, 450 D Georgiou, 1029
Bristol, 764, 807 Georgakis, 1029
Brogan, 10 de Boor, 1175 Gerstle, 1029
Brosilow, 1028 DelToro, 31 Gillette, 1030
1251
1252 INDEX
Goldberg, 1174 K McAuley, 1146
Golubitzky, 327 McAvoy, 764, 807, 1029,
Gould, 1030 Kaiser, 1030 1095, 1146
Greenberg, 1174 Kantor, 639 Matsko, 1029
Grosdidier, 764, 1029 Kaspar, 1146 Maurath, 1029
Grossmann, 1094 Keats, 1059 Meadows, 1029
Guckenheimer, 327, 355 Kinnaert, 586 Mehra, 808, 1029, 1030
Gumowski, 1146 Klatt, 1146 MellichaD1p,62,980, 1029
Koppel, 31, 268, 355, 764 Meyer, 328, 639
H Kramer, 1094 Michalski, 1095
Kravaris, 328 Mitchell, 1095
Hagglund, 558 Kresta, 1059 Milne-Thon1pson, 1174
Halm,355 Kreyszig, 1174, 1248 Mohtadi, 1028
Hanus,586 Krishnan1urthi, 1059 Monopoli, 639
Harris, 1059, 1060 Kuo, 980, 1175, 1207 Montague, 1095
Harrison, 62 Moore, 807, 1094
Hashinloto, 1030, 1031 L Morari, 557, 620, 676, 717,
Hawkins, 1028 764, 808, 980, 1028,
Henrici, 1175 Landau, 639 1029, 1030, 1094, 1147
Henrotte, 586 Lapidus, 401, 450 Moreau, 1030
Hernandez, 1029, 1030 Lasdon, 1094 Morris, 1095
Hillier, 1094 Lau, 807 Morshadi, 1029
Hirnrnelblau, 401 Lecamus, 1030 Murrill, 557
Ho, 1094 Lectique, 1029 Muske, 1029, 1030
Hofhnan, 1060 Lee, J. H., 1029, 1030
Hokanson, 1029 Lee, P. L., 676, 1029 N
Holmes, 327, 355 Lee, w.,31
Holt, 764, 1250 Lemaire, 764, 808, 1147 Narenda, 639
Hoo, 639 LeRoux, 1030 Newell, 676, 1029
Hopf,315 Levinson, 1174 Newton, 1030
Hopfield, 1095 Lieberman, 1094 Nichols, 557
Hornbeck, 1175 Lightfoot, 135, 212 Niederlinski, 764
Horowitz, 1029 Linkens, 1250 Niida, 1094
Hubele, 1059 Littnaun, 1030 Nisenfeld, 1146
Hulburt, 807 Longwell, 327 Nygardas, 620
Hummel, 1030 Lopez, 557
Hunt, 328, 639 Lucas, 1059 0
Hunter, 1059, 1060 Luther, 1175
Luyben,31,240 ,327,401, Ogata, 877, 943, 980, 1207
I 717, 1029, 1146 Ogunnaike, 450, 639, 764,
Lyung, 450 808, 1030, 1146, 1147
Iinoya, 620 Olmo, 1030
Ince, 1174 M Ohshlrna, 1030
Iooss, 327, 355 Otto, 1028, 1030
Isermann, 980 Maarleveld, 1147 Owen, 1095
Isidori, 328 Maciejowski, 808
Marlin, 1059 p
J Martens, 943
Martin, 1028, 1029 Page, 1060
Jabr, 1031 MacGregor, 1029, 1059, Palsson, 1028
Jazwinski, 1094 1060, 1146 Papon,1030
Jenkins, 843, 1028, 1059 Mahrnood,808,1029 Parher, 31
Jensen, 807 Marchetti, 1029 Pearson, 1147
Jeron1e, 808, 1146 Marquardt, 1094 Penlidis, 1146
Joseph, 327, 355 Mason, 1029 Piovoso, 1095
I
INDEX
1253
Pouliq uen, 1030 Simminger, 1030 Williams, 31, 1031
Powell , 877, 943 Skoges tad, 557, 1030, 1147 Winde s, 1147
Prett, 807, 1029, 1030, 1094 Smith, C. A., 240, 557 Witten mark,5 86,639 ,877,
Propoi , 1030 Smith, C. L., 557 943, 980
Smith, c. R., 808 Wood, 717
Q Smith, 0. J. M., 620, 1030, Woodb urn, 807
1031 Wylie, 1174, 1248
Qin, 1095 Smith, R. E., 557, 1095
Sokolnikoff, 1174 y
R Stein, 1094
Stepha nopou los, 212, 1095 Yamamoto, 1031
Radem acher, 1147 Stephe nson, 1174 Yeo, 1031
Ragaz zi, 980 Stewar t, 135, 212, 401 Yocum, 1028
Ramake~808,1028, 1030 Stone, 1095 Youla, 1031
Ranz, 401 ' Su, 328,63 9 Yuan, 1031
Rao, 1028 Subrarnarrian, 1030
Rault, 1029, 1030
Rawlin gs, 1028, 1029, 1030
Sulliva n, 676, 1029 z
Ray, 31, 62, 401, 557, 676, T Zadeh , 1031
717, 764, 808, 1028,
Zafirio u, 558, 620, 676, 717,
1094, 1095, 1146, 1147 Takam atsu, 1030 808, 980, 1029, 1031,
Rebou let, 639 Tanne nbaum , 808 1094
Redhe ffer, 1174 Taylor , 1094 Zames , 1031
Richalet, 1030 Tessie r, 1029 Zhang , 1147
Richar ds, 1146 Testud , 1029, 1030, 1031 Zhao, 1028
Ricker , 1030 Teukb lsky, 1175 Ziegler, 557
Rijnsd orp, 1147 Tham, 1095
Rivera , 557, 1030 Truxal , 31
Robert s, 1060 Tsing, 1031
Roffe!, 1060 Tu, 1031
Rosenbrock, 808 Tuffs, 1028
Ross, 1059 Tyreus , 764
Rouha ni, 1030
Routh, 504 u
Rovira , 557
Umeda ,1094
s
v
Sastri, 1059
Sastry , 639 Vanhamliki, 1029
Schaeffer, 327 Vellering, 1175
Schork , 1030 Venka tsubra manian , 1095
Schule r, 1147 Verhey , 1174
Scott, 1095 Vinant e, 717
Schwe dock, 1147 Vogel, 980
Seborg , 764, 980, 1028,
1029, 1031 w
Seema nn,114 6
Seinfeld, 401, 450 Waller , 620
Semin o,558 Wassick, 1031
Shewa rt, 1060 Weber ,31
Shinskey,240,586,8~/, Weekman,31
1147 Wethe rill, 1060
Shunta , 1146 Whale n, 1031
Sim, 1030 Wilkes, 1175
subject
index
A "black box" models, 410 closed loop,
block diagrams, 463, 824, block diagram, 463, 824,
abnormality detection, 1088 927 926
ACSL, 1250 Bode diagram, 153, 281 characteristic equation,
actuators, 49 asymptotic 486
adaptive control, 628 consideration s, 306 performance criteria, 520
AID converter, 43 classical controllers, 305 stability, 486
alarm interpretatio n, 1088 for feedback controller transfer functions, 468
aliasing, 826 design,549 multiloop systems, 724
amplitude ratio, see also first-order system, 285 Ctrl-C, 1250
magnitude ratio, 152, inverse-respo nse Cohen and Coon tuning
281 system,302 rules, 537
analog ruters, 51 lead/lag system, 294, 300 comparator, 465, 927
analog input/ output, 44 pure capacity system, 291 complex variables, 1155
analog-to-digital converter, second-order system,298 complex s- plane,
43 time-delay system, 303 Nyquist map of, 286
antiresetlYin dup,585 Bode plot, see Bode diagram complex z- plane, 902
ARIMA model, 1051 Bode stability criterion, 549 computer control system,
ARMAX model, 999 boiler, 229, 562, 811 36-61
artificial intelligence, 1091 bounded-input, bounded- computer-aid ed control
auctioneerin g control, 582 output stability, 337 system design, 1249
autoregressive moving Bristol array, see relative computer control, see digital
average (ARMA) model, gain array (RGA), computer control,
999 condition number, 803, 1241
autotuning, 555 c CONSYD, 1250
control limits (in SPC), 1037
B capillary, 154 control system synthesis,
cascade control, 12, 567 case studies of, 1097
biological systems: catalytic reactors, 231, controllabilit y, 686
anaerobic digester, 310, 1105 controller, 16, 465, 518, 927
405 cc, 1250 controller design, 21
anaesthesia control, 814 chemical process, commercial, 518
bioreactor, 357 defini lion, 5 choosing controller
cardiovascul ar regulator, objectives of operation, 6 parameters, 524
563, 770 variables of, 13 controller type, 523
hemodynamics model, 222 chemical reactors, 101, 138, conventional feedback,
human pupil servo- 141, 171, 217, 252, 271, 461
mechanism, 509 313, 315, 331, 358, 365, model-based, 645
immunology, 243 381, 395, 407, 456, 583, performance criteria, 520
respiratory process, 220 591, 641, 681, 816, 984, principles, 519
1067, 1138 via optimization , 522
1255
1256
INDEX
con troller tuning, delta function, distributed paramete r
auto tuning, 555 Dirac, 82 controllers, 1083
Cohen and Coon rules, Kroneker, 887 distributed paramete r
536 derivativ eaction,4 68 systems, 106, 376, 1083
direct synthesis, 526, 538 derivative time constant, disturban ce variables, 13
internal model control, 468 DMC, see Dynamic Matrix
529, 539 desired reference trajectory, Control,
pole placement, 529 see reference trajectory, drug ingestion, 137, 215
stability margins, 530, deviation variable(s), 23 Dynamic Matrix Control,
552 difference equations, 1166 1000, 1012
with approximate differential equations, 1162, ·Dynamic Matrix
models,532 1169 Identification, 1013
with frequency response difficult dynamics, dynamic flowsheet
models,541 controller designs fur, simulation, 1089
without a model, 555 599
time-integral rules, 525, digital compulel', E
Ziegler-Nichols architecture, 38
approximate model capabilities, 38 EASY 5,1250
rules, 536 peripherals, 38 economic forecasting, 220
Ziegler-Nichols stability digital computer control, 37, electronic controllers, 37
margin rules, 553 821, 951 empirical process models,
control valve, 514 digital controller, 951 see also process
control variables, 13 advanced, 966 identification, 409-450
comer frequency, 289 poles and zeros of, 954 equal-percentage valve, 514
crisis management, 1088 PID,960 E~,seeexponentiaily
critical gain, see also digital filters, 829 weighted moving
ultimate gain, 531 digital input/output, 44 average,
critically damped response, Dirac delta function, 82 expert systems, 1091
191 direct digital control (DOC), exponentially weighted
crossover frequency, 550 52 moving average,
crude oil, boiling point Direct Synthesis Control, (EWMA), 1043
curve,8 526, 538, 970, 978
CUSUM charts, 1040 discrete-time models, 107, F
cyclopentanol, 1138 832, 873
backward shift form, 893 fault detection, see also
D forward shift form, 894 abnormality detection,
poles and zeros, 898, 906 feedback control, 12, 17
D I A converter, see digital- discrete-time systems adaptive, 628
to-analog converter analysis, 835, 847 basic loop elements, 463,
Dahlin controller, 973 block diagram. 918 514, 927
damping coefficient, 184 discretization, 835 PID,467
data acquisition, 43, 47 dynamics, 883 tuning rules, 525
deadbeat control, 971 identification, 838 feedforward control, 12, 18,
dead time, see time delay, relation to continuous 571, 968
decay ratio, 520 systems, 901, 918 filter(s),
decoupling, 773 stability, 933, 937 analog, 51
design,776 distillation columns, 7, 32, digital, 829
dynamic, 777 138, 172, 230, 369, 420, final control element, 16,
feasibility of, 792 442,507,5 62,565,59 0, 465, 927
generalized, 781 711, 719, 733, 749, 760, first order hold, 831
limitations of, 785 766, 783, 791, 798, 810, first order system, 139-154,
partial, 788 845, 982, 1097 884, 912
simplified, 778 distributed control system
steady-sta te (static), 790 {DCS),54
time scale, 755
~;
INDEX
1257
first order plus time delay I L
model,253
approximation of higher IDCOM, 1008, 1011 Laplace transfon n,
order dynamics, 256 ideal forcing functions, application to the
characte rization of impulse,82 solution of differential
process reaction curve, ramp,83 equations, 77, 1185
533 realization of, 85 defmiti on,71,1 180
use in controller design, rectangular pulse, 81 inversion, 73, 1180
536 sinusoidal, 85 tables, 1193
flow controller, 12 step, 80 lead/lag systems, 161-166
Fourier transform, 1178 ill-conditioning, lime kiln, 818
frequency: condition number, 803 lineariz ation,
comer,2 89 degeneracy,798 approximate, 626
crossover, 550 SVD, tool for detecting, exact, by variable
Nyquist , 828 806 transformation, 632
resonan t, 298 impulse,B2 liquid/l iquid extraction,
sampling, 827 impulse response function, 405
frequency response in model predictive loop pairing, 683, 727,
analysis , 275-307 control, 1008 735-758
applicat ion in controller moments from data, 427 lumped parameter systems,
design,541 impulse response 368
Bode/N yquist plots, 286- identification, 422
305 impulse response model, M
identifica lion, 436 111, 833
models, 110 ingot, 388, 1084 magnih lderatio ,288
pulse testing, 437 input variable(s), 13 manipu lated variables, 13
furnace, 8, 33, 269, 505, 581 input/ output interfaces, 42 manometer, 185
input/o utput pairing, 735 manual control, 10
G instrumentation, 47 MATLAB, 1250
interaction, 735 matrices, 1209-1248
gain margin, 552 integral action, 467 MATRIX-X, 1250
gasoline blending, 219,743 interaction compensators, measuring device, 465, 927
gain scheduling, 628 see decouplers, methanol oxidation, 1107
gas storage tank, 56 Internal Model Control, MIMO systems, see multi-
general ized inverses, 1227 (IMC), 529, 539, 665 input-multi-output
Generic Model Control, inverse response systems,
(GMC), 671 cornpensation,613 minimum variance control,
grade transitions, 1089 inverse response systems, 1052
grindin g circuit, 789, 810 225-240, 608 Model Algorithmic Control
controller designs for, (MAC), see also
H 608 IDCOM, 1008, 1011
main characteristics, 226 model-based control, 645
heatexc hanger, l07,257 , physical examples, 229- MODEL-C, 1250
273, 310, 377, 506, 560, 231 model identification, (see
588, 596, 681, 986 process identification),
heating tank, 14, 85, 95, 462 J model predictive control,
Heaviside function, 80 (MPC), 991
higher order systems, 205- Jury array, 938 applications of, 995
211 Jury stability test, 938 commercial software
holds,8 30 packages for, 1011
Honeyw ell Multiva riable K model forms for, 997
Predictive Control, nonline ar, 1020
(HMPC ),l016 Kalman filter, 1064 model reference adaptive
Horizon Predictive Control,
control, 629
(HPC), 1016
1258 INDEX
MPC, see model predictive Nyquist diagram. 286, 543 PI controller, see
control, Nyquist frequency, 828 proportional-plus-
multi-input, multi-output Nyquist plot, see Nyquist integral controller,
(MIMO) systems, diagram, PID controller, see
683-807 Nyquist stability criterion, proportional-plus-
multidelay compensator, 543 integral-plus-
1103 derivative controller,
multiloop control systems, 0 pipe, 246, 561
controller designs for, plant/model mismatch, 1070
723 observability, 686 pneumatic transmission, 37
·controller tuning, 759 observers, 1064 pole placement,
multiple input, single-output offset, 25, 485 for continuous controller
systems, 582 oil refinery, 1086 design,529
multivariable block on-line optimization, 1086 for discrete controller
diagrams, '775 open loop, design,978
multivariable control, control strategy, 18 poles,
block diagram, 712, 775 stability, 333 closed loop, 496, 935
controller design, 759, open loop unstable systems, transfer function, 132,
773 617 933
decoupling, 716 optimal control, 674 pollution control, 216, 217,
input/output pairing, optimization, 1086 331
683, 727, 735 Optimum Predictive Control, polymerization,
interactions, 686, 724 (OPC), 1014 p~,58,270,332,
process models, 688 output variable(s), 13 357, 456, 589, 640, 766,
multivariable dynamics, overdamped response, 191 844, 949, 987, 1039,
694, 890 overdefined systems, 1227 1113, 1122
multivariable identification, override control, 581 predictive control, see model
447 overshoot, 520 predictive control,
multivariable system poles, Predictive Control, (PC),
703 p (commercial software
multivariable system zeros, package), 1015
704 P controller, see pressing iron, 172
proportional process and instrumen-
N controller, tation diagrams, seeP&:
P &: I diagram, 59, 1149 I diagrams,
NARMA(X), models, see packed bed reactors, 406, process characterization
nonlinear ARMA 1105 cube, 1133
models, Pade approximations, process dynamics,
neural networks, 1091 for time delays, 261 main objectives, 65
Niederlinski index, 738 paper machine, 982 definition, 67
nonlinear ARMA parallel computing, 1093 process identification,
(NARMA) models, parameter estimation, 409-450
1026 basic principles of, 381 frequency response, 4..~
nonlinear control, 625 differential equation impulse response, 422
nonlinear MPC, 106, 1020, models,384 multivariable, 447
1026 partial decoupling, 788 pulse testing, 437
nonlinear systems, 311-327 PO controller, see step response, 417
controller design proportional-plus- process model,
philosophies, 625 derivative controller, formulation of, 92, ·
dynamic response, 326 pendulum, 335 363-401
methods of dynamic performance criteria, 520 interrelationships
analysis, 314 phase angle, 'Zl7 between various
stability, 343 phase lag, 277 forms, 115, 128
nonminirnum phase systems, phase lead, 292 various forms of:
601 phase margin, 552 state-space, 104
INDEX
1259
frequency response, 99 ratio control, 579 set-poin t trajectory, see
impulse response, 100 realization, 117 reference trajectory,
transfer function, 128, rectangular pulse, 81 settling time, 520
131 reference trajectory, Shewar t (quality control)
transform domain, 98, in controller design by chart, 1037
108 direct synthesis, 648 signals,
process reaction curve, 533 for model predictive analog voltage, 51
process variability, 1070 control, 996 analog current, 51
product quality, regulatory control, 19 digital, 52
specifications, 6 relative gain array (RGA), signal conditioning, 49, 829
product ion rate, 6 728 amplification, 50
proport ional band, 467, 518 relay controller, 555 multiplexing, 50
proport ional controller, reset rate, 468 filtering, 51
467, 474 reset windup , see also anti- single-i nput multiple-output
proport ional-pl us- reset windup , 585 systems, 581
derivative controller, resonance, 298 singula r value
468 reverse action, in controller decomposition (SVD),
proportional-plus-integral hardwa re, 517 806
controller, 467, 478 ringing, 972 singula r values, 803
proportional-plus-integral- rise time, 520 sinusoid al inputs, 84
plus-derivative robust controller design, SISO systems, see single-
controller, 468, 518 1069 input-single-output
pulse testing, 437 robust performance, 1070 systems
comparison with direct robust stability, 1070 Smith predictor,605
sine wave testing, 436 root locus, 496 SPC, see statistical process
input characteristics, 441 Routh stability test, 489 control,
multivariable, 447 split-range control, 583
pulse transfer function s spring-s hock absorber, 185,
model,867 193
pure capacity system, safety, 6 stability , 333-355
157-161 sample-and-hold, see also definiti ons,335
pure gain system, 153-157 zero-order hold, discrete time, 933
pure time delay process, 824 linear, 337
limit of infinite number effective time delay multivariable syst!!rns,
of first order systems contributed by, 832 710
in series, 262 sampled data system, 821 nonline ar, 343
physical example of, 245, block diagram analysis open loop, 349
252, 257 for, 917 closedl oop,353 ,486
transfer function of, 249 closed loop block stability criteria,
pyrolysis fractionator, 169, diagrams, 927 bilinear, 937
589 stability of, 933, 937 Bode,54 9
sampler, 823 direct substitu tion, 494
Q scrubber, 454, 559 Jury,93 7
second order system, 183- Nyquist, 543
quality control, 205, 913 root locus, 496
see statistical process selective control schemes, Routh,4 89
control, 581 stagewise processes, 369
quality control charting, self-tuning regulator, 630 state estimation, 1063
1037 sensors, 16 state-space model, 104
quarter- decay ratio, 531 serial correlation, 1046 state variables, 13
quick-opening valve, 514 serial transmission, 43 statistical process control,
servo control, 19 1033
R set-point, 19 steady state decoupler
set-point tracking, see servo designs, 790
ramp function, 83 problem,
1260
INDEX
step response , time series, 997, 1051 zero-ord er hold (ZOH), 830,
idealize d input, 80 transfer function , 869
identific ation, 433, 533, in generali zed view of Ziegler- Nichols tuning
1013 modelin g, 128 rules, 536, 553
first order system, 143 properti es, 132, 893
higher order systems , 204 traditio nal, 132
inverse respons e system, transform domain model
226 form, 108, 893
lead/lag system, 164 poles of, 132, 898
nonline ar systems , 312 zeros of, 132, 898
pure capacity system, 159 transmit ters, 16
pure gain system. 155 TUTSIM, 1250
second order system. 188
system with multiple right u
half plane zeros, 237
stochast ic process control, UC-ONUNE, 1250
1050 UC-SIGNAL, 1250
storage tank, 136, 171 ultimate gain. 531
structur al instabil ity (of ultimate period, 531
multiloo p systems ), 738 underda mped response, 191
supervi sory control, 52 underde fined systems , 1227
SVD, see singula r value unstable system, 617
decomposition,
v
T
valve, see control valve,
Tank, 21, 33, 140, 146, 158, Vogel-E dgar controll er, 975
163, 176, 313, 318, 323, Volterra series models,
330, 348, 353, 358, 404, 1026
452, 521, 571, 579, 584,
588, 592, 627, 636, 642, w
684,746 ,800,84 0,880
tempera ture controll er, 12 water heater, 136, 168, 403
tempera ture measurement, Western Electric rules, 1039
16
theoreti cal process models, z
363-401
thermom eter, 403 z-transf orms, 848
time delay compen sation, applicat ion in discrete -
604 time control, 859
time delay systems , 245-268, applicat ion to the
603 solution of difference
approxi mations for, 261 equatio ns,873, 1199
controll er designs for, defirriti on,849, 1194
603 effect of samplin g on, 857
dynami c response s, 250, inversio n, 854, 860, 1194
254 relation to Laplace
models for, 246, 265 transfor m, 859
physica l example , 246, tables, 861, 1202
252 zeros,
time domain models, 832 effect of samplin g on, 906,
time-int egral criteria (IAE, 909
ISE, ITAE, ITSE), 525, effect on step response ,
537 206-211, 231-239
time scale decoupl ing, 755 right half plane, 231