• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / SMPS Flyback Transformer Calculator – Design by Target Duty Cycle

SMPS Flyback Transformer Calculator – Design by Target Duty Cycle

This flyback SMPS transformer calcuator tool uses the reflected voltage priority method that is strictly optimized for discontinuous conduction mode or DCM, so let us look at how we can use this specific layout step by step.

Calculator by homemade-circuits.com

Flyback Transformer Design Calculator

Results

Calculated Reflected Voltage (Vref) 0

Duty Cycle 0

Turns Ratio (Np/Ns) 0

Primary Turns 0

Secondary Turns 0

Primary Inductance 0

Approximate Air Gap 0

Actual Flux Density 0

Peak Primary Current 0

Minimum Primary Current 0

Primary RMS Current 0

Secondary RMS Current 0

Stored Energy Per Cycle 0

Magnetic Power Throughput 0

Minimum MOSFET Rating 0

Minimum Diode Rating 0

How to Use the Calculator

Step 1: Gather Your Basic Power Specs

Before touching the calculator, you need to know what your power supply is supposed to do, so let us fill in these basic electrical requirements first.

Minimum Input Voltage (V) is the lowest DC voltage your circuit will see under full load. When you are designing for a standard 12V battery system, then you can use 11V or 12V.

But when you are dealing with an offline 230V AC mains supply after rectification and filtering, then this usually drops to around 250V or 300V DC.

Output Voltage (V) is the exact DC voltage that you want at your load, such as 5V, 12V, or 24V. Output Current (A) is the maximum continuous current your load will draw.

Step 2: Set Your Target Duty Cycle

Instead of guessing abstract voltages, our calculator uses the professional volt-second balance method, so you tell it the maximum time you want the primary MOSFET to stay turned ON during each switching cycle.

Set Desired Duty Cycle (%) to 45% because it gives the perfect balance.

It leaves enough OFF-time for the energy to fully transfer to the secondary side, and it keeps the voltage stress on your primary MOSFET completely manageable.

Try to stay between 35% and 45%, but if you go above 45%, then the calculator will flash a warning reminding you to double-check if your PWM controller needs slope compensation to prevent subharmonic oscillations.

Step 3: Input Your Core and Frequency Variables

Now we can input the physical components you are working with. Switching Frequency (kHz) for most modern DIY flyback controllers like UC384X or standard 555-based setups run nicely between 50 kHz and 100 kHz.

Since higher frequencies mean a smaller transformer core, but higher switching losses, so we must balance this. Core Area Ae (mm²) can be found when you look up the datasheet of the ferrite core you are holding, since Ae is the cross-sectional area of the center leg. For example, a tiny EE16 core is around 19 mm², an EE25 is about 41 mm², and a beefy EFD30 can be around 58 mm².

Target Flux Density (mT) should be kept conservative to prevent your transformer from saturating and drawing massive current spikes. If you keep a target of 150 mT to 180 mT, then it is incredibly safe but do not exceed 200 mT here unless you want your circuit to run smoking hot.

Step 4: Fine-Tune Ripple and Efficiency

Ripple Current (%) defines your conduction mode so a value of 40% to 50% keeps the system cleanly in Continuous Conduction Mode (CCM).

If you increase this toward 100% or higher, then the inductor current will hit zero every cycle, pushing the system into Discontinuous Conduction Mode (DCM).

The calculator will automatically alert you when you cross this boundary. Estimated Efficiency (%) for a well-wound custom transformer has a very realistic, safe starting baseline around 80% to 85%.

Step 5: Hit Calculate and Analyze the Blueprint

Now that you can click the calculate button, the engine spits out your exact winding blueprint. Let us see what you need to look for. Primary Turns (Np) and Secondary Turns (Ns) are the exact integer turns you need to wind, since the calculator automatically rounds these up to real-world integers.

Primary Inductance (Lp) is the target value you need to hit when measuring your primary winding on an LCR meter. Approximate Air Gap is important because ferrite cores store their energy in the air gap, not the magnetic material itself.

If this value shows No Gap / Toroid, then your core has enough native reluctance. But if it shows a value like 0.250 mm, then you need to place a spacer shim of half that thickness between the outer legs of the core halves to achieve the target inductance.

When the air gap calculation hits larger than 1.5 mm then the calculator will flash an amber warning, which means your core is too small for the power you are demanding, so you must switch to a core with a larger Ae value.

Minimum MOSFET Rating tells you the absolute bare-minimum breakdown voltage Vds your primary switch needs, since it adds a crucial 50% safety buffer to absorb high-frequency leakage spikes. Minimum Diode Rating is the absolute minimum reverse voltage Vrrm rating required for your secondary output rectifier diode.

A Quick Troubleshooting list

When you are getting a Flux density approaching saturation warning, then you can increase your primary turns manually by lowering your target flux density input slightly, or you can use a larger core.

When you are getting an Entered DCM warning, then remember that this is not necessarily a bad thing because many low-power chargers operate completely in DCM. Now just keep in mind that your RMS currents will be slightly higher so your wire gauges might need to be a fraction thicker to handle the extra heating.

Reader Interactions

Comments (10)

виктор says:
April 15, 2026 at 8:12 pm

подскажите старику,есть сердечник ETD59,есть провод 0.9 сколько мне надо намотать первичку и вторичку для построения инвертора 12/220 по полу мостовой схеме на мосфетах irf260n

Reply
Swagatam says:
April 16, 2026 at 8:15 am

Hello виктор,
For an ETD59 ferrite core working around 40–50 kHz in a half-bridge 12V inverter, you can use a center-tapped primary of about 8 + 8 turns.

The secondary winding can be around 380 to 420 turns to obtain approximately 220V output after filtering.

A 0.9 mm wire is suitable for the primary, although using two parallel strands will handle current better. For the secondary, a thinner wire should be used due to the higher number of turns.

Make sure to use proper insulation between layers and maintain tight winding for good coupling. Also ensure proper gate drive and protection for the MOSFETs.

Reply
Madan Kumar Deshpande says:
January 2, 2026 at 4:58 pm

we need to build smps with 220vac and output 220 Dc wattage 2000
please suggest core size and transformer winding ratios and wire guage and turns ratio

Reply
Swagatam says:
January 2, 2026 at 7:09 pm

Can you please use the following calculator to get the results, if you have problems please let me know:
https://www.homemade-circuits.com/advanced-smps-flyback-transformer-calculator-for-high-power-converters/

Reply
David says:
July 10, 2025 at 6:11 am

Why do you say that a more permeable core stores less energy? That is backward: a more permeable core accepts more energy.

Reply
Swagatam says:
July 10, 2025 at 8:48 am

The answer is that 2000 is not very high and not very low, so it is like one balanced middle value. If we choose very high permeability like 5000 or more, then the core becomes very sensitive and saturates early. That means it will not be able to store much energy before reaching bmax level, so that is not good for smps which need energy storage like flyback or boost converter. And if we choose very low permeability like 800 or 600 then inductance becomes too low, so we have to use more turns to reach proper value and that will increase wire length, copper loss and winding size. So we select 2000 because it gives us decent energy handling, not too early saturation, and not too many turns also. And for high energy smps applications we always put one air gap in the core, so that total effective permeability becomes lower, and more energy can be stored in the magnetic field of the gap.

Reply
David says:
July 10, 2025 at 2:54 am

Are there new transistors and/or drivers that lower switching losses even at the high frequencies that allow small numbers of turns to convert high power efficiently?

Reply
Swagatam says:
July 10, 2025 at 9:06 am

We have many real part numbers for gan and sic transistors that we can test in smps circuit. If we want high speed and low loss then gan fet like lmg3410 or epc2034 are best. For higher voltage and robust smps we can use sic mosfet like c3m0065100k or sct3060. We must use proper gate driver like ucc27611 or lmg1205 to switch them correctly. These parts can help us make very efficient and compact converters with less turns and high switching speed. So now we can test them in lab and compare with old silicon mosfets.

Reply
David says:
July 11, 2025 at 11:19 pm

When will you have results for a good gan choice? Are they rated for more than 24V? When can you draw a circuit and/or update your calculators?

Reply
Swagatam says:
July 12, 2025 at 1:34 pm

I will update the circuit diagram soon…

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (88)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (99)
  • Lamps and Lights (162)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (45)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on DPDT Relay Working, Pinouts, Testing Explained
  • Swagatam on 10 Best Timer Circuit Diagrams using IC 555
  • Nare Mashiachidi on DPDT Relay Working, Pinouts, Testing Explained
  • Swagatam on Simple FM Radio Circuit Using a Single Transistor
  • Čebelica on Simple FM Radio Circuit Using a Single Transistor

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

© 2026 · Swagatam Innovations