Interpolation (Upsampling)
Interpolation is the process of increasing the sampling rate of a discrete-time signal x(n) by an integer factor L by inserting (L − 1) new samples between consecutive original samples, followed by low-pass filtering.
● Mathematical Representation: y(n) = x[n⁄L]
● New Sampling Rate (Fs'): Fs' = L · Fs (Where Fs is the original sampling rate and L is the interpolation factor).
1. Block Diagram of an Interpolator
1. Upsampler (↑ L): Inserts (L − 1) zeros between every two adjacent samples of x(n), increasing the signal length and sampling rate by L.
2. Anti-Imaging Low-Pass Filter (LPF): Smooths the upsampled signal w(n) and removes unwanted high-frequency spectral replicas (images) created during upsampling.
○ Filter Cutoff Frequency: ωc = Ï€⁄L
○ Filter Gain: L (to maintain original signal amplitude).
Types of Interpolation (With Solved Example)
Let the input sequence be x(n) = [1, 2, 5, -1] and interpolation factor L = 3.
○ Number of inserted samples (dashes): L − 1 = 3 − 1 = 2 spaces after each sample:
○ x[n⁄3] = [1, _, _, 2, _, _, 5, _, _, -1, _, _]
(1) Zero Interpolation
Fill all empty spaces (dashes) with zeros (0).
y(n) = [1, 0, 0, 2, 0, 0, 5, 0, 0, -1, 0, 0]
(2) Step Interpolation (Sample-and-Hold)
Repeat the previous sample value into the empty spaces.
y(n) = [1, 1, 1, 2, 2, 2, 5, 5, 5, -1, -1, -1]
(3) Linear Interpolation
Fill the spaces with equally spaced values forming a straight line (average step) between two consecutive samples.
● Step size formula: Step = (Next Sample − Current Sample)⁄L
● Between 1 and 2: Step = (2 − 1)⁄3 = 0.33 → 1.33, 1.67
● Between 2 and 5: Step = (5 − 2)⁄3 = 1 → 3, 4
● Between 5 and -1: Step = (−1 − 5)⁄3 = −2 → 3, 1
● After -1 (assuming next sample is 0): Step = (0 − (−1))⁄3 = 0.33 → −0.67, −0.33
y(n) = [1, 1.33, 1.67, 2, 3, 4, 5, 3, 1, -1, -0.67, -0.33]
Important Rule
Application of interpolation
● Digital Audio Systems.
● Image & Video Processing.
● Subband Coding.
● Synthesis Filter Bank.

0 Comments