Beruflich Dokumente
Kultur Dokumente
Mark Fowler
Note Set #34
D-T Systems: Z-Transform Solving Difference Eqs. & Transfer Func. Reading Assignment: Sections 7.4 7.5 of Kamen and Heck
1/16
Ch. 2 Convolution
C-T System Model Convolution Integral D-T System Model Convolution Sum
Note the ideas here are very much like what we did with the Laplace Transform for CT systems.
3/16
Using these results gives: Y ( z ) + a z 1Y ( z ) + y[ 1] = bX ( z ) Which is an algebraic equation that can be solved for Y(z):
b ay[ 1] Y ( z) = X ( z) + 1 1 1 + az 1 + az
Not the best form for doing Inverse ZT we want things in terms of z not z-1
Ex.: Solving a Difference Equation using ZT: 1st-Order System w/ Step Input z For x[n ] = u[n ] X ( z ) = z 1 Then using our general results we just derived we get:
Y ( z) =
ay[1]z bz z + z+a z + a z 1
For now assume that a -1 so we dont have a repeated root. Then doing Partial Fraction Expansion we get (and we have to do the PFE by hand because we dont know a but it is not that hard!!!)
n = 0, 1, 2,...
Input-Driven Output 2 Terms: 1st term decays (Transient) 2nd term persists (Steady State)
6/16
Solving a Second-order Difference Equation using the ZT The Given Difference Equation:
Assume that the input is causal Assume you are given ICs: y[-1] & y[-2] Find the system response y[n] for n = 0, 1, 2, 3, Take the ZT using the non-causal right-shift property:
Y ( z ) + a1 (z 1Y ( z ) + y[ 1]) + a2 (z 2Y ( z ) + z 1 y[ 1] + y[ 2]) = b0 X ( z ) + b1 z 1 X ( z )
a1 y[ 1] a2 y[ 1]z 1 a2 y[ 2] b0 + b1 z 1 + Y ( z) = X ( z) 1 2 1 2 1 + a1 z + a2 z 1 + a1 z + a2 z
Due to ICs decays if system is stable
H(z)
a1 y[ 1] a2 y[ 1]z 1 a2 y[ 2] A Bz 1 Yzi ( z ) = = 1 2 1 + a1 z + a2 z 1 + a1 z 1 + a2 z 2
Multiply top and bottom by z2:
Az 2 + Bz Yzi ( z ) = 2 z + a1 z + a2
Now to do an inverse ZT on this requires a bit of trickery Take the bottom two entries on the ZT table and form a linear combination:
a = a2 C1 = A
So all of this machinery leads to the insight that the IC-Driven transient of a second-order system will look like this:
y zi [n ] = Ca n cos(o n + )u[n ]
where: 1. The frequency 0 and exponential a are set by the Characteristic Eq. 2. The amplitude C and the phase are set by the ICs
Note: If |a2| < 1 then we get a decaying response!!
9/16
a = a2
a1 0 = cos 2 a2
1
Contains x[n], x[n-1], If this system is causal, we wont have x[n+1], x[n+2], etc. here
C ( z ) B( z ) Y ( z) = + X ( z) A( z ) A( z )
H(z) transfer function Transient part due to ICs
10/16
H ( z) =
bn z n + bn 1z n 1 + + b1 z + b0 z n + an 1 z n 1 + + a1z + a0
H ( ) = H ( z ) | z = e j
11/16
Z / Freq Domain
Transfer Transfer Function Function
Input-Output Form
Y (z) 1 z = X (z)
1
Y ( z) H ( z) = = 1 X ( z) 1 z
z H ( z) = z
12/16
z = e j z 1 = e j
On Unit Circle
H ( z) = 1 z 1
z 1 = e j
Transfer Transfer Function Function Unit Circle Frequency Frequency Response Response
H ( ) = 1 e j ( , ]
13/16
[1 cos()] + [ sin()]
2
14/16
Z/Freq Domain
Pole/Zero Pole/Zero Diagram Diagram
Im{z}
z H ( z) = = 1 1 z z
Zero Num. = 0 When z = 0 Pole Den. = 0 When z = If < 1: Inside UC If > 1: Outside UC
15/16
Z / Freq Domain
H ( z) = 1 z 1
Transfer Transfer Function Function
h(n) =
ZT Unit Circle
DTFT
H ( ) = 1 e j ( , ]
16/16