Skip to main content
Visitor II
February 19, 2020
Solved

[LSM6DSL] Different accelerometer magnitude reading between +X axis and -X axis

  • February 19, 2020
  • 3 replies
  • 1194 views

Hi,

As stated in question, accelerometer vector magnitudes are different when sensors are oriented to +X axis and - X axis. Difference is about 5 %.

DT0105 only states about +X axis calibration. so I'm confused whether this difference comes from chip itself, or installation.

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @MKang.1​ , are you measuring data at application level? If so, did you check if you are fully planar with respect to x-direction (board / soldered device / etc), in order to avoid an "environmental" offset. Supposing it is an offset of any type, it is possible to compensate an unwanted offset in two different ways:

    1. Writing the offset value in the X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h) --> see p.95 of the datasheet
    2. Saving the offset at software level and subtracting it to the acquired data

    Regards,

    Eleon

    3 replies

    ST Employee
    February 19, 2020

    Hi @MKang.1​ , are you measuring data at application level? If so, did you check if you are fully planar with respect to x-direction (board / soldered device / etc), in order to avoid an "environmental" offset. Supposing it is an offset of any type, it is possible to compensate an unwanted offset in two different ways:

    1. Writing the offset value in the X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h) --> see p.95 of the datasheet
    2. Saving the offset at software level and subtracting it to the acquired data

    Regards,

    Eleon

    MKang.1Author
    Visitor II
    February 19, 2020

    Hi Eleon,

    I understood I need to calibrate an offset. To calculate offset value, can I refer to DT0053 also for LSM6DSL?

    Thanks for prompt answer.

    Regards,

    Kang

    ST Employee
    February 19, 2020

    Yes, the mentioned design tips are generic and can be used also for LSM6DSL.

    You can refer also to this community topic.

    Regards

    MKang.1Author
    Visitor II
    February 19, 2020

    Now it seems clear. Thanks!