OSEK-Like Kernel Support for Engine Control Applications under EDF Scheduling

Vincenzo Apuzzo, Alessandro Biondi, Giorgio Buttazzo
2016 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS)  
Engine control applications typically include computational activities consisting of periodic tasks, activated by timers, and engine-triggered tasks, activated at specific angular positions of the crankshaft. Such tasks are typically managed by a OSEK-compliant real-time kernel using a fixed-priority scheduler, as specified in the AUTOSAR standard adopted by most automotive industries. Recent theoretical results, however, have highlighted significant limitations of fixed-priority scheduling in
more » ... anaging engine-triggered tasks that could be solved by a dynamic scheduling policy. To address this issue, this paper proposes a new kernel implementation within the ERIKA Enterprise operating system, providing EDF scheduling for both periodic and engine-triggered tasks. The proposed kernel has been conceived to have an API similar to the AUTOSAR/OSEK standard one, limiting the effort needed to use the new kernel with an existing legacy application. The proposed kernel implementation is discussed and evaluated in terms of run-time overhead and footprint. In addition, a simulation framework is presented, showing a powerful environment for studying the execution of tasks under the proposed kernel. Contributions. This paper presents the following contributions: • A new kernel implementation within the ERIKA Enterprise operating system is proposed, providing EDF scheduling for both periodic and engine-triggered tasks. Different approaches have been considered, discussed and evaluated for the implementation. • Experimental results are presented to evaluate the implementation in terms of footprint and run-time overhead. • A simulation framework based on the Lauterbach Trace32
doi:10.1109/rtas.2016.7461345 dblp:conf/rtas/ApuzzoBB16 fatcat:x6jntkly5bcjlfg7addu2mav7q