6473 views|20 replies

138

Posts

0

Resources
The OP

The accelerometer is placed horizontally and the data is not read correctly. [Copy link]

 

When the ADXL355 accelerometer is placed horizontally, the theoretical readings of the X-axis and Y-axis data should be 0g, and the Z-axis data should be plus or minus 1g, but now I can't get such data. I want to calibrate it, but when I change different angles in the horizontal plane and read the acceleration values output by the XY axis of the accelerometer, I find that the deviation is large. The data is as follows:

X =1,Y=17; //After the first movement, the data measured in the static state

X=15,Y=36;//After the second movement, the data measured in the static state

X=-2,Y=52;//After the third movement, the data measured in the static state

Please help me analyze whether this is correct?

If an offset value is written, how should it be selected? If multiple measurements are taken to get the average, will the error also be large enough?

This post is from Sensor

Latest reply

X=18D0, g=0.0015. If you change X=1, X=15, X=-2 to g, it is very very close to 0g, right? It is almost the ideal 0g. Isn't this exactly what you want?   Details Published on 2020-4-13 21:03

1w

Posts

26

Resources
2

It feels like the data read is incorrect. Under normal circumstances, the consistency is good, the deviation is not too large, and there will only be a small range of fluctuations

This post is from Sensor

Comments

[attachimg]470104[/attachimg]  Details Published on 2020-4-13 14:47

8199

Posts

2

Resources
3
Convert it to g and see that the original value has a jump anyway
This post is from Sensor

Comments

[attachimg]470111[/attachimg]  Details Published on 2020-4-13 14:48

1w

Posts

24

Resources
4

Are the values of X and Y the original data read from the register?

The sensor itself will have some noise. You can check the data sheet to see if the actual noise is within the range.

In addition, it is difficult for an individual to achieve an absolutely horizontal plane, and the sensor will also be affected by external vibrations, which all need to be considered.

This post is from Sensor

Comments

[attachimg]470110[/attachimg]  Details Published on 2020-4-13 14:48
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾

138

Posts

0

Resources
5
dcexpert posted on 2020-4-13 11:43 It feels like the read data is wrong. Under normal circumstances, the consistency is good, the deviation will not be too large, and there will only be a small range of fluctuations

This post is from Sensor

Comments

The data range is not that large. Generally, the accuracy of accelerometers is only 10-12 bits.  Details Published on 2020-4-13 15:48

138

Posts

0

Resources
6
littleshrimp posted on 2020-4-13 12:24 Are the values of X and Y the original data read from the register? The sensor itself will have some noise. You can check the data sheet to see the actual noise...

This post is from Sensor

Comments

It seems that there is no component of gravity acceleration in your data. Are you sure the data you read is accurate?  Details Published on 2020-4-13 15:33

138

Posts

0

Resources
7
freebsder posted on 2020-4-13 11:57 Convert it to g and see that the original value has a jump anyway

This post is from Sensor

138

Posts

0

Resources
8

This is the data read

This post is from Sensor

1w

Posts

24

Resources
9

It seems that there is no component of gravity acceleration in your data. Are you sure the data you read is accurate?

This post is from Sensor

Comments

The data of the XYZ axes are all read directly from the registers and read out via I2C.  Details Published on 2020-4-13 16:17
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾

1w

Posts

26

Resources
10

The data range is not that large. Generally, the accuracy of accelerometers is only 10-12 bits.

This post is from Sensor

Comments

ADXL355 is a 20-bit register  Details Published on 2020-4-13 16:16

138

Posts

0

Resources
11
dcexpert posted on 2020-4-13 15:48 The data does not have such a large range. The accuracy of general accelerometers is only 10-12 bits.

ADXL355 is a 20-bit register

This post is from Sensor

Comments

If it is high-precision, then the data is fine. Look at the data manual to see if there are requirements for reading timing, whether the data conversion is completed, parameter settings, etc. Since the register data can be read, there should be no problem.  Details Published on 2020-4-13 17:20

138

Posts

0

Resources
12
littleshrimp posted on 2020-4-13 15:33 It seems that there is no component of gravity acceleration in your data. Are you sure the data you read is accurate?

The data of the XYZ axes are all read directly from the registers and read out via I2C.

This post is from Sensor

Comments

Check who am i to troubleshoot communication issues  Details Published on 2020-4-13 16:47

591

Posts

2

Resources
13

The surrounding environment and people walking by will affect the reading results.

This post is from Sensor

Comments

It is simply placed on the desk, with people around. The desk does not move.  Details Published on 2020-4-13 16:59
Personal signature有的时候要求软硬件必须并排走,哪个走的稍快一些都会被另外一个拖住的。

业务联系:

QQ:3265386825
e-Mail: yichunscp@163.com

1w

Posts

24

Resources
14
emily_1105 posted on 2020-4-13 16:17 The data of the XYZ axis are all read directly from the register, read out by I2C.
Check who am i to eliminate communication problems
This post is from Sensor

Comments

What does who an i mean?   Details Published on 2020-4-13 16:53

138

Posts

0

Resources
15
littleshrimp posted on 2020-4-13 16:47 Check who am i to rule out communication problems

What does who an i mean?

This post is from Sensor

Comments

A register of the sensor can determine whether the communication is normal  Details Published on 2020-4-13 17:18

138

Posts

0

Resources
16
yichun417 posted on 2020-4-13 16:40 The surrounding environment and people walking by will affect the reading results.

It is simply placed on the desk, with people around. The desk does not move.

This post is from Sensor

Comments

Then your level data is not of reference value.  Details Published on 2020-4-13 17:12

1

Posts

0

Resources
17

It seems that there is a problem in converting the value from the XYZ register to G unit value.

This post is from Sensor

591

Posts

2

Resources
18
emily_1105 posted on 2020-4-13 16:59 It is simply placed on the desk, and there are people around. The desk does not move.

Then your level data is not of reference value.

This post is from Sensor
Personal signature有的时候要求软硬件必须并排走,哪个走的稍快一些都会被另外一个拖住的。

业务联系:

QQ:3265386825
e-Mail: yichunscp@163.com

1w

Posts

24

Resources
19
emily_1105 posted on 2020-4-13 16:53 What does who an i mean?
A register of the sensor can determine whether the communication is normal
This post is from Sensor

1w

Posts

26

Resources
20
emily_1105 posted on 2020-4-13 16:16 ADXL355 is a 20-bit register

If it is high-precision, then the data is fine. Look at the data manual to see if there are requirements for reading timing, whether the data conversion is completed, parameter settings, etc. Since the register data can be read, there should be no problem.

This post is from Sensor

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list