Lecture34 Week34
Lecture34 Week34
Lecture 3&4
Weeks 3 & 4 1
Chapter 2
Linear Time-invariant System
Linear time invariant (LTI) systems are good models for many real-life systems, and they have properties that lead
to a very powerful and effective theory for analyzing their behavior. In the followings, we want to study LTI systems
through its characteristic function, called the impulse response.
To begin with, let us consider discrete-time signals. Denote by h[n] the “impulse response” of an LTI system S. The
impulse response, as it is named, is the response of the system to a unit impulse input. Recall the definition of an
unit impulse:
Weeks 3 & 4
Figure 2.1: Definition of an impulse response.
Weeks 3 & 4
Weeks 3 & 4
Weeks 3 & 4
2.1.3 How to Evaluate Convolution?
1. Flip
2. Shift
Weeks 3 & 4
Figure 2.2: Example 1: x[n] and h[n]
Example 1. (See Class Demonstration) Consider the signal x[n] and the impulse response h[n] shown below.
Let’s compute the output y[n] one by one. First, consider y[0]:
Check Examples 2.1, 2.2, 2.3, 2.4 and 2.5 from course book.
Weeks 3 & 4
2.2 System Properties and Impulse Response
With the notion of convolution, we can now proceed to discuss the system properties in terms of impulse responses.
A system is memoryless if the output depends on the current input only. An equivalent statement using the impulse
response h[n] is that:
(2.6)
h[n] = aδ[n] for some a ∈ C,
Proof. If h[n] = aδ[n], then for any input x[n], the output is
=
X∞ x[k]aδ[n − k]
k=−∞
= ax[n].
Weeks 3 & 4
So, the system is memoryless. Conversely, if the system is memoryless, then y[n] cannot depend on the values x[k]
for k ≠ n. Looking at the convolution sum formula
y[n] = X∞
x[k]h[n − k],
k=−∞
we conclude that
or equivalently,
h[n] = 0, for all n ≠ 0.
This implies
y[n] = x[n]h[0] = ax[n], (2.7)
Theorem 5. An LTI system is invertible if and only if there exist g[n] such that
(2.8)
h[n] ∗ g[n] = δ[n].
Proof. If a system S is invertible, then x [n]
1 ≠ x [n]
2 implies y1 [n] ≠ y [n].
2 So there exists an injective mapping
Weeks 3 & 4
Weeks 3 & 4
2.2.3 Causality for DT LTI Systems
Proof. If S is causal, then the output y[n] cannot depend on x[k] for k > n. From the convolution equation,
y[n] =
X∞ x[k]h[n − k],
k=−∞
we must have
y[n] = X∞ X∞
h[k]x[n − k] = k=0
h[k]x[n − k].
k=−∞
Weeks 3 & 4
Weeks 3 & 4
Clearly, |x[n]| ≤ 1 for all n. The output y[0] is given by
There is another signal that is also used quite often in describing behaviour of LTI systems: the unit step response,
s[n], corresponding to the output when x[n] = u[n].
From the convolution-sum representation, the step response of a discrete-time LTI system is the convolution of the
unit step with the impulse response; that is
However, by the commutative property of convolution s[n] = h[n] ∗ u[n], and therefore, s[n] can be viewed as the
response to the input h[n] of a discrete-time LTI system with unit impulse response u[n]. As u[n] is the unit impulse
response of the accumulator;
s[n] = Xn h[k]. (2.10)
k=−∞
Weeks 3 & 4
From this equation, h[n] can be recovered from s[n] using the relation
(2.11)
h[n] = s[n] − s[n − 1].
That is, the step response of a discrete-time LTI system is the running sum of its impulse response [eq. 2.10].
Conversely, the impulse response of a discrete-time LTI system is the first difference of its step response [eq. 2.11].
Thus far we have been focusing on the discrete-time case. The continuous-time case, in fact, is analogous to the
discrete-time case. In continuous-time signals, the signal decomposition is
∞
x(t) = Z (2.12)
x(τ )δ(t − τ )dτ,
−∞
and consequently, the continuous time convolution is defined as
Z ∞
y(t) = (2.13)
x(τ )h(t − τ )dτ,
−∞
Example.
The continuous-time convolution also follows the three step rule: flip, shift, multiply-add. To see an example, let us
Weeks 3 & 4
Weeks 3 & 4 16
2.3.3 Continuous-time System Properties
Memoryless.
An LTI system is memoryless if and only if
(2.14)
h(t) = aδ(t), for some a ∈ C.
Invertible.
An LTI system is invertible if and only if there exist g(t) such that
(2.15)
h(t) ∗ g(t) = δ(t).
Causal.
A system is causal if and only if
h(t) = 0, for all t < 0. (2.16)
Stable.
A system is stable if and only if
Z ∞
(2.17)
|h(τ )|dτ < ∞.
−∞
Weeks 3 & 4 17
2.3.4 The Unit Step response of CT LTI Systems
In continuous time, the step response of an LTI system with impulse response h(t) is given by s(t) = u(t) ∗ h(t),
which also equals the response of an integrator [with impulse response u(t)] to the input h(t). That is, the unit step
response of a continuous-time LTI system is the running integral of its impulse response, or
t
s(t) = Z h(τ )dτ, (2.18)
−∞
and from eq. 2.18, the unit response is the first derivative of the unit step response, or
(2.19)
Weeks 3 & 4 18
We can write the relation between input and output signal as:
dvc (t) 1 1
+ vc (t) = vs (t) (2.20)
dt RC RC
Here circuit is defined with first order equations. What if we have a system with Nth order:
Weeks 3 & 4 19
Weeks 3 & 4 20
Example (Example 2.15)
Consider the difference equation
Find h[n] =?
we need the previous value of the output, y[n − 1], to calculate the current value. Thus, to begin the recursion, we
need an initial condition.
For example, suppose that we impose the condition of initial rest and consider the input
x[n] = Kδ[n],
In this case, since x[n] = 0 for n ≤ −1, the condition of initial rest implies that y[n] = 0 for n ≤ −1, so that we have
as an initial condition y[−1] = 0. Starting from this initial condition, we can solve for successive values of y[n] for
n ≥ 0 as follows:
Weeks 3 & 4 21
Setting K = 1, we see that the impulse response for the system considered in this example is
Note that the causal LTI system in the example has an impulse response of infinite duration. In fact, if N ≥ 1 in
Equation 2.21, so that the difference equation is recursive, it is usually the case that the LTI system corresponding
to this equation together with the condition of initial rest will have an impulse response of infinite duration. Such
systems are commonly referred to as infinite impulse response (IIR) systems.
Weeks 3 & 4 22
Weeks 3 & 4 23
2.4.1 Block diagram representations
Weeks 3 & 4 24
Weeks 3 & 4 25
Nth Order representation with reduced number of block – Step 1
Weeks 3 & 4 26
Nth Order representation with reduced number of block – Step 2
Weeks 3 & 4 27
Nth Order representation with reduced number of block – Step 3
Weeks 3 & 4 28
Example
Draw block diagram representation of 2y[n] − y[n − 1] + y[n − 3] = x[n] − 5x[n − 4] with reduced number of blocks.
Weeks 3 & 4 29