First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Electromagnetism and magnetic circuits

Electromagnetism and magnetic circuits: fields (B, H, flux), materials and B–H, MMF/reluctance/flux, Ampere’s law, magnetic circuit analogies, air gap effects, inductance and energy, force and torque; with formulas and numericals.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Electromagnetism explains how motors, transformers, relays, magnetic sensors, and inductors work. Magnetic circuits let engineers design cores and air-gaps to achieve required flux, inductance, force, and torque reliably and efficiently.

Key ideas

  • Magnetic flux density (B): Magnetic field strength in terms of flux per unit area; SI unit tesla (T = Wb/m²).
  • Magnetic field strength (H): Magnetizing force due to currents; SI unit ampere per metre (A/m).
  • Magnetic flux (Φ): Total magnetic field passing through a surface; SI unit weber (Wb). Φ = ∫ B · dA.
  • Permeability (μ): A material property that relates B to H: B = μ H. SI unit henry per metre (H/m). In free space, μ0 ≈ 4π × 10⁻⁷ H/m ≈ 1.25663706 × 10⁻⁶ H/m (approximate in the redefined SI; use this value unless instructed otherwise). For a material, μ = μr μ0, where relative permeability (μr) is dimensionless.
  • Ampere’s circuital law (integral form): The line integral of H around a closed path equals the algebraic sum of currents enclosed: ∮ H · dl = NI_enclosed. Assumptions: magnetostatics (steady currents), macroscopic fields, path integral taken around a closed contour. For a toroid of mean length l carrying current I with N turns, H ≈ NI/l (uniform H assumption).
  • Biot–Savart law (statement): The magnetic field contribution dB at a point due to a current element Idl is proportional to I, to the element length, and inversely to the square of the distance, and directed by right-hand rule. Exact vector form is typically covered in physics; for BEE we mainly use Ampere’s law for simple geometries.
  • Right-hand rules: For a straight conductor, thumb along current, curled fingers show direction of B. For a coil, curled fingers along current, thumb gives direction of field (H and Φ).
  • Force on a current-carrying conductor: A conductor of length l in a magnetic field B experiences force F = B I l sinθ, direction by Fleming’s left-hand rule (index: field, middle: current, thumb: force). For a moving charge q with velocity v, Lorentz force: F = q(v × B).
  • Torque on a current loop: A rectangular coil of N turns, area A, in uniform B, carrying current I, experiences torque τ = N B I A sinθ. In newton-metres (N·m).
  • Magnetic materials:
    • Ferromagnetic: High μr, strong B for small H (e.g., silicon steel, iron). Used for cores.
    • Paramagnetic/diamagnetic: μr slightly more than or less than 1; weak effect.
    • B–H curve: Relation between B and H. Nonlinear; shows saturation (B increases slowly beyond a point).
    • Hysteresis loop: When H cycles, B lags H forming a loop. Key parameters: retentivity (Br) (residual B at H = 0), coercivity (Hc) (H needed to bring B to 0), hysteresis loss (energy per cycle = loop area), and material classification as soft (low Hc, low loss) or hard (high Hc, for permanent magnets).
  • Magnetic circuits (analogy to electric circuits: Hopkinson’s law):
    • Magnetomotive force (MMF, F): The “driving force” of magnetic flux, produced by current in turns. F = NI, in ampere-turns (A·turns).
    • Reluctance (ℜ): Opposition to magnetic flux: ℜ = l/(μA), in A·turns per weber (A·turns/Wb). Here l is magnetic path length (m), A is cross-section (m²).
    • Flux (Φ): Analogous to current I_elec. Magnetic Ohm’s law: Φ = F/ℜ, assuming linear material (constant μ) and negligible leakage.
    • Series and parallel magnetic circuits: MMFs add in series; fluxes split in parallel inversely proportional to reluctances (analogous to resistors).
  • Air gap: Introducing a non-magnetic gap (μ ≈ μ0) in a ferromagnetic core drastically increases total reluctance, dominates MMF requirement, and linearizes the B–H behavior (useful for inductors and actuators). Fringing increases effective gap area slightly (approximation often used: A_gap,eff ≈ A_core × (1 + g/width) for rectangular sections; use cautiously and state assumption).
  • Leakage flux and fringing:
    • Leakage flux: Flux that does not follow the intended core path; modeled by leakage reluctances.
    • Fringing: Spreading of flux in the air gap; increases effective area and reduces gap reluctance. Usually a correction factor provided or neglected unless stated.
  • Inductance (L): For a coil linking flux Φ per turn: L = NΦ/I (linear case). For a magnetic circuit: L = N²/ℜ_total (if leakage neglected). SI unit henry (H).
  • Energy in magnetic fields: Energy stored W = ½ L I² (linear). Energy density u = ½ B·H = B²/(2μ) = μH²/2. In gapped cores, most energy is stored in the air gap.
  • Force in magnetic actuators: For a uniform air gap with area A and flux density B normal to the surface, magnetic pull (approximate) F ≈ (B² A)/(2 μ0), neglecting fringing and assuming field confined to the area A.

