2.9 Z Transform
The Z transform is the counterpart of the Laplace transform for discrete-time signals. The pair of equations is given by
| (2.58) |
where is a counterclockwise closed path encircling the origin and entirely in the region of convergence (ROC). The contour (or path) must encircle all of the poles of .
2.9.1 Relation between Laplace and Z transforms
The Laplace and Z transforms are related. When the Laplace transform is performed on a sampled signal and a C/D is used, the result is the Z transform15 of a discrete-time sequence where
| (2.59) |
and is the sampling period.
Eq. (2.59) is used in the matched Z-transform method for converting in into in , and is further discussed in Section 3.11.3.
Example 2.23. Converting to discrete-time and finding the corresponding Z-transform. As in Example 1.33, assume a continuous-time signal should be transformed to a discrete-time with a sampling period , and then have its Z-transform calculated. From Eq. (1.34):
| (2.60) |
where the last step used Eq. (2.61).
2.9.2 Advanced: Z transform basis functions
The basis functions of the Z transform are , . The complex-value could be written in Cartesian coordinates but it is more convenient to write it in polar coordinates, as . Taking in account the discrete-time , a Z basis function can be written as
Similar to the Laplace basis function , which has and , the Z basis function is also controlled by two parameters: and . As in the Laplace transform, the value of imposes the envelope of the Z basis function while (similar to ) controls the rate of its oscillation (see Figure 2.20).
The similarity of Laplace and Z basis functions can be made more explicit by writing
where . Comparing the Laplace basis function with the Z basis function , it is clear that they describe the same category of signals, but in continuous-time and discrete-time, respectively.
But the region of convergence of a Laplace transform depends on , so it is convenient to write the complex value in Cartesian coordinates, to make explicit. On the other hand, as will be discussed in this section, the region of convergence of a Z transform is determined by the magnitude of a value, which makes more convenient to write the complex value in polar coordinates, making explicit.
2.9.3 Some pairs and properties of the Z-transform
A very useful Z transform pair is
and an important Z transform property is
- .
Putting them together leads to
- .
With this result, and using linearity one can write, e. g.,
In cases is left-sided or right-sided, can be written as a geometric series and Eq. (A.20) used to obtain . For example, the Z transform of is obtained as follows:
Using Eq. (A.20) with a scale factor , ratio and leads to
| (2.61) |
2.9.4 Region of convergence for a Z transform
Similar to the Laplace transform, the values of for which the transform exists are called the region of convergence (ROC). The ROC of Z transforms are annular regions of the form (for right-sided sequences, also called causal), (for left-sided sequences) or (for two-sided sequences), where . When the signal in time-domain has a finite support (duration), the ROC of the associated Z transform is the whole -plane, eventually with the exceptions of and .
To recover from its transform , it is essential to know the ROC. For example, the Z transform of is:
In order to use Eq. (A.20) with factor and ratio one can modify the summation interval
with the ROC (because Eq. (A.20) requires ). In summary, both (see Eq. (2.61)) and have and only the ROC can disambiguate them when calculating the inverse Z transform.
2.9.5 Inverse Z of rational functions via partial fractions
In general, the inverse Z transform is calculated using Eq. (2.58). But similar to the methodology described for the Laplace transform in Section 2.8.5, for the important category of Z transforms that are ratios of two polynomials, one can use partial fraction expansion (see Appendix A.10) to conveniently calculate the inverse .
The inverse transform of rational functions can be obtained by following two simple steps and then the procedure in Section 2.8.5 adopted for inverse Laplace transforms. The procedure is the following:
- f 1.
- make the rational function to have only non-negative16 powers of ,
- f 2.
- find the poles and expand in partial fractions as discussed in Section A.10,
- f 3.
- eventually multiply by to create and force the appearance of terms term ,
- f 4.
- convert each parcel of to the time domain,
- f 5.
- rearrange the terms, especially the ones corresponding to complex conjugate poles and
- f 6.
- because , then . Find the final result substituting by in .
For example, to obtain the inverse transform of
with ROC , one can multiply numerator and denominator by and obtain their roots:
The partial fraction expansion is
Multiplying both sides by leads to
which can be rewritten by converting the complex numbers from Cartesian to polar form
Because in this case the ROC is for a right-sided sequence, each term corresponds to and the time domain signal is
which leads to
Note that a pair of complex conjugate poles have complex conjugate residues. Let and be the residues for poles and , respectively, both with multiplicity one. With a ROC corresponding to right-sided signals, the two terms and in the partial fraction expansion can be rearranged in time domain to compose the general expression
If the ROC corresponds to left-sided signals, the same terms correspond to
Different approaches to obtain can lead to distinct expressions, but these expressions must correspond to the same values of . For example, some people prefer to obtain the partial fraction expansion of instead of using the suggested steps 3) and 6). Expanding allows to multiply the obtained partial fractions by to get factors. An example better illustrates the equivalence of both procedures and the reason for suggesting ours.
Assume the task is to find the inverse of knowing that is right-sided. Using the alternative procedure of expanding , one has
which can be conveniently multiplied by to obtain parcels in the form :
that leads to the inverse
| (2.62) |
Using the steps of the suggested procedure, which expands in partial fractions instead of , the result is
which seems different than Eq. (2.62). However, a closer inspection indicates that, for both expressions, the sample values , etc., are the same, i. e., the procedures led to the same signal, as expected.
Simplifying the partial fractions corresponding to complex conjugates
The Web has several tables of properties and pairs related to the Z transform.17 An interesting result is the initial value theorem, which is valid for signals for which for (right-sided) and states that
Using this theorem, one can anticipate that when has a denominator with degree larger than the numerator, such as in .
Similar to Figure 2.22 and Figure 2.23, which are for Laplace, Figure 2.27 and Figure 2.28 depicts the magnitude and phase, respectively, for
| (2.63) |
which has one finite zero and three poles as indicated in Figure 2.29.
2.9.6 Calculating the DTFT from a Z transform
The relation between the Z transform and the DTFT is similar to the one between Laplace and Fourier transforms discussed in Section 2.8.6. Figure 2.30 and Figure 2.31 provide an example using Eq. (2.63).
Sometimes it is not convenient to deal with 3-d plots such as Figure 2.31. An alternative is to represent the DTFT using a figure similar to Figure 2.32, which shows the magnitude and phase with the angle as independent variable. As discussed in Section 1.8.4, for convenience, the abscissa is normalized by , such that “1” corresponds to rad. Due to the symmetry of when is real, it is also common to represent the abscissa in the range (instead of as in Figure 2.32).