-
Notifications
You must be signed in to change notification settings - Fork 35
Sampling interval #130
Comments
Hi neja20 SGP40/SVM40 in combination with VOC Index only supports continuous operating mode. For the VOC Algorithm to work it expects an updated value every second. Best regards |
It is possible. I use the SGP40 (next to BME688) per minute, in an ESP32 deep sleep environment (ULP update in between per minute, not per second) and a big run every 5 minutes for other sensors. I am still working on the ULP, but i measured the same index measuring per second or per minute (same devices, same room, interval only difference). Key is to change the interval in the header file: VocAlgorithm_SAMPLING_INTERVAL (60.) But there is a big but. In my experience it is critical to let the device learn for around two hours in a stable environment. Keep the VOC levels those two hours very stable, be cautious with opening doors and windows while in this period. After this period the results were very satisfying, of course keep in mind you loose some agility / quick responses. But the index dynamics and values are 95% similar. I tried modifying SRAW_STD_INITIAL and TAU_INITIAL_MEAN, without success. It's a pity Sensirion is a little bit cloudy about the vocindex settings, but on the other hand.. they are more transparent than Bosch with their precompiled library. |
Thank you for your input. It is indeed possible to change the sampling interval expected by the algorithm. But we as sensirion don't support the high efforts required to perform this task and get a reasonable and qualifiable index output. But if anyone would like to take that challenge and adapt the algorithm to support different sampling intervals and take the effort to learn the difference in the resulting signal dynamics, feel free to do so. That's why we provide the algorithm open source, enabling others to take the standard as starting point and invest all their energy in innovating things. It's very nice to see people invest their time using our sensors, so thank you for that. We will be publishing an updated version of the Gas Index Algorithm within the next month, and will also provide documentation on the algorithm tuning parameters. It is also planned to provide a tool, to get people to experience the influence of the tuning parameters in a more intuitive way. So stay tuned. I'm excited what you'll think of that. And thanks for the compliment ;) |
Any news about this functionality ? 😎 |
The gas index algorithm is publicly available in those two repository: C and Python: Arduino: Please check the header files for the documentation of the algorithm parameters, e.g. |
MBjoern commented on Nov 10, 2021 :- Any update on this functionality ? Thank You |
Yes and i would also want to know if the interval would be updatable by code and not hard coded :)
Outlook voor iOS<https://aka.ms/o0ukef> downloaden
…________________________________
Van: dingoxx ***@***.***>
Verzonden: Wednesday, May 18, 2022 9:12:14 AM
Aan: Sensirion/embedded-sgp ***@***.***>
CC: Remy Hurx ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [Sensirion/embedded-sgp] Sampling interval (#130)
MBjoern commented on Nov 10, 2021 :-
We will be publishing an updated version of the Gas Index Algorithm within the next month, and will also provide documentation on the algorithm tuning parameters. It is also planned to provide a tool, to get people to experience the influence of the tuning parameters in a more intuitive way
Any update on this functionality ?
Thank You
Paul
—
Reply to this email directly, view it on GitHub<#130 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR3JADJQ7LHTSEHO6XMUSBDVKSJ45ANCNFSM4ZNPOMIA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
We updated the algorithms to allow changing of sampling interval through an API. The sampling interval has to be set on initialization. Check the low power duty cycle example for e.g. raspberry pi on how to use the interface |
Hi Psachs Thank you fo your update We have a planed shipment of 14K Q1 2023 and need to have as much info as possible KR |
Hi @dingoxx For a description of the tuning parameters have a look at the header file or the technical documentation of the SVM4x. Visit the product page for more information: or use this direct download link If you are interested in the reference design, you can find all information on Github: The tool you are looking for is most probably our sensor evaluation software called ControlCenter This will also install our DataViewer tool, that allows you to plot data recorded with ControlCenter and apply algorithm parameters. Please let me know if you need any help or if you have more information on what kind of tool you are looking for. Best regards, |
Hi, As a matter of a fact SGP40 consumption is 34-105 uA in the idle, thats not reasonable current in sleep for most ULP applications.. what if i cut power instead of heater off? Thanks in advance |
Hi,
We would like to use the sensor in extremly low power environment. And we were wondering if it is possible to change the VocAlgorithm_SAMPLING_INTERVAL definition to something like 5 minutes and then call this algorithm in the specified interval or would it negatively impact the output values?
If not, is there any other way to run the sensor efficiently with 5min or longer intervals?
The text was updated successfully, but these errors were encountered: