AN132 - Fidelity Testing for A to D Converters · requires construction of its elements and...

8
Application Note 132 AN132-1 an132f February 2011 Fidelity Testing for AD Converters Proving Purity Jim Williams and Guy Hoover Introduction The ability to faithfully digitize a sine wave is a sensitive test of high resolution AD converter fidelity. This test requires a sine wave generator with residual distortion products approaching one part-per-million. Additionally, a computer-based AD output monitor is necessary to read and display converter output spectral components. Performing this testing at reasonable cost and complexity requires construction of its elements and performance verification prior to use. Overview Figure 1 diagrams the system. A low distortion oscillator drives the AD via an amplifier. The AD output interface formats converter output and communicates with the computer which executes the spectral analysis software and displays the resulting data. Oscillator Circuitry The oscillator is the system’s most difficult circuit design aspect. To meaningfully test 18-bit ADs, the oscillator must have transcendentally low levels of impurity, and these characteristics must be verified by independent means. Figure 2 is basically an “all inverting” 2kHz Wien bridge design (A1-A2) adapted from work by Winfield Hill of Harvard University. The original designs J-FET gain control is replaced with a LED driven CdS photocell isola- tor, eliminating J-FET conductivity modulation introduced errors and the trim required to minimize them. Band limited A3 receives A2 output and DC offset bias, providing output via a 2.6 KHz filter which drives the AD input amplifier. Automatic gain control (AGC) for the A1-A2 oscillator is taken from the circuit output (“AGC sense”) by AC-coupled A4 which feeds rectifier A5-A6. A6’s DC output represents the AC amplitude of the circuit output sine wave. This value is balanced against the LT ® 1029 reference by current summing resistors which terminate into AGC amplifier A7. A7, driving Q1, closes a gain control loop by setting LED current, and hence CdS cell resistance, to stabilize oscilla- tor output amplitude. Deriving gain control feedback from the circuit’s output maintains output amplitude despite the attenuating band-limiting response of A3 and the output filter. It also places demands on A7 loop closure dynamics. Specifically, A3’s band limiting combines with the output filter, A6’s lag and ripple reduction components in Q1’s base to generate significant phase delay. A 1μF dominant pole at A7 along with an RC zero accommodates the DATA ACQUISITION/ INTERFACE 100MHz CLOCK AN132 F01 A D A D INPUT AMPLIFIER 2kHz OSCILLATOR COMPUTER AND DISPLAY SOFTWARE Figure 1. Block Diagram of AD Spectral Purity Test System. Assuming a Distortionless Oscillator, Computer Displays Fourier Components Due to Amplifier and AD Infidelities L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks and PScope is a trademark of Linear Technology Corporation. All other trademarks are the property of their respective owners.

Transcript of AN132 - Fidelity Testing for A to D Converters · requires construction of its elements and...

Application Note 132

AN132-1

an132f

February 2011

Fidelity Testing for A→D ConvertersProving Purity

Jim Williams and Guy Hoover

Introduction

The ability to faithfully digitize a sine wave is a sensitive test of high resolution A→D converter fidelity. This test requires a sine wave generator with residual distortion products approaching one part-per-million. Additionally, a computer-based A→D output monitor is necessary to read and display converter output spectral components. Performing this testing at reasonable cost and complexity requires construction of its elements and performance verification prior to use.

Overview

Figure 1 diagrams the system. A low distortion oscillator drives the A→D via an amplifier. The A→D output interface formats converter output and communicates with the computer which executes the spectral analysis software and displays the resulting data.

Oscillator Circuitry

The oscillator is the system’s most difficult circuit design aspect. To meaningfully test 18-bit A→Ds, the oscillator must have transcendentally low levels of impurity, and these characteristics must be verified by independent means. Figure 2 is basically an “all inverting” 2kHz Wien

bridge design (A1-A2) adapted from work by Winfield Hill of Harvard University. The original designs J-FET gain control is replaced with a LED driven CdS photocell isola-tor, eliminating J-FET conductivity modulation introduced errors and the trim required to minimize them. Band limited A3 receives A2 output and DC offset bias, providing output via a 2.6 KHz filter which drives the A→D input amplifier. Automatic gain control (AGC) for the A1-A2 oscillator is taken from the circuit output (“AGC sense”) by AC-coupled A4 which feeds rectifier A5-A6. A6’s DC output represents the AC amplitude of the circuit output sine wave. This value is balanced against the LT®1029 reference by current summing resistors which terminate into AGC amplifier A7. A7, driving Q1, closes a gain control loop by setting LED current, and hence CdS cell resistance, to stabilize oscilla-tor output amplitude. Deriving gain control feedback from the circuit’s output maintains output amplitude despite the attenuating band-limiting response of A3 and the output filter. It also places demands on A7 loop closure dynamics. Specifically, A3’s band limiting combines with the output filter, A6’s lag and ripple reduction components in Q1’s base to generate significant phase delay. A 1μF dominant pole at A7 along with an RC zero accommodates the

DATAACQUISITION/

INTERFACE

100MHzCLOCK

AN132 F01

A DA DINPUT

AMPLIFIER

2kHzOSCILLATOR

COMPUTERAND

DISPLAY

SOFTWARE

Figure 1. Block Diagram of A→D Spectral Purity Test System. Assuming a Distortionless Oscillator, Computer Displays Fourier Components Due to Amplifier and A→D Infidelities

L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks and PScope is a trademark of Linear Technology Corporation. All other trademarks are the property of their respective owners.

Application Note 132

AN132-2

an132f

7.87k0.1%

7.87k0.1%

40.2k0.1% 9.09k*

130Ω

TO A DAMPLIFIER

INPUT

0.47

5V4.5V

0.5V

4V BIASEDON 0.5V≈2kHz

0V

≈2kHz

12k*

249Ω 909Ω*

100Ω5%

470Ω5%

10k 5k 10k

10k1N4148

10k

1M

AN132 F02

0.1 AGCSENSE

OUTPUT AMP AND FILTER

DC OFFSET

OSCILLATOR

AGC

RECTIFIER

28k

–15V

4.3k5%

12k

12k

10μFLT10295V

36k5%

100k

19.1k0.1%

100Ω

15V 15V

100μF

Q12N3904

470Ω5%TRIM 100Ω ADJ

FOR ≈5VACROSS HERE

0.01μF

0.01μF

5pF

0.0068

15μF

1μF

1μF

+A1

LT1468–

+A2

LT1468

BYPASS EACH AMPLIFIER WITH 10μF OS-CON

NO CERAMIC CAPACITORS ANYWHERE. USE MYLAR OR SILVER MICA

0.01μF = POLYSTYRENE PERFERRED. POLYPROPELENE, PPS ACCEPTABLE. OUTER FOIL TO AMPLIFIER OUTPUT

* = IRC TYPE CAR-5, 1%

RESELECT 909Ω IN SERIES WITH 100Ω TRIM IF NECESSARY

ALL = 1% METAL FILM UNLESS NOTED

0.1% = IRC TYPE CAR-5

= SILONEX NSL32SR3

+A3

LT1468

++

+

A7LT1006

+

A6LT1122

+

A5LT1122

1N4148

A4LT1122

+

47μF+

+

Figure 2. Wien Bridge Oscillator Uses Inverting Amplifiers in Signal Path, Achieves 3ppm Distortion. LED Photocell Replaces Usual J-FET as Gain Control, Eliminating Conductivity Modulation Induced Distortion. A3 Associated Filtering Attenuation is Compensated by Sensing AGC Feedback at Circuit Output. DC Offset Biases Output Into A→D Input Amplifier Range

delay, achieving stable loop compensation. This approach replaces closely tuned high order output filters with simple RC roll-offs, minimizing distortion while maintaining output amplitude1.

Eliminating oscillator related components from the LED bias is essential to maintaining low distortion. Any such residue will amplitude modulate the oscillator, introducing impure components. The band-limited AGC signal forward path is well filtered and the heavy RC time constant in Q1’s base provides a final, steep roll-off. Figure 3, Q1’s emitter current, shows about 1nA of oscillator related ripple out of a 10mA total, less than 0.1ppm.

HORIZ = 500μs/DIV

A = 2V/DIVON 0.5V DC

B = 10nA/DIVON 10mA DC

30kHz BW

AN132 F03

Figure 3. Oscillator (Trace A) Related Residue (Trace B), Just Discernible in Q1 Emitter Noise, ≈1nA, About 0.1ppm of LED Current. Characteristic, Deriving From Heavy AGC Signal Path Filtering, Prevents Modulation Products From Influencing Photocell Response

Note 1. This is loosely akin to forcing food through a meat grinder to produce purée.

Application Note 132

AN132-3

an132f

The oscillator achieves its performance using only a single trim. This adjustment, which centers AGC capture range, is set in accordance with the schematic note.

Verifying Oscillator Distortion

Verifying oscillator distortion necessitates sophisticated measurement techniques. Attempts to measure distortion with a conventional distortion analyzer, even a high grade type, encounter limitations. Figure 4 shows oscillator output (Trace A) and its indicated distortion residuals at the analyzer output (Trace B). Oscillator related activity is faintly outlined in the analyzer noise and uncertainty floor. The HP-339A employed specifies a minimum measurable distortion of 18ppm; this photograph was taken with the instrument indicating 9ppm. This is beyond specification, and highly suspect, because of the pronounced uncer-tainties introduced when measuring distortion at or near equipment limits2. Specialized analyzers with exquisitely low uncertainty floors are needed to meaningfully measure oscillator distortion. The Audio Precision 2722, specified at a 2.5ppm Total Harmonic Distortion + Noise (THD + N) limit (1.5ppm typical), supplied Figure 5’s data. This figure

indicates a Total Harmonic Distortion (THD) of –110dB, or about 3ppm. Figure 6, taken with the same instrument, shows THD + N of 105dB, or about 5.8ppm. In Figure 7’s final test, the analyzer determines the oscillator’s spectral components with the third harmonic dominating at –112dB, or about 2.4ppm. These measurements provide confidence in applying the oscillator to A→D fidelity characterization.

A→D Testing

A→D testing routes oscillator output to the A→D via its input amplifier. The test measures distortion products produced by the input amplifier/A→D combination. A→D output is examined by the computer, which quantitatively indicates spectral error components in Figure 8’s display.3 The display includes time domain information showing the biased sine wave centered into the converter’s operating range, a Fourier transform indicating spectral error com-ponents and detailed tabulated readings. The LTC®2379 18-Bit A→D/LT6350 amplifier combination under test produces 2nd harmonic distortion of –111dB, about 2.8ppm, with higher frequency harmonics well below this level. This indicates the A→D and its input amplifier are operating properly and within specifications. Possible harmonic cancellation between the oscillator and amplifier/A→D mandates testing several amplifier/A→D samples to enhance measurement confidence4.

HORIZ = 200μs/DIV AN132 F04

A = 2V/DIV

B = 9ppmINDICATED

DISTORTION

Figure 4. HP-339A Distortion Analyzer Operating Beyond Its Resolution Limit Provides Misleading Distortion Indication (Trace B). Analyzer Output Contains Uncertain Combination of Oscillator and Instrument Signatures and Cannot Be Relied Upon. Trace A Is Oscillator Output

Note 2. Distortion measurements at or near equipment limits are full of unpleasant surprises. See LTC Application Note 43, “Bridge Circuits”, Appendix D, “Understanding Distortion Measurements” by Bruce Hofer of Audio Precision.Note 3. Input amplifier/A→D converter, computer data acquisition and clock boards, necessary for testing, are available from LTC. Software code may be downloaded at www.linear.com. See Appendix A “Tools for A→D Fidelity Testing” for details.Note 4. Review text section, “Verifying Oscillator Distortion” and footnote 2 for relevant commentary.

Application Note 132

AN132-4

an132f

Figure 5. Audio Precision 2722 Analyzer Measures Oscillator THD at –110dB, About 3ppm

AN132 F05

Application Note 132

AN132-5

an132f

Figure 6. AP-2722 Analyzer Measures Oscillator THD + N at ≈ –105dB, About 5.8ppm

AN132 F05

Application Note 132

AN132-6

an132f

Figure 7. AP-2722 Spectral Output Indicates 3rd Harmonic Peak at –112.5dB, ≈2.4ppm

Figure 8. Figure 1’s Test System Partial Display Includes Time Domain Information, Fourier Spectral Plot and Detailed Tabular Readings for LTC2379 18-Bit A→D Driven by LT6350 Amplifier

AN132 F07

AN132 F08

Application Note 132

AN132-7

an132f

Information furnished by Linear Technology Corporation is believed to be accurate and reliable. However, no responsibility is assumed for its use. Linear Technology Corporation makes no representa-tion that the interconnection of its circuits as described herein will not infringe on existing patent rights.

APPENDIX A

Tools for A→D Fidelity Testing

Circuit boards for implementing the text’s A→D testing are available. Table 1 lists the board functions and their part numbers. The computer software, PScope™, is also available from Linear Technology and may be downloaded at www.linear.com.

Table 1BOARD FUNCTION PART NUMBER

LT6350/LTC1279 Amp/A→D DC-1783A-E

Interface DC718

100MHz Clock* DC1216A-A

Oscillator To Be Released

*Any stable, low phase noise 3.3V clock capable of driving 50Ω may be used.

Application Note 132

AN132-8

an132f

Linear Technology Corporation1630 McCarthy Blvd., Milpitas, CA 95035-7417 (408) 432-1900 ● FAX: (408) 434-0507 ● www.linear.com © LINEAR TECHNOLOGY CORPORATION 2011

LT 0211 • PRINTED IN USA

“Summon a vision and declare it pure.”

–Theodore Roethke

“Four for Sir John Davies”

1953