**Author:**

Tomas Hudson, Applications Engineer & Miguel Ametller, Applications Engineer, Monolithic Power Systems

**Date**

05/29/2021

Although simple, the flyback converter design offers great advantages for certain applications. New, more complex topologies have surfaced in recent years, but flyback converters remain a popular design choice.

These switch-mode power converters offer competitive size, cost, and efficiency ratios in the low- to mid-power range (about 2W to 100W). A flyback converter’s operation is based on a coupled inductor, which aids in power conversion while isolating the converter’s input and output. The coupled inductor also enables multiple outputs, which makes flyback converters the standard for a wide variety of applications.

**Flyback Converter Operation**

Flyback converters are made up of the same basic elements as most other switching converter topologies, but the differentiating element of a flyback converter is its coupled inductor, which isolates the converter’s input from its output (see Figure 1).

A flyback converter has two signal semi-periods: t_{ON} and t_{OFF}, which are named after (and controlled by) the MOSFET’s switching states.

During t_{ON}, the MOSFET is in the on state, and current flows from the input through the primary inductor to linearly charge the coupled inductor. During t_{OFF}, the MOSFET is in the off state, and the coupled inductor begins to demagnetize through the diode. The current from the inductor charges the output capacitor and powers the load.

**Flyback Converter Design and Component Selection**

There are many important design decisions and tradeoffs involved in designing a flyback converter. The following sections will go through each step in the design process for a simple flyback converter. Figure 2 shows the design flow that will be followed.

Click image to enlarge

*Figure 2: Design Flowchart for a Flyback Converter*

**Flyback Converter Design Process and Calculations**

*Step 1: Design Inputs*

Design inputs are either defined by the end application or selected by the designer. These parameters include, but are not limited to, the input and output voltages, power, ripple factor, and operation mode. Table 1 shows a summary of the design inputs for the circuit discussed in this article.

Click image to enlarge

*Table 1: Design Input Summary*

Discontinuous conduction mode (DCM) was selected for this application due to its increased stability and higher efficiency. This means that the solution’s ripple factor is 1.

The maximum duty cycle is fixed at 50% to minimize stress and to equally utilize the MOSFET and the diode. The switching frequency was chosen to be 160kHz.

To make the calculations more realistic, the converter’s estimated efficiency is defined. The efficiency is estimated to be relatively low (about 80%), as this is a common value for low-power flyback converters.

Given all these inputs, the designer must choose a controller IC that meets all of the initial requirements. MPS’s MP6004 was used for this example. The MP6004 is a flyback controller that only operates in DCM. It also features primary-side regulation, which reduces the external component count.

*Step 2: Calculations to Select the Maximum Primary Inductance*

The first design calculation aims to find the maximum primary inductor value. There are many different design methods available, but the converter used for this example always operates in DCM. Calculate the primary inductor value (L_{P}) with Equation (1):

The worst-case scenario occurs when the converter works at full power with a minimum input voltage and maximum duty cycle. By implementing the design inputs in Equation 1, the limit for the maximum inductance is determined to be 53μH.

Next, the required turn ratio (n_{S1}) is calculated. To do so, the same worst-case scenario is applied with a minimum V_{IN} and maximum D. The diode’s forward voltage drop is added to make the calculations more precise. Estimate n_{S1} with Equation (2):

*Step 3: MOSFET Calculations*

The next step is to select the right MOSFET for the application. To do so, calculate the maximum current and voltage that the switch will have to withstand. Calculate the maximum voltage with Equation (3):

Note that a 20% security margin has been added to V_{DS_MAX} to ensure the converter’s safe operation. Estimate the maximum current with Equation (4):

Looking at the MP6004 controller specifications, the V_{DS_MAX} for the MOSFET is 180V and the maximum current is 3A. This means that the controller IC can be used safely in this application.

*Step 4: Rectifier Diodes Calculations*

In this step, the rectifier diodes are assessed. As with the MOSFET, the aim is to ensure that the rectifier diode can handle the maximum voltage and current that it may encounter. Calculate the maximum voltage that the diode can withstand with Equation (5):

By adding a 40% safety margin, the maximum reverse voltage is determined to be 60.5V.

