为了增强无线传感器网络的动态适应性和实现数据包的多路径传输,根据蚁群算法的原理,使用NesC语言在TinyOS2.X下设计了路由协议Ant—PDRP。该协议采用信息素浓度指引路由包和数据包传输,并在数据包传输过程中引入惩罚机制以实现动态均衡网络能耗。TOSSIM仿真和Micaz节点的真实实验表明,改进后的路由协议能够有效减少传输时延,延长网络寿命,保证数据可靠传输。
In order to increase dynamic adaptability of wireless sensor networks and implement multi-path transmission of data packets, this paper designed an ant colony algorithm based routing protocol by NesC programming language based on TinyOS2. x operating system called Ant-PDRP. It used pheromones for searching path for transmitting routing packets and data packets. Dur- ing the transmission of data packets, it used a punishment mechanism for balancing the energ3T consumpution of networks. The simulation in TOSSIM and the experiment in actual wireless sensor networks which is consist of Micaz node show that the protocol can reduce the transmission delay, prolong the lifetime of networks, and ensure the reliability of data transmission.