JIMI 发表于 20:51

数字式二氧化碳浓度测试仪

论文编号:DZXX096  论文字数:11370,页数:34
摘   要
 随着现代生活质量的日益改善,空气中的二氧化碳浓度与人们的工作、生活的关系日益密切。现代二氧化碳浓度检测系统更多的是利用红外传感器将待测空气中的二氧化碳浓度转换为容易检测、传输的电流或电压信号,然后再经过后续电路处理并进行实时显示。
 本课题介绍了一种数字式二氧化碳浓度测试仪的软硬件实现方法。该方法通过二氧化碳传感器TGS4161获得二氧化碳浓度检测的模拟电压值,然后经过LM324电压放大,AD采样转换,输入到单片机进行算法处理,最后数码管实时显示待测空气中的二氧化碳浓度。该系统操作简单,精确度高,抗干扰能力强。
 全文分成六个章节,第一章绪论,简单介绍了本课题提出的背景意义和发展现状以及本设计的关键问题。第二章是系统总体设计,简单介绍了本课题的主要任务和特点。第三章和第四章分别对本课题所用到的硬件以及软件作了一个较为系统的概述。第五章为结论部分。
关键词: 传感器;AD转换器;单片机

ABSTRACT
 With the improvement of life quality nowadays, the concentration of carbon dioxide in the air has become close increasingly. Modern concentration detection system of carbon dioxide usually use the infrared sensor to direct and transform as a current or voltage signal which can be easily transformed, and then processed and real-time display by the follow-up circuit.
 The paper devised a digital detector for the concentration of carbon dioxide. The sensor TGS4161 outputted the voltage signal which responsed to the concentration of carbon dioxide in the air. The signal was magnified by LM324 and converted by AD converter and then inputted into single chip microcomputer (SCM) and displayed on LED synchronously. This kind of barometer was portable, easily operated and absolutely accorded with the design requirement.
 The paper was divided into six chapters. The first chapter introduction gave a brief review of the subject's background and the development and the design of the key issues. Chapter II designed the major tasks and characteristics of the subject. The following two chapters made a more systematic overview on the subject used by the electronics, microcontroller software and hardware. Chapter V was the conclusions.
Keywords:Sensor;AD converter;single chip microcomputer 

目   录
摘   要 I
ABSTRACT II
第1章 绪 论 1
1.1 课题背景和意义 1
1.2 二氧化碳浓度检测发展历史 1
1.3 二氧化碳浓度检测关键问题 2
第2章 系统总体设计 3
2.1数字化二氧化碳浓度检测检测的意义 3
2.2本方案的特点 3
2.2.1 系统参数特点 3
2.2.2 系统设计方法 4
2.2.3 本方案的特点 4
第3章 系统硬件设计 5
3.1 二氧化碳传感器 5
3.1.1 二氧化碳传感器概述 5
3.1.2 TGS4161的工作特性 5
3.2 LM324介绍 8
3.2.1输出电压放大电路图 8
3.3 ADC0809芯片介绍 9
3.3.1 ADC0809应用说明 11
3.4 单片机 11
3.4.1 单片机概述 11
3.4.2 单片机的应用 12
3.4.3 AT89S51简介 13
3.4.4 单片机处理单元 16
3.5 显示部分 16
3.5.1 单片机驱动LED显示 16
3.4.2 四位连体显示电路 17
3.6 实际硬件电路 19
第4章 系统软件设计 20
4.1 软件部分总体方案 20
4.2定时器初始化程序 21
4.3 延时程序子函数 21
4.4 定时器1中断入口程序子函数 22
4.4 按键扫描子函数设计 24
第5章  结  论 25
致   谢 26
参考文献 27
附录 源代码 28
页: [1]
查看完整版本: 数字式二氧化碳浓度测试仪