• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:李松涛,陶 斌.基于广播模式的数据实时采集与处理系统[J].软件工程,2016,19(8):34-37.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于广播模式的数据实时采集与处理系统
李松涛,陶 斌
(河南工程学院计算机学院, 河南 郑州 451191)
摘 要: 在环境监测中,相对于传统的设计方法,使用嵌入式实时操作系统(RTOS)可以更有效地实现模块和通信 管理。通过消息邮箱,数据实时采集与处理系统实现了传感器数据在不同任务之间的广播发送,对接收任务设置不同的 优先级,可以调整其接收数据的顺序。在实际开发中,使用基于ARM核的STM32F103VE微控制器实现了温湿度数据的 实时采集和广播发送,测试结果表明,任务的切换顺序取决于优先级,不同接收任务之间的时间延迟在11ms之内,满 足了数据处理系统的实时性和可靠性的要求。
关键词: RTOS;消息邮箱;数据采集;监测系统
中图分类号: TP368.1    文献标识码: A
The Real-time Data Acquisition and Processing System Based on the Broadcast Mode
LI Songtao,TAO Bin
(School of Computer, Henan Institute of Engineering, Zhengzhou 451191, China)
Abstract: Compared with traditional design methods, the embedded real-time operating system (RTOS) can more effectively achieve the module management and the communication management in environment monitoring.With the message mailbox and real-time data acquisition and processing system,the sensor data can be broadcasted and transmitted among different tasks.By setting different priorities to the receiving task,the order of data reception can be adjusted.In practical development,the STM32F103VE microcontroller based on ARM core is used to implement the acquisition and the broadcast transmission of the humidity data.The test results show that task switching sequence is determined by the priority and time delay among different receiving tasks is within 10ms,which meets the requirements of the data processing system with real-time and reliability
Keywords: RTOS;the message mailbox;data acquisition;the monitoring system


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