Temperature compensation for Electro-chemical Air Sensors
Show older comments
Hi
Has anyone got much experience with Air Quailty Electro-chemical sensor and temperture compensation.
The anlogue signal being outputted needs to be compensated as temperture changes.
I would like to know if there is function which can learn by comparing the current output value from sensor aganist refernce data, but also observing both the temperture and original analogue signal to make the nessary adjustment?
Thanks
Answers (1)
Ayush
on 5 Feb 2024
0 votes
Hi,
It seems you are trying to compare the output value from the sensor against reference data, observing both the temperature and original analogue signal to make the necessary adjustment.
One approach can be collecting reference data under controlled conditions, where you know the true concentration of the substance you're detecting, as well as the corresponding sensor output and temperature. Use the data to train a model that predicts the true concentration from the raw sensor output and temperature. Depending on how temperature, sensor readings, and actual concentration are related, you can use machine learning methods like linear or polynomial regression or more advanced ones like neural networks.
Refer to the below documentation for more information on the linear regression function "fitlm", and "predict" function:
Categories
Find more on AI for Signals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!