According to the fourth embodiment, as a current inputted to the switching regulator for an actuator and a commercial power supply voltage inputted to the image forming apparatus are sequentially detected without primary-second insulating parts such as photocoupler and current transformer required in the conventional art.