The component values depicted provide a flat response with a cutoff frequency around 2300 Hz, a –12-dB/octave roll-off, and drive capability of about 3 mA. You can easily change the cutoff frequency by adjusting R1 and R2 or C1 and C2, although it is important to keep R1 equal to R2 and C2 at about half the value of C1.
Doubling the resistor or capacitor values will cut the frequency in half. Halving either set of values will double the cutoff frequency. You can adjust R3 to provide more output current or to reduce power consumption. The 5-V rails depicted do not have to be precise and can be a higher voltage. Only the PWM input signal needs to be precisely 5 V.
Because it uses only six components, this circuit can be very cost effective. The LM431 can be purchased for as low as 10 cents in single-unit quantities, well below that of any op amp.
Editor’s Note: See Texas Instruments Application Report SLOA024B, “Analysis of the Sallen-Key Architecture,” for additional information on Sallen-Key filters.