🔬 1. Introduction to Isolated Flyback Topology
The flyback switch-mode power supply (SMPS) regulator is the premier isolated converter topology for low-to-medium power applications (1W to 100W), such as AC-DC wall adapters, auxiliary supplies, and PoE equipment. While non-isolated voltage reduction is calculated using our Ohm's Law Calculator or analyzed for indicator loads with our LED Resistor Calculator, flyback converters provide critical galvanic safety isolation between dangerous AC high-voltage mains and low-voltage output rails.
Unlike standard forward transformers that transfer power instantaneously across windings, a flyback transformer functions as a gapped coupled inductor. During the primary MOSFET switch ON-time, energy stores in the core's magnetic field while the secondary diode remains reverse-biased. When the switch turns OFF, dot polarity reverses, allowing stored energy to discharge through the secondary diode into the output capacitor.
Designing stable flyback feedback loops requires balancing transformer primary inductance against switching frequency (f_sw) and PWM duty cycle limits. Engineers evaluate battery power backup systems using our Battery Runtime Calculator and regulate output feedback divider networks using our Adjustable Voltage Regulator Calculator. Precise magnetic calculations prevent transformer core saturation under maximum load.
⚙️ 2. Coupled Inductor Energy Storage Physics
In a flyback transformer, primary and secondary windings are wound with opposite dot polarities. An air gap in the ferrite core lowers magnetic permeability, allowing the core to store high magnetic energy (E = 0.5 × L_pri × I_pri_peak²) without magnetic flux saturation.
Sizing heavy primary magnet wire prevents DC resistance (DCR) from causing excessive thermal copper heating during high-current conduction. Engineers calculate wire cross-sections using our Wire Size Calculator and verify conductor voltage drop using our Electrical Wire & Cable Voltage Drop Calculator.
📐 3. Transformer Turns Ratio & Duty Cycle Formulas
In Continuous Conduction Mode (CCM), output voltage (Vout) depends on input voltage (Vin), PWM duty cycle (D), and secondary-to-primary turns ratio (N2 / N1):
To calculate nominal operating duty cycle (D) when target Vout, Vin, and turns ratio are specified:
📊 4. CCM vs DCM Operation Mode Comparison Table
Flyback regulators can operate in Continuous Conduction Mode (CCM) or Discontinuous Conduction Mode (DCM), each offering distinct trade-offs:
| Operating Characteristic |
Continuous Conduction Mode (CCM) |
Discontinuous Conduction Mode (DCM) |
| Core Energy State |
Energy remains in core when switch turns ON |
Energy drops to zero before switch turns ON |
| Peak Primary Current |
Lower peak current (I_pri_peak = 2 × I_in / D) |
Higher peak current (I_pri_peak = 2 × P_in / (Vin × D)) |
| Primary Inductance Needed |
Larger inductance (L_pri > L_critical) |
Smaller inductance (L_pri < L_critical) |
| Diode Reverse Recovery |
Hard switching (Requires fast recovery diode) |
Zero-current soft switching (Lower EMI noise) |
| Control Loop Stability |
Right Half Plane (RHP) zero makes loop harder to stabilize |
Simple 1st-order transfer function (Easier loop compensation) |
⚡ 5. MOSFET Voltage Stress & Leakage Spike Limits
When the primary MOSFET turns OFF, it experiences severe voltage stress equal to DC input voltage plus reflected output voltage plus leakage inductance spikes:
Engineers evaluate primary thermal dissipation using our Heat Sink Thermal Resistance Calculator and decode package markings using our SMD Resistor Code Calculator.
⚡ Primary Overvoltage Warning: Leakage inductance between transformer primary and secondary windings cannot transfer stored energy to the load when the MOSFET opens. Unclamped leakage spikes will easily exceed MOSFET Vds breakdown limits, destroying the switching transistor instantly!
🔌 6. Primary RCD Clamp Snubber Circuit Sizing
An RCD snubber (Resistor-Capacitor-Diode) connected across the primary winding clamps leakage voltage spikes to a safe level (V_clamp ≈ 1.5 × V_reflected):
✏️ 7. Flyback Converter Schematic & Dot Polarity Diagram
Below is a custom schematic illustrating an isolated flyback regulator featuring input source Vi, primary winding V1, switch S, transformer core, secondary winding V2 with reverse dot polarity, diode D, filter capacitor C, and load R:
📝 8. Step-by-Step Practical Design Example (AC to 12V DC)
Goal: Design an isolated flyback supply producing Vout = 12V DC at Iout = 2.0A (Pout = 24W) from rectified DC input Vin_min = 100V DC at f_sw = 100 kHz with max duty cycle D_max = 0.45 and 85% efficiency.
- Step 1: Calculate Reflected Output Voltage (V_reflected)
V_reflected = Vin_min × [ D_max / (1 - D_max) ] = 100V × [ 0.45 / 0.55 ] = 81.82 Volts
- Step 2: Calculate Transformer Turns Ratio (N1 / N2)
N1 / N2 = V_reflected / (Vout + Vdiode) = 81.82 / (12 + 0.7) = 6.44 : 1
- Step 3: Calculate Primary Inductance (L_primary) in DCM
P_in = 24W / 0.85 = 28.235 Watts.
L_primary = (Vin_min × D_max)² / (2 × P_in × f_sw) = (100 × 0.45)² / (2 × 28.235 × 100,000) = 358.6 Microhenries (358.6 μH).
💻 9. Secondary Rectification Diode & Output Capacitor Selection
Secondary output diodes experience high peak reverse voltages equal to V_rect_max = Vout + [ Vin_max × (N2 / N1) ]. Engineers review hardware pinouts using our Arduino Board Pinout and our Raspberry Pi Pinout when interfacing isolated power supplies.
Schottky Output Rectifiers
Low forward voltage drop (V_f ≈ 0.4V - 0.7V) minimizes secondary conduction losses. Use ultrafast Schottky diodes for f_sw > 100 kHz.
Low-ESR Secondary Capacitor Bank
Discontinuous triangular secondary current pulses require low-ESR ceramic or polymer capacitors to control output voltage ripple (V_ripple = I_sec_peak × ESR).
🌡️ 10. Optocoupler Feedback Isolation & Stability
To maintain galvanic isolation while providing tight output regulation, an optocoupler paired with a TL431 precision shunt regulator feeds secondary error signals back across the isolation barrier to the primary PWM IC. Designers analyze PCB trace impedance using our Microstrip Impedance Calculator and verify line resistance with our PCB Trace Resistance Calculator.
💡 Creepage & Clearance Distances: Ensure at least 6.0 mm to 8.0 mm of physical creepage distance along PCB traces between primary high-voltage and secondary low-voltage grounds to satisfy UL/IEC 60950 safety isolation standards!
❓ 11. Frequently Asked Questions (10 Detailed Answers)
1. What is a flyback switch-mode regulator? +
A flyback converter is an isolated buck-boost SMPS topology where magnetic energy stores in the gapped transformer core during switch ON-time and transfers to the load during OFF-time.
2. What is the primary output voltage formula? +
In CCM, Vout = Vin × (N2 / N1) × [ D / (1 - D) ], where N2/N1 is turns ratio and D is PWM duty cycle.
3. How does dot notation polarity work in flyback transformers? +
Windings have opposite dot polarities. During primary ON-time, the secondary diode is reverse-biased, forcing energy to store in the core air gap.
4. What is maximum MOSFET switch voltage stress (Vds max)? +
Vds_max = Vin_max + [ (N1 / N2) × (Vout + Vdiode) ] + V_spike (reflected voltage plus leakage inductance spike).
5. Why is an RCD clamp snubber necessary across the primary winding? +
Transformer leakage inductance cannot transfer energy to the secondary when the switch opens. An RCD snubber clamps leakage energy safely, preventing MOSFET overvoltage breakdown.
6. What is the difference between CCM and DCM modes? +
In CCM, core magnetic energy remains above zero when the next cycle begins. In DCM, core energy falls to zero before the primary switch turns ON again.
7. How is primary peak current (I_pri_peak) calculated? +
In DCM, primary peak current is I_pri_peak = (Vin_min × Ton) / L_primary = Square Root of [ (2 × Pout) / (L_primary × f_sw × Efficiency) ].
8. Why are gapped ferrite cores used in flyback transformers? +
An air gap lowers effective permeability, allowing the transformer core to store high magnetic energy without flux saturation.
9. What is galvanic isolation and why is it important? +
Galvanic isolation prevents direct DC current paths between high-voltage AC mains input and user-accessible DC low-voltage outputs for electrical safety.
10. How is output capacitor ESR selected in flyback supplies? +
Discontinuous secondary pulse currents require ultra-low ESR capacitors to keep output voltage ripple (V_ripple = I_sec_peak × ESR) within target limits.
📚 12. Related Engineering Articles & Guides
To explore active op-amp topologies, read our guides on the Non-Inverting Op-Amp Resistor Calculator and the 555 Timer Astable Circuit Calculator. You can also verify passive color codes using our 3, 4, 5 & 6 Band Resistor Color Code Calculator.
🛠️ 13. Verified Engineering Calculators
Try The Interactive Flyback Regulator Tool
Calculate transformer turns ratio, primary inductance, peak current, and snubber values in real time.
Launch Flyback Regulator Calculator
Need another electronics calculation?
Explore CalcBoy's extensive suite of over 300+ free online engineering calculators, pinout guides, and circuit simulators.
Browse 300+ Engineering Calculators