中国机械工程 ›› 2010, Vol. 21 ›› Issue (15): 1809-1815.

• 信息技术 • 上一篇    下一篇

面向数控系统的容错实时调度算法研究

丁万夫1,2;郭锐锋2,3;秦承刚1,2
  

  1. 1.中国科学院研究生院,北京,100039
    2.中国科学院沈阳计算技术研究所,沈阳,110004
    3.沈阳高精数控技术有限公司, 沈阳,110171
  • 出版日期:2010-08-10 发布日期:2010-09-19
  • 基金资助:
    国家科技重大专项(2009ZX04009-022,2009ZX04009-013)
    National Science and Technology Major Project ( No. 2009ZX04009-022,2009ZX04009-013)

Real-time Scheduling Algorithm with Fault-tolerance in Numerical Control Systems

Ding Wanfu1,2;Guo Ruifeng2,3;Qin Chenggang1,2
  

  1. 1.Graduate University of Chinese Academy of Sciences, Beijing, 100039
    2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang, 110004
    3.Shenyang Golding NC Tech.Co.,Ltd.,Shenyang, 110171
  • Online:2010-08-10 Published:2010-09-19
  • Supported by:
    National Science and Technology Major Project ( No. 2009ZX04009-022,2009ZX04009-013)

摘要:

针对数控系统的混合任务调度以及高可靠性的特点,提出一种基于软件容错模型的实时调度算法(FT-MT)。该算法在系统运行前预先分配替代版本的执行区间,使得替代版本在其截止期内尽可能地推迟执行,为主版本的完成提供了最大的可执行时间。同时,为了避免主版本的早期失败对后续任务的影响,增加了主版本的可执行规则,提高了主版本可执行性的预测精度。仿真实验表明,与同类算法相比,FT-MT算法在提高数控系统容错能力方面更为有效。

关键词:

Abstract:

According to the characteristics of hybrid task set and high dependability of numerical control systems, a fault tolerant real time scheduling algorithm based on software fault-tolerant model was proposed to dispose of system transient faults. In order to provide the maximal execution time for the primaries, the FT-MT algorithm reserves time intervals as late as possible for all the alternates before their deadlines. At the same time, for the sake of preventing early failures in execution from giving rise to failures in the subsequent tasks, an executive rule for primaries was added into the FT-MT algorithm which improved the predictive quality of the primaries remarkably. The simulation experiments show that the FT-MT algorithm has much better fault resilience than that of the well-known algorithms so far.

Key words: numerical control system, scheduling algorithm, software fault-tolerant, primary version, alternate version

中图分类号: