Home > other > Adxl345 measurement data is not accurate, not stationary state after removal of acceleration of grav
Adxl345 measurement data is not accurate, not stationary state after removal of acceleration of grav
Time:09-23
Still placed upward, z axis x, y, z is the raw data into acceleration, gravity acceleration take 980 cm/s ^ 2, and the error of the z axis is 20, gx, gy, gz acceleration is obtained and the horizontal plane Angle, error within 2 degrees, if after the removal of acceleration of gravity, no matter what device location, static acceleration according to the formula should be 0, but the actual is main with the acceleration of gravity in the same direction of the axis error is too big, the other two axis error is reasonable, don't know why, not zero acceleration resting, points out the speed of increasing or decreasing, does not conform to the requirements, don't know how to solve, how to offset the resting after the acceleration of gravity acceleration of 0 or within a reasonable error?
CodePudding user response:
You won't be want to use this to calculate speed? Generally is used to calculate the Angle, detect shaking, determine that would prevent a direction, used to calculate velocity error will be large, and in theory to calculate the velocity error accumulates by acceleration, over time error can be considerable