chapter 6

127
Chapter 6 z-Transfor z-Transfor m m

Upload: matty

Post on 14-Jan-2016

52 views

Category:

Documents


0 download

DESCRIPTION

Chapter 6. z-Transform. §6.1 z -Transform:Definition and Properties. The DTFT provides a frequency-domain representation of discrete-time signals and LTI discrete-time systems Because of the convergence condition, in many cases, the DTFT of a sequence may not exist - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter 6

Chapter 6

z-Transformz-Transform

Page 2: Chapter 6

§6.1 z-Transform:Definition and Properties

The DTFT provides a frequency-domain representation of discrete-time signals and LTI discrete-time systems

Because of the convergence condition, in many cases, the DTFT of a sequence may not exist

As a result, it is not possible to make use of such frequency-domain characterization in these cases

Page 3: Chapter 6

§6.1 z-Transform:Definition and Properties

z-transform may exist for many sequences for which the DTFT does not exist

Moreover, use of z-transform techniques permits simple algebraic manipulations

nj

n

j enxeX

][)(

A generalization of the DTFT defined by

leads to the z-transform

Page 4: Chapter 6

§6.1 z-Transform:Definition and Properties

Consequently, z-transform has become an important tool in the analysis and design of digital filters

For a given sequence g[n], its z-transform

G(z) is defined asn

n

zngzG

][)(

where z=Re(z)+jIm(z) is a complex variable

Page 5: Chapter 6

§6.1 z-Transform:Definition and Properties

The above can be interpreted as the DTFT

of the modified sequence {g[n]r-n} For r =1 (i.e., |z|=1), z-transform reduces to it

s DTFT, provided the latter exists

njn

n

j erngreG

][)(

If we let z=rejω, then the z-transform reduces to

Page 6: Chapter 6

§6.1 z-Transform:Definition and Properties

The contour |z|=1 is a circle in the z-plane of unity radius and is called the unit circle

Like the DTFT, there are conditions on the convergence of the infinite series

n

n

zng

][

For a given sequence, the set R of values of z for which its z-transform converges is called the region of convergence (ROC)

Page 7: Chapter 6

§6.1 z-Transform:Definition and Properties

From our earlier discussion on the uniform convergence of the DTFT, it follows that the series

njn

n

j erngreG

][)(

n

n

rng ][

converges if {g[n]r-n} is absolutely summable,i.e., if

Page 8: Chapter 6

§6.1 z-Transform:Definition and Properties

In general, the ROC R of a z-transform of a sequence g[n] is an annular region of the z- plane:

RgzRg

RgRg0 Note: The z-transform is a form of a Laurent s

eries and is an analytic function at every point in the ROC

where

Page 9: Chapter 6

§6.1 z-Transform:Definition and Properties

Example - Determine the z-transform X(z)

of the causal sequence x[n]=αnµ[n] and its ROC

Nown

n

nn

n

n zznzX

0

][)(

1,1

1)( 1

1

zforz

zX

The above power series converges to

ROC is the annular region |z| > |α|

Page 10: Chapter 6

§6.1 z-Transform:Definition and Properties

Example - The z-transform µ(z) of the unit step sequence µ[n] can be obtained from

1,1

1)( 1

1

zforz

zX

1,1

1)( 1

1

zforz

z

by setting α=1:

ROC is the annular region 1<|z|≤∞

Page 11: Chapter 6

§6.1 z-Transform:Definition and Properties

Note: The unit step sequence µ(n) is not absolutely summable, and hence its DTFT does not converge uniformly

Example - Consider the anti-causal sequence

]1[][ nny n

Page 12: Chapter 6

§6.1 z-Transform:Definition and Properties

Its z-transform is given by

ROC is the annular |z| < |α|

1,1

1

1

)(

11

1

1

0

1

1

1

zforz

z

zzz

zzzY

m

m

m

m

m

mn

n

n

Page 13: Chapter 6

§6.1 z-Transform:Definition and Properties

Note: The z-transforms of the the two sequences αnµ[n] and -αnµ[-n-1] are

identical even though the two parent sequences are different

Only way a unique sequence can be associated with a z-transform is by specifying its ROC

Page 14: Chapter 6

§6.1 z-Transform:Definition and Properties

The DTFT G(ejω) of sequence g[n]

converges uniformly if and only if the ROC of the z-transform G(z) of g[n] includes the unit circle

The existence of the DTFT does not always imply the existence of the transform

Page 15: Chapter 6

§6.1 z-Transform:Definition and Properties

Example – The finite energy sequence

c

cjLP eH

,0

0,1)(

nn

nnh c

LP ,sin

][

has a DTFT given by

which converges in the mean-square sense

Page 16: Chapter 6

§6.1 z-Transform:Definition and Properties

However, hLP[n] does not have a z-transform

as it is not absolutely summable for any value of r

Some commonly used z-transform pairs are listed on the next slide

Page 17: Chapter 6

Table 6.1: Commonly Used z- Transform Pairs

Page 18: Chapter 6

§6.2 Rational z-Transforms In the case of LTI discrete-time systems we

are concerned with in this course, all pertinent z-transforms are rational functions of z-1

That is, they are ratios of two polynomials in z-1:

NN

NN

MM

MM

zdzdzdd

zpzpzpp

zD

zPzG

)1(

11

10

)1(1

110

)(

)()(

Page 19: Chapter 6

§6.2 Rational z-Transforms The degree of the numerator polynomial P

(z) is M and the degree of the denominator polynomial D(z) is N

An alternate representation of a rational z-transform is as a ratio of two polynomials in z:

NNNN

MMMM

MN

dzdzdzd

pzpzpzpzzG

11

10

11

10)()(

Page 20: Chapter 6

§6.2 Rational z-Transforms

A rational z-transform can be alternately written in factored form as

N

M

MN

N

M

zd

zpz

zd

zpzG

10

10)(

1

10

1

10

)(

)(

)1(

)1()(

Page 21: Chapter 6

§6.2 Rational z-Transforms

At a root z=ξ ℓ of the numerator pynomial G(ξℓ )=0, and as a result, these values of z are known as the zeros of G(z)

At a root z=λℓ of the denominator polynomial G(λℓ)→∞, and as a result, these values of z are known as the poles of G(z)

Page 22: Chapter 6

§6.2 Rational z-Transforms

Note G(z) has M finite zeros and N finite poles

If N > M there are additional N - M zeros at

z=0 (the origin in the z-plane) If N < M there are additional M - N poles at z

=0

N

M

MN

zd

zpzzG

10

10)(

)(

)()(

Consider

Page 23: Chapter 6

§6.2 Rational z-Transforms Example – The z-transform

1,1

1)(

1

zfor

zz

has a zero at z=0 and a pole at z=1

Page 24: Chapter 6

§6.2 Rational z-Transforms

A physical interpretation of the concepts of poles and zeros can be given by plotting the

log-magnitude 20log10|G(z)|as shown on next slide for

21

21

64.08.01

88.24.21)(

zz

zzzG

Page 25: Chapter 6

§6.2 Rational z-Transforms

Page 26: Chapter 6

§6.2 Rational z-Transforms

Observe that the magnitude plot exhibits very large peaks around the points z=0.4±j0.6928 which are the poles of G(z)

It also exhibits very narrow and deep wells around the location of the zeros at z=1.2±j1.2

Page 27: Chapter 6

§6.3 ROC of a Rational z-Transform

ROC of a z-transform is an important concept

Without the knowledge of the ROC, there is no unique relationship between a sequence and its z-transform

Hence, the z-transform must always be specified with its ROC

Page 28: Chapter 6

§6.3 ROC of a Rational z-Transform

Moreover, if the ROC of a z-transform includes the unit circle, the DTFT of the sequence is obtained by simply evaluating the z-transform on the unit circle

There is a relationship between the ROC of the z-transform of the impulse response of a causal LTI discrete-time system and its BIBO stability

Page 29: Chapter 6

§6.3 ROC of a Rational z-Transform

The ROC of a rational z-transform is bounded by the locations of its poles

To understand the relationship between the poles and the ROC, it is instructive to examine the pole-zero plot of a z-transform

Consider again the pole-zero plot of the z- transform µ(z)

Page 30: Chapter 6

§6.3 ROC of a Rational z-Transform

In this plot, the ROC, shown as the shaded area, is the region of the z-plane just outside the circle centered at the origin and going through the pole at z =1

Page 31: Chapter 6

§6.3 ROC of a Rational z-Transform

Example – The z-transform H(z) of the sequence h[n]=(-0.6)nµ(n) is given by

6.01

1)(

zH

6.0

,6.01

1)(

1

zz

zH

Here the ROC is just outside the circle going through the point z=-0.6

Page 32: Chapter 6

§6.3 ROC of a Rational z-Transform

A sequence can be one of the following types: finite-length, right-sided, left-sided and two-sided

In general, the ROC depends on the type of the sequence of interest

Page 33: Chapter 6

§6.3 ROC of a Rational z-Transform

Example - Consider a finite-length sequence g[n] defined for -M≤n≤N ,where M and N are non-negative integers and |g[n]|<∞

Its z-transform is given by

N

MN nMNn

N

Mn z

zMngzngzG

0

][][)(

Page 34: Chapter 6

§6.3 ROC of a Rational z-Transform

Note: G(z) has M poles at z=∞ and N poles at z=0

As can be seen from the expression for G(z), the z-transform of a finite-length bounded sequence converges everywhere in the z-plane except possibly at z = 0 and/or at z=∞

Page 35: Chapter 6

§6.3 ROC of a Rational z-Transform

Example – A right-sided sequence with nonzero sample values for n≥0 is sometimes called a causal sequence

Consider a causal sequence u1[n] Its z-transform is given by

n

n

znuzU

][)(

011

Page 36: Chapter 6

§6.3 ROC of a Rational z-Transform

It can be shown that U1(z) converges exterior to a circle |z|=R1, Including the point z=∞

On the other hand, a right-sided sequence u

2[n] with nonzero sample values only for n≥M with M nonnegative has a z-transform U2

(z) with M poles at z=∞

The ROC of U2(z) is exterior to a circle |z|=R2 ,excluding the point z=∞

Page 37: Chapter 6

§6.3 ROC of a Rational z-Transform

Example - A left-sided sequence with

nonzero sample values for n≤0 is sometimes called a anticausal sequence

Consider an anticausal sequence v1[n] Its z-transform is given by

n

n

znvzV

][)(

0

11

Page 38: Chapter 6

§6.3 ROC of a Rational z-Transform

It can be shown that V1(z) converges interior to a circle |z|=R3, including the point z=0

On the other hand, a left-sided sequence with nonzero sample values only for n≤N with N nonnegative has a z-transform V2(z) with N poles at z=0

The ROC of V2(z) is interior to a circle |z|=R4 , excluding the point z=0

Page 39: Chapter 6

§6.3 ROC of a Rational z-Transform

Example – The z-transform of a two-sided sequence w[n] can be expressed as

The first term on the RHS, , n

nznw

0][

n

n

n

n

n

n

znwznwznwzW

1

0

][][][)(

can be interpreted as the z-transform of a right-sided sequence and it thus converges exterior to the circle |z|=R5

Page 40: Chapter 6

§6.3 ROC of a Rational z-Transform

can be interpreted as the z-transform of a left- sided sequence and it thus converges interior to the circle |z|=R6

If R5<R6, there is an overlapping ROC given by R5<|z|<R6

If R5>R6, there is no overlap and the z-transform does not exist

The second term on the RHS, , n

nznw

1][

Page 41: Chapter 6

§6.3 ROC of a Rational z-Transform

Example - Consider the two-sided sequence

u[n]=αn

where α can be either real or complex Its z-transform is given by

n

n

nn

n

nn

n

n zzzzU

1

0

)(

The first term on the RHS converges for |z| >|α|, whereas the second term converges for |z|<|α|

Page 42: Chapter 6

§6.3 ROC of a Rational z-Transform

There is no overlap between these two regions

Hence, the z-transform of u[n]=αn does not exist

Page 43: Chapter 6

§6.3 ROC of a Rational z-Transform

The ROC of a rational z-transform cannot contain any poles and is bounded by the poles

To show that the z-transform is bounded by the poles, assume that the z-transform X(z) has simple poles at z =α and z =β

Assume that the corresponding sequence

x[n] is a right-sided sequence

Page 44: Chapter 6

§6.3 ROC of a Rational z-Transform

where N0 is a positive or negative integer Now, the z-transform of the right-sided sequ

ence γnµ[n-N0] exists if

,][)(][ 021 Nnrrnx nn

0Nn

nn z

Then X[n] has the form

for some z

Page 45: Chapter 6

§6.3 ROC of a Rational z-Transform

holds for|z|>|γ|but not for|z|≤|γ| Therefore, the z-transform of

0Nn

nn z

,][)(][ 021 Nnrrnx nn

The condition

has an ROC defined by |β|<|z|≤∞

Page 46: Chapter 6

§6.3 ROC of a Rational z-Transform

has an ROC defined by 0≤|z| ≤|α| Finally, for a two-sided sequence, some of th

e poles contribute to terms in the parent sequence for n < 0 and the other poles contribute to terms n ≥ 0

,][)(][ 021 Nnrrnx nn

Likewise, the z-transform of a left-sided sequence

Page 47: Chapter 6

§6.3 ROC of a Rational z-Transform

The ROC is thus bounded on the outside by the pole with the smallest magnitude that contributes for n < 0 and on the inside by the pole with the largest magnitude that contributes for n ≥ 0

There are three possible ROCs of a rational z-transform with poles at z=α and z=β (|α|<|β|)

Page 48: Chapter 6

§6.3 ROC of a Rational z-Transform

Page 49: Chapter 6

§6.3 ROC of a Rational z-Transform

In general, if the rational z-transform has N

poles with R distinct magnitudes,then it has R+1 ROCs

Thus, there are R+1 distinct sequences with the same z-transform

Hence, a rational z-transform with a specified ROC has a unique sequence as its inverse z-transform

Page 50: Chapter 6

§6.3 ROC of a Rational z-Transform

The ROC of a rational z-transform can be easily determined using MATLAB

[z,p,k] = tf2zp(num,den)

determines the zeros, poles, and the gain constant of a rational z-transform with the numerator coefficients specified by the vector num and the denominator coefficients specified by the vector den

Page 51: Chapter 6

§6.3 ROC of a Rational z-Transform

[num,den] = zp2tf(z,p,k)

implements the reverse process The factored form of the z-transform can be

obtained using sos = zp2sos(z,p,k) The above statement computes the coefficie

nts of each second-order factor given as an L×6 matrix sos

Page 52: Chapter 6

§6.3 ROC of a Rational z-Transform

where

LLLLLL aaabbb

aaabbb

aaabbb

sos

210210

221202221202

121101211101

L

k kkk

kkk

zazaa

zbzbbzG

12

21

10

22

110)(

Page 53: Chapter 6

§6.3 ROC of a Rational z-Transform

The pole-zero plot is determined using the function zplane

The z-transform can be either described in terms of its zeros and poles: zplane(zeros,poles)

or, it can be described in terms of its numerator and denominator coefficients: zplane(num,den)

Page 54: Chapter 6

§6.3 ROC of a Rational z-Transform

Example – The pole-zero plot of

12181533

325644162)(

234

234

zzzz

zzzzzG

obtained using MATLAB is shown below

Page 55: Chapter 6

§6.4.1 The Inverse z-Transform

General Expression: Recall that, for z=rejω, the z-transform G(z) given by

njn

n

n

nerngzngzG

][][)(

dereGrng njjn )(

2

1][

Accordingly, the inverse DTFT is thus given by

is merely the DTFT of the modified sequence g[n]r-n

Page 56: Chapter 6

§6.4.1 The Inverse z-Transform

By making a change of variable z=rejω, the previous equation can be converted into a contour integral given by

where C′is a counterclockwise contour of integration defined by |z|=r

dzzzGj

ngC

n '

1)(2

1][

Page 57: Chapter 6

§6.4.1 The Inverse z-Transform But the integral remains unchanged when is

replaced with any contour C encircling the point z=0 in the ROC of G(z)

The contour integral can be evaluated using the Cauchy’s residue theorem resulting in

The above equation needs to be evaluated at all values of n and is not pursued here

C

zzGng

n

insidepolestheat

)(ofresidues][

1

Page 58: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

A rational z-transform G(z) with a causal inverse transform g[n] has an ROC that is exterior to a circle

Here it is more convenient to express G(z) in a partial-fraction expansion form and

then determine g[n] by summing the inverse transform of the individual simpler terms in the expansion

Page 59: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

if M≥N then G(z) can be re-expressed as

N

i

ii

M

i

ii

zDzP

zd

zpzG

0

0)()()(

)(

)()( 1

0 zD

zPzzG

NM

A rational G(z) can be expressed as

where the degree of P1(z) is less than N

Page 60: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

The rational function P1( z) /D(z) is called a proper fraction

Example – Consider

21

321

2.08.01

3.05.08.02)(

zz

zzzzG

21

11

2.08.01

1.25.55.15.3)(

zz

zzzG

By long division we arrive at

Page 61: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Simple Poles: In most practical cases, the rational z-transform of interest G(z) is a proper fraction with simple poles

Let the poles of G(z) be at z=λk , 1≤k≤N

A partial-fraction expansion of G(z) is then of the form

N

zzG

11)

1()(

Page 62: Chapter 6

Each term of the sum in partial-fraction expansion has an ROC given by |z|>|λl| and, thus has an inverse transform of the form

][)( nn

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion Inverse

The constants ρl in the partial-fraction expansion are called the residues and are given by

zzGz )()1( 1

Page 63: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Therefore, the inverse transform g[n] ofG(z) is given by

N

n nng1

][)(][

Note: The above approach with a slight modification can also be used to determine the inverse of a rational z-transform of a noncausal sequence

Page 64: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Example – Let the z-transform H(z) of a causal sequence h[n] be given by

)6.01)(2.01(

21

)6.0)(2.0(

)2()(

11

1

zz

z

zz

zzzH

12

11

6.012.01)(

zz

zH

A partial-fraction expansion of H(z) is then of the form

Page 65: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Now

75.26.01

21)()2.01( 2.01

1

2.01

1

zz z

zzHz

75.12.01

21)()6.01( 6.01

1

6.01

2

zz z

zzHz

and

Page 66: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

The inverse transform of the above is therefore given by

11 6.01

75.1

2.01

75.2)(

zz

zH

][)6.0(75.1][)2.0(75.2][ nnnh nn

Hence

Page 67: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Multiple Poles: If G(z) has multiple poles, the partial-fraction expansion is of slightly different form

Let the pole at z =v be of multiplicity L and the remaining N-L poles be simple and at z=λl ,1≤l≤N-L

Page 68: Chapter 6

§6.4.3 Inverse z-Transform byPartial-Fraction Expansion

Then the partial-fraction expansion of G(z) is of the form

L

ii

iLNNM

zzzzG

11

11

0 )1(1)(

LizGzzdiL z

LLi

1,)()1(

)()()!(

1 111

where the constants γi are computed

The residuesρl are calculated as before

Page 69: Chapter 6

§6.4.4 Partial-Fraction ExpansionUsing MATLAB

[r,p,k]= residuez(num,den)

develops the partial-fraction expansion of a rational z-transform with numerator and denominator coefficients given by vectors num and den

Vector r contains the residues Vector p contains the poles Vector k contains the constants ηl

Page 70: Chapter 6

§6.4.4 Partial-Fraction ExpansionUsing MATLAB

[num,den]=residuez(r,p,k)

converts a z-transform expressed in a partial-fraction expansion form to its

rational form

Page 71: Chapter 6

§6.4.5 Inverse z-Transform via Long Division

The z-transform G(z) of a causal sequence

{g[n]} can be expanded in a power series in z-1

In the series expansion, the coefficient

multiplying the term z-n is then the n-th

sample g[n] For a rational z-transform expressed as a

ratio of polynomials in z-1, the power series

expansion can be obtained by long division

Page 72: Chapter 6

§6.4.5 Inverse z-Transform via Long Division

Example – Consider

21

1

12.04.01

21)(

zz

zzH

4321 2224.04.052.06.11)( zzzzzH

0},22224.04.052.06.11{]}[{ nnh

As a result

Long division of the numerator by the denominator yields

Page 73: Chapter 6

§6.4.6 Inverse z-Transform Using MATLAB

The function impz can be used to find the inverse of a rational z-transform G(z)

The function computes the coefficients of the power series expansion of G(z)

The number of coefficients can either be user specified or determined automatically

Page 74: Chapter 6

§6.5 Table 6.2: z-Transform Properties

Page 75: Chapter 6

§6.5 z-Transform Properties Example – Consider the two-sided sequence

v[n]=αnμ[n] -βnμ[-n-1] Let x[n]=αnμ[n] and y[n]=-βnμ[-n-1] with X(z) a

nd Y(z) denoting, respectively, their z-transforms

zz

zY ,1

1)(

1

zz

zX ,1

1)(

1 Now

and

Page 76: Chapter 6

§6.5 z-Transform Properties

The ROC of V(z) is given by the overlap regions of |z|>|α| and |z|<|β|

If |α|<|β| , then there is an overlap and the ROC is an annular region |α|<|z|<|β|

If |α|>|β| , then there is no overlap and V(z) does not exist

11 1

1

1

1)()()(

zz

zYzXzV

Using the linearity property we arrive at

Page 77: Chapter 6

§6.5 z-Transform Properties

The z-transform of v[n] is given by

][2

1][

2

1][ 0 nnernv nnjn

rzzrez

zV j

,

1

1

2

1

1

1

2

1)(

11 0

Example – Determine the z-transform and its ROC of the causal sequence

x[n]=rn(cosω0nμ[n]) We can express x[n]=v[n]+v*[n] where

Page 78: Chapter 6

§6.5 z-Transform Properties

Using the conjugation property we obtain the z-transform of v*[n] as

z

zrezzV j ,

1

1

2

1

1

1

2

1)(

11***

0

11

**

00 1

1

1

1

2

1)()()(

zrezre

zVzVzX

jj

Finally, using the linearity property we get

Page 79: Chapter 6

§6.5 z-Transform Properties

Example – Determine the z-transform Y(z)

and the ROC of the sequence

y[n]=(n+1)αnμ[n]

We can write y[n]=nx[n]+x[n] where

x[n]=αnμ[n]

rzzrzr

zrzX

,)cos2(1

)cos(1)(

2210

10

Or,

Page 80: Chapter 6

§6.5 z-Transform Properties Now, the z-transform X(z) of x[n]=αnμ[n]

is given by

zz

zX ,1

1)(

1

zz

z

dz

zdXz ,

)1(

)(1

1

Using the differentiation property, we at the z-transform of nx[n] as

Page 81: Chapter 6

§6.5 z-Transform Properties

Using the linearity property we finally obtain

zz

z

z

zzY

,)1(

1

)1(1

1)(

21

21

1

1

Page 82: Chapter 6

LTI Discrete-Time Systems in the Transform Domain

An LTI discrete-time system is completely characterized in the time-domain by its impulse response sequence {h[n]}

Thus, the transform-domain representation of a discrete-time signal can also be equally applied to the transform-domain representation of an LTI discrete-time system

Page 83: Chapter 6

LTI Discrete-Time Systems in the Transform Domain

Such transform-domain representations provide additional insight into the behavior of such systems

It is easier to design and implement these systems in the transform-domain for certain applications

We consider now the use of the DTFT and the z-transform in developing the transform- domain representations of an LTI system

Page 84: Chapter 6

Finite-Dimensional LTI Discrete-Time Systems

In this course we shall be concerned with LTI discrete-time systems characterized by linear constant coefficient difference equations of the form:

][][00

knxpknydM

kk

N

kk

Page 85: Chapter 6

Finite-Dimensional LTI Discrete-Time Systems

Applying the z-transform to both sides of the difference equation and making use of the linearity and the time-invariance properties of Table 6.2 we arrive at

)()(00

zXzpzYzd kM

kk

kN

kk

where Y(z) and X(z) denote the z-transforms of y[n] and x[n] with associated ROCs, respectively

Page 86: Chapter 6

Finite-Dimensional LTI Discrete-Time Systems

A more convenient form of the z-domain representation of the difference equation is given by

)()(00

zXzpzYzd kM

kk

kN

kk

Page 87: Chapter 6

§6.7 The Transfer Function

A generalization of the frequency response function

The convolution sum description of an LTI discrete-time system with an impulse response h[n] is given by

][][][ knxkhnyk

Page 88: Chapter 6

§6.7 The Transfer Function

Taking the z-transforms of both sides we get

l

kl

k

n

n

k

n n

n

k

n

zlxkh

zknxkh

zknxkhznyzY

)(][][

][][

][][][)(

Page 89: Chapter 6

§6.7 The Transfer Function

Thus, Y(z)=H(z)X(z)

k

zX

l

l

k

zzlxkhzY

)(

][][)(

)(][)(

)(

zXzkhzY

zH

l

k

Or,

Therefore,

Page 90: Chapter 6

§6.7 The Transfer Function

Hence, H(z)=Y(z)/X(z) The function H(z), which is the z-transform of

the impulse response h[n] of the LTI system, is called the transfer function or the system function

The inverse z-transform of the transfer function H(z) yields the impulse response h[n]

Page 91: Chapter 6

§6.7 The Transfer Function Consider an LTI discrete-time system chara

cterized by a difference equation

][][00

knxpknydM

k k

N

k k

kN

k k

kM

k k

zd

zpzH

0

0)(

Its transfer function is obtained by taking the z-transform of both sides of the equation

Thus

Page 92: Chapter 6

§6.7 The Transfer Function

An alternate form of the transfer function is given by

N

k

kNk

M

k

kMkMN

zd

zpzzH

0

0)()(

N

k k

M

k k

z

z

d

pzH

1

1

0

0

)1(

)1()(

1

1

Or, equivalently

Page 93: Chapter 6

§6.7 The Transfer Function

ξ1,ξ2,...,ξM are the finite zeros, and λ1,λ1,...,λ

N are the finite poles of H(z) If N > M, there are additional (N – M) zeros at

z=0 If N < M, there are additional (M – N) poles

at z=0

N

k k

M

k kMN

z

zz

d

pzH

1

1)(

0

0

)(

)()(

Or, equivalently as

Page 94: Chapter 6

§6.7 The Transfer Function

is thus exterior to a circle going through the pole furthest from the origin

Thus the ROC is given by |z|>max|λk|

N

k k

M

k kMN

z

zz

d

pzH

1

1)(

0

0

)(

)()(

For a causal IIR digital filter, the impulse response is a causal sequence

The ROC of the causal transfer function

Page 95: Chapter 6

§6.7 The Transfer Function

Example – Consider the M-point moving- average FIR filter with an impulse response

)]1([

1

)1(

11)(

1

1

0

zzM

z

zM

zz

MzH

M

MMM

n

n

Its transfer function is then given by

otherwise,0

10,/1][

MnMnh

Page 96: Chapter 6

§6.7 The Transfer Function

The transfer function has M zeros on the unit circle at z =e j2πk/M ,0≤k≤M-1

There are M-1 poles at z = 0 and a single pole at z=1 M = 8

The pole at z = 1exactly

cancels the zero at z = 1 The ROC is the entire

z-plane except z = 0

Page 97: Chapter 6

§6.7 The Transfer Function

Example – A causal LTI IIR digital filter is described by a constant coefficient difference equation given by

y[n]=x[n-1]-1.2x[n-2]+x[n-3]+1.3y[n-1]

-1.04y[n-2]+0.222y[n-3]

321

321

222.004.13.11

2.1)(

zzz

zzzzH

Its transfer function is therefore given by

Page 98: Chapter 6

§6.7 The Transfer Function

)7.05.0)(7.05.0)(3.0(

)8.06.0)(8.06.0(222.004.13.1

12.1)(

23

2

jzjzz

jzjzzzz

zzzH

Note: Poles farthest

From z = 0 have a

magnitude ROC: 74.0z

74.0

Alternate forms:

Page 99: Chapter 6

§6.7.3 Frequency Response fromTransfer Function

If the ROC of the transfer function H(z)

includes the unit circle, then the frequency response H(ejω) of the LTI digital filter can be obtained simply as follows:

jez

j zHeH

)()(

jez

jj

jjj

zHzHeHeH

eHeHeH

)()()()(

)()((1

*2

For a real coefficient transfer function H(z) it can be shown that

Page 100: Chapter 6

§6.7.3 Frequency Response fromTransfer Function

For a stable rational transfer function in the form

N

k kj

M

k kj

MNjj

e

ee

d

peH

1

1)(

0

0)(

)(

N

k k

M

k kMN

z

zz

d

pzH

1

1)(

0

0)(

)(

the factored form of the frequency response is given by

Page 101: Chapter 6

§6.7.3 Frequency Response fromTransfer Function

It is convenient to visualize the contributions

of the zero factor (z-ξM ) and the pole factor (z-λN) from the factored form of the frequency response

The magnitude function is given by

N

k kj

M

k kj

MNjj

e

ee

d

peH

1

1)(

0

0)(

Page 102: Chapter 6

§6.7.3 Frequency Response fromTransfer Function

The phase response for a rational transfer function is of the form

N

k kj

M

k kj

j

e

e

d

peH

1

1

0

0)(

M

k

N

kk

jk

j

j

ee

MNdpeH

1 1

00

)arg()arg(

)()/arg()(arg

which reduces to

Page 103: Chapter 6

§6.7.3 Frequency Response fromTransfer Function

The magnitude-squared function of a real- coefficient transfer function can be computed using

)(

)()()(

*

1

*

1

2

0

02

kjN

k kj

kjM

k kj

j

ee

ee

d

peH

Page 104: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

The factored form of the frequency response

N

k kj

M

k kj

jj

e

eMNe

d

peH

1

1

0

0)(

)()(

is convenient to develop a geometric interpretation of the frequency response computation from the pole-zero plot as ω varies from 0 to 2π on the unit circle

Page 105: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

The geometric interpretation can be used to obtain a sketch of the response as a function of the frequency

A typical factor in the factored form of the frequency response is given by

(ejω-ρejφ)

where ρejφ is a zero if it is zero factor or is a pole if it is a pole factor

Page 106: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation As shown below in the z-plane the factor

(ejω-ρejφ) represents a vector starting at the point z=ρejφ and ending on the unit circle at z=ρejφ

Page 107: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

As ω is varied from 0 to 2π, the tip of the vector moves counterclockise from the point z =1 tracing the unit circle and back to the point z =1

Page 108: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

the magnitude response |H(ejω)| at a specific value of ω is given by the product of the magnitudes of all zero vectors divided by the product of the magnitudes of all pole vectors

N

k kj

M

k kj

j

e

e

d

peH

1

1

0

0)(

As indicated

Page 109: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

we observe that the phase response

at a specific value of ω is obtained by adding the phase of the term p0/d0 and the linear-phase term ω(N-M) to the sum of the angles of the zero vectors minus the angles of the pole vectors

N

k kjM

k kj

j

ee

MNdpeH

11

00

)arg()arg(

)()/arg()(arg

Likewise, from

Page 110: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

Thus, an approximate plot of the magnitude and phase responses of the transfer function of an LTI digital filter can be developed by examining the pole and zero locations

Now, a zero (pole) vector has the smallest magnitude when ω=φ

Page 111: Chapter 6

§6.7.4 Geometric Interpretation ofFrequency Response Computation

To highly attenuate signal components in a specified frequency range, we need to place zeros very close to or on the unit circle in this range

Likewise, to highly emphasize signal components in a specified frequency range, we need to place poles very close to or on the unit circle in this range

Page 112: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

A causal LTI digital filter is BIBO stable if and only if its impulse response h[n] is absolutely summable, i.e.,

n

nhS ][

We now develop a stability condition in terms of the pole locations of the transfer function H(z)

Page 113: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

The ROC of the z-transform H(z) of the impulse response sequence h[n] is defined by values of |z| = r for which h[n]r-n is absolutely summable

Thus, if the ROC includes the unit circle |z|=1, then the digital filter is stable, and vice versa

Page 114: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

In addition, for a stable and causal digital filter for which h[n] is a right-sided sequence, the ROC will include the unit circle and entire z-plane including the point z=∞

An FIR digital filter with bounded impulse response is always stable

Page 115: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

On the other hand, an IIR filter may be unstable if not designed properly

In addition, an originally stable IIR filter characterized by infinite precision coefficients may become unstable when coefficients get quantized due to implementation

Page 116: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

Example – Consider the causal IIR transfer function

21 850586.0845.11

1)(

zzzH

The plot of the impulse response coefficients is shown on the next slide

Page 117: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

As can be seen from the above plot, the impulse response coefficient h[n] decays rapidly to zero value as n increases

Page 118: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

The absolute summability condition of h[n]

is satisfied Hence, H(z) is a stable transfer function Now, consider the case when the transfer f

unction coefficients are rounded to values with 2 digits after the decimal point:

21 85.085.11

1)(ˆ

zzzH

Page 119: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

A plot of the impulse response of ĥ[n] is shown below

Page 120: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

In this case, the impulse response coefficient ĥ[n] increases rapidly to a constant value as n increases

Hence, the absolute summability condition of is violated

Thus, Ĥ(z) is an unstable transfer function

Page 121: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

The stability testing of a IIR transfer function is therefore an important problem

In most cases it is difficult to compute the infinite sum

nnhS ][

1

0][

K

nK nhS

For a causal IIR transfer function, the sum S

can be computed approximately as

Page 122: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

The partial sum is computed for increasing values of K until the difference between a series of consecutive values of SK is smaller than some arbitrarily chosen small number, which is typically 10-6

For a transfer function of very high order this approach may not be satisfactory

An alternate, easy-to-test, stability condition is developed next

Page 123: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

Consider the causal IIR digital filter with a rational transfer function H(z) given by

N

k

kk

M

k

kk

zd

zpzH

0

0)(

Its impulse response {h[n]} is a right-sided sequence

The ROC of H(z) is exterior to a circle going through the pole furthest from z = 0

Page 124: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

But stability requires that {h[n]} be absolutely summable

This in turn implies that the DTFT H(ejω) of {h[n]} exits

Now, if the ROC of the z-transform H(z) includes the unit circle,then

jez

j zHeH

)()(

Page 125: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

Conclusion: All poles of a causal stable transfer function H(z) must be strictly inside the unit circle

The stability region (shown shaded) in the

z-plane is shown below

Page 126: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

Example – The factored form of

21 850586.0845.01

1)(

zzzH

)943.01)(902.01(

1)(

11

zzzH

is

which has a real pole at z = 0.902 and a real pole at z = 0.943

Since both poles are inside the unit circle,

H(z) is BIBO stable

Page 127: Chapter 6

§6.7.5 Stability Condition in Terms of the Pole Locations

Example – The factored form of

21 85.085.11

1)(ˆ

zzzH

)85.01)(1(

1)(ˆ

11

zzzH

is

which has a real pole on the unit circle at z=1 and the other pole inside the unit circle

Since both poles are not inside the unit circle, H(z) is unstable