The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Injection locked oscillator simulation in cadence
https://designers-guide.org/forum/YaBB.pl?num=1144448772

Message started by nlanka on Apr 7th, 2006, 3:26pm

Title: Injection locked oscillator simulation in cadence
Post by nlanka on Apr 7th, 2006, 3:26pm

Hi,
I am trying to simulate injection locking in oscilltors using spectre. I have a few question regarding this:
1. What is the best simulation to see the locking behaviour.
2. If I run a PSS analysis, does convergence of PSS mean locked condition?
Thank you
Narasimha

Title: Re: Injection locked oscillator simulation in cade
Post by Ken Kundert on Apr 8th, 2006, 1:23am

If the oscillator is locked you can use PSS. If it is not locked PSS will not converge because there are two signals present at noncommensurate frequencies (the drive signal and the oscillator).

You probably want transient analysis.

-Ken

Title: Re: Injection locked oscillator simulation in cade
Post by nlanka on Apr 8th, 2006, 8:22am

Ken,
Thank you for the reply,
So, does that mean I can use PSS analysis convergence as a measure to determine the locking range of the oscillator.

Title: Re: Injection locked oscillator simulation in cade
Post by Ken Kundert on Apr 8th, 2006, 9:35am

It is a measure, but probably not a very good measure. If I were you I would create a drive source in verilog-a that slowly sweeps its frequency, and then run a long transient where you use another verilog-a module to sample the oscillator output signal at the exact same frequency as the drive source, then plot those samples. The waveform of samples will go completely flat when the oscillator is locked.

If you don't want to use verilog-a, you can run a series of transient analyses where you slightly change the drive frequency on each. Then set outputstart (tran option) to eliminate the initial transient from the results and use strobing to sample the waveforms at the drive frequency. Plot the output of the oscillator from each transient. When locked the output waveforms will be completely flat.

-Ken

Title: Re: Injection locked oscillator simulation in cade
Post by nlanka on Apr 8th, 2006, 9:40pm

Ken,
Great information. Thank you.
I will try and implement both and see what works best
Thank you
Narasimha

Title: Re: Injection locked oscillator simulation in cade
Post by rf-design on Apr 17th, 2006, 2:16pm

Typical you will characterise your circuit by an amplitude/frequency map of locking versus nonlocking. The best testbench is here a transient simulation where either the frequency is slowly sweeped and the amplitude is fixed or the frequency is fixed and the amplitude is sweeped. I prefer to use the second case and sweep the amplitude via the exponential damp factor of a sinewave source. The amplitude transition point could be observed by multiplying the the source with the oscillator and lowpass filtering. That could be done by an AHDL (VerilogA). The locking condition could be defined as the frequency difference being less than e.g. 1%. Because only a complex multiplication of the source and the oscillator (both I and Q) gives a clean signal the lowpass filtering corner frequency and the amplitude rise should have some ratio.

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