ZHCSL96A June 2020 – October 2020 TMAG5124
PRODUCTION DATA
When designing a digital-switch magnetic sensing system, three variables should always be considered: the magnet, sensing distance, and threshold of the sensor.
The TMAG5124 device has a detection threshold specified by parameter BOP, which is the amount of magnetic flux required to pass through the Hall sensor mounted inside the TMAG5124. To reliably activate the sensor, the magnet must apply a flux greater than the maximum specified BOP. In such a system, the sensor typically detects the magnet before it has moved to the closest position, but designing to the maximum parameter ensures robust turn-on for all possible values of BOP. When the magnet moves away from the sensor, it must apply less than the minimum specified BRP to reliably release the sensor.
Magnets are made from various ferromagnetic materials that have tradeoffs in cost, drift with temperature, absolute maximum temperature ratings, remanence or residual induction (Br), and coercivity (Hc). The Br and the dimensions of a magnet determine the magnetic flux density (B) it produces in 3-dimensional space. For simple magnet shapes, such as rectangular blocks and cylinders, there are simple equations that solve B at a given distance centered with the magnet.
Use Equation 1 for the rectangular block shown in Figure 9-3:
Use Equation 2 for the cylinder shown in Figure 9-3:
where
The Hall Effect Switch Magnetic Field Calculator is an online tool that uses these formulas available here: http://www.ti.com/product/tmag5124.
All magnetic materials generally have a lower Br at higher temperatures. Systems should have margin to account for this, as well as for mechanical tolerances.
For the TMAG5124A1, the maximum BOP is 5 mT. When choosing a 1-cm cube NdFeB N45 magnet, Equation 1 shows that this point occurs at 3 cm. This means that the magnet will activate the sensor if the design places the magnet within 3 cm from the sensor during a "turn-on" event. If the magnet is pulled away from the device, the magnetic field will go below the minimum BRP point and the device will return to its initial state.