Hi,
I was working on LTSpice when I encountered a problem between AC and transient simulation. I was simulating the simple RLC circuit below:
I was searching the frequency when the imaginary part of impedance is equal to zero im(Zin)=0.
From AC simulation I get something like 6.497MHz which correspond to the theoretical value im(Zin)=iLw+1/iCw=0 <=> f=1/(2Π√LC)=6.4975MHz
But when I run a transient simulation at 6.497MHz, it looks like there is still an imaginary part (the phase is different from 180° or 0°).
By tunning the frequency, I find that i get im(Zin)=0 at the frequency of 6.455MHz Which is not corresponding to theoretical value and AC simulation.
Did some of you encountered such difference between AC and transient simulation on LTspice? Maybe I've just forget to uncheck an option somewhere or to do something? Can you try with your simulator and check if you get such a difference? I've tested with both version of LTspice IV and XVII with latest update and I still get the error.
Also I checked with Orcad and a free online tool Partsim and they both give the right result (v and i in phase oppositon (phase(Zin)=180°))
(Yes I know some here are going to say that less than 1% of error on the frequency its not a big deal. Yes you are right but you get 50% of error on the phase which is not normal and on a very simple circuit. Moreover, other software and even free doesn't have this error.)
Thanks