Patent ID: 7830562

Claim:
An image input device in which a carriage mounted with an image sensor and three types of light source is moved in a sub-scanning direction of a document by a motor and the document is read in a line sequential manner, the image input device comprising: a controller that controls driving of the motor, operation of the image sensor, and lighting and extinguishing operations of the light source; and a detector that outputs an edge signal to the controller when detecting a movement of the carriage corresponding to one sub-scanning line, wherein, when the controller receives the edge signal, the controller is configured to: begin a first period, the first period including lighting and extinguishing of a first light source; after the first period, read out electric charge stored in the image sensor during the first period, and begin a second period, the second period including lighting and extinguishing of a second light source; after the second period, read out electric charge stored in the image sensor during the second period, and begin a third period, the third period including lighting and extinguishing of a third light source; when the controller does not receive a subsequent edge signal during a predetermined period, read out, after the third period, electric charge stored in the image sensor during the third period, and discard the electric charge stored in the image sensor from after the third period through the predetermined period, and begin another first period; and when the controller receives the subsequent edge signal during the predetermined period, terminate the third period, and begin another first period.