11729 views|14 replies

31

Posts

0

Resources
The OP
 

How to eliminate the influence of gravity acceleration on accelerometer [Copy link]

 
 

How to eliminate the influence of gravity acceleration of the accelerometer? I need to get the real acceleration value of the device.

This post is from MEMS sensors

Latest reply

Brother, have you found a way? I am also thinking about this problem now   Details Published on 2022-5-11 10:17
 
 

2w

Posts

0

Resources
2
 

Would it be possible to take a reading of your accelerometer while it is stationary, and then subtract this value from the measurement afterward?

This post is from MEMS sensors

Comments

It won't work. Once the accelerometer's attitude and spatial position change, it will still be affected by the gravity component.  Details Published on 2019-8-1 15:11
 
 
 

9702

Posts

24

Resources
3
 

You can find relevant information about "linear acceleration"

Android can directly obtain linear acceleration data without gravity. You can look at its source code

Some people on the Internet say that it can be achieved with a low-pass filter

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

9702

Posts

24

Resources
4
 

There is something called linear acceleration in the MotionFX library of open mems of st. You can also try it.

float linear_acceleration_6X[MFX_NUM_AXES]; /* 6 axes device frame linear acceleration */

This post is from MEMS sensors

Comments

I want to eliminate the effect of gravity acceleration using only the accelerometer, without combining it with the gyroscope and magnetometer.  Details Published on 2019-8-1 15:09
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

31

Posts

0

Resources
5
 
littleshrimp posted on 2019-7-25 11:26 There is something called linear acceleration in the MotionFX library of open mems of st. You can also try float linear_accele ...

I want to eliminate the effect of gravity acceleration using only the accelerometer, without combining it with the gyroscope and magnetometer.

This post is from MEMS sensors

Comments

I don't know much about this, I think it would be difficult to use only acceleration  Details Published on 2019-8-2 18:01
 
 
 

31

Posts

0

Resources
6
 
Maychang posted on 2019-7-24 17:53 Would it work to take a reading when your accelerometer is stationary and then deduct this value after the measurement?

It won't work. Once the accelerometer's attitude and spatial position change, it will still be affected by the gravity component.

This post is from MEMS sensors
 
 
 

9702

Posts

24

Resources
7
 
duguyining posted on 2019-8-1 15:09 I want to use only the accelerometer to eliminate the influence of gravity acceleration, without combining the gyroscope and magnetometer.

I don't know much about this, I think it would be difficult to use only acceleration

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

1

Posts

0

Resources
8
 

I would like to ask if you have found a solution using only the accelerometer? I am also facing the same problem.

This post is from MEMS sensors
 
 
 

3

Posts

0

Resources
9
 
zxcv512 posted on 2020-6-4 15:32 Did you find a solution using only the accelerometer? I am also facing the same problem.

Brother, have you found a way? I am also thinking about this problem now

This post is from MEMS sensors

Comments

If only the accelerometer is used without combining with other sensors, the acceleration of the three axes during free fall will all be 0. It is impossible to determine the direction of gravity and naturally it is impossible to calculate the direction of movement of the sensor.  Details Published on 2020-10-9 12:49
 
 
 

9702

Posts

24

Resources
10
 
pycharm2020 posted on 2020-10-8 15:35 Brother, have you found a way? I am also thinking about this problem now

If only the accelerometer is used without combining with other sensors, the acceleration of the three axes during free fall will all be 0. It is impossible to determine the direction of gravity and naturally it is impossible to calculate the direction of movement of the sensor.

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

3

Posts

0

Resources
11
 
littleshrimp posted on 2020-10-9 12:49 If only the accelerometer is used without combining other sensors, the acceleration of the three axes during free fall will be 0, and it is naturally impossible to determine the direction of gravity...

Yes, I just feel that I need another sensor. I am currently using the mpu-6050 sensor, which has both a three-axis acceleration and a gyroscope. I plan to use the gyroscope to measure all directions to remove the influence of gravity acceleration. How do you do it?

This post is from MEMS sensors
 
 
 

9702

Posts

24

Resources
12
 
pycharm2020 Posted on 2020-10-12 10:55 Yes, I just feel that I need another sensor. I am currently using the mpu-6050 sensor, which has both three axes...

ST officially provides library files. You can take a look at the MotionFX of X-CUBE-MEMS1, which requires the use of STM32 microcontrollers and ST sensors.

https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

3

Posts

0

Resources
13
 
littleshrimp posted on 2020-10-12 11:09 ST officially provides library files. You can take a look at the MotionFX of X-CUBE-MEMS1. It needs to use STM32 microcontrollers and ST sensors https:/ ...

Now I don't have access to stm32, I'll try to see if my method is feasible. But thank you anyway.

This post is from MEMS sensors
 
 
 

2

Posts

0

Resources
14
 
Brother, have you found a way? I am also thinking about this problem now
This post is from MEMS sensors
 
 
 

2

Posts

0

Resources
15
 
pycharm2020 posted on 2020-10-8 15:35 Brother, have you found a way? I am also thinking about this problem now

Brother, have you found a way? I am also thinking about this problem now

This post is from MEMS sensors
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

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