Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

FOUNDATION Fieldbus Instrumentation Basic

Download as pdf or txt
Download as pdf or txt
You are on page 1of 67

This Material is adopted from:

Lessons in Industrial Instrumentation


By Tony R. Kuphaldt
Version 1.14 –Last update January 11, 2011

Chapter 16

FOUNDATION Fieldbus
instrumentation

FOUNDATION Fieldbus is a standard for digital field instrumentation enabling field instruments to
not only communicate with each other digitally, but also to execute all continuous control algorithms
(such as PID, ratio control, cascade control, feedforward control, etc.) traditionally implemented
in dedicated control devices. In essence, FOUNDATION Fieldbus extends the general concept
of a distributed control system (DCS) all the way to the field devices themselves. In this way,
FOUNDATION Fieldbus sets itself apart as more than just another digital communication “bus”
for industry – it truly represents a new way to implement measurement and control systems. This
chapter is devoted to a discussion of FOUNDATION Fieldbus instrumentation, building on general
concepts of digital data acquisition and communication previously explored in this book.
For brevity, “FOUNDATION Fieldbus” will be abbreviated as FF throughout the rest of this
chapter.

This particular industrial network standard was first proposed as a concept in 1984, and
officially standardized by the Fieldbus Foundation (the organization overseeing all FF standards
and validation) in 1996. To date, adoption of FF has been somewhat slow, mostly limited to new
construction projects. One of the “selling points” of FF is decreased installation time, which makes
it a more attractive technology for brand-new installations than for retrofit projects.

835
836 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.1 FF design philosophy


To understand just how different FF is from other digital instrument systems, consider a typical
layout for a distributed control system (DCS), where all the calculations and logical “decisions”
are made in dedicated controllers, usually taking the form of a multi-card “rack” with processor(s),
analog input cards, analog output cards, and other types of I/O (input/output) cards:

Traditional, analog-based DCS

Operator Operator Operator


workstation workstation workstation

... ...
Control network

Controller/IO rack Controller/IO rack

All automatic control


"decisions" made here

4-20 mA 4-20 mA (with HART)


signal signal
L H

4-20 mA 4-20 mA H L L H
4-20 mA
signal signal
signal
4-20 mA
signal

H L H L L H L H
H L L H

Information is communicated in analog form between the DCS controllers and the field
instruments. If equipped with the proper types of I/O cards, the DCS may even communicate
digitally with some of the field instruments using HART protocol. This allows multivariable
instruments to communicate multiple variables to and from the DCS controllers (albeit slowly)
over a single wire pair.
16.1. FF DESIGN PHILOSOPHY 837

It is even possible to build a control system around a DCS using all digital field instruments,
using a protocol such as Profibus PA to exchange process variable (PV) and manipulated variable
(MV) signals to and from the DCS controllers:

DCS with digital (Profibus PA) field instruments

Operator Operator Operator


workstation workstation workstation

... ...
Profibus DP network

Controller/IO rack Controller/IO rack

All automatic control


"decisions" made here
Coupling device
Profibus PA
signal
Coupling device
Coupling device Profibus PA
L H
signal
H L L H

Profibus PA
signal Profibus PA
signal

H L H L L H L H
H L L H

Now, multivariable field instruments have the ability to quickly exchange their data with the
DCS, along with maintenance-related information (calibration ranges, error messages, and alarms).
Each “fieldbus” cable is a (potential) two-way path for digital information flow. Field wiring is
reduced in cable length and connection count due to the use of coupling devices to connect multiple
instruments to single “home run” network cables leading to the DCS. Still, however, all the automatic
control algorithms are implemented in the DCS.
838 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

An FF system, by contrast, allows the embedding of all control algorithms within the field
instruments rather than relying on the DCS controllers to execute automatic “decisions.” In fact,
the DCS would not even be necessary if not for the need of operations personnel to monitor and
alter control system status:

DCS with FOUNDATION Fieldbus field instruments

Operator Operator Operator


workstation workstation workstation

... ...
FF HSE (or other) network

Controller/IO rack Controller/IO rack

Coupling device
FF H1
signal
Coupling device
Coupling device FF H1
L H
signal
H L L H

FF H1
signal FF H1
signal

H L H L L H L H
H L L H

All automatic control "decisions" made at the field instrument level

That being said, it is possible (and in fact common) for control algorithms to be placed in the
DCS controllers in addition to algorithms executed by FF field devices.

When the FF standard was being designed, two different network levels were planned: a “low
speed” network for the connection of field instruments to each other to form network segments, and a
“high speed” network for use as a plant-wide “backbone” for conveying large amounts of process data
over longer distances. The low-speed (field) network was designated H1, while the high-speed (plant)
network was designated H2. Later in the FF standard development process, it was realized that
16.2. H1 FF PHYSICAL LAYER 839

existing Ethernet technology would address all the basic requirements of a high-speed “backbone,”
and so it was decided to abandon work on the H2 standard, settling on an extension of 100 Mbps
Ethernet called HSE (“High Speed Ethernet”) as the backbone FF network instead.
The bulk of this chapter will focus on H1 rather than HSE.

16.2 H1 FF Physical layer


Layer 1 of the OSI Reference Model is where we define the “physical” elements of a digital data
network. The H1 FF network exhibits the following properties:

• Two-wire (ungrounded) network cable


• 100 ohm (nominal) characteristic impedance

• DC power is conveyed over the same two wires as digital data

• 31.25 kbps data rate

• Differential voltage signaling (0.75 volts peak-to-peak transmit minimum ; 0.15 volts peak-to-
peak receive threshold minimum)
• Manchester encoding

Since DC power is conveyed over the same two wires as the digital data, it means each device
only needs to connect to two wires in order to function on an H1 network segment. The choice of
a (relatively) slow 31.25 kbps data rate allows for imperfect cables and terminations which would
otherwise plague a faster network. Manchester encoding embeds the network clock pulse along with
the digital data, simplifying synchronization between devices.
As you can see, the layer 1 design parameters were chosen to make FF H1 networks easy to build
in unforgiving industrial environments. The physical layer of FOUNDATION Fieldbus happens to
be identical to that of Profibus-PA, further simplifying installation by allowing the use of certain
network validation tools and connection hardware developed for this other network.
840 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.2.1 Segment topology


A minimal FF H1 segment consists of a DC power supply, a “power conditioner,” exactly two
terminator resistors1 (one at each extreme end of the cable), a shielded and twisted-pair cable, and
of course at least two FF instruments to communicate with each other. The cable connecting each
instrument to the nearest junction is called a spur (or sometimes a stub or a drop), while the cable
connecting all junctions to the main power source (where a host DCS would typically be located) is
called a trunk (or sometimes a home run for the section leading directly to a host system):

Power conditioner
100 Ω 10 mH Fieldbus junction box Fieldbus junction box
Trunk cable Trunk cable
100 Ω 100 Ω

24 VDC 1 µF
Terminator 1 µF
Terminator

Spur cable

Spur cable

H L

FF transmitter
FF valve
positioner

The power conditioner shown in this diagram is a simplified model of the actual device, the
function of which being to filter out digital data pulses from reaching the DC power supply.
Commercially-available Fieldbus power conditioners are complex electronic circuits rather than
passive filter networks.
Normally, we would find more than two FF devices connected to a trunk cable, as well as a “host”
system such as a DCS FF card for presenting data from the FF instruments, performing maintenance
tasks, and integrating with other control loops. Regardless of how many (or how few) FF devices
connect to an H1 segment, though, there should always be exactly two terminating resistors in
each segment – one at each end2 of the trunk cable. These resistor/capacitor networks serve the
sole purpose of eliminating signal reflections off the ends of the trunk cable, making the cable
look infinitely long from the perspective of the propagating pulse signals. Missing terminators will
result in signal reflections off the unterminated line end(s), while extra terminators have the equally
deleterious effect of attenuating signal strength (as well as potentially causing signal reflections of
opposite phase).
1 Each FF terminator resistor is actually a series resistor/capacitor network. The resistor blocks direct current, so

that the 100 Ω resistor does not present a DC load to the system.
2 Be sure to check the specifications of the host system H1 interface card, because many are equipped with internal

terminating resistors given the expectation that the host system will connect to one far end of the trunk!
16.2. H1 FF PHYSICAL LAYER 841

All H1 networks are essentially parallel electrical circuits, where the two connection terminals of
each field instrument are paralleled to each other. The physical arrangement of these transmitters,
though, may vary substantially. The simplest way to connect FF H1 devices together is the so-
called “daisy-chain” method, where each instrument connects to two cable lengths, forming an
uninterrupted “chain” network from one end of the segment to the other:

Fieldbus host

Terminator

"Daisy-chain" topology

Terminator

H L
H L H L

Fieldbus instrument H L
Fieldbus instrument Fieldbus instrument

Fieldbus instrument

As simple as this topology is, it suffers from a major disadvantage: it is impossible to disconnect
any device in the segment without interrupting the network’s continuity. Disconnecting (and
reconnecting for that matter) any device necessarily results in all “downstream” devices losing signal,
if only for a brief time. This is an unacceptable state of affairs for most applications.
842 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

An alternative topology is the bus layout, where short “spur” cables connect instruments to a
longer “trunk” cable. Terminal blocks – or even quick-disconnect couplings – within each junction
box provide a convenient means of disconnecting individual devices from the segment without
interrupting data communication with the other devices:

Fieldbus host Bus / spur topology


Terminator Junction box Junction box Junction box Junction box
Terminator

Trunk Trunk Trunk

Spur Spur Spur


Spur

H L
H L H L

Fieldbus instrument H L
Fieldbus instrument Fieldbus instrument

Fieldbus instrument

The ideal arrangement for a “bus” network is to minimize the length of each spur cable, so as
to minimize the delay of reflected signals off the unterminated ends of the drops. Remember that
only two termination resistors are allowed in any electrically continuous network segment, and so
this rule forbids the addition of terminators to the end of each spur cable.
16.2. H1 FF PHYSICAL LAYER 843

Yet another alternative topology for H1 networks is the so-called chicken-foot arrangement, where
a long trunk cable terminates at a multi-point junction along with several field devices and their
spur cables:

Fieldbus host Tree ("chicken foot") topology


Terminator
Junction box
Trunk Terminator

Spur Spur
Spur Spur

H L
H L H L

Fieldbus instrument H L
Fieldbus instrument Fieldbus instrument

Fieldbus instrument

Most FF systems resemble a combination of “bus” and “chicken-foot” topologies, where multiple
junction devices serve as connection points for two or more field instruments per junction.
844 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.2.2 Coupling devices


In order to simplify the task of connecting Fieldbus devices to such a network segment, multiple
manufacturers sell coupling devices (often informally referred to as bricks) with quick-disconnect
electrical fittings so the end-user does not have to build and commission junction boxes using
standard terminal blocks. A photograph of a Turck brand Fieldbus coupling device appears here,
showing multiple spur cables plugged into it:

Coupling devices are highly recommended for all industrial fieldbus systems, FF or otherwise.
Not only do these devices provide a convenient means of forming highly reliable connections between
field instruments and the trunk cable, but many of them are equipped with features such as short-
circuit protection (so that a shorted spur cable or field instrument does not cause the entire segment
to stop communicating) and LED indication of spur status.
Cables connecting to a coupling device must be equipped with special plugs matching the sockets
on the coupler. This presents a bit of a problem when attempting to pull such a cable through
electrical conduit: the bulky plug requires either over-sized conduit to accommodate the plug’s width,
or requires the plug be installed on the cable after pulling through the conduit. Both approaches
are expensive, the first in terms of capital cost and the second in terms of installation labor. For
this reason, many installers abandon electrical conduit altogether in favor of ITC (“Instrument Tray
Cable”).
16.2. H1 FF PHYSICAL LAYER 845

A wider-angle photograph of the coupling device previously shown reveals many ITC cables and
their routing through wire “basket” style trays among process instruments and vessels:

As evident in this photograph, ITC is obviously rated for continuous exposure to direct sunlight
and moisture, as well as a certain amount of physical distress (abrasion, high and low temperatures,
etc.). Article 727 of the National Electrical Code (NEC) defines the acceptable uses and installations
of ITC3 .
It should be noted that while a properly shielded and grounded FF cable is quite resistant to
radio-frequency interference, coupling devices may present “weak spots” where radio interference
may find its way onto the segment. Different styles of coupling devices offer differing levels of
immunity to RF (Radio Frequency) noise. Those made of metal and properly bonded to ground will
be well-shielded, while those made of plastic having exposed connection terminals offer little or no
protection. In any case, it is a good practice to avoid “keying” any portable radio transmitter in
the near vicinity of a Fieldbus coupling device.

3 You should consult an NEC code book regarding specific limitations of ITC wiring. Some of the main points

include limiting individual ITC cable lengths to a maximum of 50 feet, and mechanically securing the cable at intervals
not to exceed 6 feet.
846 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Not all Fieldbus couplers are rated for outdoor installation. Some are intended for mounting
inside electrical enclosures, such as this Pepperl+Fuchs model shown mounted on a DIN rail:

This Fieldbus coupling device is aptly labeled a segment protector, for it not only couples spurs
to the main trunk of the Fieldbus segment, but it also guards against short-circuits in the spur cables
and devices from interrupting communication on the rest of the segment. If you look closely at the
upper-left of the coupling device, you will see a black plastic square with two leads inserted into
screw terminals: this is one of two terminating resistors found in this Fieldbus segment, meaning
this particular coupling device is at the “end of the line” of the network segment.
Not only do enclosure-protected coupling devices eliminate the need for special weather-proof
connectors and instrument tray cable, but they also enjoy the radio interference immunity4 granted
by being inside a metal cocoon.

4 Provided the metal enclosure’s door is left in the closed position at all times! Keying a radio transmitter near

such a coupling device while the enclosure door is open invites trouble.
16.2. H1 FF PHYSICAL LAYER 847

16.2.3 Electrical parameters


FOUNDATION Fieldbus H1 networks use Manchester encoding to represent bit states: a “high-to-
low” transition represents a logical zero (0), while a “low-to-high” transition represents a logical one
(1). The following illustration shows how the data stream 00100 would be represented in Manchester
encoding:

Manchester encoding

Reversal

Reversal
Clocked

Clocked

Clocked

Clocked

Clocked
clock clock clock clock
period period period period

0 0 1 0 0

FF devices must be able to correctly distinguish between rising- and fall-edge signals in order to
properly interpret the bit states of a Manchester-encoded signal. Any device interpreting these pulse
edges “backwards” will invert every single bit! Thankfully, this problem is easy to avoid because the
DC power supplied by the H1 segment wiring provides a “key” to identifying which wire is which,
and therefore which pulses are rising-edge versus which pulses are falling-edge. For this reason,
many (but not all!) FF devices are polarity-insensitive, automatically detecting the polarity of the
network segment and compensating accordingly.
Every FF device draws at least 10 mA of current from the segment, and this current does
not vary in the same manner that an analog (4-20 mA) device draws differing amounts of current
under different operating conditions. Always remember that a Fieldbus device signals its variable(s)
digitally, not by varying current. Old habits (and thought patterns) die hard, and so Fieldbus systems
present challenges to technicians familiar with the behavior of analog current loop instrumentation.
The amount of current drawn by any particular FF device depends on that device’s functionality –
obviously, some will require more current5 for their operation than others. 10 mA to 30 mA should
5 Perusing documentation on an assortment of Emerson/Rosemount FF products, I found the following data: model

752 indicator = 17.5 mA, model 848L logic = 22 mA, model 848T temperature = 22 mA maximum, model 3244MV
temperature = 17.5 mA nominal, model DVC6000f valve positioner = 18 mA maximum, model 848L logic = 22
848 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

be considered a general range of current drawn by each FF device.


The standard operating voltage range for FF devices is between 9 and 32 volts DC. It is important
to note, however, that not all manufacturers’ devices are in full compliance with the Fieldbus
Foundation standard, and as such some may not operate properly at low voltages (near 9 volts
DC)! The most common DC operating voltage for a FF network segment is 24 VDC (nominal).

The minimum transmission voltage of a FF device is 750 millivolts peak-to-peak, while the
minimum signal level for reception by a FF device is 150 millivolts peak-to-peak. This represents
an acceptable attenuation of 5:1, or -14 dB between any two devices.

mA, model 848T temperature = 22 mA maximum, model 3244MV temperature = 17.5 mA nominal, model 5500
guided-wave radar level = 21 mA, model 3095MV flow (differential pressure) = 17 mA approximate, model DVC6000f
valve positioner = 18 mA maximum.
16.2. H1 FF PHYSICAL LAYER 849

16.2.4 Cable types


Fieldbus cable is rated according to a four-level code (A, B, C, or D), each successive letter
representing a cable of lower quality6 . The following table gives minimum specifications for each FF
cable type:

Cable Type Type A Type B Type C Type D


Wire size AWG 18 AWG 22 AWG 26 AWG 16
Char. Impedance 100 Ω ± 20% 100 Ω ± 30% – –
Shielding 1 for each pair 1 for entire cable none none
Twisted pairs Yes Yes Yes No
Max. length 1900 m 1200 m 400 m 200 m

Bear in mind that the maximum length given for each cable type is the total length of all cables
in a segment, trunk length plus all spur lengths. As a general rule, spur lengths should be kept as
short as possible. It is better to route the trunk cable in a serpentine fashion to locate coupling
devices close to their respective instruments than it is to streamline the trunk cable routing. The
following illustrations contrast the two approaches:

H L

H L

Adequate layout Spur cable


Spur cable

Trunk cable Trunk cable Trunk cable

Spur cable
Spur cable

H L

6 I have successfully built several “demonstration” FF systems using cables of questionable quality, including lamp

(“zip”) cord, with no termination resistors whatsoever! If the distances involved are short, just about any cable type
or condition will suffice. When planning the installation of any real Fieldbus installation, however, you should never
attempt to save money by purchasing lesser-grade cable. The problems you will likely encounter as a consequence of
using sub-standard cable will more than offset the initial cost saved by its purchase.
850 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Spur cable H L

le
ab
H L

c
ur
Sp
Better layout

Tr
un
e

k
bl

ca
ca

bl
k

e
un
Trunk cable

Tr
Spur cable

Spur cable

H L

If greater lengths are required for a network segment, devices known as repeaters may be added
which sense and re-broadcast the Manchester-encoded FF signal between trunk cables. A maximum
of four repeaters may be used to extend any H1 segment.
16.2. H1 FF PHYSICAL LAYER 851

As always, neat wiring practices help make an instrument system easier to maintain and to
diagnose when things go wrong. The following photograph shows a triad of FOUNDATION Fieldbus
junction boxes and (orange) network cables. Coupling devices located inside each enclosure link each
spur cable to the trunk:
852 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.2.5 Segment design


In addition to maximum (total) cable length and repeater count, a host of other details7 conspire
to limit how any particular H1 segment is wired. To help engineers and technicians alike deal with
these details, manufacturers often provide free segment design tool software to pre-validate a segment
design on computer before purchasing components and installing them in the field. A screenshot
taken from Emerson’s offering shows what a typical FF segment layout might look like:

A very nice feature of these segment design packages is their built-in database of FF components.
Every time you “pick” a particular component to place in your simulated segment, the program
references data for that device’s current draw and other electrical parameters relevant to the
performance of the segment. Of course, each manufacturer will tend to feature their own devices more
prominently, and so these software tools sometimes have the flavor of a promotional advertisement.
Despite the commercial aspect of their design, however, they are extremely useful in the planning
stages of a FF network, and should be used whenever possible.
Another reason to use segment design tool software is to document the wiring of each FF segment.
One of the casualties of the new Fieldbus paradigm is the traditional loop diagram (or “loop sheet”),
the purpose of which is to document the signal wiring dedicated for each measurement and control
7 Total device current draw, spur length versus number, intrinsic safety voltage and current limitations, etc.
16.2. H1 FF PHYSICAL LAYER 853

loop. In FOUNDATION Fieldbus, the control “loop” is virtual rather than physical, being comprised
of digital data sent between field instruments, the path of which being defined by the instruments’
programming. The only physical wiring entity to document in a FF system is the segment, and
each segment most likely hosts more than one measurement and/or control loop. Unless and until a
standardized documentation format8 is invented for Fieldbus network segments, the graphic image
provided by segment design tool software is as good as anything.

8 At the time of this writing (2009), the ISA has yet to standardize new methods of FF documentation in the style

of loop sheets and P&IDs. This is one of those circumstances where technology has outpaced convention.
854 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.3 H1 FF Data Link Layer


Like so many other industrial data networks, FOUNDATION Fieldbus is an “unswitched” or
“broadcast” type of network. This means all data transmissions by all devices on a network are
sensed by all the other devices. In other words, there are no private messages between two devices
on a shared network: every device “hears” every transmission from every other device. This means
devices must take turns communicating, with no simultaneous transmissions. Layer 2 of the OSI
Reference Model is where we define the “data link” elements of a digital data network, describing
how individual devices negotiate for the right to transmit to the network. Here is a list of some
layer-2 properties of H1 FF networks:

• Master/slave network behavior for cyclic communications (i.e. one device polls the others, and
the others merely respond)

• Delegated token network behavior for acyclic communications (i.e. devices serially granted
time to broadcast at will)

• Dedicated “scheduler” device for coordinating all segment communications

• 8-bit address field (0 through 255 possible)

• Maximum of 32 “live” devices on a segment

On an operating H1 segment, one device called the Link Active Scheduler (abbreviated LAS)
functions as the “master” device for coordinating all network communications, analogous to a police
officer directing traffic in a road intersection. The LAS device may be a regular field instrument (e.g.
transmitter, valve positioner) or it may be the host system (i.e. the H1 segment interface card of a
DCS). The FF standard allows for one operating LAS device, with multiple back-up LAS devices
waiting to take over if the primary LAS happens to fail for any reason.
One of the tasks of the LAS is to “compel” the various field instruments to transmit their
process control data (process variables, PID control output values, and other variables essential
for loop monitoring and control), while the devices immediately respond in answer to the LAS’s
“compel data” command. These critical communications occur on a regular schedule, and therefore
are referred to as scheduled or cyclic communications. Cyclic communication operates in a
“master-slave” fashion, with the LAS acting as the master (commanding slave devices to broadcast
specific data), and all other devices responding only when called upon by the LAS. This form of
communication is analogous to a traffic policeman specifically directing one vehicle at a time to drive
through an intersection in a prescribed manner.
Periods of time in between these critical transmissions on an H1 network are used for device’s
internal processing (e.g. PID algorithm execution, diagnostic checking) and also for less-critical
data transmission. It is during these unscheduled or acyclic times that devices are sequentially
given permission by the LAS to broadcast data of less importance such as operator setpoints, PID
tuning constant updates, alarm acknowledgments, and diagnostic messages. Acyclic communication
operates in a manner similar to “token-passing,” with the LAS issuing time-limited tokens to the
other devices in sequence permitting them to freely broadcast whatever other data they have to
share. This form of communication is analogous to a traffic policeman directing an entire lane of
vehicles to enter the intersection at will.
16.3. H1 FF DATA LINK LAYER 855

The scheduled nature of cyclic communication guarantees a certain maximum response time to
critical control functions, an important property of control networks called determinism. Without
determinism, a control system cannot be relied upon to perform critical regulatory functions in a
timely9 manner, and sequencing10 of control functions such as PID, summers, subtractors, ratio
multipliers, and the like may be compromised. Thus, all the critical variables of a FF H1 loop are
communicated between devices this way.

9 While many industrial control systems have been built using networks that are not strictly deterministic (e.g.

Ethernet), generally good control behavior will result if the network latency time is arbitrarily short. Lack of “hard”
determinism is more of a problem in safety shutdown systems where the system must respond within a certain
amount of time in order to be effective in its safety function. An industrial example of a safety system requiring
“hard” determinism is compressor surge control. An automotive example requiring “hard” determinism is anti-lock
brake control.
10 By “sequencing,” I mean the execution of all antecedent control functions prior to “downstream” functions

requiring the processed data. If in a chain of function blocks we have some blocks lagging in their execution, other
blocks relying on the output signals of those lagging blocks will be functioning on “old” data. This effectively adds
dead time to the control system as a whole. The more antecedent blocks in the chain that lag in time behind the
needs of their consequent blocks, the more dead time will be present in the entire system. To illustrate, if block A
feeds data into block B which feeds data into block C, but the blocks are executed in reverse order (C, then B, then
A) on the same period, a lag time of three whole execution periods will be manifest by the A-B-C algorithm.
856 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.3.1 Device addressing


FOUNDATION Fieldbus devices (also called nodes) are addressed by an eight-bit binary number
when functioning on an H1 segment. This binary number field naturally supports a maximum
addressing range of 0 to 255 (decimal), or 00 to FF hexadecimal. This address range is divided into
the following sub-ranges by the Fieldbus Foundation:

Address range Address range Allocation


(decimal) (hexadecimal)
0 through 15 00 through 0F Reserved
16 through 247 10 through F7 Permanent devices
248 through 251 F8 through FB New or decommissioned devices
252 through 255 FC through FF Temporary (“visitor”) devices

Devices are usually assigned addresses to function on the segment by the host system (typically
a DCS with FF capability), although it is possible to order FF instruments pre-configured at the
factory with addresses specified by the customer upon order. Host systems are generally configured to
automatically determine device addresses rather than require the technician or engineer to manually
assign each address. This make the commissioning process more convenient.
The maximum number of “permanent” devices (installed field instruments) allowed on an H1
segment for operational reasons is 32, and as you can see the addressing scheme offers far more valid
addresses than that. One of the many tasks given to a segment’s Link Active Scheduler (LAS) device
is to probe for new devices connected to the segment. This is done on a one-at-a-time basis, with the
LAS sequentially polling for uncommissioned addresses within the valid address range. Obviously,
this can be a waste of time with only 32 addresses capable of active service at any given time and
over 200 valid address numbers. A practical solution to this problem is to specify an “unused”
address range for the LAS to skip, so it does not waste time probing for devices (nodes) within a
certain range. This address range is specified as a set of two numbers: one for the First Unused Node
(abbreviated FUN ), and another specifying the Number of Unused Nodes (abbreviated NUN ). For
example, if one wished to have the LAS on a particular H1 segment skip device addresses 40 through
211, one would configure the FUN to equal 40 and the NUN to equal 172, since the address range
40 through 211 is one hundred seventy two addresses (inclusive of both 40 and 211).
Even with a maximum operational limit of 32 devices to an H1 segment, it is rare to find segments
operating with more than 16 devices. One reason for this is speed: with additional devices requiring
time to broadcast and process data, the total macrocycle time (the time period between guaranteed
delivery of the same process data from any one device – the determinism time) must necessarily
increase. According to the Fieldbus Foundation’s engineering recommendations guide, there must
be no more than twelve devices on a segment (including no more than two final control elements) in
order to achieve a 1-second or less macrocycle time. For half-second update times, the recommended
maximum is six devices (with no more than two final control elements). For quarter-second update
times, the limit drops to a total of three devices, with no more than one final control element.
Macrocycle time is essentially dead time, which is worse than lag time for any form of feedback
control. When controlling certain fast processes (such as liquid pressure or flow rate), dead times
on the order of one second are a recipe for instability.
Another limitation to the number of operational addresses on an H1 segment is current draw.
FF devices draw 10 mA of current minimum. A FF segment with sixteen parallel-connected devices
16.3. H1 FF DATA LINK LAYER 857

would see a total current of 160 mA minimum, with a more realistic value being in excess of 300
mA.

In addition to network addresses, each FF device bears an absolutely unique identifier (a 32-
byte binary number) to distinguish it from any other FF device in existence. This identifier serves
much the same purpose as a MAC address on an Ethernet device. However, the identifier field
for FF devices allows a far greater instrument count than Ethernet: 32 bytes for FF instruments
versus 48 bits for Ethernet devices. While the Ethernet MAC address field only allows for a paltry
2.815 × 1014 unique devices, the FF identifier allows 1.158 × 1077 devices! The distinction between
a FF device’s network address and the device’s identifier is virtually identical to the distinction
between an Ethernet device’s IP address assigned by the end-user and its MAC address number
assigned by the manufacturer.
This identifier value is usually expressed as 32 ASCII-encoded characters for brevity (one
alphanumeric character per byte), and is subdivided into byte groups as follows:

First 6 bytes Middle 4 bytes Last 22 bytes


Manufacturer code Device type code Serial number

For example, the identifiers for all Fisher brand devices begin with the first six characters
005100. The identifiers for all Smar devices begin with the characters 000302. The identifiers
for all Rosemount 11 brand devices begin with 001151. A typical identifier (this particular one for a
Fisher model DVC5000f valve positioner) appears here:

005100 0100 FISHERDVC0440761498160


Normally, these identifiers appear as 32-character strings, without spaces at all. I have inserted
spaces within this string to make the character groupings easier to see.

16.3.2 Communication management


In a FF network segment, the Link Active Scheduler (LAS) device coordinates all communications
between segment devices. Among the many responsibilities the LAS is tasked with are the following:

• Commands non-LAS devices to broadcast data to the segment with “Compel Data” (CD)
messages, issued at regular time intervals to specific devices (one at a time)
• Grants permission for non-LAS devices to communicate with “Pass Token” (PT) messages,
issued during unscheduled time slots to specific devices (one at a time, in ascending order of
address number)
• Keeps all segment devices synchronized with a regular “Time Distribution” (TD) message
• Probes for new devices on the segment with a “Probe Node” (PN) message
• Maintains and publishes a list of all active devices on the network (the Live List)

11 The engineers there are not without a sense of humor, choosing for their manufacturer code the same model number

as the venerable 1151 differential pressure transmitter, perhaps the most popular Rosemount industrial instrument in
the company’s history!
858 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Scheduled versus unscheduled communication


As previously mentioned, Fieldbus H1 network communication may be divided into two broad
categories: scheduled (cyclic) and unscheduled (acyclic). Scheduled communication events are
reserved for exchanging critical control data such as process variable measurements, cascaded
setpoints, and valve position commands. These scheduled communications happen on a regular,
timed schedule so that loop determinism is guaranteed. Unscheduled communications, by contrast,
are the way in which all other data is communicated along an H1 segment. Manual setpoint changes,
configuration updates, alarms, and other data transfers of lesser importance are exchanged between
devices in the times between scheduled communication events.
Both forms of communication are orchestrated by the Link Active Scheduler (LAS) device, of
which there is but one active at any given time12 on an H1 segment. The LAS issues “token” messages
to non-LAS devices commanding (or merely authorizing) them to broadcast to the segment one at
a time. Each token message issued by the LAS grants transmission rights to an FF device either
for a limited purpose (i.e. the precise message to be transmitted) or for a limited time (i.e. giving
that device the freedom to transmit whatever data it desires for a short duration), after which
transmission rights return to the LAS. CD tokens are message-specific: each one issued by the LAS
commands a single device to immediately respond with a broadcast of some specific data. This is
how scheduled (cyclic) communication is managed. PT tokens are time-specific: each one issued
by the LAS grants a single device free time to transmit data of lesser importance. This is how
unscheduled (acyclic) communication between devices is managed.
The LAS also issues a third type of token message: the “Probe Node” (PN) token intended to
elicit a response from any new devices connected to the network segment. Probe Node tokens are
issued one at a time to each uncommitted device address in search of any new devices.
In addition to transmitting tokens – which by definition are messages granting another device
permission to transmit to the network – the LAS also broadcasts other messages necessary for the
function of an H1 segment. For example, the “Time Distribution” (TD) message regularly broadcast
by the LAS keeps all devices’ internal clocks synchronized, which is important for the coordinated
transfer of data.
One of the “internal” tasks of the LAS not requiring network broadcasts is the maintenance of
the Live List, which is a list of all known devices functioning on the network segment. New devices
responding to “Probe Node” messages will be added to the Live List when detected. Devices failing
to return or use PT tokens issued to them are removed from the Live List after a number of attempts.
When “backup” LAS devices exist on the segment, the LAS also publishes updated copies of the
Live List to them, so they will have the most up-to-date version should the need arise to take over
for the original LAS (in the event of an LAS device failure).

In “busy” H1 segments where multiple devices are exchanging data with each other, a heavy traffic
load of scheduled communications (CD tokens and their responses) makes it difficult for substantial
unscheduled (acyclic) data exchanges to occur. For example, if a device happens to be maintaining a
lengthy list of client/server requests in its queue, which it may address only during its allotted acyclic
time slots (i.e. when it has been given the PT token from the LAS), it is quite possible the PT token
12 In addition to the main LAS, there may be “backup” LAS devices waiting ready to take over in the event the

main LAS fails for any reason. These are Link Master devices configured to act as redundant Link Active Schedulers
should the need arise. However, at any given time there will be only one LAS. In the event of an LAS device failure,
the Link Master device with the lowest-number address will “step up” to become the new LAS.
16.3. H1 FF DATA LINK LAYER 859

will expire before all the device’s transactions have been completed. This means the device will have
to wait for the next acyclic period before it can complete all the unscheduled communication tasks
in its queue. The Fieldbus Foundation recommends new H1 segments be configured for no more
than 30% scheduled communications during each macrocycle (70% unscheduled time). This should
leave plenty of “free time” for all necessary acyclic communications to take place without having to
routinely wait multiple macrocycles.
860 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Virtual Communication Relationships


A term you will frequently encounter in FF literature is VCR, or “Virtual Communication
Relationships.” There are three different types of VCRs in FF, describing three different ways
in which data is communicated between FF devices:

• Publisher/Subscriber (scheduled), otherwise known as Buffered Network-scheduled


Unidirectional (BNU)

• Client/Server (unscheduled), otherwise known as Queued User-triggered Bidirectional


(QUB)

• Source/Sink (unscheduled), otherwise known as Queued User-triggered Unidirectional


(QUU)

Publisher/Subscriber: this VCR describes the action of a Compel Data (CD) token. The Link Active
Scheduler (LAS) calls upon a specific device on the network to transmit specific data for a time-
critical control purpose. When the addressed device responds with its data, multiple devices on the
network “subscribing” to this published data receive it simultaneously. This is how process-control
variables (PV, PID output, etc.) are communicated between instruments comprising a FF control
loop. The publisher/subscriber VCR model is highly deterministic because all such communications
occur on a precisely defined schedule.

Client/Server: this VCR describes one class of unscheduled communications, permitted when a
device receives a Pass Token (PT) message from the LAS. Each device maintains a queue (list) of
data requests issued by other devices (clients), and responds to them in order as soon as it receives
the Pass Token. By responding to client requests, the device acts as a server. Likewise, each device
can use this time to act as a client, posting their own requests to other devices, which will act as
servers when they receive the PT token from the LAS. This is how non-critical messages such as
maintenance and device configuration data, operator setpoint changes, alarm acknowledgments, PID
tuning values, etc. are exchanged between devices on an H1 segment. Trend data (process variables
recorded over time and displayed in time-domain graph form) may also be communicated using this
type of VCR, with a “burst” of collected samples communicated per server message13 . Client/server
communications are checked for data corruption by their receivers, to ensure reliable data flow.

Source/Sink (also called Report Distribution): this VCR describes another class of unscheduled
communications, permitted when a device receives a Pass Token (PT) message from the LAS. This
is where a device broadcasts data out to a “group address” representing many devices. Source/sink
communications are not checked for data corruption, as are client/server communications. Examples
of messages communicated in a FF segment using the source/sink VCR include device and process
alarms.

An analogy for making sense of VCRs is to imagine lines drawn between FF devices on a segment
to connect their various messages to other devices. Each line represents an individual transmission
13 Alternatively, the Publisher/Subscriber VCR may be used to communicate trend data. This is especially practical

when that same data is already being communicated this way for control purposes. All other factors being equal, trend
data communicated via Client/Server takes less network time than trend data communicated via Publisher/Subscriber.
16.3. H1 FF DATA LINK LAYER 861

which must take place some time during the macrocycle. Each line is a VCR, some handled differently
than others, some more critical than others, but all are nothing more than communication events
in time. A specific example of this is in the function block diagrams for a FF control system, where
connecting lines between function blocks residing in different devices represent messages sent by the
Publisher/Subscriber VCR method. Each line connecting function blocks between different devices
is a message in response to a CD (Compel Data) token issued by the LAS, ensuring the deterministic
transfer of critical control data between function blocks necessary for the control system to reliably
function.
862 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

For example, consider this H1 segment connected to an interface card on a DCS rack, followed
by a P&ID showing the relationships between the instruments:

Controller/IO rack
Operator
workstation

FT-231
L H

PID function
PID function located here
PID function L H L H
located here L H
located here
RTD

PT-231 LT-211 FT-187


TT-187
LV-211 FV-231

FC FIR
231 187
FT
FV TIR
231
231 187
PC
231

Reactor
vessel TT
PT 187
LV LC LT 231
211 211 211 FT
187

Loop 211 is a simple PID level control, regulating liquid level in the reactor vessel by releasing
liquid from the bottom. Loop 187 is a simple indicating/recording system for temperature and flow,
the signals coming from a multivariable transmitter. Loop 231 is a cascaded pressure/flow control
system, with reactor pressure as the master variable and feed flow as the slave variable: the pressure
controller (residing inside pressure transmitter PT-231) provides remote setpoint values to the flow
controller (residing in the flow control valve FV-231), which then adjusts the position of the valve
to achieve the desired feed flow rate into the reactor until reactor pressure stabilizes at setpoint.
16.3. H1 FF DATA LINK LAYER 863

Note the different line types used to represent digital signals in the P&ID: lines with solid-filled
circles represent data sent over Fieldbus cable, while lines with hollow circles represent data sent
between functions within the same physical device. These “internal” data links help the reader
discern which functions reside in which physical instruments. Functions residing within the same
FF device must also share the same loop number. These standards for P&ID notation come from
the Fieldbus Foundation’s System Engineering Guidelines document (revision 2.0, page 72).
For example, the PID control function represented by FC-231 resides within the valve positioner
(FV-231), because those two bubbles share the same loop number and are connected with lines
having hollow circles (which means they must be in the same physical device). Likewise, the same line
symbology tells us that pressure control PID function PC-231 resides within the pressure transmitter
PT-231.
Control-critical variables communicated over the segment between devices include14 the
output value of PC-231 (FC-231’s remote setpoint value), flow transmitter FT-231’s process
variable measurement, and the process variable from level transmitter LT-211. These are all
Publisher/Subscriber VCRs, transmitted at the request of a Compel Data (CD) token issued by
the LAS device on a tightly controlled schedule:

Publisher/Subscriber VCRs in reactor control system

FT-231 PV PC-231 Output


FC FIR
231 187
FT
FV TIR
231
231 PC 187
231

Reactor
vessel TT
PT 187
LV LC LT 231
211 211 211 FT
LT-211 PV 187

14 One other variable communicated in Publisher/Subscriber mode is the “back calculation” signal sent from slave

(flow) controller FC-231 to master (pressure) controller PC-231. This particular signal is beyond the immediate scope
of the discussion, and therefore is mentioned here only as a footnote.
864 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Messages such as operator-adjusted setpoint values and maintenance tasks occur as Client/Server
VCRs, done during the “unscheduled” communication times in the LAS’s sequence. The LAS device
issues Pass Token (PT) messages to each device, giving permission for each device (one at a time)
to transmit such information as necessary. Examples of such non-critical messages in our reactor
control system are shown here:

Client/Server VCRs in reactor control system

FC FIR
231 187
FT
FV TIR
231
231 PC 187
231

PC-231 SP
Reactor
LC-211 tuning adjustment vessel TT
PT 187
LV LC LT 231
211 211 211 Re-ranging FT
FT-187 187

LC-211 SP
16.3. H1 FF DATA LINK LAYER 865

Finally, our third VCR (Source/Sink) finds application in the reactor control system for flow
transmitter FT-187, broadcasting its flow trend data during “unscheduled” periods in the LAS’s
cycle, as well as for instrument alarm messages. Like the Client/Server messages, this one is
prompted when the device receives a special Pass Token (PT) signal from the LAS, giving temporary
permission for that device to broadcast its data:

Source/Sink VCRs in reactor control system


FT-231
alarm signal

FC FIR
231 187
FT
FV TIR
231
231 PC 187
231
FT-187 and TT-187
trend data

Reactor
vessel TT
PT 187
LV LC LT 231
211 211 211 FT
187
866 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.3.3 Device capability


Not all FF devices are equally capable in terms of Data Link (layer 2) functions. The FF standard
divides data link device functionality into three distinct groups, shown here in order of increasing
capability:

• Basic devices

• Link Master devices

• Bridge devices

A Basic device is one capable of receiving and responding to tokens issued by the Link Active
Scheduler (LAS) device. As discussed previously, these tokens may take the form of Compel Data
(CD) messages which command immediate response from the Basic device, or Pass Token (PT)
messages which grant the Basic device time-limited access to the segment for use in broadcasting
data of lesser importance.
A Link Master device is one with the ability to be configured as the LAS for a segment. Not all
FF devices have this ability, due to limited processing capability, memory, or both15 .
A Bridge device links multiple H1 segments together to form a larger network. Field instruments
are never Bridge devices – a Bridge is a special-purpose device built for the express purpose of joining
two or more H1 network segments.

16.4 FF function blocks


Data handled within FF systems are organized into modules known as function blocks. Sometimes
these blocks serve merely to catalogue data, while in other instances the blocks execute specific
algorithms useful for process measurement and control. These “blocks” are not physical entities,
but rather abstract software objects – they exist only as bits of data and instructions in computer
memory. However, the blocks are represented on a computer screen as rectangular objects with
input ports on the left-hand side and output ports on the right-hand side. The construction of a
working control system comprised of FF devices consists of linking the outputs of certain function
blocks with the inputs of other function blocks via configuration software and computer-based tools.
This usually takes the form of using a computer to draw connecting lines between the output and
input ports of different function blocks.

15 Some FF devices capable of performing advanced function block algorithms for certain process control schemes

may have the raw computational power to be an LAS, but the manufacturer has decided not to make them Link
Master capable simply to allow their computational power to be devoted to the function block processing rather than
split between function block tasks and LAS tasks.
16.4. FF FUNCTION BLOCKS 867

16.4.1 Analog function blocks versus digital function blocks


Function-block programming in general strongly resembles the design philosophy of legacy analog-
based computer systems, where specific functions (addition, subtraction, multiplication, ratio, time-
integration, limiting, and others) were encapsulated in discrete operational amplifier circuits, and
whole systems were built by connecting function blocks together in whatever patterns were desired
to achieve a design goal. Here with Fieldbus programming, the function blocks are virtual (bits and
data structures in digital memory) rather than real analog circuits, and the connections between
blocks are merely pointer assignments in digital memory rather than actual “patch cable” connections
between circuit boards.
An example contrasting analog circuit design with Fieldbus function-block design appears here,
both systems selecting the greatest temperature signal to be the output. The system on the left-hand
side receives analog voltage signals from three temperature sensors, using a network of operational
amplifiers, diodes, and resistors to select the greatest voltage signal to be the output. The system on
the right-hand side uses three Fieldbus transmitters to sense temperature, the greatest temperature
signal selected by an algorithm (the ISEL function block) running in a Fieldbus device. The device
running the ISEL function could be one of the three FF temperature transmitters, or another device
on the segment:

