License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.NG-RES.2023.4
URN: urn:nbn:de:0030-drops-177357
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2023/17735/
Go to the corresponding OASIcs Volume Portal


Sorrentino, Alessandro ; Terraneo, Federico ; Leva, Alberto

Efficient Abstraction of Clock Synchronization at the Operating System Level

pdf-format:
OASIcs-NG-RES-2023-4.pdf (0.9 MB)


Abstract

Distributed embedded systems are emerging and gaining importance in various domains, including industrial control applications where time determinism - hence network clock synchronization - is fundamental. In modern applications, moreover, this core functionality is required by many different software components, from OS kernel and radio stack up to applications. An abstraction layer devoted to handling time needs therefore introducing, and to encapsulate time corrections at the lowest possible level, the said layer should take the form of a timer device driver offering a Virtual Clock to the entire system. In this paper we show that doing so introduces a nonlinearity in the dynamics of the clock, and we design a controller based on feedback linearization to handle the issue. To put the idea to work, we extend the Miosix RTOS with a generic interface allowing to implement virtual clocks, including the newly designed controller that we call FLOPSYNC-3 after its ancestor. Also, we introduce the resulting virtual clock in the TDMH [Terraneo et al., 2018] real-time wireless mesh protocol.

BibTeX - Entry

@InProceedings{sorrentino_et_al:OASIcs.NG-RES.2023.4,
  author =	{Sorrentino, Alessandro and Terraneo, Federico and Leva, Alberto},
  title =	{{Efficient Abstraction of Clock Synchronization at the Operating System Level}},
  booktitle =	{Fourth Workshop on Next Generation Real-Time Embedded Systems (NG-RES 2023)},
  pages =	{4:1--4:11},
  series =	{Open Access Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-268-6},
  ISSN =	{2190-6807},
  year =	{2023},
  volume =	{108},
  editor =	{Terraneo, Federico and Cattaneo, Daniele},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2023/17735},
  URN =		{urn:nbn:de:0030-drops-177357},
  doi =		{10.4230/OASIcs.NG-RES.2023.4},
  annote =	{Keywords: Clock synchronization, Real-time operating systems, Embedded software, Real-time control}
}

Keywords: Clock synchronization, Real-time operating systems, Embedded software, Real-time control
Collection: Fourth Workshop on Next Generation Real-Time Embedded Systems (NG-RES 2023)
Issue Date: 2023
Date of publication: 16.03.2023


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI