Salta al contenuto
Note per Studenti Properties of Convolutional LTI Systems Report

Properties of Convolutional LTI Systems

In questa pagina 8

Throughout this note Σ\Sigma is a convolutional LTI system: its output is y=h∗uy=h*u, i.e. y(t)=∫−∞+∞h(t−τ) u(τ) dτ=∫−∞+∞h(τ) u(t−τ) dτ,y(t)=\int_{-\infty}^{+\infty}h(t-\tau)\,u(\tau)\,d\tau=\int_{-\infty}^{+\infty}h(\tau)\,u(t-\tau)\,d\tau , and in discrete time y(k)=∑n=−∞+∞h(n) u(k−n)y(k)=\sum_{n=-\infty}^{+\infty}h(n)\,u(k-n). In block form, the system Σ\Sigma coincides with the single block h(t)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(τ)y(t)=A\lim_{\tau\to-\infty}u(\tau) with A≠0A\neq 0; it is linear and time invariant, but its impulse response is h(t)=0h(t)=0 for all t∈Rt\in\mathbb{R}, so hh tells nothing about yy.

More generally, hh does not characterize systems outside the class of convolutional LTI systems. Example (discrete time):

  • Σ1: y(k)=u(k)+u(k−1)\Sigma_1:\ y(k)=u(k)+u(k-1), with h1(k)=δ(k)+δ(k−1)h_1(k)=\delta(k)+\delta(k-1), i.e. h1(k)=1h_1(k)=1 for k=0,1k=0,1 and 00 otherwise. Σ1\Sigma_1 is convolutional LTI.
  • Σ2: y(k)=(u(k)+u(k−1))2\Sigma_2:\ y(k)=\big(u(k)+u(k-1)\big)^2, with h2(k)=(δ(k)+δ(k−1))2=δ(k)+δ(k−1)h_2(k)=\big(\delta(k)+\delta(k-1)\big)^2=\delta(k)+\delta(k-1). Σ2\Sigma_2 is not even linear, and yet h2(k)=h1(k)h_2(k)=h_1(k).

Conclusion: hh is useful to obtain yy only if Σ\Sigma 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)h(t)=e^{-\gamma t}\mathbb{1}(t) with γ>0\gamma>0. Assume there is MuM_u with ∣u(t)∣≤Mu|u(t)|\le M_u. Then ∣y(t)∣=∣∫−∞+∞h(τ)u(t−τ)dτ∣≤Mu∫−∞+∞∣h(τ)∣dτ=Mu∫0+∞e−γτdτ=Mue−γτ−γ∣0+∞=Muγ=:My<+∞.|y(t)|=\left|\int_{-\infty}^{+\infty}h(\tau)u(t-\tau)d\tau\right|\le M_u\int_{-\infty}^{+\infty}|h(\tau)|d\tau=M_u\int_{0}^{+\infty}e^{-\gamma\tau}d\tau=M_u\left.\frac{e^{-\gamma\tau}}{-\gamma}\right|_0^{+\infty}=\frac{M_u}{\gamma}=:M_y<+\infty .

Recall that h,u∈L1⇒∥y∥1≤∥h∥1∥u∥1⇒y∈L1h,u\in L^1\Rightarrow \|y\|_1\le\|h\|_1\|u\|_1\Rightarrow y\in L^1; but for BIBO stability we do not need u∈L1u\in L^1, since the definition only assumes that u(t)u(t) is bounded.

Theorem (necessary and sufficient condition for BIBO stability). Let h(t)h(t) be the impulse response of a convolutional LTI system Σ\Sigma. Then Σ is BIBO stable  ⟺  h∈L1.\Sigma \text{ is BIBO stable}\iff h\in L^1 . For discrete-time systems: Σ\Sigma is BIBO stable   ⟺  h∈ℓ1\iff h\in\ell^1, i.e. ∑n∣h(n)∣<+∞\sum_{n}|h(n)|<+\infty.

Proof.

(⇐\Leftarrow) Suppose h∈L1h\in L^1 and ∣u(s)∣≤Mu|u(s)|\le M_u for all ss. Then ∣y(t)∣=∣∫h(t−τ)u(τ)dτ∣=∣∫h(τ)u(t−τ)dτ∣≤Mu∫∣h(τ)∣dτ=:My<+∞,|y(t)|=\left|\int h(t-\tau)u(\tau)d\tau\right|=\left|\int h(\tau)u(t-\tau)d\tau\right|\le M_u\int|h(\tau)|d\tau=:M_y<+\infty, because h∈L1h\in L^1. Since a finite MyM_y was found for the given MuM_u, Σ\Sigma is BIBO stable.

(⇒\Rightarrow) Logic: proving "B⇒AB\Rightarrow A" is exactly the same as proving "¬A⇒¬B\neg A\Rightarrow\neg B" (if the set BB is contained in AA, the complement of AA is contained in the complement of BB). So we prove: h∉L1⇒Σh\notin L^1\Rightarrow\Sigma is not BIBO stable.

Suppose ∫−∞+∞∣h(s)∣ds=+∞\int_{-\infty}^{+\infty}|h(s)|ds=+\infty. Then there is t0t_0 with h(t0)≠0h(t_0)\ne0. Define u(t):={∣h(t0−t)∣h(t0−t),t∈R: h(t0−t)≠00,otherwise.u(t):=\begin{cases}\dfrac{|h(t_0-t)|}{h(t_0-t)}, & t\in\mathbb{R}:\ h(t_0-t)\neq0\\[2mm] 0,&\text{otherwise.}\end{cases} Then ∣u(t)∣≤1|u(t)|\le1 for all tt. Evaluating the output at t=t0t=t_0: y(t0)=∫−∞+∞h(t0−τ)∣h(t0−τ)∣h(t0−τ)dτ=∫−∞+∞∣h(t0−τ)∣ dτ=s=t0−τ∫−∞+∞∣h(s)∣ ds=+∞.y(t_0)=\int_{-\infty}^{+\infty}h(t_0-\tau)\frac{|h(t_0-\tau)|}{h(t_0-\tau)}d\tau=\int_{-\infty}^{+\infty}|h(t_0-\tau)|\,d\tau\overset{s=t_0-\tau}{=}\int_{-\infty}^{+\infty}|h(s)|\,ds=+\infty . (Rigorously, the cancellation only happens where h(t0−τ)≠0h(t_0-\tau)\ne0, but the result is the same.) We found a bounded input that makes the output unbounded, so Σ\Sigma is unstable. ■\blacksquare

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τy(t)=\int h(t-\tau)u(\tau)d\tau. The system is static if y(t)=f(t,u(t))y(t)=f(t,u(t)). Σ is static  ⟺  h(t)=α δ(t),α∈C.\Sigma\text{ is static}\iff h(t)=\alpha\,\delta(t),\quad \alpha\in\mathbb{C}. Why: by the sifting property ∫αδ(t−τ)u(τ)dτ=αu(t)\int\alpha\delta(t-\tau)u(\tau)d\tau=\alpha u(t). In discrete time: Σ\Sigma is static   ⟺  h(k)=αδ(k)\iff h(k)=\alpha\delta(k), α∈C\alpha\in\mathbb{C}.

Causality

Write y(t)=∫h(τ)u(t−τ)dτy(t)=\int h(\tau)u(t-\tau)d\tau. For y(t)y(t) not to depend on u(σ)u(\sigma) with σ>t\sigma>t, i.e. on the future inputs u(t−τ)u(t-\tau) with τ<0\tau<0, we must enforce h(τ)=0h(\tau)=0 for all τ<0\tau<0, so that all u(t+Δt)u(t+\Delta t), Δt>0\Delta t>0, are multiplied by zero. Σ is causal  ⟺  h(t)=0  ∀t<0,Σ is causal  ⟺  h(k)=0  ∀k<0.\Sigma\text{ is causal}\iff h(t)=0\ \ \forall t<0,\qquad \Sigma\text{ is causal}\iff h(k)=0\ \ \forall k<0 . Similarly, Σ\Sigma is anticausal   ⟺  h(t)=0\iff h(t)=0 for all t>0t>0 (and h(k)=0h(k)=0 for all k>0k>0 in discrete time).

Series and parallel interconnection

Series. u→[h1]→y1→[h2]→y2u\to[h_1]\to y_1\to[h_2]\to y_2. Then y2=h2∗(h1∗u)=(h2∗h1)∗uy_2=h_2*(h_1*u)=(h_2*h_1)*u, so the series of two systems reduces to a single system with h=h2∗h1(series interconnection).h=h_2*h_1 \qquad\text{(series interconnection).}

Parallel. uu feeds both h1h_1 and h2h_2, whose outputs y1,y2y_1,y_2 are added. By linearity of convolution, y1+y2=(h1∗u)+(h2∗u)=(h1+h2)∗uy_1+y_2=(h_1*u)+(h_2*u)=(h_1+h_2)*u, so h=h1+h2(parallel interconnection).h=h_1+h_2 \qquad\text{(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)h_{-1}(t) (the output to 1(t)\mathbb{1}(t)) also fully characterizes a convolutional LTI system: h−1(t)=∫−∞+∞h(t−τ)1(τ)dτ=∫0+∞h(t−τ)dτ=∫−∞th(τ)dτ.h_{-1}(t)=\int_{-\infty}^{+\infty}h(t-\tau)\mathbb{1}(\tau)d\tau=\int_0^{+\infty}h(t-\tau)d\tau=\int_{-\infty}^{t}h(\tau)d\tau . So h−1h_{-1} is by definition the integral function of hh, and hh can always be recovered: h(t)=d h−1(t)dt,h(t)=\frac{d\,h_{-1}(t)}{dt}, where the derivative must be computed in the generalized sense with respect to finite discontinuities.

Caveat: y(t)=∫ddt[h−1(t−τ)]u(τ)dτy(t)=\int \frac{d}{dt}\big[h_{-1}(t-\tau)\big]u(\tau)d\tau equals ddt[∫h−1(t−τ)u(τ)dτ]\frac{d}{dt}\Big[\int h_{-1}(t-\tau)u(\tau)d\tau\Big] only if both h−1(t)h_{-1}(t) and u(t)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).h_{-1}(k)=\sum_{n=-\infty}^{+\infty}h(k-n)\mathbb{1}(n)=\sum_{n=0}^{+\infty}h(k-n)=\sum_{n=-\infty}^{k}h(n). Taking the (causal) difference, h−1(k)−h−1(k−1)=h(k)+∑n=−∞k−1h(n)−∑n=−∞k−1h(n)h_{-1}(k)-h_{-1}(k-1)=h(k)+\sum_{n=-\infty}^{k-1}h(n)-\sum_{n=-\infty}^{k-1}h(n), hence h(k)=h−1(k)−h−1(k−1).h(k)=h_{-1}(k)-h_{-1}(k-1).

Worked examples: convolution

Recall y(t)=∫h(t−τ)u(τ)dτy(t)=\int h(t-\tau)u(\tau)d\tau.

Example 1. h(t)=δ(t+2)−δ(t−1)h(t)=\delta(t+2)-\delta(t-1), u(t)=1(t)−sin⁡tu(t)=\mathbb{1}(t)-\sin t. Be smart: use commutativity h∗u=u∗hh*u=u*h, and the sifting of δ\delta plus linearity of the integral: y(t)=∫(1(t−τ)−sin⁡(t−τ))(δ(τ+2)−δ(τ−1))dτy(t)=\int\big(\mathbb{1}(t-\tau)-\sin(t-\tau)\big)\big(\delta(\tau+2)-\delta(\tau-1)\big)d\tau =[1(t−τ)−sin⁡(t−τ)]τ=−2−[1(t−τ)−sin⁡(t−τ)]τ=1=1(t+2)−1(t−1)−sin⁡(t+2)+sin⁡(t−1).=\big[\mathbb{1}(t-\tau)-\sin(t-\tau)\big]_{\tau=-2}-\big[\mathbb{1}(t-\tau)-\sin(t-\tau)\big]_{\tau=1}=\mathbb{1}(t+2)-\mathbb{1}(t-1)-\sin(t+2)+\sin(t-1).

Example 2. h(t)=1(t)h(t)=\mathbb{1}(t), u(t)=A rect ⁣(t2T)u(t)=A\,\mathrm{rect}\!\left(\frac{t}{2T}\right) with A,T>0A,T>0. Here rect(t/2T)\mathrm{rect}(t/2T) is 11 on [−T,T][-T,T] and 00 elsewhere. Since 1(t−τ)=1\mathbb{1}(t-\tau)=1 for τ<t\tau<t: y(t)=∫−∞tA rect ⁣(τ2T)dτ={0,t<−TA(t+T),−T≤t<T2AT,t≥T=min⁡(max⁡(0,A(t+T)), 2AT).y(t)=\int_{-\infty}^{t}A\,\mathrm{rect}\!\left(\frac{\tau}{2T}\right)d\tau=\begin{cases}0,&t<-T\\ A(t+T),&-T\le t<T\\ 2AT,&t\ge T\end{cases}=\min\big(\max(0,A(t+T)),\,2AT\big). The graph is a ramp: zero up to t=−Tt=-T, linear (passing through ATAT at t=0t=0) up to 2AT2AT at t=Tt=T, then constant at 2AT2AT.

Example 3. h(t)=rect(t)h(t)=\mathrm{rect}(t), u(t)=rect ⁣(t2T)u(t)=\mathrm{rect}\!\left(\frac{t}{2T}\right), T≥12T\ge\frac12. y(t)=∫rect(t−τ) rect ⁣(τ2T)dτ=∫−TTrect(t−τ)dτ =s=−τ ∫−TTrect(s+t) ds,y(t)=\int\mathrm{rect}(t-\tau)\,\mathrm{rect}\!\left(\tfrac{\tau}{2T}\right)d\tau=\int_{-T}^{T}\mathrm{rect}(t-\tau)d\tau\ \overset{s=-\tau}{=}\ \int_{-T}^{T}\mathrm{rect}(s+t)\,ds, where rect(s+t)\mathrm{rect}(s+t) has centre −t-t and width 11. Comparing the interval [−t−12,−t+12][-t-\tfrac12,-t+\tfrac12] with [−T,T][-T,T] gives five cases: y(t)={0,t>T+12T+12−t,T−12<t≤T+121,−T+12<t≤T−12T+12+t,−T−12<t≤−T+120,t≤−T−12=:trapT(t).y(t)=\begin{cases}0,& t>T+\tfrac12\\ T+\tfrac12-t,& T-\tfrac12<t\le T+\tfrac12\\ 1,& -T+\tfrac12<t\le T-\tfrac12\\ T+\tfrac12+t,& -T-\tfrac12<t\le -T+\tfrac12\\ 0,& t\le -T-\tfrac12\end{cases}=:\mathrm{trap}_T(t). This is an isosceles trapezoid of area 2T2T and height 11, centred at t=0t=0:

 1 |        ______________
   |       /|            |\
   |      / |            | \
   |_____/__|____________|__\_____ t
     -T-1/2 -T+1/2    T-1/2  T+1/2      (corners at -T-1/2, -T+1/2, T-1/2, T+1/2)

For T=12T=\tfrac12 it degenerates into a triangle: triang(t):=trap1/2(t)\mathrm{triang}(t):=\mathrm{trap}_{1/2}(t).

Worked examples: convolutional LTI systems

1) BIBO stability of h1(k)=kcos⁡ ⁣(π4k)1(k)h_1(k)=k\cos\!\left(\frac{\pi}{4}k\right)\mathbb{1}(k) and h2(t)=e−tcos⁡(2t)1(t)h_2(t)=e^{-t}\cos(2t)\mathbb{1}(t).

  • ∑n=−∞+∞∣h1(n)∣=∑n=0+∞n∣cos⁡ ⁣(π4n)∣=+∞\sum_{n=-\infty}^{+\infty}|h_1(n)|=\sum_{n=0}^{+\infty}n\left|\cos\!\left(\frac{\pi}{4}n\right)\right|=+\infty, so h1∉ℓ1h_1\notin\ell^1: not BIBO stable.
  • ∫∣h2(τ)∣dτ=∫0+∞e−τ∣cos⁡2τ∣dτ≤∫0+∞e−τdτ<+∞\int|h_2(\tau)|d\tau=\int_0^{+\infty}e^{-\tau}|\cos 2\tau|d\tau\le\int_0^{+\infty}e^{-\tau}d\tau<+\infty: BIBO stable.

2) Series of two discrete-time systems. u(k)→[h2]→y1(k)→[h1]→y2(k)u(k)\to[h_2]\to y_1(k)\to[h_1]\to y_2(k) with h1(k)=sin⁡(8k)h_1(k)=\sin(8k), h2(k)=λk1(k)h_2(k)=\lambda^k\mathbb{1}(k), ∣λ∣<1|\lambda|<1, u(k)=δ(k)−λδ(k−1)u(k)=\delta(k)-\lambda\delta(k-1). y1(k)=h2∗u(k)=λk1(k)−λk1(k−1)=λk[1(k)−1(k−1)]=λkδ(k)=δ(k),y_1(k)=h_2*u(k)=\lambda^k\mathbb{1}(k)-\lambda^k\mathbb{1}(k-1)=\lambda^k\big[\mathbb{1}(k)-\mathbb{1}(k-1)\big]=\lambda^k\delta(k)=\delta(k), y2(k)=h1∗δ(k)=h1(k)=sin⁡(8k).y_2(k)=h_1*\delta(k)=h_1(k)=\sin(8k).

3) h(t)=e−3t1(t)h(t)=e^{-3t}\mathbb{1}(t), u(t)=1(t−3)−1(t−5)u(t)=\mathbb{1}(t-3)-\mathbb{1}(t-5); compute y(t)=ddt[h∗u(t)]y(t)=\frac{d}{dt}[h*u(t)] (i.e. u→[h]→x→[d/dt]→yu\to[h]\to x\to[d/dt]\to 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−3sdsx(t)=\int e^{-3(t-\tau)}\mathbb{1}(t-\tau)\big[\mathbb{1}(\tau-3)-\mathbb{1}(\tau-5)\big]d\tau=\int_3^5e^{-3(t-\tau)}\mathbb{1}(t-\tau)d\tau\ \overset{s=t-\tau}{=}\ \int_{t-5}^{t-3}e^{-3s}\mathbb{1}(s)ds=\int_{\max(0,t-5)}^{\max(0,t-3)}e^{-3s}ds =−13(e−3max⁡(0,t−3)−e−3max⁡(0,t−5))={0,t<3−13(e−3(t−3)−1),3≤t<5−13(e−3(t−3)−e−3(t−5)),t≥5=-\tfrac13\Big(e^{-3\max(0,t-3)}-e^{-3\max(0,t-5)}\Big)=\begin{cases}0,&t<3\\ -\tfrac13\big(e^{-3(t-3)}-1\big),&3\le t<5\\ -\tfrac13\big(e^{-3(t-3)}-e^{-3(t-5)}\big),&t\ge5\end{cases} Differentiating: y(t)=x˙(t)=e−3(t−3)1(t−3)−e−3(t−5)1(t−5).y(t)=\dot x(t)=e^{-3(t-3)}\mathbb{1}(t-3)-e^{-3(t-5)}\mathbb{1}(t-5). Faster way: differentiate the input first, u˙(t)=δ(t−3)−δ(t−5)\dot u(t)=\delta(t-3)-\delta(t-5), and use y=ddt[h∗u]=h∗u˙y=\frac{d}{dt}[h*u]=h*\dot 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).y(t)=\int e^{-3(t-\tau)}\mathbb{1}(t-\tau)[\delta(\tau-3)-\delta(\tau-5)]d\tau=e^{-3(t-3)}\mathbb{1}(t-3)-e^{-3(t-5)}\mathbb{1}(t-5). (Convergence in distribution of δ(t)\delta(t) with respect to h(t)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∗uy=h*u; hh describes only this class (non-convolutional LTI systems such as y(t)=Alim⁡τ→−∞u(τ)y(t)=A\lim_{\tau\to-\infty}u(\tau) have h=0h=0; a non-linear system can even have the same hh as a linear one).
  • BIBO stability: Σ\Sigma BIBO stable   ⟺  h∈L1\iff h\in L^1 (discrete: h∈ℓ1h\in\ell^1). Proof: (⇐\Leftarrow) ∣y∣≤Mu∥h∥1|y|\le M_u\|h\|_1; (⇒\Rightarrow) take u(t)=∣h(t0−t)∣/h(t0−t)u(t)=|h(t_0-t)|/h(t_0-t) (bounded by 1), which gives y(t0)=∫∣h∣=+∞y(t_0)=\int|h|=+\infty if h∉L1h\notin L^1.
  • Static: h(t)=αδ(t)h(t)=\alpha\delta(t), α∈C\alpha\in\mathbb{C} (discrete: h(k)=αδ(k)h(k)=\alpha\delta(k)).
  • Causal: h(t)=0h(t)=0 for t<0t<0; anticausal: h(t)=0h(t)=0 for t>0t>0 (same in discrete time).
  • Series: h=h2∗h1h=h_2*h_1. Parallel: h=h1+h2h=h_1+h_2.
  • Step response: h−1(t)=∫−∞thh_{-1}(t)=\int_{-\infty}^{t}h, so h=dh−1dth=\frac{dh_{-1}}{dt} (generalized derivative); discrete h−1(k)=∑n≤kh(n)h_{-1}(k)=\sum_{n\le k}h(n), h(k)=h−1(k)−h−1(k−1)h(k)=h_{-1}(k)-h_{-1}(k-1).
  • rect(t)∗rect(t/2T)=trapT(t)\mathrm{rect}(t)*\mathrm{rect}(t/2T)=\mathrm{trap}_T(t) (isosceles trapezoid, area 2T2T, height 11, corners at ±T±12\pm T\pm\frac12); 1∗A rect(t/2T)=min⁡(max⁡(0,A(t+T)),2AT)\mathbb{1}*A\,\mathrm{rect}(t/2T)=\min(\max(0,A(t+T)),2AT).
  • Derivative of a convolution: ddt(h∗u)=h∗u˙\frac{d}{dt}(h*u)=h*\dot u (use it with u˙\dot u made of deltas).
  • Typical mistakes: using hh for a non-LTI system; forgetting that BIBO stability needs h∈L1h\in L^1 (e.g. kcos⁡(π4k)1(k)k\cos(\frac{\pi}{4}k)\mathbb{1}(k) is unstable); exchanging derivative and convolution when kinks are present.