Back to search

Chalmers University of Technology

Integrating OSEK RTOS in L2 virtual ECU for simulating timing behavior of automotive systems

Abstract

dc:description.abstract

Modern vehicles rely on Electronic Control Units (ECUs) to manage safety-critical functions such as engine control and braking. To reduce hardware dependency and accelerate development, Virtual ECUs (vECUs) are used for early testing, though many lack accurate real-time behavior. This thesis upgrades a Level 2 vECU to Level 3 by integrating Trampoline, an open-source OSEK-compliant real-time operating system (RTOS), enabling fixed-priority preemptive scheduling. The modified vECU runs in a real-time Linux environment and is evaluated against a production ECU using timing metrics like execution time and response time. Two response time analysis (RTA) models—classic and offset-aware—are applied to predict worst-case response times, which are then validated against empirical measurements. Since RTA is essential for ensuring tasks meet deadlines in automotive systems, validating these models enhances their practical utility. The results show that the upgraded vECU can simulate timing behavior with reasonable accuracy, supporting cost-effective, early-stage validation in automotive software development.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för mikroteknologi och nanovetenskap (MC2)
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Chen, Pengfei
  • Hao, Wuyang
Advisor dc:contributor.supervisor
  • Pathan, Risat
Committee member dc:contributor.committeemember
  • Larsson-Edefors, Per

Subjects

dc:subject × 1

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
MCCX04

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Chen, Pengfei; Hao, Wuyang. Integrating OSEK RTOS in L2 virtual ECU for simulating timing behavior of automotive systems. H thesis, 2025. https://hdl.handle.net/20.500.12380/309750