2021-03-04 01:54 AM
2021-03-04 07:44 AM
Hi @PChie.1 ,
I would suggest you to set mid-ODR (e.g. 50 or 100Hz), and then you can average the sensed data), low FS, low BW, no high pass filter, since otherwise you'll cut the DC earth acceleration that you precisely need for the tilt measure.
For the effective tilt calculation, I suggest you to check the AN4509 application note: Tilt measurement using a low-g 3-axis accelerometer, where s tilt sensing theory and the methods of determining tilt angle measurement of a low-g 3-axis accelerometer are described.
From an algorithmic point of view, you might also consider the MotionTL tilt measurement library in X-CUBE-MEMS1 expansion for STM32Cube, which provides real-time information about the tilt angles of the user device, i.e. cell phone. The library is also able to perform accelerometer 6-position calibration.
If you find this answer useful for you purposes, please please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon
2021-03-04 07:44 AM
Hi @PChie.1 ,
I would suggest you to set mid-ODR (e.g. 50 or 100Hz), and then you can average the sensed data), low FS, low BW, no high pass filter, since otherwise you'll cut the DC earth acceleration that you precisely need for the tilt measure.
For the effective tilt calculation, I suggest you to check the AN4509 application note: Tilt measurement using a low-g 3-axis accelerometer, where s tilt sensing theory and the methods of determining tilt angle measurement of a low-g 3-axis accelerometer are described.
From an algorithmic point of view, you might also consider the MotionTL tilt measurement library in X-CUBE-MEMS1 expansion for STM32Cube, which provides real-time information about the tilt angles of the user device, i.e. cell phone. The library is also able to perform accelerometer 6-position calibration.
If you find this answer useful for you purposes, please please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon