How-to guides · 2026-11-27

How to calculate smoke map values?

Stefan Bogdanescu

Founder & Senior Architect

How to Calculate Smoke Map Values for Diesel Tuning

You will learn how to convert raw fuel injection data (typically in mm³) into Air-to-Fuel Ratio (AFR) values to create a smoke map. This process allows you to visualize and tune your engine’s fuel delivery relative to airflow, ensuring optimal power without excessive smoke. The core calculation involves converting the fuel quantity from milliliters to mass (mg), dividing by the measured mass air flow (MAF) in mg, and interpreting the resulting AFR across different RPM and load conditions.

What You’ll Need

  • Tuning Software: Such as TunerPro, which supports per-row/column calculations and variable mapping.
  • Data Logs: High-speed or standard logging of MAF (mg), RPM, and fuel injection duration/quantity (mm³) at various loads.
  • Spreadsheet or Calculation Tool: To perform unit conversions and AFR calculations if not done directly in the tuning software.
  • Reference Data: Stock smoke maps for your specific engine variant (e.g., HDi 90 vs. HDi 110) to establish baseline airflow behavior.

Step 1: Convert Fuel Injection Quantity to Mass

The smoke map stores fuel injection quantities in cubic millimeters (mm³), representing volume. To calculate AFR, you must first convert this volume to mass using the density of diesel fuel. While specific densities vary slightly by temperature and region, a standard approximation is often used in tuning contexts.

  1. Identify the fuel quantity values from your smoke map or injection duration data.
  2. Convert mm³ to mg. Since 1 cm³ = 1000 mm³, and the density of diesel is approximately 0.84–0.85 g/cm³ (or 840–850 mg/cm³), you can calculate the mass as: [ \text{Fuel Mass (mg)} = \text{Volume (mm}^3\text{)} \times \frac{\text{Density (mg/cm}^3\text{)}}{1000} ] For example, if using a density of 850 mg/cm³: [ \text{Fuel Mass (mg)} = \text{Volume (mm}^3\text{)} \times 0.85 ] Note: Always confirm the specific fuel density used in your tuning software’s internal calculations to ensure consistency.

Step 2: Determine Airflow and Calculate AFR

Once you have the fuel mass in mg, divide by the Mass Air Flow (MAF) value in mg at that specific RPM and load point to get the AFR ratio.

  1. Extract MAF values from your logs or stock map data. Ensure the MAF values correspond exactly to the RPM and load points where you are calculating fuel delivery.
  2. Apply the formula: [ \text{AFR} = \frac{\text{MAF (mg)}}{\text{Fuel Mass (mg)}} ]
  3. Plot these AFR values across your RPM and load axes. In TunerPro, you can create a virtual map that references the MAF axis and fuel calculation to display the smoke map directly as an AFR map. This makes it easier to identify trends and verify if the engine is running rich or lean at specific points.

Example: If your MAF reads 1050 mg and your calculated fuel mass is 62.5 mg (from 73.5 mm³ × 0.85), then: [ \text{AFR} = \frac{1050}{62.5} = 16.8 ]

Step 3: Interpret and Tune Based on AFR Trends

The calculated AFR values guide your tuning decisions. Different RPM and load ranges require different AFR targets to balance power, smoke, and efficiency.

  • Off-Boost / Low Load: Engines often run richer (lower AFR) to help the turbo spool up quickly. Values around 12:1 to 14:1 are common in this range, depending on engine specificity and transient response goals.
  • Mid-Range Boost: As the turbo stabilizes, you can lean out the mixture for better efficiency. AFR values of 16:1 to 18:1 are typical here.
  • High RPM / Peak Power: At high RPMs, airflow increases significantly. You may need to adjust fuel delivery to maintain an acceptable smoke level. Some tuners run richer (lower AFR) at the peak power point to manage EGT and smoke, while others lean out further depending on their priorities for reliability vs. maximum output.

Key Considerations:

  • Smoke Point: Aim for an AFR that keeps smoke minimal. For most diesels, staying above 16:1–17:1 during full boost helps prevent thick black smoke. However, running slightly richer (e.g., 14:1–15:1) can be acceptable in transient conditions if it aids turbo spool-up without excessive smoke.
  • MAF Verification: Ensure your MAF sensor is calibrated and that the logged values are accurate. Variations in MAF scaling can impact AFR calculations, so cross-check with physical fuel delivery estimates if possible.
  • Dynamic Tuning: The smoke map should not be static. Tune it dynamically based on RPM and load. For instance, you might run richer at low RPM under boost to spool the turbo, then lean out as RPM increases.

Verification Checks

  1. Visual Inspection: Review your AFR map in tuning software. Look for unexpected dips or spikes that could indicate uneven fuel delivery or MAF sensor issues.
  2. Smoke Test: After applying calculated values, perform a test drive and observe exhaust smoke. If you see thick black smoke at specific RPM/load points, adjust the fuel quantity (mm³) to raise the AFR slightly. Conversely, if the engine feels weak or lags, consider running slightly richer (lower AFR).
  3. Data Logging: Re-log MAF, RPM, and fuel injection data after tuning to confirm that the actual AFR matches your calculations. This helps verify that the smoke map is being followed correctly by the ECU.

Pitfalls and Troubleshooting

  • Incorrect Density Assumption: Using an inaccurate fuel density can skew AFR values by several points. Always use a consistent, documented density for your calculation tool.
  • MAF Sensor Drift: If your MAF sensor is dirty or failing, the calculated AFR will be off. Clean and calibrate the MAF sensor before extensive tuning.
  • Overlooking Other Maps: The smoke map doesn’t act in isolation. Rail pressure maps, injection timing (SOI), and torque limiters can all influence actual fuel delivery. Ensure these maps are consistent with your smoke map adjustments. For example, increasing rail pressure advances the end of injection, effectively changing the AFR even if the smoke map remains unchanged.
  • Engine-Specific Variations: Different engines (e.g., HDi 90 vs. HDi 110) have different airflow characteristics and turbo behaviors. Use reference data from similar engines to establish baseline AFR targets before deviating for performance gains.

Final Note

The calculated AFR values are a starting point for tuning. Real-world conditions (weather, altitude, driving style) can affect actual engine behavior. Always verify your changes through data logging and physical testing to ensure the smoke map delivers the desired balance of power, efficiency, and smoothness.