A computer control system is described that monitors the functionality of
an emission control device that is capable of storing NOx and oxygen
during lean conditions, and releasing/reducing the stored oxygen and NOx
during rich operating conditions. The computer uses a readable storage
medium having stored data representing instructions executable by a
computer. The instructions utilize a ratio between a lean operating time
and a rich operating time to determine whether the catalyst has degraded.