Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
delay units
Multiplication by a constant
k n1
e(k n)u(k n) z E( z)
n
k 0
k 1
e(k ) z
Description of discrete time systems
Properties of z-transform contd
complex translation
e(k) E(z )
ak
a
Initial value
Given E(z) as Z transform of e(k) , then
e(0) limE(z)
z
final value
Given E(z) as Z transform of e(k) , then
lime(n) lim(z 1)E(z)
n z 1
Description of discrete time systems
Properties of Z transform contd
Example: Apply the final and initial value
properties to the Z transform of sample of unit
step function and check its values
e(k ) 1 for all k 0
z 1
E( z )
z 1 1 z 1
Applying initial value property
e(0) lim E( z) 1
z
(k) y(k)=h(k)
Discrete time
system
Description of discrete time systems
4. State space method
State equation is set of first order difference
equations
the state space or state equation of discrete time
systems is
x(k 1) Ax(k ) Bu(k )
y(k ) Cx(k ) Du(k )
Taking the Z transform of input and output
H ( z) CzIn A1 B D
The impulse response h(k) is obtained from
inverse transform of H(z)
Analysis of discrete time systems
Analysis of discrete time systems is finding the
response of discrete time systems
Can be performed in four different ways
Difference equation method
Z transform method
Impulse response method
State space methods
Each method has its own advantage and
disadvantage
Difference equation method is useful for
computer programming
Analysis of discrete time systems
Analysis based on difference equation
Difference equations can be solved using
Manual method to compute output y(k) for each k
value manually.
Computer programs to write a computer program
that can compute y(k) for each k
Z transform method convert the difference equation
to an algebric equation in z and solve for y(k) in closed
form
Example: find m(k) for the sequence
y(k ) u(k ) u(k 1) y(k 1) for k 0
1 for k even
u(k)
0, for k odd
Analysis contd
Manual method
y(0)=u(0)-u(-1)-y(-1)=1-0-0=1
y(1)=u(1)-u(0)-y(1)=0-1-1=-2 and so on
Computer program write a program using
any programming language
Z transform method
Consider the following difference equation
y(k) a1 y(k 1) an y(k n) bou(k) b1u(k 1) bnu(k n)
e(k ) 1E( z)
1
E( z) z k 1dz
2j
Discrete convolution
Analysis contd
Example: 1) find the value of e(k) when E(z) is
given by
z
E( z) 2
z 3z 2
Using power series method
use long division to obtain e(k) , 0,1,3,7,15
Example 2: find e(k) when E(z) is given by
z
E( z)
( z 1)(z 2)
Using partial fraction expansion
e(k) 1 2k
Analysis contd
Exercise : find y(k) when Y(z) is given by
a) Y ( z)
3.894 z
3.894 z
z 2 0.6065 ( z j0.7788)(z j0.7788)
1
b) Y ( z)
( z 2)(z 1)
Analysis contd
Using the inversion formula
When computing y(k) using the inversion formula,
the following equivalent formula is used
y(k ) residues of Y(z)z
at polesof [Y(z)zk-1 ]
k-1
z
Y ( z) 2
z 3z 2
Residue at z=1 is -1 and at z=2 is 2k
Analysis contd
Exercise: find y(k) when Y(z) is given by
z
Y ( z)
( z 1) 2
Assume that
z
Y1 ( z) Y2 ( z)
1
z 1 z 2
y1(k)= 1 for all k and y2(k)=2 power of (k-1)
Then y(6)=127
Analysis contd
Analysis using impulse response method
When the impulse response of a discrete system
h(k) is given, the output y(k) can be obtained using
A) Y(z)=H(z)U(z) and then using the inverse method
B) y(k)=h(k)*u(k)
n
y(k ) h(n)u(k n)
n
n 0
k 1
y(k ) CA x(0) C
k
A
n 0
k n1
Bu(n) Du(k )
Analysis contd
Example: find the transition matrix, states and
output of a discrete time system when the
state equation is given by
0 1 0 1
A B C
2 3 1 1