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 . 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 .
- While the pulse is on, the output rises as ; 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?
About 10 mV: V. A pulse a thousand times shorter than acts like an impulse of area V·s, and the response jumps to the area divided by , then decays.
Name it
Delayed steps
The unit step is 0 before and 1 after. A pulse from 0 to is . The shift theorem:
So a pulse's transform is , and a linear system's response to it is the step response minus the same step response delayed by .
The impulse
The impulse 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 into a capacitor adds charge and jumps the voltage by . The impulse response has transform , the transfer function: for , .
Convolution
For any input starting at 0, from rest:
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
- During the pulse. The output charges as , reaching
- After the pulse. Then the input is zero and the output decays from there:
- At 2 ms.
- 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
- The jump. The current is an impulse of area µC, so the voltage jumps to V at .
- The decay. It then decays through the resistor:
- Impulse response. The impulse response of this circuit (volts per coulomb) is
- 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 V.
Worked example
Find the response of to a unit pulse from 0 to 1 by convolution, at .
Show the solution
- Impulse response. The impulse response is .
- Convolve over the pulse. For , the pulse contributes only for between and :
- At .
- Check by step difference. The step-difference method gives the same:
Answer .
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 , a step delayed by 2, at = 2?
Check
starts at rest, and is a unit pulse from 0 to 1. What is at = 2?
Check
A system obeys .
(a)
What is , its gain for a constant input?
(b)
What is its impulse response at ?
Check
A first-order system with time constant gets a unit pulse of width . 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°.
Step 2
What is it at a later time ?
Check
On a grid with = 0.001 ms out to 4 ms, convolve the RC impulse response ( = 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?
Any input can be thought of as a rapid sequence of tiny impulses: over a short interval at time , the input delivers an impulse of area . Because the system is linear, each of those produces its own copy of the impulse response, scaled by its area, and because the system doesn't change with time, the copy starting at is just shifted to start there. Adding all the copies gives , the convolution. So knowing how the system rings after one kick is enough to predict what it does with any input at all.
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.