Simulated Estimation of BOD Content in Water Bodies Based on PCA Transmission Spectrum Reconstruction With Noise Reduction
WANG Yi-ming1, WANG Cai-ling1, WANG Hong-wei2*
1. College of Computer Science, Xi'an Shiyou University, Xi'an 710065, China
2. School of Artificial Intelligence, Optics and Electronics, Northwestern Polytechnical University, Xi'an 710072, China
Abstract:Biochemical oxygen demand (BOD) is an important indicator that can directly reflect water bodies' degree of organic pollution. Real-time monitoring of water BOD is significant in water resource protection and water environment improvement. The traditional BOD measurement method will consume a lot of human and material resources, and the measurement cycle is long, which can not quickly reflect the changing conditions of the water body, and can not realize the timely and effective early warning of sudden water pollution events. With the wide application of machine learning in the field of water monitoring, to solve the problem of difficulty in obtaining the input variables of the machine learning model and the existence of missing values, we further combine the hyperspectral technology to realize the accurate and rapid estimation of the BOD content of the water body. The raw spectral data of ten BOD standard liquids with different concentrations were collected, and 100 sets of transmission spectral data were obtained by whiteboard correction. A noise reduction technique based on PCA transmission spectra reconstruction is proposed, which utilizes the PCA algorithm to extract the principal component eigenvectors of the original transmission spectra and then reconstructs the whole dataset by using the first part of the principal component eigenvectors whose cumulative variance contribution rate reaches a certain percentage. The first 2, 10, and 15 principal component feature vectors were used in the experiment to reconstruct the transmission spectral data and compared with the traditional noise reduction methods for spectral data. We combined the SVM model and BP neural network model to establish a model for estimating the BOD content of water bodies. The results showed that the BPNN model was superior to the SVM model regarding regression accuracy and degree of fit, and the noise reduction effect was more significant. The model using the first 2 feature vectors reconstructed for noise reduction did not fit as expected, probably due to the loss of information. The BPNN model with the first 10 feature vectors reconstructed for noise reduction performed the best with an RMSE of 0.040 6 and an R2 of 0.980 3. The reconstruction of the first 15 feature vectors did not improve the noise reduction effect, probably because more than 10 feature vectors added redundant information. The experiments verified the feasibility of noise reduction using PCA reconstruction of transmission spectra and provided a new idea for estimating the BOD content of water bodies.
Key words:PCA; Hyperspectral; SVM; BP neural network; BOD estimation
王一鸣,王彩玲,王洪伟. 基于PCA透射光谱重构降噪的水体BOD含量模拟估算[J]. 光谱学与光谱分析, 2025, 45(02): 386-393.
WANG Yi-ming, WANG Cai-ling, WANG Hong-wei. Simulated Estimation of BOD Content in Water Bodies Based on PCA Transmission Spectrum Reconstruction With Noise Reduction. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(02): 386-393.
[1] HU Guo-qiang,YANG Hui-ling(胡国强,杨惠玲). Chinese Journal of Environmental Engineering(环境工程学报),1985,12:8.
[2] ZHANG Wei-hong,WU Yu-fang,CAO Yi-nan,et al(张卫宏,武宇芳,曹轶男,等). Analysis and Testing Technology and Instruments(分析测试技术与仪器),2024,30(2):110.
[3] Jouanneau S,Recoules L,Durand M,et al. Water Research,2014,49:62.
[4] WANG Yong,LU Wei,ZUO Chu-han,et al(王 涌,陆 卫,左楚涵,等). Chinese Journal of Sensors and Actuators(传感技术学报),2021,34(11):1482.
[5] WANG Cai-ling,ZHANG Yu-chun,WANG Jing-yi(王彩玲,张育春,王静怡). Journal of Applied Optics(应用光学),2021,42(3):488.
[6] LONG Hao-yu,CAO Yu-mei,CHEN liang,et al(龙昊宇,曹玉梅,陈 亮,等). Guangdong Water Resources and Hydropower(广东水利水电),2023,7:86.
[7] CHEN Qing,TANG Bin,MIAO Jun-feng,et al(陈 庆,汤 斌,缪俊锋,等). Acta Optica Sinica(光学学报),2023,43(6):0630001.
[8] GU Jia-yan,HE Guo-fu,ZHAN Ling-hua,et al(顾佳艳,何国富,占玲骅,等). Environmental Pollution & Control(环境污染与防治),2022,44(8):1030.
[9] MA Nan,ZHONG Hao,LIN Wen-shu(马 楠,钟 浩,林文树). Journal of Central South University of Forestry & Technology(中南林业科技大学学报),2023,43(10):89.
[10] WEN Da-peng,LIANG Xi-yin,SU Mao-gen,et al(文大鹏,梁西银,苏茂根,等). Laser & Optoelectronics Progress(激光与光电子学进展),2021,58(23):191.
[11] WU Ming-lei,PAN Jing-chang,YI Zhen-ping, et al(吴明磊,潘景昌,衣振萍,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析),2019,39(2):618.
[12] WANG Cai-ling,WANG Yi-ming(王彩玲,王一鸣). Chinese Journal of Inorganic Analytical Chemistry(中国无机分析化学),2023,13(9):986.
[13] MA Chen-yu,HUANG Yue-yang,SHI Yuan-bo,et al(马晨宇,黄越洋,石元博,等). Chemical Research and Application(化学研究与应用),2024,36(2):292.
[14] LIN Ming-da,WANG Zhu-gang(林明达,王竹刚). Telecommunication Engineering(电讯技术),2023,63(7):956.
[15] SONG Zhi-cen,ZHANG Shun-ping,LU Min(宋治岑,张顺平,卢 敏). Water Resources and Power(水电能源科学),2023,41(8):70.
[16] WANG Shu-tao,CHEN Dong-ying,WEI Meng,et al(王书涛,陈东营,魏 蒙,等). Chinese Journal of Lasers(中国激光),2015,42(5):312.
[17] ZHANG Xue,ZHENG Xiao-shen(张 雪,郑小慎). Journal of Ocean Technology(海洋技术学报),2018,37(6):79.
[18] ZHANG Hai-peng,ZHENG Kai-yuan,LI Jun-hao,et al(张海鹏,郑凯元,李俊豪,等). Acta Optica Sinica(光学学报),2021,41(24):292.
[19] ZHANG Xu-hui,ZHANG Kai-xin,ZHANG Chao,et al(张旭辉,张楷鑫,张 超,等). Journal of Xi'an University of Science and Technology(西安科技大学学报),2020,40(5):760.