The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 16th, 2024, 10:15am
Pages: 1 2 
Send Topic Print
How could I sim. VCO + Mixer + LNA in spectre ? (Read 3141 times)
Charles CHENG
Guest




How could I sim. VCO + Mixer + LNA in spectre ?
Nov 02nd, 2003, 5:55am
 
Dear all,

   I have a question about the spectre simulation method of the VCO + Mixer + LNA. I hope anyone could help me.

   Actually, I have successfully simulated the VCO and Mixer+LNA separatedly using the spectre. Which is using the special function, such as pss, pxf or pnoise etc, to simulated the phase noise, oscillating frequency
in the VCO and 1dB compression point, iip3 or power gain in the Mixer+LNA.

   However, how could I simulate the overall circuit, VCO+Mixer+LNA, to get the simulation result such as 1dB compression point, iip3, noise figure etc.?

Best Regards,

Charles
Back to top
 
 
  IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #1 - Nov 3rd, 2003, 10:38am
 
Computing the NF of the three blocks combined is straight forward, however computing P1dB or IP3 is not possible because SpectreRF currently does not allow an autonomous circuit, the VCO, to be driven by a large tone, the input signal. However, this is generally not a problem. One does not normally include the VCO when using simulation to predict P1db, iIP3, and NF of the LNA & mixer because the VCO does not substantially affect these performance metrics.

However, having said that, these metrics are affected by the phase noise of the VCO when a large blocker in present. In this case, one would want to co-simulate the LNA, mixer, and VCO. In this situation, the best approach is to simulate the VCO alone, determine its phase noise, and then replace the VCO with a behavioral model that produces the same phase noise but is not autonomous. This procedure is described in Introduction to RF simulation and its application, which can be found at http://www.designers-guide.com/Analysis. Look in 6.3.3 on page 38.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Charles CHENG
Guest




Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #2 - Nov 3rd, 2003, 10:21pm
 
Dear Ken,

      I am very thanks for your helping. In your reply, you said that the Noise Figure of the LNA+Mixer+VCO is straight forward. However, I don't know how to simulate it. Could you teach me also.

Best Regards,

Charles CHENG
Back to top
 
 
  IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #3 - Nov 4th, 2003, 4:42pm
 
To compute noise figure you need a port at the input of the LNA, which would be set to produce a constant-valued (DC) input. You would then perform a PSS analysis to determine the large signal operating point. In this case, it is the oscillator that is setting that operating point. The PSS analysis starts with a transient analysis, you will need to use initial conditions or an input pulse to start the oscillator. Once it is started, set the PSS tstab parameter to give the oscillator sufficient time to settle down. That will allows the PSS analysis to converge without difficulty. Then perform a PNoise analysis. With the port defining the input to the circuit, SpectreRF will naturally compute the noise figure.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Mark Gehring
Guest




Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #4 - Nov 18th, 2004, 1:04pm
 
You can however, do the complete simulation of LNA+mixer+real VCO in EldoRF.

Mark
Back to top
 
 
  IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #5 - Jan 4th, 2005, 6:59pm
 
I would like to make one very minor side comment about noise figure and Spectre/SpectreRF. The default port temperature is something like 16.8 degrees C. However, the default temperature of the rest of the circuit is 27 degrees C. The temperature difference affects the noise figure measurement only by a few tenths of a dB so you probably would not notice it. I stumbled upon the difference because I wanted to check my noise figure test bench with behavioral models and the test bench did not produce the exact noise figure I specified. Changing the port temperature to 27 degrees produced the exact noise figure  I specified in the behavioral model.

(The correct thing to do may very well be to add a temperature parameter to the behavioral model to account for the circuit temperature for which the noise figure is defined, but that is a modeling issue that probably does not belong in this thread.)
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #6 - Jan 4th, 2005, 11:33pm
 
