Introduction
Flyback converters, isolated buck-boost-derived converters, are highly popular for their efficiency, simplicity, and cost-effectiveness, making them integral to numerous electronic applications. The most important part of the converter is a coupled inductor, often referred to as a transformer, making its design the pivotal aspect of the flyback architecture. The term “flyback” in this context originates from the operation of the transformer within the circuit. Unlike conventional converters, where the transformer operates continuously, in a flyback converter, energy is stored in the transformer during the on-time of the switching cycle and then released, or “flyback,” during the off-time. So, the need to properly design the air gap for energy storage, estimate core and winding losses, and accurately estimate parasitic capacitance, particularly at high switching frequencies, makes designing a flyback transformer challenging. Using finite element numerical simulations, we can account for non-homogeneous temperature distributions within different parts of the transformer. By accurately modeling these temperature variations, the simulations ensure precise estimation of core and copper losses. Moreover, the rise in temperature due to these losses can also be studied using a coupled electro-thermal analysis to ensure that the flyback transformer works below the critical temperature to prevent the degradation of dielectric materials.
Model description
A flyback transformer with an RM8/I-3C97 core being modeled is operated at 150 kHz, as described in the Frenetic & Omicron Lab webinar. Both the primary and the secondary winding utilize stranded Litz wire. The detailed specifications of the core and the windings have been provided below.
Core Specification
Core | Core material | Air gap (mm) | Gap material |
RM8/I-3C97 | Ferroxcube 3C97 | 0.3 | Fiberglass Reinforced Epoxy (FR4) |
Winding Specification
Winding | Wire type | No. of turns | No. of layers | No. of strands | Strand diameter (mm) | Wire diameter (mm) |
Primary | Litz | 24 | 2 | 45 | 0.05 | 0.555 |
Secondary | Litz | 4 | 1 | 120 | 0.1 | 2.0 |
The simulation encompasses the computation of various parameters crucial to the design of a flyback transformer, including core and copper losses, temperature rise, and interwinding capacitance.
Modelling Instructions
Setup
- From the Model Builder, click on the Setup tab.
- Locate the General section and set the Domain type as Symmetric due to its symmetry along the z-axis. This setting is beneficial for models with a plane of symmetry that divides the core and coil into symmetrical segments. This method ensures that the computed values reflect the complete system despite only modeling a symmetrical section. Subsequently, parameters such as voltage, resistance, losses, inductance, and other related values are appropriately scaled to represent the entire geometry accurately.
- In the Simulation Type section, set Electromagnetics to Transient to account for the time-dependent nature of non-sinusoidal waveforms in a flyback transformer. These waveforms exhibit rapid changes and non-linearities that steady-state or harmonic analysis cannot accurately capture. Transient analysis divides the waveform into small time steps, allowing for precise modeling of the system’s dynamic behavior.
- Additionally, set Heat transfer to Steady-state.
- Check the Capacitance box to calculate interwinding capacitance between primary and secondary windings.
Materials
- From the Model Builder, select the Materials tab.
- From the Global Material section, select Copper and click the Copy button.
- Copy Epoxy, 3C97 Ferroxcube 100C, and Fiberglass Reinforced Epoxy (FR4) from the Global Materials section to the Local Materials section in a similar manner.
- In the Default Materials section, select the material type for each component from the dropdown list as per the table below:
Component Core Coil Others Bobbin Gaps Material type 3C97 Ferroxcube 100C Copper Not set Epoxy Fiberglass Reinforced Epoxy (FR4)
Core
- From the Model Builder, click on the Core tab.
- Click the New Group button. The Group1core will open.
- Click the Open in new tab icon.
- From the Source dropdown list, select Template.
- From the Scale dropdown list, select mm.
- From the Gap Type dropdown list, select Physical.
This will cut the core geometry and create a gap as a separate body with assigned material properties.
- In the Rotation and Translation section, set the rotation to 90 deg.
- In the Geometry Builder section, select RM from the Type dropdown list, and set the dimensions (mm) as per the table below:
A B C D1 D2 E F G 23.2 11.0 9.5 8.55 17.0 16.4 10.8 19.7 - Click the Apply button.
- Click the New Gap button.
- In the gMin and gMax text fields, enter -0.15 and 0.15, respectively.
- From the Limb dropdown list, select the Central Limb.
Coil
- Click on the Coil tab from the Model Builder.
- Click the New Group tab. Group1coil will show up. This will represent our primary winding.
- Click the Open in new tab icon. The Group1coil tab will be added.
- From the Source dropdown list, select Template.
- From the Scale dropdown list, select mm.
- From the Wire Type dropdown list, select Stranded & Litz wire.
- Set the Turns per solid to 24.
This parameter allows the approximate multiple turns with simple geometry, reducing the geometry’s complexity and facilitating faster results by avoiding excessively small meshing in that area.
- In the Geometry Builder section, set the Type to Filled and the Linked Core to None. Enter the dimensions (mm) according to the table below:
a b c R h 0.0 0.0 1.1 4.8 8.0 - Click the Apply button.
- Click the Configure Wire button.
Given the flyback transformer’s complex and non-sinusoidal waveform characteristics, calculating the proximity factor solely for the fundamental frequency isn’t sufficient. It’s necessary to consider all significant frequencies. TRAFOLO can decompose the waveform into constituent harmonics and calculate the proximity coefficient for each harmonic using Dowell’s method, ultimately deriving the effective proximity factor for transient electromagnetic simulation. Alternatively, TRAFOLO also allows users to calculate the proximity factor by referring to online calculators. However, such calculators should treat each harmonic separately
- To calculate the proximity factor using in-build Dowell’s method, select Dowell’s Equation from Rac computation methods.
- In the Number of Layers text field, enter 13.
For Litz wire, the effective number of layers is given by:
N_Effective = N_layers * sqrt(N_strands).
In this case, N_layers equals 2 and N_strand equals 45
- To calculate the Fill Factor, click the Calculator button. Enter the data as per the table below:
Strand type Strand thickness (mm) N Strand Litz 0.05 45
The calculated proximity factors will be available in the results section.
- Set the Turns per solid to 1.
Building them separately is optimal since only a few turns are required in the secondary winding.
- Navigate to the Geometry Builder section.
- From the Type dropdown list, select Massive.
The Massive type is chosen instead of the Filled type to accommodate the required curvatures in the geometry, particularly for building the turns separately.
a | b | c | R | h | N | r | |
0.0 | 0.0 | 1.1 | 4.8 | 8.0 | 4 | 1.0 |
- In the Number of Layers text field, enter 11.
For Litz wire, the effective number of layers is given by:
N_Effective = N_layers * sqrt(N_strands).
In this case, N_layers equals 1 and N_strand equals 120
- To calculate the Fill Factor, click the Calculator button. Enter the data as per the table below:
Strand type Strand thickness (mm) N Strand Litz 0.1 120
- The calculated Fill Factor will be displayed. Click the Accept button to update the Fill Factor values in the coil.
- Click the Apply button.
The calculated proximity factors will be available in the results section.
Other
- If there is any additional body type like clamp, dielectric, or shield, it can be included in Other. Here, this step can be skipped.
Bobbin
- From the Model Builder, click on the Bobbin tab.
- Click the New Group button. The Group1bobbin will be added.
- Click the Open in new tab icon. The Group1bobbin tab will open.
- From the Source dropdown list, select Template.
- From the Scale dropdown list, select mm.
- Locate the Geometry Builder section.
- Enter the details as per the below table.
Type Linked Coil H Rin Rout Cylinder Group2coil 8.5 0.0 7.1 - Click the Apply button.
Type | Linked Coil | H | Rin | Rout |
Cylinder | None | 1.15 | 0.0 | 8.5 |
- In the Rotation and Translation section, modify the y text field to -4.825 mm for translation. Click the Apply button.
Assembly
- In the Model Builder, click the Assembly tab
- Click the Assemble Geometry button. The assembled geometry will be displayed.
EIMag
- From the Model Builder, open the EIMag tab.
- Locate the Primary Winding section.
- Set the Excitation to Irms [A] and the Coil group connection type to Series from the dropdown list.
- Enable the Secondary Winding by checking the box.
- Set the Excitation to Irms [A] and the Coil group connection type to Series from the dropdown list.
- Set the Winding and Connection as per the table below:
Coil Group Winding Connection Group1coil Primary Series Group2coil Secondary Series
Circuits
- From the Model Builder, select the Circuits tab.
The software sets up circuits automatically, connecting FEM components and sources in series. Equal indexes for positive/negative nodes indicate that elements are connected. Nodes that are not connected should have different indexes.
- Click the Apply button.
Waveform
- From the Model Builder, select the Waveform tab.
- Mark the Load From File button.
- In the Frequency [Hz] text field, enter 150000.
- In the Periods text field, enter 2.
- In the #Points per period text field, enter 37.
- Check the Optimize Timesteps checkbox.
It enables the software to use interpolation algorithms to redistribute the small timesteps generated by the circuit simulator and interpolate waveform values
- From the Algorithm dropdown list, select 4.
The algorithms differ in how they distribute the points. Algorithm 1 distributes the points uniformly, while the others allocate more points in the region of steep/sudden change to resolve them accurately. The user must check which algorithm best suits the waveform.
- Check the Skip 1st period from the averaged losses checkbox, as the first few timesteps in transient simulation typically have high errors.
- Click the Import button to import the waveform file.
- From the Time dropdown list, select SW1-Current-Time [s].
- From the Primary Source dropdown list, select SW1-Current.
- From the Secondary Source dropdown list, select TX1-W2-Current.
- In the Discrete Fourier Transform section, set the Number of harmonics as 7. It is evident from DFT graphs that these harmonics have significant amplitude and hence will be used to calculate the effective proximity effect.
As an additional consideration, harmonizing into fundamental and other harmonics may lead to significant loss errors in the case of flyback transformers. Hence, it’s not advisable to Harmonize in this scenario.
Heat
- From the Model Builder, click on the Heat tab.
- In the Settings section, enter 115.0 as the Initial Temperature in deg C.
The initial temperature is set as a preliminary guess. After obtaining the first result, the user can adjust the temperature to an appropriate value based on the temperature distribution in the geometry. Alternatively, the user can increase the number of iterations, though this will require solving electromagnetic and thermal problems multiple times.
- In the Temperature Iteration text field, enter 1.
- Locate the Boundary Conditions section.
- Click on Group1bobbin.
- In the Type dropdown list, select Convection.
- In the External temperature text field, type 26.
- In the Heat transfer coefficient text field, type 5.0.
Generally, the Heat transfer coefficient for natural cooling is around 5.0 W/m2K. It can also be calculated using the Heat transfer coefficient calculator link or empirical equations.
- Set the Boundary conditions for other components in a similar manner.
Mesh
- From the Model Builder, click on the Mesh tab.
- In the Settings section, from the Mesh Refinement dropdown list, select Coarse.
- Click the Evaluate Mesh button.
- Click the Compute Mesh button.
Solve
- From the Model Builder, click on the Solve tab.
- Click on the Simulation Setup button, followed by the Run Simulation button.
Results
- From the Model Builder, click on the Results tab.
- Click on the Summary tab to get the average values of various parameters.
- Further, the user can switch between the Results tabs to visualize the processed results.
- Click the Open in ParaView button to open simulation results in post-processing software.
It allows manipulation with results, changing color schemes, making slices, and doing any other manipulations with results.
The Results Summary tab provides the average values of the evaluated losses for the various components, hotspot temperature, DC resistance, and interwinding capacitance. It can be inferred from the data in the Summary tab that the core loss is almost double the winding losses.
The peak magnetic flux density is observed using the timesteps at time = 3 µs, as shown in the figure above. The figure indicates that the central limb has a maximum flux density of approximately 0.3 T, well below the saturation threshold. The core loss, governed by flux density, also shows maximum losses at time = 3 µs.
Due to the switching operation in the flyback converter, coil losses occur in the primary winding during the first half, and in the secondary winding during the second half of the switching cycle, as the current flows through the coils. These losses can be observed in the Coil Losses tab from the timesteps.
The figure above shows an instance of coil loss in the primary winding while charging the coupled inductor during the first half of the switching cycle.
The figure above shows an instance of coil loss in the secondary winding while discharging the coupled inductor during the second half of the switching cycle.
The temperature distribution plot indicates that the highest temperature occurs in the central limb, followed by primary and secondary windings. The hotspot temperature, approximately 112 °C, is below the critical temperature of the transformer.
Conclusion
The core and winding losses of 0.735 W and 0.345 W, respectively, have been estimated in the present analysis using TRAFOLO. It is also observed that the core losses are nearly double the winding losses. Frenetic, on the other hand, has estimated core losses that are lower than copper losses, at 0.41 W and 0.97 W, respectively. For TRAFOLO and Frenetic, the overall losses are 1.08 W and 1.38 W, respectively.