High-efficiency real-time rice leaf disease classification using convolutional neural network accelerator on FPGA for edge computing in precision agriculture
{"title":"High-efficiency real-time rice leaf disease classification using convolutional neural network accelerator on FPGA for edge computing in precision agriculture","authors":"Jingwen Zheng , Zefei Lv , Dayang Li , Chengbo Lu , Zuxiang Shen , Haotian Chen , Xiwei Huang , Jiye Huang , Dongmei Chen , Jingcheng Zhang","doi":"10.1016/j.measurement.2025.118122","DOIUrl":null,"url":null,"abstract":"<div><div>Convolutional Neural Networks (CNNs) are revolutionizing agriculture, finding widespread applications in tasks such as crop disease detection and yield prediction. However, their high accuracy ability often requires significant computational and memory resources, posing challenges for deployment on resource-constrained edge devices. Lightweight CNNs can reduce computational requirements but still encounter substantial memory access challenges, necessitating further optimization for practical edge deployment. Therefore, this study employed MobileNetV2 for rice leaf disease classification and adapt the model for edge computing by quantizing network parameters to 16-bit for Field-Programmable Gate Array (FPGA) storage, implementing a linear buffering method to reduce parameter read operations, thus alleviating communication bandwidth bottlenecks and improving memory utilization by 28.6 %. High Level Synthesis (HLS) tools were also applied to optimize the FPGA accelerator through loop unrolling, pipelining, and matrix partitioning, enhancing data parallelism and reuse. The optimized design was deployed on a ZYNQ-AC7Z020 FPGA platform, achieving 95.8 % classification accuracy, an inference speed of 53 ms per frame, power consumption of 3.09 W, and a throughput of 35.7 GOPS (Giga Operations Per Second). Memory usage was reduced by 47.1 % without compromising performance. This cost-effective and efficient design offers a robust solution for real-time rice leaf disease classification, balancing resource constraints and operational performance for edge applications in precision agriculture.</div></div>","PeriodicalId":18349,"journal":{"name":"Measurement","volume":"256 ","pages":"Article 118122"},"PeriodicalIF":5.2000,"publicationDate":"2025-06-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0263224125014812","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Convolutional Neural Networks (CNNs) are revolutionizing agriculture, finding widespread applications in tasks such as crop disease detection and yield prediction. However, their high accuracy ability often requires significant computational and memory resources, posing challenges for deployment on resource-constrained edge devices. Lightweight CNNs can reduce computational requirements but still encounter substantial memory access challenges, necessitating further optimization for practical edge deployment. Therefore, this study employed MobileNetV2 for rice leaf disease classification and adapt the model for edge computing by quantizing network parameters to 16-bit for Field-Programmable Gate Array (FPGA) storage, implementing a linear buffering method to reduce parameter read operations, thus alleviating communication bandwidth bottlenecks and improving memory utilization by 28.6 %. High Level Synthesis (HLS) tools were also applied to optimize the FPGA accelerator through loop unrolling, pipelining, and matrix partitioning, enhancing data parallelism and reuse. The optimized design was deployed on a ZYNQ-AC7Z020 FPGA platform, achieving 95.8 % classification accuracy, an inference speed of 53 ms per frame, power consumption of 3.09 W, and a throughput of 35.7 GOPS (Giga Operations Per Second). Memory usage was reduced by 47.1 % without compromising performance. This cost-effective and efficient design offers a robust solution for real-time rice leaf disease classification, balancing resource constraints and operational performance for edge applications in precision agriculture.
期刊介绍:
Contributions are invited on novel achievements in all fields of measurement and instrumentation science and technology. Authors are encouraged to submit novel material, whose ultimate goal is an advancement in the state of the art of: measurement and metrology fundamentals, sensors, measurement instruments, measurement and estimation techniques, measurement data processing and fusion algorithms, evaluation procedures and methodologies for plants and industrial processes, performance analysis of systems, processes and algorithms, mathematical models for measurement-oriented purposes, distributed measurement systems in a connected world.