Rapidly Detection of Total Nitrogen and Phosphorus Content in Water by Surface Enhanced Raman Spectroscopy and GWO-SVR Algorithm
ZHANG Yan-jun, KANG Cheng-long, LIU Ya-qian, FU Xing-hu*, ZHANG Jin-xiao, WANG Ming-xue, YANG Liu-zhen
School of Information Science and Engineering, The Key Laboratory for Special Fiber and Fiber Sensor of Hebei Province, Yanshan University, Qinhuangdao 066004, China
Abstract:A new quantitative analysis method was proposed, which combined surface-enhanced Raman spectroscopy (SERS) and support vector regression (SVR) based on Grey Wolf Optimization (GWO) algorithm to quickly and quantitatively detect the total nitrogen (TN) and total phosphorus (TP) content in water. The traditional TN and TP detection methods are complicated in process and time-consuming in the experimental environment. Therefore, rapid detection cannot be realized. However, SERS technology is easy to operate and time consuming, so combining it with the GWO-SVR algorithm can realize fast and accurate detection. With laboratory silver sol as the Raman enhanced substrate and TN ,TP solutions with different concentration gradients as the research objects.TN and TP sample solutions were allocated to 26 and 23 groups respectively, in which 8 groups were selected as the test set for TN solution, 7 groups as the test set for TP solution, and the remaining sample solutions as the training set. The optimal experimental scheme was determined according to the different volume ratios of the tested solution and the silver sol. TN ,TP were mixed with silver sol for 1∶1, 1∶2, 1∶3, 2∶1, 3∶1, respectively. The results showed that the enhancement effect was the best when the solution and the silver sol were mixed at a ratio of 2∶1. Spectral information was collected, and characteristic peaks were assigned. The original spectral data were preprocessed by dark current deduction, background deduction (baseline correction) and smoothing processing. The spectral analysis results show that the intensity of characteristic spectral peak varies with the concentration of solution due to the difference of functional group concentration in different concentrations of solution. The GWO-SVR quantitative analysis model was established by taking the spectral characteristic peak strength and solution concentration of the training set sample as the input and output values of the regression prediction model. Themodel’s prediction ability was analyzed by correlation coefficient (r) and mean square error (MSE) of the sample solution of the test set, and the GWO-SVR model was compared with the other two models. The results showed that the GWO-SVR model predicted the TN solution with a correlation coefficient of 0.9995 and a mean square error of 0.005 8, which were higher than the 0.993 8, 0.052 7 and 0.998 3, 0.022 7 of the artificial bee colony algorithm optimization support vector regression (ABC-SVR) and particle swarm optimization neural network (PSO-BP).The correlation coefficient of TP solution prediction was 0.998 5, and the mean square error was 0.037 6, which was also higher than the other two models. Moreover, compared with ABC-SVR and PSO-BP models, GWO-SVR has fewer input parameters, faster convergence speed, and easier to find the optimal global solution. Therefore, this method can realize the rapid and accurate detection of TN and TP content in water and provides a new method for water quality detection.
Key words:Surface-enhanced Raman spectrum; Gray Wolf optimization; Supportvector regression; Total nitrogen; Total phosphorus
张燕君,康成龙,柳雅倩,付兴虎,张金霄,王明学,杨刘震. 基于表面增强拉曼光谱技术和GWO-SVR算法快速实现水中总氮总磷含量检测[J]. 光谱学与光谱分析, 2021, 41(10): 3147-3152.
ZHANG Yan-jun, KANG Cheng-long, LIU Ya-qian, FU Xing-hu, ZHANG Jin-xiao, WANG Ming-xue, YANG Liu-zhen. Rapidly Detection of Total Nitrogen and Phosphorus Content in Water by Surface Enhanced Raman Spectroscopy and GWO-SVR Algorithm. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2021, 41(10): 3147-3152.
[1] ZHANG Yan, LI Chang, SHEN Hung Tao, et al(张 岩, 李 畅, SHEN Hung Tao, 等). Advances in Water Science(水科学进展),2013, 24(5): 728.
[2] Lin Kunning, Pei Junxian, Li Peicong, et al. Talanta, 2018, 185: 419.
[3] Havva Tumay Temiz, Ismail Hakki Boyaci, Ivo Grabchev, et al. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2013, 116: 339.
[4] Mathieu Lepot, Andres Torres, Thomas Hofer, et al. Water Research, 2016, 101: 519.
[5] LI Xin-xing, ZHOU Jing, TANG Hong, et al(李鑫星, 周 婧, 唐 红, 等). Spectroscopy and Spectral Analysis(光谱学与光谱分析),2020, 40(1): 195.
[6] Shintaro Pang, Tianxi Yang, Lili He. Trends in Analytical Chemistry, 2016, 85: 73.
[7] Layla A Wali, Khulood K Hasan, Alwan M Alwan. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2019, 206: 31.
[8] Bodelón Gustavo, Pastoriza-Santos Isabel. Frontiers in Chemistry , 2020, 8: 478.
[9] Mathieu Wauters, Mario Vanhoucke. Automation in Construction, 2014, 47: 92.
[10] WANG Xia, WANG Zhan-qi, JIN Gui, et al(王 霞,王占岐,金 贵, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报),2014, 30(4): 204.
[11] Seyedali Mirjalili, Seyed Mohammad Mirjalili, Andrew Lewis. Advances in Engineering Software, 2014, 69: 46.
[12] Cong Sunli, Sun Jun, Mao Hanping, et al. Journal of the Science of Food and Agriculture, 2018, 98(4): 1453.
[13] CHEN Ying, ZHANG Can, XIAO Chun-yan, et al(陈 颖,张 灿,肖春艳, 等). Acta Optica Sinica(光学学报),2020, 40(10): 1030002.