Report On HART COMMUNICATION
Report On HART COMMUNICATION
Report On HART COMMUNICATION
Field networks are not the only solution when plant operators want to use the advantages of smart field devices. The HART protocol provides many possibilities even for installations that are equipped with the conventional 4 to 20 mA technique.HART devices communicate their data over the transmission lines of the 4 to20 mA system. This enables the field devices to be parameterized and started up in a flexible manner or to read measured and stored data (records). All these tasks require field devices based on microprocessor technology. These devices are frequently called smart devices.Introduced in 1989, this protocol has proven successful in many industrial applications and enables bidirectional communication even in hazardous environments. HART allows the use of up to two masters: the engineering console in the control room and a second device for operation on site, e.g. a PC laptop or a handheld terminal. The most important performance features of the HART protocol include: proven in practice, simple design, easy to maintain and operate compatible with conventional analog instrumentation simultaneous analog and digital communication option of point-to-point or multidrop operation flexible data access via up to two master devices supports multivariable field devices sufficient response time of approx. 500 ms open de-facto standard freely available to any manufacturer or user.
This enables two-way field communication to take place and makes it possible for additional information beyond just the normal process variable to be communicated to/from a smart field instrument. The HART Protocol communicates at 1200 bps without interrupting the 420mA signal and allows a host application (master) to get two or more digital updates per second from a smart field device. As the digital FSK signal is phase continuous, there is no interference with the 4-20mA signal.
HART technology is a master/slave protocol, which means that a smart field (slave) device only speaks when spoken to by a master. The HART Protocol can be used in various modes such as point-to-point or multidrop for communicating information to/from smart field instruments and central control or monitoring systems. HART Communication occurs between two HART-enabled devices, typically a smart field device and a control or monitoring system. Communication occurs using standard instrumentation grade wire and using standard wiring and termination practices. The HART Protocol provides two simultaneous communication channels: the 4-20mA analog signal and a digital signal. The 4-20mA signal communicates the primary measured value (in the case of a field instrument) using the 4-20mA current loop - the fastest and most reliable industry standard. Additional device information is communicated using a digital signal that is superimposed on the analog signal. The digital signal contains information from the device including device status, diagnostics, additional measured or calculated values, etc. Together, the two communication channels provide a low-cost and very robust complete field communication solution that is easy to use and configure.
The HART Protocol provides for up to two masters (primary and secondary). This allows secondary masters such as handheld communicators to be used without interfering with communications to/from the primary master, i.e. control/monitoring system.
3.2 Multiplexer
Fig. 3.2 shows the use of a multiplexer system, which enables a large number of HART devices to be connected in a network. The user selects a particular current loop for
communication via the operating program. As long as the communication takes place, the multiplexer connects the current loop to the host. Due to the cascaded multiplexer structure, the host can communicate with many (> 1000) devices, all with the address zero.
the required travel. To be able to use HART communications also for such applications as the split-range operation, the HART positioner from SAMSON always takes the analog current signal as a reference variable, independent of the device address (Fig. 3.4).
This enables two-way field communication to take place and makes it possible for additional information beyond just the normal process variable to be communicated to/from a smart field instrument. The HART Protocol communicates at 1200 bps without interrupting the 4-20mA signal and allows a host application (master) to get two or more digital updates per second from a smart field device. As the digital FSK signal is phase continuous, there is no interference with the 4-20mA signal.
10
11
12
13
14
The HART protocol utilizes the OSI reference model. As is the case for most of the communication systems on the field level, the HART protocol implements only the layers 1, 2 and 7 of the OSI model. The layers 3 to 6 remain empty since their services are either not required or provided by the application layer 7 (see Fig. 6.1).
6.1 Coding
Data transmission between the masters and the field devices is physically realized by superimposing an encoded digital signal on the 4 to 20 mA current loop. Since the coding has no mean values, an analog signal transmission taking place at the same time is not affected. This enables the HART protocol to include the existing simplex channel transmitting the current
15
signal (analog control device field device) and an additional half-duplex channel for communication in both directions.
The bit transmission layer defines an asynchronous half-duplex interface which operates on the analog current signal line. To encode the bits, the FSK method (Frequency Shift Keying) based on the Bell 202 communication standard is used. The two digital values .0. and .1. are assigned to the following frequencies (see Fig. 6.2): logical .0.: 2200Hz logical .1.: 1200Hz Each individual byte of the layer-2 telegram is transmitted as eleven-bit UART character at a data rate of 1200 bits/s.The HART specification defines that master devices send voltage signals, while the field devices (slaves) convey their messages using load-independent currents. The current signals are converted to voltage signals at the internal resistance of the receiver (at its load). To ensure a reliable signal reception, the HART protocol specifies the total load of the current loop . including the cable resistance . to be between minimum 230 ohms and maximum 1100 ohms. Usually, the upper limit is not defined by this specification, but results from the
16
limited power output of the power supply unit. The HART masters are simply connected in parallel to the field devices (e.g. Fig. 4.1), so the devices can be connected and disconnected during operation because the current loop need not be interrupted.
6.2 Wiring
HART wiring in the field usually consists of twisted pair cables. If very thin and/or long cables are used, the cable resistance increases and, hence, the total load. As a result, the signal attenuation and distortion increases while the critical frequency of the transmission network decreases. For trouble-free transmission, the cables must have a sufficient cross section and an appropriate length. If interference signals are a problem, long lines must be shielded. The signal loop and the cable shield should be grounded at one common point only. According to the specification, the following configurations work reliably: (1).For short distances, simple unshielded 0.2 mm2 two-wire lines are sufficient. (2).For distances of up to 1,500 m, individually twisted 0.2 mm wire pairs with a common shield over the cable should be used. (3).For distances of up to 3,000 m, individually twisted 0.5 mm2 two-wire lines shielded in pairs are required. Most of the wiring in the field meets these requirements and can therefore be used for digital communication.
The reason is that the inputs and outputs of these devices are specified only for the 4 to 20 mA technology. Since the input and output resistances change with the signal frequency, such devices are likely to short-circuit the higherfrequency HART signals (1200 to 2200 Hz). Inputs and outputs with an internal resistance that falls below the FSK frequency range short-circuit the HART signals! To prevent this, the internal resistance must be increased using an additional circuit. The RC low pass (250 W, 1 mF) illustrated in Fig.6.3 performs this function.
Fig 6.3 Controller output must not short circuit the HART signal
However, a disadvantage is that the serial resistance must additionally be powered by the controller.
18
When using the specially designed HART box, the additional load can be reduced by one fifth to 50 W. If this value is still too high, either a signal amplifier more a controller with higher power output must be installed. Load to be powered by the controller: RC low pass: 250 W + line resistance + load of field device HART box: 50 W + line resistance + load of field device
19
Figure 7.1HART communication modes The simplest form of a transaction is a master telegram which is directly followed by a response or acknowledgement telegram from the slave (Fig. 6.4). This communication mode is used for the normal data exchange. When connection is established, the HART command 11 can be used to send a broadcast message to all devices to check the system configuration. Some HART devices support the optional burst communication mode. A single field device cyclically sends message telegrams with short 75-ms breaks, which can alternately be read by the primary
20
as well as the secondary master. While usually only two transactions per second are possible, the field device can send up to four telegrams using this method.
21
The two status bytes are included only in reply messages from slaves and contain bitcoded information. They indicate whether the received message was correct and the operational state of the field device. When the field device operates properly, both status bytes are set to logical zero. The data can be transmitted as unsigned integers, floating-point numbers or ASCIIcoded character strings. The data format to be used is determined by the command byte, however, not all commands or responses contain data.
22
23
In shorter messages, the ratio between user data and control data becomes increasingly unfavorable so that it can take up to 128 ms to transmit one user data byte. An average of 500 ms is accounted for per transaction. i.e. for both a master and a slave telegram, including additional maintenance and synchronization times. As a result, approximately two HART transactions can be carried out per second. These values show that the HART communication is not suitable for transmitting time-critical data. HART can be used to determine the reference variable of a final control element in test and start-up phases, but it is obviously not suited to solve control tasks.
24
CONCLUSION
While there are many benefits to be gained by using HART transmitters, it is essential that they be calibrated using a procedure that is appropriate to their function. If the transmitter is part of an application that retrieves digital process values for monitoring or control, then the standard calibration procedures for conventional instruments are inadequate. At a minimum, the sensor input section of each instrument must be calibrated. If the application also uses the current loop output, then the output section must also be calibrated.
25
REFERANCES
[1] HART Communication Foundation. " HART Field Communication Protocol Specification". [2] Bell System Technical Reference: PUB 41212, "Data Sets 202S and 202T interface Specification", July 1976. [3] HART Communication Foundation Pamphlet. "HART Field Communications Protocol". [4] Holladay, Kenneth L., "Using the HART Protocol to Manage for Quality", ISA 1994 paper number 94-617. [5] ANSI/ISA - S51.1-1979, "Process Instrumentation Terminology". [6] Instrument Society of America, "Instrument Calibration Series - Principles of Calibration", 1989. [7] Instrument Society of America, "Instrument Calibration Series - Calibrating Pressure and Temperature Instruments", 1989
26