SLLA595C march 2023 – june 2023 THVD1424 , THVD1454
Figure 1-1 and Figure 1-2 illustrate typical RS-485 networks in either half-duplex or full-duplex configurations, respectively. In these topologies, the participating drivers, receivers, and transceivers connect to a main cable trunk via network stubs. A stub is the electrical distance between a transceiver and cable trunk, and essentially represents a non-terminated piece of bus line.
The full-duplex implementation requires two signal pairs (four wires), and full-duplex transceivers with separate bus access lines for transmitter and receiver. Full-duplex network allows a node to simultaneously transmit data on one pair while receiving data on the other pair- thus achieving high effective throughput. In half-duplex network, only one signal pair is used, requiring the driving and receiving of data to occur at different times. This configuration reduces the network cabling cost (compared to full-duplex network) at the expense of reduced throughput.
Most RS-485 transceivers available in the market are either half-duplex or full-duplex, meaning devices are in different pinout and packages. This is the first problem for system designers to select different devices for their half-duplex and full-duplex design platforms.
Electrical signal travels in the copper cable (physical medium) from the driver to all receivers on the network. While driving the network, the driver (TX) output impedance is low, whereas the receiver’s (RX) input impedance is typically in kiloohms (kΩ). As shown in image below, every time the signal encounters impedance mismatch such as stubs of the middle nodes (at points A and B) or receiver input terminals (at Node n), some amount of signal is reflected back which interferes with the signal on the bus degrading the signal quality. Reflection factor ( r ) is given by Equation 1.
where Zt is the terminating impedance and Zo is the cable characteristic impedance
As per the transmission line theory, it is vital that the impedance mismatch discontinuities are limited to minimize reflections. To achieve this, recommended design practice is to keep stub lengths to a minimum and terminate the farthest node. If the signal can travel in both directions, both far ends of the network need to be properly terminated.
Bus termination is an effective method to improve signal quality. As shown Figure 1-1 and Figure 1-2, typically both end nodes are terminated with termination resistors whose value matches to the characteristic impedance of the transmission cable. In certain applications such as in building automation (HVAC, Thermostats, and so on), nodes can be added or removed from the RS-485 network to reconfigure it. This leads to second and third problem for system designers- application boards for end nodes have to be designed differently than the middle nodes, and a technician needs to manually intervene to re-configure the termination in network, which is prone to human errors such as inverting the polarity of the cable, improper termination, and so on.