International Journal of Applied Science and Engineering
Published by Chaoyang University of Technology

Van-Khanh Nguyen 1*, Vy-Khang Tran 1, Chi-Ngon Nguyen 1

1 Faculty of Automation Engineering, College of Engineering, Can Tho University, Can Tho, 94000, Vietnam


 

Download Citation: |
Download PDF


ABSTRACT


Bactrocera Dorsalis is a major agricultural insect that severely damages many fruit crops in Southeast Asia. Many integrated pest management (IPM) plans have been implemented to minimize its impact. However, these programs often rely on traditional traps to manually capture and count fruit flies, which is time-consuming and laborious. Current electronic traps have many limitations and face various challenges in their practical implementation. The purpose of this study is to take the first step in developing an electronic trap device capable of automatically collecting the characteristic data of fruit flies that enter the trap over an extended period. Two types of sensors, infrared and sound, were integrated into the trap to gather data on the characteristic behaviors of fruit flies, including trap entry behavior and wingbeat sounds. Analysis of the collected data shows that using infrared data to detect the intrusion of fruit flies into traps achieves an accuracy of 90.72%. Additionally, infrared data revealed several unusual behaviors of the flies while entering the trap, such as entering consecutively, moving around the sensor, and remaining stationary. These behaviors significantly affect the accuracy of counting the number of flies entering the trap but have not been thoroughly analyzed in previous studies. The size of the fruit flies also affected the reliability of the collected data. Moreover, the wingbeat sound data of fruit flies contain distinct frequency characteristics in two ranges: 0–2000 Hz and 5000–8000 Hz, differentiating them from other sound sources. When combining both infrared and sound data, the system could simultaneously detect and count flies entering the trap with an accuracy of 88%. These results suggest that integrating infrared and sound sensors can serve as a new approach for designing traps to monitor fruit fly populations over extended periods because dead flies accumulating at the bottom of the trap do not interfere with the sensors. The use of sound data also opens the possibility of embedding artificial intelligence directly into the trap, enabling it to operate independently, consume minimal energy, and reduce bandwidth usage, etc paving the way for a large-scale fruit fly monitoring system.


Keywords: Electronic trap, Embedded system, Data acquisition system, Insect recognition, Automatic monitoring system, Wingbeat frequencies.


Share this article with your colleagues

 


