Professional Documents
Culture Documents
Z - Transform
1
Z-Transform
Transform techniques are an important tool in the
analysis of signals and LTI systems.
Z-transform plays the same role in the analysis of D.T
signals and LTI systems as the Laplace transform does
in the analysis of C.T signals and LTI systems.
In z-domain convolution of two time domain signals is
equivalent to multiplication of their corresponding z-
transforms. This property simplifies the analysis of
response of LTI systems to various signals.
Z-transform provides a means of characterizing an LTI
system and its response to various signals by its pole-
zero location.
From mathematical point of view, z-transform is an
alternative representation of signals. 2
The Direct Z-Transform
The z-transform of a discrete time signal is defined as the
power series
X ( z) x[ n
n
] z n
(1)
Solution:
X( z ) x[n]z
n
n
n n
1 n 1 1
z z
n 0 2 n0 2
2
1 1
1 z 1 z .......
2 2
1
1
1 z 1
2
ROC: |1/2 z-1| < 1, or equivalently |z| > 1/2
6
Example 3: Determine the z-transform of the
signal x[n] = anu[n]
Solution:
n
X( z ) a n z n az 1
n0 n0
1
1 az az
1 2
.......
1
1 az 1
ROC :| z || a |
8
Example: Determine the z-transform of
the signal x[n] = [3(2n) – 4(3n)]u[n]
Solution:
1
z[a u[n]]
n
1 az 1
1 1
z[3( 2) 4 3 ] 3
n
n
1
4
1 2z 1 3 z 1
Example 4: Determine the z-transform of
the signal (cosw0n)u[n]
1 1
cos w 0nu[n] e jw 0n e jw 0n
2 2
1 1 1 1
z cos w 0nu[n]
jw 0 1
2 1e z 2 1 e jw 0 z 1
1 z 1 cos w 0
1 2z 1 cos w 0 z 2 9
Time Shifting Property:
If x[n] X(z) then x[n-k] z-kX(z)
Proof:
since
z[x[n k ]] x[n k ]z
n
n
z k
x[m
m
]z m
z k
X( z )
10
Example: Find the z-transform of a unit step
function. Use time shifting property to find z-
transform of u[n] – u[n-N].
1
1 z 1 z 2 .......
1 z 1
11
Scaling in the z-domain
If x[n] X(z)
Then anx[n] X(a-1z)
For any constant a, real or complex.
Proof:
a x[n]z
x[n] a z
n 1 n
z a x[n]
n n
X a 1 z
n n
Example 5: Determine the z-transform of the signal
an(cosw0n)u[n].
Solution: since
1 z 1 cos w 0
z[cos( w 0n )u[n]
1 2z 1 cos w 0 z 2
1
1 az cos w 0
z[a cos w 0n u[n]]
n
1 2az 1 cos w 0 a 2 z 2 12
Time reversal
If x[n] X(z) then x[-n] X(z-1)
Proof:
x[m] z
z[x[n]] x[n]z
n
n
x[m]z
m
m
m
1 m
X( z 1 )
13
Differentiation in the z - Domain
x[n] X(z) then nx[n] = -z(dX(z)/dz)
Tutorial:Q1: Prove the differentiation property
of z – transform.
Example 7: Determine the z-transform of the
signal x[n] = nanu[n].
Solution:
1
z[a n u[n]]
1 az 1
1
d 1 az
z[na n u[n]] z
dz 1 az 1
1 az 1 2
14
Convolution of two sequences
If x1[n] X1(z) and x2[n] X2(z) then
x1[n]*x2[n] X1(z)X2(z)
Proof:
The convolution of x1[n] and x2[n] is defined as
x[n] x1[n] * x 2 [n] x [n]x [n k ]
k
1 2
Solution:
X1(z) = 1 – 2z-1 + z-2
X2(z) = 1 + z-1 + z-2 + z-3 + z-4 + z-5
Now X(z) = X1(z)X2(z) = 1 – z-1 – z-6 + z-7
Hence x[n] = [1, -1, 0, 0, 0, 0, -1, 1]
Note: You should verify this result from the
definition of the convolution sum.
16
Correlation of two sequences
If x1[n] X1(z) and x2[n] X2(z)
then rx1x2[k] = X1(z)X2(z-1)
2 z 1
X( z )
1 1.8z 1 0.8z 2
Solution:
1
1 z 1 X( z ) 1 z 1
2 z
1 1.8z 1 0.8z 2
1 1
1 z 1
2 z 2 z
1 z 1 0.8z 1 0.8z 1
1 1
19
Power Series Method
Example 2: Determine the z-transform of
1
X( z ) 1 2
1 1.5z 0.5z
By dividing the numerator of X(z) by its
denominator, we obtain the power series
1
1 32 z 1 74 z 2 158 z 3 16
31 4
z ...
1 32 z 1 12 z 2
20
Power Series Method
Example 2:Determine the z-transform of
1
4z
X(z ) 1 2
2 2z z
By dividing the numerator of X(z) by its
denominator, we obtain the power series
21
Step1: Eliminate all the (–ve) powers of z.
22
Partial Fraction Method:
Example 1: Find the signal corresponding to
the z-transform
z 3
X( z )
2 3 z 1 z 2
Solution:X(z) z 3
0.5
0.5
2 3z 1 z 2 z 3 1.5z 2 0.5z z z 1 z 0.5
X( z ) 0.5 3 1 1 4
2 2
z z z 1 z 0.5 z z z 1 z 0.5
1 z z
X( z ) 3 ( 4)
z z 1 z 0.5
1 1
or X( z ) 3 z 1
1
4
1 z 1 0.5z 1
Solution:
z3
Y( z )
z 0.2 z 0.2 2
Y( z ) z2 0.25 0.75 0.1
z z 0.2 z 0.2 2 z 0.2 z 0.2 z 0.2 2
0.25z 0.75z 0.1z
Y( z )
z 1 z 0.2 z 0.2 2
1
1 1 0 .2 z
0.25 0. 75 0 .1
1 0.2z 1
1 0.2z 1 0.2 1 0.2z 1 2
y[n] 0.25 0.2 u[n] 0.75 0.2 u[n] 0.5n 0.2 u24[n]
n n n
The One-Sided z-Transform
It differs from 2-sided z-transform in the lower limit
of summation which is always zero whether or not
the signal is zero for n<0 (i-e causal).
25
Characteristics:
It does not contain information about the signal
x[n] for negative values of time.
It is unique only for causal signals because only
these signals are zero for n<0.
For non-causal it is not unique.
Examples:
x1[n] = {1,2,5,7,0,1} ,
X2[n] = {1,2,5,7,0,1}
26
x3[n] = {0, 0,1, 2, 5, 7, 0, 1}
x4[n] = {2,4,5,7,0,1}
Observation:
x2[n] x4[n] but
Hence not unique for non-causal signals. 27
Pulse Transfer Function
It is defined as the ratio of the z-transform of the
output to the z-transform of the input when all
initial conditions are assumed to be zero.
Mathematically,
M
1 2
b0 b1 z b2 z ..... bM z M b z k
k
Y ( z)
H ( z) k 0
a0 a1 z 1 a2 z 2 ..... a N z N N
X ( z)
a
k 0
k z k
Imaginary Part 1
-1
-1.5 -1 -0.5 0 0.5 1 1.5
Real Part
31
To find the unit impulse response, we
compute the inverse z-transform of H(z) by
using partial fraction expansion:
2 z 1 2z 2 z 2z 2 z
H ( z) 2
1
1 0.1z 0.02 z 2
z 0.1z 0.02 z 0.2 z 0.1
H( z ) 2z 1 2 4
z z 0.2 z 0.1 z 0.2 z 0.1
2z 4z 1 1
H( z ) 2 1
4 1 0.1z 1
z 0.2 z 0.1 1 0.2z
32
Example: A system is characterized by the
difference equation
y[n] – 0.1y[n-1] – 0.02 y[n-2] = 2x[n] – x[n-1].
- Find the system transfer function.
- Response of system to unit step input.
- Hint X(z) =
33
Response of systems with non-zero initial
conditions
We can use z-transform to solve the difference
equation that characterizes a causal, linear, time
invariant system. The following expressions are
especially useful to solve the difference
equations:
z[y[(n-1)T] = z-1Y(z) +y[-T]
Z[y(n-2)T] = z-2Y(z) + z-1y[-T] + y[-2T]
Z[y(n-3)T] = z-3Y(z) + z-2y[-T] + z-1y[-2T] +
y[-3T]
34
Tutorial 5 Q1: Determine the step response of
the system
y[n]=ay[n-1] + x[n], -1 < a < 1
when the initial condition is y[-1] = 1.
35
Example: Consider the following difference
equation:
y[nT] –0.1y[(n-1)T] – 0.02y[(n-2)T] = 2x[nT] –
x[(n-1)T]
where the initial conditions are y[-T] = -10 and y[-
2T] = 20. Find the output y[nT] when x[nT] is the
unit step input.
Solution:
Computing the z-transform of the difference
equation gives
Y(z) – 0.1[z-1Y(z) + y[-T]] – 0.02[z-2Y(z) + z-1y[-T]
+ y[-2T]] = 2X(z) – z-1X(z)
Substituting the initial conditions we get
Y(z) – 0.1z-1Y(z) +1 – 0.02z-2Y(z) + 0.2z-1 –0.4 =
(2 – z-1)X(z) 36
1 2
1 0.1z 0.02z Y(z ) 2 z
1
1 z 1
1
0.2z 0.6 1
1
Y ( z ) 1 0.1z 0.02 z 2
2 z 1
1 z 1
0 .2 z 1
0.6
39
System Frequency response
The frequency response of a BIBO stable
system is defined as
H(w) = H(z)|z = ejw
The frequency response function is usually
expressed in terms of its magnitude |H(w)|
and phase (w), where
H(w) = |H(w)|ej(w)
Usually, the magnitude is plotted on a
logarithmic scale as
|H(w)|dB = 20log10|H(w)|
40
Example: Determine the frequency response
function H(w) and the magnitude |H(w)|dB for the
LTI system characterized by the difference
equation
y[n] = 1.8y[n-1] – 0.81y[n-2] + x[n] + 0.95x[n-1]
Solution: The pulse transfer function is
1 0.95z 1 1 0.95z 1
H( z )
1
1 1.8z 0.81z 2
1 0.9z 12
1 2 2 cos w
| H( w ) | | H( z )H( z ) |z e jw
2
43