Study the principles and types of humidity sensors and their role in detecting and monitoring moisture levels.
Measuring humidity is used to operate a dehumidifier, control a greenhouse, preserve food, and signal the risk of condensation in a system. A humidity sensor (hygrometer) converts the amount of water vapor present in the air, usually expressed as relative humidity (RH), that is the percentage ratio between the partial pressure of the vapor and the saturation pressure at the same temperature [1][2][3][4], into an electrical signal.
Relative humidity does not indicate the absolute amount of water: the same amount of vapor gives different RH values at different temperatures because warm air can hold more vapor than cold air. For this reason, every RH measurement also requires temperature. The dew point temperature is the temperature at which air, cooling at constant pressure, becomes saturated and vapor begins to condense. It is approximated, between about $0$ and $60\ ^\circ\mathrm{C}$, by the Magnus formula:
$$\gamma = \ln\frac{\mathrm{UR}}{100} + \frac{a\,T}{b + T}, \qquad T_{r} = \frac{b\,\gamma}{a - \gamma}$$
with $a = 17.62$, $b = 243.12\ ^\circ\mathrm{C}$, $T$ in degrees Celsius and RH in percentage [4].
- Capacitive: a hygroscopic polymer film acts as the dielectric of a capacitor. By absorbing vapor, its dielectric constant increases and with it the capacitance, in an almost linear way with RH. It is the most common type in integrated sensors: fast, stable, with a range from about $0$ to $100\ \%$.
- Resistive: a hygroscopic material (polymer or salt) changes resistance with humidity, in a strongly nonlinear way. It is powered with alternating current to avoid polarization. It is inexpensive but less stable.
- Cooled mirror: a mirror is cooled until condensation forms, detected optically; its temperature is the dew point temperature. It is the most accurate method, used as a reference, but expensive.
- Soil hygrometers: measure the water content of soil by resistance or capacitance between two embedded electrodes [2][3].
Many modules integrate the sensor with a temperature sensor, converter, and digital interface, and provide RH and temperature already compensated.
In the ideal model, the output is a unique function of RH. In the real sensor, hysteresis (different value on rising and falling), drift over time, temperature dependence, response time of seconds or tens of seconds, and contamination from dust, solvents, and chemical vapors appear. Prolonged exposure to saturation or condensation conditions degrades many sensors; modules with heaters exist that remove condensation. Exposure to substances such as alcohol or solvents can cause drift.
A capacitive sensor has $180\ \mathrm{pF}$ at $30\ \%$ RH and sensitivity $0.3\ \mathrm{pF}$ per percentage point (hypothetical values, within the linear range).
1. At $60\ \%$ RH the capacitance is $180 + 0.3\cdot30 = 189\ \mathrm{pF}$.
2. If a circuit measures capacitance with a resolution of $0.03\ \mathrm{pF}$, the resolution on humidity is $0.03/0.3 = 0.1$ percentage points.
3. With air at $25\ ^\circ\mathrm{C}$ and $60\ \%$ RH: $\gamma = \ln0.6 + 17.62\cdot25/268.12 = -0.511 + 1.643 = 1.132$, therefore $T_r = 243.12\cdot1.132/(17.62 - 1.132) \approx 16.7\ ^\circ\mathrm{C}$: a surface cooler than $16.7\ ^\circ\mathrm{C}$ becomes covered with condensation.
4. With air at $20\ ^\circ\mathrm{C}$ and $50\ \%$ the dew point temperature is about $9.3\ ^\circ\mathrm{C}$.
The actual accuracy of the sensor is a few percentage points, and the measurement should be compared with the value stated in the datasheet.
Humidity sensors are used in air conditioning and dehumidification systems, greenhouses and agriculture, weather stations, food and artwork preservation environments, medical equipment, and industrial drying processes.
[1] Wikipedia (en): Hygrometer
[2] Wikipedia (de): Feuchtigkeitssensor
[3] Wikipedia (fr): Capteur d'humidité du sol
[4] Wikipedia (en): Dew point
Generating summary…