lecture9_2018
lecture9_2018
Discrete-Time Systems
• E operator
• Convolution Sum
The condition that the above system is causal is m ≤ n. For a general causal case, m = n,
the above system can be expressed as
It can be expressed as
There are the past n values of the output: y[k − 1], y[k − 2],. . ., y[k − n], the past n values of
the input: f[k − 1], f[k − 2], . . ., f[k − n], and the present value of the input f[k].
Solve iteratively
We obtain
y[k]
12.25
8 6.5
5 ...
k
0 1 2 3
Solve iteratively
We obtain
Ef[k] = f[k + 1]
E2 f[k] = f[k + 2]
..
.
En f[k] = f[k + n]
For example
1 1
y[k + 2] + y[k + 1] + y[k] = f[k + 2]
4 16
( )
1 1
E2 + E + y[k] = E2 f[k]
4 16
where
Q[E] = En + an−1 En−1 + · · · + a1 E + a0
P[E] = bn En + bn−1 En−1 + · · · + b1 E + b0
The zero-input response y0 [k] is the solution of the system with f[k] = 0; that is,
Q[E]y0 [k] = 0
or
( n )
E + an−1 En−1 + · · · + a1 E + a0 y0 [k] = 0
y0 [k + n] + an−1 y0 [k + n − 1] + · · · + a1 y0 [k + 1] + a0 y0 [k] = 0
The equation states that a linear combination of y0 [k] and advanced y0 [k] is zero not for
some values of k but for all k. Such situation is possible if and only if y0 [k] and advanced
y0 [k] have the same form. This is true only for an exponential function γ k . Since
γ k+m = γ m γ k
( )
c γ n + an−1 γ n−1 + · · · + a1 γ + a0 γ k = 0
( )
γ n + an−1 γ n−1 + · · · + a1 γ + a0 = 0 or Q[γ] = 0
Q[γ] is an nth-order polynomial and can be expressed in the factorized form (assuming all
distinct roots):
(γ − γ1 )(γ − γ2 ) · · · (γ − γn ) = 0
Repeated Roots:
If two or more roots are repeated, the form of the characteristic modes is modified. Similar
to the continuous-time case, if a root γ repeats r times, the characteristic modes
corresponding to this root are γ k , kγ k , k2 γ k , . . ., kr−1 γ k .
If the characteristic equation of a system is
Complex Roots:
As in the case of continuous-time systems, the complex roots of a discrete-time system must
occur in pairs of conjugates so that the system equation coefficients are real. Like the case of
continuous-time systems, we can eliminate dealing with complex numbers by using the real
form of the solution.
• First express the complex conjugate roots γ and γ ∗ in polar form.
y0 [k] = C1 γ k + C2 (γ ∗ )k
= C1 |γ|k ejβk + C2 |γ|k e−jβk
For a real system, C1 and C2 must be conjugates so that y0 [k] is a real function of k. Let
C jθ C
C1 = e and C2 = e−jθ
2 2
C k [ j(βk+θ) ]
y0 [k] = |γ| e + e−j(βk+θ)
2
= C|γ|k cos(βk + θ)
where C and θ are arbitrary constants determined from the auxiliary conditions.
Find the zero-input response y0 [k] of the system if the initial conditions are y[−1] = 0 and
y[−2] = 25
4
.
5
−5C1 + C2 = 0
4
25 25
25C1 + C2 =
16 4
1 4
and C1 = 5
and C2 = 5
. Therefore
1 4
y0 [k] = (−0.2)k + (0.8)k , k ≥ 0.
5 5
determine y0 [k], the zero-input response, if the initial condition are y0 [−1] = − 31 and
y0 [−2] = − 92 .
The characteristic equation is
γ 2 + 6γ + 9 = (γ + 3)2 = 0
and we have a repeated characteristic root at γ = −3. Hence, the zero-input response is
C1 − C2 = 1
C1 − 2C2 = −2
π
The characteristic roots are 0.78 ± j0.45; that is , 0.9e±j 6 . Thus, |γ| = 0.9 and β = π
6
, and
the zero-input response is given by
π
y0 [k] = C(0.9)k cos( k + θ).
6
( ) [ ] [√ ]
C π C π π C 3 1
cos − + θ = cos(− ) cos θ − sin(− ) sin θ = cos θ + sin θ = 2
0.9 6 0.9 6 6 0.9 2 2
and
( ) [ ] [ √ ]
C π C π π C 1 3
cos − + θ = cos(− ) cos θ − sin(− ) sin θ = cos θ + sin θ =1
(0.9)2 3 0.81 3 3 0.81 2 2
or
√
3 1
C cos θ + C sin θ = 2
1.8 1.8
√
1 3
C cos θ + C sin θ = 1.
1.62 1.62
−0.397
θ = tan−1 = −0.17 rad
2.308
or
Q[E]y[k] = P[E]f[k]
The unit impulse response h[k] is the solution of this equation for the input δ[k] with all the
initial conditions zero; that is
Q[E]h[k] = P[E]δ[k]
b0
h[k] = δ[k] + yn [k]u[k].
a0
The n unknown coefficients in yn [k] can be determined from a knowledge of n values of h[k].
It is a straightforward task to determine values of h[k] iteratively.
Then
Q[E](yn [k]u[k]) = 0, k ≥ 0
A0 Q[E]δ[k] = P[E]δ[k], k ≥ 0
or
( )
A0 En + an−1 En−1 + · · · + a1 E + a0 δ[k]
( )
= bn En + bn−1 En−1 + · · · + b1 E + b0 δ[k]
A0 (δ[k + n] + an−1 δ[k + n − 1] + · · · + a1 δ[k + 1] + a0 δ[k])
= bn δ[k + n] + bn−1 δ[k + n − 1] + · · · + b1 δ[k + 1] + b0 δ[k]
If we set k = 0 in the equation and recognize that δ[0] = 1 and δ[m] = 0 when m ̸= 0, all but
the last terms vanish on both sides, yielding
b0
A0 a0 = b0 and A0 =
a0
Determine the unit impulse response h[k] for a system specified by the equation
or
( 2 )
E − 0.6E − 0.16 y[k] = 5E2 f[k]
Therefore
0 [ ] [ ]
h[k] = δ[k] + C1 (−0.2)k + C2 (0.8)k u[k] = C1 (−0.2)k + C2 (0.8)k u[k]
−0.16
To determine C1 and C2 , we need to find two values of h[k] iteratively. To do this, we must
let the input f[k] = δ[k] and the output y[k] = h[k] in the system equation. The resulting
equation is
Then we have
and C1 = 1, C2 = 4. Therefore
[ ]
h[k] = (−0.2)k + 4(0.8)k u[k]
The zero-state response y[k] is the system response to an input f[k] when the system is in
zero state. Like in the continuous-time case an arbitrary input f[k] can be expressed as a sum
of impulse components.
f[k] f[−2]δ[k + 2]
k k
−2 −1 1 2 3 4 −2 −1 1 2 3 4
f[−1]δ[k + 1]
f[1]δ[k − 1]
k k
−2 −1 1 2 3 4 −2 −1 1 2 3 4
The previous page shows how a signal f[k] can be expressed as a sum of impulse components.
The component of f[k] at k = m is f[m]δ[k − m], and f[k] is the sum of all these components
summed from m = −∞ to ∞. Therefore
If we knew the system response to impulse δ[k], the system response to any arbitrary input
could be obtained by summing the system response to various impulse components.
If
δ[k] =⇒ h[k]
then
δ[k − m] =⇒ h[k − m]
f[m]δ[k − m] =⇒ f[m]h[k − m]
∞
∑ ∞
∑
f[m]δ[k − m] =⇒ f[m]h[k − m]
m=−∞ m=−∞
| {z } | {z }
f[k] y[k]
∞
∑
y[k] = f[m]h[k − m].
m=−∞
This summation on the right-had side is known as the convolution sum of f[k] and h[k], and
is represented symbolically by f[k] ∗ h[k]
∞
∑
f[k] ∗ h[k] = f[m]h[k − m]
m=−∞
∞
∑
f1 [k] ∗ f2 [k] = f1 [m]f2 [k − m]
m=−∞
−∞
∑
=− f1 [w − k]f2 [w], w=k−m
w=∞
∞
∑
= f2 [w]f1 [w − k]
w=−∞
= f2 [k] ∗ f1 [k]
∞
∑
f1 [k] ∗ (f2 [k] + f3 [k]) = f1 [m] (f2 [k − m] + f3 [k − m])
m=−∞
∞
∑ ∞
∑
= f1 [m]f2 [k − m] + f1 [m]f3 [k − m]
m=−∞ m=−∞
∞
∑
f1 [k] ∗ (f2 [k] ∗ f3 [k]) = f1 [m1 ] (f2 [k − m1 ] ∗ f3 [k − m1 ])
m1 =−∞
∞
∑ ∞
∑
= f1 [m1 ] f2 [m2 ]f3 [k − m1 − m2 ]
m1 =−∞ m2 =−∞
∞
∑ ∞
∑
= f1 [λ − m2 ]f2 [m2 ]f3 [k − λ]
m1 =−∞ m2 =−∞
,where λ = m1 + m2 .
Then we have
∞
∑ ∞
∑
f1 [k] ∗ (f2 [k] ∗ f3 [k]) = f1 [λ − m2 ]f2 [m2 ]f3 [k − λ]
m1 =−∞ m2 =−∞
∞
∑
f[k] ∗ δ[k] = f[m]δ[k − m]
m=−∞
then
∑
k
y[k] = f[k]h[k − m]
m=0
we have
∑
k
c[k] = f[m]g[k − m]
m=0
Find the zero-state response y[k] of an LTID system described by the equation
( [ ] [ ])
y[k] = 2.22 (0.25)k+1 − (−0.2)k+1 − 7.27 (0.25)k+1 − (0.8)k+1 u[k]
[ ]
= −5.05(0.25)k+1 − 2.22(−0.2)k+1 + 7.27(0.8)k+1 u[k]
Recognizing that
γ k+1 = γ(γ)k
∑
k
c[k] = f[k]g[k − m]
m=0
Find c[k] = f[k] ∗ g[k], where f[k] and g[k] are depicted in the Figures.
f[k] g[k]
1 1
(0.8)k (0.3)k
k k
0 1 2 3 4 0 1 2 3 4
g[−m]
f[m]
1 1
(0.8)m (0.3)−m
m m
0 1 2 3 4 −4 −3 −2 −1 0
1 f[m]
g[−m]
m
−4 −3 −2 −1 0 1 2 3 4
g[k − m]
1
f[m]
k m
The two functions f[m] and g[k − m] overlap over the interval 0 ≤ m ≤ k.
Therefore
∑
k
c[k] = f[m]g[k − m]
m=0
∑
k
= (0.8)m (0.3)k−m
m=0
∑k ( )
0.8 m
= (0.3)k
m=0
0.3
[ ]
= 2 (0.8)k+1 − (0.3)k+1 , k≥0
For k < 0, there is no overlap between f[m] and g[k − m], so that c[k] = 0 k < 0 and
[ ]
c[k] = 2 (0.8)k+1 − (0.3)k+1 u[k].
Using the sliding tape method, convolve the two sequences f[k] and g[k].
• write the sequences f[k] and g[k] in the slots of two tapes
• leave the f tape stationary (to correspond to f[m]). The g[−m] tape is obtained by
time inverting the g[m]
• shift the inverted tape by k slots, multiply values on two tapes in adjacent slots, and
add all the products to find c[k].
c[0] = 0 × 1 = 0
For k = 1
c[1] = (0 × 1) + (1 × 1) = 1
Similarly,
c[2] = (0 × 1) + (1 × 1) + (2 × 1) = 3
c[3] = (0 × 1) + (1 × 1) + (2 × 1) + (3 × 1) = 6
c[4] = (0 × 1) + (1 × 1) + (2 × 1) + (3 × 1) + (4 × 1) = 10
c[5] = (0 × 1) + (1 × 1) + (2 × 1) + (3 × 1) + (4 × 1) + (5 × 1) = 15
c[6] = (0 × 1) + (1 × 1) + (2 × 1) + (3 × 1) + (4 × 1) + (5 × 1) = 15
.
.. Analysis of Discrete-Time Systems
Lecture 9: Time-Domain J 50/60 I }
Graphical Procedure for the Convolution Sum
Sliding Tape Method cont.
f[k]
g[k]
5 1
1 1 ...
k k
01 2 3 4 5 6 7 1 3 5
f[m]
0 1 2 3 4 5 ←− g[−m] 0 1 2 3 4 5 c[0] = 0
1 1 1 1 1 1 ... ... 1 1 1 1 1 1
f[m]
0 1 2 3 4 5 c[1] = 1
... 1 1 1 1 1 1
f[m]
0 1 2 3 4 5 c[2] = 3
... 1 1 1 1 1 1
f[m]
c[k]
0 1 2 3 4 5 c[5] = 15
... 1 1 1 1 1 1
15 f[m]
0 1 2 3 4 5 c[6] = 15
... 1 1 1 1 1 1
k
5
∑
n
Total response y[k] = cj γjk + f[k] ∗ h[k]
j=1
| {z }
| {z } Zero-state component
Zero-input component
Q[E]yn [k] = 0
By definition, the forced response contains only nonmode terms and and the list of the inputs
and the corresponding forms of the forced function is show below:
if the input f[k] = (3k + 5)u[k] and the auxiliary conditions are y[0] = 4, y[1] = 13.
The characteristic equation is
γ 2 − 5γ + 6 = (γ − 2)(γ − 3) = 0
To find the form of forced response yϕ [k], we use above Table, Pair 4 with r = 1, m = 1.
This yields
yϕ [k] = c1 k + c0
Therefore
yϕ [k + 1] = c1 (k + 1) + c0 = c1 k + c1 + c0
yϕ [k + 2] = c1 (k + 2) + c0 = c1 k + 2c1 + c0
Also
f[k] = 3k + 5
and
f[k + 1] = 3(k + 1) + 5 = 3k + 8
2c1 = −12
−3c1 + 2c0 = −17
and c1 = −6, c2 = − 35
2
. Therefore
35
yϕ [k] = −6k −
2
To determine arbitrary constants B1 and B2 we set k = 0 and 1 and substitute the initial
conditions y[0] = 4, y[1] = 13 to obtain
35
B1 + B2 − =4
2
47
2B1 + 3B2 − = 13
2
and B1 = 28, B2 = − 13
2
.
Therefore
13
yn [k] = 28(2)k − (3)k
2
and
13 35
y[k] = 28(2)k − (3)k −6k −
2 2
| {z } | {z }
yn [k] yϕ [k]