Based on USB 2.0 interface digital image communication module design
- Author
- ZhangJing
- Advisor
- ChenQian
- School
- Nanjing University of Technology and Engineering
- Major
- Physical Electronics
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 234
- Citations
- 0
Abstract
The rapid development of modern data acquisition technology based ISA and PCI bus data acquisition system is already quite mature , but many of these acquisition system installed trouble exists , defects and poor scalability . USB bus is launched by seven Inter, Compaq, Microsoft and other companies in 1994 to address the deficiencies of traditional bus serial communication standard . In order to meet the demand for high-speed transmission , in April 2004 , these companies are formulated on the basis of the agreement in the original USB1.1 USB2.0 transfer agreement , the maximum transmission speeds of up to 480Mb / s . USB bus has fast transmission , connection flexible, extensible , etc. , have been widely used in a variety of peripherals on the PC, and gradually become the trend of the development of modern data collection and transmission . This paper discussed on the basis of the introduction of USB2.0 system and protocol the acquisition of digital image of the real-time communication between the control system and image processing system of infrared target detection using USB2.0 interface . Part of the hardware design of the system , first designed and implemented a DSP TMS320LF2407 chip peripheral circuits , including the JATG download circuit clock oscillator circuit , an external memory interface and SPI interface circuit ; then completed of the FPGA Cyclone EP1C6PQ240 chip configuration circuit including JATG download circuit and E ~~ 2PROM peripheral circuit design ; finally determine the parallel interface connection between the USB chip and DSP microcontroller circuit design . The production hardware designed on the basis of the system PCB board . Software design portion of the system , first an SPI core by programming the FPGA internal kernel connection communication with the DSP in SPI formation SPI master and slave modes : then the USB firmware design , complete equipment management and data exchange , including initialization and USB microcontroller , USB devices and peripheral circuits preparation of the interrupt service routine . Debugging of hardware and software system design is completed and successfully achieve image acquisition and transmission of data .
Table of contents
Abstract 3-4
Abstract 4-7
1 Introduction 7-11
1.1 Background and significance of the topic 7-8
1.2 domestic and foreign research and application 8-10
1.3 The main research content and work 10-11
2 USB2.0 System and Protocol Overview 11-26
2.1 USB System Overview 11-15
2.1.1 USB system structure 11-13
2.1.2 USB system layered 13
2.1.3 USB traffic 13-15
2.2 USB data communication protocol 15-21
2.2.1 Packet 15-16
2.2.2 Packet Format 16-19
2.2.3 Transaction Processing 19-21
2.3 USB data transfer 21-25
2.3.1 state mechanism 21-22
2.3.2 Data transfer type 22-25
2.3.3 Error Control 25
2.4 Summary 25-26
3 system hardware circuit design and implementation 26-46
3.1 System structure and working principle 26-27
3.2 FPGA Module Design 27-32
3.2.1 Cyclone devices and chip introduced 27-30
3.2.2 FPGA configuration 30-32
3.3 DSP module design 32-40
3.3.1 DSP TMS320LF2407 chip architecture introduced 32-34
3.3.2 DSP SPI bus module 34-37
3.3.3 DSP External Memory Interface 37-39
3.3.4 DSP's JATG download circuit and clock oscillation circuit 39-40
3.4 USB interface module design 40-44
3.4.1 USB chip select 40-42
3.4.2 CH374 chip features and functionality described 42-43
3.4.3 CH374 connected circuit design to achieve 43-44
3.5 Summary 44-46
4 system software design and implementation 46-54
4.1 FPGA internal module programming 46-47
4.2 USB firmware programming 47-52
4.2.1 USB descriptors 47-49
4.2.2 Enumeration 49
4.2.3 firmware program flow 49-50
4.2.4 program initialization design 50-51
4.2.5 USB interrupt service routine design 51-52
4.3 USB Device Driver 52-53
4.4 Summary 53-54
5 system PCB design and debugging 54-58
5.1 system PCB design 54-56
5.2 system debugging 56-57
5.2.1 system debugging method 56
5.2.2 system debugging problem analysis and solution 56-57
5.3 Chapter Summary 57-58
6 Summary and Outlook 58-60
6.1 Summary 58-59
6.2 Prospects 59-60
Thanks 60-61
References 61-63
Appendix A System PCB diagram 63-64
Appendix B system PCB board 64-65
Appendix C USB firmware 65-90
Related dissertations
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Multi-channel Data Acquisition System
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Design and Research of Embedded Multi-axis Control System
- 5D film motion experience platform motion control card design
- The research and design of a multi legged robot motion control system
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- The Research on the Ptical Mirror Reflector Single CCD Panoramic Imaging System
- Research on the Digital Broadband Electromagnetic Tomography System
- The Design of the Data Acquisition System in Strapdown Navigation Computer
- The Research and Implementation of the M-GNSS Positioning Receiver
- Data processing and target recognition of short range millimeter wave LFM detection