Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BHI160B Accelerometer Bias

    BHI160B Accelerometer Bias

    jannik_sarissa
    New Poster

    Hello,

    I am presently utilizing the BHI160B sensor and have noticed some anomalies in the accelerometer readings. Specifically, there appears to be a persistent bias in the sensor readings for both the accelerometer and linear acceleration, up to around 0.5m/s^2.

    I am aware that the BMI160 sensor offers functionality to correct this type of bias. My question is: How can I access or use this bias compensation feature in the BHI160B sensor?

    Upon reviewing the BHI160B's datasheet, I found that it doesn't specify any such functionality. I would appreciate it if you could guide me on how to access this feature, or provide an alternative solution to counteract the bias.

    Thank you for your time and assistance.

    Best regards,

    Jannik

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hi jannik_sarissa,

    Could we know what is about your hardware?
    And how do you do the test?

    Thank you for your prompt response.

    For your reference, the hardware setup involves an STM32 microcontroller, which is connected to the BHI160B sensor. We are using the official library to interface with the sensor. The primary role of the microcontroller at this stage is to transfer the sensor's data to a computer, where I subsequently log and analyze the raw values.

    Regarding the testing procedure, an experiment was conducted in which the board, equipped with the sensor, was placed on a flat table in various orientations. Interestingly, the linear acceleration demonstrated a consistent bias error that varied depending on the orientation of the sensor. 

    You can find a plot of the linear acceleration attached to this message. 

    Thank you again for your assistance. I look forward to your guidance on resolving this issue.

    Hi jannik_sarissa,

    When you test the sensor, does it remain stationary?
    Do you use fusion data? If fusion is used, BHI160B's built-in BSX algorithm will calibrate the sensor and compensate for offset.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist