The Design of High-Speed Digital Image Acquisition System Based on OV7640
- Author
- XiaZeFei
- Advisor
- YangYingPing
- School
- Wuhan University of Technology
- Major
- Condensed Matter Physics
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 535
- Citations
- 5
Abstract
Following the development of the times, the acquisition and processing of digital image signal are used widely in the fields of scientific research, industrial and agricultural production, medicine and sanitation, public security and so on.And these works can’t be completed without a set of high-speed digital image acquisition system. Meanwhile image acquisition is the basis of image processing, compressing and recognizing, so the research on image acquisition system is very important and valuable. Now, many image collector transfer inamge data to a computer through the computer interface, accomplish their work with the help of high computing speed and large storage capacity of the computer. Traditional computer interface wasexpensive and discommodious in image data transmission. This dissertation proposes a method to build an image acquisition system with USB2.0 interface.So the Design of High-Speed Digital Image Acquisition and Transmission System Based on OV7640 is researched and designed.And capturing image,Proce -ssing image and transferring image are main functions of the system.The CMOS image sensor OV7640 captures image which is controled by EPM7128SLC84-10.At last,the image is transferred by EZ-USB CY7C68013 to the computer.The research is to design a high-speed image acquisition system acquiring and processing image data, and then transferring the data to computer by USB2.0 interface, to display and store the data on computer. The hardware circuit of the system was designed and PCB board was produced. The software of the card was developed too. The image acquisition system contains the following three parts: CMOS image sensor circuit, CPLD control circuit and data transferring part based on USB 2.0 interface.For the hardware circuit design, the conceptual scheme of image data acquisition system was proposed,and then the principle of image acquisition system was demonstrated. Lastly, it’s expatiated that the main chips used in the acquisition system,the main modules of hardware circuit and the PCB design etc.For the software design, the development of USB Video Class standard video driver in the acquisition system was introduced,and designing CPLD program to control image data transferring. At the same time, the design scheme of CY7C68013’s firmware was given. And the firmware was developed. It’s discussed based on firmware design that the design method, developing structure, main program, initial function, and endpoint configure of CY7C68013 firmware program.
Table of contents
Summary 4-5
Abstract 5-10
Chapter 1 Introduction 10-14
1.1 CMOS image sensor technology and applications 10-11
Situation Acquisition and Transmission System Development 1.2 digital image 11-12
research objectives
1.3 of this paper and the main work 12-14
Chapter 2 system hardware circuit design 14-37
2.1 image sensor chip OV7640 14-20
2.1.1 characteristic parameters 15-16
2.1.2 Serial Camera Control Bus (SCCB) 16-19
2.1.3 OV7640 VGA output timing 19-20
2.1.4 OV7640 's QVGA output timing 20
2.2 programmable logic chip EPM7128SLC84-10 20-22
2.3 USB2.0 interface chip EZ-USB FX2 CY7C68013 22-30
2.3.1 EZ-USB FX2 internal structure and performance characteristics of 22-23
endpoint structure 2.3.2 EZ-USB FX2 is 23-24
2.3.3 EZ-USB FX2 quantum FIFO 24-26
two modes
2.3.4 endpoint 26-27
2.3.4.1 AUTO ( automatic mode ) 26
2.3.4.2 MANUAL ( manual mode ) 26-27
2.3.5 EZ-USB FX2 interface mode 27-29
2.3.6 EZ-USB FX2 enumeration and re-enumeration 29-30
2.4 low dropout linear regulator chip AMS1117 30
2.5 system hardware circuit design 30-34
2.5.1 image output circuit design 31
2.5.2 EEPROM circuit design 31-32
2.5.3 EPM7128SLC84-10 with OV7640 connection 32-33
2.5.4 CY7C68013 data transfer interface 33-34
2.5.5 voltage converter hardware design 34
2.6 PCB layout 34-37
The basic steps
2.6.1 PCB layout design 34-35
2.6.2 PCB layout layout 35-37
Chapter 3 USB Video Class Video Driver 37-53
3.1 USB Video Class device topology 37-42
3.1.1 Input endpoint ; Input Terminal 38
3.1.2 Output endpoint ; Output Terminal 38-39
3.1.3 camera endpoint ; Camera Terminal 39
3.1.4 selection unit ; Selector Unit 39-40
3.1.5 processing unit ; Processing Unit 40-41
3.1.6 expansion unit ; Extension Unit 41-42
3.2 USB Video Class descriptor hierarchy 42-46
3.2.1 descriptor layout ; Descriptor Layout 42-43
3.2.2 device descriptor ; Device Descriptor 43-44
3.2.3 configuration descriptor ; Configurtion 44
3.2.4 interface descriptors ; Interface Descriptor 44-45
3.2.5 endpoint descriptors ; Endpoint Descriptor 45
3.2.6 string descriptor ; String Descriptor 45-46
3.2.7 Interface Association Descriptor ; Interface Association Descriptor 46
3.3 special type of request ; Class-Specific Requests 46-48
3.3.1 request method 47-48
3.3.1.1 setting request 47
3.3.1.2 acquisition request 47-48
3.4 Video Class specific information 48-53
3.4.1 video streaming negotiation model 48-49
3.4.2 video class specific information 49-51
3.4.3 Batch write transfer instance 51-53
Chapter IV CPLD control module software design 53-58
4.1 VHDL programming languages ??and development platforms MAX PLUS Ⅱ 53-54
4.1.1 VHDL programming language 53-54
4.1.2 MAX PLUS Ⅱ development platform 54
4.2 CPLD and synchronization signals CY7C68013 Interface 54-55
achieve
4.3 image control processing 55-56
4.4 Simulation and Results 56-58
Chapter 5 USB2.0 system software design 58-67
5.1 USB2.0 software system 58-60
5.1.1 USB firmware design 58-59
5.1.2 device driver 59
5.1.3 application 59-60
5.2 firmware design 60-64
5.2.1 EZ-USB FX2 firmware architecture and libraries 60
5.2.2 firmware image acquisition system design 60-61
5.2.3 main design 61-64
5.3 initialization function 64-65
Control 5.4 I2C interface 65-66
5.5 device endpoint descriptors 66
5.6 Summary 66-67
Chapter 6 Summary and Outlook 67-69
References 69-71
Thanks 71-72
author papers published during the master's degree 72-73
Appendix A: USB2.0 development tools and experimental images used 73-76
Related dissertations
- The Research and Design of Digtal Image Acquisition System Based on DSP+CPLD
- Value reading system based on image analysis and processing power
- Research on the Image Acquisition and Pre-processing System of Paper Currency Numbers Based on ARM
- DSP - based image capture and compression system developed
- Medical video image acquisition system based on USB2.0 interface technology
- Design of Image Acquisition System Based on ARM
- Based on the Psd and the Size of Ccd Laser Detection System Design
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
- Based on AMBA3.0Bus Image Acquisition System Design and Implementation
- Implementation of FPGA electron multiplying CCD image acquisition and transmission system based on
- Research on Data Capture and Processing Method of Optics Interferogram
- Study on FPGA-based Embedded Frame Grabber
- Design and Simulation of Turntable Servo Control System Based on DSP
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- Design and implementation of the short range active defense system in the central controller based on DSP
- Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
- Design of Magnetic Compass Sensor Based on CPLD
- Research on Image Mosaic Based on Mutil-CMOS Camera
- Research for License Plate Recognition System Based on Linear CCD Camera