magnetic_components​_toolbox_matlab

MATLAB Toolbox for Power Magnetics: Model and Optimization
163 Downloads
Updated 1 Mar 2022

MATLAB Toolbox for Power Magnetics: Model and Optimization

license - BSD language - MATLAB category - power electronics status - unmaintained

This MATLAB toolbox allows for the modeling and optimization of power magnetic components:

  • medium-frequency inductors
  • medium-frequency transformers
  • computation of the mass and volume
  • extraction of the equivalent circuit
  • computation of the core and winding losses
  • fast and accurate semi-numerical methods
  • plotting of the winding and core geometries
  • brute-force optimization (parallel code)
  • flexible object-oriented design

The following methods/functionalities are provided for the core modeling:

  • iGSE for the core losses (with locally fitted parameters from a loss map)
  • linear reluctance solver with 3D air gap models
  • multiple air gaps are allowed
  • multiphases components are allowed

The following methods/functionalities are provided for the winding modeling:

  • mirroring method with inductance matrix and field evaluation (with/without air gaps)
  • solid wire windings (including skin and proximity losses)
  • stranded (Litz) wire windings (including skin and proximity losses)
  • multiple air gaps are allowed
  • multiphases components are allowed
  • model of the winding heads

Currently, the following components are implemented:

  • inductors and two-winding transformers with shell-type windings
  • U-core, C-core, and E-core

However, additional components can be added by implementing abtract classes. More specifically, the code could handle the following cases (without modifying the core classes):

  • multiphase components (transformers or chokes)
  • other winding geometries (core-type, matrix, etc.)
  • other core geometries (ELP, RM, etc.)
  • distributed airgaps

Getting Started

Two DC-DC converters are considered as examples:

  • a resonant converter (SRC-DCX) with a MF transformer
  • a bidirectional Buck converter (Buck DC-DC) with a MF inductor

Both converteres are operating between 400V and 100V buses with a rated power of 5kW. The component geometry (core and windings) and the operating frequency are optimized.

The example consists of the following files:

Gallery

Buck DC-DC Inductor

SRC-DCX Transformer

Pareto Fronts

Toolbox Organization

The power magnetic toolbox contains the following packages:

Compatibility

  • Tested with MATLAB R2015b and R2021a.
  • Parallel Computing Toolbox.
  • Compatibility with GNU Octave not tested but probably problematic.

Author

Thomas Guillod - GitHub Profile

This toolbox shares some files/ideas with the following repositories:

License

This project is licensed under the BSD License, see LICENSE.md.

Cite As

Thomas Guillod (2024). magnetic_components_toolbox_matlab (https://github.com/otvam/magnetic_components_toolbox_matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

example_files

example_files/buck_dc_dc

example_files/signal

example_files/src_dcx

magnetic_toolbox

magnetic_toolbox/component

magnetic_toolbox/component/component_example

magnetic_toolbox/component/component_lib/component_type

magnetic_toolbox/component/component_lib/component_utils

magnetic_toolbox/core

magnetic_toolbox/core/core_example

magnetic_toolbox/core/core_lib/core_component

magnetic_toolbox/core/core_lib/core_geom

magnetic_toolbox/core/core_lib/core_material

magnetic_toolbox/core/core_lib/reluctance_method

magnetic_toolbox/sweep

magnetic_toolbox/sweep/sweep_example

magnetic_toolbox/sweep/sweep_lib

magnetic_toolbox/window

magnetic_toolbox/window/window_example

magnetic_toolbox/window/window_lib/conductor

magnetic_toolbox/window/window_lib/mirroring_method

magnetic_toolbox/window/window_lib/winding

magnetic_toolbox/window/window_lib/window_component

magnetic_toolbox/window/window_lib/window_geom

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.