Inductors and Transformers

On this page

When a switch turns on, inductor current rises; when it turns off, a path is still needed for the current to continue flowing. Increasing the secondary turns of a transformer can step up voltage, but it cannot create available power out of nothing. To understand these phenomena, port voltages, current changes, magnetic flux, and energy must be placed within a single set of polarity conventions, rather than simply memorizing "blocks AC and passes DC."

Question to ExplainKey RelationshipReading Location
Why do turn-off spikes occur?v = L·di/dt; current needs a continuation pathInductor polarity and energy storage
How does inductance determine ripple?Δi = vΔt/LBuck one-cycle derivation
What exactly does rated current limit?Saturation and temperature rise are different constraintsPractical inductor parameters
Why does turns ratio change current and impedance?Voltage ratio, power, and port directionTransformers and dot convention
Why is flux reset necessary?ΔB = ∫vdt/(NAe)Volt-seconds and flux offset
Why are forward and flyback formulas different?Energy transfer occurs at different timesTwo conversion methods

Inductor Polarity and Energy Storage

Magnetic linkage λ is the sum of magnetic flux linked by each turn of the winding; under the approximation that flux is the same in each turn, λ = NΦ. In a linear, fixed-parameter model, λ = Li. Using the passive sign convention where current enters the positive voltage terminal, the port voltage is v = dλ/dt = L·di/dt. The common induced electromotive force ε = −dλ/dt uses a different direction definition; the negative sign expresses Lenz's law's opposition to change. Do not mix these two definitions into the same KVL equation.

When +1 V is applied across a 10 μH inductor, the current slope is +0.1 A/μs; when −1 V is applied, the slope is −0.1 A/μs. An inductor does not always "oppose current"; rather, voltage determines the rate of current change. If a negative voltage is applied while the current is already positive, the current can temporarily remain positive, and the inductor releases energy outward by absorbing negative power.

Linear model energy storage E = ½Li² comes from integrating i·dλ. For 10 μH at 2 A, the stored energy is 20 μJ. With non-linear magnetic cores, integration must follow the actual flux-linkage versus current relationship; one cannot assume a single L covers the entire process approaching saturation.

Current in a finite inductor is continuous without impulsive voltage. Turning off a switch does not automatically reduce current to zero: it may redistribute through a freewheeling diode, synchronous switch, clamp, or parasitic capacitance. If one attempts to reduce 2 A in a 10 μH inductor to zero in 10 ns, a simple slope estimate requires approximately −2000 V; the actual peak is constrained by parasitics and protection paths. This explains why one must design the path for turn-off energy, rather than claiming that 2000 V will inevitably appear in practice.

The time constant of a first-order RL circuit is τ = L/R_seen, where R_seen must include the actual loop resistance. In DC steady state with finite, unchanging current, the voltage drop across an ideal inductor is zero; however, actual windings still have DCR voltage drops. If an ideal inductor is connected directly to a constant non-zero ideal voltage source, the current will rise linearly forever; this resistance-less model has no finite steady state.

Buck One-Cycle Derivation: Calculating Ripple with Volt-Seconds

Consider an ideal Buck converter in Continuous Conduction Mode (CCM): Vin = 12 V, Vout = 5 V, switching frequency 500 kHz, L = 10 μH, and average output current 2 A. The period T = 2 μs, and we assume the output voltage changes very little within one cycle. Define inductor voltage as the switch node voltage minus the output voltage.

StageSwitch NodeInductor VoltageCurrent Change
High-side ONVinVin−Vout = +7 VRises at 0.7 A/μs
FreewheelingIdeally 0 V−Vout = −5 VFalls at 0.5 A/μs

Steady-state periodicity requires the current at the start of the next cycle to be the same, so the average inductor voltage over one cycle is zero: D(Vin−Vout)+(1−D)(−Vout)=0, yielding D = Vout/Vin = 5/12. The on-time is approximately 0.833 μs, and the peak-to-peak ripple ΔI = 7×0.833/10 ≈ 0.583 A; the fall amount in the second half is identical.

vL+7 V, 0.833 μs−5 V, 1.167 μsiLPeak approx. 2.292 AValley approx. 1.708 AAverage 2 AOne cycle of Buck steady state: positive and negative volt-seconds cancel, current returns to startVin = 12 V, Vout = 5 V, L = 10 μH, f = 500 kHz; ideal CCM teaching waveform.

At an average current of 2 A, the peak is approximately 2.292 A and the valley is approximately 1.708 A; the valley is greater than zero, consistent with the CCM assumption here. For this triangular ripple, I_rms² = I_avg² + ΔI²/12. If DCR = 40 mΩ, the dissipation related to winding DC resistance is approximately 0.161 W; this does not yet include AC winding losses and core losses.

If the load drops sufficiently, the current may enter Discontinuous Conduction Mode (DCM); in this case, the freewheeling time does not necessarily fill the entire off-interval, and the same duty cycle-to-output relationship cannot be used unconditionally. Actual diode voltage drops, switch on-resistance, dead time, and control methods will also modify the waveform.

Do the positive and negative volt-seconds cancel?

Move duty away from 5/12: final current differs from its starting value. That difference becomes the next initial condition; a real converter also changes output and control state, so the fixed-output assumption cannot be repeated indefinitely. The lower trace turns voltage area into current increments.

Preparing the visual
Do the positive and negative volt-seconds cancel?

Net current change follows voltage area. Only balanced volt-seconds return to the cycle’s initial current.

Practical Inductor Parameters: Current Limits Are Not Just One

ParameterMeaningWhat to Cross-Reference
L and ToleranceInductance value at specified frequency, amplitude, and biasRipple and control requirements, especially minimum effective L
IsatCurrent defined by a specified percentage drop in inductancePeak, startup/fault currents, and curves at temperature
Irms / Temperature Rise RatingCurrent reaching a specific temperature rise under specified mounting and test conditionsRMS current, ambient temperature, and actual heat dissipation
DCRWinding DC resistanceI_rms²DCR and temperature variations
QMetric relating stored energy to loss at specified frequencyTarget frequency band for RF and resonant applications
SRFSelf-resonant frequency involving parasitic capacitanceImpedance in target frequency band and whether the model remains inductive

Isat is commonly defined as "L drops by a certain percentage"; it is not a unified sudden failure current; different manufacturers or series may have different drop standards. Saturation reduces effective inductance, increasing di/dt for the same voltage, but whether the current runs out of control depends on protection and the circuit. Irms does not replace Isat: a device whose peak current does not touch magnetic limits may still overheat. Coilcraft: Selecting the Best Inductor for Your DC-DC Converter

Ideal sinusoidal steady-state impedance Z_L = jωL, with inductive reactance magnitude 2πfL, and voltage leading current by 90°. Parasitic capacitance in actual inductors creates self-resonance; beyond the corresponding region, it may behave capacitively, and impedance no longer rises infinitely. If using the device as a lumped inductor, confirm the inductance and Q within the target frequency band; if used for wideband suppression, examine the entire complex impedance curve, and do not simply treat SRF as an absolute no-go zone for all uses.

Device CategoryStructure and PurposeCommon Confusions
Air-core / Non-magnetic core coilsNo ferromagnetic core saturation limitStill subject to thermal, parasitic, and mechanical limits
Ferrite power inductorsUse core and possibly air gaps to manage magnetic circuitNot low-loss at all frequencies and biases
Powdered core inductorsDistributed air gaps and material properties affect bias curveNot "immune to saturation"
Ferrite beadsUsually utilize loss to suppress noise in target frequency bandThe labeled Ω value at a certain frequency is not a fixed resistance
Common-mode chokesMagnetic flux from two normal differential-mode currents largely cancels; common-mode flux adds upNot equivalent to a standard isolation transformer; still has leakage inductance

Transformers and Dot Convention

Two windings are coupled through common magnetic flux. An ideal transformer ignores losses, leakage flux, and finite magnetizing current, and according to unified dot polarity, v₂/v₁ = N₂/N₁ = n. The dot convention indicates relative winding direction: if voltages on both sides are taken as positive at the dotted terminal, the voltages are in phase; swapping one side's terminals reverses the defined output polarity.

N₁ = 20 turnsN₂ = 10 turns+−+−v₁v₂i₁i₂ (outflow)Dot convention determines relative polarity; ideal turns ratio is not judged by left-right graphical positionBoth voltages taken positive at dotted terminals; in the diagram, i₁ enters the dot and i₂ leaves the dot, so i₂/i₁ = N₁/N₂.

In the diagram, primary current i₁ enters the dot, and secondary load current i₂ leaves the dot. Ideal power balance is v₁i₁ = v₂i₂, so i₂/i₁ = N₁/N₂. If both currents are defined as entering the dot, the ampere-turn relationship is written as N₁i₁ + N₂i₂ = 0; writing the current ratio without specifying direction easily leads to missing signs.

For example, with N₁ = 20 and N₂ = 10, if the primary sinusoidal voltage RMS is 10 V, the secondary is 5 V. When the secondary is connected to a 10 Ω resistor, the output current is 0.5 A and power is 2.5 W; the ideal primary current is 0.25 A. The impedance seen at the primary is Z_in = Z_L/n² = 40 Ω; it changes the impedance presented to the port, but does not create extra power.

