Top Banner
Introduction To Analog Filters The University of Tennessee Knoxville, Tennessee wlg
31
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 17. Introduction To Filters

Introduction To Analog Filters

The University of TennesseeKnoxville, Tennessee

wlg

Page 2: 17. Introduction To Filters

Filters

Background:

. Filters may be classified as either digital or analog.

. Digital filtersDigital filters are implemented using a digital computer

or special purpose digital hardware.

. Analog filtersAnalog filters may be classified as either passive or active and are usually implemented with R, L, and C components and operational amplifiers.

Page 3: 17. Introduction To Filters

Filters

Background:

. An active filteractive filter is one that, along with R, L, and C components, also contains an energy source, such as that derived from an operational amplifier.

. A passive filterpassive filter is one that contains only R, L, and C components. It is not necessary that all three be present. L is often omitted (on purpose) from passive filter design because of the size and cost of inductors – and they also carry along an R that must be included in the design.

Page 4: 17. Introduction To Filters

Filters

Background:

. The synthesissynthesis (realization) of analog filters, that is, the way one builds (topological layout) the filters, received significant attention during 1940 thru 1960. Leading the work were Cauer and Tuttle. Since that time, very little effort has been directed to analog filter realization.

. The analysisanalysis of analog filters is well described in filter text books. The most popular include Butterworth, Chebyshev and elliptic methods.

Page 5: 17. Introduction To Filters

FiltersBackground:

. Generally speaking, digital filters have become the focus of attention in the last 40 years. The interest in digital filters started with the advent of the digital computer, especially the affordable PC and special purpose signal processing boards. People who led the way in the work (the analysis part) were Kaiser, Gold and Radar.

. A digital filter is simply the implementation of an equation(s) in computer software. There are no R, L, C components as such. However, digital filters can also be built directly into special purpose computers in hardware form. But the execution is still in software.

Page 6: 17. Introduction To Filters

Passive Analog Filters

Background: Four types of filters Four types of filters - “Ideal”- “Ideal”

lowpasslowpass highpasshighpass

bandpassbandpass bandstopbandstop

Page 7: 17. Introduction To Filters

Background: Realistic Filters:Realistic Filters:

lowpasslowpass highpasshighpass

bandpassbandpass bandstopbandstop

Passive Analog Filters

Page 8: 17. Introduction To Filters

Passive Analog Filters

Background:

It will be shown later that the idealfilter, sometimes called a “brickwall” filter, can be approached by making the order of the filter higher and higher.

The order here refers to the order of thepolynomial(s) that are used to define thefilter. Matlab examples will be given laterto illustrate this.

Page 9: 17. Introduction To Filters

Passive Analog Filters

Low Pass Filter Consider the circuit below.

R

CVI VO

+

_

+

_

1( ) 1

1( ) 1OV jw jwCV jw jwRCRi

jwC

Low pass filter circuit

Page 10: 17. Introduction To Filters

Passive Analog Filters

Low Pass Filter

0 dB

1

0

1/RC

1/RC

Bode

Linear Plot

.-3 dB

x0.707

Passes low frequenciesAttenuates high frequencies

Page 11: 17. Introduction To Filters

Passive Analog Filters

High Pass Filter Consider the circuit below.

C

RVi VO

+

_

+

_

( )1( ) 1

OV jw jwRCRV jw jwRCRi

jwC

High Pass Filter

Page 12: 17. Introduction To Filters

Passive Analog Filters

High Pass Filter

0 dB

.

. -3 dB

0

1/RC

1/RC

1/RC

10.707

Bode

Linear

Passes high frequencies

Attenuates low frequencies

x

Page 13: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass Filter Consider the circuit shown below:

C L

RViVO

+

_

+

_

When studying series resonant circuit we showed that;

2

( )1( )

O

i

R sV s LRV s s sL LC

Page 14: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass FilterWe can make a bandpass from the previous equation and selectthe poles where we like. In a typical case we have the following shapes.

0

0 dB

-3 dB

lo

hi

.

. .

.10.707

Bode

Linear

lo

hi

Page 15: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass Filter Example

Suppose we use the previous series RLC circuit with output across R todesign a bandpass filter. We will place poles at –200 rad/sec and – 2000 rad/sechoping that our –3 dB points will be located there and hence have a bandwidthof 1800 rad/sec. To match the RLC circuit form we use:

22200 2200 2200

( 200)( 2000)2200 400000 200 2000(1 )(1 )200 2000

s s ss ss ss s x

The last term on the right can be finally put in Bode form as;

0.0055

(1 )(1 )200 2000

jwjw jw

Page 16: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass Filter Example

From this last expression we notice from the part involving the zero wehave in dB form;

20log(.0055) + 20logw

Evaluating at w = 200, the first pole break, we get a 0.828 dBwhat this means is that our –3dB point will not be at 200 becausewe do not have 0 dB at 200. If we could lower the gain by 0.829 dBwe would have – 3dB at 200 but with the RLC circuit we are stuckwith what we have. What this means is that the – 3 dB point willbe at a lower frequency. We can calculate this from

200log 20 0.828

low

dBx dB

w dec

Page 17: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass Filter Example

This gives an wlow = 182 rad/sec. A similar thing occurs at whi wherethe new calculated value for whi becomes 2200. These calculationsdo no take into account a 0.1 dB that one pole induces on the otherpole. This will make wlo somewhat lower and whi somewhat higher.

One other thing that should have given us a hint that our w1 and w2

were not going to be correct is the following:

1 22

2 1 2 1 2

( )1 ( ( ) )( )

Rs w w sL

R s w w s w ws sL LC

What is the problem with this?

Page 18: 17. Introduction To Filters

Passive Analog Filters

Bandpass Pass Filter Example

The problem is that we have

1 2 2 1( )R

w w BW w wL

Therein lies the problem. Obviously the above cannot be true and thatis why we have aproblem at the –3 dB points.

We can write a Matlab program and actually check all of this.We will expect that w1 will be lower than 200 rad/sec and w2 will behigher than 2000 rad/sec.

Page 19: 17. Introduction To Filters

Frequency (rad/sec)

Pha

se (

de

g);

Ma

gni

tud

e (

dB

)Bode Diagrams

-15

-10

-5

0From: U(1)

102

103

104

-100

-50

0

50

100

To:

Y(1

)

-3 dB

-5 dB

Passive Analog Filters

Page 20: 17. Introduction To Filters

A Bandpass Digital FilterPerhaps going in the direction to stimulate your interest in taking a courseon filtering, a 10 order analog bandpass butterworth filter will besimulated using Matlab. The program is given below.

N = 10; %10th order butterworth analog prototype [ZB, PB, KB] = buttap(N); numzb = poly([ZB]);denpb = poly([PB]); wo = 600; bw = 200; % wo is the center freq

% bw is the bandwidth[numbbs,denbbs] = lp2bs(numzb,denpb,wo,bw); w = 1:1:1200; Hbbs = freqs(numbbs,denbbs,w);Hb = abs(Hbbs); plot(w,Hb)gridxlabel('Amplitude')ylabel('frequency (rad/sec)')title('10th order Butterworth filter')  

Page 21: 17. Introduction To Filters

A Bandpass Filter

Page 22: 17. Introduction To Filters

RLC Band stop FilterConsider the circuit below:

RL

C

+

_

VO

+

_Vi

The transfer function for VO/Vi can be expressed as follows:

)(sGv

LCs

L

Rs

LCs

sGv 1

1

)(2

2

Page 23: 17. Introduction To Filters

This is of the form of a band stop filter. We see we have complex zeroson the jw axis located

RLC Band Stop FilterComments

LCj

1

From the characteristic equation we see we have two poles. The polesan essentially be placed anywhere in the left half of the s-plane. We see that they will be to the left of the zeros on the jw axis.

We now consider an example on how to use this information.

Page 24: 17. Introduction To Filters

RLC Band Stop Filter

Example

Design a band stop filter with a center frequency of 632.5 rad/secand having poles at –100 rad/sec and –3000 rad/sec.

The transfer function is:

3000003100

3000002

2

ss

s

We now write a Matlab program to simulate this transfer function.

Page 25: 17. Introduction To Filters

RLC Band Stop Filter

Example

num = [1 0 300000];

den = [1 3100 300000];

w = 1 : 5 : 10000;

Bode(num,den,w)

Page 26: 17. Introduction To Filters

RLC Band Stop Filter

Example

Bode

Matlab

Page 27: 17. Introduction To Filters

V i nV O

C

R fb

+

_

+

_

R in

Basic Active FiltersLow pass filter

Page 28: 17. Introduction To Filters

Basic Active Filters

R i nC

V in

R fb

V O

+

_

+

_

High pass

Page 29: 17. Introduction To Filters

Basic Active Filters

V in

R 1

R 1

C 1

C 2

R 2

R 2

R fb

R i

V O

+

+

_

_

Band pass filter

Page 30: 17. Introduction To Filters

Basic Active Filters

V i n

R 1

R 1

C 1

C 2

R 2R i

R fb

V O

+

_

+

_

Band stop filter

Page 31: 17. Introduction To Filters