Monitoring Water Quality in Pusu River Using Internet of Things (IoT) and Machine Learning (ML)
Keywords:
Water management; IoT, ML, GUI.Abstract
The availability of clean water, a vital natural resource that supports diverse ecosystems, is increasingly threatened by sediment accumulation which impacts rivers, oceans, and coastal life, which is in line with sustainable development number goal 6 clean water and sanitation. Rapid industrialization and urbanization have intensified these challenges, leading to the degradation of natural water ecosystems and placing an undue strain on water resources. Pollution from sediments and human activities carries harmful contaminants, reduces visibility, disrupts aquatic life, and impairs ecosystem function. Maintaining the health of rivers and other water bodies requires the timely detection of changing conditions and deterioration, which is crucial for implementing effective countermeasures. However, current water quality monitoring methods primarily rely on laboratory tests, which require specialized staff, chemicals, and expertise. These traditional methods are often insufficient for addressing the complex and dynamic issues of water quality. Fortunately, the advent of the Internet of Things (IoT) technology has enabled real-time collection of water quality data. In addition, the application of soft computing technology for water quality assessment offers a more efficient, faster, and environmentally friendly alternative to conventional laboratory-based techniques. In this dissertation, we propose the use of an IoT device to monitor the performance of a water treatment system and collect data on key water quality indicators. Machine learning (ML) tools will be employed to analyze and simulate these data, enabling the prediction of future water quality parameters. The water quality dataset was collected in two stages. During the first iteration, data were gathered using sensors that measured four parameters: pH, turbidity, temperature, and total dissolved solids (TDS). In the subsequent iteration, the dataset was expanded to include a dissolved oxygen sensor in addition to the initial four sensors. The data collection process for turbidity and other water quality parameters involved more than just 879 data points, the data collection process was comprehensive, and the dataset was validated and analyzed with seasonal changes in mind, systematic approach ensured that the water quality parameters data collected were reliable, accurate, and actionable for monitoring water quality in the river. The dataset encompasses samples from three distinct potability classes: potable water sources, free-flowing river water from the Pusu River, and stagnant water from the puddles, and potholes. Nine proven classification algorithms were applied to the datasets, successfully classifying the water quality conditions with up to 98% accuracy. The best-performing model was then deployed and integrated into a graphical user interface (GUI) for rapid water condition testing, thereby facilitating the instantaneous assessment of water quality.
Downloads
References
Landrigan, P. J., Fuller, R., Acosta, N. J. R., Adeyi, O., Arnold, R., Basu, N. (Nil), Baldé, A. B., Bertollini, R., Bose-O’Reilly, S., Boufford, J. I., Breysse, P. N., Chiles, T., Mahidol, C., Coll-Seck, A. M., Cropper, M. L., Fobil, J., Fuster, V., Greenstone, M., Haines, A., Zhong, M., 2018. The Lancet Commission on pollution and health. The Lancet Commissions, 391(10119), 462–512. https://doi.org/10.1016/S0140- 6736(17)32345-0.
Department of Environment Malaysia (DoE)., 2017. Environmental Essentials for Siting of Industries in Malaysia (EESIM).
Che Mahmud, N. A., 2021. River water quality issues in Malaysia. UMP News. Retrieved January 8, 2023, from https://news.ump.
edu.my/experts/river-water-quality-issues-malaysia.
Das B and Jain, P. C., 2017. Real-time water quality monitoring system using Internet of Things. International Conference on Computer, Communications and Electronics (Comptelix), Jaipur, India, 2017, pp. 78-82, doi: 10.1109/COMPTELIX.2017.8003942.
Hamid, S.A., Rahim, A.M., Fadhlullah, S.Y., Abdullah, S.B., Muhammad, Z., & Leh, N.A., 2020. IoT based Water Quality Monitoring System and Evaluation. 2020 10th IEEE International Conference on Control System, Computing and Engineering (ICCSCE), 102-106.
Zhu, M., Wang, J., Yang, X., Zhang, Y., Zhang, L., Ren, H., & Ye, L., 2022. A review of the application of machine learning in water quality evaluation. Eco-Environment & Health.
Rishika Chakraborty, Khalid M Khan, Daniel T Dibaba, Md Alfazal Khan, Ali Ahmed, Mohammad Zahirul Islam., 2019. Health Implications of Drinking Water Salinity in Coastal Areas of Bangladesh. Int J Environ Res Public Health. 2019 Oct 4;16(19):3746. doi: 10.3390/ijerph16193746.
Omer, N.H., 2019. Water Quality Parameters. Water Quality - Science, Assessments and Policy.
Kothari, V., Vij, S., Sharma, S., & Gupta, N., 2021. Correlation of various water quality parameters and water quality index of districts of Uttarakhand. Environmental and Sustainability Indicators, 9, 100093. doi:10.1016/j.indic.2020.100093.
APHA., 2005. Standard Methods for the Examination of Water and Wastewater, Washington DC: American Public Health Association.
Yasin, H. M., Zeebaree, S. R., Sadeeq, M. A., Ameen, S. Y., Ibrahim, I. M., Zebari, R. R., & Sallow, A. B., 2021. IoT and ICT based smart water management, monitoring and controlling system: A review. Asian Journal of Research in Computer Science, 8(2), 42-56.
Geetha S, Gouthami S., 2016. Internet of things enabled real time water quality monitoring system. Smart Water.; 2:1-19.
Gupta K, Kulkarni M, Magdum M, Baldawa Y, Patil S., 2018. Smart water management in housing societies using IoT. Proceedings of the International Conference on Inventive Communication Computational Technologies; 1609-1613.
Ranjan V, Reddy MV, Irshad M, Joshi N., 2020. The Internet of Things (IOT) based smart rain water harvesting system. IEEE, 6th International Conference on Signal Processing and Communication, ICSC 2020;302-305.
Sagan, V., Peterson, K. T., Maimaitijiang, M., Sidike, P., Sloan, J., Greeling, B. A., Adams, C., 2020. Monitoring inland water quality using remote sensing: potential and limitations of spectral indices, bio-optical simulations, machine learning, and cloud computing. Earth-Science Reviews, 103187. doi:10.1016/j.earscirev.2020.
Pappu, S., Vudatha, P., Niharika, A. V., Karthick, T., & Sankaranarayanan, S., 2017. Intelligent IoT based water quality monitoring system. International Journal of Applied Engineering Research, 12(16), 5447-5454.
Shen, L.Q., Amatulli, G., Sethi, T. et al., 2020. Estimating nitrogen and phosphorus concentrations in streams and rivers, within a machine learning framework. Sci Data 7, 161. https://doi.org/10.
/s41597-020-0478-7.
Wu, Y., Zhang, X., Xiao, Y., & Feng, J., 2020. Attention Neural Network for Water Image Classification under IoT Environment. Applied Sciences, 10(3), 909. doi:10.3390/app10030909.
Downloads
Published
How to Cite
Issue
Section
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.