Вы находитесь на странице: 1из 60

ENTC 3320

Active Filters
Filters
A filter is a system that processes a signal
in some desired fashion.
A continuous-time signal or continuous signal of
x(t) is a function of the continuous variable t. A
continuous-time signal is often called an analog
signal.
A discrete-time signal or discrete signal x(kT) is
defined only at discrete instances t=kT, where k
is an integer and T is the uniform spacing or
period between samples
Types of Filters
There are two broad categories of filters:
An analog filter processes continuous-time signals
A digital filter processes discrete-time signals.
The analog or digital filters can be subdivided
into four categories:
Lowpass Filters
Highpass Filters
Bandstop Filters
Bandpass Filters
Analog Filter Responses
H(f)
f
f
c
0
H(f)
f
f
c
0
Ideal brick wall filter Practical filter
Ideal Filters
Passband Stopband
Stopband Passband
Passband Passband Stopband
Lowpass Filter Highpass Filter
Bandstop Filter
Passband Stopband Stopband
Bandpass Filter
M(e)
M(e)
e e
e e
e
c
e
c
e
c
1
e
c
1
e
c
2
e
c
2
There are a number of ways to build
filters and of these passive and active
filters are the most commonly used in
voice and data communications.
Passive filters
Passive filters use resistors, capacitors, and
inductors (RLC networks).
To minimize distortion in the filter
characteristic, it is desirable to use inductors
with high quality factors (remember the model
of a practical inductor includes a series
resistance), however these are difficult to
implement at frequencies below 1 kHz.
They are particularly non-ideal (lossy)
They are bulky and expensive
Active filters overcome these drawbacks
and are realized using resistors,
capacitors, and active devices (usually
op-amps) which can all be integrated:
Active filters replace inductors using op-amp
based equivalent circuits.

Op Amp Advantages
Advantages of active RC filters include:
reduced size and weight, and therefore parasitics
increased reliability and improved performance
simpler design than for passive filters and can realize
a wider range of functions as well as providing voltage
gain
in large quantities, the cost of an IC is less than its
passive counterpart
Op Amp Disadvantages
Active RC filters also have some disadvantages:
limited bandwidth of active devices limits the highest
attainable pole frequency and therefore applications above
100 kHz (passive RLCfilters can be used up to 500 MHz)
the achievable quality factor is also limited
require power supplies (unlike passive filters)
increased sensitivity to variations in circuit parameters
caused by environmental changes compared to passive
filters
For many applications, particularly in voice and data
communications, the economic and performance
advantages of active RC filters far outweigh their
disadvantages.
Bode Plots
Bode plots are important when
considering the frequency response
characteristics of amplifiers. They plot
the magnitude or phase of a transfer
function in dB versus frequency.
The decibel (dB)
Two levels of power can be compared using a
unit of measure called the bel.
The decibel is defined as:
1 bel = 10 decibels (dB)
1
2
10
log
P
P
B =
A common dB term is the half power point
which is the dB value when the P
2
is one-
half P
1
.
1
2
10
log 10
P
P
dB =
dB dB 3 01 . 3
2
1
log 10
10
~ =
Logarithms
A logarithm is a linear transformation used
to simplify mathematical and graphical
operations.
A logarithm is a one-to-one correspondence.

Any number (N) can be represented as a
base number (b) raised to a power (x).
The value power (x) can be determined by
taking the logarithm of the number (N) to
base (b).
x
b N ) ( =
N x
b
log =
Although there is no limitation on the
numerical value of the base, calculators are
designed to handle either base 10 (the
common logarithm) or base e (the natural
logarithm).
Any base can be found in terms of the
common logarithm by:
w
q
w
q 10
10
log
log
1
log =
Properties of Logarithms
The common or natural
logarithm of the number
1 is 0.
The log of any number
less than 1 is a negative
number.
The log of the product of
two numbers is the sum
of the logs of the
numbers.
The log of the quotient
of two numbers is the
log of the numerator
minus the denominator.
The log a number
taken to a power is
equal to the product of
the power and the log
of the number.
Poles & Zeros of the transfer
function
polevalue of s where the denominator
goes to zero.
zerovalue of s where the numerator
goes to zero.
Single-Pole Passive Filter
First order low pass filter
Cut-off frequency = 1/RC rad/s
Problem : Any load (or source)
impedance will change frequency
response.
v
in
v
out
C
R
RC s
RC
sCR
sC R
sC
Z R
Z
v
v
C
C
in
out
/ 1
/ 1
1
1
/ 1
/ 1
+
=
+
=
+
=
+
=
Single-Pole Active Filter
Same frequency response as passive
filter.
Buffer amplifier does not load RC
network.
Output impedance is now zero.
v
in
v
out
C
R
Low-Pass and High-Pass
Designs
High Pass Low Pass
) / 1 ( ) / 1 (
1
1
1
1
1
RC s
s
RC s RC
sRC
sCR
sRC
sCR
v
v
in
out
+
=
+
=
+
=
+
=
RC s
RC
v
v
in
out
/ 1
/ 1
+
=
To understand Bode plots, you need to
use Laplace transforms!
The transfer function
of the circuit is:
1
1
/ 1
/ 1
) (
) (
+
=
+
= =
sRC sC R
sC
s V
s V
A
in
o
v
R
V
in
(s)
Break Frequencies
Replace s with je in the transfer function:


where f
c
is called the break frequency, or corner
frequency, and is given by:
|
|
.
|

\
|
+
=
+
=
+
=
b
v
f
f
j
RCf j RC j
f A
1
1
2 1
1
1
1
) (
t e
RC
f
c
t 2
1
=
Corner Frequency
The significance of the break frequency is that
it represents the frequency where
A
v
(f) = 0.707Z-45.
This is where the output of the transfer function
has an amplitude 3-dB below the input
amplitude, and the output phase is shifted by
-45 relative to the input.
Therefore, f
c
is also known as the 3-dB
frequency or the corner frequency.
Bode plots use a logarithmic scale for
frequency.


where a decade is defined as a range of
frequencies where the highest and lowest
frequencies differ by a factor of 10.
10 20 30 40 50 60 70 80 90 100 200
One decade
Consider the magnitude of the transfer
function:

Expressed in dB, the expression is
( )
2
/ 1
1
) (
b
v
f f
f A
+
=
( )
( ) ( ) | |
( )
b
b b
b
dB
v
f f
f f f f
f f f A
/ log 20
/ 1 log 10 / 1 log 20
/ 1 log 20 1 log 20 ) (
2 2
2
=
+ = + =
+ =
Look how the previous expression
changes with frequency:
at low frequencies f<< f
b
, |Av|
dB
= 0 dB
low frequency asymptote
at high frequencies f>>f
b
,
|Av(f)|
dB
= -20log f/ f
b

high frequency asymptote
Magnitude
20 log P e ( ) ( )
.
e
rad
sec
0.1 1 10 100
60
40
20
0
arg P e ( ) ( )
deg
e
rad
sec
0.1 1 10 100
100
50
0
Actual response curve
High frequency asymptote
3 dB
Low frequency asymptote
Note that the two
asymptotes intersect at f
b

where
|Av(f
b
)|
dB
= -20log f/ f
b

The technique for approximating a filter
function based on Bode plots is useful
for low order, simple filter designs
More complex filter characteristics are
more easily approximated by using some
well-described rational functions, the
roots of which have already been
tabulated and are well-known.
Real Filters
The approximations to the ideal filter are
the:
Butterworth filter
Chebyshev filter
Cauer (Elliptic) filter
Bessel filter
Standard Transfer Functions
Butterworth
Flat Pass-band.
20n dB per decade roll-off.
Chebyshev
Pass-band ripple.
Sharper cut-off than Butterworth.
Elliptic
Pass-band and stop-band ripple.
Even sharper cut-off.
Bessel
Linear phase response i.e. no signal distortion in
pass-band.
Butterworth Filter
The Butterworth filter magnitude is defined by:
where n is the order of the filter.
( )
2 / 1
2
1
1
) ( ) (
n
j H M
e
e e
+
= =
From the previous slide:
for all values of n
For large e:
1 ) 0 ( = M
2
1
) 1 ( = M
n
M
e
e
1
) ( ~

And
implying the M(e) falls off at 20n db/decade for large values
of e.
e
e e
10
10 10 10
log 20
log 20 1 log 20 ) ( log 20
n
M
n
=
=
T1
i
T2
i
T3
i
w
i
1000
0.1 1 10
0.01
0.1
1
10
20 db/decade
40 db/decade
60 db/decade
To obtain the transfer function H(s) from the magnitude
response, note that
( )
n
j H j H j H M
2
2
2
1
1
) ( ) ( ) ( ) (
e
e e e e
+
= = =
Because s = je for the frequency response, we have s
2
= e
2
.
The poles of this function are given by the roots of
( )
( )
n
n n
s
s
s H s H
2
2
1 1
1
1
1
) ( ) (
+
=
+
=
( ) n k e s
k j n
n
2 , , 2 , 1 , 1 1 1
) 1 2 ( 2
= = = +
t
The 2n pole are:
s
k
=
e
j[(2k-1)/2n]t
n even, k = 1,2,...,2n


e
j(k/n)t
n odd, k = 0,1,2,...,2n-1

Note that for any n, the poles of the normalized Butterworth
filter lie on the unit circle in the s-plane. The left half-plane
poles are identified with H(s). The poles associated with
H(-s) are mirror images.
Recall from complex numbers that the rectangular form
of a complex can be represented as:
Recalling that the previous equation is a phasor, we can
represent the previous equation in polar form:
jy x z + =
( ) u u sin cos j r z + =
where
u u sin cos r y and r x = =
Definition: If z = x + jy, we define e
z
= e
x+ jy
to be the
complex number
Note: When z = 0 + jy, we have
which we can represent by symbol:
e
ju
) sin (cos y j y e e
x z
+ =
) sin (cos y j y e
jy
+ =
) sin (cos u u
u
j e
j
+ =
The following equation is known as Eulers law.
Note that
( ) ( )
( ) ( ) function odd
function even
u u
u u
sin sin
cos cos
=
=
) sin (cos u u
u
j e
j
=

This implies that


This leads to two axioms:
2
cos
u u
u
j j
e e

+
=
and
j
e e
j j
2
sin
u u
u

=
Observe that e
ju
represents a unit vector
which makes an angle u with the
positivie x axis.
Find the transfer function that corresponds to a third-order
(n = 3) Butterworth filter.
Solution:
From the previous discussion:
s
k
= e
jkt/3
, k=0,1,2,3,4,5
Therefore,
3 / 5
5
3 / 4
4
3
3 / 2
2
3 /
1
0
0
t
t
t
t
t
j
j
j
j
j
j
e s
e s
e s
e s
e s
e s
=
=
=
=
=
=
p
1
1 p
6
1
p
2
.5 0.8668j
.
p
5
.5 0.866j
.
p
3
.5 0.866j
.
p
4
.5 0.866j
.
The roots are:
Im p
i
Re p
i
2 0 2
2
2
Using the left half-plane poles for H(s), we get
H s
s s j s j
( )
( )( / / )( / / )
=
+ + + +
1
1 1 2 3 2 1 2 3 2
which can be expanded to:
H s
s s s
( )
( )( )
=
+ + +
1
1 1
2
The factored form of the normalized
Butterworth polynomials for various
order n are tabulated in filter design
tables.
n
Denominator of H(s) for Butterworth Filter
1 s + 1
2 s
2
+ 1.414s + 1
3 (s
2
+ s + 1)(s + 1)
4 (s
2
+ 0.765 + 1)(s
2
+ 1.848s + 1)
5 (s + 1) (s
2
+ 0.618s + 1)(s
2
+ 1.618s + 1)
6 (s
2
+ 0.517s + 1)(s
2
+ 1.414s + 1 )(s
2
+ 1.932s + 1)
7 (s + 1)(s
2
+ 0.445s + 1)(s
2
+ 1.247s + 1 )(s
2
+ 1.802s + 1)
8 (s
2
+ 0.390s + 1)(s
2
+ 1.111s + 1 )(s
2
+ 1.663s + 1 )(s
2
+ 1.962s + 1)
Frequency Transformations
So far we have looked at the Butterworth filter
with a normalized cutoff frequency
e
c
rad = 1 / sec
By means of a frequency transformation, we
can obtain a lowpass, bandpass, bandstop, or
highpass filter with specific cutoff frequencies.
Lowpass with Cutoff Frequency
e
u

Transformation:
s s
n u
= / e
Highpass with Cutoff Frequency
e
l

Transformation:
s s
n l
= e /
Bandpass with Cutoff
Frequencies e
l
and e
u
Transformation:
s
s
Bs B
s
s
n
=
+
= +
F
H
G
I
K
J
2
0
2
0
0
0
e e
e
e
where
e e e
e e
0
=
=
u l
u l
B
Bandstop with Cutoff
Frequencies e
l
and e
u
Transformation:
s
Bs
s
B
s
s
n
=
+
=
+
F
H
G
I
K
J
2
0
2
0
0
0
e
e
e
e

Вам также может понравиться