《毕业论文(设计):热量表的设计与实现(软件部分)》由会员分享,可在线阅读,更多相关《毕业论文(设计):热量表的设计与实现(软件部分)(38页珍藏版)》请在金锄头文库上搜索。
1、南 昌 工 程 学 院毕毕 业业 设设 计计 (论论 文文)热量表的设计与实现热量表的设计与实现( (软件部分软件部分) )The design and implementation of heat meters (software part)总计 毕业设计(论文) 32 页表 格 3 个插 图 12 幅南昌工程学院本科毕业设计(论文)I摘要我国北方冬季要供暖,为了节约能源,大多数地区已通过热网集中供热。但是热能作为一种商品来出售,当然要收费了。可是目前因为居民家里还没安装热量表,只好按建筑面积收费。但是按建筑面积收供热费显然是不合理的,应该按照用户实际用的热能来计算。热量表,是计算热量的仪表
2、。热量表的工作原理:将一对温度传感器分别安装在通过载热流体的上行管和下行管上,流量计安装在流体入口或回流管上。流量计发出与流量成正比的脉冲信号,一对温度传感器给出表示温度高低的模拟信号,而积算仪采集来自流量和温度传感器的信号,利用积算公式算出热交换系统获得的热量。一个完整的热量表由三个部分组成:流量传感器,用以测量流经热交换系统的热水流量;温度传感器,分别测量供暖进水和同水温度;计算显示器,根据与其相连的流量传感器和温度传感器提供的流量和温度数据,通过热量公式计算出用户从热交换系统获得的热量。本文主要用到 51 系列的单片机,流量传感器采用超声波流量计,温度采集使用如今市面上使用普遍的 DS1
3、8B20,便携式的多点键盘。关键词:关键词:单片机 流量计 温度采集器 AbstractIIAbstractWinter in the northern China to heating, in order to save energy, most areas already through the network of central heating. But heat as a commodity to sell, of course, want to charge. But at present because families havent install thermal scale,
4、 had to press construction area of charges. But according to the construction area of the heating fee is clearly unreasonable, should according to actual use of heat energy users to calculate. Hot scale, is a calculation of heat meter. Heat meter principle of work: will a temperature sensor separate
5、ly installs in through the heat transfer fluid on the pays and pays under, flow meter installed in fluid entrance or backflow tubes. Flowmeter issued and flow proportional to the pulse signal, a temperature sensor gives said the analog signal temperature, and integrated calculate instrument collecti
6、on from flow and temperature sensor signal, using the product formula is calculated for heat exchanging system of heat. A complete hot scale consists of three parts: flow sensor to measure the heat exchange system through the hot water flow; The temperature sensor, were measured with water temperatu
7、re and heating water; Calculation display, according to connected to it flow sensor and temperature sensor provide flow and temperature data, through the heat calculation of heat exchanging system users from heat gain. This paper mainly used 51 series of single chip microcomputer, flow sensor using
8、ultrasonic flowmeter, temperature gathering use on market now use common DS18B20, portable more keyboard. Keywords: Single-chip microcomputer;flowmeter;Temperature collector南昌工程学院本科毕业设计(论文)III目录摘要摘要.IABSTRACT.II第一章第一章 引言引言.11.1 选题背景.11.2 热量表简介.11.3 国内外发展概况.21.4 开发热量表的意义和前景.21.5 研究内容与目标.3第二章第二章 热量表硬件电路设计热量表硬件电路设计.42.1 电源电路的设计.42.2 主控部分的设计.42.3 温度检测电路的设计.52.4 流量检测电路的设计.62.5 显示电路的设计.82.6 键盘电路的设计.8第三章第三章 热量表总体软件设计热量表总体软件设计.103.1 热量表工作原理.103.2 系统资源分配.113.3 主程序的设计.11第四章第四章 热量表软件详细设计热量表软件详细设计.144.1 流量串口通讯设计.144.2 温度检测设计.