无线传感器网络硬件平台的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
无线传感器网络融合了传感器技术、通信技术和数据处理技术;无线传感器网络因其巨大的应用前景而受到学术界和工业界越来越广泛的重视。
     本文首先对无线传感器网络进行了概述,介绍了国内外无线传感器网络的研究现状、无线传感器网络体系结构和特点等;无线传感器网络的技术标准IEEE802.15.4把低能量消耗、低速率传输、低成本作为重点,为LR-WPAN(low-ratewireless personal area network)网络制定了物理层和MAC子层协议;ZigBee技术建立在IEEE802.15.4标准之上,ZigBee联盟对网络层协议和API进行了标准化;在此基础上我们设计了基于CC2420射频芯片与ATmegal28单片机的无线传感器网络的硬件平台。
     在节点的硬件设计上重点阐述:ATmegal28L主要特点,管脚资源的使用,CC2420特性,工作模式,CC2420内部寄存器的构成,CC2420与处理器的接口,温度传感器DS1822和振动传感器ADXL202的特点和操作,节点的软件协议栈,Coordinator、RFD节点的软件协议栈的程序流程,以及软件协议栈中数据帧的结构的定义以及配置。
     利用设计讨论的硬件节点,基于ZigBee规范组建了线性多跳网络,深入讨论了在网络的运行过程中Coordinator、Router、End Device节点之间以及各个节点的应用层、网络层、媒体接入控制层之间消息的传送,对各种节点的主要程序进行了描述,针对网络的运行过程进行了讨论:节点短地址的分配、路由表及路由过程,最后截取了网络运行的结果进行分析。
     针对无线传感器网络后台管理:探讨了后台管理软件应提供的基本功能,重点论述了管理软件的模块化结构、串口通信过程中串口数据的处理、串口的初始化操作;就节点原始数据包数据进行可视化实现过程进行简要的概述,依据无线网络能量消耗模型和CC2420性能指标获取了网络运行过程中的能量消耗,在管理软件实现的可视化窗口的状态栏添加了显示网络能耗窗口,以此来实时获取网络运行中的能耗情况。
     以无线传感器网络单跳状态下的能量消耗模型为基础,进行分析推导得出等间距线性网络最优单跳距离与源节点和汇聚节点的距离无关,仅仅依赖于传输数据包的电路特性以及信道损耗;优化间距线性网络的优化间距,以此间距配置节点,网络运行过程中系统的能耗最低,并且能够均衡各个节点的能耗,从而避免了因某些节点能量消耗过多而过早死亡,从整体上延长了网络能耗。基于组建的线性多跳网络结合后台管理软件通过实验验证了上述结论的正确性。进而提出了一种低能耗的无线传感器网络节点的配置方案。
Wireless Sensor Network(WSN)combined sensor technology,communication technology and computer technology together.More and more researchers and industries were engaged in developing wireless sensor networks due to its great promise of various applications。
     At first,this paper introduced domestic and international research condition,studies making progress,system structure and characteristics of the wireless sensor network. Low-rate wireless personal area network established standard—IEEE802.15.4,which drew up Physical layer and Medium access control layer protocol for the LR-WPAN.It was important for IEEE802.15.4 to reduce energy consumption,make the low rate delivery and low cost.ZigBee Specification based on IEEE802.15.4and ZigBee Alliance carried on standard to Network layer and Application Layer(APL).We selected the transceiver CC2420 and MCU Atmega128 as key chip set and designed the hardware platform which adapt to IEEE802.15.4 and ZigBee Specification.
     We discussed the main characteristics of MCU,the usage of pin resources,the CC2420 characteristics,work mode,the composing of the inner register and the characteristics and operation of the temperature sensor DS1822 and the vibration sensor ADXL202 in detail.We analyzed the protocol stack of WSN which included program design of Coordinator and RFD,definition of the data frame and data process etc.
     Making use of the hardware node we designed set up a more hops linear network according to the ZigBee Specification.We discussed thoroughly the transmission of the messages among the APL,MAC,PHY of each node when the network worked,studied the running condition of the network which Coordinator built a new network and allocated short address to each node and intercepted a picture of the network running in order to analyze it.
     We discussed the management platform which could show directly the result of the network.At first we introduced management platform should provide the basic function, then the point of modular assembly design about platform.This modular structure was benefit for the second time development.We added a view to show original data from every node,and intercepted a picture of the network running in order to show the original data.According to the one-hop energy consumption model and the CC2420 function index sign we could obtain easily network's energy consumption,so we added a window to show the energy consumption at the management platform's appearance column. When it was running we could obtain the network's energy consumption at any time.
     With the one-hop energy consumption model of WSN we analyzed and made a conclusion which the superior one-hop distance of Equal Distance Linear Network was apart from the communication distance between the source node and sink,only depended on electric circuit in delivering data packages and lost of the channel.At the same time we obtained the optimize distance of the Linear Network.Configed the node according to optimize distance not only the network would consume lowest energy but also every node would consume the same energy approximately.Thus avoided some nodes to die early because of energy consumption exclusively and promoted the network's life entirely.Using the line more hops network we designed and management platform we could test conclusions easily.Finally we put forward a configuration of WSN.
引文
[1]BusinessWeek Online,"Tech wave 2:The sensor revolution," http://www.businessweek.com/magazine/content/03_34/b3846622.htm.
    [2]Terry van der Werff,"10 Emerging Technologies That Will Change the World,"http://www.globalfuture.com/mit-trends2001.htm.
    [3]国务院,“国家中长期科学与技术发展规划纲要,”http://news.sina.com.cn/.
    [4]沙超,董挺挺,王汝传,孙力娟.无线传感器网络硬件平台的研究与设计.电子工程师第32卷第5期.2006.5维普资讯http://www.cqvip.com.
    [5]Mukundan Venkataraman,Kartik Muralidharan and Puneet Gupta,"Designing new Architectures and Protocols for Wireless Sensor Networks-A Perspective",IEEE SECON,September 2005.
    [6]Santashil PalChaudhuri,Raymond Wagner,David Johnson,Richard Baraniuk,"An Adaptive Sensor Network Architecture for Multi-scale Communication",2005 Corporate Affiliates Meeting.
    [7]Linnyer Beatrys Ruiz,Jose Marcos Nogueira and Antonio A.F.Loureiro,"MANNA:A Management Architecture for Wireless Sensor Networks," IEEE communication magazine,Feb.2003,pp:116-125.
    [8]Tatiana Bokareva,Nirupama Bulusu,Sanjay Jha:"SASHA:Toward a Self-Healing Hybrid Sensor Network Architecture" Embedded Networked Sensors,2005.EmNetS-Ⅱ.The Second IEEE Workshop on Publication Date:30-31 May 2005.
    [9]J.Steffan,L.Fiege,M.Cilia,and A.Buchmann.Towards Multi-Purpose wireless sensor networks.In Proc.of Conf.on Sensor Networks(SENET'05),August 2005.
    [10]David Culler,Prabal Dutta,Cheng Tien Eee,Rodrigo Fonseca,Jonathan Hui,Philip Levis,Joseph Polastre,Scott Shenker,Ion Stoica,Gilman Tolle,and Jerry Zhao,"Towards a Sensor Network Architecture:Lowering the Waistline",In Proceedings of the Tenth Workshop on Hot Topics in Operating Systems(HotOS X),2005.
    [11]J.Saltzer,D.Reed,and D.Clark,End-to-end Arguments in System Design.ACM Trans.On Computer Systems(TOCS),Vol.2,No.4,1984,pp.195-206.
    [12]Akyildiz I F,Su W,Sankarasubramaniam Y,et al..Wireless sensor networks:a survey.Computer Networks,2002,38(4):393-422.
    [13]F.Akyildiz,D.Pompili,T.Melodia,Underwater Acoustic Sensor Networks:Research Challenges,Elsevier's Journal of Ad Hoc Networks,Vol.3,Issue 3,pp.257-279.
    [14]I F.Akyildiz,Erich P.Stuntebeck,Wireless underground sensor networks:Research challenges,Elsevier's Journal ofAd Hoc Networks,Vol.4,Issue 3,pp.669-686.
    [15]孙利民,李建中,陈渝,朱红松.无线传感器网络.北京:清华大学出版社,2005.
    [16]IEEE Std 802.15.4~(TM)-2003.http://ieeexplore.ieee.org/Xplore/guesthome.jsp.
    [17]ZigBee Specification.http://www.51ZigBee.com/Index.html.
    [18]Kristofer S.J.Pister,"Tracking vehicles with a UAV-delivered sensor network,"http://robotics.eecs.berkeley.edu/~pister/29Palms0103/.
    [19]Mainwaring,J.Polastre,R.Szewczyk,D.Culler,and J.Anderson,"Wireless Sensor Networks for Habitat Monitoring," In Proceedings of the 1st ACM international workshop on Wireless sensor networks and applications,2002,pp:88~97.
    [20]Gilman Tolle,Joseph Polastre,Robert Szewczyk,Neil Turner,Kevin Tu,Stephen Burgess,David Gay,Phil Buonadonna,Wei Hong,Todd Dawson,David Culler,"A Macroscope in the Redwoods," In Proc.of the 3th international conference on Embedded networked sensor systems(Sensys 2005),San Diego,USA,Nov.,2005:51-63.
    [21]Cerpa,J.Elson,D.Estrin,L.Girod,M.Hamilton,and J.Zhao.,"Habitat Monitoring:Application Driver for Wireless Communications Technology.," ACM SIGCOMM Workshop on Data Communications in Latin America and the Caribbean,April 2001.
    [22]Tia Gao,Dan Greenspan,Matt Welsh,Radford R.Juang,and Alex Alm,"Vital Signs Monitoring and Patient Tracking Over a Wireless Network," In Proceedings of the 27th IEEE EMBS Annual International Conference,September 2005.
    [23]Anu Bhargava and Mike Zoltowski,"Sensors and Wireless Communication for Medical Care," International Workshop on Database and Expert Systems Applications (DEXA'03),2003,pp:956-960.
    [24]Shamim N.Pakzad,Sukun Kim,Gregory L Fenves,Steven D.Glaser,David E.Culler,and James W.Demmel,"Multi-Purpose Wireless Accelerometers for Civil Infrastructure Monitoring," In Proceedings of the 5th International Workshop on Structural Health Monitoring(IWSHM 2005),Stanford,CA,September 2005.
    [25]Werner-Allen,J.Johnson,M.Ruiz,J.Lees,and M.Welsh,"Monitoring Volcanic Eruptions with a Wireless Sensor Network," In Proc.European Workshop on Sensor Networks(EWSN'05),January 2005.
    [26]徐勇军 安竹林 蒋文丰 姜鹏 无线传感器实验教程 北京理工大学出版社2007.8.
    [27]霍宏伟,牛延超,黄吉莹,等.Atmega 128/2560系列单片机原理与高级应用.北京:中国林业出版社,2006.
    [28]刘兰香,张秋生.ATmega128单片机应用与开发实例.机械工业出版社 2006.4.
    [29]GAINZ原理图http://www.wsn.net.cn/ebook_htm.
    [30]CC2420Reliability Report.Chipcon Products from Texas Instrument.
    [31]王秀梅 刘乃安.2.4GHz射频芯片CC2420实现ZigBee无线通信.网址:www.bbww.net设计.
    [32]杨赓.ZigBee无线传感器网络的研究与实现.万方数据http://www.wanfangdata.com.cn.
    [33]中科院计算所WSN产品Gainz白皮书v0.3.http://www.wsn.net.cn.
    [34](张广红,刘林山,张宏伟.一线式数字温度计DS1822的原理及应用.西安:国外电子元器件,2005.No.2,44-47).
    [35]周华,徐华,朱均.ADXL202加速度计在振动测试中的应用.哈尔滨:传感器技术,2003,22(3):36-38.
    [36]金纯 罗祖秋 罗凤 陈向斌ZigBee技术基础及案例分析.国防工业出版社2008.1.
    [37]MOTE-VIEW Monitoring Software[OL].
    [38]尹德春 多线程技术在串口通信中的应用http://www.51kaifa.com/html/js wz/200511/read-3152.htm.
    [39]LuWei使用WindowsAPI和多线程进行串口通信http://www.7880.com/Info/Article-582acd00.html.
    [40]多线程技术在VC++串口通信程序中的应用研究http://www.tjnt.net/zhi shi.asp?id=45.
    [41]WSN分析与管理平台SNAMP开发手册宁波中科无线传感器网络事业部.
    [42]SNAMP升级说明.宁波中科无线传感器网络事业部.
    [43]王正军,Visual C++6.0程序设计.人民邮电出版社2006.7.
    [44]W.R.Heinzelman,A.Chandrakasan,and H.Balakrishnan,Energy efficient communication protocol for wireless micro-sensor networks,in Proceedings of the Hawaii international Conference on System Sciences,January 2000.
    [45]2.4 GHz IEEE 802.15.4/ZigBee-ready RF Transceiver.Chipcon Products from Texas Instrument.
    [46]B.O.Priscilla Chen,E.Callaway.Energy Efficient System Design with Optimum Transmission Range for Wireless Ad-Hoc Networks.In Proc.Of ICC,vol.2,2002,pp.945-952.
    [47]Sankarasubramaniam Y.,Akyildiz,L.F.,and M.S.w.Energy Efficiency based Packet Size.

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

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

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