在分析了磁力轴承控制系统任务特性和经典的RM及EDF调度算法特性基础上,提出了控制系统中具有智能决策能力的实时任务调度算法.该算法吸收了RM与EDF算法的优点。通过动态地改变任务的周期而有效地进行任务调度,并能进行在线系统检测.对调度算法特性进行了理论分析,指明了算法可行的条件,并对CPU的利用率进行了定量计算与分析.
On the basis of analyzing the task characteristics of the control systems of magnetic bearings and the characteristics of the classical RM and Er)F algorithms, a real time task scheduling algorithm is presented, which has intelligent decision ability. The algorithm unites the advantages of the RM and EDF algorithm. All the tasks can be ef- fectively scheduled by changing the periods of the tasks, and system test can be carried out on line. The proposed algorithm is analyzed in theory, and the condition for the tasks to be scheduled is pointed out. The utility of the CPU is also calculated.