Sub topic 9
Power and stored energy (1/2) L i^2
This chapter assumes you know the passive sign convention, the law v = L di/dt, and basic integrals. It shows how the inductor's power leads to the stored-energy formula, and how to use both in calculations.
Instantaneous power
With the passive sign convention (current enters the terminal where the voltage is positive), the power absorbed by any element is p = v i. For an inductor, substitute v = L di/dt:
p = L i (di/dt)
The sign of p tells you which way energy flows.
- p > 0: the inductor absorbs energy from the circuit, and the magnetic field grows.
- p < 0: the inductor returns energy to the circuit, and the field shrinks.
The sign depends on both v and i. A current of +2 A that is falling gives v < 0, so p < 0 and the inductor is delivering energy. If the current is zero, p is zero even when di/dt is large.
Deriving the stored energy
The energy absorbed between times t0 and t is the integral of power. Take the current at t0 to be zero, so the field starts empty:
w = ∫ p dt = ∫ L i (di/dt) dt = L ∫ i di = (1/2) L i^2
Only the current appears in the result. The inductor stores energy according to its present current, not according to how the current got there.
Because w depends only on i, and i cannot jump (see the chapter on continuity), the stored energy cannot jump either. A jump in energy would need infinite power, since p = dw/dt.
Worked example: constant ramp
Take a 10 mH inductor whose current rises linearly from 0 to 2 A in 1 ms.
- The voltage is constant: v = L di/dt = 10e-3 × 2 / 1e-3 = 20 V.
- The power grows with the current. At the end of the ramp, p = v i = 20 × 2 = 40 W.
- The stored energy at 2 A is (1/2)(10e-3)(2)^2 = 0.02 J.
You can check step 3 another way. The power rises linearly from 0 to 40 W over 1 ms, so its average is 20 W. Then 20 W × 1 ms = 0.02 J, which agrees with the formula.
L = 10e-3 # henries
I = 2.0 # amperes
energy = 0.5 * L * I**2
print(energy) # 0.02 joulesEnergy between two current values
When the current changes from i1 to i2, the energy absorbed is the difference of the stored energies:
Δw = (1/2) L (i2^2 − i1^2)
If i2 is smaller than i1 in magnitude, Δw is negative and the inductor gives energy back. Doubling the current multiplies the stored energy by four.
| Current | Stored energy in 10 mH |
|---|---|
| 1 A | 5 mJ |
| 2 A | 20 mJ |
| 4 A | 80 mJ |
Where the energy goes
At constant current, v = 0, so p = 0. The inductor neither absorbs nor delivers power, yet the field still holds (1/2) L i^2. An ideal inductor holds this energy indefinitely. A real one slowly loses it as heat in its winding resistance.
Common errors
- Forgetting the square. Energy goes as i^2, not i.
- Using the final current only when the starting current is not zero. Use the difference formula in that case.
- Mixing up power and energy. Power is in watts and energy is in joules, and the joule is the watt-second.
- Treating negative power as an error. It means energy is flowing back out of the inductor.
Exercise
A 50 mH inductor carries 3 A. The current then drops uniformly to 1 A in 2 ms. How much energy does the inductor return to the circuit, and what is the voltage across it during the drop?
Show answer
Initial energy = (1/2)(0.05)(3)^2 = 0.225 J. Final energy = (1/2)(0.05)(1)^2 = 0.025 J. The inductor returns 0.225 − 0.025 = 0.2 J. The voltage is v = L di/dt = 0.05 × (−2 A) / 0.002 s = −50 V. The negative sign agrees with p = v i < 0, which means energy is flowing out of the inductor.
Exercise
An inductor of 2 H holds 9 J of energy. What is its current?
Show answer
From w = (1/2) L i^2, i = sqrt(2w / L) = sqrt(2 × 9 / 2) = sqrt(9) = 3 A in magnitude. The energy does not tell you the direction of the current.