Interfacing High-Speed Signals
IntroductionThe purpose of this article is not to derive the transmission line equations that show why the results of the following case studies occur, but to assume and utilize them where necessary. This article applies transmission-line theories in real cases, shows the results that can occur, and recommends solutions to avoid common pitfalls. A typical high-speed path, in its basic form, is shown in Figure 1. The types of problems that can occur in high-speed signal paths are:
- Unwanted oscillations
- Ringing of the waveform
- Overshoot and undershoot
- Unwanted edge effects on the rising and falling edges of a waveform
Figure 1. Simple high-speed transmission line.
Figure 1 illustrates a circuit whose source and load impedances are resistive. For the following case studies, we shall keep them resistive in order to keep the analysis simple. The characteristic impedance of the transmission line is normally defined as ZO. In an ideal world, RS = ZO = RL. For these same case studies, we use an impedance of 50Ω. Any impedance can be used in the analysis with similar outcomes.
Basic Transmission-Line TheoryThere are two basic simplified circuits for transmission lines.
- Lossless Transmission Line
Figure 2 shows a lossless transmission line. It is lossless, because there are no resistive elements that create losses.
Figure 2. Lossless transmission line.
There are four impedances that define lossless and lossy transmission lines.
- L = characteristic inductance per unit length
- C = characteristic capacitance per unit length
- R = characteristic resistance per unit length
- G = characteristic conductance per unit length
- Lossy Transmission Line
If R << jωL and G << jωC, then we can ignore the lossy terms of R and G. This is the assumption that is made in Figure 3 and, hence, we only need to refer to Figure 2.
Figure 3. Lossy transmission line.
- Characteristic impedance (ZO), where:
; Note: This is a real number.
- Propagation time (τ), where:
Typical Line ImpedancesTable 1 gives some typical impedances and propagation delays for some common wire setups.
Table 1. Typical Characteristics of Line Impedances
|Type of Line||ZO (Ω)||L (nH/in)||C (pF/in)||τ (ns/ft)|
|Single wire, well above ground||575||50.8||0.152||1.05|
|Micro-strip on FR4 board
Transmission ReflectionsNow we want to investigate the effects of this signal path on our signal fidelity by looking at three fundamental impedances.
- RS = Source impedance of our driving source. This can vary depending on the application. RS can be 50Ω for some applications and 75Ω for others; if it is driven directly from buffers that have feedback paths, it could be in the tens of ohms or lower. They also can be of the order of kilohms when the outputs come from CMOS buffers.
- ZO = Impedance of the signal path or transmission line. This signal path can also vary, depending on whether we choose a single wire, a coaxial, micro-strip, or strip-line. The signal path also has another parameter that is of great importance, which is the time it takes the signal to travel the full path (τ).
- RL = Load. This is our load. It is resistive in the following case studies, and it can vary depending on the application.
Figure 4. Test schematic.
There are two reflections that can occur in a setup like the one in Figure 4. One of these is the source-reflection coefficient (SRC) or interaction of RS with ZO, and the second is the load-reflection coefficient (LRC) or interaction of ZO with RL. Each of these reflection coefficients represents the fraction of the voltage that is reflected and is defined as follows:
Case StudiesThe following four case studies refer to the setup in Figure 4. The only parameters that change are RS, ZO, and RL.
Case 1 (RS = 0Ω, RL = ∞, ZO = 50Ω, τ = 2.5ns)A real-life example of a case with specifications close to these is a low-impedance buffer driving an ECL input.
The generator in Figure 4 supplies a stepped pulse of amplitude 1V and a rise time (tr) of 500ps. The simulated plot of VOUT with the above impedances is shown in Figure 5.
Figure 5. RS = 0Ω, RL = ∞, ZO = 50Ω, τ = 2.5ns.
The problem that occurs with this setup is a full oscillation at the output node VOUT. This case is somewhat unrealistic, as we normally would not drive a transmission line with zero impedance, nor have a load that is infinite. However, it serves the purpose of dramatically showing the problems that will begin to occur if impedances similar to these are being used.
Case 2 (RS = 10Ω, RL = 10kΩ, ZO = 50Ω, τ = 2.5ns)Case 2 is a little more realistic in that it shows the use of a low-impedance buffer, 10Ω in this case, driving a 50Ω transmission line with a high-impedance load. The results are shown in Figure 6. As can be seen in the plot, the well-known problem of ringing is observed on the output node, VOUT; the ringing finally subsides.
Figure 6. RS = 10Ω, RL = 10kΩ, ZO = 50Ω, τ = 2.5ns.
Case 3 (RS = 30Ω, RL = 500Ω, ZO = 50Ω, τ = 2.5ns)Case 3 is very similar to some typical setups. Here, the input buffer has an impedance of 30Ω, the transmission line is 50Ω, and the load is 500Ω. It is still the same test setup as in Cases 1 and 2, but the oscillations and/or ringing are dampened considerably. What we see in the Figure 7 plot is the classic overshoot and undershoot of the output waveform at the VOUT node.
Figure 7. RS = 30Ω, RL = 500Ω, ZO = 50Ω, τ = 2.5ns.
Case 4 (RS = 50Ω, RL = 50Ω, ZO = 50Ω, τ = 2.5ns)Finally, Case 4 illustrates the idea of matching the input to the transmission line and also matching the transmission line to the output. Figure 8 shows the desired waveform that we expect at the VOUT node. There are no oscillations, ringing, or overshoots.
Figure 8. RS = 50Ω, RL = 50Ω, ZO = 50Ω, τ = 2.5ns.
Discussion of Case Results
- The four cases discussed represent a simple subset of many possible cases that can create problems similar to that seen above. It is obvious that we should match the source, transmission line, and the load for the best results. However, matching these can be more difficult than the above cases suggest. Some of the areas that need to be looked at carefully are:
a. Source This source needs to have its impedance matched as well as possible over a large bandwidth, and this is not always feasible. Also, our source could already have artifacts on its edges such as ringing, overshoots, undershoots, drooping, and so on that further complicate the matching.
b. Transmission Line This line is usually a printed circuit board (PCB) trace, long coaxial cable, simple wire, or twisted-pair cable. The modeling of this path is not always as simple as having impedances of 50Ω. It can have a complex distribution of impedances, and can be further complicated by the actual geometry of the trace itself.
c. Load The load is not always a simple resistive load. This load has more complex impedances attached to it, which also need to be considered. The addition of connectors further complicates the load.
- Not matching the source, signal path, and load carefully can lead to problems from full oscillations, or bad ringing effects, at the output. These problems are shown very clearly in Figures 5, 6, and 7.
- The four cases also show that we can reduce or eliminate the ringing problem that was highlighted. For these cases, it was effective to simply add more impedance to the output of the low impedance source to increase its output impedance, making it closer to the desired impedances of 50Ω. Terminating the high impedance load was also effective for obtaining impedances of 50Ω.
- It is important to realize that ringing and artifacts on the pulse edges can modify waveforms, which can greatly affect system performance. These artifacts, in particular, can cause incorrect triggering if applied to the inputs of comparators. The artifacts can also increase delays in the signal path. Optimizing the signal path helps to reduce these unwanted effects.
Analyzing and Verifying the Results
Bounce DiagramTheoretically, you can draw out what is commonly known as a "bounce" diagram to verify the above results for all the cases above. This is a useful exercise to get a better understanding of how these signals appear at the output. Using bounce diagrams can be useful, but require quite a bit of time and can be very difficult to use once we make the circuit more complex. The easiest approach is the SPICE approach suggested in the following Simulation section. The four cases were simulated using one of the many SPICE simulators.
SimulationThe fastest approach to optimizing a signal path is the use of a SPICE type of simulator. The circuit can be as simple as that shown in Figure 4. It is important to keep the following points in mind.
- Use an accurate model of the source, as depicted in Figure 4. Only the output section of the source needs to be modeled. This model should show the series resistance, series inductance, and shunt capacitance.
- The transmission line depicted in Figure 4, whether it be a PCB trace, coaxial cable, twisted pair cable, etc., also need to be accurately modeled.
- Finally, the Figure 4 load must also be modeled precisely to reflect the resistance, inductance, and shunt capacitance.
SummaryIt can easily be seen that signal degradation occurs when we fail to carefully match the entire signal path of the source, transmission line, and load. This has been demonstrated in the four cases discussed above. If we do not achieve this matching, then we can expect unforeseen errors. It is also shown that the use of a SPICE type of simulator, with its simplified modeling approach, can show the problems quickly. With this information, solutions can be designed and verified rapidly as well.
As frequencies get higher and higher, it becomes very apparent that a great deal of effort must be placed on modeling and simulating the entire signal path. This will ensure the most accurate and predictable results.