Article http://dx.doi.org/10.26855/ea.2024.02.001

Design of an Online COD Detection System for Water Quality


Yushuang Liu*, Hongkui Cao, Yi Liu

School of Electronics and Information Engineering, Liaoning University of Technology, Jinzhou, Liaoning, China.

*Corresponding author: Yushuang Liu

Published: March 25,2024


In response to the issues of low detection accuracy and inconvenient manual sampling associated with traditional water quality COD detectors, this paper presents the design of an online automatic detection system for chemical oxygen demand (COD) in water quality using rapid digestion spectrophotometry. The system is centered around the STM32F407 microcontroller, based on the Cortex M4 core. It is capable of automatically detecting COD content in water samples and communicating data. It can detect water quality status in real-time and help relevant departments obtain water quality information in real-time to prevent water pollution accidents. The test results show that the system has successfully performed various functions for online detection of COD in water quality. The error in COD detection indication within the range of 15 mg/L to 2000 mg/L is less than ± 5%, meeting the technical requirements of relevant standards. It has good application prospects and practical value.


[1] Sun B, Yang S, Yu C. Research on Multi-Parameter Portable Water Quality Detection System Based on ZYNQ Image Processing Technology [J]. Polish Journal of Environmental Studies, 2023, 32(2): 1353-1370.

[2] Diego P.P. Mesquita, Luis A Freitas, Joao P.P. Gomes, Cesar L C Mattos. LS-SVR as a Bayesian RBF Network [J]. IEEE Transactions on Neural Networks and Learning Systems, 2020, Vol.31(10): 4389-4393.

[3] Bo-Wei Wang, Wen-Zhong Tang, Lu-Kai Song, Guang-Chen Bai. PSO-LSSVR: A surrogate modeling approach for probabilistic flutter evaluation of compressor blade [J]. Structures, 2020, Vol.28: 1634-1645.

[4] Myint C Z, Gopal L, Aung Y L. Reconfigurable smart water quality monitoring system in Io T environment[C]//IEEE/ACIS International Conference on Computer & Information Science. IEEE, 2017.

[5] Zhang C, Guisasola A, Oehmen A, et al. Benefits and drawbacks of integrating a side-stream sludge fermenter into an A2O system under limited COD conditions [J]. Chemical Engineering Journal, 2023, 468: 143700.

[6] Hadiyanto, H., Marcelinus Christwardana, and Carlito da Costa. Electrogenic and biomass production capabilities of a microalgae–microbial fuel cell (MMFC) system using tapioca wastewater and Spirulina platensis for COD reduction [J]. Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, 45.2 (2023): 3409-3420.

[7] Razman N A, Wan Ismail W Z, Abd Razak M H, et al. Design and analysis of water quality monitoring and filtration system for different types of water in Malaysia [J]. International Journal of Environmental Science and Technology, 2023, 20(4): 3789-3800.

[8] Shi Z, Chow C W K, Fabris R, et al. Applications of online UV-Vis spectrophotometer for drinking water quality monitoring and process control: a review [J]. Sensors, 2022, 22(8): 2987.

[9] Zheng C, Lianghao L, Xin L, et al. Analysis for crosstalk of SiC-MOSFET in a bridge circuit and its active-clamped driver based suppression methods [J]. Energy Reports, 2023, 9(S1):837-846.

[10] Xu X, Wang J, Li J, et al. Research on COD measurement method based on UV-Vis absorption spectra of transmissive and reflective detection systems [J]. Frontiers in Environmental Science, 2023, 11: 1175363.

[11] Yu X, Wang S H, Zhang X, et al. Detection of COVID-19 by GoogLeNet-COD[C]//Intelligent Computing Theories and Application: 16th International Conference, ICIC 2020, Bari, Italy, October 2–5, 2020, Proceedings, Part I 16. Springer International Publishing, 2020: 499-509.

[12] Perry E S, Smith S N, Mulvaney K K. Designing solutions for clean water on Cape Cod: Engaging communities to improve decision making [J]. Ocean & Coastal Management, 2020, 183: 104998.

[13] Khurshid H, Mustafa M R U, Rashid U, et al. Adsorptive removal of COD from produced water using tea waste biochar [J]. Environmental Technology & Innovation, 2021, 23: 101563.

How to cite this paper

Design of an Online COD Detection System for Water Quality

How to cite this paper: Yushuang Liu, Hongkui Cao, Yi Liu. (2024). Design of an Online COD Detection System for Water Quality. Engineering Advances, 4(1), 1-10.

DOI: http://dx.doi.org/10.26855/ea.2024.02.001