Decimation (Downsampling) in Digital Signal Processing

 Decimation (Downsampling) is the process in digital signal processing in which the sampling rate of a discrete-time signal is reduced by an integer factor M. It is also known as sampling rate compression, where we decrease the total number of samples by keeping every M-th sample and discarding the remaining (M − 1) samples.


Mathematical Representation & Sampling Rate Formula

x(n) is the input discrete-time signal with original sampling rate F and sampling period T =(1 / F).

When: 

x(n) is decimated by an integer factor 

M (called the decimation factor),

the output sequence y(n) is given by:

y(n) = x[Mn]

● New Sampling Period (T′): Since samples are taken at intervals M times wider, T′ = M · T

● New Sampling Frequency (F′):

F′ = 1 / T′ 

F′ = 1 / (M · T) 

F′ = F / M

(Example: If a signal sampled at 10 kHz is decimated by M = 2, the new sampling rate becomes 10 / 2 = 5 kHz.)

The M-Fold Decimator (Block Diagram & Working)

Directly discarding (M - 1) samples out of every M samples causes high-frequency components to overlap with low-frequency components ‐ a distortion known as Aliasing. To prevent aliasing, a digital anti-aliasing low-pass filter is always connected before the downsampler:

x(n) → [ Anti-Aliasing Low-Pass Filter h(n) ] → w(n) → [ ↓ M (Downsampler) ] → y(m)

Working:

1. Anti-Aliasing Low-Pass Filter h(n): The input signal x(n) passes through an ideal digital low-pass filter with cutoff frequency ωc = π / M to remove unwanted high frequencies:

○ H(ejω) = 1, for |ω| ≤ Ï€ / M

○ H(ejω) = 0, otherwise

2. Filtered Output w(n): The output of the low-pass filter is given by linear convolution:

w(n) = ∑ h(k) · x(n - k) (where k goes from −∞ to +∞)

3. Downsampler (↓ M): The downsampler retains every M-th sample of w(n) and discards (M - 1) samples in between:

y(m) = w(Mm)

Why is an Anti-Aliasing Filter Required Before Downsampling?

● When a discrete-time signal is downsampled by a factor M, its frequency spectrum expands by a factor of M.

● If the input signal contains frequencies higher than Ï€ / M, the expanded spectral replicas overlap with each other. This overlapping of spectra is called Aliasing, which permanently distorts the signal.

● Passing the signal through a low-pass filter (cutoff = Ï€ / M) before downsampling ensures the signal is band-limited, thereby preventing aliasing.

 Advantages of Decimation 

● Reduces Data Rate & Storage.

● Lowers Computational Complexity.

● Calculation per second at lower sampling rates. 

Applications of Decimation

● Used in digital audio compression.

● Speech processing.

● Used in Subband coding.

● Analog-to-Digital Converters (ADCs).

Easy Solved Numerical Questions (AKTU Exam Pattern)

Q1. Given a discrete-time sequence x[n] = [1, 2, 6, 4, 8], find the decimated output if decimation is done by: (a) factor of 2, and (b) factor of 3.

Solution:

(a) Decimation by factor M = 2 (y[n] = x[2n]):

Keep every 2nd sample starting from index n = 0 (discard 2 and 4):

x[2n] = [1, 6, 8]

(b) Decimation by factor M = 3 (y[n] = x[3n]):

Keep every 3rd sample starting from index n = 0 (discard 2, 6 and 8):

x[3n] = [1, 4]

Q2. A discrete-time signal has an original sampling frequency of F = 24 kHz. If it is passed through a decimation system with decimation factor M = 4, calculate the new sampling rate and the cutoff frequency of the anti-aliasing filter.

Solution:

Given: F = 24 kHz, M = 4

New Sampling Rate (F′): F′ = F / M = 24 / 4 = 6 kHz

Filter Cutoff Frequency (ωc): ωc = π / M = π / 4 radians/sample.



Post a Comment

0 Comments