Blog · 2026-11-10
What data are logged, at which frequency, and what is the size of the log?
Stefan Bogdanescu
Founder & Senior Architect
Reverse Engineering ECU Logging Without Physical Access
Determining exactly what data an Engine Control Unit (ECU) logs, the frequency of those writes, and the resulting file size without a physical unit in hand is fundamentally impossible. The logging behavior is not a static property inherent to a car model like "Audi A3"; it is defined by specific configuration files residing within the ECU's flash memory or a remote server. These configurations are tightly coupled to the exact software build, hardware revision, and region-specific calibration maps loaded into that specific unit.
Consequently, any attempt to query these parameters remotely without physical access will yield generic marketing claims or incomplete specifications found in owner's manuals, but never the granular technical details required for data engineering. The frequency of logging (e.g., every 10ms vs. every 100ms) and the log file size are direct functions of the calibration strategy chosen by the manufacturer. If a manufacturer decides to reduce bandwidth usage or optimize for longevity, they might throttle the logging rate or implement circular buffers that overwrite old data when a threshold is reached. These decisions are opaque until the specific ECU binary is analyzed.
To analyze this as a developer, you must treat the ECU not as a black box model name, but as a piece of embedded software with a deterministic state machine. The "default values" you seek do not exist in a public registry; they exist only within the proprietary calibration files (often .hex or .bin dumps) specific to that VIN's build date. Without access to these binaries, you cannot know if the default logging frequency has been altered by a dealer reflash or an over-the-air update.
The Reality of OBD-II Data Sources
Regarding your request for actual raw OBD-II data: there is no central public repository containing raw telemetry from specific car models like the Audi A3. The OBD-II protocol defines a standard set of PID (Parameter ID) requests and responses, but it does not mandate how often data is sent, nor does it define which PIDs are available beyond the core safety emissions parameters.
Real-world raw data comes from three primary vectors, none of which provide a universal dataset for a specific model class:
- Telematics Providers: Companies like FordPass or BMW ConnectedDrive stream data to their own servers. Accessing this requires an API key and adherence to strict privacy policies; it is not open data.
- Government Mandates: In the US, NHTSA (National Highway Traffic Safety Administration) collects crash data and defect reports, but they do not publish continuous raw log files for research unless a specific recall investigation has occurred.
- Developer Communities: Platforms like OpenSignal or specialized automotive forums often host datasets from fleet vehicles used for testing. However, these are curated samples, not comprehensive logs of every vehicle on the road.
If you need to analyze specific parameters (e.g., throttle position or instantaneous fuel trim) that are not standard OBD-II PIDs, you must rely on proprietary CAN bus dumps. These are typically available only through fleet telematics partners or via hardware dongles like an OBDLink MX+ connected to a PC running tools like CANutil or Vector Tools.
Analyzing the Log Structure
When you eventually gain physical access to an ECU (for example, by purchasing a used unit for reverse engineering), the process of determining log frequency and size involves reading the flash memory. Modern ECUs often use proprietary file systems or encrypted partitions where logging metadata is stored alongside the application code.
You would typically look for:
- Configuration Headers: Many ECUs store a configuration block at the start of a logging partition that defines the
sample_rate_ms,buffer_size_kb, andenabled_flags. - Circular Buffer Logic: Most automotive logs use a circular buffer to prevent disk overflow. If a log file is 4MB and the write frequency is 10Hz, you can calculate how many seconds of data are retained before overwriting occurs. This calculation changes dynamically if the ECU detects low memory conditions, which is a critical trade-off developers must account for when interpreting historical logs.
Legal and Technical Constraints
Attempting to extract this data without authorization violates terms of service for most manufacturers and may infringe on intellectual property rights regarding calibration data. Even if technical methods existed to read these values remotely (which they generally do not), the legal barrier is higher than the technical one.
For legitimate development, such as creating a fleet monitoring dashboard or analyzing vehicle dynamics, the path forward is usually collaboration with a manufacturer's API program or purchasing a certified telematics gateway that exposes raw CAN data over MQTT or HTTPS. This ensures you are working with standardized, legally compliant data streams rather than trying to reverse-engineer proprietary flash memory layouts from afar.
If your project involves building a Laravel application to aggregate this vehicle data, ensuring your backend handles the varying data frequencies and sizes efficiently is key. You might use Laravel's queue system to process incoming CAN messages asynchronously, preventing latency issues when handling high-frequency sensor streams from multiple vehicles simultaneously. For more details on integrating complex hardware APIs into your web stack, resources like https://laravelcompany.com offer practical guidance on scaling backend services for IoT applications.