Heavy Vehicle CAN Data
CAN and J1939 Data Collected from Various Vehicles and Operations
The data linked on this page are stored in the SocketCAN and can-utils candump format. This format has one line per CAN message. Each line is constructed as
(UNIX time stamp) channel CANID#CANDATA
The unix time stamp is a floating point number representing the number of seconds from the epoch (1 Jan 1970). The channel is where the can data came from. For most systems, can1 represents the primary J1939 network. An eight character CANID is the arbitration ID for the CAN message. The CANDATA is up to 8 bytes of data per frame. The ID and DATA are represented as hexadecimal characters. The data length code (DLC) is determined as half the number of characters of the CANDATA. The raw log files are compressed to save space and make for more efficient downloads. Since a lot of CAN data is structured and repeated, compressing the files can save a lot of space.
Working with these files is fairly straight forward. There are many recipes and tools available, mostly in Python 3.
A masters thesis on Secure CAN Logging and Data Analysis written by Duy Van along with his thesis defense presentation describe in detail the hardware, software, and analysis features for the CAN logger.
The source code for the thesis work and the CAN Logger is available at https://github.com/SystemsCyber/CAN-Logger-3
2014 Kenworth T270
Engine: PACCAR PX-7 (Cummins CM2350 ECU)
Brakes: Bendix EC-60
Transmission: Allison RDS-2000
Summary: This truck made a cross-country trip from Colorado to Michigan and back. During this trip, a CAN Logger 3 captured all the CAN traffic during the 4 days of driving. The CAN Logger 3 made many files, some were small (1KB) and others were quite large (400MB). These files were concatenated put in cronological order. The expanded file size is just under 2GB, so some smaller snippets of the trip are also available below.
Number of Messages: 37,754,838
File names:
2014 Kenworth T270 Cross Country CAN Log zip (320,510 KB)2014 Kenworth T270 Long Drive CSU090BJ zip (84,245 KB)
2014 Kenworth T270 Short CSU090BJ zip (113,555 KB)
2014 Kenworth T270 Starting CSU090BJ zip (1,277 KB)
CAN logger 2014 Kenworth T270 Long Drive CSU090BJ (181 KB)
Challenge Questions:
- How long was the trip?
- Does the trip distance comport with a trip from Fort Collins, CO to Detroit, MI and back?
- What was the maximum speed on the trip?
- How much time was spent in cruise control?
2015 Kenworth T660
An AVI video file (462,703 KB) of the driver and passenger shows the steering and braking controls that took place when recording the CAN data.
Engine: PACCAR MX-13
Transmission: Manual
Summary: This record was gathered with an Intrepid NeoVI using their VSpy software. The tractor was driven around an industrial block and the driver performed some hard braking manuvers during the drive. A Video VBox was connected that broadcast external reference measurements onto the J1939 to syncronize the vehicle electronic measurements with the external measurements taken from the Racelogic Video VBox. The VBox data were stripped from the VSpy file and saved in the candump format. This data is interesting because it has aperiodic command messages from the ABS controller telling the engine to change during the ABS brake events.
Number of Messages: 3,442,568
File names:
candump_kw_drive.zip (1,175 KB)vspy_kw_drive.zip (4,879 KB)
Challenge Questions:
- What was the acceleration rate of the heavy braking events?
- What did the brake controller tell the engine to do during the hard brake events?
- What is the differential wheel speed when turning the corners?
2011 Freightliner Cascadia in a Crash
Engine: DD15
Transmission: Manual
Summary: This was a crash test done for the Tennessee Highway Patrol 2014 conference at the Smyrna airport. A GMC Envoy was pulled into the trailer at 43 mph while the truck's J1939 network was being recorded. Additional data was gathered during the DDEC Reports and DDDL data extration. The tool used to record CAN was Intrepid's VSPY with a NeoVI Yellow (out of production). The zip file contains a network analysis of the crash event and log files tied to the different data extractions. The files also include J1708 messages.
Number of Messages: 2,061,738
File names:
Bus Traffic DD15 crash event tennessee 2014 5-28-2014 1-13-17 pm.csv (8,695 KB)Bus Traffic DD15 Tennessee 2014 5-28-2014 crash testing.zip (99,448 KB)
Crash Test Video:
EnvoyIntoTrailer.mov (9,766 KB)Challenge Questions:
- What was the acceleration rate of the heavy braking events?
- What did the brake controller tell the engine to do during the hard brake events?
- What is the differential wheel speed when turning the corners?