A control device , comprising: a movement control unit configured to control movement of an object ; a detecting unit configured to optically detect, at a specific position, the object moving through control by the movement control unit, to thereby output a detection voltage; a movement amount determining unit configured to determine a movement amount of the object to be moved through the control by the movement control unit, based on a tendency of a change in the detection voltage when the object is moved; and a measuring unit configured to measure the detection voltage output from the detecting unit based on the movement of the object, while the object is moved for a predetermined distance through the control by the movement control unit, wherein the movement amount determining unit is configured to determine a distance for moving the object as the movement amount based on the tendency of the change in the detection voltage for the predetermined distance, which is measured by the measuring unit, wherein, for the detecting unit, a rank based on the tendency of the change in the detection voltage and a correction amount of the movement amount until the object is stopped are set in association with each other, and wherein the movement amount determining unit is configured to: determine the rank of the detecting unit based on the tendency of the change in the detection voltage; and determine the movement amount until the object is stopped based on the correction amount associated with the determined rank. a movement control unit configured to control movement of an object ; a detecting unit configured to optically detect, at a specific position, the object moving through control by the movement control unit, to thereby output a detection voltage; a movement amount determining unit configured to determine a movement amount of the object to be moved through the control by the movement control unit, based on a tendency of a change in the detection voltage when the object is moved; and a measuring unit configured to measure the detection voltage output from the detecting unit based on the movement of the object, while the object is moved for a predetermined distance through the control by the movement control unit, wherein the movement amount determining unit is configured to determine a distance for moving the object as the movement amount based on the tendency of the change in the detection voltage for the predetermined distance, which is measured by the measuring unit, wherein, for the detecting unit, a rank based on the tendency of the change in the detection voltage and a correction amount of the movement amount until the object is stopped are set in association with each other, and wherein the movement amount determining unit is configured to: determine the rank of the detecting unit based on the tendency of the change in the detection voltage; and determine the movement amount until the object is stopped based on the correction amount associated with the determined rank. determine the rank of the detecting unit based on the tendency of the change in the detection voltage; and determine the movement amount until the object is stopped based on the correction amount associated with the determined rank. <EOS>