PLL Carrier Tracking: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add clarification)
(added formula)
Line 6: Line 6:
=== Notes ===
=== Notes ===


* <b>Important:</b> The frequency parameters below are in <i>radians per sample</i> rather than Hz.
* <b>Important:</b> The frequency parameters below are in <i>radians per sample</i> rather than Hz.<br>
** for example:
<pre>radians per sample = 2 * pi * freq / sample rate</pre>
*** input centered at 0 Hz.
* for example:
*** Sample rate = 48kHz.
** input centered at 0 Hz.
*** frequency variations to track +- 500Hz.
** Sample rate = 48kHz.
*** Max freq = 0.0654
** frequency variations to track +- 500Hz.
*** Min freq = -0.0654
** Max freq = 0.0654
** Min freq = -0.0654


* This block requires an input signal of at least -30db in order to lock to the carrier.
* If the input signal were to be at 10kHz, then the Max freq would be 1.374 and the Min freq would be 1.246
 
* This block seems to require an input signal of at least -30db in order to lock to the carrier.


== Parameters ==
== Parameters ==

Revision as of 15:26, 28 October 2019

Implements a Phase Locked Loop (PLL) which locks to the carrier of the input frequency and outputs the input signal mixed with that carrier.

This PLL locks onto a [possibly noisy] reference carrier on the input and outputs that signal, downconverted to DC.

Notes

  • Important: The frequency parameters below are in radians per sample rather than Hz.
radians per sample = 2 * pi * freq / sample rate
  • for example:
    • input centered at 0 Hz.
    • Sample rate = 48kHz.
    • frequency variations to track +- 500Hz.
    • Max freq = 0.0654
    • Min freq = -0.0654
  • If the input signal were to be at 10kHz, then the Max freq would be 1.374 and the Min freq would be 1.246
  • This block seems to require an input signal of at least -30db in order to lock to the carrier.

Parameters

(R): Run-time adjustable

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

Example Flowgraph

This flowgraph shows the use of a PLL Carrier Tracking block in an AM receiver.

FunCube AM.png

Source Files

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