air flow speed measurement

tparvais

Member
Hello,

I would like to measure air flow speed in air duct (diameter of 160mm). Do you need such sensor ? I find ones, but very expensive (>150€)

Any experience with PICAXE ?

Thank you
 

papaof2

Senior Member
Commercial air flow sensors often use heated wires (one in the air stream, one shielded from it). You measure the resistance change of the wire in the air stream to determine air flow. This requires detailed calibration of each device and some relatively sophisticated electronics, thus the high price.

One alternative is a "wind speed" meter (using a DC generator driven by a propeller in the air stream). There are commercial meters for handheld use that are under $70US
http://www.weatheressentials.com/index.asp?PageAction=VIEWPROD&ProdID=28

If the turbine and its housing do not significantly impede the air flow, the turbine portion of the meter could be removed and mounted in the duct, with the display mounted remotely.

Depending on the accuracy needed, you might be able to use a DC motor and propeller (look for "solar motor" at the various electronics and kits suppliers) whch could be placed in the duct and the PICAXE could measure the output of the motor (used as a generator). For calibrated air flow measurements, you would need something like the wind speed meter (above) to create the lookup table for the PICAXE (generator output versus feet/sec or meters/sec of air flow).

John
 

boriz

Senior Member
How about a piezo disk with some sort of baffle (a needle or nail will do) glued to the centre projecting outwards perpendicular to the disk. The disk is fixed to the inside of the duct by it’s edges and the baffle is projected into the airflow. An audio pre-amp with low pass filter and peak-detector into a PICAXE ADC would give you a rough idea of air speed. It would need to be calibrated first, maybe on a bicycle or out of the window of a car. Dead simple, dead cheap. I was thinking of trying something similar to measure air-speed on a model RC aircraft. Worth an experiment?
 

ceke

New Member
Motorola makes some nice air pressure sensors. I can't remember the 'pressure vs air speed' formula right now but I used one of these for a air speed meter once on a radio controlled glider. Motorolla MPX10 was the part number but that was 4 years ago.
 

Rickharris

Senior Member
Why not a flap in the air stream attached to the spindle of a suitable potentiometer, you can read the value of the pot with readadc.

The greater the air flow the higher the flap will rise. Make it very light e.g. polystyrene to be sensitive.
 

tparvais

Member
Hello

Very interesting ideas

-Boriz, I see what you mean, but I remember from University, Piezo disk is not easy to work with and not easy to find ?
-ceke: indeed, but you will need a convergent duct or wahtever. See http://gatt.club.fr/page1/page28/page28.html#paragraphe2.2 (in french byt very <ell done)
-Rickharris: is there potentiometer without mechanical resistance ? otherwise, the mechanism will perturbate the measurement

In fact, I'm thinking to use strain gauges glued on a small piece of metal placed in air flow. See http://en.wikipedia.org/wiki/Strain_gauge
I already used strain gauges 10 years ago to control 6 legs walking robot in research labs. Very "easy" to use when inserted in Wheatstone bridge. most difficult is to glue them properly on the support

Thomas
 

BeanieBots

Moderator
"Commercial air flow sensors often use heated wires" as stated by papaof2.
A "poor mans" version is a self heating thermistor.
Either option would present the least disruption to air flow.
 

Johnmb

Member
Neat circuit

LizzyB: I have seen the EDN circuit offered as a solution in the past, but I have never seen anyone tell of a successful (or otherwise) use of the circuit. Have you used it or know of someone who has (excepting the author)?
 

krypton_john

Senior Member
I would have thought a simple and cheap approach was to adapt an ultrasonic rangefinder. Ping an ultrasonic sound pulse in each direction and measure the time difference.

There's plenty of no-moving-parts wind speed and direction examples of this around that use 2 pairs at right angles and triangulate the wind speed and direction.
 

LizzieB

Senior Member
LizzyB: I have seen the EDN circuit offered as a solution in the past, but I have never seen anyone tell of a successful (or otherwise) use of the circuit. Have you used it or know of someone who has (excepting the author)?
IIRC I breadboarded it as a curiosity and saw that it would work, but have never actually used it. He has published several similar designs http://electronicdesign.com/Authors/Index.cfm?AD=1&AuthorID=934&DisplayTab=Authors, most recently one in 2001 that has dc output and may be more suitable.
 

inglewoodpete

Senior Member
In reply to the original question...

A recent issue of Silicon Chip magazine had an article in the "Circuit Notebook" (reader's projects) column. The circuit used a small incandescent light bulb as a sensor, configured as the top leg of a voltage divider. A PICAXE (or was it a PIC?) was used to read and interpret the readings.

For a more accurate readout, you may need to include a DS18B20 air temperature sensor as well.
 
Depending on the estimated airspeed you could use the MPX 2010 sensor from Freescale Semiconductor (ex Division of Motorola). They are pitot tubes and the resistance varies according to the difference between static and dynamic air pressure. The most sensitive (MPX 2010)works well above 40 Miles per hour. The output voltage is very low and you will need to create a circuit to amplify the output and feed it to a Picaxe adc pin.
http://www.freescale.com/files/sensors/doc/data_sheet/MPX2010.pdf?fsrch=1
I am working on a project to meassure airspeed on an RC airplane and can send you the schematic of the amplifier circuit
 

premelec

Senior Member
note that hot element type anemometrics is good to tell if there is flow or not but not so hot [!] for accurate flow over a long time due in part to particle contamination of the hot surface and such... often used however!
 

MFB

Senior Member
Replace op-amps with PICAXE?

The above links to airflow measurement describe analog circuitry that compares the temperature between a heated reference transistor and one exposed to the airflow. (linearization is also provided in some examples). Would it be possible to replace many op-amps and other discrete components by using PICAXE analog inputs for the comparison, with a look-up table if real-time linearization was required?
 

MFB

Senior Member
I meant replacing airflow, rather than air pressure, analog circuitry with a PICAXE. If it was possible to compare (in software) the temperature of the two sensors required for airflow measurement, it could offer a lower component count solution. If you did not need linearization, an 08M might even manage the task and output serial data to the 'main' microcomputer. Just an idea that my limited programming skills would probably not be up to implementing anyway.
 

Rickharris

Senior Member
i think - or am happy to be corrected that in most general pots the "stiffness" is created by the addition of a special grease to the shaft - if you dismantle the pot clean out the shaft and bush and add a more lubricating product you should have your easy operation pot.

I havn't got a pot to hand to prove this at present but will look at school tomorrow.
 

Rickharris

Senior Member
Ok addition went and found a pot in the garage - old type but had no "grease" a little lubrication on the back plate and some careful re assembly without crimping the parts back too tightly produced a fairly easy turn pot.

Multi turn pots tend to be very free running.

OR why not a fan on a solar motor the resulting voltage will be proportional to the air speed.
 

SD2100

New Member
Why not a flap in the air stream attached to the spindle of a suitable potentiometer, you can read the value of the pot with readadc.

The greater the air flow the higher the flap will rise. Make it very light e.g. polystyrene to be sensitive.
Just to add to the flap idea, maybe a light interrupter mounted to the flap shaft so to block light to an LDR when no air flow and give full light at the maximum, would also be possible to fit a aquadratic encoder disc to the shaft to monitor the flap position. Both options don't add any resistance to the flap movement.
 
Last edited:
TSWEENEY,
Yes I tested it as follows:
I wrote code to read the voltage outpu ton Pin AD0 and display the information on an LCD.
Then I attached a rod that ended 4 feet forward of the front of my car (not legal in NY)to get clean air. I taped a 1/4" ID flexible tube to the rod with the one end facing forward and the other end attached to the dynamic pressure inlet of the sensor. A friend drove the car from 40 to 75 miles an hour in increments of 5 miles an hour. I recorded the readings I was getting on the LCD on a piece of paper. We repeated the reading in the oposite direction on the same highway. Then using Xcell I ploted the data and created the calibration equation (it is a parabola). I have not tested it in an airplane but that is next. I hope this helps, if you need more detailed info, send me a PM
Andrés Rodríguez
 

Attachments

Rbeech

New Member
Cars with fuel injection use Mass Airflow Sensors, in mine, it's a hot wire style as described above. You might find an appropraite sensor at your local auto parts dealer?
 

andrew_qld

Senior Member
I am pretty sure I saw a "hot wire" airflow sensor made from an old 6V light globe (with glass removed) using a picaxe in Silicon Chip magazine recently. Just went to have a look and their website is down.
 

premelec

Senior Member
Great! as LEDs replace all those tungsten lamps [I just bought a string of Phillips LED colored xmas lights... BTW they work on 1/2 wave or DC] we need to find more uses for the old lamps which abound by the thousands - and use so much more power!
 

tparvais

Member
TSWEENEY,
Yes I tested it as follows:
I wrote code to read the voltage outpu ton Pin AD0 and display the information on an LCD.
Then I attached a rod that ended 4 feet forward of the front of my car (not legal in NY)to get clean air. I taped a 1/4" ID flexible tube to the rod with the one end facing forward and the other end attached to the dynamic pressure inlet of the sensor. A friend drove the car from 40 to 75 miles an hour in increments of 5 miles an hour. I recorded the readings I was getting on the LCD on a piece of paper. We repeated the reading in the oposite direction on the same highway. Then using Xcell I ploted the data and created the calibration equation (it is a parabola). I have not tested it in an airplane but that is next. I hope this helps, if you need more detailed info, send me a PM
Andrés Rodríguez
Hello,

This is very interesting. I have found small Pitot tube. But the air flow speed is max. 5m/s in the air duct. This means a very small delta-pressure on the Freescale sensor (few Pascal). I'm not sure it is good enough for that application.

Thomas
 

papaof2

Senior Member
5 m/s (I'm assuming meters/sec, not miles/sec ;-) is about 5MPH/8KPH, which probably won't be enough for a pitot tube.

Look for a solar motor kit with fan blades that will fit (or can be adapted to fit) in the duct. Use it as a generator with the air flow in the duct turning the fan. Put a low value resistor (100R - 330R) across the output of the motor to provide a load and use ADC to measure the voltage produced.

John
 

Rickharris

Senior Member
5 m/s (I'm assuming meters/sec, not miles/sec ;-) is about 5MPH/8KPH, which probably won't be enough for a pitot tube.

Look for a solar motor kit with fan blades that will fit (or can be adapted to fit) in the duct. Use it as a generator with the air flow in the duct turning the fan. Put a low value resistor (100R - 330R) across the output of the motor to provide a load and use ADC to measure the voltage produced.

John
I think I said that as well ! great minds think alike. :)
 

papaof2

Senior Member
"I think I said that as well ! great minds think alike. :)"

Nice to be included in the great minds ;-)

Depending on the actual application, another possibility might be using a device modelled after a water tube barometer (U-shaped tube filled with water - or a less-evaporative liquid of similar specific gravity), with the airflow across one end of the tube providing the pressure difference from ambient atmospheric pressure.

connection_to_duct--u--open_to_room

Sensing the water level in the tube could be a challenge; if the application is a go/no-go measurement, then add some colorant to the water and use a single LED and photodiode/phototransistor to detect the water level. Multiple discrete levels could be sensed with multiple LED/detector pairs, or - if the water tube is large enough - a floating magnet could move past a Hall effect sensor and give a continuously variable measurement (within the sensitivity limits of the Hall effect device).

John
 

staylo

New Member
Mpx5010

Sorry to resurrect this thread, but this seemed topical: I noticed earlier in the thread the MPX2010 was suggested. I happened across the MPX5010 which appears to have the same input pressure range but gives a 0V - 5V output ideal for direct connection to a PICAXE ADC and would hence allow the additional amplification circuitry to be skipped. Am I correct in thinking this, or is there something I've overlooked?

Datasheet is here.

Many thanks! :)
 
You are right. I also changed from the old sensor (required a signal conditioning circuit) to the new one which has a built in signal conditioning. The other advantage is that the output voltage is proportional to the pressure (straight line)
The one I was using with an external circuit had an out put that followed a cuadratic expression (parabola).
 

Shack

Member
Well ... the easy way is to just get A MAF from a junk yard car and calibrate it after you put it into the air stream. It should only cost ~ $5 and it will put out a very nice 0-5v signal. If you can get one off of a Ford Escort 1.9L in the 1991-95 vintage I already have the flow charts v. voltage and all you will need to do is scale it to your volume.

Most of the cars from 91 up with fuel injection use them. They operate from 12v using a hot wire but all in a nice package.
 
Top