Join Us in the Fight Against Air Pollution

Correction Algorithms

The accuracy of an air quality monitor is impacted by a variety of internal and external factors, for example:

  • Enclosure: The ventilation and internal placement of sensor modules can greatly impact their accuracy.
  • Relative Humidity: The relative humidity can increase the size of particulate matter.

Therefore, air quality device manufacturers compare the performance of their monitors with reference instruments and then apply correction formulas that could be as simple as a temperature offset but also involve complex multivariable models.

In most cases, manufacturers treat these algorithms as trade secrets and do not publish them. We at AirGradient believe in open hardware and open science and, therefore, openly publish them. This allows not only others to get a better understanding of the monitor’s raw performance but also allows the improvement of the algorithms with scientific partners.

A few important notes on how AirGradient implements these algorithms:

  • All our current monitors with current firmware transmit data only as unaltered raw data to our server. The data is also saved as raw data in our database, which allows us to apply retroactive improvements in our correction algorithms.
  • Data Export and the AirGradient API only provides raw data. Thus, the correction needs to be manually applied on that data.
  • We are currently implementing the correction formula on the dashboard and monitor display. The status can be seen below.
  • The temperature and relative humidity of the indoor monitor AirGradient ONE are very close to the reference and, therefore, will not be corrected. Only the outdoor monitor Open Air needs correction.
  • PM1 and PM10 are currently not the focus, so no correction algorithms have been developed.
  • CO2 has an automatic baseline ongoing calibration; therefore, no correction algorithms are needed.
  • VOC and NOX are indexes based on relative changes of the pollutants and, therefore, do not need compensation algorithms.

Implementation Status

Data SourceTemperatureHumidityPM2.5PM1PM10CO2TVOCNOX
AirGradient Dashboard (Tables & Charts)correctedcurrently disabledcorrection implementation in progressrawrawN/RN/RN/R
AirGradient Dashboard (Alerts)rawrawrawrawrawN/RN/RN/R
AirGradient Mapcurrently disabledcurrently disabledcorrectedN/RN/RN/RN/RN/R
AirGradient APIrawrawrawrawrawN/RN/RN/R
AirGradient CSV ExportrawrawrawrawrawN/RN/RN/R
AirGradient ONE Display (Fw 3.1.3)rawrawraw correction implementation in progress--N/RN/RN/R
AirGradient Email ReportsrawrawrawrawrawN/RN/RN/R
Home Assistant Integration (2024.6)correction implementation in progress (expected 2024.8)correction implementation in progress (expected 2024.8)correction implementation in progress (expected 2024.8)rawrawN/RN/RN/R
Local Serverraw and compensatedraw and compensatedraw and compensatedrawrawN/RN/RN/R
MQTT PayloadrawrawrawrawrawN/RN/RN/R

N/R: Not Required

Correction Formulas

Correction for PM2.5

Extensive testing was carried out through our global co-location project. In the end, we deemed that the EPA correction formula developed for the Purple Air sensor (which contains the same PM module) performs very well.

We are currently writing a report on how the PM algorithms were tested and compared and will publish it here soon.

This correction formula splits up the algorithms into bands. Note that negative values could result from the formula. In this case, it is recommended to set them to 0.

AGraw <30:

PM2.5 = [0.524 x AGraw] – [0.0862 x RH] + 5.75

30≤ AGraw <50:

PM2.5 = [0.786 x (AGraw/20 - 3/2) + 0.524 x (1 - (AGraw/20 - 3/2))] x AGraw – [0.0862 x RH] + 5.75

50 ≤ AGraw <210:

PM2.5 = [0.786 x AGraw] – [0.0862 x RH] + 5.75

210 ≤ AGraw <260:

PM2.5 = [0.69 x (AGraw/50 – 21/5) + 0.786 x (1 - (AGraw/50 – 21/5))] x AGraw – [0.0862 x RH x (1 - (AGraw/50 – 21/5))] + [2.966 x (AGraw/50 –21/5)] + [5.75 x (1 - (AGraw/50 – 21/5))] + [8.84 x (10-4) x AGraw2x (AGraw/50 – 21/5)]

260 ≤ AGraw:

PM2.5 = 2.966 + [0.69 x AGraw] + [8.84 x 10-4 x AGraw2]

Correction for Temperature and Relative Humidity

An extensive analysis with more than 200,000 temperature points was done, and the following correction algorithms were derived. More information about the development of these algorithms can be accessed here.

Only the AirGradient Open Air Outdoor Monitor needs correction. The indoor monitor AirGradient ONE has a different ventilation design and is therefore very accurate with the raw data.

Temperature

Below 10°C: T(calib) = T(raw)*1.327 - 6.738
Above 10°C: T(calib) = T(raw)*1.181 - 5.113

Relative Humidity

RH(calib) = RH(raw) * 1.259 + 7.34

If a value is >100%, it will be set at 100%.



Your are being redirected to AirGradient Dashboard...