Truck Data and Satellite Tracking

Trucking

MHARR-Sat sends truck positions and stores engine data in far fewer bytes, and every byte comes back exactly as it went in.

Trucking hexagon: a semi-truck linked to a satellite

Overview

Trucks report where they are over satellite when they are out of cell range, and they record what the engine is doing the whole time. Satellite airtime is billed by the byte and engine logs pile up fast. MHARR-Sat makes both smaller without losing anything: every position and every engine message decodes back exactly.

28.6% fewerbilled satellite bytes, one position per message, on every message tested
67% smallertruck engine logs than ASAM MDF4, the industry logging standard
6.5x to 7x fasterto read engine logs back than the next fastest format
100% exactevery message and every log decoded and checked

In plain terms

A 52 MB truck engine log shrinks to under 2 MB. The industry formats leave it at about 5.9 MB (MDF4) or 8.6 MB (Vector BLF). A truck sending one position per satellite message pays for 28.6% fewer bytes on each one.

Split graph: truck engine log size and speed, MHARR-Sat against MDF4 and Vector BLF
Truck engine logs (public Kenworth T270 data). Left: compressed size, shorter is better. Right: speed, longer is better.
Licensing and evaluation inquiries are welcome, see my Contact page.

Satellite

Satellite trackers send one position per message, and that is how the industry works for good reasons. So the result that matters most is the saving on a single message.

One position per message

Reporting everyMessagesTeltonika Iridium Edge (14 bytes)MHARR-Sat
1 minute8,28014 bytes28.6% fewer billed bytes
5 minutes1,80114 bytes28.6% fewer billed bytes
15 minutes79014 bytes28.6% fewer billed bytes
30 minutes62214 bytes28.6% fewer billed bytes

11,493 messages from city driving and Interstate 24 highway driving. Every one decoded back to the exact position.

When several positions share a message

Where a fleet does group positions, the saving grows. With a report every 30 to 60 seconds and 6 or 24 positions per message:

Format comparedCityHighway
Teltonika Iridium Edge (14 bytes)46% to 58% fewer billed bytes41% to 62% fewer
Ground Control Compact (10 bytes)43% to 61% fewer33% to 62% fewer

Speed

On the test machine, packing a position took under half a millionth of a second and unpacking it under a tenth of a millionth.

Billed bytes follow the published Iridium short burst data rules (billed per byte, 10-byte minimum per message). Formats as published by Teltonika and Ground Control, same fields at their own precision.

Engine Logs

Trucks talk over the engine bus (CAN, J1939): speed, RPM, fuel, temperatures and hundreds of other messages every second. Fleets and makers log all of it. MHARR-Sat stores those logs far smaller than the formats the industry uses, and reads them back faster.

Truck engine logs (bytes, smaller is better)

OriginalVector BLFASAM MDF4 (best setting)MHARR-Sat
Short drive7,134,1181,214,610964,256316,709
Long drive (1 million messages)51,993,0208,618,8165,917,4961,955,422

67% smaller than MDF4 on both drives, and 74% to 77% smaller than BLF.

Speed

  • Reading back: fastest of all, 125 to 135 MB per second against 18 to 21 MB per second for the next best (BLF).
  • Writing: long drive 70.7 MB per second, within 1% of MDF4's 71.2. On the short drive it places third.

Vehicle GPS and engine tables

One week of a public vehicle data set (GPS plus engine readings, 383 vehicles, 67 MB of table data) shrinks to 1.66 MB.

FormatBytesMHARR-Sat is
Parquet (zstd 19)3,916,24758% smaller
ClickHouse (Gorilla + ZSTD)3,790,27056% smaller
pcodec (per column)2,704,84239% smaller
MHARR-Sat1,655,503
Split graph: vehicle GPS and engine table size and speed, MHARR-Sat against Parquet, ClickHouse and pcodec
Vehicle GPS and engine table. Left: compressed size, shorter is better. Right: speed, longer is better.

The test

  • Truck logs: Colorado State University Kenworth T270 J1939 recordings (public).
  • Vehicle table and city positions: the Vehicle Energy Dataset from the University of Michigan (public).
  • Highway positions: the I-24 Trajectory Dataset (public, Interstate 24).
  • Opponents run as they ship: python-can (BLF), asammdf (MDF4), pyarrow (Parquet), chDB (ClickHouse), pcodec. Every result decoded and checked exact.
  • Cloud Linux machine with 2 cores.

Limitations

  • No public data set with truck GPS positions could be found, so the satellite tests use car positions (city driving and Interstate 24 highway driving).
  • With one position per message the saving is against Teltonika's 14-byte format. Against Ground Control's 10-byte format, one position per message showed no saving. The larger savings need several positions in a message.
  • Satellite savings are worked out from the published formats and billing rules, not from airtime bills.
  • On vehicle tables, Parquet and ClickHouse write and read faster. On the short truck log, MHARR-Sat writes third fastest.
  • Measured on one 2-core cloud machine. Other hardware will give other numbers.
  • All results are my own measurements and have not yet been checked independently.

Opportunities

  • Telematics unit makers: fewer billed bytes on every satellite position the unit sends, an edge over makers who send the full record.
  • Satellite tracker makers: the same positions at a smaller billed size.
  • Fleet data platforms: engine logs and vehicle tables stored in a fraction of the space, and read back faster.
  • Engine and truck makers: smaller diagnostic logs from the truck to the shop.

MHARR-Sat is available to license. If you want to talk licensing, an evaluation on your own data, or where this goes next, reach out to me directly.

Michael Harrington
[email protected]
+1 (971) 533-3116
Or use my Contact page.