Quote:Thanks for the reply. Then if I am interested in plotting the beat frequencies due to "pulling" (not injection locking), then I can only do transient simulation, right? & then plot dft?
Correct
Quote:One problem with transient is that it seems to have a beat tone by default (attached the envelope of transient signal). Meaning, I see a spur of 3.8MHz for a 9GHz oscillation tone even in the absence of any injection. This seems to be due to numerical inaccuracy as it drops with increase in reltol. Is this expected in general?
Yes. The issue is that the simulation algorithms are reacting to the large signals, meaning that the errors that are created are not independent of the signals, but are being modulated by the signals.
Behzad Razavi published a rather famous rant about this in "A Study of Phase Noise in CMOS Oscillators" (JSSC 3/96). It is a particular frustration of mine as I came up with a solution to the problem and presented to all of the companies that are producing simulators for analog/RF ICs and they were all uninterested, saying that their customers seemed happy with the accuracy of their DFT results.
As a user it is quite difficult to eliminate this error. I think your best option is to leave reltol to something reasonable and instead shrink maxstep. This should reduce the largest source of this error.
I hesitate to make this recommendation as I find designers can overuse such advice. Normally controlling accuracy using maxstep is a very poor approach, but in this very specific case, it may be your best option.
-Ken