Abstract
The paper presents a real-time operating system (RTOS) of a time-triggered distributed computing environment based on physical time and logical time for cyber-physical systems. In the environment, input and output tasks are activated synchronized with physical time and computation tasks are activated by the reception of timestamped messages and managed based on logical time. The control performance is affected by the jitters of input and output tasks but not affected by the jitters of computation tasks, so the jitter of the computation task activation is tolerated. However, the response time of low priority computation tasks may be increased in fixed-priority scheduling, which is used by most RTOSs. The paper presents a RTOS with mixed scheduling, in which fixed scheduling is used for input and output tasks to minimize the jitters and earliest deadline first (EDF) scheduling based on logical deadlines is used for computation tasks to minimize the response time. The logical deadline is not affected by the task activation time and higher priority is assigned to a computation task with an earlier logical deadline even if its activation is delayed, so the response time is improved. We have evaluated the performance of the RTOS and have confirmed that the performance is acceptable for practical embedded control systems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Lee, E.A.: Cyber physical systems: design challenges. In: Proceedings of 11th IEEE International Symposium on Object Oriented Real-Time Distributed Computing, pp. 363–369 (2008)
Cervin, A., Henriksson, D., Lincoln, B., Eker, J., Arzen, K.: How does control timing affect performance? Analysis and simulation of timing using jitterbug and TrueTime. IEEE Control. Syst. 23(3), 16–30 (2003)
Kopetz, H.: Should responsive systems be event-triggered or time-triggered? IEICE Trans. Inf. Syst. E76–D(11), 1325–1332 (1993)
Kopetz, H., Grunsteidl, G.: TTP-A protocol for fault-tolerant real-time systems. IEEE Comput. 27(1), 14–23 (1994)
Makowitz, R., Temple, C.: FlexRay - a communication network for automotive control systems. In: Proceedings of 2006 IEEE International Workshop on Factory Communication Systems, pp. 207–212 (2006)
Henzinger, T.A., Horowitz, B., Kirsch, C.M.: Giotto: a time-triggered language for embedded programming. In: Henzinger, T.A., Kirsch, C.M. (eds.) EMSOFT 2001. LNCS, vol. 2211, pp. 166–184. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-45449-7_12
Benveniste, A., Caspi, P., Guernic, P.L., Marchand, H., Talpin, J.-P., Tripakis, S.: A protocol for loosely time-triggered architectures. In: Sangiovanni-Vincentelli, A., Sifakis, J. (eds.) EMSOFT 2002. LNCS, vol. 2491, pp. 252–265. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45828-X_19
Baudart, G., Benveniste, A., Bourke, T.: Loosely time-triggered architectures: improvements and comparisons. In: Proceedings of the 12th International Conference on Embedded Software (EMSOFT’15), pp. 85–94 (2015)
Lee, E.A., Matic, S.: On determinism in event-triggered distributed systems with time synchronization. In: Proceedings of 2007 IEEE International Symposium on Precision Clock Synchronization for Measurement, Control and Communication, pp. 56–63 (2007)
Eidson, J.C., Lee, E.A., Matic, S., Seshia, S.A., Zou, J.: Distributed real-time software for cyber-physical systems. In: Proceedings of the IEEE, vol. 100, no. 1, pp. 45–59 (2012)
Ichimura, A., Yokoyama, T., Yoo, M.: A time-triggered distributed computing environment for cyber-physical systems based on physical time and logical time. In: Proceedings of 2018 IEEE Region 10 Conference (TENCON’18), pp. 1516–15210 (2018)
OSEK/VDX: Operating System, Version 2.2.3 (2005)
AUTOSAR: Specification of Operating System, Release 4.3.0 (2016)
Liu, C.L., Layland, J.W.: Scheduling algorithms for multiprogramming in a hard-real-time environment. J. ACM 20(1), 46–61 (1973)
TOPPERS Project. http://www.toppers.jp/. Accessed 9 May 2019
Yokoyama, T., Matsubara, A., Yoo, M.: A real-time operating system with GNSS-based tick synchronization. In: Proceedings of IEEE 3rd International Conference on Cyber-Physical Systems, Networks, and Applications, pp. 19–24 (2015)
Kiencke, U.: Controller area network - from concept to reality. In: Proceedings of 1st International CAN Conference, pp. 11–20 (1994)
Aliance, Z.: http://www.zigbee.org/. Accessed 9 May 2019
Acknowledgment
The authors would like to thank the developers of TOPPERS/ATK1. This work was supported by JSPS KAKENHI Grant Number JP18K11225.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 IFIP International Federation for Information Processing
About this paper
Cite this paper
Amadera, K., Ichimura, A., Yokoyama, T., Yoo, M. (2023). A Real-Time Operating System for Cyber-Physical Systems Based on Physical Time and Logical Time. In: Wehrmeister, M.A., Kreutz, M., Götz, M., Henkler, S., Pimentel, A.D., Rettberg, A. (eds) Analysis, Estimations, and Applications of Embedded Systems. IESS 2019. IFIP Advances in Information and Communication Technology, vol 576. Springer, Cham. https://doi.org/10.1007/978-3-031-26500-6_1
Download citation
DOI: https://doi.org/10.1007/978-3-031-26500-6_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-26499-3
Online ISBN: 978-3-031-26500-6
eBook Packages: Computer ScienceComputer Science (R0)