MCT 5 Z-Transform
MCT 5 Z-Transform
z is a complex variable
▪ Taking the Laplace transform and using the Laplace shift property as
L ( t − nTs ) → e − nTs s
▪ The relationship of the sampled system in Laplace domain and its digital
system in z-transform domain by the following mapping
z = e sTs
© PFH Private Hochschule Göttingen 4
The z-transform
Relationship between Laplace transform and z-transform
n (n)
n2 ( n )
an ( n)
e − na ( n )
n an ( n)
sin ( a n ) ( n )
cos ( a n ) ( n )
a n sin ( b n ) ( n )
a n cos ( b n ) ( n )
e − an sin ( b n ) ( n )
e − an cos ( b n ) ( n )
(n)
(n)
− ( − n − 1)
a (n)
−b ( − n − 1)
a n sin ( 0 n ) ( n )
a n cos ( 0 n ) ( n )
n an ( n)
−n b n ( − n − 1)
n =−
The z-transform is a derivation from the Laplace transform
With the definition
z := e sTs
s is the Laplace variable
Ts is the sample time
It is possible to describe the sampled-data system in the frequency domain
X ( j) = x (k ) e
n =−
− jTs n
n =−
z = e jTs
it is possible to describe the sampled-data system in the frequency domain
X ( j) = x (k ) e
n =−
− jTs n
x ( k − 1) z
n =−
−n
= z −1 X ( z )
© PFH Private Hochschule Göttingen 9
The z-transform
Mapping between s-plane and z-plane
▪ Substituting
s = − j
▪ into
z = e sTs
▪ it follows that
z = e(
−Ts jTs )
z = e −Ts Ts
1. If the input to the system is bounded, then the output of the system will also
be bounded, or the impulse response of the system will go to zero in a finite
number of steps
2. An unstable system is one in which the output of the system will grow
without bound due to any bounded input, initial condition, or noise, or its
impulse response will grow without bound
3. The impulse response of a marginally stable system stays at a constant
level or oscillates between two finite values
▪ Linearity: Z k1 x1 ( n ) + k2 x2 ( n ) = k1 X 1 ( z ) + k2 X 2 ( z )
▪ Sample shifting: Z x ( n − m ) = z − m X ( z )
z
▪ Frequency shifting:
Z an x ( n) = X
a
1
▪ Folding: Z x ( −n ) = X
z
Important is the result from the sample shifting, if only one time-delay exists
Z x ( n − 1) = z −1 X ( z )
© PFH Private Hochschule Göttingen 12
z-Transform
Inversion of the z-transform
x ( n ) Z −1 X ( z ) =
1
X (z) z
n −1
dz
2 j C
▪ The most practical approach is to use the partial fraction expansion method
▪ The inverse z-transform can be summarized as follows
▪ Given:
b0 + b1 z −1 + b2 z −2 + + bm z − M
X (z) = Rx− z Rx+
1 + a1 z −1 + a2 z −2 + + an z − N
b0 + b1 z −1 + b2 z −2 + + bm z −( N −1) M −N
X (z) =
1 + a1 z −1 + a2 z −2 + + an z − N
+ C
k =0
k z −k
b0 + b1 z −1 + b2 z −2 + + bm z −( N −1) M −N
X (z) =
1 + a1 z −1 + a2 z −2 + + an z − N
+ C
k =0
k z −k
N M −N
Rk
X (z) = −1
+ Ck z − k
k =1 1 − pk z k =0
M N
▪ Rk is the residue at pk
b0 + b1 z −1 + b2 z −2 + + bm z −( N −1)
Rk = −1 −2
1 + a1 z + a2 z + + an z −N (
1 − pk z −1 ) z = pk
z pkn ( n )
−1
zk Rx−
Z = n
z − pk − pk ( − n − 1) zk Rx+
© PFH Private Hochschule Göttingen 16
z-transform
Inverse z-transform
➢ The general procedure for using the partial fraction expansion is as follows:
(1) Eliminate the negative powers of z for the z-transform function X(z)
(2) Determine the rational function X(z)/z (assuming it is proper), and apply
the partial fraction expansion to the determined rational function X(z)/z
using the formula in the given table
(3) Multiply the expanded function X(z)/z by z on both sides of the equation
to obtain X(z)
▪ Using the convolution property of the z-transform, we can calculate the output transform:
▪ Difference equation
N M
y ( n ) + ak y (n − k ) = bl x(n − l )
k =1 l =0
k =1 l =0
b z b0 z − M z M + + M
−l b
Y ( z) l
B(z) b0
H ( z) = l =0
= =
X ( z) A( z ) z − N ( z N + + aN )
N
1 + ak z − k
k =1
© PFH Private Hochschule Göttingen 21
z-Transform
Description form of linear, time invariant systems
(z − z )
M
H ( z ) = b0 z N − M l =1 l
(z − z )
N
k =1 k
▪ The zl’s are the system zeros and pk’s are the system poles
▪ If the ROC of H(z) includes a unit circle (z=ejω), then H(z) can be evaluated on the unit
circle
(e − z )
M j
H ( e j ) = b0 e j ( N − M ) l =1 l
(e − p )
N j
k =1 k
▪ Or in dB
e j − z1 e j − zM
(
AdB ( ) := 20 log H ( e j
)) = 20 log b0 j
e − p1 e − z N
j
▪ The phase response function can be calculated by
(
H (e ) ) = 0 or 180 + ( N − M ) + ( e − zk ) − ( e j − pk )
M M
j j
1 1
constant linear
nonlinear
© PFH Private Hochschule Göttingen 24
z-Transform
Relations between the several representations
h(k )
−
▪ This implies that H(ejω) exists, and therefore the time discrete-Fourier transform
z = 1 is ROC of H ( z )
A discrete LTI system is stable if and only if the unit circle is the ROC of H(z)
ROC of H ( z ) Rh−
➢ z-Domain causal LTI stability theorem
A causal discrete LIT system is stable if and only if the system function H(z) has all
poles and zeroes inside the unit circle
© PFH Private Hochschule Göttingen 27
z-Transform
Some hints
▪ The complex variable z is called the complex frequency given by z = |z|ejω, where |z| is
the magnitude and ω is the real frequency.
▪ Since the ROC is defined in terms of the magnitude |z|, the shape of the ROC is an
open ring.
▪ Note that Rx− may be equal to zero and/or Rx+ could possibly be ∞
If Rx+ < Rx−, then the ROC is a null space and the z-transform does not exist.
▪ The function |z| = 1 (or z = ejω) is a circle of unit radius in the z-plane and is called the
unit circle. If the ROC contains the unit circle, then we can evaluate X(z) on the unit
circle.
( ) = x (n) e
X ( z ) z = e j = X e j − j
= F x ( n )
n =−
▪ Therefore the discrete-time Fourier transform X(ejω) may be viewed as a special case
of the z-transform X(z)
© PFH Private Hochschule Göttingen 28
z-Transform
Difference equation representation
h(k ) − • H ( z)
▪ Based on the convolution theorem:
Y (z)
H (z) = h ( n ) z −n H (z) =
n =− U (z)
▪ This is the fundamental relationship between the input- and output signal of a linear,
time discrete system
▪ The mathematical description of a linear, time discrete system can be given by the
impulse response h(k) or the transfer function H(z) . Both are equivalent!
▪ Note: For many application we can define y(n) = u(n) = 0 for n < 0
n =−
z = e jTs
it is possible to describe the sampled-data system in the frequency domain
X ( j) = x (k ) e
n =−
− jTs n
x ( k − 1) z
n =−
−n
= z −1 X ( z )
© PFH Private Hochschule Göttingen 31
z-Transform
Region of convergence (ROC)
▪ All the values of z that make the summation to exist form a region of convergence in the
z-transform domain
▪ The set of z values for which X(z) exists is called the region of convergence (ROC) and
is given by
Rx− z Rx+
x ( n ) Z −1 X ( z ) =
1
X (z) z
n −1
dz
2 j C
where C is a counterclockwise contour encircling the origin and lying in the ROC
Rx− z Rx+
z
Given X (z) =
3 z − 4z +1
2
z z −1
X (z) = =
2 4 1 4 1
3 z − z + 3 1 − z −1 + z −2
3 3 3 3
1 −1
z 1 1
X (z) = 3 = 2 − 2 = 1 1 − 1 1
−1 1 −1 1 − z −1 1 −1 2 1 − z −1 2 1 −1
( )
1 − z 1 − z
3
1− z
3
1− z
3
ROC1 : 1 z 1 1
ROC2 : 0 z ROC3 : z 1
z1 Rx− = 1 3 3
z2 1
1 z1 Rx+ = 1
z1 Rx+ =
3 1
1 z2
1 11
n z2 3
x1 ( n ) = ( n ) − ( n ) 3 1 1
n
x3 ( n ) = − ( −n − 1) − ( n )
1
2 23 1 1
n
x2 ( n ) = − ( −n − 1) − − ( − n − 1)
1 2 3
2
2 2 3
▪ The ROC is always bounded by a circle since the convergence condition is on the
magnitude |z|
▪ The sequence x1(n) = anσ(n) is a special case of a right-sided sequence, defined as a
sequence x(n) that is zero for some n < n0
▪ The ROC for right-sided sequences is always outside of a circle of radius Rx−
▪ If n0 ≥ 0, then the right-sided sequence is also called a causal sequence
▪ The sequence x2(n) = −bn σ(−n−1) is a special case of a left-sided sequence, defined
as a sequence x(n) that is zero for some n > n0
▪ If n0 ≤ 0, the resulting sequence is called an anti-causal sequence
▪ The ROC for left-sided sequences is always inside of a circle of radius Rx+
z
▪ Frequency shifting:
Z an x ( n) = X
a
ROC : ROC x scaled by a
1
▪ Folding: Z x ( −n ) = X ROC : inverted ROCx
z
▪ Complex conjugation:
Z x* ( n ) = X * z* ( ) ROC : ROC x
dX ( z )
▪ Differentiation: Z n x ( n ) = − z ROC : ROC x
dz
▪ Multiplication: Z x1 ( n ) x2 ( n ) =
1
2j C v( )
X 1 ( v ) X 2 z v −1 dv ROC : ROC x1 invertetd ROC x2