CAN总线的时间触发调度方法设计及实验研究

Design and Experiment for Time triggered Schedule of CAN Bus

  • 摘要: 借鉴TTCAN总线时间触发机制和静态调度特点,利用微控制器的硬件周期中断,结合软件编程,提出一种充分利用了CAN2.0总线位仲裁特点的时间触发方案,并对以该方案进行数据传输时的总线带宽利用率和传输误码率进行了模拟实验研究.结果表明:将CAN总线和微控制器的周期中断相结合,可以利用CAN2.0总线实现时间触发型应用,并获得较高的带宽利用率,该方案可应用于分布式数据采集系统等传输大量周期数据和少量非周期数据的场合.

     

    Abstract: According to the static time triggered schedule of time trigged controller area network(TTCAN),this paper presents a time triggered schedule for controller area network(CAN)by the use of hardware periodical interrupt of micro controller,software programming technique,and the bit arbitration of CAN bus.And the evaluation experiments for bandwidth utilization and message error ratio are carried out.The results show that time triggered application and very high bandwidth utilization can be implemented with CAN 2.0 and hardware periodical interrupt of micro controller.The method is suitable for some applications in which much periodical data exchange and a few of non periodical messages are required,such as distributed data acquisition system.

     

/

返回文章
返回