Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME280 pressure vs temperature

    BME280 pressure vs temperature

    Myzhar
    Established Member

    Hi,
    I'm using a BME280 to estimate the altitude of an object.
    I designed a Kalman Filter to fuse IMU and Barometer data to better estimate the movements relative to Z axis.

    My problem is that I noticed a drift of the measured pressure of the BME280 related to the raising/dropping of its own temperature.

    According to the datasheed of BME280 the pressure and the temperature are related by a "Temperature coefficient of offset" (TCO) of 1.5 Pa/°K.

    Analizing the pressure compensation formula of the BME280 API provided by Bosh (I'm using the latest version from Github using "double formulas") I supposed that this "drift" was corrected by the "t_fine" value, but according to my measurements this is not the case, as you can see in the following comparison plots:

    Screenshot from 2020-04-07 18-13-23.png

    The acquisition lasts about one hour and the temperature raises for self-heating of the PCB that is closed inside an alluminium case.
    The device is placed in a room by itself and no doors and no windows are opened/closed.

    Do I have to calibrate the sensor looking for the formula that links the pressure trend to the increase/drop in temperature?

    It is really important for my application to understand this behavior because 1 Pa of pressure is about 8 cm of altitude difference and a steady sensor is reported as moving for more than 1 meter in less than 10 minute... 

    Thank you
    Walter

    1 REPLY 1

    handytech
    Community Moderator
    Community Moderator

    From the data shared we cannot tell if the drift observed in the output is due to the sensor or to envrionmental conditions (e.g. local weather changes). It would be helpful to reproduce tests in controlled conditions, and/or include data from an appropriate reference sensor.

    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