1、 - 1 - 毕业论文毕业论文 课题:课题:基于单片机的液位控制系统设计基于单片机的液位控制系统设计 - 2 - 摘摘 要要 本文提出了一种用单片机水位控制对水位进行精密控制的方 法,通过运用 AT89S52 单片机、模数转换器、水位模拟采集器、数 码管显示、12V 的三端稳压电路等硬件系统和软件设计方法,采用 模拟水位传感器对模拟水箱的容器进行水位测量,实现具有水位检 测和控制水位的双重功能,并对所需的水位值进行显示。在本文中 介绍了电路接口原理图,给出相应的软件设计流程图和汇编程序, 并运用了 Proteus 仿真软件来进行仿真。并在控制水位的过程中运 用了自动反馈的系统的控制。 关键词关
2、键词:单片机;水位检测;仿真;反馈控制 - 3 - Abstract This article presents a microcontroller water level control on the water level of precision control method by using AT89S52 MCU, ADC, the water level analog capture, digital display, 12V three-terminal voltage regulator circuit, such as hardware and software design
3、 methodsusing the analog level sensor on the simulation of tank containers for water level measurement, dual function water level detection and control of water level and water level values for display. Circuit interface schematics described in this article, given the appropriate software design flo
4、w and assembler, and use the Proteus simulation software to simulate. Use and control the water level in the control of the automatic feedback system. Key Words: Microcontroller; water level detection; simulation; feedback control - 1 - 目目 录录 第一章 绪论.- 3 - 第二章 系统的总体方案概括 - 3 - 2.1 使用单片机实现水位控制的优点 . - 3 - 2.2 系统的总体研究方案 . - 3 - 2.3 本课程设计系统概述 . - 4 - 第三章 系统各种控制器简介 - 6 - 3.1 AT89S52 单片机简介 . - 6 - 3.2 ADC0809 集成芯片简介 . - 9 - 3.3 集成电路 74HC245 简介 - 11 - 3.4 集成电路 LM324 简介 . - 11 - 3.5 .89S52 驱动 4 位共阳极数码