Based on NIOS Ⅱ portable ultrasonic flowmeter measurement and control module design

Author
RenXiaoZuo
Advisor
ZhaoHui
School
University of Electronic Science and Technology
Major
Detection Technology and Automation
Classification
TP274.53 Ultrasonic testing equipment
Degree
Master's thesis
Year
2011
Downloads
70
Citations
0

Request the full text

Abstract

This topic is a portable ultrasonic flowmeter measurement and control module FPGA-based embedded technology R \u0026 D , the core component of Altera Corporation 32 CPU NIOS II soft-core . Soft core CPU flexible customization, powerful performance , and be able to build a system-on-chip support for multi- processor systems , etc. , to achieve lower costs, reduce the volume, designed to improve performance . The same time, the system also has a non-contact measurement of ordinary ultrasonic flowmeter , accurate and reliable measurement of pressure loss of traditional advantages , and therefore has a broad application prospects . The design of this project portable ultrasonic flowmeter using transit-time measurement principle , mainly used for gas or liquid flow rate measurement . In order to improve the measurement accuracy , the use of dual-channel processing of hair to measure the flow rate of the closing , measurement data using the weighted algorithm , and custom LCD display real-time data of the instantaneous flow rate and totalized flow . This paper first introduces the basic principles of transit-time measurement and the system 's overall design concept , and then complete the SOPC peripherals required hardware circuit structures . This topic using EP2C8Q208 chips as the core components of the system , SOPC system built on the chip to achieve control of the entire system and data processing . SOPC of the system consists of two soft-core CPU, which the CPU1 is responsible for the ultrasonic signal transceiver control , CPU2 responsible for timing data processing and display , two soft-core CPU to achieve a shared system resources occupied by mutually exclusive nuclear MUTEX . NIOS IDE written two soft -core CPU program, completed in accordance with the general flow program code to write and debug . SOPC system and timing modules are added to a project file , the system compiles . According to compile information , calculate the SDRAM clock phase shift and engineering optimization , especially for timing optimization , guaranteed to meet the setup and hold times of the various interfaces . Download via USB BLASTER line engineering download to EPCS Configuration chip , the system automatically run on electricity . After the design is complete , the analysis of field test data to determine the measuring range of the system . Within the measuring range of the system , the system is stable , high measurement accuracy and maintain good linearity , basically reached the standards of the mainstream of the domestic manufacturers . At this point, the design of this project is completed .

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter Introduction 10-16 1.1 FPGA embedded soft core NIOS Ⅱ Introduction 10-11 the the 1.2 portable ultrasonic flowmeter profiles and development status at home and abroad 11-12 1.3 This topic innovations 12-13 1.4 project design requirements as well as indicators 13 1.5 The main subject of research 13-15 1.6 Summary 15-16 Chapter II portable ultrasonic flowmeter measurement principle as well as the overall system framework design are found; 16-20 2.1 measurement principle of the transit-time analysis 16-18 2.2 overall system framework design 18-19 2.3 Summary 19-20 the FPGA peripheral circuit structures as well as timing module design 20-36 3.1 FPGA peripheral circuit structures 20-28 3.1.1 FPGA About 20-21 development tools 3.1.2 Introduction to Quartus Ⅱ 21-22 3.1.3 FPGA design flow 22-23 3.1.4 FPGA peripheral circuit components 23-28 3.2 FPGA users design custom module 28-35 3.2.1 FPGA overall framework of self-defined logic module 28-29 3.2.2 FPGA custom logic sub-module design 29-33 3.2.3 compile comprehensive 33-34 3.2.4 Timing System Simulation 34-35 3.3 Summary 35-36 Chapter SOPC system control module hardware design 36-59 4.1 SOPC hardware development environment and design process 36-37 4.1.1 hardware development environment 36 4.1.2 SOPC design and development process 36-37 4.2 SOPC system hardware structures 37-52 4.2.1 NIOS Ⅱ embedded soft-core processors 37-41 4.2.2 SDRAM controller 41-45 4.2.3 EPCS controller 45-46 4.2.4 PIO controller 46-47 4.2.5 timer controller 47-49 4.2.6 UART nuclear 49-51 4.2.7 Mutex nuclear 51-52 4.3 dual-core shared resource setting 52-54 4.4 timing data sharing 54-55 4.5 SOPC system as a whole connection 55-58 4.6 Summary 58-59 Chapter SOPC system control module software design 59-78 5.1 software development environment 59 5.2 soft-core CPU1 programming 59-68 5.2.1 system initialization subroutine 62 5.2.2 ultrasonic probe the driver subroutine 62 5.2.3 a single measurement of transmission time subroutine 62-64 5.2.4 automatic gain control subroutine 64- 5.2.5 multiple measurements subroutine 64-66 5.2.6 receiver FPGA timing data subroutine 66-68 5.3 soft-core CPU2 programming 68-75 5.3.1 LCD initialization 68-70 5.3.2 flow calculation 70-72 5.3.3 LCD display format conversion 72-73 5.3.4 LCD write the address to write data 73-75 5.4 overall system optimization of 75-77 5.5 Summary 77-78 Chapter test data analysis and conclusions 78-84 6.1 test results and analysis 78-83 6.2 Summary 83-84 Chapter VII Summary and Outlook 84-85 Acknowledgements 85-86 the References 86-88 studying for Master made during research 88-89

Related dissertations

  1. The Design and Implementation of Multi-Channel Data Acquisition System Based on the SOPC Technology
    ZhangHui ·Lanzhou University ·2013 ·Master's thesis
  2. Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
    WangXing ·Northeastern University ·2013 ·Master's thesis
  3. Design and Implementation of Speaker Recognition System Based on SOPC
    ZhangXue ·Northeastern University ·2010 ·Master's thesis
  4. Design and Research Of Digital Audio Processing System Based on NiosⅡ
    SongNing ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  5. Design of Multi-physiological Signals Monitoring System Based on SOPC
  6. Research and Design of Temperature and Humidity Remote Monitoring System Based on SOPC
    XuKang ·Wuhan University of Technology ·2012 ·Master's thesis
  7. Nios Ⅱ-based Single-point Adaptive Controller Design
    ZhangLiXia ·Southwest Jiaotong University ·2011 ·Master's thesis
  8. Design and Realization of Experimental Turntable Measurement and Control System Based on SOPC
    ZhaoShengBin ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. The Design and Implementation of Image Stabilization Technology Based on Nios Ⅱ
    KouWeiGang ·Lanzhou University of Technology ·2012 ·Master's thesis
  10. The Design and Research of Video Monitoring System Based on SOPC
    WangZhengFeng ·Donghua Polytechnic University ·2012 ·Master's thesis
  11. Design and Implementation of Nios Ⅱ-based Video Capturing System
    TianDaFang ·Chengdu University of Technology ·2013 ·Master's thesis
  12. Design and Implementation of Fingerprint Feature Extraction System Based on FPGA
    ZhangYaJing ·Northeastern University ·2010 ·Master's thesis
  13. Design and Implementation of Video Fire Detection System Based on FPGA
    LvRiQing ·Northeastern University ·2010 ·Master's thesis
  14. Design of image recognition system based on Nios
    ZhangXiuXiu ·Qingdao University ·2012 ·Master's thesis
  15. The Research of Real-time Image Edge Detection System Based on NiosⅡ
    XuHui ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  16. Implementation of EMCCD signal acquisition and data transmission
  17. Application of Simple Genetic Algorithm Based on FPGA
  18. The Arbitrary Waveform Generator Based on SOPC
  19. The Design and Implementation of RF Transceiver SOPC Develop Board
    ZhangLiang ·Zhongyuan Institute of Technology ·2012 ·Master's thesis
  20. Design and Implementation of Embedded Storage System Based on the SOPC and SD Card
    GeYu ·Northeastern University ·2010 ·Master's thesis