摘要: 在列车检测系统中,为了将各个部件的状态信息及时反馈给显示终端,系统需要有较高的实时性。针对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
中图分类号:
李华军;王忠仁;刘志刚. RTLinux在列车检测系统中的应用[J]. 计算机工程, 2009, 35(1): 232-234.
LI Hua-jun; WANG Zhong-ren; LIU Zhi-gang. Application of RTLinux in Train Detection System[J]. Computer Engineering, 2009, 35(1): 232-234.