Lambda in this lab
A mixture-ratio proxy. No upstream/downstream pair, bank-specific oxygen monitoring or wideband controller model.
Choose Diesel · common-rail in vehicle setup. Its default engine detail is Extended sensors: 13 channels belong to the engine ECU. Each channel below has its own update period and a declared consequence when disconnected.
This is a generic common-rail turbo-diesel teaching vehicle. It is not a certified Euro 4, Euro 5 or Euro 6 engine, an OEM wiring diagram, or an emissions measurement. Choosing a sensor detail level changes the simulated inventory; it does not select an emissions certification.
The table describes this lab’s implementation, including its simplified fault responses. The ranges are teaching signal ranges, not manufacturer specifications or engine speed limits. The default diesel redline is 4,500 rpm even though the common crank-channel display range extends to 7,000 rpm.
| Channel / group | Role and simulated value | Signal in this lab / range | Update period | Effect of an open connector |
|---|---|---|---|---|
| Crankshaft speedPosition and timing | Engine rotation and timing input; the held value follows physical engine rpm. | Pulse / frequency 0–7,000 rpm | 20 ms 50 Hz | Inhibits the combustion engine and new starts. Teaching fault P0335. |
| Camshaft speedPosition and timingExtended only | Half the crankshaft speed, representing four-stroke cam rotation. | Pulse / frequency 0–3,500 rpm | 20 ms 50 Hz | Limits available torque to 70%; P0340. Detailed phase synchronization is not simulated. |
| Throttle positionDriver demand | A pedal/actuator position proxy. The diesel uses the same simplified demand channel; a separate diesel air-doser actuator is not solved. | Illustrative analogue 0–100% | 20 ms 50 Hz | Removes drive torque; a running engine may idle. Teaching fault P0122. |
| Mass air flowAir intake | Sample of the model’s air-flow estimate, expressed as air mass per second. | Illustrative analogue 0–250 g/s | 50 ms 20 Hz | Limits available torque to 70%; P0102. |
| Manifold absolute pressureAir intake | Pressure calculated from engine load. Intake manifold fluid dynamics are not solved. | Illustrative analogue 10–250 kPa | 50 ms 20 Hz | Limits available torque to 70%; P0107. |
| Boost pressureAir intakeExtended only | A separate turbo/load pressure proxy. Its displayed value includes an approximately 100 kPa baseline. | Illustrative analogue 90–250 kPa | 50 ms 20 Hz | Limits available torque to 70%; P0237. |
| Intake air temperatureAir intake | Ambient temperature plus a chosen heat-soak contribution from coolant temperature. | Illustrative analogue −40–130 °C | 500 ms 2 Hz | Records P0113; no additional torque correction is implemented. |
| Fuel rail pressureFuel and combustionExtended only | Load-dependent diesel pressure proxy. Pump, injector hydraulics and closed-loop rail regulation are not solved. | Illustrative analogue 0–1,600 bar | 50 ms 20 Hz | Limits available torque to 70%; P0190. |
| Coolant temperatureCooling and lubrication | Physical coolant sampled through the solved NTC thermistor divider and ECU conversion. | Analogue NTC divider −40–140 °C | 10 ms 100 Hz | Uses the existing ECU temperature fallback and torque limit. Physical coolant does not disappear. |
| Oil pressureCooling and lubricationExtended only | A pressure estimate that increases with engine speed. | Illustrative analogue 0–6 bar | 100 ms 10 Hz | Records P0520. Oil starvation, damage and an oil-pressure shutdown are not simulated. |
| Exhaust lambdaExhaust | One load-dependent mixture-ratio illustration. This is not solved oxygen chemistry or an actual wideband sensor/controller. | Illustrative analogue Ratio 0.7–2.5 | 100 ms 10 Hz | Records P0130; propulsion continues without an additional fallback. |
| Exhaust NOx proxyExhaust | One illustrative exhaust trend, calculated from load; not a measured or predicted emissions result. | Illustrative analogue 0–1,000 ppm | 1,000 ms 1 Hz | Records P2200; propulsion continues without an additional fallback. |
| DPF differential pressureExhaust | One flow-dependent pressure-drop proxy. Soot accumulation, filter efficiency and regeneration are not simulated. | Illustrative analogue 0–30 kPa | 500 ms 2 Hz | Records P2452; propulsion continues without an additional fallback. |
The 13-channel count is for the engine ECU. Accelerator position belongs to the vehicle controller; transmission, brake/stability, body, instruments and cabin climate have their own channels. The fuel-level display is a calculated tank/consumption value with no independent level-sender connector in this model. Selecting more cylinders does not create additional lambda banks or extra exhaust probes.
Extended is the diesel default. It includes all 13 ECU channels above. Basic has 9 ECU channels: it omits camshaft speed, fuel rail pressure, boost pressure and oil pressure. The four omitted channels are marked “Extended only” in the table.
The current diesel filter keeps the NOx and DPF pressure teaching channels in both detail levels. This makes Basic a smaller teaching inventory, not a historical Euro 4 vehicle. Petrol knock sensing is not fitted to the diesel configuration. ABS, ESP, transmission and cabin equipment remain separately configurable.
Choose Basic to inspect fewer inputs. Choose Extended to inspect the additional engine-control channels. A production engine’s equipment list requires a specific engine and aftertreatment architecture; the detail selector does not supply that information.
Analogue in this table means the lab’s electrical representation. Coolant uses a solved thermistor circuit with a nominal 5 V reference. Other analogue channels map their declared range to an illustrative 0.5–4.5 V display. That mapping does not identify the real interface of a production lambda, NOx, pressure or temperature sensor.
Pulse frequency is not sampling frequency. The crank example uses 60 pulses per revolution, so its displayed pulse frequency in hertz equals the rpm value numerically. The cam example uses one pulse per cam revolution; at 1,200 engine rpm, the cam turns at 600 rpm and its example signal is 10 Hz. Both channels are sampled every 20 ms, or 50 times per simulated second. Individual edges, missing-tooth decoding and sensor voltage waveforms are not simulated.
Logging selects observations to save. Selecting one log entry per minute does not make a sensor or the ECU run once per minute. The plant advances every 2 ms; ECU tasks and the sensor scheduler run on the existing 10 ms schedule; individual channels retain the update periods shown above. Pausing the simulation also pauses sampling. CAN bitrate describes bits per second on the network and is separate from all of these rates.
The generic sensor-bank faults use accelerated teaching persistence: a pending code after 0.2 s of missing sampled input and a stored code after 0.5 s. Detection first waits for that channel’s sampling period, so the 1 Hz NOx channel reacts later than the 50 Hz crank channel. The coolant channel follows its existing NTC/ECU fault path. These are simulator schedules, not regulatory monitor enable conditions or OEM diagnostic calibrations.
An intermittent opening shorter than a channel’s sampling period can occur between samples and leave no recorded fault. A longer interruption can produce a missing sample, fallback or a stored code depending on its duration. Crank loss inhibits the engine; a missing exhaust-monitoring input can leave the engine running. “Still running” therefore does not by itself mean that disconnection failed.
An emissions stage alone is insufficient to identify a vehicle’s lambda-sensor count. Engine design, exhaust layout and monitoring strategy also matter. The Euro 5/6 approval documentation in Regulation (EU) 2017/1151 asks manufacturers to identify oxygen/lambda, NOx and particulate sensors, their types and locations, and their OBD monitoring arrangements. It does not serve as one fixed sensor inventory for every vehicle. [1]
For a concrete manufacturer example, Bosch’s double-injection SCR layout labels three NOx sensors, one lambda sensor, one particulate-matter sensor and one differential-pressure sensor, alongside two dosing modules. This is one documented system architecture, not a mandatory count for every Euro 6 diesel. [2]
A mixture-ratio proxy. No upstream/downstream pair, bank-specific oxygen monitoring or wideband controller model.
A load-based trend. No SCR inlet/outlet comparison, reagent dosing or NOx conversion-efficiency model.
A pressure-drop trend. No separate particulate sensor, filter soot model or regeneration cycle.
A fuller Euro-era teaching variant would need an explicit engine and aftertreatment layout, the corresponding sensors and actuators, thermal/chemical behavior, and monitor logic. This release does not implement those variants or make a Euro-compliance claim. Use the real vehicle’s engine code, repair documentation and wiring diagrams to determine its actual probe count and connector assignments.
The channel table and fault behavior come from the supplied implementation: obdii_lab/vehicle_systems.py (SENSOR_DEFINITIONS, installed(), _characteristics(), _function() and SensorBank), with the diesel preset in obdii_lab/vehicle.py. The live vehicle-systems catalog exposes the selected configuration’s inventory.