Difference between revisions of "Filter Synthesis"

From Microlab Classes
Jump to navigation Jump to search
 
Line 15: Line 15:
  
 
{|
 
{|
|[[File:RC 1pole.png|thumb|250px|Figure 1: A simple RC circuit.]]
+
|[[File:RC 1pole.png|thumb|260px|Figure 1: A simple RC circuit.]]
 
|[[File:RLC 2poles.png|thumb|300px|Figure 2: A lossy RLC circuit.]]
 
|[[File:RLC 2poles.png|thumb|300px|Figure 2: A lossy RLC circuit.]]
 
|-
 
|-

Latest revision as of 14:38, 24 March 2021

Filters can be implemented (1) as a cascade if biquadratic filters, or biquads, that implements one or two poles at a time, or (2) as ladder filters.

Biquadratic Filters

To implement a single real pole, we can use a simple RC cicuit, as shown in Fig. 1, whose transfer function is given by:

 

 

 

 

(1)

To implement two complex conjugate poles, we can use a lossy LC circuit, as shown in Fig. 2. We can then express the transfer function of this circuit as:

 

 

 

 

(2)

Figure 1: A simple RC circuit.
Figure 2: A lossy RLC circuit.

A more complex filter can then be implemented by cascading 2-pole filters, and an extra 1-pole filter for odd-order complex filters, as shown in Fig. 3 for a fifth order filter. Note that (1) filters built as a cascade of biquads are easy to implement, but they are very sensitive to mismatch since the filter transfer function is dependent not only on the pole locations, but on the pole placement relative to other poles, (2) buffers are used to prevent loading effects, and (3) the biquads are arranged from lowest to highest Q to help reduce loss and noise.

Figure 3: A 5th order filter implemented using cascaded biquads.

Ladder Networks

A better alternative to cascading biquads is to expand the filter's driving point or input impedance using continued fraction expansion. Consider a general ladder network shown in Fig. 4. The input impedance, , can then be expressed as the continued fraction:

 

 

 

 

(3)

Thus, we can build filters using ladder networks if we know their input impedance.

Figure 4: A general ladder network.

Example: A Low-Pass Butterworth Filter

Consider a third order low-pass Butterworth filter with the normalized (to ) transfer function:

 

 

 

 

(4)

The filter is shown in Fig. 5, where it is driven by a source with input resistance, , and loaded by the resistance, .

Figure 5: A filter driven by a source with resistance, , and driving a resistive load, .

For the normalized impedance case, where , and with :

 

 

 

 

(5)

We can then expand this as:

 

 

 

 

(6)

Thus, for the low-pass case, we have capacitors as the admittances to ground, and inductors as the impedances in the forward path, or equivalently and , and in the terminated case, . We can then determine the capacitance and inductance values of the third order low-pass Butterworth filter:

 

 

 

 

(7)

The resulting filter is shown in Fig. 6.

Figure 6: A third order low-pass normalized Butterworth filter.

Filter Tables

For higher-order filters, calculating the inductance and capacitance values could take some time and effort, though these values are well known. An alternative to continued fraction expansion, in implementing ladder filters, is the use of filter tables. Fig. 8 shows a sample filter table taken from the famous book by Anatoly Zverev[1]. To illustrate the use of filter tables, consider the example below.

Filter Design Example

Let us design a filter with the following specifications:

  • A maximally flat low-pass filter
  • A cut-off frequency,
  • An attenuation of at least at

Step 1: Determine the filter family

Let us use the Butterworth low-pass filter prototype since it has a maximally flat pass band.

Step 2: Determine the filter order

We can determine the order from the magnitude response of the filter, which we can get using tools like Python or Matlab, or in this case, we can use filter tables and graphs. Fig. 7 shows the Butterworth attenuation characteristics for different filter orders. Note that this graph is normalized to .

Figure 7: Attenuation characteristics of Butterworth filters[1].

To get the lowest order filter that satisfies our requirements, we can then look at the point where:

 

 

 

 

(8)

Thus, we can see that we need at least a fifth order filter, i.e. .

Step 3: Determine the normalized LC values

We can obtain the inductor and capacitor values of the 5th order low-pass Butterworth filter normalized to from the filter transfer function using continued fraction expansion, or just use a filter table, as shown in Fig. 8.

Figure 8: Butterworth LC element values[1].

Looking at the entry for , with , we get the normalized values , , , , and .

Step 4: Denormalize

Denormalization is the process of shifting the corner frequency from to . For now, let us leave . We then define and , where . Thus, in this case, we get:

 

 

 

 

(9)

We can then determine the denormalized element values using and , thus:

 

 

 

 

(10)

The resulting fifth order low-pass Butterworth filter is shown in Fig. 9.

Figure 9: The resulting 5th order low-pass Butterworth filter with .

We can verify the magnitude response of the filter using SPICE, as shown in Fig. 10. Note that the low frequency gain is maximally flat, and is at due to the voltage division between the source and load resistances.

Figure 10: Fifth order Butterworth filter SPICE simulation result.

References

  1. 1.0 1.1 1.2 Zverev, Anatoly I., Handbook of filter synthesis, New York, Wiley [1967]