Author Topic: Cheap and small - how to measure airflow  (Read 7259 times)

0 Members and 1 Guest are viewing this topic.

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Cheap and small - how to measure airflow
« on: May 14, 2018, 12:30:43 pm »
What would be the easiest and cheapest way to get "indicative" airflow readings?

The application would be in fan monitoring in a PC case.  So I'm not looking for highly accurate, calibrated measurements, just indicative "none, slow, medium, high" airflow.

As the air speeds might be quiet slow I can probably exclude spring vanes on a pot.  This probably excludes pitot sensors also. 

As space is confined I can probably exclude spinning cups annometer style.

That really leaves mini fan/dynamo style things, hotwire sensors or ultra-sonics?

I almost excluded pitot sensors, but would a basic barometric air pressure sensor (or two) not be able to give an indicative reading based on the difference between the sensor in the tube versus the sensor outside of the tube?  barometric air pressure sensors with 1/10th millibar resolution are cheap as chips.
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Cheap and small - how to measure airflow
« Reply #1 on: May 14, 2018, 12:35:38 pm »
feed some power into a ptc so its above nominal ambient for your region in still air (e.g. 50C) as the airflow increases, the current to maintain that temp will increase, giving you something you can measure, this covers both fan based airflow, and externally forced airflow, (mass airflow sensor)

otherwise, as its fan monitoring, you cant just watch the tacho feedback signal? a stalled fan doesnt provide a pulse.
 

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #2 on: May 14, 2018, 12:57:32 pm »
feed some power into a ptc so its above nominal ambient for your region in still air (e.g. 50C) as the airflow increases, the current to maintain that temp will increase, giving you something you can measure, this covers both fan based airflow, and externally forced airflow, (mass airflow sensor)

otherwise, as its fan monitoring, you cant just watch the tacho feedback signal? a stalled fan doesnt provide a pulse.

Thanks.  The thing that puts me off the hot-wire technique is that a PC case is inherently dynamic in ambient temperature.  So I would have to monitor the ambient temp and raise the hot wire above that temperature as the case heats up.  Sounds like a nightmare to get any calibration at all.

As to monitoring fan tacts, that tells you the fans are turning, but doesn't show you the effective airflow at a particular point in the case.  Fans working in concert for example, push, pull, intake versus exhaust etc.

To be honest I'm thinking sticking a feather in the case and putting an LED up lighter on it might be better!  Or handing a bit of paper in the case might be more functional.
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline jpanhalt

  • Super Contributor
  • ***
  • Posts: 3478
  • Country: us
Re: Cheap and small - how to measure airflow
« Reply #3 on: May 14, 2018, 01:02:03 pm »
If you smoke, try a cigarette.  If not, try a match or cigarette lighter.   Flames are quite good at detecting and grossly quantifying airflow.   Hard to beat the price too.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Cheap and small - how to measure airflow
« Reply #4 on: May 14, 2018, 01:04:47 pm »
The hot wire approach just needs you to pick your maximum temp, set it to run at that in still air, and off you go, because a PTC is already a temperature sensor.

Otherwise you may have some luck with optical flow sensors that they sell for hobby drones.
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9505
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #5 on: May 14, 2018, 01:38:58 pm »
These days, those cheap little glass encapsulated thermistors give a better swing than hot wire. Put one in the airflow, one shielded, connect them in a bridge configuration and the size of the offset gives you the speed of the airflow. You need to have enough current flowing through the bridge to cause them to self-heat a little.
Best Regards, Chris
 

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #6 on: May 14, 2018, 02:02:57 pm »
Thanks.  I think I'll try the dual PTC method.

The plan is to make some dynamic LED lighting for PCs that, critically, does not require facing the sheer mess of interfaces that motherboards present to people.  Add-on modules are no better either.  The software available for these is very pretty and next to bloody useless, only works in Windows, etc. etc.

So small SMD modules running 0.5m WS2812 strip LEDs off a 12V molex or SATA lead that don't require I2C or proprietary interfaces to function.
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline mycroft

  • Regular Contributor
  • *
  • Posts: 70
  • Country: br
Re: Cheap and small - how to measure airflow
« Reply #7 on: May 15, 2018, 01:11:28 am »
Out-of-box idea: a microphone. The sound level should be proportional to fan speed and air flow.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9018
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Cheap and small - how to measure airflow
« Reply #8 on: May 15, 2018, 03:26:19 am »
I have seen a Nidec case fan that could sense airflow restriction using some DSP trickery and report that to the server it's in using a fifth wire.

I remember about small incandescent bulbs, with the glass removed, make surprisingly good airflow sensors. Basically a DIY version of the airflow sensors often used in car engines. (Which could possibly be another option!)
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #9 on: May 15, 2018, 09:00:03 am »
So if I was using the twin PTCs in a bridge config what would be the easiest way to shield one of them?

For a prototype I expect the device will be on proto-board wrapped in heatshrink, would the reference PTC being under the heat shrink be enough?
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14475
  • Country: fr
Re: Cheap and small - how to measure airflow
« Reply #10 on: May 15, 2018, 04:49:55 pm »
I was thinking of a small fan used as a sensor (which shouldn't be too difficult). There are two drawbacks though: one is that it will be somewhat directional (something you may or may not want depending on what you're trying to achieve), the other is that it will have a threshold effect (enough airflow to make it start spinning) with some hysteresis (will require more airflow to make it start spinning than to maintain its rotation) that could be a problem, again depends on your requirements.
 

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1282
  • Country: gb
    • bitdynamics
Re: Cheap and small - how to measure airflow
« Reply #11 on: May 15, 2018, 05:08:14 pm »
why do you need to monitor the airflow?

if the fan has failed, your device gets hot. At some point, it turns off to protect itself?  Just monitor it's temperature surely?
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Cheap and small - how to measure airflow
« Reply #12 on: May 15, 2018, 05:26:56 pm »
As its for PC, most modern PC fans have the sensor 2 pulse/rotation line, why not just tap into that cable as its open collector ? Cmiiw

Offline C

  • Super Contributor
  • ***
  • Posts: 1346
  • Country: us
Re: Cheap and small - how to measure airflow
« Reply #13 on: May 15, 2018, 05:48:05 pm »

If you look, current generation 4 wire PC fans make controlling fan speed and feedback of fan speed easy. These signals lets you check for fan problems.

Here is a apt sheet for PSOC
http://www.cypress.com/applications/fan-controller

Now knowing commanded fan speed and actual fan speed you can temp control a space by adding a temp sensor.

As you increase fan speed the output air temp sensor should show a decrease. This change is air flow.

C


 

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #14 on: May 15, 2018, 09:31:20 pm »
If you look, current generation 4 wire PC fans make controlling fan speed and feedback of fan speed easy. These signals lets you check for fan problems.
As its for PC, most modern PC fans have the sensor 2 pulse/rotation line, why not just tap into that cable as its open collector ? Cmiiw

Have you tried to interface with the motherboard to get that data in a reliable way?  I expect not, because it depends on a whole raft of things such as whether you are in UEFI or and OS and which one?  "I just run the tool that came with the motherboard.", these tools are gimmicks and barely work.

The access and control protocols are a mess with no two manufacturers implementing the same things.  Add on fan controllers are worse as they are usually proprietary drivers with expensive hardware and dodgy pretty but useless front ends and...

Few currently work reliably on (b)leeding edge motherboards.  Including the one that came with mine!

The net is... I want to create a device that does not rely on interfacing directly with the motherboard or a fan controller.

why do you need to monitor the airflow?
if the fan has failed, your device gets hot. At some point, it turns off to protect itself?  Just monitor it's temperature surely?

Thermal management.   When you have a device which has multiple large (several hundred watt) heat sources, multiple different temperature sensors to monitor, multiple fans to control, knowing enough air is flowing at the right times and in the right direction is very important.

Thermal protection is not graceful or even reliable and is always undesirable.  Quite often "thermal protection" is just the system crashing in an uncontrolled fashion which is undesirable.  Sometimes it's just a controlled "HALT" instruction, still not desirable.  It can even happen that all reported temperatures are within tolerance and 30 minutes later at those temps it locks up due to heat soak in other areas cause by high ambient temperatures inside the case.

You can just set all the fans to 100% and sit listening to a small hurricane under the desk filling itself full of dust 4 hours a day or you can make the fans dynamic.  Silent while browsing the web and hurricane when over clocked in a modern AAA rated game.

I'm not (yet) interested in producing a fan controller, I "am" using one of those annoying desktop systemtray apps, while it urks me.

The idea was to make some useful and completely decoupled RGB lighting gizmos that provide instrumentation inside the case.  (Most gaming PCs these days have glass side panels and RGB lighting). 

Ambient Temperature - Easy enough to give a ball park between a low and high level
Ambient noise level - Easy enough to give a ball park between a low and high level
Air flow / Cooling effect / Wind chill factor - Not so easy, so I started asking.

This would form a small (as I can make it) controller which takes 12V from a fan rail and shows several pretty LED bar graphs which can be mounted somewhere in the case to be both pretty and functional.
« Last Edit: May 15, 2018, 09:34:57 pm by paulca »
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Cheap and small - how to measure airflow
« Reply #15 on: May 16, 2018, 03:34:44 am »
Quote
Have you tried to interface with the motherboard to get that data in a reliable way?

You don’t need to interface to the mb, just pass power and passively tap the “speed” signal.
 
The following users thanked this post: NiHaoMike

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Cheap and small - how to measure airflow
« Reply #16 on: May 16, 2018, 03:46:33 am »
What would be the easiest and cheapest way to get "indicative" airflow readings?

The application would be in fan monitoring in a PC case.

As its for PC, most modern PC fans have the sensor 2 pulse/rotation line, why not just tap into that cable as its open collector ? Cmiiw

Have you tried to interface with the motherboard to get that data in a reliable way?  I expect not, because it depends on a whole raft of things such as whether you are in UEFI or and OS and which one?  "I just run the tool that came with the motherboard.", these tools are gimmicks and barely work.

The access and control protocols are a mess with no two manufacturers implementing the same things.  Add on fan controllers are worse as they are usually proprietary drivers with expensive hardware and dodgy pretty but useless front ends and...

Few currently work reliably on (b)leeding edge motherboards.  Including the one that came with mine!

The net is... I want to create a device that does not rely on interfacing directly with the motherboard or a fan controller.

With above useless ramblings, again, just google the rotation output signal pin/wire from the fan, popular named tacho line, and again ... "TAP" into that to get the "indicative" airflow reading as you originally requested.

No need to touch mobo, os, bios, uefi, fan controller at mobo, fan controller and etc.

Hope this helps.


Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Cheap and small - how to measure airflow
« Reply #17 on: May 16, 2018, 06:06:33 am »
Quote
Have you tried to interface with the motherboard to get that data in a reliable way?

You don’t need to interface to the mb, just pass power and passively tap the “speed” signal.

Don't think the OP gets it.

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #18 on: May 16, 2018, 06:54:47 am »
Quote
Have you tried to interface with the motherboard to get that data in a reliable way?

You don’t need to interface to the mb, just pass power and passively tap the “speed” signal.

Don't think the OP gets it.

No I do.  The speed of a single fan does not tell you air flow.  It doesn't matter if you have a dozen fans at full RPM you can end up with zero air flow if they are mounted wrong.

Not all fans are spinning at the same time, the same speed or for the same reason.

In particular I have 3 fans dedicated to case flow and 2 with a case air flow as a side effect only.

The CPU has two fans on the radiator which only respond to the CPU temperature.  As a side effect they intake (very slightly warmed) air into the case.  When the system is cold (mobo temp < 32*C) and the video card is cold (under 45*C) these are the only fans running.  They run nearly silent at 600rpm constantly, but spin up on a curve until 100% 1400rpm and noisy when the CPU reaches 70*C.

I have 1 general case flow fan which starts at motherboard temperature of 32*C and reaches full rpm at 40*C.  It's also an intake.

I have 2 fans dedicated to purging the video card heat out of the case starting up when the video card reaches 45*C and reach full rpm when the video card heatsink reaches 60*C.  One intake below the video card, one exhaust above it.  This is the only exhaust fan.

The large inbalance of intake to exhaust is by design to maintain positive case pressure resulting in air only ever exiting via the various vents and grills and thus not inhaling dust.  The intake fans have filter screens which are removable and cleanable.

There is also the water pump tact, but in my case this is running at 100% constantly as it's a silent maglev type impeller anyway.

All this gizmo is there to tell you is that the internal case is being cooled and a rough gauge as to how aggressively. 

It's 20% functional, 50% a gimmick and 30% a pretty RGB light for the case.

I suppose to implement your suggestion I could add dupont headers for half a dozen fans and show half a dozen read outs, but... not all fans have the same rpm range, so it would need calibrating (though it probably will anyway).

In a poorly designed case an airflow sensor should reveal that when the fans intended to cool the case spin up there might not be too much airflow.

Obviously the important one is the temperature as various sensors are located in various places, the closest to a general ambient internal temp is the motherboard temp, but that is I believe that is located quite close to the CPU and RAM.  Thus an actual ambient temperature read out with the sensor in free air near the top of the case would be very useful.

All of the above is moot if you are in an OS without access to the temp sensors, fan tacts or PWM controls, such as MacOS or Linux.  Then you are solely relying on the BIOS fan controls and your ears/eyes to know things are being cooled correctly.

EDIT:  If you think the fan set up is overkill, with the out-of-the-box setup, the system looked fine when loaded, regarding the spot temps of the various heat sources such as CPU and GPU, but a temp probe on the exhuast revealed temps of 47*C and a hard lock up was only about 45 minutes into playing an intensive game.  With the setup I have now exhaust temps don't exceed 36*C and all spot temps are 5-10* lower.  It still virtually silent when idle.
« Last Edit: May 16, 2018, 07:06:23 am by paulca »
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Cheap and small - how to measure airflow
« Reply #19 on: May 16, 2018, 07:13:45 am »
What would be the easiest and cheapest way to get "indicative" airflow readings?

The application would be in fan monitoring in a PC case.  So I'm not looking for highly accurate, calibrated measurements, just indicative "none, slow, medium, high" airflow.

I guess the word "indicative" means differently in my brain as English is not my native.

Well, good luck on your quest.
« Last Edit: May 16, 2018, 07:15:49 am by BravoV »
 

Offline paulcaTopic starter

  • Super Contributor
  • ***
  • Posts: 4051
  • Country: gb
Re: Cheap and small - how to measure airflow
« Reply #20 on: May 16, 2018, 08:17:06 am »
My gut feeling was originally some form of mechanical device.  Like a friction-less potentiometer with a very light spring on it.  Or a bit of plastic tape with some way to electronically measure the angle it is being deflected to.
"What could possibly go wrong?"
Current Open Projects:  STM32F411RE+ESP32+TFT for home IoT (NoT) projects.  Child's advent xmas countdown toy.  Digital audio routing board.
 

Offline german77

  • Regular Contributor
  • *
  • Posts: 72
  • Country: mx
Re: Cheap and small - how to measure airflow
« Reply #21 on: May 17, 2018, 12:44:31 am »
Air flow generates pressure, you can measure pressure the same way you mesure weight. With a strain gauge with little electronics is needed to get it to work. The only calibration you need is to measure no airflow vs full airflow. With very low time response and not worrying about temperature.

For the dual PTC may not work to measure air flow. The electronics it's actually the same as the strain gauge. They are unidirectional cheaper and easier to install in a small case. with a really big downside, the flowing air will be warmer than the ambient and will be almost imposible to know if you have low air flow or it's just warmer.

Thinking on your case. It seems easier to make a small PTC 2D array and instead of measuring air flow you measure hot spots. Then you can increase fan speeds according to the temperature of those hot spots. This way you can detect if there are places were there is no air flow as the temperature increases in that place. The electronics for this is just an voltage divider. No need for calibration as PTC are already characterized and precise values aren't needed. 
 

Offline Teledog

  • Regular Contributor
  • *
  • Posts: 202
  • Country: ca
Re: Cheap and small - how to measure airflow
« Reply #22 on: May 17, 2018, 03:37:54 am »
What about a cheap <$20 anemometer from fleabay?
Shows airflow & temp, hack it as you may..for the price..
 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5231
  • Country: us
Re: Cheap and small - how to measure airflow
« Reply #23 on: May 18, 2018, 11:07:47 pm »
if you don't have airflow you get heat, so a simple thermistor should tell you what you need to know.  Place it at the location you are concerned with.  The varying ambient temperature could be dealt with using existing temp sensors on video card and mother board.  That information could be used several different ways depending on the details of what you are after.
 

Offline JohnnyMalaria

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Re: Cheap and small - how to measure airflow
« Reply #24 on: May 19, 2018, 12:23:44 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf