banner

Free Flyback Converter Calculator

Enter parameters to see results

Flyback Converter Design: Duty Cycle, Peak Current, and Inductance

The Flyback Converter Calculator is an online tool designed to help power electronics engineers quickly determine the duty cycle, peak current, and inductance values for both the primary and secondary sides of a flyback transformer. Whether you are stepping up or stepping down the voltage, this DC-DC converter calculator handles the iterative computations and gives you reliable design parameters in seconds.

What Is a Flyback Converter?

A flyback converter is a buck-boost topology that provides galvanic isolation between the input and output circuits. It uses a coupled inductor (often called a flyback transformer) with a gapped core to store energy while the switching element (typically a MOSFET) is on, and then releases that energy to the output during the off period. This isolated DC-DC conversion makes the flyback converter a popular choice for chargers, adapters, auxiliary power supplies, and other low‑power applications.

How Does the Flyback Transformer Work?

The key component is the flyback transformer, which behaves as a coupled inductor. During the on‑time (tont_{\mathrm{on}}), the primary winding builds up current and stores magnetic energy in the core. The secondary diode is reverse‑biased, so no current flows to the load. When the MOSFET turns off, the magnetic field collapses, inducing a voltage across the secondary winding. The diode now becomes forward‑biased and the stored energy is transferred to the output capacitor and load. The cycle repeats at the switching frequency fsf_s.

Key Electrical Parameters

Duty Cycle

The duty cycle DD is the fraction of one switching period T=1/fsT = 1/f_s during which the switch is on:

D=tonT=ton⋅fsD = \frac{t_{\mathrm{on}}}{T} = t_{\mathrm{on}} \cdot f_s

Alternatively, DD can be expressed directly from the circuit voltages and the turns ratio N=Np/NsN = N_p / N_s:

D=(Vout+Vrect)⋅NVin+(Vout+Vrect)⋅ND = \frac{(V_{\mathrm{out}} + V_{\mathrm{rect}}) \cdot N}{V_{\mathrm{in}} + (V_{\mathrm{out}} + V_{\mathrm{rect}}) \cdot N}

where:

  • VinV_{\mathrm{in}} = input voltage,
  • VoutV_{\mathrm{out}} = desired output voltage,
  • VrectV_{\mathrm{rect}} = forward voltage drop of the output diode,
  • NN = primary‑to‑secondary turns ratio.

Peak Current and Inductance – Secondary Side

For the secondary winding, the peak current Is,peakI_{\mathrm{s,peak}} and the required inductance LsL_s are linked by the output current IoutI_{\mathrm{out}} and the off‑time:

Is,peak=2 Iout1−D,Ls=(Vout+Vrect)(1−D)Is,peak fsI_{\mathrm{s,peak}} = \frac{2\,I_{\mathrm{out}}}{1 - D}, \qquad L_s = \frac{(V_{\mathrm{out}} + V_{\mathrm{rect}})(1 - D)}{I_{\mathrm{s,peak}} \, f_s}

Peak Current and Inductance – Primary Side

On the primary side, the peak current Ip,peakI_{\mathrm{p,peak}} and the primary inductance LpL_p depend on the input voltage, duty cycle, and switching frequency:

Ip,peak=Vin DLp fs,Lp=Vin DIp,peak fsI_{\mathrm{p,peak}} = \frac{V_{\mathrm{in}}\, D}{L_p \, f_s}, \qquad L_p = \frac{V_{\mathrm{in}}\, D}{I_{\mathrm{p,peak}} \, f_s}

These equations form the foundation of flyback converter design. Once you have the duty cycle and the currents, the calculator can also output the core’s required inductance values for both windings.

Practical Design Example

To see the tool in action, take the following design specifications:

ParameterValue
Input voltage VinV_{\mathrm{in}}95 V
Output voltage VoutV_{\mathrm{out}}12 V
Diode forward drop VrectV_{\mathrm{rect}}1 V
Turns ratio NN5.3
Output current IoutI_{\mathrm{out}}4 A
Switching frequency fsf_s70 kHz

Entering these values into the Flyback Converter Calculator yields:

  • Duty cycle DD = 42.04 %
  • Primary peak current Ip,peakI_{\mathrm{p,peak}} = 2.60 A
  • Secondary peak current Is,peakI_{\mathrm{s,peak}} = 13.80 A
  • Primary inductance LpL_p = 219.08 μH
  • Secondary inductance LsL_s = 7.80 μH

These results show how the tool simplifies the otherwise tedious algebra of flyback design.

Using the Calculator Forward and Backward

The calculator is not limited to computing DD, IpeakI_{\mathrm{peak}}, and LL from a given set of input/output specs. It can work backward as well: if you already have a target peak current or inductance, you can supply those values and find the required switching frequency, turns ratio, or voltage levels. This bidirectional functionality makes it a versatile aid for iterating through different design constraints.

Whether you are a novice learning DC-DC flyback converter concepts or an experienced engineer finalizing a power supply, this flyback transformer calculator provides immediate numbers for the most critical parameters: duty cycle, peak current, and inductance on both sides of the isolation barrier.

FAQ

1. How is the duty cycle calculated for a flyback converter?

The duty cycle D can be found from the on‑time and switching period: D = t_on / T = t_on · f_s. Alternatively, using the circuit voltages and turns ratio, D = (V_out + V_rect)·N / (V_in + (V_out + V_rect)·N), where N is the primary‑to‑secondary turns ratio.

2. What are the equations for primary and secondary peak currents?

The primary peak current is I_p,peak = V_in·D / (L_p·f_s). The secondary peak current is I_s,peak = 2·I_out / (1−D), where I_out is the output current. Both can be rearranged to solve for the corresponding inductance.

3. Can the Flyback Converter Calculator find other parameters besides duty cycle, peak current, and inductance?

Yes. The calculator works in both directions: you can supply a known duty cycle or inductance to solve for switching frequency, output current, or turns ratio. It adapts to different design scenarios.

4. What role does the turns ratio N play in the design?

The turns ratio N = N_p / N_s directly affects the reflected output voltage on the primary side and therefore influences the duty cycle. A higher N allows a lower duty cycle for the same input and output voltages, impacting peak currents and transformer sizing.

How to Use

  1. Enter the input voltage (Vin), output voltage (Vout), rectifier voltage drop (Vrect), and windings ratio (N) of your flyback converter.
  2. Provide the output current (Iout) and switching frequency (fs) with their appropriate units.
  3. Click "Calculate" to instantly obtain the duty cycle, peak currents, and inductances for both primary and secondary sides.

Related Tools