Professional Documents
Culture Documents
Topic 5:
Transform-Domain Systems
1. Frequency Response (FR)
2. Transfer Function (TF)
3. Phase Delay and Group Delay
1
1. Frequency Response (FR)
Fourier analysis expresses any
signal as the sum ofsinusoids
e.g. IDTFT: x n X e e d
j jn
hk e j 0 k
e j 0 n H(ejw)
k = |H(ejw)|ejq(w)
yn H e j 0
x n H e j 0 e j 0 n 0
4
Real Sinusoids
In practice signals are real e.g.
xn A cos0 n
X(ejw)
A
2
e
j 0 n
e j 0 n
A2 e j e j0 n A2 e j e j0 n
- w0 w0
w
yn A e j H
2 e e j 0 j 0 n
A e j H
2 e j 0
e j 0 n
5
Real Sinusoids
Acos(w0n+f) h[n] |H(ejw0)|Acos(w0n+f+q(w0))
6
Transient / Steady State
Most signals start at a finite time e.g.
j 0 n
x n e What n is the effect?
n
yn hn x n hk e j 0 nk
k
hk e j 0 nk
hk e j 0 nk
k kn
H e
j 0
e j 0 n
kn
hk e j 0 k e j 0 n
7
Transient / Steady State
j 0 n
x n e n transient
yn H e
j 0
e j 0 n
kn
hk e j 0 k
e j 0 n
8
FR example
1 M 1
MA filter yn 0 x n
M
x n hn
-1 1 2 3 4 5 6 n
H e j DTFT hn
M 1 jn
hne jn
1
e
n M n0
1 1 e 1 j M 1 / 2 sin M /2
jM
j
e
M 1 e M sin /2
9
FR example
MA filter: H e
j 1
M
e j M 1 / 2 sin M / 2
sin / 2
H e
j
1 sin M / 2
M sin / 2
M 1
2 r
(jumps at sign changes:
r=Mw/2p)
11
2. Transfer Function (TF)
Linking LCCDE, ZT & Freq. Resp...
N M
LCCDE: k0 d k yn k k0 pk x n k
Take ZT: k d k z kY z pk z k X z
k
Y z k
pk z k
X z
Hence:
k d k z k
Transfer
function
or: Y z H z X z H(z)
12
Transfer Function (TF)
Alternatively, yn hn x n
ZT Y z H z X z
pk z k ... if system
Note:same H(z) d k z k
has DE form
n
hnz n
... from IR
13
Transfer Function (TF)
Hence, MA filter:
M 1 1 0n M
yn 1 x n hn M
M 0 0 o.w.
M 1 n
H z 1
M n0
z Im{z}
M
1 z zM=1 i.e.
M 1 z
1
M roots of 1
@ z=ejrp/M
1
Re{z}
z M 1
M 1 ROC?
M z z 1 pole @ z=1 z-plane
cancels
14
TF example
y[n] = x[n-1] - 1.2 x[n-2] + x[n-3]
+ 1.3 y[n-1] - 1.04 y[n-2] + 0.222 y[n-3]
Y z z 1 1.2z 2 z 3
H z
X z 1 1.3z 1 1.04z 2 0.222z 3
factorize:
H z
z 1 1 0 z 1 1 0* z 1 z0 = 0.6+j0.8
l0 = 0.3
1 0 z 1 1z
1 1 * 1
1 1 z l1 = 0.5+j0.7
15
TF example
H z
z1 0 z
1 1
* 1
1 0 z
0 1 1z
1 z 1
1 z 1
1 * 1 Im{z}
z0
l1
Re{z}
l0
1
l*1
Poles li ROC z*0
causal ROC is |z| > max|li|
includes u.circle stable
16
TF FR
DTFT H(ejw) = ZT H(z)|z = ejw
i.e. Frequency Response is
Transfer Function eval’d on Unit Circle
M M
factor:
p0 1 k z 1
p0 z M
z k
H z k1
k1
k1
N N
d0 1 k z 1
d0 z z k
N
k1
M
p0 j NM k1 e k
j
H e
j
e
k1
N
d0 e k
j
17
TF FR
p0 j NM k1 e k
M j zi, li are
H e e
j
TF roots
k1 e k
N
d0 j on z-plane
M
p0 k1 e k
j
H e
j
N
d0 e j
Magnitude
response
k1 k
p0
arg N M Phase
d0 response
M N
arge j
k arge j
k
k1 k1
18
FR: Geometric Interpretation
e k
M
p j
d
Have H e j
0
e j NM k1
k1 e k
N j
0
Constant/
linear part Product/ratio of terms
related to poles/zeros
On z-plane:
Im{z} Each (ejw - n) term corresponds
to a vector from pole/zero n to
ejw-zi point ejw on the unit circle
ejw-li ejw
Overall FR is product/ratio of
all these vectors
Re{z}
19
FR: Geometric Interpretation
Im{z}
Magnitude |H(ejw)| is product of
lengths of vectors from zeros
zi
divided by product of lengths
li
ejw-zi of vectors from poles
ejw-li ejw
Phase q(w) is sum of angles of
Re{z}
vectors from zeros
minus sum of angles of
vectors from poles
20
FR: Geometric Interpretation
Magnitude and phase of a single zero:
22
Geom. Interp. vs. 3D surface
3D magnitude surface for same system
23
Geom. Interp: Observations
Roots near unit circle
rapid changes in magnitude & phase
zeros cause mag. minima (= 0 on u.c.)
poles cause mag. peaks ( 1÷0= at u.c.)
rapid change in relative angle phase
Pole and zero ‘near’ each other
cancel out when seen from ‘afar’;
affect behavior when z = ejw gets ‘close’
24
Filtering
Idea: Separate information in frequency
with constructed H(ejw)
e.g. x n A cos1n B cos 2 n
interested don’t care about
in this part this part
Construct a filter: X(ejw) “filtered
|H(ejw1)| ~ 1 out”
H(e jw
) w
|H(e 2)| ~ 0
jw
-w2 -w1 w1 w2
Then yn hn x n A cos1n 1
25
Filtering example b
a a
3 pt FIR filter h[n] = {a b a} -2 -1 1 2 3 4
n
mix of w1 = 0.1 rad/samp to remove
i.e. make
and w2 = 0.4 rad/samp jw
H(e 1) = 0
H e
j
h n e
n
jn
e j
e 2 j
e j e j e j
e j 2 cos
H e 2 cos
j
want = 1 at w = 0.4
= 0 at w = 0.1 ...
b = 13.46, a = -6.76...
26
M
Filtering example
Filter
IR
Freq.
resp
input/
output
27
3. Phase- and group-delay
For sinusoidal input x[n] = cosw0n,
we saw yn H e
j 0
cos 0 n 0
gain phase shift
0 or time shift
i.e. cos 0 n
0 subtraction so
positive tp means
or cos 0 n p 0 delay (causal)
where p isphase delay
28
Phase delay example
b
For our 3pt filter: a a
-2 -1 1 2 3 4 n
e
H e j j
2 cos
p 1
i.e. 1 sample delay (at all frequencies)
(as observed)
29
Group Delay
Consider a modulated carrier
e.g. x[n] = A[n]·cos(wcn)
with A[n] = Acos(wmn) and wm << wc
30
X(ejw)
Group Delay
wc wc
-wm +wm
So: x[n] = Acos(wmn)·cos(wcn) wc w
A2 cos c m n cos c m n
Now: yn hn x n
H e j c m cos n
A c m
2 H e j c m cos c m n
Assume |H(ejw)| ~ 1 around wcwm
but q(wc-wm) = ql ; q(wc+wm) = qu ...
31
Group Delay
cos c m n l
yn A2
cos c m n u
u l u l
A cos c n cos m n
2 2
phase shift phase shift
of carrier of envelope
32
Group Delay
If q(wc) is locally linear i.e. d
q(wc+Dw) = q(wc) + SDw, S d
c
l u
Then carrier phase shift c
2
c
so carrier delay , phase
p delay
c
u l
Envelope phase shift m S
d 2
delay g c group delay
d c
33
Group Delay
n
wc tg, group w
tp, phase delay
delay q( w )
If q(w) is not linear around wc, A[n]
suffers “phase distortion” correction...
34
exercise
35