Smart Electrodes Enhanced by Machine Learning: Revolutionary Cadmium Extraction from Phosphoric Acid Using Moringa-Enhanced Carbon Sensors
Abstract
This study presents a comprehensive electrochemical investigation of cadmium removal from 54% phosphoric acid solutions using Moringa oleifera-modified carbon paste electrodes (CPE) in sodium chloride medium. The research employed advanced machine learning analytical techniques to optimize electrode performance and characterize the removal mechanisms. Cyclic voltammetry (CV), electrochemical impedance spectroscopy (EIS), and square wave voltammetry (SWV) were utilized to evaluate the electrochemical behavior of cadmium in the presence of Moringa-modified electrodes. The machine learning-optimized system demonstrated superior performance compared to traditional methods, achieving processing speeds exceeding 10,000 units with enhanced sensitivity and detection capabilities. Principal component analysis revealed three distinct mechanistic clusters: protonation, complex formation, and surface effects. The Moringa-modified electrodes showed excellent correlation (R² > 0.998) between experimental and machine learning-predicted values in Tafel analysis, with cadmium detection accuracy reaching 98.8%. Feature importance analysis identified Moringa particle size, surface roughness, and ionic strength as the most critical parameters influencing removal efficiency. The optimized frequency range of 27.3 Hz provided maximum signal-to-noise ratio and sensitivity. These findings demonstrate the potential of machine learning-enhanced, bio-modified electrodes for efficient heavy metal removal from industrial phosphoric acid solutions.
Keywords
Cadmium Removal, Phosphoric Acid, Moringa Oleifera, Carbon Paste Electrode, Electrochemical Impedance Spectroscopy, Machine Learning, Heavy Metal Detection, Biosorption
References
- [1] Elouear, Z., Bouzid, J., Boujelben, N., et al., 2008. Heavy metal removal from aqueous solutions by activated phosphate rock. Journal of Hazardous Materials. 156(1–3), 412–420. DOI: https://doi.org/10.1016/j.jhazmat.2007.12.036
- [2] Wu, Y., Al-Huqail, A., Farhan, Z.A., et al., 2022. Enhanced artificial intelligence for electrochemical sensors in monitoring and removing of azo dyes and food colorant substances. Food and Chemical Toxicology. 169, 113398. DOI: https://doi.org/10.1016/j.fct.2022.113398
- [3] Belkhair, R., Baali, F.E., Khamar, L., et al., 2025. Efficient cadmium removal from phosphoric acid by adsorption onto functionalized bentonite and activated carbon derived from rosemary root. Journal of the Indian Chemical Society. 102(11), 102174. DOI: https://doi.org/10.1016/j.jics.2025.102174
- [4] Li, A., Yang, H., Yu, W., et al., 2025. Application of machine learning to improve the accuracy of electrochemical sensors: A review. TrAC Trends in Analytical Chemistry. 193, 118469. DOI: https://doi.org/10.1016/j.trac.2025.118469
- [5] Liu, B., Zhang, S., Zhao, L., et al., 2025. Multifunctional bio-gels in environmental remediation: Current advances and future perspectives. Gels. 11(11), 864. DOI: https://doi.org/10.3390/gels11110864
- [6] Calam, T.T., Cakici, G.T., 2022. Optimization of square wave voltammetry parameters by response surface methodology for the determination of Sunset yellow using an electrochemical sensor based on Purpald. Food Chemistry. 404(A), 134412. DOI: https://doi.org/10.1016/j.foodchem.2022.134412
- [7] Shi, S.-Y., Fang, Z.-H., Ni, J.-R., 2005. Electrochemical impedance spectroscopy of marmatite–carbon paste electrode in the presence and absence of Acidithiobacillus ferrooxidans. Electrochemistry Communications. 7(11), 1177–1182. DOI: https://doi.org/10.1016/j.elecom.2005.08.033
- [8] Fang, Y.-H., Liu, Z.-P., 2014. Tafel kinetics of electrocatalytic reactions: From experiment to first principles. ACS Catalysis. 4, 4364–4376. DOI: https://doi.org/10.1021/cs501312v
- [9] Almeaiweed, N.H., Aloud, S.S., Alotaibi, K.D., et al., 2025. Sustainable management approaches to heavy metal pollution in arid soils using soil amendments and plant-based remediation. Sustainability. 17(16), 7558. DOI: https://doi.org/10.3390/su17167558
- [10] Tesfaye, E., Chandravanshi, B.S., Negash, N., et al., 2022. A novel carbon paste electrode modified with N1-Hydroxy-N1,N2-Diphenylbenzamidine for the electrochemical determination of Cadmium(II) in environmental samples. Journal of Analytical Methods in Chemistry. DOI: https://doi.org/10.1155/2022/3426575
- [11] Reyes-Valderrama, M.I., Salinas-Rodríguez, E., Montiel-Hernández, J.F., et al., 2017. Urban mining and electrochemistry: Cyclic voltammetry study of acidic solutions from electronic wastes (printed circuit boards) for recovery of Cu, Zn, and Ni. Metals. 7(2), 55. DOI: https://doi.org/10.3390/met7020055
- [12] Zhao, Y., Sun, T., Zhang, H., et al., 2025. AI-enhanced electrochemical sensing systems: A paradigm shift for intelligent food safety monitoring. Biosensors. 15(9), 565. DOI: https://doi.org/10.3390/bios15090565
- [13] Ranjan, K., Barar, B., Prasad, M., et al., 2025. Application of artificial intelligence in electrochemical diagnostics for human health. Discover Electrochemistry. 2, 27. DOI: https://doi.org/10.1007/s44373-025-00042-w
- [14] Ngulube, R., Nombona, N., Pillay, L., 2025. Sustainable Pb(II) remediation: efficacy and selectivity of Moringa Oleifera composite nanofibers. Discover Applied Sciences. 7, 1132. DOI: https://doi.org/10.1007/s42452-025-06931-4
- [15] Grall, S., Madrid, I., Dufour, A., et al., 2025. Quantum bioelectrochemical (QBIOL) software based on point stochastic processes. Communications Chemistry. 8, 210. DOI: https://doi.org/10.1038/s42004-025-01603-1
- [16] Ayach, J., El Malti, W., Duma, L., et al., 2024. Comparing conventional and advanced approaches for heavy metal removal in wastewater treatment: An in-depth review emphasizing filter-based strategies. Polymers. 16(14), 1959. DOI: https://doi.org/10.3390/polym16141959
- [17] Machairas, E., Varouchakis, E.A., 2023. Cost–benefit analysis and risk assessment for mining activities in terms of circular economy and their environmental impact. Geosciences. 13(10), 318. DOI: https://doi.org/10.3390/geosciences13100318
- [18] Chen, S.-H., Li, Y.-X., Li, P.-H., et al., 2018. Electrochemical spectral methods for trace detection of heavy metals: A review. TrAC Trends in Analytical Chemistry. 106, 139–150. DOI: https://doi.org/10.1016/j.trac.2018.07.005
- [19] Keith, L.H., Gron, L.U., Young, J.L., 2007. Green analytical methodologies. Chemical Reviews. 107(6), 2695–2708.
- [20] dos Santos, E.V., Sena, S.F.M., Silva, D.R., et al., 2014. Scale-up of electrochemical oxidation system for treatment of produced water generated by Brazilian petrochemical industry. Environmental Science and Pollution Research. 21, 8466–8475. DOI: https://doi.org/10.1007/s11356-014-2779-x
- [21] Savari, H., Nikfarjam, A., 2024. Design and fabrication of patterned flexible electrode using DC sputtering and shadow mask. Engineering Research Express. 6, 045318.
- [22] Aryanti, P.T.P., Nugroho, F.A., Phalakornkule, C., et al., 2024. Energy efficiency in electrocoagulation processes for sustainable water and wastewater treatment. Journal of Environmental Chemical Engineering. 12(6), 114124. DOI: https://doi.org/10.1016/j.jece.2024.114124
- [23] Gautam, R.K., Mudhoo, A., Lofrano, G., et al., 2014. Biomass-derived biosorbents for metal ions sequestration: Adsorbent modification and activation methods and adsorbent regeneration. Journal of Environmental Chemical Engineering. 2(1), 239–259. DOI: https://doi.org/10.1016/j.jece.2013.12.019
- [24] Chin, M.Y., Phuang, Z.X., Woon, K.S., et al., 2022. Life cycle assessment of bioelectrochemical and integrated microbial fuel cell systems for sustainable wastewater treatment and resource recovery. Journal of Environmental Management. 320, 115778. DOI: https://doi.org/10.1016/j.jenvman.2022.115778
- [25] Colla, V., Matino, I., Branca, T.A., et al., 2017. Efficient use of water resources in the steel industry. Water. 9(11), 874. DOI: https://doi.org/10.3390/w9110874
- [26] Shofia, S.I., Vickram, A.S., Saravanan, A., et al., 2025. Sustainable separation technologies for heavy metal removal from wastewater: An upgraded review of physicochemical methods and its advancements. Sustainable Chemistry for the Environment. 10, 100264. DOI: https://doi.org/10.1016/j.scenv.2025.100264
- [27] Bhatt, G.D., Emdad, A., et al., 2025. Blockchain’s role in environmental sustainability: Bibliometric insights from scopus. Green Technologies and Sustainability. 3(4), 100236. DOI: https://doi.org/10.1016/j.grets.2025.100236
- [28] Liao, L., Sofer, Z., Li, P., et al., 2024. Performance evaluation of advanced machine learning methodologies in simulating hydrogen chloride (HCl) absorption by deep eutectic solvents. Journal of Environmental Chemical Engineering. 12(3), 113011. DOI: https://doi.org/10.1016/j.jece.2024.113011
- [29] Nashruddin, S.N.A.B.M., Salleh, F.H.M., Yunus, R.M., et al., 2024. Artificial intelligence−powered electrochemical sensor: Recent advances, challenges, and prospects. Heliyon. 10(18), e37964. DOI: https://doi.org/10.1016/j.heliyon.2024.e37964
