Skip to main content

Sallen-Key LPF; obtaining HPF; 12 kHz design

Short answer

Use equal-resistor design: R1=R2=1 Ω, C1=C2=1 F, K=3–1/Q=1.586. Scaling to 12 kHz with C=0.01 µF gives R=1.33 kΩ. For unity overall gain, a resistive input divider scales gain to 1: R1a=2.10 kΩ, R1b=3.59 kΩ.

Draw the circuit diagram of Sallen-Key lowpass biquad circuit and derive the transfer function. How can you obtain highpass filter from lowpass one? Design the second order lowpass Butterworth filter having half power frequency of 12 KHz using Sallen-Key biquad circuit. T2(s) = 1/(s² + √2 s + 1)

Sallen-Key low-pass circuit and transfer function

The Sallen-Key low-pass biquad uses one op-amp wired as a non-inverting amplifier of gain K=1+RB/RAK = 1 + R_B/R_A, two resistors R1,R2R_1, R_2 in series, a capacitor C1C_1 fed back from the output to node A, and a grounded capacitor C2C_2 at node B.

              C1 (feedback)
        +-----||-------------+
        |                    |
Vin -R1-+-(A)- R2 -+-(B)--|+\ |
                   |      |  >+---- Vo
                  === C2 +|-/ |
                   |     |    |
                  GND    +-RB-+
                         |
                         RA
                         |
                        GND

Derivation (ideal op-amp, so Vo=KVBV_o = K V_B and no current enters the + input):

Node B: the current through R2R_2 flows into C2C_2:

VA−VBR2=sC2VB  ⇒  VA=VB(1+sR2C2)\frac{V_A - V_B}{R_2} = sC_2 V_B \;\Rightarrow\; V_A = V_B(1 + sR_2C_2)

Node A (KCL):

Vin−VAR1=VA−VBR2+sC1(VA−Vo)\frac{V_{in} - V_A}{R_1} = \frac{V_A - V_B}{R_2} + sC_1 (V_A - V_o)

Substituting VAV_A and VB=Vo/KV_B = V_o/K and simplifying:

T(s)=VoVin=KR1R2C1C2s2+s(1R1C1+1R2C1+1−KR2C2)+1R1R2C1C2T(s) = \frac{V_o}{V_{in}} = \frac{\dfrac{K}{R_1R_2C_1C_2}}{s^2 + s\left(\dfrac{1}{R_1C_1} + \dfrac{1}{R_2C_1} + \dfrac{1-K}{R_2C_2}\right) + \dfrac{1}{R_1R_2C_1C_2}}

Comparing with T(s)=Kωo2s2+(ωo/Q)s+ωo2T(s) = \dfrac{K\omega_o^2}{s^2 + (\omega_o/Q)s + \omega_o^2}:

ωo=1R1R2C1C2ωoQ=1R1C1+1R2C1+1−KR2C2\begin{aligned} \omega_o &= \frac{1}{\sqrt{R_1R_2C_1C_2}} \\ \frac{\omega_o}{Q} &= \frac{1}{R_1C_1} + \frac{1}{R_2C_1} + \frac{1-K}{R_2C_2} \end{aligned}

DC gain =K= K.

Obtaining a high-pass filter from the low-pass one

Use the RC-CR transformation: replace every resistor RiR_i by a capacitor of value 1/Ri1/R_i and every capacitor CjC_j by a resistor of value 1/Cj1/C_j (normalized values, ωo=1\omega_o = 1). The op-amp gain resistors RA,RBR_A, R_B set only a ratio, so they stay unchanged. This replaces ss by 1/s1/s, so for the normalized function

TLP(s)=Ks2+1Qs+1  ⇒  THP(s)=TLP ⁣(1s)=Ks2s2+1Qs+1T_{LP}(s) = \frac{K}{s^2 + \frac{1}{Q}s + 1} \;\Rightarrow\; T_{HP}(s) = T_{LP}\!\left(\frac{1}{s}\right) = \frac{K s^2}{s^2 + \frac{1}{Q}s + 1}

Frequency scaling by ωo\omega_o then gives Ks2s2+(ωo/Q)s+ωo2\dfrac{K s^2}{s^2 + (\omega_o/Q)s + \omega_o^2}. In the high-pass circuit, capacitors sit in the series positions and resistors in the feedback and grounded positions.

Design: Butterworth LPF at 12 kHz

T2(s)=1s2+2s+1T_2(s) = \dfrac{1}{s^2 + \sqrt2 s + 1}: ωo=1\omega_o = 1, Q=0.7071Q = 0.7071.

Equal-element design (Design 1): take normalized R1=R2=1 ΩR_1 = R_2 = 1\ \Omega, C1=C2=1C_1 = C_2 = 1 F. Then ωo=1\omega_o = 1 rad/s and

1Q=1+1+(1−K)=3−K  ⇒  K=3−1Q\frac{1}{Q} = 1 + 1 + (1 - K) = 3 - K \;\Rightarrow\; K = 3 - \frac{1}{Q} K=3−1.414=1.586,RB/RA=0.586K = 3 - 1.414 = 1.586, \quad R_B/R_A = 0.586

Scaling (choose C=0.01 μC = 0.01\ \muF):

kf=2π×12 000=75 398.2 rad/skm=175 398.2×10−8=1326.3R1=R2=1.326 kΩ\begin{aligned} k_f &= 2\pi \times 12\,000 = 75\,398.2\ \text{rad/s} \\ k_m &= \frac{1}{75\,398.2 \times 10^{-8}} = 1326.3 \\ R_1 = R_2 &= 1.326\ \text{k}\Omega \end{aligned}

RA=10 kΩR_A = 10\ \text{k}\Omega, RB=5.86 kΩR_B = 5.86\ \text{k}\Omega.

Answer: R1=R2=1.33 kΩR_1 = R_2 = 1.33\ \text{k}\Omega, C1=C2=0.01 μC_1 = C_2 = 0.01\ \muF, RA=10 kΩR_A = 10\ \text{k}\Omega, RB=5.86 kΩR_B = 5.86\ \text{k}\Omega; fc=12f_c = 12 kHz, DC gain 1.586.

If unity gain is needed (as in T2(s)T_2(s)), use an input divider with α=1/1.586=0.631\alpha = 1/1.586 = 0.631: R1a=1.326/0.631=2.10 kΩR_{1a} = 1.326/0.631 = 2.10\ \text{k}\Omega and R1b=1.326/0.369=3.59 kΩR_{1b} = 1.326/0.369 = 3.59\ \text{k}\Omega.

✓ Answer checked by Claude Sonnet 5.5

All Filter Design chapter 6 questions →