航空学报 > 2011, Vol. 32 Issue (6): 1067-1074   doi: CNKI:11-1929/V.20101228.1347.007

航空电子系统混合实时任务的双层调度

周天然, 熊华钢   

  1. 北京航空航天大学 电子信息工程学院, 北京 100191
  • 收稿日期:2010-08-25 修回日期:2010-10-21 出版日期:2011-06-25 发布日期:2011-06-24
  • 通讯作者: Tel.: 010-82338712 E-mail: zhoutianran1@ee.buaa.edu.cn E-mail:zhoutianran1@ee.buaa.edu.cn
  • 作者简介:周天然(1984- ) 男,博士研究生。主要研究方向:嵌入式实时系统、分布式计算、实时网络。 Tel: 010-82338712 E-mail: zhoutianran1@ee.buaa.edu.cn熊华钢(1961- ) 男,博士,教授,博士生导师。主要研究方向:航空电子综合、高速数据总线、高速局域网络、电子设备智能测试系统等。 Tel: 010-82317202 E-mail: hgxiong@ee.buaa.edu.cn
  • 基金资助:

    国家自然科学基金 (60879024)

Two-level Hierarchical Scheduling for Hybrid Real-time Tasks in Avionic Systems

ZHOU Tianran, XIONG Huagang   

  1. School of Electronics and Information Engineering, Beihang University, Beijing 100191, China
  • Received:2010-08-25 Revised:2010-10-21 Online:2011-06-25 Published:2011-06-24

摘要: 针对航空电子系统的实时性需求,提出满足综合模块化航空电子(IMA)构架的双层任务调度算法。通过加权轮转调度激活分区,并为分区提供固定的时间窗口,增强了系统的可预测性;分区内部采用可抢占的固定优先级调度,减少了高优先级任务的响应时间。算法支持混合任务集的调度:对周期的强实时任务,建立具有任意时限的任务模型,增强了模型的通用性,并通过计算任务的响应时间上界,推导出双层调度下的任务可调度条件;对非周期的弱实时任务,引入期望可调度的概念,保证了统计条件下的任务可调度性。通过仿真,分析了分区参数对任务调度实时性的影响。该算法考虑了混和实时任务调度情况,具有较强的通用性。

关键词: 航空系统工程, 综合模块化航空电子, 分层调度, 可调度性分析, 实时系统

Abstract: By considering the demand for real time performance in avionic systems, a two-level hierarchical scheduling algorithm is proposed for the integrated modular avionics (IMA) architecture. Each partition is assigned a dedicated time window and activated by the weighted round robin scheduling, which enhances the predictability of the system. Within the partition, the fixed priority preemptive scheduling is applied to reduce the response time of the tasks with higher priorities. The algorithm can be used for hybrid real-time task scheduling. For periodic hard real-time tasks, a task model with arbitrary dead-line is built to enhance its generality, and the schedulability conditions are derived under hierarchical scheduling by analyzing the response time bound. For aperiodic soft real-time tasks, the concept of expected schedulability is introduced to guarantee the real-time performance in statistics. The design and optimization of the partition parameters is also discussed, and a first fit method is proposed to solve the problem. The influence of the partition parameters on task scheduling is analyzed by simulations. This algorithm, which considers the hybrid real time task scheduling, has better erformance in generality.

Key words: aviation system engineering, integrated modular avionics (IMA), hierarchical scheduling, schedulability analysis, real-time systems

中图分类号: