Patent ID: 7933525

Claim:
An image forming apparatus, comprising: an object to be cleaned; a cleaning device that cleans the object to be cleaned; a generation device that generates a cleaning voltage in the cleaning device; a control device that controls the generation device to control the cleaning voltage; a voltage detection device that detects the cleaning voltage generated in the cleaning device; a load resistance detection device that detects a load resistance between the object to be cleaned and the cleaning device, based on at least one control parameter to be used by the control device to control the generation device and the cleaning voltage detected by the voltage detection device; and a setting device that sets, based on the load resistance detected by the load resistance detection device, a target cleaning voltage which is a voltage to be generated in the cleaning device when the object to be cleaned is cleaned by the cleaning device, wherein the control device controls the cleaning voltage generated by the generation device such that the cleaning voltage detected by the voltage detection device is equal to a target value, and wherein the setting device sets the target cleaning voltage such that an absolute value of a current flowing through the cleaning device calculated based on the cleaning voltage detected by the voltage detection device and the load resistance detected by the load resistance detection device is equal to or smaller than a predetermined maximum value.