Active and Passive Filters

45
www.ku.edu.np Department of Electrical & Electronics Engineering www.ku.edu.np/ee EEEG 213: Network Analysis Lecture-22: Filters SHAILENDRA KUMAR JHA Department of Electrical & Electronics Engineering Kathmandu University, Dhulikhel

description

Learn to design basic filters and butterworth filters

Transcript of Active and Passive Filters

Page 1: Active and Passive Filters

www.ku.edu.npDepartment of Electrical & Electronics Engineering www.ku.edu.np/ee

EEEG 213: Network AnalysisLecture-22: Filters

SHAILENDRA KUMAR JHADepartment of Electrical & Electronics EngineeringKathmandu University, Dhulikhel

Page 2: Active and Passive Filters

www.ku.edu.np

Outline• Definition of Filters• Frequency filters• Types of frequency filters• Active filters design

12/26/2014 2

References:

1. Boylestad R. L., Introductory Circuit Analysis, PHI, 1999

2. Gayakwad R. A., “Op-Amps and Linear Integrated Circuits”, PHI,1998

Page 3: Active and Passive Filters

www.ku.edu.np

Definition

A network designed to either block orpass energy

– Amplitude filters– Frequency filters

12/26/2014 3

Page 4: Active and Passive Filters

www.ku.edu.np

Frequency filtersA network designed to select or reject aband of frequencies

Types:– Analog and digital– Passive or active– Low pass, high pass, band pass and band

reject12/26/2014 4

Page 5: Active and Passive Filters

www.ku.edu.np

• Analog filters are designed to processanalog signals

• Digital filters process analog signals usingdigital techniques

• Passive filters are designed usingresistors, inductors and capacitors

• Active filters employ transistors or op-amps in addition with resistors,inductors and capacitors

12/26/2014 5

Page 6: Active and Passive Filters

www.ku.edu.np

Low Pass filters

• Allows only low frequency to pass• has constant gain from 0Hz to a high

cutt-off frequency fH

12/26/2014 6

Pass band stop band

Ideal response

fHfrequency

Gain (Vo/Vi)

1

0

real response

Page 7: Active and Passive Filters

www.ku.edu.np

High Pass filters

• Allows only high frequency to pass• has constant gain after cutt-off

frequency fL

12/26/2014 7

Stop band pass band

Ideal response

fLfrequency

Gain (Vo/Vi)

1

0

real response

Page 8: Active and Passive Filters

www.ku.edu.np

Band Pass filters• Designed to pass certain band of frequencies while

rejecting all frequencies below and above this range.

• has constant gain between two cut-off frequencies fLand fH

12/26/2014 8

Ideal response

fLfrequency

Gain (Vo/Vi)

1

0 fH

Passband

stop bandStopband

real response

fC

Page 9: Active and Passive Filters

www.ku.edu.np

Band Stop filters• Designed to reject certain band of frequencies while

pass all frequencies below and above this range.

• has constant gain from 0Hz to low cut of frequencyfL and after high cut-off frequencies fH

12/26/2014 9

Ideal response

stopband

pass bandpassband

fLfrequency

Gain (Vo/Vi)

1

0 fH

real response

fC

Page 10: Active and Passive Filters

www.ku.edu.np

Real filter designs• Butterworth filters

– Flat pass band as well as stop band– Roll of 20dB/decade/pole– Used when all frequencies in pass band must have

same gain

• Chebyshev filters– Ripple pass band and flat stop band– Sharper cut-off than Butterworth– Roll of greater than 20dB/decade/pole– Use when rapid roll of required

12/26/2014 10

Page 11: Active and Passive Filters

www.ku.edu.np

Real filter designs

• Cauer filters– Ripple pass band and ripple stop band– Gives the best stop band response– Even sharper cut-off than Chebyshev

• Bessel filters– Linear response i.e no distortion in pass band– Roll off rate less than 20dB/decade/pole– Used for filtering pulse waveform without

distortion in shape12/26/2014 11

Page 12: Active and Passive Filters

www.ku.edu.np

Stop Band

Real filter designs

12/26/2014 12

frequency

GainButterworthChebyshevCauerBessel

Pass Band

Page 13: Active and Passive Filters

www.ku.edu.np

Low Pass RC filter

12/26/2014 13

Page 14: Active and Passive Filters

www.ku.edu.np12/26/2014 14

Page 15: Active and Passive Filters

www.ku.edu.np

At any intermediate frequency, the output voltage Vo isgiven as

12/26/2014 15

Page 16: Active and Passive Filters

www.ku.edu.np12/26/2014 16

Page 17: Active and Passive Filters

www.ku.edu.np

For frequency less than fc will result in an output voltage Vo that isat least 70.7% of the maximum.

For any frequency above fc, the output is less than 70.7% of theapplied signal.

12/26/2014 17

Page 18: Active and Passive Filters

www.ku.edu.np12/26/2014 18

Page 19: Active and Passive Filters

www.ku.edu.np

High Pass RC filter

12/26/2014 19

Page 20: Active and Passive Filters

www.ku.edu.np12/26/2014 20

Page 21: Active and Passive Filters

www.ku.edu.np12/26/2014 21

At any intermediate frequency, the output voltage Vo isgiven as

Page 22: Active and Passive Filters

www.ku.edu.np12/26/2014 22

Page 23: Active and Passive Filters

www.ku.edu.np

Band Pass Filters

12/26/2014 23

Page 24: Active and Passive Filters

www.ku.edu.np12/26/2014 24

Page 25: Active and Passive Filters

www.ku.edu.np

Band Stop Filters

12/26/2014 25

Page 26: Active and Passive Filters

www.ku.edu.np12/26/2014 26

Page 27: Active and Passive Filters

www.ku.edu.np

Filters and roll of ratesThe number of poles determines the roll-off rate

First order - one pole - roll-off of -20dB/decade

Second order- two poles-roll-off of -40dB/decade

Third order - three poles-roll-off of -60dB/decade

12/26/2014 27

Page 28: Active and Passive Filters

www.ku.edu.np

First Order Low Pass Butterworth Filter

12/26/2014 28

R1 Rf

R

C RL

VO

Vi

+15V

-15V

V1

= −−According to voltage divider rule,

, = 1 +And output voltage = (1 + )

That is = (1 + ) 1 + = 1 + ( )

Page 29: Active and Passive Filters

www.ku.edu.np

Where, == 1 + =f = frequency of the input signal= 12 =The gain magnitude and phase angle equations of thelow-pass filter can be written as= 1 + ( )And ∅ = − ( )

12/26/2014 29

Page 30: Active and Passive Filters

www.ku.edu.np

At very low frequency, that is f < fH=At f = fH,

At f > fH

Thus the low-pass filter has a constant gain AF from 0Hz to -the high cutoff frequency fH.

At fH the gain is 0.707Af and after fH it decreases at aconstant rate with an increase in frequency.

The frequency f = fH is called the cutoff frequency becausethe gain of the filter at this frequency is down by 3 dB (= 20log 0.707) from 0 Hz.

12/26/2014 30

= 2 = 0.707<

Page 31: Active and Passive Filters

www.ku.edu.np

A low-pass filter can be designed by implementingthe following steps:

1. Choose a value of high cutoff frequency fH

2. Select a value of C less than or equal to 1F.Mylar or tantalum capacitors arerecommended for better performance.

3. Calculate the value of R using

4. Finally select values of R, and RF dependent onthe desired pass band gain AF using

12/26/2014 31

= 12= 1 +

Page 32: Active and Passive Filters

www.ku.edu.np

Frequency ScalingThe procedure used to convert an original cutofffrequency fH to a new cutoff frequency f’H is calledfrequency scaling.

• To change a high cutoff frequency multiply R or C,but not both, by the ratio of the original cutofffrequency to the new cutoff frequency.

• In filter design the needed values of R and C areoften not standard. Besides, a variable capacitor C isnot commonly used.

• Therefore, choose a standard value of capacitor,and then calculate the value of resistor for a desiredcutoff frequency. This is because for a nonstandardvalue of resistor a potentiometer can be used.

12/26/2014 32

Page 33: Active and Passive Filters

www.ku.edu.np

… problems …

12/26/2014 33

Page 34: Active and Passive Filters

www.ku.edu.np

Second Order Low Pass Butterworth Filter

12/26/2014 34

R2

R1 Rf

R3

C3RL

VO

Vi

+15V

-15VC2

The voltage gain magnitude is = ( )A = 1 + RR = pass band gain of the filterf = frequency of the input signal= 1/2π R R C C= high cutoff frequency of the filter

Page 35: Active and Passive Filters

www.ku.edu.np

Except for having twice the roll-off rate in the stop band, thefrequency response of the second-order low-pass filter is identicalto that of the first-order type.

The design steps of the second-order filter are:

1. Choose a value of high cutoff frequency fH

2. To simplify the design calculations, set R2=R3=R and C2=C3=C.then choose a value of C less than or equal to 1F.

3. Calculate the value of R using

4.Because of the equal resistor R2=R3 and capacitorC2=C3, the pass band voltage gain AF of the second-order low- pass filter has to be equal to 1.586.• That is, RF = 0.586R1.• This gain is required for Butterworth response.Hence choose a value of R1 100k and calculate thevalue of RF.

12/26/2014 35

= 12

Page 36: Active and Passive Filters

www.ku.edu.np

… problems …

12/26/2014 36

Page 37: Active and Passive Filters

www.ku.edu.np12/26/2014 37

First Order High Pass Butterworth FilterR1 Rf

C

RRL

VO

Vi

+15V

-15V

For a first order high pass filter, the output voltage is= (1 + ) 1 += [ ]

Where, = 1 + =f = frequency of the input signal= 12 =

Page 38: Active and Passive Filters

www.ku.edu.np

The magnitude of the voltage gain is

Since high-pass filters are formed fromlow-pass filters simply by interchangingR's and C's, the design and frequencyscaling procedures of the low-pass filtersare also applicable to the high-passfilters.

12/26/2014 38

= ( )1 + ( )

Page 39: Active and Passive Filters

www.ku.edu.np

… problems …

12/26/2014 39

Page 40: Active and Passive Filters

www.ku.edu.np12/26/2014 40

Second Order High Pass Butterworth Filter

C2

R1 Rf

C3

R3

RL

VO

Vi

+15V

-15VR2

The magnitude of the voltage gain is= 1 + ( )Where Af = 1.586 for second order Butterworth reponse

f = frequency of the input signal (Hz)fL = low cutoff frequency (Hz)

Page 41: Active and Passive Filters

www.ku.edu.np

…problems…

12/26/2014 41

Page 42: Active and Passive Filters

www.ku.edu.np

Band Pass Filter

12/26/2014 42

R’1 R’f

R’

C’ RL

VO

+15V

-15V

R1 Rf

C

RVi

+15V

-15V

Page 43: Active and Passive Filters

www.ku.edu.np

Band Reject Filter

12/26/2014 43

R’1 R’f

R’

C’

+15V

-15V

R1 Rf

C

R

Vi

+15V

-15V

R2 R4

R3

ROM

RL

VO

+15V

-15V

Page 44: Active and Passive Filters

www.ku.edu.np

Notch filter

12/26/2014 44

Page 45: Active and Passive Filters

www.ku.edu.np12/26/2014 45