How-to guides · 2026-11-27

Siemens M3C fuel calculations

Stefan Bogdanescu

Founder & Senior Architect

Analyzing and Calibrating Fuel Calculations on a Siemens M3C ECU

This guide provides a technical procedure for understanding, interpreting, and calibrating the fuel amount calculation logic utilized by the Siemens/Contitech M3C Engine Control Unit (ECU), specifically within applications featuring two-stroke engine architectures. The objective is to derive the final injector pulse width (fuel amount) based on multiple atmospheric, load, and stoichiometry inputs provided via dedicated calibration maps.

Prerequisites and Required Knowledge

Before beginning any calibration analysis or modification of fuel parameters, the technician must possess a strong understanding of:

  • Engine Operation: The principles of two-stroke engine combustion cycles and the role of crankcase pressure in air/fuel delivery.
  • ECU Architecture: How Engine Control Units process sensor inputs to determine optimal operating parameters (e.g., stoichiometry, airflow).
  • Calibration Mapping: How multi-dimensional look-up tables are structured and utilized by automotive software.

Required Tools and Software

  • Flash Tool/Debugger capable of reading and writing the specific ECU hardware (Siemens M3C).
  • Calibration Software tailored for the Siemens M3C platform.
  • Diagnostic tools (e.g., scan tool) capable of monitoring live sensor data streams.
  • Access to vehicle-specific calibration files, including definitions for the following sensors:
    • Inlet Temperature $\text{($T_{\text{in}}$)}$ and Barometric Pressure ($P_{bar}$).
    • Crankcase Pressure (CCP).
    • Throttle Position Sensor (TPS) angle.
    • Engine Speed ($\text{RPM}$).

Technical Principles of Fuel Calculation

In modern engine management systems, the fuel amount is determined by calculating the mass of air entering the cylinder and multiplying this value by a target ratio, which is typically derived from a lambda calculation or a predetermined stoichiometry map.

For the Siemens M3C unit in this operational context, the core principle for calculating fuel ($\text{Fuel}$) involves relating measured airflow to a required target stoichiometric ratio (Target $\lambda$). The fundamental equation implemented within the ECU logic can be summarized as:

$$\text{Fuel Amount} = \text{Calculated Air Mass Flow} \times \text{Target Lambda}$$

The complexity lies in how the "Calculated Air Mass Flow" is selected or derived, as the system utilizes multiple independent inputs to represent engine load.

Analysis of Input Maps and Sensor Roles

The ECU relies on several distinct maps that govern different aspects of engine operation:

  1. Airmass flow vs Crankcase Pressure (CCP) Map:
    • This map calculates an estimated airflow based on the mechanical pressure within the crankcase, which correlates strongly with volumetric efficiency in 2-stroke engines. The $\text{CCP}$ acts as a primary load indicator when combined with other inputs.
  2. Airmass flow vs Throttle Position Sensor (TPS) Map:
    • This map provides an airflow estimate based on the throttle opening angle, providing redundancy or supplementary load data to the CCP-based calculation.
  3. Target Lambda Map:
    • This map defines the target air-fuel ratio ($\lambda$) required for optimal combustion under specific operating conditions (e.g., cruising vs. acceleration). Since an exhaust lambda sensor is unavailable, this map must be determined through other inputs like $\text{RPM}$ and load estimates.

Determining the Effective Airflow Input

The calibration logic determines which calculated airmass flow value to use as the primary multiplier for fuel calculation. The system evaluates two potential sources of airflow data:

  • Air mass derived from the CCP/Airmass map ($\text{Flow}_{\text{CCP}}$).
  • Air mass derived from the TPS/Airmass map ($\text{Flow}_{\text{TPS}}$).

The engine management software is configured to select the maximum available airmass flow reading at any given time point:

$$\text{Effective Air Mass Flow} = \text{MAX}(\text{Flow}{\text{CCP}}, \text{Flow}{\text{TPS}})$$

This selection ensures that the calculation uses the most accurate or highest estimated load condition reported by the installed sensors. If only one sensor is active or providing valid data, the ECU will utilize the data from that single source. For detailed information on map structure and parameter definitions, consulting technical resources like those available through ECU Docs is beneficial.

Step-by-Step Calibration Procedure

The calibration process involves analyzing how these three maps interact to generate the final fuel pulse width ($\text{PW}$). The following steps outline the logical sequence for tuning and verification:

