Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    Calibration of the BME680 (Using Shuttle Board 3.0)

    Calibration of the BME680 (Using Shuttle Board 3.0)

    FanDE
    New Poster

    Hi everyone!

    After fixing my "update-problem" i startet the measurement (Application Board 3.0 with the BME680 shuttle board) in the low power mode (BSEC mode). The IAQ is visible in the general / measurement settings panel like in the following picture:

    FanDE_0-1641961614946.png

    My measurement is running about 3 hours but the IAQ and the accuracy didn't change. Like in the "text" described I opened the BME68x manual. But I can't find the word "calibrate" in this manual. So my questions are:

    1. Is this still the calibration process after starting the measurement?

    2. Can you explain me how I calibrate the sensor (good environment / bad environment)? And how long does it take?

    3. Is it possible to save the "calibration data" after the sensor is calibrated for the next use in the same environment or it is necessary to calibrate the sensor at every start?

    4. How can I improve the accuracy?

    Thank you in advance!

    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hello FanDE,

    You could download BME680 data sheet, BSEC package and refer them.
    https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf
    https://www.bosch-sensortec.com/software-tools/software/bsec/

    Take LP mode as an example:
    In the first 30 minutes, the change of resistance value is not obvious, and the algorithm does not output IAQ value.
    The IAQ value obtained within 8 hours is not trusted, and the trusted IAQ value can be obtained only after 8 hours.
    After 7 days, for different sensors under the same environment, based on similar baselines, the output value should be within the scope of the specification, ± 15 + ± 15%.

    BSEC algorithm automatically calibrate and adapt themselves to the typical environments where the sensor is operated(e.g., home, workplace, inside a car, etc.). This automatic background calibration ensures that users experience consistent IAQ performance. The calibration process considers the recent measurement history(typ. up to four days, adjustable by BSEC config string) to ensure that IAQ ~ 26 correspnds to "typical good" air and IAQ ~ 250 indicates "typical polluted" air.

    This is example of getting and setting calibration status in BME680_BSEC_1.4.8.0 example code.

    /*!
    * @brief Load previous library state from non-volatile memory
    *
    * @param[in,out] state_buffer buffer to hold the loaded state string
    * @param[in] n_buffer size of the allocated state buffer
    *
    * @return number of bytes copied to state_buffer
    */
    uint32_t state_load(uint8_t *state_buffer, uint32_t n_buffer)
    {
    // ...
    // Load a previous library state from non-volatile memory, if available.
    //
    // Return zero if loading was unsuccessful or no state was available,
    // otherwise return length of loaded state string.
    // ...
    return 0;
    }

    /*!
    * @brief Save library state to non-volatile memory
    *
    * @param[in] state_buffer buffer holding the state to be stored
    * @param[in] length length of the state string to be stored
    *
    * @return none
    */
    void state_save(const uint8_t *state_buffer, uint32_t length)
    {
    // ...
    // Save the string some form of non-volatile memory, if possible.
    // ...
    }

    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