IFP Materials PDF
IFP Materials PDF
IFP Materials PDF
CONTROL AND
OPTIMIZATION TECHNIQUES
Jacques Ludaescher
10.1 Introduction
10.2.1 Pressure
The concept of pressure is generally known as an elementary force exerted by
a fluid on a unit of surface area. There are different types of pressure:
Static pressure: the pressure that a motionless fluid exerts on the parts of
the vessel containing it.
The steady state flow of an ideal fluid (zero viscosity) in the field of gravity
is governed by the Bernoulli theorem. This theorem is expressed by the fol-
lowing equation:
p.
2
'+ pgz + P = Constant
with:
p fluid density (kg/m3)
u fluid velocity (m/s)
z height related to a reference plane (m)
g acceleration of gravity (= 9.81 m/s2)
P pressure (Pa)
Static pressure (P,) corresponds to the fluid at rest (u = 0), (Fig. 10.1A):
P, = P + pgz
Dynamic pressure: pressure (Pd) due to velocity, whose existence is
demonstrated by opposing an obstacle to the movement (Fig. 10.1B):
P U2
pd= 2
Total pressure: total pressure (PJ is the sum of the two previous pressures
(Fig. 10.1C):
Pt = P, + Pd
In a real fluid the forces due to viscosity are not zero and oppose the slip-
ping of fluid layers in relation to one another. They are dependent on velocity
and tend toward zero with it.
The Bernoulli equation is not applicable for viscous flow. The total pres-
sure is not constant along a stream line, it decreases. There is said to be a
pressure drop along the flow.
620 Chapter 10 CONTROL AND MONITORING
‘1‘
To pressure gauge
‘1‘
To pressure gauge
Figure
A. Static pressure probe (A frer “Capteurs industriels’y. B. Measurement of
dynamic pressure. C Total pressure probe.
C D
--
7 t
P
P
Figure
10.2 Principles of pressure measurement (After “Capteurs industriels’y
A. Capsule. B. Bellows. C. Bourdon tube. D. Diaphragm.
-_ _
Figure
10.3 Measuring differential pressure.
Chapter 10 CONTROL AND MONITORING 623
A B
___ I
Figure
10.4 Flow meter with a differential pressure element (After “Capteurs industriels’y.
A. Orifice. B. Nozzle. C. Venturi.
624 ChaDler 10 AND MONITORING
CONTROL
2. Pilot tubes. Pitot and Annubar tubes, consist of a probe that is inserted
in the pipe. The precision obtained is approximately 1%of the real value. They
are used on large dimension pipe and when the allowable pressure drop is low.
3. Area meters with a rotating float placed in a vertical conical tube. The
float is supported by the differential pressure generated by the annular restric-
tion between the float and the tube. The float moves up or down until the
annular restriction creates just enough pressure drop to balance the weight of
the float. The float position in front of the tube graduation, or a mechanical or
magnetic coupling, allows the measurement to be read.
4. Vortex flow meters are based on a natural phenomenon generated when
fluid flow encounters a non-streamlined obstacle, thereby forming eddies that
are carried downstream. The frequency of eddy emission is proportional to
the flow velocity. It is measured by means of a sensor that is sensitive to oscil-
latory variations in pressure or velocity.
5. Electromagnetic flow meters are based on Faraday's law. The magnetic
field is generated by two inductor coils placed on either side of the same pip-
ing diameter. The fluid itself is the conductor. The electromotive force gener-
ated is proportional to the average liquid velocity and therefore to the volume
flow rate of the liquid.
6. Coriolis mass flow meters are based on Newton's law of gravitation (law
of gravitation, i.e. force = mass x acceleration, F = ma). The device is com-
posed of two measurement tubes excited by an electromagnetic device that
causes them to vibrate in phase opposition on their resonance frequency, like
a tuning fork. The degree of twisting in the tube is proportional to the mass
flow rate. Electromagnetic sensors located on each side of the tube induce
sinusoidal tensions that allow the tube positions to be measured at these two
points. Given the set up, the specific gravity measurement is also available and
the measurement is temperature compensated.
7. Turbine or propeller velocity meters can be classified into two cate-
gories: axial turbine and vertical turbine meters. In both cases, the fluid flow
causes a turbine or propeller to rotate and the rotation speed is proportional
to the flow rate.
8. Positive displacement meter measurement involves a well defined vol-
ume of fluid. There are different types depending on the type of test body
used: meters with vanes, pistons and oval wheels. Transmission between the
test body and the indicator is generally mechanical with coupling to a meter
or a pulse generator allowing remote transmission.
10.2.3 Level
Liquid sensors and detectors can be classified into three main types depend-
ing on the method employed:
Liquid level measurement and monitoring based on hydrostatic proper-
ties of liquids (hydrostatic pressure, buoyancy). A pneumatic or electric
translation is obtained by detecting a position, a movement, a force or a
pressure.
Chapter 10. CONTROL AND MONITORING 625
10.2.4 Temperature
The two basic principles used for measuring temperature are:
electric measurement by thermocouples, metallic resistances, semi-con-
ductors and quartz elements as primary measuring devices,
mechanical measurement with dilatation of a solid or expansion of a
fluid (gas or liquid).
Thermocouples: a thermocouple consists of two junctions or welds con-
necting two different metals or alloys. One of the junctions, placed at the mea-
surement point, is identified as the hot junction and the other one is called the
cold junction. The temperature of the cold junction is known and serves as a
reference point. The working principle of this device is based on the Seebeck
effect and uses the electromotive force generated by the temperature differ-
ence between the two junctions. Although the electromotive force is low it is
measurable and depends on the nature of the materials.
Metallic resistance elements: this measurement principle uses the varia-
tion in electric resistance of a metallic conductor with temperature. Although
copper or nickel have advantageous characteristics, platinum is the most com-
monly used due t o the repeatability of its response and because probes of the
same model are absolutely interchangeable. Thermometric resistances pro-
vide an important advantage over thermocouples: the measurement depends
only on the temperature of the sensitive element. This makes measurements
simpler and more accurate, but the response time is longer.
Solid dilatation thermometer:this method is based on the linear dilatation
of solids with temperature. Bimetallic strip thermometers use this dilatation
that causes the strip to bend. Many grades of metallic strip are available and
selection is governed by the difference in dilatation, which should be as high
Chanter 10 CONTROL AND MONITORING 627
10.2.5 Miscellaneous
Other measurements are required in order to monitor and operate refinery
equipment, such as mechanical measurements used for example to monitor
rotating machines (compressors, pumps, turbines, etc.):
Measurement of acceleration corresponds to a relationship between a
force and a mass (Fig. 10.5A). Accelerometers can be classified according
to the phenomena analyzed, and in particular their levels of acceleration
and their frequency ranges. Measurement of accelerations, vibrations or
impacts (Fig. 10.5B) can be involved depending on the case.
Measurement of motion uses the principles of electric measurement of
the resistive, inductive or capacitive type. The choice is made according
t o the values of motion being measured.
A
-
I
Spring
B
Vibration
Acceleration
Damping device Seismic mass
L
Duration
-
Figure
10.5 A. Principle of an acceleration sensor (After “Capteurs industriels ’7.
B. Acceleration curves.
628 Chapter 10 CONTROL AND MONITORING
Figure
10.6 Component parts of a sensor (After “Capteursindustriels”).
Chapter 10. CONTROL AND MONITORING 629
FIP
MODBUS
*.
I PROFIBUS
Figure
10.7 Component parts of a sensor (Endress + Hauser documentation).
Chapter 10 CONTROL AND MONITORING 631
A pressure sensor (Fig. 10.7) is selected essentially on the basis of the fol-
lowing points:
type of measurement element, according to the measurement scale;
cell and primary element construction materials according to the con-
tacting fluid;
type of signal: electric or pneumatic;
type of conditioning according to the environment (explosion proof,
intrinsic safety, corrosion);
accessories, indicators, isolating diaphragms, connections, capillaries;
communication protocol.
Other static flow rate measurement sensors are available (Fig. 10.Q with
much more complicated selection criteria, summed up a s follows.
632 Chapter 10 CONTROL AND MONITORING
Fluid criteria
Measurement principle
Nonconducting
Vapor
liquid liquid
Electromagnetic
(Fig. 10.8D) Yes - -
Coriolis (Fig. 10.8F) Yes Yes Yes
Thermal (Fig. 10.8E) - - Yes
Vortex Yes Yes -
Ultrasound
(Fig. 10.8G and H) Yes Yes -
Electro-
Criteria Coriolis Thermal Vortex Ultrasound
magnetic
I
\7/ \ flow 1
D
2 3
Operating cycle
4
coil
5
E
-m- h
\
Electrodes
~ Heating coil
Power in Amplifier
hid
Flow d i r e c t i o q . ’.. - ..
. ..
Figure
10.8 Flow rate measurement sensors (After “Capteursindustriels’7.
A. Principle o f the rotative float meter. B. Principle o f the positive displacement
634 Chapter 70 CONTROL AND MONITORING
Torque tube
Disolacer arm
Displacer
Chamber Flow outlet
mber assembly
(source: Fisher Controls S.A.)
a) Vertical assembly
(source: Hartman and Braun)
Flow outlet
6 Pulleys
( 5 5Counterweight
~
Counterweight
GI
Figure
Glass
tube
Magnetic
index
Measuring rule
Gauge
D r7Y
\
Flow rate
controller
Bubble
tube
E c
r
a
1 Figure I
Level measurement sensors (After “Capteursindustriels’9.
C. Magnetic level. D. Principle of bubble tube measurement.
E. Principle of pressure sensor measurements. G. Principle of float level
measurement.
Chapter 10. CONTROL AND MONITORING 637
When the dial is far from the measurement point, liquid or gas expansion ther-
mometers with capillaries are employed.
The measurement ranges in each category are significant, but require
selection of an element suited to the measurement within each measurement
category. The temperature ranges covered are as follows:
Thermocouple: from -270 to 2 700"C,
Metallic resistance: from -260 to 1400"C,
Solid expansion: from -60 to 500°C,
Liquid expansion: from -55 to 600°C,
Gas expansion: from -100 to 600"C,
Vapor pressure: from 0 to 400°C.
The component parts of an industrial sensor are the primary element, the
transducer element and the electronic conditioning module, all of which are
incorporated inside a housing.
When the primary element is in direct contact with the medium being mea-
sured, its construction must allow communication and isolation between the
equipment and the sensor. It also has to facilitate maintenance operations
while keeping the industrial installation in operation.
The housing must provide effective protection against:
external aggression such as influxes of dust and small diameter solid par-
ticles,
mechanical impacts.
Degrees of protection refer t o the 1EC standard which defines them by the
characteristic letters IP and three numbers identifying the degree of:
protection against solid particles,
water tightness,
protection against impacts.
For sensors installed in potentially explosive media, the sensor housing
must be built in compliance with the IEC standard with the following protec-
tion features:
explosion-proof shell (IEC 79.1), which works by confining any explosion
inside the housing;
enhanced safety shell (IEC 79.7), that can be used when the elements
installed inside the housing can not produce any sparks;
intrinsic safety shell (IEC 79.3-79.11), which works by limiting the energy
to below thresholds where an explosion could occur.
638 Chapter 10 CONTROL AND MONITORING
A B
Wire A
Cold weld Measu-
rement
device couple housing device
Reference junction
(cold weld)
C
Wire A
- copper
F
Wire B ” -copper
Reference junction
(cold weld)
-
D
Measurement
device with
Wire B lcompensation I
1. Sensitive element
2. Electric wire insulators
3. Protection well
4. Fastening system
5. Guard tube
6. Connecting head
7. Compensation cable (or copper wire)
8. Transmitter (optional)
10.3.1.6 Installation
Industrial sensor installation must comply with the following requirements:
Sensors installed in line must have flange or screw-type connections that
are compatible with piping and equipment construction materials, espe-
cially with respect to the temperature and pressure of the medium being
measured. In-line installation of instruments must allow continuous oper-
ation even when the instruments are placed off stream by means of iso-
lating valves placed upstream and downstream and addition of a by-pass.
When sensors are installed near impulse connections, these latter must
theoretically be located below the sensor for measurements on gas and
above it for measurements on liquid or steam.
In all cases installation must protect the sensor from any effects that
could be detrimental to measurement accuracy and quality. It also must
facilitate maintenance operations.
“high level” electric signals, which are originally usually low level signals
amplified inside the sensor t o generate a conventional signal of the
4-20 mA type.
Analog signals are related to the measurement by a continuous, sometimes
linear, law that reflects the variation in the physical phenomena being mea-
sured. They may be of all types (voltage, current or load) and can be trans-
mitted directly or modulated. Direct transmission is the simplest mode. It
makes an amplitude variation proportional to the signal correspond t o each
variation in the measurement. Direct transmission is generally over short dis-
tances. Transmission by modulation of a carrier wave consists in modifying
one of the characteristics of a high frequency wave, called a “carrier”, by the
measurement signal. The carrier wave acts as a support for the signal all
throughout transmission. It is usually a sine wave whose amplitude, frequency
or phase is modulated. Frequency modulation is the most widespread method.
I & ' 8 * , 1
ZA gateway
for MODBUS
PROFIBUS
FIP
Summary of advantages
0 Interactive calibration without
applying external pressure,
with visual support.
0 Parameterization by means of
a portable terminal with
HART@or INTENSOR@proto-
col, wherever the location.
0 Centralized display and super-
vision with a computer thanks
to system link.
0 Integration in a field network
such as PROFIBUS or FIP
with the corresponding ZA
gateway.
I Figure
10.11 Architecture of networked sensors (Endress + Hauser documentation].
642 Chapter 10 CONTROL AND MONITORING
-
Figure
10.12 Cutaway view of a pneumatic servomotor.
Chapter 10 CONTROL AND MONITORING 643
Valve stem
Cap
Figure
10.13 Cutaway view of a valve body (Masoneilan documentation).
~
644 Chaoter 10 CONTROL AND MONITORING
A B
C D
E F
-
Figure
10.14 Differenttypes o f control valves.
A. Single seat, reversed plug. B. Single seat, standard plug. C. Double seat,
646 Chanter 10 CONTROL AND MONITORING
10.3.3.3 Sizing
The flow rate coefficient, C,,, has become the universal characteristic of flow
rate measurement for a fluid flowing through a valve. By definition the coeffi-
cient C,, is the number of US gallons of water passing through a restricted
cross-section in a minute when the pressure drop across the restriction is
1 psi.
Precise sizing presupposes that specific service conditions are known.
Generally speaking, one of the service conditions must be estimated (for
example the pressure drop) and the flow rate coefficient C,, of the valve will
often have to be calculated on the basis of this estimate. Here common sense
and long experience in the industry are indispensable. Sizing errors usually
come from an accumulation of safety coefficients, which makes the calculated
C,, too large. Under these conditions the plug has to achieve control with an
overly small opening and this is unfavorable.
The main service conditions that have to be known or estimated most pre-
cisely are:
the flow rate of fluid being controlled at normal, maximum and minimum
values;
the normal, maximum and minimum pressure drop in the valve;
the fluid specific gravity.
The normal flow rate will be calculated or estimated. The maximum and
minimum flow rates will be determined versus the different operating cases in
the installation being controlled and the valve must be able to handle the
extreme flow rates between 10 and 90% of its stem travel. If only the normal
flow rate is known, the valve will have to handle an additional flow rate of 15
to 50%.
648 ChaDter 10 CONTROL AND MONITORING
The pressure drop in the valve is sometimes well defined: simple expan-
sion between two known pressures, overflow to the atmosphere or control
between practically constant levels. Lacking this information, if the pressure
drop in the rest of the control loop are known, a minimum of 1/3 of the pres-
sure drop value will be allocated to the control valve. If there is a centrifugal
pump with a high discharge head, the pump characteristic takes on great
importance. The pump discharge pressure will have to be identified at mini-
mum and maximum flow rates to assess the control valve pressure drops in
both operating situations. The comparison of these values will determine the
values of C, to be considered in selecting the valve. It may seem attractive to
reduce the power consumed in the control loop and in particular the pressure
drop at the control valve. However, it is impossible to obtain good results if the
valve can not absorb enough power to keep the controlled variable constant.
The fluid specific gravity is involved in calculating the flow rate only by its
square root. Consequently it is not absolutely necessary to determine fluid
specific gravity with great accuracy. If for example the specific gravity goes
from 0.8 to 0.9, the variation in flow rate will only be 5%.
The pressure drop value of a wide open valve is proportional to the flow
rate to the second power and to the specific gravity for liquids:
AP = K Q 2 d
with:
AP pressure drop (bar)
Q liquid flow rate (m3/h)
d specific gravity with respect to water
hence: AP
-= K = Constant
Q2d
The constant K therefore depends on the valve area and internal construc-
tion.
Control valves are sized on the basis of this general formula. There are
equations for flow rates expressed in volume or weight for:
a liquid in non-critical flow when AP < C, APs
a liquid in critical flow (cavitation or vaporization) when AP C, AP,with:
Ms=Pl-(0.96-0.28 g)fv
or simplifying, if P, < 0.5P1,then AP,= P, - P, with:
P, upstream pressure (bar abs)
P, critical pressure of the fluid (bar abs)
P, vapor pressure of the liquid at the upstream temperature (bar abs)
Af, pressure drop used for sizing with critical flow (bar)
C, (critical flow rate factor) a dimensionless coefficient representing the
critical pressure drop ratio of a valve for any fluid and is valid both
for liquid vaporizations and supersonic flows
Chapter 10 CONTROL AND MONITORING 649
Direct
Measurement
Automatic
output
I 1
10.15 Block diagram of a controller.
10.3.4.1 Theory
Industrial controllers have three types of operating action that are indepen-
dent but ordinarily combined. A simplified description follows. The propor-
tional action controller (P) receives the measurement set point deviation
x = (M - C) and determines the output S given by the formula:
S=G(M-C)
Chaoter 10 CONTROL AND MONITORING 651
C is the controller gain which is also expressed by the proportional band (BP)
expressed in per cent (%):
100 100
BP(OA)=- and G = -
G BP (A)
Hence a gain of 1 = 100%of BP and a gain of 2 = 50% of BP.
In a proportional and integral action controller (PI) the integral action is
expressed by the time T, (min or s) that is required for the output variation to
be equal to the input variation.
There are controllers with proportional + integral action in series where:
S = G ( M - C)
P
+-
+
“I
Ti
I
( M - C) dt
or in parallel where:
1
S = G ( M - C) + -j ( M - C) dt
Ti
The only difference in comparison with the in-series PI is that the gain does
not influence the integral action.
In a proportional and derivative action controller (PD) the derivative
action expresses a variation rate. By definition, the input data item at the oper-
ating point is the slope of the tangent to the curve of the variable versus time.
There are controllers with proportional and derivative action in series where:
d(M - C)
S = G ( M - C) + GT, dt
P + D
or in parallel where:
d(M- C)
s=G ( M - C) + Td dt
C S
+++
Ti+Td d(M-Cj C-
S=G,(-)(M-C)+
Ti
M.
+S
C-
+SO
C
M
&
-%s p+
d(M-C)
c -
(M-C)dt+G,Td -
dt +so
Figure
10.16 PID controller structure (After “Bouclesde r6gulations”)).
Integral action depends on time, eliminates the M/C deviation and surge.
Its use is necessary in controlling liquid pressure and flow rate, gas and
steam pressure, and sometimes for level control.
Derivative action reduces oscillation amplitude and period, accelerates
stabilization, allows proportional and integral action to be increased and
offsets the drawback of dead time. Its use is necessary especially in tem-
perature and pressure control of gas and steam and generally in control
with a significant lag effect.
Set point generating modules are mechanical or pneumatic and the output
signal is pneumatic. There are also entirely mechanical local controllers.