This diagram realizes an open loop model of a continous Voltage Controled Oscillator.
Regular output of the VCO is described with the following formula :
Integration of input voltage and detection of crossing are made with the integral block and zeros crossing block of scicos which use the integrated lsoda solver.
Fo = 10e6; To = 1 / Fo; wo=2*%pi * Fo; alpha=60e6; kv=60e6 j_vco=100e6; N=3; Nsampl = 80; Tsampl = To/(Nsampl); Fsampl = 1 / Tsampl; Tfin=15*To