登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 电气工程及其自动化 > 正文

基于单片机的瓦斯浓度测量仪

 2023-08-09 09:08  

论文总字数:15979字

摘 要

随着工业的迅速发展,燃气瓦斯的检测技术在各个产业得到了广泛的应用,尤其是在炼金、工业、矿业等产业上。因此,如今对于瓦斯等燃气的监控和预报是一项具有重要现实意义的技术。但是,在现实生活中,因为环境的错综复杂,导致线路铺设难度较大,这对于气体监控技术的落实造成了一定的阻碍,从而增加了事故发生的概率。为了克服这一困难,本文采用了STC89C52单片机并且进行相应设计,制作出一个基于单片机的瓦斯浓度检测装置。

本次设计采用的两块STC89C52单片机作为整个系统的主机和从机,通过ZigBee技术来实现主机和从机之间的通信和数据传输。传感器选择的是对瓦斯等燃气具有高敏感性的气敏电阻传感器TGS 183,通过TLC2543A/D转换器把模拟量信号转化为数字信号发送给从机。但TGS 183传感器受温度的影响较大,为了克服TGS 183受温度影响的误差,加入了以数字温度传感器DS18B20作为核心的温度补偿电路,从而对测试数据进行修正。在浓度显示方面选用了LCD1602液晶显示屏。同时,本次设计中还加入了蜂鸣器作为报警器,当主机发现瓦斯浓度超标时,会立刻发出信号,使蜂鸣器工作,达到了预警的作用。

本次设计了一个瓦斯浓度监控装置,同时也具备了预警的作用。同时为了解决许多复杂环境下的安装问题而加入了ZigBee无线传输装置。

关键字:STC89C52;TGS 183;TLC2543;DS18B20;ZigBee;

Abstract: With the development of industry, gas gas detection has been greatly applied in the society, especially in the industries of gold, industry, mining and other industries. Therefore, the monitoring and prediction of gas and other gas has become a necessary technology. However, in real life, the environment is complicated and the line laying is difficult, which makes a certain impact on gas gas monitoring and gas monitoring, increasing the probability of accident and causing accident. In order to overcome this difficulty, this paper adopts STC89C52 microcontroller and designs, and completes a gas detection device.

The two STC89C52 chip microcomputer used in this design is used as the host and slave of the whole system, and the communication and signal transmission between the host and the slave are realized through the ZigBee technology. The sensor selects the gas sensitive resistance sensor TGS 183, which has Gao Min sensibility for gas and gas. The analog signal is converted to digital signal to the slave through the TLC2543A/D converter. However, TGS 183 has a certain sensitivity to temperature. In order to overcome the temperature influence of TGS 183, the temperature compensation circuit with digital temperature sensor DS18B20 as the core is added to correct the test data. LCD1602 LCD is used for concentration display. At the same time, in order to achieve the effect of timely warning, the design also added the buzzer as an alarm, when the main engine found that the gas concentration exceeded the standard, the signal will be sent immediately to make the buzzer work.

The design of a gas concentration monitoring device, but also has the role of early warning. At the same time, in order to solve the installation problems in many complex environments, ZigBee wireless transmission device is added.

Key words: STC89C52;TGS 183;TLC2543;DS18B20;ZigBee;

目 录

1绪论 1

2总体方案设计 2

2.1 系统功能 2

2.2 系统设计方案 2

3 硬件的选择与电路设计 3

3.1.1 瓦斯监控传感器的选择 3

3.1.2 瓦斯监控传感器的特性 3

3.1.3 TGS 813气敏传感器的电路设计 4

3.2.1 A/D转换芯片的选择 4

3.2.2 A/D电路设计 5

3.3 温度补偿电路的设计 5

3.4 无线传输模块 7

3.4.1 无线传输模块的选择 7

3.4.2 无线传输模块的介绍 8

3.5.1显示模块的选择与电路设计 8

3.5.2 LCD1602液晶显示屏引脚说明 9

3.5.3 LCD1602液晶显示屏电路接线图 10

3.6 报警电路 11

3.7.1 单片机的选择 11

3.7.2 从机STC89C52单片机接线方式 12

3.7.3 主机STC89C52单片机接线方式 12

4 系统的软件设计 14

4.1 主机的系统流程图 14

4.2 从机的系统流程图 15

4.3 温度补偿程序设计 16

4.4 ZigBee信号传输系统设计 17

5 试验测试与结果分析 18

结论 19

参考文献 20

致谢 21

附录一 22

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

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

企业微信

Copyright © 2010-2022 毕业论文网 站点地图