Sallen–Key topology explained

The Sallen–Key topology is an electronic filter topology used to implement second-order active filters that is particularly valued for its simplicity.[1] It is a degenerate form of a voltage-controlled voltage-source (VCVS) filter topology. It was introduced by R. P. Sallen and E. L. Key of MIT Lincoln Laboratory in 1955.[2]

Explanation of operation

A VCVS filter uses a voltage amplifier with practically infinite input impedance and zero output impedance to implement a 2-pole low-pass, high-pass, bandpass, bandstop, or allpass response. The VCVS filter allows high Q factor and passband gain without the use of inductors. A VCVS filter also has the advantage of independence: VCVS filters can be cascaded without the stages affecting each others tuning. A Sallen–Key filter is a variation on a VCVS filter that uses a unity gain amplifier (i.e., a buffer amplifier).

History and implementation

In 1955, Sallen and Key used vacuum tube cathode follower amplifiers; the cathode follower is a reasonable approximation to an amplifier with unity voltage gain. Modern analog filter implementations may use operational amplifiers (also called op amps). Because of its high input impedance and easily selectable gain, an operational amplifier in a conventional non-inverting configuration is often used in VCVS implementations. Implementations of Sallen–Key filters often use an op amp configured as a voltage follower; however, emitter or source followers are other common choices for the buffer amplifier.

Sensitivity to component tolerances

VCVS filters are relatively resilient to component tolerance, but obtaining high Q factor may require extreme component value spread or high amplifier gain. Higher-order filters can be obtained by cascading two or more stages.

Generic Sallen–Key topology

The generic unity-gain Sallen–Key filter topology implemented with a unity-gain operational amplifier is shown in Figure 1. The following analysis is based on the assumption that the operational amplifier is ideal.

Because the op amp is in a negative-feedback configuration, its

v+

and

v-

inputs must match (i.e.,

v+=v-

). However, the inverting input

v-

is connected directly to the output

vout

, and so

By Kirchhoff's current law (KCL) applied at the

vx

node,

By combining equations (1) and (2),

vin-vx
Z1

=

vx-vout
Z3

+

vx-vout
Z2

.

Applying equation (1) and KCL at the op amp's non-inverting input

v+

gives
vx-vout
Z2

=

vout
Z4

,

which means that

Combining equations (2) and (3) gives

Rearranging equation (4) gives the transfer function

which typically describes a second-order linear time-invariant (LTI) system.

If the

Z3

component were connected to ground instead of to

vout

, the filter would be a voltage divider composed of the

Z1

and

Z3

components cascaded with another voltage divider composed of the

Z2

and

Z4

components. The buffer amplifier bootstraps the "bottom" of the

Z3

component to the output of the filter, which will improve upon the simple two-divider case. This interpretation is the reason why Sallen–Key filters are often drawn with the op amp's non-inverting input below the inverting input, thus emphasizing the similarity between the output and ground.

Branch impedances

By choosing different passive components (e.g., resistors and capacitors) for

Z1

,

Z2

,

Z4

, and

Z3

, the filter can be made with low-pass, bandpass, and high-pass characteristics. In the examples below, recall that a resistor with resistance

R

has impedance

ZR

of

ZR=R,

and a capacitor with capacitance

C

has impedance

ZC

of

ZC=

1
sC

,

where

s=j\omega=2\pijf

(here

j

denotes the imaginary unit) is the complex angular frequency, and

f

is the frequency of a pure sine-wave input. That is, a capacitor's impedance is frequency-dependent and a resistor's impedance is not.

Application: low-pass filter

An example of a unity-gain low-pass configuration is shown in Figure 2.An operational amplifier is used as the buffer here, although an emitter follower is also effective. This circuit is equivalent to the generic case above with

Z1=R1,Z2=R2,Z3=

1
sC1

,Z4=

1
sC2

.

The transfer function for this second-order unity-gain low-pass filter is

H(s)=

2
\omega
0
2
s+2\alphas+
2
\omega
0

,

f0

, attenuation

\alpha

, Q factor

Q

, and damping ratio

\zeta

, are given by

\omega0=2\pif0=

1
\sqrt{R1R2C1C2

}

and

2\alpha=2\zeta\omega0=

\omega0
Q

=

1
C1

\left(

1
R1

+

1
R2

\right)=

1
C1

\left(

R1+R2
R1R2

\right).

So,

Q=

\omega0
2\alpha

=

\sqrt{R1R2C1C2
}.

The

Q

factor determines the height and width of the peak of the frequency response of the filter. As this parameter increases, the filter will tend to "ring" at a single resonant frequency near

f0

(see "LC filter" for a related discussion).

Poles and zeros

This transfer function has no (finite) zeros and two poles located in the complex s-plane:

s=-\alpha\pm\sqrt{\alpha2-

2}.
\omega
0

There are two zeros at infinity (the transfer function goes to zero for each of the

s

terms in the denominator).

Design choices

A designer must choose the

Q

and

f0

appropriate for their application.The

Q

value is critical in determining the eventual shape.For example, a second-order Butterworth filter, which has maximally flat passband frequency response, has a

Q

of

1/\sqrt{2}

.By comparison, a value of

Q=1/2

corresponds to the series cascade of two identical simple low-pass filters.

Because there are 2 parameters and 4 unknowns, the design procedure typically fixes the ratio between both resistors as well as that between the capacitors. One possibility is to set the ratio between

C1

and

C2

as

n

versus

1/n

and the ratio between

R1

and

R2

as

m

versus

1/m

. So,

\begin{align} R1&=mR,\\ R2&=R/m,\\ C1&=nC,\\ C2&=C/n. \end{align}

As a result, the

f0

and

Q

expressions are reduced to

\omega0=2\pif0=

1
RC

and

Q=

mn
m2+1

.

Starting with a more or less arbitrary choice for e.g.

C

and

n

, the appropriate values for

R

and

m

can be calculated in favor of the desired

f0

and

Q

. In practice, certain choices of component values will perform better than others due to the non-idealities of real operational amplifiers.[3] As an example, high resistor values will increase the circuit's noise production, whilst contributing to the DC offset voltage on the output of op amps equipped with bipolar input transistors.

Example

For example, the circuit in Figure 3 has

f0=15.9~kHz

and

Q=0.5

. The transfer function is given by

H(s)=

1
1+\underbrace{C2(R1+R2)
2\zeta=
1
\omega0Q
\omega0

s+\underbrace{C1C2R1R2}

1
2
\omega
0

s2},

and, after the substitution, this expression is equal to

H(s)=

1
1+
\underbrace{RC(m+1/m)
n
2\zeta=
1
\omega0Q
\omega0

s+\underbrace{R2

2}
C
12
{\omega0
}s^2},

which shows how every

(R,C)

combination comes with some

(m,n)

combination to provide the same

f0

and

Q

for the low-pass filter. A similar design approach is used for the other filters below.

Input impedance

The input impedance of the second-order unity-gain Sallen–Key low-pass filter is also of interest to designers. It is given by Eq. (3) in Cartwright and Kaminsky[4] as

Z(s)=

R
1s'2+s'/Q+1
s'2+s'k/Q

,

where

s'=

s
\omega0
and

k=

R1
R1+R2

=

m
m+1/m
.

Furthermore, for

Q>\sqrt{1-k2
2
}, there is a minimal value of the magnitude of the impedance, given by Eq. (16) of Cartwright and Kaminsky, which states that

|Z(s)|min=R1\sqrt{1-

(2Q2+k2-1)2
2Q4+k2(2Q2+k2-1)2+2Q2\sqrt{Q4+k2(2Q2+k2-1)
}}.

Fortunately, this equation is well-approximated by

|Z(s)|min

R
1\sqrt{1
Q2+k2+0.34
}

for

0.25\leqk\leq0.75

. For

k

values outside of this range, the 0.34 constant has to be modified for minimal error.

Also, the frequency at which the minimal impedance magnitude occurs is given by Eq. (15) of Cartwright and Kaminsky, i.e.,

\omegamin=

\omega
0\sqrt{Q2+\sqrt{Q4+k2(2Q2+k2-1)
}}.

This equation can also be well approximated using Eq. (20) of Cartwright and Kaminsky, which states that

\omegamin

\omega
0\sqrt{2Q2
2Q2+k2-1
}.

Application: high-pass filter

A second-order unity-gain high-pass filter with

f0=72~Hz

and

Q=0.5

is shown in Figure 4.

A second-order unity-gain high-pass filter has the transfer function

H(s)=

s2
2
s+
\underbrace{2\pi\left(f0
Q
\right)
2\zeta\omega=
\omega0
Q
0

s+\underbrace{(2\pi

2}
f
2
\omega
0
},

where undamped natural frequency

f0

and

Q

factor are discussed above in the low-pass filter discussion. The circuit above implements this transfer function by the equations

\omega0=2\pif0=

1
\sqrt{R1R2C1C2
}

(as before) and

1
2\zeta

=Q=

\omega0
2\alpha

=

\sqrt{R1R2C1C2
}.

So

2\alpha=2\zeta\omega0=

\omega0
Q

=

C1+C2
R2C1C2

.

Follow an approach similar to the one used to design the low-pass filter above.

Application: bandpass filter

An example of a non-unity-gain bandpass filter implemented with a VCVS filter is shown in Figure 5. Although it uses a different topology and an operational amplifier configured to provide non-unity-gain, it can be analyzed using similar methods as with the generic Sallen–Key topology. Its transfer function is given by

H(s)=

\overbrace{\left(1+
Rb
Ra
\right)
G
s
R1C1
}.

f0

(i.e., the frequency where the magnitude response has its peak) is given by

f0=

1\sqrt{
2\pi
Rf+R1
C1C2R1R2Rf
}.

The Q factor

Q

is given by

\begin{align}Q &=

\omega0
2\zeta\omega0

=

\omega0
\omega0/Q

\\[10pt] &=

\sqrt{R1+Rf
R1RfR2C1C2
}\\[10pt]&= \frac.\end

The voltage divider in the negative feedback loop controls the "inner gain"

G

of the op amp:

G=1+

Rb
Ra

.

If the inner gain

G

is too high, the filter will oscillate.

See also

External links

Notes and References

  1. https://ccnet.stanford.edu/cgi-bin/course.cgi?cc=ee315a&action=handout_download&handout_id=ID126954294624704 "EE315A Course Notes - Chapter 2"-B. Murmann
  2. A Practical Method of Designing RC Active Filters. IRE Transactions on Circuit Theory. March 1955. R. P.. Sallen. E. L. Key . 2. 1. 74–85. 10.1109/tct.1955.6500159. 51640910.
  3. http://www.ti.com/lit/an/slyt306/slyt306.pdf Stop-band limitations of the Sallen–Key low-pass filter
  4. Cartwright. K. V.. E. J. Kaminsky . Finding the minimum input impedance of a second-order unity-gain Sallen-Key low-pass filter without calculus. Lat. Am. J. Phys. Educ.. 2013. 7. 4. 525–535.