Skip to content
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

Sensor data fusion if using more then one sensor #4

Open
Cinezaster opened this issue Apr 27, 2017 · 5 comments
Open

Sensor data fusion if using more then one sensor #4

Cinezaster opened this issue Apr 27, 2017 · 5 comments

Comments

@Cinezaster
Copy link

Some of the MQ sensors sense same gasses.
If combining these data we could merge data of particular gasses
for example:

  • MQ-2: LPG, Propane, H2, Methane, CH4, CO
  • MQ-4: CH4, LPG, H2, CO
  • MQ-9: CH4, CO, Methane
    We could combine these for beter output of CH4, LPG, H2, CO, ...
@klynkins
Copy link

Hi Cinezaster,
did you ever combine those sensors to get a better reading. I am testing MQ2-MQ9 but feel we do not need to use all those sensors especially if they are repetitive gases being measured. I am curious if you have tested all together and if you got a better output?

Katelynn

@louxiantuo
Copy link

louxiantuo commented Sep 5, 2017 via email

@Cinezaster
Copy link
Author

@klynkins
Yes but it is a complete different process.
We only measure raw data and measure against a reference gas, to calibrate these sensors and do post processing on the raw data and use the data with the reference gas as a baseline to measure against.
The methode used with this code is not representative although it's a clever trick. And these sensors are not made for exact measurements, these are manufactured to work in systems that need to alarm users when there is a high contamination of certain gasses, not to measure an actual value. These sensors have a limited life time and data drifts a lot over time. Also humidity and temperature have a big influence on the actual readings.

You will notice if you combine these sensors you will get different readouts for the same gas over different sensors. Also these sensors need to be on for at least 15min before you can actually use them for reading data. And turning them on and off frequently will make them go bad pretty fast, because they heat up and cool down internally the actual sensor is oxidizing faster which will eventually degrade them to a point that getting a decent measurement out of them is hard.

Check out this e-nose project from Michael Madsen.

@klynkins
Copy link

Thank you for the reply Cinezaster. I had a feeling they were going to give different readouts of the same gas on the sensors. We are looking for an accurate reading for carbon monoxide in PPM so I don't think we are going to continue using the MQ sensors. Thank you for the tips though.

Katelynn

@Cinezaster
Copy link
Author

@klynkins
There is a reason why you have > $100 sensors and the mq series which cost < $5.
You need to check datasheets for accuracy, resolution, overload(you can damage these sensors by putting them in a saturated environment) and cross sensitivity (if they measure different gasses, and by how much)
These expensive sensors mitigate these issues by combining more sensors together and develop a algorithm that cancel out most of influencing effects.
And they will calibrate each sensor before putting them on the market.

You might want to look at these sensors for CO. They are relatively cheap. Contain 3 electro chemical elements and they have internal temperature correction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants