Electronic – Calculating current through an inductor

circuit analysiscurrentinductor

I am working on my Circuits Analysis class and I came across an interesting problem. I will put it below along with my work and then explain the problem.
Nillson Riedel Electrical Circuits 9th Edition

The current through the \$L=100\,mH\$ inductor in the following figure is
\$i=2(2−e^{−\frac{t}{100}}) \, mA\$. Use the integral of the power to find the initial energy stored in the inductor at \$t=0\$.

Using the formula \$W = \dfrac{1}{2}L\,i^2\$, you get
\$W = 0.5 \times 0.1 \times (0.002)^2 = 200\,nJ\$ of energy. This turns out to be the correct answer, but for fun I decided to do it the long way.

\begin{align*}
P &= L \dfrac{di}{dt} i \\[1 em]
i &= 0.004 – 0.002 \, e^{-\frac{t}{100}} \\[1 em]
\dfrac{di}{dt} &= 2 \times 10^{-5} \, e^{-\frac{t}{100}} \\[1 em]
L &= 0.1 \\[1em]
\end{align*}

Simplifying, you get:

\begin{align*}
P &= 8 \times 10^{-9} e^{-\frac{t}{100}} – 4 \times 10^{-9} e^{-\frac{t}{50}} \\[1em]
\end{align*}

By integrating P with respect to t, you can get the total work:

\begin{align*}
W &= -8 \times 10^{-7} e^{-\frac{t}{100}} + 2 \times 10^{-7} e^{-\frac{t}{50}} \\
\end{align*}

Plugging in \$t=0\$, you get \$-600\,nJ\$ instead of \$200\,nJ\$.

Why does the longer method yield a different answer? Am I neglecting something?

Best Answer

You are not calculating what you think you are. You would normally use definite integrals to see the work done over a time period. An indefinite integral doesn't really make much physical sense.

The original equation of the energy in an inductor can be derived as the integral of the power needed to go from a 0 current to the final current I in some time T:

\$ Energy Stored = \int^T_0{P\cdot dt} = \int^I_0{L i'di'} = \frac{1}{2}LI^2\$

There is an important lesson here. This is solvable with general variables. This is possible because it doesn't matter how you get to a current of I, the same energy must be invested to get there.

If you go from 0A to 3A to 2A to 5A in some crazy complicated fashion, the expended energy will be the same as if you went linearly from 0A to 5A in 1 second.

If this weren't true, then it wouldn't make sense to talk about the energy stored in an inductor "at a particular current." You would have to know how you got there to know the answer.