SUPERPOSITION: THE HIDDEN DAC LINEARITY ERROR



Similar documents
WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Signal Conditioning Wheatstone Resistive Bridge Sensors

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

Designing Gain and Offset in Thirty Seconds

APPLICATION BULLETIN

How To Close The Loop On A Fully Differential Op Amp

Pressure Transducer to ADC Application

TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS

Audio Tone Control Using The TLC074 Operational Amplifier

Understanding the Terms and Definitions of LDO Voltage Regulators

Wide Bandwidth, Fast Settling Difet OPERATIONAL AMPLIFIER

Signal Conditioning Piezoelectric Sensors

RETRIEVING DATA FROM THE DDC112

TSL INTEGRATED OPTO SENSOR

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Filter Design in Thirty Seconds

How To Make A Two Series Cell Battery Pack Supervisor Module

Frequency Response of Filters

Buffer Op Amp to ADC Circuit Collection

Simplifying System Design Using the CS4350 PLL DAC

SN54HC157, SN74HC157 QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

APPLICATION BULLETIN

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

Basic Op Amp Circuits

Section 3. Sensor to ADC Design Example

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

Current-Transformer Phase-Shift Compensation and Calibration

SN28838 PAL-COLOR SUBCARRIER GENERATOR

Conversion Between Analog and Digital Signals

A Collection of Differential to Single-Ended Signal Conditioning Circuits for Use with the LTC2400, a 24-Bit No Latency Σ ADC in an SO-8

August 2001 PMP Low Power SLVU051

Complete, High Resolution 16-Bit A/D Converter ADADC71

Scaling and Biasing Analog Signals

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

Op amp DC error characteristics and the effect on high-precision applications

AAT3520/2/4 MicroPower Microprocessor Reset Circuit

Application Report SLVA051

Smart Battery Module with LEDs and Pack Supervisor

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

Application Report SLOA030A

IrDA Transceiver with Encoder/Decoder

How To Calculate The Power Gain Of An Opamp

NTE923 & NTE923D Integrated Circuit Precision Voltage Regulator

Lab 7: Operational Amplifiers Part I

TS321 Low Power Single Operational Amplifier

bq2114 NiCd or NiMH Gas Gauge Module with Charge-Control Output Features General Description Pin Descriptions

Designing With the SN54/74LS123. SDLA006A March 1997

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

Building the AMP Amplifier

LM337. Three-terminal adjustable negative voltage regulators. Features. Description

AAV003-10E Current Sensor

Data Sheet January Features. Pinout. NUMBER OF BITS LINEARITY (INL, DNL) TEMP. RANGE ( o C) PACKAGE PKG. NO.

Digital to Analog and Analog to Digital Conversion

Features. Note Switches shown in digital high state

AN1991. Audio decibel level detector with meter driver

Application Note 142 August New Linear Regulators Solve Old Problems AN142-1

IC Temperature Sensor Provides Thermocouple Cold-Junction Compensation

LC2 MOS Quad 8-Bit D/A Converter AD7226

Using the Texas Instruments Filter Design Database

Texas Instruments. FB PS LLC Test Report HVPS SYSTEM AND APPLICATION TEAM REVA

SN54ALS191A, SN74ALS191A SYNCHRONOUS 4-BIT UP/DOWN BINARY COUNTERS

Reading: HH Sections , (pgs , )

Series and Parallel Circuits

Transistor Amplifiers

Model AD558J AD558K AD558S 1 AD558T 1 Min Typ Max Min Typ Max Min Typ Max Min Typ Max Units

TL783C, TL783Y HIGH-VOLTAGE ADJUSTABLE REGULATOR

Operational Amplifier - IC 741

Measuring Insulation Resistance of Capacitors

The sensor can be operated at any frequency between DC and 1 MHz.

INTEGRATED CIRCUITS. NE558 Quad timer. Product data Supersedes data of 2001 Aug Feb 14

Motor Speed Measurement Considerations When Using TMS320C24x DSPs

ICL8038. Features. Precision Waveform Generator/Voltage Controlled Oscillator. Ordering Information. Pinout. Functional Diagram

Controlling TAS5026 Volume After Error Recovery

AN48. Application Note DESIGNNOTESFORA2-POLEFILTERWITH DIFFERENTIAL INPUT. by Steven Green. 1. Introduction AIN- AIN+ C2

