Design and Implemention of a New Liquid Level Sensor System

Author
BaoKangGui
Advisor
JinBuPing
School
Hangzhou University of Electronic Science and Technology
Major
Circuits and Systems
Classification
TP212 Transmitter ( converter),the sensor
Degree
Master's thesis
Year
2012
Downloads
167
Citations
0

Request the full text

Abstract

The liquid level sensor system is a device measuring the depth of liquid, it is widely used in industrial field level measurement, urban sewage treatment, irrigation monitoring, etc. Traditional liquid level sensor system is phased out because of it’s shortcoming:expensive、inaccurate and not easy to carry. With the continuous development of science and technology, computers、microelectronics、sensors and other high-tech widely used in our society, portable、high-precision intelligent liquid level sensor system become more and more popular.This paper is determined to realize a portable、high-precision(1%accuracy) liquid level sensor system(for open container), after analyzing a variety of liquid level sensors and absorbing their advantages on the market.Firstly, the paper expounds the principles of all kinds of liquid level sensors, analyzes their advantages and disadvantages. On this basis, discusses the feasibility of the reed switch as a liquid lever sensor net in detail, lists several points that should be taken attention, and designs a high-precision liquid lever sensor.Secondly, considering the long-distance signal transmission and the principle of interference, the paper adopts 4-20mA current loop to transmit the signal. The paper decide to use the integrated chip LM358 to design a cost-effective 4-20mA circuit after analysis of two kinds of 4-20mA current loop solutions, and designs a power providing 5V and 12V in accordance with the system requirements.And then, select PIC16F877A as system controller after analyzing the different types of microprocessor application of occasions. Use this chip to design a system control circuit, which is used to control、process and display the signal. Based on the upstairs, analysis the panel of each peripheral hardware interface circuit and function of practical circuit connection mode, lists the part program interface circuit and the explanation.Finally, in order to facilitate data communication and convenient second development, this paper designed the software of PC serial communication program based on VC++development environment. It can receive the level data from the MCU, and use the data to plot a line graph. User can know the real-time level value when viewing the line graph on PC, it is very convenient. At the same time, the interface can preserve the value of the level in computer to facilitate the secondary development.Through practical debugging, this liquid level sensor system can achieve the requirement of 1%accuracy, range with 1 meter. It can normal and stable work, and can realize data uploading function in the absence of harsh environment. Quite a distance with the equipment on-site in the outdoor, the user can monitor the lever changes in the room in real-time. It does have practical application value.

Table of contents

Summary 5-6 ABSTRACT 6-11 Chapter 1 Introduction background and significance of the study 11-16 1.1 11 -12 1.2 common gauge 12-13 1.3 level sensor domestic situation and development trend 13-14 1.4 the purpose of thesis research , content and major work 14-15 1.4.1 significance of Research contents 14 1.4.2 Research 14-15 1.4.3 papers structural arrangements 15 1.5 Summary 15-16 Chapter 2 reed level sensor principle and system structure 16-22 2.1 Introduction reed device 16 2.2 reed reed action mechanism and installation considerations 16-18 2.2.1 reed action mechanism 16-17 2.2.2 reed Cautions 17-18 2.3 reed level sensor principle 18 2.4 reed liquid error Analysis and precautions level sensor 18-19 2.4.1 level sensor error analysis 18-19 2.4.2 other Considerations 19 2.5 reed level sensor system design 19-21 2.6 Summary hardware design and anti 21-22 Chapter 3 level sensor interference principle 22-33 3.1 sensor design 22-23 3.2 sensor signal transmission 23 3.3 4 ~ 20mA transmitter design 23-29 3.3.1 integrated chip XTR115, AD623, LM358 Introduction 24-26 3.3.2 two voltage - current converter design 26-29 3.4 system driver circuit 29-31 3.4.1 three-terminal regulator device 78XX About 29-30 3.4.2 drive Power circuit design 30-31 3.5 hardware circuit jamming design 31-32 3.6 Summary 32-33 Chapter 4 level sensor control part of the design 33-52 4.1 minimum system control section 33-36 4.1.1 PIC16F877A microcontroller Profile 33-34 4.1 .2 minimum system circuit design 34-35 4.1.3 PIC16F877A microcontroller development environment 35-36 4.2 peripheral function circuit control part 36-48 4.2.1 key interface circuit 36-37 4.2.2 level alarm circuit 37 4.2.3 A / D sampling circuit 37 - 39 4.2.4 LCD circuit 39-44 4.2.5 serial communication circuit 44-48 4.3 control system programming 48 - 51 4.3.1 control system design flow 48-50 4.3.2 level signal processing design 50-51 4.4 Summary 51-52 Chapter 5 PC program designed 52-61 5.1 Visual C 6.0 development environment Introduction 52-53 5.2 PC program functions and serial communication method 53 5.3 PC program designed 53-60 5.3.1 PC diagram design 53-54 5.3.2 serial communication program 54-56 5.3.3 waveform display program 56-58 5.3.4 data storage program 58-60 5.4 Summary 60-61 Chapter 6 system Debugging 61-67 6.1 system debugging common method 61 6.2 level sensor circuit debugging 61-62 6.3 control system debugging 62 6.4 PC features debugging 62-63 6.5 level sensor system FBI 63-66 6.6 summary 66-67 Chapter 7 summary and Outlook 67-69 7.1 Full Summary 67 7.2 work Prospects 67-69 Thanks 69-70 References 70-72 Appendix 1 72-73 Appendix 2 73-74

Related dissertations

  1. The Research and Design of the Wire Tracker Based on DSP
    WuJieHui ·Anhui University ·2014 ·Master's thesis
  2. Design of Automobile Fuel Consumption Detector Based on Carbon Balance Principle
    YinHui ·Wuhan University of Technology ·2008 ·Master's thesis
  3. Research and Development of Hydrodynamic Torque Converter Testing Bed
    ChenXiang ·Jiangsu University ·2007 ·Master's thesis
  4. Control the Simulation of Robot with the Sextuple Mouse Systematic Research and Development
    LiuYu ·Hebei University of Technology ·2004 ·Master's thesis
  5. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  6. Unattended Substation Visual Monitoring System Design
  7. Research on PLC remote monitoring technology based on Internet
    LiuWeiGang ·University of North ·2014 ·Master's thesis
  8. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis
  10. Development and design of intelligent residential area centralized control system
  11. Development of Simple Controller Device
    XuMing ·Dalian Polytechnic University ·2010 ·Master's thesis
  12. Development of Automatic Towel Hemming Machine Control System
    ZhaoXu ·Dalian Polytechnic University ·2012 ·Master's thesis
  13. PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
    LiuXin ·Hebei University of Technology ·2013 ·Master's thesis
  14. Research on Robot Teaching-box Based on an Embedded Computer
    WangLe ·Tianjin University ·2012 ·Master's thesis
  15. Optimization Design and Implementation of Magnetostrictive Displacement Sensor
    WangLei ·Tianjin University ·2012 ·Master's thesis
  16. Study of a Liquid Level Sensor Based on Fiber Optic Array and Magnetic Coupling
    YuXuan ·Wuhan University of Technology ·2013 ·Master's thesis
  17. Design and Implementation of Image Resizing and Splicing System Based on Computer Desktop
    GaoYiChao ·Harbin Engineering University ·2013 ·Master's thesis
  18. The Development of the Small Part Dimension Detection System Based on Image Processing Technology
  19. Design of Micro-weighing System for Capsules of Tradical Medicine Based on VC++
  20. The Development and Application of Tobacco WMS Based on RFID
    DuGuangJie ·Qilu Industrial University ·2013 ·Master's thesis