Magnetics Optimizer: Pareto-Optimal Transformers
A 48 V to 12 V, 36 W flyback through the Magnetics Optimizer: the loss-versus-size Pareto front, core loss from datasheets, and what interleaving is worth.
Contents
Why Magnetics Design Is Still Hard
Power electronics simulation has become very good. You can run a switching converter in SPICE, Monte Carlo the control loop and estimate radiated emissions before the board exists. Magnetics are still stubbornly manual: estimate the volt-seconds, pick a core from a catalogue by rule of thumb, calculate turns, check the winding fits, check the flux stays below saturation, and hope the temperature rise is acceptable.
"Pick a core" is not a deterministic step. Ferrite and powder vendors offer dozens of materials and hundreds of shapes — E, ETD, PQ, RM, toroids — each with its own loss curve, saturation flux density and thermal behaviour. And there is no single best design: minimum loss wants a large core and thick wire, minimum size pushes flux density and window fill. Which trade-off is right depends on your thermal budget and board area.
The Magnetics Optimizer treats this as a two-objective search over 40 cores in 104 core/material combinations and returns the Pareto front: every design for which no reduction in loss is possible without a larger core.
The Design Problem: 48 V Flyback, 36 W, 100 kHz
| Parameter | Value |
|---|---|
| Topology | Flyback transformer |
| V_in (nominal) | 48 V |
| V_out / I_out | 12 V / 3 A (36 W) |
| f_sw | 100 kHz |
| Duty cycle | 45 % |
| Ambient / maximum temperature | 40 °C / 100 °C |
| Objective weight | 0.3 (balanced, leaning to low loss) |
A flyback also stores its output energy in the core, so the magnetizing inductance is not free. At the boundary of continuous conduction, with an estimated 90 % efficiency ( = 40 W):
Every design the optimizer returns realizes that 58.3 µH: for each turns count it solves for the air gap that gives it.
How the Search Works
Each candidate is a core, a primary turns count (the secondary follows from the turns ratio), primary and secondary wire gauges, an air gap and a winding arrangement. Each is evaluated at 10 operating points — 20, 40, 60, 80 and 100 % load, at nominal input and +10 % — and scored by its worst-case total loss and its core volume.
Volume depends only on the core, so the front is, in effect, each core's lowest achievable loss, filtered for dominance. The optimizer builds it in two stages:
- Every core is searched. Each gets 600 random designs, and its best feasible one is refined by 800 steps of local search. Without this stage the search would converge on the first feasible cluster it found and never try the smaller cores.
- NSGA-II (200 designs × 150 generations on the free tier, 500 × 400 on Pro) then starts from those per-core bests.
Every feasible design evaluated goes into an archive, and the front returned is the archive's non-dominated set. The objective weight then picks one design from that front — it does not steer the search, so changing it never changes the front.
Physics Models
Core loss at the AC flux amplitude. Loss per unit volume follows the Steinmetz formwith , and fitted to the manufacturer's published loss points, and the AC amplitude of the flux, not its peak. A flyback's flux swings from zero to , so . Evaluating Steinmetz at would overstate the loss by , about 3.8× for N87. The Micrometals iron powder uses Micrometals' own loss formula instead.
Peak flux in an energy-storing design follows from the stored current:- — 20 % saturation margin;
- window fill ;
- a hot-spot temperature within the limit, ;
- each material is used only within 1.5× the frequency span of its loss data, so no fit is extrapolated far outside what was measured.
Results for the 48 V Flyback
The front has four designs:
| Core / material | Volume | Worst-case loss | Efficiency | B_ac | R_th |
|---|---|---|---|---|---|
| PQ26/20, N97 | 5.44 cm³ | 0.509 W | 98.61 % | 63 mT | 32 K/W |
| RM10, N87 | 3.36 cm³ | 0.519 W | 98.58 % | 78 mT | 40 K/W |
| PQ20/16, N97 | 2.37 cm³ | 0.550 W | 98.50 % | 120 mT | 51 K/W |
| RM8, N87 | 1.86 cm³ | 0.574 W | 98.43 % | 119 mT | 57 K/W |
At weight 0.3 the optimizer recommends RM10 with N87:
| Parameter | Value |
|---|---|
| Turns | 14 primary, 4 secondary |
| Wire | AWG 21 primary, AWG 14 secondary |
| Winding | P-S-P interleaved |
| Air gap | 0.40 mm |
| Magnetizing inductance | 58.3 µH |
| B_pk / B_ac | 156 mT / 78 mT (B_sat 0.39 T, 50 % margin) |
| Window fill | 0.37 |
| Core / winding loss | 0.196 W / 0.323 W |
| Temperature rise | 20.7 °C (60.7 °C at 40 °C ambient) |
Every figure on the result carries its source: the N87 data sheet (TDK, June 2025) for the material, the TDK RM10 core data for geometry, and the TDK data book for thermal resistance.
Comparing Core Materials
| Material | Loss data | Usable range | B_sat (100 °C) | Status |
|---|---|---|---|---|
| N87 | TDK data sheet, fitted to 4 points | 17–750 kHz | 0.39 T | verified |
| N97 | TDK data sheet, fitted to 4 points | 17–750 kHz | 0.41 T | verified |
| N49 | TDK data sheet, fitted to 3 points | 200 kHz–1.5 MHz | 0.40 T | verified |
| 3C90 | Ferroxcube, 1 typical + 2 maximum points | 17–150 kHz | 0.38 T | verified (conservative) |
| 3C95 | Ferroxcube, one point | 67–150 kHz | 0.41 T | unverified |
| 3F36 | Ferroxcube, two points at one frequency | 333–750 kHz | 0.42 T | unverified |
| Mix26 | Micrometals' own formula | — | 1.4 T | verified |
| R, P | no identified source | — | 1.5 T | unverified |
Frequency moves the front across materials. At 200 kHz the same flyback's front is all N49 — RM12 through RM6 — and the recommended RM10/N49 loses only 0.274 W: with the same turns, the flux swing halves, and N49 is built for that range. At 400 kHz the front is N49 again. The optimizer finds the crossover by evaluating everything; there is no hard-coded frequency threshold.
Interleaving and AC Winding Loss
At 100 kHz the winding, not the core, is the larger loss here: 0.32 W of copper against 0.20 W of ferrite. The winding arrangement matters accordingly. Holding the recommended design fixed and changing only the arrangement:
| Winding | Total loss |
|---|---|
| None (P then S) | 0.863 W |
| P-S-P | 0.519 W |
| S-P-S | 0.863 W |
| Full | 0.519 W |
Saturation Margin and Fill Factor
The two classic hand-design failures are core saturation and an overfilled window. Saturation is checked at the worst operating point with a 20 % derate: the recommended design runs at 156 mT against 390 mT, 50 % below saturation. Window fill is capped at 0.40, which is already optimistic for hand-wound parts with bobbin, insulation and tape; the recommended design fills 0.37. A design that violates either limit is discarded, whatever its loss.
Why This Matters
A hand design is usually either oversized for its efficiency target or thermally marginal, because the interaction of core geometry, material, AC winding resistance, air gap and thermal resistance is too high-dimensional to navigate by intuition. The optimizer searches it exhaustively and shows you the whole trade-off. Here it says something a catalogue browse wouldn't: this flyback can be almost 3× smaller for 65 mW more loss, provided the primary is interleaved.
Updated 2026-09-19. Core loss now uses manufacturer-sourced material data at the AC flux amplitude, every design realizes the required magnetizing inductance, and the front is built from every core rather than a converged population. The designs and numbers above replace an earlier example that predates those fixes. Run the Magnetics OptimizerFrequently Asked Questions
Related Articles
PWM Duty Cycle Math: Average and RMS Voltage Explained
Calculate PWM duty cycle, average voltage, and RMS voltage from on-time and period. Includes worked examples and common mistakes engineers make.
Jul 20, 2026
Power ElectronicsBattery Internal Resistance: Performance Killer
Discover how battery internal resistance impacts power delivery, efficiency, and device performance in real-world electronics design.
Apr 25, 2026
Power ElectronicsSwitching Regulator Ripple: Engineer's Guide
Dive deep into switching regulator output ripple calculation with real-world techniques, critical design insights, and practical error analysis.
Apr 25, 2026