← Engineering Tools
Power magnetics · Fixed-frequency DCM

Flyback Transformer Inductance Sizer

Find a starting primary magnetizing inductance, then check peak current, demagnetization time, winding RMS current, and voltage stress across the input range.

Size or check Lm8 operating cornersTurns-ratio trade-offsOptional flux screen
Energy must reset before the next cycle.

For a single-output, single-switch, diode-rectified flyback using a fixed-frequency DCM model. This is not a CCM, quasi-resonant, active-clamp, or isolation-certification tool.

Start with the power and timing limits

Use the DC bus range at the primary—not AC RMS mains voltage. Lm is the primary magnetizing inductance with the other windings open, not leakage inductance.

Power stage
Defaults illustrate a 24–48 V DC input, 12 W output design. They are not a transformer or controller recommendation.
Pbudget = POUT / η. This is a lumped loss allowance, not a loss-resolved efficiency prediction. η cannot exceed VOUT / (VOUT + VF), the ideal rectifier-only limit. Current estimates use the energy budget; their secondary average is not forced to equal actual load current.
n = NP / NS; reflected voltage VR = n × (VOUT + VF). Confirm the ratio direction before calculating. Output and diode voltages are held fixed in this model.
Timing, tolerance & current limit
Optional. Use the guaranteed minimum controller threshold after your operating margin. This does not model fault-current overshoot, current-limit delay, or saturation.
Idle time follows secondary demagnetization. A zero requirement permits the mathematical DCM/CCM boundary; it does not provide a practical reset reserve. Frequency tolerance is not a variable-frequency control model.
Optional semiconductor voltage limits
A blank overshoot is unknown, not zero. Enter measured or justified allowances and derated device limits. Flat-top voltage alone is not a rating recommendation; this tool does not design a clamp or snubber.
Optional turns & flux-swing check

Illustrative inputs only. Your calculations stay in your browser.

Inductance & operating result

Calculate to review the design window.

Enter your requirements, then calculate.

An inductance is not a finished transformer

Controller dynamics, startup, faults, leakage, AC copper loss, core loss, winding temperature, insulation, creepage, and clearance require separate design and verification. Offline supplies involve hazardous voltages; these results do not establish electrical safety.

How the sizer works

Separate energy, timing, and magnetics

01 / Energy budget

Start from a zero-current ramp

Pbudget = POUT / η
Ecycle = Pbudget / f
IPK = √(2 × Pbudget / (Lm × f))

η is entered as a fraction in the equations. Assigning POUT/η to magnetizing energy is an initial design allowance. Losses are not distributed among the windings, switch, rectifier, or core.

02 / Reset time

Leave room after demagnetization

VR = (NP / NS) × (VOUT + VF)
DON = Lm × IPK × f / VIN
DOFF = Lm × IPK × f / VR
Didle = 1 − DON − DOFF

A positive Didle indicates DCM in this idealized model; zero is the boundary. A negative result invalidates the zero-start-current assumption. It is not a CCM solution.

03 / Current envelope

Use peak and RMS separately

IPRI,rms = IPK × √(DON / 3)
ISEC,pk = (NP / NS) × IPK
ISEC,rms = ISEC,pk × √(DOFF / 3)

RMS estimates are for the full switching period. They are energy-budget estimates, not a loss-resolved current prediction. The primary peak does not change with VIN in this fixed-power, fixed-Lm, fixed-f DCM model.

The timing ceiling includes tolerance

Lduty = (Dmax × VIN,min)² / (2 × Pbudget × fmax)
Lreset = [(1 − Didle,required) / (1/VIN,min + 1/VR)]² / (2 × Pbudget × fmax)
Lnom,max = min(Lduty, Lreset) / (1 + tL)
Lnom,min = 2 × Pbudget / [fmin × Ilimit² × (1 − tL)]

The lower bound is included only when a peak-current ceiling is entered. If the bounds overlap, sizing starts at 90% of the timing ceiling, raised to the current-derived lower bound if necessary. This is a continuous target, not a catalog-value selection.

Flux swing and the gap are separate checks

