Professional Documents
Culture Documents
11/12/2015 1
• Reading
11/12/2015 2
1
11/12/2015
𝑦 𝑛 =𝑥 𝑛 ⊛𝑦 𝑛 = 𝑥 𝑘 ℎ,𝑛 − 𝑘-
−∞
“The purpose of digital filter design is to approximate any of the ideal frequency response
characteristics with a causal and stable digital filter that meets a specific frequency response
with low order for efficient computational complexity”
11/12/2015 3
2
11/12/2015
5
11/12/2015
• 𝑯 𝒆𝒋𝝎 : is a zero-phase, positive real sequence , this implies that ℎ,𝑛- should
be symmteric or antisymmetric why?
• 𝒆−𝒋𝝎𝜶 :
• is a constant delay by 𝛼
11/12/2015 6
3
11/12/2015
ℎ 𝑛 = ±ℎ,𝑀 − 𝑛-
11/12/2015 8
4
11/12/2015
(𝑀 is an even integer)
𝑀
The frequency response 𝐻 𝑒 𝑗𝜔 = 𝑛=0 ℎ,𝑛-𝑒
−𝑗𝜔𝑛 is:
Linear phase
where
Group delay = 2
example:
11/12/2015 9
(𝑀 is an odd integer)
𝑀
The frequency response 𝐻 𝑒 𝑗𝜔 = 𝑛=0 ℎ,𝑛-𝑒
−𝑗𝜔𝑛
where
11/12/2015 10
5
11/12/2015
(𝑀 is an even integer)
𝑀
The frequency response 𝐻 𝑒 𝑗𝜔 = 𝑛=0 ℎ,𝑛-𝑒
−𝑗𝜔𝑛
where
ℎ 𝑛 = 𝛿 𝑛 − 𝛿,𝑛 − 2-
11/12/2015 11
(𝑀 is an odd integer)
𝑀
The frequency response 𝐻 𝑒 𝑗𝜔 = 𝑛=0 ℎ,𝑛-𝑒
−𝑗𝜔𝑛
where
ℎ 𝑛 = 𝛿 𝑛 − 𝛿,𝑛 − 1-
11/12/2015 12
6
11/12/2015
𝐻 𝑧 = ℎ,𝑛-𝑧 −𝑛
𝑛=0
• Real coefficients ℎ,𝑛- implies the zeros are in complex conjugate pairs.
• When the filter coefficients ℎ 𝑛 are symmetry/ antisymmetry, then the
zeros are complex reciprocals
1
h[n ] h[ M n ] H ( z ) z M H if H ( ) 0 H 1 0
z
• Zeros of a linear phase FIR filters are located in quadruple (reciprocal and
conjugate pairs)
Symmetric coefficients Real and symmetric coefficients
M : even M : Odd H ( z ) z M H (1 z )
H ( z ) z M H (1 z ) H ( 1) ( 1) M H ( 1) H ( 1)
H ( 1) 0
Type I Type II
7
11/12/2015
M : Even H ( z ) z M H (1 z ) H ( z ) z M H (1 z )
H ( 1) H ( 1) 0 M : Odd
H (1) H (1) 0 H (1) H (1) 0
Cannot be
11/12/2015 low-pass nor high-pass filter Cannot be low-pass filter 15
All-pass systems
All-pass system is a system that has a unit magnitude over all frequency band
H ap ( z ) z k
H ap e j 1 0
8
11/12/2015
a N a N 1 z 1 a1 z N 1 z N
H ( z)
1 a1 z 1 a N z N
ak z N k
N
H ( z) k 0
, a0 1
ak z k
N
k 0
Let A( z ) k 0 ak z k ,
N
a0 1
A( z 1 )
H e j H ( z ) H ( z 1 ) j 1
2
H ( z) z N
A( z ) z e
• The poles and zeros of all-pass systems are located in reciprocal form
11/12/2015 17
11/12/2015 18
9
11/12/2015
Minimum-phase systems
• A minimum phase system 𝐻𝑚𝑖𝑛 (𝑧) has its poles and zeros
inside the unit circle.
• A maximum phase system has all its zeros outside the unit
circle
• 𝐻𝑚𝑖𝑛 𝑧 is formed by reflecting the zeros of 𝐻(𝑧) that lie outside the unit
circle to their reciprocals inside the unit circle
• 𝐻𝑎𝑝 (𝑧) comprises all the zeros of 𝐻(𝑧) that lie outside the unit circle
along with the poles that cancel the reflected zeros inside the unit circle
• Both 𝐻𝑚𝑖𝑛 𝑧 and 𝐻(𝑧) will have the same magnitude spectrum
11/12/2015 20
10
11/12/2015
• example
1 3 z 1
H ( z)
1
1 z 1
2
1
1 z 1
H min ( z ) 3 3
1 1
1 z
2
1
z 1
H ap ( z ) 3
1 1
1 z
3
1 1 1 1
z 1 z
H ( z ) H ap ( z ) H min ( z ) 3 3 3
1 1 z 1 1 1 z 1
3 2
11/12/2015 21
𝐻𝑑 𝑧 = 𝐻𝑑𝑚𝑖𝑛 𝑧 𝐻𝑎𝑝 𝑧
the compensation system will be the inverse of the minimum phase system
𝐻𝑐 𝑧 = 1 𝐻𝑑𝑚𝑖𝑛 (𝑧)
the overall system will be an all-pass system, only the phase will be modified.
𝐺 𝑧 = 𝐻𝑎𝑝 𝑧
11/12/2015 22
11
11/12/2015
• example:
it is required to compensate the distorting system
whose transfer function
11/12/2015 23
• ds
11/12/2015 24
12
11/12/2015
Same
frequency
magnitude
Added
phase lag
11/12/2015 25
• The minimum-phase system has the smallest group delay within the systems
with the same frequency response.
• A property of the all-pass system that converts a minimum phase system into
a nonminimum phase system always has a positive group delay for all 𝜔
grd [ H ap ( e j )] 0
• Then we have
grd [ H ( e j )] grd [ H min ( e j )]
11/12/2015 26
13
11/12/2015
11/12/2015 27
• the minimum phase system has larger samples at its left-hand end than
all the other sequences that have the same frequency magnitude.
• The energy of the minimum phase system is delayed the least of all
systems having the same magnitude response
𝑛 𝑛
𝑚=0 𝑚=0
11/12/2015 28
14