摘要
目前现场CAN总线驱动节点数量有限,通信速率随着通信距离的增加快速下降,在通信节点数量大、通信距离远的大空间场所不能应用。针对这个问题,设计了基于PIC16位单片机dsPIC30F6011的CAN网关,给出了CAN网关的硬件设计原理和软件设计框图;详细描述了CAN总线扩展原理及CAN总线扩展后的网络拓扑结构。dsPIC30F6011片上集成了双CAN总线数据链路层,外围电路简单,消息通过中断来处理,实时迅速。通过该CAN网关,两个CAN网络之间的消息实时、快速转发。扩展后的CAN网络驱动能力强、通信速率高、通信距离远,完全可以应用于通信节点数量大、通信距离远的场所。
Because of the numbers of node are restricted and baud rate is descended quickly along with getting farther and farther away in the CAN network. For the question, a method of extending CAN network which uses CAN getebridge that based on PIC 16 b dsPIC30F6011 is introduced, and the expanded CAN bus topology is described. The hardware design scheme and sofeware modules of CAN network gatebridge based on PIC 16 b is discussed. In dsPIC30F6011 chip,dual CAN bus data link layer is integrated, external circuit is simple. Through the CAN gateway, the message between two CAN network is forwarded real- time and quickly, the CAN network drive capacity is improved,the high CAN network communication rate can be used,the communication distance is expanded, the CAN network expansion is implemented.
出处
《现代电子技术》
2009年第22期163-165,共3页
Modern Electronics Technique