Sampling, aliasing, and antialias filters
Identify indistinguishable sampled frequencies and allocate analog filtering and clock performance before digitization.
On this page
The question for today
What you’ll understand
- Calculate the baseband alias of a sinusoidal input.
- Explain why analog rejection needs a transition band before sampling.
- Estimate a declared small-jitter signal-to-noise limit.
Sampling replaces a continuous waveform by values at selected times. Even an ideal converter with infinitely fine voltage resolution cannot distinguish all possible waveforms from those values alone. Frequencies separated by integer multiples of the sampling rate produce the same discrete complex phase progression. An analog bandwidth assumption is therefore part of the measurement model. The antialias filter enforces that assumption approximately before the information is folded, while the sampling clock determines how faithfully the intended sample times are realized.
Uniform samples identify frequency only modulo the clock rate
Assume ideal instantaneous samples at times n/fs with a fixed, uniform sampling frequency fs. Adding an integer multiple of fs to an input frequency changes each sampled complex phase by an integer number of full rotations and leaves the samples unchanged. For real sinusoids, negative-frequency aliases can be represented at positive frequency with the appropriate phase convention. A convenient reported alias lies between zero and fs/2.
The baseband reconstruction theorem assumes that the input spectrum is strictly confined below half the sampling rate and that the ideal sampling and reconstruction conditions hold. At exactly the Nyquist frequency, particular phases can give degenerate samples, so equality should not be used as a comfortable design margin. Bandpass sampling can deliberately use a higher Nyquist zone, but then band placement and filtering require their own analysis. A single sample-rate number does not establish the accepted analog bandwidth.
Filtering after aliasing cannot identify the original frequency
An antialias filter reduces unwanted signals and broadband noise before they reach the sampler. A practical filter has finite rolloff, so its passband must end early enough to provide a transition region and the required stopband attenuation. Merely choosing a cutoff equal to fs/2 does not give strong suppression immediately above that frequency. Strong disturbances may require more rejection than ordinary signal-flatness considerations suggest.
Once two contributions have folded onto the same digital frequency, a digital filter cannot identify their analog origins. It can reject that frequency only by rejecting all content there, including any wanted component. Noise over several analog Nyquist zones can also fold into the same digital band. Input protection, amplifier linearity, and prefilter placement must be considered together, because a disturbance that clips an earlier stage can create new frequencies before the sampler.
Timing and acquisition introduce additional response limits
Clock jitter produces voltage errors in proportion to waveform slope, making high-frequency inputs sensitive even when their digital aliases are low. A fixed aperture delay instead shifts timing systematically and can often be calibrated; random aperture uncertainty is different. A frequency error in the clock changes the inferred time scale and should not be described as independent white jitter. Synchronization and trigger uncertainty likewise need a stated relationship to the measurand.
A real acquisition system also has finite analog input bandwidth, sample-and-hold aperture, settling, and possibly channel multiplexing. An integrating aperture introduces its own frequency weighting. A multiplexer can leave a channel contaminated by the previous channel if the input does not settle before conversion. These are separate from the ideal alias identity and from voltage quantization. End-to-end acquisition tests should therefore check analog response, timing, and channel conditions rather than relying solely on the nominal number of samples per second.
Work it through
Follow an interferer through a filter and sampler
A hypothetical uniform sampler runs at fs=1000 samples/s. A 700 Hz cosine interferer with peak amplitude 70 mV first passes through an ideal one-pole analog low-pass filter with fc=100 Hz and unit DC gain. Find its sampled alias and filtered amplitude. Also state the filter's amplitude transmission for a desired 100 Hz tone.
The 700 Hz tone has representative 700−1000=−300 Hz, so its real-signal baseband alias is 300 Hz with the corresponding phase reversal.
The analog magnitude at 700 Hz is . Its peak amplitude becomes mV before aliasing.
At 100 Hz the magnitude transmission is 1/√2≈0.707107. Thus this filter attenuates the wanted tone too and leaves a sizable 300 Hz alias; calling 100 Hz its cutoff does not prove adequate stopband rejection.
The filtered interferer appears at 300 Hz with about 9.899 mV peak amplitude; the desired 100 Hz amplitude is multiplied by about 0.7071.
The living notebook
Explore the model
Interactive lab · modular
Discrete phase progresses modulo a full turn
For each fresh comparison, Reset and set BOTH Modulus m=10 and Additive step a. Compare a=7 and a=3 over the first three Steps. Predict residues (7,4,1) and (3,6,9). Interpreting each residue r as phase 2πr/10 gives equal zero-initial-phase cosine samples in the two runs. This additive orbit illustrates frequency folding; it does not sample a waveform, implement a filter, or simulate clock jitter.
- Residue r0
- 0
- Orbit period · m/gcd(m,a)
- 12
- Distinct residues visited
- 1 of 12
Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forDifferent phase progressions can give the same real samples when one is the negative-frequency representative of the other.
Pause & reason
Check your understanding
Your turn
Try it yourself
Under the stated small, uncorrelated random-jitter model, let σt=10 ps. Compute the jitter-only SNR for analog input frequencies 10 MHz and 100 MHz. Assume adequate analog bandwidth and an otherwise ideal acquisition. Use log10(2π)≈0.798180.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Convert picoseconds to seconds. Raising the analog frequency by a factor ten changes the logarithmic estimate by twenty decibels.
Compare with the solution
At 10 MHz, , giving SNR≈64.0364 dB. At 100 MHz the factor is ten times larger and SNR≈44.0364 dB. The results describe a jitter-only ceiling within the small-error model, not a measured converter specification. A lower alias frequency would not change either number, and a systematic clock-rate error would require a separate timing calibration rather than this random-jitter formula.
Keep the idea
Take it with you
- Uniform sampling creates frequency equivalence modulo the sample rate.
- Analog antialias rejection and a practical transition band precede irreversible folding.
- Clock jitter, aperture response, settling, and voltage resolution impose different limits.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.