The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Feb 28th, 2021, 7:09pm
Pages: 1
Send Topic Print
wrong fundamental freq from pss (Read 5141 times)
wakizashi
New Member
*
Offline



Posts: 6

wrong fundamental freq from pss
Nov 20th, 2007, 3:03am
 
Hello,

I have a simple differential ring oscillator, 4 stages, fosc=20MHz. During initial tran analysis in pss the frequency is evaluated wrongly. It is 10MHz although from the pss-tran analysis waveform it is 20MHz. Pnoise also finds fundamental as 10MHz.
Therefore pnoise is evaluated vs 10MHz not 20MHz. My questions:
- why pss evaluates the frequency wrongly even I see correct fosc in tran (which is run before pss)?
- can I use 2nd harmonics in pnoise analysis to evaluate noise against the correct oscillation frequency?

thank you for your replies.
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: wrong fundamental freq from pss
Reply #1 - Nov 20th, 2007, 3:30am
 
Have you set an appropriate tstab for the pss analyses ? This additional time for stablization can be arrived at by running a transient analysis.
Is 20MHz the lowest frequency in the testbench ? If you have other sources or circuits (such as divide by 2) at 10MHz then the pss solution will converge on these. In the case you have a divide-by-2 circuit then you can do pnoise relative to the 2nd harmonic on the 20MHz oscillation node.
If you still have problems you can plot the pss voltage waveforms versus time to see the pss solution arrived at to help you debug. If the pss solution is in your opinion incorrect, then any pnoise analysis based upon it will not be valid.

hope this helps.
Back to top
 
 
View Profile   IP Logged
wakizashi
New Member
*
Offline



Posts: 6

Re: wrong fundamental freq from pss
Reply #2 - Nov 20th, 2007, 5:17am
 
hi,

yes, tstab is enough because I can plot the waveform with started oscillation in pss-tran. the frequency of this waveform is 20MHz. there are no dividers in the circuit. only these 4 delay stages of ring oscillator.
pss-fd also shows 1 harmonic on 20MHz. but in log file I see that fundamental frequency found is half of this. Im not sure why this happens.

anyhow, thank you for the reply.
Back to top
 
 
View Profile   IP Logged
buckaroo
New Member
*
Offline



Posts: 8
Tsinghua Univ. PRC
Re: wrong fundamental freq from pss
Reply #3 - Dec 1st, 2007, 1:00am
 

yeah, when i simulate xtal oscillator, i encountered the problem too. i'm confused, the pss voltage spectrum, (my osc is 32k)32k is much stronger than 16k, however, pss told me fundmental freq is 16K...
sometimes, i setup reltol to a small value, it works well, but sometimes, this mothod is useless


wakizashi wrote on Nov 20th, 2007, 5:17am:
hi,

yes, tstab is enough because I can plot the waveform with started oscillation in pss-tran. the frequency of this waveform is 20MHz. there are no dividers in the circuit. only these 4 delay stages of ring oscillator.
pss-fd also shows 1 harmonic on 20MHz. but in log file I see that fundamental frequency found is half of this. Im not sure why this happens.

anyhow, thank you for the reply.

Back to top
 
 
View Profile   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: wrong fundamental freq from pss
Reply #4 - Dec 1st, 2007, 1:49am
 
Quote:
It is 10MHz although from the pss-tran analysis waveform it is 20MHz.

Are there 10MHz component in DFT result ?

Quote:
- why pss evaluates the frequency wrongly even I see correct fosc in tran (which is run before pss)?

Maybe 10MHz component is generated in your oscillator. So fundamental frequency must be 10MHz.
Show me spectrums of both transient analysis and PSS analysis.

Quote:
- can I use 2nd harmonics in pnoise analysis to evaluate noise against the correct oscillation frequency?

Yes you can.
Set "Sweeptype" as "relative" and "Relative Harmonics" as "2" in Pnoise setting.
Back to top
 
« Last Edit: Dec 1st, 2007, 3:36am by pancho_hideboo »  
View Profile WWW Top+Secret Top+Secret   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2021 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.