1. Field of the Invention
The invention relates to optical disk drives, and more particularly to track-seeking processes of optical disk drives.
2. Description of the Related Art
Track-seeking is a procedure frequently performed by an optical disk drive. An optical disk drive performs a track-seeking procedure to move a pick-up head of the optical disk drive to a destination address. Thus, data recorded on the destination address can be read and transferred to a host, or data transferred from a host can be recorded on the destination address when the optical disk drive respectively performs a reading or writing operation.
Because both a reading operation and a writing operation comprise track-seeking procedures, an optical disk drive therefore frequently performs track-seeking procedures. If time required by track-seeking procedures is reduced, time required by a reading operation and a writing operation is thus further reduced, and performance of the optical disk drive is therefore greatly improved. A conventional method for reducing time required by track-seeking procedures is to fine-tune servo parameters of a sled actuator and a coil actuator used in the track-seeking procedures. The conventional method, however, only minimally reduces required time and does not distinctly improve system performance. Thus, a novel method for performing track-seeking in an optical disk drive is required.
The invention provides a method for performing track-seeking in an optical disk drive. In one embodiment, the optical disk drive performs a series of operations comprising a plurality of prior operations and a track-seeking operation, and the track-seeking operation is divided into a pre-seek procedure and a true-seek procedure. First, a microprocessor of the optical disk drive performs the prior operations. Whether the microprocessor is unoccupied is then detected before performing the prior operations is completed. The microprocessor then performs the pre-seek procedure when the microprocessor is detected to be unoccupied. The true-seek procedure is then performed according to results of the pre-seek procedure to move the pick-up head to a destination address of an optical disk.
The invention also provides an optical disk drive. In one embodiment, the optical disk drive comprises a coil actuator, a sled actuator, and a microprocessor. The coil actuator generates a first driving signal to control a coil. The sled actuator generates a second driving signal to control a sled. The microprocessor performs a series of prior operations, detects whether the microprocessor is unoccupied before performing the prior operations is completed, performs a pre-seek procedure of a track-seeking operation when the microprocessor is unoccupied, and controls the coil actuator and the sled actuator to perform a true-seek procedure of the track-seeking operation according to results of the pre-seek procedure to move the pick-up head to a destination address of an optical disk, wherein the pre-seek procedure performs preparatory tasks for the true-seek procedure.
The invention also provides a method for processing commands in an optical disk drive. In one embodiment, processing of each command comprises a track-seeking operation and a plurality of other operations, and the track-seeking operation is divided into a pre-seek procedure and a true-seek procedure. First, a microprocessor of the optical disk drive performs the pre-seek procedure of a current command. The microprocessor then performs the other operations of the current command. Whether the microprocessor is unoccupied is then detected during performing the other operations of the current command. When the microprocessor is detected to be unoccupied, the microprocessor performs the pre-seek procedure of a next command. The true-seek procedure of the next command is then directly performed according to results of the pre-seek procedure of the next command to move the pick-up head from an initial address to a destination address of an optical disk. Finally, the next command is taken as the current command to repeat the aforementioned steps except the first step until all of the commands are processed.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
Referring to
The pick-up head 120 then reads raw data from the optical disk. The microprocessor 102 then controls the buffer 108 to store the raw data D1, and the buffering procedure is completed. The microprocessor 102 then controls the decoder 110 to decode buffering data D2 to obtain decoded data D3, and the decoding procedure is completed. The decoded data D3 is then stored in the buffer 111. The microprocessor 102 then controls a transfer module 112 to retrieve the decoded data D3′ from the buffer 111 and transfer the decoded data D3′ to a host, and a transferring procedure is completed. Thus, data is read from the optical disk 130 and transferred to a host.
Referring to
A track-seeking operation moves a pick-up head of an optical disk drive to a destination address on an optical disk. The track-seeking operation comprises several steps. Referring to
The microprocessor 102 then controls the sled actuator 104 to generate the driving signal V1 according to the data of moving direction, jumped track number, velocity profile, and the first driving force stored in the registers in step 314, and then the sled motor 126 is physically controlled by the driving signal V1 to move the pick-up head 120. The microprocessor 102 also controls the coil actuator 106 to generate the second driving force according to the data of driving signal V2 stored in the registers in step 316, and then the coil 124 is physically controlled by the driving signal V2 to move the pick-up head 120 to the destination address. Thus, the track-seeking operation is completed.
The steps 314 and 316 are steps which physically move the pick-up head. The steps 302 to 312 can be taken as preparatory tasks. Thus, the steps of a track-seeking operation can be divided into two portions: a pre-seek procedure 320 comprising steps 302 to 312 and a true-seek procedure 330 comprising steps 314 and 316. The true-seek procedure 330 physically moves the pick-up head to the destination address, and the pre-seek procedure 320 performs preparatory tasks for the true-seek procedure 330. When an optical disk drive performs a series of operations comprising a plurality of prior operations and a track-seeking operation, a microprocessor of the optical disk drive is often unoccupied before the prior operations are completed. In other words, before the prior operations are completed, the microprocessor may be unoccupied without operating the prior operations, and the microprocessor is referred as to be in an “unoccupied state”. In one embodiment, the microprocessor is in an unoccupied state when the microprocessor does not operate a true-seek procedure, which will be further illustrated with
It is noted that the number of the steps and the arrow symbols in
Moreover, the prior operations may be any operations performed by the optical disk drive before the track-seeking operation is performed and are further illustrated with
For example, an optical disk processes a reading command by sequentially performing a track-seeking procedure, a buffering procedure, a decoding procedure, and a transferring procedure, as shown in
Referring to
Referring to
Referring to
A microprocessor of the optical disk drive first performs a pre-seek procedure and a true-seek procedure of a first command, which is a current command, in steps 502 and 504. The microprocessor then performs the other procedures of the current command in step 506. When the other procedures of the current command are performed, whether the microprocessor is in an unoccupied state is detected in step 508. If the microcontroller is in the unoccupied state, the pre-seek procedure of a next command is then performed during unoccupied periods of the microprocessor in step 512 before processing of other procedures of the current command is completed in step 514. To process the next command, the true-seek procedure of the next command is then directly performed in step 504. Thus, the time required by each command processing is reduced because the pre-seek procedure is performed during unoccupied periods of a previous command processing.
An optical disk with defect management stores data of a defect block in a corresponding replacement block in spare area of the optical disk. Thus, the pick-up head of the optical disk drive must be moved to the address of the replacement block to read data when a defect block occurs. The parallel processing of track-seeking procedure introduced by the invention can also be applied to move a pick-up head to the replacement block corresponding to the defect block. Referring to
The parallel processing of track-seeking procedure introduced by the invention can also be applied to writing data to an optical disk with defect management. After an optical disk drive records a segment of data on the optical disk, a pick-up head of the optical disk drive is moved back to the starting address of the data segment to verify the accuracy of the recorded data segment. Thus, occurrence of a defect block can be detected if the recorded data read out by the pick-up head has errors. Referring to
The method provides a method for performing track-seeking in an optical disk drive. A track-seeking operation is divided into a true-seek procedure physically moving a pick-up head of the optical disk drive and a pre-seek procedure performing preparatory tasks for the true-seek procedure. The pre-seek procedure can be performed during unoccupied periods of a microprocessor of the optical disk drive, and the time required by the track-seeking operation is reduced to the time required by the true-seek procedure. Thus, performance of the optical disk drive is improved.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.