English
Language : 

HAL856 Datasheet, PDF (16/42 Pages) Micronas – Programmable Linear Hall-Effect Sensor with Arbitrary Output Characteristic (2-Wire)
HAL 856
DATA SHEET
Step 4: Calculation of Shift and Slope
There are two ways to calculate the values for Shift
and Slope.
Manual Calculation:
1. Set the system to calibration point 1 (angle 1 = 25°)
2. read the register DIGITAL OUTPUT.
For our example, the result is
DIGITAL OUTPUT = DOUT1 = 3291.
3. Set the system to calibration point 2 (angle 2 = −25°)
4. read the register DIGITAL OUTPUT again.
For our example, the result is
DIGITAL OUTPUT = DOUT2 = 985.
With these measurements and the pre-programming
of the sensor, the values for Slope and Shift are calcu-
lated as:
Slope = (---9---8---5-3---9–----6-3-8--2---9---1----) × 0,1938= –0.3335
Software Calibration:
Use the menu CALIBRATE from the PC software and
enter the values for the registers which are not
adjusted individually. Set the system to calibration
point 1 (angle 1 = 25°), hit the button “Digital Output1”,
set the system to calibration point 2 (angle 2 = −25°),
hit the button “Digital Output2”, and hit the button “Cal-
culate”. The software will then calculate the appropri-
ate Shift and Slope.
This calculation has to be done individually for each
sensor. Now, select an output characteristic from the
selection box “Output Characteristics” and then press
the button “write and store” for programming the sensor.
Step 5: Locking the Sensor
The last step is activating the LOCK function with the
“LOCK” command. Please note that the LOCK function
becomes effective after power-down and power-up of
the Hall IC. The sensor is now locked and does not
respond to any programming or reading commands.
Warning: This register cannot be reset!
Shift
=
1----0---0---%---
4096
×
⎛
⎝
3968
–
(---9---8---5----–-----2---0---04---,8-1--)-9---×3---8--(--–---0---.--3---3---3---5----)⎠⎞
=
52,22%
Write the calculated values for Slope and Shift and a
linear output characteristic ranging from 10% to 90%
output duty cycle into the EEPROM memory.
16
March 23, 2010; DSH000142_002EN
Micronas