Rapid detection of ammonia nitrogen concentration in biogas liquid using near-infrared spectroscopy combined with cascade wavelength selection

Abstract In the anaerobic fermentation process, the concentration of ammonia nitrogen (NH3-N) in the biogas liquid is an important indicator. This metric can provide a basis for assessing nitrogen nutrition levels in the system, the percentage of various nitrogen types in the substrate, and the decomposition degree of organics. To realize the rapid measurement of NH3-N concentration in biogas liquid during this process, this paper combined the coronavirus herd immunity optimizer (CHIO) algorithm with the idea of interval partial least squares (iPLS) to construct CHIO-iPLS feature interval selection algorithm for selecting high-correlation wavelength intervals of NH3-N for near-infrared spectroscopy (NIRS). We compared its modeling performance with two classical interval selection methods: backward interval partial least squares (BiPLS) and synergy interval partial least squares (SiPLS). Then, the CHIO was combined with BiPLS, SiPLS, and CHIO-iPLS to construct three cascaded wavelength selection methods, donated as BiPLS-CHIO, SiPLS-CHIO, and DCHIO-PLS, respectively. These methods are used for the secondary elimination of redundant wavelength variables within the selected feature intervals. The fusion data of near-infrared transmission spectra collected with different optical pathlength cuvettes were combined with these feature interval selection algorithms and cascade wavelength selection algorithms to construct partial least squares calibration models for NH3-N concentration. Among them, the DCHIO-PLS demonstrated the best modeling performance. The model constructed with 114 feature wavelengths selected by DCHIO-PLS achieved a coefficient of determination of 0.9971, a root mean square error of 10.7663 mg/L, and a mean relative error of 3.9366% for the validation set. This model is capable of meeting the demand to swiftly detect the NH3-N concentration within biogas liquid in the course of anaerobic fermentation. The research results provide a theoretical basis for using NIRS to determine NH3-N concentrations in biogas liquid online.

Authors

Institutions

Publication Details

Journal
Journal of Engineering and Applied Science
Published
2025-12-01
DOI
https://doi.org/10.1186/s44147-025-00803-9
Primary Topic
Water Quality Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Rapid detection of ammonia nitrogen concentration in biogas liquid using near-infrared spectroscopy combined with cascade wavelength selection

Chong Tan, Weida Wang, Jinming Liu, Yiyi Wang
Journal of Engineering and Applied Science
Water Quality Monitoring and Analysis
article

Rapid detection of ammonia nitrogen concentration in biogas liquid using near-infrared spectroscopy combined with cascade wavelength selection

Chong Tan, Weida Wang, Jinming Liu, Yiyi Wang
article en

Abstract

Abstract In the anaerobic fermentation process, the concentration of ammonia nitrogen (NH3-N) in the biogas liquid is an important indicator. This metric can provide a basis for assessing nitrogen nutrition levels in the system, the percentage of various nitrogen types in the substrate, and the decomposition degree of organics. To realize the rapid measurement of NH3-N concentration in biogas liquid during this process, this paper combined the coronavirus herd immunity optimizer (CHIO) algorithm with the idea of interval partial least squares (iPLS) to construct CHIO-iPLS feature interval selection algorithm for selecting high-correlation wavelength intervals of NH3-N for near-infrared spectroscopy (NIRS). We compared its modeling performance with two classical interval selection methods: backward interval partial least squares (BiPLS) and synergy interval partial least squares (SiPLS). Then, the CHIO was combined with BiPLS, SiPLS, and CHIO-iPLS to construct three cascaded wavelength selection methods, donated as BiPLS-CHIO, SiPLS-CHIO, and DCHIO-PLS, respectively. These methods are used for the secondary elimination of redundant wavelength variables within the selected feature intervals. The fusion data of near-infrared transmission spectra collected with different optical pathlength cuvettes were combined with these feature interval selection algorithms and cascade wavelength selection algorithms to construct partial least squares calibration models for NH3-N concentration. Among them, the DCHIO-PLS demonstrated the best modeling performance. The model constructed with 114 feature wavelengths selected by DCHIO-PLS achieved a coefficient of determination of 0.9971, a root mean square error of 10.7663 mg/L, and a mean relative error of 3.9366% for the validation set. This model is capable of meeting the demand to swiftly detect the NH3-N concentration within biogas liquid in the course of anaerobic fermentation. The research results provide a theoretical basis for using NIRS to determine NH3-N concentrations in biogas liquid online.

Journal of Engineering and Applied ScienceVol. 72(1)
Harbin University of Commerce (CN), Heilongjiang Bayi Agricultural University (CN)
Key Research and Development Program of Heilongjiang, Northeast Agricultural University
Openalex Percentile: Top 53%
Water Quality Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.