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

An inductor can't change its current suddenly, and it will put out whatever voltage it takes to keep the current flowing. The V in V = L·dI/dt is that voltage; it flips direction between rising and falling current, which gives both the spike when you switch off and the principle of the boost converter.

Last updated: 2026-10-28 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. An inductor is its dual: V = L·dI/dt, and it can't change its current suddenly. Cutting the current in an instant would need infinite voltage, so in practice the voltage climbs until something conducts and keeps the current flowing. Energy is ½CV² and ½LI².

An inductor opposing a change in current
An inductor opposing a change in current. AI-generated conceptual illustration; see the article’s diagrams and text for circuit details and conditions.

V, seen from which terminal?

The sign confuses people because the direction V is measured in was never pinned down. Call the terminal where current flows in A and the terminal where it flows out B, and let V = VA − VB. Then V = +L·dI/dt.

While the current rises (dI/dt > 0), V > 0 and A sits higher, so the inductor absorbs power like a resistor. While it falls (dI/dt < 0), V < 0 and B sits higher than A. Current flows from A to B even though B is at the higher potential, so the inductor delivers power like a battery.

The textbook "−L·dI/dt" is the same voltage measured in the direction that opposes the change in current. The physics is identical.

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 rises, the input side sits higher (a load). While it falls, the output side sits higher (a source). Cut the current abruptly and the output side climbs.

What happens when current is cut off abruptly

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

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

It never reaches 1MV. Avalanche breakdown of the transistor's collector-emitter junction (tens to hundreds of volts, sometimes destroying the part), charging of the board's stray capacitance (ceiling I × √(L/C), about 3kV for 100mA, 100mH, 100pF), or an arc through the air opens a path, and the current tapers off.

The ceiling is set not by the inductor but by whatever conducts first, so provide it yourself: a flyback (freewheeling) diode from B to A. Once B rises 0.7V above A it conducts, and current circulates inductor → diode → inductor. B stops at 12.7V, and the current decays with the L ÷ R time constant (1ms for a 100Ω coil).

Always put one across a relay, motor or solenoid. Without it, every turn-off puts a pulse of hundreds of volts on the transistor, which fails after a few to a few thousand cycles.

A diode alone makes the current decay slowly, so a relay releases slowly. For a fast turn-off, add a zener in series to raise the clamp to 12V + the zener voltage. A higher clamp means a larger dI/dt and a faster decay.

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: when the switch opens, B climbs until something conducts. With a diode it stops at 12.7V.

Putting that spike to use: the boost converter

If B climbs until it finds a partner, make the partner an output capacitor and you get a voltage above the input. That is the boost converter.

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

In steady state the current gained equals the current lost over one cycle: Vin × Ton ÷ L equals (Vout − Vin) × Toff ÷ L, so Vin × Ton = (Vout − Vin) × Toff. With duty cycle D = Ton ÷ T this gives Vout = Vin ÷ (1 − D). D = 0.5 doubles the voltage; D = 0.75 quadruples it.

This balance of voltage × time over one cycle is volt-second balance. It only says an inductor's average voltage is zero, yet every switching supply's output voltage comes from that one line.

Stepping down with the same principle: the buck converter

In a buck converter, A is switched between Vin and open, and B is tied to the output capacitor (Vout).

While the switch is closed, A = Vin, B = Vout, so V = Vin − Vout > 0 and the current rises. When it opens, the current tries to fall, and to oppose that A's voltage drops. This time the input side moves, because the capacitor pins B. A stops 0.7V below GND, where a diode (or the low-side MOSFET in synchronous rectification) conducts. V = −0.7 − Vout ≈ −Vout, and the current falls with slope Vout ÷ L.

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

The ripple current is ΔI = (Vin − Vout) × D ÷ (f × L), 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. Current rises on a positive voltage while the switch is closed and falls on a negative one while it is open. Output voltage settles where the voltage × time areas balance.

Which terminal moves: A or B

When the switch opens, the terminal that is not pinned to a fixed voltage is the one that moves. In relay drive and in the boost converter A is pinned to the supply, so B moves up. In the buck converter B is pinned to the output capacitor, so A moves down. Either way it stops once it finds a diode or capacitor.

On a scope both terminals can be moving, so one side against GND does not show V = L·dI/dt. Use a differential probe or the difference of two channels. The SW node (the moving terminal) shows the spike-then-clamp waveform, with ringing on its edges.

Which inductor terminal is pinned by a voltage and which one movesThree circuits, relay drive, boost and buck, showing which of inductor terminals A and B is pinned to the supply or the output capacitor and which one moves when the switch opens. In relay drive and boost B rises; in buck A falls. Relay drive Vin L Flyback diode A B rises A: pinned to the supply B: rises, clamped by the diode Boost Vin L Vout A B rises A: pinned to the supply B: rises, clamped by the output cap Buck Vin L Vout A B falls B: pinned to the output cap A: falls, clamped by the diode Terminal pinned by a voltage Terminal that moves when the switch opens
Figure 4: when the switch opens, the terminal not pinned by a voltage moves. B rises in relay drive and boost; A falls in buck.

Things that catch you out on real hardware

  • Saturation. Once the core's flux hits its ceiling, L collapses, dI/dt spikes and the current runs away. Rate the saturation current above the peak current (average + ΔI/2).
  • A missing or backward flyback diode. Mandatory for relays, motors and solenoids. It goes from B to A (supply side is the cathode); backward, it shorts the supply.
  • Diode speed. At microsecond switching, a general-purpose rectifier's slow reverse recovery can't clamp the spike. Use a Schottky or fast-recovery diode.
  • Ringing on the SW node. Parasitic L and C resonate at tens of MHz on the spike's edge, radiating noise and in bad cases exceeding a device's rating. Use an RC snubber or a gate resistor.
  • Continuous vs. discontinuous current. At light load the current falls to zero during the off period (discontinuous mode), and the output voltage is no longer set by duty cycle alone.
  • The inductor's DC resistance. An I × R drop adds to V = L·dI/dt, hurting efficiency and output voltage at high current.

Frequently asked questions

What is the minus sign in V = −L·dI/dt?
The sign you get when the induced EMF is measured in the direction that opposes the change in current. Measured from the terminal current flows into toward the one it flows out of, it is V = +L·dI/dt.
What voltage does the inductor actually reach when the switch is cut off?
Whatever conducts first sets it. With a diode it is the supply plus 0.7V; with a zener, that voltage; with nothing, it is the resonance with stray capacitance, I × √(L/C) (about 3kV for 100mA, 100mH, 100pF), or the switch's breakdown voltage.
In a boost converter, does nothing flow to the output while the switch is closed?
Right. While it is closed the diode is reverse-biased and the output capacitor supplies the load. Current reaches the output only while the switch is open, so the output capacitor sees more ripple current than in a buck, and the capacitance and ESR requirements are tighter.
How do I view an inductor's voltage on a scope?
Capture both terminals on two channels and take the difference, or use a differential probe. In a buck, B is pinned to the output voltage, so A (the SW node) against GND gives V = V_SW − V_out. In a boost the input is pinned, so watch the SW node at the output side.

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 design guides