You are on page 1of 7

1.

6 Configuring Intelligent Devices


J. BERGE (2003)

DESIGN FEATURE RECOMMENDATIONS Together, the universal and common-practice commands cover
most functions needed in a device. This enables a host to per-
Use permanently connected communications infra- form most device functions without access to the DD. Essen-
structure. tially, all devices also have a number of specific commands to

For the HART Field Communications Protocol, use access unique functionality. Either a DD or a special driver is
a handheld with large, user-friendly screen. required to communicate the special commands.
Use device configuration templates. For FOUNDATION fieldbus device configuration parameters
Use a fieldbus tool that requires no proprietary files are arranged in a resource block and in transducer blocks.
from the host manufacturer. There are also function blocks, but these are used for control
Be mindful of revisions when configuring fieldbus strategy building rather than device configuration. This distinc-
devices. tion makes it easy to draw the line between device and strategy
configuration. The block parameters are accessed using sophis-
ticated communication services. A host needs to be loaded with
COSTS the DD to be able to communicate with a device. In addition,
to allow configuration of the device off-line, in advance, the
A HART handheld, such as Smar Internationals HPC301, capabilities file (CF) is required.
costs approximately U.S. $1000. Range setting is perhaps the most important setting of a
A FOUNDATION fieldbus host, such as the SYSTEM302, device based on a 4- to 20-mA signal such as used by a HART
starts at U.S. $4000. instrument. Range sets the scale for the 4- to 20-mA signal.
Because FOUNDATION fieldbus devices communicate in floating-
point mode and engineering units, there usually is no need to
INTRODUCTION set a range. Calibration shall not be confused with range set-
ting, since they are in fact different operations. For example,
Intelligent devices include smart instruments that have both for a transmitter range setting means configuring the measured
an analog 4- to 20-mA signal with simultaneous digital com- values at which the output shall be 4 and 20 mA, respectively.
munication, such as HART (Volume 3, Section 4.11), and field- Calibration, on the other hand, means adjusting the reading
bus devices that are completely digital, such as FOUNDATION from the sensor to match the correct value from a standard
fieldbus (Volume 3, Section 4.12). Intelligence in these devices, (Section 1.8). Range setting does not correct the sensor read-
along with networking and the right tools, can also be put to ing; it only affects the output scale.
good use to improve maintenance practices. To calibrate a transmitter, you must always apply a known
Both FOUNDATION fieldbus and HART protocols are specif- input. Therefore, calibration cannot be done remotely. The
ically designed for the configuration of field instruments and expression remote calibration is often used erroneously to
are therefore the most commonly used in the process industries. mean remote range setting. Some confusion exists in the mar-
They both have special parameters for the specific purpose of ketplace as to what calibration is. This is a legacy from the
device configuration, and both use the concept of device era of analog devices in which calibration and range setting
description (DD) files to inform a host device how to commu- was done at the same time using the same set of potentiom-
nicate these parameters with the device. This is a unique char- eters. For the HART protocol, calibration is usually called
acteristic of these protocols that makes them highly suitable for trim to distinguish it from range setting. FOUNDATION fieldbus
instrumentation and control. avoids this confusion by calling range setting scaling. Still
In the HART protocol, device parameter configuration is it is quite common in HART devices to change the range
based on commands for reading and writing. There are three instead of calibrating the device when the sensor reading is
classes of commands: universal, common-practice, and spe- wrong. The result is a correct 4- to 20-mA output, but any
cific. All HART devices support the universal commands, and digital reading in the display or host will be wrong, which
most also support several common-practice commands. may lead to confusion.

93
2003 by Bla Liptk
94 General Considerations

CONFIGURATION TOOLS Operation Engineering Maintenance Business

FOUNDATION fieldbus devices are permanently connected via


a network to a host in a convenient central location. HART Router
devices, on the other hand, normally operate only using 4 to HSE Fieldbus
20 mA, and a hand-held HART communicator is connected
and communicates only when required. A FOUNDATION field-
bus host is therefore predominantly a stationary desktop com-
puter, whereas a HART communicator is usually a portable
device. However, portable interfaces for laptops exist for both
HART and FOUNDATION fieldbus operation.
The handheld can be connected at any convenient point H1 Fieldbus H1 Fieldbus
Devices Devices
along the 4- to 20-mA wire as long as it is on the instrument
side of the stipulated resistor (see Figure 1.6a). This connec-
tion is often done at the device itself, giving on-line access
to information, configuration, remote monitoring, calibration FIG. 1.6c
and range setting, diagnostics, and maintenance. FOUNDATION fieldbus system architecture.
The handheld can be either a dedicated text-based HART
device or a HART interface for an organizer with a graphical
user interface (GUI). Rapid development in the area of per-
sonal organizers has brought about tools that incorporate
displays larger than three inches across and are capable of
sophisticated graphics with a Windows-like appearance. They
are also are very fast (see Figure 1.6b).
Fieldbus instruments are connected on the H1 field-level
nework that ties in with a linking device on the HSE host-
level network where the host computers with the configura-
tion tool is (Figure 1.6c). This is a permanent connection
where the network used for control, monitoring, and opera-
tion is also used for configuration and diagnostics, etc.

