EDN Access

February 16, 1998


Termination techniques for high-speed buses

Karthik Ethirajan and John Nemec, PhD, California Micro Devices

Choosing the proper bus-termination technique--parallel, series, Thevenin, ac, or diode-based--is critical to digital-system performance. Improper termination can lead to ringing and stair-stepping, which in turn can cause false triggering and data errors.

As bus speeds continue to increase, system designers must seriously consider the issues of signal propagation and quality. Concerns previously relegated to the analog world, such as transmission-line effects, now determine whether a digital design will work at such high signal-transmission and edge rates. High-speed pc-board traces behave like transmission lines, and reflections occur at all points on the pc-board trace where impedance mismatches exist.

In a typical digital system, the output impedance of the driver is less than the characteristic impedance of the pc-board trace, which is in turn less than the input impedance of the receiver. Reflections translate into observable effects, such as ringing and stair-stepping. These distortions can produce or contribute to a number of problems: false triggering in clock lines; erroneous bits on data, address, and control lines; an increase in clock and signal jitter; and an increase in total emissions from the pc board. An effective way to reduce the above transmission-line effects is to properly terminate these lines.

Common passive-termination techniques include parallel, Thevenin, series, and ac terminations. Schott-ky-diode termination, which is an unconventional passive-termination technique, also provides some advantages. Familiarity with each technique's relative merits and demerits helps you choose the best technique or techniques for your board or system. Selection guides list recommended termination techniques for various common digital-system scenarios and for standards and specifications (Tables 1 and 2).

Parallel termination

04ms3031Parallel termination is the simplest termination technique: A resistor, R, connects the open, or load, end of the transmission line to ground or VCC (Figure 1). The value of R must match the characteristic impedance, Z0, of the line to eliminate reflections. If R matches Z0, the termination resistor absorbs the energy that causes the reflection, regardless of the value of the termination voltage (see box "Theory of terminations"). In digital logic, the sinking current is typically greater than the sourcing current. Terminating to VCC helps the driver's sourcing capability, and terminating to ground helps its sinking capability. Hence, terminating to VCC is better than terminating to ground, assuming a 50% duty cycle.

The advantages of parallel termination are that it offers simplicity of design and application and that it requires only one additional component, although you may ultimately use two resistors to terminate both ends of the line. The disadvantages of this technique are that dc power dissipates in the termination resistor, which is typically 50 to 150 ohms, and that constant dc current from the driver at high or low logic levels adds to the dc load of the driver. Also, parallel termination degrades the high-output level of the signal. Terminating TTL outputs to ground lowers the VOH level, which reduces the noise immunity at the receiver input.

Parallel termination also results in a lower signal slew rate with a capacitive load than does an unterminated line. The load capacitance and the resistance (parallel combination of termination resistance and Z0) add to the RC time constant of the signal, which rises to the driver's output voltage. Note that the voltage at the end of an unterminated line doubles and hence produces a faster slew rate. The effect of different termination techniques on the slew rate of the signal at the end of the line is the outcome of complex interactions between the transmission line and the RC delay involved.

When you use parallel termination, you should be aware that a line impedance of less than 100 ohms terminated with this scheme requires a dc output of 24 mA for TTL levels (VOH(MIN)=2.4V). For this reason, parallel termination is not recommended for a battery-driven system. Also, note that the termination resistor dissipates as much as 0.25W (50 mA through a 100 ohm resistor) of power, which a CMOS system that consumes only a few milliwatts of power can't accommodate. Also, remember that the power dissipation depends on the duty cycle: Connecting the resistor to ground results in the lowest power dissipation for low duty cycles, and terminating to VCC results in the lowest power dissipation for high duty cycles (Reference 1). In addition, a strong pulldown resistor might cause the falling edge to be faster than the rising edge, resulting in the distortion of the duty cycle of the signal (Reference 2).

Thevenin termination

04ms3032Thevenin, or dual, termination uses two resistors, R1 and R2 (Figure 2), whose parallel combination matches the Z0 of the line. The Thevenin voltage, VTH=VR2, must be such that the driver's IOH and IOL currents are within the driver's specifications (see box "Design rules for Thevenin termination"). R1 helps the driver to easily pull up to a logic-high state by sourcing some current to the load. Similarly, R2 helps the driver to pull down to a logic-low state by sinking some current to ground. Properly chosen values for R1 and R2 enhance the driver's fan-out and smooth the power-dissipation variations because of the change in duty cycles.

The advantages of Thevenin termination are that, in this scheme, the termination resistors also serve as pullup and pulldown resistors and thereby improve the noise margin of the system. Thevenin termination also reduces the burden on the driver by supplying additional current to the load. This additional current helps the driver especially in a large voltage-swing system, such as 5 and 3.3V CMOS- or Bi-CMOS-based systems. Also, this type of termination provides good overshoot suppression.

One disadvantage of Thevenin termination is that a constant flow of dc from VCC to ground, regardless of the logic state, results in static power dissipation in the termination resistors. This method also requires ratio resistors and additional power and ground connections. Also, a line voltage, which equals the Thevenin voltage on a tristated bus, close to the switching threshold voltage causes greater levels of power dissipation within CMOS logic devices. At a voltage close to the threshold, both NMOS and PMOS transistors are conducting, which results in a current path between VCC and ground. Thevenin termination also results in a lower signal slew rate with a capacitive load than does an unterminated line. The load capacitance and the resistance (parallel combination of Z0, R1, and R2) add to the RC time constant of the signal, which rises to the driver's output voltage.

Note that CMOS devices switch at 50% threshold. Hence, when using Thevenin termination for CMOS devices, equal values for R1 and R2 result in a line voltage of one-half the VCC. This situation occurs when a logic device does not drive the line. The result is greater levels of power dissipation within the receiver. The sum of this dissipation and the power dissipation in the termination resistors may be unacceptably high for CMOS logic devices (Reference 1).

The best applications for Thevenin termination are TTL circuits, especially advanced Schottky families, such as FAST (Reference 3). You can also use Thevenin termination to provide proper ECL termination from the ­5.2V supply and for TTL from a 5V supply.

Series termination

04ms3033Series termination, or back-matching, is a source-end termination unlike other types. A series termination comprises a resistor between the driver's output and the line (Figure 3). The sum of the output impedance of the driver, RD, and the resistor value, R, must equal Z0. With this type of termination, only one-half the signal value appears on the line because of the voltage division between the line and the combination of the series resistor and the driver's impedance.

At the receiving end, however, the mismatch between the line impedance and the receiver's typically high input impedance causes a reflection of approximately the same voltage magnitude as the incident signal. The receiving device immediately sees the full voltage (the sum of the incident and reflected voltages), and the added signal propagates to the driving end. However, no further reflections occur because the series resistor terminates the reflected wave at the driving end.

The advantages of series termination are that it adds only one resistor per driver for the system and that its termination resistor consumes less power than all the other resistive types of termination. Series termination also adds no dc load to the driver and offers no extra impedance from signal line to ground.

The disadvantages of series termination are that using this method makes it difficult to tune the value of the series resistance so that the received-signal amplitude (after the first reflection) falls within the switching threshold and noise budget. Also, most drivers are nonlinear; that is, the output impedance varies with the logic state of the device, further complicating tuning. Hence, it is difficult to select a crisp value for the series resistance by applying the simple design equation.

Another disadvantage of series termination is that the driving end of the transmission line does not see the full reinforced signal amplitude for as long as twice the propagation delay of the line. The diminished signal amplitude during this time reduces some of the receiver's noise immunity in a multidrop situation. Also, with series termination, the data setup time for digital signals of the receiver (part of its timing budget) must accommodate this propagation delay. Series termination also results in a lower signal slew rate with a capacitive load than does parallel termination. The load capacitance and the Z0 of the line add to the RC time constant of the signal, which rises to one-half the driv-er's output voltage.

