MT Demodulate FM VI

LabView Analog Modulation

MT Demodulate FM VI

Performs frequency demodulation on the incoming I/Q signal. The recovered information signal is returned in the FM demodulated waveform parameter.

Details

MT Demodulate FM

ccclst.gif

FM modulated waveform specifies the baseband (downconverted) time-domain data for demodulation.

cdbl.gif

t0 specifies the trigger (start) time of the acquired signal.

cdbl.gif

dt specifies the time interval between data points in the acquired signal.

c1dcdb.gif

Y specifies the complex-valued time-domain data array. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

cdbl.gif

FM deviation specifies whether to scale the FM demodulated waveform. You can set this value to 1.0 or to the expected frequency deviation of the incoming FM signal for demodulation.

  • Set this value equal to 1.0 to return an FM demodulated waveform parameter with no scaling. In this case, the maximum amplitude in hertz of the FM demodulated waveform is equal to the actual frequency deviation of the incoming FM signal. If the information signal is a single tone, you can use the LabVIEW Extract Single Tone Information VI to measure the maximum amplitude of the FM demodulated waveform.
  • Set this value equal to the expected frequency deviation of the incoming FM signal to divide the FM demodulated waveform parameter value by this value. You can use the resulting scaled FM demodulated waveform to quantify the degree of error between the expected frequency deviation and the actual frequency deviation.
cbool.gif

carrier correction? toggles carrier correction on and off.

TRUE

When carrier correction? is TRUE, the VI determines a scalar correction to the carrier frequency estimate and compensates for it in the FM demodulated waveform parameter.

FALSE Set carrier correction? to FALSE when performing continuous acquisition. This is the default value.
cbool.gif

reset? controls initialization of internal VI states. The differentiation step of the demodulation process uses a three-tap FIR filter and involves a transient response.

TRUE

When reset? is TRUE, the initial state of the filter is reset to zero at each call to this VI.

FALSE

When reset? is FALSE, the differentiation begins with the filter in its final state from the previous call to this function. This is the default value.

cbool.gif

remove transient when reset? specifies whether to truncate the first several samples of the FM demodulated waveform when the VI has been reset (for example, on first call or when reset? is set to TRUE). On first call to this VI or when reset? is set to TRUE, set this parameter to TRUE to remove the transient of the FIR filter applied by the FM demodulator. The default is FALSE.

ccclst.gif

error in (no error) accepts error information wired from previously called VIs. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

cbool.gif

status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

ci32.gif

code identifies the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

cstr.gif

source describes the origin of the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

iwfm.gif

FM demodulated waveform returns the frequency-demodulated information signal.

idbl.gif

t0 returns the trigger (start) time of the Y array.

idbl.gif

dt returns the time between values in the Y array.

i1dcdb.gif

Y returns the frequency-demodulated information signal array.

idbl.gif

carrier offset returns the offset between the incoming modulated carrier frequency and the estimated carrier frequency specified in the MT Configure Downconversion Settings VI. If the carrier frequency drifts as a function of time, this VI calculates the offset by performing a weighted linear fit on the phase information in the I/Q signal and then taking the slope of this linear fit. You can use this slope to monitor the drift in the carrier frequency. When carrier correction? is set to FALSE, this parameter returns 0.

icclst.gif

error out passes error or warning information out of a VI to be used by other VIs. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

ibool.gif

status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

ii32.gif

code identifies the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

istr.gif

source describes the origin of the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error displayed.

Details

The information signal is computed as a result of a demodulation process, which takes place in two steps internally. First the incoming I/Q data is phase-demodulated, and then the result of this phase demodulation is differentiated using a software FIR with three taps.

This VI calculates any residual carrier frequency left in the FM modulated waveform. If you use this VI with NI hardware, the residual frequency is the offset from the expected carrier frequency specified in the MT Configure Downconversion Settings VI. If the actual carrier frequency of the acquired signal is different from the center frequency of the receiver, a DC offset is introduced into the generated FM demodulated waveform. If the carrier correction? parameter is set to TRUE, this offset is removed. This correction is made only in software; the VI does not attempt to establish a lock with the unit under test (UUT).

You can wire the FM demodulated waveform parameter to any of the LabVIEW waveform measurement VIs for more measurements. If the information signal is a single tone, you can wire the FM demodulated waveform parameter to the Extract Single Tone Information VI to measure the amplitude,frequency, and phase of the information signal.