低功率无线数据采集模块的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
有线传输方式对场地环境和采集对象有一定的要求,不适于复杂地形条件、高腐蚀性、爆炸、被采集对象是运动、旋转等场合。在这些情况下,无线数据采集就显示了独特的优势,特别适用于那些不适合架设电缆的现场,一般采用多字节地址编码,收发器的数量不受限制,具有电路简单、功耗小、体积小、成本低等优点。
     本课题在综合分析蓝牙、红外通信、GSM\CDMA\GPRS、IEEE802.11x等无线数据采集方式的基础上,通过比较价格、功能、性能等因素,确定了无线射频收发一体芯片解决方案。设计并实现了一个基于Nordic公司的nRF905和8位AVR系列单片机Mega8的低功率无线数据采集模块。
     论文的主要研究内容包括以下三个方面:
     1.对无线数据采集模块进行了总体规划,设计了采集节点和接收节点的结构。从实际需要出发,并从性能、价格等因素考虑,对主要元器件进行了选型,微处理器采用AVR系列高档8位机Mega8,射频芯片采用Nordic公司的nRF905。完成了硬件设计,采集节点主要功能是采集数据,由Mega8进行处理,并通过nRF905进行传输,接收节点的功能是通过nRF905接收数据,由Mega8进行处理后,将数据通过RS232接口传至上位机。另外,还自制了ISP下载线,使用ISP烧写程序,具有多用途、使用灵活、可方便的进行在线升级的特点。
     2.对无线数据采集模块的无线通信结构、无线介质访问、通信链路的建立、差错恢复、收发同步、系统数据帧格式等问题进行了分析,建立了通信模型。提出了一种采用本模块实现星状结构的小型网络方案,采用网络协议为CSMA/CA(载波侦听多点接入/冲突避免)。完成了无线数据采集模块软件开发和调试,主要包括模块驱动程序设计,无线射频电路的收发程序设计、RS232接口程序设计以及由本模块组成小型无线网络的程序设计。
     3.对无线数据采集模块进行了测试,测试结果表明,本文设计的无线数据采集模块具有体积小、数据传输稳定可靠、使用灵活等优点,可以很好地应用在短距离无线数据采集及其它短距离无线数据传输的场合。
Cable transmission has certain requirements to environmental site and acquisition target, not suitable for complex terrain conditions, high corrosive, explosive, and other occasions, or acquisition target movement, rotation and so on. In these situations, wireless data acquisition showes the unique advantages, especially for those which are not suitable or convenient to set up the cable at the scene. Wireless data acquisition usually uses the multi-byte code addresses, so the number of transceiver is no restriction, with a simple circuit, small consumption, small size and low cost.
     On the basis of the comprehensive analysis of Bluetooth, IrDA, GSM \ CDMA \ GPRS, IEEE802.11x such as wireless data collection methods, this paper determine to use radio frequency transceiver integrated chip solutions basing on the low-power short-range radio frequency wireless communications technology. Design and implement wireless data acquisition module by a Nordic company’s product nRF905 and 8-bit AVR microcontroller Series’s Mega8. The main of thesis and study includes the following:
     1. Make module overall planning, design the structure of a acquisition node and receive node. By the actual needs, and performance, price and other factors to consider, select the components of the module, the AVR family of high-end microprocessors 8-bit MCU Mega8, radio-frequency chips Nordic company’s product nRF905. Completed the hardware design, acquisition node is the primary function of collecting data from Mega8 processed and transmitted through the nRF905, the function of receiving node is receiving data from nRF905 and processing data by Mega8, and the data can be transfers through the RS232 to PC. In addition, maked ISP download cable, the ISP cable is use to programming procedures, with a multi-purpose, the use of flexible, convenient on-line features of the upgrade.
     2. From the MAC layer function, according to the practical application, the structure of the wireless communications module, wireless media access, the establishment of communication links, resumption of error, sending and receiving simultaneously, the data frame format the were analyzed to establish a communication module model and design the small wireless network program by the smart nodes, using star topology network and CSMA / CA (Carrier Sense Multiple Access Point / avoid the conflict)network protocol. Completed the application software development and debugging. The main modules including the driver program, wireless transceiving and sending program, RS232 interface program, as well as smart nodes small wireless network program.
     3. The module was tested, and the test results show that the design of wireless data acquisition module is a small, stable and reliable data transmission, the use of of flexible module and can well be applied to short-range wireless data acquisition and other short-range wireless data transmission occasions.
引文
[1]韩学军,赵文涛.无线收发器在高压断路器在线监控系统中的应用[J]. Electric Power It,2005(3):53-55
    [2]刘立新,李国辉,郝国芳.基于nRF2401的无线自动抄表系统[J].微机计算机信息,2006,25(5):8-10.
    [3]王浩鸣.常用无线数据通讯技术比较[J].计算机与现代化,2002 (9):35-42
    [4]罗辑,高家利,秦正.蓝牙技术的应用现状及发展趋势[J].四川兵工学报,2006 (3):36-43
    [5]周文举.基于单片机红外无线通信的抄表系统[J].微计算机信息,2006(2):45-47
    [6]王文斌.几种IEEE802.11无线局域网协议的比较[J].信息技术,2007(2):31-32
    [7]尹刚.短程无线通信在ITS不停车收费系统ETC中的应用[D].吉林大学,2005
    [8] Albrecht Markus. IP Service Over Bluetooth:Leading the way to a New Mobility[J]. Conference on Local Computer Network, 1999(2):2-11
    [9]朱丽莉,王朝墀.蓝牙无线通信技术的应用[J].信息技术, 2002 (12):36-37
    [10]邱磊,肖兵.基于IrDA协议栈的红外通信综述[J].无线通信技术,2004,(4):28-32
    [11]张晓红,SasanSaadat,乔为明.红外通信IrDA标准与应用[J].光电子技术,2003,23(4):261-26
    [12]单睿,胡捍英.无线局域网中的预约CDMA接入技术[J].通信技术,1999(4) :44-48.
    [13]杨文东. IEEE802.11无线局域网标准发展历程及其发展方向[J].电信工程技术与标准化,2002(6):54-59
    [14]王浩鸣.常用无线数据通讯技术比较[J].计算机与现代化,2002,(9):35-42
    [15]李文华.蓝牙技术与红外IEEE8o2llb和HomeRF的比较[J].江西通信科技,2003,4(12):15-17
    [16] YuTingChang. TCP/IP与OSI之比较研究[Z]. http://lips.lis.ntu.edu.tw/ytchiang/, 1999
    [17]郭劲松.对开放系统OSI/RM与TCP/IP的界定.湘潭师范学院学报[J]. 2005(4) :36-42
    [18]马潮.高档8位单片机ATmega128原理与开发应用指南[M].北京:北京航空航天大学出版社,2004.
    [19] Atmel Corp. ATmega8 Data Book[Z]. http://www.atmel.com
    [20] Atmel Corp. AVR Applaciton Notes[Z]. http://www.atmel.com
    [21]沈文,Eagle Lee. AVR单片机C语言开发入门指导[M].北京:清华大学出版社,2003
    [22]蒋俊峰.无线收发芯片比较与选择[J].今日电子,2003,(9):58-60
    [23]江世明,刘先任.基于DS18B20的智能温度测量装置[J].邵阳学院学报,2004.
    [24]林敏,于忠得. HS1100/HS1101电容式湿度传感器及其应用[J].仪表技术与传感器2001,(10)44-45
    [25] Nordic VLSI ASA. Single chip 433/868/915MHz Transceiver nRF905[J]. Product Datasheet,2004
    [26]金保华.基于nRF905的无线数据多点跳传通信系统[J].仪表技术与传感器,2004(9):39-40.
    [27]黄军,熊勇. Delphi串口通信编程[M].北京:人民邮电出版社,2001:70-74
    [28]丁化成,耿德根,李君凯. AVR单片机应用设计[M].北京:北京航空航天大学出版社,2002.
    [29]中国PCB技术网.射频电路PCB设计[Z]. http://www.PCBTech.net,2003
    [30]杨烨.无线分组接入网中MAC层控制技术的研究及基带部分硬件的实现[D].东南大学.1999.
    [31]陈静,张晓敏.无线传感器网络基于竞争的MAC协议综述[J].山东通信技术,2006,26(2):8-11.
    [32]马忠梅,籍顺心.单片机的C语言应用程序设计[M].北京:北京航空航天大学出版社,1999.
    [33] Nordic VLSI ASA. Simple frequency hopping with the nRF9E5 and nRF24El[Z]. http://www.nordicsemi.no, 2004.
    [34] Nordic Semiconductor ASA. Single chip2.4GHz Transceivern RF2401[Z]. http ://www.icaist.net/Nordic%20file/nRF2401revl-0.pdf.2004—07.
    [35]肖坤.基于MSP430和nRF905的无线系统设计[J].仪器仪表用户,2007(5):37-39.
    [36]李鹏.基于nRF905的无线数据传输设备设计[J].电子工程师,2007(3):28~31.
    [37]马潮,詹卫前. ATmega8原理以及应用手册[M].北京:清华大学出版社
    [38]张克彦. AVR单片机使用程序设计[M].北京:北京航空航天大学出版社,2004
    [39]马斌,周小佳.无线传感器网络拓扑优化研究[J].通信安全,2006,(4):88-90
    [40]郭峰.无线局域网[M].第一版.北京:电子工业出版社,1997.
    [41] Andrew S. Computer Networks[M]. Third Edition. 1998.
    [42] Timucin Ozugur, Mahmoud Naghsnineh, ParbiZ Kermani. Fair Media Aeeess for Wireless LAN[J]. GlobalTeleeomConferenee.1999,(6):570-579.
    [43]马斌,周小佳.无线传感器网络拓扑优化研究[J].通信安全,2006,(4):88-90
    [44]陈静,张晓敏.无线传感器网络基于竞争的MAC协议综述[J].山东通信技术,2006,26(2):8-11
    [45]徐林.短距离无线通信技术的研究与实现[D].南京理工大学,2003.
    [46]张大踪,杨涛,魏东梅.无线传感器网络低功耗设计综述[J].传感器与微系统,2006,25(5):10-14.
    [47]孙利民,李建中,陈渝.无线传感器网络[M].北京:清华大学出版社,2003
    [48]郦亮.无线个人区域网络与无线传感控制网络[J].电子设计应用,2002(11):11-l2
    [49] Fitz S M. Sampling receiver to support low power wireless networking [J]. Electronics Letters, 2005(14):815-816.
    [50]刘元安.宽带无线接入和无线局域网[M].北京:北京邮电大学出版社,2000.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700