the z -transform

18
The Z - Transform 1 โ€ข Let is a complex variable and = ฮฉ . The z-Transform of an arbitrary signal [] is defined as (1) - - - - ] [ ) ( n n z n x z X and the inverse z-Transform is c n dz z z x j n x (2) - - - - ) ( 2 1 ] [ 1 โ€ข The z-Transform exists when the sum in (1) converges. A necessary condition for convergence is absolute summability. Since โˆ’ = | โˆ’ | we must have, n n r n x | ] [ | โ€ข The range of r for which this condition is satisfied is termed the region of convergence (ROC) of the z-transform. (Bilateral or 2-Sided) [Unilateral if : 0 โŸถ โˆž ] ) ( ] [ : z X n x Notation z

Upload: mcmaster

Post on 02-Feb-2023

2 views

Category:

Documents


0 download

TRANSCRIPT

The Z - Transform

1

โ€ข Let ๐‘ง is a complex variable and ๐‘ง = ๐‘Ÿ๐‘’๐‘—ฮฉ. The z-Transform of an arbitrary signal ๐‘ฅ[๐‘›] is defined as

(1) ---- ][)(

n

nznxzX

and the inverse z-Transform is

c

n dzzzxj

nx (2) ---- )(2

1][ 1

โ€ข The z-Transform exists when the sum in (1) converges. A necessary condition for convergence is absolute summability. Since ๐‘ฅ ๐‘› ๐‘งโˆ’๐‘› = |๐‘ฅ ๐‘› ๐‘Ÿโˆ’๐‘›| we must have,

n

nrnx |][|

โ€ข The range of r for which this condition is satisfied is termed the region of convergence (ROC) of the z-transform.

(Bilateral or 2-Sided)

[Unilateral if ๐‘›: 0 โŸถ โˆž ]

)(][ : zXnxNotationz

Example 1

2 Check complete solution in class

Determine the z-transform of ๐‘ฅ ๐‘› = ๐‘Ž๐‘›๐‘ข ๐‘› , a is real.

For the convergence, we require that

0

1)(][)(n

n

n

nn azznuazX

0

1

n

naz

From ENG TECH 2MA3, We know that the series 1 if ,1

1

0

rr

rn

n

0

1

n

naz Converges if ๐‘Ž๐‘งโˆ’1 < 1 โŸน ๐‘ง > |๐‘Ž|

az

z

azazzX

n

n

1

0

1

1

1)()( ROC: ๐‘ง > |๐‘Ž|

a 1

0 < ๐‘Ž < 1

1 a

๐‘Ž > 1

a -1

โˆ’1 < ๐‘Ž < 0

-1 a

๐‘Ž < โˆ’1

Right-Sided Signal

Example 2

3 Check complete solution in class

Determine the z-transform of ๐‘ฅ ๐‘› = โˆ’๐‘Ž๐‘›๐‘ข โˆ’๐‘› โˆ’ 1 , a is real.

0

1

1

1

11

)(1)(

)(]1[)(

n

n

n

n

n

n

n

nn

zaaz

azznuazX

โŸน ๐‘‹(๐‘ง) converges if ๐‘Žโˆ’1๐‘ง < 1 โŸน ๐‘ง < |๐‘Ž|

az

z

zazazX

n

n

1

0

1

1

11)(1)( ROC: ๐‘ง < |๐‘Ž|

a 1

0 < ๐‘Ž < 1

1 a

๐‘Ž > 1

a -1

โˆ’1 < ๐‘Ž < 0

-1 a

๐‘Ž < โˆ’1

Left-Sided Signal

Example 3

4 Check complete solution in class

Determine the z-transform of ๐‘ฅ ๐‘› = โˆ’๐‘ข โˆ’๐‘› โˆ’ 1 +1

2

๐‘›๐‘ข[๐‘›].

n

nn

n

n znuznuzX ][)(]1[)(21

converges if ๐‘ง < 1

))(1(

)2(

1

1

1

11)(

21

23

1

21

zz

zz

zzzX

0n

nz

0

1

21 )(

n

nz converges if 1

2๐‘งโˆ’1 < 1 โŸน ๐‘ง >

1

2

โŸน ๐‘…๐‘‚๐ถ: 1

2< ๐‘ง < 1

; ๐‘…๐‘‚๐ถ: 1

2< ๐‘ง < 1

1 0.5

0

1

21

1021

1

)()(n

n

n

n

n

nn

n

n zzzz

0

1

21

0

)(1 n

n

n

n zz

Example 4

5 Check complete solution in class

Determine the z-transform of ๐‘ฅ ๐‘› =1

2

๐‘›๐‘ข ๐‘› + โˆ’

1

3

๐‘›๐‘ข[๐‘›].

n

nn

n

nn znuznuzX ][)(][)()(31

21

converges if 1

2๐‘งโˆ’1 < 1 โŸน ๐‘ง >

1

2

))((

)2(

1

1

1

1)(

31

21

61

1

311

21

zz

zz

zzzX

0

1

21 )(

n

nz

0

1

31 )(

n

nz converges if โˆ’1

3๐‘งโˆ’1 < 1 โŸน ๐‘ง >

1

3

โŸน ๐‘…๐‘‚๐ถ: ๐‘ง >1

2

; ๐‘…๐‘‚๐ถ: |๐‘ง| >1

2

0

31

021 )()(

n

nn

n

nn zz

0

1

31

0

1

21 )()(

n

n

n

n zz

0.5

Example 5

6 Check complete solution in class

Determine the z-transform of ๐‘ฅ ๐‘› = โˆ’1

2

๐‘›๐‘ข โˆ’๐‘› + 2

1

4

๐‘›๐‘ข[โˆ’๐‘›].

)41)(21(

3)(

zzzX

; ๐‘…๐‘‚๐ถ: ๐‘ง <

1

4

0.25

Example 6

7 Check complete solution in class

Consider a sequence ๐‘ฅ ๐‘› = 5, 3, โˆ’2, 0, 4, โˆ’3 . Find X(z).

Red number represents the value at n = 0

3

2

][][)(n

n

n

n znxznxzX

3212 ]3[]2[]1[]0[]1[]2[ zxzxzxxzxzx

322 34235 zzzz

๐‘‹(๐‘ง) converges if ๐‘ง โ‰  0, ๐‘ง โ‰  โˆž

โŸน ๐‘…๐‘‚๐ถ: 0 < ๐‘ง < โˆž

Example 7

8 Check complete solution in class

(a) Determine the unilateral z-transform of the signal ๐‘ฅ ๐‘ก = 3sin (๐œ‹๐‘ก) sampled after every 0.05 seconds starting at ๐‘ก = 0.

Replace ๐‘ก = ๐‘›๐‘‡, where ๐‘‡ = 0.05 โŸน ๐‘ฅ ๐‘› = 3sin (0.05๐œ‹๐‘›)

1|| ,1)cos(2

)sin()sin(

2

z

bzz

bzbn

z

198.1

47.0

1)cos(2

)sin(3)(

2

20

220

zz

z

zz

zzX

(b) Determine the the z-transform of ๐‘ฅ ๐‘› = 2๐‘›๐‘ข[๐‘› โˆ’ 2] using real shifting property and verify your result by definition.

]2[24]2[2][ 2)22( nununx nn

After applying real shifting property #2

2|| ,)2(

4

24)(][ 2

z

zzz

zzzXnx

z

Now use definition for verification โ€ฆโ€ฆ.

Example 8

9 Check complete solution in class

A function ๐‘ฅ[๐‘›] has the unilateral z-transform ๐‘‹ ๐‘ง =8๐‘ง2

4๐‘ง2โˆ’1 ; |๐‘ง| > 0.5.

(a) Find the z-transform of ๐‘ฆ[๐‘›] = ๐‘ฅ[๐‘› โˆ’ 2]

14

8)()(][

2

2

zzXzzYny

z Using real shifting property #2

(b) Find the z-transform of ๐‘ฆ[๐‘›] = (2)๐‘›๐‘ฅ[๐‘›]

1

2)()(][

2

2

2

z

zXzYny zz

Using complex shifting property #4

(c) Find the z-transform of ๐‘ฆ[๐‘›] = ๐‘›๐‘ฅ[๐‘›]

22

2

22 )14(

16

)14(

16)()(][

z

z

z

zzzX

dz

dzzYny

z Using property #5

(d) Find the z-transform of ๐‘ฆ ๐‘› = ๐‘ฅ ๐‘› โˆ— ๐‘ฅ[๐‘› โˆ’ 4]

22

2

2

244

)14(

64

14

8)()()(][

zz

zzzXzzXzYny

z

Using property #5 & #7

Example 9

10 Check complete solution in class

Determine the inverse z-transform of ๐‘‹ ๐‘ง =๐‘ง

(๐‘งโˆ’1)(๐‘งโˆ’2)2 ; |๐‘ง| > 2.

2)2)(1(

1)(

zzz

zX

222 )2(

1

2

1

1

1

)2(21)2)(1(

1

zzzz

C

z

B

z

A

zz

Using Partial Fractions

2)2(

1

2

1

1

1)(

zzzz

zX

2)2(21)(

z

z

z

z

z

zzX

Since ROC ๐‘ง > 2 is a right sided signal

][)221(][ 1 nunnx nn

2)(][ , ][

az

aznuna

az

znua

znzn

โŸน x n = {0, 0, 1, 5, โ€ฆ . . }

Example 10

11 Check complete solution in class

Determine the inverse z-transform of ๐‘‹ ๐‘ง =๐‘ง

2๐‘ง2โˆ’3๐‘ง+1 ; ๐‘ง <

1

2.

))(1(2

1)(

21

zzz

zX

21

21

21

1

1

1

1))(1(2

1

zzz

B

z

A

zzUsing Partial Fractions

21

1

1

1)(

zzz

zX

211

)(

z

z

z

zzX

Since ROC ๐‘ง <1

2 is a left sided signal

]1[)(]1[][21 nununx n

โŸน x n = { โ€ฆ . . , 15, 7, 3, 1, 0}

]1[1)(][21 nunx n

]1[az

znua

zn

Example 11

12 Check complete solution in class

Determine the inverse z-transform of ๐‘‹ ๐‘ง =๐‘ง3โˆ’๐‘ง2+๐‘ง

(๐‘งโˆ’1)(๐‘งโˆ’2)(๐‘งโˆ’1

2)

; 1 < ๐‘ง < 2.

))(2)(1(

1)(

21

2

zzz

zz

z

zX

21

21

21

2 1

2

2

1

2

21))(2)(1(

1

zzzz

C

z

B

z

A

zzz

zz

Using Partial Fractions

21

1

2

2

1

2)(

zzzz

zX

212

2

1

2)(

z

z

z

z

z

zzX

21

212

1 ][)(

, |z|z

znu

znSince ROC is greater than the pole ๐‘ง =

1

2โŸน

11

2][2

, |z|

z

znu

zSince ROC is greater than the pole ๐‘ง = 1 โŸน

22

2]1[)2(2

, |z|

z

znu

znSince ROC is less than the pole ๐‘ง = 2 โŸน

][)(]1[)2(2][2][21 nunununx nn

]1[)2(][2)(][ 1

21 nununx nn

2 1

Example 12

13 Check complete solution in class

Determine the inverse z-transform of ๐‘‹ ๐‘ง =๐‘ง3โˆ’10๐‘ง2โˆ’4๐‘ง+4

2๐‘ง2โˆ’2๐‘งโˆ’4 ; ๐‘ง < 1.

Using Partial Fractions

)2)(1(2

429

2

1

)422(

4410)( 2

2

23

zzz

zz

zzz

zzz

z

zX

2

3

1

2/11

21)2)(1(2

429 2

zzzz

C

z

B

z

A

zzz

zz

Using long division

2

3

1

2/11

2

1)(

zzzz

zX

2

3

1

2/11

2)(

z

z

z

zzzX , ๐‘ง < 1

]1[)2(3]1[)1(2

1][]1[

2

1][ nununnnx nn

๐‘ฅ ๐‘› = {โ€ฆ โ€ฆ โ€ฆ ,5

4,3

2, โˆ’1}

Example 13

14 Check complete solution in class

Find the impulse response if,

๐‘ฅ ๐‘› = (โˆ’1

3)๐‘›๐‘ข ๐‘› , ๐‘ฆ ๐‘› = 3(โˆ’1)๐‘›๐‘ข[๐‘›] + (

1

3)๐‘›๐‘ข[๐‘›].

31

31

|| ,)(][

zz

zzXnx

z

1|| ,))(1(

4

1

3)(][

31

2

31

zzz

z

z

z

z

zzYny

z

1|| ,))(1(

)(4

)(

)()(

31

31

z

zz

zz

zX

zYzH

31

31

31

31

2

1

2

1))(1(

)(4)(

zzz

B

z

A

zz

z

z

zH

31

2

1

2)(

z

z

z

zzH

][)(2][)1(2][31 nununh nn

Example 14

15 Check complete solution in class

Find the difference equation description of an LTI system with transfer

function ๐ป ๐‘ง =5๐‘ง+2

๐‘ง2+3๐‘ง+2.

23

25

)(

)()(

2

zz

z

zX

zYzH

21

21

231

25

)(

)(

zz

zz

zX

zY

Divide each term by ๐‘ง2

)(2)(5)(2)(3)( 2121 zXzzXzzYzzYzzY

Apply inverse z-transform with real shifting property #2

๐‘ฆ ๐‘› + 3๐‘ฆ ๐‘› โˆ’ 1 + 2๐‘ฆ ๐‘› โˆ’ 2 = 5๐‘ฅ ๐‘› โˆ’ 1 + 2๐‘ฅ[๐‘› โˆ’ 2]

Example 15

16 Check complete solution in class

Consider the pole/zero diagram of a DTS as shown in Figure. It corresponds to a Z-transform H[z]. Write down all possible time functions h[n] that could have this pole/zero diagram. Choose H[z] so that it has a DC gain of 1. In each case, specify the region of convergence (ROC).

x x o o

โˆ’34

13 3

2

))((

)()(

31

43

23

zz

zCzzH Where C is any constant.

For a DC gain of 1, we need ๐ป 1 = 1 โŸน 1 =๐ถ(โˆ’

1

2)

7

4โˆ™2

3

โŸน C = โˆ’7

3

31

3998

43

1363

31

43

31

43

23

37

))((

)()(

zzz

B

z

A

zz

z

z

zH

31

3998

43

1363

)(

z

z

z

zzH

Possible time functions are:

๐‘– โ„Ž ๐‘› = โˆ’63

13โˆ’

3

4

๐‘›๐‘ข ๐‘› + 98

39

1

3

๐‘›๐‘ข ๐‘› for ROC: ๐‘ง >

3

4

๐‘–๐‘– โ„Ž ๐‘› = 63

13โˆ’

3

4

๐‘›๐‘ข โˆ’๐‘› โˆ’ 1 + 98

39

1

3

๐‘›๐‘ข ๐‘› for

1

3< ๐‘ง <

3

4

๐‘–๐‘–๐‘– โ„Ž ๐‘› = 63

13โˆ’

3

4

๐‘›๐‘ข โˆ’๐‘› โˆ’ 1 โˆ’ 98

39

1

3

๐‘›๐‘ข โˆ’๐‘› โˆ’ 1 for ๐‘ง <

1

3

Example 16

17 Check complete solution in class

Solve ๐‘ฆ ๐‘› + 2 โˆ’ ๐‘ฆ ๐‘› + 1 โˆ’ 2๐‘ฆ ๐‘› = 0 with ๐‘ฆ 0 = 0, ๐‘ฆ 1 = 1.

zyzyzYzzyyzYznyz

]1[]0[)(]]1[]0[)([]2[ 2212

zyzzYyzYznyz

]0[)(]]0[)([]1[

Using Property #3 0

0

Substitute in to given difference equation

0)(2)()(2 zYzzYzzYz

2)(

2

zz

zzY

1212)1)(2(

1)( 31

31

zzz

B

z

A

zzz

zY

12)( 3

131

z

z

z

zzY

][)1(2][31 nuny nn

Example 17

18 Check complete solution in class

Solve ๐‘ฆ ๐‘› + 2 โˆ’ 6๐‘ฆ ๐‘› + 1 โˆ’ 55๐‘ฆ ๐‘› = โˆ’(โˆ’3)๐‘› with ๐‘ฆ 0 = 0, ๐‘ฆ 1 = 0.

zyzyzYzzyyzYznyz

]1[]0[)(]]1[]0[)([]2[ 2212

zyzzYyzYznyz

]0[)(]]0[)([]1[

Using Property #3 0

0

Substitute in to given difference equation

3)(55)(6)(2

z

zzYzzYzYz

3)()556( 2

z

zzYzzz

3511)3)(5)(11(

1)(

z

C

z

B

z

A

zzzz

zY

][)3()5()11(][281

321

2241 nuny nnn

0

3][)3(

z

znu

zn

3511

)( 281

321

2241

zzzz

zY

3511)( 28

1321

2241

z

z

z

z

z

zzY