Post Go back to editing

adxl345 output rate and sampling period

Thread Summary

The user asked about the relationship between the user-selectable output data rate (ODR) and the ADC sampling period. The final answer indicates that the relationship varies: at 3200Hz and 1600Hz ODR, the ADC outputs directly, with skipped cycles at 1600Hz to save power. At 800Hz to 100Hz ODR, the ADC samples at 3200Hz and applies a digital filter. Below 100Hz ODR, the ADC continues to sample at 3200Hz but skips more cycles, reducing power consumption and maintaining a 50Hz effective bandwidth.
AI Generated Content

What is the relationship between the user selectable output data rate and the ADC sampling period? Is it fixed or does it vary?

Parents
  • The short answer is that it depends on the data rate. The long answer is:

    At ODR=3200Hz the output is the direct ADC output.

    At ODR=1600Hz you still get direct ADC output, but the ADC is clocked so as to skip every other read cycle (this saves power as we shut the ADC down during skipped cycles)

    At ODR=800Hz to 100Hz the ADC is sampling at 3200Hz and the ADC output goes through a digital filter with varying coefficients to result in different bandwidths.

    At ODR<100Hz the ADC still runs at 3200Hz, we just skip more measurement cycles. The effective bandwidth is 50Hz (same as the 100Hz ODR), but with less frequent reporting. Again, this is done to save power. You can see the current consumption reduce as bandwidth is reduced below 100Hz ODR.

Reply
  • The short answer is that it depends on the data rate. The long answer is:

    At ODR=3200Hz the output is the direct ADC output.

    At ODR=1600Hz you still get direct ADC output, but the ADC is clocked so as to skip every other read cycle (this saves power as we shut the ADC down during skipped cycles)

    At ODR=800Hz to 100Hz the ADC is sampling at 3200Hz and the ADC output goes through a digital filter with varying coefficients to result in different bandwidths.

    At ODR<100Hz the ADC still runs at 3200Hz, we just skip more measurement cycles. The effective bandwidth is 50Hz (same as the 100Hz ODR), but with less frequent reporting. Again, this is done to save power. You can see the current consumption reduce as bandwidth is reduced below 100Hz ODR.

Children
No Data