Handling of Sensor Bridge Offset
Handling of Sensor Bridge Offset
SENSOR PRODUCTS
APPLICATION NOTE
R1
R3
Reset
15
HMC1001
Vbridge = 5.00 volts
Set
10
Output (mV)
20
5
0
-5
Bridge
Offset
Voltage
-10
-15
-20
-2.0
-1.5
-1.0
-0.5
0.0
0.5
1.0
1.5
2.0
Figure 1
Offset/Sensitivity Graph
In the case of AMR sensors, the bridge offset voltage
is primarily caused by in-exact resistive values of each
sensor element. While Honeywells manufacturing
processes using semiconductor fabrication equipment
result in precision matched AMR elements, the
tolerances on depositing permalloy (NiFe) films to
lithographically controlled areas leads to some
resistive value mis-matching. Even with several
hundred to thousands of ohms of element resistance,
an error of a fraction of an ohm can create a sizable
bridge offset voltage.
VoVo+
R4
R2
GND
Roffset
OFF-
OFF+
Rset/reset
S/R-
S/R+
HMC1021
Figure 1
Bridge Circuit
AN212
20
SENSOR PRODUCTS
voltage. The sum becomes 13.9mV to +15.15mV
with the magnetic portion of the output signal only
about 25 percent of the total variation. So to next
amplify this bridge output voltage to the 0.5 to 4.5 volt
input range of an Analog-to-Digital Converter (ADC),
the maximum 15.15mV must gained towards a 2 volt
peak signal swing, or a gain stage of 2/0.01515, or
132. Figures 3 and 4 show these offset tolerance
bands and the interaction with earths magnetic field
sensitivity.
HMC1022
15
Vb = 5 volts
10
Bridge Offset Voltage
Tolerance Band
5
0
Magnetic Sensitivity
Tolerance Band
-5
-10
-15
-0.75
-0.5
-0.25
0.25
0.5
0.75
0.5
0.75
Figure 3
Offset & Sensitivity
20
HMC1022
Vb = 5 volts
15
10
5
0
-5
-10
-15
-0.75
-0.5
-0.25
0.25
Figure 4
Combined Output Tolerance
AN212
Another impact of bridge offset voltage on system
designs is thermal drift of any offset present will
exacerbate the worst case computation of gain for
ADC input range. It is possible that up to 5%
temperature compensation range would be added,
thus further decreasing possible resolution.
BRIDGE OFFSET REDUCTION METHODS
Several candidate methods of bridge offset reduction
are known to wheatstone bridge designers for AMR
sensors. These are listed as 1) Shunt Resistance
Method, 2) Amplifier Bias Nulling, 3) Switching
Feedback, 4) Offset Strap Current, and 5) Digital
Subtraction.
SHUNT RESISTANCE METHOD
The shunt resistance method is simply adding parallel
resistances across one or more legs of the sensor
wheastone bridge to re-balance the bridge with an
offset voltage. To do this accurately, all magnetic
signal stimulus should be removed. This can be done
in either a helmholtz coil set or in a well shielded
enclosure to remove the effects of earths field on the
sensor.
To minimize the quantity of trimming shunts used on
the bridge, the largest resistive leg of the wheatstone
bridge needs to identified. In a production line setting,
the large leg identification can be done with Automated
Test Equipment (ATE), and then prompt an assembler
to place a computed value of shunt resistance across
the large leg spare component pads. Figure 5 shows a
typical implementation of this shunt resistance method.
Shunt
Resistor
1.20MEG
Vbridge (Vb)
R3
1100
R1
1101
VoVo+
R4
1100
SENSOR PRODUCTS
As you can see, the downside of this method is that
you will need four resistor shunt locations and a large
variety of possible shunt resistor values.
AMPLIFIER BIAS NULLING METHOD
This next method does not directly affect the bridge
performance, but creates an opposite polarity voltage
at the instrumentation amplifier stage to cancel the
bridge offset voltage. For example, if the bridge has a
ten milli-volt offset voltage, a bias voltage of halfsupply (1/2 Vb) minus ten milli-volts is also applied to
create an opposite direct current force to cancel (null)
out the offset. With zero magnetic field applied, the
instrumentation amplifier will remain at half-supply,
and only gain up any magnetic field induced voltage
difference from the AMR bridge. Figure 6 shows an
example instrumentation amplifier circuit with a
potentiometer providing a nulling bias voltage.
Vbridge
Vcc
U1
.01f
249k
5.0v
5.0k
OUT-
output
OUT+
5.0k
U2
249k
Gnd
HMC1022
Offset trim
Vcc
1k
1k
1k
Figure 6
Bias Nulling Method
SWITCHING FEEDBACK METHOD
The switching feedback method uses the property that
toggling the sensor element between set and reset
conditions via the set/reset strap element; allows the
field induced sensor output to reverse polarity, but the
bridge offset voltage remains a consistant bias on the
output. Figure 7 shows the toggling routine graphed
with typical output levels.
Vout1
R2
1100
GND
Vset
Roffset
Happlied
OFF-
OFF+
Rset/reset
S/R-
Voff
S/R+
HMC1021
Happlied
Vref
time
Vreset
Figure 5
Shunt Resistance Method
set
set/reset
pulses
reset
Figure 7
Switching Bridge Output
Solid State Electronics Center www.magneticsensors.com (800) 323-8295 Page 3
AN212
By toggling the set/reset strap to create the square
wave bridge output voltage, a slow responding circuit
is used that does not react to the toggling, but
averages the peaks and creates an inverse signal that
nulls bridge offset voltage. Figure 8 shows a typical
schematic of a switching feedback circuit.
10f
10k
U3
SENSOR PRODUCTS
Offset strap resistances and offset coefficients
(mA/gauss) vary widely depending on the AMR
design, but generally require milliamperes of current
through low strap resistances to perform an offset
nulling function. For low currents, an operational
amplifier with a modest series resistance will perform
adequately. For heavier strap currents beyond 10 milliamperes or more, the circuit in Figure 9 shows a
buffered amplifier for increased current outputs.
500k
Vref
Vcc
Vbridge
U1
OUT+
+
5.0k
HMC1021
U2
Vout1
+
22k
R4
1000
U4
output
D1
1N4148
Sw
Vref
Q1
2N2222
Vref
Roffset
OFF-
VCC
22k
5.0k
500k
Gnd
R7
10K
22k
500k
OUT-
R8
10K
1.0f
OFF+
Rset/reset
0.1f
S/RS/R+
U5
R1
4.7
Set/Reset
10
U1
Yinput
volts
Figure 8
Switching Feedback Method
From Figure 8, the first amplifier stage performs the
normal instrumentation amplifier function with its
output described as Vout1. The second amplifier stage
(U3) actually performs as an integrator that feeds
back the output signal less most of the the toggling
waveform performing the null voltage (DC restore)
compensation to remove the bridge offset voltage. The
third amplifier stage (U4) performs a de-toggle
function to remove the polarity reversal from Vout1,
leaving just the amplified magnetic field output
(Happlied) as the result.
This method modulates the sensed output signal and
then demodulates the signal and removes the bridge
offset. By choosing a quick enough integrator
response time and a set/reset toggle time around a
hundred times or more faster than the integrator time,
the above circuit will produce a smoothed output.
Careful choices in resistor and capacitor values will be
required.
OFFSET STRAP CURRENT METHOD
Honeywells patented offset strap on its AMR sensor
permits and additional method of compensating for
bridge offset voltages. This strap consists of a spiral of
metalization placed near the bridge to couple a
magnetic field induced by current flowing through the
strap. Not only does this strap make a nice current
sensor, but the magnetic field produced can sum with
an external sensed field to cancel the offset voltage.
VCC
VEE
R2
4.7
11
R9
10K
D2
1N4148
Roffset
50
R3
47
Q2
2N2907
R5
1000
VEE
Figure 9
High Current Amplifier Circuit
DIGITAL SUBTRACTION METHOD
This method is the most popular as it requires no
change in hardware. But as mentioned early in this
application note, ADC resolution is sacrificed to
accommodate the dynamic range of sensor bridge
offsets. As a way of demonstrating this mathematical
method, the following example is described.
A HMC1052 dual sensor bridge device is used as a
compass in a consumer electronics (0 to +70C)
application. The HMC datasheet gives bridge offset
voltage values of 1.25mV/V and a sensitivity of
1.00.2mV/V/gauss. Factoring the tempcos for each
value yields negligible change for bridge offset and a
nominal 0.135mV/V/gauss addition. So the worstcase situation would be maximum sensitivity
(1.335mV/V/gauss) and the widest range of bridge
offsets. Additional variables are a nominal 3.0 volt DC
supply and a 625 milligauss maximum earths field
intensity on any one sensor bridge.
AN212
The resulting bridge offset voltage could then be:
Voff = (3.0V)*(1.25mV/V)
Voff = 3.75mV
And then the maximum magnetic field swing would be:
SENSOR PRODUCTS
choice of 4.99k-ohm and 1 Meg-ohm metal film gain
setting resistors. The choice of 4.99k-ohm comes from
nominal bridge resistance of 1000 ohms and that this
amplifier input impedance should be a bridging type
in which the impedance should be 4 to 10 ten times or
more of the source (bridge) impedance. The 1 Megohm resistors are then 1/200th the size of the 4.99kohm input resistors.
1nf
Vcc
U3
3.0v
4.99k
LMV358
4.99k
1.00M
Vref
U2
HMC1052
1.00M
1nf
AN0
AN1
4.99k
LMV358
4.99k
1.00M
Vref
set/reset
.1uf
U4
(2) IRF7509
offset
U5
set/reset
_set/reset
Figure 10
HMC1052 Compass Circuit
The onboard Analog-to Digital converters on the
microcontroller are assumed to be running off the
same 3.0 volt DC supply as the op-amps and sensor
bridges. To be a bit conservative, we will further
assume the converters range will be 200 millivolts
from each side of the power supply. In this example,
0.2 to 2.8 volts or 1.3V from a 1.5 volt mid-point, or
reference voltage (Vref) for maximum dynamic input
range. This allows the op-amps that are configured as
instrumentation amplifiers to fix their gain to amplify
the 6.25mV signal up to the 1.3V ADC range. Thus
the amplifier gain stages are:
Gain = (1.3V)/(0.00625V) = 208
In the above schematic, the 208 calculated gain is
rounded down to 200. The 200 gain allows for the
AN212
SENSOR PRODUCTS
flipping rate. In the above example, if the reset/set
strap received an opposite polarity current from its
previous state, the 127 milli-gauss field input would
suddenly look like a +127 milli-gauss input with a
resulting +0.381 milli-volt output. The 3.00 milli-volt
bridge A offset voltage would remain the same, but the
output at the sensor bridge nodes would be the sum of
the voltages, or +3.381 milli-volts.