Abstract
Controller Area Network (CAN) has been widely used in many distributed control applications. The low capacity of CAN and usually strict constraints under which it is used in real-time applications limit its applicability. This paper presents a new approach for scheduling messages on CAN based on online adaptation of message offsets, which results in significantly shorter average message response times compared with approaches which guarantee response times. This allows much higher utilization of CAN, resulting in increased effective capacity, and enables its use in applications in which more expensive faster protocols would be required otherwise. Since the average message response times are reduced, the approach is particularly attractive for soft real-time applications. In addition, the paper proposes a method for self-initialization of the CAN-based system on its start-up, which reduces response times from the very start of the system. The proposed approach is very simple and requires modest resources for its implementation, with no change of the standard CAN infrastructure. We demonstrate the performance improvements by comparing the approach with other approaches.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
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, Fonseca J (2002) The FTT-CAN protocol: why and how. IEEE Trans Ind Electron 49(6):1189–1201. DOI 10.1109/TIE.2002.804967
CAN in Automation, C.: Canopen. http://www.canopen.org/
Braun C, Havet L, Navet N (2007) NETCARBENCH: A benchmark for techniques and tools used in the design of automotive communication systems. In: IFAC Secretaria 7th IFAC international conference on fieldbuses and networks in industrial and embedded systems, pp 321–328
Bueno E, Hernandez A, Rodriguez F, Giron C, Mateos R, Cobreces S (2009) A dsp- and fpga-based industrial control with high-speed communication interfaces for grid converters applied to distributed power generation systems. IEEE Trans Ind Electron 56(3):654–669
CAN specification 2.0 b (1991) Robert Bosch GmbH, Stuttgart, Germany
Davis R, Burns A, Bril R, Lukkien J (2007) Controller area network (CAN) schedulability analysis: Refuted, revisited and revised. Real-Time Syst 35(3):239–272
Diaz J, Rodriguez E, Hurtado L, Cacique H, Vazquez N, Ramirez A (2008) Can bus embedded system for lighting network applications. In: IEEE 51st midwest symposium on circuits and systems, 2008. MWSCAS 2008, pp 531–534. DOI 10.1109/MWSCAS.2008.4616853
Felser M (2005) Real-time ethernet – industry prospective. Proc IEEE 93(6):1118–1129. DOI 10.1109/JPROC.2005.849720
FlexRay Consortium (2009) FlexRay communications systems - protocol specification. http://www.flexray.com. Accessed on 9 October 2012
Gamiz J, Samitier J, Fuertes J, Rubies O (2003) Practical evaluation of messages latencies in CAN. In: IEEE conference on emerging technologies and factory automation, 2003. Proceedings of ETFA’03, pp 185–192
Gil-Castineira F, Gonzalez-Castano F, Franck L (2008) Extending vehicular can fieldbuses with delay-tolerant networks. IEEE Trans Ind Electron 55(9):3307–3314. DOI 10.1109/TIE. 2008.927972
Goossens J (2003) Scheduling of offset free systems. Real-Time Syst 24(2):239–258
Grenier M, Havet L, Navet N (2008) Pushing the limits of CAN-scheduling frames with offsets provides a major performance boost. In: Proceedings of the 4th European congress embedded real time software (ERTS 2008), Toulouse, France
Herpel T, Hielscher K, Klehmet U, German R (2009) Stochastic and deterministic performance evaluation of automotive CAN communication. Comput Networks 53(8):1171–1185
Marino P, Poza F, Dominguez M, Otero S (2009) Electronics in automotive engineering: A top-down approach for implementing industrial fieldbus technologies in city buses and coaches. IEEE Trans Ind Electron 56(2):589–600. DOI 10.1109/TIE.2008.2002723
Navet N, Simonot-Lion F (2009) Automotive embedded systems handbook. CRC, West Palm Beach
Nolte T, Nolin M, Hansson H (2005) Real-time server-based communication with can. IEEE Trans Ind Inform 1(3):192–201. DOI 10.1109/TII.2005.852074
Prodanov W, Valle M, Buzas R (2009) A controller area network bus transceiver behavioral model for network design and simulation. IEEE Trans Ind Electron 56(9):3762–3771. DOI 10.1109/TIE.2009.2025298
RTaW-Sim (2009) Real-time at Work CAN Simulator. http://www.realtimeatwork.com/software/rtaw-sim/. Accessed on 9 October 2012
Samii S, Rafiliu S, Eles P, Peng Z (2008) A simulation methodology for worst-case response time estimation of distributed real-time systems. In: Proceedings of the conference on design, automation and test in Europe. ACM, New York, pp 556–561
Sommer J, Burgstahler L, Feil V (2006) An analysis of automotive multi-domain can systems. Proceedings of the 12th EUNICE Open European summer school. Accessed on 9 October 2012
Stankovic J, Ramamritham K, Spuri M, Buttazzo G (1998) Deadline scheduling for real-time systems. Springer, Berlin
Zhou F, Li S, Hou X (2008) Development method of simulation and test system for vehicle body CAN bus based on CANoe. In: 7th world congress on intelligent control and automation, WCICA, pp 7515–7519. IEEE, New York
Ziermann T, Teich J (2010) Adaptive traffic scheduling techniques for mixed real-time and streaming applications on reconfigurable hardware. In: IEEE Proceedings of 17th reconfigurable architectures workshop (RAW)
Ziermann T, Salcic Z, Teich J (2011) DynOAA – dynamic offset adaptation algorithm for improving response times of CAN systems. In: IEEE Proceedings of design, automation, and test in Europe (DATE), pp 269–272
Acknowledgements
This work was supported in part by the German Research Foundation (DFG) under contract TE 163/15-1.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer Science+Business Media New York
About this chapter
Cite this chapter
Ziermann, T., Salcic, Z., Teich, J. (2013). Improving Performance of Controller Area Network (CAN) by Adaptive Message Scheduling. In: Higuera-Toledano, M., Brinkschulte, U., Rettberg, A. (eds) Self-Organization in Embedded Real-Time Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-1969-3_5
Download citation
DOI: https://doi.org/10.1007/978-1-4614-1969-3_5
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-1968-6
Online ISBN: 978-1-4614-1969-3
eBook Packages: EngineeringEngineering (R0)