journal article·2026-05-14Open access

Real-Time Air Quality Intelligence: Low-Cost Smart Urban Monitoring Using Deep Time-Series Models

Osama Alsamrai, Maria Dolores Redel, M.P. Dorado

Applied Sciences· Volume 16· Issue 10

Abstract

Air quality affects large urban areas, where rapid urban development and human activities place constant pressure on ecosystems and public health. In this context, large-scale air quality assessment, supported by short-term forecasts, can provide useful information for environmental management and decision-making in urban areas, thus supporting evidence-based urban environmental management. The aim of this work is to design an affordable, smart real-time air pollution monitoring and prediction system for urban planning in overpopulated locations, which is deeply related to community health. The system focuses on real-time monitoring and forecasting of air quality. Prediction tasks were limited to gaseous pollutants CO and CO2. Measurements were obtained over four months from a low-cost sensor platform installed in a highly populated neighborhood district in Baghdad, Iraq. Air quality prediction of gas concentrations was done using three types of time-series algorithms: Long Short-Term Memory, or LSTM; Gated Recurrent Unit, or GRU; and Temporal Convolutional Network, or TCN, models. Among these, the LSTM architecture showed more stable behavior and a higher predictive R2, ranging from 98.2% to 98.9%. Generally, the findings suggest that combining low-cost sensing technologies with artificial intelligence can offer a feasible and scalable solution for urban air quality monitoring. This approach may support cost-effective strategies for monitoring air quality in resource-constrained urban environments.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Air Quality Monitoring and Forecasting · Air Quality and Health Impacts · COVID-19 impact on air quality

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Physical Chemistry and Applied Thermodynamics, Universidad de Córdoba, Campus de Rabanales, Campus de Excelencia Internacional Agroalimentario ceiA3, 14071 Córdoba, Spain

Doctoral Program Computación Avanzada, Energía y Plasmas, Universidad de Córdoba, 14071 Córdoba, Spain

Department of Rural Engineering, Universidad de Córdoba, Campus de Excelencia Internacional Agroalimentario ceiA3, 14071 Córdoba, Spain

Funding

Spanish Ministry of Science and Innovation

References (37)

Show source-provided references
1. AirNet: Predictive Machine Learning Model for Air Quality Forecasting Using Web Interface10.1186/s40068-024-00378-z ↗
2. World Health Organization (2025, November 24). Ambient (Outdoor) Air Pollution. Available online: https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health.
3. Machine Learning Algorithms to Forecast Air Quality: A Survey10.1007/s10462-023-10424-4 ↗
4. Hardware, Software Platforms, Operating Systems and Routing Protocols for Internet of Things Applications10.1007/s11277-021-09116-5 ↗
5. A New Approach of WSN Deployment, K-Coverage and Connectivity in Border Area10.1007/s11277-021-08881-7 ↗
6. Faydi, M., Zrelli, A., and Ezzedine, T. (2023). Smart Environment Monitoring Systems for PM2.5 Prediction Using Deep Learning Models in Smart City. Proceedings of the 2023 International Symposium on Networks, Computers and Communications (ISNCC), Doha, Qatar, 23–26 October 2023, IEEE.10.1109/ISNCC58260.2023.10323707 ↗
7. A Comprehensive Review on Advancements in Sensors for Air Pollution Applications10.1016/j.scitotenv.2024.175696 ↗
8. Evaluation of Calibration Performance of a Low-Cost Particulate Matter Sensor Using Collocated and Distant NO210.5194/amt-17-3303-2024 ↗
9. Atfeh, B., Barcza, Z., Groma, V., Tordai, Á.V., and Mészáros, R. (2025). Performance Assessment of Low- and Medium-Cost PM2.5 Sensors in Real-World Conditions in Central Europe. Atmosphere, 16.10.3390/atmos16070796 ↗
10. Hayward, I., Martin, N.A., Ferracci, V., Kazemimanesh, M., and Kumar, P. (2024). Low-Cost Air Quality Sensors: Biases, Corrections and Challenges in Their Comparability. Atmosphere, 15.10.3390/atmos15121523 ↗
11. Liang, Y.-C., Maimury, Y., Chen, A.H.-L., and Juarez, J.R.C. (2020). Machine Learning-Based Prediction of Air Quality. Appl. Sci., 10.10.3390/app10249151 ↗
12. A Real-Time Dataset of Air Quality Index Monitoring Using IoT and Machine Learning in the Perspective of Bangladesh10.1016/j.dib.2024.110578 ↗
13. Liu, Q., Cui, B., and Liu, Z. (2024). Air Quality Class Prediction Using Machine Learning Methods Based on Monitoring Data and Secondary Modeling. Atmosphere, 15.10.3390/atmos15050553 ↗
14. Varade, H.P., Bhangale, S.C., Thorat, S.R., Khatkale, P.B., Sharma, S.K., and William, P. Framework of Air Pollution Assessment in Smart Cities Using IoT with Machine Learning Approach. Proceedings of the 2nd International Conference on Applied Artificial Intelligence and Computing (ICAAIC 2023), Salem, India, 4–6 May 2023, IEEE.10.1109/ICAAIC56838.2023.10140834 ↗
15. Alsamrai, O., Redel-Macias, M.D., and Dorado, M.P. (2025). Real-Time Intelligent Monitoring of Outdoor Air Quality in an Urban Environment Using IoT and Machine Learning Algorithms. Appl. Sci., 15.10.3390/app15169088 ↗
16. (2025, March 18). Central Statistical Organization (CSO), Iraq. Population Estimates and Demographic Indicators for Baghdad Governorate. Ministry of Planning, Iraq, Available online: https://cosit.gov.iq.
17. Spatio-Temporal Prediction of Air Quality Using Distance Based Interpolation and Deep Learning Techniques
18. Investigating the Impact of Data Normalization on Classification Performance10.1016/j.asoc.2019.105524 ↗
19. Brownlee, J. (2018). Deep Learning for Time Series Forecasting: Predict the Future with MLPs, CNNs and LSTMs in Python, Machine Learning Mastery.
20. Long Short-Term Memory10.1162/neco.1997.9.8.1735 ↗
21. A Deep Learning Ensemble With Data Resampling for Credit Card Fraud Detection10.1109/ACCESS.2023.3262020 ↗
22. A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures10.1162/neco_a_01199 ↗
23. Deep Learning for Credit Card Fraud Detection: A Review of Algorithms, Challenges, and Solutions10.1109/ACCESS.2024.3426955 ↗
24. Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014). Learning Phrase Representations Using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Association for Computational Linguistics.10.3115/v1/D14-1179 ↗
25. Displacement Prediction of Jiuxianping Landslide Using Gated Recurrent Unit (GRU) Networks10.1007/s11440-022-01495-8 ↗
26. Performance Evaluation of Deep Neural Networks Applied to Speech Recognition: RNN, LSTM and GRU10.2478/jaiscr-2019-0006 ↗
27. A Comparative Study on Forecasting of Long-Term Daily Streamflow Using ANN, ANFIS, BiLSTM and CNN–GRU–LSTM10.1007/s11269-023-03579-w ↗
28. Lea, C., Flynn, M.D., Vidal, R., Reiter, A., and Hager, G.D. Temporal Convolutional Networks for Action Segmentation and Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017, IEEE.10.1109/CVPR.2017.113 ↗
29. Bai, S. (2018). An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling. arXiv.
30. Van Den Oord, A., Dieleman, S., Zen, H., Simonyan, K., Vinyals, O., Graves, A., and Kavukcuoglu, K. (2016). WaveNet: A Generative Model for Raw Audio. arXiv.
31. He, K., Zhang, X., Ren, S., and Sun, J. Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016, IEEE.10.1109/CVPR.2016.90 ↗
32. Prediction of Sea Temperature Using Temporal Convolutional Network and LSTM–GRU Network
33. A Deep Learning Approach for Prediction of Air Quality Index in a Metropolitan City10.1016/j.scs.2021.102720 ↗
34. (2025, March 09). Kolena. Mean Absolute Error (MAE): How to Calculate and Interpret MAE for Regression Tasks. Kolena Documentation. Available online: https://docs.kolena.com/metrics/mean-absolute-error/.
35. The Coefficient of Determination R-Squared Is More Informative than SMAPE, MAE, MAPE, MSE and RMSE in Regression Analysis Evaluation10.7717/peerj-cs.623 ↗
36. Hybrid-RIS-Assisted Cellular ISAC Networks for UAV-Enabled Low-Altitude Economy via Deep Reinforcement Learning with Mixture-of-Experts10.1109/TCCN.2025.3622130 ↗
37. Energy-Efficient Transmission in STAR-RIS Assisted Secure ISAC Networks with RSMA: An MoE-RBPPO Approach