作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (6): 239-241. doi: 10.3969/j.issn.1000-3428.2009.06.084

• 工程应用技术与实现 • 上一篇    下一篇

基于CAN总线的实时DSP应用算法

贾国光1,曾 锃1,李肯立1,杨正新2   

  1. (1. 湖南大学计算机与通信学院,长沙 410082;2. 国防科学技术大学机电工程与自动化学院,长沙 410073)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-03-20 发布日期:2009-03-20

Algorithm of Real-time DSP Application Based on CAN Bus

JIA Guo-guang1, ZENG Zeng1, LI Ken-li1, YANG Zheng-xin2   

  1. (1. School of Computer & Communication, Hunan University, Changsha 410082;2. College of Mechatronic Engineering & Automation, National University of Defense Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-03-20 Published:2009-03-20

摘要: 根据控制局域网络(CAN)的特点及应用要求,提出一种新的动态调度协议(DSP),通过动态选择时间间隙调度信息,同时考虑实时数据的重传机制,并在此基础上介绍基于CAN总线的实时DSP应用算法,该算法不仅能满足CAN网络中实时应用系统的性能要求,还能充分利用CAN网络带宽。实验结果表明,该算法降低了传输请求程序的平均信号延迟,同时提高了网络利用率。

关键词: 控制局域网络, 动态调度协议, 实时, 信号延迟

Abstract: According to the characteristics and the corresponding requirements of Controller Area Network(CAN), this paper proposes a novel Dynamic Scheduling Protocol(DSP), which dynamically selects the time slots of CAN bus for the real-life applications, and considers the mechanism to re-transmit real-time data. On basis of this, an algorithm of real-time DSP application based on CAN bus is introduced, which not only meets the real-time requirements of CAN applications, but also explores the bandwidth of CAN. Experimental results show this algorithm reduces the average response delay of the applications and improves the bandwidth utility of CAN networks.

Key words: Controller Area Network(CAN), Dynamic Scheduling Protocol(DSP), real-time, signaling delay

中图分类号: