Escolar Documentos
Profissional Documentos
Cultura Documentos
Representasi Sistem
dengan Transformasi Z
Sifat-Sifat Transformasi Z
2. Sample shifting:
Z [x (n n0 )] = z n0 X(z);
ROC: ROCx
(4.5)
3. Frequency shifting:
Z [a x(n)] = X
n
!z "
a
(4.6)
(4.7)
4. Folding:
Z [x (n)] = X (1/z) ;
5. Complex conjugation:
Z [x (n)] = X (z );
84
ROC: ROCx
Chapter 4
(4.8)
THE z-TRANSFORM
of computing the inverse z-transform; we will discuss the analytical approach in the next section.) We can compare this output with the given
x(n) to verify that X(z) is indeed the transform of x(n). This is illustrated in Example 4.6. An equivalent approach is to use the impz function
discussed in Chapter 2.
Pasangan Transformasi Z
SOME
COMMON
z-TRANSFORM
PAIRS
Using the definition of z-transform and its properties, one can determine
z-transforms of common sequences. A list of some of these sequences is
given in Table 4.1.
TABLE 4.1
Sequence
Transform
ROC
(n)
u(n)
u(n 1)
an u(n)
bn u(n 1)
n
[a sin 0 n] u(n)
n
[a cos 0 n] u(n)
n
na u(n)
n
nb u(n 1)
EXAMPLE 4.6
1
1 z 1
1
1 z 1
1
1 az 1
1
1 bz 1
(a sin 0 )z 1
1 (2a cos 0 )z 1 + a2 z 2
1 (a cos 0 )z 1
1 (2a cos 0 )z 1 + a2 z 2
az 1
(1 az 1 )2
bz 1
(1 bz 1 )2
|z| > 1
|z| < 1
|z| > |a|
|z| < |b|
|z| > |a|
|z| > |a|
|z| > |a|
|z| < |b|
N
'
k=1
Rk
+
1 pk z 1
M
N
'
Ck z k
k=0
)*
M N
e a rational function in which the numerator and the denominator polyomials are in ascending powers of z 1 . Then [R,p,C]=residuez(b,a)
omputes the residues, poles, and direct terms of X(z) in which two polyomials B(z) and A(z) are given in two vectors b and a, respectively.
Rk
Rk+1
Rk+r1
+
+
+
r
2
1 pk z 1
(1 pk z 1 )
(1 pk z 1 )
(4.16)
Contoh
EXAMPLE 4.8
z
3z 2 4z + 1
1
2
1 z 1
1
2
1 1
z
3
R =
0.5000
-0.5000
p =
Contoh: Lanjutan
1.0000
0.3333
c =
[]
we obtain
X(z) =
1
2
1 z 1
1
2
1 1
z
3
a =
92
Chapter 4
1.0000
-1.3333
0.3333
THE z-TRANSFORM
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part.
so that
0 + 13 z 1
z 1
z
X(z) =
=
=
3 4z 1 + z 2
3z 2 4z + 1
1 43 z 1 + 13 z 2
as before.
EXAMPLE 4.9
1
(1 0.9z 1 )2 (1 + 0.9z 1 )
1.0000
-1.3333
0.3333
so that
Contoh 2
0 + 13 z 1
z 1
z
X(z) =
=
= 2
4 1
1 2
1
2
3 4z + z
3z 4z + 1
1 3z + 3z
as before.
EXAMPLE 4.9
Solution
1
(1
0.9z 1 )2
(1 + 0.9z 1 )
We will evaluate the denominator polynomial as well as the residues using the
MATLAB Script:
>> b = 1; a = poly([0.9,0.9,-0.9])
a =
1.0000
-0.9000
-0.8100
>> [R,p,C]=residuez(b,a)
R =
0.2500
0.5000
0.2500
p =
0.9000
0.9000
-0.9000
c =
[]
0.7290
Note that the denominator polynomial is computed using MATLABs polynomial function poly, which computes the polynomial coecients, given its roots.
We could have used the conv function, but the use of the poly function is more
convenient for this purpose. From the residue calculations and using the order
of residues given in (4.16), we have
X(z) =
0.25
0.5
0.25
+
+
,
2
1
1
1 0.9z
1 + 0.9z 1
(1 0.9z )
"
0.9z 1
0.25
0.5
0.25
=
+
+
,
z
1 0.9z 1
0.9 (1 0.9z 1 )2
1 + 0.9z 1
provided ROCx overlaps with ROCh . Therefore a linear and timeinvariant system can be represented in the z-domain by
Representasi Sistem
X(z) H(z) Y (z) = H(z) X(z)
SYSTEM
FUNCTION
FROM THE
DIFFERENCE
EQUATION
REPRESENTATION
N
!
k=1
ak y(n k) =
M
!
=0
b x(n )
(4.19)
the system function H(z) can easily be computed. Taking the z-transform
of both sides, and using properties of the z-transform,
Y (z) +
N
!
ak z k Y (z) =
k=1
M
!
b z X(z)
=0
or
"M
Y
(z)
B(z)
=0 b z
H(z) =
=
=
"N
X(z)
A(z)
1 + k=1 ak z k
#
$
bM
M
M
b0 z
z + + b0
=
z N (z N + + aN )
(4.20)
(z z )
k=1 (z pk )
(4.21)
where z s are the system zeros and pk s are the system poles. Thus H(z)
(and hence an LTI system) can also be represented in the z-domain using
a pole-zero plot. This fact is useful in designing simple filters by proper
placement of poles and zeros.
To determine zeros and poles of a rational H(z), we can use the
TRANSFER
FUNCTION
REPRESENTATION
H(e ) = b0 e
j(N M )
j
z )
1 (e
!N j
pk )
1 (e
(4.22)
(4.23)
constant
linear
M
&
"
(e
zk )
N
&
#$
(ej pk )
%
nonlinear
(4.24)
can be interpreted as a sum of a constant factor, a linear-phase factor,
and a nonlinear-phase factor (angles from the zero vectors minus the
sum of angles from the pole vectors).
linear
#$
"
nonlinear
(4.24)
pk
w
0
Unit
circle
FIGURE 4.6
Re{z}
zl
form
H = freqz(b,a,w)
Contoh
EXAMPLE 4.11
Solution
1
;
1 0.9z 1
since the system is causal. There is one pole at 0.9 and one zero at the origin.
We will use MATLAB to illustrate the use of the zplane function.
98
Chapter 4
THE z-TRANSFORM
function. Using its first form, we will take 100 points along the upper half of
the unit circle.
MATLAB Script:
>>
>>
>>
>>
>>
>>
>>
Pole-zero plot
zplane(b,a)
The response plots are shown in Figure 4.8. If you study these plots carefully,
you will observe that the plots are computed between 0 0.99 and
Note that we specified b=[1,0] instead of b=1 because the zplane function
assumes that scalars are zeros or poles. The resultingPoleZero
pole-zero
plot is shown
Plot
in Figure 4.7.
1
b. Using (4.23) and (4.24), we can determine the magnitude and phase of
H(ej ). Once again we will
0.8 use MATLAB to illustrate the use of the freqz
function. Using its first form, we will take 100 points along the upper half of
0.6
the unit circle.
0.4
>>
>>
>>
>>
>>
>>
>>
Imaginary part
MATLAB Script:
0.2
[H,w] = freqz(b,a,100);
magH = abs(H); phaH = angle(H);
0
0
0.9
subplot(2,1,1);plot(w/pi,magH);grid
0.2
xlabel(frequency in
pi units); ylabel(Magnitude);
title(Magnitude Response)
0.4
subplot(2,1,2);plot(w/pi,phaH/pi);grid
0.6
xlabel(frequency in
pi units); ylabel(Phase in pi units);
title(Phase Response)
0.8
1
The response plots are shown in Figure 4.8. If you study these plots carefully,
1
0.5
0
0.5
you will observe that the plots are computed between
0 part
0.99 and
Real
FIGURE 4.7
0.8
99
zplane(b,a)
Note that we specified b=[1,0] instead of b=1 because the zplane function
assumes that scalars are zeros or poles. The resulting pole-zero plot is shown
in Figure 4.7.
b. Using (4.23) and (4.24), we can determine the magnitude and phase of
H(ej ). Once again we will use MATLAB to illustrate the use of the freqz
function. Using its first form, we will take 100 points along the upper half of
the unit circle.
MATLAB Script:
>>
>>
>>
>>
>>
>>
>>
The response plots are shown in Figure 4.8. If you study these plots carefully,
you will observe that the plots are computed between 0 0.99 and
PoleZero Plot
1
0.8
Magnitude
15
10
0
0
0.1
0.2
0.3
0.4
0.5
0.6
frequency in pi units
0.7
0.8
0.9
0.7
0.8
0.9
Phase Response
Phase in pi units
0
0.1
0.2
0.3
0.4
0
FIGURE 4.8
0.1
0.2
0.3
0.4
0.5
0.6
frequency in pi units
fall short at = . This is due to the fact that in MATLAB the lower half
of the unit circle begins at = . To overcome this problem, we will use the
Phase
in pii
Phase
0.2
0.2
0.3
0.3
0.4
0
0.4
0
FIGURE 4.8
0.1
0.2
0.3
0.1
0.2
0.3
Frequency response
0.4
0.5
0.6
frequency in pi units
0.4
0.5
0.6
frequency
in pi units
plots
in Example
0.7
0.8
0.9
0.7
0.8
0.9
4.11
[H,w] = freqz(b,a,200,whole);
magH = abs(H(1:101)); phaH = angle(H(1:101));
[H,w] = freqz(b,a,200,whole);
magH = abs(H(1:101)); phaH = angle(H(1:101));
w = [0:1:100]*pi/100; H = freqz(b,a,w);
magH = abs(H); phaH = angle(H);
w = [0:1:100]*pi/100; H = freqz(b,a,w);
magH = abs(H); phaH = angle(H);
In the future we will use any one of these forms, depending on our convenience. Also note that in the plots we divided the w and phaH arrays by pi
In
the future
weaxes
will are
useinany
of of
these
forms,
on our
conveso that
the plot
theone
units
and
easierdepending
to read. This
practice
nience.
Also note
that in the plots we divided the w and phaH arrays by pi
is strongly
recommended.
so that the plot axes are in the units of and easier to read. This practice
c. From the z-transform Table 4.1
is strongly recommended.
!
"
1
c. From the z-transform
1 Table 4.1
n
h(n) = Z
,
|z|
>
0.9
=
(0.9)
u(n)
!
1
1
0.9z
!
"
1
1
n
h(n) = Z
,
|z|
>
0.9
=
(0.9)
u(n)
!
1 0.9z 1
Chapter 4
THE z-TRANSFORM
RELATIONSHIPS In this and the previous two chapters we developed several system repreBETWEEN
sentations. Figure 4.9 depicts the relationships between these representaSYSTEM
tions in a graphical form.
REPRESENTATIONS
STABILITY
Express H (z) in z 1
cross multiply and
take inverse
H (z)
Take
z-transform
solve for Y /X
Take inverse
z -transform
Take
z-transform
Diff Eqn
h(n)
Substitute
z = e jw
Take DTFT
solve for Y /X
FIGURE 4.9
Take inverse
DTFT
H (e jw )
Take Fourier
transform
|h(k)| < .
2. H(z) = (1 + z
+z
0.25z
)/(1 + 0.5z
), stable system
1 0.5z 1
z
, stable system
+
4. H(z) =
1
z 0.25
1 + 2z
5. H(z) = (1 + z 1 + z 2 )2
Praktikum
P4.18 For the linear, causal, and time-invariant systems described by the following dierence
equations, determine (i) the impulse response representation, (ii) the system function
representation, (iii) the pole-zero plot, and (iv) the output y(n) if the input is
Diberikan
persamaan
input-output dari sistem di bawah ini:
n
x(n) = 2(0.9) u(n).
1. y(n) = [x(n) + 2x(n 1) + x(n 3)] /4
!4
(0.8) x(n m)
m=0
!4
(0.9)
y(n )
=1
P4.19 The output sequence y(n) in Problem P4.18 is the total response. For each of the systems
Tentukan:
given in Problem P4.18, separate y(n) into (i) the homogeneous part, (ii) the particular
part,
(iii) the
transient
response,
(iv) the steady-state response.
Fungsi
Transfer
dari
setiap and
sistem
Buatlah plot tanggapan magnitudo dan fasa dari masing masing sistem
P4.20 A stable system has four zeros and four poles as given here:
zeros: 1, j1
Terima Kasih