一种基于TDMA的用于无线传感网的星型成簇方法技术

技术编号:4176721 阅读:236 留言:0更新日期:2012-04-11 18:40
本发明专利技术公开了一种基于TDMA的用于无线传感网的星型成簇方法,包括以下步骤:簇头根据采样周期和传输时间划分时隙;默认一个GPS时间段为时隙申请时段,簇头在该时间段接收各个节点的入网申请并将分配的时隙号回复给申请节点;节点获得GPS时间信息校准本地时钟后休眠并在工作时隙到来之前醒来完成采样、读取GPS时间再次校准本地时钟;节点在延迟一定的保护时间段之后开始发送数据并保证发送结束后距离本地时钟所得出的工作时隙结束还有至少一个保护时间段的时间长度;节点休眠直到下一个周期开始。本发明专利技术避免了采用某个节点内部时钟为基准带来的频繁通信校准问题,节省了能源、降低了复杂度,便于实现。

A star cluster method for wireless sensor networks based on TDMA

The invention discloses a method for star clusters in wireless sensor network based on TDMA, which comprises the following steps: the cluster head according to the sampling period and the transmission time slot division; the default of a GPS time slot for receiving each time, the cluster head node in the time period of the network application and the allocated time slot number reply for node; node obtains GPS time information to calibrate the local clock after sleep and work in time before the arrival of wake up complete sampling, read the GPS time to re calibrate the local clock; the start of node send data and ensure the working distance of the local clock time slot end and at least one protection period length sent over after a delay the protection period of time; the node sleep until the next cycle begins. The invention avoids the problem of frequent communication calibration by adopting the internal clock of a certain node, saves energy, reduces complexity, and is easy to realize.

【技术实现步骤摘要】

【技术保护点】
一种基于TDMA的用于无线传感网的星型成簇方法,其特征在于,包括以下步骤:    步骤一,簇头根据固定的采样周期和每次传输所需时间预先在每个工作周期划分多个待分配的时隙;整个星型簇默认一个GPS时间段为时隙申请时段;    步骤二,簇头在时隙申请时段开始后进入侦听状态,侦听时隙申请请求的到来;    步骤三,进入时隙申请时段后,各个成员节点发送时隙申请请求,直到得到回复或发送达到最大次数或时隙申请时段结束为止;    步骤四,簇头收到各个成员节点的时隙申请请求后对所有时隙申请请求进行处理并合理分配时隙号,然后回复各个成员节点;    步骤五,各个成员节点在接收到回复后自己的工作时隙到来之前完成采样,并读取GPS时间校准本地时钟,然后进入休眠直到自己的工作时隙开始;    步骤六,簇头的时隙调度、信息接收时间段开始后,各个成员节点的工作时隙依次开始;    步骤七,各个成员节点在自己的工作时隙开始后,首先经过保护时间段的时间长度后才开始上传本地采样信息,并保证上传结束时距离自己的工作时隙结束还有至少一个保护时间段的时间长度;    步骤八,工作时隙结束后,成员节点进入休眠直到下一个工作时隙的到来,重复步骤六至步骤八。...

【技术特征摘要】

【专利技术属性】
技术研发人员:巩思亮赵康周璐巍左秀婷张唯易王营冠
申请(专利权)人:中国科学院上海微系统与信息技术研究所
类型:发明
国别省市:31[中国|上海]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1