messages at high frequency, with high temporal deter-
minism and low jitter, by using temporal separation.
At the same time, SRT messages are delivered ex-
ploiting free resources with a scheduling policy which
guarantees high bandwidth exploitation and limits la-
tency. Moreover, a ready to use implementation is
available as open-source software library, and its lay-
ered architecture facilitates porting to new platforms.
RTCAN has been used to control Triskar2, an
omnidirectional wheeled robot built from distributed
hardware modules. Three motor controllers drive the
wheels, while another board reads measurement from
IR proximity sensors. The distributed motion control
loop exploits HRT messages to synchronize motor ac-
tuation with low jitter; the proximity module sends
SRT messages when an obstacle is detected. Thanks
to RTCAN flexibility, different data sources, with dif-
ferent requirements, are mixed on the CAN-Bus.
ACKNOWLEDGEMENTS
This work has been partially supported by the re-
search grant “Robotics for the Masses” from ST Mi-
croelectronics and Regione Lombardia, and by the
Italian Ministry of University and Research (MIUR)
through the PRIN 2009 grant “ROAMFREE: Robust
Odometry Applying Multi-sensor Fusion to Reduce
Estimation Errors”.
REFERENCES
Albert, A. (2004). Comparison of event-triggered and time-
triggered concepts with regard to distributed control
systems. Embedded World, 2004:235–252.
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.
Bonarini, A., Matteucci, M., Migliavacca, M., and Rizzi,
D. (2012). R2P: an open source modular architecture
for rapid prototyping of robotics applications. In Pro-
ceedings of 1st IFAC Conference on Embedded Sys-
tems, Computational Intelligence and Telematics in
Control (CESCIT’12), pages 68–73. Elsevier.
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 Federa-
tion of Automatic Control (IFAC), pages 917–922. El-
sevier.
Bruyninckx, H. (2001). Open robot control software: the
OROCOS project. In Proceedings 2001 ICRA. IEEE
International Conference on Robotics and Automa-
tion, pages 2523–2528. IEEE Press.
Buttazzo, G. C. (2005). Rate monotonic vs. EDF: judgment
day. Real-Time Systems, 29:5–26.
Coronel, J., Blanes, F., Benet, G., Sim
´
o, J., P
`
erez, P.,
and Albero, M. (2005). CAN-based distributed con-
trol architecture using the SCoCAN communication
protocol. In Prodeedings of 10th IEEE Conference
on Emerging Technologies and Factory Automation
(ETFA). IEEE Press.
Di-Sirio, G. (2007). ChibiOS/RT Real Time Operating Sys-
tem. http://www.chibios.org.
Kaiser, J. and Livani, M. A. (1998). Invocation of real-
time objects in a can bus-system. In Proceedings of
the The 1st IEEE International Symposium on Object-
Oriented Real-Time Distributed Computing, pages
298–307. IEEE Press.
Kopetz, H. (1993). Should responsive systems be event-
triggered or time-triggered? Transactions on Infor-
mation and Systems, E76-D(11):1325–1332.
Leen, G. and Heffernan, D. (2002). TTCAN: a new time-
triggered controller area network. Microprocessors
and Microsystems, 26(2):77–94.
Livani, M. A. and Kaiser, J. (1998). EDF Consensus on
CAN Bus Access for Dynamic Real-Time Applica-
tions. In Proceedings of 12th International Parallel
Processing Symposium and 9th Symposium on Paral-
lel and Distributed Processing, volume 1388, pages
1088–1097. Springer.
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.
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.
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 Tech-
nologies and Factory Automation (ETFA’03), pages
169–176. IEEE Press.
Noonen, D., Siegel, S., and Maloney, P. (1994). DeviceNet
Application Protocol. In 1st International CAN Con-
ference.
Obermaisser, R. (2004). Event-triggered and time-triggered
control paradigms, volume 22 of Real-Time Systems.
Springer.
Pedreiras, P. and Almeida, L. (2000). Combining event-
triggered and time-triggered traffic in FTT-CAN:
Analysis of the asynchronous messaging system. In
IEEE International Workshop on Factory Communi-
cation Systems, pages 67–75.
P
`
erez, P., Benet, G., Blanes, F., and Sim
´
o, J. (2003). Com-
munication jitter influence on control loops using pro-
tocols for distributed real-time systems on CAN bus.
In Proceedings of 5th IFAC International symposium
SICICA, pages 237–243. Springer.
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 Work-
shop on Open Source Software. IEEE Press.
ICINCO2013-10thInternationalConferenceonInformaticsinControl,AutomationandRobotics
360