Power Handheld
Supply Al Resistor
Terminal

FIG. 1.6d
FOUNDATION fieldbus linking device. (Courtesy of Smar Interna-
FIG. 1.6a
tional.)
HART handheld connection.

Linking device is typically one of many functions inte-


grated in a single device. Usually the same device is respon-
sible for powering the field instruments, etc. A linking device
typically has several H1 ports and can be connected in a
redundant scheme for high availability (Figure 1.6d).
For FOUNDATION fieldbus interoperability with the host is
achieved through DD. By installing the device support files
for a device, the host computer has the information required
to communicate with the device and to allow the user to prepare
a configuration in advance, even without being connected to
the device. The files usually can be obtained from the man-
ufacturers site on the Internet. To guarantee interoperability,
an open host uses only standard files to support any device.
However, some tools may require proprietary files for each
FIG. 1.6b device to work, in which case a short list of approved devices
HART pocket Configurator. (Courtesy of Smar International.) applies.

2003 by Bla Liptk


1.6 Configuring Intelligent Devices 95

DEVICE CONFIGURATION measurements. Square root extraction is often done in the


central control system, but it is in fact better to do it in the
HART devices are typically configured on line only, using a transmitter, as this results in less A/D and D/A conversion error.
handheld unit communicating directly with the device. How- Fail-safe mode can be set as upscale or downscale as per
ever, some handhelds also support off-line configuration for the NAMUR NE-43 standard. Downscale means that the
later download. output current will be set to 3.6 mA in case the internal
Although HART transmitters can operate in a purely diagnostics detect a fault. Upscale means the output will be
digital mode, the 4- to 20-mA output is almost always used set to 21 mA. Ideally, the receiving controller should have
to deliver the process variable to the central controller. Setting an input module that can interpret the failure signal and use
the range of the transmitter is therefore required. The primary this to shut down the control loop.
variable output settings are the most important part of the It is also possible to review the write protection status of
configuration. The lower range value (LRV) is the measured the deviceif the device has been write protected using a
value at which the transmitter output will be 4 mA, and the jumper or other solution.
upper range value (URV) is the input value at which the When performing range setting or calibration, the user needs
output will be 20 mA; i.e., 0 and 100% of range, respectively. to know the sensor limits and is therefore usually prompted with
Although LRV and URV are the proper terms, most call them this information, which typically can be reviewed at any time
zero and span instead. But span is really the difference (see Figure 1.6f). HART device information includes lower
between the URV and the LRV. The engineering unit can also range limit (LRL), upper range limit (URL), and the minimum
be selected. span. The minimum span is the smallest permitted absolute
Range setting can be accomplished from the handheld difference between the URL and LRL for the sensor.
by simply keying in the desired range values, regardless of Many configuration options are device specific in HART
input. This can even be done remotely and stored as an off- devices. For example, for a temperature transmitter, the sen-
line configuration. Another method is to apply an input and sor type and wiring has to be configured (see Figure 1.6g).
(by pressing a button on the handheld or on the transmitter For a valve positioner, the actuator type has to be configured.
itself) informing the device that the applied input is to be the In most FOUNDATION system installations, the device con-
LRV or URV, thus setting the range (see Figure 1.6e). The figuration is created off-line for all devices in advance and
latter method is often used for pressure transmitters that are downloaded after installation. Moreover, the device configu-
installed with impulse lines that add hydrostatic pressure. ration is typically accomplished with the network and control
Pressing the button elevates or suppresses the zero, ensuring
that the output is 4 mA when appropriate. If the transmitter
has a noninteractive zero and span, the URV will be pushed
by the equivalent amount, leaving the span unaffected. For
example, if the range of a pressure transmitter in a level
application starts off as 0 to 5.48 kPa, and applied rerange is
done with 1.86 kPa input, the new range becomes 1.86 to
7.34 kPa. However, when a rerange is applied for the URV,
this does not affect the zero; i.e., the span is changed instead.
The damping is a first-order lag filter time constant.
The transfer function is used to select linear or square root
extraction for differential-pressure flowmeters, and possibly
for other options such as a freely configurable lookup table or FIG. 1.6f
square root of third or fifth power for open-channel flow HART transmitter sensor limits.

