Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 May 1:275:123165.
doi: 10.1016/j.watres.2025.123165. Epub 2025 Jan 18.

Online monitoring of water quality in industrial wastewater treatment process based on near-infrared spectroscopy

Affiliations

Online monitoring of water quality in industrial wastewater treatment process based on near-infrared spectroscopy

Cheng Peng et al. Water Res. .

Abstract

Water quality monitoring is one of the critical aspects of industrial wastewater treatment, which is important for checking the treatment effect, optimizing the treatment technology and ensuring that the water quality meets the standard. Chemical oxygen demand (COD) is a key indicator for monitoring water quality, which reflects the degree of organic matter pollution in water bodies. However, the current methods for determining COD values have drawbacks such as slow speed and complicated operation, which hardly meet the demand of online monitoring. This article firstly proposed a novel quantitative analysis method based on NIR spectroscopy and multi-preprocessing stacking, successfully enabling real-time online monitoring of COD values during industrial wastewater treatment. First, the existing swarm intelligence algorithm was enhanced to optimize the hyperparameters of various base models. Next, multiple spectral preprocessing techniques were innovatively combined with a stacking strategy to construct multi-preprocessing stacking models, enabling comprehensive extraction of effective spectral information. Finally, various combinations of base models were evaluated, leading to the selection of the multi-preprocessing stacking model with optimal performance. The results indicate that the model achieves excellent predictive performance and strong generalization ability. For equalization tank samples, the R2 and RMSE values were 0.8640 and 326.6845 mg/L, respectively. For secondary settling tank samples, the R2 and RMSE values were 0.8798 and 15.1917 mg/L, respectively. Compared to traditional single and stacking models, the RMSE was reduced by at least 12.75 % and 5.11 %, respectively. In addition, the method has a relatively low modeling cost and offers interpretability. This study presents an efficient and straightforward solution for the online monitoring of COD values in industrial wastewater treatment, laying a solid technical foundation for the efficient management of industrial wastewater and the protection of water resources and the ecological environment.

Keywords: Chemical oxygen demand; Industrial wastewater; Multi-preprocessing stacking; Near-infrared spectroscopy; Online monitoring.

PubMed Disclaimer

Conflict of interest statement

Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

LinkOut - more resources