SlideShare a Scribd company logo
Advanced Digital Signal Processing
Lecture 5
Multirate Digital Signal Processing
Prof. Dr. Mohammed Najm Abdullah
https://itswtech.academia.edu/MohammedAlSalam
Multirate digital signal processing (DSP) is a field of signal processing that
deals with the manipulation and processing of digital signals at multiple
sampling rates. In a multirate system, signals are typically resampled,
decimated, or interpolated at different rates to achieve various objectives, such
as:
 filtering,
 compression, or
 efficient processing.
Problems to be solved:
If sampling rate conversion within the digital domain is possible, how
to design a decimator or an interpolator ?
Can we simply apply downsampling or upsampling in the digital
domain ? If not, why ?
Is it possible to change the sampling rate of a discrete signal without
converting the signal to the analog domain ?
How to obtain sampling rate conversion at any rational factor ?
Is there any computational efficient way to implement these
converters ?
What is a polyphase filter ? How to use polyphase filters to implement
a digital converter ?
Multirate digital signal processing
Multirate_Digital_Signal_Processing.pptx
Conversion Approach
• Analog approach
• Digital approach (multirate DSP system)
Analog Approach
       





 



n
I
T
m
t
c nT
T
m
h
n
x
t
x
m
y
Advantages
Simple
Straightforward
Arbitrary sampling rate
Disadvantages
D/A & A/D converter are needed
Ideal (near perfect) lowpass filter is needed
Introduced noise and distortion
Digital Approach
Sampling rate conversion
Decimation
• Decrease the sampling rate
Interpolation
• Increase the sampling rate
► Sampling-rate conversion
► Change sample-rate using discrete-time processing
Multirate systems have gained popularity since the early 1980s
and they are commonly used for audio and video processing,
communications systems, and transform analysis to name but a
few. In most applications multirate systems are used to improve
the performance, or for increased computational efficiency. The
two basic operations in a Multirate system are decreasing
(decimation) and increasing (interpolation) the sampling-rate of
a signal. Multirate systems are sometimes used for sampling-
rate conversion, which involves both decimation and
interpolation.
Multirate_Digital_Signal_Processing.pptx
Decimation is based on the notion
that some discrete-time signal of
interest exists in a form that is
significantly oversampled. There
may be some noise and
interference throughout the
entire bandwidth of ± FS /2 that
is supported by the sample rate,
FS , but the signal of interest has
a spectrum that is confined to a
bandwidth much smaller than ±
FS /2.
Multirate_Digital_Signal_Processing.pptx
Sampling Rate Reduction by an Integer Factor
The process of reducing a sampling rate by an integer factor is
referred to as downsampling of a data sequence. We also refer to
downsampling as ‘‘decimation’’. The term ‘‘decimation’’ used for
the downsampling process has been accepted and used in many
textbooks and fields. To downsample a data sequence x(n) by an
integer factor of M, we use the following notation:
y(m) = x(mM)
where y(m) is the downsampled sequence, obtained by taking a
sample from the data sequence x(n) for every M samples
(discarding M-1 samples for every M samples).
As an example, if the original sequence with a sampling period T = 0.1
second (sampling rate = 10 samples per sec) is given by:
x(n):8 7 4 8 9 6 4 2 2 5 7 7 6 4 . . .
and we downsample the data sequence by a factor of 3, we obtain the
downsampled sequence as
y(m):8 8 4 5 6 . . . ,
with the resultant sampling period T = 3 *0.1 = 0.3 second (the sampling
rate now is 3.33 samples per second). Although the example is
straightforward, there is a requirement to avoid aliasing noise.
From the Nyquist sampling theorem, it is known that aliasing can
occur in the downsampled signal due to the reduced sampling rate.
After downsampling by a factor of M, the new sampling period
becomes MT, and therefore the new
sampling frequency is
where fs is the original sampling rate.
Hence, the folding frequency after downsampling becomes
This tells us that after downsampling by a factor of M, the new folding
frequency will be decreased M times. If the signal to be downsampled has
frequency components larger than the new folding frequency, f > fs/(2M),
aliasing noise will be introduced into the downsampled data.
To overcome this problem, it is required that the original signal x(n) be
processed by a lowpass filter H(z) before downsampling, which should
have a stop frequency edge at fs/(2M) (Hz). The corresponding normalized
stop frequency edge is then converted to be
In this way, before downsampling, we can guarantee that the maximum
frequency of the filtered signal satisfies
such that no aliasing noise is introduced after downsampling. A
general block diagram of decimation is given in Fig.1, where the
filtered output in terms of the z-transform can be written as
where X(z) is the z-transform of the sequence to be decimated, x(n), and
H(z) is the lowpass filter transfer function. After anti-aliasing filtering,
the downsampled signal y(m) takes its value from the filter output as:
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Homework 1
Write the detail of MATLAB program for implementation of decimation.
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Sampling Rate Increase by an Integer Factor
Increasing a sampling rate is a process of upsampling by an integer
factor of L. This process is described as follows:
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
The next step is to smooth the upsampled data sequence via an interpolation filter. The
process is illustrated in Figure.5a.
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Homework 2
Write the detail of MATLAB program for implementation of interpolation.
 Equivalent forms :
Interchange filter and decimation/interpolation
Changing Sampling Rate by a Non-Integer Factor L/M
With an understanding of the downsampling and upsampling processes, we
now study the sampling rate conversion by a non-integer factor of L/M. This
can be viewed as two sampling conversion processes.
Step 1: we perform the upsampling process by a factor of integer L following
application of an interpolation filter H1(z);
Step 2: we continue filtering the output from the interpolation filter via an
anti-aliasing filter H2(z), and finally operate downsampling. The entire
process is illustrated in Figure8.
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Homework 3
Write the detail of MATLAB program for changing sampling rate with a
noninteger factor.
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx
Multirate_Digital_Signal_Processing.pptx

More Related Content

PDF
Multirate signal processing and decimation interpolation
PDF
Digital anti aliasing filter
PDF
G010625157
PDF
Multistage Implementation of Narrowband LPF by Decimator in Multirate DSP App...
PPT
DSP unit6 ppt about multirate digital signal processing
PPT
DSP Unit-VI MULTI RATE ADASDASDASDASDADADA
PPT
DSP_Unit-lecture notes on different things.ppt
Multirate signal processing and decimation interpolation
Digital anti aliasing filter
G010625157
Multistage Implementation of Narrowband LPF by Decimator in Multirate DSP App...
DSP unit6 ppt about multirate digital signal processing
DSP Unit-VI MULTI RATE ADASDASDASDASDADADA
DSP_Unit-lecture notes on different things.ppt

Similar to Multirate_Digital_Signal_Processing.pptx (20)

PDF
Topic 6 Sampling Rate Conversion (std).pdf
PDF
Performance Analysis and Simulation of Decimator for Multirate Applications
PDF
Performance Analysis of Fractional Sample Rate Converter Using Audio Applicat...
PDF
T01061142150
DOCX
Source coding systems
PDF
PPT
1 PCM & Encoding
PPTX
Analog to digital conversion technique
PPT
Dct,gibbs phen,oversampled adc,polyphase decomposition
PDF
Bf4102414417
PPTX
BDSP-Lecture 2.pptxh ryuhxfh fhhruujsfthnf
PDF
Multirate signal processing
PDF
Stft vs. mfcc
PDF
Digitization
PPSX
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
PDF
A Novel Frequency Characteristic Model and Noise Shaping Method for Encoder-...
PDF
Performance Comparison of Modified Variable Step Size Leaky LMS Algorithm for...
PDF
Adc dac
PPT
PCM and delta modulation.ppt
DOCX
Voice biometric recognition
Topic 6 Sampling Rate Conversion (std).pdf
Performance Analysis and Simulation of Decimator for Multirate Applications
Performance Analysis of Fractional Sample Rate Converter Using Audio Applicat...
T01061142150
Source coding systems
1 PCM & Encoding
Analog to digital conversion technique
Dct,gibbs phen,oversampled adc,polyphase decomposition
Bf4102414417
BDSP-Lecture 2.pptxh ryuhxfh fhhruujsfthnf
Multirate signal processing
Stft vs. mfcc
Digitization
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
A Novel Frequency Characteristic Model and Noise Shaping Method for Encoder-...
Performance Comparison of Modified Variable Step Size Leaky LMS Algorithm for...
Adc dac
PCM and delta modulation.ppt
Voice biometric recognition
Ad

Recently uploaded (20)

PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Design Guidelines and solutions for Plastics parts
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
Soil Improvement Techniques Note - Rabbi
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Module 8- Technological and Communication Skills.pptx
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Artificial Intelligence
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Design Guidelines and solutions for Plastics parts
Abrasive, erosive and cavitation wear.pdf
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Safety Seminar civil to be ensured for safe working.
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Categorization of Factors Affecting Classification Algorithms Selection
III.4.1.2_The_Space_Environment.p pdffdf
Management Information system : MIS-e-Business Systems.pptx
Soil Improvement Techniques Note - Rabbi
R24 SURVEYING LAB MANUAL for civil enggi
Module 8- Technological and Communication Skills.pptx
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Nature of X-rays, X- Ray Equipment, Fluoroscopy
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Artificial Intelligence
Ad

