Design and Implementation of Image Capture and Processing System Based on FPGA

Author
JiangHua
Advisor
FanYinHai
School
Dalian Maritime University
Major
Power Electronics and Power Drives
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2009
Downloads
1,016
Citations
12

Request the full text

Abstract

With rapid development of the science and technology,digital image processing technology is developing very fast.As FPGA technology becomes mature and is going to take the position of the parallel computation or Digital Signal Processor (DSP),Application Specific Integrated Circuit(ASIC) as a new embedded system precept.Field Programmable Gate Array(FPGA) with its special characteristic of low development cost,high parallel processing speed,large flexibility and short development cycle,has its unique superiority in the image processing system.Due to the project in this article,a kind of image capture and processing system based on FPGA is proposed,the low cost high performance Altera Corporation’s CycloneⅢseries FPGA EP3C40F324 is selected as the main core,the design of the whole system including software and hardware are implemented.The way of how to insert the NiosⅡsoft processor core in FPGA,complete the image capture and processing system function and the design proposal is elaborated thereinafter.The hardware circuit is composed of three electric circuit boards:The FPGA core processing board,the image capture card,the image display board. Through I~2C the working pattern of the image capture card is initialized.Under the control of capture module,the image data captured is saved in SDRAM;According to VGA display principle and timing relationship,VGA display and output control module is designed,the VGA controlling signal is generated,also according to VGA monitor industry standard,the horizontal and frame synchronizing signal of the VGA interface are synthesized.Logically,the FPGA internal logic hardware function module is generated by using SOPC Builder.NiosⅡIP core is customized,the CMOS image capture module,VGA Controller and the I~2C bus interface are implemented. The system among various modules is connected through the Avalon Bus.In the software part,the algorithms of the color image,color space transformation, binaryzation,morphology corrosion processing and localization of target are realized in NiosⅡcore.Experimental results prove right and feasible by adopting the algorithm and scheme proposed in this paper.

Table of contents

Abstract 5-6 ABSTRACT 6-9 Chapter 1 Introduction 9-13 1.1 project background 9 1.2 research status 9-10 1.3 main contents 10-13 Chapter 2 System Design 13-27 2.1 system design demonstration 13-15 2.2 system chip select 15-23 2.2.1 core processor selection 15-16 2.2.2 image sensor chip select 16-18 2.2.3 Memory Select 18-21 2.2.4 VGA interface chip 21-23 2.3 overall system design 23-27 2.3.1 System design structure 23-24 2.3.2 system workflow 24-27 Chapter 3 Hardware Design 27-45 3.1 system hardware structure 27-28 3.2 FPGA core module 28 3.3 peripheral circuit and the interface circuit design 28-33 3.3.1 Power circuit 28-31 3.3.2 crystal oscillator circuit 31 3.3.3 reset circuit 31-32 3.3.4 serial interface circuit 32 3.3.5 JTAG interface circuit 32-33 3.4 image acquisition circuit 33-36 3.4.1 I ~ 2C bus 33-35 3.4.2 image acquisition circuit 35-36 3.5 System memory circuit 36-40 3.5.1 SDRAM memory circuit 36-37 3.5.2 dedicated serial configuration device interface circuit 37-40 3.6 image display circuit 40-41 3.6.1 D / A conversion circuit 40-41 3.6.2 VGA interface circuit 41 3.7 PCB design and anti-jamming measures 41-43 3.7.1 PCB design 41-42 3.7.2 anti-jamming measures 42-43 3.8 hardware circuit design results 43-45 Chapter 4 image processing algorithm 45-53 4.1 color space model and spatial analysis of selected 45-48 4.1.1 RGB color space model 45-46 4.1.2 HIS color space model 46-47 4.1.3 color space selection and space conversion 47-48 4.2 morphological image processing 48-50 4.2.1 Matlab in digital image processing applications 48-49 4.2.2 morphological image processing 49 4.2.3 Image corrosion principle 49-50 4.3 image processing simulation results 50-53 Chapter 5 FPGA-based system to build a virtual SOC 53-69 5.1 FPGA development environment and tools 53-55 5.1.1 Quartus Ⅱ software development 53-54 5.1.2 Hardware Description Language 54-55 5.2 FPGA-based soft-core embedded IP SOPC system 55-57 5.2.1 SOPC System Overview 55-56 5.2.2 SOPC development process 56-57 5.3 build based on an embedded soft-core Nios Ⅱ image processor 57-65 5.3.1 VGA Controller design 57-61 5.3.2 Image Acquisition and Processing IP core design 61-62 5.3.3 I ~ 2C IP Core transplantation 62-63 5.3.4 Avalon bus architecture 63-65 5.4 SOPC Builder kernel customization results 65-66 5.5 system debugging results 66-69 Conclusion 69-71 References 71-75 Appendix A corrosion algorithm Matlab simulation program 75-77 Appendix B VGA Controller IP Core Code 77-81 Appendix C circuit design schematics, 81-85 Appendix D images corrosion VC program 85-89 Thanks 89-91 graduate resume 91

Related dissertations

  1. FPGA-based image recognition system designed to real-time detection system
  2. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  5. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  6. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  7. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  8. Study on Error Analysis and Correction of Target Location for Electro-optical Detection System
  9. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  11. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  12. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Design of Digital Ultrasonic Nondestructive Testing System
  14. Design and Implementation of High Speed Data Recorder Based on FPGA
  15. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  18. The Design and Research of PCI Data Acquisition Card Based on FPGA
  19. Usb Without Invasive Data Collection Technology Research
  20. Research on On-line Diameter Measurement System Based on FPGA