SBAA632 April   2024 TMAG3001 , TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5273

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Implementation and Testing
    1. 2.1 Build Configuration
    2. 2.2 Data Collection
    3. 2.3 Speed Calculation Methods
      1. 2.3.1 Continuous Sampling
      2. 2.3.2 Running Average
      3. 2.3.3 Zero-Crossing
      4. 2.3.4 Periodic Sampling
  6. 3Summary
  7. 4References

Periodic Sampling

A final consideration for sampling patterns is to wake the sensor for a burst of measurements. In cases where the system response remains constant for a longer duration, it can be possible to keep the device in a low power state when not needed to conserve power. At some desired interval, the device can be brought out of low power sleep mode, allowed to calculate δθ/δt for n samples, and then return to sleep. This method maintains the benefit of a running average calculation, but only provides periodic updates. Running calculations at wider intervals is desirable to achieve lower power consumption for functions that do not require continuous updates.