High-select analog function block


circuit, external to sensors
All Fieldbus function blocks are virtual, contained in different instruments
and "connected" by publisher/subscriber Virtual Communication Relationships

Input function blocks

− OUT_D
Temperature Vin1 Fieldbus
sensor + temperature AI OUT High-select function block
(voltage output) transmitter
IN_1
IN_2 OUT

IN_3 Represents greatest


measured temperature
IN_4
− OUT_D
Vin2 Vout Fieldbus DISABLE_1 ISEL
Temperature
sensor + Represents greatest temperature AI OUT
(voltage output) measured temperature transmitter DISABLE_2 SELECTED
DISABLE_3

DISABLE_4

OP_SELECT
− OUT_D

Temperature Vin3 Fieldbus


sensor + temperature AI OUT
(voltage output) transmitter

Instead of analog voltage signals sent by wire to special-function circuit modules, FOUNDATION
Fieldbus uses digital messages sent over an H1 network segment to special-function software “blocks”
running inside ordinary Fieldbus devices. The lines connecting different function blocks together
in a FOUNDATION Fieldbus system show the sources and destinations of these digital messages.
If two different FF function blocks reside in different FF devices, the connecting lines represent
publisher/subscriber communication assignments coordinated by the Link Active Scheduler (LAS)
device.
868 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.4.2 Function block location


There is usually some freedom of choice in where various function blocks may be located in a FF
segment. Take for instance the example of a flow control loop, where a flow transmitter feeds
measured flow data into a PID control function block, which then drives a control valve to whatever
position necessary to regulate flow. The actual physical device layout might look something like
this:

Fieldbus junction block


("brick")
"Home run" cable
To Fieldbus host . . . Terminating resistor

Flow
transmitter

Flow control
valve
Positioner
Differential H L
pressure
sensor

Orifice plate

The function block connections necessary for this control scheme to work are shown in the next
diagram, coupling the AI (analog input) block located in the transmitter to a PID control block to
an AO (analog output) block located in the valve positioner:

OUT_D BKCAL_IN BKCAL_OUT CAS_IN BKCAL_OUT

CAS_IN
AI OUT AO OUT
FF_VAL OUT

IN PID
Located in Located in
flow transmitter TRK_IN_D valve positioner

TRK_VAL

All function block inputs are on the left-hand sides of the blocks, and all outputs are on the
right-hand sides. In this function block program, data from the analog input (AI) block flows into
16.4. FF FUNCTION BLOCKS 869

the PID block. After calculating the proper output value, the PID block sends data to the analog
output (AO) block where the final control element (e.g. valve, variable-speed motor) is adjusted.
The AO block in turn sends a “back calculation” signal to the PID block to let it know the final
control element has successfully reached the state commanded by the PID block’s output. This is
important for the elimination of reset windup in the event the final control element fails to respond
to the PID block’s output signal.
It should be obvious that the analog input (AI) block must reside in the transmitter, simply
because only the transmitter is able to measure the process fluid flow rate. Likewise, it should
be obvious that the analog output (AO) block must reside in the control valve positioner, simply
because the valve is the only device capable of manipulating (exerting influence over) anything.
However, given the lack of a separate controller device, the person configuring the Fieldbus loop
may choose to locate the PID block in either the transmitter or the control valve positioner. So long
as both FF devices possess PID function block capability, either location is possible for the PID
function block.
870 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

The following illustrations show the two possible locations of the PID function block:

PID control block located in transmitter

OUT_D BKCAL_IN BKCAL_OUT CAS_IN BKCAL_OUT

CAS_IN
AI OUT AO OUT
FF_VAL OUT

IN PID
TRK_IN_D

TRK_VAL

Transmitter

Positioner Valve

H L

PID control block located in valve positioner

OUT_D BKCAL_IN BKCAL_OUT CAS_IN BKCAL_OUT

CAS_IN
AI OUT AO OUT
FF_VAL OUT

IN PID
TRK_IN_D

TRK_VAL

Transmitter

Positioner Valve

H L

The only factor favoring one location over another for the PID function block is the number
of communication broadcasts (“Compel Data” token distributions and replies) necessary per
macrocycle. Note the lines connecting function blocks between the two instruments in the previous
diagrams (lines crossing from one blue bubble to another). Each of these lines represents a VCR
(Virtual Communication Relationship) – an instance during each macrocycle where data must be
16.4. FF FUNCTION BLOCKS 871

transmitted over the network segment from one device to another. With the PID function block
located in the flow transmitter, two lines connected the flow transmitter’s PID block to the valve
positioner’s AO block. With the PID function block located in the valve positioner, only one line
connected the flow transmitter’s AI block to the valve positioner’s PID block. Thus, locating the PID
function block in the valve positioner means only one CD message/reply is necessary per macrocycle,
making the network communication more efficient.
To illustrate the difference this re-location of the PID block makes, we will examine the function
block diagram and macrocycle timing schedule on a simple pressure control FF loop, hosted on
an Emerson DeltaV distributed control system. The first composite screenshot shows the function
block diagram and schedule with the PID function block located in the transmitter (PT 501):

Note the two scheduled communication events (CD tokens and responses) necessary in the
macrocycle schedule to enable communication between pressure transmitter PT 501’s PID function
block and valve positioner PV 501’s analog output function block. The total (minimum) macrocycle
time for this control loop is 330 milliseconds16 .

16 This is not an unreasonable loop execution time for a pressure control system, especially if it is a gas process.

Liquid pressure control is notoriously fast, and may experience trouble with a loop dead time of almost one-third
of a second. For historical comparison, this execution time is on par with that of the original Honeywell TDC 2000
distributed control system, a hardware platform that has controlled many thousands of loops in oil refineries, pulp
mills, chemical processing plants, and other industrial facilities worldwide. The practicality of a digital control loop
with one-third second response is therefore proven by decades of practical application.
872 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

Now let’s examine the same PID pressure control system with the PID function block moved to
the valve. Here you see the function block diagram followed immediately by the updated macrocycle
schedule:

Note that the macrocycle time is 30 milliseconds than before (300 milliseconds total as opposed to
330 milliseconds), since there is one less scheduled communications event happening. This represents
a time reduction of almost 10% compared to the previous example, simply by assigning one function
block to a different device on the segment.
16.4. FF FUNCTION BLOCKS 873

16.4.3 Standard function blocks


The FF standard specifies many different function blocks for the construction of control algorithms.
Ten of them are considered “basic” FF function blocks:

• AI – Analog Input
• AO – Analog Output
• B – Bias
• CS – Control Selector
• DI – Discrete Input
• DO – Discrete Output
• ML – Manual Loader
• PD – Proportional/Derivative control
• PID – Proportional/Integral/Derivative control
• RA – Ratio

Nineteen more “Advanced” function blocks are incorporated in the FF standard:

• Pulse Input
• Complex Analog Output
• Complex Discrete Output
• Step Output PID
• Device Control
• Setpoint Ramp
• Splitter
• Input Selector
• Signal Characterizer
• Dead Time
• Calculate
• Lead/Lag
• Arithmetic
• Integrator
874 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

• Timer

• Analog Alarm
• Discrete Alarm

• Analog Human Interface

• Discrete Human Interface

Five more function blocks are specified as well:

• Multiple Analog Input

• Multiple Analog Output

• Multiple Digital Input

• Multiple Digital Output

• Flexible Function Block

The primary benefit of standardization is that the end-user may choose FF instruments
manufactured by any standard-compliant vendor, and those function blocks should behave the same
as the equivalent function blocks within any other manufacturer’s model of FF device. There are, of
course, examples where manufacturers have equipped their FF devices with “extended” capability
function blocks going beyond the Fieldbus Foundation standard, and the user must beware of this.
16.4. FF FUNCTION BLOCKS 875

16.4.4 Device-specific function blocks


In addition to the function blocks necessary to construct control schemes, all FF instruments contain
one Resource block and usually one or more Transducer blocks describing details specific to that
instrument. The following screenshot shows all function blocks within a Rosemount model 3095MV
Fieldbus transmitter:

The Resource block appears first in this list, followed by three transducer blocks, then followed
by the palette of general function blocks for use in constructing control algorithms. Information
contained in the Resource block of an FF instrument includes the following:

• Identifier (the 32-byte code unique to every FF device)


• Type of device
• Device revision level
• Memory total and available (free) capacity
• Computation time
• Available features listing
• Current device state (Initializing, Standby, On-line, Failed, etc.)

Transducer blocks provide a means of organizing data relevant to the actual sensing inputs,
outputs, calculated variables, and graphic displays of a FF device. There need not be a one-to-
one correspondence between the number of transducer blocks in an FF device and the number of
physical I/O channels it has. For example, in the Rosemount 3095MV multivariable transmitter,
transducer block 1100 handles all physical measurement inputs (pressure and temperature sensors)
while transducer block 1200 is reserved for inferred mass flow (based on calculations performed on
the raw sensor measurements) and transducer block 1300 handles data for the liquid crystal display
(LCD).
876 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.4.5 FF signal status


As mentioned earlier, function block programming bears a strong resemblance to analog function-
block circuit design, where specific tasks are divided up into discrete elements, those elements
connected together to form a larger system with more complex functionality. One of the important
distinctions between legacy analog function block circuit design and FF function block programming
is the data content of the lines connecting blocks together. In the analog world, each connecting
line (wire) carries exactly one piece of information: a single variable represented in analog form
by a voltage signal. In the world of Fieldbus, each connecting line carries not only the variable’s
numerical value, but also a status and in some cases an engineering unit (a unit of measurement).
For example, a Fieldbus transmitter sensing temperature might output a digital process variable
(PV) signal of “342 degrees Celsius, Good”, whereas a temperature transmitter with an analog (e.g.
4-20 mA) output is merely able to send a signal representing the temperature (no measurement unit
or status information).
The inclusion of status along with data is a powerful concept, with roots in scientific practice.
Scientists, as a rule, do their best to report the degree of confidence associated with the data they
publish from experiments. Data is important, of course, but so is the degree of certainty with which
that data was obtained. Obviously, data gathered with instruments of low quality (high uncertainty)
will have different significance than data gathered with instruments of high precision and impeccable
accuracy (low uncertainty). Any scientist basing research on a set of scientific data published by
another scientist will have access to the data’s certainty in addition to the data itself – a very valuable
detail.
By the same token, data “published” by a FF device is only as good as the health of that
device. A FF transmitter exhibiting noisy or wildly fluctuating measurements might very well be
nearing complete failure, and therefore its published data should be treated with skepticism. Since
FF devices are “smart” (meaning, among other things, they have self-diagnostic capability), they
have the ability to flag their own data as “Bad” if an internal fault is detected. The data still gets
published and sent to other FF function blocks, but the status sent along with that data warns all
downstream blocks of its uncertainty.
The three major status conditions associated with every FF signal passed between function blocks
are Good, Bad, and Uncertain. Sub-status states also exist17 to further delineate the nature of
the uncertainty. “Sensor Failure” is an example of a sub-status value, describing the reason for a
“Bad” status value from a process transmitter.

