The present invention relates to a device and a method of temperature control for an optical storage and retrieving apparatus. When the internal temperature of the optical storage and retrieving apparatus reaches a predetermined temperature, the temperature control device is able to bid the optical storage and retrieving apparatus steadily retrieve data by lowering the rate of a carry device of the optical storage and retrieving apparatus, or by instructing a servo control device to lower the tracking loop gain, or by lowering the velocity and the braking slope of a data read/write device of the optical storage and retrieving apparatus. The temperature control device includes a sensing device capable of detecting the present temperature of the optical storage and retrieving apparatus so as to generate a first voltage signal; a reference device operatively connected to the sensing device whereby the value of a predetermined temperature is modified and a second voltage signal is generated; a comparison device operatively connected to the sensing device and the reference device respectively whereby a first voltage signal and a second voltage signal is received and thus a compare signal is output. When the CPU receive the compare signal, if the compare signal is greater than a predetermined value, the CPU generate a first control signal to the driving device to bid the driving device lower the rate of the carry device. The CPU is also able to generate a second control signal to the servo control device to bid the servo control device lower the tracking loop gain or lower the velocity and the braking slope of a data read/write device of the optical storage and retrieving apparatus.
A method and apparatus which can provide a temperature estimate in a hard disk drive or other electronic device is provided. Output from the sensor, which may be indicative of a location spaced from the target temperature location, is sampled and integrated over an interval of time to form an estimate of average input sensor voltage. During the time interval, history of the HDD pre-amplifier operating modes is accumulated. The results are combined to form an estimate of HDA ambient temperature. Sensor offsets associated with each power mode, and weighted to the corresponding mode duty, can be subtracted from the average input sensor voltage.