How-to guides · 2026-11-27

SOI Adjustment (warning... hardcore maths)

Stefan Bogdanescu

Founder & Senior Architect

How to Adjust Start of Injection (SOI) After Changing Common Rail Pressure

When you adjust the desired rail pressure in a common rail injection system, the injector pulse width required to deliver a specific amount of fuel changes. Because the fuel quantity is determined by the product of flow rate and time, an increase in pressure reduces the necessary injection duration. If you leave the Start of Injection (SOI) timing unchanged, you may alter the combustion phase relative to Top Dead Centre (TDC). This tutorial explains how to calculate the required SOI adjustment to maintain stock fuel delivery characteristics after a rail pressure change.

What you'll need

  • ECU tuning software capable of reading and writing injection duration and SOI maps.
  • The current and target rail pressure values in bars (BAR).
  • Target RPM and Intake Quantity (IQ) or load value for which you want to adjust the timing.
  • A spreadsheet application (Excel, LibreOffice Calc, or similar) capable of interpolation.
  • Knowledge of the ECU's specific map structure and units (milliseconds vs. microseconds).

Step 1: Verify Units and Apply Injector Factor

Before performing any calculations, confirm the exact units used by your ECU for injection duration. Some systems store duration in milliseconds (ms), others in microseconds (µs). The example below uses milliseconds; if your map is in microseconds, multiply the result by 1,000.

Additionally, verify if an injector calibration factor applies to the raw duration values. A common factor mentioned in tuning communities is 0.976, but this varies by injector and ECU implementation. Confirm with your ECU documentation or existing calibrations whether this factor must be applied to the map values before interpolation. If the map values are already calibrated, use them directly; if they are raw pulse widths, apply the factor first.

Confirm the SOI axis definition:

  • Positive value: Injection starts further before TDC (advances timing).
  • Negative value: Injection starts closer to TDC (retards timing).

Step 2: Calculate Injection Duration Before and After Pressure Change

You must determine the injection duration required at your target IQ and RPM for both the old rail pressure and the new rail pressure. Since map points rarely align perfectly with your specific target values, you will need to interpolate between known data points.

1. Find the "Before" Injection Duration (Old Rail Pressure)

Locate the injection duration map for the old rail pressure value.

  • Identify the two IQ values that bracket your target IQ. Let's assume your target IQ is 60.
  • Find the duration at the lower bound IQ and upper bound IQ at the old pressure.
    • Example: Duration at IQ 57 = 1.045 ms
    • Example: Duration at IQ 61 = 1.135 ms

Calculate the delta ($d$) for IQ: $$ d_{IQ} = \frac{Target\ IQ - Lower\ IQ}{Upper\ IQ - Lower\ IQ} $$ $$ d_{IQ} = \frac{60 - 57}{61 - 57} = \frac{3}{4} = 0.75 $$

Interpolate the duration ($z$): $$ z = ((Upper\ Duration - Lower\ Duration) \times d_{IQ}) + Lower\ Duration $$ $$ z = ((1.135 - 1.045) \times 0.75) + 1.045 = 1.1125 \text{ ms} $$

Injection Duration Before Adjustment (at Old Pressure): 1.1125 ms

2. Find the "After" Injection Duration (New Rail Pressure)

Locate the injection duration map for the new rail pressure value. If your new pressure does not exist on the bar axis, you must perform a two-axis interpolation (bilinear interpolation).

  • Target New Pressure: 1155 BAR
  • Bracketing Pressures: 1100 BAR and 1200 BAR
  • Target IQ: 60
  • Bracketing IQs: 57 and 61

First, calculate the delta for rail pressure ($d_{RP}$): $$ d_{RP} = \frac{Target\ RP - Lower\ RP}{Upper\ RP - Lower\ RP} $$ $$ d_{RP} = \frac{1155 - 1100}{1200 - 1100} = \frac{55}{100} = 0.55 $$

Next, interpolate the duration at the lower IQ (57) and upper IQ (61) for the target pressure:

  • Duration at IQ 57, RP 1100: 1.045 ms ($w$)
  • Duration at IQ 61, RP 1100: 1.135 ms ($x$)
  • Duration at IQ 57, RP 1200: 0.959 ms ($y$)
  • Duration at IQ 61, RP 1200: 0.993 ms ($z$)

Calculate intermediate durations at 1155 BAR: $$ h (IQ\ 57,\ RP\ 1155) = ((y - w) \times d_{RP}) + w $$ $$ h = ((0.959 - 1.045) \times 0.55) + 1.045 = 0.9977 \text{ ms} $$

$$ i (IQ\ 61,\ RP\ 1155) = ((z - x) \times d_{RP}) + x $$ $$ i = ((0.993 - 1.135) \times 0.55) + 1.135 = 1.0569 \text{ ms} $$

