Design and Implementation of Video Transmission System of CMOS Image Sensor Based on USB2.0
- Author
- YangZongLi
- Advisor
- XuDaCheng
- School
- Suzhou University
- Major
- Signal and Information Processing
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 424
- Citations
- 1
Abstract
With the growing popularity of digital products, the range of applications of the camera continues to expand, the core component of the camera ---- the amount of the image sensor is also growing in recent years, due to the limitations of the CCD image sensor cost CMOS image The sharp rise in the amount of sensors, camera manufacturers have chosen CMOS image sensors, especially in selected CMOS image sensor in the camera used in mobile phones and other digital products. This article is based on the above background, Based on USB2.0 Interface CMOS image sensor and video transmission systems. It can be widely used in the camera product quality detection, image acquisition system with the transmission speed, the circuit is simple, low-cost and easy connection and installation. Around the USB2.0-based video transmission system, the paper discusses the basic components, system hardware or software design methods, and a detailed description the USB2.0 interface part of the principle and the principle of the video display on the PC, given the relevant program design process and part of the source code, but also a comprehensive test. The system uses the core components of Cypress FX2 CY7C68013 chip, CMOS sensor cameras. The first design according to the actual needs of the system hardware circuit, the production of a PCB board; then prepared on the basis of the hardware circuit, the system firmware program. The firmware design includes the following sections: (1) USB 2.0 interface initialization. By the CY7C68013 CPUCS, USBCS, IFCONFIG register set to make it work in a predetermined pattern; (2) image sensor initialization program design; (3) Common Programming Interface (GPIF) programming. First the FIFO read the waveform descriptor (GPIF waveform) generated by the GPIF Designer tool, firmware and then start the FIFO read waveform in order to achieve the timing of the CMOS camera control and image data acquisition. (4) USB 2.0 bulk transfer program design; (5) the main program design. The main program functions discussed in addition to the completion of (1) to (4) interrupt function, but also gives the USB control transfer firmware response procedures and corresponding interrupt initialization and interrupt service routines. Finally, the preparation of the application. Its main functions are: detects the USB device, set the the USB data transmission pipelines settings from the USB interface data collection, real-time (dynamic) in the PC and can capture images in real time, for the future of the system on the basis of the desired image laid the foundation for analytical processing. The design process makes full use of the existing chip resources not used under the conditions of the CPLD control chip with the GPIF interface control logic to effectively control reasonable CMOS camera operating timing, and the read data to a buffer, thus saving ships Similar systems are necessary the FIFO chip and the control timing CPLD chips. In summary, this paper design an optimized design solutions with outstanding performance, it not only reduces the cost of development, and also saves the system capacity is more conducive to product development. Through the experiment, the data transmission stability, clear image. The system has been used in CMOS digital image sensor camera quality inspection system.
Table of contents
Abstract 3-5
ABSTRACT 5-10
The first chapter 10-19
1.1 Introduction 10-11
1.2 domestic and foreign research and application 11-12
1.3 issues raised 12-14
1.4 issue is the major work 14-18
1.4.1 demonstration program 14
1.4.2 core component selection 14-17
1.4.3 hardware design 17
1.4.4 software design 17
1.4.5 System Data Test 17-18
1.5 system's overall framework and development environment 18-19
1.5.1 System block diagram 18
1.5.2 System Development Environment 18-19
Chapter II USB interface technology principle 19-39
2.1 USB bus characteristics 19-23
2.1.1 USB speed 19-20
2.1.2 USB bus topology system 20
2.1.3 USB plug and play 20-21
2.1.4 USB low power 21-22
2.1.5 USB standard interfaces and peripherals 22-23
2.2 USB software protocol 23-39
2.2.1 USB data stream 23-25
2.2.2 USB data unit 25-28
2.2.3 USB bus transfer 28-32
2.2.4 Data Toggle Synchronization and retry 32-34
2.2.5 error checking and recovery 34
2.2.6 USB FX2 device enumeration and re-enumeration process 34-39
Chapter video transmission system hardware design 39-49
3.1 hardware support video transmission system 39-42
3.1.1 System hardware support 39
3.1.2 USB cable 39-40
3.1.3 demonstration program 40-42
3.1.4 USB video transmission system core component selection 42
3.2 CYPRESS EZ-USB FX2 series chip 42-44
3.2.1 FX2 overall architecture and features 42-43
3.2.2 FX2 endpoint buffer (Endpoint Buffer) 43-44
3.3 GPIF interface mode using the hardware system design 44-49
3.3.1 USB physical interface 45
3.3.2 reset and voltage conversion circuit 45-46
3.3.3 External passive crystal circuit 46
3.3.4 E ~ 2PROM connection circuit 46-47
3.3.5 serial port module 47-48
3.3.6 GPIF interface CMOS camera connection 48-49
Chapter firmware design 49-63
4.1 firmware features and infrastructure 49-53
4.1.1 firmware features 49-50
4.1.2 FX2 firmware typical architecture 50-53
4.2 USB descriptors 53-57
4.3 GPIF interface and GPIF.C 57-63
4.3.1 GPIF Profile 57
4.3.2 GPIF waveform programming 57-60
4.3.3 GPIF program generation 60
4.3.4 User program files Periph.c 60-63
Chapter driver and application design 63-74
5.1 device driver development 63-64
5.2 application design 64-71
5.2.1 module division 65
5.2.2 module flowchart 65-66
5.2.3 System Target 66
5.2.4 Flowchart 66
5.2.5 module 66-70
5.2.6 video control functions are implemented 70-71
5.3 software trial run 71
5.4 online writers 71-74
5.4.1 Overview 71-72
5.4.2 Burn online source 72-74
Chapter VI system test 74-76
6.1 system transmission speed 74-75
6.2 USB device enumeration test 75-76
Chapter Summary and Outlook 76-79
7.1 Summary 76-77
7.2 Prospects 77-79
References 79-81
papers published during the master's degree 81-82
Thanks 82-83
Related dissertations
- The Implement of Image Precessing System on DSP with USB2.0 Interface
- CCD data acquisition system based on USB2.0
- Multi-channel data acquisition and processing system based on DSP and USB2.0
- Design of Image Acquisition System with USB2.0 Interface
- The Design of Laser Doppler Signal Acquisition System
- Based on the CMOS image sensor of the imaging system
- Based on the CIS imaging and transmission system research
- The Development of Radar Data Generator Based on FX2 and USB2.0 High Speed Transfer Exploration
- The Design of Video Transmission System Based on USB 2.0 and Streaming Technologies
- The Design of Four-Channel Parallel High-Speed Image Sampling Card with USB2.0 Interface
- The Study of High-Speed Data Acquisition System Based on USB2.0
- The Application of USB2.0 Technology in Data Acquisition System
- Based on the CMOS image sensor of the imaging system and the USB interface
- Research of Data Transmission System Based on EZ-USB FX2 and FPGA
- Infrared focal plane arrays based on USB2.0 data acquisition system
- Design and Implementation of Multi-point Tension Data Acquisition System Based on USB
- Research and Design of High-Speed Image Acquisition and Transmission System Based on Cmos Image Sensor
- System Modeling and Research of Timing Control Circuit for TDI CMOS Image Sensor in Digital Domain
- The Design and Realization of ASI/SDI Transport Stream Player Based on FPGA
- Embedded Vibration Signal Analyzer Developed