C97 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C9 · Lesson 7 · The convolution integral

Flip, slide, multiply and integrate

Continuous-time LTI systems work the same way as discrete ones, with an integral in place of the sum. A circuit's impulse response h(t) is what it does after a very short, very tall kick; any input is a dense row of such kicks, and the output adds up the circuit's response to each. Doing the integral by hand comes down to one skill: sketching the flipped, shifted impulse response against the input and seeing, region by region, where they overlap. Once that's automatic, outputs like a pulse through an RC filter can be written down in a few lines.

  • The input x(τ) is a pulse lasting one second. The impulse response is h(τ)=e−τu(τ), an RC low-pass with RC = 1 s; the curve labeled h(t − τ) is it flipped and slid to t.
  • The shaded area is the product x(τ)h(t − τ), and its area is the output y(t). Slide t: no overlap before 0, a growing overlap until t = 1, then a shrinking, decaying one.
  • The dashed curve is the whole output, and the dot is y(t) now: a charge toward 1 for the pulse's second, then a decay.

Predict

A rectangular pulse of height 1 and width 1 is convolved with itself. What is the result?

Name it

The integral

y(t)=∫−∞∞x(τ)h(t−τ)dτ=(x*h)(t)

To evaluate it: sketch x(τ) and h(t−τ) (h flipped, with its origin moved to τ = t), then split t into regions by where the edges of the two signals meet. In each region, the integral's limits are where both are nonzero.

Properties

The same as the discrete sum: commutative, associative, distributive; x*δ=x and x*δ(t−t0)=x(t−t0); durations add; areas multiply, ∫y=∫x∫h. Also, differentiating either signal differentiates the result.

Circuits

An RC low-pass has h(t)=1τe−t/τu(t) with τ = RC. Its step response is ∫0th=1−e−t/τ, and a pulse of width T gives

y(t)={1−e−t/τ0≤t≤T(1−e−T/τ)e−(t−T)/τt>T

the charge-then-discharge that every square wave through a filter shows.

Worked example

Find u(t)*e−2tu(t).

Show the solution
  1. Before t = 0. For t < 0 there's no overlap, so the output is 0.
  2. After t = 0. For t ≥ 0: y(t)=∫0te−2(t−τ)dτ=e−2t⋅e2t−12=1−e−2t2
  3. Where it heads. It rises to 1/2, the area of e−2tu(t). At t = 2 it's 0.491.

Answer the output is (1−e−2t)/2 for t ≥ 0 and 0 before, rising to 1/2 (0.491 at t = 2).

Worked example

Find the self-convolution of the pulse that is 1 from 0 to 1, at t = 0.5, 1 and 1.5.

Show the solution
  1. Overlap length. The overlap of [0, 1] with [t − 1, t] has length t for 0 ≤ t ≤ 1 and 2 − t for 1 ≤ t ≤ 2.
  2. Evaluate. y(0.5)=0.5y(1)=1y(1.5)=0.5

Answer y(0.5) = 0.5, y(1) = 1 and y(1.5) = 0.5: the self-convolution is the triangle.

Worked example

Find e−tu(t)*e−2tu(t) and where it peaks.

Show the solution
  1. Convolve. For t ≥ 0: y(t)=∫0te−τe−2(t−τ)dτ=e−2t(et−1)=e−t−e−2t At t = 1 it's 0.2325.
  2. Find the peak. Its derivative is zero where e−t=1/2: −e−t+2e−2t=0 which is t = ln 2 = 0.693.
  3. Peak value. y(ln⁡2)=1/2−1/4=0.25
  4. The shape. Two first-order lags in a row give a rise and fall, never a jump.

Answer e−t−e−2t for t ≥ 0, which peaks at 0.25 at t = ln 2 = 0.693.

Check

A signal lasting 3 s is convolved with an impulse response lasting 2 s. How long does the output last?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

A pulse of height 1 and width 0.5 s is convolved with a pulse of height 0.5 and width 5 s.

(a)

What is the output's largest value?

(b)

What is the output's total area?

Check

An RC low-pass with τ = 2 s has h(t)=1τe−t/τu(t). What is its response to u(t) at t = 1 s?

Check

A pulse of height 1 and width 1 s goes into an RC low-pass with τ = 1 s.

(a)

What is the output when the pulse ends, at t = 1 s?

(b)

What is it 2 s later?

Check

A signal of area 0.5 goes into a system whose impulse response has area 1. What is the output's area?

Check

What is u(t)*e−2tu(t) at t = 0.5?

Check

x(τ) is nonzero from 0 to 2 and h(t − τ) is nonzero from t − 3 to t. For which t is the overlap from τ = 0 to τ = t?

Check

A pulse of height 1 and width 2 is convolved with itself.

(a)

What is the peak of the result?

(b)

What is it at t = 2 + 0.25·2?

Check

Find u(t)*e−atu(t) with a = 2.

(a)

What is it at t = 0.2?

(b)

Where does it settle?

Explain why

Why does convolution need h flipped, h(t − τ), instead of just shifted?

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.