Chapter 4: Sampling & Multi-Rate Processing — Compact Review

1. The Shannon-Nyquist Sampling Theorem

1.1 Theorem Statement and Fundamental Bounds

*(Target: Theory Descriptive / Numerical Solving)* [1.05, 4.01]

  • Shannon-Nyquist Theorem: A continuous-time, band-limited analog signal containing no frequency components higher than Hz can be uniquely and perfectly reconstructed from its discrete samples if and only if the sampling frequency (samples/second) satisfies [1.05, 6.1.2]:
  • Nyquist Rate (): The absolute minimum theoretical sampling rate to avoid overlap (aliasing) [1.05, 6.1.2]:
  • Nyquist Interval (): The maximum allowable time duration between consecutive samples [1.05]:
  • Band-Pass Sampling Theorem: For a band-pass signal with non-zero energy restricted to the frequency band , the minimum sampling rate to prevent aliasing is [6.1.2]:

1.2 Frequency-Domain Representation of Sampling (Spectral Replication)

*(Target: Mathematical Proof / 10-Mark Derivation)* [4.01]

  • Mathematical Modeling: The sampled signal is modeled as the multiplication of the analog signal by an infinite periodic Dirac impulse train with period [6.1.1]:
  • Frequency-Domain Spectrum: Multiplying in the time domain corresponds to convolving their respective Fourier transforms in the frequency domain, replicating the analog spectrum at integer multiples of the sampling angular frequency [4.01, 7.4]:

2. The Three Sampling Conditions

*(Target: Theory Descriptive / Spectral Diagrams)* [1.05, 4.02]

ConditionMathematical CriteriaSpectral DynamicsReconstruction Filter Requirement
Over-samplingAdjacent spectral replications are separated by a guard band () [1.05].Practical, cheap low-pass filter with a gradual transition band [1.05].
Nyquist-rate samplingAdjacent spectral replications touch exactly at their edges without overlapping [1.05].Ideal “brick-wall” low-pass filter with an infinite roll-off slope [1.05].
Under-samplingAdjacent spectral replications overlap, causing aliasing (frequency folding) [1.05].Non-recoverable: Original signal cannot be reconstructed by any filter [1.05].
  • [GRAPH: Replicated frequency spectra showing: (1) Over-sampling (spectral copies separated by guard bands), (2) Nyquist sampling (copies exactly touching at f_max), and (3) Under-sampling (copies overlapping, highlighting shaded aliasing fold-over regions) — source: Ch 4.02 / Ch 7 Fig 7.12]

3. Aliasing Dynamics & Anti-Aliasing Filters

3.1 Aliasing Effect

*(Target: Theory Descriptive)* [1.05, 4.02]

  • Definition: A destructive, irreversible frequency-folding distortion that occurs when an analog signal is under-sampled () [1.05, 6.1.2].
  • Mechanism: High-frequency spectral components above the folding frequency (Nyquist frequency, ) fold back into the baseband spectrum and masquerade as false low-frequency components [1.05, 6.1.2].

3.2 Anti-Aliasing Filter

*(Target: Theory Descriptive)* [4.02]

  • Definition: A high-order analog low-pass filter placed before the sampler (A/D converter) [1.05, 4.02].
  • Function: It band-limits the input analog signal by stripping away all noise and frequency components higher than {the folding limit} before sampling occurs, ensuring the Nyquist criterion is strictly satisfied [1.05, 4.02].

4. Classification of Sampling Techniques

*(Target: Theory Descriptive / Structural Comparison)* [1.05, 4.03]

The physical switching implementation of sampling is divided into three distinct methodologies:

Parameter / FeatureIdeal (Impulse) SamplingNatural Sampling (Chopping)Flat-Top Sampling (Sample & Hold)
Mathematical MultiplierInfinite train of zero-width Dirac delta impulses: [1.05, 4.03].Periodic train of finite-width rectangular pulses of duration [1.05, 4.03].Sampled value held strictly constant over duration via capacitor [1.05, 4.03].
Waveform Top ProfileZero width, infinite height impulses [1.05].Tops of pulses follow the exact analog curve of [1.05, 141].Tops of pulses are perfectly flat, producing a staircase profile [1.05, 141].
Spectral EnvelopeFlat amplitude scaling factor across all frequencies [7.4].Monotonically decaying sinc envelope: scaled by Fourier coefficients [4.03].Decaying sinc function envelope: [4.03].
High-Frequency DistortionNone.None (within the baseband) [4.03].Aperture Effect: Sinc envelope attenuates high frequencies within the baseband [4.03].
Equalizer Required?No.No [4.03].Yes: Requires a equalizer filter to restore flat response [4.03].
  • [GRAPH: Graphical wave representation comparing: (1) Analog wave, (2) Natural sampled wave (curving tops), and (3) Flat-top sampled wave (flat horizontal tops) — source: Ch 4.03 / Ch 6 Fig 6.3]

4.1 The Aperture Effect

*(Target: Theory Descriptive)* [4.03]

  • Aperture Effect: The high-frequency amplitude distortion (droop) introduced during flat-top sampling because the pulse width is finite (not an ideal impulse) [4.03].
  • Mathematical Envelope: The baseband spectrum is multiplied by a sinc envelope [4.03]:
  • Remedy: An active equalizer circuit with frequency response proportional to is placed in the reconstruction stage to compensate for the high-frequency attenuation [4.03].

5. Reconstruction & Zero-Order Hold (ZOH)

5.1 Ideal Reconstruction (Whittaker-Shannon Interpolation)

*(Target: Mathematical Proof / 10-Mark Derivation)* [7.5]

  • Mechanism: Ideal reconstruction is achieved by passing the sampled impulse train through an ideal “brick-wall” low-pass filter with cutoff frequency and gain [7.5]:
  • Reconstruction Formula: In the time domain, convolving with yields the continuous-time signal via sinc interpolation [7.5]:

5.2 Quantization Mechanics & SQNR

*(Target: Theory Descriptive / Numerical Solving)* [6.1.2, 6.1.3]

  • Quantization Step Size (): For a -bit linear quantizer with a full-scale voltage range , the step size is [6.1.3]:
  • Quantization Noise Power ( or ): Assuming the quantization error is uniformly distributed in the range , the mean-square error (noise power) is [6.1.3]:
  • Signal-to-Quantization Noise Ratio (SQNR): Expressed as a function of the number of bits , the maximum theoretical SQNR for a full-scale sinusoidal input is [6.1.3]: {Note: Every additional bit added to the ADC resolution improves the SQNR by exactly 6.02 dB}.

6. Multi-Rate Signal Processing

*(Target: Theory Descriptive / Numerical Solving)* [4.04]

6.1 Discrete-Time Down-sampler (Decimator)

*(Target: Numerical Solving / Array Manipulation)* [1.05, 4.04]

  • Definition: Reduces the sampling rate of a discrete sequence by an integer factor [1.05, 4.04].
  • Operation: Keeps every -th sample and discards the intermediate samples [1.05, 4.04]:
  • Anti-Aliasing Filter Requirement: To prevent digital aliasing before discarding samples, the discrete signal must be band-limited to using a digital low-pass decimation filter [4.04].

6.2 Discrete-Time Up-sampler (Interpolator)

*(Target: Numerical Solving / Array Manipulation)* [1.05, 4.04]

  • Definition: Artificially increases the sampling rate of a discrete sequence by an integer factor [1.05, 4.04].
  • Operation: Inserts zero-valued samples between consecutive original samples [1.05, 4.04]:
  • Anti-Imaging Filter Requirement: To remove the high-frequency spectral images created by the inserted zeros, the up-sampled signal must be passed through a digital low-pass interpolation filter with cutoff and gain factor [4.04].

6.3 Down-sampling vs. Up-sampling Comparison

*(Target: Theory Descriptive)* [4.04]

Feature / PropertyDown-sampler (Compressor)Up-sampler (Expander)
Mathematical Identity [1.05, 4.04] for multiples of [1.05, 4.04]
Effect on Array LengthSlashes length by a factor of .Expands length by a factor of .
Time-Domain OperationDiscards in-between samples [1.05, 4.04].Inserts zeros in-between samples [1.05, 4.04].
Frequency Spectrum EffectStretches the spectrum in frequency.Compresses the spectrum, creating images.
Filtering RequiredLow-pass decimation filter before down-sampling [4.04].Low-pass interpolation filter after up-sampling [4.04].
Data Loss ProfileLossy (irreversible unless over-sampled) [1.05].Non-lossy (information is fully preserved).

7. Common Mistakes That Cost Marks

Critical Exam Pitfalls

  1. Bit-Reversal / Shift Origin Mismatch: In down-sampling numericals, forgetting to track the origin index (, underlined or marked with an arrow). Down-sampling keeps samples at measured strictly relative to the original origin sample, not just from the left-most element of the array.
  2. Omitting Zero Insertion in Up-sampling: Writing interpolations by directly duplicating adjacent samples (staircase interpolation) instead of inserting actual zeros first before passing through the low-pass interpolation filter.
  3. Forgetting the Equalizer in Flat-Top Sampling: Stating that flat-top sampling preserves baseband signal spectrum shape without distortion. You must specify that it introduces aperture effect droop and requires a equalizer [4.03].
  4. Nyquist Interval Variable Swap: Confusing the Nyquist Rate (frequency, ) with the Nyquist Interval (time, ).

8. PYQ Bank — Verbatim Questions & Answer Plans

Q1: Down-sampling and Up-sampling Array Solving [KUET 2024, 2022]

  • Question: What is discrete-time up-sampler and down-sampler? Find the up-sampling sequence and down-sampling sequence for a given signal array by factor 3.
  • Answer Plan:
    1. Define down-sampler and write the compressor identity: [1.05].
    2. Define up-sampler and write the expander identity: [1.05].
    3. Identify the index of the given array.
    4. Extract indices at multiples of to formulate the down-sampled array.
    5. Insert exactly 2 zeros between every adjacent sample of the original array to formulate the up-sampled array.

Q2: Shannon-Nyquist Theorem Proof [KUET 2019, 2018, 2017]

  • Question: State and prove the Shannon-Nyquist sampling theorem.
  • Answer Plan:
    1. State the theorem: [1.05].
    2. Model the impulse-train sampler mathematically: [6.1.1].
    3. (derivation): Apply continuous-time Fourier transform to show [4.01].
    4. Discuss how overlapping spectra (aliasing) occurs if , whereas guard bands are maintained if [1.05, 4.02].

Q3: Distinguish Between Sampling Techniques [KUET 2018, 2017]

  • Question: Classify sampling techniques and distinguish between Ideal, Natural, and Flat-top sampling.
  • Answer Plan:
    1. List the three sampling classifications [1.05].
    2. Insert comparison matrix detailing: Mathematical multiplier, Waveform top profile, Spectrum envelope, and Equalizer requirements [4.03].
    3. Explicitly define the aperture effect droop and the role of the recovery filter [4.03].

Chapter 9 Self-Check Revision Checklist

  • Can you write down the frequency-domain representation of uniform sampling from memory?
  • Do you know how the aperture effect shifts flat-top sampling spectrum profiles compared to ideal impulse sampling?
  • Can you solve discrete down-sampling array mappings relative to a shifted index origin?
  • Do you know the exact SQNR improvement obtained per additional ADC bit?