Feature

Designing RC active filters with standard-component values

By modifying filter-design equations to implement exact component values, you can minimize filter-response distortion and statistically predict behavior.

Celestino A Corral, Motorola Inc -- EDN, 11/23/2000

Active filters are ubiquitous in electronic design today, performing signal-frequency manipulation and conditioning for audio, IF (intermediate frequency), and digital-signal processing. The success of active filters is due primarily to integration capability and the extensive body of theoretical knowledge. Although DSPs can outperform active filters in dynamic range, active filters can achieve good performance with significantly lower power demands.

Engineers have many vendor and product options when implementing an active filter. With the advent of switching technology, you can use continuous-time filters with good accuracy in applications up to video frequencies (Reference 1). Semiconductor process improvements have made it possible and perhaps even economically mandatory to implement entire analog-signal-processing blocks, including filters, on silicon.

Despite the availability of active-filter ICs, most engineers still resort to RC (resistor/capacitor) active implementations consisting of operational amplifiers, resistors, and capacitors. Indeed, the popularity of RC active filters has not diminished since their heyday in the 1970s. The fact that active-filter development is mature helps engineers; active-filter textbooks and "cookbooks" abound. Furthermore, op-amp technology has advanced to meet the seemingly contradictory demands of high speed and low power.

Op amps are often the most critical elements in any RC-active-filter design and deserve much attention (see sidebar "Critical op-amp parameters"). Voltage-feedback op amps are still the mainstay of RC active filters, but current-feedback topologies offer gain that's independent of bandwidth, as well as good current outputs at high frequencies (Reference 2). With more designs concentrating on portable systems, low-voltage CMOS op amps offer rail-to-rail voltage-handling capability down to power supply voltages of 3V or less (Reference 3).

Op amps are not the only critical aspects of an active filter, however. Filter performance is directly related to the various available realization forms available (Reference 4). These forms are cascade, multiple feedback, and direct. In cascade realization, biquad structures (filters implementing complex poles or zeros) are cascaded together with independent, per-stage tuning. In multiple-feedback, or "multiloop," "follow-the-leader," or "state-variable" realization, biquad structures and gain blocks sum at different points in the circuit path to achieve the desired response. You determine parameters using a computer to solve a system of linear but underconstrained equations, and you can reduce overall sensitivities through subsequent optimization.

Direct realization is a realization of RLC (resistor/inductor/capacitor)-transfer functions in which you replace certain elements by synthetic elements composed of one or more op amps and other elements. The simulated inductor, for example, replaces the inductor by a combination of a gyrator and a capacitor or an impedance converter and a resistor. An alternative is to replace certain elements by frequency-dependent negative resistors.

The cascade realization is by far the easiest to implement and finds extensive use in most applications. However, it suffers from poor sensitivity, due to the isolation between blocks whereby different stages cannot provide compensation for each other. You should consider cascade and multiple-feedback alternatives when the requirements call for high-Q, low-drift filters.

Of the variety of available biquad topologies for cascade implementation, only a few select configurations have found favor with engineers. Among the most popular are Sallen-Key filters, in which the time constants are decoupled, meaning that the filter has zero active-frequency sensitivity (Reference 5). However, Sallen-Key filters have potentially high active-Q sensitivity, so you must typically make a gain-versus-sensitivity design compromise.

Other available biquad topologies allow trade-offs in required loop gain, active- and passive-Q sensitivity, and active-frequency sensitivity. Two such basic topologies are the single-amplifier and the multiamplifier biquads. In both cases, you can modify the filters' design equations so that the design resolves to standard component values. Specifically, you can solve for nearly identical resistor values, treating the capacitors as variables. By tabulating standard value ratios, you can establish common standard values for the capacitors in the design. The following examples use this approach in a matched-filter design for variable rates. This approach presents a unique design opportunity to highlight the power of the proposed method.

Single- and multiple-amplifier biquads

The sidebar "Lowpass, single-amplifier, biquad design" contains both original and modified equations. From the original design equations, the term =1/2Q defines the peaking of the response (Reference 6). Also, because the variable F includes a square-root term, you must satisfy the implicit design requirement so F is not complex. From the sensitivities, you realize that this filter has zero active sensitivity because it uses the infinite gain of the op amp. By carefully choosing an appropriate ratio K and dc gain H 0 it is possible to manipulate F for small sensitivities. You should consider this in the actual design.

The sidebar "Notch, multiple-amplifier, biquad design" also contains both original and modified equations. As with the single-amplifier biquad, the infinite gain of the op amp achieves zero active sensitivities. Some passive sensitivities also approach zero. This notch implements a true zero of transmission so that the Q of the zero is infinite. Although you cannot achieve this figure in practice, a good op-amp selection lets your design achieve more than 50-dB rejection. Although this biquad requires three op amps, eight resistors, and two capacitors, this topology offers excellent sensitivity. The most critical sensitivity is the pole peaking with respect to R6 . Therefore, you should choose R6 to have low tolerance.

You can apply a lowpass, single-amplifier biquad and a notch, multiple-amplifier biquad in a matched-filter design. As you will see, the matched filter consists of a lowpass section followed by a notch at the desired frequency rate. You can extend the design-equation modifications to any filter as long as you follow the same basic rules.

Matched-filter-design example

Matched filters find use in data-recovery systems to optimize the SNR by matching their frequency response to the spectrum of the input signal. Filters with data rates higher than 10 Mbps come in analog form with expensive hybrid operational amplifiers and tunable inductors and capacitors. Filters with typical data rates lower than 1 Mbps can benefit from an active-RC implementation with its inherent benefits. One such benefit is the ability to exploit the filter-design equations to obtain exact component values and superior sensitivity.

For pulse data such as BPSK (binary phase-shift keying) or QPSK (quadrature phase-shift keying), the matched-filter response must match the pulse spectrum, given by the relation:

 

where  r =1/Tr is the pulse rate and is the frequency (Reference 7). Equation 1 is normalized by r so that the energy is unity; that is,

 

The simplest implementation of the above matched filter is a second-order, lowpass transfer function in cascade with a first-order, notch transfer function. The use of two biquadratic equations allows us to fine-tune the transfer function through the filter Q's (or peaking ) in addition to frequency. The second-order, lowpass section also ensures a zero at infinity; that is, the filter's asymptotic roll-off is –20 dB/decade, and you reject high-frequency terms.

The approximating matched-filter transfer function,

 

is composed of H L (s ), the lowpass biquad section, and H N (s ), the notch biquad section. The following equation yields the lowpass transfer function:

 

where

 

KL =gain of lowpass stage, (6)

and

 

with wr =2p r , and the subscript p denotes pole. The following equation gives the notch transfer function.

 

where

  

 

 

 

and the subscript z denotes zero.

Figure 1 is a plot of the ideal matched-filter response and the approximating filter response out to 20 kHz for a 2-kbps data rate, showing good correspondence between ideal and approximating out to the first side lobe. Figure 2 shows a plot of the deviation of the approximating filter from the ideal filter in the main lobe, containing 92% of the energy. The deviation is well within 1 dB almost to the notch frequency. Near the notch frequency, the magnitude is so small that the contribution of these errors to the total is negligible.

To evaluate the SNR performance of the approximating filter, you calculate the energy ratio of both filters assuming that you are at the optimum sampling point; that is, =0 (Reference 8). For the ideal matched filter, the ratio is

 

You take the square root of H m ( ) because H m ( ) was defined to be the magnitude squared in Equation 1.

For the approximating filter, the ratio is

 

Because you normalized the energy of the matched filter in Equation 1, =0 dB. For the approximating filter, and the value represents the actual SNR degradation. For the parameter values in equation 5 to equation 13, you numerically calculated the approximating filter's SNR degradation to be  <0 dB. (see sidebar "Matched-filter analysis" for a Mathcad sheet that calculates SNRs of matched filters).

Figure 3 shows a 2-kbps design implemented using the previous design equations. It features 1%-tolerance resistors and 10%-tolerance capacitors. The choice of a good quad op amp is important to ensure good design performance. This design uses the Motorola MC33284, which gives low offset voltages and high precision. The dc gain of the filter is 0.75. Measured results are excellent; notch frequency is 4074 Hz (with less than 2% error), and rejection is –56 dB.

Applications often call for selectable rates due to the variety of signal rates in a system. Solutions for this type of problem abound, including banks of dedicated-rate filters and switched-in networks for the different rates. If you modify the design equations to include data rate as a parameter, you can have one design cover different data rates. By considering the design's different component values, you can also catalog all data rates you can achieve with a basic design.

Modifying the design equations

Standard component values of a prescribed tolerance are fixed and offer finite resolution. If you need a nonstandard value for a design, you often select the closest value of a prescribed tolerance. This compromise unnecessarily distorts the filter response. The approach here modifies filter-design equations to reflect standard component values and ratios. In this way, the design has no inherent bias, and the circuit performance derives mainly from the component values' distribution and potential drift, each of which you can readily analyze and control through statistical process.

To implement exact standard values in the design, it's beneficial to fix the values of the components that are most numerous—in this case, the resistors—leaving variable those components that are few in number—in this case, the capacitors. In addition, you can modify the design equations to fix the resistor values. Note that obtaining exact standard values depends mainly upon allowable component-value tolerance ratios. If in the modification, a given design parameter is acceptable if it is within 1% of the exact value.

First, consider the notch filter, with QNp =1.333. Among 5%-tolerance resistors, you can set R 11 =1.2´factor and R 6 =1.6´factor, where factor is the base standard value of the design. Also, R 4 =1.254´R 11 =1.5´factor. You now have a good starting point with R 4 =1.5´factor, R 6 =R 7 =1.6´factor, and R 5 =R 8 =R 9 =R 10 =R 11 =R =1.2´factor. Finally, you need to calculate the capacitance, determined from

 

The sidebar "Notch, multiple-amplifier, biquad design" shows the modified equations.

As the sidebar "Lowpass, single-amplifier, biquad design" shows, the modified equations are slightly difficult to derive because of the implicit design requirement. To make R 3 =R 2 , K must be equal to F 2 . By selecting K =0.3333 and F =0.8625–0.2839=0.5785, the ratio K /F 2 =0.9958, or approximately 1 (less than 1%). The ratio K =0.3333 is fairly convenient for 10%-tolerance capacitors. Because you have set R 1 =R 2 =R 3 , you can use the same resistor value as the most numerous value in the notch stage; that is, you can set R 1 =R 2 =R 3 =1.2´factor. From this equation, you calculate the capacitances as

 

You can now review the effect of the modified design on the 2-kbps, low-rate requirement. Assuming that factor=1 kW, then R 4 =1.5 kW, R 6 =R 7 =1.6 kW, and R 1 =R 2 =R 3 =R 5 =R 8 =R 9 =R 10 =R 11 =R =1.2 kW. You can readily determine the capacitances of C 1 , C 2 , C 3 , and C 4 to be approximately 0.082 (1.2% from actual), 0.027, 0.033, and 0.033 µF, respectively.

The previous process lets you design an active-RC matched filter with exact standard component values that are within 1% of the ideal. Because the capacitors were the least numerous of the components, you fix the resistor values and modify the capacitance based on the required rate. You next concentrate on determining standard capacitance values for the selectable-rate feature.

Equation 16 and Equation 17 yield the capacitance values that depend on the rate, and Equation 18 is fixed. If you rewrite these equations in terms of the rate, you obtain

 

which in turn implies

 

Equation 20 is independent of the rate, meaning that as long as you maintain the corresponding capacitance ratios, you can change capacitance values for the desired rates and leave the magnitude response of the filter intact. Figure 4 shows the resulting design.

Of course, you can select other resistor-to-capacitor ratios for different rates, and it is of interest to select ratios that provide the greatest choice of standard component values. For example, for 5%-tolerance values and calculating the forward ratio, the most common integer ratio is 2-to-1, corresponding to 22-to-11, 24-to-12, 30-to15, 36-to-18, and 20-to-10. The next most common integer ratio is 3-to1, corresponding to 30-to-10, 33-to-11, 36-to-12, and 39-to-13. The most common ratio is 1.5-to-1, corresponding to 15-to-10, 18-to-12, 24-to-16, 27-to-18, 30-to-20, 33-to-22, and 36-to-24. Other common ratios are 1.2-to-1 and 1.1-to-1. By expanding the ratio tolerances to ±1%, a greater range of component ratios becomes available. For example, if you allow the 1.1-to-1 ratio to vary from 1.089-to-1 to 1.111-to-1, then you can have as many as 16 component ratios: 11-to-10, 12-to-11, 20-to-18, 22-to-20, 24-to-22, 30-to-27, 33-to-30, 36-to-33, 43-to-39, 47-to-43, 56-to-51, 62-to-56, 68-to-62, 75-to-68, 82-to-75, and 91-to-82. Table 1 provides a complete span of ratios for 5% standard component values.

This article presents an approach for designing RC-active filters with exact standard component values to minimize response distortion. The basic idea is to modify the design equations and force the resistor values to ideal values while calculating capacitors using common standard value ratios. You can apply the technique to a matched-filter design with less-than-0.2-dB deviation from ideal. To incorporate a variable-rate capability, you further modify the design equations to reflect rate as a parameter. Simulation and test results show that the design has excellent response.

The method took into account not just exact standard-component values, but also parts count: You use the most common element value to limit the number of standard values necessary for the design. In the matched-filter example, the most common value was 1.2´factor (eight resistors), 1.6´factor (two resistors), and 1.5´factor (one resistor). You can apply the same approach to other biquad topologies, including Sallen-Key filters.

Critical op-amp parameters

Op amps are the most important elements of an active RC filter. Fortunately, manufacturers have provided extensive documentation of the electrical characteristics of op amps. However, the amount of information is often considerable, and engineers must concentrate on the most important characteristics of the design. This article considers the critical op-amp parameters that are useful for high-frequency designs. In addition, assume that the design is implementing voltage-feedback op amps.

GBW (gain-bandwidth) product is typically the first figure of merit that engineers consider in specifying an op amp. GBW is the product of the open-loop gain of the op amp and the open-loop bandwidth. The purpose of GBW is to determine whether the op amp can meet a frequency requirement at the specified gain: The higher the gain required, the less the bandwidth the op amp can support. The advantage of implementing high gains is the sensitivity reduction of the filter gain to amplifier gain.

GBW is only a partial indicator of the amplifier's capability to handle high-frequency signals. An equally important parameter to determine the potential speed of an amplifier is its slew rate. Slew rate is the maximum rate of change of output voltage under large-signal conditions. If you write the output voltage, vo , of the op amp as v o =V p cos t, so that dv o /dt = V p sinwt, then the slew rate equals

 .

The maximum output voltage, Vp , at the frequency, w, for an op-amp slew rate S then equals:

.

Figure A provides a nomograph for slew rates. It can relate frequency, peak voltage, and slew rate. Specifying any two parameters determines the third. You generally measure slew rate under unity-gain conditions that yield a worst-case value.

Peak output voltage and current are also important parameters for high-frequency applications. One critical item to note is that peak output voltage depends upon capacitive load. Large capacitive loads reduce the peak output-voltage swing and therefore reduce slew rate. Also, large capacitive loads can introduce oscillations. For high-speed op amps, vendors sometimes specify full-power bandwidth. This parameter is also an indicator for the suitability of an op amp in a given high-frequency application.

Input offset voltage and current are the result of the physical device. Ideal op amps have zero output for zero input. However, the op-amp input stage may depend on the technology (bipolar or FET) and match. Input offset current is the difference of the input bias currents, and input offset voltage is the voltage that you must apply to the input to obtain zero output voltage. To alleviate the effect of the input bias currents, it is good practice to make sure that the dc path resistance from the positive and negative inputs of the op amp are equal. For inverting infinite-gain topologies, you should place a resistor between the noninverting terminal and ground with a value equal to the dc resistance that the inverting terminal sees.


Lowpass, single-amplifier, biquad design

The lowpass, single-amplifier, biquad (Figure A) is from Reference 1 with the following design equations: Set C 2 =KC 1 . Given that Lp , Lp ,–H 0 (dc gain), choose C 1 , K 1 , and calculate:

 

and

 

where

 

You want the term in the square root to be positive; hence the implicit design requirement is:

 

The sensitivities are:

 

and

 

You can now modify the design per the matched-filter requirements. In the modified design equations, you set C2 =KC 1 , H0 =–0.09 –1, so that K 0.3738.

Given that Lp , Lp , choose K , R 2 and calculate:

 

and

 

For variable data rate f r , you can calculate the capacitances as:

 

The sensitivities are:

 

and

 


REFERENCE

  1. Huelsman, LP, JG Graeme, and GE Tobey, Operational Amplifiers , McGraw-Hill, New York, NY, 1971.

Notch, multiple-amplifier, biquad design

The notch, multiple-amplifier, biquad design (Figure A) is from Reference 1 with the following design equations. Set R 8 =R 10 =R . Given that Np , Q Np =1/2 Np , Nz ,–H 0 ( ), choose C 3 , C 4 , R , and calculate:

 

 

In the modified design equations, you set R 8 =R 10 =R . Given that wNp , Q Np =1/2 Np Nz , choose R , R 11 . Make R 6 =Q Np R 11 to force C 3 =C 4 . Now, calculate:

and

 

Including the selectable-rate feature with rate fr , the capacitances are:

 

The sensitivities remain the same.


REFERENCE

  1. Fleischer, PE, and J Tow, "Design formulas for biquad active filters using three operational amplifiers," Proceedings of the IEEE , Volume 61, pg 662, May 1973.

Matched-filter analysis

You can use this Mathcad file as a template for analyzing matched-filter responses. The following example defines all variables and performs normalization to generate the required parameters. It compares the ideal matched-filter response with an ideal brick-wall filter to demonstrate the deviation in response over the entire spectrum.

R=4000, and the data rate is:

 

frequencies for analysis.

 

is the matched-filter response you want to approximate. You perform normalization by multiplying by 1/R, the data rate. This operation produces a normalized power of unity as shown.

 

where Pow=1. Rate normalizes power.

F(0) = 2.5´10–4 .

At dc, F is 1/R=1/4000, the normalized value. Converting to decibels produces the classic sinX/X response.

F dB(f)=10´log(F(f)), and F dB(0) =–36.021(Figure A).

To calculate the SNR of the filter over the spectrum, you calculate the ratio of two integrals. The numerator is the product of the root of the responses, and the denominator is the ideal response. Due to the performed normalization, any deviation from an ideal response shows up as a negative SNR.

 

where Num SNR=1.

 

where Den SNR=1.

 

SNR=0 for the matched filter.

Now, implement a brick-wall filter for comparison.

H(f)=if (f>4000, 1´10–8 , F(0)), HdB(f)=10´log (H(f)), and HdB(0)=–36.021 (Figure B).

Now, calculate the SNR for the brick-wall filter,

 

where NumB=2.301.   

where DenB=252.008.

 

where SNR=–20.377.

The brick-wall filter response degrades SNR by 20.4 dB over the ideal matched filter with a corner at 4000 Hz.



 

Author Information

Celestino A Corral is a senior staff engineer at Motorola (Plantation, FL), where he has worked for two years. In his current position, he provides analog and RF modeling and simulation engineering. He has BSEE, MSEE, and PhD degrees from the University of Miami (FL). A member of the IEEE, Corral lists his interests as filter theory, constrained optimization, simulation, and modeling.

 


 

REFERENCE

  1. van Begooijen, A, N Ramalho, and JO Voorman, "Balanced integrator filters at video frequencies," Digest ESSCIRC , 1991, pg 1.
  2. Feucht, DL, Handbook of Analog Circuit Design , Academic Press, San Diego, CA, 1990.
  3. Sakurai, S, and M Ismail, Low-Voltage CMOS Operational Amplifiers: Theory, Design, and Implementation , Kluwer Academic Publishers, Boston, MA, 1995.
  4. Schweber, Bill, "Analog filters: even more essential in the digital world," EDN , April 24, 1997, pg 42.
  5. Sallen, RP, and EL Key, "A practical method for designing RC active filters," IRE Transactions Circuit Theory, Volume CT-2 , pg 74, March 1955.
  6. Lindquist, CA, Active Network Design with Signal Filtering Applications , Steward & Sons, Long Beach, CA, 1977.
  7. Viterbi, AJ, Principles of Coherent Communication , McGraw-Hill, New York, NY, 1966.
  8. Stremler, FG, Introduction to Communication Systems , pg 408, Addison-Wesley, Reading, MA, 1982.

This article ran on page 141 of the November 23, 2000 issue of EDN.



ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author


ADVERTISEMENT

Knowledge Center



Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites