sdr.ClosedLoopPLL.lock_time(freq_offset: float) float

Returns the lock time of the PLL.

\[ T_{LOCK} = T_{PL} + T_{FL} = \frac{1.3}{B_n} + 4 \frac{(\Delta f)^2}{B_n^3} \]

Parameters:
freq_offset: float

The frequency offset \(\Delta f\) of the input signal in Hz.

Returns:

The time \(T_{LOCK}\) it takes the PLL to lock onto the input signal’s phase and frequency in seconds.

References

  • Michael Rice, Digital Communications: A Discrete-Time Approach, Equation C.38.

Examples

See the Phase-locked loops example.