Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680: Sensor Data Interpretation

    BME680 is as combined digital gas, humidity, pressure and temperature sensor based on proven sensing principles.

    API Link: https://github.com/BoschSensortec/BME680_driver

    BSEC Link: https://www.bosch-sensortec.com/bst/products/all_products/bme680

    Sensor data type

    Gas sensor data is gas sensor resistance.

    Humidity sensor data is in type of percentage (10%-90%, in 0°C-65°C).

    Pressure sensor data is in type of hPa (300hPa-1100hPa, in 0°C-65°C).

    Temperature sensor data is in type of °C (-40°C-85°C).

    Use function bme680_get_sensor_data in API to get sensor data.

    Use BSEC software Library, put gas/humidity/pressure/temperature sensor data as inputs into BSEC, you can also get IAQ(Indoor Air Quality) from outputs.

    Measurement preiod

    The BME680 measurement period consists of a temperature, pressure and humidity measurement with selectable oversampling. Moreover, it contains a heating phase for the gas sensor hot plate as well as a measurement of the gas sensor resistance.

    After the measurement period, the pressure and temperature data can be passed through an optional IIR filter, which removes short-term fluctuations in pressure (e.g. caused by slamming a door). For humidity and gas, such a filter is not needed and has not been implemented

    Gas resistance sensitivity

    The sensitivity of BME680 to certain target gas is gas_resistance/gas_resistance_base. The sensitivity equaling to 1 means BME680 is not sensitivity in this concentration of the target gas, while the less value in sensitivity, the more sensitive BME680 to the target gas. 

    Data Interrupt

    There is new data interrupt in BME680, below table shows how to enable this feature.

    11.png

     Pressure sensor drift

    Used to represent errors in measured values. Basically, two drifts will appear on the pressure part in BME680: one is solder drifts and the other is long term drift.

    12.png

     Pressure sensor offset temperature coefficient (TCO)

    TCO is the change in the pressure signal introduced by a change of the temperature.

    For pressure sensor, TCO is ±1.5 Pa/K, equiv. to ±12.6 cm at 1 °C temperature change, which means pressure sensor data will change within ±1.5 Pa with 1 °C temperature change at constant pressure.

    Accuracy of temperature/pressure/humidity

    This feature is used to represent how much accuracy can be achieved on certain condition.

    Humidity sensor:

    ±3 % relative humidity, on condition: 20-80 %r.H., 25°C, including hysteresis

    Pressure sensor:

    0.12 hPa, on condition: 25°C-40°C, 700-1100hPa, at constat humidity

    Temperature Sensor:

    ±1°C, on condition: 25°C

    ±0.5°C, on condition: 0…65°C

    OSR / Oversampling of humidity/pressure/temperature

    There are several oversampling options for different sensors. It is possible to reduce noise, but the power consumption will be higher.

    Humidity sensor OSR

    14.png

     As for how to set osrs_h<2:0>, b000->skip humidity data/no humidity, b001->oversamplingx1, b010->oversamplingx2, b011->oversamplingx4, b100->oversamplingx8, b101/Others->oversamplingx16.

    Pressure sensor OSR

    18.png

     As for how to set osrs_p<4:2>, b000->skip humidity data/no humidity, b001->oversamplingx1, b010->oversamplingx2, b011->oversamplingx4, b100->oversamplingx8, b101/Others->oversamplingx16.

    Temperature sensor OSR

    19.png

     As for how to set osrs_t<7:5>, b000->skip humidity data/no humidity, b001->oversamplingx1, b010->oversamplingx2, b011->oversamplingx4, b100->oversamplingx8, b101/Others->oversamplingx16.

    You can use function bme680_set_sensor_settings in API to set OSR of any sensor.

    Signal filter

    The environmental pressure is subject to many short-term changes, caused e.g. by slamming of a door or window, or wind blowing into the sensor. To suppress these disturbances in the output data without causing additional interface traffic and processor work load, the BME680 features an internal IIR filter. Via setting filter coefficient(c), it effectively reduces the bandwidth of the temperature and pressure output signals and increases the resolution of the pressure and temperature output data to 20 bit(Pressure and Temperature OSR must be non-zero). When c is bigger, response time will be longer.

    20.png

    21.png

     As for how to set filter<4:2>, b000->filter coefficient 0, b001-> filter coefficient 1, b010-> filter coefficient 3, b011-> filter coefficient 7, b100-> filter coefficient 15, b101-> filter coefficient 31,  b110-> filter coefficient 63, b111-> filter coefficient 127.

    You can use function bme680_set_sensor_settings in API to set filter.

     

     

    Version history
    Last update:
    ‎10-14-2019 03:27 PM
    Updated by:
    Contributors
    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