Chapter 14

The z-Transform for Discrete-Time Signals

In This Chapter

arrow Traveling to the z-domain with the two-sided z-transform

arrow Appreciating the ROC for left- and right-sided sequences

arrow Using partial fraction expansion to return to the time domain

arrow Checking out z-transform theorems and pairs

arrow Visualizing how pole-zero geometry controls the frequency response

The z-transform (ZT) is a generalization of the discrete-time Fourier transform (DTFT) (covered in Chapter 11) for discrete-time signals, but the ZT applies to a broader class of signals than the DTFT. The ZT notation is also more user friendly than the DTFT. For example, linear constant coefficient (LCC) difference equations (see Chapter 7) can be solved by using just algebraic manipulation when the ZT is involved.

Here’s the deal: When a discrete-time signal is transformed with the ZT, it becomes a function of a complex variable; the DTFT creates a function of a real frequency variable only. The transformed signal is said to be in the z-domain.

The ZT closely parallels the Laplace transform (see Chapter 13) for continuous-time signals, and you can use the ZT to analyze signals and the impulse response of linear time-invariant (LTI) systems.

In this chapter, I introduce the two-sided ZT, which allows you to transform signals that cover the entire time axis. When computing the ZT, you immediately bump into the region of convergence (ROC), which tells you where the transform exists. This chapter also describes important ROC properties that offer insight into the nature of a signal or system.

The Two-Sided z-Transform

The two-sided or bilateral z-transform (ZT) of sequence 9781118475669-eq14001.eps is defined as 9781118475669-eq14002.eps, where z is a complex variable. The ZT operator transforms the sequence 9781118475669-eq14003.eps to 9781118475669-eq14004.eps, a function of the continuous complex variable z. The relationship between a sequence and its transform is denoted as 9781118475669-eq14005.eps.

You can establish the connection between the discrete-time Fourier transform (DTFT) and the ZT by first writing 9781118475669-eq14006.eps (polar form):

9781118475669-eq14007.eps

The special case of 9781118475669-eq14008.eps evaluates 9781118475669-eq14009.eps over the unit circle — 9781118475669-eq14010.eps sweeps around the unit circle as 9781118475669-eq14011.eps varies — and is represented as 9781118475669-eq14012.eps — the DTFT of 9781118475669-eq14013.eps (see Chapter 11). This result holds as long as the DTFT is absolutely summable (read: impulse functions not allowed).

The view that 9781118475669-eq14236.eps is 9781118475669-eq14237.eps sampled around the unit circle in the z-plane (9781118475669-eq14238.eps) shows that the DTFT has period 9781118475669-eq14014.eps because 9781118475669-eq14015.eps for k an integer. When 9781118475669-eq14016.eps, 9781118475669-eq14017.eps, 9781118475669-eq14018.eps, 9781118475669-eq14019.eps, and 9781118475669-eq14020.eps. See this solution in Figure 14-1.

9781118475669-fg1401.eps

Figure 14-1: The unit circle in the z-plane and the relation between 9781118475669-eq14021.eps and 9781118475669-eq14022.eps.

The Region of Convergence

The ZT doesn’t converge for all sequences. When it does converge, it’s only over a region of the z-plane. The values in the z-plane for which the ZT converges are known as the region of convergence (ROC).

remember.eps Convergence of the ZT requires that

9781118475669-eq14023.eps

The right side of this equation shows that x[n]r-n is absolutely summable (the sum of all terms 9781118475669-eq14024.eps is less than infinity). This condition is consistent with the absolute summability condition for the DTFT to converge to a continuous function of 9781118475669-eq14025.eps (see Chapter 11).

remember.eps Convergence depends only on 9781118475669-eq14026.eps, so if the series converges for 9781118475669-eq14027.eps, then the ROC also contains the circle 9781118475669-eq14028.eps. In this case, the general ROC is an annular region in the z-plane, as shown in Figure 14-2. If the ROC contains the unit circle, the DTFT exists because the DTFT is the ZT evaluated on the unit circle.

9781118475669-fg1402.eps

Figure 14-2: The general ROC is an annulus.

The significance of the ROC

The ROC has important implications when you’re working with the ZT, especially the two-sided ZT. When the ZT produces a rational function, for instance, the roots of the denominator polynomial are related to the ROC. And for LTI systems having a rational ZT, the ROC is related to a system’s bounded-input bounded-output (BIBO) stability. The uniqueness of the ZT is also ensured by the ROC.

example.eps Example 14-1: Consider the right-sided sequence 9781118475669-eq14029.eps. The term right-sided means that the sequence is 0 for 9781118475669-eq14030.eps, and the nonzero values extend from n0 to infinity. The value of n0 may be positive or negative.

To find 9781118475669-eq14031.eps and the ROC, follow these steps:

1. Reference the definition to determine the sum:

9781118475669-eq14032.eps

2. Find the condition for convergence by summing the infinite geometric series:

9781118475669-eq14033.eps

Thus, the ROC is 9781118475669-eq14034.eps.

3. To find the sum of Step 1 in closed form, use the finite geometric series sum formula (see Chapter 2):

9781118475669-eq14035.eps

The geometric series convergence condition corresponds with the ROC. In Examples 14-2 and 14-3, I find the ROC from the geometric series convergence condition.

example.eps Example 14-2: Consider the left-sided sequence 9781118475669-eq14036.eps. The term left-sided means that the sequence is 0 for 9781118475669-eq14037.eps. To find 9781118475669-eq14038.eps and the ROC, write the definition and the infinite geometric series:

9781118475669-eq14039.eps

If the sum looks unfamiliar in its present form, you can change variables in the sum, an action known as re-indexing the sum, by letting 9781118475669-eq14040.eps, then in the limits 9781118475669-eq14041.eps, 9781118475669-eq14042.eps, and in the sum itself 9781118475669-eq14043.eps:

9781118475669-eq14044.eps

Note: Both 9781118475669-eq14045.eps from Example 14-1 and 9781118475669-eq14046.eps from Example 14-2 have the same ZT. The ROCs, however, are complements; the ZTs are thus distinguishable only by the ROCs being different, demonstrating that you need the ROC to return to the time domain without ambiguity — is it left-sided or right-sided? The rest of this chapter focuses exclusively on right-sided sequences, because they correspond to the most common scenarios.

Plotting poles and zeros

For rational functions, such as the 9781118475669-eq14047.eps of Examples 14-1 and 14-2, you want to plot the pole and zero locations in the z-plane as well as the ROC. A rational 9781118475669-eq14048.eps takes the form 9781118475669-eq14049.eps, where 9781118475669-eq14050.eps and 9781118475669-eq14051.eps are both polynomials in either z or 9781118475669-eq14052.eps. The roots of 9781118475669-eq14053.eps, where 9781118475669-eq14054.eps, are the zeros of 9781118475669-eq14055.eps, and the roots of 9781118475669-eq14056.eps are the poles of 9781118475669-eq14057.eps.

tip.eps I recommend placing 9781118475669-eq14058.eps in positive powers of z when determining the poles and zeros. You can do this by multiplying the numerator and denominator by the largest positive power of z to eliminate any negative powers of z.

Check out the pole-zero plot of 9781118475669-eq14059.eps, including the ROC, for 9781118475669-eq14060.eps and 9781118475669-eq14061.eps in Figure 14-3.

9781118475669-fg1403.eps

Figure 14-3: The pole-zero plot and ROC of 9781118475669-eq14062.eps (a) and 9781118475669-eq14063.eps (b), of Examples 14-1 and 14-2.

The ROC and stability for LTI systems

An LTI system is BIBO stable if the impulse response 9781118475669-eq14064.eps is absolutely summable, which means that the sum of all terms |h[n]| is less than infinity (see Chapter 6). To relate this to the ROC, consider the corresponding ZT 9781118475669-eq14065.eps, also known as the system function. You can find out whether the ROC of H(z) includes the unit circle by setting 9781118475669-eq14066.eps and then checking for absolute summability:

9781118475669-eq14067.eps

Here, you can conclude that, yes, the ROC of a BIBO stable system must include the unit circle.

Carrying the analysis a bit further, the poles of 9781118475669-eq14068.eps must sit outside the ROC because the poles of 9781118475669-eq14069.eps sit at singularities, points where 9781118475669-eq14070.eps is unbounded. For right-sided sequences, the ROC is the exterior of a circle with a radius corresponding to the largest pole radius of 9781118475669-eq14071.eps. This is the case in Example 14-1, where 9781118475669-eq14072.eps has a pole at 9781118475669-eq14073.eps.

remember.eps An LTI system with impulse response 9781118475669-eq14074.eps and system function 9781118475669-eq14075.eps is BIBO stable if the ROC contains the unit circle. The system function is the ZT version of frequency response 9781118475669-eq14076.eps.

For the special case of a causal system, in which 9781118475669-eq14077.eps for 9781118475669-eq14078.eps, the poles of 9781118475669-eq14079.eps must lie inside the unit circle because right-sided sequences, where causal sequences are a special case, have an ROC that’s the exterior of the largest pole radius of 9781118475669-eq14080.eps. In short, poles inside the unit circle ensure stability of causal discrete-time LTI systems.

example.eps Example 14-3: To find 9781118475669-eq14081.eps given 9781118475669-eq14082.eps, use the transform pair developed in Example 14-1 with a = 1/3 and 1/2 in the first and second terms, respectively, and make use of linearity:

9781118475669-eq14083.eps

The ROC is the intersection of the two ROCs unless a pole-zero cancellation occurs. So, tentatively, the ROC is 9781118475669-eq14084.eps. When placed over a common denominator, 9781118475669-eq14085.eps is

9781118475669-eq14086.eps

The system pole-zero plot and ROC are shown in Figure 14-4.

9781118475669-fg1404.eps

Figure 14-4: Pole-zero plot of a two-pole causal and stable system.

Finite length sequences

If 9781118475669-eq14087.eps has finite length (finite impulse response [FIR] in this case), then 9781118475669-eq14088.eps will converge everywhere as long as 9781118475669-eq14089.eps is finite for all nonzero values. If 9781118475669-eq14090.eps is nonzero only on 9781118475669-eq14091.eps, then the ZT of 9781118475669-eq14092.eps is simply 9781118475669-eq14093.eps. Here, the ROC is the entire z-plane, excluding perhaps 9781118475669-eq14094.eps and/or 9781118475669-eq14095.eps.

If 9781118475669-eq14096.eps contains negative powers of z, then the ROC must exclude 9781118475669-eq14097.eps (ROC: 9781118475669-eq14098.eps) to avoid the 9781118475669-eq14099.eps singularity. Similarly, if 9781118475669-eq14100.eps contains positive powers of z, then the ROC must exclude 9781118475669-eq14101.eps (ROC: 9781118475669-eq14102.eps) to remain bounded.

example.eps Example 14-4: Find the ZT of the finite length sequence 9781118475669-eq14103.eps. Note that this sequence is a rectangular window with exponential weighting 9781118475669-eq14104.eps. Use the definition of the ZT and the finite geometric series sum formula:

9781118475669-eq14105.eps

Because 9781118475669-eq14106.eps includes only negative powers of z, ROC: 9781118475669-eq14107.eps. What about the poles and zeros? The denominator (poles) is clear, but you may be stuck on the numerator (zeros). The roots of 9781118475669-eq14108.eps are given by 9781118475669-eq14109.eps, 9781118475669-eq14110.eps (see Chapter 2 for details on the N roots of unity). The pole at 9781118475669-eq14111.eps cancels the zero at 9781118475669-eq14112.eps. Putting it all together, you get the following:

9781118475669-eq14113.eps

This equation shows 9781118475669-eq14114.eps zeros equally spaced around a circle of radius a, excluding 9781118475669-eq14115.eps and 9781118475669-eq14116.eps poles at 9781118475669-eq14117.eps. The pole-zero plot is shown in Figure 14-5 for 9781118475669-eq14118.eps.

9781118475669-fg1405.eps

Figure 14-5: Pole-zero plot for an exponentially weighted window having length 9781118475669-eq14119.eps.

You may have noticed that the number of poles and zeros plotted is always equal to each other. This is a property of X(z) when it’s a ratio of polynomials in z or z-1. Figure 14-5 shows N – 1 poles at z = 0 and N – 1 zeros spread around a circle of radius a.

In some instances, a pole or zero may be at infinity! Consider the one-zero system (za). As 9781118475669-eq14120.eps, 9781118475669-eq14121.eps, which is the behavior of a pole at infinity. Likewise, consider the one-pole system 1/(za). As 9781118475669-eq14122.eps, 9781118475669-eq14123.eps, which is the behavior of a zero at infinity. The next example investigates a pole at infinity following sequence shifting.

example.eps Example 14-5: Consider 9781118475669-eq14124.eps. To find 9781118475669-eq14125.eps, the ROC, and the poles and zeros, follow this process:

1. Apply the definition of the ZT:

9781118475669-eq14126.eps

2. From 9781118475669-eq14127.eps, find that the zeros are 9781118475669-eq14128.eps, the two poles are at 9781118475669-eq14129.eps, and ROC is 9781118475669-eq14130.eps.

3. Generate the pole-zero plot in Figure 14-6 by using PyLab and the custom function ssd.zplane(b,a,radius=2).

Then check this on your own, using the available ssd.py Python code module.

In [17]: ssd.zplane([1,-3/2.,-1],[1],2.25)

9781118475669-fg1406.eps

Figure 14-6: A pole-zero plot generated by using zplane([1,-3/2.,-1],[1],2.25).

If you shift 9781118475669-eq14131.eps to the left one sample (let 9781118475669-eq14239.eps), 9781118475669-eq14132.eps, then the ZT becomes

9781118475669-eq14133.eps

which still has zeros at 2 and –1/2. Now the poles are at zero and infinity. You need the pole at infinity to equalize the pole-zero count and account for the fact that 9781118475669-eq14134.eps as 9781118475669-eq14135.eps, which is the behavior of a pole at infinity. Shifting 9781118475669-eq14136.eps to the right one sample (let 9781118475669-eq14240.eps) introduces a zero at infinity; the ZT goes to zero as 9781118475669-eq14137.eps.

Returning to the Time Domain

After working in the z-domain, you need to get your signal back to the time domain to work with it as a true signal once again, following some z-domain operations, such as filtering. The quick way back is through the inverse z-transform.

Formally, the inverse z-transform requires contour integration, a function of a complex variable. With a contour integral, you integrate on a closed curve in the z-plane instead of using an ordinary integral along a line. Note that I said formally. The most practical way to return from the z-domain is to form a partial fraction expansion (PFE) (see Chapter 2) and then apply the inverse z-transform to each term of the expansion by using a table of z-transform pairs.

If you can’t directly find 9781118475669-eq14138.eps from a list of transform pairs, such as you can find in Figure 14-8, then you can use PFE to decompose X(z) into a sum of terms that each have an inverse transform readily available. In this book, assume that 9781118475669-eq14139.eps is expressed in negative powers of z. Start here:

9781118475669-eq14140.eps

Ensure that 9781118475669-eq14141.eps is proper rational, or 9781118475669-eq14142.eps. If it isn’t, you need to use long division to reduce the order of the denominator. Example 14-6 demonstrates the long division process for polynomials written in terms of negative powers of z.

When 9781118475669-eq14143.eps, 9781118475669-eq14144.eps is an improper rational function. Following long division, you end up with

9781118475669-eq14145.eps

Here, 9781118475669-eq14146.eps is the remainder polynomial from long division, having degree less than N.

In this section, I run through a few PFE considerations and include examples that point out how these considerations play out in the real world.

Working with distinct poles

For the case distinct poles, if you assume that 9781118475669-eq14147.eps is proper rational and 9781118475669-eq14148.eps contains no repeated roots (poles), then you can write 9781118475669-eq14149.eps where the 9781118475669-eq14150.eps’s are the nonzero poles of 9781118475669-eq14151.eps and the Rk’s are the PFE coefficients.

warning_bomb.eps Some textbooks and references use positive powers of z for PFE, but I use negative powers of z for this technique. Don’t attempt to mix the two approaches. Using negative powers of z is the most common approach, and it fits the very nature of the signals being transformed. Signals are most often delayed in time, which corresponds to a negative power of z in the z-domain.

For the case of negative powers of z, the PFE coefficients are given by the residue formula:

9781118475669-eq14152.eps

If you need to perform long division, be sure to augment your final solution with the long division quotient terms 9781118475669-eq14153.eps.

Managing twin poles

When the pole 9781118475669-eq14154.eps for 9781118475669-eq14155.eps is repeated once (a multiplicity of two), you augment the expansion form as follows:

9781118475669-eq14156.eps

For the distinct poles, you can find the coefficients 9781118475669-eq14157.eps by using the residue formula from the previous section. For the 9781118475669-eq14158.eps coefficient, use a modified version of the residue formula:

9781118475669-eq14159.eps

Find 9781118475669-eq14160.eps by substitution. (This step is covered in Example 14-7.)

Performing inversion

After you complete the PFE, move on to using the inverse transform of the form 9781118475669-eq14161.eps, 9781118475669-eq14162.eps, and 9781118475669-eq14163.eps to get the signal back to the time domain, one by one. Unless stated otherwise, assume that the ROC is the exterior of a circle whose radius corresponds to the largest pole radius of X(z). This assumption makes the corresponding time-domain signals right-sided.

Here’s the table lookup for each of the three transform types:

9781118475669-eq14164.eps

Using the table-lookup approach

This section contains two inverse z-transform (IZT) examples that describe how to complete PFE with the table-lookup approach. The first example requires long division but has only distinct poles; the second doesn’t require long division but has one pole repeated. In both examples, you follow these steps:

1. Find out whether X(z) is a proper rational function; if not, perform long division to make it so.

2. Find the roots of the denominator polynomial and make note of any repeated roots.

3. Write the general PFE of X(z) in terms of undetermined coefficients.

4. Solve for the coefficients by using a combination of the residue formula and substitution techniques as needed.

5. Apply the IZT to the individual PFE terms by using table lookup.

6. Check your solution by using a computer tool, such as Python.

example.eps Example 14-6: Find 9781118475669-eq14165.eps given the following:

9781118475669-eq14166.eps

Here’s the process for returning this signal to the time domain:

1. Because the numerator and denominator are both second degree, reduce the numerator order to one or less by using long division.

In this case, you want to reduce the numerator to order zero:

9781118475669-eq14167.eps

The numbers are deceptively simple in this example, so work carefully.

2. Factor the denominator polynomial to find the roots.

Breathe easy, it’s already done for you in this example, but you could have started with 1 – (1/4)z–1 – (1/8)z–2. Notice that the roots, 1/2 and –1/4 are distinct.

3. Using the results of long division and the roots identified in Step 2, write out the general PFE so you can see the coefficients you need to find.

9781118475669-eq14168.eps

4. Solve for 9781118475669-eq14169.eps and 9781118475669-eq14170.eps coefficients, using the residue formula:

9781118475669-eq14171.eps

5. With the PFE coefficients and long division quotient in hand, apply the inverse transform to the terms of the PFE:

9781118475669-eq14172.eps

The ROC is the exterior of a circle of radius 1/4 so all the time-domain terms are right-sided. Carry out the inversion of each term:

9781118475669-eq14173.eps

6. Check your work with PyLab and the SciPy signal package function R,p,K = residuez(b,a).

The ndarray b contains the numerator coefficients, and a contains the denominator coefficients. The function returns a tuple of three ndarrays, R (the residues), p (the poles), and K (the results of long division):

In [7]: R,p,K = signal.residuez([1,2,1],[1,-.25,-.125])

In [8]: R

Out[8]: array([3., 6.])

In [9]: p

Out[9]: array([-0.25, 0.5 ])

In [10]: K

Out[10]: array([-8.])

The Python check agrees with the hand calculation!

example.eps Example 14-7: Find 9781118475669-eq14174.eps given the following equation:

9781118475669-eq14175.eps

Now go through the six-step process:

1. Examine X(z); if you find it to be proper rational as M = 0 and N = 2, no long division is required.

2. Factor the denominator polynomial to find the roots.

Here, the denominator polynomial is already in factored form, and the roots are 1/2 and 1/4 with the 1/4 repeated, making this a multiplicity of two.

3. Write the general PFE with one root repeated:

9781118475669-eq14176.eps

4. Using the residue formula, find that the coefficient R1 is 4. Using the modified residue formula, find that the coefficient S2 is –1.

At this point, you have the following:

9781118475669-eq14177.eps

Use substitution to solve for S1 in the expansion by choosing a convenient value for z–1 that doesn’t place a zero in the denominator of any term. Choosing 9781118475669-eq14178.eps gives you the equation 9781118475669-eq14179.eps. With all the coefficients solved for, write

9781118475669-eq14180.eps

5. Because the ROC is the exterior of a circle of radius 1/2, all the time-domain terms are right-sided; carry out the inversion of each term to get this equation:

9781118475669-eq14181.eps

6. Multiply out the denominator polynomial and then check your work with Python:

9781118475669-eq14182.eps

Load the numerator and denominator coefficients into residuez():

In [33]: R,p,K = signal.residuez([1],[1.,-1., 5/16.,-1/32.])

In [34]: R

Out[34]: array([-2.+0.j, -1.+0.j, 4.+0.j])

In [35]: p

Out[35]: array([0.25+0.j, 0.25+0.j, 0.50+0.j])

In [36]: K

Out[36]: array([0.])

Nice. Total agreement with the hand calculation.

Surveying z-Transform Properties

The ZT has many useful theorems and transform pairs. The transform theorems can be applied generally to any signal, but the transform pairs involve a specific signal and corresponding z-transform. The transform pairs in this section emphasize right-sided signals and causal systems because that’s the emphasis of this chapter. This means that the ROC is generally the exterior of a circle having finite radius.

Transform theorems

You can find some useful z-transform theorems in Figure 14-7. All these theorems are valuable, but some are used more frequently than others. For instance, the linearity theorem (Line 1) is especially popular because it allows you to break down big problems into smaller pieces. The proof follows immediately from the definition of the ZT.

9781118475669-fg1407.eps

Figure 14-7: Useful ZT theorems.

In the following sections, I lavish some special attention on two theorems — the delay and convolution theorems — because they apply to so many of the problems you’re likely to encounter as an electrical engineer.

Delay

One of the most widely used ZT theorems is delay (also sometimes called time shift): 9781118475669-eq14183.eps. Here, the ROC is the ROC of 9781118475669-eq14184.eps, denoted 9781118475669-eq14185.eps, with the possible exclusion of zero or infinity depending on both 9781118475669-eq14186.eps and the sign of 9781118475669-eq14187.eps.

The proof follows from the definition and the substitution 9781118475669-eq14188.eps:

9781118475669-eq14189.eps

Convolution

The convolution theorem of sequences is fundamental when working with LTI systems. It can be shown that 9781118475669-eq14190.eps, where the 9781118475669-eq14191.eps or larger if pole-zero cancellation occurs.

You can develop the proof of the convolution in two steps:

1. Insert the convolution sum into the ZT and then change the sum order:

9781118475669-eq14192.eps

2. Change variables on the inner sum by letting 9781118475669-eq14193.eps.

The inner sum becomes H(z), and the outer sum becomes X(z):

9781118475669-eq14194.eps

Transform pairs

Transform pairs are the lifeblood of working with the ZT. If you need to transform a signal or inverse transform a z-domain function, start by consulting a transform pairs table. Combined with theorems, these pairs practically give you super powers. Some basic transform pairs are developed in Examples 14-1 and 14-2, earlier in this chapter.

example.eps Example 14-8: Determine the z-transform of the sequence 9781118475669-eq14195.eps. From the differentiation theorem, you know that the following must be true:

9781118475669-eq14196.eps

The transform pair developed is

9781118475669-eq14197.eps

Working with the delay theorem and linearity makes this pair into Line 5 of Figure 14-8.

Find a short table of z-transform pairs in Figure 14-8, which emphasizes right-sided sequences because that’s the focus of this chapter.

tip.eps If you notice the absence of the step function, u[n], all you need to do is let a = 1 in Line 3 of Figure 14-8, and you have that pair, too!

9781118475669-fg1408.eps

Figure 14-8: Common ZT pairs.

Leveraging the System Function

The system function H(z) for LTI discrete-time systems, like its counterpart for continuous-time signals H(s) (see Chapter 13), plays an important role in the design and analysis of systems. Of special interest are LTI systems that are represented by a linear constant coefficient (LCC) difference equation.

When you couple the system function with the convolution theorem, you have the capability to model signals passing through systems entirely in the z-domain. In this section, I show you how the poles and zeros work together to shape the frequency response of a system.

The general LCC difference equation 9781118475669-eq14198.eps describes a causal system where the output y[n] is related to input x[n], M past inputs and N past outputs (see Chapter 7). You can find the system function by taking the z-transform of both sides of this equation and using linearity and the delay theorem, form the ratio of 9781118475669-eq14199.eps to get

9781118475669-eq14200.eps

This works as a result of the convolution theorem (see Figure 14-7), 9781118475669-eq14201.eps or 9781118475669-eq14202.eps.

9781118475669-eq14203.eps

technicalstuff.eps After you solve for 9781118475669-eq14204.eps, you can go almost anywhere:

check.png 9781118475669-eq14205.eps gives you the impulse response, 9781118475669-eq14206.eps.

check.png 9781118475669-eq14207.eps reveals the step response.

check.png 9781118475669-eq14208.eps provides the output 9781118475669-eq14209.eps in response to input 9781118475669-eq14210.eps.

Applying the convolution theorem

The convolution theorem gives you some powerful analysis capabilities. When you write Y(z) = X(z)H(z), the door opens to the time-domain, z-domain, and even frequency-domain results for the input, output, and the system itself. You can find Y(z), y[n] (via the inverse z-transform), and 9781118475669-eq14211.eps. You can also find X(z) if you’re given Y(z) first as well as H(z), because X(z) = Y(z)/H(z).

In some cases, you may have the time-domain quantities y[n] and/or h[n] instead, but getting to the z-domain is no problem because 9781118475669-eq14212.eps and 9781118475669-eq14213.eps. Or, given X(z) and Y(z), you can discover the system function H(z) with a starting point of the time-domain quantities.

example.eps Example 14-9: You’re given the system input 9781118475669-eq14214.eps and LTI system function

9781118475669-eq14215.eps

To find the system output 9781118475669-eq14216.eps, the most direct approach is to find 9781118475669-eq14217.eps and then calculate the inverse transform to get 9781118475669-eq14218.eps. Using transform pair Line 3 from Figure 14-8, you can write

9781118475669-eq14219.eps

Solve for the coefficients:

9781118475669-eq14220.eps

By calculating the inverse z-transform term by term, you get this equation: 9781118475669-eq14221.eps.

Check your results in PyLab or Maxima to verify that your hand calculations are correct.

Finding the frequency response with pole-zero geometry

The poles and zeros of a system function control the frequency response 9781118475669-eq14222.eps. Consider the following development:

9781118475669-eq14223.eps

where pk and zk are the poles and zeros of 9781118475669-eq14224.eps and 9781118475669-eq14225.eps, and 9781118475669-eq14226.eps are the frequency response contributions of each pole and zero. The vectors 9781118475669-eq14227.eps point from the zero and pole locations to the point 9781118475669-eq14228.eps on the unit circle. This gives you a connection between the pole-zero geometry and the frequency response. In particular, the ratio of vector magnitudes, 9781118475669-eq14229.eps, is the magnitude response. The phase response is 9781118475669-eq14230a.eps 9781118475669-eq14230b.eps.

Two custom software apps, PZ_Geom and PZ_Tool, at www.dummies.com/extras/signalsandsystems can help you further explore the relationship between frequency response and pole-zero location.

check.png PZ_Geom app: You can load a predefined system or filter or load custom coefficients and then see the pole-zero geometry with the geometry lines to represent the vectors 9781118475669-eq14231.eps and 9781118475669-eq14232.eps that change as you drag 9781118475669-eq14233.eps with the mouse. A marker on the magnitude and frequency response follows along in adjacent plots.

check.png PZ_Tool app: You can place and then drag poles and zeros arbitrarily over the z-plane to see the magnitude and phase response change interactively as poles and zeros are moved.

example.eps Example 14-10: Consider the simple first-order system:

9781118475669-eq14234.eps

This system contains single numerator and denominator vectors, so the geometry is rather simple: 9781118475669-eq14241.eps. The software app PZ_Geom allows you to see magnitude and angle of the vectors change as 9781118475669-eq14242.eps is changed by dragging the mouse. The result is that you're able to explore the relationship between frequency response and pole-zero location. A screen shot of PZ_geom is shown Figure 14-9.

9781118475669-fg1409.eps

Figure 14-9: The pole-zero geometry app allows you to drag the 9781118475669-eq14235.eps point on the unit circle.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.14.93