Automatic optical detector PCIE interface - based image acquisition
- Author
- RenXiaoJun
- Advisor
- YeYuTang
- School
- University of Electronic Science and Technology
- Major
- Optical Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 301
- Citations
- 0
Abstract
AOI (Automatic Optical Inspection) is one of the most important inspection instruments. It has many advantages, such as remote inspection, high inspection speed, nondestructive inspection and so on. In this design, AOI is used to inspect PCB products. PCI (Peripheral Component Interconnect) Express is a new bus agreement developed in recent years. This design puts PCI Express bus into use in the AOI, which has not been reported in China as far as we known. The AOI’s competition is greatly improved for its transmiting and processing speed, real time, and the performance to price ratio.In this dissertation, an image acquisition system, including an image acquisition card, a driver under Windows 2000 and application software, has been designed. In this design, CCD camera, which is composed of the CCD chips, A/D conversion and data storage module, outputs digital signal, completing the optical imaging. The acquision and transmission of the imag are controlled by FPGA (Field Programmable Gate Array) , and the image data are put into the memory. At last, the data is transmitted to the computer through PCI Express bus.In this dissertation, the hardware of the system is proposed. The software and its code, which are designed refer to the Image collecting system, are explained in detail as well.The driver is programmed in DDK,with DMA transmission of the data and supporting PnP. The application software is programmed by VC6.0 with friendly interface.The system can work stably,and can satisfy the requirement of instant image acquisition. Because the hardware and the driver are designed independently,there is much space for further design. Meanwhile,the independence of the technology makes it much cheaper. What’s more, the system meets the requirement of high speed, real-time and high precision. Then the precision and effectiveness of Automatic Opotic Instrument could be enhanced greatly , and the problems troubling the PCB inspection may be solved conveniently.
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter Introduction 9-15
the 1.1 research background and significance 9-10
1.2 AOI comparison with other PCB detection method 10-11
1.3 Current Status and trends 11-13
1.4 paper to solve the problem and I completed the work 13-14
1.5 Full-text structure arrangements 14-15
second chapter of the works and the overall design 15-27
2.1 overall system structure 15-16
2.2 System Hardware Overview 16-17
2.3 PCI Express bus Overview 17-23
2.3.1 PCI Express system architecture 18-19
2.3.2 PCI Express architecture 19-21
2.3.3 PCI Express configuration mechanism and system enumeration 21-23
2.4 PCIE interface implementation 23-27
2.4.1 PCI Express bus design alternative options 23-24
2.4.2 The design PCIE interface design 24-27
Chapter WDM device driver development technology 27-34
3.1 Windows 2000 operating system, the overall structure of Overview 27-30
3.1.1 Windows 2000 hardware privileged layer 27-28
3.1.2 Windows 2000 kernel mode environment The 28-30
3.2 WDM driver hierarchy 30-31
3.3 drivers in two important data structures 31-32
3.3.1 I / O request packet (IRP) 31-32
3.3.2 DEVICE_EXTENSION device extension 32
3.4 WDM driver development environment to build 32-34
frame grabber driver design and implementation of 34-50
4.1 image acquisition card driver functions designed 34-35
4.2 image acquisition card driver development 35-43
the 4.2.1 image capture card initialization 35-36
4.2.2 configuration space access module 36-37
4.2.3 image acquisition card interrupt handling 37-39
4.2.4 DMA transfer to achieve 39
4.2.5 image acquisition card reader image to achieve 39-41
4.2.6 the PnP module 41-42
4.2.7 driver uninstall 42-43
4.2.8 Other relevant issues 43
4.3 image acquisition card driver debugging and testing 43-48
4.3.1 image acquisition card driver debugging 44-47
4.3.2 image acquisition card drivers test 47-48
4.4 drivers compiled and installed 48-50
total control application development 50-69
5.1 applications to the development of key technologies 50-51
5.2 application development 51-67
5.2.1 system main interface 51-53
5.2.2 application and driver communication 53-54
5.2.3 image processing 54-61
5.2.4 System Maintenance 61-62
5.2.5 system calibration 62-63
the
measurement 5.2.6 mode to achieve 63-65
5.2.7 image display 65-67
5.3 measurements and error analysis 67-69
5.3.1 Test Results 67-68
5.3.2 error analysis 68-69
Chapter 6 Conclusions and Prospects 69-70
Acknowledgements 70-71
the
References 71-74
for Master papers during 74-75
Related dissertations
- Research on High-Performance Computer I/O Bus
- Design and implementation of high speed data acquisition system hardware of PCI based on Express bus
- Research and Design of Converage Network Adaptor
- Study on Industrialrobot Real-time Controlsoftware with Windows-based
- Research on Design Technology and SI Simulation of the PCI Express Link Path in Backplane System
- Research on PCI Express Bus Fault Injection Tool Based on the AER
- Design of DTV TS Interface Card Based on PCI-E Bus
- Fpga Design of DMA Data Transfer Platform Based on PCIe Bus
- Design of Virtual Radio RF Front-end and PCIe Interface Based on FPGA
- Research and Development of High-Speed Data Acquisition Card Based on PCI-E Bus
- Software Design of Medical Electronic Endoscope Application System Based on Tilera
- Design of high speed data acquisition system based on PCI Express
- PCI-E Based Data Acquisition Card Design
- Design of Data Transfer Card Based on PCI Express Bus Interface
- Design of Camera Link Image Acquisition Card Based on PCIe Bus
- Driver Development of PCIE Data Acquisition Card in Embedded Linux
- Design and Implementation of the Serial Log Analytical Tool Based on Filter Driver Technology
- The Software Design of High-Speed Data Acquisition Module Based on PCI Bus
- Prototype Design and Implementation of Parallel Acceleration Experiment Platform Based on FPGA
- The Research of Multi-functional Simulation Card Based on PCI Express