FIG. 1.6e FIG. 1.6g


HART transmitter range setting. Sensor and wiring selection is device specific.

2003 by Bla Liptk


96 General Considerations

important dates, and model numbers. The user can configure


some of these parameters to be pertinent to the application.
These parameters do not affect the operation of the device.
In addition to the sensor information such as range limits,
HART device data such as sensor serial number, final assem-
bly number, message, device tag, descriptor, date, manufac-
turer, device type, software and hardware revisions, and cir-
cuit board serial number are provided. For HART devices,
the tag can use up to eight characters. The descriptor and
FIG. 1.6h message are 16 and 32 characters in length and can be con-
Pay attention to revisions when creating device configurations. figured as annotations describing the application and remind
technicians of special precautions when servicing a device
strategy configuration, all in the same tool. Thus, when con- (see Figure 1.6i).
figuring devices in a FOUNDATION system, the first step is to The date has no specific purpose but may be used to store
create the devices on the networks and give the devices a when calibration or maintenance was last performed or is
physical device tag (PD_TAG). Fieldbus devices are develop- scheduled. Manufacturer, model, and version information can
ing very rapidly. New versions are constantly being released, also be accessed (see Figure 1.6j).
and many users already have several versions around the plant HART devices such as pressure transmitters usually pro-
and in the store, this on top of a variety of brands of the same vide additional information about the materials of construction
kind of device. When inserting new devices, it is important to for the parts wetted by the process, e.g., the sensor isolating
specify the revisions to be used (see Figure 1.6h). Usually, the diaphragm, O-ring, flange and remote seal parts, and so on.
latest revision is the default. There is a risk that you will The resource block found in any FOUNDATION fieldbus device
accidentally download a device configuration to the wrong contains, among other things, identification information for the
model or wrong version device. A good tool prevents this device. The tag descriptor parameter may be used to describe
and thus avoids the many headaches that could result. the application of the device. Manufacturer, model, and version
Fieldbus devices do not require any range, because all information can also be accessed (see Figure 1.6k).
values are communicated as floating-point values in engi-
neering units. Ranges are typically used only in PID function
blocks, or possibly in AI function blocks, to cater for con-
versions in inferred measurements, such as converting differ-
ential pressure to flow within specified ranges. That is, scal-
ing is done as part of the control strategy configuration, not
as part of the device configuration.
Every fieldbus device, H1 as well as HSE, needs to have
one resource block. Really, the only parameter that must be
configured is the mode. The MODE_BLK parameter target
shall be set to automatic.
A fieldbus transducer block is required, in conjunction
with every sensor and actuator, to act as an interface between
the device and the control strategy. By parameterizing the
transducer blocks, the device can be set up for the proper sensor FIG. 1.6i
or actuator type, such as HART devices. Similarly the trans- Application information from a HART device.
ducer block also contains information about sensor limits.
Indeed, there is a transducer scale range indication in the
transducer block, but it is essentially a reflection of a setting
done in the associated I/O function block. The MODE_BLK
parameter target shall be set to automatic.

IDENTIFICATION

Information for identifying the device is very helpful during


commissioning and maintenance. During the commissioning
stage, it is useful for further assurance that connection has
been made to the correct device. During maintenance, it is FIG. 1.6j
helpful for retrieving serial numbers, special instructions, Detail attributes of a HART device.

2003 by Bla Liptk


1.6 Configuring Intelligent Devices 97

FIG. 1.6k FIG. 1.6m


Fieldbus device identification from resource block. Zero calibration of HART transmitter.

FIG. 1.6l
Pressure transmitter materials of construction.
FIG. 1.6n
Loop current calibration.
Fieldbus devices such as pressure transmitters usually pro-
vide additional information about the materials of construction
for the parts wetted by the process, e.g., the sensor isolating comparing the actual output against a standard. The actual
diaphragm, O-ring, flange and remote seal parts, and so on reading is entered into the device that makes the necessary
(see Figure 1.6l). correction. Control valve positioners usually calibrate their
If any changes are ever made to the device parts, it is position-sensing sensor themselves by automatically stroking
important to update this information. the valve over its entire travel.
Since HART devices rely on 4 to 20 mA, this current loop
can also be calibrated. However, it is rarely done because,
being totally electronic, this part of the device rarely experi-
CALIBRATION ences any drift at all. For a HART transmitter, this means that
a fixed output current is generated. The technician checks the
When the sensor reading differs from the actual applied input, current against a standard and keys it into a device that makes
the sensor has to be calibrated. The correct reading is entered the necessary correction (see Figure 1.6n). For HART output
from the maintenance tool, and the device then performs the devices, a signal is injected, and the device is informed of the
necessary adjustment. A special case of sensor calibration is true current.
zeroing, which by definition is done with a zero value applied. Sensor or actuation calibration for FOUNDATION fieldbus
This is accomplished, for example, by venting in the case of devices is done from the associated transducer block. The
a pressure transmitter; hence, no value has to be entered (see standard transducer block also includes several parameters for
Figure 1.6.m). storing information about the last calibration. This includes
Nonzero calibration is usually done with a precision source two parameters for keeping the values of the two calibration
applied. Calibration is usually done in two points, known as points. This is useful when determining if a device has been
the low and high calibration points, respectively. For most calibrated at points that are suitable for the operating range.
transmitters, calibration of these two points is noninteractive. Additional information that can be stored includes calibration
There is a limit to how close the two calibration points can be, date, location, the method used, and who performed the cali-
and the distance is referred to as the minimum span. Output bration. It is good practice to update this information at each
converters also need to be calibrated. This is usually done by calibration and to display it along with useful sensor limit
first forcing an output at one end of the scale and then information (Figure 1.6o).

2003 by Bla Liptk


98 General Considerations

FIG. 1.6q
Using loop test to simulate process variable from a handheld.
FIG. 1.6o
Calibration-related information.

FIG. 1.6r
Basic HART diagnostics.
FIG. 1.6p
input (see Figure 1.6q). Generally, the handheld allows the
Monitoring of dynamic transmitter variables from a HART tool.
current to be set slightly above and below the 4- to 20-mA
range to simulate fault conditions.
Simulation is primarily used to test the control strategy.
MONITORING
Therefore, simulation for FOUNDATION fieldbus devices is
done from the input and output function blocks.
Configuration tools for HART and FOUNDATION fieldbus sys-
tems are generally designed in different ways, not only in terms
of the way they look, but also the way they work. In HART DIAGNOSTICS
tools, menus are usually arranged according to the function
performed, whereas device configuration in fieldbus tools is Many device diagnostics can be performed from a configu-
arranged according to the resource and transducer blocks. Thus, ration tool, but only if communication is established. If there
in a HART device, there generally is a screen on which the is no functional communication, troubleshooting has to rely
transmitter variables can be monitored on line (see Figure 1.6p). on traditional means. When it comes to diagnostics, one of
the major differences in the application of HART and FOUN-
DATION fieldbus becomes most evident. While fieldbus devices
SIMULATION are constantly communicating, making it possible to monitor
device conditions continuously and instantly detect faults,
At the time of commissioning, it is common to check that communication with HART devices is typically carried out
all indicators, recorders, and computer screens show the cor- to confirm a problem only after the failure has already been
rect values, that alarm trips are working properly, and so on. detected. Although applications with continuous HART com-
This is particularly important for HART devices, because munications do exist, they are rare. To fully benefit from
there is a chance that the range set in the device does not intelligence in field devices, the engineering tool should con-
match that set in the central controller, and any difference tinuously communicate with the instruments.
would result in operational problems. To verify that all ranges Generic diagnostic information is communicated in every
are consistent, it is helpful to use the simulation function exchanged HART message, giving the device the opportunity
found in HART and fieldbus devices. to inform the user of any failure. Such error message includes
When performing simulation in a HART transmitter, the general malfunction, exceeded limits, and a message that
output current is manipulated independently of the applied more detailed status report is available (see Figure 1.6r).

2003 by Bla Liptk


1.6 Configuring Intelligent Devices 99

FIG. 1.6t
Abnormal status and actual mode are useful for tracing problems.
FIG. 1.6s
Advanced diagnostic self-test.

For some devices, a more thorough diagnostic self-test Diagnostic information for sensors and actuators is kept
routine can be invoked (see Figure 1.6s). in their respective transducer blocks. The primary source for
Every FOUNDATION block, including function blocks, con- this information is the transducer error parameter that dis-
tains a block error parameter with some basic condition for plays a single error at the time. Transducer blocks are always
the block itself, including configuration errors, I/O or memory customized and typically contain extensive manufacturer-
failure, and others. In addition, the block mode parameter is specific parameters related to diagnostics.
useful for spotting problems, which often results in the actual
mode being different from the target mode. Yet another good
source of diagnostic information is the status associated with Reference
the function block inputs and outputs, and also with some of
the parameters contained in transducer blocks and function 1. Berge, J., Fieldbuses for Process Control Engineering, Operation and
blocks (see Figure 1.6t). Maintenance, ISA, Research Triangle Park, NC, 2002.

2003 by Bla Liptk

You might also like