-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert NO-B43F OP1 and OP2 readings to concentration data #1
Comments
Hi Ray,
There are 2 methods you can use, or at least that were known to us. The first is to use the parameters of the factory to calculate the concentration, but there are some assumptions which I am not aware now and we have not followed that path.
The second is to assume that NO2 = a OUT1 + b OUT2 + c Temp + d Humidity + offset
Meaning that the NO2 concentration is a linear combination of the 2 outputs of the Alphasense, the temperature and the humidity (we had another sensor measuring those), and an offset.
To calculate a,b,c,d, and offset (calibration) you need to have reliable data and apply linear regression. In our case we put all the sensors near a measuring station of the Dutch Health Organisation (GGD) to get reliable data about the NO2 concentration, and then did the math.
Basically if you cannot access reliable data to perform the calibration, you need to use the parameters from the factory, but I would not suggest this,
I hope it makes sense to you.
Regards,
Stefano
… On 24 Jul 2017, at 21:39, Ruihang Du ***@***.***> wrote:
Hello,
How did you convert the voltage difference to NO2 concentration? Much appreciated!
Ray
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AC4taD7wI5dD8rW7u3-0__8T8axGYqZnks5sRPLkgaJpZM4OhpOb>.
|
Can you explain better how you calculate a, b, c, d and offset? Do You have an excel that make it? Thank you so much for your share |
We used some Python code to perform the linear regression. I am not the owner of the code, so I cannot share it without asking, if this is an option for you I can ask the author if he allows to share it and possibly upload it here. |
Yes thank you. If is possible share it. Thank you again
Il lun 27 mag 2019, 10:27 Stefano Bocconi <notifications@github.com> ha
scritto:
… We used some Python code to perform the linear regression. I am not the
owner of the code, so I cannot share it without asking, if this is an
option for you I can ask the author if he allows to share it and possibly
upload it here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AME34YFG3C3VTMG4RD6NXX3PXOLOJA5CNFSM4DUGSON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWJEY7Q#issuecomment-496127102>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AME34YELVVVEHBIJ2IJCH23PXOLOJANCNFSM4DUGSONQ>
.
|
Hy if is not possibile to share the original code can you share a tutorial that explain how to calculate No2 without use alphasense aglorithm ? thank you |
Hi, so we used a python code to do the following:
Hope this helps you further! If it is possible for us to share the code we will let you know. |
Thank you for help |
Hello,
How did you convert the voltage difference to NO2 concentration? Much appreciated!
Ray
The text was updated successfully, but these errors were encountered: