Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Reading ppm for LPG off of the MQ-6
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ariel Levi Simons  
View profile  
 More options Jul 21 2012, 3:10 pm
From: Ariel Levi Simons <levisim...@gmail.com>
Date: Sat, 21 Jul 2012 12:10:00 -0700
Subject: Reading ppm for LPG off of the MQ-6

I was wondering if anyone else out there, who has played around with the
MQ-6 gas sensor (data sheet:
http://www.sparkfun.com/datasheets/Sensors/Biometric/MQ-6.pdf ) has found
about the same thing with calibration, or if not then could let me know
what they did for relaying analog output to ppm levels.

Thanks!

Given the temperature and humidity calibration data off of the spec sheet
we have a weighting factor, which we can call 'w', which goes as:

w = -0.0120*(T-20) * -0.0076*(H-65) + 1

From the concentration to resistance ratio graph we now know that their
calibration curve was done under the standard 20 Celsius and 65% humidity
testing conditions.  This means that we can assume that R_s = R_0 for that
curve.

The experimentally fitted curve between concentration and R_s is:

C = 1036.5*R^-2.392
Where C is the concentration of LPG in ppm.
Where R is the ratio of R_s, the sensor resistance, and R_0, the resistance
at 1000ppm, 20 Celsius, and 65% humidity.

R_s is given by:
R_s = (1024/s - 1)*R_L
s is the signal value from 0 to 1023.
R_L is the load resistance at 10,000 ohms

This ultimately means that, with temperature and humidity weighting added
in, C is:
C = 1036.5*((1024/s - 1))^-2.392*(-0.0120*(T-20) * -0.0076*(H-65) + 1)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Warren  
View profile  
 More options Jul 21 2012, 5:59 pm
From: Jeffrey Warren <j...@publiclaboratory.org>
Date: Sat, 21 Jul 2012 17:59:39 -0400
Local: Sat, Jul 21 2012 5:59 pm
Subject: Re: [PLOTS] Reading ppm for LPG off of the MQ-6

I'm very interested in this topic as well. The hydrogen sulfide sensor
which we are using is also sensitive to temperature and humidity and will
have to be calibrated. I imagine the process will be very similar although
I admit I can't quite follow what you've laid out here.

I'm going to read the datasheet to see if I can catch up but in the
meantime are you writing any arduino code for this? This week at Parts and
Crafts in somerville we are building an arduino-based hydrogen sulfide
sensor. We have a temperature and humidity sensor as well and will soon be
attempting to calibrate so we're eager to follow what you do.

Jeff
On Jul 21, 2012 3:10 PM, "Ariel Levi Simons" <levisim...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ariel Levi Simons  
View profile  
 More options Jul 21 2012, 7:43 pm
From: Ariel Levi Simons <levisim...@gmail.com>
Date: Sat, 21 Jul 2012 16:43:50 -0700
Local: Sat, Jul 21 2012 7:43 pm
Subject: Re: [PLOTS] Reading ppm for LPG off of the MQ-6

Hey all via Public Laboratory,

I've been working with a number of people setting up a network of multi-gas
sensors which would continuously upload data every minute to the web to an
open database for later visualization and analysis.  We currently have
working modules for GPS, temperature/humidity, and particulate matter
concentration for particles greater than 1 micron in diameter.  Our first
gas sensor, the LPG sensor MQ-6, appears to be calibrated for our project
using temperature and humidity data via the following process:

The function I laid out
C = 1036.5*((1024/s - 1))^-2.392*(-0.0120*(T-20) * -0.0076*(H-65) + 1)
describes the concentration C, in ppm, for natural gas.  The variable, s,
is the digital output of the the microcontroller connected to the gas
sensor.  The value of 's' will vary from 0 to 1023, and is run into the
digital input of an Arduino board.  The power law portion of this function
was fitted from manufacturing specifications, with a resistance ratio of 1
corresponding to a concentration of 1000pm at 20 Celsius and 65% humidity.
The variable T is the temperature in Celsius, and H is the humidity in
percentage units.  These two inputs, temperature and humidity, are also
read into an Arduino.  The linear portion of the function was also fitted
to a curve supplied by the manufacturer.

This is all part of Safecast Air (Project site:
http://scienceland.wikispaces.com/SafecastAir , recent work:
http://blog.safecast.org/2012/07/safecast-office-opening-event/ ).

We are working out a standard procedure to associate a calibration function
for each type of gas sensor so that temperature and humidity can be
factored in to any output.  When we get to H2S we can let you know what
we'll get to, or we can give it a shot now with a particular sensor you're
using.  If you send us the spec sheet we can give you our best shot at a
calibration function.

Thanks!

On Sat, Jul 21, 2012 at 4:17 PM, Jeffrey Warren
<j...@publiclaboratory.org>wrote:

--
Ariel Levi Simons

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Warren  
View profile  
 More options Jul 21 2012, 8:11 pm
From: Jeffrey Warren <j...@publiclaboratory.org>
Date: Sat, 21 Jul 2012 20:11:34 -0400
Local: Sat, Jul 21 2012 8:11 pm
Subject: Re: [PLOTS] Reading ppm for LPG off of the MQ-6

Exciting! A comprehensive listing of calibration code for most major air
sensors (maybe with example code and circuit diagrams/documentation for
Arduinos) would be fantastic. Lots of folks hook these up poorly or don't
adjust for temp/humidity because the datasheets are arcane and illegible.

I'm sure the Air Quality Egg folks will be interested as well if you
haven't talked with them already.

I was also thinking that as large global databases of these readings
develop, it'll be interesting to look for correlations with non-specific
sensor readings such as those from atmospheric visible-near-IR
spectrometers. Some folks have been wanting to run their PLOTS
spectrometers pointed at the sky on a 5-min sampling cycle, but without
something to compare to it's hard to even look for useful data.

Jeff

On Sat, Jul 21, 2012 at 7:43 PM, Ariel Levi Simons <levisim...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sara Ann Wylie  
View profile  
 More options Jul 22 2012, 1:41 pm
From: Sara Ann Wylie <sawy...@MIT.EDU>
Date: Sun, 22 Jul 2012 13:41:22 -0400
Local: Sun, Jul 22 2012 1:41 pm
Subject: Re: [PLOTS] Reading ppm for LPG off of the MQ-6
Hi All,

I can ask the community organizer in New Mexico where he is renting from. I
think it's a local solution however, because they have lots of gas
field workers
in the area, so I'm not sure everywhere will have personal alert units
like this
for rent.

We are calibrating the test strips against draeger tubes which respond only to
H2S. These are going to be co-located with the test strips, so we can make a
distribution curve as described here:
http://publiclaboratory.org/notes/sara/5-21-2012/excellent-geoscience...

It would also be interesting to have some kind of continuous digital
monitor in
place, as well, but its not totally necessary to calibrate the test strips.

Sara

Quoting Jeffrey Warren <j...@publiclaboratory.org>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sara Ann Wylie  
View profile  
 More options Jul 22 2012, 1:42 pm
From: Sara Ann Wylie <sawy...@MIT.EDU>
Date: Sun, 22 Jul 2012 13:42:40 -0400
Local: Sun, Jul 22 2012 1:42 pm
Subject: Re: [PLOTS] Reading ppm for LPG off of the MQ-6
ops disregard this--sent in response to a different conversation!

Quoting Sara Ann Wylie <sawy...@MIT.EDU>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »