Temperature compensation for Electro-chemical Air Sensors

2 visualizaciones (últimos 30 días)
Dharmesh Joshi
Dharmesh Joshi el 29 de Jun. de 2022
Respondida: Ayush el 5 de Feb. de 2024
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

Respuestas (1)

Ayush
Ayush el 5 de Feb. de 2024
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:

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by