收稿日期: 2009-07-20
网络出版日期: 2011-02-28
基金资助
上海市科委集成电路设计专项资助项目(09706201300);上海市信息化专项资助项目(090344);上海市新能源汽车高新技术产业化基金资助项目(09625029)
Design and Realization of Controller Area Network Bit Timing Processor
Received date: 2009-07-20
Online published: 2011-02-28
在控制器局域网(controller area network,CAN)总线通信中,位时序的处理关系到CAN能否正确地收发数据.基于总线标称位时间的周期结构及位同步的工作原理,提出CAN 2.0协议标称位时间的一种优化方法,即将传统的标称位时间由4个互不交叠的段简化成3个互不交叠的段,并在此基础上提出一种基于同步状态机的CAN总线位时序处理器的设计方法,提供可编程的时间段来补偿传播延迟时间和相位漂移,并对设计的电路进行仿真与验证.结果表明,相对于CAN协议规范标称位时间的4个互不交叠的段,减少了整个位时序处理过程使用的寄存器,简化了执行位同步的步骤,能更简便地处理CAN总线通信的位时序,实现了CAN总线协议中对位定时和位同步的控制,更好地优化了CAN网络的性能.
胡越黎,徐晓勇 . 控制器局域网位时序处理器的设计与实现[J]. 上海大学学报(自然科学版), 2011 , 17(1) : 85 -89 . DOI: 10.3969/j.issn.1007-2861.2011.
The way in which the bit timing of controller area network (CAN) bus communication is dealt with determines whether the CAN controller can receive or transmit data correctly. This paper presents a structure of nominal bit time and the principle of bit synchronization. We give an optimized method of nominal bit time of CAN〖KG*1/9〗2.0 protocol that the four nonoverlapping segments of traditional nominal bit time is simplified to 3 nonoverlapping segments. Based on this, we propose a design method for bit timing processor (BTP) of CAN bus on the synchronized state machine. We also provide programmable time segments to compensate for the propagation delay times and phase shifts, and show simulation and verification of the design. The results show that the design in line with the CAN 2.0 protocol can more easily deal with the CAN bus communication bit timing. Control of CAN bus protocol on the bit timing and bit synchronization is realized, which better optimizes the CAN network.
/
| 〈 |
|
〉 |