17 For example, sub-statuses for a “Bad” status include out of service, device failure, sensor failure, and non-specific.

Sub-statuses for an “Uncertain” status include last usable value (LUV), sensor conversion not accurate, engineering
unit range violation, sub-normal, and non-specific.
16.4. FF FUNCTION BLOCKS 877

In computer science, there is a truism that “Garbage In equals Garbage Out,” sometimes
abbreviated as GIGO. No algorithm, no matter how advanced, can guarantee and output of good
data from an input of bad data. This principle finds intelligent application in FF function block
programming, as the blocks are programmed to switch mode when “Bad” or “Uncertain” input
statuses are detected. For example, here are some of the possible actions a function block may be
configured to take upon detection of a “Bad” input signal status:

• Set output signal to last “Good” value

• Fail high (set output signal to top-of-range value)

• Fail low (set output signal to bottom-of-range value)

Furthermore, status values are propagated in a FF system from the input to the output of every
function block connected in series, reflecting the effect of an input signal’s uncertainty throughout
the entire control loop. For example, an analog input (AI) block sending a “Bad” status signal
to the process variable input of a PID control block will have its “Bad” status propagated to the
output of the PID block as well. When that “Bad” PID output signal reaches the analog output
(AO) function block, that final block knows the signal is not to be trusted, because its origin (the AI
block) is untrustworthy. Any function blocks receiving the PID block’s output signal will likewise
sense the “Bad” status and further propagate that status to their output signal(s). This “status
propagation” ensures all function blocks in a Fieldbus control system are “aware” of the input data
status, so that a “Bad” measurement does not result in “bad” control decisions made on that data.
878 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.4.6 Function block modes


All FF function blocks must support multiple modes of operation, describing how the block should
execute its intended function. Several different function block modes are commonly found for FF
function blocks, though not all FF function blocks support all of these modes:

• OOS (Out Of Service) – All function blocks are required to support this mode, where the block
freezes its output at the last calculated value and attaches a “Bad” status value
• Man (Manual) – the output of the block is determined by human control
• Auto (Automatic) – the function block processes information normally
• Cas (Cascade) – the function block processes information normally
• Iman (Initialization Manual) – the output of the block is fixed at its last calculated value, due
to the output signal path being incomplete
• LO (Local Override) – the output of the block is fixed at its last calculated value, due to a
detected fault condition within the device
• RCas (Remote Cascade) – the function block processes information normally based on a
setpoint sent from a remote source to the block’s RCas In input
• ROut (Remote Output) – the function block passes data to its output sent from a remote
source to the block’s ROut In input

Instrumentation technicians and professionals are already familiar with the concept of a controller
having “Automatic,” “Manual,” and even “Cascade” operating modes, but Fieldbus function block
programming extends this general concept to each and every block. With FF, each block may
be independently set into “Automatic” or “Manual” mode, which is a useful tool for testing FF
algorithms and troubleshooting complex FF control schemes. The “Out of Service” mode, for
instance, is commonly set by an instrument technician as he or she performs routine maintenance
on an FF device (e.g. checking the calibration of an FF transmitter).

In addition to these operating modes for FF function blocks (not all of which are supported by
all FF blocks), FF function blocks also have four mode categories describing valid modes for the
block to be in under various conditions:

• Target
• Actual
• Permitted
• Normal

A block’s “Target” mode is the mode it strives to be in if possible. The “Actual” mode is the
mode the block is in at the present time. “Permitted” modes list all the different modes which
may be used as “target” modes. “Normal” is a category describing to an operator interface what a
block’s normal operation mode should be, but the block itself does not heed this setting.
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 879

16.5 H1 FF device configuration and commissioning


Fieldbus devices require far more attention in their initial setup and commissioning than their analog
counterparts. Unlike an analog transmitter, for example, where the only “configuration” settings are
its zero and span calibration adjustments, a FF transmitter has a substantial number of parameters
describing its behavior. Some of these parameters must be set by the end-user, while others are
configured automatically by the host system during the start-up process, which we generally refer
to as commissioning.

16.5.1 Configuration files


In order for a FF device to work together with a host system (which may be manufactured by
a different company), the device must have its capabilities explicitly described so the host system
“knows what to do with it.” This is analogous to the need for driver files when interfacing a personal
computer with a new peripheral device such as a printer, scanner, or modem.
A standardized language exists for digital instrumentation called the Device Description
Language, or DDL. All FF instrument manufacturers are required to document their devices’
capabilities in this standard-format language, which is then compiled by a computer into a set of files
known as the Device Description (DD) files for that instrument. DDL itself is a text-based language,
much like C or Java, written by a human programmer. The DD files are generated from the DDL
source file by a computer, output in a form intended for another computer’s read-only access. For FF
instruments, the DD files end in the filename extensions .sym and .ffo, and may be obtained freely
from the manufacturer or from the Fieldbus Foundation18 website (http://www.fieldbus.org).
The .ffo DD file is in a binary format readable only by a computer with the appropriate “DD
services” software active. The .sym DD file is ASCII-encoded, making it viewable by a human by
using a text editor program (although you should not attempt to edit the contents of a .sym file).
Other device-specific files maintained by the host system of a FF segment are the Capability
and Value files, both referred to as Common Format Files, or .cff files. These are text-readable
(ASCII encoded) digital files describing device capability and specific configuration values for the
device, respectively. The Capability file for a FF device is typically downloaded from either the
manufacturer’s or the Fieldbus Foundation website along with the two DD files, as a three-file set
(filename extensions being .cff, .sym, and .ffo, respectively). The Value file is generated by
the host system during the device’s configuration, storing the specific configuration values for that
specific device and system tag number. The data stored in a Value file may be used to duplicate the
exact configuration of a failed FF device, ensuring the new device replacing it will contain all the
same parameters.

18 One of the tasks of the Fieldbus Foundation is to maintain approved listings of FF devices in current manufacture.

The concept is that whenever a manufacturer introduces a new FF device, it must be approved by the Fieldbus
Foundation in order to receive the Fieldbus “badge” (a logo with a stylized letter “F”). Approved devices are cataloged
by the Fieldbus Foundation, complete with their DD file sets. This process of approval is necessary for operational
compatibility (called interoperability) between FF devices of different manufacture. Without some form of centralized
standardization and approval, different manufacturers would invariably produce devices mutually incompatible with
each other.
880 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

A screenshot of a .cff Capability file opened in a text editor program appears here, showing
the first few lines of code describing the capabilities of a Yokogawa model DYF vortex flowmeter:

As with “driver” files needed to make a personal computer peripheral device function, it is
important to have the correct versions of the Capability and DD files installed on the host system
computer before attempting to commission the device. It is permissible to have Capability and DD
files installed that are newer than the physical device, but not visa-versa (a newer physical device
than the Capability and DD files). This requirement of proper configuration file management is a
new task for the instrument technician and engineer to manage in their jobs. With every new FF
device installed in a control system, the proper configuration files must be obtained, installed, and
archived for safe keeping in the event of data loss (a “crash”) in the host system.
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 881

16.5.2 Device commissioning


This section illustrates the commissioning of a Fieldbus device on a real segment, showing screenshots
of a host system’s configuration menus. The particular device happens to be a Fisher DVC5000f valve
positioner, and the host system is a DeltaV distributed control system manufactured by Emerson.
All configuration files were updated in this system prior to the commissioning exercise. Keep in
mind that the particular steps taken to commission any FF device will vary from one host system
to another, and may not follow the sequence of steps shown here.
882 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

If an unconfigured FF device is connected to an H1 network, it appears as a “decommissioned”


device. On the Emerson DeltaV host system, all decommissioned FF devices appear within a
designated folder on the “container” hierarchy. Here, my Fisher DVC5000 device is shown highlighted
in blue. A commissioned FF device appears just below it (PT 501), showing all available function
blocks within that instrument:
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 883

Before any FF device may be recognized by the DeltaV host system, a “placeholder” and tag
name must be created for it within the segment hierarchy. To do this, a “New Fieldbus Device”
must be added to the H1 port. Once this option is selected19 , a window opens up to allow naming
of this new device:

Here, the tag name “PV 501” has been chosen for the Fisher valve positioner, since it will work
in conjunction with the pressure transmitter PT 501 to form a complete pressure control loop. In
addition to a tag name (PV 501), I have also added a text description (“Pressure control valve
(positioner)”), and specified the device type (Fisher DVC5000f with AO, PID, and IS function block
capability). The DeltaV host system chose a free address for this device (35), although it is possible
to manually select the desired device address at this point. Note the “Backup Link Master” check
box in this configuration window, which is grey in color (indicating the option is not available with
this device).
19 On the Emerson DeltaV system, most options are available as drop-down menu selections following a right-mouse-

button click on the appropriate icon.


884 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

After the device information has been entered for the new tag name, a “placeholder” icon appears
within the hierarchy for the H1 segment (connected to Port 1). You can see the new tag name
(PV 501) below the last function block for the commissioned FF instrument (PT 501). The actual
device is still decommissioned, and appears as such:
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 885

By right-clicking on the new tag name and selecting the “Commission” option, a new window
opens to allow you to select which decommissioned device should be given the new tag name. Since
there is only one decommissioned device on the entire segment, only one option appears within the
window:
886 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

After selecting the decommissioned device you wish to commission, the DeltaV host system
prompts you to reconcile any differences between the newly created tag name placeholder and the
decommissioned device. It is possible the Resource and/or Transducer block parameters set within
the placeholder do not match what is currently set in the decommissioned device, if that is what
you desire. Otherwise, the existing block parameters within the decommissioned device will remain
unchanged.
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 887

After selecting (or not selecting) the “reconcile” option, the DeltaV system prompts you to
confirm commissioning of the device, after which it goes through a series of animated20 display
sequences as the device transitions from the “Standby” state to the “Commissioned” state:

As you can see, the commissioning process is not very fast. After nearly one full minute of waiting,
the device is still “Initializing” and not yet “Commissioned.” The network speed of 31.25 kbps and
the priority of scheduled communications are limiting factors when exchanging large quantities
of configuration data over a FF H1 network segment. In order for device configuration to not
interrupt or slow down process-critical data transfers, all configuration data exchanges must wait
for unscheduled time periods, and then transmit at the relatively slow rate of 31.25 kbps when the
alloted times arrive. Any technician accustomed to the fast data transfer rates of modern Ethernet
devices will feel as though he or she has taken a step back in time when computers were much slower.

20 Animated graphics on the Emerson DeltaV control system prominently feature an anthropomorphized globe valve

named Duncan. There’s nothing like a computer programmer with a sense of humor . . .
888 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

After commissioning this device on the DeltaV host system, several placeholders in the hierarchy
appear with blue triangles next to them. In the DeltaV system, these blue triangle icons represent
the need to download database changes to the distributed nodes of the system:
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 889

After “downloading” the data, the new FF valve positioner shows up directly below the existing
pressure transmitter as a commissioned instrument, and is ready for service. The function blocks
for pressure transmitter PT 501 have been “collapsed” back into the transmitter’s icon, and the
function blocks for the new valve positioner (PV 501) have been “expanded” for view:

As you can see, the new instrument (PV 501) does not offer nearly as many function blocks
as the original FF instrument (PT 501). The number of Fieldbus function blocks offered by any
FF instrument is a function of that instrument’s computational ability, internal task loading, and
the whim of its designers. Obviously, this is an important factor to consider when designing a FF
segment: being sure to include instruments that contain all the necessary function blocks to execute
the desired control scheme. This may also become an issue if one of the FF instruments in a control
scheme is replaced with one of a different manufacturer or model, having fewer available function
blocks. If one or more mission-critical function blocks is not available in the replacement instrument,
a different replacement must be sought.
890 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.5.3 Calibration and ranging


Calibration and ranging for a FF device is similar in principle to any other “smart” measurement
instrument. Unlike analog instruments, where the “zero” and “span” adjustments completely define
with the instrument’s calibration and range, calibration and ranging are two completely different
functions in a digital instrument.
To begin, we will examine a block diagram of an analog pressure transmitter showing the zero
and span adjustments, with analog signaling between all functions inside the transmitter:

Analog pressure transmitter

Calibration adjustments
Damping Zero Span

(Bias) (Gain)

Apply pressure
here
Sensor

Low-pass Driver
filter Amplifier 4-20 mA
analog circuit analog analog circuit analog

The “zero” and “span” adjustments together define the mathematical relationship between sensed
pressure and current output. Calibration of an analog transmitter consists of applying known
(reference standard) input stimuli to the instrument, and adjusting the “zero” and “span” settings
until the desired current output values are achieved. The goal in doing this is to ensure accuracy of
measurement.
The “range” of a transmitter is simply the set of input values it will measure and translate into
an intelligible output signal. Ranging an analog transmitter consists (also) of adjusting the “zero”
and “span” settings until the output signal corresponds to the desired LRV and URV points of the
measured variable. For an analog transmitter, the functions of ranging and calibration are always
performed by the technician at the same time: to calibrate an analog transmitter is to range it, and
visa-versa.
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 891

By contrast, a “smart” (digital) transmitter equipped with an analog 4-20 mA current output
distinctly separates the calibration and range functions, each function determined by a different set
of adjustments:

"Smart" pressure transmitter

Range adjustments
LRV URV
Trim adjustments Trim adjustments
Low High Damping Low High
Apply pressure
here Analog-to- Digital-to
Sensor

Digital Micro- Analog 4-20 mA


analog digital processor digital analog
Converter Converter
(ADC) (DAC)

Calibration of a “smart” transmitter consists of applying known (reference standard) input


stimuli to the instrument and engaging the “trim” functions until the instrument accurately registers
the input stimuli. For a “smart” transmitter equipped with analog electronic (4-20 mA) output,
there are two sets of calibration trim adjustments: one for the analog-to-digital converter and another
for the digital-to-analog converter.
Ranging, by contrast, establishes the mathematical relationship between the measured input
value and the output current value. To illustrate the difference between calibration and ranging,
consider a case where a pressure transmitter is used to measure water pressure in a pipe. Suppose
the transmitter’s pressure range of 0 to 100 PSI translates to a 4-20 mA output current. If we
desired to re-range an analog transmitter to measure a greater span of pressures (say, 0 to 150 PSI),
we would have to re-apply known pressures of 0 PSI and 150 PSI while adjusting the zero and span
potentiometers so 0 PSI input gave a 4 mA output value and 150 PSI input gave a 20 mA output
value. The only way to re-range an analog transmitter is to completely re-calibrate it.
In a “smart” (digital) measuring instrument, however, calibration against a known (standard)
source need only be done at the specified intervals to ensure accuracy over long periods of time
892 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

given the instrument’s inevitable drift. If our hypothetical transmitter were recently calibrated
against a known pressure standard and trusted not to have drifted since the last calibration cycle,
we could re-range it by simply changing the URV (upper range value) so that an applied pressure
of 150 PSI now commands it to output 20 mA instead of an applied pressure of 100 PSI as was
required before. Digital instrumentation allows us to re-range without re-calibrating, representing a
tremendous savings in technician time and effort.

The distinction between calibration and ranging tends to confuse people, even some experienced
technicians. When working with an analog transmitter, you cannot calibrate without setting the
instrument’s range as well: the two functions are merged in the same procedures of adjusting zero
and span. When working with a digital transmitter, however, the function of calibration and the
function of ranging are entirely separate.
For a detailed analogy explaining the distinction between calibration and ranging, refer to section
17.5 beginning on page 917.
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 893

Fieldbus instruments, of course, are “smart” in the same way, and their internal block diagrams
look much the same as the “smart” transmitters with analog current output, albeit with a far greater
number of parameters within each block. The rectangle labeled “XD” in the following diagram is
the Transducer block, while the rectangle labeled “AI” is the Analog Input block:

FF pressure transmitter

Trim adjustments
Cal_Point_Lo Cal_Point_Hi

Range adjustments
XD_Scale OUT_Scale
Damping (0% to 100%) (0% to 100%)

Apply pressure OUT_D


here Analog-to-
Sensor

Digital XD AI OUT FF data


Converter
(ADC) Primary_Value

Cal_Unit L_Type
Sensor_Range PV_Ftime
Sensor_Cal_Date Lo_Alm
Sensor_Cal_Who Hi_Alm
etc. etc.

Calibration (trim) values are set in the transducer block along with the engineering unit, making
the output of the transducer block a digital value scaled in real units of measurement (e.g. PSI,
kPa, bar, mm Hg, etc.) rather than some raw ADC “count” value. The analog input function
block receives this pre-scaled “Primary Value” and translates it to another scaled value based on
a proportionality between transducer scale values (XD Scale high and low) and output scale values
(OUT Scale high and low). The L Type parameter residing in the analog input block determines
whether the ranging is direct (output value equals primary input value), indirect (proportionately
scaled), or indirect with square-root characterization (useful for translating a differential pressure
measurement across a flow element into an actual fluid flow rate).
To calibrate such a transmitter, the transducer block should first be placed in Out Of Service
(OOS) mode using a handheld FF communicator or the Fieldbus host system. Next, a standard
(calibration-grade) fluid pressure is applied to the transmitter’s sensor and the Cal Point Lo
parameter is set to equal this applied pressure. After that, a greater pressure is applied to the sensor
and the Cal Point Hi parameter is set to equal this applied pressure. After setting the various
894 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

calibration record-keeping parameters (e.g. Sensor Cal Date, Sensor Cal Who), the transducer
block’s mode may be returned to Auto and the transmitter used once again.
To range such a transmitter, a correspondence between sensed pressure and the process variable
must be determined and entered into the analog input function block’s XD Scale and OUT Scale
parameters. If the pressure transmitter is being used to indirectly measure something other than
pressure, these range parameters will become very useful, not only proportioning the numerical values
of the measurement, but also casting the final digital output value into the desired “engineering
units” (units of measurement).
The concept of ranging a FF transmitter makes more sense viewed in the context of a real
application. Consider this example, where a pressure transmitter is being used to measure the level
of ethanol (ethyl alcohol) stored in a 40 foot high tank. The transmitter connects to the bottom of
the tank by a tube, and is situated 10 feet below the tank bottom:

(vent)

100%

Measurement
span = 40 ft Ethanol FF level
γ = 49.3 lb/ft 3 transmitter

0%
10 ft H L

Hydrostatic pressure exerted on the transmitter’s sensing element is the product of liquid density
(γ) and vertical liquid column height (h). When the tank is empty, there will still be a vertical column
of ethanol 10 feet high applying pressure to the transmitter’s “high” pressure port. Therefore, the
pressure seen by the transmitter in an “empty” condition is equal to:
3
Pempty = γhempty = (49.3 lb/ft )(10 ft)

2
Pempty = 493 lb/ft = 3.424 PSI
16.5. H1 FF DEVICE CONFIGURATION AND COMMISSIONING 895

When the tank is completely full (40 feet), the transmitter sees a vertical column of ethanol 50
feet high (the tank’s 40 foot height plus the suppression height of 10 feet created by the transmitter’s
location below the tank bottom). Therefore, the pressure seen by the transmitter in a “full” condition
is equal to:
3
Pf ull = γhf ull = (49.3 lb/ft )(50 ft)

2
Pf ull = 2465 lb/ft = 17.12 PSI
The control system does not “care” about the transmitter’s 10-foot suppression, though. All it
needs to know is where the ethanol level is in relation to the tank bottom (relative to an “empty”
condition). Therefore, when we range this transmitter for the application, we will set the analog
input block’s range parameters as follows21 :

AI block parameter Range values


XD Scale 3.424 PSI to 17.12 PSI
OUT Scale 0 feet to 40 feet
L Type Indirect

Now, the ethanol tank’s level will be accurately represented by the FF transmitter’s output,
both in numeric value and measurement unit. An empty tank generating a pressure of 3.424 PSI
causes the transmitter to output a “0 feet” digital signal value, while a full tank generating 17.12
PSI of pressure causes the transmitter to output a “40 feet” digital signal value. Any ethanol levels
between 0 and 40 feet will likewise be represented proportionally by the transmitter.
If at some later time the decision is made to re-locate the transmitter so it no longer has a 10 foot
“suppression” with regard to the tank bottom, the XD Scale parameters may be adjusted to reflect
the corresponding shift in pressure range, and the transmitter will still accurately represent ethanol
level from 0 feet to 40 feet, without adjusting or re-calibrating anything else in the transmitter.
Another useful application of indirect scaling is to set the OUT Scale range of the transmitter to
represent an inferred variable. In the case of a liquid level transmitter directly sensing hydrostatic
pressure, the output could be scaled in units of gallons volume, or even kilograms of liquid mass.

21 When configuring the XD Scale high and low range values, be sure to maintain consistency with the transducer

block’s Primary Value Range parameter unit. Errors may result from mis-matched measurement units between the
transducer block’s measurement channel and the analog input block’s XD Scale parameter.
896 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

In a similar manner, a differential pressure transmitter sensing pressure dropped across an orifice
plate could be indirectly scaled to output a flow rate in gallons per minute, since there is a known
proportionality between the (square root) of pressure drop and the flow rate for any given orifice
element:

Fieldbus Scaled signal =


FT
0 to 350 GPM
H L

Pressure drop =
0 to 125 "W.C.

Flow

Orifice plate

AI block parameter Range values


XD Scale 0 inches water to 125 inches water
OUT Scale 0 GPM to 350 GPM
L Type Indirect Square Root

16.6 H1 FF segment troubleshooting


Feedback obtained from industrial users of FF reveal a common pattern: Fieldbus is a wonderful
technology, but only if it is properly installed. Poor installations, usually driven by a desire to
minimize capital expenses, will cause numerous problems during commissioning and operation.
One relatively easy way to avoid problems caused by short-circuits in FF wiring is to use coupling
devices with built-in short-circuit protection. This feature does not add significant cost to the
coupling device, and it will prevent the entire segment from failing due to a short-circuit on a single
spur cable or within a device. Use coupling devices with indicator LEDs as well, since these give
easy visual verification of network power which may greatly accelerate FF segment troubleshooting
when the need arises.
16.6. H1 FF SEGMENT TROUBLESHOOTING 897

16.6.1 Cable resistance


A simple check of an H1 segment’s cabling consists of a series of resistance measurements performed
with the segment unpowered (as is standard with any electrical resistance check), with all FF
devices disconnected, and with the cable entirely disconnected (all three conductors) at the host
end. The following table shows guidelines published by the Fieldbus Foundation for H1 segment
cable resistance measurements:

Measurement points Expected resistance


Between (+) and (-) conductors > 50 kΩ, increasing over time
Between (+) conductor and shield (ground) > 20 MΩ
Between (-) conductor and shield (ground) > 20 MΩ
Between shield conductor and earth ground > 20 MΩ

The last resistance check shown in the table checks for the presence of ground connections in the
shield conductor other than the one ground connection at the host end (which has been disconnected
for the purposes of the test). Since the shield should only be grounded at one point22 (to avoid ground
loops), and this one point has been disconnected, the shield conductor should register no continuity
with earth ground during the test.
The necessity of disconnecting all FF devices and host system interfaces is essential so that
the resistance measurements reflect the health of the cable and nothing else. The presence of any
FF devices on the segment would substantially affect the resistance measurements, particularly
resistance between the signal (+ and -) conductors.

16.6.2 Signal strength


The Fieldbus Foundation specifies a signal voltage (peak-to-peak) range of 350 mV to 700 mV for a
healthy FF segment. Excessive signal voltage levels point to a lack of terminator resistor(s), while
insufficient voltage levels point to an over-abundance of terminators (or perhaps even a device short):

Signal voltage (pk-pk) Interpretation


800 mV or more Possibly missing terminator resistor
350 mV to 700 mV Good signal strength
150 mV to 350 mV Marginally low signal – possible extra terminator resistor(s)
150 mV or less Too little signal to function

22 An alternative method of shield grounding is to directly connect it to earth ground at one end, and then

capacitively couple it to ground at other points along the segment length. The capacitor(s) provide an AC path
to ground for “bleeding off” any induced AC noise without providing a DC path which would cause a ground loop.
898 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.6.3 Electrical noise


FF, like all digital networks, are unaffected by noise voltage below a certain threshold. If noise
voltage is present in excessive quantity, though, it may cause bits to be misinterpreted, causing data
errors. The Fieldbus Foundation gives the following recommendations23 for noise voltage levels on
a FF segment:

Noise voltage (pk-pk) Interpretation


25 mV or less Excellent
25 mV to 50 mV Okay
50 mV to 100 mV Marginal
100 mV or more Poor

Fieldbus diagnostic tools measure noise on the network segment during times between message
frames, when there should be purely DC voltage between the two conductors.

16.6.4 Using an oscilloscope on H1 segments


A tool available in most instrument shops is a digital-storage oscilloscope, which may be used to
measure and display FF H1 signal waveforms for analysis of problems. Analog oscilloscopes are also
useful for network troubleshooting, but to a lesser degree24 .
When using an oscilloscope to measure FF H1 signals, it is very important not to connect either
of the FF segment conductors to earth ground through the oscilloscope. Introducing such a “ground
fault” to the network segment will almost certainly cause communication problems, in addition to
whatever problems already exist that compel you to diagnose with an oscilloscope. If a single channel
of the oscilloscope is connected across the segment wires, the “ground” clip of the probe will force
one of those conductors to earth ground potential via the metal chassis of the oscilloscope which is
grounded through the third prong of the power plug for safety. An exception to this rule is if the
oscilloscope itself is battery-powered and has an insulated case where no ground connection is made
through the surface it sits on or the human hand that holds it. Otherwise, using a single channel on
a line-powered oscilloscope to measure network signals is inviting trouble.

23 Bear in mind the tolerable level for noise will vary with signal voltage level as well. All other factors being equal,

a strong signal is less affected by the presence of noise than a weak signal (i.e. the signal-to-noise ratio, or SNR, is
crucial).
24 It is impossible to “lock in” (trigger) non-periodic waveforms on an analog oscilloscope, and so most network

communications will appear as an incomprehensible blur when viewed on this kind of test instrument. Digital
oscilloscopes have the ability to “capture” and display momentary pulse streams, making it possible to “freeze”
any portion of a network signal for visual analysis.
16.6. H1 FF SEGMENT TROUBLESHOOTING 899

If a line-powered oscilloscope must be used, the proper way to configure it is for differential
channel measurement. In this mode, the oscilloscope will register the voltage between two probe
tips, rather than register the voltage between a single probe tip and earth ground.

Power conditioner
100 Ω 10 mH Fieldbus junction box Fieldbus junction box
Trunk cable Trunk cable
100 Ω 100 Ω

24 VDC 1 µF
Terminator 1 µF
Terminator

Spur cable

Spur cable

H L

FF transmitter
FF valve
Volts/Div A Sec/Div
1
0.5 0.2 0.1
50 m 5m
1m
250 µ
50 µ
10 µ
positioner
2 20 m Position 25 m 2.5 µ
5 10 m 100 m 0.5 µ

10 5m 500 m 0.1 µ
20 2m 1 0.025 µ
2.5 off
DC Gnd AC
X-Y
Position
A B Alt Chop Add
Triggering Level
A
B
Volts/Div B Alt Holdoff
0.5 0.2 0.1
50 m Line
1 Position
2 20 m Ext.
5 10 m
Ext. input
10 5m
Invert Intensity Focus Beam find Norm AC
20 2m Auto DC
DC Gnd AC Off Single LF Rej
Cal 1 V Gnd Trace rot. Reset Slope
HF Rej

Oscilloscope

Configuring a dual-trace oscilloscope for differential mode is quite simple. On the front panel
of the oscilloscope, you must set the multi-trace controls to the Add mode, where one trace on the
screen represents the instantaneous sum of the two inputs (channels “A” and “B”). The volts per
division “sensitivity” of both channels should be set to exactly the same value. Also, the Invert
control must be engaged for the second input channel, forcing that channel’s signal to be inverted
(register upside-down on the screen). The summation of channel “A” and an inverted channel “B”
is equivalent to the mathematical difference (subtraction) between “A” and “B,” which means the
single trace on the screen now represents the difference of potential between the two probe tips. The
oscilloscope now behaves as an ungrounded voltmeter, where neither of the test leads is referenced
to earth ground.
900 CHAPTER 16. FOUNDATION FIELDBUS INSTRUMENTATION

16.6.5 Message re-transmissions


Aside from voltage parameters (signal strength, noise amplitude), another good indicator of FF
segment health is the number of message re-transmissions over time. Certain types of communication
on an H1 segment require verification of a received signal (particularly client/server VCRs such as
those used to communicate operator setpoint changes and diagnostic messages). If the signal received
by the client FF device appears corrupted, the device will request a re-transmission of the message
from the server device. Re-transmission events, therefore, are an indication of how often messages
are getting corrupted, which is a direct function of signal integrity in a Fieldbus segment.
Most host systems provide re-transmission statistics in much the same way that computers
communicating via TCP/IP protocol have the ability to display the number of “lost” data packets
over time. Since nearly all FF segments function with a host system connected, this becomes a
built-in diagnostic tool for technicians to troubleshoot FF network segments.
Hand-held diagnostic tools are also manufactured to detect signal voltage levels, noise voltage
levels, and message re-transmissions. Relcom manufactures both the model FBT-3 and model FBT-
6 hand-held Fieldbus testers at the time of this writing (2009), the FBT-6 being the more capable
of the two test devices.
16.6. H1 FF SEGMENT TROUBLESHOOTING 901

References

“Fieldbus Book – A Tutorial” (TI 38K02A01-01E) 1st Edition , Yokogawa Electric Corporation,
Tokyo, Japan, 2001.

“FOUNDATION Fieldbus Application Guide – 31.25 kbit/s Intrinsically Safe Systems” (AG 163)
Revision 2.0, The Fieldbus Foundation, Austin, TX, 2004.

“FOUNDATION Fieldbus Blocks” (00809-0100-4783) Revision BA, Rosemount, Inc., Chanhassen,


MN, 2000.

“FOUNDATION Fieldbus System Engineering Guidelines” (AG 181) Revision 2.0, The Fieldbus
Foundation, Austin, TX, 2004.

“FOUNDATION Specification System Architecture” (FF 581) Revision FS 1.1, The Fieldbus
Foundation, Austin, TX, 2000.

Lipták, Béla G. et al., Instrument Engineers’ Handbook – Process Software and Digital Networks,
Third Edition, CRC Press, New York, NY, 2002.

“Model 3051 Transmitter with FOUNDATION Fieldbus” (00809-0100-4774) Revision AA,


Rosemount, Inc., Chanhassen, MN, 1999.

“RSFieldbus – Configuring and Programming Foundation Fieldbus Devices Application Guide”


(RSFBUS-AT001A-EN-E), Rockwell Software, Inc., Milwaukee, WI, 2004.

Smith, John I., Modern Operational Circuit Design, Wiley-Interscience, John Wiley & Sons, Inc.,
New York, NY, 1971.

Park, John; Mackay, Steve; Wright, Edwin; Practical Data Communications for Instrumentation
and Control, IDC Technologies, published by Newnes (an imprint of Elsevier), Oxford, England,
2003.

“Rosemount 3095 MultiVariable Mass Flow Transmitter with HART or FOUNDATION Fieldbus
Protocol” (00809-0100-4716) Revision JA, Rosemount, Inc., Chanhassen, MN, 2008.

“The FOUNDATION Fieldbus Primer” Revision 1.1, Fieldbus Inc., Austin, TX, 2001.

“Wiring and Installation 31.25 kbit/s, Voltage Mode, Wire Medium Application Guide” (AG-140)
Revision 1.0, Fieldbus Foundation, Austin, TX, 2000.

You might also like