主权项 |
1. A heating device comprising:
a heat generating unit configured to generate heat in response to receiving an AC voltage from a power supply; a signal generating unit configured to generate: a zero-crossing signal of a first level, at a zero crossing timing in which an absolute value of the voltage received from the power supply is equal to or smaller than a threshold value, and
a signal of a second level which is different from the first level, at a timing in which the absolute value of the voltage received from the power supply is larger than the threshold value; and a control device configured to
obtain a period of the zero-crossing signal,determine a first abnormality if the obtained period does not satisfy a predetermined condition, or the zero-crossing signal is not detected during a predetermined time period,obtain a pulse width of the zero-crossing-signal, when the first abnormality is not determined,determine a second abnormality if the obtained pulse width is narrower than a normal range, andperform error processing when the first abnormality is determined and the level of the signal at a detection timing of determining the first abnormality is the second level or when the second abnormality is determined and the level of the signal at the detection timing of determining the second abnormality is the first level. |