An AC power source supplies power to a switching power source and a fixing heater.
A power source waveform detecting circuit obtains a voltage waveform of the AC
power source at a predetermined timing after the main power switch is turned on.
A processor derives zero crossing information concerning zero crossing such as
a zero crossing point based on the obtained voltage waveform. The processor controls
power supply to the fixing heater based on the derived zero crossing information.