SLYA078 February   2024 TMAG5170D-Q1

 

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

Magnet Sensor Placement

For the designs presented in this application report, aside from the enclosure that houses the shifter sensing system, there are two constraints that dictate the relative placement between magnet and sensor. These constraints are the device noise floor and the max sensing range. The goal is to get the largest field detected by the device to be a little less than the max sensing value for optimizing the signal to noise ratio. However, that can be impossible, so quantifying the error associated with different peak field strengths can be useful for gauging whether the magnet is close enough or strong enough for the desired mechanical-magnetic implementation. For the diametric approach where the peak Bx and By fields are expected to be nearly equal, Figure 4-1 shows an estimation of what the max error can be for 1 sigma magnetic noise of 185μT. Figure 4-1 and all subsequent plots in this section were extrapolated from simulations done in Texas Instruments Magnetic Sense Simulator (TIMSS).

GUID-20231207-SS0I-XKRJ-M0LV-0PJTD32GTKR6-low.svg Figure 4-1 Error Vs. Peak Field Strength for Diametric Approach

With the results observed in Figure 4-1, there is some guidance for determining what size and grade of magnet as well as what reasonable distance or air gap can be between magnet and the device. For gauging the impact of the distance between the magnet and device denoted by "air-gap" in Figure 4-2, Figure 4-3 shows an N42, 12.7mm diameter, 3.175mm thick the peak field values measured by the TMAG5170 for any z-offset from the magnet origin within -8mm and -2.5mm.

GUID-20230803-SS0I-JDFW-VBXP-JQHPW1ZTLJ6C-low.svgFigure 4-2 Sensor Z-offset Sweep Diagram
GUID-20230731-SS0I-50PJ-SQM4-ZCRB0D6B6XCL-low.svgFigure 4-3 Max Bx or By Field Versus Sensor Z offset

For gauging the impact of magnet size, Figure 4-4 shows what kind of field values can be observed for an N42, 3.175mm thick, with diameters ranging from 2mm to 20mm with an air gap of 7mm from the sensor.

GUID-20231207-SS0I-FJ7G-GJMJ-DHC45VMDV6KL-low.svg Figure 4-4 Max Bx or By Field Versus Magnet Diameter

From Figure 4-1 a minimum of about 15mT is needed to have an error of 1° or less per the device noise floor. Figure 4-3 shows that for larger air-gaps between the magnet and device, the expected signal amplitude decreases; however, for the magnet size chosen in the placement region of interest the amplitude appears to have at least roughly double the what is required for error under 1°. Lastly, Figure 4-4 shows that for the desired offset of 7mm, a magnet with as small as a 5.4mm diameter can potentially be used for 1° error if only considering error from noise.

As noise is not the only source of error, some analysis with sweeping offsets per manufacturing and assembly tolerances is recommended. Figure 4-5 indicates that smaller diameters are less forgiving in error for the same offset. Based on a large group of simulation data not shown, offsets less than 10% of the magnet diameter length frequently appear to provide less than 1° error. As for magnet thickness, Figure 4-6 suggests that only a slight change in angle error is observed for different thicknesses.

GUID-20230811-SS0I-X7KN-LLBP-KJTCPBXNFG6N-low.svgFigure 4-5 Diameter Sweep
GUID-20230811-SS0I-40VJ-N88W-6H9ZFK5SWG72-low.svgFigure 4-6 Thickness Sweep