ΔB = Lm × IPK / (NP × Ae)
NP,min = ceil(max(Lm × IPK) / (Ae × ΔBallow))
AL,target = Lm,nom / NP²
gequivalent ≈ µ0 × NP² × Ae / Lm,nom

Use Ae in m² and Lm in H. The flux screen covers the required operating swing only; residual flux and fault-current peaks can raise absolute B. The gap expression assumes gap-dominated reluctance, without fringing.

What to change when a check fails

FindingReview nextTrade-off to retain
Too little reset reserveReduce Lm, increase reflected voltage, reduce power, or revisit frequency.Lower Lm raises peak current. Higher reflected voltage increases MOSFET flat-top stress.
Peak current too highIncrease Lm within the timing window, or revisit power, frequency, and controller capability.Higher Lm consumes more of the switching period. No overlap between limits means no feasible DCM value under these assumptions.
Flux excursion too highIncrease primary turns or core area and rework the gap and winding arrangement.Keep the actual turns ratio consistent. More turns affect copper length, fill, leakage, and capacitance.
Flat-top voltage near the device limitReview turns ratio, the clamping network, real ringing, bus extremes, and derating.Reducing NP/NS lowers MOSFET reflected stress but raises rectifier reverse stress.
Before choosing a transformer

Define the winding specification

Electrical identity

Provide the controller, input bus range, output, frequency range, primary-referred Lm and tolerance, turns and polarity, peak/RMS currents, and leakage target. Include how and where inductance is measured.

Magnetic and thermal limits

Agree the material, usable flux range, bias-dependent inductance, winding resistance, AC loss, and temperature rise. A small-signal AL measurement alone does not verify operation at peak current.

Construction and isolation

Specify the package, pinout, winding stack, insulation system, working voltage, and required qualification. Select creepage, clearance, and test conditions through the applicable product-safety design process.

Flyback inductance questions

Does this tool calculate CCM or quasi-resonant operation?

No. It assumes each primary-current ramp starts at zero at the entered frequency. CCM needs a nonzero valley-current model. Quasi-resonant and boundary controllers vary timing and may have frequency clamps; use their device-specific design method.

Which tolerance corner is most restrictive?

Higher Lm and frequency consume more cycle time. Lower Lm and frequency increase peak current. The flux excursion increases with higher Lm and lower frequency. The sizer evaluates both input endpoints and all four Lm/frequency combinations.

Why is the energy-budget secondary current not my load current?

The tool applies POUT/η to the energy packet while using ideal winding-current shapes. It does not assign each loss to a physical element. Treat the RMS and peak values as first-pass sizing estimates, then use a loss-resolved model and measurements for final ratings.

Can the equivalent gap be used as a spacer thickness?

Not directly. Finite core permeability, gap distribution, geometry, and fringing change the required physical gap. Use the target AL and operating inductance with the core manufacturer's or transformer supplier's design process.

What if the calculated secondary turns are fractional?

Choose a realizable integer winding pair, update NP/NS, and calculate again. The tool does not round secondary turns silently because that changes reflected voltage, timing, and device stress.

Does meeting the flux-swing limit prove no saturation?

No. ΔB describes the operating excursion, not absolute peak flux. Check residual flux, material temperature, inductance roll-off, startup, current-limit tolerances, and propagation-delay overshoot separately.

Continue the power-stage review

Component sourcing

Source the parts behind your design

Send the controller, MOSFET, rectifier, magnetics part number or specification, quantity, and required date for an order-specific review.

Technical references

  1. Texas Instruments — Designing a DCM flyback converter. DCM timing and reflected-voltage design.
  2. Analog Devices — Designing Flyback Converters Using Peak-Current-Mode Controllers. Mode-specific design, winding currents, and semiconductor stress.
  3. Analog Devices — MAXREFDES1176. An example of magnetizing-energy and transformer-specification calculations; not a preset for this tool.
  4. Texas Instruments — Inductor and Flyback Transformer Design. Core loss, saturation, inductance factor, gaps, and fringing.
Cart (0 items)