文档详情

基于fpga的自动调焦电路设计与实现(含pcb图)大学学位论文.doc

发布:2017-04-02约2.51万字共61页下载文档
文本预览下载声明
哈尔滨工程大学本科生毕业论文 院 (系):学院 专 业: 学 号: 学 生 姓 名: 指 导 教 师: 副教授 200年月 摘  要 本设计使用FPGA作为数字信号处理与系统控制的核心器件。将由摄像头输入的模拟电视信号转换为数字电视信号;经过FPGA处理后再将其转换为模拟电视信号输出,并由电视机显示;同时FPGA控制电机的进退实现自动调焦。 系统硬件部分以FPGA为核心,搭载输入视频处理器SAA7111AHZ与数字视频编码器SAA7120以及RAM等其他附属电路。系统软件部分使用I2C总线实现对输入视频处理器和数字视频编码器的初始化,实现PAL制式模拟电视信号-YUV数字电视信号-PAL制式模拟电视信号的转换,并使用电视机将其输出。根据复合视频图像信号的相关原理,对输入视频的中心区域进行灰度熵值的运算,并控制电机的转动方向以阈值法实现自动调焦。 在本中,完成了相关的软件和硬件设计,并经过调试后,。关键词: Abstract The digtal optical equipments become popular,with the development of very-large-scale integrated circuits and the major breakthrough of the modern optical equipments in intelligentizating and facilitating process. The automatic focusing which based on digital signal processing can be realized. In this desgin, FPGA is the key component of digital signal processing and system control.Firstly, an analog TV signal captured by the camera is transformed to a digital TV signal; and then the digtal TV signal is processed by FPGA and finally it is transformed to an analog TV signal output; at the same time, the automatic focusing is realized by the motor controled by FPGA. In the hardware part of the system,FPGA is used as the key component,with accessory circuit such as video input processor, digital video encoder and so on.In the software part, the video input processor and digital video encoder is initialized throgh the I2C bus in order to realize the interconversion of PAL standard analog TV signals and YUV digital TV signals ,which are the output of monitor. According to the theory of composite video signal,the system selects the center part of the input video and calculates its gray region entropy , then control the motor rotation to realize automatic focusing using the thresholding method. In this design, the relevant software and hardware are completed, and can bring automatic focusing into effect well after testing . Key words: FPGA;Gray entropy; Video
显示全部
相似文档