LTSpice - simulating the switching of an inductor

Thread Starter

atferrari

Joined Jan 6, 2004
5,005
Using LTSpice to simulate the switching of an inductor as per attached .asc file.

I understand that the emitter current (Q2), at the moment it is turned on, should be positive starting from 0 mA.

LTSpice insists in showing a negative current which contradicts the sense of the one through L2, which is positive, starting from 0.

BTW, current through D2 is consistent with that of L2.

At lost here...

Inductor 01.png
 

Attachments

SgtWookie

Joined Jul 17, 2007
22,230
Capacitive coupling from the base to the emitter of a fast rising signal. Try changing your rise/fall times of V2 to 1uS instead of 10nS
 

Thread Starter

atferrari

Joined Jan 6, 2004
5,005
Capacitive coupling from the base to the emitter of a fast rising signal. Try changing your rise/fall times of V2 to 1uS instead of 10nS
No changes SW even with higher rise/fall times. What makes me doubt is that collector current IS positive but emitter's is not. :( Electrons, where do they go? :oops:
 

killivolt

Joined Jan 10, 2010
836

Thread Starter

atferrari

Joined Jan 6, 2004
5,005
Top