Professional Documents
Culture Documents
are present, the controller is the Primary Master and the hand-held unit is the Secondary
Master. (Note: It becomes difficult to describe process devices in a data
communication setting, because the terms transmitter and receiver have more than one
meaning. For example, a process transmitter both receives and transmits data bits. We
hope we've avoided confusion by providing sufficient context whenever these words are
used.)
HART now includes process receivers. These are also called Field Instruments or
HART Slaves and are discussed in the section entitled Process Receiver.
Overview: Signaling
The HART signal path from the the processor in a sending device to the processor in
a receiving device is shown in figure 1.5. Amplifiers, filters, etc. have been omitted for
simplicity. At this level the diagram is the same, regardless of whether a Master or
Slave is transmitting. Notice that, if the signal starts out as a current, the "Network"
converts it to a voltage. But if it starts out a voltage it stays a voltage.
The form of modulation used in HART is the same as that used in the "forward
channel" of Bell-202. However, there are enough differences between HART and Bell202 that several modems have been designed specifically for HART. Further
information on Bell-202 is given in the section entitled What's In a Bell-202
Standard?
At the receiving end, the demodulator section of a modem converts FSK back into a
serial bit stream at 1200 bps. Each 11-bit character is converted back into an 8-bit byte
and parity is checked. The receiving processor reads the incoming UART bytes and
checks parity for each one until there are no more or until parsing of the data stream
indicates that this is the last byte of the message. The receiving processor accepts the
incoming message only if it's amplitude is high enough to cause carrier detect to be
asserted. In some cases the receiving processor will have to test an I/O line to make this
determination. In others the carrier detect signal gates the receive data so that nothing
(no transitions) reaches the receiving UART unless carrier detect is asserted.
smart field instruments the ROM and EEPROM to hold HART software and HART
parameters will usually already exist.
for the intervening lengths of cable, all of the devices are electrically in parallel. The
Hand-Held Communicator (HHC) may also be connected virtually anywhere. As a
practical matter, however, most of the cable is inaccessible and the HHC has to be
connected at the Field Instrument, in junction boxes, or in controllers or marshalling
panels.
Overview: Protocol
Normally, one HART device talks while others listen. A Master typically sends a
command and then expects a reply. A Slave waits for a command and then sends a
reply. The command and associated reply are called a transaction. There are typically
periods of silence (nobody talking) between transactions. The two bursts of carrier
during a transaction are illustrated in figure 1.12.
Part of Message
Length in Bytes
Purpose
Preamble
5 to 20
Synchronization &
Carrier Detect
Start Delimiter
Synchronization &
Shows Which Master
Address
1 or 5
Command
Indicates Number
Bytes Between Here
and Checksum
Status
0 (if Master)
2 (if Slave)
Data
0 to 253
Argument Associated
with Command
(Process Variable, For
Example)
Checksum
Error Control
Overview: Addressing
Each HART field instrument must have a unique address. Each command sent by a
Master contains the address of the desired Field Instrument. All Field Instruments
examine the command. The one that recognizes its own address sends back a response.
For various reasons HART addressing has been changed a few times. Each change had
to be done in such a way as to maintain backward compatibility. This has led to some
confusion over addressing. Hopefully, this somewhat chronological presentation will
not add to the confusion.
Early HART protocol used only a 4 bit address. This meant there could be 16 field
instruments per network. In any Field Instrument the 4-bit address could be set to any
value from 0 to 15 using HART commands. If a Master changed the address of a Field
Instrument, it would have to use the new address from then on when talking to that
particular Field Instrument.
Later, HART was modified to use a combination of the 4-bit address and a new 38 bit
address. In these modern devices, the 4-bit address is identical to the 4-bit address used
exclusively in earlier devices, and is also known as a polling address or short address.
The 38 bit address is also known as the long address, and is permanently set by the
Field Instrument manufacturer. A 38-bit address allows virtually an unlimited number
of Field Instruments per network. Older devices that use only a 4-bit address are also
known as "rev 4" Field Instruments. Modern devices, that use the combined addresses,
are also known as "rev 5" instruments. These designations correspond to the revision
levels of the HART Protocol documents. Revision 4 devices are now considered
obsolete. Their sale or use or design is discouraged and most available software is
probably not compatible with revision 4.
So, why the two forms of address in modern Field Instruments? The reason is that
we need a way of quickly determining the long address. We can't just try every possible
combination (2 to the 38th power). This would take years. So, instead, we put the old
4-bit address to work. We use it to get the Field Instrument to divulge its long address.
The protocol rules state that HART Command 0 may be sent using the short address.
All other commands require the long address. Command 0, not surprisingly, commands
a Field Instrument to tell us its long address. In effect the short address is used only
once, to tell us how to talk to the Field Instrument using its long address.
The long address consists of the lower (least significant) 38 bits of a 40-bit unique
identifier. This is illustrated in figure 1.13. The first byte of the unique identifier is the
manufacturer's ID number. The second is the manufacturer's device type code. The 3rd,
4th, and 5th are a serial number. It is intended that no two Field Instruments in
existence have the same 40-bit identifier.
Overview: Conclusion
Although some of the details and variations are left out, this is basically how HART
works. The complete topology rules and device requirements are given in HART
specifications, which are sold by the HART Communication Foundation [1.5]. The
information presented here should not be considered a substitute for the actual
specifications. A current list of the specifications and their HCF designations is given in
the section entitled Table of Current HART Publications . Some circuit designs and
more detail on selected HART topics are covered in the HART Application Note.
Why So Slow?
A common question or complaint about HART is its relatively low speed of 1200
bps. In an age of DSL, HART is clearly a snail. One has to keep in mind the time
period in which HART was developed (early 1980's) as well as the relatively small
amount of available power in 4-20 mA analog instruments. In the early 1980s, a 300
bps modem for a personal computer was considered pretty good. And when 1200 bps
modems came out, they sold for $500 to $600 each. The power to run personal
computer modems has always been watts. The power to run a HART modem is often
only 2 mW.
Not only is there very little power available in analog instruments, but it keeps
shrinking! Demands for greater functionality keep shifting the available current into
more powerful processors, etc.
Some of the issues/problems involved in a higher speed HART are:
1.
Many of the protocol functions must be moved into hardware. A single low-power
microcontroller in a Slave device would otherwise be hard-pressed to keep up.
2.
Backward compatibility with devices/networks that run at the current speed and
and use the existing bandwidth. If the bit rate is to be higher than the existing
bandwidth of 3 or 4 kHz, this generally means that spectrally efficient techniques
are needed. This loosely translates into complicated modulation methods and
digital signal processing. Thus, there is a quantum leap in current consumption.
3.
4. Burst type operation, which is used in HART becomes difficult to achieve at higher
bit
rates, because of the need for long equalization periods and other receiver start-up
activities.
The HART Communication Foundation has actively sought and invested in the
development of a higher speed HART. But so far the hardware has not materialized.
For information on the theoretical upper speed limit for a HART network, see the
section entitled How Fast?
Too see our proposal for a higher speed HART, click here.
Process Receiver
HART was originally conceived to augment process transmitters. However,
specifications were later revised to cover process receivers (typically valve positioners),
as well. Here, we will briefly examine the electrical characteristics of a HART process
receiver.
In a conventional process receiver loop, the controller generates a 4-20 mA current
that is applied to (passed through) the process receiver. The desired characteristic of the
receiver is that it have an impedance of almost zero. This is the opposite of the process
transmitter, which ideally has infinite impedance. Thus, the two types of Field
Instruments are electrical opposites.
To add HART communication to the process receiver loop, we could perpetuate the
existing impedance situation and require high-impedance Masters and low-impedance
Field Instruments. This would require a new set of HART Masters that would transmit
using a current source instead of a voltage source. In fact there would be a duplication
of most of the HART elements that already exist for process transmitter loops; and
possibly a separate specification and separate products for process receiverdom.
Another approach -- a more practical one -- is to devise a process receiver with nearly
zero impedance at DC and a high impedance at HART frequencies. Using this
approach, a single type of HART Master is able to talk to either a process transmitter or
a process receiver. It is easier to make such a HART process receiver if the "high
impedance" doesn't have to be too high. About 300 to 400 ohm is about as high as it
can easily go. Since this is still relatively low, the HART specifications permit this
device to set the network resistance. That is, the impedance of this device at HART
frequencies replaces the current sense resistor. Note that a current sense resistor
wouldn't normally be present, anyway, in a process receiver loop. The complete process
receiver loop with HART components is shown in figure 1.14. The frequencydependent impedance in the process receiver is represented by the small graph of |Z|
versus frequency.
Alternatives To HART
There is no exact alternative to HART in the sense of a competing open standard that
augments analog signaling in an industrial process control setting. There are, however,
similar proprietary methods that have been developed by companies such as Honeywell,
Foxboro, and Elsag-Bailey. There are also many process control devices advertised that
have RS232 and/or RS485 ports built-in, along with proprietary protocols, for the
purpose of configuration, calibration, etc.
The H1 Physical Layer (Voltage Mode Low Speed) of Foundation Fieldbus [1.7] is an
open standard for process control instruments that supports only digital signaling. It is
similar to HART in its support of 2-wire Field Instruments and its superposition of
signal onto the DC instrument power. Its raw data rate at the Physical Layer is 31.25
kbits/second -- much higher than HART. However, it also has much higher overhead
so that a full 26X increase in transaction rate is not realized. A much higher level of
circuit integration and far more software are generally needed to support it. At present
Foundation Fieldbus devices typically use 3 to 5 times as much power as HART
devices. The network topology of Foundation Fieldbus is similar to HART but more
restricted.
Title
HART - Smart Communications Protocol Specification
FSK Physical Layer Specification
Data Link Layer Specification
Command Summary Information
Universal Command Specification
Common Practice Command Specification
Common Tables
Command Specific Response Code Definitions
HART Device Description Language Specification
Device Description Language Methods Builtins Library
Device Description Language Binary File Format
Specification
HART Slave Data Link Layer Test Specification
HART Physical Layer Test Procedure
HART Universal Application Layer Conformance Tests
HCF Entity Control Procedures
HCF Quality Assurance Program
Application Layer Guideline on Building HART
Commands
NCR 20C12 Modem Application Note: A HART Master
Demonstration Circuit
NCR 20C12 Modem Application Note: A HART Slave
Demonstration Circuit
Application Layer Guideline on HART Status
Information
HCF-LIT-8
HCF-LIT-9
HCF-LIT-11
HCF-LIT-14
HCF-LIT-15
HCF-LIT-17
HCF-LIT-18
HCF-LIT-21
HCF-LIT-24