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

Tamper and Stray Field Detection

An added benefit of multiple axes of sensitivity is that tamper and stray field detection may be implemented. Again consider the outputs generated in the On-Axis placement.

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

Notice in this case that while angle calculations are possible and only require the X and Y axes, that there is no input produced at this location in the Z direction. TMAG5170 allows the user to monitor all three axes together, and so with this configuration, any input on the Z-axis can indicate a magnetic field from an external source.

Additionally, TMAG5170 allows the user to programatically set thresholds for any axis that will trigger output on the ALRT pin. Both high and low thresholds may be set as Figure 2-12 shows.

GUID-8436AB8D-255E-4B64-BD09-30FE3279266D-low.gif Figure 2-12 TMAG5170 Magnetic Switch Mode

Not only can a trigger be set on the unused axis, but we can set limits around acceptable inputs with the expected signals as well. Each axis may be independently programmed with both upper and lower limits. In this way the device may be configured to restrict operation to a fixed operating window for any magnetic input which should never be exceeded.

Adding this functionality to any measurement helps provide secure monitoring that may inform the controller when to take measures to prevent actions from false input.