基于单片机的水位检测控制系统设计
下载后可任意编辑 基于单片机的水位检测控制系统设计 学 院: 专 业: 姓 名: 指导老师: 信息学院 自动化 刘翔 学 号: 职 称: 090104021046 盛珣华 曹宇 教授 助理工程师 中国·珠海 二○一三年五月 诚信承诺书 本人郑重承诺:本人承诺呈交的毕业设计《基于单片机的水位检测控制系统设计》是在指导老师的指导下,独立开展讨论取得的成果,文中引用他人的观点和材料,均在文后按顺序列出其参考文献,设计使用的数据真实可靠。 本人签名: 日期: 年 月 日 基于单片机的水位检测控制系统设计 摘要 随着社会和科技的进步,以及人们的生活标准水平逐步的提高与进展,方便的全自动控制系统生活的开始逐步进入到我们的生活,单芯片微型计算机进展是其中的一个重要分支,具有高可靠性,高性能价格比,低电压,低功耗等优点,以单片机为核心的自动化控制系统已经赢得了广泛的应用范围。 本设计是基于单片机的水位检测控制系统设计。设计系统的目的在于应用单片机的自动运行技术,使得水塔中的水位始终保持在一定范围内,以保证连续正常的供水。本设计是以AT89C51单片机为核心部件的水塔水位检测控制仿真系统设计的,用以检测水位并进行控制、处理以及报警功能,并在Proteus仿真软件环境中仿真测试。结果表明,设计的系统具有良好的检测和控制功能,方便移植性和可扩展性。 关键词:水位控制 单片机 报警 Based SCM the water level detection control system design Abstrac With the social and technological progress, as well as the level of people s standard of living gradually improve with the exhibition, and the convenience of automatic control system for the beginning of life gradually into our lives, single-chip microcomputer development is an important branch,the advantages of high reliability, high perance and low cost, low-voltage, low-power microcontroller as the core of the automation control system has won a wide range of applications. The title of the graduate design microcontroller-based water level detection and control system design, three metal rods into the water used to detect the signal, the conductivity of the water, can see that the water level changes. Under normal circumstances, the water level should be kept within a certain range changes, the water level does not exceed the stipulated upper and lower limits, in the event of a system failure, should be promptly cut off electrical power, and there should be sound and audible alarm signals of the light-emitting diode. Design System aimed the application microcontroller run automatically, so that the water level in the water tower always maintained within a certain range in order to ensure the continuous normal water. The design is based on AT89C51 microcontroller as the core components of the water tower water level detection and control simulation system designed to detect water level control, processing, and alarm functions, and Proteus simulation software environment simulation testing. Experimental results show that the design of the system has a good detection and control functions, portability and scalability. Keywords:Level controlmicrocontroller alarm 下载后可任意编辑 目 录 1前言1 1.1.本设计在国内进展概况1 1.2国外进展概况1 1.3设计目的2 1.4设计意义2 2总设计2 2.1设计的技术要求2 2.2应解决的主要问题3 2.3设计原理3 2.4方案选择3 2.5给定参数5 2.6整体方案设计5 2.7优点和特色6 2.8创新点7 2.9系统运行过程可能存在的问题7 2.9.1现场数据经过DTU发送后在远程监控室接收不到7 3硬件介绍7 3.1光电耦合器4N257 3.1.1工作原理7 3.1.2主要性能8 3.1.3引脚图和引脚名称8 3.1.4极限参数8 3.2单片机芯片STC90C516RD+9 3.2.1芯片简介绍9 3.2.2芯片STC90C516RD+引脚9 3.2.3主要性能10 3.3电磁继电器11 3.4蜂鸣器11 3.5远程通信模块DTU12 3.6液位高度传感器12 4组态软件13