›› 2016, Vol. 36 ›› Issue (6): 77-82.doi: 10.16708/j.cnki.1000-758X.2016.0071

• 技术交流 • 上一篇    

基于时间触发的1553B总线实时调度设计

 詹盼盼, 郭坚*, 刘欣   

  1. 北京空间飞行器总体设计部,北京100094
  • 收稿日期:2016-08-04 修回日期:2016-10-25 出版日期:2016-12-25 发布日期:2016-11-24
  • 作者简介:詹盼盼(1987-),男,硕士研究生,panpan3210@qq.com,研究方向为空间数据系统设计 *通讯作者:郭坚(1977-),男,研究员,Guojian@163.com,研究方向为空间数据系统设计
  • 基金资助:

    国家自然科学基金(91438102)

Realtimeschedulingbasedontimetriggered1553Bbus

 ZHAN  Pan-Pan, GUO  Jian*, LIU  Xin   

  1. BeijingInstituteofSpacecraftSystemEngineering,Beijing100094,China
  • Received:2016-08-04 Revised:2016-10-25 Published:2016-12-25 Online:2016-11-24

摘要: 为了优化1553B总线传输性能,降低总线消息传输的等待时间,提高总线带宽利用率和紧急消息响应的实时性,对1553B总线调度方法进行了研究,将周期性调度和抢占式调度策略相结合,设计了一种基于时间触发的1553B总线实时调度方法。在时间触发的基准下按优先级对总线消息进行集中调度,总线帧在总线上传输的时间内,处理器无需等待,可以继续处理其他任务。利用总线数据区分区的特性,设计了紧急消息打断普通总线消息传输的抢占式调度策略,避免了非重要数据较长时间占用总线通信信道,使得紧急消息能够快速响应。试验结果表明,该调度方法实现了总线消息尽最大能力传输,不仅能够较大幅度地提高1553B总线传输效率和带宽利用率,而且紧急消息的响应时间稳定在2ms以内,为紧急消息的实时响应提供了保证。

关键词: 1553B总线, 周期, 抢占式调度, 优先级, 时间触发

Abstract: Inordertooptimizetheperformanceof1553Bbustransmission,reducethewaitingtimeafterthemessagestransmission,andimprovethebusbandwidthutilizationandtherealtimeperformanceofemergencymessagesresponse,the1553Bbusschedulingmethodswerestudied,andarealtimeschedulingmethodbasedonthetimetriggered1553Bbuswasdesignedbyusingthemethodofperiodicschedulingandpreemptivescheduling.Onthebasisoftimetrigger,busmessageswerecentrallyscheduledbypriority.Duringthetimethebusframewastransmittedonthebus,theprocessorcouldcontinueprocessingothertaskswithoutwaitingforsometime.Basedonthecharacteristicofbusdataareapartition,thepreemptiveschedulingstrategyforemergencymessagestointerruptcommonmessagestransmissionwasdesigned.Nonimportantdatadidn′ttakeupthebuschannelforalongtime,sothatemergencymessageswerequicklyresponded.Theexperimentalresultsshowthattheproposedmethodcanachievethemaximumcapacityofbustransmission.Itcanimprovethetransmissionefficiencyandbandwidthutilizationof1553Bbus,whiletheresponsetimeofemergencymessagesisstablewithin2ms.

Key words: 1553Bbus, periodic, preemptivescheduling, priority, timetriggered