Documente Academic
Documente Profesional
Documente Cultură
Background:
lowpass highpass
bandpass bandstop
Passive Analog Filters
Background: Realistic Filters:
lowpass highpass
bandpass bandstop
Passive Analog Filters
Low Pass Filter Consider the circuit below.
R +
+
VI C VO
_
_
1
VO ( jw) jwC 1
Vi ( jw) R 1 1 jwRC
jwC
Passive Analog Filters
Low Pass Filter
0 dB
-3 dB . Bode
1
x
0.707 Linear Plot
0 1/RC
Passive Analog Filters
High Pass Filter Consider the circuit below.
+
C
+
Vi R
_ VO
_
VO ( jw) R jwRC
Vi ( jw) R 1 1 jwRC
jwC
Passive Analog Filters
High Pass Filter
0 dB
. -3 dB
Passes high frequencies
Bode
1/RC Attenuates low frequencies
1/RC
1
0.707 x.
Linear
0 1/RC
Passive Analog Filters
Bandpass Pass Filter Consider the circuit shown below:
C L +
+
Vi R VO
_
_
R
VO ( s) s
L
Vi ( s) s2 R s 1
L LC
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 dB
-3 dB
. . Bode
lo hi
1 . .
0.707
Linear
0 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:
0.0055 jw
jw jw
(1 )(1 )
200 2000
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
R
s
L ( w1 w2 )s
2
) ( s ( w1 w2 )s w1w2 )
R 1
( s2 s
L LC
What is the problem with this?
Passive Analog Filters
Bandpass Pass Filter Example
The problem is that we have
R
w1 w2 BW ( w2 w1 )
L
Therein lies the problem. Obviously the above cannot be true and that
is why we have aproblem at the –3 dB points.
From: U(1)
0
-3 dB
-5 dB -5
Phase (deg); Magnitude (dB)
-10
-15
100
50
To: Y(1)
-50
-100
2 3 4
10 10 10
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
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
Vi VO
_
Gv (s)
C
_
1
2
s
Gv ( s) LC
R 1
s2 s
L LC
RLC Band Stop Filter
Comments
This is of the form of a band stop filter. We see we have complex zeros
on the jw axis located
1
j
LC
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.
s 2 300000
s 2 3100 s 300000
num = [1 0 300000];
w = 1 : 5 : 10000;
Bode(num,den,w)
RLC Band Stop Filter
Example
Bode
Matlab
FIR filtering
• Finite Impulse Response (FIR) filters use past
input samples only
• Example:
• y(n)=0.1x(n)+0.25x(n-1)+0.2x(n-2)
• Z-transform: Y(z)=0.1X(z)+0.25X(z) z^(-
1)+0.2X(z)(z^-2)
• Transfer function: H(z)=Y(z)/X(z)=0.1+0.25z^(-
1)+0.2(z^-2)
• No poles, just zeroes. FIR is stable
IIR Filtering
• Infinite Impulse Response (IIR) filters use
past outputs together with past inputs
https://en.wikipedia.org/wiki/Window_function