← Aayan Siddiqui

Active Butterworth Filter & Speech Filtering

February 2026 · ELECENG 3TR4 Communication Systems · With a lab partner

We designed and built a second-order op-amp Butterworth low-pass filter. We drove it with square waves from 100 Hz to 10 kHz and compared every measurement against a MATLAB model built from the square wave's Fourier series.

Keysight oscilloscope showing a 1.5 kHz square-wave input, the filtered output and its FFT
At 1.5 kHz the square-wave input (yellow) comes out close to a sine wave (green) because the higher harmonics are filtered off. The white trace is the output FFT.
1591.5 Hzdesign cutoff (R = 1 kΩ, C = 0.1 µF)
1.586design DC gain
1.613measured passband gain
0.21gain at 10 kHz

Design

Measurements

We tested 7 frequencies between 100 Hz and 10 kHz, capturing the time-domain waveforms and FFTs on the oscilloscope. At every frequency the measured output matched the shape MATLAB predicted.

Plot of measured gain in dB against frequency with the design cutoff marked
Measured gain against frequency, with the 1.59 kHz design cutoff dashed.

What didn't match

The gain hadn't dropped 3 dB at 1.6 kHz. It peaked at 1.744 around 800 Hz and was still 1.308 at 2 kHz, so the real −3 dB point landed above 2 kHz. My best guess is that rounding to the nearest available resistors and capacitors shifted both the cutoff and the Q. If I built it again, I'd sweep with sine waves near the cutoff to pin down the actual corner, and trim R to match.

Removing a tone from speech

The second part was a speech clip with a constant interfering tone. We tried low-pass (~1.2 kHz), band-pass (800–2500 Hz), high-pass (~2.4 kHz) and notch (700–1000 Hz) filters. The notch was the filter that removed the tone.