Research and Design of the JPEG Encoder System on SOPC

Author
ZhangYang
Advisor
ZuoJian
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2009
Downloads
251
Citations
2

Request the full text

Abstract

JPEG is a commonly used digital image compression algorithm officially known as ISO/IEC Standard 10918. JPEG has been widely used in multimedia communication for its excellent performance on compressing continouse tone still image. Along with the development in mobile termination, multimedia, Internet network, Correspondence as well as picture scanning technology, real time processing of image data gets more and more important. Software based data processing usually has difficult to meet the timely requirements of the high-speed realtime systems. Therefore it has been practical application to realize picture processing algorithm with hardware.SOPC is a system on a single chip based on large-scale FPGA. SOPC includes soft-core or hard-core CPU、memory、I/O and programmable logic resource, which has all the advantage of SOC、PLD and FPGA. Developing a SOPC system is a process of hardware and software co-design. Hardware and software co-design enable the parallel developing of both hardware and software. Implementation of this co-design can improve the development efficiency and shorten the development period. Another advantage is to achieve objective with different means by analyzing each module’s features and restriction.This thesis consists of designing and implementing a JPEG encoder system that is compatiable with JPEG baseline mode in standard hardware description language Verilog based on SOPC. Though optimizing structures, with conditions of efficiently using of hardware resource, the ultility of the parallel algorithm is exploited more efficitenly. The concept of JPEG baseline mode and the flow of SOPC design are firstly introduced. Disadvantages of traditional architecture are presented and discussed and an enhanced architecture is proposed. Design principle, structures and Verilog implementations of modules in this news architecture are described in detail. The result of synthesis and simulation indicate that the design can give a better performance on speed and resource using with less hardware resourc and a higher frequency, and can meet the requirement of realtime application of JPEG image processing.The system is consisted by image collection and image compression. The system completes Image collection by the CMOS image sensor. CMOS image sensor can directly export digital image according with the standard of CCIR601. Image compression using JPEG encoder IP core, the IP connected with Avalon interface, cooperated with the image pre-processing module, realizing image compression coding. Finally the efficiency of the software, custom instruction and custom interface are compared.

Table of contents

Summary 4-5 ABSTRACT 5-7 directory 7-10 Chapter 1 Introduction 10-12 <br / > 1.1 Background 10-11 1.2 The main contents 11 1.3 thesis structure 11-12 Chapter 2, the basic theory and relevant technical 12-26 2.1 FPGA technology Overview 12-14 2.1.1 FPGA Profile 12 technical characteristics 2.1.2 FPGA 's 12-13 2.1.3 FPGA compared to the advantages of DSP chips 13 2.1.4 FPGA ASIC technology relative advantages 13 2.1. 5 pairs predicted nbsp FPGA development ; 13-14 2.2 SOPC technology 14-19 2.2.1 SOC Introduction 14 2.2.2 SOPC technical Overview 14-15 2.2.3 SOPC soft core technology 15 2.2.4 Nios II soft-core processing system 15-19 2.3 SOPC system design approach 19-20 2.4 SOPC system authentication method 20-21 2.5 hardware acceleration module mount 21-23 2.5. 1 hardware acceleration Profile 21-22 2.5.2 custom command mode 22 2.5.3 custom peripherals 22-23 2.6 JPEG image compression standard 23-26 2.6.1 JPEG About 23-24 2.6.2 JPEG basic system 24-25 2.6. 3 JFIF file format 25-26 Chapter 3 JPEG encoder design and implementation 26-49 3.1 encoder design ideas 26-29 <br / > 3.1.1 pong operation 26-27 3.1.2 serial to parallel conversion nbsp 27 3.1.3 pipelining ; 27-28 3.1. 4 flow Control 28-29 3.2 JPEG encoder overall design 29-31 3.3 dimensional discrete cosine transform 31-37 3.3. a discrete cosine transform About 31-32 3.3.2 -dimensional discrete cosine transform algorithm 32-33 3.3.3 one-dimensional discrete cosine transform algorithm 33 -34 3.3.4 one-dimensional discrete cosine transform 34-35 3.3.5 -dimensional discrete cosine transform 35-36 3.3.6 test The results 36-37 3.4 quantify and Zigzag transformation 37-41 3.4.1 Introduction to quantify and Zigzag transformation 37 3.4.2 quantify and Zigzag algorithm 37-38 3.4.3 quantify and Zigzag transform 38-41 3.4.4 test Results 41 3.5 entropy coding module 41-47 3.5.1 Introduction and entropy coding algorithm introduced 41-43 3.5.2 entropy coding module overall design 43 3.5. 3 DC coefficient processing algorithms 43-44 3.5.4 AC coefficient processing algorithms 44 3.5.5 DC coefficient processing to achieve 44-45 3.5.6 AC coefficient processing to achieve 45-46 3.5.7 stream assembly module 46 3.5.8 entropy coding input and output interfaces 46-47 3.5.9 test Results 47 3.6 JPEG encoder interface design and implementation 47-49 3.6.1 Avalon bus interface 47-48 3.6.2 JPEG encoder drive 48-49 Chapter 4 encoded image acquisition system 49-63 4.1 overall system design 49 < br /> 4.2 SOPC hardware system 49-52 4.2.1 SOPC hardware platform 49-50 4.2.2 SOPC system architecture 50 configuration 4.2.3 Nios processor system 50-52 4.3 image acquisition system 52-58 4.3.1 CMOS image sensor OV9650 52-53 < br /> 4.3.2 image Acquisition System design 53-54 4.3.3 image sensor configuration module 54-55 4.3.4 image acquisition module 55 -58 4.4 image coding system 58-63 4.4.1 image coding system design 58 4.4.2 image pre-processing module 58 -61 4.4.3 JPEG coding control module 61-63 Chapter 5 System analysis and testing 63-69 5.1 image acquisition system testing 63-64 5.1.1 testing program 63 5.1.2 test Results 63-64 5.2 JPEG encoder test 64-65 5.2.1 testing program 64 5.2.2 test Results 64 5.2.3 encoding time analysis 64-65 5.3 The overall system verification 65-66 5.3.1 testing program 65 5.3.2 test Results 65-66 5.4 hardware and software performance analysis 66-69 5.4.1 testing purposes implementation 66 5.4.2 custom commands 66 5.4.3 custom peripherals implementation 66-67 5.4.4 software implementations 67 5.4.5 testing program 67 5.4.6 test Results 67-69 Chapter 6 summary and Outlook 69-71 References 71-73 Thanks 73-74 during the degree of academic study published directory 74

Related dissertations

  1. Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC
    LiXin ·Northeastern University ·2012 ·Master's thesis
  2. Transformer Sound Acquisition System Design and Realization Based the NiosⅡ
    QiuRuiYang ·Chengdu University of Technology ·2013 ·Master's thesis
  3. Design and Realization of Experimental Turntable Measurement and Control System Based on SOPC
    ZhaoShengBin ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. Design and implementation of 2D-FFT processor based on SOPC
    WangXiaoJun ·Yunnan University ·2013 ·Master's thesis
  5. The IP Core Design of Error Diffusion Algorithm and the Implementation of Halftone System Based on SOPC
  6. Multi-Function IP Core Design of IoT Temperature and Humidity Sensors Based on FPGA
    WangYiFan ·Beijing University of Technology ·2012 ·Master's thesis
  7. The Research of Vital Signs Monitoring System
    PuRuiRui ·Xi'an Technological University ·2013 ·Master's thesis
  8. SOPC - based image rotation , zoom , and target tracking system design and Implementation
  9. Research of Video Image Processing System Based on FPGA and SOPC Technology
    WenXiaoYong ·Tianjin Normal University ·2008 ·Master's thesis
  10. The Research and Design of Modem Based on FPGA
    ChenZuo ·Central China Normal University ·2007 ·Master's thesis
  11. Research for SOC Design Base on FPGA
  12. Research and Design of Ground Access System of Satellite Based on FPGA
  13. Design of SOPC Embedded Navigation Computer
  14. Based on of SoPC the peripheral interface design and integrated
  15. Study on the Method of SOPC HW-SW Co-design
    HanZuo ·Beijing Jiaotong University ·2006 ·Master's thesis
  16. Intelligent Transportation Design of an image encoder
  17. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  18. The Design and Implementation of Multi-Channel Data Acquisition System Based on the SOPC Technology
    ZhangHui ·Lanzhou University ·2013 ·Master's thesis
  19. Dynamic Analysis and Control of Epileptiform Spikes in a Neural Mass Model
    LiuHuiJun ·Yanshan University ·2013 ·Master's thesis
  20. The Design of Small Mobile Robot Integrated Navigation System
    LiZuoBiao ·Harbin Engineering University ·2013 ·Master's thesis