*Step 5: Output Capacitor Calculations*

An estimate is used to determine the value of the output capacitor, meaning the second-order aspects of the circuit are ignored, such as parasitic components and output crosstalk. Estimate the voltage in the capacitor with Equation (6):

Note that if this equation is evaluated for t_{ON}, it can be greatly simplified. Calculate the output voltage ripple with Equation (7):

Next, choose a capacitor value to provide an optimal ripple voltage. In this case, a 250µF capacitor is used, which incurs a 12.5mV output voltage ripple.

*Step 6: Flyback Transformer Design and Calculations*

The next design step involves the transformer. There are many design decisions involved in choosing a transformer, such as the core material and core shape. When choosing the core material and shape, each option has its own specific advantages. For this example, the commonly used ferrite core in a double E shape was chosen (see Figure 3).

Click image to enlarge

*Figure 3: Transformer EE Core and Transformer Main Elements*

The method used to calculate the area of the transformer is called the A_{P} method. It defines the total area of the transformer as the product of the winding window area and the area of the core cross-section, where all of the transformer’s magnetic flux is concentrated (see Figure 4).

Click image to enlarge

*Figure 4: A _{P} Method Areas of Interest*

The transformer area can be estimated with Equation (8):

Now the method and the design parameters have been defined, a quick set of calculations can be used to design the transformer.

First, calculate the minimum transformer area using Equation (9):

B_{MAX} is typically a defined input parameter; for ferrite cores it is generally between 0.2T and 0.3T. Using the A_{P} method, an EE13 core and a bobbin with a minimum 0.28mm length have been selected.

The maximum primary and secondary turns that can fit in the transformer are then calculated to maintain the turn ratio calculated in Equation (2). Calculate the primary turn number with Equation (10):

Estimate the secondary turn number with Equation (11):

The auxiliary winding turn number is calculated following the same methodology as the secondary output turn number, resulting in N_{AUX} = 5.

*Step 7: Snubber Design and Calculations*

The last step of the design process is to find the snubber values. This circuit helps to mitigate the voltage spikes that occur due to ringing between the transformer’s leakage inductor and stray capacitances in the circuit at the switching node. Without the snubber, the voltage spikes add noise and can even cause MOSFET breakdown. Figure 5 shows a flyback converter with a snubber circuit.

Click image to enlarge

*Figure 5: Flyback Converter with an Input Snubber Circuit*

For the snubber, the design process is comprised of three stages. First, the leakage inductance is estimated to be about 2% of the primary inductance. Then, a maximum snubber capacitor voltage ripple is set to 10%. Then the values for the snubber components can be estimated.

Calculate the maximum capacitor voltage with Equation (12):

Estimate the power in the snubber resistor with Equation (13):

Using the power as a limiting parameter, calculate the snubber resistor value with Equation (14):

Estimate the value of the snubbing capacitor with Equation (15):

Lastly, calculate the maximum voltage across the snubber diode with Equation (16):

**Final Design**

After calculating the values for all of the converter components, the MP6004 regulator can be paired with its external components to establish a fully functional flyback DC/DC converter.

Note that this circuit includes the components that have been previously mentioned, such as the primary inductor (L_{P}), the auxiliary inductor (L_{P2}),the output capacitor (which is made up of the parallel addition of C_{2A}, C_{2B}, and C_{2C} for improved frequency response), the rectifier diode (D_{1}), and the snubber circuit.

Figure 6 shows the circuit’s final design, as well as new components, such as the MP6004’s primary-side controller. The controller includes the MOSFET switch and all of its related circuitry, as well as some additional components for noise filtering.

Click image to enlarge

*Figure 6: Final Design Circuit Schematic*

**Conclusion**

This article used the MP6004 from MPS to demonstrate how to design a flyback converter in eight simple steps. Though there are many more things to consider before a design is ready for implementation —such as passing EMC tests, control loop design, and component selection — it is important to establish a clear method for calculating and selecting components.

Many design decisions will have significant effects on the overall behavior of the system, so establishing the input design parameters is a crucial first step. These parameters set the constraints for the converter design, and the remaining steps involve selecting values in accordance with these specifications.

Monolithic Power Systems