1、 毕 业 设 计 说 明 书 ( 论 文 ) 中 文 摘 要毕 业 设 计 说 明 书 ( 论 文 ) 中 文 摘 要 采用单片机开发的流量计,具有计量精度高,功耗低、稳定可靠、成本低等特 点。文中介绍了一个折线流量计的设计思路。简单介绍了其流量计量的原理、特 点和发展现状。并结合当前研究和应用中的问题指出了流量计的发展趋势。主要 介绍了流量计的原理组成和其软件编程方法。 该流量计的硬件主要由流量传感器、 8031 单片机及其接口电路等部件组成。用 8031 单片机进行数据处理和检测,并 讨论在以 8031 单片机为微处理器的智能化仪表中采用一片 8155 实现智能仪表键 盘/显示器。该流量计
2、可以对工业自动化生产中的各种液体进行动态测量与计数。 同时它还具有硬件结构简单、读数直观、功能齐全、可靠性高等特点。 关键词 传感器 涡街流量计 单片机 毕 业 设 计 说 明 书 ( 论 文 ) 外 文 摘 要毕 业 设 计 说 明 书 ( 论 文 ) 外 文 摘 要 Title Title Design and development of a low-cost digital display for waterflow rate Measurements AbstractAbstract A basic requirement in the measurement of flow rat
3、e using a target fluidic flowmeter is the use of Fourier Transform to determine the flow oscillation frequencies and from thence the flow rate. In such a flowmeter, the inlet fluid jet impinges upon a rectangular target, thereby setting up flow oscillations about the target. The oscillation frequenc
4、y is directly proportional to the flow rate. A digital flow-rate display has been designed and developed to convert the signal from a fibrefilm probe of a constant temperature anemometer into direct reading of flow rate. This low-cost device is able to perform as good as a commercial dynamic signal
5、analyzer, with the additional feature of a direct read-out of flow rate. Keywords flow rate flowmeter fluid low-cost 目录目录 前 言 1 第一章 绪 论 . 2 1.1 设计背景 2 1.1.1 流量计的发展现状及分类 4 1.1.2 涡轮流量计的发展与分类 5 1.1.3 单片机的概述 6 1.1.4 单片机的发展 7 1.1.5 单片机的特点 8 1.1.6 单片机的应用 9 第二章 控制系统的整体结构及其系统原理 . 11 2.1 总体方案设计. 11 2.2 涡轮流量计
6、系统的原理 . 12 2.2.1 涡轮流量计传感器的原理 . 12 2.2.2 涡轮流量计传感器的结构 . 12 第三章 数据处理 15 3.1 测量数据预处理技术 . 15 3.2 线性插值算法 15 3.2.1 分段插值算法程序的设计方法 . 17 3.2.2 插值法在流量测量中的应用 . 18 第四章 单片机控制系统硬件设计 . 20 4.1 单片机硬件设计 20 4.1.1 8031 . 20 4.1.2 8155 . 22 4.2 涡轮流量计传感器的设计 22 4.3 矩阵式键盘接口技术 23 4.4 8 位 LED 显示器的结构及接口技术 25 4.4.1 LED 显示器的结构 25 4.4.2 LED 显示接口技术 26 4.5 控制系统中其它硬件 27 第五章 控制系统软件设计 29 5.1 LED 显示器程序设计 . 29 5.2 矩阵式键盘接口程序 32 5.3 插值法在流量计中的程序设计 . 37 5.4 系统主程序 44 5.5 系统程序总体方案. 47 第六章 结论 48 参考文献 49 致谢 . 50 附录 A