High Common-Mode Rejection. Differential Line Receiver SSM2141. Fax: 781/ FUNCTIONAL BLOCK DIAGRAM FEATURES. High Common-Mode Rejection

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C3x DSPs

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Basic RTD Measurements. Basics of Resistance Temperature Detectors


DAC Digital To Analog Converter

Lock - in Amplifier and Applications

Counters and Decoders

Measuring Temperature withthermistors a Tutorial David Potter

TOSHIBA Bipolar Linear Integrated Circuit Silicon Monolithic TAR5SB15~TAR5SB50

Current vs. Voltage Feedback Amplifiers

Description. Table 1. Device summary

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

UA741. General-purpose single operational amplifier. Features. Applications. Description. N DIP8 (plastic package)

Digital to Analog Converter. Raghu Tumati

Contents. Document information

AN111: Using 8-Bit MCUs in 5 Volt Systems

Transcription:

SUPERPOSITION: THE HIDDEN D LINERITY ERROR s More Ds ecome vailable With Resolutions of 12 its and Greater, Users Should Know the auses and Effects of Superposition Error on Relative and bsolute ccuracy and What to Do to Minimize It. digital-to-analog converter (D) translates digital signals to analog signals. For example, a 12-bit D takes a 12-bit binary number, called an input code, and converts it into one of 4,96 analog output voltages or currents. When the contribution to the output voltage or current of each individual bit is independent of any other, it means that the device exhibits no superposition error or that superposition holds. For a D with little or no superposition error, the linearity error for any given code will relate to the linearity error at some different code. This allows you to determine the worst case linearity error, and the digital code where that error occurs, with a very simple test. (1) However, if the D under test has excessive superposition error, this simple test will give erroneous results; therefore, you must test all digital codes to determine the worst case error and code. Superposition error, or bit interaction, often is significant in converters with a resolution of 12 to 16 bits. If the error becomes large enough, a D may fail to meet a 1/2LS linearity error or relative accuracy specification even with each individual bit adjusted perfectly. This specification becomes important in many applications such as automatic test equipment or precision voltage standards where the absolute value of the output voltage must remain within specified limits after calibration of offset and gain errors. For a D with low superposition, the following equation determines the output voltage, if we assume that the offset and gain errors have been removed: b 1 ( 1/2 +ε 1 )+ b 2 ( 1/4 +ε 2 )+... V O = V FS + b n ( 1/2n +ε n ), (1) where ει x V FS equals the linearity error associated with the i th bit and b i, equals the value ( or 1) of the i th bit of the D input code. Since the analog output error with all input code bits off (...) and all input bits on (111...111) has been adjusted to the summation of all the bit errors, n ( ε 1 +ε 2 +ε 3...ε n )or ε i, (2) i=i becomes zero. This means that the errors are symmetrical or, in other words, for every possible input code there exists an equal and opposite error associated with the one s complement of that code. The linearity error (sometimes called relative accuracy, integral linearity, nonlinearity or endpoint linearity) is defined as the maximum error magnitude that occurs. Now consider the relationship between the individual bit errors (ε i ) and the linearity error. There exists some digital input code (b 1, b 2... b n ) that yields the maximum linearity error (E MX ) and the one s complement of this code (b 1, b 2...b n ), that must yield an error of the same magnitude but in the opposite direction ( E MX ). The relative magnitude and polarities of the errors determine which actual input code has the most linearity error. For the error to be maximum, all of the error terms must be additive and the following proves true: E MX + E MX = b 1 ε 1 + b 2 ε 2 +... + b n ε n + b 1ε 1 + b 2ε 2 +...+b nε n 2E MX = ( b 1 + b 1 )ε 1 + ( b 2 + b 2 )ε 2 +... + ( b n + b n )ε n ; but b i + b i = 1, making the maximum linearity error: E MX = 1/2[ ε 1 +ε 2 +...+ε n ]. This result proves interesting because it relates the maximum linearity error to the individual bit errors; therefore, you can evaluate a D by simply measuring the output error associated with n digital input codes instead of all of the 2 n possible combinations. (2,3) Stated another way, the sum of the positive bit errors should equal in magnitude the sum of the negative bit errors when the gain and offset errors have been removed. ny difference in these magnitudes indicates the presence of a superposition error. If this difference proves greater than approximately 1/1 of an LS (JDE standard for superposition error), further testing may become necessary to determine the accuracy of the D. However, a superposition error of more than l/1ls does not by itself imply that a D cannot meet a linearity specification of, say, ±l/2ls; it simply means that you must conduct a more elaborate test to determine the worst case linearity error and digital input code where that error occurs. (3) (4) S47 1983 urr-rown orporation -65 Printed in U.S.. February, 1987 1

3-IT D n example illustrating the relationship between linearity error and the individual bit errors for a 3-bit D appears in Figure 1a. ny deviation in the D output from the straight line drawn between all bits off and all bits on indicates a linearity error. With the superposition error less than 1/1LS, the error pattern will appear as symmetrical around midscale as indicated. Figure 1b shows a transfer characteristic for a 3-bit D which exhibits superposition error. Note that, in this example, the symmetrical error pattern around midscale no longer exists. You must consider the difference between the electrical sum and the algebraic sum of the bit errors when determining whether to use a more comprehensive test. The data in Table I came from a 12-bit hybrid D. Note that, for this test, the full scale voltage was increased to 1.2375V, making the ideal bit weights, starting at the LS, equal to 2.5mV, 5.mV, l.mv... 2.56V, and finally 5.12V for the MS. You can memorize these numbers easily and calculate the error voltages quickly by inspection. The difference between the algebraic sum of the positive bit errors (32µV) and negative bit errors ( 31µV) equals only 1µV, which indicates a low superposition error. Thus, the maximum linearity error becomes 1/2 x (32 + 31) = 315µV. The data in Table II came from a monolithic bipolar 12-bit D. Note that the difference here between the positive bit errors (+55µV) and the negative bit error ( 1,65µV) equals 1.lmV or almost 1/2LS. In this situation, superposition does not hold and you cannot say anything definite about linearity with the data available. TESTING LL INPUT ODES When the short-cut method of measuring linearity error does not prove sufficient, you can develop a high speed measurement circuit capable of testing all 2 n code combinations. simple schematic of this type of tester appears in Figure 2. The binary counter has n + 1 stages to provide a binary count from to 2 n 1 and to reset the counters at the end of the count. The reference D and the x 1 error amplifier must have combined settling times to ±1/1LS of less than 1µs since the system clock must operate at 2kHz to have a flicker-free display. For a 12-bit converter, a complete cycle takes 5µs x 4,96 counts or approximately lms. The output of the n th counter stage also displays on the scope to indicate the midscale transition point, and offset and gain adjustment potentiometers are provided to zero the end points of the error display. D Output (V) 8.75 D Output (V) 8.75 7.5 7.5 6.25 5. Midscale 6.25 5. 3.75 2.5 1.25 3.75 2.5 1.25 Electrical Value of ode lgebraic Sum of ode 1 1 11 1 11 11 111 1 1 11 1 11 11 111 Digital Input Error (LS).5.25.25.5 Error (LS).5.25.25.5 FIGURE 1. oth of These 3-it D Transfer Functions Exhibity Errors. Linearity Error (a) exists for input codes 1, 1, 11 and 11; note the symmetry of the errors about midscale. Superposition errors (b) lack symmetry about midscale. 2

INPUT ODE IDEL OUTPUT (V) TUL OUTPUT(V) ERROR(µV) ll its On +1.2375 +1.2375 ll its Off it 1 (MS) 5.12 5.11995 5 it 2 2.56 2.55982 18 it 3 1.28 1.27994 6 it 4.64.63998 2 it 5.32.324 +4 it 6.16.164 +4 it 7.8.84 +4 it 8.4.45 +5 it 9.2.21 +1 it 1.1.12 +2 it 11.5.52 +2 it 12 (LS).25.251 +1 Positive Sum +32 Negative Sum 31 Difference +1 TLE I. In This Data from a 12-it Hybrid D, the Full- Scale Voltage Was Increased to 1.2375V, Making the Ideal it Weights, Starting at the LS, Equal to 2.5mV, 5.mV, 1.mV...2.56V and Finally 5.12V for the MS. You can easily memorize these numbers and quickly calculate the error voltages by inspection. INPUT ODE IDEL OUTPUT (V) TUL OUTPUT(V) ERROR(µV) ll its On +1.2375 +1.2375 ll its Off it 1 (MS) 5.12 5.11927 73 it 2 2.56 2.55928 72 it 3 1.28 1.27996 4 it 4.64.6413 +13 it 5.32.3213 +13 it 6.16.163 +3 it 7.8.7987 13 it 8.4.3997 3 it 9.2.2 it 1.1.18 +8 it 11.5.512 +12 it 12 (LS).25.256 +6 Positive Sum +55 Negative Sum 165 Difference 11 TLE II. Note That the Difference etween the Positivie it Errors (+55µV) and the negative bit errors ( 1,65µV) in This Data from a Monolithic ipolar D, Equals 1.1mV or lmost 1/2LS. In this situation, superposition does not hold and you cannot say anything definite about linearity with the amount of data available. This tester works well for 8-, 9-, and 1-bit converters. For a 12-bit D, the 4,96 segments displayed on the RT are spaced so close together that the switching transients create a wide band of noise making it difficult to tell if the converter meets its specification, especially with a linearity error near the ±l/2ls limit. One way around this problem, if you assume that the errors contributed by the last four bits of the D are small, entails inhibiting these bits with the ND gates shown in Figure 2; this reduces the binary count to 256 and also gives each count 16 times longer for the glitches to settle out. You can make other improvements to this tester such as automatic offset and gain error nulling, a sample/hold deglitcher to remove the glitches at the error output and a go/no go window comparator to test the linearity error at each binary count. Using the test circuit shown in Figure 2, and three different 12-bit Ds produced the oscilloscopic photographs in Figure 3. The offset and gain errors have been nulled at the left and right portions of the photographs, respectively; and the linearity error appears as the deviation from the horizontal center line of the scope, with the vertical sensitivity l/2ls per division. The digital input to the MS indicates the mid-range and full-scale binary counts The D errors displayed in Figure 3a appear symmetrically about the center of the scope, indicating very little superposition error; while those in Figure 3b are almost all positive which indicates a moderate amount of superposition error. Figure 3b shows why some manufacturers specify linearity error as the maximum deviation from a best fit straight line rather than straight line through the end points You can see, in this example, that a linearity error specification of ±l/2ls proves easier to meet when using the best fit straight-line method. In a D with symmetrical error patterns, as shown in Figure 3a, a straight line through the end points becomes the same as a best fit straight line. SOURES OF SUPERPOSITION ERROR Generally, superposition error in monolithic and hybrid converters results from the feedback resistor, R f, changing in value as the output voltage varies from V to +1V. This apparent nonlinearity comes from the variable power dissipation that occurs in this resistor which can produce a temperature rise (self-heating) of as much as 1 to 2 in some Ds. This in turn changes the absolute value of the feedback resistor since it will have a temperature coefficient (T) of between 5ppm/ and 3ppm/ for a thin-film material and over 1, ppm/ for a monolithic diffused resistor. This problem generally does not occur in discrete data converters because the physical size of the feedback resistor is so large that the temperature rise, and therefore the resistance variation, remain extremely small. In a monolithic converter, however, with real estate at a premium, the mass of the feedback resistor is often so small the large temperature rise will occur for even small changes in power dissipation due to self-heating To determine if the feedback resistor is at fault, substitute a low T external resistor for the internal feedback resistor of the D and see if the nonlinearity disappears. The oscilloscope photograph in Figure 4 shows the results of using the test circuit shown in Figure 2, the same Ds whose transfer functions appear in Figures 3a and 3b respectively, with the internal feedback resistors being replaced by low T external resistors. Note that the D errors in both cases are now almost evenly distributed about the center of the oscilloscope which indicates that the major cause of the superposition error has been removed. You cannot use an external feedback resistor, of course, in most practical applications because it will cause excessive gain drift since it will not track the internal diffused or thin-film reference resistor with variations in time and temperature. 3

