How-to guides · 2026-11-27

looking for Duration map

Stefan Bogdanescu

Founder & Senior Architect

Interpreting and Calibrating Engine Control Unit (ECU) Maps: Analyzing Data Structure and Scaling Parameters

Understanding an engine control unit (ECU) calibration map requires more than simply viewing a grid of hexadecimal values; it demands knowledge of the underlying data structure, the physical meaning of the axes, and the scaling methodology used by the vehicle manufacturer. This guide outlines the principles necessary to analyze raw ECU memory dumps to correctly identify and modify performance parameters like fuel injection duration.

Prerequisites and Tools

Before beginning map analysis, ensure you have the following technical resources:

  • Software: An advanced calibration modification tool capable of hex dump viewing and data structure analysis (e.g., WinOLS).
  • Hardware: Access to a vehicle diagnostic port and appropriate flashing/tuning hardware for reading raw ECU memory dumps.
  • Knowledge: Understanding of hexadecimal representation, basic automotive engine cycles (combustion, injection), and common tuning protocols (e.g., kPa, degrees, milliseconds).

Analyzing Map Dimensions and Data Structure

When loading an identified calibration map into analysis software, discrepancies between the apparent dimensions and the physical data size are common and require careful diagnosis.

Understanding Dimension Discrepancies

The reporting of map dimensions often differs from the raw memory block size due to how the software interprets the structured data relative to the underlying hex dump.

  1. Software Interpretation vs. Physical Data: If a calibration tool reports a map as $N \times M$ (e.g., 16 columns by 24 rows), but the corresponding hex dump segment reveals dimensions that are double these numbers (e.g., 32 bytes for width, 48 bytes for height), it suggests one of two common issues:

    • Endianness/Padding: The map may be stored in a packed format or include padding bits/bytes, causing the tool to report effective dimensions that are larger than necessary relative to the visible data block.
    • Axis Definition: The reported axis length might refer to the total allocated space for the array structure, not just the active data points.
  2. Verification Procedure: To confirm the actual usable map size:

    • Examine the raw hex dump surrounding the target parameters. Verify that the dimensions suggested by the software are consistent across both axes when calculating the memory offset.
    • Cross-reference the reported axes with known functional relationships within the vehicle system to validate if the expected data granularity is met.

Determining Data Scaling, Units, and Physical Meaning

The most critical step in map modification is accurately determining the scaling factor and unit of measure for every axis (both input and output). Simply modifying hex values without understanding the units will lead to incorrect engine operation.

Principles of Unit Determination

If external technical documentation or vehicle service manuals are unavailable, engineers must employ systematic deduction based on engineering principles:

  1. Analyze Axis Dependencies: The physical meaning of an axis is determined by its inputs. For example, if a map's X-axis represents Engine RPM, it must scale linearly with known engine operating ranges (e.g., 0 to 4500 RPM).
  2. Check Unit Consistency: If the Y-axis is mapped against variables like Manifold Absolute Pressure (MAP) or Throttle Position (TPS), the scaling and units must align with standard automotive measurements (kPa, percentage, etc.). A duration map should relate its output to time (milliseconds or degrees).
  3. Rate of Change Analysis: Examine how the values change as the input variable changes. If a parameter is known to increase quadratically (e.g., torque correlation), but the data shows a linear progression, suspect incorrect scaling or an offset applied during calibration.

Practical Scaling Determination Steps

  1. Identify Known Reference Points: Use diagnostic readings captured under various controlled conditions (e.g., idling at 500 RPM vs. cruising at 2500 RPM) to establish known input/output pairs.
    • Example: If the map controls injection duration, record the expected duration ($\text{Duration}_{\text{expected}}$) for a specific state (e.g., $1000 \text{ PSI}$ manifold pressure at $2000 \text{ RPM}$).
  2. Calculate Scaling Factor: Use linear regression or simple ratio analysis on the identified input/output points to determine the required multiplier ($S$) and offset ($O$): $$ \text{Output Value} = ((\text{Measured Input} - \text{Input Min}) \times S) + O $$
  3. Unit Verification: Once $S$ is found, confirm that applying the scaling results in a physically plausible unit for the intended parameter (e.g., if the calculation yields $0.5$, but the expected unit is milliseconds, the true scale factor may be $1 / 2$).

For detailed guidance on interpreting specific ECU protocols and required diagnostic data logging, consult professional resources like those available through ECU Docs.

Interpreting Duration Maps

A duration map defines the necessary actuation time for a component (such as an injector or solenoid) based on engine operating parameters. These maps are typically three-dimensional:

  • Output: The physical duration (e.g., milliseconds).
  • Input 1 (X-Axis): Usually related to engine speed (RPM).
  • Input 2 (Y-Axis): Often related to load or operating condition, such as Manifold Absolute Pressure (MAP) or Throttle Angle ($%$).

When reviewing a duration map:

  1. Check Boundaries: Ensure the calculated durations at low RPM and high MAP conditions are physically reasonable for the engine type (e.g., minimum required duration at idle vs. maximum duration under wide-open throttle).
  2. Identify Interpolation Grids: Recognize that many maps store values on a discrete grid, requiring interpolation between points during runtime calculation. The calibration process must respect the designed interpolation method (linear, cubic spline, etc.).

Safety and Verification Considerations

Modifying any calibration map carries inherent risks to engine operation and vehicle safety. Adherence to these guidelines is mandatory:

  • Backup: Always perform a full backup of the original ECU memory dump before making any changes.
  • Testing Environment: Initial testing must occur in a controlled environment (e.g., dynamometer or closed track) with comprehensive diagnostic monitoring capabilities.
  • Monitoring Parameters: During testing, continuously monitor critical engine parameters:
    • Fuel Trim and Correction values.
    • Engine temperature and oil pressure readings.
    • Diagnostic Trouble Codes (DTCs).
  • Gradual Changes: Implement changes in small, verifiable steps. A single modification to a key map can cascade into multiple operational failures across different loads or RPM ranges.

If unexpected engine behavior is observed (e.g., stalling under load, surging at idle), immediately revert the calibration map to its pre-modified state and re-examine the scaling factors of all involved axes.