无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

基于蓝牙的瓦斯浓度测量程序的研制

栏目
论文
具体类型
硕士毕业论文
语言
中文
用途
范文参考
更新
分类标签
自然科学电子信息类
原站著录信息
原编号
lw200702102029464768
原文字数
22,907 字
原文件格式
DOC
原库登记日期
2007-02-10

摘要

摘要 蓝牙技术是一种无线数据与语音通信的开放性标准。随着蓝牙规范越来越完善,蓝牙产品层出不穷。基于蓝牙的无线传输功能,我们研发了近距离无线监测矿井瓦斯浓度这一应用系统。 本设计下位机用高速C8051单片机控制,实现从前端瓦斯传感器获取数据并进行处理,通过Bluegiga蓝牙模块的“透明接口”与上位工控机进行无线通讯,这样系统就能够监测瓦斯浓度数据,进行安全报警,保护矿工安全。它设计简洁小巧,操作简单,适合将下位机模块装在矿工的帽子里,而且工人很大范围内的移动对测量没有丝毫的影响。 论文首先对现阶段蓝牙技术做了简要的…

摘要

蓝牙技术是一种无线数据与语音通信的开放性标准。随着蓝牙规范越来越完善,蓝牙产品层出不穷。基于蓝牙的无线传输功能,我们研发了近距离无线监测矿井瓦斯浓度这一应用系统。

本设计下位机用高速C8051单片机控制,实现从前端瓦斯传感器获取数据并进行处理,通过Bluegiga蓝牙模块的“透明接口”与上位工控机进行无线通讯,这样系统就能够监测瓦斯浓度数据,进行安全报警,保护矿工安全。它设计简洁小巧,操作简单,适合将下位机模块装在矿工的帽子里,而且工人很大范围内的移动对测量没有丝毫的影响。

论文首先对现阶段蓝牙技术做了简要的介绍,接着设计系统的整体结构框图,还对所选的核心芯片、模块及其软件编写环境和编程语言做了简单的阐述。因为涉及到蓝牙通信,瓦斯传感器应用和C51编程等较为专业的知识,所以对重要的地方都做了详细的介绍。系统的结构框图和程序的流程图也都配有详细的说明,特别是程序的模块化设计中的通讯部分有很多关于蓝牙模块的特有的应用解释更为清楚。

现阶段软件设计已经实现了瓦斯气体浓度采集与线形化处理和电压-浓度标度变换,通过蓝牙模块实现无线传输等重要功能。因此测试合格之后,本设计将有较高的应用价值。

关键字:蓝牙技术 C8051单片机 瓦斯传感器

ABSTRACT

Bluetooth technology is an open standard for wireless data and voice communication. With the Bluetooth specification becoming more and more practical, there have been incalculable bluetooth products appeared. Based on the wireless transmission of the bluetooth, we investigated and developed this application systems used for the monitor of gas density through the short-range wireless technique.

This design first uses gas sensor to sample data, then C8051 to realize data-processing and control, then transfers the data to PCs wirelessly through the “transparent interface” of the Bluegiga bluetooth module. It can monitor the gas density, alarm if necessary and protect the miners. This design is very compact and simple for operation, so it is appropriate to install the basal module in the cap of the miners. What’s important is that the movement of the miners does little influence on the measurement.

This paper, firstly gives a short introduction of the bluetooth technology nowadays, then shows the design of the structure blocks about the system, and then simply describes the selected core chip, module and software-programming environment and programming-language. Because it is related to some special knowledge such as bluetooth communication, the application of gas-sensor and the usage of C51 in programming, I have introduced many details about them. Bluetooth communication is the most important program module of the whole software design, I have explained more clearly about this part.

By far, the design of software has already achieved several essential functions, such as sampling of the density of gas, linearizing of the data, voltage- density unit-switching, and also the wireless transmitting through bluetooth module. So If it is proved feasible in testing, this design will be valuable in application.

Key words: bluetooth technology C8051 singlechip gas sensor

目录

摘要 I

ABSTRACT II

一、概 述 1

1.1 蓝牙技术的发展与特点 1

1.2 蓝牙现有应用 3

1.3 蓝牙发展趋势和市场前景 5

1.4 本课题应用价值 6

二、系统设计 9

2.1功能设计 9

2.2 总体设计 9

2.2.1 系统网络拓扑图 9

2.2.2 无线连接解决方案 10

三、系统结构设计 12

3.1 整体框架设计 12

3.2 设计中所用主要器件 13

3.2.1 Cygnal单片机 13

3.2.2 TP-1.1A型非加热甲烷气体传感器 17

3.2.3 蓝牙模块WRAP THOR-2022-1 20

四、软件详细设计 23

4.1 集成开发环境和编程语言简介 23

4.1.1 Cygnal公司所提供的集成开发环境 23

4.1.2 Keil C51 开发系统 23

4.1.3 编程语言 24

4.2 应用程序的研制 25

4.2.1 程序设计步骤 25

4.2.2 主程序 27

4.2.3 初始化程序 30

4.2.4 定时器3中断服务程序 34

4.2.5 定时器3中断时的AD转换及数据处理 36

4.2.6 从机通讯查询-响应命令子程序 40

五、系统调试 45

5.1 软件编写过程中的调试 45

5.2 软硬件综合调试 47

5.3问题和解决方法 48

六、回顾与展望 49

致谢 51

参 考 文 献 52

目录

摘要

ABSTRACT

一 概述

1.1 蓝牙技术的发展与特点

1.2 蓝牙现有应用

1.3 蓝牙发展趋势和市场前景

1.4 本课题应用价值

二 系统设计

2.1功能设计

2.2 总体设计

2.2.1 系统网络拓扑图

2.2.2 无线连接解决方案

三 系统结构设计

3.1 整体框架设计

3.2 设计中所用主要器件

3.2.1 Cygnal单片机

3.2.2 TP-1.1A型非加热甲烷气体传感器

3.2.3 蓝牙模块WRAP THOR-2022-1

四 软件详细设计

4.1 集成开发环境和编程语言简介

4.1.1 Cygnal IDE

4.1.2 Keil C51 开发系统

4.1.3 编程语言

4.2 应用程序的研制

4.2.1程序设计步骤

4.2.2 主程序

4.2.3 初始化程序

4.2.4 定时器3中断服务程序

4.2.5 定时器3中断时的AD转换及数据处理

4.2.6 从机通讯查询-响应命令子程序

五 系统调试

5.1 软件编写过程中的调试

5.2 软硬件综合调试

5.3 问题和解决方法

六 回顾与展望

致谢

参考文献

全文与附件

提交申请后,可在会员中心查看原件和附件的查找进度。

申请查询全文与附件