【正文】
編號 本科生畢業(yè)論文 基于 The Subject of based on the design of digital camera 20xx年 6 月 摘要 隨著電腦外設(shè)和數(shù)碼產(chǎn)品的不斷發(fā)展,各種設(shè)備與 PC 機之間的接口成為當(dāng)前需要解決的難題。 USB是由 Intel, Compaq, Microsoft等七家著名的計算機和通信 公司于 1994 年推出的通用串行總線,它的出現(xiàn)大大簡化了 PC 機和外設(shè)的連接過程,使 PC 機接口的擴(kuò)展變得更加容易。 USB具備其它總線無法比擬的優(yōu)點,比如支持熱插拔、傳輸速度快且穩(wěn)定、低耗能等等。目前, USB 己成為微機與外圍設(shè)備通信的首選接口。尤其是 協(xié)議的發(fā)布,是 USB 技術(shù)發(fā)展史上的里程碑,它在 ,其理論傳輸速度可達(dá)到480Mb/s,為計算機與外設(shè)的高速數(shù)據(jù)交換提供了可能。 本文對 USB 接口技術(shù)的基本原理進(jìn)行了較詳盡的研究,詳細(xì)介紹了基于 本組成框架。考慮到數(shù)字成像和 USB技術(shù)都是近些年來的熱點技術(shù),本文以一種 ,給出了該系統(tǒng)的解決方案。文章首先概括的介紹了 USB形成的背景、 USB接口的優(yōu)點、 USB層次結(jié)構(gòu)、 USB的通信協(xié)議、 USB的數(shù)據(jù)傳輸方式等等。然后,重點論述了基于 技術(shù)的圖像采集系統(tǒng)的設(shè)備端和主機端軟、硬件的設(shè)計與實現(xiàn)方法。在硬件方面,在對 USB 接口芯片 CY7C68013 和 CMOS 圖像傳感器芯片 OV7620 的功能結(jié)構(gòu)進(jìn)行分析的基礎(chǔ)上,提出了系統(tǒng)硬件電路的設(shè)計方案,就主要功能模塊的實現(xiàn)進(jìn)行了論述。 在本設(shè)計中,選用 OV7620實現(xiàn)視頻圖像的采集,選用 Cypress公司的 USB接口芯片 CY7C68013實現(xiàn)圖像采集系統(tǒng)中的接口功能,完成圖像數(shù)據(jù)的傳輸 。在軟件方面,詳細(xì)地介紹了 USB接口芯片的固件程序、驅(qū)動程序的開發(fā)流程。 關(guān)鍵詞 :, OV7620, CY7C68013,固件,驅(qū)動程序 Abstract With the development of PC peripherals and digital products, the interface and connection between them and PC has bee a difficult problem. The USB Specification was proposed by Intel, ComPaq, MicrosotfnadohtereomPnaiesin1994,its emergence simplified the connection between PC and PC peripherals, and made PC interface extension to bee more easier. It has more advantages than other bus,such as supporting of hot insertamp。Plug, high transmission speed and low expense. Now USB has been widely used in PC peripherals and it has bee one of the best selections in many buses. Especially the revision of the USB specification is issued, which is the landmak in the USB history. Its transmission speed Is 480Mb/s. So it39。s Possible to realize the high transmission speed bewteen PC and the Peripherals. This paper researched the basic principle of USB technology in detail, and introduced the basic frame of an application system based on in detail. In consideration of the digital imaging and USB technology are hot techniques in recent years, we select a image acquisition system to be example, and give the solution of that paper generalized the developing background and the advantages of USB, the hierarchical structure Including protocol, and transmission means of data etc briefly. Then the design and implementation of the hardware and software on both host and device sides of an image acquisition system based on are demonstrated in detail. In hardware segment, after analyzing the features of USB interface chip CY7C68013 and CMOS image sensor OV7620, the paper proposes the layout o f the circuit design and the implementation of the main functional modules is introduced in detail, In this design, we select CMOS image sensor OV7620 to plete the image acquisition, and select USB interface chip CY7C68013 to plete the image transmission. In software segment firm ware design and device driver areintroduced in detail. KeyWords:, OV7620, CY7C68013, Firmware, Drvier 目錄 第一章:緒論 ................................................................................................................ 1 ....................................................................... 1 ............................................................................................... 1 ....................................................................................... 1 ....................................................................... 2 第二章 :系統(tǒng)框架 ...................................................................................................... 3 ............................................................................................. 3 ............................................................................................... 8 第三章 系統(tǒng)硬件設(shè)計 ................................................................................................ 12 系統(tǒng)總體方案與基本原理 ............................................................................ 12 ......................................................................................... 12 EEPROM電路設(shè)計 .................................................................................... 13 CY7C68013 與 0V7620連接 ..................................................................... 14 電源設(shè)計 ........................................................................................................ 15 ......................................................................................... 15 時鐘電路的設(shè)計 .......................................................................................... 16 ①使用外部晶體振蕩電路和內(nèi)部振蕩器。晶體連接到單片機芯片的 X1 和 ....... 16 SRAM電路的設(shè)計 ........................................................................................ 17 第四章 系統(tǒng)軟件設(shè)計 ................................................................................................ 19 ......................................................................................... 19 USB接口芯片的初始化程序設(shè)計 ............................................................. 21 SYNCDELAY。 ............................................................................................................. 21 SYNCDELAY。 ............................................................................................................. 22 SYNCDELAY。 ............................................................................................................. 22 ....................