计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (11): 62-66.DOI: 10.3778/j.issn.1002-8331.2009.11.019

• 研发、设计、测试 • 上一篇    下一篇

POSIX零星事件调度策略的研究与实现

杨麟祥,岳继光,张晓云   

  1. 同济大学 电子与信息工程学院,上海 200092
  • 收稿日期:2008-02-26 修回日期:2008-05-06 出版日期:2009-04-11 发布日期:2009-04-11
  • 通讯作者: 杨麟祥

Research and realization of sporadic task scheduling based on POSIX

YANG Lin-xiang,YUE Ji-guang,ZHANG Xiao-yun   

  1. Department of Electronic and Information,Tongji University,Shanghai 200092,China
  • Received:2008-02-26 Revised:2008-05-06 Online:2009-04-11 Published:2009-04-11
  • Contact: YANG Lin-xiang

摘要: 随着实时嵌入式系统结构的日益复杂,运行环境的不确定因素增多,零星事件调度越来越受到专家学者的重视。以“磁滞陀螺电机高频电源的研制”项目为课题背景,参考国际标准,将基于POSIX规范的零星事件调度方法引入现有系统中,提高了系统的鲁棒性和实时性。为了验证改进后的系统性能,用硬件电路产生真随机二值信号,模拟零星事件。实践证明,引入零星事件调度后,系统具有更好的鲁棒性。零星事件调度方法可以应用到混杂系统的调度决策层中,以提高系统的综合性能。

关键词: 零星事件调度, 混杂系统, 可移植的操作系统接口规范, μC/OS-II

Abstract: Sporadic task scheduling is attracting more and more experts as the structure of real time embedded system becoming more and more complicated and its running environment with much uncertainty.This paper is based on project “power design for the precision high frequency magnetism motor”,it introduces standardized POSIX sporadic task scheduling method into original system and improves the robust and real-time characteristic of the whole system.A hardware circuit is used to produce random 0-1 signals to simulate sporadic tasks and the result proves it works very well.Sporadic task scheduling method can be utilized into the scheduling and decision layer of hybrid system in order to improve its performance.

Key words: sporadic task scheduling, hybrid system, Portable Operating System Interface for Computing Environments(POSIX) standardization, μC/OS-II