Quote of the Day

I planned on having one husband and seven children, but it turned out the other way around.

I am working on a product that uses a Bosch BMA253 accelerometer as a motion sensor. This family of products has become a defacto standard for inexpensive motion detection. In this post, I will provide a simple power calculation example along with some empirical data that Bosch provided me. Normally, I would not consider a simple power calculation worth writing about, but the datasheet did not provide a worked example. I also provide an Excel workbook that parameterizes the critical variables.

Here are the critical formulas for low power mode 1. For low power mode 2, the formulas are the same with the 1 subscript changed to 2.

Eq. 1 | |

Eq. 2 | |

Eq. 3 | |

Eq. 4 |

where

*bw*is the bandwidth setting of the digital filter.*t*is the updated time for the filter output data._{ut}*t*is the data acquisition stabilization time._{w,up1}*t*is the time during which the BMA253 is put in suspend mode (“sleep”)._{sleep}*t*is the time during which the BMA253 is stabilizing and acquiring data._{active}*f*is the output data rate from the digital filter._{Output}*I*is the current draw of the BMA253 when it is performing data acquisition (“active”)._{DD}*I*is the current draw of the BMA253 when it is in suspend mode (“sleeping”)._{DDsum}

Figure 2 illustrates the data acquisition timing.

I can use Equations 1-4 to generate Table 1, which assumes that

- bw= 1000 Hz
- t
_{w,up1}= 1.3 ms - I
_{DD}= 130 μA - I
_{DDsum}= 2.1 μA

What I liked about the data I received from Bosch is that it allows me to determine the accuracy of the current draw formula relative to the measured data.