Source: http://www.google.com/patents/US20030107958?ie=ISO-8859-1
Timestamp: 2015-03-27 04:31:12
Document Index: 638927081

Matched Legal Cases: ['art. 5', 'Application No. 10', 'art 31', 'art 31', 'art 30', 'art 31', 'art 32', 'art 33', 'art 34', 'art 30', 'art 30', 'art 30', 'art 31', 'art 32', 'art 31', 'art 33', 'art 32', 'art 34', 'art 32', 'art 33', 'art 35', 'art 35', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 32', 'art 33', 'art 35', 'art 31', 'art 32', 'art 33', 'art 35', 'art 31', 'art 32', 'art 33', 'art 35', 'art 33', 'art 32', 'art 33', 'art 34', 'art 32', 'art 33', 'art 32', 'art 33', 'art 31', 'art 32', 'art 33', 'art 34', 'art 32', 'art 33', 'art 35', 'art 32', 'art 33', 'art 35', 'art 33', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 32', 'art 33', 'art 35', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 30', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 30', 'art 31', 'art 32', 'art 33', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'art 34', 'application No. 2001']

Patent US20030107958 - Optical disk unit capable of reading out data normally and continuously ... - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsAn optical disk unit includes the following: a storage part temporarily storing data to be written to an optical disk; a processing part processing the data; an encoder part modulating and outputting the processed data; a writing control part controlling writing of the data to the optical disk; and a...http://www.google.com/patents/US20030107958?utm_source=gb-gplus-sharePatent US20030107958 - Optical disk unit capable of reading out data normally and continuously after suspension of data writingAdvanced Patent SearchPublication numberUS20030107958 A1Publication typeApplicationApplication numberUS 10/282,396Publication dateJun 12, 2003Filing dateOct 29, 2002Priority dateOct 30, 2001Also published asUS7151732, US7548498, US20070036045Publication number10282396, 282396, US 2003/0107958 A1, US 2003/107958 A1, US 20030107958 A1, US 20030107958A1, US 2003107958 A1, US 2003107958A1, US-A1-20030107958, US-A1-2003107958, US2003/0107958A1, US2003/107958A1, US20030107958 A1, US20030107958A1, US2003107958 A1, US2003107958A1InventorsMasaaki TsujiOriginal AssigneeRicoh Company, Ltd.Export CitationBiBTeX, EndNote, RefManClassifications (21), Legal Events (3) External Links: USPTO, USPTO Assignment, EspacenetOptical disk unit capable of reading out data normally and continuously after suspension of data writing
US 20030107958 A1Abstract
An optical disk unit includes the following: a storage part temporarily storing data to be written to an optical disk; a processing part processing the data; an encoder part modulating and outputting the processed data; a writing control part controlling writing of the data to the optical disk; and a writing command part detecting an occurrence of a state of suspension of supply of the data to the storage part and providing an operation command to the writing control part in accordance with the, detection result. In the case of suspending the writing of the data to the optical disk, the writing control part causes the processing and encoder parts to stop accessing the storage part by setting the processing and encoder parts in a wait state after the processing and encoder parts access the storage part, and causes the storing of the data in the storage part to be stopped. Images(13) Claims(13)
What is claimed is: 1. An optical disk unit for recording information on and reproducing information from an optical disk on which address information indicating a position of a part unrecorded with data is written, the optical disk unit comprising: a storage part temporarily storing data transferred from outside to be written to the optical disk so that predetermined processing is performed on the data; a processing part performing the predetermined processing on the data; an encoder part modulating, by a predetermined method, and outputting the data processed in said processing part; a writing control part controlling writing of the data to the optical disk by controlling said processing part and said encoder part and controlling storing of the data in said storage part; and a writing command part detecting an occurrence of a state of suspension of supply of the data to said storage part and providing an operation command to said writing control part in accordance with a result of the detection, wherein said writing control part, in the case of suspending the writing of the data to the optical disk, causes said processing part and said encoder part to stop accessing said storage part by setting said processing part and said encoder part in a wait state after said processing part and said encoder part access said storage part, and causes the storing of the data in said storage part to be stopped. 2. The optical disk unit as claimed in claim 1, wherein said writing control part performs abnormality detection on a variety of information read out from the optical disk at a time of writing the data, and suspends the writing of the data to the optical disk when said writing control part detects abnormality in the abnormality detection. 3. The optical disk unit as claimed in claim 2, wherein said writing command part commands said writing control part to restart the writing of the data at an end position of the writing of the data at the time of the suspension thereof when said writing control part determines, after detecting the abnormality and suspending the writing of the data, that the information read out from the optical disk is normal. 4. The optical disk unit as claimed in claim 1, further comprising an end position information storage part storing information indicating an end position of the writing of the data on the optical disk, wherein said writing control part, at a time of ending the writing of the data to the optical disk, stores information on the present position on the optical disk in said end position information storage part. 5. The optical disk unit as claimed in claim 4, wherein said writing control part detects the end position of the writing of the data stored in said end position information storage part based on position information obtained from data recorded on the optical disk. 6. The optical disk unit as claimed in claim 4, wherein said writing control part detects the end position of the writing of the data stored in said end position information storage part based on information indicating an absolute position of the unrecorded part of the optical disk, the information being preformed on the optical disk. 7. The optical disk unit as claimed in claim 5, wherein said writing control part, using a preset correction, corrects a delay time generated in reading and demodulating the position information obtained from the optical disk. 8. The optical disk unit as claimed in claim 5, wherein, in the case of writing data from the end position of the writing of the data, said writing control part detects the end position of the writing of the data stored in said end position information storage part after said writing command part performs, based on the information on the end position, a seek operation to move an optical pickup from the end position to a position preceding thereto by a predetermined value, the optical pickup being used for reading data from and writing data to the optical disk. 9. The optical disk unit as claimed in claim 5, wherein, in the case of writing data from the end position of the writing of the data, said writing control part detects the end position of the writing of the data stored in said end position information storage part after performing, based on the information on the end position, a seek operation to move an optical pickup from the end position to a position preceding thereto by a predetermined value, the optical pickup being used for reading data from and writing data to the optical disk. 10. The optical disk unit as claimed in claim 9, wherein, if data is not written from the end position of the writing of the data in the case of writing the data therefrom, said writing control part re-detects the end position of the writing of the data stored in the end position information storage part after re-performing, based on the information on the end position, the seek operation to move the optical pickup to the position preceding to the end position by the predetermined value after suspending the writing of the data to the optical disk. 11. The optical disk unit as claimed in claim 1, wherein said writing control part causes the data to be a space at an end position of the writing of the data and at a restart position of the writing of the data, the space showing data opposite to data at a time of a pit being formed on the optical disk. 12. The optical disk unit as claimed in claim 11, wherein said encoder part EFM-modulates, by the predetermined method, and outputs the data processed in said processing part; and said writing control part causes the data to be a space of an EFM frame sync at the end position and the restart position of the writing of the data. 13. The optical disk unit as claimed in claim 1, further comprising a clock signal generator part formed of a PLL circuit, the clock signal generator circuit generating, in order to perform CAV control, a writing reference clock signal in accordance with a rotation speed of the optical disk so that a phase of the writing reference clock signal is locked to a wobble signal read from the optical disk, the writing reference clock signal being used for obtaining timing with which the data is written to the optical disk.
BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to optical disk units, and more particularly to an optical disk unit for recording information on and reproducing information from DRAW-type (DRAW: Direct Read After Write) optical disks such as CD−R, CD−RW, DVD−R, DVD−RW, and DVD+RW disks. [0003] 2. Description of the Related Art [0004] Data recording on DRAW-type optical disks such as CD−R, CD−RW, DVD−R, DVD−RW, and DVD+RW disks should be completed in a single writing operation. A writing method for such a writing operation is called �Track at Once� or �Disk at Once.� If data is written to an optical disk at a higher rate than that at which the data is transferred from a host computer, thus resulting in data shortage in the middle of the writing operation, that is, if buffer under run occurs in the middle of the writing operation, the writing operation to the optical disk results in failure. [0005] The buffer under run is more likely to occur as the data writing rate becomes higher. Once the buffer under run occurs, it may cause fatal damage to a recording medium that is not rewritable, such as a CD−R disk. Conventionally, the occurrence of buffer under run is avoided by increasing the capacity of a buffer-RAM (formed of, for instance, a DRAM) or making the data writing rate lower than the data transfer rate. [0006] Japanese Laid-Open Patent Application No. 10-49990 discloses a technology not for avoiding the occurrence of buffer under run but for coping with the buffer under run by suspending data writing to an optical disk temporarily and restarting the data writing after a sufficient amount of data is transferred from a host computer to be stored in a buffer RAM in the case of the occurrence of buffer under run. Thereby, the data writing can be completed normally without failure even in the case of the occurrence of buffer under run, which could otherwise be fatal to the data writing. [0007] According to the recording control disclosed in the above-described patent application, data recording on the optical disk may be suspended and restarted frequently. Normally, data is transferred from the host computer to be stored temporarily in the buffer RAM, so that a predetermined parity is encoded and added to the data. Thereafter, the data is subjected to cross-interleave Reed-Solomon code (CIRC) coding and eight to fourteen modulation (EFM) to be recorded on the optical disk as recording data. At present, the buffer RAMs for the conventional optical disk units range from 5 Kbytes to 8 Mbytes in capacity. [0008] On the other hand, the recording rate for the CDs, for instance, which is 150 Kbytes per second at normal speed, is as high as 2.4 Mbytes per second at 16�speed. Therefore, with the recording rate becoming higher at the current pace, all of the data temporarily stored in the buffer RAM is recorded on the optical disk in a very short period of time. That is, if there is no transfer of new data from the host computer to the buffer RAM during this limited period of time, the buffer under run occurs so that the recording operation is suspended. Although the host computer connected to the optical disk unit boasts better performance, the optical disk unit should be prepared for frequent suspension and restarting of its recording operation so as to ensure stable operation to any host computer. [0009] Under the condition where the recording operation is frequently suspended and restarted, however, if the recording operation is controlled so that recording is restarted precisely from a position at which the recording was previously ended or suspended by detecting the position, and if there is a difference between absolute position information and the position of the recorded data on the optical disk, the difference accumulates to exceed a certain amount so that the recording may be prevented from being restarted. That is, as previously described, the maximum amount of data that is transferred from the host computer in a single transmission and can be stored in the buffer RAM is equivalent to the capacity of the buffer RAM. Thus, the recording operation should be suspended if there is no new data transfer from the host computer before recording of the data stored in the buffer RAM is completed. The possibility of the occurrence of this problem increases as the buffer RAM is reduced in capacity and/or the rate of recording data on the optical disk increases. SUMMARY OF THE INVENTION [0010] Accordingly, it is a general object of the present invention to provide an optical disk unit in which the above-described disadvantage is eliminated. [0011] A more specific object of the present invention is to provide an optical disk unit that can read out data normally and continuously from an optical disk, like data written thereto at a time without any interruption, even if the data writing is suspended and restarted from a position where the data writing is suspended. [0012] The above objects of the present invention are achieved by an optical disk unit for recording information on and reproducing information from an optical disk on which address information indicating a position of a part unrecorded with data is written. The optical disk unit includes the following: a storage part temporarily storing data transferred from outside to be written to the optical disk so that predetermined processing is performed on the data; a processing part performing the predetermined processing on the data; an encoder part modulating, by a predetermined method, and outputting the data processed in the processing part; a writing control part controlling writing of the data to the optical disk by controlling the processing part and the encoder part and controlling storing of the data in the storage part; and a writing command part detecting an occurrence of a state of suspension of supply of the data to the storage part and providing an operation command to the writing control part in accordance with a result of the detection, wherein the writing control part, in the case of suspending the writing of the data to the optical disk, causes the processing part and the-encoder part to stop accessing the storage part by setting the processing part and the encoder part in a wait state after the processing part and the encoder part access the storage part, and causes the storing of the data in the storage part to be stopped. [0013] According to the above-described optical disk unit, in the case of suspending data writing to the optical disk, the processing part and the encoder part are prevented from accessing the storage part after being set in a wait state after accessing the storage part, and storing of the data to be written to the optical disk is suspended. Therefore, interleaving can be controlled, and disturbance in a DSV operation can be prevented. Accordingly, the data can be read out from the optical disk just as data written thereto continuously without any interruption even if the data writing is restarted after being suspended. BRIEF DESCRIPTION OF THE DRAWINGS [0014] Other objects, features and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings, in which: [0015]FIG. 1 is a block diagram showing a configuration of an optical disk unit according to a first embodiment of the present invention; [0016]FIG. 2 is a diagram showing the format of a unit of data writing of CD−R or CD−RW defined in the Orange Book; [0017]FIG. 3 is a diagram showing a format in the case of writing the data shown in FIG. 2 in a plurality of times; [0018]FIG. 4 is a block diagram showing a configuration of a CD encoder of the optical disk unit of FIG. 1 according to the first embodiment of the present invention; [0019]FIG. 5 is a flowchart of a writing control operation in the optical disk unit of FIG. 1; [0020]FIG. 6 is a diagram showing the relationship between starting and end positions in writing data to an optical disk, the relationship being defined in the Orange Book; [0021]FIG. 7 is a diagram showing joining of data on the optical disk according to the first embodiment of the present invention; [0022]FIG. 8 is a diagram showing the relationship between a subcode sync and a frame sync on the optical disk and the relationship between the subcode sync and the frame sync after demodulation according to the first embodiment of the present invention; [0023]FIG. 9 is a diagram showing the relationship between an ATIP sync on the optical disk and the ATIP sync after demodulation according to the first embodiment of the present invention; [0024]FIG. 10 is a diagram showing a data joining condition on the optical disk according to the first embodiment of the present invention; [0025]FIG. 11 is a diagram showing an EFM data recorded on the optical disk according to the first embodiment of the present invention; [0026]FIG. 12 is a block diagram showing a configuration of an optical disk unit according to a second embodiment of the present invention; [0027]FIG. 13 is a block diagram showing a configuration of a CD encoder of the optical disk unit of FIG. 12; and [0028]FIG. 14 is a flowchart of a writing control operation in the optical disk of FIG. 12 according to the second embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0029] A description will now be given, with reference to the accompanying drawings, of embodiments of the present invention. [0030] [First Embodiment]
[0031]FIG. 1 is a block diagram showing a configuration of an optical disk unit 1 according to a first embodiment of the present invention. In the following description, a sync (synchronization) pattern is abbreviated as a sync. [0032] The optical disk unit 1 includes an optical pickup 3 that reads data from and writes data to an optical disk 2, which is a CD−R disk in this embodiment, by emitting a laser beam onto the optical disk 2. The optical pickup 3 includes a semiconductor laser emitting the laser beam, an optical system, a focus actuator, a tracking actuator, a light-receiving element, and a position sensor, which are not shown in the drawing. [0033] A data signal read from the optical disk 2 by the optical pickup 3 is amplified to be converted into a binary form (binarized) by a read amplifier 4. A CD decoder 5 decodes the data amplified and binarized in the read amplifier 4 by performing EFM demodulation and operations based on CIRC, such as deinterleaving and error correction. If the decoded data is music data (hereinafter referred to as CD data), the decoded data is subjected to digital-to-analog (D/A) conversion in a D/A converter 6 to be output as an audio signal. [0034] The CD decoder 5 also outputs the decoded CD data and personal computer data (hereinafter referred to as CD−ROM data) to a CD−ROM decoder 7. The CD−ROM decoder 7 stores the input data in a buffer RAM 9 via a buffer manager 8 whenever necessary, and performs error correction on the stored data in order to increase its reliability. Reading the stored data from the buffer RAM 9 and returning the error-corrected data to the buffer RAM 9 are also performed via the buffer manager 8 in the case of error correction. [0035] The data error-corrected by the CD−ROM decoder 7 is read out via the buffer manager 8 to be transferred to an external host computer HC through a host interface 10. The host interface 10, which provides interface with the host computer HC, is based on a standard such as ATAPI (Advanced Technology Attachment Packet Interface) or SCSI (Small Computer System Interface). [0036] ATIP (Absolute Time In Pregroove) data is recorded on the optical disk 2 in the manufacturing process thereof. When data is written to an unrecorded part of the optical disk 2, the optical pickup 3 reads out the ATIP data. That is, the optical pickup 3 reads out a wobble signal from the optical disk 2, and the wobble signal is amplified and binarized in the read amplifier 4 to be output to an ATIP decoder 11. [0037] The ATIP decoder 11 generates a synchronization signal (hereinafter referred to as an ATIP sync), time information (hereinafter referred to as ATIP time information), and the CRC (cyclic redundancy check) operation result of the ATIP data (hereinafter referred to as an ACRC result) from the input ATIP data, and outputs the ATIP sync, the ATIP time information, and the ACRC result to a CD encoder 12. In writing data to the unrecorded part of the optical disk 2, the CD encoder 12 uses the input ATIP data as important information for detecting a writing position on the optical disk 2. The ATIP sync and the ATIP time information enable the CD encoder 12 to start writing at an accurate position on the optical disk 2. [0038] Thus, in the unrecorded part of the optical disk 2, time information indicating a position on the optical disk 2 can be obtained only from the ATIP data. On the other hand, in the recorded part of the optical disk 2, the wobble signal is inferior in quality so as to prevent the ATIP decoder 11 from generating the ATIP sync and the ATIP time information with accuracy. However, subcode data as well as a subcode sync forming a synchronization signal is recorded on the recorded part of the optical disk 2. The CD decoder 5 processes the subcode data and outputs time information on the optical disk 2 to the CD encoder 12. Thus, the CD encoder 12 obtains the time information indicating a position on the optical disk 2 by using the subcode data in the case of writing data to the recorded part of the optical disk 2. [0039] Data to be written to the optical disk 2 is transferred from the host computer HC to the buffer RAM 9 via the buffer manager 8. A CD−ROM encoder 13 reads data from the buffer RAM 9 via the buffer manager 8, adds an error-correcting code, an EDC (Error-Detecting Code), a SYNC code, and header information to the read data, and writes back the data to the buffer RAM 9. [0040] The CD−ROM encoder 13 also reads prepared data from the buffer RAM 9 via the buffer manager 8, and writes the read-out data to a CIRC operation RAM part 31 (will be later described) of the CD encoder 12. The CD encoder 12 performs CIRC operations on the data in the CIRC operation RAM part 31, adding an error-correcting code to and interleaving the data. After the CIRC operations, the CD encoder 12 EFM-modulates and outputs the data. The output data of the CD encoder 12 is recorded on the optical disk 2 via a laser control circuit 14 and the optical pickup 3. [0041] The wobble signal obtained from the optical disk 2 is input to a servo circuit 15 via the optical pickup 3 and the read amplifier 4, and a rotation control signal generated in the servo circuit 15 is supplied to a motor driver 16 to a spindle motor 17. The CD decoder 5, the CD−ROM decoder 7, the host interface 10, the ATIP decoder 11, the CD encoder 12, and the CD−ROM encoder 13 are controlled by a CPU 20. [0042]FIG. 2 is a diagram showing the format of a unit of data writing (data writing unit) of CD−R or CD−RW defined in the Orange Book (�Recordable CD Standard,� a specifications book written by the Sony and Philips Corporations, published in 1990). Normally, due to deinterleaving and synchronization establishment at the time of reproducing data recorded on the optical disk 2, the data cannot be read out completely from a user data block only by writing the data thereto. Therefore, the user data block is protected by the preceding five and the succeeding two redundancy blocks so as to ensure that the data is read out. [0043] The five preceding blocks to the user data block are composed of a link block LB and the first through fourth run-in blocks RIB1 through RIB4. The two succeeding blocks to the user data block are composed of the first and second run-out blocks ROB1 and ROB2. [0044]FIG. 3 is a diagram showing a format in the case of writing the data shown in FIG. 2 in a plurality of times. In FIG. 3, at the time of writing the data, the CD encoder 12 executes a �Start Write (StartW)� command when the data is received from the host computer HC to be stored in the buffer RAM 9. [0045] Further, when the data is running short in the buffer RAM 9 after the CD encoder 12 starts writing the data to the optical disk 2, so that buffer under run is likely to occur, the CD encoder 12 executes a �Pause Write (PW)� command to suspend (stop temporarily) the data writing to the optical disk 2. Thereafter, the CD encoder 12 waits for data transfer from the host computer HC, and when the buffer RAM 9 is filled with the transferred data, the CD encoder 12 executes a �Restart Write (ReW)� command. At this point, the CD encoder 12 detects the position at which the data writing is suspended by PW, and restarts the data writing at that position and continues the data writing. [0046] Thus, the CD encoder 12 suspends data writing by PW when data is running short in the buffer RAM 9, and restarts the data writing by ReW when the buffer RAM 9 is filled with new data. The CD encoder 12 repeats this suspension and restarting of data writing an appropriate number of times. When all of the writing data (data to be written) transferred from the host computer HC is written to the optical disk 2, the CD encoder 12 finally executes a �Stop Write (StopW)� command to complete the data writing. By the above-described data processing, the data shown in FIG. 2 can be written in a plurality of times as-shown in FIG. 3 as if written in a single writing operation Here, a description will be given of the operation flow of the writing control operations of the components of the optical disk unit 1 shown in FIG. 1. [0047] First, the CPU 20 issues the StartW command so that the CD encoder 12 starts data writing to the optical disk 2. Next, the buffer manger 8 receives data transferred from the host computer HC. The received data is stored in the buffer RAM 9, and the CPU 20 checks and determines, by a predetermined method, whether the data stored in the buffer RAM 9 is reduced to a predetermined amount. [0048] If the data stored in the buffer RAM 9 is not reduced to the predetermined amount, the CPU 20 determines, based on predetermined firmware, whether the data writing to the optical disk 2 is completed. If the data writing to the optical disk 2 is completed, the CPU 20 issues the StopW command to the CD encoder 12 so as to terminate the data writing operation. If the data writing to the optical disk 2 is not completed, the CD encoder 12 continues the data writing to the optical disk 2. [0049] On the other hand, if the CPU 20 determines that the data stored in the buffer RAM 9 is reduced to the predetermined amount, the CPU 20 issues the PW command to the CD encoder 12 so as to suspend the data writing to the optical disk 2. Next, the buffer manager 8 receives data transferred from the host computer HC. The received data is stored in the buffer RAM 9. The CPU 20 checks and determines, by a predetermined method, whether the data stored in the buffer RAM 9 has increased to a predetermined amount. [0050] If the CPU 20 determines that the predetermined amount of data is stored in the buffer RAM 9, the CPU 20 issues the ReW command to the CD encoder 12 so as to restart the data writing to the optical disk 2, while the buffer manager 8 receives data transferred from the host computer HC and stores the received data in the buffer RAM 9. If the CPU 20 determines that the predetermined amount of data is not yet stored in the buffer RAM 9, the buffer manager 8 continues receiving data transferred from the host computer HC and storing the received data in the buffer RAM 9. [0051] Thus, receiving a WRITE command and a certain amount of data from the host computer HC, the CPU 20 issues the StartW command to start data writing. The StartW command is a normal write sequence starting from a link block, and the data writing to the optical disk 2 and data transfer from the host computer HC are repeated for a predetermined length. If the rate of data transfer from the host computer HC is lower than the rate of data writing to the optical disk 2 during the data writing, the data stored in the buffer RAM 9 is reduced so as to prevent the data writing from being continued. [0052] Therefore, when the CPU 20 detects a decrease in the amount of data stored in the buffer RAM 9 and determines that the amount of data transferred from the host computer HC is not enough to compensate for the decrease, the CPU 20 issues the PW command to suspend the data writing. Suspension of data writing by the PW command is a write sequence that temporarily stops data writing without writing run-out blocks. [0053] Thereafter, when a sufficient amount of data is received from the host computer HC and stored in the buffer RAM 9, the CPU 20 issues the ReW command. Data writing by the ReW command is a write sequence in which, unlike in the normal write sequence, no data is written to the link block. Instead, the data writing is restarted exactly at the end of the data already written by the time of the suspension of the data writing. The data writing continues from that restarting point so that data continuity is maintained over the restarting point, which is positioned so that synchronization is maintained in the data writing. When predetermined data is written to the optical disk 2, the CPU 20 issues the StopW command. Completion of data writing by the StopW command is a normal write sequence in which run-out blocks are written. [0054] As described above, the optical disk unit 1 monitors the amount of data stored in the buffer RAM 9 during the write sequence, and repeats the PW and ReW operations as required in order to prevent writing failure due to buffer under run. Thereby, when data transfer from the host computer HC does not catch up with data writing to the optical disk 2, the data writing is suspended temporarily, and is restarted when a sufficient amount of data has been transferred from the host computer. Therefore, even if data transfer from the host computer HC is temporarily stopped or the rate of data transfer is temporarily reduced, the data can be written normally to the optical disk 2 in a plurality of times so that writing failure can be avoided. Further, the capacity of the buffer RAM 9 absorbing the pulsations of data transfer can be reduced so that the optical disk unit 1 can be reduced in cost. [0055] Next, a description will be given in more detail, with reference to FIG. 4, of the operation of writing data to the optical disk 2 by the CD encoder 12. FIG. 4 is a block diagram showing a configuration of the CD encoder 12. [0056] According to FIG. 4, the CD encoder 12 includes a clock signal generator part 30, the CIRC operation RAM part 31, a CIRC operation part 32, an EFM encoder part 33, and a writing control part 34. The clock signal generator part 30 is formed of a clock generator including a phase-locked loop (PLL) circuit. [0057] The clock signal generator part 30 generates a channel clock signal that is a reference clock signal for writing required in the CD encoder 12 from, for instance, a clock signal of 33.8688 MHz input from a crystal oscillator (not shown in the drawing). The clock signal generator part 30 outputs the channel clock signal to each part of the CD encoder 12. The CIRC operation RAM part 31 temporarily stores writing data read out from the buffer RAM 9 by the CD−ROM encoder 13 in order to perform the CIRC operations. [0058] The CIRC operation part 32 performs the CIRC operations on the data stored in the CIRC operation RAM part 31, adding the error-correcting code to and interleaving the data. The EFM encoder part 33 EFM-modulates the data processed in the CIRC operation part 32 based on a predetermined method, and outputs the EFM-modulated data to the laser control circuit 14. The writing control part 34, based on instructions from the CPU 20, generates and outputs writing control signals (for controlling data writing) to the CIRC operation part 32, the EFM encoder part 33, and a CD interface part 35 in the CD−ROM encoder 13. The CD interface part 35 of the CD−ROM encoder 13 establishes interface with the CD encoder 12. [0059] Specifically, the writing control part 34 generates and outputs a predetermined write signal W and a predetermined pause signal P to the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 when the CPU 20 inputs the StartW command and the PW command to the writing control part 34, respectively. Further, the writing control part 34 generates and outputs a predetermined pause cancellation signal PX and a predetermined stop signal S to the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 when the CPU 20 inputs the ReW command and the StopW command to the writing control part 34, respectively. In FIG. 4, �A� indicates address data, �D� indicates data, �Req� indicates a request signal, and �Ack� indicates an acknowledge signal. [0060] According to this configuration, when the CPU 20 outputs the PW command, the writing control part 34 causes the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 to continue data writing up to a preset writing end EFM frame and suspend the data writing after the end of the EFM frame is written. When the data writing reaches the end of the EFM frame, the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35, which access the CIRC operation RAM part 31 in order to generate writing data, have completed the operations and reading required in the EFM frame. Therefore, the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 are caused to wait in that state. [0061] In this wait state, the operation of generating the address data, the data, the request signal, and the acknowledge signal is suspended between the CIRC operation RAM part 31 and each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35. Further, the EFM encoder part 33 stops outputting signals for writing, such as an EFM signal and a write gate signal WGATE. Since the outputting of the write gate signal WGATE is thus suspended, the data writing to the optical disk 2 is also suspended. [0062] In the conventional optical disk unit, the occurrence of buffer under run causes data writing to the optical disk 2 to result in failure. This is partly because the same state as that before the occurrence of the buffer under run cannot be created at the time of restarting the data writing since interleaving is performed at the time of generating writing data in the CIRC operation part 32. Further, this is also because a DSV (Digital Sum Value) operation performed in the EFM encoder part 33 is disturbed at the time of restarting the data writing. According to the optical disk unit 1 of the present invention, receiving the PW command from the CPU 20, the writing control part 34 controls the CD−ROM encoder 13, the CIRC operation part 32, and the EFM encoder part 33 so that each of the CD−ROM encoder 13, the CIRC operation part 32, and the EFM encoder part 33 enters a wait state to stop accessing the CIRC operation RAM part 31 after completing the current access thereto and restarts its operation with the restart of the data writing. Thereby, interleaving in the CIRC operation part 32 is controlled. Further, by putting the EFM encoder part 33 in a wait state at the same time, the disturbance of the DSV operation can also be avoided. [0063] Therefore, even if writing of data includes suspension and restarting, the written data can be read from the optical disk 2 as normally as data written continuously without any suspension. [0064] In the above-described suspension state, when the CPU 20 outputs the ReW command, the writing control part 34 detects a writing restart position (at which the data writing is restarted) as will be described later, and outputs the pause cancellation signal PX to each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 in a wait state by the pause signal P. Thereby, each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 restarts its operation from where the operation is suspended, so that the EFM encoder part 33 restarts outputting the EFM signal and the write gate signal WGATE. By restarting outputting the write gate signal WGATE, the data writing to the optical disk 2 is restarted from the position at which the data writing is suspended (suspended position). [0065] Thus, data is written to the optical disk 2 so that its continuity can be maintained between the suspended position and the restart position of the data writing. Therefore, the data can be read from the optical disk 2 with accuracy and continuity even if its writing operation included suspension and restarting. [0066]FIG. 5 is a flowchart of the writing control operation in the optical disk unit 1 shown in FIGS. 1 through 4. [0067] In step S1 of FIG. 5, the CPU 20 issues the StartW command to the writing control part 34. In step S2, the writing control part 34 outputs the predetermined write signal W to each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 so as to start an operation of writing data to the optical disk 2. Next, in step S3, the buffer manager 8 receives data transferred from the host computer HC, and stores the received data in the buffer RAM 9. In step S4, the CPU 20 determines, by the predetermined method, whether the data stored in the buffer RAM 9 is reduced to the predetermined amount. [0068] If the CPU 20 determines in step S4 that the stored data is not reduced to the predetermined amount (that is, �NO� in step S4), in step S5, the CPU 20 determines, based on the predetermined firmware, whether the data writing to the optical disk 2 is completed. If the CPU 20 determines in step S5 that the data writing is completed (that is, �YES� in step S5), in step S6, the CPU 20 issues the StopW signal to the writing control part 34. Then, in step S7, the writing control part 34 outputs the predetermined stop signal S to each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 so as to terminate the data writing operation. If the data writing is not completed in step S5 (that is, �NO� in step S5), the operation returns to step S2. [0069] If the CPU 20 determines in step S4 that the stored data is reduced to the predetermined amount (that is, �YES� in step S4), in step S8, the CPU 20 issues the PW command to the writing control part 34. Then, in step S9, the writing control part 34 outputs the predetermined pause signal P to each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 so as to suspend the data writing to the optical disk 2. Next, in step S10, the buffer manager 8 receives data transferred from the host computer HC, and stores the received data in the buffer RAM 9. Then, in step S11, the CPU 20 determines, by the predetermined method, whether the buffer RAM 9 is filled with the transferred data, that is, whether the predetermined amount of data is stored in the buffer RAM 9. [0070] If the CPU 20 determines in step S11 that the predetermined amount of data is stored in the buffer RAM 9 (that is, �YES� in step S11), in step S12, the CPU 20 issues the ReW command to the writing control part 34. In step S13, the writing control part 34 outputs the predetermined pause cancellation signal PX to each of the CIRC operation part 32, the EFM encoder part 33, and the CD interface part 35 so as to restart the data writing to the optical disk 2. Thereafter, the operation returns to step S3. If the CPU 20 determines in step S11 that the predetermined amount of data is not stored in the buffer RAM 9 (that is, �NO� in step S11), the operation returns to step S10 so that the data writing is continued. [0071] Next, a description will be given of the writing restart position (a position at which data writing is restarted). [0072]FIG. 6 is a diagram showing the relationship between starting and end positions in writing data to the optical disk 2, the relationship being defined in the Orange Book. As shown in FIG. 6, the Orange Book allows a considerably large overlap of four EFM frames of data. Such a large data overlap causes loss of frame synchronization and thus prevents normal data reproduction even in an optical disk unit for CDs having a high capability of error correction. Such a large allowable value, which is provided in order to absorb rotation control error in a spindle motor, is possible because the next writing start position is determined based on an ATIP sync demodulated from a wobble signal irrespective of already written data. [0073] In order to reproduce data without loss of synchronization at a joining part of data in data recording, a format as shown in FIG. 7 is employed considering the width of a frame synchronization protection window. That is, in order to write data so that the data can be reproduced without loss of synchronization, it is required to form a joining part of data in data recording with an error being restricted to the range of approximately �2 bit clocks. It is difficult to determine a writing start position with such accuracy by controlling data writing based on the accuracy of rotation control of the spindle motor as in the conventional optical disk unit. [0074] Therefore, in the optical disk unit 1 according to the first embodiment of the present invention, when the CPU 20 outputs the PW command, the writing control part 34 obtains and stores, in its built-in register, information on how many EFM frames has been written so far including the currently written EFM frame based on time information at that point and a subcode sync (S0 or S1) to be written, and completes writing of the currently written EFM frame until its end. Then, the writing control part 34 suspends the data writing. In the operation of restarting the data writing in which the CPU 20 outputs the ReW command, the CPU 20 reads out the position at which the data writing is suspended on the optical disk 2 from the register of the writing control part 34. The CPU 20 confirms the suspended position and performs a seek operation so as to locate a seek position, that is, a position preceding to the suspended position in the direction of writing. Since the information indicating the suspended position is stored in the resister (suspended position information storage part) of the writing control part 34, the seek position and the restart position can be determined easily. [0075] After the seek operation performed by the CPU 20, the writing control part 34 proceeds, based on the ATIP time information or subcode time information, to the time position at which the data writing was suspended, and waits for the subcode sync (S0 or S1). When the writing control part 34 detects the subcode sync, the writing control part 34 waits for n EFM frame sync counts, n being the number of EFM frames stored in the register at the time of suspending the data writing. At the time of suspending data writing, the writing control part 34 always suspends the data writing at a point at which a frame sync is written. Therefore, by restarting the data writing after waiting for the demodulation delay time of the frame sync from that point, data joining can be performed with accuracy on the optical disk 2. [0076] By comparing the current position on the optical disk 2 and the suspended position information stored in the register of the writing control part 34 and automatically restarting the data writing when the current position matches the suspended position, a load on the CPU 20 can be reduced. [0077] If data writing is not restarted normally because the suspended position stored in the register of the writing control part 34 cannot be detected, another seek operation is performed to retry to restart the data writing. In such a case, however, the data writing may be restarted with the suspended position detected in an unstable reading condition. Therefore, at the time of retrying data writing, the data writing can be prevented from being restarted in an unstable condition by detecting the suspended position after its reading condition is stabilized after the seek operation. [0078]FIG. 8 is a diagram showing the relationship between the subcode sync and the frame sync on the optical disk 2 and the relationship between the subcode sync and the frame sync after demodulation. The subcode and frame syncs shown in FIG. 8 are signals that can also be obtained in the case of using an inexpensive general-purpose LSI only for a CD decoding function. As shown in FIG. 8, a characteristic demodulation delay is generated in demodulating the subcode sync and the frame sync. In order to join data with accuracy on the optical disk 2 at the time of restarting data writing, the demodulation delay should be corrected. By enabling the writing control part 34 to set the amount of correction to any value, the demodulation can be corrected in any of an optical pickup unit and a decoder irrespective of the difference therebetween, so that the data writing can be restarted with accuracy. [0079] On the other hand, in the case of writing data to an optical disk, in some cases, a pseudo writing operation for checking a series of operation (hereinafter this operation is referred to as a test write) is performed, instead of writing actual data, in order to check whether data writing can be terminated normally. Unlike in actual data writing, no data is written to the optical disk 2 in the test write. Therefore, when the operation of suspending and restarting data writing is performed at the time of the occurrence of buffer under run in the test write, the data writing cannot be restarted by detecting such data already written on the optical disk 2 as previously described. In this case, the data writing can be restarted normally with no data written on the optical disk 2, which may be a CD−R, CD−RW, DVD−R, DVD−RW, or DVD+RW optical disk, by starting the data writing in timing with the wobble signal recorded on the optical disk 2. [0080]FIG. 9 is a diagram showing the relationship between the ATIP sync on the optical disk 2 and the ATIP sync after demodulation. As shown in FIG. 9, a characteristic demodulation delay is also generated in demodulating the wobble signal in the case of performing positioning (determining the restart position with respect to the suspended position) using the ATIP sync in the test write. In order to join data with accuracy on the optical disk 2 at the time of restarting data writing, the demodulation delay should be corrected. By enabling the writing control part 34 to set the amount of correction to any value, the demodulation can be corrected in any of an optical pickup unit and a decoder irrespective of the difference therebetween, so that the data writing can be restarted with accuracy. [0081] Further, as shown in FIG. 10, if data written before suspension of data writing and data to be written after restarting of the data writing are both pits so that a gap is formed at the joining position (part) of the data by a positioning error at the time of restarting the data writing, a space corresponding to the gap is erroneously formed, that is, a pitless state is created. The PLL of the CD decoder 5 for data reading is also controlled by the maximum or minimum length of a pit or space determined by a standard. Therefore, if there is a space that does not meet the standard in length, the operation of the PLL may be disturbed. Therefore, by causing both of the previous and next data to be spaces, the above-described problem can be avoided even if the gap is formed at the data joining position. [0082] Further, as shown in FIG. 11, two types of EFM data are generated from an EFM code as EFM data actually recorded on the optical disk 2. When margin bits start with a space and a sync code starts with a pit, data are connected by the margin bits. Therefore, even if the margin bits, which are normally predetermined as 3T in length as shown in FIG. 11 (T indicates one cycle of the clock signal CK), become longer than 3T due to a variation in the rotation of the spindle motor or loss of synchronization, the data can be read out normally if the sync pattern can be recognized by synchronization protection in the CD decoder 5. That is, both subcode data and main data can be read out without including errors. The clock signal CK in FIGS. 10 and 11 indicates the channel clock signal. [0083] Generally, the CD decoder 5 performs synchronization protection on a sync part and error correction on a data part in consideration of reading failure at the time of reading out data. In light of such synchronization protection, it is also desirable to join data in the sync part. Further, with the function of joining data in a space in the sync pattern as described above, positioning error in data writing can be eliminated using the synchronization protection function of the CD decoder 5. [0084] The above description is given of the case where data is written to an optical disk by CLV (Constant Linear Velocity) control. Since the CLV control is performed, there arise the above-described problems of what to do with the gap formed at a data joining position and how to join data. Thus, in the CLV control, which performs rotation control based on a write-system clock signal, error is caused in rotation control of the spindle motor due to the phase difference between a read-system clock signal and the write-system clock signal. Therefore, the CLV control may inevitably generate positioning error at a data joining position. Further, there is the problem that sampling error may occur even if a variation in the rotation of the optical disk due to the phase difference between the write-system clock signal and the read-system clock signal is minimized. [0085] On the other hand, in CAV (Constant Angular Velocity) control where control is performed so that a PLL is �locked� to a wobble signal read from the optical disk in accordance with the rotation speed of the disk, the suspended position and the restart position of data writing can be determined based on the wobble signal. That is, since the CAV control is performed so that a reference clock signal for data writing is generated to have its phase locked to the wobble signal read out from the optical disk 2 in accordance with the rotation speed thereof, the suspended position and the restart position of data writing can be determined based on the wobble signal. Therefore, the positioning error generated at the data joining position in the CLV control can be reduced in the CAV control. Further, in the CAV control, the write-system clock signal follows the movement of the spindle motor. Therefore, a variation in the rotation of the optical disk can be totally ignored, and synchronization can be established between the write-system and the read-system. Accordingly, generation of sampling error can be controlled. [0086] In the case of performing the CAV control, the clock signal of 33.8688 MHz input from the crystal oscillator to the clock signal generator part 30 of FIG. 4 is replaced by the binarized wobble signal supplied through the ATIP decoder 11. The clock signal generator 30 generates the channel clock signal from the input wobble signal, and outputs the channel clock signal to each part of the CD encoder 12. [0087] Thus, in the optical disk unit 1 of the first embodiment, when the PW command is issued, the writing control part 34 obtains and stores, in its built-in register, information on how many EFM frames has been written so far including the currently written EFM frame based on time information at that point and a subcode sync to be written, and completes writing of the currently written EFM frame until its end. Then, the writing control part 34 suspends the data writing. When the ReW command is issued, the writing control part 34 proceeds, based on the ATIP time information or subcode time information, to the time position at which the data writing was suspended, and waits for the subcode sync. When the writing control part 34 detects the subcode sync, the writing control part 34 restarts the data writing from the position corresponding to the nth EFM frame sync count, n being the number of EFM frames stored in the register at the time of suspending the data writing. Thereby, data can be joined with accuracy on the optical disk 2 at the time of restarting data writing, so that at the time of suspending and restarting the data writing due to the occurrence of buffer under run, the data writing can be performed as if the data were written continuously. [0088] [Second Embodiment]
[0089] In the first embodiment, if buffer under run occurs during data writing to the optical disk, the data writing is suspended temporarily, and is restarted after receiving data from the host computer. On the other hand, the wobble signal read out from the optical disk 2 may not be demodulated normally due to a track jump caused by impact on the optical disk unit and/or a flaw on the optical disk. [0090] Therefore, in the optical disk unit 1 of the first embodiment, when a factor of emergency writing suspension, such as tracking error or spindle abnormality, is detected, data writing to the optical disk may be suspended, and be restarted after the suspension factor disappears, which is realized in a second embodiment of the present invention. [0091]FIG. 12 is a block diagram showing a configuration of an optical disk unit 1 a according to the second embodiment of the present invention. In FIG. 12, the same elements as those of FIG. 1 are referred to by the same numerals, and a description thereof will be omitted. Only the difference between the optical disk units 1 and 1 a of FIGS. 1 and 12, respectively, will be described below. The optical disk 2 is a CD−R disk in this embodiment as well. [0092] The optical disk unit 1 a of FIG. 12 is different from the optical disk unit 1 of FIG. 1 in that when the wobble signal read out from the optical disk 2 cannot be demodulated normally due to tracking error or spindle abnormality, an ATIP decoder 11 a and a servo circuit 15, which replace the ATIP decoder 11 and the servo circuit 15 of FIG. 1, respectively, outputs respective signals indicating the occurrence of abnormality (abnormality signals) to a CD encoder 12 a, which replaces the CD encoder 12 of FIG. 1, so as to suspend data writing to the optical disk 2. [0093] In FIG. 12, when the wobble signal is prevented from being demodulated normally due to a flaw on the optical disk 2 so that the servo circuit 15 a is prevented from performing servo control normally, the servo circuit 15 a outputs the abnormality signal to the CD encoder 12 a. Then, the CD encoder 12 a performs �Pause Write,� the operation based on the PW command, immediately suspending data writing to the optical disk 2. At this point, the ATIP decoder 11 a also outputs the abnormality signal to the CD encoder 12. However, the ATIP decoder 11 a detects the occurrence of abnormality after reading the wobble signal to some extent, and outputs the abnormality signal to the CD encoder 12 a. Therefore, the abnormality signal supplied from the servo circuit 15 a is input to the CD encoder 12 a earlier than the abnormality signal supplied from the ATIP decoder 11 a. [0094] On the other hand, if a track jump occurs due to impact, the CD encoder 12 a detects abnormality in the input ATIP time information decoded in the ATIP decoder 11 a. When the CD encoder 12 a detects abnormality, the CD encoder 12 a performs �Pause Write,� immediately suspending data writing to the optical disk 2. At this point, the abnormality signal indicating servo abnormality is also input to the CD encoder 12 a from the servo circuit 15 a. However, the abnormality signal is input to the CD encoder 12 a for a very short period of time. Therefore, the CD encoder 12 a may not immediately suspend the data writing and perform �Pause Write� in response to the abnormality signal. [0095]FIG. 13 is a block diagram showing a configuration of the CD encoder 12 a. In FIG. 13, the same elements as those of FIG. 4 are referred to by the same numerals, and a description thereof will be omitted. Only the difference between the CD encoders 12 and 12 a of FIG. 4 and FIG. 13, respectively, will be described below. [0096] In FIG. 13, the CD encoder 12 a includes the clock signal generator part 30, the CIRC operation RAM part 31, the CIRC operation part 32, the EFM encoder part 33, and a writing control part 34 a. [0097] When the writing control part 34 a detects a factor of emergency writing suspension, such as tracking error or spindle abnormality, from the ATIP time information and the ATIP abnormality signal input from the ATIP decoder 11 a or the servo abnormality signal input from the servo circuit 15 a, the writing control part 34 a performs �Pause Write� as described in the first embodiment and suspends data writing. At this point, the writing control part 34 a performs the same operation as the writing control part 34 of the first embodiment performs when the CPU 20 issues the PW command. Further, the writing control part 34 a writes a status indicating the suspension of the data writing to its built-in register (not shown in the drawing). The CPU 20 reads the status written to the register by the writing control part 34 a and recognizes �Pause Write� performed by the writing control part 34 a. [0098] Further, when the writing control part 34 a determines, from the ATIP time information and the ATIP abnormality signal input from the ATTP decoder 11 a or the servo abnormality signal input from the servo circuit 15 a, that the factor of emergency writing suspension has disappeared, the writing control part 34 a writes a status indicating the disappearance of the factor to its built-in register. The CPU 20 reads the status written to the register by the writing control part 34 a, and recognizes the disappearance of the factor of emergency writing suspension, outputting the ReW command to the writing control part 34 a. [0099] Then, the writing control part 34 a performs the same operation as the writing control part 34 of the first embodiment performs when the CPU 20 outputs the ReW command. Except for the above-described operations, the same operations as performed in the ATIP decoder 11, the servo circuit 15, and the writing control part 34 are performed in the ATIP decoder 11 a, the servo circuit 15 a, and the writing control part 34 a, and a description thereof will be omitted. [0100] The following cases are considered as factors of emergency suspension of data writing to the optical disk 2. If the continuity of the ATIP time information input from the ATIP decoder 11 a is broken, that is, if complementary data and demodulated data are compared and the demodulated data does not match the complementary data although its ACRC result is OK, the writing control part 34 a considers that the data continuity is broken, and performs �Pause Write.� Further, when the number of consecutive times the ACRC result is determined to be NG exceeds a predetermined allowable value, the writing control part 34 a performs �Pause Write.� [0101] When the ATIP sync to be detected cannot be detected, the ATIP decoder 11 a interpolates the ATIP sync. When the number of interpolations exceeds an allowable value, the ATIP decoder 11 a outputs a predetermined ATIP abnormality signal to the writing control part 34 a. When the ATIP abnormality signal is input to the writing control part 34 a, the writing control part 34 a performs �Pause Write.� The ATIP sync is defined so that the offset between the ATIP sync and the subcode sync to be written to the optical disk 2 is smaller than or equal to a specified value. If the offset exceeds the specified value, the writing control part 34 a performs �Pause Write.� Specifically, the writing control part 34 a performs �Pause Write� if the ATIP sync cannot be detected within a window showing the �2 EFM frames defined in the Orange Book. [0102] On the other hand, when the phase comparison result of spindle servo exceeds an allowable value, the servo circuit 15 a outputs a predetermined servo abnormality signal to the writing control part 34 a, so that the writing control part 34 a performs �Pause Write.� Further, the servo circuit 15 a detects impact on a part driving the optical disk 2. When the servo circuit 15 a detects impact, the servo circuit 15 a outputs a predetermined signal to the writing control part 34 a, so that the writing control part 34 a performs �Pause Write.�
[0103]FIG. 14 is a flowchart of the writing control operation in the optical disk 1 a shown in FIGS. 12 and 13. In FIG. 14, the same steps as those of FIG. 5 are referred to by the same numerals (although the writing control part 34 of the first embodiment should be replaced by the writing control part 34 a of the second embodiment), and a description thereof will be omitted. Only the difference between the operations of FIGS. 5 and 14 will be described below. [0104] The operation of FIG. 14 is different from that of FIG. 5 in that step S21 is provided between steps S1 and S2 of FIG. 5, step S22 is provided between steps S2 and S3 of FIG. 5, step S23 is provided between step S3 and S4 of FIG. 5, and step S24 is provided between steps S9 and S10 of FIG. 5. [0105] In FIG. 14, after performing step S1 (of FIG. 5), in step S21, the writing control part 34 a determines, from signals input from the ATIP decoder 11 a and the servo circuit 15 a, whether there is the occurrence of a factor of emergency writing suspension, such as tracking error or spindle abnormality. If the writing control part 34 a determines in step S21 that there is the occurrence of a factor of emergency writing suspension (that is, �YES� in step S21), step S9 is performed. If the writing control part 34 a determines in step S21 that there is no occurrence of a factor of emergency writing suspension (that is, �NO� in step S21), step S2 is performed. Thereafter, in step S22, the writing control part 34 a again determines, from signals input from the ATIP decoder 11 a and the servo circuit 15 a, whether there is the occurrence of a factor of emergency writing suspension, such as tracking error or spindle abnormality. [0106] If the writing control part 34 a determines in step S22 that there is the occurrence of a factor of emergency writing suspension (that is, �YES� in step S22), step S9 is performed. If the writing control part 34 a determines in step S22 that there is no occurrence of a factor of emergency writing suspension (that is, �NO� in step S22), step S3 is performed. Thereafter, in step S23, the writing control part 34 a again determines, from signals input from the ATIP decoder 11 a and the servo circuit 15 a, whether there is the occurrence of a factor of emergency writing suspension, such as tracking error or spindle abnormality. [0107] If the writing control part 34 a determines in step S23 that there is the occurrence of a factor of emergency writing suspension (that is, �YES� in step S23), step S9 is performed. If the writing control part 34 a determines in step S23 that there is no occurrence of a factor of emergency writing suspension (that is, �NO� in step S23), steps S4 through S7 are performed, and the operation ends. If the data writing is not completed in step S5 (that is, �NO� in step S5), the operation returns to step S21. [0108] After performing step S9, in step S24, the writing control part 34 a determines, from signals input from the ATIP decoder 11 a and the servo circuit 15 a, whether there is the occurrence of a factor of emergency writing suspension, such as tracking error or spindle abnormality. If the writing control part 34 a determines in step S24 that there is the occurrence of a factor of emergency writing suspension (that is, �YES� in step S24), step S9 is performed. If the writing control part 34 a determines in step S24 that there is no occurrence of a factor of emergency writing suspension (that is, �NO� in step S24), steps S10 through S13 are performed, and thereafter, the operation returns to step S22. [0109] Thus, in the optical disk unit 1 a of the second embodiment, when a factor of emergency writing suspension, such as tracking error or spindle abnormality, is detected from the ATIP time information and the ATIP abnormality signal input from the ATIP decoder 11 a or the servo abnormality signal input from the servo circuit 15 a, �Pause Write� as described in the first embodiment is performed to suspend data writing, and �Restart Write� (the operation based on the ReW command) as described in the first embodiment is performed to restart the data writing from the suspended position when the suspension factor disappears. Therefore, data writing to the optical disk 2 can be performed normally without any failure even if suspension of the data writing is urgently required due to spindle abnormality or tracking error during the data writing. [0110] The present invention is not limited to the specifically disclosed embodiments, but variations and modifications may be made without departing from the scope of the present invention. [0111] The present application is based on Japanese priority application No. 2001-332287 filed on Oct. 30, 2001, the entire contents of which are hereby incorporated by reference. Classifications U.S. Classification369/30.19, 369/47.3, G9B/20.041, G9B/27.012, G9B/20.01, G9B/27.052International ClassificationG11B7/085, G11B20/14, G11B27/36, G11B27/034, G11B20/10Cooperative ClassificationG11B20/1426, G11B20/10009, G11B27/034, G11B2220/213, G11B27/36, G11B2220/2545European ClassificationG11B27/034, G11B27/36, G11B20/14A2B, G11B20/10ALegal EventsDateCodeEventDescriptionJun 11, 2014FPAYFee paymentYear of fee payment: 8Jun 21, 2010FPAYFee paymentYear of fee payment: 4Feb 6, 2003ASAssignmentOwner name: RICOH COMPANY LTD., JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TSUJI, MASAAKI;REEL/FRAME:013733/0944Effective date: 20021204RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services