摘要
为解决现Z-Stack定位程序代码量大,结构复杂等问题,提出一种基于TinyOS的CC2430定位方案。在分析TinyOS组件架构基础上,设计实现盲节点、锚节点与汇聚节点间的无线通信以及汇聚节点与PC机的串口通信。在此基础上实现PC对各锚节点RSSI(Received Signal Strength Indicator)寄存器值的正确读取,确定实验室环境下对数-常态无线传播模型的具体参数,并采用质心算法来提高定位精度。实验显示,在由四个锚节点组成的4.8×3.6 m2矩形定位区域中,通过RSSI质心定位算法求得的盲节点坐标为(2.483 1,1.018 5),实际坐标为(2.40,1.20),误差为0.199 6 m,表明较好地实现对盲节点的定位。
A positioning solution based on TinyOS is proposed to overcome shortcomings in existing Z-Stack programs, such as huge size code, complex structure. Wireless communications among blind node, anchor nodes and sink node, as well as UART communication between sink and PC, can be set up based on the framework analyses of TinyOS. PC can derive accurate RSSI values from anchor nodes based on these analyses. Parameters of Log-normal propagation model are determined through experiments. In addition, a RSSI-based centroid algorithm is introduced to improve the accuracy. The experiment result shows that in the 4.8~3.6 m2 rectangular area formed by four anchor nodes, an error of 0.199 6 m exits between theoretical position of blind node (2.483 1,1.018 5) and the actual (2.40,1.20), which indicates that the proposed positioning solution works well.
出处
《电子设计工程》
2012年第4期155-158,共4页
Electronic Design Engineering