How-to guides · 2026-11-27
Help on data logging for beginner
Stefan Bogdanescu
Founder & Senior Architect
Interpreting Engine Control Unit Data Logs: A Practical Guide for Calibration Specialists
Data logging is a critical diagnostic and calibration tool used to capture real-world operating conditions of an internal combustion engine (ICE) under various loads and speeds. However, raw logged data can be complex, making it challenging for those new to ECU tuning to determine the physical meaning of every recorded parameter. This guide provides a structured approach to understanding and interpreting key operational parameters such as fuel tables, ignition timing, and injection pulse widths.
Prerequisites and Technical Background
Before analyzing log files, familiarity with the core components of Engine Management Systems (EMS) is necessary. The ECU reads inputs (sensors) and calculates outputs based on pre-programmed maps or algorithms. A data logger records these calculated and measured values over time.
Required Tools and Software
- Data Acquisition System: Hardware capable of reading multiple ECU signals simultaneously (e.g., dedicated logging hardware).
- Viewing/Analysis Software: Specialized software used to parse, graph, and annotate the raw data files (such as those utilized for viewing parameters in a format like WinOLS or proprietary tuning suites).
- Understanding of Engine Cycles: Knowledge of engine kinematics (RPM, manifold pressure, etc.).
Key Technical Concepts
| Parameter | Definition | Measurement Unit | Purpose |
|---|---|---|---|
| Injection Pulse Width ($\text{PW}$) | The duration the fuel injector is open. This dictates how much fuel reaches the intake port or cylinder. | Milliseconds ($\text{ms}$) or duty cycle ($%$) | Controls fueling quantity and stoichiometry. |
| Ignition Timing | The precise angle (relative to Top Dead Center, $\text{TDC}$) at which the spark plug fires. | Degrees of Crank Angle ($\text{Degrees BTDC/ATDC}$) | Controls combustion efficiency and power delivery. |
| Fuel Tables | Multi-dimensional maps within the ECU calibration that dictate the optimal fuel flow rate based on operational inputs (e.g., MAP sensor pressure vs. engine RPM). | $\text{kg}/\text{hr}$ or $\text{ms}$ of pulse width | Defines fueling strategy for efficiency and performance. |
How to Differentiate Logged Parameters
The primary challenge in interpreting logs is distinguishing between a calculated value (like the required PW) and a lookup table identifier (like the specific fuel map index). The interpretation relies heavily on understanding the data source's definition and how it relates to engine operation.
1. Identifying Injection Pulse Width ($\text{PW}$)
$\text{PW}$ is always an output value—a direct measurement of time.
What to Look For:
- The units displayed in the log must be $\text{ms}$ (milliseconds) or a percentage duty cycle ($%$).
- If the value changes rapidly and correlates directly with load conditions (high MAP pressure, high RPM), it represents dynamic fueling control.
- When analyzing data, observe how PW adjusts based on throttle position or manifold absolute pressure ($\text{MAP}$). This confirms its role in fuel metering.
Technical Consideration: Some systems log injector open time while others may calculate the required pulse width and log that calculated value. Always confirm which measurement type is being logged by reviewing the ECU's input/output documentation via resources like https://ecudocs.com.
2. Identifying Ignition Timing
Ignition timing represents a physical angle of crankshaft rotation ($\text{Degrees}$).
What to Look For:
- The units displayed must be angular degrees, measured relative to $\text{TDC}$ (Top Dead Center) or $\text{BDC}$ (Bottom Dead Center).
- Timing values are typically mapped against $\text{RPM}$ and load conditions. A common observation is that timing advances aggressively at low loads/low RPMs and retards under high boost/load to prevent detonation.
- The data must correlate logically with engine behavior; for example, a sudden shift in the timing angle when crossing an operating boundary (like entering forced induction) suggests a map transition.
3. Identifying Fuel Tables vs. Actual Pulse Width
This is often the most confusing distinction. A log file can record:
- The calculated $\text{PW}$: The actual value the injector should be open for in milliseconds ($\text{ms}$). (Use this value for tuning adjustments).
- A table index lookup: The raw data read from a map that determines the $\text{PW}$. This might appear as an arbitrary number or code, representing the coordinates (e.g., $X=1$, $Y=5$) within the ECU's internal memory structure.
How to Discern the Difference: If the logged value changes smoothly and logically with throttle input, it is likely a calculated $\text{PW}$. If the logged value remains constant until a specific boundary condition (like crossing a certain MAP or RPM threshold) is met, and then suddenly jumps based on discrete steps, it may be logging a table index that requires further interpretation against the map structure.
Comprehensive Data Analysis Procedure
To correctly interpret any complex ECU log file, follow this systematic procedure:
Step 1: Define Operating Context
Before interpreting numbers, you must define the conditions under which the data was logged. Record and verify:
- Vehicle make, model, and year (e.g., 2009 RS Focus).
- Engine type (e.g., Turbocharged Inline-4).
- Driving cycle or operating regime (e.g., steady cruise at $3500 \text{ RPM}$ under partial load; hard acceleration at high boost).
Step 2: Cross-Reference Parameters and Units
Never trust a raw logged number without knowing its units. If the logging software lists "Fueling Parameter," check if that parameter represents $\text{PW}$, fuel mass flow rate, or an indexed map value. Consult technical documentation for the specific ECU hardware to confirm the unit of measure ($\text{ms}, \text{psi}, \text{deg}$).
Step 3: Analyze Correlation (The "Why" Test)
For every key parameter logged, ask: How must this parameter change if I change the input condition?
| Logged Parameter | Input Variable to Change | Expected Observation | Conclusion on Functionality |
|---|---|---|---|
| $\text{PW}$ (ms) | Increase throttle from $25%$ to $80%$. | $\text{PW}$ must increase significantly and smoothly. | Confirms fuel metering function. |
| Timing ($\text{Degrees}$) | Increase boost pressure while maintaining RPM. | Timing angle should shift predictably based on the load map boundaries (usually retard under high boost). | Confirms knock control/combustion optimization. |
| MAP Sensor ($\text{psi}$) | Drive through an open stretch of road (low $\text{MAP}$). | $\text{MAP}$ value must drop and stabilize at a low pressure reading. | Verifies sensor input accuracy. |
Step 4: Verification and Validation
Verification involves comparing the logged data against theoretical or known operational limits for that engine family.
- Check for Physical Limits: If the log records an ignition timing of $20$ degrees $\text{ATDC}$, verify if this is physically achievable for the engine architecture without causing pre-ignition (knocking).
- Check Map Continuity: When analyzing a table map, ensure that the transition between adjacent cells or defined zones occurs smoothly and logically. Abrupt, non-physical jumps often indicate sensor faults or incorrect mapping interpolation during logging.
Troubleshooting Common Logging Issues
| Issue Observed | Potential Cause | Diagnostic Action |
|---|---|---|
| Parameters appear erratic/noisy. | Loose electrical connections; faulty sensor signal; high data sampling rate over a poor condition. | Inspect wiring harness and sensor connectors. Reduce logging frequency to average the data. |
| $\text{PW}$ values are zero or extremely low. | ECU limp mode engaged; insufficient $\text{MAP}$/RPM input data; fueling fault detected (e.g., oxygen sensor failure). | Check all primary sensors ($\text{O}2$, $\text{MAF}$, $\text{MAP}$) for proper voltage readings during logging. |
| Timing values are static and do not change. | The vehicle is operating in a fixed or non-variable mode, or the log is only capturing data from one specific ECU map segment (e.g., idle mapping). | Increase the variety of driving conditions logged (low load, high load, varying RPMs) to force transitions between maps. |
| Data file size is enormous and unmanageable. | Logging too many parameters simultaneously; excessive logging duration. | Prune the log data. Focus only on the core variables: $\text{RPM}$, $\text{MAP}$, $\text{PW}$, and Timing. |