Machine Learning-Powered Smart Sensing of Copper Ions in Water Based on a Carbon Dot-Incorporated Hydrogel Platform: An Easy Path from Bench to Onsite Detection
Abstract
1. Introduction
2. Background and Related Work
| Detection Approach | ML/Data Analysis | LOD, Linear Range (μM) | Automation & Usability | Shortcomings | Year & References |
|---|---|---|---|---|---|
| FSV with click-chemistry amplification (lab bench) | Deep CNN (FSVNet) | Single-atom Cu2+ detection (reported in the 10–16 μM regime; specialized ultra-low range) | Automated voltammogram analysis with very high sensitivity | Requires specialized electrochemical setup and controlled lab conditions; not field-portable | 2024—[20] |
| Smartphone colorimetric chemo-biosensor | SVM, RF, LR on HSV image features | LOD: 0.09 ppm (≈1.416 μM) Cu2+ (low-μM regime); linear working range reported across low-ppm Cu2+ concentrations | Smartphone-based, portable platform; ML improves reproducibility and enables rapid on-site screening | Sensitive to ambient lighting and camera variability; lower sensitivity than lab-grade electrochemistry | 2024—[22] |
| Fluorometric pyoverdine-based probe | Conventional analytical calibration (non-ML) | LOD: 50 nM (0.05 μM); linear fluorescence response in the low-μM Cu2+ region (≈0.2–10 μM) | Simple probe preparation with established Cu2+ selectivity | Requires a fluorimeter; manual, instrument-dependent readout; no ML component | * 2016—[21] |
| Co@Cu dual-metal electrochemical sensor (creatinine monitoring) | RF, Extra Trees, XGBoost | LOD: 130 μM and linear range defined for urinary creatinine (non-Cu analyte); high regression performance (R2 ≈ 0.98–0.99) | Low-cost printed electrodes; ML-assisted calibration and feature selection | Not a Cu2+ sensor; included only as an example of ML-guided electrochemical sensing | ** 2025—[23] |
| Dual-mode RGB image sensor (colorimetric + fluorescent) | LR, SVM, RF, XGBoost | Five Cu2+ classes spanning 0–500 μM (studied concentration window) | Fully portable, Smart Phone-dual-mode imaging; direct image-to-class ML decision | Discrete band-wise classification rather than continuous concentration; affected by optical noise and imaging conditions | Present work |
3. Materials and Methods
3.1. NSCDs Incorporated Hydrogel Films (Sensing System) Fabrication and Imaging
3.2. Dataset Preparation
- Interpolation: Equation (1) illustrates how digital interpolation techniques were used to create intermediate images for each integer micromolar value between 0 and 500 µM. A smooth and fine-grained optical transition between known sensor responses was produced by this method, which produced 501 distinct concentration levels.
- Augmentation: To replicate real-world variability in imaging configurations, nine augmentation changes were applied to each interpolated image. These augmentations included the following:
- Rotation by −5°;
- Rotation by −10°;
- Rotation by +5°;
- Rotation by +10°;
- Horizontal flipping;
- Vertical flipping;
- Brightness increase;
- Brightness decrease;
- Geometric scaling (cropping followed by resizing).
3.3. Machine Learning Models
3.3.1. Evaluation Metrics
3.3.2. Practical Considerations and Justification
4. Experimental Results
4.1. Model Performance Comparison
4.2. Cross-Validation Insights
5. Discussion
5.1. Decision Thresholds and Operational Risk Banding
5.2. User Interface
5.2.1. CuLens Mobile Edition—Interface Overview
5.2.2. Upload and Analysis Workflow
5.2.3. Analysis Results and Interpretation
6. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Gordon, J.J.; Quastel, J.H. Effects of organic arsenicals on enzyme systems. Biochem. J. 1948, 42, 337–350. [Google Scholar] [CrossRef] [PubMed]
- Jaishankar, M.; Tseten, T.; Anbalagan, N.; Mathew, B.B.; Beeregowda, K.N. Toxicity, mechanism and health effects of some heavy metals. Interdiscip. Toxicol. 2014, 7, 60–72. [Google Scholar] [CrossRef] [PubMed]
- Gao, Z.; Wu, N.; Du, X.; Li, H.; Mei, X.; Song, Y. Toxic Nephropathy Secondary to Chronic Mercury Poisoning: Clinical Characteristics and Outcomes. Kidney Int. Rep. 2022, 7, 1189–1197. [Google Scholar] [CrossRef] [PubMed]
- Collin, M.S.; Venkatraman, S.K.; Vijayakumar, N.; Kanimozhi, V.; Arbaaz, S.M.; Stacey, R.S.; Anusha, J.; Choudhary, R.; Lvov, V.; Tovar, G.I.; et al. Bioaccumulation of lead (Pb) and its effects on human: A review. J. Hazard. Mater. Adv. 2022, 7, 100094. [Google Scholar] [CrossRef]
- Georgaki, M.-N.; Charalambous, M.; Kazakis, N.; Talias, M.A.; Georgakis, C.; Papamitsou, T.; Mytiglaki, C. Chromium in Water and Carcinogenic Human Health Risk. Environments 2023, 10, 33. [Google Scholar] [CrossRef]
- Wallin, M.; Sallsten, G.; Fabricius-Lagging, E.; Öhrn, C.; Lundh, T.; Barregard, L. Kidney cadmium levels and associations with urinary calcium and bone mineral density: A cross-sectional study in Sweden. Environ. Health 2013, 12, 22. [Google Scholar] [CrossRef]
- Camarena, D.E.; Giannella, M.C.; de Toledo Bagatin, J.; de Assis, S.R.; Chen, T.; Bailey, M.J.; Costa, C.; Schneider, E.; von Gerichten, J.; de Moraes Barros, S.B.; et al. Differential impacts of nickel toxicity: NiO and NiSO4 on skin health and barrier function. Ecotoxicol. Environ. Saf. 2025, 302, 118626. [Google Scholar] [CrossRef]
- Krupanidhi, S.; Sreekumar, A.; Sanjeevi, C.B. Copper & biological health. Indian J. Med. Res. 2008, 128, 448–461. [Google Scholar]
- Sailer, J.; Nagel, J.; Akdogan, B.; Jauch, A.T.; Engler, J.; Knolle, P.A.; Zischka, H. Deadly excess copper. Redox Biol. 2024, 75, 103256. [Google Scholar] [CrossRef]
- National Research Council. Copper in Drinking Water; National Academies Press: Washington, DC, USA, 2000. [Google Scholar]
- Ayub, A.; Ahmad, S.S. Seasonal Assessment of Groundwater Contamination in Coal Mining Areas of Balochistan. Sustainability 2020, 12, 6889. [Google Scholar] [CrossRef]
- Sharma, R.S.J. Geochemical And Hydrological Assessment Of Water Quality in Copper Mine of Khetri Nagar Rajasthan. Int. J. Creat. Res. Thoughts 2013, 1, 605–617. [Google Scholar]
- Gammons, C.H.; Duaime, T.E. The Berkeley Pit and Surrounding Mine Waters of Butte. Mont. Bur. Mines Geol. 2019, 2, 1–17. [Google Scholar]
- Donohue, J. Copper in Drinking-Water Background Document for Development of WHO Guidelines for Drinking-Water Quality; WHO: Geneva, Switzerland, 2011. [Google Scholar]
- Dalmieda, J.; Kruse, P. Metal Cation Detection in Drinking Water. Sensors 2019, 19, 5134. [Google Scholar] [CrossRef]
- Samanta, T.; Shunmugam, R. Colorimetric and fluorometric probes for the optical detection of environmental Hg(II) and As(III) ions. Mater. Adv. 2021, 2, 64–95. [Google Scholar] [CrossRef]
- Pizzoferrato, R.; Bisauriya, R.; Antonaroli, S.; Cabibbo, M.; Moro, A.J. Colorimetric and Fluorescent Sensing of Copper Ions in Water through o-Phenylenediamine-Derived Carbon Dots. Sensors 2023, 23, 3029. [Google Scholar] [CrossRef] [PubMed]
- Morell, J.; Escobet, A.; Dorado, A.D.; Escobet, T. Design of a RGB-Arduino Device for Monitoring Copper Recovery from PCBs. Processes 2023, 11, 1319. [Google Scholar] [CrossRef]
- Nelis, J.L.D.; Bura, L.; Zhao, Y.; Burkin, K.M.; Rafferty, K.; Elliott, C.T.; Campbell, K. The Efficiency of Color Space Channels to Quantify Color and Color Intensity Change in Liquids, pH Strips, and Lateral Flow Assays with Smartphones. Sensors 2019, 19, 5104. [Google Scholar] [CrossRef]
- Hao, T.; Zhou, H.; Gai, P.; Wang, Z.; Guo, Y.; Lin, H.; Wei, W.; Guo, Z. Deep learning-assisted single-atom detection of copper ions by combining click chemistry and fast scan voltammetry. Nat. Commun. 2024, 15, 10292. [Google Scholar] [CrossRef]
- Yin, K.; Wu, Y.; Wang, S.; Chen, L. A sensitive fluorescent biosensor for the detection of copper ion inspired by biological recognition element pyoverdine. Sens. Actuators B Chem. 2016, 232, 257–263. [Google Scholar] [CrossRef]
- Chattopadhyay, M.K.; Mondal, A.; Hazra, A.; Tarai, S.K.; Kapoor, B.S.; Mukhopadhyay, S.S.; Sarkar, S.; Banerjee, P. Smartphone enabled machine learning approach assisted copper (II) quantification and opto-electrochemical explosive recognition by Aldazine-functionalized chemobiosensor. Sens. Actuators Rep. 2024, 8, 100215. [Google Scholar] [CrossRef]
- Kaewket, K.; Outrequin, T.C.R.; Deepaisarn, S.; Wijitsak, J.; Sunon, P.; Ngamchuea, K. Machine Learning-Guided Cobalt@ Copper Dual-Metal Electrochemical Sensor for Urinary Creatinine Detection. ACS Sens. 2025, 10, 3471–3483. [Google Scholar] [CrossRef]
- Bisauriya, R.; Antonaroli, S.; Ardini, M.; Angelucci, F.; Ricci, A.; Pizzoferrato, R. Tuning the Sensing Properties of N and S Co-Doped Carbon Dots for Colorimetric Detection of Copper and Cobalt in Water. Sensors 2022, 22, 2487. [Google Scholar] [CrossRef]
- Zhang, W.J.; Liu, S.G.; Han, L.; Luo, H.Q.; Li, N.B. A ratiometric fluorescent and colorimetric dual-signal sensing platform based on N-doped carbon dots for selective and sensitive detection of copper(II) and pyrophosphate ion. Sens. Actuators B Chem. 2019, 283, 215–221. [Google Scholar] [CrossRef]
- Ye, Q.; Ren, S.; Huang, H.; Duan, G.; Liu, K.; Liu, J.-B. Fluorescent and Colorimetric Sensors Based on the Oxidation of o -Phenylenediamine. ACS Omega 2020, 5, 20698–20706. [Google Scholar] [CrossRef]
- Bishop, C.M. Pattern Recognition and Machine Learning (Information Science and Statistics); Springer: New York, NY, USA, 2006. [Google Scholar]
- Kohavi, R. A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection. In IJCAI International Joint Conference on Artificial Intelligence; ResearchGate: Berlin, Germany, 1995; Volume 2, pp. 1137–1143. [Google Scholar]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In KDD’16: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar]
- Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
- Powers, D.M.W. Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. Int. J. Mach. Learn. 2020, 2, 37–63. [Google Scholar]
- Heaton, J. Ian Goodfellow, Yoshua Bengio, and Aaron Courville: Deep learning. Genet. Program. Evolvable Mach. 2018, 19, 305–307. [Google Scholar] [CrossRef]
- Sokolova, M.; Lapalme, G. A systematic analysis of performance measures for classification tasks. Inf. Process. Manag. 2009, 45, 427–437. [Google Scholar] [CrossRef]
- Murphy, K.P. Machine Learning A Probabilistic Perspective, 2012th ed.; The MIT Press: Cambridge, MA, USA, 2012. [Google Scholar]



















| Model | Accuracy (%) | Precision (%) | Recall (%) | F1-Score (%) | Specificity (%) |
|---|---|---|---|---|---|
| SVM | 93.91 | 94.7 | 94.2 | 94.2 | 99.76 |
| Logistic Regression | 92.95 | 93.43 | 92.8 | 92.79 | 99.7 |
| Random Forest | 92.5 | 93.3 | 92.81 | 92.77 | 99.7 |
| XGBoost | 92.48 | 93.26 | 93.0 | 93.0 | 99.71 |
| KNN | 88.76 | 88.76 | 90.84 | 89.67 | 99.57 |
| Decision Tree | 86.95 | 86.36 | 85.62 | 85.7 | 99.4 |
| Neural Network (MLP) | 52.55 | 55.04 | 53.88 | 50.95 | 98.08 |
| Naive Bayes | 52.3 | 52.42 | 53.66 | 52.07 | 98.07 |
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1-Score (%) | Specificity (%) |
|---|---|---|---|---|---|
| SVM | 96.77 | 97.15 | 97.00 | 97.02 | 99.88 |
| Logistic Regression | 96.29 | 97.05 | 96.80 | 96.81 | 99.87 |
| Random Forest | 95.19 | 95.60 | 95.40 | 95.42 | 99.81 |
| XGBoost | 94.65 | 96.18 | 96.00 | 96.01 | 99.83 |
| KNN | 93.33 | 94.28 | 94.00 | 94.01 | 99.75 |
| Decision Tree | 88.82 | 88.46 | 87.60 | 87.67 | 99.48 |
| Naive Bayes | 67.17 | 68.72 | 67.63 | 67.62 | 98.65 |
| Neural Network (MLP) | 52.97 | 64.05 | 64.84 | 61.18 | 98.54 |
| Copper Concentration (µM) | Category |
|---|---|
| 0–20 | Safe |
| 21–39 | Drinkable |
| 40–60 | Contaminated |
| 61–100 | Heavily Contaminated |
| >100 | Unsafe |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Bisauriya, R.; Gupta, R.; Deshpande, A.S.; Agarwal, A.; Agarwal, A.; Pizzoferrato, R. Machine Learning-Powered Smart Sensing of Copper Ions in Water Based on a Carbon Dot-Incorporated Hydrogel Platform: An Easy Path from Bench to Onsite Detection. Sensors 2026, 26, 2142. https://doi.org/10.3390/s26072142
Bisauriya R, Gupta R, Deshpande AS, Agarwal A, Agarwal A, Pizzoferrato R. Machine Learning-Powered Smart Sensing of Copper Ions in Water Based on a Carbon Dot-Incorporated Hydrogel Platform: An Easy Path from Bench to Onsite Detection. Sensors. 2026; 26(7):2142. https://doi.org/10.3390/s26072142
Chicago/Turabian StyleBisauriya, Ramanand, Richa Gupta, Ashwin S. Deshpande, Ansh Agarwal, Aryan Agarwal, and Roberto Pizzoferrato. 2026. "Machine Learning-Powered Smart Sensing of Copper Ions in Water Based on a Carbon Dot-Incorporated Hydrogel Platform: An Easy Path from Bench to Onsite Detection" Sensors 26, no. 7: 2142. https://doi.org/10.3390/s26072142
APA StyleBisauriya, R., Gupta, R., Deshpande, A. S., Agarwal, A., Agarwal, A., & Pizzoferrato, R. (2026). Machine Learning-Powered Smart Sensing of Copper Ions in Water Based on a Carbon Dot-Incorporated Hydrogel Platform: An Easy Path from Bench to Onsite Detection. Sensors, 26(7), 2142. https://doi.org/10.3390/s26072142

