The inductor voltage: seen from which terminal? V = L·dI/dt and switching supplies

An inductor is "the part that can't change its current suddenly" — it will put out whatever voltage it takes to keep the current flowing. The V in V = L·dI/dt is exactly that "voltage produced to hold the current," and it flips direction depending on whether the current is rising or falling. That flip is both the spike you get when you switch off, and the working principle of a boost converter.

Last updated: 2026-09-19 InductorSwitching power supplyBuck converterBoost converter

Learn it paired with the capacitor

A capacitor obeys I = C·dV/dt: it can't change its voltage suddenly. Try to change the voltage and a current flows, proportional to how fast you're changing it. Change the voltage in an instant and you'd need infinite current, so in practice the voltage only changes as fast as the available current allows.

An inductor is its dual: V = L·dI/dt, and it can't change its current suddenly. Try to change the current and a voltage appears across it, proportional to how fast you're changing it. Cut the current off in an instant and you'd get infinite voltage, so in practice the voltage climbs until it reaches "whatever lets something conduct and keep the current flowing."

Just as a capacitor stores charge Q = C·V to hold its voltage, an inductor stores flux Φ = L·I to hold its current. Energy is ½CV² and ½LI² respectively. "A capacitor's voltage is continuous, an inductor's current is continuous" — everything here starts from that.

V, seen from which terminal?

The sign in the equation confuses people because the direction V is measured in was never pinned down. Let's pin it down. Call the terminal where current flows in A, and the terminal where it flows out B, and let V = VA − VB (A's voltage relative to B, not "B as seen from A"). With this convention, V = +L·dI/dt.

While the current is increasing (dI/dt > 0), V > 0 — A sits higher than B. Current is flowing from the higher potential into the lower one, so the inductor is absorbing power, like a resistor (storing it as magnetic energy).

While the current is decreasing (dI/dt < 0), V < 0 — B sits higher than A. Current flows from A to B even though B is at the higher potential. That's the same situation as a battery: the inductor is delivering power, acting as a source (releasing the magnetic energy it stored).

The textbook "−L·dI/dt" measures this same voltage as an "induced EMF," in the direction that opposes the change in current. It's the same physics, just measured the opposite way round. When you're reading a schematic, sticking to the "in-terminal to out-terminal" convention above and using +L·dI/dt consistently removes the guesswork.

It all falls into place once you think of it as "the inductor generates whatever voltage it needs to keep the current flowing, on its own." To oppose a rise, it raises the input side; to oppose a fall, it raises the output side. Both are "opposing the change," just in different directions.

Direction of inductor voltage: current rising, falling, and cut off abruptlyA circuit with Vin feeding an inductor (input A, output B) through a switch to GND. A is high while current rises, B is high while it falls, and B spikes the instant the switch opens. An animation steps through the three states in turn. 1. Current rising: input A is highSwitch closed. V = Vin − 0 > 0. Inductor absorbs power as a load 2. Current falling: output B is highSwitch open, freewheeling through the diode. B is 0.7V above A; inductor delivers power as a source 3. Cut off abruptly: B climbs "until it finds a partner"Without a diode, it spikes up to stray capacitance or the switch's breakdown voltage Vin + A L B Flyback diode Current I (A → B) 0V Potential at A Potential at B +V = +L·dI/dt > 0A is high: behaves like a resistor +V = +L·dI/dt < 0B is high: behaves like a battery +dI/dt huge → V hugeB's ceiling is whatever conducts first Sign convention Current-in terminal = A, current-out terminal = B, so V = V_A − V_B = +L·dI/dt. Rising (dI/dt > 0): V > 0, A is high Opposes the change. Stores energy Falling (dI/dt < 0): V < 0, B is high Opposes the change. Releases energy Cut off: dI/dt → −∞, V → −∞ B keeps rising until something conducts
Figure 1: while current is rising, the inductor's input side sits higher (behaving as a load). While falling, the output side sits higher (behaving as a source). Cut the current abruptly and the output-side voltage climbs "until it finds something that lets the current keep flowing."

What happens when current is cut off abruptly

Consider an inductor (a relay coil, 100mH) fed from a 12V supply and pulled to GND through a transistor, carrying 100mA. The inductor's input, A, sits at 12V; the output, B, sits near 0V at the transistor's saturation voltage.

Switch the transistor off in 10ns, and the current tries to head from 100mA to 0. dI/dt = −0.1A ÷ 10ns = −107 A/s. V = L·dI/dt = 0.1 × (−107) = −1,000,000V. A stays at 12V, so B tries to climb to 12V + 1MV.

It obviously never reaches 1MV. Somewhere along the way, something conducts: the transistor's collector-emitter junction goes into avalanche breakdown (tens to hundreds of volts, sometimes destroying the part), the board's stray capacitance charges up (the voltage ceiling there is I × √(L/C) — about 3kV for 100mA, 100mH, 100pF), or it arcs through the air. Whichever path opens up, the inductor keeps pushing current through it at that voltage, and the current tapers off gradually.

The key point: it isn't the inductor that sets the ceiling on the voltage — it's whatever conducts first. So you arrange for that yourself. That's the flyback (freewheeling) diode: put a diode from B to A, and the instant B rises 0.7V above A, the diode conducts and current keeps circulating around the loop — inductor → diode → inductor. B's voltage stops at 12.7V, and the current decays with the L ÷ R time constant (1ms for a 100Ω coil resistance).

This is exactly why a diode always goes across a transistor driving a relay, motor, or solenoid. Skip it, and every time you switch off, a pulse of hundreds of volts hits the transistor — it fails after anywhere from a few to a few thousand cycles.

Stopping it with just a diode slows the current decay (a slow relay release), so if you need a fast turn-off, put a zener in series with the diode to raise the clamp to "12V + zener voltage." A higher clamp voltage means a larger dI/dt, so the current dies out faster — again, straight from V = L·dI/dt.

B's voltage and current at the instant the switch opens12V, 100mH, 100mA, 100Ω coil resistance. With diode (green) and without (red) B's voltage and current at the instant the switch opens 12V, 100mH, 100mA, 100Ω coil resistance. With diode (green) and without (red) 12V Relay coil 100mH B Transistor Flyback diode V_B 0V 12V No diode: rings to hundreds of V or kV With diode: clamps at 12.7V I_L 0 τ = L ÷ R = 1ms decay Switch opens Time → Without a diode, the current resonates to zero against stray capacitance almost instantly, at the cost of a voltage spike. With a diode, voltage clamps at 12.7V and the current decays through the diode loop over 1ms.
Figure 2: the instant the switch opens, the output B's voltage climbs until "something that can keep the current flowing" appears. With a diode in place it stops at 12.7V, and the current decays through the diode loop.

Putting that spike to use: the boost converter

If B's voltage "climbs until it finds a partner," then make that partner an output capacitor and you can generate a voltage higher than the input. That's the boost converter.

While the switch is closed, A = Vin, B = 0, so V = Vin > 0. Current rises with a slope of Vin ÷ L. Open the switch, and B rises until it's clamped through a diode to the output capacitor (Vout). V = Vin − Vout < 0, so current falls with a slope of (Vout − Vin) ÷ L.

In steady state, the current gained in one part of the cycle equals the current lost in the other. Rise = Vin × Ton ÷ L; fall = (Vout − Vin) × Toff ÷ L. Setting these equal: Vin × Ton = (Vout − Vin) × Toff. Rewriting with duty cycle D = Ton ÷ T gives Vout = Vin ÷ (1 − D). D = 0.5 doubles it; D = 0.75 quadruples it.

This "voltage × time balances out to zero net area over one cycle" is called volt-second balance. It's just stating the obvious fact that an inductor's average voltage is zero — otherwise the current would keep climbing or keep falling forever — but every switching supply's output voltage comes out of that one line.

Stepping down with the same principle: the buck converter

A buck (step-down) converter switches the inductor's input, A, on and off to Vin, and ties the output, B, to the output capacitor (Vout).

While the switch is closed, A = Vin, B = Vout, so V = Vin − Vout > 0, and current rises. Open the switch, and the current tries to fall, which means A's voltage drops to oppose that (this time it's the input side that moves, since output B is pinned by the capacitor). A stops 0.7V below GND, where a diode (or, with synchronous rectification, the low-side MOSFET) conducts. V = −0.7 − Vout ≈ −Vout, and current falls with a slope of Vout ÷ L.

From volt-second balance: (Vin − Vout) × Ton = Vout × Toff, so Vout = D × Vin. From 12V, D = 0.275 gives 3.3V.

The swing in current (ripple current) is ΔI = (Vin − Vout) × D ÷ (f × L) — again just V = L·dI/dt integrated over Ton. A larger L reduces ΔI, but the inductor gets bigger and its DC resistance rises. The synchronous buck converter calculator uses this equation to work out ΔI and losses.

Buck and boost inductor voltage V_L and current I_LLeft: 12V → 3.3V, D = 0.275, 3A. Right: 5V → 12V, D = 0.583, average 2.4A Buck and boost inductor voltage V_L and current I_L Left: 12V → 3.3V, D = 0.275, 3A. Right: 5V → 12V, D = 0.583, average 2.4A Buck (step-down) 0 V_L = V_A − V_B +8.7V -3.3V I_L Average 3A Switch closed Switch open Closed: V_L = Vin − Vout = 8.7V, rising Open: V_L = −Vout = −3.3V, falling → Vout = D × Vin Boost (step-up) 0 V_L = V_A − V_B +5V -7V I_L Average 2.4A Switch closed Switch open Closed: V_L = Vin = 5V, rising Open: V_L = Vin − Vout = −7V, falling → Vout = Vin ÷ (1 − D) Steady state is where the blue area (positive V × time) equals the red area (negative V × time). This is volt-second balance.
Figure 3: inductor voltage and current for buck and boost. In both, current rises on a positive voltage while the switch is closed and falls on a negative voltage while it's open. The output voltage settles wherever the voltage × time areas over one cycle balance out.

"A moves" or "B moves"

Sorting the discussion above by which terminal's voltage actually moves gives a clean picture.

When the switch opens, whichever terminal isn't pinned to a fixed voltage is the one that moves. In the relay-drive case and in a boost converter, A is fixed to the supply, so B moves upward. In a buck converter, B is fixed to the output capacitor, so A moves downward. Either way, it moves "until it finds something that can keep the current flowing" — a diode, a capacitor — and stops there.

The same holds when you probe an inductor with a scope: both terminals can be moving. Looking at just one side referenced to GND won't show you V = L·dI/dt. Use a differential probe, or take the difference between two channels. Look at a switching supply's SW node (the moving terminal) and you'll see exactly the "spike then clamp" waveform described above, plus ringing riding on the edges (a resonance between the inductor's winding capacitance or parasitic trace inductance and the surrounding capacitance).

Things that catch you out on real hardware

  • Saturation. Once the core's flux hits its ceiling, L collapses suddenly, dI/dt spikes at the same voltage, and the current runs away. Rate the "saturation current" with margin above the peak current (average + ΔI/2).
  • A missing or backward diode. A flyback diode is mandatory for any transistor driving a relay, motor, solenoid, or valve. Orientation: "B to A" (the supply side is the cathode). Wire it backward and you short the supply.
  • Diode speed. When switching in microseconds, as in a switching supply, a general-purpose rectifier's slow reverse recovery won't clamp the spike in time. Use a Schottky or a fast-recovery diode.
  • Ringing on the SW node. A resonance between parasitic L and C rings at tens of MHz right at the spike's edge. It's a source of radiated noise, and in bad cases it can exceed a device's voltage rating. An RC snubber, or a gate resistor to soften the edge, tames it.
  • Continuous vs. discontinuous current. At light load, the current can fall all the way to zero and stop during the off period (discontinuous mode). Past that point the volt-second equation changes, and the output voltage is no longer set by duty cycle alone.
  • The inductor's DC resistance. On top of V = L·dI/dt there's an I × R drop. It's not negligible at high current and it eats into both efficiency and output voltage.

Frequently asked questions

What is the minus sign in V = −L·dI/dt?
It's the sign you get when you measure the induced EMF in the direction that opposes the change in current. Measure the voltage from the terminal current flows into toward the terminal it flows out of (the usual voltage-drop convention on a schematic), and you get V = +L·dI/dt instead. Same phenomenon either way — just a different measurement direction.
What voltage does the inductor actually reach when the switch is cut off?
Whatever conducts first sets it. With a diode, it's the supply plus 0.7V; with a zener, that zener's voltage; with nothing at all, it's either the resonance with stray capacitance, I × √(L/C) (about 3kV for 100mA, 100mH, 100pF), or the switching device's breakdown voltage. The inductor's own equation only tells you there's no ceiling.
In a boost converter, does nothing flow to the output while the switch is closed?
That's right. While it's closed, the diode is reverse-biased, and the output is supplied entirely from the output capacitor. Current only flows from the inductor to the output while the switch is open. That's why a boost converter's output capacitor sees more ripple current than a buck's, tightening the capacitance and ESR requirements.
How do I view an inductor's voltage on a scope?
Capture both terminal voltages on two channels and take the difference, or use a differential probe. In a buck converter, output B is pinned to the output voltage, so viewing input A (the SW node) against GND directly gives V = V_SW − V_out. In a boost converter the input is the fixed one, so watch the SW node at the output side instead.

Standards and references

  • R. W. Erickson, D. Maksimović, Fundamentals of Power Electronics — Volt-second balance and buck/boost analysis
  • TI SLVA477 / SLVA372 — Basic buck and boost converter calculations
  • Application notes from relay and solenoid manufacturers — Flyback diodes and release time

← All columns