Filter Designer Pro
Pick a response, an order and a cutoff. You get the Bode, group-delay and step plots, and a parts list for each op-amp stage, rounded to E96 and E24 with the error that rounding costs. A digital FIR tab covers windowed and Parks-McClellan designs.
1 · Domain
Digital IIR (Butterworth, Chebyshev, elliptic biquads, CMSIS-DSP export) lives in the IIR Biquad Designer.
2 · Response
Butterworth and Bessel edges are −3 dB points. Chebyshev edges are where the response leaves the ripple band.
3 · Circuit
Band-pass response uses MFB band-pass stages. Band-stop lists each notch section's f0 and Q.
4 · Order helper
Smallest order meeting a spec for the chosen approximation (low-pass: pass edge below stop edge; high-pass: the reverse).
5 · Plot range
2 · FIR design
Result
Magnitude
Phase
Group delay
Step response
Stages and component values
Poles and zeros
In rad/s, left half-plane. Zeros on the imaginary axis for band-stop.
From a pole list to resistor values
An analog filter is a set of poles (and zeros) in the s-plane. A prototype low-pass at 1 rad/s gives the shape. Frequency transforms then move it to the cutoff you asked for, or turn it into a high-pass, band-pass or band-stop. Every plot is evaluated from the poles directly, so the magnitude, phase and group delay are exact rather than numerically differentiated.
The three approximations
- Butterworth: poles evenly spaced on a unit semicircle. Flat passband, −3 dB at the cutoff, 20n dB/decade roll-off, about 4 % step overshoot at 2nd order and 11 % at 4th.
- Chebyshev I: poles on an ellipse set by the ripple. Steeper roll-off for the same order, with ripple in the passband. The peak is 0 dB, so an even-order filter has −ripple at DC. The cutoff is the last point inside the ripple band, not the −3 dB point.
- Bessel: maximally flat group delay. Poles are the roots of the reverse Bessel polynomial, scaled so the −3 dB point is at the cutoff. Almost no overshoot, and a slow roll-off. Low-pass and high-pass only.
Stages
Poles are grouped into conjugate pairs. Each pair is a second-order section with its own natural frequency and Q, and each real pole is a first-order RC. The tool lists stages lowest-Q first, which keeps the high-Q stage from clipping early. The circuits below use an ideal op-amp. Pin names match the component table.
E96 and E24 columns round each part to the nearest standard value by ratio. The tool then recomputes f0 and Q from the rounded parts, so you see what the rounding costs. Tolerances of the parts are on top of that. At Q above about 3, use 1 % parts and expect to trim.
FIR designs
A windowed-sinc design multiplies the ideal impulse response by a window. The cutoff lands at −6 dB, and the transition width is about 3.3/N of the sample rate for Hamming. Parks-McClellan places the error evenly instead: you give a transition width and a stopband weight, and the Remez exchange finds the taps with the smallest worst-case ripple. The same tap count then gives deeper stopband attenuation.
Assumptions and limits
- Ideal op-amps: gain-bandwidth should be at least 50–100 times f0 × Q, and the output should drive the following stage without loading. Real stages with Q above 2 or f0 above a few hundred kHz need a bandwidth check.
- Sallen-Key stages here have unity gain. A gain greater than 1 changes the Q equations.
- Band-pass and band-stop use the prototype's pole transform. Chebyshev edges are the ripple edges.
- The step window is chosen automatically from the slowest pole. Very narrow band-pass filters ring for a long time and are sampled coarsely.
- Parks-McClellan here is type I (odd taps, no zero at DC or Nyquist). Ripple below about 10⁻¹² (−240 dB) is beyond double precision and will not converge.
- Engineering estimate. Tolerance, temperature and op-amp limits are not modelled.
References
- A. B. Williams, F. J. Taylor, Electronic Filter Design Handbook, 4th ed., McGraw-Hill, 2006: normalized pole tables for Butterworth, Chebyshev and Bessel filters, step overshoot figures.
- J. Karki, Active Low-Pass Filter Design, Texas Instruments application report SLOA049B, and Analysis of the Sallen-Key Architecture, SLOA024B.
- Analog Devices, tutorial MT-206 and the other filter tutorials in the MT-2xx series: normalized filter tables and stage design.
- A. I. Zverev, Handbook of Filter Synthesis, Wiley, 1967: band-pass and band-stop prototypes.
- W. E. Thomson, "Delay networks having maximally flat frequency characteristics," Proc. IEE 96(44), 1949: Bessel filters.
- J. H. McClellan, T. W. Parks, L. R. Rabiner, "A computer program for designing optimum FIR linear phase digital filters," IEEE Trans. Audio Electroacoustics 21(6), 1973. The tool's exchange code was written from this description.
- A. V. Oppenheim, R. W. Schafer, Discrete-Time Signal Processing, 3rd ed., Pearson, 2010: windowed FIR design, Kaiser window.
- SciPy,
scipy.signal:butter,cheby1,bessel,firwin,remez,buttord(BSD-3-Clause). The tool's tests compare against scipy 1.18; no scipy code is used at run time.
Filter on paper, noise on the bench?
Kyros designs complete analog front ends: sensor interface, anti-alias filtering, converter and the firmware behind it, with the layout and tolerance work that makes the numbers hold in production.
