Active-filter cookbook. 9780672211683, 0672211688

1,240 101 27MB

English Pages 240 [246] Year 1975

Report DMCA / Copyright

DOWNLOAD FILE

Polecaj historie

Active-filter cookbook.
 9780672211683, 0672211688

Citation preview

'-

Active-Filter Cookbook by Don Lancaster

PISTR!OUTED IN U .S./\. .'. ''ArlACA

c·.•·· ;, . .. 1..:. c.H \.J' is

~I

HOWARD W. SAMS & CO., INC. THE BOBBS-MERRILL CO ., INC. I NDIANAPOUS



KANSAS CITY



NEW YORK

FJnST EDITION

FIHST PRINTINC- 1975 Copyright © l!:J75 by Howard \:V. Sams & Co., Inc., lnclianapulis, Indiana 11()268. Prinle.._--o LOW-PASS OUT GAIN• •I

'---.....Jo"""_ _ _ _ _ _....__

_ _ _ _ __

_

-o BANDPASS OUT GAIN• Q«900 CQ

•~I

I must return to ground via low-impedance de path. (A) Unity·gain, state-variable fllter.

!OK

~---------------4----4--oOUTPUT

IOK

IOK

(B) Practica l l ·kHz osdllator. RI may have to be adjusted to ensure starting and a u able level. Fig. 2·11 . Building a sine-wave oscillator pendulum analog with two integrators ind an inverter.

time constant. This picks up another 90-degree phase shift, givmg 180 degrees of phase shift and two inversions. The two inversions cancel out, so we end up with an inverted replica of the input. We route this input replica to a stage with a gain of -1, and end up with an output signal that looks just like the input. To build an oscillator, simply connect output to input. This gives the analog of a lossless pendulum. This circuit is widely used to generate low-distortion si11e waves, although some technique to stabilize amplitude must be used. A practical solution to the amplitude problem appears in Chapter 10. 33

N"ow, an oscillator is normally not a good filtrr, since we obviously do not want any output if no input has been applied. If some rust or some air resistance is acl

Fig. 3·10. Amplitude response- first•order hi gh-pass section.

FREQUENCY

if. 2S . 3

.4

~~~ ~~

'---' ~

z

eln

. 5 .6 . 1 . 8 . 91.0

2.0

3.0

4.0

KS S• l

-4S0

< ~

"'--f~ e ou1 l.Q FARAD

{A) Passive.

IQ

= -tan- 1 Q 2

[w'

.oos .002

~

.001

(A) Response curves.

A fourth-order filter needs two coscaded Htcond-ord er sectio ns . Its ultimo le ottenulion rate is - 24 dB/octave. for a cutoff (- 3 dB) frequency of f, the section paromcters are: SeGOnd Section

Finl Soct ion Filter Type

Frequency

Damping

Frequency

Damping

Be•t Deloy Compro mise Fla test Amp Slig ht Oip I-Decibe l Dip 2-Deci bel Dip 3. Decibel Dip

1.4361 1.1 981 1.0001 0.7091 0 .502f 0 .4661 0.4431

1.9 16 1.88 1 1.848 1_53·4 1.275 1.068 0 .929

1.6101 1.2691 1.ooor 0.9711 0.9431 0.9 461

1.241 0.949 0.765 0.463 0.281 0.224 0 .179

0.9501

Zero frequency atten ua tion i• 0 dB for first four filter types, - 1 dB for 1-dB dip, - 2 dB for 2-dB dip, - 3 dB for 3-dB dip filter typ es.

(8) Section values. Fig. 4-7. Fourth-order low-pHs filters. 75

FREQUENCY

.2S .3

0 ·3

.4

. .

.S .6 .7 . 8.91.0

i.....--

......

1 -"~

\

"\.

~\ -20

"'a>~ 8

.s

\ ' ..__..BEST OElAY

·10

..~1.5..

1.0 . 70

\'..._

1

dS DIPS-

V, rLlmsr ·~

H\ I\

I\

\ 3 oe DI PS

0

-40

,_ 1---

\ \, ,\

. CURVES CONTINUE AT

f\

-60

.62

\

.002 ~

.001

(A) Response curves.

Fig. 4-9. Sixth-order

78

-0

'I

..:::

~

0

~

~

,;

1.609f 1.2681 1.0001 0.5891 0.3"47f 0.3211 0.2981

Best Deloy Comprom ise Flattest Amp Slight Dips I · Dcci bel Dips 2-Dccibef Dips 3-Dccibel Dips 1.959 1.945 1.932 l.593 l.314 1.121 0.958

Damping 1.6941 1.3011 l .OOOf 0.8561 0.73'31 0 .727f 0.7221

Frequ ency

0.802 0.455 0.363 0.289

1.636 1.521 1.414

Damping

Seco nd Section

1.9101 1.3821 1.0001 .9881 .9771 .9761 .9751

Frequency

Third Section

0.977 0.711 0.518 0.254 0. 125 0 .0989 0.0782

Damping

(8) Section values.

Zero frequency attenuation is 0 dB for first four filter types, - 1 dB for 1-dB dip, -2 dB for 2-dB, and -3 dB for 3-dB dip filter types.

frequency

Filter Type

Fir

.I

Fig. 4-12. Finl-order high-pus filter response. FREQUENCY

.4

.5 .6 .7 .S.91.0

1.0 .10

..31 .,

-c

0

..dg

.5

.,~1 .,Ji

•2

;:: < a::

.I

C>

.05

>

·10

0

· 20

Q

~

~

c5

(A) Response curves.

A second-order filter is b ui lt wit h a single second-order sedion. Its ultimate ottenuo tion ra te is 12 dB/octave.

+

Fo r a cutoff (-3 dB) frequency of f, the section parometers ore: Second-Order Section Filter Type

Frequency

Damping

Highly Domped Compromise Flollest Amp Slight Dip 1-Decibel Dip 2-Decibel Dip 3-Decibel Dip

0.7851 0.8871 1.0001 1.0761 1.1591 1. 1741 1.1891

1.732 1.564 1.414 1.216 1.045 0.895 0.767

Very high frequency attenuation i1 0 dB for fint four filter types, -1 dB for 1-dB dip, -2 dB for 2-dB dip, and - 3 dB for 3 -dB dip filter types. NOTE- Values on this chart valid only for second-order filters. See other charts for suitable values when sections ore cascaded. (B) Section values. Fig. 4-13 . S.c.o nd-order high-pass filters. 11

FREQUENCY . 2S . 3

.4

.s

I

0

. 6 . 7 .8.9 1.0

I

~-.....

-3 HIGHLY DAMPED")

-10 FLATTEST. ~

..

o;I" -c

"'

..... "' ...,

8"'0

/

-20

/

/

v

/

--

V1

,._

I

I

.~1 "'

-c

0

. 05

• 02

V/ '/

.s

.l

'./ ~ I db DIP / /1 ~-3d8DIP //

/V

1.0 . 70

•2

y ~I

I

-30

~o

v

v

..-: VI

0

~

...,

~

c=:

.OJ

CURVES CONTINUE AT • 18d8IOCTAVE

>

.005

-so (A) Response curves.

A third-order tilter needs a cascaded first- and second-order section. Its vltima te attenuation rote is 18 dB/octave .

+

for a cutoff (-3 dB) frequency of I, the se

. 002

CURVES CONTINUE AT + 24 dB/OCTAVE

. 001

(A) Response curves.

A fourth-order filter needs two cascoded second-order sections. Its ultimate ottenuation rate is +24 dB/ octave.

For o cutoff (-3 dB) frequency off, the section parameter> are: First Section

Second Sect ion

Filter Type

Frequel\cy

Dampil\g

Frequency

Damping

High ly Damped Compromise Flattest Amp Slight Dip l ·Docibcl Dip 2-Decibol Dip 3-Decibol Dip

0.6961 0.83'41 1.0001 1.4101 1.9921 2.1461 2.2571

1.916 1.881 1.8 48 1.534 1.275 1.088 0.929

0.6211 0.7881 1.0001 1.0291 1.0601 1.0571 1.0531

1.241 0.949 0.765 0.463 0.281 0.224 0.179

Very high frequency attenuation i• 0 dB for lint four filter types, - 1 dB for I-dB dip, - 2 dB for 2-dB dip, a nd - 3 dB for 3-dB dip filter types.

(B) Section values.

Fig. 4-15. Fourth-order hig h-pass filteN.

FREQUENCY

. 25 • )

.4

.5 . 6 .7 . 8 . 9 1. 0

0

V"-.

·)

~

l.O

........

....

•70

~

HICHLY OAMPEO · 10

..]I= ..

I

· 30

~

.... 0

-50

· 60

I I

I

,/

0 j/ /J

I dB OI PS

'I

)

/

.I

I "- -

J

I

/ FLATIEST/ ·40

.2

/ IIi I

I

)

"' ;:;

I

I

· 20

v

b'

/

.5

' - - i - 3 dB DI PS

I

. 05

~1 = ....

.oz

';:(

.01

~

a:

0

;

0

.DOS

>

CURVES COi-iTINUEAT •30 d8/0CIAVE

I

I/ J/ .

.002

11

• 001

(A) Response curves.

A fifth-order filt er need s two coscoded second -order sectio ns coscod ed with o si ngle first-order section. Its ultimate attenuation rote i• + 30 d B/octave. Fo r o cutoff (:- 3 dB) freq uency of f, the parameters of the sections a re: Seco)nd-Ord er h t Section

Seco nd-Order 2nd Section

First-Order Sectio n

Filter Type

Frequency

Dom ping

Freq uency

Damping

frequency

Highly Damped Compro mise Flattest Amp Sligh t Dip 1-0ecibel Dip 2-0ecibel Oip 3-Decibel Dip

0.6201 0.7871 1.0001 1.2561 1.5771 1.6 031 1.6291

1.775 1.695 1.618 J.074 0.71 4 0.5 78 0.468

0.5501 0.7421 1.0001 1.0201 l.04 lf 1.0371 1.0341

1.091 0.821 0.61 8 0.334 0.180 0. 142 0. 113

0.64 21 0.8011 1.0001 1.8901 3.5711 4.4841 5.6181

Very high frequency attenuation is 0 dB for o II filter types.

(8) Section valves.

Fig. 4-16. Fifih-order hig h· pass filters.

84

These results tell us that a 10% damping accuracy is good enough for all the filters of this chapter, while accuracies of lOo/o down to 1% are needed when the frequency of each section is set. Most of the circuits shown are easily handled with a 5o/o tolerance. Often, an active-filter circuit uses two capacitors or t\lvO resistors together to dete1mine frequency. This lets us achieve a nominal frequency accuracy with components that are accurate to approximately 2%. It turns out that the majority of active filters are easily handled with fixed 5% compone nts except for very special or critical needs. On the other hand, we cannot he sloppy or radically out of tolerance. The sixth-order filters have damping values as low as 0.07. This response shap e by itself has a peak of around 24 dB. Put this in the wrong place and you are bound to get a response that will be wildly wrong. The practical limitation is that you have to use the mostaccurate components you can for a filter task. Such things as ganged, low-tole rance potentiometers for wide-frequency tuning should be avoided (see Chapter 9), as should individual tuning or damping adjustments that cover too wide a range.

l'°m

USING THE CURVES H erc is how to use the data of this chapter: l. From your filter prohlem , establish the cutoH frequen cy and the allowable response options. Also, choose some responseshape criterion that you would like to meet, in tenns of a certain frequency, a certain amount above cutoff, to be attenuated by so many dec.ibels. 2. Check through the curves to find what filter options you have. Always try a flattest-amplitude filt'er first. Remember that filte rs less damped than flattest-amplitude will fall off faster initi ally but will have ripple in the passhand and a poorer transient response. Filters more damped than a Hattest-amplitucle filter will have good to excellent transient response but a very droopy passband and a poor initial falloff. 3. Head the frequency and damp ing values you need for each cascaded section and scale them to your particular cutofT frequency. 4. Determine the accuracy and the tolerance you need from Fig.

