sdr.LoopFilter(noise_bandwidth: float, damping_factor: float, K0: float = 1.0, Kp: float = 1.0)

Creates a 2nd order, proportional-plus-integrator (PPI) loop filter.

Parameters:
noise_bandwidth: float

The normalized noise bandwidth \(B_n T\) of the loop filter, where \(B_n\) is the noise bandwidth in Hz and \(T\) is the sampling period in seconds.

damping_factor: float

The damping factor of the loop filter. A damping factor of 1 is critically damped, less than 1 is underdamped, and greater than 1 is overdamped.

K0: float = 1.0

The NCO gain.

Kp: float = 1.0

The gain of the phase error detector (PED) or time error detector (TED).

Examples

See the Phase-locked loops example.