Electronic – Solving circuit DEs: derivative of inductor current should be zero, but isn’t

circuit analysisinductor

I am in the process of solving a DE for a circuit.

So: the circuit starts with a voltage source of 5 VDC and is allowed to reach steady state. At time t = 0, the source is switched out for a 10 VDC source.
schematic

I am in the process of finding the initial conditions: $$i_L(0^+)\ \ \mathrm{and}\ \ i_L'(0^+)$$

Clearly, $$v_C(0^-) = 0\ \mathrm{V}\ \ \mathrm{and}\ \ i_L(0^-) = \frac{5\ \mathrm{V}}{100 \ \Omega}$$

So $$i_L(0^+) = 50\ \mathrm{mA}$$

Now, to find iL', I said $$v_L = Li_L'\ \ \mathrm{and}\ \ v_L = v_C$$

So $$i_L'(0^+)=\frac{v_C(0^-)}{L} = 0\ \frac{\mathrm{A}}{\mathrm{s}}$$

But, if you simulate this circuit and flip the switch, the slope of the current through the inductor is clearly not zero.

Am I doing something wrong, or is there something subtle happening?

Thanks

Best Answer

[ last line should be i'L(0+) ] Your calculations are correct. At t=0+, there is 50 mA in the inductor, but 0 V across it (and the capacitor). So i'(L) =0. Now, the voltage across the capacitor will increase (because supply increased from 5 to 10 V; the 'extra' 50 mA will flow in the capacitor. The cap voltage will rise, and then the inductor current will increase.

In a small region around 0+, the cap V will increase linearly, and inductor current quadratically with time, however overall the result will be (exponentially decaying) sinusoids.

Clearly at the extreme of a sinusoid, the derivative is 0, yet since the 2nd derivative isn't 0, the derivative will change, and so will the value.