RTCAN - A Real-time CAN-bus Protocol for Robotic Applications

Martino Migliavacca, Andrea Bonarini, Matteo Matteucci

2013

Abstract

Robots are distributed systems where different devices perform specific tasks and need to exchange data to run the overall system. In this paper, the communication requirements of robotic systems are summarized, highlighting which characteristics are relevant to the different tasks and showing the limits of the present communication protocols. Then, RTCAN is presented: a new real-time CAN-Bus protocol for robotic applications, which aims at combining the advantages of different approaches to communication scheduling. RTCAN takes into account time-triggered communication derived from control loops, guaranteeing temporal determinism, as well as event-triggered communication by sensors, which are transmitted with low latency. An implementation of the protocol is available as open-source software library, which can easily be ported to new platforms. Finally, results from benchmarks performed on actual hardware are reported, showing the ability of RTCAN in handling heterogeneous communications.

References

  1. Albert, A. (2004). Comparison of event-triggered and timetriggered concepts with regard to distributed control systems. Embedded World, 2004:235-252.
  2. Almeida, L., Pedreiras, P., and Fonseca, J. A. G. (2002). The FTT-CAN protocol: why and how. In IEEE Transactions on Industrial Electronics, pages 1189- 1201. IEEE Press.
  3. Bonarini, A., Matteucci, M., Migliavacca, M., and Rizzi, D. (2012). R2P: an open source modular architecture for rapid prototyping of robotics applications. In Proceedings of 1st IFAC Conference on Embedded Systems, Computational Intelligence and Telematics in Control (CESCIT'12), pages 68-73. Elsevier.
  4. Bonarini, A., Matteucci, M., Migliavacca, M., Sannino, R., and Caltabiano, D. (2011). Modular low-cost robotics: What communication infrastructure? In Proceedings of 18th World Congress of the International Federation of Automatic Control (IFAC), pages 917-922. Elsevier.
  5. Bruyninckx, H. (2001). Open robot control software: the OROCOS project. In Proceedings 2001 ICRA. IEEE International Conference on Robotics and Automation, pages 2523-2528. IEEE Press.
  6. Buttazzo, G. C. (2005). Rate monotonic vs. EDF: judgment day. Real-Time Systems, 29:5-26.
  7. Coronel, J., Blanes, F., Benet, G., Simó , J., Pèrez, P., and Albero, M. (2005). CAN-based distributed control architecture using the SCoCAN communication protocol. In Prodeedings of 10th IEEE Conference on Emerging Technologies and Factory Automation (ETFA). IEEE Press.
  8. Di-Sirio, G. (2007). ChibiOS/RT Real Time Operating System. http://www.chibios.org.
  9. Kaiser, J. and Livani, M. A. (1998). Invocation of realtime objects in a can bus-system. In Proceedings of the The 1st IEEE International Symposium on ObjectOriented Real-Time Distributed Computing, pages 298-307. IEEE Press.
  10. Kopetz, H. (1993). Should responsive systems be eventtriggered or time-triggered? Transactions on Information and Systems, E76-D(11):1325-1332.
  11. Leen, G. and Heffernan, D. (2002). TTCAN: a new timetriggered controller area network. Microprocessors and Microsystems, 26(2):77-94.
  12. Livani, M. A. and Kaiser, J. (1998). EDF Consensus on CAN Bus Access for Dynamic Real-Time Applications. In Proceedings of 12th International Parallel Processing Symposium and 9th Symposium on Parallel and Distributed Processing, volume 1388, pages 1088-1097. Springer.
  13. Lu, C., Stankovic, J., Son, S., and Tao, G. (2002). Feedback control real-time scheduling: Framework, modeling, and algorithms. Real-Time Systems, 23:85-126.
  14. Natale, M. D. (2000). Scheduling the can bus with earliest deadline techniques. In Proceedings of The 21st IEEE Real-Time Systems Symposium., pages 259-268. IEEE Press.
  15. Nolte, T., Nolin, M., and Hansson, H. (2003). Server-based scheduling of the can bus. In Proceedings of the 9th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA'03), pages 169-176. IEEE Press.
  16. Noonen, D., Siegel, S., and Maloney, P. (1994). DeviceNet Application Protocol. In 1st International CAN Conference.
  17. Obermaisser, R. (2004). Event-triggered and time-triggered control paradigms, volume 22 of Real-Time Systems. Springer.
  18. Pedreiras, P. and Almeida, L. (2000). Combining eventtriggered and time-triggered traffic in FTT-CAN: Analysis of the asynchronous messaging system. In IEEE International Workshop on Factory Communication Systems, pages 67-75.
  19. Pèrez, P., Benet, G., Blanes, F., and Simó, J. (2003). Communication jitter influence on control loops using protocols for distributed real-time systems on CAN bus. In Proceedings of 5th IFAC International symposium SICICA, pages 237-243. Springer.
  20. Quigley, M., Conley, K., Gerkey, B. P., Faust, J., Foote, T., Leibs, J., Wheeler, R., and Ng, A. Y. (2009). ROS: an open-source robot operating system. In ICRA Workshop on Open Source Software. IEEE Press.
Download


Paper Citation


in Harvard Style

Migliavacca M., Bonarini A. and Matteucci M. (2013). RTCAN - A Real-time CAN-bus Protocol for Robotic Applications . In Proceedings of the 10th International Conference on Informatics in Control, Automation and Robotics - Volume 2: ICINCO, ISBN 978-989-8565-71-6, pages 353-360. DOI: 10.5220/0004484303530360


in Bibtex Style

@conference{icinco13,
author={Martino Migliavacca and Andrea Bonarini and Matteo Matteucci},
title={RTCAN - A Real-time CAN-bus Protocol for Robotic Applications},
booktitle={Proceedings of the 10th International Conference on Informatics in Control, Automation and Robotics - Volume 2: ICINCO,},
year={2013},
pages={353-360},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004484303530360},
isbn={978-989-8565-71-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 10th International Conference on Informatics in Control, Automation and Robotics - Volume 2: ICINCO,
TI - RTCAN - A Real-time CAN-bus Protocol for Robotic Applications
SN - 978-989-8565-71-6
AU - Migliavacca M.
AU - Bonarini A.
AU - Matteucci M.
PY - 2013
SP - 353
EP - 360
DO - 10.5220/0004484303530360