Design of High_speed Image Acquisition and Transmission System Based on CPLD and USB2.0
- Author
- ZhaoFuChang
- Advisor
- WangKeJia
- School
- Harbin Engineering University
- Major
- Optical Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 770
- Citations
- 8
Abstract
With the fast development of modern information technology, the information to be processed increase immensely.The researches and applications of high_speed image acquisition and transfering,especially realtime image catch great interests from researchs all over the world. USB has the advantage of highspeed, HotPlugin, plug and play, easily to expand and engrossing less system resouce,etc.USBl.l has two kinds of speed: 1.5Mbps and 12MbPs, but USB2.0 has the speed of 480Mbps, which can meet with the demands of highspeed peripheral devices.This subject discusses the architecture and feature of USB including bus attributes,signal environment, data flow model,and so on.After that, it brings forward a design scheme of image acquisition and transfering with USB2.0 interface, which is based upon the defects of traditional industry bus,such as ISA , PCI.Then it designs and realizes the hardware system of the image acquisition and transfering with the USB interface, Programs firmware of CY7C68013 , it programs the USB device driver of the system.1.The characteristic of the introduction USB bus summarized, advantage and USB2.0 that USB bus compares with other buses and the difference between USB 1.1 and USB2.0.2.video transfer chip SAA7111A and USB2.0 of CYPRESS Company--CY7C68013 have made corresponding introduction. Have put forward the design plan of a highspeed picture gathering and transmission system based on CPLD and USB.3. Have introduced the existing method that the picture is gathered, the frame stores,According to handling up some characteristics of extreme point greatly of the real_time character of the system andCY7C68013,have put forward the new feasible method.According to the time sequence characteristic of the dateout of SAA7111A , have written the time sequence control procedure of CPLD and carried on emulation.4. According to the systematic demand,write the firmware procedure of USB.5. Write the driver of USB with Driver Studio.
Table of contents
Chapter 1 Introduction 12-15
1.1 issues raised 12-13
1.2 The main research topics and major work 13-14
1.3 paper content structure 14-15
Chapter 2 USB2.0 communication protocol 15-33
2.1 USB bus physical connections and electrical characteristics 15-17
2.1.1 device connectivity and speed detection 16
2.1.2 power 16-17
2.2 USB bus signal environment 17-18
2.1.1 NRZI data encoding 17-18
2.2.2 bit stuffing (Bit Stuffing) 18
2.2.3 sync tip (Sync Pattern) 18
2.3 USB data flow model 18-24
2.3 .1 USB bus topology 20-22
2.3.2 USB communication flow 22
2.3.3 device endpoint (Device Endpoint) 22-23
2.3.4 pipeline 23-24
2.3.5 frames and micro-frame (Frames and Microframes) 24
2. 4 USB data transfer types 24-27
2.4.1 block Transfer 24-25
2.4.2 interrupt transfers 25
2.4.3 synchronous transmission 25-26
2.4.4 control Transmission 26-27
2.5 packet 27-31 <br / > 2.5.1 package format 27-28
2.5.2 package format field 28-31
2.6 system Settings 31-32
2.6.1 USB devices installed 31
2.6.2 USB device removal 31
2.6.3 bus enumeration (Bus Enumeration) 31-32
2.7 This chapter summarizes 32-33
Chapter 3 high-speed image acquisition and transmission system hardware realization 33-53
3.1 transmission System hardware program options 33-34
3.1.1 system Diagram 33
3.1.2 system hardware configuration 33-34
3.1.3 system processes brief 34
3.2 video a / D chip SAA7111A 34-38 <br / > 3.3 programmable logic device 38-41
3.3.1 CPLD / F PGA / EPLD features 38-39
3.3.2 programmable the design of the logic chip design methods 39-40
3.3.3 MAX7000 series introduces 40-41
3.4 USB2.0 main features 41-44
3.4.1 packet 41-42
3.4.2 frame structure 42-43
3.4.3 transfer Type 43
3.4.4 high-speed mode and full-speed mode detection 43-44
3.5 CY7C68013 introduction 44-47
3. 5.1 CY7C68013 Overview 44
3.5.2 chip's internal structure 44-45
3.5.3 CY7C68013 endpoint buffer 45-46
3.5.4 CY7C68013 external FIFO interface 46
3.5.5 CY7C68013 enumeration and re-enumeration 46-47
3.6 power design part 47-48
3.7 clock circuit design 48
3.8 reset Circuit 48
3.9 CPLD and USB SRAM connection with the hardware portion 48
3.10 image acquisition module and transmission module implementation 48-52
3.10.1 image acquisition structure 49
3.10.2 frame timing analysis 49-51
3.10.3 general image acquisition and transmission methods 51
3.10 .4 improved methods 51-52
3.11 Summary 52-53
Chapter 4 firmware design 53-64
4 .1 firmware structure 53-59
4.1.1 firmware framework Introduction 54-55
4.1.2 firmware framework is primarily a function 55-59
4.2 device descriptor table 59-61
4.2.1 device descriptor 60
4.2.2 configuration descriptor 60
4.2.3 Interface Descriptor 60
4.2.4 endpoint Descriptor 60
4.2.5 string descriptor 60-61
4.3 endpoint configuration 61
4.4 firmware initialization procedure 61-63
4.5 of this chapter Summary 63-64
Chapter 5 USB driver 64-72
5.1 WDM driver Model Description 64-67
5. 1.1 WDM driver layering 65-66
5.1.2 WDM driver function module 66-67
5.2 USB driver 67-69
5.2.1 device driver 68
5.2.2 host Controller driver (HCD) 68
5.2 .3 USB driver (USBD) 68-69
5.2.4 root hub driver 69
5.2.5 USB driver loaded 69
5.3 image acquisition system, USB device driver development 69-71
5.3.1 choice of development tools 69-70
5 driver Works with USB 3.2 driver development 70-71
5.3 host application 71
5.4 Summary 71-72
Conclusion 72-73
References 73-76
published during the master's degree thesis and research achievements 76-77 <br / > Thanks 77
Related dissertations
- Research Communication Device and Communication Protocols Based on USB Interface
- Design of Electrical Resistance Tomography Based on Parallel Data Acquisition
- Research on the Measurement System of LED
- Design of Data-Acquisition System for Micro Fiber Optic Spectrometer Based on Stm32
- Research on the Optical Fabry-pérot Cavity Demodulation System Based on Interference of Polarized Lights
- Research & Implementation Data Acquisition and Hard Disk Storage System Based on DSP
- Optimizing of Data-acquisition System for Laser Electronic Whiteboard and Realization of USB Interface
- The Update and Experiment for FMT System Based on the WINDOWS
- Design of Data Sampling System Based on USB and Ethernet
- Control Technology Based on DDS Signal Generator under the Design and Implementation
- The Design of High-Speed Digital Image Acquisition System Based on OV7640
- Research on Fingerprint Acquisition System Based on ARM
- The Research of Real-Time Detection System Based on Linear Image Sensor
- Design and Implementation of embedded systems based on the fully automatic heat
- Hardware Design of Code Identifying System Based on DSP
- Study on Outside Box of Digital Ultrasonic Flaw Detection
- Medical video image acquisition system based on USB2.0 interface technology
- Research on the Tourism Destination Image Cognition
- Remote Sensing Image Using in the Land Change Survey and Monitoring Applications
- Identity and Image of Mainlanders in English Newspaper of Hong Kong