Difference between revisions of "Quadrature Demod"

From GNU Radio
Jump to navigation Jump to search
(Fixed typo in equation for x[n].)
Line 14: Line 14:
f_s>0 so, without loss of generality,
f_s>0 so, without loss of generality,

<math>x[n]= A e^{j2\pi( \frac f{f_s} n + \phi_0)} \ f</math>
<math>x[n]= A e^{j2\pi( \frac f{f_s} n + \phi_0)}</math>


Revision as of 07:23, 9 December 2020

This can be used to demod FM, FSK, GMSK, etc. The input is complex baseband, output is the signal frequency in relation to the sample rate, multiplied with the gain.

Mathematically, this block calculates the product of the one-sample delayed-&-conjugated input and the undelayed signal, and then calculates the argument (a.k.a. angle, in radians) of the resulting complex number:

Let x be a complex sinusoid with amplitude A>0, (absolute) frequency and phase sampled at f_s>0 so, without loss of generality,


is real, and so is , and hence only scales, therefore is invariant: = arg


Gain setting to adjust the output amplitude. Set based on converting the phase difference between samples to a nominal output value. Default: "samp_rate/(2*math.pi*fsk_deviation_hz)".

Example Flowgraph

This flowgraph shows the Quadrature Demod block as a Frequency Shift Keying detector.

RTTY rcv.png

Source Files

C++ files
Header files
Public header files
Block definition