SLYA078A February   2024  – August 2025 TMAG5170D-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Choosing a Mechanical Implementation
  6. Choosing a Magnetic Implementation
  7. Magnet Sensor Placement
  8. Prototyping and Bench Testing
  9. Error Sources
  10. Summary
  11. Recommended Devices
  12. References
  13. 10Revision History

Choosing a Magnetic Implementation

For many designs the most logical place for the magnet is in the moving component that we desire to sense, rather than the sensor which is likely powered through traces and wires routed from some far-off supply. As such, the magnet needs to fit somewhere in the shifter lever and depending on where the magnet is placed, different kinds of magnets can be appropriate. Figure 3-1 shows two possible magnet implementations. On the left is a diametric magnet centered at the fulcrum of the lever, while on the right is an axial magnet situated some distance from the rotation axis.

 Magnetic Implementation Figure 3-1 Magnetic Implementation

The goal of the design presented in this application note is to have an output that is linear without aliasing such as the desired signal shown in Figure 3-2. For detecting objects that rotate around an axis, 3D or multi-axis sensing devices are more designed for than single axis sensing devices. Not only do multi-axis sensing devices have flexibility of package orientation, but are also immune to aliasing that is otherwise unavoidable with a single axis sensing device. This is due to the fact that fields perpendicular to each other exhibit behavior analogous to sine and cosine waves. By taking the arctangent of two perpendicular fields, a linear output over a wide range of motion of the magnet can be derived.

 Output Plots Figure 3-2 Output Plots

For the diametric magnet, field behavior like in Figure 3-3 is expected while for the axial magnet field behavior like in Figure 3-4 is expected.

 B-Field Behavior for
                        Diametric ApproachFigure 3-3 B-Field Behavior for Diametric Approach
 B-Field Behavior For Axial
                        ApproachFigure 3-4 B-Field Behavior For Axial Approach

Due to the shifter in this design rotating and requiring redundant measurement, the TMAG5170D is selected.