First and second-order low-pass and high-pass with Bode plot
A filter passes some frequencies and attenuates others. The simplest is a resistor and a capacitor: in a low-pass the signal is taken across the capacitor and high frequencies are shorted to ground; in a high-pass the signal goes through the capacitor, which blocks DC. With an operational amplifier, second-order active filters are built that roll off twice as fast and do not load the signal.
At the cut-off frequency the output is 70.7 % of the input (−3 dB) with 45° of phase shift. Each decade beyond, it falls 20 dB, so the amplitude is divided by 10. It is what is placed before an ADC input or an interrupt pin to remove noise; if the signal goes to another circuit, its impedance must be much higher than R so as not to alter the filter.
With two resistors, two capacitors and an op-amp as a follower you get a second-order filter that falls 40 dB per decade. The quality factor Q sets the shape of the response near cut-off:
| Response | Q | Characteristic |
|---|---|---|
| Butterworth | 0,707 | Flattest in the passband: the usual choice |
| Bessel | 0,577 | Best step response, no overshoot; softer cut-off |
| Chebyshev | > 0,707 | Sharper cut-off at the cost of passband ripple |
Related: operational amplifier, ADC and DAC, PWM and RLC circuit.