一种基于CPLD的图像动态采集方法
《中国测试技术》杂志社csjs

吴泽勇,樊庆文
(四川大学制造科学与工程学院,四川 成都 610065)
 
摘要:提出了一种图像动态采集方法,用光栅位移传感器替代传统步进电机装置确定摄像头位置,将原来以步进电机驱动为核心技术的主动定位变为从动定位,引入光栅传感器作为定位元件,省掉了驱动电源、步进电机、减速机构等装置,大幅度减小体积和重量。用89S51和CPLD(大规模可编程逻辑器件)设计控制模块,采集处理光栅信号,实时发送摄像头控制信号。采用VHDL语言编制控制程序,简化了硬件逻辑设计过程,电路简洁,控制可靠。可广泛用于等距序列图像采集、空间物体的多图像定位、三维物体或场景的反求等。
 
关键词:光栅;图像采集;CPLD;VHDL
 
中图分类号:TP332.1 文献标识码:A 文章编号:1672-4984(2006)03-0086-03
Method of dynamical image collection based on CPLD
WU Ze-yong ,FAN Qing-wen
(College of Manufacturing Science and Engineering,Sichuan University,Chengdu 
610065,China)
 
Abstract: This article presents an image collection method based on CPLD. It can get the position of the camera by grating sensor instead of traditional stepper motor. Thus the active orientation driven by stepper motor changes to passive one by grating sensor and it doesn’t need strong driving power, the stepper motor or the reduction device. It improves precision and reduces the volume and weight. The control system is designed with 89S51 and CPLD(Complex Programmable Logic Device). It gathers and deals with signal of grating and sends CCD camera instructing signal in real time. It also simplifies the logic design process of the hardware because of the VHDL. The circuit is simple and reliable. This system can be used in collection of serial images, orientation by multiple images and reverse engineering of 3D objects.
 
Key words:Grating;Image collection;CPLD;VHDL