The flyback converter is one of the most versatile isolated DC-DC converter topologies, widely used in applications ranging from 5W phone chargers to 500W industrial power supplies. Unlike forward converters, the flyback stores energy in its transformer's magnetizing inductance during the switch-on period and transfers it to the output during switch-off, making it inherently capable of multiple isolated outputs and excellent for wide input voltage ranges. This calculator enables power supply engineers to design flyback converters by computing duty cycle, turns ratio, peak currents, and component stresses across continuous and discontinuous conduction modes.
📐 Browse all free engineering calculators
Quick Navigation
Flyback Converter Circuit Diagram
Flyback Converter Calculator
Flyback Converter Design Equations
Duty Cycle & Voltage Conversion
D = (Vout + Vf) / (Vin + Vout + Vf)
Vout = (N × Vin × D) / (1 − D) − Vf
D = duty cycle (fraction of switching period)
Vout = output voltage (V)
Vin = input voltage (V)
Vf = output diode forward voltage drop (V)
N = turns ratio Ns/Np (secondary/primary)
Peak Primary Current
Ipk = (2 × Pout) / (η × Vin × D)
Irms = Ipk × √(D / 3)
Ipk = peak primary current (A)
Irms = RMS primary current (A)
Pout = output power (W)
η = converter efficiency (decimal)
Magnetizing Inductance
Lm = (Vin × ton) / Ipk = (Vin × D) / (Ipk × fsw)
E = (1/2) × Lm × Ipk2
Lm = magnetizing inductance (H)
ton = switch on-time (s)
fsw = switching frequency (Hz)
E = energy stored per cycle (J)
Switch Voltage Stress
Vswitch = Vin + Vout/N
Vswitch = maximum voltage across switch (V)
This represents the input voltage plus the reflected output voltage during switch-off
Flyback Converter Theory & Practical Applications
Energy Transfer Mechanism and Operating Principles
The flyback converter derives from the buck-boost topology but incorporates a coupled inductor (transformer) instead of a simple inductor, fundamentally altering its energy transfer mechanism. During the switch-on period, primary current ramps up linearly, storing energy in the transformer's magnetizing inductance while the output diode remains reverse-biased by the combined voltage of Vout and the reflected primary voltage. When the switch opens, the magnetic field collapses, reversing the transformer polarity and forward-biasing the output diode to deliver stored energy to the load and output capacitor. This discontinuous energy transfer—storing then releasing rather than simultaneous input-output conduction—enables multiple isolated outputs with minimal additional components and explains the topology's popularity in universal input power supplies.
The transformer in a flyback converter is not a true transformer in the classical sense; it functions as a coupled inductor with deliberate leakage inductance managed through careful design. The magnetizing inductance Lm stores energy proportional to ��LmIpk², and this energy must be completely transferred each cycle in continuous conduction mode (CCM) or partially in discontinuous conduction mode (DCM). The critical inductance Lcrit that separates these modes is Lcrit = (VinD)² / (2fswPout), where operation below this value ensures DCM with its inherent benefits of simplified right-half-plane zero dynamics and reduced output capacitor requirements, though at the cost of higher peak currents and increased conduction losses.
Duty Cycle Constraints and Turns Ratio Selection
Flyback converters typically operate at duty cycles below 50% to avoid flux walking and core saturation risks, although some modern designs push to 60% with careful volt-second balancing. The relationship D = (Vout + Vf)/(Vin + Vout + Vf) reveals the coupled nature of input voltage, output voltage, and duty cycle selection. For a universal input design spanning 90-265V AC (127-375V DC after rectification), maintaining D below 0.5 at minimum input necessitates a turns ratio N = Vout/Vin,min that may yield excessive switch voltage stress at high input. This trade-off forces designers to either accept higher voltage-rated (and thus more expensive) MOSFETs or implement auxiliary clamping circuits to limit reflected voltage spikes from leakage inductance.
The turns ratio directly impacts both switch voltage stress Vswitch = Vin + Vout/N and output diode selection. A low turns ratio (N less than 0.2) reduces primary-to-secondary voltage ratio, requiring fewer primary turns and thus lower primary copper losses, but reflects higher voltages back to the primary switch. Conversely, high turns ratios (N greater than 0.5) reduce switch stress but increase secondary winding losses and necessitate larger core sizes to accommodate more primary turns without saturation. For a 48V to 12V conversion, a turns ratio near 0.25 typically balances these concerns, resulting in Vswitch ≈ 48V + 12V/0.25 = 96V, comfortably handled by 150V MOSFETs with adequate margin for leakage spikes.
Transformer Design and Core Selection
Proper flyback transformer design begins with calculating the required primary inductance from Lm = (Vin × D)/(Ipk × fsw), then selecting a core with adequate effective cross-sectional area Ae and energy storage capability. The required core size scales with √(Power), explaining why flyback converters become less economical above approximately 200W—the transformer becomes physically large and expensive compared to forward or half-bridge topologies. Ferrite cores such as ETD, EE, or PQ geometries provide optimal volume utilization, with operating flux density typically limited to 0.25-0.3T to prevent saturation at peak current considering worst-case tolerance stackup and temperature effects on core permeability.
Air gap insertion linearizes the B-H curve and sets the inductance precisely through the relationship Lm = (μ₀ × Np² × Ae)/lg, where lg is the gap length. The gap dominates the reluctance path, making the inductance essentially independent of core material properties—a critical advantage ensuring stable performance across temperature and flux levels. However, the air gap generates fringing flux that can induce eddy currents in nearby windings and create EMI, necessitating careful winding arrangement with the primary typically split around the secondary to minimize leakage inductance (ideally 1-3% of Lm) while maintaining adequate insulation for safety isolation requirements per IEC 60950 or equivalent standards.
Continuous vs. Discontinuous Conduction Mode Trade-offs
DCM operation offers significant control advantages for flyback converters: the transfer function contains no right-half-plane zero, simplifying compensation network design and enabling wider control bandwidth. In DCM, the inductor current returns to zero each cycle before the next switching period, meaning output voltage depends only on input voltage and duty cycle—load variations are automatically compensated through duty cycle adjustment without the delayed energy transfer characteristic of CCM. This simplified dynamic response makes DCM the preferred choice for universal input designs and applications requiring wide load ranges, despite the penalty of higher peak currents (by approximately √2 compared to CCM at the same average power level).
CCM operation becomes necessary at higher power levels where DCM's elevated Irms currents would cause excessive copper and switching losses. The boundary between modes occurs when minimum load current equals Ipk/2, beyond which the inductor never fully discharges. CCM reduces peak and RMS currents for a given average power, lowering conduction losses in the transformer windings and output capacitor ESR. However, the right-half-plane zero at fz ≈ (1-D)²RL/(2πLmN²) limits control loop bandwidth to approximately fz/5, constraining transient response and requiring more careful compensation design. Modern controllers employ adaptive techniques, operating in DCM at light loads for efficiency and transitioning to CCM at higher power levels to minimize peak current stress.
Parasitic Effects and Real-World Performance Limitations
Leakage inductance—the uncoupled flux between primary and secondary windings—stores energy that cannot be delivered to the load, instead creating voltage spikes when the switch opens. The stored energy ½LleakIpk² must dissipate somewhere: either as losses in the MOSFET's body diode and capacitance, through a resistive-capacitive-diode (RCD) snubber, or recirculated via an active clamp circuit. In a 65W laptop adapter operating at Ipk = 3.8A with 2μH leakage inductance, this represents 14.4μJ dissipated every switching cycle—at 100kHz, this alone accounts for 1.44W of loss, reducing efficiency approximately 2.2%. Minimizing leakage through interleaved windings and optimized layer arrangements directly improves efficiency and reduces component stress.
The output diode selection critically impacts efficiency, particularly at lower output voltages where Vf becomes a significant fraction of Vout. For a 5V output at 5A, a standard rectifier with Vf = 1.0V dissipates 5W—a 20% efficiency penalty on a 25W design. Schottky diodes reduce this to 0.5V (2.5W), while synchronous rectification using a MOSFET can achieve equivalent drops below 0.1V through proper gate drive timing. However, synchronous rectification adds complexity, requiring body diode conduction prevention and precise dead-time control to avoid shoot-through. For output voltages above 12V, where diode drop percentages decrease, standard ultra-fast recovery diodes often provide the best cost-to-performance ratio.
Industrial Applications and Design Examples
Flyback converters dominate isolated power applications from 5W to 150W across consumer electronics, industrial controls, and LED lighting. Their ability to generate multiple isolated outputs from a single transformer makes them ideal for systems requiring +5V, ±12V, and +3.3V rails simultaneously—common in legacy industrial equipment. The primary output is typically regulated through feedback to the PWM controller, while auxiliary outputs track proportionally to the turns ratio, experiencing regulation within ±5% for load changes up to 30% of nominal. Tighter regulation on auxiliary outputs requires post-regulators, trading efficiency for precision where needed.
A worked design example demonstrates practical considerations: A medical instrument requires 48V DC input converted to isolated 12V at 2.5A (30W output). Target specifications: 85% minimum efficiency, 100kHz switching frequency, operating in DCM to simplify isolation barrier certification. Beginning with duty cycle calculation using Vf = 0.5V (Schottky diode): D = (12 + 0.5)/(48 + 12 + 0.5) = 0.207 (20.7%). Peak primary current: Ipk = (2 × 30W)/(0.85 × 48V × 0.207) = 7.09A. Primary inductance for DCM: Lm = (48V × 0.207)/(7.09A × 100kHz) = 14.0μH. Selecting turns ratio N = 12V/48V = 0.25 yields primary turns Np = 35 and secondary Ns = 9 on an ETD29 core with 2.5mm gap. Switch voltage stress: Vswitch = 48V + 12V/0.25 = 96V, requiring a 150V MOSFET with suitable RDS(on) below 0.15Ω to maintain conduction losses under 1W.
RMS current calculations validate component ratings: Primary Irms = 7.09A × √(0.207/3) = 1.86A requires 20AWG wire (minimum) or Litz wire for minimal AC losses at 100kHz. Secondary current during conduction: Isec,avg = 2.5A/(1-0.207) = 3.15A average, Isec,rms ≈ 3.54A requiring 18AWG secondary with output capacitor ESR below 50mΩ to limit ripple voltage below 120mV p-p. Total expected loss budget: MOSFET conduction (0.95W) + switching (0.65W) + diode (1.25W) + copper (1.15W) + core (0.45W) + capacitor ESR (0.22W) = 4.67W, yielding efficiency 30W/(30W + 4.67W) = 86.5%, meeting specification with margin.
Advanced Control Techniques and Modern Implementations
Primary-side regulation (PSR) has revolutionized low-power flyback designs by eliminating the optocoupler feedback path, reducing component count and cost while improving reliability. PSR controllers sense output voltage indirectly by monitoring the auxiliary winding or primary reflected voltage during the flyback period when the secondary diode conducts. This technique requires careful calibration accounting for diode forward voltage variations with temperature and load current, typically achieving regulation within ±5% across line and load—adequate for phone chargers and LED drivers but insufficient for precision analog or microprocessor power rails requiring ±2% or tighter specifications.
Quasi-resonant (QR) operation improves efficiency by initiating switch turn-on at the valley of the drain voltage ringing, minimizing turn-on losses from discharging the MOSFET's output capacitance Coss. In a 65W adapter, switching at 120V instead of the 150V peak of the resonant ring saves approximately 0.5 × Coss × (150² - 120²) × fsw each cycle. For Coss = 200pF at 100kHz, this represents 0.325W savings—small individually but crucial for meeting stringent efficiency standards like DOE Level VI requiring average efficiency above 87% and no-load consumption below 0.1W. Modern QR controllers adaptively adjust switching frequency from 30kHz at heavy load (minimizing switching losses) to over 200kHz at light load (maintaining DCM operation and reducing audible noise).
For detailed information on power electronics fundamentals and additional converter topologies, visit the engineering calculator hub which provides comprehensive tools for boost converters, buck regulators, and transformer design.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.