HOW TO GET 23 BITS OF EFFECTIVE RESOLUTION FROM YOUR 24-BIT CONVERTER The ADS20 and ADS2 are precision, wide dynamic range, Σ A/D converters that have 24 bits of no missing code and up to 23 bits rms of effective resolution. Because of the nature of the Σ design architecture the circuit designer has control over more of the variables and interface options in the A/D s conversion process than is realizable with other converter architectures. These options are digitally implemented and include analog input configuration, oversampling, calibration and digital protocol control. Consequently, these A/D converters can service a wide variety of applications, including high precision, high speed, and low power. There is the subset of conditions that must exist before 23 bits rms of resolution can be achieved with the ADS20/. The manipulation of these A/D functions as well as practical layout recommendations are discussed in this application note. 23-BITS rms OF EFFECTIVE RESOLUTION DEFINED Effective number of bits or effective resolution is a term that was developed with the arrival of the 6+ bit converters. These high resolution converters were capable of outputting more bits than could accurately be digitized with one conversion. With careful layout practices, this degree of uncertainty was and still is predominately a consequence of device noise. Multiple conversions, along with mathematical manipulation, reliably produces a higher effective resolution at the expense of overall conversion speed. The addition of a DSP or µc type device is required in the application to accomplish this type of performance improvement. The topology of Σ converter relieves the board level designer of the intensive DSP software design work by incorporating the over sampling and digital filtering inside the A/D chip. The high resolution Σ converters, such as the ADS2x family from Burr-Brown, advertise an effective resolution up to 23 bits rms in a 0Vp-p Full-Scale-Range at a 00Hz data rate. This translates to 0.975µVrms of effective resolution. For the remainder of this discussion, effective defines the rms digital output of the ADS20/ when configured in a full-scale input range of 0V and a Programmable Gain setting of one. This performance exceeds other A/D converter topologies, such as the SAR (Successive Approximation) designs. As an extra bonus, the Σ converter applications are less expensive than the precision SAR converter applications. By Bonnie C. Baker Although the Σ converter absorbs the computational overhead of the digital filtering function, there is a slight variation for digital output to digital output. The accuracy of the digital output code is affected by the cumulative noise at the time of the conversion. This noise can be generated by the circuit and injected into the A/D converter through the input pins, reference pin or power supply connections. Alternatively, the noise can also be generated by the device itself. Effective resolution is defined as the statistical standard deviation (Vrms) of multiple conversions. A sample size of 256 was used to characterize the ADS2x family of products. Smaller sample sizes are also appropriate. Although noise is a random event and any amplitude is theoretically possible, the occurrence of each output over time can be reliably predicted with the Gaussian distribution statistical model. When the rms value is multiplied by twice the crest factor, a peak-to-peak equivalent can be computed. The Gaussian distribution, shown in Figure, illustrates that the likelihood of large values decrease with increased magnitude. The probability of exceeding a value above the rms (one standard deviation) can be anticipated with a crest factor (peak/rms). Peak-to-peak values can be predicted with a 2x crest factor. Figure illustrates the probability of a specific output deviation for the average output vs the 2x crest factor multiple. For instance, with an effective resolution of µvrms, the probability of a sample exceeding ±2.625µV (2x crest factor = 5.25) from the average output is 0.0. If a 2x crest factor of 6.6 is applied, the probability of the output exceeding ±3.3µV of the average output is 0.00. Probability of Higher Peaks P-P NOISE CALCULATIONS FROM RMS.0 0. 0.0 0.00 0.000 0.0000 0.00000 0.000000 0.0000000 0.00000000 2 3 4 5 6 7 8 9 0 2x Crest Factor (Vp-p/Vrms) FIGURE. When converting rms noise to peak-to-peak noise a crest factor can be used as a multiplying constant which predicts the probability of peaks occurring beyond the peak-to-peak noise calculation. 2 3 4 997 Burr-Brown Corporation AB-20 Printed in U.S.A. September, 997 SBAA07
The 2x crest factor constant can be chosen to meet the application need, however, 6.6 is the standard that Burr- Brown has chosen to use to define Noise Free Bits. With this 2x crest factor, Noise Free Bits = Effective bits rms 2.723 bits. Using the ADS20/ as an example, Table I illustrates the relationship of bits rms (FSR = 0V), Vrms, p-pv and Noise Free Bits (FSR = 0V). In this table the data rate is defined as the frequency of the digital output data produced by the converter. The Turbo Mode (in this case, 6) is an ADS20/ feature that is used to increase the modulator sampling rate by 2, 4, 8 or 6 times normal. An increase in sampling rate is equated with an increase in effective resolution. EFFECTIVE EFFECTIVE RESOLUTION EFFECTIVE DATA EFFECTIVE RESOLUTION (p-pµvrms, NOISE RATE (Hz) BITS rms (µvrms) 2x crest factor = 6.6) FREE BITS 40 23.0.0 6.6 20.28 50 23.0.0 6.6 20.28 60 23.0.0 6.6 20.28 00 22.5.4 9.24 9.78 000 20.0 7.8 5.48 7.28 TABLE I. Using the ADS20/ as an example, the various ways of calculating the accuracy of the conversion process are shown. The translation from effective bits to effective resolution or visa versa is: 0V 20 log.76 ER in Vrms ER in bits rms = 6.02 ER in Vrms = 0 0V 6.02 ER in bits rms +. 76 20 With the ADS20/, the turbo mode function allows the user to program the over sampling speed of the converter. The turbo mode function is the key to achieving 23 bits rms of effective resolution. As the turbo mode is increased, the effective resolution is also increased. Table II shows the relationship between Turbo Mode and various data rates. NOISE LEVEL (µvrms) DATA TURBO TURBO TURBO TURBO TURBO RATE MODE MODE MODE MODE MODE (Hz) RATE = RATE = 2 RATE = 4 RATE = 8 RATE = 6 0 2.9.7.3 20 4.3 2..7.3 40 6.9 3.0 2.3.6.0 50 8. 3.2 2.4.8.0 60 0.5 3.9 2.6.9.0 00 26.9 6.9 3.5 2.7.4 000 6909.7 354.4 238.4 46.6 7.8 TABLE II. This table demonstrates that the performance of the ADS20 and ADS2 can be adjusted with changes in Turbo mode and decimation ratio. PROGRAM THE CONVERTER S TURBO MODE AND DECIMATION RATIO The ADS20/ default data rate is (850 x X IN /0 7 )Hz. For example, if the external clock to the A/D converter (X IN ) is 0MHz, the default data rate would be 850Hz. The data rate of the A/D converter is easily measured by putting a oscilloscope probe on the DRDY pin. This default data rate is achieved with a decimation ratio of 23 (decimal) and a turbo mode of one. When the ADS20/ is programmed in this manner, the expected effective resolution is approximately 2 bits rms (given X IN = 0MHz). Before 23 bits rms of effective resolution can be realized, the turbo mode and decimation ratio must be re-programmed into the A/D converter. Table III lists the suggested turbo mode and decimation ratio vs external clock (X IN ) that is required to get 23 bits rms effective resolution. It is useful to note that the setting for the Programmable Gain Amplifier (PGA) inside the Σ converter is always configured as equal to one if 23 bits rms of effective resolution is the desired goal. ACCEPTABLE EXTERNAL CLOCK RECOMMENDED DECIMATION EXPECTED FREQUENCY, X IN TURBO MODE RATIO(s) DATA RATE (Hz) 0MHz 6 5200 to 8000 40Hz to 60Hz 5MHz 8 782 0Hz 2.5MHz 6 782 0Hz TABLE III. The A/D converter s turbo mode and decimation ratio must be re-programmed from its default setting in order to achieve 23 bits rms of effective resolution. FOLLOW GOOD GROUND AND POWER PLANE LAYOUT PRACTICES The best layout approach is to power the analog section of the A/D converter from one supply and the digital section from a separate +5V supply. In this configuration, the analog supply should come up first insuring that the substrate is not reverse biased causing a latch condition. Good decoupling practices should be used for the A/D converter on both the analog and digital supplies. A µf to 0µF capacitor, in parallel with a 0.µF ceramic capacitor is recommended. All decoupling capacitors should be placed as close to the device as possible, particularly the 0.µF ceramic capacitors. For either supply, high frequency noise will generally be rejected by the digital filter except for integer multiples of the modulator frequency. In particular, the analog supply should be well regulated and with low noise. The Power Supply Rejection vs Frequency graph shown in Figure 2. The DEM-ADS20/ can be used to illustrate the importance of these grounding and power supply practices. Since the segregation of the analog and digital supplies on the power plane and ground plane is the same, the ground plane is shown in Figure 3 and used for this discussion. The device s analog pins (, 2, 3, 4, 5, 6, 7, 9, 20, 2, 22, 23, and 24 in the case of the ADS2) are all on the analog ground and power plane. The device s digital pins (8, 9, 0,, 2, 3, 4, 5, 6, 7, and 8 in the case of the ADS2) are 2
FIGURE 3. The DEM-ADS20/ demonstration fixture analog and digital power planes are separated as shown above. PSRR (db) 85.0 80.0 75.0 70.0 PSRR vs FREQUENCY 65.0 0. 0 00 k 0k 00k Frequency (Hz) FIGURE 2. Good grounding practices and layout practices suggest that the analog and digital power planes be separate. The ADS20 and ADS2 power supply rejection versus frequency are shown here, emphasizing that noise reduction techniques should be applied to the power supply busses. all on the DUT (Device Under Test) digital ground and power plane (see Figure 3). The digital pins of the A/D converter interface to the DUT Controller µp, 8xC5 (U4). This µp and the Memory Controller µp (8xC5, U5) along with the digital memory chips have their own ground and power plane that are partially partitioned from the DUT digital ground and power plane. With this layout, the current paths of the digital portion of the board are steered towards the power connector instead of past the digital side of the A/ D converter. Power is supplied to the board via the analog power supply connector, P4, and the digital supply connector, P5. At first glance, this layout would suggest that the demo board designer has gone to extraordinary efforts to optimize the board layout for these high resolution Σ converters. If the A/D converter plus a few logic chips were the only parts on the board, the ground and power plane layout restrictions can be relaxed. If there is a minimum amount of glue logic in the layout, the A/D converters can achieve 23 bits of resolution with one ground and power plane. The key to a successful 23-bit system is to keep the digital return currents away from the analog front end of the circuit. Pay particular attention to the clocking network s current paths and high frequency coupling. Extra caution should be taken with the surface mount versions of the ADS20 and ADS2. Since the substrate of the chip is physically closer to the board than it would be with a plastic DIP, the power plane and ground plane should be removed from underneath the chip. The DEM-ADS20/ board lends itself for easy experimentation in exploring different power layout configurations. The results are summarized in Table IV. It is useful to note that the DEM-ADS20/ has a fair amount of logic on the board, including two µp and an array of memory chips. The data in Table IV illustrates the affects of digital noise coupling into the analog signal path and consequently increasing the noise floor. SELECT THE RIGHT EXTERNAL CLOCK SOURCE The type of clock that is used with the ADS2x does have an effect on the noise performance of the device, particularly when calibration is used. The noise seems to increase as the clock gets further away from a perfect sine wave. For instance, a square wave that is rich in harmonics can cause the most problems. A square wave is rich is harmonics which are easily coupled from trace-to-trace or from the digital-to-analog planes. Careful layout may reduce the affects of this noise source. In terms of calibration, the self calibration process of the 3
EFFECTIVE EFFECTIVE RESOLUTION RESOLUTION TEST CONDITIONS (µvrms) (Bits rms) Short analog and DUT digital ground and power 8 8.8 at the chip by shorting pin 6 (AGND) to pin 2 (DGND) and pin 9 (AV DD ) to pin 3 (DV DD ). Short analog and DUT digital ground at the 8 8.8 chip by shorting pin 6 (AGND) to pin 2 (DGND). Short analog and DUT digital power at the chip 8 8.8 by shorting pin 9 (AV DD ) to pin 3 (DV DD ). Short analog and DUT digital ground and power 5 20.6 at the edge of the board by inserting a shorting bar in R (for ground short) and CRN2 (for power plane short). Short analog and DUT digital ground at the 5 20.6 edge of the board by inserting a shorting bar in R. Short analog and DUT digital power at the edge 5 20.6 of the board by inserting a shorting bar CRN2. Connect the power to the board from the bench 23 power supply with four one inch wires. TABLE IV. ADS2, X IN = 0MHz, data rate = 60Hz, Turbo Mode = 6, PGA =, expected number of effective bits rms = 23. converter disconnects the inputs from the input pins and performs the self calibration. Once the device goes into normal operation, the noise from a non-perfect sine wave oscillator can be coupled into the high impedance input nodes. In these application, operation should improve if a system calibration is used. AN EXTERNAL VS INTERNAL 2.5V REFERENCE An external reference is recommended for the circuit design where 23 bits rms effective resolution is the design goal. The recommended circuit configuration is shown in Figure 4. In this circuit a REF004-2.5, 2.5V reference from Burr-Brown is used. This same reference chip along with the support circuitry is implemented on the demonstration fixture for the ADS20 and ADS2, (DEM-ADS20/). The internal reference for the device will usually provide at most 20 bits rms, regardless of the other measures to achieve optimum performance. Since the ADS20 and ADS2 reference is a CMOS reference, it has more noise than an equivalent bipolar reference. The effective resolution graphs included in the product data sheet for the ADS20/ products were generated with an external reference (REF004-2.5). SPECIAL CARE WITH THE INPUT PINS In terms of the differential analog inputs, there is one pair inputs with the ADS20 and four pairs with the ADS2. Three techniques can be used to reduce the input noise to the converter at these pins. A primary consideration is to make Analog Power Supply J4 +5V R8 50kΩ U3 REF004 C 2 0µF R3 0Ω C9 µf 22 23 24 2 3 4 5 7 6 9 C5 0.µF 2 20 A IN 4P A IN 4N A IN 3P A IN 3N A IN 2P A IN 2N A IN P A IN N VBIAS AGND AV DD REF IN REF OUT X OUT 0 X IN 8 MODE 7 DRDY 6 SDOUT 5 SDIO 4 SCLK 9 DSYNC 8 CS DV DD 3 ADS2 DGND 2 FIGURE 4. This is the recommended external reference circuit for the ADS20 and ADS2 when an effective resolution of 23 bits rms is required. 4
the leads from the input sources as short as possible. This is done to avoid EMI effects that could be coupled into the inputs pins of the converter. A 0.µF capacitor should be placed directly across the differential inputs. This is done to attenuate high frequency noise that is present at the input pins of the device. The third noise reduction technique is to insert an anti-aliasing filter on each analog input pin. This is recommended to reduce high frequency out of band noise from entering the converter and aliasing into the digital output signal. When testing these noise reductions techniques, the user should be aware of a specific type of device noise that is shown in Figure 5. This type of noise is known to exist in converters using the Σ topology. Certain low voltage inputs create a low level rms noise at the output of the A/D converter. These outputs seem to have a low frequency component or tone. RMS Noise (ppm) 2.5 2.0.5.0 RMS NOISE vs INPUT VOLTAGE LEVEL (60Hz Data Rate) 0.5 5.0 4.0 3.0 2.0.0 0.0 2.0 3.0 4.0 5.0 Analog Input Differential Voltage (V) of, and decimation ratio of 95 giving a data rate of 00Hz. The average output of this data (referred to voltage input) is 43µV with a standard deviation of 32µVrms. The expected performance of the ADS2 in this configuration is.4µvrms, per Table II. The data in Figure 7 is taken from the same device with a slight variation in the layout. The length of the converter input leads is changed from six inches to one inch. One Tenth Volts.00E 0.00E.00E 2.00E 3.00E 4.00E 5.00E 6.00E 7.00E 8.00E ADS20 TURBO 6, PGA, DR 325, 00Hz, V IN = 0V 9.00E 5 0 5 20 25 Samples FIGURE 6. The peaks shown in Figure 4 have a very low frequency content. The frequency and magnitude of these tones changes with layout and A/D converter programming of turbo mode and data rate. This data was taken with the a XIN of 0MHz, PGA of, decimation ratio of 95 and a turbo mode of one. FIGURE 5. The noise shown in this graph is only apparent after the noise levels of the ADS20 and ADS2 conversion process has been reduced through techniques discussed in this application. These techniques include proper programming of the modulator, proper data rates, and proper power plane layout. The tones originate when the modulator output is 0000...or 000... or 00000000, etc. That is, the modulator output is a very short sequence of s and 0s that repeat very often. This produces digital numbers in the digital filter that are close to a major bit transition (such as 0... 000000...). Every so often, the modulator output skips a sequence. For example, 0000 becomes 0000. This occasional skip seems to come along at a very low frequency. Thus, the digital filter believes that there is actually a low-level signal there. An example of this idle tone is shown in Figure 6. These tones are very difficult to find and are usually the last issue to deal with when trying to obtain 23 bits rms of effective resolution. In the example in Figure 6, the A/D converter, ADS2, is configure in a PGA gain of one, Turbo mode One Tenth Volts 2.22E 2.24E 2.26E 2.28E 2.30E 2.32E 2.34E ADS20 TURBO 6, PGA, DR 325, 00Hz, SMALL INPUT 2.36E 5 0 5 20 25 Samples FIGURE 7. This data is taken from the same device in the same conditions as in Figure 5 with a slight variation in the layout. The length of the input leads is changed from six inches to one inch. 5
Also, note that the characteristics of the tone is dependent on the layout of the ADS20/. We have taken an ADS20/ out of the demonstration board socket (DEM-ADS20/), plugged it back in, and seen a change in the oscillation amplitude and frequency. A soldered part, particularly a surface mount part, should have smaller idle tones and better performance. Another way to reduce the idle tone problem is to introduce a small offset voltage to the signal. As illustrated in Figure 5, a small offset voltage can take the converter away from the sensitive input voltages that cause the problem. CONCLUSION The short cut to 23 bits rms of effective resolution with the ADS20 and ADS2 gives attention to optimizing the converter s programming, circuit layout, a proper clock source, and special care with the analog input pins. The converter should be configured in a Turbo Mode of 6 and data rates from to 0Hz to 60Hz. The analog and digital power and grounds should be carefully separated for optimal performance. A crystal oscillator is recommended, although, clock oscillators can be used with great care. An external reference is also recommended if 23 bits rms is the desired effective resolution. The analog input leads to the input of the A/D converter must be a short as possible and properly filtered. REFERENCES () Ryan, Scranton, DC Amplifier Noise Revisited, Analog Devices, Analog Dialogue, 984, pg 8-. (2) ADS20, ADS2, 24-bit Analog-to-Digital Converter, Product Data Sheet PDS-248, Burr-Brown Corporation. 6
IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI s publication of information regarding any third party s products or services does not constitute TI s approval, warranty or endorsement thereof. Copyright 2000, Texas Instruments Incorporated