A mark pattern forming unit forms a mark pattern on a transfer belt, and a reflection
type optical sensor detects the mark pattern. An interval difference acquiring
unit acquires an interval difference that is a deviation of each mark from a reference
position. A speed detector detects a moving speed v1 of the transfer belt
in a period between formation of the mark pattern and the detection of the mark
pattern, and a moving speed v2 during image formation. A speed difference
calculating unit calculates a speed difference v=v1-;v2, and
a control unit controls a timing of forming an image based on the interval difference
and the value of v so as to reduce position misalignment.