tpIP

A Time-predictable TCP/IP Stack for Cyber-physical Systems

Martin Schoeberl, Rasmus Ulslev Pedersen

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.

AB - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.
Original languageEnglish
Title of host publicationProceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing : ISORC 2018
Number of pages8
Place of PublicationLos Alamos, CA
PublisherIEEE
Publication date2018
Pages75-82
Article number8421149
ISBN (Print)9781538658475
DOIs
Publication statusPublished - 2018
Event21st International Symposium on Real-Time Distributed Computing. IEEE ISORC 2018 - Nanyang Technogical University, Singapore
Duration: 29 May 201831 May 2018
Conference number: 21
https://cps-research-group.github.io/ISORC2018/

Conference

Conference21st International Symposium on Real-Time Distributed Computing. IEEE ISORC 2018
Number21
LocationNanyang Technogical University
CountrySingapore
Period29/05/201831/05/2018
Internet address
SeriesInternational Symposium on Object-Oriented Real-Time Distributed Computing
Volume21
ISSN1555-0885

Keywords

  • Networking
  • Real time systems
  • Time predictable TCP/IP stack

Cite this

Schoeberl, M., & Ulslev Pedersen, R. (2018). tpIP: A Time-predictable TCP/IP Stack for Cyber-physical Systems. In Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing: ISORC 2018 (pp. 75-82). [8421149] Los Alamos, CA: IEEE. International Symposium on Object-Oriented Real-Time Distributed Computing, Vol.. 21 https://doi.org/10.1109/ISORC.2018.00018
Schoeberl, Martin ; Ulslev Pedersen, Rasmus. / tpIP : A Time-predictable TCP/IP Stack for Cyber-physical Systems. Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing: ISORC 2018. Los Alamos, CA : IEEE, 2018. pp. 75-82 (International Symposium on Object-Oriented Real-Time Distributed Computing, Vol. 21).
@inproceedings{e77dad3217ec48339728f38370ac92e1,
title = "tpIP: A Time-predictable TCP/IP Stack for Cyber-physical Systems",
abstract = "Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.AB - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.",
keywords = "Networking, Real time systems, Time predictable TCP/IP stack",
author = "Martin Schoeberl and {Ulslev Pedersen}, Rasmus",
year = "2018",
doi = "10.1109/ISORC.2018.00018",
language = "English",
isbn = "9781538658475",
pages = "75--82",
booktitle = "Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing",
publisher = "IEEE",
address = "United States",

}

Schoeberl, M & Ulslev Pedersen, R 2018, tpIP: A Time-predictable TCP/IP Stack for Cyber-physical Systems. in Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing: ISORC 2018., 8421149, IEEE, Los Alamos, CA, International Symposium on Object-Oriented Real-Time Distributed Computing, vol. 21, pp. 75-82, Singapore, 29/05/2018. https://doi.org/10.1109/ISORC.2018.00018

tpIP : A Time-predictable TCP/IP Stack for Cyber-physical Systems. / Schoeberl, Martin; Ulslev Pedersen, Rasmus.

Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing: ISORC 2018. Los Alamos, CA : IEEE, 2018. p. 75-82 8421149 (International Symposium on Object-Oriented Real-Time Distributed Computing, Vol. 21).

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

TY - GEN

T1 - tpIP

T2 - A Time-predictable TCP/IP Stack for Cyber-physical Systems

AU - Schoeberl, Martin

AU - Ulslev Pedersen, Rasmus

PY - 2018

Y1 - 2018

N2 - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.AB - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.

AB - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.AB - Cyber-physical systems are networks of computers connected to the physical world. Often the interaction with the physical world is time critical. In that case computation and communication must be performed in real time. However, a standard implementation of a network stack is hardly time predictable. This paper addresses the challenge of real-time communication for time-critical cyber-physical systems with a time-predictable network stack. We present tpIP, a real-time implementation of the TCP/IP stack. We achieve time predictability by two properties: (1) the application interface is based on polling functions, instead of blocking sockets, that fits for periodic real-time tasks; (2) the implementation is carefully crafted to enable static worst-case execution time analysis of all functions.

KW - Networking

KW - Real time systems

KW - Time predictable TCP/IP stack

U2 - 10.1109/ISORC.2018.00018

DO - 10.1109/ISORC.2018.00018

M3 - Article in proceedings

SN - 9781538658475

SP - 75

EP - 82

BT - Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing

PB - IEEE

CY - Los Alamos, CA

ER -

Schoeberl M, Ulslev Pedersen R. tpIP: A Time-predictable TCP/IP Stack for Cyber-physical Systems. In Proceedings of 2018 IEEE 21st International Symposium on Real-Time Distributed Computing: ISORC 2018. Los Alamos, CA: IEEE. 2018. p. 75-82. 8421149. (International Symposium on Object-Oriented Real-Time Distributed Computing, Vol. 21). https://doi.org/10.1109/ISORC.2018.00018