基于FPGA的YOLOv4-tiny网络的硬件加速与实现OA
Hardware Acceleration and Implementation of YOLOv4-Tiny Network Based on FPGA
目的 为解决在资源受限的情况下,目标检测算法在边缘硬件平台中提高计算性能和能效比,提出了一种基于现场可编程门阵列(Field Programmable Gate Array,FPGA)的边缘硬件平台实现对YOLOv4-tiny网络的加速设计并进行验证.方法 采用了高层次综合技术(High level Synthesis)对算法的算子和模块进行了高度并行的设计与优化.为提高设计吞吐量,采用了双缓冲策略增加系统资源利用率,并利用卷积层与BN(Batch Normalization)层融合和量化模型技术,减少了模型参数量,提高了计算密度.结果 在PYNQ-Z2平台上进行实验,结果表明:加速器的计算性能为15.33 GOPS,总功耗为2.65 W,相较于同类研究的FPGA平台计算性能提高了2.79倍,相较于CPU平台的能效比提高了29.5倍.结论 对YOLOv4-tiny网络在边缘FPGA平台加速效果有所提升,为目标检测算法在硬件平台的加速研究提供了参考.
Objective To enhance the computational performance and energy efficiency ratio of object detection algorithms on edge hardware platforms under resource-constrained conditions,this paper proposes and verifies an edge hardware platform based on field programmable gate array(FPGA)for accelerating the YOLOv4-tiny network.Methods High-level synthesis(HLS)was used to design and optimize the operators and modules of the algorithm in a highly parallel manner.To improve design throughput,a double-buffering strategy was adopted to increase system resource utilization.Additionally,techniques such as fusion of convolutional and batch normalization(BN)layers and model quantization were applied to reduce model parameters and enhance computational density.Results Experiments conducted on the PYNQ-Z2 platform demonstrate that the accelerator achieved a computational performance of 15.33 GOPS with a total power consumption of 2.65 W.Compared to existing FPGA platforms,the proposed design improved computational performance by 2.79 times,while achieving a 29.5-fold increase in energy efficiency ratio compared to CPU platforms.Conclusion The proposed method effectively enhances the acceleration of the YOLOv4-tiny network on edge FPGA platforms,providing a valuable reference for the acceleration research of object detection algorithms on hardware platforms.
李雷;黎远松;石睿
四川轻化工大学计算机科学与工程学院,四川 宜宾 643000四川轻化工大学计算机科学与工程学院,四川 宜宾 643000四川轻化工大学计算机科学与工程学院,四川 宜宾 643000
信息技术与安全科学
现场可编程门阵列高层次综合YOLO硬件加速
field programmable gate arrayhigh-level synthesisYOLOhardware acceleration
《重庆工商大学学报(自然科学版)》 2026 (3)
45-52,8
国家自然科学基金项目资助(42074218).
评论