Skip to content

RF Building Blocks: Mixers and PLLs

Communication systems partition processing into frequency regions: baseband (message near DC), intermediate frequency (IF) (a fixed band chosen for filtering and gain) and radio frequency (RF) (the transmitted/received carrier band). A frequency converter moves information among these regions: the mixer supplies nonlinear multiplication, the local oscillator (LO) supplies the translation frequency and a filter selects the wanted product.

RF signal chain: a transmitter up-converts baseband/IF to RF before the power amplifier; a receiver amplifies, down-converts to a fixed IF/baseband and detects.

RF signal chain: a transmitter up-converts baseband/IF to RF before the power amplifier; a receiver amplifies, down-converts to a fixed IF/baseband and detects.

Frequency conversion translates every spectral component by a controlled amount while ideally preserving relative amplitude, phase and modulation. A mixer combines the input with the LO; sum and difference products appear, and a filter selects the wanted band.

Up-conversion (IF → RF) selects the sum product; down-conversion (RF → IF) selects the difference product. The same mixer core serves both directions.

Up-conversion (IF → \,\to\,RF) selects the sum product; down-conversion (RF → \,\to\,IF) selects the difference product. The same mixer core serves both directions.

Mixing fIFf_{IF} with fLOf_{LO} gives products at fLO+fIFf_{LO}+f_{IF} and ∣fLO−fIF∣\left\lvert f_{LO}-f_{IF}\right\rvert; a bandpass filter selects the desired RF, commonly fRF=fLO+fIFf_{RF}=f_{LO}+f_{IF} (transmitter translation, channel allocation, microwave links). The receiver mixes fRFf_{RF} with the LO and selects fIF=∣fRF−fLO∣f_{IF}=\left\lvert f_{RF}-f_{LO}\right\rvert (superheterodyne reception, spectrum analysers, SDR front ends, channelizers).

Low-Side, High-Side Injection and Spectral Inversion

Section titled “Low-Side, High-Side Injection and Spectral Inversion”

Both LO choices fLO=fRF−fIFf_{LO}=f_{RF}-f_{IF} (low-side) and fLO=fRF+fIFf_{LO}=f_{RF}+f_{IF} (high-side) yield the same IF; the choice affects image location, LO leakage, tuning range and filter design. Selecting a difference product can reverse the order of sidebands (spectral inversion) depending on whether the LO is above or below the signal — critical for SSB and complex I/Q signals.

An ideal mixer is a multiplier. With vRF=ARFcos⁡ωRFtv_{RF}=A_{RF}\cos\omega_{RF}t and vLO=ALOcos⁡ωLOtv_{LO}=A_{LO}\cos\omega_{LO}t, vo=K vRFvLOv_o=K\,v_{RF}v_{LO}, and using cos⁡Acos⁡B=12[cos⁡(A+B)+cos⁡(A−B)]\cos A\cos B=\tfrac12[\cos(A+B)+\cos(A-B)]:

The mixer creates both products; a following filter selects one.

Mixer frequency conversion: f_(RF) and f_(LO) multiply to give f_(IF) = |f_(RF) − f_(LO)| (selected) plus the sum, while an image on the opposite side of the LO maps to the same IF.

Mixer frequency conversion: fRFf_{RF} and fLOf_{LO} multiply to give fIF=∣fRF−fLO∣f_{IF}=\left\lvert f_{RF}-f_{LO}\right\rvert (selected) plus the sum, while an image on the opposite side of the LO maps to the same IF.

A practical device has a nonlinear law vo=a1v+a2v2+a3v3+⋯v_o=a_1v+a_2v^2+a_3v^3+\cdots with v=vRF+vLOv=v_{RF}+v_{LO}; cross-products create the spur family:

The wanted conversion is a low-order product; the rest are spurs needing frequency planning and filtering. The RF port carries the signal band, the LO port a strong switching/pump waveform and the IF port the translated band; a passive reciprocal mixer can often convert in either direction.

Mixer classification: passive diode/FET topologies (single-ended, single-balanced, double-balanced/ring) versus active transistor mixers such as the Gilbert cell. Passive NF is approximately conversion loss plus excess noise; active mixers can provide gain but add device noise and may have a lower high-frequency limit.

