SOPC-based multi-channel pulse counter Design and Implementation

Author
SongKeYu
Advisor
HuangZuo
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TH724 Counter
Degree
Master's thesis
Year
2009
Downloads
183
Citations
2

Request the full text

Abstract

Multi-channel counter is useful in many scientific experiments that are carried out in astronomy, physics, and biomedicine. In most traditional multi-channel counter systems, the control modules are often realized by MCU, DSP or FPGA/CPLD. MCU and DSP are suitable for implementing complex control functions, but it’s hard to time accurately because of the uncertainty of software’s running. FPGA/CPLD is easy to time accurately, but it’s hard to achieve complex control functions. This article comes up a noval method of eliminating the defects of traditional multi-channel counter systems. Utilizing SOPC, it’s easy to integrate Nios II processor in FPGA as the control module, which possess all the advantages of MCU and FPGA. The pulse count module is also implemented in FPGA. Because both the pulse count module and the control module are in one chip of FPGA, the system is configurable and expansile with a small size. The multi-channel counter system could communications with computer by RS232. The computer send orders to control the work modules of the multi-channel counter system, which can work in cycle repeat count module or real time display count module. In addition, the system can be also use to measure the temperature and pressure of the environment. The main contents are illustrated as follows:(1) The hardware schematic and the devices used have been generally introduced.(2) The inside modules of FPGA are designed. A 16 channel gray code counter are realized, that can avoid sample error when the system is working in real time display module.A timing module generated in FPGA is adopt to realize precise timing. Using parallel CRC account module can get the CRC of the output of the pulse count module rapidly.(3) The SOPC platform is configured based on practice requirements and then the Nios II processor is generated.(4) Application software is designed. The communication protocol between computer and counter system is designed. The communication reliability is improved by using some methods such as CRC and responsion. A parallel method to deal with count and sending result is realized, which improved the system’s efficiency. (5) System debugging and testing is applied to evaluate the overall performance of the system. The system can meet the requirements. The count rate of the system is up to 272MHz.

Table of contents

Abstract 4-5 ABSTRACT 5-13 first chapter 13-16 1.1 multi-channel pulse counter Research 13-14 1.2 multi-channel pulse counter the main design targets 14 1.3 the main contents and structure of the arrangement 14-16 Chapter system Hardware structural design 16-28 2.1 multi-channel pulse counter several common structural 16-18 2.1.1 control Module 16-17 2.1.2 The communication bus 17 2.1.3 and structural characteristics of the project based on stereotypes 17-18 2.2 system Architecture 18-26 2.2 .1 bus level converter chip SN74LVC4245A 19 2.2.2 MPXY8020A sensor 19-22 2.2.3 serial circuit 22-23 2.2 .4 FPGA controller 23-26 2.2.5 system Power circuit 26 2.3 Chapter Summary 26-28 Chapter III FPGA design 28-43 3.1 FPGA basic structure 28-29 3.2 FPGA development process 29-31 3.3 FPGA internal module 31-42 3.3.1 pulse counting module 32-35 3.3.2 sampling Module 35-39 3.3.3 multiplexer 39-40 3.3.4 Timing Module 40-41 3.3.5 Nios II processor , PLL and bus multiplexer 41-42 <br / > 3.4 Summary 42-43 Chapter SOPC hardware system design 43-56 4.1 SOPC technology and soft-core introduction NiosII 43-44 4.1.1 SOPC features 43 4.1.2 IP core concepts 43-44 4.1.3 Nios II soft-core processor introduced 44 4.2 SOPC embedded systems compared with conventional 44-46 4.3 SOPC hardware platform configuration 46-55 4.3.1 added Nios II CPU 46-47 4.3.2 added JTAG UART 47 4.3.3 adding external memory bus - Avalon tristate bus bridge 47 4.3.4 Join timer 47-48 4.3.5 added UART communication interface 48-50 4.3.6 added SPI interface 50-51 4.3 .7 join CFI controller 51-52 4.3.8 added SDRAM controller 52-53 4.3.9 added PIO ( parallel input Output ) 53 -55 4.4 Summary 55-56 Chapter V system software design 56-64 5.1 NiosII software design features 56-58 < br /> 5.2 -tasking software application design 58-63 5.2.1 communication protocols and control 58-59 5.2.2 Nios II software design 59-63 5.3 Chapter Summary 63-64 Chapter VI system simulation and performance testing 64-72 6.1 simulation testing programs and processes 64 6.2 FPGA internal module simulation 64-66 6.2.1 Gray code counter module simulation 64-65 6.2.2 Timing simulation module 65 6.2.3 FPGA internal modules combined simulation 65-66 6.3 serial communications test 66-67 6.4 counting accuracy Test 67-68 6.5 Timing accuracy Test 68-70 6.6 software functional testing 70-71 6.7 chapter Summary 71-72 seventh conclusions and Prospects 72-73 Thanks 73-74 References 74-76 attack Shuo research results achieved during the 76-77

Related dissertations

  1. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  2. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  3. Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
    MaQiang ·Tsinghua University ·2013 ·Master's thesis
  4. FPGA-based Fast Image Processing System
    YangLiJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
    WangXing ·Northeastern University ·2013 ·Master's thesis
  6. Design of Multimedia Platform Based on FPGA
  7. Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
    ZhangHaoPeng ·Zhejiang University ·2014 ·Master's thesis
  8. The Design of Disk Array Storage System Based on FPGA
    HuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  9. Research on the System for File Storage Media Conversion Processing
    LiuDe ·Qilu Industrial University ·2013 ·Master's thesis
  10. Research and Implementation of FPGA-based Cloud Storage Security Systems
    WangChongSen ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. The Design of High-speed Data Transmission System Based on RapidIO
    LiuLin ·Harbin Engineering University ·2013 ·Master's thesis
  12. Designof High-Frequency Spread Spectrum Communication System Based on SOPC
  13. Design and Implementation of Speaker Recognition System Based on SOPC
    ZhangXue ·Northeastern University ·2010 ·Master's thesis
  14. Design and Implementation of Wide-band Beamforming System Based on SOPC
    ChenQiuShi ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  16. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  17. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  18. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  19. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  20. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis