Data converters & PLLs

sampling

Sampling is the act of looking at a continuous, ever-changing signal and writing down its value only at evenly spaced instants — like a strobe light freezing a spinning wheel, or a security camera that snaps one frame every so often instead of filming continuously. Between snapshots you simply don't know what the signal did; you trust that the dots are close enough together to connect back into the original curve. Each tick of a sample clock tells a sample-and-hold circuit to grab the analog voltage right now and freeze it just long enough for the rest of the system (usually an ADC) to measure it.

The catch is the one rule analog engineers never get to forget: you must sample faster than twice the highest frequency present in the signal. That threshold is the Nyquist rate, fs > 2·fmax. Sample too slowly and a fast wiggle gets misread as a slow one — the energy 'folds' down and reappears as a phantom low-frequency tone that was never there. This is aliasing, and it is the audio equivalent of a wagon wheel that appears to spin backward in a film: the true motion is too fast for the frame rate, so your eye invents a slower, wrong one. The damage is permanent, because once a high tone has disguised itself as a low one, no later processing can tell the impostor from a real low-frequency signal.

Because aliasing can't be undone in the digital world, real designs put an analog anti-aliasing filter before the sampler to scrub out everything above fs/2 first — you fix it with a continuous-time filter, not with math after the fact. Get the rate right and the discrete dots faithfully represent the original; get it wrong and you've quietly recorded a lie. Sampling decides when you look; quantization (rounding each captured value to the nearest level) decides how finely you can describe what you saw.

fs > 2·fmax → e.g. a 9 kHz tone sampled at fs = 8 kHz aliases to |9k − 8k| = 1 kHz

Sample below the Nyquist rate and a real 9 kHz tone masquerades as a false 1 kHz one — that folding is aliasing.

In practice engineers sample comfortably above the bare 2·fmax minimum (often 2.2× to several×) so the anti-aliasing filter has room to roll off without distorting the band of interest.

Also called
samplediscrete-time samplingNyquist sampling采样取樣