For accurate angle measurement, the
center of the magnet is aligned to the center of the sensor with acceptable
tolerances. Follow these steps to calibrate the sensor for best accuracy:
- Reference angle calibration - Set
the reference angle based on the magnet alignment to the sensor. This error can
be saved in the microcontroller for runtime absolute position calculation. This
error is also known as Angle offset in a system.
- Electrical offset calibration -
See Calibration of Sensor Errors for the offset calibration procedure. If the sensor cannot be rotated
across the full range, then the electrical offsets cannot be calibrated.
- Amplitude mismatch calibration -
See Calibration of Sensor Errors for the amplitude mismatch calibration procedure. If the sensor
cannot be rotated across the full range, then the amplitude mismatch cannot be
calibrated.
- To extend the angle range from
the AMR sensor to 360 degrees, see Extending the Angle Range to 360 Degrees