4.03 Ideal, Natural & Flat-Top Sampling Techniques | Course Roadmap
4.04 Multi-Rate Signal Processing: Decimation & Interpolation
Core Idea
Multi-rate signal processing is the branch of digital signal processing that deals with systems whose sampling rates change at different stages. Because a discrete-time sequence index must strictly be an integer, discrete scaling is non-trivial. It is achieved through Down-sampling (Decimation), which decreases the sampling rate by discarding samples, and Up-sampling (Interpolation), which increases the sampling rate by inserting zeros.
1. The Core Philosophy of Discrete-Time Scaling
In continuous-time systems, time scaling is mathematically straightforward: we replace the independent variable with . For , the signal is compressed; for , the signal is expanded.
However, in discrete-time systems, this operation is highly restricted. The independent variable is an integer sample index . We cannot define a value at a fractional index like . Thus:
- A direct compression like is possible but causes permanent data loss because we must throw away all odd-indexed samples ().
- A direct expansion like is undefined for odd values of (such as ).
To resolve these physical constraints, multi-rate digital systems use decimation and interpolation to scale discrete arrays without losing mathematical consistency.
2. Discrete-Time Down-Sampler (Decimation by )
The down-sampler (also known as a sampling rate compressor) reduces the sampling rate of a discrete signal by an integer factor .
+-------+
x[n] ------>| | M |------> x_d[n] = x[nM]
+-------+
2.1 Mathematical Formulation
A down-sampler by factor keeps only every -th sample of the input sequence and discards the intermediate samples:
If the sampling period of the input signal is (sampling frequency ), the sampling period of the down-sampled signal becomes:
2.2 Spectral Effects & Digital Aliasing
In the frequency domain, shrinking a signal in the time domain expands its spectrum. Specifically, down-sampling by factor stretches the DTFT spectrum by a factor of :
This expansion can cause the shifted copies of the spectrum to overlap, resulting in digital aliasing.
The Decimation Filter Rule
To prevent destructive aliasing during decimation, we must place a digital low-pass Anti-Aliasing Filter (or Decimation Filter) before the down-sampling block. The filter must have a normalized cutoff frequency of: This strips away any high-frequency components that would otherwise fold back into the baseband.
3. Discrete-Time Up-Sampler (Interpolation by )
The up-sampler (also known as a sampling rate expander) increases the sampling rate of a discrete signal by an integer factor .
+-------+
x[n] ------>| ^ L |------> x_e[n]
+-------+
3.1 Mathematical Formulation
An up-sampler by factor inserts exactly zero-valued samples between each consecutive pair of original samples:
If the original sampling period is , the up-sampled sequence has a sampling period of:
3.2 Spectral Effects & Imaging Distortion
In the frequency domain, expanding a signal in the time domain compresses its spectrum. Up-sampling compresses the baseband spectrum by a factor of :
Because of this compression, unwanted duplicates of the original spectrum (called spectral images) appear within the new interval .
The Interpolation Filter Rule
The zero-inserted sequence has a rough, staircase-like shape. To eliminate the high-frequency spectral images and interpolate the actual intermediate signal values, we must pass through an Interpolation Filter (a digital low-pass filter) with:
- Cutoff Frequency:
- Passband Gain: (to compensate for the amplitude drop caused by zero-insertion)
4. Comprehensive Multi-Rate Comparison Table
The physical and mathematical characteristics of the two multi-rate operators are summarized below:
| Feature | Down-sampling () | Up-sampling () |
|---|---|---|
| Mathematical Equation | (for ) | |
| Time Domain Effect | Discards samples | Inserts zeros |
| Information Volume | Data loss occurs | Zero-padding (no new info yet) |
| New Sampling Period | (slower) | (faster) |
| Spectral Effect | Spectrum expands by | Spectrum compresses by |
| Associated Distortion | Digital Aliasing | Spectral Imaging |
| Associated Filter | Anti-Aliasing Filter (before ) | Anti-Imaging Filter (after ) |
| Filter Cutoff & Gain | , | , |
5. Comprehensive Worked Examples (The Exam Killers)
5.1 Example 1: The 10-Mark 2024 KUET Exam Classic [PYQ 2024]
Question: Find out the up-sampling sequence and down-sampling sequence from the input signal sequence for a factor of 3.
Step-by-Step Solution:
Scenario A: Default Origin Assumption (Leftmost Element is )
Under the standard convention, if the origin is not explicitly marked with an arrow () or underline (), the first element is located at the origin : All other indices are zero: for or .
1. Down-sampling by Factor : The formula is: Let’s map individual indices :
Thus, the down-sampled sequence is:
2. Up-sampling by Factor : The up-sampler inserts zeros between each consecutive sample of the original sequence:
Thus, the up-sampled sequence is:
Scenario B: Alternative Origin Assumption (Origin at is marked, e.g., at value )
If the examiner defines a different origin during the exam, say at the third sample ():
1. Down-sampling by Factor :
Thus, the down-sampled sequence collapses to:
2. Up-sampling by Factor : Insert 2 zeros between each consecutive element, maintaining the origin at value :
5.2 Example 2: The 2022 Exam Sequence [PYQ 2022]
Question: If , find the compressed (down-sampled) and expanded (up-sampled) sequences for a factor of 3.
Step-by-Step Solution:
-
Extract the Index Map relative to the underlined origin:
-
Calculate Down-sampling ():
- (out of bounds)
Therefore, the down-sampled sequence is:
-
Calculate Up-sampling (): Insert zeros between each consecutive pair of elements, keeping the origin aligned at the original sample :
6. Common Mistakes That Cost Marks
The Origin Alignment Trap
Do not always assume that the first element in a bracket is the origin! Always check the array for an arrow () or underline (). If you down-sample without mapping the indices relative to first, your entire output array will shift, resulting in a zero-mark evaluation on the numerical.
The Anti-Imaging Filter Gain Oversight
When asked to draw the block diagram of an interpolator, students often forget that up-sampling scales down the signal amplitude. The matching digital low-pass reconstruction filter must contain a scaling gain factor of to restore the signal’s original physical voltage range.
7. PYQ Bank — Verbatim Questions & Answer Plans
7.1 PYQ 2024 Question 7c [10 Marks]
Question: Find out the up-sampling sequence and down-sampling sequence from the input signal sequence for the discrete-time system under a factor of 3.
- Answer Plan:
- State the mathematical down-sampling and up-sampling equations.
- Write out the step-by-step coordinate substitutions showing how index values map under both Scenario A (default leftmost origin) and Scenario B (alternative marked origin).
- Provide the final bolded output arrays clearly labeling the coordinate.
7.2 PYQ 2021 [5 Marks]
Question: Define (i) Discrete time up-sampler; (ii) Discrete time down-sampler.
- Answer Plan:
- Provide the formal time-domain equations for both operators.
- Draw the standard block diagrams ( and ).
- Explain the physical effect of both blocks in the time domain (zero-insertion vs. sample compression).
8. Self-Check Before Moving On
- Can you define down-sampling and up-sampling mathematically and graphically?
- Do you know why an anti-aliasing filter is required before a down-sampler, and what its cutoff frequency must be?
- Can you explain why up-sampling creates spectral images, and how the interpolation filter removes them?
- Can you reliably execute index mappings on discrete arrays with non-zero time origins?
Source: (k.Deergha Rao) signals and systems.pdf (Section 6.6), 1.05 The Sampling Theorem Bridge & Multi-Rate Processing.md, pyq catagorised (Table 7).