TUTORIAL 1833

Using RS-485/RS-422 Transceivers in Fieldbus Networks

Oct 20, 2010

Abstract: RS-485 transceivers offer an easy way to implement the physical layer in industrial networks; several fieldbus standards specify an RS-485 serial port for communications. This article describes several fieldbus technologies and gives special attention to the INTERBUS and PROFIBUS networks .Some particularly useful features of RS-485 transceivers are highlighted.

Introduction

Because RS-485 transceivers offer an easy way to implement the physical layer in industrial networks, several fieldbus standards specify an RS-485 serial port for communications. This article describes several fieldbus technologies. Special attention is given to the INTERBUS and PROFIBUS networks. Some particularly useful features of RS-485 transceivers are highlighted.

Fieldbus Basics

Extensive data systems are employed in industrial plants to measure, collect, transmit, and display information. Valves must be controlled while temperature and pressure are measured, displayed, and fed to the process-control system. To connect the controller unit with sensors and actuators, many process and manufacturing facilities still include field multiplexers or multiwire connections based on 4–20mA loops or 0–10V circuits. Because the wiring required in those older systems is enormous, modern plants often save wiring effort by employing a serial, real-time, data-link industrial network (i.e., a fieldbus system) for process and manufacturing control.

Similar to the widespread Ethernet office networks, fieldbus systems use a single bus to connect all devices on one network to a central controller. Not only does that arrangement require substantially less wire, but it also increases the system's modularity. All devices are addressed with software, so any device can be connected to any socket along the network. The master detects which device is connected to the network and initiates the action required to start communications.

A fieldbus provides other advantages over Ethernet, and this may explain why Ethernet has not yet run the last mile in connecting programmable logic controllers (PLCs) and industrial PCs to field sensors and actuators. An important fieldbus advantage is determinism: signals are received in real time and the recipient immediately provides an acknowledging signal. Determinism is obviously required for an alarm signal that must be distributed in real time.

Fieldbus networks are also robust. Industrial networks must often guarantee gas-tight connectors and operate over the industrial temperature range of -45°C to +85°C, A fieldbus network can accommodate that temperature range, but most Ethernet controller ICs are specified only for 0°C to +70°C operation. It is, admittedly, possible to create an industrial Ethernet system that includes the additional protocol software for determinism, robust connectors, and industrial-temperature-range controller ICs, but such networks are more expensive. They also incur an additional cost in compensating for high protocol overhead, which requires a higher data rate than that of a regular fieldbus.

RS-485/RS-422 Fieldbus Implementations

Many fieldbus standards specify RS-485 or RS-422 transceivers for implementing the physical layer in an industrial network. RS-485 transceivers are inexpensive and offer various useful features including multiple speed ranges. The following major fieldbus standards either transmit over RS-485 or include an RS-485 version among others.

Attached resource computer network (ARCNET) Provides data rates up to 10Mbps. Started by SMC/Datapoint (USA) in 1977, ARCNET began as an office network and now serves industrial plants as well. It is a very flexible system.

Bitbus Up to 375kbps. Started by Intel® (USA) in 1984, a bitbus is used mainly for communication between PLCs and the main controller in manufacturing applications.

European installation bus (EIB) Up to 9600bps. Started in 1989 (Germany), an EIB system is used in building automation.

Flux information processbus (WorldFIP) Up to 2.5Mbps (1Mbps, typ). Started in 1984 (France), a WorldFIP system is used mainly for industrial process automation in France and Italy.

Local operating network (LON) Up to 1.25Mbps. Started by Echelon Inc. (USA) in 1990, a LON system is used mainly for building automation.

Process field bus with decentralized peripherals (PROFIBUS DP) Up to 12Mbps. Started by PNO (Germany) in 1993, PROFIBUS DP is used mainly in manufacturing automation.

INTERBUS Up to 2Mbps (500kbps, typ). Started by Phoenix Contact (Germany) in 1987, INTERBUS is used mainly in manufacturing automation.

Other standards (such as CAN) have a different physical interface, but we will consider only the RS-485 PROFIBUS DP and INTERBUS. Those systems have the largest market share and the highest growth rate in industrial RS-485 networks. For additional information about fieldbus standards, see www.fieldbusworld.com.

Basics of an INTERBUS Network

Organized in a ring structure, the INTERBUS network has a low protocol overhead and a standard 500Mbps data rate that allows rapid data transfer. The maximum data rate was increased to 2Mbps in 2001, and that will be the standard data rate in future high-speed systems.

The backbone of an INTERBUS is the remote bus, headed by a bus master that controls data communications. Each remote bus device (i.e., a slave) is connected to the follow-on device through full-duplex, RS-422 point-to-point connections as shown in Figure 1. A maximum bus length of 400m is allowed between any two slaves; the total bus length is limited to 13km. Each slave connects to the bus with two full-duplex RS-422 transceivers, one on each side of the slave. Those connections provide a repeater function that ensures good transmission quality over the entire network.

Figure 1. An INTERBUS network can include local- and remote-bus data loops, all operating in the four-wire, full-duplex communication mode. Multiple local-bus loops are allowed.
Figure 1. An INTERBUS network can include local- and remote-bus data loops, all operating in the four-wire, full-duplex communication mode. Multiple local-bus loops are allowed.

No more than 512 slaves may be connected to one master, and each slave has its own power supply. A slave can also function as a bus-coupler (i.e., a bus-interface module) that serves a local bus of up to eight devices. The local bus is limited to 10m in overall length and to 1.5m between any two devices. Local bus communication is implemented over pairs of 2-wire cables, using full-duplex CMOS-level signals rather than the standard RS-422-level signals.

The INTERBUS standard requires that components in a network be certified by an accredited test laboratory. Any PCB designer can apply for such a certificate at the local INTERBUS club which represents an international association of companies whose common goal is to push INTERBUS applications.

RS-422 Transceiver Features

The full-duplex RS-485 transceiver in an INTERBUS remote bus (usually called an RS-422 transceiver) must support a data rate of at least 500kbps (Figure 2). Future generations will require more than 2Mbps. Current applications usually include 75179-compatible drivers in spite of their high quiescent supply current. Even the (so-called) low-power 75LBC179 has a typical quiescent current of 4.2mA per device. The 10Mbps MAX3087E is a low-power alternative that draws a no-load supply current of only 475µA, with correspondingly lower full-load supply current.

Figure 2. Typical RS-422 transceiver in an INTERBUS remote bus.
Figure 2. Typical RS-422 transceiver in an INTERBUS remote bus.

Supply current is important in minimizing power dissipation. The housing of a fieldbus device can be quite small and, therefore, difficult to provide with an effective heatsink. Moreover, many applications require a galvanically isolated bus,¹ so power must be distributed to the RS-485 transceiver across an isolation barrier.

The MAX3087E also provides ±15kV of ESD protection. A technician can destroy valuable unprotected electronic devices just by touching them, and that static discharge can occur with a single contact during installation of the fieldbus cable. The ESD structures included in Maxim ICs protect both the transmitter outputs and receiver inputs of multiple interface circuits against electrostatic discharge. During manufacture, the ICs' positive and negative rails are tested in 200V increments according to the Human Body Model (IEC Standard 1000-4-2). Thus, unlike competitive parts that may withstand 15kV strikes but fail at 6kV, the Maxim parts guarantee protection against the smaller ESD strikes as well.

Basics of a PROFIBUS DP Network

The PROFIBUS DP is organized in a line configuration, which lets you add and remove peripherals while the bus is operating (Figure 3). Most applications operate with the maximum data rate of 12Mbps, but 1.5Mbps is common and rates down to 9600bps are defined. The maximum bus length for copper cables at 12Mbps is 100m; at lower data rates the use of repeaters can extend the total bus length to 9.6km.

Figure 3. The PROFIBUS network is laid out in a single line. Up to five bus segments are allowed, each containing up to 32 nodes. A mono master system is shown with a single master per segment.
Figure 3. The PROFIBUS network is laid out in a single line. Up to five bus segments are allowed, each containing up to 32 nodes. A mono master system is shown with a single master per segment.

PROFIBUS DP connects to the bus using half-duplex RS-485 transceivers, which transfer data over a single, shielded, twisted-pair cable. PROFIBUS also allows the possibility of an optical connection using plastic fiber. Other network "family" members are PROFIBUS FMS, an older version for the process-management level that has been mostly replaced by Ethernet, and PROFIBUS PA, an intrinsically safe version for process-control applications.

PROFIBUS DP allows up to 32 nodes per bus segment, including masters, slaves, and any repeaters. You can add up to a total of five bus segments, with each segment isolated by a repeater. The bus size can be extended in this way to an overall total of 126 nodes. PROFIBUS DP has a high overhead for protocol because various diagnostic functions are added to the actual message to guarantee safe data transmission.

Communications are controlled by one or more Class 1 masters. The system also includes Class 2 masters, which compose the human-machine interface used to program devices and operate systems on the bus. A slave can be a sensor, an actuator such as a magnetic valve, or a decentralized digital or analog input or output. The PROFIBUS standard requires that all end equipment connected to a PROFIBUS be certified by an accredited test lab. (See www.profibus.com.)

RS-485/RS-422 Transceiver Features

The half-duplex RS-485 transceivers in a PROFIBUS DP network must be capable of handling data rates ≥ 12Mbps. To guarantee a valid receiver-input voltage under worst-case load conditions, the differential driver outputs must be able to deliver ≥ 2.1V at full load (27Ω). Further, to minimize signal distortion the driver and receiver outputs should exhibit ≤ 2ns of data skew.² Most PROFIBUS applications require specially sorted 75ALS176 transceivers to achieve that level of performance. A new family of 20Mbps, half-duplex RS-485 transceivers, the MAX3463/MAX3464, meet the PROFIBUS DP requirements and offer several other advantages:
  • Data rates to 20Mbps
  • Substantially lower supply current (≤ 4mA, compared with = 30mA for the 75ALS176). Low supply current for the transceiver saves cost and board space, because a PROFIBUS DP interface is galvanically isolated in most cases.
  • ESD protection on all input and output pins protects the ICs against ESD strikes to ±2kV.
  • True fail-safe capability
RS-485 receivers have no defined output for input levels between -200mV and +200mV. For the condition of 0V on the RS-485 side, a logic high is as probable on a receiver's TTL side as is a logic low. That ambiguity is present in a half-duplex connection if no master is transmitting or if the line has a loose connection. Placing a termination network (Figure 4) at each end of the bus ensures defined output levels for nonfailsafe PROFIBUS RS-485 transceivers.

Figure 4. Typical RS-485 transceiver for PROFIBUS DP.
Figure 4. Typical RS-485 transceiver for PROFIBUS DP.

Maxim's true failsafe feature is implemented in MAX3463/MAX3464 devices. This technology avoids external biasing resistors by substituting a precise receiver-threshold range (-50mV to -200mV) that complies fully with RS-485 specifications while guaranteeing that a 0V input produces a logic high at the receiver. The remaining termination resistor (approximately 200Ω) is connected between the differential lines. By eliminating the 330Ω pullup and pulldown resistors otherwise needed, that connection saves additional power.

The capability of a standard RS-485 driver to drive up to 32 unit loads sets the 32-node maximum for a PROFIBUS DP bus segment. One unit load is defined as 12kΩ, which corresponds to the input impedance for a standard RS-485 receiver. However, the higher input impedance of MAX3463/MAX3464 receivers (48kΩ, which is 1/4 unit load) allows 128 transceivers on the bus. Any combination of RS-485 transceivers can connect to one bus segment, provided that the net parallel impedance of those circuits remains above 375Ω (32 unit loads).

Conceivably, the PROFIBUS DP size could be increased to 128 nodes per segment, for a total of 640 nodes in five segments. The MAX3463 includes another useful feature. When bus nodes are powered up or plugged into a "hot" backplane, a short interval follows during which the processor or control ASIC executes its power-up sequence. The processor's output drivers are in a high-impedance state during that time and are, therefore, unable to drive the RS-485 transceiver's control lines (active-low RE, DE, DI) to defined logic levels.

Leakage current from those high-impedance drivers (as much as 10µA) can cause the RS-485 circuit's control lines to drift high or low. In addition, parasitic capacitance on the circuit board can couple the control lines to either GND or VCC. These factors cause the control lines to drift toward levels that can enable the circuit's transmitters (A and B). To avoid that condition, the MAX3463 includes hot-swappable inputs that disable the MAX3463 control lines as VCC ramps up from 0V. Hot-swap inputs overcome the leakage currents and parasitic capacitances that might otherwise pull the control lines to the enabled state. Full-duplex versions (MAX3460/MAX3461/MAX3462) are available for high-speed RS-422 applications.

Combining all the features and capabilities needed for a PROFIBUS network is the MAX14770E. This device meets the EIA 61158-2 Type B PROFIBUS-DP specification. The MAX14770E features a true fail-safe receiver, is hot-swappable, and has high ±35kV ESD protection (Human Body Model).

Because fieldbus systems can include a large number of RS-485 or RS-422 drivers, power delivered to the drivers can represent a significant part of the system cost. That is particularly true when supplying the power across an isolation barrier. Because legacy RS-485/RS-422 drivers require considerable supply current (as much as 30mA quiescent, plus load current), you can reduce costs by including modern CMOS drivers in the system. The newer CMOS drivers provide additional advantages (ESD protection, fail-safe capability, and decreased unit loading) that improve the system reliability and performance/cost ratios.



¹MAX485 transformer driver simplifies galvanic isolation.
²Skew is defined as the absolute value of the difference between the low-to-high and high-to-low propagation delays at the output of each channel.

Intel is a registered trademark and registered service mark of Intel Corporation.



Related Parts
MAX14770E High-ESD PROFIBUS RS-485 Transceiver Free Samples  
MAX3087E ±15kV ESD-Protected, Fail-Safe, High-Speed (10Mbps), Slew-Rate-Limited RS-485/RS-422 Transceivers Free Samples  
MAX3463 +5V, Fail-Safe, 20Mbps, PROFIBUS RS-485/RS-422 Transceivers Free Samples  
MAX3464 +5V, Fail-Safe, 20Mbps, PROFIBUS RS-485/RS-422 Transceivers Free Samples  


Next Steps
EE-Mail Subscribe to EE-Mail and receive automatic notice of new documents in your areas of interest.
Download Download, PDF Format (84kB)  
Share
Other Channels  Email this page to an associate or friend. 



APP 1833: Oct 20, 2010
TUTORIAL 1833, AN1833, AN 1833, APP1833, Appnote1833, Appnote 1833

Share



More