← Return to OBD II Lab
Vehicle configuration · Diesel sensor reference

Diesel has an extended sensor set.

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.

What this configuration represents

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 current diesel ECU inventory

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.

Diesel with Extended sensors · 13 ECU channels · periods follow simulation time
Channel / groupRole and simulated valueSignal in this lab / rangeUpdate periodEffect of an open connector
Crankshaft speedPosition and timingEngine 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 onlyHalf 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 demandA 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 intakeSample 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 intakePressure 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 onlyA 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 intakeAmbient 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 onlyLoad-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 lubricationPhysical 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 onlyA 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 lambdaExhaustOne 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 proxyExhaustOne 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 pressureExhaustOne 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.

What Basic and Extended actually change

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.

Use the intended distinction

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.

Signal type, sampling and logging are different

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.

Unplug a sensor and follow the consequence

  1. Configure the diesel, switch on ignition and start the engine. Open its engine ECU in Diagnostics & service and choose a sensor connector.
  2. Disconnect the connector, or select a timed intermittent disconnection. Run the simulation so the owning channel can take its next sample.
  3. Compare the physical value, sampled value/validity, engine response and fault memory. An open wire removes a measurement; it does not remove the physical temperature, shaft or pressure being represented.
  4. Reconnect and allow another sample. The present input can recover while stored fault memory remains available for diagnosis. Repair and clearing stored codes are separate actions.

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.

Euro 4–6 does not give one universal sensor count

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]

Lambda in this lab

1 channel

A mixture-ratio proxy. No upstream/downstream pair, bank-specific oxygen monitoring or wideband controller model.

NOx in this lab

1 channel

A load-based trend. No SCR inlet/outlet comparison, reagent dosing or NOx conversion-efficiency model.

DPF pressure in this lab

1 channel

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.

Implementation and primary references

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.

  1. European Union: consolidated Regulation (EU) 2017/1151, 1 September 2023. See the manufacturer information fields in Annex I, Appendix 3, points 3.2.12.2.2 and 3.2.12.2.7, and the OBD provisions in Annex XI. This reference concerns Euro 5/6 approval and monitoring, not a certification of the lab.
  2. Bosch Mobility: exhaust-gas treatment with double-injection technology. The “System layout” identifies NOx sensors D/G/J, lambda sensor K, particulate sensor E and differential-pressure sensor H. Used here as a concrete architecture example; its technology and control software are not bundled.