Modern diesel engines cannot meet emissions limits with in-cylinder measures alone. The exhaust aftertreatment system does the rest, and at its centre is Selective Catalytic Reduction (SCR). Two sensors — one for nitrogen oxides (NOx) and one for ammonia (NH3) — work as a pair to keep that system in balance. Understanding how they cooperate explains why a single faulty sensor can put a truck into derate.
What SCR does
SCR is a chemical process, not a filter. Diesel Exhaust Fluid (DEF), sold as AdBlue, is a solution of urea in water. It is injected into the hot exhaust stream ahead of the SCR catalyst, where it decomposes into ammonia (NH3). Inside the catalyst, ammonia reacts with nitrogen oxides (NO and NO2, together called NOx) and converts them into harmless nitrogen gas (N2) and water vapour.
The reaction only works when the amount of ammonia matches the amount of NOx. Too little ammonia and NOx passes through untreated. Too much and unreacted ammonia escapes from the tailpipe. That escaping ammonia is called ammonia slip, and it is itself a regulated pollutant. The control problem is therefore a balancing act, and the two sensors are what make the balance measurable.
The NOx sensor: two positions, two jobs
A typical SCR system uses two NOx sensors. The upstream sensor sits before the SCR catalyst and measures the raw NOx coming out of the engine. It tells the control unit how much NOx needs to be treated, which sets the baseline for how much DEF to inject.
The downstream sensor sits after the catalyst and measures the NOx that remains. It is the report card for the whole system: by comparing the upstream and downstream readings, the control unit calculates conversion efficiency — what proportion of the incoming NOx was actually removed.
Both sensors are exposed to the same harsh environment: high exhaust temperatures, vibration, soot and corrosive gases. They are precision instruments, and their accuracy is what the dosing strategy depends on.
The NH3 sensor: watching for slip
The NH3 sensor measures ammonia concentration in the exhaust, normally downstream of the catalyst. Its job is to detect ammonia slip — ammonia that was dosed but never reacted.
Slip happens for two reasons. The first is over-dosing: more DEF was injected than the catalyst could use. The second is a catalyst or temperature problem: the catalyst is not converting efficiently, so ammonia passes through even at a normal dose. Either way, the NH3 sensor is the only instrument that can see it directly. A NOx sensor alone cannot distinguish ammonia from NOx reliably, which is exactly why the two sensor types are used together.
How the ECU uses both readings to dose DEF
The engine control unit (ECU) runs a closed loop. It takes the upstream NOx reading as the load, the downstream NOx reading as the result, and the NH3 reading as the limit. If downstream NOx is high and ammonia is low, it increases the DEF dose. If ammonia starts to rise, it backs the dose off before slip becomes excessive. If conversion efficiency falls despite correct dosing, it can infer a catalyst or temperature problem rather than a dosing problem.
This is why the two sensors are complementary rather than redundant. The NOx sensors answer “how much NOx is left?” The NH3 sensor answers “are we dosing too much?” Neither question can be answered by the other sensor alone.
What happens when a sensor fails
A faulty sensor does not simply stop reporting — it usually reports a wrong value. A drifting NOx sensor can make the ECU believe conversion is fine when it is not, or believe it is failing when it is not. A failed NH3 sensor can hide ammonia slip entirely, so the ECU keeps over-dosing without knowing it.
The ECU protects itself by cross-checking. If the readings are implausible, if conversion efficiency falls below its threshold, or if a sensor’s signal goes out of range, it logs fault codes and derates the engine — limiting torque and speed. Derate is deliberate: it forces the vehicle to a workshop before emissions climb further, and it keeps the vehicle legal to operate in the meantime. The practical consequence for a fleet is the same either way: a sensor fault is not a fault you can drive through indefinitely.
Identifying the right NH3 sensor
NH3 sensors are identified by their OE number, not by the vehicle they came from. The same engine family can use different sensors across production years, and different manufacturers use different parts for similar applications. The reliable way to confirm a replacement is to read the OE number printed on the old sensor and match it. As an example, OE number 421-7787 is the published cross-reference for the NH3 sensor family listed on this site — the number itself, rather than a vehicle description, is what determines fitment.
Key takeaways
- SCR converts NOx into nitrogen and water using ammonia derived from DEF; the dose must match the NOx load.
- The upstream NOx sensor measures engine-out NOx; the downstream NOx sensor verifies conversion efficiency.
- The NH3 sensor detects ammonia slip, which is the signal that dosing is too high or the catalyst is underperforming.
- The ECU balances all three readings to hold the dose between under-treatment and slip.
- A faulty sensor corrupts that balance, which is why the ECU responds with fault codes and derate.
- Match an NH3 sensor by its OE number — for example, 421-7787 — not by vehicle model alone.
NOx Sensor Solutions
Continue from this guide to NOx sensor cross-reference, application support, and RFQ-ready product sourcing.
Need OEM cross-reference or wholesale pricing?
Send part numbers, applications, or sourcing requirements to SHR Autoparts for a faster B2B response.
