The Z-transform and Discrete-time Lti Systems

78
SIGNALS, SPECTRA, AND SIGNAL PROCESSING THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Transcript of The Z-transform and Discrete-time Lti Systems

Page 1: The Z-transform and Discrete-time Lti Systems

SIGNALS, SPECTRA, AND SIGNAL PROCESSING

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 2: The Z-transform and Discrete-time Lti Systems

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Objectives:1. To define the z-transform2. To determine the properties of the z-transform3. To describe the methods for inverting the z-

transform of a signal so as to obtain the time-domain representation of the signal

4. To demonstrate the importance of the z-transform in the analysis and characterization of linear time-invariant systems

Page 3: The Z-transform and Discrete-time Lti Systems

IntroductionThe z-transform is used to represent digital-time signals or sequences in the z-domain (z is a complex variable).The z-transform converts differential equations into algebraic equations, thereby simplifying the analysis of discrete-time systems.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 4: The Z-transform and Discrete-time Lti Systems

The z-transformThe z-transform of a discrete-time signal x(n) is

defined as the power series

For convenience, the z-transform is denoted by

whereas the relationship between x(n) and X(z) is indicated by

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 5: The Z-transform and Discrete-time Lti Systems

The region of convergence (ROC) of X(z) is the set of all values of z for which X(z) attains a finite value.Three properties of the ROC:

1. A finite-length sequence has a z-transform with a region of convergence that includes the entire z-plane except, possibly, z = 0 and z = ∞. The point z = ∞ will be included if x(n) = 0 for n < 0, and the point z = 0 will be included if x(n) = 0 for n > 0.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 6: The Z-transform and Discrete-time Lti Systems

2. A right-sided sequence has a z-transform with a region of convergence that is the exterior of a circle:

3. A left-sided sequence has a z-transform with a region of convergence that is the interior of a circle:

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 7: The Z-transform and Discrete-time Lti Systems

The variable z is generally complex-valued and is expressed in polar form as

Then X(z) can be expressed as

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 8: The Z-transform and Discrete-time Lti Systems

Example 1Determine the z-transforms of the following finite-duration signals.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 9: The Z-transform and Discrete-time Lti Systems

Solution:

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 10: The Z-transform and Discrete-time Lti Systems

Example 2Determine the z-transform of the signal

Solution:

The z-transform of x(n) is the infinite power series

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 11: The Z-transform and Discrete-time Lti Systems

This is an infinite geometric series. Recall that

Consequently, for |(1/2)z-1| < 1, or equivalently, for |z| > ½, X(z) converges to

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 12: The Z-transform and Discrete-time Lti Systems

Example 3Determine the z-transform of the signal

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 13: The Z-transform and Discrete-time Lti Systems

Solution:

If |αz-1| < 1 or equivalently |z| > |α|, this power series converges to 1/(1 - αz-1).Thus we have the z-transform pair

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 14: The Z-transform and Discrete-time Lti Systems

The exponential signal x(n) = αnu(n)

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 15: The Z-transform and Discrete-time Lti Systems

The ROC of the z-transform of x(n) = αnu(n)

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 16: The Z-transform and Discrete-time Lti Systems

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 17: The Z-transform and Discrete-time Lti Systems

Properties of the z-Transform1.Linearity

If

then

where a1 and a2 are arbitrary constants.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 18: The Z-transform and Discrete-time Lti Systems

Example 4Determine the z-transform and the ROC of the signal

Solution:If we define the signals

andthen

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 19: The Z-transform and Discrete-time Lti Systems

Recall that

By setting α = 2 and α = 3, we obtain

Therefore,

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 20: The Z-transform and Discrete-time Lti Systems

2. Time shiftingIf

Then

Special cases:

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 21: The Z-transform and Discrete-time Lti Systems

Example 5Determine the transform of the signal

Solution:

Since x(n) has finite duration, its ROC is the entire z-plane, except z = 0.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 22: The Z-transform and Discrete-time Lti Systems

3. Scaling in the z-domainIf

Then

For any constant a, real or complex.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 23: The Z-transform and Discrete-time Lti Systems

Example 6Determine the z-transform of the signal

Solution:From Table 3.3

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 24: The Z-transform and Discrete-time Lti Systems

4. Time-reversalIf

then

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 25: The Z-transform and Discrete-time Lti Systems

5. Multiplication by n (Differentiation in z)If

then

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 26: The Z-transform and Discrete-time Lti Systems

Example 7Determine the signal x(n) whose z-transform is given by

Solution:By taking the first derivative of X(z), we obtain

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 27: The Z-transform and Discrete-time Lti Systems

Thus

The inverse z-transform of the term in the brackets is (-a)n. The multiplication by z-1 implies a time delay by one sample, which results in (-a)n-1u(n-1). Finally, from the differentiation property we have

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 28: The Z-transform and Discrete-time Lti Systems

6. AccumulationIf

then

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 29: The Z-transform and Discrete-time Lti Systems

