The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design >> RF Design >> Plotting the frequency of a VCO versus time
https://designers-guide.org/forum/YaBB.pl?num=1160447769

Message started by RFICInDaHouse on Oct 9th, 2006, 7:36pm

Title: Plotting the frequency of a VCO versus time
Post by RFICInDaHouse on Oct 9th, 2006, 7:36pm

Hi Guys,

I want to examine the transient response of a quadrature oscillator as I force it to an initial unstable state. I run a transient analysis and I observe the oscillator behavior as it converges to its steady state. During this process, the oscillation frequency changes with time untill it stabilizes. I would like to get your opinion on how to plot the oscillation frequency versus time? Note when I use the calculator and choose the "Frequency" function I only get the steady state frequency. Thanks for your help in advance.

Title: Re: Plotting the frequency of a VCO versus time
Post by ACWWong on Oct 10th, 2006, 2:18am

I would use a verilogA block which counts crossings... if you use cadence there is a freq_meter in ahdlLib or try http://www.designers-guide.org/VerilogAMS/index.html

if using freq_meter there a couple of things you might want to bear in mind: the Nature Frequency blowup limit is default 1G. You might want to modify it to something bigger; and the accuracy will suffer depending on your timesteps... so using a maxstep might help.

Title: Re: Plotting the frequency of a VCO versus time
Post by RFICInDaHouse on Oct 10th, 2006, 11:14pm

Thanks, that worked just fine!. For you who are interested in this thread, you need to setup the "blowup" parameter of the "FF" above some critical value that depends on your circuit transient response. The syntax and the procedure for doing so in Spectre is as fllows:

1_ Create a blowFF.scs file in your favorite directory and add the following script:

temp quantity name="FF" units="Hz" blowup=15e+09

2_ Note that 15+e09 was the critical frequency for my circuit and you can adjust it as needed
3_ From the Analog Artist, go to Setup-->Model Libraries..., browse for the blowFF.scs file and Add it.
4_ you can adjust the abstol(FF) for better resolution by accessing the verilog.va file of the freq_meter component.

That worked for me.

Thanks again ACWWong


Title: Re: Plotting the frequency of a VCO versus time
Post by loose-electron on Oct 14th, 2006, 11:27am

A simple approach that may also suffice -

Plot the VCO control voltage.

That is going to be proportional to frequency, and show most of the performance issues associated with lock aquisition, overshoot, etc.

Might suffice in most situations...

:o

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.