SBAA632 April 2024 TMAG3001 , TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5273
Since angle measurements are often able to occur many times per gear tooth, it is also possible to create a running average for δθ/δt. For a number of samples, n, the system can implement a shift register for the last n results and provide an average value which updates after each sample. While this has the drawback of being a more memory intensive process for the MCU, the calculated speed can update more slowly and predictably. This method is particularly useful in systems that benefit from a gradual change in feedback such as speedometers and human interface controls such as pedal cadence.