Practical Lowpass Filters

Sources:

  1. B. P. Lathi & Roger Green. (2018). Chapter 4: The Laplace Transform. Signal Processing and Linear Systems (3rd ed., pp. 455-466). Oxford University Press.
  2. B. P. Lathi & Roger Green. (2021). Chapter 7: Filter Design by Placement of Poles and Zeros. Signal Processing and Linear Systems (2nd ed., pp. 666-700). Oxford University Press.

Notations

Symbol Meaning
Gs the maximum stopband gain
Gp the minimum passband gain
ωc the 3 dB cutoff frequency
H(s) the transfer function of a normalized filter
H(s) the transfer function of a filter
|H(s)| the amplitude response of a filter (or the transfer function)

Practical Filters and Their Specifications

An ideal filter has a passband (unity gain) and a stopband (zero gain) with a sudden transition from the passband to the stopband. There is no transition band. For practical (or realizable) filters, on the other hand, the transition from the passband to the stopband (or vice versa) is gradual and takes place over a finite band of frequencies.

Moreover, for realizable filters, the gain cannot be zero over a finite band (Paley-Wiener condition). As a result, there can be no true stopband for practical filters.

We therefore define a stopband to be a band over which the gain is below some small number Gs (maximum stopband gain), as illustrated in Fig. 7.21.

Similarly, we define a passband to be a band over which the gain is between 1 and some number Gp(Gp<1) ((minimum passband gain)), as shown in Fig. 7.21. We have selected the passband gain of unity for convenience. It could be any constant. Usually, the gains are specified in terms of decibels. This is simply 20 times the log (to base 10) of the gain. Thus, G^( dB)=20log10G

A gain of unity is 0 dB and a gain of 2 is 3.01 dB, usually approximated by 3 dB.

In a typical design procedure, Gp (minimum passband gain) and Gs (maximum stopband gain) are specified. Figure 7.21 shows the passband, the stopband, and the transition band for typical lowpass, bandpass, highpass, and bandstop filters. In this chapter, we shall discuss design procedures for these four types of filters. Fortunately, highpass, bandpass, and bandstop filters can be obtained from a basic lowpass filter by simple frequency transformations. For example, replacing s with ωc/s in the lowpass filter transfer function results in a highpass filter. Similarly, other frequency transformations yield the bandpass and bandstop filters. Hence, it is necessary to develop a design procedure only for a basic lowpass filter. Then, by using appropriate transformations, we can design filters of other types. We shall consider here two well-known families of filters: Butterworth and Chebyshev filters.

Butterworth filters

A semicircular wall of poles leads to the Butterworth family of filters, and a semi-elliptical shape leads to the Chebyshev family of filters.

The characteristics of a Chebyshev filter are inferior to those of Butterworth over the passband (0,ωc), where the characteristics show a rippling effect instead of the maximally flat response of Butterworth. But in the stopband ( ω>ωc), Chebyshev behavior is superior in the sense that Chebyshev filter gain drops faster than that of the Butterworth.

The amplitude response |H(jω)| of an N th-order Butterworth lowpass filter is given by (1)|H(jω)|=11+(ωωc)2N Observe that at ω=0, the gain |H(j0)| is unity and at ω=ωc, the gain |H(jωc)|=1/2 or -3 dB. The gain drops by a factor 2 at ω=ωc. Because the power is proportional to the amplitude squared, the power ratio (output power to input power) drops by a factor of 2 at ω=ωc. For this reason, ωc is called the half-power frequency or the 3 dB cutoff frequency (an amplitude ratio of 2 is 3 dB).

Normalized Butterworth Filter

Figure 7.22

In the design procedure, it proves most convenient to consider a normalized filter, denoted as H(s), whose half-power frequency is 1 rad/s (ωc=1). For such a filter, the amplitude characteristic in (1) reduces to (2)|H(jω)|=11+ω2N

Once the normalized transfer function H(s) is obtained, we can obtain the desired transfer function H(s) for any value of ωc by simple frequency scaling, where we replace s by s/ωc in H(s).

The amplitude responses |H(jω)| of normalized lowpass Butterworth filters are depicted in Fig. 7.22 for various values of N. From Fig. 7.22, we observe the following:

  1. The Butterworth amplitude response decreases monotonically. Moreover, the first 2 N1 derivatives of the amplitude response are zero at ω=0. This characteristic is why Butterworth filters are called maximally flat at ω=0. Observe that a constant characterisic (ideal) is maximally flat for all ω<1. In the Butterworth filter, we try to retain this propenty at least at the origin.
  2. The filter gain is 1 (0 dB) at ω=0 and 0.707 (-3 dB) at ω=1 for all N. Therefore, the 3 dB (or half power) bandwidth is 1rad/s for all N.
  3. For large N, the amplitude response approaches the ideal characteristic.

To determine the corresponding transfer function H(s), recall that H(jω) is the complex conjugate of H(jω). Therefore, H(jω)H(jω)=|H(jω)|2=11+ω2N

Substituting s=jω in this equation, we obtain H(s)H(s)=11+(s/j)2N

The poles of H(s)H(s) occur when s2N=(j)2N

In this result, we use the fact that 1=ejπ(2k1) for integral values of k and j=ejπ/2 to obtain s2N=ejπ(2k1+N)k integer 

This equation yields the poles of H(s)H(s) as (3)pk=ejπ2(2k+N1)

with k=1,2,3, ..., 2N.

Observe that all poles have a unit magnitude; that is, they are located on a unit circle in the s plane separated by angle π/N, as illustrated in Fig. 7.23 for odd and even N.

Figure 7.23

Since H(s) is stable and causal, its poles must lie in the LHP. The poles of H(s) are the mirror images of the poles of H(s) about the vertical axis. Hence, the poles of H(s) are those in the LHP and the poles of H(s) are those in the RHP in Fig. 7.23.

The poles corresponding to H(s) are obtained by setting k=1,2,3,,N in (3); that is, pk=ejπ2N(2k+N1)=cosπ2N(2k+N1)+jsinπ2N(2k+N1)k=1,2,3,,N and H(s) is given by H(s)=1(sp1)(sp2)(spN)

For instance, from pk=ejπ2N(2k+N1), we find the poles of H(s) for N=4 occur at angles 5π/8,7π/8,9π/8,11π/8. Figure 7.24

These lie on the unit circle, as shown in Fig. 7.24d, and are given by 0.3827±j0.9239,0.9239±j0.3827. Hence, H(s) can be expressed as H=1(s+0.38j0.92)(s+0.38+j0.92)(s+0.92j0.38)(s+0.92+j0.38)=1(s2+0.7654s+1)(s2+1.8478s+1)=1s4+2.6131s3+3.4142s2+2.6131s+1

We can proceed in this way to find H(s) for any value of N. In general, H(s)=1BN(s)=1sN+aN1sN1++a1s+1 where BN(s) is the Butterworth polynomial of the N th order. Table 7.1 shows the coefficients a1, a2,,aN2,aN1 for various values of N; Table 7.2 shows BN(s) in factored form.

Using these tables, we can simply write down our Butterworth filter's transfer function without calculation. For example, using these tables, we read for N=4 : H(s)=1s4+2.6131s3+3.4142s2+2.6131s+1=1(s2+0.7654s+1)(s2+1.8478s+1)

This result confirms our earlier computations.

Determination of N and ωc

If G^x is the dB gain of a lowpass Butterworth filter at ω=ωx, then according to (1), G^x=20log10|H(jωx)|=10log[1+(ωxωc)2N]

Substitution of the specifications in Fig. 7.21a (gains G^p at ωp and G^s at ωs ) in this equation yields G^p=10log[1+(ωpωc)2N]G^s=10log[1+(ωsωc)2N] or (4)(ωpωc)2N=10G^p/101(5)(ωsωc)2N=10G^s/101

