Z Transform
Z Transform
Z Transform
Z-Transform
Linear time-invariante systems:
X
y (n) = h(k)x(n − k)
k
X X X
y (n) = h(k)x(n − k) = h(k)z n−k = z n h(k)z −k
k k k
So:
y (n) = H(z)z n
Then, z n are ”eigenvectors” with H(z) as ”eigenvalue”.
Z-Transform
Because of the linearity it is convenient to look at linear
combinations:
X
x(n) = ak zkn
k
X
y (n) = ak H(zk )zkn
k
X
H(z) = h(k)z −k
k
Z-Transform
DTFT:
∞
X
X (ω) = x(n)e −iωn
n=−∞
Z-Transform
Z-transform. Example
∞ ∞
X X 1 z
X (z) = an u(n)z −n = (az −1 )n = =
n=−∞
1 − az −1 z −a
n=0
Z-Transform
Z-transform. Properties
- It is linear.
- Convolutions go to products (like with the Fourier transform).
Y (z)
H(z) =
X (z)
Z-Transform
Some system properties.
Causality:
The output depends only on present and past inputs.
It is necessary and sufficient that h(n) = 0, n < 0.
Stability:
If the input has bounded infinity norm then the output does also.
It is necessary and sufficient that the 1−norm of h is bounded.
Z-Transform
Causal linear time-invariant systems.
a0 y (n) + a1 y (n − 1) + ... + aM y (n − M) =
Z-Transform
Causal linear time-invariant systems.
And then:
Y (z) b0 + b1 z −1 + ... + bN z −N
=
X (z) a0 + a1 z −1 + ... + aM z −M
By convention a0 = 1 and, also, we can take b0 out:
Y (z) 1 1 + c1 z −1 + ... + cN z −N
=
X (z) b0 1 + a1 z −1 + ... + aM z −M
But, as we know, this H(z).
Then we can study the zeros and poles of that expression.
For example, a filter that contains no other y (n − 1), y (n − 2)...
will yield an H(z) with no poles.
An a filter that contains no other x(n − 1), x(n − 2)... will yield an
H(z) with no zeros.
Z-Transform
Causal linear time-invariant systems.
So, the idea is that, by designing rational function with the zeros
and poles that we want, we can, by using Y (z) = H(z)X (z) either
kill or amplify certain frequencies.
Z-Transform
Frequency Response
Z-Transform
Example: ideal delay system
H(e iω ) = e −iωnd
Page 41.
Z-Transform
Example: moving average
M2
1 X
y (n) = x(n − k)
M1 + M2 + 1
k=−M1
In this case:
1
h(n) = if − M1 ≤ n ≤ M2
M1 + M2 + 1
Therefore, the frequency response is given by:
M2
1 X
iω
H(e ) = e −iωk
M1 + M2 + 1
k=−M1
Z-Transform
Example: lowpass filter
Z-Transform
IIR & FIR
Page 251
Z-Transform
Relationship between phase and magnitud (page 270)
Z-Transform
Relationship between phase and magnitud (page 270)
1 c d
= 2 2
−i 2
c + di c +d c + d2
So:
1 c d
( )∗ = 2 2
+i 2
c + di c +d c + d2
So, conjugate reciprocals lie in the same direction but with
reciprocal absolute values.
See example 5.11 (page 271).
Z-Transform
All-Pass Systems
Example 5.12: how many stable, causal systems with three poles
and three zeros?
Only 4.
If we do not restrict the number of poles and zeros the number of
possible H(z)s is unlimited.
The frequency response magnitude of
z −1 − a∗
Hap (z)
1 − az −1
is independent of ω, |Hap (e iω )| = 1.
A system that does this is called all-pass system.
Z-Transform
Minimum Phase Systems
So, in order for the system to be stable and causal the poles of the
transfer function have to be inside the unit circle.
However, there are no restriction on the zeros.
In some cases it is useful to impose the condition that the inverse
1
system (the one with transfer function H(z) ) is also stable and
casual.
These type of systems are called minimum-phase systems.
Z-Transform
Minimum Phase Systems
If we now have the function C (z) and we know that the associated
H(z) is a minimum-phase system then H(z) is uniquely
determined.
So, from the square of the magnitude of the frequency response we
can’t uniquely determine H(z) since we could take H and multiply
it by all-pass factors and those can’t be seen from the C (z).
Stable, causal systems can be decomposed as:
Z-Transform
Minimum Phase Systems
Page 280
Z-Transform