DC-14 Ch11 Vivek Ver2
DC-14 Ch11 Vivek Ver2
DC-14 Ch11 Vivek Ver2
The highway addressable remote transducer (HART) protocol is one of a number of smart instrumentation protocols designed for collecting data from instruments, sensors, and actuators by digital communication techniques.
Objectives
When you have completed studying this chapter you will be able to: Describe the origin and benefits of the HART protocol Describe the three OSI layers of the HART protocol
11.1
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.
11.2
The HART protocol can be used in three ways: In conjunction with the 420 mA current signal in point-to-point mode In conjunction with other field devices in multidrop mode 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 multidrop 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/second) it cannot be used in multidrop networks. The protocol is implemented with the OSI model (see Chapter 9) using layers 1, 2 and 7. The actual implementation is covered in this chapter.
11.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)
Analog 4 to 20 mA 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. In a 420 mA 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 kilolitres would put out 12 mA. The receiver would interpret this 12 mA as 3400 kilolitres. This communication is always point-to-point, i.e. from one device to one other. It is not possible to do multidrop 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.
For multidrop 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. 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 Hz or 2200 Hz tone on top of a 420 mA signal. The HART protocol does this to allow simultaneous communications on a multidrop system.
The HART system includes a handheld control device. 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.
The HART field controller in Figure 11.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. (Taken from the HART applications guide by the HART Communications Foundation 1999 www.hartcomm.org.)
11.4
Two-dimensional error checking, including both 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
11.5
Application layer
The application layer allows the host device to obtain and interpret field device data. There are three classes of commands: Universal commands Common practice commands Device specific commands Examples of these commands are listed below.
Universal commands
Read manufacturer and device type Read primary variable (PV) and units Read current output and per cent of range Read up to 4 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
11.6
Digital process variable rate: No. of multidropped devices: Multi-variable specification: Communication masters:
poll/response mode: 2.0 per second burst mode: 3.7 per second loop powered: 15 max. individually powered: no limit max. 256 process variables per smart device max. 2
Hardware recommendations
Minimum cable size: Cable type: Single twisted pair length: Multiple twisted pair length: 24 AWG, (0.51 mm diameter) single pair shielded or multiple pair with overall shield 3048 meters max. (3335 yards) 1524 meters max. (1667 yards)
The following formula can be used to determine the maximum cable length:
65 10 6 Cf + 10000 L= C RC
Where: L R C Cf = = = = max. length (meters) total resistance (), inclusive of barriers cable capacitance (pF/m) max. shunt capacitance of smart field devices (pF)
Worked example Assume that a Model 3051C smart pressure transmitter, for a Rosemount System 3 control system, is to be installed using a shielded twisted pair. Calculate the maximum cable length permitted for reliable operation. R = 250 ohms C = 164 pF/m Cf = 5000 pF