This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2005-071428, filed on Mar. 14, 2005, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a medium storage device for recording data on a medium by a head and a medium rotation synchronization processing method, and more particularly to a medium storage device for decreasing the rotation jitter gap which is created anticipating the rotation jitter of a medium, and a medium rotation synchronization processing method.
2. Description of the Related Art
Because of the recent demands for the computerized processing of data, larger capacities are demanded for medium storage devices for storing the data, such as magnetic disk devices and optical disk devices. For this, the track density and recording density of a disk medium are increasing more and more. Also a decrease in unnecessary areas on tracks is demanded.
In the format of one track on the disk shown in
Therefore as
This method is for generating a read gate by counting the clocks with a fixed frequency from the detection of the servo mark. Therefore as
Another prior method, as shown in
Because of the recent demands for downsizing devices, such disk storage devices are also installed in compact servers and mobile equipment (e.g. notebook type personal computer and portable AV (Audio/Visual) equipment). Therefore such disk devices are used in environments which easily subject to the influence of the external environment, such as vibration and temperature change. This makes it possible to detect the servo synchronization mark in error.
So in the case of a conventional method for controlling (the changing clock frequency of) a read gate and write gate based on the measurement of the interval of servo synchronization marks, the DSW method cannot be used effectively if a servo synchronization mark is detected in error, where data corruption may occur.
Also the interval measurement error of servo synchronization marks may occur, so the DSW method cannot be used effectively, where data corruption may occur, and the data reliability of the disk storage device drops. Furthermore, since the frequency change is performed in the sector, if a large amount of the frequency change is indicated by any reason, it is influenced with an error rate of the data, so the error rate drops.
With the foregoing in view, it is an object of the present invention to provide a medium storage device for effectively preventing the drop of the error rate in the DSW method to detect the interval of a servo synchronization mark, and a medium rotation synchronization processing method for the medium storage device.
It is another object of the present invention to provide a medium storage device for prohibiting the frequency compensation when the frequency change amount is large according to detected interval of the servo synchronization marks and using the DSW method effectively, and a medium rotation synchronization processing method for the medium storage device.
It is still another object of the present invention to provide a medium storage device for effectively preventing the data destroy by using the DSW method to detect the interval of the servo synchronization marks so as to apply the DSW method effectively, and a medium rotation synchronization processing method for the medium storage device.
It is still another object of the present invention to provide a medium storage device for effectively preventing the data destroy by using the DSW method to detect the interval of the servo synchronization marks so as to decrease a gap length and increase the storage capacity, and a medium rotation synchronization processing method for the medium storage device.
To achieve these objects, the medium storage device of the present invention has a head for either reading or writing data on a track of a storage medium where servo information, including servo synchronization marks, is written on one track with a predetermined interval, an actuator for positioning the head onto a desired track of the storage medium which is rotating, a controller for controlling reading or writing data on the storage medium by the head at a timing synchronizing the rotation of the storage medium, and a processing unit for correcting the synchronization timing of the controller from the interval of the servo synchronization marks detected by the controller. And the processing unit judges whether or not the detected interval of the servo synchronization marks is within a predetermined range which is not occurred a frequency compensation to influent an error rate when reading, and corrects the synchronization timing of the controller based on the interval of the servo synchronization marks when the detected interval is judged within the predetermined range.
The medium rotation synchronization processing method of the present invention has a step of reading or writing data on a track of a storage medium where servo information, including servo synchronization marks, is written on one track with a predetermined interval by the head at a timing synchronizing the rotation of the storage medium, a step of calculating a interval of the servo synchronization marks detected from a read signal of the head, a step of judging whether or not the calculated interval of the servo synchronization marks is within a predetermined range which is not occurred a frequency compensation to influent an error rate when reading, and a step of correcting the synchronization timing of the controller based on the interval of the servo synchronization marks when the detected interval is judged within the predetermined range.
In the present invention, it is preferable that the processing unit judges whether or not a change amount between the interval of the servo synchronization mark is smaller than a change amount slice for judging within the predetermined range.
In the present invention, it is also preferable that the processing unit judges whether or not a change amount between the interval of the servo synchronization mark is smaller than a absolute amount slice for judging within the predetermined range.
In the present invention, it is also preferable that the processing unit judges whether or not the interval of the servo synchronization mark is within a correctable range.
In the present invention, it is also preferable that the processing unit prohibits a least one of the write operation and the correction of the synchronous timing when the judging result indicates within the predetermined range.
In the present invention, it is also preferable that the controller further has a clock source for generating clocks, and a timing generation circuit for generating the rotation synchronization timing signals from the clock, and the processing unit calculates a frequency correction value of the clock of the timing generation circuit, and sets the calculated value in the controller.
In the present invention, it is also preferable that the processing unit starts the synchronization timing correction processing according to a servo gate signal synchronizing the rotation of the storage medium.
In the present invention, it is also preferable that the controller further has a counter for counting the servo synchronization mark detection time based on the clock of the clock source, and the processing unit reads a count value of the counter according to a servo gate signal synchronizing the rotation of the storage medium, and executes the synchronization timing correction processing.
In the present invention, it is also preferable that the timing generation circuit of the controller has a servo timing generation circuit for generating a servo timing signal from the clock, a data timing generation circuit for generating a data timing signal from the clock, and a write timing generation circuit for generating a write timing signal from the clock.
In the present invention, it is also preferable that the controller further has a gate signal generation circuit for generating a servo gate signal, read gate signal and write gate signal according to the servo timing signal of the servo timing generation circuit.
In the present invention, it is also preferable that the controller further has a detection circuit for outputting the servo information and the read data from a read signal of the head according to the servo timing signal and the data timing signal.
Since a frequency correction value is calculated from the measurement result of the interval of the servo synchronization marks of the rotating storage medium, the frequency correction value is set real time, so performing more correctly frequency correction. However, since the operation of the frequency correction changes the frequency to do not relate to reading/writing operation of the data, the frequency changes in the sector. According to this invention, it is judged whether or not the interval of SSM (servo synchronization marks) is within a correctable frequency which is within a admitted error rate, and the frequency correction amount is set when the judge result is good, so influence of the error rate by the frequency correction can be prevented, and the danger of data corruption can be avoided.
Embodiments of the present invention will now be described in the sequence of the medium storage device, frequency correction circuit, frequency correction processing, frequency correction limitation processing and other embodiments.
Medium Storage Device
As
The magnetic disk device 10 is comprised of a magnetic disk 19, a spindle motor 20 for rotating the magnetic disk 19, a magnetic head 25 for reading/writing data on the magnetic disk 19, and an actuator (VCM) 22 for moving the magnetic head 25 in a radius direction (track crossing direction) of the magnetic disk 19.
The control unit is comprised of an HDC (Hard Disk Controller) 12, a data buffer 14, an MPU 11, a memory (RAM) 13, a read channel 16, a head IC 18, a spindle motor driver 21, a VCM driver 23, and a bus 17 connecting these composing elements.
The HDC 12 has an interface control circuit which has a task file for setting a task from the host, and a data buffer control circuit for controlling the data buffer 14. The read channel control circuit 16 demodulates the read data and generates a write gate.
The data buffer 14 plays a role of the cache memory, and stores the write data from the host and stores the read data from the magnetic disk 19. During write back the write data of the data buffer 14 is written on the magnetic disk 19, and during reading the read data in the data buffer 14 is transferred to the host.
The head IC 18 supplies recording current to the magnetic head 25 according to the write data during write, amplifies the read signal from the magnetic head 25, and outputs it to the read channel circuit 16 during read. The spindle motor driver 21 rotary-drives the spindle motor 20. The VCM driver 23 drives the VCM 22 for moving the magnetic head 25.
The MPU (Micro Processing Unit) 11 performs position control of the magnetic head 25, the read/write control and the retry control. The memory (ROM/RAM) 13 stores the data necessary for the processing of the MPU 11. In the read channel circuit 16, a read/write timing circuit 3 including the frequency correction circuit, which will be described later in
Gray code indicates the cylinder number or the track number on the track, and the frame number indicates the frame or the sector number on the track. If one frame is comprised of a plurality of sectors, the frame number indicates this. The position error detection signal is normally used to detect the shift value between the track center and the head position.
Frequency Correction Circuit
The time base generator (TBG) 34 generates the clock TBCL with the time base reference frequency of read/write. The data timing recover circuit 36 generates the data timing signal which is the clock with the time base reference frequency corrected by a predetermined frequency correction value. The detector block circuit 38 receives the servo timing signal and the data timing signal, detects the servo information from the read signals of the magnetic head 25, and detects the servo synchronization mark detection signal SSM found, the servo information (SSM, gray code/frame number, position error signal) and the read data.
The data timing recover circuit 40 offsets the reference frequency of the time base generator 34, and generates the write clock from the time base generator 34.
The frequency correction value register 42 holds the frequency correction value calculated by the firmware (frequency correction processing) 28 of the MPU 11, sets the correction value with respect to the reference frequency of the servo timing recover circuit 32, and sets the correction value with respect to the time base reference frequency of the data timing recover circuit 36.
The frequency correction value register 42 offsets the reference frequency of the time base generator 34 by the data timing recover circuit 40 using the correction value. The counter 44 counts the reference clock RCL of the servo frequency generator 30. The latch circuit 46 latches the count value of the counter 44 by the servo synchronization mark detection signal SSM found.
The firmware (frequency correction processing) 28 of the MPU 11 receives the servo synchronization mark from the detector block circuit 38, acquires the count value of the latch circuit 46, and performs frequency correction processing. The servo logic circuit 4 receives the servo timing signal of the servo timing recover circuit 32, and generates the servo gate, read gate, write gate and sector pulse.
The servo gate and the read gate are sent to the detector block circuit 38 for detecting the servo information, servo synchronization mark detection signal and read data. The servo gate is sent to the MPU 11 and starts up the firmware (frequency correction processing) 28, as shown in
In this way, according to this embodiment, a function for measuring the servo interval from the servo synchronization marks by the counter 44 and the latch circuit 46, a function for setting the correction value for the reference frequency RCL of the servo frequency generator 30 to the servo timing recover circuit 32 by the frequency correction value register 42, a function for correcting the timing of the servo gate, sector pulse, read gate and write gate of the servo logic circuit 4 according to the frequency correction value, a function for setting the correction value for the reference frequency of the time base generator 34 to the data timing recover circuit 36 during data read, and a function for offsetting the reference frequency of the time base generator 34 by the correction value during data write are provided.
Frequency Correction Processing
The frequency correction processing in
(S10) The MPU 11 starts the frequency correction processing at the timing of the servo gate SG in
(S12) When it is judged that the servo synchronization mark detection signals SSM found was received, the MPU 11 judges whether the gray code of the servo information is the expected gray code. This is also for judging that the servo synchronization mark was detected correctly, and if the gray code is not the expected gray code, the processing moves to step S28.
(S14) If it is judged that the gray code is the expected gray code, the MPU 11 judges whether the servo frame number of the servo information is the expected servo frame number. This is also for judging that the servo synchronization mark was detected correctly, and if the servo frame number is not the expected servo frame number, the processing moves to step S28.
(S16) If it is judged that the servo frame number is the expected servo frame number, the MPU 11 acquires the count value of the latch circuit 46, and subtracts the count value acquired in the last servo gate from the acquired count value to calculate the SSM interval.
(S18) The MPU 11 performs low pass filter (LPF) processing on the SSM interval measurement result. This is for suppressing measurement dispersion. For example, the measurement result this time is added to the integrated value of the measurement results up to the previous time, and the result is divided by the number of times of measurement. This is regarded as the SSM interval of this time.
(S20) Then the MPU 11 judges whether the SSM interval is smaller than the absolute value slice. As the timing chart in
In
(S22) For the same reason, the MPU 11 judges whether the change value of the SSM interval (difference between the SSM interval the previous time and the SSM interval this time) is smaller than the change value slice, which will be described later in
(S24) If the change value of the SSM interval is smaller than the change value slice, write disable is cancelled.
(S26) If the SSM interval is not smaller than the absolute value slice or if the change value of the SSM interval is not smaller than the change value slice in step S20 and S22, write disable is set as the error processing. In other words, this frame becomes write disabled hereafter.
(S28) If the SSM is not detected or if it is detected in error in step S10, S12 and S14, the error processing is executed. In this error processing, it is first judged whether error processing is possible. In other words, it is judged whether the SSM, the gray code and the servo frame number were detected normally in the previous two times. If detection was abnormal, the processing ends since interpolation processing cannot be performed accurately in the next step, S30.
(S30) If it is judged that the SSM, the gray code and the servo frame number were detected normally in the previous two times, the SSM interval this time is calculated from the SSM interval in the past (SSM interval in previous two times) by linear interpolation. And the processing moves to step S32.
(S32) Then the MPU 11 judges whether the SSM interval is smaller than the frequency correctable range (see
(S34) If the SSM interval is smaller than the frequency correctable range, the MPU 11 calculates the frequency correction value from the SSM interval.
(S36) The MPU 11 sets the calculated frequency correction value in the frequency correction value register 42 in
In this way, the frequency correction value is calculated from the measurement result of the SSM interval, so using the SSM interval detected in error may cause data corruption. In order to prevent this, it is judged whether the servo synchronization mark SSM was detected normally. In this example, three levels of checks are performed for safety, that is, it is judged whether the SSM detection signal exists, whether the gray code is normal, and whether the frame number is normal.
If the SSM is detected in error, the gray code and the frame number after the SSM are also demodulated to be abnormal values. Only one of the gray code and the frame number may be used to judge the normalcy. By this, the frequency correction using SSM interval detected in error can be prevented, and the danger of data corruption can be avoided.
The measurement dispersion of the SSM interval also becomes a cause of the abnormal frequency correction, and may corrupt data. Therefore the measurement result of the SSM interval is processed with a low pass filter to suppress dispersion.
Even if SSM is detected in error, frequency correction is possible since the SSM interval is estimated by linear interpolation.
Also the frequency correction value is set in each servo frame in real-time, so a more accurate frequency correction is performed, but this operation, which changes the frequency regardless the read/write operation of the data area, may change the frequency in the middle of the sector, and may affect the error rate if the frequency change is large.
To prevent this, it is judged whether the SSM interval is within the frequency correction with an allowable error rate. Here it is judged whether the SSM interval is within the frequency range using the absolute value slice and the change value slice. If the SSM interval is not within a frequency correction with an allowable error rate, write in the frame is disabled to prevent affecting the error rate.
Then it is judged whether the SSM interval is within the correctable range of the frequency correction circuit, and if it is not in the correctable range, the calculation and setting of the frequency correction values are not executed to prevent setting an abnormal correction value in the frequency correction circuit. Even when writing is disabled, if the SSM interval is within the correctable range of the frequency correction circuit, the measurement result is reflected for the next judgment of the frequency correction value, so the frequency correction value is calculated and set.
Furthermore, in this embodiment, the admitted range can be selected within at least one of the absolute amount slice, the changing amount slice and the correctable range. That is, the admitted range can be selected within the absolute amount slice and the changing amount slice or only the changing amount slice.
By applying the DSW method, theoretically the rotation jitter gap can be deleted, but if the above mentioned phase lag of the low pass filter processing, the linear interpolation correction error and the calculation error of the frequency correction value by the firmware processing are considered, it is not desirable to delete whole the gap, and it is only possible to decrease to ⅓-⅕ gap length of the gap when the DSW method is not used.
Frequency Correction Limitation Processing
Now how to set the absolute value slice and the change value slice for the above mentioned frequency correction limitation will be described.
(S40) First in the configuration in
(S42) Data is written to a sector (Data 2 in
(S44) Data written on the sector is read, and the error rate is measured. In other words, the data is read a plurality of times and the error rate is measured.
(S46) Since the error rate during normal operation is known from the measurement result when the frequency correction is not executed, the tolerance range, in which the error rate is not aggravated even if the frequency correction is executed, is determined based on this measurement result.
(S48) Then in the configuration in
(S50) The change value of the frequency correction is initialized.
(S52) The frequency correction value (change value of the frequency correction) of a sector is increased and is set in the frequency correction value register 42 in
(S54) In a state where the frequency correction circuit of the read/write timing circuit 3 is corrected with this frequency correction value, data is written on a sector (Data 2).
(S56) Data written on a sector is read and the error rate is measured. In other words, the data is read a plurality of times and the error rate is measured.
(S58) It is judged whether this error rate is in a tolerance range in which the error rate determined in step S46 is not aggravated. If the error rate is in the tolerance range, the processing returns to step S52, and the frequency correction value to be set is increased. If the error rate is not in the tolerance range, the frequency correction value determined in step S52 is used, and from this, the change value slice of the change value of the SSM interval, shown in
Now how to determine the specific absolute value slice and the change value slice will be described.
The absolute value slice is the maximum value at which the total of the following items are frequency-corrected, and this maximum value is regarded as the slice: (1) the frequency correction value for correcting the maximum time deviation by the expected maximum eccentricity which is generated by the shift of the medium, for example; (2) the frequency correction value for correcting the maximum error of the write linking of write start and write end when the servo information is written on the magnetic disk 19, which is described later in
As the top in
Then the change value slice is determined in the above mentioned tolerance range of the error rate, which can be automatically determined by the process flow in
In the above embodiments, a magnetic disk device was used to described the medium storage device, but the present invention can be applied to storage devices using an optical disk, magneto-optical disk and other rotary type storage medium. The interface is not limited to ATA, but other interfaces may be used. If it is expected that the detecting confirmation of the servo synchronous mark is unnecessary, then steps S10-S14, S28 and S30 in
The present invention was described using embodiments, but the present invention can be modified in various ways within the scope of the essential character of the present invention, and these shall not be excluded from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-71428 | Mar 2005 | JP | national |