Magnetic circuits and Ampere’s law

Every relay, transformer and motor is built around a loop of iron carrying magnetic flux, and that loop behaves exactly like an electric circuit — a fact that lets you analyse it with tools you already know. A coil of wire carrying current sets up magnetomotive force (mmf), the magnetic analogue of EMF; the iron core offers reluctance, the analogue of resistance; and the flux that results is the analogue of current. Ampere's circuital law is the physical law underneath this analogy — it says the mmf driving a magnetic circuit equals the closed-loop integral of field intensity along the flux path. Once you can write NI=∮H dlNI = \oint H\,dl and reduce it to NI=ΦSNI = \Phi S for a series path, you can size the coil for a relay, predict how much current a transformer's magnetising winding draws, and explain why a millimetre-scale air gap can dominate an entire machine's design. This article builds that toolkit from Ampere's law up through reluctance, the mmf analogy, and a worked air-gap problem.

The core insight

Ampere's circuital law, ∮H dl=NI\oint H\,dl = NI, reduces for a magnetic circuit to NI=ΦSNI = \Phi S — the magnetic analogue of Ohm's law, with mmf NINI playing the role of voltage, flux Φ\Phi the role of current, and reluctance S=l/(μA)S = l/(\mu A) the role of resistance, so that reluctances of core segments and air gaps in a series flux path simply add.

The core idea

Ampere's circuital law is the starting point. For any closed path that links a coil of NN turns carrying current II — in practice, the mean flux path through a magnetic core —

∮H dl=NI\oint H\,dl = NI

where HH is the magnetic field intensity (A/m) along the path and dldl is an element of path length. The right-hand side NINI is the magnetomotive force (mmf), in ampere-turns (AT): it is the "cause" that drives flux around the circuit, exactly as EMF drives current around an electric circuit.

Flux, flux density and permeability. The flux Φ\Phi (weber, Wb) through a cross-section of area AA gives flux density B=Φ/AB = \Phi/A (tesla, T). The material connects BB to HH through permeability,

μ=BH=μ0μr\mu = \frac{B}{H} = \mu_0 \mu_r

where: μ0=4π×10−7 H/m\mu_0 = 4\pi\times10^{-7}\ \text{H/m} is the permeability of free space and μr\mu_r is the relative permeability of the core material — typically hundreds to a few thousand for magnetic steel, and exactly 1 for air or vacuum. A high-μr\mu_r core needs far less HH (hence less current) to push the same flux density than air does.

Reluctance and the circuit analogy. For a uniform path of mean length ll and cross-section AA, define reluctance

S=lμAS = \frac{l}{\mu A}

Substituting into Ampere's law for a simple loop gives the working equation of every magnetic-circuit problem:

NI=ΦSNI = \Phi S

where: NN is the number of coil turns, II the coil current, Φ\Phi the flux and SS the reluctance of the complete flux path. This is the exact analogue of V=IRV = IR: mmf ↔\leftrightarrow voltage, flux ↔\leftrightarrow current, reluctance ↔\leftrightarrow resistance. Just as series resistors carrying the same current add, series segments of a magnetic path carrying the same flux add their reluctances:

NI=Φ(Score+Sgap)NI = \Phi(S_{\text{core}} + S_{\text{gap}})

Because air has vastly higher reluctance per unit length than iron, even a millimetre-scale gap can dominate the mmf a coil must supply — the theme of the worked example below.

Figure
A toroidal core wound with a coil, showing flux circulating around a mean path length with the coil current producing mmf that drives the flux through the core reluctance
Magnetic circuit — mmf drives flux around a mean path of reluctance S mean path length l flux Phi coil, N turns, current I mmf = N I reluctance S = l / (mu A) N I = Phi S
Derivation ACoil current needed to establish a given flux

The goal is to find the coil current II required to establish a specified flux Φ\Phi in a magnetic core of known mean length ll, cross-sectional area AA, relative permeability μr\mu_r and number of turns NN, starting only from the definitions B=Φ/AB = \Phi/A, μ=B/H\mu = B/H and Ampere's law NI=HlNI = Hl for a simple uniform loop. This is the calculation every magnetic-circuit problem reduces to before an air gap or a second material is added.

Step 1. Find the flux density from the given flux and area: B=Φ/AB = \Phi/A. This is purely geometric — it says nothing about the core material yet, only how much flux is packed into each square metre of cross-section.

Step 2. Find the field intensity the material needs to support that flux density, using H=B/μ=B/(μ0μr)H = B/\mu = B/(\mu_0\mu_r). This is where the material enters: a higher-μr\mu_r core needs much less HH for the same BB.

Step 3. Apply Ampere's law for the uniform loop, NI=HlNI = Hl, treating the mean path length ll as the closed loop in ∮H dl=NI\oint H\,dl = NI (H is essentially constant around a uniform core, so the integral collapses to HlHl).

Step 4. Solve for the current, I=Hl/NI = Hl/N. Equivalently, compute the reluctance S=l/(μ0μrA)S = l/(\mu_0\mu_r A) directly and use NI=ΦSNI = \Phi S — the two routes must agree, and checking that they do is a standard self-check.

Worked example

A ring (toroidal) core of mean length l=0.5 ml = 0.5\,\text{m}, cross-sectional area A=4×10−4 m2A = 4\times10^{-4}\,\text{m}^2 and relative permeability μr=1000\mu_r = 1000 is wound with N=500N = 500 turns. Find the coil current needed to establish a flux Φ=8×10−4 Wb\Phi = 8\times10^{-4}\,\text{Wb}, then find the extra mmf needed if a 1 mm1\,\text{mm} air gap is cut into the core (rest of core now li=0.499 ml_i = 0.499\,\text{m}, same AA and flux, no fringing).