Real transformers require finite magnetizing inductance to establish magnetic flux, so there is magnetizing current and loss even at no load. Leakage inductance corresponds to the portion of the magnetic field not fully coupled, which can generate spikes during commutation; winding resistance brings copper loss, the core has hysteresis and eddy current losses, and inter-winding capacitance allows high-frequency common-mode current to pass. The fact that there is no DC conduction path between the two windings does not mean there is no coupled current at any frequency, nor does it automatically prove compliance with a specific safety isolation rating.

Volt-Seconds and Flux Offset

In a model with effective cross-sectional area Ae, N windings, and approximately uniform flux, the integral of the induced voltage across the winding gives ΔB = ∫vdt/(NAe). For a constant voltage pulse, this is ΔB = VΔt/(NAe); here, we calculate the change in magnetic flux density, not the absolute B ignoring initial flux.

Assume N = 20, Ae = 25 mm². Applying 12 V for 2 μs results in ΔB = 0.048 T. If there is not enough reverse volt-seconds subsequently to return the flux to a suitable position, the next cycle will continue to grow on top of the existing offset. Whether saturation is approached depends on initial B, material, temperature, and the complete reset waveform; calculating a small ΔB once does not prove safety for long-term periodic operation.

Increasing the air gap increases the magnetic reluctance of the circuit, helping to limit flux for the same winding current, and allowing most of the magnetic field energy in energy-storage devices to reside in the air gap and other low-permeability regions. However, for a specified winding voltage and duration, ΔB is still determined by volt-seconds and NAe; adding an air gap cannot replace flux reset under voltage excitation.

Applying constant DC continuously to an actual transformer winding causes flux and magnetizing current to rise continuously until limited by non-linearity, winding resistance, and supply limits; it will not continuously output a stable transformed DC as the turns ratio formula might suggest. Power-frequency sine waves, bipolar pulses, and switching waveforms with reset can all excite a transformer; the key is that the complete waveform is compatible with the magnetic design.

Forward and Flyback: When Energy Reaches the Load

TopologyWhen Main Switch is ONKey Process When OFF
ForwardTransmits energy to the output side through the transformer; output inductor current changesOutput inductor freewheels; transformer requires flux reset
FlybackStores energy in the magnetizing portion of the coupled inductor; secondary rectification path is usually cut offWinding voltage reverses; secondary conducts and delivers energy to the output

Although flyback devices are often called "flyback transformers," they should be viewed as coupled inductors when analyzing energy storage and time-sharing energy transfer. TI: Flyback Operation

Defining n = N₂/N₁, ignoring losses and voltage drops, and assuming corresponding continuous conduction steady state, the flyback converter has Vout/Vin = nD/(1−D). This equation comes from the volt-second balance of the magnetizing inductance and cannot be used in arbitrary discontinuous states without considering the load and the third stage. The magnetizing energy transferred per cycle is ½L_m(I_peak²−I_valley²); it simplifies to ½L_mI_peak² only in the corresponding case where the valley returns to zero.

The forward converter's output inductor is equivalent to being driven by a pulse of magnitude nVin. In ideal CCM, Vout/Vin = nD; the turns ratio n must not be omitted. The allowable duty cycle is also constrained by the flux reset method, and a unified unconditional upper limit should not be set for all forward topologies. TI: Forward Design and Turns Ratio

from fractions import Fraction as F
from math import isclose
vin, vout, inductance, frequency = F(12), F(5), F(1,100000), F(500000)
duty = vout/vin
period = 1/frequency
ripple = (vin-vout)*duty*period/inductance
assert ripple == F(7,12)
assert ripple == vout*(1-duty)*period/inductance
average = F(2)
peak, valley = average+ripple/2, average-ripple/2
assert peak == F(55,24) and valley == F(41,24)
copper_loss = (average**2+ripple**2/12)*F(4,100)
assert isclose(12*2e-6/(20*25e-6), .048)
n = F(1,2)
assert F(10)/n**2 == 40
print(f"Ripple {float(ripple):.6f} A, Peak {float(peak):.6f} A, DCR Loss {float(copper_loss):.6f} W")

This example's calculation only verifies volt-second, ripple, power, and turns ratio relationships in an ideal model; it does not run a real power supply. Actual selection requires bringing in worst-case input, duty cycle, startup, and current limit thresholds, and simultaneously checking inductance drop, temperature rise, core loss, and turn-off waveforms. The next chapter Band Theory and Doping enters the material basis of semiconductor devices.