REFERENCES


  1. Abeijon, L.M., Birkhan, J., Lee, J.C., Ovruski, S.M., Garcia, F.R.M. 2025. Global trends in research on biological control agents of Drosophila suzukii: A systematic review. Insects, 16(2), 133.

  2. Aluja, M. 1994. Bionomics and management of Anastrepha. Annual review of entomology, 39(1), 155–178.

  3. Cardim Ferreira Lima, M., Damascena de Almeida Leandro, M.E., Valero, C., Pereira Coronel, L.C., Gonçalves Bazzo, C.O. 2020. Automatic detection and monitoring of insect pests—A Review. Agriculture, 10(5), 161.

  4. Deqin, X., Qiumei, Y., Junqian, F., Xiaohui, D., Jianzhao, F., Yaowen, Y., Yongyue, L. 2016. A multi-target trapping and tracking algorithm for Bactrocera Dorsalis based on cost model. Computers and electronics in agriculture, 123, 224–231.

  5. Dias, N.P., Zotti, M.J., Montoya, P., Carvalho, I.R., Nava, D.E. 2018. Fruit fly management research: A systematic review of monitoring and control tactics in the world. Crop Protection, 112, 187–200.

  6. Diller, Y., Shamsian, A., Shaked, B., Altman, Y., Danziger, B.-C., Manrakhan, A., Serfontein, L., Bali, E., Wernicke, M., Egartner, A. 2023.A real-time remote surveillance system for fruit flies of economic importance: sensitivity and image analysis. Journal of Pest Science, 96(2), 611–622.

  7. Doitsidis, L., Fouskitakis, G.N., Varikou, K.N., Rigakis, I.I., Chatzichristofis, S.A., Papafilippaki, A.K., Birouraki, A.E. 2017. Remote monitoring of the Bactrocera oleae (Gmelin) (Diptera: Tephritidae) population using an automated McPhail trap. Computers and electronics in agriculture, 137, 69–78.

  8. El-Gendy, I.R., El-Banobi, M.I., Villanueva-Jimenez, J.A. 2021. Bio-pesticides alternative diazinon to control peach fruit fly, Bactrocera zonata (Saunders) (Diptera: Tephritidae). Egyptian journal of biological pest control, 31, 1–8.

  9. Enkerlin, W. 2021. Impact of fruit fly control programmes using the sterile insect technique. In sterile insect technique (pp. 979–1006). CRC Press.

  10. Goldshtein, E., Cohen, Y., Hetzroni, A., Gazit, Y., Timar, D., Rosenfeld, L., Grinshpon, Y., Hoffman, A., Mizrach, A. 2017. Development of an automatic monitoring trap for Mediterranean fruit fly (Ceratitis capitata) to optimize control applications frequency. Computers and electronics in agriculture, 139, 115–125.

  11. Hahn, F., Valle, S., Rendón, R., Oyorzabal, O., and Astudillo, A. 2023. Mango fruit fly trap detection using different wireless communications. Agronomy, 13(7), 1736.

  12. He, Y., Xu, Y., Chen, X. 2023. Biology, ecology and management of tephritid fruit flies in China: A review. insects, 14(2), 196.

  13. Hien, N.T., Trang, V.T., Thanh, V.V., Lien, H.K., Thang, D. Đ., Xuyen, L.T., Pereira, R. 2019. Fruit fly area-wide integrated pest management in dragon fruit in binh thuan province, Viet Nam. In Area-Wide Management of fruit fly pests (pp. 343–347). CRC Press.

  14. Holguin, G. A., Lehman, B.L., Hull, L.A., Jones, V.P., Park, J. 2010. Electronic traps for automated monitoring of insect populations. IFAC Proceedings Volumes, 43(26), 49–54.

  15. Hsu, J.-C., Feng, H.-T., Wu, W-J. 2004. Resistance and synergistic effects of insecticides in Bactrocera dorsalis (Diptera: Tephritidae) in Taiwan. Journal of economic entomology, 97(5), 1682–1688.

  16. Huang, R., Yao, T., Zhan, C., Zhang, G., Zheng, Y. 2021. A motor-driven and computer vision-based intelligent e-trap for monitoring citrus flies. Agriculture, 11(5), 460.

  17. Hussain, D., Saleem, M., Abbas, M., Ali, Q., Qasim, M., Hafeez, F., Ashrif, M., Zubair, M., Saleem, M.J., Ghouse, G. 2022. Monitoring and management of fruit fly population using the male annihilation technique with different types of cost-effective traps in guava orchards of punjab, Pakistan. International journal of pest management, 1–9.

  18. Invensense. 2025. INMP441. Retrieved 24 March from https://invensense.tdk.com/wp-content/uploads/2015/02/INMP441.pdf

  19. Jiang, J.-A., Tseng, C.-L., Lu, F.-M., Yang, E.-C., Wu, Z.-S., Chen, C.-P., Lin, S.-H., Lin, K.-C., Liao, C.-S. 2008. A GSM-based remote wireless automatic monitoring system for field information: A case study for ecological monitoring of the oriental fruit fly, Bactrocera dorsalis (Hendel). computers and electronics in agriculture, 62(2), 243–259.

  20. Khalid, A., Anjum, M.L., Naveed, S., Hussain, W. 2025. Whispers in the air: Designing acoustic classifiers to detect fruit flies from afar. Smart agricultural technology, 10, 100738.

  21. Le, A.D., Pham, D.A., Pham, D.T., Vo, H.B. 2021. AlertTrap: A study on object detection in remote insects trap monitoring system using on-the-edge deep learning platform. arXiv preprint arXiv:2112.13341.

  22. Lello, F., Dida, M., Mkiramweni, M., Matiko, J., Akol, R., Nsabagwa, M., Katumba, A. 2023. Fruit fly automatic detection and monitoring techniques: A review. Smart Agricultural Technology, 100294.

  23. Liao, M.-S., Chuang, C.-L., Lin, T.-S., Chen, C.-P., Zheng, X.-Y., Chen, P.-T., Liao, K.-C., Jiang, J. A. 2012. Development of an autonomous early warning system for Bactrocera dorsalis (Hendel) outbreaks in remote fruit orchards. Computers and Electronics in Agriculture, 88, 1–12.

  24. Macharia, I.N., Mithöfer, D., Waibel, H. 2009. Potential environmental impacts of pesticides use in the vegetable sub-sector in Kenya. African Journal of Horticultural Science, 2, 138–151.

  25. Mandanayake, M.A., Shohaimi, S., Ghani, N.I., Hee, A.K. 2023. Establishment of non-methyl eugenol-responding lines from feral Oriental fruit fly, Bactrocera dorsalis (Hendel) (Diptera Tephritidae). Phytoparasitica, 51(3), 425–436.

  26. Mankin, R., Machan, R., Jones, R. 2006. Field testing of a prototype acoustic device for detection of Mediterranean fruit flies flying into a trap. Proceedings of the 7th International symposium on fruit flies of economic importance, Salvador, Brazil,

  27. Martins, V.A., Freitas, L.C., de Aguiar, M.S., de Brisolara, L.B., Ferreira, P.R. 2019. Deep learning applied to the identification of fruit fly in intelligent traps. 2019 IX Brazilian symposium on computing systems engineering (SBESC),

  28. Molina-Rotger, M., Morán, A., Miranda, M.A., Alorda-Ladaria, B. 2023. Remote fruit fly detection using computer vision and machine learning-based electronic trap. Frontiers in Plant Science, 14, 1241576.

  29. Nanni, L., Manfè, A., Maguolo, G., Lumini, A., Brahnam, S. 2022. High performing ensemble of convolutional neural networks for insect pest image detection. Ecological Informatics, 67, 101515.

  30. Nguyen, V.-K., Tran, V.-K., Pham, H., Nguyen, V.-M., Nguyen, H.-D., and Nguyen, C.-N. 2023. A multi-microcontroller-based hardware for deploying tiny machine learning model. International Journal of Electrical and Computer Engineering (IJECE), 13(5), 5727–5736.

  31. Oanh, N.T., Duc, H.D. 2020. An initial investigation of pest species on Dai Loan mango planting in Cao Lanh city, Dong Thap province, Vietnam. Tạp chí Khoa học Đại học Đồng Tháp, 9(5), 68–76.

  32. Papadopoulos, N.T., De Meyer, M., Terblanche, J.S., Kriticos, D.J. 2024. Fruit flies: Challenges and opportunities to stem the tide of global invasions. Annual Review of Entomology, 69(1), 355–373.

  33. Potamitis, I., Rigakis, I., Fysarakis, K. 2014. The electronic McPhail trap. Sensors, 14(12), 22285–22299.

  34. Potamitis, I., Rigakis, I., Tatlas, N.-A. 2017. Automated surveillance of fruit flies. Sensors, 17(1), 110.

  35. Potamitis, I., Rigakis, I., Vidakis, N., Petousis, M., Weber, M. 2018. Affordable bimodal optical sensors to spread the use of automated insect monitoring. Journal of Sensors, 2018(1), 3949415.

  36. Remboski, T.B., de Souza, W. D., de Aguiar, M.S., Ferreira Jr, P.R. 2018. Identification of fruit fly in intelligent traps using techniques of digital image processing and machine learning. Proceedings of the 33rd Annual ACM symposium on applied computing,

  37. Sandrini Moraes, F., Edson Nava, D., Scheunemann, T., Santos da Rosa, V. 2019. Development of an optoelectronic sensor for detecting and classifying fruit fly (Diptera: Tephritidae) for use in real-time intelligent traps. Sensors, 19(5), 1254.

  38. Shaked, B., Amore, A., Ioannou, C., Valdés, F., Alorda, B., Papanastasiou, S., Goldshtein, E., Shenderey, C., Leza, M., Pontikakos, C. 2018. Electronic traps for detection and population monitoring of adult fruit flies (Diptera:Tephritidae). Journal of Applied Entomology, 142(1–2), 43–51.

  39. Tran, H., Van, H.N., Muniappan, R., Amrine, J., Naidu, R., Gilbertson, R., Sidhu, J. 2019. Integrated pest management of longan (Sapindales: Sapindaceae) in vietnam. journal of integrated pest management, 10(1), 18.

  40. Urbaneja, A., Grout, T.G., Gravena, S., Wu, F., Cen, Y., Stansly, P.A. 2020. Citrus pests in a global world. In the genus citrus (pp. 333–348). Elsevier.

  41. Vontas, J., Hernández-Crespo, P., Margaritopoulos, J.T., Ortego, F., Feng, H.-T., Mathiopoulos, K.D., Hsu, J.-C. 2011. Insecticide resistance in Tephritid flies. Pesticide biochemistry and physiology, 100(3), 199–205.

  42. Webb, J., Sharp, J., Chambers, D., Benner, J. 1976. Acoustical properties of the flight activities of the Caribbean fruit fly. journal of experimental biology, 64(3), 761–772.

  43. Weems, H.V., Heppner, J.B., Nation, J.L., Fasulo, T.R. 2012. Oriental fruit fly, bactrocera dorsalis (Hendel) (Insecta: diptera: tephritidae): EENY-083/IN240, rev. 3/2012. EDIS, 2012(3).


ARTICLE INFORMATION


Received: 2025-04-11
Revised: 2025-07-14
Accepted: 2025-08-20
Available Online: 2025-09-23


Cite this article:

Nguyen, V.K., Tran, V.K., Nguyen, C.N., 2025. Towards fruit fly automatic counting: Electronic trap design and long-term feature data acquisition. International Journal of Applied Science and Engineering, 22, 2025102. https://doi.org/10.6703/IJASE.202509_22(3).004

  Copyright The Author(s). This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are cited.