Dividing (4) by (5), we obtain (ωsωp)2N=[10c^s/10110G^p/101] and N=log[(10G^s/101)/(10G^p/101)]2log(ωs/ωp)

Also from (4), ωc=ωp[10G^p/101]1/2N

Alternatively, from (5), ωc=ωs[10G^s/101]1/2N

Since N is rounded up to an integer value, (4) and (5) do not generally return the same value of ωc.

Frequency scaling

Although Tables 7.1 and 7.2 are for normalized Butterworth filters with 3 dB bandwidth ωc=1, the results can be extended to any value of ωc by simply replacing s by s/ωc. This step implies replacing ω by ω/ωc in Eq. (7.20). For example, a second-order Butterworth filter with ωc=100 can be obtained from Table 7.1 by replacing s by s/100 as H(s)=1(s100)2+2(s100)+1=1s2+1002s+104

The amplitude response |H(jω)| of this filter is identical to that of normalized |H(jω)| in (2), expanded by a factor of 100 along the horizontal ( ω ) axis (frequency scaling).

Chebyshev Filters

The amplitude response of a normalized Chebyshev lowpass filter is given by (6)|H(jω)|=11+ϵ2CN2(ω) where CN(ω), the N th-order Chebyshev polynomial, is given by CN(ω)=cos(Ncos1ω) or CN(ω)=cosh(Ncosh1ω)

The first form is most convenient to compute CN(ω) for |ω|<1, while the second form is convenient for computing CN(ω) for |ω|>1. We can show (see ->here) that CN(ω) is also expressible in polynomial form, as shown in Table 7.3 for N=1 to 10.

The normalized Chebyshev lowpass amplitude response (6) is depicted in Fig. 7.28 for N=6 and N=7.

Figure 7.28

We make the following general observations:

  1. The Chebyshev amplitude response has ripples in the passband and is smooth (monotonic) in the stopband. The passband is 0ω1, and there is a total of N maxima and minims over the passband 0ω1.
  2. From Table 7.3, we observe that CN2(0)={0N odd 1N even 

Therefore, the dc gain is |H(0)|={1N odd 11+ϵ2N even  3. The parameter ϵ controls the passband ripple. In the passband, r, the ratio of the maximum gain to the minimum gain is r=1+ϵ2

This ratio r, specified in decibels, is r^=20log1+ϵ2=10log10(1+ϵ2) so that ϵ2=10r^/101

Because all the ripples in the passband are of equal height, Chebyshev polynomials CN(ω) are known as equal-ripple functions. 4. Ripple is present only over the passband 0ω1. At ω=1, the amplitude response is 1/1+ϵ2=1/r. For ω>1, the gain decreases monotonically. 5. For Chebyshev filters, the ripple parameter r^[ dB] takes the place of G^p (the minimum gain in the passband). For example, r^2 dB specifies that gain variations of more than 2 dB cannot be tolerated in the passband. In a Butterworth filter, G^p=2 dB means the same thing. 6. If we reduce the ripple, the passband behavior improves, but it does so at the cost of stopband behavior. As r is decreased ( ϵ is reduced), the gain in the stopband increases, and vice versa. Hence, there is a tradeoff between the allowable passband ripple and the desired attenuation in the stopband. Note that the extreme case ϵ=0 yields zero ripple, but the filter now becomes an allpass filter, as seen from (6) by letting ϵ=0.

The Chebyshev polynomial

The Chebyshev polynomial CN(x) is defined as CN(x)=cos[Ncos1(x)]=cosh[Ncosh1(x)]

In this form, it is difficult to verify that CN(x) is a degree-N polynomial in x. A recursive form of CN(x) makes this fact more clear. CN(x)=2xCN1(x)CN2(x)

With C0(x)=1 and C1(x)=x, the recursive form shows that any CN is a linear combination of degree- N polynomials and is therefore a degree- N polynomial itself.

Determination of Chebyshev Filter Order N

For a normalized Chebyshev filter, the gain G^ in dB (see (6)) is G^=10log[1+ϵ2CN2(ω)]

The gain is G^s at ωs. Therefore, G^s=10log[1+ϵ2CN2(ωs)] or ϵ2CN2(ωs)=10G^s/101

The use of CN(ω)=cos(Ncos1ω) or CN(ω)=cosh(Ncosh1ω) and ϵ2=10r^/101 yields cosh[Ncosh1(ωs)]=[10σ^s/10110r^/101]1/2

Hence, N=1cosh1(ωs)cosh1[10G^s/10110r^/101]1/2

Note that these equations are for normalized filters, where ωp=1. For a general case, we replace ωs with ωsωp to obtain

#TODO why w_p? N=1cosh1(ωs/ωp)cosh1[10G^s/10110r^/101]1/2

Chebyshev Pole Locations and Normalized Transfer Function

We could follow the procedure of the Butterworth filter to obtain the pole locations of the Chebyshev filter. The procedure is straightforward but tedious and does not yield any sperial insight into our development. Butterworth filter poles lie on a semicircle. We can show tha the poles of an N th-order normalized Chebyshev filter lie on a semiellipse of the major and minor semiaxes coshx and sinhx, respectively, where x=1Nsinh1(1ϵ) The Chebyshev filter poles are pk=sin[(2k1)π2N]sinhx+jcos[(2k1)π2N]coshxk=1,2,,N

The geometrical construction for determining the pole location is depicted in Fig. 7.29 for N=3. A similar procedure applies to any N; it consists of drawing two semicircles of radii a=sinhx and b=coshx. We now draw radial lines along the corresponding Butterworth angles and locate the N th-order Butterworth poles (shown by crosses) on the two circles. The location of the k th Chebyshev pole is the intersection of the horizontal projection and the vertical projection from the corresponding k th Butterworth poles on the outer and inner circles, respectively. The transfer function H(s) of a normalized N th-order lowpass Chebyshev filter is H(s)=KN(sp1)(sp2)(spN)=KNCN(s)=KNsN+aN1sN1++a1s+a0

The constant KN is selected following |H(0)|={1N odd 11+ϵ2N even  to provide the proper dc gain:

KN={a0N odd a01+ϵ2=a010r^/20N even 

Appendix

Table 7.1

Table 7.1 Coefficients of Normalized Butterworth Polynomials

N a7 a6 a5 a4 a3 a2 a1
2 1.414214
3 2.000000 2.000000
4 2.613126 3.414214 2.613126
5 3.236068 5.236068 5.236068 3.236068
6 3.863703 7.464102 9.141620 7.464102 3.863703
7 4.493959 10.097835 14.591794 14.591794 10.097835 4.493959
8 5.125831 13.137071 21.846151 25.688356 21.846151 13.137071 5.125831

Table 7.2

Table 7.2 Normalized Butterworth Polynomials in Factored Form

N Normalized Butterworth Polynomials BN(s), factored form
1 s+1
2 s2+1.414214s+1
3 (s+1)(s2+s+1)
4 (s2+0.765367s+1)(s2+1.847759s+1)
5 (s+1)(s2+0.618034s+1)(s2+1.618034s+1)
6 (s2+0.517638s+1)(s2+1.414214s+1)(s2+1.931852s+1)
7 (s+1)(s2+0.445042s+1)(s2+1.246980s+1)(s2+1.801938s+1)
8 (s2+0.390181s+1)(s2+1.111140s+1)(s2+1.662939s+1)(s2+1.961571s+1)

Table 7.3

Table 7.3 Chebyshev polynomials

N CN(ω)
0 1
1 ω
2 2ω21
3 4ω33ω
4 8ω48ω2+1
5 16ω520ω3+5ω
6 32ω648ω4+18ω21
7 64ω7112ω5+56ω37ω
8 128ω8256ω6+160ω432ω2+1
9 256ω9576ω7+432ω5120ω3+9ω
10 512ω101280ω8+1120ω6400ω4+50ω21