1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00
sdrangel/sdrgui/gui/spectrummeasurements.md
2024-04-26 21:18:32 +02:00

6.5 KiB

Spectrum measurements controls

This dialog controls which measurements are carried out on the spectrum and what is displayed on the spectrum window.

No measurements

Spectrum Measurements dialog - none

The spectrum is displayed the usual way without the measurements table

Peaks

Shows the n largest peaks in magnitude

Spectrum Measurements dialog - peak

  • Display results table: lets you choose whether the table is displayed at the left, right, top or bottom of the spectrum view. This control is common to all measurement types
  • Highlight on spectrum: controls whether the artifacts are displayed or not on the spectrum view. This control is common to all measurement types having artifacts
  • Results precision: controls the number of decimal places displayed on the power readings in dB. This control is common to all measurement types
  • Peaks: controls the number of peaks

Spectrum Measurements - peaks

Channel Power

Channel power measures the total power within a user-defined bandwidth. Channel shift is adjustable with the dialog.

Spectrum Measurements dialog - channel power

  • Results precision: controls the number of decimal places displayed on the power readings in dB
  • Center frequency offset: channel offset from the center in Hz
  • Channel bandwidth: bandwidth of the channel in Hz

Spectrum display with the highlight artifact on:

Spectrum Measurements - channel power

Adjacent channel power

The adjacent channel power measurement measures the power in a channel of user-defined bandwidth and compares it to the power in the left and right adjacent channels. Channel shift and adjacent channels width and separation are also adjustable with the dialog.

Spectrum Measurements dialog - adjacent channel power

  • Center frequency offset: channels offset from the center in Hz
  • Channel bandwidth: bandwidth of the center channel in Hz
  • Channel spacing: Center channel to adjacent channel centers spacing in Hz
  • Adjacent channel bandwidth: Adjacent channels bandwidth in Hz

Spectrum display with the highlight artifact on:

Spectrum Measurements - adjacent channel power

The results table displays:

  • Left power: power in the left channel in dB
  • Left ACPR: difference in power between the left channel and the center channel in dB
  • Center power: power in the center channel in dB
  • Right ACPR: difference in power between the right channel and the center channel in dB
  • Right power: power in the right channel in dB

Occupied Bandwidth

The occupied bandwidth measurement measures the bandwidth that contains 99% of the total power.

Spectrum Measurements dialog - occupied bandwidth

  • Center frequency offset: channel offset from the center in Hz
  • Channel bandwidth: bandwidth of the channel in Hz, over which the total power should be measured

Spectrum display with the highlight artifact on:

Spectrum Measurements - occupied bandwidth

3dB Bandwidth

The 3dB bandwidth measurement measures the bandwidth of a signal, calculated as the frequency difference between where the power falls by 3dB either side of the maximum peak.

Spectrum Measurements - 3dB bandwidth

SNR

The SNR measurement simultaneously calculates SNR, SNFR, THD, THD+N, SINAD and SFDR.

Spectrum Measurements dialog - SNR

  • Harmonics: controls the number of harmonics for SNR, THD or THD+N measurements (see next)

Spectrum display with the highlight artifact on:

Spectrum Measurements - SNR

The fundamental, harmonics and SFDR are highlighted.

SNR: Signal to Noise Ratio

The SNR measurement estimates a signal-to-noise ratio. The fundamental signal is the largest peak (i.e. FFT bin with highest magnitude). The bandwidth of the signal is assumed to be the width of the largest peak, which includes adjacent bins with a monotonically decreasing magnitude. Noise is summed over the full bandwidth (i.e all FFT bins), with the fundamental and user-specified number of harmonics being replaced with the noise median from outside of these regions. The noise median is also subtracted from the signal, before the SNR is calculated.

SNFR: Signal to Noise Floor Ratio

The SNFR measurement estimates a signal-to-noise-floor ratio. This is similar to the SNR, except that the noise used in the ratio, is only the median noise value calculated from the noise outside of the fundamental and harmonics, summed over the bandwidth of the signal. One way to think of this, is that it is the SNR if all noise outside of the signal's bandwidth was filtered.

THD: Total Harmonic Distortion

THD is measured as per SNR, but the result is the ratio of the total power of the harmonics to the fundamental.

THD+N: Total Harmonic Distortion Plus Noise

THD+N is measured as per SNR, but the result is the ratio of the total power of the harmonics and noise to the fundamental.

SINAD: Signal to Noise and Distortion Ratio

SINAD is measured as per SNR, but the result is the ratio of the fundamental to the total power of the harmonics and noise.

SFDR: Spurious Free Dynamic Range

SFDR is a measurement of the difference in power from the largest peak (the fundamental) to the second largest peak (the strongest spurious signal).

Specifications

The measurements table has a Spec column that allows entry of user-defined specifications for the Current, Mean, Min and Max values to be checked against. For example, you might choose to enter >50 in the SFDR row, to check that SFDR is greater than 50dB. Each time the specification fails to be met, the value in the Fails column is incremented. Values out of specification are highlighted in red. The Spec column supports the following operators: <, <=, >, >= and =.

Spectrum Measurements - specifications