The ECM performs ON/OFF control of the heated oxygen sensor 2 heater corresponding to the engine speed, amount of intake air and engine coolant temperature.