Z-transform
From Wikipedia, the free encyclopedia
In mathematics and signal processing, the Z-transform converts a discrete time domain signal, which is a sequence of real numbers, into a complex frequency domain representation.
The Z-transform and advanced Z-transform were introduced (under the Z-transform name) by E. I. Jury in 1958 in Sampled-Data Control Systems (John Wiley & Sons). The idea contained within the Z-transform was previously known as the "generating function method".
The (unilateral) Z-transform is to discrete time domain signals what the one-sided Laplace transform is to continuous time domain signals.
Contents |
[edit] Definition
The Z-transform, like many other integral transforms, can be defined as either a one-sided or two-sided transform.
[edit] Bilateral Z-Transform
The bilateral or two-sided Z-transform of a discrete-time signal x[n] is the function X(z) defined as
where n is an integer and z is, in general, a complex number:
- z = Aejφ
- where A is the magnitude of z, and φ is the angular frequency (in radians per sample).
[edit] Unilateral Z-Transform
Alternatively, in cases where x[n] is defined only for n ≥ 0, the single-sided or unilateral Z-transform is defined as
In signal processing, this definition is used when the signal is causal.
An important example of the unilateral Z-transform is the probability-generating function, where the component x[n] is the probability that a discrete random variable takes the value n, and the function X(z) is usually written as X(s), in terms of s = z − 1. The properties of Z-transforms (below) have useful interpretations in the context of probability theory.
[edit] Inverse Z-Transform
The inverse Z-Transform is
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 .
A special case of this contour integral occurs when is the unit circle (and can be used when the ROC includes the unit circle). The inverse Z-Transform simplifies to the inverse Discrete-Time Fourier transform:
- .
The Z-transform with a finite range of n and a finite number of uniformly-spaced z values can be computed efficiently via Bluestein's FFT algorithm. The discrete time Fourier transform (DTFT) (not to confuse with the discrete Fourier transform (DFT)) is a special case of such a Z-transform obtained by restricting z to lie on the unit circle.
[edit] Region of convergence
The region of convergence (ROC) is where the Z-transform of a signal has a finite sum for a region in the complex plane.
[edit] Example 1 (No ROC)
Let . Expanding on the interval it becomes
Looking at the sum
There are no such values of that satisfy this condition.
[edit] Example 2 (causal ROC)
Let (where u is the Heaviside step function). Expanding on the interval it becomes
Looking at the sum
The last equality arises from the infinite geometric series and the equality only holds if which can be rewritten in terms of as . Thus, the ROC is . In this case the ROC is the complex plane with a disc of radius 0.5 at the origin "punched out".
[edit] Example 3 (anticausal ROC)
Let (where u is the Heaviside step function). Expanding on the interval it becomes
Looking at the sum
Using the infinite geometric series, again, the equality only holds if which can be rewritten in terms of as . Thus, the ROC is . In this case the ROC is a disc centered at the origin and of radius 0.5.
[edit] Examples conclusion
Examples 2 & 3 clearly show that the Z-transform of is unique when and only when specifying the ROC. Creating the pole-zero plot for the causal and anticausal case show that the ROC for either case does not include the pole that is at 0.5. This extends to cases with multiple poles: the ROC will never contain poles.
In example 2, the causal system yields an ROC that includes while the anticausal system in example 3 yields an ROC that includes .
In systems with multiple poles it is possible to have an ROC that includes neither nor . The ROC creates a circular band. For example, has poles at 0.5 and 0.75. The ROC will be , which includes neither the origin nor infinity. Such a system is called a mixed-causality system as it contains a causal term and an anticausal term .
The stability of a system can also be determined by knowing the ROC alone. If the ROC contains the unit circle (i.e., ) then the system is stable. In the above systems the causal system is stable because contains the unit circle.
If you are provided a Z-transform of a system without an ROC (i.e., an ambiguous ) you can determine a unique provided you desire the following:
- Stability
- Causality
If you need stability then the ROC must contain the unit circle. If you need a causal system then the ROC must contain infinity. If you need an anticausal system then the ROC must contain the origin.
The unique can then be found.
[edit] Properties
Time domain | Z-domain | ROC | |
---|---|---|---|
Notation | ROC: | ||
Linearity | At least the intersection of ROC1 and ROC2 | ||
Time shifting | ROC, except if and if | ||
Scaling in the z-domain | |||
Time reversal | |||
Conjugation | ROC | ||
Real part | ROC | ||
Imaginary part | ROC | ||
Differentiation | ROC | ||
Convolution | At least the intersection of ROC1 and ROC2 | ||
Correlation | At least the intersection of ROC of X1(z) and X2(z − 1) | ||
Multiplication | At least | ||
Parseval's relation |
- Initial value theorem
-
- , If causal
- Final value theorem
-
- , Only if poles of are inside the unit circle
[edit] Table of common Z-transform pairs
Signal, x[n] | Z-transform, X(z) | ROC | |
---|---|---|---|
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 |
[edit] Relationship to Laplace
The bilateral Z-transform is simply the two-sided Laplace transform of the ideal sampled function
where is the continuous-time function being sampled, the nth sample, is the sampling period, and with the substitution: .
Likewise the unilateral Z-transform is simply the one-sided Laplace transform of the ideal sampled function. Both assume that the sampled function is zero for all negative time indices.
The Bilinear transform is a useful approximation for converting continuous time filters (represented in Laplace space) into discrete time filters (represented in z space), and vice versa. To do this, you can use the following substitutions in H(s) or H(z) :
from Laplace to z (Tustin transformation);
from z to Laplace.
[edit] Relationship to Fourier
The Z-transform is a generalization of the discrete time fourier transform (DTFT). The DTFT can be found by evaluating the Z-transform at or, in other words, evaluated on the unit circle. In order to determine the frequency response of the system the Z-transform must be evaluated on the unit circle, meaning that the system's region of convergence must contain the unit circle. Otherwise, the DTFT of the system does not exist.
[edit] Linear constant coefficient difference equation
The linear constant coefficient difference (LCCD) equation is a representation for a linear system based on the autoregressive moving average equation.
Both sides of the above equation can be divided by , if it is not zero, normalizing and the LCCD equation can be written
This form of the LCCD equation is favorable to make it more explicit that the "current" output is a function of past outputs , current input , and previous inputs .
[edit] Transfer function
Taking the Z-transform of the equation yields
and rearranging results in
[edit] Zeros and poles
From the fundamental theorem of algebra the numerator has M roots (called zeros) and the denominator has N roots (called poles). Rewriting the transfer function in terms of poles and zeros
Where is the zero and is the pole. The zeros and poles are commonly complex and when plotted on the complex plane (z-plane) it is called the pole-zero plot.
In simple words, zeros are the solutions to the equation obtained by setting the numerator equal to zero, while poles are the solutions to the equation obtained by setting the denominator equal to zero.
In addition, there may also exist zeros and poles at z = 0 and . If we take these poles and zeros as well as multiple-order zeros and poles into consideration, the number of zeros and poles are always equal.
By factoring the denominator, partial fraction decomposition can be used, which can then be transformed back to the time domain. Doing so would result in the impulse response and the linear constant coefficient difference equation of the system.
[edit] Output response
If such a system is driven by a signal then the output is . By performing partial fraction decomposition on and then taking the inverse Z-transform the output can be found. In practice, it is often useful to fractionally decompose before multiplying that quantity by to generate a form of which has terms with easily computable inverse Z-transforms.
[edit] See also
[edit] Bibliography
- Eliahu Ibrahim Jury, Theory and Application of the Z-Transform Method, Krieger Pub Co, 1973. ISBN 0-88275-122-0.
- Refaat El Attar, Lecture notes on Z-Transform, Lulu Press, Morrisville NC, 2005. ISBN 1-4116-1979-X.
[edit] External links
Digital Signal Processing |
---|
Theory — Nyquist–Shannon sampling theorem, estimation theory, detection theory |
Sub-fields — audio signal processing | control engineering | digital image processing | speech processing | statistical signal processing |
Techniques — Discrete Fourier transform (DFT) | Discrete-time Fourier transform (DTFT) | bilinear transform | Z-transform, advanced Z-transform |
Sampling — oversampling | undersampling | downsampling | upsampling | aliasing | anti-aliasing filter | sampling rate | Nyquist rate/frequency |