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

Benefit of Multi-Axis Sensors

A novel approach to minimize the challenges discussed related to one-dimensional (1D) sensors is to integrate multiple axes of sensitivity into a single device. In the example before, only a single component of the magnetic field was observed at each sensor.

GUID-20201118-CA0I-WN0X-BCFF-L6TPJDNG72XW-low.gif Figure 2-1 3D Sensor In Plane

If one sensor were to capture the X, Y, and Z components of the B-Field vector at the same location initially examined, we could reduce the device count and resolve uncertainty related to the mechanical assembly. Using just one such sensor at the same range as explored in the 1D case, we observe the fields shown in Figure 2-2.

GUID-20201229-CA0I-SZST-QHPT-MG1JG9HGGH6K-low.gif Figure 2-2 Magnetic Flux Density vs Angle for a 3D In-Plane Sensor

Notice in this position, the X and Y components again share a sine and cosine relationship. The Z component remains zero due to the sensor location being perfectly aligned to the magnet. Given the natural 90º phase shift between the X and Y inputs, a sensor with all three axes of sensitivity such as TMAG5170, makes a good candidate to detect the angular position of a rotating magnet regardless of package orientation. Alternatively, the TMAG5170D-Q1 is a dual-die version of the TMAG5170 that can be used if redundancy in the system is required.

As shown, the peak magnitudes are unequal, which we discussed to be a significant source of error in the two-sensor approach. Fortunately, the TMAG5170 device offers a simple solution to obtain peak matching which is explored in detail in this document.