TExcelTAD
Home › Electromagnetic Theory: Maxwell's Equations to Waves › Transients on Lines and Bounce Diagrams

Transients on Lines and Bounce Diagrams

A logic gate switches in a nanosecond; a 15 cm15\ \text{cm} trace on FR-4 delays its edge by about the same. The far end of that trace does not see a clean step: it sees a staircase or a ring, the sum of waves bouncing between a mismatched driver and load. Sinusoidal analysis (Reflection Coefficient, Standing Waves and VSWR) describes the steady state at one frequency; digital edges, pulses and switch-on events need the time-domain picture. This lesson builds it from two reflection coefficients, draws the bounce (lattice) diagram, checks it with ngspice's lossless line element and the ee-transmission-line lab, and finishes with a capacitive load and the time-domain reflectometer.

What happens when a step is launched

A source VsV_s with internal resistance RsR_s switches on at t=0t = 0 into a lossless line of characteristic impedance Z0Z_0 and one-way delay TD=ℓ/vpT_D = \ell/v_p, terminated in RLR_L (The Distributed Line). At first the source cannot know what is at the far end; it sees only the line's Z0Z_0, so it launches a wave set by a voltage divider:

V1=VsZ0Rs+Z0,ΓL=RL−Z0RL+Z0,ΓS=Rs−Z0Rs+Z0V_1 = V_s\frac{Z_0}{R_s + Z_0}, \qquad \Gamma_L = \frac{R_L - Z_0}{R_L + Z_0}, \qquad \Gamma_S = \frac{R_s - Z_0}{R_s + Z_0}

At t=TDt = T_D the wave reaches the load, and a reflected wave ΓLV1\Gamma_L V_1 starts back. At 2TD2T_D it reaches the source, where ΓSΓLV1\Gamma_S\Gamma_L V_1 is sent forward again, and so on. The voltage at any point is the sum of all waves that have passed it. The total at the load after many round trips is a geometric series,

V∞=V1(1+ΓL)(1+ΓSΓL+(ΓSΓL)2+… )=V11+ΓL1−ΓSΓL=VsRLRs+RLV_\infty = V_1(1 + \Gamma_L)\left(1 + \Gamma_S\Gamma_L + (\Gamma_S\Gamma_L)^2 + \dots\right) = V_1\frac{1 + \Gamma_L}{1 - \Gamma_S\Gamma_L} = V_s\frac{R_L}{R_s + R_L}

which is the DC divider, as it must be. The line only changes how the final value is reached: monotonically when ΓSΓL>0\Gamma_S\Gamma_L > 0, with alternating overshoot and undershoot when ΓSΓL<0\Gamma_S\Gamma_L < 0.

sourceload GammaS = -1/3GammaL = +0.5 +3.333 V +1.667 V -0.556 V -0.278 V 0TD2 TD3 TD4 TD 3.333 V4.444 V4.259 V 5.000 V4.167 V final 4.286 V

Worked example: a 25 Ohm driver into a 150 Ohm load

Given: a 5 V5\ \text{V} step, Rs=25 ΩR_s = 25\ \Omega, a lossless 50 Ω50\ \Omega line with TD=1 nsT_D = 1\ \text{ns}, RL=150 ΩR_L = 150\ \Omega (the ee-transmission-line lab's defaults).

Find: V1V_1, ΓL\Gamma_L, ΓS\Gamma_S, the voltages at both ends up to 5TD5T_D, and the final value.

Solve:

V1=5⋅5075=3.333 V,ΓL=100200=0.5,ΓS=−2575=−13load at TD:3.333(1+0.5)=5.000 Vsource at 2TD:3.333+1.667(1−13)=4.444 Vload at 3TD:5.000+(−0.556)(1.5)=4.167 Vload at 5TD:4.167+0.0926⋅1.5=4.306 VV∞=5⋅150175=4.286 V\begin{aligned} V_1 &= 5 \cdot \frac{50}{75} = 3.333\ \text{V}, \qquad \Gamma_L = \frac{100}{200} = 0.5, \qquad \Gamma_S = \frac{-25}{75} = -\frac{1}{3} \\ \text{load at } T_D &: 3.333(1 + 0.5) = 5.000\ \text{V} \qquad \text{source at } 2T_D: 3.333 + 1.667(1 - \tfrac{1}{3}) = 4.444\ \text{V} \\ \text{load at } 3T_D &: 5.000 + (-0.556)(1.5) = 4.167\ \text{V} \qquad \text{load at } 5T_D: 4.167 + 0.0926 \cdot 1.5 = 4.306\ \text{V} \\ V_\infty &= 5 \cdot \frac{150}{175} = 4.286\ \text{V} \end{aligned}

Check: ΓSΓL=−1/6<0\Gamma_S\Gamma_L = -1/6 < 0, so the load overshoots (5.000 V5.000\ \text{V}), undershoots (4.167 V4.167\ \text{V}) and converges, each error one sixth of the last. A logic input with a 4.5 V4.5\ \text{V} threshold would see a glitch; matching either end stops it.

Interactive: the same line in the lab

024source endload endv(x) (V)t = 3.50 Td = 3.50 nsS5.0 VRs 25.0 OhmZ0 = 50.0 Ohm, one-way delay Td = 1.00 nsRL 150 Ohm0 Td2 Td4 Td6 Td8 TdGS = -0.333GL = 0.5003.3331.667-0.556-0.2780.0930.046-0.015-0.00802402468t (Td)v at source endv at load end

At t=3.5 TDt = 3.5\,T_D the lab reads ΓL=0.5000\Gamma_L = 0.5000, ΓS=−0.3333\Gamma_S = -0.3333, V1=3.333 VV_1 = 3.333\ \text{V}, 4.444 V4.444\ \text{V} at the source end, 4.167 V4.167\ \text{V} at the load and a final value of 4.286 V4.286\ \text{V}. Try Rs=50 ΩR_s = 50\ \Omega: one reflection and done. Try Rs=0R_s = 0 with an open end: ΓSΓL=−1\Gamma_S\Gamma_L = -1, a square wave that never settles ("Final value: none").

In Python: the bounce diagram

python · try it yourself
import numpy as np
import matplotlib.pyplot as plt

VS, RS, Z0, RL, TD = 5.0, 25.0, 50.0, 150.0, 1.0      # V, Ohm, Ohm, Ohm, ns
gl, gs = (RL - Z0) / (RL + Z0), (RS - Z0) / (RS + Z0)
v1 = VS * Z0 / (RS + Z0)
print(f"Gamma_L = {gl:.4f}, Gamma_S = {gs:.4f}, V1 = {v1:.4f} V, final = {VS*RL/(RS+RL):.4f} V")

# waves: forward wave k leaves the source at 2k*TD, backward wave k leaves the load at (2k+1)*TD
waves, a = [], v1
for k in range(4):
    waves.append(("forward", 2 * k * TD, a))
    waves.append(("backward", (2 * k + 1) * TD, a * gl))
    a *= gl * gs

def v_end(x, t):
    """Voltage at x = 0 (source) or x = 1 (load) at time t (in ns): sum of the waves that have arrived."""
    v = 0.0
    for kind, t0, amp in waves:
        arrive = t0 + (x if kind == "forward" else 1 - x) * TD
        if t >= arrive:
            v += amp
    return v

print(" t (ns)   v source end   v load end")
for t in [0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 7.5]:
    print(f"{t:6.1f}   {v_end(0, t):10.4f}   {v_end(1, t):10.4f}")

# lattice (bounce) diagram: position across, time down
fig, ax = plt.subplots(figsize=(5, 4.5))
for kind, t0, amp in waves:
    x0, x1 = (0, 1) if kind == "forward" else (1, 0)
    ax.plot([x0, x1], [t0, t0 + TD], color="C0" if kind == "forward" else "C1")
    ax.text((x0 + x1) / 2, t0 + 0.5 * TD - 0.15, f"{amp:+.3f} V", ha="center", fontsize=8)
ax.set_ylim(8, 0)
ax.set_xticks([0, 1], ["source (x = 0)", "load (x = l)"])
ax.set_ylabel("t (ns)")
ax.set_title("Bounce diagram: Rs = 25, Z0 = 50, RL = 150 Ohm", fontsize=10)
plt.show()
Gamma_L = 0.5000, Gamma_S = -0.3333, V1 = 3.3333 V, final = 4.2857 V
 t (ns)   v source end   v load end
   0.5       3.3333       0.0000
   1.5       3.3333       5.0000
   2.5       4.4444       5.0000
   3.5       4.4444       4.1667
   4.5       4.2593       4.1667
   5.5       4.2593       4.3056
   7.5       4.2901       4.2824

Cross-check with SPICE

ngspice's T element is an exact lossless line (it solves the same wave equation with delays, not a ladder of lumped parts). The deck applies a 5 V5\ \text{V} step with a 10 ps10\ \text{ps} rise and prints both ends halfway between arrivals:

bash · try it yourself
cat > bounce.cir <<'EOF'
* 5 V step through 25 Ohm into a 50 Ohm lossless line (TD = 1 ns) ending in 150 Ohm
VS src 0 PWL(0 0 10p 5)
RS src in 25
T1 in 0 out 0 Z0=50 TD=1n
RL out 0 150
.control
tran 5p 8n
foreach tt 0.5n 1.5n 2.5n 3.5n 4.5n 5.5n 7.5n
  meas tran vin find v(in) at=$tt
  meas tran vout find v(out) at=$tt
  echo "t = $tt: v(in) = 
amp;vin V, v(out) =
amp;vout V" end .endc .end EOF ngspice -b bounce.cir 2>&1 | grep '^t ='
t = 0.5n: v(in) = 3.33333 V, v(out) = 0 V
t = 1.5n: v(in) = 3.33333 V, v(out) = 5 V
t = 2.5n: v(in) = 4.44444 V, v(out) = 5 V
t = 3.5n: v(in) = 4.44444 V, v(out) = 4.16667 V
t = 4.5n: v(in) = 4.25926 V, v(out) = 4.16667 V
t = 5.5n: v(in) = 4.25926 V, v(out) = 4.30556 V
t = 7.5n: v(in) = 4.29012 V, v(out) = 4.28241 V

Hand calculation, Python, the lab and SPICE agree to every digit they share.

Reactive loads and the TDR

A capacitor at the end of a line (an IC input, a via, a connector) is a short circuit at the instant the wave arrives (Γ=−1\Gamma = -1) and an open circuit later (Γ=+1\Gamma = +1), so the reflection moves smoothly from one to the other with the time constant of the capacitor and the line, τ=Z0C\tau = Z_0 C. With a matched source, the load voltage is 2V1(1−e−(t−TD)/τ)2V_1(1 - e^{-(t - T_D)/\tau}) and the source end shows a dip that starts at 2TD2T_D:

bash · try it yourself
cat > capload.cir <<'EOF'
* matched 50 Ohm source, 1 ns line, 10 pF load (an IC input pin)
VS src 0 PWL(0 0 10p 5)
RS src in 50
T1 in 0 out 0 Z0=50 TD=1n
CL out 0 10p
.control
tran 2p 6n
meas tran t_load when v(out)=3.16 rise=1
echo "load reaches 63.2 % of 5 V at t = 
amp;t_load s" foreach tt 1.5n 2.01n 2.5n 3n 4n meas tran vin find v(in) at=$tt echo "t = $tt: v(in) =
amp;vin V" end .endc .end EOF ngspice -b capload.cir 2>&1 | grep -E '^(load|t =)'
load reaches 63.2 % of 5 V at t = 1.50485E-09 s
t = 1.5n: v(in) = 2.5 V
t = 2.01n: v(in) = 0.175143 V
t = 2.5n: v(in) = 3.14208 V
t = 3n: v(in) = 4.31651 V
t = 4n: v(in) = 4.9075 V

With τ=50 Ω⋅10 pF=0.5 ns\tau = 50\ \Omega \cdot 10\ \text{pF} = 0.5\ \text{ns} the load reaches 63.2 %63.2\ \% at TD+τ=1.5 nsT_D + \tau = 1.5\ \text{ns} (plus 5 ps5\ \text{ps} for the half of the source's rise time), and the source end falls almost to zero at 2TD2T_D before recovering with the same τ\tau. That dip is the signature a time-domain reflectometer (TDR) looks for: it launches a fast step, watches the source end, and reads each discontinuity's position from its arrival time (d=vpt/2d = v_p t/2) and its nature from the shape (a step up for a resistance above Z0Z_0, a dip for a capacitance, a bump for an inductance). Cable faults are located the same way.

Guided lab: see the reflections

Hand calculation. The bounce sums for your cable: TD=ℓ/vpT_D = \ell/v_p, V1V_1, ΓS\Gamma_S, ΓL\Gamma_L.

Simulation. The Python script or the lab with your values.

What you would measure. Use 10 m10\ \text{m} of RG-58 (TD≈50 nsT_D \approx 50\ \text{ns}, so a scope of 50 MHz50\ \text{MHz} or more resolves it) driven by a function generator's square wave at 100 kHz100\ \text{kHz} through its 50 Ω50\ \Omega output, with a BNC T-piece at the scope input. With the far end open, the near end shows half the generator's open-circuit voltage for 2TD≈100 ns2T_D \approx 100\ \text{ns}, then the full value (ΓS=0\Gamma_S = 0, ΓL=+1\Gamma_L = +1). Short the far end: the near end drops back to zero after 100 ns100\ \text{ns}. Terminate it in 50 Ω50\ \Omega: a clean step. Insert 150 Ω150\ \Omega in place of the generator's match by adding a 100 Ω100\ \Omega series resistor at the source, and the load end (second channel) shows the staircase. Expect step heights within about 5 %5\ \% (cable loss and the scope's 1 MΩ∥15 pF1\ \text{M}\Omega \parallel 15\ \text{pF} input are the main errors) and the timing to ±2 ns\pm 2\ \text{ns}.

Hazards and safe setup. Signal-generator levels only.

Pitfalls

  • Using the DC divider for the first step. The source sees Z0Z_0, not RLR_L, until 2TD2T_D.
  • Forgetting the sign of ΓS\Gamma_S. A low-impedance driver (Rs<Z0R_s < Z_0) has ΓS<0\Gamma_S < 0 and causes ringing on a high-impedance load.
  • Edge rate decides, not clock rate. A 1 MHz1\ \text{MHz} clock with 1 ns1\ \text{ns} edges needs line treatment on any trace longer than about one sixth of trvpt_r v_p (a common rule of thumb).
  • Reading TDR distances. The round trip is 2TD2T_D; distance is vpt/2v_p t/2.

Practice

  1. A 3.3 V3.3\ \text{V} CMOS driver (Rs=15 ΩR_s = 15\ \Omega) drives a 50 Ω50\ \Omega trace to a high-impedance input. Find the first two load voltages.
  2. What series resistor at the driver of problem 1 removes all ringing at the load?
  3. A TDR on a cable with vp=0.66cv_p = 0.66c sees a reflection 240 ns240\ \text{ns} after the launch. How far away is the fault?
Answer
  1. V1=3.3⋅50/65=2.538 VV_1 = 3.3 \cdot 50/65 = 2.538\ \text{V}, ΓL=+1\Gamma_L = +1, ΓS=−35/65=−0.538\Gamma_S = -35/65 = -0.538. Load: 5.077 V5.077\ \text{V} at TDT_D, then 5.077−2⋅1.367=2.343 V5.077 - 2 \cdot 1.367 = 2.343\ \text{V} at 3TD3T_D (the wave 2.538⋅1⋅(−0.538)=−1.367 V2.538 \cdot 1 \cdot (-0.538) = -1.367\ \text{V} doubles at the open end). In reality the input's protection diodes clamp the overshoot.
  2. Rs+R=Z0R_s + R = Z_0: R=35 ΩR = 35\ \Omega (series termination). The launched wave is 1.65 V1.65\ \text{V}, doubled to 3.3 V3.3\ \text{V} at the open end, absorbed when it returns.
  3. d=vpt/2=0.66⋅2.998×108⋅240×10−9/2=23.7 md = v_p t/2 = 0.66 \cdot 2.998 \times 10^8 \cdot 240 \times 10^{-9}/2 = 23.7\ \text{m}.

Test yourself

A 5 V5\ \text{V} step with Rs=25 ΩR_s = 25\ \Omega enters a 50 Ω50\ \Omega line. The launched wave is…

  1. 5.000 V5.000\ \text{V}
  2. 3.333 V3.333\ \text{V}
  3. 4.286 V4.286\ \text{V}
  4. 2.500 V2.500\ \text{V}

For that line with a 150 Ω150\ \Omega load, the load voltage at TDT_D and 3TD3T_D is…

  1. 5.0005.000 then 4.167 V4.167\ \text{V}
  2. 3.3333.333 then 4.286 V4.286\ \text{V}
  3. 4.2864.286 then 4.286 V4.286\ \text{V}
  4. 5.0005.000 then 5.000 V5.000\ \text{V}

Which condition makes the load voltage ring (overshoot and undershoot) before settling?

  1. ΓSΓL>0\Gamma_S\Gamma_L > 0
  2. ΓSΓL<0\Gamma_S\Gamma_L < 0
  3. ΓL=0\Gamma_L = 0
  4. ΓS=0\Gamma_S = 0

A TDR trace shows a brief dip at a point along a cable. The discontinuity there is most likely…

  1. an open circuit
  2. a series inductance
  3. a shunt capacitance
  4. a matched load