无线传感器网络论文:无线传感器网络通用节点的开发
【中文摘要】传感器技术、微机电系统、现代网络和无线通信等技术的进步孕育了无线传感器网络。无线传感器网络由部署在监测区域内大量廉价微型传感器节点构成,通过无线通信的方式形成一个多跳自组织网络。无线传感器网络扩展了人们的信息获取能力,将客观世界的物理信息同传输网络连接在一起,为人们提供最直接、最有效、最真实的信息,具有十分广阔的应用前景。不同的传感器网络应用关心不同的物理量,对系统的要求也不同,其硬件平台、软件系统和网络协议有很大的差别,这就要求节点上的系统必须具备很好的通用性、移植性和较低开发难度,以满足不用的应用要求,引入嵌入式实时操作系统可以很好地解决这一问题。本文以实验室开发的基于
Microchip公司的PIC24系列微处理器的嵌入式实时操作系统为软件开发平台,以无线传感器网络通用节点系统的设计为主要内容,阐述了其具体的技术和相关实现的方法。首先,研究了嵌入式实时操作系统的源代码,对操作系统中消息机制进行了优化。其次,由于PIC24系列微处理器内部闪程序存储器的特殊读写性能,在操作系统中加入了内存管理优化方案,方便用户直接读写闪程序存储器。再次,在优化了的嵌入式实时操作系统的基础上,结合无线传感器网络的体系结构以及操作系统任务划分和消息传递机制,根据协议栈的划分,采用分层设计的思想,以屏蔽各层的内部实现,提供通用接口为目标,提出了无线传感器网络通用节点系统的设计方案。最后,针对工程应用中的两
个实例,结合具体的软件设计过程,充分阐述了如何方便快捷的在无线传感器网络通用节点系统平台上进行软件的设计和实现。通过两个工程应用系统的成功运行,验证了无线传感器网络通用节点系统具有良好的稳定性和可靠性。可以看出,在无线传感器网络系统中引入嵌入式实时操作系统,将系统做成通用的平台,大大降低了应用程序的开发难度,加快了开发速度,降低了成本,并有效地提高了系统的稳定性、可靠性、可移植性和可扩展性。
【英文摘要】Sensor technology, micro-electromechanical system, modern network and wireless communication technology are integrated into the Wireless Sensor Network(WSN). The WSN, which is constructed of massive miniature sensors deployed in the monitoring region, is a self-organizing network using the wireless jumps relaying way conmmunication. The WSN expands people’s ability of accessing to information, and makes the physical information of the objective world and the
transmission network together, which provides people with real information of most direct and effective. So it has a very broad application prospect. With the different applications, the WSN has different hardware platforms, software systems and network protocols. Thus, the nodes system must have good generality, transportability, and low developing difficulty to meet the different requirements. And the embedded real-time operating
system can solve this problem well.In this thesis, using an embedded real-time operating system based on PIC24 family microprocessor which is developed by Microchip company as the software platform, a WSN general nodes system is designed, which has the characteristics of generality, transportability and expandability.Firstly, the source code of the embedded real-time operating system is studied, and the optimization about the message mechanism is put forward.Secondly, because of the internal flash program memory’s special read and write performance of the PIC24 family microprocessor, an optimized scheme about the memory management is developed in the operating system, which contributes to operate the flash program memory.Thirdly, based on the optimized embedded
real-time operating system, the WSN general nodes system is established, which is conbination of the WSN architecture and the task and message mechanism of the operating system.
Referring to the WSN protocol satck, adopting layered srtucture design, the designed WSN system is aim for shielding the
software realization of each layer and providing interfaces for them.Finally, taking two projects as examples, the convenient and efficient programming based on the WSN general nodes system platform is illustrated by giving the detailed software
code.The successful running of the two projects shows that the designed WSN general nodes system is of good stability and reliability. It is observed that developing WSN system based on the embedded real-time operating system can greatly reduces the difficulty of designing application program, accelerates development speed, lowers the cost and enhances the system’s stability, reliability, transportability and expandability effectively.
【关键词】无线传感器网络 嵌入式实时操作系统 协议栈 消息 通用性
【英文关键词】Wireless Sensor Network Embedded
real-time operating system Protocol stack Message Generality
【目录】无线传感器网络通用节点的开发
10-12ABSTRACT12-13中文摘要1.1 第一章 绪论14-18
1.2 国内外研究现状课题研究的背景和意义14-15
15-161.3 课题主要研究内容及安排16-18第二章 嵌入式实时操作系统的优化18-46
18-222.1 嵌入式实时操作系统2.1.2 2.1.1 嵌入式实时操作系统简介18-20
嵌入式实时操作系统的使用20-22
优化管理分析22-23
消息类型232.2 嵌入式实时操作系统2.3.1 2.3 消息管理优化23-3123-252.3.2 消息控制块2.3.3 消息通信
机制的实现25-312.4 内存管理优化31-462.4.1 PIC24F微处理器闪程序存储器31-34
34-462.4.2 内存管理优化3.1 WSN的体
3.1.2 通信体系第三章 WSN通用节点的开发46-723.1.1 网络体系结构46系结构46-47
结构46-47
47-48
47-483.2 WSN通用节点的功能及实现机制3.2.1 系统功能473.3 无线射频收发模块3.2.2 系统功能实现机制48-513.4 物理层设计
3.4.2 物理层
3.4.4 与优化51-54帧结构51-52
物理层管理的任务
53-543.4.1 物理层功能概述513.4.3 物理层管理的消息52-53533.4.5 物理层功能实现及优化54-633.5.1 MAC子
3.5.3 3.5 MAC子层的设计与优化层功能概述54-563.5.2 MAC子层帧结构56-57
3.5.4 MAC子层管理的任务MAC子层管理的消息57-58
58-593.5.5 MAC子层功能实现及优化59-63
3.6.1 网络层功能描述63
3.6.3 网络层管理的消息3.6 网络3.6.2 层设计与优化63-68网络层帧结构63-64
64-65
结构653.6.4 网络层管理的任务653.6.5 网络层拓扑3.7 应用
3.9 本章小3.6.6 网络层功能实现及优化65-683.8 低功耗设计68-70层的设计与优化68
结70-72
72-86第四章 无线传感器网络通用节点的工程应用4.1 硬件平台724.2 软件平台724.3 基于RSSI的节点定位系统72-804.3.1 节点定位系统描述
72-744.3.2 协调器软件设计74-78
4.3.4 系统测试79-804.3.3 传感器节4.4 路灯管
4.4.2 点软件设计78-79理系统80-854.4.1 路灯管理系统概述80-81
路灯管理系统组网方式81-82
82-834.4.3 路灯管理系统路由算法4.4.5 灯控节点
第五章 总结与展望
攻读硕士期4.4.4 协调器软件设计83-854.5 本章小结85-86参考文献88-92软件设计8586-88致谢92-93
间研究工作及参与的工程项目93-94
况表94
学位论文评阅及答辩情