Professional Documents
Culture Documents
Topic 5:: Multirate Digital Signal Processing
Topic 5:: Multirate Digital Signal Processing
HCM
TRƯỜNG ĐẠI HỌC KHOA HỌC TỰ NHIÊN
KHOA ĐIỆN TỬ - VIỄN THÔNG
TOPIC 5:
Multirate Digital Signal Processing
LECTURE IN CHARGE:
Trầ n Thị Thả o Nguyên
Trang 1
INTRODUCTION
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.
Trang 2
Chapter 1: An Introduction to Multirate Digital Signal Processing
Multirate DSP Systems: Systems that employ multiple sampling rates in the
processing of digital signals are called Multirate Digital Signal Processing
Systems.
Trang 3
Signals can be acquired from different sources sampled at different sample
rates-for processing the signals to make decisions the best way is to bring them
all to a common sampling rate.
Suppose that, we hace the values f [0], f [1], f [2], f [3], … sampled with sampling
period Tx from a signal f (t). This situation is depicted below:
Trang 4
Figure: Continuous Time signal f (t) sampled at fx = 1/Tx
In the picture above, we illustrated Tx > Ty, but the other Ty > Tx can aslo be true.
Given the values of the function at the orange locations in the above picture, we want to
predict the values at the green locations.
An Intutitive Way
Trang 5
An intutitive way of thinking about this is by reconstructing the continuos time
signal and sampling it at the required rate (fy).
To reconstruct the signal, we first pass it through a low pass filter with cut-off
frequency fx.
From Sampling theory, the highest frequency in the reconstructed signal is at most
fx/2.
Before we sample again at sampling rate fy, we need to consider two cases:
fy > fx
fx > f y
Case 1: fy > fx
The Nyquist Sampling Condition is satisfied, therefore, we can sample at the rate fy with
no aliasing effects.
Case 2: fx > fy
Trang 6
fy < 2(fx/2) (2)
The Nyquist Sampling condition is not satisfied, therefore to prevent aliasing, we first
use an anti-aliasing filter (with cut off frequency fy/2) before reconstruction, so that
maximum frequency of the signal is fy/2.
Trang 7
Chapter 2: Decimation and Interpolation by an Intergral Factor
We perform Multirate operations on a given discrete time siganl x[n], sampled form a
continuos time signal at a sampling frequency of fx to get a new sequence y[n] which is a
sampled version of the same continuos time signal sampled at a different rate, fy. In this
class we study two special cases:
a) Decimation
We decimate (kill!) D – 1 samples between 0 and D, i.e, we set them all to zero. We
continue doing to all samples between kD to (k + 1)D, for all k = 1, 2, …
Mathematically,this can be done by multiplying the signal x[n] with an impulse train
of the form:
Trang 8
Since p[n] is periodic with period D, we use Discrete Fourier Series to write p[n] as:
Trang 9
(5)
Trang 10
Downsampling by a factor D
For a discrete time signal x[n], the following mathematical expression best
describes downsampling by a factor D,
In this, x˜[m] is the downsampled signal and the process of going from x [n] to x˜[m] is
called Decimation by a factor of D.
Trang 11
Figure: Obtaining x˜[n] from x [n]p[n]
In this section, we want to relate the z-domain expressions of the signal before and after
Decimation by a factor D. Let X(z) be the z-transform of x[n]. We, therefore, can write,
Trang 12
And let, Y(z) be the z-transform of x˜[m]. We can write,
Trang 13
Thus, we have,
Thus,
Let us start with a bandlimited signal bandlimited to digital angular frequency π/D.
Trang 14
From the above, when –n ≤ ω ≤ n, we can see that,
Moreover, it is also periodic with period 2n, therefore it is a valid Discrete Time Fourier
Transform.
When we have an input signal of frequency more than π/D , we first pass it through a
low pass filter with cut off frequency π/D and then do the two steps shown above. We do
this to prevent aliasing, therefore, we call the low pass filter an anti-aliasing filter. Thus
the final structure of the decimation process will look like:
Trang 15
Figure: Decimation by a factor D
b) Interpolation
We modify the given signal x[n] by placing L-1 zeros between every two samples.
Mathematically, we create a new function ¯x[m], as,
for k = · · · , −3, −2, −1, 0, 1, 2, 3, · · · . We set the value of 0 for all arguments which
are not a multiple of L.
Trang 16
Trang 17
Figure: First step of Interpolation L=4
We evalute the frequency response by evaluating on the unit circle, z = ejω. We see that
zL = ejωL. Thus,
Trang 18
Figure: Frequency Analysis of Interpolation by L
We observe that we get L copies of the frequency response of the input signal in the
interval [−π, π]. Therefore, we filter out everything outside [− π/L , π/L] on the interval
[−π, π]. Thus, we use the following low-pass filter:
Trang 19
Figure: Output Discrete Time Fourier Transform
Figure: Interpolation by L
Trang 20
Chapter 3: Applications of Multirate DSP
Multirate systems are used in a CD player when the music signal is converted from
digital into analogue (DAC). Digital data (16-bit words) are read from the disk at a sampling
rate of 44.1 kHz. If this data were converted directly into an analogue signal, image
frequency bands centred on multiples of the sampling-rate would occur, causing amplifier
overload, and distortion in the music signal. To protect against this, a common technique
called oversampling is often implemented nowadays in all CD players and in most digital
processing systems of music signals. Figure 3 below illustrates a basic block diagram of a CD
player and how oversampling is utilised. It is customary to oversample (or expand) the digital
signal by a factor of x8, followed by an interpolation filter to remove the image frequencies.
The sampling rate of the resulting signal is now increased up to 352.8 kHz. The digital signal
is then converted into an analogue waveform by passing it through a 14-bit DAC. Then the
output from this device is passed through an analogue low-pass filter before it is sent to the
speakers.
Trang 21
Figure 3.1 illustrates the procedure of converting a digital waveform into an analogue
signal in a CD player using x8 oversampling. As an example, Figure (a) illustrates a 20 kHz
sinusoidal signal sampled at 44.1 kHz, denoted by x[n]. The six samples of the signal
represent the waveform over two periods. If the signal x[n] was converted directly into an
analogue waveform, it would be very hard to exactly reconstruct the 20 kHz signal from this
Trang 22
diagram. Now, Figure (b) shows x[n] with an x8 interpolation, denoted by y[n]. Figure (c)
shows the analogue signal y(t), reconstructed from the digital signal y[n] by passing it
through a DAC. Finally, Figure (d) shows the waveform of z(t), which is obtained by passing
the signal y(t) through an analogue low-pass filter.
Trang 23
The effect of oversampling also has some other desirable features. Firstly, it causes the
image frequencies to be much higher and therefore easier to filter out. The anti-alias filter
specification can therefore be very much relaxed i.e. the cut- off frequency of the filter for the
previous example increases from [44.1 / 2] = 22.05 kHz to [44.1x8 / 2] = 176.4 kHz after the
interpolation.
Trang 24
References
"EEE305”, “EEE801 Part A”: Digital Signal Processing
https://dspguru.com/dsp/faqs/multirate/interpolation/?
fbclid=IwAR1nB7bz1ZSuqQQuigztW8wifZhQ-oGuZ-
FfZ0BFC0Z2okAATaG2uBJci7U
https://dspguru.com/dsp/faqs/multirate/decimation/?
fbclid=IwAR04eyoMVaJ3p9y8XP_T3WOKmLUtuRFX0RuAdKTzCR3DVlSPvLqUY
wrq4ZE#:~:text=Loosely%20speaking%2C%20%E2%80%9Cdecimation%E2%80%9D
%20is,without%20the%20lowpass%20filtering%20operation
Trang 25
ST Họ Và Tên Nhiệm Vụ Được Phân Công Ghi Chú
T
1 Trần Bách Cường Thuyết Trình Nhóm Trưởng
2 Đàm Tuấn Khôi Làm File Word
3 Đinh Bửu Hiền Làm PowerPoint
4 Phạm Văn Biên Tìm Kiếm Tài Liệu,Chỉnh sửa
File Word
Trang 26