Sallen–Key topology

From The Right Wiki
(Redirected from Sallen-Key topology)
Jump to navigationJump to search

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.[citation needed] 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.[1] Higher-order filters can be obtained by cascading two or more stages.

Generic Sallen–Key topology

File:Sallen-Key Generic Circuit.svg
Figure 1: The generic Sallen–Key filter 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

v+=v=vout. (1)

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

vinvxZ1=vxvoutZ3+vxvZ2. (2)

By combining equations (1) and (2),

vinvxZ1=vxvoutZ3+vxvoutZ2.

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

vxvoutZ2=voutZ4,

which means that

vx=vout(Z2Z4+1). (3)

Combining equations (2) and (3) gives

vinvout(Z2Z4+1)Z1=vout(Z2Z4+1)voutZ3+vout(Z2Z4+1)voutZ2. (4)

Rearranging equation (4) gives the transfer function

voutvin=Z3Z4Z1Z2+Z3(Z1+Z2)+Z3Z4, (5)

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=1sC,

where s=jω=2πjf (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

File:Sallen-Key Lowpass General.svg
Figure 2: A unity-gain low-pass filter implemented with a Sallen–Key topology

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=1sC1,Z4=1sC2.

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

H(s)=ω02s2+2αs+ω02,

where the undamped natural frequency f0, attenuation α, Q factor Q, and damping ratio ζ, are given by

ω0=2πf0=1R1R2C1C2

and

2α=2ζω0=ω0Q=1C1(1R1+1R2)=1C1(R1+R2R1R2).

So,

Q=ω02α=R1R2C1C2C2(R1+R2).

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=α±α2ω02.

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/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,

R1=mR,R2=R/m,C1=nC,C2=C/n.

As a result, the f0 and Q expressions are reduced to

ω0=2πf0=1RC

and

Q=mnm2+1.
File:Sallen-Key Lowpass Example.svg
Figure 3: A low-pass filter, which is implemented with a Sallen–Key topology, with f0 = 15.9 kHz and Q = 0.5

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.9kHz and Q=0.5. The transfer function is given by

H(s)=11+C2(R1+R2)2ζω0=1ω0Qs+C1C2R1R21ω02s2,

and, after the substitution, this expression is equal to

H(s)=11+RC(m+1/m)n2ζω0=1ω0Qs+R2C21ω02s2,

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)=R1s'2+s/Q+1s'2+sk/Q,

where s=sω0 and k=R1R1+R2=mm+1/m. Furthermore, for Q>1k22, there is a minimal value of the magnitude of the impedance, given by Eq. (16) of Cartwright and Kaminsky,[4] which states that

|Z(s)|min=R11(2Q2+k21)22Q4+k2(2Q2+k21)2+2Q2Q4+k2(2Q2+k21).

Fortunately, this equation is well-approximated by[4]

|Z(s)|minR11Q2+k2+0.34

for 0.25k0.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,[4] i.e.,

ωmin=ω0Q2+Q4+k2(2Q2+k21)2Q2+k21.

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

ωminω02Q22Q2+k21.

Application: high-pass filter

File:Sallen-Key Highpass Example.svg
Figure 4: A specific Sallen–Key high-pass filter with f0 = 72 Hz and Q = 0.5

A second-order unity-gain high-pass filter with f0=72Hz and Q=0.5 is shown in Figure 4. A second-order unity-gain high-pass filter has the transfer function

H(s)=s2s2+2π(f0Q)2ζω0=ω0Qs+(2πf0)2ω02,

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

ω0=2πf0=1R1R2C1C2

(as before) and

12ζ=Q=ω02α=R1R2C1C2R1(C1+C2).

So

2α=2ζω0=ω0Q=C1+C2R2C1C2.

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

Application: bandpass filter

File:VCVS Filter Bandpass General.svg
Figure 5: A bandpass filter realized with a VCVS topology

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)=(1+RbRa)GsR1C1s2+(1R1C1+1R2C1+1R2C2RbRaRfC1)2ζω0=ω0Qs+R1+RfR1RfR2C1C2ω02=(2πf0)2.

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

f0=12πRf+R1C1C2R1R2Rf.

The Q factor Q is given by

Q=ω02ζω0=ω0ω0/Q=R1+RfR1RfR2C1C21R1C1+1R2C1+1R2C2RbRaRfC1=(R1+Rf)R1RfR2C1C2R1Rf(C1+C2)+R2C2(RfRbRaR1).

The voltage divider in the negative feedback loop controls the "inner gain" G of the op amp:

G=1+RbRa.

If the inner gain G is too high, the filter will oscillate.

See also

References

  1. 1.0 1.1 "EE315A Course Notes - Chapter 2"-B. Murmann Archived 2010-07-16 at the Wayback Machine
  2. Sallen, R. P.; E. L. Key (March 1955). "A Practical Method of Designing RC Active Filters". IRE Transactions on Circuit Theory. 2 (1): 74–85. doi:10.1109/tct.1955.6500159. S2CID 51640910.
  3. Stop-band limitations of the Sallen–Key low-pass filter.
  4. 4.0 4.1 4.2 4.3 4.4 Cartwright, K. V.; E. J. Kaminsky (2013). "Finding the minimum input impedance of a second-order unity-gain Sallen-Key low-pass filter without calculus" (PDF). Lat. Am. J. Phys. Educ. 7 (4): 525–535.

External links