The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 5:43pm
Pages: 1
Send Topic Print
Varactor Simulation and Plotting the graphs? (Read 2699 times)
umberabbas
Junior Member
**
Offline



Posts: 13

Varactor Simulation and Plotting the graphs?
Feb 07th, 2018, 7:08pm
 
I want to use MOSFET as a MOS-cap varactor (both inversion and accumulation mode). I have first tried it with the inversion mode by connectiong the body to the Vcc. I did the DC analysis for the MOSFET and I am getting the following curve but I want to have it like C vs Vg, C vs Vtune and Vtune vs Freq. Kindly tell me how can i get it.
Back to top
 

vracI.png
View Profile   IP Logged
umberabbas
Junior Member
**
Offline



Posts: 13

Re: Varactor Simulation and Plotting the graphs?
Reply #1 - Feb 7th, 2018, 7:43pm
 
simulator lang=spectre
global 0
parameters vcntrl=100m Vg=100m

View name: schematic

C1 (net4 net03 0) nvar_12rf w=(2u) l=(2u) ny=3 nx=3 m=1

Vg (net4 0) vsource dc=Vg mag=1m type=sine freq=60G

Vcntrl (net03 0) vsource dc=vcntrl type=dc

simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
   
tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
   
digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" \
   
checklimitdest=psf

ac ac freq=60e9 param=Vg start=10m stop=300m step=10 annotate=status

dcOp dc write="spectre.dc" maxiters=150 maxsteps=10000 annotate=status

dcOpInfo info what=oppoint where=rawfile

dc dc param=vcntrl start=10m stop=300m step=0.1 oppoint=rawfile \
   
maxiters=150 maxsteps=10000 annotate=status

modelParameter info what=models where=rawfile

element info what=inst where=rawfile

outputParameter info what=output where=rawfile

designParamVals info what=parameters where=rawfile

primitives info what=primitives where=rawfile

subckts info what=subckts  where=rawfile

save C1:1 C1:2

saveOptions options save=allpub
Back to top
 

I_vs_Vg.png
View Profile   IP Logged
umberabbas
Junior Member
**
Offline



Posts: 13

Re: Varactor Simulation and Plotting the graphs?
Reply #2 - Feb 7th, 2018, 7:45pm
 
These are the generated graphs
Back to top
 

I_vs_Vtune.png
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Varactor Simulation and Plotting the graphs?
Reply #3 - Feb 8th, 2018, 5:06am
 
Most MOSFET models don't include non-quasi-static effects, or what they have available is NQS for the channel current. I think to get the C vs freq plot, you need a model that accounts for "dynamic inversion charge" as described in the manual for the MOSVAR manual (developed originally at Arizona State, but now maintained by the Compact Model Coalition).
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Varactor Simulation and Plotting the graphs?
Reply #4 - Feb 8th, 2018, 9:08am
 
To see C as a function of Vtune, simply perform an AC analysis at a fixed frequency while sweeping Vtune. Plot the current through the capacitor. As long as there is no series resistance or non-quasistatic effect, you are free to choose the frequency for your convenience. I recommend choosing a frequency that allows you to scale the current so directly see the capacitance in Farads.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
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.