Next Article in Journal
Forced, Balanced, Axisymmetric Shallow Water Model for Understanding Short-Term Tropical Cyclone Intensity and Wind Structure Changes
Next Article in Special Issue
Assessment of the Performance of a Low-Cost Air Quality Monitor in an Indoor Environment through Different Calibration Models
Previous Article in Journal
Potentially Toxic Elements (PTEs) Composition and Human Health Risk Assessment of PM10 on the Roadways of Industrial Complexes in South Korea
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Assessment and Calibration of a Low-Cost PM2.5 Sensor Using Machine Learning (HybridLSTM Neural Network): Feasibility Study to Build an Air Quality Monitoring System

Research Institute of Environmental Health and Safety, 410, Jeongseojin-ro, Seo-gu, Incheon 404-844, Korea
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Submission received: 7 September 2021 / Revised: 30 September 2021 / Accepted: 5 October 2021 / Published: 7 October 2021

Abstract

:
Commercially available low-cost air quality sensors have low accuracy. The improved accuracy of low-cost PM2.5 sensors allows the use of low-cost sensor systems to reasonably investigate PM2.5 emissions from industrial activities or to accurately estimate individual exposure to PM2.5. In this work, we developed a new PM2.5 calibration model (HybridLSTM) by combining a deep neural network (DNN) optimized in calibration problems and a long short-term memory (LSTM) neural network optimized in time-dependent characteristics to improve the performance of conventional calibration algorithms of low-cost PM sensors. The PM2.5 concentrations, temperature and humidity by low-cost sensors and gravimetric-based PM2.5 measuring instrument were sampled for a sufficiently long time. The proposed model was compared with benchmarks (multiple linear regression model (MLR), DNN model) and low-cost sensor results. The gravimetric measurements were used as reference data to evaluate sensor accuracy. For root-mean-square error (RMSE) for PM2.5 concentrations, the proposed model reduced 41–60% of error when compared with the raw data of low-cost sensors, reduced 30–51% of error when compared with the MLR model and reduced 8–40% of error when compared with the MLR model. R2 of HybridLSTM, DNN, MLR and raw data were 93, 90, 80 and 59%, respectively. HybridLSTM showed the state-of-the-art calibration performance for a low-cost PM sensor. In other words, the proposed ML model has state-of-the-art calibration performance among the tested calibration algorithms.

1. Introduction

Air pollution caused by industrialization and urbanization is causing serious environmental and health problems. For example, fine particulate matter (PM) is generated from various emission sources of industrial activities such as industry, transportation and combustion. In particular, fine dust with a diameter of less than 2.5 μm (PM2.5) causes various diseases, such as cardiovascular diseases, asthma, and neurotoxicity, because it is directly exposed to the lungs and circulatory system. Therefore, it is very important to obtain the data for regulation on industrial emission by monitoring the PM2.5 concentration generated by the emission activity [1].
In South Korea, a gravimetric-based PM2.5 measuring instrument has been used as a national reference method (NRM) to monitor the PM2.5 concentrations. However, it is expensive to install NRM equipment at the sampling location for each close distance (>USD 10,000) [2]. This limits obtaining PM2.5 information from the NRM method at the community level.
Light-scattering low-cost PM2.5 sensors are paradigm to solve the cost problem. Since the low-cost sensor can obtain the PM concentration in real-time, it has been used in various studies such as personal exposure assessment [3,4], indoor exposure estimation [5] and outdoor monitoring [6,7,8]. However, low-cost sensors are sensitive to environmental variables such as temperature and humidity due to their light scattering method. Badura et al. [9] conducted a validation test to evaluate the reliability of the low-cost sensors in an outdoor field over a long period using the national standard measuring equipment. Above 80% relative humidity, raw data by low-cost sensors observed an apparent overestimation of PM2.5 concentration measurements.
Vogt et al. [10] performed the comparison of three models of low-cost PM2.5 sensors (Plantower 5003, Sensirion SPS 30 and Alphasense OPC-N3) against the gravimetric device in outdoor field. The SPS 30 sensor has higher accuracy and high correlation compared to other low-cost sensors. However, it has still been shown that the low-cost sensor has lower accuracy than the national standard measurements due to the limitations of the physical characteristics of the sensor.
Zusmana et al. [11] developed metropolitan region-specific calibration models based on the multi-linear regression method (MLR) and the time-series data by various low-cost sensors (PM2.5, temperature and humidity) and the NRM network equipment (PM2.5) to solve the sensitivity problem driven by environmental variables. The calibration model confirmed the possibility of applying a low-cost sensor at the community level by solving the accuracy degradation caused by the physical characteristics of low-cost sensor. However, the metropolitan region-specific calibration model still showed low accuracy (R2 = 0.67–0.84) in a specific data period.
Si et al. [12] introduced machine learning approaches to improve the accuracy problem of the linear regression method for the low-cost sensor calibration. They compared the PM2.5 data calibrated by the simple linear regression (SLR), the multiple linear regression (MLR), the tree-based machine learning algorithm (XGboost) and deep neural networks (DNN) against PM2.5 data by the Synchronized Hybrid Ambient Real-time Particulate (SHARP) monitor. They showed the machine learning methods have superior calibration performance compared to the linear regression methods. Among the calibration algorithms, DNN showed the best performance for PM2.5 calibrations (person R = 0.85, root-mean-square error = 3.91). However, the calibration performance of low-cost sensors can be still improved because various machine learning algorithms can be fused for the purpose of solving them.
In this study, we propose a state-of-the-art PM2.5 calibration model (HybridLSTM) by combining the deep neural network (DNN) optimized in calibration problems and a long short-term memory (LSTM) neural network optimized in time-dependent characteristics to improve the performance of conventional calibration algorithms (DNN, MLR) of a low-cost PM sensor. This work develops a low-cost calibration machine learning (ML) model and compares it with the previous state-of-the-art model (DNN) and conventional MLR model.
The process of this study is shown in Figure 1. First, low-cost Sensirion SPS 30 and NRM equipment were collocated to develop the ML model. If high concentrations of PM2.5 are not sampled, incorrect performance evaluation results may be found [11]. Therefore, the experiment is carried out until more than 50 µg/m3 of PM2.5 samples are obtained. HybridLSTM, DNN and MLR models are developed based on the obtained data sample (training set), and model performance is compared using the other independent data not used for model development (test set). The MLR and DNN are used as a benchmarks for evaluating the newly developed calibration HybridLSTM model.
The novelty of this study is as follows: improvement of the calibration performance against the calibration model (MLR and DNN) by using a new machine learning algorithm (HybridLSTM). As far as we can tell, this paper is the first report to propose the new approach of calibration of low-cost PM2.5 sensors by using the HybridLSTM algorithm. It is very important because it does not only provide reliable community-level monitoring, but can also help exposure assessment in epidemiological studies.

2. Methods

2.1. Data Sampling to Develop Calibration Machine Learning (ML) Model

2.1.1. Air Quality Measurement Instruments

In general, the ML algorithm functions as the relationship between input variables and output variables. In this study, input variables were set as PM2.5 by Sensirion low-cost SPS 30 (<USD 50) and temperature and humidity by Sensirion SHT85 (<USD 30) to model the complex relation between environmental variables and PM2.5 of the light-scatter method.
It is very important to have consistent precision among low-cost sensors in order to build a monitoring sensor network system by the ML model. Because the low-cost Sensirion SPS 30 has excellent inter-sensor precision with coefficients of determination above 0.9 [10], the ML model based on SPS 30 has the possibility of maintaining consistent performance even with new sensors. Therefore, the PM2.5 measurement results by the SPS 30 sensor are set as the input variable based on previous literature [10]. Environmental variables such as temperature and humidity have an effect on decreasing the accuracy of a low-cost sensor based on the light-scatter method [13]. Therefore, two environmental variables were also set as input conditions to model the complex physical characteristics among PM2.5, temperature and humidity.
The target variable is PM2.5 concentration measured from the gravimetric instrument. The quality of target variable plays an important role in developing the ML model with high calibration performance. The gravimetric method is based on TEOM (tapered element oscillating microbalance) technology, which intakes the atmospheric air through a filter, heats it, continuously measures the filter weight, and calculates the mass concentration of PM in near real time. Therefore, TEOM has high accuracy in field tests compared with the various air-quality devices. It has been used in many countries to monitor PM2.5 concentrations in the field [14].

2.1.2. Dataset for Calibration Machine Learning (ML) Modeling

A dataset is required to develop and test the ML model. The dataset includes the labeled time series type by the aforementioned input variables (PM2.5 of SPS 30, temperature and humidity of SHT 85) and target variables (TEOM). In general, the dataset is divided into a training set for estimating the ML model parameters and a test set for evaluating the ML model’s calibration performance.
For validating the accuracy performance of ML model, the test set should have other combinations of variables that were not utilized in the training set. In addition, the ML model must consider adequate design space between training set and test set. For example, if a variable with a higher concentration range than the training set used for model development is input into the developed ML model, the calibration performance has the possibility of deterioration [15]. In other words, the training set must contain a wide enough range of concentration of PM2.5. Additionally, a dataset with a small concentration range of PM2.5 may give incorrect evaluations of certain metrics, such as R2 [11]. In this study, low-cost Sensirion SPS30, SHT85 and NRM equipment were collocated to develop the ML model, as shown Figure 2.

2.2. Machine Learning Algorithm

The measured PM2.5 concentration and environmental variable data (temperature and humidity) have time-series characteristics. That is, air-quality data have a time-dependent characteristic, which is a relationship between past data and current data. Among machine learning algorithms, the long short-term memory (LSTM) neural network is an algorithm optimized for the time-dependent characteristics. In this study, in order to calibrate the low-cost PM2.5 sensors, we develop a new PM2.5 calibration model by customizing the deep neural network (DNN) optimized in calibration problems and a LSTM optimized in time-dependent characteristics. The overall system architecture of the HybridLSTM algorithm is shown in Figure 3.
(Step 1) PM2.5, temperature and humidity of the low-cost sensor data described in Section 2.1 are input into the network in the form of a time series including historical trends for 24 h. Values entered with historical data provide time-dependent properties between time-series data through LSTM cells.
The LSTM cell computes a non-linear mathematic relation from an input sequence x = (x1, …, xT; x is PM2.5, temperature and humidity by low-cost sensor) to an output sequence y = (yT; y is PM2.5 by gravimetric instrument) by considering the historical trend using the following equations iteratively from t = 1 to T [16,17]:
i t = σ ( w i x x t + w i m m t 1 + w i c c t 1 + b i )
f t = σ ( w f x x t + w f m m t 1 + w i c c t 1 + b f )
c t = f t × c t 1 + i t × g ( w c x x t + w c m m t 1 + b c )
o t = σ ( w o x x t + w o m m t 1 + w o c c t + b o )
m t = o t × h ( c t )
x ^ t = φ ( w m m t + b x )
where T represents the labeled time, W terms denote learning parameter matrices (e.g., Wix is the matrix of weights from the input gate to the inputs), Wic, Wfc, Woc are diagonal learning parameter matrices for peephole connections, the b terms represents bias vectors (bi is the input gate bias vector), σ is the sigmoid function, and i, f, o and c are respectively the input gate, forget gate, output gate and cell activation vectors, all of which are the same size as the cell output activation vector m, × is the element-wise product of the vectors, h and φ are tanh and linear activation function, and x ^ t ¯ has the new inputs with the historical trend. The predicted vectors are fed into a deep neural network model (DNN).
(Step 2) The time-dependent values are passed to the DNN architecture, and the neural network parameters are trained to minimize the differences between the values of the target variables (TEOM PM2.5) and results predicted by the model. The key to the HybridLSTM algorithm is to approach the calibration problem differently from the application of the conventional LSTM approach. For example, the HybridLSTM algorithm is to make the time series of the target variable (TEOM PM2.5) the same as the last time series of the input variables (low cost PM2.5, temperature and humidity).
The DNN algorithm minimizes the loss between DNN results predicted by the new input design variables ( x ^ t ) and the output variable (yT) by the target data. The structure of the neural network consists of several hidden layers between input and output variables. The layer consists of various nodes, and the node converts the linear combination of input variables into a sigmoid nonlinear form, as shown in Equations (7) and (8).
y j ( k ) = b 0 + i = 1 n w i x i
y j _ o u t ( k ) = 1 1 + exp ( y j ( k ) )
where k is layer number, j is node number and w i is weight. The input variables are transferred to the hidden layer and calculated until the end of the output. Then, the weights of all nodes are updated repeatedly so that the error with the true value is minimized. This is called the backpropagation process. That is, parameters such as learning rate, epoch, batch size and number of hidden layers, etc., must be optimized to make the minimum difference value between the true value and prediction value. In other words, HybridLSTM not only has a historical trend for PM2.5 by low-cost sensors with humidity and temperature, but also optimizes the loss between results with the historical trend and PM2.5 by gravimetric devices as gold standard. In this study, we used Tensorflow and Python 3.6 to model the HybridLSTM.

2.3. Benchmark Method

The multi-linear regression (MLR) method and deep neural network model, which showed high correction performance in previous studies [12], were used as benchmark models to evaluate the performance of the hybridLSTM model proposed in this study. MLR is the same as the equation below;
y = i = 1 3 w i x i + b
where x 1 , x 2 and x 3 are SPS30 PM2.5, temperature and humidity, y is the result from TEOM equipment PM2.5, and w and b are parameters optimized by the dataset described above.
The DNN model method was explained in Section 2.2. The hyper-parameters of DNN were transferred in previous research [12], which showed reasonable calibration performance. DNN and MLR models are developed using the same training data used to develop the HybridLSTM model, and the model performance is evaluated using the same test data.
The metrics used for model development and evaluation were R2 and root mean square error (RMSE). In general, many performance metrics are used to evaluate regression models, but in evaluating sensor calibration performance, two indicators can be sufficiently explained [11]. The metrics for R2 and RMSE are expressed as follows;
R 2 = 1 i = 1 n ( t i y i ) 2 ( t i t ¯ ) 2
RMSE = 1 n i = 1 n ( y i t ^ i ) 2
where t i , y i , t ¯ and n represent the i-th TEOM sample, the predicted result by the model, the average of the TEOM samples, and the total number of samples, respectively.

3. Results

3.1. Data Sampling to Develop Machine Learning Model

The sampled data of time-series type (PM2.5 of SPS 30, temperature and humidity of SHT 85 and PM2.5 of TEOM) are shown in Figure 4. The data sampling period was measured over 110 days. Seventy-seven days were designated as the training set and thirty-three days were designated as the test set. The maximum PM2.5 concentrations in the training set and test set were sampled for a sufficiently long time to include PM2.5 data higher than 50 μ g / m 3 ( ± 10   μ g / m 3 ) at least, which is the scenario of high concentration determined by the World Health Organization (WHO). Maximum PM2.5 concentration measured by the gravimetric method was 115 μ g m 3 . Therefore, the concentration of PM2.5 sampled in this work is high enough to validate the model calibration performance.
Table 1 represents the statistical information (maximum, minimum, average and standard deviation for the collected dataset) of the corresponding dataset. We correlate the complexity between input variables (data of low-cost sensors) and target variables (data of high accuracy device) through ML methods based on the data-set.

3.2. Hyper-Parameter Optimization of HybridLSTM

The calibration accuracy by the ML model is affected depending on the combination of hyper-parameters (such as learning rate, network architecture, batch size, optimization function, etc.). Therefore, it is very important to find an optimized hyper-parameter. However, there is a limit to comparing a huge number of combinations. Therefore, many studies determine the hyper-parameter by trial and error methods [18,19]. In this study, hyper-parameters with optimal ML calibration performance were determined by changing various hyper-parameter combinations. Hyper-parameters with optimal calibration performance were evaluated based on R2. Various variables, such as the number of nodes and layers, batch size, etc., were randomly combined into 100 and evaluated, as shown in Figure 5. The R2 for the optimal combination is about 93%, and the hyper-parameter optimization information is summarized in Table 2.
Callback is a parameter for how long the LSTM cell gives time-dependency, and the number of DNN layers and nodes are parameters that determine the degree of nonlinearity between the input variable and the output variable. Too many layers cause overfitting and deteriorate the calibration performance of the new input data. The learning rate is that the neural network reduces the loss between the input and output. A learning rate being too large prevents the solution from convergence. Batch size represents the size divided among the entire training set for training the neural network. Epoch refers to the number of iterations to train a neural network. The Adam algorithm was used to optimize the neural network because the Adam method showed high convergence and accuracy among many algorithms in regression problems [17].
Figure 6 shows the learning process of the HybridLSTM model with the optimized hyper-parameters during 10 training experiments. The validation set determines whether the model have an overfitting problem for new PM2.5 data. The training/validation loss was sufficiently converged during the 10 repeated experiments of HybridLSTM, as shown Figure 6. In other words, the developed model represents a robust model without overfitting. Therefore, researchers can develop and use a model with consistent calibration performance.

3.3. Comparison of Accuracy among Proposed Model, Benchmark and Low-Cost Sensor

Figure 7 shows the RMSE as a result of calibrating the test set at 1-week intervals using the optimized model, benchmark, and SPS30 sensor. The error (RMSE) was calculated based on a gold-standard device (TEOM). The proposed model with time-dependent characteristics showed higher calibration performance for all periods than the benchmark model and raw data. The quantitative error reduction rate for each of the periods is shown in Table 3. The proposed model reduced 41–60% of error compared to the raw data (low-cost sensor), reduced 30–51% of error compared to the calibration results by the MLR model and reduced 8–40% of error compared to the calibration results by the DNN model.
Figure 8 represents the comparison results of the developed model, benchmark model, and raw sensor against all samples of TEOM. Raw data by low-cost PM2.5 sensors showed a significant overestimation in concentrations higher than 50 μ g/m3. The incorrect monitoring in high-concentration situations not only leads to incorrect exposure assessment, but also leads to errors in determining government regulations. The benchmark method underestimated compared to the gravimetric method. On the other hand, the proposed model showed small variation results when compared to the TEOM results in the high concentration as well as in the low concentration section. HybridLSTM had the most similar results to TEOM, and the R2 was about 93%. In other words, we showed superior calibration performance of the state-of-the-art machine learning model when compared with the benchmark method (DNN) that is considered to be state of the art in previous literature.
Figure 9 shows the time-series comparison results of the developed model, benchmark model, and raw sensor against TEOM at 1-week intervals. The dotted line represents the high PM2.5 concentrations (>50 μ g/m3). The raw data from the low-cost sensor were higher than data from the gravimetric measurement above the dotted line (overestimation). Additionally, the benchmark method represents underestimation compared to the gravimetric instrument under the dotted line. However, the calibration algorithm proposed in this work can calibrate not only the PM2.5 of high concentrations, but also the PM2.5 of low concentrations in terms of high accuracy.

4. Discussion and Conclusions

In this study, a new PM2.5 machine learning calibration model (HybridLSTM) was developed, and the calibration performance was compared with the raw data, MLR model and DNN model, which has shown a superior calibration performance. Additionally, a generalized performance test was performed for validating the possibility of establishing a sensor monitoring network. The results performed are summarized as follows.
(1) The HybridLSTM PM2.5 calibration model with time-dependent characteristics showed optimal performance in improving the accuracy of low-cost PM2.5 sensors. For RMSE, the proposed model reduced 41–60% of errors compared to the raw data of the low-cost sensor, reduced 30–51% of errors compared to the MLR model and reduced 8–40% of errors compared to the DNN model. Raw data by low-cost PM2.5 sensors showed a significant overestimation compared to the gravimetric method in samples of high PM2.5 concentrations. The slope of fitting curve for the raw data and gold standard data was 1.2. The MLR method showed the underestimated calibration results compared to the measurement results by the gravimetric method. HybridLSTM showed a superior calibration performance when compared with ML models (DNN) that are considered to be state of the art in previous literature [12]. HybridLSTM can provide outstanding calibration results for low-cost sensors. Incorrect monitoring in high-concentration situations not only leads to incorrect exposure assessment, but also leads to errors in determining government regulation. The proposed model showed little variation with the NRM method.
The proposed model solves the existing accuracy limitations of low-cost sensors and can provide results with high reliability, not only for monitoring, but also for research in various environmental fields. Although outstanding performance was shown in this study, the method proposed in this study needs to be verified in more locations to build a more reliable sensor monitoring network. Therefore, in future work, we plan to test whether low-cost PM2.5 sensors combined with machine learning at various locations and times, including different seasons, can be applied to sensor network construction. When constructing a sensor network with high resolution based on high accuracy, we will test the possibility of providing air quality information to areas where sensors are not installed through the interpolation method.

Author Contributions

