#### Bosch Sensortec Community

cancel
Showing results for
Did you mean:
SOLVED

## BME680: IAQ accuracy definition

Established Member

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???

Thanks!
Michael

10 REPLIES 10
Community Moderator

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.

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

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?

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

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

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.)