I have this circuit. V3 is just a trigger to close the switch, just ignore it.
The switch is open for a long time. So, the left part of the circuit is working for a long time and the inductor is fully energized. Current is maximum on that part.
At t=0 the switch is closed.
I want to know the voltage across the inductor 3ms after the switch is closed.
I put this circuit on a simulator and it gives me the voltage across the inductor at 3ms as -11.3022 V. Strangely, the simulator shows a peak of -12V when the switch is closed and 3ms later the voltage is -11.3022 V. -12V? Where is this number coming from???
I am trying to calculate that voltage by myself, but the result I get is completely different.
This is my solution.
- Before the switch is closed the voltage across the inductor is zero.
- The switch closes. Now, a -15V (V2 is reversed) is connected with R2 in parallel with the inductor.
What I thought was this. Voltage across the inductor was zero before, now it is -15V. So it will discharge from -15 to zero. I was expecting to see a -15V peak when the switch is closed but simulator says the peak is at -12V.
I would use the inductor formula having -15V as a start but simulator apparently uses -12V.
How do I solve this?