DocumentCode
2085879
Title
PtidyOS: A Lightweight Microkernel for Ptides Real-Time Systems
Author
Zou, Jia ; Matic, Slobodan ; Lee, Edward A.
Author_Institution
Univ. of California, Berkeley, CA, USA
fYear
2012
fDate
16-19 April 2012
Firstpage
209
Lastpage
218
Abstract
Ptides, a programming model for distributed real-time embedded systems, was proposed previously. In this work, we focus on a work flow that applies Ptides in a single-CPU environment using model-based design techniques. Our work flow starts with a programming environment where a real-time application is expressed as a Ptides model. The model captures both the functionality of the system and the desired timing of interactions with the environment. The Ptides simulator supports simulation of both of these aspects. Once the designer is satisfied with the design, a code generator can be used to glue together the application code with a real-time operating system called PtidyOS. To ensure the responsiveness of the real-time program, PtidyOS´s scheduler combines Ptides semantics with the earliest-deadline-first policy. To minimize scheduling overhead associated with context switching, PtidyOS uses a single stack for event scheduling and execution, while still enabling event preemptions. We demonstrate the Ptides work flow through a motion control application. The automatically generated code running on PtidyOS is compared with a manual C implementation running on bare silicon. We discuss the trade offs in functionality and performance between these two implementations.
Keywords
distributed processing; embedded systems; operating system kernels; Ptides real-time system; Ptides semantics; Ptides simulator; Ptides work flow; PtidyOS; code generator; context switching; distributed real-time embedded system; earliest-deadline-first policy; event execution; event scheduling; lightweight microkernel; model-based design technique; motion control application; programming model; real-time operating system; single-CPU environment; Actuators; Delay; Programming; Real time systems; Sensors; Software; Ptides; Ptidy OS; distributed; kernel; real-time; system;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time and Embedded Technology and Applications Symposium (RTAS), 2012 IEEE 18th
Conference_Location
Beijing
ISSN
1080-1812
Print_ISBN
978-1-4673-0883-0
Type
conf
DOI
10.1109/RTAS.2012.28
Filename
6200052
Link To Document