A low pass filter is an electronic circuit that allows low-frequency signals to pass through while attenuating (blocking) frequencies above a specific cutoff point. In a real circuit, it changes the amplitude and phase angle of AC components while leaving pure DC voltage completely untouched. If you have ever tried to read a sensor and seen wild, jittery numbers on your multimeter, or tried to turn a digital PWM signal into a smooth analog voltage, you have encountered the exact problems this circuit solves.
To visualize how it works, think of a water surge tank connected to a municipal pipe: steady, low-frequency water flow passes right through to the destination, but rapid, high-frequency pressure spikes (water hammer) are absorbed and smoothed out by the tank's air bladder. In electronics, the resistor acts as the pipe restriction, and the capacitor acts as the surge tank.
The "Brick Wall" Myth and Common Confusions
The most common mistake hobbyists and junior engineers make is assuming a low pass filter acts as a "brick wall." If your cutoff frequency is set to 1,000 Hz, a first-order passive RC filter does not completely block a 1,010 Hz signal. Instead, it introduces a gradual roll-off. At the exact cutoff frequency (the -3dB point), the signal's voltage amplitude is already reduced by roughly 29.3% (to 0.707 of its original value). Beyond that, a standard first-order filter attenuates the signal at a rate of -20dB per decade. If you need a steeper cliff, you have to cascade multiple stages or use an active op-amp topology.
Beginners frequently mix up low pass and high pass filters. A simple way to remember: in a passive RC low pass filter, the capacitor is in parallel with the load (shunting high frequencies to ground). In a high pass filter, the capacitor is in series with the signal path (blocking DC and low frequencies while letting high frequencies pass).
The Math: Calculating Cutoff Frequency with Real Components
For the most common implementation—the passive first-order RC (Resistor-Capacitor) filter—the cutoff frequency ($f_c$) is determined by a single, elegant formula:
$f_c = \frac{1}{2 \pi R C}$
Let us run a worked numeric example using standard bench components. Suppose you are building an audio preamp and need to filter out high-frequency RF interference above the audible spectrum. You select a 1.5 kΩ resistor and a 100 nF (0.1 µF) capacitor.
- R = 1,500 Ω
- C = 0.0000001 F
- Math: 1 / (2 × 3.14159 × 1500 × 0.0000001)
The resulting cutoff frequency is 1,061 Hz. Any signal at 10 kHz will be heavily attenuated, while your 440 Hz guitar signal will pass through with minimal amplitude loss (though it will experience a slight phase shift).
Where You Meet Low Pass Filters in Practice
You will find these circuits hiding in plain sight across almost every electrical discipline. According to foundational circuit theory outlined by Electronics Tutorials, passive filters are the backbone of signal conditioning. Here is where they matter most on the jobsite or bench:
- Audio Subwoofer Crossovers: Inductor-based (RL) low pass filters block mid-range and treble frequencies from reaching a subwoofer, ensuring the speaker only reproduces deep bass.
- PWM to Analog DAC Conversion: Microcontrollers like the Arduino or ESP32 lack true digital-to-analog converters (DACs) on every pin. A low pass filter smooths a high-frequency digital PWM square wave into a steady DC voltage.
- Mains EMI/RFI Filtering: The power inlet on your desktop PC or oscilloscope contains a multi-stage LC low pass filter. It allows 50/60 Hz mains power through while trapping high-frequency switching noise generated by the internal switched-mode power supply (SMPS), keeping it off the grid.
- Sensor Signal Conditioning: Thermocouples and strain gauges pick up 60 Hz mains hum and high-frequency radio noise. A low pass filter strips this noise away before the signal hits a sensitive ADC (Analog-to-Digital Converter).
Bench Walkthrough: Smoothing ESP32 PWM for a 0-10V Motor Drive
Theory is clean; the bench is messy. Let us look at a real-world scenario where a poorly designed low pass filter caused a hardware fault, and how to fix it.
The Setup: You are using an ESP32 to control an industrial Variable Frequency Drive (VFD) for a 3-phase motor. The VFD requires a 0-10V analog input to set the motor speed. Since the ESP32 outputs digital PWM, you design an RC low pass filter to smooth the 5 kHz (5,000 Hz) PWM signal into a clean DC voltage. You choose a 100 kΩ resistor and a 1 µF capacitor.
The Numbers:
Cutoff frequency: $f_c = 1 / (2 \pi \times 100,000 \times 0.000001) = 1.59$ Hz. This is fantastic for killing the 5 kHz PWM ripple; the output voltage is incredibly smooth.
The Outcome:
When you command the motor to ramp from 20% to 80% speed via code, the VFD throws an "Analog Input Loss" fault and shuts down the motor.
What Went Wrong:
The issue is not the cutoff frequency; it is the time constant ($\tau = R \times C$). With a 100k resistor and 1µF cap, your time constant is 100 milliseconds. A capacitor takes roughly $5\tau$ to charge to 99% of its target voltage. That means your filter takes 500 milliseconds to settle at the new voltage level. The VFD's internal watchdog detected that the analog reference voltage was changing too slowly and assumed the control wire was broken, tripping the fault.
The Fix:
- Increase the ESP32's PWM frequency from 5 kHz to 20 kHz in your code (using the LEDC setup functions).
- Swap the physical components to a 10 kΩ resistor and a 100 nF (0.1 µF) capacitor.
- Verify the new cutoff: $f_c = 1 / (2 \pi \times 10,000 \times 0.0000001) = 159.1$ Hz. This still easily blocks the 20 kHz carrier wave.
- Check the new time constant: $\tau = 10,000 \times 0.0000001 = 1$ ms. The settling time ($5\tau$) is now just 5 milliseconds. The VFD tracks the speed changes instantly without faulting.
Frequently Asked Questions
Does a low pass filter affect pure DC voltage?
No. By definition, DC is 0 Hz. A passive low pass filter will pass DC with zero attenuation (ignoring the negligible voltage drop caused by the resistor's interaction with the load's input impedance). It only alters AC signals.
What is the difference between a passive and an active low pass filter?
A passive filter uses only resistors, capacitors, and inductors. It requires no external power but always suffers from some signal attenuation (insertion loss) and is heavily affected by the load impedance connected to it. An active filter uses an op-amp (like the classic TL072 or NE5532) powered by a dual-rail supply. Active filters can provide gain (amplifying the signal while filtering) and isolate the filter math from the load impedance, as detailed in All About Circuits' filter guides.
Why does my filtered PWM signal still have a tiny bit of ripple?
A first-order RC filter only rolls off at -20dB/decade. If your PWM frequency is too close to your cutoff frequency, the "shoulder" of the filter will let some ripple through. You can fix this by either increasing the PWM frequency, lowering the cutoff frequency (watching your time constant!), or adding a second RC stage to create a second-order (-40dB/decade) filter.






