| Literature DB >> 29565295 |
Kexin Wang1, Xiang Wen2, Dibo Hou3, Dezhan Tu4, Naifu Zhu5, Pingjie Huang6, Guangxin Zhang7, Hongjian Zhang8.
Abstract
In water-quality, early warning systems and qualitative detection of contaminants are always challenging. There are a number of parameters that need to be measured which are not entirely linearly related to pollutant concentrations. Besides the complex correlations between variable water parameters that need to be analyzed also impairs the accuracy of quantitative detection. In aspects of these problems, the application of least-squares support vector machines (LS-SVM) is used to evaluate the water contamination and various conventional water quality sensors quantitatively. The various contaminations may cause different correlative responses of sensors, and also the degree of response is related to the concentration of the injected contaminant. Therefore to enhance the reliability and accuracy of water contamination detection a new method is proposed. In this method, a new relative response parameter is introduced to calculate the differences between water quality parameters and their baselines. A variety of regression models has been examined, as result of its high performance, the regression model based on genetic algorithm (GA) is combined with LS-SVM. In this paper, the practical application of the proposed method is considered, controlled experiments are designed, and data is collected from the experimental setup. The measured data is applied to analyze the water contamination concentration. The evaluation of results validated that the LS-SVM model can adapt to the local nonlinear variations between water quality parameters and contamination concentration with the excellent generalization ability and accuracy. The validity of the proposed approach in concentration evaluation for potassium ferricyanide is proven to be more than 0.5 mg/L in water distribution systems.Entities:
Keywords: LS-SVM; conventional water-quality sensors; quantitative evaluation; water quality early warning
Year: 2018 PMID: 29565295 PMCID: PMC5948656 DOI: 10.3390/s18040938
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Schematic of a method for quantitative analysis of contaminant concentration using LS-SVM.
Figure 2Experimental setup of a small-scale distribution pipe device. PLC: programmable logic controller. Water quality can be monitored at points A, B, C, and D.
Figure 3Pipeline distribution control system.
Characterization of drinking water in current study.
| Parameter | Concentration | Parameter | Concentration |
|---|---|---|---|
| Temperature | 14.0 °C | pH | 6.77 |
| DO | 6.950 mg L−1 | Turbidity | 0.026 NTU |
| COD | 5.763 mg L−1 | TOC | 12.512 mg L−1 |
| Conductivity | 0.914 μs/cm | NH3-N | 2.890 mg L−1 |
| NO3-N | 1.624 mg L−1 | Residual chlorine | 0.029 mg L−1 |
The responding sensors to various contaminants.
| Contaminant | Responding Sensors | ||
|---|---|---|---|
| Hall et al. [ | Yang et al. [ | Current Study | |
| Sensor Array | Sensor Array | Sensor Array | |
| A, B, D, E, G, H, I | A, B, C, D, F | A, E, F, G, H, I, J, K, L, M | |
| Drinking Water | Drinking Water | Drinking Water | |
| Aldicarb | A, B, D, E, I | A, B, C, D | |
| Arsenic trioxide | A, B, D, G, H, I | ||
| Colchicine | A, B, C, D | ||
| Dicamba | D, F | ||
| A, B, E, H, I | A, B, C, D, F | ||
| Glyphosate | A, C, D, E | A, B, C, D, F | |
| Malathion | A, D, E, I | ||
| Mercuric chloride | A, C, D, F | ||
| Nicotine | A, B, D, E, G, H | A, B, D, F | |
| Nutrient broth | A, B, C, D | ||
| Terrific broth | A, B, D, E, I | A, B, D, F | |
| Typtic soy broth | A, B, C, D | ||
| Ammonium citrate | H, K | ||
| Cupric sulfate | A, E, L | ||
| Potassium biphthalate | E, G, H, L | ||
| Potassium ferricyanide | B, C, D | A, E, G, H, L | |
| Sodium nitrite | E, H, L | ||
| Urea | E, H | ||
Note: A—residual chlorine; B—total chlorine; C—chloride; D—ORP; E—TOC; F—pH; G—nitrate-nitrogen; H—ammonia-nitrogen; I—turbidity; J—temperature; K—conductivity; L—COD; M—DO.
Figure 4Sensor responses for potassium ferricyanide (concentrations: 1.0, 2.0, 4.0, and 8.0 mg L−1).
Relative responding values and Pearson correlation coefficients (potassium ferricyanide, the 1st experiment).
| Concentration | Conductivity | Turbidity | DO | COD | TOC | NH3-N | NO3-N | Residual Chlorine |
|---|---|---|---|---|---|---|---|---|
| (mg/L) | (us/cm) | (NTU) | (mg/L) | (mg/L) | (mg/L) | (mg/L) | (mg/L) | (mg/L) |
| 1 | −0.0305 | 0.00605 | 0.1145 | 0.11745 | 0.9335 | −0.01 | 0.17185 | 0.1079 |
| 2 | 0.0009 | 0.00145 | 0.0415 | 0.12455 | 0.34565 | 0.2585 | 0.2684 | 0.261 |
| 4 | 0.0054 | 0.0035 | 0.0435 | 0.15275 | 0.6108 | 0.206 | 0.3177 | 0.557 |
| 6 | −0.0058 | 0.0453 | 1.8745 | 0.2379 | 1.4498 | 0.3015 | 0.43915 | 0.824 |
| 8 | 0.0042 | 0.00425 | 0.064 | 0.176 | 2.06445 | 0.434 | 0.4661 | 1.1901 |
| 10 | −0.04935 | 0.0581 | 1.1555 | 0.2599 | 2.36995 | 1.144 | 0.6202 | 1.44925 |
| 12 | −0.06145 | 0.04615 | 2.329 | 0.6237 | 5.697 | 1.4025 | 0.631 | 1.77785 |
| 14 | −0.0201 | 0.00005 | −0.033 | 0.1799 | 2.31015 | 0.6875 | 0.71585 | 2.0392 |
| 16 | 0.01085 | 0.00585 | −0.039 | 0.1869 | 2.25225 | 0.758 | 0.7045 | 2.40075 |
| 18 | 0.0139 | 0.00915 | 0.0755 | 0.25265 | 2.5757 | 3.0615 | 0.40465 | 2.64495 |
| rxy | 0.0746 | 0.0886 | 0.0533 | 0.3748 | 0.6080 | 0.7690 | 0.7541 | 0.9997 |
Note: rxy-Pearson correlation coefficients.
Figure 5Relative response values of four parameters with concentration of potassium ferricyanide: (a) TOC; (b) NH3-N; (c) NO3-N; (d) residual chlorine change.
Real concentrations and relative responding values in the test set.
| Concentration | COD | TOC | NH3-N | NO3-N | Residual Chlorine |
|---|---|---|---|---|---|
| (mg/L) | (mg/L) | (mg/L) | (mg/L) | (mg/L) | (mg/L) |
| 0.5 | 0.1722 | 0.8618 | 0.9365 | 0.1248 | 0.0394 |
| 1.0 | 0.11745 | 0.9335 | −0.01 | 0.17185 | 0.1079 |
| 2.5 | 0.1264 | 0.4334 | 0.0015 | 0.19255 | 0.3125 |
| 3.0 | 0.1512 | 0.6176 | 0.4205 | 0.21635 | 0.3927 |
| 5.0 | 0.14375 | 0.87205 | 0.6935 | 0.3427 | 0.7004 |
| 7.5 | 0.1759 | 1.15385 | 0.3905 | 0.4474 | 1.0798 |
| 9.0 | 0.15305 | 1.43175 | 1.467 | 0.5052 | 1.3417 |
| 11.0 | 0.1947 | 1.5408 | 1.3285 | 0.5435 | 1.6668 |
| 13.0 | 0.3848 | 4.8059 | 2.905 | 0.6767 | 1.904 |
| 15.0 | 0.23175 | 2.07795 | 1.3135 | 0.7274 | 2.2522 |
| 17.0 | 0.28945 | 3.7201 | 2.068 | 0.656 | 2.5344 |
| 18.0 | 0.25265 | 2.5757 | 3.0615 | 0.40465 | 2.64495 |
Figure 6Illustration of comparison between real value and prediction value based on four parameter optimization algorithms.
Prediction performance on the test dataset in Table 4.
| True Value (mg/L) | Relative Error | |||
|---|---|---|---|---|
| Simplex | GS | GA | PSO | |
| 0.5 | 15.53% | 0.24% | 1.95% | 27.96% |
| 1.0 | 26.00% | 28.57% | 9.17% | 13.97% |
| 2.5 | 10.67% | 12.64% | 7.86% | 10.41% |
| 3.0 | 4.12% | 6.12% | 5.33% | 4.52% |
| 5.0 | 0.20% | 0.63% | 1.97% | 0.51% |
| 7.5 | 0.08% | 0.06% | 0.36% | 1.12% |
| 9.0 | 4.63% | 4.12% | 2.36% | 3.95% |
| 11.0 | 5.15% | 4.73% | 3.59% | 4.09% |
| 13.0 | 0.86% | 0.73% | 0.68% | 1.95% |
| 15.0 | 3.27% | 2.89% | 2.27% | 2.15% |
| 17.0 | 0.46% | 0.04% | 0.26% | 0.53% |
| 18.0 | 0.21% | 0.18% | 0.26% | 0.27% |
| RMSEP | 0.2762 | 0.2619 | 0.1855 | 0.2310 |
| r2 | 0.9986 | 0.9988 | 0.9992 | 0.9990 |
Figure 7Sensor responses for potassium ferricyanide (concentrations: 0.5 and 1.0 mg L−1).
Impacts of input dimensions of GA-LSSVM on evaluation performance.
| True Value | Relative Error | ||||
|---|---|---|---|---|---|
| One Dimension | Two Dimensions | Three Dimensions | Four Dimensions | Five Dimensions | |
| 0.5 | 1.01% | 1.66% | 2.71% | 2.97% | 1.95% |
| 1.0 | 2.16% | 10.25% | 9.18% | 10.09% | 9.17% |
| 2.5 | 6.56% | 6.43% | 7.99% | 7.41% | 7.86% |
| 3.0 | 4.52% | 5.21% | 6.55% | 4.52% | 5.33% |
| 5.0 | 3.51% | 1.95% | 3.32% | 1.95% | 1.97% |
| 7.5 | 0.16% | 0.36% | 0.89% | 1.02% | 0.36% |
| 9.0 | 1.53% | 2.32% | 2.71% | 3.65% | 2.36% |
| 11.0 | 3.98% | 3.65% | 3.67% | 3.61% | 3.59% |
| 13.0 | 0.73% | 0.72% | 0.72% | 0.77% | 0.68% |
| 15.0 | 2.08% | 2.01% | 2.62% | 2.75% | 2.27% |
| 17.0 | 0.21% | 0.23% | 0.67% | 0.54% | 0.26% |
| 18.0 | 0.25% | 0.25% | 0.53% | 0.73% | 0.26% |
| RMSEP | 0.1793 | 0.1841 | 0.1902 | 0.1913 | 0.1855 |
| r2 | 0.9994 | 0.9992 | 0.9991 | 0.9990 | 0.9992 |
Figure 8Correlation between standard concentration value and evaluated value modeled by LS-SVM.