Abstract
The design of the collaborative robot control system is restricted by the following key factors: real-time system, field bus, robot frame and human-computer interaction module. Academia and industry have an urgent need for high-quality, high-stability, distributed and easy-to-operate control systems with the development of the robotics industry. Robot systems architecture based on ROS and ROS2 have attracted more and more attention due to the flexibility, openness, modularity, scalability and friendliness. The main contribution of this article is to partially construct the real-time architecture of the collaborative robot control system. In addition, the timing jitter of the system, EtherCAT master station and ROS under different frequencies and loads is analyzed. First, a Linux kernel based on PREEMPT_RT patch is constructed, the basic architecture is described, and the timing performance of the robot system is improved through the application of high-precision timers, priority assignment, scheduling mode, and energy consumption management. Furthermore, the timing jitter performance of the operating system is analyzed. The maximum jitter of the system and the EtherCAT master station is about 10 us, and the average jitter is 1 us. Finally, the timing jitter of the built-in timing callbacks in ROS and ROS2 is evaluated. The design of the real-time system and performance analysis provide critical support for the design of the robot controller.
Keywords
- PREEMPT_RT
- Timing Jitter
- ROS
- ROS2
- EtherCAT Master
This is a preview of subscription content, access via your institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Yoon, H., Song, J., Lee, J.: Real-time performance analysis in Linux-based robotic systems. In: Proceedings of the 11th Linux Symposium, pp. 331–340 (2009)
Reghenzani, F., Massari, G., Fornaciari, W.: The real-time linux kernel: a survey on PREEMPT_RT. ACM Comput. Surv. 52(1), 1–36 (2019)
Karamousadakis, M.A.: Real-time programming of EtherCAT master in ROS for a quadruped robot (2019)
Kopetz, H.: Real-Time Systems: Design Principles for Distributed Embedded Applications. Springer, New York (2011). https://doi.org/10.1007/978-1-4419-8237-7
Puck, L., Keller, P., Schnell, T., et al.: Distributed and synchronized setup towards real-time robotic control using ROS2 on Linux. In: 2020 IEEE 16th International Conference on Automation Science and Engineering, pp. 1287–1293 (2020)
Delgado, R., You, B., Choi, B.W.: Real-time control architecture based on Xenomai using ROS packages for a service robot. J. Syst. Softw. 151, 8–19 (2019)
Gutiérrez, C.S.V., Juan, L.U.S., Ugarte, I.Z., Vilches, V.M.: Real-time Linux communications: an evaluation of the Linux communication stack for real-time robotic applications (2018). https://arxiv.org/abs/1808.10821
Mantegazza, P., Bianchi, E., Dozio, L., Papacharalambous, S., Hughes, S., Beal, D.: RTAI: Real-Time Application Interface, pp. 142–148 (2000)
PREEMPT_RT. https://wiki.linuxfoundation.org/realtime/start. Accessed 29 Apr 2021
Buttazzo, G., Lipari, G., Abeni, L., et al.: Soft Real-Time Systems. Springer, New York (2005)
Oliveira, D.B., Oliveira, R.S.: Timing analysis of the PREEMPT RT Linux kernel. Softw. Pract. Exp. 46(6), 789–819 (2016)
Hutter, M., Gehring, C., Lauber, A., et al.: Anymal-toward legged robots for harsh environments. Adv. Robot. 31(17), 918–931 (2017)
TALOS Humanoid Robot. https://pal-robotics.com. Accessed 29 Apr 2021
SOME. https://github.com/OpenEtherCATsociety/SOEM. Accessed 29 Apr 2021
IGH. https://www.etherlab.org/en/ethercat/index.php. Accessed 29 Apr 2021
Zurawski, Z.: Industrial Communication Technology Handbook, 2nd edn. CRC Press, New York (2017)
Acknowledgement
This work is supported by the National Key Research and Development Program of China (Grant No. 2019YFB130185), the Key Research and Development Program of Shandong Province (Grant No. 2019JZZY010432), and a grant from the Institute for Guo Qiang, Tsinghua University (Grant No. 2019GQG0007).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Ye, Y., Li, P., Li, Z., Xie, F., Liu, XJ., Liu, J. (2021). Real-Time Design Based on PREEMPT_RT and Timing Analysis of Collaborative Robot Control System. In: Liu, XJ., Nie, Z., Yu, J., Xie, F., Song, R. (eds) Intelligent Robotics and Applications. ICIRA 2021. Lecture Notes in Computer Science(), vol 13014. Springer, Cham. https://doi.org/10.1007/978-3-030-89098-8_56
Download citation
DOI: https://doi.org/10.1007/978-3-030-89098-8_56
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-89097-1
Online ISBN: 978-3-030-89098-8
eBook Packages: Computer ScienceComputer Science (R0)