Seyed Masoud Hosseini · Overview · Study log · Ideas · Transcript · RSS feed

Circuits & Electronics · Lecture 26 of 26 · 46:37

Lecture 25: Violating the Abstraction Barrier

Lec 25 | MIT 6.002 Circuits and Electronics, Spring 2007 on YouTube

Study guide

What this lecture covers

The whole course has relied on the lumped matter discipline: signals travel much slower than light, and wires and their parasitic effects can be lumped into simple circuit elements. This final lecture deliberately breaks those assumptions with live demonstrations, showing what actually happens when a wire is long enough that signal propagation time becomes significant, and when parasitic inductance in a power connection is large enough to distort a circuit's supply voltage.

After watching, you can explain why a step input on a long cable produces a temporary "double take" plateau before settling, why that plateau's voltage and duration relate to the cable's characteristic impedance and propagation delay, why a shared power supply wire with inductance can inject noise ("double dip") into an unrelated circuit, and what practical techniques (termination resistors, shorter wires, clocking, separate power trees, edge smoothing) address each problem.

Key ideas

  • Lumped matter discipline's hidden assumption: the course's circuit abstraction assumed signal speeds are much slower than the speed of light, letting wire resistance, inductance, and capacitance be lumped into single elements; long wires or fast edges violate this.
  • Double Take demonstration: a step voltage driven through a resistor into a long open-ended coaxial cable produces an output that jumps partway to its final value, pauses at a "wrong" voltage, then jumps to the expected value after a delay.
  • Distributed wire model: an electrically long wire must be modeled as a chain of small inductances and capacitances rather than a single lumped element, because the propagation delay of the wire is comparable to the signal's rise time.
  • Wave reflection at an open end: a voltage wave traveling down an unterminated wire reflects at the open end and travels back, doubling the voltage at the source end after a round-trip delay 2t — this is why the output pauses partway before completing the transition.
  • Termination resistor: adding a resistor at the cable's far end matching its characteristic impedance absorbs the traveling wave's energy, eliminating the reflection and the mid-transition plateau.
  • Speed-of-light estimate: measuring the round-trip delay and cable length in the demonstration (about 500 nanoseconds over roughly 500 feet) gives an estimated propagation speed of about one foot per nanosecond, consistent with the speed of light.
  • Double Dip demonstration: sharing a power supply wire with parasitic inductance between two circuits lets current switching in one circuit induce voltage spikes and dips on the supply seen by the other circuit, even though there is no direct signal connection between them.
  • Inductive voltage drop mechanism: the voltage disturbance follows V = L*di/dt, so circuits that switch large currents quickly (large di/dt) through an inductive power lead cause larger disturbances.
  • Mitigations for both effects: shortening wires, adding termination resistors, using a clock to sample signals only after transients settle, routing separate power supply trees to different regions of a chip, and smoothing sharp signal edges to reduce di/dt and dv/dt.

Walkthrough

Setting up the Double Take experiment (3:17)

A step voltage source drives a resistor into a node feeding an inverter, with a long coaxial cable also attached to that node and left open at its far end. Based on the course's lumped-circuit abstraction, the expected output is a clean step to 5 V at the same instant as the input step, since the far end of the cable looks like an open circuit (no current path).

The double-take behavior and its explanation (6:36)

The live demonstration instead shows the output jumping partway up, pausing at roughly 2.5 V, and only later completing the jump to 5 V. The lecture explains this by modeling the long cable as a distributed chain of small inductors and capacitors rather than a single lumped element. At the instant the step arrives, the cable looks like a resistor equal to its own characteristic impedance, producing an instantaneous voltage divider that gives 2.5 V. The pulse of energy then propagates down the cable, reflects off the open far end (illustrated with a string analogy: lifting one end of a free-hanging string produces a wave that travels down and bounces back), and returns to raise the near-end voltage to the full 5 V after a round-trip delay.

Estimating the speed of light and fixing the problem (19:04)

Using the observed round-trip delay (about 500 nanoseconds) and the cable's length (about 500 feet), the lecture derives a propagation speed of roughly one foot per nanosecond, matching the speed of light. It then poses the practical problem: a signal that lingers in the forbidden voltage region violates the static discipline used throughout the course. Several fixes are proposed and demonstrated: adding a termination resistor matching the cable's characteristic impedance (removing the resistor visibly restores the reflection, confirming the cause), using a much shorter wire so the effect becomes negligible, redefining logic thresholds so the disturbance doesn't cross into the forbidden region, or using a clock to sample only after the transient has settled.

Setting up the Double Dip experiment (28:18)

A shared power supply feeds two separate inverters. One inverter is driven with a switching input; the other's input is held fixed, so by the circuit abstraction its output should be unaffected by whatever happens in the first inverter. The demonstration confirms this initially, then, without changing anything visible in the circuit diagram, the second inverter's output develops spikes and dips.

Diagnosing the cause (32:23)

The lecture reveals that a long, thick wire (long enough to carry meaningful parasitic inductance despite negligible resistance) connects the shared power supply to the inverters, along with a load resistor on the switching inverter. Ruling out an inadequate power supply and pure resistance as causes, the lecture attributes the effect to inductance: the switching PFET pulls a large, rapidly changing current through the inductive wire, and the resulting voltage drop, V = L*di/dt, disturbs the supply voltage seen by both inverters, corrupting the second inverter's output even though it has no direct connection to the switching signal. Removing the load resistor (which reduces the current swing) makes the disturbance disappear, confirming the mechanism.

Solutions and real-world power distribution (39:37)

The lecture closes with mitigation strategies: shortening the shared wire, routing separate power supply connections to different regions of a chip instead of a single shared lead (illustrated with a real multi-million-gate chip design using power buffering trees to multiple quadrants), and smoothing sharp signal edges to reduce di/dt and dv/dt, at some cost to switching speed. It draws a parallel to an earlier lecture's demonstration of capacitive coupling between chip pins, where smoothing edges similarly reduced unwanted spikes.

Before you watch

  • This is the final lecture and assumes the full course, including the lumped matter discipline, RLC models of wires, CMOS inverters, and the static discipline's forbidden voltage region.
  • Recall the RC and RLC circuit models used earlier in the course for wires between gates, since this lecture explicitly extends and then breaks that lumped model.
  • Be familiar with inductor and capacitor current-voltage relationships (V = L*di/dt and I = C*dv/dt), which are used directly to explain the Double Dip effect.

Check your understanding

  1. Why does a step voltage on a long, unterminated cable produce an intermediate plateau before reaching its final value, rather than jumping directly?
  2. How does adding a termination resistor at the far end of a long cable eliminate the reflected wave?
  3. In the Double Dip demonstration, why does switching activity in one inverter disturb the output of a second, unrelated inverter sharing the same power connection?
  4. What does the relationship V = L*di/dt explain about why fast, large current transitions are more likely to cause power supply noise?
  5. Name two practical design techniques from this lecture for reducing wire-related signal or power distortion, and explain the tradeoff each involves.

Chapters

From the YouTube description

Violating the abstraction barrier
* Note: Lecture 24 is not available.
View the complete course: http://ocw.mit.edu/6-002S07

License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu

← Lecture 23: Energy, CMOS