"I don't think the ECU can control NOx emissions just by
the O2 sensor which I believe changes the AF ratio."
Sure it can. NOx emissions rise substantially on the lean
side of stoichiometric, and drop off on the rich side when
the CO and HC emissions increase. See this link:
See the exhaust gas concentration charts at the above link
along with an explanation of the closed loop feedback
system. (is't for a pre OBDII Bosch K-Jet/lambda U.S.
emissions systems without EGR)
When the mixture is slightly rich, the reduction section
in a three way catalytic converter uses excess CO
to "reduce" the NOx back to N2 and then also produces
CO2. A properly functioning O2 sensor continuously alters
the A/F ratio from the lean side to the rich side of
stoichiometric several times a second. When the mixture is
lean the oxidation section in the CAT is burning up the
stored excess HC's because there is excess O2, when it's
rich, it's reducing the NOx. That's why an old slow or non
reacting O2 sensor will often send the NOx emissions over
the limit. The mixture stays lean for too long and the
reduction section of the catalyst gets saturated, then
dumps the NOx out the tailpipe to the waiting sniffer. It
also explains why some cars experience a lean hesitation
under mild acceleration when the O2 sensor is tired and
ready for the scrap can.
Chumley