Skip to main content

Real-Time Design Based on PREEMPT_RT and Timing Analysis of Collaborative Robot Control System

Part of the Lecture Notes in Computer Science book series (LNAI,volume 13014)

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

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. 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)

    Google Scholar 

  2. Reghenzani, F., Massari, G., Fornaciari, W.: The real-time linux kernel: a survey on PREEMPT_RT. ACM Comput. Surv. 52(1), 1–36 (2019)

    Article  Google Scholar 

  3. Karamousadakis, M.A.: Real-time programming of EtherCAT master in ROS for a quadruped robot (2019)

    Google Scholar 

  4. 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

  5. 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)

    Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. 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

  8. Mantegazza, P., Bianchi, E., Dozio, L., Papacharalambous, S., Hughes, S., Beal, D.: RTAI: Real-Time Application Interface, pp. 142–148 (2000)

    Google Scholar 

  9. PREEMPT_RT. https://wiki.linuxfoundation.org/realtime/start. Accessed 29 Apr 2021

  10. Buttazzo, G., Lipari, G., Abeni, L., et al.: Soft Real-Time Systems. Springer, New York (2005)

    Google Scholar 

  11. Oliveira, D.B., Oliveira, R.S.: Timing analysis of the PREEMPT RT Linux kernel. Softw. Pract. Exp. 46(6), 789–819 (2016)

    Article  Google Scholar 

  12. Hutter, M., Gehring, C., Lauber, A., et al.: Anymal-toward legged robots for harsh environments. Adv. Robot. 31(17), 918–931 (2017)

    Article  Google Scholar 

  13. TALOS Humanoid Robot. https://pal-robotics.com. Accessed 29 Apr 2021

  14. SOME. https://github.com/OpenEtherCATsociety/SOEM. Accessed 29 Apr 2021

  15. IGH. https://www.etherlab.org/en/ethercat/index.php. Accessed 29 Apr 2021

  16. Zurawski, Z.: Industrial Communication Technology Handbook, 2nd edn. CRC Press, New York (2017)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Xin-Jun Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics