APP下载

基于单片机和CPLD的图像采集处理系统设计

2018-03-09兰宁发邓环宇王麓淞王意罗郑之鹏

科技创新与应用 2018年7期
关键词:单片机

兰宁发+邓环宇+王麓淞+王意罗+郑之鹏

摘 要:图像采集是获取图像信息的主要来源,以往图像采集处理需要高速、高性能处理器完成,低端单片机很难实时采集处理图像。文章以Cortex M3架构的ARM(STM32F103VCT6)和CPLD(EPM240T100)作为核心,加上OV5640自动对焦摄像头设计了一款数字图像采集处理系统。采用CPLD高速采集图形,以及图像预处理,这样降低了后面处理器标准,使得低端单片机也能够处理数字图像。单片机与CPLD采用SPI总线传输数据,图像采集和处理同时进行,提高了系统的工作效率。图像经过数字化处理,在液晶屏上显示,也可以存储在SD卡或无线传输到计算机以及手机上。系统设计了GPS系统,自动将拍摄的地点、经纬度(GPS信息)和时间整合,作为照片和图像数字资料。通过数字图像处理,照片能够呈现特殊效果。

关键词:图像采集;单片机;CPLD

中图分类号:TM91 文献标志码:A 文章编号:2095-2945(2018)07-0035-02

Abstract: Image acquisition is the main source of obtaining image information. In the past, image acquisition and processing needed high-speed and high-performance processors. It is very difficult for the low end microcontroller unit (MCU) to collect and process images in real time. In this paper, taking Cortex M3 architecture of the ARM (STM32F103VCT6) and CPLD (EPM240T100) as the core, plus OV5640 automatic focus camera, a digital image acquisition and processing system is designed. The use of CPLD high-speed graphics acquisition, and image preprocessing has reduced the standards of the processor behind, so that the low-end single-chip computer can also process digital images. Single chip microcomputer and CPLD adopt SPI bus to transmit data, so image acquisition and processing are carried out simultaneously, which improves the efficiency of the system. The images are digitally processed and displayed on the LCD screen. They can also be stored on SD cards or transmitted wirelessly to computers and mobile phones. The system designs a GPS system, which automatically integrates the location, latitude and longitude of shooting information with time so as to be used as the digital data of photos and images. Through digital image processing, photos can present special effects.

Keywords: image acquisition; microcontroller unit (MCU); CPLD

圖像处理是计算机人工智能重要组成部分,图像采集处理对计算机的要求也比较高。数码相机、智能机器人低端单片机完成图像实时采集处理很难实现,低成本当今社会人们的生活越来越好,追求生活多样化,数码相机的出现大大节省了普通摄影爱好者成本,人人都能当摄影家。随着计算机嵌入式技术的发展,使得数码照相技术从传感器采样到图像数字化处理的能力大大提高。图像信息是人们获得外界信息的主要来源,视觉检测在工业检测领域也处于比较重要的地位。嵌入式系统的体积较小,功耗较低,应用场合灵活,因此在图像采集和处理领域的应用逐渐增多。……

登录APP查看全文

猜你喜欢

单片机
基于单片机的SPWM控制逆变器的设计与实现
基于单片机的层次渐变暖灯的研究
基于单片机的多功能智能插排
基于单片机的便捷式LCF测量仪
小议PLC与单片机之间的串行通信及应用
MSP430单片机在仿真中要注意的几点问题
基于单片机的平衡控制系统设计
基于单片机的三维LED点阵设计
Microchip推出两个全新PIC单片机系列
基于Proteus的单片机控制系统的仿真设计