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

计算机工程 ›› 2010, Vol. 36 ›› Issue (24): 236-238. doi: 10.3969/j.issn.1000-3428.2010.24.085

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

以微机作为时间主机的时间触发CAN

陈西园,宋宪臣,吕海燕   

  1. (东华理工大学信息与电子工程学院,江西 抚州 344000)
  • 出版日期:2010-12-20 发布日期:2010-12-14
  • 作者简介:陈西园(1983-),男,硕士研究生,主研方向:嵌入式系统,CAN总线;宋宪臣,助教;吕海燕,硕士研究生

Time Triggered CAN Using PC as Time-host

CHEN Xi-yuan, SONG Xian-cheng, LV Hai-yan   

  1. (School of Information & Electronic Engineering, East China University of Technology, Fuzhou 344000, China)
  • Online:2010-12-20 Published:2010-12-14

摘要: 将微机(PC)引入时间触发CAN(TTCAN)时,Windows XP系统由于基于线程优先级采用抢占式策略进行任务调度而导致非实时性问题。为解决该问题,通过研究PC内部高精度定时器及TTCAN的基本原理和结构特征,设计实现以PC结合通用CAN控制器SJA1000作为时间主节点的TTCAN,其可以满足窗口大小为毫秒级别的TTCAN应用。

关键词: 微机, 时间主机, 时间触发CAN, 网络时间单元

Abstract: Windows XP does not work real-time due to its schedule based on thread priority and task with the highest thread priority will be executed when introducing PC to Time Triggered CAN(TTCAN). In order to solve the problem, this paper introduces realization of TTCAN with PC combined with universal CAN controller SJA1000 being time-host by studying high-precision timer in PC and analysis of TTCAN principium. The design can ensure application of TTCAN whose time window is milliseconds.

Key words: PC, time-host, Time Triggered CAN(TTCAN), Network Time Unit(NTU)

中图分类号: