Understanding Ratiometric Conversions

Similar documents
Application Report. 1 Description of the Problem. Jeff Falin... PMP Portable Power Applications ABSTRACT

TI and ibiquity Introduce Industry s Lowest Cost Single-Chip AM/FM and HD Radio Baseband John Gardner Digital Radio Marketing Manager

Calculating Gain for Audio Amplifiers

Design Note DN004. Folded Dipole Antenna for CC25xx By Audun Andersen. Keywords. 1 Introduction CC2500 CC2550 CC2510 CC2511

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

Data sheet acquired from Harris Semiconductor SCHS067B Revised July 2003

Data sheet acquired from Harris Semiconductor SCHS087D Revised October 2003

Pressure Transducer to ADC Application

6 Output With 1 kω in Series Between the Output and Analyzer Output With RC Low-Pass Filter (1 kω and 4.7 nf) in Series Between the Output

Data sheet acquired from Harris Semiconductor SCHS020C Revised October 2003

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

µa7800 SERIES POSITIVE-VOLTAGE REGULATORS

Using C to Access Data Stored in Program Memory on the TMS320C54x DSP


APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

TVP5146 SCART and OSD

Designing Gain and Offset in Thirty Seconds

LM5030 LM5030 Application: DC - DC Converter Utilizing the Push-Pull Topology


Choosing Inductors and Capacitors for DC/DC Converters

Optical Implementation Using IEEE-1394.b

Evaluating the complex configuration options of the Texas Instruments advanced fuel gauges can be

ORDERING INFORMATION. TOP-SIDE MARKING PDIP N Tube SN74LS07N SN74LS07N PACKAGE. SOIC D Tape and reel SN74LS07DR

Application Note AN107

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Using Code Coverage and Multi-event Profiler in Code Composer Studio v2.3 for Robustness and Efficiency Analyses

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

How To Close The Loop On A Fully Differential Op Amp

ZigBee Sensor Monitor SWRU157D 2008 Low-Power RF

White Paper on Decision of Make vs. Buy of ISM RF Module Written by Bruce Ulrich October 2006

Design Note DN002. Practical Sensitivity Testing By Morten Engjom. Keywords. 1 Introduction. Receiver Testing Sensitivity

Filter Design in Thirty Seconds

Design Note DN304. Cebal CCxxxx Development Tools USB Driver Installation Guide By Åsmund B. Bø. Keywords. 1 Introduction

LM556 LM556 Dual Timer

Current-Transformer Phase-Shift Compensation and Calibration

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Buffer Op Amp to ADC Circuit Collection

LM709 LM709 Operational Amplifier

Signal Conditioning Wheatstone Resistive Bridge Sensors

Controlling TAS5026 Volume After Error Recovery

Providing Continuous Gate Drive Using a Charge Pump

Wireless Subwoofer TI Design Tests

AN-225 IC Temperature Sensor Provides Thermocouple Cold-Junction

Combining the ADS1202 with an FPGA Digital Filter for Current Measurement in Motor Control Applications

Analysis of Power Supply Topologies for IGBT Gate Drivers in Industrial

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

APPLICATION BULLETIN

Transcoding with TI s DaVinci Technology Drives Video Market Evolution

Broadband Data, Video, Voice and Mobile Convergence Extending the Triple Play. Yigal Bitran, Chief Technology Officer

RETRIEVING DATA FROM THE DDC112

Selecting the Right Level-Translation Solution

Motor Speed Measurement Considerations When Using TMS320C24x DSPs

Evaluation Criteria for ADSL AFE1302

Smart Codec Features in TMS320DM365

TRF7960 Evaluation Module ISO Host Commands

CUSTOM GOOGLE SEARCH PRO. User Guide. User Guide Page 1

August 2001 PMP Low Power SLVU051

Using Texas Instruments Spice Models in PSpice

Importing a SPICE NetList Into TINA9-TI

Data sheet acquired from Harris Semiconductor SCHS078C -- Revised October 2003

54LS174,54LS175,DM54LS174,DM54LS175, DM74LS174,DM74LS175

Understanding the Terms and Definitions of LDO Voltage Regulators

LM388 LM W Audio Power Amplifier

User s Guide. 100-W Universal Line Input PFC Boost Converter Using the UCC User s Guide

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

Application Report SLVA051

Using the Texas Instruments Filter Design Database

TVP5146 VBI Quick Start

AN-1733 Load Transient Testing Simplified

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

DC/DC LED Lighting Developer s Kit Hardware

Ultrasonic Sensing Basics for Liquid Level Sensing, Flow Sensing, and Fluid

Multi-Transformer LED TV Power User Guide. Anderson Hsiao

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

Signal Conditioning Piezoelectric Sensors

PCIe XMC x8 Lane Adapter

Standard Linear & Logic Semiconductor Marking Guidelines

description/ordering information

THE RIGHT-HALF-PLANE ZERO --A SIMPLIFIED EXPLANATION

AN-311 Theory and Applications of Logarithmic Amplifiers

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

200-W Interleaved Forward Converter Design Review Using TI s UCC28221 PWM Controller

DS8907 DS8907 AM/FM Digital Phase-Locked Loop Frequency Synthesizer

Audio Tone Control Using The TLC074 Operational Amplifier

Tire pressure monitoring

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

WLAN Channel Bonding: Causing Greater Problems Than It Solves

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

LM138,LM338. LM138/LM338 5-Amp Adjustable Regulators. Literature Number: SNVS771A

Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP

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

TL081 TL081 Wide Bandwidth JFET Input Operational Amplifier

Simplifying System Design Using the CS4350 PLL DAC

Antenna. Reference Guide. November 1996 SCBU025

AN2680 Application note

PC BASED PID TEMPERATURE CONTROLLER

Measuring Temperature withthermistors a Tutorial David Potter

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

Next-Generation Residential Gateways: Flexibility and High-Performance will be Critical

Design Note DN041. Using CC253X or CC254X with Dipole PCB Antennas. Keywords. 1 Introduction. By Espen Wium CC2530 CC2531 CC2533 CC2540 CC2541

Transcription:

Application Report SBAA110 March 2004 Understanding Ratiometric Conversions Russell Anderson Data Acquisition Group ABSTRACT The primary factor that establishes the accuracy in most measurement systems is the reference. Ratiometric measurements change the reference from being a voltage or current to a component such as a resistor that has much tighter tolerances. This application note discusses the accuracy limits of both analog-to-digital conversions and different ratiometric configurations. Contents 1 Analog-to-Digital Conversion...2 2 ADC Accuracy Limits...2 3 Ratio Measurements...3 4 Single-Ended Ratiometric Measurements...5 5 Additional Circuits...7 6 Reference Resistance Accuracy...8 Figures Figure 1. Ratiometric RTD Measurement...3 Figure 2. Grounded Sensor...4 Figure 3. Bridge Circuit Ratiometric Measurement...4 Figure 4. Single-Ended Measurement...5 Figure 5. Single-Ended Converted to Ratiometric Resistance...6 Figure 6. Current Set Resistor for Reference...7 Figure 7. Eight Differential Measurements...8 All trademarks are the property of their respective owners. 1

1 Analog-to-Digital Conversion An Analog-to-Digital converter (ADC) measures an analog voltage and converts that measurement into a digital representation of the analog voltage. Typically, this conversion follows a procedure similar to that described by Equation 1: N ( 2 1) VIN ADC result = (1) kvref where k is generally a 1 or a 2. The ADC determines which of the 2 N values most closely reflects the input voltage. 2 ADC Accuracy Limits When making any electrical measurement, there are several factors that limit the absolute accuracy of that measurement. In particular, factors that affect the accuracy of an ADC measurement include the following: noise, offset error and drift, gain error and drift, reference voltage (V REF ) accuracy and drift, and integral non-linearity (INL). Some of these inaccuracies, such as offset error and gain error, can essentially be removed through device calibration. Noise can be reduced through averaging and other filtering techniques. Even INL can be compensated for by measuring several voltages across the input range and using that information to mathematically correct the ADC values. The remaining errors that cannot be compensated for or removed, and which are a major concern for high resolution systems, are the V REF errors. Any errors in the reference will directly affect the accuracy of the conversion results. For example, if a reference can maintain an accuracy of less than the voltage of ½ LSB, then the accuracy of the measurement is likely to be affected only by the other factors discussed previously. It is reasonable to accomplish this degree of performance with references for 8-bit ADCs. But as converters increase in resolution from 12 to 16 or even 24 bits the reference becomes more and more critical, compared with other factors, with regard to the overall accuracy of the system. There are many variables that affect the accuracy of the reference voltage. Some of these variables include initial error, temperature coefficient, noise, thermal hysteresis, long term stability, settling time, line regulation and load regulation. Each of these elements influences the accuracy available from the reference. Table 1 shows the required accuracy for different ADC resolutions. Table 1. Reference Accuracy Requirements ADC Resolution (Bits) Levels (2 N ) Reference Requirement (½ LSB) 8 256 1953ppm of FS 12 4,096 122ppm of FS 16 65,536 7.6ppm of FS 24 16,777,216 0.0298ppm of FS 2 Understanding Ratiometric Conversions

The November, 1999 Analog Applications Journal includes an article on the performance of precision voltage references (1). This investigation demonstrates that a very good reference (specifically, the Thaler VRE3050) with a constant load will have an initial accuracy error of up to 100ppm. Over temperature, the error will approach 200ppm. A less accurate precision reference (such as the Maxim MAX6250) has initial accuracies of 400ppm, increasing to more than 750ppm when temperature variations are included. Therefore, it is only on 8- or 12-bit systems that it is possible to use a reference that has errors of less than ½ LSB. 3 Ratio Measurements Quite often, the measurement of a voltage is actually being used to measure another quantity such as resistance. In such instances, the measurement can be set up to read the resistance more directly as a ratio to a reference resistor. By putting the same current through both the sensor resistance and the reference resistor, the ADC result will be a measure of the ratio of the two resistors. (See Equation 2.) N RSense N ( 2 1) = ( 2 1) iexcite RSense ADC result = (2) i R RREF EXCITE REF As one can see, the accuracy of the measurement is now set with the reference resistor. The current is no longer critical to the accuracy of the measurement. All that is required is that the current does not change during the conversion, or over-range either the reference or analog inputs of the ADC. Since it is much easier (and cheaper) to purchase high precision resistors than voltage references, the accuracy can be set to a higher level. Figure 1 shows an example ratiometric circuit using a resistance temperature detector (RTD). I OUT 1 PT100 250 100µA +IN IN IDAC MSC1211 V REF + V REF R REF 20k Figure 1. Ratiometric RTD Measurement Understanding Ratiometric Conversions 3

Because of the differential reference inputs on the MSC1211 ADC, the voltages on the reference resistor can be either more positive or negative than the sensor. The only limitation is to assure that the voltages for the reference inputs meet the input requirements as specified in the product data sheet. The IDAC output is also limited, in order for the output voltage to be less than 1.5V below the supply voltage. Using 100µA as the excitation current, the maximum voltage for the reference input would be slightly more than 2V, depending on the temperature of the thermistor or RTD. Figure 2 shows the same circuit as Figure 1, except that the sensor is now grounded, and the current flows through R REF before it reaches the sensor. 100µA I OUT 1 PT100 250 R REF 20k +IN IN V REF V REF + MSC1211 IDAC Figure 2. Grounded Sensor Another possibility is to use a bridge excitation voltage as the reference voltage, as shown in Figure 3. In this case, any changes in the excitation voltage will be seen in both the bridge output voltage and the reference voltage. V EXT +IN IN V REF + ADC V REF Figure 3. Bridge Circuit Ratiometric Measurement 4 Understanding Ratiometric Conversions

The measurement voltage (V IN = IN+ IN-) is directly related as a measured ratio (MR) of the measurement parameter and the excitation voltage, as seen in Equations 3 and 4. N ( 2 1) VIN ADC result = (3) VREF VEXT R N N ADC result = ( 2 1) = MR( 2 1) (4) V EXT For a strain gauge, the MR is a measure of the applied force to the full-scale force. kf MR = F STRAIN MAX kf ADC result = F STRAIN MAX N ( 2 1) (5) If the actual voltage from the bridge sensor is small compared with the excitation voltage, then gain can be applied to the input signal before it is converted using the PGA of the ADC. 4 Single-Ended Ratiometric Measurements Of course, ratiometric measurements can also be made with single-ended measurements, as shown in Figure 4. V+ R SENSE R 1 +IN IN V REF + ADC V REF Figure 4. Single-Ended Measurement Understanding Ratiometric Conversions 5

As we examine Figure 4, though, we see that it looks very much like Figure 2. R SENSE represents the variations in resistance in response to sensor stimulus. The ADC measures the voltage at IN+ and then determines what the resistance value is. Once the resistance is known (such as a thermistor), then the measured quantity can be determined (that is, temperature). To determine the resistance, the ADC result has to be used in combination with the value of V REF, which means that this method does not produce an exact ratiometric measurement. This circuit could be changed, however, so that the resistance is measured directly. R 1 would then become the reference resistor (as shown in Figure 5), thus making the ADC result the ratio of R SENSE to R 1. This means that for a single-ended measurement to actually be ratiometric, the sensor output must be between 0V and full-range. The ADC result will provide that ratio, and will not be dependent on the actual excitation voltage. This effect also means that many single-ended measurements will not be ratiometric. Voltage or Current R REF +IN IN V REF ADC V REF + R SENSE Figure 5. Single-Ended Converted to Ratiometric Resistance 6 Understanding Ratiometric Conversions

5 Additional Circuits There are some additional circuit configurations that can be useful when setting up a ratiometric measurement system. One convenient way to create a current source is with an op amp driving a transistor. The resistor connected to the emitter of the transistor sets the current by the voltage set across that resistor. That same resistor could be used for the reference or voltage for a ratiometric measurement, as shown in Figure 6. V+ R REF V SET REF REF+ ADC R SENSE Figure 6. Current Set Resistor for Reference If the current in R REF is not the same as the current in R SENSE, there will be a gain error in the measurement. To reduce this error, a hi-beta or darlington transistor should be used. Understanding Ratiometric Conversions 7

The configuration of the input channels with the MSC12xx products further allows the inputs to be both the low and high inputs of differential measurements. This feature means that eight differential measurements can be set up, as shown in Figure 7. AV DD AIN0 AIN1 AIN2 AIN3 AIN4 MSC1211 AIN5 AIN6 AIN7 AINCOM V REF V REF + R REF Figure 7. Eight Differential Measurements 6 Reference Resistance Accuracy Any changes in the value of the reference resistor over time or temperature will have an effect on the accuracy of the measurement. With a calibrated source, the reference resistance errors can be corrected. This source will be in the units of what is being measured. For example, if temperature is being measured, then a calibrated temperature can be applied and the ADC result examined. This result and the correct ADC result can be used as a ratio to multiply future measurements and compensate for the shift in the reference resistor value. 8 Understanding Ratiometric Conversions

Conclusion A voltage reference has a direct influence on the accuracy of output that is possible with an ADC. If the measurement can be arranged such that the ADC result is a ratio of the input and a precision element such as a resistor, then much higher precision results can be obtained. A circuit that has the appearance of being ratiometric does not assure the user that the benefits of ratiometric measurement will be obtained. Stray capacitance, inductance and resistance in the reference connections can degrade the expected performance. Anything that limits the correct voltage on the reference or ADC inputs will also be a limiting factor for the overall accuracy. References 1. Miller, P. and Moore, D. (1999.) Precision Voltage References. Analog Applications Journal, 11/99. http://www.ti.com/sc/docs/apps/msp/journal/1999_nov.htm (Also available as slyt010b.pdf at www.ti.com; keyword search.) Understanding Ratiometric Conversions 9

IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2004, Texas Instruments Incorporated