Flyback Converter Calculator
Calculate flyback converter turns ratio, peak primary and secondary currents, and power levels for isolated DC-DC converter design.
Boundary-conduction flyback · volt-second balance · triangular peaksAPI slug flyback-converter
Operating point
Loss modelRDS(on) 50 mΩtf 20 nsQg 15 nCVg 10 VVF 500 mVRp 50 mΩRs 20 mΩPcore 100 mWLlk 2.6 µHkclamp 2
100 µΩ to 100 Ω
0 ns to 10 µs
0 nC to 10 µC
1 to 20 V
0 to 3 V
0 mΩ to 100 Ω
0 mΩ to 100 Ω
0 mW to 1 kW
0 µH to 100 mH
1.1 to 10
Parts and stress
| Part | Value | Must handle |
|---|---|---|
| T1Transformer | 130.6µH | Isat ≥ 1.471 A at Vin 48 VLlk ≤ 2.6 µH |
| Q1Switch | 50mΩ | VDS ≥ 150 VIrms ≥ 537 mA at Vin 48 V |
| D1Diode | 500mV | VRRM ≥ 60 VIF(AV) ≥ 1 AIpk ≥ 3.922 A at Vin 48 V |
| RCD1Clamp | 64V | P ≥ 562.3 mW |
Where the 1.385 W goes
Biggest levers: less leakage inductance and a lower-drop diode.
Waveforms at the nominal operating point
Ideal switching, 2.5 periods- Turns Ratio (Np/Ns)N
- 2.667
- Average Input CurrentIin,avg
- 294.1mA
- Minimum Duty CycleDmin
- 40.0%
- Maximum Duty CycleDmax
- 40.0%
- Secondary RMS Current, Worst CaseIs,rms
- 1.754A
- Input at the Worst Secondary RMS CurrentVin
- 48V
- Reflected Output VoltagenVout
- 32V
Formula
Unitrode Power Supply Design Seminar SEM600; TI SLVA057 for L_p
| Symbol | Quantity | Your value |
|---|---|---|
| N | Turns ratio Np/Ns | 2.667 |
| D | Duty cycle | 40.0 % |
| Vin | Input voltage (V) | 48 V |
| Vout | Output voltage (V) | 12 V |
| fsw | Switching frequency (Hz) | 100 kHz |
| Lp | Primary inductance for boundary conduction (H) | 130.6 µH |
Assumptions
6 items
- 01The transformer is designed at the nominal input for boundary conduction at the entered duty cycle: the turns ratio n = V_in·D/(V_out·(1 − D)), without the rectifier’s drop, the primary peak 2·I_in/D with I_in = P_out/(η·V_in), and the primary inductance V_in·D/(f_sw·I_pk) (TI SLVA057).
- 02The input voltage is a range, and that transformer runs at each corner with the same input power and frequency: above the nominal in discontinuous conduction, with the same peak in an on-time D·V_in,nom/V, and below it in continuous conduction, D = n·V_out/(V + n·V_out), with the peak the mid-on-time current P_in/(V·D) plus half the magnetizing ripple V·D/(L_p·f_sw) (TI SLVA559).
- 03Each stress is reported at the corner where it is largest: the primary and secondary peak and RMS currents (trapezoids), the drain at the input plus the clamp voltage, a multiple of the reflected voltage n·V_out (Fairchild AN-4147), and the rectifier’s reverse voltage V_out + V_in/n.
- 04The switch is rated at the voltage sold at or above that clamped drain peak, with no further margin, and the rectifier at or above 1.5 times its worst reverse voltage; the leakage spike above the clamp and the core’s flux and gap are not modelled.
- 05Losses are first-order, at the nominal input and load, with ideal switching: the switch’s I_p,rms²·R_DS(on) and turn-off ½·(V_in + n·V_out)·I_pk·t_f·f_sw (it turns on at zero current at the boundary), the gate drive Q_g·V_g·f_sw, the rectifier’s V_F·I_out, the windings’ I_p,rms²·R_p + I_s,rms²·R_s, the core loss as given and the clamp’s ½·L_lk·I_pk²·f_sw·V_clamp/(V_clamp − n·V_out) (AN-4147); the switch’s output capacitance, ringing and the rectifier’s recovery are left out.
- 06The entered efficiency sizes the currents, and the loss model reports its own efficiency beside it; setting the entered efficiency to the loss model’s figure makes the two consistent.
Worked example
Telecom 36–72 V to 12 V at 1 A
An isolated 12 V, 1 A output runs from a 48 V telecom bus that ranges from 36 to 72 V. The transformer is designed at 48 V for boundary conduction at 40 % duty and 100 kHz, with an 85 % efficiency estimate. What does it need, and what must the switch and the transformer stand over the range?
| Step | Expression | Result |
|---|---|---|
| Turns ratio at 48 V | 48 V × 40 % / (12 V × (1 − 40 %)) | 2.667 |
| Input power | 12 W / 85 % | 14.12 W |
| Average input current at 48 V | 14.12 W / 48 V | 294.1 mA |
| Peak primary current at 48 V | 2 × 294.1 mA / 40 % | 1.471 A |
| Primary inductance | 48 V × 40 % / (100 kHz × 1.471 A) | 130.6 µH |
| Reflected output voltage | 2.667 × 12 V | 32 V |
| Duty cycle at 36 V, continuous conduction | 32 V / (36 V + 32 V) | 47.1 % |
| Peak primary current, worst at 36 V (continuous conduction) | 14.12 W / (36 V × 47.1 %) + 36 V × 47.1 % / (130.6 µH × 100 kHz) / 2 | 1.482 A |
| Peak drain voltage, worst at 72 V | 72 V + 2 × 32 V | 136 V |
| Switch rating, the next one sold | ≥ 136 V | 150 V |
| Largest loss, the clamp’s | ½ × 2.6 µH × (1.471 A)² × 100 kHz × 2 / (2 − 1) | 562.3 mW |
| Next largest, the rectifier’s | 500 mV × 1 A | 500 mW |
| Efficiency from the loss model, at 48 V | 12 W / (12 W + 1.385 W) | 89.7 % |
How it works
The flyback converter calculator computes turns ratio, peak currents, and magnetizing inductance for isolated DC-DC conversion — essential for AC-DC adapters, PoE systems, and multi-output power supplies. Power electronics engineers, charger designers, and industrial equipment developers use this tool to achieve galvanic isolation while maintaining 85-92% efficiency. According to Erickson & Maksimovic's 'Fundamentals of Power Electronics', flyback converters dominate the <75 W isolated supply market due to their single magnetic component and low parts count. The coupled inductor stores energy during the switch on-time (Epri = ½Lm×Ipk²) and transfers it to the secondary during off-time. The turns ratio N = Vin×D / (Vout×(1-D)) determines voltage transformation (this calculator leaves out the rectifier drop Vf, which adds to Vout), while boundary conduction mode (BCM) at 50% duty cycle maximizes power transfer capability. TI application note SLVA057 specifies magnetizing inductance Lm = Vin×D/(fsw×ΔIL); this calculator takes ΔIL equal to the peak current, boundary conduction at the nominal input. Critical design parameter: the leakage inductance (typically 1-3% of Lm) causes voltage spikes exceeding 2×Vin on the primary switch, requiring RCD snubber or active clamp circuits per Power Integrations AN-19.
Practical tips
- Per Fairchild AN-4137, use quasi-resonant (QR) switching to achieve valley switching, reducing turn-on losses by 50% and EMI by 10 dB compared to fixed-frequency PWM
- Design the RCD snubber to clamp voltage spike at 80% of MOSFET Vds(max) — for 100 V MOSFET, clamp at 80 V; dissipated power = ½×Lleak×Ipk²×fsw×Vclamp/(Vclamp − N×Vout) (AN-4147) = ½×1µH×25×100k×2 = 2.5 W with the clamp at twice the reflected voltage
- Use planar transformers for power densities >10 W/cm³ — PCB-integrated windings achieve 1% leakage inductance versus 3-5% for bobbin-wound transformers
Common mistakes
- Ignoring transformer leakage inductance — 2% leakage (1 µH) with 5 A turn-off in 50 ns generates 100 V spike; without snubber, this destroys 60 V MOSFETs within microseconds
- Undersizing the transformer core — flyback transformers must not saturate at peak current; EE16 cores handle only 15-20 W at 100 kHz; use RM8 or EE25 for 50 W designs
- Using standard diodes for secondary rectification — PN diodes exhibit 100 ns reverse recovery, causing 5-8% efficiency loss; Schottky diodes (SS34, 40 V/3 A) essential for <24 V outputs
Frequently asked questions
5 questions
What is the main advantage of a flyback converter?
Per TI's 'Designing Flyback Converters' guide, flyback offers: (1) galvanic isolation with single magnetic component versus 2-3 for forward/bridge topologies, (2) inherent multiple output capability with single transformer, (3) wide input range (85-265 VAC) compatibility, (4) low component cost at <75 W. Disadvantages: higher output ripple (5-10% vs 1-2% for forward), limited to 150-200 W due to discontinuous secondary current.
How does a flyback converter differ from a forward converter?
Per Unitrode (now TI) design seminar: Flyback stores energy in transformer air gap during on-time, transfers during off-time — no output inductor needed but discontinuous output current causes higher ripple. Forward converter transfers energy continuously — requires output inductor and transformer reset mechanism (third winding or active clamp). Forward preferred above 100 W for lower ripple; flyback preferred below 75 W for simplicity and cost.
How do I select the switching frequency for a flyback?
Per Power Integrations design guide: 65-132 kHz for universal AC input (avoiding AM radio band), 200-400 kHz for DC-DC applications where EMI filtering is easier. Higher frequency enables smaller magnetics (core size ∝ 1/fsw^0.5) but increases switching losses. Quasi-resonant designs vary frequency with load, typically 30-130 kHz.
What causes flyback transformer saturation?
Saturation occurs when magnetic flux density B = Lm×Ipk/(N×Ae) exceeds core material limit (typically 300-400 mT for ferrite). Solutions: increase turns count (N), select larger core area (Ae), add air gap (reduces effective permeability, increases saturation margin). Per Ferroxcube design guide, 0.5 mm air gap in E25 core allows 3× higher DC current before saturation.
How do I meet EMI requirements with a flyback?
Per CISPR 32 Class B compliance guidelines: (1) use Y-capacitors (4.7 nF/250 VAC) between primary and secondary ground for common-mode filtering, (2) add pi-filter on AC input (2×4.7 µF + 1 mH common-mode choke), (3) implement spread-spectrum frequency modulation (±5%) to reduce peak emissions by 10 dB, (4) shield transformer with copper foil between primary and secondary windings.
Shop Components
As an Amazon Associate we earn from qualifying purchases.
- DC-DC Buck Converter ModulesAdjustable step-down converter modules for bench and prototype useAmazon →
- LDO Voltage Regulator KitAssorted low-dropout linear regulators for prototypingAmazon →
- Electrolytic Capacitor KitAluminum electrolytic capacitor kit for power supply filteringAmazon →
- Power Inductor KitAssorted shielded power inductors for switching supply designsAmazon →