Expert Talk: Design a 220V Flyback Converter in CCM mode

Open online SPICE simulator circuit link: learn_power_flyback_220V_ccm_startup.tsc

Expert talk: how to design a Flyback Converter?

The Flyback topology is the isolated version (transformer) of the buck-boost converter covering output
voltage ranges which are both higher and lower than the input voltage. It is very popular for offline adapters
up to 150 Watts. Due to the reflected output voltage the MOSFET switch has a higher voltage class rating.

Output voltage (V_out): can be higher or lower than the input voltage (non-inverting or inverting depending on transformer)
Power rating P_out: up to 150 W
Isolation: yes

Continuous Conduction Mode (CCM)
V_out= ((N2/N1) * D * V_in) / (1 - D); Duty cycle D= T_on/T with conducting pulse width T_on, switching period T
N2/N1 is the transformer ratio with N1 windings on the primary and N2 windings on the secondary side

Component Ratings
MOSFET voltage class V_DS= 1.5 * V_in
MOSFET Current I_D= (2 * P_out)/V_in(min)
Diode voltage class V_R= 5 * V_out

Other Remarks
the Buck-Boost converter is the non-isolated version of the Flyback converter

Example Converter
set your CCM converter spec in the Interpreter window on the left, click on Run to calculate the components and simulate it!
V_in= 220 V
V_out= 24 V (lower than V_in)
I_out= 2 A

Important Note (Disclaimer)
This is an idealized circuit for learning and experimental use. Test carefully when using calculated values for real hardware.


{1. click here to set application parameters}
{2. click on "Run" to calculate components}
{3. click on "OK" and Simulate Transient }

{Input voltage [V]}
V_in:= 220 {use 100... 300}
{Output voltage [V]}
V_out:= 24 {use lower than V_in}

{Output current [A]}
I_out:= 2 {use 1 .. 4}
R_load:= V_out/I_out

N1:= 10 {Primary winding}
N2:= 1 {Secondary winding}
Ratio:= -N2/N1 {voltage Ratio}
{=== Control settings: change with care ! ===}
{Switching frequency [Hz]}
fs:= 100k {use 100k .. 300k}
{Duty cycle}
Duty:= 1/(1+(V_in/V_out*N2/N1))
L_INIT:= (V_out*I_out)/V_in { DC value}
C_INIT:= V_out {capacitor DC value}
T_on:= Duty*T
{Calculate components for CCM}
L_crcm:= ((1-Duty)^2*R_load)/(2*fs*(N2/N1)^2)
L:= 2*L_crcm
R_crcm:= (2*L*fs*(N2/N1)^2)/(1-Duty)^2

Infineon MOSFET Finder,
\a(Power Selection Guide,
\a(55 W Flyback with IRS2982S

Technical Assistance
Other circuits

Flyback startup
Flyback steady-state