OneTechnologyWay•P. O . Box9106•Norwood,MA02062-9106,U.S.A.•Tel : 781.329.4700•Fax: 781.461.3113•www.analog.com
RS-485/RS-422 Circuit Implementation Guide
by Hein Marais
INTRODUCTION
Industrial and instrumentation applications (I&I) require
transmission of data between multiple systems often over
very long distances. The RS-485 bus standard is one of the
most widely used physical layer bus designs in I&I applications. The key features of RS-485 that make it ideal for use
in I&I communications applications are
• Long distance links—up to 4000 feet.
• Bidirectional communications possible over a single pair of
twisted cables.
•Differential transmission increases noise immunity and
decreases noise emissions.
•Multiple drivers and receivers can be connected on the
same bus.
•Wide common-mode range allows for differences in
ground potential between the driver and receiver.
•TIA/EIA-485-A allow for data rates of up to 10 Mbps.
Devices meeting the TIA/EIA-485-A specifications do not
have to operate over the entire range and are not limited
to 10 Mbps.
The purpose of this application note is to discuss the implementation of RS-485/RS-422 in an industrial environment.
Applications for RS-485/RS-422 include process control
networks; industrial automation; remote terminals; building
automation, such as heating, ventilation, air conditioning
(HVAC), security systems; motor control; and motion control.
TIA/EIA-485-A, the telecommunication industry’s most widely
used transmission line standard, describes the physical layer of
the RS-485 interface and is normally used with a higher-level
protocol, such as Profibus, Interbus, Modbus, or BACnet. This
allows for robust data transmission over relatively long distances.
The RS-422 physical layer is described in TIA/EIA-422-B. The
TIA/EIA-485-A standards are similar to those described in
TIA/EIA-422-B, and the values used to specify the drivers and
receivers in TIA/EIA-485-A standards are specified so that it
can meet both standards.
WHY USE DIFFERENTIAL DATA TRANSMISSION?
The main reason why RS-485 can communicate over long
distances is the use of differential or balanced lines. A communication channel requires a dedicated pair of signal lines
to exchange information. The voltage on one line equals the
inverse of the voltage on the other line.
TIA/EIA-485-A designates the two lines in this differential pair
as A and B. Line A is more positive than Line B (V
the driver output if a logic high is received on the input of the
transmitter (DI = 1). If a logic low is received on the input of the
transmitter (DI = 0), the transmitter causes Line B to be more
positive than Line A (V
DI
DE
V
Figure 1. Differential Transmitter and Receiver
> VOA). See Figure 1.
OB
B
V
OA
OB
V
OD
V
V
IA
IB
If Line A is more positive than line B (VIA − VIB > 200 mV)
on the input of the receiver, the receiver output is a logic high
(RO = 1). If Line B is more positive than Line A (V
200 mV) on the input of the receiver, the receiver output is a
logic low (RO = 0).
Figure 1 shows that a differential signaling interface circuit
consists of a driver with differential outputs and a receiver with
differential inputs. This circuit has increased noise performance
because the noise coupling into the system is equal on both
signals. One signal emits the opposite of the other signal and
electromagnetic fields cancel each other. This reduces the
electromagnetic interference (EMI) of the system.
RS-422 is specified as a simplex multidrop standard, which
means that only one driver and up to ten receivers can be
connected to the same bus. If more than one driver needs to
be connected on the same bus, then RS-485 is recommended.
RS-485 is specified as a multipoint standard, which means up
to 32 transceivers can be connected on the same bus.
Figure 2 shows a typical RS-422 interface circuit. Although
an RS-485 circuit may appear similar, the main difference is
in the bus architecture. Figure 3 shows a typical RS-485 application circuit.
RS-422
The RS-422 standard specifies data rates up to 10 Mbps and
line lengths of up to 4000 feet. A single driver can drive a
transmission line with up to 10 receivers. The common-mode
voltage (V
terminals with respect to signal ground (V
) is defined as the mean voltage of A and B
CM
= (VIA + VIB)/2).
CM
The RS-422 receivers can withstand a common-mode
voltage (V
) of ±7 V. When all ten receivers are placed on the
CM
bus, a maximum load condition occurs. The input impedance
of the RS-422 receiver must be larger than or equal to 4 kΩ.
RS-485 AND THE UNIT LOAD CONCEPT
The input impedance of the RS-485 receiver is specified as
larger than or equal to 12 kΩ. This impedance is defined as
having one unit load (UL). The RS-485 specification specifies
the capability to sustain up to 32 ULs.
Some RS-485 receivers are specified as having ¼ UL or
⅛ UL. A receiver specified to have ¼ UL means that the
receiver only loads the bus by ¼ of the standard UL and,
therefore, 4 times as many of these receivers can be connected
to the bus (4 × 32 = 128 nodes).
Similarly, if an RS-485 receiver is specified to have ⅛ UL,
the receiver only loads the bus by ⅛ of the standard UL and,
therefore, 8 times as many of these receivers can be connected
to the bus (8 × 32 = 256 nodes). See Table 1 for UL and receiver
input impedance details.
Many of the RS-485 transceivers characteristics are the same as
for RS-422. The common-mode voltage range for RS-485 is
expanded to −7 V to +12 V. The RS-485 transceivers must
withstand this common-mode voltage range while tristated
(disconnected from the bus).
An RS-485 system must have a driver that can be disconnected
from the transmission line when a particular node is not
transmitting. The DE (RTS) pin on the RS-485 transceiver
enables the driver when a logic high is set to DE (DE = 1).
Setting the DE pin to low (DE = 0) puts the driver in a tristate
condition. This effectively disconnects the driver from the
bus and allows other nodes to transmit over the same twisted
pair cable.
RS-485 transceivers also have an
the receiver. The DE and
RE
pin that enables/disables
RE
pins combined allow some RS-485
transceivers to be put into a low power shutdown mode. This is
important for battery-powered applications.
Table 1. UL Receiver Input Impedance
Unit Load No. of Nodes Min. Receiver Input Impedance
1 32 12 kΩ
½ 64 24 kΩ
¼ 128 48 kΩ
⅛
256 96 kΩ
RO
RO
R5
R
R10
T
R9
RO
07395-002
RORO
R1
DI
D
R2
R6
RO
Figure 2. Typical RS-422 Interface Circuit
RO
R3
R7
RO
RO
R4
R8
RO
Rev. 0 | Page 3 of 12
AN-960 APPLICATION NOTE
A
V
HALF-DUPLEX RS-485
Half-duplex RS-485 links have multiple drivers and receivers on
the same signal path. This is the reason why RS-485 transceivers
must have driver/receiver enable pins enabling only one driver
to send data at a time. See Figure 3 for a half-duplex bus configuration. This configuration is also known as a 2-wire RS-485
network connected in a multipoint configuration and allows for
data transmission in both directions, but only in one direction
at a time.
FULL-DUPLEX RS-485
Figure 4 shows an example of an RS-485 bus connected in
a full-duplex bus configuration. This configuration is also
known as a 4-wire RS-485 network connected in a multipoint
master/slave configuration. Full-duplex RS-485 allows for
simultaneous communication in both directions between
master and slave nodes.
RO
RE
DE
R
GND
A
R
T
B
A
R
T
DI
D
GND
B
AB
R
RODE DI
RERODE DI
D
. . . .
GND
AB
R
RE
D
R
D
GND
RO
RE
DE
DI
07395-003
Figure 3. Half-Duplex RS-485 Bus Configuration
SL
EMASTER
DE
DI
RO
RE
RO
RE
DE
A
R
DI
D
GND
R
T
B
Z
Y
AB
ZY
AB
ZY
Y
D
Z
A
R
T
B
R
GND
GND
SLAVESLAVE
R
RODE DI
RERODE DI
. . . . . . .
D
R
RE
GND
D
07395-004
Figure 4. Full Duplex RS-485 Bus Configuration
Rev. 0 | Page 4 of 12
Loading...
+ 8 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.