基于单片机的泵站监控系统的设计

 2023-04-12 03:04

论文总字数:30660字

摘 要

所谓单片机又称作微控制器(MCU),它是种性能高、功耗较低的8位单片机种类,它作为嵌入式系统中最为重要并且发展十分迅猛的构成模块。单片机为系列机器的标准类型号单片机,。当在单片机芯片上接复位功能电路、振荡原件(或振荡源)、和接口电路,在载入软件以后,能够组成单片机系统使用,成为一个大多数产品、设备等元器件的核心智能化设备。该文章中大量利用了对其编程、单片机芯片,因此可以设计出一个对灌区供水泵站进行控制和监测的系统,而且也采用了进行开展模拟性仿真测试检验,以及采用protel进行绘制该泵站监控系统整体的电路框图。

文章首先介绍了课题产生的背景、意义以及课题的主要研究任务,然后介绍了基于51单片机的泵站监控系统总体方案的提出和整体框图,并介绍了每部分设计的原理和方法。接着是介绍在硬件电路设计过程中所用的软件、主要芯片及其功能,然后介绍了各个功能模块详细的硬件电路设计方案、框图和电路图。在这以后,本文主要讨论了系统中软件设计所使用的重点软件、编程设计思路、流程图绘制以及各个模块详细的C语言程序。还有就是有关程序调试问题、运行及仿真结果验证。最终对于在毕设过程当中碰到的困难和疑问进行思考以及学习,并且对实施方案进行了更加深入的总结、改善和创新。

关键词:灌区监控 51单片机 硬件电路 软件设计

Abstract

The so-called Sigle-Chip Microcomputer is a kind of Microcontroller Unit(MCU),it is an

important and growing rapidly component for embedded systems.Microcontroller connected to the oscillation(oscillation source),reset circuit and an interface circuit,after loading the software into it,can constitute microcomputer application systems,also becoming the intelligent core of many products and equipments.AT89C51 Microcontroller is a standard machine of AT89 series,it has 8-bit with the low-power,high-performance.In this article,we use the AT89C51 chip to design a monitoring and controling system for the irrigation pumping station,and write the program for AT89C51 using keil 4,then using the protel 99se to draw the whole system circuit diagram and the proteus to simulation.

First,the article introduces the background of this topic researching,the main studying task and significance,then introduces the overall scheme of monitor system for the pump station presented and the overall diagram based on,tells us the principle and design method of each part.

Second, introduce the used software,the major chip,and its function, during the processing of hardware circuit designing.Then it’s the detail hardware circuit design plans,block diagram,circuit diagram of each function module.After that,we introduce the major software,programming ideas,tree,the detail each module C program in processing of the system software designing,and then to debug,run the program,and to verify the simulation results.At last,thinking and learning for the encountered problems in the process of graduation design,and carrid on the further improvement and summary.

Keywords: Irrigation area monitoring,51 single chip microcomputer,Hardware circuit,

Software design

目 录

摘 要 2

Abstract 3

第一章 绪论 5

1.1 研究的背景和意义 5

1.2 研究现状 5

1.3 研究内容 6

第二章 系统的整体设计思路及原理 6

2. 1 泵站监控系统的整体设计方案 6

2. 2 泵站监控系统的功能设计要求 7

2. 3 泵站监控系统各功能模块原理 8

2.3.1 4乘4矩阵键盘模块设计原理 8

2.3.3 AT89C51与ADC0809(ADC0808)A/D模数转换模块原理 12

2.3.4 电源模块设计原理 13

2.3.5 泵站功能模块设计原理 16

第三章 硬件电路的设计 22

3.1 电路图绘制软件Protel 99SE简介 22

3.2 监控系统主要芯片的介绍 23

3.2.1 AT89C51芯片介绍 23

3.2.2 ADC0809芯片及功能介绍 24

3.3电路模块的设计 25

3.3.1 电源电路的设计 25

3.3.2 显示电路的设计 27

3.3.3 键盘输入电路的设计 28

3.3.4 放大电路的设计 29

3.3.5 功能电路及A/D模数转换电路的设计 29

3.4 整体电路图 32

第四章 系统软件设计 33

4.1编程软件Keil 4简介 33

4.2设计思路和流程图 33

4.2.1 设计思路 33

4.2.2 主程序流程图 33

4.2.3 各个模块子程序流程图 34

4.3软件程序的实现 38

第五章 系统的调试与仿真 38

5.1 Proteus仿真软件简介及使用 38

5.2 Multisim局部仿真软件介绍及使用 39

5.3 系统调试与仿真 40

5.3.1 测试稳压电源电路及信号放大输出情况 41

5.3.2 测试各个功能输出显示 (Proteus整体仿真) 43

第六章 展望及总结 47

致 谢 48

参考文献 49

附 录 50

剩余内容已隐藏,请支付后下载全文,论文总字数:30660字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;