SigSys - Lect 09 - Introduction To Filters
SigSys - Lect 09 - Introduction To Filters
Filters
Filters
Background:
• Filters may be classified as either digital or analog.
• Analog filters are used to filter out unwanted bands of frequency.
• It may be classified as either passive or active and are usually implemented with
R, L, and C components and operational amplifiers.
• Digital filters
are implemented using a digital computer or special purpose digital
hardware.
A digital filter, in general, is a computational process, or algorithm that
converts one sequence of numbers representing the input signal into another
sequence representing the output signal.
Accordingly, a digital filter can perform functions as differentiation,
integration, estimation, and, of course, like an analog filter, it can filter out
unwanted bands of frequency.
Filters
Background
Signal Filter
V0/Vi
lowpass V0/Vi highpass
w w
w w
Realistic Filters:
lowpass highpass
V0/Vi V0/Vi
w w
w w
Passive Analog Filters
1 1 1
M max 1, M w x
Linear Plot
At w = 0 2 0.707
1
w half power frequency BW
1
0 1/RC w
Simple low-pass filter ( RC L.P.F )
w=0:0.02:10;
RC=1;
magGjw=1./sqrt(1+w.*RC);
semilogx(w,magGjw);
xlabel('Frequency in rad/sec − log scale');
ylabel('Magnitude of Vout/Vin');
title('Magnitude Characteristics of basic RC low−pass filter');
grid
Semi log Curves
60
40
20
-20
-40
-60
0.1 1 10 100 1000
w (rad/sec)
Simple low-pass filter ( RC L.P.F )
w=0:0.02:10;
RC=1;
phaseGjw=−atan(w.*RC).*180./pi;
semilogx(w,phaseGjw);
xlabel('Frequency in rad/sec − log scale');
ylabel('Phase of Vout/Vin − degrees');
title('Phase Characteristics of basic RC low−pass filter');
grid
Simple low-pass filter
RL L.P.F
V0 R 1
Gv
V1 R jwl L
1 jw
R
1
Gv ; L
1 jw R
1 1
M max 1, M w
2
1
M (w ) | Gv |
1 w 2 1
w half power frequency
Gv (w ) tan 1 w
1
BW
Simple high-pass filter
RC H.P.F
V0 R jwCR
Gv
V1 R 1 1 jwCR
jwC
0 dB
Gv
jw
1 jw
; RC . -3 dB
Bode
w
M (w ) | Gv | 1/RC
1 w
2
1 1/RC w
Gv (w ) tan 1 w tan 1
2 w 1
0.707 x.
1 1
M max 1, M w
2 Linear
1
w half power frequency
w
0 1/RC
Simple high-pass filter
RC H.P.F
Simple high-pass filter
RL H.P.F
V0 jwL jwL / R
Gv
V1 R jwL 1 jwL / R
jw
Gv ; L/ R 1 1
1 jw M max 1, M w
2
1
w w half power frequency
M (w ) | Gv |
1 w 2
Gv (w ) tan 1 w
2
Simple band-pass filter
V R 1
Gv 0 M (w LO ) M (w HI )
V1 1 2
R j wL
w C
wRC ( R / L) R / L2 4w 20
M (w ) w LO
2 2
wRC 2 w 2 LC 1
( R / L) R / L2 4w 20
w HI
1 M (w 0) M (w ) 0 2
Mw 1
LC R
BW w HI w LO
w0
1 L
LC
Simple band-pass filter
RLC Band−Elimination Filter
For Example if :
w=0:0.02:100;
magG=abs((w.^2−1)./(w.^2−j.*w−1);
semilogx(w,magG);
grid
Active Filters
fC
Q
fH fL
Design of Low Pass Active Filters
V0 RF / R1
T .F .
C2 Vin 1 jwRF C