Lite / Engineering Complex Systems / Week 22
Transforms: why engineers change the question
Filtering is a messy running sum in time but a simple multiplication in frequency. What other hard problems become easy when you transform them?
Why should I care?
Transforms let engineers swap a hard question for an easier one: convolution becomes multiplication, differential equations become algebra. You do not need to compute Laplace transforms yet, but knowing what they are for will make every control and signals course after this one make sense.
- Explain what the DFT and the Laplace transform do, conceptually.
- Describe filtering as multiplying a spectrum by a frequency response.
- Tell low-pass from high-pass filters by their response and their use.
Predict
A signal's spectrum is multiplied by a filter's frequency response that is 1 below 100 Hz and 0 above. What does the output contain?
- Only frequencies above 100 Hz
- Only frequencies below 100 Hz
- The same as the input
- Nothing
Guess first, then reveal
Multiplying the spectrum by that response keeps only the frequencies below 100 Hz: an ideal low-pass. Real filters have gentler edges, which is what the explorer's curves show.
Discover
Compare four filters: moving average and IIR, each as low-pass and high-pass. For each, read the gain at f/fs = 0, 0.05 and 0.45. Write a one-line description of what each would do to a slowly drifting, noisy sensor.
What the interactive shows (text version)
Reading the explorer: both low-pass filters have gain 1 at 0 and small gain near 0.45; both high-pass filters have gain 0 at 0 and close to 1 at high frequencies. On a drifting, noisy sensor the low-pass keeps the drift and removes the noise; the high-pass removes the drift and keeps the noise.
Watch (optional)
Watch for: Notice why computing the DFT quickly (the FFT) mattered so much: it made frequency-domain processing practical on real machines.
The story of the fast Fourier transform: why computing a spectrum quickly mattered enough to change science and engineering.
“The Most Underrated Algorithm” by Veritasium (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
Filtering = multiplying spectra
In time, a filter output is a weighted running sum of the input (a convolution). In frequency, the same operation is just Y(f) = H(f)·X(f): each component is scaled by the gain at its frequency and shifted by the phase. That is why a frequency response is the most useful single description of a filter.
Low-pass, high-pass, and the rest
Low-pass keeps slow changes (smoothing, anti-aliasing). High-pass keeps fast changes and removes offsets and drift (AC coupling, removing gyro bias). A band-pass keeps a range (radio tuning), and a notch removes one frequency (mains hum). High-pass can be built as 1 − low-pass.
The Laplace transform, conceptually
The Fourier transform describes a signal with steady sinusoids. The Laplace transform uses e^{st} with complex s = σ + jω: sinusoids that can also grow or decay. Differentiation becomes multiplication by s, so a circuit's differential equation becomes algebra, e.g. an RC low-pass has H(s) = 1/(1 + sRC). Where H(s) blows up (its poles) tells you whether a system is stable.
Explain it another way
Intuitive
A transform is like translating a problem into a language where it is easier to say. You solve it there, then translate back.
Technical
Convolution theorem: x * h ⟷ X·H. For discrete-time systems the z-transform plays the Laplace role; our IIR filter is H(z) = α/(1 − (1 − α)z⁻¹) with one pole at z = 1 − α.
Mathematical
Laplace: X(s) = ∫₀^∞ x(t)e^{−st} dt. Setting s = jω gives the Fourier transform (for signals where it converges). For dx/dt: L{dx/dt} = sX(s) − x(0).
Applied
Audio equalisers are banks of band-pass filters whose gains you set with sliders, a direct picture of Y(f) = H(f)·X(f). Control engineers read stability margins off H(jω) plots before ever building a controller.
Worked example 1
A sensor reading is 2.5 V of steady offset plus a 5 Hz vibration plus 200 Hz noise, sampled at 1 kHz. Which filter keeps just the vibration?
A band-pass around 5 Hz: a high-pass to remove the 2.5 V DC, followed by a low-pass that cuts 200 Hz. In frequency: H is about 0 at 0 Hz, about 1 at 5 Hz and about 0 at 200 Hz.
Common mix-ups
A transform changes the signal.
✓ It is the same signal described differently; you can always transform back.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write a half-page explainer for a younger learner: what a spectrum is, what a filter does to it, and one real device that uses each of low-pass, high-pass and notch filtering. Use one diagram.
Reflect
What is one problem from earlier this year that might have been easier in the frequency domain?
Write your answer on paper or in your own notes. Lite never stores what you write.