Design and Implementation of the real-time image processing system based on FPGA
- Author
- LiuKaiJian
- Advisor
- WuGuangMin
- School
- Kunming University of Science and Technology
- Major
- Physical Electronics
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 241
- Citations
- 0
- Machine Vision
- FPGA
- VHDL
- System Generator
- Fast Median Filtering
- edge detection
- Pipeline
- Parallel Processing
- Anaconda-CL
- upper computer
- Lower computer
Abstract
Machine vision systems, with the features of non-contact, strong anti-interference, real-time, flexibility and accuracy,and other characteristics, are widely used in the fields of target identification, target tracking, industry detectionand and so on. In the paper, in order to resolve the current detection equipment and systems deficiencies. The use of existing technologies to build a new kind of visual inspection systems has significant research and practical purpose, as well as a great prospect.In the thesis,, analyzing the image processing algorithm which is appropriate for the visual inspection influences the real-time system’s performance. In order to solve the problem of dealing with real-time, one methed of parallel processing was given, which means image detection processing with parallel processing devices. As the computing and signal processing unit is the core of system, the amount of computing is very laborious, the traditional methods can not meet the real-time requirements. The structure and working methods on the field programmable logic array (FPGA) devices was analyzed, the use of FPGA for signal processing and computing, so that the FPGA has the advantages in speed and resources in the exigent real-time situation.The use of advanced FPGA development tool System Generator for image processing algorithm for the system-level modeling and simulation, which automatic generate the requested documents for the realization of hardware and eliminiate the heavy work on the compile and modify the VHDL (Verilog) code, improve the efficiency of development and reduce the development cycle.According to the development environment and image processing board system features, functions are gotten a reasonable division of hardware and software, so that the communication and process between the PC and the target system was completed. For the core of the system (pre-image), in the FPGA design, a pre-filter in the fast edge detection and hardware circuit were accomplished. Pipeline technology and parallel processing techniques applied to the circuit design to increase the processing speed, saving hardware resources. Finally, one simple control software in the PC was designed,which validated the pre-processing circuit and realized the associated debug between the PC and the target system. The results show that the FPGA-based hardware image processing algorithm circuit to meet the system requirements and speed, achieving the desired results,which has a good parctical reference value.In this paper, the exploration and attempt on the high-speed digital signal processing’s that is design by using the high-performance FPGA development tools, System Generator, were have been done, which has an effect on the completion of rapid real-time signal processing by the FPGA in the furure.
Table of contents
Abstract 3-4
Abstract 4-6
directory 6-10
first chapter 10-23 <br / > 1.1 INTRODUCTION the subject 10
1.2 sources and research significance the 10-13 1.2.1
subject of sources 10-12
1.2.2 the significance of the research 12-13
1.3 research status 13-19
the 1.3.1 machine vision detection features and research status 13-16 < br /> 1.3.2 Using FPGA image processing IP core Research the 16-18 1.3.3 development prospects based on the FPGA machine vision technology
18-19
1.4 research content and structure of the paper 19-23
1.4.1 research 19-21
1.4.2 papers structures 21-23
The second chapter of the system development process and the basic theory 23-38
2.1-based the Anaconda card machine vision system development process 23-24
2.2 Anaconda-CL card the 24-27 2.2.1 Anaconda-CL card features
the 25-27 2.2.2 Anaconda-CL development tools
27
2.3 FPGA technology 27-36
2.3.1 FPGA structure and characteristics the 28-31 2.3.2 FPGA development process
31
2.3.3 FPGA basic development tools 31-36
2.4 Chapter Summary 36-38
Chapter III image processing algorithm and its hardware implementation analysis 38-51
3.1 visual image processing algorithms in the image processing system 38
3.2 image edge detection algorithm 38-43
the 3.2.1 image edge definition 38-40 < br /> 3.2.2 based on first-order differential edge detection operators 40-42
3.2.3 edge detection based on second-order differential operator 42-43
3.3 image edge detection preprocessing algorithm the 43-46
3.3.1 RGB image is converted to grayscale the 43-44
3.3.2 the airspace image smoothing algorithm 44-46
3.4 image processing algorithm Matlab simulation 46-47
the 3.4.1 edge detection algorithm Matlab simulation 46-47
3.4.2 RGB image converted to grayscale simulation of Matlab are found; 47
3.4.3 median filtering Matlab simulation 47
3.5 hardware analysis 47-50
3.5.1 convolution operation hardware implementation 47-48
3.5.2 image edge detection algorithm implemented in hardware analysis 48-50
3.6 Chapter Summary 50 -51
Chapter System Generator hardware circuit design and realization the 51-74
4.1 System Generator development process 51-58
4.1.1 System Generator the development steps the 51-53
4.1.2 System Generator development rules the 53-56
4.1.3 development process 56-58
4.2 Edge Detection the module System Generator Design and Implementation 58-65
4.2.1 System Generator in image edge detection algorithm modeling 59-60
4.2.2 two image edge detection the algorithm modeling structure 60-61
4.2.3 line buffer module design 61-62
4.2.4 threshold comparison module 62-63
4.2.5 resource estimate 63-65
System Generator 4.3 edge detection algorithm simulation 65-68
4.4 other functional blocks of the System Generator Design and Implementation 68-73
the 4.4.1 image space conversion module design 68-69
4.4.2 median filter circuit design 69-73
4.5 Chapter Summary 73-74
Chapter Anaconda card Firmware Design and Implementation 74-102
5.1 Overview 74
5.2 FPGA interface design 74-78
5.2.1 PBI interface design the 75-76
5.2.2 Xscale Interface Design 76-78
5.3 FPGA functional design the 5.3.1 the FIFO circuit realization 78-82
78-79
5.3.2 image processing the module circuit simulation 79-82
5.4 FPGA's Firmware the of design 82-89
5.4.1 FPGA communication protocol of the host PC 82-83
5.4.2 Design of FPGA in register 83-86 <br / > 5.4.3 Data conversion 86-89
5.5 host computer program designed 89-96
the 5.5.1 host computer to read and write FPGA registers 90-91 < br /> 5.5.2 Firmware file download 91-93
5.5.3 image the data 93-95
5.5.4 FPGA 95 - 96
5.6 system simulation debugging 96-99
5.6.1 software registration the 5.6.2 debug window 97
97-98
5.6.3 Download Firmware file 98
5.6.4 register settings 98
5.6.5 Get real-time processing results show 98-99
5.7 Performance Analysis the 99-100 5.8 Chapter Summary
100-102
Chapter Summary and Outlook 102-105
6.1 summarizes nbsp Vision; 102-103
6.2 103-105
thank the 105-106
Reference 106-109,
Appendix Ⅰ (studying degree in the meantime published catalog) 109
Related dissertations
- Research on Surface Defects Visual Inspection System for Metal Components
- The Research and Development of Intelligence Greenhouse Control System
- The research and design of CAN bus controller based on FPGA
- Research of the Absolute Angular Position Sensor Based on Machine Vision
- Research and Application of Subpixel Edge Detection in Machine Vision
- Research on Technology of Machine Vision Inspection and Locating for IC Manufacturing Equipment
- Strain Measurement Technology Based on Machine Vision
- Research and Implementation of Human Head Detection Based on FPGA
- Study on Pitch Measurement System for Transmitting Signal Plate Based on Machine Vision
- Research on Recognition of Strip Surface Defects Based on Image Processing Method
- Research on Multiple Exposure Images Fusion
- Chaotic Encryption System Research Based on FPGA
- Design and Implementation of32-bit RISC Microprocessor Based on FPGA
- The FPGA Implementation of Signals Processing Based on Complementary Codes for Hfswr
- The Detection of Battery Size Based on Machine Vision
- Study on Driving Assistant System Based on Machine Vision
- Based on the Automation Control System Research of PLC Sewage Disposal
- Design and Implementation of a Humanoid Robot Control System
- The Design and Implementation of Portable Overlapping Leaf Area Measurement Instrument
- Three-dimensional Reconstruction Based on Binocular Stereo Vision Theory