A
andy zhu
Guest
Hi, there
As what said on the http://www.designers-guide.com/, I design a simple
circuit for the test. It is a switch (NMOS) connected to a capacitor.
the netlist as following.
V0 (net3 0) vsource dc=0 type=sine freq=f1 ampl=1 freq2=f2 ampl2=0 \
pacmag=1 fundname="input" fundname2="input2"
V1 (net1 0) vsource type=pulse delay=250.00n val0=0 val1=2 period=Tclk \
rise=10n fall=10n width=1u fundname="clock"
C0 (net9 0) capacitor c=3f
M0 (net9 net1 net3) rn w=1.2u l=800n
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 ckptclock=1800 \
sensfile="../psf/sens.output"
sweeppss sweep param=f1 start=1k stop=1G dec=10 {
pss pss fund=10K harms=10 errpreset=liberal annotate=status
pac pac start=1k maxsideband=0 annotate=status
}
Here f1=10k, f2=10.1k, Tclk=10u, However, the results is not what I
expected as AC simulation results. Where I setup wrong.
If I set the f1 frequency higher, eg. 10M, it will not converge. What
should I do?
As what said on the http://www.designers-guide.com/, I design a simple
circuit for the test. It is a switch (NMOS) connected to a capacitor.
the netlist as following.
V0 (net3 0) vsource dc=0 type=sine freq=f1 ampl=1 freq2=f2 ampl2=0 \
pacmag=1 fundname="input" fundname2="input2"
V1 (net1 0) vsource type=pulse delay=250.00n val0=0 val1=2 period=Tclk \
rise=10n fall=10n width=1u fundname="clock"
C0 (net9 0) capacitor c=3f
M0 (net9 net1 net3) rn w=1.2u l=800n
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 ckptclock=1800 \
sensfile="../psf/sens.output"
sweeppss sweep param=f1 start=1k stop=1G dec=10 {
pss pss fund=10K harms=10 errpreset=liberal annotate=status
pac pac start=1k maxsideband=0 annotate=status
}
Here f1=10k, f2=10.1k, Tclk=10u, However, the results is not what I
expected as AC simulation results. Where I setup wrong.
If I set the f1 frequency higher, eg. 10M, it will not converge. What
should I do?