ENع
←Inductors
Lesson 19 · Capacitors, inductors and first-order circuits

Inductors and the magnetic field

14 min10 steps5 questionsIntermediate
About this lesson

An inductor is a coil of wire that stores energy in its magnetic field. Drive a chosen current through a 200 mH coil and watch the voltage follow the slope of the current, v = L di/dt: +40 V while the current ramps up, 0 V while it holds, −80 V while it falls. Then follow the power in and out and the stored energy, ½ L i². It mirrors the lesson "Capacitors: current, voltage and stored energy"; charge, current and voltage come from the Hardware lessons "Charge, current and voltage" and "Resistors and capacitors", and the buck converter in "Power supplies: steady rails for every chip" is a real inductor at work.

You'll learn to

Tick what you feel confident about. These self-checks do not affect your lesson score.

Fig 19 · Interactive
01 / 10

A coil of wire

An inductor is a coil of wire. Here a current source pushes a chosen current i(t) through a 200 mH coil. Right now a steady 2 A flows round the loop. What does the coil do with it?

current source   sets i(t), whatever voltage it takes
inductor         L = 200 mH = 0.2 H
ammeter          in series: reads i
voltmeter        across L: reads v

Now: i = 2 A, steady.
Loading figure…
or ← →
Read the lesson step by step
  1. A coil of wire

    An inductor is a coil of wire. Here a current source pushes a chosen current i(t) through a 200 mH coil. Right now a steady 2 A flows round the loop. What does the coil do with it?

    current source   sets i(t), whatever voltage it takes
    inductor         L = 200 mH = 0.2 H
    ammeter          in series: reads i
    voltmeter        across L: reads v
    
    Now: i = 2 A, steady.
  2. Current makes a magnetic field

    Current through the coil builds a magnetic field that links its turns. The flux linkage λ grows in step with the current: λ = L·i. Inductance L is that ratio. At 2 A: λ = 0.2 × 2 = 0.4 Wb.

    flux linkage   λ = N·Φ = L · i
    inductance     L = λ / i
    1 H = 1 Wb/A = 1 V·s/A
    
    λ = 0.2 H × 2 A = 0.4 Wb
    
    More turns, a wider coil or an iron
    core give a larger L.
  3. A changing field makes a voltage

    Faraday's law: when the flux linkage changes, a voltage appears across the coil, v = dλ/dt = L·di/dt. It pushes against the change (Lenz's law). Steady current, no voltage. Changing current, voltage.

    Faraday:   v = dλ/dt = d(L·i)/dt = L · di/dt
    
    passive sign convention: i enters +
    v > 0 while i grows (it opposes the rise)
    v < 0 while i falls (it opposes the fall)
    
    1 H: 1 A/s of change gives 1 V.
  4. Ramp up: a steady voltage

    The source ramps i from 0 to 2 A in 10 ms. The slope is di/dt = 2 / 0.01 = 200 A/s, so v = 0.2 × 200 = 40 V. A straight ramp gives a constant voltage.

    0 to 10 ms:  i rises 0 -> 2 A
    di/dt = 2 A / 0.010 s = 200 A/s
    v = L · di/dt = 0.2 × 200 = +40 V
    
    v follows the SLOPE of i,
    not its size.
  5. Hold steady: zero voltage

    From 10 to 20 ms the current holds at 2 A. Its slope is zero, so v = 0, even though 2 A flows. To steady DC an ideal inductor is a plain wire: a short circuit.

    10 to 20 ms:  i = 2 A, steady
    di/dt = 0  ->  v = L · 0 = 0 V
    
    DC steady state:
    an ideal inductor acts as a short circuit.
  6. Ramp down: the voltage flips

    From 20 to 25 ms the current falls to 0 in 5 ms. Now di/dt = −2 / 0.005 = −400 A/s, so v = 0.2 × (−400) = −80 V. Twice as fast gives twice the voltage, and the sign flips.

    20 to 25 ms:  i falls 2 -> 0 A
    di/dt = −2 A / 0.005 s = −400 A/s
    v = 0.2 × (−400) = −80 V
    
    The current still flows the same way;
    only v turns negative.
  7. Current cannot jump

    Stop the same 2 A in 1 µs and v = 0.2 × (−2 / 0.000001) = −400 kV. A sudden step would need infinite voltage, so inductor current cannot change instantly. That is why switching off a relay or motor coil sparks.

    fall in 1 µs:
    di/dt = −2 / 1e-6 = −2 000 000 A/s
    v = 0.2 × (−2e6) = −400 kV
    
    Rule: i through an inductor is continuous.
    A flyback diode gives the current a path
    so the switch does not arc.
  8. Power: in, then back out

    Power is p = v·i, current entering +. On the ramp p climbs to 40 × 2 = 80 W: the coil absorbs energy. Holding, p = 0. Falling, p starts at −80 × 2 = −160 W: the coil gives energy back.

    p = v · i  (passive sign convention)
    
    ramp     p = 40 × i  -> up to +80 W  absorbs
    hold     p = 0 × 2 = 0 W
    fall     p = -80 × i  -> from −160 W  supplies
    
    An ideal inductor turns no energy into heat.
  9. Energy stored: ½ L i²

    Add up p over time and the stored energy depends only on the current: w = ½·L·i². At 2 A, w = ½ × 0.2 × 2² = 0.4 J, held in the magnetic field. When i returns to zero, all 0.4 J comes back.

    w = ∫ p dt = ∫ L i (di/dt) dt = ∫₀ⁱ L i di = ½ L i²
    
    at 2 A:  w = ½ × 0.2 × 2² = 0.4 J
    ramp area  ½ × 80 W × 0.010 s = 0.4 J
    fall area  ½ × (−160 W) × 0.005 s = −0.4 J
    
    w never goes negative: ½ L i² ≥ 0.
  10. The source pays, the coil holds

    The source and the coil share one voltage, but current leaves the source at its + end, so it absorbs −v·i. At 10 ms: source −80 W, coil +80 W, sum 0. Energy is conserved at every instant.

    one loop: source voltage = v (KVL)
    source absorbs  −v·i
    coil absorbs    +v·i
    
    at 10 ms:  v = 40 V, i = 2 A
    source  −80 W   coil  +80 W
    sum     0 W

Quiz Unlocks after the last step.