Patent ID: 8121159

Claim:
A temperature compensation method for laser power of an optical disk drive, wherein a high phase linear-fitting power curve, a low phase linear-fitting power curve and a temperature-changing slope curve of the high and low phase linear-fitting power curves are previously stored in the optical disk drive, and the method comprises the following steps: (1) controlling an output of laser power according to the low phase linear-fitting power curve to read/write data; (2) detecting the temperature of the optical disk drive and checking the output of laser power, wherein if the output of laser power is not smaller than a turning point power, a linear fitting power curve is at high phase and is switched to the high phase linear-fitting power curve of the same temperature, and wherein if the output of laser power is smaller than the turning point power, the linear fitting power curve is at low phase and maintains at the low phase linear-fitting power curve, and then the method proceeds to the step (3); (3) checking whether the temperature has changed, wherein if the temperature has not changed, the method returns to step (1), and wherein if the temperature has changed, the method proceeds to step (4); and (4) using the temperature of the optical disk drive detected in step (2) to obtain a relative slope from the temperature-changing slope curve and displace the slope of the low phase linear-fitting power curve with the obtained relative slope to form a new linear-fitting power curve for replacing the low phase linear-fitting power curve and then return to step (1).