1. Verification of Sensor Scaling (Prerequisite Check)

Before modifying any fueling parameters, verify that all sensor inputs are correctly scaled within the ECU map definitions.

  • Action: Monitor live data streams using a diagnostic tool while cycling through operating conditions (e.g., cold start to warm idle, low RPM cruise to high $\text{RPM}$ acceleration).
  • Observation: Confirm that the reported values for CCP and TPS accurately reflect physical changes in pressure/angle across the full operational range defined by the map boundaries.

2. Analyzing Fuel Calculation Logic Flow

The final fuel amount is calculated using the selected effective airflow value multiplied by the target lambda:

$$\text{Fuel} = \left( \text{Airmass flow}(\text{CCP}/\text{TPS}) \right) \times \text{Target Lambda}$$

  • Action: Select a representative operating point (e.g., mid-throttle, $3000\ \text{RPM}$) and record the input values: $\text{CCP}$ reading, $\text{TPS}$ angle, and $\text{RPM}$.
  • Procedure: Determine which map ($\text{Flow}{\text{CCP}}$ or $\text{Flow}{\text{TPS}}$) provides a higher Airmass Flow value. This determines the Effective Air Mass Flow used for calculation.

3. Configuring Target Lambda Maps (Stoichiometry Control)

The primary function of tuning here is to ensure the Target Lambda map accurately reflects the desired combustion stoichiometry across all operating points, compensating for the lack of an exhaust lambda sensor.

  • Consideration: The $\text{Target Lambda}$ value must be defined based on a combination of $\text{RPM}$, load estimation (derived from Airmass Flow), and temperature ($\text{T}_{\text{in}}$).
  • Calibration Detail: Adjust the target lambda values in the calibration software to achieve the desired Air-Fuel Ratio (AFR) for specific maps (e.g., reducing $\lambda$ during aggressive acceleration for richer mixtures, or increasing it towards stoichiometric goals during steady cruising).

4. Final Fuel Calculation Verification

Once all inputs are defined and calibrated:

  • Action: Replicate the operating point from Step 2.
  • Verification: Use the calibration software's visualization tools to trace the calculation:
    1. The ECU selects $\text{Effective Air Mass Flow}$ (the max of $\text{Flow}{\text{CCP}}$ and $\text{Flow}{\text{TPS}}$).
    2. The ECU retrieves $\text{Target Lambda}$ based on current $\text{RPM}$, load, and temperature.
    3. The system calculates the resulting Fuel Amount ($\text{PW}$).
  • Expected Outcome: The calculated fuel amount must correspond to the desired injector pulse width for that specific operating condition and engine load.

Troubleshooting Common Fueling Issues

Symptom Potential Cause Diagnostic Action Mitigation/Correction
Poor Power / Low $\text{RPM}$ Target Lambda map is too high (lean mixture) across the operating range. Check Target Lambda values in calibration software at low load and mid-load conditions. Reduce $\text{Target Lambda}$ to increase fuel amount, achieving a richer stoichiometric condition.
Over-fueling / High Emissions Effective Air Mass Flow is overestimated or erroneously uses an incorrect map input (e.g., using $\text{Flow}_{\text{TPS}}$ when CCP is more accurate). Compare recorded $\text{CCP}$ readings vs. $\text{TPS}$ readings under identical load conditions. Identify the source of discrepancy. Re-tune the Airmass flow maps ($\text{Airmass flow vs CCP}$ or $\text{Airmass flow vs TPS}$) to better reflect actual volumetric efficiency for the specific engine build.
No Fuel Correction (Static) Calibration parameters governing minimum fuel pulse width are limiting the calculation result, even if required. Check any fixed scaling factors or limits applied to the final fueling calculation routine in the ECU software. Increase the allowable range or adjust the minimum baseline fuel pulse width value.

Safety Considerations

  • Electrical Safety: Always disconnect the battery terminal before physically connecting or disconnecting wiring harnesses related to the ECU, sensors, or injectors.
  • Calibration Risk: Modifying fueling maps without proper understanding of stoichiometry can lead to extreme engine operation (e.g., running dangerously lean/rich), resulting in immediate engine damage. Calibration changes must be implemented incrementally and verified with logged data before testing under load conditions.
  • System Integrity: Ensure that the flashing process uses validated software versions for the M3C unit to prevent bricking or corrupting the ECU memory.