摘要在建造闸、水坝处等在水位集中跌落的情况下,船闸用以保证通航的水利工程建筑物。在保证船只通航的过程中需改变闸室的水位高度,这必须要进行水位监测,国内许多水位监测仍采用人工方法。该方法不但存在测量的人身安全问题,而且还存在数据测量不够准确、检测实时性不强等问题。为了实时准确的监测水位,设计了一套单片机控制的水位监测方法。49104
本文阐述了国内外水位监测仪器的现状,提出了水位检测系统的总体设计思路、软件设计方案。论文主要论述对水位数据采集和传输系统的设计与实现。它的主要功能是完成数据采集、处理、传输等。基于对数据采集系统体系结构及功能要求的分析,本文设计并实现的采集系统采用51单片机为核心,扩展了电源电路、复位电路、A/D转换电路、GSM模块等。在对该方案进行细化的过程中,对各功能模块的关键技术和设计作了具体的描述。
本文包含系统总体方案设计、各模块的软件编程。系统的软件编程设计主要内容为完成单片机对水位传感器输出信号的处理、A/D转换、LED动态显示、数据传输至上位机等功能。
毕业论文关键词:51单片机;水位传感器;C语言
Abstract In the construction, such as DAMS place in sluice on the water drop, to ensure the navigation of water conservancy project building. In order to ensure the process of navigation ships to change the water level elevation chamber, it must be monitoring water level.At present,many domestic water level monitoring stations are still using manual methods.The method of measuring not only the physical presence of security problems,but there are still difficult to measure accurately monitor real-time monitoring is not strong,and so on.In order to accurately monitor real-time water level,designed a single-chip microcomputer control of the water level monitoring system.
This paper discusses current situation and development of water-level monitor,describes the design theory and policy of water-level detective monitor.This thesis mainly discuss the design and realization of the data collection system which refers to the pressure inside the water.The system is mainly used to finish the data collection、processing、display and data storage.On the analysis of the system structure and function requirement,the system in this thesis adopts the 51,expands the power、reset interface circuit,introduced the design of GSM remote communication.In the deep discuss of the system,it describes the key technique and design concretely.
This article contains the whole system design, of each module in software programming. System software programming design main content to complete the monolithic integrated circuit to the water level sensor output signal processing, the A/D conversion, LED display, dynamic data transmission first place machine etc. Function.
Keywords: 51 Single-chip Microcomputer; water-level sensor; C lanuage
目 录
第一章 绪论 - 1 -
1.1 课题背景及其意义 - 1 -
1.2 国内外发展状况 - 2 -
1.3 本课题研究的主要内容 - 5 -
第二章 系统总体设计 - 7 -
2.1系统总体设计方案 - 7 -
2.2硬件电路的设计 - 7 -
第三章 软件设计 - 12 -
3.1程序设计语言的选择 - 12 -
3.2 MCS-51单片机开发环境 - 13 -
3.3软件程序设计