In this digital signal processing and discrete-time control (digital control) tutorial, we will learn
- Basic definition of the Z-transform
- How to compute the Z-transform of the unit impulse sequence
- How to compute the Z-transform of the delayed unit impulse sequence
- How to compute the Z-transform of the unit-step sequence
The YouTube video accompanying this post is given below.
Z-transform Definition
Before starting with examples, it is very important to properly understand and memorize the definition of the Z-transform. In this tutorial, we consider sequences that are zero for negative values of the discrete-time instant. Consequently, we consider the unilateral Z-transform defined as follows.
Definition of the unilateral Z-transform of discrete sequences (signals). Let be a discrete-time sequence: . Then, the unilateral Z-transform of this sequence is defined by
(1)
Here are several important things that should be kept in mind:
- is a complex number.
- The notation is the complex variable obtained after the Z-transform of the discrete-time sequence . That is, the capital letter notation is used to denote the transformed variables that are expressed in the complex z-domain.
- The Z-transform transforms signals from the discrete-time domain to the complex domain. On the other hand, the Laplace transform, transforms continuous-time signals to complex domain. The Laplace transform is used for continuous-time linear systems. On the other hand, the Z-transform is used for discrete-time systems. That is, what Laplace transform is for continuous-time systems, that is the Z-transform for discrete-time systems.
- The notation is used to denote the actual Z-transform of the discrete sequence .
- The sum in the definition (1) is an infinite sum, and naturally, the question of convergence of such a sum might arise. In this tutorial, we will consider sequences for which the sum in (1) converges. In our future tutorials, we will analyze the convergence in more detail.
- Z-transform is a very useful tool for stability analysis, filter design, control system analysis, and design of discrete-time systems. Consequently, if you are working in the field of digital signal processing and real-time control, you have to have a strong understanding of the Z-transform.
In the sequel, we explain how to compute the Z-transform for several elementary and commonly used sequences in digital signal processing. In the second part of this tutorial, we will explain how to compute the Z-transform for other types of sequences.
Z-transform of the unit impulse sequence
The unit impulse sequence is a fundamental sequence in signal processing. It is often denoted by and is defined as follows
(2)
Since this sequence is zero for , we use the unilateral Z-transform. We have
(3)
Since, , and , , , … , we have
(4)
Consequently, we have
(5)
Z-transform of the delayed unit impulse sequence
The delayed unit impulse sequence is defined by the following equation
(6)
We have
(7)
or
(8)
We have that , and all other terms are equal to zero. By using this fact, from (8) we have
(9)
This is actually a very important result that is often used in digital signal processing. The Z-transform of a delayed unit impulse if , where, is the actual delay. From here, we have a very important interpretation of the complex variable. Namely, when we multiply a signal by the negative the power of , that is by , in the time domain, we will obtain the delayed signal . That is, the time equivalent of is . This is a very important important result.
Z-transform of the unit step sequence
The unit step sequence is another very important sequence or signal used in digital signal processing and digital control theory. It is usually denoted by and is defined as follows
(10)
That is, this sequence is equal to for zero and positive values of . This is a classical step signal used to test the response of dynamical systems. The Z-transform of the unit step sequence is:
(11)
Next, we will determine the closed analytical form of the Z transform of the unit step sequence. The last equation in (11), is very similar to the classical geometric series of real numbers. In fact, the formulas for the sum and for the sum of first geometric series are mathematically equivalent to the formulas for the last equation of (11). Let us consider the following finite sum of the first terms of the infinite series given by the last equation in (11).
(12)
Similarly to the sum of the first terms of the geometric series, the sum is equal to
(13)
where can be interpreted as the common ratio. The common ratio is the ratio of the two subsequent elements in a geometric series, for example, the second element in the series given by the last equation in (11) is , and the third element is . The ratio is equal to , and the same is valid for all other subsequent entries of the series.
Now, if we let approach infinity, and under the assumption that the modulus of the complex number , that is , is larger than 1, from (13), we obtain
(14)
By combining the last equation in (11) with (14), we obtain
(15)
or
(16)
and that is the final expression for the Z-transform of the unit step sequence.