lecture 15 - z-transform

5
Lecture 15 Slide 1 PYKC 3-Mar-11 E2.5 Signals & Linear Systems Lecture 15 Discrete-Time System Analysis using z-Transform (Lathi 5.1) Peter Cheung Department of Electrical & Electronic Engineering Imperial College London URL: www.ee.imperial.ac.uk/pcheung/teaching/ee2_signals E-mail: [email protected] Lecture 15 Slide 2 PYKC 3-Mar-11 E2.5 Signals & Linear Systems z-transform derived from Laplace transform Consider a discrete-time signal x(t) below sampled every T sec. The Laplace transform of x(t) is therefore (Time-shift prop. L6S13): Now define L5.8 p560 0 1 2 3 () () ( ) ( 2) ( 3) ..... xt x t x t T x t T x t T δ δ δ δ = + + + + 2 3 0 1 2 3 () ..... sT sT sT Xs x xe xe xe = + + + + ( ) cos sin sT j T T T z e e e T je T σ ω σ σ ω ω + = = = + 1 2 3 0 1 2 3 [] ..... Xz x xz xz xz = + + + + δ ( t ) 1 ( L6S5) δ ( t T) e sT ( L6S13) Lecture 15 Slide 3 PYKC 3-Mar-11 E2.5 Signals & Linear Systems z -1 the sample period delay operator From Laplace time-shift property, we know that is time advance by T second (T is the sampling period). Therefore corresponds to UNIT SAMPLE PERIOD DELAY. As a result, all sampled data (and discrete-time system) can be expressed in terms of the variable z. More formally, the unilateral z-transform of a causal sampled sequence: x[n] = x[0] + x[1] + x[2] + x[3] + is given by: The bilateral z-transform for a general sampled sequence is: sT z e = 1 sT z e = 1 2 3 0 1 2 3 0 [] ..... [] n n Xz x xz xz xz xnz = = + + + + = [] [] n n Xz xnz =−∞ = L5.8 p560 Lecture 15 Slide 4 PYKC 3-Mar-11 E2.5 Signals & Linear Systems Laplace, Fourier and z-Tranforms () () st Xs xte dt −∞ = Laplace transform Fourier transform Discrete Fourier transform z transform ( ) () j t X xte dt ω ω −∞ = 0 0 1 0 0 [ ] [] N jn T n Xn xne ω ω = = [] [] n n Xz xnz =−∞ = Definition Purpose Suitable for .. Converts integral- differential equations to algebraic equations Converts finite time signal to frequency domain Converts finite discrete- time signal to discrete frequency domain Converts difference equations into algebraic equations Continuous-time system & signal analysis; stable or unstable Continuous-time; stable system, convergent signals only; best for steady-state Discrete time, otherwise same as FT Discrete-time system & signal analysis; stable or unstable 0 0 samples, sample period 2 / N T T ω π = =

Upload: stuxion

Post on 17-Jul-2016

218 views

Category:

Documents


1 download

DESCRIPTION

lecture on z-transforms

TRANSCRIPT

Page 1: Lecture 15 - Z-transform

Lecture 15 Slide 1 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Lecture 15

Discrete-Time System Analysis using z-Transform

(Lathi 5.1)

Peter Cheung Department of Electrical & Electronic Engineering

Imperial College London

URL: www.ee.imperial.ac.uk/pcheung/teaching/ee2_signals E-mail: [email protected]

Lecture 15 Slide 2 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

z-transform derived from Laplace transform

  Consider a discrete-time signal x(t) below sampled every T sec.

  The Laplace transform of x(t) is therefore (Time-shift prop. L6S13):

  Now define

L5.8 p560

0 1 2 3( ) ( ) ( ) ( 2 ) ( 3 ) .....x t x t x t T x t T x t Tδ δ δ δ= + − + − + − +

2 30 1 2 3( ) .....sT s T s TX s x x e x e x e− − −= + + + +

( ) cos sinsT j T T Tz e e e T je Tσ ω σ σω ω+= = = +

1 2 30 1 2 3[ ] .....X z x x z x z x z− − −= + + + +

δ(t) ⇔1 (L6S5)

δ(t −T)⇔ e−sT (L6S13)

Lecture 15 Slide 3 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

z-1 the sample period delay operator

  From Laplace time-shift property, we know that is time advance by T second (T is the sampling period).

  Therefore corresponds to UNIT SAMPLE PERIOD DELAY.   As a result, all sampled data (and discrete-time system) can be

expressed in terms of the variable z.   More formally, the unilateral z-transform of a causal sampled

sequence: x[n] = x[0] + x[1] + x[2] + x[3] + is given by:

  The bilateral z-transform for a general sampled sequence is:

sTz e=1 sTz e− −=

1 2 30 1 2 3

0

[ ] .....

[ ] n

n

X z x x z x z x z

x n z

− − −

∞−

=

= + + + +

=∑

[ ] [ ] n

nX z x n z

∞−

=−∞

= ∑ L5.8 p560

Lecture 15 Slide 4 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Laplace, Fourier and z-Tranforms

( ) ( ) stX s x t e dt∞ −

−∞= ∫Laplace

transform

Fourier transform

Discrete Fourier

transform

z transform

( ) ( ) j tX x t e dtωω∞ −

−∞= ∫

00

1

00

[ ] [ ]N

jn T

nX n x n e ωω

=

=∑

[ ] [ ] n

nX z x n z

∞−

=−∞

= ∑

Definition Purpose Suitable for ..

Converts integral-differential equations to algebraic equations

Converts finite time signal to frequency domain

Converts finite discrete-time signal to discrete frequency domain

Converts difference equations into algebraic equations

Continuous-time system & signal analysis; stable or unstable

Continuous-time; stable system, convergent signals only; best for steady-state

Discrete time, otherwise same as FT

Discrete-time system & signal analysis; stable or unstable

0

0

samples, sample period

2 /N T

Tω π

=

=

Page 2: Lecture 15 - Z-transform

Lecture 15 Slide 5 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Example of z-transform (1)

  Find the z-transform for the signal γnu[n], where γ is a constant.   By definition

  Since u[n] = 1 for all n ≥ 0 (step function),

  Apply the geometric progression formula:

  Therefore:

L5.1 p496

Lecture 15 Slide 6 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Example of z-transform (2)

  Observe that a simple equation in z-domain results in an infinite sequence of samples.

  Observe also that exists only for .   For X[z] may go to infinity. We call the region of z-plane

where X[z] exists as Region-of-Convergence (ROC), and is shown below.

L5.1 p496

z-plane

Lecture 15 Slide 7 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

  Remember that by definition:

  Since

  Also, for

  Therefore

L5.1 p499

z-transforms of δ[n] and u[n]

Lecture 15 Slide 8 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

  Since

  From slide 5, we know   Hence

  Therefore

L5.1 p500

z-transforms of cosβn u[n]

Page 3: Lecture 15 - Z-transform

Lecture 15 Slide 9 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

z-transforms of 5 impulses

  Find the z-tranform of:   By definition,

  Now remember the equation for sum of a power series:

  Let

L5.1 p500

1

0

11

nnk

k

rrr

+

=

−=

−∑1 and 4r z n−= =

5

1

1[ ]1

zX zz

−=

−5(1 )

1z z

z−= −

Lecture 15 Slide 10 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

z-transform Table (1)

L5.1 p498

Lecture 15 Slide 11 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

z-transform Table (2)

L5.1 p498

Lecture 15 Slide 12 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Inverse z-transform

  As with other transforms, inverse z-transform is used to derive x[n] from X[z], and is formally defined as:

  Here the symbol indicates an integration in counterclockwise direction around a closed path in the complex z-plane (known as contour integral).

  Such contour integral is difficult to evaluate (but could be done using Cauchy’s residue theorem), therefore we often use other techniques to obtain the inverse z-tranform.

  One such technique is to use the z-transform pair table shown in the last two slides with partial fraction.

L5.1 p494

Page 4: Lecture 15 - Z-transform

Lecture 15 Slide 13 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – real unique poles

  Find the inverse z-transform of:

  Step 1: Divide both sides by z:

  Step 2: Perform partial fraction:

  Step 3: Multiply both sides by z:

  Step 4: Obtain inverse z-transform of each term from table (#1 & #6):

L5.1-1 p501

Lecture 15 Slide 14 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – repeat real poles (1)

  Find the inverse z-transform of:   Divide both sides by z and expand:

  Use covering method to find k and a0:

  We get:

  To find a2, multiply both sides by z and let z→∞:

L5.1-1 p502

Lecture 15 Slide 15 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – repeat real poles (2)

  To find a1, let z = 0:

  Therefore, we find:

  Use pairs #6 & #10

L5.1-1 p502

Lecture 15 Slide 16 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – complex poles (1)

  Find inverse z-tranform of:

  Whenever we encounter complex pole, we need to use a special partial fraction method (called quadratic factors):

  Now multiply both sides by z, and let z→∞:

  We get:

L5.1-1 p503

Page 5: Lecture 15 - Z-transform

Lecture 15 Slide 17 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – complex poles (2)

  To find B, we let z=0:

  Now, we have X[z] in a convenient form:

  Use table pair #12c, we identify A = -2, B = 16, and a = -3.

  Therefore:

L5.1-1 p504

Lecture 15 Slide 18 PYKC 3-Mar-11 E2.5 Signals & Linear Systems

Find inverse z-transform – long division

  Consider this example:

  Perform long division:

  Thus:

  Therefore

L5.1-1 p505