Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 - dynamic offset heat compensation

    BME680 - dynamic offset heat compensation

    Hi,

    we use the BME680 in an embedded device (A20 Allwinner, display, housing) .... 
    Due to heating effects in the device we need to use the temperature offset compensation of the bsec-library .... The heating due to backlight and mechanical design may be considered as constant as soon as the device is in operation for some time and the temperature inside the housing is more or less stable ....
    Our problem is the heating effect due to dynamic load on the A20 processor (depends on application, user interaction, ....) and we are not sure how to handle this the best way....
    Our current approch is to use the current measurement of the AXP209 powerchip used for power supply to calculate a dynamic offset somehow.... another possibility may be to use an averaged cpu-load to calculate the offset .....

    The question is, since this should be a common problem on many different embedded devices:
    Is there a common approach to handle this use case? Maybe there already exist a formula/algorithm to calculate the offset depending on some sort of current measurement or cpu-load?

    Best regards,
    Bernhard

    2 REPLIES 2

    handytech
    Community Moderator
    Community Moderator

    Unfortunately I personally don't have experience with estimating temperature influence based on CPU load, but I will try to share a few pointers coming to my mind and hopefully anyone more experience may provide further indications:

    • built-in temerature sensors: are there any other components on the PCB with built-in temperature sensors? These may not be very accurate, but temperature from the CPU itself may be valuable additional information to CPU-load?
    • follow the best practice for hardware integration: this may sound obvious to say but it can greatly help with the performance achieved when considering the distance kept from heating components, good air exchange with ambient air, to thermally decouple the sensor from other components, etc.
    • empirical estimation: based on the test setup available to you, I could picture a test where your assembled device is kept inside a controlled temperature chamber with only the minimal processes (and sensor) kept running until stabilization, then cycling through different CPU loads to measure the effective impact on the output?

    Thanks for the reply - 
    2) The hardware is already designed and more or less fixed - but our hardware designer fortunately considered the points you mentioned in your post 😉

     

    1+3) This is in fact what we are trying at the moment .... we operate the devices in a more or less stable temperature environment (with minimal processes) and increase the current consumption via CPU-stress tests .... and we log everything we consider as useable on the PCB (CPU-Load, CPU-temperature, current, BME temperature, ...)....

    The missing part is to find a formula for compensation ..... but we will try 😉

    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