4-19. Several examples appear in Fig. 4-20. CAN WE DO BETTER? Newcomers to the field of filter design may find some of these response shapes disappointing. Can we do any better? 85

Remember that each circuit sho"vn optimizes something. The bestdelay filter is the best and finest one you can possibly build. The flattest-amplitude filter is indeed the flattest. The 3-dB-dips filter drops off as fast as it possibly can, consistent with an increasing attenuation with changing frequency. Each of these curves w the best possible design that !JOU can achieve in -filter work, for some feature of the filter. There are three additional things we can do if the curves of this chapter are inadequate: Increase the Order-Higher-order filters will offer better responses, at the expense of more parts, tighter tolerance, and generally lower damping values. Parameter values can be found by trial and error or by consulting advanced filter-theory texts. Go Elliptic-A certain type of 61ter that provides ripple in the stopband as well as in the passband gives you the fastest possible filter falloff and a null, or zero, just outside the passband-but the transient and overshoot performance is relatively poor, and frequencies far into the stopband are not attenuated much. Details on this type of filter are shown in Chapter 9. Circuits are relatively complex. Consider Alternatives-If your circuit requirement cannot be achieved with the curves of this chapter, chances are that your specification is too restrictive or otherwise unrealistic. The overFREQUENCY .25 .3

0 ·3 · 10

-

:~1 ~-c ~ ~ ~

8"'

.4

. 5 .b . 7 . 8.91.0 ~

I

.........

/

!.;'

I HIGHLy DAMPED - bl /

,I

-20

~

1. 0 . 70 .5

J,

II

.2

I

.1

I

J

......

_i.-

I dB OIPS

-30

0

-40

· 50

-60

/

v

"'.,

. a2

;:: < a:

0

I

I I

I ') -

J

I

/'

I /J

~

_c... 3 d8 DIPS

.01

~

5,,.

. 005

r/ I

..

~1 -c

.05

/FlATTEST-j

I

CURVES CONTINUE AT

•3t di'llCTAVE

.002 . 001

(A) Response curves.

fig. 4-17. Sixth-order

86

...

CD

:ft ::;"

.. ..~

7

7 .o· 1..

0.6211 0.7881 1.0001 1.6971 2.88 11 3.11 51 3.3561

Highly Damped Compromise Flattest Amp Slight Dip 1·Decibel Dip 2-Decibel Dip 3-Decibel Dip

1.959 1.945 1.932 1.593' 1.3 14 1.1 21 0.958

Damping 0.5901 0.7681 1.000f 1.1681 1.3641 1.3751 1.3851

(B) Section values.

1.636 1.52 1 1.414 0.802 0.455 0.363 0.289

Damping

Second Section Freq uency

Very high frequency ottenuation is 0 dB for the fir.I four filter types, - 1 dB for I-dB dip, -2 dB for 2-dB dip, and -3 dB for 3-dB dip filter types.

Frequency

Filter Type

first Section

For o cutoff (-3 dB) frequency of f, the porometers of the second -order sections ore:

A sixth-order filter needs three cascaded second-order sections. Its ultimo to oltenuotion rote is + 36 dB/ octave .

0.5241 0.7241 1.0001 1.0121 1.0231 1.0251 1.0261

Frequency

0.977 0.711 0.518 0.254 0.125 0 .0989 0 .0782

Dom ping

Third Section

Tolerance and sensitivity analysis.

THE MATH BEHIND

Finding the accuracy needed for the frequency and damping values of each section can be a very complicated and confusing task. This can be substantially simplified by assuming that a 1-dB change in the most underdamped (lowest d) section is on outer limit of acceptability, and then imposing this tolerance limit on the other sections. This 1-dB shift can be calculated at the peak value of the section response, for it will usually be the most dramatic at that point. The amplitude response of a second-order section is

and the peak frequency (d

< 1.41)

Wmox

is

=~ 2

and the peak amplitude is eout ein

=

20 loQ10 [

dv 4-d 2 2

]

From Figs. 3 -16 and 4-3 we con then select low values of d and shift them independently in frequency and damping to produce a 1-dB error. These values are then related to minimum d values needed for a given response and conservatively rounded off, resulting in the chart of Fig. 4-19. Fig. 4-18.

whelming majority of practical filter problems can be handled with the circuits of this book. If yours is not one of them, consider some alternate technique, such as digital computer filters, sideband or multiplier modulation techniques, or phase-lock loops.

88

Order f ilter Type

2

3

"

5

6

Best Deloy (LP) Highly Damped (HP) Compromise Flottesl Amp Slight Dips I -Decibel Dip 2-Decibel Dip 3"-Decibe l Di p

± 10%

±10%

± 10%

± 10%

±10%

± 10% ± 10% ± 10% ± 10% ± 10% :!: 10%

± 10% ± 10% ± 10% ±10% :!: 5% ± 5%

±10% ± 10% ±10% ± 5% :!: 5% ± 2%

±10% ±10% ±10% ± 5% ± 2% :!: 2%

±10% :!:10% ± 5% :!: 2% ± 2% ± 1%

Damping a ccuracy for any order, a ny filter- ±10%.

Fig. 4-19 . Tuning accuracy nee ded f or low-pus or high-p us fi lters.

89

Using the curves; some A. A low·pass filter is to have its cutoff freque ncy at 1 kHz and reject all frequencies above 2 kHz by a t least 24 dB. What type of filter con do this? None of the flrsl· or second.order filters offor enough attenuotion. Third·order low-pass structures with 1-, 2·, or 3-dB dips in them will do the job. A fou rth.order, maximally flot amplitude will ju•I do the job, while o fourth·order " •light dip•" filter offers o margin of solely. Even through sixth-order, a be•l·lime·deloy filter cannot offer this type of rejection. The best choice is probably the fourlh·order flottesl·amplitude filter. B. A high-pau, fourth-order, 3-dB dip• filter hos ih cutoff frequency ot 200 HL What will the response be ot 1000, 400, 200, 100, and 20 Hz? Since 200 Hz is the cutoff frequency, the response here is - 3 dB by definition. 400 Hz is 400/200, or twice the cutoff freque ncy. From fig. 4·15A, th e response is - 2 d B and, af course, in the passband. 1000 Hz is 1000/ 200 or 5 limos the cut. off frequency. It is off the curve, bu t is near the - 3 dB "very high frequency " response point. At 100 Hz, the frequency is 100/200 or 0.5 times the cutoff frequ e ncy and the rejection from Fig. 4· 15A will be -39 dB. Twenty hertz is only 0 .1 times the cutoff frequency and is thu• off the curve. By inspection, it is well below -60 d B.

If we wont an exact value for 20 Hz, we can come up two octaves in frequency lo 80 Hz . Eighty Hz is 80/200 limes the cutoff frequency and the attenuation ol 0.4 frequency is -47 dB. Since the curves continue al - 24 dB per octave and since there ore two octaves between 20 and 80 Hz, the 20·Hz attenuation is theoretically 47 24 24 = 95 d B. In the real world, a ttenuations greater than 60 dB ore often masked by direct feedthrough, circuit strays, coupling, a nd so forth . Very high values of attenuation and rejection ore only obtained with ve ry careful circuit designs and using circuits with extreme dynamic ranges.

+ +

C. A third -order. 350 Hz, I-dB-dip, low·poss filter is lo be built. What are the damp· ing and frequ ency values of th e cascaded sections? How accurate do they hove lo be? From Fig. 4·68, we see that we need two sections, a first-ord e r and a second-order one. The cutoff frequ ency of the first-order section is lo be 0.452 times the design freque ncy or 0.4f X 350 158 Hz. Th e cutoff frequency of the second-order section is to be 0.91 1 times the cutoff frequency or 319 Hz, while its domping is read directly as 0.496.

=

From Fig. 4· l 9, o I 0% accuracy on the damping ond a 10% oocurocy on frequency should be acceptable. These values moy then be taken to Chapter 6 for actual construction of th e filt.,r. Fig. 4-20.

90

C H AP TER 5

Bandpass Filter Response In this chap ter, you will fi nd o ut ho w to decide what the response shape of a bandpac;s filter is and how to p roperly pick the center frequency, the Q, and the frequency offset of cascaded fi lter sections. The technique we will use is called cascaded pole synthesis. In it, you simply cascade one, two, o r three ac tive second-order bandpass c ircuits to build up an overall second -, fo urth-, or sixth-order response shape. By carefully choosing the amount of staggering and the Q of the various sections, you can get a number of desirable shape factors. T he a d vantages of this method are tha t it is extremely si mple to use, r equires no advanced math, and completely specifies the entire response of the filte r, both in the passband a nd in the entire stopbands. \Ve will limit our designs to five popular bandpass shapes- maximum-peakedness, flattest-amplit ude, a nd shapes w ith 1-, 2-, or 3-d B passband clips. SOME TERMS F ig. 5 -1 shows som e typical bandpass filter shapes. The hand p ass shap e provides lots of atten uation to very low and very high fre quencies, and much less attenua tion to a band of medium frequencies. The actual values of the attenuation depend on the complexity (orde r) of the filter, the passhancl smoo thness (relative Q or damping), and the gain or loss values designed into the filter. A bandpass niter is used when we want to emphasize or pass a narrow signal band while a ttenuating o r rejecting higher- or lowerfrequency noise or interfering sig nals. 91

The f1andwidth of the filter is defined as the difference between the upper and lower points where the filter response finally falls to 3 dB below its peak value on the way out of the passband. Our definition of bandwidth is alu;ays made 3 dB below peak, even if there is some other amount of passband ripple. The center frequency of the Siter is the geometric mean of the upper and lower 3-dB etttoff frequencies ( Fig..5-1 ). Sometimes the center frequency of a one-pole bandpass filter is called the rescmance t. r

t.r

- - l 8ANOWIOTH r--

-"'i BA NOW IDTH t--

1

Pf.O.K VALUE

I PEAK VALLI(

I I

:

I

-----,

I

·) d8 (.707 Vl - - - - -

... 0

8E -'a:'.

~'--~--+-~~--4-~--'LOG 'u FRE\lUENCY

LOG FREQUENCY

Iu IL · LOIVER ·)dB CUTOff FREQUENCY

IC • CENTOI FREQUENCY IGEOMHR ICAL M£ANI I U• UPPER · 3dB CUTOFF FREQU!NCY

t. f

• 8AN0W IOTH

ll.1 •I · I

u

f

NORMALIZ[O OR FRACTIONAL BANDWIDTH·

,µ, 1 1 I ·I

P£RCENlAC£ BANOWIDnt • IOO X

V

_t

l

t _I

¥ · .U~ c v 'u 't

ut

Fig. 5-1. Bandpass filter shapes and terminology.

frequency. Note that the center frequency is never at "half the differ-

ence" between the upper and lower cutoff frequencies. It is always the square root of the product of the upper and lower cutoff frequencies. Usually, we make the center frequency unity. Once the analysis and design are completed, the component values can be scaled as needed to get any desired center frequency. The fractional bandwidth and the percentage band·u;idth are two different ways of expressing the ratio of the bandwidth to the center frequency, with the formulas given in Fig. 5-1. The percentage bandwidth is always 100 times the fractio nal bandwidth. Either way is useful in suggesting an approach to a particular filter problem. 97

For instance, suppose we have a filter with an upper cutoff frequency of 1200 Hz and a lower cutoff frequency of 800 Hz. The center frequ ency will be 1000 Hz, right? Wrong! The center frequency is the geometric mean of the upper and lower cutoff frequencies, or 980 Hz. T he bandwidth is simply the difference between the upper a ncl lower cutoff frequencies, or 400 Hz. The fractional bandwidth will be the ratio between the bandwidth and center frequency, or 400/980, or 0.41. The percentage bandwidth is 100 times this, or 41'%. \ Ve can easily have a p ercentage bandwidth far in excess of 100%, although many filte r problems usually deal with percentage bandwidths of under 50%. For instance, a bandpass filter to handle phone-quality audio from 300 Hz to 3000 Hz has a perce ntage bandwidth of 285% . SELECTING A METHOD The fractional bandwidth is the deciding factor in selecting the best filter for a particular filtering job. If the fractional bandwidth is very large, you ->-- ~ -

"'' -

·:.

- ,_,_

o

f

I

,

'

'' . ....

-·· -

I

~ ~:·- ~· ' - ~ ·-

01

POL(

20 LO

'

"

I '-L

'

!'.

I

2 10

.I LO NORMAlllto BANDl'llDTK ld

*

OUISIO(

~,...

'-

10

100

LO

0•

J,"' ...,, '' " " -

-

I

200

-

'I

1.1 '

J

300

I

i:>Ql

~;e,

I

l1.

11.'S~ Tl,ON LCS~ • 18 dB

~

rl - ' ~YI!:~

__

I

'c .

11 fl I

:,) 'b~

}

o I

=ooo

''

'

~~

~-

I

'

- - >-

---~T 1--•- .

.'

,,

w I rl t I!

o ~ ~~~ " '. ~-·'-"·t" "-: LO\\iR CUTOFF fREQUENCY It l 11 !I I I I I 1

"' " "' ,,_I 1...."-' r-...r-

_.._ - ·- >-- ,_ ,_ -

I

c

.... ....

I

>->-

,_,_

I

'

~

~

...

--

....:

":- ... ~

I

-

,,

'

J_

!00

1000

P(RC[NIAG[ BANDWIOIH llf x JOO Q

or CENTER

POU~ THIS VALUE.

Fig . 5·24. Three-pole, maximally flat bandpass filte r response. UPPER CUTClff FR(QU!NCY lu

g ;; 0 0 ~

....: ....: I

N

0

....:

I

- g: ~~~t- -!\; Mr-

' '\

· -~

"' ~ '/','

Io

"

~- -~

'

~ -4.+7-:~u - astt(H-~-~-~· ~ CUTlff 'I

I!

' '

....

FR!QUE.\'CY I l

I I I

' '

.......

'/

~

O•

:l ""'

~~ ' ~' ',

20

',, ,, ' '

''

~'

.I

100 POLE

~

'~q,;~ 'Q

' .01

·~,.LO

'" '" ' " w""' ....

300

200

INSERT ION LOSS • 24. 2 dB OUTSIDE

'

....

I I 0 dBCP&IKI

"'

LOWER

.... ....

' -308

0

....:

....:

I

1.0

10

'

'' '

2 10

NORMALIZED BANOWIOTH ol' 100 10 PERCENIAC( BANDWIDTH ti t x 100

10-00

*Q Of CEl-/IER POU ONE-HAlF THIS VALUE. fig . 5-25. Complete response characteristics of a three-pole, 1-dB dips bandpass filter. 114

UPPER CUTOFF FREQUENCY lu

"' g g

0

• 7 .-

~---

-

7

,, '"

I ''

._8:; ~~~

.· "~

-

I

1 'I

I

t

I

'.t

~"i9 ·' "~ .;,Y!Q'f(

'\

~

!'\.

>--

I

100

·-

O*

. II- -

10

~ ·-

'

·'''

-

I

20

--

I\. "

'

.....

~

"

-

""' '"

~ ............

2

1.0 .1 NORMALI ZED BANDWIDTH 61 10

*

200

\

11 I I 1 1 I

~,...'

''I' " f'

I I

I

. 01

-f-t;'\

"~

-

300

~

I

fREOUE~X:Y

A,-:'-'\.,

·r"6>

I

I OUTSIDE INSERT ION LOSS • 28.0dB 1 POLE

l'\.

·3 dB

,

1, • 1.0

...... ...

l'I

I

1

LOWER CUTOFF

~!\.'\

r-.'"

7

I

- ~~1~1+ 15 -~-~t~4 ~

~--:.:

10

100

IOOO

PERCENTAGE BANDWIDTH 6 x 100 Q OF CENTER POLE ONE-HALF nm VALUE.

Fig. S-26. Complete tespon:s& characteristics of a three-pole, 2-dB dips bandpHs filter. UPPrn CUIOff fR(()UENCY lu

"' =

'

OUTSIDE POLE

Q* :

zo 10

"

.... .or

-

--- -

..... ... . I'\

·'" " " ~,...,...

.

-~ !'... . :...-

1. 0 NORMAllZEO BANDWIO! H 61

.I

10

*

PE,qC!NT~GE

Q

...

100

2

10

1000

BANDW IDTH C. I , 100

OF CU is multiplied by one pole and divided by a second and ignored by the third . The final pole frequencies a nd Qs would be

lower: Q f

Center: Q

I Upp er: Q f

=22 =7.48/1.06 =7.05 Hz = 11 =

7.48 Hz

= 22 =

7.48 X 1.06

= 7.92 H:t

The tolera nces could be estimated as in the neJCt example. While any of the three-pole curves with deeper passband d ips would also work and even give ,,. more attenuati on, o p rice in tolerance and ringing would have to be paid. The maximally flat filter is usually the belt overa ll choice. If the n 3, 3-dB dip filter or less cannot do a defined filter job, then th e specs o re probab ly too tight ta be done reasonably with any active filter techn ique.

=

Fig . 5· 28.

116

Frequency and Q tolerance and sensitivity; an PROBLEM:

A certoin two-pole, I .dB dip, bond poss filter needs pole Q values of 10 and "a" values of 1.09. How accurote do we hove to be in the final circuit?

SOLUTION: We eslimote accurocy by setting up some limit of degrodotion of response tho! is occeptoble. With I-dB dip filter, letting it become o 2.dB dip one sets one possible response limit. We con directly estimate frequency accu· racy by shifting the "a" value on Fig. 5-12, and we con estimate the Q accuracy by shifti ng Q to these limits. frequency: The nominal "a" value of 1.09 increases to 1.11 for a 2-dB dip at Q 10. This is o chonge of (1.11 - 1.09)/1.09 .0183, or 1.83%. Thus o frequency toleronce somewhat tighter than 2% is needed .

=

=

Q Accuracy: The nominal "Q" value of 10 increases to 12 for a 2-dB dip at "o" 1.09. This is o chonge of (12 - 10)/10 .2, or 20%. Q may change 20% to reoch this limit.

=

=

Generally, the Q tolerance is less critical than the frequency tolerance. Tighter restrictions a re associated with higher Qs, narrower bandwidths, deeper dips, and higher order responses. Fig. 5·29.

117

CHAPTER 6

Low-Pass Filter Circuits Chapter 4 showed how to take a need for a low-pass filter an-_.--o OUIPUT CAIN•-~

L----INPU/

Op omp siill need1 open ·laap 11oin of 200' ot re,ononce {no change).

Fig. 7-5. Modifled version of multiple-feedback circuit reduces gain, raises input impedance.

This is a good, general-purpose, low-Q circuit. The upper Q limit depends on the op amp, the frequency, and the type of component spread you can drive. While Qs of 50 and above are possible, the circuit works best for Qs less than 10. SALLEN-KEY BANDPASS CIRCUIT

We can build Sallen-Key bandpass circuits as well , but they have very serious tuning and frequ ency restrictions. Fig. 7-GA shows the basic one-amplifier circuit. It has the advantage of using very small capacitors, making the circuit potentially useful for very lo"v frequency work. Circuit gain is -3Q, but the op amp must have a gain of at least 90Q~ at the center frequency, and there is a sb·ong interaction between f requem:y and Q. The gain resbictions are lifted somewhat by using two amplifiers, as shown in Fig. 7-6R, but tuning problems still remain. 154

9--''------'1---00UTPUT

30

GAIN• -30 ~

!IOK, lkHzl

min op· amp gain, open loop • 9()Q2

(A) Single amplifier.

112Q 20

> - 1 - - - 0 OUTPUT

CIRCUIT GAIN• -20 20 ·\

each Cjl·ampgain, open loop• 200

• must return lo ground via low·imp«lance de path.

>---l ·V

(A) Discrete, normalized to I ohm and 1 radian/ sec.

eIn o--t 1-------1 1

GAIN -1

d

2 (B) Op amp, normalized to I ohm and I radian/ sec.

llOKlx

f

llOKlx ~

(C) Op amp, normalized to lOK and I-kHz cutoff frequency. Fig. 8·4. Simplest form of second-order high·pus active section-unity·gain Sallen·Key. 173

signal near the cutoff frequency to bolster the response to get the desired damping and shape. The main difference between the highpass and low-pass circuits is that the positions of the resistors and capacitors have been interchanged. The circuit is shown in Fig. 8-4. The main advantage of the unity-gain Sallen-Key is its extreme simplicity. In noncritical circuits it can even be done with a singletransistor emitter follower. The disadvantages are that the damping

I

I

Change FREQUENCY in steps by switching these capacitors. Keep both capociton identical in volue atoll times. A 10:1 capocitance change provides a 10: 1 frequency change. with the lower C values

This resistor is not critical and may be replaced with a short for noncritical circuits. Ideally the de resistance on + and - inputs should be equal for minimum offset.

">~>---eout

GAIN• +I

I

I

GAIN of this circuit is fixed at + 1 ond should not be adjusted. Adjust signal levels elsewhere in the system.

I

I

Chonge FREQUENCY smoothly by varying these resistors. Keep the right resistor 4/ d' limes as large as the left one at all times. Doubling resistance halves frequency and vice verso.

I

I

Adjusr DAMPING by changing the ralio of these two resiston while keeping their product conllant.

(There is no reasonable way to convert this circuit to

low-poss or bandpass with simple switching.)

Fig. 8-5. Adjusting or tuning the unity-g1in, S•llen-Key, second-order high-pass section.

and frequency cannot be independently adjusted and that frequency variation calls for the tracking of two different-value resistors. Fig. 8-5 shows the tuning interactions. Another inobvious limitation of this circuit is that you cannot simply interchange the components to turn it into an equivalent lowpass filter. Compare Fig. 8-413 with Fig. 6-.SB. Note that the upper 174

components are always in a l: l ratio and the lower are always in a 4/ cl 2 ratio. The low-pass filter uses equal-value resistors; the highpass filter uses equal-value capacitors. No simple switching of four parts can be used to interchange the two circuits. Equal-Component-Value Sallen Key Circuit The equal-component-value Sallen-Key circuit uses identical resistor values and identical values for capacitors. Thus, it is easy to switch the response from low-pass to high-pass and back again, provided we are willing to use a 4pdt switch per section. The circuits are shown in Fig. 8-6, and the tuning values and methods are shown in Fig. 8-7.

e ino---;1-----1 I

GAIN• 3·d

(A} Normalized to l ohm and l radian/sec.

e10 c----t----u--~ • 016 µf

>---+--oe..,, CAIN· 3-d

(B) Normalized to lOK and 1-kHz cutoff frequency. Fig. 8-6. Equal·component value, Sallen·Key, second-order high-pass fllter has independently ;idjustable damping and frequency. 0

Like the low-pass circuits, these have a moderate positive gain. The damping is set by setting the gain. Damping and frequency may be independently adjusted. As usual, both capacitors must stay the same value and both frequency-detennining resistors must remain identical in value at all times. The ratio of the two resistors on the inverting input sets the gain and the damping. The absolute value of these resistors is not particularly critical. It is normally set so that the parallel combination equals the resistance seen from the noninverting input to ground. Note that 175

I

Change I DAMPING J by using these two resistors to set the amplifier gain to (3 - d). This ls done by making the right resistor (2 - d) times larger than the left one. The absolute value of these resistors is nor critical. Ideally the resistance on the + and inputs 1hould be equal for minimum offset.

I

Change FREQUENCY in 1tep1 by switching these capacitors. Keep both capacitors identical in value al all times. Doubling capacitors halves frequency and vice versa.

/ \

~ l

Z·d

>-t--oe..,. GAl!i•H

I

Change FREQUENCY smoothly by varying these two resistors. Keep both resistors identical in value al all times. A 10: 1 resistance change provides a 10: 1 frequency change, with the lower frequency values associated with the larger resistance values.

I

J GAIN of this circuit is fixed at 3 - d or roughly 2: 1

( +6 dB). Adjust signal levels elsewhere in the system. (Circuit becomes low-poss by switching positions of frequency-determining resistors ond capocltors.)

fi9. 8·7. Adjusting or tuning the equal·component·value, Sallen·Key, second-order hi9h·pass section.

the optimum-offset resistor values for low-pass will generally be twice that for the high-pass circuits, since we only have a single frequency-determining resistor returning directly to ground in the high-pass case. In a low-pass circuit, we have two frequency-determining resistors returning to ground through the source. Offset is usually a much smaller problem in high-pass circuits. Usually, if your circuit is to switch between high-pass and low-pass, you use the optimum resistor values for the lm.v-pass case. 176

Unity-Gain State-Variable Circuit The math behind both state-variable filters is shown in Fig. 8-8, while the unity-gain circuit and its tuning appear in Figs. 8-9 and 8-10. \Ve normally save the state-variable circuits for more elaborate State-variable, sections.

THE MATH BEHIND

high-pass,

second-order

An op-amp integrator looks like this:

The high gain of the op amp continuously drives the difference between + and - input to zero. Point a is thus a virtual ground.

::n since point a is essentially at ground.

i1

=

i~

=-

~= i1 = e;n 1/jwCx R,.

l I . S . -= - :---R C or, ethng = 1w, e;n 1w eout

x

"

eout

-;;:- -R,.C,. S The state-variable circuit CZ

Cl

can now be analyzed: ehp

=-

Ke;n - e1p

+

debp

=

eout

_ eh" ebp - - SRlCl Fig. 8-8. 177

Ke in

=-

ehp + de bp - erp

_ ehpd (-K)e;n - ehp + SRlCl

ehp

+ S 2 RlR2ClC2

which rearranges to

e 0 v1 e in

-KS 2

_ 2

S

If R1C1

d S

1

+ RlCl + RlR2ClC2

= R2C2 = 1, this becomes e 0 vt _ -KS 2 2 e;n S +dS+ 1

There ore several ways to realize the summing block: (A) Unity goin:

(8) Variable gain: . . . - -__..,.,..,_ __ _•8LP

as previously analyzed in Fig. 6-9 and Chapter 2. Fig. 8-8-continued. 178

or more critical jobs. They take three or four operational amplifiers per second-order section compared to the single one needed by the Sallen-Key circuits. State-variable circuits are often used where critical, low-damping values are needed, where voltage-controlled tuning is to take place over a wide range, where 00-degree quadrature outputs are needed, or where very simple switching between high-pass, bandpass, and low-pass responses is needed . They are also essential for the elliptical filters of the next chapter.

--OLP OUT OPTIONAL r-'INV-+--'V'.f'v----4:--------~----------------0BPO~

'-------- - --------oe.., 1 must return lo ground via low·lmp«Sance de path.

1 HIGH·PASS GA IN •. 1

(A) Normalized to 1 ohm and 1 radian/ sec.

!OK

' - - - - - - - - - - - - - - - - - < > 8 out *optional ollset compensation resistors· may be replacEd wtth short circuit In noncritical applkalions.

(8) Normalized to IOK and 1-kHz cutoff frequency.

Fig. 8·9. Three.. mplifler, state-variable filter offers unity gain, easy tuning, and easy conversion to low·pass or bandpass.

Since the circuit also provides low-pass and bandpass responses, a de return path through the source must still be provided. Resistors on the noninverting inputs are optimized for minimum offset just as they were for the low-pass versions. The gain of th(~ circuit is unity with a phase reversal. 179

I

Keep the ratio of

Chonge FREQUENCY smoothly by varying these two resistors. Keep both resistance volues identicol al oll times. A 10: 1 resistance change provides a 10: 1 frequency chonge, with lower resislonce

I

Chonge FREQUENCY in steps by switching these capacitors. Keep both copocitors identical in value at all times. Doubling the copacitors halves fr~uency and

I

I

LP

*

. \/~ I

Change DAMPING J by using these·two resistors to set the op-amp gain to a value of + d. This is done by making the right resistor (3 - d)/ d times the left one. The absolute value of these resistors i• not crilicol. Ideally, the

'-- -- - -- -- - - -- ----- IOK ~

All Capac~ors • 016 µf

Gain Response Highly Damped Compromise

Flattest Amp Slight Dips I-Decibel Dip 2-Decibel Dip 3-Decibel Dip

RFl

eoul/ e;n

lOK lOK lO K IOK IOK lOK lOK

1 1 I I I I

1

Gain Decibels

Component Tolerance

0 0 0 0 0 0 0

10% 10% 10% 10% 10% 10% 10%

To change frequency, scale oil capacitors suitably. Tripling the capacity cuts frequency by one·lhircl1 and vice versa.

Fig. 8·13. First•order high·pass circuits, +6 dB/octave rolloff, 1-kHz cutoff frequency. 183

Optimum offset values will vary as the frequency-determining resistors are changed during tuning. A third-order response can be approximated by a single operational amplifier as shown in Fig. 8-16. This is done by lowering the input impedance on the input RC section to one-tenth its normal impedance. This lowers the input impedance but also isolates any loading effects of the active section. Since high-pass filters tend to be used with lower cutoff frequencies, scaling of the resistors to lOOK or even higher can be done to lower the capacitor values. Offset problems will, of course, increase, but offset is rarely a problem in high-pass-only circuits until it gets so large it cuts into dynamic range or becomes temperature dependent or something equally drastic. Capacitor values are all identical and are shown for 1 kHz. To scale capacitors to other cutoff frequencies, just calculate their inverse ratio or read the values from Fig. 8-20, a repeat of the curves of Fig. 6-21.

ROI

+

~

39. 2~

All Capacitors . Olhf

e 1no---i .016 µF

....

+

• 016 iE

-•out

RF!

RF\

•r

Gain R-.ponse Highly Damped Compromise

Flattest Amp Slight Dips l · Decibel Dip 2· Decibe1 Dip 3'· Decibel Dip

Rfl

RDl

12.7K 1 1.JK 10.0K 9.3 1K 8.66K 8.45K 8.45K

10.5K 16.9K 22.6K 30.9K 37.4 K 43.2 K 48.7 K

eout / ein

l.3' 1.4 1.6

u 2.0 2.1 2.2

Gain Decibels

Component Tolerance

2.3 3.0 4.1 5.2 6.0 6.4 6.8

10% 10% 10% 10% 10% 10% 5%

Ta change frequency, scale all capacitors suitably. Tripling the capacity cuts frequency by one-third, and vice versa,

Fig. 8·14. Second-order, high-pass circuits, 184

+ 12 dB /octne

rolloff, t-ltHz cutoff frequency.

R02

All CapacHors .Ol611f

Goin Response

RF!

RF2

RD2

Highly Damped Compromise

13.3K 1l.5K

Flattest Amp Slight Dips I-Decibel Dip

10.0K 6.65K

l 4.7K 12.tK 10.0K

21.SK 31.6K 39.2K 5l.IK

1.6 1.8 2.0

2.5

2·Decibel Dip 3·Decibel Dip

3.24K 3.0IK

59.0K 63'.4K 66.5K

4.S3K

9.53K 9.09K 9.09K 9.09K

6 out/ein

2.3 2.6 2.7

Gain Decibels

Component

4.1

10% 10% 10%

5.1

Tolerance

6.0 7.3

10%

8.0 8.3

5% 5%

8.6

2%

To change frequency, scale all copociton suitably. Tripling the capacity cuts frequency by one-third, and vice vena.

Fig. 8-15. Third-order high·pass circuih,

+18 dB/ octave

rolloff, 1-kHz cutoff frequency.

The op-amp limitations rarely will interfere directly with the highpass response. Instead of this, they usually place an upper limit on the passband. If we are to have a minimum of one-decade ( 10: 1) frequency response well-defined as a passband, the limits of Fig. 8-21 are suggested for the op amps of Chapter 2. As with the low-pass filters , there are lots of ways to get into trouble with these circuits. Common pitfalls are summarized in Fig. 8-22. Added to the low-pass restrictions are the generally worse noise perfomiance you will get with a high-pass response and the need to save room for the passband het\veen the filter and op-amp cutoff frequencies.

SOME HIGH-PASS DESIGN RULES The following rules summarize how to use the circuits and curves of this chapter : 185

If you can use the equal-component-value Sullen-Key circuit:

l. Referring to your original filter problem and using Chapter 4, choose a shape and order that will clo the job. 2. Select this circuit from Figs. 8 -13 through 8-19 and substitute the proper resistance values. 3. Scale the circu it to your cutoff frequency, using Fig. 8-20 or calculating capacitor ratios inversely as frequency.

!OK

IOK IOK

(A) Typical third·order, two op·amp filter (flattest amplitude, l ·kHz cutoff shown). Make this copacitar I TEN TIMES I its former value.

\ ··~:,r·· /

-100

IOK IOK '--~~~~~~~--'

Make this resistor ONE TENTH its former value.

I

I

INPUT JMPEOANCE af this circuit is I / 1O that of circuit (A).

I

I

(B) One-op-amp approximation to (A). Fig. 8·16. Approximating a third-order high-pass circuit with a single op amp.

4. Tune and adjust the circuit, using the guidelines in this chapter and Chapter 9. For very low freque ncies, consider a !OX increase in impedance level to get by with smaller capacitors.

To build any active high-pass filter:

l. Referring to your original filter problem and using Chapter 4, choose a shape and order that will do the job, along with a list of the frequency and damping values for each section and an accuracy specification. 2. Pick a suitable second-order section from this chapter for each 186

!'. RRAH SHEET AC.:TlH F ! l.TEH COOIWOOI( (21168)

(tage 9

(la .L li1w)

La~ t s('fttcm::e should

r c .:id "The: i.nver~c of the bandwicll h of a sin-

Pogc 15 (f'lg , 1-4;\) Res i. sto :· abO\' ll I C shovld lH: lOt\ x 2Q

lUSll' !Jd

of

l OK x 2 .

Pogo 28 ( 13 t l1 llnc) ~~d say "lup111. s ignal , the - !:> L~1u.d i.s a •.oir t.unl ground poiut.

P:;.gc-

~Jtl

(25 t h l ine)

Ch;:11~g L'

3

h~rt2:

to 6 ht.•r tz.

Page 5 0 C!'.>Lh line) l nsr;- rl t he word

in pt1t." h E?fore wonl h:iSt· (i ts i.r:put. lna~o current).

Pag" ~\I (Fl,u ld be

lalJ~loxf:'d

~qu plion

the numer