Ask: BMA456 can measure the accurate static tilt angle when the z-axis is horizontal, but the z-axis is tilted, that is, the x-axis rotates, and the value of xy also has errors. Is there a way to eliminate the interference of the z-axis?
Thanks for your inquiry.
BMA456 is a 16-bit high performance 3-axis accelerometer. It outputs x/y/z acceleration signed integers as raw data. You can convert the raw data to the values in the unit of g by multiplying the sensitivity parameter to the signed integers.
In order to get accurate static tilt angle measurements, there are two steps. The first step is one time calibration at 6 stationary positions such as x-up, x-down, y-up, y-down, z-up and z-down. Then you can determine the calibration parameters and save these parameters in your MCU's flash memory for future use. The second step is calculating the tilt angle by applying the calibration parameters to every BMA456 raw data to get calibrated values in the unit of g and using the formula. Please refer to the article at https://www.nxp.com/files-static/sensors/doc/app_note/AN3461.pdf for more information about the calibration and formula.
Thank you, I am sure the calibration has been completed, but I found that when the z-axis is tilted, the output change ratio of the x and y axes is inconsistent, making it still impossible for me to perform high-precision measurements.
The calibration parameters include cross-axis sensitivity for xy, xz, yx, yz, zx and zy. This means that when z axis is tilted, the final calibrated acceleration values of X, Y and Z axes should be still accurate for you to get the precise tilt angle values, where X/Y/Z axes are device body axes, not the BMA456 x/y/z axes.
If possible, please provide detailed examples and data for this issue including calibration parameters, BMA456 raw data and final calibrated values.