|
|
|
|
|
|
IPSO-BPNN: A Quantitative Model for Nitrite Content in Water Quality Using Transmissive Spectroscopy Combined With Improved Particle Swarm Optimization and Backpropagation Neural Network |
WANG Cai-ling, ZHANG Guo-hao |
College of Computer Science, Xi'an Shiyou University, Xi'an 710065, China
|
|
|
Abstract Nitrite is a common water quality pollutant and is the main source of wastewater, fertilizer, and sewage treatment plants. The size of nitrite concentration in water quality is an important indicator to assess the health of water bodies. Still, the traditional method of nitrite concentration detection is complicated to operate. It easily interferes with the detection environment, which can not intuitively and accurately reflect the health of water quality. To explore a new way to assess the health of water bodies, this paper uses the IPSO-BPNN model to predict the concentration of nitrite transmission spectral data. Ten concentrations of nitrite standard solutions (0.02, 0.04, 0.06, 0.08, 0.10, 0.12, 0.14, 0.16, 0.18, and 0.20 mg·L-1) are first selected, and the ten concentrations of nitrite solutions are scanned at the same time intervals by using the OCEAN-HDX-XR micro spectrometer, The spectral transmittance of the spectral data is obtained by white board calibration to obtain spectral transmittance values for the spectral data. Two preprocessing methods, maximum-minimum normalization, and mean-centering, are used to unify the spectral data into uniform dimensions and centroids, making the spectral data comparable and interpretable among different samples. Due to the high dimensionality of the original spectral data, kernel principal component analysis is used for data dimensionality reduction, and six principal components representing 97.94% of the original data information are selected for the training of the IPSO-BPNN model. When predicting nitrite concentration, the original particle swarm optimization algorithm is improved by introducing adaptive learning factor and inertia weight updating formulae and particle population diversity guiding strategy, and learning rate adaptive formulae are introduced based on the BP neural network to improve the algorithm's performance. By comparing the change curves of function fitness values for iterations performed under different particles, 30 iterations using 100 particles are chosen to find the optimal weight and bias combinations. The results show that the coefficient of determination of the IPSO-BPNN prediction model is 0.983 760, the root-mean-square error is 0.007 320, and the average absolute error is 0.004 705, which is a better fit compared with the current Random Forest, Linear Regression, BP-ANN, PSO-BPNN, and PSO-SVR models that have better prediction performance and higher accuracy. Based on these results, a hyperspectral water quality nitrite concentration prediction method based on the IPSO-BPNN model is proposed, providing a new idea for assessing water body health.
|
Received: 2023-07-26
Accepted: 2024-01-08
|
|
|
[1] WANG Cai-ling, WANG Bo, JI Tong, et al(王彩玲, 王 波, 纪 童,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2022, 42(7): 2181.
[2] WANG Wei, LIANG Ran, QI Yun, et al(汪 伟, 梁 然, 祁 云,等). China Safety Science Journal(中国安全科学学报), 2023, 33(7): 127.
[3] LIU Dan, LIU Fang, XU Yan-ping(刘 丹,刘 方,许彦平). Acta Energiae Solaris Sinica(太阳能学报), 2022, 43(6): 94.
[4] LING Xiao, XU Lu-shuai, LIANG Rui, et al(凌 晓,徐鲁帅,梁 瑞,等). Journal of Safety Science and Technology(中国安全生产科学技术), 2019, 15(10): 63.
[5] HUANG Jin, LI Yun-fei, WANG Sheng-chun, et al(黄 晋, 李云飞, 王圣淳,等). Electronics Optics & Control(电光与控制), 2024, 31(2): 41.
[6] FAN Yong, PEI Yong, YANG Guang-dong, et al(范 勇, 裴 勇, 杨广栋,等). Journal of Vibration and Shock(振动与冲击), 2022, 41(16): 194.
[7] ZHU Ya-dong, HE Hong-ju, WANG Wei, et al(朱亚东,何鸿举,王 魏,等). Science and Technology of Food Industry(食品工业科技), 2020, 41(4): 184.
[8] XU Han-qiu, LI Chun-qiang, LIN Meng-jing(徐涵秋,李春强,林梦婧). Geomatics and Information Science of Wuhan University[武汉大学学报(信息科学版)], 2023, 48(4): 506.
[9] MA Zhan-fei, GONG Chuan-sheng, LI Ke-jian, et al(马占飞,巩传胜,李克见,等). Transducer and Microsystem Technologies(传感器与微系统),2023,42(12):151.
[10] XIE Jia, WU Jia-zhen, LI Yong-guo, et al(谢 嘉, 吴家桢, 李永国,等). Application of Improved Particle Swarm Optimization Algorithm in Robot Arm Trajectory Planning(改进粒子群优化算法在机械臂轨迹规划中的应用). Mechanical Science and Technology for Aerospace Engineering(机械科学与技术), 2023.
[11] CHENG Mei-ying, QIAN Qian, NI Zhi-wei(程美英, 钱 乾, 倪志伟). Control and Decision(控制与决策), 2024, 39(3): 728.
[12] LIU Tian-yu, WANG Zhu(刘天宇, 王 翥). Journal of Xidian University(西安电子科技大学学报), 2021, 48(3): 106. |
[1] |
LI Zhi-yuan1, TIAN An-hong1, 2*. Quantitative Prediction and Spatial Distribution of Soil Heavy Metal Zn Based on Spectral Indices[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3287-3293. |
[2] |
LIU Qing-song1, DU Wen-jing1, LUO Bo2, LI Kai-ge1, DAN You-quan1*, XU Luo-peng1, YANG Xiu-feng2, TANG Shen-lan1. Near Infrared Hyperspectral Identification of Surface Damage on Aircraft Wings[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3069-3074. |
[3] |
PENG Bo1, WEN Zhao-yang1, WEN Qi1, LIU Ting-ting1, 2*, XING Shuai3, WU Teng-fei3, YAN Ming1, 2*. Research of Mid-Infrared Time-Stretch Frequency Upconversion
Hyperspectral Imaging System[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3037-3042. |
[4] |
WENG Shi-zhuang, PAN Mei-jing, TAN Yu-jian, ZHANG Qiao-qiao, ZHENG Ling*. Prediction of Soluble Solid Content in Apple Using Image Spectral Super-Resolution[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3095-3100. |
[5] |
LI Bin1, 2, LU Ying-jun2, SU Cheng-tao2, LIU Yan-de1, 2. Detection of Different Levels of Damage in Gong Pears Based on
Reflectance/Absorbance/Kubelka-Munk Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3101-3108. |
[6] |
SHI Rui1, 2, ZHANG Han2, WANG Cheng1, 2, KANG Kai2, LUO Bin1, 2*. Detection of Wheat Single Seed Vigor Using Hyperspectral Imaging and Spectrum Fusion Strategy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3206-3212. |
[7] |
DENG Zhi-gang1, 2, ZHAO Hong-mei2*, ZHA Wen-xian2, TANG Lin-ling2, TIAN Ye2. A Hyperspectral Vegetation Feature Band Selection Based on Quantum
Genetic Spectral Angle Mapper Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3258-3265. |
[8] |
ZHONG Qing1, Mamattursun EZIZ1, 2*, Mireguli AINIWAER1, 2, HOU Mao-rui3, LI Hao-ran4. Hyperspectral Inversion of Cobalt Content in Urban Soils[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3266-3272. |
[9] |
GUO Hong-xu1, WANG Long1, YANG Kai1, WU Fan1, DENG Yi-rong2, TANG Chang-cheng1, CHEN Zhi-liang3*, XIAO Rong-bo1*. Research on Combination Optimization of Hyperspectral Inversion Model for Soil Cr Contamination[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(11): 3273-3279. |
[10] |
LIU Ying1, 2, LIU Yu1, YUE Hui1, 2*, BI Yin-li2, 3, PENG Su-ping4, JIA Yu-hao1. Remote Sensing Inversion of Soil Carbon Emissions in Desertification Mining Areas[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2840-2849. |
[11] |
YUE Ji-bo1, LENG Meng-die1, TIAN Qing-jiu2, GUO Wei1, LIU Yang3, FENG Hai-kuan4, QIAO Hong-bo1*. Estimation of Leaf Physical and Chemical Parameters Based on Hyperspectral Remote Sensing and Deep Learning Technologies[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2873-2883. |
[12] |
JIANG Yu-heng1, YAN Bo1, ZHUANG Qing-yuan1, WANG Ai-ping1, CAO Shuang1, TIAN An-hong1, 2, FU Cheng-biao1*. Quantitative Inversion Model of Soil Heavy Metals Zn and Ni Based on Fractional Order Derivative[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2850-2857. |
[13] |
DENG Yun1, 2, WU Wei1, 2, SHI Yuan-yuan3, CHEN Shou-xue1, 2*. Red Soil Organic Matter Content Prediction Model Based on Dilated
Convolutional Neural Network[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2941-2952. |
[14] |
FAN Jie-jie1, 2, QIU Chun-xia1, FAN Yi-guang2, CHEN Ri-qiang2, LIU Yang2, BIAN Ming-bo2, MA Yan-peng2, YANG Fu-qin4, FENG Hai-kuan2, 3*. Wheat Yield Prediction Based on Continuous Wavelet Transform and
Machine Learning[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2890-2899. |
[15] |
GUAN Cheng1, LIU Ming-yue1, 2, 3, 4*, MAN Wei-dong1, 2, 3, 4, ZHANG Yong-bin1, ZHANG Qing-wen1, FANG Hua1, LI Xiang1, GAO Hui-feng1. Estimation of Chlorophyll Content in Spartina Alterniflora Leaves Based on Continous Wavelet Transformation and Random Forest Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(10): 2993-3000. |
|
|
|
|