Quick Bits Resources

Flyback Converters

Written by Andrew Levido

The off-line flyback converter topology is one of the most common switched-mode power supplies around. Pretty much any “wall-wart” charger these days will be based around a flyback converter due to their relative simplicity and low cost. Let’s take a look at how they work.

Figure 1 shows the converter part of a typical off-line flyback converter. I have omitted any details of the control chip and voltage feedback, as well as the input mains rectifier and any associated protection circuitry. I have also left off the EMI-suppression components which should be present in a good quality supply.

FIGURE 1. A simplified Flyback Converter circuit. I have omitted the control chip and main input circuitry for clarity. The key to understanding the circuit is to recognize that the transformer is not really a transformer at all – it is actually a pair of coupled inductors.

The key thing to keep in mind in analyzing a flyback converter is that the “transformer” in the circuit is in fact two coupled inductors. True transformer action, in which a changing current in the primary winding induces a counteracting current in the secondary, never occurs. Only one winding can conduct at any given time as we shall see.

Let’s look at what happens when the MOSFET is turned on. The left-hand side of Figure 2 shows a simplified version of what happens. The input voltage VIN is connected across the primary winding. The voltage across the secondary winding will be VIN / N where N:1 is the ratio of primary to secondary turns on the transformer. Note that the dot on the secondary winding shows that it is connected in the opposite polarity to the primary. This induced voltage will be negative, reverse biasing the rectifier diode.

FIGURE 2. At top is the simplified version of the circuit when the MOSFET is conducting. Energy is stored in the magnetic field of the core. On the bottom is the same picture when the MOSFET is turned off. The voltage reverses and the current switches to the secondary side, dumping the stored energy into the load.

The current in the primary therefore begins to rise linearly from t0 as shown in Figure 3. This rise is dictated by the input voltage and the primary winding inductance. During this phase energy is being stored in the transformer’s magnetic field.

FIGURE 3. Here are the voltage and current waveforms associated with the circuit of Figure 1. Note the secondary side current falls to zero before the MOSFET conducts again. This is the distinguishing feature of the discontinuous current mode converter. I real life these waveforms will be a little messier due to second order effects.

At time t1 the control chip turns the MOSFET off. As we all know the current in a conductor cannot change instantaneously. The just switched-off current that was flowing out of the non-dotted primary terminal finds another path through the non-dotted terminal of the secondary winding. The circuit now looks like the right-hand side of Figure 2, with the MOSFET off and the diode forward-biased. Because of the turns ratio, this current will of course be N times that in the primary. This current flows via the diode into the filter capacitor and load.

— ADVERTISMENT—

Advertise Here

Figure 3 shows that the secondary current ramps down linearly at a rate determined this time by the output voltage and the secondary inductance. During this time the secondary voltage is (approximately) VOUT and the primary winding will see an induced voltage of VOUT with a negative polarity. This means the MOSFET will see a voltage of VIN + NVOUT. The energy stored in the core is therefore dumped into the output capacitor and load.

Note that the secondary current reaches zero at time t2 before the MOSFET begins to conduct again. This means this Flyback converter operates in discontinuous current mode. (DCM) It is possible to design a flyback converter to operate in continuous current mode (CCM), where the current in the transformer never falls to zero. The design challenge is to ensure you operate always in one mode or another, as getting the control loop stable in a converter that transitions from one mode to another is quite difficult. Most low power converters operate in DCM, since there is no minimum load requirement as there is for CCM.

Before we finish, I want to point out one (of the many) real-world effects that the designer needs to be aware of.

The coupling between the two windings is never perfect and there is some primary leakage inductance caused by some of the flux produced by the primary winding not being completely couple by the secondary. The energy in this small leakage inductor has to go somewhere when the MOSFET is turned off and will cause a high voltage spike on the primary terminal connected to the MOSFET.  The solution is a snubber network we have thus far ignored in Figure 1. The snubber diode provides a path to dump the leakage current into the snubber capacitor, which is discharged by the parallel resistor.

References

Horowitz, Paul, and Winfield Hill. The Art of Electronics. Third edition, 11th printing, with Corrections. Cambridge New York, NY: Cambridge University Press, 2017.

“A Guide to Flyback Transformers | Coilcraft.” Accessed March 2, 2021. https://www.coilcraft.com

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the May 2020 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

— ADVERTISMENT—

Advertise Here

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

+ posts

Andrew Levido (andrew.levido@gmail.com) earned a bachelor’s degree in Electrical Engineering in Sydney, Australia, in 1986. He worked for several years in R&D for power electronics and telecommunication companies before moving into management roles. Andrew has maintained a hands-on interest in electronics, particularly embedded systems, power electronics, and control theory in his free time. Over the years he has written a number of articles for various electronics publications and occasionally provides consulting services as time allows.

Sponsor this Article

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2021 KCK Media Corp.

Flyback Converters

by Andrew Levido time to read: 3 min