cancel
Showing results for 
Search instead for 
Did you mean: 

Accelerometer sensor automatically compensate for temperature

kimia23
Associate II

Hello,

the values of my accelerometer axes are affected by temperature changes and require calibration at each temperature.

What method should be used for compensation? How can Bias Drift and Scale Factor Drift be determined each time the temperature changes?

5 REPLIES 5
Andrew Neil
Super User

You haven't said what accelerometer you are using.

How to write your question to maximize your chances to find a solution

 

There should be temperature data in the datasheet?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I am using the LIS331 sensor and have attached the datasheet here.

So did you read the datasheet to find the temperature-related specification ?

It is your job as designer to study the datasheet ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, I have studied it, but I am looking for an appropriate algorithm to compensate for temperature when using bias and scale coefficients.

Your attached datasheet doesn't seem to work.

Here's the ST Product Page: https://www.st.com/en/mems-and-sensors/lis331dlh.html

The temperature variations are specified in Table 3 of the datasheet:

AndrewNeil_0-1765883521142.png

https://www.st.com/resource/en/datasheet/lis331dlh.pdf#page=9

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.