CAN Bus Experiments of Real-Time Communications

  • Fernando G. TinettiEmail author
  • Fernando L. Romero
  • Alejandro D. Pérez
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 790)


This paper presents a benchmark development and the analysis of communication times in a CAN (Controller Area Network) bus. Preemptive and fixed priority scheduling is taken as departure point for the initial experiments and analysis. This method would be adapted for programming CAN messages without preemption of the shared communications channel. It is also complemented by a specific priority assignment algorithm, suitable for non-preemptive systems. A real CAN network is used for the experiments, and results are analyzed from the point of view of real-time performance and CAN specification. We have found well known, deterministic, and correct performance communication times. Messages and signals are delivered within deadlines, a fundamental requirement for a real-time system.


CAN bus implementation Real-time experiments Instrumentation and monitoring Real-time schedulability 


  1. 1.
    Audsley, N.: Optimal priority assignment and feasibility of static priority tasks with arbitrary start times (1991)Google Scholar
  2. 2.
    Davis, R.I., Burns, A., Bril, R.J., Lukkien, J.J.: Controller area network (CAN) schedulability analysis: refuted, revisited and revised. Real-Time Syst. 35(3), 239–272 (2007). CrossRefGoogle Scholar
  3. 3.
    George, L., Rivierre, N., Spuri, M.: Preemptive and non-preemptive real-time uniprocessor scheduling. Research Report RR-2966. INRIA (1996). projet REFLECS
  4. 4.
    Kopetz, H.: A solution to an automotive control system benchmark. In: 1994 Proceedings Real-Time Systems Symposium, pp. 154–158, December 1994Google Scholar
  5. 5.
    Lehoczky, J.P.: Fixed priority scheduling of periodic task sets with arbitrary deadlines. In: 1990 Proceedings 11th Real-Time Systems Symposium, pp. 201–209, December 1990Google Scholar
  6. 6.
    Tindell, K., Burns, A., Wellings, A.: Calculating controller area network (CAN) message response times. Control Eng. Pract. 3(8), 1163–1169 (1995). CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Fernando G. Tinetti
    • 1
    Email author
  • Fernando L. Romero
    • 1
  • Alejandro D. Pérez
    • 1
  1. 1.Facultad de Informática, Instituto de Investigación en Informática LIDI (III-LIDI)UNLPLa PlataArgentina

Personalised recommendations