observations on omnet real time behaviour
play

Observations on OMNeT++ Real-Time Behaviour Christina Obermaier, - PowerPoint PPT Presentation

Observations on OMNeT++ Real-Time Behaviour Christina Obermaier, Christian Facchi 7. September 2017 Outline 1. Inter Vehicle Communication 2. HIL Testing with OMNeT++ 3. Timing Observations 4. Conclusion 5. Further Work 2 Christina


  1. Observations on OMNeT++ Real-Time Behaviour Christina Obermaier, Christian Facchi · 7. September 2017

  2. Outline 1. Inter Vehicle Communication 2. HIL Testing with OMNeT++ 3. Timing Observations 4. Conclusion 5. Further Work 2 · Christina Obermaier, Christian Facchi · 7. September 2017

  3. Inter Vehicle Communication 3 · Christina Obermaier, Christian Facchi · 7. September 2017

  4. Inter Vehicle Communication Overview Features Communication between vehicles as well as road side units Acts like a 360 degree (bidirectional) sensor Enhances traffic flow and traffic safety 4 · Christina Obermaier, Christian Facchi · 7. September 2017

  5. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  6. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM dedicated spectrum 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  7. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP Outside the Context of Basic Service Set (OCB) 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  8. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP geographical routing 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  9. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI local knowledge base DCC GeoNet & BTP 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  10. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI HMI, automated driving… DCC GeoNet & BTP 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  11. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP 802.11p MAC: EDCA Congestion Control packets, bitrate, tx power IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  12. Inter Vehicle Communication ETSI ITS-G5 Protocol Stack Security Facilities & Applications ITS-G5 ETSI DCC GeoNet & BTP Privacy & Authenticity 802.11p MAC: EDCA IEEE PHY: 5.9 GHz OFDM 5 · Christina Obermaier, Christian Facchi · 7. September 2017

  13. Simulation Tools VANET simulation tools by THI Research Centre open-source ITS-G5 stack standard compliant packets integrated in Artery variable application sets suitable for rapid prototyping soon: radar sensors Available at https://github.com/riebl/ { artery, vanetza } 6 · Christina Obermaier, Christian Facchi · 7. September 2017

  14. HIL Testing with OMNeT++ 7 · Christina Obermaier, Christian Facchi · 7. September 2017

  15. HIL Concept Overview HIL Overview Simulated environment vehicles (blue) Physical twin vehicle with stripped down functionality (red) 802.11p proxy (USRP RIO) Message forwarding Simulated packets are sent over the air 8 · Christina Obermaier, Christian Facchi · 7. September 2017

  16. HIL Concept Possible Problems Timing Problems OMNeT++ is running too fast OMNeT++ is running too slow Running too slow is not recognized 9 · Christina Obermaier, Christian Facchi · 7. September 2017

  17. HIL Testing Real Time Scheduler cEvent* RealTimeScheduler::takeNextEvent pseudocode Result: next cEvent currentRealTimeMiss = simTime - wallClockTime ; if (currentRealTimeMiss * -1) ∠ realTimeMissThreshold then // simulation unacceptable slow stop simulation; else eventDuration = wallClockTime - eventStartTime ; log currentRealTimeMiss and eventDuration and nextEventIdentifier ; while SimTime ∠ wallClockTime do // simulation faster than real time wait; end set nextEventIdentifier ; set eventStartTime ; return nextEvent ; end 10 · Christina Obermaier, Christian Facchi · 7. September 2017

  18. HIL Testing Real Time Requirements Duplicate packet detection GPS timestamp Replay attack detection DENM validity Long range communication using MAC layer unicasts 11 · Christina Obermaier, Christian Facchi · 7. September 2017

  19. Timing Observations 12 · Christina Obermaier, Christian Facchi · 7. September 2017

  20. Real-Time Observations Scenario Description Hardware Component Laptop Computer Simulation Cluster CPU Intel Core i5-6300U @ Intel Xeon E7-8867 v4 @ 2.40GHz 2.40GHz Cores 1 x 4 4 x 18 RAM 16GB 3TB Hard Drive 256GB SSD 450GB SAS SSD RAID 1 Scenario Three vehicles on highway Five vehicles on highway 13 · Christina Obermaier, Christian Facchi · 7. September 2017

  21. Real-Time Observations Event List ID Event name # Events # Events ”3 vehicles” ”5 vehicles” 1 TraCI Connect 1 1 2 TraCI Step 322 370 3 GeoNet packet 3870 11298 4 GeoNet data frame 3870 11298 5 txStart-0 3 5 6 endIFS 661 1189 7 configureRadioMode 1322 2378 8 transmissionTimer 661 1189 9 remove non Interfering 661 1188 Transmission 10 report CL 928 1650 11 middleware update 925 1645 12 txStart-1 658 1184 13 GeoNet radio frame 1274 4460 14 reception Timer 1274 4460 Overall events 16430 42315 14 · Christina Obermaier, Christian Facchi · 7. September 2017

  22. Real-Time Observation Event Times 1e+00 1e+00 Event Duration in [s] Event Duration in [s] 1e-02 1e-02 1e-04 1e-04 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Event ID Event ID Figure: Event times cluster Figure: Event times laptop 15 · Christina Obermaier, Christian Facchi · 7. September 2017

  23. Real-Time Observation Real-Time Flow 0.04 instant event durations real time delay Real time in [s] 0.03 3 vehicles (laptop) 3 vehicles (cluster) 0.02 0.01 0.00 10.1 10.2 10.3 10.4 10.1 10.2 10.3 10.4 Simulation time in [s] instant event durations 0.06 real time delay Real time in [s] 5 vehicles (cluster) 5 vehicles (laptop) 0.04 0.02 0.00 10.1 10.2 10.3 10.4 10.1 10.2 10.3 10.4 Simulation time in [s] 16 · Christina Obermaier, Christian Facchi · 7. September 2017

  24. Real-Time Observation Simulation Run Overview 10000 10000 Amount of Events Amount of Events 1000 1000 100 100 10 10 1 1 0 0 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 Real Time Loss in [s] Real Time Loss in [s] 10000 10000 Amount of Events Amount of Events 1000 1000 100 100 10 10 1 1 0 0 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 Real Time Loss in [s] Real Time Loss in [s] Figure: Laptop Figure: Cluster 17 · Christina Obermaier, Christian Facchi · 7. September 2017

  25. Conclusion 18 · Christina Obermaier, Christian Facchi · 7. September 2017

  26. Conclusion Which Parts can be Tested Properly? Duplicate packet detection � GPS timestamp � Replay attack detection � DENM validity � Long range communication using MAC layer unicasts � 19 · Christina Obermaier, Christian Facchi · 7. September 2017

  27. Further Work 20 · Christina Obermaier, Christian Facchi · 7. September 2017

  28. Further Work Tweak simulation performance Add some parallelism Replay simulated test data 21 · Christina Obermaier, Christian Facchi · 7. September 2017

  29. Thank You For Your Attention Any Questions? 22 · Christina Obermaier, Christian Facchi · 7. September 2017

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend