Chapter 11 - z Selected Solutions ( )

advertisement
M. J. Roberts - 8/17/04
Chapter 11 -
The z Transform
Selected Solutions
1. Using the definition of the z transform and/or the transform pairs,
Z
α n u [ n ] ←
→
and
z
1
=
, z >α
z − α 1 − α z −1
sin ( Ω0 ) z −1
z sin ( Ω0 )
sin ( Ω0 n ) u [ n ] ←→ 2
=
, z >1 ,
z − 2 z cos ( Ω0 ) + 1 1 − 2 cos ( Ω0 ) z −1 + z −2
Z
find the z transforms of these DT signals.
(a)
x[ n ] = u[ n ]
Z
Using α n u [ n ] ←
→
Z
u [ n ] ←
→
z
1
=
, z > α , let α = 1. Then
z − α 1 − α z −1
z
1
=
, z >1
z − 1 1 − z −1
(b)
x[ n ] = e −10 n u[ n ]
(c)
x[ n ] = e n sin( n ) u[ n ]
e(1+ j ) n − e(1− j ) n
e jn − e − jn
n
x[ n ] = e
u[ ] =
u[ n ]
j2
j2
n
(d)
x[ n ] = δ [ n ]
2. Sketch the region of convergence (if it exists) in the z plane, of the bilateral z transform
of these DT signals.
(a)
x[ n ] = u[ n ] + u[− n ]
x [ n ] ←→
Z
∞
∑ ( u [ n ] + u [ − n ]) z
−n
n = −∞
∞
Z
x [ n ] ←
→ ∑ z−n +
n=0
0
∑
n = −∞
=
∞
∑ u[n] z
n = −∞
∞
∞
n=0
n=0
z−n = ∑ z−n + ∑ zn
11-1
−n
+
∞
∑ u[−n] z
n = −∞
−n
M. J. Roberts - 8/17/04
∞
∑z
n =0
−n
∞
1
, z >1
=
1 − z −1
and
∑z
n
=
n =0
1
, z <1
1− z
The two regions of convergence do not overlap. Therefore the bilateral transform
does not exist.
(b)
x[ n ] = u[ n ] − u[ n − 10]
z9 + z8 + z7 + z6 + z5 + z4 + z3 + z2 + z + 1
u [ n ] − u [ n − 10 ] ←→
z9
Z
3. Using the time-shifting property, find the z transforms of these signals.
(a)
x[ n ] = u[ n − 5]
(b)
x[ n ] = u[ n + 2]
n0 − 1


Using g [ n + n0 ] ←→ z  G ( z ) − ∑ g [ m ] z − m  , n0 > 0


Z
n0
m=0
1
 z2

 z

 z

Z
u [ n + 2 ] ←
→ z2 
− ∑ u[ m] z− m  = z2 
− 1 + z −1  = z 
− z − 1
 z − 1 m=0

 z −1

z −1

(
Z
u [ n + 2 ] ←
→z
)
z 2 − z ( z − 1) − ( z − 1)
z
, z >1
=
z −1
z −1
Which is the same as the z transform of the unit step, as it should be.
n
(c)
 2
x[ n ] =   u[ n + 2]
 3
4. Draw system diagrams for these transfer functions.
(a)
H( z) =
z2
z+
1
2
z −1
Y( z) = z X( z) −
Y( z)
2
This system is non-causal and cannot be built as a real-time system. But it
can be diagrammed for use as an “off-line” system in which all the past and
future excitation values are available.
11-2
M. J. Roberts - 8/17/04
z
X(z)
Y(z)
1
2
z-1
This is not a unique solution. Many other correct diagrams could be drawn.
(b)
H( z) =
z
z + z +1
2
5. Using the change-of-scale property, find the z transform of
 2πn 
 2πn 
x[ n ] = sin
 cos
 u[ n ] .
 32 
 8 
x[ n ] =
e
j
2πn
32
−e
j2
−j
2πn
32
 2πn 
cos
 u[ n ]
 8 
The algebra is in this exercise is straightforward , but long and tedious.
0.1379 z 2 − 0.3827 z + 0.1379
 2π n 
 2π n 
Z
sin 
cos
u
←

→
n
z
[
]


 32 
8 
z 4 − 2.7741z 3 + 3.8478 z 2 − 2.7741z + 1
6. Using the z-domain-differentiation property find the z transform of
n
 5
x[ n ] = n   u[ n ] .
 8
7. Using the convolution property, find the z transforms of these signals.
(a)
x[ n ] = (0.9) u[ n ] ∗ u[ n ]
(b)
x[ n ] = (0.9) u[ n ] ∗ (0.6) u[ n ]
n
n
n
8. Using the differencing property and the z transform of the unit sequence, find the z
transform of the DT unit impulse and verify your result by checking the z-transform
table.
9. Find the z transform of
x[ n ] = u[ n ] − u[ n − 10]
and, using that result and the differencing property, find the z transform of
11-3
M. J. Roberts - 8/17/04
x[ n ] = δ [ n ] − δ [ n − 10] .
Compare this result with the z transform found directly by applying the time-shifting
property to a DT impulse.
Z
u [ n ] − u [ n − 10 ] ←
→
Z
δ [ n ] − δ [ n − 10 ] ←
→
z
z
− z −10
z −1
z −1
z
z
z
z 

− z −1
−  z −10
− z −11
z −1
z −1 
z −1
z − 1 
Simplify.
10. Using the accumulation property, find the z transforms of these signals.
(a)
x[ n ] = ramp[ n ]
Use x[ n ] =
(b)
x[ n ] =
n
1
∑ u[m − 1] and u [ n − 1]←→ z − 1
Z
m =0
n
∑ (u[m] − u[m − 5])
m =0
11. Using the final-value theorem, find the final value of functions that are the inverse z
transforms of these functions (if the theorem applies).
z
(a)
X( z) =
z −1
The inverse transform is the unit sequence and its limit exists as t approaches infinity.
Applying the final value theorem,
lim g[ n ] = lim( z − 1) G( z) ,
n →∞
z →1
we get
lim x[ n ] = lim( z − 1)
n →∞
z →1
z
=1
z −1
and this checks with our understanding of the unit sequence function.
(b)
X( z) = z
2z −
z2 −
7
4
7
3
z+
4
4
12. Find the inverse z transforms of these functions in series form by synthetic division.
11-4
M. J. Roberts - 8/17/04
(a)
X( z) =
z
z−
1
2
1+
z−
(b)
1
1
1
+ 2 +L +
+L
2z 4 z
(2z) k
1
)z
2
1
z−
2
1
2
1 1
−
2 4z
1
L
4z
X( z) =
z −1
z − 2z + 1
2
Notice that X( z) =
z −1
z
1
= z −1
⇒ x[ n ] = u[ n − 1]
2 =
z −1
(z − 1) z − 1
13. Find the inverse z transforms of these functions in closed form using partial fraction
expansions, a z transform table and the properties of the z transform.
(a)
X(z) =
1
1

z z − 

2


1
2
2
 1
=− +
= 2
− 
1
1
z z−
z

 z −
2
2
  1  n −1

x [ n ] = 2   − δ [ n − 1] u [ n − 1]
 2 

Alternate Solution:
X ( z ) = z −2
 1
⇒ x[n] =  
1
 2
z−
2
z
n−2
u[n − 2]
These solutions look different but are they? Check a few values to see.
(b)
z2
X( z) =
1 
3

z − z − 

2 
4
11-5
M. J. Roberts - 8/17/04
(c)
z2
X( z) = 2
z + 1.8 z + 0.82
Recognize this as being similar to the forms,
Z
α n sin ( Ω0 n ) u [ n ] ←
→
zα sin ( Ω0 )
, z >α
z − 2α z cos ( Ω0 ) + α 2
2
and
Z
α n cos ( Ω0 n ) u [ n ] ←
→
z  z − α cos ( Ω0 ) 
z 2 − 2α z cos ( Ω0 ) + α 2
, z >α
where α = 0.9055 and Ω0 = 3.031.
x[ n ] = (0.9055) [cos( 3.031n ) − 9.03 sin( 3.031n )] u[ n ]
n
14. Using the z transform, find the total solutions to these difference equations with initial
conditions, for discrete time, n ≥ 0.
(a)
 2πn 
2 y[ n + 1] − y[ n ] = sin
 u[ n ]
 16 
y[0] = 1
,
Z-transform the equation.
π 
z sin 
 8
2 z( Y( z) − y[0]) − Y( z) =
π 
z 2 − 2 z cos  + 1
 8
Then solve for Y and find the inverse transform of Y.
Y( z) =
0.2934 0.2934 z − 0.5868
z
+
− 2
z − 0.5
z − 1.8478 z + 1 z − 0.5
Z
Use sin ( Ω0 n ) u [ n ] ←
→
z sin ( Ω0 )
, z >1
z − 2 z cos ( Ω0 ) + 1
2
and
Z
cos ( Ω0 n ) u [ n ] ←
→
z  z − cos ( Ω0 ) 
z − 2 z cos ( Ω0 ) + 1
2
, z >1
and identify Ω0 = 0.3926 . Y can be manipulated into the form,
11-6
M. J. Roberts - 8/17/04
2

z
0.3827 z
0.2934
−1  z − 0.9239 z
− 2.812 2
Y( z) =
+
− 0.2934 z  2

z − 1.8478 z + 1
z − 0.5 z − 0.5
 z − 1.8478 z + 1
Then
 1
y[ n ] = 0.2934  
 2
(b)
n −1
 π

π

 1
u[ n − 1] +   u[ n ] − 0.2934 cos ( n − 1) − 2.812 sin ( n − 1)  u[ n − 1]




 2
8
8

n
5 y[ n + 2] − 3 y[ n + 1] + y[ n ] = (0.8) u[ n ]
n
y[0] = −1 , y[1] = 10
,
z 2 − 0.3z
0.3317 z 
0.4444 
−1 
+ 0.9325 2
Y( z) =
− 1 − 9.5556 z  2
z − 0.6 z + 0.2 
z − 0.8 
 z − 0.6 z + 0.2




n
n −1 cos(0.8355( n − 1))
y[ n ] = 0.4444 (0.8) u[ n ] − δ [ n ] − 9.5556(0.4472) 
 u[ n − 1]


+0.9325 sin(0.8355( n − 1)) 
This is not the only way to find the inverse transform and other solution forms can
be correct, but they should be equivalent to this one.
15. From each block diagram, write the difference equation and find and sketch the
response, y[ n ] , of the system for discrete time, n ≥ 0, assuming no initial energy
storage in the system and impulse excitation, x[ n ] = δ [ n ] .
(a)
x[n]
y[n]
D
y[ n ] + y[ n − 1] = δ [ n ]
Y( z) =
1
z
n
⇒ y[ n ] = (−1) u[ n ]
−1 =
1+ z
z +1
y[n]
1
-5
20
n
-1
(b)
x[n]
y[n]
D
0.8
11-7
M. J. Roberts - 8/17/04
(c)
y[n]
-0.5
x[n]
D
D
0.9
Designate the lower input to the last summer as w[ n ] . Then the excitation of the delay
feeding that point is w[ n + 1] and
x[ n ] − 0.9 w[ n − 1] = w[ n + 1]
or
w[ n ] + 0.9 w[ n − 2] = x[ n − 1]
y[ n ] = −0.5( x[ n ] − 0.9 w[ n − 1]) + w[ n ]
Then z-transform, eliminate W, solve for Y and inverse transform to find y.

 ( n − 1)π 
 nπ 
n
y[ n ] = −0.5δ [ n ] + (0.9486) 1.0541sin  u[ n ] + 0.5 sin
u[ n − 1]

 2
 2 


y[n]
1
-5
20
n
-1
16. Sketch regions in the z plane corresponding to these regions in the s plane.
(a)
0<σ <
1
π
, 0<ω <
Ts
Ts
,
z = e sTs = e(σ + jω )Ts
First find some corresponding points. Then the region should be obvious.
11-8
M. J. Roberts - 8/17/04
s
0
1
Ts
π
j
Ts
σ
0
1
Ts
1
π
+j
Ts
Ts
1
Ts
jω
0
esTs
e0
z
1
0
e1
2.718
e jπ
−1
e1e jπ
−2.718
π
Ts
π
j
Ts
0
j
π
j
2Ts
0
π
j
2Ts
1
π
+j
Ts
2Ts
1
Ts
π
j
2Ts
e
1
j
ee
π
2
j
j
π
2
j 2.718
Im(z)
[z]
2.718
1
Re(z)
1
π
<σ <0 , − <ω <0
Ts
Ts
(b)
−
(c)
−∞ < σ < ∞ , 0 < ω <
2π
Ts
17. Find the bilateral z transforms and ROC’s of these signals.
(a)
x[ n ] = u[− n ]
Z
u [ n ] u [ − n ] ←
→ 1 = X c ( z ) , any z
Z
u [ n ] u [ n ] ←
→
z
 1
= X ac   , z > 1
 z
z −1
1
1
Z
u [ − n ] ←
→ z =
= X ac ( z ) , z < 1
1
−
z
1
−1
z
X( z) = X c ( z) − x[0] + X ac ( z) = 1 − 1 +
11-9
1
1
=
, z <1
1− z 1− z
M. J. Roberts - 8/17/04
Alternate Solution:
X( z) =
∞
∑
n =−∞
x[ n ]z − n =
∞
∑
n =−∞
(b)
x[ n ] = α n u[− n ]
(c)
x[ n ] = (0.5) u[− n ] + (0.3) u[ n ]
(d)
 2πn 
n
x[ n ] = (−1.5) cos
 u[− n ]
 8 
n
∞
0
∑
u[− n ]z − n =
n =−∞
z −n = ∑ z n =
n =0
1
, z <1
1− z
n
18. Using the definition of the z transform verify the z transforms of the following
functions:
(a)
z-Transform Table Entry:
Z
u [ n ] ←
→
z
1
=
z − 1 1 − z −1
∞
∞
n =0
n =0
X( z) = ∑ u[ n ]z − n = ∑ z − n = 1 +
1+
1 1
+ +L
z z2
z − 1) z
z −1
1
Check.
1−
(b)
1 1
+ +L
z z2
1
z
1
z
n2
x[ n ] = u[ n ]
2!
z-Transform Table Entry:
z ( z + 1)
n2
1 + z −1
Z
←

→
=
u[n]
3
2!
2 z 1 − z −1
2 ( z − 1)
(c)
x[ n ] = nα n u[ n ]
(d)
x[ n ] = α n sin(2πF0 n ) u[ n ]
(
11-10
)
M. J. Roberts - 8/17/04
19. Sketch the region of convergence (if it exists) in the z plane, of the bilateral z transform
of these DT signals.
n
(a)
 1
x[ n ] =   u[ n ]
 2
z
1
=
, z >α
z − α 1 − α z −1
Z
→
Using α n u [ n ] ←
n
 1
Z
  u [ n ] ←→
2
z
z−
1
2
=
1
1
, z >
1
2
1 − z −1
2
Im(z)
[z]
ROC
ROC
1
2
ROC
n
(b)
Re(z)
ROC
n
 5
 10 
x[ n ] =   u[ n ] +   u[− n ]
 4
 7
20. Using the time-shifting property, find the z transforms of these signals.
(a)
 2
x[ n ] =  
 3
n −1
n
u[ n − 1]
 2
Z
  u [ n ] ←→
3
 2
 
3
n −1
z
z−
2
3
Z
u [ n − 1] ←
→ z −1
z
z−
2
3
=
n
(b)
 2
x[ n ] =   u[ n − 1]
 3
11-11
1
z−
2
3
M. J. Roberts - 8/17/04
 2  2
x[ n ] =    
 3  3
(c)
n −1
u[ n − 1]
 2π ( n − 1) 
x[ n ] = sin
 u[ n − 1]


4
21. Draw system diagrams for these transfer functions.
(a)
2

z z + 

3
H( z) =
2
3
z2 + z +
3
4
(b)
H( z) =
z2
(z − 0.75)(z + 0.1)(z − 0.3)
22. If the z transform of x[ n ] is X( z) =
1
z−
3
4
, and
  jπ 
 − j π6  
6
Y( z) = j X e z − X e z 



 
what is y[ n ] ?
23. Using the convolution property, find the z transforms of these signals.
(a)
 2πn 
x[ n ] = sin
 u[ n ] ∗ u[ n ]
 8 
(b)
 2πn 
x[ n ] = sin
 u[ n ] ∗ (u[ n ] − u[ n − 8])
 8 
From part (a),
π
z 2 sin  
 4
 2π n 
Z
sin 
u [ n ] ∗ u [ n ] ←
→

 8 


π 
π
z 3 − z 2  2 cos   − 1 + z 1 + 2 cos    − 1
 4 
 4


24. Find the inverse z transforms of these functions in closed form using partial fraction
expansions, a z transform table and the properties of the z transform.
(a)
X( z) =
z −1
z + 1.8 z + 0.82
2
11-12
M. J. Roberts - 8/17/04
X( z) =
z
1
− 2
z + 1.8 z + 0.82 z + 1.8 z + 0.82
2
The denominators are of the form, z 2 − 2α cos(Ω0 ) z + α 2 where α = 0.9055 and
Ω0 = 3.031. Therefore
zα sin(Ω0 )
zα sin(Ω0 )
1
z −1
−
X( z) =
2
2
α sin(Ω0 ) z + 1.8 z + 0.82 α sin(Ω0 ) z + 1.8 z + 0.82
or
0.1z
0.1z
X( z) = 10 2
− 10 z −1 2
z + 1.8 z + 0.82
z + 1.8 z + 0.82
Then, using
zα sin ( Ω0 )
Z
α n sin ( Ω0 n ) u [ n ] ←
→ 2
, z >α
z − 2α z cos ( Ω0 ) + α 2
{
x[ n ] = 10 (0.9055) sin( 3.031n ) u[ n ] − (0.9055)
n
n −1
}
sin( 3.031( n − 1)) u[ n − 1]
Alternate Solution:
X(z) =
z −1
0.5 + j 9.5
0.5 − j 9.5
=
+
z + 1.8 z + 0.82 z + 0.9 − j 0.1 z + 0.9 + j 0.1
2
x [ n ] = ( 0.5 + j 9.5 ) ( −0.9 + j 0.1)
n −1
+ ( 0.5 − j 9.5 ) ( −0.9 − j 0.1)
n −1
 u [ n − 1]

( 0.5 + j 9.5 )( 0.9055 )n −1 e j 3.031( n −1) 
x[n] = 
 u [ n − 1]
n −1
 + ( 0.5 − j 9.5 )( 0.9055 ) e− j 3.031( n −1) 
(
)
 0.5 ( 0.9055 )n −1 e j 3.031( n −1) + e− j 3.031( n −1)
x[n] = 
 + j 9.5 ( 0.9055 )n −1 e j 3.031( n −1) − e− j 3.031( n −1)

(
)

 u [ n − 1]


n −1
n −1
x [ n ] = ( 0.9055 ) cos ( 3.031( n − 1)) − 19 ( 0.9055 ) sin ( 3.031( n − 1))  u [ n − 1]
Although the two solutions above look different in analytical form, they are
equivalent. That is, the graphs of these functions are identical.
(b)
X( z) =
z −1
z( z + 1.8 z + 0.82)
2
The answer to this part is the same as the answer to the previous part except
delayed by 1 in discrete time.
11-13
M. J. Roberts - 8/17/04
(c)
X( z) =
z2
z2 − z +
1
4
11-14
Download