Why the resonance frequency is different in time domain versus frequency domain in LTspice ?

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
Using frequency analysis shown in the plot for this LC circuit I found the resonance frequency of it (138.88 MHz), But when I switched to the transient analysis with a sine pulse at that resonance frequency, I saw ringing on the plot.
I don't understand what causes this issue. I tweaked the sine pulse frequency until I got the ring up and ring down without that ringing artifact at 138.1 MHz. What has caused this frequency difference?
If I calculate the time constant for the ring down based on this time domain response, I would see it is much shorter than what I expected from the Q factor of the coil, what is the reason behind that?

I have attached all of my LTspice plots.

Thank you so much,
Ghoncheh
 

Attachments

Papabravo

Joined Feb 24, 2006
21,228
This may be an impertinent question, but why would you expect the transient and the steady state analysis to produce the same result?
Both schematics have the .tran 70u statement un-commented in them, so what are we actually looking at?
 

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
This may be an impertinent question, but why would you expect the transient and the steady state analysis to produce the same result?
Both schematics have the .tran 70u statement un-commented in them, so what are we actually looking at?
I thought when the drive pulse length is long enough in the time domain simulation, I have steady state situation like the frequency domain case. So I expect that the resonant frequency of the circuit stays the same. But maybe I'm wrong?
Sorry for the confusion, I have commented out the .trans 70u statement for getting the 1st plot which is in the frequency domain. The two un-commented statements correspond to the other time domain responses.
 

Papabravo

Joined Feb 24, 2006
21,228
I see what you are saying now. I always thought that resonance was not a kick it once and it goes on for a long time, like for example an under damped mass spring system which is the equivalent of an LC circuit. Resonance requires a periodic forcing function and involves passing the energy back and forth between two elements, like a capacitor and an inductor, or a mass and a spring.
 

crutschow

Joined Mar 14, 2008
34,470
I would see it is much shorter than what I expected from the Q factor of the coil, what is the reason behind that?
Did you include the 1mΩ default value for the inductor series resistance?

I could find no reason for the slight difference between the simulated resonant frequency found in the time domain as compared to the frequency domain.
 

Papabravo

Joined Feb 24, 2006
21,228
The more I look at these two simulations convinces me that there is a difference in the initial conditions. What exactly do you mean by a "sine pulse" at the resonant frequency, and how is that initial condition different from the AC analysis initial condition where you sweep the frequency from 130 MREG to 150 MEG?
Again -- why would you expect them to be the same?
 

crutschow

Joined Mar 14, 2008
34,470
In my time domain simulation I started the oscillations with a short 1ns pulse and then measured the free-running oscillation frequency after that.
It was slightly lower than the frequency domain simulation gave (which matched the calculated resonant frequency).
I see no reason that they shouldn't be the same.
 

Papabravo

Joined Feb 24, 2006
21,228
In my time domain simulation I started the oscillations with a short 1ns pulse and then measured the free-running oscillation frequency after that.
It was slightly lower than the frequency domain simulation gave (which matched the calculated resonant frequency).
I see no reason that they shouldn't be the same.
Would that be a square pulse, with negligible rise and fall times?
I would also be interested to see if the transient response varies with different integration methods.
 

Bordodynov

Joined May 20, 2015
3,181
Schemes with high Q are very inertial. In fact, the oscillatory circuit in one oscillation period takes on very little energy. The standard errors for any Spice program are not sufficient in this case. I increased the accuracy and everything fell into place. Look at my picture and see that I have greatly reduced the error.
 

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
Schemes with high Q are very inertial. In fact, the oscillatory circuit in one oscillation period takes on very little energy. The standard errors for any Spice program are not sufficient in this case. I increased the accuracy and everything fell into place. Look at my picture and see that I have greatly reduced the error.

You are right! Thank you so much, I increased the accuracy as you suggested and it doesn't have those weird ringings at the rise up anymore.
 

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
Did you include the 1mΩ default value for the inductor series resistance?

I could find no reason for the slight difference between the simulated resonant frequency found in the time domain as compared to the frequency domain.
No, I didn't include any series resistance to my circuit.
 

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
The more I look at these two simulations convinces me that there is a difference in the initial conditions. What exactly do you mean by a "sine pulse" at the resonant frequency, and how is that initial condition different from the AC analysis initial condition where you sweep the frequency from 130 MREG to 150 MEG?
Again -- why would you expect them to be the same?
Thanks for thinking about my question, I meant the voltage source which has sine wave format at the frequency which corresponds to the resonance frequency of the coil found with the frequency domain analysis.
I just expected not to see the ringings when I am driving the circuit with its own resonance frequency. By changing the accuracy as Bordodynov suggested, the issue has resolved.
 

Thread Starter

Ghoncheh

Joined Oct 2, 2017
7
In my time domain simulation I started the oscillations with a short 1ns pulse and then measured the free-running oscillation frequency after that.
It was slightly lower than the frequency domain simulation gave (which matched the calculated resonant frequency).
I see no reason that they shouldn't be the same.
Thanks for thinking about my question, the issue was in the accuracy of the time domain simulation.
 
Top