Chapter 5: Sampling
Introduction
Sampling is the bridge between continuous-time and discrete-time signals. Understanding sampling theory is essential for digital signal processing.
Ideal Sampling
Definition: Ideal Sampling
Ideal sampling multiplies a continuous signal
where
Spectrum of Sampled Signal
Theorem: Frequency Domain Effect of Sampling
If
where
Proposition: Spectral Replication
Sampling creates infinite replicas of the original spectrum, centered at multiples of the sampling frequency:
- Original spectrum centered at
- Replicas centered at
Nyquist-Shannon Sampling Theorem
Theorem: Nyquist-Shannon Sampling Theorem
A bandlimited signal
or equivalently:
The minimum sampling rate
Aliasing
Definition: Aliasing
Aliasing occurs when the sampling rate is too low (
Example: Aliased Sinusoid
Consider sampling
If
where
For example:
Normalized Frequency
Definition: Normalized Frequencies
For a continuous signal with frequency
Digital angular frequency:
Normalized frequency:
The unambiguous range is:
or or
Ideal Reconstruction
Definition: Ideal Interpolation
Perfect reconstruction uses an ideal lowpass filter with cutoff
where
Theorem: Interpolation Formula
If the Nyquist criterion is satisfied, the original signal can be recovered:
Practical Considerations
Anti-Aliasing Filter
Definition: Anti-Aliasing Filter
An anti-aliasing filter is a lowpass filter applied before sampling to remove frequencies above
Practical Reconstruction
Proposition: Zero-Order Hold (ZOH)
Practical DACs use a zero-order hold:
The ZOH frequency response is:
Oversampling and Decimation
Definition: Oversampling
Oversampling uses a sampling rate higher than the Nyquist rate:
Benefits:
- Relaxes anti-aliasing filter requirements
- Spreads quantization noise over wider bandwidth
- Enables noise shaping in sigma-delta converters
Definition: Decimation
Decimation by factor
Must be preceded by lowpass filtering to prevent aliasing.
Definition: Interpolation (Upsampling)
Interpolation by factor
Must be followed by lowpass filtering to remove spectral images.