Languages

Menu
Sites
Language
About errors of accelerometer on Z1

I tried to output the acceleration data of the accelerometer, but I found on X, Y, Z directions, the maxium value is not 9.8 m/s^2 and the minum value is not -9.8 m/s^2.

When the Z1 screen is face up, the maximum Z value is around 8.8.

When the screen is face down, the minum Z value is around -10.5

Samely, the maximum Y value is around 10.2.

the minum Y value is around -9.6.

The maxium X value is around 9.5,

The minum X value is around -9.9.

To compensate the error, adjust the origin point may can work. For example, the origin value at a certain axis could be (maxium+minum)/2.

So for my data, the X origin could be adjusted to (9.5-9.9)/2 = -0.2. The Y origin could be adjusted to (10.2-9.6)/2 = 0.3. The Z origin could be adjusted to (8.8-10.5)/2 = -0.85.

What's your experience to compensate the accelerometer errors?

 

 

 

 

Responses

2 Replies
daniel kim

Hi,

According to below conversation, accelerometer can have +-2g value usually . but need datasheet to check it exactly.

   http://stackoverflow.com/questions/25280924/android-accelerometer-full-range

Regards

Jean Yang

Hi Daniel,

  Sorry, I did not explain clearly what I mean. I mean use the accelerometer as gravity sensor, get the X, Y, Z components' values just when put the phone face up/down, left side up/down, top side up/down on the table, without any additional acceleration on any direction.

  These values has some errors than it should be. What's your experience to compensate these errors?

Thanks

Jean.