Digital Signal Processing

Digital Filter Design

You design a digital filter by specifying the frequency response of the filter in the frequency domain. The specification includes the digital filter’s cutoff frequencies, passband and stopband edge frequencies, passband ripple, and stopband attenuation. Figure 8 through Figure 11 illustrate the filter specification for each type of digital filter (Oppenheim and Schafer 2010; Parks and Burrus 1987).

Figure 8: Filter Specification for Lowpass Filter

lowpass


Figure 9: Filter Specification for Highpass Filter

highpass


Figure 10: Filter Specification for Bandpass Filter

bandpass


Figure 11: Filter Specification for Bandstop Filter

bandstop


A digital filter’s cutoff frequency, omega Subscript c, is defined as the frequency at which the power of the frequency response reaches half the unity power, or equivalently StartRoot 1 divided by 2 EndRoot almost equals 0.707 of the unity magnitude, which is approximately minus 20 normal l normal o normal g Subscript 10 Baseline left parenthesis 0.707 right parenthesis = 3, measured in decibels (dB). Because half power is about 3 dB away from unity power, this frequency is often called the 3 dB cutoff frequency. For lowpass and highpass filters, you need to specify only one cutoff frequency value. However, for bandpass and bandstop filters, you need to specify two cutoff frequency values, as illustrated in Figure 10 and Figure 11.

The digital filter passband and stopband edge frequencies are omega Subscript p and omega Subscript s, respectively. For lowpass and highpass filters, you need only one value of each edge frequency. However, for bandpass and bandstop filters, you need two values of the passband edge frequencies (omega Subscript p Baseline 1 and omega Subscript p Baseline 2) and two values of the stopband edge frequencies (omega Subscript s Baseline 1 and omega Subscript s Baseline 2). The frequency range from the passband edge frequency to the stopband edge frequency is the transition band. The transition band has a frequency response that is unspecified (Oppenheim and Schafer 2010; Parks and Burrus 1987; Roy 2005; Constantinides 1970).

The digital filter passband and stopband can contain oscillations known as ripples. The symbol delta 1 represents the magnitude of the passband ripple, which equals the maximum deviation from the unity magnitude. The symbol delta 2 represents the magnitude response of the stopband attenuation, which equals the maximum deviation from zero. The passband ripple (upper R Subscript p) and stopband attenuation (upper R Subscript s) are usually measured in decibels and defined, respectively, as

upper R Subscript p Baseline equals minus 20 normal l normal o normal g Subscript 10 Baseline left parenthesis 1 minus delta 1 right parenthesis (dB)

upper R Subscript s Baseline equals minus 20 normal l normal o normal g Subscript 10 Baseline left parenthesis delta 2 right parenthesis (dB)

where the absolute value of the passband ripple, upper R Subscript p, must be less than the absolute value of the stopband attenuation, upper R Subscript s; that is, StartAbsoluteValue upper R Subscript p Baseline EndAbsoluteValue less than StartAbsoluteValue upper R Subscript s Baseline EndAbsoluteValue.

The values of the passband and stopband edge frequencies are normalized values between 0 and 1, exclusive, where 1 corresponds to the normalized Nyquist frequency (pi rad/sample). When you specify the passband and stopband edge frequencies, the following expressions must be satisfied:

Lowpass filter: omega Subscript p Baseline less than omega Subscript s

Highpass filter: omega Subscript s Baseline less than omega Subscript p

Bandpass filter: omega Subscript s Baseline 1 Baseline less than omega Subscript p Baseline 1 Baseline less than omega Subscript p Baseline 2 Baseline less than omega Subscript s Baseline 2

Bandstop filter: omega Subscript p Baseline 1 Baseline less than omega Subscript s Baseline 1 Baseline less than omega Subscript s Baseline 2 Baseline less than omega Subscript p Baseline 2

Last updated: July 20, 2026