Multirate_Digital_Signal_Processing.pptx

  • 1. Advanced Digital Signal Processing Lecture 5 Multirate Digital Signal Processing Prof. Dr. Mohammed Najm Abdullah https://itswtech.academia.edu/MohammedAlSalam
  • 2. Multirate digital signal processing (DSP) is a field of signal processing that deals with the manipulation and processing of digital signals at multiple sampling rates. In a multirate system, signals are typically resampled, decimated, or interpolated at different rates to achieve various objectives, such as:  filtering,  compression, or  efficient processing.
  • 3. Problems to be solved: If sampling rate conversion within the digital domain is possible, how to design a decimator or an interpolator ? Can we simply apply downsampling or upsampling in the digital domain ? If not, why ? Is it possible to change the sampling rate of a discrete signal without converting the signal to the analog domain ? How to obtain sampling rate conversion at any rational factor ? Is there any computational efficient way to implement these converters ? What is a polyphase filter ? How to use polyphase filters to implement a digital converter ? Multirate digital signal processing
  • 5. Conversion Approach • Analog approach • Digital approach (multirate DSP system) Analog Approach                   n I T m t c nT T m h n x t x m y Advantages Simple Straightforward Arbitrary sampling rate Disadvantages D/A & A/D converter are needed Ideal (near perfect) lowpass filter is needed Introduced noise and distortion
  • 6. Digital Approach Sampling rate conversion Decimation • Decrease the sampling rate Interpolation • Increase the sampling rate
  • 7. ► Sampling-rate conversion ► Change sample-rate using discrete-time processing
  • 8. Multirate systems have gained popularity since the early 1980s and they are commonly used for audio and video processing, communications systems, and transform analysis to name but a few. In most applications multirate systems are used to improve the performance, or for increased computational efficiency. The two basic operations in a Multirate system are decreasing (decimation) and increasing (interpolation) the sampling-rate of a signal. Multirate systems are sometimes used for sampling- rate conversion, which involves both decimation and interpolation.
  • 10. Decimation is based on the notion that some discrete-time signal of interest exists in a form that is significantly oversampled. There may be some noise and interference throughout the entire bandwidth of ± FS /2 that is supported by the sample rate, FS , but the signal of interest has a spectrum that is confined to a bandwidth much smaller than ± FS /2.
  • 12. Sampling Rate Reduction by an Integer Factor The process of reducing a sampling rate by an integer factor is referred to as downsampling of a data sequence. We also refer to downsampling as ‘‘decimation’’. The term ‘‘decimation’’ used for the downsampling process has been accepted and used in many textbooks and fields. To downsample a data sequence x(n) by an integer factor of M, we use the following notation: y(m) = x(mM) where y(m) is the downsampled sequence, obtained by taking a sample from the data sequence x(n) for every M samples (discarding M-1 samples for every M samples).
  • 13. As an example, if the original sequence with a sampling period T = 0.1 second (sampling rate = 10 samples per sec) is given by: x(n):8 7 4 8 9 6 4 2 2 5 7 7 6 4 . . . and we downsample the data sequence by a factor of 3, we obtain the downsampled sequence as y(m):8 8 4 5 6 . . . , with the resultant sampling period T = 3 *0.1 = 0.3 second (the sampling rate now is 3.33 samples per second). Although the example is straightforward, there is a requirement to avoid aliasing noise.
  • 14. From the Nyquist sampling theorem, it is known that aliasing can occur in the downsampled signal due to the reduced sampling rate. After downsampling by a factor of M, the new sampling period becomes MT, and therefore the new sampling frequency is where fs is the original sampling rate. Hence, the folding frequency after downsampling becomes
  • 15. This tells us that after downsampling by a factor of M, the new folding frequency will be decreased M times. If the signal to be downsampled has frequency components larger than the new folding frequency, f > fs/(2M), aliasing noise will be introduced into the downsampled data. To overcome this problem, it is required that the original signal x(n) be processed by a lowpass filter H(z) before downsampling, which should have a stop frequency edge at fs/(2M) (Hz). The corresponding normalized stop frequency edge is then converted to be
  • 16. In this way, before downsampling, we can guarantee that the maximum frequency of the filtered signal satisfies such that no aliasing noise is introduced after downsampling. A general block diagram of decimation is given in Fig.1, where the filtered output in terms of the z-transform can be written as where X(z) is the z-transform of the sequence to be decimated, x(n), and H(z) is the lowpass filter transfer function. After anti-aliasing filtering, the downsampled signal y(m) takes its value from the filter output as:
  • 29. Homework 1 Write the detail of MATLAB program for implementation of decimation.
  • 32. Sampling Rate Increase by an Integer Factor Increasing a sampling rate is a process of upsampling by an integer factor of L. This process is described as follows:
  • 35. The next step is to smooth the upsampled data sequence via an interpolation filter. The process is illustrated in Figure.5a.
  • 44. Homework 2 Write the detail of MATLAB program for implementation of interpolation.
  • 45.  Equivalent forms : Interchange filter and decimation/interpolation
  • 46. Changing Sampling Rate by a Non-Integer Factor L/M With an understanding of the downsampling and upsampling processes, we now study the sampling rate conversion by a non-integer factor of L/M. This can be viewed as two sampling conversion processes. Step 1: we perform the upsampling process by a factor of integer L following application of an interpolation filter H1(z); Step 2: we continue filtering the output from the interpolation filter via an anti-aliasing filter H2(z), and finally operate downsampling. The entire process is illustrated in Figure8.
  • 54. Homework 3 Write the detail of MATLAB program for changing sampling rate with a noninteger factor.