This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2008-133396, filed on May 21, 2008, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to an information memory device, a control circuit thereof, and a recording method.
An information memory device typified by a Hard Disk Drive (HDD) is frequently used by being incorporated in a computer or externally provided. A HDD includes a disk recording medium composed of tracks in which plural data sectors are arranged. While the disk recording medium is rotated, a magnetic head is positioned at a target track, and pieces of data are sequentially recorded in a data sector. When the HDD receives vibrations from the outside, sometimes the magnetic head runs off from the track and the data is not written in the target data sector. For example, if a HDD is mounted on a portable computer in which a display or a speaker is integrally attached, when a sound is reproduced through the speaker, the vibration reaches the HDD, and sometimes the magnetic head periodically runs off from the track.
A determination whether or not the magnetic head is positioned at the target track is made by reading a servo pattern disposed in the track. In order to prevent the data from being written off the target track due to vibrations, a confirmation whether or not the magnetic head is positioned at the track is made each time the servo pattern is read, and recording is interrupted when run-off of the magnetic head is detected (for example, see Japanese Patent No. 3317340). Recording of the interrupted data in the data sector is retried when the magnetic head moves to the data sector in the next rotation of the disk recording medium.
In the example of
In view of the foregoing, there is provided an information memory device in which a delay of the time necessary to store data is suppressed when vibrations are added, a control circuit thereof, and a recording method.
According to a basic mode of the invention, there is provided a control circuit which controls recording of data in a disk recording medium in an information memory device which includes:
the disk recording medium which rotates and has tracks in which plural data sectors are circularly arranged and data is recorded in each of the plurality of data sectors;
a head which relatively moves along the tracks of the disk recording medium and records the data in the disk recording medium and reads the data from the disk recording medium; and
a recording section which receives data corresponding to plural data sectors and records the data in the corresponding plural data sectors by using the head, the control circuit including:
a detection section which detects whether or not the head is positioned at a track to which data sectors of a recording target belongs; and
a control section which causes the recording section to record the data in the data sectors if the detection section detects that the head is positioned at the track; causes the recording section to interrupt the recording if the detection section detects that the head runs off from the track; and causes the recording section to resume the recording from a data sector subsequent to the data sector where the detection section detects again that the head is positioned at the track and also causes the recording section to begin recording in the data sector where the recording is interrupted when the head is rotated to the interrupted data sector.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
It is preferable to employ an application mode for the control circuit in the information memory device of the above-described basic mode, in which a plurality of servo sectors are disposed at intervals in the track, and a servo pattern indicating a position of the head with respect to the track is recorded in the servo sectors;
the detection section detects a shift amount of the head from the track by reading the servo pattern from each of the plurality of servo sectors; and
the control section instructs the recording section to resume the recording according to a locus of the shift amount of the head if the detection section detects that the head is positioned at the track, after detecting that the head runs off from the track.
For example, if a large shock is given, sometimes the head cannot immediately return to the track. In this preferable application mode, recording can be resumed by selecting a case in which the recording time is effectively suppressed by resuming the recording based on the locus of the shift amount.
It is preferable to employ an application mode for the above-described application mode of the control circuit, in which the control section causes the recording section to resume the recording from a data sector subsequent to a next servo sector of the servo sector where the detection section detects that the head is positioned at the track, if the detection section detects that the head is positioned at the track after detecting that the head runs off from the track.
In this preferable application mode, the recording can securely be started from a data sector subsequent to the servo sector while the servo pattern is completely read to detect that the head is positioned at the track.
It is preferable to employ an application mode that further includes a determination section which determines, if the detection section detects that the head runs off from the track, whether or not data is recorded in a data sector antecedent to the servo sector where the detection section detects that the head runs off from the track, according to a locus of the shift amount of the head.
In this preferable application mode, it is possible to make a determination whether or not the data is recorded in the data sectors antecedent to the servo sector in which the run-off of the head is detected to increase recording certainty.
It is preferable to employ an application mode for the control circuit in which the information memory device is a hard disk device.
The recording method of the information memory device and the information memory device disclosed in the invention include not only the basic mode but also various application modes corresponding to application modes of the control circuit of the information memory device.
Specific embodiments of the information memory device, the control circuit thereof, and the recording method for the basic mode and application mode will be described below with reference to the drawings.
A HDD 1 of
Plural tracks 111 are concentrically arranged in the magnetic disk 11, and plural data sectors 112 are circularly disposed in each track. Plural servo sectors 113 are disposed at intervals in the tracks 111, and servo patterns indicating a position of the magnetic head with respect to the tracks 111 is recorded in the servo sectors 113. Data is recorded in the data sectors 112. In the magnetic disk 11, the data is recorded or read in each data sector 112. In the magnetic disk 11, the magnetization is arranged along the tracks 111 and a value of information bit is expressed by an orientation of the magnetization. The servo pattern includes a pattern for distinguishing the tracks and servo sectors and a pattern for reading a shift amount of the magnetic head from the track.
In the recording and reading (reproducing) the data in and from the magnetic disk 11, the control circuit 17 causes the VCM driver 16 to drive the VCM 14 based on positional information read from the servo sector 113, thereby moving the magnetic head 13 onto the target track of the magnetic disk 11. The movement of the magnetic head 13 between the tracks is called seek. The positioned magnetic head 13 relatively moves along the tracks 111 of the magnetic disk 11 with the rotation of the magnetic disk 11. In recording the data, an electric recording signal is fed into the magnetic head 13 from the control circuit 17. The magnetic head 13 applies a magnetic field to record the information according to the fed recording signal. In reading the data, the magnetic head 13 takes out the information recorded in the form of magnetization direction by generating an electric reproduction signal according to the magnetic field generated from the magnetization, and the magnetic head 13 supplies the information to the control circuit 17. The magnetic head 13 also reads a servo pattern of the servo sector 113.
The control circuit 17 controls the recording of the data in the magnetic disk 11 of the HDD 1 and the readout of the data from the magnetic disk 11. The control circuit 17 includes an interface (I/F) circuit 171, a data buffer 172 in which data is tentatively stored, a buffer control circuit 173 which controls the data buffer 172, a formatter circuit 174 which converts the data according to the recording format on the magnetic disk, a head IC 175 which amplifies and relays the signal from the magnetic head 13, a position detecting circuit (POS_DET) 176 which detects the position of the magnetic head 13, a Micro Processing Unit (MPU) 177 which controls each section of the HDD 1, and a memory 178 in which a program executed by the MPU 177 is stored.
The interface circuit 171 receives a command and the data written in the magnetic disk 11 from the host computer (not illustrated) externally connected to the HDD 1. The interface circuit 171 supplies the data read from the magnetic disk 11 to the host computer.
The buffer control circuit 173 stores the data received in the interface circuit 171 and the data read from the magnetic disk 11 in the data buffer 172. For example, the data buffer 172 is formed by a DRAM. Part of the data buffer 172 is used as a storage section in which operation data of the MPU 177 or various flags are stored.
In recording the data, the formatter circuit 174 receives the data supplied from the interface circuit 171 through the data buffer 172, converts the supplied data, and records the data in the data sector corresponding to the data by using the magnetic head 13. More particularly, when the MPU 177 sets the data recording, the formatter circuit 174 supplies the signal corresponding to the data to the magnetic head 13 at a timing corresponding to the data sector designated by the MPU 177 based on a number of the track and a number of the servo sector which are read from the servo pattern by the magnetic head 13. In reading the data, the formatter circuit 174 takes in the data signal at timing of the sector designated by the MPU 177 based on the servo pattern read by the magnetic head 13. The data sector which becomes the recording or reading target is designated by the MPU 177. The formatter circuit 174 receives the pieces of data corresponding to the plural data sectors, and the formatter circuit 174 can sequentially record the pieces of data in the plural data sectors of the magnetic disk 11. When the recording or reading is completed for the designated sector, the formatter circuit 174 supplies an interrupt signal to notify the MPU 177 of the end of the processing. During the recording, the formatter circuit 174 supplies the interrupt signal each time the magnetic head 13 reads the servo pattern from the servo sector. In the case where the recording is interrupted by the setting of the MPU 177, the formatter circuit 174 also supplies the interrupt signal. The formatter circuit 174 corresponds to an example of the recording section in the basic mode.
The position detecting circuit 176 detects the shift amount of magnetic head from the center of the track as the position of the magnetic head according to the signal which is read from the servo pattern by the magnetic head 13. The shift amount is read by the MPU 177.
The MPU 177 executes the program to control each section of the HDD 1. For example, the memory 178 is formed by a nonvolatile memory such as a flash memory. Various programs which are executed by the MPU 177 to realize various pieces of processing of the HDD 1 and constants necessary for the various programs are stored in the memory 178. The MPU 177 executes the program stored in the memory 178 with the data buffer 172 as a working area.
The processing performed in the HDD 1 of
The normal write processing is performed when the HDD 1 receives a recording command from the host computer. In the HDD 1, the interface circuit 171 receives the command from the host computer, and the interface circuit 171 transmits the command to the MPU 177. The data is also supplied from the host computer with the command, and the buffer control circuit 173 stores the data in the data buffer 172. The host computer supplies the data corresponding to one or plural data sectors, and the recording command includes information indicating directly or indirectly the data sector in which the data is recorded. When receiving the recording command and the data, the MPU 177 computes the number of data sectors to be written in response to the command (step S11). For example, the number of data sectors is 21 when the recording command designates the data sector 0 to the data sector 20.
The MPU 177 computes the number of target track the data sector belongs to. When the magnetic head 13 is not positioned at the target track (No in step S12), the MPU 177 performs the seek operation (step S13). More particularly, the MPU 177 causes the VCM driver 16 to drive the VCM 14 to position the magnetic head 13 onto the target track.
Then the MPU 177 sets write start-up (step S14). More particularly, the MPU 177 sets the number of the data sector of the recording target at the formatter circuit 174. For example, the MPU 177 sets the data sector 0 to the data sector 20 as the data sector of the recording target, and the MPU 177 also sets the positions of the data buffer 172 in which the pieces of data corresponding to the data sectors are stored. Then the MPU 177 performs the write start-up (step S15). More particularly, the MPU 177 sets the recording start in the formatter circuit 174. Therefore, the formatter circuit 174 reads the data from the data buffer 172 to perform various conversions, and the formatter circuit 174 supplies the data signal to the magnetic head 13 at the timing corresponding to the set data sector based on the information which is read from the servo pattern by the magnetic head 13. For example, the formatter circuit 174 reads the data from the data buffer 172 in the order from the data sector 0, performs the data conversion, and supplies the signal to the magnetic head 13. After the normal write processing, write end waiting processing is performed.
In the write end waiting processing, the MPU 177 repeatedly determines whether or not the write is ended (step S21). More particularly, the MPU 177 determines whether or not a write end flag stored in a storage area of the data buffer 172 is set through the later-mentioned interrupt processing. The MPU 177 performs the later-mentioned various pieces of interrupt processing according to input of an interrupt signal during loop processing in step S21.
When the MPU 177 determines that the write is ended (Yes in step S21), the MPU 177 confirms an error (step S22). More particularly, the MPU 177 determines whether or not a write error flag stored in the data buffer 172 is set through the later-mentioned interrupt processing. When the MPU 177 determines that the error does not exist (No in step S22) all the pieces of data are written in response to the recording command, and the MPU 177 ends the data recording processing. When the MPU 177 determines that the error exists (Yes in step S22), the MPU 177 performs retry processing. The retry processing is described later.
The servo interrupt processing is performed each time the magnetic head 13 passes through the servo sector to read the servo pattern, while the recording is set in the formatter circuit 174 (see step S15). More particularly, the servo interrupt processing is performed immediately after the magnetic head 13 completes the readout of the servo pattern.
The servo interrupt processing is performed at the timing designated by the letter A of
In the servo interrupt processing of
After the retaining processing in step S31 of
When the MPU 177 determines that the magnetic head is not in the off-track state, that is, when the magnetic head is positioned at the target track (No in step S32),the interrupt processing is immediately ended. At this point, the formatter circuit 174 transmits the data signal corresponding to the data sector to the magnetic head 13 to perform the recording into the data sector until the interrupt processing by the next servo sector.
On the other hand, when the MPU 177 determines that the magnetic head is in the off-track state (Yes in step S32) the MPU 177 estimates the past off-track state from the information on the position at a distance of several servo sectors from the current off-track state (step S33). At this point, according to the locus of the shift amount, the MPU 177 determines whether or not the data is recorded in the data sector followed by the servo sector in which the off-track is detected. More particularly, plural assumed patterns are previously prepared from a computed value and an experimental value of a control theory for the change in shift amount. That is, the off-track state prior to the current servo sector is estimated by determining to which pattern a combination of the history of the shift amounts over the several servo sectors and the current shift amount matches.
For example, in the case where the magnetic head is in the off-track state in step S32, when the shift amounts of several times up to the previous time are close to the limit value of
After the processing in step S37 or step S38, the MPU 177 sets forced recording end in the formatter circuit 174 to cause the formatter circuit 174 to interrupt the recording, and the formatter circuit 174 supplies a write error interrupt signal (step S39). When the off-track is detected in step S32, the recording in the data sector is interrupted. When the formatter circuit 174 supplies the write error interrupt signal through the processing in step S39, write stop interrupt processing is performed.
The write stop interrupt processing is performed when the recording is normally ended while the pieces of data are written in all the data sectors set by the formatter circuit 174, or when the data recording is ended at the mid point by setting the forced recording end in the formatter circuit 174 in the servo interrupt processing.
In the write stop interrupt processing, the MPU 177 determines whether or not the recording is normally ended (step S41). More particularly, the MPU 177 reads the setting of the formatter circuit 174 to determine whether or not the forced recording end is set in the servo interrupt processing. When the recording is normally ended, that is, when the forced recording end is not set (Yes in step S41), the MPU 177 determines whether or not the unrecorded data in which the recording is not performed exists in the data sector in which the recording is set in the normal write processing of
In the off-track state obtaining processing, the MPU 177 determines whether or not the notification that the write can be continued is made from the servo interrupt processing of
When the MPU 177 determines that the possibility of generating the off-track does not exist (No in step S53), the MPU 177 sets continuation write performance (step S54), and the off-track state obtaining processing is ended. More particularly, the MPU 177 sets a continuation write performance flag indicating the continuation write performance. On the other hand, when the MPU 177 determines that the possibility of generating the off-track exists (Yes in Step S53), or the MPU 177 determines that the notification that the write can be continued is made in step S51, the MPU 177 sets continuation write cancel (step S55), and the off-track state obtaining processing is ended. More particularly, the MPU 177 clears the continuation write performance flag indicating the continuation write performance.
Referring to
In the write error processing, the MPU 177 determines whether or not the continuation write is performed (Step S61). More particularly, the MPU 177 determines whether or not the continuation write performance flag is set. When the continuation write cancel is set (No in step S61), the MPU 177 determines that the recording is hardly continued without performing the seek processing again, the MPU 177 sets the write error flag while setting the number of the error sector, that is, the data sector in which the error is detected to interrupt the recording (step S62), and the write error processing is ended. The write error flag is referred to in the write end waiting processing of
Referring to
The MPU 177 sets the number of the data sector subsequent to the next servo sector at the resuming head sector, and the MPU 177 computes the number of data sectors in which the recording is resumed (Step S65). The recording from the resuming head sector to the last sector is set (Step S66) and write start-up is performed (Step S67). Therefore, the formatter circuit 174 sequentially reads the pieces of data from the data corresponding to the resuming head sector, performs the conversion of the data, and supplies the signal to the magnetic head 13. As a result, the recording is resumed from the data sector after the MPU 177 detects again that the magnetic head 13 is positioned at the track. In the example of the timing chart of
Referring to
The processing for detecting whether or not the off-track is generated in step S32 in the servo interrupt processing of
An example of the recording will be described with reference to
When the vibration is added at the time magnetic head 13 passes through the servo sector 0 in the first rotation of the magnetic disk 11, the shift amount obtained by reading the servo pattern of the servo sector 0 becomes out of the off-track slice range (
As a result of the write start-up setting processing, the formatter circuit 174 resumes the data recording to the data sectors from the data sector 6 subsequent to the servo sector 2. When the vibration is added at the time the magnetic head 13 passes through the servo sector 3, the data is unrecorded to the data sectors 9 to 14 subsequent to the servo sector 3, and the data recording is resumed from the data sector 15 subsequent to the servo sector 5. When the vibration is added at the time the magnetic head 13 passes through the servo sector 6, the data is unrecorded to the data sectors 18 to 20 subsequent to the servo sector 6. Thus, in the first rotation of the magnetic disk 11, the data recording in the data sector is interrupted by the vibration, the pieces of data are written in the data sectors 6 to 8 and the data sectors 15 to 17 although the data sectors 0 to 5, the data sectors 9 to 14, and the data sectors 18 to 20 are unrecorded.
In the first rotation, the recording is set in the normal write processing (step S48 of
Accordingly, in the example of
The retry processing in the case where the determination of the existence of the error is made (Yes in Step S22 of
In the normal retry processing, when the write start-up is performed before the sector in which the recording is interrupted by the error (Yes instep S71),the retry (recording retry) is performed from the servo sector antecedent to the servo sector in which the error is detected (step S72). On the other hand, when the write start-up is not performed before the sector in which the recording is interrupted by the error (No in step S71), the retry (recording retry) is performed from the data sector subsequent to the servo sector in which the error is detected (step S73).
The computation of the number of sectors in which the recording is performed (Step S74), the write start-up setting (Step S75), and the performance of the write start-up (Step S76) are similar to those in steps S11, S14, and S15 of
According to the basic mode described in the summary, the recording in the data sector whose recording is interrupted by vibrations waits for the next round of the magnetic disk. However, while waiting for the round, the recording is performed to the data sector after detecting again that the head is positioned at the track, so that the delay of the time to store the data can be suppressed.
Thus, in the basic mode of the information memory device, the control circuit thereof, and the recording method, the delay of the time necessary to store the data when vibrations are added is suppressed.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present invention(s) has(have) been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2008-133396 | May 2008 | JP | national |