Conference Paper

An Improved Method of Task Context Switching in OSEK Operating System.

Coll. of Comput. Sci., Zhejiang Univ., Hangzhou, China
DOI: 10.1109/AINA.2006.89 Conference: 20th International Conference on Advanced Information Networking and Applications (AINA 2006), 18-20 April 2006, Vienna, Austria
Source: DBLP


Improving real-time is one of the most essential problems in studies of real-time operating system (RTOS). The time of task context switching is an important factor that affects the real-time of RTOS. This paper concentrates on the improvement of task context switching of one kind of RTOS-OSEK operating system. According to different task states, we apply different context switching strategies to reduce the average time of context switching. This method has been successfully implemented and evaluated in our OSEK compatible operating system-SmartOSEK OS.

42 Reads
  • Source
    • "기능 단위의 런어블이 BSW 계층에 해당하는 OS 스케줄러에 의해 구동 되기 위해서는 RTE에서 태스크 바디를 생성하여 런어블을 호출해야 한다. 셋째, RTE는 SetEvent()나 ActivationTask(), TerminateTask() 와 같은 OS 서비스를 호출함으로써 태스크의 활성화(Activation) ·재개(Resumption)·종료(Termination) 등을 제어한다[5] [6] "
    [Show abstract] [Hide abstract]
    ABSTRACT: Through the AUTOSAR methodology, the embedded software shall become more flexible, reusable, maintainable than ever. However, it is not mentioned about specific timing constraints of software components in AUTOSAR. There are a few basic principles for mapping runnable entities. At this point, AUTOSAR software design with optimal scheduling method is one of the enabling technologies in vehicle embedded system. This paper presents an approach based on mapping runnable entities and task scheduling design method for EPS (Electric Power Steering) software components, based on AUTOSAR. In addition, the experimental results of concurrent simulation show that the proposed scheduling technique and timing synchronization in the software component design can achieve the improved torque ripple performance and it well suited for EPS application software.
    Preview · Article · Jun 2010 · Journal of Institute of Control
  • Source
    • "SmartSAR OS is a real-time operating system, based on the SmartOSEK OS [9] [10] [11] "
    [Show abstract] [Hide abstract]
    ABSTRACT: As the automotive electronic system grows larger and more complex, research on software architecture and development methodology becomes more important. This paper proposes a component-based hierarchical software platform for automotive electronics - SmartSAR, which follows the AUTOSAR specification and provides a series of tools for model-driven development, visual configuration and automatic generation. The case study with SmartAMT, a control system of automated mechanical transmission, has shown the advantage of SmartSAR platform in automotive electronic software design.
    Preview · Conference Paper · Jun 2009
  • Source
    [Show abstract] [Hide abstract]
    ABSTRACT: While the ever-increasing complexity of automotive software systems can be effectively managed through the adoption of a reliable real-time operating system (RTOS), it may incur additional resource usage to a resultant system. Due to the mass production nature of the automotive industry, reducing physical resources used by automotive software is of the utmost importance for cost reduction. OSEK OS is an automotive real-time kernel standard specifically defined to address this issue. Thus, it is very important to develop and exploit kernel mechanisms such that they can achieve minimal resource usage in the OSEK OS implementation. In this paper, we analyze the task subsystem, resource subsystem, application mode and conformance classes of OSEK OS as well as the OSEK Implementation Language (OIL). Based on our analysis, we in turn devise and implement kernel mechanisms to minimize the dynamic memory usage of the OSEK OS implementation. Finally, we show that our mechanisms effectively reduce the memory usage of OSEK OS and applications.
    Preview · Article · Jan 2009
Show more