Throughout this note Σ is a convolutional LTI system: its output is y=h∗u, i.e.
y(t)=∫−∞+∞h(t−τ)u(τ)dτ=∫−∞+∞h(τ)u(t−τ)dτ,
and in discrete time y(k)=∑n=−∞+∞h(n)u(k−n). In block form, the system Σ coincides with the single block h(t):
u(t) --->[ Sigma ]---> y(t) coincides with u(t) --->[ h(t) ]---> y(t)
(also for discrete-time systems)
Caveat: the impulse response does not describe every system
There exist LTI systems that are not convolutional. Example: y(t)=Alimτ→−∞u(τ) with A=0; it is linear and time invariant, but its impulse response is h(t)=0 for all t∈R, so h tells nothing about y.
More generally, h does not characterize systems outside the class of convolutional LTI systems. Example (discrete time):
Σ1:y(k)=u(k)+u(k−1), with h1(k)=δ(k)+δ(k−1), i.e. h1(k)=1 for k=0,1 and 0 otherwise. Σ1 is convolutional LTI.
Σ2:y(k)=(u(k)+u(k−1))2, with h2(k)=(δ(k)+δ(k−1))2=δ(k)+δ(k−1). Σ2 is not even linear, and yet h2(k)=h1(k).
Conclusion:h is useful to obtain y only if Σ is convolutional LTI.
BIBO stability
A system is BIBO stablebounded input, bounded output: every bounded input produces a bounded output. Example from the previous lecture: h(t)=e−γt1(t) with γ>0. Assume there is Mu with ∣u(t)∣≤Mu. Then
∣y(t)∣=∫−∞+∞h(τ)u(t−τ)dτ≤Mu∫−∞+∞∣h(τ)∣dτ=Mu∫0+∞e−γτdτ=Mu−γe−γτ0+∞=γMu=:My<+∞.
Recall that h,u∈L1⇒∥y∥1≤∥h∥1∥u∥1⇒y∈L1; but for BIBO stability we do not need u∈L1, since the definition only assumes that u(t) is bounded.
Theorem (necessary and sufficient condition for BIBO stability). Let h(t) be the impulse response of a convolutional LTI system Σ. Then
Σ is BIBO stable⟺h∈L1.
For discrete-time systems: Σ is BIBO stable ⟺h∈ℓ1, i.e. ∑n∣h(n)∣<+∞.
Proof.
(⇐) Suppose h∈L1 and ∣u(s)∣≤Mu for all s. Then
∣y(t)∣=∫h(t−τ)u(τ)dτ=∫h(τ)u(t−τ)dτ≤Mu∫∣h(τ)∣dτ=:My<+∞,
because h∈L1. Since a finite My was found for the given Mu, Σ is BIBO stable.
(⇒) Logic: proving "B⇒A" is exactly the same as proving "¬A⇒¬B" (if the set B is contained in A, the complement of A is contained in the complement of B). So we prove: h∈/L1⇒Σ is not BIBO stable.
Suppose ∫−∞+∞∣h(s)∣ds=+∞. Then there is t0 with h(t0)=0. Define
u(t):=⎩⎨⎧h(t0−t)∣h(t0−t)∣,0,t∈R:h(t0−t)=0otherwise.
Then ∣u(t)∣≤1 for all t. Evaluating the output at t=t0:
y(t0)=∫−∞+∞h(t0−τ)h(t0−τ)∣h(t0−τ)∣dτ=∫−∞+∞∣h(t0−τ)∣dτ=s=t0−τ∫−∞+∞∣h(s)∣ds=+∞.
(Rigorously, the cancellation only happens where h(t0−τ)=0, but the result is the same.) We found a bounded input that makes the output unbounded, so Σ is unstable. ■
Take-home message: to analyze stability we need to understand how to break systems apart, i.e. how to build the worst bounded input.
Static versus dynamic
For a convolutional system y(t)=∫h(t−τ)u(τ)dτ. The system is static if y(t)=f(t,u(t)).
Σ is static⟺h(t)=αδ(t),α∈C.
Why: by the sifting property ∫αδ(t−τ)u(τ)dτ=αu(t). In discrete time: Σ is static ⟺h(k)=αδ(k), α∈C.
Causality
Write y(t)=∫h(τ)u(t−τ)dτ. For y(t) not to depend on u(σ) with σ>t, i.e. on the future inputs u(t−τ) with τ<0, we must enforce h(τ)=0 for all τ<0, so that all u(t+Δt), Δt>0, are multiplied by zero.
Σ is causal⟺h(t)=0∀t<0,Σ is causal⟺h(k)=0∀k<0.
Similarly, Σ is anticausal⟺h(t)=0 for all t>0 (and h(k)=0 for all k>0 in discrete time).
Series and parallel interconnection
Series.u→[h1]→y1→[h2]→y2. Then y2=h2∗(h1∗u)=(h2∗h1)∗u, so the series of two systems reduces to a single system with
h=h2∗h1(series interconnection).
Parallel.u feeds both h1 and h2, whose outputs y1,y2 are added. By linearity of convolution, y1+y2=(h1∗u)+(h2∗u)=(h1+h2)∗u, so
h=h1+h2(parallel interconnection).
+--[ h1 ]--+ y1 u --->[ h2*h1 ]---> y = y2
u --->-| (+)---> y1+y2 (series)
+--[ h2 ]--+ y2
u --->[ h1+h2 ]---> y = y1+y2
(parallel)
Step response
The step response h−1(t) (the output to 1(t)) also fully characterizes a convolutional LTI system:
h−1(t)=∫−∞+∞h(t−τ)1(τ)dτ=∫0+∞h(t−τ)dτ=∫−∞th(τ)dτ.
So h−1 is by definition the integral function of h, and h can always be recovered:
h(t)=dtdh−1(t),
where the derivative must be computed in the generalized sense with respect to finite discontinuities.
Caveat: y(t)=∫dtd[h−1(t−τ)]u(τ)dτ equals dtd[∫h−1(t−τ)u(τ)dτ] only if both h−1(t) and u(t) have no "kinks" (corner points) and are differentiable in the generalized sense over the integration domain.
Discrete time (even easier):
h−1(k)=n=−∞∑+∞h(k−n)1(n)=n=0∑+∞h(k−n)=n=−∞∑kh(n).
Taking the (causal) difference, h−1(k)−h−1(k−1)=h(k)+∑n=−∞k−1h(n)−∑n=−∞k−1h(n), hence
h(k)=h−1(k)−h−1(k−1).
Worked examples: convolution
Recall y(t)=∫h(t−τ)u(τ)dτ.
Example 1.h(t)=δ(t+2)−δ(t−1), u(t)=1(t)−sint. Be smart: use commutativity h∗u=u∗h, and the sifting of δ plus linearity of the integral:
y(t)=∫(1(t−τ)−sin(t−τ))(δ(τ+2)−δ(τ−1))dτ=[1(t−τ)−sin(t−τ)]τ=−2−[1(t−τ)−sin(t−τ)]τ=1=1(t+2)−1(t−1)−sin(t+2)+sin(t−1).
Example 2.h(t)=1(t), u(t)=Arect(2Tt) with A,T>0. Here rect(t/2T) is 1 on [−T,T] and 0 elsewhere. Since 1(t−τ)=1 for τ<t:
y(t)=∫−∞tArect(2Tτ)dτ=⎩⎨⎧0,A(t+T),2AT,t<−T−T≤t<Tt≥T=min(max(0,A(t+T)),2AT).
The graph is a ramp: zero up to t=−T, linear (passing through AT at t=0) up to 2AT at t=T, then constant at 2AT.
Example 3.h(t)=rect(t), u(t)=rect(2Tt), T≥21.
y(t)=∫rect(t−τ)rect(2Tτ)dτ=∫−TTrect(t−τ)dτ=s=−τ∫−TTrect(s+t)ds,
where rect(s+t) has centre −t and width 1. Comparing the interval [−t−21,−t+21] with [−T,T] gives five cases:
y(t)=⎩⎨⎧0,T+21−t,1,T+21+t,0,t>T+21T−21<t≤T+21−T+21<t≤T−21−T−21<t≤−T+21t≤−T−21=:trapT(t).
This is an isosceles trapezoid of area 2T and height 1, centred at t=0:
2) Series of two discrete-time systems.u(k)→[h2]→y1(k)→[h1]→y2(k) with h1(k)=sin(8k), h2(k)=λk1(k), ∣λ∣<1, u(k)=δ(k)−λδ(k−1).
y1(k)=h2∗u(k)=λk1(k)−λk1(k−1)=λk[1(k)−1(k−1)]=λkδ(k)=δ(k),y2(k)=h1∗δ(k)=h1(k)=sin(8k).
3)h(t)=e−3t1(t), u(t)=1(t−3)−1(t−5); compute y(t)=dtd[h∗u(t)] (i.e. u→[h]→x→[d/dt]→y).
x(t)=∫e−3(t−τ)1(t−τ)[1(τ−3)−1(τ−5)]dτ=∫35e−3(t−τ)1(t−τ)dτ=s=t−τ∫t−5t−3e−3s1(s)ds=∫max(0,t−5)max(0,t−3)e−3sds=−31(e−3max(0,t−3)−e−3max(0,t−5))=⎩⎨⎧0,−31(e−3(t−3)−1),−31(e−3(t−3)−e−3(t−5)),t<33≤t<5t≥5
Differentiating:
y(t)=x˙(t)=e−3(t−3)1(t−3)−e−3(t−5)1(t−5).Faster way: differentiate the input first, u˙(t)=δ(t−3)−δ(t−5), and use y=dtd[h∗u]=h∗u˙:
y(t)=∫e−3(t−τ)1(t−τ)[δ(τ−3)−δ(τ−5)]dτ=e−3(t−3)1(t−3)−e−3(t−5)1(t−5).
(Convergence in distribution of δ(t) with respect to h(t) should be proven beforehand; the lecture refers to an appendix on sequences of functions.)
Versione ripasso
For a convolutional LTI system y=h∗u; h describes only this class (non-convolutional LTI systems such as y(t)=Alimτ→−∞u(τ) have h=0; a non-linear system can even have the same h as a linear one).
BIBO stability:Σ BIBO stable ⟺h∈L1 (discrete: h∈ℓ1). Proof: (⇐) ∣y∣≤Mu∥h∥1; (⇒) take u(t)=∣h(t0−t)∣/h(t0−t) (bounded by 1), which gives y(t0)=∫∣h∣=+∞ if h∈/L1.
Static:h(t)=αδ(t), α∈C (discrete: h(k)=αδ(k)).
Causal:h(t)=0 for t<0; anticausal:h(t)=0 for t>0 (same in discrete time).
Series:h=h2∗h1. Parallel:h=h1+h2.
Step response:h−1(t)=∫−∞th, so h=dtdh−1 (generalized derivative); discrete h−1(k)=∑n≤kh(n), h(k)=h−1(k)−h−1(k−1).
rect(t)∗rect(t/2T)=trapT(t) (isosceles trapezoid, area 2T, height 1, corners at ±T±21); 1∗Arect(t/2T)=min(max(0,A(t+T)),2AT).
Derivative of a convolution: dtd(h∗u)=h∗u˙ (use it with u˙ made of deltas).
Typical mistakes: using h for a non-LTI system; forgetting that BIBO stability needs h∈L1 (e.g. kcos(4πk)1(k) is unstable); exchanging derivative and convolution when kinks are present.