Skip to main content
QUICK REVIEW

[Paper Review] A Simulation Environment and preliminary evaluation for Automotive CAN-Ethernet AVB Networks

Keigo Kawahara, Y. Matsubara|arXiv (Cornell University)|Sep 3, 2014
Network Time Synchronization TechnologiesComputer Science2 references8 citations
TL;DR

This paper presents an OMNeT++-based simulation environment for automotive CAN-Ethernet AVB networks, featuring a CAN-Ethernet AVB gateway model with a scheduling algorithm that prioritizes CAN messages in AVB queues. The key result shows that latency for CAN messages is minimized and bounded under AVB's bandwidth-guaranteed mechanism, outperforming best-effort queuing in high-traffic scenarios.

ABSTRACT

Ethernet is being considered as the backbone network protocol for next-generation automotive control networks. In such networks, Controller Area Network (CAN) messages related to automotive control can be sent from a CAN network to other sub-networks via the backbone Ethernet bus and, if the CAN messages have real-time constraints, these have to be guaranteed. This paper presents a simulation environment for CAN--Ethernet Audio Video Bridging (AVB) mixed networks based on OMNeT++. We use Ethernet AVB, which can guarantee network bandwidth, to improve the real-time property of CAN messages through the backbone Ethernet bus. To simulate the networks, we also developed a CAN--Ethernet AVB gateway (GW) model. To verify the efficacy of our model, we measured the latency of CAN messages sent from a CAN bus to an Ethernet AVB node via the backbone Ethernet AVB bus in both bandwidth-guaranteed and best-effort queue scenarios. The results indicate that the latency of Ethernet AVB frames containing CAN messages is minimized and limited by the bandwidth-guaranteed mechanism of Ethernet AVB.

Motivation & Objective

  • To address the growing need for real-time, high-bandwidth automotive networks by integrating CAN and Ethernet AVB protocols.
  • To develop a simulation environment for mixed CAN-Ethernet AVB networks to evaluate real-time performance.
  • To design and implement a CAN-Ethernet AVB gateway model with a scheduling algorithm that prioritizes time-critical CAN messages.
  • To evaluate the latency performance of CAN messages in both guaranteed-bandwidth (AVB) and best-effort queuing scenarios.
  • To demonstrate the effectiveness of AVB's bandwidth-guarantee mechanism in minimizing and limiting CAN message latency.

Proposed method

  • Built a simulation environment using OMNeT++ and the INET framework, integrating open-source models from CoRE4INET for Ethernet AVB switches and nodes.
  • Implemented a CAN–Ethernet AVB gateway model that queues CAN messages in FIFO order and periodically packs them into Ethernet frames.
  • Designed a scheduling algorithm that routes Ethernet AVB frames containing CAN messages to the AVB queue, while non-CAN Ethernet frames are sent via best-effort queue.
  • Utilized Ethernet AVB's traffic shaping and priority-based queuing to ensure bandwidth guarantees for time-critical CAN messages.
  • Simulated a prototype network with a 1-Mbps CAN bus, 100-Mbps Ethernet AVB backbone, and AVB-capable switches and nodes.
  • Measured end-to-end latency of CAN messages from a CAN sender to an Ethernet AVB listener under normal and jammed network conditions.

Experimental results

Research questions

  • RQ1Can a simulation environment be effectively built for mixed CAN-Ethernet AVB automotive networks using OMNeT++?
  • RQ2How does the latency of CAN messages vary when transmitted via AVB-queued versus best-effort-queued Ethernet frames?
  • RQ3To what extent does AVB's bandwidth-guarantee mechanism limit and minimize CAN message latency in a mixed network?
  • RQ4How do high-traffic conditions, such as jamming frames, affect the latency of CAN messages in best-effort versus AVB queues?
  • RQ5Can a CAN-Ethernet AVB gateway model effectively enforce real-time constraints on CAN messages through intelligent queuing?

Key findings

  • The latency of CAN messages transmitted via the AVB queue is minimized and bounded due to the guaranteed bandwidth mechanism of Ethernet AVB.
  • In contrast, CAN messages queued in the best-effort queue experience significantly higher and variable latency, especially under network congestion from jamming frames.
  • The proposed scheduling algorithm successfully isolates CAN messages in the AVB queue, ensuring predictable and low-latency delivery.
  • Under normal conditions, AVB-queued CAN messages exhibit consistently low latency, with minimal jitter, confirming the effectiveness of the priority-based queuing strategy.
  • In the presence of 1.47 KB jamming frames transmitted every 1–25 μs, best-effort queued CAN messages suffer severe delay, while AVB-queued messages remain stable and bounded.
  • The simulation results confirm that AVB's traffic shaping and priority queuing are essential for maintaining real-time performance of CAN messages in mixed automotive networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.