DATA SHEET
HAL856
2.3.2. Example: Calibration of an Angle Sensor
Step 1: Input of the registers which need not be
adjusted individually
The following description explains the calibration pro-
cedure using an angle sensor with a HAL856 as an
example. The required output characteristic is shown
in Fig. 2–6.
The register values for the following registers are given
for all applications:
– FILTER
– the angle range is from −25° to 25°
Select the filter frequency: 500 Hz
– temperature coefficient of the magnet: −500 ppm/K
– RANGE
Select the magnetic field range: 40 mT
– TC
For this magnetic material: 6
– TCSQ
%
HAL856
For this magnetic material: 14
100
Second Calibration Point
– OUTPUT FORMAT
Output
Duty
Cycle
90
80
70
60
50
40
30
20
Select the output format: PWM
– OUTPUT PERIOD
Select the output format: 8 ms
– PARTNUMBER
For this example: 1
– LOW CURRENT
For this example: 6 mA
– HIGH CURRENT
For this example: 14 mA
– OFFSET CORRECTION
For this example: none
Linear
Sine
First Calibration Point
– SLEW RATE
10
For this example: 0 (fastest)
°
-30
-20
-10
0
10
20 30
Angle
Enter these values in the software, and use the “write
and store” command for permanently writing the val-
ues in the registers.
Linear
Fig. 2–6: Example for output characteristics
0
Sine
Step 2: Initialize DSP
– SHIFT
Select Shift: 50%
– SLOPE
Select Slope: 0.1938 (see Table 2–9 on page 14)
– OUTPUT CHARACTERISTIC
Select output characteristic: ’Linear Standard’
Step 3: Define Calibration Points
The Micronas software PC856 uses default settings
DOUT1NOM = 0 and DOUT2NOM = 3968.
DOUT1NOM corresponds to the angle position −25°,
DOUT2NOM to +25°.
Micronas
March 23, 2010; DSH000142_002EN
15