Professional Documents
Culture Documents
(B. R. Mehta, Y. J. Reddy) Applying FOUNDATION Fie (B-Ok - CC)
(B. R. Mehta, Y. J. Reddy) Applying FOUNDATION Fie (B-Ok - CC)
FOUNDATION Fieldbus
By B. R. Mehta
and Y. J. Reddy
Notice
The information presented in this publication is for the general education of the reader. Because nei-
ther the author nor the publisher has any control over the use of the information by the reader, both the
author and the publisher disclaim any and all liability of any kind arising out of such use. The reader is
expected to exercise sound professional judgment in using any of the information presented in a particu-
lar application.
Additionally, neither the author nor the publisher has investigated or considered the effect of any
patents on the ability of the reader to use any of the information in a particular application. The reader is
responsible for reviewing any possible patents that may affect any particular use of the information pre-
sented.
Any references to commercial products in the work are cited as examples only. Neither the author
nor the publisher endorses any referenced commercial product. Any trademarks or tradenames refer-
enced belong to the respective owner of the mark or name. Neither the author nor the publisher makes
any representation regarding the availability of any referenced commercial product at any time. The
manufacturer’s instructions on the use of any commercial product must be followed at all times, even if
in conflict with the information in this publication.
ISBN: 978-1-941546-71-0
No part of this work may be reproduced, stored in a retrieval system, or transmitted in any form or by
any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written per-
mission of the publisher.
ISA
67 T. W. Alexander Drive
P.O. Box 12277
Research Triangle Park, NC 27709
I would like to express my sincere thanks and gratitude to the people whose
significant contributions and support helped me to prepare and publish this
book through ISA.
We would also like to thank a number of people from other organizations for
their encouragement and assistance. First, I would like to thank Richard Tim-
oney, president and CEO of Fieldbus Foundation organization. Next, I would
like to express my gratitude to the Invensys organization that implemented
FOUNDATION Fieldbus technology on a Foxboro IA distributed control system,
v
vi Applying FOUNDATION Fieldbus
and the excellent support from the entire development team and all their
experts. My thanks also go to John Eva, executive sponsor for Reliance, who
assisted us with smoothly implementing the technology.
I would like to thank the ISA organization and especially Susan Colwell, who
helped to edit and publish the book.
Dr. B. R. Mehta
About the
Authors
vii
viii Applying FOUNDATION Fieldbus
Acknowledgment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
ix
x Applying FOUNDATION Fieldbus
Advanced Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.2 Analog Output (AO) Function Block . . . . . . . . . . . . . . . . . . . . . . . . 62
Setting the Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Set-Point Selection and Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Conversion and Status Calculation . . . . . . . . . . . . . . . . . . . . . . . . 66
Action on Fault Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Block Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Status Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
3.3 Proportional-Integral-Derivative Function Block . . . . . . . . . . . . . 68
Set-Point Selection and Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Feedforward Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Output Selection and Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Bumpless Transfer and Set-Point Tracking. . . . . . . . . . . . . . . . . . 77
Reverse and Direct Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Reset Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Status Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
3.4 Discrete Input Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
I/O Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Field Value Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Alarm Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Block Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Status Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Action on Failure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
3.5 Discrete Output Function Block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Setting the Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Action on Fault Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Block Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Status Handling/Action on Failure. . . . . . . . . . . . . . . . . . . . . . . . . 88
3.6 Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
xii Applying FOUNDATION Fieldbus
Bibliography. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .323
1
Introduction to
FOUNDATION Fieldbus
1
2 Applying FOUNDATION Fieldbus
the computer was reached. The flexibility and advantages are offset by the
high engineering and installation costs and system complexity. Figure 1-2
depicts the conceptual view of such an arrangement.
The next step in the evolution of the monitoring and control architecture is
driven by the emergence of a digital, multidrop communications protocol
standard. The digital communications link can interconnect the sensors and
4 Applying FOUNDATION Fieldbus
actuators to the control room; control can be located local to the devices; and
the digital devices can communicate directly to each other and mutually
exploit each other’s capabilities fully. The concept is called “fieldbus” control
and monitoring. The advantages include still lower wiring costs, still smaller
failure consequences, still smaller expansion costs (scalability), and multiven-
dor interoperability. Distributed control systems (DCSs) and programmable
logic controllers (PLCs) can be more easily and more tightly interconnected.
Manufacturers can take full advantage of the digital nature of the devices.
New features become feasible, which cannot be fully utilized without a digital
communications standard. Figure 1-4 represents the concept of control in the
context of digital communication buses.
With these standards and technologies, end users gained the power to imple-
ment tightly integrated digital control based on unified system architecture
and a high-speed backbone for plant operations. This in turn removed the pre-
vious constraints on device and subsystem interoperability. In the late 1990s,
the technology was recognized and adopted by the international governing
bodies, which were critical for its acceptance by the process industry. These
governing bodies included:
*Note: For the current status of the noted standards and technical reports,
visit www.isa.org/standards and www.iec.ch.
There are many devices on the market that are tested and registered as fully
interoperable fieldbus devices. The list of approved devices is available on the
FF website and is continuously updated with the addition of new devices.
The Foundation for SIF technical specifications enables end users to take
advantage of open fieldbus technologies to improve integration and interop-
erability of safety instrumentation, while reducing system and operational
costs such as annual shutdowns for test and validation purposes.
H1 (field device level bus) and high-speed Ethernet (HSE) in the FOUNDATION
Fieldbus automation architecture provide a distributed function block capa-
bility with HSE serving as a larger pipeline with increased speed and through-
put. The FOUNDATION Fieldbus for ROM solution expands these capabilities
by establishing open, nonproprietary specifications for an interface to wireless
field device networks, a wired HSE backhaul, and a wireless HSE backhaul
integrating various wireless sensor networks. As part of this solution, FOUN-
DATION Fieldbus for ROM provides an efficient way to bring large concentra-
tions of discrete and analog field I/O back to the control room using HSE
communication.
FOUNDATION Fieldbus for ROM promises to change the world of remote oper-
ations management for pipeline supervisory control and data acquisition
(SCADA), tank farms and terminals, offshore platforms, and water/waste-
water facilities. This solution is key to the improved integration of critical
functional areas, including machinery health monitoring, safety interlocks,
fire and gas detection systems, and video surveillance.
The Fieldbus Foundation is also a part of the Field Device Integration (FDI)
Cooperation Project, partnering with leading automation technology consor-
tiums, suppliers, and end users. This effort is aimed at a uniform device
integration solution for the process industries across all host systems, devices,
and protocols. It is based on rigorous use case requirements, incorporates the
best aspects of each member technology, and eliminates redundancies where
they may exist. The FDI solution does away with double efforts for customers
and vendors and preserves backward compatibility and operating system
independence.
• Fieldbus technology is based on the work of the IEC and the ISA50
standards committee.
lation growth of such systems over the years. The following are some of the
needs that drove the instrumentation and control engineering community to
look for options from the instrumentation and control systems suppliers, stan-
dards-based organizations, universities, and process industries.
Lack of Interoperability
When digital communications first began to appear, every vendor invented its
own independent protocol. Soon many different proprietary protocols existed
in the market, drastically limiting interoperability. Moreover, documentation
on the operation of these protocols was typically not available, and patents
generally protected the technology. Other manufacturers would have to pay
high licensing fees to implement the technology in their products—if they
were allowed to do so at all.
This situation caused several problems. One was that no vendor had a range
of products wide enough to provide all the parts a plant required, so it was
always necessary to mix and match equipment from different suppliers.
Because the equipment from different suppliers used incompatible protocols,
Chapter 1 – Introduction to FOUNDATION Fieldbus 11
a site was stuck with two undesirable options: either choose the preferred
device despite its poor integrating ability or settle for the less-than-best device
to gain better integration.
It was not possible to network the devices together most of the time, resulting
in isolated islands of automation. In one common scenario, a PLC and a DCS
would have to be connected, but digital integration of the system was impos-
sible since each component communicated using a different protocol.
Once a proprietary system had been purchased, the plant was essentially
“locked in” by the manufacturer. To maintain system integration the plant
would have to purchase replacement transmitters from the system supplier,
who was also the only one that could do system expansions. Replacement
parts and extras were priced much higher than the initial system, as the sup-
plier had a monopoly. Many plants were aware of this but were still willing to
pay the price of being tied to a single manufacturer simply because of the high
cost of struggling with system integration in a situation where incompatible
protocols required drivers.
Many instrument suppliers were also displeased with the situation. Despite
the fact that they often had higher-performance products, the instrument sup-
pliers were unable to compete with the systems suppliers simply because of
the incompatibilities. Furthermore, adapting their products to myriad proto-
cols was extremely costly, driving up product prices. In the absence of stan-
dards, there was anarchy in the market.
12 Applying FOUNDATION Fieldbus
Lack of Standardization
As the situation was clearly becoming intolerable, in 1985 industry experts
from users of instrumentation, organizations developing standards, consor-
tiums of suppliers, and universities began work on a vendor-independent
fieldbus standard. Networking is a key element of an open system, and the
development of an interoperable fieldbus supported by multiple vendors and
based on a freely available standard without licensing became imperative.
Some companies and nations wanted to see their existing technology and
national standards adopted as the international fieldbus standard. These fac-
tors further contributed to the delay in the ratification of the single fieldbus
standard. The world failed to agree on a single standard protocol, and as a
result several competing and noncompatible bus technologies were being
included in a multipart standard that continues to evolve and expand as the
original eight-part fieldbus standard is now up to 21 parts. (Refer to the bibli-
ography for the different parts of the standard.)
Benefits of Standardization
Once the FOUNDATION Fieldbus standards were in place, plants could truly
begin to benefit from integration without paying the high price of being tied
to a single manufacturer. FOUNDATION Fieldbus standards have already
Chapter 1 – Introduction to FOUNDATION Fieldbus 13
2.1 Introduction
FOUNDATION Fieldbus is an all-digital, serial, two-way communication sys-
tem. H1 (31.25 Kbps) interconnects “field” equipment such as sensors, actua-
tors, and I/O. High-speed Ethernet (HSE) (100 Mbps) provides integration of
high-speed controllers (such as PLCs), H1 subsystems (via a linking device),
data servers, and workstations. FOUNDATION Fieldbus is the only protocol
with the built-in capability to distribute the control applications across the
network. Management information system (MIS), enterprise resource plan-
ning (ERP), and human-machine interface (HMI) packages access the fieldbus
information via the data services.
The H1 fieldbus retains and optimizes the desirable features of the 4–20 milli-
ampere (mA) analog system such as:
15
16 Applying FOUNDATION Fieldbus
Wiring Savings
The H1 Fieldbus allows many devices to connect to a single wire pair, result-
ing in less wire, fewer intrinsic safety barriers, and fewer marshalling cabinets
being required. Multiple point-to-point analog wires, each carrying a single
parameter across the plant, are being replaced by a single pair of wires acting
like a bus and carrying the whole set of parameters (bringing advantages such
as less wiring, installation, and engineering). Figure 2-3 depicts the concept at
a high level, and each of these benefits is covered in chapter 8.
HSE Benefits
In addition to the same life-cycle benefits as H1, HSE provides the control
backbone that integrates all of the systems in the plant. The typical subsys-
tems in the plant that are functionally based on the device data, such as pro-
cess controllers, PLCs, and batch controllers, are integrated in the same HSE
backbone. Some common examples are HMI stations, engineering stations,
and historians. FOUNDATION Fieldbus enables asset management functions,
such as diagnostics, calibration, identification, and other maintenance man-
agement operations, to “mine” massive amounts of information from field
devices in real time. Asset management enables proactive maintenance that
allocates resources to where they are really needed. Plants employing field-
bus-based field devices often have asset management software installed in
Chapter 2 – FOUNDATION Fieldbus Technology 19
Subsystem Interoperability
Plants are comprised of a number of subsystems. With HSE, subsystems for
burner management, gas chromatographs, paper web scanners, shutdown
systems, compressor controls, tank farms, etc., integrate easily because of the
open protocol. Users can mix and match subsystems for basic control, emer-
gency shutdown, paper quality control, advanced control, compressor con-
trol, etc., from different suppliers. HSE eliminates the need for custom
programming to access information. Users can select decimal subsystems to
keep cost low, while reducing the configuration effort. Data integrity, diag-
nostics, and redundancy management are part of HSE and work seamlessly
between devices from different manufacturers.
Function Blocks
The FOUNDATION Fieldbus function blocks used in H1 devices are used in
HSE devices. The same control strategy programming language can be used
throughout the entire system. The status associated with function block
parameters is generated by field instruments based on failed sensors, stuck
20 Applying FOUNDATION Fieldbus
valves, etc., and is used for loop shutdowns, windup protection, and bump-
less transfer.
Control Backbone
HSE provides peer-to-peer communication capability. Devices communicate
with each other directly without having to go through a central computer.
This enables powerful, advanced control strategies involving variables
throughout the plant without the risk of a central computer failure, further
reducing the risk of single-point failures and the associated loss of informa-
tion, view, and control and shutdown in a plant. HSE can also bridge informa-
tion between devices on different H1 networks at different ends of the plant.
Thus, control can span between process cells and a plant area. HSE replaces
enterprise, control, and remote-I/O networking levels, thus flattening the
enterprise pyramid. The linking device (LD) brings data from one or more H1
fieldbus networks directly onto the HSE backbone.
The Physical Layer defines the electrical signal and its tolerances. It defines
“one” and “zero,” preamble characters, and frame check sequences.
The Data Link Layer defines the media access protocol—defining when a
device has the right to transmit on the multidrop network. It also defines the
sequences of messages to ensure reliable device-to-device transmission.
The Application Layer defines the data types (e.g., floating-point, 8-, 16-, and
32-bit integers, visible strings, octet strings, time, and date).
The User Layer, however, is the most important to the user. It defines process
control–specific structures, such as function blocks and their parameters,
modes of function blocks, statuses of variables, cascade initialization sequenc-
ing, anti-windup information, and event and alarm reporting methods. These
are all essential to enable a sensor from brand X to work with a controller of
brand Z.
This translates to the OSI layered communication model used to model these
components.
The Fieldbus Message Specification (FMS) and fieldbus access sublayer are
combined at OSI layer 7. Refer to figure 2-4 for the mapping of the layers in
the fieldbus with the OSI layers.
the fieldbus and can operate on wiring previously used for 4–20 mA devices.
The 31.25-Kbps fieldbus also supports IS fieldbuses with bus-powered
devices.
The user application is not defined by the OSI model. The FOUNDATION Field-
bus has specified a user application model, significantly differentiating it from
other models. Each layer in the communication system is responsible for a
portion of the message that is transmitted on the fieldbus. Figure 2-8 refer-
ences the approximate number of eight-bit “octets” used for each layer to
transfer the user data.
Chapter 2 – FOUNDATION Fieldbus Technology 25
• Basic Device
LAS operates at the Data Link Layer. It provides the following functions:
• It distributes data link and link schedule timings; the Data Link Layer
synchronizes the network-wide data link time. Link scheduling time is
a link-specific time represented as an offset from data link time. It is
used to indicate when the LAS on each link begins and repeats its
schedule. System management uses it to synchronize function block
execution with the data transfers scheduled by the LAS.
Any device on the link capable of becoming the LAS is called a link master
device. All other devices are referred to as basic devices.
The important criterion is that there should be backup LAS support along
with the primary LAS. Ideal design is to have a link master, which can sup-
port both primary and backup link schedules. Normally the H1 link would be
a primary link master, and the link master capable device acts as backup link
master. In case of primary link connection failure, the backup link takes over
the communication and handles the schedule so that the communication
continues.
Upon startup or failure of the existing LAS, the link master capable devices on
the link bid to become the LAS. The link master that wins the bid begins oper-
ating as the LAS immediately upon completion of the bidding process. The
link master capable device with the lowest address usually wins the bid. Link
masters that do not become the LAS act as basic devices when viewed by the
LAS. They also act as LAS backups by monitoring the link for failure of the
LAS, and by bidding to become the LAS when a LAS failure is detected.
Device Addressing
Fieldbus uses addresses between zero and 255. Addresses zero through 15 are
reserved for group addressing and for use by the Data Link Layer. Each ven-
dor provides a range of device addresses to be available for the devices. If
there are two or more devices with the same address, the first device to start
will use its programmed address. Each of the other devices is given one of
four temporary addresses between 248 and 251. If a temporary address is not
available, the device will be unavailable until a temporary address becomes
available.
28 Applying FOUNDATION Fieldbus
New devices that do not have an assigned permanent address in the available
node address range 20-247 also first appear in another reserved range of
addresses in nodes 248-251 inclusive. The result of having only four tempo-
rary addresses is that if more than four devices without permanent addresses
attempt to connect to the network at one time only the first four devices
detected will appear on the live list. The remaining non-reserved or accessible
node addresses 16-19 are reserved for the Permanent Host/DCS.
Scheduled Communication
The link active scheduler (LAS) has a list of transmit times for all data buffers
in all devices that need to be cyclically transmitted. When it is time for a
device to send a buffer, the LAS issues a compel data (CD) message to the
device. Upon receipt of the CD, the device broadcasts or “publishes” the data
in the buffer to all subscriber devices on the fieldbus. The device configured to
receive the data is called a “subscriber.” Scheduled data transfers are typically
used for the regular, cyclic transfer of control loop data between devices on
the fieldbus. Figure 2-10 provides a view of scheduled communication. Not all
devices on the network subscribe to all messages, but only those that are con-
figured as part of the control loop and the LAS (Host System).
Unscheduled Communication
All the devices on the fieldbus can send “unscheduled” messages between
transmissions of scheduled messages. The LAS grants permission to a device
to use the fieldbus by issuing a pass token (PT) message to the device. When
Chapter 2 – FOUNDATION Fieldbus Technology 29
the device receives the PT, it is allowed to send messages until it has finished
or until the “delegated token hold time” has expired, whichever is the shorter
time. Figure 2-11 depicts the concept of unscheduled communication.
Unscheduled communication is a client/server communication with a one-to-
one relationship for each message. The paths provided in the figure are possi-
ble ways for communications.
ule, known as the Function Block Schedule. The Function Block Schedule indi-
cates when the function blocks for the device are to be executed. The
scheduled execution time for each function block is represented as an offset
from the beginning of the macrocycle start time.
Figure 2-12. Example Link Schedule Showing Scheduled and Unscheduled Com-
munication
telephone number. This information only needs to be entered once and then a
“speed dial number” is assigned. After setup, only the speed dial number
needs to be entered to dial. Likewise, after configuration, only the VCR num-
ber is needed to communicate with another fieldbus device.
• Client/Server
• Report Distribution
• Publisher/Subscriber
tained within the network. New data completely overwrites previous data.
When a device receives the CD, the device will “publish” or broadcast its mes-
sage to all its subscriber devices on the fieldbus. Devices that wish to receive
the published message are called “subscribers.” The CD may be scheduled in
the LAS, or may be sent by subscribers on an unscheduled basis. An attribute
of the VCR indicates which method is used. The field devices use publisher/
subscriber VCR Type for cyclic, scheduled publishing of user application
function block input and outputs such as process variable (PV) and primary
output (OUT) on the fieldbus. Figure 2-13 provides a tabular view of the VCR
types.
shell. For example, the block algorithms are not standardized. For each block
there is a set of parameters that, to a certain extent, define the minimum func-
tionality of a block. However, a manufacturer may implement such a block in
its own way. For example, in the PID control block there must be a GAIN
parameter, and the manufacturer may use this parameter as GAIN or
PROPORTIONAL BAND.
Function Block
The function block models the user-configurable part of the entire application.
Typically, these functionalities were previously available in individual physi-
cal devices, but software blocks now include many of these functionalities in a
single device. The different types of function blocks in a fieldbus system pro-
vide all the functionality necessary for most control systems. The function
blocks are linked together to build control strategies suitable for an applica-
tion. In general, function blocks use an algorithm and contained parameters to
process input parameters, and produce output parameters as results.
34 Applying FOUNDATION Fieldbus
Again, the block is just an abstraction of software and data. There are no
blocks inside the device to be seen. The function block concept was designed
around the PID block, since it is the most complex block. The concept of local/
remote set point, automatic/manual output, cascade (remote set point) and the
algorithm has been carried on to other blocks.
A particular selection of set point and output is called the block mode. The
algorithm does not refer to the PID algorithm in the PID block alone, but in
general to the processing function of all blocks.
Each block is identified in the system by a tag assigned by the user. This tag
must be unique in the fieldbus system. Each parameter in a block has a name
that cannot be changed. All parameters in the system are uniquely defined by
the block tag plus parameter name. Blocks are representations of different
types of application functions.
A user application, for example, uses the following types of blocks, as shown
in figure 2-15:
• Resource block
• Transducer block
• Function block
Devices are configured using resource blocks and transducer blocks. The con-
trol strategy is built using function blocks.
Resource Block
A device can have only one resource block. The resource block describes char-
acteristics of the fieldbus device, such as the device name, type, revision, man-
ufacturer, and serial number.
Transducer Block
Transducer blocks read from physical sensors into function blocks. Trans-
ducer blocks decouple the function blocks from the hardware details of a
given device, allowing generic indication of function block input and output.
They contain information such as calibration date and sensor type. There is
usually one transducer block for each type of input or output function block.
The transducer block uses channels to link the raw data for each measurement
Chapter 2 – FOUNDATION Fieldbus Technology 35
to each of the associated I/O blocks. The transducer block knows the details of
I/O devices and how to actually read the sensor or change the actuator. The
transducer block performs the digitizing, filtering, and scaling conversions
needed to provide the sensor value to the function blocks and/or make the
change in the output as dictated by the function block.
Fieldbus defines the following 10 standard function blocks for basic control.
Refer to the standard (list of standards is provided in appendix) for an
updated list of function blocks.
• Analog Input – AI
• Analog Output – AO
• Bias/Gain – BG
• Control Selector – CS
• Discrete Input – DI
• Discrete Output – DO
• Manual Loader – ML
• Proportional Derivative – PD
• Ratio – RA
Additional blocks, which are not common among all the devices, but among
specific devices are:
• Device Control – DC
• Output Splitter – OS
• Signal Characterize – SC
• Lead Lag – LL
• Dead Time – DT
• Integrator – (Totalizer) IT
• Input Selector – IS
• Arithmetic – AR
• Timer – TMR
A FOUNDATION Fieldbus device has at least two VFDs. One is the manage-
ment VFD where network and system management applications reside. It is
used to configure network parameters including VCRs, as well as to manage
38 Applying FOUNDATION Fieldbus
devices in the fieldbus system. The other is a function block VFD, where func-
tion blocks exist. Most field devices have more than two function block VFDs.
• Block/Link objects
• Trend objects
• Alert objects
• View objects
Link Objects
Control strategies can be built by linking function block outputs to the inputs
of other function blocks. When such a link is made, the input “pulls” the value
from the output, thereby obtaining its value. Links can be made between func-
tion blocks in the same device or in different devices (see figure 2-17). An out-
put may be connected to many inputs. These links are purely software, and
there is basically no limitation to how many links can travel along a physical
wire. Links cannot be made with contained variables. Analog values are
passed as a floating point in an engineering unit, but are scaled to a percent-
age (e.g., in the PID control block) to enable dimensionless tuning parameters.
Digital values are passed as Boolean, zero, or 255. The analog scaling informa-
tion may also be used in operator interfaces to provide bar-graph readout.
Links are uniquely defined by the name of the output parameter and the tag
of the function block that they come from. It is therefore very easy for a user to
identify links. System management resolves the block tag + parameter name
construct into the short reference address + index to make communication
faster. Links may also be preconfigured directly using address and index. The
link management, such as link active schedules, automatically establishes the
connections upon power on.
Trend Objects
Trend objects allow local trending of function block parameters for access by
hosts or other devices at a scan rate faster than the bus communication cycle.
The device can perform trending using the trend object. This eliminates peri-
odic time-critical communication. Data are collected from 20 samples and are
accessed in a single communication. This reduces communication and net-
work overhead, leaving more time for time-critical transfers.
40 Applying FOUNDATION Fieldbus
Alert Objects
Alert objects enable reporting of alarms and events. Many function blocks
have a built-in alarm function to detect high and low process variable and
deviation alarms. When alarms and other critical events occur, an alert object
automatically notifies the user. This eliminates the need for the operator inter-
face to perform periodic polling to determine if there is an alarm condition.
The physical and transducer blocks detect failures in hardware and overall
operation status. The alert object relieves these blocks of the alert handling so
that their execution remains unaffected.
The trip level, priority level, and deadband can be configured for the alarms.
The alert notification to the console includes: time stamp, reason, priority,
present status (the alarm may already have disappeared), and the trip value.
All alerts also inform which device and block is the source of the alarm and
provide an alert key for sorting by plant division and a type code identifying
enumerated messages to the operator. The messages may be among standard
messages or others specified by the manufacturer. There is also an alarm sum-
mary of up to 16 alerts for each block summarizing present status: if the alarm
has already been acknowledged, if it was not successfully reported to the
operator, or if it is disabled.
Chapter 2 – FOUNDATION Fieldbus Technology 41
View Objects
View objects are predefined groupings of block parameter sets that can be dis-
played by the human-machine interface. The function block specification
defines four views for each type of block. Figure 2-18 shows an example of
how common function block variables map into the views. Only a partial list-
ing of the block parameters is shown in the example.
Device Interoperability
Support for interoperability is one of the founding principles of FOUNDATION
Fieldbus. The Interoperability Test System (ITS) tests the black box behavior
of a device using only its interface to the network. Prerequisites to interopera-
bility testing are that the device under test must use a compliant communica-
tions stack and the physical layer of the device must have been tested for
specification conformance. The scope of testing depends upon the level of
conformity implemented by the device manufacturer. All function blocks in a
device that are implemented according to standardized block profiles are
tested to verify correct implementation. The ITS tests all Device Description
support files and high-level stacks.
The Fieldbus Foundation has released the latest version of the H1 Interopera-
bility Test Kit (ITK) 6.1.0, and manufacturers typically have approximately 18
months to incorporate resulting changes in their products. The ITK is nor-
mally issued with maintenance changes on an annual basis in the fall. This
tool tests the functionality of an H1 (31.25 kbps) fieldbus device and its confor-
mity with the FOUNDATION Fieldbus’ function block and transducer block
Chapter 2 – FOUNDATION Fieldbus Technology 43
The new H1 ITK test cases focus on backward compatibility among FOUNDA-
TION Fieldbus devices. This enhancement supports device replacement auto-
mation and enables the test kit to verify consistent behavior between device
and host implementations in fieldbus-based control systems. Automation of
device replacement enables the configuration in an existing field device to be
configured in a newer version of that instrument without manual interven-
tion. This plug-and-play solution ensures features are consistent between dif-
ferent generations of devices without reengineering the host configuration or
changing any other element of the H1 network other than the new instrument.
The use of common transducer blocks also improves interoperability and sim-
plifies device replacement by enabling a minimum level of configuration
across all types of instruments. This results in greater predictability in fieldbus
implementation, while reducing integration risks.
44 Applying FOUNDATION Fieldbus
The various ITK functionalities are added at different releases of the toolkit,
and the diagram shown in figure 2-19 represents this as well.
Each feature contains a set of test procedures that are to be run against the
host or the fieldbus system using the host. The host must pass the test proce-
dures defined by the feature for a host to claim conformance to the feature.
The features themselves are generic; therefore, manufacturers develop test
cases, or actual implementation steps necessary to meet the requirements of
the test procedure. Many test procedures require features supported by both
the device(s) and the host.
The purpose of the HIST is to reveal and confirm features that are supported
by the host product being qualified against a particular HIST profile. Features
that are mandatory in the HIST profile (FF-569) are essential (within that pro-
file) to interoperability or successful adoption of the technology. A host candi-
date cannot achieve compliance with an HIST profile without meeting all
mandatory features.
Features that are optional in the HIST Profile Table in table 2-1 are not
required but are of interest to the users. Those hosts that implement and
achieve an optional feature are credited for it in the HIST profile conformance
report.
• Sets and manages physical device TAGs (device name) for all devices
• Full access to all resource block, transducer block, and function block
parameters.
The profile is primarily used by the process control engineer (for configura-
tion and analysis), operator (for plant operation), plant management (for plant
management information), and maintenance personnel (for maintenance of
instrumentation, control system equipment, and process equipment). The typ-
ical use case for such a profile is a process operational host that configures and
operates instrumentation devices enabled with FOUNDATION Fieldbus.
• May have read and write access to resource block and transducer
blocks
The primary users of the profile are instrumentation and maintenance person-
nel. The most commonly applied use case is a technician with hand-held
48 Applying FOUNDATION Fieldbus
A Class 63 bench host is the primary host for accessing and configuring non-
commissioned devices. The typical characteristics are:
• May access all resource block, transducer block, and function block
parameters
1. Testing of skid operation, the entire network at once: To test the skid
as an entity, the FF devices have to be commissioned at the start and
then decommissioned at the conclusion.
• May have access to and write to resource block and transducer blocks
The primary users are instrumentation and maintenance personnel. The most
commonly applied use case is a technician with hand-held equipment or a
portable PC/PDA that connects to the network for device maintenance (tem-
porary connection to bus), or a field support engineer who connects to the bus
with a specialized device application (e.g., online valve diagnostics package).
3
Function Blocks in
FOUNDATION Fieldbus
The AI block supports alarming, signal scaling, signal filtering, signal status
calculation, mode control, and simulation. In automatic mode, the block’s out-
put parameter (OUT) reflects the process variable (PV) value and status. In
manual mode, OUT may be set manually. The manual mode is reflected on
51
52 Applying FOUNDATION Fieldbus
Simulation
To support testing, it is necessary to either change the mode of the block to
manual and adjust the output value or enable simulation through the configu-
ration tool and manually enter a value for the measurement value and its sta-
tus. In both cases, it is necessary to first set the software-based ENABLE
jumper on the field device for some devices or by some other mechanism as
defined by the transmitter manual. Note that most fieldbus instruments have
a simulation jumper. As a safety measure, the jumper has to be reset every
time there is a power interruption. This measure is to prevent devices that
went through simulation in the staging process from being installed with sim-
ulation enabled. With simulation enabled, the actual measurement value has
no impact on the OUT value or the status.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 53
Filtering
The filtering feature changes the response time of the device to smooth varia-
tions in output readings caused by rapid changes in input. The filter time con-
stant (in seconds) may be adjusted using the PV_FTIME parameter. The filter
time constant may be set to zero to disable the filter feature. Figure 3-3 illus-
trates the concept.
Signal Conversion
The signal conversion type is set with the Linearization Type (L_TYPE)
parameter. The converted signal (in percent of XD_SCALE) can be viewed
through the FIELD_VAL parameter
*XD_SCALE Values
It is possible to choose from direct, indirect, or indirect square root signal con-
version with the L_TYPE parameter.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 57
• Direct: Direct signal conversion allows the signal to pass through the
accessed channel input value (or the simulated value when simulation
is enabled). PV = Channel Value.
FIELD_VAL
PV = ---------------------------------- × EU ** @100% – EU ** @0% + EU ** @0% (3-2)
100
** OUT_SCALE Values
• Indirect Square Root: Indirect square root signal conversion takes the
square root of the value computed with the indirect signal conversion
and scales it to the range and units of the PV and OUT parameters.
PV = field_val
----------------------- × ( EU ** @100% – EU ** @0% ) (3-3)
100
**OUT_SCALE Values
When the converted input value is below the limit specified by the LOW_CUT
parameter, and the low cutoff I/O option (IO_OPTS) is enabled (true), a value
of zero is used for the converted value (PV). This option is useful in eliminat-
ing false readings when the differential pressure measurement is close to zero,
and it may also be useful with zero-based measurement devices such as flow-
meters. Note that low cutoff is the only I/O option supported by the AI block.
The I/O option may be set in manual or out-of-service mode only.
Block Errors
Table 3-2 lists conditions reported in the BLOCK_ERR parameter. The condi-
tions mentioned here are mere representations. Refer to specifications for
more information. Some of these conditions may not be applicable to the AI
block alone, and are provided for information purposes only.
58 Applying FOUNDATION Fieldbus
Modes
The AI function block supports three modes of operation as defined by the
MODE_BLK parameter:
• Manual (MAN), in which the block output (OUT) may be set manually
Alarm Detection
A block alarm is generated whenever the BLOCK_ERR has an error bit set.
The types of block error for the AI block are defined above. Process alarm
detection is based on the OUT value. The alarm limits of the following stan-
dard alarms may be configured:
• High (HI_LIM)
• Low (LO_LIM)
To avoid alarm chattering when the variable is oscillating around the alarm
limit, an alarm hysteresis in percent of the PV span can be set using the
ALARM_HYS parameter. The priority of each alarm is set in the following
parameters:
• HI_PRI
• HI_HI_PRI
• LO_PRI
• LO_LO_PRI
Alarms are grouped into five levels of priority as shown in table 3-3.
Status Handling
Normally, the status of the PV reflects the status of the measurement value,
the operating condition of the I/O card, and any active alarm condition. In
AUTO mode, OUT reflects the value and status quality of the PV. In MAN
mode, the OUT status constant limit is set to indicate that the value is a con-
stant and the OUT status is Good.
• BAD if Limited – sets the OUT status quality to “bad” when the value is
higher or lower than the sensor limits
Advanced Features
The AI function blocks in some fieldbus devices provide added capability
through the following additional parameters:
Troubleshooting
Troubleshooting is an important aspect of the engineering life cycle of the
devices. The intelligence in the devices coupled with FOUNDATION Fieldbus
technology enables the platform to implement diagnostics for easy trouble-
shooting. The following are some troubleshooting guidelines for the proper
operation of the devices (table 3-4).
The analog output block is also a critical function block in the building of a
control strategy. The block normally resides in a control valve. The most
advanced control valves have more such blocks to handle multiple control
requirements. The AO, along with the other blocks of the valve, makes more
stable and reliable control strategies. The back calculation of the AO block
provides a safe option for the block in the event of communication failures or
any other failures. The feature always provides a backward propagation of
information for the AO block and hence the valve to be in a safe state. The AO
block also has options to handle the direct, reverse actions of the valve posi-
tioners, and the associated transducer block supports most advanced diagnos-
tics like valve stiction, valve signatures, and several other diagnostics. The AO
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 63
block is again provided with a set of modes of operations to meet various con-
trol requirements. Refer to table 3-5 for the parameters of most of the AO
blocks in most popular devices and the description of each of them.
In cascade mode, the cascade input connection (CAS_IN) is used to update the
SP. The back calculation output (BKCAL_OUT) is wired to the back calcula-
tion input (BKCAL_IN) of the upstream block that provides CAS_IN. This
ensures a bumpless transfer on mode changes and windup protection in the
upstream block. The OUT attribute or an analog read-back value, such as
valve position, is shown by the process value (PV) attribute in engineering
units. To manually set the channel feedback for testing purposes, simulation
must be enabled. The AO function block does not support alarm detection.
To select the manner of processing the SP and the channel output value, the
user must configure the set-point limiting options, the tracking options, and
the conversion and status calculations. The OUT value in different modes is
shown in figure 3-6.
In manual (MAN) mode the SP automatically tracks the PV value when SP-PV
Track is selected in the MAN I/O option. The SP value is set equal to the PV
value when the block is in manual mode, and is enabled (true) as default. This
option can be disabled in MAN or OOS mode only. The SP value is limited to
the range defined by the set-point high limit attribute (SP_HI_LIM) and the
set-point low limit attribute (SP_LO_LIM).
In AUTO mode, the rate at which a change in the SP is passed to OUT is lim-
ited by the values of the set-point upward rate limit attribute (SP_RATE_UP)
and the set-point downward rate limit attribute (SP_RATE_DN). A limit of
zero prevents rate limiting, even in AUTO mode.
The actuator position associated with the output channel can be accessed
through the READBACK parameter (in OUT units) and in the PV attribute (in
engineering units). If the actuator does not support position feedback, the PV
and READBACK values are based on the OUT attribute.
The working set point (SP_WRK) is the value normally used for the
BKCAL_OUT attribute. However, for those cases where the READBACK sig-
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 67
nal directly (linearly) reflects the OUT channel, the PV may be used for
BKCAL_OUT by selecting the “use PV for BKCAL_OUT” I/O option.
Block Errors
The following conditions are reported in the BLOCK_ERR attribute:
Modes
The analog output function block supports the following modes:
• Manual (MAN): The output to the I/O channel can be set through the
OUT attribute. This mode is used primarily for maintenance and
troubleshooting.
68 Applying FOUNDATION Fieldbus
• Out of Service (OOS): The block is not processed. The output channel is
maintained at the last value and the status of OUT is set to “Bad: Out of
Service.” The BLOCK_ERR attribute shows out of service.
• Local Override (LO): The output of the block is not responding to OUT
because the resource block has been placed into LO mode or fault state
action is active. The target mode of the block may be restricted to one or
more of the following modes: MAN, AUTO, CAS, RCAS, or OOS.
Status Handling
Output or read-back fault detection is reflected in the status of PV, OUT, and
BKCAL_OUT. A limited SP condition is reflected in the BKCAL_OUT status.
When simulation is enabled through the SIMULATE attribute, the value and
status for PV and READBACK can be set. When the block is in CAS mode and
the CAS_IN input goes bad, the block sheds (lowers down) mode to the next
permitted mode.
equation structures, and block output action can be configured. The standard
representation of the PID is shown in figure 3-7.
The PID function block parameters and their description with units are listed
in table 3-6.
Table 3-6 above lists the PID block parameters, their descriptions, and units of
measure, while figure 3-8 illustrates the internal components of the PID func-
tion block.
74 Applying FOUNDATION Fieldbus
The PID equations that are used in the standard are provided below.
1 τd s + 1
Standard Out = GAIN × e × 1 + ------- + --------------------------
- + F
τ γ s α × τ d s + 1
1 τds + 1
Series Out = GAIN × e × 1 + ------- + --------------------------- + F
τγ s α × τ d s + 1
where:
The schematics design of the PID, which is given in figure 3-8, provides a
graphical illustration of the behavior of the PID in FOUNDATION Fieldbus tech-
nology. This figure also provides information on the internal subsystems and
their interconnection.
In AUTO mode, the set point is entered manually by the operator, and the
output is computed based on the set point. In AUTO mode, the set-point limit
and the set-point rate of change can also be adjusted by using the
SP_RATE_UP and SP_RATE_DN parameters.
In MAN mode, the output is entered manually by the operator, and is inde-
pendent of the set point. In remote output mode, the output is entered by a
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 75
host computer, and is independent of the set point. Figure 3-9 depicts the SP
selection in the PID process.
Filtering
The filtering feature changes the response time of the device to smooth varia-
tions in output readings caused by rapid changes in input. The filtering fea-
ture can be adjusted by using the FILTER_TYPE parameter, and the filter time
constant (in seconds) can be adjusted by using the PV_FTIME or SP_FTIME
parameters. The filter time constant should be set to zero to disable the filter-
ing feature.
76 Applying FOUNDATION Fieldbus
Feedforward Calculation
The feedforward value (FF_VAL) is scaled (FF_SCALE) to a common range
for compatibility with the output scale (OUT_SCALE). A gain value
(FF_GAIN) is applied to achieve the total feedforward contribution.
Tracking
The use of output tracking can be enabled using control options. Control
options can be set in manual or out-of-service mode only. The track enable
control option must be set to “true” for the tracking function to operate. When
the track-in-manual control option is set to “true,” tracking can be activated
and maintained only when the block is in manual mode. When track in man-
ual is set to “false,” the operator can override the tracking function when the
block is in manual mode. Activating the track function causes the block’s
actual mode to revert to local override. The TRK_VAL parameter specifies the
value to be converted and tracked into the output when the tracking function
is operating. The TRK_SCALE parameter specifies the range of TRK_VAL.
When the TRK_IN_D parameter is true and the track enable control option is
true, the TRK_VAL input is converted to the appropriate value and output in
units of OUT_SCALE.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 77
• SP-PV Track in MAN: Permits the SP to track the PV when the target
mode of the block is MAN.
• When the Use PV for BKCAL_OUT option is not selected, the working
set point (SP_WRK) is used for BKCAL_OUT. Control options can be
set in manual or out-of-service mode only. When the mode is set to
auto, the SP remains at the last value (it will no longer follow the PV).
Reset Limiting
The PID function block provides a modified version of feedback reset limiting
that prevents windup when output or input limits are encountered, and pro-
vides the proper behavior in selector applications.
Modes
The PID function block supports the following modes:
• Out of Service (OOS): The block is not processed. The OUT status is set
to Bad: Out of Service. The BLOCK_ERR parameter shows out of
service. The MAN, AUTO, CAS, and OOS modes can be configured as
permitted modes for operator entry.
Status Handling
If the input status on the PID block is bad, the mode of the block reverts to
manual. In addition, the “Target to Manual if Bad IN” status option can be
selected to direct the target mode to revert to manual. The status option can be
set in manual or out-of-service mode only.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 79
Troubleshooting
Table 3-7 can be referred to for troubleshooting problems.
Normally, the block is used in automatic (AUTO) mode so that the process
variable (PV_D) is copied to the output (OUT_D). The mode can be changed
to manual (MAN) to disconnect the field signal and substitute a manually
entered value for OUT_D. In this case, PV_D continues to show the value that
will become OUT_D when the mode is changed to auto. Refer to figure 3-10
for the function block.
I/O Selection
To select the I/O associated with the discrete measurement, the value of the
CHANNEL attribute should be configured.
Simulation
To support testing, it is necessary to either change the mode of the block to
manual or adjust the output value, or enable simulation through the configu-
ration tool and manually enter a value for the measurement value and its sta-
tus. All fieldbus instruments have an ENABLE jumper, and in both cases, the
ENABLE jumper must first be set on the field device. As a safety measure, the
jumper has to be reset every time there is a power interruption. This measure
is to prevent devices that went through simulation in the staging process from
being installed with simulation enabled. With simulation enabled, the actual
measurement value has no impact on the OUT_D value or the status.
(PV_D). The output of the invert processor is PV_D. This value goes to the
mode switch where it becomes OUT_D when the mode is AUTO. OUT_D is
also tested for an alarm state. This option might be chosen when the field con-
tact is normally closed, so an open contact or a broken wire represents the
active state of the condition being sensed.
Alarm Detection
The DISC_LIM attribute should be configured to select the state that initiates
an input alarm and to set discrete alarm substatus in the output. Any value
between zero and 255 can be entered. A value of 255 disables the alarm.
Block Errors
The following conditions are reported in the BLOCK_ERR attribute:
Modes
The DI function block supports the following modes:
• Out of Service (OOS): The block is not processed. The output status is
set to Bad: Out of Service. The BLOCK_ERR attribute shows out of
service.
Status Handling
Under normal conditions, a “Good: noncascade” status is passed through to
OUT_D. The block also supports status action on failure and block error
indications.
Action on Failure
In case of hardware failure, FIELD_VAL_D, PV_D and OUT_D change to a
BAD status, and the BLOCK_ERR attribute displays Bad PV. When
84 Applying FOUNDATION Fieldbus
To further customize the output, the SP_PV track in man, invert, and use PV
for BKCAL_OUT I/O options may be configured. It should be noted that
SP_PV track in man, invert, and use PV for BKCAL_OUT are the only I/O
options supported by the DO block. I/O options can only be configured in
manual or out-of-service mode.
The SP_PV track-in-man option permits the set point to track the process vari-
able when the block is in manual mode. With this option enabled, the set point
(SP_D) becomes a copy of the process variable (PV_D), and a manually
entered SP_D value is overwritten on the block’s next execution cycle. This
option can prevent a state change when transitioning from manual to auto-
matic mode. This option can be disabled in manual or out-of-service mode
only.
The invert option inverts the set point (SP_D) before it is stored in OUT_D.
OUT_D becomes an inverted copy of SP_D with this option enabled. With this
option disabled, OUT_D is a direct copy of SP_D. If discrete output feedback
is not supported by the field device, a copy of OUT_D is used in its place (with
a delay of one execution time) to become READBACK_D. The read-back value
is processed through the invert option to become PV_D, which normally
matches SP_D in AUTO, CAS, or RCAS mode.
The use PV for BKCAL_OUT option specifies that BKCAL _OUT equals the
value of the process variable (PV_D) instead of the set point (SP_D). If this
option is not enabled, BKCAL_OUT will equal SP_D.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 87
Simulation
With SIMULATE_D enabled, the specified value and status are reflected in
READBACK_D. If SIMULATE_D is not enabled, and the mode is not out of
service, the value of OUT_D is sent to the hardware.
Block Errors
The following conditions are reported in the BLOCK_ERR attribute:
Modes
The DO block supports the following modes:
• Automatic (AUTO): The block algorithm uses the local set-point value
(SP_D) to determine OUT_D.
• Cascade (CAS): The block uses a set point supplied by another function
block.
• Remote Cascade (RCAS): The block uses a set point supplied by a host
computer.
• Out Of Service (OOS): The block is not processed, and the output is not
transferred to I/O. The BLOCK_ERR attribute shows out of service.
If the hardware used for output feedback fails, the status of READBACK_D
and PV_D is set to “Bad: Device Fail,” and the BLOCK_ERR attribute shows
Bad PV and read back failed.
Situation 1
The level of an open tank is to be measured using a pressure tap at the bottom
of the tank. The level measurement is to be used to control the level of liquid
in the tank. The maximum level in the tank is 16 ft. The liquid in the tank has a
density that makes the level correspond to a pressure of 7.0 psi at the pressure
tap (see figure 3-14).
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 89
Solution to Situation #1
Table 3-10 lists the appropriate configuration settings, and figure 3-15 illus-
trates the correct function block configuration.
Figure 3-15. Function Block Diagram for a Pressure Transmitter Used in Level
Control Loop
Situation #2:
The transmitter as shown in figure 3-16 is installed below the tank in a posi-
tion where the height of the liquid column in the impulse line, when the tank
is empty, is equivalent to 2.0 psi.
Solution to situation #2
Table 3-11 lists the appropriate configuration settings; the application configu-
ration is the same as above.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 91
Situation
The liquid flow in a line is to be measured using the differential pressure
across an orifice plate in the line, and the flow measurement will be used in a
flow control loop. Based on the orifice specification sheet, the differential pres-
sure transmitter was calibrated for 0 to 20 in H20 for a flow of 0 to 800 gal/min,
and the transducer was not configured to take the square root of the differen-
tial pressure.
Solution
Table 3-12 lists the appropriate configuration settings, and figure 3-17 illus-
trates the correct function block configuration.
Figure 3-17. Function Block Diagram for a Differential Pressure Transmitter Used
in a Flow Measurement Loop
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 93
Situation
A regulating valve equipped with an air-operated actuator is connected to the
analog output channel to control flow in a pipe.
Solution
The AO function block is used with an AI and a PID function block. The con-
figuration differs depending on whether the valve actuator is designed to
allow the valve to fail closed or to fail open upon the loss of power. Table 3-13
lists the appropriate settings for each attribute, and figure 3-18 illustrates the
correct function block configuration.
Situation
A PID block is used with an AI block and an AO block to control the flow of
steam used to heat a process fluid in a heat exchanger. Figure 3-19 illustrates
the process instrumentation diagram.
Solution
The PID loop uses TT101 as an input and provides a signal to the analog out-
put TCV101. The BKCAL_OUT of the AO block and the BKCAL_IN of the
PID block communicate the status and quality of information being passed
between the blocks. The status indication shows that communications are
functioning and the I/O is working properly. Figure 3-20 illustrates the correct
function block configuration.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 95
Figure 3-20. PID Function Block Diagram for Steam Heater Control
Situation
In the previous example, control problems can arise because of a time delay
caused by thermal inertia between the two flow streams (TT100 and TT101).
Variations in the inlet temperature (TT100) take an excessive time to be sensed
in the outlet (TT101). This delay causes the product to be out of the desired
temperature range.
Solution
Feedforward control is added to improve the response time of the basic PID
control. The temperature of the inlet process fluid (TT100) is input to an AI
function block and is connected to the FF_VAL connector on the PID block.
Feedforward control is then enabled (FF_ENABLE); the feedforward value is
scaled (FF_SCALE); and a gain (FF_GAIN) is determined. Figure 3-21 illus-
trates the process instrumentation diagram, and figure 3-22 illustrates the cor-
rect function block configuration.
96 Applying FOUNDATION Fieldbus
Situation
A slave loop is added to a basic PID control configuration to measure and con-
trol steam flow to a steam heater. Variations in the steam pressure cause the
temperature in the heat exchanger to change. The temperature variation is
later sensed by TT101. The temperature controller modifies the valve position
to compensate for the steam pressure change. This process is slow and causes
variations in the product temperature. Figure 3-23 illustrates the process
instrumentation diagram.
Solution
Controlling flow allows for steam pressure variations to be compensated
before they can affect the temperature of the heat exchanger. The output from
the master temperature loop is used as the set point for the slave steam flow
loop. The BKCAL_IN and BKCAL_OUT connections on the PID blocks are
used to prevent controller windup on the master loop when the slave loop is
98 Applying FOUNDATION Fieldbus
When the selected block becomes output-limited, it prevents the integral term
from winding further into the limited region. When the cascade between the
slave PID block and the control selector block is open, the open cascade status
is passed to the control selector block and through to the PID blocks supply-
ing input to it.
Chapter 3 – Function Blocks in FOUNDATION Fieldbus 99
The control selector block and the upstream (master) PID blocks have an
actual mode of IMAN. In case of failure of the instrument connected to the AI
block, the AI block is placed in manual mode, and the output is set to some
nominal value for use in the integrator function block. In this case, IN at the
slave PID block is constant and prevents the integral term from increasing or
decreasing.
Figure 3-25. PID Function Block Diagram for Cascade Control with Override
Users can focus on purchasing the hardware of their choice without worrying
about the compatibility with their control host, regardless of field device com-
munication technology. A common FDI solution allows device vendors to
focus their efforts and resources on a single technology rather than on sup-
porting both FDT and EDDL. Suppliers can focus on improving the function-
ality of their products instead of supporting multiple technologies to make
their applications work across different systems. Fewer interoperability chal-
lenges reduce manufacturing costs and time to market.
4
Installation of
FOUNDATION Fieldbus
Point-to-Point Topology
This topology, shown in figure 4-2, consists of a segment having only two
devices. The segment could be entirely in the field (a slave and host device
operating independently), for example, a transmitter and valve with no con-
nection beyond the two, or it could be a field device (transmitter) connected to
a host system (doing control or monitoring). Simple point to point (host and
one device per bus segment) would probably not be used often, as it has only
one measurement or control device per segment (as in 4–20 mA). As a result, it
does not take advantage of the maximum devices per bus segment capability.
101
102 Applying FOUNDATION Fieldbus
Daisy Chain
With this topology, the fieldbus cable is routed from device to device on the
segment and is interconnected at the terminals of each fieldbus device. If
used, installations with this topology should use connectors or wiring prac-
tices such that disconnection of a single device is possible without disrupting
the continuity of the whole segment.
Tree Topology
With this topology (sometimes called chicken foot), as shown in figure 4-4,
devices on a single fieldbus segment are connected via individual twisted
wire pairs to a common junction box, terminal, marshalling panel, or I/O card.
This topology can be used at the end of a home run cable. It is practical if
devices on the same segment are well separated, but are in the general area of
the same junction box. When this topology is used, the maximum spur length
must be taken into consideration.
104 Applying FOUNDATION Fieldbus
The H1 bus allows the field devices to be powered over the bus. The power
supply unit is connected to the bus line in the same way (parallel) as a field
device. Field devices powered by supply sources other than the bus must be
additionally connected to their own supply sources. With the H1 bus, the
maximum power consumption of power-consuming devices must be lower
than the electric power supplied by the power supply unit.
Network topologies used are usually line or bus topology, or when equipped
with junction boxes, they are also a star, tree, or a combination of topologies as
given in figure 4-5. The devices are best connected via short spurs using tee
connectors to enable connection and disconnection of the devices without
interrupting communication.
106 Applying FOUNDATION Fieldbus
The length of a spur is limited to 120 meters and depends on the number of
spurs used as well as the number of devices per spur (refer to table 4-1).
Various types of cables are usable for fieldbus (table 4-2). Type A is recom-
mended as preferred fieldbus cable, and only this type is specified for the
maximum bus length of 1900 m. The FOUNDATION Fieldbus cable specification
FF-844 is equivalent to type “A” cable, and it is recommended that this cable
with the associated FF “checkmark” be used for all new installations.
There must be two terminators per bus segment, one at or near either end of a
transmission line. It is not imperative that bus cables be shielded; however, it
is recommended to prevent possible interferences and for best performance of
the system.
Ethernet switches are used to reduce the bus load due to the many connected
devices or if several HSE partial networks are to be combined to create a
larger network (see figure 4-6). A switch reads the target address of the data
packets that must be forwarded and then passes the packets on to the associ-
ated partial network. This way, the bus load and the resulting bus access time
can be controlled to best adapt HSE to the respective requirements in indus-
trial communications.
Bridges (linking devices or interface devices) are required to connect the com-
paratively slow H1 segments to the HSE network, coupling components. A
bridge is used to connect the individual H1 buses to the high-speed Ethernet.
The various data transfer rates and data telegrams must be adapted and con-
verted, considering the direction of transmission. This way, powerful and
widely branched networks can be installed in larger plants.
108 Applying FOUNDATION Fieldbus
Introduction
Intrinsically safe (IS) refers to instrumentation design methodologies used for
ensuring the safety of electrical equipment in hazardous areas. The materials
that are commonly considered hazardous include crude oil and its deriva-
tives, alcohols, natural and synthetic process gases, metal dusts, carbon dusts,
flour, starch, grain, and fiber. Precautionary measures are mandatory to
ensure that flammable atmospheres containing these materials will not be
ignited.
This is possible because the system (including both the IS apparatus in the
hazardous area and the associated apparatus directly connected to it) has been
designed to be incapable of causing ignition in that atmosphere, even with
faults applied either to it or to the interconnecting cables. The electrical energy
available in hazardous area circuits is restricted to a level such that any sparks
or hot surfaces that occur as a result of electrical faults are too weak to cause
ignition. This approach enables easier maintenance of the equipment (using
suitably approved test equipment) and allows adjustments to be carried out
during plant operation. Equipment can also be removed or replaced while the
system is operating.
There are two different systems in use for area classification. These are the
zone classification system, as defined by IEC 60079-10, and the division classi-
fication system, as recognized by the American and Canadian national electri-
cal codes. The European standards follow the IEC approach. In addition, zone
110 Applying FOUNDATION Fieldbus
classifications are also recognized in the United States and Canada as an alter-
native to division classifications.
Ex ib:
Explosion protection maintained with up to
one fault in components upon which safety
depends. IS apparatus may be located in, and
associated apparatus may be connected into,
Zone 1 and 2 hazardous areas.
Ignition Curves
The energy required to ignite the most easily ignitable mixture of a given gas
with air is called the minimum ignition energy of that gas. The current
required to sustain the ignition varies with the voltage level in the circuit.
Curves of permitted voltage and current for each gas group in a purely resis-
tive circuit are published as ignition curves in each of the intrinsic safety stan-
dards. They result from experiments performed over several years, and the
results are agreed upon internationally.
There are several possible ways to determine the permitted values of voltage
and current for a given circuit. The local certification authority provides the
accepted method of specifying the limited values.
These factors typically restrict the operating region to below about 25 V and
250 mA, as shown in figure 4-7. Capacitance is treated as a lumped parameter,
and its permitted value is reduced sharply with an increase in system voltage.
This proves to be a stronger defining effect than the reduction of permitted
inductance as the current increases. This is because the increased inductance
of a system is always accompanied by an increased series resistance, the pres-
ence of which reduces its effect. Any item of IS-associated apparatus normally
has maximum specified values for permitted capacitance, inductance, and the
inductance to resistance (L/R) ratio that may be safely connected to its IS
terminals.
Chapter 4 – Installation of FOUNDATION Fieldbus 113
Devices and barriers for intrinsically safe areas are designed such that the
energy released by an electrical fault is insufficient to cause ignition, even in a
single or double failure condition. This ignition point is a function of power,
determined by voltage and current.
For fieldbus, there are four models or models with technology variants that
are available for practical use:
• Entity Model: The entity model assumes that electrical parameters that
represent the characteristics of the wires are all concentrated at the
point of fault. In this model, the wire is considered the source of stored
energy. This conservative approach leads to a maximum DC current of
83 mA permitted in the wire and a maximum voltage of 18.4 V.
and results in a maximum current of 110 mA. This model permits more
devices on a wire pair in a hazardous area.
• High Power Trunk: The high power trunk (HPT) concept is a new
approach to hazardous and general-purpose area fieldbus applications.
Unlike the FISCO/FNICO concepts, HPT does not limit the energy on
the fieldbus trunk cable to intrinsically safe or nonincendive levels,
instead the energy on the spur connections to the instruments is
limited.
Entity Model
The IEC 60079-11 standard defines the entity model as a method of validating
an installation of intrinsically safe and associated apparatus using intrinsically
safe parameters. In addition to the devices’ parameters, the cable capacitance
and inductance are assumed to be concentrated at the point of fault and have
to be considered too. Simplifications for fieldbus are not considered in this
specification, and the planners have no other option than to accept the com-
plex and time-consuming calculation efforts required to validate an
installation.
There are only a few power supplies conforming to the entity model available
today; applying the entity model to fieldbus in practical applications is rare.
Such power supplies typically provide 10–12 V and 70–100 mA, which is just
enough to operate two to three field devices per segment (gas group IIC). In
the end:
• The solution meant for Zone IIB offers more power; however such
solutions and products are not suitable for applications requiring a
group IIC environment.
FISCO Model
The fieldbus intrinsically safe concept (FISCO) was developed to supply addi-
tional power to a fieldbus segment, while still keeping the energy levels too
low to cause an explosion.
Many process industries have rapidly adopted fieldbus technology over the
past several years, yet end users are unsatisfied with the traditional solutions
for hazardous location applications, claiming that they cannot enjoy the same
benefits in terms of power, cable length, and number of devices and segments
in hazardous location applications compared to general-purpose applications.
This is due to the energy limitation on the trunk.
116 Applying FOUNDATION Fieldbus
When fieldbus technology was introduced, the standard solution for hazard-
ous area applications was the entity concept, with cabinet-mounted barriers
and power supplies. This solution barely supplied enough power for two or
three instruments per segment, and it was cumbersome to match the entity
parameters of the devices and the power source. End users voiced their con-
cerns, and manufacturers responded with another solution for intrinsically
safe segments: FISCO.
The following must be ensured for each device, as shown in table 4-6:
Ui 17, 5 V min.
Ii 380 mA min.
Pi 5, 32 W min.
Cable Length, Trunk 1900 m max.
1000 m
Cable Length, Spur 30 m max.
Chapter 4 – Installation of FOUNDATION Fieldbus 117
Simplifying the safety analysis is one of the merits of the FISCO model com-
pared with the entity model. Where each item of apparatus in a FISCO system
complies with the requirements of IEC/TS 600079-27:2002, the safety docu-
mentation may simply be a list of separate items. It is not necessary to estab-
lish compatibility between the electrical parameters of each field device and
the source of power, or to calculate cable parameters. Apparatus that complies
with IEC/TS 60079-27:2002 may be identified by the FISCO name on its
marking.
In the case of intrinsic safety systems, the operating voltage may be limited to
comply with the certification requirements. In this case, the power supply is
located within the safe area, and its output voltage is attenuated by a safety
barrier or by an equivalent component.
In each IS fieldbus segment, only one active device, normally the associated
apparatus, is allowed to provide the necessary power for the fieldbus system.
118 Applying FOUNDATION Fieldbus
The allowed voltage V0 of the associated apparatus used to supply the net-
worked nodes is limited to a range of 14–24 VDC.
All other equipment connected to the bus cable must be passive, meaning that
the devices are not allowed to provide energy to the system except for a leak-
age current of 50 microamps for each connected device.
FNICO (and FISCO) also benefit from reduced design and documentation
requirements as compared to an entity-based design.
Live Working
“Live working” indicates that the system can be worked on (maintained)
while it is still energized. This also presumes that no gas sniffing was done,
and no “hot work permit” was completed. Live working is only attempted on
systems that are energy limited and only where permitted by local electrical
codes (Canadian electrical codes do not allow live working).
Even where live working is allowed, it must be done with care. Most
disasters occur during maintenance operations. In addition, for Class 1 Divi-
sion 2 (Zone 2) requirements, FM Approvals (a certification agency), only
evaluates one cable at a time. Multiple cable faults are not necessarily consid-
ered during the certification process. For improved safety, live working
should be performed carefully and in a limited fashion (e.g., not during major
maintenance).
Figure 4-9 shows an example system using a FNICO power supply. Voltage
and current are limited at the FNICO power supply to a safe level for Division
2 (Zone 2). Both the trunk and the spurs may be worked on while energized
without the risk of ignition. Depending on the FNICO power supply selected,
current is limited to 320 mA for gas group C (IIB) or 180 mA for gas group AB
(IIC). Voltage is typically limited to less than 15 VDC. The trade-off for a com-
pletely energy-limited segment is the cable length and the number of devices.
In addition, the FNICO power supply is a single point of failure.
• Cable
• Wiring blocks
• Fieldbus devices
Typical FISCO power conditioners available today supply 12.8 V and 100 mA
for Class I, Division 1, groups A-D. In a real-world application, this results in
four-to-eight devices per segment. This is still far below the capabilities of a
general-purpose fieldbus installation, where users can connect up to 16 instru-
ments per segment. The overall cable length is theoretically limited to 1,000 m;
spurs are limited to 60 m; and the current and voltage levels are still very low,
which results in significantly shorter cable runs than the theoretical
maximums.
FNICO is similar to FISCO from a function point of view, but is used in Class
I, Division 2 applications. The same basic rules apply for FNICO; the major
difference is that FNICO uses a lower safety factor for its electrical values. Due
122 Applying FOUNDATION Fieldbus
to this lower safety factor, it is possible to supply more current into a Class I,
Division 2 hazardous location. Typical values for FNICO are 12.3 V at 215 mA.
Almost all field devices are FISCO compliant, and now that FNICO is part of
the FISCO standard they can be used in these applications.
Typically, fieldbus users do not need energy limitation on the trunk, because
they do not perform live maintenance. They do not want to lose an entire seg-
ment due to a single short. Unlike the FISCO/FNICO concepts, the high power
trunk concept does not limit the energy on the fieldbus trunk cable to intrinsi-
Chapter 4 – Installation of FOUNDATION Fieldbus 123
cally safe or nonincendive levels; instead the energy on the spur connections
to the instruments is limited. This allows the maximum number of devices on
a segment while also maintaining maximum cable lengths.
Fieldbus barriers and fieldbus segment protectors make it easy to apply the
high power trunk concept even in the most hazardous environments. Fieldbus
barriers are used in Class I, Division 1 applications and provide intrinsically
safe, short-circuit-protected spur connections for either entity-based or
FISCO-based instruments. High power trunk connections to the fieldbus bar-
rier can be galvanically isolated from the IS spur connections.
Both fieldbus barriers and segment protectors are typically mounted in a Divi-
sion 2 area, where the high power trunk connections are made following Divi-
sion 2 wiring methods. Division 2 wiring methods include open cable tray
with power-limited tray cable/instrument tray cable (PLTC/ITC), such as a
standard Type A fieldbus cable, armored cable, or conduit. Many end users
are moving away from using conduit in Division 2 fieldbus installations due
to cost and adopting open cable tray in combination with PLTC/ITC cable.
Fieldbus barriers and segment protectors move the energy limitation out of
the control room cabinet and into the field by combining short circuit–pro-
tected junction boxes with a built-in barrier. This enables users to distribute
124 Applying FOUNDATION Fieldbus
their fieldbus equipment around the plant, taking full advantage of fieldbus
technology.
Another benefit of the high power trunk concept is that it gives the end user
the freedom to choose any type of instrument entity, FISCO, or FNICO.
• Ground faults
This gives users a better picture of what is actually happening on a given seg-
ment at all times. Physical Layer diagnostic information is also very useful
during start up, commissioning, and troubleshooting. These barriers with
diagnostics provide information as to whether the fieldbus Physical Layer
conditions are changing over time; users can take action before a segment
fails.
Because most work needs to go on at the device and most users frown on
working on a trunk while energized (since a mistake there could take all
devices offline), the high power trunk method is widely used. It provides the
benefits of redundant power, long cable length (the FPS can supply voltages
as high as 28 VDC), and a maximum device count (the FPS can supply 350–
500 mA or more). A typical example of such a system is shown in figures 4-10
and 4-11.
Chapter 4 – Installation of FOUNDATION Fieldbus 125
The high power trunk concept allows fieldbus users to design segments that
are free of any power restriction. In fact, the only limitations are the control
system or the fieldbus specification. Now, engineers can enjoy the same bene-
fits in terms of power, cable length, and number of devices per segment in
hazardous location applications as they do in general-purpose applications.
The design requirements for a high powered trunk fieldbus segment are more
complicated and need additional effort. However, some feel the benefits out-
weigh the extra complications. Below are most of the requirements:
– May be redundant
– Current only limited by the trunk cable and wiring block ratings
• Trunk
• Wiring blocks
• Fieldbus devices
• Safety calculations
High Power
Entity FISCO
Trunk
Available Power -- 0 +
Validation of Explosion Protection - + +
Power Supply Redundancy - - +
Long-term Physical Layer Diagnostics - - +
Segment Design Mix - - +
Cabinet Space Requirements -- -- +
Power Supply Initial Cost -- -- 0
Trunk Live working + + --
• Segment noise
integrated with the host system. Table 4-9 shows some valuable tools used in
different diagnostics applications:
Segment Voltage x
Segment Current x x x x
Segment Noise x x
(Low freq.)
Segment Noise x x x x
(High freq.)
Segment Signal Level x x
Instrument Signal Jitter x x x x
Instrument Signal Level x x x x
Instrument Signal Jitter x x x x x
Instrument Noise x x x x x
(Individual)
Fieldbus Termination x x
Segment Ground Fault x x x x x
(Imbalance)
Device Communication x x x
Communication Fault x x x x
Cable Degradation x x x x x
(Trending)
Device Configuration x x x x
Remote Access x x x x x
Wiring Practices in FF
In the traditional analog transmission world of industrial automation, a pair
of wires usually carries a process variable in the form of current or voltage.
The electrical signal from the field has to be wired in a point-to-point mode for
all the transmitters/field devices to the host system in the control rooms. In the
digital communication world, a pair of wires can be a bus and carry multiple
parameters and information over the same cable. In FOUNDATION Fieldbus, as
discussed earlier, the pair of wires used for connecting the intelligent field
devices is called the H1 network, and the bandwidth for the same is
31.25 Kbps.
130 Applying FOUNDATION Fieldbus
Refer to figure 4-13 for the wiring of a FF device. In this case, the control sys-
tem is replaced with an interface module in the control system that acts like a
gateway or bus module. The traditional field device connects to the interface
module over the same pair of cables. In addition, there are terminators at the
interface module side and the device end. Sometimes, the terminator at the
interface module end might be an integrated component inside the module,
and hence there may be no need for any additional external terminators.
Now let us refer to figure 4-14 for the same bus network with additional
devices added. In this case, the devices are added to the same bus in a star or
daisy-chain form. There is no additional cable required and no additional
interface modules. It has to be noted that because each network requires two
terminators, there is no additional terminator as well, but rather the termina-
tor is relocated to within 120 meters of the final field device.
Chapter 4 – Installation of FOUNDATION Fieldbus 131
The rule for locating terminators is one that may be bent. The right-hand ter-
minator, shown in figure 4-16, is located at the junction box. In theory it
should have been placed at the field device with the longest spur, but nor-
mally it is placed within the maximum spur length limits defined in the stan-
dards. Had one spur been significantly longer, then the terminator should
have been placed along that spur, thus effectively extending the trunk to the
new terminator location.
two ends of the trunks. In general, the terminators are placed at the junction of
the group of field devices.
Generally speaking, shorter spurs are better. The total spur length in a seg-
ment is fixed, and therefore, the longer the spur length, the lower the number
of spurs. A spur can be up to 120 m in length if there are few of them. If there
are 32 spurs, they should be 1 m or less. Because FF is wired in parallel, the
typical wiring, if done using conventional terminal blocks, resembles
figure 4-17.
Table 4-2 gives the different cables and their sizes as well as the restrictions in
terms of the maximum length of all the cable in the network segment. This
information provides the constraints that need to be considered while design-
ing the network. It is not always the case that the same cable will be used for
the entire segment, and it is possible to use a hybrid approach with mixed
cables as well. Figure 4-18 shows a classic example of wiring needs and types.
Grounding must usually be <1 V except for voltages more than 5 kV. All the
equipment in the plants must have safe grounding designs.
In general all grounds are electrically noisy due to lightning, welding, cathode
protection, electric heating, high voltage power transmission, electric motors
with variable speed drives, and radio frequency interference. Most of the
ground noise is wide band in nature. Ground has high impedance for noise at
high frequency and long distance.
Shielding is meant for isolation. Shielding reduces the noise effect on signal
circuits. Shielding is effective if it is used in combination with insulation, bal-
anced line impedance, twisting, and line termination. Table 4-10 indicates the
different shield types and their impact on noise reduction.
All fieldbus signal cores must be used differentially throughout the network,
as grounding either conductor could cause all fieldbus devices on that H1 seg-
ment to lose communication for the period that the conductor is grounded.
136 Applying FOUNDATION Fieldbus
Typically the instrument shields of multipair trunk cable are terminated and
grounded at the DCS end of the H1 segment in the marshalling cabinet and
are not connected to ground at any other place.
The instrument shields of single-pair trunk cables are connected to the instru-
ment shield of a multipair trunk cable at the intermediate FOUNDATION Field-
bus junction box (JB).
The spur cable shields are connected to the trunk cable shield at the wiring
block inside the FF Spur JB and left unconnected at the fieldbus device. The
shields should be covered with heat shrink/tubing to avoid the possibility of
inadvertent grounding.
No connection may be made between the trunk or spur cable shields and the
fieldbus junction box. Safety (case) ground of FF devices, intermediate FF
junction boxes, and FF spur JBs are made at each component.
Fieldbus cable shields from different networks segments must not be con-
nected.
Because only the shield should be connected to the ground, signal wires must
not be connected to ground, and shield must never be used as a conductor. All
fieldbus devices have communication ports that are galvanically isolated.
The DC main power supply is normally separate from the power supply
impedance module. In this case, the negative of the DC power supply can also
be connected to ground if the design of the impedance permits.
If there is an unbalanced signal line, it can cause noise problems. This imbal-
ance converts common mode noise to differential mode signal noise. To avoid
this, the impedance to ground should be high and balanced, and signal line
impedance should be low and balanced.
138 Applying FOUNDATION Fieldbus
Refer to figure 4-21, figure 4-22, and figure 4-23 for various grounding options
available and acceptable to these networks.
The most typical and frequently best option to provide signal isolation for a
FOUNDATION Fieldbus H1 network from external influences, such as EMI/RFI,
is the star, tree or chicken foot topology with a single shielded ground. Typi-
cally, these topologies are connected at one end to the Master Ground at the
Host system using twisted-pair tray cable with Mylar foil (Type A cable). Fol-
lowing these guidelines provides almost zero errors in most environments.
Using a ‘floating’ FF Power supply also further helps reduce potential noise
problems.
Chapter 4 – Installation of FOUNDATION Fieldbus 139
There must be enough voltage to operate if two wire field devices are in the
network. Each device needs at least 9 volts to operate. Below are some impor-
tant points to consider:
143
144 Applying FOUNDATION Fieldbus
The DCS H1 network topology and settings must comply with the recom-
mended FOUNDATION Fieldbus practices to enable communication with all
targeted FOUNDATION Fieldbus devices.
The host system enables field device firmware to be updated without shutting
down or impacting the publish/subscribe cycle of that H1 segment. Uses only
standard FOUNDATION Fieldbus Device Description (DD) and Common File
Format (CFF) files or in some cases a library of standard DD and CFF files or
dedicated vendor files which are preinstalled (e.g., DTM files).
The DCS database holds all the FOUNDATION Fieldbus device parameters. This
is maintained as the master database. No other configuration tools may be
used that will bypass the DCS database. Integrated asset management pack-
ages can be used to handle the diagnostic information enabled by the FF
devices.
Spare Capacity
Note: These engineering guidelines are general practices followed in the indus-
tries using process control and automation. The following guidelines are
Chapter 5 – Engineering Considerations 145
Spare capacity for a segment is calculated based upon the two conditions
given here, with the largest number of spare devices to be used for sizing.
Generally most users prefer to limit the maximum number of devices on any
segment (including future devices) to 12, as it still leaves additional capacity
upon project completion for future system growth.
For 20 percent spare capacity, additional current capacity must also be consid-
ered for future expansion. In addition, the segment macrocycle must be
designed for future device allowances as described in earlier chapters. That is,
the macrocycle should allow one transmitter to be added (analog input [AI])
and one valve positioner (final element) to be added (analog output [AO]) and
still ensure that the minimum free time of 50 percent is met. This is based on a
macrocycle with a default duration of one second. For fast loops, a different
macrocycle should be selected based on the needs of the process.
Selection of Devices
All selected FOUNDATION Fieldbus devices must comply with the require-
ments of the FOUNDATION Fieldbus specifications and be approved by the
Fieldbus Foundation. The Fieldbus Foundation issues a “check mark” logo on
such devices, which verifies interoperability. Project engineering should
ensure that all the FOUNDATION Fieldbus devices are certified as passing the
Interoperability Test Kit (ITK) 6.0 or later and include DD and CFF files.
The Fieldbus Foundation website lists all devices approved by and registered
with the Fieldbus Foundation. All devices have to be compliant with the latest
version of the FOUNDATION Fieldbus ITK.
Instrument data sheets must have the following line items (at minimum) spec-
ified by the vendor:
• DD revision
Users have to maintain proper records with regard to device and DD versions.
The DD file provides an extended description of each object in the virtual field
device (VFD). The DD file can be thought of as a “driver” for the device. The
DD file provides information needed for the HOST to understand the mean-
ing of the data in the VFD.
Device suppliers may also provide device type manager (DTM) files for their
devices and must develop these from the DD file when they are not available.
The DTM files are compatible with the host system using FDT/DTM technol-
ogy. Host systems also support Electronic Device Description (EDD) and/or
Field Device Integration (FDI). The overall aim is to ensure that the host sys-
tem and associated asset management system are equipped with the full func-
tionality of the device diagnostic and configuration capability.
Loss of power or disturbance to one power supply module must not result in
the reset of a field device under any circumstances, and hence the project engi-
neering has to ensure the fail conditions of each of these devices.
Advance Diagnostics
Field devices enabled with FOUNDATION Fieldbus technology provide infor-
mation for diagnostic purposes. The diagnostics of the following are being
made available in the system to help with diagnosing problems. Project engi-
neering has to ensure that the following diagnostics are considered in the
design:
• Device diagnostics
• Network diagnostics
Network Topology
Several FOUNDATION Fieldbus topologies are possible; use of each of the
topologies is specific to the project, and hence no specific guidelines are
required. Most of the installations use a hybrid approach.
Cabling Design
The FOUNDATION Fieldbus can be implemented using multipair trunk cables
from marshalling cabinets to intermediate junction boxes located within the
various plant areas. This method reduces the number of FOUNDATION Field-
Chapter 5 – Engineering Considerations 149
bus cables entering the control rooms, with associated cost savings. All multi-
pair trunk cables contain only FOUNDATION Fieldbus signals. Each segment
from an intermediate junction box (JB) typically uses multipair cable for the
trunk (H1) to the FOUNDATION Fieldbus junction boxes. The multipair cable
runs between the intermediate FF JB and marshalling cabinets. A single-pair
cable runs between the intermediate FF JB and the FF spur JB.
The FOUNDATION Fieldbus spur junction boxes are of a split design, with the
high power trunk (non-IS) on one side and the FF barriers and associated
surge protection and/or terminals (IS) for the hazardous area on the other side.
For nonhazardous areas, FF barriers and the above JB configuration are not
required. For nonhazardous areas, a wiring hub compliant with the FF-846
field device coupler can be used. The wiring hub provides individual device
(spur) isolation; a fault in one device will not affect the segment. Spur junction
boxes are available in various configurations. To optimize the segment design
the main preference is to use three or four-channel (i.e., 75 percent or 25 per-
cent spare) field barrier spurs.
Cable Types
All H1 spur cables can be “Type A,” as specified in IEC 61158-2, that is, single
twisted pair with an overall shield. Type A also complies with FF-844 (H1
cable test specification). All H1 trunk cables can be multiple twisted pair, with
individual and overall shields.
All H1 trunk cables must meet the electrical parameters for Type A cables
specified in IEC 61158-2. The maximum allowable total cable length (trunk
plus all spurs) of a FOUNDATION Fieldbus segment should not exceed 1,900 m
for a project. Some users limit the maximum allowable trunk length to 1,000 m
or 1,200 m.
The maximum allowable spur length according to field barrier design is 120
m. Some users further limit spur length to no greater than 90 m or, if possible
60 m, to remain compliant with FISCO requirements.
Cable Sizes
All H1 spur cable should be 1 mm2 intrinsically safe single-pair cable to field
instruments and two-pair 1 mm2 IS to temperature multiplexer (MUX) JBs, as
150 Applying FOUNDATION Fieldbus
they contain two MUX devices. H1 trunk cable is by default 1.5 mm2 non-IS
for trunk lengths of up to 1,000 m.
Fieldbus systems are highly susceptible to electrical noise. The proper signal
grounding design and construction methods are provided to prevent influ-
ence from any electrical noise. This helps to maintain the required fieldbus
communication signal quality on an H1 segment.
All fieldbus signal cores are preserved differentially throughout the network,
as grounding either conductor would cause all fieldbus devices on that H1
segment to lose communications for the period that the conductor is
grounded.
The instrument shields of multipair trunk cable are terminated and grounded
at the DCS end of the H1 segment in the marshalling cabinet and are not con-
nected to ground at any other place. The instrument shield of single-pair
trunk cables is connected to the instrument shield of multipair trunk cable at
the intermediate FOUNDATION Fieldbus junction box.
The spur cable shields are connected to the trunk cable shield at the wiring
block inside the FF spur JB and are left unconnected at the fieldbus device.
The shields should be covered by heat shrink tubing or by a sleeve to avoid
any possibility of inadvertent grounding. For reference, see figures 5-1 and 5-2
for various wiring concepts.
The trunk or spur cable shields and the fieldbus junction box are not con-
nected. Safety (case) ground of FF devices, intermediate FF junction boxes,
and FF spur junction boxes is made at each component. Fieldbus cable shields
from different network segments are not connected.
Terminators
Terminators must be provided at both ends of an FF segment. The field termi-
nator can be installed in the FF spur junction box at the farthest end of the
trunk. No terminators can be installed in the FF device (due to the impact on
the whole segment should the device need replacement). The terminator at
Chapter 5 – Engineering Considerations 151
the DCS side is incorporated into the FOUNDATION Fieldbus power supply
(FFPS) and enabled using a jumper or DIP switch.
Note: Terminators prevent reflections at the ends of the FF cable. These “reflec-
tions” are a form of noise that distorts the signal. Some suppliers provide
barriers with built-in terminators, activated using a DIP switch. These
terminators are kept off to avoid signal strength attenuation.
The FFPS are fully “hot swappable.” Individual power conditioners and input
power supplies can be replaced without interrupting power or communica-
tion on the fieldbus segment.
• FF segment shorted
Surge Protection
Because of the risk of damage resulting from the large voltage transients aris-
ing across the length of a trunk cable, it is recommended that all trunks must
have surge protection at both ends (i.e., in the marshalling cabinet and the FF
spur junction box). In areas with a high susceptibility to lightning strikes, such
as tank farms, columns, and jetties, and areas where instrumentation is not
significantly shielded by the plant steelwork and pipe racks, surge protection
for every instrument is important. This is achieved by installing surge protec-
tors on each susceptible field device. Surge protectors are grounded to the
local protective ground.
Lately, some projects are using high power trunk “hybrid” concept, another
method of IS protection. This method uses the increased safety (Ex e) concept
of protection for the fieldbus trunk and has the benefit of delivering a higher
level of current to the fieldbus segment than is possible with intrinsic safety.
energized inside the hazardous area. This solution is achieved with enclosures
that provide a bus-powered fieldbus barrier with no requirement for an exter-
nal power source through the use of special “live-disconnect” terminals, mak-
ing fieldbus barriers replaceable while they are energized in a hazardous area.
The spurs are galvanically isolated from the trunk and from each other, have
spur short circuit protection, and do not require a protective ground in the
field.
• How much time does it take the process to recover from a failure?
• What are the actions taken, and can operators respond in time to
mitigate the problem?
• What is the physical location of the failure? (Same operating unit, top of
column, off-site, etc.)
• Redundant valves
Initially, the preliminary layout of segments within each risk area is based
solely on the P&IDs and plot plan. The P&IDs are the basis for determining
which FF devices are related and are therefore assigned to the same segment
to limit cross-segment communication (note that in many cases both the con-
trolling element and the measuring device of a control loop are located adja-
cent to each other).
For high-density units, segment allocation can be split by macrocycle, that is:
Once all higher-density areas have had control devices assigned to segments,
only then should any remaining monitoring devices be added to “load” the
control segments, always keeping in mind the constraints limiting the number
of devices per segment. Based on the P&IDs, devices can be grouped on the
same segment if they are associated with a common piece of equipment. This
Chapter 5 – Engineering Considerations 157
is because the devices are actually located adjacent to one another even with-
out the use of a plot plan.
Care should be taken when assigning devices to field barriers to avoid assign-
ing redundant/standby equipment and main equipment controls to the same
barrier, and if feasible, segment.
It is advised that one or more segments should be used to “pick up” all FF
devices on process equipment. It is advisable to avoid segments running
between distant vessels and across plots. This is recommended to avoid awk-
ward field cabling runs between process equipment and to maintain a single
crossover point from the main pipe rack to each vessel and its associated FF
devices. For repeat units, consideration of the original JB allocation can be
used to ensure enough field cable runs.
Maximum fieldbus segment plus spur lengths must not exceed 1,900 m. For a
typical project this constraint results in the following design considerations as
a way to manage risk:
• Each segment may have no more than three final control elements.
When a control loop has multiple inputs that are operator or auto-selected, the
input devices can be on the same segment, and the control must reside in the
HOST system. This also applies to cascade loops where the master/slave
resides on the same segment and takes the same criticality level.
Some users prefer control in the field (CIF), because CIF optimizes communi-
cation. Less H1 communication is required, and control loops show lower
variability due to better synchronization.
CIF can be used for simple single loop and cascade PID control within the
same H1 segment. The PID function block can be located in the final control
element for a single loop. The system can be configured to allow the operator
to manipulate the control valve or final control element manually and provide
alarm of the condition when a transmitter is completely inoperative due to
local failure, such as power loss, communication loss, or complete electronics
failure.
Transmitters and control valve positioners typically have a PID function block
available, which raises the issue of where the PID function should be located.
It is important to consider issues such as H1 segment communications over-
head, execution speed, advanced diagnostics, failure mode, and operator
access when choosing where the PID block resides. However, the general con-
sensus is that the PID block should be located in the control valve positioner.
As with conventional control systems, it is important to determine loop and
Chapter 5 – Engineering Considerations 159
device failure modes, and the proper course of fail action should be identified
for each control loop.
If all function blocks of a single PID control loop cannot reside on the same
segment, the PID control algorithm has to be placed in the DCS controller.
Cascade PID control can be implemented in the field if all function blocks for
both inner and outer loops reside on the same segment.
Motor-operated Valves
Where individual motor-operated valves (MOVs) are required in process
units, these shall be FF devices and hook up to the segment as a standard
device. Due to the non-IS protection of these devices, they must be assigned to
their own spur JB/segment.
160 Applying FOUNDATION Fieldbus
Resource Block
The resource block (RB) describes characteristics of the fieldbus device such as
the device name, manufacturer, and serial number. There can be only one RB
in a device.
Transducer Blocks
The transducer block (TB) contains information such as calibration date and
sensor type. TBs decouple FBs from the local input/output (I/O) functions
required to read sensors and command output hardware. This block carries
out parameterization, calibration, and diagnostics for the device.
There is typically one TB channel for each input or output channel of a device
(this may differ for some devices). Some devices have several TBs, where ded-
icated TBs are used for device diagnostics. Diagnostic coverage is all defined
in the TBs of the device. Interoperability of all TB parameters with the host
system is essential for asset management. Detailed descriptions of the device
diagnostics are provided in later chapters.
Chapter 5 – Engineering Considerations 161
Function Blocks
Function blocks can be used in user-defined function block applications to
provide various functions required in a control system (e.g., input, output,
signal selection, and other control actions). The FOUNDATION Fieldbus has
defined several device profiles outlining the “root” requirement for several
device types. This profile includes the pressure transmitter, temperature
transmitter, valves, and some others. Devices that conform to these specifica-
tions are preferred in systems design.
FBs are built as needed into fieldbus devices to achieve the desired control
functionality. Some FBs can be built into the devices, and some can be instan-
tiated. The first option has been used, as it results in less confusion and config-
uration effort.
Unused FBs in some multivariable devices are tagged or even partly config-
ured to avoid nuisance alarms. Optimal configuration can be achieved by
referring to the manufacturer’s device manual. Some functionality needs
additional licenses, and care needs to be taken while enabling or disabling
such functionality.
The current ITK tick marking does not include all available FB types; how-
ever, not all FB types are required. Some FBs are needed only if control in the
field is applied. Then it is essential to make a considered choice when specify-
ing the function blocks to be included in various field device types.
However, the interoperability of other, nonessential FBs (AI, AO, DI, DO,
MAI, Mux, PID) is not guaranteed with every host system, thereby limiting
CIF applicability. The FOUNDATION Fieldbus tests of function blocks only con-
firm that they are present and how their external interface behaves, not how
well they work internally. Each manufacturer can configure the internal oper-
ations of function blocks as they wish, for a competitive advantage. It is thus
162 Applying FOUNDATION Fieldbus
Fault Handling
Fault detection and processing by ITK-approved FOUNDATION Fieldbus
devices comply with FOUNDATION Fieldbus standards. PV status is available
on a per tag basis. The status values are generated for physical inputs and cal-
culated variables. The PV status is set to uncertain or bad if any of the follow-
ing conditions are true:
Communication failure is a new type of failure associated with FF; hence, the
preferable configuration of the fault state is hold at last position with control-
ler shed to manual for further operator action. The configured fault state value
can be 0 percent (closed) for fail-to-closed and 100 percent (open) for fail-to-
open valves. Note that some positioners offer fail to last position. However,
this is device specific and is addressed on a case-by-case basis. A configured
event may be:
Details of alarms during block errors and their descriptions are explained
under function blocks. There are three types of reactions to failures at inputs
to function blocks:
• Remote Shed
• Mode Degradation
164 Applying FOUNDATION Fieldbus
Remote Shed
Remote Shed or simply “shed” is the term used when a “remote” input
(RCAS_IN or ROUT_IN) times out. These two connection types are Fieldbus
Message Specification (FMS) writes (as opposed to publisher/subscriber inter-
function block connections). The SHED_ROUT and SHED_RCAS parameters
in the resource block determine how long to tolerate missing updates.
Mode Degradation
Mode degradation, sometimes called “mode shedding,” but easily confused
with “shed,” is what happens when the communications that the current
mode is dependent upon are lost, and a degraded mode of operation is possi-
ble by using a less-functional input instead (e.g., modes could degrade from
ROUT → RCAS → CAS → AUTO → MAN).
166 Applying FOUNDATION Fieldbus
If the fault state initiation rules apply, they take precedence over mode degra-
dation. Note that a Bad status on an input that is not “Bad (NoComm)” initi-
ates this mode degradation, not fault state.
The STATUS_OPTS[0] (“IFS if Bad IN”) and TATUS_OPTS [1] (“IFS if Bad
CAS_IN”) options apply to all substatuses of Bad per the FF specification.
However, few vendors devices allow Bad (OOS) to not generate IFS.
Algorithms
Standard FOUNDATION Fieldbus software algorithms perform regulatory pro-
cess control functions. These process control functions are performed using
predefined algorithms with configurable parameters. Standard FOUNDATION
Fieldbus control algorithms are identical regardless of whether they reside in
system controllers or the H1 field devices, but control algorithms are not stan-
dardized. For example, PID algorithms have different equations, but all the
parameter naming is the same.
Set-Point Clamps
Upper and lower clamps are available on all set points.
Anti-windup Protection
Control functions that include integral action are provided with windup pro-
tection. Windup protection inhibits the integral action when the control block
output is constrained by conditions such as:
It is a good practice to make the windup protection status clearly visible to the
operator in a standard faceplate display, so the operator is aware of this condi-
tion. To achieve this, windup protection status is generally set as a parameter
that is accessible to graphic displays and application programs. Control func-
tions and computational functions include the ability to propagate the
windup parameter through multilevel control strategies.
170 Applying FOUNDATION Fieldbus
Factory Configuration
FOUNDATION Fieldbus instruments are configured by the manufacturer and
include at least the following information:
• Serial number
Each function block within a device has an execution time that varies between
devices. The execution time also varies depending on the function blocks used
within each device. In general, the control response period dictates the seg-
ment macrocycle time based upon the DCS scan time. The control response
specification is based on a single PID loop. For more complex loops, particu-
larly master/slave or cascade control loops, the response time only applies to
the slave loop. It is preferred that the master and slave reside on the same seg-
ment. It is acceptable, however, if the master is on a different segment due to
macrocycle or geographical constraints.
Chapter 5 – Engineering Considerations 171
There should be sufficient spare time in the macrocycle to satisfy the general
spare philosophy of this project. The recommended unscheduled (free asyn-
chronous) time is 55 percent of the macrocycle (i.e., scheduled time is a maxi-
mum of 45 percent of the macrocycle). Of the available unscheduled time, 25
percent should be unallocated to defined tasks (i.e., function block views, etc.).
OUT. The valve subscribes to it, and the AO block is scheduled to execute
shortly after the publication is received. The AO block must publish its back
calculation output, BKCAL_OUT, so that its upstream block (the PID) can
confirm its operating status and use it for initialization if needed on the next
cycle.
Time synchronization is tightly controlled on the link, because all devices use
a common knowledge of time. Little margin is needed in the schedule to allow
for time variances between devices.
This example is intentionally simple. If this is all there was on the link, there
would be nothing to improve. There are only a couple of basic rules to keep in
mind for the schedule:
• Only one function block may execute at a time within a given device.
Chapter 5 – Engineering Considerations 173
Figure 5-4. Adding a Second Loop May Double the Scheduled Portion of the
Macrocycle
Figure 5-4 shows a common schedule that simply adds another “staircase” to
the schedule. For each loop, there is no opportunity to reduce latency (wasted
time between executions and publications) since there is no wasted time
between AI and AO block executions in each loop. However, the schedule
needlessly consumes macrocycle time because the additional devices are per-
mitted and required to have their function blocks execute in parallel with the
other devices. They simply cannot publish together, presenting the first opti-
mization opportunity:
Opportunity 1
Maximize the usability of the macrocycle by reducing the fraction of the mac-
rocycle scheduled by taking advantage of parallel execution of blocks when-
ever possible.
174 Applying FOUNDATION Fieldbus
Imagine if there were four to six loops on the link. The macrocycle duration
may have to be significantly extended, reducing the controllability of the
loops or else fewer loops may be used on a given link. Since link interfaces
cost money, the more devices per link, the lower the “interface cost per
device.” This desire is moderated by “scale of loss” concerns and other band-
width limiting factors. Figure 5-5 shows that the scheduled portion of the
macrocycle can be reduced to almost half in this case. Leaving a significant
portion of the macrocycle free of publications permits the system to perform
other network functions like parameter access more rapidly, resulting in faster
display call-ups.
Figure 5-5. The Scheduled Portion of the Macrocycle is Reduced Via Parallel
Execution and Grouping of Publications
Figure 5-5 also reveals another benefit over figure 5-4. Since the publications
are “bunched together” instead of spread out, more bandwidth is available on
the link for other, longer messages. Fieldbus stacks look ahead at the schedule
and do not initiate an unscheduled message if it does not have time to com-
plete this task because of an impending scheduled publication. In other
words, it is better to bunch up publications consecutively than it is to spread
them out like a picket fence. The “gaps” in the fence increase performance—
the bigger the gap, the better. There is also a second optimization opportunity.
Chapter 5 – Engineering Considerations 175
Opportunity 2
Maximize the availability of the macrocycle for unscheduled communications
by scheduling publications consecutively or close together whenever possible.
Figure 5-6 illustrates another opportunity. Here there are three transmitters
measuring process values and a valve employing an input selector (ISEL)
block to average or select the median. An ISEL, PID, and AO block reside in
the valve.
Figure 5-6. Three Transmitters Sample in Series and Provide Values for an Input
But figure 5-7 shows that the total latency from the execution of the first AI to
the final AO is reduced by taking advantage of parallel execution of the three
transmitters (simply skewed enough to permit their three publications to be
adjacent to one another). Reducing latency can improve control. Control sta-
bility issues are reduced. Actuator movement, hence, wear and tear, can be
reduced. Productivity can be increased if the reduced latency leads to tighter
control, which leads to the ability to operate closer to equipment design limits.
In addition to parallel processing, interference by scheduling other devices
can add latency to the control loop. This is well addressed by prioritizing the
176 Applying FOUNDATION Fieldbus
Figure 5-7. Parallel Execution Can Reduce the Latency for a Portion of the Control
Loop
elements in the schedule such that the most important ones are scheduled
with the fewest possible conflicts. Hence, the third optimization opportunity
is as follows:
Opportunity 3
Minimize control latency via parallel execution and prioritized scheduling
whenever possible. Let’s look at a more complex example. Figure 5-8 shows a
tertiary loop consisting of AI3, arithmetic, PID3, and AO blocks. It executes at
a one-half second period. AI4 feeds the calculation in the arithmetic block, but
at two seconds. (It is associated with a slower moving variable such as tem-
perature.) A secondary sequence of AI2 and PID2 calculates the set point for
PID3 at a one second period. The primary sequence of AI1 and PID1 calculate
the set point for PID2 at a two second period. Clearly the most important ele-
ments to schedule with minimum latency are the AI3-arithmetic-PID3-AO
blocks. The innermost loop of a cascade has the tightest timing requirements.
The integrator block feeds on the output of the arithmetic block, but since its
output is not used in the control loop, its timing is much less important than
any blocks used for control.
Chapter 5 – Engineering Considerations 177
Figure 5-10 is an optimized schedule, taking into account priorities and other
factors. First, notice that the initial 500-ms subcycle is now only scheduled for
a 283-ms duration, instead of 499 ms, leaving more unscheduled time. Next,
notice that the vertical bands showing publications are better grouped, which
also provides better, unscheduled communications bandwidth. Back calcula-
tions are grouped with other publications where possible. Latency from input
to output is significantly reduced by priority scheduling of the elements into
178 Applying FOUNDATION Fieldbus
Figure 5-9. The Natural Schedule for the Triple Cascade Consumes Most of the
Macrocycle and Leaves Little Time for Unscheduled Communications
Opportunity 4
Provide the best scheduling for the highest priority elements. Another oppor-
tunity for optimization comes with back-calculation publications. These publi-
cations notify the upstream control block of current values, limits, cascade
relationship indications, and data qualities. Since they are available as soon as
the downstream block executes, but are not needed until the upstream block
executes on the next cycle, there is usually a great deal of slack regarding
when they are to be scheduled.
Figure 5-10. The Optimized Schedule for the Triple Cascade Provides Much More
Time for Unscheduled Communications
Opportunity 5
Scheduling of back-calculation publications can take advantage of a wider
time window of eligibility and should minimize disruption to the availability
of large, unscheduled communications intervals in the schedule. If the
upstream block that receives the back-calculation publication executes at a
slower period, the downstream publication need not be published after each
of its more frequent executions. It need only be published on the final execu-
tion that precedes the scheduled execution of the upstream receiving block.
important goal, all schedule elements involved with control are more impor-
tant than those involved only with monitoring. This means that the schedul-
ing mechanism needs to understand how each function block is used.
Next, where there are multiple execution periods on the same link, higher pri-
ority should be given to the faster blocks. It is assumed that since the control
engineer specified them to execute more frequently, they are associated with
an application function that demands faster action.
Where there are multiple loops executing at the same execution period, those
associated with the innermost loop of cascades are assigned the highest prior-
ity, because those dynamics are always faster. Then the next level of cascade
set-point calculation sequence is given a lower priority. This reducing of pri-
oritization continues to the outermost level of a cascade.
If all else is equal (control versus monitoring, execution period, level of cas-
cade), then the sequences that are going to contribute the most to the schedule
are given priority, since they need the least interference. The smaller contribu-
tions can deal better with the conflicts presented by the preceding
contributions.
Transmitter Redundancy
Perhaps the simplest type of redundancy is the use of multiple transmitters.
The operators are allowed to choose the signal they feel is correct when pre-
sented with process information from multiple transmitters. However, with
FOUNDATION Fieldbus, each process variable has an associated status that tells
the operator whether the device has determined that the signal it is presenting
is good, bad, or uncertain. Furthermore, the device can alert the operator if it
has detected any one of a multitude of conditions that may cause a loss of con-
fidence in the information it is providing. And even beyond this, the device
can possibly (and probably will) contain diagnostic information that the oper-
ator or engineer can review to determine the health of the device.
It is useful to add a selector block that takes the process variables from several
transmitters and presents a single output (still with an appropriate status) to
the operator. In this case, the operator does not have to look at several process
signals, but can rely on the single output from the selector block. Bad inputs
are not considered in the decision to select an output (unless all the input sig-
nals are bad, in which case the selector block presents a BAD status on its out-
put). So, the operator can monitor a set of redundant transmitters by watching
a single signal, and if one transmitter fails, the output that the operator sees
will still be accurate. In addition, the operator can be informed of the failure
either by the device that failed, or by employing other means. Refer to the fig-
ure 5-11 for the block configuration of such a scheme.
HSE is the first standard protocol that enables the selection of a device from a
redundant pair and one of the redundant ports that a transmitting device
should address. Exchange of redundancy management information is part of
the standard protocol. HSE is built on standard Ethernet, originally a technol-
ogy for the office environment. However, industrial-grade hardware is avail-
able, and HSE has a number of functions built in to ensure fault tolerance.
The modern form of Ethernet uses unshielded twisted pair (UTP) wiring
using a hub-based star topology in which there is only one device per wire
segment. Therefore, devices can be disconnected and connected without dis-
rupting other devices, and any wire fault only affects a single device (i.e., the
impact of a fault is reduced somewhat). A shared hub is a multiple port
repeater that joins several segments into a single network. A switched hub is a
multiple-port bridge that joins several networks together. Fiber-optic media
Chapter 5 – Engineering Considerations 183
Controller Redundancy
FOUNDATION Fieldbus enables the application of control in the field. With
experience, users realize that distributing control to the field devices is more
reliable than maintaining control in a centralized DCS or PLC. The advantages
of using a PID controller in a field device are soon appreciated. Those slow to
make the transition to control in the field may use the device PID controller as
a backup to a host (DCS/PLC) PID controller. In the event of failure in the host
system, control switches to the field controller and the process continue with-
out incident or bump. This is accomplished by getting the host to write the
output from its PID to the ROUT_IN parameter of a PID in the field (see
figure 5-12).
The PID in the field can be put into ROUT mode, which directly transfers the
value written in its ROUT_IN parameter to its output. But, if the status goes
BAD on the data written by the host, or if the host gets too busy and does not
get a chance to write the data in the configured amount of time, the field PID
switches to an automatic mode (determined ahead of time) and continues
operation. There is no bump, because the PID continuously monitors the data
from the host system and the analog output block, and recalculates its internal
variables. It is ready to take over control when told to do so by an operator or
by a set of conditions as previously described.
184 Applying FOUNDATION Fieldbus
Media Redundancy
Any Ethernet device, even one with a single port, can have simple media
redundancy using some form of port “splitter.” Splitters are implemented in
different ways, but basically work in the same fashion. A single port is split in
two, connecting devices together in a circle and providing alternate communi-
cation paths. If communication in one direction is not possible, communica-
tion is routed the other way (i.e., the network is “self-healing”).
The switch overtime is very short. Recovery is much faster than with the tradi-
tional spanning tree algorithm, and thus operations continue without any
data loss.
Simple media redundancy may be sufficient for some applications, but not all.
For example, some applications combine media redundancy with fully dupli-
cated networks and linking devices.
The redundancy scheme leaves several compatible device options open, for
example, a redundant device pair where primary and secondary have one
port each, a redundant device pair where primary and secondary have two
ports each, or a single device that has two ports. All parts of the network have
redundancy, including the hubs (there are two independent networks, ensur-
ing that communication can continue even if one network fails). This means
that the network can sustain multiple faults but still continue to function. Such
networking is extremely reliable, minimizing loss of data and unnecessary
shutdowns.
This means that the control application sees either the primary or the second-
ary Ethernet device, depending on which one is active, whereas the system
186 Applying FOUNDATION Fieldbus
diagnostics see both. Thus, the diagnostics ensure that even the inactive
devices are fully functional and ready to take over at any moment.
Wide diagnostics coverage is an integral part of the HSE protocol, going far
beyond mere hardware duplication. Every HSE device, including the host or
any “redundancy manager,” independently keeps track of the status of the
networks and all the devices on them. HSE is not only an Ethernet medium,
but also has a standard application layer; therefore, devices from different
manufacturers periodically exchange their view of the network with each
other using diagnostic messages through all ports on both networks, which
also serves as sign of life indication. Every device has a complete picture of the
network to allow it to intelligently select which network, device, and port to
communicate with. Failure detection includes late and lost messages and
duplication.
With exhaustive network diagnostics, every device knows the health of the
primary and secondary and communication port A and B of every other
device on the network. Diagnostics in each device detects failure, allowing the
device to respond to and circumvent these faults and notify the operator. No
other standard protocol has this level of redundancy capability. There is no
need for a centralized “redundancy manager,” because the redundancy man-
agement is distributed to each device. This helps in overcoming the weakness
of centralized architectures. Every communication port has a unique IP
address. The IP address does not change when the primary switches over to
the secondary. Depending on the health of the network segments, communi-
cation ports, and device pairs, the redundancy management in each device
picks the most suitable route to communicate with another device using the
appropriate IP address. Therefore, the system can sustain multiple faults and
still continue to operate. The network, device and port redundancy work
independently of the physical media. It is possible to use ring-topology media
redundancy at the same time.
Valve Redundancy
Valve redundancy is not as common as other types of redundancy. The sim-
plest way to achieve valve redundancy is to have two valves in line, both
receiving the same signal from a controller. The main valve would be pro-
grammed to fail open, and the backup valve would be programmed to fail
according to what would normally be done for the process. This solution is
elegant in its implementation simplicity.
Chapter 5 – Engineering Considerations 187
Power Redundancy
The most critical point in most control systems is power. Both electrical and
pneumatic powers are usually needed to keep a process under control. We
will assume that the systems engineer has dealt with the problem of redun-
dant pneumatics or at least the system failure modes on the loss of air
pressure.
The first possibility is to have a backup power supply and battery backup in
the same location as the main supply, which is then switched on in the event
of a failure in the main supply. An audible alarm could sound when this
switch occurs. In addition, FOUNDATION Fieldbus enables the addition of intel-
ligence to the power supply. The power supply could contain a resource block
that generates an alarm under certain conditions. It could also contain a dis-
crete output block that sends a signal to the process when the battery is a con-
figured number of minutes from being drained. This signal may be used to
shut down the process in a known fashion before the battery in the power
supply is exhausted.
There are many issues to be dealt with when using a separately located
backup power supply, such as where to put it and how to configure the termi-
nators. But, once these issues are properly worked out, this option provides a
limited level of media redundancy in H1 fieldbus that is generally not
recognized.
LAS Redundancy
The LAS in a fieldbus system is responsible for coordinating all communica-
tion on the fieldbus; that is, it is in charge of the token. There can be one or
more backup link active schedulers on a fieldbus segment, in addition to the
main LAS. If the active LAS fails, one of the backup LASs automatically takes
charge of the bus.
What needs to be considered is where to put the backup LAS(s). One possibil-
ity is in a secondary host, such as a backup operator console or in a configura-
tion device. This would provide a backup in case of a hardware failure in the
main host, but probably would not help in the event of a power failure to the
control system. Many people that the authors talk to believe that every valve
should have LAS capability, because without a valve, the process cannot be
controlled (we do a lot of work with continuous process control).
The role of the LAS is not a simple one and is very CPU process intensive.
Either the performance characteristics of the valve with LAS capability will
degrade to some extent when it takes over the role of LAS, or its performance
characteristics will always be degraded to some extent when compared to the
same valve without LAS capability. This performance degradation is not a
problem for many applications, but is something the user needs to seriously
consider when assembling a redundant fieldbus segment.
All that is stated here regarding valves and other final control elements is also
true for transmitters.
With current technology, the best place for a backup LAS is in a separate
device that does not have any measuring or controlling functions (i.e., a field-
based LAS whose only purpose is to take over the bus if the main LAS fails).
Furthermore, we believe that this backup LAS should be placed with each
power supply. Simply put, if a power supply is lost and there is no backup,
things will not work anymore irrespective of how many backup LASs there
Chapter 5 – Engineering Considerations 189
are. But, by placing an LAS with each power supply, maximum protection is
achieved without adding more LASs than needed.
are time synchronized, executing their function at precisely the same time and
communicating (publishing/subscribing) for the best performance.
If all the function blocks are implemented in the same bus, share the same
time clock, and are executed in the same cycle (macrocycle), this is called con-
trol in wire (CIW) or control in the field. These names may be used inter-
changeably, but in this chapter we will use CIF. Control in the field is
commonly used in FOUNDATION Fieldbus technology to gain benefits, such as
reduced hardware, optimized communication, and reduced loop latency.
Due to various reasons of the users and the initial adoption risks involved
with control technologies, there are other engineering options in which the
PID algorithm of the control is executed in the host system. This concept is
called control in the host (CIH) or control in controller (CIC). In this chapter,
we will use CIH.
In the system shown in figure 5-13, with the adoption of the FOUNDATION
Fieldbus, control functions such as PID are retained in the field devices, and
the AI and AO functions are distributed to the devices, such as transmitters or
valve positioners.
Chapter 5 – Engineering Considerations 191
Control in the host is depicted in figure 5-14, where the AI and AO functions
of the traditional system are moved into the FOUNDATION Fieldbus device, but
the control function is retained in the traditional controller.
Control in the field or control in the host provides flexibility in the design of
the system with its ability to execute the PID anywhere in the bus, including
the host. Most of the advanced FF transmitters and valve positioners bring
additional PID blocks in their block set and thereby provide options for users.
The PID can be executed anywhere, either in the transmitter, or in the valve
positioner or controller of the host system. Figure 5-15 depicts the control
options available for users.
The ability to execute the function blocks in any device on the network comes
to the forefront when considering the difference between a FOUNDATION
Fieldbus system and traditional systems. In traditional systems, AI and AO
functions are performed at I/O subsystems level or at the controller subsys-
tems level, and PID in all cases is executed at the controller level. The concept
is indicated in figure 5-16. Now, an equivalent of the traditional system using
FOUNDATION Fieldbus technology can have the PID block executed in multi-
ple locations. The optional locations are shown here as PID #1, which is an
option to have the PID and AO together in the same valve positioner. The sec-
ond option is AI and PID #2 together in the same transmitter. The third
192 Applying FOUNDATION Fieldbus
option, PID #3, is when PID is executed in the host system, as shown in the
figure below.
Some vendors can supply the execution of the PID in the interface card, but
for the sake of discussion, this is considered a host controller.
The example strategy shown in figure 5-15 is the case of PID #3 in figure 5-17.
The PID block is executed in the host controller. The AI block periodically
publishes the data over the network, and the data is subscribed by the control-
ler in the host system. The host controller then publishes the data over the net-
work for the AO block to subscribe and take the corrective action. For safety
reasons, the AO block then feedbacks the signal (back calculation) for the PID
block in the control for safety consideration.
4. Calculate the total bus transmission time to publish the calculated PID
output value on the fieldbus.
This means this option essentially adds more time to the loop latency because
of the additional steps two, three, and four, as well as the one or two “extra”
fieldbus communications involved. The additional loop latency is due to the
control being executed over the bus in a different system. In practice, the
latency might be more difficult to calculate. The problem is much more severe
in the case of completely asynchronous systems. In many commercial sys-
tems, the fieldbus network clocks and cycles will be completely different from
the host system controller cycles and scan rates.
If these two systems need to synchronize the data, the probability of the data
being sent to the controller in the same cycle will be probabilistic. The reason
is the expensive time synchronization in terms of CPU usage. Refer to
figure 5-19 below.
The latency can be improved if the two systems operate in the same cycle, but
that causes the control systems to be less efficient and to cost more, which is
economically not feasible. For lower latency, control in the field is the pre-
ferred choice.
If the control is executed in the wire or field, then there are two options with
PID and AO in the same device and AI being executed from the transmitter, as
shown in figure 5-20. This is represented in the physical devices view in
figure 5-21.
Chapter 5 – Engineering Considerations 195
The typical sequences of operations that take place in this case are as follows
and are shown in figure 5-22.
• Receive the process variable at the controller and execute the PID
algorithm.
Similarly, the PID can be executed at the transmitter and its associated AI
function block, as depicted in figure 5-23.
For the system that is represented in figure 5-23, which consists of a pair of
control elements, a transmitter and valve with AI and PID in the transmitter,
and AO in the positioners, the typical sequence of operations is as follows (see
figure 5-24).
• Execute the PID controller function block in the transmitter and publish
the PID controller output value on the fieldbus.
• Receive the PID controller output value and execute the analog output.
Ultimately, there is no option that has complete benefits. The latency of the
systems seems to play a role in the case of control in the host. CIH is a typical
communication that occurs between two different systems not run by the
same clock. They are run asynchronously, which adds delays and probabili-
ties in communication. Control in the field causes the PID to be executed in
the same cycle, in the same bus controlled by the same clock, hence bringing
the determinism and fixed latency of the control. Some loops that are critical
and need to be executed on cycles should use control in the field, which pro-
vides additional benefits such as less controller memory and space.
198 Applying FOUNDATION Fieldbus
Figure 5-24. Steps for Calculating Latency for Control in the Field 2
The practical latency of such systems is shown in figures 5-25 and 5-26. Con-
trol in the host has to wait for the sample data to be passed to the host control-
ler and has to wait for the cycle to complete for the action to take place. In the
case of control in the field, the same cycle executes the control action and
hence can see better latency values.
Economy/lower cost
If a reduced communication load resulting from fewer links in CIF is not
required for a faster response period for the process, the leftover bandwidth
can be used to allocate more devices and control loops per fieldbus. This is
more applicable in case of slow loops like level and temperature, which
require less bandwidth. This translates into fewer H1 interface cards, fieldbus
power supplies, barriers, cables, couplers, junction boxes, and wire connec-
tions.
Deterministic control
Deterministic control in the case of CIF can be attributed to the streamlining of
scheduled data transfers and to giving enough time for unscheduled data
communication. It proves to be a better approach when determinism is
Chapter 5 – Engineering Considerations 199
Figure 5-25. Macrocycle with Control in the Host with 4 Closed Loops
needed by the very nature of the time given for scheduled data communica-
tion in CIF.
Flexibility
One of the key aspects of CIF is its flexibility, and the major contributor of this
is block instantiation. Controllers are free to handle higher-level control func-
tions such as advanced control and optimization. FOUNDATION Fieldbus
allows for “dynamically instantiable function blocks,” meaning that function
blocks can be activated in different components of the system as required.
There is also a large library of different block types that can be used aside
from basic PID, such as switches and alarms.
Single-loop integrity
CIF does not rely on the system interface card, backplane, central controller,
or controller power supply. CIF depends only on the transmitter, valve posi-
tioner, fieldbus cable and coupler, and fieldbus power supply—all of which
must also be there for control in the host. Fewer components mean a higher
mean time between failures (MTBF). For CIF to be able to operate indepen-
200 Applying FOUNDATION Fieldbus
Figure 5-26. Macrocycle with Control in the Field for Four Closed Loops
dent of the system, one transmitter per fieldbus is configured as backup LAS.
As long as cable integrity and power are maintained, the CIF loops remain
operational. This is often referred to as “single loop integrity,” because there is
no shared central controller. Note that the system interface card, central con-
troller, and controller power supply can also be built with redundancy for
high MTBF for CIH.
Dynamic performance
For CIH, a simple PID requires three communication links (VCR):
However, for CIF, a simple loop with the PID in the valve positioner requires
only a single link: the process variable from the transmitter to the valve posi-
tioner. That is, CIF requires only one-third the number of communication
Chapter 5 – Engineering Considerations 201
links, which are one-third the communication resources. This does not mean it
goes three times faster, but it does execute a little bit faster.
For applications that require fast response, such as for fuel to a heater, CIF is
beneficial. Measurements used for monitoring/indication and open-loop con-
trol need not be published. The system manages both monitoring PV (through
client/server) and other traffic, such as configuration download and advanced
diagnostics. It is in complete control of the fieldbus and paces the background
traffic in such a way that PV can be scanned and displayed “fresh” to the
operator. In addition, open loops can easily be published by creating a regular
function block link.
Communication time adds to the sampling time, and shorter sampling time
results in tighter control, that is, lower process variability, which in turn trans-
lates into better quality/yield, higher throughput, and other business results.
CIF can increase plant performance, because small performance improve-
ments on each loop of each process unit of the plant add up. With CIH the
response time is an aggregate of two-to-three bus cycles and one-to-two con-
troller cycles. That is, it will be longer than CIF and not precisely periodic. The
controller cycle can be shortened, improving the response time, but also
increasing controller loading.
Control performance
Control in the field features the best performance in both step response and
disturbance rejection in fast and medium speed processes. The faster response
and improved attenuation of the disturbance provided by CIF does, however,
require the actuators to be driven more aggressively. Consequently, such
improvements are only possible if an actuator can provide the necessary extra
speed and range defined by slew rate limits and saturation limits.
202 Applying FOUNDATION Fieldbus
Process integrity
One of the key advantages of CIF is process integrity. It provides better
response to set-point disturbances than control in the host; an example is the
trend plotted for a loop response for set-point disturbance.
Link active scheduler supports primary and backup LAS. Even when a link
fails, the backup LAS is available with a link master–capable device, so that
the loop does not go into a no-schedule state. This is one of the examples of
multiple redundant options available for sustaining the loop integrity in case
of failure. Practical experience indicates that the MTBF in case of CIF is 80 per-
cent better than with CIH.
One of the vital reasons for this is the reduced network traffic and the reduced
number of points on which the H1 link or the device has to integrate, ulti-
mately resulting in reducing the chance of failures. Network management and
link active scheduler maintain high network availability. In addition, fieldbus
safety system concept provides a path to higher process availability.
Complex Loops
All devices must be connected to the same bus. This can usually be ensured at
the design stage, but is not always possible. This limits the complexity of the
control strategies that can be built. Complex loops often have cascades that
can be broken down into simpler master and slave loops where the master
uses CIH, and the slave loops use CIF. Complex loops involving many func-
tion blocks may perform faster with CIH. Systems suppliers guide the best
choice between CIH and CIF for a particular loop. Advanced control, such as
model predictive and neural networks is not possible with CIF due to lack of
such blocks.
Device Capability
Some devices only have limited “libraries” of function block types, maybe
only input and output, while missing the blocks required for CIF. Most loops
can be implemented as CIF simply using analog input, PID, and analog out-
put function blocks found in most fieldbus devices. Slightly more complex
loops may require arithmetic, selector/limiter, and other blocks. Some devices
execute their function blocks too slowly for practical use in all but the slowest
loops. Carefully selecting devices at the design stage can overcome this poten-
tial pitfall.
Non-Fieldbus
CIF is only for pure fieldbus loops. However, there are loops that have inputs
and outputs from conventional analog and on/off devices or devices using
other bus technologies. For example, the input may be from a 4–20 mA trans-
mitter; the output may be a variable speed drive on Profibus-DP; or there may
be hardwired discrete inputs from a conventional DI card used in the logic. In
these cases, CIH is the only option used, because not all signal sources are on
the fieldbus.
ler failure. That is, if the control system PID fails (in the case of CIH), another
controller takes over.
If the valve positioner fails with CIF, there is no backup PID. However, the
PID in the positioner uses the same microprocessor and other electronics for
moving the valve to a configured safe state. Therefore, if the valve positioner
fails, it does not matter whether CIH with redundant PID is used, because the
valve does not move anyway. From the perspective of PID redundancy in
such a situation, there is no difference in availability between CIH and CIF.
With a single H1 interface card, it may be preferable for the control loop to go
to its predetermined fault state in case the single control system H1 interface
card fails. This can be done by simply not enabling backup LAS for that bus.
This way, if the single H1 card fails, the control loop communication also fails,
bringing the loop to its fault state. Note that the FF fault-state mechanism is
passive residing in the valve positioner; it does not need the H1 card or
backup LAS to function. On communication loss, the valve goes to its prede-
termined fault state.
DDL describes the meaning or semantics of user data. The DDL source is
human-readable text in its most basic form written by device developers to
specify all the information available at the network interface to their device.
Once a Device Description is written, it can be transformed into a compact
binary format. Upon arriving at the host application, this binary formatted
205
206 Applying FOUNDATION Fieldbus
The first step for DD developers is to describe their devices using DDL source
language. This language is used to describe the core set of parameter defini-
tions and user group and vendor-specific definitions. Each device function,
parameter, or special feature can be described. The resulting DD source file
contains an application description of all of the device information accessible.
The Tokenizer is then employed to convert the DD source files into the com-
pact binary format.
The full benefits of DDL are realized when the host system supports a Device
Description Services (DDS) Library to decode and interpret the binary format
of the information. The information in the binary specifies the parameters con-
tained in the device and also how the parameters should be presented to a
user on a display. Examples of this include how to organize a menu, which
text strings should be displayed with an alarm event, and what steps should
be taken in the calibration procedure.
By using DD Services, the host system generates displays based on the infor-
mation contained in the DD binary; the host system can fully and accurately
configure a new type of device without any software upgrades. Using the DD
in this way provides several other very attractive benefits that are discussed
later in the chapter. The DDL system architecture consists of a collection of
specifications of DDL together with a set of tools, which are implemented fol-
lowing these specifications. Specifically, the DDL architecture consists of the
following components. Refer to figure 6-1 for an illustration of the concept.
Specifications
The specifications are used to describe the meaning of and the relationships
between device data available via the network, that is, the syntax of the lan-
guage used in DDL source files. They specify the standard encoding of the
DDL source file into a binary file format that can be transported over the
network.
Tools
The Tokenizer is a tool for converting the DDL into the binary file format. This
tool also checks for proper syntax and conformance to interoperability rules.
Chapter 6 – Device Integration Technologies 207
The DDS library is a tool for extracting information from the DD binary when
it is needed by the applications.
DDL Model
For example, some of the variables in a pressure transmitter are the primary
value (PV), the upper and lower range values, and the upper and lower sensor
208 Applying FOUNDATION Fieldbus
limits. These variables are described by the variables construct. The format of
the request and response messages of FF command supported by the device,
and the responses returned with each of the messages, are described by com-
mand constructs. Menus and edit displays describe how the users see the lay-
out when they open the device for parameterization. Methods specify the
procedure used to trim the digital to analog converter and the procedure for
re-ranging the device.
Relations are used to specify which variables are unit codes and which vari-
ables have those associated units. Relations specify the dependency relations
among different variables, that is, when a variable with unit code changes,
what the dependent/associated variables are that the host is supposed to
refresh/read.
Each of the top-level constructs, with the exception of relations, has a set of
attributes associated with it. These attributes are used to define each con-
struct. For example, a menu has two attributes: items and label. A menu is
defined by specifying a definition for each of these attributes. Attributes may
also have subattributes, which refine the definition of the attribute and hence
the definition of the top-level construct.
DDL Usage
To achieve true device interoperability, the DDL must be an integral part of
both the device design phase and the operation phase of a device. The follow-
ing are some of the aspects of DDL during the design phase.
Design Phase
The design phase of the project begins with a specification of the device for
the device DD designer to implement. From this specification, the device
designer uses DDL to begin writing a formal specification, which fully
describes all of the information available via a network interface to the device.
Once the DDL Source fields such as parameters of the device are developed,
the DDL Tokenizer is used to convert the source into binary format. Figure 6-2
illustrates this process.
The Tokenizer also checks for redefinitions of the information imported from
the standard DDs that would lead to interoperability problems. An example
of this is redefining the type of variable from float to an integer.
Benefits of DD
The key benefits of using DD for host integration with the field device are:
be inserted into the host. Upgrades may also be done by portable drives
or disks or downloaded into the host with PC software.
Limitations of DD Technology
Below are some of the limitations of using DD technologies:
EDDL can be easily and effectively applied to any device and any fieldbus
protocol, because it is an open technology with international standard status.
The EDDL technology enables a host system manufacturer to create a single
engineering environment that can support any device from any supplier,
212 Applying FOUNDATION Fieldbus
using any communications protocol, without the need for custom software
drivers for each device type.
With HMI host systems ranging from large process automation systems with
rich graphic displays to simple hand-held devices with limited display capa-
bilities, EDDL’s consistent-look-and-feel philosophy is an advantage for oper-
ator and maintenance personnel user training.
Because EDDL technology was designed to eliminate the need for special or
proprietary files in host systems, a single EDD file created for a full-featured
process automation system (PAS) works equally well in the hand-held device.
This design feature eliminates the requirement for intelligent field instrument
manufacturers to create, test, register, and maintain different files for different
HMI host systems, or a different operating system for a different revision of
the same host system. For users, this feature of EDDL technology greatly sim-
plifies changing, adding, upgrading, and evolving HMI host systems.
Matching Needs
Technologies and standards appear and disappear all the time. Those who
buy into a technology without a standard are often disappointed and incur
the unnecessary expense of replacing a “promising” (but unsupported) tech-
nology. Today’s process industry users have become cautious about buying
“technology hype,” especially when faced with choosing a technology that
must remain in place for a decade or more.
Chapter 6 – Device Integration Technologies 213
Ease of Maintenance
A seldom-mentioned yet important realization influencing a technology’s suc-
cess is its dependence on other technologies. It is desirable for a technology’s
architecture to be minimally dependent on underlying technologies. Such a
design helps manage risk and also frees up development time to enhance and
improve product features—something end users seek when evaluating simi-
lar products from different manufacturers.
EDDL technology can address the engineering and operating questions, con-
cerns, and needs of both end users and manufacturers.
Empowering Users
Marketing literature and sales presentations often state that end users insist
on a single engineering environment to manage, commission, and configure
any field device, from any manufacturer, to any fieldbus protocol. Similarly,
the engineering environment is often the focus at industry and user group
meetings in the form of a multipart question: During the lifetime of a PAS,
what percentage of time will it take to:
make our HMI systems, so our operators can confidently and efficiently use
them?” Depending on the data source, it is usually agreed that operations per-
sonnel use the PAS 70–85 percent of the time, with other activities sharing the
remaining 15–30 percent.
For end users, EDDL’s neutrality philosophy ensures that operators are pro-
vided information with a consistent look and feel. Some might argue that con-
tent is more important than consistency; this may be correct for operating
information that users access several times an hour. However, EDD file con-
tent provides access to “normal” and “abnormal” operating information. EDD
file content is about access to information contained in intelligent field devices
and equipment, the sort of information viewed by operators during all sorts of
process operations. Because abnormal process operations occur infrequently
(every few days, weeks, or months), presentation consistency does become
important. For example, most of us have experienced the “use-it-or-lose-it”
software phenomenon: the one where we revisit a software application we
once knew well, only to find we have forgotten a lot of what we once knew.
That is exactly what the EDDL design philosophy avoids.
The efficiency and effectiveness of the technology are most “realized” by pro-
cess operators and maintenance technicians; therefore the technology must
work toward making these individuals comfortable.
applied. Figure 6-4 shows how those same parameters could be organized on
the HMI by using EDDL enhancements. In this case, the host system supplier
has chosen to use dialog boxes with identifying tabs.
216 Applying FOUNDATION Fieldbus
The way EDDL technology retains its platform and protocol independence is
simple. Each EDD file is uniquely numbered and contains only the descrip-
tions needed by the host application. Any methods included in the EDD file
are interpreted by the host application using a method interpreter, thus pro-
viding a safe area or “sandbox” to execute methods.
Security and reliability are also assured, because, as mentioned above, the
installation of an EDD file does not initiate installation of Win32-based
dynamic linking library, ActiveX, or similar executable software, thus avoid-
ing the problems associated with incompatible versions, revised path names,
etc.
Avoiding host application conflicts and maintaining a consistent look and feel
are important to operators/users; the host application generates the screens
based on constructs provided by the EDD file. This permits information con-
tained in the EDD files to seamlessly integrate with a specific host applica-
tion’s capabilities.
• Flexibility exists for deploying the same product, and its associated
EDD file, on different fieldbus protocols.
EDDL Extensions
As mentioned above, in February 2003, representatives of FF, HCF, and PNO
met in a collaborative project to extend the capabilities of the IEC 61804-2 stan-
dard. The scope of the project was to add robust organization and graphical
visualization of device data as well as support for persistent data storage fea-
tures to IEC 61804-2.
One EDDL extension that end users asked to be included is support for persis-
tent data storage. This new feature will permit device manufacturers to
instruct the host application to store device or local data. This implementation
method eliminates the need for the intelligent device manufacturer to learn
the underlying file system nuances of different host applications; how data is
stored is left to the host application.
The benefit of IEC 61804-2’s neutrality is again shown with the addition of the
new EDDL extensions.
For more complex devices, developers can use an existing EDD file as the
starting point to create the extended EDD file. EDDL is being enhanced, but it
is maintaining backward compatibility with the millions of devices that have
been installed over the past few years. Because an extended EDD file contains
additional field device information, PAS host systems must be updated with a
new EDDL host services module. It is available from the respective fieldbus
protocol organization and can be procured by all PAS suppliers. More impor-
tantly, the host service module is backward compatible with plant floor
devices using older EDD files. Extending EDDL technology without “touch-
ing” existing EDD files ensures minimal risk when deploying new intelligent
field instruments with extensions.
Device Diagnostics
The device itself performs the diagnostics (i.e., self-diagnostics or self-tests).
FOUNDATION Fieldbus can be used to communicate the result of the self-diag-
nostics to a hand-held communicator or to intelligent device management
software. Each protocol performs differently, as it has a different mechanism
for reporting diagnostics. In the vast majority of cases, diagnostics is embed-
ded in the device itself as firmware so that the device is monitored continu-
ously. In some rare cases when the device is unable to perform the test,
computer software conducts the test, with the drawback that it is not continu-
ous; it is active only when the computer software is running.
Device Integration
Plants have a mix of simple and sophisticated (complex) devices from differ-
ent manufacturers using different communication protocols, and therefore the
diagnostics depends on the type of device:
ticated test procedures. An example is a valve step response test requiring the
steps to be predefined and last a prompt validation sequence before the self-
test actually starts. Wizards thus make diagnostics and troubleshooting easy.
Device Troubleshooting
EDDL technology gives the device manufacturer a vast array of possibilities
to organize the diagnostics display and make the device user friendly, and
also to add graphics such as waveforms for valve signatures and vibration
spectra. Depending on the type of device, the manufacturer may use different
EDDL elements. EDDL supports both basic and advanced diagnostics for sim-
ple as well as sophisticated (complex) devices. Following are a few examples
of devices that are easy and fast to troubleshoot and repair. Thanks to EDDL
wizards, device diagnostics for FOUNDATION Fieldbus is now just as easy as
with HART. See figure 6-6 for such a diagnostics display.
Details of the problem are revealed at the click of a button, permitting the
technician to determine that the problem is not with the transmitter but with
the sensor. Problem areas are highlighted, saving lots of time. In the past, tem-
perature transmitters were primitive devices with rudimentary diagnostics to
diagnose if the sensor was dead or alive. Today, temperature transmitters
have sophisticated diagnostics to detect if the temperature sensor is slowly
degrading, and to alert before the sensor fails completely.
Transmitter Diagnostics
In the past, pressure transmitters, as with temperature, were primitive devices
with rudimentary diagnostics to diagnose if the sensor was dead or alive.
Today, pressure transmitters have sophisticated diagnostics to detect if the
impulse line is plugging and to detect other abnormal conditions, such as
Chapter 6 – Device Integration Technologies 223
unexpected liquids in the gas flow, unexpected aeration in liquids, loss of agi-
tation, and leaks. Older pressure transmitters were not as intelligent, and orig-
inal DD did not have the graphics display capability. Back then, intelligence
and display for diagnostics had to be in dedicated programs or plug-in soft-
ware that ran in a computer (e.g., plug-in software for plugged impulse line
detection). Devices are getting ever more intelligent, and they can perform all
functions internally around the clock. The result is graphically presented
using EDDL without the need for external software. Refer to figure 6-7 for an
illustration of this.
Visual dial gauges are one-way devices manufacturers choose to present the
information. Numeric values are accurate, but numeric values that are run-
ning up and down make it hard to see if the value is increasing or decreasing,
or changing faster or slower. For a pneumatic valve positioner, dial gauge
graphics make it easy to visualize how the actuator chambers vent or fill with
air, just like the mechanical gauges do on the positioner itself. Thus, EDDL
graphics help resolve problems with pneumatics. Refer to figure 6-8 for such a
display.
A valve positioner also tracks operational statistics, such as total travel and
the number of reversals (cycles). This is used as a more accurate estimate of
actual wear and tear to more precisely predict remaining life and schedule
maintenance, such as replacement, stem packing, or seat.
224 Applying FOUNDATION Fieldbus
Figure 6-7. Strip Charts for Standard Deviation and Mean for Process Noise
Visualization
Figure 6-8. EDDL Dial Gauge Graphics Visually Show Actuator Pressure Change
Introduction to FDT
Field device tool (FDT) is a specification on interface definition that standard-
izes the data exchange between field devices and control systems or engineer-
ing and asset management tools. This is a specification for software
Chapter 6 – Device Integration Technologies 225
FDT technology can be used for device access of any communication protocol.
FDT is vendor independent and was established as an open publicly available
specification. FDT can be used during all phases of the plant life cycle: engi-
neering, installation, commissioning, production, and maintenance.
FDT Group (the keeper of the FDT technology standards) has certified hun-
dreds of device type managers (DTMs) that support more than 3,000 different
devices from most of the world’s leading measurement and control suppliers.
Many more continue to be developed and are in various stages of certification.
In addition, frame applications that are a part of a process automation or asset
management system are available to help users maximize device intelligence
by providing actionable information. DTMs display information that is rele-
vant and timely, improving asset performance.
End users prefer a single engineering environment for all types of activities
such as managing, commissioning, and configuring any field device, from any
device manufacturer, and connected to any fieldbus communication protocol.
FDT has the flexibility to select any supplier’s product, as they all follow a
common FDT specification. This open technology allows users to preserve the
investments made in installed field devices by avoiding the need for replace-
ment of the installed base.
This technology enables the user to make use of any field device without
restrictions. That means the user can select the best device to fit the applica-
tion and can access all the powerful native features of modern devices, with-
out any restriction imposed by the host system.
From our experience, over the past several years, FDT technology has been
available in the majority of distributed control systems and smart field
devices. FDT technology, an IEC international standard (IEC 62453) and an
ISA standard (ISA-103 Field Device Tool Interface), provides a standard
means to easily access intelligent device information independent of the field
communication protocol or control system supplier. By being supplier and
protocol neutral, FDT technology is viewed by many companies as on its way
to becoming a universal, life‐cycle management tool that is supported by
device and automation systems suppliers around the globe. This level of
adoption goes beyond international or regional standardization, because it is
quickly becoming a de facto device standard in both the process and factory
automation industries.
Basics of FDT
FDT technology provides a standardized communication interface between
field devices and control or monitoring systems used to configure, operate,
maintain, and diagnose intelligent field instrumentation for both factory and
process automation applications. The versatility of FDT technology makes it
suitable for communication protocols deployed in all industry segments, and
it allows user access to intelligence from a wide variety of process equipment.
Chapter 6 – Device Integration Technologies 227
The key features of FDT are its independence from any communication proto-
col and the software environment of the host system. FDT technology allows
any FDT-enabled device to be accessed from any compliant host using any
field communication protocol.
• The frame
• The DTM
Frame Application
A frame application is a software window that provides the user interface
between the device DTM and various applications, such as device configura-
tion tools, engineering workstations, operator consoles, or asset management
tools. A DTM is displayed or accessed from a frame application. The frame
228 Applying FOUNDATION Fieldbus
FDT frame is a container application (generally integrated with the DCS host
system) or a stand-alone executable. It is also known as FDT container, and it
instantiates other FDT components as well as maintains communication
among all other FDT components that are instantiated or created by FDT
frame. Frame application acts as the entry point for the user to interact with
FDT-based components. None of the FDT components can be standalone
without a frame application. Though there are out-of-process DTM applica-
tions possible as per the FDT specification, they can also still be controlled by
frame application. Depending on the user action on the FDT frame applica-
tion, it uses varying functions of the DTM to perform tasks.
Using a single frame application can minimize technician training and avoid
mistakes, since all DTMs operate using a similar menu and visualization
scheme. Because the device manufacturer provides the DTM, the user is
granted access to the full device capabilities.
All DTMs work in a common frame application, but not all DTMs are the
same. Some suppliers develop innovative DTMs with broader functionality
that helps users improve troubleshooting and maintenance, therefore allow-
ing the manufacturer to further differentiate their products from their
competition.
Chapter 6 – Device Integration Technologies 229
There are three kinds of device type managers as per specifications: communi-
cation, gateway, and device. One DTM is enough for each device type, and
sometimes a single DTM installation exposes multiple contained DTM capa-
bilities (one for each device type). The choice of how to achieve this is left to
the device or DTM supplier. DTM encapsulates all device-specific data, pro-
prietary logic, functions, and business rules and gives the best option to show-
case a range of graphical user interfaces for setting device parameters and
making the user interfaces intuitive. It can also be used to accommodate
highly sophisticated applications that can perform extensive calculations for
diagnostic or maintenance purposes, thereby keeping the end user from hav-
ing to do complicated calculations.
Communication DTM
A communication DTM refers to a DTM with direct access to a communica-
tion module. A communication DTM is a root DTM component in a network
of devices, as communication modules are the parent/root modules to the net-
work.
Gateway DTM
Gateway modules convert one protocol into another protocol (e.g., HART
over Profibus modules or Profibus PA–DP modules). DTMs developed for
gateway modules are referred to as gateway DTMs. A gateway DTM does not
have direct communication with the physical gateway module. A gateway
DTM uses the capabilities of a parent communication DTM or a frame having
communication capabilities to communicate with the physical gateway
module.
A gateway DTM has the capability to have both parent DTM and child DTMs;
additionally, a child DTM could be another gateway or device DTM. As far as
communication with the physical module is concerned, it is similar to device
DTM. In addition to this, a gateway DTM can have scanning capabilities like a
230 Applying FOUNDATION Fieldbus
Device DTM
A DTM that represents a field device is called device DTM. A device DTM
interacts with a communication DTM or gateway DTM to access its corre-
sponding physical field device. A device DTM generally is one element in the
logical topology of DTMs in a frame application. This indicates that the device
DTM cannot have another child DTM unless it is developed to have one.
Block type managers (BTMs) are the DTMs that can be child DTMs to a device
DTM, which is not so prevalent in the FDT-based systems. A BTM is a type of
DTM typically developed to represent virtual modules within a device like
function blocks in FOUNDATION Fieldbus, but is not restricted only to function
blocks.
The DTMs are typically supplied with the device. As mentioned above, a
DTM is not a stand-alone tool and always needs a frame application to create,
use, and release/destroy it. A typical DTM contains a user interface, user dia-
logs, and a help system necessary for the application it represents. Multilin-
gual support in user interface/dialog is not mandatory, but making it
multilingual is easy and is an advantage of FDT technology.
The frame application, communication DTM, gateway DTM and device DTM
are independent of each other and yet seamlessly collaborate with each other.
All that is needed for these DTMs to communicate with each other and pro-
vide critical device information is for each DTM to be developed by the corre-
sponding module or device vendor and then put on a frame application
developed or hosted in a DCS system.
frame application to allow the user or the frame application itself to make the
right choice of DTM selection during topology/network creation in the frame
application.
Communication Channels
In a physical network, the communication channel is the application channel
for DTMs to send data to the corresponding device or module. When a DTM
has to communicate to the field device, the FDT frame application provides
the communication channel to the DTM. The communication channels can be
provided by the FDT frame application itself, the communication DTM, or the
gateway DTM, based on the logical topology, which generally mirrors the
physical topology.
Process Channels
A DTM can be used to provide process values (input and output signals) from
a device that can then be integrated into the function planning of the control
system. These channels offer I/O signals of a device, such as the temperature
or flow rate, as appropriate, and other critical process values. The process
channel, like the communication channel, is an application channel that can be
used to communicate such process-related information. A process channel is
typically used for addressing and data-type information. These values can be
protocol specific.
Think of your computer accessing the Internet, and then think of the informa-
tion on a particular website. The computer (the host system) is using the Inter-
net via dial up (DSL, etc.). Similarly, a technician is using a field
communication protocol such as HART, FF, or Profibus, opening a browser
like Internet Explorer (a frame application) to access the valuable information
located on a website (a DTM accessing the device). See table 6-1 for more
details. The website owner wants the website to be displayed in a certain way,
independent of the browser used by the computer. Likewise, a device supplier
wants its device information displayed and presented the same way, indepen-
dent of the control or asset management system.
Allowing FDT-enabled asset management to help identify and assist the user
to effectively schedule appropriate work orders can increase reliability of
assets, while reducing labor and maintenance costs independent of the field
communication protocol used to access the device.
• Reduced downtime
In many cases, these benefits can be realized with little investment and little
risk. As previously mentioned, FDT technology may be included with the sys-
tems or devices already in place. If not, new applications can be added with-
out requiring a complete replacement of any existing control system or field
devices. More information on FDT can be accessed from the website,
www.fdtgroup.org.
• DTMs will be available for download from the supplier’s website or the
FDT group website.
The devices currently on a project’s approved product lists will most likely
not change, since most devices are provided with DTMs. However, it cannot
be automatically assumed that the products are compliant. Articulation of the
specific project requirements is essential to ensure the success of the project.
Introduction
Both simple and complex devices need integration. Functions and information
from devices can be made accessible at a higher level (in a central location)
through device integration. Efficient and economically viable device integra-
tion requires multiprotocol, standardized technology, so that device informa-
tion can be made available across different manufacturers. In the past, the
development of such uniform technology was inhibited by too many different
interests from organizations and automation manufacturers, which resulted
in different technical solutions being created. The current solutions—Elec-
tronic Device Description Language in various formats and FDT—have their
strengths and weaknesses, but also overlap to a large extent, leading to addi-
tional expense for users and manufacturers and in standardization. Globally
leading control system and device manufacturers, such as ABB, Emerson,
Endress+Hauser, Honeywell, Invensys, Siemens, and Yokogawa, along with
Chapter 6 – Device Integration Technologies 235
FDI combines the advantages of FDT with those of EDDL. It takes account of
the various tasks over the entire device life cycle of both simple and complex
devices, including configuration, commissioning, diagnosis, and calibration.
The installed base of fieldbus devices, and indeed of all intelligent field
devices, continues to grow significantly. Intelligent devices, however, can
pose an information management problem, especially when they are devices
on different networks with different underlying technologies for displaying
and managing information. FDI promises a common set of development tools
and a single path to managing the flood of information from intelligent
devices across different networks to the applications and ultimately, to the
people who need it. It offers standardization, transparency, and reduced cost.
The Fieldbus Foundation is committed to the long-term success of FDI.
The device definition describes the field device data and the internal structure
(e.g., blocks). The business logic primarily ensures that the device data
remains consistent (e.g., to refresh data when a unit is changed). The dynamic
dependencies, in particular, play a part here. These include options and
ranges that depend on prior selection of other settings, such as only showing
temperature units if the temperature value is chosen or only displaying cus-
tom settings if custom probe is selected.
User interface descriptions and user interface plug-ins define the field device
user interfaces. Product documentation (protocol-specific files) is added to the
236 Applying FOUNDATION Fieldbus
Harmonization of EDDL
The Electronic Device Description Language as a basis for FDI is specified in
the international standard IEC 61804-3. Furthermore, the standard defines in
profiles which constructs from the overall language scope and which library
functions can be used for the HART, FOUNDATION Fieldbus, and Profibus pro-
tocols. Accordingly, the protocols in question use a subset of the language
standard.
FDI Host
An FDI host could be device management software as part of a process control
or asset management system, a device configuration tool on a laptop, or a
hand-held field communicator. The FDI architecture allows for different kinds
of host implementations, including an FDT-based host system that ensures
interoperability with FDT. In any case, an FDI host always supports all fea-
tures of an FDI device package. See figure 6-10 for the overall architecture of
host systems in various applications.
Chapter 6 – Device Integration Technologies 237
The representation of device instances in the FDI server takes place in the
information model. The information model maps the communication topol-
ogy of the automation system by representing the entire communication infra-
structure and the field devices as objects. This is also where the data,
functions, and user interfaces of the devices are stored. If an FDI client wishes
to work with a device, it accesses the information model, and, for example,
loads the user interface of the device in order to display it on the client side in
a similar manner to a web browser. By interpreting the EDD in its EDD
238 Applying FOUNDATION Fieldbus
engine, the FDI server always ensures that the device data remain consistent.
If OPC UA communication is used between client and server, OPC UA
authentication and encryption mechanisms take effect and prevent unauthor-
ized access. Other (non-FDI) OPC UA clients (e.g., a manufacturing execution
system [MES]) applications can also access the device parameters in the infor-
mation model without a device-specific user interface. Refer to figure 6-11 for
such architecture.
In the FDT-based architecture, from the viewpoint of the FDI package, the FDI
DTM acts as an FDI host; for FDT framework applications, it acts as a DTM.
For many FDT frame manufacturers, this opens up an economically attractive
migration route to FDI. The FDT 2.0 frame is retained without changes and is
simply supplemented with an FDI DTM.
The interoperability with FDT allows all system and tool manufacturers to
support FDI, meaning they can process FDI packages. This primarily benefits
device manufacturers who currently have to provide a DTM and an EDD for
one device. Instead, device manufacturers need deliver only an FDI package.
Over the longer term, this reduces the device drivers needed per device type,
and thus also leads to significant savings in product development and mainte-
nance. Ultimately, the end users benefit from the improved interoperability
and smaller range of versions.
240 Applying FOUNDATION Fieldbus
Benefits of FDI
FDI combines the tried-and-tested concepts of both EDDL and FDT and thus
provides benefits for control system manufacturers, device manufacturers,
and users.
FDI reduces effort and saves costs for device manufacturers, because in the
future, only an FDI device package has to be created for one device, instead of
the current EDD variants and DTM. Another advantage is the scalability of
the FDI device package. Simple devices get along with a simple device pack-
age. By their nature, complex devices require a more complex device package.
Chapter 6 – Device Integration Technologies 241
For the end user, the main benefit of FDI lies in the standardized integration
of field devices through a future-proof standard that ensures unrestricted
interoperability of device packages from a wide variety of device manufactur-
ers with FDI systems (FDI hosts) from many different control system manu-
facturers.
FDI promises to address key requirements of end users and suppliers, both of
whom are seeking a single solution for management of information from a
wide range of intelligent devices. FDI aims to present real-time data in a con-
sistent format that helps plants operate efficiently and safely without confu-
sion. FDI integrates the complementary strengths of EDDL and FDT/DTM
technologies with the advantages of the structured OPC UA standard IEC
62541. FDI cooperation is developing a solution that is:
• Protocol independent
• Able to provide access to the full capability of the field device, from
simple to complex devices
Users can focus on purchasing the hardware of their choice without worrying
about the compatibility with their control host, regardless of field device com-
munication technology. A common FDI solution allows device vendors to
focus their efforts and resources on a single technology rather than on sup-
242 Applying FOUNDATION Fieldbus
porting both FDT and EDDL. Suppliers can focus on improving the function-
ality of their products instead of supporting multiple technologies to make
their applications work across different systems. Fewer interoperability chal-
lenges reduce manufacturing costs and time to market.
Plant systems range from distributed control systems (DCS) to field sensors,
such as flowmeters, differential pressure, absolute pressure, and temperature
transmitters, to software packages for operational support, advanced control,
and operation efficiency improvement. When the production facilities are
maintained appropriately, the plant operation runs smoothly; however, the
plant maintenance is supported largely by the efforts, experiences, and exper-
tise of the engineers along with detailed and documented maintenance proce-
dures, tools, software, and hardware systems.
245
246 Applying FOUNDATION Fieldbus
instrumentation). In other words, too many hours are spent only to confirm
that there is no problem with the instrumentation.
Asset management systems use the diagnostic and predictive diagnostic func-
tions of field devices (i.e., sensors and valves) to allow a shift from time-based
maintenance into condition-based maintenance for conventional field devices.
These functions can drastically reduce the time spent on maintenance work,
while sustaining plant safety and ensuring plant productivity. In addition,
asset management remote monitoring reduces the number of trips and travel
time for routine checks or alarm acknowledgement in the field.
Remote Diagnostics
Field digital technologies such as FOUNDATION Fieldbus enable intercommu-
nications between the field devices and control systems and also allow remote
online handling of field device parameters and diagnostic information (figure
7-2) other than control signals.
248 Applying FOUNDATION Fieldbus
Maintenance and asset management for fieldbus deals with the health of the
instrumentation, and to some extent the networking hardware, but does not
involve the control strategy. However, asset management indirectly improves
control, because it can be used to ensure that the devices are in a better condi-
tion to perform control. Troubleshooting installation problems and debugging
the control strategies can be performed using asset management systems.
• High-density devices
• Complex devices
Additional diagnostics helps to reduce unnecessary plant trips for the techni-
cians and engineers. Refer to figure 7-1 for the statistics on this.
Diagnostics, configuration, identification and the like can be done any time.
Although a stand-alone or temporarily attached configuration tool may work
for a small pilot plant, it may not be effective in the utilization of the tool for
asset management in a larger plant. Inconsistencies between the control and
device databases often occur as a result and it may be inconvenient to have to
move between different workstations.
A dedicated system for the workshop may not be justifiable for a small instal-
lation. In this case, an alternative is to run one field level network from the
main system into the instrument shop for the sole purpose of calibration and
maintenance. Similarly, the host level network can also run into the shop to a
workstation dedicated to maintenance tasks. It is a good idea to have the
maintenance station connected to the host level network so configuration
changes and calibration record entries are stored in the same database.
dard. Therefore, calibration means that a known external standard input has
to be applied when performing input calibration and that the output has to be
measured for output calibration. In other words, calibration cannot be per-
formed remotely because it requires someone to connect the external stan-
dard. Calibration is used when the primary value reading does not match the
applied input. Since the primary value reading is later scaled to obtain the
percentage reading, sensor calibration indirectly affects the percentage
reading too.
Calibration must not be confused with range setting; they are two different
things. For analog transmitters, calibration and range setting were performed
using the same set of potentiometers. Therefore, the terms calibration and
range setting have often been confused.
To separate the two functions, true calibration in HART is called trim. In FF,
true calibration is called calibration, whereas range setting is called scale. For
example, transducer block calibration is not used to cancel pressure from a
“wet leg” in level or flow measurement; instead, this is done with the trans-
ducer scale in the analog input function block.
Range setting for HART transmitters is done primarily to tell the transmitter
the values at which the loop current will be 4 mA and 20 mA. For FF transmit-
ters, range setting is typically done for applications of inferred measurements.
Range can be set remotely without applying any input or measuring the out-
put. Range setting is advisable when the percentage reading is incorrect.
Range setting does not affect the primary value reading.
Note that it is possible to detect a calibration error by changing the range for a
HART transmitter; this is often the practice. The engineering unit reading may
be wrong but the 4–20 mA output is still correct.
Chapter 7 – Maintenance in FOUNDATION Fieldbus 255
Performing Calibration
The advantages of “smart” field instruments containing microprocessors have
been a great advance for industrial instrumentation. These devices have built-
in diagnostic ability, greater accuracy (due to digital compensation of sensor
nonlinearities), and the ability to communicate digitally with host devices for
reporting of various parameters. Refer to figure 7-5 for an illustration of this.
The reason for separating these functions is that the range can be changed
without applying a physical input. This is a huge time and cost saver and is
one of the major reasons for the rapid adoption of smart transmitters. How-
ever, “sensor trim” should not be confused with “range setting.” Both are part
of calibration, but are two different things.
256 Applying FOUNDATION Fieldbus
Sensor Trim
All sensors show some drift over long periods. Depending on the type of sen-
sor, it may be due to extreme pressure or temperature, vibration, material
fatigue, contamination, or other factors. Sensor readings may also be offset
due to mounting position.
Sensor trim is used to correct the digital reading as seen in the device local
indicator LCD and received over the digital communication medium. For
instance, if the pressure is 0 bar but the transmitter reading shows 0.03 bar,
then sensor trim is used to adjust it back to 0 bar. Sensor trim can also be used
to optimize performance over a smaller range than was originally trimmed in
the factory.
Sensor trim requires a physical input to the transmitter. Therefore, either the
technician must do sensor trim in the field at the process location or the trans-
mitter has to be brought back into the workshop to perform sensor trim. This
applies to 4–20 mA/HART, Wireless HART, and FOUNDATION Fieldbus, as
well as Profibus transmitters. Sensor trim in the field is performed the easiest
using a hand-held communicator, which is supported by 4–20 mA/HART,
Wireless HART, and FOUNDATION Fieldbus.
Zero trim requires the physical input applied to be zero; this is often used
with pressure transmitters. For best accuracy, sensor trim should be per-
formed at two points: one close to the lower range value and the other close to
the upper range value. This is where lower and upper sensor trim is used. A
known physical input is applied to the transmitter to perform the sensor trim,
the technician keys in the applied value (on a computer or hand-held commu-
nicator) communicated to the transmitter, allowing the transmitter to correct
itself. The physical input values applied for lower and upper sensor trim are
stored in the transmitter memory and are referred to as lower sensor trim
point and upper sensor trim point, respectively. Accurate sensor trim requires
applying a very accurate input.
Chapter 7 – Maintenance in FOUNDATION Fieldbus 257
Note that “span” is not the same as URV. Span is the magnitude of the differ-
ence between URV and LRV.
If the sensor trim and current trim are perfectly done then transmitter range
setting is carried out without applying input and therefore can be done
remotely from the control room. The range setting is now dependent on turn-
down ratio (or) range ability, which is defined as the ratio of maximum to
minimum allowable span. For 4–20 mA systems, the range is set in both the
transmitter and the controller. FF transmitters do not have a 4–20 mA output;
therefore, there is no need to set 4 mA and 20 mA range points. For FF and
Profibus, the range is set in the controller or relevant function blocks.
These LRV and URV values are set in the transmitter by “direct numeric
value” entry or by “to applied input.” Direct numeric value entry means that
the desired lower and upper range values are simply keyed in from device
software or a hand-held field communicator and sent to the transmitter.
Range setting to the applied input requires a physical input corresponding to
the desired range value to be applied to the transmitter. This is often used in
level measurement applications. The Set PV LRV and Set PV URV commands
are equivalent to pushing the “zero” and “span” buttons, respectively, found
on some transmitters.
When fieldbus and process automation systems are idle, it is necessary to find
other ways to read the transmitter’s output. In some cases, a portable fieldbus
communicator or a laptop computer with dedicated software and hardware is
used for calibration. Calibrating a fieldbus transmitter can be difficult and
time-consuming and often requires an abundance of resources.
As described below, there are some fieldbus calibrators available in the mar-
ket, where the calibrator becomes a participant in the network to communi-
cate and feed the value back to the system.
The documenting process calibrator can also be used to change the configura-
tion of a fieldbus transmitter. If the fieldbus transmitter fails in calibration, the
calibrator may be used to trim or adjust the fieldbus transmitter to measure
correctly.
Basic Diagnostics: Basic diagnostics are device failure diagnostics that are
viewable from any process control host system. They help determine common
problems with the device, communication path, and host system. Diagnostics
260 Applying FOUNDATION Fieldbus
that indicate a device failure force the affected loop into Manual (MAN) for
transmitters and IMAN for the PID block in the output device, typically a
valve.
Online: Online diagnostics perform their function while the device is perform-
ing its normal function and provide the capability to alert Operations in real
time if a problem needs attention. This function provides one of the primary
benefits of FF and should be supported by all field devices.
Offline: Offline tests provide limited benefits and may not justify their cost. FF
devices should be capable of supporting incremental upgrades of the device
description (DD) for extra functionality and/or software revisions in device
memory. Device provides the following diagnostics and key information on
the impact that an output device has on the process, including but not limited
to:
• Position accuracy
• Operating resolution
• Deadband
• Operating temperature
Dedicated software packages to analyze the positioner data for a valve posi-
tioner are available and fully interoperable with the host system.
Note that the selection of host system asset management, positioner type
(including diagnostic coverage), and interoperable software package is key for
enabling successful diagnostics from FF positioner/valve combinations.
Fieldbus devices also report diagnostic alarms faster compared to the earlier
systems. In earlier technologies, since it was hardwired device polling, only
limited tags per hour were possible based on the architecture. This limited the
early warning indicators and some intermittent problems could be missed.
In the case of FF, diagnostics are pushed to the system almost instantaneously
and this early warning gives operators more time to take action before a
device problem affects the process. The alarms generated are time stamped,
with sequence of event recording instantaneous, smart diagnostics. These
alarms can be incorporated into daily work processes. The following are some
critical information that operators can see:
• Normal operation
264 Applying FOUNDATION Fieldbus
• Device failure
• Faceplates
Operational statistics are stored in the transducer blocks. A control valve posi-
tioner is a good example of a device that collects a large amount of operational
statistics. Examples of these are the total valve travel (odometer) and the num-
ber of reversals. Plants can use such information to predict the time of failure
by comparing these statistics to the life expectancy data for critical parts as
266 Applying FOUNDATION Fieldbus
Devices that trigger an alarm when a set limit for the operational statistics has
been exceeded provide early warning indicators. As part of the maintenance
procedures, personnel should use these tools to tap into the information on
these instruments for instant access to the status of any device at any time and
to provide a complete picture of the entire plant.
The maintenance procedures should include a step for keeping a record. For
example, a record should be kept of the number of reversals performed
between services and the statistics counters should be reset after repair.
Identification
FF has standard parameters for the device tag and manufacturer, description,
device type, revision, serial number, unique ID, and so on. The configuration
tool can be used at the time the device is commissioned and during nodal
operation to identify the device. It is good practice to always enter the device
tag, description, and message and to update it whenever changes are made.
Materials of Construction
It is possible to retrieve other useful information like materials of construction
for the parts wetted by the process in a pressure transmitter from fieldbus
devices. This information can be used to order identical devices or to assess a
device’s suitability for a certain application. Standard parameters in FF
include the material for the sensor diaphragm and the fill fluid. Specific
parameters are used in the HART protocols, as well as for other parts. It is
good practice to update these parameters with any changes that have been
made in the actual parts (as happens at the time of replacement of some parts)
to keep the record current.
Many devices, however, have enhanced function blocks for special functions.
If it is necessary to replace a device in which a manufacturer-specific block is
being used with a device that does not have such a block, the function block
can be allocated to another device with such blocks available in the network.
Alternatively, the control strategy can be changed to perform the same func-
tion by using an equivalent block or set of blocks. The same applies for blocks
that have proprietary parameters, though this involves additional work. It is
therefore a good idea to use standard blocks from the protocol because other
devices often support the same blocks. Likewise, different devices support
different types and quantities of the function blocks that make up the control
strategy.
Some FF device types have a limited set of function blocks in their library and
a fixed quantity of each that is supported. It may be difficult for a device with
a fixed block set to replace another device because the two devices may not
support the same blocks. However, a device of type “different” that supports
dynamically instantiable blocks usually has a larger library of function blocks.
As a result, there is a greater chance that the new device supports the blocks
used in the old device. This is particularly true if the standard FF blocks are
used.
The diagnostics do not stop at the sensor/actuator. Diagnostic data can be pro-
vided for electronic failures, configuration, or servicing failures that are pri-
marily human intervention issues and application issues or process issues that
affect the measurement. These multiple levels of diagnostics add up until the
point is reached where there could be over 20 diagnostic parameters for FF
devices, with more complex devices and actuators having hundreds of
parameters.
270 Applying FOUNDATION Fieldbus
Not every diagnostic alert should be considered an alarm for the operator to
act upon. For example, according to the ISA-18.2 standard for alarm manage-
ment, an alarm must require a response from the operator. The increased vol-
ume and frequency of information means that mechanisms must be put into
place to filter and contextualize information to make it easier for users to man-
age, so that people only see what they need to see, when they need to see it.
The Fieldbus Foundation developed the Field Diagnostic Profile portion of the
specification to describe a base parameter set and characteristics common to
all devices supporting the Field Diagnostic features. Rather than introduce
significant changes to the current FOUNDATION Fieldbus protocol, the new
Field Diagnostic Profile specification builds on the existing diagnostic capabil-
ities of FOUNDATION Fieldbus equipment and at the same time, adds a greater
Chapter 7 – Maintenance in FOUNDATION Fieldbus 271
The roles of the operator and maintenance technician as well as their impacts
on plant reliability and uptime is of particular concern to NAMUR.
Unplanned downtime is one of the primary concerns for the process indus-
tries. According to ARC Advisory Group (www.arcweb.com), unplanned
downtime accounts for around 20 percent of all production in the process
industries. A single unplanned shutdown can wipe out a plant’s profit for the
year.
egorizes internal diagnostics into four standard status signals, which are
described below.
Each of these categories can also contain greater detail. In the case of failure,
for example, can the failure be traced to the device or the process? Is mainte-
nance required immediately or is the requirement more for long-term mainte-
nance? The ultimate result of this is a series of new field diagnostic alarms that
correspond to the four primary diagnostic categories outlined by NAMUR in
its document. Several standardized and therefore manufacturer-independent
parameters are available to configure the NAMUR category, the priorities,
and the filter mechanisms for the alarms. With NAMUR NE107 diagnostics
built in, unwanted diagnostics can be turned off and it is possible to configure
how the diagnostics are reported. This supports the configurability mandate
of NAMUR NE107. Providing recommended actions and enabling simulation
allows the information to be presented in greater context.
• Failure
• Out of Specification
• Function Check
All field devices must categorize the internal diagnosis results into the status
signals as per the alarm categories. Configuration should be free as user reac-
tion to a fault in the device may be different depending on the user’s require-
ments. It should also be possible to switch off individual diagnostics as
274 Applying FOUNDATION Fieldbus
The status signal refers to the device. In multivariable devices, it can also be
allocated to the individual measurements. The aim of this categorization is
that the plant operator is not inundated with measurement details, which
might distract him and make him lose oversight of the plant, or at any rate,
not take action as needed. That is why it is important for the plant operator to
see only these status signals.
The action the operator might take, besides informing a specialist, might
include switching the faulty loop to manual operation. If a “maintenance
required” warning comes up, the appropriate action is initiated either auto-
matically or by the operator. When a function check is indicated, a DCS might
conceivably maintain the relevant variable constant or a manual analysis
might be appropriated. Detailed information can be read out by the device
specialist (e.g., someone from the maintenance workshop) who will then initi-
ate the appropriate action. This detailed information is available to the main-
tenance person in text form.
Field Diagnostics should provide enough information through its use that the
first level of response can be determined without additional documentation.
The Device Description (DD) help or text displayed for the enumerated value
associated with the Recommended Action contains information to support
this.
Chapter 7 – Maintenance in FOUNDATION Fieldbus 275
Some hosts use the alert mechanism to direct the Field Diagnostics to different
locations. The Maintenance and Check Function may go to the maintenance
console and/or a maintenance log file. The Failed and Off Specification may
pop up in front of the Operator. This is for the host and user to decide.
Even with all the structure placed in the Field Diagnostic Profile, the condi-
tions are not expected to identify explicitly the root cause of the problem, but
rather to identify actions to be taken to fix the problem, including the
following:
• Device diagnostics
• Reduced wiring
• Reduced terminations
277
278 Applying FOUNDATION Fieldbus
• Instrument diagnosis
FF technology has features that can lead to huge initial and long-term savings,
but it is easy to miss the big picture. The savings on the cable are the most vis-
ible, but there is more cost reduction that can be achieved using FOUNDATION
Fieldbus. The initial savings include lower cost for purchase, engineering, and
installation. The long-term savings include lower costs for maintenance and
operations using asset management and also lower costs for expansion and
change.
Cost savings for a project using FOUNDATION Fieldbus vary with the labor
costs of the country in which the plant operates, the plant size, and the nature
of the plant. There is no standard way to calculate the savings. The savings in
cost and time for the plant may be analyzed in terms of its unique conditions
based on the possibilities offered by the fieldbus technology.
Because long-term savings are greater than procurement and installation sav-
ings, the return on investment on Fieldbus-based instrumentation and control
is certain over a period of time. It therefore also makes sense in some cases to
re-instrument an existing site with fieldbus. FF devices are slightly more
expensive than the conventional counterparts, which offset some of the sav-
ings fieldbus provides, but overall there are still significant cost savings.
The savings in each phase have a different impact on the plant financials than
the others based on the type of the expenditure. Some are one-time large
expenses and others are small but repetitive expenses. The FOUNDATION Field-
bus benefits offered in each of these lifecycle phases are listed in figure 8-1.
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 279
Note that they are indicative, not specific, and are meant to trigger the
thoughts of users in deriving the actual numbers.
From figure 8-1, the benefits of a plant enabled with FF technology can be
organized into four general categories:
• Engineering benefits
• Installation benefits
• Operational benefits
• Maintenance benefits
As a practical matter, no one vendor can meet all of a user’s needs. Fieldbus
ensures interoperability, allowing the user to choose the best device for each
280 Applying FOUNDATION Fieldbus
application. Fieldbus allows mixing and matching to do the job. All these ben-
efits translate to savings and offer a competitive advantage to the user.
The key savings in each phase of the project when FF is the choice of the tech-
nology are:
• Operation
– Improved throughput
Cost of Purchase
FF technology helps lower total installed project cost and reduce commission-
ing time for field instruments and DCS components. The cost benefits from
the engineering, construction, commissioning, and startup phases in the life-
cycle of the projects or the benefits seen in the planning and installation in the
instrumentation project phases can be considered as CAPEX savings.
ing fees, costs for different I/O cards, costs of termination panels, and costs of
I/O card carriers should all be considered. In general, the cost of fieldbus
devices is slightly higher than conventional 4−20 mA devices, but the need for
fewer I/O cards offsets some of the cost increase associated with fieldbus
devices. Most of the hosts have FF interface cards, which can support two or
four segments per I/O card with 16 to 32 devices per segment. That way the
footprint for DCS I/O cards is smaller, as one FF interface card can support 32
to 64 I/O points per card.
The savings apply to the part of a system that is purposely built for fieldbus
technology. Other sections of a site that use conventional technology reduce
the average savings. Some systems may be built on architecture that prevents
some savings from being achieved such as Control in Host, entity-based
Intrinsic Safety barrier, etc. Each installation is different and therefore the total
savings vary, but significant savings can be expected.
Fewer Parts
With fieldbus technology, reduction in hardware is seen at all levels of the
system architecture, from field instruments to workstations. Fieldbus technol-
ogy largely eliminates the need for I/O subsystems. As the number of compo-
nents that are needed is reduced, the panels that are installed also become
fewer and smaller. The large panels associated with the traditional systems
are no longer required. Fewer, smaller, and lighter components also mean
reduced shipping costs.
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 285
The only means analog systems have to detect device fault is using discrep-
ancy checking to compare the signal from two redundant transmitters—a
solution too costly for all but a few critical control loops. Devices using field-
bus technologies detect their own faults and communicate their health. As a
result, one device can be used instead of two, reducing the cost by 50 percent
for critical loops.
The main cable reductions are seen on the multicore home run cables from the
field junction box to the IO marshalling panels. By putting 12 devices, some
control, and some monitoring on each of the FF H1 networks, the cabling and
most importantly, the associated number of terminations, is already reduced
by more than 90 percent. This concept still leaves room for more devices. The
cost reduction is significant, especially for armored cable (see figure 8-4).
Additional related hardware savings are gained since fewer conduits, cable
trays and ladders, and cable glands are required than in a conventional sys-
tem, as shown in figure 8-5.
At the same time, it also allows for longer cable (i.e., in terms of quantity in the
reduction in cable is 75 to 87 percent). However, because of the price differ-
ence, the dollar savings are slightly lower compared to a conventional barrier.
Cable length is a critical factor since longer cable allows the safety barriers to
be mounted outside the classified area where special enclosures are not
required (see figure 8-6).
Similarly, the marshalling panel also becomes smaller and simpler because
the number of wires is reduced as a result of multidropping. Use of digital
communications eliminates the requirement of costly analog inputs and out-
put modules. A typical scenario would consist of a single linking device pro-
cessor module with four integrated fieldbus ports connected directly to 64
devices in a safe area or 48 devices in a hazardous area. Such a scenario
reduces the cost significantly compared to a conventional system, which
would require eight analog I/O modules of eight channels each.
cards used for conventional I/O are not required for fieldbus communication.
The I/O subsystems for fieldbus devices are therefore much simpler and less
expensive than for a conventional solution.
Host-level networks based on Ethernet use standard interfaces and other net-
work hardware that utilizes standard communications software embedded in
a workstation operations system. Ethernet components are sometimes called
commercial-off-the-shelf (COTS) products, which are available just about any-
where at extremely competitive prices, promoting the economies of scale that
can only be attained by sales volumes in the millions of units per year, com-
pared to proprietary networking parts, which are assembled only in the
hundreds.
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 289
A lean system has less hardware that can fail in the first place. Therefore,
fewer spare parts need to be kept in the inventory, which further reduces the
overall system cost. In addition, standards-based equipment is provided by
many second sources, so if a spare transmitter cannot be delivered in time
from one supplier, another brand with shorter lead time can be used in its
place. As a result, keeping spare parts and stock on hand is less critical and
expensive contracts for the manufacturer to provide on-time stock may be
avoided.
Less Space
The reduction in hardware means smaller panels and consequently a smaller
space requirement. Since the wiring is reduced there is often no need for ele-
vated floors. This can add noticeably to the savings, especially on rigs or other
locations where space is at a premium.
290 Applying FOUNDATION Fieldbus
Engineering Savings
Engineering cost savings can come from configuration and documentation
savings. Sometimes, however, it is difficult to justify savings in configuration,
as it may need the same amount of time to configure a FF DCS as a traditional
DCS. FF field devices can be preconfigured at the factory. The upload capabil-
ity of the DCS to bring field device information into the DCS database can
have significant savings on the DCS configuration side, which converts into
savings for engineering efforts. Engineering savings from loop drawings to
segment drawings is simple compared to the traditional DCS configuration
with I/O assignment, etc. The savings become more in the case of changes
done to the segment after the completion of engineering. Refer to figure 8-7
for the simplified segment design.
In the case of FF, the functional requirements for control are also much easier
to define. Previously, it was necessary to explicitly define every required func-
tion in lengthy specifications; for example, it was necessary to define that the
conventional PID block should have functions, such as reset windup protec-
tion, cascade set point, override, deviation alarm, and so on. Now program-
ming languages define the standard function block features in FF. Therefore,
the only thing that needs be specified is which of the blocks is required since
the block features are implicit.
The fieldbus standard simplifies the selection process since the best devices of
each type can interoperate with one another, which makes it possible to finish
the bill of materials faster. Moreover, one type of positioner is used for all
fieldbus devices, reducing the types that must be chosen. Similarly, a single
safety barrier type works for all fieldbus devices, eliminating the tedious pro-
cess of comparing entity parameters. When multivariable capabilities of
292 Applying FOUNDATION Fieldbus
devices are used instead of individual units, the number of devices that needs
to be specified is reduced.
The analog I/O modules are essentially eliminated and therefore there is less
need for I/O subsystems configuration. This saves time in comparison to a
conventional system where racks, modules, and channels must be configured.
I/O module auto detection is not a solution for projects on the fast track since
the engineering is often completed before the hardware is manufactured and
eliminating I/O altogether is the faster solution. A standard fieldbus protocol
eliminates the need to program proprietary drivers and map custom data,
both of which are time consuming, subject to error, and can cause costly
delays in projects.
For a host using FF, the standard programming language facilitates the devel-
opment of the control strategy and reduces configuration time. Many of the
interlocks require absolutely no additional configuration effort, which mini-
mizes configuration time and configuration entry time. Automatic device
identification and address assignment enables configuration work based
entirely on tag. It is more intuitive, less subject to error, and infinitely faster
than the mapping of device addresses and memory registers as in the older
systems.
Less Documentation
Reduced hardware translates to reduced project documentation. Fewer
instrument specifications, indexes, and data sheets have to be generated
owing to the use of multivariable devices instead of many single point units.
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 293
Multidrop wiring means that one network drawing can be made per network
instead of 16 individual loop drawings as in the point-to-point scheme. This
reduces effort by as much as 90 percent.
Construction Savings
The less hardware there is to install and wire up, the greater the savings.
Faster Fabrication
Reduced equipment means smaller panels that have less marshalling, termi-
nation, I/O modules, and power suppliers inside. This makes them faster to
build and wire. Using a linking device with built-in device power and proces-
sor results in a solution that is significantly more compact and faster than con-
ventional I/O.
conditions, the associated heat tracing or shades are reduced, too. With field-
bus, it is possible to install devices where they previously would never be
installed because gaining access to check them would be too difficult. Fieldbus
allows remote diagnostics so that the devices need to be physically checked
less frequently, which makes easy access less critical. Improved performance
may be an additional bonus. Since the data from a hard-to-reach or hard-to-
see device can be transmitted to any other device, it is possible to have the
indication on a more visible device if field display is desired. These features
provide more flexibility to the installation works and hence reduce the com-
plexity of the installations.
Faster Commissioning
Unlike a traditional system where commissioning is a manual and labor-
intensive task, a fieldbus device, once connected to the network, can be com-
missioned from the workstation in the control room. This makes the commis-
sioning procedure simple and fast, and for the most part, one person can carry
it out. Once the host is connected to the fieldbus network, all field devices on
the network are automatically detected on a per-linking module and the tags
are automatically displayed on the host’s “live list” for each network. This is
far easier than the finding of instruments one by one that is performed for tra-
296 Applying FOUNDATION Fieldbus
ditional systems. That process requires people in the field equipped with sim-
ulators who maintain radio contact with the control room to verify correct
wiring.
The configuration for all devices can be downloaded with a single click. With
the conventional systems, changes made using a hand-held terminal need to
be manually updated. The chances of spotting a range mismatch between the
transmitter and controller are slim, which opens the possibility of an incorrect
reading and subsequently a nonfunctioning control loop and trip points.
Maintenance Savings
The cost of maintenance can be reduced in many ways, for example, by pre-
empting failure without unnecessary expenditure on preventive maintenance
and by being better prepared when something does occur. The advanced self-
diagnostic tests and operational statistics information that can be retrieved
from devices throughout the plant owing to fieldbus technology may be used
for asset management to anticipate failure, suspect drift, confirm malfunction,
and verify configuration, etc. These features are embedded in each device and
software, requiring little or no configuration and ensuring benefits directly
without the need for expensive consultants or long implementation periods.
298 Applying FOUNDATION Fieldbus
Less to Maintain
The leaner and less complex system based on fieldbus technology has fewer
parts than can fail in the first place and fewer parts to maintain. The elimina-
tion of an intermediate 4–20 mA signal means that there is no need to check
and calibrate I/O cards, transmitter current outputs, and positioner inputs.
The operator screens display the simple status in a fieldbus host as soon as the
device diagnostics detect a fault. Detail diagnostics is done using a mainte-
nance tool. From the “live list,” it is easy to tell when a device is disconnected,
loses power, has communications problems, or fails. Remote performance
testing exposes weaknesses and future problems; for example, it is easy to test
if a valve is able to respond to small demands by actuating the valve in small
steps, while simultaneously remotely monitoring to check that the valve is
really moving. This was not possible in the past, as most positioners did not
have position feedback to the control room. Remote maintenance is not a lux-
ury, it is a necessity for savings as many problems can be solved remotely by
simple configuration changes such as direct or reverse action, damping, or
tuning. See figure 8-10 for an illustration of this, in which different types of
errors are propagated upwards to derive the problems, root causes, and possi-
ble solutions using multilayered systems.
Preempt Failures
Network-enabled asset management features allow a proactive maintenance
scheme in which operational statistics are used to estimate the device status.
Information about exceeded operating conditions along with this health data
determines how much longer a device can operate before requiring mainte-
nance. It is possible to more accurately anticipate and schedule a repair or
degrading device performance before it causes inaccuracies and faults. Deter-
mining if a device may need to be repaired soon or even based on the manu-
facturer life expectancy data for critical parts minimizes costly surprises and
shutdowns, and reduces unnecessary maintenance costs. Fieldbus drastically
reduces surprise shutdowns caused by unforeseen failures and makes it possi-
ble to plan maintenance for many devices on one convenient occasion. This
could not be done by systems in the past. Refer to figure 8-11 for predictive
intelligence and applicability in plant situations.
Faster Repair
The Fieldbus network communicates defined faults more precisely and imme-
diately upon detection. This enables technicians to more accurately pinpoint
the source of the problem and pick the right replacement parts and tools
before going into the field, and this solves the problem faster.
this. Moreover, once technicians have installed replacement devices, they can
download the configuration and put the device into operation quickly.
Timely Calibration
Drift occurs over time and may also be caused when ambient condition limits
are exceeded. Each FF device stores a record of the last calibration where it
will not be misplaced. Operators may review the record to determine the cali-
bration status of the device to ensure that calibration is neither overdue nor
done unnecessarily early. Sensor temperature can be monitored for suspected
drifts because limits have been exceeded, and if necessary, calibration can be
performed earlier or later depending on process availability than originally
scheduled. Positioner self-calibration for valve travel can also be invoked
remotely. In fieldbus, it is easy to gain an overview of which devices in the
plant are due for calibration. Conventional systems do not enable such cali-
bration management.
No Unnecessary Maintenance
Detailed device diagnostics make it possible for operators to quickly deter-
mine whether a process problem is caused by the device or by the process.
Using fieldbus, it is possible to remotely check to see if the problem is genuine
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 301
before going into the field; thus, maintenance is only performed when it is
really needed. In the past, technicians went to the field on false alerts to bring
back an instrument for testing often to find that it was OK. The time and cost
saved by not having to bring only a few transmitters into the workshop is
enormous. Less money is wasted checking and repairing devices that are OK.
By referring, for example, to the number of reversals, a technician can decide
whether or not to tear down a valve so as to replace the valve stem packing.
Conventional systems provide no means for achieving comparable results.
Operations Savings
Asset management does not deal directly with process control. Its focus is on
improving maintenance, which indirectly improves control because when
devices perform better and with fewer failures, better plant performance
results.
Systems can respond to faults faster and reduce repair times, as well as plant
down time. Early warning makes it possible to solve problems before they
adversely affect plant output. With equipment in good condition, the process
is kept online longer. Systems that lack proper network infrastructure in the
field do not offer these benefits.
302 Applying FOUNDATION Fieldbus
It is prudent to prevent control for the loop from continuing if the transmitter
fails. An instrument failure indication means that the loop will be shutdown.
Conventional transmitters and DCS don’t have the means to accurately
exchange status information because of the limitations of 4−20 mA. Typically,
a transmitter output current below 3.8 mA or above 20.5 mA is the only fast
way to indicate a fault and to make the interlocks shut the loop down.
For analog systems, valve positioner faults are even more difficult to detect.
Because analog systems make no distinction between severe and minor faults,
even a small problem would stop the process. Furthermore, an under range of
a mere 1 percent could also trigger a stop. Such unnecessary trips disrupt pro-
duction, increasing downtime and reducing profits. Fieldbus devices, on the
other hand, are better equipped to communicate the severity of the fault and
detect that the problem is genuine. This superior data validation results in a
reduced number of spurious shutdowns.
In traditional systems, the I/O for as many as 100 loops could be communi-
cated on one bus from the I/O subsystems to the controllers. Supervision for as
many as 1000 loops could also be communicated on just one bus from the con-
trollers to the host. The failure of such a bus would trip all these loops,
undoubtedly halting most of the plant. The field-level network for FOUNDA-
TION Fieldbus is highly distributed in comparison to the network technologies
used at the I/O and control levels of earlier systems.
This distribution leads to better availability. At the very most, eight but typi-
cally four loops rely on a single network. This reduces the number of loops
that would have to be shutdown in the event of failure. Production standstills
are rare. Costly one-to-one redundant I/O subsystems and networking would
be needed to achieve the same availability in a conventional system, yet in
most cases the backplanes and intermediate I/O switching board would
remain weak points.
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 303
In the past, control systems had centralized controllers that handled dozens or
even up to 100 loops. Control distributed to the field devices is one of the keys
to the high availability of the FCS architecture that can be built using FOUNDA-
TION Fieldbus. The Fieldbus-based Control System (FCS) architecture is highly
distributed: a transmitter and valve positioners make up the typical loop, and
the PID algorithm normally executes in the positioners, achieving single loop
integrity. Because there is no centralized controller, a single fault does not
affect any large number of loops. Costly one-to-one controller redundancy in
addition to I/O redundancy would be required to achieve the same availabil-
ity in a conventional system.
Higher Quality
Tighter product consistency is achieved through asset management based on
the diagnostics and operational statistics received over the fieldbus network.
Such consistency ensures product quality within specified limits. The status
304 Applying FOUNDATION Fieldbus
and diagnostics retrieved from the devices enable operators to quickly stop
production in the event of failure before any out-of-specification product con-
taminates good quality product. Less time, raw materials, energy, and other
resources are wasted to produce lower-grade product or product that cannot
be sold. The FOUNDATION Fieldbus Function Block Programming allows the
transfer of the process data and status between the blocks. This seamless com-
munication helps engineer the process to safe state in the event of failure. The
improved calibration scheme made possible by network-enabled asset man-
agement features makes it easier to remain in compliance with quality and
environmental management procedures. There is no alternative means to
achieve the same benefits.
Greater Safety
Accidents carry high costs. It is obviously desirable to minimize the risk of
harm to people, environment, and equipment. To avoid accidents, control
must stop when a failure occurs. For regular controls, fieldbus technologies
have several characteristics that plants may use to improve the safety of basic
control system throughout the plant lifecycle to a level well above that of con-
ventional systems.
Undetected faults in field devices are very dangerous because the control is
not shutdown. In an analog system, a fault often goes unnoticed, and danger-
ous control may continue because of an untrue value from a failed transmitter.
Such a failure is detected and communicated instantly in fieldbus technology,
which allows the loop to be shut down. Diagnostics is indicated as part of the
status that is communicated with the measurement and control variables
passed between devices.
Interlocks may initiate a shutdown by using the status received with the pro-
cess variable from the transmitter in the basic control strategy. This can be
done by setting the status in the manipulated variable to the valve positioners
or final control elements accordingly. If the FOUNDATION Fieldbus program-
ming language is used, such shutdown logic is already built in and only needs
to be enabled. Thus, the field devices themselves automatically ensure grace-
ful shutdown without the need for central controllers. For example, a sensor
failure, such as a burned-out thermocouple, would be detected by the self-
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 305
Less Training
Training is costly, but standards make it possible for devices and software to
function and operate in the same basic way. This reduces the need for ongoing
training of personnel in the use of different equipment and tools while at the
same time reducing confusion and mistakes. Interoperability makes it possi-
bility to use only a single tool to configure devices from different manufactur-
ers, giving everything a common and user-friendly look and feel. FF also
specifies programming languages, which makes it possible to build a control
strategy using controllers from different manufacturers and then executing
the strategy in transmitters, positioners, or centralized controllers.
Scalability
Increased product demand may force a plant to expand, calling for an
improvement in production. If a network is not fully loaded, field instruments
can be added even without pulling new cable. Each leftover communication
port can handle 16 new devices. Expansion of the plant devices becomes
expensive and difficult in traditional systems. Building large systems is a mat-
ter of concern if it involves linking more field-level networks to the host-level
network.
306 Applying FOUNDATION Fieldbus
The FCS architecture is the key to the ability of a system to expand at little
additional cost because there are no expensive central units. In a traditional
system, when a site adds loops, an additional I/O subsystem or controller is
soon required because there are not enough I/O channels or processing power.
Adding that loop may be very expensive, which may cause an idea to be can-
celled or put on hold.
Ease of Modification
Plants often have to adapt to market requirements by changing product and
production methods. Such modification is easier in a fieldbus system because
a new configuration can simply be downloaded, preparing the device for the
new application. This provides a great deal of flexibility to respond to quickly
Chapter 8 – Benefits of Using FOUNDATION Fieldbus 307
Unused functions can be put into use at a later stage. For example, operators
can put feedback from a valve positioner into use without having to modify
the valve positioner, running wires, or adding of any AI points to the control
system, as was necessary in the days of analog feedback. With a fieldbus-
based system, it is easier to make small changes. Thus, small improvements
can constantly be made without costly change orders to the suppliers.
Protected Investment
A great obstacle to improvement is conventional systems bought only a few
years ago being replaced by newer models, requiring a complete replacement
or expensive gateways, software upgrades, and services for integrating the
new with the existing. However, systems based on standards don’t change
very quickly and therefore, manufacturers are forced to go that extra mile to
follow the standard when inventing new features and improving perfor-
mance so products remain compatible with existing equipment. The stability
of fieldbus technologies therefore protects the investment made in a control
system from the obsolescence that often occurs with proprietary technologies.
Future compatibility is ensured and the threat of the need for complete
replacement and reinvestment is removed.
9
Specifications
List
309
310 Applying FOUNDATION Fieldbus
AG-163. 31.25 Kbit/s Intrinsically Safe Systems Application Guide. Austin, TX:
Fieldbus Foundation, 1996.
Berge, J., Fieldbuses for Process Control: Engineering, Operation, and Maintenance.
Research Triangle Park, NC: International Society of Automation, 2001.
311
312 Applying FOUNDATION Fieldbus
IEC 65C/178/CDV – IEC 61158-3. Data Link Layer-DLL Service Part 3. Interna-
tional Engineering Consortium, Chicago, IL, 1999.
IEC 65C/178/CDV – IEC 61158-4. Data Link Layer-DLL Protocol Part 4. Interna-
tional Engineering Consortium, Chicago, IL, 1999.
ISA-TR50.02, Part 9-2000. Fieldbus Standard for Use in Industrial Control Systems;
User Technical Report. Research Triangle Park, NC: International Society of
Automation.
AI—Analog Input
AO—Analog Output
AP—Application Program/Process
Auto—Automatic
BG—Bias/Gain Station
Cas—Cascade
CD—Compel Data
CIW—Control in Wire
CNF—Confirmation
Config—Configuration
315
316 Applying FOUNDATION Fieldbus
CONN—Connection-Oriented
CS—Control Selector
DA—Digital Alarm
DC—Device Control
DD—Device Description
DevId—Device Identifier
DI—Discrete Input
DL—Data Link
DO—Discrete Output
DS—Data Structure
DT—Deadtime
FB—Function Block
HMI—Human-Machine Interface
HSE—High-Speed Ethernet
I/O—Input/Output
ID—Identifier
Iman—Initialization Manual
IND—Indication
IP—Internet Protocol
IR—Initialization Request
IS—Intrinsically Safe
IS—Input Selector
IT—Information Technology
LD—Linking Device
LM—Link Master
LO—Local Override
LS—Link Schedule
mA—milliamps
Man—Manual
Max—Maximum
Msg—Message
NIS—Non-Intrinsically Safe
NM—Network Management
OD—Object Dictionary
OOS—Out Of Service
PD—Proportional Derivative
PD—Physical Device
PHY—Physical Layer
PS—Preliminary Specification
PT—Pass Token
RA—Ratio
RB—Resource Block
RCas—Remote Cascade
RED—Redundant
ROut—Remote Output
Rout—Remote Output
RT—Return Token
SM—System Management
SP—Set Point
SS—Signal Splitter
TD—Time Distribution
access rights 41
advanced diagnostics 260
alarm detection 59 83
algorithms 169
analog input (AI) 17 51
modes of operation 58
status 60
troubleshooting 61
analog output (AO) 17 62
modes of operation 67
status 68
anti-windup protection 169
application function block 35
application layer 21
areas
classification 110
asset management systems 246–247 252
availability 251
basic control 36
basic diagnostics 259
benefits
installation 280
maintenance 281
operational 280
bidirectional communication 16–17
block errors 57–58 67 83
87
block type manager (BTM) 230
bridges 107
buffered 31
bulk power supply 153
bumpless transfer 77
bus diagnostics 249
cable
design 148
sizes 149
types 149
calibration 253–255 257
carrier sense multiple access (CSMA) 107
checkmark 106
clamps 169
Class 61 - Integrated Host 47
Class 62 - Visitor Host 47
Class 63/64 - Bench Host 48
client 31
communication 28
channel 231
DTM 229
failure 163
stack 22
compel data (CD) 27
complex loops 203
configured fail state 162
construction savings 293
control and execution monitoring 170
control and monitoring
centralized 2
distributed 3
fieldbus 4
local 2
control in the field (CIF) 158
control in wire 189–190 198
control loop 170
control modules 158
control performance 201
control valve positioner diagnostics 262
controller 183
conversion 66
cost 198
cost of purchase 282
cost savings 278
gases
classification 111
gateway DTM 229
grounding 133 137 150
group address 31
H1 8 15–16
bus installation 104
interface card failure 204
interoperability test kit (ITK) 42
segment 148
hazardous area design 153
high power trunk 114 122 125
high-speed Ethernet (HSE) 8 15 107
182
I/O selection 82
identical device 268
ignition 112
increase to close 66
installation benefits 280
integration 221
intelligent devices 269
interchangeability 268
International Electrotechnical Commission (IEC) 23
International Standards Organization (ISO) 20
interoperability 10 19 42
268
interoperability test system (ITS) 42
intrinsic safety 108
intrinsically safe (IS) 23
ISA-100.11a 7
ITK 42 44
limiting 66 74 77
link active scheduler (LAS) 28
link scheduling (LS) 30
live list 27
live working 119
objects
alert 40
link 38
multivariable container (MVC) 41
objects (Cont.)
trend 39
view 41
offline 260
online 260
open systems interconnection (OSI) 20
operational benefits 280
operational statistics 266
operations savings 301
optimization 171 173
output 65 86
selection 77
queued 31
temperature
multiplexer transmitters 159
transmitter diagnostics 261
terminators 150
tokenizer 209
topologies for fieldbus networks 101
bus with spurs 101
daisy chain 103
point-to-point 101
tree 103
tracking 76
transducer block 34 160
transmitter diagnostics 222
troubleshooting 222
VCR
publisher/subscriber 31
report distribution 31
virtual field devices (VFD) 20 37
Wireless HART® 7
wiring 129
savings 18