Escolar Documentos
Profissional Documentos
Cultura Documentos
1
Part 1 Fundamentals
Technical Information
Part 1: Fundamentals
Part 4: Communication
Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Control loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CONTENTS
Device-related representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Follow-up control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Cascade control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Ratio control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3
Fundamentals Terminology and Symbols in Control Engineering
Preface
Representations and text sections referring to DIN are often cited in short
form, summarizing the contents. The precise facts must always be read - also
because of possible extensions or amendments - in the current edition of the
respective standard.
4
Part 1 L101 EN
Introduction
Planning, design and start-up of process control systems require clear and
unambiguous communication between all parts involved. To ensure this, we
need a clear definition of the terms used and as far as the documentation is
concerned standardized graphical symbols. These symbols help us
represent control systems or measurement and control tasks as well as their
device-related solution in a simple and clear manner.
SAMSON AG 00/03
5
Fundamentals Terminology and Symbols in Control Engineering
In an open loop control system, one or more input variables of a system act
on a process variable. The actual value of the process variable is not being
checked, with the result that possible deviations e.g. caused by disturban-
open action flow ces are not compensated for in the open loop control process. Thus, the cha-
racteristic feature of open loop control is an open action flow.
The task of the operator illustrated in Fig. 1 is to adjust the pressure (p2) in a
pipeline by means of a control valve. For this purpose, he utilizes an as-
signment specification that determines a certain control signal (y) issued by
the remote adjuster for each set point (w). Since this method of control does
disturbances are not consider possible fluctuations in the flow, it is recommended to use open
not recognized loop control only in systems where disturbances do not affect the controlled
variable in an undesired way.
Assignment:
wa => ya => p2a
wb => yb => p2b
y
etc.
p1 p2
SAMSON AG V74/ DKE
6
Part 1 L101 EN
p1 p2
7
Fundamentals Terminology and Symbols in Control Engineering
The German standard DIN 19226 defines closed loop control as follows:
definition of Closed loop control is a process whereby one variable, namely the variable
closed loop control: to be controlled (controlled variable) is continuously monitored, compared
DIN 19 226 with another variable, namely the reference variable and, depending on the
outcome of this comparison, influenced in such a manner as to bring about
adaptation to the reference variable. The characteristic feature of closed
loop control is the closed action flow in which the controlled variable continu-
ously influences itself in the action path of the control loop.
difficulties with the Note: In English literature we only find one term, that is control, being used
English term control for actually two different concepts known as steuern and regeln in the Ger-
man language. When translating into German, we therefore come across
the problem whether control means steuern or regeln. If both methods
are involved, control often is translated as automatisieren or leiten (con-
trol station). An exact distinction can be made if the German term Regelung
is made obvious by using the English term closed loop control.
Process
8
Part 1 L101 EN
Examples:
Control loop
The components of a control loop each have different tasks and are distingu-
ished as follows:
The components of the final control equipment are part of the controlling sy
stem as well as part of the controlled system.
The distinction made above results directly from the distribution of tasks. The
SAMSON AG 00/03
actuator processes and amplifies the output signal of the controller, whereas
the final control element as part of the controlled system manipulates the
mass and energy flow.
9
Fundamentals Terminology and Symbols in Control Engineering
DIN or IEC The abbreviation of variables allows the determination of standardized sym-
bols. The symbols used in German-speaking countries and specified in DIN
19221 correspond with the international reserve symbols approved by the
publication IEC 27-2A. Aside from that, IEC also determines so-called chief
symbols which considerably differ from those used in DIN in some important
cases.
This variable determines the value that must be reached (set point) by the
process variable to be controlled. The physical value of the reference varia-
ble this may be a mechanical or electric quantity (force, pressure, current,
voltage, etc.) is compared with the controlled variable x in the closed con-
trol loop.
This variable results from the measurement of the controlled variable and is
fed back to the comparator.
The input variable e of the controlling element is the difference between refe-
rence variable and controlled variable, calculated by the comparator. When
the influence of the measuring equipment is included, the equation e = w r
applies.
system deviation xw = x w
The equation above shows that the system deviation yields the same result as
error, however, with an inverse sign. When the influence of the measuring
SAMSON AG V74/ DKE
10
Part 1 L101 EN
yR controller output
variable
When dividing the controlling system into the controller and actuator, the va-
riable yR stands for the output variable of the controller or the input variable
of the actuator.
Disturbances act on the control loop and have an undesired effect on the
controlled variable. Closed loop control is used to eliminate disturbance va-
riables.
Yh range of the
manipulated variable
The manipulated variable y can be determined by the controller within Yh,
the range of the manipulated variable :
ymin y ymax
SAMSON AG 00/03
11
Fundamentals Terminology and Symbols in Control Engineering
However, block diagrams are not suitable for very detailed representations.
The symbols described below are better suited to represent functional details
clearly.
xe xa
12
Part 1 L101 EN
xe xa
The output signal is the algebraic sum of the input signals. This is symbolized
by the summing point. Any number of inputs can be connected to one sum-
ming point which is represented by a circle. Depending on their sign, the in-
puts are added or subtracted.
xe1
xa = xe1 + xe2 xe3
+
xe2 + xa
xe3
13
Fundamentals Terminology and Symbols in Control Engineering
x2
x 1 = x2 = x3
x1
x3
Example: Signal flow diagram of open loop and closed loop control
The block diagram symbols described above help illustrate the difference
between open loop and closed loop control processes clearly.
signal flow diagram In the open action flow of open loop control (Fig. 7), the operator positions
of open loop control the remote adjuster only with regard to the reference variable w. Adjustment
is carried out according to an assignment specification (e.g. a table: set point
w1 = remote adjuster position v1; w2 = v2; etc.) determined earlier.
man
w remote control x
adjuster valve system
14
Part 1 L101 EN
In the closed action flow of closed loop control (Fig. 8), the controlled varia- signal flow diagram
ble x is measured and fed back to the controller, in this case man. The con- of closed loop control
troller determines whether this variable assumes the desired value of the
reference variable w. When x and w differ from each other, the remote ad-
juster is being adjusted until both variables are equal.
man
w + remote control x
_ system
adjuster valve
Device-related representation
Using the symbols and terminology defined above, Fig. 9 shows the typical elements and signals
action diagram of a closed loop control system (abbreviations see page 10). of a control loop
z
controller
w + e controlling yr y final x
actuator
element control
r element
system
measuring
equipment
15
Fundamentals Terminology and Symbols in Control Engineering
graphical symbols Whenever the technical solution of a process control system shall be pointed
for detailed, solution- out, it is recommended to use graphical symbols in the signal flow diagram
related representations (Fig. 10). As this representation method concentrates on the devices used to
perform certain tasks in a process control system, it is referred to as soluti-
on-related representation. Such graphical representations make up an ess-
ential part of the documentation when it comes to planning, assembling,
testing, start-up and maintenance.
5 6
4
1
3 2
16
Part 1 L101 EN
Each unit has its own graphical symbol that is usually standardized. Equip-
ment consisting of various units is often represented by several lined-up sym-
bols.
controller controller
(former symbol)
PI
functions performed by
software are marked
with a flag
root-extracting software counter
element, with limit switch
software-based
SAMSON AG 00/03
Fig. 11: Graphical symbols for controllers, control valves and software-based
functions according to DIN 19227 Part 2
17
Fundamentals Terminology and Symbols in Control Engineering
Graphical symbols used for process control are specified in DIN 19227, in-
cluding symbols for sensors, adapters, controllers, control valves, operating
equipment, generators, conduits and accessories (Figs. 11 and 12). Howe-
graphical symbols ver, there are a number of other DIN standards covering graphical symbols,
for process control such as DIN 1946, DIN 2429, DIN2481, DIN 19239 and DIN 30600 (main
standard containing approximately 3500 graphical symbols).
Pt 100 DIN
P T L
P L
flow sensor
I P
18
Part 1 L101 EN
TI TI FRCA
106 106 302
Example: P D I C
19
Fundamentals Terminology and Symbols in Control Engineering
The meaning and the order of the identifying letters are listed in the following
table.
Y Calculating function
SAMSON AG V74/ DKE
Z Emergency interruption,
safety device
20
Part 1 L101 EN
instrumentation and
VL control tags
SOSA
1
TI KS
2 2
TI
3 GOS TIC
TI 6 8
4
5 TIC
7
RL
device-related
symbols
VL
0 1
T
ZLT
T
ZLT
T
ZLT
% PI
tAU
RL
SAMSON AG 00/03
21
Fundamentals Terminology and Symbols in Control Engineering
t
x
t
x
t
SAMSON AG V74/ DKE
22
Part 1 L101 EN
In fixed set point control, the reference variable w is set to a fixed value. Fixed fixed
set point controllers are used to eliminate disturbances and are therefore de- reference variable
signed to show good disturbance reaction.
The temperature control system in Fig. 18 will serve as an example for fixed
set point control. The temperature of the medium flowing out of the tank is to
be kept at a constant level by controlling the heating circuit. This will provide
satisfactory results as long as high fluctuations in pressure caused by distur-
bances do not occur in the heating circuit.
Follow-up control
In contrast to fixed set point control, the reference variable in follow-up con-
trol systems does not remain constant but changes over time. Usually, the re-
ference variable is predetermined by the plant operator or by external
equipment. A reference variable that changes fast requires a control loop follow-up controllers
with good reference action. If, additionally, considerable disturbances need require good
to be eliminated, the disturbance reaction must also be taken into account reference action
when designing the controller.
SAMSON AG 00/03
23
Fundamentals Terminology and Symbols in Control Engineering
w1=wsoll x2
x1 w2
q
Cascade control
Cascade control systems require a minimum of two controllers, these are the
master or primary and the follower or secondary controller. The characteri-
stic feature of this control system is that the output variable of the master con-
troller is the reference variable for the follower controller.
master and Employing cascade control, the temperature control of the heat exchanger
follower controller for (Fig. 19) provides good results also when several consumers are connected
high-quality control to the heating circuit. The fluctuations in pressure and flow are compensated
for by the secondary flow controller (w2, x2) which acts as final control ele-
ment to be positioned by the primary temperature controller.
In our example the outer (primary) control loop (w1, x1) must be designed to
have good disturbance reaction, whereas the inner secondary control
loop requires good reference action.
Ratio control
input variable is the measured value of the process variable 1 and its output
variable manipulates the process variable 2 in the control loop.
24
Part 1 L101 EN
x
q2 = V q 1
w
q2
q1
Fig. 20 illustrates a mixer in which the flow rate q2 of one material is control-
led in proportion to the flow rate q1 of another material.
SAMSON AG 00/03
25
Fundamentals Terminology and Symbols in Control Engineering
Appendix A1:
Additional Literature
[1] Controllers and Control Systems
Technical Information L102EN; SAMSON AG
[3] DIN 19227: Graphical symbols and identifying letters for process
control engineering
APPENDIX
26
Part 1 L101 EN
Figures
27
2000/03 L101 EN
1
Generator Add PID PT1 PT1PT2 Time
+
y-t
A A E A E A E A 1
_
2
3
PT1
A E
Y
Part 1 Fundamentals
t
Technical Information
Part 1: Fundamentals
Part 4: Communication
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Controlled Systems . . . . . . . . . . . . . . . . . . . . . . . . . . 7
P controlled system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
I controlled system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
System response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Proportional-action coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
CONTENTS
Nonlinear response. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Auxiliary energy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Continuous Controllers. . . . . . . . . . . . . . . . . . . . . . . . 27
Proportional-action coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
System deviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3
Fundamentals Controllers and Controlled Systems
PI controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
PID controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Discontinuous Controllers . . . . . . . . . . . . . . . . . . . . . . 45
Two-position controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Selecting a Controller . . . . . . . . . . . . . . . . . . . . . . . . 50
Selection criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4
Part 1 L102EN
Introduction
In everyday speech, the term control and its many variations is frequently control in
used. We can control a situation, such as a policeman controlling the traffic, language use
or a fireman bringing the fire under control. Or an argument may get out of
control, or something might happen to us because of circumstances beyond
our control. The term control obviously implies the restoration of a desirable
state which has been disturbed by external or internal influences.
Control processes exist in the most diverse areas. In nature, for instance, con-
trol processes serve to protect plants and animals against varying environ-
mental conditions. In economics, supply and demand control the price and
delivery time of a product. In any of these cases, disturbances may occur that
would change the originally established state. It is the function of the control
system to recognize the disturbed state and correct it by the appropriate me-
ans.
In technology, the term control is not only applied to the control process, but control in
also to the controlled system. People, too, can participate in a closed loop technology
control process. According to DIN 19226, closed loop control is defined as
follows:
Closed loop control is a process whereby one variable, namely the variable
to be controlled (controlled variable) is continuously moni-tored, compared
with another variable, namely the reference variable and influenced in such
a manner as to bring about adaptation to the reference variable. The se-
quence of action resulting in this way takes place in a closed loop in which
the controlled variable continuously influences itself.
SAMSON AG 99/10
5
Fundamentals Controllers and Controlled Systems
continuous or Note: Continuous here also means a sufficiently frequent repetition of iden-
sampling control tical individual processes of which the cyclic program sequence in digital
sampling controls is an example.
Being a little in the abstract, this definition is illustrated below with practical
examples from control engineering applications. On the one hand, control-
led systems and controllers will therefore be discussed as independent trans-
fer elements and, on the other hand, their behavior in a closed control loop
will be shown and compared.
6
Part 1 L102EN
Controlled Systems
The step response reveals how the controlled variable reacts to a change in step response
the manipulated variable. This is determined by measuring the controlled va- indicates the
riable after a step change in the manipulated variable. Depending on the re- dynamic behavior
sulting dynamic behavior, the controlled systems can be classified as follows:
4 Systems with self-regulation only change until a new stable output value is
reached.
easier to control than systems without self-regulation, because the latter have
a tendency to oscillate, i.e. they tend to be more unstable. Therefore, a pro-
7
Fundamentals Controllers and Controlled Systems
P controlled system
Since any energy transfer requires a finite amount of time, P control action
P control action with- without any lag does not occur in practice. When the time lag between mani-
out any lag is possible pulated and controlled variable is so small, however, that it does not have
in theory only any effect on the system, this behavior is called proportional control action of
a system or a P controlled system.
new equilibrium Fig. 2 shows the block diagram symbol for proportional action and the dyna-
without lag mic behavior of a P controlled system after a step change in the input varia-
y
y
q = Ks * y
SAMSON AG V74/ DKE
8
Part 1 L102EN
y
ymax
block diagramm
t0 t
x y x
xmax
t0 t
I controlled system
This example shows that the use of integral control action is mostly limited in marginal conditions
practice. The controlled variable increases or decreases only until it reaches limit the I control action
SAMSON AG 99/10
9
Fundamentals Controllers and Controlled Systems
y
ymax
block diagramm
t0 t
y x
x
xmax
Ti
SAMSON AG V74/ DKE
t0 t
10
Part 1 L102EN
Pressure control in long gas pipes exhibits similar behavior. Since the medi-
um is compressible, it takes some time until a change in pressure is noticeab-
le at the end of the pipeline.
Often, several final control elements are the cause of dead times in a control
loop. These are created, e.g. through the switching times of contactors or the
internal clearance in gears.
Dead times are some of the most difficult factors to control in process control
situations, since changes in the manipulated variable have a delaying effect
on the controlled variable. Due to this delay, controlled systems with dead ti-
mes often tend to oscillate. Oscillations always occur if controlled variable systems with dead
and manipulated variable periodically change toward each other, delayed times tend to oscillate
by the dead time.
11
Fundamentals Controllers and Controlled Systems
y
ymax
block diagram
t0 t
y x
x
xmax TL
t0 t
Delays between changes in the manipulated and controlled variable are not
only created due to dead times. Any controlled system usually consists of se-
veral components that are characterized by the capacity to store energy (e.g.
heating system with heat storing pipes, jackets, insulation, etc.). Due to these
delays caused by components and their energetic state which changes only gradually, energy
storing components consumption or discharge occurs time delayed. This also applies to all condi-
tion changes of the controlled system, because these are originated in the
transfer or conversion of energy.
When the energy supply to the boiler is changed or the radiator shut-off val-
ve is operated in the heated room, the room temperature changes only gra-
dually until the desired final value is reached.
SAMSON AG V74/ DKE
12
Part 1 L102EN
x
1
od (Fig. 7). In principle, the speed of response slows down as it approaches exponential curves
its final value, until it asymptotically reaches its final value. While the output characterize dynamic
variable may suddenly change in systems with dead times, systems with behavior
energy storing components can only change steadily.
The dynamic behavior of the system depends on those lags that produce the
decisive effect, thus, on the size of the existing storing components. Essential-
ly, large components determine this factor so that smaller components fre-
quently have no effect.
Controlled systems with energy storing components are classified according classification of
to the number of lags that produce an effect. For instance, a first-order sys- systems with lags
tem has one dynamic energy storing component, a second-order system has
two energy storing components, etc. A system without any lags is also refer-
red to as a zero-order system (see also P controlled system). A behavior re-
sembling that of a zero-order system may occur in a liquid-filled pressure
system without equalizing tanks.
SAMSON AG 99/10
13
Fundamentals Controllers and Controlled Systems
First-order system
A first-order system with only one dynamic energy storing component is illu-
strated in Fig. 8: the temperature of a liquid in a tank equipped with inlet,
temperature control outlet and agitator is adjusted via mixing valve. Due to the large tank volume,
via mixing valve the temperature changes only gradually after the valve has been adjusted
(step change).
KW T [C]
WW
y
ymax
block diagram
t0 t
x y x
xmax
T1
SAMSON AG V74/ DKE
t0 t
14
Part 1 L102EN
necessary for the controlled variable x (response curve) to reach 63% of its
final value after a step input has been introduced. The course of the function
is derived as follows:
t
x (t ) = 1 e T1
H
KW
T [C]
WW
SAMSON AG 99/10
15
Fundamentals Controllers and Controlled Systems
y
ymax
block diagram
t0 t
x y x
xmax
t0 t
t
x
tangent
inflection
point
Tu Tg t
SAMSON AG V74/ DKE
Fig. 12: Step response of a higher-order controlled system with the charac-
teristic values Tu and Tg
16
Part 1 L102EN
t t
x (t ) = (1 e T1 ) (1 e T 2 )
For a simplified characterization of this behavior, the process lag Tu and the Tu and Tg simplify
process reaction rate Tg are defined with the help of the inflection point the evaluation
tangents (Fig. 12). Since process lag has the same effect as dead time, a
system is more difficult to control when Tu approaches the value of the
process reaction rate Tg. The higher the system order, the less favorable does
this relationship develop (Fig. 13).
The controllability improves, however, when the time constants T1, T2, etc.
are as small as possible compared to the time required by the control loop for
corrective action. Highly different time constants (factor 10 or higher) also time constants
simplify the controller adjustment since it can then be focused on the highest, characterize the
the time determining value. It is therefore on the part of the practitioner to control response
carefully consider these aspects already during the design phase of a
process control system.
x
1
first-order
fifth-order
fourth-order
third-order
second-order
17
Fundamentals Controllers and Controlled Systems
Characterizing
Controlled Systems
System response
The system-specific lags and/or dead times can also be so small that they do
only time determining not have to be considered in the control process. In temperature controllers,
elements are important for instance, the short time of opening the control valve can usually be ne-
glected contrary to the much longer heating time.
Proportional-action coefficient
y x
y x
SAMSON AG V74/ DKE
Fig. 14: Dynamic behavior of an actuator with internal clearance in its gears
(lagging integral response with dead time)
18
Part 1 L102EN
x x 2 x 1
K PS = =
y y 2 y 1
To calculate KPS, the system must reach a new equilibrium after a step change KPS: proportional-
in the manipulated variable y. Since this requirement is only met by systems action coefficient of the
with self-regulation, KPS is not defined for systems without self-regulation. system
The factor KPS is frequently referred to as system gain. This term is not quite
correct. If KPS is smaller than one, it does not have the effect of an
amplification factor. Therefore, the proper term must be proportional-action
coefficient. To ensure that the above relationship applies irrespective of the
nature of the variables, input and output signals are normalized by dividing
them by their maximum values (100 % value).
Nonlinear response
In many practical applications, KPS is not constant over the complete range of dynamic behavior
the controlled variable, but changes depending on the corresponding depends on the
operating point. Such a response is termed nonlinear which is often operating point
encountered in temperature control systems.
w
20...100C
x
SAMSON AG 99/10
19
Fundamentals Controllers and Controlled Systems
K PS (0 C ) > K PS (100 C )
T[C]
OP2
T2
P1 = P2
1 > 2
T1 OP1 K pS (OP1 ) > K pS (OP2 )
SAMSON AG V74/ DKE
P1 P2 P[kW]
20
Part 1 L102EN
If a nonlinear system is mostly or principally operated at one fixed operating tuning the controller to
point, the controller is tuned especially to this operating point. The system a fixed operating
parameters (e.g. Tu/Tg) must therefore be determined for this operating point point...
only and, if applicable, to its immediate surrounding area.
If a fixed operating point cannot be defined, such as with follow-up control or an entire
systems, the adjustment of the controller parameters remains a compromise. operating range
In that case, the controller is usually tuned to medium system gain.
21
Fundamentals Controllers and Controlled Systems
Tg
3< < 10 only just controllable;
Tu
Tg
10 easy to control.
Tu
22
Part 1 L102EN
controller
w + e control y
element
reference
x
element x=r
Classification
Control elements can be designed in many different ways. For instance, the
manipulated variable y can be generated
4 analog or digitally,
4 with or without auxiliary energy
from the error e. Although these differences significantly influence the con-
troller selection, they have (almost) no impact on the control response. First
and foremost, the control response depends on the response of the manipu-
lated variable. Therefore, controllers are classified according to their control
SAMSON AG 99/10
signal response. Depending on the type of controller, the control signal can control signal response
either be continuous or discontinuous. control response
23
Fundamentals Controllers and Controlled Systems
controllers
continuos discontinuous
controllers controllers
P controller two-position
I controller three-position
PD controller multiposition
PI controller
PID controller
continuous... In continuous controllers, the manipulated variable can assume any value
within the controller output range. The characteristic of continuous controllers
usually exhibits proportional (P), integral (I) or differential (D) action, or is a
sum of these individual elements (Fig. 18).
...or discrete range of In discontinuous controllers, the manipulated variable y changes between di-
the manipulated screte values. Depending on how many different states the manipulated va-
variable riable can assume, a distinction is made between two-position, three-
position and multiposition controllers. Compared to continuous controllers,
discontinuous controllers operate on very simple, switching final controlling
elements. If the system contains energy storing components, the controlled
variable responds continuously, despite the step changes in the manipulated
variable. If the corresponding time constants are large enough, good control
results at small errors can even be reached with discontinuous controllers
and simple control elements.
Auxiliary energy
Any controller and final controlling element requires energy to operate. Con-
SAMSON AG V74/ DKE
externally supplied trollers externally supplied with pneumatic, electric or hydraulic energy are
energy or energy deri- classified as controllers with auxiliary energy. If no energy transfer medium
ved from the system is available at the point of installation, self-operated regulators should be
24
Part 1 L102EN
e y
PI
e y
used. They derive the energy they require to change the manipulated varia-
ble from the controlled system. These cost-effective and rugged controllers
are often used for pressure, differential pressure, flow and temperature con-
trol. They can be used in applications where the point of measurement and
the point of change are not separated by great distances and where system
deviations caused by energy withdrawal are acceptable.
As with the controlled systems, the following chapters will illustrate the dyna-
mic behavior of individual controllers based on step responses (Fig. 19). The
resulting control response can be shown even more clearly in a closed con-
trol loop.
w e y x
PI PT2
w e y x
SAMSON AG 99/10
25
Fundamentals Controllers and Controlled Systems
action flow in a closed In a closed control loop, a step change in the reference variable first results in
control loop a step increase in the error signal e (Fig. 20). Due to the control action and
the feedback, the error signal will decrease in time. Finally, the controlled va-
riable will reach a new steady state, provided that the control response is sta-
ble (Fig. 20: Controlled variable x).
comparison of control In order to be able to compare and analyze the response of different control-
responses based on lers, each controller will be discussed in regard to its interaction with the
a reference system same reference system. This is a third-order system with the following para-
meters:
Proportional-action coefficient: KP = 1
System parameters: T1 = 30 s; T2 = 15 s; T3 = 10 s .
The lag and the proportional-action of this system can be seen in Fig. 21. It
shows the step response, i.e. the response of the output variable (controlled
variable x) to a step change in the input variable (manipulated variable y).
SAMSON AG V74/ DKE
26
Part 1 L102EN
Continuous Controllers
metal bellow
y
x
D
p1 p2
e
Proportional-action coefficient
The dynamic behavior of the P controller after a step change in the error
variable is shown in Fig. 23. The amplitude of the manipulated variable y is
SAMSON AG 99/10
27
Fundamentals Controllers and Controlled Systems
e
emax
block diagram
t1 t
t2
e y
y
ymax
t1 t
t2
proportional-action Note: In place of the proportional-action coefficient KP, the old term
coefficient or proportional band is frequently used in literature which is represented by
proportional band the parameter XP[%]. The parameter is converted as follows:
100[%] 100[%]
XP = or KP =
KP XP
SAMSON AG V74/ DKE
28
Part 1 L102EN
y y
Kp
y0 y0
e e
System deviation
t
x
x0 e
t
SAMSON AG 99/10
29
Fundamentals Controllers and Controlled Systems
P controller:
This way, any control amplitude y0 can be generated, even with zero error.
In mathematical terms, this measure corresponds to a parallel displacement
of the operating characteristic over the entire operating range (see Fig. 24).
In a pressure control system (Fig. 26), p2 lies within the range of 0 to 20 bar,
the operating point (pOP, qOp) is pOp = 8 bar.
operating point With the help of the operating point adjustment the spring can be preloaded
SAMSON AG V74/ DKE
adjustment by in such a manner that the valve releases the cross-sectional area which is
preloading the spring exactly equivalent to the operating point at p2 = 8 bar => zero system
deviation.
30
Part 1 L102EN
For instance, this would allow the following assignment (Fig. 26):
There is a maximum system deviation of 0.5 bar over the entire valve travel
range. If this is not tolerable, KP must be increased: a KP of 50 reduces the high KP reduces system
system deviation to 0.2 bar (20 bar/50 = 0.4 bar). However, KP cannot be deviation and increa-
increased infinitely. If the response in the controller is too strong, the ses the tendency to
controlled variable will overshoot, so that the travel adjustment must be oscillate
subsequently reversed for counteraction: the system becomes instable.
p1 p2
20
10
8 KP = 50
Kp = 10
6
q0 qAP qmax
H0 HAP H100
31
Fundamentals Controllers and Controlled Systems
Kp
VE
SW
VA
The water in a tank (Fig. 27) is to be kept at a constant level, even if the output
flow rate of the water is varied via the drain valve (VA).
The illustrated controlling system is at steady state when the supplied as well
as the drained water flow rates are equally large the liquid level remains
constant.
level control: If the drain valve (VA) is opened a little further, the water level will start to fall.
principle of operation The float (SW) in the tank will descend together with the water level. This will
cause the rigid lever connected to the float to open the inlet valve (VE). The in-
creasing flow finally prevents the water level from dropping still lower so that
the system reaches a new equilibrium level.
32
Part 1 L102EN
4 In case of disturbances, steady-state error is always sustained: when the steady-state error
outlet flow rate permanently changes, it is urgently required for the liquid
level to deviate from the originally adjusted set point to permanently chan-
ge the position of the inlet valve (VE) as well.
4 The system deviation decreases at high gain (high proportional action co-
efficient), but also increases the risk of oscillation for the controlled varia-
ble. If the pivot of the lever is displaced towards the float, the controller
sensitivity increases. Due to this amplified controlling effect, the supply limit values in
flow changes more strongly when the level varies; too strong an amplifica- adjusting KP
tion might lead to sustained variations in the water level (oscillation).
Note: The illustrated level control system uses a self-operated regulator. The self-operated
control energy derived from the system is characteristic of this controller type: regulators for simple
the weight of the float and the positioning forces are compensated for by the control tasks
buoyancy of the float caused by its water displacement.
33
Fundamentals Controllers and Controlled Systems
P controller applications:
P controllers: fast and P controllers are suited to noncritical control applications which can tolerate
stable with steady- steady-state error in the event of disturbances: e.g. pressure, flow rate, level
state error and temperature control. P control action provides rapid response, although
its dynamic properties can still be improved through additional control com-
ponents, as described on page 38 ff.
34
Part 1 L102EN
1
y = K i e dt with: K i =
Tn
Note: The higher the integral action coefficient Ki, the greater the integral high Tn slow
action of an I controller, or it is the lower, the higher the integral time value Tn. control action
metal
y x bellow
p1 p2
35
Fundamentals Controllers and Controlled Systems
e
emax
t1 t block diagram
t2
e y
y
ymax
t1 t2 t
functional principle A virtual control cycle helps us recognize the functional principle:
of integral pressure When, due to an additional consumer, the pressure p2 drops, the nozzle
controllers turns towards the upper piston chamber. The piston slides downward,
opening the valve until the equilibrium of forces is restored. The nozzle is
then again in mid-position, i.e. error equals zero and the valve plug remains
in the new, wider open position.
36
Part 1 L102EN
Note: Adjusting an operating point would not make any sense for I control-
lers, since the integral action component would correct any set-point deviati-
on. The change in the manipulated variable until error has been eliminated is
equivalent to an automated operating point adjustment: the manipulated by self-adaption to
variable of the I controller at steady state (e=0) remains at a value which the operating point
would have to be entered for P controllers via the operating point adjuster.
37
Fundamentals Controllers and Controlled Systems
de
y = K P e + K D + y0 with: K D = K p T v
dt
As with the P controller, the summand y0 stands for the operating point
adjustment, i.e. the preselected value of the manipulated variable which is
issued by the controller in steady state when e = 0.
P
e y e y
PD =
D
SAMSON AG V74/ DKE
38
Part 1 L102EN
e
emax
block diagram
t1 t
t2
y e y
ymax
t
t1 t2
The course of the manipulated variable which can be seen in the step respon-
se shows the influence of the D component (see Figs. 23 and 32): any change
in the error signal results in a short-term increase of the manipulated varia-
ble. Due to parasitical lags, this pulse has only a finite rate of change. An in- small lags influence
definitely short pulse, as required by the above equation, will not occur in the control pulse
practice.
Note: The influence of the D component increases proportional to the rate high TV great
time TV or the derivative-action coefficient KD. control action
39
Fundamentals Controllers and Controlled Systems
PI controllers
suited to many PI controllers are often employed in practice. In this combination, one P and
control tasks one I controller are connected in parallel (Fig. 35). If properly designed, they
combine the advantages of both controller types (stability and rapidity; no
steady-state error), so that their disadvantages are compensated for at the
same time.
P
e y e y
PI =
I
SAMSON AG V74/ DKE
40
Part 1 L102EN
e
emax
block diagram
t1 t
t2
e y
y
ymax
Tn
t1 t2 t
Kp
y = K p e + K i e dt with: K i =
Tn
As expected, PI control of the PT3 system (Fig. 37) exhibits the positive
properties of P as well as of I controllers. After rapid corrective action, the
controlled variable does not show steady-state error. Depending on how
41
Fundamentals Controllers and Controlled Systems
variable controller high the KP and Tn values are, oscillation of the controlled variable can be
design reduced, however, at the expense of control dynamics.
PI controller applications:
Control loops allowing no steady-state error.
Examples: pressure, temperature, ratio control, etc.
PID controller
e y e y
PID = I
D
SAMSON AG V74/ DKE
42
Part 1 L102EN
e
emax
t1 t block diagram
t2
e y
y
ymax
t1 t2 t
de KP
y = K p e + K i e dt + K D with K i = ; K D = K P TV
dt Tn
system example. The controlled variable reaches its set point rapidly, accurate and highly
stabilizes within short, and oscillates only slightly about the set point. The dynamic control
three control parameters KP, Tn and TV provide an immense versatility in
43
Fundamentals Controllers and Controlled Systems
Fig. 40: Control response of the PID controller with PT3 system
and require careful adjusting the control response with respect to amplitude and control
tuning adjustments dynamics. It is therefore especially important that the controller be designed
and tuned with care as well as be adapted to the system as good as possible
(see chapter: Selecting a Controller).
44
Part 1 L102EN
Discontinuous Controllers
Two-position controller
If contact is made bimetal and set point adjuster are touching a current
supplies the hot plate with electricity. If the bimetallic strip is installed near the
hot plate, it heats up as well. When heated up, the bottom material expands
more than the top material. This causes the strip to bend upward as the heat
increases, and it finally interrupts the energy supply to the heating coil. If the
temperature of the bimetal decreases, the electrical contact is made again, cyclic on/off switching
starting a new heating phase.
y y xxdg
ymax ymax
w x x
xxbotw xxtop
SAMSON AG 99/10
45
Fundamentals Controllers and Controlled Systems
To increase the service life of the contacts, as shown in Fig. 42, a differential
gap xdg can be created by using an iron plate and a permanent magnet. The
differential gap conditions for on/off switching are not identical anymore (xbot and xtop
reduces switching according to Fig. 41), so that the switching frequency is reduced and spark
frequency generation is largely prevented.
.
_ Q thermal convection
~
N Fe
S magnet
x
xmax Ts
x top
xdg
x bot
t
y
SAMSON AG V74/ DKE
Fig. 42: Control cycle of a two-position controller with differential gap and
first-order controlled system
46
Part 1 L102EN
x xtop
x
x xbot
y t
Fig. 44: Control cycle of a two-position controller with differential gap and
higher-order controlled system
47
Fundamentals Controllers and Controlled Systems
three-position control- In the field of control valve technology, three-position controllers are fre-
led actuator motors quently used in combination with electric actuators. The three states of coun-
terclockwise (e.g. opening), clockwise (e.g. closing) and off can be used
quasi-continuous to adjust any valve position via relay and actuator motor (Fig. 46). Using a
control discontinuous controller with integrated actuator (e.g. actuator motor) and
ymax
A B C
SAMSON AG V74/ DKE
48
Part 1 L102EN
e yR y
yR
49
Fundamentals Controllers and Controlled Systems
Selecting a Controller
Selection criteria
what to consider when Which controller to select depends on the following factors:
selecting a controller
4 Is the system based on integral or proportional control action (with or wit-
hout self-regulation)?
4 How great is the process lag (time constants and/or dead times)?
4 How fast must errors be corrected?
4 Is steady-state error acceptable?
According to the previous chapters (see also above table), controllers and
systems can be assigned to each other as follows:
SAMSON AG V74/ DKE
50
Part 1 L102EN
It makes sense to employ PD controllers in systems with great lag where offset PD controllers
is tolerable. The D component increases the speed of response so that control
dynamics improve compared to P controllers.
I controllers are suitable for use in applications with low requirements as to I controllers
the control dynamics and where the system does not exhibit great lag. It is an
advantage that errors are completely eliminated.
PI controllers combine the advantages of both P and I controllers. This type of PI controllers
controller produces a dynamic control response without exhibiting stea-
dy-state error. Most control tasks can be solved with this type of controller.
However, if it is required that the speed of response be as high as possible re-
gardless of the great lag, a PID controller will be the proper choice.
PID controllers are suitable for systems with great lag that must be eliminated PID controllers
as quick as possible. Compared to the PI controller, the added D component
results in better control dynamics. Compared to the PD controller, the added I
component prevents error in steady state.
For nonlinear systems that should always work in the same operating point, adaptation to operating
e.g. fixed set point control, the controller parameters must be adapted to the point or range
SAMSON AG 99/10
51
Fundamentals Controllers and Controlled Systems
be adjusted to ensure a sufficiently rapid and stable control result within the
entire operating range.
In practice, controllers are usually tuned on the basis of values gained by ex-
perience. Should these not be available, however, the system response must
be analyzed in detail, followed by the application of several theoretical or
practical tuning approaches in order to determine the proper control para-
meters.
ultimate tuning method One approach is a method first proposed by Ziegler and Nichols, the
by Ziegler and Nichols so-called ultimate method. It provides simple tuning that can be applied in
many cases. This method, however, can only be applied to controlled sys-
tems that allow sustained oscillation of the controlled variable. For this me-
thod, proceed as follows:
4 At the controller, set KP and TV to the lowest value and Tn to the highest
value (smallest possible influence of the controller).
4 Adjust the controlled system manually to the desired operating point (start
up control loop).
4 Set the manipulated variable of the controller to the manually adjusted va-
lue and switch to automatic operating mode.
KP Tn Tv
P 0,50 K p , crit . - -
52
Part 1 L102EN
4 Determine the time span for one full oscillation amplitude as Tcrit, if
necessary by taking the time of several oscillations and calculating their
average.
4 Multiply the values of KP,crit and Tcrit by the values according to the table in
Fig. 47 and enter the determined values for KP, Tn and TV at the controller.
53
Fundamentals Controllers and Controlled Systems
Appendix A1:
Additional Literature
[1] Terminology and Symbols in Control Engineering
Technical Information L101EN; SAMSON AG
54
Part 1 L102EN
Figures
55
Fundamentals Controllers and Controlled Systems
Fig. 40: Control response of the PID controller with PT3 system . . . . . 44
56
SAMSON AG 99/10
Part 1 L102EN
57
NOTES
Fundamentals Controllers and Controlled Systems
NOTES
58
SAMSON right on quality course
ISO 9001
Our quality assurance system,
Digital Signals
1 bit
Part 1 Fundamentals
t
Technical Information
Part 1: Fundamentals
Part 4: Communication
Digital Signals
Flexible processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Bit-parallel transmission. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CONTENTS
Bit-serial transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
Fundamentals Digital Signals
4
Part 1 L150EN
Digital Signals
Unlike analog technology which uses continuous signals, digital technology continuous or
encodes the information into discrete signal states (Fig. 1). When only two discrete signals
states are assigned per digital signal, these signals are termed binary si-
gnals. One single binary digit is termed a bit a contraction for binary digit.
A binary signal representing only two states contains very little information digital data are compo-
compared to an analog signal. If a quantitiy to be represented digitally re- sed of several bits
quires a wider range of values, it must be described by several bits. As you (binary digits)
can see in the table in Fig. 2., the range of values increases rapidly with the
number of bits used.
continuous discrete
signal curve signal curve
5
Fundamentals Digital Signals
conversion of analog To be able to process analog quantities digitally, they have to be converted
signals into digital values first. Since an analog quantity can assume an infinite num-
ber of intermediate values and a digital quantity, on the other hand, can only
quantization error assume a limited number of values, quantization errors occur when analog
caused by A/D signals are converted into discretized, digital signals (Fig. 3). Increasing the
conversion number of bits used for digital representation and the sampling rate of the
analog signal reduces quantization errors.
1 bit
error
[Bit]
t
SAMSON AG V74/ DKE
6
Part 1 L150EN
The example in Fig. 4 calculates the discretization of the measured displace- calculation example
ment data using 8- and 12-bit representation. A discretization of 1.2 mm
would be perfectly alright for sorting piece goods, whereas it is absolutely in-
sufficient for positioning a machine tool. To be able to work accurately in the
tenth millimeter range, a minimum range of values of 12 bits is necessary.
Digital technology rarely operates with the smallest possible digital quantity,
but often groups 8 bits together to form a byte. So 8, 16 or 32 bit units are 8 bits = 1 byte
termed accordingly 1, 2 or 4 byte units.
The binary system with its 0s and 1s soon becomes unclear when it comes to
larger range of values, as you can see from this 2-byte variable: 01101001
00001101.
More clarity can be achieved when using the hexadecimal system. In this 16 characters for hexa-
numbering system, each character can assume 16 different values: 0 to 9 decimal notation
and A to F.
7
Fundamentals Digital Signals
hexadecimal notation Fig. 5 shows that each hexadecimal number is assigned to a value of a 4-bit
improves clarity unit. Using this shorter and clearer type of representation, the 2-byte varia-
ble (4 * 4 bits) shown above is now the hexadecimal number 690D:
code schemes for To be able to process data and messages digitally, they have to be encoded
information encoding into binary digits. Whether letters, texts, numbers or states (e.g. properties of
a body) are involved, each piece of information must be converted into a bi-
nary unit using an unambiguous code scheme. This process is also called
8
Part 1 L150EN
In practice, there are many different, largely standardized types of codes for many codes have
letters, texts, numbers and states. Fig. 6 gives some of the most common code proven successful in
schemes. Such codes for characters and numbers exist, of course, also for practice
other smaller as well as wider ranges of values.
SAMSON AG 99/12
9
Fundamentals Digital Signals
LOW level:
HIGH level:
10
Part 1 L150EN
Digital data can be stored very easily on a variety of often very cost-effective good storage properties
data carriers. There is the option of storing in volatile semiconductor memo-
ries (Random Access Memory: RAM), or permanently on magnetic and opti-
cal data carriers.
Flexible processing
The two states of a binary signal can be encoded in many different ways, electrical, optical or
thus offering a broad spectrum of application. For data transmission over acoustical transmission
long distances, for example, optical fiber cables are used because of their
low energy consumption and high interference immunity. Binary signals can
be assigned directly to the ON/OFF states of a light signal, while analog si-
gnals can only be transmitted optically after expensive and time-consuming
linearization and intensity analysis which is liable to errors.
SAMSON AG 99/12
11
Fundamentals Digital Signals
transmitter receiver
9 lines
1. 1.
2. 2.
8-bit- 3. 3. 8-bit
4. 4.
unit 5. 5.
unit
6. 6.
7. 7.
8. 8.
There are two ways to transmit digital data between one or several devices or
communication participants, either parallel or serial transmission.
Bit-parallel transmission
transmission via With parallel transmission, all bits of a piece of information are transmitted
several signal lines at the same time bit-parallel via an appropriate number of signal lines.
The installation costs are high and only acceptable for short distances. The
transmission of one byte alone requires a minimum of nine lines 8 bits and
a reference potential (Fig. 8). Therefore, this technique is presently almost
only used for device busses. This application over short distances requires
high transmission rates while doing without conversion methods that need a
large number of components.
Bit-serial transmission
transmission via one For long distances, serial transmission is a good solution. Here, only one si-
signal line gnal line transmits the bits one after the other. As a result, the transmission of
information takes more time, which is nevertheless acceptable because, on
SAMSON AG V74/ DKE
the other hand, the installation effort and the costs are considerably reduced
(Fig. 9). Since all the information is mostly generated and processed in
bit-parallel mode, the transmitter must convert the data from parallel to seri-
al, and the receiver must reconvert it from serial to parallel. This function is
12
Part 1 L150EN
transmitter receiver
2 lines
1. 8.
2. 7.
3. 6.
4. 5.
8-bit unit
8-bit unit
5. 4.
6. 3.
7.
8,7,6,5,
2.
8. 4,3,2,1 1.
8. 7. 6. 5. 4. 3. 2. 1. 8. 7. 6. 5. 4. 3. 2. 1.
13
Fundamentals Digital Signals
Appendix A1:
Additional Literature
[1] L153EN: Serial Data Transmission
Technical Information; SAMSON AG
14
Part 1 L150EN
Figures
FIGURES
SAMSON AG 99/12
15
1999/12 L150EN
1
RS 485 RS 485
device device
A/
B/+
buscable:
max. 500m device
RS 485 connection:
Part 1 Fundamentals
device max. 5 m
Technical Information
Part 1: Fundamentals
Part 4: Communication
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Point-to-point connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Communications networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Transmission medium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Electric lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Fiber optics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CONTENTS
Binary coding of data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Manchester coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Transmission techniques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Synchronous transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Asynchronous transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Communications control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Error detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
SAMSON AG 99/12
3
Fundamentals Serial Data Transmission
RS 422 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
RS 485 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
IEC 61158-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Bell 202 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Telephone network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
ISDN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4
Part 1 L153 EN
Introduction
Serial data transmission implies that one bit is sent after another (bit-serial)
on a single transmission line. Since the microprocessors in the devices pro- transmission over a
cess data in bit-parallel mode, the transmitter performs parallel-to-serial single line
conversion, while the receiver performs serial-to-parallel conversion (Fig. 1).
This is done by special transmitter and receiver modules which are commer-
cially available for different types of networks.
Extremely high data rates are possible today so that the increased time con-
sumption required by this technology is accepted in most cases. The reduc-
tions in costs and installation effort as well as user-friendliness, on the other high data rates at low
hand, are points not only for locally extended systems in favor of serial costs
data transmission.
transmitter receiver
2 lines
1. 8.
2. 7.
3. 6.
8-bit unit
8-bit unit
4. 5.
5. 4.
6. 3.
7.
8,7,6,5,
2.
8. 4,3,2,1 1.
simple two-wire line for
8. 7. 6. 5. 4. 3. 2. 1. 8. 7. 6. 5. 4. 3. 2. 1.
bit-serial data
transmission
5
Fundamentals Serial Data Transmission
Transmission systems differ as to the direction in which the data flow and
when messages can be transmitted. Basically, there are three different ways
of communication (Fig. 2).
e.g. radio relay system 4 simplex: data exchange in only one direction,
telex and field networks 4 half-duplex: the stations take turns to transmit data and
telephone network 4 full-duplex: data can be exchanged in both directions simultaneously
Point-to-point connection
unidirectional
transmission
simplex A B
one transmission
at a time
A, B: half-duplex A B
communication bidirectional
transmission
participants full-duplex A B
SAMSON AG V74/ DKE
6
Part 1 L153 EN
transmitting transmitting
receiving receiving
participant A participant B
Communications networks
C transmitting and
A receiving over the
same line
D
SAMSON AG 99/12
7
Fundamentals Serial Data Transmission
red in bps, bits per second. As data rates are extremly high nowadays, such
units as kilobit per second; kbit/s and megabit per second; Mbit/s are
not unusual.
When each bit is encoded and transmitted individually, the transmission line
must be able to transmit frequencies that correspond to half of the bit trans-
mission rate :
When it is necessary to achieve a high data rate, even though the transmis-
encoding increases sion bandwidth is limited, several bits can be grouped and encoded to-
information density gether. Fig. 5 shows how four different states (voltage levels) can be used to
transmit two bits at a time. This method cuts the state changes in the signal
line by half and, therefore, reduces the transmission frequency.
10 10 V
11 15 V 10V
5V
data: 00 10 01 11 01 11 10 00
SAMSON AG V74/ DKE
8
Part 1 L153 EN
9
Fundamentals Serial Data Transmission
Transmission medium
Signal transmission
For serial data transmission, quite different transmission media are avail-
able. The signals are transmitted either electrically, as light pulses or via ra-
dio waves. When selecting which medium is suitable, several factors should
be kept in mind:
10
Part 1 L153 EN
design
Electric lines
A great advantage of electric lines is their simple and cost-effective prepara- convenient handling
tion (cutting to length and termination). However, there are some disadvan-
tages which include the attenuation of signals and interference susceptibility.
These drawbacks are not only influenced by the type of cable used
twisted-pair, coaxial, etc. but also by the interface specification (data for-
mat, level, etc., see page 31f.).
To be able to determine the electric properties of a cable, the line is described transmission behavior
as a sequence of sub-networks consisting of resistors, capacitors, and of electric lines
inductors (Fig. 8). While the resistors change the static signal level, capaci-
tors and inductors create low passes which have a negative effect on the
R L
Us G C UE
Us UE
SAMSON AG 99/12
t1 t2 t t1 t2 t
11
Fundamentals Serial Data Transmission
Fig. 9: Line length dependent on the data rate (example: RS 485 standard)
edge steepness. The cable must therefore be selected to meet the following
criteria:
attenuation and signal 4 The line resistance must be low enough so that a sufficiently high signal
distortion cause amplitude can be guaranteed on the receiver side.
interferences
4 The cable capacitances and inductances must not distort the signal edges
to an extent that the original information is lost.
Both criteria are influenced by the electric line parameters and the influence
increases with the length of the line as well as with the number of participants
connected. As a result, each cable type is limited in its line length and maxi-
mum number of participants.
The higher the signal frequency, the stronger the effect the capacitances and
inductances have on the signal. An increasing transmission frequency has
therefore a limiting effect on the maximum line length. Fig. 9 illustrates this
relationship referring to the RS 485 interface specification (see also
page 35).
To limit the signal distortion occurring in long-distance lines and at high data
rates, such applications frequently use low-inductance and low-capacitance
cables, e.g. Ethernet with coaxial cable.
interference caused by Signals transmitted over electric lines are subject to yet another phenome-
line reflection non, which is important to be aware of when installing a line. The electric
properties of a line can be influenced by
4 connecting devices or
4 a line that is not terminated at the beginning or at the end.
12
Part 1 L153 EN
This causes so-called line reflections. The term means that transient reactions
take place on the line, that are caused by the finite signal propagation speed.
Since transient reactions distort the signal levels, a signal can only be read
accurately, when
To enable the use of long lines even for high data rates, the formation of line terminating resistors
reflections must be prevented. This is achieved when the electric properties reduce line reflections
remain constant across the entire line. The line properties must be imitated as
precisely as possible at the beginning and at the end of the line by connect-
ing a terminating resistor.
b) RS 485 standard
a) b) 390 c)
c) IEC 61158-2
100
UE 120 UE UE
220
1 F
390
SAMSON AG 99/12
GND
13
Fundamentals Serial Data Transmission
14
Part 1 L153 EN
Fiber optics
The diameter of an optical fiber is approx. 0.1 mm. Depending on the ver-
sion, the diameter of the light-transmitting core lies between 9 m and 60 m
(Fig. 11). Usually, several up to a thousand of such fibers and a strain re-
lief are grouped into a cable.
The light signals are usually supplied to the fiber via a laser LED and ana-
lyzed by photo-sensitive semiconductors on the receiver side. Since signals
transmitted in optical fibers are resistant to electromagnetic interferences and large distances and
only slightly attenuated, this medium can be used to cover extremely long high interference
distances and achieve high data rates. The advantages of optical data trans- immunity
mission are summarized in the following:
4 suitable for extremely high data rates and very long distances, advantages of fiber
optics
4 resistant to electromagnetic interference,
4 no electromagnetic radiation,
4 suitable for hazardous environments and
4 electrical isolation between the transmitter and receiver stations
~ 60 m multimode
fiber
~ 9 m monomode
fiber
SAMSON AG 99/12
15
Fundamentals Serial Data Transmission
a) multimode r
step index fiber
a)
b) multimode n
graded-index fiber
r
c) monomode fiber
b)
n
r
c)
n
Like electric pulses, light pulses are increasingly attenuated when transmitted
over a long distance. This is caused by the following phenomena:
origins of pulse 4 The light covers varying distances within the cable (different propagation
distortion times see Fig. 12).
4 Light with different wave lengths (color) propagates at different rates in the
fiber dispersion.
For high data rates and large transmission distances, excellent repeat accu-
racy of the light pulses during transmission is mandatory. Therefore, the opti-
mum transmitter should be a light source with a spectral bandwidth (laser)
that is as small as possible and with extremely small core fibers. Two different
fiber types are available, multimode and monomode fibers (see Figs. 11 and
12).
monomode fiber meets Monomode fibers help achieve the best pulse repeat accuracy. The core di-
highest requirements ameter of these fibers is so small that only the paraxial light beam (mode 0)
SAMSON AG V74/ DKE
can be formed. The small diameter, however, requires particularly high pre-
cision when the light beam is supplied to the fiber.
16
Part 1 L153 EN
If multimode fibers with a larger diameter are used, the number of possible multimode fiber with
propagation paths increases and, hence, the distortion of the pulses. How- step index or
ever, this effect can be reduced by using specially manufactured fibers. These grade index profile
special fibers do not have a step index profile, i.e. a constant refractive in-
dex, but a so-called grade index profile. In this case, the refractive index of
the core increases with the radius. The propagation rate which changes with
the refractive index largely compensates for the different propagation times
in the core, thus enabling higher pulse accuracy.
The handling of optical fibers, i.e. cutting to length and termination, as well high costs limit
as coupling and decoupling of optical signals is comparably complex and application
therefore expensive. These are the reasons why fiber optics are only used
when great distances must be covered at high data rates, or else when spe-
cial EMC measures must be taken.
SAMSON AG 99/12
17
Fundamentals Serial Data Transmission
... in sight When the participants communicate while in sight of each other and when
the distances to be covered are small and the data rates low, the comparably
simple optical transmission via infrared radiation can be used successfully.
over the globe Radio-based communication can be used for a lot more applications. In ev-
eryday life, mobile phones are a good example of the widespread use of ra-
dio-based communication. Radio communications extend not only to the
field of telecommunications. There are also other communications networks
such as field and automation networks which use this technology. In the
latter case, we speak of radio LAN or wireless LAN (WLAN).
18
Part 1 L153 EN
appr
ox. 3
0m
Fig. 14: Simple WLAN for use in the domestic field and industry
Presently, the standard specifies data rates only up to two Mbit/s. However,
improved modulation techniques or extended frequency bands are sup-
posed to help achieve and fix higher data rates ranging from 10 to 20
Mbit/s.
19
Fundamentals Serial Data Transmission
The transmission medium determines whether the data are transmitted elec-
trically, optically or via radio signals. However, it is not defined how the two
binary states (0 and 1) are distinguished.
Depending on how the 0s and 1s are assigned to the states low and
high, we speak of
The transmission medium represents the states high and low in a certain
manner, which is the so-called format of the data. The following variables
can be analyzed:
4 With synchronous data transmission (see page 24), the clock pulse rate of
the transmitter must also be transmitted to the receiver. To save an addi-
tional line for transmitting the clock, a self-clocking format can be used.
with clock pulse With this format, the receiver can derive the clock pulse rate directly from
the data flow.
When electric lines are used for data transmission, additional conditions
must often be fulfilled:
20
Part 1 L153 EN
data
0 1 0 0 1 1 0 0
(serial)
Non-Return-
to-Zero
Return-
to-Zero
4 When good electromagnetic compatibility (EMC) is required, the noise ra- good EMC behavior
diation of the electric transmission medium must be kept low. It is low when
the frequency of the data flow is low or when sine-wave pulses are used
for the coding instead of square-wave pulses.
A widespread format for data transmission is the NRZ-format (Fig. 15: Non-Return-to-Zero
Non-Return-to-Zero). Each bit is represented by a square-wave pulse whose
duration is predetermined by the Baud rate. Pulse indicates the high state,
while zero pulse represents the low state.
With the RZ-format (Fig.15: Return-to-Zero), the pulses last only for a half bit Return-to-Zero
period, thus enabling a switch back to the reference potential when still in
high state.
Both formats are neither self-clocking (no clock information in the low state)
nor without mean values (mean value changes dependent on the bit se-
quence).
Manchester coding
The characteristic feature of Manchester coding is that the bit information is phase coding
SAMSON AG 99/12
included in the phase angle of the signal. A rising edge occuring in the mid-
dle of the bit time indicates high state, while a trailing edge stands for low
state. Since the receiver can determine the clock pulse rate of the transmitter
21
Fundamentals Serial Data Transmission
data
0 1 0 0 1 1 0 0
(serial)
phase-
encoded
from the duration of the signal period, this coding is self-clocking (Fig. 16). If
a bipolar signal (e.g. +/- 5 volts) is used for the levels of the Manchester cod-
ing, the mean value of the data signal equals zero, i.e. this bit code has no
mean values.
encoding via sine-wave Instead of digital square-wave pulses, sine-wave signals can also be used for
signals encoding data signals by modulating their amplitude, frequency and phase.
0 1 0 0 1 1 0 0 data
(serial)
amplitude-
moduled
frequency-
modulated
SAMSON AG V74/ DKE
22
Part 1 L153 EN
cially over large distance the signal amplitude changes while being passed
on across the network.
The FSK method (Frequency Shift Keying) uses varying frequencies to distin- frequency modulation
guish the binary states (Fig. 17 bottom). As this method largely operates in- less susceptible to
dependent of the level, high interference immunity is guaranteed even when interferences
signals are attenuated and loads are changing.
Of course, the transmission medium must be able to transmit the frequencies
that are used for encoding the signals.
23
Fundamentals Serial Data Transmission
Transmission techniques
During digital transmission, a message packet is sent as bit data flow over
the signal line. From the receivers point of view, such a bit data flow looks
like a sequence of pulses varying in length. To reconvert the pulse sequence
how does the into the original digital state, the receiver must know when the transmitted
receiver recognize signals are valid, i.e. when they represent a bit and when not. To accomplish
bits and bytes this, the transmitter and the receiver must be synchronized during transmis-
sion. The different data transmission methods solve this task either by
Synchronous transmission
clock transmission sim- In synchronous transmission, the signals on the data lines are valid whenever
plifies data acquisition a clock signal, which is used by both stations, assumes a certain predefined
state (e.g. edge triggering as shown in Fig. 18). The clock signal must either
be transmitted separately on an additional line or can be derived from the
data signal, as explained in the chapter Binary coding of data.
clock
signal
value 0 1 1 0 0 1
24
Part 1 L153 EN
start bit
stop bit
parity
8 data bits
0 1 1 1 0 1 0 0
Asynchronous transmission
In asynchronous transmission, no clock signal is transmitted. Even when the clock synchronism is
receiver and the transmitter use the same frequency, the slightest difference required
can stop them running synchronously.
This can be avoided when the receiver synchronizes with the transmitter fre-
quency in intervals that should be as short as possible. Synchronization takes
place at the beginning of each character that is marked with an additional UART: Universal Asyn-
start and stop bit. A so-called UART character, which is defined by the Ger- chronous Receiver and
man standard DIN 66022/66203, is used for this purpose (see Fig. 19). Transmitter
Beginning with the first signal edge of the start bit, the receiver synchronizes synchronization begins
its internal clock with that of the receiving data. The following bits are sam- with the start bit
pled in the middle of the bit time. After the seven or eight data bits, a parity
bit is appended for error detection and one or two stop bits to mark the end.
The message is only accepted when the parity bit as well as the polarity of the
stop bit comply with the format defaults.
Since the receiver resynchronizes constantly, the time consistency of the clock
frequency between the transmitter and the receiver need not be high.
Communications control
25
Fundamentals Serial Data Transmission
data 1 2
RTS
ize its readiness for data reception to the transmitter prior to data
transmission.
4 The condition RTS = 1 signifies that the device is ready to receive data. If
the receiver becomes overloaded with too much data and the receiving
data buffer risks to overflow, the device will cancel the RTS signal. Then,
the transmitter stops sending data and resumes transmission only when
the RTS signal is released again.
shown here. Special measures (wired-OR and wired-AND logic) can be taken
to coordinate communication between several participants as well.
26
Part 1 L153 EN
Additionally,
two-wire line
application-oriented format:
simple: NRZ
without mean values: Manchester
good EMC: FSK
27
Fundamentals Serial Data Transmission
Error detection
detecting errors and To ensure correct data transmission, several error-detection techniques are
reacting adequately available. How the system reacts to errors depends on the type of system and
can be solved in many different ways. One possible reaction is to correct the
error. Error correction, however, can only be accomplished when the coding
is sufficiently complex (lots of bits). In network communications, the errone-
ous message is simply requested once more (or acknowledged as invalid
data), with the hope that the message will be retransmitted accurately.
parity checking The different techniques used to detect transmission errors each perform
checking on a different level. On the character level, the parity-checking
method is frequently used (Fig. 22). The EVEN parity method requires the
number of 1s of a unit including the parity bit to be always even,
whereas the ODD parity technique checks for an odd number of bits. Since
two errors cancel each other out, this method is able to detect only one (bit)
error with certainty.
0110 1100 0 4
0110 1101 1 6
0110 1100 1 5
SAMSON AG V74/ DKE
0110 1101 0 5
28
Part 1 L153 EN
A measure for the interference immunity of a transmission is the Hamming Hamming distance
distance (HD). It is calculated by determining the number of errors which can
still be detected:
With the parity checking method, the Hamming distance is therefore HD=2.
Parity checking is not only used on single characters, but also checks entire block checking with
blocks of characters. Apart from the parity checking of single characters, the longitudinal parity
so-called longitudinal parity is formed. After a block of, e.g. 7 characters, an
eigth character which is formed by the parity bits of the preceded bit columns
is transmitted (Fig. 24). The Hamming distance of this checking technique is
HD=4 while the probability of detecting extended or multiple errors is high.
Another widespread method for checking data, which is suitable for larger error detection
character strings, is the Cyclic Redundancy Check (CRC). The message is in- through CRC
terpreted independent of its length as binary number, which is then divided
by a specific generator polynominal. Only the proper message and the re- transmission of data
mainder of the division are transmitted to the receiver. Transmission was ac- and remainder of divi-
curate when the received data can be divided by the same polynominal sion
1 0 1 1 0 0 0 1 0
0 1 1 0 0 0 1 0 1
1 1 0 0 1 1 1 1 0
0 0 1 1 1 0 0 0 1
0 1 1 0 0 1 0 1 0
1 1 1 0 1 0 0 1 1
longitudinal
SAMSON AG 99/12
parity: 1 0 1 0 1 0 0 0 1
29
Fundamentals Serial Data Transmission
30
Part 1 L153 EN
The various coding techniques (NRZ, Manchester, etc.) define how the bi-
nary states are represented, i.e. how the signal states change during the
transmission of a serial bit flow. However, associated level and frequency
specifications, possible data rates, permissible line lengths, control lines and
so on, are not yet defined.
These specifications are frequently adopted by mostly internationally stan- precise specification of
dardized transmission standards. In the field of telecommunications, many an interface:
interface specifications have been defined by the ITU (International Telecom- version, principle of
munication Union) or adopted from other standards. Some of these stan- operation, parameters
dards which are frequently used for computer and control applications will
be introduced briefly. For further information, please refer to the relevant
specification sheets.
Point-to-point connections between two devices usually apply the RS 232 in- RS 232 for two-point
terface. The complete specification for four-wire full-duplex transmission as connections
well as definitions for the handshaking lines are presented in the US standard
RS 232C, or in the almost identical international standard ITU-T V.24.
Data and control signals are transmitted differently by the RS 232 interface:
31
Fundamentals Serial Data Transmission
Since the signal levels refer to ground (Fig. 26), this signal is termed
unbalanced unbalanced to ground. With this signal transmission technique, compen-
transmission technique sating currents risk being formed since ground loops are generated when
there is no electrical isolation. Therefore and also because the susceptibility
to errors is growing with increasing line lengths, maximum line lengths
should not exceed 15 meters (for low-capacitance cables 50 meters).
Data are transmitted asynchronously by the RS 232, and the UART character
is used (Fig. 19). The transmitter and the receiver must be configured to have
the same transmission parameters. Adjustments to be made are:
32
Part 1 L153 EN
Tx + Rx +
Tx Rx
device A device B
Rx + Tx +
Rx Tx
2 simplex channels
RS 422 interface
The RS 422 interface is particularly suitable for fast serial data transmission fast, also over long
over long distances. Within a transmission facility, maximum ten RS 422 re- distances
ceivers may be connected in parallel to one transmitter.
For short lines, a maximum data rate up to 10 Mbit/s is allowed, whereas for
lines up to 1200 m, the data rate is limited to 100 kbit/s. The RS 422 can be
implemented as 2-wire simplex or as 4-wire full-duplex interface. Upon in- simplex or full-duplex
stallation, the transmitter outputs (Tx) must be connected while observing
the polarity to the receiver inputs (Rx) (see Fig. 27).
The RS 422 interface is balanced to ground because the logic states are re- balanced signal
presented by a differential voltage applied between the two associated lines transmission
A and B. The considerable advantage of balanced data transmission is that
externally coupled-in noise signals cause exactly the same interference am-
B
SAMSON AG 99/12
33
Fundamentals Serial Data Transmission
noise-resistant plitudes on both lines. The useful signal the differential voltage UAB is the-
transmission technique refore not affected (Fig. 28).
The specification distinguishes between the transmitter and the receiver sig-
level definitions nal assignment (Fig. 29), while the transmitter levels must be guaranteed up
for load to a load of 54 ohms. This high load is produced when the lines are termi-
nated at both ends with their characteristic wave impedance. This is neces-
sary when data are transmitted at high speed over great distances (see
section: Transmission medium Electric lines).
data +12 V
line A
+5 V
UAB +1.5 V +0.2 V
1.5 V 0.2 V
data 5 V 7 V
line B
34
Part 1 L153 EN
RS 485 interface
The electrical specifications and the wiring regulations of RS 485 largely cor-
respond with the RS-422 standard (see page 33f). Additionally, RS 485
enables bidirectional bus communication between up to 32 participants. So RS 485 for networked
this interface is frequently used for multi-point connections in field networks. links
RS 485 can be designed as 2-wire bus or 4-wire full-duplex interface (see two variants
Figs. 30 and 31). The two-wire bus is only half-duplex capable as only one
participant is allowed to transmit at a time. If several transmitters use a single
line, a protocol must ensure that only one transmitter is active at a time. In the transmission protocol
meantime, the other transmitters must release the line by switching their out- coordinates
puts in high-resistance condition. transmission rights
The permissible line length decreases with increasing data rate. The table in
Fig. 9 lists the permissible line lengths for data rates from 9.6 to 12,000
kbit/s. High data rates require termination of the lines (see also page 13: line termination
Fig. 10b). Two additional resistors serving as voltage divider define the po- required
tential of the lines when none of the participants are active.
As is the case for RS 422, the 4-wire interface differentiates between the
transmitter outputs (Tx) and the receiver inputs. Only participants whose Tx 4-wire connection for
outputs and Rx inputs are mutually connected can establish communication master/slave
with each other. The participants in the bus system below (Fig. 31) can there- communication
RS 485 RS 485
device device
A/
B/+
35
Fundamentals Serial Data Transmission
fore not communicate with one another, only the master is able to communi-
cate with its slaves and vice versa.
T- T+ R- R+ T- T+ R- R+
RS 485 RS 485
slave slave
36
Part 1 L153 EN
IEC 61158-2
Here, fiber optic cables providing different data rates are approved as
transmission media. Wired transmission includes four variants: four wired variants
4 voltage mode using 31.25 kbit/s; 1.0 Mbit/s and 2.5 Mbit/s
4 current mode using 1.0 Mbit/s
Data transmission in voltage mode running at 31.25 kbit/s is preferably for bus supply and
used in process automation because it is suitable for intrinsically-safe com- intrinsic safety:
munications systems and bus supply (two-wire devices). The coding used for 31.25 kbit/s voltage
data transmission is the Manchester coding which is self-clocking and with- mode
out mean values. The power supply is modulated by an amplitude of 9 mA
(Fig. 32). Explosion-protection for such systems, however, must be explicitly
approved while observing yet further aspects (example: FISCO model; see
Technical Information L450 EN).
The bus cable, a twisted preferably shielded two-wire line, must be termi- shielded twisted-pair
nated at both ends. Depending on the cable version (shielded or unshielded) line up to 1900 m
and the capacity (cable capacity, attenuation, etc.), a total length of up to
1900 m is permissible.
bits:
Bits: 0 1 0 0 1
IB +lB9+9
mAmA
B10 mA
IB (l 10 mA)
t
IB -l 99
mAmA
B
11 bit
Bit
SAMSON AG 99/12
37
Fundamentals Serial Data Transmission
Bell 202
standard from Bell 202 is a US standard for asynchronous data transmission via the tele-
telecommunications phone network established by AT&T (American Telephone and Telegraph).
The standard defines a 4-wire full-duplex line providing 1800 bit/s as well
as a 2-wire half-duplex line ensuring a data rate of 1200 bit/s.
The modulation technique used is the FSK coding, i.e. the binary states are
encoded by alternating currents. In half-duplex operation, the following fre-
quencies are used:
+0.5 mA
-0.5 mA
1200 Hz
2200 Hz
"1" "0"
38
Part 1 L153 EN
When data must be transmitted over long distances, it is often practical not to
install completely new transmission lines, but to make use of the already ex- using existing
isting network. Networks, such as the energy supply network, cable-TV net- communications
works, the telephone network, ISDN and the Internet are well-suited to serve networks
this purpose.
What is also difficult to achieve is the required data rate because the
230-volts network sets limits to data transmission. High noise levels must be high noise levels
accepted and the strong line attenuation reduces the transmission radius. impede communication
Also, current laws restrict the usable transmission frequency range to 3 to
148.5 kHz and the maximum transmission power to 5 mW.
Powerline on
high-voltage medium-voltage low-voltage
level: 100 to 400 kV level: 10 to 30 kV level: up to 400 V
SAMSON AG 99/12
39
Fundamentals Serial Data Transmission
Telephone network
To transmit digital data over the analog medium telephone line, an appro-
modems modulate and priate conversion is needed. This task is performed by modems which are
demodulate connected between the communication participant and the telephone line.
analog signals The modem modulates the analog signal, adapting it to the data to be trans-
mitted, and demodulates the incoming signal at the receiver (Fig. 35).
telecom-
munications
modem
modem
SAMSON AG V74/ DKE
40
Part 1 L153 EN
ISDN
ISDN (Integrated Services Digital Network) is a digital network designed for digital network for
the transmission of voice as well as data. The physical transmission medium voice and
used by ISDN is, among others, the telephone network. data transmission
ISDN operates on two information channels (B) each running at 64 kbit/s as three channels for
well as a 16 kbit/s signalling channel (D) for control signals (see Fig. 36). different tasks
The proper information is transmitted over the information channels, while
the signalling channel transmits the data associated with the signal itself.
ISDN-S0 bus
B channel: 64 kbit/s
ISDN
B channel: 64 kbit/s
device
D channel: 16 kbit/s
SAMSON AG 99/12
41
Fundamentals Serial Data Transmission
Internet
famous network for An extremely powerful network fulfilling the specific demands of data trans-
long-distance data mission is the Internet. The term Internet stands for an internationally linked
transmission group of computer networks which in turn can comprise many subnetworks.
The Internet ensures high availability and is used for an increasing number of
applications. Access to the Internet is provided and charged for by service
providers (T-Online, AOL, Compuserve, and so on). They offer connections
via ISDN, mobile radio telephone or telephone/modem, which can be used
with leased lines as well as time-limited dial-in connections.
provider, the interface
to the Internet When the devices connected to the Internet communicate with each other,
they use quite different media (electric, optical, radio signals). Nevertheless,
the language they use is always identical, the protocol family with the acro-
TCP/IP: Transmission nym TCP/IP. The TCP/IP and the multiple options offered by the Internet will
Control Protocol/ not be covered in this paper because practical exercises and applications
Internet Protocol are more helpful in understanding this complex medium.
42
Part 1 L153 EN
Appendix A1:
Additional Literature
[1] Digital Signals
Technical Information L150EN; SAMSON AG
[4] HART-Communication
Technical Information L452EN; SAMSON AG
[5] PROFIBUS PA
Technical Information L453EN; SAMSON AG
APPENDIX
SAMSON AG 99/12
43
Fundamentals Serial Data Transmission
Figures
Fig. 14: Simple WLAN for use in the domestic field and industry . . . . 19
44
Part 1 L153 EN
FIGURES
SAMSON AG 99/12
45
Fundamentals Serial Data Transmission
NOTES
46
SAMSON AG 99/12
Part 1 L153 EN
47
NOTES
1999/12 L153 EN
Communication Networks
1
LOGICAL TOKEN
t0 t1 t2 t3
network
Part 1 Fundamentals
Technical Information
Part 1: Fundamentals
Part 4: Communication
Communication Networks
Network topologies . . . . . . . . . . . . . . . . . . . . . . . . . 9
Real-time capability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CONTENTS
Terminology of communications technology . . . . . . . . . . . . . 27
3
Fundamentals Communication Networks
4
Part 1 L155 EN
Communication Networks
LAN WAN
10 m 100 m 1 km 10 km 100 km
5
Fundamentals Communication Networks
The Internet is an example for a wide area network. This network is a world
wide group of greatly varying communication networks which in turn can
access to LAN data over comprise many subnetworks. Due to the increasing connection of LANs to the
the Internet Internet, data which was only locally available is now available at any place
in the world. Latest developments enable plants using field bus
communication to be remotely monitored and operated via commercially
available Internet browsers.
requirements on the The factory level supervises the higher-level management. What is important
factory level in this case is not the response time, but the safe transmission of even very
long messages (file transmission). As these networks also control the lower
levels, they are considered the backbone of the system and are thus
frequently called backbone networks. Typical protocols used in this field are
for example:
6
Part 1 L155 EN
MIN
min MBYTE
Mbyte
automation level
sec
SEK kbyte
KBYTE
0,1 Ss
0.1 BYTE
byte
field level
ms
MS BIT
bit
sampling data
plant equipment time quantity
On the factory and the automation level, messages just have an average requirements on the
length (10 to 500 bytes), while response times of 5 to 20 ms must be automation level
reached. These requirements are fulfilled by the so-called automation
networks which include the following:
4 Bitbus,
4 FF (FOUNDATION Fieldbus),
4 FIP (Factory Information Protocol),
4 LON (Local Operating Network),
4 Modbus,
SAMSON AG 99/12
7
Fundamentals Communication Networks
requirements on On the field level, i.e. the level of sensors and actuators, short messages
the field level (several bytes) must be transmitted at high speed (10 to 100 s). This area is
covered by the large group of field networks. Due to the very special and
varied requirements, a great number of networks are used:
8
Part 1 L155 EN
Network topologies
The network topology describes the physical arrangement of the participants types of networks
in relation to each other within a network. The term also describes the logical
arrangement of the participants in relation to each other during communica-
tion, which is not necessarily the same as the physical arrangement. For the
B
A C E
A C
B D
F D
a) b)
A
A B C
F B
D
E E C
F
D
c) d)
C
B D
a) mesh topology
A b) bus topology
c) tree topology
G E d) ring topology
F
e) star topology
e)
SAMSON AG 99/12
9
Fundamentals Communication Networks
mesh topology The most complex method is to create a mesh connecting all the participants
with each other via separate communication lines (Fig. 3a). When it comes
to network extensions, the flexibility is very low and the amount of hardware
required is so high that this topology is rarely used in practice.
line or bus A much clearer and simpler structure is the line or bus topology. In this case,
all participants communicate over the same line (Fig. 3b) and are connected
via short stub lines so that each participant requires only one interface to the
bus. Since a transmitted message can be seen by all participants, broad-
casting or multicasting of messages can be easily done. The common trans-
mission medium is controlled by a special bus access control unit which is
usually able to maintain the functions of the bus-operated system even if one
station happens to fail.
tree topology The tree topology is in most respects similar to the bus topology, except that
the tree structure enables several bus branches to be connected in so-called
nodes (Fig. 3c). This topology makes it easier to network larger areas. As is
the case for the bus structure, the maximum line lengths and the number of
participants connected without line amplifiers (repeaters) are limited.
ring topology When several two-point connections are used to create a physical ring, we
speak of a ring topology (Fig. 3d). A transmitted message is forwarded from
one participant to the next. As the signal can be amplified whenever it is
forwarded, very long distances can be covered. Unfortunately, the
transmission speed depends on the number and the processing speed of the
participants. This means that the failure of a single participant can lead to
network failure when no extra ring is provided.
star topology In the star topology, all participants are connected to a center station via two-
point lines (Fig. 3e). The center station may either be active, acting as a
master for the network control, or passive and assume the task of a so-called
star coupler which establishes the connection between the currently active
transmitter and recipient. In both cases, failure of the center station causes
SAMSON AG V74/ DKE
10
Part 1 L155 EN
control station
The topologies described above form the basis of almost every serial commu-
nication network. However, a lot of network specifications allow the use of
free topologies or mixed structures so that line and tree topologies or tree free topologies enable
and star topologies can be combined. To ensure compliance with the electri- flexible network
cal specifications of the transmission medium, a coupler, amplifier or distri- structures
butor (repeater, hub, etc.), as required, must be provided at the connection
node.
Complex network structures often consist of several, partly autonomous, autonomous subnet-
subnetworks. Each subnetwork can be based on a different topology and a works are part of
different communications protocol (Fig. 4). In any case, each participant complex networks
must be able to clearly identify any of his communication partners and
address him directly. In addition to this, any of the communication
participants must be able to access the transmission medium. The way in
which the transmission lines are assigned to the various participants is deter-
mined by the protocol specification which defines the access method.
SAMSON AG 99/12
11
Fundamentals Communication Networks
active and passive Active participants are able to initiate information exchange while passive
participants connected participants only take part in communication on request of an active
to one transmission line participant. When several active participants are connected to a network, it
is necessary to coordinate their actions in order to avoid data collisions. This
task is performed by the media access control.
Real-time capability
12
Part 1 L155 EN
the number of participants, such methods are not suitable, or only under cer-
tain conditions, for real-time applications.
Random, i.e. stochastic media access means that the transmitter stations are CSMA method:
waiting with their own transmission until the transmission medium is free. If Carrier Sense Multiple
two transmitter stations happen to begin with transmission at the same time, Access
the data is superimposed and destroyed. The transmitter stations recognize a
data collision, because the recipients do not return an acknowledgement for
reception. They repeat transmission after a short, varying period of time. The
random access method provides the advantages of flexibility and fast
response times when the network load is low, however, high network load
causes repeated blocking of the lines. Evidently, the response behavior is not
deterministic since it is not possible to determine when a message will finally
reach the recipient. This kind of access is termed CSMA (Carrier Sense
Multiple Access) and illustrated in Fig. 6.
An improved variant of this access method makes use of the widespread collision detection with
Ethernet. Here, the transmitters recognize a data collision by monitoring the CSMA/CD
level of the line during transmission. When a collision occurs, the transmitters
immediately abort the transmission and attempt to repeat the transmission
after a waiting time chosen at random. This extended CSMA access method
is called CSMA/CD (Carrier Sense Multiple Access Collision Detection).
Even better results can be achieved when collisions are avoided (CSMA/CA collision avoidance
Collision Avoidance). The level, e.g. the low level, of one transmitter is gi- through CSMA/CA
participants B and C
MASTER MASTER
A B wait until communica-
tion between A and D
network is finished
MASTER MASTER
C D
SAMSON AG 99/12
13
Fundamentals Communication Networks
MASTER
A
network
1 2 3 S LAVES 11
ven priority over the level of the other transmitter, and the data of the lower-
priority transmitter is simply overwritten. When two participants start trans-
mission at the same time, the transmitter with the higher priority will be able
to send its data. While sending its address, the dominant transmitter overwri-
tes the non-dominant address bits of the other participant. The transmitter
with the lower priority immediately stops transmission and repeats the proce-
dure after a short, varying period of time. This kind of access method is also
used, among others, by the CAN protocol (Controller Area Network).
master/slave control When using the central access assignment, only one device, the master, has
the right to initiate a communication cycle. This ensures that two devices can
never access the network at the same time. All other devices, the slaves,
transmit only when requested by the master (Fig. 7). Usually, the master
polling the slaves employs the polling method, servicing the slaves one after the other in a
cyclic manner. Messages with high priority are polled repeatedly within a
cycle.
14
Part 1 L155 EN
LOGICAL TOKEN
t0 t1 t2 t3
MASTER MASTER MASTER
A B C
network
The master/slave control is a simple and cost-effective method as only one simple and
station must assume the complex task of controlling the network. As far as the cost-effective
slave participants are concerned, only part of the protocol needs to be implementation
implemented. However, a defective master causes the entire network to fail.
This can be avoided when a slave is configured to assume the functions of the
master.
The distributed access assignment according to the token passing method token passing
(Fig. 8) does not require a single participant to be so reliable and available. method
All the network participants are able to assume the functions of a master.
The master functions are assigned to the communication participants in a token marks the
prescribed order. This is done by passing a special message, the token, from currently active master
one active participant to the next within a logical ring. The participant which
presently has the token is the network master having sole control over the net-
work. When a time span defined by the token rotation cycle is over, the token
must be passed on to the next active participant. When the token passing
method is used with mesh topology, forming a physical ring, we speak of a
token ring; analogous to that, we speak of a token bus when a bus topology
is used.
The combination of the master/slave method and the token passing method
SAMSON AG 99/12
is called hybrid access method (e.g. PROFIBUS). It is used when active (mas- hybrid access method
ter functions) as well as passive participants (no network control functions)
are connected to one network.
15
Fundamentals Communication Networks
LOGICAL TOKEN
t0 t1 t2 t3
MASTER MASTER MASTER
A B C
network
1 2 3 4 5
SLAVES
The master selected by the token can communicate with the passive
subordinate master/ participants through the master/slave functions, while communication with
slave communication the active participants is performed using the token passing method (Fig. 9).
To enable the token carrier to distinguish whether its communication partners
are active or passive, this information must be provided to all active
participants in advance upon configuration of the network.
16
Part 1 L155 EN
Communications protocols are required to exchange the data between two protocols define the
or more devices/participants reliably. When we send a letter, we need to data exchange
indicate the senders address as well as the destination address. This is also
true when sending digital letters. Protocols help distinguish between the
control data and the proper message. This is achieved by defining a certain
format for the data telegram, which specifies the beginning and the end of messages are packed
the telegram as well as the control data and the proper messages. Usually, into telegrams
telegrams consist of the basic components as illustrated in Fig. 10.
The data field containing the proper message is preceded by the header
information. In multi-point connections (networks), the header generally
contains the source and destination address of the message or indicates its
contents. Additionally, the message control data, such as message length
(e.g. number of bits), is included here.
The data field is succeeded by the data security section. This component access to telegram
provides the error checking information generated by the transmitter, fields
helping the recipient to check whether the message is correct (see section:
Error detection).
The header, data field and data security section can be delimited by
header
data security
address(es) data field
section
control data
SAMSON AG 99/12
17
Fundamentals Communication Networks
header and trailer The beginning and the end of the telegram are marked by a bit sequence.
are the frame of the The header can also be used for synchronization in the case of asynchronous
telegram transmission. Analogous to the start bit of the UART character, the recipient
synchronizes with the frequency of the transmitter.
fixed bit sequence and Every single field of the telegram contains a prescribed number of bits. This
number ensures clarity allows the recipient to distinguish message data from control data simply by
counting the bits in the individual fields. If the transmission protocol specifies
also telegrams with variable message lengths, the transmitter enters the
number of data bits in a special control field (e.g. the field data length). The
recipient then analyzes this information before reading the variable data
field.
18
Part 1 L155 EN
When a communication system comprises more than two participants and a direct addressing for
message must be passed to a particular participant, direct addressing of this message transmission
participant must be made possible. For this purpose, a bit sequence (a
character or a character string) is used to serve as the participants address
(see structures of a telegram in Figs. 10 and 11).
The simplest way is to assign an address statically to each device. Static address assignment via
address assignment can be implemented on the hardware level via Dip hardware or software
switches or on the software level. Another possiblity is to assign the ad-
dresses dynamically. This can be done during the first parameterization and
start-up phase of the system, or by the master during operation in special ini-
tialization phases.
19
Fundamentals Communication Networks
The so-called ISO/OSI model specifies all elements, structures and tasks
divided into seven required for communication and assigns them to seven layers, each forming
layers ... the basis of the next (Fig. 12). The different layers perform precisely defined
tasks or services within a communication procedure, each layer providing its
services to the next higher level via defined interfaces, the Service Access
Points (SAPs).
for data transmission The four bottom layers provided in the hierarchical structure are responsible
and application for data transmission between the devices (transmission layers), while the
layers 5 to 7 coordinate interaction with the application program or the
operating system (application layer).
physical layer Layer 1 defines how the data is transmitted physically, i.e. electrically and
mechanically. This includes, for example the type of coding (e.g. NRZ) and
the transmission standard used (e.g. RS 485).
connection or The task of layer 2 is to provide error-free information. It must detect errors
security layer that probably occured in layer 1 and eliminate them by utilizing appropriate
error routines. Layer 2 also controls the data flow when the transmitter and
the recipient process the data at different speeds, and is responsible for the
media access control (MAC: Media Access Control) in local networks.
SAMSON AG V74/ DKE
20
Part 1 L155 EN
Layer 3 establishes and cancels connections in the network and performs network layer
routing, i.e. defining the way the data has to take within the network. Also,
the number of data packets on their way in the network is supervised to avoid
possible congestions.
Layer 4 assumes total control of a data transmission requested by layer 5. A transport layer
permanent connection is established between the participants, lasting as
long as the transmission. The transmission is supervised with respect to
possible transport errors, the data packets of the next higher level are di-
vided into transportable units and the proper order of the exchanged data
units is restored on the recipient side.
Application process
clearance of sessions
Transport Layer provides error-free, logical
4
channels for data transport
Network Layer defines the routes of the
3
data in the network
Data Link Layer controls data telegram and
2 bus access
Physical Layer specifies line and level
1 definitions
21
Fundamentals Communication Networks
session layer Layer 5 controls the establishment and clearance of temporary connections
(sessions), in which one or several tasks can access the transport system.
Tasks communicating with each other can be synchronized as needed. Layer
5 also manages and assigns the logical names to the physical addresses.
representation layer Layer 6 encodes the data (representation), preparing them for analysis and
interpretation by the higher layers.
application layer Layer 7 is the interface to the application program and contains all the
functions the user, generally a PC program, needs to access the
communication functions.
data transmission To transmit a message from one application to another, the message is
between the OSI layers passed on the transmitter side from layer 7 down to layer 1, each layer
appending its layer-specific control data as well as a protocol header (see
Fig. 13). This data is used for communication with the corresponding layer
on the recipient side. Apart from the original message, an accordingly large
amount of control data is transmitted over the physical medium to the
recipient. On the recipient side, the message is passed from layer 1 up to
layer 7, each layer removing its specific control data and providing the
requested services so that the message is finally available to the application
process in its original state.
application
7 H S E
5 H S E
4 H S E
22
Part 1 L155 EN
transmitter recipient
application-
oriented
Presentation Layer Presentation Layer
layers
Transport Layer Transport Layer
transport-
Network Layer Network Layer
oriented
Data Link Layer Data Link Layer
Since the OSI layer model was developed for communication in open
systems, the communication process is described only on an abstract level.
No details are given on how to implement the individual layers. The OSI implementation of OSI
model only defines the services needed for communication and their layers not defined
integration in the communication sequence. Whereas it does not detail
SAMSON AG 99/12
which physical lines and signal levels, which data format, error detection
method and addressing of the participants to use and how to establish and
clear the connections as well as provide the data to the application process.
23
Fundamentals Communication Networks
SAP: interface to the The individual layers can therefore be implemented in varying ways.
service of a layer Nevertheless, the uniformness of the services and service access points
(SAPs) ensure exchangeability. Thus, a communication protocol imitating the
OSI structure can be transferred layer by layer to another OSI-compatible
protocol without restricting the functionality or the performance. This is made
possible by gateways. They couple different communication systems which
vary in all layers.
OSI as standard The OSI model has established itself as quasi-standard as regards the
representation implementation of communication services, though, many systems imple-
ment only part of the model definitions. Naturally, only those services and
functions are implemented that are required for the respective application.
Simple applications, such as field networks, do not need comprehensive
services for organizational tasks as they are required for complex network
field networks usually topologies. This is why specifications for field networks usually define only
use only layers 1, 2 the layers 1 and 2 completely, whereas all remaining services are performed
and 7 by the application process itself or the layer 7.
24
Part 1 L155 EN
Technical and functional aspects alone are still not sufficient to select an
appropriate communication system. Availability and exchangeability of the
components as well as economic aspects need to be considered.
The following criteria are essential when selecting a communication system:
4 Optimum use of the network can only be achieved when the size of the short or long data
data telegrams matches the actual length of the message. packets
25
Fundamentals Communication Networks
is error detection 4 Control units providing interference resistance and/or transmission error
important? correction make optimum use of the interface. If one or several devices
fail, the remaining devices should still be able to communicate and a
failure of the transmission medium should be detected reliably.
optimum adaptation 4 a protocol tailored to the application, e.g. having a specially adapted
to devices application layer and predefined device descriptions, can reduce
engineering costs and start-up times considerably,
26
Part 1 L155 EN
In general language usage, the term communication means talk and terminological compari-
describes information exchange between individuals. Digital communica- son of everyday and
tion pursues the same goal, information exchange between, this time, de- technical language
vices.
host master
27
Fundamentals Communication Networks
because all participants talking (transmitting) at the same time would disturb
the communication.
(broadcasting)
28
Part 1 L155 EN
can, but need not have an effect on the communication sequence because it
is not only possible to address visible participants, but all other participants
as well via the
29
Fundamentals Communication Networks
Appendix A1:
Additional Literature
[1] Digital Signals
Technical Information L150EN; SAMSON AG
[4] HART-Communication
Technical Information L452EN; SAMSON AG
[5] PROFIBUS PA
Technical Information L453EN; SAMSON AG
30
Part 1 L155 EN
Figures
31
1999/12 L155 EN
Introduction to
Self-operated Regulators
2
Part 2 Self-operated Regulators
Technical Information
Part 1: Fundamentals
Part 4: Communication
Introduction to Self-operated
Regulators
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Fields of Application . . . . . . . . . . . . . . . . . . . . . . . . . 7
Functional Principle . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pressure balance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Control Properties . . . . . . . . . . . . . . . . . . . . . . . . . . 16
CONTENTS
SAMSON AG 00/07
3
Self-operated Regulators Introduction to Self-operated Regulators
4
Part 2 L202 EN
Introduction
The control of a process variable requires three basic functional units the
measuring equipment, the controller, and the final controlling equipment
as well as the knowledge of how to make proper use of the individual belon-
ging elements. Usually, these control loop components are separate devices
that must be supplied with auxiliary energy (Fig. 1; see also lit. [1] and [2]). control with...
Self-operated regulators take over all the tasks required in a control loop. ...or without auxiliary
They integrate measuring sensor, controller as well as control element all in energy
one system (Fig. 2). The combination of these components results in very rug-
ged and reasonably priced devices.
final controlling
equipment
measuring
equipment
controller
x
w
SAMSON AG 00/07
5
Self-operated Regulators Introduction to Self-operated Regulators
6
Part 2 L202 EN
Fields of Application
7
Self-operated Regulators Introduction to Self-operated Regulators
Functional Principle
energy
supply
medium flow
with auxiliary energy
medium density
the medium The performance of work requires energy. Self-operated regulators with-
supplies the energy draw this energy from the medium to be controlled.
Using the medium pressure or the thermal properties of the medium (see
Fig. 3), the sensor unit of the self-operated regulator builds up a pressure
which creates the required positioning forces on an actuator diaphragm or a
so-called operating element.
In the pressure regulator, the medium pressure p2 acts directly or, if required,
via equalizing tank on the rolling diaphragm of the actuator.
8
Part 2 L202 EN
F M = p 2 A M = FK + FF
FK = p AS AS : seat area
The spring creates reset forces in proportion to the spring range x and enab-
les the adjustment of the set point or operating point through preloading:
FF = c F x c F : spring rate
p1 A S: seat area
p2 final balance of forces F K: force acting on
AS
the plug
FF: spring force
p 1 AS
FM : force acting on
FK
the diaphragm
FM = p 2 A M
p 2 AS
FF
AM
SAMSON AG 00/07
9
Self-operated Regulators Introduction to Self-operated Regulators
This can be clearly seen in the control cycle described in Fig. 5 (next page).
control cycle 4 If the operating point is in a state of equilibrium, the spring force FF and the
force FK acting on the plug are compensated for by the diaphragm force
FM (phase 1).
4 If the consumption increases, the pressure drop across the valve increases
so that the downstream pressure p2 decreases (phase 2).
4 The spring opens the valve against the decreasing diaphragm pressure
until a balance of forces is reached again with a wider open valve (phase
3).
4 In the new valve position (phase 4), the spring force as well as the pressure
p2 to be controlled are reduced. A steady-state error (offset) remains with
a value that depends on the proportional-action coefficient of the regula-
tor.
10
Part 2 L202 EN
FF = c F x
FF FM
4 Result: FS is decreasing
4 Approximation of a new state of
equilibrium
11
Self-operated Regulators Introduction to Self-operated Regulators
The operating point of the regulator is adjusted via spring preloading. Fig. 6
shows the spring forces in travel positions Tclosed, Tx and Topen, including the
parallel displacement resultant spring characteristic. Preloading the spring causes a parallel dis-
of spring characteristic placement of the spring characteristic so that at travel position Topen, preloa-
ding FPL = Fopen is already effective.
Tclosed
Topen
Fclosed Fx Fopen
F [N]
Fclosed
Fopen
[mm]
Tclosed Tx Topen
p2 [bar]
spring preload
px
.
SAMSON AG V74/ HRB
. .
Vclosed Vx V[m/h]
12
Part 2 L202 EN
While the operating point is adjusted, the spring preloading is increased un- adjusting the operating
til the process variable to be controlled reaches the required set point value. point
The spring force adjusted in this manner results from the balance of forces as
illustrated in Fig. 4:
FF = F M FK = c F x = p 2 A M p AS
With a small AS seat area and low differential pressures, only small FK plug
forces are created. Under these conditions, the spring range x which is equi-
valent to the valve travel changes in proportion to the pressure p2. The resul- valve travel changes
tant manipulated reaction therefore directly depends on the spring in proportion to the
characteristic (see also Fig. 7): pressure
cF c c c
p2 = x = F (travel + x open ) = F travel + F x open
AM AM AM AM Xopen: preload
4 The factor cF/AM represents the gradient of the characteristic or the pro-
portional-action coefficient of the regulator.
4 The second summand of the equation (cF xopen/AM) describes the parallel displacement of the
displacement of the characteristic. If high set points are to be adjusted, this characteristic into the
term must increase. For this, either a version with a stiff spring (high cF) operating point
and a small actuator area AM must be chosen, or the spring must be of
great length so that it can be sufficiently compressed (xopen will increase
accordingly).
where the plug force FK can be neglected. If the seat diameter is large and/or
the differential pressures are high, this method is only permissible when the
valves are equipped with a so-called pressure balancing system. With
13
Self-operated Regulators Introduction to Self-operated Regulators
Pressure balance
differential pressure The plug force FK depends on the differential pressure and, therefore, acts as
acts as disturbance a disturbance variable in the control loop. A high upstream pressure and lar-
variable ge seat diameters create considerable plug forces which the actuator must
overcome, as indicated in the following example:
plug balanced Fig. 8 shows the version of a valve with a plug balanced by a bellows. The
by a bellows upstream and downstream pressures additionally act on the plug stem via
AB
p 2 AS p 2 AB
FF FM
SAMSON AG V74/ HRB
14
Part 2 L202 EN
the bellows area AB, thus creating forces that oppose FK. If the effective area
sizes of AS and AB are identical, and if the cross-sectional area of the plug
stem is neglected, FK is compensated for by the forces acting on the bellows.
Pressure balanced valves require clearly smaller actuator forces than unba-
lanced valves (compare Figs. 4 and 8). When calculating the spring reset spring reset force
force FF that must be overcome, the elasticity of the bellows must be additio-
nally accounted for:
Valves with balanced plugs are used for applications requiring that the con-
trol process be as accurate as possible. Balancing systems are always requi-
red when high differential pressures are created across the valve, especially
with large nominal sizes, which then also necessitates high positioning for-
ces. These cannot be issued by the actuator anymore without much bigger di-
aphragms.
SAMSON AG 00/07
15
Self-operated Regulators Introduction to Self-operated Regulators
Control Properties
example of pressure To describe the correlations as application oriented and clear as possible,
reducing valve the following explanation is based on the example of the pressure reducing
valve, as in the chapters above. With respect to control engineering, these
statements are applicable to any other self-operated regulator with propor-
tional control action.
proportional-action The fundamentals of control engineering (see lit. [2], for instance) teach us
coefficient that if steady-state errors are to be kept as small as possible, a proportio-
nal-action coefficient as high as possible (or a small proportional band) is re-
quired. In the vicinity of an operating point, KP is calculated from the
manipulated variable y and the error e:
y K v
KP = ; for pressure reducing valves: K P =
e p 2
4 The change of the KV value is related to the contour of the plug and the KVS
value. At the same travel, if the gradient of the control characteristic is high
and/or the KVS value is high, the KV value changes are bigger than with a
SAMSON AG V74/ HRB
If the valve is sized for a high proportional-action coefficient, i.e. small sys-
tem deviation, the following equipment is required:
16
Part 2 L202 EN
4 soft spring, large actuator area, and high KVS value, i.e. oversized in this requirements for small
case, or combinations of these. Proportional-action coefficients that are system deviation
too high, especially in combination with an oversized KVS value, increase
the control loops tendency to oscillate.
With respect to spring and actuator these requirements are best met by a
self-operated regulator with the lowest set point range.
Example: For a set point of 1.0 bar, therefore, a set point range of 0.2 to
1.2 bar must be selected, and not the version ranging from 0.8 to 2.5 bar.
4 stiff spring or small actuator area or long spring ranges and combinations requirements for high
of these. set point values
If the required device shall exhibit high set point values/positioning forces
while system deviations are to remain small, contradictory requirements must
be fulfilled in the sizing of spring and actuator area. There are only these so-
lutions to this problem:
4 Realization of small system deviations via high KVS values. small system deviation
and high set point
4 Compensation for high positioning forces via soft, though sufficiently long
values
springs.
17
Self-operated Regulators Introduction to Self-operated Regulators
pressure
.
.
V[m/h]
V : flow rate
hysteresis limits The hysteresis Xh created by the static friction limits the control accuracy that
the control accuracy can be reached. This error cannot be compensated for by using a higher KVS
value to increase KP. Although this would reduce the stationary system devia-
tion Xw, the hysteresis in the control characteristic will remain (Fig. 10).
Therefore, an oversized KVS value involves the risk that the system begins to
oscillate: on the one hand, the accurate adjustment of the Kv value will beco-
Xw2
Xw1
K P1 < K P 2
.
SAMSON AG V74/ HRB
V[m/h]
18
Part 2 L202 EN
me more difficult due to the hysteresis; on the other hand, already small sys-
tem deviations will then result in extremely big KV value changes.
Due to the described correlations and when control demands are high, it will reduction of
always be desirable to reduce the effects of varying p values at the plug as positioning forces
much as possible, especially in the case of large nominal sizes, by using
pressure balancing systems and, at the same time, selecting the version with
the smallest set point range.
19
Self-operated Regulators Introduction to Self-operated Regulators
Appendix A1:
Additional Literature
[1] Terminology and Symbols in Control Engineering
Technical Information L101 EN; SAMSON AG
20
Part 2 L202 EN
Figures
FIGURES
SAMSON AG 00/07
21
Self-operated Regulators Introduction to Self-operated Regulators
NOTES
22
SAMSON right on quality course
Temperature Regulators
2
Part 2 Self-operated Regulators
Technical Information
Part 1: Fundamentals
Part 4: Communication
Temperature Regulators
Temperature regulators . . . . . . . . . . . . . . . . . . . . . . . . 5
Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Sensor volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Filling medium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Adsorption principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CONTENTS
Excess temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Mounting position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Force-balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3
Self-operated Regulators Temperature Regulators
SAMSON AG V74/ HS
4
Part 2 L205 EN
Temperature regulators
A temperature control loop with a heat exchanger is shown in Fig.1. When temperature
the water has left the heat exchanger and circulates in the domestic hot water control loop
loop, its temperature must be kept constant. In the heating loop, a heat trans-
fer medium, e.g. hot water, circulates through the heat exchanger and trans-
fers part of its heat to the domestic hot water loop. If we assume that the
temperature of the hot water remains constant, the transferred heat quantity
depends on the flow rate. The flow of hot water is adjusted by the
self-operated regulator.
temperature
self-operated
sensor
regulator
heat exchanger
SAMSON AG 99/12
5
Self-operated Regulators Temperature Regulators
Sensors
4 liquid expansion
4 adsorption
4 vapor pressure
These principles utilize the change in volume, in structure or the conversion of
a matters state of aggregation.
When measuring the expansion of a liquid, the quality of the results depends
to a great extent on two factors: the sensor volume and the specific heat ca-
pacity of the filling medium.
h2,0
V2,0
V 2.0
h 2.0
1: sensor 2
h
2: operating element
h2
V2
3: cylinder
1 V1=V2 h 1 < h2
D2
V1.0=V2.0 h1.0 < h2.0
h1,0
h 1.0
3
VV
1.0
1,0
h1
V1
D1
SAMSON AG V74/ HS
6
Part 2 L205 EN
Sensor volume
Solids, gases and almost all liquids expand when the temperature increases.
This physical principle of expansion is utilized by thermometers. An increase
in temperature causes the liquid level in a capillary to rise and the height of
the liquid column indicates the measured temperature.
A sensor operating on the liquid expansion principle is shown in Fig. 2. The expansion in the
liquid expands in the cylinder when the temperature rises. As the wall of the cylinder
cylinder prevents lateral expansion, the liquid expands only in the axial di-
rection, pushing the piston and the connected pin upward.
V = V0 T
The expansion of the filling medium is determined by two factors - the spe-
cific coefficient of expansion which depends on the type of fluid used and
the change in temperature T.
The height of the pin protruding from the cylinder is a measure for the expan- expansion as a function
sion and represents a function of the temperature (h=f(T)). To achieve a par- of temperature
ticular travel of the pin h, the shape of the operating element must be
considered and adapted as required. Generally, small sensor volumes yield
larger travels than large volumes (Fig. 2). In instrumentation, small sensor
volumes are preferred since the measuring span is better represented when
the pin travel is large. In this way, more accurate measurement results are
obtained. However, a disadvantage of small-volume sensors is the low
power transmission. When sizing a sensor, a compromise must be found be-
tween the change in travel and temperature as well as the increase in force.
SAMSON AG 99/12
7
Self-operated Regulators Temperature Regulators
Filling medium
W = cp m T
cp is the specific heat capacity, m the mass and T the change in temperature
in C. Note that the specific heat capacity is not constant, but changes with
the temperature.
water not suitable as Due to its high specific heat capacity, water is not suitable as filling medium.
filling medium It has yet another disadvantage. With the exception of water, all liquids ex-
pand continuously with increasing temperatures and condense when the
temperatures fall. Water, however, reaches its highest density at 4 C and
expands at higher as well as lower temperatures. Therefore, the temperature
measured in these ranges would not be clear.
Apart from liquids, resins and elastomers can also be used as filling fluid. Ex-
pansion resins are particularly favorable when a great change in volume is
to be achieved within a narrow temperature range.
SAMSON AG V74/ HS
8
Part 2 L205 EN
CO2 CO2
T1,p1 T1 > T 2
activated carbon
p1 > p 2
Adsorption principle
The most important benefit of the adsorption principle is its good adaptation flexible application...
to the respective application. The measuring span of an adsorption sensor
can be set in two ways:
The disadvantage of adsorption sensors is that their thrust is much smaller ... but small thrust
than that developed by vapor-pressure or liquid-expansion sensors.
SAMSON AG 99/12
9
Self-operated Regulators Temperature Regulators
sensor system utilizes The steam pressure curves of hydrocarbons are plotted in Fig. 4. When the
steam pressure curve temperature of the medium to be measured increases, the boiling pressure in
the closed sensor system increases as well, following the rising steam curve.
Depending on the measured temperature, a significant pressure is created in
the sensor. The internal sensor pressure acts on a bellows in the thermostat,
generating a thrust. The filling medium in sensors for self-operated regula-
tors often is a mixture of hydrocarbon compounds (HC-compounds).
propane n-butane
100
n-pentane
10 n-heptane
pv [bar]
0,1
0.1
-50 0 50 100 150 200
T [C]
SAMSON AG V74/ HS
10
Part 2 L205 EN
11
Self-operated Regulators Temperature Regulators
Bulb sensors are in direct contact with the medium. The resulting heat ex-
change is characterized by the heat transfer coefficient.
sensors require large The heat transfer coefficients of liquids are remarkably higher than those of
heat transfer surfaces gases. Temperature changes of a liquid act therefore faster on the sensor
case, the filling medium and finally the valve position. When sizing the tem-
perature sensor, the surface provided for heat transfer must be as large as
possible. While the cylindrical surface of a bulb sensor is sufficient for mea-
suring water and other liquids, gases require a specially manufactured
four-bulb sensor. In this sensor, the ratio between the sensor surface and the
volume of the filling medium is larger than that of the bulb sensor.
Y
water
1
0.6 air
bulb sensor
0.2
t [s]
200 400 600 800
Y
1 water
12
Part 2 L205 EN
H100 H100
H0 H0
TA TE TA TE
Fig. 5 compares the unit step response of a bulb sensor with that of a
four-bulb sensor after they have been immersed into warm circulating water
and into an air duct. The temperature difference is so big that the pin passes
through its entire travel. Particularly in the air duct, the larger sensor volume
proves favorable. The pin of the four-bulb sensor almost reaches its final tra-
vel after twelve minutes, while the bulb sensor takes 40 minutes, which is too
slow for fast control loops.
Self-operated regulators usually exhibit proportional control action (P regu- control action of
lators). In the case of self-operated temperature regulators, the P action self-operated regulators
causes the valve travel to change proportionally with the measured tempera-
ture T. The proportional-action coefficient is KP (formerly: proportional band
xP; xP = 100%/KP). The following equation describes the control action of
temperature regulators.
h = KP * T
SAMSON AG 99/12
13
Self-operated Regulators Temperature Regulators
large travel As described in the Control Engineering Fundamentals (see also Lit [2]), P re-
at small T gulators have a steady-state error. When the steady-state error is to be kept
small, a large proportional-action coefficient is required (small proportional
band). This means for the temperature regulator that a large travel must be
achieved at a small T. The measuring span of the sensor becomes accord-
ingly smaller (Fig. 6).
universal However, narrow measuring spans are an obstacle to the universal applica-
application requires tion of sensors. Therefore, the temperature regulator in Fig. 7 is equipped
set point adjuster with a set point adjuster. In the sensor, an externally adjustable piston can be
moved to change the volume of the system. When the piston is pushed into
the right cylinder, the pin in the operating element is lifted, providing the re-
quired volume. As a result of the changed pin position, the travel position of
the valve is changed, too.
Excess temperature
When the temperature reaches the upper limit of the set point range, the pin
is fully extended. The valve is in its end position and the liquid fills the sensor
completely. When the temperature rises above this value, the liquid in the
sensor protected sensor cannot expand further. If no equalizing volume is provided, the rising
against excess
temperature
pin
operating
piston
element
SAMSON AG V74/ HS
14
Part 2 L205 EN
set point
adjuster
connection to excess
operating element temperature
spring
gasket
piston
internal pressure will damage the sensor. To prevent this, a pressure relief fit-
ting is installed (Fig. 8).
When excess temperatures occur, the rising filling pressure acts on the piston
bottom and pushes the piston out of the sensor against the force of the excess
temperature spring. This increases the sensor volume. The excess tempera-
ture spring has no effect on the set point adjustment.
Mounting position
A prerequisite for the proper functioning of temperature control systems is wrong position affects
the optimum location of the sensor. It should be totally immersed in the me- measurement results
dium to be measured. Fig. 9 illustrates various mounting positions. If the sen-
sor is mounted perpendicular to the flow direction (Fig.9 d), the sensor
surface is in contact with the medium only shortly. In this case, the absorbed dead times must be
heat quantity can be too small to yield accurate measurement results. avoided
15
Self-operated Regulators Temperature Regulators
away in the heating pipe. In this case, temperature changes are measured
with delay.
16
Part 2 L205 EN
When looking at the sensor from the viewpoint of control engineering, the sensor and thermowell
sensor can be regarded as energy store. Its dynamic behavior can be de- both exhibit PT1 action
scribed by means of an exponential function using the time constant T1=
(first-order delay). When mounting a thermowell, another energy store is
added to the system. Hence, a second-order system is created. To describe
sensors:
Y
A: vapor pressure
A
1 B: adsorption
0.2
A B 20 40 60 80 100
C
t[s]
Y
1
B
20 40 60 80 100 t[s]
SAMSON AG 99/12
17
Self-operated Regulators Temperature Regulators
such a system, the time constant Tu and the build-up time Tg can be used. For
further details, please refer to the Technical Information L102 EN.
As can be seen in Fig. 10, small time constants are typical to fast-responding
sensors.
thermowells prolong Table 2 lists the time constants of the different SAMSON sensors. Measure-
the response time ments have been made in water. You can see from the table below that a
thermowell used with an adsorption and a vapor pressure sensor causes
long delays. So the fast response times inherent to those sensors are practi-
cally eliminated and they are almost as slow as liquid-expansion sensors.
2231 70 120
2232 65 110
2233 25
2234 15
2235 10
adsorption 2430 15 30 40 80
2212 40
2430-L 8
2439 40
2403 40
18
Part 2 L205 EN
Standard materials for sensors and thermowells are usually copper or bron- sensor material:
ze because of their excellent conductivity. For aggressive media, stainless bronze and copper
steel versions are used which, however, increase the time constants of the
sensors by approximately ten percent. With thermowells, stainless steel does
not affect the time constant.
Thermowells are not suited to be used with sensors for air. Due to the special
sensor shape, a narrow air gap is formed between the thermowell and the
sensor, which has an insulating effect. The time constant of an air sensor with
thermowell would be much higher than that of a standard sensor with
thermowell.
NOTE: You may find technical literature where variables, such as T0.5
(half-value period) or T0.9 (90% value) are used to describe the dynamic be-
havior of sensors. These values can be calculated for first-order systems us-
ing the equation below and the time constant :
y = (1 e T )
T0.5 = 0.7
T0.9 = 2.3
SAMSON AG 99/12
19
Self-operated Regulators Temperature Regulators
Force-balancing
FA1 FF1
T1 = const.
FA2 FF2
T2 = T1 + T
SAMSON AG V74/ HS
20
Part 2 L205 EN
The self-operated regulator is used to reduce or increase the flow rate when
the temperature at the measuring point rises or falls.
4 When the medium is heated, the filling liquid in the operating element ex-
pands and exerts the actuating force F A on the valve.
4 The valve closes against the spring force FF, reducing the flow of the heat-
ing medium.
4 When the flow is reduced, the temperature falls until a new equilibrium of
forces and, hence, a new valve position is reached.
NOTE: When sizing a system including a heat exchanger, the upstream tem-
perature must be minimum 10 K above the set point temperature to ensure
safe closing of the valve.
SAMSON AG 99/12
21
Self-operated Regulators Temperature Regulators
A AB
Heating and cooling control systems require different valve styles. Globe val-
ves control one flow to adjust the desired temperature. Three-way valves, on
the other hand, mix or divert two heat flows.
A AB
SAMSON AG V74/ HS
22
Part 2 L205 EN
Three-way valves have three ports (A, B, AB), while globe valves have two.
When no actuating force is exerted on the valve, a return spring ensures that
the double plug is firmly placed on one of the two seats. In mixing valves
medium flow through
(Fig.12), the heating medium enters at port B via the seat/plug assembly and
mixing valves
leaves through port AB. Port A is closed. When an actuating force acts on the
three-way three-way
globe valve mixing valve diverting valve
A opens A closes
valve closes
B closes B opens
SAMSON AG 99/12
23
Self-operated Regulators Temperature Regulators
plug stem, the valve moves towards its other end position, reducing the flow
through the inlet port B and opening the inlet port A.
medium flow through The flow through diverting valves (Fig. 13) is quite different. Here, the cool-
diverting valves ing medium enters at port AB. The streams are diverted according to the
valve position and finally leave through the ports A and B.
three-way three-way
globe valve diverting valve
mixing valve
A opens A closes
valve opens B closes B opens
SAMSON AG V74/ HS
24
Part 2 L205 EN
The operating principle of the valves and their application in a heating and a
cooling system are illustrated in Figs. 13 and 14.
The Figs. 13 and 14 show typical installation examples where the valves can installing valves in
be installed either in the flow pipe or in the return pipe. In heating systems heating or cooling
with high temperatures and low pressures, cavitation can cause problems, systems
therefore the valve should be installed in the cooler return pipe.
When engineering the heating or cooling installation, make sure that the
process medium flows in the opening direction of the plug of the mixing or di-
verting valve so that "vibrations" near the closing position are prevented.
Otherwise the small surface, the high velocity and the low pressure would
cause the plug to be seized in the seat and released again when the flow is
interrupted.
SAMSON AG 99/12
25
Self-operated Regulators Temperature Regulators
The globe valves described above close when the temperature at the sensor
rises, hence, they are suitable for heating service. In cooling installations,
reversing device however, a valve is required that opens with increasing temperature. This
changes can be achieved either by changing the seat/plug position or by installing a
operating direction reversing device (Fig. 16) between the sensor and the bellows housing of a
normal globe valve. In the latter case, the valve is closed by the spring force
and opens when the temperature rises.
plug stem
connection to
operating
element
reversing device
26
Part 2 L205 EN
Appendix A1:
Additional literature
[1] Terminology and Symbols in Control Engineering
Technical Information L101 EN; SAMSON AG
APPENDIX
SAMSON AG 99/12
27
Self-operated Regulators Temperature Regulators
Figures
28
SAMSON AG 99/12
Part 2 L205 EN
29
NOTES
Self-operated Regulators Temperature Regulators
NOTES
SAMSON AG V74/ HS
30
SAMSON right on quality course
ISO 9001
Our quality assurance system,
3
Part 3 Control Valves
Technical Information
Part 1: Fundamentals
Part 4: Communication
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Cavitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Incipient cavitation . . . . . . . . . . . . . . . . . . . . . . . . . 10
Bubble implosion . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Cavitation intensity . . . . . . . . . . . . . . . . . . . . . . . . . 23
Cavitation erosion . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Cavitation resistance. . . . . . . . . . . . . . . . . . . . . . . . . 30
Avoiding cavitation . . . . . . . . . . . . . . . . . . . . . . . . . 34
CONTENTS
Influence on the hydraulic characteristics . . . . . . . . . . . . . . . 43
Cavitation noise . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Cavitation luminescence . . . . . . . . . . . . . . . . . . . . . . . 56
Appendix A1:
List of references . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SAMSON AG 03/11
3
Control Valves Cavitation in Control Valves
f frequency [s1]
G constant [Nm]
K compressibility [m2/N]
MT torque [Nm]
4
Part 3 L351 EN
p pressure [N/m2]
t time [s]
5
Control Valves Cavitation in Control Valves
expansion [mm]
6
Part 3 L351 EN
Introduction
7
Control Valves Cavitation in Control Valves
The consequences for a control valve as well as for the entire control process
vary and are often destructive:
4 Loud noise
4 Strong vibrations in the affected sections of the plant
4 Choked flow caused by vapor formation
4 Change of fluid properties
4 Erosion of valve components
4 Destruction of the control valve
4 Plant shutdown
8
Part 3 L351 EN
Cavitation
9
Control Valves Cavitation in Control Valves
Incipient cavitation
The term cavitation is derived from the Latin verb cavitare meaning to hol-
low out, thus referring to the formation of cavities.
To create cavities in fluids, the fluid must first be expanded and then rup-
tured. Theoretically, fluids can absorb high tensile strengths or negative
pressures. Ackeret [1] estimates the negative pressure required to cause cav-
itation in pure water at 20 C, based on the minimum of the van der Waals
curve, and receives a theoretically possible tensile strength of 104 bar which
corresponds approximately to the reciprocal compressibility of water.
p [bar]
1500
1200
Tensile strength
900
600
300
T
0
o
0 20 40 60 80 100 [ C]
SAMSON AG V74/ Dob/Zin
10
Part 3 L351 EN
If these values were actually reached for industrial fluids, cavitation in con-
nection with hydraulic systems would not be a matter for discussion. The
highest values known until now were derived by measuring centrifugal force
as a function of the temperature with extremely pure water. As shown in
Fig. 2, the highest value to be achieved was only at 280 bars [3].
Fig. 2 also shows one of the many anomalies of water, i.e. the strong reduc-
tion of tensile strength near the freezing point which is caused by the forma-
tion of water crystals.
p [bar]
280
240
200
160
120
80
40
T
0
0 200 400 [oC]
Fig. 2: Tensile strength values derived from measurements for pure water
SAMSON AG 03/11
11
Control Valves Cavitation in Control Valves
Spherical cavitation nuclei are stable when the fluid pressure p acting on the
bubble surface and the partial pressure 2/ R resulting from the surface ten-
sion are in equilibrium with the sum of the partial pressures inside the bub-
ble, i.e. the vapor pressure pV and the pressure of the enclosed gas volume
pG:
2
pG + pV = +p (1)
R
In this equation, R is the radius of the bubble and is the capillary constant. If
you consider the volume change of the bubble to be isothermal, the following
can be derived from the general gas law for spherical nuclei:
N RG T G
pG = = 3 (2)
4 R
R3
3
G 2
p pV = (3)
R3 R
SAMSON AG V74/ Dob/Zin
12
Part 3 L351 EN
Rk [mm]
10
1
Unstable
area G=10-7 Nm
0.1 G=10-8 Nm
G=10-9 Nm
G=10-10 Nm
0.01
G=10-11 Nm
G=10-12 Nm p p
V
0.001
-0.1 0 0.1 [bar]
When parameters are fixed, at first the radius of the nucleus will increase
only slowly as the static pressure decreases. A small change in pressure only
results in unlimited bubble growth, i.e. incipient cavitation, after a critical
pressure difference has been reached which is mathematically defined by
d(p pV)/dR = 0 and which is derived from:
4 2
(p p V )krit = (4)
3 3 G
SAMSON AG 03/11
13
Control Valves Cavitation in Control Valves
Large nuclei, i.e. bubbles with a large G value, start to cavitate first. Their
sudden growth accelerates the ambient fluid and reduces the pressure lo-
cally. This pressure reduction causes the next smaller bubbles to collapse,
which in turn build up a pressure field that causes even smaller bubbles to
collapse, and so forth.
As a result, the critical pressure at which cavitation stops is higher than the
critical pressure at incipient cavitation. Lehmann and Young [5] examined
the phenomenon of cavitation hysteresis in depth and found that the end of
Incipient cavitation cavitation can be more easily reproduced than incipient cavitation. In partic-
starts just below ular cases, it therefore depends on the state of the liquid, especially the tem-
vapor pressure perature, spectrum of nuclei, the content of dissolved gases and the surface
tension, at which static pressure cavitation begins. Generally, this is just be-
low the vapor pressure. In practice, it is impossible to determine a liquids
spectrum of nuclei in advance for most applications. Therefore, it is common
practice in control valve sizing to describe the critical state of the cavitation
nuclei at incipient cavitation by means of the vapor pressure of the liquid.
In the case of less viscous liquid flows around streamlined bodies, the internal
friction compared to the pressure may be frequently neglected. The velocity
distribution of these types of flow can be calculated on the basis of the poten-
tial theory if the flow conditions are known. The pressure distribution along
the body contour is derived from Bernoullis equation so that a relationship
between the minimum pressure pmin and the critical pressure can be stated
according to equation (4).
Stalling flows occur in In case of stalling flows as they occur in control valves, the potential theory
control valves cannot be used to determine the minimum pressure. Instead, the cavitation
coefficient xFZ [6] has proven useful.
SAMSON AG V74/ Dob/Zin
14
Part 3 L351 EN
p1 p2
p1
p2
pmin
pV
It is based on the assumption that, in a control valve, the ratio of the external
pressure difference (p1 p2) to the internal pressure difference (p1 pmin) for
all cavitation-free operating states equals a valve-specific value xFZ (Fig. 4):
p1 p 2
x FZ = (5)
p 1 p min
Since the minimum pressure occurs in one of the unsteady vortex cores Minimum pressure
downstream of the restriction, it cannot be determined by direct measure- occurs downstream of
ment. the restriction
SAMSON AG 03/11
15
Control Valves Cavitation in Control Valves
LWi [dB]
xFZ xF
[-]
It is therefore assumed that the minimum pressure pmin equals the vapor pres-
The cavitation coeffi- sure pV of the fluid when cavitation noise begins, thus determining the pres-
cient xFZ is determined sure ratio xFZ as a function of the valve load y by means of noise
by noise measurements measurements [7] (Fig. 5).
xF = 0.4 xF = 0.6
xFZ = 0.3
SAMSON AG V74/ Dob/Zin
16
Part 3 L351 EN
If a valves xFZ values are known over the entire travel range, it can be determin-
ed in advance for all operating pressure ratios
p
xF = (6)
p1 pV
whether cavitation effects are to be expected. In case of an operating pressure The operating case
ratio xF < xFZ, there is no danger of cavitation occurring; when xF xFZ, a statio- xF = xFZ indicates
nary cavitation zone builds up whose expansion is roughly proportional to the incipient cavitation
difference (xF xFZ), (Fig. 6).
However, since the difference pV pcrit according to equation (4) is not cov-
ered by the operating pressure ratio xF, these relationships can strictly speak-
ing only be applied to media which conform to the test medium water
regarding their nuclei spectrum, surface tension and viscosity. Oldenziel [8]
clearly showed this by measuring the pressure ratio xF at incipient cavitation
as a function of the gas content of water (Fig. 7).
The experimental xFZ values should therefore be rounded to full five hun-
dredths to account for the accuracy limits of the process.
ml
l
28
Content of dissolved gases
24
20
16
12
4
xF
0
0.1 0.2 0.3 []
SAMSON AG 03/11
Fig. 7: Relation between the pressure ratio xF and the gas content
17
Control Valves Cavitation in Control Valves
Bubble implosion
Pressure recovery leads Due to the pressure recovery inevitable in control valves, the bubbles that are
to bubble implosion filled with steam and gases reach zones of higher pressure where they im-
plode at high bubble wall velocities. Calculations on the kinetics of the bub-
ble collapse were made as early as 1917 by Rayleigh [9]. While neglecting
the surface tension and viscosity, Rayleighs calculations provide the implo-
sion pressure for a spherical evacuated single bubble
2 R03
p i = c F F UR = c F p 3 1 (7)
3 0 F RE
where cF and F are the sound velocity and the fluid density, UR is the centrip-
etal velocity, p0 the pressure at indefinite distance, R0 the initial radius and RE
the final radius of the bubble.
Gth [10] additionally accounts for the gas content of the cavitation bubbles
and, assuming an adiabatic compression (p V = const.), receives the fol-
lowing equation for the maximum implosion pressure.
1
Maximum implosion 1
p 1
p i max = p N ( 1) G (8)
pressure of a single pN
bubble
SAMSON AG V74/ Dob/Zin
18
Part 3 L351 EN
Neglecting the thermal conduction which, however, should be very low due
to the short implosion time, for the occurring temperature
p 1 Maximum occurring
Ti max = T ( 1) G (9)
pN temperature
pG N
[-] p i max 2 T i max [K]
pN mm
19
Control Valves Cavitation in Control Valves
Asymmetric bubble Due to the pressure gradients in the ambient fluid or the influence of rigid boun-
implosion leads to the daries, the cavitation bubbles generally deviate from the spherically symmetric
formation of a microjet shape. They implode forming a microjet, as high-speed films show and as indi-
cated according to [11] in Fig. 8 for three typical cases. Plesset and Chapman
[12] have analyzed the implosion process and found the proportionality
p pV
v jet (10)
F
Hemispherical bubble
clinging to the wall of a
rigid boundary
SAMSON AG V74/ Dob/Zin
20
Part 3 L351 EN
The pressure created by a fluid jet impact on the wall of a rigid boundary can be
easily estimated if the fluid jet is assumed to be a elastic deformable solid.
F c F
p surge = F c F v jet +1
W c W
For water (F 1000 kg/m3, cF 1500 m/s), pressure surges with amplitudes
between 750 and 1500 N/mm are reached with the jet velocities mentioned
above. Depending on the size of the bubble (radius R), the surge
2R
t surge = (12)
cF
lasts between several microseconds and several milliseconds. The effect of one
single surge is limited to an area of only a few micrometers in diameter.
21
Control Valves Cavitation in Control Valves
These centers of collapse are the starting point for shock waves
which lead to the characteristic toroidal pattern of damage. The ex-
tent of damage depends mainly on the dimensionless parameter for
distance = s/Rmax , where s stands for the distance between the cen-
ter point of the bubble and the boundary at the maximum bubble radi-
us Rmax. A correlation between liquid jet and pattern of damage arises
only when < 0.7, if the bubble is already located at the solid bounda-
ry before it collapses. In this case, the jet reaches unobstructed the sur-
face and leaves an impression on the surface [14].
[Surges/cm2]
80
60
40 0 I0
20
I
I0
0
0 1 2 3 []
SAMSON AG V74/ Dob/Zin
22
Part 3 L351 EN
Cavitation intensity
While the effect of a collapsing bubble can be very well described by theoret-
ical models, the cavitation intensity of a cavitation zone can currently only be
described in terms of quality. The following parameters are significant:
The difference between the pressure in the bubble and the pressure at the site
of implosion acts as the driving force when the bubble collapses, see equa-
tions (10) and (11). Since the pressure in the bubble is almost equal to the va-
por pressure, and the ambient pressure at the site of implosion corresponds
approximately to the downstream pressure, the damaging effect of the bub-
ble increases as the difference p2 pV increases. If the difference between
downstream pressure and vapor pressure is less than 2 bars, as often is the
case in heat supply systems, there is no significant material erosion when
non-corrosive media are used. The cavitation zone extends and the number
of cavitation bubbles grows as the difference between the pressure ratio xF
and the valve-specific coefficient xFZ for incipient cavitation increase. On the
one hand, this leads to an increase in the damaging effect at first. On the ot- The gas diffusion
her hand, as the difference between xF and xFZ increases, the duration of the increases as the differ-
bubble growth phase increases as well. Consequently a larger amount of ga- ence between xF and
SAMSON AG 03/11
ses dissolved in the fluid diffuses into the bubble. xFZ increases
23
Control Valves Cavitation in Control Valves
Diffused gas increases The diffused gas is transported with the bubble into the cavitation zone and is
the compressibility of released when the bubble collapses. As a result, the compressibility K of the
the fluid fluid increases in the area of the collapse, while the density F decreases. The
sound velocity drops as a consequence
1
cF = (13)
K F
The eroding effect The result according to equation (11) is a reduction in pressure surge ampli-
decreases as the com- tudes causing the eroding effect of the collapsing bubbles to decrease. The
pressibiliy increases cavitation wear under otherwise identical conditions is smaller with supersa-
turated liquids than with undersaturated liquids due to the same reasons. Be-
sides, an extreme undersaturation causes a drop in the critical pressure at
which incipient cavitation occurs to values far below the vapor pressure. This
means the incipient cavitation first occurs when the pressure ratio is greater
than xFZ and is less intense due to the lack of cavitation nuclei. The bubbles
implode all the more energetically, the larger the pressure gradient downst-
ream of the restriction is. At the given operating conditions, the pressure gra-
dient is determined by the geometry of the control valve. The gradient is
particularly large when the free jet hits the valve body wall close the restricti-
Turbulent mixing causes on. The energy dissipation is low as turbulent mixing has just started in this
the pressure to drop case, and the pressures close to the wall can reach values similar to the up-
stream pressure p1. The driving force for the bubble implosion is then appro-
ximately proportional (p1 pV) and not as described above (p2 pV).
A reduction in viscosity causes, when all other conditions remain the same, an
increase in the number and size of the bubbles. Additionally, the kinematic im-
pulse of the microjet at low liquid viscosity is greater than at high viscosity. If
laminar flow conditions are assumed due to the small size for the microjet, then
the jet velocity is inversely proportional to the viscosity.
SAMSON AG V74/ Dob/Zin
24
Part 3 L351 EN
Then the much quoted exponential correlation between the material erosion m
and jet velocity v follows
k
m1 v 1
= k = 1 ... 8 (14)
m 2 v 2
k
m1 2
= (15)
m 2 1
The pressures occurring when the bubble implodes are proportional accord- The erosion rate becomes
ing to equation (7) to the root of the density. This is why the erosion rate is more rapid as medium
particularly high when cavitation occurs in mercury or liquefied metals. density increases
The surface tension or capillarity makes the pressure in the bubble increase
according to equation (1). Therefore, liquids with smaller surface tension
than water cavitate at pressure ratios lower than xFZ. When the conditions
are otherwise the same, the size and number of cavitation bubbles increases
as the surface tension lessens, while the driving force during bubble implo-
sion is reduced. Technical literature and other sources supplies deviating de-
tails about the effect of surface tension on material erosion. It may, however,
be assumed that the surface tension influences incipient cavitation consider-
ably, but its effect on material erosion is small when the cavitation is pro-
nounced.
25
Control Valves Cavitation in Control Valves
Cavitation erosion
4 In area I, termed the incubation period, a loss in weight is not yet measura-
ble.
4 In area III, the surface that is already strongly fractured reduces the proba-
bility for an implosion close to the surface as it acts as a kind of protective
cushion; the material erodes at a much slower rate.
III
Loss in weight
II
Time
26
Part 3 L351 EN
During the incubation period, the surface of ductile metals first only under-
goes elastic deformation and then plastic deformation. Dents and bulges
arise. Their number increases as time passes. After the deformability of the
material is exceeded at the end of the incubation period, fractures occur and
individual particles break off.
The deformation phase does not take place to a great extent with brittle met-
als due to the high density of dislocation obstacles. As a consequence, inter-
nal tensions form that exceed the material strength at the end of the
incubation phase. Fractures and ruptures occur that cause a monotonously
increasing weight loss. In cast iron, the graphite phase is eroded when the
cavitation strain starts, meaning an incubation period can only be mentioned
in conjunction with pearlite or ferrite erosion.
After the graphite nodules have been eliminated from spheroidal cast iron,
the soft ferrite phase flows into the emptied troughs. The pearlite acts as a
supporting frame and slows down surface deformation. The end of the incu-
bation period is reached when the ferrite breaks off at the trough edges after
strong deformation and the pearlite material areas break away due to mate-
rial fatigue.
In cast iron with lamellar graphite, the ferrite is eroded after the incubation
time elapses without much plastic deformation because after the graphite has
been removed, the contact between the ferrite blocks remains restricted to a
few metal bridges which cannot withstand the constant strain.
27
Control Valves Cavitation in Control Valves
In all materials, surface roughness in the area where the bubbles implode
leads to a noticeable increase in material erosion since the machining
notches help the bubbles to implode energetically and the ridges of the
roughly machined surfaces resist the imploding bubbles less than even sur-
faces would. The influence of the surface roughness must though be observed
in conjunction with the microhardness achieved by machining. According to
[16], an austenitic steel (EN material no. 1.4919, corresponding to
AISI 316 H) with a milled surface has a microhardness HV0.05 of 430,
whereas it has just 246 with an electrolytically polished surface.
28
Part 3 L351 EN
Cavitation corrosion
Apart from mechanical strain, corrosive and stress corrosive influences de-
termine the erosion rate of the material. The combination of cavitation erosi-
on and corrosion where the aggressive components can intensify each other
is termed cavitation corrosion. The effect of impacting liquid jets intensifies
the corrosive attack as the forming top and passivation layers are immedi-
ately worn away, causing the high initial corrosion rate typical of bright me-
tal surfaces to be kept as long as the strain lasts.
A beneficial factor for the corrosion process is also the free oxygen which the
cavitation bubbles absorb by diffusion, also from undersaturated liquids,
while they are growing and which they then release in the cavitation area
when they implode.
Additionally, the ions of a corrosive medium are likely to interact with the
crystallographic slip steps and fractures of areas that have undergone plastic
deformation due to liquid pressure waves. This leads to an accelerated mate-
rial destruction due to intensified fracture formation or due to fracture
spreading.
SAMSON AG 03/11
29
Control Valves Cavitation in Control Valves
Cavitation resistance
Sample
Field coil
Heating/cooling Sonotrode
Sample
SAMSON AG V74/ Dob/Zin
30
Part 3 L351 EN
The liquid surrounding the free end of the rod cannot follow the high-fre-
quency rod oscillations due to its mass inertia, causing liquid cavities in the
form of small bubbles to be formed which erode the material when they im-
plode. The test set ups allow cavitation resistance of various materials to be
investigated under controlled conditions, making it possible to specify a cor-
relation between the mechanical material characteristics and the erosion
rate.
According to the investigations of R. Garcia and F.G. Hammitt [17], the cavi- Cavitation resistance KR
tation resistance KR is proportional to the deformation energy (introduced by
Hobbs) up to the point of fracture UR (ultimative resilience Fig. 13).
K R UR (16)
[N/mm2]
B
1. .
UR= B B
2
1 2
= . B
2
[mm]
B
SAMSON AG 03/11
31
Control Valves Cavitation in Control Valves
R m 1071
.
W 0 .125 HV 1971 .
KR (17)
E 0 .562 R p 0 .2 0 .618
KRCK 45
AI Zn Mg
AI Cu Mg 1
KR
14 measured
calculated
12
10
GGG 40 (austenitic)
GGG 40
C10
42 Mn Cr 4 tempered
8
34 Cr Ni Mo 6
X 5 Cr Ni 18 9
X 90 Cr Mo V 18
Special brass
X 22 Cr Ni 17
6
C45 tempered
16 Mn Cr 5
Cu AI 10 Ni
St 50-2
90 Mn V8
42 Mn Cr 4
4
Ck 45
0
material
32
Part 3 L351 EN
The equations (16) and (17) are only suitable for assessing metals with suffi-
cient elasticity which allow the yield point and deformation energy to be de-
termined in a tensile test.
The applicability of the equations (16) and (17), that were derived from tests
with clear water and hydraulic fluid, is still restricted to cases using less cor-
rosive fluids. If cavitation corrosion as described in the section on cavitation
corrosion is expected, it is recommendable upon selecting the material to
pay attention primarily to the good corrosion resistance and then to take the
cavitation resistance into consideration.
SAMSON AG 03/11
33
Control Valves Cavitation in Control Valves
Avoiding cavitation
The xFZ value, which can theoretically be 1 (no pressure recovery) is deter-
mined considerably by the Carnot impact loss which is a function of the ope-
ning ratios (nominal size cross-section to restriction cross-section). The
The xFZ value increases impact loss and the xFZ value with it, increases as the opening ratio increases,
as the opening ratio whereas the Kv value drops as the opening ratio increases, which can also be
increases expressed by Kv Control valve/Kvs Ball valve.
The xFZ value range of various types of control valves is shown in Fig. 15 as a
function of the Kv value of the valve related to the Kvs value of a completely
open ball valve in the same nominal size.
The bandwidth of the xFZ value range is expressed to a great extent by the hy-
draulic diameter
A
dh = 4 (18)
U
the shape of the valve plug and seat and the number of pressure reduction
stages.
For the free cross-section A = DN2 /4 of a non-reduced ball valve, the cir-
SAMSON AG V74/ Dob/Zin
Another expression for the hydraulic diameter is the valve style modifier Fd
used in the IEC 60534-2-1 standard [25].
34
Part 3 L351 EN
xFZ [-]
1 Linear valves
Rotary valve/ Butterfly valve
Ball Valves
dh < DN
dh = DN
Kv Control valve
Kvs Ball valve
0
0 1 [-]
As can be seen in Fig. 15, ball valves only allow the medium to be controlled Linear valves allow
without cavitation at small pressure ratios. Butterfly valves and rotary plug control without any
valves are slightly better, whereas linear valves allow control without any cavitation even at
cavitation even at high pressure ratios when the plug is designed accord- high pressure ratios
ingly.
Control valves which can be fitted with anti-cavitation trims (Fig. 16) for re-
ducing cavitation and multi-stage axial plugs (Fig. 17) should be given a
special mention here.
SAMSON AG 03/11
35
Control Valves Cavitation in Control Valves
The system illustrated in Fig. 16 is a seat and plug trim specially develo-
ped for cases where cavitation occurs and designed to be fitted in existing
valves. The trim has been optimized in a series of flow simulations and in-
tensive tests. The plug is double guided in the body to prevent mechanical
vibrations, and the plug contours have been designed for better flow cha-
racteristics. The seat diameter has not been reduced to keep the hydraulic
diameter as small as possible. In combination with the special shape of
the plug and seat, this is particularly effective. Additionally, a maximum
of four attenuation plates can be integrated into the seat to additionally
increase the xFZ value at high valve loads [18].
36
Part 3 L351 EN
For an initial rough assessment, it is possible to assume that the xFZi values of
each individual stage are the same in a valve with a multi-stage plug. Then,
the xFZ value is obtained for an n-stage control valve according to
x FZ = 1 (1 x FZi )
n
(19)
K vi
= 1 x FZi (20)
K vi +1
The Kv value of an n-stage control valve arises from the Kvi values of each
individual stage according to
1
Kv = (21)
1 1 1
2
+ 2 +...+ 2
K v1 K v 2 K vn
lg(1 x F )
n= (22)
lg(1 x FZi )
SAMSON AG 03/11
37
Control Valves Cavitation in Control Valves
The relationships are easier to understand when looking at Fig. 18. It can be
seen that a five-stage valve whose individual stages each have an xFZi value
of 0.3 reaches an xFZ value of > 0.8, its Kv value is however just 30% of the
Kvn value of the last stage. The Kvn value corresponds approximately to the
Kvs value possible in a one-stage valve of the same nominal size. Besides the
axial stage plug, the radial stage plugs have proven themselves well in prac-
tice (Fig. 19, left).
The xFZ value of the perforated plug (Fig. 19, center) is determined by the
opening ratio and the hydraulic radius of the largest hole. The division of
holes should be kept to at least three hole diameters to avoid the free jets from
joining together before the impulse exchange with the surrounding medium
has finished. Just relatively small Kvs values (or large opening ratios) are pos-
sible especially with equal percentage characteristics. But they lead to high
xFZ values as shown in Fig. 15. Valves with perforated cages (Fig. 19, right)
function similarly to valves with perforated plugs.
1.0 n=1
0.8 n=2
0.6 n=3
n=4
0.4 n=5
0.2
0.1
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 xFZ
38
Part 3 L351 EN
39
Control Valves Cavitation in Control Valves
xFcrit,cav pcrit,cav
Valve design [bar]
[-]
40
Part 3 L351 EN
The sealing slope and plug surface of parabolic plugs are particularly at The sealing slope and
risk from erosion (Fig. 20).The area around the sealing edge should be plug surface of parabo-
given a Stellite facing. A hard facing of the whole surface is recommen- lic plugs are particulary
ded when the cavitation intensity increases. at risk from erosion
V-port plugs are exposed less to cavitation attacks than parabolic plugs The diverted jet pre-
under the same operating conditions. Due to the diverted jet (Fig. 21), the vents the V-port plug
cavitation zones do not stick to the plug surface, meaning the cavitation from being eroded
bubbles implode almost without any effect.
SAMSON AG 03/11
41
Control Valves Cavitation in Control Valves
The valve seat is not exposed to the cavitation attack when the medium
A medium flowing in flows against the closing direction. However, if the medium flows in the
the reverse direction reverse direction to protect the valve body walls and plug facing (risk of
increases the risk of pressure surge waves), the seat and plug surface are then particularly at
erosion risk from erosion. A satisfactory service life can only be achieved in this
case by using highly resistant materials.
The perforated plug (Fig. 22) is better suited for medium flow in the reverse di-
rection. A steep pressure gradient that makes the cavitation bubbles implode
forms in the center of the plug, i.e. in sufficient distance away from the surface
due to the collision of the partial flows. However, the cavitation zone moves out
A rising differential of the plug when the differential pressure rises, causing the body floor to
pressure can cause the erode. The above mentioned pressure ratios and differential pressures should
body floor to erode only be used as a reference for identifying the cavitation intensity. The limits
can be considerably reduced as a result of cavitation corrosion, especially
when corrosive fluids are used.
42
Part 3 L351 EN
These effects limit the flow rate in control valves (choked flow) if a certain dif-
ferential pressure (pmax) is exceeded as shown in Fig. 23.
Q FL
KC
xFZ
pmax
43
Control Valves Cavitation in Control Valves
p1
pDK pmax
p2
pV
pDK
The critical pressure is The critical pressure pDK is reached at the vena contracta at the differential
below vapor pressure pressure pmax, which is below the vapor pressure according to measure-
ments by Stiles [19] (Fig. 24).
Stiles found the relationship shown in Fig. 25 for the ratio between critical
pressure at the vena contracta and the vapor pressure
p DK
FF = (23)
pV
from measurements using Frigen 12, which can also be approached using
the following equation:
pV
FF = 0.96 0.28 (24)
pC
SAMSON AG V74/ Dob/Zin
44
Part 3 L351 EN
Baumann [20] introduced the valve-specific factor FL for the ratio bet- FL: the factor for
ween the smallest differential pressure across the valve at which the cho- pressure recovery
ked flow starts, pmax and the critical differential pressure at the vena
contracta, pDK.
p max
FL 2 = (25)
p DK
FL value is the pressure recovery factor. It is determined from a flow rate measu-
rement as in Fig. 23. In this measurement, the upstream pressure is kept cons-
tant and the downstream pressure is reduced until choked flow starts. A detailed
description of the procedure is specified in IEC 60534, Part 3.
FF
1.0
0.9
0.8
0.7
0.6 pV
pC
45
Control Valves Cavitation in Control Valves
The maximum value for differential pressure at which the flow rate is
achieved due to cavitation is obtained with the FL value and equation (23).
p max = FL 2 ( p 1 FF p V ) (26)
The first deviation in flow rate from the general measurement equation
Q = K v p (27)
0
p
KC = (28)
p1 pV
The Kc value is often referred to as the incipient cavitation index. Yet, inci-
pient cavitation already occurs, as shown in Fig. 23, at the much smaller
pressure ratio xFZ. If both coefficients are confused with another, it causes se-
rious mistakes in the assessment of the pressure recovery, the cavitation in-
tensity and noise emission.
46
Part 3 L351 EN
and works in the closing direction, struggles against a limit value as the pres-
sure ratio grows. In equation (29), D is the disc diameter, CT the torque coef-
ficient dependent on the opening angle , and H the static differential
pressure p1 p2 across the butterfly valve, increased by the impact pressure
of the flow velocity v:
F 2
H=p+ (30)
2
MT [Nm]
600
FL
xF
100
0 0.5 1.0 [-]
SAMSON AG 03/11
47
Control Valves Cavitation in Control Valves
Torque reaches its The torque reaches its maximum at approximately the same differential pres-
maximum at sure at which also the choked flow occurs (equation 26). As the pressure ra-
choked flow tio (or p) further increases, the torque drops slightly at first and then reaches
a limit value irrespective of the differential pressure.
When the limit value is reached, the cavitation zone stretches over the whole
downstream pressure side, causing the pressure distribution on the inlet side
to be approximately constant with the vapor pressure pV irrelevant of how
the pressure ratio increases.
The flow forces around the plug change due to cavitation even in linear
valves. However, this change in force is insignificant, except in self-operated
regulators where the plug forces must be carefully balanced out by means of
pressure balancing.
48
Part 3 L351 EN
Not just the surface of the hydraulic components, but even the fluid itself, is
exposed to extreme loads when gas-filled cavitation bubbles implode.
The gas parts are released when the bubbles implode and locally increase
the compressibility of the fluid. This is accompanied by a reduction in sound
velocity, meaning pressure surge and sound propagation calculations in
pipelines where cavitation occurs is made more difficult. Fig. 27 shows the
sound velocity in water as a function of the bubble concentration according
to [21].
cF [m/s]
104
1500m/s
3 1080m/s
10
p
=
10
340m/s
ba
r
p
=
108m/s
102
1
ba
p
r
=
0.
1
ba
r
101
49
Control Valves Cavitation in Control Valves
If oxygen is also released by the cavitation process, the oxidizing effect of the
fluid increases. The contamination of the medium caused by cavitation-in-
duced material erosion should not be underestimated in closed circuits.
50
Part 3 L351 EN
Cavitation noise
The pressure peaks induced by the bubble implosions cause material erosion
as well as a loud typical noise. The theoretical approaches to explain how
noise develops are based on individual bubbles which implode concentri- Cavitation bubbles act
cally in an infinitely expanded fluid and without affecting each other. The as an isotropic radiator
cavitation bubble can then be regarded as an isotropic radiator of zero or- of zero order
der (monopole source) which creates in the far field the sound pressure
F d 2 r
p (r , t ) = 2 V (t ) t (31)
4r dt cF
In the equation, V(t) is the rate of change in bubble volume which can be de-
termined approximately using the Rayleigh-Plesset differential equation, and
r is the distance between the sound source and the point of observation. The
spectral distribution of the energy E(f) of the noise created by a bubble is ob-
tained from the squared Fourier transform of the pressure over time in the far
field
2
+
E (f ) = p (t ) e 2 ift dt (32)
r
while neglecting the retarded time t
cf
( )
2
E (f ) =
+ 2
f
4
V (t ) e 2 ift dt (33)
r
SAMSON AG 03/11
51
Control Valves Cavitation in Control Valves
The spectral energy rises at first with the frequency f raised to the power of
four and reaches a maximum at a frequency whose the inverse ratio is ap-
proximately the same as the collapsing time of the cavitation bubble. As a
consequence of the collapsing time being directly proportional to the bubble
radius, the maximum noise is shifted to lower frequencies as the bubble ra-
dius increases. At frequencies above the maximum, the spectral energy de-
creases at f 2/5.
If the bubble collapses are observed as random events not connected with
one another, whose frequency follows a Poisson distribution, it is possible to
derive the total spectral sound energy Etotal(f) from the spectral energy of indi-
vidual events E(f) and a mean number of bubble collapses per unit of time n.
Etotal (f ) = n E (f ) (34)
Observations of individ- These theoretical considerations made for individual bubbles apply approxi-
ual bubbles only apply mately when cavitation just starts. As the cavitation progresses, distinctive
to incipient cavitation cavitation zones form in which the effects of each individual bubble overlap
each other, and the contribution of each bubble to the entire noise depends
on the history of the neighboring bubble.
F
= (35)
(1 + C )
SAMSON AG V74/ Dob/Zin
In the equation, C is the total volume of all bubbles per volume unit. Lyamshev
[22] discovered on this basis that the sound intensity of a cavitation zone
equals the flow velocity raised to the power of four, or is proportional to the
square of the differential pressure.
52
Part 3 L351 EN
In this case, neither the influence of surface tension nor viscosity nor the influ-
ence of the gas contents are taken into account. The influence of the density
and the differential pressure important for the course of the bubble implosion
1 xF
p 2 pV = p (36)
xF
are also only reproduced inexactly in the empirical VDMA equations which are
based mainly on measurements with cold water (pV 0 bar, F 1000 kg/m3).
The VDMA calculation methods [23] introduced in 1979 and improved in
1989 are, however, well proven and recognized worldwide.
53
Control Valves Cavitation in Control Valves
When cavitation (xF >> xFZ) occurs, the acoustic power emitted in the octave
band range of 0.5 to 8 kHz in the pipeline is obtained according to
W p F
LWi = 134.4 + 10 lg
F FL 2
x FZ 0 .0625 (1 x F )
0.8
1001
. xF
Lwi 120 lg + LF
x F x FZ 1 x FZ
with p FL 2 (p 1 FF p V ) (37)
The first row of the equation (37) represents the sound power level which is
caused by the turbulent flow noise. The second row serves to calculate the
sound power component which arises when the flow noise caused by the tur-
bulence overlaps the cavitation noise resulting from the temporal static bub-
ble collapse. Fig. 28 shows the course of the standardized sound power for
standard valves with parabolic plugs (LF = 0) in relation to the operating
pressure ratio with xFZ as a parameter. When xF > xFZ applies, the noise
emission rises steeply, reaches a maximum and drops back to the sound po-
wer level caused by the turbulence when xF = 1.
The drop in sound power level at high pressure ratios is based, on the one
hand, on the compressibility of the fluid that increases with xF (see section on
avoiding cavitation) and on the reduction of the driving force p2 pV when
the bubble implodes (equation 10). Cavitation behavior deviating from the
calculation can be taken into consideration by the valve manufacturer by
specifying a valve-specific correction coefficient LF = f (xF, y).
The spectral distribution of the internal sound power level depends on the de-
sign, pressure ratios, load and xFZ value of the valve. According to
VDMA 24422, the spectral distribution can be reproduced for practical
application in the octave band range 0.5 to 8 kHz irrelevant of the operating
SAMSON AG V74/ Dob/Zin
54
Part 3 L351 EN
134.4
F.W.p 20
.FL2
15
F
LWi10 lg
10
5
0.1
0.3
0.5
0.7
zy =
zy =
zy =
zy =
xF
0
0 0.5 1
Fig. 28: Sound power for standard valves with parabolic plug (LF = 0)
40
dB
8 kHz
8 kHz
20
4 kHz
4 kHz
2 kHz
2 kHz
1 kHz 1 kHz
0.5 kHz 0.5 kHz xF
0
0 0.5 1
55
Control Valves Cavitation in Control Valves
Cavitation luminescence
56
Part 3 L351 EN
Appendix A1:
List of references
APPENDIX
[5] Lehmann, A. F.; Young J.O.: Experimental Investigations of Incipi-
ent and Desinent Cavitation, Journal of Basic Engineering, June
1964, pages 275284
[9] Rayleigh, L.: On the Pressure Developed in a Liquid During the Collapse
of a Spherical Cavity, Phil. Marg., Vol. 34, 1917, pages 9498
57
Control Valves Cavitation in Control Valves
[10] Gth, W.: Zur Entstehung der Stowellen bei der Kavitation,
Acustica, Vol. 6, 1956, pages 526531
[11] Knapp, R.T.; Daily, J.; Hammit F.: Cavitation, McGraw-Hill Book
Company, New York, 1970, pages 343347
[19] Stiles, G. F.: Sizing Control Valves for Choked Conditions Due to
Cavitation or Flashing, ISA Handbook of Control Valves, Instrument
Society of America, 1976
58
Part 3 L351 EN
[20] Baumann, H. D.: The Introduction of a Critical Flow Factor for Valve
Sizing, Paper presented at ISA Annual Conference, October 1962
[24] Vnucec, D., Kiesbauer, J.: bersicht ber die Genauigkeit von
Schallberechnungsnormen b. Stellgerten (Evaluating the calcula-
tion accuracy provided by the relevant noise prediction standards
for control valves), Oldenbourg Verlag, Mnchen, Germany,
Heft 7, 2003
APPENDIX
[25] Kiesbauer, J., Baumann, H.D.: News in the prediction of hydro-
dynamic noise of control valves, Industriearmaturen , Vulkanver-
lag, Essen, Germany, Heft 3,2002
SAMSON AG 03/11
59
Control Valves Cavitation in Control Valves
Figures
Fig. 2: Tensile strength values derived from measurements for pure water 11
Fig. 7: Relation between the pressure ratio xF and the gas content . . . . 17
60
Part 3 L351 EN
Fig. 28: Sound power for standard valves with parabolic plug (LF = 0) . 55
FIGURES
SAMSON AG 03/11
61
Control Valves Cavitation in Control Valves
NOTES
62
SAMSON right on quality course
4 SPS/DCS
D
A
SPS/DCS
bus
SPS/DCS
bus
SPS/DCS
bus
bus
D
Ex (i) version
Ex(i) Ex(i)
D
Part 4 Communication
Ex(i)
bus
field field field field
device device device device
Technical Information
Part 1: Fundamentals
Part 4: Communication
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Standardization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Two-wire technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
HART protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
CONTENTS
Fieldbus systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3
Communication Communication in the Field
4
Part 4 L450 EN
Introduction
Fieldbus systems have performed the task of connecting the field devices with manufacturing enginee-
the control station in manufacturing and drive engineering for many years ring uses fieldbus com-
now. Today, more than one million networked field and automation devices munication
are successfully implemented.
On the other hand, the conventional 4 to 20 mA wiring technique is still be- process engineering
ing used in process engineering applications (see Fig. 1). This type of data mainly uses analog
signal processing
P P P
D D control level
A A
uni- bi-
direc- direc-
wiring
tional tional
A A
D D
field level
P P P P
SAMSON AG 99/12
5
Communication Communication in the Field
transmission has proven successful for a long time. Nevertheless, this tech-
nique has two considerable disadvantages:
4 to 20 mA technique 4 wiring is very complex one pair of wires per device and
4 communication takes place in only one direction unidirectional.
bidirectional communi- However, for many applications unidirectional data transmission is no lon-
cation for powerful ger up-to-date. State-of-the-art process monitoring and control systems re-
services quire bidirectional communication.
Smart field devices can store information that is relevant for the process as
well as for the devices and send messages to higher-level control units. Pow-
erful devices can additionally perform diagnostic routines so that clear main-
tenance messages can be generated for the plant operator. Another option is
to store calibration values in the field device itself, enabling retrieval on de-
mand, e.g. if the device is exchanged.
Since modern control stations and field devices are based on microproces-
sors, D/A or A/D signal conversion, which would otherwise be required, is
no longer necessary (see Fig. 1). Additionally, many devices can be con-
nected in parallel to a single line. This is made possible because the digital
signal transmission does not permanently occupy the line. The destination
device stores the transmitted data packet and subsequently carries out the re-
quested action. As a result, the transmission line is immediately available for
other data and devices.
communication replaces The bus connection of the field devices illustrated in Fig. 1 considerably re-
4 to 20 mA technique duces wiring and with it the number of required components. However, this
instrumentation method requires not only communication for the start-up and
parameterization, but also digital transmission of all values - also set point
and actual values. Also it must be ensured that each field device is requested
for data or receives new set point values within precisely defined time inter-
vals.
SAMSON AG V74/ DKE
6
Part 4 L450 EN
A: one processor
digital communication line
B: two processors for
communication and
Interface Interface application
RAM
RAM DPR
P P P
A B
In fieldbus capable field devices, the application processor often additionally microprocessor
controls communication. For high-capacity utilization or complex communi- performs application
cation services, two separate processors are used, one for communication and communication
and one for application. Data exchange between the processors can then be tasks
carried out, e.g. using common memory space Dual-Port-RAM (Fig. 2).
As a result of the increasing functions and the higher scale of integration of
the electronic components, this solution can also be implemented very
cost-effectively especially for large-scale manufacturing.
SAMSON AG 99/12
7
Communication Communication in the Field
Requirements of Process
Engineering
Prerequisite for any communication in the field is a reliable data transmission
which functions properly even under rough industrial conditions. It is also im-
portant that all components are always readily available.
Standardization
two-wire technique
8
Part 4 L450 EN
Process engineering tasks often require that field devices be used in hazard-
ous locations. Therefore, the transmission medium as well as the devices must
meet special explosion protection requirements.
For fieldbus systems, the German Physikalisch-Technische Bundesanstalt PTB Fieldbus Intrinsically
(federal physicotechnical institute) created the FISCO model in cooperation Safe Concept
with renowned manufacturers. This model describes one way of realizing in- for intrinsically safe
trinsically safe communication systems. According to this model, the most im- communication
portant conditions for intrinsically safe operation are the following:
power
supply
10 mA
10 mA 10 mA 10 mA
PCS and segment
engineering coupler
tool
SAMSON AG 99/12
9
Communication Communication in the Field
plies that the energy produced by arcs and sparks and the temperature on
the surface are restricted so that an explosive atmosphere cannot be ignited.
In an instrinsically safe field network, the voltage and current must therefore
be restricted by means of appropriate power supply units and safety barri-
ers. Also for safety reasons, devices must be connectable and disconnectable
during operation without causing interaction. Only field networks which
meet these requirements may be used in hazardous areas, such as tanks or
chemical production plants.
Topology
adaptable network The wiring of the communication network must be adapted to the topological
topology conditions of the plant. An optimum solution would be a network topology
allowing the devices to be networked as required.
A good approach is the tree structure. However, for many plants wiring in
line structure where the devices are connected via short stub lines is abso-
lutely sufficient.
In any case, the maximum possible line length must satisfy the demands of
the plant. So it is often permissible to extend the network by using repeaters
(power amplifiers).
Two-wire technique
To save costs, wiring must be minimized, and in hazardous areas, the num-
ber of safety barriers must be kept as low as possible. Minimization of wiring
and safety barriers is achieved, as for the 4 to 20 mA instrumentation, using
the two-wire technique (Fig. 5). In this case, the field devices take the re-
quired power from the signal line. With fieldbus systems, this technique is
bus-powered two-wire also called bus supply. To be able to combine signal transmission and en-
devices reduce ergy supply on the same line, the data signals as well as the supply currents
installation costs and voltages must not affect each other.
NOTE: The conventional method with separate signal and supply lines is ter-
med four-wire technique.
SAMSON AG V74/ DKE
10
Part 4 L450 EN
field network
SG FG FG SG FG FG
supply lines
11
Communication Communication in the Field
12
Part 4 L450 EN
HART protocol
HART communication uses the conventional 4 to 20 mA current loop for data HART uses the existing
transmission. The communication systems requires (almost) no additional current loops
wiring. The HART protocol is therefore also a good solution when smart field
devices are to be integrated in an already existing plant.
HART provides a very simple point-to-point connection between an operat- flexible application
ing device and a field device. With the appropriate instrumentation, how-
ever, HART is also suitable as communication system for extended plants.
The only prerequisite is that the field devices are connected according to the
conventional 4 to 20 mA technique (see Fig. 6 and L452EN).
PC operating device
FSK modem
field HART
4 to 20 mA
device field device
Handheld terminal
13
Communication Communication in the Field
Fieldbus systems
EX [i] U/I
supply
marshalling rack
14
Part 4 L450 EN
% costs
100% cost
100 reduction
22%
57%
27%
50 12% planning
22% installation
51%
0 23% hardware
Reducing and simplifying wiring has in many ways a positive effect on the reduced wiring in the
plant and operating costs. In a study carried out by NAMUR (standardiza- field
tion committee of the instrumentation and control industry, AK 3.5), the costs
of a pilot plant equipped with the conventional transmission technique have
been compared with those of a plant with PROFIBUS-PA instrumentation.
The calculation example yielded cost reductions of more than 40 % thanks to cost reduction with
cost savings in planning, cabling, start-up and maintenance (Fig. 8). fieldbus systems
4 wiring is reduced from several hundred or thousand lines to only a few li- advantages of field
nes, networks
15
Communication Communication in the Field
4 and since the measuring and control signals are transmitted digitally, the
entire system is less liable to errors
The above list of advantages shows that the use of field networks changes the
distribution of tasks between the automation devices and the field devices. As
a consequence, the field devices operate more autonomously and are there-
fore equipped with microelectronic components. This trend is reasonable
also from the economical point of view, because of
functional safety must The advantages mentioned above can only develop their positive effects
be guaranteed when reliable functioning of the plant can be guaranteed upon implementa-
tion. Therefore, it is important to define what will happen when the individual
components or the field network fail. Which error will be detected and which
SAMSON AG V74/ DKE
one can be immediately remedied or, at least, limited as to its effects. Field
communication systems vary considerably (regarding protocol, function, to-
pology) so that these questions can only be answered for each implementa-
tion individually.
16
Part 4 L450 EN
More than 100 different fieldbus systems are commercially available, but
only a few of them were able to become established as standard within their
area of application. As can be concluded from the statements on page 8 ff,
very special requirements must be met in the process engineering industry.
The most important prerequisites are the high safety demands, the need to
function in hazardous areas as well as openness and extensibility of the sys-
tem.
Repeatedly, efforts have been undertaken to establish an internationally rec- standardization for a
ognized, manufacturer-independent specification that defines the fieldbus uniform solution
for process automation. Such an open standard would ensure a large choice
of manufacturer-independent products for the user and, on the other hand, a
broad sales market for the manufacturer.
Today, there are two competing fieldbus systems that fulfill the requirements PROFIBUS-PA and
mentioned above. This is the PROFIBUS-PA originated in Europe and the FOUNDATION
FOUNDATION Fieldbus focused on America and Asia. Both fieldbus sys- Fieldbus
tems operate on the same intrinsically safe physical bus structure (IEC
61158-2). However, the provided communication services and, hence, the
protocol definitions differ greatly from one another (see L453 EN and L454
EN).
Both bus systems were primarily designed for use in hazardous areas. The
two-wire technique, however, is also a good basis for other applications. The
cost-efficient, bus-powered compact devices help simplify production sys-
tems for many process engineering applications without the need to elimi-
nate common device standards and connection techniques.
the AS-I network can be integrated via a special connection in more powerful discontinuous-action
fieldbus systems (e.g. PROFIBUS). field devices
17
Communication Communication in the Field
Apart from the common 4 to 20 mA technique and the fieldbus wiring, there
are two other technical solutions which adopt a middle course.
field multiplexer In both cases, the field devices are wired according to the conventional 4 to
connect 4 to 20 mA 20 mA technique. However, the lines are not run up to the control station be-
with bus systems cause the signals are digitized and finally supplied to a bus system. This task
is accomplished by the field multiplexer.
Rackbus or When the D/A conversion takes place in the control room, the system is
Remote I/O system called Rackbus, whereas conversion in the field is performed by a Remote
I/O system (see Fig. 9).
4 to 20 mA fieldbus
Rackbus Remote I/O
technique system
bus
D
Ex (i) version
Ex(i) Ex(i)
D
A
Ex(i)
bus
field field field field
device device device device
SAMSON AG V74/ DKE
18
Part 4 L450 EN
Remote I/O components can also be installed in hazardous areas. The de- measures in
vice components and the terminals towards the bus must then be designed to hazardous areas
meet the appropriate type of protection e.g. Ex (d), Ex (e). Rackbus compo-
nents are always installed in non-hazardous areas so there is no need for
them to be subjected to special measures. For field devices installed in haz-
ardous areas, the type of protection is often Ex (i) intrinsic safety.
Some manufacturers offer field multiplexers that are supported by the HART HART communication
protocol. In these systems, multiplexers are used to decouple the Hart proto- also possible with field
col from the current loops and transmit it via a bus system to the engineering multiplexers
terminal. However, this type of field device communication requires compa-
rably complex technical measures since the HART protocol and the fieldbus
technique are used simultaneously.
19
Communication Communication in the Field
Appendix A1:
Additional Literature
[1] L150EN: Digital Signals
Technical Information; SAMSON AG
20
Part 4 L450 EN
Figures
FIGURES
SAMSON AG 99/12
21
Communication Communication in the Field
NOTES
22
SAMSON AG 99/12
Part 4 L450 EN
23
NOTES
1999/12 L450 EN
HART Communications
4
Part 4 Communications
Technical Information
Part 1: Fundamentals
Part 4: Communication
HART Communications
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4Point-to-point connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4Multiplexer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4Multidrop mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4FSK bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CONTENTS
Two-wire technique and load impedance. . . . . . . . . . . . . . . . . . . . 13
Physical layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4Coding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4Plug connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4HART-compatible features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Services of layer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SAMSON AG 99/12
4Access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4Communication services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3
Communications HART Communications
4Telegram structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4Noise immunity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Example: IBIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4
Part 4 L452 EN
Introduction
F
ield networks are not the only solution when plant operators want to
use the advantages of smart field devices. The HART protocol provides
many possibilities even for installations that are equipped with the
conventional 4 to 20 mA technique.
HART devices communicate their data over the transmission lines of the 4 to HART protocol utilizes
20 mA system. This enables the field devices to be parameterized and 4 to 20 mA lines
started up in a flexible manner or to read measured and stored data (re-
cords). All these tasks require field devices based on microprocessor technol-
ogy. These devices are frequently called smart devices.
Introduced in 1989, this protocol has proven successful in many industrial proven successful for
applications and enables bidirectional communication even in hazardous smart devices
environments. HART allows the use of up to two masters: the engineering
console in the control room and a second device for operation on site, e.g. a
PC laptop or a handheld terminal.
5
Communications HART Communications
6
Part 4 L452 EN
Devices which support the HART protocol are grouped into master (host) and host and field
slave (field) devices. Master devices include handheld terminals as well as devices
PC-based work places, e.g. in the control room. HART slave devices, on the
other hand, include sensors, transmitters and various actuators. The variety
ranges from two-wire and four-wire devices to intrinsically safe versions for
use in hazardous environments.
The HART data is superimposed on the 4 to 20 mA signal via a FSK modem. communication over
This enables the devices to communicate digitally using the HART protocol, analog signal line
while analog signal transmission takes place at the same time (see Coding
on page 16ff and Lit./2/).
Field devices and compact handheld terminals have an integrated FSK mo- FSK modem: link to
dem, whereas PC stations have a serial interface to connect the modem ex- analog signal
ternally. Fig. 2 shows a typical connection scheme of a HART host device and
a HART field device. HART communication is often used for such simple
point-to-point connections. Nevertheless, many more connection variants
are possible.
PC control station
FSK modem
HART
field device 4 to 20 mA field device
handheld terminal
SAMSON AG 99/12
7
Communications HART Communications
Point-to-point connection
Multiplexer
Fig. 3 shows the use of a multiplexer system, which enables a large number
of HART devices to be connected in a network. The user selects a particular
PC host
multiplexer
HART field devices
controller
address 0
address 0
HART signals
4 to 20mA
SAMSON AG V74/ DKE
address 0
8
Part 4 L452 EN
current loop for communication via the operating program. As long as the
communication takes place, the multiplexer connects the current loop to the multiplexer selects
host. Due to the cascaded multiplexer structure, the host can communicate current loops at shifted
with many (> 1000) devices, all with the address zero. time intervals
Multidrop mode
The HART protocol was originally designed for transmitters. The multidrop multidrop mode
mode was also developed for them. In multidrop operation, the devices ex- for transmitters
change their data and measured values only via the HART protocol. The ana-
log current signal serves just to energize the two-wire devices, providing a
direct current of 4 mA.
In multidrop mode, up to 15 field devices are connected in parallel to a single address range:
wire pair (Fig. 4). The host distinguishes the field devices by their preset ad- 1 to 15
dresses which range from 1 to 15.
#
F
address 1
FSK modem
# PH
4 mA incl.
RB HART address 2
signals
#
power T
supply address 3
SAMSON AG 99/12
9
Communications HART Communications
There are special applications which require that several usually two ac-
tuators receive the same control signal. A typical example is the split-range
splitting the operation of control valves. One valve operates in the nominal current range
set point range from 4 to 12 mA, while the other one uses the range from 12 to 20 mA.
In split-range operation, the control valves are connected in series in the cur-
rent loop. When both valves have a HART interface, the HART host device
must be able to distinguish with which valve it must communicate. To achieve
this, the HART protocol revision 6 (anticipated for autumn 1999) and later
will be extended by one more network variant.
HART address 1 to 15 As is the case for multidrop mode, each device is assigned to an address
from 1 to 15. The analog 4 to 20 mA signal preserves its device-specific
analog reference function, which is, for control valves, the selection of the required travel. To
variable be able to use HART communications also for such applications as the
split-range operation, the HART positioner from SAMSON always takes the
analog current signal as a reference variable, independent of the device ad-
dress (Fig. 5).
handheld terminal
4 to 20mA 3780 1
addr.
isolating
amplifier
10
Part 4 L452 EN
FSK bus
The HART devices are connected to their analog current signal and the com-
mon FSK bus line via the isolating amplifier (Fig. 6). From the FSK bus view-
point, the isolating amplifiers act as impedance converters. This enables also
devices with high load to be integrated in the communication network.
37801
37801
FSK bus
37801
up to max.
100 control loops
SAMSON AG 99/12
11
Communications HART Communications
address format To address the devices, a special, long form of addressing is used (see also
for many participants Fig. 15, page 23). During the configuration phase, the bus address and the
tag number of each device are set via the point-to-point line. During
operation, the devices operate with the long addresses. When using the
HART command 11, the host can also address the device via its tag. In this
way, the system configuration can be read and checked during the start-up
phase.
12
Part 4 L452 EN
The load of a HART device is limited by the HART specification (see page 17: Observe the load!
max. 1100 ohms for the entire load in the circuit). Another limitation is
caused especially in older installations by the process controller. The out-
put of the process controller must be able to provide the power for the con-
nected two-wire device.
The higher the power consumption of a two-wire device, the higher its load.
The additional functions of a HART-communicating device increase its power
consumption and hence the load compared to non-HART devices.
handheld terminal
4 to 20 mA 3780
-controller FSK
modem safe
-control
area
station
PC PC
FSK hazardous
area
modem
37801
-controller IS isolating
-control amplifier
station
handheld terminal
SAMSON AG 99/12
13
Communications HART Communications
least the load impedance of the HART device at 20 mA. The required load
impedance UB and the consumed power PW are calculated as follows:
NOTE: The value of the device load is always defined for a current of 20 mA.
If the process controller cannot provide the load including the cable resi-
stances, etc. , a HART-compatible IS (Intrinsic Safety) isolating amplifier can
be installed.
intrinsically safe The technical details defined in the HART specification enable HART devices
communication in with the operating mode Intrinsic Safety (Ex-i) to be used if they are ap-
hazardous areas proved also in hazardous areas.
HART-compatible Upon installation in the hazardous area, make sure that the IS isolating am-
IS isolating amplifier plifier, which acts as an amplifier and as an IS barrier, is HART compatible
(for more details, see page 19).
separate processors for 4 The analog current signal (8) is transmitted via an A/D converter to the mi-
application and croprocessor (2) which is responsible for the application, e.g. for position
communication control.
4 The FSK modem feeds the received HART signals (8) to the microprocessor
SAMSON AG V74/ DKE
4 The FSK modem superimposes the HART signals to be sent on the analog
current signal of the 4 to 20 mA line.
14
Part 4 L452 EN
G 1 displacement sensor
C
2 2 microcontroller
8
3 on/off valve for
G
FSK
C
5 1 supply air
4 on/off valve for
exhaust air
5 microcontroller
e
7 p 6 pressure regulator
3 7 air supply
8 HART and analog
e
p current signal
4
4 Both processors, one for communication (5) and the other for application
(2), exchange the received data and the data to be sent.
The other function blocks show the components (3, 4, 6 and 7) which measu- on/off valves adjust the
re the position of the valve (1) and adjust the pneumatic pressure in the ac- actuator pressure
tuator as requested by the controller.
SAMSON AG 99/12
15
Communications HART Communications
presentation
session
transport
network
HART protocol The HART protocol utilizes the OSI reference model. As is the case for most of
implements the OSI- the communication systems on the field level, the HART protocol implements
layers 1, 2 and 7 only the layers 1, 2 and 7 of the OSI model. The layers 3 to 6 remain empty
since their services are either not required or provided by the application
layer 7 (see Fig. 9).
Physical layer
Coding
Data transmission between the masters and the field devices is physically re-
alized by superimposing an encoded digital signal on the 4 to 20 mA current
loop. Since the coding has no mean values, an analog signal transmission
HART protocol uses
taking place at the same time is not affected. This enables the HART protocol
the existing field wiring
to include the existing simplex channel transmitting the current signal (ana-
SAMSON AG V74/ DKE
log control device field device) and an additional half-duplex channel for
communication in both directions.
16
Part 4 L452 EN
mA
data bits: 1 0 1
20
laIa+0,5 mA
+ 0.5 mA
laIa
laIa0,5 mA
0.5 mA
analog
current signal
4
The HART specification defines that master devices send voltage signals,
while the field devices (slaves) convey their messages using load-inde-
pendent currents. The current signals are converted to voltage signals at the
internal resistance of the receiver (at its load).
To ensure a reliable signal reception, the HART protocol specifies the total
load of the current loop including the cable resistance to be between min- load ensures
imum 230 ohms and maximum 1100 ohms. Usually, the upper limit is not reception level
defined by this specification, but results from the limited power output of the
SAMSON AG 99/12
17
Communications HART Communications
The HART masters are simply connected in parallel to the field devices (e.g.
Fig. 7), so the devices can be connected and disconnected during operation
because the current loop need not be interrupted.
Wiring
HART wiring in the field usually consists of twisted pair cables. If very thin
quality of and/or long cables are used, the cable resistance increases and, hence, the
transmission lines total load. As a result, the signal attenuation and distortion increases while
the critical frequency of the transmission network decreases.
NOTE: For trouble-free transmission, the cables must have a sufficient cross
section and an appropriate length.
demands on If interference signals are a problem, long lines must be shielded. The signal
transmission lines loop and the cable shield should be grounded at one common point only.
4 For short distances, simple unshielded 0.2 mm2 two-wire lines are
sufficient.
Most of the wiring in the field meets these requirements and can therefore be
used for digital communication.
Plug connectors
An essential benefit is that HART integrates the existing wires. So the HART
specification does not prescribe the use of a specific type of plug connector.
Since the polarity has no influence on the frequency evaluation, HART sig-
nals are usually connected via simple clamp terminals.
SAMSON AG V74/ DKE
18
Part 4 L452 EN
HART-compatible features
The reason is that the inputs and outputs of these devices are specified only
for the 4 to 20 mA technology. Since the input and output resistances change FSK frequencies must
with the signal frequency, such devices are likely to short-circuit the higher- not be suppressed
frequency HART signals (1200 to 2200 Hz).
NOTE: Inputs and outputs with an internal resistance that falls below the FSK
frequency range short-circuit the HART signals!
handheld
IB modulated
controller terminal
3780
HART
master device
RC low pass
(increases load by 250 )
HART box
(increases load by approx. 50 )
Fig. 11: Controller output must not short-circuit the HART signals
SAMSON AG 99/12
19
Communications HART Communications
additional circuits RC low pass: 250 + line resistance + load of field device
increase load HART box: 50 + line resistance + load of field device
When using the specially designed HART box, the additional load can be re-
duced by one fifth to 50 . If this value is still too high, either a signal ampli-
fier or a controller with higher power output must be installed.
20
Part 4 L452 EN
immediate
response
master
slave
slave acknowledgement with data
Fig. 12: HART transaction: data exchange between master and slave
Services of layer 2
Access control
The HART protocol operates according to the master-slave method. Any master controls
communication activity is initiated by the master, which is either a control sta- slave device
tion or an operating device. HART accepts two masters, the primary master
usually the control system and the secondary master a PC laptop or
handheld terminal used in the field.
HART field devices the slaves never send without being requested to do
so. They respond only when they have received a command message from
the master (Fig. 12). Once a transaction, i.e. a data exchange between the
control station and the field device, is complete, the master will pause for a time-controlled access
fixed time period before sending another command, allowing the other mas- authorization
ter to break in. The two masters observe a fixed time frame when taking turns
communicating with the slave devices.
Communication services
21
Communications HART Communications
burst mode for Some HART devices support the optional burst communication mode. A sin-
fast transmission of gle field device cyclically sends message telegrams with short 75-ms breaks,
measured values which can alternately be read by the primary as well as the secondary mas-
ter. While usually only two transactions per second are possible, the field de-
vice can send up to four telegrams using this method.
Telegram structure
The structure of a HART telegram is shown in Fig. 14. Each individual byte is
send as 11-bit UART character equipped with a start, a parity and a stop bit.
In the revision 5 and later, the HART protocol provides two telegram formats
two address formats which use different forms of addressing. In addition to the short frame slave
possible address format containing four bits, a long frame address format has been
introduced as an alternative. This allows more participants to be integrated,
while achieving more safety in case of incorrect addressing during transmis-
sion failures.
2 status bytes
byte count
HART command byte
address
start byte
SAMSON AG V74/ DKE
22
Part 4 L452 EN
The elements of the HART telegram perform the following tasks: elements of the
HART telegram
4 The preamble consisting of three or more hexadecimal FF characters syn-
chronizes the signals of the participants.
4 The start byte indicates which participant is sending (master, slave, slave
in burst mode) and whether the short frame or the long frame format is
used.
4 The address field of the short frame format contains one byte (Fig. 15) with
one bit serving to distinguish the two masters and one bit to indicate
burst-mode telegrams. For the addressing of the field devices, 4 bits are
used (addresses 0 to 15).
4 The address field of the long frame format contains five bytes, hence, the
field device is identified using 38 bits.
4 The command byte encodes the master commands of the three categories, HART commands
Universal, Common-practice and Device-specific commands. The signifi- control all actions
cance of these commands depends on the definitions in the application
layer 7.
4 The byte count character indicates the message length, which is necessary
since the number of data bytes per telegram can vary from 0 to 25. This is variable amount of
the only way to enable the recipient to clearly identify the telegram and the data bytes
checksum. The number of bytes depends on the sum of the status and the
data bytes.
4 The two status bytes are included only in reply messages from slaves and
contain bit-coded information. They indicate whether the received mes-
long frame
master burst 0 0 bit 3 bit 35,34,33,...,1,0
(5 bytes):
SAMSON AG 99/12
Fig. 15: Short frame and long frame HART address formats
23
Communications HART Communications
sage was correct and the operational state of the field device. When the
field device operates properly, both status bytes are set to logical zero.
HD equals four 4 The checksum byte contains the longitudinal parity of all the bytes of a tele-
gram. According to Lit.[2], the Hamming distance of the HART transmis-
sion equals four.
Noise immunity
For interferences that can be coupled into the transmission lines, the HART
specification demands class 3 noise immunity according to IEC 801-3 and
-4. So general noise immunity requirements are met. Further protection
mechanisms to detect errors in the communication are implemented in the
different communication layers.
error detection on the On the lower levels, the UART and the longitudinal parity check reliably de-
different levels tect up to three corrupted bits in the transmitted telegram (Hamming distance
HD=4). Errors occurring on higher levels, such as HART commands that can-
not be interpreted and device failures, are indicated by the slave upon each
transaction using the status bytes reserved for this purpose. Polling at regular
intervals enables the master device to know the state of all connected commu-
nication participants and to react as requested by the user or the operating
program.
SAMSON AG V74/ DKE
24
Part 4 L452 EN
The time required to transmit a telegram results from the bit data rate
(1200Hz) and the number of bits per telegram. The length of the telegram
varies depending on the message length 0 to 25 characters and the mes-
sage format. When a short frame format is used and the message contains
25 characters, a total of 35 characters must be transmitted. Since each byte
is transmitted as UART character (see [Lit. 2]), we obtain the following data:
performance data of
HART transaction:
HART transmission
byte per telegram: 25 message characters + 10 control characters
In shorter messages, the ratio between user data and control data becomes
increasingly unfavorable so that it can take up to 128 ms to transmit one user up to two transactions
data byte. An average of 500 ms is accounted for per transaction i.e. for per second
both a master and a slave telegram, including additional maintenance and
synchronization times. As a result, approximately two HART transactions
can be carried out per second.
These values show that the HART communication is not suitable for transmit- not suitable for
ting time-critical data. HART can be used to determine the reference variable time-critical control
of a final control element in test and start-up phases, but it is obviously not tasks
suited to solve control tasks.
SAMSON AG 99/12
25
Communications HART Communications
HART command from Pre-defined commands enable the master device to give instructions to a field
the master... device or send messages/data. So set points, actual values and parameters
can be transmitted and various services for start-up and diagnostics per-
formed.
and response from The field devices immediately respond by sending an acknowledgement tele-
the slave gram which can contain requested status reports and/or the data of the field
device.
The example in Fig. 17 shows what the transmitted bytes mean in a transac-
tion initiated using the command 33. This HART command enables the mas-
ter to read four transmitter variables of the field device and the
corresponding units of measurement with only one command.
26
Part 4 L452 EN
Field devices interpret and process only those HART commands that are di- classes of commands
rected to them or to all participants. Each command belongs to one of three for field devices
classes of commands. These classes distinguish how specific or universal a
command is:
4 Universal commands are understood and used by all field devices operat- understood by all
ing with the HART protocol (device designation, firmware no., etc.). devices
4 Common-practice commands are usually supported by many, but not nec- more specific
essarily all, HART field devices. (Read variable, set parameter, etc.). Most commands for more
of the HART field devices are able to interpret and respond to com- complex devices
SAMSON AG 99/12
mon-practice commands.
27
Communications HART Communications
special commands for 4 Device-specific commands support functions that are unique to each de-
special functions vice. These commands provide access to data about the type and con-
struction of a device as well as information on the maintenance state and
start-up (see also DDL device description, page 29).
Most of the field devices support commands of all three classes: they under-
stand all universal commands, the common-practice commands tailored to
them and special, device- and manufacturer-specific commands.
28
Part 4 L452 EN
The HART commands are based on the services of the lower layers and en-
able an open communication between the master and the field devices. This
openness and the interchangeability of the devices independent of the manu- interchangeability of
facturer are available only as long as the field devices operate exclusively field devices
with the universal and common-practice commands and the user does not
need more than the simple HART standard notation for the status and fault
messages.
When the user wants the message to contain further device-related informa-
tion or that special properties of a field device are also used, the com-
mon-practice and universal commands are not sufficient. Using and
interpreting the data requires that the user know their meaning. However,
this knowledge is not available in further extending systems which can inte-
grate new components with additional options. To eliminate the adaptation DDL describes device-
of the master devices software whenever an additional status message is in- specific functions
cluded or a new component is installed, the device description language
(DDL) was developed.
The DDL is not limited to the use for HART applications. It was developed and DDL also for
specified for fieldbusses, independent of the HART protocol, by the Human field network
Interface workshop of the International Fieldbus Group (IFG). applications
29
Communications HART Communications
VARIABLE low_flow_cutoff
{
LABEL [low_flow_cutoff];
TYPE FLOAT;
{
DISPLAY_FORMAT 6.4f,
}
}
MENU configure_io
{
LABEL [configure_io]
ITEMS
{
FLOW_UNITS, /* VARIABLE */
rerange /* edit-display */
operate_mode, /* variable */
flow_config /* menu */
}
}
Having the device description of a field device and being able to interpret it,
a master device is equipped with all necessary information to make use of the
complete performance features of the field device.
DDL supports all So device- and manufacturer-specific commands can also be executed and
extensions the user is provided with a universally applicable and uniform user interface,
enabling him to clearly represent and perform all device functions. Thanks to
SAMSON AG V74/ DKE
this additional information, clear, exact and, hence, safer operation and
monitoring of a process is made possible (Fig. 20).
30
Part 4 L452 EN
zero: 40.0 C
Additional DD information:
data type: fixed-point format
range of values: 0 to 99.9
type of access: readable and changeable
input mode: via numeric keyboard
representation format: ##.#
The master device does not read the device description as readable text in
DDL syntax, but as short, binary-coded DD data record specially generated DD data record is
by the DDL encoder. For devices with sufficient storage capacity, this short generated by the
form opens up the possibility to store the device description already in the encoder
firmware of the field device. During the parameterization phase it can be
read by the corresponding master device.
SAMSON AG 99/12
31
Communications HART Communications
Requirements to be met by
configurators
Universally applicable configurators (PC or handheld terminal), also from
user interfaces different manufacturers, should have a uniform operation structure. To en-
according to sure this, the VDI guideline 2187 was defined. It specifies the essential per-
VDI guideline formance features of such a user interface as well as its structure.
4 The user interface provides the user with all extended communication, in-
formation and control options.
When special, device-specific options are omitted, the basic functions of all
HART devices can be performed using the universal and the common-practi-
ce commands. However, the master devices should be able to read the DDL
device descriptions data records of field devices, e.g. via disks. The HCF (see page 6) maintains
stored by HCF a library in which all device descriptions of all registered HART devices are
stored.
32
Part 4 L452 EN
Fig. 21: IBIS user interface for the Type 3780 HART Positioner
Example: IBIS
Hartmann & Braun developed the IBIS program (Intelligentes Bedien- und
Informationssystem/intelligent operating and information system) and user interface according
based it on the specifications laid down in the VDI guideline 2187. This pro- to VDI 2187
gram provides a clear, window-type user interface.
Handheld master devices support simple, on-site operation and diagnostics on-site application also
for HART devices. These devices are also available in intrinsically safe ver- in hazardous areas
sion for use in hazardous areas.
SAMSON AG 99/12
33
Communications HART Communications
programmable The handheld master device of the Rosemount company shown in Fig. 22
handheld terminal can be adapted via a special programming hardware so that all required
for any DDL device descriptions can be stored and deleted again when they are no longer
needed. This allows the user to operate with a flexible and versatile service
device, enabling him to freely access all HART field devices in his installation.
34
Part 4 L452 EN
Appendix A1:
Troubleshooting
Should you encounter difficulties during the installation of a HART device
and the start-up of the communication, check the device as described in the
following:
4 Did you set the proper device and bus address for your application?
4 Did you connect the FSK modem at the PC control station to the interface
configured in the program COM1 or COM2?
4 Are all devices in the current loop including those that cannot communi-
cate suitable for HART data transmission?
4 Do the length and the cross section of the transmission lines meet the re-
quirements of HART communications?
4 Can the current source (usually the controller) power the load of the HART
device?
APPENDIX
SAMSON AG 99/12
35
Communications HART Communications
Appendix A2:
Additional literature
[1] Digital Signals
Technical Information L150 EN; SAMSON AG
[5] PROFIBUS PA
Technical Information L453 EN; SAMSON AG
36
Part 4 L452 EN
Figures
Fig. 11: Controller output must not short-circuit the HART signals . . . . 19
Fig. 15: Short frame and long frame HART address formats . . . . . . 23
FIGURES
Fig. 16: Transmission time of a HART telegram . . . . . . . . . . . . 25
Fig. 21: IBIS user interface for the Type 3780 HART Positioner . . . . . 33
37
Communications HART Communications
NOTES
38
SAMSON AG 99/12
Part 4 L452 EN
39
NOTES
1999/12 L452 EN
PROFIBUS-PA
4
Part 4 Communications
Technical Information
Part 1: Fundamentals
Part 4: Communication
PROFIBUS-PA
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ISP specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Device certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Physical layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4Segment coupler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CONTENTS
4Device connection and bus termination . . . . . . . . . . . . . . . . . . . 20
Security layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4Telegram structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4Performance data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
User interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Device profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4Classification of parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3
Communications PROFIBUS-PA
4PROFILE A and B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4
Part 4 L453EN
Introduction
PROFIBUS-PA is one of three PROFIBUS variants that are compatible with three PROFIBUS
each other. PROFIBUS is a vendor-independent, open bus system which was variants
standardized in the German DIN 19 245. In March 1996, this standard was
embedded into the European standard EN 50170 Volume 2 without modifi-
cations.
The following variants have been specified for different applications (Fig. 1):
manufacturing process
branch profiles
automation for
device profiles
5
Communications PROFIBUS-PA
PROFIBUS-FMS with a The FMS variant provides the user with a wide selection of functions which,
wide range of however, makes it more complex to implement compared to the other vari-
functions ants. The powerful FMS services (Fieldbus Message Specification) can be
used to solve even extensive and complex communication tasks. This
PROFIBUS variant supports communication between automation systems
(e.g. programmable logic controllers and automation stations) as well as
data exchange with field devices. FMS can therefore be used for a wide
range of applications, operating at average transmission speeds.
cyclic data exchange PROFIBUS-DP communicates via cyclic data traffic exclusively. Each field de-
for control systems vice exchanges its input and output data with the automation device, the
class-1 master, within a given cycle time.
Since the original DP specifications did not provide any special services for
these tasks, appropriate function extensions were defined in 1997. These
acyclic services for extensions can be implemented optionally and are compatible with the exist-
start-up, parameteriza- ing DP protocol and all earlier versions. The extended DP variant is referred
tion and monitoring to as PROFIBUS-DPV1. In addition to the cyclic DP communication services, it
also offers acyclic services for alarm messages, diagnostics,
parameterization and control of the field devices.
PROFIBUS-PA for The third PROFIBUS variant, PROFIBUS-PA, meets the special requirements
SAMSON AG V74/ DKE
process automation of process automation. The PA communication is based on the services pro-
vided by DPV1, and is implemented as a partial system embedded in a
higher-level DP communication system. Unlike the automated applications in
manufacturing engineering which require short cycle times of few millisec-
6
Part 4 L453EN
onds, other factors are of importance in process automation, such as the fol-
lowing:
7
Communications PROFIBUS-PA
ISP specifications
In the future as well, the PNO and the Fieldbus Foundation (FF, see Lit./6/)
transition to a uniform aim at further cooperation agreements to ensure the creation of user inter-
fieldbus standard face solutions, i.e. function blocks, device profiles, device descriptions, that
is to remain possible are internationally standardized as far as possible. The goal is to ensure the
compatibility with an internationally standardized IEC fieldbus in the future.
The transition from PROFIBUS to a possible IEC fieldbus standard is not to
have any negative consequences for the user.
This way of proceeding has already shown positive results. Many important
vendors (Endress + Hauser, Hartmann & Braun, Krohne, Pepperl + Fuchs,
SAMSON, Siemens, etc.) sell PROFIBUS-PA products, and several installa-
1990
FMS
1992
DP
1994 ISP 3.0 IEC 1158-2
PA
1996
PA plus DPV1
SAMSON AG V74/ DKE
8
Part 4 L453EN
tions (e.g. Bitburger brewery, Cerestar, DEA, Wacker Chemie) have already
been started up successfully.
Device certification
A standardized, open bus standard functions only when the devices used do test labs check for
meet the requirements as per applicable standard. To guarantee that the de- conformity and
vices comply with the respective standard, manufacturers can have their de- interoperability
vices certified. Certification is performed by manufacturer-independent test
labs that are officially authorized by the PROFIBUS User Organization
(PNO). The test comprises hardware measurement tests, function tests and,
finally, interoperability tests. Interoperability means that PROFIBUS compati-
ble devices of different manufacturers can work together properly within a
system.
SAMSON AG 99/12
9
Communications PROFIBUS-PA
Applications
bus powered compact PROFIBUS-PA was mainly designed for applications in explosion hazardous
field devices offer a areas. Thanks to the possibility of supplying power over the bus, however, it
variety of applications can also be used for other production facilities. Bus technology combined
with the two-wire technology simplifies the construction of plants in many ar-
eas without having to give up known device standards and connection tech-
niques.
% costs
100% cost
100 savings
22%
57%
27%
50 12% planning
22% installation
51%
0 23% hardware
10
Part 4 L453EN
EX [i] U/I
supply
marshalling rack
The comparison in Fig. 4 shows the differences in the wiring of a bus system
schematically. Connected with this are extended device functions as well as
new terminology.
With PROFIBUS-PA as with DP three device types can be differentiated as class-1master, class-2
follows: master and slaves
4 The class-1 master (DPM1) is the central control unit of a system, e.g. a
PLC, which exchanges data with the field devices within a specified messa-
ge cycle. All measured values and set point values required to control the
system as well as the device status data are transmitted. When compared
with conventional techniques, the cyclic communication of the class-1 mainly cyclic data
SAMSON AG 99/12
11
Communications PROFIBUS-PA
cess to field device data. However, masters available on the market as well
as the current GSD specifications do not yet support this function (see also
page 29: Device Database Files).
acyclic communication 4 Class-2 masters (DPM2) are used for operation and monitoring purposes
only as well as during start-up. The associated exchange of data takes place if
required. Therefore, class-2 masters require acyclic communication servi-
ces exclusively.
responds to requests 4 A slave is a peripheral or field device which communicates only when re-
issued by masters quested by a master.
Actuators receive input information from the master and actively
influence the process.
Sensors collect state and process data and provide the master
with this information.
12
Part 4 L453EN
All PROFIBUS variants are based on the ISO/OSI reference model for com-
munication networks (refer to ISO 7498 standard and Lit./3/). Due to the re-
quirements in the field, only layers 1 and 2, and for the FMS version, layer 7 OSI layers 1 and 2
(Fig. 5) are implemented for reasons of efficiency.
With the three PROFIBUS variants, the two lower layers are largely identical. special application
The differences in the upper layers are much bigger, i.e. the interface to the interfaces
application program (see Page 27).
application programs
FMS DP DPV1 PA
profile FMS DP PA
(3-6)
13
Communications PROFIBUS-PA
PROFIBUS-PA
Physical layer
When using the RS 485 interface, PROFIBUS- FMS, -DP and -PA can be op-
erated together on a common bus line. The intrinsically safe transmission in
BUS DP
PROFI-
PROFIBUS-PA
segment
engineering coupler
tool and PLS
SAMSON AG V74/ DKE
14
Part 4 L453EN
The masters of a PA system the control and operating stations always op-
erate on a PROFIBUS-DP bus line in a safe area. For the resulting wiring of a
PROFIBUS-PA network, refer to Fig. 7.
Segment coupler
Fig. 8 shows the block diagram of a segment coupler. It assumes the follow-
ing tasks:
4 electrical isolation between the safe and the intrinsically safe bus segment, segment coupler
tasks
4 powering of the PA bus segment,
4 adaptation of transmission technique from RS 485 to IEC 61158-2,
4 baud rate adaptation (e.g.: 93.75 kBaud 31.25 kBaud) and
U
FE +
Um= 60V
58 59 60
SAMSON AG 99/12
15
Communications PROFIBUS-PA
DP/PA coupling via fast NOTE: Additionally, there are network components for DP/PA coupling
network components which support DP data transmission rates of up to 1200 kbit/s, e.g. the
PA-Link by Siemens.
This PA-Link is treated as a slave on the DP bus, receives its own device ad-
dress and supplies up to five PA segments over its own couplers. On the PA
side, the PA-Link works as a master and addresses a maximum of 30 field
devices.
16
Part 4 L453EN
The total input current of all devices taken together must always be smaller
than the supply current of the segment coupler. In addition, the current modu-
lation of the Manchester coding (see page 18) as well the fault current of the
Fault Disconnection Electronic (FDE) must be considered. The FDE in field
devices ensures that the communication of the bus segment does not fail,
even in case of a short circuit in a device.
Provided that maximum one FDE responds, the following condition must be
fulfilled:
17
Communications PROFIBUS-PA
With the IEC 61158-2 transmission technique, the PA segments are sub-
jected to the following physical specifications:
4 signal transmission and remote power supply over twisted two-wire line
(see Fig. 12 for specifications),
Bits: 0 1 0 0 1
IB +lB9
+9mA
mA
IB (lB10
10 mA)
mA
t
IB - 9 mA
lB9 mA
1 Bit
SAMSON AG V74/ DKE
18
Part 4 L453EN
For an optimum electromagnetic compatibility (EMC), the bus lines must be shielded cables
shielded. This shield as well as the metal cases of the field devices must be enhance EMC
grounded. How to proceed is described in more detail in the technical guide-
line PROFIBUS-PA User and Installation Guideline (order no. 2.091).
1-12 30 m 120 m
13-14 30 m 90 m
15-18 30 m 60 m
19-24 30 m 30 m
19
Communications PROFIBUS-PA
For intrinsically safe IEC bus lines, a uniform plug connector is not yet avail-
able, however, a work group is already in the process of solving this task.
bus termination for The bus line must be equipped with a passive line termination at both ends.
IEC 61158-2... This termination consists of a capacitor and a resistor connected in series as
shown in Fig. 14c:
C = 1 F and R = 100 .
and RS 485 NOTE: With the RS-485 wiring, the bus line is equipped with a 220- termi-
nating resistor as well as a pull-up and a pull-down resistor (Fig. 14b). These
determine the bus line potential and can be connected to the supply voltage
by means of a 9-pin Sub-D plug (pin 5 and 6).
DGND (5)
20
Part 4 L453EN
With PROFIBUS-PA, the network topology can either be a tree structure, a line and
line structure, or a combination of both (Fig. 16). This combination allows the tree structure
bus length to be optimized and adapted to the given system structure.
The fieldbus cable can be routed through the individual field devices. The de-
vices can be connected/disconnected better if they are connected to a short branch terminals with
stub line via branch terminal (length of stub lines: see Fig. 12). stub lines
At the tree nodes, all field devices connected to the fieldbus segment are con-
nected in parallel in so-called field distributors.
A: Control level
B: Automation level
C: Field level
PROFIBUS-FMS-DP
B PROFIBUS-PA
PROFIBUS-DP PROFIBUS-PA
C
SAMSON AG 99/12
21
Communications PROFIBUS-PA
PNK: process-near
component safe 3 4 5 hazardous
EXI: barrier area
(intrinsically safe)) area
T
SG: power supply 1 n
R+JB
unit E
DP
JB: distributor PNK as X T
DP master PA I
R: repeater
T: bus termination E 2 R 7
SG X T T
1... 7: field devices
I T
6
segment coupler
EXI
SG
Depending on the stub line length, this distributor also contains a bus termi-
nation network.
22
Part 4 L453EN
Security layer
These layer-2 tasks are performed by the Fieldbus Data Link (FDL) and the
Fieldbus Management (FMA):
In PROFIBUS communication, multimaster systems are possible. The hybrid hybrid bus
bus access control system operates on the token passing method and uses the access method
master/slave principle to communicate with the passive participants (see
Lit./3/). Each master receives the token within a precisely defined time frame
which allows him to have sole control over the communication network within
that time frame.
A 7-bit device address serves to identify the bus participants in the network.
The addresses range from 0 to 127, and the following are reserved:
If the address 0 is used for the class-1 master, the addresses 1 to 125 are
available for addressing the field devices and the class-2 masters. The ad-
23
Communications PROFIBUS-PA
dresses are usually assigned via seven DIP switches on the device or via soft-
ware.
Telegram structure
PROFIBUS telegrams Fieldbus Data Link (FDL) defines the following telegrams:
In Fig. 17, the top part illustrates the structure of a FDL telegram with a vari-
able data field length. While the bytes of the FDL telegram are transmitted
asynchronously in the form of UART characters over the RS 485 line, the
transmission on the IEC segments is bitsynchronous. Here, the FDL telegram
is additionally supplied with the preamble and the start and end delimiters
(see Fig. 17 below).
Performance data
The size of the telegram as shown in Fig. 17 depends on the length of the
data field. Together with the length, the user data rate changes within the lim-
high user data rate its of eight and 96 per cent (one or 244 data bytes and eleven control bytes
SAMSON AG V74/ DKE
each).
24
Part 4 L453EN
This data transmission rate is sufficient, for example, to serve 10 control in 210 ms up to 10
loops including 10 sensors and 10 actuators respectively within a control control loops can be
cycle time of approx. 210 milliseconds. processed
During the evaluation, it was assumed that only one cyclic value (5 bytes user
data) must be transmitted per device. With each additional value, the mini-
mum cycle time increases by (5 x 8 bits)/(31.25 kbit/s) = 1.3 ms .
25
Communications PROFIBUS-PA
Layer 2 provides the application layer with the SRD and SDN communication
services:
communication with... 4 With the SRD service (Send and Request Data with reply), the master issu-
es a command or sends data to the slave and receives a reply from the sla-
ve within a defined time span. This reply either consists of an
acknowledgement (brief acknowledgement) or of the requested data
(Fig. 18).
and without 4 The SDN service (Send Data with No acknowledge ) sends data to a whole
acknowledgement group of slaves. This permits an event-controlled synchronization where
all slaves set their outputs simultaneously (Sync mode) or update their in-
put data simultaneously (Freeze mode). A master-controlled bus as-
signment for slave replies is not possible in this case so that SDN telegrams
remain unacknowledged.
SRD communication
slave
direct
26
Part 4 L453EN
User interface
The illustrations in Figs. 5 (page 13) and 19 show that the OSI layers 3 to 7
are not used with PROFIBUS-DP and PA and that both systems utilize a uni-
form user interface. DP and PA can therefore also be considered standard-
ized applications of layer 2.
The user interface plus the Direct Data Link Mapper (DDLM) form the inter-
face between the application program and layer 2. With the introduction of
DPV1, the DDLM provides several asynchronous service functions, e.g.:
These DDLM functions are used by the user interface as a basis for communi-
cation services, such as start-up, maintenance, diagnostics as well as alarm
messages.
application program
with device profiles
27
Communications PROFIBUS-PA
control with cyclic The system is actually controlled by the class-1 master, utilizing cyclic data
data exchange exchange (see also page 11).
besides standardized The multiple functions of the user interface form a powerful interface for a
communication ... state-of-the-art communication system. Apart from that, an up-to-date, open
system for process automation applications requires that components from
various manufacturers can be exchanged the key terms are
interchangeability and interoperability. This requires an accurate definition
of all device interfaces.
uniform device For the definition of the interfaces, PROFIBUS-PA utilizes several elements or
interfaces are descriptions. They include the following:
required
4 Device Database Files (GSD),
4 device profiles,
4 Electronic Device Description (EDD) or, as an
alternative, the Field Device Tool specification (FDT).
28
Part 4 L453EN
The cyclic data exchange between the class-1 master and a field device can
function only, if the master knows the device-specific parameters and data description of cyclic
formats. This information is supplied by the device manufacturer in the form parameters and data
of the device database file (GSD; see Fig. 20). The file contains the following formats
details:
When planning a PROFIBUS-PA or -DP system, the GSD must be loaded into
the class-1 master via a configuration tool. It describes the device specific pa- for the class-1 master
rameters in an exactly defined format. The GSD format also supports more
complex types of representation, e.g.:
#Profibus_DP
; MaxTsdr_93.75 = 1000
GSD_Revision = 1 ;
Vendor_Name = "SAMSON AG" Redundancy = 0
Model_Name = "Positioner 3785" Repeater_Ctrl_Sig = 0
Revision = "V1.0" ;
Freeze_Mode_supp = 0
Ident_Number = 0x3785 Sync_Mode_supp = 0
Protocol_Ident = 0 Auto_Baud_supp = 0
Station_Type = 0 Set_Slave_Add_supp = 0
FMS_supp = 0 Min_Slave_Intervall = 100 ;
Slave_Family = 12 User_Prm_Data_Len = 0
; Max_Diag_Data_Len = 32
Hardware_Release = "E 1.00 M 2.00" ;
Software_Release = "K 1.33 R 1.23" Bitmap_Device = "SR3785_N"
; ;
31.25_supp = 1 ;----- Meaning of the device related diagnostic bits:
45.45_supp = 1 Unit_Diag_Bit(00) = "Hardware failure electronics"
93.75_supp = 1 Unit_Diag_Bit(01) = "Hardware failure mechanics"
MaxTsdr_31.25 = 100 Unit_Diag_Bit(04) = "Memory error"
MaxTsdr_45.45 = 200 ; etc.
SAMSON AG 99/12
Fig. 20: Excerpt from the GSD of the Type 3785 PROFIBUS Positioner
29
Communications PROFIBUS-PA
30
Part 4 L453EN
Device profiles
The determination of the device profiles has the effect that the properties and
functions of the field devices are predefined within wide limits. For example,
the variables measured value, alarm limits, alarm type, scaling factor, status
flags, etc. serve to accurately describe the ability of a transmitter to be
parameterized.
Classification of parameters
The field device parameters and data which can be accessed through com-
munication can be divided in three groups as detailed below. Fig. 21 shows
the listing and classification of parameters for control valves.
4 dynamic process values: all measuring, signal and status values which are dynamic process values
required to control the system. The cyclic access to this data is possible for and status data
the class-1 master due to the GSD description (page 29: device database
files). The class-2 master can read/write these data acyclically.
4 operating and standard parameters: these parameters are exclusively operating and standard
read/written acyclically. The data describes different parameters and parameters
functions depending on the device type sensor, actuator, analog or digi-
tal input/output, etc. With each device, the objects marked obligatory in
the device profile must be completely implemented. It is up to the device
manufacturer, however, which of the optional possibilities are made
available.
31
Communications PROFIBUS-PA
reference variable
process
controlled variable
parameters
device status
operating direction
operating mode
PROFILE
PROFIL operating
a safety action
class B parameters
safety value
loop/tag number
{
{
DDL manufacturer extensions f. parame-
or specific terization, diagnostics
FDT parameters and maintenance
how to access the parameters and perform the additional functions (see
section device description and field device tool).
various blocks and The function block model assigns the dynamic process values and the operat-
SAMSON AG V74/ DKE
functions are required, ing and standard parameters of a field device to different blocks (Fig. 22).
depending on the
4 the function block describes the device function during the operation (cy-
operating mode
clic data exchange of analog input/output, alarm limit values, etc.).
32
Part 4 L453EN
internal
I/O hardware device hardware
transducer physical
block block
function
block
PROFIBUS interface
4 the transducer block contains the parameters which describe the coupling
of the signals to the process and are required to preprocess the data in the
field device (process temperature and pressure, characteristic curves, sen-
sor type, etc.).
EXAMPLE: A differential pressure transmitter does not only provide the mea-
SAMSON AG 99/12
sured pressure difference (function block), but uses material and process pa-
rameters (transducer block) to calculate and pass on the resulting flow rate as
well.
33
Communications PROFIBUS-PA
Some field devices have extended functions and are responsible for several
tasks, eg. analog inputs and outputs. These so-called multi-channel devices
are equipped with several independent function blocks and, if required, the
associated transducer blocks.
34
Part 4 L453EN
PROFILE A and B
4 The class A profiles contain those characteristics that describe the basic device profile A:
device functions. Device profile A is limited to the absolutely necessary ba- only data from function
sic parameters that are required for process operation in process enginee- and physical block
ring. This includes only parameters from the function and the physical
block, e.g. the process variable, the status of the measured value, the phy-
sical unit as well as the tag number.
4 Class B profiles extend the available scope of functions of the devices. The device profile B:
device profile B comprises all three blocks of the function block model and data from function
differentiates objects whose implementation is mandatory and those the block, physical block
manufacturer can provide optionally. and transducer block
When looking at the example of the profile definition for control valves (Fig.
23), you can see how the function blocks are assigned to the profiles A and
B. It becomes clear that the device profile A is a subset of profile B. Profile A is
used if there is no special device profile B for a certain field device type. Pro-
file-B compliant field devices, for instance the SAMSON Type 3785
physical block m m
35
Communications PROFIBUS-PA
Profile B defines three mandatory blocks, the physical, function and trans-
multi-channel devices ducer block. Depending on the device version, the function block can be as-
have more than one signed to a different transducer block (selected). For multi-channel devices
function block with extended functions, additional function blocks are available as an op-
tion.
In the meantime, class B profiles have been defined for most devices e.g.
discrete input and output, analog input and output, transmitters, actuators,
multivariable device and are already used in practice. The currently (Au-
gust 1999) valid version is profile B version 2.0, however, a more powerful
version 3.0 is already in progress.
profile B version 3.0 A special feature of this version 3.0 is that it supports generally valid device
supports predefined database files defined by the profile. With these profile GSDs, there is no
profile GSDs need for an individual manufacturer-specific GSD anymore. If the field de-
vice supports the profile B version 3.0, the profile GSD of the corresponding
device type can be used during project planning.
increased functionality Thanks to the optional device functions, PROFIBUS-PA devices differ in their
due to optional profile functions while the profile remains the same. Additionally, manufacturers
functions... have the possibility to equip their devices with device functions and perfor-
mance characteristics that go beyond the profiles requirements.
36
Part 4 L453EN
4 the device description (Electronic Device Description: EDD) and EDD and FDT enable
more variants and
4 the Field Device Tool specification (FDT).
functions
Both options ensure that the diversity of field device variants and functions re-
mains as extensive as possible.
The syntax of Profibus DDL clearly defines how to describe extensions. In this device description
way, the generated device descriptions (EDDs) can be interpreted correctly language defines how
by the class-2 master independent of the manufacturer. to describe device
functions
Apart from the device description, there is yet another possibility to make de-
vice- and manufacturer-specific properties available via PROFIBUS-PA: the
Field Device Tool specification.
Contrary to the device description, the FDT specification does not determine FDT describes the inter-
the objects type of description, but specifies the interface over which the op- face field device-
erating program accesses the field device data and the associated display operating program
parameters.
In this case, the distributed application is the operating and monitoring pro- distributed application
gram including the partial components and processes, such as communica- based on the DCOM
SAMSON AG 99/12
tion servers, databases for historical and diagnostic data as well as service
additional display and engineering tools.
37
Communications PROFIBUS-PA
class-2
master
class-1 GSD DD and/or
master and FDT FDT
}
PROFIBUS DPV1
slave
field devices
The interface description based on FDT and the device description EDD both
aim at - in quite different ways - enabling the class-2 master to represent and
loading EDD and FDT operate the full scope of functions of all field devices. The highest flexibility is
data reached when the user of these device or interface descriptions can load and
update when still in the project planning phase (see Fig. 24).
38
Part 4 L453EN
PROFIBUS-PA and -DP are equipped with a variety of safety mechanisms to system check during
ensure troublefree communication. For instance, already during the initial- the initialization
ization of the system, several possible sources of error are checked. phase
After the system is powered up, slaves are ready for data exchange only if
the master has first sent a parameterization and then a configuration tele-
gram. Only when these telegrams match its own functional properties does
the slave accept the commands from the master. For instance, the number of
output lines configured by the master must match those actually existing in
the device.
With the help of the Get-Cfg commands, the device configuration of all
slaves can be loaded. Thus, parameterization errors in the network can be
avoided if the master compares the planned device arrangement to the actu-
ally existing configuration. The information required for this device type,
number of inputs and outputs, formatting and length data is received via
the device database files and descriptions. Fig. 25 shows a typical initializa-
tion cycle during the start-up of a system.
4 Besides the controlled error check of the data telegrams during operation, error check mechanisms
the communication process is also monitored by safety mechanisms con- controlled by time
trolled by time and protocol. and protocol
initialization sequence
task: command:
39
Communications PROFIBUS-PA
4 Each master controls the communication with his slaves by means of speci-
al timers which are used to check the time sequence of the useful data traf-
fic.
The safety of the system is even higher because each class-1 master cyclically
reports its own system status to all its assigned slaves within a configurable
time interval using a multicast command. The master can be parameterized
in such a manner that it can switch all slaves to a safe status and end the data
transfer operation in case of a system error, i.e. when a slave fails.
40
Part 4 L453EN
Appendix A1:
Additional literature
[1] Digital Signals
Technical Information L 150 EN; SAMSON AG
APPENDIX
SAMSON AG 99/12
41
Communications PROFIBUS-PA
Figures
Fig. 20: Excerpt from the GSD of the Type 3785 PROFIBUS Positioner . 29
SAMSON AG V74/ DKE
42
Part 4 L453EN
Fig. 24: Loading the device database files and interface descriptions . . 38
FIGURES
SAMSON AG 99/12
43
1999/12 L453EN
FOUNDATION Fieldbus
4
Part 4 Communication
PID 110
AI 110
AO 110
Technical Information
Part 1: Fundamentals
Part 4: Communication
Foundation Fieldbus
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Historical development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
User organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Approval of devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Performance features . . . . . . . . . . . . . . . . . . . . . . . . . 8
Physical layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
H1 bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
EEx-i instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CONTENTS
High Speed Ethernet (HSE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Bridge to H1-HSE-Kopplung. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Communication stack . . . . . . . . . . . . . . . . . . . . . . . . 18
Communication control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Communication schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Application layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
User application. . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Block model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3
Communication FOUNDATION Fieldbus
Device descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
System management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
System configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Appendix A1:
Additional literature . . . . . . . . . . . . . . . . . . . . . . . . . 38
CONTENTS
4
Part 4 L454EN
Introduction
It must also be noted that the FF specification is not yet completed at this stage
SAMSON AG 00/05
November 1999 so that the facts presented here can be subject to future
changes.
5
Communication FOUNDATION Fieldbus
Historical development
Fieldbus FOUNDATION In 1994, for technical, economic and political reasons, the ISP and the
emerged from ISP WorldFIP merged to form the Fieldbus FOUNDATION. The aim of the
and WorldFIP Fieldbus FOUNDATION was and is to create a single, international fieldbus
standard for hazardous environments which will find widespread use as IEC
standardized fieldbus. The same goal is pursued by the PROFIBUS user or-
ganization with its PROFIBUS PA fieldbus. While the PROFIBUS PA has its
roots and its largest user community in Europe, the FOUNDATION fieldbus
manufacturers and users are concentrated in America and Asia.
The Fieldbus FOUNDATION utilized some elements from the FIP for the
same bus design specification of their FOUNDATION fieldbus (FF) as well as similar to
as PROFIBUS-PA PROFIBUS PA details from the ISP specification. This is why the physical bus
design of both fieldbus systems is the same. Also, the device interface for ap-
plication, which is based on function blocks, exhibits many common fea-
tures. This is due to the fact that both systems have similar ambitions.
However, when taking a closer look and comparing the system functions, it
can be seen that there are also great differences (see also Lit. /6/).
SAMSON AG V74/ DKE
6
Part 4 L454EN
User organization
Approval of devices
The Fieldbus is an open bus standard which enables devices of different approval confirms
manufacturers to be integrated in one system and, if required, interchanged compliance with the
(interoperability). This is only feasible when all the devices exactly meet the specifications
specification. Devices approved by the Fieldbus FOUNDATION are a guar-
antee for the user and the manufacturer that they comply with the specifica-
tion.
7
Communication FOUNDATION Fieldbus
Performance features
important The FOUNDATION fieldbus provides a broad spectrum of services and func-
characteristics tions compared to other fieldbus systems:
predefined For the description of a devices function(s) and for the definition of a uniform
function blocks access to the data, the FOUNDATION fieldbus contains predefined function
blocks (see User application on page 29). The function blocks implemented
in a device provide information about the tasks the device can perform. Typi-
cal functions provided by sensors include the following:
8
Part 4 L454EN
If a device contains such a function block, it can control a process variable in-
dependently.
The shift of automation tasks from the automation level down to the field flexible, decentralized
results in the flexible, distributed processing of control tasks. This reduces the process control
load on the central process control station which can even be replaced en-
tirely in small-scale installations. Therefore, an entire control loop can be im-
plemented as the smallest unit, consisting only of one sensor and one control
valve with integrated process controller which communicate over the
FOUNDATION fieldbus (see Fig. 2).
HSE
H1 bus
9
Communication FOUNDATION Fieldbus
4 Physical Layer
4 Communication Stack
4 User Application
The User Application is made up of function blocks and the device descrip-
tion. It is directly based on the Communication Stack. Depending on which
blocks are implemented in a device, users can access a variety of services.
system management System management utilizes the services and functions of the User Applica-
tion and the application layer to execute its tasks (Figs. 3b and 3c). It ensures
the proper cooperation between the individual bus components as well as
a) b) c) system
user user function device m
block descrip- a
application application model tion n
a
g
e
fieldbus message
m
7 application layer e
specification (FMS) n
6 presentation layer t
fieldbus access
communication 5 session layer sublayer (FAS)
stack 4 transport layer
3 network layer
2 data link layer data link layer
physical layer 1 physical layer physical layer
10
Part 4 L454EN
synchronizes the measurement and control tasks of all field devices with re-
gard to time (see page 35).
11
Communication FOUNDATION Fieldbus
Physical layer
IEC fieldbus The IEC fieldbus solves pending communication tasks by using two bus sys-
tems, the slow, intrinsically safe H1 bus and the fast, higher-level H2 bus with
1 to 2.5 MBit/s (see IEC fieldbus model /Lit. 4/).
FOUNDATION fieldbus The physical design of the H1 bus of the FOUNDATION fieldbus complies
exactly with the specifications of the IEC fieldbus model. The specification of
the H2 bus is not yet completed and the publication of the preliminary speci-
fication (PS) has been announced. However, it is certain that the High Speed
Ethernet (HSE) will be used (Fig. 4).
user 2
user n
user 1
bridge
intrinsically
safe area H1bus (31.25 kBit/s, IEC 61158-2)
R R
user 1 1
Teilnehmer user 2 user m
12
Part 4 L454EN
H1 bus
The following summary gives a brief overview of the basic values and fea-
tures of the H1 bus. For more details, refer to the various Application
Guides of the Fieldbus FOUNDATION (e.g., AG 140, AG 163).
The H1 bus specification is based on the IEC 61158-2 (see Lit./2/): H1 specification
based on IEC 61158-2
4 Manchester coding is used for data transfer. The data transfer rate is
31.25 kBit/s.
4 Proper communication requires that the field devices have enough volta-
ge. Each device should have minimum 9 volts. To make sure that this re-
quirement is met, software tools are available which calculate the resulting
currents and terminal voltages based on the network topology, the line re-
sistance and the supply voltage.
4 The H1 bus allows the field devices to be powered over the bus. The power bus powered
supply unit is connected to the bus line in the same way (parallel) as a field field devices
device. Field devices powered by supply sources other than the bus, must
be additionally connected to their own supply sources.
4 With the H1 bus it must be ensured that the maximum power consumption
of current consuming devices is lower than the electric power supplied by
the power supply unit.
H1 network
JB
4
1 3
2
5 7
6
SAMSON AG 00/05
13
Communication FOUNDATION Fieldbus
25-32 1m 1m 1m 1m
19-24 30 m 1m 1m 1m
15-18 60 m 30 m 1m 1m
13-14 90 m 60 m 30 m 1m
1-12 120 m 90 m 60 m 30 m
4 Network topologies used are usually line topology or, when equipped
spurs via T-connector with junction boxes, also star, tree or a combination of topologies (Fig. 5).
The devices are best connected via short spurs using tee connectors to en-
able connection/disconnection of the devices without interrupting commu-
nication.
4 The maximum length of a spur is limited to 120 meters and depends on the
number of spurs used as well as the number of devices per spur (Fig. 6).
14
Part 4 L454EN
4 The number of bus users per bus segment is limited to 32 in intrinsically limited electrical power
safe areas. In explosion-hazardous areas, this number is reduced to only in ex areas
a few devices due to power supply limitations (see EEx-i instrumentation
below).
4 Various types of cables are useable for fieldbus (Fig. 7). Type A is recom-
mended as preferred fieldbus cable, and only this type is specified for the
maximum bus length of 1900 m.
4 Principally, there need to be two terminators per bus segment, one at or two terminators per
near each end of a transmission line. bus segment
EEx-i instrumentation
Since the capacity of electrical lines is limited in intrinsically safe areas de-
pending on the explosion group IIB or IIC (see Fig. 9), the number of de-
T: terminator
I.S.
T interface T I.S. intrinsically safe
barrier
SG: power supply
SG A 1 2 3
unit
A: field device in
safe area ex area safe area
1...3: intrinsically
SAMSON AG 00/05
15
Communication FOUNDATION Fieldbus
200
power limitation
operating area begrenzung
100
low permitted
capacitance
0
0 10 20 30 [V]
Fig. 8: Limited operating area for Ex-i IIB and IIC installations
(including a safety factor of 1.5)
vices that can be connected to one segment depends on the effective power
consumption of the used devices.
16
Part 4 L454EN
The HSE is based on standard Ethernet technology. The required components standard available
are therefore widely used and are available at low costs. The HSE runs at Ethernet technology
100 Mbit/s and cannot only be equipped with electrical lines, but with opti-
cal fiber cables as well.
The Ethernet operates by using random (not deterministic) CSMA bus access.
This method can only be applied to a limited number of automation applica-
tions because it requires real-time capability. The extremely high transmis-
sion rate enables the bus to respond sufficiently fast when the bus load is low
and devices are only few. With respect to process engineering requirements, real-time requirements
real-time requirements are met in any case. can be met
If the bus load must be reduced due to the many connected devices, or if sev-
eral HSE partial networks are to be combined to create a larger network,
Ethernet Switches must be used (see Fig. 4). A switch reads the target address
of the data packets that must be forwarded and then passes the packets on to
the associated partial network. This way, the bus load and the resulting bus
access time can be controlled to best adapt it to the respective requirements.
A Bridge is used to connect the individual H1 buses to the fast High Speed
Ethernet. The various data transfer rates and data telegrams must be adaptation of various
adapted and converted, considering the direction of transmission. This way, data rates and
powerful and widely branched networks can be installed in larger plants. telegrams
SAMSON AG 00/05
17
Communication FOUNDATION Fieldbus
Communication stack
The field devices used with the FOUNDATION fieldbus are capable of assum-
ing process control functions. This option is based on distributed communica-
tion which ensures that
distributed 4 each controlling field device can exchange data with other devices (e.g.
communication reading measuring values, forwarding correction values),
4 all field devices are served in time (in time meaning that the processing of
the different control loops is not negatively influenced),
The Link Active Scheduler (LAS) controls and schedules the communication
on the bus (see page 19: Communication control). It controls the bus activities
using different commands which it broadcasts to the devices. Since the LAS
also continuously polls unassigned device addresses, it is possible to connect
devices during operation and to integrate them in the bus communication.
Devices that are capable of becoming the LAS, are called Link Master. Ba-
sic devices do not have the capability to become LAS.
fail-operational design In a redundant system containing multiple Link Masters, one of the Link Mas-
ters will become the LAS if the active LAS fails (fail-operational design).
SAMSON AG V74/ DKE
18
Part 4 L454EN
Communication control
To solve communication tasks in time and without access conflicts, all time-critical tasks
time-critical tasks are based on a strict transmission schedule. This schedule with a strict trans-
is created by the system operator during the configuration of the FF system. mission schedule
Fig. 11 presents the schedule for a system with two sensors and two control
valves. The schedule determines when the devices process their function
blocks (AI, A0, PID) and when it is time to transmit data.
Each activity to be executed has been scheduled for a certain time. This time
is defined by an offset value which reflects the delay referred to the start of
the schedule.
Based on this schedule, a transmission list is generated which defines when a transmission list for
specific field device is prompted to send its data. Upon receipt of the mes- publisher and
subscriber method
Execution AO (3) 62
19
Communication FOUNDATION Fieldbus
sage, the respective device (publisher) broadcasts the data in the buffer to
all devices on the fieldbus which are configured to receive the data (sub-
scriber). This type of data transmission is therefore called the pub-
lisher-subscriber method.
The LAS cyclically transmits the data according to the list for all data buffers
in all devices. Each cyclical data transmission is explicitly activated by the
LAS (Fig. 12):
4 Upon receipt of the CD, the device publishes the data in the buffer.
4 The subscribers of this message (e.g. device 3: Control valve) can read
and evaluate this data accordingly.
separate schedule for Each field device receives a separate schedule. This enables system manage-
system management ment to know exactly what task is to be executed when and when data must
be received or sent.
Example: For the above mentioned schedule, the following time sequence of
actions results as shown in Fig. 13.
CD (a)
20
Part 4 L454EN
4 at zero time, sensors (1) and (2) start their measurements; schedule
4 at time 20, the LAS prompts the sensor (1) to send its measuring data so
that it can be read by the PID controller of the associated control valve (3);
4 at time 30, the LAS prompts the sensor (2) to send its measuring data so
that it can be read by the PID controller of the associated control valve (4);
4 at time 40, both control valves are processing their PID function blocks;
4 at time 57, control valve 4 starts its travel process;
4 at time 62, control valve 3 starts its travel process;
4 at 140 time increments, the same actions are repeated.
cyclical sequence
macro
cycles:
AI(1) AI(1)
device 1:
device 2:
AI(2) AI(2)
21
Communication FOUNDATION Fieldbus
number of data Each control loop accesses the bus only once for a short time. Therefore, the
transmissions bus could be used for many more control loops as well as for other activities.
considerably reduced This shows that the distributed control strategy reduces the number of data
transmissions over the bus to a minimum.
22
Part 4 L454EN
Unscheduled transmission
Device parameters and diagnostic data must be transmitted when needed, data transmission
i.e. on request. The transmission of this data is not time-critical. For such on request
communication tasks, the FOUNDATION fieldbus is equipped with the option
of unscheduled data transmission.
Permission for a certain device to use the bus is granted by the LAS when it is- token passing
sues a pass token (PT command) to the device. The pass token is sent around over the Live List
to all devices entered in the Live List (Fig. 14) which is administrated by the
LAS. Each device may use the bus as long as required until it either returns
the token, or until the maximum granted time to use the token has elapsed.
The Live List is continuously updated by the LAS. The LAS sends a special
command, the Probe Node (PN), to the addresses not in the Live List, search-
ing for newly added devices. If a device returns a Probe Response (PR) mes-
sage, the LAS adds the device to the Live List where it receives the pass token
for unscheduled communication according to the order submitted for trans-
x
y fieldbus
LAS z
data
PT (y)
data
data
x y z
receives token
SAMSON AG 00/05
and sends
23
Communication FOUNDATION Fieldbus
mission in the Live List. Devices which do not respond to the PT command or
return the token after three successive tries are removed from the Live List.
copy of Live List Whenever a device is added or removed from the Live List, the LAS broad-
to all Link Masters casts these changes to all devices. This allows all Link Masters to maintain a
current copy of the Live List so that they can become the LAS without the loss
of information.
24
Part 4 L454EN
Communication schedule
The LAS follows a strict schedule (Fig. 15) to ensure that unscheduled com-
munication using the token as well as the TD or PN commands do not inter-
fere with the scheduled data transmission.
Before each operation, the LAS refers to the transmission list to check for any
scheduled data transmissions. If this is the case, it waits (idle mode) for pre-
cisely the scheduled time and then sends a Compel Data (CD) message to ac-
tivate the operation.
It is obvious that this cycle gives scheduled transmission the highest priority highest priority
and that the scheduled times are strictly observed, regardless of other opera- for scheduled
tions. data transmission
action prior no no
time for idle message
to CD? CD?
yes yes
issue issue
PN, TD, PT CD
SAMSON AG 00/05
25
Communication FOUNDATION Fieldbus
Application layer
interface between The Fieldbus Access Sublayer (FAS) and Fieldbus Message Specification
data link layer and (FMS) layer form the interface between the data link layer and the user appli-
user application cation (see Fig. 3). The services provided by FAS and FMS are invisible for
the user. However, the performance and functionality of the communication
system considerably depends on these services.
Virtual Communication FAS services create Virtual Communication Relationships (VCR) which are
Relationship VCR used by the higher-level FMS layer to execute its taks. VCRs describe differ-
ent types of communication processes and enable the associated activities to
be processed more quickly. FF communication utilizes three different VCR
types as follows (Fig. 16).
transmitting input/ 4 The Publisher/Subscriber VCR Type is used to transmit the input and out-
output data of put data of function blocks. As described above, scheduled data transmis-
function blocks sion with the CD command is based on this type of VCR. However, the
Publisher/Subscriber VCR is also available for unscheduled data trans-
mission; for instance, if a subscriber requests measuring or positioning
data from a device.
26
Part 4 L454EN
4 The Client/Server VCR Type is used for unscheduled, user-initiated com- unscheduled
munication based on the PT command. If a device (client) requests data communication
from another device, the requested device (server) only responds when it
receives a PT from the LAS.
The Client/Server communication is the basis for operator initiated re- basis for
quests, such as set point changes, tuning parameter access and change, operator-initiated
diagnosis, device upload and download, etc. requests
FMS provides the services for standardized communication. Data types that communication services
are communicated over the fieldbus are assigned to certain communication are assigned to each
services. For a uniform and clear assignment, object descriptions are used. data type
Object descriptions contain definitions of all standard transmission message
formats, but also include application specific data. For each type of object
there are special, predefined communication services.
Object descriptions are collected together in a structure called an object dic- access via the object
tionary. The object description is identified by its index (Fig. 17). dictionary
4 Indices between 1 and 255 define standard data types that are used to standard data types
build more complex object descriptions.
4 The User Application object descriptions can start at any index above User Application
255. object descriptions
SAMSON AG 00/05
27
Communication FOUNDATION Fieldbus
index 0
...
index 2 object description 2
index n object description n
virtual field devices The FMS defines Virtual Field Devices (VFD) which are used to make the ob-
ject descriptions of a field device as well as the associated device data avail-
able over the entire network.
remote access The VFDs and the object description can be used to remotely access all local
to all data field device data from any location by using the associated communication
services.
28
Part 4 L454EN
User application
An important criterion for a fieldbus system to be accepted by the market is interoperability and
the interoperability of the devices. Interoperability is the capability of devices interchangeability
of different manufacturers to communicate with each other. In addition, it
must be ensured that a component from one manufacturer can be substituted
with that of another, also called interchangeability.
Block model
The FOUNDATION fieldbus assigns all functions and device data to three
different types of blocks (Fig. 18). The assignment depends on the devices
type of function. Depending on its functionality, it is described as follows:
identical
universal
in each block
parameters defined
in the
specifi-
AI PID cation
function block device
parameters
Temp Flow
transducer block
parameters
defined by
the device
Manufacturer manufacturer
specific
parameters
resource transducer function
block block block
SAMSON AG 00/05
29
Communication FOUNDATION Fieldbus
function block Function blocks describe a devices functions and define how these can be
accessed. The transmission schedules of scheduled data transmission are
based on these function blocks. Each block has a certain task including the
associated inputs and outputs. Each device is equipped with one function
block minimum.
The FF specification has defined sets of standard function blocks which can
be used to describe all basic functions. These are listed below:
transducer block Transducer blocks expand the complexity and application possibilities of a
device. Their data enables the input and/or output parameters of a function
block to be influenced. They can be used to calibrate and reset measuring
and positioning data, linearize characteristics or convert physical units using
SAMSON AG V74/ DKE
Besides the three block types, the following additional objects are defined in
the block model (Fig. 19).
30
Part 4 L454EN
4 So-called Link Objects define the links between different function blocks, Link Objects in the
internal to the field device as well as across the fieldbus network. block model
4 Alert Objects allow reporting of alarms and events on the fieldbus. Alert Objects
4 Trend Objects allow trending of function block data for access and Trend Objects
analysis from higher-level systems.
4 View Objects are predefined groupings of data and block parameter sets View Object
that can be used to view and display these quickly according to their tasks:
process control, configuration, maintenance, additional information (Fig.
19).
The grouping of parameters in Trend and View Objects accelerates access to parameter
this data. If required, the operating program simply accesses the object groups
which contains the predefined, desired data group (Fig. 19).
dynamic information
static
information
FOUNDATION fieldbus
1 2 3
diagnostics view detailed view
31
Communication FOUNDATION Fieldbus
function function
block1 block2
301 Index
302 resource block
310 transducer block
Object 350 Link Objects
descriptions 400 Trend Objects
500
600 Function blocks
1000 View Objects
2000 View Objects
The entire block model of a field device with two function blocks (e.g. AO
and PID) consists of the elements depicted in Fig. 20. The data structure of the
blocks is accessed via the associated object dictionary.
SAMSON AG V74/ DKE
32
Part 4 L454EN
Device descriptions
During start-up and maintenance as well as when performing diagnostic open communications
functions, an open communication system must ensure that higher-level con- system
trol computers or the control system
For the basic functions of the devices, the FOUNDATION fieldbus uses differ-
ent standard function and transducer blocks. For this purpose, predefined
device descriptions (standard DDs) are available that can be obtained from
the Fieldbus FOUNDATION (FF). FF operating devices can interprete and dis-
play the data and functions of these standard blocks as well as providing the
user with them via the operating interface.
standard
device
description
data in the
field device
manufacturer specific
device description
parameter description
units
representation of figures
help text
relation to parameters
calibration + diagnostic menus
SAMSON AG 00/05
Fig. 19: Device description extends the description of all objects in the
virtual field device
33
Communication FOUNDATION Fieldbus
special device If a device supplier implements additional functions and parameters in a de-
description supplied vice, he must define the contents, access and representation in an extended
by the manufacturer device description. Only when the device manufacturer supplies a device de-
scription tailored to his product, can it be operated and applied to the full ex-
tent.
device description The device description is written using the Device Description Language
(DDL) to generate a text file (Fig. 22). This file is then converted with the help
of a Tokenizer and distributed on diskette or via Internet download. If the
manufacturer has registered his device with the associated device descrip-
tion with the FF, the DD can be also be obtained there.
VARIABLE ProcessVariable
{ LABEL MEASURED_VALUE
TYPE FLOAT
{ DISPLAY_FORMAT 3.11;
MAX_VALUE 110.0; DD
MIN_VALUE 0.0; }
}
009 101
Tokenizer
002 MEASURED_VALUE
001 010
061 3.11
021 006 220 000 000
020 000 000 000 000
34
Part 4 L454EN
System management
4 Synchronization of the relevant device activities in time, i.e. according to system management
the predefined transmission schedule (see page 25). tasks
4 Cyclical processing of the transmission list (LAS only) within the predefi-
ned time schedule (page 19).
4 Automatic assignment of the LAS function to another Link Master, if the ac-
tive LAS fails.
The automatic assignment of device addresses enables a device to be as- automatic address
signed a unique network address while the process is active. assignment
35
Communication FOUNDATION Fieldbus
System configuration
configuration device The device description of all used devices must be entered into the configura-
loads the device tion device. The software must either be able to access the DDs in predefined
description libraries, or they must be loaded via external data carriers (e.g. via diskette).
connection of The configuration software determines how and with which devices the mea-
function blocks surement and control tasks of a plant are processed by interconnecting the
function blocks of the field devices. This job can be easily performed by
means of a graphical user interface. All that needs to be done is to connect
the inputs and outputs of the corresponding block symbols.
Fig. 24 shows an example of cascade control where the sensor output value
is connected to a PID function block. This block can be implemented, for in-
stance, in a control valves positioner. The positioner output acts locally on
the analog output of the final controlling element, so that no data has to be
con-
figuring
the Link Master
configur-
ing simple devices
FF fieldbus
SAMSON AG V74/ DKE
36
Part 4 L454EN
AO BKCAL_OUT
PID OUT CAS_IN
AI
OUT IN
BKCAL_IN
Fig. 22: Connection of function blocks for cascade control (via software)
transmitted via the fieldbus. The configuration shown corresponds to the con-
trol loop example illustrated in Fig. 2.
Besides connecting the function blocks, the network configurator also config- control loop execution
ures the individual loop execution rate. Based on this data and the wiring di- rate
agram, the configuration tool generates the information needed to control
the devices and the communication.
Finally, this data is entered into the individual field devices. During this pro- configuration of LAS
cess, the LAS is configured and all Link Masters receive the current transmis- and Link Masters
sion list for scheduled data transmission.
37
Communication FOUNDATION Fieldbus
Appendix A1:
Additional literature
[1] Digital Signals
Technical Information L 150 EN; SAMSON AG
[6] PROFIBUS-PA
Technical Information L 453 EN; SAMSON AG
APPENDIX
38
Part 4 L454EN
Figures
Fig. 9: Limited operating area for Ex-i IIB and IIC installations
(including a safety factor of 1.5) . . . . . . . . . . . . . . . 16
Fig. 10: Capacitance and inductance limit values for Ex-i installations . 16
Fig. 21: Device description extends the description of all objects in the
virtual field device. . . . . . . . . . . . . . . . . . . . . . 33
39
Communication FOUNDATION Fieldbus
Fig. 24: Connection of function blocks for cascade control (via software) 37
FIGURES
40
SAMSON AG 00/05
Part 4 L454EN
NOTES
41
Communication FOUNDATION Fieldbus
NOTES
42
SAMSON right on quality course
ISO 9001
Our quality assurance system,