Bosch Sensortec Community

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

    BME680: IAQ accuracy definition

    Highlighted
    Established Member

    BME680: IAQ accuracy definition

    Would be nice to get some better understanding about the internal definition of the IAQ accuracy.

    Following will happen:

    1) starting sensor - IAQ=0, accuracy=0
    2)  some later - IAQ=50, accuracy=0  (as sample)
    3)  some later - IAQ=55, accuracy=1  (as sample)
    4)  some later - IAQ=87, accuracy=1  (as sample)
    .....
    1000)  some later - IAQ=76, accuracy=2  (as sample)
    ......
    2000)  some later - IAQ=155, accuracy=2  (as sample)
    ......
    3000) some later - IAQ=125, accuracy=3  (as sample)
    THEN
    3000) some later - IAQ=87, accuracy=2  (as sample)
    3005) some later - IAQ=25, accuracy=2  (as sample)
    3010) some later - IAQ=5, accuracy=2  (as sample)
    3020) some later - IAQ=0, accuracy=2  (as sample)
    3021) some later - IAQ=0, accuracy=2  (as sample)
    3022) some later - IAQ=0, accuracy=2  (as sample)
    .......for long time
    xxxx) some later - IAQ=0, accuracy=2  (as sample)

    --------------------------------

    As far as I understand the sensor is collecting data and after was decided that enough data available the accuracy will be set to 1/2/3.

    So the questions:

    1) how long this process should be going on, and what kind of data needed?
    (one senor here is already collecting data since >10 hours (every 3 seconds) and still have accuracy=1)
    2) what is the condition for accuracy=2 and accuracy=3? Can somebody describe the internal workflow?
    3) How can it be correct that accuracy=2 -> but IAQ=0 for a long time?
    I think in such a case there could be an internal "reset" of collected data (or recalculation/shift) and accuracy should be set back to "0", right?

    Current accuracy=2 means - not trust these values, they can be wrong at all, right?
    But if this is right - after what time we can expect an accuracy=3 then???

    Maybe somebody from development can tell us a bit more about this?

    Thanks!
    Michael

    Tags (2)
    8 REPLIES 8
    Community Moderator

    Re: BME680: IAQ accuracy definition

    Your description of the IAQ accuracy is not totally correct.

    The IAQ accuracy is actually reflecting the current state of the background calibration process, such as:

    • IAQ Accuracy=0 could either mean:
      • BSEC was just started, and the sensor is stabilizing (this lasts normally 5min in LP mode or 20min in ULP mode),
      • there was a timing violation (i.e. BSEC was called too early or too late), which should be indicated by a warning/error flag by BSEC,
    • IAQ Accuracy=1 means the background history of BSEC is uncertain. This typically means the gas sensor data was too stable for BSEC to clearly define its references,
    • IAQ Accuracy=2 means BSEC found a new calibration data and is currently calibrating,
    • IAQ Accuracy=3 means BSEC calibrated successfully.

    Therefore to answer your questions:

    1. The effective duration of the calibration process depends on the stimuli observed by the sensors.
    2. See the definiton above. This also means that an IAQ accuracy going back and forth between 2 and 3 is expected, and that BSEC is successfully recalibrating itself.
    3. As defined above, an IAQ accuracy of 2 while the IAQ output is below 25 typically means BSEC is currently calibrating. If the current environment remains stable long enough, the IAQ output should go back to around 25.
    Established Member

    Re: BME680: IAQ accuracy definition

    Thank you for your explanation.

    Fact is, that in such a situation the IAQ=0 with accuracy=2 will be live for hours (same was reported in Github before closing it).
    The only effective way is to restart the sensor (will be ok with valid values very fast).
    Of course this make only sense, if the saved data is still valid and was not overwritten by the time based save procedure (see link: other topic)

    On other side - one of my sensors is (as in normal case expected) live in a working room since >36 hours - and have still the accuracy=1.
    IAQ was between 25 and 100 in this time.

    So the accuracy=1 maybe "stable" at all, right?

    I think would be helpful to write a bit more about this in documentation.

    BTW: I like this sensor very well - the results are much better as for other air quality sensors.
    As sample this seems to be a good sensor (maybe the best one) for detecting bad outside air quality 😉

    Thanks

    Michael

    Community Moderator

    Re: BME680: IAQ accuracy definition

    As mentioned in the other topic you have linked, the initial obervation reported of IAQ dropping to 0 for unexpected long duration of time could be linked to a glitch in the state file if one was used in the output you have shared.

    Since an accuracy=1 reflects that only low stimuli have been observed over BSEC's history, it is indeed possible that it remained at this value if the air quality itself in the room was stable for that same duration. This also seems to be confirmed as no significant events were seen in the IAQ output during this period.

    Occasional Visitor

    Re: BME680: IAQ accuracy definition

    Sorry to interrupt,

    I also have a question about IAQ calibration. And IAQ accuracy.

     

    I do understand what IAQ accuracy==1 means.

    If I reset the whole device(including the nvs where the device state is stored),

    obviously it starts from IAQ accuaracy =0 and once the sensor is stabilized it turns to 1. But it takes around 2 days to reach 3. It is same with other devices.

    Whereas, once it reaches 3, even if I restart the device(not erasing the state data) it reaches 3 in about 10~30 minutes. 

     

    So here is my question.

    1. Is the calibrating algorithm triggered not just by the deviation in IAQ but also it has to satisfy accumulation of certain amount of data(which is pretty much same as duration of its running time since it has first turned on) if the whole state is reseted ?

    2. In order to make new device to reach accuracy 3 , would it be fine to save the state of one device which has already reached accuracy of 3. And then load this to the newly reseted device? 

    (I am curious because, first, I am not sure the sensor state is the factor that causes this. Second, I guess the calibration should be device specific.)

     

    Truly sorry about this long question, and thank you so much !! 

    Look forward to answer! 

    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