D Zero djust Q One Shot +V Gain djust V 74121 3 Each 748 D Min/Max it 1 MS Q +5V D Min/Max Q 16-it urrent Output Reference D I OUT 5kΩ Error Out +5V OP111 D Min/Max Q it 12 LS Scope Synchronization 1 12 5kΩ lock 4 Each 74191 +5V D Under Test FIGURE 2. This Tester Works Well For 8-, 9-, and 1-it onverts. For a 12-bit D, the 496, segments displayed on the RT are spaced so close together that the switching transients create a wide band of noise making it difficult to tell if the converter meets its specification, especially with linearity error near the ±1/2LS limit. One way around this problem, if you assume that the errors contributed by the last four bits of the D are small, entails inhibiting these bits with the ND gates shown. 4

FIGURE 3. In These Scope Waveform Photographs Showing the Output of the Test ircuit in Figure 2, the Top Traces Indicate the Linearity Error, and the ottom Traces Reflect the Status of the MS of the Input ode. The Hybrid D (a) exhibits little superposition error, while the asymmetry of the linearity error (b) about midscale shows supersposition eror the monolithic bipolar D. The MS transition marks the horizontal center. FIGURE 4. n External Feedback Resistor an Decrease Superposition Error for the Monolithic ipolar D Shown in Figure 3b. Superposition error or bit interaction can occur in other ways by temperature gradients on a monolithic chip which cause the magnitude of a bit output to be a function of the state of the other bit switches, or by feedback resistors which have an appreciable voltage coefficient of resistance (VR), such as diffused resistors might. gain, the presence of superposition error does not mean a D will not meet its linearity specification, but you will need more extensive testing to verify if it does. Superposition error, however, is by no means the only source of linearity error. Pay attention to your wiring whenever you use or test a D. When critical portions of a circuit share the same metallization path (e.g., a metallization path on a monolithic chip or in a wirebond; the contact resistance of a socket; or the wiring resistance of a test circuit), varying voltage drops caused by changing current levels can cause serious errors which could drown out any existing superposition error. You can minimize the effect of wiring resistance (R W,) external to the D by paying careful attention to the grounding and connection scheme employed. Figure 5a shows a correct connection configuration that you can use with most commercially available Ds to yield maximum accuracy. You can reduce or eliminate the effects of various wiring and contact resistances, R 1, R 2, R 3 and R 4, as follows: R 1 appears in series with the feedback resistance and therefore introduces only a gain error that can be nulled during calibration. R 2 appears inside the output amplifier feedback loop and the loop gain will reduce its effect. R 3 appears in series with the load resistor and will cause an error in the voltage across R L. One-half LS error would result at full load for R 3 =.2Ω for a 16-bit D. Therefore, if possible, you should sense the output voltage in such a way as to include R 3. Figure 5b illustrates the optimum connection made possible by the ground sense pin available on some higher accuracy Ds. In the configuration shown, R F = R F and R = R D. This causes rejection of any signal developed across R 3 as a common mode input, and R 3 will not affect the voltage across R L. This configuration will also reject noise present on the system common. R 4 remains negligible in both circuits with ground connections made as shown. 5

R F R 1 R F R 1 R 2 R 2 I D R D I D R D R' F RL Sense Output R R L R R 3 R 3 R 4 R 4 ±15VD Supply V+ V V LOGI +5VD ±15VD Supply V+ V V LOGI +5VD () () FIGURE 5. These onnection Diagrams Show How to Reduce the Effects of Wiring and Socket Resistance for a Typical D (a) and a High ccuracy D (b). Resistors R 1, R 2, R 3 and R 4 represent wiring and contact resistance. REFERENES 1. J. Naylor, Testing Digital/nalog and nalog/digital onverters, IEEE Trans. on ircuits and Systems, Vol. S-25, No. 7, July 1978. 2. T. ate, Tom ate of urr rown Speaks Out on D/ onverter Specs, EDN/EEE, pp. 34-4, June 1, 1971. 3. P. Prazak, Progammable Handheld alculator omputes Digital-to-nalog onverter Errors, pp.122-127, omputer Design, June 1978. The information provided herein is believed to be reliable; however, URR-ROWN assumes no responsibility for inaccuracies or omissions. URR-ROWN assumes no responsibility for the use of this information, and all use of such information shall be entirely at the user s own risk. Prices and specifications are subject to change without notice. No patent rights or licenses to any of the circuits described herein are implied or granted to any third party. URR-ROWN does not authorize or warrant any URR-ROWN product for use in life support devices and/or systems. 6

IMPORTNT NOTIE 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. ll 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. ustomers 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. opyright 2, Texas Instruments Incorporated