Cargando…

Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture

As CNNs are widely used in fields such as image classification and target detection, the total number of parameters and computation of the models is gradually increasing. In addition, the requirements on hardware resources and power consumption for deploying CNNs are becoming higher and higher, lead...

Descripción completa

Detalles Bibliográficos
Autores principales: Yan, Fei, Zhang, Zhuangzhuang, Liu, Yinping, Liu, Jia
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9414218/
https://www.ncbi.nlm.nih.gov/pubmed/36015728
http://dx.doi.org/10.3390/s22165967
_version_ 1784775937291714560
author Yan, Fei
Zhang, Zhuangzhuang
Liu, Yinping
Liu, Jia
author_facet Yan, Fei
Zhang, Zhuangzhuang
Liu, Yinping
Liu, Jia
author_sort Yan, Fei
collection PubMed
description As CNNs are widely used in fields such as image classification and target detection, the total number of parameters and computation of the models is gradually increasing. In addition, the requirements on hardware resources and power consumption for deploying CNNs are becoming higher and higher, leading to CNN models being restricted to certain specific platforms for miniaturization and practicality. Therefore, this paper proposes a convolutional-neural-network-processor design with an FPGA-based resource-multiplexing architecture, aiming to reduce the consumption of hardware resources and power consumption of CNNs. First, this paper takes a handwritten-digit-recognition CNN as an example of a CNN design based on a resource-multiplexing architecture, and the prediction accuracy of the CNN can reach 97.3 percent by training and testing with Mnist dataset. Then, the CNN is deployed on FPGA using the hardware description language Verilog, and the design is optimized by resource multiplexing and parallel processing. Finally, the total power consumption of the system is 1.03 W and the power consumption of the CNN module is 0.03 W under the premise of guaranteeing the prediction accuracy, and the prediction of a picture is about 68,139 clock cycles, which is 340.7 us under a 200 MHz clock. The experimental results have obvious advantages in terms of resources and power consumption compared with those reported in related articles in recent years, and the design proposed in this paper.
format Online
Article
Text
id pubmed-9414218
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-94142182022-08-27 Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture Yan, Fei Zhang, Zhuangzhuang Liu, Yinping Liu, Jia Sensors (Basel) Article As CNNs are widely used in fields such as image classification and target detection, the total number of parameters and computation of the models is gradually increasing. In addition, the requirements on hardware resources and power consumption for deploying CNNs are becoming higher and higher, leading to CNN models being restricted to certain specific platforms for miniaturization and practicality. Therefore, this paper proposes a convolutional-neural-network-processor design with an FPGA-based resource-multiplexing architecture, aiming to reduce the consumption of hardware resources and power consumption of CNNs. First, this paper takes a handwritten-digit-recognition CNN as an example of a CNN design based on a resource-multiplexing architecture, and the prediction accuracy of the CNN can reach 97.3 percent by training and testing with Mnist dataset. Then, the CNN is deployed on FPGA using the hardware description language Verilog, and the design is optimized by resource multiplexing and parallel processing. Finally, the total power consumption of the system is 1.03 W and the power consumption of the CNN module is 0.03 W under the premise of guaranteeing the prediction accuracy, and the prediction of a picture is about 68,139 clock cycles, which is 340.7 us under a 200 MHz clock. The experimental results have obvious advantages in terms of resources and power consumption compared with those reported in related articles in recent years, and the design proposed in this paper. MDPI 2022-08-10 /pmc/articles/PMC9414218/ /pubmed/36015728 http://dx.doi.org/10.3390/s22165967 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Yan, Fei
Zhang, Zhuangzhuang
Liu, Yinping
Liu, Jia
Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title_full Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title_fullStr Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title_full_unstemmed Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title_short Design of Convolutional Neural Network Processor Based on FPGA Resource Multiplexing Architecture
title_sort design of convolutional neural network processor based on fpga resource multiplexing architecture
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9414218/
https://www.ncbi.nlm.nih.gov/pubmed/36015728
http://dx.doi.org/10.3390/s22165967
work_keys_str_mv AT yanfei designofconvolutionalneuralnetworkprocessorbasedonfpgaresourcemultiplexingarchitecture
AT zhangzhuangzhuang designofconvolutionalneuralnetworkprocessorbasedonfpgaresourcemultiplexingarchitecture
AT liuyinping designofconvolutionalneuralnetworkprocessorbasedonfpgaresourcemultiplexingarchitecture
AT liujia designofconvolutionalneuralnetworkprocessorbasedonfpgaresourcemultiplexingarchitecture