提出了一种基于协处理器的媒介访问控制(MAC)体系结构,将不同MAC协议的信道争用机制映射为协处理器内部的软件程序,其特点是兼容IEEE802.15.4协议,利用可编程协处理器增强MAC的可重用性,能支持自适应睡眠媒介访问控制(S-MAC)、超时媒介访问控制(T-MAC)等无线传感器网络MAC协议.阐述了基于协处理器实现避免冲突的载波侦听多路访问(CSMA-CA)算法、S-MAC和T-MAC协议的方法,并在此基础上分析了CSMA-CA算法的软件时延.在现场可编程门阵列(FPGA)上实现整个MAC,实际测试结果表明:该MAC支持多协议,数据传输速率达20~250 Kbit/s,适应IEEE802.15.4协议要求,面积仅为30 567个等效门.
The architecture of MAC (medium access control) accelerator based on co-processor is presented, which compliants with the IEEE 802. 15.4 protocol and supports various MAC protocols for wireless sensor networks. The way of CSMA-CA (carrier sense multiple access with collision avoid- ance) algorithm, S-MAC (sensor-MAC)) and T-MAC (timeout-MAC) protocols implemented by coprocessor is explained. Based on the co-processor architecture, software delay is analyzed. The results of FPGA (field programmable gate array) verification are presented. The proposed MAC architecture solution can operate at a rate of 20 ~ 250 Kbit/s and support various of MAC protocols with only a 30 567 equivalent gate scale.