Introduction To Filters
Introduction To Filters
Passive Analog Filters
Bandpass Pass Filter
We can make a bandpass from the previous equation and select
the poles where we like. In a typical case we have the following shapes.
0
0 dB
-3 dB
lo
hi
.
. .
.
1
0.707
Bode
Linear
lo
hi
Passive Analog Filters
Bandpass Pass Filter
Example
Suppose we use the previous series RLC circuit with output across R to
design a bandpass filter. We will place poles at 200 rad/sec and 2000 rad/sec
hoping that our 3 dB points will be located there and hence have a bandwidth
of 1800 rad/sec. To match the RLC circuit form we use:
2
2200 2200 2200
( 200)( 2000) 2200 400000
200 2000(1 )(1 )
200 2000
s s s
s s
s s s s
x
The last term on the right can be finally put in Bode form as;
0.0055
(1 )(1 )
200 2000
jw
jw jw
Passive Analog Filters
Bandpass Pass Filter
Example
From this last expression we notice from the part involving the zero we
have in dB form;
20log(.0055) + 20logw
Evaluating at w = 200, the first pole break, we get a 0.828 dB
what this means is that our 3dB point will not be at 200 because
we do not have 0 dB at 200. If we could lower the gain by 0.829 dB
we would have 3dB at 200 but with the RLC circuit we are stuck
with what we have. What this means is that the 3 dB point will
be at a lower frequency. We can calculate this from
200
log 20 0.828
low
dB
x dB
w dec
Passive Analog Filters
Bandpass Pass Filter
Example
This gives an w
low
= 182 rad/sec. A similar thing occurs at w
hi
where
the new calculated value for w
hi
becomes 2200. These calculations
do no take into account a 0.1 dB that one pole induces on the other
pole. This will make w
lo
somewhat lower and w
hi
somewhat higher.
One other thing that should have given us a hint that our w
1
and w
2
were not going to be correct is the following:
1 2
2
2
1 2 1 2
( )
1
( ( ) )
( )
R
s
w w s
L
R
s w w s w w
s s
L LC
What is the problem with this?
Passive Analog Filters
Bandpass Pass Filter
Example
The problem is that we have
1 2 2 1
( )
R
w w BW w w
L
Therein lies the problem. Obviously the above cannot be true and that
is 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 w
1
will be lower than 200 rad/sec and w
2
will be
higher than 2000 rad/sec.
Frequency (rad/sec)
P
h
a
s
e
(
d
e
g
)
;
M
a
g
n
i
t
u
d
e
(
d
B
)
Bode Diagrams
-15
-10
-5
0
From: U(1)
10
2
10
3
10
4
-100
-50
0
50
100
T
o
:
Y
(
1
)
-3 dB
-5 dB
Passive Analog Filters
A Bandpass Digital Filter
Perhaps going in the direction to stimulate your interest in taking a course
on filtering, a 10 order analog bandpass butterworth filter will be
simulated 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)
grid
xlabel('Amplitude')
ylabel('frequency (rad/sec)')
title('10th order Butterworth filter')
A Bandpass Filter
RLC Band stop Filter
Consider the circuit below:
R
L
C
+
_
V
O
+
_
V
i
The transfer function for V
O
/V
i
can be expressed as follows:
) (s G
v
LC
s
L
R
s
LC
s
s G
v
1
1
) (
2
2
This is of the form of a band stop filter. We see we have complex zeros
on the jw axis located
RLC Band Stop Filter
Comments
LC
j
1
From the characteristic equation we see we have two poles. The poles
an 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.
RLC Band Stop Filter
Example
Design a band stop filter with a center frequency of 632.5 rad/sec
and having poles at 100 rad/sec and 3000 rad/sec.
The transfer function is:
300000 3100
300000
2
2
s s
s
We now write a Matlab program to simulate this transfer function.
RLC Band Stop Filter
Example
num = [1 0 300000];
den = [1 3100 300000];
w = 1 : 5 : 10000;
Bode(num,den,w)
RLC Band Stop Filter
Example
Bode
Matlab
V
i n
V
O
C
R
fb
+
_
+
_
R
in
Basic Active Filters
Low pass filter
Basic Active Filters
R
i n
C
V
in
R
fb
V
O
+
_
+
_
High pass
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
Basic Active Filters
V
i n
R
1
R
1
C
1
C
2
R
2
R
i
R
fb
V
O
+
_
+
_
Band stop filter