The applications for series termination include CMOS-to-CMOS connections because series termination adds no impedance from signal line to ground (Reference 1). This termination also works well for advanced CMOS logic families, such as FACT and ECL. With FACT devices, the series-termination resistor adds to the output impedance of the driver. Thus, the driver dissipates less power than it does without the termination (Reference 3). Series termination also works well for systems with loads lumped at the end of the cable as opposed to a multidrop situation. In a multidrop situation, receivers on the line see the full amplitude of the signal at different times.

You can eliminate the disadvantages of higher propagation delay and usage with lumped loads only by using more transmission lines (Reference 4). If the driver has high fan-out, then you can connect many transmission lines--N, for example--to the driver's output. Each line then needs its own series termination according to the design equation. The net impedance at the output of the driver is (R+Z0)/N. This net impedance must be much larger than the internal impedance of the driver for the driver itself to function.

AC termination

04ms3034AC, or RC, termination comprises a resistor, R, and a capacitor, C, that connect to the load end of the transmission line (Figure 4). The value of R must match the Z0 of the line to eliminate reflection. Choosing the capacitor value is intricate, because a small value results in a smaller RC time constant, and the resulting RC circuit acts as an edge generator, causing overshoot and undershoot. On the other hand, a large capacitor value increases power consumption. As a rule, the RC time constant must be greater than twice the loaded propagation delay of the line (Figure 4 and Reference 5). Power dissipation in the termination components is a function of the frequency, duty cycle, and bit pattern of the previous data. These factors affect the charging and discharging of the termination capacitor and hence affect power dissipation.

The advantages of ac termination are that the termination capacitor blocks dc and hence saves considerable power and that an appropriate choice of the capacitor value results in the waveform at the load end that's nearly an ideal square wave with minimal overshoot or undershoot.

One disadvantage of ac termination is that the data on the line may exhibit time jitter, depending on the previous data pattern. For example, a long string of like bits causes the line and capacitor to charge to the maximum level of the driver's output voltage. Then, a subsequent data bit of the opposite polarity takes longer than normal to cross the receiver threshold because the voltage at the receiver starts from a greater potential. The timing budget must include this increased time to guarantee system operation (Reference 3).

When using ac termination, note that the standard RS-422 interface protocol does not recommend ac termination, because the drivers' typical 100 ohm source impedance can introduce output jitter. Also, current-mode drivers do not use ac termination (Reference 3).

Schottky-diode termination

04ms3035Schottky-diode, or diode, termination comprises two Schottky diodes and their connections (Figure 5). Any reflection at the end of the transmission line, which causes the voltage at the input of the receiver to rise above VCC plus the forward-bias voltage of the diode, forward-biases the diode that connects to VCC. The diode turns on and clamps the overshoot to VCC plus the threshold voltage.

Similarly, the diode that connects to ground limits undershoot to its forward-bias voltage. However, the diodes absorb no energy and merely divert it to either the power or ground plane. As a result, multiple reflections occur on the line. The reflections gradually subside, principally because of the loss of energy via the diodes to VCC or ground and the resistive losses of the line. These losses limit the amplitude of the reflections to maintain signal integrity.

Three characteristics of a diode have a profound effect on its performance as a termination device. Higher turn-on time, tON, results in undershoot. Higher forward-bias voltage, VF, causes time jitter. Higher reverse-recovery time, trr, increases the rise time, tr, of the signal. Thus, you can preserve signal integrity by using a diode that has a small tON, VF, and trr as a termination device. A Schottky diode possesses these characteristics.

One advantage of diode termination is that, unlike a classic termination scheme, Schottky-diode termination requires no matching. Hence, you can use this technique to terminate a line of unknown Z0. If the load that  connects to the transmission line is capacitive, then it effectively reduces Z0. Variations in Z0 do not affect the termination. Also, the power dissipated in the dynamic on-resistance of the Schott-ky diode is much smaller than the power dissipation of any resistive-termination technique. In fact, the reflection power partially feeds back to the source through the forward-biased diodes. Also, you can place Schottky diodes at any point along the line where reflections may originate.

The one disadvantage of diode termination is that the existence of multiple reflections can affect subsequent signal launches. Hence, you need to verify diode response at the switching frequency. To reap the benefits of this termination scheme, you must choose a Schottky diode that has small tON, VF, and trr.

Schottky-diode termination works well in a multidrop situation in which some of the receivers on the line can also drive the line. Hence, application of transmission-line theory to arrive at a conventional termination in such situations becomes highly complicated. Simulations prove that terminating at multiple points--preferably at points of discontinuity, or stubs--yields a uniformly improved signal integrity over the length of the bus.

One general point applies to all of these termination schemes: The effective Z0 of a transmission line decreases because of layout procedures and loading in a multidrop situation (Reference 5). The actual loaded characteristic impedance, Z0', is now as follows:

where C0 is the intrinsic capacitance of the trace, and CD is the distributed capacitance of the receiving devices (the total load capacitance divided by the trace length). Typically, sockets add 2 pF to CD, and vias add 0.3 to 0.8 pF to CD. Hence, a distributed capacitive load on a line reduces the characteristic impedance. This correction factor for Z0 applies to all termination schemes, depending on the overall system architecture.

04q3031


References

  1. Pace, C, "Terminate bus lines to avoid overshoot and ringing," EDN, Sept 17, 1987, pg 227.

  2. "Advanced High-Speed CMOS (AHC) Logic Family," Texas Instruments, Document SCAA034A, June 1997.

  3. Royle, D, "Correct signal faults by implementing line-analysis theory," EDN, June 23, 1988, pg 143.

  4. Blood, William R, "MECL system design hand book," Motorola Inc.

  5. "Transmission line effects in PCB applications," Motorola Semiconductor Application Note, Document AN1051/D, 1990.

  6. ANSI/IEEE Standard 488, IEEE Inc, New York, NY, 1978.

  7. Goldie, J, "An introduction to the differential SCSI interface," National Semiconductor Corp, AN-904, August 1993.

  8. "GTL/BTL: A low swing solution for high speed digital logic," Texas Instruments, SCEA003A, March 1997.

  9. HSTL, EIA/JESD8-6 Standard, EIA, August 1995.

  10. Huq, S, "An overview of LVDS technology," National Semiconductor, AN-971.

  11. IEEE Standard 1284, ANSI, December 1994.

  12. "Introduction to termination for high-speed bus applications," California Micro Devices Data Book, pg 9-1, Document AP-201, August 1996.

  13. Nemec, J, "The dynamics of AC termination," California Micro Devices Data Book, pg 1, Document ST-103, November 1996.

  14. "Pentium Pro processor GTL+ guidelines," Intel, AP-524, March 1996.

  15. "SCSI Termination," Apple Inc, Technote DV 15, August 1990.

  16. True, K, "Reflections: Computations and waveforms," National Semiconductor Corp, AN-807, 1996.

  17. USB Specification, Revision 1.0, January 1996.

  18. Vu, M, "Choose termination and topology to maximize signal integrity and timing," EDN, Oct 24, 1996, pg 95.

  19. "What is Futurebus+?," National Semiconductor Corp, AN-1036, January 1996, pg 95.

  20. Yamada, M, and Y Konishi, "Trend of high speed I/O interface," Mitsubishi Electric Co, ULSI Laboratory, Technical Report of IEICE, ICD95-31(1995-05).


Theory of terminations

04m3031aLemma: No reflection will exist on a transmission line provided that the termination resistor, connected at the end of the line to any arbitrary termination voltage, matches the characteristic impedance of the line, Z0 (Figure A). 04m3031bFigures B and C show the Thevenin and Norton equivalent circuits of Figure A's parallel termination, respectively, where

Vi, Ii=incident voltage, current;
04m3031cVr, Ir=reflected voltage, current;
VT=termination voltage;
RT=termination resistor; and        
Il=current through RT.   

04q3031a (A)

04q3031b (B)

Proof: From the Thevenin equivalent circuit,

04q3031c   (C)

From the Norton equivalent circuit,

04q3031d   (D)

and

04q3031e   (E)

Adding Equations A and D produces

 04q3031f (F)

and

04q3031g (G)

  Subtracting Equation D from Equation A produces

04q3031h   (H)

Substituting Equation G into Equation H produces

 04q3031i   (I)

and

04q3031j   (J)

From Equation J, the magnitude of the reflected voltage is independent of the termination voltage. In addition, if RT=Z0 (perfectly matched), then Vr=0; hence, the proof.

Design rules for Thevenin termination

04m3032aIn Thevenin termination, the parallel combination of Thevenin resistors R1 and R2 matches the characteristic impedance, Z0, of the transmission line (Figure A). The values for R1 and R2 are based on the asymmetric characteristic of the driver during high and low  levels of the logic, given that,

 04q3032a (A)

Applying voltage division between R1 and R2 from the   above circuit results in 04q3032b (B)

Then, from Equations A and B,

 04q3032c (C)

and

 04q3032d(D)

  From Equation A,

 04q3032e(E)

Substituting Equation D into Equation E produces

04q3032f   (F)

and

 04q3032g (G)

Equations D and G give the values of R1 and R2, respectively. The Thevenin voltage, VTH, is an unknown in these equations, and you can calculate VTH from the driver specifications. 

04m3032bTo determine the Thevenin voltage, you can draw a  Thevenin-equivalent circuit (Figure B) to the circuit in Figure A, where IOH(MAX) is also the sourcing current. Now,

04q3032h(H)

and

04q3032i (I)

You can obtain VOH(MIN) and IOH(MAX) from the driver's data sheet. By careful observation, you can infer that during logic- high state, the Thevenin resistor, R1, performs pullup action by supplying current to the load. This current added with the driver's sourcing current is just enough to maintain the voltage at the output of the driver at the minimum threshold-logic voltage, VOH(MIN). Designing VTH in this way minimizes power dissipation in R1 and R2.

During a logic-low state, R2 sinks any excess current (any current greater than ISINK(MAX) or IOL(MAX)) from the load to the ground. Because sourcing is a bigger problem than sinking, you design VTH based on a logic-high state. Hence, R2 may not be an optimum value for sinking or pulldown action. Nevertheless, using Equation G to calculate R2 helps the driver to sink current during a logic-low state.

For digital devices, design VTH to be at either logic-high or -low state. Now, if a driver's output is tristated, the line is pulled either to a high or low state (depending on VTH) rather than oscillating around the threshold voltage of the receiver end.


 

04M303KE

04M303JN

Authors' biographies

Karthik Ethirajan is an application engineer at California Micro Devices (Milpitas, CA), where he has worked for one year. In his current position, Ethirajan interacts with customers and engineers to design new products and develop application notes. He has an MSEE from Western Michigan University (Kalamazoo, MI) and a BSEE from Anna University (India). In his spare time, Ethirajan enjoys swimming and jogging.

John Nemec is director of applications at California Micro Devices (Milpitas, CA), where he has worked for three years. While at the company, he has helped to develop terminations, filters, charge pumps, and drivers. Nemec has a PhD from the University of Houston and an MSEE and a BSEE from the University of Arizona (Tucson, AZ). In his spare time, Nemec enjoys swimming and travel.


| EDN Access | Feedback | Table of Contents |


Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc.