预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共62页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

哈尔滨工程大学本科生毕业论文 基于FPGA的自动调焦电路 设计与实现 院(系):信息与通信工程学院 专业:电子信息工程 学号: 学生姓名: 指导教师:副教授 2009年6月哈尔滨工程大学本科生毕业论文 摘要 随着超大规模集成电路的发展以及现代光学仪器设备在智能化、简便化方面的突破,令数字光学设备迅速普及。数字信号处理理论的成熟与发展使得基于数字信号处理方式的自动调焦成为可能。 本设计使用FPGA作为数字信号处理与系统控制的核心器件。将由摄像头输入的模拟电视信号转换为数字电视信号;经过FPGA处理后再将其转换为模拟电视信号输出,并由电视机显示;同时FPGA控制电机的进退实现自动调焦。 系统硬件部分以FPGA为核心,搭载输入视频处理器SAA7111AHZ与数字视频编码器SAA7120以及RAM等其他附属电路。系统软件部分使用I2C总线实现对输入视频处理器和数字视频编码器的初始化,实现PAL制式模拟电视信号-YUV数字电视信号-PAL制式模拟电视信号的转换,并使用电视机将其输出。根据复合视频图像信号的相关原理,对输入视频的中心区域进行灰度熵值的运算,并控制电机的转动方向以阈值法实现自动调焦。 在本设计中,完成了相关的软件和硬件设计,并经过调试后,能够实现较好效果的自动调焦。 关键词:FPGA;灰度熵;输入视频处理器;数字视频编码器 Abstract Thedigtalopticalequipmentsbecomepopular,withthedevelopmentofvery-large-scaleintegratedcircuitsandthemajorbreakthroughofthemodernopticalequipmentsinintelligentizatingandfacilitatingprocess.Theautomaticfocusingwhichbasedondigitalsignalprocessingcanberealized. Inthisdesgin,FPGAisthekeycomponentofdigitalsignalprocessingandsystemcontrol.Firstly,ananalogTVsignalcapturedbythecameraistransformedtoadigitalTVsignal;andthenthedigtalTVsignalisprocessedbyFPGAandfinallyitistransformedtoananalogTVsignaloutput;atthesametime,theautomaticfocusingisrealizedbythemotorcontroledbyFPGA. Inthehardwarepartofthesystem,FPGAisusedasthekeycomponent,withaccessorycircuitsuchasvideoinputprocessor,digitalvideoencoderandsoon.Inthesoftwarepart,thevideoinputprocessoranddigitalvideoencoderisinitializedthroghtheI2CbusinordertorealizetheinterconversionofPALstandardanalogTVsignalsandYUVdigitalTVsignals,whicharetheoutputofmonitor.Accordingtothetheoryofcompositevideosignal,thesystemselectsthecenterpartoftheinputvideoandcalculatesitsgrayregionentropy,thencontrolthemotorrotationtorealizeautomaticfocusingusingthethresholdingmethod. Inthisdesign,therelevantsoftwareandhardwarearecompleted,andcanbringautomaticfocusingintoeffectwellaftertesting. Keywords:FPGA;Grayentropy;VideoInputProcessor;DigitalVideoEncoder 目录TOC\o"1-3"\h\z\u HYPERLINK\l"_Toc233426990"第1章绪论 PAGEREF_Toc233426990\h1 HYPERLINK\l"_Toc233426991"1.1