Patent ID: 8150279

Claim:
An image forming apparatus comprising: an image forming unit for forming an image; a cover; an accumulation unit capable of accumulating energy, said accumulation unit having a specific time constant; an initializing unit for initializing a level of the energy accumulated in the accumulation unit when the cover is opened; a threshold regulating unit for outputting a first threshold value relative to the level of the energy and a second threshold value smaller than the first threshold value and greater than zero; a comparison unit having a first input terminal for inputting the first threshold value or the second threshold value and a second input terminal for inputting the level of the energy, said comparison unit being arranged to output a first output signal when the level of the energy is smaller than the second threshold value, said comparison unit being configured to output a second output signal when the level of the energy is greater than the second threshold value, a detection unit for detecting the first output signal and the second output signal to determine whether the level of the energy accumulated in the accumulation unit is initialized, said accumulation unit being arranged to start accumulating energy in the accumulation unit when the detection unit detects the second output signal after the image forming apparatus is turned on; a timing unit for measuring a period of time from when the accumulation unit starts accumulating energy to when a level of energy reaches the first threshold value; a state correction unit for correcting a state of the image forming unit according to a detection result of the detection unit and the period of time measured with the timing unit, said state correction unit being arranged to correct the state of the image forming apparatus when the period of time is greater than the time constant, said state correction unit being arranged to not correct the state of the image forming apparatus when the period of time is smaller than the time constant.