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

dc.contributor.authorChen, Pengfei
dc.contributor.authorHao, Wuyang
dc.contributor.departmentChalmers tekniska högskola / Institutionen för mikroteknologi och nanovetenskap (MC2)sv
dc.contributor.departmentChalmers University of Technology / Department of Microtechnology and Nanoscience (MC2)en
dc.contributor.examinerLarsson-Edefors, Per
dc.contributor.supervisorPathan, Risat
dc.date.accessioned2025-06-30T05:39:09Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractModern 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.
dc.identifier.coursecodeMCCX04
dc.identifier.urihttp://hdl.handle.net/20.500.12380/309750
dc.language.isoeng
dc.setspec.uppsokPhysicsChemistryMaths
dc.subjectECU, vECU, RTOS, OSEK, Real-time, RTA
dc.titleIntegrating OSEK RTOS in L2 virtual ECU for simulating timing behavior of automotive systems
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeEmbedded electronic system design (MPEES), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
Integrating OSEK RTOS in L2 Virtual ECU for Simulating Timing Behavior of Automotive Systems.pdf
Storlek:
1.52 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: