




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























Yimin Zhang
Department of Electrical & Computer Engineering
Villanova University
ECE
Digital Signal Processing
Filter Design Techniques
(2/3)
We consider an ideal desired frequency response that can berepresented asIn turn, the impulse response sequence can be expressed as
Many idealized systems are defined by piecewise-constant orpiecewise-functional frequency responses with discontinuities atthe boundaries between bands. As a result, these systems haveimpulse responses that are noncausal and infinitely long.
The most straightforward approach to obtaining a causal FIRapproximation to such systems is to truncate the ideal response.
∞ ∑−∞=
−
n
n j
d
Tj d^
ω
ω^
ω
π
ω
π π
ω^
n j j d
d^
∫−
The simplest way to obtain a causal FIR filter from
hd
[ n
] is to
define a new system with impulse response
h [ n
] given by
As can be seen in the LPF example (we discussed it in Ch. 2),there is the Gibbs phenomenon.
More generally, we can represent
h
[ n
] as the product of the
desired impulse response and a finite-duration “window”
w
[ n
],
where the window for the above example is
d
d
From the modulation theorem (or windowing theorem)That is,
is the periodic convolution of
will be a smeared version of
θ
π
π π
θ ω
ω
ω^
j
j d
j
∫−
−
) (
If
will look like
^
≤ ≤
=^
otherwise , 0
0 , 1 ] [^
M n
n w ^
≤ ≤
−
=^
otherwise
, 0
0
), / 2 cos( 5
. 0 (^5). 0 ] [^
M n M n n w
≤ ≤
−
≤ ≤
=
otherwise
, 0
(^2) /
, / 2 2
(^2) /
0 , / 2 ] [^
M n
M M n
M n
M n
n w ^
≤ ≤
−
=^
otherwise
, 0
0 ), / 2 cos( (^46). 0
(^54). 0 ] [^
M n M n n w
^
≤ ≤
−
=^
otherwise
, 0
0 ), / 4 cos( (^08). 0 ) / 2 cos( 5
. 0
(^42). 0 ] [^
M n M n M n n w
HanningPeak sidelobe level: –31 dBApprox. width of main lobe:
8 π
/ M
HammingPeak sidelobe level: –41 dBApprox. width of main lobe:
8 π
/ M
BlackmanPeak sidelobe level: –57 dBApprox. width of main lobe:
12
π/ M
Incorporation of Generalized Linear Phase
All the windows have the property thati.e., they are symmetric about
M
/2.
If the desired impulse response is also symmetric about
M
/2,
i.e., if
h
[ nd
]=
hd
[ M – n
], then the windowed impulse response
will
also
have
that
symmetry,
and
the
resulting
frequency
response will have a generalized linear phase; that iswhere
(^2) /
M j
j e
j^
ω
ω
ω^
−
The trade-off between the main lobe width and side-lobe areacan
be
quantified
by
seeking
the
window
function
that
is
maximally concentrated around
ω
=0 in the frequency domain.
This was considered and the solution shows that the filter designinvolves prolate spheroidal wave functions and thus is difficult.
However, Kaiser found that a near-optimal window could beformed using the zeroth-order modified Bessel function of thefirst kind [
I (·)], a function that is much easier to compute.^0
The Kaiser window is defined aswhere
α
= M
/2.
0
(^2) / 1 2
0
The Kaiser window has two parameters: the window length(
M
+1) and a shape parameter
β
. By adjusting (
M
+1) and
β
, the
side-lobe
amplitude
and
main-lobe
width
can
be
properly
designed.
β
=0 becomes the rectangular window. Increasing
β
will reduce
the side-lobe level, but the main-lobe becomes wider.
Increasing
M
while holding
β
constant causes the main lobe to
reduce in width, but does not affect the amplitude of the sidelobes.
Through extensive numerical experiments, Kaiser obtained a pairof formulas to predict the values of
and
β
needed to meet a
WINDOW - Window function gatewayWINDOW(@WNAME,N) returns an N-point window of type
specified by the function handle @WNAME in a column vector.@WNAME can be any valid window function name, forexample: @bartlett
@blackman
@hamming
@hann
@kaiser
@rectwin
@triang