Compute the closed-loop transfert function of a frequency synthesizer of a second order loop of type 2, defined as :

with G(s) the transfert function of the direct gain and H(s) the transfert function of the feedback gain :

with Kv the sensitivity of the VCO in rad/v, Kcp the PFD gain in A/rad, F(s) the transfert function of the loop filter and N the value of the feedback divider.

B = closedloop(F,kv,Icp,N)

**F :**polynomial defining the transfert function of the loop filter.**kv :**real. local sensitivity of the Voltage Controlled Oscillator [Hz/V]**Icp :**real. maximum charge pump output current [A]**N :**integer. feedback divider value**B :**polynomial defining the transfert function of the closed loop

- MODNUMSCI/macros/pll/closedloop.sci [view code]

- [1] U. Rhode, Digital PLL Frequency Synthesizers.Prentice Hall, 1983.