5 2017 04 1709 57 49 Am
5 2017 04 1709 57 49 Am
Z-Transform
t n
0 0 1 2 3 4 5
Ts 2Ts 3Ts ..5Ts
( )= ( ) < <
1
= = =
x( ) = ( )= (2 + )= 2 + ,
= T = 2 is digital frequency
1
Chapter Two Z-Transform
() ( )
() 0 Ts 2Ts 3Ts
( )= ( )
( )= ( ) ( )= (0) ( ) + ( ) ( )+ (2 ) ( 2 ) +
( )= ( ) ( )
Sampling Theorem
To recover the analog signal from its sampled values the sampling
frequency must be greater or equal Nyquist rate. 2 ,where is the
maximum frequency of sampled signal, and is the minimum rate to cover the
original signal =2 is at the Nyquist rate.
2
Chapter Two Z-Transform
( )= ( ) ( ); ( ) ( ) = (0)
1
=1+ + += , | |<1
1
3
Chapter Two Z-Transform
1
= ,| | < 1
1
= ,| |<1
( )
x(n) = ( ) ( )
The response of the system to x (n) is the corresponding sum of weighted outputs
y(n)=T[x(n)]= [ ( ) ( )]
= ( ) [ ( )]]
Since the impulse response h(n)=T[ ( )] then by the time-invariance property, the
response of the system to the delayed unit sample sequence ( ) is
h(n-k)=T[ ( )]
Then the output response of the LTI system as a function of the input sign al x(n)
and the impulse response h(n) can be expressed as
( ) = ( ) ( ) = ( )( ) = ( ) ( )
Solution:
( )= ( ) ( ) = ( )( )
( ) ( )
3 2 3
2
1 1
k k
-3 -2 -1 0 n-3 n-2 n-1 n
1. 1 ( )=0
2. =0
( ) (0)
3 ( )
2 1.5
1
0.5
k k
-3 -2 -1 0 0 1 2 0
(0) = ( )( ) = 1.5
5
Chapter Two Z-Transform
3. =1
(1 ) (1)
3 ( )
2
1 1.5
1
0.5
k k
-2 -1 0 1 0 1 2 0 1
4. =2
(2)
(2 )
3 ( )
2
1 1.5
0.5 1
0.5
k k
-1 0 1 2 0 1 2 0 1 2
(2) = ( )(2 ) = 3
5. =3
(3 ) (3)
3 ( )
2
1
1 0.5
0.5
k k
0 1 2 3 0 1 2 0 1 2
6. =4
(4)
(4 )
3 ( )
2
1 0.5
0.5
k k 0 1 2
0 1 2 3 4 0 1 2
6
Chapter Two Z-Transform
7. 5 ( )=0
1.5 1.5
0.5
n
-2 -1 0 1 2 3 4 5 6
Example 4: Suppose a linear shift invariant system with input x(n) and output y(n)
is characterized by its unit sample response h(n)=an u(n) for 0 < a < 1. Find the
( )
response y(n) of such system to the input signal x(n)=u(n).
1 ....
Solution:
no n
( )= ( ) ( )
( )
= ( ) ( ) 1
....
no n
= = ( ) ( ) ( )
1 ....
n
no
7
Chapter Two Z-Transform
System Properties
1-Linear and nonlinear: A system is said to be linear if
T[a1x1(n)+a2x2(n)]=a1T[x1(n)]+a2T[x2(n)]
For any two input x1(n) and x2(n) and for any complex constant a1 and a2.
2- Shift invariance (Time invariance) : T[x(n-n0)]=y(n-n0)
3- Causality: If has zero values for n<0.
4-Stability: the system is stable if for any bounded input |x(n)| < ,the output
will be bounded |y(n)|< (BIBO)
For LTI system, stability is S= | ( )| <
8
Chapter Two Z-Transform
( )= ( ) ( )
{ ( )} = ( ) ( ( )) ( )
{ ( )} = ( )
Where =
The Z-transform is defined by replacing with z to yield
X( ) = { ( )} = ( ) = ( )
{ ( )} = ( )
The z in the above definition is a complex variable and the set of z values for
which the summation converges is called the region of convergence (ROC) for the
transform. In general this region is bounded by
<| |< ,
where is lower (minimum) limit of this region may be zero, and is upper
(maximum) limit of it may be infinity.
9
Chapter Two Z-Transform
( )= 0
0 <0
Solution:
X( ) = ( ) = { ( )} = ( )
1
= 1+ + += ,| | < 1
1
1
X( ) = ( ) = =
1 1
The above result converges if | |<1 | |>| |
( )
Most useful z-transforms can be expressed in the form,X( ) = ,where P(z)
( )
and Q(z) are polynomials in z represent the numerator and denominator of X(z)
respectively. The values of z for which P(z) and X(z) equal to zero are called the
zeros of X(z), and the values with Q(z) = 0 and X(z) goes to infinity are called the
poles.
Imaginary
Zero at Pole at
origin Z=a
Real
| |>| |
Boundary of region of
convergence (ROC)
10
Chapter Two Z-Transform
X( ) = ( ) = { ( 1)} = ( )
By letting n=m in the above summation, that is changed the variables, and
since interchanging the order of summation has not changed the sign, X(z)
becomes
X( ) = =1 ( )
The last step was obtained by adding the m=0 term to the sum and subtracting
it from the total. By using the geometric progression formula to evaluate the
infinite sum, X(z) becomes.
1
X( ) = 1 =
1
and hence the ROC of this transform is | / | < 1 | | < | |
Imagenary
Zero at Pole at
origion Z=b
Real
X( ) = ( ) = { ( ) ( 1)}
11
Chapter Two Z-Transform
X( ) = { ( )} { ( 1)} = +
From previous two examples the regions of convergence of them are| | > | |
and | | < | | respectively. And the final region of convergence of the result in this
example is the intersection between these two regions.
{| | > | |} {| | < | |}
For drawing this region, it depends upon the values of the two variables a and b.
If | | < | |, the above intersection is the empty set, i.e. the transform
doesn't converge.
If | | > | |, the transform converges in the annular region as shown
in Figure below.
Imagenary Imagenary
ROC
b a Real a b Real
1) X( ) = ( ) = { ( )} = = 1,
12
Chapter Two Z-Transform
2) X( ) = ( ) = { ( )} = { ( )}
= { ( )} = , | |>0
1
X( ) = ( ) = { ( )} = =
1
{ ( )} = , | |>1
1
Properties of Z-transform
1. Linearity
If X ( ) = { ( )} <| |<
X ( ) = { ( )} <| |<
Then
{ ( )+ ( )} = X ( )+ X ( )
= { }
2. Translation {Shifting}
{ ( )} = X( ) <| |<
Then
{ ( )} = X( )
Proof:
{ ( )} = ( )
Let n-no=m
13
Chapter Two Z-Transform
{ ( )} = ( ) = X( )
{ ( )} = X( )| =X | | <| |<| |
{ ( )} = X( )| =X
| |
<| |<| |
Proof:
1) { ( )} = ( ) = ( )( ) = ( )
2) { ( )} = ( ) = ( )( ) = ( )
{ ( )} = ( ) = = =
(1 ) ( 1)
| |<1| |>1
{ ( )} = ( )
{ ( )} = , | |>
( 1)
4. Multiplication by n (Ramp)
X( )
{ ( )} = , <| |< ( )
14
Chapter Two Z-Transform
( ). 1 . 1
{ ( )} = = =
( ) ( )
5. Initial value theorem
(0) = lim ( ) = lim X( )
7. Discrete convolution
( ) ( )= ( ) ( )
{ ( ) ( )} = X ( )X ( ) , ,
Proof:
{ ( ) ( )} = ( ) ( )
= ( ) ( ) =X ( ) ( ) =
= X ( )X ( )
HW: Find { ( ) ( )}
8. Time reversal
( ) X( ) , <| |<
1 1
( ) X( ) , <| |<
+ 1 1
= + = +
2 2 2
1 + 1 2 ( + )
= =
2 ( )( ) 2 +1
1 2
2 cos( ) cos
= = ,
2 ( + )+1 2 cos +1
| |>
| |>1
Example 16: Find the Z-transform including the region of convergence of
( ) = (n 2) ( )
cos( ( 2)) ( 2)
Solution:
{ ( )} = ( )
cos( ) ( )
( )
= cos( ) ( )
= {cos( ) ( )}|
| | > | |,
cos
{cos( ) ( )} =
2 cos +1
16
Chapter Two Z-Transform
Solution:
using { ( )} = X( ) , ln( ) =
1 ( )
X( ) = ( ) X( ) =
1+ 1+
| |<1 | |>| |
( )
( )= ( ) = ( ) ( 1)
1+
1
( )= (1) ( 1)
= lim (
X( )
X( ) = = = +
1.5 + 0.5 ( 1)( 0.5) 1 0.5
= lim = 2, = lim = 1
( 0.5) . ( 1)
17
Chapter Two Z-Transform
Im ROC
( )
= , X( ) = 2
. .
a- | |>1
Real
1
( ) = 2 ( ) (0.5) ( )
Im
b- | | < 0.5 ROC
( ) = 2 ( 1) + (0.5) ( 1)
Real Im ROC
0.5 1
=
( )
Then
1
=
(
= (
Solution: X( ) = =
( )( ) ( )( )
X( )
=
( +
18
Chapter Two Z-Transform
1 2 ( + 1) 3
= lim = , = lim =
( + 1) 2 ( + 1) 4
= lim
(
1
X( ) = 2
(
1
( )=
2
Notes:
+ 1
X( ) = | |>
( 0.5) ( 0.25) 2
Solution:
X( ) +1
=
( 0.5) ( 0.25)
= + + +
( 0.5) ( 0.5) ( 0.5) ( 0.25)
+1 ( 0.25) 1
= lim = 6, = lim = 20
. ( 0.25) . ( 0.25)
1 +1 1 1.25
= lim = lim
2! . ( 0.25) 2! . ( 0.25)
1 2.5( 0.25)
= lim = 80
2 . ( 0.25)
19
Chapter Two Z-Transform
+1
= lim = 80
. ( 0.5)
6 20 80 80
X( ) = +
( 0.5) ( 0.5) ( 0.5) ( 0.25)
( 1) 1 1 1 1
( )=6 ( ) 20 ( ) + 80 ( ) 80 ( )
2 2 2 2 4
Notes: At | |>| |
= ( ).
= 1
( )
( )
( 1)
= 2
( )
( ) 2!
2- X( ) = | |>
( . ) ( )
3- X( ) = <| |>
( . )( )
20
Chapter Two Z-Transform
1 4
+
3 9
3 4 + 10.5
4 1
3 3
4 1
3 3
4 16 4
3 9 9
etc
1 4
X( ) = + + as compare with
3 9
X( ) = + (2) + (1) + (0) + (1) + (2) +
1 4
( )= ( 1) + ( 2) +
3 9
b) For ROC | | < , must divide to get positive power of z since | | < indicates
a left hand sequence, for negative n.
+4
14 +3
4 3
4 3
4 16 12
13 12
X( ) = + 4 (1) = 1 , (2) = 4
( ) = ( + 1) + 4 ( + 2) +
21
Chapter Two Z-Transform
3- Discrete convolution
Example 23: Find the inverse Z-transform by using discrete convolution method
.
for X( ) =
( )( . )
Solution:
X( ) =
(
( )=
( )=
( )= ( ) ( )=0.632 ( ) (0.632) ( 1)
X ( )= ( ) ( ) X ( )
Shifting property:
{ ( )}
22
Chapter Two Z-Transform
Proof:
X ( )= ( ) X ( )= ( )
let = = + , =0 = , = =
X ( )= ( ) = ( )
= ( ) + ( ) = X ( )+ ( )
1- ( ) = ( )
2- ( ) = ( 2) ( )=
Solution:
1- X ( ) = =
2- X ( ) = + ( ) = + (2) + (1)
= + +
2- Shift to left with Initial Condition (I. C.) {Time advance}
{ ( + )} = X ( ) ( ) , >0
Proof:
X ( )= ( ) X ( )= ( + )
let = + = , =0 = , = =
23
Chapter Two Z-Transform
X ( )= ( ) = ( )
= ( ) ( ) = X ( ) ( )
Solution:
X ( )= ( ) X ( )= ( + 1)
= X ( ) ( ) = {X ( ) (0)}
b z +b z + . +b z + b b z
H(z) = =
a z +a z +a z + . +a z +a a z
b b b b
z + z + .+ z + z
a a a a
H(z) = a a a a
1+ z + z + .+ z + z
a a a a
24
Chapter Two Z-Transform
b +b z +b z
H(z) =
1+a z +a z
Y(z) (1 + a z +a z ) = X(z)(b + b z +b z )
b0
x(n) y(n)
b1 a1 z-1
z-1
( ) ( )
z-1 a2 z-1
b2
( ) ( )
Example 28: Given that H(z) = represents a causal system. Find the
difference equation and draw the realization structure.
Solution:
Y(z) z+1 ( + )
H(z) = = =
X(z) z 2z + 3 (1 2 +3 )
25
Chapter Two Z-Transform
Y(z) +
=
X(z) 1 2 +3
( )(1 2 +3 ) = ( )( + )
The LCCDE,
( ) 2 ( 1) + 3 ( 2) = ( 1) + ( 2)
( ) = 2 ( 1) 3 ( 2) + ( 1) + ( 2)
x(n) y(n)
1 z-1
z-1
( ) ( )
z-1 z-1
1
( ) ( )
HW: Given the impulse response of a system h(n)=an u(n). Find the LCCDE
and draw the realization structure.
Inverse Systems
When connected in cascade, a system H(z) and its inverse Hi(z) form an
identity system, where the final output exactly equals the original input. For
this to occur, the transfer function of the composite system must be unity,
which is to say that H(z)Hi(z) = 1.
Example 29: A discrete time system is realized by the structure shown
below.
26
Chapter Two Z-Transform
2
w(n)
x(n) y(n)
z-1
0.8 3
Solution: a)
( ) = ( ) + 0.8 ( 1) (1)
( ) = 2 ( ) + 3 ( 1) (2)
H(z)= = +2
. . .
X(z)(1+1.5z-1)=Y(z)(0.5-0.4z-1)
-0.4 . z-1
z-1
27
Chapter Two Z-Transform
a) Determine the analytical expression for the impulse response of the system.
z-1
0.9 2
z-1
3
Example 30: Find the solution to the following linear constant coefficient
difference equation
Y(z)-1.5[z-1 Y(z)+y(-1)]+0.5[z-2Y(z)+z-1y(-1)+y(-2)]=
.
Y(z)-1.5z-1 Y(z)-6+0.5z-2Y(z)+2z-1+5=
.
28
Chapter Two Z-Transform
Y(z)= + +
. .
HW: Determine the response y(n), n0 of the system described by the second
order difference equation: y(n)-4y(n-1)+4y(n-2)=x(n)-x(n-1)
29
Chapter Two Z-Transform
a) x(n)=n an u(-n-1)
( )
c) ( ) =
( ) <0
2. Compute the convolution of the following signals
( )
( )= and ( )= ( )
( ) <0
+
( )=
+
4. Determine the causal signal x(n) if its z-transform X(z) is given by:
a) ( ) =
b) ( )=
.
.
c) ( ) =
. .
( )
5. Given ( ) = find x(n) for the following ROC using partial fraction
method: a) ROC |z|>2
b) ROC |z|<1
c) ROC 1<|z|<2
30
Chapter Two Z-Transform
6. Determine the response of the system with impulse response h(n)=an u(n)
to the input signal x(n)=u(n)-u(n-10).
i)
x(n) z-1 z-1 z-1
y(n)
z-1
z-1 z-1
0.8 0.6
31
Chapter Two Z-Transform
10. We want to design a causal discrete-time LTI system with the property
that if the input is ( ) = ( ) ( )
Then the output is ( ) = ( )
a) Determine the impulse response h(n) and the system function H(z).
b) Find the difference equation that characterizes this system.
c) Determine a realization of the system using direct form implementation.
( )= ( )+ ( )+ ( )
Determine:
(a) The impulse response
(b) The zero-state step response
(c) The step response if y(-1) = A 0
(d) The response to the input ( )= ( ) 0 <
12. Realize an FIR ilter with impulse response h(n) given by:
a) ( ) = [ ( ) ( )]
b) ( ) = ( ) ( )+ ( )+ ( ) ( )+ ( )
32