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

计算机工程 ›› 2009, Vol. 35 ›› Issue (1): 232-234. doi: 10.3969/j.issn.1000-3428.2009.01.080

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

RTLinux在列车检测系统中的应用

李华军1,王忠仁1,刘志刚2   

  1. (1. 电子科技大学计算机科学与工程学院,成都 610054;2. 西南交通大学电气工程学院,成都 610031)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-01-05 发布日期:2009-01-05

Application of RTLinux in Train Detection System

LI Hua-jun1, WANG Zhong-ren1, LIU Zhi-gang2   

  1. (1. School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 610054; 2. School of Electrical Engineering, Southwest Jiaotong University, Chengdu 610031)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-01-05 Published:2009-01-05

摘要: 在列车检测系统中,为了将各个部件的状态信息及时反馈给显示终端,系统需要有较高的实时性。针对Linux作为实时应用操作系统的一些不足,文章提出采用实时性能较好的RTLinux系统。在系统实现时,分为实时部分和非实时部分,实时部分主要用在硬件数据采集和发送数据,非实时部分则利用Linux现有的网络协议栈更方便地与显示终端通信。实际运行结果表明,该系统能够及时显示部件的工作状态,满足检测的要求。

关键词: 实时操作系统, 实时Linux, CAN总线

Abstract: A good detection system should get working statues of all components and transfer them to the terminal in time, so the system must have good real time performance. Although Linux is an excellent operating system, it is not suitable for real time applications, so the detection system is implemented based on RTLinux, which has good real time performance. The system is divided into two parts, the real time part and the non-real time one. The real time part communicates with hardware, collects and sends data, and the non-real time part exchanges data between the terminal and the real time part. Result shows the system has good performance and meets the requirement.

Key words: real time OS, RTLinux, CAN bus

中图分类号: