Professional Documents
Culture Documents
Industrial Chemistry
Mark A. Benvenuto, 2013
ISBN 978-3-11-029589-4, e-ISBN 978-3-11-029590-0
Basic Process
Engineering
Control
|
Authors
Prof. Assoc. Prof.
Dr. Paul Serban Agachi Dr. Mircea Vasile Cristea
Babes-Bolyai University Babes-Bolyai University
Faculty of Chemistry and Faculty of Chemistry and
Chemical Engineering Chemical Engineering
Arany Janos Str. 11 Arany Janos Str. 11
400028 Cluj-Napoca 400028 Cluj-Napoca
Romania Romania
ISBN 978-3-11-028981-7
e-ISBN 978-3-11-028982-4
www.degruyter.com
Foreword
In the last decades, Chemical Engineering has evolved and developed towards Pro-
cess Engineering which is a more comprehensive field also including other processes
than those with the chemical product as the final target. The general principles devel-
oped over time in the field of Chemical Engineering are ripe to be used in other fields
which might be seen as very different: biomedical processes in the human body, the
management of utilities, of water resources, the analysis of the behavior of a society or
administration, petroleum or natural gas extraction and transportation, production of
textiles or other materials, or river and water table pollution.
Process Control, referring initially to Chemical Engineering, is the theory and
practice of the operation of the processes without human intervention and it is some-
times named Automatic Process Control.
Historically, the control techniques were aimed mainly towards diminishing the
deviation of a parameter from its desired value, a value imposed by the process tech-
nology. This concern represents only a part of the problems to be solved in the suc-
cessful operation of a plant. It is very strange, but the control or process engineer has
a much greater influence on the operation of the plant than it seems is imposed by its
tasks. In fact, a control or a process engineer has the possibility of obtaining larger
production in a technological process and can contribute substantially more to cost
reduction and to increased economic efficiency than any other specialist of the plant,
namely the technology engineer or the economist.
If the control of the technological parameters is so restrictive, how can the pro-
cess engineer contribute through automatic control towards the optimal operation of
the process? The answer consists in the intelligent application of control theory: if the
control is applied without a thorough understanding of the process, its results will
be poor and useless. The most efficient control system or control scheme embeds in it
the characteristics of the controlled process including its demands, its drawbacks and
limitations. In a good cooperation between the process, the technological equipment
and the means of monitoring and control, all parts are acting as a whole, inside the
so called “Chemical System” or “Process System”. This cooperation is not easily ob-
tained: to design a control system able to cope with expectations, an understanding of
the steady state and dynamic behavior of the plant (process, technological and control
equipment) is needed on the part of all contributors, starting from the researchers of
the basic industrial process, continuing with the designers and ending with the plant
operators.
The book explains all the determinations in the system, starting from the intimacy
of the processes, going on to the intricate interdependency of the process stages, an-
alyzing the hardware components of a control system and ending with the design of
an appropriate control system for a parameter or a whole process. The book is first ad-
dressed to students and graduates of departments of Chemical or Process Engineering.
VI | Foreword
Second, to the chemical or process engineers in all industries or research and develop-
ment centers, because they will notice the resemblance in approach from the system
point of view, between different fields which might seem far apart from each other. As
for the students in Chemical Engineering or Chemical Technology, as future specialists
involved in the research, design or operation of a process, it is necessary to learn all
aspects linked to the basics (physics, chemistry, mathematics), process and process
equipment (reaction engineering and transport phenomena, technology, modeling,
optimization), monitoring and control (measuring and control equipment, control).
Because the control room is the interface between the operator and the control
equipment is his/her “eye and hand” in the process, it is absolutely necessary to un-
derstand their functioning in the new conditions of increased technological complex-
ity. It is also interesting and useful for the application of complex mathematical tools
and methods to study the behavior of the process in a steady or dynamic state and in
the diagnosis of the problems based on mathematical modeling.
Usually, universities produce chemical and control engineers with different com-
plementary competencies. The newer option for process engineers educated to un-
derstand not only the “chemistry” of the process, but also the way the process can
be made operational in real time and economically efficient seems to be the future for
their education. This book is a plead for process control as part of process engineering.
The book is structured in three parts: Part I – Fundamentals of system theory
and control, approach of the processes as systems, basics of mathematical modeling;
Part II – The analysis of a control system treating all its hardware components (princi-
ples of operation, construction, dynamic and steady state behavior) all starting from
the behavior of the controlled process; Part III – The synthesis of the control system,
including the harmonization of the components’ behavior in the control system, the
design and tuning of the controllers generally and specialized on the control of the
main parameters controlled in process engineering.
Finally, many thanks to our students with whom we cooperated in the elabora-
tion of the book (Mihai Mogos, Botond Szilagyi, Abhilash Nair, Hoa Pham Thai), our
professors who strived to educate us as citizens and specialists, to our former heads
of departments where we have worked, who, each of them, left a mark on our present
formation, to our university who nurtured us for many years in harder or easier times,
to our colleagues from abroad who helped us especially after the changes in Romania
in 1989, to our colleagues at home with whom we repeatedly debated the topics, and
above all to God for giving us the opportunity and power to achieve. Last but not the
least, all thanks to our families who supported us in our whole life endeavor.
Part I: Introduction
3 Mathematical modeling | 63
3.1 Analytical models | 64
3.1.1 The conservation laws | 64
3.1.2 Thermodynamics and kinetics of the process systems | 73
3.2 Statistical models | 76
3.3 Artificial neural network Models | 80
3.4 Examples of mathematical models | 82
3.5 Problems | 92
4 Systems dynamics | 97
4.1 Proportional system | 97
4.2 Integral system | 99
4.3 Derivative system | 101
4.4 First order system | 104
4.5 Second order system | 106
4.6 Higher order system | 109
4.7 Pure delay system | 113
4.8 Equivalence to first order with time delay system | 114
4.9 Problems | 116
8 Controllers | 227
8.1 Classification of controllers | 227
8.2 Classical control algorithms | 231
8.2.1 Proportional controller (P) | 231
8.2.2 Proportional-Integral controller (PI) | 238
8.2.3 Proportional-Integral-Derivative controller (PID) | 242
8.2.4 Controllers with special functions | 245
8.2.5 Distributed Control Systems | 250
8.3 Problems | 253
Index | 357
|
Part I: Introduction
1 History of process control
As one may see, the development of process control is strongly related to manufactur-
ing processes. These roots are traced to the ancient times of humanity, starting with
metal, fabric and pottery production. Industrial manufacturing and actually engineer-
ing were innovations of the XVIIIth century, during the Industrial Revolution. The pop-
ulation increased during this century, being inclined to consume more and better. This
consumerism led to an escalation in demand, both with regard to quantity and quality,
for food, clothing, footwear, housing, transportation, which stimulated the produc-
tion of construction materials, textiles, chemicals etc. Each global conflict, after its
end (e.g. First and Second World Wars), induced the same behavior and the same re-
action on behalf of society and production companies. Production became mass pro-
duction with huge quantities of products delivered at deadlines and with a certain
quality expectation. Mass production, under these circumstances, could no longer be
controlled manually because of the expectations. In the meantime, in the second half
of the XXth century, the environment became important, a fact which imposed envi-
ronmental constraints on the manufacturers. On top on that, the globalization of the
economy amplified the competition among world companies and only those capable
of reducing costs and respecting the environment remained on the market. Together
with these facts, an important impact on the development of technology and espe-
cially computing facilities was caused by the Cold War and the space race between
the major world powers: the USA and the USSR. All these sequences led to a tremen-
dous development of control equipment and techniques as a part of process control
development. Process control was seen as a major tool for development and comply-
ing with the constraints.
Milestones in the modern history of control are C. Drebbel’s contribution in invent-
ing the first temperature control device for a furnace, around 1624, D. Papin’s invention
of the first safety valve for his steam engine – a pressure regulator – in 1704, E. Lee’s
first controlled positioning system for a windmill in 1745 [1, 2] (Fig. 1.1), T. Polzunov’s
first level controller for his steam engine (1765), J. Watt’s fly ball governor in 1768 [3, 4] –
a speed regulator for his rotary steam engine – (Fig. 1.2). The first obviously advanced
combination between process engineering and process control was H. Jacquard’s loom
in 1801 (Fig. 1.3) which stored the model of the silk fabric on punch cards [5, 6]. Actu-
ally, in that period in France there were several looms having similar control systems.
The first publication in the field of control systems was elaborated by J. C. Maxwell
in 1868 and approached a theoretical analysis of the stability of Watt’s fly ball governor
(1868) [3]. The next papers on the subject of automatic control appeared only in the
first half of the XXth century (1922–1934) and have to be noted the first in the field of
control in chemical/process engineering [7–11].
A major innovation is represented by G. Philbrick’s “Automatic control analyzer –
Polyphemus”, actually the first analogue computer (1937–1938) just before World
4 | Part I: Introduction
War II [12]. World War II brought extremely important innovations in the field of
automatic control: automatic rudder steering, automatic gun positioning systems,
automatic pilot of V1 and V2 etc. The innovative ideas of Ziegler and Nichols about
how to tune the controllers in a loop stem from that time of progress! [13]
Immediately after World War II, the field of process control exploded. It was
helped by the construction of the megacomputers ENIAC (1946) [14] and UNIVAC
(1951) [15], Shockley’s patent on the transistor (1950) [16] and Feynman’s premonition
regarding nanospace expressed at the American Physics Society Meeting in Caltech
1 History of process control | 5
“There’s plenty of room at the bottom” (1959) [17]. The new frontier of challenging outer
space launched by the US president John Fitzgerald Kennedy produced the portable
computer which influenced thoroughly the more recent history of Process Control. The
first industrial control computer system was built in 1959 at the Texaco Port Arthur,
Texas, refinery with a RW-300 computer from the Ramo-Wooldridge Company [18] and
the second one was installed in 1964 by Standard Oil California and IBM at El Segundo
refinery in an FCC Unit, under the name 1710 Control System [19].
Thus, there were practically three stages in Process Control development:
– the first stage: measurement and control devices (World War I–mid XXth century),
dominated by manual control and operation of the industrial processes; some-
times field mechanical controllers were used;
– the second stage: classical feedback control (1950s–1970s), when most of the pro-
cesses were supervised and controlled automatically in the simplest way – feed-
back control; the control equipment was either electronic or pneumatic, rarely
hydraulic;
– the third stage: computer assisted control (1970s–present) dominated, as the main
feature, by control systems involving a micro- or minicomputer; most processes
are controllable and they need classical control systems, but around 20 % of them
from process industry are less controllable and need Advanced Control techniques
and equipment.
The use of computers in process control can be detailed in several stages of complexity.
In the first stage of complexity a microchip is embedded to perform some calculations
6 | Part I: Introduction
inside the controller or even computer, allowing more complicated control algorithms:
optimal, adaptive, fuzzy, ratio, inferential, feed-forward control algorithms. A second
stage of complexity is the advanced process control (APC) characterized by a combi-
nation of hardware and software control tools used to solve complicated multivariable
control problems or mixed integer-discrete control problems. It involves the computer
techniques (hardware and software) applied to control, a good understanding of the
process (process modeling and design), a good understanding of control techniques
and optimization (model predictive control (MPC), distributed control systems (DCS)
etc.). In the processes with multiple variables (hundreds or thousands) an efficient
operation of the process, of the plant or of the industrial platform, can be done only
through APC. Central control rooms looking like cosmic flight control centers are su-
pervising and operating the whole plant. New skills of the operators are required, be-
cause the implications of their actions are on a large scale. With APC one can save
energy, raw materials, time, reduce costs and make the processes more competitive
in terms of quality and costs. The third stage of complexity is expressed by wise ma-
chinery (WM), a new concept which involves not only complying with the standards
or setpoints, but also the intervention of the machine for its own functional efficiency
and safety without human assistance [20]. For that, WM involves complex industrial
equipment, the data acquisition system (DAS) and the ‘‘optimal parametrical control
system (OPCS)”. They are intended for finding operative and optimal solutions of all
possible management tasks arising in vital activities of process and the machine’s
equipment in the limits of its life cycle. PCS is based on bio-cybernetic control systems
(BCS) which are principally a novel and industry evaluated decision-making system
(Fig. 1.4), which functions on the basis of formalization of the unconscious activity
process of a brain in maintaining the functions of an organism. It is a new civilization
in itself.
Decisions
Equipment support
Parameters BCS Instructions
configuration system
configuration
References
[1] Mayr, O., The origins of feedback control, Scientific American, 223, No. 4 (October), (1970),
110–118.
[2] Mayr, O., Feedback Mechanisms in the Historical Collections of the National Museum of History
and Technology, Smithsonian Institution Press, 1971.
[3] Maxwell, J. C., On governors, Proceedings of the Royal Society of London, 16, (1868), 270–283
[This is presumably the first scientific article on feedback control].
1 History of process control | 7
The set of constituting entities reveals the structural aspect of the system, disclosing
the existence of the individual elements that form it. There is a relative division of
the system into its constituting components leading to the concept of subsystem, as
a component entity. This relative evaluation of the system structure is directly tied to
the a priori hypothesis of indivisibility assumed for its elements, named entities.
The entities composing the system may be grouped in three categories: concepts,
objects and subjects [1].
Concepts are abstract entities generating the abstract type system, such as: sys-
tems of mathematical equations, programming computer languages or numeration
systems. The space delimited by the ensemble of these entities forms the main center
of interest and development for the systems theory [2, 3].
Objects are material entities, without life, representing real physical systems, such
as a chemical reactor, a mechanical vehicle or an electronic device.
Subjects are natural material entities composed of living individuals, such as: the
student community of a university, the operating personnel of a chemical unit or the
microorganisms of a biological system.
The system of a chemical plant is composed of the chemical equipment as object
entities, the operating personnel as subject entities and the set of working rules as
concept entities.
Individual properties of the system entities are referred to as attributes. The nature
of and interdependence between attributes provides identity to the entity. The exam-
ple of a system composed of three entities and having a variable number of attributes
aij is presented in Fig. 2.1.
Attributes may be classified in two categories: variable attributes and structural at-
tributes. This variability is reflected in mathematical functions that usually have time
as the independent variable (and possibly one or several spatial variables). Physical or
chemical quantities such as: reactor volume, molecular mass, type of chemical species
involved in a chemical reaction or the reactants’ state of aggregation are all structural
attributes. Physical quantities such as: mass or energy flows, reactants’ or products’
concentration and temperature, specific heat (possibly temperature dependent) of the
chemical species, are examples of variable attributes.
Some of the variable attributes describing the entity interact with other variable
attributes of a different entity causing the interaction relationships that are inducing
2 Basics of systems theory | 9
a13
Entity 2
Entity 1
a31 a32
Fig. 2.1. System
formed by three inter-
a33 a34 acting entities, each
having interdependent
Entity 3 System attributes.
new properties to the ensemble (system). The connection mode between entities is de-
cisive for the system’s behavior and performance as a whole. It becomes obvious that
the whole is superior, as functionality, to the component parts and, once the entity
properties and interactions are known, the problem of predicting the properties of the
whole is not a trivial task. From the systems theory point of view the connection of
entities, by certain dependence relationships, does not confer the statute of system
as long as the purpose for which is was designed or analyzed has not yet been spec-
ified. For example, a system consisting in a chemical reactor may be analyzed from
the mechanical point of view, in order to investigate aspects related to the reactor re-
sponse to variable mechanical stress or it may be analyzed and designed in order to
provide maximal conversion of reactants into the desired chemical products, from the
chemical efficiency point of view.
consists of two surfaces Σ1 and Σ2 ; the system is delimited by the volume contained
between these two surfaces, as presented in Fig. 2.3.
In the behavior description for heterogeneous processes, the infinitesimal ele-
mentary volume is often put into evidence. For such elementary volume, considered
as a system, the balance equations are first developed and then the space integral is
considered in order to reveal macroscopic aspects, Fig. 2.4.
The operation of delimiting the system interface has to take into account the def-
inition of a minimal structure for the system, in accordance to the stated purpose. It
is worthwhile to notice that the interface is settled according to the possibility of the
mathematical description for its component entities and relationships involved. The
surrounding environment is represented by all entities not included in the system, but
significant are only those outside entities having (possible) direct interaction relation-
ships with entities within the system.
Σ2
Σ1
Σ1–Σ2
Fig. 2.3. Interface delimitation Σ1 –Σ2 of the system represented by a heat exchanger with heating
coil (textured represented volume).
2 Basics of systems theory | 11
dΦ
Ʃ Ʃ
dz
dz
dy
dr
dx
Fig. 2.4. Systems Σ represented by infinitesimal elementary volumes in rectangular and cylindrical
coordinates.
For the analytical (both quantitative and qualitative) description of the entities be-
longing to the system, and consequently for the whole system, it is necessary to know
the structural attributes, the variable attributes and the interactions between entities.
Each entity can be described from the mathematical point of view by a system of (alge-
braic, differential or integral) equations representing the way attributes are connected
by interdependence relationships.
Consider a system described by a set of relations Ri , i = 1 ⋅ ⋅ ⋅ r between the variable
attributes vj , j = 1 ⋅ ⋅ ⋅ n and the structural attributes sk , k = 1 ⋅ ⋅ ⋅ l:
R1 (v1 , v2 , . . . , vn , s1 , s2 , . . . , sl ) = 0
R2 (v1 , v2 , . . . , vn , s1 , s2 , . . . , sl ) = 0
(2.1)
⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
Rr (v1 , v2 , . . . , vn , s1 , s2 , . . . , sl ) = 0
Relations between attributes of the entities forming the system originate from laws,
postulates and theorems. Typical examples are the conservation laws for mass, en-
ergy or momentum, for state equations and for transport and transfer of property or
reaction kinetics.
Variable attributes are represented by mathematical functions having usually as
independent variables time and one or more space variables.
In the following, the structural attributes will not be explicitly represented. Vari-
able attributes that intersect the delimiting interface of the system are simply named
as terminal variables and the relations involving these variables as terminal rela-
tions [4]. Those variables that do not intersect the interface are named suppressed
variables.
The terminal variables of the system may be classified in two important categories,
depending on the cause or effect nature they exhibit. This division is named the system
orientation. An oriented system is a system for which the terminal variables are already
12 | Part I: Introduction
separated in variables of type cause, named input variables (inputs) and variables of
type effect, named output variables (outputs). The oriented system may be therefore
described by the set of equations:
R1 (u1 , u2 , . . . , uq , y1 , y2 , . . . , yp ) = 0
R2 (u1 , u2 , . . . , uq , y1 , y2 , . . . , yp ) = 0 or R(u, y) = 0
(2.2)
⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
Rr (u1 , u2 , . . . , uq , y1 , y2 , . . . yp ) = 0
In equation (2.2) may be noted the vector of the input variables u = [u1 u2 ⋅ ⋅ ⋅ uq ]T ,
the vector of the output variables y = [y1 y2 ⋅ ⋅ ⋅ yp ]T and the vector of the relations
(functions connecting inputs and outputs) R = [R1 R2 ⋅ ⋅ ⋅ Rr ]T .
Note: boldface font notation will be further used for vectors and matrices.
Once the system orientation is performed the simplified, but very general, generic
representation of the system may be obtained, as presented in Fig. 2.5.
u y
Inputs Outputs
System
(Causes) (Effects)
With the aim of bringing to attention the different properties and characteristics of
the abstract or feasible systems, in the following a set of categories of systems are
presented [1, 5, 6]. Classification of systems is performed on the basis of various criteria
determined by both the nature of attributes (of variable or structure type) and by the
nature of relations between attributes. This classification is also valid for the individual
classification of entities composing the system.
tor of inputs u(t ± Δt) and/or outputs y(t ± Δt), from neighboring moments ((t − Δt)
for non-anticipative systems and (t + Δt) for anticipative systems) are named dynamic
systems. Dynamic systems are also called systems with memory. This denomination
derives, for feasible systems (those that can become physical), from the dependence
of the outputs at the present moment of time also on values of variables from moments
preceding the current moment. The dynamic character is a consequence of the inertia
that characterizes all feasible systems. Inertia is the system property of making oppo-
sition to the change of the quantity of mass, energy or momentum contained in the
system at a certain moment of time.
Systems for which the vector of outputs y(t), at every time moment t, depend only
on the values of the vector of inputs u(t) from the same time moment t, are named
static systems. These systems are also named systems without memory. Static systems
are ideal as they emerge from feasible systems when simplifying assumptions are con-
sidered. The system may be considered static when the aspect of time dependence of
its attributes is not important for the stated purpose.
The mathematical description of dynamic systems is usually performed by dif-
ferential equations (relationships) and for static systems by algebraic equations. For
static systems, the algebraic relationships (algebraic equations) describe in a simple
and natural way the relationship between the non-temporal input and output vari-
ables. For dynamic systems, the differential relationships (differential equations) are
the most common mathematical support for describing the dynamic character.
Example 2.1. For illustrating the use of the differential relation in the description of
dynamic system behavior consider the system consisting in an open tank continuously
fed and evacuated with a liquid phase, Fig. 2.6. The inlet mass flow Fmi (t) and outlet
mass flow Fmo (t) are considered to be time dependent. It is also assumed that the liquid
level in the tank H is continuously measured with a transducer and the signal (level
information) is sent as an electrical quantity to an observer placed at a distance from
Fmi
H HO
the tank (passes outside the system’s interface Σ ). For the initial time moment the level
in the tank is known H(t0 ) = H0 .
The aim is to describe the way that the liquid level in the tank changes with time
for the change in time of the inlet and outlet flows. The system may be considered
delimited by the interface Σ , with the terminal variable of input type u(t) = Fmi (t) −
Fmo (t) (the cause) and the terminal variable of output type y(t) = H(t) (the effect). The
known structural variables are the tank cross-section A and the liquid density ρ . For a
finite time interval Δt the mass balance for the Σ system may be stated as: the net mass
(difference between inlet and outlet mass) of liquid entered or evacuated in/from the
tank during the time interval Δt is equal to the change of mass of liquid from the tank
during the same time interval Δt. This equality is presented in the equation
dn y dn−1 y dy dm u dm−1 u du
qn n
+ qn−1 n−1 + ⋅ ⋅ ⋅ + q1 + q0 ⋅ y = pm m + pm−1 m−1 + ⋅ ⋅ ⋅ + p1 + p0 ⋅ u. (2.8)
dt dt dt dt dt dt
Depending on the ordering relationship between the maximal differentiation order of
2 Basics of systems theory | 15
the right m and left n members of equation (2.8) the systems may be classified in:
(i) strictly proper systems, when n > m,
(ii) proper systems, when n = m,
(iii) improper (non-feasible) systems, when n < m.
From the mathematical point of view, obtaining the solution of a system of partial
differential equations is in general a difficult task [6, 7]. This is the reason for making
a compromise in the description of the dynamic systems with distributed parameters
when only time behavior is taken into consideration. This compromise consists in in-
troducing a pure time delay in the description of the phenomena evolution, usually
named dead time. This way a relationship between attributes represented by func-
tions only dependent on time may be obtained, mathematically represented by total
(ordinary) differential equations. The dead time is represented, from the mathemati-
cal point of view, by functions having the time-independent variable shifted with the
dead time value (translation in time).
Example 2.2. A typical example for a dynamic system with distributed parameters
consists in a conveyor belt for feeding a silo of solid material, Fig. 2.7.
Fmb(t)=u(t)
Fm(t,x)
Fmd(t)=Fmb(t–τ)
v
x
L
y(t)=Qm
The flow of solid material transported by the conveyor belt Fm (t, x) is both time t and
space x dependent (the spatial coordinate stretches along the belt direction of move-
ment). Consider the mass flow entering the conveyor belt at position x = 0 as the input
variable u(t) and the quantity (mass) of solid material accumulated in the silo Qm (t)
as the output variable y(t). Both input and output variables are considered dependent
on time. The mass accumulation in the silo may be described by the equation:
using a total differential equation (with respect to time) having the argument of the
input function shifted (translated) in time with the dead time value.
For understanding intuitively the concept of state, consider the system presented in
Fig. 2.8. It consists in a continuous stirred tank reactor with a heating jacket. The en-
dothermic reaction A + B → C is performed in the continuous operated reactor. The
system delimitation is represented by the Σ interface.
Terminal variables passing over the interface Σ are of input type: F1 , F2 , Fsteam ,
CAi , CBi and of output type: F3 , Fcondensate , CA , CB , CC . But there is still a set of sup-
pressed variables that do not pass over the delimiting interface, that can be important
for describing the system’s behavior; such suppressed variables may be considered:
the inventory of reactants and products in the reactor, the level of condensed vapors in
the jacket or the pressure in the reactor vessel. The knowledge of these variables may
reveal aspects related to the internal behavior of the system. The internal behavior
may not be always determined by tracing the inputs’ and outputs’ evolution.
This simple example points out the fact that, in general, knowing the relation-
ships between the input and output variables may not always contribute to the ex-
haustive and intimate description of the aspects related to its behavior. A fundamental
limitation of the system description using input-output relationships is the fact that
2 Basics of systems theory | 19
A+B C
F1 F2
CAi CBi
Fsteam
Ʃ
Fcondensate
F3
CA , CB , CC
Fig. 2.8. Terminal and suppressed variables for a continuous stirred tank reactor.
the output may not be uniquely determined for known inputs; it is necessary to specify
a set of supplementary information, related to the internal behavior of the system, in
order to accomplish the desired uniqueness.
It is obvious that revealing these internal aspects may contribute to better under-
standing the system behavior, knowledge that may be later exploited for improved
operation, design and control.
The main property of the state of the system at the moment t = t0 is to separate the
past t < t0 from the future t > t0 by specifying that information necessary at moment
t = t0 in order to determine (for known future input) the output in a unique way during
the future time span t > t0 .
Definition. The state of an abstract oriented system is a set of real numbers represent-
ing the minimal information necessary to be known at the initial moment of time t = t0
that will determine, together with the given input u[t0,t] , a unique output y(t) for the
future time span t > t0 .
For the abstract, oriented and dynamic system described by differential equations
of equation (2.8) form, such a set of real numbers may consist in the output y(t0 ) and
the first (n − 1) derivatives of the output function evaluated at the same initial mo-
ment of time y(1) (t0 ), . . . , y(n−1) (t0 ). This set of values characterize in a unique way the
state of the system at the time moment t = t0 . If the output y(t) and its first (n − 1)
derivatives are considered for all time moments t, then a set of functions representing
the state variables will be obtained; these variables have the property of completely
characterizing the system for each moment of time during the time interval t > t0 . The
state variable is usually denoted by a vector function x(t) having the components xi (t),
i = 1, 2, . . . , n, as presented in the following:
The space generated by the values of the state variable x(t) is referred to as the state
space of the system and has the generic notation of Σ . The state variable concept from
systems theory is the same as that of the Lagrange, Lyapunov, Poincare or Gibbs gen-
eralized variables from physics and chemistry.
The selection of the state variables is not unique. The way of choosing the state
variables presented before is just a simple and intuitive possibility of specifying them.
For one representation of the system using the input-output relationship it corre-
sponds a set of possible input-state-output representations, while only one unique
input-output representation corresponds to one input-state-output representation.
In conclusion, there are two main ways of representing the system: one uses the
input-output relationship (I) and the other the input-state-output relationship (II):
I R(u, y) = 0,
(2.11)
II y = RS(x0 , u).
over those variables describing the system behavior. Obviously, this is an important
incentive compared to the case of controlling only the output variables. In general,
from the practical point of view, not all state variables have a physical sense because
for many cases the state variables may not be measured, affecting the possibility of
directly controlling the states of the system.
Stability is a very important property of the system, being given special attention in
systems theory. The stability concept probably has its origin in the investigation of the
mechanical system behavior. Three types of mechanical equilibrium may be distin-
guished according to the way the solid body behaves after the application of a small
(force) disturbance:
(i) stable equilibrium, if the mechanical body returns to its initial position after the
application of a small disturbance,
(ii) unstable equilibrium, if the mechanical body tends to get a different position after
the application of a small disturbance,
(iii) neutral equilibrium, if the mechanical body remains in a position arbitrary far
from to its initial position, after the application of a small disturbance.
Stability may be often interpreted by investigating the change in the energy of the sys-
tem. If the energy is decreasing, the system tends to be more stable; if it is increasing
it becomes more unstable and if it remains constant the equilibrium is neutral. In a
larger sense, a system is denoted stable if, when having “small” and bounded inputs
and initial conditions, it gets bounded outputs. If a small and bounded input or initial
condition determines an unlimited increasing output, the system is denoted unsta-
ble. This mode of expressing stability leads to the concept of Bounded-Input Bounded-
Output Stability (BIBO stability).
termines the further increase of the reaction mass temperature. This positive reaction
(avalanche) finally determines the unlimited (unbounded) rise of the temperature in
the reactor. Certainly, in practice, the reactor temperature rise may not be unlimited
as the system is deteriorated (in the extreme case the system vanishes) before the un-
bounded values (close to infinity) are attained.
The signal can be defined as a terminal variable carrying information. In a more gen-
eral approach, the signal is a phenomenon representing information [9]. The mathe-
matical support for the signal is the function. Usually, the independent variable of the
signal function is time, the signal being denoted as a time-dependent signal. In sys-
tems theory, signals depending on frequency-independent variable are also studied.
A group of deterministic signals, named elementary signals or standard signals
are defined by the following properties [1]:
(i) signals are represented by functions having all derivatives continuous with re-
spect to time, possibly excepting a single value of time,
(ii) the functions that represent the signals may be obtained one from another by suc-
cessive derivation and integration operations.
The main elementary functions used for describing the elementary signals in systems
theory are:
(1) The unit step function u0 (t). It presents a discontinuity in the origin and has
amplitude equal to 1. It is defined by:
0 for t < 0
u0 (t) = { (2.15)
1 for t ≥ 0
u0(t)
t
0 Fig. 2.9. Unit step elementary signal.
24 | Part I: Introduction
v0 (t)
t
0 Fig. 2.10. Unit ramp elementary signal.
(3) Other elementary functions may be defined by the general function form
tn−1
v(t) = u (t), n ≥ 1, n ∈ N. (2.18)
(n − 1)! 0
(4) The unit impulse function (Dirac impulse) δ (t). The class of elementary func-
tions may be completed with the unit impulse function, also named the Dirac func-
tion.
For the definition of this function consider the v(t) function, shown in Fig. 2.11.
v(t)
1
Fig. 2.11. Signal leading to the unit step function
t
0 ε u0 (t) when ε → 0.
When passing to the limit ε →0, the function v(t) gets identical to the unit step func-
tion u0 (t):
lim v(t) = u0 (t), ε ≠ 0. (2.19)
ε →0
By the differentiation of the v(t) function, with ε =0,̸ the δ0 (t) function may be ob-
tained:
dv(t)
δ0 (t) = . (2.20)
dt
Its representation is shown in Fig. 2.12.
The integral of the δ0 (t) function (area under the function, proportional to the
signal power) is equal to unity.
It may be noticed that as ε →0 the v(t) function approaches the unit step func-
tion and the δ0 (t) function approaches the form of an impulse with an infinitely small
2 Basics of systems theory | 25
δ0 (t)
1/Ɛ
Fig. 2.12. Signal δ0 (t) having the form of a unit
t
0 Ɛ impulse with finite duration and amplitude.
duration (approaching zero) and an infinite amplitude, but having a finite and equal
to unity area. The function obtained by this process of approaching the limit ε →0 is
the unit impulse δ (t), denoted by
δ(t)
Fig. 2.13. The elementary unit impulse δ (t) also named the Dirac
0 t impulse.
0 for t ≠ 0
δ (t) = { (2.22)
∞ for t = 0.
that justifies the consideration of the unit impulse function to be obtained by differ-
entiating the unit step function
du0 (t)
δ (t) = . (2.24)
dt
The Dirac function δ (t) may be understood as a generalized function or as a distribu-
tion. This function completes the class of the elementary functions. It features a set of
properties having sense only under integration operation, such as
∞ t0 +ε t0 +ε
The results of the (2.25) expression reveal the sampling property of the shifted unit
impulse function δ (t − t0 ) consisting in extracting the value f (t0 ) of the function f (t)
at the moment t0 when the unit impulse is applied.
(5) The group of elementary signals may be extended with the sinusoidal signal,
defined by
u(t) = A sin(ω t), (2.26)
where A is the amplitude and ω is the (angular) frequency. Its representation is shown
in Fig. 2.14.
u(t)=Asin(ωt)
0 t
The presented signals are used for describing and defining the behavior of the systems.
In order to compare the behavior of two or more systems it is necessary to subject
them to the same type of input signals and then to investigate their response that will
reveal their dynamic and steady state characteristics. Elementary signals are simple
but intuitive and represent a benchmark for studying the response of different systems
for the same testing conditions.
for t ∈ T, T = [t0 , ∞], with n and m positive integer values and with f an application,
f : Cn+m+2 × T → C.
2 Basics of systems theory | 27
Linear time-invariant (LTI) systems are described by linear differential equations hav-
ing constant coefficients. The general form of the differential equation is [14]:
Q(λ ) = q0 + q1 ⋅ λ + ⋅ ⋅ ⋅ + qn ⋅ λ n (2.29)
m
P(λ ) = p0 + p1 ⋅ λ + ⋅ ⋅ ⋅ + pm ⋅ λ . (2.30)
The roots of these polynomials play an important role in determining the solution of
the differential equation (2.28), for a given input u(t). This solution is usually named
the response of the system to the input u(t).
Finding the response of the linear time-invariant system consists in determining
the unique output y(t) corresponding to a given input u(t). First, this finding deter-
mines all outputs y(t) corresponding to a given input u(t), followed by the selection of
one unique output on the basis of the initial conditions.
find a way for determining the basic solutions. One way of choosing a set of n basic so-
lutions is defining the set of mi basic solutions, for each root λ of order of multiplicity
mi , as mi
yi = ti ⋅ eλ t , i = 0, 1, . . . , mi − 1; ∑ mk = n, t ∈ T+ or T∞ . (2.32)
k=1
This set of basic solutions is not unique but is it determined in a convenient way.
Taking into account that the solution of the homogeneous differential equation
is a linear combination of the basic solutions, the set of all response functions to the
zero input Yhomog is:
Yhomog = {y|y = ∑ αi ⋅ yi , αi ∈ C}. (2.33)
i
In general, the roots of the characteristic polynomial Q may also have complex roots,
even if the coefficients qi are real. For this case, the roots are always complex conju-
gated pairs. Nevertheless, pairs of basic solutions having only real values may also be
determined.
If the roots of the characteristic polynomial are complex conjugated pairs, λ and
λ ∗ , having the multiplicity order m, the basic solution contains 2m real linear inde-
pendent integrals of the form
yi = ti ⋅ eσ ⋅t ⋅ cos(ω ⋅ t), i = 0, 1, . . . , m − 1
(2.34)
yi = ti ⋅ eσ ⋅t ⋅ sin(ω ⋅ t), i = 0, 1, . . . , m − 1,
where σ = Re(λ ) and ω = Im(λ ) are the real and imaginary parts of the root λ .
It may be noticed that, in this case, the solution of the homogeneous differen-
tial equation is oscillating (harmonic), having decaying amplitude if σ = Re(λ ) is
negative.
A particular solution of the differential equation (2.28) consists in any output function
ypart verifying the differential equation for a given input u(t). It is often possible to
guess the form of a particular solution. It is the case of the input functions having the
form of a constant or of an exponential, both being particular solutions of the same
type. For the case of feasible systems, the particular solution may be also computed
by the convolution between the impulse response and the given input.
2 Basics of systems theory | 29
The general solution y(t) of the nonhomogeneous differential equation (2.28) is the
sum of the solution of the homogeneous differential equation yhomog and a particular
solution of the nonhomogeneous differential equation ypart :
It may be noticed that the general solution of the nonhomogeneous differential equa-
tion consists in a set of functions Ygen having as parameters the arbitrary constants αi :
As previously mentioned, a unique solution y(t) of the equation (2.28), for a given in-
put u(t), may only be obtained if the initial conditions are also specified. If the following
initial conditions are given:
Definition. The roots of the characteristic polynomial Q are denoted as the character-
istic roots of the system.
Definition. The roots of the Q polynomial are denoted as the poles of the system and
the roots of the P polynomial as the zeros of the system.
Due to the fact that the LTI system is completely characterized by its impulse re-
sponse h(t), it is expected that the investigation of the BIBO stability to be performed
on the basis of this response.
30 | Part I: Introduction
A stronger form of stability than the BIBO stability is the converging-input converg-
ing-output (CICO) stability. The condition for a system to be CICO stable is that for a
bounded input approaching zero when time approaches infinity, i.e. u(t) → 0 when
t → ∞, the corresponding output should also be bounded and should approach zero
when time approaches infinity, i.e. y(t) → 0 when t → ∞.
Taking into account that the response of the system described by the equation (2.28) is
y = h ∗ u + ∑ αi ⋅ yi (2.38)
i
and that BIBO stability implies that h is finite, it follows that for every pair of finite h
and finite u, the first term in equation (2.38) is finite. The symbol “∗” denotes the con-
volution. Likewise, finite h implies the existence of poles having negative real values.
Bounding conditions remain to be specified for the second term in equation (2.38), the
part of the solution corresponding to the homogeneous differential equation. From
this part, the conditions to be specified refer to those characteristic roots that are not
poles.
Definition. The necessary and sufficient conditions for the system, described by the
LTI differential equation (2.28), to be BIBO stable are:
(i) the degree of the P polynomial is less than or equal to the degree of the Q polyno-
mial,
(ii) the poles of the system have strictly negative real part,
(iii) the system does not have any characteristic roots with strictly positive real part
that cancel with zeros,
(iv) every characteristic root cancelling with a zero and having a zero real part is only
of first order of multiplicity.
Definition. The necessary and sufficient conditions for CICO stability of the system
described by the linear time-invariant differential equation (2.28) are
(i) the degree of the P polynomial is less than or equal to the degree of the Q polyno-
mial,
(ii) the characteristic roots of the Q polynomial have strictly negative real part.
CICO stability implies BIBO stability but the reversed implication in not true.
2 Basics of systems theory | 31
In systems theory, a special role is played by the description of the way that the system
responds to periodic input functions of the sine form or, more generally, to a harmonic
function having complex values. The reason for this interest is related to the fact that
input signals can be decomposed in finite or infinite linear combinations (series) of
harmonic functions. Knowing the response of the system to the harmonic input and
taking into account the linearity property, the response of the system to an arbitrary in-
put may be determined as a linear combination of harmonic response functions. This
description of the system is named the frequency response and reveals quantitative
and qualitative aspects of both steady state and dynamic behavior.
Definition. The harmonic signal is represented by a function having the time t as the
independent variable and the real value ω , i.e. the frequency, as a parameter, and has
values in the set of the complex numbers:
The constant a may have complex values in the general case and is denoted as the
complex amplitude. If represented in the polar form, the complex constant a has the
form a = υ ⋅ ejφ , where υ = |a| is the amplitude or module of the constant a and φ is
the argument of the constant a. The complex harmonic signal has the form:
The response of the LTI system to the harmonic input u = η (t), presented in equation
(2.42), may be determined by convolution:
+∞ +∞
provided that the integral exists. Making the variable change t − τ = θ , the following
form for the output is obtained:
+∞ +∞
jω (t−θ )
y(t) = ∫ h(θ ) ⋅ e dθ = ( ∫ h(θ ) ⋅ e−jω θ dθ ) ⋅ ejω t
(2.44)
−∞ −∞
jω t
= hω (ω ) ⋅ e , t ∈ R.
This function is named the frequency response function of the system. It is a complex
function.
Comparing equation (2.42) and equation (2.44) it may be noticed that the system
response to a harmonic input is an output signal of the harmonic form, too:
y = hω (ω ) ⋅ η (t). (2.46)
This is one of the remarkable properties of linear systems (property valid also for a =1).
̸
The way the harmonic response signal y changes its amplitude and argument,
compared to the amplitude and argument of the harmonic input signal η , is specified
by the frequency response function, namely by the amplitude and argument of the
complex function hω (ω ).
The following real harmonic input signal is considered:
The response signal to the previously mentioned input signal u(t) has the form
aω = hω (ω ) ⋅ υ
υω = |hω (ω )| ⋅ υ (2.49)
φω = φ + arg(hω (ω )).
The way the harmonic response signal y changes its amplitude and argument (phase)
compared to the harmonic input signal η is specified by the frequency response func-
tion, namely by the module (amplitude) |hω (ω )| and argument (phase) of the complex
function hω (ω ), as given in equations (2.49).
2 Basics of systems theory | 33
P(jω )
hω (ω ) = , ω ∈ R. (2.50)
Q(jω )
Thus, the form of the frequency response function given in equation (2.50) is straight-
forward.
The frequency response hω (ω ) of the CICO stable LTI system, to a complex harmonic
input
u(t) = a0 ⋅ ejω t , t ∈ T, (2.52)
34 | Part I: Introduction
where T is the infinite or half-infinite positive time axis, has the form
The steady state component is the response of the system in the (quasi) steady state
regime, i.e. the situation when all input variables have transmitted their transient ef-
fects on the output variables. This regime is usually accomplished after a sufficiently
long time interval (in fact when time approaches infinity).
The steady state component of the response ysteadystate is given by
As may be noticed, the frequency response of the system refers to the (quasi) steady
state component of the response to a harmonic input.
The description of the system’s behavior using input-state-output relations reveals not
only the external behavior of the system (directly described by the input-output rela-
tionships) but also the internal behavior, which is the internal mechanism govern-
ing it. It is clear that the uncovering of these internal aspects contributes to a better
comprehension of the system with direct benefits on system analysis, synthesis and
control [10–13].
Following the theoretical elements related to the state concept, it was concluded
that the basic property of the state at time moment t = t0 is to separate the past t <
t0 and the future t > t0 by specifying the information necessary at moment t = t0 ,
2 Basics of systems theory | 35
x(t0 ), in order to univocally determine the output over the future time t > t0 . The set
of numerical values containing this information, for each time moment t, generates a
vector function x(t) denoted as the state variable. The components of the state vector
generate the state space Σ . Therefore, it is only necessary to know the state of the
system x(t) (at a certain time moment t) and the given input u(t) (for t ≥ t0 ), in order
to univocally determine the output y(t) for the time interval t > t0 .
Consider the linear time-invariant system described by the differential equation (2.28)
where, without losing generality, qn = 1 has been assumed.
For a representation of the system using an input-output relationship it may be
assigned multiple input-state-output representations, but a single input-state-output
representation has only a single (unique) associated input-output representation.
From the set of the input-state-output representations of the same system, of first im-
portance are those representations leading to particular (simple) forms of the matrices
A, B, C, and D [1].
The way of choosing the state variables of a system is not unique. A simple but in-
tuitive way of choosing the state variables is to consider as state variables the output
y(t) and the first (n − 1) derivatives of the output. This way of choosing the states is
suggested by the fact that when setting (specifying) the initial conditions y(t0 ), y (t0 ),
y (t0 ), y(3) (t0 ), . . . , y(n−1) (t0 ) for a differential equation this implies depicting the min-
imal information necessary for uniquely determining the output for the future time
moments t > t0 , when the input u(t) is given. This way of choosing the state variables,
named phase (state) variables of canonical form, is leading to the following form of the
input-state-output equations:
ẋ1 = x2
ẋ2 = x3
.. (2.58)
.
ẋn−1 = xn
ẋn = −q0 ⋅ x1 − q1 ⋅ x2 − ⋅ ⋅ ⋅ − qn−2 ⋅ xn−1 − qn−1 ⋅ xn + u
y = (p0 − pn ⋅ q0 ) ⋅ x1 + (p1 − pn ⋅ q1 ) ⋅ x2
(2.59)
+ (p2 − pn ⋅ q2 ) ⋅ x3 + ⋅ ⋅ ⋅ + (pn−1 − pn ⋅ qn−1 ) ⋅ xn + pn ⋅ u.
36 | Part I: Introduction
These equations are equivalent to the set of linear first order differential equations:
ẋ1 0 1 0 . . . 0 x1 0
[ ẋ ] [ 0 0 1 . . . 0 ] [ x ] [0]
[ 2 ] [ ] [ 2 ] [ ]
[ ] [ ] [ ] [ ]
[ . ] [ . . . . . . . ] [ . ] [.]
[ ] [ ] [ ] [ ]
[ . ]=[ . . . ] [ ] [ ]
[ ] [ . . . . ]⋅[ . ]+[ . ]⋅u (2.60)
[ . ] [ . . . . . . . ] [ . ]
] [ [ ]
[ ] [ ] [.]
[ ] [ ] [ ] [ ]
[ ẋn−1 ] [ 0 0 0 . . . 1 ] [ xn−1 ] [ 0 ]
[ ẋn ] [ −q0 −q1 −q2 . . . −qn−1 ] [ xn ] [ 1 ]
x1
[ ]
[ x2 ]
[ ]
[ ]
y = [(p0 −pn ⋅q0 ) (p1 −pn ⋅q1 ) . . . ( pn−2 −pn ⋅qn−2 ) (pn−1 −pn ⋅qn−1 )] [ ... ] +pn ⋅u, (2.61)
[ ]
[x ]
[ n−1 ]
[ xn ]
where the matrices A, B, C, and D have the form
0 1 0 . . . 0 0
[ 0 0 1 . . . 0 ] [0]
[ ] [ ]
[ ] [ ]
[ . . . . . . . ] [.]
[ ] [ ]
A=[ . . ] B=[ ]
[ . . . . . ], [ . ],
[ . . . . . . . ] [.]
[ ] [ ] (2.62)
[ ] [ ]
[ 0 0 0 . . . 1 ] [0]
−q
[ 0 −q1 −q2 . . . −qn−1 ] [1]
C = [(p0 − pn ⋅ q0 ) (p1 − pn ⋅ q1 )...(pn−2 − pn ⋅ qn−2 ) (pn−1 − pn ⋅ qn−1 )],
D = pn .
differential equations associated with a set of output algebraic equations, on the basis
of an appropriate definition of the state variables.
The most appreciated and efficient representation form of the state equations, es-
pecially for the control system design, is the so called modal form where the matrix
A has a pure diagonal form Λ (with nonzero values only on the main diagonal of ma-
trix A). This way of choosing the state variables is only possible when the eigenvalues
of the matrix A are of zero order of multiplicity. The linear transformation of a certain
input-state-output representation to the modal one may be performed on the basis of
the transformation matrix consisting in the eigenvectors of matrix A. The modal input-
state-space representation implies states that are decoupled (each state only depends
on itself and on the input). When the eigenvalues of the matrix A are of nonzero or-
der of multiplicity it is only possible to obtain a quasi-diagonal form of the matrix A,
denoted as the Jordan form.
Consider the general case of a nonlinear system described by the set of state equations:
x(t)
̇ = f (t, x(t), u(t)), (2.63)
y(t) = g(t, x(t), u(t)), (2.64)
where the vector state variable belongs to an n-dimensional space of real or complex
numbers Σ ∈ Rn or Σ ∈ Cn and the input and the output functions are also defined on
real or complex spaces, Su ∈ Rk or Su ∈ Ck , respectively Sy ∈ Rm or Sy ∈ Cm .
The existence of the solutions for the set of the state and output equations (2.63)
and (2.64) may be guaranteed only for difficult formulated mathematical conditions
and explicit solutions may be determined just for a few particular cases.
For the linear systems described by the input-state-output relations
x(t)
̇ = A(t) ⋅ x(t) + B ⋅ u(t), (2.65)
y(t) = C(t) ⋅ x(t) + D ⋅ u(t), (2.66)
The solution of the nonhomogeneous state equation for the nonzero input u(t):
x(t)
̇ = A(t) ⋅ x(t) + B(t) ⋅ u(t), (2.67)
for every t and t0 from T. The vector function Φ (t, t0 ) is the transition matrix.
Demonstration of the steps for obtaining this solution may be performed using
the method of constants variation. If the solution of the state nonhomogeneous dif-
ferential equation is known, the system output function y(t) may be determined by
replacing the state expression from equation (2.68) into the output equation (2.66):
t
y(t) = C(t) ⋅ Φ (t, t0 ) ⋅ x(t0 ) + ∫ C(t) ⋅ Φ (t, τ ) ⋅ B(τ ) ⋅ u(τ ) ⋅ dτ + D(t) ⋅ u(t). (2.69)
t0
It may be noticed that, in general, the response of a linear system y(t) is a summation
of two components y(t) = yzero-input + yzero-state , having the form
yzero-input (t) = C(t) ⋅ Φ (t, t0 ) ⋅ x(t0 ), (2.70)
t
The term yzero-input is named zero-input response and represents the response of the
system having the input equal to zero but nonzero initial conditions.
The term yzero-state is named zero-state response and represents the response of the
system having the initial conditions equal to zero but nonzero input.
This summation is a consequence of the linear character of the system that pos-
sesses the effect superposition property.
Taking into account the form of the transition matrix, for the linear time-invariant
systems the two components have the following simplified form:
yzero-input (t) = C ⋅ eA⋅t x(0), t0 = 0, (2.72)
t
According to the convolution operation, the response to the zero initial conditions
(zero-state) may be formulated as
t
where h(t) is denoted as the impulse response matrix of the system. For the case of the
LTI systems the impulse response matrix has the form
For the case when both the input u(t) = u(t) and the output y(t) = y(t) are scalar func-
tions (m = k = 1), the impulse response is also a scalar function h(t) = h(t), represent-
ing the response of the system with zero initial conditions to a Dirac input function
δ (t).
For the MIMO case (m, k > 1), the (i, j) element of the impulse response matrix hij
is the response of the i-th component of the system output having zero initial condi-
tions to the j-th component of the input function, considered as a Dirac function, and
considering equal to zero all the other components of the input vector.
In the previous paragraphs the way of determining the time response of the systems
described by input-output or input-state-output relationships, generally called the
system behavior (analysis) in the time domain, has been presented. The methods for
determining the response for the linear time-invariant systems are based on the convo-
lution operation. Unfortunately convolution does not allow a direct evaluation of the
system behavior. Additionally, the implied operation of integration is a relatively com-
plicated and resource-consuming operation even for numerical computation. These
considerations led to the development of other methods for investigating and describ-
ing the system’s behavior, based on the frequency response function, methods that are
usually named the system analysis in the frequency domain.
Frequency domain analysis is intuitive with respect to reflecting the system be-
havior and it is used for control system design [14]. The core of this analysis is based
on two fundamental aspects:
1. every time-dependent signal may be decomposed in a linear combination of har-
monic (complex) functions having increasing frequencies (Fourier series);
2. the response of the linear time-invariant system, to a harmonic (complex) input,
is equal to that input multiplied by a factor that is described by the frequency re-
sponse function.
Consequently, the steps for determining the response of the linear time-invariant sys-
tem are:
1. the input function is decomposed in a linear combination of harmonic functions
having different frequencies;
2. the individual response for each harmonic function of the linear combination is
determined (being also a harmonic combination), based on the principle of the
cause-effect proportionality;
40 | Part I: Introduction
3. the individual responses are added for obtaining the total response, the operation
of summation being based on the effect superposition property characteristic for
linear systems.
Although the one-sided Laplace transform is predominantly used for linear time-
invariant systems description, the two-sided Laplace transform will be introduced
first in order to get a comprehensive overview of this mathematical instrument [14]:
Definition. The two-sided Laplace transform is the application L that transforms the
continuous signal x(t), defined on the entire time axis t ∈ R, into a complex function
X(s) = L(x(t)) having the complex independent variable s, and being defined by the
integral
∞
The set E ⊂ C, is named the region (domain) of existence of the two-sided Laplace
transform X(s) and consists in all complex values of the variable s for which the inte-
gral is convergent.
It is usual to denote the Laplace transform of the signal x(t) by the capital charac-
ter X(s) corresponding to the character used to denote the time signal x(t). X(s) is also
named the image of the function x(t) and x(t) is named the original of the function X(s).
Unlike the Fourier transform that may not be applied for a signal having expo-
nential growth, the Laplace transform allows this application due to the exponential
function included in the integral defining it.
Definition. The one-sided Laplace transform is the application L+ that transforms the
continuous signal x(t), defined on t ∈ R+ , into a complex function X+ (s) = L+ (x(t))
having the complex independent variable s, and being defined by the integral:
∞
The set E+ ⊂ C, is named the region (domain) of existence of the one-sided Laplace
transform X+ (s) and consists in all complex values of the variable s for which the in-
tegral is convergent [1, 14].
It is usual to denote the one-sided Laplace transform of the signal x(t) by the cap-
ital character X+ (s) corresponding to the character used to denote the time signal x(t).
If no confusion is possible (the usual case), the subscript “+” may be omitted. X+ (s) is
also named the image of the function x(t) and x(t) is named the original of the function
2 Basics of systems theory | 41
X+ (s). There is a close relationship between the one-sided and the two sided Laplace
transform, which may be formulated as L+ (x) = L(x ⋅ u0 (t)), where u0 (t) is the unit step
elementary function. In particular, if x(t) is a signal defined such that
0 for t<0
x(t) = { (2.78)
≠ 0 for t ≥ 0,
then the one-sided and two-sided Laplace transforms are identical L+ (x) = L(x), hav-
ing identical domains of definition E+ = E. This is the case in the majority applications
using the Laplace transform.
The definition of the one-sided Laplace transform refers to the integration domain
between 0 and +∞, provided that the function x does not include a singularity at the
moment of time t = 0. If the function x has a singularity at the initial moment of time,
for example the case of a signal x(t) containing Dirac functions δ (t), it is assumed that
integration is stared from the moment t = 0− .
Making a parallel between the one-sided and the two-sided Laplace transform the
following remarks may be performed:
1. the two-sided Laplace transform is a generalization of the one-sided Laplace
transform, the latter being extensively used due to historical reasons;
2. the one-sided Laplace transform is suitable for causal systems having zero initial
conditions, the causality being introduced for the two-sided Laplace transform by
the multiplication with the unit step function u0 (t);
3. when using the one-sided Laplace transform no specifications are made for the
time interval t < 0, while the two-sided Laplace transform is applied for t ∈ R;
4. left time shifting may be problematic for the one-sided Laplace transform, while
for the two-sided Laplace transform this shifting is straightforward.
The Laplace transforms of a set of usual functions are presented in Tab. 2.2 [14].
tk−1 ⋅eat 1 1
(k−1)!
u0 (t) Re(s) > Re(a) Re(s) > Re(a) a ∈ C, k ∈ N
(s−a)k (s−a)k
k−1 at
⋅e 1
Re(s) < Re(a) s∈C a ∈ C, k ∈ N
− t(k−1)! u0 (−t) (s−a)k
0
s s
cos(ω t) ⋅ u0 (t) (s2 +ω 2 )
Re(s) > 0 (s2 +ω 2 )
Re(s) > 0 ω ∈R
sin(ω t) ⋅ u0 (t) ω
Re(s) > 0 ω
Re(s) > 0 ω ∈R
(s2 +ω 2 ) (s2 +ω 2 )
s−a s−a
eat ⋅ cos(ω t) ⋅ u0 (t) (s−a)2 +ω 2
Re(s) > a (s−a)2 +ω 2
Re(s) > a a, ω ∈ R
at
e ⋅ sin(ω t) ⋅ u0 (t)
ω
Re(s) > a ω
Re(s) > a a, ω ∈ R
(s−a)2 +ω 2 (s−a)2 +ω 2
(A) Definition. Consider X, the two-sided Laplace transform of the signal x, in the ex-
istence region E. The signal x(t) may be recovered from X(s) using the inverse Laplace
transform x(t) = L−1 (X(s)) defined by
σ +j∞
1
x(t) = ∫ X(s) ⋅ est ds, t ∈ R, (2.79)
2⋅π ⋅j
σ −j∞
where the integral is computed along a vertical line completely included in the exis-
tence region E and having the σ abscissa.
(B) Definition. Application of the inverse Laplace transform to the one-sided Laplace
image X+ (of the original x(t)) leads to the signal u0 (t) ⋅ x(t) defined by
According to this definition, the direct use of the inverse Laplace transform is not prac-
tical as it implies solid knowledge on the theory of complex functions. Usually, the
method of partial fraction expansion of the Laplace image function is used for deter-
mining the original function.
44 | Part I: Introduction
Laplace transform represents a very efficient instrument for analyzing the behavior of
linear time-invariant systems, both from a quantitative and a qualitative point of view.
Definition. The transfer function H(s) of the linear time-invariant system is the two-
sided Laplace transform of the impulse response function h(t):
∞
The fact that the Laplace transform of the output is equal to the Laplace transform of
the input multiplied by the transfer function Y(s) = H(s)U(s) is a more natural way
of representing the cause-effect relationship (compared to the one represented by the
differential equation or convolution). Regarded from this point of view, it may be con-
sidered that the output, as the effect of the input, depends on the product between the
input U(s) and the function that cumulates all characteristics of the system, i.e. H(s).
Therefore, in a more explicit way, the output is the unity of the two factors influenc-
ing it: the input and the specific characteristics of the system. At the same time, the
product operation is a simpler and intuitive way for the mathematical formulation of
the input-output relationship, compared to the formulation based on convolution.
(2) Another important consequence (in applications) for the introduction of the
transfer function concept is the fact that equation (2.83) represents a product between
two polynomials in the independent variable s. From a mathematical point of view, it is
more comfortable to operate with the polynomials’ algebra than to use the integration
or differentiation operators [16].
(3) Knowing the transfer function H(s) and the Laplace transform of the input
signal U(s) it is rather simple to determine the output signal in the time domain y(t),
by the use of the inverse Laplace transform applied to the equation (2.83).
y(t) = L−1 (Y(s)) = L−1 (H(s) ⋅ U(s)). (2.84)
According to this consequence it is possible to find the time response of the system
without the direct solving of the differential or integral equations.
(4) There is a simple and direct relationship between the transfer function H(s)
and the frequency response function hω (ω ).
If the region of existence Eh for the transfer function H(s) contains the imaginary
axis it may be shown that between the frequency response of the system and the trans-
fer function there is the simple relationship
hω (ω ) = H(jω ), ω ∈ R. (2.85)
(5) A simple algebra of the simulation diagrams allows the calculation of the equiv-
alent transfer function of a system composed of several subsystems having known
transfer functions.
The one-sided Laplace transform is appropriate for determining the response of the
linear time-invariant systems described by input-output relationships, starting from
nonzero initial conditions [14].
Consider the linear time-invariant system described by the differential equation
(2.28), where the qn and pm coefficients are nonzero. It is assumed that the function
46 | Part I: Introduction
u(t) is known on the time interval t ≥ 0 and also known are the initial conditions y(0− ),
y(1) (0− ), . . . , y(n−1) (0− ).
Applying the one-sided Laplace transform to the equation (2.28) and accounting
for the differentiation (with respect to time) property and linearity of the one-sided
Laplace transform, the successive expressions are obtained:
dn y dn−1 y dy
L+ (qn ⋅ n
) + L+ (qn−1 ⋅ n−1 ) + ⋅ ⋅ ⋅ + L+ (q1 ⋅ ) + L+ (q0 ⋅ y)
dt dt dt
dm u dm−1 u du
= L+ (pm ⋅ ) + L+ (pm−1 ⋅ ) + ⋅ ⋅ ⋅ + L+ (p1 ⋅ ) + L+ (p0 ⋅ u) ,
dtm dtm−1 dt
n−1 n−2
qn [sn ⋅ Y+ (s) − ∑ sn−i−1 ⋅ y(i) (0− )] + qn−1 [sn−1 ⋅ Y+ (s) − ∑ sn−i−2 ⋅ y(i) (0− )]
i=0 i=0
−
+ ⋅ ⋅ ⋅ + q1 [s ⋅ Y+ (s) − y(0 )] + q0 ⋅ Y+ (s)
m−1 m−2
= pm [sm ⋅ U+ (s) − ∑ sm−i−1 ⋅ u(i) (0− )] + pm−1 [sm−1 ⋅ U+ (s) − ∑ sm−i−2 ⋅ u(i) (0− )]
i=0 i=0
−
+ ⋅ ⋅ ⋅ + p1 [s ⋅ U+ (s) − u(0 )] + p0 ⋅ U+ (s) . (2.86)
Using the notation B(s) for the polynomial containing all terms having involved val-
ues of the initial conditions of the output function y(i) (0− ), i = 0, 1, . . . , n − 1 and the
notation A(s) for the polynomial containing all terms having initial conditions of the
input function u(i) (0− ), i = 0, 1, . . . , m − 1, the following equation is obtained:
Using the notation C(s) = A(s) − B(s), the compact form of the one-sided Laplace
transform of the output, Y+ (s), is obtained:
If x(t) = [x1 (t) x2 (t) ⋅ ⋅ ⋅ xn (t)]T is a vector composed of scalar and time-dependent sig-
nals xi (t), the one-sided or two-sided Laplace transform of the vector function x(t) is
2 Basics of systems theory | 47
the vector X(s) = [X1 (s) X2 (s) ⋅ ⋅ ⋅ Xn (t)]T having as components the Laplace transforms
Xi (s) of the signals xi (t), for i = 1, 2, . . . , n. The region of existence E of the Laplace
transform X(s) is the intersection of the existence regions Ei for the components Xi (s),
i = 1, 2, . . . , n.
The properties of the one-sided Laplace transform may be extended to the case of
the vector function. In particular, the linearity property makes that the one-sided or
two-sided Laplace transform of a linear combination of vectors A ⋅ x(t) + B ⋅ y(t) (with A
and B constant matrices) is A⋅X(s)+B⋅Y(s), in the region of existence Ex ∩Ey . The one-
sided Laplace transform of the time differentiated vector signal x (t) is sX + (s) − x(0− ),
in the region of existence s ∈ E+ . In the following, the notation “+” associated to the
one-sided Laplace transform will be dropped and the MIMO case (k inputs, m outputs
and n states) will be mainly considered.
Consider the MIMO linear time-invariant system described by the input-state-
output relationships:
x(t)
̇ = A ⋅ x(t) + B ⋅ u(t) (2.89)
−
y(t) = C ⋅ x(t) + D ⋅ u(t) t ∈ [0 , +∞]. (2.90)
Applying the Laplace transform to the equations (2.89) and (2.90), the following equa-
tions are obtained:
where the I matrix is the unity matrix with the same dimension as the A matrix.
After replacing the expression (2.93) in the equation (2.92), the output equation
becomes
The state equation (2.93) and the output equation (2.94) represent the Laplace trans-
form of the input-state-output relationship.
For zero input u(t) = 0 the Laplace transform is also zero U(s) = 0 and the equa-
tion becomes
X(s) = (s ⋅ I − A)−1 ⋅ x(0− ). (2.95)
If the Laplace transform is applied to the equation (2.96), the following equation is
obtained:
X(s) = Φ (s)x(t0 ). (2.98)
Comparing equations (2.95) and (2.98) the following definition may be formulated.
The transfer matrix is the MIMO case generalization of the SISO case transfer func-
tion [1].
Consider the system described by the state equation (2.89) and the output equa-
tion (2.90); the system is represented by input-state-output relationships having zero
initial conditions x(0) = 0. The Laplace transform of the system response Y(s), starting
from zero initial conditions, may be obtained from equation (2.94) and accounting for
the zero initial conditions:
It may be noticed that equation (2.100) is of the form Y(s) = H(s) ⋅ U(s), where H(s) is
the transfer matrix and is equal to:
adj (s ⋅ I − A)
H(s) = C ⋅ (s ⋅ I − A)−1 ⋅ B + D = C B + D. (2.101)
det (s ⋅ I − A)
Existence of the relationship Y(s) = H(s) ⋅ U(s) is provided in the region of existence
E = E0 ∩ E u .
The transfer matrix is the element by element one-sided or two-sided Laplace
transform, of the impulse response matrix:
Similar to the SISO case, it may be shown that the frequency response matrix hω (ω )
may be directly determined from the transfer matrix H(s) by the replacement of the s
variable with the (jω ) product:
hω (ω ) = H(s) s=jω = H(jω ), ω ∈ R. (2.103)
2 Basics of systems theory | 49
This relationship is possible if the region of existence for the transfer matrix E0 in-
cludes the imaginary axis.
The transfer matrix is m × k dimensional for the MIMO case and becomes a scalar
for the SISO case. The sense of the Hij element of the transfer matrix is the following:
for the inlet vector u having all components equal to zero, excepting the j-th compo-
nent that is an exponential signal uj = aj ⋅ est , the response of the i-th component of
the output vector yi (t) is equal to the Hij element of the transfer matrix multiplied by
the j-th component of the inlet vector, i.e. yi (t) = Hij ⋅ uj = Hij aj ⋅ est .
The Bode diagram of phase usually uses the radian unit (the degree unit may be also
used).
The magnitude and phase Bode diagrams are usually placed one below another,
thus having the same logarithmically spaced abscissa lg(ω ), as presented in Fig. 2.15.
This positioning allows the correlation between values of the magnitude and the
phase at the same frequency lg(ω ) .
Due to the decibel unit, the values of the magnitude situated above the abscissa
axis correspond to modules having values higher than unity (amplification) and the
values of the magnitude situated below the abscissa axis correspond to values of mag-
nitude less than unity (attenuation). Values of the phase above the abscissa axis cor-
respond to positive phase (leading phase) and value below the abscissa axis corre-
sponds to negative phase (phase lag).
The logarithmically spaced frequency allows the representation of the Bode mag-
nitude and phase with a good resolution both for very low and for very high frequency
values.
Bode diagrams representation of the frequency response usually starts with fac-
torization of the frequency response function H(jω ) and its transformation into the
50 | Part I: Introduction
|H(j·ω)|dB
20 Amplification
10
lg(ω)
−4 −3 −2 −1
−10
Attenuation
−20
φ(H(j·ω))
π Leading phase
π/2
lg(ω)
−π/2 −4 −3 −2 −1
Phase lag Fig. 2.15. Form and axis significance of the
−π
Bode diagrams of magnitude and phase.
general form
nm nl
2ξl
K ⋅ ∏ (1 + jω Tm ) ⋅ ∏ [ ω12 (jω )2 + ωl
(jω ) + 1]
m=1 l=1 l
H(jω ) = ni nk
, (2.105)
2ξk
(jω )p ⋅ ∏ (1 + jω Ti ) ⋅ ∏ [ ω12 (jω )2 + ωk
(jω ) + 1]
i=1 k=1 k
where K, Ti , Tm , ωk , ωl , ζk , and ζl have real constant values. It may be noticed that bi-
nomials correspond to real zeros and poles. Trinomials correspond to complex conju-
gated poles or zeros, for ζk , ζl < 1, and to real and identical zeros or poles, for ζk , ζl = 1.
The factor (jω )p corresponds to a pole situated in the origin and has the multiplicity
order of p.
In the following, the Bode diagrams of the magnitude and phase will be presented
for each factor of the frequency response function presented in equation (2.105).
(1) The first considered factor is H1 (jω ) = K/(jω )p , with the Bode magnitude:
K
|H1 (jω )|dB = 20 lg = 20 lg K − 20 lg ω p = 20 lg K − 20p lg ω . (2.106)
ωp
Representation of the Bode magnitude for this factor is a straight line having the neg-
ative slope of −20p dB/decade. The decade is a distance on the abscissa between two
frequencies having the 1 : 10 ratio. The family of lines, having p as parameter, have
a common (fixed) point of coordinates (1, K dB ) and intersect the abscissa axis at the
point lg(ω ) = lg(K 1/p ). The Bode diagram of magnitude for this factor is presented in
Fig. 2.16.
The phase of this factor is
π
φ (H1 (jω )) = −p . (2.107)
2
It is represented by a family of straight lines parallel to the abscissa axis and having
the parameter p (independent of ω ). They are represented in Fig. 2.17.
2 Basics of systems theory | 51
100
p=0
20lg(K) 0 p=1
p=2
−100 p=3
−200 lg(ω)
−2 −1 0 1 2 3
Frequency [log(rad/s)]
Fig. 2.16. Bode diagram of the magnitude for the frequency response function H1 (j ⋅ ω ) = K/(jω )p ,
with p = 0, p = 1, p = 2 and p = 3.
Fig. 2.17. Bode diagram of the phase for the frequency response function H1 (j ⋅ ω ) = K/(jω )p , with
p = 1, p = 2 and p = 3.
(2) The second considered factor is H2 (jω ) = 1/(1 + jω Ti ), having the Bode mag-
nitude determined as follows:
1 1 − jω ⋅ Ti 1 ω ⋅ Ti
H2 (jω ) = = 2
= 2
−j
2
1 + jω ⋅ Ti 1 + ω ⋅ Ti 2
1 + ω ⋅ Ti 1 + ω 2 ⋅ Ti2
2 2
1 ω ⋅ Ti 1
|H2 (jω )| = √ ( 2 2
) +( 2 2
) = (2.108)
1 + ω ⋅ Ti 1 + ω ⋅ Ti √1 + ω 2 ⋅ Ti2
1
|H2 (jω )|dB = 20 lg = −10 lg(1 + ω 2 ⋅ Ti2 ).
2
√1 + ω ⋅ Ti 2
Representation of the Bode diagram of magnitude |H2 (jω )|dB is performed taking into
account the asymptotes at the frequency extremities (frequency approaching zero and
infinity values). The frequency domain is split in two regions, separated by the fre-
quency value ω = 1/Ti denoted as the corner frequency.
For the frequency values such as ω < 1/Ti , it is implied that ω 2 ≪ (1/Ti )2 and
consequently, ω 2 Ti2 ≪ 1. As a result, the value of the Bode magnitude becomes
where the term ω 2 Ti2 has been neglected with respect to 1. This form of the Bode mag-
nitude |H2 (jω )|dB is leading to a straight line graphical representation (named the low
frequency asymptote). This asymptote may be approximated as being identical to the
abscissa axis up to the corner frequency ω < 1/Ti .
For the frequency values such as ω > 1/Ti , it is implied that ω 2 ≫ (1/Ti )2 and
consequently, ω 2 Ti2 > 1. As a result, the value of the Bode magnitude becomes
|H2 (jω )|dB = −10 lg(1 + ω 2 ⋅ Ti2 ) ≈ −10 lg(ω 2 ⋅ Ti2 ) = −20 lg ω − 20 lg Ti , (2.110)
where the term 1 has been neglected with respect to ω 2 Ti2 . This form of the Bode mag-
nitude |H2 (jω )|dB leads to a straight line graphical representation (named the high
frequency asymptote), having a negative slope of −20 dB/dec for ω > 1/Ti .
The two asymptotes intersect on the abscissa, at the corner frequency ω = 1/Ti .
The exact value of the Bode magnitude at the corner frequency is
|H2 (jω )| dB
ω= 1
= −10 lg 2 = −3dB . (2.111)
Ti
The value of −3dB corresponds to the value of |H2 (jω )| = 0.707. This is considered an
acceptable deviation from the exact value when considering the case of the approxi-
mate asymptotic representation.
−20
Asymptotes
−40
−60
−80 lg(ω)
−2 −1 lg(1/Ti ) 0 1 2 3
Frequency [log(rad/s)]
Fig. 2.18. Bode diagram of magnitude for the frequency response function H2 (j ⋅ ω ) = 1/(Ti ⋅ jω + 1).
The Bode representation of the magnitude |H2 ( jω )|dB is shown in Fig. 2.18, where the
dashed line has been used for representing the exact value of the magnitude and the
plain line for the asymptote-based representation.
The phase of the factor H2 ( jω ) is
ω ⋅ Ti
−
1 + ω 2 ⋅ Ti2
φ (H2 (jω )) = tan−1 = tan−1 (−ω Ti ) = − tan−1 (ω Ti ). (2.112)
1
1 + ω 2 ⋅ Ti2
The Bode diagram representation of the phase φ (H2 ( jω )) is presented in Fig. 2.19.
2 Basics of systems theory | 53
−0.5
−π/4
−1
−1.5
−π/2
−2 lg(ω)
−2 −1 lg(1/Ti ) 0 1 2 3
Frequency [log(rad/s)]
Fig. 2.19. Bode diagram of phase for the frequency response function H2 (j ⋅ ω ) = 1/(Ti ⋅ jω + 1).
It should be noted that the Bode diagram of phase has an inflexion point at lg ω =
lg 1/T i .
(3) The factor of the form H3 ( jω ) = 1 + jω Tm has the magnitude and phase repre-
sentation similar to those of the factor H2 (jω ) but with changed sign of the magnitude
(in dB units) and phase (symmetry with respect to abscissa). The corner frequency is
the same ω = 1/Tm . This factor is represented in the Bode diagrams of magnitude and
phase shown in Fig. 2.20 and Fig. 2.21.
60 +20 dB/dec
40
Asymptotes
20 Fig. 2.20. Bode dia-
gram of magnitude
0 lg(ω)
−2 −1 lg (1/Tm ) 0 1 2 3 for the frequency
response function
Frequency [log(rad/s)]
H3 (jω ) = (Tm ⋅ jω + 1).
1
π/4
0.5 Fig. 2.21. Bode di-
lg(ω) agram of phase
0
−2 −1 lg(1/Tm ) 0 1 2 3 for the function
Frequency [log(rad/s)] H3 (j ⋅ω ) = (Tm ⋅jω +1).
54 | Part I: Introduction
(4) The factor of the form H4 (jω ) = 1/[(jω )2 ⋅ 1/ωk2 + (jω ) ⋅ 2ζk /ωk + 1] has the Bode
magnitude determined as follows:
ω 2 2ξk
1−( ) − (jω )
1 ωk ωk
H4 (jω ) = = 2
(2.113)
1 2 2ξk ω2 4ξ 2
2
(jω ) + (jω ) + 1 (1 − ) + 2k ω 2
ωk ωk 2
ωk ωk
2
1 ω2 4ξk2 2
|H4 (jω )|dB = 20 lg = −10 lg [(1 − ) + ω ] . (2.114)
2 ωk2 ωk2
ω2 4ξk2 2
√ (1 − ) + ω
ωk2 ωk2
Representation of the Bode magnitude |H4 (jω )|dB is performed taking into account the
existence of asymptotes for the extremities of the frequency interval. The frequency
domain is divided in two regions separated by the corner frequency ω = ωk .
For the frequency values such as ω < ωk , it is implied that ω 2 ≪ ωk2 and conse-
quently, ω 2 /ωk2 < 1. As a result, the value of the Bode magnitude |H4 (jω )|dB becomes
where the terms ω 2 /ωk2 and 4ζk2 ω 2 /ωk2 have been neglected with respect to 1 (ζk ≤ 1).
For the frequency values such as ω > ωk , it is implied that ω 2 ≫ ωk2 and con-
sequently, the highest term from the logarithm’s argument is ω 4 /ωk4 (the rest are ne-
glected) and the value of the Bode magnitude |H4 (jω )|dB becomes:
2
ω2 ω
|H4 (jω )| = −10 lg ( ) = −40 lg = −40 lg ω − 40 lg ωk . (2.116)
ωk2 ωk
This form of the Bode magnitude |H4 (jω )|dB leads to a straight line representation
(named high frequency asymptote) with the negative slope of −40 dB/dec for ω > ωk .
The exact value of the Bode magnitude at the frequency corner is
|H4 (jω )| ω =ω = −10 lg (4ξk2 ) = −20 lg(2ξk ). (2.117)
k
The magnitude depends on the damping factor ζk . For damping factors of the values
usually encountered in practice, i.e. ζk > 0.7, the differences between the approxi-
mate representation using asymptotes and the exact one are relatively small. But for
damping factor ζk > 0.4 the differences increase. For the value ζk = 0 a discontinuity
appears at ω = ωk . This value corresponds to the resonance (resonance frequency of
the system). For ζk = 1 the two roots of the trinomial are real and equal being there-
fore equivalent to the product of two binomials. The Bode diagram of magnitude is
presented in Fig. 2.22.
2 Basics of systems theory | 55
−40
−60 lg(ω)
−1 −0.5 0 0.5 lg(ωk ) 1 1.5 2 2.5
Frequency [log(rad/s)]
Fig. 2.22. Bode diagram of magnitude for the frequency response function H4 (j ⋅ ω).
2ξk 2ξ
− ωk − k ωk
φ (H4 (jω )) = tan −1
( ω ) = − tan −1 ω . (2.118)
ω2 ω2
1− 2 1− 2
ωk ωk
Fig. 2.23. Bode diagram of phase for the frequency response function H4 (j ⋅ ω).
(5) The factor of the form H5 (jω ) = [(jω )2 ⋅1/ωl2 +(jω )⋅2ζl /ωl +1] has the magnitude
and phase representations similar to those of the factor H4 (jω ) but with changed sign
of the magnitude (in dB units) and phase (symmetry with respect to abscissa). The
corner frequency is equal to ω = ωl . This factor is represented in the Bode diagrams
of magnitude and phase shown in Fig. 2.24 and Fig. 2.25.
56 | Part I: Introduction
40
ξl=0.7
20 ξl=0.1
ξl=0
0
Asymptotes
−20
lg(ω)
−1 −0.5 0 0.5 lg(ωl ) 1 1.5 2 2.5
Frequency [log(rad/s)]
Fig. 2.24. Bode diagram of magnitude for the frequency response function H5 (j ⋅ ω).
0 lg(ω)
−1 −0.5 0 0.5 lg(ωl ) 1 1.5 2 2.5
Frequency [log(rad/s)]
Fig. 2.25. Bode diagram of phase for the frequency response function H5 (j ⋅ ω).
Starting from the transfer function of the system, the steps for performing the Bode
diagram representation of the frequency response function using asymptotes are:
1. building the frequency response function from the transfer function by replacing
the Laplace variable s with s = jω ;
2. bringing the frequency response function H(jω ) to the factorized form presented
in equation (2.105);
3. representing each factor of H(jω ) (with its magnitude and its phase) on the same
Bode diagram for the magnitude and on the same Bode diagram for the phase of
the function H(jω );
4. obtaining the Bode diagram of magnitude and phase of the function H(jω ) by
performing a graphical summation of the individual representations, both for the
Bode diagram of magnitude and for the Bode diagram of phase.
In particular cases, especially when the frequency domain is not very large, the
Bode diagrams for the magnitude (module) of the frequency response function
|hω (ω )| = |H(jω )| may be represented without the use of a logarithmic scale (dB)
on the y-coordinate. As an example, Fig. 2.26 shows the Bode diagram without the
logarithmic scale, for the magnitude of the factor H4 (jω ) previously presented with dB
2 Basics of systems theory | 57
0.5
0 lg(ω)
−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
Fig. 2.26. Bode diagram of magnitude for the frequency response function H4 (j ⋅ ω), with no logarith-
mic scale on the y-coordinate.
units in Fig. 2.22 (for ζk > 0.7). The present book will use both of these two equivalent
Bode diagrams representations.
Nyquist diagrams are also used for the graphical representation of the frequency re-
sponse hω (ω ) = H(jω ) function [9]. The Nyquist plot has on the x-coordinate the real
component of the frequency response, Re[H(jω )], and on the y-coordinate the imagi-
nary component of the frequency response, Im[H(jω )]. Typical Nyquist plots are pre-
sented in Fig. 2.27. They show the Nyquist diagrams for the first order (plot 1), second
order (plot 2) and third order (plot 3) systems.
On the plot, the Nyquist diagram has a starting point, corresponding to the low-
est value of the considered frequency interval and a final point corresponding to the
highest value of the frequency interval of interest. An arrow usually shows the sense
of growing frequency along the plot. Each point of the plot corresponds to a partic-
ular frequency value within the frequency interval. As presented in Fig. 2.27, for the
generic ω ∗ value of the frequency it corresponds to one point on the plot. The length
of the vector connecting the origin of the coordinate system with the particular point
on the plot is equal to the magnitude (module) of the frequency response function
|hω (ω ∗ )| = |H(jω ∗ )|, as |H(jω ∗ )| = [(Re[H(jω ∗ )])2 + (Im[H(jω ∗ )])2 ]1/2 . The angle
this vector makes with respect to the x-coordinate φ (ω ∗ ) is equal to the phase (ar-
gument) of the frequency response function φ (ω ∗ ) = φ ((hω (ω ∗ )) = φ (H(jω ∗ )), as
φ (H(jω ∗ )) = tan−1 (Im[H(jω ∗ )]/Re[H(jω ∗ )]).
Between the form of the plot and its position on the graph, on one side, and the
dynamic behavior of the system, on the other side, there is a close relationship that
reveals patterns of frequency response of the systems. The Nyquist diagrams are equiv-
alent to the Bode diagrams.
58 | Part I: Introduction
Imaginary axis
Im [H(jω)] Nyquist diagram
1
0.8
0.6
0.4
0.2
ω=∞ ω=0
0
φ(H(jω*))
−0.2
−0.4 3 2 1
−0.6 |H(jω*)|
−0.8
ω*
−1
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
Real axis
Re [H(jω)]
Fig. 2.27. Typical Nyquist diagrams of the frequency response for first (1), second (2) and third (3)
order systems.
2.34 Problems
(1) Please specify the delimitation and the most representative input, state and output
variables of the following systems:
(a) the natural gas transportation pipe, between the extraction site and an industrial
user, investigated for the purpose of natural gas pressure loss reduction;
(b) the air conditioning (heating and cooling) of a concert hall, investigated for the
purpose of minimizing the energy consumption by temperature optimization;
(c) the cell of a bacteria, investigated for the purpose of enhancing its living condi-
tions and increasing its lifetime;
(d) the operating personnel of the offshore oil-gas platform, investigated for the pur-
pose of maximizing their contribution to the efficient and safe operation of the
unit;
(e) the market of sulfuric acid consumers, investigated for the purpose of improving
the management of the production in an industrial plant.
(2) Classify the systems discussed in the previous problem, form the following cate-
gorizing criteria: dynamic and static, with lumped and distributed parameters; deter-
ministic and stochastic, linear and nonlinear.
2 Basics of systems theory | 59
(4) Make the graphical representation of the following signals: u0 (t) ⋅ v0 (t), u0 (t − t0 ) ⋅
sin(ω t) and u0 (t − t0 ) ⋅ e−10t .
(5) Consider the system described in Example 2.2. Is this system linear or nonlinear?
Prove your answer.
(7) Let h1 (t), h2 (t), and h3 (t) be the impulse response of the three systems connected
in series. What is the impulse response h(t) of the whole system (i.e. between the input
of the first system and the output of the last one)?
(8) Consider the system presented in Fig. 2.28, consisting in the process of liquid ac-
cumulation in series of two tanks. The two vessels operate at atmospheric pressure.
Based on the mass balance of liquid in each of the tanks, the first order differential
equations may be obtained:
dH1
T1 + H1 = k1 ⋅ Fvi (2.120)
dt
dH2
T2 + H2 = k2 ⋅ Fv1 (2.121)
dt
where T1 , T2 , k1 and k2 have constant values.
Furthermore, the second order differential equation describing the relationship
between the level in the second tank and the flow rate entering the first tank is:
d2 H2 dH
T1 T2 + (T1 + T2 ) 2 + H2 = k2 ⋅ Fvi . (2.122)
dt2 dt
(a) Compute the general solution of equation (2.122), taking into account the constant
initial conditions H2 (0) = a and (dH2 /dt)(0) = b.
60 | Part I: Introduction
Fvi
H1
Fv1
R1
H2
Fv2
R2
(9) Consider the system consisting in a U shaped tube partially filled with liquid of
density ρ , as presented Fig. 2.29. The branches of the tube are cylindrical and of equal
cross-section S.
p1 p2
h
S
When a differential pressure Δp = p1 −p2 is suddenly (step shaped) applied on the two
branches of the U tube, the liquid level in the two branches will change, according to
the simplified equation (momentum balance):
λ ⋅L dh d2 h
p1 ⋅ S − p2 ⋅ S − ρ ⋅ g ⋅ (2 ⋅ h) ⋅ S − ⋅S⋅ρ ⋅ =ρ ⋅S⋅L⋅ 2 (2.123)
D dt dt
2 Basics of systems theory | 61
where: λ is the friction coefficient, L is the length of the column occupied by the liquid
in the U tube, and D is the U tube diameter (cross-section area of the tube S = π D2 /4).
(a) Compute the general solution of equation (2.123), taking into account the constant
initial conditions h(0) = 0 and (dh/dt)(0) = 0.
(b) Verify whether the system is BIBO stable.
(10) Describe the system presented in Fig. 2.29 by the input-state-output representa-
tion, choosing the state variables as phase variables.
0.5 e−10s (s + 1)
H(s) = (2.124)
(2s + 1)(3s + 1) .
Plot the Bode diagrams of module and phase of the frequency response function of
the system. The pure time delay and the time constants are considered in seconds as
the time unit.
References
[1] Cristea, M. V, Agachi, S. P., Elemente de Teoria Sistemelor, Editura Risoprint, Cluj-Napoca,
2002.
[2] Forrester J. W., Principles of Systems, Wright Allen Press, 1969.
[3] Zadeh, L. A., Polak, E. System Theory, McGraw-Hill, New York, 1969.
[4] Hăngănuţ, M., Noţiuni de Teoria Sistemelor, Cluj-Napoca, Atelierul de multiplicare al Institutu-
lui Politehnic, 1989.
[5] Marquardt, W., Modellbildung und Simulation verfahrenstechnischer Prozesse, Vorlesungs-
manuskript, Technische Hochscule Aachen, 1998.
[6] Cristea, V. M., Agachi, S. P., Simulation and model predictive control of the soda ash calciner,
Control Engineering and Applied Informatics, 3, No.4, (2001), 19–26.
[7] Cristea, V. M., Bagiu, E. D., Agachi, P. S., Simulation and control of pollutant propagation in
Somes River using comsol multiphysics, European Symposium on Computer Aided Process
Engineering 20, Published in Computer Aided Chemical Engineering, pp. 985–991, Ischia,
2010.
[8] Şerban, S., Şerbu, T., Corâci, I. C., Teoria Sistemelor, Bucureşti, Editura Matrix Rom, 2000.
[9] Stephanopoulos, G., Chemical Process Control. An Introduction to Theory and Practice, Engle-
wood Cliffs, New Jersey 07632, Prentice Hall, 1984.
[10] Rolhing H., Systemtheorie II. Vorlesungsmanuskript, Hamburg Teschnische Universität, 1998.
[11] Cruz, R. L., Linear Systems Fundamentals. Lecture Supplement. San Diego, University of Cali-
fornia, 1999.
[12] Ubenhauen, R., Systemtheorie. Grundlagen für Ingineure, München Wien, Oldenbourg Verlag,
1990.
[13] Oppenheim, A. V., Willsky, A. S., Nawab, S. H., Nawad, H., Signal and Systems, Prentice Hall,
1996.
[14] Kwakernaak, H., Sivan, R., Strijbos, R. C. W., Modern Signals and Systems, Englewood Cliffs,
New Jersey 07632, Prentice Hall, 1991.
62 | Part I: Introduction
where u(t) and y(t) are the input and output vectors respectively, x(t)−t the state vector
and wherever there is the discussion of the dynamic behavior, the variable (time) is
present.
Fag , T°iag
F, T°i F, T°
Fag , T°ag
(a)
T°i
T°ag
F Heat transfer process T°
T°ext
Fag
Fig. 3.1. Heat transfer process in a heat ex-
(b) changer.
In the case of the process from Fig. 3.1, the mathematical model is an expression in its
most general form
T ∘ = f (Ti∘ , F, Fag , Ti∘ag , Text
∘ , t) , (3.1)
T ∘ is the output temperature, Ti∘ the input temperature of the fluid, F fluid flow, Fag
heating agent flow, Ti∘ag heating agent input temperature, Text
∘ temperature of the en-
vironment.
If the model describes the steady state, t is missing, the equation being an al-
gebraic one. If the model describes the dynamic state, equation (3.1) is a differential
one in a form similar to the differential equation (2.8). In case the process has sev-
eral output variables, the model takes the form of a system of algebraic or differential
equations or combined.
The models can be theoretical, analytical ones, also denoted as mechanistic or
first principle models, based on the conservation, thermodynamic and kinetic equa-
tions; or empirical ones in the form of mathematical regressions, based on experi-
64 | Part I: Introduction
mental values, processed statistically, based on artificial neural networks. For more
complex processes, the models are combined containing both analytical and empiri-
cal parts. It is extremely important for a model to be correctly determined and solvable
that
1. the number of equations is equal with the number of variables;
2. all terms of the model are dimensionally consistent, that is, expressed in the same
measurement unit system (e.g. SI (Système International d’Unités)).
The use of mathematical models is extended from the activities of design and opera-
tion to those of simulation and control.
The simulation is the representation of the reality based on the results from run-
ning a mathematical model of that reality. The process simulators can be used either
for training the personnel in a plant, for designing the plant or its control system.
Analytical models express most clearly the interdependence of the parameters of the
process.
The procedure of writing and solving a model is the following:
1. Elaborate a clear and correct flow sheet or drawing of the process described; if the
process is too complex, divide it in lower complexity modules.
2. Identify all variables in the process and understand the correlation cause-effect
between them: first inside the modules and second between the modules.
3. Elaborate the lists of variables and constants: output variables, input variables,
design and construction parameters, thermodynamic and kinetic constants.
4. Elaborate the list with simplifying hypotheses.
5. Write the equations of the model if possible in the “natural” sequence of the devel-
opment of the process; ensure that all unknowns in the equations are expressed
in new “secondary” equations.
6. Solve the system of equations and interpret the results.
There are three fundamental conservation laws which are used in the mathematical
modeling: mass, energy and momentum conservation laws. To be able to describe ap-
propriately the processes, one has to add as tools of modeling the basic thermodynam-
ics and kinetics laws [1–3].
It is important to define the nature of the systems from the point of view of the dis-
tribution of the parameters inside them: there are lumped parameter systems (where
all parameters have the same value regardless of their measurement point) and dis-
3 Mathematical modeling | 65
tributed parameter systems (where the value of the parameter depends on its point of
measurement) (see Chapter 2).
rate of mass
{mass input flow} − {mass output flow} = { }, (3.2)
accumulation
{ rate of accumulation }
formation or consumption { }
±{ } = { of number of moles of } . (3.3)
rate of component i { }
{ component i }
Examples follow of applying total mass or mass of components conservation law at
lumped and distributed parameter systems.
Example 3.1. Total mass conservation law for lumped parameters system
In a buffer tank for intermediate product in one chemical plant (Fig. 2.6), there is con-
tinuous input and output of the same material. Thus, the density is the same in the
tank as in the input and output flows. The total mass conservation law states:
d
Fvi ρ − Fvo ρ = (Vρ ) (3.4)
dt
where Fmi = Fvi ρ and Fmo = Fvo ρ are the volumetric input and output flows, ρ is the
liquid density and V = H ⋅A the instant volume of liquid in the tank. The first two terms
are those of mass convective flow and the term on the right-hand side of the equation
is the mass accumulation term in the tank.
The dimensional analysis is
m3 kg m3 kg 1 kg
⋅ − ⋅ = ⋅ m3 ⋅ 3
s m3 s m3 s m
kg
which shows consistency, all terms being expressed by s
, the measurement unit for
mass flow.
Fi , CAi , Ti°
Fag , T°ag
Fag , T°agi
CA , CB , V, T°
F, CA ,CB , T °
Fig. 3.2. CSTR.
The mixing is considered perfect, thus all concentrations inside the reactor and at its
output have the same values. The mass of component A conservation law for the mass
of reaction inside CSTR is
d
Fvi CAi − Fvo CA − VkCA = (VCA ), (3.5)
dt
where CAi and CA are the input and inner/output concentrations respectively. The first
two terms are the molar input and output flows of the reactor, the third term is that of
reaction and the term on the right-hand side is that of accumulation.
The dimensional analysis
m3 kmol m3 kmol 1 kmol 1 kmol
⋅ − ⋅ − m3 ⋅ ⋅ = ⋅ m3 ⋅
s m3 s m3 s m3 s m3
kmol
shows all terms are expressed by s
, the measurement unit for molar flow.
Example 3.3. Total mass conservation law for distributed parameter system
A long pipeline is used for the transportation of natural gas (Fig. 3.3). Both parame-
ters, velocity and density (v and ρ ), are functions of position and time. This is why the
volumetric flow is expressed decomposed by Av. It is natural that at the entrance of
the pipeline both parameters have higher values than at the end of it, because of the
friction along the road. Because there are different values for the parameters along
the pipeline, one cannot write a single equation expressing the behavior of the whole
system and we have to divide the system in small portions of dimension dz, “infinitely
small elements” in which it can be assumed the values of the parameters are constant.
The dimension of the small interval depends on the nature of the process: for a long
pipeline of 100 km the dimension considered can be of 1 m, whereas for a particle of 10
cm of limestone in a process of carbonation dz could be of 5 mm. The material balance
is written for the portion dz. The output variable at z + dz is calculated according to
the Taylor expansion formula
1 df 1 d2 f 2 1 d3 f 3
f (z + dz) = f (z) + ⋅ dz + ⋅ dz + ⋅ dz + ⋅ ⋅ ⋅ (3.6)
1! dz 2! dz2 3! dz3
3 Mathematical modeling | 67
dz
o z z + dz zf
d
CA0 CA, CB
1
Concentration – C
Fig. 3.4. PFR with the profile of concentration CA in the steady state along the reactor.
The dimensional analysis shows all terms are expressed in molar flow measurement
units, kmol/s
m kmol m2 1 kmol
m2 3
+ m2
s m s m m3
2 2
m kmol 2 m 1 kmol 1 2 m kmol 2 m 1 kmol
− [m2 + m + (m + m ) m]
s m3 s m m3 m s m3 s m m3
1 kmol 1 2 kmol
− m2 m = mm 3 .
s m3 s m
In its final form, after simplification, equation (3.8) becomes
𝜕2 CA 𝜕 𝜕C
DA − (vCA ) − kCA = A . (3.9)
𝜕z2 𝜕z 𝜕t
The equation is with partial derivatives, meaning the parameters v and CA change both
with time and distance. As a comment, everywhere a second derivative term appears
in the equation, this is the sign of a diffusive process.
Solving all the above constructed equations describing dynamically the mass bal-
ance in the system one can determine the changing of the property (mass or concen-
tration) in time and in any place of the system. The partial differential equation is
solved using, for example, a finite element method. Recently, it is not expected from
the process or control engineers to elaborate the subroutines of solving the mathemat-
ical problems, since scientific software such as MatLab [1, 2] or Mathematica [3] exist
and have incorporated special subroutines for solving ordinary differential equations
(ODE).
3 Mathematical modeling | 69
In order to understand the true importance of the different terms in the energy balance,
we have to compare the forms of energy. Approximation of the forms of energy (kinetic,
potential and internal) and of the volume work/mechanical work is given below.
For the kinetic term, let us consider one moves a kilogram of water with a normal
velocity of 1 m/s in a pipeline (in industry the pipelines are dimensioned to let the
liquids have an average velocity of 1–2 m/s and for the gases of 30–40 m/s from reasons
of energy loss).
2
v 2 1 m2
ΔEc m 2 1 kg 2s Nm
= = = 0.5 = 0.5 W.
Δt Δt 1s s
Transporting the same kilogram of water at a height of one meter, the potential energy
per unit of time will be
m
ΔEp mgh 1 kg ⋅ 9.8 s2
1m Nm
= = = 9.8 = 9.8 W.
Δt Δt 1s s
And heating the same kilogram of water with 1 K, the internal energy involved, U
J
ΔU mcp ΔT 1 kg ⋅ 4318 kg⋅K 1 K J
= = = 4318 = 4318 W,
Δt Δt 1s s
meaning that in the energy balance we may neglect the potential and kinetic energy,
being too small in comparison with the heat involved.
At the same time, we know that the volume work is expressed by L = ∫ p ⋅ dV or
L = pΔV in isobaric conditions. The liquids being practically incompressible do not
produce or are not subjected to volume work, which is also negligible. This term is to
be taken into consideration only for processes in gaseous phase.
exothermic, the jacket has cooling agent and there is a heat transfer from the mass
of reaction to the jacket through the wall. The heat transfer is defined by the thermal
transfer coefficient KT and by the heat transfer area AT .
d
Fvi ρ cpA Ti∘ − Fvo ρ cp T ∘ − KT AT (T ∘ − Tag
∘
) − VkCA ΔHr = (Vρ cp T ∘ ), (3.11)
dt
where cp is generically the specific heat of the flows (cpA for raw material A and cp
for the reactor inventory and the output flow), T ∘ and Tag
∘
are the temperature inside
the reactor and that of the cooling agent respectively and V the volume of the reac-
tion mass inside the reactor. The first and second terms are those of input and output
convective energy flows, the third term is that of conductive heat transfer (there is no
radiation), the fourth term is the reaction term, expressing the heat produced by the
chemical reaction and the term on the right-hand side of the equation is the accumu-
lative term of heat in the reactor.
Dimensional analysis shows all terms are expressed in J/s = W meaning terms of
energy flow:
m3 kg J m3 kg J W 1 kmol J 1 kg J
3
K − 3
K − 2 m 2 K − m3 3
= m3 3 K.
s m kgK s m kgK mK s m kmol s m kgK
TAgo° D
CAO , Ti° CA , CB , To°
d
TAgi°
TAg°
T°
T°
Length – L
Fig. 3.5. PFR with exothermic reaction and cooling agent and the profile of temperature with an
exothermic reaction and counter-current cooling flow.
3 Mathematical modeling | 71
𝜕T ∘
Q = Ar (−kT ),
𝜕z
where Q is the diffusive heat flow, Ar is the cross-section area of the reactor, kT is the
Fourier diffusion coefficient and T ∘ is the temperature at the coordinate z. The heat
transfer area of the reactor is that of the cylinder with the height dz being expressed
by AT = π Ddz where D is the inner diameter of the reactor. The transfer coefficient
through the wall is KT . The heat flow at the coordinate z + dz is given by the Taylor
expansion formula. Thus the heat balance is
𝜕T ∘
Ar vρ cp T ∘ + Ar (−kT )
𝜕z
𝜕T ∘ 𝜕 𝜕T ∘
− {Ar vρ cp T ∘ + Ar (−kT )+ [Ar vρ cp T ∘ + Ar (−kT )] dz}
𝜕z 𝜕z 𝜕z
𝜕
− KT π Ddz (T ∘ − Tag
∘
) − Ar dzkCA ΔHr = (A dzρ cp T ∘ ) . (3.12)
𝜕t r
The dimensional analysis shows the dimensional consistency, giving also a signal con-
cerning the correctness of the formulae. All terms are expressed in W:
m kg J W 1
m2 K + m2 K
s m3 kgK mK m
m kg J W 1 1 m kg J W 1
− [m2 K + m2 K + (m2 K + m2 K) m
s m3 kgK mK m m s m3 kgK mK m
W 1 kmol J 1 kg J
− 2 mmK − m2 m ] = m2 m 3 K.
mK s m3 kmol s m kgK
𝜕 𝜕 4K T ∘ 𝜕 𝜕T ∘
(ρ cp T ∘ ) + (vρ cp T ∘ ) + kCA ΔHr + ∘
(T − Tag )= (kT ). (3.13)
𝜕t 𝜕z D 𝜕z 𝜕z
sum of forces
{ } = {rate of change of movement quantity} (3.14)
applied to a system
or
n
d
∑ Fij = (mv) , (3.15)
j=1
dt
72 | Part I: Introduction
Fj
m Fij
where Fij is the projection of applied force j on the direction i (Fig. 3.6) and m and v are
the mass and the velocity of movement of the mass m along the i direction. If there is
only one force applied to the body and m is constant, dv dt
= a, the acceleration, and
equation (3.15) is reduced to the expression of Newton’s second law F = m ⋅ a.
ρ v2 lp ρ v2 d
ρ ghAp − (∝ +λ ) Ap = (Ap lp ρ v). (3.16)
2 dp 2 dt
lp
h
kg m 2 kg m2 2 1 2 kg m
⋅ m ⋅ m − m = m ⋅m⋅ 3
m3 s2 m3 s2 s m s
shows all terms are expressed in N = kg m s2
.
From equation (3.15) one may calculate the velocity or the flow of the liquid in
steady state when dtd (Ap lp ρ v) = 0. Usually, because the liquids are incompressible,
the response of the liquid flow at an increase of the liquid height is instantaneous.
(lp − z) ρ v2 d
p0 Ap − λ Ap = (A (l − z)ρ v) (3.17)
dp 2 dt p p
and
dz
, v=
dt
from which one may calculate the dynamics of emptying the pipeline.
lp
Z
dp
p0 ρ, ν
The state and equilibrium equations indicate the way the physical properties change
with process parameters such as temperature, pressure and composition. The most
frequently used equations [7] are presented in the synthetic Tabs. 3.1 and 3.2.
74 | Part I: Introduction
xi M
ni ρ
Molar concentration Ci = ∑ m ρ = Ci – molar concentration of component i,
j j i
ni – number of moles of i, ∑j mj — mass
of the mixture, ρ – density of the mixture,
xi – mass fraction of i, Mi – molar mass of
component i
n
Liquid mixture density ρ = ∑ Mj Cj or ρj – density of the component j in the mix-
1
n ture; Cj – molar concentration of compo-
ρ = ∑ xj ρ j nent j in the mixture,
1
Dalton’s law (partial pres- pj = Pyj pj – pressure of the component j in the
sure of vapors in a vapor mix- mixture; P –total pressure of the mixture;
ture) yj – molar fraction of component j.
Raoult’s law (total vapor P = ∑n1 xj pj xj – molar fraction of the component j in
pressure of a liquid mixture) the liquid mixture; pj – vapor pressure of
the pure component j in the mixture; P –
total vapor pressure of a liquid mixture
b
Antoine’s law (vapor pres- lgP = a + T ∘ +c
a, b, c –numerical coefficients; P – vapor
sure correlation with temper- pressure
ature)
∝xj
Fenske’s Law (liquid-vapor yj = 1−(∝−1)xj
xj – molar fraction of component j in liquid
equilibrium) phase; yj – molar fraction of component j
in vapor phase; ∝ – relative volatility
Henry’s law (dependence of C∗ = p
H
C∗ – gas concentration at the interface;
the gas concentration at gas- p – gas pressure above the liquid; H –
liquid interface on gas pres- Henry’s constant
sure)
Repartition of a solvate be- y = kx y – molar concentration of the solvate in
tween two solvents (diluted the principal solvent; x – molar concentra-
solutions) tion of the solvate in the secondary sol-
vent; k – repartition constant
3 Mathematical modeling | 75
sion in C
Selectivity between the Parallel reactions ΦR – selectivity of product R relative
k1 k2 n −n
desired and by product A + B → P, A + B → R (desired) to the undesired P; CAf2 1 – final con-
in a CSTR ΦR = k2 1n2 −n1 centration of A with the orders of re-
1+ k CAf
1 action n1 and n2
CAf = CA0 (1 − ξ )
76 | Part I: Introduction
As a conclusion, the analytical mathematical models are very general and their
understanding gives an insight into the process described and offers solutions for op-
eration, design or control. It is quite interesting that the general laws can be applied
regardless of the field of interest. This makes analytical modeling a powerful tool.
Wherever the analytical models are difficult to elaborate, because some of the kinetics
or thermodynamics of the process are not known, there is a solution of elaborating a
model based on direct measurements in the process.
The process (Fig. 3.1) model is the general one (equation (3.1)) showing the rela-
tionship between the output, state and input variables.
Analytical models are treated in Section 3.1. When the general analytical approach
of a process is not possible, because of the many uncertainties, the statistical approach
is the most appropriate one. Generally, the steady state mathematical models are in
the form of a regression which can be linear,
m
y = f (x1 , x2 , . . . ., xm ) = ∑ ai xi , ai ∈ R, i = 1, n (3.18)
i=1
or nonlinear
y = f (x1 , x2 , . . . , xm , x1 x2 , x1 x3 , . . . , x12 , x22 , . . .) (3.19)
where xi are the variables of the process and index m represents the maximum number
of variables.
The statistical analysis [8, 9] is based on measurements made in a process and
their statistical processing is aimed at the construction of a linear or nonlinear regres-
sion.
Regression analysis
Let us consider the simplest regression
y =∝0 + ∝1 x1 + ∝2 x2 + . . . + ∝m xm . (3.20)
The coefficients ai to be determined estimate the “real” values αi and constitute the
vector
a0
[ ]
[ a1 ]
[ ]
[⋅⋅⋅ ]
Ā = [
[a ].
] (3.21)
[ i ]
[ ]
[⋅⋅⋅ ]
[ am ]
3 Mathematical modeling | 77
Table 3.3. Program of experiments in an industrial or laboratory plant for elaborating a statistical
model.
To estimate the coefficients a set of n observed values of x̄ and ȳ is taken into account.
The constant input value 1 is allocated to the free term a0 . The measurements (n mea-
surements) done in the process constitute the matrices x̄ (inputs) and ȳ (outputs) with
the corresponding matrices
1 n 2
ε = min SSE = min ∑ (y − a0 x0j − a1 x1j − a2 x2j − ⋅ ⋅ ⋅ am xmj ) . (3.23)
n j=1 j
In order to obtain the minimum, one has to fulfill the conditions (3.24)
𝜕ε 𝜕ε 𝜕ε
= 0; = 0; . . . . = 0. (3.24)
𝜕a0 𝜕a1 𝜕am
Each derivative = 0 will have as a result an equation of the type
n
𝜕 2
{ ∑ [yj − (a0 x0j + a1 x1j + a2 x2j + ⋅ ⋅ ⋅ + am xmj )] } = 0, (3.25)
𝜕ai j=1
where i = 0 ÷ m.
78 | Part I: Introduction
X̄ T XA
̄ = X̄ T Y.̄ (3.27)
̄ −1 X̄ T Ȳ
A = (X̄ T X) (3.28)
where Δ is the determinant of the matrix X̄ T X̄ and Aij is the algebraic complement of
the ∑nj=1 xij yj element in Δ.
In order to determine if this is the case, the semilinear or quadratic terms coeffi-
cients, aij , or aii , are calculated by the same formula (3.29), but adding to the measure-
ment matrix the corresponding terms. For example, for the nonlinear regression
y = f (x1 x2 , . . . , xm x1 x2 , x1 x3 , . . . , xm−1 xm ) =
a0 + a1 x1 + a2 x2 + ⋅ ⋅ ⋅ + am xm + a12 x1 x2 + a13 x1 x3 + ⋅ ⋅ ⋅ + am−1,m xm−1 xm
1 x11 x21 ⋅ ⋅ ⋅ xi1 ⋅ ⋅ ⋅ xm1 x11 x21 x11 x31 ⋅ ⋅ ⋅ xm−1,1 xm1
[ ]
[ ]
X̄ = [ 1 x12 x22 ⋅ ⋅ ⋅ xi2 ⋅ ⋅ ⋅ xm2 x12 x22 x12 x32 ⋅ ⋅ ⋅ xm−1,2 xm2 ], (3.30)
[ ⋅⋅⋅ ]
[ 1 x1n x2n ⋅ ⋅ ⋅ xin ⋅ ⋅ ⋅ xmn x1n x2n x1n x3n ⋅ ⋅ ⋅ xm−1,n xmn ]
which is different to that presented in the equation (3.22), being extended with the
terms xi−1,j xij with i = 2 ÷ m and j = 1 ÷ n.
It should be noted that the minimum number of measurements necessary is n =
m + 1, in this situation the system has a unique solution. But the higher n > m + 1 is,
the more chances to better estimate the coefficients there are.
Once the form of the regression is established to be the most appropriate and the
corresponding coefficients are calculated, one has to verify the adequacy of the model
for the reality of: (a) the accuracy of the measurements; (b) the weight of the coeffi-
cients in the regression; (c) the adequacy of the form of the model to the reality of the
described plant.
(a) The accuracy of the measurements is judged using the Cochran test [10]. Be-
cause the measurements are randomly affected by disturbances, the measurement er-
rors are transmitted ultimately to the values of the parameters. In order to minimize
these errors, it is indicated to increase the number of measurements: both repeating
3 Mathematical modeling | 79
the output measurement at the same values of the input parameters and using the av-
erage of the outputs and, on the other hand, increasing the number of measurements
with different input parameters values (n ≫ m + 1).
In order to visualize the experimental errors, one repeats the measurements with
the same input parameters r times:
(b) The importance of the coefficients in a model is judged based on the Student
distribution [11]; the calculated coefficients are compared with their dispersion of de-
termination. If the values are comparable, it means the calculated coefficients are in
the noise range and their values are not considered.
Sy2 ∑nj=1 Syj
2
S2 {ai } = = . (3.33)
n n ⋅ (r − 1)
For that, ti has to be larger than one tT value taken from the Student distribution for a
degree of confidence usually larger than 95 %:
ai
ti = > tT . (3.34)
S2 {ai }
80 | Part I: Introduction
(c) The adequacy of the model form refers to the linearity or nonlinearity chosen
for the model in order to describe, most appropriately, the plant reality. There is often
the situation when the distribution of the data is parabolic, for example, and, by mis-
take, a linear regression is chosen to describe the behavior of the plant. The adequacy
2
of the measurements is assessed by calculating the remnant dispersion (Srem ) and that
2
of determination of the model (Sy ) minimizing the difference between the measured
and calculated output:
2
∑nj=1 Δy2
Srem = (3.36)
n − (m + 1)
and
∑nj=1 Syj
2
Sy2 = . (3.37)
n
S2rem
The model is adequate [12] when F = S2y
< FT (Fischer–Snedecor test), where FT is
a tabular value of the Fischer distribution, corresponding to a certain degree of confi-
2
dence (> 95 %). Ideally, if Srem = Sy2 the whole inaccuracy is given by the measurement
error, the model form being perfect and not introducing any bias. This is not true, in
reality, if the values of FT are larger than 1. If the condition is not fulfilled, another
form is proposed, the new coefficients are calculated and again the Fischer–Snedecor
condition is verified.
Once the three tests have been done and passed, with the modifications required,
the regression can be declared satisfactory.
Artificial neural networks (ANNs) are computer programs having a form of processing
information inspired from the simplified representation of the way the human brain
operates. These programs do not attempt to thoroughly reproduce the human brain
mode of working but only its logical operation, based on a collection of computing en-
tities named neurons. The connections between neurons are stronger or weaker. These
connections are the support for representing the relationship between the cause and
the effect, by sending and weighting the input flux of data towards the output. On
the basis of given input-output pairs of data examples, the weights are designed and
computed, this process being denoted as learning or training the ANN. The input data
is processed from the input towards the output of the ANN according to the ANN’s
architecture, i.e. the particular structure of neurons and weight values settled in the
training step. Following the training procedure, the ANN may be further used for pre-
dicting the output for new inputs, not given during the training process, and work as
a black box model [13].
3 Mathematical modeling | 81
The basic element of an ANN is the neuron, which is a very simple computing
structure.
A simplified representation of the neuron and its computing principle is presented
in Fig. 3.9 [14].
Inputs Weights
W1, 1
u1 Net input Output
W1, 2
u2
n
∑ f y
W1, R
uR
Bias b y=f(n)=f(Wu+b)
The artificial neuron has R inputs u1 , u2 , . . . , uR , which are represented by the vec-
tor u = [u1 u2 ⋅ ⋅ ⋅ uR ]T . Each of these inputs is multiplied (weighted) with the factors
(weights) w1,1 , w1,2 , . . . , w1,R . The weights may be represented by the line vector W =
[w1,1 , w1,2 ⋅ ⋅ ⋅ w1,R ]. The neuron first computes the net input, n, i.e. the sum of products
(input × weight) to which a bias (scalar), b, is added n = w1,1 ⋅ p1 + w1,2 ⋅ p2 + ⋅ ⋅ ⋅ +
w1,R ⋅ ⋅ ⋅ pR + b. The net input is then sent to be processed by a function, f , named acti-
vation or transfer function, which generates the output of the neuron by a very simple
calculus: y = f (n) = f (w1,1 ⋅ u1 + w1,2 ⋅ ⋅ ⋅ u2 + ⋅ ⋅ ⋅ + w1,R ⋅ uR + b) = f (W ⋅ u + b). The
activation function may have different forms but the most commonly used forms are
the signum, linear and sigmoidal functions.
The modeling power of the ANNs consists in the association of several neurons ar-
ranged in different topologies, with the aim of processing the input data and generat-
ing the output data. The typical topology of a multilayer ANN is presented in Fig. 3.10.
1 2 3 n–1 n
The ANNs may build complex models and are very efficient especially for cases when
the laws governing input and output are not known or insufficiently formalized. They
are trained on the statistical basis of the implicit information contained in the training
examples. ANNs can also be used for one special case of modeling, namely for clas-
sification. ANNs may separate the elements of a set in classes, on the basis of a priori
settled classification categories or by discovering these categories by themselves. The
capacity of this structure of connected computing elements to process data using a
very short computing time, compared to the numerical methods, is a very much ap-
preciated feature for saving computer resources.
Simulation
Simulation is the process of imitating reality using a model. The model is solved and
its solutions represent the variations induced in the process by the inputs, or construc-
tion constants. Simulators are used in industry to train the operators before operating
a process and to test different alternatives of design and control.
3. Elaborate the lists of variables and constants: output variables, input variables,
design and construction parameters, thermodynamic and kinetic constants.
Output variables are those of interest from the point of view of the reaction: F, CA , CB ,
T∘.
Input variables are those influencing the output ones: Fvi , CAi , Ti∘ , Fvagi , Tagi
∘ .
State variables: V, T ∘ , ρ , c , C , C , T ∘ , T ∘ .
p A B ag w
Properties of the reactants/products, physical constants: ρA , ρB , MA , MB , cpA , cpB , k0 ,
Ea , ΔHr , R, g, ρag , cpag .
Design and construction parameters: AR , Kv0 , Vmin , Vj , KT , AT , Mp , cpp , KTi , KTag , Ap ,
lp , dp , λ .
Nomenclature:
3
F, Fvi – outflow and input flow of the reactor ( ms )
CAi , CA , CB – molar concentrations of the reactant in the input flow and of A and B in
the reactor ( kmol
m3
)
T ∘ – temperature inside the reactor and in the outflow (K)
Ti∘ – temperature inside the reactor and in the outflow (K)
3
Fvagi – cooling agent flow in the jacket ( ms )
∘ , T ∘ – input and jacket temperature of the cooling agent (K)
Tagi ag
T ∘ – temperature of the inner wall of the reactor (K)
w
V, Vmin , Vj – volume of the reaction mass in the reactor, minimum volume allowed in
the reactor for normal functioning of the level control and volume of the jacket (m3 )
ρA , ρB , ρ – density of A, B and of the mixture of A and B ( mkg3 )
MA , MB – molar mass of A and B ( kmol m3
)
cpA , cpB , cp – heat capacity of A, B and of the mixture ( kgJ K )
k, k0 – rate constant and pre-exponential factor ( 1s , 1s )
J
Ea – activation energy ( kmol )
J
R – universal gas constant (= 8,314 kmol K
)
g – gravitational acceleration (= 9.8 sm2 )
J
ΔHr – heat of reaction ( kmol )
ρag , cpag – density and heat capacity of the cooling agent ( mkg3 , J
kg K
)
KT , AT – heat transfer coefficient and heat transfer area ( mW2 K , m ) 2
84 | Part I: Introduction
KTi , KTag – partial heat transfer coefficients inside the reactor and in the jacket ( mW2 K )
Mw , cpw – mass of the reactor wall and its heat capacity (kg, kgJ K )
Ap , lp , dp – cross area of the outflow pipeline, the length of the pipeline, diameter of
the pipeline (m)
λ – coefficient of pressure loss on the pipeline (−)
5. Write the equations of the model if possible in the “natural” sequence of the devel-
opment of the process; ensure that all unknowns in the equations are expressed
in new “secondary” equations;
Each variable on the lists is assigned one equation; if one variable is not on the
lists, it should be assigned a new equation until all variables are “covered” by
equations. Usually, for flows, momentum balance equations, for temperatures,
energy balance equations and for mass and concentrations, mass balance equa-
tions are used.
is assigned. The second equation expressing the flow is the ‘‘level control” equation,
where Kv0 is the gain factor of the level controller. The outflow is increasing directly
3 Mathematical modeling | 85
with the increase of the volume of the mass of reaction over the minimum value re-
quired for a normal functioning of the control loop.
The first equation gives the solution for v, needing an extra equation for F: F =
vAp . Looking for the “new” variables we notice h is on no list, V, v, and ρ are on the
list of state variables and we should link them to some “new” equations:
V
for h: h = ; this equation introduces the need of another equation for V (3.40)
AR
d
for V: Fvi ρA − Fρ = (Vρ ) (3.41)
dt
for ρ : ρ = MA CA + MB CB (Tab. 3.1) (3.42)
d
Fvi CAi − FCA − VkCA = (VCA ) (3.43)
dt
d
0 − FCB + VkCA = (VCB ). (3.44)
dt
Whatever is transformed from A, contributes to B (+VkCA ).
For T ∘ should be written the energy balance equation
d
Fvi ρA cpA Ti∘ − Fρ cp T ∘ − KT AT (T ∘ − Tag
∘
) − VkCA ΔHr = (Vρ cp T ∘ ) (3.45)
dt
for cp : cp = xA cpA + xB cpB (Tab. 3.1) (3.46)
M M
for xA : xA = CA A and xB = CB B (3.47)
ρ ρ
∘ ∘ ∘ d
for Tag : Fvag ρag cpag Tiag − Fvag ρag cpag Tag + KT AT (T ∘ − Tag
∘
)= (V ρ c T ∘ ) (3.48)
dt j ag pag ag
the agent flow is the same since the jacket having the volume Vag is completely full;
in this example, the inner wall of the reactor is considered “thin”, this having as a
consequence the existence of only one KT . If the wall is not thermally “thin” (Fig. 3.11),
the equation takes another form:
∘ ∘ d
Fvag ρag cpag Tiag − Fvag ρag cpag Tag + KTag AT (Tw∘ − Tag
∘
)= (V ρ c T ∘ ) (3.49)
dt j ag pag ag
d
KTi AT (T ∘ − Tw∘ ) − KTag AT (Tw∘ − Tag
∘
)= (M c T ∘ ). (3.50)
dt w pw w
A “thick” wall is either thick physically having an important dimension (e.g. the
heat exchanger of the polyethylene produced in the high pressure process has a wall
of stainless steel of 20 cm), or it is thermally “thick” being thin physically, but a very
bad thermal conductor (e.g. an enameled steel wall).
KTag KTi
T°
T°i
T°w
T°ag
Thus, the example of a CSTR involving practically only four variables describing the
production quantity and its quality has a simplified model of 12–14 equations, 6–7 dif-
ferential and 6–7 algebraic. The system is nonlinear and can be solved using a MatLab
subroutine ODE15s, ODE23, ODE45. The interpretation of the results shows the behav-
ior of all variables in time when one or several inputs change or when some of the
characteristics of the process change (e.g. transfer coefficients due to deposits of lime-
stone in the shell of the heat exchanger or in the cooling jacket).
Fi , CAi
V1 V2 V3
List of variables:
Output variables: FB , FD , xB , xD .
Input variables: FF , xF .
State variables: Mj , Lj , xj , yj , MB , xB , yB , MD , xD , FR , V, FB , FD .
Each distillation unit (tray) is represented in Fig. 3.15 + section with the weir.
88 | Part I: Introduction
FD , xD
FF , xF
FB , xB
Fig. 3.13. Binary distillation column.
Simplifying hypotheses:
1. Each tray has the same efficiency (Et = 100%).
2. Vapors leaving the tray are in equilibrium with the liquid phase on the tray.
3 Mathematical modeling | 89
Lj+1 , xj+1
V, yj j+1th tray
Mj , xj jth tray
V, yj–1 j–1th tray Fig. 3.15. The unit of distillation + section with
Lj , xj the weir.
3. The column is fed on the tray NF with the feed flow FF at the boiling tempera-
ture corresponding to the concentration xF of the volatile component in the liquid
phase.
4. Each tray is perfectly mixed and has a holdup Mj with the molar composition xj ,
of the liquid phase and yj of the vapor phase. The holdup of the vapors on the tray
is negligible (the vapor mass is ca. 1000 times smaller than that of the liquid in an
atmospheric column).
5. The holdups of the bottom are MB (molar composition xB and yB ) and that of the
reflux tank MD (molar composition xD and 0 - the condensation is total).
6. The bottom molar flow is FB with its composition xB and the distillate molar flow
is FD , with its composition xD.
7. The reflux molar flow is FR and the vapor molar flow is V.Supposing the values of
the latent heat of vaporization substantially close, it can be approximated that one
mole of most volatile component vaporizes at the cost of condensing of one mole
of less volatile component, having the result that there is no need for an energy
balance equation on the column and the molar vapor flow Vis constant along the
column.
8. On each tray, the internal molar reflux depends on the holdup of the tray and is Lj .
9. The dynamic response of the condenser is much faster than that of the column.
10. There is no chemical reaction on the trays.
Having 4 variables on each tray, the bottom with three variables, the distillate drum
with two and 4 other flows to be determined (FR , V, FB , FD ) it means the model has to
have 4N+9 variables.
Tray equations:
d
Lj+1 − Lj = M (3.63)
dt j
d
Lj+1 xj+1 − Lj xj + Vj−1 yj−1 − Vj yj = (M x ) (3.64)
dt j j
α xj
yj = (3.65)
1 + (α − 1)xj
90 | Part I: Introduction
Lj = f (Mj )
or Francis equation Lj = 1.837lj h3/2
j , (3.66)
where lj is the length of the weir and hj is the height of the liquid over the weir.
Bottom equations:
d
L1 − FB − V = M (3.71)
dt B
d
L1 x1 − VyB − FB xB = (M x ) (3.72)
dt B B
α xB
yB = . (3.73)
1 + (α − 1)xB
The reflux has to decrease when xD > xDset the setpoint value for xD :
Example 3.12. The efficiency of an esterification reaction (in %) depends on the molar
concentrations (mol/l) of the reactants (acid and alcohol). A factorial experiment at
3 Mathematical modeling | 91
Input variables x1 x2
Input variables (concentration mol/l) Output variable (efficiency %) Output average (%)
x1 x2 yI yII y
two levels [9] was developed, in order to determine the correlation between the output
and input variables. The aim is to determine a linear regression y = a0 + a1 x1 + a2 x2 .
There is a repetition of the measurements for each combination; the average is
taken into consideration.
1 1.2 2.8
[1 1.0 1.0 1.0 1.0 4.0 4.0 9.6
[ 1.2 2.0 ]
] T [ ] [ ]
X=[ ] ; X = [ 1.2 1.2 0.8 0.8 ] ; X T X = [ 4.0 4.16 9.6 ] ;
[1 0.8 2.8 ]
[ 2.8 2.0 2.8 2.0 ] [ 3.6 9.6 23.7 ]
[1 0.8 2.0 ]
Δ = det(X T X) = 0.4096 (3.77)
0.68
T −1 T [ ]
A = (X X) (X Y) = [ 0.624 ] , giving a regression y = 0.68 + 0.624x1 − 0.38x2 .
[ −0.38 ]
3.5 Problems
(1) A mathematical model of a steam generator (Fig. 3.16) has to be constructed, taking
into account the following: volume of the liquid (Vl ) is much larger than that of the
vapors (Vv ); the liquid phase is in thermodynamic equilibrium with the vapor phase,
meaning: Tl∘ = Tv∘ , the vapor pressure of the liquid at Tl∘ , and the pressure of the vapors
at Tv∘ are equal (Pl = pv ), the flow of evaporated liquid is equal to the outflow of the
vapors (Nv = Fv ρv ); the liquid level is a controlled function of the input flow and vapor
pressure function of the heating agent flow; heat losses to the exterior are negligible.
The geometric dimensions of the generator are known; all characteristics of the liquid
(ρl , cpl , lv ) are known; the gains of the P controllers of the two control loops are KL
and KP .
k
(2) The chemical reaction A → B + C, first order, regarding A, takes place in a semi-
continuous STR (Fig. 3.17).
The desired product is B. C is very volatile product, its evacuation is necessary in
order to maintain the pressure in the reactor. The evacuation is done via a condenser
3 Mathematical modeling | 93
Fv
Vv , cpv , ρv , Tv°
PC
TC Nv
VI , cpI , ρI , TI°
FV
PC
V, CA , CB , CC , T°
TC
in order to prevent the loss of A and B. The flow FvC of C is pure. The relative volatilities
of A and C relative to B are ∝AB = 1.2 and ∝BC = 10. The gases are considered perfect
and the process is isobaric. Develop the mathematical model of the SCSTR.
(3) A double effect evaporator (Fig. 3.18) is fed at the solvent evaporation temperature
corresponding to the feed mass concentrations xF for the first evaporator and x1 for the
second. The volumes of the liquid phase of both evaporators are V. The concentrations
94 | Part I: Introduction
V1 , IV1 V2 , IV2
P1 P2
V0 , IV0
F, xF
F1 , x1 F2 , x2
of the solvate inside the evaporators are x1 and x2 . The evaporators have level control
systems.
The primary heating agent is steam with the latent heat lv0 and the secondary
heating agent is solvent with the latent heat lv1 . The solid fraction is contained only
in the liquid phase being absent in the vapor one. The heat losses to the exterior are
negligible. The steam and solvent are totally condensing and lose only their latent heat
of vaporization lv0 and lv1 . A steady state and dynamic model of the system is required.
(4) In order to model a heat transfer process between a fluid and a plane wall, several
experiments have been done, with the results presented in Tab. 3.6.
The regression to express the best dependence Nu = f (Re) is to be found. The statisti-
cal processing of data is expected.
(5) A stirred tank is considered, operating at atmospheric pressure, fed with two
fluxes having variable volumetric flows F1 (t) and F2 (t), temperatures T1o and T2∘ , spe-
cific heats cp1 = cp2 = cp and densities ρ1 = ρ2 = ρ (Fig. 3.19).
3 Mathematical modeling | 95
F1 , C1 , T1° F2 , C2 , T2°
V, C, T°
Fʼ, C, T°
H
F, C, T°
Fig. 3.19. CSTR with two influents.
Both fluxes contain a dissolved material having the molar concentrations C1 , and C2
respectively. The output flow is F(t), with concentration C(t), density ρ , and specific
heatcp . It is supposed the tank is perfectly stirred and the mixing is done without ad-
ditional heat and without heat exchange with the exterior.
The values of densities, specific heat, of the inputs and outputs are considered
equal. Considering the dependence of the output flow F(t) function of the tank liquid
content (variable) F(t) = k ⋅ √V(t), one has to determine the following:
(a) The dynamic mathematical model of the stirred tank taking care to evidence the
unknowns: C(t), T ∘ (t)andV(t). There will be considered:
– input variables: the volumetric flows F1 (t)siF2 (t).
– output variables: output flow concentration C(t), output flow temperature
T ∘ (t), and tank liquid volume V(t).
(b) Which way does the dynamic mathematical model change when the heat losses
are not negligible? (the heat transfer coefficient is KT and heat transfer area of the
tank is AT ), the evacuation of the tank is done at the height H (dotted line in the
figure). The characteristics of the hydraulic circuit (ξ , λ , lp , dp etc.) are assumed
to be known.
(6) During the PVC batch suspension process, the determinant characteristic of the
PVC is given by Kw = f (T ∘ , min ) where Kw is the so called Kwert, T ∘ is the reaction
temperature, and min is the total mass of initiator. The experimental data measured in
the process are given in Tab. 3.7.
Calculate the regression coefficients of the following types:
(a) Kw = a + bT ∘ + cmin ,
(b) Kw = a(T ∘ )b mcin ,
and discuss which model is the most appropriate to describe the measurements.
96 | Part I: Introduction
Kw
j T∘ [∘ C] min [kg]
I II Kw, av
1 45 1.5 54.63 54.23 54.43
2 52 3 61.37 6.17 61.27
3 50 2 57.28 57.58 57.43
4 48 2.4 58.9 58.66 58.78
5 52 1 52 52.12 52.06
6 51 4 63.75 63.85 63.95
References
[1] Smith, G. M., Van Ness, H. C., Abbot, M. M., Introduction to Chemical Engineering Thermody-
namics, 7th Edition, McGraw Hill, 2011.
[2] Smith, J. M., Chemical Engineering Kinetics, McGraw-Hill Chemical Engineering Series, 1981.
[3] Franks, R. G. E., Modeling and Simulation in Chemical Engineering, Wiley Interscience, New
York, Chapter 9, 1972.
[4] Myskis, A. D., Introductory Mathematics for Engineers – Lectures in Higher Mathematics, Mir
Publishers, Moscow,1972, p. 497.
[5] MATLAB and Simulink for Technical Computing, TheMathWorks, Inc., Apple Hill Drive, Natick,
Massachusetts 01760 USA.
[6] Wolfram Mathematica 8, Wolfram Research, Inc., 100 Trade Center Drive, Champaign, IL 61820-
7237, USA.
[7] Floarea, O., Jinescu G., Balaban C., Dima, R., Operat.ii s.i utilaje în industria chimică – Probleme
(Operations and equipment in the chemical industry – problems), Editura Didactică s.i Peda-
gogică, Bucures.ti, 1980, p. 4.
[8] Freund J. R., Wilson W. J., Regression Analysis: Statistical Modeling of a Response Variable,
Academic Press, San Diego, 1998, p. 75.
[9] Penescu C., Ionescu G., Tertis.co M., Ceangă E., Identificarea experimentală a proceselor
automatizate (Experimental identification of the controlled processes), Editura Tehnică,
Bucures.ti, 1971, p. 228.
[10] Cochran, W. G., Cox, G. M., Experimental Designs, John Wiley and Sons, London, 1952, p. 77.
[11] Box, G. E., Multifactor design of the first order, Biometrika, 39, (1952), 49–57.
[12] Mehta, C. R., Patel, N. R., Tsiatis, A. A., Exact significance testing to establish treatment equiva-
lence with ordered categorical data, Biometrics, 40 (3), (1984), 819–825.
[13] Freund J. R., Wilson W. J., Regression Analysis: Statistical Modeling of a Response Variable,
Academic Press, San Diego, 1998, p. 407.
[14] Sipos, A., Pasat, G. D., Cristea, V. M., Mudura, E., Imre, L. A., Bratfalean, D., Modelarea, simula-
rea si conducerea avansată a bioproceselor fermentative, Editura Universităţii “Lucian Blaga”,
Sibiu, 2010.
[15] Luyben, W., Process Modeling, Simulation and Control for Chemical Engineers, McGraw Hill,
1990, p. 70.
4 Systems dynamics
From the dynamic behavior point of view, systems may be classified in the following
types [1, 3]:
– proportional system,
– integral (or pure capacitive) system,
– derivative system,
– first order (or first order capacitive) system,
– second order system with underdamped, critically damped, oscillating and over-
damped response (second order capacitive system),
– higher order (n-th order multicapacitive) system,
– pure delay (dead time) system.
where K is denoted as the constant of proportionality between the output and the in-
put variable [1, 3].
The proportional system implies an instantaneous relationship between the input
variable (cause) change and output variable (effect) change. As all real systems have
inertia (e.g. due to their mass), the time relationship between the input and output
variables features a certain nonzero time lag or time delay. From this perspective, the
proportional system is placed at the physically feasible limit. Nevertheless, when com-
paring two systems, one with a very large time lag or time delay and the other one with
a very small inertia, the latter may be considered a proportional system from the dy-
namic point of view, because its dynamic response may be regarded as instantaneous
in comparison to the slow one.
The unit step input and the proportional system response to this input are pre-
sented in Fig. 4.1.
The transfer function of the proportional system emerges from the Laplace trans-
form of equation (4.1):
Y(s)
HP (s) = =K (4.2)
U(s)
and the frequency response function becomes
Y(jω )
HP (jω ) = = K. (4.3)
U(jω )
98 | Part I: Introduction
u0(t) y(t)
1 K
0 t 0 t
20lgK
lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
–0.5
–1 lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
According to equation (4.3) the magnitude of the frequency response function |HP (jω )|
equals K and its phase φP (jω ) is zero. The Bode diagrams of the proportional system
are presented in Fig. 4.2.
Example 4.1. Due to the fact that in electrical systems the transport rate of electri-
cal charges may be very high, compared to usual mass, momentum or heat transfer
processes, it may well be considered that in the resistive electrical circuit, such as the
one presented in Fig. 4.3, the output voltage Uo is depending on the input voltage Ui
4 Systems dynamics | 99
R1
Ui R2 Uo
The response of the electrical circuit to a step input voltage change is roughly instan-
taneous and attenuated with the gain factor K.
u0(t) y(t)
1
1/Ti
0 t 0 t
According to equation (4.7) the magnitude of the frequency response function |HI (jω )|
equals 1/(Ti ω ) and its phase φI (jω ) is tan−1 (−1/(Ti ω )/0) = −π /2 (negative phase, i.e.
phase lag). The Bode diagrams of the integral system are presented in Fig. 4.5.
20
–20
–40 lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
–1.5
–π/2
–2
–2.5
–3 lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
Example 4.2. For illustrating the integral system behavior, consider the system con-
sisting in a tank continuously fed and evacuated with a liquid phase, Fig. 4.6 [2]. The
inlet mass flow Fmi (t) is considered time dependent and outlet mass flow Fmo (t) is con-
stant. The system may be delimited by the interface Σ , with the terminal variable of
4 Systems dynamics | 101
Fmi
H H0
Fmo=constant
Fig. 4.6. Integral system example: mass accumulation in a tank with constant outlet flow.
input type u(t) = Fmi (t) − Fmo (t) (the cause) and the terminal variable of output type
y(t) = H(t) − H0 = ΔH (the effect).
The change of the liquid level in the tank H − H0 , as output variable, is depending
on the net inlet flow Fmi (t)−Fmo (t), according to an integral relationship emerged from
the mass balance equation:
dH
Fmi (t) − Fmo = A ⋅ ρ (4.8)
dt
which, by integration, becomes
t t
1 1
H = H0 + ∫ (Fmi (τ ) − Fmo )dτ and ΔH = ∫ (Fmi (τ ) − Fmo )dτ . (4.9)
Aρ Aρ
0 0
The change of the liquid level in the tank shows an integral relationship with respect
to the net difference between the inlet and outlet mass flow rates.
u0(t) y(t)=Tdδ(t)
Area=Td
1
0 t 0 t
The transfer function of the derivative system emerges from the Laplace transform of
equation (4.10):
Y(s)
HD (s) = = Td s (4.11)
U(s)
and the frequency response function becomes
HD (jω ) = j ω Td . (4.12)
and from the conservation law of the electrical charges on the conductive plates of the
capacitor Ce
dU
I = Ce c (4.14)
dt
the equation (4.13) becomes
dUc
Uo = Ui − RCe − Uc . (4.15)
dt
Considering the second Kirchoff law on the ABFG loop
Ui − Uc − Ri Ii = 0, (4.16)
4 Systems dynamics | 103
40
20
–20 lg(ω)
–2 –1 0 1 2 3
Frequency [log(rad/s)]
2.5
2
π/2
1.5
1
0.5 lg(ω)
–2 –1 0 1 2 2.5 3
Frequency [log(rad/s)]
I
Ce
A
B Ii
Uc KA D
Ui Ri
C Uo
F
G
E
and taking into account that the current Ii is very small (as input current in the Opera-
tional Amplifier), it may be approximated that Ui ≈ Uc . Consequently, equation (4.15)
104 | Part I: Introduction
becomes
dUi
Uo = −RCe
, (4.17)
dt
which shows a derivative behavior, with the derivative time constant Td = RCe . The
minus sign denotes the inverse polarity with respect to the Ui voltage. Due to the ca-
pacitor Ce , for a step input voltage Ui change, only the part of the rapid input voltage
change of the step is sent to the output.
The first order (or first order capacitive) system is described by the input-output rela-
tionship:
dy(t)
T + y(t) = Ku(t), (4.18)
dt
where the T is denoted as the time constant and K as the steady state gain of the first
order system [1, 2, 4].
Described by a first order differential equation, the first order system is physically
feasible and a large class of systems may be approximated to its dynamic behavior.
The unit step input and the first order system response to this input are presented
in Fig. 4.10.
y(t)
B
yst
u0(t) < 0,95(yst–y0)
0,63(yst–y0)
1 y(0)=y0
A
M
0 t 0 3T t
T
The explicit solution of the first order equation (4.18), for the constant input u0 (t) and
y(0) = 0, is
t t
y = K u0 (t) (1 − e− T ) = K(1 − e− T ), t ≥ 0. (4.19)
The time constant T is defined as the period of time needed by the unit step response of
the first order system to reach 63.2 % of its net change. The net change is the difference
between the final steady state value and the initial value of the system output.
This definition of the time constant is revealed by making t = T in equation (4.19).
The output becomes
T
y(T) = K(1 − e− T ) = K(1 − e−1 ) = 0.632 K. (4.20)
4 Systems dynamics | 105
The time constant can also be determined graphically, as shown in Fig. 4.10, by draw-
ing the tangent AB in the origin A of the step response plot and considering the inter-
section of the tangent with the steady state asymptote, i.e. point B. The perpendicular
drawn from point B to the abscissa determines the point M and the length of the seg-
ment OM is equal to the time constant T.
The time constant is a measure for the rate by which the first order system changes
its output as response to the input change (dynamic characteristic). The response time
is the time it takes for the step response to reach about 95 % of its final change. It is
considered to be of the order of 3T.
The steady state (static) gain is defined as the ratio between the output change
and the input step change (the change is considered as the difference between the
final steady state value and the initial steady state value, for both the input and the
output). For the step input change the gain is
y(∞) − y(0) y − y0
K= = st = yst − y0 . (4.21)
u0 (∞) − u0 (0) 1−0
When the step input change does not have a unit value, but the amplitude of the
change is umax − umin , the first order steady state system gain may be computed as
the ratio (yst − y0 )/(umax − umin ).
The steady state gain shows the magnitude of the inlet variable influence on the
output variable (steady state characteristic).
The transfer function of the first order system emerges from the Laplace transform
of equation (4.18):
Y(s) K
HD (s) = = (4.22)
U(s) Ts + 1
and the frequency response function becomes
K K(1 − j T ω ) K KT ω
HFO (jω ) = = 2
= 2
−j . (4.23)
jTω +1 1 + (T ω ) 1 + (T ω ) 1 + (Tω )2
According to equation (4.23) the magnitude of the frequency response function
|HFO (jω )| equals K/(1 + T 2 ω 2 )1/2 and its phase φFO (jω ) is − tan−1 (Tω ). The Bode
diagrams of the first order system are presented in Fig. 4.11 [2].
The first order system is an accumulator of mass, energy or momentum.
Example 4.4. An isothermal continuous stirred tank reactor (CSTR) in which a first
order reaction is transforming the A reactant into B product can be considered as an
accumulator of component A. Due to the change of the inlet concentration of A, CAi ,
entering the reactor (considered as the input variable) the output concentration of A,
CA , (considered as the output variable) is changing.
The mass balance of the component A in the reactor system, for constant volume
and equal inlet/outlet volumetric flows F, is described by
d
FCAi − FCA − VkCA = (VCA ). (4.24)
dt
106 | Part I: Introduction
–40
–60
–80 lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
–1
–1.5
–π/2
–2 lg(ω)
–2 –1.5 –1 –0.5 0 0.5 1 1.5 2 2.5 3
Frequency [log(rad/s)]
V dCA F
+ CA = C , (4.25)
F + Vk dt F + Vk Ai
leading to the time constant and steady state gain parameters of the first order system:
V F
T= , K= . (4.26)
F + Vk F + Vk
1 d2 y(t) 2ζ dy(t)
+ + y = Ku(t), (4.27)
ωn2 dt2 ωn dt
where the ωn is the natural (angular) frequency of oscillation, ζ is the damping factor
of the oscillations, and K is the steady state gain of the second order system [1, 4, 5].
The second order system unit step response is presented in Fig. 4.12.
4 Systems dynamics | 107
Overdamped
Critically damped
Underdamped
y(t)
Oscillating
u0(t)
1
0 t
0 t
According to the values of the damping factor ζ , the analytical (explicit) solution of
equation (4.27), for u(t) = u0 (t), has different forms. These forms are
ζ
y(t) = Ku0 (t)[1 − e−ζωn t ( cosh ωn √ζ 2 − 1t + sinh ωn √ζ 2 − 1t)] for ζ >1
√ζ 2 −1
(4.28)
− ωn t
y(t) = Ku0 (t) [1 − (1 + ωn t) e ] for ζ =1 (4.29)
e−ζ ωn t √1 − ζ 2
y(t) = Ku0 (t)[1 − sin (ωn √1 − ζ 2 t + arctan ( ))] for 0 < ζ < 1.
√1 − ζ 2 ζ
(4.31)
For values of the damping factor ζ exceeding unity, the second order system has an
overdamped behavior, presented in equation (4.28), with a sluggish response. The
shortest overdamped behavior, i.e. the critically damped response, is obtained for the
damping factor ζ = 1, equation (4.29). When the damping factor ζ is less than unity
the system response becomes underdamped and shows an oscillating behavior with
diminishing amplitude, equation (4.31). For the case when the damping factor equals
zero ζ = 0, the second order system exhibits an oscillating behavior with constant
amplitude, equation (4.30).
The transfer function of the second order system emerges from the Laplace trans-
form of equation (4.27):
Y(s) K
HSO (s) = = (4.32)
U(s) 1 2 2ζ
s + s+1
ωn2 ωn
108 | Part I: Introduction
ω 2 2ζ
1−( ) ⋅ω
ωn ωn
HSO (jω ) = −j . (4.33)
2 2
ω2 4ζ 2 ω2 4ζ 2
(1 − ) + ω2 (1 − 2 ) + 2 ω 2
ωn2 ωn2 ωn ωn
The Bode diagrams of the second order system are presented in Fig. 4.13 [2].
–40
–60 lg(ω)
–1 –0.5 0 0.5 lg(ωn ) 1 1.5 2 2.5
Frequency [log(rad/s)]
For the case of the critically and overdamped behavior, the second order system may
emerge from the coupling in series of two first order capacitive systems. Consequently,
this second order system is denoted as the second order capacitive system.
Example 4.5. Consider the case of the system composed of two isothermal CSTRs that
are connected in series, as shown in Fig. 4.14 [1]. In both of them, a first order reaction
is transforming the A reactant into the B product. Each of the CSTRs has as input the
change of the inlet concentration of A component entering the reactor and as output
the change of the output concentration of A component. The volume of the inventory
in each reactor is kept constant.
4 Systems dynamics | 109
CAi , F
A B A B
CA1 CA2
CB1 CB2
V V
CA1 , F CA2 , F
Fig. 4.14. Second order system emerged from the series connection of two CSTRs.
The system of CSTRs has a second order critically damped behavior on the transfer
path having CAi as input and CA2 as output. They are described by the mass balance
equations for the A component
dCA1
V + (F + Vk)CA1 = FCAi
dt
(4.34)
dC
V A2 + (F + Vk)CA2 = FCA1
dt
which emerge in the global equation
V2 d2 CA2 V dCA2 F2
+ 2 + C A2 = C , (4.35)
(F + Vk)2 dt2 F + Vk dt (F + Vk)2 Ai
where
F + Vk F2
ωn =, ζ = 1, K = . (4.36)
V (F + Vk)2
The transfer function of the CSTRs system may be obtained by applying the Laplace
transform to the equations (4.34)
T1 s CA1 (s) + CA1 (s) = K1 CAi (s)
(4.37)
T2 s CA2 (s) + CA2 (s) = K2 CA1 (s),
where
V F
T1 = T2 =
, K 1 = K2 = (4.38)
F + Vk F + Vk
and by following simple transformations becomes the form
CA2 (s) K 1 K2 K 1 K2
HSO (s) = = = . (4.39)
CAi (s) (T1 s + 1)(T2 s + 1) [T1 T2 s2 + (T1 + T2 )s + 1]
When connecting in series multiple first order capacitive systems, the input-output
relationship features an increased time lag and presents the so called higher order
110 | Part I: Introduction
capacitive system behavior [1, 4, 5]. The first order capacitive systems connected in se-
ries may or may not have interactions (cause-effect in both directions between sys-
tems). These two cases are presented in Fig. 4.15.
(a)
u=u1 FOC1 FOC2 FOC3 FOCn y=yn
Fig. 4.15. (a) Series connection of first order systems without interaction, (b) series connection of
first order systems with interaction.
For the case of a noninteracting cascade of n first order systems, the differential equa-
tion describing the input u and output y relationship is of n-th order of differentia-
tion with respect to the output y. The unit step response of the system is presented in
Fig. 4.16.
y1
t
0
y2
t
0
y3
u0(t) t
0
1 yn
t
0 t 0
The transfer function of the noninteracting cascade of n first order systems has the
following form:
K1 K2 Kn
HnO (s) = ⋅⋅⋅ . (4.40)
T1 s + 1 T2 s + 1 Tn s + 1
Example 4.6. First, consider as an example the n-th order system, presented in
Fig. 4.17, emerged from cascading n first order noninteracting systems [1, 4]. In each of
them a first order reaction is transforming the A reactant into B product. Each of the
CSTRs has as input the change of the inlet concentration of A component entering the
4 Systems dynamics | 111
CAi , F
A B A B A B
Fig. 4.17. n-th order system emerged from the series connection of n CSTRs.
reactor and as output the change of the output concentration of A component. The
volume of the inventory in each of the reactors is kept constant.
The system composed of multiple CSTRs has the concentration of A component
entering the first reactor CAi as input and the concentration of A component leaving
the n-th reactor CAn as output. It is described by the transfer function of the form pre-
sented in equation (4.40).
Example 4.7. Consider as an example of a second order system, the pneumatic system
emerged from cascading two interacting systems. Each of the interacting systems con-
sists in a vessel (capacity) for air accumulation. Both inlet and outlet flow rate of air
changes the pressure in the vessel. The input variable of the interacting system is the
inlet pressure of the feeding flow and the output variable is the pressure in the vessel.
The air accumulation is assumed to be isothermal and the process is considered ho-
mogeneous with respect to the space coordinates. The two vessel system is presented
in Fig. 4.18.
pi R1 R2 R3 p3
C1 C2
p1 p2
The equations describing the pressure change in the two vessel system are
dp1 pi − p1 p1 − p2
C1 = −
dt R1 R2
(4.41)
dp p − p2 p2 − p3
C2 2 = 1 −
dt R2 R3
112 | Part I: Introduction
R1 C1 R2 C2 R3 s2 (R1 C1 R3 + R1 C1 R2 + R2 C2 R3 + R1 C2 R3 )s
p2 [ + + 1]
R1 + R 2 + R 3 R1 + R 2 + R 3
R3 R1 + R 2 R C R s
= p + ( 1 1 2 + 1) p3 (4.44)
R1 + R 2 + R 3 i R1 + R 2 + R 3 R1 + R 2
and the transfer function on the path pi to p2 becomes
R3
R1 + R 2 + R 3
H(s) = . (4.45)
R1 C1 R2 C2 R3 2 (R1 C1 R3 + R1 C1 R2 + R2 C2 R3 + R1 C2 R3 )
s + s+1
R1 + R 2 + R 3 R1 + R 2 + R 3
The transfer function of the noninteracting cascaded capacities has the form
R 2 R3
(R1 + R2 )(R2 + R3 )
H(s) = . (4.46)
R1 R2 C1 R2 R3 C2 2 R R C R R C
s + ( 1 2 1 + 2 3 2)s + 1
(R1 + R2 )(R2 + R3 ) R1 + R 2 R2 + R 3
As may be noticed, the transfer functions of the cascaded interacting and noninter-
acting capacities are different.
For the numerical case when C1 = C2 = 2 and R1 = R2 = R3 = 1 the transfer
function (equation (4.45)) on the path pi to p2 becomes
1
H(s) = (4.47)
2
3(2s + 1) ( s + 1)
3
and the transfer function on the path p3 to p2 , obtained from equation (4.44), has the
form
2(s + 1)
H(s) = . (4.48)
2
3(2s + 1) ( s + 1)
3
The time constant for a single noninteracting capacity is
C 2
T= = =1 (4.49)
1 1 2
+
R1 R2
while the time constants for the interacting capacities have the 2 and the 2/3 values.
4 Systems dynamics | 113
The pure delay (or dead time) system is described by the input-output relationship:
where the τ is denoted the pure delay time or dead time [1, 4, 6]. The dead time is the
time that passes from the moment of the input change until the moment the output
starts to change, too.
The unit step input and the pure delay system response to this input are presented
in Fig. 4.19.
u0(t) y(t)
1 1
0 t 0 τ t
It may be noticed that the dead time system does not change the form of the input
signal, only delays it.
The transfer function of the pure delay system may be obtained by the series ex-
pansion of the output signal around the moment of time t:
τ du(t) τ 2 d2 u(t) τ 3 d3 u(t)
y(t) = u(t − τ ) = u(t) − + − + ⋅⋅⋅ . (4.51)
1! dt 2! dt2 3! dt3
Applying the Laplace transform to (4.51) the following equality is obtained:
τ s τ 2 s2 τ 3 s3
Y(s) = (1 − + − + ⋅ ⋅ ⋅) U(s), (4.52)
1! 2! 3!
where in the parenthesis we find the Maclaurin series expansion of the function e−τ s ,
leading to the transfer function of the pure delay system:
Y(s)
HPD (s) = = e−τ s . (4.53)
U(s)
The frequency response function of the pure delay system becomes:
0.5
–0.5
–1 log(ω)
–1 –0.5 0 0.5 1 1.5 2
Frequency [log(rad/s)]
–400
–800
log(ω)
–1 –0.5 0 0.5 1 1.5 2
Frequency [log(rad/s)]
The pure time delay may directly emerge from transport processes or may come out as
equivalent pure time delay, resulting from cascading several capacities.
Example 4.8. The step change of the fluid flow rate (or temperature) produced at the
inlet of a long transport pipe (considered as the input variable) produces at the end
of the pipe the same step change of the fluid flow rate (or temperature), considered as
the output variable, featuring a pure delay behavior. Considering only the convective
transport, the pure delay time may be computed as the ratio between the length of the
pipe L and the fluid velocity v, τ = L/v.
Real systems may be approximated as having one of the previously presented dynamic
behavior patterns. Nevertheless, they may exhibit dynamic behavior that emerges
from combinations of the presented types of systems.
One of the most usual cases of such combinations is the first order subsystem that
has associated pure delay (dead time) behavior. The unit step response of the first
order system with dead time has the form presented in Fig. 4.21. This system produces
4 Systems dynamics | 115
y(t)
yst
< 0,95(yst–y0)
u0(t)
0,63(yst–y0)
1 y(0)=y0
0 t 0 t
τ Tp 3Tp+τ
Fig. 4.21. Unit step response of the first order system with dead time.
a combination of time delay lag on the input-output path that aggregates the pure time
delay with the first order system time lag (time constant). The significance of the pure
time delay and the time constant are illustrated in Fig. 4.21.
The transfer function of the first order associated with the pure time delay system,
has the following form [2]:
Y(s) K e−τ s
HFOPD (s) = = (4.55)
U(s) Ts + 1
and its frequency function is
K e−τ jω
HFOPD (jω ) = . (4.56)
1 + jω T
For the case of second order overdamped systems or the case of higher order systems
emerged from connecting in series of several first order capacitive systems, it is usual
to approximate the dynamic behavior to an equivalent first order system with dead
time (having an equivalent time constant Te and an equivalent dead time τe ). The
transfer function of the equivalent system has the transfer function and the frequency
function of the forms presented in equations (4.55) and (4.56). The equivalent gain
Ke , equivalent time constant Te and equivalent dead time τe may be computed either
analytically or graphically.
Consider the case of connecting in series n first order capacitive systems (of known
gains and time constants, Ki and Ti , i = 1 ⋅ ⋅ ⋅ n). The analytical computation of the
equivalent gain Ke , equivalent time constant Te and equivalent dead time τe emerges
from the equalities of the gain factor, magnitude and phase lag of the frequency re-
sponse between the equivalent first order system with dead time and the n first order
series of capacitive systems. They are presented in the following equations:
n
K e = ∏ Ki (4.57)
i=1
116 | Part I: Introduction
n
Ki Ke
∏ = (4.58)
i=1 √1 + Ti2 ω2 √1 + Te2 ω 2
n
∑ (− arctan(Ti ω )) = −τe ω − arctan(Te ω ). (4.59)
i=1
Figure 4.22 presents the step response of n-th first order system and the equivalent step
response of the first order with pure time delay system [2].
y(t) y(t)
B
yst yst
y(0)=y0 y0
A
O M N
0 t 0 t
τe Te τe Te
Fig. 4.22. (a) Step response of the n-th order system (b) Equivalent (first order with dead time) step
response.
The equivalence may also be accomplished graphically by drawing the tangent line to
the step response plot of the n-th order system, in the inflexion point I, and obtaining
the segments OM = τe and MN = Te . These segments are determined by the projec-
tions on the abscissa, M and N, of the tangent line intersections with the asymptotes
of the initial and final steady state values, i.e. points A and B of the tangent line.
4.9 Problems
(1) The chemical reaction of transforming the A reactant into the B product has first or-
der kinetics and is performed in a CSTR. Build the mathematical model of the system,
o
the Bode plots and the transfer function for the transfer path Tag to T o (i.e. heating
agent temperature to reactor temperature). Determine also the type of the dynamic
behavior and parameters (gain, time constant, pure time delay) characterizing the
dynamic behavior of the heat transfer process. The mass of the reactor wall may be
considered negligible.
The following data are known: volume of reactor V = 1 m3 , heat transfer area
AT = 4 m2 , heat transfer coefficient KT = 1000 kcal/m2 h ∘ C, flow rates of the equal
inlet and outlet streams F = 5 m3 /h, specific heat of the reactant and products cp =
1 kcal/kg ∘ C, density of the reactant and products ρ = 1000 kg/m3 , temperature of the
4 Systems dynamics | 117
(2) Consider two CSTRs coupled in series. They are connected by a very long pipe,
where only the transport phenomenon occurs. Determine the transfer function for the
transfer path CAi to CA1 and to CA2 . The following data are given: reactors’ inlet and
outlet equal flow rates Fi = F1 = F2 = 2 m3 /h, interior diameter of the connecting pipe
dc = 20 mm, length of pipe lc = 150 m, volumes of the reactors V1 = V2 = 0.3 m3 ,
reaction rate constant in both reactors k = 0.005 s−1 . Plot the Bode diagrams of the
system.
(3) Compute the global transfer function of the control system presented in Fig. 4.23,
with the time constants and the pure time delay given in seconds.
Yref(s) + Y(s)
0.3 0.15 e–2s
5
– 8s+1 150s+1
2
10s+1
(4) Consider a tank equipped with a stirrer and a heating jacket, as presented in Fig-
ure 4.24.
It is assumed that the mixing of the fluid is perfect and the wall has negligible heat
capacity. Determine the transfer function of the system for the transfer path Ti∘ to T2∘
and put it in the following form:
T ∘ (s) K1
H(s) = 2∘ = . (4.61)
Ti (s) (Ta s + 1)(Tb s + 1)
Find the mathematical expressions of the parameters K1 , Ta , and Tb .
(5) The data below in Tab. 4.1 were obtained after an inlet step change of the steam
flow rate entering a heat exchanger. The heat exchanger outlet temperature measure-
ments were performed with a glass thermometer. What is the time constant of the heat
exchanger?
118 | Part I: Introduction
FV , TA°
Fag , T1°
M2
M1
Fag , T°i ag
t [min] 0 2 4 6 8 10 12 14 16 20 30 40 50
T [∘ C]
o
50 51 54 58 62 65 68 71 73 76 79 80 80.5
(6) Consider a batch reactor with diameter D = 2 m and height H = 3.5 m. The reactor
temperature is controlled by the (cooling) water circulating in the jacket. The overall
heat transfer coefficient between the jacket and the reactor is KT = 1000 kcal/m2 hK
and the mean residence time of the water agent in the jacket is t = 2 min. Neglecting
the heat capacity of the reactor wall and considering a chemical reaction with zero
enthalpy of formation, determine the time constant of the system. What error is intro-
duced if the capacities’ interactions are neglected?
(7) A tank has the cross-sectional area A = 1 m2 , the nominal liquid level H = 4 m
and the nominal outlet flow rate F = 2 m3 /h. How will the liquid level change in
time if the outlet flow rate suddenly (stepwise) increases to the flow rate value F ∗ =
2.5 m3 /h? Plot the exact solution of the process equation and the solution obtained
by linearization.
(8) Solve numerically (using the Euler and Runge–Kutta methods) the differential
equations of the processes describing:
(a) the tank from Problem (7),
(b) the cascade (series) of three isothermal CSTRs where the first order reaction trans-
formation of the A reactant into the B product occurs. The residence time in all re-
actors is TR = V/F = 2 minutes, the reaction rate constant is k = 0.5 min−1 , initial
concentration in the reactors are CA1 (0) = 0.4 kmol/m3 , CA2 (0) = 0.2 kmol/m3
and CA3 (0) = 0.1 kmol/m3 , and the step change of the inlet flowrate is from
F = 0.8 kmol/m3 to F = 0.6 kmol/m3 .
4 Systems dynamics | 119
(9) Develop a software application which solves, based on the Euler method, the
system of ordinary differential equations which describes the gas accumulation pro-
cess in a series of three tanks, as presented in Fig. 4.25. The following parameters
are known: V1 = V2 = V3 = 20 L, R1 = R2 = R3 = R4 = 108 Pa/(m3 /s), gas con-
stant R = 8314 J/kmolK, p4 = 0 (atmospheric pressure), the molecular mass of gas
M = 29 kg/kmol and the temperature T o = 20 ∘ C.
Compute the steady state pressures if the pressure p0 has the initial value p0 (0) =
2 bar and it changes stepwise to p0 = 3 bar. Plot the change of the pressures in the
tanks.
p0 V1 , p1 V2 , p2 V3 , p3 p4
R1 R2 R3 R4
(10) The dynamic behavior of the liquid level h in the tank R1 is investigated when
the inlet volumetric flow rate F1 is changing. Both tanks, R1 and R2 , are operated at
atmospheric pressure. The liquid emerging from tank R1 is recycled through the tank
R2 with the pump P .The system of the two tanks is shown in Fig. 4.26.
F1
C1
R1 LAS
h
C2 F2 LRC
h1 V2 VR
FI
R2
V1
PI
(a) Based on the mass balance of the liquid in the tank R1 and the momentum balance
for the liquid in the output pipe of the same tank, develop the dynamic model
120 | Part I: Introduction
describing the relationship between the level h in the tank (output) of the R1 and
the inlet flow rate F1 (input).
(b) Linearize the obtained model and compute the transfer function of the process
with the same input-output variables, considering the system as a capacitive first
order system.
Use the following notation for the variables and their associated numerical values:
Numerical values:
Mean velocity of the fluid in the outlet pipe (in steady state conditions, when F10 =
F20 ), vm = F10 /Sp = 1.111 ⋅ 10−4 /1.76625 ⋅ 10−4 = 0.629 m/s,
Reynolds number: Re = ρ ⋅ vm ⋅ Dp /μ = 9435 ≈ 9500 (turbulent flow)
Friction coefficient between fluid and wall of the pipe λ = 0.3164/Re0.25 = 0.03205
(smooth pipe),
Coefficient of pressure loss on the 90∘ elbow local flow restriction: ξ1 = ξ2 = ξ3 =
0.125,
Coefficient of pressure loss on the partially open tap V2 local flow-restriction ξ4 = 40.
4 Systems dynamics | 121
References
[1] Agachi, S., Automatizarea Proceselor Chimice, Editura Casa Cărţii de Ştiinţă, Cluj-Napoca, 1994.
[2] Cristea, M. V., Agachi, S. P., Elemente de Teoria Sistemelor, Editura Risoprint, Cluj-Napoca, 2002.
[3] Agachi, S., Cristea, M. V., Lucrări Practice de Automatizarea Proceselor Chimice, Tipografia
Univ., Cluj-Napoca, 1996.
[4] Stephanopoulos, G., Chemical Process Control. An Introduction to Theory and Practice, Engle-
wood Cliffs, New-Jersey 07632, Prentice Hall, 1984.
[5] Marinoiu, V., Paraschiv, N., Automatizarea Proceselor Chimice, Vol. I, Vol II, Editura Tehnică,
Bucureşti, 1992.
[6] Marlin, T. E., Process Control, Designing Processes and Control Systems for Dynamic Perfor-
mance, 2nd edition, Mc-Graw Hill, 2000.
5 Manual and automatic control [1]
As mentioned before, process control deals with the process operation without human
intervention. Manual control operations are the basis of automatic control.
Manual control of a plant is the operation of the plant, manually, by the human oper-
ator.
Taking into consideration a simple process of heat transfer in a shell and tube heat
exchanger, from Fig. 5.1, one may consider the way a process operator is trying to main-
tain a stable temperature at a value given by the technological process (Fig. 5.2). Since
a disturbance occurs, say a decrease in input temperature during the winter (Ti∘ ), or
the decrease of the input temperature of the heating agent, the operator watching the
process observes on a thermometer the change and manipulates the valve, opening it
stepwise, increasing the heating agent flow and the heat flow to the process. The tem-
perature will increase after a long while, the delay being given by the time constant of
the process (Fig. 5.2a). An experienced operator, knowing the dynamics of the process,
opens the valve abruptly (Fig. 5.2b), gives a thermal shock to the process, hurrying in
this way the change of temperature (Fig. 5.2c). After a while, the operator decreases
the agent flow to an intermediate value and smoothly reaches the desired output tem-
perature. This is a way of controlling the temperature, similar to the automatic control
(PID). The drawbacks of the manual control are obvious:
– it needs continuous attention in supervising the parameters whether on night or
day shift; if there are hundreds of parameters to be supervised, it is very difficult
to operate the process appropriately;
– for a good operation of the process, it needs a high level of understanding of the
process (including its steady state and dynamics) on behalf of the operator.
Fag , T°iag
T°
T°i
Fag , T°ag
T°i
T°
t
(a) t0 t1
Fag
T°
t
(b) t0 t1
Fag
T°
t
t0 t1
(c) Fig. 5.2. Operation of a heat exchanger.
124 | Part I: Introduction
Automatic control of a plant means the operation of the plant without human inter-
vention, by an “automaton” which is the Automatic Control System (ACS).
Figure 5.3 shows the usual control solution for the heat exchanger. Actually, the
control system copies the actions of the operator: (a) the observation of the tempera-
ture; (b) the calculation of the deviation from the prescribed value; (c) the estimation
of the change needed in the manipulated variable (in operator’s mind); (d) the actual
change of the heating flow until the setpoint is reached.
T°set
TC TT
Fag
Ti° T°
The devices performing all the above mentioned tasks are: the transducer for action
(a); the controller for actions (b) and (c); the control valve (final control element) for
action (d). The block diagram for a general feedback control system is given in Fig. 5.4.
S
r + e c Actuating m y
Controller Process
device
–
C AD
Fig. 5.4. Block dia-
xr gram of a general
Transducer
feedback control sys-
T tem.
The significance of the notations is the following: Process - the controlled process,
namely the transfer path manipulating the variable/controlled variable; T (trans-
ducer) – the device which measures the controlled parameter and transforms it into
a signal compatible with the other signals in the loop; S (summing point or compara-
tor) – the device which compares the setpoint with the signal of the transducer and
calculates the error; C (controller) – the device which calculates the control signal,
according to an embedded control algorithm and the sign and magnitude of the er-
5 Manual and automatic control | 125
ror; AD (actuating device or final control element) – the device which modifies the
manipulating variable, to change the process output.
The system is named feedback control system, because it measures the controlled
variable (y) with T (xr – the reaction variable), feeds it back to the entrance of the
system, where it is compared with the desired value (r – reference, input or setpoint)
inside the S; S calculates the deviation of the controlled variable from the setpoint (e –
error; e = r − xr ); the error is supplied to C and the controller calculates according to
its algorithm (P, PI, PID or others) the control variable c; the AD transforms c in the
manipulated variable m which is a mass or energy flow which, modified, is supposed
to bring the deviation/error e to 0.
The subtraction of the controlled variable (xr ) from the setpoint (r) produces the
so called negative feedback (negative reaction) and the addition of the two variables,
positive feedback (positive reaction). Sometimes, the positive reaction exists naturally,
embedded in the process (e.g. exothermic reactions).
Of course, automatic control systems require a better preparation of the person-
nel, increased initial costs (about 10 %–15 % additional costs of the equipment), a
good organization of the plant including metrology, maintenance, a good understand-
ing of the economics of additional areas like optimization, heat integration, control.
The time functioning of a system in steady state implies the time invariability of its pa-
rameters. Thus, the period of functioning of the heat exchanger outside the interval
t0 –t1 (Fig. 5.2b) represents a steady state. From the moment t0 , the process modifies
its working parameters entering into the so called dynamic state (until t1 ). Starting
with t1 , the process calms down to a steady state. Usually the dynamic state of a pro-
cess is not desirable, because the process can become uncontrollable. But sometimes,
especially in the batch processes case, dynamic behavior is desired and conducted
in such a way as to obtain the maximum production, for example, in the minimum
time. Unfortunately, the ever appearing disturbances offer short periods of station-
arity for a process, seriously affecting its technical and economic performance. For
example, in the functioning of the distillation column (Fig. 3.14), the stability of the
composition at the top of the column is disturbed almost permanently by: changes of
the composition of the feed flow (changed raw material, changes in the functioning
conditions of the previous stages), variations of temperature at the bottom of the col-
umn (due to the changes in the steam quality), variations of the feed flow (clogging
of the pipelines, ageing of the centrifugal pump), the outside pressure change (vari-
able weather fronts). The permanent presence of disturbances imposes the automatic
control of a process.
126 | Part I: Introduction
From the point of view of stability, the process can be self-regulating or non-self-
regulating. A process is self-regulated (or BIBO stable) if, at the occurrence of a
bounded disturbance, it goes from a steady state to another steady state via a dy-
namic transitory period (Fig. 5.5a). If the process, at the occurrence of a bounded
disturbance, goes from a steady state to an unstable regime (Fig. 5.5b), it is non-
self-regulated. This is the case of the exothermic reactors operated at their unstable
equilibrium point.
y y
There are cases when a stable by nature process becomes unstable due to a badly de-
signed control system (Fig. 5.6). This is a cause which sometimes makes the control
loops to be set on “manual” operation.
y y
The performance of the control system is judged both in a steady state and in a dy-
namic one. Thus, if a control system is well designed and tuned, responds to a step
disturbance with a damped oscillation with the following distinguishable elements
(Fig. 5.7): σ1 – overshoot; σ2 and σ3 are the amplitudes of the second and third oscilla-
5 Manual and automatic control | 127
tion; est – the steady state error; tr – transient time/settling time (duration of the tran-
sient process – time needed by the controlled parameter to arrive and remain around
the final steady state with a deviation of maximum 5 % or 2 % of the final value).
1.5
Setpoint
Actual
σ1 ε st
1
σ3
Parameter
σ2
0.5 tr
0
0 20 40 60 80 100
Time
One can say a process control system behaves properly if during the dynamic state
σ1 ≤ σ1imp , (5.1)
meaning that the overshoot does not exceed a technologically imposed value – e.g.
10 % of the setpoint value;
tr ≤ trimp , (5.2)
meaning that the transient time is shorter than a technologically imposed value – e.g.
for a drying process it is important that the deviations from the setpoint are shorter
than 10 min;
σ
ζ ≥ ζimp (ζ = 1 − 3 ) , (5.3)
σ1
where ζ is the damping ratio and it is important that it is smaller than an imposed
value; it is usually considered good behavior if the ζ = 0.75, meaning that the oscil-
σ
lations respect the rule of quarter decay ratio, σ3 = 14 (Fig. 5.8).
1
The performance in the steady state is the steady state error (SSE), or offset, that
is the difference between the settled controlled variable and its setpoint.
Meaning the steady state error should be smaller than an imposed value; technolog-
ically, est is acceptable if it is under 2 % of the setpoint value. This statement is very
128 | Part I: Introduction
1.5
Actual
Setpoint
σ1 σ3
1
Parameter
σ1 1
0.5 σ3 = 4
0
0 20 40 60 80 100
Time
Fig. 5.8. Good response of a control system with a quarter decay ratio.
general and it is seen from the technology point of view. We shall demonstrate that
even a 2 % error can cause important economic losses.
5.6 Problems
(1) Describe the advantages and disadvantages of automatic control compared with
the manual one. Each situation should have at least three advantages and disadvan-
tages. Why do you think automatic control is to be preferred in the complex situation
of an industrial process?
(2) Explain what happens with the controlled temperature when, in the temperature
control loop described in Section 5.2, the summer does not subtract xr from r, (e = r−xr )
but adds them (e = r + xr ).
(3) Explain why the heating process of a classroom is a self-regulated process and the
change of the flow rate at the entrance of a tank is either self-regulated (free outflow
through a valve) or a non-self-regulated one (forced outflow through a pump)?
(4) Suppose the tiles in an oven are burnt normally at 1200 ∘ C. The technological con-
straint is that the temperature of 1320 ∘ C should not be exceeded for more than 10 min-
utes. How can we describe the functioning of a temperature control loop if σ1 = 15 %
of the setpoint and tr = 25 min?
5 Manual and automatic control | 129
(5) Which of the following processes are “naturally” stable? Exothermic reaction, nu-
clear reaction, filling a glass with water under the tap, pressure increase in an air buffer
compressor tank with inflow and outflow pipes.
References
[1] Agachi, S., Automatizarea Proceselor Chimice, Editura Casa Cărţii de Ştiinţă, Cluj-Napoca, 1994,
p. 4.
|
Part II: Analysis of the feedback control system
6 The controlled process
Figure 5.4 depicts all elements of a feedback control system. Its analysis is the descrip-
tion of the steady state and dynamic behavior of all its parts: the controlled process,
the transducer, the controller and the actuator.
The steady state behavior of the controlled process is important to be known because
it determines first the design of the equipment. The whole design is done in steady
state at the so called “normal” or “nominal” values of the operating parameters.
Second, the steady state characteristics are important in order to design the con-
trol solution and the configuration of the control loop. A mathematical model of the
steady state of a process can give important indications on the relationship between
the input and output variables. Further, studies of sensitivity or relative gain array
(RGA) [1–3] give important indications on the pairing of output and manipulating vari-
ables especially when it is about MIMO systems.
Let us take the example of a simple process of heating in a steam heat exchanger
(Fig. 3.1) with the steady state mathematical model given in the equations (6.1) and
(6.2):
F ρ c T ∘ − F ρ c T ∘ − K A (T ∘ − T ∘ ) = 0
vi p i vo p T T ag (6.1)
∘ − F ρ c T ∘ + K A (T ∘ − T ∘ ) = 0.
Fvag ρag cpag Tiag (6.2)
vag ag pag ag T T ag
∘ between the two equations, the output temperature is expressed in
Eliminating Tag
the general form as
T ∘ = f (Ti∘ , Fvi , Fvag , Ti∘ag , Text
∘ ) (3.1)
where k is the rate constant, V is the mass reaction volume and F is the flow. Obviously,
when the conversion is the objective of the reaction process
ξ = f (T ∘ , V, F), (6.5)
the solution for automation is of three control loops, controlling temperature, level
and flow.
The RGA analysis [4] is a rather simple method used to determine the structure of
automation of a MIMO process. RGA is useful for MIMO systems that can be decoupled
in several SISO systems without or with weaker interaction. RGA is a normalized form
of the gain matrix that describes the impact of each control variable on the output, rel-
ative to each control variable’s impact on other variables. The process interaction of
open-loop and closed-loop control systems is measured for all possible input-output
variable pairings. A ratio of this open-loop “gain” to this closed-loop “gain” is deter-
mined and the results are displayed in a matrix
λ11 λ12 ⋅⋅⋅ λ1n
[λ λ22 ⋅⋅⋅ λ2n ]
[ 21 ]
RGA = Λ = [ ]. (6.6)
[ ⋅⋅⋅ ⋅⋅⋅ ⋅⋅⋅ ⋅⋅⋅ ]
[ λn1 λn2 ⋅⋅⋅ λnn ]
The array is a matrix with one column for each input variable and one row for each
output variable in the MIMO system. This format allows a process engineer to match
the input and output variables that have the strongest effect on each other minimizing
the undesired side effects. The relative gain for a selected ij pair of variables is defined
as the ratio of the open-loop gain for that pair with all other loops open to its open-
loop gain when all other loops in the process are closed, with their controlled variables
held at setpoint by their controller.
That is,
𝜕yi
m = ct
𝜕mj
λij = . (6.7)
𝜕yi
y = ct
𝜕mj
The numerator is the open-loop gain determined with all other manipulated variables
constant, and the denominator is the open-loop gain determined with all other con-
trolled variables kept constant, which, in fact, applies to the steady state.
If the RGA matrix is analyzed one should observe the following:
– the closer the values in the RGA are to 1, the more decoupled the system is;
– the value closest to 1 in each row of the RGA determines which variables should
be coupled or linked;
– each row and each column should sum to 1.
The calculation of the RGA elements can be done experimentally, and this is preferable
because it gives the most accurate results based on real data, or theoretically based
6 The controlled process | 135
on the steady state mathematical model. In the present work, the theoretical model is
described.
If a process model is available, the steady state gain matrix relates the manipu-
lated variables to the controlled variables according to the following equation:
ȳ = Gm̄ (6.8)
where ȳ and m̄ are the output and manipulating vectors respectively and G is the steady
state gain matrix
g11 g12 ⋅ ⋅ ⋅ g1n
[ ]
G = [ ⋅⋅⋅ ⋅⋅⋅ ⋅⋅⋅ ⋅⋅⋅ ] (6.9)
R = (G−1 )T . (6.10)
The interpretation of the λij values is the following: each of the rows in the RGA repre-
sents one of the outputs. Each of the columns represents one manipulated variable:
– if λij = 0, the manipulated variable (mj ) will have no effect on the output or the
controlled variable (yi );
– if λij = 1, the manipulated variable mj affects the output yi without any interaction
from the other control loops in the system;
– if λij < 0, the system will be unstable whenever mj is paired with yi , and the op-
posite response in the actual system may occur if other loops are opened in the
system;
– if 0 < λij < 1, other control loops (mj − yi ) are interacting with the manipulated
and controlled variable control loop.
Example 6.1. [5] A blending unit is used to dilute and cool down the product stream of
a reactor. Three streams are combined in the mixer: the hot, concentrated stream from
λij Possible pairing Table 6.1. Possible pairing of controlled and ma-
nipulated variables relative to RGA elements’ val-
λij =0 Avoid pairing mj with yi ues.
λij =1 Pair mj with yi (best pairing)
λij ≪0 Avoid pairing mj with yi
λij ≤ 0.5 Avoid pairing mj with yi
λij >1 Pair mj with yi
the reactor, a room temperature stream containing none of the product A, and a sec-
ond room temperature stream containing some A produced elsewhere in the process,
with concentration c2 . It is desired to control the flowrate, temperature, and concen-
tration of A in the product stream by manipulating the flowrates of the three input
streams. The process is presented in Fig. 6.1, and the steady state values of flowrate,
temperature, and concentration are indicated. m indicates the manipulated variables
and y the controlled variables.
m1 = F1 = 20 L/min
T1 = 423 K
c1 = 10 g/L y3
m3 = F3 = 70 L/min
T3 = 293 K
c3 = 0 g/L
m2 = F2 = 40 L/min
T2 = 293 K
c2 = 4 g/L
Temperatures are different. Total flow, temperature and concentration have to be con-
trolled. The equations used to model the system are the heat and mass balances:
y1 = m1 + m2 + m3 (6.12)
T m + T2 m2 + T3 m3 T1 m1 + T2 m2 + T3 m3
y2 = 1 1 = (6.13)
y1 m1 + m2 + m3
c1 m1 + c2 m2 + c3 m3 c1 m1 + c2 m2 + c3 m3
y3 = = , (6.14)
y1 m1 + m2 + m3
6 The controlled process | 137
the partial derivatives of the control variable equations in order to determine the ele-
ments of the steady state gain matrix:
𝜕y1
g11 = =1 (6.15)
𝜕m1
𝜕y2 (T − T2 ) m2 + (T1 − T3 ) m3
g21 = = 1 2
(6.16)
𝜕m1 (m1 + m2 + m3 )
𝜕y3 (c − c2 ) m2 + (c1 − c3 ) m3
g31 = = 1 2
(6.17)
𝜕m1 (m1 + m2 + m3 )
𝜕y1
g12 = =1 (6.18)
𝜕m2
𝜕y2 (T − T1 ) m1 + (T2 − T3 ) m3
g22 = = 2 2
(6.19)
𝜕m2 (m1 + m2 + m3 )
𝜕y3 (c − c1 ) m1 + (c2 − c3 ) m3
g32 = = 2 2
(6.20)
𝜕m2 (m1 + m2 + m3 )
𝜕y1
g13 = =1 (6.21)
𝜕m3
𝜕y2 (T − T1 ) m1 + (T3 − T2 ) m2
g23 = = 3 2
(6.22)
𝜕m3 (m1 + m2 + m3 )
𝜕y3 (c − c1 ) m1 + (c3 − c2 ) m2
g33 = = 3 2
. (6.23)
𝜕m3 (m1 + m2 + m3 )
and thus
2 4 7
13 13 13
[ ]
RGA = [
[
11
13
5
13
3
− 13 ].
] (6.25)
4 9
[ 0 13 13 ]
m1 , the flow rate of stream 1, should be used to control y2 , the temperature of the
output stream, since the value of λ21 is the closest to 1 in the matrix ( 1113
). The element
9
second closest to 1 is λ33 , with its value of 13 . This indicates that m3 , the flow rate of
stream 3, should control y3 , the concentration of A in the product stream. In the case
of controlling y1 , the best option from the point of view of RGA value would be m3
7
(λ13 = 13 ), but this is already controlling the concentration of A in the product, so the
next best option is m2 , the flow rate of stream 2. This is not the best choice because
the relative gain is less than 0.5, but it is the best option available.
138 | Part II: Analysis of the feedback control system
30
25
T˚C
20 Process characteristics
N1
N2
15
0 2 4 6 8 10
Fag(m3/h)
Fig. 6.2. The nonlinear dependence of the output heat exchanger temperature on the steam flow.
Besides the pairing of the variables, it is important to also configure the inner structure
of the control loop. The equation (6.3) gives the nonlinear dependence T ∘ = f (Fvag )
presented in Fig. 6.2.
It makes a difference to the efficiency of the control if the nominal point of opera-
tion is N1 or N2 . This is the difference between a heat exchanger having a reserve for
heating and another one designed at the limit. In normal/nominal situations (operat-
ing point N1 in Fig. 6.2) the control system designed as in Fig. 5.3 is efficient enough.
But, in the situation of a much stronger disturbance (curve P1 in Fig. 6.3), the con-
troller is “ordering” the control valve to open at maximum, but does not compensate
the caloric deficit due to the disturbance. In this case, another inner structure of the
control loop should be sought after.
Thirdly, the steady state characteristic of the process is needed at the choice and
sizing of the actuator (Fig. 6.3).
T°
P1
N
T1°
P2
P3
Tn°
T3° Fig. 6.3. The sizing of
T2° the control valve in
the conditions of the
Fag min Fag n Fag max Fag
nonlinear characteristic
Fag n + 0.5m3/h of the process.
6 The controlled process | 139
Usually (80 % of the situations in process industry), the actuator is a control valve.
In the following section, we demonstrate the role of the steady state behavior of the
process at choosing and dimensioning of the valve. In the case of one “positive” dis-
turbance (curve P1 ), the output temperature of the exchanger moves to the value T1∘
corresponding to the nominal steam flow Fag n . The controller, noticing it has an error,
pushes the system to move on curve P1 towards the nominal value Tn∘ . In the opposite
case, when a negative disturbance occurs (curve P2 ), the controller determines the sys-
tem to move from T2∘ to the nominal one Tn∘ . In both cases, the controller determines
the closing or opening of the valve at the flow values of Fag min and Fag max , respectively.
These are the values of flow with which the valve will be sized (see Part II, Chapter 9).
But choosing the valve does not only mean dimensioning the valve orifice, but also
the design of the installed valve characteristics. As seen in Fig. 6.3, the characteristics
are highly nonlinear. Usually all process characteristics are nonlinear. Nonlinearities
cause inaccuracy in controlling the processes due to the variable gain factor along the
characteristic. One may observe that in N1 and N2 (Fig. 6.2) the slopes and thus the
gains are very different. If the control system operates around N1 , when determining
a positive deviation (say +10 ∘ C), it manipulates the steam flow decreasing it with a
certain quantum (say equal to 0.5 m3 /h). If the deviation is negative (−10 ∘ C), manip-
ulating it with the same increase (absolute value of 0.5 m3 /h) which is normal for a
controller with a fixed proportional gain Kc (see Part II, Chapter 8), the result of the
action will not be the nominal temperature Tn∘ , but a lower temperature. There is a
steady state error (SSE) totally due to the nonlinearity and to the changing slope in the
two opposite actions on the characteristic (to the left, the curve is more abrupt than
to the right of the nominal point). One must say that nonlinearity is causing problems
to controlling the processes. The solution is to choose a compensating characteristic
of the valve (which has a small slope where the slope of the process characteristic is
large and vice versa). That is, in the discussed case, to choose a logarithmic installed
characteristic of the valve (Part II, Chapter 9, Fig. 9.21). The choice being done, the
total characteristic of the process + valve will be linear (Fig. 6.4).
Fourth, the steady state characteristic of the process is used to calculate the gain
factor of the process at the operating point, Kpr , which is actually the slope of the curve
in the operating point (Fig. 6.5). The gain is expressed in the units resulting from the
ratio of the two derived variables. The gain factor of the process is used at the controller
tuning (Part III, Chapter 11).
As it is the slope in the operating point,
Δy dy
Kpr = = . (6.26)
Δm N dm N
For Example 6.2, where
0.8
0.6
y
0.4
0.2 1
Process characteristic
0 0.8
0 0.2 0.4 0.6 0.8 1
m 0.6
y
0.4
1 0.2
Process+valve characteristic
0.8 0
0 0.2 0.4 0.6 0.8 1
0.6 xc
m
0.4
0.2
Valve characteristic
0
0 0.2 0.4 0.6 0.8 1
xc
Fig. 6.4. Linearizing the process characteristic through a compensating valve characteristic.
dT ∘ 1 −2
Kpr |N = = (Ti∘ag ) + [4Ti∘ + (T i∘ag )FagN ] , (6.27)
dFag N 4 + 2FagN (4 + 2FagN )2
The dynamic behavior is important showing the speed of response of the process to the
action of the manipulating variables or disturbances. The capacity of a process to be
appropriately controlled is given by its controllability [6]. The concept of controllabil-
ity refers to the capability of the controller to change the state of the controlled plant.
A system ẋ = Ax + Bu is said to be controllable if for all initial conditions x(0) = x0 ,
terminal conditions x1 , and t1 < ∞ there exists an input u(t), 0 ≤ t ≤ t1 such that
6 The controlled process | 141
30
25
Kpr = tg α
T0
20
Process characteristics
Operating point
15
0 2 4 6 8 10
Fag
Fig. 6.5. The gain of the process is the slope of the characteristic of the process at the operating
point.
x(t1 ) = x1 . That is, given x0 , x1 , and t1 < ∞, we wish to find u(t), 0 < t < t1 , such that
t1
x1 = x(t1 ) = e At1
x0 + ∫ eA(t1 −t) Bu (t) dt (6.28)
0
Table 6.2. The controllability of the process measured by the ratio Te /τe .
Te /τe Controllability Response of the control system to Type of adequate control system
a step input change
6–10 good quickly damped oscillations feedback control
3–6 fair maintained or very smoothly cascade control
damped oscillations
<3 poor amplified oscillations feed forward, MPC
10
6
Te/τe
0
0 2 4 6 8 10 12 Fig. 6.6. Dependency of Te /τe on the number of
n first order capacities in series.
18
16
14
Te/τe
12
10
8
6
0 0.2 0.4 0.6 0.8 1 Fig. 6.7. Dependency of Te /τe on T2 /T1 time
T2/T1 constants of two first order capacities in series.
Why the ratio Te /τe ? Because the larger the process dead time is, the later information
about the effect of the disturbances and/or manipulating variable reaches the con-
troller. And this decreases the efficiency of the loop (Fig. 6.8).
In Fig. 6.8, one may observe that if a disturbance occurs at the moment t0 , the
process will respond with a dead time first, time during which nothing is observed
by the transducer. The larger the dead time is, the later the information about the ef-
fect of the disturbance offered to the controller is. If the information for the controller
intervention is delivered too late and the time constant is small, the process is not sub-
jected to any correction and starts to deviate far away from the setpoint. Consequently,
it is very difficult to bring it back to the normal state. To bring the process back, due
6 The controlled process | 143
y Te
D Process
y
τe τe t
t0 t1 t2
Fig. 6.8. The intervention of a feedback control system depending on the ratio Te /τe .
to the large error, the control action is large as well and the actuator is either closed
completely or open completely, depending on the sign of the error. This will induce
further oscillations and the process will be quite difficult to stabilize.
4Ti∘ Ti∘ag
T∘ = + . (6.29)
4 + 2Fag 2 + 4
F ag
The three characteristics are shown in Fig. 6.9. The characteristics are nonlinear.
35
30
T°[°C]
25 Ti0 = 15°C
Ti0 = 20°C
20
Ti0 = 25°C
15 Fig. 6.9. The steady state characteristics of the
0 2 4 6 8 10 heat exchanger in the nominal and disturbed
Fag (m3/h) state.
Fc , xc D, xD
concentrate flow, x = f (Fc ) and the corresponding graph have to be found. The dilution
technological equipment is presented in Fig. 6.10.
Component and total mass conservation for the active component are described
by
D ⋅ x D + F c ⋅ xc = F ⋅ x (6.30)
F = D + Fc (6.31)
Fc Fc 1 1
x= xc = xc = xc or, for the present example, x= 1. (6.32)
F D + Fc 1 + FD 1 + F1
c c
Example 6.4. Steady state characteristic of the storage of liquid in a tank (Fig. 6.12)
At equilibrium, when h = ct, Fi = Fo . The tank evacuation pipeline has the following
constructive characteristics: λ = 6π 10−6 , lp = π m, dp = π 10−2 m, ρ = 1000 kg/m3 ,
g = 9.81 m/s2 . At the beginning of the accumulation process, the tank is empty. The
input and output flows vary between 1 and 5 m3 /h.
6 The controlled process | 145
0.8
0.6
0.4
x
0.2
0
0 0.5 1 1.5 2 Fig. 6.11. The plot of the steady state of the
Fc (m3/h) dilution process.
Fi
lp
h
ν
Fo
dp
If the input flow increases, an accumulation of material in the tank occurs until the
new height in the tank increases the output flow to the value of the input. At this point
another steady state is reached.
The equations describing the process are of mass and momentum balance.
Fi ρ − Fo ρ = 0 (6.33)
lp ρ v2
Fo
Ap ρ gh − λ A = 0; v= . (6.34)
dp 2 p Ap
Thus,
lp 1
h=λ F2 . (6.35)
dp 2gA2p o
And with the values in the example, the plot of the steady state is given in Fig. 6.13.
146 | Part II: Analysis of the feedback control system
h (m) 3
0
0 2 4 6 8 10 Fig. 6.13. Steady state characteristic of the
Fe10–4 (m3/s) accumulation process in a tank.
Example 6.5. Consider the problem presented in Example 3.2, the behavior of a cas-
cade of three CSTRs. Two steady states are given as
– first steady-state input parameters: k = 0.05; CAi = 1; Fi = 0.01;
– second steady-state input parameters: k = 0.05; CAi = 1; Fi = 0.03;
and the parameters used in numerical simulations: KV1 = 0.05; KV2 = 0.06; KV3 =
0.07; Vmin 1 = 0.2; Vmin 2 = 0.22; Vmin 3 = 0.24.
After solving the system of differential equations, the dynamics of the process for
the given steady state data are represented on Fig. 6.14.
0.5
0.03
0.4
Concentration – M
0.025
Flowrate – m3/s
0.3
0.02
0.2
F1 CA1
0.015 F2 CA2
0.1
F3 CA3
0.01 0
0 50 100 150 0 50 100 150
Time – s Time – s
1 0.9
0.9 0.8
Concentration – M
Volume – m3
0.8 0.7
0.7 0.6
CB1 V1
0.5
0.6 CB2 V2
CB3 0.4 V3
0.5
0 50 100 150 0 50 100 150
Time – s Time – s
Fig. 6.14. The results of the MatLab solution of the cascade with three reactors.
6 The controlled process | 147
6.3 Problems
(1) Consider two communicating vessels (Fig. 6.15), a reservoir and a measuring cham-
ber, containing water, with the dimensions given in the figure. Considering the friction
of the liquid with the walls of the pipeline and the measuring chamber λ = 0.035, the
mathematical equation is required that describes the dynamic behavior of the liquid
mass and the corresponding graph when the pressure above the surface in the prin-
cipal vessel increases abruptly for a short while. The oscillation period of the level in
the two vessels is to be determined. Hints: the momentum and mass conservation laws
will be used.
D1 D2
dH2
dH1
(2) A single effect evaporator for a diluted solution of NaCl (brine) is considered
(Fig. 6.16). The following data are available: feed brine flow F0 = 1000 kg/h; feed brine
mass fraction x0 = 0.1; specific heat of the feed brine cp0 = 3433 J/kgK; input tempera-
V1 , H1
V0 , H0
ture of the feed T0∘ = 20∘ . The output parameters are: production imposed to the evap-
orator is F1 = 400 kg/h with mass fraction x1 = 0.25, cp1 = 3957 J/kgK T1∘ = 107∘ ;
latent vaporization heat lv = 2200 kJ/kg. Water specific heat cpw = 4180 J/kg; the
steam flow V0 used as agent is saturated at 120 ∘ C and totally condenses in the heater
without another additional subcooling. The steady state characteristic f (V0 ) has to be
determined. Hints: total and partial mass and energy conservation laws are used.
(3) The steady state characteristic of the liquid-liquid extraction process of residual
water phenol in pure benzene as solvent, x1 = f (FB ) is to be determined. The process
and its equilibrium curve, y1 = f (x1 ), are represented in Fig. 6.17.
B1 , y1
y1
50
A, x0
kg phenol/kg benzene
40
30
20 B, y0
10
A 1 , x1
1 2 3 4 5 x1
kg phenol/kg water
(4) A heating process takes place in a batch heater (Fig. 6.18) with the following
constructive and technological characteristics: Ti∘ = Text
∘ = 20 ∘ C, T ∘ = 90 ∘ C, M =
agi h
60 kg, Mw = 50 kg, Mag = 20 kg, AT = AText = 0.4 m , ATTr = 0.01 m2 , KTi = KTTr =
2
1500 kcal/m2 hK, KTTag = 800 kcal/m2 hK, KText = 200 kcal/m2 hK. Specific heat val-
ues for the heated material and heating agent are cph = cpag = 1 kcal/kgK, and for all
metallic parts of the heater, thermo well included, cpw = 0.15 kcal/kgK. The heating
agent flow varies between 0.08 m3 /h and 0.8 m3 /h.
The heater has an anchor for homogenization with a mass Ma = 12 kg. The tem-
perature inside the heater is measured with a thermo resistor protected in a thermo
well with a mass MTr = 0.5 kg. The heating agent is hot water. The controllability of
6 The controlled process | 149
Ti°
T°ext
Fag , T°ag
Mag Mm Mt
KTTR
ATTR
FT, ag Tag
Mr
Cpr AT
KT, int
Fag , T°ag
KT, ext
AT, ext
the process has to be determined and a proposal for an adequate control system is re-
quired. Hint: τe and Te are to be calculated on the transfer path Fag → T ∘ . The graphic
solution can be used.
(5) In a cascade of 10 CSTR, the first order reaction A → B with a rate constant k =
1/60 min−1 takes place. The volumes of each reactor are Vi = 0.55 m3 . The passing
flow through the cascade is constant F = 5 m3 /h. The controllability of the process
has to be determined, the manipulating variable being the input flow and the output
variable C10 .
(6) Calculate the gain factors for the process of evaporation in Problem (2) with the
output flows FoN = 2.6 and 10 m3 /h respectively. Same request for Example 6.2 with
FagN = 2 and 10 m3 /h respectively.
References
[1] Shinskey, F. G., Process Control Systems: Application, Design, and Tuning, fourth edition,
McGraw-Hill, Inc., 1996.
[2] Fassò A., Esposito E., Porcu E., Reverberi A. P., Vegliò F., Statistical sensitivity analysis of
packed column reactors for contaminated wastewater, Environmetrics, 14 (8), (2003), 743–759.
[3] Yi Cao, Relative Gain Array – File Exchange, MatLab Central, Mathworks.com, 2008.
150 | Part II: Analysis of the feedback control system
[4] Carey, J., van Kuiken, B., Longcore, C., Yeung, A., MIMO control using Relative Gain Array (RGA),
https://controls.engin.umich.edu/wiki/index.php/RGA, 2007.
[5] Lim, W. C., Bennett, J., Grant, J., Bhasin, A., Determining if a system can be decoupled,
https://controls.engin.umich.edu/wiki/index.php/Decouple#Singular_Value_Decomposition,
2006.
[6] Glover, G., Maciejowski, J. M., Lecture Notes 4: Controllability and State Feedback, Cambridge
University Engineering Department, 2002 (revised in 2008), pp. 1–20.
[7] Shinskey, F. G., Practica sistemelor de reglare automata - aplicatii, proiectare, acordare (Process
control systems, McGraw Hill, 1967, translated from English), ed. Tehnica Bucuresti, 1969.
7 Transducers and measuring systems
7.1 Introduction
the lower accuracy etalons, and finally to the measuring instrument, there are strict
regulations formulated by the metrology laws.
When a measurement is performed with a measuring instrument, the measured
value (measurand) is not identical with the true value and their difference produces
the so called measurement error. The measured value emerges from the interaction
between the measuring instrument and the object to be measured. The measurement
error may have different causes. According to the origin, the measurement errors can
be produced by the object subject to the measurement (model errors), the measur-
ing instrument itself (instrument design and manufacturing), the object-instrument
interaction (disturbance effects of the instrument on the object) and the external fac-
tors affecting the measurement process (environmental factors such as: temperature,
pressure, moisture, magnetic and electric fields, radiation, etc.).
There are different ways to assess the measurement error [1]. The simplest one is
the absolute error, which is defined as the difference between the measured value xm
and the true value xt of the measurand:
e = xm − x t . (7.1)
The absolute error may be positive or negative and uses the same measuring unit as
the measurand. The absolute error with changed sign is denoted as correction.
The relative error is defined as the ratio between the absolute error and the true
value of the measurand, expressed in percentage form
xm − xt
er = 100. (7.2)
xt
The relative error is nondimensional and can have either a positive or negative value.
Usually, the relative error is more suitable for assessing the measurement error as it
takes into consideration the absolute error with respect to the magnitude of the mea-
surand.
In practice, the related error is also used. It is defined as the ratio between the
absolute error and a conventional value of the measurand xc , expressed in percentage
form:
x − xt
ert = m 100. (7.3)
xc
Similar to the relative error, the related error is nondimensional and can have either a
positive or negative value.
The conventional value xc is established by technical specifications for the dif-
ferent categories of measuring instruments. Commonly used conventional values are:
highest limit of the measuring domain (when the lowest limit is zero), difference be-
tween the upper and lower limit of the measuring domain or an intermediary value
within the measuring domain. With respect to the measurand value, the related error
varies according to a relationship comparable to the absolute error.
7 Transducers and measuring systems | 153
For different reasons, the measurement error cannot be accurately known but may
only be estimated. The interval in which it is estimated that the true value of the mea-
surand is placed with a given probability is denoted as the measurement uncertainty.
It is a non-negative parameter characterizing the dispersion of the quantity values
being attributed to a measurand, based on the available information. Measurement
uncertainty is an estimation of the limits for the probable measurement error [1].
The measuring results are not the same when measuring is performed repeatedly
for the same measurand, with practically the same conditions. From this perspective,
there are two types of measurement errors, according to the way they show up. They
are the random errors and the systematic errors. The random errors change randomly
and are characterized by equal probability to have either positive or negative values.
Their mean value is equal to zero for a large number of measurements. The systematic
error is the constant component of the measurement error that does not change when
measuring is repeated. The systematic error may be computed as the difference be-
tween the mean value of a large number of repeated measurements and the true value
of the measurand.
The measurement accuracy is defined by the closeness of agreement between a
measured quantity value and the true quantity value of the measurand [2].
Repeatability of the measurement results is the closeness of the agreement be-
tween the results of successive measurements of the same measurand, carried out
under the same conditions of measurement. Good repeatability of the measurement
implies small random errors [2].
Trueness of the measurement is the closeness of agreement between the average
of an infinite number of replicate measured quantity values and the value [2]. Good
trueness of the measurement implies small systematic errors.
The measurement accuracy, repeatability and the trueness are presented in
Fig. 7.1, in a symbolic way, by making a parallel between the attempt at finding the
true value of a measurand and the attempt at shooting into the center of the target [1].
The accuracy class is described by different meanings and symbols. For the measur-
ing instruments described by the maximum permissible error based on the relative or
the related error, the accuracy class is equal to the maximum permissible error. For in-
stance, an instrument with the accuracy class 1.5 may have the maximum permissible
relative error of ± 1.5 % or the maximum permissible related error of ± 1.5 %, depend-
ing on the symbol, used for the accuracy class. When the symbol of the accuracy class
is denoted by a number, the maximum permissible related error is involved, when the
symbol of the accuracy class is denoted by a number placed inside a circle, the maxi-
mum permissible relative error is implied.
7 Transducers and measuring systems | 155
I
P
L
T MD
T – Transducer
MD – Measuring Device
L – Transmission Line Fig. 7.2. Measuring system scheme.
The transducer T is situated in the plant (field) and is in close contact with the measur-
ing quantity to be measured, i.e. the process parameter P. The task of the transducer
is to generate a measuring signal I whose magnitude is proportional to the process
parameter, i.e. the measurand P. The measuring signal I is transmitted to a remote lo-
cation, usually the process control room, where the measuring device MD is situated.
The physical support of signal transmission is the transmission line L. The measuring
system allows the information on the process parameter to be acquired, sent rapidly
and safely to the monitoring or control user.
The transducer consists of two main parts: the measuring element (sensor) ME
and the transmitter T, Fig. 7.3.
dm I
P dm L
ME T
ME – Measuring Element Fig. 7.3. Transducer with its measuring element
T – Transmitter and transmitter.
The sensor transforms the process parameter P into a small mechanical (displace-
ment), electrical or force quantity dm, that is further sent to the transmitter T. The
transmitter generates the measuring signal I whose magnitude is proportional to dm
and to P, respectively. The measuring signal I may be of electrical (current, voltage,
electromagnetic wave), pneumatic (air pressure) or hydraulic (oil pressure) type. The
most common measuring signal is of electrical nature, i.e. electrical current intensity,
and the transmission line consists in electrical wires. The pneumatic signal resides
in the air pressure and the transmission line consists in a small diameter pipe. Pneu-
matic signals originated from the need to provide safe operations in environments
with explosion hazards.
156 | Part II: Analysis of the feedback control system
In order to ensure compatibility between the transducers and the measuring de-
vices, the measuring signals are standardized. This standardization allows instrumen-
tation to be versatile, irrespective to the measured process parameter, measuring prin-
ciple or instrument manufacturer. International standards have imposed a limited set
of domains for the measuring signals, denoted as unified signals. For the unified sig-
nals the most prevalent systems have the ranges: 4–20 mA or 2–10 mA, for electrical
signals, and 0.2–1 bar, for pneumatic signals.
Example 7.1. For the volumetric flow rate transducer of steam transported in a pipe,
with the flow rate varying from 0–10 m3 /h and the electrical unified signal ranging
from 4–20 mA, the linear relationship between the process parameter flow rate xe and
the electrical current signal xr is presented in Fig. 7.4.
xr
i [mA]
20
i=4+(20–4)/(10–0)·F
For measuring the same steam flow rate, the pneumatic transducer working in the
unified signal range of 0.2–1 bar would have a similar linear relationship. According
to this, the pneumatic signal value of 0.6 bar would correspond to the flow rate of
5 m3 /h.
In order to provide a good measuring performance, the transducer has to satisfy the
following requirements:
1. good accuracy, in agreement to the needs of the particular process objectives;
2. tolerance to the corrosive and other environment agents;
3. prompt response to the changes of the process parameter;
4. good reproducibility of the measurement for different environmental conditions.
Both the transducer and the measuring device accuracy class have to be chosen so as
to satisfy the desired measuring accuracy.
Example 7.2. Case I. For a pressure transducer that has to make measurements in the
range of 0–250 bar and for which the constant permissible absolute error is considered
7 Transducers and measuring systems | 157
to be 5 bar, the required accuracy class is given by the maximum permissible related
error:
|x − xt | 5
C = ert = m 100 = 100 = 2 %. (7.4)
xc 250
Case II. For a pressure transducer that has to make measurements in the range of 0–
250 bar and for which the permissible absolute error is considered to be linearly rang-
ing from 0–5 bar over the measuring domain, the required accuracy class is given by
the maximum permissible relative error (for the true value of 250 bar, the permissible
absolute error is of 5 bar):
|xm − xt | 5
C = er = 100 = 100 = 2 %. (7.5)
xt 250
Although for both cases the accuracy class of the transducer is the same, i.e. 2, the
accuracy of the measurement is different for the two cases. For example, if a measure-
ment of a pressure of p = 100 bar is needed, the Case I transducer shows an absolute
error, in bar units, of
C ⋅ xc 2 ⋅ 250
e = x m − xt = = = 5, (7.6)
100 100
which may result in a measured value situated in the range 95–105 bar.
The Case II transducer shows an absolute error, in bar units, of
C ⋅ xt 2 ⋅ 100
e = xm − xt = = = 2, (7.7)
100 100
which may result in a measured value situated in the range 98–102 bar.
The way that the accuracy class is defined needs to be clearly stated by the instru-
ment manufacturer and verified to comply with the measurement needs.
Industrial instrumentation usually has an accuracy class higher than 0.5 %.
The tolerance of the transducers to corrosive and other environmental agents may
be accomplished by manufacturing the measuring element from physically and chem-
ically resistant materials. If the cost of the material is extremely expensive, the mea-
suring element may be protected by a covering membrane made of rubber, Teflon,
enamel or by using a protection sheath. For example, a diluted sulfuric acid flow rate
transducer may be built from resistant materials, such as Teflon, polyethylene, PVC,
hastelloy, enamel or be covered by a material immune to the environment (rubber,
Teflon). Such a transducer is the electromagnetic flow meter with the case built from
Teflon material and using platinum or gold electrodes. The climatic protection takes
into account the influence of the environment, such as: temperature, moisture, pres-
sure, corrosive gases, salinity and electromagnetic fields. Mechanical protection may
be accomplished by special design or protection elements, such as a casing or sheath.
The time response of the transducer depends on the time lag of both the measur-
ing element and the transmitter. The time constant of the transmitter is usually small,
as its operation commonly relies on rapid electrical phenomena. As a result, the rate
controlling part of the transducer is the measuring element. A typical example is the
158 | Part II: Analysis of the feedback control system
temperature transducer based on the resistance temperature detector. The heat trans-
fer through the sheath conforms to a first order capacitive behavior with a time con-
stant varying from about 30 s to 5 min [9]. In order to reduce the time constant, several
construction solutions may be applied, such as: using high heat conductive materials
for the sheath, reducing the wall thickness of the sheath, filling the sheath with oil for
improving the heat transfer, designing the resistance temperature detector with heat
catching elements aimed to improve the heat transfer between the resistance and the
sheath. There are special cases when the transducer time response cannot be further
reduced due to its specific construction and intrinsic measuring principle. A represen-
tative example is the gas chromatograph that implies a pure time delay that may not
be completely eliminated.
Special construction is built in by incorporating compensation of the drifts, in
order to ensure the reproducibility of the transducer designed characteristics, in the
presence of varying environmental conditions. For example, the change of the pH
electrode potential with the temperature is performed by a compensation Wheatstone
bridge.
Special care has to be devoted to the construction of transducers used in pro-
cesses where the environment is explosive or fire-hazardous. The transducers have to
be protected by specially designed housings in order to prevent explosion or by special
electronic design (electrical barriers), leading to so called explosion-proof instrumen-
tation.
with RT and RT0 denoting the electrical resistances at the temperatures T ∘ and T0∘ , and
α the specific temperature coefficient of the metal [3, 5]. Depending on the particular
RTD material, the relationship described in equation (7.8) is approximately linear over
the RTD’s measuring domain of applications, i.e. from −200 ∘ C to 550 ∘ C.
7 Transducers and measuring systems | 159
The electrical resistance values of the RTDs are standardized, in order to ensure
interchangeability. The most commonly used are the Pt100 (i.e. 100 Ω at 0 ∘ C), Ni100,
Cu100, Pt50, Ni50, Cu50 RTDs that are built from platinum, nickel or copper metals.
Figure 7.5 presents the resistance-temperature characteristics for Pt100 and Ni100.
R [Ω]
0
300 Ni 10
0
200 Pt 10
100
Transmitter 4–20 mA
Indicator
Wheatstone bridge
Connection head
Protecting tube,
Sheath
Insulator
support
Resistance
Fig. 7.6. Schematic of the RTD, Wheatstone bridge and RTD transmitter.
Figure 7.6 shows the metal wire resistance wound on the insulator support of mica (or
fiber glass) and encapsulated in the protection tube. The relatively small changes in
the RTD electrical resistance, i.e. around 0.39 Ω/ ∘ C for Pt100, are processed by the
Wheatstone bridge having the RTD as one of its branches. The indicator scale may be
160 | Part II: Analysis of the feedback control system
directly calibrated to show the temperature. Further, the small unbalanced voltage of
the Wheatstone bridge may be sent to the electrical transmitter for conversion into the
unified current electrical signal. Special three-wire or four-wire compensation electri-
cal circuits are used in order to avoid the measuring disturbances produced due to the
changes of electrical resistance of the connecting wires (affected by the temperature
of the environment).
The time response of the RTD is affected by a lag due to the process of the heat
transfer inside the RTD. Depending on the material and thickness of the sheath, or
the air volume inside it, the time constant of the RTD may show values ranging from
seconds to minutes.
The equations describing the heat transfer from the environment temperature,
through the sheath, air volume inside RTD and to the RTD itself, are:
dTS∘ ∘ − T ∘ ) − K A (T ∘ − T ∘ ),
MS cpS = KTenv AT (Tenv S Tair T S air (7.9)
dt
dT ∘
Mair cpair air = KTair AT (TS∘ − Tair
∘ )−K ∘ ∘
TRTD ATRTD (Tair − TRTD ), (7.10)
dt
dT ∘ ∘ − T∘ ) + Q ,
MRTD cpRTD RTD = KTRTD ATRTD (Tair RTD el (7.11)
dt
where MS , Mair , MRTD are the mass of the sheath, air inside the sheath and RTD; KTenv ,
KTair , KTRTD are the heat transfer coefficients from the environment to the sheath, from
the sheath to the air inside the RTD, and from the inside air to the RTD; AT and ATRTD
are the heat transfer areas from the environment to the sheath (equal to the interior
heat transfer area from the sheath to the inside air) and the heat transfer area from
∘ , T ∘ , T ∘ , T ∘ are the temperatures of the environment,
the inside air to the RTD; Tenv S air RTD
sheath, inside air and RTD; Qel is the heat generated by the Joule effect because of the
electrical current passing the RTD, which may be neglected due to the small electri-
cal current intensity. As the Mair , MRTD masses are typically very small, the rate con-
trolling step becomes the heat transfer through the sheath. Figure 7.7 shows a typical
approximation of the RTD dynamic behavior, as a response to a step change of the
environment temperature.
The equivalent pure time delay τ and equivalent first order time constant Tare
shown in Fig. 7.7 [9].
Thermocouples
Temperature transducers having the thermocouple as the measuring element are
largely used in applications [3, 5, 8]. The thermocouple measuring principle emerges
from the following thermo-electric effects:
1. Seebeck Effect. T. J. Seebeck discovered (1821) that in a closed electrical circuit
composed of two different metal wires, A and B, welded at their ends, an elec-
tromotive force e.m.f. (electrical voltage) appears if the two welded junctions are
7 Transducers and measuring systems | 161
T°[°C]
40
20 t [s]
R [Ω] T
115.54
107.8 t [s]
τ 50 100 Fig. 7.7. Step response of the RTD.
B B
Hot junction Voltmeter [mV] Cold junction Junction E Junction
(for measuring) (for reference)
rent flows it generates or absorbs heat, having a net heat effect that is different
than the Joule effect. The Thomson effects compensate and make possible the use
of extension wires for the thermocouples.
The thermocouple temperature measuring ability is mainly based on the e.m.f.
produced by the Seebeck effect, in association with the Peltier effect.
There are different types of thermocouples used in applications, defined by the two
joined metals or alloys. Some of the most commonly used are: J type made of iron and
constantan, K type made of chromel and alumel, T type made of copper and constan-
tan, N type Nicrosil and Nisil and R or S type made of platinum-rhodium and platinum.
Their application ranges from −100 ∘ C to 1500 ∘ C, depending on the type.
If the cold junction of the thermocouple is kept at constant (reference) tempera-
ture, for example at 0 ∘ C, the e.m.f. is proportional to the hot junction temperature.
The quasi-linear relationship between the e.m.f. and the temperature is presented in
Fig. 7.9.
Fe–const NiCr–Ni
Electrical voltage [mV]
40
st
30 con
–
Cu
20
0% Pt
10 PtRh 1
0
–200 0 200 400 600 800 1000 1200 1400 1600
Temperature [°C]
Connection Head
CJ
Ceramic oxide
insulator
Protecting tube
HJ
Hot junction
cial extension wires to move the cold junction into a place where temperature is known
and kept approximately constant. If the CJ temperature is measured it may be used for
the reference junction temperature compensation (smart transmitters).
The time response of the thermocouples depends on the lag produced by the pro-
cess of heat transfer to the HJ. Depending on the material and mass of the sheath,
or the air volume inside it, the time constant of the thermocouples may range from
seconds to minutes.
Some of the thermocouple incentives are: no need for external energy (in the sim-
plest structure of the thermocouple-based temperature transducer), the thermocouple
accuracy class is less than 0.3 %, it addresses a large range of temperature measure-
ments and its robustness and reproducibility are very good.
tube and further results in the rotation of an index on the circular scale of the thermo-
manometer. The Bourdon tube, helix or bellow may be coupled with a transmitter for
generating an electric or pneumatic signal. The temperature measuring range of filled-
system thermometers spans from −75 ∘ C to 250 ∘ C. The dynamic behavior of the filled
system thermometer is determined by the filling liquid/gas, volume and materials of
the bulb, capillary tube and Bourdon system. Its time response may range from tens
of seconds to 5 minutes.
Thermistor-based thermometer
The thermistor is made from a solid semiconductor whose resistivity is highly depen-
dent on temperature [5]. As opposed to the RTD case, when the temperature is increas-
ing the thermistor resistivity is strongly decreasing, thus showing a negative temper-
ature coefficient. The thermistor resistance dependence on temperature may be de-
scribed by the relationship:
B ( T1 − T 1 )
RT = Rref e ref (7.12)
where RT and Rref are the resistance at the measuring temperature T ∘ and reference
temperature Tref∘ , and B is a constant specific to the material and manufacturer.
The thermistor and RTD resistivity-temperature relationship are comparatively
presented in Fig. 7.12.
Compared to the RTD, the thermistor’s resistivity-temperature dependence is
strongly nonlinear and the absolute value of the sensitivity is much higher.
The thermistor material is made of compressed mixtures of manganese, nickel,
cobalt, copper, iron, magnesium, tin, titanium and zinc metal oxides, further heated
and recrystallized in order to form a ceramic structure. The temperature measur-
ing range of thermistors spans from −100 ∘ C to 250 ∘ C, with an accuracy of about
0.1–0.2 ∘ C. In different transmitter designs Wheatstone and other electrical bridge
circuits, including constant current circuits, are used to process the thermistor resis-
tance change induced by the temperature. The incentives of the thermistors rely on:
small mass/volume, reduced response time (less than 5 seconds) and high sensitivity
to temperature changes.
7 Transducers and measuring systems | 165
108
106
104
Resistivity – ρ
102
1
Thermistor
–2
10
Pt – RTD
10–4
Infra-Red thermometers
These types of temperature measuring instruments operate on the basis of the propor-
tionality between the temperature and the power of the radiation emitted by a heated
body. They are also known as radiation pyrometers. One of the most appreciated fea-
tures of the Infra-Reds (IR) thermometers is the lack of contact between the measuring
instrument and the object whose temperature is measured. Consequently, the temper-
ature of moving bodies may be also measured.
The measuring principle is based on Planck’s radiation law that describes the
level of radiation emitted on the unit surface of the blackbody, dependent on the
wavelength and temperature of the complete emitted radiation. The ideal blackbody
(featuring total absorbance and total radiation) is commonly replaced by the non-
blackbody concept in order to account for the real object having emissivity smaller
than that of the blackbody. Emissivity correction terms are used to account for the
lower and wavelength-dependent radiation sent by non-blackbodies. Care should also
be devoted to the influence of the environment through which the radiation is passing
from the radiation emitting object to the measuring instrument, in order to avoid the
gain or decay of the emitted radiation. According to the design of the IR thermometer,
specific requirements may also need to be satisfied, such as the optical field, angle of
view and transparency of the environment or optical system.
The radiation is received by thermocouples and RTDs. The most commonly used
measuring elements are the thermocouples of J, K, N, R, and S types. The electrical
signal produced by the thermocouple (or by a network of thermocouples) is sent to
the transmitter and converted into a unified current signal.
A special IR thermometer is the disappearing-filament optical pyrometer. Usually
built as a portable instrument, its measuring principle relies on the optical match be-
tween the brightness of the measured object and the filament of a lamp supplied by a
variable current source. The optical pyrometer is calibrated in such a way that when
166 | Part II: Analysis of the feedback control system
the manually adjusted current produces the optical match of the filament and the ob-
ject, the value of the corresponding current has directly associated the measured tem-
perature value.
IR thermometers have a theoretically unlimited domain of temperature measure-
ment. Their accuracy class is around 0.5 %. The time response of the IR thermometers
is of the order of seconds.
The basic (momentum balance) equation that describes the dynamic behavior of the
Bourdon tube ensemble, developed with the friction free assumption, is
d2 α
p ⋅ SB − KB ⋅ α = MB , (7.13)
d2 t
where p is the measuring pressure, SB is the differential (longitudinal outer and inner)
areas of the Bourdon tube, KB is the elastic constant of the tube material, α is the
rotation angle, and MB is the mass of the tube and associated moving parts [3, 8]. The
response time of the Bourdon tube is small and its dynamic behavior may be roughly
considered as a proportional one.
The Bourdon tube may also have different shapes, such as spiral or helical forms.
Different alloys are used as material for the Bourdon tube, such as: bronze, phospho-
rous, monel, beryllium, copper and stainless steel.
The diaphragms are elastic discs that show a deformation due to the measuring
pressure, deflection which is further converted into electrical signals by electronic cir-
cuits. Capsules are formed by unifying two diaphragms, inside of which the pressure
value is controlled and used as reference to be further compared to the measuring
pressure.
The differential pressure transducer based on the Barton cell (bellow) is presented
in Fig. 7.14.
168 | Part II: Analysis of the feedback control system
TB
A BC
p+ p–
SB
S
FP R
The Barton cell BC is an elastic metallic bellow that suffers a deformation under the
difference between the pressures (p+ − p− ) applied on its ends. It has two separated
chambers: the high pressure chamber, on the left side, and the low pressure chamber,
on the right side. Due to the pressure difference and the resulting force, the metallic
bellow is contracted in the high pressure chamber and elongated in the low pressure
one, leading to a translation of the rod R towards the low pressure chamber. The fixed
pulley FP displacement rotates the arm A which induces a rotation of the torsion bar
TB. The spring S partially provides the restoring force and helps in returning the mov-
ing system back to the initial position when the differential pressure vanishes [3].
The torsion bar rotates with an angle proportional to the differential pressure ap-
plied to the Barton cell. This rotation may be coupled with a transmitter that trans-
forms it to a standard current signal.
The dynamic behavior of the Barton cell is bbhe Bontj10(eu)1(h)8(at)1()9(ed)]2370grope
7 Transducers and measuring systems | 169
When the wire is subject to the mechanical stress produced by the pressure that mainly
changes the length of the wire (cross-sectional area and resistivity changes may be
neglected), it leads to the linear resistance-elongation relationship:
ΔR ΔL
= Sv . (7.15)
R L
Sv is denoted the strain sensitivity or gauge factor and is experimentally determined
[5]. The strain resistance change may be considered proportional to the applied pres-
sure.
The strain gauge is presented in Fig. 7.15.
Sv
Force Force
Force Force
L
L+ΔL
(a) (b)
Fig. 7.15. Strain gauge measuring principle: (a) force induced deformation of a metal wire;
(b) bonded foil strain gauge.
The pressure strain gauge can be mounted in different ways on the diaphragms and
capsules, or on any surface whose deformation is produced by the pressure action.
They can be bonded on the surface, integrated in a foil and subsequently bonded on
the surface, directly applied by thin-film deposition on a previously deposited isola-
tion layer (by vacuum deposition or sputtering) or by diffusion for the case of semi-
conductor strain gauges (photolithographic masking and solid-state diffusion of an
impurity on silicon substrate). For the foil strain gauge the diameter of the wire is
about 5 microns and the foil thickness is of about 10 microns, while the resistance
of the stain gauge can take standardized values of 100 ohm or 350 ohm [5].
The Wheatstone bridge circuit, both in continuous and alternative voltage supply,
is used to reveal the small resistance change of the strain gauge [5]. Different configu-
rations of the Wheatstone bridge (active) branches are used, such as: strain gauge inte-
grated in a single branch, strain gauges placed in opposing branches or pairs of strain
gauges placed in opposing branches and subject to opposed deformation (extension-
contraction). One of the problems is the need to compensate the strain gauges’ par-
asite resistivity change due to temperature. The Wheatstone bridge circuit is suitable
for performing this compensation. The unbalanced voltage obtained from one diago-
nal of the Wheatstone bridge may be amplified and transformed in a unified current
signal by the transmitter.
170 | Part II: Analysis of the feedback control system
The time response of the strain gauges is of the order of one second. Their accuracy
class may vary from 0.1 to 0.5, depending on shape, material and design implied by
the desired application performance.
A
C=ε , (7.16)
d
where C is the electrical capacity of the condenser, ε is the permittivity of the dielectric
material (air in most cases) between the condenser plates, A is the face-to-face area
of the condenser plates, and d is the distance between the electrodes, as shown in
Fig. 7.16.
Electrical
connection Face-to-face area
A d
C
Dielectric – ɛ
Face-to-face area
A Electrical Capacitor
connection symbol
Displacement for
face-to-face area change
Fig. 7.16. Electric capacity change of the capacitive transducer due to face-to-face area and distance
between plates.
The electrical capacity change of the condenser, proportional to the pressure, is usu-
ally transformed into an electrical signal by the help of an alternative current bridge
(such as the Sauty bridge for the differential pressure transducer) or by modulating
the frequency, amplitude or phase of periodic electric signals. Following amplifica-
tion and amplification and demodulation, the generates unified electrical signals.
The time response is less than one second.
plied by alternative voltage [5]. The principle of the inductive transducer is presented
in Fig. 7.17.
Coil
Core
The fluid pressure P enters the bellows and produces the displacement of the iron
core, that causes the inductance change of the electrical coil, which is further trans-
formed into unified current signals by the specially designed electronic circuits (such
as a modulation-amplification-demodulation chain). Other designs exploit the self-
and mutual inductance phenomena (for example the linear variable differential trans-
former LVDT). The time response of the transducer is dependent on the fluid accumu-
lation in the bellows. Its accuracy class is about 1 %.
titanate or lead zirconate. The generated electrical charge is stored in an electric ca-
pacitor whose voltage is further processed by the high input impedance amplifier and
then converted into standard current signals. The new, smart piezoelectric transduc-
ers have the electrical charge processing electronics together with the temperature
compensation already integrated in the same chip, by taking advantage of the field-
effect transistors offered by microelectronics. Piezoelectric pressure transducers have
time constants less than one second and their accuracy class is 0.5 %.
E
High vacuum
sealed chamber
Unknown
low pressure gas
Low pressure
measuring chamber Transmitter 4–20 mA
Indicator
Wheatstone bridge
The Pirani gauge is included in a Wheatstone bridge having two identical tungsten
resistances, placed in the glass measuring chamber and the high vacuum (pressure
reference) chamber. Following calibration, when the low pressure changes, the pro-
portional voltage appears in one diagonal of the Wheatstone bridge, which is indi-
cated and further transformed into standard current signal. The time constant of the
Pirani gauge is less than 5 seconds.
7 Transducers and measuring systems | 173
The ionization gauge has different constructions, such as: hot cathode, cold cath-
ode and spinning rotor. The operation principle of the hot cathode low pressure gauge
is presented in Fig. 7.19.
R1 la
A
R2 Pressure
to be measured Fig. 7.19. Hot cathode ionization absolute
E
pressure gauge.
The ionization gas consists in a triode which produces the ionization of the gas [3].
The current of electrons is emitted by the heated cathode (filament), under the driving
potential of the triode grid. The electrons collide with the gas particles and partially
produce the ionization of the gas. The anode collects the ions of gas and produces an
electric current Ia (10−5 A to 10−8 A) that is further amplified by an operational ampli-
fier. There is a good linearity of the relationship between the anodic current intensity
and the low pressure of the gas. Time response of the ionization gauge is less than
10 seconds.
current signal. The relationship between the pressure drop and the volumetric flow
rate is quadratic.
The most representative flow meter of this category is the flow transducer us-
ing the orifice plate restriction element (also named diaphragm) [3], as presented in
Fig. 7.20.
d1 , A1 d2 , A2 dVC , AVC
p1 p2
p
p1
Δprem
p1 – p2
p2
Fig. 7.20. Flow through the orifice plate and pressure change.
The diameter and cross-sectional area of the flowing vein at upstream (pipe diameter),
immediately downstream of the orifice plate and at the most reduced section of the
flow (vena contracta) are denoted by d1 A1 , d2 A2 , and dvc Avc . The local pressure drop
is the difference Δp = p1 –p2 and the remnant pressure drop is Δprem .
Considering the pipeline to be horizontal, the Bernoulli equation, describing the
energy conservation of the fluid for the sections of the orifice plate differential pressure
sampling points, is:
v12 p1 v22 p2
+ = + , (7.17)
2 ρ 2 ρ
where v1 and v2 are the velocities and p1 and p2 the pressures in the considered sec-
tions, for an incompressible fluid (ρ = ct).
According to the mass conservation in the two sections, the following equation
may be considered:
v 1 ⋅ A 1 ⋅ ρ = v2 ⋅ A 2 ⋅ ρ . (7.18)
7 Transducers and measuring systems | 175
From equations (7.17) and (7.18) the pressure drop on the orifice plate is
ρ v22 A2
Δp = p1 − p2 = (1 − 22 ) . (7.19)
2 A1
Denoting the ratio of diameters by β = d2 /d1 , the ratio of two cross-sectional areas
becomes A2 /A1 = β 2 and from equation (7.19), the velocity v2 may be obtained as
1 2 2
v2 = √ (p1 − p2 ) = E√ (p1 − p2 ). (7.20)
√1 − β 4 ρ ρ
2
Fv = A2 v2 = A2 E√ (p1 − p2 ) = K √Δp (7.21)
ρ
Equation (7.21) reveals the nonlinear (quadratic) relationship between the volumetric
flow rate and the pressure difference on the orifice plate, as shown in Fig. 7.21.
Δp = p1 – p2
Due to this nonlinearity, when the orifice plate element is coupled with a differential
pressure transducer, whose steady state characteristic is linear, the output unified cur-
rent signal would also have a nonlinear dependence on the flow rate. If this signal is
sent to an indicator instrument, a nonlinear scale would also result (with first half
of the flow rate measuring domain compressed in the first quarter of the indicating
scale length). This nonlinearity is even more cumbersome if the signal is used for con-
trol. The linearization of the relationship between the flow rate and the current signal
implies the use of a square root extractor, which processes the signal produced by the
differential pressure transducer. The schematic representation of the measuring chain
with linearization of the output signal is presented in Fig. 7.22.
The flow rate equations (7.21) and (7.22) have to be improved for real fluid behav-
ior and measuring geometry, by taking into account the contraction of the fluid flow,
the loss of energy transformed to heat due to friction and the gas expansion for the
176 | Part II: Analysis of the feedback control system
FV
Δp Δp= K1FV2 p
i i’
Δp
FV
i
p i
i = 4+K2FV2 i’ = 4+K3FV
i i’
FV FV
Fig. 7.22. Linearization of the output signal using the square root extractor, for unified 4–20 mA
current signals.
case of gaseous fluids. The contraction coefficient Cvc , having values less than one,
introduces a correction in order to account for the different pressure, velocity and di-
ameter values at the section immediately located after the orifice plate and the vena
contracta section. It depends on the Reynolds number, β , and position of the differen-
tial pressure taps. The friction coefficient Cf , having values less than one, introduces
a correction in order to account for the loss of energy transformed in heat. This energy
loss is revealed by the remnant pressure drop Δprem . The friction coefficient depends
on the pipe roughness, Reynolds number, β , and the arrangement of the differential
pressure taps. The expansion coefficient ε , having values less than one for gases (ε =1
for liquids), introduces a correction in order to account for the compressibility of the
gas. It depends on the pressure ratio p2 /p1 , heat capacity ratio of the gas (at constant
pressure and constant volume), β , and is gas specific.
Introducing the correction coefficients, the volumetric and mass flow rate expres-
sions become
2 2 π 2
Fv = Cvc Cf ε A2 E√ (p1 − p2 ) = αε A2 √ (p1 − p2 ) = αε d21 √ Δp, (7.23)
ρ ρ 4 ρ
π 2
Fm = Cvc Cf ε A2 E√2ρ (p1 − p2 ) = αε A2 √2ρ (p1 − p2 ) = αε d1 √2ρ Δp, (7.24)
4
where α is the well-known flow coefficient. The flowates computed according to equa-
tions (7.23) and (7.24) are dependent on the static pressure p1 and temperature mea-
surement conditions. When these measurement conditions change, necessary addi-
7 Transducers and measuring systems | 177
tional corrections have to be made for accurate flow rate results, based on static pres-
sure and temperature measurements. They are performed by the smart flow meters.
The emplacement of the restriction element requires a straight pipe length of more
than 20 pipe diameters upstream, and a straight pipe length of more than 5 pipe di-
ameters downstream the restriction, in order to provide a stable flowing profile and
perform accurate flow rate measurement.
The accuracy of flow measurement is the sum the restriction element accuracy (er-
rors higher than 0.5 %), differential pressure measuring device accuracy (errors higher
than 0.5 %), transmitter/square root extractor accuracy (errors higher than 0.5 %), and
accuracy of the geometrical arrangement, usually leading to errors between 2 and 4 %.
The time response of this flow rate measuring transducer is less than 3 seconds.
PT d
PS
ΔP=PT–Ps=PD
π d2 π d2 2
Fv = v= √ Δp, (7.26)
4 4 ρ
where d is the pipe diameter and ρ is the fluid density.
178 | Part II: Analysis of the feedback control system
There are different versions of this flow measurement principle, such as the
Prandtl tube flow meter, S type Pitot and Annubar flow meter. Their accuracy is not
as good as of the restriction element flow meters, but may show incentives especially
with respect to the installation costs on large diameter pipes. The response time of the
Pitot flow meter is comparable to that of the restriction element flow meters, i.e. less
than 3–5 s.
Rotameters
The measuring principle of this variable area flow meter relies on lifting a float placed
in a vertical tapered tube through which the fluid flows [3], as shown in Fig. 7.24.
Fvmax
FL
FA
Fv
h
GF
0
Fig. 7.24. Rotameter measuring principle.
As the fluid flow rate and velocity increase, the lifting force is higher and the float
is moved in a higher position where the area of the annulus through which the fluid
passes is increased. Due to the lifting force of the increased flow rate the float has
to move upward for the pressure drop on the float to remain almost the same and
the equilibrium between the downward gravity force and the upward forces to be re-
established.
7 Transducers and measuring systems | 179
The forces acting on the float are the gravity force GF , the Archimedes’ force FA
and the lifting force FL . They are described by
GF = Vf ρf g
FA = Vf ρfd g (7.27)
ρ v2
FL = CAf fd2 ,
where Vf , Af , ρf are the volume, the largest cross-sectional area and density of the
float, ρfd is the fluid density, v is the fluid velocity, and C is a pressure drop coefficient.
For a given fluid velocity v (with its corresponding flow rate), the equilibrium of
forces acting on the float is
ρfd v2
Vf ρf g = Vf ρfd g + CAf , (7.28)
2
and the fluid velocity becomes
2g Vf
v=√ (ρf − ρfd ) . (7.29)
C Af ρfd
2g Vf
Fv = A √ (ρf − ρfd ) , (7.30)
CAf ρfd
where A is the difference between the cross-sectional area of the tube and of the float,
at the equilibrium height position. As the angle α is small (5∘ to 8∘ ), the area A does not
strongly depend on the height h. The coefficient C also depends on h, by a relationship
of the form:
1
C = K 2 + C0 . (7.31)
h
This ensures that the fluid flow rate through the rotameter is in an almost linear rela-
tionship to the position of the float.
The scale of the rotameter is dependent on the fluid density. For liquids with com-
parable viscosity, the rotameter can be simply recalibrated using equation (7.30). The
dynamic response of the rotameter reveals a time constant of less than 1 s, but it may
reveal an oscillating behavior.
The rotameter can be coupled with a displacement transducer and transmitter.
For this case, the tapered tube should be made of non-ferromagnetic material in order
to allow the float to be magnetically coupled with an exterior electric or magnetic cir-
cuit, and further to the transmitter. The float materials can be made of stainless steel,
aluminum, Teflon, PVC, or glass and depend on the fluid properties. The tapered tube
is usually made of borosilicate glass. The rotameter’s accuracy is comparable to that
of the restriction-based flow meters. They are suitable for relatively low flow rate and
low cost measurements.
180 | Part II: Analysis of the feedback control system
For the case of the magnetic flow meter, the conductor consists in slices of electri-
cally conductive liquid passing through the pipe and having a diameter equal to the
pipe diameter (l = D). In each moving slice the voltage is induced and two measuring
electrodes are capturing it for amplification and further processing. The induced volt-
age is proportional to the mean velocity in the cross-section of the pipe. The magnetic
field lines, the fluid direction of flow and the electrodes’ axis are mutually perpendic-
ular. The simplified representation of the magnetic flow meter measuring principle is
shown in Fig. 7.25.
D
S
v
Fig. 7.25. Magnetic flowmeter measuring principle.
materials are: enamel, Teflon, rubber and ceramic. The lining also has the role of pro-
viding the needed resistance to corrosive or abrasive liquids, with temperatures up
to 200 ∘ C. The electrodes are made of materials such as: stainless steel, platinum-
rhodium alloys, titanium and hastelloy. Obviously, this type of flow meter can only
measure liquids having a minimum electrical conductivity of 2 μ S/cm. Petrochemical
liquids are not suitable for this type of flow rate measurement, as they commonly do
not have the minimum required electrical conductivity.
The induced voltage is usually less than 20 mV, which makes it necessary to per-
form an amplification by the transmitter that generates a unified current signal or a
frequency modulated signal (e.g. between 0 Hz and 1000 Hz). The accuracy class of
magnetic flow meters is of about 1 %. Their dynamic time response is excellent and
the steady state characteristic is linear.
The magnetic flow meters represent the most powerful candidate for the top place
in popularity of the restriction based flow meters, due to their particular incentives, of
which the following may be mentioned: flow rate measurement does not depend on
temperature, density, viscosity or pressure, can be used for liquids having both lami-
nar and turbulent flow, may be employed in applications for liquids containing sedi-
ments, mounting can be made in vertical, horizontal or inclined position for bidirec-
tional measurements, it needs reduced straight pipe conditions (3 to 5 pipe diameters
upstream), exhibits no pressure drop and features easy recalibration and changing
the measuring scale (smart transmitters).
Two categories of ultrasound flow rate measurement are known: ultrasound flow
meters based on measuring the transition time and on the Doppler effect [5].
The principle of the ultrasound flow meters based on measuring the transition
time is presented in Fig. 7.26.
When the ultrasound wave travels in a moving liquid of velocity vl its velocity
changes compared to the wave velocity in stagnant liquid vs ; it increases (v1 = vs + vl )
in the case the orientation and sense of the liquid flow and the wave are the same and
it decreases (v2 = vs –vl ) when the orientation is the same but the sense is opposite.
The difference between the transition times of the two ultrasonic waves traveling with
altered wave velocities, in both co- and counter-current with the stream, is a function
of the fluid velocity.
The ultrasound flow meters have a pair of transmitter-receiver T − R units. Each of
them sends and receives an ultrasound wave to and from the other one. For the case
of the aligned T − R units, the difference in the transition time Δt, for the co-current
and counter-current wave propagation is
L L 2Lvl
Δt = t2 − t1 = − = . (7.34)
vs − vl vs + vl vs2 − vl2
Considering that, vs2 ≫ vl2 , the velocity of the liquid may be computed by
(vs2 − vl2 )Δt vs2 Δt
vl = ≅ . (7.35)
2L 2L
182 | Part II: Analysis of the feedback control system
Transmitter – Transmitter –
Receiver Receiver
T–R T–R
L
T–R T–R T–R
L
L φ
Aligned T – R Diagonal T – R
T–R
For the case of the diagonally positioned T − R units, the velocity of the liquid is com-
puted by
vs2 Δt
vl ≅ , (7.36)
2L cos φ
where φ is the angle between the axis direction of the T − R units and the liquid flow
direction.
In this second case, there is a mediation of the velocity values across the pipe
cross-section.
The transition-time ultrasound flow meter has an accuracy class varying from 1 %
to 3 %, and its dynamic response shows a time constant of less than 1 s.
The Doppler effect flow meter measuring principle is based on the frequency
change Δf of the transmitted ultrasonic wave, compared to the reflected one, when
the incidence wave meets a particle moving with velocity vl :
vl = kΔf , (7.37)
It may be used in applications where the there is a large amount of particles in the
flowing stream.
The Vortex shedding flow meter measuring principle is based on the relationship
between the frequency of the vortex swirls created by an obstacle in the stream path
and its velocity (flow rate) [5]. The vortex flow meter is schematically represented in
Fig. 7.27.
Shedder bar
Vortex swirls I
Vortex swirls II
When the flowing gas or liquid stream meets a solid obstacle, denoted as a shedder
bar, it produces a split in the stream. This makes the pressure increase and velocity
decrease on one side of the obstacle, associated with the decrease of pressure and in-
crease of velocity on the other side of the obstacle. Time alternating vortex swirls of
type I and II are formed on the shedder bar sides and the process is reversed with a fre-
quency dependent on the fluid velocity. The vortex swirls produce an oscillating me-
chanical stress on the obstacle which is transformed into electrical signals by piezo-
electric, strain gauges or thermistor sensors. The vortex frequency is about 10 times
higher for gases, compared to liquids, but also depends on the geometry of the flow
meter. A minimum value of the Reynolds number of Re = 4000 is required for the
proper operation of this flow meter. Its sensitivity to vibration is relatively high due
to the sensor. Accuracy class is of 1 %. The dynamic time response is of the order of
seconds.
cillations are induced on perpendicular direction of the fluid flow direction) and the
phase shift of the oscillating ends of the tube [4]. The phase shift between the ends
of the tube is due to the action of the Coriolis force exerted in the tube by the flowing
fluid. The Coriolis force FCO is the force acting on a solid body of mass m, having both
translational movement with radial velocity v⃗ and rotational movement with angular
velocity ω⃗ :
F⃗ CO = 2m(ω⃗ × v).
⃗ (7.38)
The Coriolis force exerted by the fluid is dependent on its mass and velocity and hence,
on the mass flow rate. For the case when there is no mass flow rate passing through
the measuring tube, both ends oscillate with no phase difference. The oscillation is
induced by special exciting elements of the flow meter. As the mass flow rate increases,
the oscillation at the inlet of the tube is decelerated and oscillation at the other end
is accelerated, producing a phase shift between the oscillating ends. This phase shift
is proportional to the mass flow rate and it is processed and transformed into unified
current signal
The incentives of the Coriolis flow meter consist in its accuracy class of less than
0.3 %, independence of the measurement on the fluid density, pressure, temperature
and viscosity, and ability to measure mixtures of solids and liquids and liquids and
liquids. The Coriols flow meter may also provide the density measurement, obtained
by bringing the oscillation frequency of the tube at resonance. Its time response is
less than 2 s.
The thermal mass flow meter measuring principle is presented in Fig. 7.28.
The fluid to be measured is passed through a heat conductive metallic tube [3]. A
heat producing resistance RT is placed between two resistance temperature detectors
(RTDs) RT1 and RT2 , that are part of the Wheatstone measuring bridge supplied by
the electrical voltage source E. When the mass flow rate Fm is null, the heat distribu-
tion in the pipe is symmetrical and the maximal temperature is situated in the center
of the tube. Both RTDs measure the same temperature and the Wheatstone bridge is
in equilibrium, U = 0. As the fluid mass flow rate increases, the heat is transported
downstream and the distribution of the heat becomes non-symmetric in the tube, ex-
hibiting a difference between the temperatures in the location of the RTDs:
ΔT ∘ = k1 cp Fm , (7.39)
where k1 is the calibration constant of the instrument and cp is the fluid specific heat.
The RTDs detect the temperature changes and the Wheatstone bridge becomes
unbalanced, producing the voltage:
U = 0.5 α ΔT ∘ E (7.40)
RT1 RT RT2
Fm
R U R
E
=
T° Fm > 0
Fm = 0
ΔT°
From equations (7.39) and (7.40) the voltage-mass flow rate relationship can be ob-
tained as
U = 0.5α Ek1 cp Fm = KFm (7.41)
Δp
P T° Δp
ρ ρΔρ
Flow integrators
Besides the flow rate measurements, in process engineering applications information
is sometimes needed that reveals the total quantity of delivered volume or mass, for
a certain period of time. If the mass or volumetric flow rates are measured and trans-
formed into a standard signal, the total quantity may be obtained by time integrating
these signals. This operation may be performed by the special devices named integra-
tors.
A particular class of flow meters measures and integrates the volumetric flow rate
by dividing the flow into precisely measured volumes and counting the number of
such volumes passed through the flow meter. The number of volumes multiplied by
the value of a single sample volume provides the total volume (integrated flow rate)
that was passed through the flow meter in a certain period of time. The flow rate may
be computed if the time is also measured. The ratio between the total volume passed
through the volumetric meter and the corresponding period of time for its accumula-
tion, equals the mean flow rate for the corresponding period of time. From this cat-
egory of flow integrators, the most common are the Woltman turbine meter and the
oval shaped gear meter [3].
The Woltman turbine meter is frequently used for integrating water streams. It is
schematically represented in Fig. 7.30.
The turbine, having helical blades, is rotated by the fluid flow and the number of
rotations is transmitted by a mechanical gear coupling system to a mechanical gear in-
tegrator. An alternative construction transforms the rotations of the turbine in a pulsed
electrical signal that is generated by the magnetic coupling of the turbine with the ex-
terior electrical circuit or by electromagnetic induction. An electronic counter totalizes
the number of electrical impulses and hence, the total volume. Its accuracy class is 2 %
to 3 %.
The oval shaped gear meter is presented in Fig. 7.31.
It is composed of two oval gears that rotate and separate fixed volumes of fluid V
which are passed from the upstream to the downstream of the meter (four volumes for
one full rotation). The number of rotations is transmitted to mechanical or electrical
7 Transducers and measuring systems | 187
counters that show the integrated flow rate. The typical accuracy class of the meter is
higher than 0.5 %.
2
y
1 y0
H +y –y H
H0 0 0
The float 1 is placed in a communicating vessel 2. As the level in the tank changes, the
float changes its position [3]. Three forces acting on the float are in equilibrium. They
are the gravity force G, Archimedes’ force FA , and the elastic force of the spring Fs , and
at equilibrium:
G = F A + FS
(7.42)
G − Aρ [H − (H0 + y0 − y)]g − KS y = 0,
where y is the spring elongation corresponding to the partially immersed float (posi-
tion (3) in Fig. 7.32), y0 is the spring maximum elongation corresponding to the non-
immersed float (position (2) in Fig. 7.32), i.e. when H = H0 and G = Ks y0 , and A is the
cross-sectional area of the float.
The current elongation of the spring y is linearly dependent on the level H:
Aρ g
y = y0 − (H − H0 ). (7.43)
KS + Aρ g
d2 y
G − Aρ [H − (H0 + y0 − y)]g − KS y = M , (7.44)
dt2
where M is the mass of the float and spring.
The second order differential equation (7.44) reveals the possibility of getting into
an oscillatory regime. This system’s intrinsic behavior is occurring beside the oscilla-
tions induced by the liquid circulation aimed to equalize the level in the communica-
tion vessels. Choosing the appropriate values for the mass M, the float cross-sectional
area A and the elastic constant Ks , may render to the system an aperiodic second order
dynamic behavior.
The accuracy class of this type of level transducers is higher than 1 %. Fouling and
building deposits on the float may affect the accuracy of the measurements.
p = ρ g H. (7.45)
There is a linear relationship between the level and the hydrostatic pressure provided
that density is constant.
If the tank operates under pressure, the differential pressure transducer is re-
quired to measure the pressure exerted by the column of the liquid, as revealed by
the equation
Δp = PH − PL = Pgas + ρ g H − Pgas = ρ g H. (7.46)
Standard signal
Differential pressure
H
transducer
PH PL
The accuracy class of this level transducers category is that of the pressure transducer.
The time response of the level transducer is less than 2 seconds.
In order to overcome the direct contact between the pressure transducer and the
corrosive medium or the medium creating deposits (polymerization, crystallization)
the bubble tube level measuring principle may be used, as presented in Fig. 7.34.
Standard signal
FC
Air
PL PH
Air or neutral gas is injected into a tube immersed in the liquid so as to create a bub-
bling flow [3, 5]. The pressure created in the tube is proportional to the liquid level,
provided that liquid density is constant. The pressure is converted into a standard sig-
7 Transducers and measuring systems | 191
nal by a pressure transducer. It is important that the injected flow rate of the neutral
gas to be kept constant. This may be achieved by a flow rate control loop, such as by
the constant flow rate rotameter. For pressurized tanks the differential pressure trans-
ducer can be used in this case where the low pressure connection of the differential
transducer PL is connected to the pressure of the gas acting on the liquid surface.
Transmitter Transmitter
Electrical Metal Electrical Non-
conductor conductor insulator conductive
wall wall
Electrical
conducator
core Metal
C=f(ɛ) C=f(ɛ)
For a nonconductive liquid the two plates of the capacitor are: an immersed electrical
conductor and the conductive wall of the tank. In the case of a conductive liquid the
two plates are: an immersed electrical conductor coated with an electrical insulator
material and a metal rod (cable probe) also immersed in the liquid. In this second
case the tank should have nonconductive walls.
The dielectric coefficient of the air (and most of the gases) is about tens of times
smaller compared to that of the liquids. As a consequence, when the level in the tank
is small, the overall capacitance is small and when the level is high, the capacitance
is also high.
192 | Part II: Analysis of the feedback control system
If the liquid in the tank has high viscosity or produces buildup, the capacitive level
measurement may show a large time constant or even fail in performing the measure-
ment. The accuracy class of the capacitive level transducer is 0.5 %. The time response
is less than 1 s. Special compensation is needed when the liquid temperature and com-
position are changing.
T–R
Transmitter – Receiver Standard signal
T–R
Δt Δt h
HT
H
An ultrasonic receiver detects the reflected wave and the transmitter-receiver ensem-
ble measures the time interval between the moment of emitting the ultrasonic pulse
and the moment of receiving the echo pulse 2Δt. Correlated with the known ultra-
sound propagation velocity in the gas vW , the level of the liquid may be directly calcu-
lated by
H = HT − h = HT − vw Δt, (7.47)
where HT is the height position of the transmitter-receiver, measured from the bottom
of the tank.
This level measuring method is very appreciated when the direct contact between
the transducer and liquid or solid is undesirable (corrosion, buildup, high viscos-
ity) or the properties of the medium are changing (temperature, composition). Nev-
7 Transducers and measuring systems | 193
ertheless, it is necessary to have a good reflectivity of the surface (e.g. heavy agitation
or foam may disturb the measurement). Smart transducers can filter undesired false
echoes generated by tank interior obstacles, such as baffles, ladders and tank braces.
As the ultrasounds propagation speed depends on the temperature and the compo-
sition of the ultrasound propagation medium, special compensation should be pro-
vided if these measuring conditions change significantly. The use of ultrasound level
transducers is limited to medium temperature up to 150 ∘ C and to medium pressure
up to 5 bar. Its accuracy class is 0.5 % and time response usually less than 3 s.
The measuring principle of the radar level transducer is similar to the ultrasound
level transducer (i.e. measuring the flight time), except that the reflection of the fre-
quency modulated electromagnetic wave sent by the transmitter is reflected on the
surface of the liquid or solid in the tank. It is a noncontact measuring method that
can be used in difficult operating conditions, as the measurement is neither depend-
ing on the temperature, composition or buildup of the solid or liquid medium, nor on
the temperature, pressure, dust or composition of the gaseous propagation medium.
A single requirement is still needed and this implies that the dielectric constant of the
gas has to exceed a minimum limit (i.e. over 1.9). The measuring error is very small,
i.e. of about ± 1 mm. The time response is almost instantaneous.
Laser-based measurement of the level uses the same flight time principle. It is rec-
ommended for very accurate measurements, for long measuring ranges and for severe
conditions, such as melting furnaces. The method may be affected by the presence of
dust. The accuracy class of the measurement may reach 0.02 % and the time response
is almost instantaneous.
Detection
of a point level
Threshold detector Gamma
sources
Analog detector
Continuous
level measurement
Photo-electronic
transmitter
Standard
signal
side it. When radiated, the crystals produce light that is integrated and processed by
a photo-electronic transmitter and converted into a standard signal, proportional to
the level.
The radiometric level transducer operation is independent of the gas, liquid and
solid properties (temperature, pressure, viscosity, dust) inside the tank, but is biolog-
ically hazardous and consequently special attention should be paid to operation per-
sonnel protection and to tank inventory of biological nature. The measuring accuracy
class is 1 % and the time response is less than 2 seconds.
Standard
signal
Electronic
transmitter
Metal Electrical
base resistance
R1
R2
Transmitter 4–20 mA
Indicator
Wheatstone bridge
As the level of the liquid or solid in the tank changes, its weight changes and the strain
gauge resistance as well. A Wheatstone bridge and associated electronic circuits gen-
erate a standard signal proportional to the weight, and hence to the level.
Compensation with changes of the strain gauge temperature is necessary and spe-
cial mechanical measures must be applied to avoid undesired influences on the sys-
tem’s weight that may be introduced by the connections with other equipment, such
196 | Part II: Analysis of the feedback control system
as piping. This method has many applications for solids level and weight measure-
ments. Accuracy is the one specific to the strain gauges and the time response is less
than 5 s.
Density transducers
There are different methods for finding the composition based on density measure-
ments. They are typical for the case of binary mixtures of miscible components, such
as: ethanol-water, acid-water or salt-water. Even for a multiple component mixture,
in which one component is dominant, density may provide useful information on the
key component composition.
Continuous density measurement can be performed by measuring the hydrostatic
pressure exerted by a column of liquid, by measuring the displacement of a hydrom-
eter, by weighing and by measuring the oscillating frequency of a mechanical probe
immersed in the liquid.
A simple and noncontact method for hydrostatic density measurement is pre-
sented in Fig. 7.40.
Inert gas (e.g. nitrogen) is introduced with constant flow rate in each of the tubes 3,
so as to produce a bubbling flowing regime [3]. The tubes are immersed in two tanks:
one tank 1 containing the measuring liquid of unknown density ρmes and the other
one, tank 2, containing a reference liquid with known density ρref . Liquid levels in the
two tanks are the same, due to the same overflow weir position. The difference in the
hydrostatic pressure in the two tubes is
This differential pressure is linearly dependent on the density of the measuring liquid
and is converted into a standard signal by the differential pressure transducer. In order
7 Transducers and measuring systems | 197
Standard signal
FC
PH PL
+ p– FC Inert gas
3 3
1 2
H
ρref
ρmes
h
Measuring liquid density
ρmes
to change the zero point of the emerged differential pressure, for example when ρref >
ρmes , the high pressure tube can be moved down with an appropriate displacement h.
The influence of the liquid temperature on the density measurement is prevented
by the design of the instrument. This is due to the fact that the reference tank 2 is com-
pletely immersed in the measuring tank 1 and consequently, the temperature in both
tanks is the same. This means that density changes produced by temperature show up
in both tanks and are mutually compensated by the emerged pressure changes sub-
traction.
The dynamic behavior of the instrument depends on the time needed for liquid
homogenization in the measuring tank, which is the rate-controlling subsystem of the
measuring device. This is described by the equation
dρmes
Vmes = F(ρmes-in − ρmes ), (7.49)
dt
where Vmes is the measuring tank volume, while F and ρmes-in are the flow rate and
density entering the measuring tank.
According to equation (7.49) the time constant of the instrument is equal to the res-
idence time of the liquid in the measuring tank Tp = Vmes /F. The instrument accuracy
class is higher than 1.5 %.
The density measurement based on the displacement of a hydrometer floating in
the liquid has an inductive transmitter, like the one presented for the inductive pres-
sure transducer, or may have a differential transformer. The density measurement that
198 | Part II: Analysis of the feedback control system
relies on weighing has as measuring principle that takes the same approach as the
level transducer based on weighing, i.e. using the strain gauge. The density measure-
ment based on bringing a mechanical probe (bar, fork, tube) immersed in the liquid to
oscillation can be performed by changing the mechanical excitation frequency until
resonance is obtained. This principle was presented with the Coriolis flow meter.
Viscosity transducers
Viscosity measurement is important not only for the study of the fluid’s flowing behav-
ior but also as in indicator for the evolution of reactions, specifically in the polymers
industry. There are several methods for measuring cinematic viscosity η , such as the
measurement of the flow rate through a capillary or between two rotating cylinders
and measuring the free falling time of a solid body in the medium of unknown viscos-
ity. Most of the methods are specific to laboratory measuring conditions and do not
provide continuous viscosity measurement (e.g. U-tube, falling sphere, falling piston,
vibrational or bubble viscometers). For continuous measurement, rotational viscome-
ters, such as Searle, Couette, electromagnetically spinning sphere or rotameter type
viscometers are used [3]. Figure 7.41 presents the Searle viscometer.
7
7
6 5
5 φ
6
4
1
3 2
The liquid to be measured 2 is placed in a tank where the cylinder 3 is rotating. This
inner tank is immersed in a second tank in which the fluid 1 is used to keep constant
the temperature of the liquid 2. Cylinder 3 rotates with constant angular speed ω . Due
to the medium’s viscosity, cylinder 3 is dragged back in its rotation compared to the
driving shaft. Its movement, with the same ω , will show a phase difference φ . This
phase-shift is possible due to the elastic coupling provided by the spring 4.
7 Transducers and measuring systems | 199
NaO 2
H)
Ca(O 4
H
2 O
HS
HCl
MgCl2
180
CaCl2
160
NaCl
Electrical conductivity [μS/cm]
140 KCl
120 CaSO4
Na2SO4
100
KNO3
80
60
40
20
Fig. 7.42. Electrical conductiv-
0 ity of diluted solutions of elec-
0 10 20 30 40 50 60 70 80 trolytes at the temperature of
Concentration [mg/L] 18 ∘ C.
0.7
HF (–15°C)
0.6 HCI
Electrical conductivity [S/cm]
0.5
KOH
0.4
HNO3
0.3
H2SO4
NaOH
0.2
0.1
0
0 10 20 30 40 50 60 70 80 90 100
Concentration [%mass]
RT
R1
P1
S
I
R3 R2
Conductivity
measuring cell
The conductivity measuring cell consists in two parallel plate electrodes placed in the
flowing conductive solution. The cell resistance, depending on liquid conductivity, is
introduced in a branch of the electrical measuring bridge. The measuring bridge is
supplied with alternating current (1000 Hz) in order to avoid electrical polarization,
which, for direct current, consists in the accumulation of ions around the plates and
the formation of a barrier for the current passage.
The electrical conductivity depends on temperature, as shown in Fig. 7.45.
Relative electrical conductivity [σ/σ20]
0.5
0
0 10 20 30 40 50
Temperature° [C]
Transmitter
Standard
signal
Oscillator Detector
Primary
Secondary
coil
coil
Conductive
Solution
pH transducers
The measurement of the acidity or basicity of a reaction medium (e.g. of wastewaters)
is given by the concentration of the hydrogen ions H+ or of hydroxyl ions OH− [3]. The
product of the two ion concentrations is the ionization constant. For the case of water
this product is
CH+ COH− = KH2 O = 10−14 . (7.52)
At the neutral point, where the concentration of the hydrogen ions H+ or of the hy-
droxyl ions OH− is equal, their concentration is:
It may be stated that, depending on the acidity and basicity, the pH of aqueous solu-
tions takes the following typical values: pH = 1 for strong acid solution (e.g. N/10 HCl),
pH = 2 to pH = 4 for weak acid solution (e.g. N/102 to N/104 HCl), pH = 7 for neutral
solution (e.g. distilled water), pH = 10 to pH = 12 for diluted basic solution (e.g. N/104
to N/102 NaOH) and pH = 14 for strong basic solution (e.g. N/1 NaOH).
The pH measurement is based on the formation of a galvanic cell between a mea-
surement electrode, ME, and a reference electrode, RE. The electromotive force of the
galvanic cell depends on the pH of the solution to be measured. Both the measure-
ment and the reference electrode may consist of a metal wire immersed in a solution
of chloride ions. The reference electrode can use a potassium chloride solution. The
measurement electrode uses a pH 7 chloride buffer. In the measurement electrode, a
special glass produces an electrical differential potential on its internal and external
faces. This is due to the different concentration of hydronium ions on the faces of the
glass membrane, produced by the migration of the protons (hydrogen ions).
The measurement electrode (galvanic half-cell) may have different types: hydro-
gen, quinhydrone, metal-metallic oxide, glass, etc. The most commonly used one is
the glass electrode, presented in Fig. 7.47.
The glass electrode consists of the glass membrane 1, the buffer solution 2, the
platinum electrode 3 and an isolated connection wire 4.
As reference electrode, the calomel electrode is the most common. It is presented
in Fig. 7.48.
204 | Part II: Analysis of the feedback control system
4
3
2
1
where the asymmetry voltage uas is the voltage drop on the membrane of the glass
electrode and uN is the Nernst potential term, defined by
2.303 R T ∘
uN = , (7.59)
F
where R is the universal gas constant, T ∘ is the absolute temperature, and F is the
Faraday’s constant.
Due to the fact that the e.m.f. of the galvanic cell depends both on pH and tem-
perature, as shown in Fig. 7.49, the industrial pH meter is a voltmeter provided with
the compensation of the e.m.f. change with the temperature change. The industrial
pH meter is schematically represented in Fig. 7.50. It provides the compensation of the
pH changes with temperature.
u
[mV]
400
300
200
Δu
100
0
2 4 6 8 10 12 14 pH
–100
80ᵒC
–200
40ᵒC
–300 20ᵒC
0ᵒC
–400
Fig. 7.49. pH dependence on temperature.
The input voltage of the electronic amplifier ui is a summation between the e.m.f. volt-
age of the galvanic cell ue and the temperature compensation voltage uBA :
ui = ue − uBA . (7.60)
The temperature compensation voltage uBA is obtained from the diagonal of the
Wheatstone bridge which has an RTD arm of resistance RT . When the temperature
of the medium changes from the reference temperature of 20 ∘ C, the e.m.f. of the
galvanic cell changes:
ue = ue + Δu. (7.61)
20 ∘ C
206 | Part II: Analysis of the feedback control system
uBA
Electronic
amplifier
Standard
ui
signal
A B
ME RE
RT
ue
The change of the e.m.f. voltage produced by the temperature change Δu is compen-
sated by the uBA voltage, uBA = Δu. The Wheatstone bridge is designed in such a way
that at the reference temperature of 20 ∘ C the compensation voltage to be uBA = 0.
Due to the glass membrane of the measuring electrode, the ME-RE galvanic cell
has a high internal electrical resistance, Rint = 0.1–1 MΩ. As presented in Fig. 7.51,
the input resistance of the electronic amplifier Ri must be considerably higher than
Rint (Ri > 100 MΩ) in order to provide an accurate measurement:
1
ui = ue . (7.62)
R
1 + int
Ri
Rint
Ri Ui
Ue
In order to prevent building material from being deposited, the electrodes’ con-
struction provides different self-cleaning methods, such as: ultrasonic, brush, water
and chemical cleaners. New electrode designs include the two (double junction) or all
three electrodes in a single case and the microprocessor-based transmitter makes the
required compensations (temperature, aging, operating conditions).
The pH measurement may be performed with absolute errors higher than
± 0.02 pH. The time constant of the pH meter is depending on the electrodes’ particular
geometry and can reach the order of seconds.
Electronic transmitter
Standard
signal
+ –
Ag Pb
at the cathode.
208 | Part II: Analysis of the feedback control system
where ε is the notation for the potential developed at the electrodes, a is the ion ac-
tivity, F is the Faraday’s constant, and z is the number of electrons transferred in the
balance equation.
The galvanic cell is connected to an electronic transmitter that transforms the volt-
age in a standard current signal. Using the same measuring approach, the oxygen con-
centration in a gaseous mixture can be determined if the gas is bubbled in an alkaline
solution of the instrument.
By means of electrochemical methods it is possible to determine the composition
of species or substances that participate in redox reactions (e.g. Na in amalgam for the
NaCl electrolysis process or hydrazine for hydrazine production).
The polarographic cell has two electrodes made of gold, Au, for the cathode, and
of silver, Ag, for the anode [5]. The DO cell is presented in Fig. 7.53.
Electronic transmitter
Standard
signal
RTD
Anode
Cathode
Electrolyte
Selective
membrane Fig. 7.53. Polarographic dissolved
oxygen transducer.
at the anode.
7 Transducers and measuring systems | 209
Oxygen diffuses through the membrane made of Teflon and it is reduced at the
polarized cathode. The electrical current generated depends on the DO concentra-
tion. Compensation with temperature changes is provided by an immersed RTD. The
response time is about 1 minute or more. The instrument’s accuracy class is higher
than 3 %.
Gas analyzers
The most common gas analyzing methods and their measurement domains are pre-
sented in Tab. 7.1.
Table 7.1. Measuring principles, measuring domains and measured components of typical gas analy-
sers.
Paramagnetism 0–5 % O2
0–100 % H2 O
0–5 ppm H2 +CO
0–1000 ppm CO2
Thermal conductivity 0–5 % O2 , O3 , CH4 , SO2 , H2 S, Cl2 ,
0–100 % H2 O, H2 , Cl, NH3 , NO2 , CO, CO2 , CO + H2
Electric conductivity Specific domain for each gas O2 , CH4 , SO2 , H2 S, H2 , Cl2 , NH3 , NO2 , CO,
CO2 , CO + H2
Infrared absorption Specific domain for each gas O2 , O3 , CH4 , SO2 , Cl2 , H2 O, H2 , Cl, NH3 ,
NO2 , CO, CO2 , long chain hydrocarbons
UV absorption Specific domain for each gas Cl2 in H2 , benzene in alcohol, phenol in
steam
Gas chromatography Specific domain for each gas O2 , SO2 , H2 S, H2 , Cl2 , NH3 , NO2 , CO, CO +
H2
Chemical absorption 0–0.013 % O2 , SO2 , H2 S, H2 O, CO2
Catalytic combustion CO, CO + H2
CH4 CO2
CO CH4
Absorption ratio [%] C2H4 C2H4 C2H4
100
CO2
0 5 10 15
λ [μm]
The magnitude of the IR radiation that suffered absorption by one of the gas mixture
components is described by the Lambert–Beer law:
+ –
L2 L1
Mo
F2 F1
2 1
I2 I1
3
M 4
C d
Transmitter
Standard
~ signal
measured gas mixture. The relationship between the condenser electric capacitance C
and the concentration of C1 gas component may be obtained from the following equa-
tions:
p3 SM − p4 SM − Km x = 0 (7.71)
x = dmax − d (7.72)
ε Sc ε Sc ε Sc
C= = = , (7.73)
d dmax − x dmax − (p3 −p4 )SM
K m
but from the ideal gas law the pressure is related to the temperature
p V = n R T∘ 3 3 3 3 (7.74)
p4 V4 = n4 R T4∘ , (7.75)
index); Km is the elastic constant of the metallic membrane having the area SM ; Sc is
the area of the condenser plates; ε is the permittivity of the gas; and d is the distance
between the condenser plates.
From the expression of the gas kinetic energy in chambers 3 and 4, the tempera-
tures may be obtained as
2E0
T3∘ = (7.77)
3k
and
2E0 e−α CC1 l
T4∘ = , (7.78)
3k
where E0 is the energy of the light emitted by the lamp and k is the Boltzmann constant.
Equation (7.76) becomes
ε Sc
C= . (7.79)
2E0 R SM n3 n4 −α C1 l
dmax − ( − e )
3k Km V3 V4
The concentration-dependent capacitance of the condenser is a branch of the elec-
trical bridge supplied by alternative voltage. The voltage obtained from the bridge is
processed by an electronic transmitter and the concentration dependent standard cur-
rent signal is generated.
For the case when there are two or more gaseous components that absorb the IR
radiation in the gas mixture, but only one is of interest, the chambers of the filters
will be filled with the unmeaning gas components. In this way, the component of the
emitted IR radiation having the wavelength corresponding to the parasite gases are
removed by absorption in the filters.
The dynamic behavior of the IR analyzer is characterized by a time constant less
than 3 s due to the small volumes of the chambers. The accuracy class of the instru-
ment is 1.5 %.
𝜕T ∘
Q = −λ A t, (7.80)
𝜕x
where Q is the quantity of heat passing through the surface A in a defined period of
time t and due to a spatial gradient of the temperature 𝜕T ∘ /𝜕x, with the heat flux being
normal to the surface [3].
Different gases have different thermal conductivities, as presented in Tab. 7.2.
The thermal conductivity of two gas mixtures depends on the molar fraction of
the gas components, x1 and x2 , according to the additive relationship:
λ = λ 1 x1 + λ 2 x2 . (7.81)
7 Transducers and measuring systems | 213
This is only valid for particular gas mixtures, such as air-CO or air-CH4 . Other mix-
tures, such as air-NH3 , CO–NH3 , or air-steam, show nonlinear dependence between
the thermal conductivity and the fraction of the components, with thermal conductiv-
ity maxima. For these cases, this measuring method based on the dependence of the
components’ concentration on thermal conductivity is not applicable without special
nonlinearity compensation. Nevertheless, this measuring method is pertinent when,
in a mixture of two gases, one component has a high thermal conductivity (e.g. H2 )
and the other one has a low thermal conductivity (e.g. N2 ), as presented in Fig. 7.56.
4
λ 104 [cal/(cm s deg)]
0
0 20 40 60 80 100 Fig. 7.56. Dependence of the N2 –H2 gas mixture
H2 in N2 at 0°C [%] thermal conductivity on the H2 fraction.
MC RC
RMC RRC
R1 R2
Fig. 7.57. Wheatstone bridge for measuring the composition of a gas mixture, based on thermal
conductivity.
R2 RMC and the voltage u = 0. The output voltage of the Wheatstone bridge changes
u ≠ 0 when a different gas mixture or the same gas mixture with different mole frac-
tion passes through the measuring chamber. This is due to the fact that the RMC and
RRC resistances are unequally cooled. The output voltage is proportional to the thermal
conductivity change and thus, the voltage is proportional to the gas composition.
This analyzer may be successfully used for measuring gas mixtures such as: N2 –
H2 , H2 -hydrocarbons but also for gas mixtures containing SO2 , He, NH3 , and Cl2 .
The response time is of about 5 s, due to the small volume of the measuring cell.
The accuracy class is 2.5 %.
μ = μ0 (1 + χ ). (7.82)
χ T ∘ = C, (7.83)
ρ0 T0∘ 1
χ= pC ∘ 2 . (7.84)
p0 (T )
Magnetic susceptibility of a mixture of gases is the weighted sum of the components’
magnetic susceptibility.
As oxygen is the most common paramagnetic gas, the oxygen analyzer based on
paramagnetism is presented in Fig. 7.58.
R1 R2
A N B
Z
S
Transmitter
Standard
signal
Its measuring principle relies on the attraction of oxygen in an external magnetic field,
followed by its release due to heating. As a result of the generated “magnetic wind”,
the electrical resistances in a Wheatstone bridge will be changed [3].
The gas to be analyzed enters a toroidal tube. A glass tube connects the two path-
ways of the gas in the toroidal tube. A permanent magnet (N–S) is asymmetrically
216 | Part II: Analysis of the feedback control system
mounted on this glass connecting tube and its magnetic field attracts the oxygen in-
side it. An oxygen “magnetic wind” is generated along the z direction. Two electrical
resistances, R1 and R2 , are mounted on the same glass tube. They are supplied with
electrical current. Resistance R1 heats the oxygen attracted in the permanent magnet
zone. Once heated, the oxygen loses its paramagnetic properties and it is released from
the permanent magnet zone. As a result, the “magnetic wind” is generated and heat
is transported in the zone of the resistance R2 , heating it. The resistance R1 is cooled
and resistance R2 is heated. They unbalance the Wheatstone bridge formed with R3
and R4 resistances and produce an electrical voltage transformed into a standard sig-
nal by the transmitter. The generated voltage is proportional to the oxygen content in
the measured gas.
The dynamic behavior of the paramagnetic gas analyzer is characterized by the
time constant is of about 1 second. The accuracy class is 3 %.
Reference gas
O2 Transmitter
+
Zirconia ceramic O2- Standard
E
O2- signal
−
O2
Measured gas
At the high oxygen concentration zone of the cell the electrochemical reaction is
RT ∘ P
E= ln REF , (7.87)
nF PMES
where PREF and PMES are the partial pressure of oxygen on the reference gas side of the
zirconia ceramic electrolyte and, respectively, on the measured gas side.
Zirconia analyzers may be used for measurement of oxygen concentration over
the range 0.01 ppm to 100 % in gases or gas mixtures. It is important to note that the
measured gas must not contain combustible gases, such as: CO, H2 , hydrocarbons
(CH4 ) due to the high temperature of the oven. Contact with the halogens, halogenated
hydrocarbons, sulfur and lead containing compounds is also restricted, because they
may poison the cell.
The time response is short (less than 2 s) and is of the instrument accuracy
class 1.5 %.
Water
tank
T °, pp Twb° , ps
Wet wick
Two thermometers are placed in the stream of the measurement gas mixture [3]. The
gas mixture flowing velocity should exceed a minimum velocity (e.g. higher than
2 m/s). The wet-bulb is continuously wetted by a wick supplied with distilled wa-
7 Transducers and measuring systems | 219
ter which causes a temperature drop due to evaporation. The dry-bulb and wet-bulb
temperature difference T ∘ –Twb
∘ , the dry-bulb temperature and the relative humidity
relationship is presented in the plots of Fig. 7.61.
50
0 5 10
45
40
20
Psychrometric difference [°C]
]
35
[%
ity
id
30 30
m
hu
e
tiv
25 40
la
Re
20 50
15
60
10 70
5 90
0
0 10 20 30 40 50 60 70 80 90 100
Dry-bulb thermometer [°C]
As presented in Fig. 7.61, a curve describing the dry-bulb temperature and psychromet-
ric difference relationship corresponds to each given air relative humidity. For practi-
cal calculations, the Sprung formula may be used for computing the partial pressure
of water from the dry-bulb and wet-bulb temperature difference:
p
pp = pwb − 0.5 (T ∘ − Twb
∘ ), (7.89)
760
where the 0.5 coefficient is the Assmann psychrometer constant, pwb is the saturation
∘ and p is the air pressure.
partial pressure at the wet-bulb temperature Twb
The relative humidity becomes
p
pwb − 0.5 760 (T ∘ − Twb
∘ )
φ = . (7.90)
ps
Replacing the thermometers with RTDs, for the measurement of the dry-bulb and wet-
bulb temperature, the psychrometric transducer is obtained. Its schematic represen-
tation is shown in Fig. 7.62.
220 | Part II: Analysis of the feedback control system
Transmitter
Standard
signal
Water
tank
RTD RTD
Wet wick
The RTD’s temperature measurements are sent to the transmitter. The latter computes
the temperature difference and converts it, according to the equation (7.90), into a
standard signal proportional to the relative humidity.
The time constant of the instrument is up to 10 s and its accuracy class is 3 %.
The chilled surface humidity measuring method (dew point method) is based on
determining the condensation temperature of water vapors from the gaseous mixture.
This is the temperature of saturation that corresponds to the saturation partial pres-
sure of the water vapors. Condensation appears on a thermo-electrically cooled metal-
lic surface.
The principle of the chilled mirror humidity measuring method is presented in
Fig. 7.63.
Thermo–electrical
cooling
Process chromatographs
The operation principle of gas chromatographs consists in the selective retention of
the components from a gaseous mixture on the stationary (solid) phase [3]. The reten-
tion depends on the molecular mass of the components, favoring the retention of the
components with smaller molecular mass. The successive separation is accomplished
by the support of a carrying gas that entrains the retained gas components, but due
to its high molecular mass it is not retained on the stationary phase. Desorption of the
retained gas components is performed in the increasing order of the retention time.
The output gas from the column enters a gas analyzer (IR, thermal conductivity, etc.)
and the result is presented in a chromatogram, of the generic form shown in Fig. 7.64.
Output signal
D
A
C
B
Fig. 7.64. Chromatogram showing each of
Injection the A, B, C, and D components removed by
time trA time desorption at fixed moments of time.
The time elapsed from the injection of the sample and the appearance of the i-th peak
maximum is denoted as the retention time of the component i (e.g. trA is the retention
time for component A). The retention time is a qualitative indication of the i-th com-
ponent’s presence in the sample. If the operation parameters (such as temperature,
flow rate of the injected gas mixture and carrying gas) do not change, a certain com-
ponent will leave the chromatographic column after the same period of time during
222 | Part II: Analysis of the feedback control system
the measuring cycle. These moments of time allow the identification of the compo-
nents. By the integration of the peak it is possible to obtain quantitative information
about the component, as the concentration of the component is proportional to the
area of the peak. Numerical integration is performed by the process chromatographs.
The components’ concentration of the sample may be computed by
A i fi
Ci = n
, (7.91)
∑ A i fi
i=1
where Ai is the area of component i and fi is the detector specific calibration coefficient
of correction.
The computation of the correction coefficients is carried out following two steps.
First, exact quantities of each of the gas mixture components are injected into the
column and the areas of the obtained peaks S1 , S2 , . . . , Sn are determined. Second, one
of the components is selected as reference (e.g. the n-th component) and the correction
coefficients are computed by
Si
fi = , i = 1, . . . , n. (7.92)
Sn
These correction coefficients account for the different sensitivities of the detector with
respect to each of the components.
The simplified representation of the chromatograph is shown in Fig. 7.65.
Flux 1
Flux 2
5 6 7
Flux 3 3 8
4
1 2
flux is circulated to prepare a fresh sample. The injection unit 5 sends the sample to the
system of the chromatographic columns. Subsequently, it introduces the carrying gas
for the desorption step. The distribution of the sample-carrying gas mixture towards
one of the chromatographic columns is performed by the switching unit 6. The role
of the switching unit 6 is to reduce the time of the chromatographic measurement by
overlapping part of the operations. While in one of the chromatographic columns the
components are removed by desorption, in another column the sample is adsorbed
and the third one is cleaned for receiving the next sample. The analysis is effectively
performed in the detector unit 7 and the computation of each component concentra-
tion is accomplished by integration in the computation unit 8.
The sequence of the operations developed by the control unit is: sampling, con-
ditioning, switching the injection unit on the flux to be analyzed, adsorbing the com-
ponents on the column, switching the injection unit on the carrying gas, removing
by desorption the components from one column, analyzing the flux, computing the
concentration of components and cleaning the column. In the meantime, switching
between the entering fluxes and between the chromatographic columns are carried on
in order to prepare the measurement of the next flux.
The signal obtained from the integrator is stored in memory units until the next
measuring cycle (sample and hold action) [10]. From the dynamic point of view, the
chromatograph is a pure time delay system (time delay spanning from minutes to tens
of minutes).
High costs and complexity of the chromatograph design and operation impede
their large scale application in industry [11].
Nevertheless, process control and process management might also benefit from
the advent and new developments of analytical measurements [4]. Some of these sys-
tems cross over from the laboratory environment to online process employment. Their
sophisticated design, complexity of operation, qualified maintenance and large cost
may be surpassed by the valuable added information aimed to optimize process de-
sign, operation and control.
The measuring principles of these instruments usually rely on electromagnetic ra-
diation or ultrasonic wave emission which is reflected, refracted, absorbed, scattered,
produces ionization or induces electromagnetic responses from the sample. They use
the gamma ray, x-ray, ultraviolet, visible, near-infrared, mid-infrared, far-infrared,
microwave, sound and ultrasound wave domains to investigate the presence and
concentration of different compounds or molecular species in the solid, liquid and
gas sample. Some of these analyzers are: IR Fourier Transform based spectrometers,
quadrupole mass spectrometer, ion cyclotrone resonance mass analyzer, ultraviolet
and visible spectrometers, Raman scattering emission spectrophotometers, nuclear
magnetic resonance spectrometers, X-ray fluorescence spectrometers, microwave
spectrometers, neutron activation analyzers and atomic emission spectrometers.
224 | Part II: Analysis of the feedback control system
7.9 Problems
(1) What is the absolute error of a thermocouple temperature measuring system, hav-
ing the measuring domain ranging from −20 ∘ C to 180 ∘ C if the true measured temper-
ature is of 80 ∘ C and its accuracy class of 1.5 % is defined on the basis of the maximum
permissible related error? What is the absolute error of the same temperature mea-
surement system if its accuracy class of 1.5 % is defined on the basis of the maximum
permissible relative error?
(2) The relative error of a magnetic flow meter, defined by equation (7.2), is 2.5 %. What
would the relative error of the same flow meter be when computed by the equation
xm − xt
er = 100. (7.93)
xm
(3) Both the volume and the density measurement meters have an accuracy class of
2 %, defined on the basis of the maximum permissible relative error. What is the rela-
tive error for inferring the mass, computed by multiplication between the volume and
the density measured values?
(4) A pressure transducer having the measuring domain between 0 and 50 bar and
the accuracy class of 1 % (based on the maximum permissible related error) is used
for measuring a pressure of p = 2 bar.
(a) From the practical point of view, does the measurement meet the accuracy re-
quirements?
(b) What solution should be proposed for obtaining a measurement with an absolute
error situated in the interval of ± 5 % of the pressure p to be measured?
(5) Consider a volumetric flow rate measuring system based on the orifice plate, dif-
ferential pressure transducer and square root extractor, presented in Fig. 7.22. For the
flow rate spanning from 0 to 10 m3 /h, the differential pressure domain of the orifice
plate ranges from 0 to 3200 mm H2 O. The relationship between the flow rate and the
differential pressure is F = 0.18 (Δp)1/2 . The root extractor equation is
i = 2 + √8 √i − 2. (7.94)
Compute the static gain of the flow rate measuring system (orifice plate, differential
pressure transducer and square root extractor) for the particular flow rate of F ∗ =
5 m3 /h.
(7) A rotameter is calibrated to measure water flow rates between 60 l/h and 600 l/h.
The diameter of the rotameter conic tube at the inlet of the liquid is of Dn = 20 mm
and the density of the float is of ρf = 800 kg/m3 . How does the scale of the rotameter
change when it is used for measuring the flow rates of sulfuric acid with concentration
of C = 530 g/l? The sulfuric acid concentration-density is presented in Tab. 7.3. It is
assumed that both liquids have the same viscosity.
(8) Consider the water flow rate measurement in a pipe with the interior diameter of
Dp = 60 mm, using the orifice plate. The flow rates to be measured range from 0 m3 /h
to 3.6 m3 /h. The available differential pressure transmitter has the measuring domain
ranging from 0 mmH2 O to 2000 mmH2 O. Design the diameter of the orifice plate so as
to be properly used for the given domains of the flow rate and the transmitter differ-
ential pressure. The pressure drop coefficients are given in Table 7.4.
(D0 /Dp )2 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
ξ 7000 1670 730 400 245 165 117 96 65.6 51.5
(9) Consider a level transducer based on float with the following characteristics:
cross-sectional area of the float A = 18 cm2 , fluid density ρ = 1000 kg/m3 , spring’s
constant Ks = 12.6 N/m and the measuring domain ranging from 0.2 m to 1 m. Com-
pute the static gain of the transducer and make a graphic representation of its steady
state characteristic. Compute also the static gain of the level transducer coupled with
a transmitter having the following parameters: float displacement range of 100 mm
and output signal of the transmitter ranging from 4 mA to 20 mA.
226 | Part II: Analysis of the feedback control system
C [%] 0 10 20 30 40 50 60 70 80 90 100
ρ [kg/m3 ] 0.99 0.982 0.968 0.954 0.935 0.914 0.891 0.868 0.843 0.818 0.789
(11) Consider a pH meter using the reference calomel electrode and the glass measure-
ment electrode for measuring pH between 2 pH and 12 pH and working at the tem-
perature of 20 ∘ C. The calomel electrode becomes polarized at currents higher than
i = 0.5 nA. The internal electrical resistance of the glass electrode is Rint-glass = 100 MΩ
and of the calomel electrode is Rint-cal = 100 KΩ. Compute the necessary input resis-
tance of the electronic amplifier. What is the value of this input resistance such that
the error of the measurement is less than 1 %?
References
[1] Millea, A., Cartea metrologului Metrologie generală, EdituraTehnică, Bucureşti, 1985.
[2] http://www.french-metrology.com/en/more/glossary.asp.
[3] Agachi, S., Automatizarea Proceselor Chimice, Editura Casa Cărţii de Ştiinţă, Cluj-Napoca,
1994.
[4] McMillan, G. K., (editor-in-chief), Considine, D. M., (late editor-in-chief), Process/Industrial
Instruments and Controls Handbook, 5th Edition, McGraw-Hill, 1999.
[5] Bsata, A., Instrumentation et Automatisation dans le Controle des Procedes, Deuxieme edition,
Les Editions Le Griffon d’argile, Quebec, 1994.
[6] http://www.systechillinois.com/en/zirconia-oxygen-analysis_51.html.
[7] http://www.toray-eng.com/measuring/tec/zirconia.html.
[8] Agachi, S., Cristea, M. V., Lucrări Practice de Automatizarea Proceselor Chimice, Tipografia
Univ., Cluj-Napoca, 1996.
[9] Cristea, M. V., Agachi, S. P. Elemente de Teoria Sistemelor, EdituraRisoprint, Cluj-Napoca, 2002.
[10] Stephanopoulos, G., Chemical Process Control. An Introduction to Theory and Practice, Engle-
wood Cliffs, New-Jersey 07632, Prentice Hall, 1984.
[11] Marinoiu, V., Paraschiv, N., Automatizarea Proceselor Chimice, Vol. I, Vol. II, Editura Tehnică,
Bucureşti, 1992.
8 Controllers
8.1 Classification of controllers
The controller is the element of the control system (Fig. 5.3) which receives the signal
from the transducer, compares it with the desired value for the controlled parame-
ter (setpoint), calculates the error e and elaborates a control signal c with the goal of
cancelling (e = 0) or, at least decreasing the error.
A classification of controllers can be made from different points of view [1]:
– depending on the way the control action is calculated and emitted: continuous or
discrete controllers (continuously or discretely at certain moments);
– depending on the computing algorithm of the controller output (c = f (e)): P
(Proportional), PI (Proportional-Integral), PID (Proportional-Integral-Derivative),
other algorithms;
– depending on the specialization of the controller: specialized on different pro-
cesses or universally applied controllers to all types of processes;
– depending on the type of auxiliary energy used for functioning: electric, pneu-
matic (indirect action) and without auxiliary energy (direct action) controllers.
According to the first type of classification, if the control function of the controller f (e)
is continuous, the controller is a continuous-action controller (Fig. 8.1).
Actual
Variable
value
Setpoint
100
final control
% signal to
element
If the control action is discontinuous (meaning that the signal quantization occurs in
the controller), then the controller is a discrete-action one (Fig. 8.2). The discretiza-
tion is of many types, producing different types of discrete controllers: pulse con-
trollers with time quantization, relay controllers with level quantization and digital
controllers with time and level quantization.
Where the process allows (the controlled variable can float between two limits
without any restriction), two-position or three-position controllers can be used. This
228 | Part II: Analysis of the feedback control system
Actual
Variable
value Setpoint
100
final control
% signal to
element
time
(a)
Actual
Variable
value
Setpoint
100
final control
% signal to
element
0
Fig. 8.2. Two types of discrete actions
of the controller: (a) on-off, two-position
time
(b) controller; (b) digital controller.
Fe
Magnet
Xbot Xtop Xmax X
Xdg
SAMSON http://www.docentes.unal.edu.co/
sorregoo/docs/sistemas%20de%20control.pdf)
time [2].
is the case with domestic applications where the thermostats of the central heating,
of the flat iron or of the refrigerator are usually on-off controllers (Figs. 8.2a and 8.3).
8 Controllers | 229
If the process is stricter, a digital controller is usually used and the sampling time
(Ts ) is as small as possible to assure an accurate control (Fig. 8.2b).
The second classification depending on the control algorithm is the mostly used
one, the P, PI, PID algorithm controllers being used in about 80 % of the control loops
in industry. One can mention at this point the advanced controllers (adaptive, optimal,
predictive controllers etc.) which have other functions for the control algorithm than
P, PI, PID. These controllers are more sophisticated and more expensive, being used
in the control of the processes with weak controllability.
The proportional (P) controller has the control action expressed by equation (8.1).
c = c0 + Kc e, (8.1)
where c is is the control signal addressed to the actuator, c0 is the value of the control
action at steady state which assures controlled variable at setpoint value (e = 0), Kc is
gain factor, e is error, and Kc e is the proportional component of the signal.
The proportional integral (PI) controller has the control action expressed by equa-
tion (8.2):
t
1
c = c0 + Kc (e + ∫ e (τ ) dτ ), (8.2)
Ti
0
t
where Ti is the integral time constant and T1 ∫0 e(τ )dτ is the integral component of the
i
control signal.
The proportional integral derivative (PID) controller has the control action ex-
pressed by equation (8.3):
t
1 de (t)
c = c0 + Kc (e + ∫ e (τ ) dτ + Td ), (8.3)
Ti dt
0
Fig. 8.4. Universal controller; (a) pneumatic controller (FEPA Barlad, Romania); (b) transistor based
electronic controller (FEA Bucharest, Romania); (c) microprocessor based electronic controller (ABB
Switzerland, through the courtesy of ABB).
The specialized controllers have the actuator embedded in the controller (e.g. the gas
pressure controller on the methane gas pipelines, or the water-level controller in the
reservoir of the flush toilet, see Fig. 8.5).
Load
Fig. 8.5. The level controller in the flush toilet
reservoir.
From the point of view of the energy used, there are the so called controllers using
auxiliary energy (electrical or pneumatic) or those using the energy of the controlled
process (temperature, pressure, level etc.). The level controller in Fig. 8.5 is an example
of a controller using the energy of the controlled process: accumulation of mass in a
reservoir.
8 Controllers | 231
In the following sequences, we will discuss in more detail the behavior of the “classical
controllers”, P, PI, PID, and only at introductory level, the advanced controllers such
as adaptive, optimal, predictive controllers.
The equation describing the P algorithm is (8.1). The P component shows that the con-
troller takes a proportional action with the dimension of the error. The result is a quick
increase or decrease of c, from the value of c0 , depending on the sign of the error and
magnitude of Kc , the proportional controller gain. The response of the controller at step
input signal is given in Fig. 8.6.
e (%)
20
10
0
5 10 15 20 t (s) Fig. 8.6. P controller response at a step input.
The result of such a behavior on the heater (Fig. 5.2) is the abrupt opening or closing
of the control valve up to one intermediate position, changing the agent flow and thus
influencing the outflow temperature. The magnitude of the control action change (Δc)
which has a direct relationship with the opening/closing of the valve depends on the
value of Kc .
Kc is the gain of the proportional controller and can be calculated as
Δc Δc
Kc = or Kc = . (8.4)
Δe Δxr
c (%)
100 Kc=2
75
c0
Kc=0.5
25
The relationship between the Proportional Band and the controller gain is equation
(8.5)
100
PB = . (8.5)
Kc
An industrial controller has a range of the PB between 0.5 % and 500 % allowing the
choice of an appropriate controller gain for a certain process controlled.
How do we choose the controller gain?
The tuning of the controller’s parameters is a special subject to be treated in a sep-
arate book. This section only gives an orientation, a rule of the thumb, about choosing
the controller gain relative to the process gain factor.
pH
(a)
Equivalence
point
(b)
SA – SB
WA – WB
Fig. 8.8. Two neutralization processes at which
the pH is controlled: (a) strong acid-strong
Volume of base (%) base; (b) weak acid-weak base.
where the process is very sensitive and is characterized by a high Kpr , the controller
has to have a small Kc and vice versa.
The transfer and frequency functions of the P controller are those of the P element
(equations (4.2) and (4.3)); the Bode diagrams are the same as in Fig. 4.2.
Example 8.2. Let us discuss the behavior of a pressure control system (Fig. 8.9), which
controls the pressure produced by an air-blower in a pipeline.
c Xr i
P
po pi
Δp1 Δpv P
In the normal steady state condition, the values of the pressure are
The steady state characteristics of the elements in the control system are
234 | Part II: Analysis of the feedback control system
Transducer:
Measurement range of the pressure transducer: 0 ⋅ ⋅ ⋅ 200 mmH2 O
Output range of the transducer: 2 ⋅ ⋅ ⋅ 10 mA
Measuring 100 mmH2 O, the output signal xr = 6 mA
The steady state characteristic is given in Fig. 8.10.
Xr (mA)
10
Controller:
Input range of the controller: 2 ⋅ ⋅ ⋅ 10 mA (0 ⋅ ⋅ ⋅ 100 %)
Output range of the controller: 2 ⋅ ⋅ ⋅ 10 mA (0 ⋅ ⋅ ⋅ 100 %)
PB = 100 % (Kc = 1)
c0 = 6 mA
Setpoint value: 6 mA (corresponding to p = 100 mmH2 O to be maintained)
At p = 100 mmH2 O, xr = xr0 = 6 mA, e = 0, and c = c0 = 6 mA
The steady state characteristic of the controller is given in Fig. 8.11.
c (mA)
10
50 50
0 0
2 6 10 c (mA) 0 50 100 h (%)
Fig. 8.12. Steady state characteristic of the control valve in the example
(h = h(xc )) and (Δpv = Δpv (h)).
The control system aims to keep 100 mmH2 O in the pipeline in the presence of distur-
bances. Let us analyze the behavior of the system.
Suppose a disturbance of +20mmH2 O at the tap after the blower, meaning that
Δp1 = 70 mmH2 O. This can be caused by the manipulation of the tap during an ordi-
nary maintenance operation.
The consequences are:
pi = 130 mmH2 O, the valve does not react yet and Δpv = 50 mmH2 O, the pressure
in the pipeline is p = 80 mmH2 O, giving a deviation of −20 mmH2 O (−10 % of the
measurement range of the transducer).
Δxr = −10 % = −0.8 mA; xr = 6 mA–0.8 mA = 5.2 mA
Kc =1; Δc = −10 % = −0.8 mA; c = 6 mA–0.8 mA = 5.2 mA
Δh = −10 %; h = 50 %–10 % = 40 %
Δpv = 40 mmH2 O.
The result after the first intervention of the controller is thus p = 130 mmH2 O–
40 mmH2 O = 90 mmH2 O, an increase of the pressure with 10 mmH2 O, or a relative
increase from the former situation of +5 %. The control system continues to act and to
correct the error step by step. The functioning of the control system is synthesized in
Tab. 8.1 and at different controller gain factors.
The dynamic behavior of the control system is illustrated in Fig. 8.13.
236 | Part II: Analysis of the feedback control system
Table 8.1. Functioning of the pressure control system in time at different controller gain factors.
p (mmH2O)
100
K C =2
e st2
e st1
90
K C= 1
K C= 0 . 5
80
0 2 4 6 8 10 time (s)
Fig. 8.13. Dynamic behavior of the pressure control system in Fig. 8.9.
8 Controllers | 237
One can observe that by increasing the controller gain, the steady state error de-
creases, but at a certain point the system begins to oscillate.
The steady state error can be calculated with the final value theorem (Tab. 2.1)
which is enounced in the following sentence:
If the time function f (t) and its first derivative admit Laplace transform and the
function sF(s) is holomorph on the imaginary axis and in the right half plan s, then
For the pressure control system formerly discussed, the block diagram is given in
Fig. 8.14.
Pi + P(S)
KprD
+
Kv – KT
Kprm KC
TvS+1 TTS+1
+
r
KT 8 mA
HT (s) = ;K = = 0.04 ; TT = 1 s
TT s + 1 T 200 mmH2 O
mmH2 O
Hpr m (s) = Kpr m = 1
mmH2 O
(the transfer function of the process with the input being the manipulating variable;
there is no ramification of the pipeline to cause any pressure loss and any decrease of
the process gain factor)
Kpr d 1
H(s) = = .
Kv KT 12.5 0.04
1+ Kc Kpr m 1 + 1 1
Tv s + 1 TT s + 1 3s + 1 s + 1
238 | Part II: Analysis of the feedback control system
Then
(3s + 1)(s + 1) −20
lim sH(s)D(s) = lim s ⋅ = lim Δp(t) = −13.5 mmH2 O
s→0 s→0 (3s + 1)(s + 1) + 0.5 ⋅ 1 s t→∞
where −20s
is the input disturbance of −20 mm H2 O pressure drop through closing the
tap positioned in front of the control valve.
When Kc changes to 0.5, the offset changes to 16 mm H2 O.
From this example one can see the steady state error disappears only when the
disturbance disappears.
From the practical point of view, one can raise the question: is it so important not
to have steady state error?
The answer is that it depends on the situation. If, for example, the kinetics of a
reaction shows that the reaction takes place between 55∘ and 65∘ it is not so important
form the chemical point of view to keep the temperature tight at 60∘ . But from the
economic point of view it is important to keep the lowest temperature tight in the range
for the sake of energy saving. In order to understand what an error only of +2∘ means,
we can give the following example.
Let us consider a heat exchanger (Fig. 3.1). The heated fluid flow is of F = 5 m3 /h,
having the density of ρ = 1000 kg/m3 and specific heat cp = 1 kcal/kg∘ . Suppose the
fluid has to be heated at 60∘ and instead, it is heated at 62∘ . This is not very much
from the point of view of the reaction. But the heat loss is calculated as
In one year, a plant is working 7200 hours and with a cost of a Gcal of around 70 Euros,
the total money loss is
This amount may be considered insignificant for an industry, but on an industrial plat-
form where there are around hundreds or thousands of heat exchangers, the total loss
becomes quite important; and it is due to only a very common functioning of a plant.
This is one of the reasons why it is important to eliminate the steady state error,
which is done using the PI controller.
The equation describing the PI algorithm is (8.2). It is observed that, different to the
P controller, the integral term occurs, meaning that as long as an error exists, c in-
creases or decreases, depending on its sign, until the error is cancelled. There is no
offset in steady state under PI control.
The step response of the controller is given in Fig. 8.15. Ti , the integral time, repre-
senting the time until the initial proportional step doubles. The demonstration of this
8 Controllers | 239
statement is in the case of a forced constant error e = A produced by the step input
Δr = A:
t
1 KA
Δc = Kc (A + ∫ Adτ ) = Kc A + c t = 2Kc A (8.7)
Ti Ti
0
when t = Ti .
time
2Kce
Kce
It can be observed that by increasing the integral time, the control action becomes
slower, a fact adequate to a slower dynamics process. The choice of the Ti is important
in order to make possible the harmonization of the I action of the controller with the
delay in the controlled process; it is useless to impose a control signal with a small Ti
to a process with a large time constant, T, since, due to the inertia of the process, the
controlled variable will never be able to follow the action of the actuator “inspired” by
the controller action. Fixing a much smaller Ti than the time constant of the process,
T, involves the quick opening or closing of the control valve, actions at which the slow
process will react as in Fig. 8.16. The quick integral action opens the valve very fast to
the maximum, the consequence is that, very slowly, the process arrives to the setpoint
value, but, because of the great inertia, this value is exceeded and the process reverses,
going to an oscillatory behavior.
How do we choose the integral time?
Example 8.3. Let us consider two pressure control loops for two recipients with dif-
ferent volumes, V1 > V2 (Fig. 8.17).
Supposing a decrease of pressure, the same −Δp in both recipients, one has to
choose the controllers’ parameters, but specifically to have a relative perception on the
values of the two integral time constants, Ti1 and Ti2 . Using the mass balance equations
240 | Part II: Analysis of the feedback control system
I [mA]
10
2
t
m [Flow]
max
0
t
y
y1
PC1
V1 Fe1=Fe2
Fi
P1=P0
–ΔP
PC2
Fi V2 Fe1=Fe2
P2=P0
–ΔP Fig. 8.17. Pressure control in recipients with
different volumes.
d(V1 ρ1 )
Fi1 − Fe1 = (8.8)
dt
d(V2 ρ2 )
Fi2 − Fe2 = (8.9)
dt
pi − p1 p − po
Fi1 = and Fe1 = 1 (8.10)
Rp1 Rp2
pi − p2 p2 − po
Fi2 = and Fe2 = , (8.11)
Rp1 Rp2
8 Controllers | 241
pM
and considering the expression of density ρ = , the equations (8.8)–(8.11) become
RT ∘
(8.12) and (8.13)
Rp1 Rp2 V1 M dp1 Rp2 Rp1
+ p1 = p + p (8.12)
Rp1 + Rp2 RT ∘ dt Rp1 + Rp2 i Rp1 + Rp2 0
The only difference between the processes described is the volume of the two recipi-
ents.
Since V1 > V2 , Tpr1 > Tpr2 results in Ti1 > Ti2 .
The transfer function of the controller is obtained by applying the Laplace trans-
form to equation (8.2):
1
HPI (s) = Kc (1 + ), (8.14)
Ti s
the frequency function
1 1
HPI (jω ) = Kc (1 + ) = Kc (1 − j ), (8.15)
Ti jω Ti ω
1 1
M(ω ) = Kc √1 + and φ (ω ) = − tan−1 . (8.16)
Ti2 ω 2 Ti ω
0
–4 –3.5 –3 –2.5 –2 –1.5 –1 –0.5 0 0.5 1
Frequency [log(rad/s)]
–100°
φt1
–150°
φt2
–180°
–200°
The equation describing the PID algorithm is (8.3). The step response of the controller
is given in Fig. 8.19.
It can be demonstrated that the higher Td is, the higher the impulse characteriz-
ing the step response is; the role of the D component is to abruptly open or close the
actuator of the control system, forcing the process to come back to the setpoint. In the
case of the temperature control of a heater, the derivative part of the control action
opens the steam valve almost completely for a short while, giving the process a ther-
mal shock, which forces it to recover much faster the decrease of temperature than in
the case of P or PI control. Usually, the PID control algorithm is used to control better
and faster, the slow processes rather than the heat transfer ones.
How do we choose the derivative time?
Example 8.4. Let us consider two heat control loops for two drying chambers with
different volumes, V1 > V2 (Fig. 8.20).
8 Controllers | 243
time
D part
KpA
I part
P part
c0
time Fig. 8.19. Step response of the PID controller.
F, ρ, cp , T°i F, ρ, cp , T°i
TC1 TC2
V1 , T°1
V2 , T°2
KT , AT , T°ag KT , AT , T°ag
Fag Fag
–ΔT° –ΔT°
F, ρ, cp , T° F, ρ, cp , T°
Fig. 8.20. Choosing comparatively the values of Td for the temperature controllers in two different
CSTRs.
One can observe the volumes are different, V1 > V2 . According to the heat balances
(3.11) where the term of reaction is 0,
∘ ) = d (Vρ c T ∘ ),
Fvi ρ cpA Ti∘ − Fvo ρ cp T ∘ − KT AT (T ∘ − Tag (8.17)
p
dt
where Fvi = Fvo = F is the air flow in the drying chambers and cpA = cp its heat
capacity, calculating Tpr1 and Tpr2 for the two drying chambers,
V1 ρ cp V2 ρ cp
Tpr1 = and Tpr2 = , Tpr1 > Tpr2 . (8.18)
Fρ cp + KT AT Fρ cp + KT AT
When the temperature changes in the two chambers, the process of change is
slower in the first one (with larger Tpr1 ) and faster in the second one. Considering a
decrease in temperature of the input air flows of both chambers, the temperatures de-
creases in both of them. In order to bring back the temperatures to the setpoint, both
controllers have to act in similar ways, but differently: the first one stronger (to recover
244 | Part II: Analysis of the feedback control system
the larger delay in action given by the larger volume of the first reactor) and the second
one weaker. Thus results Td1 > Td2 . The first controller opens in this way the steam
control valve more than the second one in order to give a stronger temperature shock
for the slower system.
The transfer function of the PID controller is obtained by applying the Laplace
transform to the equation (8.3).
1
Xc (s) = Kc [E(s) + E(s) + Td sE(s)] and thus (8.19)
Ti s
1
HPID (s) = Kc (1 + + Td s). (8.20)
Ti s
1 1
HPID (jω ) = Kc (1 + + Td jω ) = Kc [1 + j (Td ω − )] (8.21)
Ti jω Ti ω
1 2 1
M(ω ) = Kc √ 1 + (Td ω − ) and φ (ω ) = tan−1 (Td ω − ). (8.22)
Ti ω Ti ω
50
45
40
35
Td1
30
MdB 25
20
Td2
15
10
5
0
–3.5 –3 ω1=(Ti·Td1 )–1/2 ω2=(Ti·Td2 )–1/2 0 –0.5
Frequency [log(rad/s)]
Phase
angle Bode plots of the PID controller
100°
φTd1
50°
φpr
φTd2
0°
–50°
φt1
–100°
φt2
–150°
–300°
–3.5 –3 –2.5 –2 –1.5 –1 –0.5 Fig. 8.21. Bode plots for the
Frequency [log(rad/s)] PID controller.
The PID controller is the one with the most complicated algorithm used most fre-
quently in industry. There are situations where the performances which could be ob-
tained with the PID algorithm are not sufficient for the process controlled. There are
more performing control algorithms which will be described briefly in this section, but
in detail they will be the object of the second volume of the book, entitled Advanced
Process Control.
246 | Part II: Analysis of the feedback control system
Adaptive controllers
The Adaptive controllers have algorithms which “adapt” themselves to the changes in
the dynamics and steady state behavior of the process.
In the paper [11] the authors present a situation involving the temperature control
of the hydrazine hydrate manufacturing process using as manipulating variable the
NH3 liquid flow (Fig. 8.22).
Tn
The operating point for the temperature is at the point of inversion of the characteristic
slope; because of the exothermic behavior of the process, the increase of the liquid
ammonia flow, through its expansion, compensates the exothermic character of the
reaction between NaOCl and NH3 exactly at the equilibrium point (Fn NH3 , Tn∘ ); over this
flow value at equilibrium, the endothermic character of the expansion dominates the
exothermic character of the reaction. In order to keep the temperature at the operating
point, the controller has to memorize the process steady state characteristic and to
adapt its action to the characteristic. This can be obtained through a scheme of the
type presented in Fig. 8.23 [13].
Transducer
– Control y
r + Final control Controlled
algorithm element process
Correction
Model of
of the control Fig. 8.23. The struc-
the process
algorithm
ture of an adaptive
controller.
There are several surveys and comprehensive scientific contributions to the theory and
practice of self-adaptive controllers [14–16]. The authors preferred to mention a practi-
cal self-adaptive controller produced by the company ASEA Novatune and used later
8 Controllers | 247
Temp.
V3 control
V2
Flowrate
control
on to control an ethylene oxide reactor in the presence of a catalyst [17]. The control
scheme is given in Fig. 8.24.
The reactor has a production of 30,000 tons/year of ethylene oxide from ethylene
and oxygen. The reaction is extremely exothermic, the constraints of deviation of tem-
perature being ± 0.1∘ in normal conditions and ± 0.5∘ in extreme conditions of strong
load disturbances. These disturbances usually occur when an almost empty raw ma-
terial tank is replaced with another full one, producing an extremely brutal change
of parameter (pressure or flow). The PID controllers usually used are decoupled in
these situations and work only in “manual” operation mode. Bengtsson and Egart
proposed an adaptive control scheme, presented in Fig. 8.24. The temperature con-
troller uses two control valves, V2 and V3 , the latter for normal operation and the first
for large disturbances which have to be processed. Both valves are controlled in “auto-
matic” mode and the change of production is done without decoupling the controllers,
the change of the setpoint being done according to one preprogrammed scheme. The
general scheme of the adaptive controller, considering a function of the setpoint, is
different from that in Fig. 8.23, and is presented in Fig. 8.25.
Adaptive control can be used in many processes such as PVC batch polymerization
or ε -caprolactam, the so called nylon 6,6, continuous manufacturing process, where
the properties of the reaction mass change continuously during the batch time (case
of PVC), or along the process (ε -caprolactam) influencing the initial tuning of the con-
troller.
248 | Part II: Analysis of the feedback control system
Measuring, Algorithm
filtration design
Transducer
Fig. 8.25. The structure of a self-adaptive controller taking into consideration the set-point value.
Optimal controllers
The optimal control implies minimizing or maximizing a global performance index:
N
J(k, x(k)) = ∑ f (x(k), u(k)). (8.23)
k=1
This performance index can be the integral of the squared error to assure the minimum
of deviation from the setpoint but also, for example, the shortest route from one point
to another in a town [19]. For a process in process industry, the performance can be the
batch distillation time for a batch distillation, preserving a quality performance index;
in the case presented in Fig. 8.26, x(k) is the distillate average concentration, and the
control action is the optimal reflux ratio time function R(k) = u(k) (Fig. 8.26).
The general structure of such an optimal control scheme is given in Fig. 8.27.
All optimal control problems have at their base either Pontryagyn’s maximum
principle or Bellman’s dynamic programming formulation [18, 20]. These problems
will be treated in detail in the second volume of Advanced Process Control. In a study
made for the methanol industry [21], the authors succeeded in demonstrating that
through finding an optimum temperature profile along the catalytic methanol reac-
tor, the efficiency can be increased by 30 %.
Predictive controllers
The authors’ volume [22] is one work describing in detail the principle of predictive
control. Predictive control is the most advanced one at the moment, because it “fore-
sees” what it will happen in the future of the process when a control action is taken.
The principle of model predictive control is presented in Fig. 8.28.
The controller is a discrete one; at each step (k), the algorithm calculates one ac-
tion based on the minimization of the error between the predicted trajectory y(t) and
the setpoint r(t):
p
∑ ‖ y(k + l | k) − r(k + l) ‖2 . (8.24)
l=1
8 Controllers | 249
R D, xD = ct
Optimal reflux
FC
computing algorithm
R
Optimal reflux
R(k)
t(k) time
Transducer
Fig. 8.27. The structure of an optimal control system using the change of the set-point value.
The minimization assures the fastest way to the setpoint which allows the process
control system to have minimum deviations from the setpoint trajectory. An example
is the temperature control of the batch PVC reaction [23] which, using the MPC tech-
nique, allows the close match of the real temperature in the reactor with the optimal
profile calculated (Fig. 8.29).
250 | Part II: Analysis of the feedback control system
past future
y(k+1 | k)
y(k) Manipulated inputs
u(k+1)
Input horizon
Output horizon
T(°C)
60
55
50 Optimal profile
PID
NMPC
45
0 50 100 150 200 250 300 350 400 450 500 time (min)
Cooling
flowrate NMPC
PID
2
1.5
0.5
0
0 50 100 150 200 250 300 350 400 450 500 time (min)
Fig. 8.29. PID and NMPC control of the PVC reactor for the optimal temperature profile.
The development of Distributed Control Systems (DCS) is directly related to the huge
potential offered by the microprocessor and data communication technologies that
8 Controllers | 251
emerged in the 1970s, with the most representative product at that time the Honeywell
TDC-2000.
The DCS [24] principally consists of integrated hardware and software systems ac-
complishing two basic functions for the real-time management of the enterprise: mon-
itoring and control (Fig. 8.30). Its architecture is designed so that the computed-based
control and monitoring levels are distributed both physically and functionally. The
monitoring and control parts of DCS use communication networks for linking their
units and for sharing the collected and analyzed data or for distributing the control
or decision information. DCS development is continuously expanding with new tasks
such as: decision support capabilities, expert system facilities or management and
business abilities.
The jobs accomplished by the DCS are distributed into partially independent sub-
systems organized on multiple levels and having a hierarchical structure, able to offer
a high degree of reliability. This is due to the fact that functions are not concentrated in
a centralized structure, but in different computer systems, and the failure of one unit
does not imply the collapse of the whole system. This modularity allows the quick and
prompt intervention for maintenance and for restoring of either hardware or software
affected capabilities.
The distributed architecture of the DCS demonstrates very great flexibility due
to the straight reconfiguration of its software. Built-in libraries for the control algo-
rithms, monitoring charts, alarm functions or displays can be either directly chosen
or adapted to fit the particular application needs. The communication network link-
ing the distributed units allows the connection and separation from the DCS, for rapid
implementation of changes, upgrades or even improving the structure of the design.
They offer the user the opportunity to focus on the process management and control
tasks and relieve the effort aimed at solving the implementation solution for the in-
strumentation layer.
The bottom layer of the DCS performs the data acquisition and the regulatory con-
trol but also interacts with the higher monitoring and control layers for sending and
receiving data. The input signals are conditioned, analyzed and data reconciliation
or statistical processing may be performed. Smart transducers or control valves are
easily integrated onto the DCS platform and their incentives are fully exploited. DCS
controllers offer the facility of also providing, besides the traditional proportional,
integral and derivative algorithms, combinatorial, sequential logic and supervisory
control. They are integrated with the feed forward, robust and model-based control
and with advanced control algorithms implementing artificial intelligence tools such
as fuzzy logic, neural networks or genetic algorithms. The new DCS systems enlarge
the control functions with production planning and scheduling associated with the
management of resources.
One of the most appreciated features of the DCS is its system concept-based de-
sign, implemented in a harmonious architecture that integrates different subsystems
communicating which each other, having distributed functions and responsibilities
252 | Part II: Analysis of the feedback control system
Operating
Computer
center
Interface data
Interface Interface
acquisition
Traffic
Data BUS
directory
Operator
Interface
console
Basic control
units
Displays
Protection
barrier
in such a way as to make the DCS work as a whole and offer the means for finding the
globally optimal control solutions.
8 Controllers | 253
8.3 Problems
(1) The control system in Fig. 8.31 has the following characteristics:
10 0.5 1
Hc (s) = Kc ; HAD (s) = ; Hpr (s) = ; HT (s) = .
2s + 1 30s + 1 10s + 1
Xset y
HC HAD Hpr
+
–
HT
(2) The automatic control system in Fig. 8.31 has a PI controller with PB = 25 % and
Ti = 30 s. Draw the Bode plots for the ACS. Draw the Bode plots in the situation of
Ti = 5 min.
(3) The phase margin of the PD controller of the ACS in Fig. 8.31 is +45∘ . What is the
Td of the controller in this case? What is the open loop gain for this system with the
calculated value of the derivative time and a PB = 100 %?
(4) Consider the heat exchanger temperature ACS from Fig. 8.32.
KT , AT
FN ρm ,T°
T°ag , Fag
tion due to the steady state offset. The characteristics of the equipment in the control
loop are:
3
final control element – KAD = 2 mmA/h ;
transducer – KTR = 0.4 mA∘ ;
3
process – nominal flow through the heat exchanger – FN = 1 mh ; density of the fluid
ρ = 1000 mkg3 ; specific heat cp = 1 kg
kcal
K
; heat transfer coefficient KT = 1000 mkcal
2 hK ; heat
transfer area AT = 1 m2 .
What is the offset and the extra heat consumption if the setpoint is changed with
+10o C?
m3
F1 = 1 h
.
kg kcal
Reactor 2: V2 = 2 m3 ; KT2 = 800 mkcal 2
2 hK ; AT2 = 5 m ; ρ2 = 1000 m3
; cp2 = 1 kg K
;
3
m
F2 = 1 h
.
(6) Design the behavior of the auto-adaptive controller for the process described in
Fig. 8.22.
References
[1] Agachi P. S., Automatizarea proceselor chimice (Automation of chemical processes), Casa Cartii
de Stiinta, Cluj-Napoca, 1994, p. 108.
[2] *** SAMSON (http://www.docentes.unal.edu.co/sorregoo/docs/sistemas%20de%20control.
pdf).
[3] Agachi P. S., Automatizarea proceselor chimice (Automation of chemical processes), Casa Cartii
de Stiinta, Cluj-Napoca, 1994, pp. 110–116.
[4] Ibidem, pp. 117–120.
[5] Packard A., Saturation and antiwindup strategies, ME 132, Chap.15, Spring 2005, UC. Berkley,
p.134–143.
[6] Agachi P. S., Automatizarea proceselor chimice (Automation of chemical processes), Casa Cartii
de Stiinta, Cluj-Napoca, 1994, pp. 120–124.
[7] Ang, K. H., Chong, G., Li, Y., PID control system analysis, design, and technology, IEEE Trans.
Control Systems Techn., 13, (2005), 559–576.
[8] Aström, K. J., Hägglund, T., Advanced PID Control, Instrument Soc. Amer., 2006.
[9] Li, Y., Ang, K. H., Chong, G. C. Y., PID control system analysis and design, IEEE Control Systems
Magaz., 26, (2006), 32–41.
8 Controllers | 255
[10] Fliess, M., Join C., Intelligent PID Controllers, Proc. of 16th Mediterranean Conf. on Control and
Automation, Ajaccio, France, 2008.
[11] Agachi S., Topan V., Automatizarea unei reactii chimice cu comportare neliniara (Automation of
a chemical reaction with nonlinear behavior), Rev. Chim. 1, (1980), 63– 67.
[12] Silberg A. I., Topan V. A., Agachi P. S., et al. Procedure and reactor for manufacturing chlo-
ramine, Romanian Patent no.120893/25.11.1985
[13] Calin S., Dumitrache I., Regulatoare automate (Automatic controllers), Ed. Didactica si Peda-
gogica, Bucuresti, 1985, Chap. 8,11.
[14] Åström, K. J., Theory and applications of adaptive control — a survey, Automatica, 19, (1983),
471–486.
[15] Åström, K. J., Wittenmark, B., On self-tuning regulators, Automatica, 9, (1973), 185–199.
[16] Åström, K. J., Adaptive Control, Dover, 2008, pp. 25–26.
[17] Bengtsson G., Egart B., Experience with Self-tuning Control in the Process Industry, Proc. IX
IFAC Congress, Budapest, 1984, Section Case Studies.
[18] Pontryagin, L. S., The Mathematical Theory of Optimal Processes, Mir Publishers, Moscow,
1962.
[19] Doya, K., How can we learn efficiently to act optimally and flexibly, Proc. of the National
Academy of Sciences of USA,106, No. 28, (2009), 11429–11430.
[20] Betts, J. T., Practical Methods for Optimal Control Using Nonlinear Programming, SIAM Press,
Philadelphia, Pennsylvania, 2001.
[21] Agachi S., Vass E., Optimizarea reactorului de fabricare a metanolului, utilizand Principiul
Maximului lui Pontriaghin (Optimization of the methanol reactor using Pontriagyn’s Maximum
Principle), Rev. Chim., 6, (1995), 513–521.
[22] Agachi, P. Ş., Nagy, Z. K., Cristea, M. V., Imre-Lucaci, A., Model Based Control, Case Studies in
Process Engineering, Wiley-VCH, ISBN 3-527-31545-4, Weinheim, 2006, pp. 17–20.
[23] Nagy Z., Agachi S., Model predictive control of a PVC batch reactor, Computers & Chemical
Engineering, 6, (1997), 571–591.
[24] http://www.automation.com/library/articles-white-papers/fieldbus-serial-bus-io-
networks/ieee-1394-and-industrial-automation-a-perfect-blend.
9 Final control elements (actuating devices)
The actuating device is the element of the control loop which receives the control sig-
nal from the controller (c) and transforms it in a mass or energy flow (m) which mod-
ifies the controlled variable (y) in the controlled process. m can be the steam flow at
the entrance of a heater or a column reboiler, a combustible flow at the entrance of a
burner, or an NaOH flow at the entrance of a neutralizing plant.
There are several ways of manipulating the material or energy flow in or out of a pro-
cess: varying the speed of a conveyor belt, the rotation of a screw pump or of a cen-
trifugal pump, the frequency of switching on/off a switch device (relay) [1]. But by far
the most popular way of manipulating the flow is using the control valves, due to their
simplicity and reliability.
The most frequently used final control elements are the control valves (Fig. 9.1). Such
a control valve assembly has two main parts: the actuator (drive) which can be pneu-
matic, electric or hydraulic and the valve which manipulates the flows with a plug,
ball, diaphragm or baffle.
Figure 9.1a depicts the control valve with its drive and Fig. 9.1b only the pneumatic
drive/actuator. The manipulation of the valve is done pneumatically by the pressured
air, usually in a range of 0.2–1 bar. The pneumatic actuator is formed from a diaphragm
case of cast iron separated in two chambers by a rubber membrane (M). The membrane
is held in a certain position by a spring (SP) which also has the role of bringing back the
membrane when the pressure signal disappears. Fixed on the membrane it is the stem
(S) which has at one end the plug (P), which obliterates to a certain proportion the seat
ring/orifice (SR) through which the fluid passes from the input of the valve cage to its
output. Because the position of the plug is variable, the opening of the orifice is also
variable and so the fluid flow passing through the valve is variable as well. Nowadays,
the majority of the controllers are electronic ones, having as control variable c, an
electric current in the range 2–10 mA or 4–20 mA (see Chapter 7). The conversion from
the electric control signal ic to the pneumatic signal addressed to the control valve
(pc ) is done by the electro-pneumatic convertor (EPC) (Fig. 9.2b and c). In the EPC, the
instrumental air of pressure 6 bar is first conditioned (filtered and dried) in the reducer
and then the resulting feed air at 1.4 bar is varied proportionally with the value of the
ic in the above mentioned range. The result is the stem travel, which – through the
9 Final control elements (actuating devices) | 257
Ac
SP
Pc
S
P
S
SR
Fig. 9.1. Pneumatic control valve: P - plug; pc – control pressure; Ac – actuator; Sp – spring;
M – membrane; SR – seat ring.
position of the plug attached to it – opens, to a certain percentage, the orifice of the
valve. Because of the friction in the seal rings of the stem, the valve functions with
hysteresis; in order to control exactly the position of the plug to correspond to that
of the control signal, a positioner (Fig. 9.2c) is sometimes added. The positioner is an
internal stem position control loop which mechanically measures the stem travel and
ensures it is exactly that given by the control signal.
We may find different types of control valves on free sources (Fig. 9.2): http://www.
google.ro/search?q=control+valve&tbm=isch&tbo=u&source=univ&sa=X&ei=9rX-
Uf2qGImYPc6sgYAM&ved=0CEcQsAQ&biw=1280&bih=615
The actual valve can be of different types [2]:
– globe valve with direct flow single or double ported (Fig. 9.3), three-way (Fig. 9.4);
– angle valves in which one port is co-linear with the valve stem, and the other port
is at a right angle to the valve stem (Fig. 9.5);
– butterfly valve (Fig. 9.6) used for large pipelines and low pressure fluids (gas usu-
ally);
– ball or V-notch control valve (Fig. 9.7) is used for partially solid flows or viscous
flows or suspensions which are not able to be manipulated by the other types of
valves. The V-notch of V-shape in the ball allows a greater range ability of the
manipulation of the flow.
258 | Part II: Analysis of the feedback control system
– slide/gate control valves (Fig. 9.8) are used usually for very large cross area sec-
tions of the pipelines through which either water (e.g. flood water from reservoirs)
or catalyst (e.g. Fluid Catalytic Cracking Unit) are transported.
(a) (b)
M
Pp
0,2 – 1 bar Electro-pneumatic
Positioner
Pc converter c
S 0,2 – 1 bar 4 – 20 mA
Fig. 9.2. Different types of industrial control valves with electro-pneumatic convertors aside: (a) reg-
ular industrial valve; (b) control valve with electropneumatic convertor; (c) actuator with electro-
pneumatic convertor and positioner.
9 Final control elements (actuating devices) | 259
A A
A’
A’
There are other types of control valves specifically for non-usual fluids manipulation:
– membrane control valves (Fig. 9.9) for very corrosive, viscous and high density
fluids (e.g. slurry). Its principle of operation is that putting pressure on the elastic
membrane tube, the section passing the fluid diminishes proportionally with the
control pressure exercised. There are construction versions with the diaphragm
closing the valve on a weir or saddle.
– pumps with variable speed (centrifugal pumps, gear pumps, piston pumps, peri-
staltic pumps). The rotation speed or the piston movement frequency is varied
using a motor equipped with a variable frequency drive (VFD) [2] (Fig. 9.12);
Fig. 9.12. Left: gear pump and right: screw drive pump.
– reflux distributors (Fig. 9.13) are used for very small reflux ratio flows. These dis-
tributors operate by varying the ratio between the reflux time and evacuation of
9 Final control elements (actuating devices) | 263
Condenser
C. B.
R
D Fig. 9.13. Reflux distributor at the top of a distillation column.
There are many technical publications of excellent quality which deserve to be men-
tioned here: Emerson’s Control Valve Handbook [1], FNW material about flow coef-
ficients [5], Parcol’s Handbook for Control Valve Sizing [6], or Samson’s Application
Notes, Kv coefficient, valve sizing [7].
The flow factor (Kv ) is the most important parameter which characterizes the flow
through a valve. Let us consider a simple hydraulic circuit in which a valve is placed
(Fig. 9.14). It is important because it synthesizes, as seen in Fig. 9.14, the simultaneous
changes of several factors due to the stem travel position: pressure drop coefficient,
cross area section through the control valve, the pressure drop in the control valve.
The valve manufacturers give the Kv as the main value for sizing the control valve.
If one expresses the volumetric flow Fv function of √p0 –p1 (Fig. 9.15), the rela-
tionship is linear (9.1); pc is the pressure at which the liquid vaporizes at the operating
temperature.
P0 P1
FV
FV
Non-critical flowrate Critical flowrate
FC
PC–P1 P0–P1
Fig. 9.15. The dependence of the volumetric flow on the pressure difference (p0 –p1 )1/2 .
Kv is the slope of the characteristic in its first portion, the straight line, and it is defined
as the water flow expressed in m3 /h, at 15 ∘ C, passing at a pressure difference of 1 bar.
In the American scientific literature, the flow coefficient is Cv = 1.16 Kv , being
the flow in US gallon/minute, passing through the completely open valve at 60 ∘ F at
a pressure difference of 1 lb/in2 .
Applying the Hagen–Poiseuille relationship,
ρ v2
Δpv = ξv , (9.2)
2
where Δpv is the pressure drop on the valve, ξv is the pressure drop coefficient on the
valve, and v, the velocity of the fluid in the pipeline, the flow rate through the valve is
2 1
Fv = v ⋅ Av = √ A √ Δp , (9.3)
ξv v ρ v
and at etalon conditions where ρe and Δpve are the density (1 kg/dm3 ) and pressure
difference of 1 bar, Av being the cross-section area through the control valve, this flow
is exactly the flow factor Kv :
2 1 ρ
Kv = √ A √ Δp = Fv √ . (9.4)
ξv v ρe ve Δpv
9 Final control elements (actuating devices) | 265
This relationship of the flow factor Kv is valid for the turbulent flow, noncritical, in the
absence of cavitation and vaporization. When Kv is calculated, the density is always
expressed in kg/dm3 , Δpv in bar, and the flow rate in m3 /h.
Example 9.1. The data for the calculation of a control valve are the following: maxi-
mum alcohol flow rate through the valve is 6.8 m3 /h, its density ρa = 735 kg/m3 and
the pressure drop on the valve at the corresponding flow rate is Δpv = 0.8 bar. Kv has
to be calculated.
The relationship (9.4) becomes
m3 √ ρ [ mkg3 ] 735
Kv = Fv [ ] = 6.8√ = 6.5.
h 1000Δpv [bar] 1000 ⋅ 0.8
For laminar flows in the pipeline, Bernoulli’s law is applied and Reynold’s number
can be calculated with (9.5):
vD
Re = ρ , (9.5)
ν
where D is the pipeline diameter [m] and ν the viscosity [Ns/m2 ].
The profile of the flow tube is presented in Fig. 9.16.
P0 P1
At the level of the plug, Re is not the same as in (9.5) because the area of the passing
section is much smaller and the velocity of the fluid is much larger. Re inside the valve
can be recalculated [4]:
D 1
ReR = Re . (9.6)
2.59 √K v
When ReR < 500 the flow is laminar and in these conditions (9.4) can be used. Ob-
serving that the flow regime is changing inside the valve, the flow factor has to be
√Re
recalculated using the corrected ReR with the factor C = 20 R relationship (9.4) be-
coming
F ρ
Kv = v √ . (9.7)
C 1000Δpv
266 | Part II: Analysis of the feedback control system
Cavitation
It has to be noted that at the minimum section of the strangled vein of the fluid (vena
contracta), the fluid pressure drops abruptly (Fig. 9.17) at values which can be equal
to the saturation vapor pressure (pvs ) thus forming vapor bubbles. These bubbles im-
plode when the pressure goes back to the regular pressure value in the pipeline. The
implosions create strong shock waves eroding severely the interior of the valve.
P0
Critical
Turbulent
Laminar
PC
and because only a part of the pressure is recovered, a critical flow coefficient is de-
fined [4], Cf < 1, which depends on the control valve inner form and equation (9.8)
becomes
Δpv ≤ Cf2 (p0 –pv ). (9.9)
This equation imposes that, for avoiding the cavitation, special control valves with
several expansion stages have to be built and for which Cf becomes close to 1.
where the pN , FvN , TN∘ are the pressure, volumetric flow and temperature in normal
conditions (1 atm = 101.325 kPa, 20∘ = 293.15 K); p2 , T ∘ , Fv are the pressure, tem-
perature and flow after the valve.
9 Final control elements (actuating devices) | 267
Expressing the volumetric flow as the ratio between the mass flow and its density,
F F
pN ρm p2 ρm
N
= . (9.11)
TN∘ T∘
pN T ∘
Fv = FvN and (9.12)
p T∘
2 N
p2 TN∘
ρ = ρN , (9.13)
p T∘
N
FvN p T∘
Kv = √ N , (9.14)
514 p2 Δpv
For superheated steam the specific volume is used, v = 1/ρ [m3 /kg] and equation (9.4)
becomes
1
Kv = Fv √ ,
1000Δpv v
or using the mass flow Fv = Fm v,
Fm v
Kv = √ , (9.15)
31.6 Δpv
Fm 1
Kv = √ (9.16)
22.4 Δpv p2
– for wet steam with p2 > 100 bar, the relationship (9.16) becomes
Fm x
Kv = √ (9.17)
22.4 Δpv p2
Example 9.2. A control valve is mounted on a superheated steam pipeline, and the
flowing process has the following characteristics: Fm max = 100 kg/h, the specific vol-
ume after the valve v2 = 0.188 m3 /kg, the pressure before the valve p1 = 20 bar and
after the valve, p2 = 12 bar. The flow factor Kv has to be calculated.
100 0.188
Kv = √ = 0.486.
31.6 8
There are numerous other situations when the control valves are in operation as in the
case of compressible fluids, or two phase flows. Sizing procedures are given in [3, 4, 6].
The second element, after the flow coefficient (Kv ), characterizing the flow through a
control valve, is the flow variation function of the valve’s stem travel (h). Knowing that
the Kv is actually the flow in certain etalon conditions, ξv (h) and Av (h) are functions of
h, and
1
Kv = √ A (h) = Kv (h), (9.18)
ξv (h) v
the result is that Kv = Kv (h) represents the inherent characteristic of the control valve.
The inherent characteristic is determined by measuring the flow rates at different valve
openings and at a constant pressure drop.
There are several types of inherent characteristics (Fig. 9.18):
ΔK
(a) The linear characteristic, where Δhv = ct for all values of Kv and with the analytical
expression
Kv K K h
= v0 + (1 − v0 ) (9.19)
Kv100 Kv100 Kv100 h100
4
Linear
Equal Percentage
3
Flow [%]
Quick Opening
Square Root
2 Modified Parabolic
Hyperbolic
1
0
0 0.2 0.4 0.6 0.8 1
Stem opening [%]
where
h = 0 is the stem travel of the valve with the valve completely closed;
h = 100 is the stem travel of the valve with the valve completely open;
Kv0 is the flow factor for the completely closed valve (h = 0);
Kv100 is the flow factor for the completely open valve (h = 100).
Kv K K h
= v0 exp [ln ( v100 ) ]. (9.20)
Kv100 Kv100 Kv0 h100
dKv K dh
= ln ( v100 )
Kv Kv0 h100
which shows that when the stem travel h h varies from 50–60 %, the Kv varies
100
from its value to Kv + 10% Kv which explains the equal percentage characteristic
name.
(c) The modified parabolic characteristic with the analytical expression (9.21) is ap-
proximately in-between the linear and the equal percentage characteristic, pro-
viding a fine control at low flow values and approximately linear characteristic at
higher flow capacity:
h
Kv K h100
= v0 + 2
. (9.21)
Kv100 Kv100
3 − 2 ( hh )
100
(d) The quick/fast opening control valve designed for quick flooding or evacuation of
the reaction mass in case of emergency.
In addition to these frequently used control valves characteristics, there are two oth-
ers: hyperbolic, which is the reverse of quick opening and we may name it “slow open-
ing”; and square root, placed in-between modified and hyperbolic to better control the
flows in the middle part of the flow range.
The profile of the characteristic is either resolved through a certain adequate form
of the plug and seat (Fig. 9.19), or via a special characteristic of the electro-pneumatic
converter.
270 | Part II: Analysis of the feedback control system
Valve spindle
Spindle
Valve movement Valve
plug
seat
Fig. 9.19. Special form of the plugs and seats for corresponding valve characteristics.
In the other case of constructing the form of the characteristic using special charac-
teristics of the actuator and control valve,
h x
= f1 ( c ) , (9.22)
h100 xc100
Kv x
= f2 ( c ) , and (9.23)
Kv100 xc100
Kv
= f1 ∘ f 2 . (9.24)
Kv100
Once included in the hydraulic circuit (Fig. 9.20), the control valve changes its inherent
characteristics depending on the structure of the system and the total pressure drop
on the system.
The total pressure drop on the system is formed out of the sum of the local pres-
sure drops (9.25), the sum of the linear pressure drops (9.26), the sum of the pressure
decrease due to the level difference (9.27), the pressure drop on the control valve it-
self (Δpv ).
n
ρ v2
Δploc = ∑ ξi (9.25)
i=1
2
m lj ρ v2
Δplin = ∑ λj (9.26)
j=1
Dj 2
l
Δpz = ∑ ρ ghk (9.27)
k=1
9 Final control elements (actuating devices) | 271
P2
CV
H
HE
PC
P1
Fig. 9.20. The control valve does not work independently but is a part of a hydraulic system.
with ξi – the local pressure drop coefficient, λj – the linear pressure drop coefficient, lj
and Dj the lengths and diameters of the different pipeline sections, hk – different level
differences which contribute to the total pressure drop.
The total pressure drop on the system is thus:
n
ρ v2 m lj ρ v2 l
Δps = ∑ ξi + ∑ λj + ∑ ρ ghk + Δpv + Δppump = ΔpL + Δpv , (9.28)
i=1
2 j=1
dj 2 k=1
with ΔpL being the sum of all pressure drops except the valve.
The flow rates in the pipeline and valve are equal and according to (9.3) and (9.4),
ΔpL Δp
FL = KL √ = Fv = √ v = F. (9.29)
ρ ρ
Kv Δps
F= √ or (9.30)
2 ρ
√ 1 + ( Kv )
KL
Kv Δps
F= √ . (9.31)
K 2 K 2 ρ
√1 + (K v ) ( Kv100 )
v100 L
At h = h100 , all variables depending on stem travel get the index 100 and one can write
instead of (9.29),
Δpv100 Δp
F100 = Kv100 √ = KL √ L100 and
ρ ρ
Kv100 2 ΔpL100
( ) = (9.32)
KL Δpv100
and ΔpL100 = Δps − Δpv100 .
272 | Part II: Analysis of the feedback control system
Supposing that the flow does not change its regime and the fluid is incompress-
ible, KL stays constant and replacing (9.32) in (9.31),
Kv Δps
F= √
K 2 Δp −Δp ρ
√1 + (K v ) s v100
v100 Δpv100
Δpv100
If we denote the parameter m = where Δps = p1 max − p2 (p1 max is sometimes
Δps
called maximum pumping height), the relation (9.32) becomes (9.34), representing the
installed characteristic of the valve:
F Kv 1
= . (9.34)
F100 Kv100 Kv 2
√m + ( ) (1 − m)
Kv100
Kv
represents the inherent characteristics which are given in (9.19)–(9.21), the ratio
Kv100
depending on the control valve’s stem travel h:
F K (h) 1
= v . (9.35)
F100 Kv100 2
√ m + ( Kv (h) ) (1 − m)
K v100
The installed characteristics of the control valves are plotted in Fig. 9.21 for the three
most utilized control valves. The variable parameter in the figure is m, which takes
values between 0.04 and 1.
We may easily observe that being installed in a hydraulic circuit, the inher-
ent characteristics are deformed due to the nonlinearities induced by the square
dependence of the pressure drop on the flow. These deformations can be used in
compensating the undesired nonlinearities of the process characteristics (Chapter 6,
Figs. 6.2–6.4).
Generally, how do we choose a control valve characteristic? There are some prac-
tical recommendations [10] which are very general and helpful. Summarizing the pa-
per: for pressure control valves the recommendation is equal-percentage; for flow, if
the setpoint varies – linear; if load varies – equal-percentage; for temperature – equal-
percentage.
9 Final control elements (actuating devices) | 273
0.8
0.04
0.6 0.1
Linear
F 0.25
F100
0.33
0.4 0.5
1
0.2
0
0 0.2 0.4 0.6 0.8 1
h
h100
0.8
Modified parabolic
0.6
F
F100 0.1
0.4 0.25
0.33
0.5
0.2 1
0
0 0.2 0.4 0.6 0.8 1
h
h100
0.8
Logarithmic
0.6
F
F100
0.04
0.4
0.1
0.25
0.2 0.33
0.5
1
0
0 0.2 0.4 0.6 0.8 1
h Fig. 9.21. The installed characteristics of the
h100 control valve.
274 | Part II: Analysis of the feedback control system
The final control element is composed of the electro-pneumatic convertor (EPC), the
actuator (AC) and the valve (CV). Each of them have their own gain factor, the electro-
pneumatic convertor – KEPC , the actuator – KAC , the valve – KCV and the total gain is
the product of all three:
KFCE = KEPC KAC KCV . (9.36)
Usually, the EPC has linear characteristic, having as input the control signal 2–10 or
4–20 mA and as output the pressure addressed to the actuator, 0.2–1 bar. Thus, the
gain of the EPC is
ΔpAC
KEPC =
Δic
and for the first case,
0.8 bar bar
KEPC = = 0.1 .
8 mA mA
The actuator, AC has as input the pressure in the actuator, 0.2–1 bar and as output
the whole stem travel 0–100 %. Thus, its gain is
Δh 100% %
KAC = = = 125 .
ΔpAC 0.8 bar bar
The gain of the control valve depends on the type of the characteristic, being for the
linear valve
dF
=a (9.37)
dh
and for the equal percentage (logarithmic)
dF
= bF. (9.38)
dh
Because of the fact that these characteristics change in the hydraulic circuit, the gain
becomes dependent on the stem travel and the variation is given in Fig. 9.22 on the
next page [11].
The dynamic behavior of control valves is largely treated in [11] Chapter 3 and orienta-
tions are given in [12]. Concluding, because of the series pneumatic capacities, of the
transport line delay, the behavior is in the most cases described by a transfer function
of second order
a3
Hv (s) = , (9.39)
a2 s2 + a1 s + 1
where a3 is KFCE , a2 has values of around 10−1 s2 , and a1 values of around 1–20 s.
In the most cases, the behavior is treated as a first order dynamics [12].
9 Final control elements (actuating devices) | 275
Linear Logarithmic
5 5
4 0.05 4
0.1
3 3
dF 0.2 dF
dh 0.5 dh 0.2
2 2 0.5
1
1
1 1
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
h h
h100 h100
Fig. 9.22. The change of the control valve gain, function of travel and m coefficient in the case of:
(a) linear valves; (b) logarithmic valves.
In choosing and dimensioning the control valve (Kv and the inherent characteristic),
one has to take into consideration the two following situations:
(a) the pressure drop on the hydraulic system is not given and the source pressure
has to be calculated;
(b) the pressure at source is given and also the pressure drop on the system.
In both cases, the following steps for sizing the valve are given.
Case (a)
(a.1) establish the steady state process characteristic on the transfer path manipu-
lated variable → controlled variable (Section 6.1);
(a.2) based on the maximum and minimum disturbance, the minimum and maxi-
mum respectively flow through the valve are calculated (Section 6.1, Fig. 6.3);
(a.3) at the maximum flow value, ΔpL100 is computed, using the relations (9.25)–
(9.28);
(a.4) depending on the form of the steady state characteristic of the process (a.1) and
other steady state characteristics of the transducer (e.g. orifice plate flow meter),
the compensating characteristic of the valve is chosen (Section 6.1, Fig. 6.4) in
order to linearize the behavior of the whole ensemble valve and process. This
Δp
means the most appropriate m value is chosen. m = Δpv100 ;
s
(a.5) the value of Δpv100 (from m) and then the Kv100 value are calculated using the
relations (9.4), (9.14), (9.15)–(9.17), depending on the valve sized;
(a.6) the superior value Kvs > Kv100 is chosen from the manufacturer’s tables;
276 | Part II: Analysis of the feedback control system
(a.7) with Kvs chosen, the new Δpv100 value is calculated and consequently, the new
installed characteristic chosen, to observe if the linearization suffers. If the lin-
earization suffers, the whole sizing procedure is resumed from the beginning;
(a.8) the pumping pressure is determined using p1 = p2 + ΔpL100 + Δpv100
Case (b)
(b.1) establish the steady state process characteristic on the transfer path manipu-
lated variable → controlled variable (Section 6.1);
(b.2) based on the maximum and minimum disturbance, the minimum and maxi-
mum respectively flow through the valve is calculated (Section 6.1, Fig. 6.3);
(b.3) at the maximum flow value, ΔpL100 is computed using the relations (9.25)–
((9.27);
(b.4) Δpv100 = p1 − p2 − ΔpL100 is calculated;
Δp
(b.5) m = Δpv100 is calculated and the adequate (for linearization) installed character-
s
istic is chosen;
(b.6) Kv100 is determined;
(b.7) the superior value Kvs > Kv100 is chosen from the manufacturer’s tables;
(b.8) with Kvs chosen, the new Δpv100 value is calculated and consequently, the new
installed characteristic chosen, to observe if the linearization suffers. If the lin-
earization suffers, the whole sizing procedure is resumed from the beginning.
Example 9.3. A flow control valve is mounted on the feed pipeline of a reactor working
at the pressure of 20 bar. The nominal operating flow is Fn = 120 m3 /h, the minimum
flow is Fmin = 70 m3 /h, and the maximum Fmax = 147 m3 /h. The density of the fluid
is ρ = 875 kg/m3 . The pressure drop on the pipeline is Δpp100 = 12.6 bar. The pres-
sure drop inside the pump is supposed to be 0. Sizing and characteristic choice of the
control valve is requested.
The problem is included in case (a). The steady state characteristic (flow control
on a pipeline), F = f (F) is a straight line with the slope 45∘ . Consequently, the charac-
teristic of the valve is linear in the range Fmin /Fmax = 70/147 = 0.47 and Fmax /Fmax =
147/147 = 1.0 and especially around Fn /Fmax = 0.81. A modified parabolic control
valve with m = 0.33 (Fig. 9.21) should be chosen, but also a logarithmic characteristic
with m = 0.2 fits.
Choosing a logarithmic valve,
Δpv100
= 0.2 (9.40)
Δps
Δpv100 = 0.2Δps = 0.2(Δpv100 + Δpp100 ) (9.41)
ρ 875
Kvmax = F100 √ = 147√ = 74. (9.43)
1000Δpv100 1000 ⋅ 3.15
Example 9.4. Calculate and choose the control valve of a temperature control system
of a heat exchanger through which water is circulated (Fig. 5.3). The characteristics of
3
the heat exchanger are: nominal flow through the heat exchanger – FN = 4 mh ; density
kg kcal
of the fluid and heating agent ρ = ρag = 1000 m3 ; specific heat cp = cp ag = 1 kg K
; heat
transfer coefficient KT = 1000 mkcal 2
2 hK ; heat transfer area AT = 4 m ; Δpp100 = 1 bar;
∘
Ti = 20 ; Tiag = 50 . The temperature which has to be kept constant is Tn∘ = 30∘ .
∘ ∘ ∘
The temperature fluctuations around the normal T ∘ = 20∘ are of ± 5∘ . The pressure is
i
given by a centrifugal pump with the operation characteristic given in Fig. 12.2 and its
pressure at Fag max = F2 in the figure has to be calculated. The agent is evacuated at
atmospheric pressure.
The steady state characteristic of the heat transfer process is given by the equa-
tions (6.1) and (6.2):
4Ti∘ Ti∘ag
T∘ = + . (9.47)
4 + 2Fag 2 + 4
F ag
Data calculated for the disturbances of ± 5∘ in the input temperature and for different
values of the agent flow are given in Tab. 9.1.
Figure 6.9 is the graphic representation of the temperature variations in this case.
278 | Part II: Analysis of the feedback control system
(a.2) The minimum and maximum disturbances are Ti∘min = 15∘ and Ti∘max = 25∘ and
the nominal operating input temperature is Ti∘n = 20∘ .
At these values, for an outflow temperature Tn∘ = 30∘ , the heating agent flows are
3 3 3
Fag max = 12 mh , Fag min = 1.33 mh , Fag n = 4 mh
The operating range of the valve is between Fmin /Fmax = 1.33/12 = 0.11 and
Fmax /Fmax = 12/12 = 1.0 with special attention to be given to the nominal point
Fn /Fmax = 4/12 = 0.33.
(a.3) Δpp100 = 1 bar from the problem data.
(a.4) From Figs. 9.23 and 9.21, a logarithmic characteristic of the valve with m =
Δpv100
Δps
= 0.9 is chosen.
(a.5) Δpv100 = 0.9Δps = 0.9(Δpv100 + Δpp100 ) which gives the result Δpv100 = 9 bar.
ρ 1000
Thus, Kvmax = F100 √ 1000Δp = 12√ 1000∙9 = 4.
v100
(a.6) The catalogue value for Kvs is just 4, so we do not have to recalculate the charac-
teristics.
(a.7) –
(a.8) p1 100 = 9 + 1 = 10 bar so the head of the pump has to be bigger than this value.
9.7 Problems
(1) Consider a composition ACS from Example 6.3, with the following characteristics:
the molar fraction of the concentrate can vary between 0.9 and 1, but at the nominal
point xcN = 0.95; the concentration of the active component in the diluting flux is
xD = 0; the target composition after the dilution is xN = 0.5; the diluting flow D =
1 m3 /h constant. The dilution is done at atmospheric pressure and the pump pumps
the concentrate at 2 bar. The pipeline pressure drop is Δpp100 = 1 bar and the density
kg
of the concentrate is ρ = 800 m3 . The control valve has to be sized and chosen and is
manipulating the concentrate (Fig. 12.13).
(2) The height of the liquid in the bottom of a distillation column is h = 1.5 m and
the pressure drop between the column and the following column in the sequence is
9 Final control elements (actuating devices) | 279
4 bar. The density of the product which passes through the control valve of the level
kg
ACS is ρ = 700 m3 . What is the influence of the liquid level in the column bottom upon
the flow between the two pieces of equipment? How much does an increase of 20 %
change the Δps ? How is the sizing of the control valve influenced?
(3) Consider a flow ACS with the transducer an orifice plate without square root ex-
3 3
tractor. The data of the piping system are: F100 = 20 mh and FN = 15 mh ; pressure at
the source p0 = 9.5 bar; pressure at the end of the pipeline p2 = 4.1 bar; the pres-
sure drop in the pump and on the line ΔpL100 = 4.2 bar; density of the fluid circulated
kg
through the valve ρ = 700 m3 . The control valve has to be sized and the linearizing
characteristic to be chosen.
(4) Calculate the gain factors of the final control elements, including the control
valves for the cases in the Problems (1) and (3) at nominal and maximum values of the
flow. The electro-pneumatic convertors have the input signal 4–20mA and the output
0.2–1 bar; the drive has the input 0.2–1 bar and the output stem travel 0–100 %.
(5) What types of final control elements should we choose for manipulating the fol-
lowing products:
1. steam at 25 bar;
2. flow of acetic acid at 10 l/h nominal flow;
3. air flow at 100 Nm3 /h and pressure 0.5 bar;
4. sulfuric acid 60 % produced through the contact chamber process;
5. water emulsion of polyvinyl acetate flow;
6. air conditioning air flow at 300 mmH2 O pressure;
7. slurry flow at the bottom of a distillation column;
8. sand flow for the glass production process.
References
[7] Handbook for control valve sizing, Parcol Bulletin 1-I, 2010, http://www.parcol.com/docs/1-
i_gb.pdf,
[8] Samson’s Application Notes, Kv Coefficient, Valve Sizing, Samson AG. Mess- und Regeltechnik,
Frankfurt am Main, 2012, http://www.samson.de/pdf_en/t00050en.pdf
[9] SpiraxSarco Ltd., Steam Engineering Tutorials, Block 6, 2013
[10] The Engineering Toolbox, Tools and Basic Information for Design, Engineering and
Construction of Technical Applications, Control Valves and Flow Characteristics,
http://www.engineeringtoolbox.com/control-valves-flow-characteristics-d_485.html.
[11] Headley, M., Guidelines for selecting proper valve characteristics, Valve Magazine, 15 (2),
(2003), 28–33.
[12] Marioniu, V., Poschina I., Stoica M., Robinete de reglare, Ed. Tehnica Bucuresti, 1980, Sec-
tion 2.5.4.
[13] Emerson Process Management Handbook, Fisher, Control Valve Handbook, Fourth Edition,
Cernay, France, 2005, p. 32.
10 Safety interlock systems
10.1 Introduction
Safety systems play a very important role in the operation of a plant, as the secure
operation is the first task to be fulfilled by any management and control system. In-
terlocking is performed by a set of instruments intended to prevent the plant from
reaching states that have negative impact on the operators, equipment, environment
or products. The design of interlocking systems should consider different levels of risk
that may affect the process and can only be implemented after a deep and comprehen-
sive understanding of the process. Although different standards are known, they are
not generalized and custom-tailored solutions are commonly encountered in practice.
The safety system type of technology logic to be used (e.g. relays, integrated electron-
ics or software systems) and the frequency of testing the system are application de-
pendent. The safety standards follow the same approach.
Nevertheless, designing an efficient and reliable safety system implies a set of
steps to be performed as a general procedure for fulfilling the objective of providing
secure operation. These steps are also known as the model of the safety life-cycle [1].
The prerequisite for designing any safety system is the thorough knowledge of the
plant, process, equipment and their interaction with human operators and the envi-
ronment, in order to be operated for preventing any damaging and harming effects. A
multidisciplinary approach and team may be needed (e.g. process, biochemical, con-
trol, mechanical and electrical engineers, safety and management specialists) to cover
the diversity and complexity of the system under study. Interactions between the sub-
units should be comprehensively revealed.
The hazard analysis is the first step to be performed. The ample identification of
the hazards is important for defining the potential tasks the safety system must cope
with. The hazard analysis implies a Hazard and Operability (HAZOP) study. The rank-
ing of the hazards with respect to the probability of their occurrence and the magni-
tude of their associated effects is also necessary. This task is accomplished by the risk
assessment analysis, preceded by the hazard one. As a result, based on the risk assess-
ment, the hazards are managed either at the level of the conceptual plant design or at
the level of the safety system under design. It is worth mentioning that risk can only
be reduced and not completely eliminated and absolute safety may never be attained.
The next step is to establish the measure of importance for different safety goals.
Accordingly, the safety system performance is established for each of the safety goals
to be achieved. Several levels of safety may be defined at this step. They will be consid-
ered with specific safety equipment, in a hierarchy designed according to the emerged
levels.
The actions implied for satisfying each safety goal and the underlying logic is the
following step of the safety system design. The logic of these actions is the core of
282 | Part II: Analysis of the feedback control system
the design methodology and special attention should be given to considering both
normal operation conditions and start-up or shutdown procedures. If any information
from practical experience of operation in similar cases is available, it would be very
valuable for using it to evaluate (pre-test) the solutions of the designed safety system.
The design should consider a conservative margin for fulfilling its safety goals in order
to cover the variability and the possible lack of exact quantitative assessment of the
risk and associated impact [2].
According to the design, the safety instrumentation is built, commissioned and
pre-startup tested. A solid state construction is desired and usually thorough verifica-
tion is made to ensure long-life operation. Procedures for scheduled tests and mainte-
nance of the safety system must be clearly specified, and stipulated in rigorous time
program diagrams. Any changes to the design and the on-site implementation adjust-
ments of the safety system have to be performed only after a competent analysis in-
volving the team participating in the design work.
Decommissioning and disposal of the safety system is the last step of the safety
life-cycle model. It is intended to develop procedures to be followed at the end of the
system’s life.
As a general rule of thumb the practitioners recommend the safety system be as
simple as possible.
The safety system is commonly designed with a hierarchical structure having the con-
trol system at the bottom of the safety multilayer hierarchy. The hierarchy mainly ad-
dresses the extent or gravity of the hazards to be treated by the safety system. Never-
theless, it is desired that safety layers work independently in order to maximize the
probability of responding to the possible malfunction of the other layers. A typical
multilayer structured safety system is presented in Fig. 10.1 [6]. Some of the layers act
as prevention measures, i.e. to block the incidence of hazards, while other layers mit-
igate for diminishing the effect of the already started incidents.
The safety multilayer system may have additional layers as the risk analysis pro-
ceeds and considering that safety is increased if the number of layers is also increased.
However, each of the safety layers must be designed as simply as possible. Part of the
layers may be situated inside the plant while others outside it. In order to minimize the
complexity of the safety system, the intrinsic safety provided by the conceptual design
of the plant must be maximized. Achieving this fundamental objective will bring addi-
tional benefits directly reflected in the costs of the safety system implementation. The
plant design should decide on solutions to operate at mild conditions, i.e. at low tem-
peratures, pressures and inventories, with mechanical equipment working exposed
to reduced wear, resistant to corrosion and abrasion, at low rotating speed, and in-
10 Safety interlock systems | 283
volving raw materials and products that exhibit reduced hazard for explosion or for
harming human health [3].
By accomplishing its designed role, the regulatory or advanced control system may
be considered part of the safety system. Although this layer’s main task is the efficient
operation of the plant, by keeping the controlled parameters of the process at the de-
sired setpoints, the safety needs would be inherently satisfied in normal automatic
operation mode. In control system design there is a tendency to integrate parts of the
safety functions in the control equipment (e.g. Distributed Control Systems) or dupli-
cate them for redundancy reasons. The latter is the preferable approach.
The alarm and monitoring system is the first one to inform the operating person-
nel that a process is about to reach unsafe states and that opportune action must be
taken by the operator for preventing the appearance and development of potential
hazards. Light, sound, moving parts of the alarm equipment or animation on the mon-
itors (flashing light, changing color, lists) are simple but effective ways of drawing the
operator’s attention to the emerging hazardous state. A quick answer is needed for
this equipment and its operation should be simple, robust and capable to work au-
tonomously (e.g. have its own energy supply, operate during plant start-up or shut-
down). The operators should have competence for interpreting the alarm system in-
formation and for taking appropriate (manual) measures to bring the operation safely
back to normal or to shut down the plant. These procedures must be stated in special
regulation documents and operators be previously trained to cope with all (predicted)
potential situations.
The safety interlock system (also denoted as Safety Instrumented System, SIS) is
usually designed to shut down the plant in a failsafe way, without the operator’s inter-
vention. Its operation is directly related to and dependent on the success of the inher-
ently safety design of the plant. The safety interlock system must have its logic of op-
eration designed according to the previously analyzed and anticipated scenarios and
possibly transposed into Boolean logic mathematical form. The physical implementa-
284 | Part II: Analysis of the feedback control system
tion of this safety layer benefits from different options. The most common is based on
the traditional relays. Nonetheless, hardwired electronic implementation using com-
bined digital and analog electronic devices and software-based systems are increas-
ing in importance and their frequency of application is continuously growing. The
choice of the physical implementation of the safety interlock system has to consider
several aspects, such as: level of security, cost, promptitude of operation, operators’
acceptance or training, frequency of testing and cost of maintenance. During the last
years, the software-based interlock systems have gained increasing acceptance under
the implementation of the Programmable Logic Controllers, although they are not yet
considered as reliable and low-cost as the relay or hardwired solutions. But some of
their appreciated features make them competitive and capable to extend and become
dominant in the future, especially for large applications. Such incentives consist in
versatility, capability of self-testing or diagnosis and compatibility with the computer-
based control systems.
The plant emergency measures safety level may consider physical protection sys-
tems and fire or gas systems. From the first category, the relief devices and contain-
ment dikes (bunds) may be used to protect equipment working at hazardous pressure
and to prevent the spread of the hazardous reliefs (relief valves, rupture disks, flares,
scrubbers). The fire and gas systems are intended to act against the fire by stopping
the fire in an automatic way (e.g. by activating fire sprinklers) or by alarming (e.g. by
the sirens) the community and the fire-fighter service. Evacuation plans for the people
in the neighborhood are part of the mitigation actions in case of severe accidents.
The community emergency measures extend the actions for limiting the conse-
quences of accidents to the outside of the plant.
The alarm and monitoring system is aimed to draw an operator’s attention to the devi-
ation of plant operation parameters from normal limits and appearance of potentially
hazardous events, therefore asking for opportune intervention. This is due to the fact
that the control system is not designed to solve by itself all problems during plant op-
eration and the operators have to take the responsibility of running the process safely
and efficiently in such special situations. The most common alarm function consists in
a lamp (light source) that flashes inside a box having a colored glass or plastic cover on
which (or under which) a label is printed for denoting the alarm source. The alarm may
be associated with a continuous or intermittent sound generated by a horn or buzzer.
By the operator’s acknowledgment, performed when pressing a button, the lamp stops
flashing (and usually gets into continuous lighting) and the sound is stopped. Process
alarms emerging from the control system use the same sensors with the control sys-
tem and point out problems with the equipment. The safety alarms originate from the
safety instrumentation layer and indicate the development of critical operation states.
10 Safety interlock systems | 285
The shutdown alarms are generated by the automatic shutdown system of the safety
instrumented layer and inform the operator on the shutdown trip [7, 8].
The alarm display has to be easily visible by the operator and color coded alarm
information may be assigned to different levels of alarms, according to their impor-
tance: pre-alarms, typical alarms, bypass alarms and shutdown alarms. The red color
is usually assigned to the highest priority alarm (i.e. emergency). According to the or-
der in which the operator should be informed, the alarms may be ranked as having:
low, medium and high priority. The alarms will provide focused information on the cir-
cumstances of appearance, equipment involved, straight measure to be applied and
priority. The sounds generated by multiple alarms must have the amplitude and fre-
quency such as to be easily recognized by the operator and differentiated according
to the level of priority.
The alarm system has to cope with the circumstances of multiple alarms acting
together, during the same period of time. It is important for the operator’s analysis
and for taking mitigating decisions, to be able to discriminate between alarms and
to indicate which of the alarms acted first. This task becomes complicated if the time
responses of the alarms are different. In the case of an automatic shutdown of the unit,
the first acting alarm can be directly discriminated by the operator who acknowledges
the trip and, as a consequence of the acknowledgment, the first alarm may become
flashing while the others will have a continuous illumination.
The standards for the alarm systems consider the limited capacity of an operator
to treat a large number of active alarms. The alarm system should process the flux of
multiple and simultaneous alarms and provide the operator the filtered flux of infor-
mation that reveals the most important ones, according to their priority. Operator ac-
ceptance and capacity for processing information from alarms, under difficult working
conditions and high workload, have to be supervised and appropriate management
regulations should be developed.
The safety instrumented system (SIS) consists of measuring devices (sensors) and ac-
tuators, working together according to the logic solvers, with the aim of bringing the
plant to a safe state when predetermined setpoint conditions are not met or safe oper-
ation is jeopardized [5].
The typical form of the SIS, having the actuator of a control valve as final element,
is presented in Fig. 10.2.
The main parts of the SIS are the sensors, the input and outputs interfaces, the
logic solver and the final control elements [8].
286 | Part II: Analysis of the feedback control system
Power supplies
Communications
Sensors
The sensors are of two main categories. They may have the role of measuring the pro-
cess parameter and providing a continuous signal, proportional to the parameter, or
they may only have the duty of signalizing the violation of particular low or high limits
of the process parameter. For the first case, sensors are associated with analog trans-
mitters and for the second one, they consist in switches (implemented in either pneu-
matic or electric technologies). The sensor switch is a passive device that provides a
binary on-off signal. This signal is changed when the process parameter exceeds the
predefined upper-lower limits [8].
The sensors used in the SIS should have a robust design and work in a failsafe
way for protecting the plant. As they are complex by construction and are exposed to
the interaction with process parameters and the environment, the sensors are some-
times prone to fail in fulfilling their tasks. Exposure to high heat or pressure sources,
mechanical stress (vibrations), aggressive or corrosive media and clogging the con-
necting pipes are some of the typical causes of sensor failures. The most common mal-
function behaviors shown by the sensors are: providing changes of the output signal
without process parameter change, providing improper output signal change when
the process parameter changes, erratic behavior and very long response time. The im-
plications of the sensor response in the case of power loss should be carefully ana-
lyzed. For instance, senor switches should have normally closed contacts. The analog
transmitters should have either upscale or downscale signal response in case of fail-
ure, depending on the effect they should have through SIS on the process. A trade-off
must be made when choosing between sensor switches and analog sensors. The first
category is simple, reliable and cost effective but it is limited with respect to the quan-
tity of information provided and self-diagnosis. The second one offers more informa-
tion on the process variable and the sensor’s state of operation but it is more expensive
and requires qualified maintenance. The SIS may have functions to perform diagnos-
tics on both the transmitter and the field-wiring. The choice of using analog sensors
is preferable when the risk analysis recommends it.
An important measure for dealing with the malfunction or failure of the SIS sen-
sors is doubling the sensors. The sensor redundancy will significantly reduce the prob-
ability that SIS acts wrong due to sensor fail. The redundant sensor should be sepa-
10 Safety interlock systems | 287
rated from the first one with respect to the power supply, the mounting and connection
to the process and to the lines for transmitting the signal.
Periodically testing the sensors’ state of operation is good practice for keeping the
protection potential of the SIS.
Logic solver
The logic solver is the part of the SIS which automatically takes the necessary de-
cisions for activating the final control elements, based on the information received
from the sensor switches and analog transmitters and according to an incorporated
logic [8].
The safety logic was traditionally performed by relays or, later, by hardwired
electronics. Although still present in many applications, the logic solvers based on
these technologies have today been replaced and mostly implemented by safety Pro-
grammable Logic Controllers (PLCs), especially for large applications.
An example of the logic for the activation of the final control element is presented
in Fig. 10.3, using the logical AND and OR gates and Boolean logic.
High
temperature
switch
AND
Low
cooling
flow switch
Final
Output
OR control
port
High element
pressure
switch
AND
High
level
switch
The logic of the solver consists in the following statement: if either the simultaneous
condition of high temperature and low cooling flow or the simultaneous condition of
high pressure and high level are fulfilled, then the final control element should act and
protect the system. In order to prevent the malfunction of the ports and logic gates,
special diagnostic electronic circuits may be added to the logic solver. These diagnos-
tic elements detect, in a switching operation mode, if special generated square wave
signals sent to the gates and ports are transmitted through them. If these square sig-
288 | Part II: Analysis of the feedback control system
nals are also present at the outputs of the gates and ports, they confirm the integrity
of the gates and ports and the fact that they are in a ready state of operation.
The PLC implemented logic solver offers flexibility, reduced costs for large appli-
cations and good compatibility with all digital equipment. The logic solvers are prefer-
ably implemented on safety PLCs which, compared to traditional PLCs, are designed
to be fail tolerant and failsafe. The PLCs have input and output ports and are capable
of performing logical and mathematical operations. They also have special communi-
cation electronics.
Fault tolerance is the ability of a functional unit to continue to perform the re-
quired function in the presence of faults and errors [7]. The fault tolerant device will
also provide an alarm and possibly indicate the fault origin. The diagnosis of the fault
is a feature safety PLC should have implemented in its software. Continuation of the
safety PLC operation in the presence of the faults may be obtained by the use of re-
dundant hardware and software units, thus making possible the online restoring of
the no-fault working regime.
Figure 10.4 presents the 1oo1 (one out of one) architecture.
Input Output
Sensors Logic solver Actuator
circuit circuit
This architecture has only one channel for executing the safety function on the final
element (actuator). The output is in energized state, i.e. closed circuit, when there is no
violation of the safety conditions. The output will be de-energized (i.e. became open
circuit) when a safety function of the logic solver demands it. This is the situation
of the failsafe scenario. But, if the output remains stuck in the energized state, i.e.
closed circuit, the fail will be dangerous, as any triggering of the actuator will not be
able to become executed. This second scenario makes the 1oo1 architecture fail unsafe
(dangerously).
The 1oo2 (one out of two) architecture is presented in Fig. 10.5.
Input Output
Logic solver
circuit circuit
Sensors Actuator
Input Output
circuit Logic solver circuit
This architecture has two channels for executing the safety function on the final
element. The channels work in parallel and their de-energized to trip outputs are con-
nected in series. This architecture provides a failsafe operation if any of the channels
demands it. The safety system only fails dangerously if both of the channels fail dan-
gerously, i.e. if both outputs become stuck in the energized state. In the case when
only one of the channels remains in an energized stuck state, i.e. in closed circuit,
the other channel will continue to offer shutdown protection. This makes the safety
system show a lower chance of failing dangerously.
The 1oo1D architecture presented in Fig. 10.6 has one safety channel associated
to the diagnostic one. The outputs of the two channels are again connected in series.
The diagnostic channel makes possible the detection of a dangerous failure and trans-
forms it into a safe failure.
Input Output
Logic solver
circuit circuit
Sensors Actuator
Diagnostic circuit
The 2oo2 architecture has a two channel configuration and it is used for the case of
energize to trip safety systems. In this case the outputs are connected in parallel. The
system remains protected even in the case when one of the outputs is stuck in the
de-energized state, as the other channel will still offer protection.
The 2oo2D architecture consists of a double 1oo1D architecture setup, with four
channels (two of them being offered by the diagnostic paths) [8].
and abrasion of the valve internal parts, and for the trip valves: leaking, interruption
or constriction of the air supply pipe, blocking of the valve stem. Limit switches or
positioners are used for feedback, in order to get information on the actual state of
operation of the final element.
10.5 Problems
(1) Please draw the 2oo2 architecture with four channel configuration and describe
the operation of the safety system.
10 Safety interlock systems | 291
(2) Explain if the safety interlock system must accomplish its designed tasks in auto-
matic mode, manual mode or in abnormal operation conditions.
(3) Please explain when the interlock system may be disabled (bypassed): in auto-
matic mode, manual mode or in abnormal operation conditions?
(4) Common process taps for redundant transducers are not desired. Please explain
the motivation of this design recommendation.
(5) Consider the system of five tanks that are supplied with liquid by a single feed
pump. Each of the tanks has a level transducer and an on/off inlet valve. The inter-
lock system is designed to work according to the following logic. If the level in the
tank exceeds a predefined upper limit value, then its inlet valve is locked to a closed
position. The feed pump is locked closed if all the inlet valves are closed (feedback
provided by closing a limit switch) and any of the predefined level upper limit values
of the tanks is reached.
1. Please make the logic solver diagram using the logical gates.
2. Please describe the operation of the interlock system.
3. Please describe the operation of the interlock system when one of the level upper
limit transducer fails due to a low signal.
4. Please describe the operation of the interlock system when one inlet valve limit
switch fails (i.e. remains in an opened switch position).
5. Provide a safer design for the interlock system.
References
[1] Overton, T., Berge,r S., Process safety: How are you doing?, Chemical Engineering Progress,
104, (5), (2008), 40–43.
[2] Overton, T. A., and King, G., Inherently safer technology: An evolutionary approach, Process
Safety Progress, 25 (2), (2006), 116–119.
[3] Gentile, M., Summers, A., Cookbook versus performance SIS practices, Process Safety
Progress, 27 (3), (2008), 260–264.
[4] Summers, A. E., Hearn, W. S., Quality assurance in safe automation, Process Safety Progress, 27
(4), (2008), 323–327.
[5] Marszal, E. M., Scharpf, E. W., MIPENZ, Safety Integrity Level Selection – Systematic Methods
Including Layer of Protection Analysis, ISA, 2002.
[6] McMillan, G. K. (editor-in-chief), Considine, D. M. (late editor-in-chief), Process/Industrial
Instruments and Controls Handbook, 5th ed., McGraw-Hill, 1999.
[7] http://www.aiche.org/ccps/topics/elements-process-safety.
[8] http://www.processoperations.com/SafeInstrSy/SS_Main.htm.
|
Part III: Synthesis of the automatic control systems
11 Design and tuning of the controllers
Obviously it is not enough that the process engineer or the process control engineer
puts together and interconnects the elements of the control loop (process, transducer,
controller and final control element) in order to obtain a good quality (see Chapter 5)
control. These elements have to be finely “harmonized”, to make them able to coop-
erate properly with each other. Of course there are several ways of “harmonization”,
starting with the appropriate choice of equipment relative to the process controlled.
The quality of the control depends very much on the process characteristics. If these
are properly understood, the control system has the chance to work appropriately.
Then, because the characteristics of the process, transducer, control valve are some-
how fixed (they are not always fixed because in time their properties are often chang-
ing), the only way of “harmonizing” the functioning of the elements of the control
loop is the controller tuning, which means the appropriate choice of the values of the
controller parameters. Up to now, the majority of the controllers have a P, PI, or PID
structure, meaning that the tuning parameters are Kc , Ti , or Td . In this chapter, we
describe the optimal choice of these parameters.
Let us consider a basketball player who dribbles on the court and we analyze the move-
ment of the ball (Fig. 11.1).
F
T
ymax
ymin
In order to have an undamped oscillation of the ball (meaning the same period T and
the same amplitude H), needed by the player to advance on the court, there are two
conditions to be fulfilled: the player has to apply the same force F, of the same magni-
tude, at the same time equal to the oscillation period of the ball, T. Note that the court
296 | Part III: Synthesis of the automatic control systems
“applies” the same reverse force, F, at mid-period. Similar examples can be given for
a pendulum, for spring-mass systems, for playground swings etc.
A similar phenomenon takes place in a control loop (Fig. 11.2).
D
S
C FCE Process
+
–
c C
C C
C C
t1 t2 t3 t4 t5 t
Fig. 11.2. The closed control loop oscillates when a disturbance D occurs.
When a disturbance D occurs, the output y is pushed away from the setpoint value
and begins to increase, for example; the deviation is “immediately” perceived by the
controller which gives a command in order to bring the process back to the setpoint;
due to the process inertia, the controlled variable follows its increase for a while and
11 Design and tuning of the controllers | 297
then, “feeling” the order, begins to go back to the setpoint value; since the controller
is not necessarily properly tuned, the controlled variable goes beyond the setpoint:
the moment in which the controller intervenes and tries to restrict the decrease. The
inertia provokes the decrease for a while and afterwards the controlled variable goes
back towards the setpoint. The oscillation continues infinitely if the controller does
not buffer the amplitude.
It is observed in both cases (basketball player and control loop) that:
– intervention of the control action in the same direction is at a full period (1 period
is equivalent with −360∘ phase delay), meaning that the total summed phase an-
gle for an oscillation to appear is −360∘ . Because the summing element represents
a phase delay itself of −180∘ (the vectors of the setpoint and reaction variable are
opposite e = r − xr ), the condition phase reduces to −180∘ ;
– the control action upon the process and the other elements in the control loop is
applied with the same magnitude.
The conditions for having undamped oscillations are then (series elements in the con-
trol system):
5
∑ φi = φS + φC + φAD + φPr + φT = −360∘ (11.1)
i=1
and
5
∏ Mi = MS MC MAD MPr MT |ωosc = 1. (11.2)
i=1
Since φS = −180∘ (Fig. 5.4) and MS = 1, the equations (11.1) and (11.2) become
The quality of the control action depends on many factors, among which some are
more important:
1. controllability of the process (see Section 6.2);
2. structure of the control loop;
3. magnitude and form of the disturbance;
4. the place in the process where the disturbance occurs;
5. tuning of the controller parameters.
To appreciate the quality of the control action, there are quality criteria on which the
tuning of controller parameters is based. The most frequently used criteria of quality
are:
298 | Part III: Synthesis of the automatic control systems
(1) Criterion of the integral of the error (IE) (Fig. 11.3) expressed through (11.5):
∞
meaning that the closer the control loop answer is to the setpoint, the better the quality
of the control action is; because the integral of a curve has the geometrical significance
of the sum of the areas under the curve, the equation has the form in (11.5) min takes
a numerical value, e.g. 2.
+
r +
– –
t
This criterion has a problem: when the oscillations are symmetrical, the sum of
the areas is 0 and the quality of the control is bad. This observation produced more
advanced criteria.
(2) Criterion of the integral of the absolute error (IAE) (Fig. 11.4) expressed through
(11.6):
∞
IIAE = ∫ |e(t)|dt= ∑ Si = min, (11.6)
0
which eliminates the disadvantage of the symmetrical areas with opposite sign (+/−).
+ +
r + +
t
(3) Criterion of the integral squared error (ISE) (Fig. 11.5) which is a stronger criterion
since if min has the same value as at IE or IAE, the conditions to be fulfilled are harsher
11 Design and tuning of the controllers | 299
in this case:
∞
y
s12 s22
s 32 s42
s3 t
s1 s4
s2
Fig. 11.5. The ISE criterion.
(5) Criterion of the area of the step response area (Fig. 11.6):
y
r
si
The smaller the area of the step response is, the better the quality of the control action.
σ1
σ3
r
t
Probably about 90 % of the control loops are tuned experimentally and in about 75 %
of cases the operating personnel can “guess” closely the appropriate controller param-
eters based on the knowledge they have about the process and the practical experience
they have with other similar control systems.
The most frequently used methods are those of trial and error [4].
11 Design and tuning of the controllers | 301
Table 11.1. The influence of the PB upon the response to disturbance of a feedback control with P
controller.
σ1 est
The method of successive trials in the process has successive steps described
in the following sequence.
1. Both Integral and Derivative components of the PID controller are eliminated (Ti =
max; Td = 0); the controller is in the “manual” (M) operation mode.
2. The PB is fixed at its maximum value (e.g. PB = 200 %).
3. The controller is switched from “manual” (M) to “automate” (A) functioning
mode.
4. A small disturbance is given either at the setpoint or load; the very small gain of
the controller does not importantly influence the response of the control system,
allowing a large offset.
302 | Part III: Synthesis of the automatic control systems
Table 11.2. The influence of the PB and Ti upon the response to disturbance of a feedback control
with PI controller. There are nine combinations of parameters (C23 ). The influence of the P compo-
nent is always stronger than that of the I component.
t
304 | Part III: Synthesis of the automatic control systems
Kc
y y y
r r r
t t t
y y y
r r r
t t t
y y y
r r r
t t t
Ti
Fig. 11.8. Combined effect of changing both Ti on the x axis and Kc on the y axis; the response is
given at a setpoint step change [10].
5. With the controller again on M mode, the PB is reduced at half value and the ex-
periment from 4 is repeated in A mode of the controller; the action of the controller
is observed as being stronger than before.
6. PB is reduced continuously repeating the actions from 3 and 4 until undamped
oscillations are obtained; this is the ultimate or oscillation value of the PBu .
7. PB is fixed at PB = 2PBu value.
8. Ti is reduced at half value from the maximum; the operation mode is M.
9. The experiment regarding Ti is continued in a similar procedure as expressed in
the sequence of steps 3–6, until undamped oscillations are obtained (Ti = Tiu );
10. Ti is fixed at = 2Tiu value.
11. Td is increased step by step until the same oscillatory regime is obtained (Tdu );
12. The derivative component is fixed at Td = 0.5 Tdu .
11 Design and tuning of the controllers | 305
13. PB is reduced in steps of 10 % until the overshoot is the desired one and the damp-
ing is adequate (usually 1/4 decay).
In some cases, this method does not give the expected results and not necessarily be-
cause of its 13 “bad-lucky” number of steps; there are systems of “conditioned” stabil-
ity that become unstable both at too small or too large PBs.
With the values of Ku and Pu experimentally determined, Ziegler and Nichols proposed
the optimal controller parameters given in Tab. 11.3.
Controller structure
Optimal controller parameter
P PI PID
PB 2PBu 2.2PBu 1.7PBu
Ti — 0.83Pu 0.5Pu
Td — — 0.12Pu
306 | Part III: Synthesis of the automatic control systems
Example 11.1. For a cascade of 3 CSTRs (Fig. 3.12) [6], at the input concentration CA0 =
0.98 kmol/m3 , the steady state values of concentration of A in the three reactors are:
CA1 (0) = 0.4 kmol/m3 , CA2 (0) = 0.2 kmol/m3 , CA3 (0) = 0.1 kmol/m3 ; following the
step change in input from 0.98 kmol/m3 to 1.8 kmol/m3 , the steady state values of
CA in the reactors are changing. The reaction is a first order one in all three reactors,
the retention time in each is τ = 2 min, the ultimate period of oscillation is Pu =
3.63 min and the PBu = 1.56 %. The cascade of reactors has a concentration control
loop measuring the output concentration of A. The optimal settings of the controller,
according to Ziegler and Nichols are given in Tab. 11.4.
Table 11.4. The optimal controller settings in the case of the three CSTR control loop.
Controller structure
Optimal controller parameter
P PI PID
PB [%] 3.12 3.6 2.8
Ti [min] — 3.03 1.82
Td [min] — — 0.453
The behavior of the control loop in the three cases of optimal setting is given in
Fig. 11.10.
The method of bringing the process to instability has two major disadvantages:
– it is a slow method, especially when the process has delays of hours or even days;
such an experiment as those described before may last weeks, during which the
process does not work properly;
– it is a dangerous method, since the process cannot be controlled once at instabil-
ity; the nonlinear behavior of the process can cause severe deviations from the
tolerable range of operation.
11 Design and tuning of the controllers | 307
CA3[kmol/m3]
P
0,11
0,10 PID
PI
0,09
5 10 15 t [min]
Fig. 11.10. Behavior of the concentration control system in the three CSTR cascade.
This is the reason why in the case of slow processes, other more rapid methods are
used; at the same time, the disturbance of the process is a minimum one.
Table 11.5. Optimal settings of the controller based on the process response curve.
Controller structure
Optimal controller parameter
P PI PID
PB [%] Kpr ⋅ τ /T ⋅ 100 1.1Kpr ⋅ τ /T ⋅ 100 0.7Kpr ⋅ τ /T ⋅ 100
Ti [min] − 2τ 2.5τ
Td [min] − − 0.4τ
308 | Part III: Synthesis of the automatic control systems
I Δy
1 1
A
O M N t [min] t [min]
0 1 2 3 4 0 1 2 3 4
τ T τ T
r[%]
60
50 t [min]
1 2 3 4
Fig. 11.11. The step response evidences the dead time, time constant and the gain. Left: practical
curve showing the behavior of the level in the tank when the setpoint is changed 10 %. Right: the
common way τ and T are identified on the “process” curve.
The observations made are related to the controllability of the process: if the ratio τ /T
increases, its controllability is worse and the instability of the feedback control loop
increases (Section 6.2). Also, if the process gain is high, the instability increases. In
order to stabilize the process, the PB has to increase together with Kpr ⋅ τ /T. The ratio
between Ti and Td is in the range 4–6. If instead of PB, Kc is used, Kc has to decrease.
The Cohen–Coon method [7] is similar (Fig. 11.12). With the controller on “Manual”
mode, a small Δc is given. On the diagram of the process, all elements are identified:
t0 – the time when Δc was initiated; t2 – the time where the half point of the final
settlement occurs; t3 – time when 63.2 % point of the final process settlement occurs.
The difference is the way the “process” parameters are calculated: the equivalent
dead time is t1 –t0 , the time constant is t3 –t1 , and the gain is Δy/Δc.
t1 = (t2 − ln(2)t3 )/(1 − ln(2)).
y Δy
Δy/2 0.632 Δy
1 2 3 4
t0 t2 t3 t (min)
c
Δc
1 2 3 4
t (min)
Fig. 11.12. The process step response gives details about the steady state and dynamics of the pro-
cess.
lability is worse (T/τ is small), the controller gain is smaller; as a general rule of the
thumb, Ti and Td are inverse proportional with T/τ which is normal if we take into
consideration the influence of both parameters on the stability of the loop.
Lambda method
The third frequently used tuning method which is worth mentioning is the Lambda
method of tuning [2, 7] which takes care of the properties of the process as well.
“Lambda tuning” refers to all tuning methods where the control loop speed of re-
sponse is a selectable tuning parameter; the closed loop time constant is referred to
as “Lambda”. The method has as a result a choice of parameters which gives a robust
stability to the control loop.
Figure 11.13 gives the way to determine the process parameters, which is very sim-
ilar to the Cohen–Coon method.
Smuts [7] gives the following advice: Pick a desired closed loop time constant (λ )
for the control loop. A large value for λ will result in a slow control loop, and a small
λ value will result in a faster control loop. Generally, the value for λ should be set
between one and three times the value of T. Use λ = 3 ⋅ T to obtain a very stable control
loop. If you set λ to be shorter than T, the advantages of Lambda tuning listed above
soon disappear. Calculate PID controller settings using the equations below:
310 | Part III: Synthesis of the automatic control systems
1.03 T
PB Controller Kc = ( ) ( + 0.34)
gp τ
0.9 T T + 0.092τ
PI Controller Kc = ( ) ( + 0.092) TI = 3.33τ ( )
gp τ T + 2.22τ
1.24 T T − 0.324τ
PD Controller Kc = ( ) ( + 0.129) TD = 0.27τ ( )
gp τ T − 0.129τ
1.35 T T + 0.185τ T
PID Controller Kc = ( ) ( + 0.185) TI = 2.5τ ( ) TD = 0.37τ ( )
gp τ T + 0.611τ T + 0.185τ
(Noninteracting)
y(t)
yst
c(t)[%]
Δy
60 0,63(yst–y0)
Δc y(0)=y0
50
t 0
τ T
Fig. 11.13. Step response experiment for determining the controller parameters using Lambda
method; c is the controller output and y is the process variable.
Olsen and Bialkowski [2] give the same values for the calculation of the controller
parameters.
The specialists from VisSim [13] give some practical advice which we found ap-
propriate to be mentioned in this book.
The aforementioned methods (e.g. Cohen–Coon, Ziegler–Nichols), calculate val-
ues which are approximately in the right range and can be used with success. The au-
thors experimented several times with these methods and the tuning was quite appro-
priate. But usually, additional manual tuning is required. Most tuning is usually done
by trial and error. The authors mentioned above proposed a method of approaching
trial and error tuning which of course can be improved by any engineer in the field.
11 Design and tuning of the controllers | 311
1. At the beginning, a small step in the manipulated variable should be done and the
effect on the controlled variable response should be observed: the direction and
size of the change (to be able to calculate the sign and process gain); the stabilizing
time of the response when a step change in load or setpoint is made (to calculate
the process time constant – one third to one fifth of the time to settle after the
change).
2. With the controller on Manual mode, the “set-up” parameters, e.g. the limits on
the manipulation, and measurement, the direction of control action (a reverse
acting controller is required when the process gain is negative) should be estab-
lished.
3. Switch off the integral and derivative action in the controller by setting the Ti to
maximum and the Td to zero. Set the controller gain to a relatively small value (say
Kc at 0.5 or PB at 200 %). This initial value can be higher if the process gain is low
and smaller if the process gain is high.
4. With the controller on Automatic mode, we should make a small change in the
setpoint and observe the controlled variable’s response: if the response is oscil-
latory one has to reduce the controller gain, if it is slow and weak, one has to
increase it. Changes in the controller gain by a factor of between 2 and 10 are to
be done, depending on the knowledge about the process and the limitations we
have concerning the safety. The action should be repeated (with the controller on
Manual when changing the gain or PB) until a response with a decay ratio from
one quarter to one half is obtained.
5. At this point, one should reduce the controller gain by around 25 % to better sta-
bilize the control loop and to prepare the introduction of the I and D components.
Now set the integral time constant (if integral action is needed) to a value of the
order of magnitude or even to the value of the process time constant.
6. Modify the Ti until a one quarter decay ratio is obtained. If the response is too
oscillatory, then increase Ti , if it is too slow, reduce the Ti . Recommended changes
in the Ti are with a factor of 2.
7. If derivative action is needed (slow processes), the Td should be chosen at around
one quarter the process time constant. The action from point 4 is repeated and
we should observe the response adjusting the constant as desired. Derivative ac-
tion is very sensitive and sometimes unpredictable. Examples of “difficult to tune
processes” will be given afterwards.
8. At the end, the controller gain should be changed by small amounts until we ob-
tain the desired controlled response.
D(s)
HprD(s)
+
R(s) + E HC(s) C HAD(s) Hprm(s) Y(s)
Σ
– +
Xr(s)
HT(s)
The roots of the polynomial 1 + HT (s)HC (s)HAD (s)Hpr m (s) define the stability of the
control system (Chapter 2, Section 2.15). The characteristic equation,
If the equation (11.17) has at least one root in the right half-plane s, the closed system
is unstable.
11 Design and tuning of the controllers | 313
where the ai ’s and bi ’s are real constants and m ≤ n. An alternative to factoring the
denominator polynomial, Routh’s stability criterion, determines the number of closed
loop poles in the right half-plane s.
sn a0 a2 a4 a6 ...
sn−1 a1 a3 a5 a7 ...
sn−2 b1 b2 b3 b4 ...
sn−3 c1 c2 c3 c4 ...
sn−4 d1 d2 d3 d4 ...
... ... ... ... ... ...
s2 e1 e2
s1 f1
s0 g0
where
a1 a2 − a0 a3
b1 =
a1
a1 a4 − a0 a5
b2 =
a1
a1 a6 − a0 a7
b3 =
a1
......
314 | Part III: Synthesis of the automatic control systems
Example 11.2. Considering the 3 CSTRs cascade system (Fig. 3.12) [6], we want to de-
termine the condition of stability of a concentration ACS with a P controller.
The transfer function of the process is
3
( 12 ) CA3 (s)
Hpr m (s) = = (11.21)
(s + 1)3 CA0 (s)
and that of the controller is
Hc (s) = Kc . (11.22)
Routh’s matrix is
1 3
[ ]
[ 3 1 ]
[ ]
[ 9−1 8 ] (11.24)
[ = 0 ]
[ 3 3 ]
[ 8 ]
=1 3
8
[ 3 ]
and does not present any sign change, meaning the system is stable in open loop.
11 Design and tuning of the controllers | 315
Considering (11.18), the stability of the closed loop is given by the condition
3
( 12 )
1 + Kc = 0, (11.25)
(s + 1)3
which becomes
Kc
s3 + 3s2 + 3s + (1 + ) = 0. (11.26)
8
Routh’s matrix is
1 3
[ ]
[ 3 1+
Kc ]
[ 8 ]
[ ]. (11.27)
[ 9−(1+
Kc
) ]
[ 8
0 ]
[ 3 ]
Kc
[ 1+ 8 ]
The only term capable of becoming negative and thus bringing instability to the closed
loop is
K
9 − (1 + 8c )
< 0, (11.28)
3
and the condition means
Kc
(8 − 8
)
< 0 and then Kc > 64. (11.29)
3
Then, for a controller gain Kc < 64, the ACS is stable. In order to have a smaller offset,
we may choose Kc = 64.
Example 11.3. Consider the same system of 3 CSTRs with the concentration control
loop and a P controller as in the previous examples. The characteristic equation is
Kc
s3 + 3s2 + 3s + (1 + ) = 0. (11.30)
8
Substituting s with jω , the characteristic equation becomes
Kc
− jω 3 − 3ω 2 + 3jω + 1 + =0 (11.31)
8
Kc
(1 + − 3ω 2 ) + j(3ω − ω 3 ) = 0. (11.32)
8
316 | Part III: Synthesis of the automatic control systems
This means
The value of the gain at the limit of stability is 64, the same value as that obtained
with the previous method. Regarding s, considering that the real part is = 0, the roots
of the equation are situated on the imaginary axis and the ω obtained is the crossover
frequency, that of oscillation, ωosc . The oscillation period, Posc = ω2π = 3.64 min, is
osc
the same as obtained in Example 11.1.
Im[H(jω)]
ω=∞ ω=0
(–1, 0j) Re[H(jω)]
Example 11.4. The pressure in the system of two vessels in series (Fig. 11.16) is con-
trolled with a P controller. The maximum Kc to assure the stability of the loop is to be
determined.
11 Design and tuning of the controllers | 317
PC
ΔF
F Patm=0
P1 P2
H4(s)
ΔF 2
20s+1
H1(s) H2(s)
+ 2.2 3 0.8 ΔP2
Kp
– 2s+1 15s+1 20s+1
H3(s)
H5(s)
0.16
Fig. 11.16. Pressure ACS with (a) two vessels in a series; (b) block scheme of the ACS.
Im[H(jω)]
For stability, it is demanded that there is no encirclement of the point (−1, j0). The
conditions for that are
Im[H(jω )]|ωosc = 0
and
Re[H(jω )]|ωosc > −1 (11.40)
11 Design and tuning of the controllers | 319
and from it, the crossover frequency ωosc is calculated. Equation (11.4) becomes
2. Td is chosen from the phase margin of +30∘ or +45∘ to assure the stability of
the ACS
1
φc = tan−1 (Td ωosc − ) = +30∘
Ti ωosc
3. Kc is deduced from (11.44).
Fset
i
F
that of substituting guessed values directly into the equation. The range in which we
choose the guessed values is one including the corner frequency at which the mod-
ule of a capacity decreases importantly. The corner frequency, ωc , for the system de-
scribed is
2π
ωc = , where Tmax = TAD = 3 s.
Tmax
The equation (11.3) becomes
360
(− tan−1 0.5ω − tan−1 0.2ω + 0 − tan−1 3ω ) = −180∘ (11.46)
2π
and the solution has to be searched for in the range 0.01 ⋅ ⋅ ⋅ 10 rad ⋅ s−1 . Applying the
trial values one obtains
ωosc = 3.5 rad ⋅ s−1 meaning that the loop has an oscillation at every 1.8 s.
From (11.44)
1 2.5 1.3
Kc = 0.5,
√1 + 0.5 3.5 √1 + 0.2 3.5
2 2 2 2 √1 + 32 3.52
1 1
MPI (ω ) = Kc √1 + and φPI (ω ) = − tan−1 . (11.47)
Ti2 ω 2 Ti ω
From (11.21)
1 2.5 1 1.3
Kc √ 1 + 2 2 = 0.5
√1 + 0.52 2.12 √1 + 0.22 2.12 5 2.1 √1 + 32 2.12
results
Kc opt = 3.52 or PBopt ≈ 28.3 %
and
Ti opt = 5 s.
1 2 1
MPID (ω ) = Kc √ 1 + (Td ω − ) and φPID (ω ) = − tan−1 (Td ω − ) . (11.48)
Ti ω Ti ω
1
φc = tan−1 (Td ωosc − ) = +30∘ ,
Ti ωosc
and in the first approximation considering ωosc = 3.5s−1 without the influence of I and
D components of the controller.
1
tan 30∘ +
Td = 3 ⋅ 3.5 = 0.148 s.
3.5
Taking into consideration the influence of I and D, the real crossover frequency ωosc >
ωosc above approximated. This induces an equivalent module condition for (11.3):
Thus,
2
1 2.5 1 1.3
Kc √ 1 + (0.148 ⋅ 3.5 − ) = 1.0
√1 + 0.52 3.52 √1 + 0.22 3.52 3 ⋅ 3.5 √1 + 32 3.52
Ti opt = 3 s
Td opt = 0.15 s.
If we examine Tab. 11.3, we observe these values are confirmed orientatively by the
Ziegler–Nichols method as well.
11 Design and tuning of the controllers | 323
Actually, the small value of Td opt , which cannot be practically fixed in the con-
troller, shows that its value should be 0 instead. As we shall see in the next chap-
ter, and as was already shown in Chapter 8, “fast” processes such as the flow in the
pipeline do not need a D component of the controller.
At the end of this section, we want to mention that there are processes that are dif-
ficult to tune. For these, the rules detailed previously do not give appropriate results.
An “easy to be controlled” process control loop is one which satisfies the following
characteristics imposed to the controlled process when a disturbance on the process
occurs:
1. the process responds quickly without a significant delay;
2. it goes directly towards the new steady state without going first in the opposite
direction;
3. it settles to the new steady state.
In this case, the controllability is a good one (see Section 6.2) and the ACS easily con-
trols the process (Fig. 11.19).
y
y
r
t
0
0 r
t
(a) (b)
y y y
r r
t t t
(a) (b) (c)
For processes with a dead time, the problem can be solved using the experimental or
theoretical methods introduced before. If the process is not controllable, some other
ACSs (cascade, feed forward etc.) are used.
1. For processes with inverse response the solution can be given by a properly tuned
PID controller. There are other methods too to deal with this problem, either to
approximate the inverse-response with a dead time and capacity behavior, or to
compensate the inverse response; the last method gives the best results and it is
largely described in [17, 18].
2. In the case of open-loop unstable systems, the transfer function has at least one
RHP pole. It is obvious that when disturbing the process in any direction the sys-
tem goes to its limit (e.g. an exothermic thermally unstable reactor [19]). The sys-
tem can be stabilized (details are given in [19]) using a properly tuned controller.
Example 11.6. Consider the transfer function of the open loop without controller
K
H(s) = (11.51)
Ts − 1
and a proportional controller in the loop. Obtain the range of Kc for which the closed-
loop system is stable.
The characteristic equation is
KKc
1+ = 0 which gives (11.52)
Ts − 1
Ts − 1 + KKc = 0 and (11.53)
1 − KKc
s= is the root. (11.54)
T
If we want the root to be negative (and the closed loop stable), the condition is
1
Kc > .
K
11 Design and tuning of the controllers | 325
When it is noticed that with all proper tuning of the controller parameters, the ACS is
still unstable, one has to pass to another level of complexity, that of unconventional
or advanced control which is the subject of the next book in the series.
11.6 Problems
(1) A non-isothermal CSTR has a temperature control system. Determine the structure
and optimal values of a temperature controller.
Knowing dynamic and steady state properties
– of the jacket: time constant Tag = 4 min, transport dead time in the jacket τag =
∘
0.5 min, Kag = 0.63 m3 C/h ;
∘
– of the CSTR wall: Tw = 4 min, Kw = 0.45 ∘ C ;
C
∘
– of the reaction mass in the interior, Tr = 26 min; Kr = 0.8 ∘ C ;
C
3
– of the actuator, KAD = 3.5 mmA/h ;
– of the transducer, KT = 2 mA
∘ C , where the delays of the actuator and transducer are
considered 0.
(2) A distillation column (Fig. 11.21) has 8 trays in its concentration section. As is
shown, a concentration control system collects the sample from the tray 3 and ma-
nipulates the reflux flow.
Each tray behaves as a capacity and has a time constant of Tt = 0.1 min and a gain
% mol
factor Kt = 1.1 kmol/min . The actuator and transducer have a total gain of 1 kmol/min
mA
mA
% mol
and negligible delay.
The crossover frequency, ωosc has to be determined. How is this frequency modi-
fied when the concentration sample is collected on tray 8? What is the optimal value
of the P controller gain of the control loop in both situations?
4m
(3) The speed of the conveyor belt (Fig. 11.22) is v = min . The weight transducer is
placed at 8 m distance from the slide valve of the ACS. The crossover frequency in
the conditions of an integral control and the integral time of the controller are to be
calculated for the QDAR criterion.
(4) Having a two CSTR cascade with a concentration ACS (Fig. 11.23), using Nyquist
criterion, determine the maximum controller gain for which the loop is stable.
The data are the following:
m3
V1 = V2 = 1 m3 , F 1 = F 2 = Fi = 4 ;
h
the reaction is isothermal with first order kinetics and the rate constant is k = 2 h−1 .
The concentration transducer has the measurement range 11.8 kmol m3
and the output
326 | Part III: Synthesis of the automatic control systems
R
D
3
AC
8
F
l=8m
C
Fig. 11.22. Conveyor belt with a flow ACS.
signal in the range 4–20 mA; the delay of the transducer is given by the time constant
TT = 2 min. The control valve is linear and works with unified signal 4–20 mA and
3
controls a flow between 0 and 4 mh .
(5) The components of a heater control system are shown in Fig. 11.24. The time con-
stants of the actuator, process and transducer are 5, 20, and 100 s. The improvement
of the performance of the ACS is proposed introducing a supplementary sheath of the
resistor which doubles its time constant, allowing a larger controller gain.
11 Design and tuning of the controllers | 327
Fi F1
Vi V2
k k
F2
AC
D
r KAD + + KPR y
Kc
+ 5s+1 20s+1
–
1
100s+1
(6) The maximum value of a P controller using Routh’s criterion for a control loop
with the following characteristics has to be determined. One first order capacity with
T1 = 1 min and K1 = 2; six capacities in series each with T2 = 1 min, K2 = 1; one
control valve behaving capacitive with Tcv = 2 s, Kcv = 1.5.
(7) A step response experiment on a heating process gives the following data:
Time (min) 0 1 2 3 4 5 6 7 8 9 20 30
Response ( ∘ C) 0 0 0 4 10 19 27 35 41 45 48 50
The input flow variation is of 2 flow units. Determine, using all methods available, the
crossover frequency and the maximum P controller gain. The optimal parameters of
a PID controller using the process control curve, Cohen–Coon and Lambda methods
have to be computed. Discussion is required.
328 | Part III: Synthesis of the automatic control systems
(8) The temperature in a continuous CSTR is controlled by an ACS with the following
characteristics:
The transducer has the measuring range 100–200 ∘ C and an output standard sig-
nal 2–10 mA. The controller is PI and has a PB = 25 % and Ti = 3 min, having both
input and output signals in the range 2–10 mA The control valve has a Kv = 4, a lin-
ear characteristic, an input signal in the range 2–10 mA and s constant pressure drop
Δpv = 0.25 bar. Cooling water passes through the valve.
If the control signal is 6 mA at error e = 0, what flow passes through the valve?
If a step change of the reactor temperature of 5 ∘ C occurs, what will be the immediate
effect on the output of the controller and on the water flow value? What happens if the
tuning is done with PB = 100 % and Ti = 10 min?
(9) The ACS of a heat exchanger has the following transfer functions:
0.047 m/bar m3 /min
HCV (s) = ⋅ 112
0.083s + 1 m
∘ 3
2 C/(m /min)
Hpr (s) =
(0.017s + 1)(0.432s + 1)
0.12 bar/ ∘ C
HT (s) = .
0.024s + 1
Using the direct substitution method, show that the limit gain factor of the P controller
is Kc = 12 and the period of oscillation is Tu = 0.36 min.
(10) Determine the same parameters as in Problem (9), using the Nyquist method.
References
[1] Agachi, S., Automatizarea proceselor chimice, Ed. Casa Cartii de Stiinta, Cluj-Napoca, 1994,
p. 162.
[2] Olsen, T., Bialkowski., B., Emerson Process Management, Lambda Tuning as a Promising Con-
troller Tuning, Method for the Refinery, prepared for Presentation at 2002 AIChE Spring Na-
tional Meeting in New Orleans, March 2002, Session No. 42 – Applications of Control to Refin-
ing.
[3] Agachi, S., Automatizarea proceselor chimice, Ed. Casa Cartii de Stiinta, Cluj-Napoca, 1994,
p. 163.
[4] ibidem, p. 166.
[5] Ziegler, J. G., Nichols, N. B., Optimum settings for automatic controllers, Trans. ASME, (1942),
759–768.
[6] Luyben, W., Process Modeling, Simulation and Control for Chemical Engineers, McGraw Hill,
N.Y., 1996, Chap. 10.
[7] Smuts, J., Control Notes, Reflections of Process Control Practitioner, Cohen Coon Tuning Rules,
http://blog.opticontrols.com/archives/383, 2010–2013, March 24, 2011.
[8] Ogunnaike, B., Harmon Ray, W., Process Dynamics, Modeling and Control, Oxford University
Press, 1994, Chapter 15, p. 520.
11 Design and tuning of the controllers | 329
[9] Skogestad, S., Probably the best simple PID tuning rules in the world, Annual AIChE Meeting,
Reno, NV, paper 276h, 6 Nov., 2001.
[10] Rivera, D. E., Morari, M., Skogestad, S., Internal model control. 4. PID controller design, Ind.
Eng. Chem. Res. 25 (1), (1986), 252–265.
[11] Buckbee, G., Best Practices for Controller Tuning, ExperTune Inc., 2009.
[12] Rice, R., PID Tuning Guide, A Best – Practices Approach for Tuning and Understanding PID Con-
trollers, Second Edition, Control Station Inc., 2013.
[13] http://www.online-courses.vissim.us/Strathclyde/tuning_pid_controllers.htm
[14] Agachi, S., Automatizarea proceselor chimice, Ed. Casa Cartii de Stiinta, Cluj-Napoca, 1994,
p. 170.
[15] Ahmad, A., Somanathi, M., PID controller tuning for integrating processes, ISA Transactions
49, (2010), 70–78.
[16] O’Dwyer A., Handbook of PI and PID Controller Tuning Rules, 2nd ed. London, Imperial College
Press, 2006.
[17] Ogunnaike, B., Harmon Ray, W., Process Dynamics, Modeling and Control, Oxford University
Press, 1994, Chapter 17.
[18] Waller, K., Nygardas, C., On inverse response in process control, I&EC Fund, 14, (1975), p. 221.
[19] Agachi, P., Automatizarea proceselor chimice, Ed. Casa Cartii de Stiinta, Cluj-Napoca, 1994,
p. 241.
12 Basic control loops in process industries
Chemical processes are generally controlled through five parameters: flow, pressure,
level, temperature and concentration. There are also other parameters which can be
controlled, but they are not very frequently met: distance between electrodes, current
and inter-electrode voltage (all in electrochemical processes), rotation speed, torque,
weight or turbidity etc.
The present chapter focuses only on the main parameters mentioned above: flow,
pressure, level, temperature and concentration. Each of the controlled parameters has
particularities which impose a certain control solution.
Measuring and controlling the flow is important due to the importance of the mass
balance in process industries. It is extremely important to have control of the material
consumption/production in all processes of reaction or separation. It is important not
only for the stoichiometry of a reaction or the appropriate separation of compounds,
but also for the economy of the process which is very often determining.
Different ways of controlling the flow are depicted in Fig. 12.1.
The flow can be controlled either by choking (strangling) the material vein
(Fig. 12.1a), modifying the centrifugal or dosage pump motor speed by a Variable
Frequency Drive (VFD) (Fig. 12.1b, c, d), modifying the number of strokes of the me-
tering (piston) pump (Fig. 12.1e), or modifying the rotation speed of the motor of a
conveyor belt or of a screw pump (Fig. 12.1f, g).
Process characteristics
Flow is a momentum transfer process. In most cases, the liquid flow control system
manipulates the material flow modifying the pressure drop on the transport line, using
a control valve. The characteristic of the centrifugal pump is given in Fig. 12.2.
The characteristic of a centrifugal pump and of the pipeline can be deduced from
[1] and are given by equations (12.1).
pcp = K1 n2 + K2 nF + K3 F 2
pp = p0 + KF 2 , (12.1)
where pcp is the centrifugal pump head pressure [N/m2 ], pp – the pressure character-
istic of the pipeline [N/m2 ], p0 – the output pressure of the pump [N/m2 ], n – the rota-
tional speed of the motor [rpm], F – the fluid flow rate [m3 /s]. K, Ki are constants.
When the pressure drop on the pipeline increases, the outflow decreases from the
nominal value FN to F1 . To return to the nominal flow rate, it is necessary to decrease
12 Basic control loops in process industries | 331
FC M FC
(a) (b)
FC
TB FC
(c) (d)
FC M FC
(e) (f)
FC
(g)
1
N
P1
2
PN
P2
Pe
the pressure drop on the pipeline by opening the control valve. Thus, the pressure
drop on the pipe decreases and the curves 1 and N overlap.
When the flow rate control is done by modifying the rotational speed n, (Fig. 12.3),
the characteristics of the pump change with ni .
332 | Part III: Synthesis of the automatic control systems
1
N
With the same pipeline characteristic, modifying n in the range n1 ⋅ ⋅ ⋅ n2 , one may
change the flow in the range F1 ⋅ ⋅ ⋅ F2 .
The momentum transfer process is a special case in which the flow is both the con-
trolled and the manipulated variable. As a consequence, apparently, the steady state
characteristic is a straight line with a slope of 45∘ and the steady state gain of the pro-
cess is 1. The situation is a little bit more complicated since the flow is not manipulated
by itself (Fig. 12.1a) but through the pressure drop on the pipeline (Fig. 12.2).
The dynamic characteristic is given by the law of momentum conservation (3.16):
ρ v2 lp ρ v2 d
ρ ghAp − (∝ +λ ) Ap = (Ap lp ρ v)
2 dp 2 dt
and if on the left-hand side of the equation we replace the first term with Ap Δp, and
F l
then v = Ap
, m = Ap lp ρ , ∝ +λ dp = C, the equation becomes
p
ρ F2 Ap lp ρ dF
Ap Δp − C 2
Ap = . (12.2)
2Ap Ap dt
Deriving from (12.2), one can deduce the steady state characteristic
ρ F2
Ap Δp − C A = 0, (12.3)
2A2p p
2
F = Ap √ Δp. (12.4)
Aρ
The steady state characteristic F = f (Δp) is nonlinear and is shown in Fig. 12.4.
Equation (12.2) is first order nonlinear due to the F 2 term and in order to describe
the dynamics of the flow using a capacitive behavior one has to linearize around the
nominal point of operation. It is quite acceptable to do this approximation because the
control system, if it is properly tuned, should not allow deviations from the nominal
flow larger than ±10 %.
12 Basic control loops in process industries | 333
Fn
The linearization is done using Taylor’s expansion formula (equation (3.6)) around the
steady state point of operation (nominal point), x0 :
1 df 1 d2 f
f (x0 + Δx) = f (x0 ) + |x0 Δx + | Δx2 + ⋅ ⋅ ⋅ . (12.5)
1! dx 2! dx2 x0
Because Δx is a very small quantity, the terms with superior powers to 1 are negligible,
so we can approximate the function with
1 df
f (x0 + Δx) ≈ f (x0 ) + | Δx. (12.6)
1! dx x0
One cannot say the Δx has to be chosen 0.01 m, 1 m3 /h, or 10 ∘ C and these values are
small enough to allow the linearization. All depends on the system under discussion:
if we need to approximate an infinitely small element in an electrolysis DeNora amal-
gam cell of 22 m, the Δx infinitely small element can be the dimension of an anodic
frame of 0.8 m; if the temperature in a CSTR is of 80 ∘ C, Δx can be of 8 ∘ C.
Thus, F 2 from equation (12.2), can be expressed as
d(F 2 )
F 2 = Fn2 + | (F − Fn ) = Fn2 + 2Fn (F − Fn ) = 2Fn F − Fn2 , (12.7)
dF Fn
where Fn is the nominal operating flow desired as controlled variable value.
Thus, (12.2) becomes
ρ ρ F 2 Ap lp ρ dF
Ap Δp − C 2Fn F + C n = . (12.8)
2Ap 2Ap Ap dt
lp ρ Fn dF Fn
+F = Δp, (12.9)
2Ap Δpn dt 2Δpn
it depicts a capacitive behavior with a time constant and gain factor of the process
lp ρ Fn Fn
Tpr = and Kpr = . (12.10)
2Ap Δpn 2Δpn
334 | Part III: Synthesis of the automatic control systems
Controller
The structure of the controller is either P or PI with usual values of PB = 50–200 %
and Ti ≈ 130 s depending on the time constant of the control valve which is the slow-
est element in the loop [2]. The D component of the controller is eliminated due to
the instability of the process. The same influence has a too small Ti , destabilizing the
process.
Control valve
The steady state characteristic has to compensate the other nonlinearities in the con-
trol loop: process (equation (12.4)) and transducer. Thus, usually it has an equal per-
centage or modified parabolic characteristic. The Kv is calculated as in Chapter 9. The
control valve, although theoretically from the dynamic point of view is a second or-
der element, it is considered a first order one with largest time constant in the control
loop, of the order of seconds for the regular control systems.
From this example we can observe that the process is a fast one with time constants of
the order of seconds. It is well known that due to the turbulence in the pipelines, the
process is noisy, very unstable around the average values of the flow rate, inducing
instability in the control loop.
12 Basic control loops in process industries | 335
Considering the Example 11.5 of a flow ACS, with the data from the example,
m3 /s l/min
Tpr = 1 s and Kpr = 0.33 ⋅ 10−7 = 20 ,
N/m2 bar
mA
TT = 0.2 s and KT = 2.5 ,
l/min
bar
TAD = 3 s and KAD = 0.05 .
mA
The optimal values for a PI control are the same or very close to those in the ex-
ample mentioned:
Pressure is another important parameter for controlling the mass balance of a process.
Pressure is important for the chemical equilibria in the catalytic gaseous reactors,
the total pressure imposing the adsorption, absorption and kinetic rates. Measuring
the pressure of the liquid is irrelevant for the mass content, but it is very relevant
for gaseous systems. When a gas is transformed isothermally, the pressure can be
changed either by volume variation or by flow rate variation. When the thermody-
namic system implies vapor/liquid equilibrium, the pressure can be changed, chang-
ing the temperature. As an example, the pressure at the top of a column (Fig. 12.5)
can be modified either through the outflow of the non-condensable gases when these
exist, or through the cooling agent flow rate of the condenser at the top of the column.
PC
PC
R D
R D
(a) (b)
Another solution for controlling the pressure in the same system is to control the level
of condensate in the condenser. In this way we modify the heat transfer area and,
implicitly, the quantity of vapors condensed.
In a simple pressure control, pressure is kept constant either through changing
the inflow or the outflow (Fig. 12.6).
336 | Part III: Synthesis of the automatic control systems
PC PC
P P
P0 R1 R2 P1 P0 R 1 R2 P1
Fig. 12.6. The pressure can be controlled through the recipient inflow (a) or outflow (b).
Process characteristics
Considering the first situation in Fig. 12.6, the mass balance written for a recipient is
dm
Fmi − Fmo = , (12.11)
dt
where Fmi and Fmo are the input and output mass flows.
The mass in the recipient is in an isothermal transformation expressed by Tab. 3.1:
pM
m = Vρ = V , (12.12)
RT ∘
where: V – the volume of the recipient, ρ – the density of the gas in the recipient, p –
the pressure in the recipient, M – the molar mass of the gas, and R – the universal gas
constant.
The mass flow is expressed through the electric-pneumatic equivalence (valid for
laminar flow):
u ≡ Δp and i ≡ Fm , by
p −p p − p1
Fmi = 0 and Fm2 = ,
R1 R2
for pneumatic circuits, equivalent with Ohm’s law
u V1 − V2
i= = .
R R
Equation (12.11) becomes
p0 − p p − p1 M dp
− =V ∘ , (12.13)
R1 R2 RT dt
which is a first order differential equation and brought up to the canonic form (4.18),
R1 R2 VM dp R1 R2
+p= p + p (12.14)
R1 + R2 RT ∘ dt R1 + R 2 1 R1 + R 2 0
where
R1 R2 VM R2
Tpr = and Kpr = (12.15)
R1 + R2 RT ∘ R1 + R 2
(if the control is done as in case (a)).
12 Basic control loops in process industries | 337
Beside the capacitive behavior, with time constants of seconds or hundreds of sec-
onds, one may mention that the pressure is an unstable, noisy process due to the tur-
bulence induced by the source of pressure, usually compressors. If there are piston
compressors, vibrations and periodic increases and decreases of pressure are char-
acteristic. A pressure diagram is characterized by small quick variations around an
average which does not change as fast.
The steady state characteristic is linear in the approximation of (12.13).
Control valve
The steady state installed characteristic should be linear but they depend on the op-
erating point.
The dynamic behavior is considered first order capacitive.
Controller
The structure of the controller is either P or PI with usual values of PB = 2–50 % and
Ti ≈ 10 s–10 min, depending on the time constants in the loop [3]. The derivative
action is absent due to the white noise present in the process.
Example 12.2. In a recipient (Fig. 12.6) the pressure is controlled using a pressure
ACS. The volume of the recipient is V = 200 l, the steady state values of the pressure
are: p0 = 2 bar, p = 1 bar, p1 = patm = 0 bar. The temperature in the recipient is
T ∘ = 27 ∘ C. The pneumatic resistors have the values of R1 = 1.2108 N/m2 /kg/s and
R2 = 1.6108 N/m2 /kg/s. What are the dynamic characteristics of the process?
Using equation (12.15),
2 2
1.2 ⋅ 108 N/m
kg/s
⋅ 1.6 ⋅ 108 N/m −3 3
kg/s 200 ⋅ 10 m ⋅ 29 kg/kmol
Tpr = 2 2 = 159 s,
1.2 ⋅ 108 N/m + 1.6 ⋅ 108 N/m
kg/s
8314 J/kmolK ⋅ 300K
kg/s
2
1.6 ⋅ 108 N/m
kg/s
Kpr = 2 2 = 0.57.
1.2 ⋅ 108 N/m
kg/s
+ 1.6 ⋅ 108 N/m
kg/s
If the control loop contains a transducer and a control valve with the following
characteristics,
TT = 1 s, KT = 8 mA/bar
TAD = 1 s, KAD = 5 bar/mA,
8 5 0.57 1
K √1 + = 0.5,
√1 + 12 ⋅ 12 √1 + 12 ⋅ 12 √1 + 1592 ⋅12 c 1202 ⋅ 12
which results in Kc = 7 or PB = 14 %.
The level is also a significant process variable, mainly because it indicates the mass
content of a liquid in a recipient. Usually, the level in the buffer raw material tank
of a plant is maintained between certain limits which are designed to assure the au-
tonomy of operation of the plant. But in some other cases, the level has an increased
importance. In the CSTRs, the level determines the residence time which is calculated
as τres = VF , where V is the volume of the liquid in the reactor and F the flow passing
through the reactor. The residence time determines the chemical conversion, e.g. for
a first order reaction ξ = (k VF /1 + k VF ), where k is the reaction rate constant (Tab. 3.2).
The level (h) is in direct relationship with V, e.g. for cylindrical tank V = Ar h, where
Ar is the cross area section of the reservoir.
In the case of a distillation column, the bottom and reflux drum content is given by
their volumes and it has enhanced importance because it has to enssure the presence
of the liquid phase in the two pieces of equipment [4].
The level control (Fig. 12.7) can be assured through the manipulation either of the
inflow or the outflow in a recipient.
Process characteristics
In the first situation (Fig. 12.7a) the process has integral dynamics if the outflow is kept
constant by a pump. If the outflow is free and dependent on the level, the process has
capacitive behavior as in the second case (12.7b)
12 Basic control loops in process industries | 339
Fi Fi
LC LC
Fe=ct Fe
dh
Ar ρ = F i ρ − Fo ρ . (12.16)
dt
The outflow can be expressed from equation (3.16) where the dynamics of the pipeline
flow is negligible compared with that of mass accumulation in the tank
ρ v2 lp ρ v2 lp ρ v2
ρ ghAp − (∝ +λ ) Ap = ρ ghAp − (∝ +λ ) A = 0, (12.17)
2 dp 2 dp 2 p
from which
2gh 2gh
v=√ lp
and Fo = Ap √ l
.
α +λ dp
α + λ dp
p
dh 2gh
Ar = Fi − A p √ l
. (12.18)
dt α + λ dp
p
2g
If we denote = Ap √ lp , equation (12.18) becomes
α +λ dp
dh
Ar = Fi − C√h, (12.19)
dt
a differential nonlinear first order equation.
The steady state characteristic, h = f (Fi ),
1
h= Fi2 (12.20)
2g
A2p l
α + λ dp
p
√
√h = √hn + d h |h (h − hn ) = √hn + 1 (h − hn ), (12.21)
dh n 2√hn
340 | Part III: Synthesis of the automatic control systems
h
[m]
where hn is the level in the tank at steady state; around this value, the control loop
operates the system.
Replacing (12.21) in (12.19), the equation becomes
2√hn Ar dh 2√hn
+h= Fi − hn , (12.22)
Ap √ 2g lp dt Ap √ 2g lp
α +λ dp
α +λ dp
where
2√hn Ar 2√hn [ m3 ] .
Tpr = [s] and Kpr = m
(12.23)
2g 2g
Ap √ lp Ap √ lp [ s ]
α +λ dp
α +λ dp
There are some other important characteristics of the level as controlled process.
The process is characterized by high instability given by stirrer (inside the CSTR), by
a boiling process in a steam boiler, or at the bottom of a separation column due to the
boiling process in the reboiler. These processes (stirring, boiling) permanently dis-
turb the surface measured. If the transducer is one with a side measuring chamber
(Fig. 7.32), the equivalent scheme of functioning is given in Fig. 12.9.
Gas Gas
h2
A1
h1
L1 A2
L2
(a) (b)
dv1 dv
ρ gh1 A1 − ρ gh2 A2 − R1 A1 v1 − R2 A2 v2 = M1 + M2 2 , (12.24)
dt dt
where:
A1 A2 – the cross area sections of the recipient and chamber;
h1 , h2 – the levels with which the normal level value changes in both recipient and
chamber;
R1 A1 v1 , R2 A2 v2 – the friction forces;
32L μ 32L μ
R1 = d21 and R2 = d22 – the hydraulic resistance from the Hagen–Poiseuille law;
1 2
μ – the dynamic viscosity:
M1 = L1 A1 ρ , M2 = L2 A2 ρ . (12.25)
and the equality between the quantities displaced in both recipient and chamber,
dh2 d2 h
ρ gh (A1 + A2 ) − 2ρ gh2 − (R1 + R2 ) A2 = (L1 + L2 )A2 ρ 22 (12.28)
dt dt
or
(L1 + L2 ) d2 h2 R1 + R2 dh2 A + A2
+ + h2 = 1 h, (12.29)
2g dt2 ρg dt A2
which describes a damped oscillations behavior (equations (4.27) and (4.28) and
Fig. 4.12) with
2g R1 + R 2
ωn = √ and ζ = . (12.30)
L1 + L2 ρ √2g(L1 + L2 )
Any liquid surface is very unstable even if it is not the case of two communicating
vessels. Remember the instability of the water in a tray when we deice the refrigerator
and we transport the melted ice (in water form) to the sink.
342 | Part III: Synthesis of the automatic control systems
Control valve
The control valve has to have a compensating characteristic, inverse to that in
Fig. 12.28. The installed characteristic should be linear. In fact, the “linear” intrin-
sic characteristic is not linear and looks like a logarithmic one. Because of that when
calculating the gain, the formula should be Kcv = aF, which is closer to the reality.
Controller
The controller should in most cases be a P controller since the level is not such a con-
strictive variable; in most cases it represents the inventory in a tank [2]. The controller
gives smooth changes in flow rates addressed to the downstream units of the process.
The usual values for PB are in the range 1 %–100 %.
Example 12.3. What are the optimal values of a level controller in a level control loop
(Fig. 12.10) with the following characteristics?
Fi
Gas
LC
from (12.20), we can calculate the nominal flow passing through the tank at steady
3
state, Fn = 3.4 mh .
12 Basic control loops in process industries | 343
2√0.5 ⋅ 1
Tpr = = 0.104 ⋅ 104 s = 0.28 h = 17.4 min
3 ⋅ 10−4 √ 2⋅9.8
1
2√0.5 m m m
Kpr = = 1064 m3 = 0.295 m3 = 17.73 m3 .
3⋅ 10−4 √ 2⋅9.8
1 s h min
TT = 10 s = 0.17 min;
10 − 2 mA
KT = =4 .
2−0 m
The time constant and gain of the actuating device:
360
(− tan−1 (17.4 ⋅ ωosc ) − tan−1 (0.17 ⋅ ωosc ) + 0 − tan−1 (0.5⋅ωosc )) = −180∘
2π
gives as the result ωosc = 3.2 rad min−1 meaning that the ACS has about 1 oscillation
every 2 min.
344 | Part III: Synthesis of the automatic control systems
Kc = 2.8; PB = 35 %.
The temperature is the parameter showing the energy content of a system. Tempera-
ture control is extremely important, since a “negligence” of +2 ∘ C may have as a con-
sequence a waste of more than 100,000 Euros/year on an industrial platform through
the energy spent in vain (Chapter 8). But this is only the economic point of view. Very
often, the quality of a product depends severely on the temperature at which it is pro-
duced (e.g. a certain sort of PVC, with specified characteristics, needs a reaction tem-
perature of 52 ± 0.5∘ ).
Usually, the temperature is controlled through the manipulation of an agent (heat-
ing or cooling) flow (Fig. 12.11).
TC
T°
T° TC
KTi
KTag
T°W
Fag
F, ρ, cρ , T° B
(a) (b)
Process characteristics
The steady state and dynamic characteristics of the heating process are obtained from
the heat conservation law applied to the CSTR system for example. The transfer path
from the manipulated variable to the output one (Fag → T ∘ ) (Fig. 12.12) can be decom-
posed in three capacitive elements (jacket, reactor wall, mass of reaction).
Supposing the simplifying assumptions: thermal agent is homogenous in the
jacket – lumped parameter system; the temperature of the wall is the average one
and the wall is considered a lumped parameter system as well; the wall is considered
12 Basic control loops in process industries | 345
Fig. 12.12. The capacitive elements in series describing the process behavior in the temperature
control loop.
“thermally thin”; CSTR is perfectly mixed – lumped parameter system; the reaction is
neither exothermic nor endothermic; there is no heat loss outside the reactor, we can
write the equations describing the heat transfer in the reactor for each of the elements
in Fig. 12.12. The equations are those are from the Example 3.1:
∘ − F ρ c T ∘ + K A (T ∘ − T ∘ ) = d (V ρ c T ∘ )
Fvag ρag cpag Tiag (12.31)
vag ag pag ag Tag T w ag
dt j ag pag ag
KTi AT (T ∘ − Tw∘ ) − KTag AT (Tw∘ − Tag∘ ) = d (M c T ∘ ) (12.32)
dt w pw w
d
Fvi ρA cpA Ti∘ − Fρ cp T ∘ − KTi AT (T ∘ − Tw∘ )−K TT ATT (T ∘ − TT∘ ) − VkCA ΔHr = (Vρ cp T ∘ ),
dt
(12.33)
where ΔHr = 0.
Besides these equations, we should write the equation describing the functioning
of the thermocouple:
d
KTT ATT (T ∘ − TT∘ ) − Qel = (MT cpT TT∘ ), (12.34)
dt
where TT∘ , KTT , ATT are the temperature, heat transfer coefficient and heat transfer area
of the transducer; Qel is the quantity of thermal energy transformed into electrical en-
ergy needed to change the electrical properties of the transducer. Qel is much smaller
than the thermal energy involved and thus is negligeble.
For the steady state characteristic we notice that it is nonlinear, the nonlinearity
being given by
∘ − F ρ c T ∘ + K A (T ∘ − T ∘ ) = 0.
Fvag ρag cpag Tiag (12.35)
vag ag pag ag Tag T w ag
T ∘ = f (Fv ag ),
346 | Part III: Synthesis of the automatic control systems
aTi∘ Ti∘ag
T∘ = +
a + 2Fv ag b + F a
v ag
∘ =F
Fvag Tag ∘ ∘ ∘ ∘
vag n Tag n + Fvag (Tag − Tag n ) + Tag n (Fvag − Fvag n )
Q = F T∘ + T∘ F
vag ag n −F
ag vag n T∘ .
vag n ag n (12.38)
In this way, the two variables are separated and the nonlinearity linearized. Replacing
(12.38) in (12.31), we obtain
d
(M T ∘ ) + (Fvag n ρag cpag + KTag AT )Tag
∘
dt j ag
∘ − T∘ ) + F
= Fvag ρag cpag (Tiag ∘ ∘
ag n vag n ρag cpag Tag n + KTag AT Tw . (12.39)
Mj cpag ∘ ∘ ∘
dTag
+ Tag∘ = ρag cpag (Tiag − Tag n ) F
Fvag n ρag cpag + KTag AT dt Fvag n ρag cpag + KTag AT vag
∘
Fvag n ρag cpag Tag KTag AT
T∘ .
n
+ + (12.40)
Fva?? n ρag cpag + KTag AT Fvag n ρag cpag + KTag AT w
Mj cpag ∘ − T∘ )
ρag cpag (Tiag ag n
Tj = and Kj = . (12.41)
Fvag n ρag cpag + KTag AT Fvag n ρag cpag + KTag AT
Similarly, for the wall, for the inner part of the reactor (mass of reaction) and for the
temperature transducer (mainly the sheath)
Mw cpw KTag AT
Tw = and Kw = (12.42)
KTag AT + KTi AT KTag AT + KTi AT
Mr cpr KT i A T
Tr = and Kr = (12.43)
KTi AT + Fρ cp + KTT ATT KTi AT + Fρ cp + KTT ATT
where Mr = Vρ and cpr = cp ,
Control valve
The control valve has to have a compensating characteristic, inverse to that in Fig. 6.9.
The installed characteristic should be logarithmic. Because of that, when calculating
the gain the formula should be Kcv = ah.
Controller
The controller should be PID controller since the heat transfer is a very slow process;
the reset (integral) time is of the same order as the maximum time constant in the loop
and the derivative time, one fourth of the reset time [2]. The usual values for PB are in
the range 5 %–50 %.
Example 12.4. Consider a heat transfer process in a CSTR with the following charac-
teristics:
Process:
reactor volume and heat transfer area: Vr = 1.5 m3 , AT = 6 m2 ;
volume of the jacket and heat transfer area: Vj = 0.3 m3 , AT = 6 m2 ;
mass and heat capacity of the inner wall of the reactor: Mw = 350 kg,
cpw = 0.15 kcal/kg.K;
partial heat transfer coefficient heating agentwall: KTag = 500 kcal/m2 K;
partial heat transfer coefficient wall-reaction mass: KTr = 1500 kcal/m2 K;
∘ = 90 ∘ C; T ∘ = 78 ∘ C;
characteristics of the fluids: ρ = ρag = 1000 kg/m3 ; Tiag agn
cpag = cpr = 1 kcal/kg.K;
nominal flow rate of the heating agent: Fag n = 3 m3 /h;
nominal flow rate of the reactant/product: Fi = Fo = F = 2 m3 /h.
Transducer:
mass, heat transfer area and heat capacity of the thermowell: MT = 0.5 kg,
ATT = 0.02 m2 , cpT = 0.15 kcal/kg.K;
partial heat transfer coefficient reaction mass-thermowell: KTT = 1500 kcal/m2 K;
measurement range of the adaptor: 40 ∘ C–80 ∘ C;
output signal range of the adaptor: 2–10 mA.
Control valve:
electro-pneumatic converter input signal range: 2–10 mA;
348 | Part III: Synthesis of the automatic control systems
350 ⋅ 0.15
Tw = = 0.0044 h = 0.27 min
500 ⋅ 6 + 1500 ⋅ 6
500 ⋅ 6 ∘C
and Kw = = 0.25 ∘
500 ⋅ 6 + 1500 ⋅ 6 C
1.5 ⋅ 1000 ⋅ 1
Tr = = 0.13 h = 8.2 min
1500 ⋅ 6 + 2 ⋅ 1000 ⋅ 1 + 1500 ⋅ 0.02
1500 ⋅ 6 ∘C
and Kr = = 0.82 ∘ .
1500 ⋅ 6 + 2 ⋅ 1000 ⋅ 1 + 1500 ⋅ 0.02 C
The temperature transducer:
0.5 ⋅ 0.15 ∘C
TTw = = 0.025 h = 1.5 min and KTw = 1 ∘C
1500 ⋅ 0.02
∘C 8 mA mA
KT = KTw Kad = 1 ∘ ⋅ = 0.2 ∘ .
C 80 − 40 ∘ C C
TAD = 5 s
1 − 0.2 bar 100 − 0 % m3 /h m3 /h
KAD = KEPC ⋅ KAC ⋅ Kcv = ⋅ ⋅ 0.6 = 7.5 .
10 − 2 mA 1 − 0.2 bar % mA
Controller: The PID controller has the reset time chosen to be the same value as the
maximum time constant, that is Tr = 8.2 min. Then, Ti = 8 min.
360
(− tan−1 (3 ⋅ ωosc ) − tan−1 (0.27 ⋅ ωosc )
2π
+ 0 − tan−1 (8.2⋅ωosc ) − tan−1 (1.5⋅ωosc ) − tan−1 (0.08⋅ωosc )) = −180∘
12 Basic control loops in process industries | 349
gives as the result ωosc = 0.5 rad min−1 , meaning that the ACS has about 1 oscillation
in 12.5 min.
The derivative time constant is calculated from the phase margin condition
1
φc = tan−1 (Td ωosc − ) = +30∘ ,
Ti ωosc
The solution is
Kc = 11.2 or PB = 9 %
Ti = 8 min
Td = 2 min .
Since chemical products are the main goal of the chemical industry, composition con-
trol seems to be one of the most important of all control systems. As it was demon-
strated in the previous sections of this chapter that all controls are equally important
because they address different issues of such complex processes as those in process
industries (quality, economic, environmental issues).
In what follows, the basic problems raised by the composition control systems
are presented. One of the most relevant works in this respect is Shinskey’s “Quality
control” chapter in [5].
According to our knowledge, but it is also evidenced in [5], one of the crucial issues
in composition control is that of mixing [6, 7]. Mixing is not very well approached in
the education of chemical engineers, being considered a process of secondary impor-
tance, obviously after that of chemical synthesis. But if we look at the huge progress
today in enhancing the efficiency of processes, using microreactors for example, we
may understand the importance of the process.
350 | Part III: Synthesis of the automatic control systems
Process characteristics
When we treat chemical reaction control theoretically, we consider that CSTR is a per-
fectly mixed system, which, in the case of practical quality control is not true: no mix-
ing impeller has the capacity of perfect mixing, transporting one particle from the
entrance to the exit in a time equal to 0. The dynamics of the process includes a time
constant (Tpr ) and a dead time (τpr ), the ratio between them being decided by the effi-
ciency of the impeller. The process of mixing is schematically described in Fig. 12.13.
The considered process is one of diluting a concentrate C with a solvent S.
S C, x
AC
Fs+F Fs
The steady state characteristic is obtained by writing the component conservation law
under the assumption that there is no solute in the diluting solvent:
where x is the solute mass fraction in the diluted solution and xc the solute mass frac-
tion in the concentrate.
The steady state characteristic is x = f (C), and, further,
C xc
x= x = . (12.46)
S+C c 1+ S
C
dx 1 Cn Sxcn Sx
Kpr n = | =x [ − ]= = 2cn . (12.47)
dC Cn cn S + Cn (S + Cn )2 (S + Cn )2 F
Fa
ηs = , (12.48)
Fa + F
12 Basic control loops in process industries | 351
xc
xn
where Fa is the flow entrained by the agitator from the bottom of the reactor back to
the top and F the total flow passing through the reactor.
A rotating agitator generates high speed streams of liquid, which in turn entrain
stagnant or slower moving regions of liquid resulting in uniform mixing [7]. Thus, the
higher the efficiency of the agitator is, the higher the value Fs has and ηa has a value
closer to 1.
If the reactor could have perfect mixing, the process behaves dynamically capac-
itive, with no dead time:
V V
Tpr = = ; τpr = 0, (12.49)
F S+C
where V is the volume of the reactor, S is the solvent flow for dilution, C is the concen-
trate flow.
If the reactor has no mixing, the process behaves dynamically as an element with
dead time:
V V
τpr = = ; Tpr = 0. (12.50)
F S+C
The real situation is among the two extremes: the process has both time constant
V Fa V
Tpr = ⋅ = ηa ⋅
F Fa + F F
V F V
τpr = ⋅ = (1 − ηa ) . (12.51)
F Fa + F F
Control valve
Due to the nonlinear characteristic of the process (Fig. 12.14), the installed character-
istic of the valve is logarithmic with the adequate gain KCV = bF (equation (9.38)). The
other components of the final control element are quite the same for all control valves.
Controller
The controller is PID, due to the fact that both mass transfer and mixing in a reactor
or vessel are slow processes and the analyzer has a dead time of the order of minutes
minimum. Due to the very high gain of the transducer, the controller gain should be
very small. The usual values for the controller parameters are: PB = 100–1000 %,
Ti = minutes to tens of minutes, Td = minutes.
pH control problem
pH is a special variable especially due to its steady state characteristic (Fig. 12.15).
The very steep slope of the characteristic induces a cycle of oscillations of the control
system.
14
pH
12
10
6
OONa
CH 3C
4
CH3COOH
2
HCI
0
0 0.5 1.0 1.5 2.0 Fig. 12.15. pH steady state characteristics for
mol NaOH different combinations: acid neutralized with
mol acid NaOH.
But this is not the only reason why pH control is a really difficult problem to be solved
in industry: especially in neutralization plants, the large range of flow rates (ratios
from 1 : 1 to 5 : 1) and different composition of the inflows (the effluents from industrial
plants are either acid or basic and require two neutralization agents; or, the acid con-
tent can vary with 7 orders of magnitude; the titration curve changes with the nature of
the system neutralized) has as a result a low quality composition control. These are the
reasons why the pH control problem is not treated in this chapter which approaches
the most common controls in the process industries.
12 Basic control loops in process industries | 353
A usual pH control system in a CSTR use the cascade control, the inner loop being
that of a ratio flow control (Fig. 12.16). The pH control in a wastewater treatment plant
is more complicated and is approached in the second volume of this book.
rFC
pHc
Linear
controller
pH
Example 12.5. Consider a dilution process control system in a CSTR (Fig. 12.13), with
the following characteristics:
Process:
reactor volume: Vr = 350 l;
nominal flow rate of the dilute: Fi = Fo = F = 70 l/min;
nominal concentrate flow rate: Cn = 35 l/min;
maximum concentrate flow rate: Cmax = 70 l/min;
mass fraction of the concentrate: xcn = 1;
efficiency of the mixing agitator: ηa = 95 %.
Transducer:
measurement range of the analyzer: 0.45–0.55 mass fractions;
output signal range of the adaptor: 4–20 mA;
dead time of the gas chromatograph: τT = 0.25 min;
the time constant of the gas chromatograph: TT = 0.05 min.
Control valve:
electro-pneumatic converter input signal range: 4–20 mA;
electro-pneumatic converter output signal range: 0.2–1 bar;
354 | Part III: Synthesis of the automatic control systems
According to the relations (12.51) and (12.47), the process has the characteristics
V Fa V 350
Tpr = ⋅ = ηa ⋅ = 0.95 = 4.75 min
F Fa + F F 70
V F V 350
τpr = ⋅ = (1 − ηa ) = 0.05 = 0.25 min
F Fa + F F 70
Sxcn (F − Cn )xcn 35 ⋅ 1 −
Kpr n = = = = 0.0071 .
(S + Cn )2 F2 702 l/min
τT = 0.25 min
TT = 0.05 min
20 − 4 mA
KT = = 160 .
0.55–0.45 −
The final control element is a valve with electro-pneumatic convertor and actuator
with the characteristics:
1 − 0.2 bar 100 − 0 % l/min l/min
KAD = KEPC ⋅ KAC ⋅ Kcv = ⋅ ⋅ 3 ⋅ 0.7 = 13.12 and
20 − 4 mA 1 − 0.2 bar % mA
TAD = 3 s = 0.05 min .
360
(− tan−1 (4.75 ⋅ ωosc ) − (0.25 ⋅ ωosc )
2π
− tan−1 (0.05 ⋅ ωosc ) − (0.25 ⋅ ωosc ) − tan−1 (0.05⋅ωosc )) = −180∘ .
The calculation gives as the result ωosc ≈ 2.75 rad min−1 , meaning that the ACS has
about 1 oscillation every 2 minutes.
We choose Ti = 5 min and Td results from the phase margin condition (equation
(11.20)):
1
tan−1 (Td ⋅ 0.6 − ) = +30∘
5 ⋅ 0.6
tan 30∘ + 1
5⋅0.6
Td = = 1.5 min .
0.6
12 Basic control loops in process industries | 355
13.12 1 2
⋅1 Kc √ 1 + (1.5 ⋅ 2.75 − ) = 1.0
√1 + 0.052 ⋅ 2.752 2.75
results in
Kc = 0.21 PB = 476 %
Ti = 5 min
Td = 1.5 min .
12.6 Problems
(1) The normal liquid flow rate towards a process is 1.5 m3 /h, its limits being 0.5 m3 /h
and 3 m3 /h. The flow is subjected to step changes up to 100 l/h. What are the dimen-
sions of the buffer tank placed before the process in order to limit the variations at
10 l/h? The pressure upstream of the buffer is 4 bar and downstream 2 bar. Which di-
mensions will the buffer have if the pressure difference is 0.5 bar only? The controller
gain is chosen in such a way that at a flow rate of 0.5 m3 /h the tank is empty and at
3 m3 /h is full.
(2) Calculate the optimal controller parameters for a composition control loop con-
trolling the concentration in a cascade of three CSTR described in the Examples 3.2
and 6.5 (Fig. 12.17).
Fs , Cs
Fc , CAc
V V V
F F F
AC
The pumping flow of the mixing impeller is Fa = 80 l/min, each reactor volume is
V = V1 = V2 = V3 = 200 l. The residence time in each reactor is 10 min. The correc-
356 | Part III: Synthesis of the automatic control systems
(3) Repeat the calculation for one CSTR and 2 CSTRs in series.
(4) Elaborate a MatLab simulation program for Problems (2) and (3).
References
[1] Couzinet, A., Gros L., Pierrat, D., Characteristics of centrifugal pumps working in direct or re-
verse mode: Focus on the unsteady radial thrust, International Journal of Rotating Machinery,
2013, (2013), Article ID 279049.
[2] Luyben, W. L., Luyben, M. L., Essentials of Process Control, McGraw-Hill, 1997,
ISBN 0-07-114193-6.
[3] Seborg, D., Mellichamp, D., Edgar, T., Doyle III, F., Process Dynamics and Control, John Wiley and
Sons, 2011, Chapter 12.
[4] Szabo, L., Nemeth, S., Szeifert, F., Three-level control of a distillation column, Engineering, 4,
(2012), 675–681.
Index
error, 80, 124, 125, 128, 139, 143, 152–154, 157, integral of the error (IE), 297
193, 227, 229, 231, 235, 238, 239, 241, 248, integral of the squared error, 248
298, 300, 310 integral system, 99, 100, 102
integral windup, 241
feed flow, 89, 125 interlocking system, 281, 290
feed-forward control, 6, 141 internal molar reflux, 89
feedback control system, 124, 125, 131, 133, 143 intrinsic characteristic
final control element, 256, 262 – linear characteristic, 268, 269, 274
first order system, 104–106, 115 – logarithmic (equal percentage) characteristic,
flow control, 330, 353 269
flow controller, 229 – modified parabolic characteristic, 269, 334
flow factor (Kv ), 263, 265 inverse response, 323, 324
– for incompressible fluids, 263 ionization gauge, 172, 173
– for gases, 266
– for steam, 267 kinetic equation, 63
flow sheet, 64
frequency response, 18, 31–34, 45, 57
Lambda method, 309
laminar flow, 265
gas analyzer, 209
Laplace transform, 39
– humidity gas analyzer, 217
– of usual functions, 41, 43
– infrared gas analyzer, 209
– one-sided, 40
– paramagnetism-based gas analyzer, 214
– properties, 41, 42
– thermal conductivity gas analyzer, 2
– two-sided, 40
– zyrconia oxygen gas analyzer, 216
large overshoot, 301
latent heat of vaporization, 74, 89
harmonic signal, 31
level control, 84, 230, 338
heat capacity, 83, 243
level controller, 342
heat of reaction, 69, 83, 117
level transducers based on floats, 188
heat transfer area, 70, 160, 254, 335, 345
linear time-invariant system, 27, 29, 35, 39, 44
higher order capacitive system, 110
linearity, 17, 31, 47, 80 290
higher order system, 109
looms, 3
holdup, 89
lumped parameters system, 65
homogeneous differential equation, 27, 28, 30
hot junction, 161, 162
magnetic flow meter, 180, 181
impulse response matrix, 39, 48 manual control, 5, 122
inductive pressure transducer, 171 mass conservation law, 65, 66, 339
inferential mass flow meter, 183, 185 mathematical model, 64, 76, 82
infra-red thermometer, 165 measurand, 151–154
input variable, 12, 16, 34 measuring device, 155, 177
input-output path with logic solver method of limit of stability, 305
– configuration, 290 MIMO system, 133
– multiplication, 290 model predictive control (MPC), 6, 141, 248
input-output relationship, 45, 59, 97, 101 molar mass, 83
input-output representation, 20, 35, 36 momentum conservation law, 64, 71, 73
input-state-output relationship, 20, 21, 39, 46, multiple effects evaporator, 141
47
installed characteristic, 270, 272 nonhomogeneous differential equation, 29, 38
integral of the absolute error (IAE), 298 nonlinearity, 139, 175
Index | 359
196, 197, 199, 202, 206–208, 227, 232, unit step function, 23
234, 235, 275, 295, 307, 317, 334, 337, 340,
342, 345–348, 351–354 vapor flow, 89, 90
transfer function, 44, 45 variable frequency drive, 262, 330
transfer matrix, 48, 49 Venturi tube, 173
transfer path, 109, 116, 124, 275, 276, 344 viscosity transducer, 198
transient response, 33 vortex flow meter, 180
transient time, 127 vortex shedding flow, 183
transition matrix, 38
transmitter, 155, 157, 159, 160, 164, 165, 168, weir, 87, 89, 90, 196, 261
170, 177, 179, 181, 188, 192–194, 197, 207, Wheatstone bridge, 159, 169, 172, 184, 195, 205,
208, 212, 216, 220, 221, 286, 334 206, 213, 214, 216
tray, 87, 88, 90 wise machinery (WM), 6
turbulent flow, 181, 265 Woltman turbine meter, 186