Finally, interpolate for the target IQ (60) at 1155 BAR using $d_{IQ}$ calculated earlier (0.75): $$ r (IQ\ 60,\ RP\ 1155) = ((i - h) \times d_{IQ}) + h $$ $$ r = ((1.0569 - 0.9977) \times 0.75) + 0.9977 = 1.0421 \text{ ms} $$

Injection Duration After Adjustment (at New Pressure): 1.0421 ms

Step 3: Calculate the SOI Correction Factor

Now that you have the injection durations for both states, calculate the time difference and convert it to an angle shift.

  1. Calculate Time Difference: $$ \Delta t = Duration\ Before - Duration\ After $$ $$ \Delta t = 1.1125 \text{ ms} - 1.0421 \text{ ms} = 0.0704 \text{ ms} = 70.4 \mu s $$

  2. Convert Time to Angle: The relationship between time and crank angle depends on RPM. A common approximation uses the formula: $$ \Delta \theta (\text{degrees}) = \frac{\Delta t (\mu s) \times RPM}{120,000} $$

    Note: This assumes a standard 4-stroke engine where one revolution takes $60/RPM$ seconds and the injection event spans part of that cycle. For more precision, use the specific SOI calculator tool associated with your ECU, which accounts for the exact crank position logic.

    Using RPM 2250: $$ \Delta \theta = \frac{70.4 \times 2250}{120,000} \approx 1.33 \text{ degrees} $$

    However, the reference calculation in the source data suggests a direct conversion or specific ECU logic yielding approximately 0.95 degrees. Important: Do not rely on generic formulas if your ECU has a specific SOI calculator (e.g., in tuning software). Use the ECU-specific tool to convert the time delta ($\Delta t$) into an angle delta. In the example provided, a delta of $-70.4 \mu s$ resulted in an SOI adjustment of -0.95 degrees.

    Why negative? Because the injection duration is shorter (1.0421 ms < 1.1125 ms), the end of injection occurs sooner. To maintain the same end-of-injection point relative to TDC, you must start injection later (closer to TDC). Therefore, you decrease the SOI value (make it more negative or less positive) by the calculated delta.

    Calculated SOI Adjustment: -0.95 degrees

Step 4: Apply and Verify

  1. Apply Adjustment: In your ECU tuning software, locate the SOI map for the target RPM and IQ. Subtract the calculated angle delta from the current SOI value.

    • Example: If Stock SOI was -2.0 degrees, new SOI = $-2.0 - (-0.95) = -1.05$ degrees?
    • Correction: Since the duration is shorter, injection ends earlier. To keep the end point the same, start later. "Later" means closer to TDC. If positive is advance (farther before TDC), then a negative delta means moving toward zero/TDC.
    • Let's clarify: If Stock SOI = -2.0° (2° before TDC). New duration is shorter. To keep end-of-injection at the same point, start later. Start later = less time before TDC = value closer to 0. So new SOI should be less negative? Or if the map defines "SOI" as degrees before TDC, decreasing the value (e.g., from -2.0 to -1.05) moves the start closer to TDC.
    • Action: Apply the delta derived by your specific ECU calculator tool. If the tool outputs an adjustment of "-0.95", apply that sign convention directly to the map value.
  2. Verify with Data Logging:

    • Log RPM, IQ (load), rail pressure, and SOI.
    • Verify that at the target RPM and IQ, the rail pressure is stable at the new setpoint.
    • Check for any changes in idle quality or load response.

Verification Checks and Pitfalls

  • Linearity Assumption: The calculations above use linear interpolation. While often sufficient for small adjustments, if your map has significant curvature between points, a cubic spline or polynomial fit may yield better accuracy. Use Excel/LibreOffice Calc's "Fit" functions or similar tools if high precision is required.
  • Injector Factor: Ensure you are consistent with the 0.976 (or applicable) factor across both "before" and "after" calculations. If one uses raw values and the other uses calibrated values, the delta will be incorrect.
  • End of Injection Goal: The primary goal is usually to keep the end of injection at a consistent point relative to TDC to maintain combustion characteristics. Adjusting SOI based on duration change achieves this. However, if you want to optimize power or emissions, you may need to tune SOI further beyond just compensating for pressure changes, as the optimal end-of-injection angle can vary between 2–18° after TDC depending on performance goals.
  • ECU Learning: After flashing a new ECU map, allow the vehicle some time (often several days or a week) to learn and adapt its parameters before making final judgments on drivability or fuel economy.

Final Note

This calculation ensures that the fuel quantity remains constant despite pressure changes by adjusting timing. It does not inherently optimize performance; it preserves the baseline behavior. For optimized tuning, combine this SOI compensation with dyno testing to find the optimal end-of-injection angle for your specific engine and goal (power, torque, or efficiency). Always verify that the resulting SOI values do not hit map limits (e.g., too close to TDC causing knock, or too far before TDC causing hard starting).