Hysteresis Loss & Magnetic Circuit Designer Back
Electromagnetics Tool

Hysteresis Loss & Magnetic Circuit Designer

Design toroidal, E-core, and gapped solenoid magnetic circuits using the reluctance model. Real-time calculation of flux Φ, inductance L, and core loss. Fringing flux correction included.

Circuit Parameters
Topology
Core cross-section A [cm²]
cm²
Mean path length lc [cm]
cm
Air gap lg [mm]
mm
Turns N
Current I [A]
A
Relative permeability μr
Frequency f [Hz]
Hz
Results
Flux Φ [μWb]
Flux density B [T]
MMF = NI [A·T]
Inductance L [mH]
Reluctance [MA/Wb]
Core loss [W]
Magnetic Circuit Cross-Section
Flux Φ vs MMF (NI)
Inductance L vs Current I (Nonlinear μr Effect)
Theory & Key Formulas

Reluctance (magnetic resistance):

$$\mathcal{R}_{core}= \frac{l_c}{\mu_0 \mu_r A}, \quad \mathcal{R}_{gap}= \frac{l_g}{\mu_0 A_{eff}}$$

Ampere's law: $NI = \Phi (\mathcal{R}_{core}+ \mathcal{R}_{gap})$

Inductance: $L = N^2 / (\mathcal{R}_{core}+ \mathcal{R}_{gap}) = N\Phi/I$

Fringing correction: $A_{eff}\approx (\sqrt{A}+ l_g)^2$

What is Magnetic Circuit Design & Hysteresis Loss?

🙋
What exactly is a "magnetic circuit," and why do we design them like electrical circuits?
🎓
Basically, it's a way to model how magnetic flux flows through materials like iron cores, using concepts similar to Ohm's law. Magnetic flux ($\phi$) is like current, magnetomotive force (MMF, from $NI$) is like voltage, and reluctance ($\mathcal{R}$) is like resistance. In practice, this lets us calculate the inductance of a coil wrapped around a core. Try moving the "Relative permeability ($\mu_r$)" slider in the simulator—you'll see how a high-permeability core (like iron) drastically reduces the total reluctance, allowing more flux for the same current.
🙋
Wait, really? So the air gap is like adding a big resistor in the magnetic path? What's the point of that?
🎓
Exactly! The air gap has a much higher reluctance than the core. While it reduces the overall inductance (which you can see by adding a gap with the "Air gap ($l_g$)" control), it's crucial for stability. For instance, in an inductor for a DC-DC converter, the gap prevents the core from saturating (becoming non-linear) when a large DC current flows. The simulator shows this trade-off: more gap means lower inductance but a more linear, energy-storage-friendly component.
🙋
Okay, that makes sense for the static case. But what is "Hysteresis Loss" and why does it depend on frequency?
🎓
Great question! Hysteresis loss is the energy turned into heat because the core's magnetic domains "drag" as they flip back and forth with the alternating magnetic field. Each cycle around the hysteresis loop wastes some energy. So, if you double the frequency ("Frequency ($f$)" slider), you double the number of cycles per second, doubling the power loss. A common case is in a power transformer running at 60 Hz vs. a high-frequency switch-mode transformer at 100 kHz—the core material must be chosen carefully to avoid excessive heating at high frequencies.

Physical Model & Key Equations

The core of the analysis is the magnetic Ohm's Law, derived from Ampere's Law. The magnetomotive force (MMF) drives flux through the total reluctance of the circuit.

$$NI = \phi \left( \mathcal{R}_{core}+ \mathcal{R}_{gap}\right)$$

Here, $NI$ is the amp-turns (MMF), $\phi$ is the magnetic flux, $\mathcal{R}_{core}$ is the reluctance of the ferromagnetic core, and $\mathcal{R}_{gap}$ is the reluctance of the air gap. The flux is directly proportional to the inductance of the coil.

The individual reluctances are calculated from the geometry and material properties. The gap reluctance uses an effective area to account for "fringing" flux that bulges out at the edges.

$$\mathcal{R}_{core}= \frac{l_c}{\mu_0 \mu_r A}, \quad \mathcal{R}_{gap}= \frac{l_g}{\mu_0 A_{eff}}$$

$l_c$ is the mean magnetic path length in the core, $A$ is its cross-sectional area, $\mu_r$ is the relative permeability (a material property), and $\mu_0$ is the permeability of free space. $l_g$ is the gap length, and $A_{eff} \ge A$ is the effective area accounting for fringing. This shows why $\mu_r$ is so powerful: a value of 3000 makes the core reluctance 3000 times smaller than an equivalent air path.

Frequently Asked Questions

The effective area A_eff of the air gap is corrected by multiplying the actual gap area by a fringing coefficient. Specifically, using the gap length lg and the perimeter of the core cross-section, it is approximated as A_eff = (a + lg)(b + lg), which accounts for the spread of magnetic flux and reduces the reluctance.
Core loss is calculated using the Steinmetz coefficients (K, α, β) of the material, along with the frequency f and the maximum magnetic flux density Bm, using the formula P = K * f^α * Bm^β. The tool includes coefficients for common ferrite and silicon steel, but users can also input arbitrary values.
The main factors are the magnetic path shape and the presence or absence of an air gap. Toroidal cores have a closed magnetic path with little leakage flux, resulting in high inductance, while E cores have a gap that increases reluctance and makes fringing effects more pronounced. The tool applies reluctance models specific to each shape.
First, verify that the relative permeability μr of the core is correct for the frequency and magnetic flux density. Also consider measurement errors in the air gap length, whether fringing correction is applied, and the effect of resonance due to winding stray capacitance. The tool allows you to adjust parameters and recalculate.

Real-World Applications

Power Transformers (Grid Distribution): These use closed cores (like the E-core in the simulator) with minimal air gap to maximize inductance and coupling efficiency at 50/60 Hz. Core material (e.g., silicon steel) is chosen for low hysteresis loss to prevent energy waste and heating in massive transformers that run continuously.

Switching Power Supply Inductors: Found in phone chargers and computers, these inductors must store energy without saturating under high DC current. Designers intentionally add an air gap (as you can simulate) to linearize the B-H curve, trading some inductance for robustness and higher energy storage capacity.

Electric Vehicle Motor Cores: The stators and rotors in EV motors are complex magnetic circuits made of laminated steel. CAE tools use these exact reluctance models to optimize torque and efficiency while minimizing core losses (hysteresis & eddy current) at high rotational frequencies, which directly impacts driving range.

Sensors & Actuators: Solenoids for valves or relays, and inductive proximity sensors, rely on precise magnetic circuit design. The relationship between current, force, and displacement is calculated using the reluctance model, where the "air gap" is often the moving part itself.

Common Misconceptions and Points to Note

When you start using this tool, there are several points that are easy to misunderstand, especially for those without practical experience. A major misconception is the idea that a material with a higher relative permeability μr always allows you to build a higher-performance inductor. While a high μr does allow for fewer turns, it also means magnetic saturation occurs sooner, degrading the DC bias characteristics. For example, if you build an inductor without a gap using a ferrite core (μr=2000), there is a risk it will saturate with a small DC current, causing the inductance value to plummet. High-permeability materials should primarily be considered for applications requiring small currents and high precision, such as signal transformers.

Next is a point of caution regarding parameter settings. While you often use the "Effective Magnetic Path Length le" from the datasheet directly as the "Core Magnetic Path Length lc", you must not forget that when combining E-cores or U-cores, the slight gap at the mating surfaces acts as an additional air gap. This "effective gap length" tends to be larger than the calculated value, contributing to discrepancies between the designed and measured inductance values. A useful tip is to estimate the "lg" slightly larger in the tool for simulation.

Finally, there is the issue of underestimating hysteresis loss. While the tool assists in loss-conscious design, the "Hysteresis Coefficient" you input is a function of frequency and flux density, not a constant value. For instance, the coefficient differs significantly between 100kHz, 0.1T and 200kHz, 0.2T. In practice, you need to be careful and select a coefficient anticipating the worst-case conditions, referring to the manufacturer's loss datasheet for your target frequency and flux density range.