The Sallen-Key filter is a second-order active low-pass filter made of two resistors, two capacitors and an op-amp follower. The Sallen-Key calculator gives the natural frequency, the quality factor Q, the −3 dB cutoff, the peaking and the overshoot of the step response.
How the calculation works
- Enter the two resistors R1 and R2 of the filter: R1 is on the input side, R2 connects to the non-inverting input of the op-amp.
- Enter the two capacitors: C1 goes from the node between the resistors to the output (the feedback capacitor), and C2 goes from the non-inverting input to ground.
- The op-amp is a unity-gain follower, the basic low-pass Sallen-Key filter of second order.
- Read the natural frequency f0 = 1 / (2π √(R1 R2 C1 C2)), the quality factor Q, the −3 dB frequency, the peaking and the overshoot to a step.
Example
A unity-gain Sallen-Key low-pass filter has R1 = R2 = 10 kΩ, C1 = 22 nF and C2 = 10 nF. The time constant √(R1 R2 C1 C2) is 148.3 µs, so the natural frequency is 1 / (2π × 148.3 µs) = 1,073.0 Hz. The quality factor is Q = √(R1 R2 C1 C2) / (C2 (R1 + R2)) = 0.742, close to the Butterworth value of 0.707. The −3 dB frequency is 1,122.9 Hz, the peak at resonance only 0.04 dB and the overshoot to a step 5.7%.
Why it matters
The calculator helps electronics students, audio designers and engineers to check a filter before building it, to choose the capacitor ratio for a Butterworth or Bessel response, and to find the real cutoff of an anti-aliasing or noise filter. It saves the algebra of the transfer function.
Good to know
Choose the capacitors first, from standard values, then compute the resistors, and check that the resistors are in the range of 1 kΩ to 100 kΩ. Use an op-amp with a high enough gain-bandwidth product and a low output impedance. For an accurate filter, use 1% resistors and C0G capacitors, and measure the real values of the parts.
Related tools
The RC filter calculator covers the first-order filter, the op-amp gain calculator sets the gain of the amplifier stage, the LC resonance calculator gives the passive resonant filter, and the noise figure calculator shows how the noise of a stage counts.