University of Glasgow · FACULTY OF PHYSICS

PHYS5044 Chap.10 Sampling, Aliasing and Spectral Density

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 10 of 12 · PHYS5044

Sampling, Aliasing and Spectral Density

Sampling, Aliasing and Spectral Density covers what happens when a continuous sensor voltage is turned into a list of numbers taken at regular instants. A sample and hold circuit freezes the input while the converter works, so the value does not drift during the conversion.

The sampling theorem then sets the floor on the rate: to record a band reaching some highest frequency you must sample at more than twice that frequency. Anything above half the rate does not vanish. It folds back and appears at the distance between its own frequency and the nearest whole multiple of the rate, which is why anti-alias filtering has to be analogue and has to come first.

The chapter treats rate selection as a design task, checking known interferers against a folding diagram rather than relying on the two-times rule alone. Its second half turns to spectral density. An amplitude density in volts per root hertz, squared, gives a power density; integrating that over the band and taking the root returns the RMS noise.

For white noise this reduces to the density times the square root of the bandwidth, and Parseval's theorem ties the time and frequency pictures together.

In this chapter

What this chapter covers

  • 01

    Why a hold circuit is needed during conversion

  • 02

    The sampling theorem and the Nyquist frequency

  • 03

    Folding: where an out-of-band tone appears

  • 04

    Choosing a rate and an anti-alias filter together

  • 05

    Amplitude and power spectral density units

  • 06

    RMS noise from a density over a band

Worked example · free

Read the folding diagram for an 8 kHz sampling rate

Q [5 marks]. The folding figure shows sampling at 8 kHz with a measurement band of 0 to 2 kHz and an interferer at 7.3 kHz. Using it, give the Nyquist frequency, list every input range up to 16 kHz that lands inside the band, state where the 7.3 kHz tone appears, and say whether tones at 11.5 kHz and 15 kHz would contaminate the band. The mark split is an AskSia study weighting, not an official University scheme.
The blue zigzag maps each input frequency to the apparent frequency it shows after sampling at 8 kHz; orange bars mark the input ranges that land inside the 0 tThe blue zigzag maps each input frequency to the apparent frequency it shows after sampling at 8 kHz; orange bars mark the input ranges that land inside the 0 to 2 kHz band, and the 7.3 kHz interferer folds down to 0.7 kHz.048121624interferer at 7.3 kHzalias 0.7 kHzinput frequency, kHzapparent frequency, kHz
The blue zigzag maps each input frequency to the apparent frequency it shows after sampling at 8 kHz; orange bars mark the input ranges that land inside the 0 to 2 kHz band, and the 7.3 kHz interferer folds down to 0.7 kHz.
  • 1The Nyquist frequency is half the rate, 8 ÷ 2 = 4 kHz, where the zigzag turns back down.
  • 2Inputs within 2 kHz of a whole multiple of 8 kHz land in the band: 0 to 2, 6 to 10 and 14 to 16 kHz, the three orange bars.
  • 1The 7.3 kHz tone lies 0.7 kHz below 8 kHz, so it appears at 0.7 kHz inside the band.
  • 1A tone at 11.5 kHz sits 3.5 kHz from 8 kHz and stays out of the band; one at 15 kHz sits 1.0 kHz from 16 kHz and lands inside.
Nyquist is 4 kHz; the bands 0 to 2, 6 to 10 and 14 to 16 kHz all fold into the record; 7.3 kHz shows at 0.7 kHz, 11.5 kHz is harmless at 3.5 kHz, and 15 kHz contaminates at 1.0 kHz.
Sia tip — Find the nearest whole multiple of the rate first; the apparent frequency is simply the gap to it.
Glossary

Key terms

Nyquist frequency
Half the sampling rate, the highest input frequency that a sampled record can represent without folding.
Aliasing
The appearance of an input above half the sampling rate at a false, lower frequency in the sampled data.
Anti-alias filter
An analogue low-pass stage placed before the converter so that out-of-band content is weakened before sampling.
Amplitude spectral density
Noise expressed per root hertz, for instance volts per root hertz, whose square is the power density.
Sample and hold
A circuit that tracks the input and then freezes it on a capacitor while a conversion runs.
FAQ

Sampling, Aliasing and Spectral Density FAQ

Is sampling at exactly twice the highest frequency enough?

In theory the limit is reached only for an ideal filter and an infinitely long record. Real filters roll off gradually, so designers sample comfortably faster than twice the band edge and leave room for the analogue filter to weaken anything above half the rate before conversion.

Can a digital filter remove aliasing after conversion?

Not once the alias lies inside the wanted band, because the sampled numbers are then identical to those of a genuine signal at that frequency. A digital filter can only remove an alias that has landed outside the band, which is why rate choice and analogue filtering come first.

Why does raising the sampling rate sometimes make things worse?

The apparent frequency depends on the gap between the input and the nearest whole multiple of the rate. Moving the rate can move that multiple closer to a known interferer, so its alias drops further into the band. Always fold each known tone through the new rate before deciding.

How do I get an RMS noise from a density?

Square the amplitude density to get a power density, integrate it across the bandwidth you measure over, then take the square root. When the density is flat, this is just the density multiplied by the square root of the bandwidth in hertz.

When is a hold circuit necessary?

Whenever the input can change by more than one least significant bit during the conversion time. Compare the steepest slope of the signal, which for a sine is two pi times frequency times amplitude, with one step size divided by the conversion time.

Study strategy

Exam move

Draw the folding zigzag from memory for two different rates and mark a band on each, then place three made-up tones and read off where they appear. Do this until finding the nearest multiple of the rate is automatic. Next, practise one design problem end to end: list the frequencies, reject rates that fold an interferer into the band, size a first-order filter and quote its effect at the band edge.

For spectral density, convert between amplitude and power units out loud and compute an RMS noise for a flat density in three bandwidths. Finish with the slope test for a hold circuit, so the comparison between signal change and step size becomes routine. Check every answer for a unit and a stated bandwidth.

Working through Sampling, Aliasing and Spectral Density in PHYS5044? Sia is AskSia’s AI Physics tutor — ask any PHYS5044 Sampling, Aliasing and Spectral Density question and get a clear, step-by-step explanation grounded in how PHYS5044 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 26 of your subjects at University of Glasgow, plus 1,000+ more Bibles across the AskSia library.
Sia - your PHYS5044 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works