计算机科学 ›› 2018, Vol. 45 ›› Issue (4): 190-195.doi: 10.11896/j.issn.1002-137X.2018.04.032
冉正,罗蕾,晏华,李允
RAN Zheng, LUO Lei, YAN Hua and LI Yun
摘要: 下一代汽车电子标准AUTOSAR定义汽车应用程序设计过程包括系统级设计和ECU级设计。系统级设计以软件构件为单位来设计应用,其中软件构件包含一组可运行实体。ECU级设计主要将可运行实体代码组织为嵌入式实时操作系统任务。因此,在将分配到ECU的软件构件集转换为实时系统任务集的过程中,需要有经验的嵌入式开发工程师进行可运行实体-任务的映射配置,以保证系统的实时性。鉴于可运行实体-任务的映射配置工作具有配置需求量大、复杂度高等特点,文中设计了一种可运行实体-任务自动映射方法。该方法综合考虑了可运行实体的触发关系、周期需求、数据共享等因素,对提高汽车软件开发效率具有非常重要的实用价值。最后,将该方法应用于AUTOSAR标准的汽车电子巡航控制系统实例中。实验结果显示,所提方法在抖动时间、阻塞时间、调度频繁度和数据通信量4个方面都具有良好的表现。
[1] FRST S,BECHTER M.AUTOSAR for Connected and Au-tonomous Vehicles:The AUTOSAR Adaptive Platform [C]∥46th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshop.2016:215-217. [2] PARTNERSHIP A.Specification of Operating System(V4.1.0R4.0 Rev 2).http://www.autosar.org.2010. [3] ZHANG M,GU Z H.Optimization Issues in Mapping AUTOSAR Components To Distributed Multithreaded Implementations[C]∥22nd IEEE International Symposium on Rapid System Prototyping(RSP).2011:23-29. [4] LONG R S,LI H,PENG W,et al.An Approach to Optimize Intra-ECU Communication Based on Mapping of AUTOSAR Runnable Entities [C]∥International Conference on Embedded Software and Systems.2009:138-143. [5] PARTNERSHIP A.Specification of RTEV(3.1.0R4.0 Rev 2) .http://www.autosar.org.2010. [6] HU M L,LUO J,WANG Y,et al.Scheduling periodic taskgraphs for safety-critical time-triggered avionic systems [J].IEEE Transactions on Aerospace and Electronic Systems,2015,1(3):2294-2304. [7] XIE G Q,ZENG G,LI Z T,et al.Adaptive Dynamic Scheduling on Multi-functional Mixed-Criticality Automotive Cyber-Physical Systems [J].IEEE Transactions on Vehicular Technology,2017(99):1-15. [8] KAI R.Compositional Scheduling AnalysisUsing StandardEvent Models [D].Braunschweig:Technical University Carolo-Wilhelmina of Braunschweig,2005. [9] MONOT A,NAVET N,BAVOUX B,et al.Multisource Software on Multicore Automotive ECUs-Combining Runnable Sequencing With Task [J].Scheduling IEEE Transactions on Industrial Electronics,2012,59(10):3934-3942. [10] FERRARI A,NATALE M D,GENTILE G,et al.Time andmemory tradeoffs in the implementationof AUTOSAR components [C]∥Conference on Design,Automation and Test in Europe.2009:864-869. [11] FARAGARDI H R,LISPER B,SANDSTRM K,et al.A Communication-Aware Solution Framework for MappingAUTOSAR Runnables on Multi-core Systems [C]∥Proceedings of the 2014 IEEE Emerging Technology and Factory Automation.2014:1-9. [12] HAN J W,KAMBER M,PEI J.Data Mining:Concepts andTechniques(Third Edition)[M].Burlington:Morgan Kaufmann.2011:456-461. [13] PARTNERSHIP A.Explanation of Application Interfaces of the Body and Comfort Domain (V1.2.0 R4.0 Rev 2) .http://www.autosar.org,2010. |
No related articles found! |
|