Z Transform
Z Transform
The Z Transform
In the Z transform our focus is in the discrete-(time)
processes. With the advent of fast and cheap digital computers, there has been renewed emphasis on the analysis
and design of digital systems, which represent a major
class of engineering systems. Digital systems operate on
digital signals, which are usually generated by sampling a
continuous-time signal, that is, a signal defined for every
instant of a possibly infinite time interval. The sampling
takes place so that a digital sequence is generated. After
processing by a computer, the output digital signal may
be used to construct a new continuous-time signal, perhaps by the use of a zero-order hold device, and this in
turn might be used to control a plant or process. Digital
signal processing devices have made a major impact in
many areas of engineering, as well as in the home.
Laplace transform was a valuable aid in the analysis
of continuous-time systems, and z-transform will perform
the same task for discrete-time systems.
Since z transforms relate to sequences, we first review
the notation associated with sequences. A finite sequence
{xk }n0 is an ordered set of n + 1 real or complex numbers:
Z{xk }
X
xk
= X(z) =
zk
(1)
k=
Z{xk }
0
= X(z) =
X
xk
k=0
zk
(2)
{xk } = {2k } k 0
Z-transform of a sequence {ak } where a is a real or
complex constant is
Z{ak } =
X
ak
k=0
zk
1
z
=
(|z| > |a|) (3)
1 a/z z a
Z{k } =
1
=1
z0
Sampling
Sequences are often generated in engineering applications through the sampling of continuous-time signals,
described by functions f (t) of a continuous-time variable
t.
A continuous-time signal f (t) is sampled instantaneously
at uniform intervals T , the sampling interval. The sampling process generates the sequence:
{f (kT )} = {f (0), f (T ), f (2T ), ...}
When we take the Z-transform of the sequence we get:
Z{f (kT )} =
X
f (kT )
k=0
zk
yk = xk+1
Z-transform for {yk } is
(5)
(6)
kX
0 1
xnz kon
n=0
(7)
3z
z2
3z 2 3z 2 6z
6z
3z 2
Z{xk+1} = zX(z)zx0 =
3z =
=
z2
z2
z2
z2
and
3z 3
Z{xk+2} = z X(z) z x0 zx1 =
3z 2 6z
z2
2
3z 3 3z 3 + 6z 2 6z 2 + 12z
12z
=
=
z2
z2
9
(8)
Multiplication by k n
If Z{xk } = X(z) then for a positive integer n
d n
) X(z)
(9)
dz
(First differentiate with respect to z and then multiply by z. Raising to the power of n means repeat
the operation n times.)
Z{k nxk } = (z
Initial-value theorem
If {xk } is a sequence with z transform X(z) then the
initial-value theorem states that
lim X(z) = x0
Final-value theorem
10
k1
11
{xk }
xk = 1
xk = ak
xk = k
xk = kak1
xk = ekT
xk = cos kwT
xk = sin kwT
xk =
1
0
(k = 0)
(k > 0)
Z{xk } = 1 All z.
12
Z 1
z
z2
Z 1
z
(z 1)(z 2)
Z 1
2z + 1
(z + 1)(z 3)
14
15
X
1
= 2
z
z z2
and then write
16
1
1
A
B
=
=
+
z 2 z 2 (z 2)(z + 1) z 2 z + 1
Multiplying across 1 = A(z + 1) + B(z 2). z = 2
gives A = 1/3 and z = 1 gives B = 1/3. Now
X
1
1
1
= 2
=
z
z z 2 3(z 2) 3(z + 1)
so
X=
z
z
3(z 2) 3(z + 1)
and hence
1
1
xk = 2k (1)k
3
3
Example 15. Suppose that a sequence of observations {xk } is being recorded and we receive observation {xk } at (time)step k. We might attempt to
process this sequence of observations {xk } using the
discrete-time feedback system (like in figure). At time
step k the observation {xk } enters the system as an
input, and, after combination with the feedback signal at the summing junction S, proceeds tot the block
labelled D. This block is a unit delay block, and its
function is to hold its input signal until the clock
advances one step, to step k + 1. At this time the input signal is passed without alteration to become the
17
signal {yk+1}, the (k + 1)th member of the output sequence {yk }. At the same time this signal is fed back
through a scaling block of amplitude to the summing
junction S. This process is instantaneous, and at S
the feed back signal is substracted from the next input observation {xk } to provide the next input to the
delay block D. the process then repeats at each clock
step.
To analyse the system, let {rk } denote the sequence
of input signals to D; then owing to the delay action
of D, we have:
yk+1 = rk
Also, owing to the feedback action,
rk = xk yk
where is the feedback gain. Combining the two
expressions gives
yk+1 = xk yk
or
yk+1 + yk = xk
18
(10)
Equation (10) is an example of a first-order difference equation, and it relates adjacent members of the
sequence {yk } to each other and to the input sequence
{xk } as well as, in this case, the feedback gain .
Example 16. Solve the difference equation
8Yk+2 6Yk+1 + Yk = 9
given that Y0 = 1 and Y1 =
3
2
Z tranfer function
Let us consider the general linear constant-coefficient
difference equation model for a linear time-invariant system, with input sequence {uk } and output sequence {yk }.
Both {yk } and {uk } are causal sequences. Such a difference equation model takes the form
anYk+n+an1Yk+n1+...+a0yk = bmuk+m+bm1uk+m1+...+b0uk
(11)
where k 0 and n,m, are positive integers with(n
m). Assuming the system to be initially in a quiecent
state, we take z transforms to give
19
20
z
z 2 + 3z + 2
21
Stability:
A linear constant-coefficient discrete-time system with
transfer function G(z) is stable if and only if all the poles
of G(z) lie within the unit circle |z| < 1 in the complex z
plane. If one or more poles lie outside this unit circle then
the system is unstable. If one or more distinct poles lie
on the unit circle |z| = 1, with all the other poles inside,
then the system is said to be marginally stable.
Example 18. Which of the following systems, specified
by their transfer function G(z), are stable?
a)
1
G(z) =
z + 0.75
b)
z
G(z) = 2
z z + 0.5
c)
z2
G(z) = 3
z 3z 2 + 2.5z 1
22
Convolution
Suppose that a linear discrete-time time-invariant system has impulse response sequence {yk }, and suppose
that we wish to find the system response {yk } to an input sequence {uk }. First we express the input sequence
{uk } = {u0, u1, u2, ...}
as
{uk } = {u0{k }, u1{k1}, u2{k2}, ...}
where
kj = {
0 if k =
6 j
1 if k = j
{yk } =
uj {ykj }
(14)
j=0
by
yh =
h
X
uj yhj
(15)
j=0
That is
k
X
uj ykj }
{yk } = {
(16)
j=0
(15) is called the convolution sum. We have explored the time-domain input-output relationship for a
linear system, and now we proceed to link this approach
with our work in the transform domain.
By definition
U (z) =
uk z k
(17)
yk z k
(18)
j=0
Y (z) =
X
j=0
so
24
uj ykj
j=0
We have thus shown that the time-domain and trasformdomain approaches are equivalent, and in passing, we
have established the z transform of the convolution sum
as
Z{
k
X
j=0
25
z
z + 1/2
What is the system step response?
G(z) =
26
nT
)
=
n=0
n=0 f (nT )(t nT )
Taking the Laplace transform of f(t), we have
Z
L{f(t)} =
L{f(t)} =
(19)
n=0
f (kT )
n=0
(t kT )estdt
(20)
giving
L{f(t)} =
X
n=0
27
f (kT )eksT
(21)
f (kT )z 1 = F (z)
(22)
k=0
28