Data Acquisition and Control System Based on FPGA for Water Treatment Project

Author
FangZhiChao
Advisor
LiuXiaoWei
School
Harbin Institute of Technology
Major
Microelectronics and Solid State Electronics
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2010
Downloads
128
Citations
0

Request the full text

Abstract

With the advances and development of modern industry, the automatic and intelligent control for sewage treatment system has become an inevitable trend. The conventional control system use PLC as control unit. However, the system performance is limited for further improvement because of the limited data processing capability of PLC. Although the data acquisition system based on embedded processor represented by ARM has a better performance, but the I/O resources are limited and the system is not conducive to upgrading due to its inflexibility. For now, small and medium water plants have the characteristics of low degree of automation and insufficient funds. They need new technology urgently to solve the problem of high cost and high maintenance spending for introducing foreign equipments. According to these needs and actual situation, a new sewage treatment data acquisition system based on NiosⅡis designed in this paper.After analysising research status at home and abroad of water treatment and data acquisition system, overall plan of data acquisition system based on FPGA is established. According to actual need of water treatment, digital input module, digital output module, analog input module and analog output module are designed, so the system has function of collecting and outputting both switching value and analog value. CAN bus is adopted to enhance reliability. FPGA of Altera Corporation is used as core control unit of system, and its type is EP2C70F896C6. Multi-task scheduling is realized by transplantingμC/OSⅡembedded real-Time operating system. Communication of system is realized by programming CAN driver. And Protocol convertion between CAN and RS232 is also designed, which makes it possible to output data through serial port. Moreover, a digital filtering algorithm is added in system to enhance the anti-jamming ability. At last, system testing is performed. Experimental results show that the system achieves the desired data acquisition and communication functionality. The maximum error of AD sampling is no more than 30mV. The average error of DA sampling is 12mV. The system can run up to 117MHz, and has good flexibility and cost-effective.

Table of contents

Abstract 4-5 Abstract 5-8 Chapter 1 Introduction 8-13 1.1 topics background 8-9 < br /> 1.2 development in the world 9-11 1.3 of the purpose and significance 11 1.4 dissertation research 11-13 first Chapter 2 Nios Ⅱ structure and design principles 13-19 2.1 Nios Ⅱ embedded processor 13-15 2.2 Avalon bus 15-16 <br / > 2.3 hardware Abstraction Layer 16-17 2.4 SOPC system development 17-18 2.5 Chapter Summary 18-19 Chapter 3 hardware design 19-35 3.1 water monitoring overall system design 19-21 3.2 FPGA hardware design 21-24 3.2 .1 selected chip Overview 21-22 3.2.2 FPGA peripheral circuit design 22-24 3.3 digital acquisition module design 24-25 <br / > 3.3.1 digital input Module 25 3.3.2 digital output module 25 3.4 analog input module design 25-30 3.4 .1 current-voltage conversion circuit 26 3.4.2 analog multiplexer 26-28 3.4.3 signal conditioning circuit 28-29 3.4.4 ADC circuit 29-30 3.5 analog output module design 30-32 3.5.1 DAC circuit 30-32 3.5 .2 output buffer circuit 32 3.6 CAN communication module design 32-34 3.7 Chapter Summary 34-35 Chapter 4 System software design 35-48 4.1 Nios Ⅱ control system design 35-39 4.1.1 Nios Ⅱ system construction 35-38 4.1 .2 μC / OS Ⅱ transplant 38-39 4.2 overall software architecture 39-41 4.3 CAN communication driver 41-45 4.4 digital filtering algorithm 45-47 4.5 Chapter Summary 47-48 Chapter 5 System test Results 48-55 5.1 CAN communication debugging 48-50 5.2 system test results 50-54 5.3 chapter Summary 54-55 Conclusion 55-56 <br / > References 56-61 papers published during the study for a degree 61-63 Thanks 63

Related dissertations

  1. Research on the Reform of Taxation Information Management Mechanism in China
    ZhangYiXiang ·Huaqiao University ·2013 ·Master's thesis
  2. The Research of Ecolab Competitive Strategy in Chinese Market
    Wei ·Shanghai International Studies University ·2014 ·Master's thesis
  3. The Ningbo Public Transit Circuit Capacity Model and Practical Research
    XuBin ·Ningbo University ·2013 ·Master's thesis
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. Design and Implementation of Alarming Management System about Fireproof and Burglar
  6. Research on Mechanical Vibration Testing System
    YaoFeiZhao ·Dalian Polytechnic University ·2008 ·Master's thesis
  7. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  8. The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
    LiJian ·China University of Petroleum Hua Dong. ·2012 ·Master's thesis
  9. Development of ATE Signals On-line Monitoring Equipment
    QianKeWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  11. The Reliable Data Transmission System in the Maternal and Child Health Information Platform
    YangLei ·Guangxi University ·2012 ·Master's thesis
  12. Electromagnetic Tomography System for Biological Electrical Impedance Imaging
    LiXiaoKe ·Tianjin University ·2012 ·Master's thesis
  13. Research and Implementation of Meteorological Monitoring System Based on ARM9
  14. Design and Implementation of High Speed Data Recorder Based on FPGA
  15. Web Data Acquisition and Display System Based on Data-segment Technology of MDSplus
  16. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  17. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and Implementation of Multi-channel Data Acquisition System
  20. The Design and Research of PCI Data Acquisition Card Based on FPGA