---
title: Receiver architectures
heading: The superheterodyne and its frequency plan, image and half-IF responses, direct conversion and its problems, and sampling at the IF or at RF
eyebrow: S6 · Lesson 44 · Receiver architectures
xp: 50
---

::: hook
A receiver is a chain of the blocks from the last six lessons: filters, a low-noise amplifier, mixers, oscillators, and more filters and gain. How they're arranged decides almost everything about it. Armstrong's superheterodyne, from 1918, still dominates where performance matters, because doing most of the filtering and gain at one fixed intermediate frequency makes both easy. Direct-conversion receivers skip the IF altogether and fit on a single chip, at the cost of new problems at zero frequency. Software-defined radios push the analog-to-digital converter as close to the antenna as they can. Each choice is a trade among image rejection, selectivity, dynamic range, power and cost.
:::

::: play
- A superheterodyne front end at 2450 MHz with a 100 MHz-wide Butterworth preselector of order N, and a low-side LO.
- The image sits $2f_{IF}$ below the wanted signal. A low IF puts it close to the preselector's passband; a higher IF moves it further down the skirt.
- With a 3-pole preselector, a 70 MHz IF gives 27.6 dB of image rejection and a 300 MHz IF gives 68.7 dB.
:::
:::

```sim plot
view: graph
x: f = 1800..3100 MHz
y: S = -80..0 dB
slider: I = 10..400 = 70 MHz
slider: N = 1..7 = 3 step 1
plot: -10*log(1 + abs((f/2450 - 2450/f)/(100/2450))^(2*N)) | samples: 800 | label: preselector |S₂₁|
marker: f = 2450 | label: wanted
marker: f = 2450 - I | label: LO
marker: f = 2450 - 2*I | label: image
readout: image rejection, dB = 10*log(1 + abs(((2450 - 2*I)/2450 - 2450/(2450 - 2*I))/(100/2450))^(2*N))
```

::: predict
## A direct-conversion receiver mixes 2.45 GHz straight to zero frequency with a 2.45 GHz LO. What happens to the image problem?

- [ ] It gets worse, because the image is now on top of the signal
- [x] The image is the signal's own other sideband, which quadrature (I/Q) mixing keeps separate
- [ ] There's no image because there's no mixer
- [ ] The image moves to 4.9 GHz

::: reveal
With the LO at the carrier, the "image" is the signal's own mirror around the carrier. Mixing with I and Q LOs keeps the positive- and negative-frequency halves apart, so no RF image filter is needed. The cost is that any I/Q gain or phase imbalance leaks one half onto the other (the same arithmetic as lesson 43's image-reject mixer), and that DC offsets, flicker noise and even-order distortion all land right in the middle of the band.
:::
:::

::: nameit
## The superheterodyne

Preselector → LNA → image filter → mixer → IF filter → IF amplifier (often a second conversion) → detector or ADC.

- **Image rejection** comes from the filters ahead of the mixer, evaluated at $f_{IM} = f_{RF} \mp 2f_{IF}$. A high first IF makes image rejection easy; a low IF makes channel filtering easy. Double conversion takes both: a high first IF for the image, then a low second IF for the channel.
- The **half-IF spur** is the (2, 2) product, $2f_\text{sp} - 2f_{LO} = \pm f_{IF}$, at $f_{LO} \pm f_{IF}/2$; with a low-side LO, one lands at $f_{RF} - f_{IF}/2$, close to the wanted signal.
- Sensitivity, intercept and dynamic range of the whole chain come from lessons 29 and 31.

## Direct conversion (zero IF) and low IF

- No image filter and no IF filter: channel filtering is done at baseband, in analog lowpass filters or in digital.
- Problems: LO leakage reflecting back and self-mixing to a **DC offset**; **flicker noise** of the baseband stages; **I/Q imbalance**; and **second-order distortion**, since a strong blocker's envelope detected by the even-order term lands at DC. Second-order linearity is specified by IIP2, with the input-referred product $P_{IM2} = 2P_\text{in} - \text{IIP2}$.
- **Low-IF** receivers move the signal just off zero to escape DC and flicker noise and rely on I/Q image rejection.

## Sampling the IF or the RF

An ADC can sample a band from $f_L$ to $f_H$ below its Nyquist rate (**bandpass sampling**) if, for some integer zone n,

$$\frac{2f_H}{n} \le f_s \le \frac{2f_L}{n - 1}$$

Oversampling a channel of bandwidth B gives **processing gain** $10\log(f_s/2B)$, so an N-bit converter offers about $6.02N + 1.76 + 10\log(f_s/2B)$ dB of SNR in the channel.
:::

::: example
## A 2450 MHz receiver has a 3-pole Butterworth preselector 100 MHz wide. Compare the image rejection with a 70 MHz and a 300 MHz IF.

::: solution
1. **Image with a 70 MHz IF.** The image is at 2310 MHz, where the normalized frequency is
   $$\begin{aligned} &\frac{2310/2450 - 2450/2310}{100/2450} \\ &= -2.88 \end{aligned}$$
2. **Rejection there.**
   $$10\log(1 + 2.88^6) = 27.6\ \text{dB}$$
3. **With a 300 MHz IF.** The image is at 1850 MHz, normalized −13.9, where the loss is 68.7 dB.
4. **The catch.** The 300 MHz IF then needs a sharper IF filter to select a narrow channel, which is what double conversion is for.

**Answer:** 27.6 dB of image rejection with a 70 MHz IF, and 68.7 dB with a 300 MHz IF.
:::
:::

::: example
## A 20 MHz-wide signal centered on a 70 MHz IF (60 to 80 MHz) is to be sampled directly. Which sample rates work?

::: solution
1. **Zone 1.** $f_s \ge 160$ MHz.
2. **Zone 2.** 80 to 120 MHz.
3. **Zone 3.** 53.3 to 60 MHz.
4. **Zone 4.** Exactly 40 MHz, too tight to use.
5. **A practical choice.** A 100 MHz clock in zone 2 leaves margin on both sides.
6. **In-channel SNR.** A 12-bit converter at 100 MHz digitizing a 5 MHz channel would offer about
   $$74.0 + 10\log(100/10) = 84\ \text{dB}$$

**Answer:** 160 MHz or more (zone 1), 80 to 120 MHz (zone 2) or 53.3 to 60 MHz (zone 3); zone 4 allows only exactly 40 MHz, too tight to use.
:::
:::

::: example
## A direct-conversion receiver with IIP2 = +50 dBm, a 5 dB noise figure and a 5 MHz channel sees a −30 dBm amplitude-modulated blocker. Does the blocker's second-order product matter?

::: solution
1. **Second-order product.** Referred to the input, it lands at DC, inside the channel:
   $$\begin{aligned} 2P - \text{IIP2} &= -60 - 50 \\ &= -110\ \text{dBm} \end{aligned}$$
2. **Noise floor.**
   $$\begin{aligned} N &= -174 + 10\log_{10}(5 \times 10^6) \\ &\quad + 5 \\ &= -102\ \text{dBm} \end{aligned}$$
3. **Compare.** The product sits 8 dB below the floor, raising the noise by about 0.6 dB.
4. **A stronger blocker.** A blocker 5 dB stronger would raise the product 10 dB, to 2 dB above the floor: zero-IF receivers need IIP2 of +50 dBm or more for exactly this reason.

**Answer:** it matters a little: at −110 dBm the product sits 8 dB below the −102 dBm floor and raises the noise by about 0.6 dB.
:::
:::

::: check
given: f = 2450 | 1900; I = 45 | 140 | 250; N = 2 | 3 | 5
answer: 10*log(1 + abs(((f - 2*I)/f - f/(f - 2*I))/(100/f))^(2*N))
unit: dB
tolerance: 0.05

## A receiver at {f} MHz has an order-{N} Butterworth preselector 100 MHz wide and a {I} MHz IF with a low-side LO. How much image rejection does the preselector give?

::: right
Right. Its loss at $f_{RF} - 2f_{IF}$: {answer} dB.
:::

::: misses
- [10*log(1 + abs(((f - I)/f - f/(f - I))/(100/f))^(2*N))] That's the loss at the LO frequency; the image is $2f_{IF}$ away.
- [any] Not yet. Evaluate the filter at $f_{IM} = f_{RF} - 2f_{IF}$.
:::
:::

::: check
given: f = 900 | 2450 | 5800; I = 10.7 | 70 | 160
answer: f - I/2
unit: MHz
tolerance: 0.01%

## A receiver tunes {f} MHz with a {I} MHz IF and a low-side LO. Where's the half-IF spurious response nearest the signal?

::: right
Right. $f_{LO} + f_{IF}/2 = f_{RF} - f_{IF}/2$ = {answer} MHz.
:::

::: misses
- [f - 2*I] That's the image.
- [f - I] That's the LO.
- [any] Not yet. The (2, 2) response: $2f - 2f_{LO} = f_{IF}$.
:::
:::

::: check
given: L = 45 | 60 | 140; W = 10 | 20; n = 2 | 3
answer: 2*(L + W)/n
unit: MHz
tolerance: 0.01%

## A band from {L} to {L} + {W} MHz is bandpass-sampled in Nyquist zone {n}. What's the lowest allowed sample rate?

::: right
Right. $2f_H/n$ = {answer} MHz.
:::

::: misses
- [2*L/(n - 1)] That's the highest allowed rate in that zone.
- [2*W] That's the theoretical minimum for the bandwidth, reached only for special band positions.
- [any] Not yet. $2f_H/n \le f_s \le 2f_L/(n - 1)$.
:::
:::

::: check
given: P = -30 | -20 | -10; I = 30 | 45 | 60
answer: 2*P - I
unit: dBm
tolerance: 0.05

## A direct-conversion receiver with IIP2 = {I} dBm sees a {P} dBm amplitude-modulated blocker. What's the second-order product, referred to the input?

::: right
Right. $2P_\text{in} - \text{IIP2}$ = {answer} dBm.
:::

::: misses
- [3*P - 2*I] That's the third-order rule.
- [any] Not yet. Second-order products rise 2 dB per dB: $P_{IM2} = 2P - \text{IIP2}$.
:::
:::

::: check
given: N = 10 | 12 | 14 | 16; s = 50 | 125 | 250; B = 0.2 | 5 | 20
answer: 6.02*N + 1.76 + 10*log(s/(2*B))
unit: dB
tolerance: 0.05

## An ideal {N}-bit ADC sampling at {s} MHz digitizes a {B} MHz channel. What SNR can it offer in the channel?

::: right
Right. $6.02N + 1.76 + 10\log(f_s/2B)$ = {answer} dB.
:::

::: misses
- [6.02*N + 1.76] Add the processing gain from filtering to the channel.
- [any] Not yet. Full-scale SNR plus processing gain.
:::
:::

::: check
given: M = -40 | -25 | -15; S = -100 | -90; R = 6 | 12
answer: M - (S - R)
unit: dB
tolerance: 0.05

## An interferer at {M} dBm sits at the image frequency of a receiver whose weakest wanted signal is {S} dBm and which needs {R} dB SNR. How much image rejection is needed so the image stays below the signal by that SNR?

::: right
Right. The image must be pushed down to {S} − {R} dBm: {answer} dB of rejection.
:::

::: misses
- [M - S] Also leave room for the required SNR.
- [any] Not yet. The image must arrive {R} dB below the wanted signal.
:::
:::

::: check
kind: parts
given: L = 60 | 140; W = 10 | 20; n = 2 | 3; N = 12 | 14; B = 1 | 5

## A band from {L} to {L} + {W} MHz is bandpass-sampled in Nyquist zone {n} at the lowest allowed rate by an ideal {N}-bit ADC, and the wanted channel is {B} MHz wide.

::: part
answer: 2*L/(n - 1)
unit: MHz
tolerance: 0.5%

### What is the highest sample rate allowed in that zone?

::: misses
- [2*(L + W)/n] That's the lowest.
- [any] $2f_L/(n - 1)$.
:::
:::

::: part
answer: 6.02*N + 1.76 + 10*log(2*(L + W)/n/(2*B))
unit: dB
tolerance: 0.5%

### What SNR does the ADC offer in the channel at the lowest rate?

::: misses
- [6.02*N + 1.76] Add the processing gain $10\log_{10}(f_s/2B)$.
- [any] $6.02N + 1.76 + 10\log_{10}(f_s/2B)$.
:::
:::
:::

::: check
kind: derivation
vars: f = 500..6000, i = 10..500

## A receiver tunes f with an IF of i and a low-side LO.

::: step
answer: f - i

### Where is the LO?
:::

::: step
answer: f - 2*i

### Where is the image?
:::

::: step
answer: f - i/2

### Where is the nearer half-IF spur?
:::

::: right
Right. The image is two IFs away and the half-IF spur only half an IF, which is why the half-IF spur is so hard to filter.
:::
:::

::: explain
## Why do superheterodyne receivers often convert twice?

::: model
The first IF has to be high so that the image, two IFs away from the wanted signal, falls far enough down the skirt of a modest RF filter to be rejected. But a high IF is a bad place to select a narrow channel, because a filter's achievable bandwidth is roughly a fixed fraction of its center frequency, so a 25 kHz channel at 1 GHz would need a filter of extraordinary Q. Converting a second time to a low IF, say 455 kHz or 10.7 MHz, puts the channel where crystal or ceramic filters can select it sharply. The first conversion handles the image and the second handles selectivity, each at the frequency that suits it.
:::
:::

::: practice

::: check
given: f = 1575 | 2450; I = 60 | 200
answer: f - I/2
unit: MHz
tolerance: 0.01%

## Half-IF spur for {f} MHz, IF {I} MHz, low-side LO?

::: misses
- [any] $f_{RF} - f_{IF}/2$.
:::
:::

::: check
given: L = 60 | 100; W = 15 | 25; n = 2 | 3
answer: 2*(L + W)/n
unit: MHz
tolerance: 0.01%

## Lowest sample rate in zone {n} for {L} to {L} + {W} MHz?

::: misses
- [any] $2f_H/n$.
:::
:::

::: check
given: N = 12 | 16; s = 100 | 500; B = 1 | 10
answer: 6.02*N + 1.76 + 10*log(s/(2*B))
unit: dB
tolerance: 0.05

## In-channel ADC SNR: {N} bits, {s} MHz, {B} MHz channel?

::: misses
- [any] $6.02N + 1.76 + 10\log(f_s/2B)$.
:::
:::
:::
