3.3  A Quick Discussion About Filters

This section presents a brief introduction to a special class of systems called LTI filters, which typically have the characteristic of being frequency-selective. LTI systems will be further discussed in Section 3.4 but the goal here is to provide concrete examples on frequency-selective filters, due to their importance in DSP. Other filters will be discussed, but this section starts with the two most common filters: lowpass and highpass.

The lowpass filter is characterized by attenuating (or rejecting) the frequency components that are above a given frequency called bandpass frequency fp, while providing a gain κ > 0 to the frequency components from 0 to fp. The name lowpass is used because the filter allows the low-frequency components of x(t) to “pass” and compose the output. Similarly, the highpass tries to reject the components of x(t) that are located from 0 to its fp in the frequency spectrum, while keeping those higher than fp.

PIC
(a) Lowpass
PIC
(b) Highpass
Figure 3.1: Ideal magnitude specifications for lowpass and highpass filters.

Figure 3.1(a) and Figure 3.1(b) depict the ideal specification of low and highpass filters, respectively. These figures only illustrate the magnitude (gain κ) and, at this moment, the phase Θ is assumed to be zero.

Example 3.1. Lowpass and highpass filtering examples. For example, assume a signal x(t) = 3cos (2π100t) + 8cos (2π200t) (t in seconds) is the input to the lowpass filter of Figure 3.1(a) with κ = 1, Θ = 0 and fp = 150 Hz. The output would be y(t) = 3cos (2π100t) because the component of frequency 200 Hz would be filtered out. If the same x(t) is the input to the highpass filter of Figure 3.1(b) with κ = 4, Θ = 0 and fp = 190 Hz, the output would be y(t) = 32cos (2π200t). In this case, besides eliminating the lowpass component, the filter imposed a gain of 4 to the amplitude of the 200 Hz component.    

Figure 3.2 shows the magnitude of the frequency response of a (second order analog) filter. This figure should be contrasted to the ideal case of Figure 3.1. In practice the filter gain cannot instantaneously change from 1 to 0 as idealized in Figure 3.1. Instead, this variation (the attenuation rolloff) depends on the filter order and creates a transition region that is defined as the range of frequencies between fp and the stopband frequency fr.

PIC

Figure 3.2: Magnitude of the frequency response of a practical analog filter in linear scale (|H(f)|, top) and in dB (20log 10|H(f)|), which should be compared to the ideal case of Figure 3.1. Three frequencies are of interest: passband (fp = 100 Hz), cutoff (fc = 158.5 Hz) and stopband (fr = 500 Hz) frequencies.

3.3.1  Cutoff and natural frequencies

Besides fp and fr, another frequency of interest is the so-called cutoff frequency fc. Assuming the filter gain at the passband is κ, the cutoff is the frequency for which the linear gain is κ2 0.707κ. The cutoff indicates the frequency in which the filter attenuates a signal component to half of its power at the passband center. For example, assume an input signal x(t) has a component Acos (2πfct) with power A22, which is passed through a highpass filter with unitary gain at passband and cutoff frequency fc. This component will show up at the filter output as A 2 cos (2πfct), which has power A2 4 , corresponding to half of the original power. In dB scale, the cutoff frequency corresponds to a gain of 20log 10(12) 3.01 dB, as illustrated in Figure 3.2 for a lowpass filter with gain κ = 1 at DC.

The cutoff frequency should not be confused with the natural frequency, which is detailed in Figure 3.19. Table 1 is a useful reference for the special frequencies used in signal processing.

Filter masks

The filter designer often has a specification mask that should be obeyed. The passband and other special frequencies are used to described the mask.

PIC
(a) Lowpass.

PIC
(b) Highpass.
Figure 3.3: Example of specification masks for designing low and highpass filters.

Figure 3.3(a) and Figure 3.3(b) depict masks for low and highpass filters, respectively. In this case, the values Apass and Astop indicate the maximum and minimum attenuation in dB for the passband and stopband, respectively. These bands are indicated by the frequencies Fp and Fr, for pass and rejection bands.

PIC

Figure 3.4: Example of specification mask for designing bandpass filters.

Besides lowpass and highpass, some other popular filters are the so-called bandpass and bandstop (or band-reject) filters. Figure 3.4 shows a bandpass specification.

The goal of this section was to provide an overview of filtering. Appendix A.27 presents a brief review of the most important properties of systems and the next section discusses LTI systems.