Understanding Flyback Converter Architecture

A flyback converter is a switched-mode power supply topology that combines buck-boost voltage conversion with galvanic isolation via a transformer. Unlike direct electrical connections, isolation means no DC path exists between input and output—energy transfers through the transformer's magnetic field instead. This isolation protects users, reduces noise coupling, and enables multiple output levels from a single input.

The circuit operates in two phases: during the switch-on period, the primary winding stores energy in the transformer core while the secondary diode blocks, isolating the output. When the switch opens, the magnetic field collapses, forward-biasing the secondary diode and delivering power to the output. The duty cycle (the fraction of time the switch remains closed) directly controls the voltage conversion ratio and energy distribution.

Flyback converters dominate applications requiring:

  • Isolated output supplies (medical devices, industrial controls)
  • Low to moderate power levels (under 100 W typically)
  • Cost-sensitive designs with minimal component count
  • Multiple isolated outputs from a single transformer

Flyback Converter Design Equations

The core design parameters—duty cycle, peak currents, and inductance values—are derived from the voltage levels, turns ratio, load current, and switching frequency. These relationships allow you to verify transformer design choices and predict circuit behaviour under different operating conditions.

D = (Vout + Vrect) × N / [(Vout + Vrect) × N + Vin]

Ip,Peak = (2 × Iout) / [N × (1 − D)]

Is,Peak = (2 × Iout) / (1 − D)

Ls = (Vout + Vrect) × (1 − D)² / (2 × Iout × fs)

Lp = Ls × N²

  • D — Duty cycle: fraction of the switching period when Q₁ is conducting (0 to 1)
  • V<sub>in</sub> — DC input voltage (volts)
  • V<sub>out</sub> — Output voltage at the load (volts)
  • V<sub>rect</sub> — Forward voltage drop across the secondary rectifier diode (volts)
  • N — Transformer primary-to-secondary turns ratio (N<sub>p</sub> / N<sub>s</sub>)
  • I<sub>out</sub> — Output load current (amperes)
  • f<sub>s</sub> — Switching frequency of Q₁ (hertz)
  • I<sub>p,Peak</sub> — Peak current through primary winding and switch (amperes)
  • I<sub>s,Peak</sub> — Peak current through secondary winding and rectifier diode (amperes)
  • L<sub>p</sub> — Primary winding inductance (henries)
  • L<sub>s</sub> — Secondary winding inductance (henries)

Practical Design Considerations

Real-world flyback design requires balancing competing constraints. The duty cycle is bounded by the need to avoid saturation and ensure reliable energy transfer. For safety margins, typical designs keep duty cycle between 30% and 60%, leaving headroom for input voltage variations and component tolerances.

Peak current limits determine transistor and diode ratings. Higher switching frequencies reduce inductance requirements and core size but increase switching losses and electromagnetic emissions. A 50–100 kHz range suits most low-power isolated supplies, while resonant topologies push into the megahertz range at the cost of complexity.

Leakage inductance between primary and secondary creates voltage spikes when the switch turns off. Snubber networks (RC clamps or zener-diode circuits) suppress these spikes, protecting the switch from overvoltage failure. Secondary-side spikes also stress the output diode, requiring a fast recovery type or synchronous rectification in demanding applications.

Transformer core selection is critical: ferrite EE or ETD cores balance cost and loss performance, while larger U-cores suit lower frequencies and higher currents. Air gaps in the core prevent saturation and linearise the inductance.

Common Pitfalls in Flyback Converter Design

Overlooking these practical issues can lead to circuit failure or poor performance.

  1. Neglecting leakage inductance and overvoltage — Leakage inductance energy released when the switch turns off creates a voltage spike across the switch. Without a snubber clamp or active clipping, this spike can exceed the transistor's voltage rating, causing immediate failure. Always add a RC snubber or zener clamp to the primary winding.
  2. Underestimating transformer core losses — Core losses increase sharply with frequency and flux density. A core that appears thermally stable at low duty cycles may overheat under full-load, sustained operation. Verify core loss using manufacturer datasheets and allowance for temperature rise; thermal runaway in a transformer can destroy downstream circuitry.
  3. Ignoring input voltage transients and filtering — Mains-derived or automotive inputs often have voltage spikes and ringing. A 95 V average input might briefly spike to 130 V or dip to 60 V. Insufficient input filtering allows these transients to saturate the transformer core or bias the duty-cycle calculation. Use a bulk capacitor and, if needed, a pre-regulator.
  4. Mismatching diode reverse-recovery behaviour — The secondary diode must turn off quickly when the switch closes, or its reverse-recovery tail current will cause destructive shoot-through. Pair the main switch (MOSFET or BJT) with a fast-recovery (100 ns or less) rectifier. Standard 1N4007 diodes are too slow for anything above 50 kHz.

When to Use Flyback Converters

Flyback topologies excel in cost-sensitive, low-to-medium power applications where isolation and simplicity matter more than peak efficiency. Single-transistor operation means minimal gate-drive complexity; a simple PWM controller and transformer-based feedback often suffice.

Typical markets include mobile phone chargers (5–30 W), LED drivers, industrial sensor power supplies, and medical devices requiring isolation. Multi-output versions—using multiple secondary windings on a single core—are especially popular in embedded systems where several isolated rails are needed.

Where the topology falls short: high-power applications (above 200 W) demand lower-ripple, higher-efficiency alternatives like forward converters or full-bridge topologies. Real-time current-sharing in paralleled supplies is difficult. The transformer can be bulky relative to a forward design at the same power level, and audible transformer whine at switching frequencies in the 20–50 kHz range can be objectionable in consumer audio applications.

Frequently Asked Questions

What is the relationship between duty cycle and output voltage in a flyback converter?

The output voltage is determined by the duty cycle and the transformer turns ratio. In steady state, V<sub>out</sub> ≈ D × N × V<sub>in</sub> for an ideal converter. Increasing the duty cycle boosts the output voltage; decreasing it lowers it. The feedback control loop adjusts the duty cycle to maintain constant output voltage against changes in input voltage and load current. This relationship is the foundation of voltage regulation and power transfer in the design.

How does transformer turns ratio affect peak current on each side?

The turns ratio acts as a current transformer in reverse proportion to voltage. The secondary-side peak current I<sub>s,Peak</sub> depends on output current and duty cycle independently of the turns ratio. However, the primary-side peak current is I<sub>p,Peak</sub> = I<sub>s,Peak</sub> / N, so higher secondary turns (lower N) increase primary current. This coupling affects transistor and diode ratings: a 3:1 step-down design requires a switch and primary diode rated for roughly 3× the secondary current, driving cost and loss.

Why does increasing switching frequency reduce inductance requirements?

Inductance stores energy proportional to I². At a given peak current, the energy stored is fixed, but inductance is inversely proportional to switching frequency in the design equations. Higher frequency allows shorter on-times for the same current rise rate (di/dt), reducing the required inductance. A 100 kHz design needs half the inductance of a 50 kHz equivalent. The tradeoff: faster switching increases power-transistor losses and electromagnetic interference, requiring better filtering and heat management.

What is the role of the secondary rectifier diode in a flyback converter?

The secondary diode blocks current into the secondary during the switch-on (energy storage) phase, isolating the output load from the transformer. When the switch opens and the core field collapses, the diode conducts, allowing the transformer to deliver stored energy to the output capacitor and load. Diode selection is critical: slow recovery causes reverse current and heating; fast recovery (Schottky or ultrafast types) is mandatory above 50 kHz. The V<sub>rect</sub> parameter in the equations captures the diode's forward voltage drop, which reduces effective output voltage.

How does leakage inductance affect flyback converter performance?

Leakage inductance (the portion of primary and secondary inductance that does not couple) is unavoidable in a real transformer. When the main switch turns off, this energy cannot transfer to the secondary and instead appears as a voltage spike across the switch, often 2–4× the input voltage. Unclamped spikes cause transistor failure and electromagnetic interference. Designers suppress them with a snubber RC circuit, zener clamp, or active clipping. Modern designs sometimes exploit leakage as a benefit, using it in resonant topologies to soften switching and reduce dv/dt noise.

What transformer parameters should be specified during design?

Beyond inductance and turns ratio, core material (ferrite grade), cross-sectional area, and air-gap size determine thermal performance and saturation handling. Copper wire gauge and length affect resistance losses and temperature rise. The designer must select a core with sufficient window area for primary and secondary windings, calculate or measure actual inductance (gap values shift inductance significantly), and verify DC resistance is acceptable at peak current. Most flyback designs operate with bias currents (magnetising current during switch-on), so the transformer is never completely demagnetised; a small air gap prevents flux saturation and ensures linear operation across the duty-cycle range.

More physics calculators (see all)