Filters
Learning Targets
- Situation: Slow signal preservation with rejection of a faster disturbance.
- Targets: Passband/stopband specifications, order, loading and transient behavior.
- Inputs: Earlier RC response and precision error budget.
Response Requirements
| Keyword | Meaning |
|---|---|
| Lowpass / highpass | Retention below / above a transition region |
| Bandpass / notch | Selected band retention / rejection |
| Passband | Allowed gain variation in the wanted band |
| Stopband | Required rejection beyond specified frequencies |
| Group delay | ; phase in radians |
| Order | Denominator degree; all-pole asymptotic slope of 20n dB/decade |
- First-order lowpass: .
- Requirement example: At least 20 dB rejection at 10 kHz → cutoff no higher than 1005 Hz.
- Tradeoff: 1 kHz cutoff at 500 Hz → magnitude 0.8944, phase −26.57°.
Filter Families and Circuits
- Butterworth: Maximally flat passband magnitude; .
- Bessel: Emphasis on smooth group delay and step response.
- Chebyshev: Allowed ripple in exchange for a sharper transition.
- Second-order denominator: ; , positive Q.
- Passive cascade: Stage loading included; no automatic multiplication of unloaded responses.
- Sallen–Key example: Equal R/C lowpass with the standard capacitor feedback arrangement; , .
- Butterworth choice: K ≈ 1.586 → Q ≈ 0.707; absolute DC gain K, normalized gain used for shape comparison.
- Twin-T notch: Matched R, R, R/2 and C, C, 2C relationships; mismatch-limited notch depth.
- State-variable filter: Summing stage and integrators; separate frequency/damping controls.
- Allpass: Phase alteration with ideally constant magnitude.
Sampling and Transients
- Switched capacitor: for signals slow relative to switching.
- Example: 1 nF at 100 kHz → 10 kΩ; charge injection and clock feedthrough excluded.
- Moving average: .
- At 40 kS/s: Ideal 10 kHz sampled cosine cancellation; 1.5-sample or 37.5 µs linear-phase delay.
- Anti-alias distinction: Analog filtering before conversion; digital averaging unable to undo existing aliases.
- Second-order step: Q = → about 4.32% overshoot; first-order RC → no overshoot.
- Practical limits: Op-amp bandwidth, slew, headroom, component tolerances and output loading.
Practice
- Preparation: Unity-DC-gain first-order and second-order Butterworth models; both −3 dB at 1 kHz.
- Prediction: Magnitudes at cutoff and ten times cutoff.
- Execution: AC sweep 10 Hz–100 kHz; 100 points/decade; separate 0–0.1 V step over 5 ms with maximum step 1 µs.
- Observation: Phase, normalized gain, overshoot and settling.
| Model | Gain at 1 kHz | Gain at 10 kHz | Simulated result / overshoot |
|---|---|---|---|
| First order | 0.7071 | 0.09950 | — |
| Butterworth order 2 | 0.7071 | 0.01000 | — |
- Optional extension: Passive cascade versus buffered cascade.
- Carry forward: Loop phase and transient response for oscillators.
Exercises
- Order: Far-stopband slope for an all-pole third-order lowpass.
- Magnitude: Second-order Butterworth gain at its cutoff.
- Q: Equal-component Sallen–Key Q at K = 1.
- Switched capacitor: Equivalent resistance for 2 nF at 100 kHz.
- Sampling: Four-point average of 1, 0, −1, 0.
Answers and reasoning
- Answer: −60 dB/decade with increasing frequency.
- Answer: .
- Answer: 0.5.
- Answer: 5 kΩ.
- Answer: Zero; one ideal four-sample cosine cycle.
Continue
- Previous: Precision Circuits
- Next: Oscillators and Timers
Reference
- Reading: Paul Horowitz and Winfield Hill, The Art of Electronics, third edition, Chapter 6.
- Lesson material: Original explanations, calculation examples and exercises; reference sections for further study.