D.P. was responsible for developing the machine learning algorithm, analyzing the results of calibration by models and oversaw the research and provided initial research ideas. G.-W.Y. researched the machine learning papers, analyzed results from developed machine learning. S.-H.P. collected the dataset and prepared the manuscript. J.-H.L. provided initial research ideas and editing the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Korea Environment Industry & Technology Institute (KEITI) through Technology Development Project for Safety Management of Household Chemical Products ‘Development of aquatic environment exposure index for hazardous substances containing products’, funded by Korea Ministry of Environment (MOE) (2020002970009, 1485017560).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this work are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Conti, M.E.; Ciasullo, R.; Tudino, M.B.; Matta, E.J. The industrial emissions trend and the problem of the implementation of the Industrial Emissions Directive (IED). Air Qual. Atmos. Health 2015, 8, 151–161. [Google Scholar] [CrossRef]
  2. Morawska, L.; Thai, P.K.; Liu, X.; Asumadu-Sakyi, A.; Ayoko, G.; Bartonova, A.; Bedini, A.; Chai, F.; Christensen, B.; Dunbabin, M.; et al. Applications of low-cost sensing technologies for air quality monitoring and exposure assessment: How far have they gone? Environ. Int. 2018, 116, 286–299. [Google Scholar] [CrossRef] [PubMed]
  3. Steinle, S.; Reis, S.; Sabel, C.E.; Semple, S.; Twigg, M.M.; Braban, C.F.; Leeson, S.R.; Heal, M.R.; Harrison, D.; Lin, C.; et al. Personal exposure monitoring of PM2.5 in indoor and outdoor microenvironments. Sci. Total Environ. 2015, 508, 383–394. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Li, J.; Mattewal, S.K.; Patel, S.; Biswas, P. Evaluation of nine low-cost-sensor-based particulate matter monitors. Aerosol Air Qual. Res. 2020, 20, 254–270. [Google Scholar] [CrossRef] [Green Version]
  5. Tahsiin, F.; Anggraeni, L.; Chandra, I.; Salam, R.A.; Bethaningtyas, H. Analysis of Indoor Air Quality Based on Low-Cost Sensors. Int. J. Adv. Sci. Eng. Inf. Technol. 2020, 10, 2627–2633. [Google Scholar] [CrossRef]
  6. Jiang, Y.; Zhu, X.; Chen, C.; Ge, Y.; Wang, W.; Zhao, Z.; Cai, J.; Kan, H. On-field test and data calibration of a low-cost sensor for fine particles exposure assessment. Ecotoxicol. Environ. Saf. 2021, 211, 111958. [Google Scholar] [CrossRef] [PubMed]
  7. Kim, S.; Park, S.; Lee, J. Evaluation of performance of inexpensive laser based PM2.5 sensor monitors for typical indoor and outdoor hotspots of South Korea. Appl. Sci. 2019, 9, 1947. [Google Scholar] [CrossRef] [Green Version]
  8. Shi, J.; Chen, F.; Cai, Y.; Fan, S.; Cai, J.; Chen, R.; Kan, H.; Lu, Y.; Zhao, Z. Validation of a light-scattering PM2.5 sensor monitor based on the long-term gravimetric measurements in field tests. PLoS ONE 2017, 12, e0185700. [Google Scholar] [CrossRef] [PubMed]
  9. Badura, M.; Batog, P.; Drzeniecka-Osiadacz, A.; Modzel, P. Evaluation of low-cost sensors for ambient PM2.5 monitoring. J. Sens. 2018, 2018, 5096540. [Google Scholar] [CrossRef] [Green Version]
  10. Vogt, M.; Schneider, P.; Castell, N.; Hamer, P. Assessment of low-cost particulate matter sensor systems against optical and gravimetric methods in a field co-location in norway. Atmosphere 2021, 12, 961. [Google Scholar] [CrossRef]
  11. Zusman, M.; Schumacher, C.S.; Gassett, A.J.; Spalt, E.W.; Austin, E.; Larson, T.V.; Carvlin, G.; Seto, E.; Kaufman, J.D.; Sheppard, L. Calibration of low-cost particulate matter sensors: Model development for a multi-city epidemiological study. Environ. Int. 2020, 134, 105329. [Google Scholar] [CrossRef] [PubMed]
  12. Si, M.; Xiong, Y.; Du, S.; Du, K. Evaluation and Calibration of a Low-cost Particle Sensor in Ambient Conditions Using Machine Learning Technologies. Atmos. Meas. Tech. 2019, 13, 1693–1707. [Google Scholar] [CrossRef] [Green Version]
  13. Załuska, M.; Gładyszewska-Fiedoruk, K. Regression model of PM2.5 Concentration in a single-family house. Sustainability 2020, 12, 5952. [Google Scholar] [CrossRef]
  14. Gilliam, J.H.; Hall, E.S. Reference and Equivalent Methods Used to Measure National Ambient Air Quality Standards (NAAQS) Criteria Air Pollutants; Environmental Protection Agency: Washington, DC, USA, 2016; Volume 1, pp. 2016–2017. [Google Scholar] [CrossRef]
  15. Kim, Y.; Kim, Y.; Yang, C.; Park, K.; Gu, G.X.; Ryu, S. Deep learning framework for material design space exploration using active transfer learning and data augmentation. Npj Comput. Mater. 2021, 7, 1–7. [Google Scholar] [CrossRef]
  16. Wei, J.; Yang, F.; Ren, X.C.; Zou, S. A short-term prediction model of PM2.5 concentration based on deep learning and mode decomposition methods. Appl. Sci. 2021, 11, 6915. [Google Scholar] [CrossRef]
  17. Yang, G.; Lee, H.M.; Lee, G. A hybrid deep learning model to forecast particulate matter concentration levels in Seoul, South Korea. Atmosphere 2020, 11, 348. [Google Scholar] [CrossRef] [Green Version]
  18. Park, D.; Cha, J.; Kim, M.; Go, J.S. Multi-objective optimization and comparison of surrogate models for separation performances of cyclone separator based on CFD, RSM, GMDH-neural network, back propagation-ANN and genetic algorithm. Eng. Appl. Comput. Fluid Mech. 2020, 14, 180–201. [Google Scholar] [CrossRef]
  19. Park, D.; Go, J.S. Design of cyclone separator critical diameter model based on machine learning and cfd. Processes 2020, 8, 1521. [Google Scholar] [CrossRef]
Figure 1. Research flow chart. This work is performed in two steps: (a) data collection for PM2.5, temperature and humidity by low-cost sensor and PM2.5 by gravimetric instrument with high accuracy. (b) Machine learning model development based on the collected dataset. Calibration performance from the developed model is compared with raw data by low-cost sensor and calibration results by benchmark method (multi-linear regression method, DNN).
Figure 1. Research flow chart. This work is performed in two steps: (a) data collection for PM2.5, temperature and humidity by low-cost sensor and PM2.5 by gravimetric instrument with high accuracy. (b) Machine learning model development based on the collected dataset. Calibration performance from the developed model is compared with raw data by low-cost sensor and calibration results by benchmark method (multi-linear regression method, DNN).
Atmosphere 12 01306 g001
Figure 2. Measurement position and field test setup.
Figure 2. Measurement position and field test setup.
Atmosphere 12 01306 g002
Figure 3. Example of HybridLSTM model architecture.
Figure 3. Example of HybridLSTM model architecture.
Atmosphere 12 01306 g003
Figure 4. Results of collected dataset. From top to bottom, PM2.5 of SPS 30, temperature and humidity of SHT 85 and PM2.5 of TEOM. The white box region represents the training set that is used to develop the calibration model. The green box region represents the test set that is used to evaluate the developed calibration models. The period of training set is from 30 September 2019 at 18:00 to 18 December 2019 at 16:00. The period of test set is from 18 December 2019 at 17:00 to 21 January 2020 at 18:00. Units of temperature, humidity and PM2.5 concentration are , % and μ g / m 3 , respectively.
Figure 4. Results of collected dataset. From top to bottom, PM2.5 of SPS 30, temperature and humidity of SHT 85 and PM2.5 of TEOM. The white box region represents the training set that is used to develop the calibration model. The green box region represents the test set that is used to evaluate the developed calibration models. The period of training set is from 30 September 2019 at 18:00 to 18 December 2019 at 16:00. The period of test set is from 18 December 2019 at 17:00 to 21 January 2020 at 18:00. Units of temperature, humidity and PM2.5 concentration are , % and μ g / m 3 , respectively.
Atmosphere 12 01306 g004
Figure 5. Results of hyper-parameter optimization. The experiments were carried out according to 100 experiments. The experiments have different combinations of neural network parameters such as epoch, learning rate and number of layers, etc.
Figure 5. Results of hyper-parameter optimization. The experiments were carried out according to 100 experiments. The experiments have different combinations of neural network parameters such as epoch, learning rate and number of layers, etc.
Atmosphere 12 01306 g005
Figure 6. Results of robust model test. The robust test is performed on 10 repeated training experiments to validate that the ML model has a consistent calibration performance. The y label is the root-mean-square error (RMSE).
Figure 6. Results of robust model test. The robust test is performed on 10 repeated training experiments to validate that the ML model has a consistent calibration performance. The y label is the root-mean-square error (RMSE).
Atmosphere 12 01306 g006
Figure 7. Results of error comparison of HybridLSTM, benchmark and raw data at 1-week intervals based on the aforementioned test set. The error (RMSE) was calculated based on gold standard device (TEOM). We tested the calibration performance using datasets collected at weekly intervals. A total of five sections were used (1, 2, 3, 4 and 5 weeks).
Figure 7. Results of error comparison of HybridLSTM, benchmark and raw data at 1-week intervals based on the aforementioned test set. The error (RMSE) was calculated based on gold standard device (TEOM). We tested the calibration performance using datasets collected at weekly intervals. A total of five sections were used (1, 2, 3, 4 and 5 weeks).
Atmosphere 12 01306 g007
Figure 8. Results of scatter plot for the HybridLSTM (a), benchmark (b) and raw data (c) versus gravimetric measurements (d).
Figure 8. Results of scatter plot for the HybridLSTM (a), benchmark (b) and raw data (c) versus gravimetric measurements (d).
Atmosphere 12 01306 g008
Figure 9. Results of time-series comparison results for the HybridLSTM, DNN, MLR and raw data versus gravimetric measurements at 1-week intervals; (a) 1, (b) 2, (c) 3, (d) 4 and (e) 5 weeks. The dotted line represents the high PM2.5 concentrations. We tested the calibration performance using datasets collected at 1-week intervals. A total of five sections were used (1, 2, 3, 4 and 5 weeks).
Figure 9. Results of time-series comparison results for the HybridLSTM, DNN, MLR and raw data versus gravimetric measurements at 1-week intervals; (a) 1, (b) 2, (c) 3, (d) 4 and (e) 5 weeks. The dotted line represents the high PM2.5 concentrations. We tested the calibration performance using datasets collected at 1-week intervals. A total of five sections were used (1, 2, 3, 4 and 5 weeks).
Atmosphere 12 01306 g009
Table 1. Results of statistical information for dataset sampled from low-cost sensor and gravimetric instruments (units of temperature, humidity and PM2.5 concentration: , % and μ g / m 3 ) . The dataset is used to validate the accuracy performance of calibrated results.
Table 1. Results of statistical information for dataset sampled from low-cost sensor and gravimetric instruments (units of temperature, humidity and PM2.5 concentration: , % and μ g / m 3 ) . The dataset is used to validate the accuracy performance of calibrated results.
VariablesMinimumMaximumAverageStandard Deviation
Temperature−4.71334.7613.966.96
Humidity8.5599.9943.5119.45
Low-cost PM2.50.39165.5627.1119.45
Gravimetric PM2.5111522.1514.21
Table 2. Results of hyper-parameter optimization for HybridLSTM.
Table 2. Results of hyper-parameter optimization for HybridLSTM.
Optimized ParametersValues
Callback24
Number of layers5
DNN Node8/12/24/12/4
Learning rate0.0065
Batch size15
Epoch100
Optimization algorithmAdam
Table 3. Results of comparison of calibration results of HybridLSTM with benchmark (MLR) and a low-cost sensor (RAW). DNN, MLR and raw data were evaluated based on HybridLSTM. The decrease rate of RMSE from each of models was calculated.
Table 3. Results of comparison of calibration results of HybridLSTM with benchmark (MLR) and a low-cost sensor (RAW). DNN, MLR and raw data were evaluated based on HybridLSTM. The decrease rate of RMSE from each of models was calculated.
Decrease Rate of RMSE1 Week2 Week3 Week4 Week5 Week
DNN     HybridLSTM DNN 29.77%26.28%20.74%7.77%40.55%
MLR     HybridLSTM MLR 37.33%47.27%29.88%43.33%50.86%
RAW     HybridLSTM RAW 58.45%41.4%60.46%58.05%52.76%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Park, D.; Yoo, G.-W.; Park, S.-H.; Lee, J.-H. Assessment and Calibration of a Low-Cost PM2.5 Sensor Using Machine Learning (HybridLSTM Neural Network): Feasibility Study to Build an Air Quality Monitoring System. Atmosphere 2021, 12, 1306. https://0-doi-org.brum.beds.ac.uk/10.3390/atmos12101306

AMA Style

Park D, Yoo G-W, Park S-H, Lee J-H. Assessment and Calibration of a Low-Cost PM2.5 Sensor Using Machine Learning (HybridLSTM Neural Network): Feasibility Study to Build an Air Quality Monitoring System. Atmosphere. 2021; 12(10):1306. https://0-doi-org.brum.beds.ac.uk/10.3390/atmos12101306

Chicago/Turabian Style

Park, Donggeun, Geon-Woo Yoo, Seong-Ho Park, and Jong-Hyeon Lee. 2021. "Assessment and Calibration of a Low-Cost PM2.5 Sensor Using Machine Learning (HybridLSTM Neural Network): Feasibility Study to Build an Air Quality Monitoring System" Atmosphere 12, no. 10: 1306. https://0-doi-org.brum.beds.ac.uk/10.3390/atmos12101306

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop