Field communication: 4-20 mA, HART, Modbus, Profibus and Fieldbus
4–20 mA loops with live zero and power budgets, HART, Modbus, PROFIBUS DP/PA and FOUNDATION Fieldbus compared, with loop calculations.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Every measurement and every valve command has to travel between the field and the control system, often hundreds of metres through noisy, hazardous plant areas. Whether that link is a 4–20 mA pair, HART, Modbus or a fieldbus decides wiring cost, diagnostics, accuracy and how faults show up. Loop-checking, loop power budgets and protocol choices are daily work for instrumentation engineers.
Key ideas
4–20 mA current loop. A transmitter regulates the loop current between 4 and 20 mA in proportion to the measured value; the receiver reads it as a voltage across a resistor (250 Ω gives 1–5 V).
- Why current: the same current flows everywhere in a series loop, so wire resistance and moderate noise pick-up do not change the reading, and long cable runs are fine.
- Live zero: 0 % is 4 mA, not 0 mA, so a broken wire (0 mA) is distinguishable from a true zero, and the 4 mA is enough to power a two-wire transmitter from the loop itself.
- Fault signalling (NAMUR NE 43): normal measurement roughly 3.8–20.5 mA; a current below about 3.6 mA or above about 21 mA indicates a transmitter failure, so the control system can tell "bad value" from "low value".
- Loop power budget: the supply voltage must cover the transmitter's minimum operating voltage plus the drops across the receiver resistor, cable and any safety barrier at the highest current.
HART. Highway Addressable Remote Transducer superimposes a digital signal on the 4–20 mA loop using Bell 202 frequency-shift keying: 1200 Hz for a binary 1 and 2200 Hz for a 0, at 1200 bit/s, about ±0.5 mA peak. The sine waves average to zero, so the analog value is undisturbed. HART gives configuration, calibration (trim), diagnostics and extra variables while the 4–20 mA signal still does the control. The loop needs at least about 230 Ω (normally 250 Ω) for the HART signal to be detected. In multidrop mode the current is fixed at 4 mA and several devices share a pair with digital addresses. WirelessHART carries the same data over a mesh radio network.
Modbus. An open, simple master/slave (client/server) protocol. Modbus RTU sends binary frames with a CRC over RS-485 (multidrop, up to 32 unit loads per segment without repeaters, about 1200 m at low baud rates, addresses 1–247); Modbus ASCII uses readable characters with an LRC; Modbus TCP runs over Ethernet on port 502. Data is organised as coils, discrete inputs, input registers and holding registers, accessed by function codes such as 01 (read coils), 03 (read holding registers), 06 (write single register) and 16 (write multiple registers). There is no built-in time-stamping, data typing or device description, and only one master on a serial line.
PROFIBUS.
- PROFIBUS DP (decentralised periphery): RS-485 at 9.6 kbit/s to 12 Mbit/s; maximum segment length falls as speed rises (about 1200 m at 93.75 kbit/s, 100 m at 12 Mbit/s); token passing between masters and cyclic polling of slaves; widely used for remote I/O and drives.
- PROFIBUS PA (process automation): uses the IEC 61158-2 physical layer (Manchester-coded, bus-powered, 31.25 kbit/s), suitable for intrinsically safe areas, linked to DP through a coupler.
FOUNDATION Fieldbus. H1 uses the same 31.25 kbit/s bus-powered physical layer, up to 1900 m per segment including spurs, with terminators at both ends. Devices contain standard function blocks (AI, PID, AO), so control can run in the field devices, scheduled by the Link Active Scheduler. HSE (High Speed Ethernet) links H1 segments to the host.
Comparison. 4–20 mA: one variable per pair, simple, universal. HART: adds digital data on existing wiring. Fieldbuses: many devices and variables on one pair, full diagnostics, less wiring, but need careful design (power, segment length, termination) and skilled maintenance. Industrial Ethernet (PROFINET, EtherNet/IP, Modbus TCP) dominates at higher levels and increasingly at the field level (Ethernet-APL).
Formulas
I = 4 + 16·(x − LRV)/(URV − LRV)
- I: loop current (mA); x: measured value; LRV, URV: lower and upper range values (same units as x).
V_R = I·R
- Voltage across the receiver resistor (V), I in A, R in Ω.
V_supply ≥ V_tx,min + I_max·(R_receiver + R_cable + R_barrier)
- Loop power budget; I_max: highest loop current to be supported (20 mA, or about 22 mA to allow fault signalling).
R_loop,max = (V_supply − V_tx,min) / I_max
t_bit = 1 / bit rate
- HART: 1/1200 s ≈ 0.833 ms per bit.
Worked examples
Example 1 (standard) — scaling a temperature loop. A transmitter is ranged 0–250 °C and the receiver uses a 250 Ω resistor. (a) What current and receiver voltage correspond to 150 °C? (b) The DCS later reads 2.1 mA. What does that mean?
- I = 4 + 16 × (150 − 0)/(250 − 0) = 4 + 9.6 = 13.6 mA.
- V_R = 0.0136 × 250 = 3.4 V.
- (b) 2.1 mA is below 3.6 mA, outside the live range: it is a fault (open circuit, failed transmitter or loss of power), not a temperature near 0 °C. The DCS should flag the value as bad.
Example 2 (GATE level) — loop power budget. A two-wire transmitter needs at least 10.5 V at its terminals. The loop has a 24 V supply, a 250 Ω receiver, an intrinsic-safety barrier of 300 Ω and a cable 1.5 km long with 18 Ω/km per conductor. (a) Check the transmitter voltage at 20 mA and at 22 mA. (b) Find the maximum total loop resistance at 22 mA. (c) Is HART communication possible?
- Cable resistance (two conductors) = 2 × 1.5 × 18 = 54 Ω.
- Total external resistance = 250 + 300 + 54 = 604 Ω.
- At 20 mA: drop = 0.020 × 604 = 12.08 V; transmitter gets 24 − 12.08 = 11.92 V ≥ 10.5 V, OK.
- At 22 mA: drop = 0.022 × 604 = 13.29 V; transmitter gets 10.71 V, still OK but with little margin.
- (b) R_loop,max = (24 − 10.5)/0.022 = 614 Ω.
- (c) The loop includes 250 Ω (more than about 230 Ω), so HART can be used.
Common mistakes
- Converting current to percentage with I/20 instead of (I − 4)/16.
- Forgetting the cable has two conductors when computing loop resistance.
- Checking the power budget only at 4 mA or only at 20 mA; the worst case is the highest current.
- Removing or shorting the 250 Ω resistor and then wondering why the HART communicator cannot talk to the transmitter.
- Missing or extra terminators on RS-485 and fieldbus segments, causing reflections and intermittent errors.
- Assuming "Modbus" means one thing — RTU, ASCII and TCP frames are not interchangeable.
For GATE IN
Most questions are 4–20 mA conversions (current ↔ engineering value ↔ receiver voltage), loop resistance and supply-voltage budgets, and basic facts about HART (FSK frequencies, bit rate, superimposed signal), Modbus (master/slave, RS-485, function codes) and fieldbus physical layers (31.25 kbit/s, bus-powered). Practise conversions with non-zero lower range values, e.g. −50 to 150 °C.
Quick check
- A level transmitter ranged 0–5 m outputs 10 mA. What is the level?
- What frequencies represent 1 and 0 in HART?
- With a 24 V supply and a transmitter minimum of 12 V, what is the maximum loop resistance at 20 mA?
- What is the bit rate of FOUNDATION Fieldbus H1 and PROFIBUS PA?
Answers: 1. 1.875 m. 2. 1200 Hz = 1, 2200 Hz = 0. 3. 600 Ω. 4. 31.25 kbit/s.
See it move
All Instrumentation animationsAdjust the Process Variable (PV) to see how it affects the current in a 4-20 mA signal. Observe how the current changes with the PV and understand the relationship between them.
Equations used
- I = (PV / FS) * (20 mA - 4 mA) + 4 mA — I: Current in mA, PV: Process Variable, FS: Full Scale of the measurement
Interview questions
All Process Control and Automation interview questionsTry answering each one aloud before you open it.
1.What is the 4-20 mA current loop and why is it commonly used in process control?Concept
The 4-20 mA current loop is a standard for transmitting analog signals over long distances in industrial settings. It is commonly used because it is less susceptible to electrical noise compared to voltage signals, and it allows for easy detection of signal loss (e.g., a broken wire would result in a 0 mA signal, which is outside the normal range). The range starts at 4 mA to provide a live zero, which helps in distinguishing between a zero signal and a fault.
2.Explain the HART protocol and its significance in industrial communication.Concept
HART (Highway Addressable Remote Transducer) is a communication protocol that allows digital signals to be transmitted over the same wires as the 4-20 mA analog signal. This enables two-way communication with field devices, allowing for diagnostics, configuration, and calibration without interrupting the analog signal. Its significance lies in its ability to enhance the functionality of existing 4-20 mA systems without requiring additional wiring.
3.What is Modbus and how does it differ from Profibus?Concept
Modbus is a communication protocol used for transmitting information over serial lines between electronic devices. It is simple, open, and widely used in industrial environments. Profibus, on the other hand, is a more complex protocol that supports higher data rates and more sophisticated communication features. Profibus is often used in more demanding applications where higher speed and more robust communication are required.
4.Describe the Fieldbus protocol and its advantages over traditional analog communication.Concept
Fieldbus is a digital, two-way, multi-drop communication protocol used for connecting field devices in industrial environments. Unlike traditional analog communication, Fieldbus allows multiple devices to be connected on the same network, reducing wiring costs. It also supports advanced diagnostics and configuration capabilities, improving system reliability and flexibility.
5.Why is the 4-20 mA signal preferred over a 0-20 mA signal in industrial applications?Application
The 4-20 mA signal is preferred because it provides a live zero at 4 mA, which helps in distinguishing between a zero signal and a fault condition such as a broken wire. This live zero allows for easier troubleshooting and ensures that the system can detect and respond to failures more effectively.
6.What happens if a HART-enabled device is connected to a non-HART compatible system?Application
If a HART-enabled device is connected to a non-HART compatible system, the device will still function as a standard 4-20 mA device, transmitting the analog signal. However, the digital communication features of HART, such as remote diagnostics and configuration, will not be accessible. The system will operate without utilizing the enhanced capabilities of the HART protocol.
7.How does the use of Modbus protocol benefit a distributed control system (DCS)?Application
The use of Modbus protocol in a distributed control system (DCS) allows for easy integration of devices from different manufacturers, as Modbus is an open and widely supported protocol. It facilitates communication between various devices and systems, enabling centralized monitoring and control. This interoperability and flexibility can lead to cost savings and improved system efficiency.
8.Calculate the voltage drop across a 250-ohm resistor when a 4-20 mA signal is passing through it.Numerical
The voltage drop (V) across a resistor can be calculated using Ohm's Law: V = I × R. For a 4 mA signal: V = 0.004 A × 250 Ω = 1 V. For a 20 mA signal: V = 0.020 A × 250 Ω = 5 V. Therefore, the voltage drop ranges from 1 V to 5 V as the current varies from 4 mA to 20 mA.
9.If a Profibus network is experiencing communication errors, what are some potential causes?Application
Potential causes of communication errors in a Profibus network include incorrect termination of the network, faulty or loose connections, electromagnetic interference, incorrect configuration of devices, or a malfunctioning device on the network. Ensuring proper installation, shielding, and configuration can help mitigate these issues.
10.A Fieldbus network has a maximum cable length of 1900 meters. If a segment is 1500 meters long, how much additional length can be added without exceeding the limit?Numerical
The maximum cable length for the Fieldbus network is 1900 meters. If a segment is already 1500 meters long, the additional length that can be added is 1900 meters - 1500 meters = 400 meters.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?