7. Convolution of two sequencesIf

then

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 30: The Z-transform and Discrete-time Lti Systems

Computation of the convolution of two signals, using the z-transform, requires the following steps:

1. Compute the z-transforms of the signals to be convolved.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 31: The Z-transform and Discrete-time Lti Systems

2. Multiply the two z-transforms.

3. Find the inverse z-transforms of X(z).

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 32: The Z-transform and Discrete-time Lti Systems

Example 8Compute the convolution x(n) of the signals

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 33: The Z-transform and Discrete-time Lti Systems

Solution 1:

Multiply X1(z) and X2(z). Thus

or

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 34: The Z-transform and Discrete-time Lti Systems

Solution 2:

Multiply the two signals

or

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 35: The Z-transform and Discrete-time Lti Systems

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 36: The Z-transform and Discrete-time Lti Systems

Rational z-transformMany of the signals of interest in digital signal

processing have z-transforms that are rational functions of z:

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 37: The Z-transform and Discrete-time Lti Systems

If a0 ≠ 0 and b0 ≠ 0, we can avoid the negative powers of z by factoring out the terms b0z-M and a0z-N

as follows:

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 38: The Z-transform and Discrete-time Lti Systems

Since N(z) and D(z) are polynomials in z, they can be expressed in factored form as

Where z1, z2, …, zM values are zeros of a z-transform for which x(z) = 0 and p1, p2, …, pN are poles of a z-transform for which x(z) = ∞.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 39: The Z-transform and Discrete-time Lti Systems

The Inverse z-TransformTo begin,

Suppose we multiply both sides by zn-1 and integrate both sides over a closed contour within the ROC of X(z). Thus,

Where C denotes the closed contour in the ROC of X(z)

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 40: The Z-transform and Discrete-time Lti Systems

Cauchy integral theorem states that

By applying the theorem to the right hand side of the equation above reduces to 2πjx(n) and hence the desired inversion formula

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 41: The Z-transform and Discrete-time Lti Systems

Three possible approaches of the inverse z-transform:

1. Contour Integration

2. Power Series Expansion

3. Partial Fraction Expansion

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 42: The Z-transform and Discrete-time Lti Systems

Contour IntegrationThis procedure relies on Cauchy's integral theorem, which states that if C is a closed contour that encircles the origin in a counterclockwise direction,

With

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 43: The Z-transform and Discrete-time Lti Systems

Cauchy's integral theorem may be used to show that the coefficients x(n) may be found from X(z) as follows:

where C is a closed contour within the region of convergence of X(z) that encircles the origin in a counterclockwise direction.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 44: The Z-transform and Discrete-time Lti Systems

Contour integrals of this form may often by evaluated with the help of Cauchy's residue theorem,

If X(z) is a rational function of z with a first-order pole at z = αk,

Contour integration is particularly useful if only a few values of x(n) are needed.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 45: The Z-transform and Discrete-time Lti Systems

Power Series ExpansionGiven a z-transform X(z) with its corresponding ROC, we expand the X(z) into a power series of the form

which converges in the given ROC

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 46: The Z-transform and Discrete-time Lti Systems

Example 9Determine the inverse z-transform of

when (a) ROC: |z| > 1(b) ROC: |z| < 0.5

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 47: The Z-transform and Discrete-time Lti Systems

IN this case the ROC is the exterior of a circle and the x(n) is a causal signal.

Thus

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 48: The Z-transform and Discrete-time Lti Systems

In this case the ROC is the interior of a circle and the signal x(n) is anticausal.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 49: The Z-transform and Discrete-time Lti Systems

Thus

Therefore

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 50: The Z-transform and Discrete-time Lti Systems

Partial Fraction ExpansionRecall:

If we assume a0 = 1, then

Note that x(z) is called proper if M < N and aN ≠ 0 and x(z) is called improper if M ≥ N which can be written as the sum of a polynomial and a proper rational function.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 51: The Z-transform and Discrete-time Lti Systems

Example 10Express the improper rational function

In terms of a polynomial and a proper function.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 52: The Z-transform and Discrete-time Lti Systems

Solution:First, we should carry out the long division with these two polynomials in reverse order. We stop the division when the order of the remainder becomes z-1. Then we obtain.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 53: The Z-transform and Discrete-time Lti Systems

Let X(z) be a proper rational function, that is,

where

By multiplying zN both to the numerator and denominator,

which contains only positive powers of z

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 54: The Z-transform and Discrete-time Lti Systems

Since N > M

In performing a partial fraction expansion, we first factor the denominator polynomial into factors that contain the poles p1, p2, …, pN of X(z).

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 55: The Z-transform and Discrete-time Lti Systems

Case 1: Distinct poles

Where: p1, p2, …, pN are the poles and A1, A2, …, AN are the coefficient that need to be determined.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 56: The Z-transform and Discrete-time Lti Systems

Example 11Determine the partial fraction expansion of the proper function

Solution:First, multiply z2 to both numerator and denominator. Thus

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 57: The Z-transform and Discrete-time Lti Systems

To solve for A1 and A2, multiply the equation by the denominator term (z – 1)(z – 0.5). Thus

Let z = p1 = 1 Let z = p2 = 0.5

Therefore

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 58: The Z-transform and Discrete-time Lti Systems

Case 2: Multiple-order poles

Example 12:Determine the partial fraction expansion of

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 59: The Z-transform and Discrete-time Lti Systems

Solution:First we express the z-transform in terms of positive powers of z

X(z) has a simple pole p1 = -1 and a double pole p2 = p3 = 1.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 60: The Z-transform and Discrete-time Lti Systems

To determine A1, we multiply both sides of the equation by (z + 1) and evaluate the result at z = -1. Thus

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 61: The Z-transform and Discrete-time Lti Systems

To determine A3, we multiply both sides of the equation by (z - 1)2 and evaluate the result at z = 1. Thus

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 62: The Z-transform and Discrete-time Lti Systems

To determine A2, we differentiate both sides of the equation with respect to z and evaluate the result at z = 1. Thus

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 63: The Z-transform and Discrete-time Lti Systems

The One-Sided z-TransformThe one-sided, or unilateral, z-transform is defined by

The primary use of the one-sided z-transform is to solve linear constant coefficient difference equations that have initial conditions.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 64: The Z-transform and Discrete-time Lti Systems

Most of the properties of the one-sided z-transform are the same as those for the two-sided z-transform. One that is different, however, is the shift property. Specifically, if x(n) has a one-sided z-transform X1(z), the one-sided z-transform of x(n - 1) is

It is this property that makes the one-sided z-transform useful for solving difference equations with initial conditions.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 65: The Z-transform and Discrete-time Lti Systems

Example 13Consider the linear constant coefficient difference equation

Let us find the solution to this equation assuming that x(n) = δ(n - 1) with y(-1) = y(-2) = 1.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 66: The Z-transform and Discrete-time Lti Systems

We begin by noting that if the one-sided z-transform of y(n) is Y1(z), the one-sided z-transform of y(n -2) is

Therefore, taking the z-transform of both sides of the difference equation, we have

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 67: The Z-transform and Discrete-time Lti Systems

where X1(z) = z-1. Substituting for y(-1) and y(-2), and solving for Y1(z), we have

Therefore

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 68: The Z-transform and Discrete-time Lti Systems

The System Function of Discrete-Time LTI A.The System Function

The output y[n] of a discrete-time LTI system equals the convolution of the input x[n] with the impulse response h[n] is

Applying the convolution property of the z-transform, we obtain

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 69: The Z-transform and Discrete-time Lti Systems

The equation can be expressed as

The z-transform H(z) of h[n] is referred to as the system function (or the transfer function) of the system.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 70: The Z-transform and Discrete-time Lti Systems

B. Characterization of Discrete-Time LTI Systems1. Causality

For a causal discrete-time LTI system, we have

since h[n] is a right-sided signal, the corresponding requirement on H(z) is that the ROC of H(z) must be of the form

the ROC is the exterior of a circle containing all of the poles of H(z) in the z-plane.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 71: The Z-transform and Discrete-time Lti Systems

if the system is anticausal, that is,

then h[n] is left-sided and the ROC of H(z) must be of the form

the ROC is the interior of a circle containing no poles of H(z) in the z-plane.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 72: The Z-transform and Discrete-time Lti Systems

2. StabilityA discrete-time LTI system is BIB0 stable if and only if

The corresponding requirement on H(z) is that the ROC of H(z) contains the unit circle (that is, lzl = 1).

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 73: The Z-transform and Discrete-time Lti Systems

3. Causal and Stable SystemsIf the system is both causal and stable, then all of the poles of H(z) must lie inside the unit circle of the z-plane because the ROC is of the form lzl > rmax, and since the unit circle is included in the ROC, we must have rmax < 1.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 74: The Z-transform and Discrete-time Lti Systems

C. System Function for LTI Systems Described by Linear Constant-Coefficient Difference Equations

The general linear constant-coefficient difference equation

Applying the z-transform and using the time-shift property and the linearity property of the z-transform, we obtain

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 75: The Z-transform and Discrete-time Lti Systems

or

Thus,

Hence, H(z) is always rational.

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 76: The Z-transform and Discrete-time Lti Systems

D. Systems InterconnectionFor two LTI systems (with h1[n] and h2[n], respectively) in cascade, the overall impulse response h[n] is given by

Thus, the corresponding system functions are related by the product

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 77: The Z-transform and Discrete-time Lti Systems

Similarly, the impulse response of a parallel combination of two LTI systems is given by

and

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS

Page 78: The Z-transform and Discrete-time Lti Systems

QUESTIONS

THE Z-TRANSFORM AND DISCRETE-TIME LTI SYSTEMS