MCE 464 · Tutorial 7 · Lectures 16–17

Convolution as Superposition

Any load is a train of tiny impacts. The response is the sum of the ringing each one leaves behind. Slide the evaluation time and see the flipped kernel sweep across the input.

1. Two readings of one integral

For a system at rest, the response to an arbitrary load \(f(t)\) is the Duhamel integral

$$ x(t)=\int_0^t f(\tau)\,h(t-\tau)\,\mathrm d\tau,\qquad h(t)=\frac{e^{-\zeta\omega_n t}\sin\omega_d t}{m\,\omega_d} $$

Causality is the cut at \(\tau=t\): the future cannot affect the present, so the flipped kernel is zero to its right.

1. Load \(f(\tau)\) (blue) and flipped kernel \(h(t-\tau)\) (orange)
Dots on stems: the load sampled on the grid \(\tau_k=k\,\Delta t\). Orange dots: the kernel samples \(h_{n-k}\) used at the grid time \(t_n\) nearest below \(t\). The kernel is zero for \(\tau>t\) (causality).
2. Product \(f(\tau)\,h(t-\tau)\): its area is \(x(t)\)
Dark green area = response at the chosen time (signed: negative parts subtract).
3. Response \(x(t)\)
reference: direct integration of \(\ddot x+2\zeta\dot x+x=f\) (RK4, fine step)   discrete convolution \(x_n=\Delta t\sum_{k=0}^{n}f_k\,h_{n-k}\) at \(t_n=n\,\Delta t\)   same with \(\Delta t/2\)
Read-out
What to notice
  1. Drag \(t\) slowly. The orange kernel is a mirror image of the free decay, and it tows its own memory behind the evaluation time.
  2. With \(\zeta\) small the kernel is long, so old loads still count. Raise \(\zeta\) and the area shrinks to the last few cycles.
  3. Choose two short impacts (0.2 wide, height 5, area 1). The discrete sum only sees the load at the grid points. At \(\Delta t=2\) no grid point falls inside an impact, so the sum sees no load at all. At \(\Delta t=1\), 0.5 or 0.25 one sample lands on each impact and is counted as \(5\,\Delta t\) instead of 1. Only when \(\Delta t\) resolves the 0.2-wide impact (\(\Delta t=0.1\): two samples each) does the sum converge. This is the time-step error of Lecture 17: the grid must resolve the shortest feature of the load, and halving \(\Delta t\) must not change the answer.
  4. Choose step: the response settles to the static value \(1/k\) (here 1) with overshoot set by \(\zeta\). The step response is the running integral of \(h\).

2. Check yourself

Why does the upper limit of the integral stop at \(t\) and not at infinity?

\(h(t-\tau)=0\) for \(\tau>t\): a response cannot begin before its cause. Picture the orange curve: it is cut off to the right of the marker.

The input is a unit step. Show that \(x(t)\) is the area under \(h\) from \(0\) to \(t\).

With \(f=1\) the product is just \(h(t-\tau)\), and the substitution \(s=t-\tau\) turns the integral into $$ x(t)=\int_0^t h(s)\,\mathrm ds. $$ The full area, \(t\to\infty\), is \(1/(m\omega_n^2)=1/k\): the static deflection.

What limits the accuracy of the discrete sum, and what is the rule of thumb?

The time step must resolve both the load and the kernel's oscillation. Use \(\Delta t\) well below the damped period \(2\pi/\omega_d\) (about a tenth of it or smaller) and below the shortest feature of \(f\). Check it the standard way: halve \(\Delta t\) and confirm the response does not change, and compare with a direct ODE integration.