written 6.5 years ago by |
For FIR filter,
H(z)=∑M−1n=0h(n)z−n
To obtain magnitude and phase response put
z=ejω
∴H(ejω)∑M−1n=0h(n)z−jωn
Here phase response is given by:
ϕ(ω)=tan−1(Im[H(ejω)])(Re[H(ejω)])
The group delay is the delayed response of filter as a function of frequency ω.
The phase delay (T_p) and group delay (T_g)are given by,
Tp=(−ϕ(ω))ω and
Tg=(−dϕ(ω))dω
The parameter T is constant phase delay parameter and it is given by (M−1)2
If the phase delay and group delay are constant then such filters are called as linear phase filters. The condition for linear phase in terms of delay parameter is:
ϕ(ω)=-ωT
Similarly in terms of filter length, condition for Linear phase is
h(n)=h(M-1-n)
If only constant group delay is considered then the Linear phase condition is,
h(n)=-h(M-1-n)