The default port temperature is different from the default temperature of the rest of the circuit because the standard noise temperature is usually defined to be 290 Kelvin (see http://glossary.its.bldrdoc.gov/fs-1037/dir-024/_3560.htm).
Back to top
 
 
View Profile WWW   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #7 - Jan 5th, 2005, 8:47am
 
Frank,
Thanks for the link. That's one of the best definitions of noise figure I've seen, especially since it addresses the image frequency. This helps justify the way my group distinguished between noise figures of direct conversion receivers and super het receivers. It seems the correct approach to modeling noise in a behavioral model is indeed to account for the difference between circuit temperature and noise source temperature.
  -Eugene
Back to top
 
 
View Profile   IP Logged
milkdragon
Junior Member
**
Offline

RF idiot

Posts: 30

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #8 - Aug 31st, 2005, 6:28pm
 
For the NF simulation in SpectreRF, should i change the RF port resistance to 0Ohm.  I am asking this because i found out in the noise summary that almost 70% of the noise is dominated by the source of the RF port
Back to top
 
 
View Profile milkdragon   IP Logged
Jess Chen
Community Fellow
*****
Offline



Posts: 380
California Bay Area
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #9 - Aug 31st, 2005, 8:36pm
 
I have never tried setting the port resistance to zero but I am not sure it would be a good idea. The port would only deliver the desired signal level if the port drove a short. For any finite load, you would see double the desired signal.

But why would you want to eliminate the port noise? The port noise is necessary for computing noise figure. If you still want to simulate noise only from the circuit, without any contribution from the port, and you still want to use the port for gain etc., I would eliminate the port noise by setting the port's noise temperature to -273.15 degrees C (zero Kelvin).
Back to top
 
 
View Profile   IP Logged
milkdragon
Junior Member
**
Offline

RF idiot

Posts: 30

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #10 - Sep 1st, 2005, 8:31am
 
Thank you for your reply.  I do agree with u.  I got my LNA NF ~ 1.7dB with Gain of 28dB, and mixer NF ~10dB.  However, when i hook them up, the NF is 5dB......  I am thinking if i did something wrong with my setup.
Back to top
 
 
View Profile milkdragon   IP Logged
milkdragon
Junior Member
**
Offline

RF idiot

Posts: 30

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #11 - Sep 1st, 2005, 8:38am
 
Oh, one more thing, anybody tried to simulate  Mixer + LNA + divide-by-2 circuit.  Could you tell me if you know how to do that

Thank you
Back to top
 
« Last Edit: Sep 1st, 2005, 1:21pm by milkdragon »  
View Profile milkdragon   IP Logged
Jess Chen
Community Fellow
*****
Offline



Posts: 380
California Bay Area
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #12 - Sep 1st, 2005, 7:16pm
 
I did some back-of-the-envelope calculations using your numbers. I came up with a noise figure of 1.77dB if I assume that your LNA input is matched but your LNA output is an ideal voltage source and your mixer output is at baseband. If I assume you simulated SSB noise figure instead of DSB noise figure, we add 3dB to get 4.77dB, which is not too far from 5dB. So I think the issue might be a combination of set up (SSB instead of DSB) and doing manual calcuations without accounting for the mismatched baseband output. There's a factor of 4 in the Friis formula associated with the mismatched output and a factor of 1/2 associated with the baseband mixer output.

NF=
10log(10^(1.7/10)+(4/2)*(10^(10/10)-1)/10^(28/10))

+3dB (for SSB mistake) = 4.77dB.

Where is your divide by 2 operation located in the chain?
Back to top
 
 
View Profile   IP Logged
milkdragon
Junior Member
**
Offline

RF idiot

Posts: 30

Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #13 - Sep 1st, 2005, 7:25pm
 
Thank you,

Actually i put the divider circuit on the LO side, i would like to see if i can simulate the NF with divider also
Back to top
 
 
View Profile milkdragon   IP Logged
Jess Chen
Community Fellow
*****
Offline



Posts: 380
California Bay Area
Re: How could I sim. VCO + Mixer + LNA in spectre
Reply #14 - Sep 1st, 2005, 9:05pm
 
If you are using SpectreRF, the divider will have to be a device level model or a clever behavioral model. You can not use a simple behavioral model because it will have hidden state. You would have to use a resettable integrator or a capacitor. A device level model would work but it might slow things down some. Anyway, if your model is SpectreRF compatible, you should be able to introduce the divider as long as you introduce a lower frequency fundamental (half) in the PSS analysis and change your side band options.
Back to top
 
 
View Profile   IP Logged
Pages: 1 2 
Send Topic Print
Copyright 2002-2024 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.