Omni Calculator logo
Last updated:

Flyback Converter Calculator

New

Table of contents

What is a flyback converter​?Flyback converter design​, primary and secondary windings of a transformer​, peak current and moreFlyback converter calculator: an exampleFAQs

Omni Calculator flyback converter calculator is here to help you find the duty cycle, peak current, and inductance for the primary and secondary sides of your electrical circuit.

Keep with us in this article to explore:

  • What is a flyback converter​?
  • How does a flyback converter work​?
  • What are the disadvantages of a flyback converter​?
  • What is a flyback transformer​?
  • How to calculate the flyback voltage​?

So, you can choose freely whether to step up or down your voltage, with our flyback converter calculator.

What is a flyback converter​?

A flyback converter is a buck-boost converter​, which can be used to step up (boost) or step down (buck) the voltage of a given circuit. This converter makes a DC to DC conversion with galvanic isolation​ between the input and the output.

Galvanic isolation​ means a transformer is placed in the converter, providing electrical isolation between the input and output circuits. So, no direct current flows between these circuits; however, it still allows energy to be transferred between the two sides. Such a dispositive is critical in many applications for safety and noise reduction.

This transformer is built by a coupled inductor​ with a gapped core. An example of a standard flyback converter is shown in the diagram below where:

  • Q1Q_1 is a switching transistor, typically a MOSFET;
  • CinC_\mathrm{in} and CoutC_\mathrm{out} are capacitors;
  • NpN_p and NsN_s are the primary and secondary windings of a transformer​;
  • D1D_1 is a diode for a proper current flow;
  • VinV_\mathrm{in} and VoutV_\mathrm{out} are the input and the output voltages; and
  • VrectV_\mathrm{rect} is the voltage rectified by the diode D1D_1, contributing to charging the output capacitor and powering the load.
Circuit diagram for a standard flyback converter, with two capacitors, one switching transistor, one diode, and one transformer.
Circuit diagram for a standard flyback converter, with two capacitors, one switching transistor, one diode, and one transformer.

🙋 You can learn more about MOSFET, boost and buck converters by accessing our dedicated tools: MOSFET calculator, boost converter calculator, and buck converter calculator.

Flyback converter design​, primary and secondary windings of a transformer​, peak current and more

Now that we know the flyback converter design​, we can approach the equations behind it. The key parameters that we can compute are the duty cycle, the peak current, and the inductance of the primary and secondary sides.

The duty cycle represents the fraction of one switching period during which the switching device Q1Q_1 is turned on. It determines how long energy is stored in the transformer during each switching cycle. The duty cycle can be determined using the equation below:

D=fston\footnotesize D = f_s \cdot t_{\mathrm{on}}

where:

  • fsf_s — Switching frequency; and
  • tont_{\mathrm{on}} — Time the switch is on during one switching cycle.

The duty cycle can also be found using the voltages of the circuit and the so-called windings ratio. The alternative formula to compute it in this buck-boost converter​ is:

D=Vout+Vrect(Vout+Vrect)N+VinN\footnotesize D = \frac{V_{\mathrm{out}}+V_{\mathrm{rect}}}{\left(V_{\mathrm{out}}+V_{\mathrm{rect}}\right) \cdot N + V_{\mathrm{in}}} \cdot N

where:

  • VinV_{\mathrm{in}} — Input voltage;
  • VoutV_{\mathrm{out}} — Output voltage;
  • VrectV_{\mathrm{rect}} — Voltage rectified by diode D1D_1; and
  • NN — Windings ratio.

The equation for the windings ratio is such that:

N=NpNs\footnotesize N = \frac{N_p}{N_s}

where:

  • NpN_p — Number of turns in the primary winding of the coupled inductor​; and
  • NsN_s — Number of turns in the secondary winding of the coupled inductor​.

Now that we have found the duty cycle for the flyback converter design, we can use it to determine the peak currents and inductances on each side of the circuit.

The peak current and the inductance on the secondary side of the circuit are given by:

Is,Peak=21DIout\begin{split} \footnotesize I_{\mathrm{s,\,Peak}} = \frac{2}{1-D}\cdot I_{\mathrm{out}}\\[.5em] \end{split}
Ls=Vout+Vrect2Ioutfs(1D)2\footnotesize L_s = \frac{V_{\mathrm{out}}+V_{\mathrm{rect}}}{2 \cdot I_{\mathrm{out}} \cdot f_s} \cdot \left(1-D\right)^2

where:

  • Is,PeakI_{\mathrm{s,\,Peak}} — Peak current flowing through the secondary winding of the flyback transformer​;
  • IoutI_{\mathrm{out}} — Output current; and
  • LsL_s — Inductance on the secondary winding.

Moreover, the peak current and the inductance on the primary side of the circuit are determined using the following equations:

Ip,Peak=Is,PeakN\begin{split} \footnotesize I_{\mathrm{p,\,Peak}} = \frac{I_{\mathrm{s,\,Peak}}}{N}\\[.5em] \end{split}
Lp=LsN2\footnotesize L_p = L_s \cdot N^2

We know that it was a lot to learn. However, our flyback converter calculator is here to make all the hard work for you in the blink of an eye.

Flyback converter calculator: an example

In this example, we will show how easy and intuitive using our calculator is. Thus, let us consider the following set of parameters for our flyback converter:

  • Vin=95VV_{\mathrm{in}} = 95\, \mathrm{V};
  • Vout=12VV_{\mathrm{out}} = 12\,\mathrm{V};
  • Vrect=1VV_{\mathrm{rect}} = 1\,\mathrm{V};
  • N=5.3N = 5.3;
  • Iout=4AI_{\mathrm{out}} = 4\, \mathrm{A}; and
  • f=70kHzf = 70\,\mathrm{kHz}.

By substituting them in our tool, we can determine the respective values for the duty cycle, the peak current, and the inductance for the primary and secondary sides of your circuit: D=42.04%D = 42.04 \,\%, Ip,Peak=2.60AI_{\mathrm{p,\,Peak}} = 2.60\,\mathrm{A}, Is,Peak=13.80AI_{\mathrm{s,\,Peak}} = 13.80\, \mathrm{A}, Lp=219.08μHL_p = 219.08\,\mu\mathrm{H} and Ls=7.80μHL_s = 7.80\,\mu\mathrm{H}.

You should always remember that our calculator works backward and forward. Thus, you can use the duty cycle, the peak currents, and inductances to determine other parameters, such as the switching frequency or the output current.

FAQs

How does a flyback converter work​?

The flyback converter transfers energy from an input source to an output circuit. It works by storing energy in a transformer's magnetic field (in the switch-on phase) and then releasing it to the output circuit (in the switch-off phase). This DC to DC conversion can be applied in chargers, adapters, control circuits, and low-power electronics.

What are the disadvantages of a flyback converter​?

The main disadvantages of a flyback converter​ are:

  1. Limited power capability;
  2. High voltage stress;
  3. Low efficiency;
  4. High thermal losses; and
  5. Electromagnetic interference.

Despite these issues, the flyback converter remains popular for low-cost, low-power, and isolated applications.

What is a flyback transformer​?

A flyback transformer is a coupled inductor with a gapped core, and it is a key component of a flyback converter. The transformer provides the flyback converter's galvanic isolation and is also designed to store and transfer energy between the primary and secondary sides of the circuit. This transformer is ideal for DC-to-DC conversion applications.

How do you calculate the flyback voltage​?

You can determine the flyback voltage by following the steps below:

  1. Take the equation for the duty cycle:

    D = N ⋅ Vfb/(N ⋅ Vfb+Vin)

  2. Isolate the flyback voltage Vfb:

    Vfb = D ⋅ Vin/((1 - D) ⋅ N)

  3. You can also find the flyback voltage using the formula:

    Vfb = Vout + Vrect

    where Vout and Vrect are the output voltage and the voltage on the rectifier, respectively.

Data

Check out 56 similar electronics and circuits calculators 💡
Boost converterBreaker sizeBridge rectifier...53 more