Louis Frenzel Filter Design
Louis Frenzel Filter Design
Filter Design
A filter is a circuit that passes signals of some Figure 9 .2 shows the ideal and realistic
frequencies but blocks or attenuates those of frequency response curves of each. The realistic
other frequencies. The most common filters curves on the right are referred to as Bode
are RC or LC networks. Active filters using op plots. They indicate the attenuation at different
amps and RC networks are also popular. High- frequencies. The passband and a reject or stop
frequency filters are made with LC networks, band are indicated.
quartz crystals, ceramics, surface acoustic wave
(SAW) devices, and other components. In this Low-Pass Filters
chapter, you will learn how to design basic RC
and LC filters, as well as active :filters with op This filter passes signals below a specific cutoff
amps. These filters are the ones you will most point and attenuates signals above the cutoff
likely need or encounter. Online filter design point. The response below the cutoff is called
calculators are available to simplify and speed up the passband. The region above the cutoff is
your design. designated the stop band. See Fig. 9.2a. Signals,
including de, pass relatively unattenuated
The primary characteristic of a filter is
below the cutoff frequency (fa:) . The cutoff
its selectivity. Selectivity is the sharpness of
frequency is that point where the output drops
response between the passband where the
to 70. 7 percent (0. 707) of the output at a lower
desired signals reside and the reject band of
frequency. If the filter attenuation is expressed in
undesired frequencies. The steepness of the
decibels (dB), the cutoff,fCO' occurs at the point
response or sharpness of the transition between
where the output drops to -3 dB from a lower
the passband and the reject band is a measure of
frequency. The total passband or bandwidth is
the selectivity.
from de to far
Above the cutoff, the attenuation increases
linearly with frequency. The term used to
Types of Filters describe this is roll-off at a constant rate. The
There are four basic types of filters: low-pass, steepness of this roll-off is a measure of the
high-pass, bandpass, and band reject filters. selectivity. In a basic RC filter, the roll-off rate is
Figure 9.1 shows the symbols commonly used to 6 dB/octave or 20 dB/decade.
represent each filter type in block diagrams. The Figure 9.2a shows the actual response of a
waves designate high, mid-, and low frequencies. low-pass filter. The cutoff frequency is 600 Hz.
Note the subtle marks across some of the waves If the output is 5 V at lower frequencies, the
that indicate which signals do not get through. output at cutoff is 0.707 (5) = 3.535 V. This is
103
104 Practical Electronic Design for Experimenters
Low-Pass High-Pass
-
In -.........
-----+-.........
Band Pass
1Out~ -------..
In - 1 0ut~
-.....
-.....
Band Reject/Notch
!1-------. 20ldB
t :
'
i :
I
I
::_~:
Signals in the
Pass Band Pass
Unattenuated
Signals Above/co
are Eliminated
-- --- 23 dB _________ _________ l_l_
: :
_____ _:
Frequency --+ fco Frequency --+
(a)
0
-3dB
t
Pass Band
~------...-------/co= _1_
/co Frequency --+ f co Frequency-+ 21tRC
(b)
Pass Band
Pass Band 0
~
-3dB
t
J
/1 fc h Frequency --+ Frequency--+
'---v---'
BW=Jz-f1
(c)
Notch or Band Reject Region
Notch
t
J Pass Band Pass Band
UJ!I qJfj Block diagram symbols forthe four filter types: (a) low-pass, (b) high-pass, (c) band pass, and (d) notch.
Chapter 9 • Filter Design 105
also the -3 dB point. The attenuation levels for divider configurations to achieve their function.
one octave later (1200 Hz) and one decade later In this chapter, you will learn how to design the
(6 kHz) are indicated. most common RC and LC filters.
High-Pass Filter
Filter Specifications
This filter lets frequencies above the cutoff
pass with little attenuation, while frequencies The following are the basic characteristics to use
below the cutoff are gradually attenuated. See in selecting a commercial filter:
Fig. 9.2b. The response below the cutoff is called Insertion loss. This is the attenuation of
the stop band. The region above the cutoff is the signal in the passband. It is typically
designated the passband. expressed in decibels (dB).
Attenuation. This is the loss in the filter
Bandpass Filter because of the losses in the components.
Chebyshev
/1 = Desired Signal /1 h
C = l/ 27tf~ = 1/6.28(4000)47,000 = 847 pF h = Undesired Signal
Standard values are 820 and 910 pF.
Either will work with a small shift in the
Qi IIlftj Response of low-pass filters with
different roll-off rates and their success
cutoff frequency. in minimizing unwanted signals.
Chapter 9 • Filter Design 109
lOOR
R lOR
Bandpass LC Filters
c Bandpass RC filters are rarely used. However,
100 I you can make BPFs with simple resonant LC
(a) circuits as Fig. 9.9 shows.
Here is the procedure and an example.
The center frequency of the filter is the
resonant formula. Assume f = 7 kHz.
18 dB/Octave
fc= 112xYLC
/co A good starting point is to select an available
(b)
inductor with a known value. Select a large value
Qil!ifQ A three-section RC low-pass filter used like 100 mH for low frequencies (<10 kHz).
to improve selectivity.
Next, knowing the center frequency and the
inductance, we can rearrange the resonance
Each RC section attenuates at a rate of 6 dB/ formula to solve for C.
octave, so the combined attenuation rate for C = 1/(2xf)2L = 1/(6.28 x 7000)2(100 x 10-3)
a three-section filter is 18 dB/octave or 60 dB/
C = 0.005 µF A standard value, but 0.0047
decade. The curves in Fig. 9. 7b are exaggerated should also work.
to show the concept.
Recalculatingfwith that later value of C gives
The problem with this arrangement is that
7345 Hz.
each section loads the previous section. This
One solution is to put another capacitor in
loading effect shifts the cutoff frequency,
making the filter something different than parallel with the 0.0047 µF to get 0.005 µF. We
what you may need. To correct this problem, need
make each section resistor value 10 times or 0.005 - 0.0047 = 0.0003 µFor 300 pF
more the value of the resistor in the previous There is no 300 pF, but there is 330 pF or 0.00033 µR
section. The most effective approach is to make
Putting the two capacitors in parallel gives
all RC sections the same, but put an isolation
amplifier between sections as shown in Fig. 9.8. C = 0.0047 + 0.0033 = 0.00503 µF
Here an op amp follower with its unity Now recalculatingf, we get
gain, high input impedance, and low output f=7100Hz
impedance effectively eliminates the loading
closer to the desired 7000 Hz.
problem.
(a) (b)
Q !I Ilf!:I A three-section RC low-pass filter with Q [I !lf£j {a) Series and {b) parallel LC bandpass
interstage isolation with op amps. filters.
110 Practical Electronic Design for Experimenters
and pass those above and below the center the desired calculated value to achieve good
frequency. It has been widely used to notch out attenuation at the center frequency. It is possible
60 Hz ac power line interference. to achieve an attenuation of up to about 40 dB
The notch or center frequency is determined at the notch frequency, but only if the actual
by the familiar expression calculated values are used. Typically, you must
resort to 1 percent resistors and capacitors to get
fc= 1/21tRC
close enough to the desired values.
Like other RC filters, its effectiveness is greatly
Another approach is to select the capacitor
affected by the output impedance of the driving
first. Choose a 2 percent or 5 percent capacitor,
circuit and the load. As usual, the driving
then using that value, calculate the resistor value.
impedance should be as low as possible and the
Use the closest 1 percent value. Since there are
load as high as possible. Here is the basic design
more closely spaced resistor values, you are more
procedure.
likely to get close to the ideal.
• State the notch frequency.
One helpful modification is to use a variable
Let's use 360 Hz. resistor for the R/2 value. This will let you vary
• Select a value for R. It should be at least 10 the notch frequency a small amount so you
times higher than the Z 0 of the driving stage can optimize the attenuation of the undesirable
and lower than a factor of 10 or more of the signal.
load Re A more selective twin-T can be created by
If z 0 is 200 n and the load is 100 kn, a using it in conjunction with an op amp. See
value of 10 k for R would work. Fig. 9.11.
• Calculate C. Rearranging the formula to This circuit uses two op amp followers to
solve for C, provide feedback that significantly sharpens
C = 1121tf00R = 1/6.28(360)10,000 =0.044 µF the selectivity. The degree of selectivity is
determined by the amount feedback provided
A standard 0.047 µF capacitor would work
by the voltage divider R 1 and ~· A good way to
but would shift the notch a bit to
implement this circuit is to use a pot in place of
fc = 1/21CRC = 1/6.28(10,000)(0.047 x 10-6) the two resistors. This way you can adjust the
= 339Hz response to fit the application.
This is usually not suitable, so a capacitor
value closer to the calculated value must
be used. You can experiment with putting
capacitors in series or parallel to get closer to
the desired value. Output
Vi
~
Ri c; C2
I
C1I
~vJ
-V
VoUT
•
•
•
•
Calculate R 1 = R4 = 1/2nCJc = 1/6.28(0.01 x
10-6 x1000) = 2215 n
Calculate R 3 = 19R1 = 19(2275) = 43,221 .0.
Calculate R 2 = R/19 = 2275/19 = 120 .0.
• Use the closest standard resistor values.
If necessary, use 1 percent resistors for
Qll!tflfl Active RC low-pass filter.
precision in setting the center frequency.
For the design details of the other filter types,
design tools you can access for free. Here is an a challenge. You want to get components with
example to show you how. values close enough to those calculated so the filter
1. https://www-users.cs.york.ac.uk/-fisher/ will work. That is easier said than done. Standard
lcfilter/ capacitor values in 5 percent tolerance units are
usually not close enough. Inductors are even more
2. http://www.rfwireless-world.com/
difficult. You may need to build your own. For
calculators/RF-filter-calculator.html
standard inductors, search the distributors first.
3. rf-tools.com/lcfilter Then try the inductor manufacturers like Coilcraft
4. www.wa4dsy.net/filter/filterdesign.html and Bourns (J.W Miller).
5. https://www.coilcraft.com/appsllc_filter
_designer/lc_filter_designer.cfm
Switched Capacitive Filters
Here is a design example using tool #1 above.
An interesting and different type of filter is the
A radio transmitter operating at 30 MHz is
switched capacitor filter (SCF). It uses a network
producing a distorted output and is generating
made up of multiple capacitors, each with a
harmonics. The second and third harmonics
MOSFET switch. The network of capacitors
are 60 and 90 MHz. We need to get rid of the
each with its on-off switch is connected to the
harmonics so they will not interfere with signals
input of an op amp. The capacitors are switched
near the harmonics. We need to design a low-
in and out of the circuit by a clock signal that
pass filter that will have a cutoff of 30 MHz.
drives the MOSFET's gates. The result is a
Assume a filter impedance of 50 n. Design
bandpass or low-pass filter response. Most SCFs
for a Butterworth response with five reactive
are available as ICs and are programmable, so
components or order.
you can select low, high, or bandpass devices
Now repeat that same filter design with the with any of the four responses (Butterworth, etc.).
procedure using tools #3 and #4. The result for The clock frequency determines the center
all three is the same and is shown in Fig. 9.16. frequency or cutoff of the filter. Most SCFs
Note that the generator output impedance have an upper frequency limit of 100 kHz or
is 50 n as well as the load. Here are the odd, so. For that reason, applications are limited to
nonstandard C and L values. these lower frequencies. With up to eighth-order
L 1 =L 2 =0.4292 µH =429.2 nH variants, selectivity is superb. If you need a small
IC filter with excellent selectivity and low cost,
c1 = C3 = 65.57 pF
SCFs are a good choice.
C2 =212.21 pF
SCFs are available from several IC
The design process is pretty painless using these manufacturers, including Analog Devices,
software design tools. Implementing the filter is Maxim Integrated, and Texas Instruments.
~
selectivity than any LC or RC filter.
The truth is, a DSP filter is really software.
f 3/ 5/ 7/
The filter algorithms are programmed on a
Frequency
standard microcontroller or on a special DSP
QjiitJjfl Using low-pass and/or bandpass IC. They are also implemented on programmable
filters to select the fundamental
or harmonic components of a
logic devices (PLDs) like field programmable
rectangular wave to generate a gate arrays (FPGAs).
sine wave.
A DSP device can implement a wide range
To produce a sine wave, you can design a bandpass of other linear circuits. DSPs can perform
filter that will select out one of the desired sine
modulation, demodulation, equalization,
wave signals. The selectivity of the filter needs to be
good so that it passes only the desired sine waYC/ mixing, error correction, spectrum analysis, and
harmonic. Figure 9.17 shows the response curve of a many other analog operations. A variety of math
bandpass filter selecting the fifth harmonic. Another techniques are used. For example, in :filtering,
possibility is to select the fundamental sine wave
the overly simplified explanation of the process
with a low-pass filter as Fig. 9 .17 shows.
is multiplying the signal samples by coefficients
This technique works well and is an alternative
to making a sine wave oscillator that is harder to and adding them together. DSP is a complex
design than a square wave generator. topic beyond this book, but it is an option you
may not have known you have.
Design Project 9.3 summer linearly mixes a 1 kHz sine wave (the
desired signal) and a 60 Hz signal (the undesired
Design an RC active bandpass filter to select or interfering signal). The signals can be derived
the third harmonic out of a 1-kHz square wave from function generators or oscillators that you
input to produce a sine wave. build. Put pots on each input so you can adjust
the amplitudes. Suggested input levels are 2 V
Design Project 9.4 peak-to-peak each.
A good source of the 60 Hz signal is a wall
Design a twin-T notch filter that will remove
wart/wall adapter transformer. It steps the
the 60 Hz interference from a 1-kHz sine wave.
120-V ac in down to 6 V ac. Attach a 1 k pot to
Figure 9.18 shows the circuit. An op amp
it so you can adjust the output amplitude. See
Fig. 9.19.
lkHz Design and build the notch filter, and connect
Sine Osc
it to the op amp output to see how much of the
60 Hz is removed. You may want to put a pot
as R/2 so you can adjust the center frequency to
60Hz improve the attenuation of the 60 Hz. Measure
Source
the peak-to-peak 60-Hz voltage at the output of
the op amp and then at the output of the filter.
Calculate the dB attenuation.
QJll!iJll:I A circuit demonstrating how a twin-T
See solutions in App. B.
filter can remove 60 Hz of noise from
a 1 kHz signal.