SLYA085 December   2023 TMAG6180-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2AMR Angle Sensing
  6. 3Calibrating AMR
    1. 3.1 Input Related Errors
    2. 3.2 Sensor Related Errors
    3. 3.3 Offset
    4. 3.4 Amplitude Mismatch
    5. 3.5 Orthogonality Error
    6. 3.6 Noise
  7. 4Summary
  8. 5References

Input Related Errors

AMR angle sensors are two dimensional in design but the complete magnetic field vector is 3D. The field vector parallels the face of the magnet when a magnet is centered on the axis of rotation along the pole boundary.

GUID-20231101-SS0I-KDHL-KHXZ-T5HNPTXFRQNG-low.png Figure 3-1 Correct Rotation Alignment

As a result, when the magnet rotates, the field vector is constrained in two dimensions and this produces the correct input for the sensor (Figure 3-1). The magnetic field vector varies in all three axes if the sensor is moved away from the axis of rotation.

GUID-20231101-SS0I-68TX-JKCV-QMPKCM9KCMRV-low.png Figure 3-2 TMAG6180 With Mechanical Offset

The magnetic sensor is exposed to all three field components, with a circular profile presumption, but a significant portion of the input field in the z-direction is left undetected by the sensor. As a result, some input non-linearity is introduced. Consider the Lissajous plot in Figure 3-3 that uses the full vector and projection onto the XY plane when the Z component is ignored in Figure 3-4.

GUID-20231101-SS0I-LT7P-5RPW-QVJ23DXCQ59M-low.svgFigure 3-3 3D Lissajous Plot
GUID-20231101-SS0I-B6KV-WNCV-TTVSP5N74S0H-low.svgFigure 3-4 2D Lissajous Projection

The resulting input magnetic field angle changes at a different rate than the mechanical rotation measured because the resulting projection is elliptical instead of circular (the extremes for the X direction are ±45 mT while the Y direction is closer to 50 mT). The outputs generated by the device can take an unexpected form due to this non-linear change in angle. Careful examination of Figure 3-5 reveals that the output waveforms are slightly distorted and not demonstrating correct sine and cosine behavior.

GUID-20231101-SS0I-1NWN-NNQG-JXSXQ77RVKV6-low.svg Figure 3-5 TMAG6180 Output Voltage with Mechanical Offset
GUID-20231101-SS0I-W2KJ-B8VQ-JRLNTHH5DK0C-low.svgFigure 3-6 Calculated Angle With Mechanical Offset
GUID-20231101-SS0I-TH00-FJMC-SMPH2XX8RZXB-low.svgFigure 3-7 Angle Error Resulting From Mechanical Offset

The sensor outputs a non-linear angle calculation since the input to the sensor changes with a non-linear angle. This angle change is cyclical, so calibrating the sensor using techniques like multipoint linearization, a Look-up table, or harmonic approximation is available if necessary. These techniques are further described in Achieving Highest System Angle Sensing Accuracy.