• 论文 •    

面向软数控系统的混合任务调度算法

万加富,李迪,叶峰,赖乙宗   

  1. 1.华南理工大学 机械工程学院,广东广州510640;2.广东机电学院 计算机系,广东广州510515
  • 出版日期:2009-03-15 发布日期:2009-03-25

Hybrid task scheduling algorithm oriented to software computer numerical control system

WAN Jia-fu,LI Di,YE Feng,LAI Yi-zong   

  1. 1.College of Mechanical Engineering, South China University of Technology, Guangzhou 510640,China;2.Department of Computer, Guangdong College of Mechanical&Electrical Technology, Guangzhou 510515,China
  • Online:2009-03-15 Published:2009-03-25

摘要: 为减小因软数控混合任务不确定性而引起的加工误差,提出了面向软数控的模糊反馈调度算法和两级结构的调度策略。在分析软数控任务划分和任务模型的基础上,研究了软数控模糊反馈调度算法的结构,并推导出调度算法表。通过对比仿真试验表明:不采用模糊反馈调度,加工误差达119%;采用模糊反馈调度,加工误差最大值仅为104%。给出了两级调度策略的架构,并对调度算法、任务可调度性及时标间隔进行了研究。所提出的两级调度策略已应用到基于Windows CE.NET的软数控系统中,实测任务运行状态显示,实时任务具有很好的确定性。仿真试验和具体实施的结果表明,提出的两种算法能满足软数控系统的个性化实时应用。

关键词: 混合任务, 软数控, 模糊反馈调度, 两级调度, 仿真

Abstract: To reduce the mismachining tolerance caused by uncertainty of software Computer Numerical Control(CNC) real-time tasks, a fuzzy feedback scheduling algorithm and a two-level hierarchical scheduling strategy oriented to software CNC system were presented. On the basis of the analysis for task division and task model, structure of fuzzy feedback scheduling algorithm was studied and scheduling table was derived. Then, the comparative simulation results demonstrated that error was up to 11.9% with non-fuzzy feedback scheduling, error maximum was 1.04% with fuzzy feedback scheduling. Architecture of two-level scheduling strategy was presented. Its scheduling algorithm, task schedulability and time interval were studied in detail. The proposed two-level scheduling strategy was applied in Window CE. NET-based software CNC system. Application results revealed that real-time tasks had rational certainty. The simulation and implementation showed that the two scheduling algorithm could satisfy diversified real-time applicaton requirements.

Key words: hybrid tasks, software computer numerical control, fuzzy feedback scheduling, two-level hierarchical scheduling, simulation

中图分类号: