1 Applications of z-transforms
1.1 Transfer (or system) function
Consider a first order linear constant coefficient difference equation
(1)
where is a given sequence.
Assume an initial condition is given.
Task!
Take the z-transform of (1), insert the initial condition and obtain in terms of .
Using the right shift theorem
where is the z-transform of the given or input sequence and is the z-transform of the response or output sequence .
Solving for
so
(2)
The form of (2) shows us clearly that is made up of two components, and say, where
- which depends on the input
- which depends on the initial condition .
Clearly, from (2), if (zero initial condition) then
and hence the term zero-state response is sometimes used for .
Similarly if and hence (zero input)
and hence the term zero-input response can be used for .
In engineering the difference equation (1) is regarded as modelling a system or more specifically a linear discrete time-invariant system. The terms linear and time-invariant arise because the difference equation (1) is linear and has constant coefficients i.e. the coefficients do not involve the index . The term ‘discrete’ is used because sequences of numbers, not continuous quantities, are involved. As noted above, the given sequence is considered to be the input sequence and , the solution to (1), is regarded as the output sequence.
Figure 8
A more precise block diagram representation of a system can be easily drawn since only two operations are involved:
1. Multiplying the terms of a sequence by a constant.
2. Shifting to the right, or delaying, the terms of the sequence.
A system which consists of a single multiplier is denoted as shown by a triangular symbol:
Figure 9
As we have seen earlier in this workbook a system which consists of only a single delay unit is represented symbolically as follows
Figure 10
The system represented by the difference equation (1) consists of two multipliers and one delay unit. Because (1) can be written
a symbolic representation of (1) is as shown in Figure 11.
Figure 11
The circle symbol denotes an adder or summation unit whose output is the sum of the two (or more) sequences that are input to it.
We will now concentrate upon the zero state response of the system i.e. we will assume that the initial condition is zero.
Thus, using (2),
so
(3)
The quantity , the ratio of the output z-transform to the input z-transform, is called the transfer function of the discrete system. It is often denoted by .
Key Point 16
The transfer function of a discrete system is defined by
when the initial conditions are zero.
Task!
-
Write down the transfer function
of the system represented by (1)
- using negative powers of
- using positive powers of .
- Write down the inverse z-transform of .
-
From (3)
-
Referring to the Table of z-transforms at the end of the Workbook:
We can represent any discrete system as follows
Figure 12
From the definition of the transfer function it follows that
(at zero initial conditions).
The corresponding relation between and the inverse z-transform of the transfer function will be discussed later; it is called a convolution summation .
The significance of is readily obtained.
Suppose
i.e. is the unit impulse sequence that is normally denoted by . Hence, in this case,
so and
In words: is the response or output of a system where the input is the unit impulse sequence . Hence is called the unit impulse response of the system.
Key Point 17
For a linear, time invariant discrete system, the unit impulse response and the system transfer function are a z-transform pair:
It follows from the previous Task that for the first order system (1)
is the transfer function and
is the unit impulse response sequence.
Task!
Write down the transfer function of
- a single multiplier unit
- a single delay unit.
-
if the multiplying factor is
using the linearity property of z-transform
so is the required transfer function.
-
so (remembering that initial conditions are zero)
is the transfer function of the single delay unit.
Task!
Obtain the transfer function of the system.
where is a known sequence with for .
[Remember that the transfer function is only defined at zero initial condition i.e. assume also.]
Taking z-transforms
so the transfer function is
1.2 Second order systems
Consider the system whose difference equation is
(4)
where the input sequence
In exactly the same way as for first order systems it is easy to show that the system response has a z-transform with two components.
Task!
Take the z-transform of (4), assuming given initial values . Show that has two components. Obtain the transfer function of the system (4).
From (4)
At zero initial conditions, so the transfer function is
Example
Obtain (i) the unit impulse response (ii) the unit step response of the system specified by the second order difference equation
(5)
Note that both these responses refer to the case of zero initial conditions. Hence it is convenient to first obtain the transfer function of the system and then use the relation in each case.
We write down the transfer function of (5), using positive powers of . Taking the z-transform of (5) at zero initial conditions we obtain
We now complete the problem for inputs 1. 2. , the unit step sequence, using partial fractions.
-
With
so
the response is, as we saw earlier,
so
where
-
The z-transform of the unit step is
so the unit step response has z-transform
Hence, taking inverse z-transforms, the unit step response of the system is
Notice carefully the form of this unit step response - the first two terms decrease as increases and are called transients . Thus
and the term is referred to as the steady state part of the unit step response.
1.3 Combinations of systems
The concept of transfer function enables us to readily analyse combinations of discrete systems.
Series combination
Suppose we have two systems and with transfer functions , in series with each other. i.e. the output from is the input to .
Figure 13
Clearly, at zero initial conditions,
so the ratio of the final output transform to the input transform is
(6)
i.e. the series system shown above is equivalent to a single system with transfer function
Figure 14
Task!
Obtain
- the transfer function
-
the governing difference equation of the system obtained by connecting two first order systems
and
in series. The governing equations are:
-
Begin by finding the transfer function of
and
and then use (6):
: so
:
so the series arrangement has transfer function
If and are the input and output transforms for the series arrangement, then
-
By transfering the denominator from the right-hand side to the left-hand side and taking inverse z-transforms obtain the required difference equation of the series arrangement:
We have
from which, using the right shift theorem,
.
which is the required difference equation.
You can see that the two first order systems in series have an equivalent second order system. Feedback combination
Figure 15
For the above negative feedback arrangement of two discrete systems with transfer functions we have, at zero initial conditions,
where
Task!
Eliminate and hence obtain the transfer function of the feedback system.
so
This is the required transfer function of the negative feedback system.