CT Filters & Freq Resp
CT Filters & Freq Resp
CT Filters & Freq Resp
1/14
Ideal Filters
Often we have a scenario where part of the input signals spectrum comprises
what we want and part comprises something we do not want. We can use a
filter to remove (or filter out) the bad part.
x (t )
y (t )
H()
Called a Filter in this case
X ( )
Case #1:
Undesired
Part
Spectrum of the
Input Signal
H ( )
Mathematically:
1,
H ( )
0, otherwise
A filter that
passes
low
frequencies
is called a
low-pass
filter
Passband
Stopband
2/14
Case #2:
Input Signal
Spectrum
Undesired
Part
X ( )
We then want:
H ( )
0,
H ( )
1, otherwise
A filter that
passes
high
frequencies
is called a
high-pass
filter
Stopband
Passband
3/14
X ( )
Case # 3:
Undesired Part
H ( )
X ( )
Case #4:
Desired Part
H ( )
4/14
xg (t )
y ( t ) x g ( t td )
H()
Y ( ) X g ( )e
jt d
H ( ) e jtd 1
H ( ) e
jtd
td
For in the
pass band
of the filter
Line of slope td
Linear Phase
5/14
p2()
1e jtd ,
H ( )
0, otherwise
H ( ) p2 ( )e jtd
H ( )
Slope = t d
Summary of Ideal Filters
0 0e j
0 ?
1. Magnitude Response:
a. Constant in Passband
b. Zero in Stopband
2. Phase Response
a. Linear in Passband (negative slope = delay)
b. Undefined in Stopband
6/14
1 Hz
2 Hz
3 Hz
Filter has
Non-Linear Phase
7/14
jtd
2 p2 ( )
Linear Phase
Imparts Delay
y(t)
Ideal
LPF
t
Starts before input starts
Thus, system is non-causal!
8/14
10 log 10
P2
bel
decibel
Know
These!
P1/P2
(non-dB)
P1/P2
(dB)
1000 = 103
30 dB
30 dB is P ratio of 1000
100 = 102
20 dB
20 dB is P ratio of 100
10 = 101
10 dB
10 dB is P ratio of 10
1 = 100
0 dB
0.1 = 10-1
10 dB
0.01 = 10-2
20 dB
0.001 = 10-3
30 dB
0 dB is P ratio of 1
9/14
A cos(0t )
Input voltage amplitude
h(t)
H()
=A
| H (0 ) |
Convert to Powers
Input Power = A2/2
Output Power = A2|H(0)|2/2
A H (0 ) cos(0t H (0 ))
Output voltage amplitude = A|H(0)|
A H ( ) / 2
Pout
10 log10
10 log10
2
A /2
Pin
10 log10 H ( )
20 log10 H ( )
20 log10(|H()|)
Log Axis:
1000
2000
0 0
10
3000
4000
4
6
20
10
6000
10
5000
f (Hz)
80
60
8000
10
f (Hz)
40
7000
10
9000
10000
10
200
100
Input Signal
v(t)
Ae
1
jC
Ae
R
1/jC
Here
use
Voltage
Divider.
Z c ( )
1
x
x
R Z c ( )
1 j RC
1
H ( )
1
j
RC
12/14
|H(f)|
0.5
0
0
1000
2000
3000
4000
1000
2000
3000
4000
5000
f (Hz)
6000
7000
8000
9000 10000
5000
6000
7000
8000
9000
<H(f)
0
-0.5
-1
-1.5
f (Hz)
10000
RC=1.5915e-4;
f=0:10:10000;
H=1./(1 + j*2*pi*f*RC);
subplot(2,1,1)
plot(f,abs(H))
grid
xlabel('f (Hz)')
ylabel('|H(f)|')
subplot(2,1,2)
plot(f,angle(H))
grid
xlabel('f (Hz)')
ylabel('<H(f)')
|H(f)| (dB)
-5
-10
-15
-20
-25 0
10
10
10
f (Hz)
10
10
<H(f)
-0.5
-1
-1.5 0
10
10
10
f (Hz)
10
10
RC=1.5915e-4;
f=1:10:10000;
H=1./(1 + j*2*pi*f*RC);
subplot(2,1,1)
semilogx(f,20*log10(abs(H)))
grid
Use
xlabel('f (Hz)')
20
ylabel('|H(f)|')
here!
subplot(2,1,2)
semilogx(f,angle(H))
grid
xlabel('f (Hz)')
ylabel('<H(f)')
14/14