The Hong Kong University of Science and Technology · FACULTY OF ELECTRICAL ENGINEERING

ELEC1010 Chap.6 Sampling and Aliasing

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

Sampling and Aliasing

Choose a rate from the fastest component

Sampling records an analog signal at discrete instants. The sampling period Ts is the time between consecutive samples, while the sampling rate fs counts samples per second; the quantities are reciprocals. They describe the measurement process rather than the underlying signal.

A shorter Ts means more observations each second, but it does not change the frequency of the analog waveform being observed.

The highest signal component sets the demand because it changes fastest. The lecture states the recovery condition as fs greater than twice fmax and treats equality as a fragile boundary. Begin with the signal limit, double it, and then select an available rate above that value.

Keeping the strict inequality visible prevents an exactly equal option from being chosen automatically.

Sample values alone do not identify a unique continuous curve. Many waveforms can pass through the same dots. Unique reconstruction also relies on the bandwidth restriction: only one permitted waveform below half the sample rate matches the sequence under the ideal model.

Connecting points by eye is therefore not proof that the original was recovered, especially when a false low-frequency curve looks smooth.

At exactly two samples per fastest cycle, phase can destroy the amplitude evidence. If both samples occur at zero crossings, a nonzero sinusoid produces the same recorded values as a zero signal. This counterexample explains why the course uses a strict boundary.

Practical systems also select extra headroom to accommodate nonideal filters and uncertainty in the actual input spectrum.

An anti-alias low-pass filter belongs before the converter. It removes frequency content that lies at or above the representable input band for the selected rate.

Once out-of-band content has generated an alias, later digital filtering cannot distinguish it from genuine in-band content at the same sampled frequency. Prevention and reconstruction are different stages despite both using filtering.

For revision, solve the relation in both directions. Given fmax, select fs and calculate Ts. Given fs, find the half-rate input limit and specify the front-end condition.

Label hertz, samples per second, seconds and microseconds explicitly. End every inadequate-rate answer by naming aliasing, and keep it separate from quantization error, which concerns amplitude precision rather than missing time instants.

In this chapter

What this chapter covers

  • 01

    Sampling period and rate

  • 02

    Maximum signal frequency

  • 03

    Strict Nyquist boundary

  • 04

    Ideal reconstruction

  • 05

    Aliasing

  • 06

    Anti-alias filtering

Worked example · free

Select a rate above the boundary

Q [9 marks]. A signal contains content through 7.2 kHz. Compare 14, 14.4 and 16 kHz sampling rates. The marks shown are an AskSia study allocation, not the University's published marking scheme.
Sampling keeps the red values and discards the blue path between them.Sampling keeps the red values and discards the blue path between them. Reconstruction is unique only when the allowed signal bandwidth is limited relative to the sample spacing.Samples preserve values at selected instantstime
Sampling keeps the red values and discards the blue path between them. Reconstruction is unique only when the allowed signal bandwidth is limited relative to the sample spacing.
  • 2Double the maximum frequency.
  • 4Compare each candidate strictly.
  • 3Find the selected sampling period.
The boundary is 14.4 kHz. Fourteen fails, 14.4 is exactly the fragile boundary, and 16 kHz clears the course condition. The 16 kHz sampling period is 62.5 microseconds.
Sia tip — Write half the sampling rate beside every candidate and compare it with the signal maximum.
Glossary

Key terms

Sampling Period
The time interval between consecutive samples.
Sampling Rate
The number of samples taken per second.
Nyquist Rate
Twice the highest frequency present in the signal.
Aliasing
Ambiguity caused when different analog frequencies produce the same samples.
Anti-alias Filter
An input filter limiting bandwidth before sampling.
FAQ

Sampling and Aliasing FAQ

Why does the highest frequency control sampling?

The highest component changes fastest and therefore requires the closest time spacing. Slower components are already represented once the rate is sufficient for that fastest allowed component.

Is exactly twice the maximum enough here?

The lecture treats equality as a borderline with counterexamples where phase hides amplitude. Use the course wording and choose a practical rate greater than twice the maximum.

Can more bits remove aliasing?

No. Additional quantization bits refine the amplitude stored at each existing sample. They do not add missing time instants, so an aliased frequency remains ambiguous.

Why must anti-alias filtering occur before sampling?

After an out-of-band component aliases, its samples are indistinguishable from a genuine lower-frequency component. The analog filter must therefore enforce the input bandwidth before the converter records values.

Study strategy

Exam move

Solve sampling problems in both directions. Given a signal limit, choose a valid rate and period. Given a rate, find the half-rate input limit and anti-alias condition. Include equality cases and phase counterexamples. Label every answer as hertz, samples per second, seconds or microseconds before checking arithmetic. Audit the sampling claim from both sides.

Calculate twice the signal maximum and compare it with the proposed rate; then calculate half the rate and compare that value with the signal maximum. The inequalities must agree, or a conversion was mishandled. Next identify the analog anti-alias condition that makes the bandwidth assumption true. Finally compute the sample period and verify that a higher rate produced a shorter interval.

This separates theorem, implementation and units, and prevents a visually smooth interpolation from replacing the uniqueness condition required for reconstruction.

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

A+Everything unlocked
Unlocks this Bible + all 13 of your subjects at The Hong Kong University of Science and Technology, plus 1,000+ more Bibles across the AskSia library.
Sia - your ELEC1010 tutor, unlimited, worked the way the exam marks it
The full 4-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