a
AN-380
APPLICATION NOTE
ONE TECHNOLOGY WAY
P.O. BOX 9106
NORWOOD, MASSACHUSETTS 02062-9106
617/329-4700
Compensating for the 0 g Offset Drift
of the ADXL50 Accelerometer
by Charles Kitchin and Paul Brokaw
INTRODUCTION
The ADXL50 accelerometer has a nominal sensitivity of
19 mV per g of applied acceleration. This is centered
around a +1.8 volt offset. The offset will typically drift
35 mV over a 0 to +70 °C temperature range. This drift is
very small compared with the amplitude of high g level
signals but becomes more significant as the measured
acceleration level decreases. For applications not need-
ing a dc (i.e., gravity sensing) response, ac coupling be-
tween the preamplifier and the on-chip buffer amplifier
will eliminate almost all of the 0 g drift. But, in cases
where a dc response is needed, an external temperature
compensation circuit will greatly improve the low g per-
formance of the accelerometer.
This application note shows how to compensate for the
linear component of the 0 g drift, using either a software
or a hardware approach.
A Software Approach Using a µP Interface
For those applications where the ADXL50 output drives
a µP, it can be used to subtract out the 0 g drift over tem-
perature. This can be indirectly approximated by using
the formula:
V
O
ginmV
= ((1.3 ×10–5)
T
3) + ((2.3 ×10–3)
T
2) (0.08
T
) – 0.29
where T is the temperature in degrees centigrade, or by
directly digitizing the output of a temperature sensor,
using an ADC.
In the circuit of Figure 1, an AD590 temperature sensor
and a 1 k resistor are added to the board containing the
accelerometer. The AD590 provides a 1 µA/°K current
output which, together with the 1 k resistor, provides a
1 mV/°K output to the µP. For best temperature tracking,
the AD590 should be attached to the case of the ADXL50.
The outputs of the ADXL50 and the AD590 both run to
the µP. The circuit is then placed in an oven and oper-
ated over temperature; the µP then stores the drift curve
in its memory and subtracts it out for all succeeding
measurements.
Figure 1. Acceleration & Temperature Outputs to
µ
P
for Software Correction of 0 g Drift
BUFFER
AMP
ADXL50
PRE-AMP
0.022µF
C1
C1
0.022µF
C2
COM
C3
0.1µF
+5V
VOUT
VIN–
VPR
+3.4V
REF
50k
49.9k
100k
499k
0g LEVEL
ADJUST
1.8V
2
3
4 1
5
6
9
810
ACCELERATION
OUTPUT TO µP
AD590
+5V
1mV/°K TEMPERATURE
OUTPUT
1k
1µA/°K
AD7890
12-BIT
MULTIPLE
INPUT
ADC
TO µP
+5V
–2–
PRINTED IN U.S.A. E1913–12–5/94
A Hardware Approach
The circuit of Figure 2 provides a linear temperature com-
pensation for the ADXL50. Figure 3 shows the 0 g drift
over temperature for a typical ADXL50 with and without
this circuit. As shown by Figure 3, the linear portion of the
drift curve has been subtracted out. In effect, the curve
has been rotated counter clockwise until it is horizontal,
leaving just the bow of the curve: that portion which is not
linear.
As shown in Figure 3, over a +25 °C to +70°C range, a 10 ×
reduction in drift is achieved. The circuit of Figure 2 is es-
sentially a temperature sensor coupled to a forced-
balance bridge. The AD590 provides a 1 µA/°K current
output whose voltage scale factor is set by resistor RA.
The bridge circuit subtracts out the nominal 298 mV out-
put of the AD590 at +25 °C and leaves only the change in
temperature, which is what is needed.
Resistors R5 and R6 form a resistor divider (one half of the
bridge) which divides down the +3.4 V reference output of
the ADXL50 to 0.3 V which appears at the noninverting
input of the AD820 op amp. Resistors R7 and R8 form the
other half of the bridge, and because they have the same
ratio as R5 and R6 the op amp will have a +3.4 V output at
room temperature. Therefore, the op amp is across the
output of the bridge and any imbalance will cause its out-
put to change enough to maintain the summing junction
at 0.3 V, which keeps the bridge in balance.
Figure 2. ADXL50 0 g Drift Compensation Circuit
Figure 3. ADXL50 0 g Drift With & Without the Compen-
sation Circuit of Figure 2
The output from the AD590 connects to the wiper of trim
potentiometer R B. Since RB is across the input terminals
of the op amp, the circuit can provide a variable output
with temperature in either the positive or negative direc-
tion. The op amp output is divided down by resistors R9
and R10 which limit the range of trim potentiometer RC
and increase its resolution. Resistors R1 and R3 set the
ADXL50 accelerometer's gain at ten (190 mV/g) which is
appropriate at low g levels, while R2 and R3 set the gain of
the compensation circuit.
ADXL50
0.022µF
C2 4
TEMPCO
AMPLIFIER
TC
COMP
SET
+5V
1µA/°K
RB
10k
BRIDGE
BALANCE
0g OUTPUT
LEVEL
3
26
+5V
7
4
0.1µF
TEMPERATURE
COMPENSATED
ACCELERATION
OUTPUT
CALIBRATION PROCEDURE:
AT T
MIN
OR LOWER TEMP CAL. POINT:
1. SET RB ALL THE WAY TO ONE SIDE.
2. A DJUST RA FOR +3.4V AT
TEST POINT “A.”
3. SET RC FOR +2.5V V
OUT
(AT PIN 9 OF ADXL50).
TO TEST THE CIRCUIT:
4. TEMORARILY CONNECT A 1.5k
RESISTOR BETWEEN THE WIPER
OF RB AND COMMON.
5. A DJUST RB FOR +2.5V AT V
OUT
.
6. REMOVE TH E 1.5k RESISTOR .
V
OUT
SHOULD NOT CHANGE .
AT T
MAX
OR UPPER TEMP CAL. POINT:
7. GO TO T
MAX
OR HIGH TEMP CAL. POINT.
8. READJUST RB FOR +2.5V @ V
OUT.
9. CALIBRATION COMPLETE.
BUFFER
AMP
ADXL50
PRE-AMP
0.022µF
C1
C1
0.022µF
C2
COM
0.1µF
C3
+5V
V
OUT
V
IN–
V
PR
+3.4V
REF
R5
310k
1.8V
2
3
41
5
6
9
10
R7
310k
R6
30kR8
30k
R4
500
RA
1k
R9
20k
RC
20kR10
25k
R2
49.9k
8
AD590
R3
499k
R1
49.9k
TEMP
REFERENCE
AD820
TEST
POINT
“A”