High Speed Low Power RS485 Transceivers with Integrated Switchable Termination by Ray Schuler and Steven Tanghe Introduction The

DESIGN FEATURES L High Speed Low Power RS485 RS485 Transceivers with Integrated Switchable Termination by Ray Schuler and Steven Tanghe Introduction The LTC2859 LTC2859 and LTC2861 LTC2861 combine a logic-selectable integrated termination resistor with a rugged 20Mbps RS485/RS422 RS485/RS422 transceiver, providing a single die impedance-matched network solution in a tiny package. The low power driver features logicselectable reduced-slew rate mode for operation below 250kbps with low EMI emissions. The 1/8-unit load receiver provides a failsafe output over the full RS485 RS485 common mode range for up to 256 nodes. Both receiver inputs and driver outputs feature robust ESD protection exceeding ±15kV. The half duplex LTC2859 LTC2859 is available in a 3mm × 3mm DFN, while the full duplex LTC2861 LTC2861 is available in both 4mm × 3mm DFN and 16-pin SSOP packages (see photo in Figure 1). Block diagrams for the LTC2859 LTC2859 and LTC2861 LTC2861 are shown in Figure 2. Figure 1. Photograph of the LTC2861 LTC2861 SSOP, LTC2861 LTC2861 4mm × 3mm DFN, and LTC2959 LTC2959 3mm × 3mm DFN packages the data. The termination usually consists of discrete resistors that have the RE DE A 15kV SLEEP/SHUTDOWN LOGIC AND DELAY LTC2859 LTC2859 RO 120 DE RO DI B 15kV Z 15kV DI DI DRIVER DRIVER Y 15kV Figure 2. Block diagrams of the LTC2859 LTC2859 and LTC2861 LTC2861. LTC2859 LTC2859 R SLO RECEIVER SLO LTC2859 LTC2859 120 120 NODE 1 120 B 15kV LTC2859 LTC2859 D A 15kV SLEEP/SHUTDOWN LOGIC AND DELAY TE RECEIVER 120 DE RE TE RS485 RS485 transceivers typically communicate over twisted-pair cables with characteristic impedance ranging from 100 to 120. Proper termination of the cable is important to minimize reflections that can otherwise corrupt RO RE TE LTC2861 LTC2861 LTC2859 LTC2859 SLO Switchable Termination R same resistance as the characteristic impedance of the cable, connected differentially across the cable at both ends. When using LTC2859/LTC2861 LTC2859/LTC2861 transceivers, however, no external resistors are necessary. These devices have an integrated 120 resistor on the receiver inputs that can be enabled logically to terminate the cable where needed. Figure 3 shows an example of a properly connected network using LTC2859 LTC2859 transceivers with integrated termination resistors enabled on the two end devices. Short connection to R D RO RE TE DE NODE 2 DI SLO 120 R D RO RE TE DE NODE 3 DI SLO D RO RE TE DE DI SLO NODE 4 Figure 3. A properly connected RS485 RS485 network using LTC2859 LTC2859 transceivers with selectable terminators. Linear Technology Magazine · June 2006 27 L DESIGN FEATURES 1V/DIV 1V/DIV TE1 = 5V TE2 = 0V TE3 = 0V TE4 = 5V 400ns/DIV 1V/DIV TE1 = 5V TE2 = 5V TE3 = 0V TE4 = 0V (a) 400ns/DIV TE1 = 5V TE2 = 0V TE3 = 5V TE4 = 0V (b) 400ns/DIV (c) Figure 4. Differential received signals at node 4 from network in Figure 3. properly terminated with termination at nodes 1 and 4 (a). Improperly terminated with termination at nodes 1 and 2 (b), and nodes 1 and 3 (c) 150 135 140 130 120 140 115 110 MAGNITUDE () RESISTANCE () 120 130 PHASE 80 60 ­15 ­20 20 100 0 20 40 60 80 TEMPERATURE (°C) 100 120 (a) 110 ­10 ­10 40 120 105 ­5 100 ­5 5 10 0 COMMON MODE VOLTAGE (V) 15 (b) PHASE (DEGREES) RESISTANCE () 125 95 ­40 ­20 0 MAGNITUDE 0 0.1 1 10 FREQUENCY (MHz) ­25 100 (c) Figure 5. LTC2859 LTC2859 termination resistance vs temperature (a), common mode voltage (b), and frequency (c) the intermediate stages along the cable should be maintained as these stubs will produce unwanted reflections. To illustrate the importance of proper termination placement in an RS485 RS485 system, consider the network of Figure 3 where four LTC2859 LTC2859 transceivers are spaced equidistantly along three hundred feet of cat5e cable. Signals are driven from node 1 and received at node 4. The integrated termination resistors in the LTC2859 LTC2859 devices are switched in or out at various locations along the cable to illustrate the effect of termination placement on the received waveforms. No external resistors are used. With proper resistive termination applied at the ends of the line (nodes 1 and 4) the received waveform has clean transitions, as shown in Figure 4a. If the end resistive termination is moved from node 4 to nodes 2 or 3, the waveforms of figures 4b and 4c result, respectively. It is clear that placement of termination resistors 28 can have a large impact on the signal integrity. The termination resistor in the LTC2859 LTC2859 and LTC2861 LTC2861 is enabled by pulling the termination enable (TE) pin high. The resistor is disconnected when the termination enable is pulled to a logic low or the device is unpowered. Figures 5 (a), (b), and (c) show the resistance is maintained well over temperature, common mode voltage, and frequency. The inclusion of a selectable 120 resistive termination on the LTC2859 LTC2859 and LTC2861 LTC2861 is a significant advantage over other RS485 RS485 transceivers. When modifications or additions are made to an RS485 RS485 network, the required termination changes can be made by logical control of the termination enable pin on the desired transceiver. This can be done through the use of a simple jumper or through higher level system control where manual intervention is prohibitive. A valuable benefit is that every node in the network is capable of providing termination without the use of external resistors, making network re-configuration more manageable. Controller based configuration of a network with the aid of switchable termination can be extended beyond simple network additions and reductions to include fault protection as well. RS485 RS485 networks supporting bus lengths up to 4000 feet are at risk of breaks or disconnects in the cabling that can interrupt service. Figure 6 shows a dual-master controlled ring network making use of the LTC2859 LTC2859 logic-controlled termination to protect against such open cable faults. When a break in a network is detected, through loss of response from one or more nodes, the master controller enters a low data rate mode. Even though the break imposes a severe impedance mismatch, low data rate communication is still possible up to the point of the break (as a rule of thumb, communication without termination is possible if the two-way Linear Technology Magazine · June 2006 DESIGN FEATURES L RO RE TE DE DI RO RE TE SLO D R DE RO RE TE SLO DI D R D 120 LTC2859 LTC2859 LTC2859 LTC2859 LTC2859 LTC2859 SLO DI R 120 120 DE LTC2859 LTC2859 RO R RE TE DE DI D 120 SLO LTC2859 LTC2859 LTC2859 LTC2859 R RO RE TE R D DE LTC2859 LTC2859 120 120 DI RO RE TE SLO RO 120 R D DE DI SLO RO RE TE D DE DI SLO XOR DI Figure 6. Line break-tolerant RS485 RS485 topology cable propagation delay is less than 10% of the bit time). Each sequentially addressed transceiver on the network is polled by the masters to determine where the break has occurred. If the network is constructed of LTC2859 LTC2859 and LTC2861 LTC2861 transceivers with selectable termination, the masters can instruct the two nodes on either side of the line break to enable termination resistance. The two master controllers may now access each node of the bus at high data rates until physical repairs have been made. An XOR of the RO pin from each transceiver on the master controller can optionally Linear Technology Magazine · June 2006 reduce the I/O pin count to the micro controller. Driver The LTC2859/LTC2861 LTC2859/LTC2861 drivers can deliver RS485/RS422 RS485/RS422 signals up to 20Mbps. Figure 7 shows waveforms of the part operating at the maximum data rate. The LTC2859/LTC2861 LTC2859/LTC2861 also feature a reduced-slew rate mode (SLO mode), which is entered by setting the SLO pin to a logic low level. SLO mode increases the driver transition time to reduce high frequency EMI emissions from equipment and cables. In this mode the driver data rate is limited to about 250kbps. Slew limiting also mitigates the adverse affects of improper line termination and long stubs. continued on page 32 DI Z Y 2V/DIV Y­Z 20ns/DIV Figure 7. Driver outputs toggling at the maximum data rate of 20Mbps 29 L DESIGN FEATURES be seen in Figure 6. Once regulation is achieved the part disables the output load thus keeping supply current low. The transient scope photo also shows that the LTC3026 LTC3026 has excellent load regulation. The LTC3026 LTC3026 is designed to be stable with a wide range of ceramic output capacitors as small as 10µF. Conclusion The LTC3026 LTC3026 is an excellent choice for low voltage applications where efficient, low noise supplies are required. The exceptional ripple rejection and very low dropout of the LTC3026 LTC3026 makes it especially well suited as a post regulator for switching supplies. L for the latest information on LTC products, visit www.linear.com LTC2859 LTC2859, continued from page 29 Figure 8 shows single-ended and differential driver outputs in normal and SLO mode with corresponding frequency spectrums operating at 250kbps. SLO mode significantly reduces the high frequency harmonics. The LTC2859 LTC2859 and LTC2861 LTC2861 drivers feature current limiting that protects them from faults such as shorting the outputs to the power supply or ground. Short circuit current is limited to below the ±250mA RS485 RS485 standard, with typical clamp currents of ±150mA. If fault voltages are greater than approximately ±10V, currents are reduced further to limit power dissipation. The LTC2859 LTC2859 and LTC2861 LTC2861 also feature thermal shutdown protection, disabling the part if a fault condition causes it to overheat. Figure 9 shows the driver output I-V characteristic when driven by a curve tracer. Overcurrent protection engages on the positive and negative sweeps limiting the driver output current. X, Z Y­Z 10dB/DIV Y­Z 1.25MHz/DIV FREQUENCY SPECTRUM OF SAME SIGNAL NORMAL MODE DRIVER OUTPUT AT 125kHz INTO 100 RESISTOR X, Z Y­Z 10dB/DIV Y­Z SLO MODE DRIVER OUTPUT AT 125kHz INTO 100 RESISTOR 1.25MHz/DIV FREQUENCY SPECTRUM OF SAME SIGNAL Figure 8. Time and frequency domain waveforms of the LTC2859 LTC2859 driver output in normal and reduced-EMI SLO mode Receiver The LTC2859 LTC2859 features a low power receiver using just 540µA of current (typical). The LTC2859/LTC2861 LTC2859/LTC2861 failsafe feature guarantees the receiver output to be a logic HIGH state when the inputs are shorted, open, or terminated, but not driven for more than about 3µs. The delay prevents signal zero crossings from being interpreted as a shorted input and causing RO to go inadvertently high. This failsafe feature is guaranteed to work for inputs spanning the entire common mode range of ­7V to +12V. The receiver output is internally driven high (to VCC) or low (to ground) with no external pull-up needed. The RO pin of the disabled receiver becomes high impedance with leakage 32 50mA/DIV 50mA/DIV DE = 5V DI = 0V 5V/DIV (a) DE = 5V DI = 5V 5V/DIV (b) Figure 9. Curve traced I-V characteristic of the LTC2861 LTC2861 driver output showing current limiting. (a) Pin is driven low by the LTC2861 LTC2861 driver. (b) Pin is driven high by the LTC2861 LTC2861 driver of less than ±1µA for voltages within the supply range. Conclusion Improperly terminated RS485 RS485 cabling can severely distort signals leading to losses in data integrity. Correcting network termination without logic- selectable termination often requires physical inspection of expansive networks. The inclusion of selectable termination resistance on the rugged LTC2859 LTC2859 and LTC2861 LTC2861 provide complete solutions to RS485 RS485 networking with next-generation remote network tuning capability. L Linear Technology Magazine · June 2006