基于单片机的气体检测系统设计..

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

高等教育自学考试本科毕业论文基于单片机的气体检测系统设计考生姓名:准考证号:

专业层次:院(系):

指导教师:职称:

重庆科技学院

二O一三年九月十五日

摘要

本论文研究设计了一种用于公共场所及室内具有检测及超限报警功能的室内空气质量检测系统。其设计方案基于89C51单片机,选择瑞士蒙巴波公司的CH20/S-10甲醛传感器和MQ-5气体传感器。系统将传感器输出的4~20mA的标准信号通过以AD0832为核心的A/D转换电路调理后,经由单片机进行数据处理,最后由LCD显示甲醛浓度值。文中详细介绍了数据采集子系统、数据处理过程以及数据显示子系统和报警电路的设计方法和过程。系统对于采样地点超出规定的甲醛容许浓度和天然气规定浓度时采用三极管驱动的单音频报警电路提醒监测人员。同时,操作人员对于具体报警点的上限值可以通过单片机编程进行设置。

另外,该系统对浓度信号进行了信号补偿等处理,减少了测量误差,因此,具有较高的测量精度,而且结构简单,性能优良。本系统的量程为0-10ppm,精度为0.039ppm 。

关键词: 甲醛检测,天然气检测,AT89C52单片机

ABSTRACT

This thesis design of a paper for public places and indoor testing and over-limit alarm functions with indoor air quality testing system. Its design is based on 89C51 single chip, with the choice of MQ-5 gas sensors and CH20/S-10 formaldehyde sensor from Switzerland mengbabo company. Sensor system will output 4 ~ 20mA standard signal through the core ADC0832 for A / D conversion circuit after conditioning, by the single-chip microcomputer for data processing, at last display the formaldehyde concentration on the LCD . The article detailed the data acquisition subsystem, data processing and data display and alarm system circuit design method and process. When the sampling sites when the formaldehyde and Natural gas concentration exceeded,To the single-transistor drive circuit audio alarm will sound the alarm,Testing staff to remind. At the same time,The concentration of formaldehyde, Can be set through the single-chip programming.

In addition, the system signals a concentration compensation signal processing, a reduction of measurement error, therefore, have a high measurement accuracy, and simple structure, excellent performance. The range of the system for 0-10ppm, accuracy 0.039ppm.

Keywords: Formaldehyde detection,Natural gas detection, AT89C52 single-chip

目录

摘要................................................................................................................................................................. I ABSTRACT.......................................................................................................................................................... I I 1 绪论. 0

1.1 设计的意义 0

1.2设计的内容 0

1.3发展背景 0

2总体方案设计 (2)

2.1总体方案设计 (2)

2.2总体电路概念图设计 (2)

3 硬件设计 (3)

3.1主控芯片AT89C52的设计 (3)

3.2 传感器设计 (4)

3.3 模数转换设计 (6)

3.4 按键设计 (8)

3.5 外围扩充存储器设计 (9)

3.6 时钟芯片设计 (9)

3.7 LCD显示器设计 (10)

4 软件设计 (12)

4.1 主程序模块设计 (12)

4.2模数转换设计 (12)

4.3按键模块设计 (12)

4.4时钟模块设计 (13)

4.5LCD显示模块设计 (14)

5系统仿真 (15)

5.1编译软件介绍 (15)

5.2主程序 (15)

结论 (21)

致谢 (22)

参考文献 (23)

相关文档
最新文档