Skip to content

Jvcregis/Automotive-Time-Sensitive-Networking-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automotive TSN Simulation Testbed — OMNeT++/INET

This project implements a mixed-criticality automotive Ethernet backbone using Time-Sensitive Networking (TSN) mechanisms, simulated in OMNeT++ 6.2.0 with the INET 4.5.4 framework.

The final topology and simulation configurations are located under the final/ folder:

/src/final # Most important folder
├── carTopology.ned # Final NED network topology
└── omnetpp.ini # Final simulation parameters (TAS, VLAN/PCP, PSFP)

The project includes:

  • Safety-critical controls: BrakeCommand, SteerAssistCommand, TorqueLimitCommandPCP 7
  • Perception sensors (radar, camera) → PCP 5
  • Background/best-effort diagnostic load: DoorsDiagLogPCP 2
  • Standards integrated: 802.1AS (gPTP), 802.1Q (VLAN + PCP tagging), 802.1Qbv (TAS scheduling), 802.1Qci (PSFP ingress filtering + policing)

The code in omnetpp.ini is very well documented, with comments and sections for every part of the implementation. This helps to understand the implementation of TSN mechanisms in OMNeT++/INET and the configurations used.


Requirements

We tested the project with the following versions in a Windows 11 environment using OMNeT++ IDE through opp_env:

Requirement Version
OMNeT++ 6.2.0
INET Framework 4.5.4

Running the Simulations

  1. Open the project in OMNeT++ IDE.
  2. Select the desired configuration in omnetpp.ini
  3. Run the simulation.
  4. Export the results from .sca and .vec files to a CSV or other suitable format for analysis.
  5. Analyze the results using the provided Jupyter Notebooks in the TSN Python Analysis/ folder.

About

OMNeT++/INET simulation testbed for automotive TSN with mixed-criticality Ethernet traffic, TAS scheduling, VLAN/PCP tagging, gPTP, and PSFP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors