SBAA463A january 2021 – april 2023 TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5273
Three dimensional sensors, such as TMAG5170, offer the ability to determine the angular position of a magnet using a single Hall-effect sensor. This is especially powerful in systems where space is limited. To help make the device even more accessible, built-in scalability allows the user to select nearly any position by allowing the system to scale inputs to the CORDIC calculator such that they are matched.
With amplitudes of input components matched, angular calculations are simple. The non-linearity of angular measurements can be easily eliminated by ensuring that the outputs are scaled to an equivalent magnitude before running the CORDIC algorithm.
Care should always be taken to account for mechanical tolerances and errors. The finest precision will always require some additional calibration as variations in magnet rotation such as tilt, wobble, and offset that occur during assembly and manufacturing are typically impossible to predict in advance.