Bosch Sensortec Community

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

    Gas Estimation range and Update Frequency

    Gas Estimation range and Update Frequency

    brianchen
    Member

    I'm using BSEC2.4.0.0  (BSEC2.4.0.0_Generic_Release) with ATMEL SAM M4 MCU.  I set the sample rate "BSEC_SAMPLE_RATE_SCAN" and print out virtual sensor data on output_ready(). At sensor intiailzation, I load configure data of bsec_config_selectivity[1974], that was generated from BME AI studio on PC. Heater and RDC was set to HP-354 / RDC-5-10. Then, it shows that the gas estimation is always reported only on Gas Index = 9, otherwise gas estimations are 0 as following message.  I'm not sure this is correct? Should I skip other data when Gas Index is not 9 for making decision to report an deteciton result to users? 

    [BME688] Time:313 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101173.9
    ======== Temperature: 29.1
    ======== Relative Humidity: 41.5%
    ======== Gas: 302511.0
    ======== Gas Index: 0
    ======== BSEC Status: 0
    [BME688] Time:313 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101178.4
    ======== Temperature: 28.7
    ======== Relative Humidity: 41.4%
    ======== Gas: 44431188.0
    ======== Gas Index: 1
    ======== BSEC Status: 0
    [BME688] Time:313 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101175.3
    ======== Temperature: 28.0
    ======== Relative Humidity: 41.4%
    ======== Gas: 36217740.0
    ======== Gas Index: 2
    ======== BSEC Status: 0
    ==Sensor Value== 1347 sec. 1347983 ms after booting
    [BME688] Time:314 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101175.4
    ======== Temperature: 27.9
    ======== Relative Humidity: 42.1%
    ======== Gas: 27232910.0
    ======== Gas Index: 3
    ======== BSEC Status: 0
    [BME688] Time:314 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101175.2
    ======== Temperature: 28.4
    ======== Relative Humidity: 42.2%
    ======== Gas: 1447349.8
    ======== Gas Index: 4
    ======== BSEC Status: 0
    [BME688] Time:314 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101174.1
    ======== Temperature: 28.6
    ======== Relative Humidity: 42.2%
    ======== Gas: 1314927.7
    ======== Gas Index: 5
    ======== BSEC Status: 0
    [BME688] Time:315 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101175.3
    ======== Temperature: 28.6
    ======== Relative Humidity: 42.1%
    ======== Gas: 1211117.6
    ======== Gas Index: 6
    ======== BSEC Status: 0
    [BME688] Time:315 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101177.4
    ======== Temperature: 29.0
    ======== Relative Humidity: 42.0%
    ======== Gas: 239140.5
    ======== Gas Index: 7
    ======== BSEC Status: 0
    [BME688] Time:315 ==============================
    ======== Gas#1: 0; #2: 0; #3: 0; #4: 0
    ======== Pressure: 101173.4
    ======== Temperature: 29.1
    ======== Relative Humidity: 41.8%
    ======== Gas: 279019.0
    ======== Gas Index: 8
    ======== BSEC Status: 0
    [BME688] Time:315 ==============================
    ======== Gas#1: 97; #2: 2; #3: 0; #4: 0
    ======== Pressure: 101173.2
    ======== Temperature: 29.1
    ======== Relative Humidity: 41.6%
    ======== Gas: 297760.9
    ======== Gas Index: 9
    ======== BSEC Status: 0

    2 REPLIES 2

    BSTRobin
    Community Moderator
    Community Moderator

    Hi brianchen,

    This is normal printing information.
    The gas estimation results are only output when index=9, which corresponds to the 10 sets of the Heat Profile, i.e. 0-9. Therefore, the results will only be output after completing the Heat Profile.

    Noted. Thank you!

    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