S238 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S2 · Lesson 38 · Active filters

Biquads in active-RC and gm-C form, tuning and dynamic range

Before a signal is sampled it must be filtered, and on a chip there are no inductors worth using at audio or baseband frequencies. Active filters make second-order sections, biquads, from resistors, capacitors and amplifiers, or from transconductors and capacitors (gm-C), and cascade them into Butterworth or Chebyshev responses. Their design questions are analog ones: what sets the pole frequency and Q, how much they drift with process, and how big the capacitors must be for the filter's own noise to stay below the signal.

  • The curve is a second-order low-pass's magnitude against frequency normalized to f0, on log axes, for the Q set by the slider.
  • At Q = 0.707 (Butterworth) the response is maximally flat; higher Q makes a peak near f0, and lower Q a slow, droopy corner.
  • The readout is the peak's height, Q/1−1/4Q2, for Q above 0.707.

Predict

A gm-C biquad's pole frequency is gm/C. If the process makes gm 20% high and C 10% low, where does f0 land?

Name it

The biquad

H(s)=ω02s2+(ω0/Q)s+ω02

peaks at Q/1−1/4Q2 for Q > 0.707; Butterworth sections have Q = 0.707.

Sallen–Key (unity gain)

Two resistors and two capacitors around a follower: ω0=1/R1R2C1C2 and Q=R1R2C1C2/((R1+R2)C2), with C1 the feedback capacitor and C2 the one to ground. With equal resistors, Q=12C1/C2.

Two-integrator loops

Two integrators in a loop (Tow–Thomas, or a gm-C biquad) set ω0 by the integrators' unity-gain frequencies (1/RC, or gm/C) and Q by a separate damping element, so the two can be adjusted independently.

Dynamic range

Each integrator's capacitor holds kT/C of noise. For a signal of Vrms and a target SNR, C≳kT⋅SNR/Vrms2: 80 dB at 1 V rms needs about 0.4 pF per pole, and each 6 dB of SNR quadruples the capacitance and the power needed to drive it.

Worked example

A unity-gain Sallen–Key low-pass uses R = 10 kΩ for both resistors, C1 = 20 nF and C2 = 10 nF. What are its f0 and Q?

Show the solution
  1. Natural frequency. f0=12πRC1C2=12π×104×2×10−16=1.13kHz
  2. Q. Q=1220/10=0.707 a Butterworth section.
  3. What sets Q. The capacitor ratio alone sets Q, so it holds as well as the capacitors match.

Answer f0 = 1.13 kHz and Q = 0.707.

Worked example

A gm-C integrator has gm = 100 µS and C = 1 pF. What unity-gain frequency does it have, and what is a biquad built from two of them tuned to?

Show the solution
  1. Unity-gain frequency. ωu=gmC=108rad/s or 15.9 MHz.
  2. The biquad. A biquad built from two of them has the same f0.
  3. Where gm-C fits. gm-C filters reach tens to hundreds of megahertz, where active-RC filters run out of op-amp bandwidth.

Answer the integrator's unity-gain frequency is 15.9 MHz, and the biquad is tuned to the same 15.9 MHz.

Worked example

A filter must keep 80 dB of SNR at 1 V rms. How big must each integrating capacitor be?

Show the solution
  1. Capacitor at 80 dB. An SNR of 80 dB is a power ratio of 108: C=kT×108/12=4.14×10−21×108=0.41pF
  2. At 100 dB. It would be 41 pF, and the transconductors driving it a hundred times stronger.
  3. What sets the power. So most filters' power is set by their dynamic range more than by their bandwidth.

Answer each integrating capacitor must be 0.41 pF.

Check

A unity-gain Sallen–Key low-pass has both resistors 10 kΩ, C2 = 1 nF and C1 = 4 × C2.

(a)

What is its pole frequency?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

(b)

What is its Q?

Check

A biquad low-pass has Q = 1.3.

(a)

What is its peak gain?

(b)

What is its gain at exactly f0, in dB?

Check

A gm-C integrator has gm = 100 µS and C = 0.5 pF.

(a)

What is its unity-gain frequency?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

(b)

Where does it land if gm comes out 20% high and C 10% low?

Check

A filter must keep 80 dB of SNR with 0.3 V rms of signal at 350 K.

(a)

How big must each integrating capacitor be?

Write units the way you normally would: 1.5 pF and 0.0015 nF are the same answer.

(b)

By what factor must the capacitors grow for 6.02 dB more SNR?

Check

A Tow–Thomas biquad has integrators of R = 10 kΩ and C = 10 nF, and a damping resistor 1 times R.

(a)

What is its pole frequency?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

(b)

What is its Q?

Check

Why do gm-C filters on a chip usually need an automatic tuning loop, while an active-RC filter built from matched on-chip resistors and capacitors may only need a trim?

Check

A unity-gain Sallen–Key low-pass has resistors a and b, feedback capacitor c and grounded capacitor d.

Step 1

What is ω0?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Write biquad_mag(f, f0, Q): the magnitude of the low-pass biquad, and butter_q(n): the Q values of the second-order sections of an n-th order Butterworth filter (n even), Qk=1/(2sin⁡((2k−1)π/2n)) for k = 1..n/2, sorted ascending.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why does a filter's dynamic range, rather than its frequency, usually set how much power it burns?

Practice

Keep practicing

8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.