Author Topic: LTspice Inductor current not symetrical around zero  (Read 1546 times)

0 Members and 1 Guest are viewing this topic.

Offline FaringdonTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 2124
  • Country: gb
LTspice Inductor current not symetrical around zero
« on: September 05, 2021, 07:42:12 pm »
Hi,
I am pulsing +5v/-5v across an inductor, both saturable, and fixed, but my current is not symetrical around zero.
Do you know why not?
'Perfection' is the enemy of 'perfectly satisfactory'
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13085
Re: LTspice Inductor current not symetrical around zero
« Reply #1 on: September 05, 2021, 08:28:10 pm »
The .tran startup option has no effect as you have no DC sources.

Your source does not have a symmetrical waveform* - fix it! 

.tran uic forces all inductor currents to start from zero.  Therefore if you don't want a startup transient you must start the waveform at a point in the cycle where the inductor current would be zero (after many cycles).

Try:
Code: [Select]
PULSE(-5 5 25u 100n 100n {50u-100n} 100u)
* See my comments here: https://www.eevblog.com/forum/projects/where-is-my-error-in-this-ltspice-simulation/
 
The following users thanked this post: Faringdon


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf