trond
|
1) The PAC output of a VCO should look like the one of an integrator. When using the code given below, the magnitude of the response is only a few mV. It should have a very high gain at dc, should it not? I am confused. ..... analog begin freq=f0+Kvco*V(in); $bound_step(0.01/freq); phase=2*PI*idtmod(freq, 0, 1, -0.5); V(out) <+ sin (phase) end ..... f0=1e6, Kvco=0.5e6 clkalone pss fund=1e6 errpreset=conservative freqresp pac start=0.1 stop=1e6/4 log=500
2) When using phase=2*PI*idtmod(freq, 0, 1); instead of phase=2*PI*idtmod(freq, 0, 1, -0.5); the PSS will just sit there and do nothing. Why is that? Do I need an offset?
3) I found that there is a difference between @(cross( x - 0.5 ,1)) and @(cross( x - 1/2 ,1)) When using 1/2 it will not trigger.
BTW, I am currently using version 5.10.41.052404
Thanks, Any feedback is appreciated.
|