Chapter 7 Digital Filter Design
Chapter 7 Digital Filter Design
Objective- Determination of a realizable transfer function G(z approximating a given frequency response specification is an important step in the development of a digital filter If an IIR filter is desired, G(z should be a stable real rational function Digital filter design is the process of deriving the transfer function g(z)
• Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification is an important step in the development of a digital filter • If an IIR filter is desired, G(z) should be a stable real rational function • Digital filter design is the process of deriving the transfer function G(z)
s 87.1 Digital Filter Specifications Usually, either the magnitude and/or the phase (delay response is specified for the design of digital filter for most applications In some situations, the unit sample response or the step response may be specified In most practical applications, the problem of interest is the development of a realizable approximation to a given magnitude response specification
§7.1 Digital Filter Specifications • Usually, either the magnitude and/or the phase (delay) response is specified for the design of digital filter for most applications • In some situations, the unit sample response or the step response may be specified • In most practical applications, the problem of interest is the development of a realizable approximation to a given magnitude response specification
s 87.1 Digital Filter Specifications .. We discuss in this course only the magnitude approximation problem There are four basic types of ideal filters with magnitude responses as shown below P(e.) 所P(e) -Oc 0 Oc π0c0 0c冗 HBP(e/o) HBs(edo) -0c2"0cl 0cloc2兀 丌-0c2-0cl Oclc2兀
§7.1 Digital Filter Specifications • We discuss in this course only the magnitude approximation problem • There are four basic types of ideal filters with magnitude responses as shown below –c 0 c 1 HHP(e j) –1 –c2 –c1 c1 c2 HBP(e j) 1 –c2 –c1 c1 c2 HBS(e j)
87.1 Digital Filter Specifications As the impulse response corresponding to each of these ideal filters is noncausal and of infinite length, these filters are not realizable In practice, the magnitude response specifications of a digital filter in the passband and in the stopband are given with some acceptable tolerances In addition a transition band is specified between the passband and stopband
§7.1 Digital Filter Specifications • As the impulse response corresponding to each of these ideal filters is noncausal and of infinite length, these filters are not realizable • In practice, the magnitude response specifications of a digital filter in the passband and in the stopband are given with some acceptable tolerances • In addition, a transition band is specified between the passband and stopband
s 87.1 Digital Filter Specifications For example, the magnitude response G(ejo)l of a digital lowpass filter may be given as indicated below 1+8 1-8p Passband. topband Transiton
§7.1 Digital Filter Specifications • For example, the magnitude response |G(e j)| of a digital lowpass filter may be given as indicated below
s 87.1 Digital Filter Specifications &. AS indicated in the figure, in the passband, defined by0≤0≤0p,we require that G(ej@)≤ I with an error±8p, l.e., 1-8psG(eo≤1+8p,|o≤p · In the stopband, defined by a≤≤π,we require that g(ejo)=o with an error 8 ie,G(eo)s8p,0ss|0l≤π
§7.1 Digital Filter Specifications • As indicated in the figure, in the passband, defined by 0p , we require that |G(e j)|1 with an error p , i.e., 1- p |G(e j)| 1+ p , | | p • In the stopband, defined by s , we require that |G(e j)|0 with an error s i.e., |G(e j)| p , s ||
s 87.1 Digital Filter Specifications p- passband edge frequency stopband edge frequency 8p- peak ripple value in the passband °8、- peak ripple value in the stopband Since g(ejo)is a periodic function of o, and G(ejo)l of a real-coefficient digital filter is an even function of o As a result, filter specifications are given only for the frequency range0so≤兀
§7.1 Digital Filter Specifications • p - passband edge frequency • s - stopband edge frequency • p - peak ripple value in the passband • s - peak ripple value in the stopband • Since G(e j) is a periodic function of , and |G(e j)| of a real-coefficient digital filter is an even function of • As a result, filter specifications are given only for the frequency range 0 ||
s 87.1 Digital Filter Specifications Specifications are often given in terms of loss function G(o)=-20log1o G(ejo)l in dB Peak passband ripple ap=-20l0g10(1-8p)dB Minimum stopband attenuation 、=-20log10(85)dB
§7.1 Digital Filter Specifications • Specifications are often given in terms of loss function G()=-20log10 |G(e j)| in dB • Peak passband ripple p = -20log10 (1- p ) dB • Minimum stopband attenuation s = -20log10 (s ) dB
s 87.1 Digital Filter Specifications Magnitude specifications may alternately be given in a normalized form as indicated below Jo 1+e Passband Stopband一 o Transiton band
§7.1 Digital Filter Specifications • Magnitude specifications may alternately be given in a normalized form as indicated below