active filter circuits

41
ACTIVE FILTER CIRCUITS

Upload: emile

Post on 06-Jan-2016

91 views

Category:

Documents


5 download

DESCRIPTION

ACTIVE FILTER CIRCUITS. DISADVANTAGES OF PASSIVE FILTER CIRCUITS. Passive filter circuits consisting of resistors, inductors, and capacitors are incapable of amplification, because the output magnitude does not exceed the input magnitude. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ACTIVE FILTER CIRCUITS

ACTIVE FILTER CIRCUITS

Page 2: ACTIVE FILTER CIRCUITS

DISADVANTAGES OF PASSIVE FILTER CIRCUITS

Passive filter circuits consisting of resistors, inductors, and capacitors are incapable of amplification, because the output magnitude does not exceed the input magnitude.

The cutoff frequency and the passband magnitude of passive filters are altered with the addition of a resistive load at the output of the filter.

In this section, filters using op amps will be examined. These op amp circuits overcome the disadvantages of passive filter circuits.

Page 3: ACTIVE FILTER CIRCUITS

FIRST-ORDER LOW-PASS FILTER

++

+vovi

R1R2

C

++

+vovi

Zi

Zf

c

csC

i

f

sK

R

R

Z

ZsH

1

12 ||

)(

CRR

RK c

21

2 1

Page 4: ACTIVE FILTER CIRCUITS

PROTOTYPE LOW-PASS FIRST-ORDER OP AMP FILTER

Design a low-pass first-order filter with R1=1Ω, having a passband gain of 1 and a cutoff frequency of 1 rad/s.

2 1

2

1

1 11

(1)(1)

1( )

1

c

c

c

R KR

C FR

H s Ks s

Page 5: ACTIVE FILTER CIRCUITS

FIRST-ORDER HIGH-PASS FILTER

+

+

+

vovi

R1R2C 2

1

2

1 1

( )1

1

f

i c

c

Z R sH s K

Z sRsC

RK

R RC

Prototype high-pass filter with R1=R2=1Ω and C=1F. The cutoff frequency is 1 rad/s. The magnitude at the passband is 1.

Page 6: ACTIVE FILTER CIRCUITS

EXAMPLE

Figure shows the Bode magnitude plot of a high-pass filter. Using the active high-pass filter circuit, determine values of R1 and R2. Use a 0.1μF capacitor.

If a 10 KΩ load resistor is added to the filter, how will the magnitude response change?

Page 7: ACTIVE FILTER CIRCUITS

Notice that the gain in the passband is 20dB, therefore, K=10. Also note the the 3 dB point is 500 Hz. Then, the transfer function for the high-pass filter is

2

1

1

2

1 1

1 2

10( )

1500

110 500

20 200

Rs

RsH s

s sRC

R

R RC

R K R K

Because the op amp in the circuit is ideal, the addition of any load resistor has no effect on the behavior of the op amp. Thus, the magnitude response of the high-pass filter will remain the same when a load resistor is connected.

Page 8: ACTIVE FILTER CIRCUITS

SCALING

In the design of both passive and active filters, working with element values such as 1 Ω, 1 H, and 1 F is convenient. After making computations using convenient values of R, L, and C, the designer can transform the circuit to a realistic one using the process known as scaling. There are two types of scaling: magnitude and frequency.

A circuit is scaled in magnitude by multiplying the impedance at a given frequency by the scale factor km. Thus, the scaled values of resistor, inductor, and capacitor become and /m m mR k R L k L C C k where the primed values are the scaled ones.

Page 9: ACTIVE FILTER CIRCUITS

In frequency scaling, we change the circuit parameter so that at the new frequency, the impedance of each element is the same as it was at the original frequency. Let kf denote the frequency scale factor, then / and /f fR R L L k C C k

A circuit can be scaled simultaneously in both magnitude and frequency. The scaled values in terms of the original values are 1

and mm

f f m

kR k R L L C C

k k k

Page 10: ACTIVE FILTER CIRCUITS

+1Ωvi

+vo

1H

1F

EXAMPLE

This circuit has a center frequency of 1 rad/s, a bandwidth of 1 rad/s, and a quality factor of 1. Use scaling to compute the values of R and L that yield a circuit with the same quality factor but with a center frequency of 500 Hz. Use a 2 μF capacitor.

The frequency scaling factor is: 2 (500)

3141.591fk

The magnitude scaling factor is:

6

1 1 1159.155

3141.59 2 10mf

Ck

k C

o

159.155 50.66

1/ 3141.61 rad/s or 500 Hz.

/ 3141.61 rad/s or 500 Hz.

Q / 1

mm

f

o

kR k R L L mH

k

L C

R L

Page 11: ACTIVE FILTER CIRCUITS

EXAMPLE

Use the prototype low-pass op amp filter and scaling to compute the resistor values for a low-pass filter with a gain of 5, a cutoff frequency of 1000 Hz, and a feedback capacitor of 0.01 μF.

8

1 2

/ 2 (1000) /1 6283.185

1 115915.5

(6283.15)(10 )

15915.5

f c c

mf

m

k

Ck

k C

R R k R

To meet the gain specification, we can adjust one of the resistor values. But, changing the value of R2 will change the cutoff frequency. Therefore, we can adjust the value of R1 as R1=R2/5=3183.1 Ω.

Page 12: ACTIVE FILTER CIRCUITS

OP AMP BANDPASS FILTERS

A bandpass filter consists of three separate components

1. A unity-gain low-pass filter whose cutoff frequency is wc2, the larger of the two cutoff frequencies

2. A unity-gain high-pass filter whose cutoff frequency is wc1, the smaller of the two cutoff frequencies

3. A gain component to provide the desired level of gain in the passband.

These three components are cascaded in series. The resulting filter is called a broadband bandpass filter, because the band of frequencies passed is wide.

Page 13: ACTIVE FILTER CIRCUITS

Low-pass filter

High-pass filter

Inverting amplifier

ViVo

++vi

RLRL

CL

+ +vo

RH

RH

CH

+

Ri

Rf

2

2 1

22

1 2 1 2

( )

( )

fo c

i c c i

c

c c c c

RV sH s

V s s R

K s

s s

Page 14: ACTIVE FILTER CIRCUITS

Standard form for the transfer function of a bandpass filter is

2 2BPo

sH

s s

In order to convert H(s) into the standard form, it is required that . If this condition holds, 2 1c c 1 2 2( )c c c

Then the transfer function for the bandpass filter becomes

22

2 1 2

( ) c

c c c

K sH s

s s

Page 15: ACTIVE FILTER CIRCUITS

Compute the values of RL and CL to give us the desired cutoff frequency

2

1c

L LR C

Compute the values of RH and CH to give us the desired cutoff frequency

1

1c

H HR C

22

2 2 1

( )( )

( ) ( )fc o

oo c o c c i

RK jH j K

j j R

To compute the values of Ri and Rf, consider the magnitude of the transfer function at the center frequency wo

Page 16: ACTIVE FILTER CIRCUITS

EXAMPLE

Design a bandpass filter to provide an amplification of 2 within the band of frequencies between 100 and 10000 Hz. Use 0.2 μF capacitors.

2 6

1 6

1 1(2 )10000 80

2 (10000) (0.2 10 )

1 1(2 )100 7958

2 (100) (0.2 10 )

c LL L

c HH H

RR C

RR C

Arbitrarily select Ri=1 kΩ, then Rf=2Ri=2 KΩ

Page 17: ACTIVE FILTER CIRCUITS

OP AMP BANDREJECT FILTERS

Like the bandpass filters, the bandreject filter consists of three separate components

• The unity-gain low-pass filter has a cutoff frequency of wc1, which is the smaller of the two cutoff frequencies.

• The unity-gain high-pass filter has a cutoff frequency of wc2, which is the larger of the two cutoff frequencies.

• The gain component provides the desired level of gain in the passbands.

The most important difference is that these components are connected in parallel and using a summing amplifier.

Page 18: ACTIVE FILTER CIRCUITS

+

+vi

RLRL

+

RH

RH

CH

+vo

+

Ri

Ri

Rf

CL

Page 19: ACTIVE FILTER CIRCUITS

1

1 2

21 1 2

1 2

( )

2

( )( )

f c

i c c

f c c c

i c c

R sH s

R s s

R s s

R s s

1 2

1 1 f

c cL L H H i

RK

R C R C R

The magnitude of the transfer function at the center frequency 2

1 1 22

1 2 1 2

1 1

1 2 2

( ) 2 ( )( )

( ) ( )( )

2 2

f o c o c co

i o c c o c c

f fc c

i c c i c

R j jH j

R j j

R R

R R

Page 20: ACTIVE FILTER CIRCUITS

HIGHER ORDER OP AMP FILTERS

All of the filters considered so far are nonideal and have a slow transition between the stopband and passband. To obtain a sharper transition, we may connect identical filters in cascade.For example connecting two first-order low-pass identical filters in cascade will result in -40 dB/decade slope in the transition region. Three filters will give -60 dB/decade slope, and four filters should have -80 db/decade slope. For a cascaded of n protoptype low-pass filters, the transfer function is

1 1 1 1( )

1 1 1 1

n

H ss s s s

Page 21: ACTIVE FILTER CIRCUITS
Page 22: ACTIVE FILTER CIRCUITS

But, there is a problem with this approach. As the order of the low-pass is increased, the cutoff frequency changes. As long as we are able to calculate the cutoff frequency of the higher-order filters, we can use frequency scaling to calculate the component values that move the cutoff frequency to its specified location. For an nth-order low-pass filter with n prototype low-pass filters

2/

22

2

1 1( )

( 1) 2

1 1 1 1

12 21

2 1 2 1

cn ncn

n

ncn

cn

n ncn cn

H jj

Page 23: ACTIVE FILTER CIRCUITS

EXAMPLE

Design a fourth-order low-pass filter with a cutoff frequency of 500 rad/s and a passband gain of 10. Use 1 μF capacitors.

44

2 (500)2 1 0.435 rad/s 7222.39

0.435c fk

6

1138.46

7222.39(1 10 )mk

Thus, R=138.46Ω and C=1 μF. To set the passband gain to 10, choose Rf/Ri=10. For example Rf=1384.6 Ω and Ri =138.46 Ω.

Page 24: ACTIVE FILTER CIRCUITS

++vi

138.46Ω

1μF

138.46Ω

+

138.46Ω

1μF

138.46Ω

+

138.46Ω

1μF

138.46Ω

+

138.46Ω

1μF

138.46Ω

+

138.46Ω

1384.6Ω

+vo

Page 25: ACTIVE FILTER CIRCUITS

By cascading identical prototype filters, we can increase the asymptotic slope in the transition and control the location of the cutoff frequency. But the gain of the filter is not constant between zero and the cutoff frequency. Now, consider the magnitude of the transfer function for a unity-gain low-pass nth order cascade.

2 2

( )( )

1( )

( / ) 1

ncn

ncn

ncn

n n

cncn

H ss

H j

Page 26: ACTIVE FILTER CIRCUITS

BUTTERWORTH FILTERS

A unity-gain Butterworth low-pass filter has a transfer function whose magnitude is given by

nc

jH2/1

1)(

1. The cutoff frequency is wc for all values of n.

2. If n is large enough, the denominator is always close to unity when w<wc.

3. In the expression for |H(jw)|, the exponent of w/wc is always even.

Page 27: ACTIVE FILTER CIRCUITS

Given an equation for the magnitude of the transfer function, how do we find H(s)? To find H(s), note that if N is a complex quantity, the |N|2=NN*. Then,

nn

nnn

ssHsH

sjH

s

sHsHjHjHjH

2

222

2

22

2

)1(1

1)()(

)(1

1

)(1

1

1

1)(

since

)()()()()(

Page 28: ACTIVE FILTER CIRCUITS

The procedure for finding H(s) for a given n is:

1. Find the roots of the polynomial 1+(-1)ns2n=0

2. Assign the left-half plane roots to H(s) and the right-half plane roots to H(-s)

3. Combine terms in the denominator of H(s) to form first- and second-order factors

Page 29: ACTIVE FILTER CIRCUITS

EXAMPLE

Find the Butterworth transfer function for n=2.For n=2, 1+(-1)2s4=0, then s4=-1=1 1800

2

1

2

13151

2

1

2

12251

2

1

2

11351

2

1

2

1451

04

03

02

01

jsjs

jsjs

Roots s2 and s3 are in the left-half plane. Thus,

12

1)(

221221

1)(

2

sssH

jsjssH

Page 30: ACTIVE FILTER CIRCUITS

Normalized Butterworth Polynomials

)1932.1)(12)(1518.0(s 6

)1618.1)(1618.01)(s(s 5

)1848.1)(1765.0(s 4

)11)(s(s 3

)12(s 2

1)(s 1

222

22

22

2

2

sssss

sss

sss

s

s

Page 31: ACTIVE FILTER CIRCUITS

BUTTERWORTH FILTER CIRCUITS

To construct a Butterworth filter circuit, we cascade first- and second-order op amp circuits using the polynomials given in the table. A fifth-order prototype Butterworth filter is shown in the following figure:

1

1

s 1618.0

12 ss 1618.1

12 ss

vi

vo

All odd-order Butterworth polynomials include the factor (s+1), so all odd-order BUtterworth filters must include a subcircuit to implement this term. Then we need to find a circuit that provides a transfer function of the form 1

1)(

12

sbs

sH

Page 32: ACTIVE FILTER CIRCUITS

+

+vi

RR

C1

C2

Va

+

Vo0

0)(

2

1

R

VVsCV

R

VVsCVV

R

VV

aoo

oaoa

ia

0)1(

)1()2(

2

11

oa

ioa

VsRCV

VVsRCVsRC

211

2

212

22

212

12

1

)(

12

1

CCs

Cs

CCR

V

VsH

VsRCsCCR

V

i

o

io

2111

11

2

CCCb

Page 33: ACTIVE FILTER CIRCUITS

EXAMPLE

Design a fourth-order low-pass filter with a cutoff frequency of 500 Hz and a passband gain of 10. Use as many 1 KΩ resistor as possible.

From table, the fourth-order Butterworth polynomial is

)1848.1)(1765.0( 22 ssss

For the first stage: C1=2/0.765=2.61 F, C2=1/2.61=0.38FFor the second stage: C3=2/1.848=1.08 F, C4=1/1.08=0.924F

These values along with 1-Ω resistors will yield a fourth-order Butterworth filter with a cutoff frequency of 1 rad/s.

Page 34: ACTIVE FILTER CIRCUITS

A frequency scale factor of kf=3141.6 will move the cutoff frequency to 500 Hz. A magnitude scale factor km=1000 will permit the use of 1 kΩ resistors. Then,

R=1 kΩ, C1=831 nF, C2=121 nF, C3= 344 nF, C4=294 nF, Rf= 10 kΩ.

+

+vi

RR

C1

C2

+RR

C3

C4

+Vo

+

Ri

Rf

Page 35: ACTIVE FILTER CIRCUITS

The Order of a Butterworth Filter

As the order of the Butterworth filter increases, the magnitude characteristic comes closer to that of an ideal low-pass filter. Therefore, it is important to determine the smallest value of n that will meet the filtering specifications.

|H(jw)|Pass band

Transition band Stop band

AP

AS

WP WS

log10w

)1(log10

1

1log20

)1(log10

1

1log20

210

210

210

210

ns

ns

s

np

np

p

A

A

Page 36: ACTIVE FILTER CIRCUITS

)(log

)(log

)(log)(log

110

110

110 110

10

10

1010

1.0

1.0

p

s

21.021.0

ps

ps

psps

p

s

A

An

ns

Anp

A

n

n

p

s

sp

Page 37: ACTIVE FILTER CIRCUITS

If wp is the cutoff frequency, then

)(log

log

1 and 2log20

10

10

10

ps

s

pp

n

A

For a steep transition region, 110 1.0 sA Thus,

)(log

05.0

05.0log10

10

1005.0

ps

s

ssA

s

An

As

Page 38: ACTIVE FILTER CIRCUITS

EXAMPLE

Determine the order of a Butterworth filter that has a cutoff frequency of 1000 Hz and a gain of no more than -50 dB at 6000 Hz. What is the actual gain in dB at 6000 Hz?

21.3)1000/6000(log

)50(05.0

10

n

Because the cutoff frequency is given, and 10-0.1(-

50)>>11p

Therefore, we need a fourth-order Butterworth filter. The actual gain at 6000 Hz is

dB 25.6261

1log20

810

K

Page 39: ACTIVE FILTER CIRCUITS

EXAMPLE

Determine the order of a Butterworth filter whose magnitude is 10 dB less than the passband magnitude at 500 Hz and at least 60 dB less than the passband magnitude at 5000 Hz.

52.2)10(log

)31000(log

105005000

1000110 ,3110

10

10

)60(1.0)10(1.0

n

ff psps

sp

Thus we need a third-order filter.

Determine the cutoff frequency.

rad/s 26.21789

1000

9

10)(110])(1[log10

66

610

c

cc

Page 40: ACTIVE FILTER CIRCUITS

BUTTERWORTH HIGH-PASS FILTERS

To produce the second-order factors in the Butterworth polynomial, we need a circuit with a transfer function of

1)(

12

2

sbs

ssH

+

+viR2

R1C C+

Vo

2212

2

2

12)(

CRRs

CRs

s

V

VsH

i

o

Setting C= 1F

212

2

2

12)(

RRs

Rs

s

V

VsH

i

o

2121

11

2

RRRb

Page 41: ACTIVE FILTER CIRCUITS

NARROWBAND BANDPASS AND BANDREJECT FILTERS

The cascade or parallel component designs from simpler low-pass and high-pass filters will result in low-Q filters. Consider the transfer function

22

22

5.0

2)(

c

cc

c

cc

c

ss

s

s

s

s

s

ssH

2

1 , 2 22

o

coc Q

Thus with discrete real poles, the highest quality factor bandpass filter we can achieve has Q=1/2