Tricky Circuit

Magnetic energy in an RL circuit

A coil resists sudden current changes

An inductor is a coil that stores energy in a magnetic field and opposes changes in current; L denotes its inductance. RL means Resistor Inductor, a resistor–inductor circuit. A millihenry (mH) is one thousandth of a henry, a millisecond (ms) one thousandth of a second and a millijoule (mJ) one thousandth of a joule of energy.

Open interactive experiment

EXPERIMENT BENCH

Change the circuit settings, predict the readings, then check a challenge. These are learning models, with the assumptions explained in each lesson.

Sign in to save progress. Guest progress stays on this device.

Open laboratory in a full window

Why it works

Ideal initially unenergized coil after a voltage step. Elapsed time is a chosen sample, not a live clock; winding resistance, magnetic saturation and switch-off voltage spikes are omitted.

Vs is applied voltage, R series resistance, L inductance and t time since switching on. τ = L/R; I(t) = Vs/R × (1 − exp(−t/τ)); exp is the exponential function. Coil voltage = Vs × exp(−t/τ); stored energy E = ½LI².

Difficulty
  1. Build · Build it

    Power on at 5 V, 100 Ω, 100 mH and 1 ms. Read about 31.606 mA.

    Need a hint?

    Vs = 5 V; R = 100 Ω; L = 100 mH; t = 1 ms → 31.606 mA

  2. Explore · Change one thing

    At 5 V, 100 Ω and 100 mH, choose a time giving at least 49 mA and coil voltage at most 0.1 V.

    Need a hint?

    Vs = 5 V; R = 100 Ω; L = 100 mH; t = 4 ms → 49.084 mA; 0.092 V

  3. Solve it · Solve the challenge

    At 5 V, 50 Ω and 200 mH, choose a time giving 62–64 mA and stored energy 0.38–0.42 mJ.

    Need a hint?

    Vs = 5 V; R = 50 Ω; L = 200 mH; t = 4 ms → 63.212 mA; 0.400 mJ

Extra reading and circuit recipes

A coil resists sudden current changes

A useful pattern

After one time constant, current reaches about 63.2% of its final value. After five, it exceeds 99%.

Beyond the model

A real coil tries to keep current flowing when switched off. Flyback protection provides a path for that current; this model does not simulate the spike.

A useful trap to avoid

An inductor opposes a change in current, not steady current itself. The ideal coil voltage tends to zero after settling.

Only inductance doubles, with supply and resistance unchanged. Final current…

  1. doubles
  2. stays the same but rises more slowly
  3. halves
Read more

Final current is Vs/R; the time constant L/R doubles, so the approach is slower.

circuits.mit.edu

Temu affiliate offers

Find your next electronics project

Explore these do-it-yourself project kits. Check the selected option, included parts and instructions on each offer.

Tricky Circuit may earn a commission if you buy through these Temu affiliate links. These are product ideas; they have not been bench-tested by Tricky Circuit and are not verified lesson parts lists.

Supplier photo of an assembled infinity mirror light cube illuminated on a dark background.

Supplier product photo

Build an infinity light cube

Listing specifies 5-volt direct current. Soldering required; battery and glue not included.

View kit on Temu

Supplier photo of a breadboard, jumper wires and assorted electronic components in a plastic storage case.

Supplier product photo

Try breadboard experiments

Breadboard, wires and assorted parts. Arduino controller board not included.

View kit on Temu

Supplier photo of an assembled blue surface-mount soldering practice board with a circular ring of small lights.

Supplier product photo

Solder a chasing-light board

Surface-mount soldering practice. Battery and battery holder not included.

View kit on Temu