ELECTROMAGNETISMPower ElectronicsPhysics Calculator

Flyback Converter

A flyback converter is an isolated DC-DC converter that uses a transformer for galvanic isolation while stepping voltage up or down. It stores energy in the transformer during the switch-on phase and transfers it to the output during switch-off, making it ideal for 5W–150W power supplies.

Did our AI summary help? Let us know.

Turns ratio n = Ns/Np sets voltage transformation; Vout = Vin × n × D/(1-D) for ideal flyback. Primary inductance Lp determines CCM/DCM boundary; larger Lp favors CCM at light load. Duty cycle D is limited by transformer reset; typically D < 0.5 for single-switch flyback. Peak switch current and voltage stress scale with power and input range; derating is critical.

Key quantities
n = Ns/Np
Turns Ratio
Key relation
D = Ton/T
Duty Cycle
Key relation
Lp = Vin²D²/(2Po f)
Primary L
Key relation
Ipk = 2Pin/(Vin D)
Peak Current
Key relation

Ready to run the numbers?

Why: Flyback converters power phone chargers, LED drivers, and isolated industrial supplies. Understanding turns ratio, inductance, and duty cycle is essential for efficient, reliable power supply design.

How: Energy is stored in the transformer magnetizing inductance when the switch is on, then transferred to the output when the switch turns off. CCM (continuous) vs DCM (discontinuous) mode depends on load and inductance.

Turns ratio n = Ns/Np sets voltage transformation; Vout = Vin × n × D/(1-D) for ideal flyback.Primary inductance Lp determines CCM/DCM boundary; larger Lp favors CCM at light load.

Run the calculator when you are ready.

Design Flyback ConverterCalculate transformer parameters, duty cycle, and component stress

Flyback Converter Calculator

Turns Ratio • Duty Cycle • CCM/DCM • Transformer Design

Enter Design Parameters

Basic Parameters

DC input voltage to the flyback converter
Desired DC output voltage
Output power requirement
Switching frequency in kHz

Transformer Design

Number of primary winding turns
Number of secondary winding turns
Turns ratio n = Ns/Np (calculated if turns provided)
Transformer core material type
Effective core cross-sectional area

Design Parameters

Duty cycle (0-1), calculated from voltages if not specified
Expected converter efficiency percentage
CCM (Continuous) or DCM (Discontinuous) conduction mode
Output voltage ripple as percentage of output voltage

Settings

Design mode calculates components, Analysis mode analyzes existing design

For educational and informational purposes only. Verify with a qualified professional.

🔬 Physics Facts

Flyback topology derives from the boost converter; the inductor is replaced by a coupled inductor (transformer).

— TI Application Notes

🔌

Typical efficiency: 80–90% for well-designed flybacks; losses come from switch, diode, and transformer.

— Power supply design handbooks

📐

CCM reduces peak currents but increases transformer size; DCM simplifies control and reduces core loss.

— IEEE Power Electronics

🛡️

Isolation allows safe connection between high-voltage input and low-voltage output in offline supplies.

— Safety standards IEC 60950

What is a Flyback Converter?

A flyback converter is a type of isolated DC-DC converter that uses a transformer to provide electrical isolation between input and output while stepping up or down voltage. It's one of the most popular converter topologies for low to medium power applications (typically 5W to 150W) due to its simplicity, cost-effectiveness, and ability to provide multiple isolated outputs.

Isolated Design

Provides galvanic isolation between input and output, essential for safety in many applications.

Energy Storage

Stores energy in the transformer during switch-on time and transfers it to output during switch-off.

Voltage Flexibility

Can step up or step down voltage by adjusting the transformer turns ratio.

How Does a Flyback Converter Work?

The flyback converter operates in two distinct phases controlled by a switching transistor (typically a MOSFET):

🔄 Operating Phases

Phase 1: Energy Storage (Switch ON)

When the switch is ON, current flows through the primary winding, storing energy in the transformer's magnetizing inductance. The output diode is reverse-biased, so no current flows to the load. Energy accumulates in the magnetic field.

Phase 2: Energy Transfer (Switch OFF)

When the switch turns OFF, the magnetic field collapses, inducing a voltage in the secondary winding. The output diode becomes forward-biased, and stored energy is transferred to the output capacitor and load. The transformer acts as both inductor and transformer.

When to Use a Flyback Converter

Flyback converters are ideal for applications requiring isolation, multiple outputs, or cost-effective power conversion in the low to medium power range.

Phone Chargers

USB phone chargers and adapters requiring isolation and compact design.

Laptop Adapters

Laptop power adapters with universal input and isolated output.

LED Drivers

LED lighting drivers requiring constant current and isolation.

Flyback Converter Calculation Formulas

Our calculator employs multiple scientifically validated formulas for flyback converter design and analysis. Understanding these calculations helps engineers make informed design decisions.

📊 Core Calculation Formulas

Turns Ratio

n = Ns / Np

Ratio of secondary to primary turns determines voltage transformation

Primary Inductance

Lp = (Vin × D)² / (2 × Po × f)

Primary inductance required for energy storage, where D is duty cycle, Po is output power, and f is switching frequency

Output Voltage

Vout = Vin × n × D / (1 - D)

Output voltage relationship considering turns ratio and duty cycle

Duty Cycle

D = Vout / (Vout + n × Vin)

Duty cycle calculation for flyback converter operation

Peak Current

Ipk_p = 2 × Pin / (Vin × D)
Ipk_s = Ipk_p / n

Peak currents on primary and secondary windings

Energy Storage

E = 0.5 × Lp × Ipk²

Energy stored in transformer during switch-on time

📋 Key Takeaways

  • Flyback converters use a transformer to provide electrical isolation while stepping up or down voltage, ideal for low to medium power applications (5W-150W).
  • The turns ratio (n = Ns/Np) determines voltage transformation, while duty cycle controls power transfer and output voltage regulation.
  • Flyback converters operate in CCM (Continuous Conduction Mode) or DCM (Discontinuous Conduction Mode), affecting efficiency and component stress.
  • Primary inductance stores energy during switch-on time and transfers it to the output during switch-off, requiring careful transformer design.

🤔 Did You Know?

Flyback converters are the most common topology in phone chargers and laptop adapters due to their simplicity, cost-effectiveness, and ability to provide isolation.

🔌 The transformer in a flyback converter acts as both an inductor (energy storage) and a transformer (voltage transformation), making it more compact than forward converters.

📊 DCM operation reduces transformer size but increases peak currents and switching losses, while CCM operation improves efficiency at higher power levels.

💡 Flyback converters can provide multiple isolated outputs by adding additional secondary windings, making them ideal for power supplies requiring multiple voltages.

💡 Expert Tips

💡 Optimize Turns Ratio

Select turns ratio to balance switch voltage stress and efficiency. Higher ratios reduce switch stress but increase transformer complexity.

💡 Choose Operation Mode

Use DCM for low power applications (<50W) to reduce transformer size. Use CCM for higher power to improve efficiency and reduce peak currents.

💡 Minimize Leakage Inductance

Keep leakage inductance low (<5% of magnetizing inductance) to reduce voltage spikes and improve efficiency. Use interleaved windings if needed.

💡 Consider Component Stress

Ensure switch and diode voltage/current ratings exceed calculated stresses by at least 20-30% margin for reliability and safety.

❓ Frequently Asked Questions

Q: What is the difference between flyback and forward converters?

A: Flyback converters store energy in the transformer during switch-on and transfer it during switch-off. Forward converters transfer energy directly during switch-on, requiring an output inductor. Flyback is simpler but limited to lower power.

Q: How do I choose between CCM and DCM operation?

A: DCM is preferred for low power (<50W) due to smaller transformer size and simpler control. CCM is better for higher power as it reduces peak currents and improves efficiency, but requires larger transformers.

Q: What affects flyback converter efficiency?

A: Efficiency is affected by transformer losses (copper and core), switching losses, diode forward voltage, and leakage inductance. Typical efficiencies range from 80-92% depending on power level and design.

Q: How do I calculate the required primary inductance?

A: Primary inductance is calculated as Lp = (Vin × D)² / (2 × Po × f), where Vin is input voltage, D is duty cycle, Po is output power, and f is switching frequency. This ensures sufficient energy storage.

Q: What is the maximum duty cycle for a flyback converter?

A: Duty cycle is typically limited to 50% or less to allow transformer reset time. Higher duty cycles require reset winding or active clamp circuits to prevent transformer saturation.

📊 Infographic Stats

2
Operation Modes
6+
Example Designs
80-92%
Typical Efficiency
5-150W
Power Range

📚 Official Data Sources

Disclaimer

⚠️ Disclaimer: This calculator provides estimates based on standard power electronics formulas and design guidelines. Results are intended for educational and general reference purposes. For professional power supply design, scientific research, or safety-critical applications, always verify calculations with qualified engineers and official reference materials. Component selection, transformer design, and PCB layout require expertise in power electronics.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators