A system for controlling fuel to an engine to minimize emissions in an
exhaust of the engine. There may be a controller connected to an
actuator, for example a fuel control actuator, of the engine and to
emissions sensors, such as an NOx and/or PM sensor, proximate to an
exhaust output of the engine. The controller, for example a speed
controller, may have an input connected to an output of a pedal or
desired speed setting mechanism. A speed sensor at a power output of the
engine may be connected to an input of the controller.