J4

• Original Articles • Previous Articles     Next Articles

Analysis and design of the instrument OS based on Linux

HE Fu-gui(1,2);WANG Jia-li(1)

  

  1. (1) School of Mechano-electronic Engineering, Xidian Univ., Xi′an 710071, China
    (2) College of Information Engineering, Taiyuan Univ. of Technology, Taiyuan 030024, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-02-20 Published:2006-02-20

Abstract:

The demand for the instrumental OS is becoming more and more urgent because of instrumental development. The paper analyzes Linux’s characteristics and shortages if it acts as an instrumental OS. In order to design this kind of OS that satisfies instrumental requirement, Linux’s kernel is modified in timer resolution, kernel preemption and priority reversion and so on. Improving the timer is realized by the analysis of the CPU structure; and a new preemptive kernel is realized by the integration of the dual-kernel with inserting preemptive points, and priority reversion is avoided by the realization of PIP. Finally, the test is done. The result shows that real-time performance is efficiently improved and the scope of use is extended, and thus it is effective for instrumental requirement.

Key words: instrumental OS, schedule-latency, timer resolution, priority reversion

CLC Number: 

  • TP316