摘要
针对CAN总线存在布线不便、不适宜野外长距离传送的缺点,结合无线局域网技术实现CAN总线数据的无线传送,构建了简易通用的无线CAN总线系统。系统由两个节点模块组成,每个节点模块硬件由微控制器STC12C5410AD、CAN总线控制器MCP2515、CAN总线收发器MCP2551和射频无线模块RF903组成,并通过初始化程序、接收程序和发送程序加以控制。系统采用CAN总线分析仪进行CAN报文的收发。实测结果表明,系统传送的报文错误率为0,可实现无线通信。
Aiming at the disadvantages of CAN bus, e. g. , complex wiring and inadequacy for field long-distance transmission, the wireless LAN technology is integrated to realize wireless transmission of CAN bus data, and simple and universal wireless CAN bus system is constructed. The system is composed of two node modules, each node module consists of microcontroller STC12C5410AD, MCP2515 CAN bus controller, MCP2551 CAN bus transceiver, and RF903 radio frequency module; and controlled by initialization program, receiving program and sending program. By adopting CAN bus analyzer, CAN messages are sending and receiving. The results of practical tests show that the error rate of transmitted message is zero, the system realizes the wireless communication.
出处
《自动化仪表》
CAS
北大核心
2012年第11期31-35,共5页
Process Automation Instrumentation
基金
国家自然科学基金资助项目(编号:30871450)
国家公益性行业(农业)科研专项基金资助项目(编号:200903023)
现代农业产业技术体系建设专项基金资助项目(编号:农科教发[2007]14号
农科教发[2011]3号)