Development of a Portable NIR Spectrometer for Detecting Pesticide Residues

Authors

  • Natthasak Yaemsuk Department of Electrical & Computer Engineering, Faculty of Engineering, Naresuan University, Phitsanulok 65000, Thailand
  • Suchart Yammen Department of Electrical & Computer Engineering, Faculty of Engineering, Naresuan University, Phitsanulok 65000, Thailand

DOI:

https://doi.org/10.69650/ahstr.2024.1083

Keywords:

portable NIR spectrometer, NIR spectroscopy, pesticide detection algorithm, pesticide residues

Abstract

The problem of pesticide residues found in fruits and vegetables that exceed the standard is something that all sectors are interested in solving. The main reason is that farmers, consumers, and relevant authorities do not know the real-time value of the residues. The detection of the pesticide residues is not immediately known since it must have been carried out at the central laboratory, where the received result will also take so long time. To solve this problem, our research team has designed and developed a portable near-infrared (NIR) spectrometer. The developed NIR spectrometer is designed to not only detect the reflected intensity of the residues in the wavelength range from 410 [nm] to 940 [nm] using the AS7265x chipset, but also collect and analyze the normalized spectral signal using the microprocessor ESP32-WROVER-B for detecting each type of the four pesticide residues: Carbendazim, Cypermethrin, Diazinon, and Imidacloprid. From experimental results on forty pesticide residues on basil leaves and chili from the local market in Phitsanulok province, it was conclusively demonstrated that the NIR spectrometer correctly identifies a tested type of the four pesticide residues on the twenty-eight basil leaves and twenty chili, and has more stable, consistent and accurate performance for detecting the pesticide type of the forty residues than the thin-layer chromatography method utilized at the central laboratory. Furthermore, the developed NIR spectrometer exhibits remarkable versatility and the best performance of detecting each type of the four pesticide residues on the twenty-eight basil leaves and twenty-eight chili or the total fifty-six samples as well as a test run repeated 100 times per sample and at seven concentration levels. At the pesticide concentration levels of 1, 2, 3, 4 and 5 mg/l, the Accuracy, Precision and Recall values were perfect at 1.00 and standard deviation of zero in all cases. Also, the Accuracy value was greater than 0.98 and both the Precision and Recall values were greater than 0.97 with an overall standard deviation of less than 0.013 when detecting the two pesticide residue types at concentration levels of 0.05 and 0.1 mg/l. Overall, the results showed that the proposed NIR spectrometer  correctly detects pesticide residues in the concentration range from 1 [mg/l] to 5 [mg/l]. As well, the total cost of the tests with the portable NIR spectrometer was about 4,395 Baht. This cost is very reasonable particularly when the price of the proposed portable NIR spectrometer is nearly half that of devices with identical specifications that are sold on the commercial market.

References

Aira, J., Olivares, T., & Delicado, F. M. (2022). SpectroGLY: a Low-Cost IoT-Based ecosystem for the detection of glyphosate residues in waters. IEEE Transactions on Instrumentation and Measurement, 71, 1–10. https://doi.org/10.1109/tim.2022.3196947

Bhaskara, B. L., & Nagaraja, P. (2006). Direct sensitive spectrophotometric determination of Glyphosate by using ninhydrin as a chromogenic reagent in formulations and environmental water samples. Helvetica Chimica Acta, 89(11), 2686–2693. https://doi.org/10.1002/hlca.200690240

Boedeker, W., Watts, M., Clausing, P., & Marquez, E. (2020). The global distribution of acute unintentional pesticide poisoning: estimations based on a systematic review. BMC Public Health, 20(1), 1875. https://doi.org/10.1186/s12889-020-09939-0

Botero-Valencia, J. S., & Valencia-Aguirre, J. (2021). Portable low-cost IoT hyperspectral acquisition device for indoor/outdoor applications. HardwareX, 10, e00216. https://doi.org/10.1016/j.ohx.2021.e00216

Chicco, D., Warrens, M. J., & Jurman, G. (2021). The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ, 7, e623. https://doi.org/10.7717/peerj-cs.623

Espressif Systems (Shanghai). (2023) ESP32WROVERB & ESP32WROVERIB Datasheet. https://www.espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf

GitHub. (2023). SparkFun Spectral in the the Arduino library. https://github.com/sparkfun/SparkFun_AS7265x_Arduino_Library

Guo-wei YU, Ben-xue MA, Jin-cheng CHEN, Fu-min DANG, Xiao-zhan LI, Cong LI, Gang WANG. (2021) Vis-NIR Spectra Discriminant of Pesticide Residues on the Hami Melon Surface by GADF and Multi-Scale CNN[J]. Spectroscopy and Spectral Analysis, 41(12), 3701. https://doi.org/10.3964/j.issn.1000-0593(2021)12-3701-07

Hermansen, C., Norgaard, T., De Jonge, L. W., Moldrup, P., Müller, K., & Knadel, M. (2020). Predicting glyphosate sorption across New Zealand pastoral soils using basic soil properties or Vis–NIR spectroscopy. Geoderma, 360, 114009. https://doi.org/10.1016/j.geoderma.2019.114009

Huck, C., Pezzei, C., & Huck-Pezzei, V. A. (2016). An industry perspective of food fraud. Current Opinion in Food Science, 10, 32–37. https://doi.org/10.1016/j.cofs.2016.07.004

Jamshidi, B., Mohajerani, E., Jamshidi, J., Minaei, S., & Sharifi, A. (2015). Non-destructive detection of pesticide residues in cucumber using visible/near-infrared spectroscopy. Food Additives & Contaminants: Part A, 32(6), 857–863. https://doi.org/10.1080/19440049.2015.1031192

Lu, Y., Li, X., Li, W., Shen, T., He, Z., Zhang, M., Zhang, H., Sun, Y., & Liu, F. (2021). Detection of chlorpyrifos and carbendazim residues in the cabbage using visible/near-infrared spectroscopy combined with chemometrics. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 257, 119759. https://doi.org/10.1016/j.saa.2021.119759

Mane, P. C., Shinde, M., Varma, S., Chaudhari, B. P., Fatehmulla, A., Shahabuddin, M., Amalnerkar, D. P., Aldhafiri, A. M., & Chaudhari, R. D. (2020). Highly sensitive label-free bio-interfacial colorimetric sensor based on silk fibroin-gold nanocomposite for facile detection of chlorpyrifos pesticide. Scientific Reports, 10(1), 4198. https://doi.org/10.1038/s41598-020-61130-y

Market Research Future. (2023). Portable Spectrometer Market by Type, Size, Growth and Analysis – 2027 | MRFR. https://www.marketresearchfuture.com/reports/portable-spectrometer-market-7728

Mashuni, Akbar, T. S. A., & Jahiding, M. (2017). Development of Cypermethrin Pesticide Detection Method using Ultraviolet-Visible Spectrophotometry. Asian Journal of Chemistry, 29(2), 346–348. https://doi.org/10.14233/ajchem.2017.20195

Misal, R., & Deshmukh, R. R. (2016). Application of Near-Infrared Spectrometer in Agro-Food Analysis: A review. International Journal of Computer Applications, 141(7), 18-20. https://doi.org/10.5120/ijca2016909701

Mayr, S., Beć, K. B., Grabska, J., Schneckenreiter, E., & Huck, C. W. (2021). Near-infrared spectroscopy in quality control of Piper nigrum: A comparison of performance of benchtop and handheld spectrometers. Talanta, 223, 121809. https://doi.org/10.1016/j.talanta.2020.121809

Natarajan, S., & Ponnusamy, V. (2023). Classification of organic and conventional vegetables using machine learning: A case study of brinjal, chili and tomato. Foods, 12(6), 1168. https://doi.org/10.3390/foods12061168

National Health Security Office. (7 December 2019). Open the gold card patient information in 2019, found more than 3 thousand patients with chemical poisoning. https://www.nhso.go.th/frontend/NewsInformationDetail.aspx?newsid=MjU0OA==

Nazarloo, A. S., Sharabiani, V. R., Abbaspour-Gilandeh, Y., Taghinezhad, E., & Szymanek, M. (2021). Evaluation of different models for Non-Destructive Detection of tomato pesticide residues based on Near-Infrared Spectroscopy. Sensors, 21(9), 3032. https://doi.org/10.3390/s21093032

Oliveira, L., Poínhos, R., & De Almeida, M. D. V. (2021). Food-related quality of life among older adults living in community: A multi-factorial approach. Clinical Nutrition ESPEN, 44, 224–229. https://doi.org/10.1016/j.clnesp.2021.06.013

Rather, I. A., Koh, W. Y., Paek, W. K., & Lim, J. (2017). The sources of chemical contaminants in food and their health implications. Frontiers in Pharmacology, 8, 830 . https://doi.org/10.3389/fphar.2017.00830

Rathnakumar, K., Pandiselvam, R., Mohammed, M. K. Q., Dakshayani, R., Kothakota, A., Ramesh, S. V., Cozzolino, D., & Ashokkumar, C. R. (2020). Application of infrared spectroscopy techniques for the assessment of quality and safety in spices: a review. Applied Spectroscopy Reviews, 55(7), 593–611. https://doi.org/10.1080/05704928.2020.1713801

Sun, D. (2008). Modern Techniques for Food Authentication. Academic Press. https://www.elsevier.com/books/modern-techniques-for-food-authentication/sun/978-0-12-374085-4

Santos, C. a. T. D., Lopo, M., Páscoa, R. N., & Lopes, J. A. (2013). A review on the applications of Portable Near-Infrared Spectrometers in the Agro-Food industry. Applied Spectroscopy, 67(11), 1215–1233. https://doi.org/10.1366/13-07228

Shahrabani, M. M. N., & Mansor, S. B. (2020). Calibration and testing a low-cost spectrometer for ground measurement. International Journal of Scientific & Technology Research, 9(09), 378-383.

Shokrekhodaei, M., Cistola, D. P., Roberts, R. C., & Quinones, S. (2021). Non-Invasive glucose monitoring using optical sensor and machine learning techniques for diabetes applications. IEEE Access, 9, 73029–73045. https://doi.org/10.1109/access.2021.3079182

Soylak, M., Ozdemir, B., & Yilmaz, E. (2020). An environmentally friendly and novel amine-based liquid phase microextraction of quercetin in food samples prior to its determination by UV–vis spectrophotometry. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 243, 118806. https://doi.org/10.1016/j.saa.2020.118806

SparkFun Electronics. (2023). Spectral Triad (AS7265x) Hookup Guide. https://learn.sparkfun.com/tutorials/spectral-triad-as7265x-hookup-guide?_ga=2.62173996.1230007171.1681279560-1984982252.1679913874#as7265x-arduino-library-overview

Stadler, R. H., Tran, L., Cavin, C., Zbinden, P., & Konings, E. J. M. (2016). Analytical Approaches to verify food integrity: needs and challenges. Journal of AOAC International, 99(5), 1135–1144. https://doi.org/10.5740/jaoacint.16-0231

Suchart Y. (2022). Lecture Notes for “Chapter II: linear Algebic model”. Department of Electrical and Computer Engineering, Naresuan University, Phitsanulok, Thailand.

Thaipan. (2020). Surveillance results of pesticide residues in fruits and vegetables in 202010 December 2022. https://thaipan.org/wp-content/uploads/2020/12/thaipan_press_4-12-2563-last.pdf

Tran, N., & Fukuzawa, M. (2020). A Portable Spectrometric System for Quantitative Prediction of the Soluble Solids Content of Apples with a Pre-calibrated Multispectral Sensor Chipset. Sensors, 20(20), 5883. https://doi.org/10.3390/s20205883

Viet-Duc, Le-Tuan-Anh, Van-Cong, Van-Hieu, & Phuong-Ha, (2021). Estimation of pesticide residues on leafy vegetables using a developed handheld spectrometer. Biointerface Research in Applied Chemistry, 12(6), 8163–8173. https://doi.org/10.33263/briac126.81638173

Yang, B., Huang, X., Yan, X., Zhu, X., & Guo, W. (2020). A cost-effective on-site milk analyzer based on multispectral sensor. Computers and Electronics in Agriculture, 179, 105823. https://doi.org/10.1016/j.compag.2020.105823

Ye, W., Yan, T., Zhang, C., Duan, L., Chen, W., Song, H., Zhang, Y., Xu, W., Gao, P. (2022). Detection of Pesticide Residue Level in Grape Using Hyperspectral Imaging with Machine Learning. Foods, 11(11), 1609. https://doi.org/10.3390/foods11111609

Yu, G., Ma, B., Chen, J., Li, X., Li, Y., & Liu, C. (2020). Nondestructive identification of pesticide residues on the Hami melon surface using deep feature fusion by Vis/NIR spectroscopy and 1D‐CNN. Journal of Food Process Engineering, 44(1). e13602. https://doi.org/10.1111/jfpe.13602

Yu, G., Ma, B., Li, H., Hu, Y., & Li, Y. (2022). Discrimination of pesticide residue levels on the Hami melon surface using multiscale convolution. Foods, 11(23), 3881. https://doi.org/10.3390/foods11233881

Downloads

Published

2024-02-12

Issue

Section

Research Articles