itslabtime.com

Electronics · Digital and Control

Sampling, quantization, and aliasing

Sampling determines time intervals, while quantization defines value steps. Sampling frequency and ADC bit-count influence different types of information loss.

Related experiment: ADC sampling and quantization →
ADC sampling and quantization
ADC sampling and quantization: simulation view →

Meaning and mechanism

When continuous signals are read at regular intervals, they become a sample rate sequence. The process of representing each sample with one of a finite set of codes is quantization.

If the sampling is done too slowly, different original frequencies can appear as the same sample. This is referred to as aliasing, and increasing the number of bits does not eliminate the temporal ambiguity.

Relationships and conditions

The only way to restore an ideal anti-aliasing signal requires sampling at twice the highest frequency, as well as appropriate conditions. The code interval, including the endpoint of the experiment, is the total range divided by (2ⁿ−1).

The actual definition of the code width for ADC can vary. fs=2f The boundaries are sensitive to the phase, and in actual systems, anti-aliasing filters and the reserve frequency are also considered.

What to observe in the simulation

Aliasing occurs below twice the signal frequency, while more bits reduce quantization steps.

Noise, jitter and real ADC nonlinearities are omitted. The fs=2f boundary is phase-sensitive and is not marked safe. Experiment on screen; do not reproduce this with real power supplies, outlets or high voltage.

Key relationships and symbols

Δ = 4/(2ⁿ−1) · falias = |f−round(f/fs)fs|

Symbols and units used in the formulas
SymbolMeaningUnit
fsSampling frequencyHz
nQuantization bitsbit
ΔSpacing between adjacent code values in the simulationV

Worked example

What is the step size for 4-bit quantization from −2 V to +2 V including both endpoints?

About 0.267 V

Common misconceptions

  • Increasing the quantization bit count alone cannot resolve aliasing of low sampling frequencies.

Explore this concept through experiments

References

OpenStax · University Physics Volume 2 (English)