Mixer classification: passive diode/FET topologies (single-ended, single-balanced, double-balanced/ring) versus active transistor mixers such as the Gilbert cell. Passive NF is approximately conversion loss plus excess noise; active mixers can provide gain but add device noise and may have a lower high-frequency limit.

Passive mixers use diodes or MOSFETs as LO-driven switches (single diode, diode ring, FET commutating). They need no DC core power, usually show conversion loss, offer good linearity and large-signal handling, require high LO drive, and (double-balanced) suppress LO/RF feedthrough. For a passive mixer at the standard noise temperature, noise figure in dB is approximately its conversion loss plus practical excess noise, subject to the stated SSB/DSB convention. Active mixers (e.g. Gilbert cell) use biased transconductance plus switching: they can provide conversion gain, accept lower LO drive and integrate well with LNA/IF stages, but consume DC power, add device noise and often have lower linearity/dynamic range; transistor speed and parasitics can also limit their highest useful frequency range.

FeaturePassive mixerActive mixer
DC powerNone / very low in coreRequired (bias)
ConversionLossGain or lower loss possible
LO driveUsually higherOften lower
LinearityOften higherOften lower
IntegrationBaluns awkwardExcellent in ICs
NoiseLoss directly hurts cascaded NFDevice noise, but gain helps

Passive versus active mixer trade-offs.

Balance types: unbalanced (simplest, large feedthrough); single-balanced (symmetry suppresses one feedthrough family); double-balanced (ideally suppresses both RF and LO feedthrough and even-order products). No practical balance is perfect due to device/transformer mismatch.

These equations use a power-conversion convention. A quoted mixer result must state whether it is power or voltage conversion and, for power, whether available or transducer gain/loss is meant. It must also give the defining test conditions: RF/IF frequencies and terminations, LO frequency and drive, RF input level, and relevant bandwidth/temperature for noise measurements.

Port isolation is the attenuation of unwanted leakage between ports (LO→\toRF limits LO radiation from the antenna; LO→\toIF limits LO feedthrough; RF→\toIF measures direct leakage). Higher isolation in dB is better.

  • Noise figure: NF=10log⁡10(SNRin/SNRout)NF=10\log_{10}(SNR_{in}/SNR_{out}); image-band noise can convert to IF, so single- vs double-sideband NF must be stated.

  • 11-dB compression point (P1dBP_{1\text{dB}}): input/output power where actual conversion gain falls 1 dB1\,dB below the small-signal extrapolation — onset of large-signal compression, not an operating point.

  • Third-order intercept (IIP3/OIP3): two tones f1,f2f_1,f_2 create in-band 2f1−f22f_1-f_2 and 2f2−f12f_2-f_1; extrapolated fundamental and IM3 lines meet at the intercept. Higher IP3 == better linearity, but it is extrapolated.

  • Spurious/image: any input with ∣mfRF±nfLO∣=fIF\left\lvert m f_{RF}\pm n f_{LO}\right\rvert=f_{IF} maps to IF; the ordinary image is the m=n=1m=n=1 term on the opposite side of the LO. Preselection and multiple conversion reduce responses.

A PLL is a negative-feedback system that adjusts a voltage-controlled oscillator (VCO) so its output phase/frequency follows a reference. It comprises a phase detector, loop filter and VCO, with optional feedback division.

PLL core: the phase detector (PD) compares reference and feedback phase; the loop filter averages the error; the VCO output is fed back (optionally ÷N) to close the loop.

PLL core: the phase detector (PD) compares reference and feedback phase; the loop filter averages the error; the VCO output is fed back (optionally ÷N\div N) to close the loop.

BlockFunction
Phase detector / PFDCompare reference and feedback phase; produce error
Charge pump (digital PLL)Convert PFD pulses to controlled current
Loop filterAverage error, reject detector products, set loop dynamics
VCOProduce frequency controlled by loop voltage
Divider (÷N\div N, optional)Scale output before comparison for synthesis

PLL building blocks.

where KdK_d is detector gain (V/rad) and KVCOK_{VCO} is VCO sensitivity (Hz/V).

  1. Free-running: without useful error, the VCO runs near f0f_0.

  2. Acquisition/capture: average correction pulls the VCO toward the input.

  3. Locked: average frequencies are equal (or follow the divider ratio). Phase error is bounded and constant for a static offset.

  4. Loss of lock: input change, noise or modulation exceeds tracking/hold capability.

Typical PLL relation: the capture range (acquire from unlocked) is smaller than the lock/hold range (remain locked). Exact definitions and limits depend on detector, loop topology and test method.

Typical PLL relation: the capture range (acquire from unlocked) is smaller than the lock/hold range (remain locked). Exact definitions and limits depend on detector, loop topology and test method.

The capture range is where an unlocked PLL can acquire lock; the lock/hold/tracking range is where an already-locked loop stays locked as the input changes slowly.

Wider loop bandwidth tracks faster modulation and acquires quickly but passes more noise/spurs; narrower bandwidth filters noise but acquires/tracks slowly. Loop damping sets overshoot, settling and stability. A first-order loop has no independent filter pole; second-order loops (most common) trade bandwidth against damping.

PLL applications span demodulation, synchronization, synthesis, tracking and multiplication. For AFC, filtered control voltage corrects slow local-oscillator drift.

PLL applications span demodulation, synchronization, synthesis, tracking and multiplication. For AFC, filtered control voltage corrects slow local-oscillator drift.

The VCO control voltage tracks instantaneous input frequency, so the loop-filter output is the recovered message:

For FSK, the control voltage settles to two levels (mark/space); a threshold recovers bits if both tones lie in the tracking range and the symbol duration is long enough for the loop to settle sufficiently before the decision instant.

PLL as an FM demodulator: the recovered message is taken as the loop-filter control voltage that forces the VCO to follow the input.

PLL as an FM demodulator: the recovered message is taken as the loop-filter control voltage that forces the VCO to follow the input.

Suppressed-carrier DSB/PSK needs a coherent reference: a Costas loop uses I/Q products to form a data-insensitive phase error; a squaring loop makes a carrier multiple then divides; a pilot-aided loop locks to a transmitted pilot. BPSK’s 180∘180^\circ ambiguity is handled by differential coding or training. Clock recovery uses a timing-error detector plus loop filter and controlled oscillator to place sampling instants at symbol centres (a timing PLL, even when digital).

With a reference divider, define fref=fPFD=fxtal/Rf_{ref}=f_{PFD}=f_{xtal}/R. Inserting ÷N\div N in feedback gives, in lock, fout/N=freff_{out}/N=f_{ref}, so fout=Nfreff_{out}=N f_{ref}; changing integer NN selects channels spaced by freff_{ref}. A feedback divider multiplies by NN; a divider after the VCO yields coherent lower frequencies. Frequency multiplication scales carrier frequency, frequency deviation and phase deviation by the multiplication factor. Reference-derived phase noise rises ideally by 20log⁡10N20\log_{10}N in dB, and practical PLL output also contains loop, divider and VCO noise.

Integer-N frequency synthesizer: reference ÷R, PFD, loop filter, VCO and ÷N feedback give f_(out) = Nf_(ref) = (N/R)f_(xtal).

Integer-NN frequency synthesizer: reference ÷R\div R, PFD, loop filter, VCO and ÷N\div N feedback give fout=Nfref=(N/R)fxtalf_{out}=Nf_{ref}=(N/R)f_{xtal}.

The basic integer-NN channel step is freff_{ref}. Fractional-NN synthesis modulates the divider sequence so its average ratio is fractional, giving finer channel steps. Divider quantization then creates shaped noise and fractional spurs; the modulation pattern and PLL bandwidth/loop filter must be chosen together to trade settling, in-band noise and spur suppression.

A narrow PLL can act as a tracking filter: it follows the wanted carrier inside its loop bandwidth while rejecting more distant out-of-band noise and interference. In automatic frequency control (AFC), the filtered control/error voltage is fed to the receiver local oscillator so that slow LO drift is corrected and the wanted signal remains centred in the IF passband.