Signal Noise Filtering: Low-Pass & High-Pass Visualizer

simulator intermediate ~10 min
Loading simulation...
+12 dB SNR improvement — noise effectively suppressed

A 2nd-order low-pass filter at 10 Hz cutoff improves the signal-to-noise ratio by approximately 12 dB, cleanly recovering the 5 Hz signal from broadband noise.

Formula

H(f) = 1 / (1 + (f/fc)^(2n)) for Butterworth low-pass of order n
SNR = 10 · log₁₀(P_signal / P_noise) dB
Roll-off = 20n dB/decade for nth-order filter

Cleaning Signals from Noise

In the real world, every signal arrives contaminated with noise — thermal noise in electronics, interference from other sources, or quantization errors in digital systems. Filtering is the most fundamental tool for extracting useful information from this noisy mess. The key insight: if the signal and noise occupy different frequency ranges, a well-designed filter can separate them.

Low-Pass vs High-Pass

A low-pass filter is like a bouncer that only lets slow oscillations through — perfect for removing high-frequency hiss from audio or smoothing sensor readings. A high-pass filter does the reverse, blocking slow variations while passing rapid changes — essential for removing DC drift from ECG signals or detecting edges in images.

The Art of Choosing Cutoff

Setting the cutoff frequency is a balancing act. Too high, and noise leaks through. Too low, and you distort the signal itself. The filter order controls how sharply the transition occurs — a first-order filter has a gentle slope, while an eighth-order filter creates an almost brick-wall cutoff, but at the cost of phase distortion and potential ringing.

From Analog to Digital

Butterworth, Chebyshev, and Bessel filters were originally designed as analog circuits using resistors, capacitors, and inductors. Today, digital filters implement the same mathematics in software, running on everything from smartphone chips to satellite processors. The principles remain identical — only the implementation has changed.

FAQ

What is the difference between low-pass and high-pass filters?

A low-pass filter allows frequencies below the cutoff to pass through while attenuating higher frequencies — removing high-frequency noise. A high-pass filter does the opposite, passing high frequencies and blocking low ones — useful for removing DC offset or slow drift.

What does filter order mean?

Filter order determines how steeply the filter attenuates frequencies beyond the cutoff. A first-order filter rolls off at 20 dB/decade, a second-order at 40 dB/decade, and so on. Higher orders give sharper transitions but can introduce phase distortion and ringing.

What is the -3 dB point?

The -3 dB point is the frequency at which the filter attenuates the signal power by half. It is the conventional definition of the cutoff frequency and represents the boundary between the passband and the stopband.

How is SNR measured?

Signal-to-Noise Ratio (SNR) is measured in decibels: SNR = 10 · log₁₀(P_signal / P_noise). A higher SNR means the signal is cleaner. Typical improvements from filtering range from 6 to 20 dB depending on noise characteristics.

Sources

Embed

<iframe src="https://homo-deus.com/lab/signal-processing/noise-filtering/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub