cancel
Showing results for 
Search instead for 
Did you mean: 

(LSM6DSL) how to get total G-Force

Edoyo.1
Associate

(Because I am not good at English, I used Google Translator.)

I'm using the LSM6DSL sensor now. I think that with this sensor still, the total gravity acceleration should be 1G, or 9.8.

( Total - G - Force = SQRT(x^2 + y^2 + z^2 ) )

However, as the sensor's position or inclination changes while it remains stationary, it brings a different value from 9.8 to 10.3.

I wonder if you should correct each axis by angle when measuring the total gravity in a stationary state.

If you know or have experienced these problems, can you give me advice?

( LA_So - FS = +-2, type = 0.061 mg/LSB )

thanks for reading.

have a nice day ^^*

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Edoyo.1​ , are you measuring the g force in different position when the device is really stationary and not moving? Btw, there is the possibility to compensate any offset due to the soldering or the mounting on the hw platform by acting on the accelerometer user offset correction, i.e. X_OFS_USR, Y_OFS_USR, Z_OFS_USR (registers 73h to 75h). Or you can apply the embedded low pass filter if the contribution comes from a non-stationary acceleration but from e.g. some external vibrations. Regards