The coil and its field
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 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.
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.
Voltage follows di/dt
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.
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.
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.
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.
Power and stored energy
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.
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.
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.
The working
# step 1/10 · coil 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.
The inductor is ideal: no winding resistance and no core loss, so it turns no energy into heat. The current waveform is chosen (illustrative values) and every number in the figure is computed from this model.