Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Strym: A Python Package for Real-time CAN Data Logging, Analysis and Visualization to Work with USB-CAN Interface

Conference · · 2022 2nd Workshop on Data-Driven and Intelligent Cyber-Physical Systems for Smart Cities Workshop (DI-CPS)
 [1];  [2];  [3];  [4];  [5];  [3];  [6]
  1. The University of Arizona,Electrical & Computer Engineering,Tucson,Arizona,USA; Vanderbilt University
  2. Institute of Software Integrated Systems Vanderbilt University,Nashville,Tennessee,USA
  3. Vanderbilt University,Civil & Environmental Engineering,Nashville,Tennessee,USA
  4. The University of Arizona,Computer Science,Tucson,Arizona,USA
  5. The University of Arizona,Electrical & Computer Engineering,Tucson,Arizona,USA
  6. Vanderbilt University,Computer Science,Nashville,Tennessee,USA

In this report, we describe a data analysis tool developed for decoding and analyzing vehicle data obtained from a passenger vehicle’s onboard controller area network (CAN) bus. The tool developed in this paper provides a timeseries framework to perform domain-specific analysis at scale when interpreting data from a vehicle or a collection of vehicles in light of how to design intelligent vehicle applications. The tool, called Strym, exploits the CAN bus mechanism of modern vehicles to capture data using commercially available CAN-to-USB hardware Comma.ai Panda devices, managed through open-source software Libpanda. Strym permits the decoding of vendor-specific CAN messages in a vehicle-agnostic manner. Through this, a researcher can characterize data throughput, assess data quality, and perform analyses. Such analyses are useful in a number of research such as studying human driving behavior in mixed-autonomy, new driver models, rare-event detection, traffic flow estimation, and custom control of vehicles.

Research Organization:
University of Arizona
Sponsoring Organization:
USDOE Office of Energy Efficiency and Renewable Energy (EERE)
DOE Contract Number:
EE0008872
OSTI ID:
1874470
Journal Information:
2022 2nd Workshop on Data-Driven and Intelligent Cyber-Physical Systems for Smart Cities Workshop (DI-CPS), Journal Name: 2022 2nd Workshop on Data-Driven and Intelligent Cyber-Physical Systems for Smart Cities Workshop (DI-CPS)
Country of Publication:
United States
Language:
English

References (14)

Flexray - A communication network for automotive control systems conference January 2006
Probabilistic Anticipation and Control in Autonomous Car Following journal January 2019
Unmanned vehicles come of age: The DARPA grand challenge journal December 2006
Automotive radar - status and perspectives conference January 2005
Traffic Flow on a Ring With a Single Autonomous Vehicle: An Interconnected Stability Perspective journal August 2021
Dissipation of stop-and-go waves via control of autonomous vehicles: Field experiments journal April 2018
Multimodal vehicle detection: fusing 3D-LIDAR and color camera data journal November 2018
Automotive Serial Controller Area Network
  • Kiencke, Uwe; Dais, Siegfried; Litschel, Martin
  • SAE International Congress and Exposition, SAE Technical Paper Series https://doi.org/10.4271/860391
conference February 1986
Stabilizing traffic flow via a single autonomous vehicle: Possibilities and limitations conference June 2017
A survey of technical trend of ADAS and autonomous driving
  • Okuda, Ryosuke; Kajiwara, Yuki; Terashima, Kazuaki
  • 2014 International Symposium on VLSI Design, Automation and Test (VLSI-DAT), Technical Papers of 2014 International Symposium on VLSI Design, Automation and Test https://doi.org/10.1109/VLSI-DAT.2014.6834940
conference April 2014
Matplotlib: A 2D Graphics Environment journal January 2007
Techniques in hacking and simulating a modem automotive controller area network
  • Abbott-McCune, Sam; Shay, Lisa A.
  • 2016 International Carnahan Conference on Security Technology (ICCST), 2016 IEEE International Carnahan Conference on Security Technology (ICCST) https://doi.org/10.1109/CCST.2016.7815712
conference October 2016
Stanley: The robot that won the DARPA Grand Challenge journal January 2006
SciPy 1.0: fundamental algorithms for scientific computing in Python journal February 2020