1、 摘 要 计量是工业生产的眼睛。流量计量是计量科学技术的组成部分之一,它与国 民经济有着密切的关系。尤其在当今能源危机,工业生产自动化越来越高,能源 使用浪费现象严重的时代情况下。流量计有了越来越重要的地位,受到人们越来 越多的关注。在当今社会流量计已经广泛运用于工农业生产,交通运输,国防建 设,科学研究,对外贸易,以及人民生活的各个角落,由此可见对流量计的研究 与开发认知,有着广泛的意义和作用! 根据实现功能的需要, 本课题设计了一款基于 AT89C51 为核心的单片机气体 涡轮流量计。该流量计具有测量精度高,能耗低,稳定性好,测量范围广,维修 方便等优势。 控制器主芯片 AT89C51 具
2、有低功耗, 驱动能力强, 稳定性好等特点。 根据设计要求硬件部分主要分四个模块,即流量传感变送模块,主控 CPU 智能模 块,LED 数码管显示模块和上位机通讯模块。各模块能独立工作,并通过通讯接 口,键盘模块等功能模块组成功能完善的整体。流量计的设计结构合理,运行稳 定可靠,同时具有了 RS-485 通信接口,适合应用于远程分布式系统的流量检测 关键词:涡轮气体流量传感器 AT89C51 芯片 RS-485 通讯接口 ABSTRACT Measurement is the eyes of industrial production. Flow measurement is the measu
3、rement of science and technology, it is part of the national economy and have a close relationship Especially in todays energy crisis, industrial production and high automation, energy use serious waste of time situation Flowmeter have an increasingly important position, gets more and more attention
4、. .In todays society flowmeter have been widely used in industrial production, transportation, national defense construction, scientific research, trade, and peoples life. Thus the research and development of flowmeter is widely cognitive, the significance and role of! According to the realization o
5、f the function, this topic design based on AT89C51 microcontroller as the core of gas turbine flow meter. The meter has high accuracy, good stability, low energy consumption, measuring range, convenient maintenance 2 and other advantages. Main chip controller with low consumption, drive AT89C51 abil
6、ity, good stability .According to the design requirements of the hardware part four modules, namely flow sensor and control variable send module CPU intelligent module, LED digital display module and tube computer communication module .Each module can work independently, and through the communication interface module, keyboard function module function perfect overall. The design flow with reasonable structure, stable operation, also has the RS-five 485 communication interface, suitable for