Skip to content

SDR fundamentals

Simulated Every waterfall, spectrum and scope on this page is a simulated training display generated in your browser from synthetic signals. Nothing here is received off air.

A software-defined radio does in software what older receivers did with filters and mixers. Understanding the few stages between the antenna and the waterfall explains its quirks: why there is a spike in the middle, why a signal can appear twice, and why a strong station can fill the screen with things that are not really there.

From antenna to numbers

  1. Front end: optional filters and a low-noise amplifier (LNA). Gain here sets sensitivity and the risk of overload.
  2. Tuner (mixer): shifts the chosen centre frequency down to near zero hertz, producing two outputs 90° apart: I (in-phase) and Q (quadrature).
  3. Analogue-to-digital converter (ADC): samples I and Q at the sample rate fs, with a fixed number of bits.
  4. Software: FFTs make the spectrum and waterfall; digital filters and demodulators turn a chosen slice into audio or data.

Why I and Q?

With a single real signal you cannot tell whether a tone is 100 kHz above the centre frequency or 100 kHz below it: both give the same samples. With I and Q you can, because the phase relationship between them tells you which way the signal is rotating. That is why an SDR sampling at 2.4 MS/s shows a full 2.4 MHz of spectrum, from −1.2 to +1.2 MHz around the centre. For a step-by-step, interactive explanation, see what I/Q actually is.

  • Aliasing: a signal outside ±fs/2 does not disappear: it folds back into the display at its frequency minus a multiple of fs, unless the anti-alias filter removes it. A signal that moves the "wrong way" when you retune is an alias.
  • Image: if I and Q are not perfectly matched in gain and phase, every signal produces a weaker mirror image on the other side of the centre. Its level relative to the real signal is roughly 20·log₁₀(ε/2), where ε is the fractional mismatch.
  • DC spike: a small DC offset in the I/Q path shows up as a spike exactly at the centre frequency. Tune a little to one side of the signal you want ("offset tuning").

Bit depth and dynamic range

Each extra ADC bit adds about 6 dB of dynamic range (6.02·N + 1.76 dB in theory). Processing gain from the FFT and filtering adds more for narrow signals, so the useful range is higher than the raw figure.

Typical SDRADC bitsIdeal dynamic rangeMax bandwidth
RTL-SDR8about 50 dBabout 2.4 MHz (stable)
HackRF One8about 50 dB20 MHz
Airspy R2 / SDRplay RSP series12–14about 74–86 dB10 MHz
USRP B2xx, bladeRF12about 74 dB56–61 MHz

Overload and spurs

  • Too much gain drives the front end or ADC into clipping. Symptoms: the whole noise floor rises, extra signals appear everywhere (intermodulation, see harmonics), and they change when you change gain. Real signals do not change frequency with gain; products do.
  • Strong local signals (FM broadcast, a nearby mobile mast, paging) are the usual cause. A band-stop or band-pass filter fixes this better than turning gain down.
  • Internal spurs: clock harmonics from the SDR and its computer appear as fixed carriers at the same place on the display. Check with the antenna disconnected.
  • The test: retune by a small amount. A real signal moves on the display by exactly that amount; an image moves the opposite way; an internal spur often stays put.

Sources

  1. R. G. Lyons, Understanding Digital Signal Processing, 3rd ed. (quadrature signals and sampling).
  2. PySDR, "IQ Sampling" [ACADEMIC / OPEN TEXT] (free online textbook).
  3. Analog Devices, MT-001: Taking the Mystery out of the Infamous Formula "SNR = 6.02N + 1.76dB" [MANUFACTURER].

References, standards and the open-source software used to generate and verify the signals on this page are listed on Sources & credits.

Cite this resource

Harvard (UK) and BibTeX citations for this page are generated here when JavaScript is enabled.