# Flyback Converter

This example shows a DC-DC Flyback Converter with:

• an input voltage of 48 V,
• an output voltage of 12 V,
• a power of 24 W transferred to the output resistor.

The Flyback converter is in reality a power supply based on the principle of an inductive storage chopper, it is a static converter with a galvanic isolation between the input and the output. Its basic scheme is similar to a Buck-Boost converter in which the inductor is replaced by a transformer (actually two coupled inductances). The Flyback converter is generally used in power applications (LCD monitor, CRT TV, DVD player, ...).

## Model

In this model, all components are ideal.

In the on-state, the switch is closed, the primary of the transformer is directly connected to the input voltage source. This results in an increase of the magnetic flux in the transformer. The voltage at the secondary boundaries is negative, blocking the diode. It is the output capacitor that provides the energy required by the load.

In the off-state, the switch is opened. The energy stored in the transformer is transferred to the load.

## Switch control

The mosfet model can be directly connected with a control signal. For this control, we use a PWM block with an amplitude of 1, a duty cycle of 0.455 and a frequency of 100 kHz.

Here are the values of the other components :

• inductor L1 : 220 uH and initial current = 0 A,
• capacitor C2: 100 uF and initial voltage = 3 V,
• resistor R1: 1 m Ω,
• resistor R2: 6 Ω,
• diode D1: Rd = 0 Ω and Forward voltage = 0 V,
• transformer TX1: ratio $\frac{V2}{V1} = 0.3$.

## Simulation

The results below show the output voltage across R2 with a duty cycle= 0.455. A zoom shows a measure of the average value of this voltage : 12 V.

The results below show the output current through R2 with a duty cycle= 0.455. A zoom shows a measure of the average value of this current : 2 A.

The results follow the equation: $V_{out} =\frac{N2}{N1} \times V_{in} \times \frac{D}{1-D}$

with:

• D: Duty cycle
• $V_{in}$: Input voltage
• $V_{out}$: Output voltage
• N2: Number of turns at secondary
• N1: Number of turns at primary