Professional Documents
Culture Documents
21
22
Design of the Anti-Aliasing Filter
2323
Design of the Anti-Aliasing Filter
The shape of each replica in the sampled signal spectrum is the same as that of
the anti-aliasing filter magnitude frequency response.
24
Example: Butterworth Filter
• The Butterworth magnitude frequency response with an order of n is given by:
• For a second-order Butterworth lowpass filter with the unit gain, the transfer
function and its magnitude frequency response are given by:
2525
Second-order unit-gain Sallen-Key lowpass filter
2626
2727
Assuming a sampling rate of 8000 Hz is used, and the anti-aliasing filter is a second-
order Butterworth lowpass filter with a cutoff frequency of 3.4 kHz:
2828
Assuming a sampling rate of 16,000 Hz is used, and the anti-aliasing filter is a
second-order Butterworth lowpass filter with a cutoff frequency of 3.4 kHz:
2929
i1
Vo
i=0
i i2 Vo = +
−
=
Assume the
voltage at −
this node is V =
− +
= = = ≫≫ =
+
= +
− − −
= = +
+ + +
− − −
= +
3030
Given the DSP system with a sampling rate of 40,000 Hz is used, the antialiasing filter is the
Butterworth lowpass filter with a cutoff frequency 8 kHz, and the percentage of aliasing level
at the cutoff frequency is required to be less than 1%, determine the order of the anti-aliasing
lowpass filter
31
Practical consideration of signal reconstruction
Frequency Response
3232
Sample-and-hold lowpass filtering effect
3333
• The magnitude frequency response acts like lowpass filtering and shapes the
sampled signal spectrum of Ys(f ). This shaping effect distorts the sampled signal
spectrum Ys(f ) in the desired frequency band.
• The spectral images are attenuated due to the lowpass effect of sin(x)/x. This
sample-and-hold effect can help us design the anti-image filter.
• Since the magnitude frequency response of the sampled signal using an ideal
sampler is T|Ys(f )|, therefore, the spectral distortion at the recovery stage can
be derived as
3434
3535
3636
3737
3838
Under Sampling
• If the sampling rate is lower than the required Nyquist rate,
that is fS < 2W, it is called under sampling.
3939
Sampling of Band Limited Signals
Signals whose frequencies are restricted to a narrow band of
high frequencies can be sampled at a rate similar to twice the
Bandwidth (BW) instead of twice the maximum frequency.
Fs ≥ BW
4040
Sampling of Band Limited Signals
• While this under-sampling is normally avoided, it can be
exploited.
• For example, in the case of band limited signals all of the
important signal characteristics can be deduced from the
copy of the spectrum that appears in the baseband through
sampling.
• Depending on the relationship between the signal
frequencies and the sampling rate, spectral inversion may
cause the shape of the spectrum in the baseband to be
inverted from the true spectrum of the signal.
4141
Sampling of Band Limited Signals
4242
Over Sampling
4343
Over Sampling
• In the example below, 2x oversampling means that a low order analog
filter is adequate to keep important signal information intact after
sampling.
• After sampling, higher order digital filter can be used to extract the
information.
4444
Over Sampling
• The ideal filter has a flat pass-band and the cut-off is very
sharp, since the cut-off frequency of this filter is half of that
of the sampling frequency, the resulting replicated spectrum
of the sampled signal do not overlap each other. Thus no
aliasing occurs.
• Practical low-pass filters cannot achieve the ideal
characteristics.
• Firstly, this would mean that we have to sample the filtered
signals at a rate that is higher than the Nyquist rate to
compensate for the transition band of the filter
4545
Spectra of Sampled signals
4646
Sampling Low Pass Signals
4747
Exercise
Exercise-1: If the 20 kHz signal is under-sampled at 30 kHz, find the
aliased frequency of the signal.
4848
Exercise
Exercise-4: Humans can hear sounds at frequencies between 0 and 20
kHz. What minimum sampling rate should be chosen to permit perfect
recovery from samples?
4949