What to draw and label in answers (describe diagrams):

  • B–H curve and hysteresis loop: Horizontal axis H (A/m), vertical axis B (T). Show initial magnetization curve to saturation; then a closed loop for hysteresis. Mark Br (B at H=0) and Hc (H at B=0) clearly.
  • Simple magnetic circuit with air gap: A rectangular core with a coil (N turns) on one limb, cross-sectional area A, mean path length l_core, and an air gap of length g on the same limb. Indicate direction of Φ, label ℜ_core and ℜ_gap, and MMF NI around loop.
  • Toroid: Doughnut-shaped core with N turns uniformly wound. Label mean circumference l, cross-section A, and show H = NI/l tangential around the core.
  • Force on conductor: A straight conductor of length l in a uniform field between magnet poles; show B direction, current direction, and resulting force using left-hand rule labels.

Assumptions commonly used in derivations and numericals:

  • Uniform cross-section A and flux density B along the specified path segment.
  • Linear region of B–H curve (constant μ) unless stated; otherwise piecewise calculation using actual B–H data.
  • Negligible leakage except where specified; negligible fringing unless a correction is provided or requested.
  • For toroids, negligible external field (closed magnetic path).

Formulas

B = μ H B: flux density (T), H: field strength (A/m), μ: permeability (H/m). Linear material or local tangent relation.

μ = μr · μ0 μr: relative permeability (dimensionless), μ0: permeability of free space (4π×10⁻⁷ H/m, exact).

Φ = ∫ B · dA Φ: magnetic flux (Wb), B: flux density (T), A: area (m²). For uniform B normal to area: Φ = B A.

F = N · I F: magnetomotive force (A·turns), N: turns, I: current (A).

ℜ = l / (μ A) ℜ: reluctance (A·turns/Wb), l: path length (m), μ: permeability (H/m), A: cross-section (m²).

Φ = F / ℜ_total Magnetic Ohm’s law. Applies under linear, lumped-parameter magnetic circuit assumptions.

H = N I / l For a toroid or long solenoid with mean path length l (m), assuming uniform H, negligible leakage.

Fcond = B · I · l · sinθ Force on a straight conductor in uniform B: Fcond (N), B (T), I (A), l (m), θ angle between l and B.

τ = N · B · I · A · sinθ Torque on a coil: τ (N·m), N (turns), B (T), I (A), A (m²), θ angle between coil normal and B.

L = N Φ / I Inductance (H) for linear circuits; Φ (Wb) per turn at current I (A).

L = N² / ℜ_total Inductance (H) via magnetic circuit reluctance. Linear assumption and negligible leakage.

e = -N dΦ/dt Faraday’s law of electromagnetic induction for a coil (V). Lenz’s law gives the negative sign (emf opposes change in flux).

