Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Smearing a signal
Clap once in a big hall and you hear the clap, then a fading echo. That echo pattern is the hall’s impulse response. Now play music in the hall: every note gets its own copy of that echo, and all the copies overlap and add up. That overlapping-and-adding is convolution. Blurring a photo, smoothing sensor data, and the way a motor responds to commands are all convolutions.
Digital filters, image blur and deblur, radar and sonar receivers, GNSS signal acquisition, and the convolutional layers of every perception network all compute convolutions. Knowing its properties tells you how filters combine, how widths add, and how to compute it a thousand times faster with the FFT.
- 1. An echo pattern in a hall is like…
- 2. Blurring a photo is an example of…
- 3. Convolving with a single sharp spike (δ)…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Definitions
Recipe: flip h, slide it by t, multiply with x, integrate (or sum).
Algebra
- Commutative: .
- Associative: , so cascaded filters combine into one.
- Distributive: , so parallel filters add.
- Identity , and .
Sizes
Discrete lengths: . Areas multiply: .
- 1. [1, 2, 3] * [1, 1] =
- 2. Convolving lengths 100 and 31 gives length…
- 3. Two filters in series are equivalent to one filter with impulse response…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Shapes under convolution
- Box * box = triangle, with width equal to the sum of the widths.
- Gaussian * Gaussian = Gaussian, with variances adding: . In probability, this is the density of a sum of independent variables.
- Repeated convolution of any finite-variance kernel tends to a Gaussian (the CLT again).
Correlation and matched filtering
Cross-correlation is convolution with a flipped (and conjugated) . Correlating received data with a known template peaks where the template occurs. The matched filter maximizes output SNR in white noise.
Convolution theorem
Long convolutions are computed as FFT, multiply, inverse FFT in instead of . Zero-pad to avoid circular wrap-around (a8-12).
- 1. Gaussians with σ = 3 and σ = 4 convolve to σ =
- 2. The matched filter for signal s is…
- 3. The FFT speeds up convolution because…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Commutativity
Substitute : . ∎
Variances add
If , the density of is , and . For Gaussians, the Fourier transform of a Gaussian is a Gaussian, and the product of two Gaussians in frequency is Gaussian. ∎
Matched filter is optimal
The output SNR at the peak is by Cauchy–Schwarz, with equality iff . ∎
Exercise 3.1: (1, 2) * (3, 4)
.
- 1. The matched filter's optimality is proved by…
- 2. (1, 2) * (3, 4) =
- 3. The density of a sum of independent variables is…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Pulse compression radar
Radars want long pulses (energy, range) and fine resolution (short pulses). A linear-FM chirp of duration T and bandwidth B does both. Correlating the echo with the transmitted chirp (the matched filter) compresses it to width ~1/B. The range resolution is m for B = 5 MHz, and the compression ratio is BT = 100. In the exercise two targets 150 m apart are buried in noise at −3.5 dB per-sample SNR, invisible in the raw data. After matched filtering both stand out at the correct delays, about 24 dB above the noise floor. GNSS receivers use the same trick to acquire satellites far below the noise.
Convolution in AI, robotics and aerospace
- Radar and sonar: pulse compression, synthetic aperture radar (SAR) imaging, and spaceborne altimetry.
- Navigation: GNSS code correlation; template matching for terrain-relative navigation (Mars 2020 LVS).
- Vision: CNNs learn convolution kernels; classical edge detection (Sobel) and Gaussian blur.
- Estimation: the density of sums, i.e. error budgets, combines by convolution, so independent error variances add.
References
- A. Oppenheim, A. Willsky, S. H. Nawab (1997). Signals and Systems, 2nd ed. Prentice Hall. Ch. 2.
- M. Richards (2014). Fundamentals of Radar Signal Processing, 2nd ed. McGraw-Hill. Ch. 4, 8.
- G. Turin (1960). “An introduction to matched filters.” IRE Trans. Information Theory, 6(3).
- C. Cook, M. Bernfeld (1967). Radar Signals: An Introduction to Theory and Application. Academic Press.
- E. Kaplan, C. Hegarty (2017). Understanding GPS/GNSS: Principles and Applications, 3rd ed. Artech House.
- A. Johnson et al. (2017). “The Lander Vision System for Mars 2020 entry descent and landing.” AAS 17-038, AAS Guidance, Navigation and Control Conference.