SBAA463A january   2021  – april 2023 TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5273

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 Angle Measurement With One-Dimensional Sensors
    2. 1.2 Challenges of Angular Measurements
  4. 2Benefit of Multi-Axis Sensors
    1. 2.1 Simplified Mechanical Placement
    2. 2.2 Sensitivity Matching
    3. 2.3 CORDIC Angle Estimations
    4. 2.4 Tamper and Stray Field Detection
  5. 3Angular Measurement Considerations
    1. 3.1 Sensor Alignment
    2. 3.2 Sensor Calibration
    3. 3.3 Input Referred Noise
    4. 3.4 Impact of Sample Rate
  6. 4Practical Application
    1. 4.1 Push-Button Knob
      1. 4.1.1 Evaluating Design Constraints
      2. 4.1.2 Magnet Selection
      3. 4.1.3 Prototyping and Verification
    2. 4.2 Off-Axis Design
      1. 4.2.1 Sensitivity Gain Correction
      2. 4.2.2 Accuracy Verification
  7. 5Summary
  8. 6References
  9. 7Revision History

Accuracy Verification

When performing angle calculations using the simulated data, the angle error is near zero for this approximate location and is negligible in comparison the 0.25 degree resolution of TMAG5170. While the initial measurement data shows outputs that appear to meet expectations and are sinusoidal in nature, we also find that when the angular position is calculated and plotted against the precise angular position that we see some unexpected angle error. This is represented as Angle Error in Figure 4-7.

GUID-20201229-CA0I-FQPR-0362-PSSFGCJKKLMR-low.gifFigure 4-7 Measured Off-Axis Angle Error

The angle error observed in the physical setup, even after adjusting inputs for ideal matching, is related to mechanical errors in the setup. Minor amounts of magnet tilt and wobble have produced the cyclically repeating error.

There are a variety of approaches which might be used to further calibrate out this error, however. The Linear Hall Effect Sensor Angle Measurement Theory, Implementation, and Calibration Application Report discusses a variety of options which can be implemented to eliminate this behavior. The "post-calibration" curve in Figure 4-7 demonstrates the benefit of further calibrating measurements to achieve the most robust design possible. This can be essential in many applications where precision movement is mandatory such as is common in manufacturing and automation machinery.