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

A8 · Lesson 33 · Steps, impulses and convolution

Switched inputs, sudden kicks, and the response to anything

Circuits are switched: a source turns on at one moment and off at another, a digital line goes high for 1 ms, a lightning strike delivers its charge in a microsecond. The Laplace transform handles these with two tools. A delayed step turns an input on at any time, and its transform just picks up a factor e−as. An impulse is a kick so short that only its area matters, and the response to it, the impulse response, determines the response to every other input through convolution.

  • A first-order system with time constant τ is driven by a 1 V pulse lasting T.
  • While the pulse is on, the output rises as 1−e−t/τ; when it ends, the output decays from wherever it reached.
  • Make the pulse much shorter than τ. The output barely rises, and its peak becomes proportional to the pulse's area: the system only sees how much was delivered.

Predict

A pulse of 10 V lasting 1 µs drives an RC circuit with τ = 1 ms. About how high does the output get?

Name it

Delayed steps

The unit step u(t−a) is 0 before t=a and 1 after. A pulse from 0 to T is u(t)−u(t−T). The shift theorem:

ℒ{f(t−a)u(t−a)}=e−asF(s)

So a pulse's transform is 1−e−Tss, and a linear system's response to it is the step response minus the same step response delayed by T.

The impulse

The impulse δ(t) is the limit of a pulse of area 1 whose width goes to zero. Its transform is 1. Applied to a system, it changes a state instantly: a current impulse of area Q into a capacitor adds charge Q and jumps the voltage by Q/C. The impulse response h(t) has transform H(s), the transfer function: for ay¨+by˙+cy=x, H(s)=1as2+bs+c.

Convolution

For any input x(t) starting at 0, from rest:

y(t)=∫0th(τ)x(t−τ)dτ,Y(s)=H(s)X(s)

The output is a weighted sum of past inputs, each weighted by how much of a kick from that long ago still remains. Multiplication of transforms corresponds to convolution in time.

Worked example

A 5 V pulse lasting 1 ms drives an RC circuit with τ = 1 ms. Find the peak output and the output at 2 ms.

Show the solution
  1. During the pulse. The output charges as v=5(1−e−t/τ), reaching v(1ms)=5(1−e−1)=3.16V
  2. After the pulse. Then the input is zero and the output decays from there: v=3.16e−(t−1ms)/τ
  3. At 2 ms. v(2ms)=3.16e−1=1.16V
  4. Another route. The same result comes from the shift theorem: the step response minus the step response delayed by 1 ms.

Answer the output peaks at 3.16 V at 1 ms and is down to 1.16 V at 2 ms.

Worked example

A charge of 1 µC is dumped into a 1 µF capacitor in parallel with 1 kΩ, starting from 0 V. Describe the voltage.

Show the solution
  1. The jump. The current is an impulse of area Q=1 µC, so the voltage jumps to Q/C=1 V at t=0+.
  2. The decay. It then decays through the resistor: v=e−t/1msV
  3. Impulse response. The impulse response of this circuit (volts per coulomb) is h=1Ce−t/RC
  4. How fast the charge arrives. Whether the charge arrives in 1 ns or 1 µs makes no visible difference, as long as it's far shorter than the 1 ms time constant.

Answer the voltage jumps to 1 V and then decays as e−t/1ms V.

Worked example

Find the response of y˙+y=x to a unit pulse from 0 to 1 by convolution, at t=2.

Show the solution
  1. Impulse response. The impulse response is h=e−t.
  2. Convolve over the pulse. For t>1, the pulse contributes only for τ between t−1 and t: y(t)=∫t−1te−τdτ=e−(t−1)−e−t=(e−1)e−t
  3. At t=2. y(2)=(e−1)e−2=0.233
  4. Check by step difference. The step-difference method gives the same: (1−e−2)−(1−e−1)=e−1−e−2

Answer y(2)=(e−1)e−2=0.233.

Check

A 10 V pulse lasting 1 ms drives a first-order system with τ = 1 ms. What is the peak output?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A current impulse delivers 1 µC to a 0.1 µF capacitor. By how much does its voltage jump?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

What is the transform of u(t−2), a step delayed by 2, at s = 2?

Check

y˙+y=x starts at rest, and x is a unit pulse from 0 to 1. What is y at t = 2?

Check

A system obeys y¨+(1+3)y˙+1⋅3y=x.

(a)

What is H(0), its gain for a constant input?

(b)

What is its impulse response at t=1?

Check

A first-order system with time constant τ gets a unit pulse of width T. Find the output after the pulse.

Step 1

What is the output when the pulse ends?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

On a grid with Δt = 0.001 ms out to 4 ms, convolve the RC impulse response h=1τe−t/τ (τ = 1 ms) with a 5 V pulse lasting 1 ms. Set v2 to the output at 2 ms.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why does the impulse response alone determine a linear system's response to every input?

Practice

Keep practicing

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