Patent ID: 7259534

Claim:
A method for controlling a spindle motor by a time length of passing through a defect, comprising steps of: when a reading head is reading a compact disc, detecting if the reading head has a SEEK situation; if the reading head has no SEEK situation, determining whether a sampling time is arrived; if the reading head has the SEEK situation, changing a rotation speed of the spindle motor into a high rotation speed and determining whether the sampling time is arrived; if the sampling time is arrived, reading a longest time for passing through a scrape and an accumulation time for passing through a scrape; checking a spindle motor rotation speed list according to the longest time and the accumulation time so as to output a spindle motor rotation speed command; checking if a data buffer is full; and if the data buffer is full, performing the spindle motor rotation speed command so as to adjust the rotation speed of the spindle motor.