A memory medium is provided to a cartridge detachably mountable to an
image forming apparatus. Into the memory medium, as information for
performing charge control, information on the amount of usage of an
image-bearing member and information on a charging alternating voltage (a
threshold value for selection control of a charging peak-to-peak voltage
Vpp) are written. The image forming apparatus includes a charging-bias
power-supply circuit, on its body side, including AC oscillation output
circuit capable of outputting two or more species of alternating
peak-to-peak voltages and an AC detector for detecting an alternating
current passing through the image-bearing member. Charge control is
performed on the basis of a detected value detected by the AC detector
and memory information for the cartridge, whereby good charge control
space saving, and cost reduction of the power-supply circuit are
compatibly realized.