⚡ Spark Academy53 lessons

Inductors & Electromagnetism

Coils store energy in magnetic fields, hate changes in current, and bite when interrupted. Also: how motors happen.

lesson 4 of 4 in this unit

Builds on: 0.3 Current: Charge in Motion2.3 Capacitors & the RC Time Constant

Every current makes a magnet

In 1820 Ørsted noticed a compass twitch beside a current-carrying wire: moving charge creates a magnetic field. Wind the wire into a coil and the field concentrates — an electromagnet, strengthened by more turns, more current, or an iron core. This is half of the deepest link in physics (electricity ⇄ magnetism), and the other half is just as good: a changing magnetic field pushes charges — induction. Generators spin coils near magnets to make electricity; motors run the trick backwards; transformers pass power between coils with no moving parts at all.

The inductor: inertia for current

A coil used as a component is an inductor. Its magnetic field stores energy, and that field resists being changed — so an inductor resists changes in current, the perfect mirror of the capacitor resisting changes in voltage:

V = L × dI/dt  ·  τ = L / RL in henries · energy stored: ½ L I²

Close a switch on an RL circuit and the current doesn’t jump — it ramps along the same exponential curve you met last lesson, reaching 63% of V/R after one τ = L/R. Steady current eventually flows as if the inductor were plain wire.

The inductive kick

Now open the switch. The current must stop almost instantly — so dI/dt is huge, and V = L·dI/dt means the coil generates a huge voltage spike (hundreds of volts from a 9 V circuit) trying to keep its current flowing. The spike arcs across switch contacts and kills transistors. The standard cure is beautifully simple: a flyback diode across the coil gives the current a safe loop to decay through, clamping the spike to under a volt. Every relay and motor-driver schematic you ever see will have one — now you know why.

Where this goes next

Inductors + capacitors together make resonant circuits — the tuned heart of every radio. And induction at grid scale is why mains power is AC: transformers only work with changing current. The advanced course picks this thread up directly in Unit 5.

⚡ Lab — Ramp Up, Kick Back

An RL circuit on the scope: current in amber, coil voltage in cyan.

  • Close the switch and watch current ramp — 63% of V/R after one division.
  • Open the switch with no diode. Read the spike meter. From a 9 V battery!
  • Fit the flyback diode and open it again — gentle decay, clamped voltage.
100 mH
100 Ω
τ = L / R
1 ms
Try this
Open the switch with and without the diode — compare the voltage trace

Check your understanding

Q1. An inductor most strongly resists…

Q2. The RL time constant is…

Q3. Why does opening a switch on a coil make a big voltage spike?

Q4. A flyback diode across a relay coil…