基于启发式最短路径的PAC任务调度算法  被引量:3

Task Scheduling Algorithm in PAC System Based on Heuristic Shortest Path

在线阅读下载全文

作  者:仲崇权[1] 刘正一[1] 赵亮[1] 李丹[1] ZHONG Chong-quan LIU Zheng-yi ZHAO Liang LI Dan(College of Control Science and Engineering, Dalian University of Technology, Dalian 116024, China)

机构地区:[1]大连理工大学控制科学与工程学院,辽宁大连116024

出  处:《仪表技术与传感器》2016年第12期129-135,共7页Instrument Technique and Sensor

基  金:国家自然科学基金面上项目(61472062);国家科技支撑计划项目(2015BAF20B02);中央高校基本科研业务费重点类研究型培育项目(DUT15ZD230)

摘  要:针对PAC实时系统中多种类型任务共存、部分任务之间具有时序相关性的特点,建立了混合关联任务系统的数学模型,将系统中待调度的任务看作构成状态空间树的状态节点,使任务执行序列的选择问题转化为状态空间树中寻找状态节点之间最短路径的问题;基于启发式搜索最短路径算法实现了PAC系统的任务调度机制,该算法通过在线搜索问题的状态空间树,在约束条件下寻找使代价评估函数取得极值的状态节点,从根节点出发并不停地寻找下个节点作为首发任务的后续任务,当根节点通过某条路径可以连接所有节点时,便形成了一个最优且可行的任务执行队列;实例分析和算法性能测试表明,该算法能较好地应用于PAC实时系统的任务调度中。To describe the characteristics of PAC ( Programmable Automation Controller ) real-time system, which is consisting of hybrid tasks with precedence orders and resource constraints, a new model of hybrid-task system was introduced. State space tree node was considered as the task to be scheduled, making the task execution serial choice problem into the shortest path problem in state space tree node.Based on heuristic search of shortest path algorithm to achieve the PAC system task scheduling mechanism, through online search problem of state space tree, under the constraint condition, local node making cost evaluation function acquire extremum was searched.Starting from the root node, the next node was seen as the subsequent task.When the root node can connect all the nodes through a certain path, an optimal and feasible task queue was formed.Case study and computation complexity analysis prove that the algorithm is able to obtain the optimized sequence of hybrid task sets in PAC system effectively.

关 键 词:PAC 实时系统 任务调度 混合任务 最短路径 启发式搜索 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象