Documente Academic
Documente Profesional
Documente Cultură
Outline
Introduction to the z-Transform Properties of the ROC of the z-Transform z Transform Inverse z-Transform Properties of the z Transform z-Transform System Functions of DT LTI Systems o Causality o Stability Geometric Evaluation of z-Transforms and DT Frequency Responses FirstFirst and Second-Order Systems Second Order System Function Algebra and Block Diagrams Unilateral z-Transforms z Transforms
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
The z-Transform
Motivation: Analogous to Laplace Transform in CT
x[n]
We now do not restrict ourselves just to z = ej
H ( z)
y[n] = H ( z ) { z
H ( z) =
n =
h[n]z n
assuming it converges
x[n] X ( z ) =
Z
n =
x[n]z n = Z {x[n]}
X (re j ) =
n =
x[n](re j ) n =
n =
( x[n]r n )e jn
= F { x[ n]r n }
ROC = z = re j at which
| x[n]r
n =
| <
depends only on r = |z|, just like the ROC in s-plane only depends on Re(s) y p () Unit circle (r = 1) in the ROC DTFT X(ej) exists
Example #1 p
X ( z) =
This form for PFE and inverse ztransform
n =-
a n u[n]z n
n =0
1 (az 1 ) n
1 z = 1 az 1 z a
This form to find pole and zero locations
Example #2:
X (z) =
{ a
n =
u [ n 1 ]z
n
anz
n
n =1
=1
n =
(a
n=0
1 a 1 z = 1 = 1 1 1 a z a z 1 z = , za
Rational z-Transforms
x[n] = linear combination of exponentials for n > 0 and for n < 0
X ( ) is rational (z N ( z) X(z) = D( z )
Polynomials in z
The z-Transform
Z x [ n ] X ( z ) =
ROC = z = re
n =
x [ n] z
n =
= Z { x [ n ]}
n
at which
| x [n ]r
|<
-depends only on r = | | j like the ROC in s-plane d d l |z|, just lik h i l only depends on Re(s) Last time: o Unit circle (r = 1) in the ROC DTFT X (e j ) exists o Rational transforms correspond to signals that are linear combinations of DT exponentials
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
Let t=nT
= lim
T 0
n =
x ( nT ) ( e sT ) n T 123
x [n
= lim T
T 0
x [n ]( e
sT
n =
n =
x[n]z n = z{x[n]}
z = e sT
LHP in s-plane, Re(s) < 0|z| = | esT| < 1, inside the |z| = 1 circle. Special case, Re(s) = - |z| = 0. RHP in s-plane, Re(s) > 0|z| = | esT| > 1, outside the |z| = 1 circle. Special case, Re(s) = + |z| = . A vertical line in s-plane, Re(s) = constant| esT| = constant, a circle in z-plane.
10
11
X ( z) =
Examples:
n = N1
N2
x[n]z n
CT counterpart
12
n = N1
x[n] r1n
n = N1
13
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
x[n] r0n
Side by Side
(5) If x[n] is a left-sided sequence, and if |z| = ro is in the ROC, then all finite values of z for which 0 < |z| < ro are also in the ROC. (6) If x[n] is two-sided, and if |z| = ro is in the ROC, then the ROC consists of a ring in the z-plane including the circle |z|| = ro. g p g | What types of signals do the following ROC correspond to?
right-sided
14
left-sided
two-sided
Example #1 p
x[n] = b|n| ,
b>0
x[n] = b n u[n] + b n u[ n 1]
Example #1 continued p
1 1 1 X ( z) = , b< z < + 1 1 1 b 1 bz 1 b z
Clearly, Clearly ROC does not exist if b > 1 No z-transform for b|n|. z transform
16
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
Inverse z-Transforms
X ( z ) = X (re j ) = {x[n]r n }, z = re j ROC
x[n]r n = F 1{ X (re j )} = 1 2
X (re j )e jn d
x[n] =
1 2
j X (re j )r n2n d e3 1 2 zn
1 1 z dz j
x[n] =
17
1 2j
X ( z ) z n1dz
Example #2 p
5 1 z A B 6 X (z) = = = + 1 1 1 1 1 1 1 1 1 1 z 1 z z 1 z 1 z 1 z 4 3 4 3 4 3 3z 2 3 5 z 6
A = 1, B = 2
Note, particular to z-transforms: 1) When finding poles and zeros, express X(z) as a function of z. 2) When doing inverse z-transform using PFE, express 1 X(z) as a function of z-1.
18
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
Example #2 (Continued) p ( )
ROC III: z >
1 3
n
3
n
1 x1 [n ] = u [n ] 4 1 x 2 [n ] = 2 u [n ] 3
n
ROC I:
z<
1 4
n
1 x1 [n ] = u [n ] 4 1 x 2 [n ] = 2 u [ n 1] 3
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
19
n =
x[n]z n
x[n] - coefficient of z n
X ( z) x[ 3] x[ 1] x[4] x[n]
3 z 3 -z + 2 z 4
20
Example #4:
(a)
(b) X ( z )
= = =
x[n] = a n u[ n 1]
21
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
Properties of z-Transforms
(1) Time Shifting
x[n n0 ] z n0 X ( z ),
The rationality of X(z) unchanged, different from LT. ROC unchanged except for the possible addition or deletion of the origin or infinity no> 0 ROC z 0 ( (maybe) b ) no< 0 ROC z (maybe) (2) z-Domain Differentiation nx[n] z Derivation: X ( z ) = x[n]z n
dX ( z ) dz =
nx[n]z
n = n =
dX ( z ) dz d
same ROC
n 1
dX ( z ) z = nx[n]z n dx n =
22
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
H ( z) =
H ( z) =
n =
h[n]z n
23
CAUSALITY
(1) h[n] right-sidedROC is the exterior of a circle possibly including z = :
H ( z) =
n = N1
h[n]z n
If N1 < 0, th the rerm h[ N1 ]z N1 at z = then th t ROC outside a circle , but does not include .
Causal N1 0
No zm terms with m>0 =>z= ROC
A DT LTI system with system function H(z) is causal the ROC of H(z) is the exterior of a circle including z =
24
H ( z) =
then
N ( z) D( z )
degreeN ( z ) degreeD ( z )
25
Stability y
LTI System Stable
n =
A causal LTI system with rational system function is stable all poles are inside the unit circle, i.e. have magnitudes < 1
26
Example #2:
X ( z) = M
R
iR=1 z i P=1 z j j
P i j =1
X ( z ) = M +
( z ) ( z )
j i =1
27
a <1
H ( e j ) =
1 1 , H ( e j ) = 1 = , 2 2 2
H (e j ) = 1 2 = 2
28
Second-Order System Two poles that are a complex conjugate pair (z1= rej =z2*)
z2 1 H(z) = = , 0 < r <1, 0 1 2 2 (z z1 )(z z2 ) 1 (2r cos )z + r z 1 sin [(n + 1) ] , h[n] = r n H ( e j ) = j u [n] j j j sin (e re )(e re ) Clearly, |H| peaks near =
29
18
30
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
a y[n k ] = b x[n k ]
N M k k k =0 k =0
k =0
ak z k Y ( z ) =
k =0
bk z k X ( z )
Y ( z) = H ( z) X ( z) H ( z) =
k =0 N
bk z k ak z k
Rational
k =0
ROC: Depends on Boundary Conditions, left-, right-, or two-sided. ROC is outside the outermost pole For Causal Systems
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
31
H ( z) =
Example #1:
H1 ( z) Y ( z) = X ( z) 1 + H1 ( z)H 2 ( z)
H ( z) =
z-1
D Delay
y[n] =
1 1 1 z 1 1 4
1 y[n 1] + x[n] 4
32
Example #2:
1 2 z 1 1 H ( z) = = 1 1 1 2 z 1 1 1 z 1 1 4 z 4
) Cascade of
two systems y
33
Unilateral z-Transform
( z) =
Note: (1) If x[n] = 0 for n < 0, then
n =0
x[n]z n
( z) = X ( z)
UZT of x[n] = BZT of x[n]u[n]ROC always outside a circle (2) and includes z = (3) For causal LTI systems,
H ( z) = H ( z)
34
y[n] = x[n 1] Y( z ) = x 1 + z 1 ( z )
Initial condition
y [n ]z
n
Derivation:
Y(z) =
n=0
x [n 1 ]z
= x [ 1 ] +
= x[ 1] + z 1
x[m]z m m= 10 4243 z
n=0
x [n 1 ]z
n =1
35
1 z 1
Output purely due to the initial conditions, Output purely due to the input. input
36
Sharif University of Technology, Department of Computer Engineering, Signals & Systems
ZIR ZSR
Example (continued)
System is initially at rest: ZSR
Y( z ) = H ( z ) X ( z ) = 1
=0
14 z4 1 23 + 2 1 1 z4 2 3 4 1 1 H ( z) X ( z) 1 H ( z) = H ( z) = 1 + 2z 1
=0
Y ( z) =
1 + 2z 1