JP2002203362A - Optical disk unit - Google Patents

Optical disk unit

Info

Publication number
JP2002203362A
JP2002203362A JP2001332287A JP2001332287A JP2002203362A JP 2002203362 A JP2002203362 A JP 2002203362A JP 2001332287 A JP2001332287 A JP 2001332287A JP 2001332287 A JP2001332287 A JP 2001332287A JP 2002203362 A JP2002203362 A JP 2002203362A
Authority
JP
Japan
Prior art keywords
data
write
optical disk
writing
end position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001332287A
Other languages
Japanese (ja)
Inventor
Masaaki Tsuji
政明 辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001332287A priority Critical patent/JP2002203362A/en
Publication of JP2002203362A publication Critical patent/JP2002203362A/en
Priority to US10/282,396 priority patent/US7151732B2/en
Priority to US11/582,267 priority patent/US7548498B2/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an optical disk unit which can read written data continuous ly and normally during reproduction as if a single write processing has been performed even if write processing is resumed from a write interruption position after temporarily interrupting the write processing. SOLUTION: At the time of pause write PW, a write control section 34 stores into a built-in register the time information at the point in time concerned, and information about up to how many EFM frames write has been performed while taking the sub-code sync as reference, writes data up to the end of the EFM frame, and interrupts write processing. During restart write ReW, the write control section 34 waits for the sub-code sync when the time at which writing is interrupted is reached according to the time information of ATIP, or the time information of the sub-code. On detection of the sub-code sync, the write control section 34 starts write again from the position after counting frame sync for EFM frame numbers stored into the register at the write interruption.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CD−R/RW、
DVD−R/RW、DVD+RW等のデータ書き込み可
能な光ディスクに対する情報の記録及び再生を行う光デ
ィスク装置に関する。
The present invention relates to a CD-R / RW,
The present invention relates to an optical disk device that records and reproduces information on a data writable optical disk such as a DVD-R / RW and a DVD + RW.

【0002】[0002]

【従来の技術】CD−R/RW、DVD−R/RW、D
VD+RW等のデータ書き込み可能な光ディスクへのデ
ータ記録を1回の書き込み動作で完了する必要があり、
その書き込み方式は、トラックアットワンス(Track at
Once)、ディスクアットワンス(Disc at Once)と呼ばれ
ている。この1回の書き込み動作中に、ホストコンピュ
ータからのデータ転送速度よりも光ディスクへの書き込
み速度の方が速く、光ディスクに書き込むデータが途切
れた場合、すなわちバッファアンダーランを起こした場
合は、光ディスクへのデータ書き込みを失敗することに
なる。
2. Description of the Related Art CD-R / RW, DVD-R / RW, D
It is necessary to complete data recording on a data-writable optical disk such as VD + RW by one writing operation.
The writing method is Track at Once (Track at Once).
Once), and Disc at Once. During this one writing operation, the writing speed to the optical disk is faster than the data transfer speed from the host computer, and if the data to be written to the optical disk is interrupted, that is, if a buffer underrun occurs, the data is written to the optical disk. Data writing will fail.

【0003】該バッファアンダーランは、データ書き込
みを高速に行うほど発生しやすくなり、バッファアンダ
ーランが発生するとCD−Rのような書き換え不能なメ
ディアにとっては致命的である。従来、バッファアンダ
ーランの回避方法としては、バッファRAM(例えば、
DRAMで構成されている)の容量を大きくするか、又
はホストコンピュータからのデータ転送スピードよりも
光ディスクへのデータ書き込みスピードを遅くするとい
った方法がとられている。
The buffer underrun is more likely to occur as data is written at a higher speed, and if the buffer underrun occurs, it is fatal to a non-rewritable medium such as a CD-R. Conventionally, as a method of avoiding a buffer underrun, a buffer RAM (for example,
In other words, a method of increasing the capacity of a DRAM (comprising a DRAM) or reducing the speed of writing data to an optical disk slower than the speed of transferring data from a host computer has been adopted.

【0004】特開平10−49990号公報では、バッ
ファアンダーランの回避方法ではなく、バッファアンダ
ーランが起こった際には、一旦光ディスクへのデータ書
き込みを中断し、ホストコンピュータから転送された十
分な量のデータがバッファRAMに蓄積された後、中断
した光ディスクの位置から書き込みを再開する技術が開
示されており、光ディスクへのデータ書き込み処理にお
いて、致命的なバッファアンダーランが発生した場合に
おいても、データ書き込みに失敗することなく、正常に
データ書き込み動作を終了させることができるものであ
る。
In Japanese Patent Application Laid-Open No. 10-49990, it is not a method of avoiding a buffer underrun, but rather, when a buffer underrun occurs, temporarily suspends data writing to an optical disc and transfers a sufficient amount of data transferred from a host computer. A technique is disclosed in which writing is resumed from the position of the interrupted optical disk after the data is accumulated in the buffer RAM, and even when a fatal buffer underrun occurs in the data writing process on the optical disk, The data writing operation can be normally terminated without failing in writing.

【0005】[0005]

【発明が解決しようとする課題】このような特開平10
−49990号公報で開示された記録制御では、光ディ
スクへのデータ記録動作が頻繁に停止及び再開される可
能性がある。通常、ホストコンピュータから転送される
データは、一旦バッファRAMに転送されて保持され、
所定のパリティ等がエンコードされて付加される。この
後、該データは、CIRC、EFM変調等の処理が行わ
れて、記録データとして光ディスクに記録される。現
在、一般的な光ディスク装置において、上記バッファR
AMの容量は512Kbyteから8Mbyte程度で
ある。
SUMMARY OF THE INVENTION Such Japanese Patent Application Laid-open No. Hei 10
In the recording control disclosed in Japanese Patent No. 49990, there is a possibility that the data recording operation on the optical disk is frequently stopped and restarted. Normally, data transferred from the host computer is temporarily transferred to and held in the buffer RAM,
A predetermined parity or the like is encoded and added. Thereafter, the data is subjected to processing such as CIRC and EFM modulation, and is recorded on the optical disc as recording data. At present, in a general optical disk device, the buffer R
AM has a capacity of about 512 Kbytes to 8 Mbytes.

【0006】これに対して、例えばCDにおける記録速
度は、標準速で150Kbyte/sec、現在のよう
に記録速度の高速化が進めば、16倍速では2.4Mb
yte/secとなり、バッファRAMに一旦保持された
データをすべて記録するのに要する時間はごく限られた
時間となる。つまり、この間にホストコンピュータから
新たなデータ転送が行われなければ、バッファアンダー
ラン状態となり、記録動作の一時停止が行われることに
なる。光ディスク装置に接続されるホストコンピュータ
の性能が向上しているとはいえ、すべてのホストコンピ
ュータで安定して動作することを保証するためには、記
録動作が頻繁に一時停止及び再開が行われることに対処
しておかなければならない。
On the other hand, for example, the recording speed of a CD is 150 Kbytes / sec at a standard speed, and if the recording speed is increased as in the present case, it is 2.4 Mb at 16 × speed.
yte / sec, and the time required to record all the data once held in the buffer RAM is extremely limited. In other words, if no new data transfer is performed from the host computer during this time, a buffer underrun occurs, and the recording operation is temporarily stopped. Although the performance of the host computer connected to the optical disk device has been improved, the recording operation must be frequently paused and resumed in order to guarantee that all the host computers operate stably. Must be dealt with.

【0007】しかし、頻繁に記録動作の停止及び再開が
行われるような状況下においては、前回の記録位置の終
端を検知し、該終端位置から正確に記録を再開する制御
を行った場合には、光ディスク上の絶対位置情報と記録
したデータの位置にずれがあると該ずれが蓄積され、該
ずれ量がある一定値を超えれば記録再開ができなくなる
という問題がある。すなわち、上述したように、ホスト
コンピュータからの1回のデータ転送を保持できるデー
タ量は最大でバッファRAMの容量ということになり、
バッファRAMに格納されたデータを記録終了するまで
にホストコンピュータから再度データ転送が行わなけれ
ば記録動作の一時停止を行わなければならない。上記問
題は、バッファRAM容量が小さくなれば小さくなるほ
ど、また、光ディスクへの記録速度が上がれば上がるほ
どその可能性が大きくなる。
However, in a situation where the recording operation is frequently stopped and restarted, if the end of the previous recording position is detected and the control for accurately restarting the recording from the end position is performed, If there is a deviation between the absolute position information on the optical disc and the position of the recorded data, the deviation is accumulated, and if the deviation exceeds a certain value, recording cannot be resumed. That is, as described above, the amount of data that can hold one data transfer from the host computer is at most the capacity of the buffer RAM,
If the data transfer from the host computer is not performed again until the recording of the data stored in the buffer RAM is completed, the recording operation must be temporarily stopped. The above problem becomes more probable as the buffer RAM capacity becomes smaller and as the recording speed on the optical disk increases.

【0008】本発明は、上記のような問題を解決するた
めになされたものであり、書き込み処理中に書き込み処
理を一時中断した後、該中断した位置から再度書き込み
処理を行っても、再生時には1回の書き込み処理を行っ
たのと同様に連続的にかつ正常に書き込んだデータを読
み出すことができる光ディスク装置を得ることを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. Even if the writing process is temporarily interrupted during the writing process, and the writing process is performed again from the interrupted position, the playback process is not performed. It is an object of the present invention to provide an optical disk device capable of continuously and normally reading data that has been written in the same manner as a single write operation.

【0009】[0009]

【課題を解決するための手段】この発明に係る光ディス
ク装置は、データ未記録部分の位置を示すアドレス情報
があらかじめ形成されたデータ書き込み可能な光ディス
クに対して、情報の記録及び再生を行う光ディスク装置
において、外部から転送された光ディスクへの書き込み
用データを、所定のデータ処理を行うために一時的に格
納するデータ格納部と、該データ格納部に格納されたデ
ータに対して所定のデータ処理を行うデータ処理部と、
該データ処理部で処理された書き込み用データを所定の
方法で変調して出力するエンコーダ部と、データ処理部
及び該エンコーダ部の動作制御を行うと共にデータ格納
部への書き込み用データの格納制御を行って、光ディス
クへのデータ書き込み制御を行う書き込み制御部と、デ
ータ格納部への書き込み用データの供給が中断する状態
の発生検出を行い、該検出結果に応じて書き込み制御部
に対する動作指令を行う書き込み動作指令部とを備え、
書き込み制御部は、光ディスクへのデータ書き込みを中
断する場合、データ処理部及びエンコーダ部に対して、
データ格納部に対するアクセス終了後に待機状態にして
データ格納部へのアクセスを停止させると共にデータ格
納部への書き込み用データの格納を停止させるものであ
る。
An optical disk apparatus according to the present invention performs recording and reproduction of information on and from a data writable optical disk in which address information indicating the position of a data unrecorded portion is formed in advance. A data storage unit for temporarily storing data for writing to the optical disk transferred from the outside for performing predetermined data processing, and performing a predetermined data processing on the data stored in the data storage unit. A data processing unit to perform;
An encoder for modulating the write data processed by the data processing unit in a predetermined manner and outputting the modulated data; and controlling the operation of the data processing unit and the encoder and controlling the storage of the write data in the data storage unit. The write control unit performs data write control to the optical disk, and detects occurrence of a state in which supply of write data to the data storage unit is interrupted, and issues an operation command to the write control unit according to the detection result. A write operation command unit,
When suspending the writing of data to the optical disc, the writing control unit, for the data processing unit and the encoder unit,
After the access to the data storage unit is completed, a standby state is set to stop the access to the data storage unit and stop the storage of the write data in the data storage unit.

【0010】また、上記書き込み制御部は、データ書き
込み時に光ディスクから読み出された各種情報の異常検
出を行い、該異常を検出すると光ディスクへのデータ書
き込み処理を中断するようにしてもよい。
Further, the write control unit may detect an abnormality of various information read from the optical disk at the time of data writing, and interrupt the data writing process to the optical disk when the abnormality is detected.

【0011】この場合、上記書き込み動作指令部は、書
き込み制御部が、上記異常を検出してデータ書き込み処
理を中断した後、光ディスクから読み出された各種情報
が正常になったことを検出すると、書き込み制御部に対
して、データ書き込み処理を中断した際の書き込み終了
位置からデータ書き込みを再開させるようにした。
[0011] In this case, the write operation command unit, when the write control unit detects that the various types of information read from the optical disk have become normal after detecting the abnormality and interrupting the data write process, The writing control unit restarts data writing from the writing end position when the data writing process is interrupted.

【0012】また、光ディスク上のデータ書き込み終了
位置を示す情報を格納する終了位置情報格納部を備え、
書き込み制御部は、光ディスクへのデータ書き込みを終
了するとき、該終了時における光ディスク上の位置情報
を該終了位置情報格納部に格納するようにしてもよい。
An end position information storage unit for storing information indicating a data write end position on the optical disk;
When ending the data writing to the optical disk, the write control unit may store the position information on the optical disk at the time of the end in the end position information storage unit.

【0013】具体的には、書き込み制御部は、光ディス
クに記録されたデータから得られる位置情報から、終了
位置情報格納部に格納された書き込み終了位置の検出を
行うようにした。
More specifically, the write control unit detects the write end position stored in the end position information storage unit from position information obtained from data recorded on the optical disk.

【0014】また、書き込み制御部は、光ディスクにあ
らかじめ形成されたデータ未記録部分の絶対位置を示す
絶対位置情報から、終了位置情報格納部に格納された書
き込み終了位置の検出を行うようにしてもよい。
Further, the write control unit may detect the write end position stored in the end position information storage unit from the absolute position information indicating the absolute position of the data unrecorded portion formed in advance on the optical disc. Good.

【0015】また、書き込み制御部は、光ディスクから
得られる位置情報を読み出して復調する際に生じる遅延
時間に対して、あらかじめ設定された補正値を用いて補
正を行うようにした。
Further, the write control unit corrects a delay time generated when reading and demodulating position information obtained from the optical disk by using a preset correction value.

【0016】具体的には、書き込み動作指令部は、終了
位置情報格納部に格納された終了位置情報から、光ディ
スクに対してデータの読み出し及び書き込みを行う光ピ
ックアップを該終了位置から所定値前にシークさせた
後、書き込み制御部は、終了位置情報格納部に格納した
書き込み終了位置の検出を行うようにした。
More specifically, the write operation command unit controls the optical pickup for reading and writing data from / to the optical disk from the end position information stored in the end position information storage unit by a predetermined value before the end position. After the seek, the write control unit detects the write end position stored in the end position information storage unit.

【0017】また、書き込み制御部は、書き込み終了位
置からデータの書き込みを行う場合、終了位置情報格納
部に格納された終了位置情報から、光ディスクに対して
データの読み出し及び書き込みを行う光ピックアップを
該終了位置から所定値前にシークさせた後、終了位置情
報格納部に格納した書き込み終了位置の検出を行うよう
にしてもよい。
When writing data from the write end position, the write control unit includes an optical pickup for reading and writing data from / to the optical disk based on the end position information stored in the end position information storage unit. After the seek operation is performed a predetermined value before the end position, the write end position stored in the end position information storage unit may be detected.

【0018】また、書き込み制御部は、書き込み終了位
置からデータの書き込みを行う場合、該書き込み終了位
置からのデータ書き込みが開始されなかったときは、光
ディスクへの再書き込み動作を中断した後、再度、終了
位置情報格納部に格納された終了位置情報から、光ピッ
クアップを該終了位置から所定値前にシークさせた後、
終了位置情報格納部に格納した書き込み終了位置の検出
を行うようにした。
When writing data from the write end position, if the data writing from the write end position is not started, the write control unit interrupts the rewrite operation to the optical disk, and then again From the end position information stored in the end position information storage unit, after causing the optical pickup to seek a predetermined value before the end position,
The write end position stored in the end position information storage unit is detected.

【0019】一方、書き込み制御部は、書き込み終了位
置での書き込みデータ及び再び書き込みを行うときの書
き込み開始データを、光ディスクにピットが形成された
ときのデータと相反するデータを示すスペースにするよ
うにしてもよい。
On the other hand, the write control section sets the write data at the write end position and the write start data at the time of rewriting to a space indicating data that is inconsistent with the data when pits are formed on the optical disk. You may.

【0020】具体的には、エンコーダ部は、データ処理
部で処理された書き込み用データを所定の方法でEFM
変調して出力し、上記書き込み制御部は、書き込み終了
位置をEFMフレームシンクのスペースとすると共に書
き込み開始位置をEFMフレームシンクのスペースから
開始するようにした。
Specifically, the encoder unit converts the write data processed by the data processing unit into an EFM by a predetermined method.
The output is modulated, and the write control unit sets the write end position as the space of the EFM frame sync and starts the write start position from the space of the EFM frame sync.

【0021】また、CAV制御を行うために、光ディス
クにデータの記録を行う際のデータ書き込みタイミング
を得るために使用する書き込み用基準クロック信号を、
光ディスクの回転数に合わせて、光ディスクから読み出
したウォブル信号にPLLロックするように生成するP
LL回路で構成されたクロック信号生成部を備えるよう
にした。
Further, in order to perform the CAV control, a write reference clock signal used for obtaining data write timing when data is recorded on an optical disk is defined as follows.
P which is generated so as to be PLL-locked to the wobble signal read from the optical disk in accordance with the rotation speed of the optical disk
A clock signal generation unit including an LL circuit is provided.

【0022】[0022]

【発明の実施の形態】次に、図面に示す実施の形態に基
づいて、本発明を詳細に説明する。 第1の実施の形態.図1は、本発明の第1の実施の形態
における光ディスク装置の概略の構成例を示したブロッ
ク図であり、図1では、CD−Rを例にして示してい
る。なお、以下の説明では、シンクパターンをシンクと
略して示す。図1の光ディスク装置1において、光ディ
スク2に対してデータの読み出し及び書き込みを行う光
ピックアップ3は、半導体レーザ、光学系、フォーカス
アクチュエータ、トラックアクチュエータ、受光素子、
及びポジションセンサ等(図示せず)を内蔵しており、
レーザ光を光ディスク2に照射してデータの読み出し及
び書き込みを行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail based on an embodiment shown in the drawings. First embodiment. FIG. 1 is a block diagram showing a schematic configuration example of an optical disk device according to a first embodiment of the present invention, and FIG. 1 shows a CD-R as an example. In the following description, a sync pattern is abbreviated as a sync. In the optical disk device 1 of FIG. 1, an optical pickup 3 for reading and writing data from and on an optical disk 2 includes a semiconductor laser, an optical system, a focus actuator, a track actuator, a light receiving element,
And a built-in position sensor (not shown)
The optical disk 2 is irradiated with laser light to read and write data.

【0023】光ピックアップ3によって読み出されたデ
ータ信号は、リードアンプ4で増幅され2値化される。
CDデコーダ5は、リードアンプ4で増幅され2値化さ
れたデータに対してEFM復調及びCIRC演算(デイ
ンタリーブ、エラー訂正等)を行ってデコードし、該デ
コードしたデータが音楽用データ(以下、CDデータと
呼ぶ)の場合は、D/Aコンバータ6でD/A変換され
オーディオ信号として出力される。
The data signal read by the optical pickup 3 is amplified by the read amplifier 4 and binarized.
The CD decoder 5 performs EFM demodulation and CIRC operation (deinterleaving, error correction, etc.) on the binary data amplified by the read amplifier 4 and decodes the decoded data. In the case of CD data, the data is D / A converted by the D / A converter 6 and output as an audio signal.

【0024】また、CDデコーダ5は、デコードしたC
Dデータ及びパソコン用データ(以下、CD−ROMデ
ータと呼ぶ)をCD−ROMデコーダ7に出力する。C
D−ROMデコーダ7は、入力されたデータをバッファ
マネージャ8を介して随時バッファRAM9に格納する
と共に、更にデータの信頼性を高めるために、該格納さ
れたデータに対してエラー訂正処理を行う。このような
場合においても、バッファRAM9に格納されたデータ
の読み出し、及びエラー訂正によるデータの書き戻しに
よるバッファRAM9とのデータの受け渡しは、バッフ
ァマネージャ8を介して行われる。
The CD decoder 5 decodes the decoded C
D data and data for a personal computer (hereinafter referred to as CD-ROM data) are output to the CD-ROM decoder 7. C
The D-ROM decoder 7 stores the input data in the buffer RAM 9 via the buffer manager 8 as needed, and performs an error correction process on the stored data to further improve the reliability of the data. Even in such a case, the reading of the data stored in the buffer RAM 9 and the transfer of the data to and from the buffer RAM 9 by writing back the data by error correction are performed through the buffer manager 8.

【0025】CD−ROMデコーダ7によってエラー訂
正処理が終了したデータは、バッファマネージャ8を介
して読み出され、ホストインタフェース10を介して外
部のホストコンピュータHCへ転送される。ホストイン
タフェース10は、ホストコンピュータHCとの間のイ
ンタフェースを行うものであり、例えば、ATAPI又
はSCSI等の規格に準拠している。
The data for which the error correction processing has been completed by the CD-ROM decoder 7 is read out via the buffer manager 8 and transferred to the external host computer HC via the host interface 10. The host interface 10 performs an interface with the host computer HC, and conforms to, for example, ATAPI or SCSI standards.

【0026】一方、未記録の光ディスク2には、製造過
程でATIPデータが埋め込まれており、光ディスク2
の未記録部分にデータを書き込む場合、光ピックアップ
3によって該ATIPデータの読み出しを行う。すなわ
ち、光ピックアップ3によって光ディスク2上のウォブ
ル(Wobble)信号が読み出され、リードアンプ4で増幅し
て2値化されてATIPデコーダ11に出力される。
On the other hand, the unrecorded optical disk 2 has ATIP data embedded therein during the manufacturing process.
When writing data to the unrecorded portion of the ATIP, the optical pickup 3 reads the ATIP data. That is, a wobble signal on the optical disk 2 is read by the optical pickup 3, amplified by the read amplifier 4, binarized, and output to the ATIP decoder 11.

【0027】ATIPデコーダ11は、入力されたAT
IPデータから同期信号(以下、ATIPシンクと呼
ぶ)、時間情報(以下、ATIP時間情報と呼ぶ)及び
ATIPデータのCRC演算結果(以下、ACRC結果
と呼ぶ)を生成し、CDエンコーダ12に出力する。C
Dエンコーダ12は、光ディスク2の未記録部分に対し
てデータの書き込みを行う際、光ディスク2上の書き込
み位置を検出するための重要な情報として入力されたA
TIPデータを使用する。CDエンコーダ12は、AT
IPシンク、ATIP時間情報によって、光ディスク2
における正確な位置からの書き込みを可能にしている。
The ATIP decoder 11 receives the input AT
A synchronization signal (hereinafter, referred to as an ATIP sink), time information (hereinafter, referred to as ATIP time information), and a CRC operation result of the ATIP data (hereinafter, referred to as an ACRC result) are generated from the IP data, and output to the CD encoder 12. . C
When writing data to an unrecorded portion of the optical disc 2, the D encoder 12 inputs A as important information for detecting a write position on the optical disc 2.
Uses TIP data. The CD encoder 12 uses the AT
Optical disc 2 based on IP sink and ATIP time information
In this case, writing from an accurate position can be performed.

【0028】このように、光ディスク2の未記録部分で
は、ATIPデータからのみ光ディスク上における位置
を示す時間情報を得ることができる。これに対して、光
ディスク2のデータ記録済み部分では、ウォブル信号の
品質が悪く、ATIPデコーダ11で正確なATIPシ
ンク及びATIP時間情報を生成できない場合がある。
しかし、光ディスク2の記録済み部分には同期信号をな
すサブコードシンクと共にサブコードデータが記録され
ており、CDデコーダ5は、該サブコードデータの処理
を行って光ディスク2上の時間情報をCDエンコーダ1
2に出力する。このように、CDエンコーダ12は、光
ディスク2の記録済み部分にデータを書き込む場合は、
サブコードデータを使用して光ディスクの位置を示す時
間情報を得る。
As described above, in the unrecorded portion of the optical disk 2, time information indicating the position on the optical disk can be obtained only from the ATIP data. On the other hand, in the data recorded portion of the optical disc 2, the quality of the wobble signal is poor, and the ATIP decoder 11 may not be able to generate accurate ATIP sync and ATIP time information.
However, subcode data is recorded in the recorded portion of the optical disc 2 together with a subcode sync that forms a synchronization signal, and the CD decoder 5 processes the subcode data to convert time information on the optical disc 2 into a CD encoder. 1
Output to 2. As described above, when writing data to a recorded portion of the optical disc 2, the CD encoder 12
Time information indicating the position of the optical disk is obtained using the subcode data.

【0029】光ディスク2への書き込み用データは、ホ
ストコンピュータHCからバッファマネージャ8を介し
てバッファRAM9へ転送される。CD−ROMエンコ
ーダ13は、バッファマネージャ8を介してバッファR
AM9のデータを読み出し、エラー訂正コード、EDC
コード、SYNCコード、及びヘッダ情報等を付加し
て、バッファRAM9へ書き戻す。
Data to be written on the optical disk 2 is transferred from the host computer HC to the buffer RAM 9 via the buffer manager 8. The CD-ROM encoder 13 controls the buffer R via the buffer manager 8.
Read AM9 data, error correction code, EDC
A code, a SYNC code, header information, and the like are added and written back to the buffer RAM 9.

【0030】また、CD−ROMエンコーダ13は、準
備されたデータをバッファマネージャ8を介してバッフ
ァRAM9から読み出し、CDエンコーダ12内の後述
するCIRC演算用RAM部に書き込む。CDエンコー
ダ12は、CIRC演算用RAM部内のデータをCIR
C演算し、エラー訂正コードの付加やインタリーブを行
って、演算を終えたデータを更にEFM変調して出力す
る。CDエンコーダ12から出力されたデータは、レー
ザコントロール回路14、光ピックアップ3を介して、
光ディスク2に記録される。
The CD-ROM encoder 13 reads the prepared data from the buffer RAM 9 via the buffer manager 8 and writes the data to a CIRC operation RAM (described later) in the CD encoder 12. The CD encoder 12 converts the data in the CIRC calculation RAM
C operation is performed, an error correction code is added and interleaving is performed, and the data after the operation is further EFM-modulated and output. The data output from the CD encoder 12 passes through the laser control circuit 14 and the optical pickup 3
It is recorded on the optical disc 2.

【0031】また、光ディスク2から得られるウォブル
信号が、光ピックアップ3及びリードアンプ4を介して
サーボ回路15に入力され、サーボ回路15で生成され
た回転制御信号がモータドライバ16を介してスピンド
ルモータ17に供給される。なお、CDデコーダ5、C
D−ROMデコーダ7、ホストインタフェース10、A
TIPデコーダ11、CDエンコーダ12及びCD−R
OMエンコーダ13等は、CPU20によって動作制御
される。
A wobble signal obtained from the optical disk 2 is input to the servo circuit 15 via the optical pickup 3 and the read amplifier 4, and a rotation control signal generated by the servo circuit 15 is supplied to the spindle motor via the motor driver 16. 17 is supplied. The CD decoder 5, C
D-ROM decoder 7, host interface 10, A
TIP decoder 11, CD encoder 12, and CD-R
The operation of the OM encoder 13 and the like is controlled by the CPU 20.

【0032】ここで、図2は、オレンジブックに規定さ
れたCD−R/RWのデータ書き込み単位のフォーマッ
トを示す。通常、光ディスク2に記録されたデータの再
生時におけるデインタリーブや、同期引き込みの関係か
ら、ユーザデータブロック(User Data Block)にデータ
を書き込んだだけでは完全にそのデータを読み出すこと
ができない。このことから、ユーザデータブロックの前
に5ブロック、ユーザデータブロックの後に2ブロック
の冗長ブロックをそれぞれ設けることにより、ユーザデ
ータブロックを保護し、確実にデータを読み出せるよう
にしている。
FIG. 2 shows a format of a CD-R / RW data write unit specified in the Orange Book. Normally, data cannot be completely read out only by writing data in a user data block (User Data Block) due to deinterleaving and synchronization pull-in during reproduction of data recorded on the optical disc 2. Therefore, by providing five redundant blocks before the user data block and two redundant blocks after the user data block, the user data block is protected and data can be read reliably.

【0033】ユーザデータブロックの前の5ブロック
は、リンクブロック(Link Block)LB、第1〜第4ラ
ンインブロック(Run-in Block)RIB1〜RIB4で
構成され、ユーザデータブロックの後の2ブロックは、
第1ランアウトブロック(Run-out Block)ROB1及
び第2ランアウトブロックROB2で構成されている。
The five blocks before the user data block include a link block (Link Block) LB and first to fourth run-in blocks (Run-in Blocks) RIB1 to RIB4, and two blocks after the user data block. Is
It comprises a first run-out block ROB1 and a second run-out block ROB2.

【0034】図3は、図2に示したデータを書き込む際
に、複数回に分けて書き込んだ場合のフォーマット例を
示した図である。図3において、データ書き込み時には
ホストコンピュータHCからのデータを受け取り、バッ
ファRAM9に該データが埋まると、CDエンコーダ1
2は、スタートライト(Start Write)StartWを
実行する。
FIG. 3 is a diagram showing an example of a format when writing the data shown in FIG. 2 in a plurality of times. In FIG. 3, when data is received, data from the host computer HC is received, and when the data is filled in the buffer RAM 9, the CD encoder 1
2 executes Start Write StartW.

【0035】更に、CDエンコーダ12は、光ディスク
2へのデータの書き込みを開始し、バッファRAM9の
データが残り少なくなってバッファアンダーランを起こ
しそうになると、ポーズライト(Pause Write)PWを
実行して光ディスク2へのデータ書き込みを一時停止す
る。その後、CDエンコーダ12は、ホストコンピュー
タHCからのデータ転送を待ち、再度バッファRAM9
にデータが埋まると、リスタートライト(Restart Writ
e)ReWを実行し、ポーズライトPWでデータ書き込
みを一時停止した位置を検出して、その位置から続けて
データの書き込みを開始する。
Further, the CD encoder 12 starts writing data to the optical disk 2, and when the data in the buffer RAM 9 becomes low and a buffer underrun is about to occur, the CD encoder 12 executes Pause Write PW to execute the pause write PW. 2 temporarily stops writing data. Thereafter, the CD encoder 12 waits for data transfer from the host computer HC, and again
When the data is full, the restart light (Restart Writ
e) ReW is executed, a position where data writing is temporarily stopped by the pause light PW is detected, and data writing is started continuously from that position.

【0036】このように、CDエンコーダ12は、バッ
ファRAM9のデータが少なくなるとポーズライトPW
でデータの書き込みを一時停止し、再度バッファRAM
9にデータが埋まるとリスタートライトReWでデータ
書き込みを再開する処理を適宜繰り返す。ホストコンピ
ュータHCからの書き込みデータをすべて光ディスク2
に書き込むと、CDエンコーダ12は、最後にストップ
ライト(Stop Write)StopWを実行して書き込み処
理を完了する。このようなデータ処理によって、図2で
示したフォーマットと同様に、あたかも1回の書き込み
処理を行ったようなデータの書き込みを行うことができ
る。
As described above, when the amount of data in the buffer RAM 9 decreases, the CD encoder 12 sets the pause write PW
Pauses data writing with buffer RAM again
When the data is filled in 9, the process of restarting the data writing by the restart write ReW is repeated as appropriate. All the write data from the host computer HC is transferred to the optical disk 2
, The CD encoder 12 finally executes a stop write (Stop Write) StopW to complete the write processing. By such data processing, data can be written as if the write processing was performed once, similarly to the format shown in FIG.

【0037】ここで、図1で示した各部の書き込み制御
動作における動作の流れについて説明する。まず最初
に、CPU20は、スタートライト(StartW)指
令を発行し、CDエンコーダ12は、光ディスク2への
書き込み動作を開始する。次に、バッファマネージャ8
は、ホストコンピュータHCから転送されてきたデータ
を受信し、該データはバッファRAM9に格納され、C
PU20は、ホストコンピュータHCから転送されバッ
ファRAM9に格納されたデータが所定の量に減少した
か否かを所定の方法で調べる。
Here, the flow of operations in the write control operation of each section shown in FIG. 1 will be described. First, the CPU 20 issues a start write (StartW) command, and the CD encoder 12 starts a write operation on the optical disc 2. Next, the buffer manager 8
Receives the data transferred from the host computer HC, and stores the data in the buffer RAM 9;
The PU 20 checks by a predetermined method whether or not the data transferred from the host computer HC and stored in the buffer RAM 9 has decreased to a predetermined amount.

【0038】CPU20は、バッファRAM9に格納さ
れたデータが所定量に減少していなければ、所定のファ
ームウェアに従って光ディスク2へのデータ書き込みが
終了したか否かを判断し、終了した場合は、CDエンコ
ーダ12に対してストップライト(StopW)指令を
発行して、書き込み処理は終了する。また、光ディスク
2へのデータ書き込みが終了していなければ、CDエン
コーダ12は、光ディスク2への書き込み動作を継続す
る。
If the data stored in the buffer RAM 9 has not decreased to the predetermined amount, the CPU 20 determines whether or not the data writing to the optical disk 2 has been completed according to predetermined firmware. Then, a stop light (StopW) command is issued to the CPU 12, and the writing process ends. If the data writing to the optical disc 2 has not been completed, the CD encoder 12 continues the writing operation to the optical disc 2.

【0039】一方、CPU20は、バッファRAM9に
格納されたデータが所定量に減少したと判断すると、C
Dエンコーダ12に対してポーズライト(PW)指令を
発行して光ディスク2への書き込み処理を中断させる。
次に、バッファマネージャ8は、ホストコンピュータH
Cから転送されてきたデータを受信し、該データはバッ
ファRAM9に格納され、CPU20は、ホストコンピ
ュータHCから転送されバッファRAM9に格納された
データが所定量になったか否かを所定の方法で調べる。
On the other hand, when the CPU 20 determines that the data stored in the buffer RAM 9 has decreased to a predetermined amount,
A pause write (PW) command is issued to the D encoder 12 to interrupt the writing process on the optical disc 2.
Next, the buffer manager 8 executes the host computer H
Upon receiving the data transferred from C, the data is stored in the buffer RAM 9 and the CPU 20 checks by a predetermined method whether or not the data transferred from the host computer HC and stored in the buffer RAM 9 has reached a predetermined amount. .

【0040】CPU20は、バッファRAM9に所定量
のデータが格納されたと判断すると、CDエンコーダ1
2に対してリスタートライト(ReW)指令を発行して
光ディスク2への書き込み処理を再開させ、バッファマ
ネージャ8は、ホストコンピュータHCから転送されて
きたデータを受信してバッファRAM9に格納する。ま
た、CPU20は、バッファRAM9に所定量のデータ
が格納されていないと判断すると、引き続きバッファマ
ネージャ8は、ホストコンピュータHCから転送されて
きたデータを受信してバッファRAM9に格納する。
When the CPU 20 determines that a predetermined amount of data has been stored in the buffer RAM 9, the CD encoder 1
The buffer manager 8 issues a restart write (ReW) command to the CPU 2 to restart the writing process on the optical disk 2, and the buffer manager 8 receives the data transferred from the host computer HC and stores the data in the buffer RAM 9. When the CPU 20 determines that a predetermined amount of data is not stored in the buffer RAM 9, the buffer manager 8 continuously receives the data transferred from the host computer HC and stores the data in the buffer RAM 9.

【0041】このように、CPU20は、ホストコンピ
ュータHCからライトコマンドとある程度量のデータを
受け取るとデータ書き込みを開始させるスタートライト
(StartW)指令を発行する。該スタートライト
(StartW)指令は、リンクブロックから始まる通
常のライトシーケンスであり、光ディスク2への書き込
みとホストコンピュータHCからのデータの受信を所定
のレングス繰り返す。該書き込み処理中において、光デ
ィスク2への書き込み速度よりホストコンピュータHC
からのデータ転送速度が遅いと、バッファRAM9内の
データが減少して書き込み処理が続行できなくなる。
As described above, when receiving a write command and a certain amount of data from the host computer HC, the CPU 20 issues a start write (StartW) command to start data writing. The start write (StartW) command is a normal write sequence starting from a link block, and repeats a predetermined length of writing to the optical disk 2 and receiving data from the host computer HC. During the writing process, the host computer HC
If the data transfer rate from the buffer RAM 9 is low, the data in the buffer RAM 9 decreases, and the writing process cannot be continued.

【0042】このことから、CPU20は、バッファR
AM9内のデータ量の減少を検出してホストコンピュー
タHCからのデータの転送が間に合わないと判断した場
合は、ポーズライト(PW)指令を発行して書き込み処
理を中断させる。なお、ポーズライト(PW)指令で書
き込み処理を中断する場合は、ランアウトブロックを書
き込まずに書き込み処理を一時中断するライトシーケン
スである。
From this, the CPU 20 sets the buffer R
If it is detected that the data amount in the AM 9 has decreased and the data transfer from the host computer HC cannot be completed in time, a pause write (PW) command is issued to interrupt the write process. Note that when the write process is interrupted by the pause write (PW) command, this is a write sequence in which the write process is temporarily interrupted without writing the run-out block.

【0043】この後、CPU20は、ホストコンピュー
タHCからのデータを充分受信してバッファRAM9内
に格納されると、リスタートライト(ReW)指令を発
行する。リスタートライト(ReW)指令で書き込み処
理を行う場合は、通常のライトシーケンスのようにリン
クブロックにはデータを書き込まずに、書き込み処理を
中断した時のデータの続きから、連続性を保ち、且つ書
き込み位置合わせによって同期がはずれないように、書
き込み処理を中断した時の書き込みデータの終端から正
確に書き込み処理を行うライトシーケンスである。所定
のデータが光ディスク2に書き込まれると、CPU20
は、ストップライト(StopW)指令を発行する。な
お、ストップライト(StopW)指令で書き込み処理
を終了する場合は、ランアウトブロックを書き込む通常
の書き込みシーケンスである。
Thereafter, when the CPU 20 has sufficiently received the data from the host computer HC and stored it in the buffer RAM 9, it issues a restart write (ReW) command. When performing a write process by a restart write (ReW) command, data is not written in a link block as in a normal write sequence, and continuity is maintained from the continuation of the data at the time when the write process was interrupted, and This is a write sequence in which the write processing is accurately performed from the end of the write data when the write processing is interrupted so that the synchronization is not lost due to the write alignment. When predetermined data is written to the optical disk 2, the CPU 20
Issues a stoplight (StopW) command. Note that when the write processing is terminated by a stop write (StopW) command, it is a normal write sequence for writing a run-out block.

【0044】上記のように、光ディスク装置1は、ライ
トシーケンス中にバッファRAM9のデータ量を監視
し、バッファアンダーランによる書き込み失敗を防ぐた
めに随時ポーズライトPWとリスタートReWを繰り返
す。このようにすることによって、光ディスク2へのデ
ータ書き込み中に、ホストコンピュータHCからのデー
タ転送が間に合わない場合には、書き込み処理を一時中
断して、ホストコンピュータHCからデータが充分送ら
れたときにデータの書き込みを再開する。このことか
ら、ホストコンピュータHCからのデータ転送が一時的
に途切れたり転送レートが低下しても、複数回に分けて
正常にデータを光ディスク2に書き込むことができ、デ
ータ書き込みの失敗を防止することができる。また、デ
ータ転送の脈動を吸収するバッファRAM9の容量を小
さくすることができ、光ディスク装置1のコストダウン
を図ることができる。
As described above, the optical disc apparatus 1 monitors the data amount of the buffer RAM 9 during the write sequence, and repeats the pause write PW and the restart ReW at any time to prevent a write failure due to a buffer underrun. In this way, if data transfer from the host computer HC cannot be made in time during data writing to the optical disc 2, the writing process is temporarily suspended and the data is sufficiently transmitted from the host computer HC. Resume data writing. Therefore, even if the data transfer from the host computer HC is temporarily interrupted or the transfer rate is lowered, the data can be normally written to the optical disc 2 in a plurality of times, thereby preventing the data writing from failing. Can be. Further, the capacity of the buffer RAM 9 for absorbing the pulsation of the data transfer can be reduced, and the cost of the optical disc device 1 can be reduced.

【0045】次に、図4は、CDエンコーダ12の構成
例を示した概略のブロック図であり、図4を用いてCD
エンコーダ12の光ディスク2へのデータ書き込み動作
についてもう少し詳細に説明する。図4において、CD
エンコーダ12は、PLL回路等で構成されたクロック
ジェネレータからなるクロック信号生成部30と、CI
RC演算用RAM部31と、CIRC演算部32と、E
FMエンコーダ部33と、書き込み制御部34とを備え
ている。
Next, FIG. 4 is a schematic block diagram showing an example of the configuration of the CD encoder 12, and FIG.
The data write operation of the encoder 12 on the optical disk 2 will be described in more detail. In FIG.
The encoder 12 includes a clock signal generation unit 30 including a clock generator constituted by a PLL circuit and the like,
An RC calculation RAM unit 31, a CIRC calculation unit 32,
An FM encoder 33 and a write controller 34 are provided.

【0046】クロック信号生成部30は、水晶発振器
(図示せず)から入力される例えば33.8688MH
zのクロック信号からCDエンコーダ12内で必要な書
き込み用基準クロック信号であるチャネルクロック信号
を生成してCDエンコーダ12内の各部に出力する。C
IRC演算用RAM部31は、CD−ROMエンコーダ
13によってバッファRAM9から読み出された書き込
み用データを、CIRC演算等を行うために一時的に格
納する。
The clock signal generation section 30 receives, for example, 33.8688 MH from a crystal oscillator (not shown).
A channel clock signal, which is a reference clock signal for writing necessary in the CD encoder 12, is generated from the clock signal of z and output to each unit in the CD encoder 12. C
The IRC calculation RAM unit 31 temporarily stores the write data read from the buffer RAM 9 by the CD-ROM encoder 13 in order to perform a CIRC calculation or the like.

【0047】CIRC演算部32は、該CIRC演算用
RAM部31に格納されたデータに対してCIRC演算
を行い、更にエラー訂正コードの付加やインタリーブを
行い、EFMエンコーダ部33は、CIRC演算部32
で処理されたデータに対して所定の方法でEFM変調し
てレーザコントロール回路14に出力する。また、書き
込み制御部34は、CPU20からの指令に応じて、C
IRC演算部32、EFMエンコーダ部33及びCD−
ROMエンコーダ13におけるCDエンコーダ12との
インタフェースを行うCDインタフェース部35に対し
て書き込み制御を行う制御信号をそれぞれ生成して出力
する。
The CIRC calculation unit 32 performs a CIRC calculation on the data stored in the CIRC calculation RAM unit 31, and further adds and interleaves an error correction code.
The data processed in step (1) is EFM-modulated by a predetermined method and output to the laser control circuit 14. Further, the write control unit 34 responds to a command from the CPU 20 to
IRC operation unit 32, EFM encoder unit 33 and CD-
The ROM encoder 13 generates and outputs control signals for performing write control to a CD interface unit 35 that interfaces with the CD encoder 12.

【0048】具体的には、書き込み制御部34は、CP
U20からスタートライト(StartW)指令が入力
されると所定のライト信号Wを生成し、CPU20から
ポーズライト(PW)指令が入力されると所定のポーズ
信号Pを生成してCIRC演算部32、EFMエンコー
ダ部33及びCDインタフェース部35にそれぞれ出力
する。また、書き込み制御部34は、CPU20からリ
スタートライト(ReW)指令が入力されると所定のポ
ーズ解除信号PXを生成し、CPU20からストップラ
イト(StopW)指令が入力されると所定のストップ
信号Sを生成してCIRC演算部32、EFMエンコー
ダ部33及びCDインタフェース部35にそれぞれ出力
する。なお、図4において、Aはアドレスデータを、D
はデータを、Reqはリクエスト信号を、Ackはアク
ノリッジ信号を示している。
More specifically, the write control unit 34
When a start light (StartW) command is input from U20, a predetermined write signal W is generated, and when a pause light (PW) command is input from CPU 20, a predetermined pause signal P is generated, and CIRC operation unit 32, EFM The signals are output to the encoder 33 and the CD interface 35, respectively. The write control unit 34 generates a predetermined pause release signal PX when a restart light (ReW) command is input from the CPU 20, and generates a predetermined stop signal S when a stop light (StopW) command is input from the CPU 20. Is generated and output to the CIRC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35, respectively. In FIG. 4, A indicates address data, D indicates
Indicates data, Req indicates a request signal, and Ack indicates an acknowledge signal.

【0049】このような構成において、CPU20から
ポーズライト(PW)指令が出力されると、書き込み制
御部34は、CIRC演算部32、EFMエンコーダ部
33及びCDインタフェース部35に対して、あらかじ
め設定された書き込み終了EFMフレームまで書き込み
処理を続行させ、該EFMフレームの終わりまで書き込
み処理を行われた後、書き込み処理を中断させる。ま
た、CIRC演算用RAM部31にアクセスを行うCI
RC演算部32、EFMエンコーダ部33及びCDイン
タフェース部35は、EFMフレームの終わりでは、該
フレーム内で必要となる演算、読み出し処理を終えてい
るため、その状態で待機状態となる。
In such a configuration, when a pause light (PW) command is output from the CPU 20, the write control unit 34 sets in advance the CIRC calculation unit 32, the EFM encoder unit 33, and the CD interface unit 35. The writing process is continued until the writing end EFM frame, and after the writing process is performed until the end of the EFM frame, the writing process is interrupted. Also, the CI that accesses the RAM unit 31 for CIRC calculation is
At the end of the EFM frame, the RC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35 have completed the necessary calculation and readout processing within the EFM frame, and thus enter a standby state.

【0050】該待機状態では、CIRC演算部32、E
FMエンコーダ部33及びCDインタフェース部35と
CIRC演算用RAM部31との間でのアドレスデー
タ、データ、リクエスト信号及びアクノリッジ信号の生
成動作は停止される。また、EFMエンコーダ部33
は、EFM信号及びライトゲート信号WGATEといっ
た書き込み用信号の出力を中止する。このように、ライ
トゲート信号WGATEの出力が停止されるため、光デ
ィスク2へのデータ書き込みも中断することになる。
In the standby state, the CIRC operation unit 32
The operation of generating the address data, the data, the request signal, and the acknowledge signal between the FM encoder unit 33 and the CD interface unit 35 and the CIRC operation RAM unit 31 is stopped. Also, the EFM encoder unit 33
Stops outputting write signals such as the EFM signal and the write gate signal WGATE. As described above, since the output of the write gate signal WGATE is stopped, the data writing to the optical disk 2 is also interrupted.

【0051】ここで、バッファアンダーランが発生した
際に光ディスク2へのデータ書き込みが失敗に終わるの
は、書き込み用データを生成するCIRC演算部32で
インタリーブがかけられるため、再書き込み時に同じ状
態が作れないことと、EFMエンコーダ部33で行われ
るDSV(Digital Sum Value)の演算が再書き込み動作
時に乱れることが原因となっている。CPU20から書
き込み中断指令を受けた時点で、書き込み用データを生
成するためにCIRC演算用RAM部31にアクセスす
るCD−ROMエンコーダ13、CIRC演算部32、
EFMエンコーダ部33の各部が、現時点でのアクセス
完了後に待機状態となり、再書き込み開始と共に動作を
再開するように制御することで、インタリーブは管理で
きる。また、同時にEFMエンコーダ部33も待機状態
にすることで、DSV演算の乱れも回避することができ
る。
Here, the reason why the data writing to the optical disc 2 fails when the buffer underrun occurs is that the same state at the time of rewriting is maintained because the CIRC operation unit 32 for generating the writing data is interleaved. This is due to the fact that it cannot be made and that the calculation of the DSV (Digital Sum Value) performed by the EFM encoder unit 33 is disturbed during the rewriting operation. Upon receiving a write interruption command from the CPU 20, the CD-ROM encoder 13 accesses the CIRC calculation RAM unit 31 to generate write data, the CIRC calculation unit 32,
The interleaving can be managed by controlling each unit of the EFM encoder unit 33 to be in a standby state after completion of the access at the present time and to restart the operation at the start of the rewriting. At the same time, the EFM encoder unit 33 is also set in the standby state, so that the disturbance of the DSV calculation can be avoided.

【0052】上記中断状態で、CPU20からリスター
トライト(ReW)指令が出力されると、書き込み制御
部34は、後述するように再書き込み位置の検出を行っ
た後、ポーズ信号Pで待機状態となっていたCIRC演
算部32、EFMエンコーダ部33及びCDインタフェ
ース部35に対してポーズ解除信号PXをそれぞれ出力
する。このようにして、CIRC演算部32、EFMエ
ンコーダ部33及びCDインタフェース部35は、待機
した状態からの続きの処理を行って、EFMエンコーダ
部33からEFM信号及びライトゲート信号WGATE
の出力が再開される。ライトゲート信号WGATEの出
力が再開されることにより、光ディスク2へのデータ書
き込みも待機した状態の続きから再開される。
When a restart write (ReW) command is output from the CPU 20 in the interrupted state, the write control unit 34 detects the rewrite position as described later, and then enters the standby state by the pause signal P. The pause release signal PX is output to the CIRC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35, which have been changed. In this way, the CIRC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35 perform the subsequent processing from the standby state, and send the EFM signal and the write gate signal WGATE from the EFM encoder unit 33.
Is restarted. By restarting the output of the write gate signal WGATE, data writing to the optical disk 2 is also restarted from the continuation of the standby state.

【0053】このようにして、光ディスク2に対するデ
ータの書き込み終了位置及び再書き込み開始位置で、書
き込み用データの連続性を維持する書き込みを行うこと
から、書き込み時に、書き込み動作を一時停止し、再書
き込みした場合においても後でそのデータを正確にかつ
連続的に読み出すことができる。
In this manner, the writing operation for maintaining the continuity of the writing data is performed at the write end position and the rewrite start position of the data on the optical disk 2. Therefore, at the time of the write operation, the write operation is suspended and the rewrite operation is performed. Even in this case, the data can be accurately and continuously read later.

【0054】図5は、図1及び図4で示した光ディスク
装置における書き込み制御動作例を示したフローチャー
トである。図5において、CPU20は、書き込み制御
部34に対してスタートライト(StartW)指令を
発行し(ステップST1)、書き込み制御部34は、所
定のライト信号WをCIRC演算部32、EFMエンコ
ーダ部33及びCDインタフェース部35にそれぞれ出
力して、光ディスク2への書き込み動作を開始させる
(ステップST2)。次に、バッファマネージャ8は、
ホストコンピュータHCから転送されてきたデータを受
信し、該データはバッファRAM9に格納され(ステッ
プST3)、CPU20は、ホストコンピュータHCか
ら転送されバッファRAM9に格納されたデータが少量
になった、すなわち所定量に減少したか否かを所定の方
法で調べる(ステップST4)。
FIG. 5 is a flowchart showing an example of a write control operation in the optical disk device shown in FIGS. In FIG. 5, the CPU 20 issues a start write (StartW) command to the write control unit 34 (step ST1), and the write control unit 34 outputs a predetermined write signal W to the CIRC operation unit 32, the EFM encoder unit 33, The data is output to the CD interface unit 35 to start the writing operation to the optical disk 2 (step ST2). Next, the buffer manager 8
Upon receiving the data transferred from the host computer HC, the data is stored in the buffer RAM 9 (step ST3), and the CPU 20 determines that the amount of data transferred from the host computer HC and stored in the buffer RAM 9 has become small, that is, It is checked by a predetermined method whether or not the quantity has been reduced (step ST4).

【0055】ステップST4で、所定量に減少していな
ければ(NO)、CPU20は、所定のファームウェア
に従って光ディスク2へのデータ書き込みが終了したか
否かを判断する(ステップST5)。ステップST5で
データ書き込みが終了した場合は(YES)、CPU2
0は、書き込み制御部34に対してストップライト(S
topW)指令を発行し(ステップST6)、書き込み
制御部34は、所定のストップ信号SをCIRC演算部
32、EFMエンコーダ部33及びCDインタフェース
部35にそれぞれ出力して、光ディスク2への書き込み
動作を終了させ(ステップST7)、本フローは終了す
る。また、ステップST5で、終了していなければ(N
O)、ステップST2に戻る。
If it has not been reduced to the predetermined amount in step ST4 (NO), CPU 20 determines whether or not data writing to optical disk 2 has been completed according to predetermined firmware (step ST5). If the data writing is completed in step ST5 (YES), the CPU 2
0 is a stop light (S
topW) command (step ST6), and the write control unit 34 outputs a predetermined stop signal S to the CIRC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35, respectively, to execute a write operation on the optical disk 2. This is ended (step ST7), and this flow ends. If it is determined in step ST5 that the processing has not been completed (N
O), returning to step ST2.

【0056】一方、ステップST4で、所定量に減少し
たと判断した場合(YES)、CPU20は、書き込み
制御部34に対してポーズライト(PW)指令を発行し
(ステップST8)、書き込み制御部34は、所定のポ
ーズ信号PをCIRC演算部32、EFMエンコーダ部
33及びCDインタフェース部35にそれぞれ出力し
て、光ディスク2への書き込み処理を中断させる(ステ
ップST9)。次に、バッファマネージャ8は、ホスト
コンピュータHCから転送されてきたデータを受信し、
該データはバッファRAM9に格納され(ステップST
10)、CPU20は、ホストコンピュータHCから転
送されバッファRAM9に格納されたデータが満量にな
った、すなわち所定量になったか否かを所定の方法で調
べる(ステップST11)。
On the other hand, if it is determined in step ST4 that the amount has been reduced to the predetermined amount (YES), the CPU 20 issues a pause write (PW) command to the write control unit 34 (step ST8), and the write control unit 34 Outputs the predetermined pause signal P to the CIRC operation unit 32, the EFM encoder unit 33, and the CD interface unit 35, and interrupts the writing process on the optical disc 2 (step ST9). Next, the buffer manager 8 receives the data transferred from the host computer HC,
The data is stored in the buffer RAM 9 (step ST
10) The CPU 20 checks by a predetermined method whether the data transferred from the host computer HC and stored in the buffer RAM 9 is full, that is, whether or not the data has reached a predetermined amount (step ST11).

【0057】ステップST11で、所定量のデータが格
納されたと判断した場合(YES)、CPU20は、書
き込み制御部34に対してリスタートライト(ReW)
指令を発行する(ステップST12)。書き込み制御部
34は、所定のポーズ解除信号PXをCIRC演算部3
2、EFMエンコーダ部33及びCDインタフェース部
35にそれぞれ出力して、光ディスク2への書き込み処
理を再開させて(ステップST13)、ステップST3
に戻る。また、ステップST11で、所定量のデータが
格納されていないと判断した場合(NO)、ステップS
T10に戻って書き込み処理を継続する。
If it is determined in step ST11 that a predetermined amount of data has been stored (YES), the CPU 20 issues a restart write (ReW) to the write control unit 34.
A command is issued (step ST12). The write control unit 34 outputs a predetermined pause release signal PX to the CIRC calculation unit 3
2. Output to the EFM encoder unit 33 and the CD interface unit 35, respectively, to restart the writing process on the optical disc 2 (step ST13),
Return to If it is determined in step ST11 that a predetermined amount of data is not stored (NO), the process proceeds to step S11.
Returning to T10, the writing process is continued.

【0058】次に、再書き込み位置の検出について説明
する。図6は、オレンジブックに規定されている、光デ
ィスク2上のデータの書き終わりと書き始めの位置関係
を示す図である。図6で示すように、オレンジブックで
は4EFMフレームというかなり大きなデータの重なり
が許容されている。これだけ大きなデータの重なりがあ
ると訂正能力の高いCD等の光ディスク装置においても
フレーム同期がはずれ、正常な再生を行うことができな
い。このような大きな許容値を有している理由は、スピ
ンドルモータの回転制御誤差を吸収するためであり、次
の書き込み開始位置が、すでに書き込まれたデータとは
無関係にウォブル信号から復調されたATIPシンクで
決定しているからである。
Next, detection of a rewrite position will be described. FIG. 6 is a diagram showing the positional relationship between the end of writing data and the start of writing of data on the optical disc 2 stipulated in the Orange Book. As shown in FIG. 6, in the Orange Book, a considerably large data overlap of 4 EFM frames is allowed. If such a large amount of data overlaps, frame synchronization is lost even in an optical disk device such as a CD having a high correction capability, and normal reproduction cannot be performed. The reason for having such a large allowable value is to absorb the rotation control error of the spindle motor, and the next write start position is determined by the ATIP demodulated from the wobble signal regardless of the already written data. This is because it is determined by the sink.

【0059】データ記録のつなぎ部分で同期を損なわず
にデータを再生するためには、フレーム同期保護ウィン
ドウ幅を考慮すると、図7に示すようなフォーマットに
なる。すなわち、同期を損なわずに再生できるような書
き込みを行うには、±2ビットクロック程度のズレでデ
ータ記録のつなぎ部分を形成する必要がある。このよう
に正確なデータ書き込み位置を決定するには、従来の光
ディスク装置のようにスピンドルモータの回転制御精度
に基づいた書き込み制御では困難である。
In order to reproduce the data without losing the synchronization at the connection portion of the data recording, the format shown in FIG. 7 is obtained in consideration of the frame synchronization protection window width. That is, in order to perform writing so that reproduction can be performed without losing synchronization, it is necessary to form a connection portion for data recording with a deviation of about ± 2 bit clocks. It is difficult to determine such an accurate data write position by a write control based on the rotation control accuracy of a spindle motor as in a conventional optical disk device.

【0060】そこで、本第1の実施の形態における光デ
ィスク装置1では、書き込み制御部34は、CPU20
からポーズライト(PW)指令が出力されると、その時
点の時間情報と書き込むサブコードシンク(S0又はS
1)を基準にして何EFMフレームまで書き込んだかの
情報を、内蔵するレジスタ(図示せず)に格納し、該E
FMフレームの終わりまでデータの書き込みを行って、
書き込み処理を中断する。CPU20からリスタートラ
イト(ReW)指令が出力される再書き込み処理におい
ては、CPU20は、データ書き込みを中断した光ディ
スク2上の位置を書き込み制御部34のレジスタから読
み出して確認し、該位置の手前にシークする。
Therefore, in the optical disk device 1 according to the first embodiment, the writing control unit 34
Outputs a pause light (PW) command from the sub-code sync (S0 or S0)
Information on how many EFM frames have been written based on 1) is stored in a built-in register (not shown).
Write data until the end of the FM frame,
Interrupt the writing process. In a rewrite process in which a restart write (ReW) command is output from the CPU 20, the CPU 20 reads the position on the optical disk 2 where data writing has been interrupted from the register of the write control unit 34, checks the position, and checks the position before the position. Seek.

【0061】CPU20によって該シークが行われた
後、書き込み制御部34は、ATIPの時間情報又はサ
ブコードの時間情報から、書き込みを中断した時間まで
進むと、サブコードシンク(S0又はS1)を待ち、サブ
コードシンクを検出すると、書き込み中断時にレジスタ
に格納したEFMフレーム数分、フレームシンクを待
つ。書き込み制御部34は、書き込み中断時には、必ず
フレームシンクを書き込んだ時点で書き込みを中断する
ように処理するため、該時点からフレームシンクの復調
ディレイ時間待機した後、再書き込みを再開すると、光
ディスク2上で正確にデータをつなぐことができる。
After the seek operation is performed by the CPU 20, the write control unit 34 waits for the subcode sync (S0 or S1) when the write control unit 34 proceeds from the ATIP time information or the subcode time information to the time at which the writing was interrupted. When a subcode sync is detected, the number of EFM frames stored in the register when writing is interrupted is waited for a frame sync. When the writing is interrupted, the writing control unit 34 always waits for the demodulation delay time of the frame sync from the time when the frame sync has been written. Can connect data accurately.

【0062】図8は、光ディスク2上のサブコードシン
ク及びフレームシンク、並びに復調後のサブコードシン
ク及びフレームシンクの関係を示した図である。図8で
示したサブコードシンク及びフレームシンクは、CDデ
コード機能専用の安価な汎用LSIを使用する場合にお
いても、得られる信号である。図8から分かるように、
サブコードシンク及びフレームシンクを復調する際に固
有の復調ディレイが生じる。再書き込みを行う際に、光
ディスク2上で正確にデータをつなぐためには該復調デ
ィレイを補正する必要がある。該補正量を書き込み制御
部34で任意に設定できるようにすることによって、光
ピックアップやデコーダ等の違いに関わらず復調ディレ
イの補正を行うことが可能となり、正確な再書き込みを
行うことができる。
FIG. 8 is a diagram showing the relationship between the subcode sync and the frame sync on the optical disk 2 and the subcode sync and the frame sync after demodulation. The subcode sync and the frame sync shown in FIG. 8 are signals obtained even when an inexpensive general-purpose LSI dedicated to the CD decoding function is used. As can be seen from FIG.
When demodulating the subcode sync and the frame sync, an inherent demodulation delay occurs. When rewriting is performed, it is necessary to correct the demodulation delay in order to accurately connect data on the optical disc 2. By allowing the write control unit 34 to set the correction amount arbitrarily, it is possible to correct the demodulation delay regardless of the difference between the optical pickup, the decoder, and the like, so that accurate rewriting can be performed.

【0063】一方、光ディスクへデータ書き込みを行う
場合、正常に書き込みが終了できるかどうかの確認のた
め、実際にデータの書き込みは行わないが、一連の動作
確認のため擬似的な書き込み処理(以下、テストライト
と呼ぶ)を行う場合がある。この場合においても、実際
の書き込み処理と同様にバッファアンダーランが生じた
際の中断及び再書き込み処理を行う際、テストライトで
は光ディスク2へのデータ書き込みを行わないため、上
記で説明したような光ディスク2にすでに記録されたデ
ータを検出することができず、再書き込みを開始するこ
とができない。このような場合には、CD−R/RW,
DVD−R/RW,DVD+RWの光ディスク上にある
ウォブル信号でタイミングをとって書き込みを開始する
ことにより、光ディスク2上に書き込みデータがない場
合でも正常に再書き込みを行うことができる。
On the other hand, when data is written to the optical disk, the data is not actually written in order to confirm whether the writing can be completed normally. Test light). Also in this case, the test write does not write data to the optical disk 2 when performing the interruption and rewrite processing when a buffer underrun occurs as in the actual write processing. 2 cannot detect the data already recorded and cannot start rewriting. In such a case, the CD-R / RW,
By starting writing with a wobble signal on a DVD-R / RW or DVD + RW optical disc, rewriting can be performed normally even when there is no write data on the optical disc 2.

【0064】図9は、光ディスク2上のATIPシンク
と、復調後のATIPシンクの関係を示した図である。
図9から分かるように、テストライトを行う際にATI
Pシンクを用いて位置合わせを行う場合においても同様
に、ウォブル信号を復調する際に固有の復調ディレイが
生じる。再書き込みを行う際に、光ディスク2上で正確
にデータをつなぐためには該復調ディレイを補正する必
要がある。該補正量を書き込み制御部34で任意に設定
できるようにすることによって、光ピックアップやデコ
ーダ等の違いに関わらず復調ディレイの補正を行うこと
が可能となり、正確な再書き込みを行うことができる。
FIG. 9 is a diagram showing the relationship between the ATIP sink on the optical disk 2 and the demodulated ATIP sink.
As can be seen from FIG. 9, when performing the test write, the ATI
Similarly, in the case of performing positioning using a P-sync, a peculiar demodulation delay occurs when a wobble signal is demodulated. When rewriting is performed, it is necessary to correct the demodulation delay in order to accurately connect data on the optical disc 2. By allowing the write control unit 34 to set the correction amount arbitrarily, it is possible to correct the demodulation delay regardless of the difference between the optical pickup, the decoder, and the like, so that accurate rewriting can be performed.

【0065】また、図10で示すように、書き込み終了
データ及び再書き込みデータ共にピットの場合、再書き
込み時にデータのつなぎ目に位置合わせ誤差による隙間
が開いた場合、該隙間分の不正なスペース、すなわちピ
ットのない状態ができてしまう。CDデコーダ5におけ
るデータ読み出し用のPLLは、規格で決められた最小
又は最大のピット又はスペース長さでも制御されるた
め、規格外の長さのスペースがあると乱れる可能性があ
る。このことから、書き込み終了データ及び再書き込み
データともスペースとすることで、データのつなぎ目で
隙間があいても上記のような問題を回避することができ
る。
As shown in FIG. 10, when both the write end data and the rewrite data are pits, if a gap is opened due to an alignment error at the joint of data at the time of rewrite, an incorrect space corresponding to the gap, that is, There will be no pits. Since the PLL for reading data in the CD decoder 5 is controlled even with the minimum or maximum pit or space length determined by the standard, there is a possibility that the data will be disturbed if there is a space having a length outside the standard. For this reason, by setting the space for both the write end data and the rewrite data, the above-described problem can be avoided even if there is a gap at the data joint.

【0066】また、光ディスク2に実際に記録されるE
FMデータは、図11で示すように、EFMコードから
2種類生成され、マージンビットがスペース、シンクコ
ードがピットから始まる場合に、マージンビットでつな
ぐようにする。このことから、通常所定の長さ、図11
では3T(Tは、クロック信号CKの1周期を示す)の
長さのマージンビットが、スピンドルモータの回転変動
や、同期ずれによって3T以上の長さになった場合にお
いても、CDデコーダ5での同期保護によってシンクパ
ターンを認識することができれば正常に読み出すことが
できる。すなわち、サブコードデータ及びメインデータ
とも、エラーを含まないデータが読み出せることにな
る。なお、図10及び図11におけるクロック信号CK
は、チャネルクロック信号を示している。
Also, E which is actually recorded on the optical disc 2
As shown in FIG. 11, two types of FM data are generated from an EFM code. When a margin bit starts with a space and a sync code starts with a pit, the FM data is connected by a margin bit. For this reason, it is generally assumed that the predetermined length,
In the case where the margin bit having a length of 3T (T indicates one cycle of the clock signal CK) becomes 3T or more due to rotation fluctuation of the spindle motor or synchronization deviation, the CD decoder 5 performs If the sync pattern can be recognized by the synchronization protection, it can be read normally. That is, both the subcode data and the main data can be read without error. Note that the clock signal CK in FIGS.
Indicates a channel clock signal.

【0067】一般的に、CDデコーダ5は、データを読
み出す際の読み出し不良を考慮して、シンク部分には同
期保護を、データ部にはエラー訂正を行う。このような
同期保護を行う上でも、データのつなぎ目はシンク部分
で行う方がよい。更に、上記のようにシンクパターンの
スペースでデータをつなぐ機能によって、書き込み位置
合わせの誤差は、CDデコーダ5の同期保護機能を利用
して解消することができる。
In general, the CD decoder 5 performs synchronization protection for the sync portion and error correction for the data portion in consideration of a read failure when reading data. Even in performing such synchronization protection, it is better to perform the connection of data at the sync portion. Further, by the function of connecting the data in the space of the sync pattern as described above, the error of the write position alignment can be eliminated by using the synchronization protection function of the CD decoder 5.

【0068】上記説明では、CLV制御によって光ディ
スクへデータを書き込む場合を例にして説明した。CL
V制御を行うことから上記のようなデータつなぎ目の隙
間及びデータのつなぎ目をどのようにするかの問題が生
じる。このように、CLV制御は、書き込み系のクロッ
クで回転制御を行うためスピンドルモータの回転制御誤
差により、読み出し系と書き込み系のクロックの位相差
によって、どうしてもデータつなぎ目における位置合わ
せ誤差が発生する可能性がある。また、読み出し系のク
ロックと、書き込み系のクロックとの位相差による光デ
ィスクの回転変動を最小限にしたとしても、サンプリン
グ誤差が生じるという問題がある。
In the above description, a case where data is written to an optical disk by CLV control has been described as an example. CL
Since the V control is performed, there arises a problem as to how to make the gap between the data joints and the data joint as described above. As described above, in the CLV control, the rotation control is performed by the clock of the writing system, so that the rotation control error of the spindle motor and the phase difference between the clocks of the reading system and the writing system may inevitably cause an alignment error at the data joint. There is. Further, even if the rotation fluctuation of the optical disk due to the phase difference between the read system clock and the write system clock is minimized, there is a problem that a sampling error occurs.

【0069】これに対して、光ディスクの回転数に合わ
せて、光ディスクから読み出したウォブル信号にPLL
ロックするように制御するCAV制御では、書き込み終
了位置も再書き込み位置もウォブル信号で合わすことが
できるため、CLV制御の場合のようなデータつなぎ目
における位置合わせ誤差を小さくすることができる。ま
た、CAV制御では、スピンドルモータの動きに書き込
み系のクロックが追従する動作になることから、光ディ
スクの回転変動は一切無視することができ、読み出し系
と書き込み系の同期もとれることになり、サンプリング
誤差の発生も抑制することができる。
On the other hand, the wobble signal read from the optical disk is changed to PLL according to the rotation speed of the optical disk.
In the CAV control for controlling to lock, both the write end position and the rewrite position can be adjusted by the wobble signal, so that the alignment error at the data joint as in the case of the CLV control can be reduced. In addition, in the CAV control, the writing system clock follows the operation of the spindle motor, so that the rotation fluctuation of the optical disk can be completely ignored, and the reading system and the writing system can be synchronized. The occurrence of errors can also be suppressed.

【0070】なお、CAV制御を行う場合、図4のクロ
ック信号生成部30には、水晶発振器(図示せず)から
入力される33.8688MHzのクロック信号の代わ
りに、ATIPデコーダ11を介して入力される2値化
されたウォブル信号が入力される。クロック信号生成部
30は、入力されたウォブル信号からチャネルクロック
信号を生成してCDエンコーダ12内の各部に出力す
る。
When the CAV control is performed, the clock signal generator 30 shown in FIG. 4 is inputted via the ATIP decoder 11 instead of the 33.8688 MHz clock signal inputted from the crystal oscillator (not shown). The binarized wobble signal is input. The clock signal generator 30 generates a channel clock signal from the input wobble signal and outputs the channel clock signal to each unit in the CD encoder 12.

【0071】このように、本第1の実施の形態における
光ディスク装置は、書き込み制御部34が、ポーズライ
トPW時に、その時点の時間情報と、書き込むサブコー
ドシンクを基準にして何EFMフレームまで書き込んだ
かの情報を、内蔵するレジスタに格納し、該EFMフレ
ームの終わりまでデータの書き込みを行って書き込み処
理を中断し、リスタートライトReW時には、ATIP
の時間情報又はサブコードの時間情報から、書き込みを
中断した時間まで進むと、サブコードシンクを待ち、サ
ブコードシンクを検出すると、書き込み中断時にレジス
タに格納したEFMフレーム数分フレームシンクをカウ
ントした位置から再書き込みを開始するようにした。こ
のことから、再書き込み時に光ディスク上で正確にデー
タをつなぐことができ、バッファアンダーランが生じた
際にデータ書き込みを中断し、再び書き込み行った場合
に、あたかも連続してデータ書き込みを行ったように再
書き込みを行うことができる。
As described above, in the optical disc device according to the first embodiment, the write control unit 34 writes the EFM frame at the time of the pause write PW based on the time information at that time and the subcode sync to be written. Information is stored in a built-in register, data writing is performed until the end of the EFM frame, and the writing process is interrupted.
From the time information of the subcode or the time information of the subcode, when the writing is interrupted, the subcode sync is awaited. When the subcode sync is detected, the position where the number of the EFM frames stored in the register at the time of the writing interruption is counted. Start rewriting from. From this, it is possible to accurately connect data on the optical disc at the time of rewriting, to suspend data writing when a buffer underrun occurs, and to perform data writing again as if continuous data writing was performed. Can be rewritten.

【0072】第2の実施の形態.上記第1の実施の形態
では、光ディスクへのデータ書き込み処理中にバッファ
アンダーランが発生した場合、一旦書き込み処理を中断
してホストコンピュータからデータを受信し光ディスク
に対して再度データ書き込み処理を行うようにした。一
方、光ディスクへのデータ書き込み処理中において、光
ディスク装置への衝撃等によって生じるトラック飛び及
び/又は光ディスク上のキズ等によって、光ディスクか
ら読み出したウォブル信号が正常に復調することができ
ない場合があった。
Second Embodiment In the first embodiment, when a buffer underrun occurs during the data writing process on the optical disc, the writing process is temporarily stopped, the data is received from the host computer, and the data writing process is performed again on the optical disc. I made it. On the other hand, during the process of writing data to the optical disk, the wobble signal read from the optical disk may not be able to be normally demodulated due to track jumps and / or scratches caused by an impact on the optical disk device or the like.

【0073】このことから、上記第1の実施の形態にお
ける光ディスク装置において、トラッキング外れやスピ
ンドル異常等の緊急の書き込み処理停止要因を検出した
場合にも、一旦書き込み処理を中断して該要因が解除さ
れた後再度光ディスクに対するデータ書き込み処理を行
うようにしてもよく、このようにしたものを本発明の第
2の実施の形態とする。
Therefore, in the optical disk device according to the first embodiment, even when an emergency write processing stop factor such as tracking error or spindle error is detected, the write process is temporarily interrupted and the factor is released. After that, the data writing process for the optical disc may be performed again, and such a process is referred to as a second embodiment of the present invention.

【0074】図12は、本発明の第2の実施の形態にお
ける光ディスク装置の概略の構成例を示したブロック図
であり、図2においても、CD−Rを例にして示してい
る。なお、図12では、図1と同じものは同じ符号で示
しており、ここではその説明を省略すると共に図12と
の相違点のみ説明する。
FIG. 12 is a block diagram showing a schematic configuration example of an optical disk device according to the second embodiment of the present invention, and FIG. 2 also shows a CD-R as an example. 12, the same components as those in FIG. 1 are denoted by the same reference numerals, and the description thereof will be omitted, and only the differences from FIG. 12 will be described.

【0075】図12における図1との相違点は、図1の
ATIPデコーダ11及びサーボ回路15が、トラッキ
ング外れやスピンドル異常等によって光ディスクから読
み出されたウォブル信号を正常に復調することができな
くなると、CDエンコーダ12に対して異常発生を示す
信号をそれぞれ出力して光ディスク2へのデータ書き込
み処理を中断させるようにしたことにあり、図1のAT
IPデコーダ11をATIPデコーダ11aにし、図1
のCDエンコーダ12をCDエンコーダ12aにし、図
1のサーボ回路15をサーボ回路15aにすると共に、
これらに伴って、図1の光ディスク装置1を光ディスク
装置1aにした。
The difference between FIG. 12 and FIG. 1 is that the ATIP decoder 11 and the servo circuit 15 in FIG. 1 cannot properly demodulate the wobble signal read from the optical disc due to tracking error, spindle error, or the like. 1 to output a signal indicating the occurrence of an abnormality to the CD encoder 12 to interrupt the data writing process to the optical disc 2.
The IP decoder 11 is replaced with an ATIP decoder 11a, and FIG.
The CD encoder 12 is replaced with a CD encoder 12a, the servo circuit 15 of FIG. 1 is replaced with a servo circuit 15a,
Accordingly, the optical disk device 1 of FIG. 1 is changed to an optical disk device 1a.

【0076】図12において、サーボ回路15aは、光
ディスク上のキズ等によってウォブル信号を正常に復調
することができず正常にサーボ制御ができなくなると、
該異常を示す信号をCDエンコーダ12aに出力し、C
Dエンコーダ12aは、直ちに光ディスク2へのデータ
書き込み処理を停止してポーズライトを行う。このと
き、ATIPデコーダ11aからも該異常を示す信号が
CDエンコーダ12aに出力されるが、ATIPデコー
ダ11aは、ある程度ウォブル信号を読み込んだ後に異
常が発生したことを検出してCDエンコーダ12aに出
力するため、サーボ回路15aからの異常信号がATI
Pデコーダ11aよりも早くCDエンコーダ12aに入
力される。
In FIG. 12, when the servo circuit 15a cannot demodulate the wobble signal normally due to a flaw or the like on the optical disk and cannot perform servo control normally,
A signal indicating the abnormality is output to the CD encoder 12a,
The D encoder 12a immediately stops the process of writing data to the optical disc 2 and performs pause writing. At this time, a signal indicating the abnormality is also output from the ATIP decoder 11a to the CD encoder 12a. The ATIP decoder 11a detects that an abnormality has occurred after reading a wobble signal to some extent, and outputs the detected signal to the CD encoder 12a. Therefore, the abnormal signal from the servo circuit 15a
It is input to the CD encoder 12a earlier than the P decoder 11a.

【0077】一方、衝撃等によってトラック飛びが生じ
た場合、CDエンコーダ12aは、ATIPデコーダ1
1aでデコードして入力されたATIP時間情報の異常
を検出し、該異常が検出されると直ちに光ディスク2へ
のデータ書き込み処理を停止してポーズライトを行う。
このとき、サーボ回路15aからもサーボ異常を示す信
号が一瞬入力されるが、該信号が入力される時間が非常
に短いため、CDエンコーダ12aは、該異常信号に対
して、直ちに光ディスク2へのデータ書き込み処理を停
止してポーズライトを行わない場合がある。
On the other hand, when a track jump occurs due to an impact or the like, the CD encoder 12a
An abnormality in the ATIP time information decoded and input in 1a is detected, and as soon as the abnormality is detected, the process of writing data to the optical disc 2 is stopped and pause writing is performed.
At this time, a signal indicating a servo abnormality is also momentarily input from the servo circuit 15a. However, since the time during which the signal is input is extremely short, the CD encoder 12a immediately responds to the abnormality signal by sending the signal to the optical disk 2. There is a case where the data write processing is stopped and the pause write is not performed.

【0078】図13は、CDエンコーダ12aの構成例
を示した概略のブロック図である。図13では、図4と
同じものは同じ符号で示しており、ここではその説明を
省略すると共に図4との相違点のみ説明する。図13に
おいて、CDエンコーダ12aは、クロック信号生成部
30と、CIRC演算用RAM部31と、CIRC演算
部32と、EFMエンコーダ部33と、書き込み制御部
34aとを備えている。
FIG. 13 is a schematic block diagram showing a configuration example of the CD encoder 12a. 13, the same components as those in FIG. 4 are denoted by the same reference numerals, and the description thereof will be omitted, and only the differences from FIG. 4 will be described. 13, the CD encoder 12a includes a clock signal generation unit 30, a RAM unit 31 for CIRC operation, a CIRC operation unit 32, an EFM encoder unit 33, and a write control unit 34a.

【0079】書き込み制御部34aは、ATIPデコー
ダ11aから入力されるATIP時間情報及びATIP
異常信号等やサーボ回路15aから入力されるサーボ異
常信号等から、トラッキング外れやスピンドル異常等の
緊急の書き込み処理停止要因を検出すると、上記第1の
実施の形態で説明したポーズライトを行って、データ書
き込み処理を中断する。このとき、書き込み制御部34
aは、上記第1の実施の形態の書き込み制御部34がC
PU20からポーズライト指令が出力されたときの動作
と同じ動作を行う。更に、書き込み制御部34aは、デ
ータ書き込み処理を中断したことを示すステータスを内
蔵するレジスタ(図示せず)に書き込む。CPU20
は、書き込み制御部34aの該レジスタに書き込まれた
ステータスを読み、書き込み制御部34aがポーズライ
トを行ったことを認識する。
The write control unit 34a includes the ATIP time information input from the ATIP decoder 11a and the ATIP time information.
When an urgent write processing stop factor such as tracking error or spindle error is detected from an abnormal signal or a servo abnormal signal input from the servo circuit 15a, the pause light described in the first embodiment is performed. Interrupt the data write process. At this time, the write control unit 34
a indicates that the write control unit 34 of the first embodiment
The same operation as when the pause light command is output from the PU 20 is performed. Further, the write control unit 34a writes a status indicating that the data write process has been interrupted into a built-in register (not shown). CPU 20
Reads the status written to the register of the write control unit 34a, and recognizes that the write control unit 34a has performed the pause write.

【0080】また、書き込み制御部34aは、ATIP
デコーダ11aから入力されるATIP時間情報及びA
TIP異常信号等やサーボ回路15aから入力されるサ
ーボ異常信号等から、緊急の書き込み処理停止要因がな
くなったと判断すると、該書き込み処理停止要因がなく
なったことを示すステータスを上記内蔵するレジスタに
書き込む。CPU20は、書き込み制御部34aの該レ
ジスタに書き込まれたステータスを読み、緊急の書き込
み処理停止要因がなくなったことを認識し、書き込み制
御部34aに対してリスタートライト指令を出力する。
Further, the write control unit 34 a
ATIP time information input from the decoder 11a and A
When it is determined from the TIP error signal or the like or the servo error signal input from the servo circuit 15a that the urgent write processing stop factor has disappeared, a status indicating that the write process stop factor has disappeared is written to the built-in register. The CPU 20 reads the status written in the register of the write control unit 34a, recognizes that the urgent write processing stop factor has disappeared, and outputs a restart write command to the write control unit 34a.

【0081】書き込み制御部34aは、上記第1の実施
の形態の書き込み制御部34がCPU20からリスター
トライト指令が出力されたときの動作と同じ動作を行
う。ATIPデコーダ11a、サーボ回路15a及び書
き込み制御部34aにおいて、これ例外の動作は上記第
1の実施の形態におけるATIPデコーダ11、サーボ
回路15及び書き込み制御部34と同様であり、その説
明を省略する。
The write control unit 34a performs the same operation as the operation when the restart control command is output from the CPU 20 by the write control unit 34 of the first embodiment. The exceptional operations of the ATIP decoder 11a, the servo circuit 15a, and the write control unit 34a are the same as those of the ATIP decoder 11, the servo circuit 15, and the write control unit 34 in the first embodiment, and a description thereof will be omitted.

【0082】ここで、光ディスクへのデータ書き込み処
理緊急停止要因として、次のような場合が考えられる。
書き込み制御部34aは、ATIPデコーダ11aから
入力されるATIP時間情報の連続性が途切れた場合、
すなわち補完用のデータと復調データとを比較し、AC
RC結果がOKでありながら補完用データと一致しない
場合、連続性が途切れているとみなし、ポーズライトを
行う。また、書き込み制御部34aは、ACRC結果が
NGとなった連続回数があらかじめ設定されている許容
数を超えるとポーズライトを実行する。
Here, the following cases can be considered as causes of the emergency stop of the data writing process to the optical disk.
When the continuity of the ATIP time information input from the ATIP decoder 11a is interrupted, the write control unit 34a
That is, the data for complementation is compared with the demodulated data,
If the RC result is OK but does not match the complementing data, it is considered that continuity has been interrupted, and pause light is performed. In addition, the write control unit 34a executes the pause write when the number of consecutive times that the ACRC result is NG exceeds a preset allowable number.

【0083】ATIPデコーダ11aは、検出すべきA
TIPシンクが検出できない場合、ATIPシンクの内
挿を行うが、該内挿が許容数を超えた場合、書き込み制
御部34aに所定のATIP異常信号を出力し、書き込
み制御部34aは該ATIP異常信号が入力されるとポ
ーズライトを実行する。また、ATIPシンクは、光デ
ィスクに書き込むサブコードシンクに対してずれ量が規
定値以内になるように規定されており、書き込み制御部
34aは、該ずれ量が規定値を超えるとポーズライトを
実行する。具体的には、書き込み制御部34aは、例え
ばオレンジブックで規定された±2EFMフレームを示
すウィンドウ(Window)内にATIPシンクを検出でき
ない場合、ポーズライトを実行する。
The ATIP decoder 11a outputs A
When the TIP sink cannot be detected, interpolation of the ATIP sink is performed. When the interpolation exceeds the allowable number, a predetermined ATIP abnormality signal is output to the write control unit 34a, and the write control unit 34a outputs the ATIP abnormality signal. When is input, the pause light is executed. Further, the ATIP sink is defined so that the shift amount with respect to the subcode sync to be written on the optical disk is within a specified value, and the write control unit 34a executes the pause write when the shift amount exceeds the specified value. . Specifically, for example, when the ATIP sync cannot be detected within a window (Window) indicating ± 2 EFM frames specified by the Orange Book, the write control unit 34a executes a pause write.

【0084】一方、サーボ回路15aは、スピンドルサ
ーボの位相比較結果が許容数を超えると、所定のサーボ
異常信号を書き込み制御部34aに出力し、書き込み制
御部34aは、ポーズライトを実行する。また、サーボ
回路15aは、光ディスクのドライブを行う部分への衝
撃の検出を行い、該衝撃を検出すると所定の信号を書き
込み制御部34aに出力し、書き込み制御部34aは、
ポーズライトを実行する。
On the other hand, when the result of the phase comparison of the spindle servo exceeds the allowable number, the servo circuit 15a outputs a predetermined servo abnormality signal to the write control unit 34a, and the write control unit 34a executes a pause write. Further, the servo circuit 15a detects a shock to a portion where the optical disc is to be driven, and when detecting the shock, outputs a predetermined signal to the write control unit 34a, and the write control unit 34a
Execute the pause light.

【0085】図14は、図12及び図13で示した光デ
ィスク装置における書き込み制御動作例を示したフロー
チャートである。なお、図14では、図4の書き込み制
御部34を書き込み制御部34aに置き換える以外は図
5と同じ処理を行うフローは図5と同じ符号で示してお
り、ここではその説明を省略すると共に図5との相違点
のみ説明する。図14における図5との相違点は、図5
のステップST1とステップST2との間にステップS
T21を、図5のステップST2とステップST3との
間にステップST22を、図5のステップST3とステ
ップST4との間にステップST23をそれぞれ設ける
と共に、図5のステップST9とステップST10との
間にステップST24を設けたことにある。
FIG. 14 is a flowchart showing an example of a write control operation in the optical disk device shown in FIGS. In FIG. 14, the flow of performing the same processing as in FIG. 5 except that the write control unit 34 in FIG. 4 is replaced with the write control unit 34 a is indicated by the same reference numeral as in FIG. Only differences from the fifth embodiment will be described. The difference between FIG. 14 and FIG.
Between step ST1 and step ST2
T21 is provided with step ST22 between step ST2 and step ST3 in FIG. 5, step ST23 is provided between step ST3 and step ST4 in FIG. 5, and between step ST9 and step ST10 in FIG. That is, step ST24 is provided.

【0086】図14において、図5のステップST1の
処理を行った後、書き込み制御部34aは、ATIPデ
コーダ11a及びサーボ回路15aから入力される信号
から、トラッキング外れやスピンドル異常等の緊急の書
き込み処理停止要因の発生の有無の判定を行う(ステッ
プST21)。ステップST21で、緊急の書き込み処
理停止要因の発生ありと判定すると(YES)、図5の
ステップST9に進む。また、ステップST21で、緊
急の書き込み処理停止要因の発生なしと判定すると(N
O)、図5のステップST2の処理を行った後、再度、
書き込み制御部34aは、ATIPデコーダ11a及び
サーボ回路15aから入力される信号から、トラッキン
グ外れやスピンドル異常等の緊急の書き込み処理停止要
因の発生の有無の判定を行う(ステップST22)。
In FIG. 14, after performing the process of step ST1 of FIG. 5, the write control unit 34a determines whether an emergency write process such as tracking loss or spindle error has occurred from the signals input from the ATIP decoder 11a and the servo circuit 15a. It is determined whether or not a stop factor has occurred (step ST21). If it is determined in step ST21 that an emergency write processing stop factor has occurred (YES), the process proceeds to step ST9 in FIG. If it is determined in step ST21 that no urgent write processing stop factor has occurred (N
O), after performing the process of step ST2 in FIG. 5,
The write control unit 34a determines whether or not an urgent write processing stop factor such as tracking error or spindle error has occurred from the signals input from the ATIP decoder 11a and the servo circuit 15a (step ST22).

【0087】ステップST22で、緊急の書き込み処理
停止要因の発生ありと判定すると(YES)、図5のス
テップST9に進む。また、ステップST22で、緊急
の書き込み処理停止要因の発生なしと判定すると(N
O)、図5のステップST3の処理を行った後、再び、
書き込み制御部34aは、ATIPデコーダ11a及び
サーボ回路15aから入力される信号から、トラッキン
グ外れやスピンドル異常等の緊急の書き込み処理停止要
因の発生の有無の判定を行う(ステップST23)。
If it is determined in step ST22 that an emergency write processing stop factor has occurred (YES), the process proceeds to step ST9 in FIG. If it is determined in step ST22 that no urgent write processing stop factor has occurred (N
O), after performing the process of step ST3 in FIG. 5,
The write control unit 34a determines whether or not an urgent write processing stop factor such as tracking error or spindle error has occurred from the signals input from the ATIP decoder 11a and the servo circuit 15a (step ST23).

【0088】ステップST23で、緊急の書き込み処理
停止要因の発生ありと判定すると(YES)、ステップ
ST9に進む。また、ステップST23で、緊急の書き
込み処理停止要因の発生なしと判定すると(NO)、図
5のステップST4〜ST7の処理を行った後、本フロ
ーは終了し、ステップST5でデータ書き込みが終了し
ていなければ(NO)、ステップST21に戻る。
If it is determined in step ST23 that an urgent write processing stop factor has occurred (YES), the process proceeds to step ST9. If it is determined in step ST23 that no urgent write processing stop factor has occurred (NO), the processes in steps ST4 to ST7 in FIG. 5 are performed, then this flow ends, and data writing ends in step ST5. If not (NO), the process returns to step ST21.

【0089】また、図5のステップST9の処理を行っ
た後、書き込み制御部34aは、ATIPデコーダ11
a及びサーボ回路15aから入力される信号から、トラ
ッキング外れやスピンドル異常等の緊急の書き込み処理
停止要因の発生の有無の判定を行う(ステップST2
4)。ステップST24で、緊急の書き込み処理停止要
因の発生ありと判定すると(YES)、ステップST2
4の処理を行う。また、ステップST24で、緊急の書
き込み処理停止要因の発生なしと判定すると(NO)、
図5のステップST10〜ST13の処理を行った後、
ステップST22に戻る。
After performing the process of step ST9 in FIG. 5, the write control unit 34a sets the ATIP decoder 11
a and the signal input from the servo circuit 15a, it is determined whether or not an urgent write processing stop factor such as tracking error or spindle error has occurred (step ST2).
4). If it is determined in step ST24 that an urgent write processing stop factor has occurred (YES), step ST2 is performed.
4 is performed. If it is determined in step ST24 that no urgent write processing stop factor has occurred (NO),
After performing the processing of steps ST10 to ST13 in FIG.
It returns to step ST22.

【0090】このように、本第2の実施の形態における
光ディスク装置は、ATIPデコーダ11から入力され
るATIP時間情報及びATIP異常信号等やサーボ回
路15aから入力されるサーボ異常信号等から、トラッ
キング外れやスピンドル異常等の緊急の書き込み処理停
止要因を検出すると、上記第1の実施の形態で説明した
ポーズライトを行ってデータ書き込み処理を中断し、緊
急の書き込み処理停止要因がなくなると上記第1の実施
の形態で説明したリスタートライトを行うようにした。
このことから、光ディスクに対する書き込み処理中にス
ピンドル異常、トラッキング外れ等の要因で緊急停止を
行う必要が生じた場合においても、光ディスクへの書き
込み処理を正常に行うことができる。
As described above, the optical disk device according to the second embodiment is deviated from the ATIP time information and ATIP abnormal signal input from the ATIP decoder 11 and the servo abnormal signal input from the servo circuit 15a. When an urgent write processing stop factor such as a spindle error or the like is detected, the pause write described in the first embodiment is performed to interrupt the data write process. When the urgent write process stop factor disappears, the first write process stops. The restart light described in the embodiment is performed.
Therefore, even when an emergency stop needs to be performed due to a spindle error, tracking error, or the like during the writing process on the optical disk, the writing process on the optical disk can be performed normally.

【0091】[0091]

【発明の効果】上記の説明から明らかなように、本発明
の光ディスク装置によれば、書き込み制御部は、光ディ
スクへのデータ書き込みを中断する場合、データ処理部
及びエンコーダ部に対して、データ格納部に対するアク
セス終了後に待機状態にしてデータ格納部へのアクセス
を停止させると共にデータ格納部への書き込み用データ
の格納を停止させるようにした。このことから、インタ
リーブの管理を行うことができると共にDSV演算の乱
れも回避することができ、光ディスクへのデータ書き込
み処理を一時中断した後該データ書き込み処理を再開す
る場合においても、該書き込み用データが中断せずに連
続して書き込みを行った場合と同様のデータ読み出しを
行うことができる。
As is apparent from the above description, according to the optical disk apparatus of the present invention, the write control unit stores data in the data processing unit and the encoder unit when interrupting data writing to the optical disk. The access to the data storage unit is stopped after the access to the unit is completed, and the storage of the write data in the data storage unit is stopped. Therefore, the interleave can be managed and the DSV operation can be prevented from being disturbed. Even when the data writing process on the optical disc is temporarily suspended and then restarted, the data Can be read as in the case where writing is continuously performed without interruption.

【0092】また、上記書き込み制御部は、データ書き
込み時に光ディスクから読み出された各種情報の異常検
出を行い、該異常を検出すると光ディスクへのデータ書
き込み処理を中断するようにしてもよく、このようにす
ることにより、光ディスクに対する書き込み処理中にス
ピンドル異常、トラッキング外れ等の要因で緊急停止を
行う必要が生じた場合に、光ディスクへの書き込み処理
を中断させることができ、光ディスクに対するデータ書
き込みの失敗を防止することができる。
Further, the writing control unit may detect abnormality of various information read from the optical disk at the time of data writing, and may interrupt the data writing process to the optical disk when the abnormality is detected. By doing so, if it becomes necessary to perform an emergency stop due to a spindle error, tracking error, or the like during the writing process on the optical disk, the writing process on the optical disk can be interrupted, and failure to write data on the optical disk can be prevented. Can be prevented.

【0093】この場合、上記書き込み動作指令部は、書
き込み制御部が、上記異常を検出してデータ書き込み処
理を中断した後、光ディスクから読み出された各種情報
が正常になったことを検出すると、書き込み制御部に対
して、データ書き込み処理を中断した際の書き込み終了
位置からデータ書き込みを再開させるようにした。この
ことから、このことから、光ディスクに対する書き込み
処理中にスピンドル異常、トラッキング外れ等の要因で
緊急停止を行う必要が生じた場合においても、光ディス
クへの書き込み処理を正常に行うことができる。
[0093] In this case, the write operation command unit, when the write control unit detects that the various kinds of information read from the optical disc have become normal after detecting the abnormality and interrupting the data write process, The writing control unit restarts data writing from the writing end position when the data writing process is interrupted. Therefore, even when it is necessary to perform an emergency stop due to a spindle error, tracking error, or the like during the writing process on the optical disk, the writing process on the optical disk can be performed normally.

【0094】更に、光ディスク上のデータ書き込み終了
位置を示す情報を格納する終了位置情報格納部を備え、
光ディスクへのデータ書き込みを終了するとき、該終了
時の光ディスク上の位置情報を該終了位置情報格納部に
格納するようにした。このことから、再書き込み処理を
行う際のシーク位置及び書き込み開始位置を容易に確認
することができる。
Further, there is provided an end position information storage unit for storing information indicating a data write end position on the optical disk,
When the data writing to the optical disk is completed, the position information on the optical disk at the time of the end is stored in the end position information storage unit. From this, it is possible to easily confirm the seek position and the write start position when performing the rewrite processing.

【0095】具体的には、光ディスクに記録されたデー
タから得られる位置情報から、終了位置情報格納部に格
納された書き込み終了位置の検出を行うようにした。こ
のように、光ディスクに記録されたデータを読み込む
と、CD−R/RW,DVD−R/RW,DVD+Rの
それぞれのフォーマットにより、1セクタ又は1フレー
ムを示すタイミング信号が抽出され、これらのタイミン
グ信号を用いることによって、すでに光ディスクに書き
込まれたデータと同期をとることができ、直前の書き込
み終了位置より再書き込みを行うことができる。
More specifically, the write end position stored in the end position information storage is detected from the position information obtained from the data recorded on the optical disk. As described above, when the data recorded on the optical disk is read, a timing signal indicating one sector or one frame is extracted in each format of CD-R / RW, DVD-R / RW, and DVD + R, and these timing signals are extracted. By using, it is possible to synchronize with the data already written on the optical disk, and to perform rewriting from the immediately preceding write end position.

【0096】また、光ディスクへデータ書き込みを行う
場合、正常に書き込みが終了できるかどうかを確認する
ため、実際に書き込み動作は行わないが、一連の動作確
認のために擬似的な書き込み処理であるテストライトを
行う場合がある。実際に書き込みを行う場合と同様にバ
ッファアンダーランが発生してデータ書き込みの中断及
び再データ書き込みを行おうとしたとき、テストライト
では実際には光ディスクへの書き込みを行わないことか
ら、光ディスクにすでに書き込まれたデータを検出する
ことができず、再書き込みを開始することができない。
このような場合には、CD−R/RW,DVD−R/R
W,DVD+RWの光ディスク上に形成されたウォブル
から得られる絶対位置情報を用いてタイミングをとり書
き込みを開始することによって、光ディスクに書き込み
データがない場合においても正常に再書き込みを行うこ
とができる。
When data is written to the optical disk, the write operation is not actually performed in order to confirm whether or not the writing can be completed normally. Write may be performed. As in the case of actual writing, when a buffer underrun occurs and data writing is interrupted and data is to be written again, the test writing does not actually write to the optical disk. Data cannot be detected, and rewriting cannot be started.
In such a case, CD-R / RW, DVD-R / R
By starting writing at a timing using absolute position information obtained from wobbles formed on a W, DVD + RW optical disc, rewriting can be performed normally even when there is no write data on the optical disc.

【0097】また、光ディスクに形成されたウォブルの
復調を行う際に固有の復調ディレイが生じる。再書き込
みの際に、光ディスク上で正確にデータをつなぐためは
該復調ディレイを補正する必要があり、該補正量を任意
に設定できるようにすることにより、光ピックアップ、
デコーダ等の違いに関わらず復調ディレイの補正を行う
ことができ、正確な再書き込みを行うことができる。
Further, when demodulating the wobble formed on the optical disk, a peculiar demodulation delay occurs. At the time of rewriting, it is necessary to correct the demodulation delay in order to accurately connect data on the optical disk, and by enabling the correction amount to be set arbitrarily, the optical pickup,
The demodulation delay can be corrected irrespective of the difference in the decoder and the like, and accurate rewriting can be performed.

【0098】具体的には、書き込み動作指令部は、書き
込み終了位置からデータの書き込みを行う場合、終了位
置情報格納部に格納された終了位置情報を用いて、再書
き込み位置、再書き込みを行うためのシーク位置を決め
ることができる。
More specifically, when writing data from the write end position, the write operation command unit uses the end position information stored in the end position information storage unit to perform the rewrite position and rewrite. Can be determined.

【0099】また、現在の光ディスク上の位置と終了位
置情報格納部に格納された終了位置情報とを比較し、一
致した時点で自動的に再書き込み動作を行うようにして
もよく、このようにすることにより、CPU等が使用さ
れる書き込み動作指令部における負荷を軽減させること
ができる。
Further, the current position on the optical disk may be compared with the end position information stored in the end position information storage unit, and the rewriting operation may be automatically performed at the time of coincidence. By doing so, it is possible to reduce the load on the write operation command unit used by the CPU or the like.

【0100】また、終了位置情報格納部に格納した書き
込み終了位置の検出時に、該書き込み終了位置が見つか
らない等の問題で、再書き込みが正常に開始されなかっ
た場合、再書き込みのリトライのために再シークを行う
と、読み出し状態が不安定なまま、書き込み終了位置が
見つかって再書き込みを開始する可能性がある。再書き
込みのリトライ時には、再シークを行った後読み出し状
態が安定してから、書き込み終了位置の検出を行うよう
にすることにより、不安定な状態での再書き込み開始が
行われることを防止できる。
When rewriting is not started normally due to a problem such as that the writing end position is not found at the time of detecting the writing end position stored in the end position information storage section, the rewriting of rewriting is performed. When reseek is performed, there is a possibility that a rewrite operation is started after a write end position is found while the read state is unstable. At the time of retry of rewriting, after the reseek is performed and the read state is stabilized, the write end position is detected, so that the start of rewriting in an unstable state can be prevented.

【0101】一方、書き込み終了データ、再書き込みデ
ータがピットの場合、再書き込み時にデータつなぎの位
置合わせ誤差によってデータつなぎ位置に隙間が形成さ
れた場合、該隙間分のスペースができてしまう。データ
読み出し用のPLLは、規格で決められた最小又は最大
のピット又はスペース長さでも制御されることから、規
格外長さのスペースがあるとPLLが乱れる可能性があ
る。このため、書き込み終了データ及び再書き込みデー
タともにスペースとすることで、データのつなぎ目に隙
間があいてもデータ読み出し用のPLLが乱れることを
防止することができる。
On the other hand, when the write end data and the rewrite data are pits, when a gap is formed at the data connection position due to a data connection alignment error at the time of rewriting, a space corresponding to the gap is created. Since the data reading PLL is controlled by the minimum or maximum pit or space length determined by the standard, if there is a space having a length outside the standard, the PLL may be disturbed. Therefore, by setting both the write end data and the rewrite data as a space, it is possible to prevent the data reading PLL from being disturbed even if there is a gap between the data joints.

【0102】具体的には、データのつなぎ位置をEFM
フレームシンクのスペースとすることにより、書き込み
開始位置の誤差を、読み出しデータの復調時に行われる
同期保護で吸収することができ、正確な再生を行うこと
ができるデータ書き込み処理を行うことができる。
More specifically, the data connection position is set to EFM.
By providing a space for the frame sync, an error in the write start position can be absorbed by the synchronization protection performed at the time of demodulation of the read data, and data write processing capable of performing accurate reproduction can be performed.

【0103】また、データ書き込み時の基準クロックと
なるクロック信号を、光ディスクの回転数に合わせて、
光ディスクから読み出したウォブル信号にPLLロック
するように生成するCAV制御を行うようにしたことか
ら、書き込み終了位置も再書き込み位置もウォブルを用
いて合わすことができるため、CLV制御を行う場合よ
りも、データのつなぎ位置の誤差を更に小さくすること
ができる。
A clock signal serving as a reference clock at the time of data writing is adjusted according to the rotation speed of the optical disk.
Since the CAV control for generating the PLL lock to the wobble signal read from the optical disk is performed, the write end position and the rewrite position can be adjusted by using the wobble. The error in the data connection position can be further reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の第1の実施の形態における光ディス
ク装置の概略の構成例を示したブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration example of an optical disc device according to a first embodiment of the present invention.

【図2】 オレンジブックに規定されたCD−R/RW
のデータ書き込み単位のフォーマットを示した図であ
る。
Fig. 2 CD-R / RW specified in the Orange Book
FIG. 4 is a diagram showing a format of a data write unit of FIG.

【図3】 図2に示したデータを書き込む際に、複数回
に分けて書き込んだ場合のフォーマット例を示した図で
ある。
FIG. 3 is a diagram showing an example of a format when writing the data shown in FIG. 2 in a plurality of times;

【図4】 図1のCDエンコーダ12の構成例を示した
概略のブロック図である。
FIG. 4 is a schematic block diagram showing a configuration example of a CD encoder 12 of FIG.

【図5】 図1及び図4で示した光ディスク装置におけ
る書き込み制御動作例を示したフローチャートである。
FIG. 5 is a flowchart showing an example of a write control operation in the optical disk device shown in FIGS. 1 and 4;

【図6】 オレンジブックに規定されている、光ディス
ク2上のデータの書き終わりと書き始めの位置関係を示
す図である。
FIG. 6 is a diagram showing a positional relationship between the end of writing and the start of writing of data on the optical disc 2 defined in the Orange Book.

【図7】 光ディスク2上におけるデータつなぎ目の形
成例を示した図である。
FIG. 7 is a diagram showing an example of forming data joints on an optical disc 2;

【図8】 光ディスク2上のサブコードシンク及びフレ
ームシンク、並びに復調後のサブコードシンク及びフレ
ームシンクの関係を示した図である。
FIG. 8 is a diagram showing a relationship between a subcode sync and a frame sync on the optical disc 2, and a subcode sync and a frame sync after demodulation.

【図9】 光ディスク2上のATIPシンクと、復調後
のATIPシンクの関係を示した図である。
FIG. 9 is a diagram showing a relationship between an ATIP sink on the optical disc 2 and an ATIP sink after demodulation.

【図10】 光ディスク2上におけるデータつなぎ目の
状態例を示した図である。
FIG. 10 is a diagram showing an example of a state of data joints on the optical disc 2;

【図11】 光ディスク2に記録されるEFMデータの
例を示した図である。
FIG. 11 is a diagram showing an example of EFM data recorded on an optical disc 2.

【図12】 本発明の第2の実施の形態における光ディ
スク装置の概略の構成例を示したブロック図である。
FIG. 12 is a block diagram illustrating a schematic configuration example of an optical disc device according to a second embodiment of the present invention.

【図13】 図12のCDエンコーダ12aの構成例を
示した概略のブロック図である。
13 is a schematic block diagram illustrating a configuration example of a CD encoder 12a in FIG.

【図14】 図12及び図13で示した光ディスク装置
における書き込み制御動作例を示したフローチャートで
ある。
FIG. 14 is a flowchart illustrating an example of a write control operation in the optical disc device illustrated in FIGS. 12 and 13;

【符号の説明】[Explanation of symbols]

1,1a 光ディスク装置 2 光ディスク 3 光ピックアップ 4 リードアンプ 5 CDデコーダ 8 バッファマネージャ 9 バッファRAM 10 ホストインタフェース 11,11a ATIPデコーダ 12,12a CDエンコーダ 13 CD−ROMエンコーダ 14 レーザコントロール回路 20 CPU 30 クロック信号生成部 31 CIRC演算用RAM部 32 CIRC演算部 33 EFMエンコーダ部 34,34a 書き込み制御部 35 CDインタフェース部 15a サーボ回路 Reference Signs List 1, 1a optical disk device 2 optical disk 3 optical pickup 4 read amplifier 5 CD decoder 8 buffer manager 9 buffer RAM 10 host interface 11, 11a ATIP decoder 12, 12a CD encoder 13 CD-ROM encoder 14 laser control circuit 20 CPU 30 clock signal generation Unit 31 CIRC calculation RAM unit 32 CIRC calculation unit 33 EFM encoder unit 34, 34a Write control unit 35 CD interface unit 15a Servo circuit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 データ未記録部分の位置を示すアドレス
情報があらかじめ形成されたデータ書き込み可能な光デ
ィスクに対して、情報の記録及び再生を行う光ディスク
装置において、 外部から転送された光ディスクへの書き込み用データ
を、所定のデータ処理を行うために一時的に格納するデ
ータ格納部と、 該データ格納部に格納されたデータに対して所定のデー
タ処理を行うデータ処理部と、 該データ処理部で処理された書き込み用データを所定の
方法で変調して出力するエンコーダ部と、 上記データ処理部及び該エンコーダ部の動作制御を行う
と共に上記データ格納部への書き込み用データの格納制
御を行って、光ディスクへのデータ書き込み制御を行う
書き込み制御部と、 上記データ格納部への書き込み用データの供給が中断す
る状態の発生検出を行い、該検出結果に応じて書き込み
制御部に対する動作指令を行う書き込み動作指令部と、
を備え、 上記書き込み制御部は、光ディスクへのデータ書き込み
を中断する場合、上記データ処理部及びエンコーダ部に
対して、データ格納部に対するアクセス終了後に待機状
態にしてデータ格納部へのアクセスを停止させると共に
データ格納部への書き込み用データの格納を停止させる
ことを特徴とする光ディスク装置。
1. An optical disc apparatus for recording and reproducing information on and from a data writable optical disc on which address information indicating a position of a data unrecorded portion is formed in advance, for writing on an optical disc transferred from outside. A data storage unit for temporarily storing data for performing predetermined data processing, a data processing unit for performing predetermined data processing on the data stored in the data storage unit, and processing by the data processing unit An encoder unit for modulating and outputting the written data by a predetermined method, an operation unit for controlling the operation of the data processing unit and the encoder unit, and a control for storing the write data in the data storage unit; A write control unit for controlling data writing to the data storage unit, and a state where supply of write data to the data storage unit is interrupted Perform the generation detecting a write operation command unit for performing an operation command to the write control unit in accordance with the detection result,
When suspending data writing to the optical disc, the writing control unit causes the data processing unit and the encoder unit to enter a standby state after the end of the access to the data storage unit and stop the access to the data storage unit. An optical disk device for stopping storage of write data in a data storage unit.
【請求項2】 上記書き込み制御部は、データ書き込み
時に光ディスクから読み出された各種情報の異常検出を
行い、該異常を検出すると光ディスクへのデータ書き込
み処理を中断することを特徴とする請求項1記載の光デ
ィスク装置。
2. The method according to claim 1, wherein the writing control unit detects an abnormality of various information read from the optical disk at the time of data writing, and interrupts a data writing process to the optical disk when the abnormality is detected. An optical disk device as described in the above.
【請求項3】 上記書き込み動作指令部は、書き込み制
御部が、上記異常を検出してデータ書き込み処理を中断
した後、光ディスクから読み出された各種情報が正常に
なったことを検出すると、書き込み制御部に対して、デ
ータ書き込み処理を中断した際の書き込み終了位置から
データ書き込みを再開させることを特徴とする請求項2
記載の光ディスク装置。
3. The writing operation command section, when the writing control section detects that the various kinds of information read from the optical disc have become normal after detecting the abnormality and interrupting the data writing process, 3. The controller according to claim 2, wherein the controller restarts data writing from a write end position when the data writing process is interrupted.
An optical disk device as described in the above.
【請求項4】 光ディスク上のデータ書き込み終了位置
を示す情報を格納する終了位置情報格納部を備え、上記
書き込み制御部は、光ディスクへのデータ書き込みを終
了するとき、該終了時における光ディスク上の位置情報
を該終了位置情報格納部に格納することを特徴とする請
求項1、2又は3記載の光ディスク装置。
4. An end position information storage unit for storing information indicating an end position of data writing on the optical disk, wherein the write control unit, when ending data writing on the optical disk, sets the position on the optical disk at the end of the writing. 4. The optical disk device according to claim 1, wherein information is stored in the end position information storage unit.
【請求項5】 上記書き込み制御部は、光ディスクに記
録されたデータから得られる位置情報から、上記終了位
置情報格納部に格納された書き込み終了位置の検出を行
うことを特徴とする請求項4記載の光ディスク装置。
5. The write control unit according to claim 4, wherein the write control unit detects a write end position stored in the end position information storage unit from position information obtained from data recorded on the optical disk. Optical disk device.
【請求項6】 上記書き込み制御部は、光ディスクにあ
らかじめ形成されたデータ未記録部分の絶対位置を示す
絶対位置情報から、上記終了位置情報格納部に格納され
た書き込み終了位置の検出を行うことを特徴とする請求
項4記載の光ディスク装置。
6. The write control unit detects a write end position stored in the end position information storage unit from absolute position information indicating an absolute position of a data unrecorded portion formed in advance on the optical disc. The optical disk device according to claim 4, wherein:
【請求項7】 上記書き込み制御部は、光ディスクから
得られる位置情報を読み出して復調する際に生じる遅延
時間に対して、あらかじめ設定された補正値を用いて補
正を行うことを特徴とする請求項5又は6記載の光ディ
スク装置。
7. The apparatus according to claim 1, wherein said write controller corrects a delay time generated when reading and demodulating position information obtained from the optical disk by using a preset correction value. 7. The optical disk device according to 5 or 6.
【請求項8】 上記書き込み動作指令部は、書き込み終
了位置からデータの書き込みを行う場合、上記終了位置
情報格納部に格納された終了位置情報から、光ディスク
に対してデータの読み出し及び書き込みを行う光ピック
アップを該終了位置から所定値前にシークさせた後、上
記書き込み制御部は、終了位置情報格納部に格納した書
き込み終了位置の検出を行うことを特徴とする請求項
5、6又は7記載の光ディスク装置。
8. When writing data from a write end position, the write operation instructing unit reads light from and writes data to an optical disc based on the end position information stored in the end position information storage unit. 8. The writing control unit according to claim 5, wherein after the pickup is sought a predetermined value before the end position, the write control unit detects the write end position stored in the end position information storage unit. Optical disk device.
【請求項9】 上記書き込み制御部は、書き込み終了位
置からデータの書き込みを行う場合、上記終了位置情報
格納部に格納された終了位置情報から、光ディスクに対
してデータの読み出し及び書き込みを行う光ピックアッ
プを該終了位置から所定値前にシークさせた後、上記終
了位置情報格納部に格納した書き込み終了位置の検出を
行うことを特徴とする請求項5、6又は7記載の光ディ
スク装置。
9. An optical pickup for reading and writing data from / to an optical disk from end position information stored in the end position information storage unit when writing data from a write end position. 8. The optical disk device according to claim 5, wherein after seeking a predetermined time before the end position, a write end position stored in the end position information storage unit is detected.
【請求項10】 上記書き込み制御部は、書き込み終了
位置からデータの書き込みを行う場合、該書き込み終了
位置からのデータ書き込みが開始されなかったときは、
光ディスクへの再書き込み動作を中断した後、再度、上
記終了位置情報格納部に格納された終了位置情報から、
上記光ピックアップを該終了位置から所定値前にシーク
させた後、終了位置情報格納部に格納した書き込み終了
位置の検出を行うことを特徴とする請求項9記載の光デ
ィスク装置。
10. The write control unit, when writing data from a write end position, when the data write from the write end position is not started,
After interrupting the rewriting operation on the optical disk, again from the end position information stored in the end position information storage unit,
10. The optical disk device according to claim 9, wherein after the optical pickup seeks a predetermined value before the end position, the write end position stored in the end position information storage unit is detected.
【請求項11】 上記書き込み制御部は、書き込み終了
位置での書き込みデータ及び再び書き込みを行うときの
書き込み開始データを、光ディスクにピットが形成され
たときのデータと相反するデータを示すスペースにする
ことを特徴とする請求項1、2、3、4、5、6、7、
8、9又は10記載の光ディスク装置。
11. The writing control unit sets the write data at the write end position and the write start data at the time of rewriting to a space indicating data that is inconsistent with data when pits are formed on the optical disk. Claims 1, 2, 3, 4, 5, 6, 7,
11. The optical disk device according to 8, 9, or 10.
【請求項12】 上記エンコーダ部は、データ処理部で
処理された書き込み用データを所定の方法でEFM変調
して出力し、上記書き込み制御部は、書き込み終了位置
をEFMフレームシンクのスペースとすると共に書き込
み開始位置をEFMフレームシンクのスペースから開始
することを特徴とする請求項11に記載の光ディスク装
置。
12. The encoder section performs EFM modulation on the write data processed by the data processing section by a predetermined method and outputs the data. The write control section sets a write end position as a space for an EFM frame sync. 12. The optical disk device according to claim 11, wherein the writing start position is started from a space of the EFM frame sync.
【請求項13】 CAV制御を行うために、光ディスク
にデータの記録を行う際のデータ書き込みタイミングを
得るために使用する書き込み用基準クロック信号を、光
ディスクの回転数に合わせて、光ディスクから読み出し
たウォブル信号にPLLロックするように生成するPL
L回路で構成されたクロック信号生成部を備えることを
特徴とする請求項1、2、3、4、5、6、7、8、9
又は10記載の光ディスク装置。
13. A wobble read out from an optical disc in accordance with a rotation speed of an optical disc, wherein a write reference clock signal used for obtaining data write timing when data is recorded on the optical disc in order to perform CAV control. PL generated to be PLL-locked to a signal
10. The system according to claim 1, further comprising a clock signal generator configured by an L circuit.
Or the optical disk device according to 10.
JP2001332287A 2000-10-31 2001-10-30 Optical disk unit Pending JP2002203362A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001332287A JP2002203362A (en) 2000-10-31 2001-10-30 Optical disk unit
US10/282,396 US7151732B2 (en) 2001-10-30 2002-10-29 Optical disk unit capable of reading out data normally and continuously after suspension of data writing
US11/582,267 US7548498B2 (en) 2001-10-30 2006-10-17 Optical disk unit capable of reading out data normally and continuously after suspension of data writing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000332409 2000-10-31
JP2000-332409 2000-10-31
JP2001332287A JP2002203362A (en) 2000-10-31 2001-10-30 Optical disk unit

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006339728A Division JP2007073187A (en) 2000-10-31 2006-12-18 Optical disk device

Publications (1)

Publication Number Publication Date
JP2002203362A true JP2002203362A (en) 2002-07-19

Family

ID=26603129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001332287A Pending JP2002203362A (en) 2000-10-31 2001-10-30 Optical disk unit

Country Status (1)

Country Link
JP (1) JP2002203362A (en)

Similar Documents

Publication Publication Date Title
TW436764B (en) Disk recording system
JP3363712B2 (en) Optical disk drive
US6594213B1 (en) Data recorder
US7580333B2 (en) Optical disk apparatus
US6487616B1 (en) Controller for data recorder
US7548498B2 (en) Optical disk unit capable of reading out data normally and continuously after suspension of data writing
US20050249072A1 (en) Controller for data recorder
US6992957B2 (en) Controller of data recorder
JP3946421B2 (en) Optical disk device
US20010006496A1 (en) Controller for data recorder
JP2003059181A (en) Data recorder and controller for the data recorder
JP4657518B2 (en) Optical disk device
US20010006498A1 (en) Data recorder
JP2001250329A (en) Data recorder
JP2002203362A (en) Optical disk unit
JP2007073187A (en) Optical disk device
JP3885538B2 (en) Optical disk device
JP3357870B2 (en) Disk recording device
JP2005032351A (en) Optical disk drive
JP3594525B2 (en) Data recording device and control circuit thereof
WO2006049155A1 (en) Disk recording/reproducing apparatus and disk recording method
JP3357869B2 (en) Disk recording device
JP3898522B2 (en) Optical disk device
JP3898736B2 (en) system
JP2001344872A (en) Optical disk recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040607

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061218

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070221

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070316