Docsity

Z-Transform - Digital Signal Processing With Applications | ECE 43800, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Sec. 1.6. Z-Transform 105
1.6 Z-Transform
The z-transform is an important tool for filter design and for analyzing the stability of
systems.
It is defined as
X(z)=
∞
X
n=−∞
x(n)z−n,(1.44)
where zis a complex variable, i.e. z=|z|ejω.
&%
'$
s
llllω
|z|ejω
<
=
|z|=1
1-1
-1
1
Figure 1.70. Z-transform.
DTFT can be interpreted as the z-transform evaluated on the unit circle,
X(ejω)= X(z)|z=ejω (1.45)
1.6.1 Rational Z-Transform
We will mostly be interested in z-transforms that are rational functions of z, i.e. ratios
of two polynomials,
H(z)=P(z)
Q(z),(1.46)
where P(·) and Q(·) are polynomials. Rational z-transforms are transfer functions of
LTI systems described by linear, constant-coefficient difference equations such as:
y(n)=
N−1
X
i=0
bix(n−i)−
M
X
k=1
aky(n−k).(1.47)
We now introduce some terminology.
•If there is no second term in the right-hand side of Eq. (1.47), then the system is
called non-recursive,orfinite-duration impulse response (FIR) system.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Z-Transform - Digital Signal Processing With Applications | ECE 43800 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Sec. 1.6. Z-Transform 105

 1.6 Z-Transform

The z-transform is an important tool for filter design and for analyzing the stability of systems. It is defined as X(z) =

∑^ ∞

n=−∞

x(n)z−n, (1.44)

where z is a complex variable, i.e. z = |z|ejω.

&%

'$

s l l l

l ω

|z|ejω

|z| = 1

Figure 1.70. Z-transform.

DTFT can be interpreted as the z-transform evaluated on the unit circle,

X(ejω) = X(z)|z=ejω (1.45)

 1.6.1 Rational Z-Transform

We will mostly be interested in z-transforms that are rational functions of z, i.e. ratios of two polynomials,

H(z) = P (z) Q(z)

where P (·) and Q(·) are polynomials. Rational z-transforms are transfer functions of LTI systems described by linear, constant-coefficient difference equations such as:

y(n) =

N∑ − 1

i=

bix(n − i) −

∑^ M

k=

aky(n − k). (1.47)

We now introduce some terminology.

  • If there is no second term in the right-hand side of Eq. (1.47), then the system is called non-recursive, or finite-duration impulse response (FIR) system.

106 CHAPTER 1. ANALYSIS OF DISCRETE-TIME LINEAR TIME-INVARIANT SYSTEMS

  • Otherwise, it is recursive (because the current output sample y(n) is expressed in terms of the past output samples). If it cannot be written as non-recursive, then it is an infinite-duration impulse response system. ZT {x(n − i)} = z−iX(z) (1.48)

Y (z) =

N∑ − 1

i=

biz−iX(z) −

∑^ M

k=

akz−kY (z)

Y (z)

∑^ M

k=

akz−k

= X(z)

N∑ − 1

i=

biz−i

Therefore, the transfer function can be written as

H(z) = Y (z) X(z)

N∑ − 1

i=

biz−i

∑^ M

k=

akz−k

z−N^ +

N∑ − 1

i=

bizn−^1 −i

z−M

zM^ +

∑^ M

k=

akzM^ −k

assume b 06 = = b 0 zM^ −N^ +

N∏ − 1

i=

(z − zi)

∏^ M

k=

(z − pk)

where the last equality comes from the fact that polynomials of degrees N − 1 and M have N −1 and M roots, respectively. The values of z for which H(z) = 0 (i.e., the roots of the numerator z 1 , z 2 , · · · , zN − 1 ) are called the zeros of H(z); whereas the values for which H(z) is infinite (i.e., zeros of the denominator p 1 , p 2 , · · · , pM ) are called the poles

of H(z). In addition, if M > (N − 1), then there are M − (N − 1) zeros at z = 0; if M < (N − 1), then there are (N − 1) − M poles at z = 0. Poles and zeros may also occur at z = ∞: “zero at ∞” means lim |z|→∞

H(z) = 0, “poles at ∞” means lim |z|→∞ H(z) = ∞.

108 CHAPTER 1. ANALYSIS OF DISCRETE-TIME LINEAR TIME-INVARIANT SYSTEMS

(b) System Diagram The system diagram is depicted in Fig. 1.72.

z−^1



x(n)  y(n)

a

Figure 1.72. The system diagram of Example 1.31. z−^1 delays a signal by one time unit.

(c) Frequency Response The frequency response of the system can be obtained by replacing z with ejω^ in the transfer function:

H

ejω

1 − ae−jω ∣∣ H

ejω

(1 − ae−jω)(1 − aejω)

=

1 − 2 a cos ω + a^2

(1 − a)^2 + 2a(1 − cos ω)

|H(e

jω

a=0. a=0. a=0.

Figure 1.73. Magnitude response of the filter in Example 1.31 for several values of the parameter a.

Fig. 1.73 shows the magnitude response of the filter for different values of a. In

Sec. 1.6. Z-Transform 109

particular, note that the height of the peak is determined only by a, since the term with the cosine is removed when ω = 0. The closer a is to the unit circle, the sharper the peak, and the thinner the passband.

As we have seen from Example 1.31, in general, a pole near the unit circle will cause the frequency response to increase in the neighborhood of that pole; a zero will cause the frequency response to decrease in the neighborhood of that zero (Fig. 1.74).

&%

'$

e

e (^) Re(z)

1

ejθ

e−jθ

θ θ

Im(z)

−π −θ θ π

|H(ejω^ )|

ω

(a) Zeros on the unit circle. (b) A bandstop filter corresponding to (a).

&%

'$ θ^ Re(z) θ 1 re−jθ

rejθ

Im(z)

−π −θ π

|H(ejω^ )|

ω θ (c) Poles near the unit circle. (d) A bandpass filter corresponding to (c). Figure 1.74. The effects of zeros and poles near the unit circle.

 1.6.2 Region of Convergence (ROC) of the Z-Transform

Example 1.32. Let x(n) = 2nu(n). Then,

X(z) =

∑^ ∞

n=

2 nz−n^ =

∑^ ∞

n=

z

)n .

When can we sum this series? In other words, when does this series converge? Consider these two cases:

  1. If |z| ≤ 2 , then

∣ (^2) z

∣ (^) ≥ 1. This means that every term in the series has an absolute value greater than or equal to 1. If it is greater than 1, then every successive terms grows larger. If it is equal to 1, then we are just adding 1 an infinite number of times. In both cases, the series diverges.

Sec. 1.6. Z-Transform 111

  1. if |z| < 2 , the series converges, and

Y (z) = − z 2

1 − z 2 = −

z 2 − z =

1 − (^2) z

Putting it all together,

Y (z) =

undefined |z| ≥ 2

1 1 − (^2) z^ |z|^ <^2

We get the same expression for the z-transform as in Example 1.32 but the ROC is different and in fact does not intersect the ROC from Example 1.32.

Example 1.34. Let w(n) = 2n^ for − ∞ < n < ∞. Then

2 nu(n) + 2nu(−n − 1) = x(n) − y(n),

where x(n) and y(n) are from Examples 1.32 and 1.33, respectively. Hence,

W (z) = X(z) − Y (z)

1 − (^2) z

1 − (^2) z = 0 ???

What is wrong with this derivation? As we saw in the two previous examples, X(z) and Y (z) have no common ROC:

  • X(z) is undefined for |z| ≤ 2.
  • Y (z) is undefined for |z| ≥ 2.

This means that W (z) is not defined for any z.

Definition 1.12. The region of convergence of

∑^ ∞

n=−∞

x(n)z−n

is the set of all z for which this series is absolutely convergent, i.e.,

∑^ ∞

n=−∞

x(n)z−n

112 CHAPTER 1. ANALYSIS OF DISCRETE-TIME LINEAR TIME-INVARIANT SYSTEMS

We use absolute convergence to avoid certain pathological series which converge, but do not converge absolutely. An example of this is

∑^ ∞

n=−∞

(−1)nu(n)

n z−n^ at z = 1.

 1.6.3 Properties of ROC, Poles and Zeros

The following is a list of several important properties of the z-transform.

  1. The ROC is a ring or a disc centered at the origin: r 1 < z < r 2. Note that r 1 or r 2 could be 0 or ∞.

ROC Im(z)

Re(z)

Im(z)

Re(z)

Im(z)

Re(z)

(a) x(n) left-sided. (b) Generic x(n). (c) x(n) right-sided.

Figure 1.76. The geometries of the ROC.

  1. The ROC cannot contain any poles.
  2. If x(n) is a finite-duration sequence (i.e., x(n) = 0 except for N 1 ≤ n ≤ N 2 ), then the ROC is the whole z-plane except possibly z = 0.
  3. If x(n) is a right-sided sequence (x(n) = 0 for n < N 1 ), then the ROC is

|z| > |pmax|,

where pmax is the outermost finite pole of X(z).

  1. If x(n) is a left-sided sequence (x(n) = 0 for n ≥ N 2 ), then the ROC is

|z| < |pmin|,

where pmin is the innermost non-zero pole of X(z).

  1. Generalizing Example 1.32 and Example 1.33, we have:

anu(n) ↔

1 − az−^1 , where the ROC is |z| > |a|, (1.51)

−anu(−n − 1) ↔

1 − az−^1 , where the ROC is |z| < |a|. (1.52)

114 CHAPTER 1. ANALYSIS OF DISCRETE-TIME LINEAR TIME-INVARIANT SYSTEMS

Thus, we have

X(z) =

1 − z−^1

1 − 2 z−^1

We now consider the three possible ROC’s that this z-transform can have.

Case 1. ROC |z| > 2. Using (1.51),

x(n) = 3 · 1 nu(n) − 2 · 2 nu(n) = (3 − 2 n+1)u(n).

Case 2. ROC 1 < |z| < 2. Using (1.51) and (1.52),

x(n) = 3 · 1 nu(n) + 2 · 2 nu(−n − 1).

Case 3. ROC |z| < 1. Using (1.52),

x(n) = (−3 + 2n+1)u(−n − 1).

Case 1

Case 3

Case 2

Re(z)

Im(z)

Figure 1.77. ROC for the cases in Example 1.35.

−5 −3 −1 1 3 5 −

−

−

−

10

n

x(n)

−5 −3 −1 1 3 5 −

−

−

1

3

5

n

x(n)

−5 −3 −1 1 3 5 −

−

−

1

3

5

n

x(n)

(a) |z| > 2 (b) 1 < |z| < 2 (c) |z| < 1

Figure 1.78. The inverse z-transforms for the 3 possible ROC’s of Example 1.35.

Sec. 1.6. Z-Transform 115

 1.6.4 Discrete-Time Exponentials zn 0 are Eigenfunctions of Discrete-Time

LTI systems

Suppose that a discrete-time complex exponential x(n) = zn 0 is the input signal to an LTI system with impulse response h(n). Then the output is:

y(n) =

∑^ ∞

k=−∞

h(k)x(n − k)

∑^ ∞

k=−∞

h(k)zn 0 −k

= zn 0

∑^ ∞

k=−∞

h(k)z− 0 k

If z 0 is in the ROC of H(z), we can write

y(n) = zn 0 · ZT {h(k)} |z=z 0 = zn 0 H(z 0 ),

as shown in Fig. 1.79.

LTI system

with impulse

response h(n)

x(n) = zn 0

y(n) = H(z 0 )z 0 n ,

if z 0 ∈ ROC of H(z).

Figure 1.79. An LTI system with zn 0 as the input.

The transfer function H(z) is the z-transform of the impulse response h(n). It is also the scaling factor of zn^ when zn^ goes through the system. Recall that we have already considered the case of z 0 = ejω^0. The frequency response H(ejω^0 ) is:

  • the DTFT of the impulse response h(n);
  • the scaling factor when ejω^0 n^ is the input, as shown in Fig. 1.80.

LTI system

with impulse

response h(n)

x(n) = ejω^0 n y(n) = H(ejω^0 )ejω^0 n

Figure 1.80. An LTI system with ejω^0 n^ as the input.