Table of Contents
Table of Contents

RS485 chip selection and instructionsRS485 chip selection and instructions

July 10, 2023

The American Electronics Industries Association (EIA) ratified the RS-485 balanced gearbox standard in 1983. EIA originally prefixed the standard with RS (Recommended Standard), but later modified RS to EIA/TIA to make it easier to identify the standard's source. Although engineers and application guides continue to refer to the standard as RS-485, the official name of the specification is now TIA-485.

As protocol, time, serial or parallel data, and links are all determined by the designer or a higher layer protocol, RS-485 is just an electrical standard that describes the physical layer of the interface. Using balanced (also known as differential) multipoint gearbox lines, RS-485 specifies the electrical properties of drivers and receivers.


Crucial elements


● Noise immunity is raised and noise radiation is decreased through differential transmission.

● Long-distance connections up to 4000 feet (1219 metres), around

● Up to 10Mbps data rate (within 40 inches, or 12.2 metres)

● On the same bus, various drivers and receivers may connect.

● With a wide common-mode range, driver and receiver can have different ground potentials, providing a maximum common-mode voltage of -7 to 12 volts.


Signal Level


The use of differential signals for transmission is primarily responsible for the long-distance transmission capabilities of RS-485. The difference between the two on the line can still be used for judgement when there is noise interference, preventing noise from interfering with the transmitted data.



1_2019011609490192


The next 2 signals are included in the RS-485 differential line:


● A: Non-inverting signal, in A.

● B: Signal inversion


Additionally, a third signal might exist, and for the balanced line to function normally, all balanced lines must have a common reference point known as SC or G. The transceiver will utilise this signal as a benchmark for determining the voltage on the AB line because it has the potential to limit the common mode signal received by the receiving end. According to the RS-485 standard,


● If MARK (logic 1), line B's signal voltage is greater than line A's.

● If SPACE (logic 0), line A's signal voltage is greater than line B's.


Although different ICs employ various signal labelling techniques, the EIA standard only uses the names of signals A and B. Signals B and A will be stronger when the data is 1. Signal B, however, is a "inverted signal" because the standard also states that signal A is a "non-inverted signal." Consequently, signal A and B definitions are more ambiguous. The naming principle of A/B is improperly used by many component manufacturers, therefore the precise definition must actually refer to the chip handbook of the design manufacturer.

One style of naming that is frequently used to avoid conflict is:


● Instead of B (signal 1 is high), use TX+/RX+ or D+.

● Instead of using A (signal 0 is low), use TX-/RX- or D-.


The voltage variations on the U+ terminal and U terminal when RS-485 sends a character using the "asynchronous start-stop" approach (0xD3, the lowest bit is sent first), are shown in the figure below.


2_20190116112053193


Threshold voltage


Line A voltage is higher than line B voltage (VOA>VOB) if the transmitter input receives a logic high level (DI=1); line A voltage is higher than line B voltage (VOB>VOA) if the transmitter input receives a logic low level (DI=0). The receiver outputs a logic high level (RO=1) if the voltage on line A of the receiver is greater than the voltage on line B (VIA-VIB>200mV), and a logic low level (RO=0) if the voltage on line A of the receiver is higher than the voltage on line B.


3_20190116100411435


A driver that complies with the RS-485 standard can emit a differential signal that is no less than 1.5 volts (under a 54 ohm load), and a receiver that complies with the standard can detect input differential signals as low as 200 millivolts. Even with severely damaged cables and connectors, these two values offer enough headroom for highly dependable data transfers.


4_20190116113626675


(UL) Unit load


Depending on their load characteristics, the maximum number of drivers and receivers on the RS-485 bus may vary. In relation to the unit load, driver and receiver loads are measured. A gearbox bus may only have 32 unit loads linked to it, according to the 485 standard.

The unit load is specified as either a steady-state load of 0.8mA current in a -7V common-mode voltage environment or a load of 1mA current in a 12V common-mode voltage environment. When the transceiver is supplied with 1mA and the receiver's input impedance is 12 k, this can be regarded as a unit load. Some RS-485 receivers are rated for 1/4 or 1/8UL, allowing for the mounting of more connections. The following graph illustrates the relationship between receiver input impedance and UL:


Unit loadNodesMinimum receiver input impedance
1
3212KΩ
1/26424KΩ
1/412848KΩ
1/8256
96KΩ


Working style


There are two possible designs for the bus interface:


● RS-485 Half-duplex (Half-Duplex)

● RS-485 Full-duplex (Full-Duplex)


Data can only be transferred in one direction at a time in numerous half-duplex bus topologies, as indicated in the image below.


5_20190116145412713


The graphic below depicts the full-duplex bus configuration, which enables two-way simultaneous communication between master and slave nodes.


6_20190116145613970


Branch length and bus termination


The data transmission line must have an end point when the cable length is very long in order to prevent signal reflection, and the branch length should be as minimal as possible. The terminating resistor RT, whose value is the characteristic impedance Z0 of the transmission line, must be matched for proper termination. According to the RS-485 standard, the cable's Z0 should be 120. At each end of the cable, the cable trunks are typically terminated with 120 resistors. See the illustration below:


7_20190116170112176


Less than one-tenth of the driver's rising edge time should be the electrical length of the branch (wire distance between the transceiver and the cable trunk):


LStub ≤ tr * v * c/10


Maximum branch length (in feet) is LStub.

driver (10/90) tr rising edge time in nanoseconds

v is the ratio of the speed of light to the pace at which a signal moves along a wire (9.8 * 108 ft/s).

The impedance will be affected by signal transmission reflection if the branch length is too long. The waveforms of long branch length and short branch length are compared in the following figure:


8_20190116172943686


Cable Length and Data Rate


The only cables that can be utilised at high data rates are shorter ones. Low data rates allow the use of longer cables. The DC resistance of the cable limits the cable length for low-speed applications by increasing the voltage drop across the cable and reducing the noise margin. The AC effect of the cable limits the signal quality and cable length when using high-speed applications. A conservative curve for the variation in cable length and data rate is shown in the image below.

9_20190116173719517


Fail-Safe


The receiver outputs are in an indeterminate state while the bus is idle and no device is driving it. Random data is then transmitted across the UART as a result of this, which can result in erroneous start bits or framing issues. Pull-up and pull-down resistors can be installed on the bus for biassing in order to address this issue. For information on the precise size of the pull-up and pull-down resistors, as illustrated in the following picture, please refer to the RS-485 bias pull-up and pull-down resistor values:


10_20190117145757137


Following are the calculations for R1 and R2 (assuming RT=120):


R1=R2=R

VIA-VIB ≥ 200mV

VIA-VIB = RT*VCC / (2R+RT) = 200mV

if VCC = 5V,then R = 1440Ω

if VCC = 3V,then R = 960Ω


The system has a higher noise margin if the R value is lower (VIA-VIB>200mV). The pull-up and pull-down resistors will inevitably result in DC current bias, a higher Tx load, and fewer nodes. The graph below displays the bus state and differential input voltage:


11_20190117162124831


Receivers that truly fail-safe


Pull-up and pull-down resistors are no longer required because a new generation of RS-485 receivers has been modified to allow the differential input threshold voltage to be changed from 200 mV to -200 mV and -30 mV. When the bus is not in use, the receiver output is high (RO=1) and in an asserted condition when VIA-VIB=0 (higher than -30mV).


12_20190117163443491

13_20190117163533818


Isolation


Since RS-485 typically employs a lengthy link, the nodes on the bus will have slightly varied ground levels. Common mode interference will be overlaid on the transmission line when there is a significant ground potential difference. It is extremely risky to rely on the local ground as a current loop if the superimposed interfering signal exceeds the common mode range of the receiver input. To accomplish reliable long-distance transmission, it is best to use signal and power isolation. The isolated RS -485 chip wiring diagram for the ADI ADM2485 is shown in the illustration below:


14_20190117165914927


ESD defence


Large transient voltages can be produced in industrial settings by lightning strikes, power fluctuations, and electrostatic discharges, which can harm RS-485 transceivers. For RS-485 applications, the following ESD protection, EFT protection, and surge protection requirements are applicable:


IEC 61000-4-2 ESD protection

IEC 61000-4-4 EFT protection

IEC 61000-4-5 surge protection


A TVS diode or other external clamping device can be used to further increase the level of protection. In RS-485 applications, TVS clamps the bus voltage to the RS-485 transceiver's common-mode voltage range (-7 to 12 volts). RS-485Y applications are the exclusive focus of some TVS devices. A resistor RS (10-20) can be placed between the protected device and the input pin for further protection against larger power supply transients.


15_20190117172526248

16_20190117173317403


Articles you may also like

NE555 datasheet and Pinout, NE555 circuits generates square waves

Provide a detailed introduction to the Datasheet and features of NE555 circuits, as well as how to use NE555 circuits to generate square waves
Read More >

RS485 chip selection and instructions

Ⅰ. fundamental knowledge of RS485Industrial control, instruments, metres, multimedia networks, and mechatronics products have all benefited from the extensive use of RS-485 interface processors. There are increasingly more varieties of chips that are compatible with RS-485 interface. Every user faces the challenge of identifying the most appropriate interface device from a vast selection...
Read More >

Hall Effect Sensors & Switches

Discover how Hall Effect sensors and switches work, their key applications, and future innovations in automation, robotics, and electric vehicles. Learn how to choose the right sensor for your needs and explore the advantages of contactless sensing technology.
Read More >

IoT Connectivity - Wi-Fi HaLow Vs Zigbee

[An introduction] As the Internet of Things (IoT) continues to evolve, connected devices perform increasingly intelligent duties. It is becoming increasingly crucial for IoT developers to deploy long-range, low-power, and dependable networks in order to monitor a growing number of IoT devices.As the Internet of Things (IoT) continues to evolve, connected devices perform increasingl...
Read More >
Becky Boresen
Becky Boresen is a senior electronics engineer specializing in switching components such as transistors, capacitors and connectors. During her career, she has been involved in developing several electronic projects and has successfully driven several technological innovations. She is passionate about continually learning about the latest trends in electrical technology to stay competitive in the industry.
Related Parts
  • UPZ2W121MHD

    nichicon

    120µF 450V aluminum capacitor, 105°C rated, 7.5mm pitch, 2000h life, radial mount

  • 74LVC74AD,118

    nexperia-usa-inc

    IC FF D-TYPE DUAL 1BIT 14SO

  • SN74LVC1G14DBVR

    texas-instruments

    Single Schmitt-trigger inverter, 1.65 V to 5.5 V supply

  • PCM5102APWR

    texas-instruments

    IC DAC 16/24/32BIT SRL 20TSSOP

  • XC6SLX150-2FGG676I

    xilinx-inc

    IC FPGA 498 I/O 676FBGA

  • G5CA-1A DC12

    omron-electronics-inc-emc-div

    General Purpose Relays SPST-NO (1 Form A) 10 A 12VDC

  • LMT87DCKR

    texas-instruments

    SENSOR TEMP ANLG VOLT SC-70-5

  • HD6477034F20

    renesas-electronics-america

    MCU 32-bit SuperH RISC 64KB ROM 3.3V/5V PQFP-112

  • RX8025T-UC

    epson

    I²C SOP-14-208mil Real Time Clocks ROHS

Indice: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Newsletter
COPYRIGHT @ 2026 DYETHIN.COM ALL RIGHTS RESERVED