Author Topic: Relative humidity measurement. Best practices.  (Read 5345 times)

0 Members and 1 Guest are viewing this topic.

Offline miro123Topic starter

  • Regular Contributor
  • *
  • Posts: 206
  • Country: nl
Relative humidity measurement. Best practices.
« on: January 28, 2023, 08:53:41 am »
Hello,
I have questions - How can I accurately measure RH? Short list of requirements are listed below.
   - accuracy +-2% -> 10years
   - working temperature range - T=5...50oC
   - storage temperature  T=0...40oC
   - normal indoor condition - no harsh environment and exposure to elements excluded in sensor datasheets.
   - re-calibration period. TBD - How often and how?
   - initial calibration - Do I need it and what technique/ e.g wet bulb, NaCl_75% or reference instrument? test condition https://www.astm.org/e0104-20a.html

Why I asking this questions?
 - I'm busy with building of component models. Voltage and resistors references,ADC and AFE boards. Models relay on accurate data.
 - The data is gathered in real time from local sensors and internet.
  - I'm struggling to get consistent RH% data. I have tried many consumer and DIY sensors/BME280/SHT 1x/2x/3x. Just added HDC1080 and considering experimenting with SHT45 EVM
  - the trends data is ok, but absolute value has StdDev= 7..10%

Best regards,
Miro







« Last Edit: January 28, 2023, 09:05:44 am by miro123 »
 

Offline mendip_discovery

  • Frequent Contributor
  • **
  • Posts: 844
  • Country: gb
Re: Relative humidity measurement. Best practices.
« Reply #1 on: January 28, 2023, 09:38:47 am »
I can't think of the documents at the moment but from what I have read RH is a bit of a vague thing. It is not an exact science.

Motorcyclist, Nerd, and I work in a Calibration Lab :-)
--
So everyone is clear, Calibration = Taking Measurement against a known source, Verification = Checking Calibration against Specification, Adjustment = Adjusting the unit to be within specifications.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14181
  • Country: de
Re: Relative humidity measurement. Best practices.
« Reply #2 on: January 28, 2023, 10:15:06 am »
The best accuracy is likely from a cooled missor type instrument, measuring the dew point and difference to the room temperature.
The absorbing sensors like BME280, SHT..  have the problem that they can also be effected from other gases in the air. This can be temporary, but also causing drift over time - here even relatively low levels could be an issue. These sensors would need a more frequent re-calibration - especially initially to get an idea of the drift and scattering.

For the calibration a defined salt solution (not sure of NaCl is the best choice, one may want more test points at least for the initial calibration) should be good enough. The cooled mirror type may get away without from getting a zero power temperature reading to get the RT to dew point zero.

Accurate RH only makes sense if the temperature is also uniform and the sensor also gets the right temperature. 2% or the RH should correspond to some 0.3 K in the temperature. Central Europe usually has relatively high RH - no need to worry about single digits.
With a person in the room the RH can actually scatter quite a bit and 10% variations may be real. The problem is with the temperature and humidity source, especially when relative dry.
 
The following users thanked this post: miro123

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Relative humidity measurement. Best practices.
« Reply #3 on: January 28, 2023, 10:19:25 am »
miro123, would you show some data?
What is your humidity standard? Using extreme points of 0% RH and 100 %RH at different temperatures?
Or are you logging various sensors against each other?
I think one meaningful test would be logging humidity and temperature in a hermetically closed box. At intermediate values of RH there should be a pretty obvious correlation. I have been using SHT35 and SHT45 sensors and they measure both temperature and humidity to calculate relative humidity.
I have seen 10 or 12 % deviations from another sensor at the "dry" extreme. While the other sensor would yield about 10 % an SHT35 stayed at exactly zero with fresh desiccant for several weeks, which isn't probably true either.

Regards, Dieter
 

Offline bck

  • Contributor
  • Posts: 15
  • Country: de
Re: Relative humidity measurement. Best practices.
« Reply #4 on: January 28, 2023, 10:40:46 am »
There are some publications on that topic:

NPL 1996, A Guide to the Measurement of Humidity
https://www.npl.co.uk/special-pages/guides/a-guide-to-the-measure-of-humidity-gpg103

If you want to use a wetbulb-instrument as reference:
ASCE 2005, THE ASCE STANDARDIZED REFERENCE EVAPOTRANSPIRATION EQUATION
https://www.mesonet.org/images/site/ASCE_Evapotranspiration_Formula.pdf

German NMI guide to calibrate Hygrometers
PTB 2019, Kalibrierung von Hygrometern zur direkten Erfassung der relativen Feuchte
https://www.ptb.de/cms/fileadmin/internet/dienstleistungen/dkd/archiv/Publikationen/Richtlinien/DKD-R_5-8_2019.pdf

If you really need the 2% accuracy, i really think you need recalibration cycles of 6mo or less if you intend to use regular humidity sensors. (capacitive hygrometers)
If you use an dewpointmirror as reference instrument with these uncertainties: Tdew: 0.15K Tair:0.08K, the resulting RH uncertainty is at 10%RH ~0.15%RH, at 50%RH ~0,55%RH and at 90%RH ~0.95%RH (assuming Tair = 23°C)

The drift of cheap sensors can be >4%RH in a year at low RH, or they just go down to 20%RH and then stop measuring further down (keep indicating 20%RH, or loose the sensitivity)

maybe look for humidity sensors with higher surface area, they are more stable, but generally, all capacitive humidity sensors need initial calibration.
~ Alexander Becker
 
The following users thanked this post: Andreas, zrq, miro123, Anders Petersson

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6186
  • Country: ro
Re: Relative humidity measurement. Best practices.
« Reply #5 on: January 28, 2023, 10:46:00 am »
Many electronic sensors have some gel-like cover that absorbs the water vapors and then a circuit measures the resistivity or capacitance.  The problem (in my experience) is that the gel-like material tend to dry/crack/change its properties in a few years.

The chilled-mirror method (based on the dew-point https://en.wikipedia.org/wiki/Dew_point) seems better for long term reliability and precise humidity measurements.
https://www.yesinc.com/resource/products/hygrometrytemperature/humidityds.pdf
 
The following users thanked this post: Overspeed

Offline Andreas

  • Super Contributor
  • ***
  • Posts: 3244
  • Country: de
Re: Relative humidity measurement. Best practices.
« Reply #6 on: January 28, 2023, 11:11:16 am »
Hello,

rH is rather difficult to measure.
In some ranges a temperature difference of 1 deg C equals to a 6 % change in rH.
So self heating of the sensors is very critical.

with best regards

Andreas
 
The following users thanked this post: miro123

Offline mzzj

  • Super Contributor
  • ***
  • Posts: 1245
  • Country: fi
Re: Relative humidity measurement. Best practices.
« Reply #7 on: January 28, 2023, 12:45:47 pm »
Your requirements are actually rather strict and not trivial to archieve.

Vaisala products are pretty well proven and one of the best options before going total nuts with cooled dew point mirrors.
I'd go for Vaisala HMP7 probe, (with Indigo 200/500 display if needed) and Vaisala HMK15 saturated salt calibration kit with 11% and 75% salt solution.
https://www.vaisala.com/en/products/instruments-sensors-and-other-measurement-devices/instruments-industrial-measurements/hmp7
https://store.vaisala.com/en/products/HMP7
https://store.vaisala.com/en/products/HMK15#Configuration

6 month calibration/verification cycle, full calibration at manufacturer every 5 years or whenever there is sudden large error on 6mo. saturated salt calibration.
And fresh salt solution every 3 to 5 years.

HMP7 is specified accuracy is ±0.8 %RH (0 … 90 %RH) and ±1.5 %RH 90 … 100 %RH)
« Last Edit: January 28, 2023, 12:50:54 pm by mzzj »
 
The following users thanked this post: miro123

Offline Overspeed

  • Regular Contributor
  • *
  • Posts: 126
  • Country: fr
Re: Relative humidity measurement. Best practices.
« Reply #8 on: January 28, 2023, 12:54:56 pm »
Hello

You can perhaps recover humidity sensor from Vaisala weather probe fit on weather balloon , there are sometime available on Ebay

https://bardagjy.com/?p=1370

Vaisala RS80 Radiosonde

Regards
OS
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Relative humidity measurement. Best practices.
« Reply #9 on: January 28, 2023, 02:28:40 pm »
SHT35 sensor is specified with 2 %RH typical accuracy (except the extremes) and 0.25 % RH typical drift per year.

Here a little log from an SHT35 and a BMP280 that i use for ambient monitoring:
SHT=24.70°C 72.3%
BMP=24.69°C 927.1hpa
SHT=24.70°C 72.2%
BMP=24.69°C 927.1hpa
SHT=24.68°C 72.3%
BMP=24.69°C 927.2hpa
SHT=24.71°C 72.3%
BMP=24.70°C 927.1hpa
SHT=24.68°C 72.3%
BMP=24.69°C 927.1hpa
SHT=24.68°C 72.3%
BMP=24.70°C 927.1hpa
SHT=24.71°C 72.3%
BMP=24.68°C 927.1hpa
SHT=24.70°C 72.3%
BMP=24.70°C 927.1hpa
SHT=24.68°C 72.3%
BMP=24.69°C 927.1hpa
SHT=24.68°C 72.3%
BMP=24.69°C 927.1hpa
SHT=24.71°C 72.3%
BMP=24.68°C 927.1hpa

This is with one second sampling. These integrated sensors with digital calibration represent a rather advanced technology level. I think they are good for scientific work, maybe better than some used sensor from ebay, where you don't know the history and calibration may be lost due to age.

Regards, Dieter
 

Offline Conrad Hoffman

  • Super Contributor
  • ***
  • Posts: 1930
  • Country: us
    • The Messy Basement
Re: Relative humidity measurement. Best practices.
« Reply #10 on: January 28, 2023, 05:17:21 pm »
2% is tough! That said, it isn't very hard to build a chilled mirror hygrometer if you're handy. The peltier and control loop are easy; use an LED and photodiode to reflect off the mirror. The biggest problem I had was the mirror itself. It needs to be very conductive, so something like polished copper, but it needs to resist oxidation. I don't know what's done commercially, but gold plating sounds like the answer. Bury a temperature IC in the copper and use another one for the ambient. A small muffin fan can do dual duty for cooling the back side of the peltier and maintaining some airflow over the mirror. The beauty of a chilled mirror design is, done properly, it's a primary instrument.
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Relative humidity measurement. Best practices.
« Reply #11 on: January 29, 2023, 10:50:49 am »
Yesterday i found an improved version of SHT45 that is specified with +/-1 % RH tolerance, SEK-SHT45-AD1B, at rs-components. It is announced for February 9th.
https://de.rs-online.com/web/p/entwicklungstools-sensorik/2436411

I am intentionally linking the test kit, as it is a convenient method to avoid errors while soldering the sensor. One can extend the flexible board with some flatcable or stereo audio cable, in order to have the two I2C lines shielded. One shield is Gnd, one is supply. Depends a bit on cable length.

Regards, Dieter
 

Offline mendip_discovery

  • Frequent Contributor
  • **
  • Posts: 844
  • Country: gb
Re: Relative humidity measurement. Best practices.
« Reply #12 on: January 29, 2023, 08:10:20 pm »
Motorcyclist, Nerd, and I work in a Calibration Lab :-)
--
So everyone is clear, Calibration = Taking Measurement against a known source, Verification = Checking Calibration against Specification, Adjustment = Adjusting the unit to be within specifications.
 

Offline Conrad Hoffman

  • Super Contributor
  • ***
  • Posts: 1930
  • Country: us
    • The Messy Basement
Re: Relative humidity measurement. Best practices.
« Reply #13 on: January 30, 2023, 01:07:59 am »
That SHT85 looks like the way to go; nice part and they do a good job of specifying the accuracy in the datasheet. Now, for the less sensible, here's the chilled mirror device I built. In the middle is an aluminum block with a circle of holes drilled to match the fan blades. On top is a peltier with a copper top hat mirror. A little plastic U-shaped piece presses the mirror against the peltier. You can see an angled LED on top that reflects off the mirror onto a photodiode. Out of sight on the back of the aluminum block is the TO-220 power device that controls the peltier. An LT1013 takes care of the control loop and signals. The connector on the right carries the ambient temperature and mirror temperature to a DVM or ADC. The ambient sensor is floating in air in front, with a small IC heatsink attached. The wires are short lengths of constantan for thermal isolation. I need to find the schematic for the thing, which has been lost for a while. We used this at work to confirm readings inside an environmental chamber and it worked well, but it's way overdue to have the mirror polished and maybe plated.

 
The following users thanked this post: mycroft, RoGeorge, ramon, jchw4, miro123, Anders Petersson

Offline Anders Petersson

  • Regular Contributor
  • *
  • Posts: 122
  • Country: se
Re: Relative humidity measurement. Best practices.
« Reply #14 on: January 30, 2023, 04:53:11 pm »
Get a reference instrument. For example Rotronic HC2A-S 0.8 %RH accuracy, or extra-accuracy 0.5 %RH:
https://www.processsensing.com/en-us/products/humidity-probes-hc2a-s-sh-hh.htm

Send it for calibration regularly. Yearly is most common but you may do it more often in the beginning to get a calibration history that gives confidence. For me the calibration cost was around $100 (but they only calibrated at 33% and 75%, to about 1 %RH accuracy).

Build a few boxes with saturated salt/water solution, or silica gel for 5-10 %RH. I built a perforated floor to put sensors on. The floor is attached to the lid so all sensors follow the lid when I move the lid to measure in another box. Attached under the floor, a PC fan just above the water mixes the air. See attachments.

I find the humidity has mostly recovered a few minutes after inserting the sensors to the box. But the RH level is not so dependable that a reference instrument can be omitted. I'm writing an article to explain this method to do RH calibration.

I've tested with about eight different humidity levels. Sensors can definitely have errors, sometimes 10-15 %RH. So far all sensors I tested have been fairly linear (about 1-3 %RH nonlinearity), so ordinarily I expect testing at two points to suffice. I attach one such measurement series. The curves have some common features that I suspect are artifacts from the reference.

For that reason I've also bought several chilled mirror hygrometers to upgrade my test setup. It's definitely extra work (pumping the air through tubing etc) so I suggest to start with a capacitive reference. I plan to sell some of my chilled mirrors once I tested them thoroughly against each other.
 
The following users thanked this post: miro123

Offline miro123Topic starter

  • Regular Contributor
  • *
  • Posts: 206
  • Country: nl
Re: Relative humidity measurement. Best practices.
« Reply #15 on: January 30, 2023, 08:17:48 pm »
Thanks for helping me understand the problems associated with humidity measurements.
In addition to above mentioned method there is also  wet bulb method. It was used in the past before - petier/dew point meters becomes popular. There ware some tables back in those days, without computers and limited functions calculators.
https://us.flukecal.com/blog/how-accurately-calibrate-hygrometer

@Anders Petersson - Where can I buy MgCl2? Is it the food grade or industrial?
« Last Edit: January 30, 2023, 08:33:53 pm by miro123 »
 

Offline mendip_discovery

  • Frequent Contributor
  • **
  • Posts: 844
  • Country: gb
Re: Relative humidity measurement. Best practices.
« Reply #16 on: January 30, 2023, 09:03:02 pm »
Extech do some 33%RH and 75%RH humidity standards for notalot.

Extech RH300-CAL iir
https://www.test-meter.co.uk/extech-rh300-cal-humidity-solutions-calibration-kit

Prices vary, I got ours for 30ish.
Motorcyclist, Nerd, and I work in a Calibration Lab :-)
--
So everyone is clear, Calibration = Taking Measurement against a known source, Verification = Checking Calibration against Specification, Adjustment = Adjusting the unit to be within specifications.
 

Offline mzzj

  • Super Contributor
  • ***
  • Posts: 1245
  • Country: fi
Re: Relative humidity measurement. Best practices.
« Reply #17 on: January 31, 2023, 04:37:59 am »


@Anders Petersson - Where can I buy MgCl2? Is it the food grade or industrial?
I have used MgCl from Vaisala (Link I gave earlier has MgCl as option) and from laboratory chemical distributor.

Both worked fine for my purposes but Vaisala salt kit comes with calibration certificate that sort of gives you traceability. Without one it is bit of quesswork what the generated humidity is.
Even if you have purity information available like >99% it probably makes big difference what compound the last 1% is. 
 

Offline Anders Petersson

  • Regular Contributor
  • *
  • Posts: 122
  • Country: se
Re: Relative humidity measurement. Best practices.
« Reply #18 on: January 31, 2023, 07:48:08 am »
@Anders Petersson - Where can I buy MgCl2? Is it the food grade or industrial?

It's available on Ebay or various sources. I bought from an aquarium shop (I guess they use it to regulate the chemistry in salt water aquariums). That particular store seems offline now. The price was EUR 11 for 1 kg. I don't expect it has any particular purity.
But when you use salts for high-accuracy calibration purposes, would you dare to assume the nominal humidity even with very pure salts? With some salts, the nominal humidity varies with temperature. And in a relatively large box like these, the high-humidity salts (>90 %RH) take hours to recover the last few % of the equilibrium humidity so doing an early reading saves time. MgCl2 isn't that bad, but it's easiest to always use a reference sensor. And using lower-grade salts saves hundreds of dollars. Heck, I even have a completely empty box to get a free comparison at the ambient humidity level of the day.

I found MgCl2 to clump badly even before dissolving in water and it could dissolve much less water than expected, so I guess it already absorbed moisture from the air. Not a problem -- just add a little water at a time until you have a partially liquid solution.
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Relative humidity measurement. Best practices.
« Reply #19 on: February 04, 2023, 02:47:56 pm »
Apparently some humidity sensors include a heater to handle high humidity or condensation. So let's say relative humidity is above 90%. One would turn on the heater to dry the sensor and then make another measurement. Using another temperature sensor not affected by the heater one could then calculate (the higher) relative humidity for (the lower) ambient temperatue. Any experience with this?
Also i am wondering about how relative humidity depends on barometric pressure. As far as i understand those integrated sensors won't measure barometric pressure but assume a default value.

Regards, Dieter
 

Offline miro123Topic starter

  • Regular Contributor
  • *
  • Posts: 206
  • Country: nl
Re: Relative humidity measurement. Best practices.
« Reply #20 on: February 04, 2023, 04:15:11 pm »
Apparently some humidity sensors include a heater to handle high humidity or condensation. So let's say relative humidity is above 90%. O
I've used this feature on my HDC1080 sensors. I found it only useful,  when I measure outdoor conditions. My experience is that  gel based humidity sensors has the highest and the longest humidity hysteresis. BME/BMP280 and SHT2x/3x are returning faster to normal operation once the outdoor condition get beter. Mostly humidity jamming occurred at night, once the sun shines they are returning to normal operation
I don't seen any use case for this features for any indoor conditions.
Also i am wondering about how relative humidity depends on barometric pressure. As far as i understand those integrated sensors won't measure barometric pressure but assume a default value.
No idea how big is the influence of the air pressure. Even more - i have oposite experiance -pressureless SHT35 gives more consistent results that pressure equipped  BME280 .
I saw that air quality have huge impact - e.g indoor painting , or applying silicone sealant  drives the  humidity sensors crazy. It is expected behavior - datasheet describe it. That is the reason why i avoid buying of such sensors via e-bay.

« Last Edit: February 04, 2023, 04:28:37 pm by miro123 »
 
The following users thanked this post: dietert1

Offline mendip_discovery

  • Frequent Contributor
  • **
  • Posts: 844
  • Country: gb
Re: Relative humidity measurement. Best practices.
« Reply #21 on: February 04, 2023, 06:32:37 pm »
Dust etc is a big issue for humidity sensors I have found. If I have ever had to fail a unit its becuase its drifted big time and it's just not worth repairing and just taking a look at the sensor there is quite often a significant amount of dust and dirt on and around the sensor.

Motorcyclist, Nerd, and I work in a Calibration Lab :-)
--
So everyone is clear, Calibration = Taking Measurement against a known source, Verification = Checking Calibration against Specification, Adjustment = Adjusting the unit to be within specifications.
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Relative humidity measurement. Best practices.
« Reply #22 on: February 04, 2023, 07:08:15 pm »
As an example we are in Sao Paulo at a height of about 800 m above see level. The pressure measurement gives 924 hPa, while the local meteorology reports 1015 mb (value normalized to see level).
In this case the pressure effect is about 10 % and i'd guess the density of air and water contained therein may vary similar. I'd guess condensation (100 % RH) will occur at a lower water density if the air density is less. Then the question arises whether a sensor really measures relative humidity or water per air volume. Also concerning metrology i don't know whether a humidity effect on plastic parts or resistor bobbins will really be proportional to relative humidity or water density.

Regards, Dieter

PS: I started to compare SHT35 measurements with those of the local weather report and found an average difference of 1.2 % RH and a standard deviation of 2.5 % RH. Data in a range of 60 to 80 %RH. This includes a calculation of water density and redetermination of %RH according to the measured lab temperature.
« Last Edit: February 04, 2023, 07:19:11 pm by dietert1 »
 

Offline miro123Topic starter

  • Regular Contributor
  • *
  • Posts: 206
  • Country: nl
Re: Relative humidity measurement. Best practices.
« Reply #23 on: February 04, 2023, 07:54:23 pm »
As an example we are in Sao Paulo at a height of about 800 m above see level.
Interesting question. I have never has such problem. I have the luyxury that I leve in The Netherlands. My house fundament is 12m above see level.
Country is highly populated - I have at least 3 profesional/goverment meteological station in radius of 12km . One semi professional station is just 1km from me.
I  have 3 BME280 - the absoulte atmosferic pressiure seems to be prety close - best time to do this by steady state wether - the most meteo stations give the same air air presure - normalized to altitude /Happily the altidude diference here is just 10..15meters./.
It was interesting that the absolute air pressure value is prety close to the government stations data.
------
I cannot say the same for humidity - forest,my small vilige, agriculture area, lakes and rivers has different RH - I experiance it with naked eye in foggy weather
I cannot say the same for temperature - I cannot achieve equal temperature even at 10mm distance

-------------------
I'm not expert in this areay but fast google search shows that relative humidity calculation from dew point is independent from air pressure
  - the only requirement is that dew point chamber mus have the same . 
  - mathematical explanation  - The two part of equation neutralize the air pressure
  - engineer/my/ explanation
1. RH is function of air pressure. Ideal air P*V=const     
2. Dew point occurs when liquid pressure >= air pressure
1 & 2 neutralize each other
https://lambdageeks.com/dew-point-and-pressure/
https://www.orionkikai.co.jp/english/technology/kuatsu/dewpoint-temp/
https://en.wikipedia.org/wiki/Dew_point

« Last Edit: February 04, 2023, 08:02:20 pm by miro123 »
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14181
  • Country: de
Re: Relative humidity measurement. Best practices.
« Reply #24 on: February 04, 2023, 09:54:42 pm »
The RH is equal to the water partial pressure relative to the vapor pressure over clean water.
There is very little interaction between the gases. So the pressure does not have an effect.

What may effect the dew point measurement are water soluble gases, as they lower the vapor pressure of the condensed water. CO2 would be such an example.  Still the effect should be small.
One has to really look at the details one what is meant with RH to tell if it is relevant.


 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf