Application Note #AN-00MX-002

Similar documents
MXD2020E/FL. Ultra Low Noise, Low offset Drift ±1 g Dual Axis Accelerometer with Digital Outputs 查询 "MXD2020E" 供应商

APPLICATION NOTE 695 New ICs Revolutionize The Sensor Interface

Lecture 14 Interface Electronics (Part 2) ECE 5900/6900 Fundamentals of Sensor Design

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Castle Creations, INC.

Isolated, Linearized Thermocouple Input 5B47 FEATURES APPLICATIONS PRODUCT OVERVIEW

LM134/LM234/LM334 3-Terminal Adjustable Current Sources

Improved Low Cost ±5 g Dual-Axis Accelerometer with Ratiometric Analog Outputs MXR7305VF

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION

USING THERMISTORS. Using thermistors with a YDOC ML-x17 Data Logger. Application Note Using Thermistors

Isolated Industrial Current Loop Using the IL300 Linear

Sensor-Emulator-EVM. System Reference Guide. by Art Kay High-Precision Linear Products SBOA102A

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800)

MXD2125J/K. Ultra Low Cost, ±2.0 g Dual Axis Accelerometer with Digital Outputs

Model 176 and 178 DC Amplifiers

An Introduction to RTD Processing

Instruction Manual. Description Calibration. Excitation Sensor and Reverse Power Relay

MXD7210GL/HL/ML/NL. Low Cost, Low Noise ±10 g Dual Axis Accelerometer with Digital Outputs

MXD2125GL/HL MXD2125ML/NL

MXA2500U. Ultra Low Noise, ±1 g Dual Axis Accelerometer with Analog Outputs

Abstract. Introduction

Thermocouple Conditioner and Setpoint Controller AD596*/AD597*

Texas Instruments Sensing Technologies

UNIT 4 BIASING AND STABILIZATION


Different Digital Method

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

Precision, Low Power, Micropower Dual Operational Amplifier OP290

Isolated Industrial Current Loop Using the IL300 Linear Optocoupler Appnote 54

AN2971 Application note

High Common-Mode Voltage Difference Amplifier AD629

Input Stage Concerns. APPLICATION NOTE 656 Design Trade-Offs for Single-Supply Op Amps

Applying the New CMOS MICRO-DAC

INTEGRATED CIRCUITS. AN145 NE5517/A transconductance amplifier applications Dec

THAT Corporation APPLICATION NOTE 102

Temperature Monitoring and Fan Control with Platform Manager 2

AD596/AD597 SPECIFICATIONS +60 C and V S = 10 V, Type J (AD596), Type K (AD597) Thermocouple,

OBSOLETE. High Performance, BiFET Operational Amplifiers AD542/AD544/AD547 REV. B

High Precision 10 V IC Reference AD581

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224

Operational Amplifiers

Chapter 9: Operational Amplifiers

Piecewise Linear Circuits

Physics 303 Fall Module 4: The Operational Amplifier

LOW COST SDI 2210, 2260 & 2266 HIGH PERFORMANCE SDI 2220 & 2276

Increasing Performance Requirements and Tightening Cost Constraints

Bend Sensor Technology Electronic Interface Design Guide

OBSOLETE. High Accuracy 1 g to 5 g Single Axis imems Accelerometer with Analog Input ADXL105*

High Accuracy 1 g to 5 g Single Axis imems Accelerometer with Analog Input ADXL105*

ICL MHz, Four Quadrant Analog Multiplier. Features. Ordering Information. Pinout. Functional Diagram. September 1998 File Number 2863.

AN-1464 APPLICATION NOTE

Chapter IX Using Calibration and Temperature Compensation to improve RF Power Detector Accuracy By Carlos Calvo and Anthony Mazzei

Select the Right Operational Amplifier for your Filtering Circuits

Application Notes. Current Measurement SENSING MAGNETIC FIELD FROM A CURRENT-CARRYING WIRE Axis of sensitivity. Direction of current flow

Application Note. Spacecraft Health Monitoring. Using. Analog Multiplexers and Temperature Sensors. Application Note AN /2/10

Feb. 1, 2013 TEC controller design experts offer tips to lower the cost and simplify the design of the devices, and to increase their ease of use.

EPAD OPERATIONAL AMPLIFIER

Selecting and Using High-Precision Digital-to-Analog Converters

Precision Flash Lamp Current Measurement Thermal Sensitivity and Analytic Compensation Techniques

OBSOLETE. Low Cost Quad Voltage Controlled Amplifier SSM2164 REV. 0

Microprocessor based process control

MODEL: M6SXU MODEL: M6SXU [1][2] [3][4]

16-Bit, Single-Channel, Ultra-Low Power, Delta-Sigma ADC with 2-Wire Serial Interface

Low Cost Instrumentation Amplifier AD622

Digital Signal Detector Interface IC PS202

Logarithmic Circuits

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

Bridge Measurement Systems

Universal Input Switchmode Controller

Circuit Layout Techniques And Tips (Part III of VI) by Bonnie C. Baker and Ezana Haile, Microchip Technology Inc.

Understanding Op-amp Specifications

PA94. High Voltage Power Operational Amplifiers PA94 DESCRIPTION

12-Bit Successive-Approximation Integrated Circuit ADC ADADC80

High Precision 10 V IC Reference AD581*

Figure 4.1 Vector representation of magnetic field.

Normal Oscillator Behavior (Device A) Figure 1. Normal Oscillator Behavior (Device A) ft = f0 1 + TC1 T T0

Signal Characteristics and Conditioning

KH300 Wideband, High-Speed Operational Amplifier

VariTrans P Compact automation solutions can be implemented thanks to the 17.5 mm modular housing and operation at temperatures up to 70 C.

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

UNIT I. Operational Amplifiers

Report on Dynamic Temperature control of a Peltier device using bidirectional current source

Digitally Controlled Crystal Oven. S. Jayasimha and T. Praveen Kumar Signion

Achieving accurate measurements of large DC currents

Part Number SuperPix TM image sensor is one of SuperPix TM 2 Mega Digital image sensor series products. These series sensors have the same maximum ima

Pin Assignment and Description TOP VIEW PIN NAME DESCRIPTION 1 GND Ground SOP-8L Absolute Maximum Ratings (Note 1) 2 CS Current Sense

10-Bit µp-compatible D/A converter

A New Noise Parameter Measurement Method Results in More than 100x Speed Improvement and Enhanced Measurement Accuracy

PERFORMANCE CHARACTERISTICS OF EPAD PRECISION MATCHED PAIR MOSFET ARRAY

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

Ultralow Offset Voltage Dual Op Amp AD708

3 ½ - Digit LED Display, A/D Converters KL7107 TECHNICAL DATA DESCRIPTION PIN CONNECTIONS FEATURES

12-Bit Successive-Approximation Integrated Circuit A/D Converter AD ADC80

Temperature Monitoring and Fan Control with Platform Manager 2

Four-Channel Thermistor Temperature-to-Pulse- Width Converter

MARKING RANGE ( C) PACKAGE DWG. # HA-2600 (METAL CAN)

CMOS High Speed A/D Converter Architectures

Low Cost 100 g Single Axis Accelerometer with Analog Output ADXL190*

Transcription:

Application Note Thermal Accelerometers Temperature Compensation Introduction The miniature thermal accelerometers from MEMSIC are very low cost, dual-axis sensors with integrated mixed signal conditioning. The thermal accelerometer operation is based on a convection heat transfer principle that is implemented with no moving parts for superb reliability and ruggedness. Like all other accelerometer technologies, the thermal accelerometer sensitivity and zero g bias change when exposed to hot and cold temperatures. However, thermal accelerometers display a predictable and repeatable behavior. The sensitivity decreases with increasing temperature, and the zero g bias may increase or decrease with increasing temperature. Because these temperature characteristics are predictable and repeatable, the user can compensate for these changes using many different compensation methods. In this application note various compensation methods are described. An analog method using a thermistor, a method using the built in temp sensor and a couple of digital methods using micro-controllers. In the conclusion, a comparison of all these methods will be shown. Temperature Effects on Sensitivity Each thermal accelerometer family display the same sensitivity change with temperature. The sensitivity change depends on variations in convection heat transfer that are governed by the laws of physics. Manufacturing variations do not influence the sensitivity change, so there are no unit to unit differences in sensitivity. The sensitivity change is described by the following equation (reference Figure 1): S i T i 2.67 = S f T f 2.67 Sensitivity (normalized) 2 1.5 1 0.5 0-60 -40-20 0 20 40 60 80 100 Temperature ( C) Figure 1 Thermal Accelerometer Sensitivity where, S i is the sensitivity at any initial temperature T i, and S f is the sensitivity at any other final temperature T f, with the temperature values in K. To put this equation in simple terms, the uncompensated sensitivity is almost double its +25 C value when the accelerometer reaches 40 C, and it is almost half when the device is at +85 C. The exponent of the temperature term T will be slightly different for each family of MEMSIC accelerometers (for example Ultra Low Noise devices will display an exponent of 2.81 instead of 2.67). For applications where sensitivity changes of a few percent are acceptable, the above equation can be approximated with a linear function. Using a linear approximation, an external circuit that provides a gain adjustment of 0.9%/ C would keep the sensitivity within 5% of its room temperature value. For applications that demand high performance, a low cost microcontroller can be used to more accurately implement the above equation. With a microcontroller and this method the sensitivity variation over temperature can be kept well below 1%. Ricardo Dao Page 1 of 6 rev C 4/11/02

Application Note Temperature Effects on Zero g Bias The amount that the zero g bias changes with temperature is different for each unit. At extreme temperatures the zero g bias drift is in the order of 0.1g. The magnitude and polarity of this change is usually very similar within each lot of accelerometers. The change can be characterized with the following equation (reference Figure 2): Z = a + b T + c T 2 where, Z is the zero g bias at any temperature T, and a,b,c are constants characteristic to each accelerometer. Zero g bias (g) 0.3 0.2 0.1 0-0.1-0.2-0.3 shaded area denotes min-max -60-40 -20 0 20 40 60 80 100 Temperature ( C) Figure 2 Typical Zero G Bias vs. Temperature In many applications that require moderate performance at extreme temperatures, a linear approximation of the zero g bias could be applied (i.e. only use constants a,b). This approximation only requires measuring the zero g bias at two temperature points. The zero g bias calibration is simplified by compromising the temperature correction. Every application demands compromises between cost and performance. In some designs, even with the additional cost of characterizing and finding the constants the low cost thermal accelerometers will still provide the most cost effective solution. Thermistor Compensation of Sensitivity One relatively simple method for compensating the sensitivity is to use an external temperature sensor or thermistor in the input network of an operational amplifier circuit. VREF Thermistor R1 R2 R3 SENSITIVTY R1 R2 R3 Thermistor Sensitivity error after temp.comp. 12K 4.3K 4.7K 5K Changzhou 9% (www.chinahuichang.com) 20K Panasonic SMD 13% (www.panasonic.com) 20K QTI or YSI curve Z (www.ysi.com) 14% Figure 3 Thermistor Controlled Gain Circuit Thermistors are readily available that display positive or negative temperature coefficients (PTC or NTC). NTC Thermistors are usually lower cost than PTC types. A simple, low cost circuit like the one shown in Figure 3 using NTC thermistors can be used to compensate sensitivity. The NTC thermistors display a non-linear change in resistance with temperature that is slightly different from the accelerometer sensitivity non-linear change. Resistors R1 and R2 linearize or change the input resistor network non-linearity so that it approximates the inverse of the behavior of the accelerometer sensitivity. Different NTC thermistors require a unique input network for optimum compensation. The analytical method to optimize the design of the input network may not be a simple task. One alternate approach is to use a computer model of the network in a program that iteratively increments component values. On each iteration the program checks the network performance across the desired temperature range, until an optimum network is found. Ricardo Dao Page 2 of 6 rev C 4/11/02

The results that can be obtained with this simple circuit are a compromise of cost and performance. In many applications changes of sensitivity of tenths of percent are acceptable. Consider that the net effect of the sensitivity variation is a percentage of the reading, not of the full scale. For example, in a particular application with ±2g full scale, a 10% sensitivity change due to extreme temperature exposure would cause a 100mg input to be measured as 110mg. The 10mg error represents only a 0.25% of full scale. The thermistor compensation of sensitivity features unipolar supply operation with a simple implementation and low cost. 2.0 1.5 uncompensated sens. Application Note Output Zero g Offset Change With Temperature Like all other accelerometer technologies, each MEMSIC accelerometer will display a unique change in zero g offset with temperature. The amount of change that is acceptable will be different for each application. The standard MEMSIC products display a typical change of ±2mg/ C, and the newer Ultra Low Noise versions display drifts below ±1mg/ C. For high accuracy applications, where the zero g offset changes are not acceptable, the user must individually characterize the units and compensate accordingly. The compensation requires individual calibration because the magnitude of the zero g offset change over temperature is different for each unit. To compensate the drift, a calibrated temperature dependent signal equal in magnitude but with opposite polarityto that of accelerometer drift is added to the accelerometer output. The circuit in Figure 5 shows a circuit example applying an analog linear compensation technique. In this circuit the accelerometer temperature sensor output is added to or subtracted from the accelerometer output. Sensitivity (normalized) 1.0 QTI Z Changzhou The calibration sequence is: start at room temperature with the potentiometer set so that its wiper is at V ref. Next, soak the accelerometer at the expected extreme temperature and observe the direction of the drift. Then set the switch to the non-inverting input if the drift is negative or vice versa. Finally, adjust the potentiometer while monitoring the circuit output, until the zero g offset drift is removed. 0.5 Panasonic Vref SW SPDT + +5V Aoutx or y zero g drift compensated - Tout Aoutx or y 0.0-60 -40-20 0 20 40 60 80 100 Temperature ( C) Fig.4 Compensation with different thermistors Figure 5: Zero g Offset Temperature Compensation Circuit Ricardo Dao Page 3 of 6 rev C 4/11/02

All Digital Compensation A very effective way for temperature compensation of both sensitivity and zero g is by using a mcu (micro controller unit). Many low cost 8 bit mcu s are available today that feature integrated a/d (analog to digital converters) with resolutions ranging from 8 to 12 bits and with ample program memory. Additional features that simplify the design and enhance the mcu application are integrated oscillators and re-programmable memory (flash). A block diagram for the all digital compensation is shown in figure 6. For analog output accelerometers the acceleration signal may need amplification if the application s g range is low. The temperature signal can typically be used without amplification. MX 2XXX TOUT optional amplifier AIN1 AIN2 Figure 6 All digital compensation block diagram The acceleration signal room temperature full scale output must be set so that it won t exceed the a/d full scale range when exposed to low temperatures. For example, in an application with operating range down to 40 C, the a/d range should be about 2.5 times the accelerometer room temperature full scale output. Once the acceleration and temperature are digitized, the sensitivity correction in the mcu is relatively simple. From the sensitivity equation it is known that: T f 2.67 S i =S f Ti 2.67 So to correct sensitivity the mcu program would multiply the digitized by the ratio of the digitized temperature (in K), or: compensated = * (TOUT 2.67 /TOUT25 C 2.67 ) But implementing the above exponential function in an 8 bit mcu would consume a significant portion of the typical device resources (memory and processing time) that are needed for data communications and other tasks (i.e. zero g bias compensation). One way to conserve mcu resources is to use a look up table. Another way is to approximate the above equation to a simpler function that only involves addition and multiplication. One such an approximation would be: compensated = * ( d + e * TOUT + f * TOUT * TOUT) DIGITAL Application Note where d, e, f are calculated constants that depend on the a/d resolution, the a/d voltage reference, and the temperature sensor scale factor. These constants can be calculated using curve fitting, typically available in spreadsheet programs. One method for the calculation is to tabulate the inverse of the known sensitivity vs. temperature (in the proper units), and then run the spreadsheet trend characterization or polynomial curve fitting feature. Another consideration with implementing the above equation in an 8 bit mcu, is that floating point math is required to obtain the best possible compensation. Constants d,e,f, will vary greatly in magnitude, so 16 bit integer math does not provide enough numerical range to execute the equation. Most mcu vendors have the necessary floating point math program libraries available. In applications with limited operating temperature range, the above approximation can be further simplified by dropping the last term (setting f=0). The trade off is a slightly larger sensitivity error, but the programmer can implement the correction using simpler integer math and therefore reduce the mcu memory requirement (and the mcu cost). Table 1 shows some examples of the all digital sensitivity compensation using different a/d parameters. In the calculation of the constants shown in Table 1 the accelerometer temperature sensor with 1V output at 25 C and 5mV/ C scale was used. The all digital compensation of zero g bias can be performed with the following equation: compensated = - ( a + b * TOUT + c * TOUT * TOUT) where the a, b, c are constants characteristic to each accelerometer. To determine the values of these constants, each accelerometer is taken to three different temperatures, preferably evenly spread across the desired temperature span. The zero g bias and the temperature are recorded at each temperature. The data collected 0, TOUT0, 1, TOUT1 and 2, TOUT2 is used in a quadratic interpolation (or LaGrange polynomial) to determine a, b and c as follows: r0 = 0 / ( (TOUT0-TOUT1)*(TOUT0-TOUT2) ) r1 = 1 / ( (TOUT1-TOUT0)*(TOUT1-TOUT2) ) r2 = 2 / ( (TOUT2-TOUT0)*(TOUT2-TOUT1) ) a = r0 * TOUT1 * TOUT2 + r1 * TOUT0 * TOUT2 + r2 * TOUT0 * TOUT1 b = - r0 * (TOUT1+TOUT2) r1 * (TOUT0+TOUT2) r2 * (TOUT0+TOUT1) c = r0 + r1 + r2 Ricardo Dao Page 4 of 6 rev C 4/11/02

a/d resolution a/d voltage reference Application Temperature range This process can be automated, to provide for a very accurate and simple compensation of the zero g bias. For example a PC (personal computer) can be used to control a temperature chamber, communicate with the mcu, and to calculate the constants. After calculating the constants, the PC would download the constants to the mcu memory. Some mcu s feature built in eeprom (electrically erasable programmable read only memory) that can be serially accessed, providing a convenient method for permanent storage of the compensation constants. For applications with less demanding zero g bias vs. temperature performance, or applications with reduced temperature range, the above compensation can be simplified by only recording zero g bias data at two temperatures. In this case the third term in the equation is eliminated (c=0), resulting in a simple linear approximation compensation. mcu math library required Application Note d constant e constant f constant Sensitivity error after temp.comp. 12 bits 2.5 V -40 C to +85 C Floating point 2.0933 10-1 -1.3843 10-4 1.4889 10-6 0.3% 12 bits 5.0 V -40 C to +85 C Floating point 1.8816 10-1 -2.2827 10-4 3.7898 10-7 0.4% 8 bits 5.0 V 0 C to +70 C Fixed point -9.2673 10-1 3.7753 10-2 0 1.9% 8 bits 2.5 V 0 C to +70 C Fixed point -9.0149 10-1 1.8691 10-2 0 2.8% Table 1. All Digital Sensitivity Compensation Examples Enhanced Digital Compensation with Analog Output In this compensation method, digitally controlled potentiometers (DIG-) are used to periodically adjust the sensitivity and the zero g bias. As in the all digital method, an 8 bit mcu with built in a/d can be used to monitor the accelerometer s temperature sensor. The mcu program uses similar equations to those presented in the all digital method, but instead of multiplying or adding to the digitized A OUT signal, the program dynamically adjusts the digital potentiometer settings. A block diagram is shown in figure 7. MX 2XXX TOUT AIN AIN DOUT ANALOG The all digital compensation of zero g bias provides an excellent enhancement for applications demanding very stable zero g performance (i.e. inclinometry). With this compensation method the zero g bias changes due to temperature can be reduced to a range of a few milli-g s. Additional features of this compensation are that 8 bit mcu s are available in very small surface mount packages, with pin counts as low as 8 (i.e. Microchip 12CXXX family, www.microchip.com), and can be configured to consume very low power. One limitation of this compensation method in some applications may be frequency response. The time required to process the compensation (or latency) may be too long for certain applications. To overcome this limitation a faster processor will provide improvement, but a slightly different compensation method using both analog and digital components will completely eliminate this limitation, and it is described next. DIG. DIG. Figure 7: Better digital compensation block The digital potentiometer sensitivity adjustment is also implemented with a second order polynomial approximation. The polynomial is of the form: SENS. SETTING = d + e * TOUT + f * TOUT * TOUT where d, e, f are the characteristic sensitivity constants. To calculate the constants the same method described in the all digital compensation can be used. In a spreadsheet program, tabulate the compensating potentiometer settings vs. temperature in the proper units, and then calculate the polynomial constants. Ricardo Dao Page 5 of 6 rev C 4/11/02

Application Note Implementing the sensitivity adjustment network requires a differential gain amplifier like the one shown in figure 8. A well matched dual digital potentiometer will provide good linear control of gain. Additional resistors in series with the potentiometers could be used to enhance the resolution of the sensitivity adjustments. ZERO g COMP. VREF R R DUAL DIG. CONTROL Figure: 8 Sensitivity adjust circuit The zero g bias is similarly compensated. The compensation is of the same form as the sensitivity: ZERO g SETTING = a + b * TOUT + c * TOUT * TOUT To determine the constants a, b, c the accelerometer is taken to three temperatures. At each temperature the zero g digital potentiometer is trimmed for no offset, and the potentiometer setting is recorded. Also T OUT is recorded at each temperature. Once the data is collected, the constants a, b, c can be calculated as described in the all digital compensation method. Again, test automation can greatly simplify this compensation process. In the implementation of the zero g bias network, a dual digital potentiometer can be used to enhance the adjustment resolution. A network like the one shown in figure 9 could provide very high resolution adjustments. In this circuit resistors R3, and R4 are chosen so that one potentiometer provides a coarse adjustment while the other provides a fine adjustment. If each potentiometer has 8 bit resolution, and the potentiometer settings are near the center of the range, zero g bias compensation with 16 bit resolution can be achieved. R1 R2 +V R3 DUAL DIG. R4 CONTROL ZERO g COMPENSATION Figure9 Zero g Compensation rates. One benefit of low update rates, is lower mcu power consumption. The mcu can be operated with an oscillator at a few kilohertz, and this will greatly reduce the power requirement. The enhanced digital temperature compensation provides excellent results in the most demanding applications. Even with the number of additional components, it provides a very cost effective solution. Method Analog (thermistor) Digital (mcu) Analog & Digital (mcu with dig.pot.) Approx. Performance Component Cost achievable Lowest cost 5% - 15 % Low cost 0.5% - 5% Medium cost <0.5% Table 2. Temperature compensation comparison Conclusion Table 2 provides an overview of the methods presented in this application note and some tradeoffs of approximate cost vs. performance. In summary, many temperature compensation methods can be used to enhance the performance of MEMSIC thermal accelerometers to meet the requirements of the most demanding applications. Since environmental temperature changes are usually very slow in most application, the digital potentiometer adjustments can be set to occur at low Ricardo Dao Page 6 of 6 rev C 4/11/02