PLL Frequency Detector

From GNU Radio
(Redirected from PLL Freq Det)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Implements a PLL which locks to the input frequency and outputs an estimate of that frequency. Useful for FM Demod.

This PLL locks onto a [possibly noisy] reference carrier on the input and outputs an estimate of that frequency in radians per sample

Parameters

(R): Run-time adjustable

Loop bandwidth (R)
The loop bandwidth determines the lock range and should be set around pi/200 2pi/100.
Max freq
Maximum frequency of the carrier in radians per sample
Min freq
Minimum frequency of the carrier in radians per sample

Example Flowgraph

Simple Usage Example

Pll freqdet simple.png

PLL Freq Det can be used to detect the frequency of a (noisy) single tone.

This minimal demo does nothing than allow the user to adjust a Signal Source's frequency, and then estimate the same.

Doppler Sonar

The flow graph below demonstrates a functioning Doppler sonar, which allows the user to estimate the speed of an object moving towards the speaker. (For this to work, the microphone and the speaker need to point into the same direction, not at each other; ideally, the microphone is directive, so that it doesn't pick up as much crosstalk from the speaker next to it.)

Sonar PLL freqdet.png

Doppler Sonar Display.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO