CP0287 20-Mar-2012 RM01

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

HART overview

Objectives
When you have completed study of this chapter, you will be able to: Describe the fundamental operation of HART Fix problems with: Cabling Configuration.

18a.1

Introduction to HART and smart instrumentation


Smart (or intelligent) instrumentation protocols are designed for applications where actual data is collected from instruments, sensors, and actuators by digital communication techniques. These components are linked directly to programmable logic controllers (PLCs) and computers. The HART (highway addressable remote transducer) protocol is a typical smart instrumentation fieldbus that can operate in a hybrid 420 mA digital fashion. HART is, by no means, the only protocol in this sphere. There are hundreds of smart implementations produced by various manufacturers for example, Honeywell that compete with HART. This chapter deals specifically with HART. At a basic level, most smart instruments provide core functions such as: Control of range/zero/span adjustments Diagnostics to verify functionality Memory to store configuration and status information (such as tag numbers, etc.). Accessing these functions allows major gains in the speed and efficiency of the installation and maintenance process. For example, the time consuming 420 mA loop check phase can be achieved in minutes, and the device can be readied for use in the process by zeroing and adjustment for any other controllable aspects such as the damping value.

18a.2

HART protocol
This protocol was originally developed by Rosemount and is regarded as an open standard, available to all manufacturers. Its main advantage is that it enables an instrumentation engineer to keep the existing 420 mA instrumentation cabling and to use, simultaneously,

HART overview

359

the same wires to carry digital information superimposed on the analog signal. This enables most companies to capitalize on their existing investment in 420 mA instrumentation cabling and associated systems and to add further capability of HART without incurring major costs. HART is a hybrid analog and digital protocol, as opposed to most fieldbus systems, which are purely digital. The HART protocol uses the frequency shift keying (FSK) technique based on the Bell 202 communications standard. Two individual frequencies of 1200 and 2200 Hz, representing digits 1 and 0 respectively, are used (Figure 18a.1). The average value of the sine wave (at the 1200 and 2200 Hz frequencies), which is superimposed on the 420 mA signal, is zero. Hence, the 420 mA analog information is not affected.

Figure 18a.1 Frequency allocation of HART protocol

The HART protocol can be used in three ways: 1. In conjunction with the 420 mA current signal in point-to-point mode 2. In conjunction with other field devices in multi-drop mode 3. In point-to-point mode with only one field device broadcasting in burst mode. Traditional point-to-point loops use zero for the smart device polling address. Setting the smart device polling address to a number greater than zero creates a multi-drop loop. The smart device then sets its analog output to a constant 4 mA and communicates only digitally. The HART protocol has two formats for digital transmission of data: Poll/response mode Burst (or broadcast) mode. In the poll/response mode the master polls each of the smart devices on the highway and requests the relevant information. In burst mode the field device continuously transmits process data without the need for the host to send request messages. Although this mode is fairly fast (up to 3.7 times/s), it cannot be used in multi-drop networks. The protocol is implemented with the OSI model using layers 1, 2, and 7. The actual implementation is covered in this chapter.

18a.3

Physical layer
The physical layer of the HART protocol is based on two methods of communication. Analog 420 mA Digital frequency shift keying (FSK).

360

Practical Industrial Data Communications

The basic communication of the HART protocol is the 420 mA current system. This analog system is used by the sensor to transmit an analog value to the HART PLC or HART card in a PC (Figure 18a.2). In a 420 mA system, the sensor outputs a current value somewhere between 4 and 20 mA that represents the analog value of the sensor. For example, a water tank that is half full say 3400 kL would put out 12 mA. The receiver would interpret this 12 mA as 3400 kL. This communication is always point-to-point, i.e. from one device to another. It is not possible to do multi-drop communication using this method alone. If two or more devices put some current on the line at the same time, the resulting current value would not be valid for either device.

Figure 18a.2 HART point-to-point communications

18a.3.1

Digital multi-drop communications


For multi-drop communications, the HART protocol uses a digital/analog modulation technique known as frequency shift keying (FSK). This technique is based on the Bell 202 communication standard (Figure 18a.3). Data transfer rate is 1200 baud with a digital 0 frequency (2200 Hz) and a digital 1 frequency (1200 Hz). Category 5 shielded, twisted-pair wire is recommended by most manufacturers. Devices can be powered by the bus or individually. If the bus powers the devices, only 15 devices can be connected. As the average DC current of an ac frequency is zero, it is possible to place a 1200 or 2200 Hz tone on top of a 420 mA signal. The HART protocol does this to allow simultaneous communications on a multi-drop system.

Figure 18a.3 HART multi-point communications

HART overview

361

18a.3.2

The HART handheld communicator


The HART system includes a handheld control device (Figure 18a.4). This device can be a second master on the system. It is used to read, write, range, and calibrate devices on the bus. It can be taken into the field and used for temporary communications. The battery-operated handheld has a display and key input for specific commands.

Figure 18a.4 HART handheld controller

The HART field controller in Figure 18a.5 is wired in series with the field device (valve positioner or other actuator). In some cases, a bypass capacitor may be required across the terminals of the valve positioner to keep the positioners series impedance below the 100 level required by HART specifications. Communications with the field controller requires the communicating device (handheld terminal or PC) to be connected across a loop impedance of at least 230 . Communications is not possible across the terminals of the valve positioner because of its low impedance (100 ). Instead, the communicating device must be connected across the transmitter or the current sense resistor.

Figure 18a.5 HART handheld connection method

362

Practical Industrial Data Communications

Figure 18a.6 HART protocol implementation of OSI layer model

18a.4

Data-link layer
The data-link frame format is shown in Figure 18a.7.

Figure 18a.7 HART data-link frame format

Two-dimensional error checking, including vertical and longitudinal parity checks, is implemented in each frame. Each character or frame of information has the following parameters: 1 start bit 8 data bits 1 odd parity bit 1 stop bit.

18a.5

Application layer
The application layer allows the host device to obtain and interpret field device data (Figure 18a.8). There are three classes of commands: 1. Universal commands 2. Common practice commands 3. Device-specific commands. Examples of these commands are listed below.

18a.5.1

Universal commands
Read manufacturer and device type Read primary variable (PV) and units Read current output and percent of range

HART overview

363

Read up to four predefined dynamic variables Read or write 8-character tag, 16-character descriptor, date Read or write 32-character message Read device range, units and damping time constant Read or write final assembly number Write polling address.

Figure 18a.8 HART application layer implementation

18a.5.2

Common practice commands


Read selection of up to four dynamic variables Write damping time constant Write device range Calibrate (set zero, set span) Set fixed output current Perform self-test Perform master reset Trim PV zero Write PV units Trim DAC zero and gain Write transfer function (square root/linear) Write sensor serial number Read or write dynamic variable assignments.

18a.5.3

Instrument specific commands


Read or write low flow cut-off value Start, stop or clear totalizer Read or write density calibration factor Choose PV (mass flow or density) Read or write materials or construction information Trim sensor calibration.

364

Practical Industrial Data Communications

18a.5.4

Summary of HART benefits


Simultaneous analog and digital communications Allows other analog devices on the highway Allows multiple masters to control same smart instrument Multiple smart devices on the same highway Long distance communications over telephone lines Two alternative transmission modes Flexible messaging structure for new features Up to 256 process variables in any smart field device.

18a.5.5

Hardware recommendations
Minimum cable size: 24 AWG, (0.51 mm diameter) Cable type: Single-pair shielded or multiple-pair with overall shield.

You might also like