v_L = L di/dt Voltage across an inductor with constant L (V).

e_m = B · l · v · sinθ Motional emf for a straight conductor of length l moving at speed v in uniform B (V).

W = ½ L I² Magnetic energy stored (J) in a linear inductor.

u = ½ B H = B² / (2 μ) = μ H² / 2 Energy density (J/m³) in a magnetic field region.

Fgap ≈ (B² A) / (2 μ0) Attractive force across a uniform air gap: Fgap (N), B (T) normal to area A (m²). Neglects fringing and assumes field confined to area A.

Worked examples

Example 1: Flux, B, and Φ in a simple core (no air gap) Given: A ferromagnetic toroidal core of mean magnetic path length l = 0.40 m, uniform cross-sectional area A = 3.0 × 10⁻⁴ m², relative permeability μr = 1500 (assume linear region), N = 500 turns, current I = 0.20 A. Find H, B, and Φ.

Steps:

  1. Formula: H = N I / l Numbers: H = (500 × 0.20) / 0.40 A/m = 250 A/m
  2. Formula: μ = μr μ0 Numbers: μ = 1500 × (4π×10⁻⁷) H/m = 1.8849556 × 10⁻³ H/m
  3. Formula: B = μ H Numbers: B = (1.8849556 × 10⁻³) × 250 T = 0.471239 T
  4. Formula: Φ = B A (uniform B normal to area) Numbers: Φ = 0.471239 × 3.0 × 10⁻⁴ Wb = 1.41372 × 10⁻⁴ Wb

Answer: H = 250 A/m, B = 0.471239 T, Φ = 1.41372 × 10⁻⁴ Wb (all to 6 s.f.).

Example 2: Air gap increases MMF; current to maintain same flux Use the same core as Example 1 but now an air gap g = 1.0 mm is cut in the magnetic path. Find the current needed to maintain the same flux Φ = 1.41372 × 10⁻⁴ Wb.

Data: l_core = 0.40 m, A = 3.0 × 10⁻⁴ m², μr = 1500, μ0 = 4π×10⁻⁷ H/m, N = 500, g = 1.0 × 10⁻³ m.

Steps:

  1. Formula: ℜ_core = l_core / (μ A), with μ = μr μ0 Numbers: μ = 1.8849556 × 10⁻³ H/m; μ A = (1.8849556 × 10⁻³)(3.0 × 10⁻⁴) = 5.6548668 × 10⁻⁷ ℜ_core = 0.40 / (5.6548668 × 10⁻⁷) A·turns/Wb = 7.07355 × 10⁵ A·turns/Wb
  2. Formula: ℜ_gap = g / (μ0 A) Numbers: μ0 A = (1.2566371 × 10⁻⁶)(3.0 × 10⁻⁴) = 3.7699112 × 10⁻¹⁰ ℜ_gap = 1.0 × 10⁻³ / (3.7699112 × 10⁻¹⁰) = 2.65258 × 10⁶ A·turns/Wb
  3. Total reluctance: ℜ_total = ℜ_core + ℜ_gap = (7.07355 × 10⁵) + (2.65258 × 10⁶) = 3.35994 × 10⁶ A·turns/Wb
  4. MMF needed: F = Φ × ℜ_total Numbers: F = (1.41372 × 10⁻⁴) × (3.35994 × 10⁶) A·turns = 475.0 A·turns
  5. Current: I = F / N = 475.0 / 500 A = 0.9500 A

Answer: To maintain Φ = 1.41372 × 10⁻⁴ Wb with a 1 mm air gap, current must be increased to approximately 0.9500 A (from 0.20 A without gap).

Example 3: Inductance and energy in a gapped core Use Example 2 data and result. Find (a) inductance L at that operating point (linear assumption), and (b) energy stored, and compare gap energy using energy density.

