Académique Documents
Professionnel Documents
Culture Documents
(The money at the end of the k period is the money that was there, plus the money
due to interest, plus any new deposits). Draw the block diagram (realization). 2
df
Example 3 If y(t) = dt , then
df
y(kT ) = |t=kT
dt
1
y[k] ≈ (f [k] − f [k − 1])
T
2
Instead of using RLC, the elements in discrete-time systems are delays, adders,
and multipliers.
Comment on advantages: precision, stability, flexibility, variety, size, storage
reliability, sophistication, sharing, cost.
ECE 3640: Lecture 1 – Discrete-time systems 2
Discrete-time exponential γ k .
γ k grows when |γ| > 1, and decays when |γ| < 1. Plot on unit circle.
What about when |γ| = 1? We can write this as ejΩk for some Ω. This is a
rotating phasor.
Discrete-time sinusoid cos(Ωk + θ).
Note: Not all discrete-time sinusoids are periodic (unlike in the continuous-
time case):
f [k] = f [k + N0 ]
This is only possible if ΩN0 is an integral multiple of 2π:
cos(Ωk) = cos(Ω(k + N0 ))
iff
ΩN0 = 2πm
or
Ω m
=
2π N0
Must therefore have Ω/2π be a rational number.
Note: There is non-uniqueness of discrete-time sinusoids. For example:
cos(9.6πk+θ) = cos(8πk+1.6πk+θ) = cos(1.6πk+θ) = cos(−1.4πk+θ) = cos(0.4πk−θ)
All these frequencies “look” the same!
Exponentially damped sinusoid γ k cos(Ωk + θ)
Difference equations
The equations that arise in discrete-time systems are not differential equations, but
difference equations. We could write
y[0] = 0.5(16) + 0 = 8
y[1] = 0.5(8) + 1 = 5
y[2] = 0.5(5) + 4 = 6.5
etc. 2
1 1
(E 2 + E + )y[k] = E 2 f [k]
4 16
(A lot like what we did for differential equations.) 2
or
Q[E]y[k] = P [E]f [k]
Now we do the same kinds of things we did before: the zero-input response, then
the zero-state response.
Zero-input response
When there is no input, we can write
Q[E]y0 [k] = 0
or
(E n + an−1 E n−1 + · · · + a1 E + a0 )y0 [k] = 0
ECE 3640: Lecture 1 – Discrete-time systems 4
(What happened for continuous time?) Similar. Let’s try a simply case to get
started:
(E − γ)y0 [k] = 0
Try a solution y0 [k] = cγ k . (Comment on the difference from earlier case.) Substi-
tute in and show that it works.
Ecγ k = cγ k+1
This works in the general case: subs. and show that it works. Substituting gives
or
Q[γ]y0 [k] = 0
For an interesting (nontrivial) solution, we will look for roots of
Q[γ] = 0
Write as
(γ − γ1 )(γ − γ2 ) · · · (γ − γn ) = 0
Q[γ] is thus the characteristic polynomial, and we look at its roots. The roots are
γ1 , γ2 , . . . , γn .
As before, we take all possible solutions in a linear combination:
Repeated roots: If
then
y0 [k] = (c1 + c2 k + · · · cr k r−1 )γ1k + cr+1 γr+1
k
+ · · · + cn γnk
So how do things behave as a function of root location. (0.8, -0.8, -.5, 1.2, k(0.8),
1, etc.) Same old, same old.
Example 7 Solve
Characteristic polynomial:
γ 2 − 1.56γ + .81 = 0
Factor:
(γ − .78 − j.45)(γ − .78 + j.45) = 0
Roots: .78 ± j.45 Convert to polar:
γ1 = .9ejπ/6 γ2 = .9e−jπ/6
Zero-input solution:
y0 [k] = c(.9)k cos(π/6k + θ)
Need to find c and θ using the initial conditions. At k = −1
c
2= cos(−π/6 + θ).
.9
At k = −2:
c
1= cos(−π/3 + θ)
.81
Using cos(a + b) = cos(a) cos(b) − sin(a) sin(b) (p. 65),
√
3 1
2= c cos θ + c sin θ
1.8 1.8
√
1 3
1= c cos θ + sin θ
1.62 1.62
Solve for unknowns c cos θ and c sin θ:
c cos θ = 2.308
c sin θ = −.397
θ = −.17 rad c = 2.34
2
Zero-state response
The steps are similar to what we did before: introduce delta function, then the
impulse response, then the convolution sum.
Discrete time impulse function:
1 k=0
δ[k] =
0 otherwise
Q[E]h[k] = P [E]δ[k]
ECE 3640: Lecture 1 – Discrete-time systems 6
Then h[k] is the solution when initial conditions are all zero:
f [0]δ[k] → f [0]h[k]
f [1]δ[k − 1] → f [1]h[k − 1]
Adding these up, X
y[k] = f [m]h[k − m]
m
Width: If f1 has length m points and f2 has length n points, then f1 ∗ f2 has
length m + n − 1 points. (Note length given in points.)
For causal systems with causal inputs
k
X
y[k] = f [m]h[k − m]
m=0
Example 11 Find c[k] = f [k] ∗ g[k] when f [k] = (0.8)k u[k] and g[k] = (0.3)k u[k]:
k
X
c[k] = (0.8)m (0.3)k−m
m=0
m m
X 0.8
c[k] = (0.3)k
m=0
0.3
Important fact: emblazon this in your head. (Also be aware that symbolic packages
know this.) The sum of a geometric series is
k
X rk+1 − 1
rm = r 6= 1
m=0
r−1
We get
(0.8/0.3)k+1 − 1
c[k] = (0.3)k = 2[(.8)k+1 − (.3)k+1 ]u[k]
(0.8/0.3)k − 1
2
2
ECE 3640: Lecture 1 – Discrete-time systems 8
System stability
Plots as a function of pole location. (Asymptotically) stable, unstable, marginally
stable.
BIBO stability. System response to bounded inputs:
X
|y[k]| = h[m]f [k − m]
X
≤ |h[m]||f [m − k]|
m