Академический Документы
Профессиональный Документы
Культура Документы
SP2 2019
4 Filters
Ideal vs Practical Filters
Quadrature Filter and Hilbert Transform
4 Filters
Ideal vs Practical Filters
Quadrature Filter and Hilbert Transform
−1
−2
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
Square wave
2
−1
−2
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
Triangular wave
0.4
0.2
−0.2
−0.4
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
Z T /2 T0 /2
1 1
Z
0
D E
|v (t)|2 = |A cos 2πf0 t|2 dt cn = A cos 2πfo t × e−j2πfo nt dt
T0 −T0 /2 T0 −T0 /2
A2 T0 /2 A T0 /2
Z Z
=
2
cos 2πft dt = ej2πf0 (1−n)t + ei2πf0 (−1−n)t dt
T0 −T0 /2 2T0 −T0 /2
A T0 /2 A
A2 1
T /2 Z
1
0
= t+ sin 4πf0 t c±1 = ej2πf0 0 dt =
T0 2 8πfo 2T0 −T0 /2 2
−T0 /2
A2
T0
ck = 0, ∀k 6= ±1
= T0 + (sin 2π − sin(−2π))
2T0 4π
A2 ∞
= D E
|v (t)|2 = |cn |2
X
2
n=−∞
A2
= c12 + c−1
2
=
2
4 Filters
Ideal vs Practical Filters
Quadrature Filter and Hilbert Transform
relation specified as
v (t) ←→ V (f )
V (−f ) = V ∗ (f )
|V (−f )| = |V (f )|
→ Re {V (f )} is even. Im {V (f )} is odd.
v (t−td ) ↔ V (f )e−j2πftd ,
0 0 td
V (f ) V (f )e−j2πftd
−2πftd
0
f f
0
1 f
v (αt) ↔ V , α 6= 0.
|α| α
-W 0 W
V f V (3f )
3
3W -W/3 0 W/3
-3W 0
0 0 fc
Modulation theorem:
combine above with Euler’s formula: cos x = 12 (e jx + e −jx )
e jφ e−jφ
v (t) cos(2πfc t + φ) ↔ V (f − fc ) + V (f + fc ).
2 2
t f
0 0
v1 (t ) |V1 (f )|
t
0
−fc fc
Recall: Z ∞
v (t) ∗ w(t) , v (λ)w(t − λ) dλ.
−∞
v (t) ∗ w(t) ↔ V (f )W (f ).
Differentiation:
d
v (t) ↔ j2πf V (f ).
dt
Integration:
t
V (0) 1
Z
v (λ) dλ ↔ δ(f ) + V (f ).
−∞ 2 j2πf
this can be derived using the convolution theorem, from the fact that
Z t
v (λ) dλ = v (t) ∗ u(t),
−∞
rectangle function
(
1
1 |x | < 2
Π(x ) = 1
0 |x | > 2
Fourier relationships:
Π(t) ↔ sinc(f )
Π( τt ) ↔ τ sinc f τ
1 f
sinc 2Wt ↔ 2W Π( 2W )
v (t) ∗ δ(t − td ) = v (t − td )
1 1
u(t) ↔ δ(f ) + .
2 j2πf
The signum function
1,
t >0
sgn(t) = u(t) − u(−t) = 0, t =0.
−1, t < 0
1
sgn(t) ↔ .
jπf
4 Filters
Ideal vs Practical Filters
Quadrature Filter and Hilbert Transform
x(t) y (t)
LTI System
x (t − td ) −→ y (t − td )
y (t) = x 2 (t)
where
h(t) is the impulse response of the system.
Note that ∗ denotes convolution, not multiplication.
! Important: be able to perform convolution.
Taking Fourier transform on both sides, we have:
Y (f ) = X (f )H(f ),
where
x(t) ↔ X (f ) and y (t) ↔ Y (f )
H(f ) is the transfer function, the Fourier transform of h(t).
magnitude response |H(f )|, phase response arg H(f ).
! convolution in time domain is equivalent to multiplication in frequency
domain.
A h j(2πf0 t+φ0 ) i
x (t) = A cos(2πf0 t + φ0 ) = e + e− j(2πf0 t+φ0 )
2
From previous slide, and linearity property, output is:
Ah i
y (t) = |H(f0 )|e j(2πf0 t+φ0 +arg H(f0 )) + |H(−f0 )|e j(−2πf0 t−φ0 +arg H(−f0 ))
2
assume h(t) is real → has Hermitian symmetry:
output:
4 Filters
Ideal vs Practical Filters
Quadrature Filter and Hilbert Transform
|H(f )|
LPF
bw
f
0 W
|H(f )|
HPF
bw
f
0 W
|H(f )|
BPF
bw
f
0 fc − W fc fc + W
|H(f )|
K = max |H(f )|
3 dB
K
√
2
3 dB bandwidth
−j f >0
HQ (f ) = −j × sgn(f ) =
+j f <0
|H(f )| ∠H(f )
π
1 2
f f
- π2
hQ (t) = F −1 {HQ (f )}
1
=
πt
X̂ (f ) = X (f )HQ (f )
= (−j × sgn(f ))X (f )
x (t) = A cos(ω0 t + φ)
X̂ (f ) = −j sgn fX (f )
A
δ(f − f0 )e jφ + δ(f + f0 )e− jφ sgn f
= −j
2
A
δ(f − f0 )e jφ − δ(f + f0 )e− jφ sgn f
=
2j
→ x̂(t) = A sin(ω0 t + φ)
X (−f ) = X ∗ (f )
= 2u(f )
X + (f ) = 2u(f )X (f )
x + (t) = x (t) + j x̂(t)