Steps: (a) Inductance via magnetic circuit:

  1. Formula: L = N² / ℜ_total Numbers: L = (500)² / (3.35994 × 10⁶) H = 2.5 × 10⁵ / 3.35994 × 10⁶ H = 0.0744 H (Alternatively, L = N Φ / I = 500 × 1.41372 × 10⁻⁴ / 0.9500 = 0.0744 H, consistent within rounding.)

(b) Total magnetic energy: 2) Formula: W = ½ L I² Numbers: W = 0.5 × 0.07444 × (0.9500)² J = 0.5 × 0.07444 × 0.9025 = 0.0336 J

(c) Gap energy estimate from energy density: 3) Compute B from flux: B = Φ / A = (1.41372 × 10⁻⁴) / (3.0 × 10⁻⁴) T = 0.471239 T 4) Formula: u_gap = B² / (2 μ0) Numbers: u_gap = (0.471239)² / (2 × 1.2566371 × 10⁻⁶) J/m³ = 0.222067 / 2.513274 × 10⁻⁶ = 8.8369 × 10⁴ J/m³ 5) Gap volume: V_gap = A g = (3.0 × 10⁻⁴)(1.0 × 10⁻³) m³ = 3.0 × 10⁻⁷ m³ 6) Gap energy: W_gap = u_gap V_gap = (8.8369 × 10⁴)(3.0 × 10⁻⁷) J = 0.0265 J

Answer: L ≈ 0.0744 H; total energy W ≈ 0.0336 J. Of this, approximately 0.0265 J resides in the air gap; the remainder is stored in the core (small but nonzero since μr is finite). Small differences arise from rounding and the uniform-field assumption.

Common mistakes

  • Forgetting units and conversions: cm² to m², mm to m, leading to errors by factors of 10³–10⁶.
  • Using L = NΦ/I incorrectly: writing L = Φ/I (missing N) or L = NΦ (missing division by I).
  • Applying linear formulas at deep saturation: using constant μ when B is near/above the knee of the B–H curve; must use actual B–H data and piecewise MMF.
  • Neglecting fringing when asked to include it, or adding arbitrary fringing factors without stating assumptions.
  • Confusing analogies: treating MMF like voltage but then summing fluxes in series like currents; remember: in magnetic circuits, Φ is analogous to electric current; MMF drops add around the loop.
  • Wrong force formula: using F = B I l with θ = 0° for a conductor parallel to B (force would be zero when θ = 0°; maximum when θ = 90°).

For your exam

  • Diagrams: Neat B–H curve with saturation; hysteresis loop labeling Br and Hc; magnetic circuit with an air gap showing MMF and reluctances; toroid with H = NI/l indicated. Label all dimensions (l, A, g, N, I).
  • Derivations: L = N²/ℜ_total from Φ = F/ℜ and F = NI; energy density u = ½ B H from W = ∫ H dB; force across an air gap F ≈ (B² A)/(2 μ0) from energy method W = u V.
  • Short notes: Soft vs hard magnetic materials; effects of air gap; leakage and fringing; causes of hysteresis and eddy-current losses (mention lamination to reduce eddy currents; detailed transformer treatment is under Single-phase transformer topic).
  • Numericals: Calculate flux, MMF, current, inductance, and energy in cores with and without gaps; series/parallel magnetic circuits; simple actuator forces. Carry units throughout, state assumptions (linear μ, negligible leakage/fringing unless stated), and round sensibly.

Quick check

  1. A toroid has N turns and mean path length l. What is H inside it (assume uniform field)?
  2. Which term dominates MMF in a gapped iron core: core or air gap? Why?
  3. Write the energy density in an air gap in terms of B and constants.

Answers: 1) H = NI/l. 2) The air gap, because its reluctance ℜ_gap = g/(μ0 A) is much larger than the core’s ℜ_core = l/(μ A) since μ0 ≪ μ. 3) u = B²/(2 μ0).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?