Zibb

Feature

Start with the right op amp when driving SAR ADCs

Using the right operational amplifier in front of your data converter will give you good performance. Adjusting component values by production lot will give you the best performance.

By Miro Oljaca and Bonnie C Baker, Texas Instruments -- EDN, 10/16/2008

SAR (successive-approximation-register) ADCs (analog-to-digital converters) are playing an increasingly prominent role in the design of highly effective data-acquisition systems for automatic test equipment, instrumentation, spectrum analysis, and medical instruments. SAR ADCs make it possible to deliver high-accuracy, low-power products with excellent ac performance, such as SNR (signal-to-noise ratio) and THD (total harmonic distortion), as well as good dc performance.

For optimum SAR-ADC performance, the recommended driving circuit is an op amp in combination with an RC filter (Figure 1). Although this circuit commonly drives ADCs, it has the potential to create circuit-performance limitations. If you don’t properly select the input resistor, RIN, and the input capacitor, CIN, values, the circuit could produce ADC errors. Worse yet, it could cause the amplifier to become unstable. If you ignore the op-amp open-loop output impedance and UGBW (unity-gain bandwidth), you may run into amplifier-stability issues.

The optimized ADC-driver circuit in Figure 1 uses an op amp to separate the ADC from high-impedance signal sources. The following RC lowpass filter, RIN and CIN, performs functions going back to the op amp and forward to the ADC. RIN keeps the amplifier stable by “isolating” the amplifier’s output stage from the capacitive load, CIN. CIN provides a nearly perfect input source to the ADC. This input source tracks the voltage of the input signal and charges the ADC’s input sampling capacitor, CSH, during the converter’s acquisition time.

In evaluating the circuit in Figure 1, you can determine the guidelines and constraints for selecting the value of RIN. The op amp’s open-loop output resistance, RO, and the UGBW or the unity crossover frequency, fU, as well as the value of CIN, govern this issue (Reference 1 and Figure 2). After defining the design formulas for RIN, you can determine the value of CIN. The ADC’s acquisition time and input sample-and-hold capacitance, CSH, as well as RIN, influence the value of CIN.

Once you understand how this circuit operates, you can establish the criteria for a stable system and define an appropriate design strategy. A proof of concept uses two sample circuits. The first is relatively stable; the second is marginally stable.

Op-amp stability with RIN and CIN

The ADC in Figure 1 cycles through two stages while converting the input signal to a digital representation. Initially, the converter must acquire the input signal. After acquiring the signal, the converter changes the sampled information, or “snapshot,” of the input signal to a digital representation. A critical part of this process is to obtain an accurate snapshot of the input signal. If this ADC-data-conversion process is to run smoothly, the driving amplifier must charge the input capacitor to the proper value and maintain stability during the ADC’s acquisition time.

You can determine the stability of an amplifier with a Bode plot, a tool that helps you approximate the magnitude of an amplifier’s open- and closed-loop-gain transfer functions. In Figure 2, the units along the Y axis describe the gain in decibels of the amplifier in Figure 1. The units along the X axis describe the frequency in log, hertz of the open- and closed-loop-gain curves.

If the closure rate of the closed- and open-loop-gain curves is greater than 20 dB/decade, the amplifier circuit will be marginally stable or completely unstable. For example, if the open-loop-gain curve, AOL, is changing at –40 dB/decade, the amplifier circuit is unstable where the slope of the closed-loop-gain curve, ACL, is zero at the intersection with the open-loop-gain curve.

You can evaluate the stability of the circuit in Figure 1 with the op amp’s open-loop-gain function, AOL (Figure 2). The amplifier’s dc open-loop gain is 120 dB. At approximately 7 Hz (f0), the op amp’s open-loop curve leaves 120 dB and progresses down at a rate of –20 dB/decade. As the frequency increases, this attenuation rate continues past 0 dB. The open-loop-gain curve, AOL, crosses 0 dB at approximately 7 MHz (fU). Because this curve represents a single-pole system, the crossover frequency, fU, is equal to the amplifier’s UGBW. This plot represents a stable system because the closure rate of the closed- and open-loop-gain curve is 20 dB/decade.

Figure 3 provides an accurate picture of the amplifier’s performance minus the ADC’s impact. Introducing the external RC on the op amp’s output modifies the amplifier open-loop-gain curve.

When evaluating the amplifier’s open-loop-gain curve with RIN and CIN in the circuit, you need to include the effect of the amplifier’s open-loop output resistance, RO. The combination of RO, RIN, and CIN modifies the open-loop-response curve by introducing one pole, fP (Equation 1), and one zero, fZ (Equation 2). The values of RO, RIN, and CIN determine the corner frequency of fP. The values of RIN and CIN determine the corner frequency of the zero.

(1)




(2)




The pole, fP, modifies the open-loop-gain curve of the amplifier by introducing a –20-dB/decade change to the already-–20-dB/decade slope of the open-loop-gain curve, making the slope equal to –40 dB/decade. The added zero at frequency fZ changes the open-loop-gain curve back to –20 dB/decade.

In the interest of stability, the effects of fZ must occur at a frequency lower than the intersect frequency of the open-loop- and closed-loop-gain curves (fCL). Figure 4 illustrates a condition in which fZ is higher than the open-loop/closed-loop-intersection frequency, fCL. In this situation, the amplifier circuit is marginally stable, with a phase margin of less than 45°. For this circuit, marginal stability can occur if the closure rate between the open- and closed-loop-gain curves is greater than 20 dB/decade.

You can find the modified closed-loop bandwidth, fCL, by using the amplifier UGBW, the open-loop gain at the pole frequency (fP), and the modified open-loop gain at the zero frequency (fZ). The following equations describe the curves in figure 2 and figure 3 and identify fCL:

(3)





(4)





(5)





and

(6)




where GP is the gain in decibels of the open-loop-gain curve at fP, GZ is the gain in decibels of the modified open-loop-gain curve at fZ, and GCL is the gain in decibels of the closed-loop-response frequency where the closed-loop response intersects with the modified open-loop-gain curve.

The frequency distance between the pole and zero must be equal to or less than one decade. This requirement is necessary because the phase change from zero negates the phase changes that the pole initiates. Note that the pole formula (Equation 1) includes RIN and RO; the formula for zero (Equation 2) includes only RIN. If the distance between the pole and zero exceeds one decade, the phase response will not “recover” in time, and the output of the circuit will show more ringing.

(7)





Correct values of RIN and CIN

The primary purpose of capacitor CIN is to charge the ADC’s input sampling capacitor, CSH, during the ADC’s signal acquisition. With CIN in the circuit, the amplifier should provide less than 5% of the charge to CSH during signal acquisition, and CIN provides more than 95% of the required charge. To ensure that CIN provides most of the charge to the ADC’s input during acquisition, CIN should be greater than or equal to 20 times CSH (reference 2 and reference 3).

RIN serves as the isolation resistor between the op amp and CIN. RIN assists in stabilizing the amplifier, but its secondary task is to ensure that the system can charge the input ADC capacitor in a timely fashion (Reference 3). The time-constant multiplier of this ADC acquisition time is K (Table 1). As a first step, with these two variables and CIN,

(8)





where tACQ is the ADC’s acquisition time (Reference 4).

Amplifier-frequency and gain values

As a first step to optimization, look at the CIN and op-amp characteristics. During op-amp production, internal components can vary. Capacitances can change by as much as ±15%. Additionally, the op-amp transistor’s transconductance can vary from ±5 to ±15%. So, if you are looking for a variation of fU at 25°C with three times sigma, you can use ±20% as a good starting point.

It is good practice to use fCL=fU/2 and fZ =fCL/2 or fZ=fU/4 for good stability over different production lots. If these conditions are a concern, having GZ equal to 6 dB or fZ=fCL/2 further stabilizes the system from production lot to production lot.

Using these gain and frequency points’ definitions, you can make decisions about the best values for RIN and CIN. If you define GZ as equal to 3 dB, then 0 dB=3 dB–20×log(fCL/fZ) (Equation 5) or fCL=1.41×fZ(fZ=fCL/1.41). If you want GZ=6 dB, then 0 dB=6 dB–20×log(fCL/fZ), or fCL=2×fZ(fZ=fCL/2).

Proof of concept

This theory is a good start, but proof of concept completes the picture. Two sample circuits tie this theory to reality. These designs use the OPA364 as the op amp with a UGBW of 6.45 MHz and open-loop output resistance, RO, of 110Ω. Both designs also use a 1500-pF capacitor for CIN. The target closed-loop bandwidth, fCL, in the design is fU/2, or 3.23 MHz, and the target frequency of added zero is fU/4, or 1.61 MHz.

Two conditions are observable using an RIN of 66.5Ω (Design 1, the relatively stable circuit) and 15Ω (Design 2, the marginally stable circuit). You can then observe the effects of a small-signal step response at the test point, VIN. The op amps are in a buffer configuration, with a 1V/V closed-loop gain. The second series of tests uses the ADS7886 for the SAR ADC.

In the first design, RIN is 66.5Ω. Combining the effects of CIN, RIN, and RO produces a pole frequency, fP (Equation 1), at 601 kHz with an open-loop gain, GP (Equation 3), of 20.6 dB. This combination of CIN, RIN, and RO also produces a zero, fZ (Equation 2), at 1.596 MHz with an open-loop gain, GZ (Equation 4), of 3.65 dB. Figure 3 shows the system’s Bode plot. Figure 5 shows the response of VIN when the noninverting input of the op-amp buffer sees a 280-mV-p-p, small-signal step response. The signal at VIN is stable within 1 µsec. This condition is desirable for this SAR ADC.

In the second design, RIN is 15Ω. With the values of RIN, CIN, and RO, the pole frequency, fP, is 849 kHz at an open-loop gain, GP, of 17.6 dB. The zero frequency, fZ, is 7.074 MHz with an open-loop gain, GZ, of  –19.22 dB. Figure 4 shows the system’s Bode plot. Figure 6 shows the response of VIN when the noninverting input of the op-amp buffer sees a 280-mV-p-p, small-signal step response.

This marginally stable test circuit generates an overshoot with ringing, which is undesirable. The ADS7886 produces an unstable and inaccurate result from the signal in Figure 6.

These measurements show how the system responds to an input step without the ADS7886 connected. You can expect similar results when the load changes with the ADS7886. Closing the ADS7886 sampling switch generates a kickback current. Adding the ADS7886 to the circuit makes it difficult to observe 12-bit-accurate changes with an oscilloscope. Therefore, you apply a new measurement technique.

The test begins with the addition of the ADS7886 to the circuit (Figure 1). This circuit applies a constant voltage at the noninverting input of the OPA364. Testing began with an ADS7886 acquisition time of 300 nsec and 4096 measurements; testing continued with an acquisition time of 60 nsec, again with 4096 measurements. The acquisition time continued to increase by increments of 60 nsec until the test was complete for both designs.

After collecting this data, calculations of sigma and mean values for every ADS7886 acquisition point yield the results in table 2 and table 3. In the tables, the top line identifies the additional acquisition for the ADS7886 beyond the initial acquisition time of 300 nsec from test to test. The far left column lists the output-data codes and the number of times these codes appear in the body of the table. The statistical summary of the body of both tables appears at the bottom.

The data shows that the stable design has a lower sigma and more consistent mean. The mean value of the unstable system has an error of more than 0.7 LSB, whereas the stable system has an error of less than 0.03 LSB.

Designing the ADC system

Choosing the right op amp for the ADC is critical. Be sure to compare issues such as amplifier noise, bandwidth, and settling time to the ADC’s SNR, SFDR (spurious-free dynamic range), input impedance, and sampling time. The primary purposes of capacitor CIN are to provide charge to the ADC’s input sampling capacitor, CSH, during the ADC’s signal-acquisition time and to offload the amplifier from dynamic activity from the ADC. The proper design equation when determining CIN is:

(9)




Determining this value allows you to calculate the new time-constant multiplier, K1, with N equal to the number of ADC bits:

(10)





As design requirements and ADC performances set up the ADC’s acquisition times, calculate the frequency of the added zero, fZ:

(11)





After determining these quantities, verify that the system is stable with this equation:

(12)




With the frequency of the added zero and CIN, determine the value of RIN using the following two equations:

(13)




(14)




Calculate the frequency of the added pole, fP:

(15)





Check the gain of the added zero on the modified open-loop-gain curve. For a stable design, this value needs to be greater than or equal to 6 dB:

(16)





Once the design process is complete, it is critical that you benchtest the circuit to verify stability.


Acknowledgment

Special thanks to Tim Green for his help in developing this article.


Author Information
Miro Oljaca is a senior applications engineer at Texas Instruments, where he is responsible for high-precision linear products focusing on industrial applications. Oljaca has more than 20 years of design experience in motor control and power conversion. He received bachelor’s and master’s degrees in electrical engineering from the University of Belgrade (Serbia) and is a member of AEI, CNI, IEE, and IEEE.
Bonnie Baker is a senior applications engineer at Texas Instruments and has been involved with analog and digital designs and systems for nearly 20 years. Baker has written more than 250 articles, design notes, and application notes. She is the author of A Baker’s Dozen: Real Analog Solutions for Digital Designers and the co-author of Circuit Design: Know It All and Analog Circuits: World-Class Designs. In addition, Baker writes the column “Baker’s Best” for EDN.


References
  1. Green, Tim, “Operational Amplifier Stability, Part 6 of 15: Capacitance-Load Stability: RISO, High Gain & CF, Noise Gain,” Analog Zone, 2005.
  2. Downs, Rick, and Miro Oljaca, “Designing SAR ADC Drive Circuitry, Part I: A Detailed Look at SAR ADC Operation,” Analog Zone, 2005.
  3. Downs, Rick, and Miro Oljaca, “Designing SAR ADC Drive Circuitry, Part II: Input Behavior of SAR ADCs,” Analog Zone, 2005.
  4. Baker, Bonnie, and Miro Oljaca, “External components improve SAR-ADC accuracy,” EDN, June 7, 2007, pg 67.
  5. Oljaca, Miro, and Brian Mappes, “ADS8342 SAR ADC Inputs,” Texas Instruments Application Report SBAA127, 2005.
  6. Baker, Bonnie, “Charge your SAR-converter inputs,” EDN, May 11, 2006, pg 34.


Reed Business Information Resource Center

Featured Company


Related Resources

ADVERTISEMENT

ADVERTISEMENT

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center


Events

Design for Testability and for Built-In Self Test
Dates: 12/8/2009 - 12/10/2009
Location: Los Angeles, CA

Advanced Analog IC Design course
Dates: 1/6/2010 - 1/9/2010
Location: HKUST, Hong Kong

IMI's 21st Annual Thermal Printing Conference
Dates: 2/1/2010 - 2/3/2010
Location: Chandler, AZ, USA

CDMA and EV-DO Technology
Dates: 2/8/2010 - 2/10/2010
Location: San Jose, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 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