资源预览内容
第1页 / 共61页
第2页 / 共61页
第3页 / 共61页
第4页 / 共61页
第5页 / 共61页
第6页 / 共61页
第7页 / 共61页
第8页 / 共61页
第9页 / 共61页
第10页 / 共61页
亲,该文档总共61页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
摘要I煤矿瓦斯微机监测系统设计专 业: 学 号:学生姓名: 指导老师:摘要瓦斯是煤矿生产中的有害气体,它严重威胁着矿工的生命和国家财产的安全。不断 发生的煤矿瓦斯爆炸事件强烈的提醒我们提高煤矿瓦斯监测的管理质量,为了加强煤矿 瓦斯的管理水平,本课题设计了对煤矿瓦斯监测的系统。 本系统下位机以 AT89S52 单片机为控制核心,系统采用了 MJC4/3.0L 瓦斯传感器, 并通过 INA114 对电信号进行放大,通过 PCF8591 将模拟信号转换为数字信号,该 A/D 转换器采用了 I2C 总线技术,可以最大限度的利用有限管脚。滤波之后单片机驱动八位数 码管对数据进行显示,并通过 RS-485 下位机网络将数据上传至上位机。上位机程序用 VB 编写,采用 MSComm 插件启动串口,可以随时开启串口并对任意下位机的数据进行 查看,并保存到相应的数据框。 关键词:瓦斯传感器;单片机;监测系统;串口通讯ABSTRACTIICoal Mine Gas Monitoring System Based on Single Chip MicrocomputerABSTRACTThe gas is harmful gases in the coal mine production,it seriously threaten to the safety of the lives of miners and state property.The continued occurrence of coal mine gas explosion events remind us improve the quality of management of the coal mine gas monitoring.In order to strengthen the level of coal mine gas management ,this time,I design a coal mine gas monitoring system at this subject.The slave computers system use AT89S52 single chip microcomputer as the core controller, and it uses MJC4/3.0L gas sensor which could transform concentration signal to analog electrical signal as its major sensor . And PCF8591 that use I2C-bus could transform analog signal to digital signal effectively.Finally the LED could display the concentration value, and the system would upload the value. The software of upper computer programmed by Visual Basic,and it uses MSComm as its ActiveX. The software has great functions which include check and save data at any time. Key words: gas sensor; single chip microcomputer; monitoring system; serial communication目录III目录摘要.IABSTRACT.II第 1 章 绪论.11.1 课题研究的背景、现状及研究意义.11.2 瓦斯监测论文主要研究内容及要求.2第 2 章 系统总体方案的确定.42.1 系统总体结构设计.42.2 系统工作原理.4第 3 章 瓦斯监测系统硬件电路设计.63.1 单片机及时钟、复位模块.63.2 瓦斯检测模块.73.3 显示模块.133.4 通信模块.153.5 蜂鸣器报警模块.18第 4 章 系统软件设计.194.1 概述.194.2 瓦斯监测主监控程序.194.3 数据采集子程序.194.4 A/D 转换子程序.204.5 滤波子程序.214.6 LED 显示子程序.22目录IV4.7 蜂鸣器报警子程序.234.8 通信程序.23第 5 章 系统的仿真.265.1 下位机的调试与仿真.265.2 上位机的调试与仿真.29第 6 章 总结与展望.31参考文献.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号