The Design of the Measuring and Monitoring Liquid Level System
- Author
- ZhangFengLan
- Advisor
- LiYuCheng
- School
- North China University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 279
- Citations
- 0
Abstract
With the development of national industry , storage and transportation of liquid in all walks of life , more and more widely . The level measurement and monitoring work helps to maintain a normal level, thereby ensuring the safety of the storage and transport of liquids . With the development of science and technology and production , in the field of automatic liquid level detection of a variety of measurements , and its function is more and more perfect . In recent years, single-chip , as the next -bit machine with a PC as a combination of measurement and control of the host computer technology constantly improve and development . Based on the ideas and existing laboratory three tank water control system , the design aims to design an intelligent instrument for the measurement of tank level signal ; while the design of the interface of the host computer , and to enhance the visibility of the system ; achieve the lower machine multi - machine communication with the host computer for the monitoring of tank level signal , while storing data . The design includes hardware design, software design and PC software designed three major . In terms of hardware , the design use AVR microcontroller ATMEGA16 as the next crew . On the software side , the design application timer interrupt , A / D interrupt , interrupt USART ( Universal Synchronous and asynchronous serial receiver and transmitter ) receive and send data , using state transfer method . In the host computer , the design chosen Kingview software design interface of the Asia-controlled company . The PC and the next bit machine via RS485 bus connection using the Kingview HEX agreement to communicate . Experiments show that the design and implementation of the measurement and display of the signal , the adjustment of the system parameters ; alarm display of the host computer , curve recording and data storage ; PC and the next machine multi-machine communication , well signal measurement and monitoring . The PC interface visibility , user-friendly operation , to achieve the purpose of the intended design .
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-11
1.1 Background topics 9-10
1.2 This article mainly work 10-11
2 system hardware design 11-21
2.1 system hardware overall design 11-14
2.1.1 system hardware structure 11
2.1.2 ATMEGA16 chip introduced 11-14
2.2 part of the circuit design 14-18
2.2.1 power section design 14-15
the 2.2.2 signal path design 15-16
2.2.3 key design 16
2.2.4 D / A conversion circuit design 16-17
2.2.5 Communication Design 17-18
2.3 level controller control panel structure 18
2.4 circuit schematics and PCB implementation 18-21
2.4.1 circuit schematic diagram drawn 18-20
2.4.2 PCB diagram drawn 20-21
the
lower machine program design 21-29
3.1 debugging environment 21
3.2 lower computer program requirements 21
3.3 lower machine main program flowchart 21-23
3.4 part of the program design 23-29
3.4.1 state the keyboard design 23-25
3.4.2 software calibration zero / full scale 25
3.4.3-chip watchdog reset 25-26
3.4.4 chip within the E ~ 2PROM programming 26-27
3.4.5 Timer Interrupt A / D sampling interrupt 27-29
4 the host machine interface design 29-39
4.1 Configuration Wang Jieshao 29
4.2 the host machine interface design 29-39
4.2.1 Create a new project 30
4.2.2 define the data dictionary 30-32
4.2.3 tank control structure screen 32-33
4.2.4 System Flow screen 33-34
4.2.5 curve record screen 34-35
4.2.6 alarm screen 35
4.2.7 definition equipment 35-36
4.2.8 custom SQL Access Manager 36-38
4.2.9 print settings 38-39
5 upper machine and lower machine communication design 39-51
5.1 communication protocol introduced 39-40
5.2 ATMEGA16 USART introduced 40-42
5.3 communication parameters 42
5.4 data transmission format 42-43
5.5 Communication timing 43
5.6 communication protocol description 43-44
5.7 single-chip communication program design 44-51
5.7.1 Communication main program flow chart 44
5.7.2 Data Definition 44-45
5.7.3 serial interrupt 45-48
5.7.4 Receive Data CRC checksum 48
5.7.5 protocol handler 48-49
5.7.6 initialization procedure 49-51
6 system experimental results 51-56
6.1 Experimental Procedure 51-52
description and analysis of
6.2 Experimental results 52-56
concluded 56-57
the
References 57-59
learn research 59-60
Acknowledgements 60
Related dissertations
- Research and Application on the Remote Intelligent Monitoring System of Grain Depot
- The Research and Apply on Monitoring System of Hydrologic Stations
- The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
- Parameter Measurement for Conducting Liquid Based on Electromagnetic Technique
- Design and Research of Cabinet Air Purifier Control System Based on AVR Microcontroller
- Application Research of Predictive Control Based on RBF-ARX Model on Water Tank Level System
- Uranium hydrometallurgy process tower level control system research and design
- Research of Power Intelligent Control System of CTDS Based on PLC
- Research and Application of Reactor Vessel Temperature Control Prediction Algorithms Based on Particle Swarm Optimization Algorithm
- Design and Analysis of Breast Intervention Robot Controller Based on AVR Microcontroller
- Night Vision Image Processing Technology Research and Application
- Research on Liquid Level Measurement System on Linear Frequency Modulated Continuous Wave Radar
- System design of automatic processing of pathological tissue
- Remote Crop Growth Environment Factors Monitoring System Research Based on ZigBee/GPRS
- Design of Monitoring System for Corn Ear Drying Based on Configuration Technology
- Analysis of measurement technology and performance of electric UPS
- Study on the Automatic Detection and Sorting System for Rotary Encoder Switch
- Research on the Photovoltaic Grid-connected Inverter Automatic Testing with KingView
- Study on PMSM Experiment Platform Based on SCADA System
- A Study on Digital Control Technology of Pressurized Water Reactor Protection System