Step 1 — flux density and field intensity. B=Φ/A=(8×10−4)/(4×10−4)=2 TB = \Phi/A = (8\times10^{-4})/(4\times10^{-4}) = 2\ \text{T}. Then H=B/(μ0μr)=2/(4π×10−7×1000)≈1591.5 A/mH = B/(\mu_0\mu_r) = 2/(4\pi\times10^{-7}\times1000) \approx 1591.5\ \text{A/m}.

Step 2 — solid core current. NI=Hl=1591.5×0.5=795.8 ATNI = Hl = 1591.5\times0.5 = 795.8\ \text{AT}, so I=795.8/500≈1.59 AI = 795.8/500 \approx 1.59\ \text{A}. Cross-check via reluctance: S=l/(μ0μrA)≈9.95×105 AT/WbS = l/(\mu_0\mu_r A) \approx 9.95\times10^{5}\ \text{AT/Wb}, giving NI=ΦS≈796 ATNI = \Phi S \approx 796\ \text{AT} — matches.

Step 3 — add the gap: two reluctances in series. Iron path (now li=0.499 ml_i = 0.499\,\text{m}): Si=li/(μ0μrA)≈9.93×105 AT/WbS_i = l_i/(\mu_0\mu_r A) \approx 9.93\times10^{5}\ \text{AT/Wb}. Air gap (μr=1\mu_r=1, lg=1×10−3 ml_g = 1\times10^{-3}\,\text{m}): Sg=lg/(μ0A)≈1.989×106 AT/WbS_g = l_g/(\mu_0 A) \approx 1.989\times10^{6}\ \text{AT/Wb}. Total S=Si+Sg≈2.982×106 AT/WbS = S_i + S_g \approx 2.982\times10^{6}\ \text{AT/Wb}.

Step 4 — new mmf and current. NI=ΦS=(8×10−4)(2.982×106)≈2386 ATNI = \Phi S = (8\times10^{-4})(2.982\times10^{6}) \approx 2386\ \text{AT}, so I=2386/500≈4.77 AI = 2386/500 \approx 4.77\ \text{A}. The current jumps from about 1.59 A to about 4.77 A — roughly triple — because a gap only 0.2% of the mean path length has almost twice the reluctance of the entire iron path.

Competitive stretch

If the same 1 mm gap were doubled to 2 mm (same AA, same flux), SgS_g doubles to about 3.98×106 AT/Wb3.98\times10^{6}\ \text{AT/Wb}, total S≈4.97×106 AT/WbS \approx 4.97\times10^{6}\ \text{AT/Wb}, and NI≈3978 ATNI \approx 3978\ \text{AT}, so I≈7.96 AI \approx 7.96\ \text{A} — the current has grown roughly linearly with the gap length because SgS_g dominates SiS_i once the gap is present. This is why designers treat air-gap length as one of the most sensitive parameters in a magnetic circuit.

Common traps

  • Confusing BB and HH: B=μHB = \mu H depends on the material, while H=NI/lH = NI/l depends only on current and geometry — never treat their numerical values as interchangeable.
  • Using μ0μr\mu_0\mu_r for the gap reluctance instead of plain μ0\mu_0; the gap is air, so μr=1\mu_r = 1 there even though the rest of the core uses the iron's μr\mu_r.
  • Adding fluxes instead of reluctances (or vice versa) in a series path — series segments carry the same flux and their reluctances add, just like series resistors carrying the same current.
  • Using the physical/outer core length instead of the mean (centre-line) flux path length in ll.

Ask the tutor: If the jump from a solid core's 1.59 A to the gapped core's 4.77 A still feels surprising, ask the AI tutor to walk through why the gap reluctance SgS_g ends up nearly twice SiS_i despite being a thousand times shorter.

Why does the air gap need so much more mmf than the iron even though it is a thousand times shorter

Because reluctance is S=l/(μA)S = l/(\mu A), and for the gap μ=μ0\mu = \mu_0 while for the iron μ=μ0μr\mu = \mu_0\mu_r with μr\mu_r in the hundreds or thousands. The gap's length is tiny, but it is divided by a permeability that is μr\mu_r times smaller, so its reluctance per metre is far higher. In the worked example a gap only 0.2% of the mean path length still contributed almost two-thirds of the total reluctance — that ratio is the whole reason air gaps dominate magnetic-circuit design.

Is Ampere's law here the same as the Ampere's law with the curl and Maxwell's equations from full electromagnetics

It is the same underlying law, but this course only needs its integral, lumped-circuit form, ∮H dl=NI\oint H\,dl = NI, applied to a mean flux path. The differential (curl) form and Maxwell's addition of a displacement-current term belong to a full field-theory treatment, which is explicitly out of scope here — you only need to evaluate the closed-loop integral along a core's mean path and set it equal to the total enclosed ampere-turns.

Do I always assume all the flux stays inside the core, with none leaking out at the gap

For these problems, yes — you are told to neglect fringing, meaning the flux is assumed to cross the air gap with exactly the same cross-sectional area AA as the iron. In a real machine, flux does bulge outward at a gap (fringing), which effectively increases the gap's cross-section and slightly lowers its reluctance, but that correction belongs to a more advanced treatment; for the syllabus level here, keep AA the same on both sides of the gap.

Before this

Where this leads