基于单片机的异型水箱仿真装置.doc
文本预览下载声明
题 目:基于单片机的异型水箱仿真装置
摘要mulation Set of Shaped Water Box
Based on MCU
Abstract
The object of this paper is a simulation set of shaped water box based on MCU.In the process of designing on software and hardware for the system,a few practical problems have been found.To solve these problems,we discuss the mathematical model building,the designing on hardware and software,and want to develop some new conclusions in practice and theory.
The core of the simulation set of shaped water box is to show the characteristic of shaped water box according to its mathematic model,and realizes its duty and function by software designing.
The highlight of this paper is to build up the mathematical model of the shaped water box.The shaped water box belongs to a controlled member of process control system in the experiment installation.Since the characteristic of the controlled member directly influences the quality of the whole system,so it is very important that the mathematical model of the shaped water box is built.We have deduced and built its mathematic model by adopt the deductive method,and we have designed the device to simulate the shaped water box.
Key words: MCU; Shaped water box; Mathematic model
目录
摘要 I
Abstract II
第一章 绪论 1
1.1 研究背景 1
1.2 课题的目的及研究的主要内容 1
1.3 课题的意义 2
第二章 异型水箱数学模型的建立 4
2.1 过程建模的介绍 4
2.2 单容过程的建模 6
2.3 异型水箱数学模型的建立 9
2.3.1 建立异型水箱数学模型的方法 9
2.3.2 异型水箱数学模型的建立 11
第三章 基于单片机的异型水箱仿真装置硬件设计 16
3.1 系统硬件的总体设计 16
3.2 中央控制部件 16
3.2.1 中央控制部件的选择 16
3.2.2 AT89C52的封装形式与引脚 17
3.2.3 AT89C52的基本电路 18
3.2.4 AT89C52的口线分配 19
3.3 串行程序存储器 20
3.3.1 X25045的引脚排列及引脚说明 20
3.3.2 X25045芯片功能 22
3.3.3 X25045工作原理 22
3.3.4 X25045与AT89C52的接口电路 23
3.4 模数转换部件 23
3.4.1 模数转换部件的选择 23
3.4.2 TLC0832引脚分配 24
3.4.3 TLC0832配置位说明 24
3.4.4 TLC0832时序分析 25
3.4.5 TLC0832与AT89C52的接口电路 26
3.5 人机接口部件 26
3.5.1 输出显示 26
3.5.2 键盘输入 28
3.5.3 液位报警 33
第四章 基于单片机的异型水箱仿真装置软件设计 34
4.1 系统主程序设计 34
4.2 A/D转换设计 36
4.3 数据处理设计 37
4.3.1 数字滤波设计 37
4.3.2 标度变换设计 39
4.4 键盘控制设计 42
4.5 液位报警设计 43
第五章 课题总结及设想 45
5.1 课题总结 45
5.2
显示全部