Sampling Rate Conversion in Digital Signal and Processing

Sampling Rate Conversion

Sampling Rate Conversion is the process of changing the sampling frequency Fs of a discrete-time signal x[n] to a new sampling frequency Fs' = (L⁄M) Fs by a non-integer (rational) factor L⁄M.

When we need to change a signal's sampling rate by a fraction-for example, converting audio from 44.1 kHz to 48 kHz (a factor of 160⁄147)-neither simple interpolation nor simple decimation alone is enough. Instead, we cascade (combine) an Interpolator (↑ L) and a Decimator (↓ M).

Block Diagram of Sampling Rate Converter

Sampling Rate Conversion in DSP

1. Upsampler (↑ L): First increases the sampling rate by an integer factor L by inserting (L - 1) zeros between consecutive samples.

2. Low-Pass Filter H(z): A single digital low-pass filter performs two jobs simultaneously - it acts as an anti-imaging filter for the upsampler and an anti-aliasing filter for the decimator.
○ Cutoff Frequency: ωc = min(Ï€⁄L, Ï€⁄M)
○ Filter Gain: L

3. Downsampler (↓ M): Finally reduces the sampling rate by an integer factor M by keeping every Mth sample.

Why Must Interpolation Come BEFORE Decimation?

Rule: In rational sampling rate conversion (L⁄M), Interpolation (↑ L) must always be performed BEFORE Decimation (↓ M).

Reason: Decimation permanently discards samples from the original signal. If you decimate first, important data is lost forever and cannot be recovered by interpolation afterward.

 Solved methods Of  (AKTU PYQ)

Let x[n] = [1, 2, 3, 4], and we want to convert by factor 2⁄2 using Step Interpolation:

Case 1: Decimate by 2 first, then Step Interpolate by 2 (Wrong Method)

1. Decimate by 2: x[2n] = [1, 3] (Samples 2 and 4 are lost)

2. Step Interpolate by 2: y[n] = [1, 1, 3, 3] ≠ x[n] (Signal is distorted)

Case 2: Step Interpolate by 2 first, then Decimate by 2 (Correct Method)

1. Step Interpolate by 2: x[n⁄2] = [1, 1, 2, 2, 3, 3, 4, 4]

2. Decimate by 2: y[n] = [1, 2, 3, 4] = x[n] (Original signal is preserved)

Solved (AKTU PYQ)

Question: If x[n] = [1, 2, 3], find y[n] = x[2n⁄3] using step interpolation.

Solution:
Here, L = 3 (interpolation factor) and M = 2 (decimation factor).

Step 1: Perform Interpolation by L = 3 first

○ Insert L − 1 = 2 spaces after each sample and fill them using step interpolation (repeating the previous sample):

○ w[n] = x[n⁄3] = [1, 1, 1, 2, 2, 2, 3, 3, 3]

Step 2: Perform Decimation by M = 2

○ Keep every 2nd sample starting from index 0 (jump by 2):

● y[n] = x[2n⁄3] = [1, 1, 2, 3, 3] (Answer)

Applications of Sampling Rate Conversion

● Digital Audio Conversion: Converting CD audio (44.1 kHz) to DAT/Studio audio (48 kHz).

● Telecommunications: Interfacing digital systems operating at different clock rates.

● Software Defined Radio (SDR): Adjusting signal bandwidths dynamically for different wireless standards.

Also Read 



Post a Comment

0 Comments