摘要: 为了适应现代数据采集系统朝着强实时、多参数、高精度方向的发展,以及克服传统单片机数据采集系统无法适应安全性高、实时性强场合的缺点,本论文设计了一种基于ARM Cortex-M3内核的STM32系列处理器和嵌入式实时操作系统uC/OS-Ⅱ的数据采集系统。该系统通过A/D转换将检测的天然气浓度和烟雾浓度信息与预置的参数阈值进行比较,智能终端会根据比较结果发出相应的报警信息,并且可以实时地显示当前时间室内天然气浓度和烟雾浓度信息等参数值,并可通过WIFI,GPRS等无线通讯方式及时将各种监控信息通知住户。经实测,此嵌入式数据采集系统比传统的数据采集系统具有更高的实时性和稳定性,同时硬件的体积更小、功耗更低、扩展性更强。5116
关键词: 数据采集;STM32;A/D转换;uC/OS-Ⅱ操作系统;毕业论文
Design of data acquisition system of intelligent gas monitoring terminal
Abstract: In order to adapt the situation of modern data acquisition developing with good real-time performance,multi-parameter,high precision and overcome the disadvantage of the traditional data acquisition system,this paper designs a kind of data acquisition system based on STM32 series processor of ARM Cortex-M3 kernel and real-time embedded operating system uC/OS-Ⅱ. The system through A/D conversion will detect gas concentration and smoke concentration information compared with the parameters of preset threshold, intelligent terminal will send a corresponding alarm information, according to the comparison result can real-time display the current time and indoor parameters such as gas concentration and smoke concentration information value, and can through WIFI, GPRS wireless communication mode shall notify residents of various monitoring information in a timely manner.This system is safer than the traditional data acquisition system and has a good real-time performance.Meanwhile,the volume of the hardware is smaller,the power consumption is lower,the expansibility is stronger.
Keywords: Data Acquisition; STM32; A/D Conversion; uC/OS-Ⅱ Operating System
目录
1 绪论 1
1.1 课题的背景和研究意义 1
1.2 国内外研究现状与发展趋势 3
1.2.1 国内外研究现状 3
1.2.2 发展趋势 3
1.3 课题的主要研究内容 4
2 数据采集系统的硬件设计 5
2.1 终端硬件结构 5
2.2 STM32处理器 5
2.3 各功能模块 6
2.3.1 开发板板载资源 6
2.3.2 烟雾气体传感器 8
2.3.3 天然气传感器模块 11
2.3.4 WIFI模块 12
2.3.5 ANDROID智能手机 13
2.4 ADC采集 14
2.5 系统总体方案设计 17
2.6 实验过程及效果 18
3 数据采集系统的软件设计 21
3.1 系统数据采集程序框图 21
3.2 系统开发环境 21
3.3 嵌入式实时操作系统 UCOSII 27
3.3.1 特点 27
3.3.2 应用 27
3.4 软件程序设计 30
3.4.1 ADC处理程序 30 ARM智能天然气监控终端的数据采集系统的设计+源代码:http://www.751com.cn/zidonghua/lunwen_2029.html