首页 | 本学科首页   官方微博 | 高级检索  
     

基于FPGA的步进电机驱动及自动聚焦的实现
引用本文:张文爱,李逢磊,程永强.基于FPGA的步进电机驱动及自动聚焦的实现[J].电子技术应用,2008,34(5):31-33.
作者姓名:张文爱  李逢磊  程永强
作者单位:太原理工大学信息工程学院,山西太原,030024
摘    要:基于Xilinx公司的Spartan-IIE系列FPGA XC2S300E-6-PQ208C完成了一种聚焦马达驱动及自动聚焦的完整设计。该设计接收CCD图像传感器套件输出的图像信号,采用一种改进的灰度差分法作为聚焦评价函数,即将一场图像的所有像素的亮度值与周围像素的亮度值差的绝对值的和作为聚焦评价函数,根据相邻同场的聚焦评价函数的比较结果,配合相应的搜索策略来控制步进电机的转动方向,实现图像的自动聚焦。实际实现的聚焦效果优于改进前的聚焦算法。

关 键 词:FPGA  步进电机  自动聚焦  聚焦评价函数
修稿时间:2007年11月10

The implementation of step-motor drive and auto-focus based on FPGA
ZHANG Wen Ai,LI Feng Lei,CHENG Yong Qiang.The implementation of step-motor drive and auto-focus based on FPGA[J].Application of Electronic Technique,2008,34(5):31-33.
Authors:ZHANG Wen Ai  LI Feng Lei  CHENG Yong Qiang
Affiliation:ZHANG Wen Ai,LI Feng Lei,CHENG Yong Qiang (College of Information Engineering of TUT,Taiyuan 030024,China)
Abstract:A kind of step -motor drive and auto -focus is designed with Xilinx company′s Spartan – IIE series FPGA XC2S300E-6-PQ208C. The design receives the image signal from CCD sensor. The design utilizes an improved gray scale differen- tial algorithm as focus value. The sum of the gray scale differential absolute value of an image is used as the focus value. Accord- ing to the comparing result of two adjacent fields and utilizing some search strategy to control the remove of step-motor, the image can be auto-focused.
Keywords:FPGA
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号