TANG Wei, LIU Hui-zhong, LIAN Yu-yang, WANG Zhen, PEI Zhi-yong. Design of industrial digital camera system based on FPGA[J]. , 2015,30(1): 103-108 DOI: 10.3788/YJYXS20153001.0103.
Design of industrial digital camera system based on FPGA
通过调用Altera IP核DDRII SDRAM controller with ALTMEMPHY和FIFO存储器设计了DDR2 SDRAM的接口
将图像数据缓存到DDR2存储器中
最后通过SPI总线接口在液晶屏上显示图像
可达到53帧/s图像的速度.系统代码共需约5 000个逻辑单元
3 704个寄存器
117个引脚.将设计代码下载到系统芯片中后
系统可以清晰显示所拍到的画面.设计结果表明
基于FPGA的工业数字摄像机设计灵活
易于移植
可实现高速图像采集和传输.
Abstract
A type of industrial digital camera system based on FPGA is designed because that the traditional one is inflexible and bad real-time. It combines the industrial digital camera and FPGA. The image sensor which acquire the image data is controlled by FPGA through the I
2
C bus interface. FPGA transforms the Bayer image into RGB image and then stores the image data to DDR2 SDRAM whose interface are designed through Altera IP core-DDRII SDRAM controller with ALTMEMPHY. The image is shown on LCD screen through the SPI bus interface finally. And it can capture 53 frames per second. The system needs about 5 000 logic elements
3 704 registers and 117 pins. After the code is downloaded to the system chip
the system can clearly display the captured screen. The result shows that the industrial digital camera system based on FPGA has the advantages of flexible design
easy to replant and the ability of high-speed image capture and transmission.
关键词
Keywords
references
樊博,王延杰,孙宏海,等. FPGA实现高速实时多端口图像处理系统的研究[J]. 液晶与显示, 2012, 28(4):620-625. Fan B, Wang Y J, Sun H H, et al.High speed real-time multiport image processing system realized on FPGA [J].Chinese Journal of Liquid Crystals and Displays,2012, 28(4):620-625. (in Chinese)[2] 刘波文,张军,何用. FPGA嵌入式项目开发 [M].北京:北京航空航天大学出版社,2012:117-331. Liu B W, Zhang J, He Y, et al.FPGA Embedded Project Development [M].Beijing: Beihang University Press,2012:117-331. (in Chinese)[3] 刘延飞,郭锁利,王晓戎,等.基于Altera FPGA/CPLD的电子系统设计及工程实践 [M].北京:人民邮电出版社,2009:252-288. Liu Y F, Guo S L, Wang X R, et al.Electronic System Design and Engineering Practice Based on Altera FPGA/CPLD [M].Beijing: Posts & Telecom Press,2009:252-288. (in Chinese)[4] 朱奕丹,方怡冰. 基于FPGA的图像采集与VGA显示系统[J]. 计算机应用, 2011,31(5):1258-1261. Zhu Y D, Fang Y B. Image acquisition and VGA display system based on FPGA [J].Journal of Computer Applications,2011, 31(5):1258-1261.(in Chinese)[5] 左事君,刘新朝,何巧珍,等. 基于FPGA的高清视频采集与显示系统设计[J]. 电子技术应用, 2011, 37(06):56-58. Zuo S J, Liu X C, He Q Z, et al.Design of high definition video acquisition and display system based on FPGA [J].Application of Electronic Technique,2011, 37(06):56-58.(in Chinese)[6] 郭永彩,苏渝维,高潮. 基于FPGA的红外图像实时采集系统设计与实现[J]. 仪器仪表学报, 2011, 32(3):514-519. Guo Y C, Su Y W, Gao C. Design and implementation of real-time infrared image collection system based on FPGA [J].Chinese Journal of Scientific Instrument,2011, 32(3):514-519. (in Chinese)[7] 郑佳,李永亮,李娜. 基于FPGA的DDR控制器的实现[J]. 无线电工程, 2007,37(10):23-25. Zheng J, Li Y L, Li N. Implementation of DDR controller based on FPGA [J].Radio Engineering,2007, 37(10):23-25. (in Chinese)