The engine has an inlet air flow controlled by a electrically driven control element. The processor control computes and measures the air flow and monitors the operating conditions eg. engine temperature, outside temperature, engine speed etc. Any errors in air flow due to tolerances in the control components is compensated for by the software which drives the air flow control element. The system is a self learning type and determines eg. when the engine is an overrun with no throttle setting. The measured air flow is compared with programmed values to determine the correction factor. The control correction is particularly applicable for cold starting.