JPS61144777A - Optical disk device - Google Patents

Optical disk device

Info

Publication number
JPS61144777A
JPS61144777A JP26457884A JP26457884A JPS61144777A JP S61144777 A JPS61144777 A JP S61144777A JP 26457884 A JP26457884 A JP 26457884A JP 26457884 A JP26457884 A JP 26457884A JP S61144777 A JPS61144777 A JP S61144777A
Authority
JP
Japan
Prior art keywords
data
sector
circuit
error
word
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
JP26457884A
Other languages
Japanese (ja)
Inventor
Wasaku Yamada
山田 和作
Narimoto Tenmiyo
天明 成元
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 JP26457884A priority Critical patent/JPS61144777A/en
Publication of JPS61144777A publication Critical patent/JPS61144777A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1883Methods for assignment of alternate areas for defective areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Abstract

PURPOSE:To evade cases in which data can not be restored by calculating the frequency of data error occurrence of every sector and deciding on the failure degree of a sector. CONSTITUTION:When a central processor informs an optical disk limiting circuit 1 of the reading of data, the circuit 1 sets a target address in a sector address detecting circuit 6 and allows a driving circuit 5 to drive and start a read/write control circuit 4. Data outputted from the circuit 4 is applied to an error composing circuit 8 through a demodulating circuit 7 to perform error processing, so that corrected data CD is outputted to the circuit 1. A correction flag from the circuit 8 is counted by a flag counter 9, and when its counted value exceeds a specific value N, an overerror flag OF is set and the circuit 1 is informed that the sector is a defective sector. The circuit 1 outputs the data CD to an external bus line EBD and outputs a defective sector signal BS to the central processor to let an operator know that.

Description

【発明の詳細な説明】 [技術分野] 本発明は、電算機システムに補助記憶装置として使用さ
れる光ディスク装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an optical disk device used as an auxiliary storage device in a computer system.

[従来技術] 近年1円盤状に成形した光反応記録材料からなる光ディ
スクを記憶媒体として用いる光ディスク装置を、電算機
システムの補助記憶装置等に使用しようとする提案があ
る。
[Prior Art] In recent years, there has been a proposal to use an optical disk device that uses a disk-shaped optical disk made of a photoreactive recording material as a storage medium as an auxiliary storage device for a computer system.

この光ディスクは、表面上に螺旋状の1本のトラックが
約1.5μmのトラックピンチで形成されており、この
トラックに、記憶する情報に応じて約1μm径のピット
が、約1μmの微小径に絞ったレーザスポットにより直
接書き込まれる。また、例えば直径的30cmの光ディ
ネタには、1枚当り1011〜1012 ビット程度の
データを記憶させることができる。
This optical disk has a spiral track formed on the surface with a track pinch of about 1.5 μm, and pits with a diameter of about 1 μm are formed on this track depending on the information to be stored, and pits with a micro diameter of about 1 μm are formed on this track. Written directly by a focused laser spot. Further, for example, an optical director having a diameter of 30 cm can store data of about 1011 to 1012 bits per sheet.

このように光ディスク装置は、その記憶容量が大きく、
また、光ディスクに直接データtSき込むことから、磁
気記憶媒体を使用した記憶装置に比べてその記憶データ
の保存の面で有利である。
In this way, optical disk devices have a large storage capacity,
Furthermore, since the data tS is written directly onto the optical disk, it is advantageous in terms of storage of stored data compared to a storage device using a magnetic storage medium.

反面、記憶密度が非常に大きいために、光ディスクの表
面に形成されたキズや表面に付着した微小なゴミによる
データエラーの影響が大きく、比較的にデータエラー率
が大きい(10−5程度)。
On the other hand, since the storage density is very high, the influence of data errors due to scratches formed on the surface of the optical disk or minute dust attached to the surface is large, and the data error rate is relatively high (about 10-5).

そこで、光ディスク装置では、読み出したデータに生じ
ているデータ誤りを検出して訂正する誤り訂正処理装置
を備えていて、データエラー率を1o−15程度にまで
低減させることで、実用上の支障をなくしている。
Therefore, optical disk devices are equipped with an error correction processing device that detects and corrects data errors occurring in read data, reducing the data error rate to about 1o-15, thereby eliminating practical problems. I've lost it.

しかしながら、一方では光ディスクの経年変化によって
ビット誤りが増大したり、光ディスク表面のキズが経時
的に増大することは避けられず、そのためにある時点で
データエラー量が過大になって、誤り訂正処理装置でも
データを完全に回復できなくなるおそれがあった。
However, on the other hand, it is unavoidable that the number of bit errors increases as the optical disk ages and the scratches on the surface of the optical disk increase over time.As a result, at some point the amount of data errors becomes excessive and the error correction processing However, there was a risk that the data could not be completely recovered.

[目的コ 本発明は、上述した従来技術の不都合を解消するために
なされたものであり、データを回復できなくなるような
事態を1万止できる光ディスク装置を提供することを目
的としている。
[Objective] The present invention has been made to solve the above-mentioned disadvantages of the prior art, and an object of the present invention is to provide an optical disk device that can prevent 10,000 situations in which data cannot be recovered.

[構成] 本発明は、上記した目的を達成するため、セクタ毎にデ
ータエラーの度数を計数してそのセクタの不良度合を判
別することで、不良なセクタを警報し、さらに、その不
良セクタの情報を予備のセクタに書き換えている。
[Configuration] In order to achieve the above-mentioned object, the present invention counts the frequency of data errors in each sector and determines the degree of defectiveness of that sector, thereby alerting you to a defective sector, and furthermore, detecting a defective sector. Information is being rewritten to a spare sector.

以下、添付図面を参照しながら本発明の実施例を詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の一実施例に係る光ディスク装置にお
ける光ディスクのデータ記録フォーマットを例示してい
る。
FIG. 1 illustrates a data recording format of an optical disc in an optical disc device according to an embodiment of the present invention.

光ディスクのトラックTRは、ギャップGPを介してセ
クタSCが連続的に配置され、各セクタSCはプリアン
プル、セクタ同期信号およびセクタアドレス信号からな
るプリフォーマット部PFと、256個のデータフレー
ムDFの集合からなるデータ部DMから構成されている
On the track TR of the optical disc, sectors SC are consecutively arranged via gaps GP, and each sector SC includes a preformat part PF consisting of a preamble, a sector synchronization signal, and a sector address signal, and a set of 256 data frames DF. It is composed of a data part DM consisting of.

このプリフォーマット部PFは、光ディスクの原盤に形
成され、光ディスクの製造時にプリフォーマット部PF
が同時に形成される。
This preformat part PF is formed on the master disc of the optical disc, and the preformat part PF is formed on the master disc of the optical disc.
are formed simultaneously.

また、データフレームDFは、プリアンプル、フレーム
同期信号、および、8ワードのデータワードと2組のパ
リティワードp 1.Q I IP 2 IQ 2 (
後述)からなる12ワードの記録データ部より構成され
ている。なお、記録データ部の各ワードは8ビツト長で
構成されている。
The data frame DF also includes a preamble, a frame synchronization signal, 8 data words, and 2 sets of parity words p1. Q I IP 2 IQ 2 (
(described later) consists of a 12-word recording data section. It should be noted that each word of the recording data section is composed of 8 bits long.

このように、1セクタSCには256個のデータフレー
l、DFが連続されて2048ワードが記録されるが1
本実施例ではバースト誤りの影響を抑えるため、元の記
録データ(以下、元データという)をインターリーブし
てデータフレームDFの記録データを形成−する。
In this way, 256 data frames I and DF are consecutively recorded in one sector SC, and 2048 words are recorded.
In this embodiment, in order to suppress the influence of burst errors, the original recorded data (hereinafter referred to as original data) is interleaved to form the recorded data of the data frame DF.

すなわち、まず2048ワードの元データをその並び順
に8ワードずつ256個のグループに区切り、グループ
毎にb隣接符号のパリティワードP、Qを付加する。
That is, first, the original data of 2048 words is divided into 256 groups of 8 words each in the order of arrangement, and parity words P and Q of b-adjacent codes are added to each group.

そし゛て、元データにおけるA番目のグループのにワー
ド目のデータワードを、第1フレームのワードWkに配
置するようにインターリーブする。ただし、Bは次式(
1)であられされる。
Then, the data word of the Ath group in the original data is interleaved so as to be placed in the word Wk of the first frame. However, B is the following formula (
1).

B=A+14X (k−1)        ・・・(
I)また、A番目のグル−プのパリティワードP、Oは
B=A+14X (k-1) ...(
I) Also, the parity words P and O of the A-th group are.

それぞれ第(A+112)フレームのパリティワードP
2.第(^+126)フレームのパリティワードQ2に
配置する。
Parity word P of the (A+112)th frame, respectively.
2. It is placed in the parity word Q2 of the (^+126)th frame.

なお、Bが256を越える場合は、bから256を引い
た値をnとして用いて、このインターリーブをセクタS
C内で完結するようにしている。また、パリティワード
P、Qの位置も同様である。
Note that if B exceeds 256, the value obtained by subtracting 256 from b is used as n, and this interleaving is performed on sector S.
I try to complete it within C. Furthermore, the positions of parity words P and Q are also similar.

したがって、例えば1番目のグループの1ワード目は第
1フレームのワードWIに、2ワード目は第15フレー
ムのワードW2に、3ワード目は第29フレームのワー
ドW3に、4ワード目は第43フレームのワードW4に
、5ワード目は第57フレームのワードW5に、6ワー
ド目は第71フレームのワードW6に、7ワード目は第
85フレームのワードW7に、8ワード目は第99フレ
ームのワードW8に、パリティワードPは第113フレ
ームのパリティワードP2に、パリティワードQは第1
27フレームのパリティワードQ2に、それぞれ振り分
けられる。
Therefore, for example, the first word of the first group becomes the word WI of the first frame, the second word becomes the word W2 of the 15th frame, the third word becomes the word W3 of the 29th frame, and the fourth word becomes the word W3 of the 43rd frame. The 5th word goes to word W5 of the 57th frame, the 6th word goes to word W6 of the 71st frame, the 7th word goes to word W7 of the 85th frame, and the 8th word goes to word W7 of the 99th frame. In word W8, parity word P is in parity word P2 of the 113th frame, and parity word Q is in the first
They are allocated to parity words Q2 of 27 frames.

また、他のグループの各ワードのインターリーブの様子
を、代表的なもののみ次表1に表示する。
In addition, the interleaving of each word in other groups is shown in Table 1 below.

なお、表内の各数値が対応するフレーム番号をあられし
ており、また、ワード摺のP (2) 、Q (2)は
・グループ毎のパリティワードP、Qおよび各データフ
レームのパリティワードP2.Q2をあられしている。
In addition, each numerical value in the table indicates the corresponding frame number, and P (2) and Q (2) of word printing are: Parity words P and Q for each group and parity word P2 of each data frame. .. It's raining Q2.

(以下余白) 表−J このようにして、2048ワードの元データは8ワード
毎にb隣接符号によるパリティワードP、Qが付加され
るとともに14フレーム毎にインターリーブされて1セ
クタSC内に記録される。
(Left below) Table J In this way, the original data of 2048 words is recorded in one sector SC by adding parity words P and Q based on the b-adjacent code every 8 words and interleaving every 14 frames. Ru.

さらに、このようにして形成した1セクタSC内のデー
タを、データ記録方向とも元データの並び方向とも違う
方向に選択した(すなわちインターリーブした)C+訂
正系列を形成して、b隣接符号によるパリティワードP
+、Q+を付加する。なお、この(、+訂正系列に対し
て、以下においては1元データとパリティワードP、Q
(P 2.Q 2 )の系列をC2訂正系列と称す。
Furthermore, the data in one sector SC formed in this way is selected (that is, interleaved) in a direction different from the data recording direction and the alignment direction of the original data to form a C+ correction sequence, and a parity word with b-adjacent codes is formed. P
+, Q+ are added. Note that for this (, + correction series, in the following, one-dimensional data and parity words P, Q
The sequence (P 2 . Q 2 ) is called a C2 correction sequence.

例えば、C+訂正系列はllフレーム毎にインターリー
ブして選択したワードW1〜W8およびパリティワード
P2.Q2と、この10ワードに対してb隣接符号とし
て付加したパリティワードPI、Q+から構成さ九、パ
リティワードP1.C1+の位置は、それぞれパリティ
ワードQ2から11フレーム後および22フレーム後に
設定される。
For example, the C+ correction sequence is interleaved every 11 frames to select words W1 to W8 and parity words P2. Q2, and parity words PI and Q+ added as b-adjacent codes to these 10 words.9, parity words P1. The positions of C1+ are set 11 frames and 22 frames after parity word Q2, respectively.

また、このCI訂正系列も1セクタSC内で完結するよ
うに、第256フレームと第1フレームを接続して形成
する。
Further, this CI correction sequence is also formed by connecting the 256th frame and the first frame so that it is completed within one sector SC.

以上述べたC1訂正系列およびC2訂正系列の並びの様
子を第2図および第3図に示すにのように、データ記録
と交錯する異なる方向に2つの訂正系列(C+訂正系列
、C2訂正系列)を設定している。
As shown in Figures 2 and 3, the arrangement of the C1 correction series and C2 correction series described above shows that two correction series (C+ correction series, C2 correction series) are arranged in different directions intersecting the data recording. is set.

なお、以上の例では01訂正系列を11フレーム毎にイ
ンターリーブして形成し、C2訂正系列を14フレーム
毎にインターリーブして形成しているが、このインター
リーブの間隔はこれに限ることはない6また。CI訂正
系列のインターリーブ間隔をC2訂正系列のインターリ
ーブ間隔より大きくしてもよい。
In the above example, the 01 correction sequence is formed by interleaving every 11 frames, and the C2 correction sequence is formed by interleaving every 14 frames, but the interleaving interval is not limited to this. . The interleaving interval of the CI correction sequence may be larger than the interleaving interval of the C2 correction sequence.

また、C2訂正系列と元データの並び方向が同じになっ
ているが、この方向が同じである必要はない。例えば、
元データの並び方向をデータ記t々方向と同じにして、
パリティワードP2.Q2の付加方向としてのC2訂正
系列としてもよい。
Furthermore, although the C2 correction series and the original data are arranged in the same direction, they do not need to be in the same direction. for example,
Make the alignment direction of the original data the same as the data recording direction,
Parity word P2. A C2 correction sequence may be used as the additional direction of Q2.

さて、b隣接符号によるパリティワードP、Q(P +
 。
Now, parity words P, Q (P +
.

Q+、P2.Q2)は1次のようにして生成される。Q+, P2. Q2) is generated in a first-order manner.

訂正系列を構成するワード数をn(C+訂正系列ではn
−10,02訂正系列ではロー8)とすると、パリティ
ワードP、Ωはそれぞれ次式(II)、(m)であられ
される。なお、以下においてはデータワードDi(1≦
1≦n)は各訂正系列を構成するワードをあられす。
The number of words constituting the correction series is n (n for C+correction series)
-10,02 correction series (row 8), parity words P and Ω are calculated by the following equations (II) and (m), respectively. In addition, in the following, data word Di (1≦
1≦n) indicates the words forming each correction sequence.

P=ΣDi         ・・・(旧i=蔦 X=+ ここで、丁はワード長(ビット数)をbとしたとき(b
+1)項の要素を持つ原始多項式G(X)からなる正方
行列である。この例では1ワードが8ビツトなので、原
始多項式G(X)および正方行列Tは、例えばそれぞれ
次のように定められる。
P=ΣDi...(old i=TsutaX=+ Here, D is when the word length (number of bits) is b
It is a square matrix consisting of a primitive polynomial G(X) having elements of +1) terms. In this example, since one word is 8 bits, the primitive polynomial G(X) and the square matrix T are determined, for example, as follows.

G (X) =X” +X’ +X’ +X4+ 1 
   ・・・(IV)(以下余白) このb隣接符号によれば、訂正系列内の17−トの誤り
訂正(単−誤り訂正)が可能であり1次にそれについて
説明する。
G (X) =X"+X'+X' +X4+ 1
(IV) (Hereinafter in the margin) According to this b-adjacent code, it is possible to correct 17-tot errors (single-error correction) in a correction sequence, and this will be explained first.

すなわち、記録したデータを読み出したとき、訂正系列
を作るデータワードDiおよびパリティワードP、Qが
誤りを含んでいるとし、それぞれの誤りパターンをEi
、E p 、E Qとすると、誤りを含んだデータフー
ドDiおよびパリティワードP’ 、Q’ は次式%式
% ただし、演算子■はモデュロ2の加算をあられす。
That is, when the recorded data is read out, it is assumed that the data word Di and parity words P and Q that make up the correction sequence contain errors, and each error pattern is expressed as Ei.
, E p , E Q , the erroneous data food Di and parity words P', Q' are expressed by the following formula % However, the operator ■ performs modulo 2 addition.

ここで1次式で定義されるシンドロームSp。Here, the syndrome Sp is defined by a linear equation.

SOを考える。Think about SO.

すなわち、シンドロームSpは読み出したデータに係る
訂正系列の各データワードDi′ とパリティワードP
′ を全てモジュロ2で加算した結果であり。
That is, the syndrome Sp consists of each data word Di' and parity word P of the correction series related to the read data.
′ is the result of adding all modulo 2.

シンドロームSQは各データワードDi′ を正方行列
Tで重みづけした各項と、パリティワードQ′を全てモ
ジュロ2で加算した結果である。
The syndrome SQ is the result of adding each term of each data word Di' weighted by a square matrix T and the parity word Q', all modulo 2.

いま、訂正系列内のデータワードDi′およびノ(リテ
ィワードP’ 、Q’ が全て誤りのない状態である場
合を考えると、 Di’ =D1. P’ =P+ Q
’ ”Qであるから、定義よりシンドロームSp、So
はともに0となる。
Now, considering the case where the data word Di' and the property words P' and Q' in the correction sequence are all error-free, Di' = D1. P' = P+ Q
' ``Since Q, the syndrome Sp, So by definition
are both 0.

したがって、シンドロームSp、Soの値がともに0に
なる場合は、この訂正系列内に誤りがないと判別できる
Therefore, if the values of syndromes Sp and So are both 0, it can be determined that there is no error in this correction series.

次に、データワードDi′ のうちに番目のデータワー
ドDk’ にエラーEkを生じている場合を考えると、
この場合のシンドロームSP、SQはそれぞれ次のよう
になる。
Next, consider the case where an error Ek occurs in the data word Dk' of the data word Di'.
The syndromes SP and SQ in this case are as follows.

5p=Ek           ・・・(XI)上の
2式よりEkを消去すれば1次のように誤りワードの位
置kを求めることができる。
5p=Ek (XI) By eliminating Ek from the above two equations, the position k of the error word can be found in a first-order manner.

すなわち、この式(XI[I)によれば、シンドローこ
のとき、誤りパターンEkはシンドロームSpにあられ
れるので、次式のようにしてデータワードDk’ を訂
正することができる。
That is, according to this equation (XI[I), at this time, the error pattern Ek appears in the syndrome Sp, so that the data word Dk' can be corrected as shown in the following equation.

Dk = Dk’■Ek        ・・・(Xr
V)なお、パリティワードP’ 、Q’ にそれぞれ誤
りが生じている場合、それぞれ次式が成り立つ6すなわ
ち、いずれか一方のシンドロームが0の場合、他のシン
ドロームに誤りが生じていて、その誤りパターンはそれ
ぞれのシンドロームの値である。
Dk = Dk'■Ek...(Xr
V) In addition, when an error occurs in each of the parity words P' and Q', the following formula holds true6: In other words, if one of the syndromes is 0, an error occurs in the other syndrome, and the error The patterns are the values of each syndrome.

このようにして、訂正系列内の1ワード誤りを訂正でき
る。
In this way, one word errors within the correction sequence can be corrected.

したがって、CI訂正系列を考えると、このCI訂正系
列はそれを構成するデータワードが11フレーム毎にイ
ンターリーブされているので、11フレ一ム以内の連続
したバースト誤りが発生したとしても、その誤りはCI
訂正系列からみればlワード誤りにすぎないので上述し
た手順により誤り訂正ができる。また、C2訂正系列で
も同様な誤り訂正処理を実施できる。
Therefore, considering the CI correction series, the data words that make up this CI correction series are interleaved every 11 frames, so even if a continuous burst error occurs within 11 frames, the error will be C.I.
From the perspective of the correction sequence, this is only an 1-word error, so the error can be corrected by the procedure described above. Further, similar error correction processing can be performed with the C2 correction series.

なお、C+、C=訂正系列の各ワードのフレーム間隔(
インターリーブ間隔)を長くすればそれに比例してバー
スト誤りの訂正能力を高めることができるが、各ワード
のフレーム間隔を長くすると、複数個所で発生したバー
スト誤りが開−C1,C2訂正系列内に2個以上混入す
る確率が増大し、誤り訂正ができなくなる可能性が大き
くなるので。
Note that C+, C=frame interval of each word of the correction sequence (
If the interleave interval (interleaving interval) is lengthened, the burst error correction ability can be increased proportionally, but if the frame interval of each word is lengthened, burst errors occurring at multiple locations will be This increases the probability that more than one error will be mixed in, increasing the possibility that error correction will not be possible.

両者を考慮して各ワードのフレーム間隔を設定する必要
がある。
It is necessary to set the frame interval of each word in consideration of both.

以上述べた誤り訂正処理部を含む、光ディスク装置の制
御部の一例を第4図i;示す6中央処理装置(図示略)
から光ディスクにデータを記憶する場合、まず、中央処
理装置は選択信号SLを論理Hレベルに立ち上げる。こ
れに対し、光ディスク制御回路lは動作可能な状態であ
れば状態信号SSを論理Hレベルに立ち上げて中央処理
装置に応答する。
An example of the control section of an optical disk device including the above-mentioned error correction processing section is shown in FIG.
When data is to be stored on the optical disc from the optical disc, the central processing unit first raises the selection signal SL to a logic H level. On the other hand, if the optical disk control circuit 1 is in an operable state, it responds to the central processing unit by raising the status signal SS to the logic H level.

これにより、中央処理装置は外部データバスFDB上に
データを書き込むセクタのセクタアドレスSAを出力し
たのちにセクタアドレスラッチ信号ALを論理Hレベル
に立ち上げて光ディスク制御回路1にセクタアドレスS
Aを記憶させ、さらに、読み書き制御信号RWをデータ
書き込みをあられす論理Lレベルに立ち下げた状態で、
外部データバスEDB上に1セクタ分の書き込みデータ
を順次出力する。
As a result, the central processing unit outputs the sector address SA of the sector in which data is to be written onto the external data bus FDB, and then raises the sector address latch signal AL to a logic H level to send the sector address SA to the optical disc control circuit 1.
A is stored, and the read/write control signal RW is lowered to the logic L level that prevents data writing.
One sector worth of write data is sequentially output onto the external data bus EDB.

光ディスク制御回路1は、セクタアドレスSAを記憶す
るとこれをセクタアドレス検出回路6に設定し、その後
に、読み書き制御信号RWが論理Lレベルになって外部
データバスEDBから書き込みデータが加えられると、
これを誤り符号化回路2に出力し、また、読み書き制御
信号RWを論理Lレベルにして読出しl書込み制御回路
4を読み出し状態にするとともにスタート信号STを出
方して光ディスク駆動回路5を作動開始させる。
When the optical disk control circuit 1 stores the sector address SA, it sets it in the sector address detection circuit 6. After that, when the read/write control signal RW becomes a logic L level and write data is added from the external data bus EDB,
This is outputted to the error encoding circuit 2, and the read/write control signal RW is set to logic L level to set the read/write control circuit 4 to the read state, and a start signal ST is output to start the operation of the optical disk drive circuit 5. let

これにより、書き込みデータは誤り符号化回路2によっ
て上述したようにインターリーブされるとともにパリテ
ィワードPI、QllP2.Q2が付加された状態で、
lセクタ分の記録データWDとして誤り符号化回路2に
記憶保持され、同時に、光ディスクから読み出されたデ
ータが読出しl書込み制御回路4からセクタアドレス検
出回路6に加えられて、目的とするセクタの検出が開始
される。
As a result, the write data is interleaved by the error encoding circuit 2 as described above, and the parity words PI, QllP2 . With Q2 added,
The data read from the optical disk is stored and held in the error encoding circuit 2 as recording data WD for l sectors, and at the same time, the data read from the optical disk is applied from the read l write control circuit 4 to the sector address detection circuit 6 to detect the target sector. Detection begins.

セクタアドレス検出回路6は、読出しl書込み制御回路
4から加えられるデータから光ディスクのプリフォーマ
ット部PFに記録されたセクタアドレスを判別するとと
もに、その判別したセクタアドレスが光ディスク制御回
路1から加えられるセクタアドレスSAと比較し1両者
が一致するとセクタ発見信号SFを光ディスク制御回路
1に出力する。
The sector address detection circuit 6 determines the sector address recorded in the preformat part PF of the optical disc from the data applied from the read/write control circuit 4, and the determined sector address is the sector address to which the optical disc control circuit 1 adds the sector address. It compares it with SA and if the two match, it outputs a sector discovery signal SF to the optical disc control circuit 1.

これにより、光ディスク制御回路1は読み書き制御信号
WRを論理Hレベルにして読出しl書込み制御回路4を
データ書き込み状態にするとともに、データ出力信号D
Eを誤り符号化回路2に出力して誤り符号化回路2から
記録データWDを出力させる。この記録データWDは、
変調回路3によって所定の方式で変調されたのち読出し
l書込み制御回路4を介して光ディスク駆動回路5に出
力され、それによって、中央処理装置から指定されたセ
クタにデータが記録される。
As a result, the optical disk control circuit 1 sets the read/write control signal WR to the logic H level, puts the read/write control circuit 4 into the data writing state, and also sets the data output signal D.
E is output to the error encoding circuit 2 to cause the error encoding circuit 2 to output recording data WD. This recorded data WD is
After being modulated in a predetermined manner by the modulation circuit 3, it is output to the optical disk drive circuit 5 via the read/write control circuit 4, whereby data is recorded in the sector specified by the central processing unit.

中央処理装置が光ディスクからデータを読み出す場合、
まず、中央処理装置は上述と同様にして読み出すセクタ
を指定するとともに読み書き制御信号RWを論理Hレベ
ルにしてデータの読み出しを光ディスク制御回路1に通
知する。
When the central processing unit reads data from an optical disk,
First, the central processing unit specifies the sector to be read in the same manner as described above, and also sets the read/write control signal RW to the logic H level to notify the optical disc control circuit 1 of reading data.

光ディスク制御回路lは、上述と同様にしてセクタアド
レス検出回路6に目的のセクタアドレスを設定するとと
もに、読出し/書込み制御回路4に光ディスク駆動回路
5を駆動開始させる。
The optical disc control circuit 1 sets a target sector address in the sector address detection circuit 6 in the same manner as described above, and causes the read/write control circuit 4 to start driving the optical disc drive circuit 5.

また、読出し/書込み制御回路4から出力されるデータ
は、復調回路7によって復調されたのち。
Furthermore, the data output from the read/write control circuit 4 is demodulated by the demodulation circuit 7.

読み出しデータRDとして誤り復号化回路8に加えられ
て上述した誤り訂正処理がなされるとともに元のデータ
の並びにディンターリーブされて、訂正済データCDと
して光ディスク制御回路1に出力される。それと同時に
、誤り復号化回路8は上述したシンドロームSp、So
がともに非零でかつ誤り位置がデータ部になるとき訂正
フラグEFを出力し、この訂正フラグEFは訂正フラグ
カウンタ9で計数される。
The data is added to the error decoding circuit 8 as read data RD, subjected to the above-described error correction process, dinterleaved with the original data, and outputted to the optical disc control circuit 1 as corrected data CD. At the same time, the error decoding circuit 8
When both are non-zero and the error position is in the data portion, a correction flag EF is output, and this correction flag EF is counted by a correction flag counter 9.

訂正フラグカウンタ9は、1セクタ毎の訂正フラグEF
の計数値が所定値Nを越えた場合にオーバエラーフラグ
OFを立ち上げ、光ディスク制御回路1に当該セクタが
不良セクタであることを通知する。
The correction flag counter 9 stores a correction flag EF for each sector.
When the counted value exceeds a predetermined value N, an over error flag OF is raised, and the optical disc control circuit 1 is notified that the sector in question is a bad sector.

これにより、光ディスク制御回路1は、セクタアドレス
検出回路6からセクタ発見信号SFが出力されたのちに
誤り復号化回路8から出力される訂正済データCDを光
ディスクから読み出したデータとして外部パスラインE
DBに出力するとともに、その訂正済データCDを1セ
クタ分出力した直後に、オーバエラーフラグOFが立ち
上げられている場合には、不良セクタ信号O5を中央処
理装置に出力して、当該セクタが不良セクタであること
を警報する。
As a result, the optical disc control circuit 1 receives the corrected data CD output from the error decoding circuit 8 after the sector address detection circuit 6 outputs the sector discovery signal SF as the data read from the optical disc and sends it to the external path line E.
Immediately after outputting one sector of the corrected data CD to the DB, if the over error flag OF is raised, the bad sector signal O5 is output to the central processing unit and the sector is Alerts you that it is a bad sector.

中央処理装置では、この不良セクタ信号BSが出力され
た場合はオペレータにそれを通知する。したがって、オ
ペレータが不良のセクタを判別できるので、そのセクタ
が完全に使用不能になる前に記憶したデータに対して何
らかの処置をとることができ、データの保護が可能とな
る。例えば、オペレータは代替の記憶装置あるいは代替
セクタにそのデータを移すことができる。
The central processing unit notifies the operator when this bad sector signal BS is output. Therefore, since the operator can identify a bad sector, some action can be taken on the data stored before the sector becomes completely unusable, thereby making it possible to protect the data. For example, an operator can move the data to an alternate storage device or alternate sector.

第5図は、誤り復号化回路8の具体例を示している。FIG. 5 shows a specific example of the error decoding circuit 8.

同図において、入力レジスタ31を介して復調回路7よ
り入力された再生データRDは、メモリ書込みアドレス
カウンタ33で指定されるディンターリーブメモリ32
の記憶領域へ、データバスDDBを介して順次記憶され
る。
In the figure, reproduced data RD input from the demodulation circuit 7 via the input register 31 is sent to the dinterleave memory 32 designated by the memory write address counter 33.
are sequentially stored in the storage area via the data bus DDB.

1セクタ分の再生データRDがディンターリーブメモリ
32に記憶されると、ロブコードアドレスカウンタ35
からC+訂正系列にデータワードを読み出すためのアド
レスが発生されてディンターリーブメモリ32およびC
1デコーダ37にアドレスバスADBを介して加えられ
る。
When one sector worth of reproduction data RD is stored in the dinterleave memory 32, the lob code address counter 35
An address for reading a data word from C+ correction series is generated from dinterleave memory 32 and C
1 decoder 37 via address bus ADB.

これにより、ディンターリーブメモリ32から読み出さ
れたデータがC+デコーダ37に順次加えられて上述し
た単−誤り訂正が実行される。このとき訂正されたデー
タワードはディンターリーブメモリ32に返されてその
内容が書き直され、また。
As a result, the data read from the dinterleave memory 32 is sequentially applied to the C+ decoder 37, and the above-mentioned single-error correction is executed. At this time, the corrected data word is returned to the dinterleave memory 32 and its contents are rewritten.

シンドロームSP、SQがともに非零でかつ誤り位置が
データ部になる訂正系列については、かかる訂正系列を
検出する毎に訂正フラグEFIを出力する。
For a correction sequence in which both syndromes SP and SQ are non-zero and the error position is in the data part, a correction flag EFI is output every time such a correction sequence is detected.

C+デコーダ37がディンターリーブメモリ32に記憶
したデータについて単−誤り訂正を実行終了すると、C
2デコードアドレスカウンタ36からC2訂正系列にデ
ータワードを読み出すためのアドレスが発生されてディ
ンターリーブメモリ32およびC2デコーダ38に、ア
ドレスバスADOを介して加えられる。
When the C+ decoder 37 finishes performing simple error correction on the data stored in the dinterleave memory 32, the C+ decoder 37
2 decode address counter 36 generates an address for reading a data word in the C2 correction series and applies it to dinterleave memory 32 and C2 decoder 38 via address bus ADO.

これにより、ディンターリーブメモリ32から読み出さ
れたデータが02デコーダ38に加えられて上述した単
−誤り訂正が実行されるとともに、訂正されたデータワ
ードはディンターリーブメモリ32に返されてその内容
が書き直され、さらに、0皿デコーダ37と同様に、シ
ンドロームSP、SQがともに非零でかつ誤り位置がデ
ータ部になる訂正系列を検出する毎に訂正フラグEF2
を出力する。
As a result, the data read from the dinterleave memory 32 is applied to the 02 decoder 38 to perform the single error correction described above, and the corrected data word is returned to the dinterleave memory 32 and its The contents are rewritten and, like the 0-plate decoder 37, the correction flag EF2 is set every time a correction sequence is detected in which the syndromes SP and SQ are both non-zero and the error position is in the data section.
Output.

このようにして、1セクタ分のデータの訂正を終了する
と、メモリ読出しアドレンカウンタ34によりディンタ
ーリーブメモリ32から元データの順序に順次データワ
ードが読み出され、データバスDDBおよび出力レジス
タ39を介して訂正済データCDとして光ディスク制御
部181へ出力される。
When one sector of data has been corrected in this way, the memory read address counter 34 sequentially reads out the data words from the dinterleave memory 32 in the order of the original data, and the data words are read out from the data bus DDB and the output register 39. The corrected data CD is then outputted to the optical disc control unit 181 via the corrected data CD.

また、C+デコーダ37およびC2デコーダ38から出
力される訂正フラグEFIおよびEF2は、オア回路4
0を介し、訂正フラグEFとして訂正フラグカウンタ9
に出力される。
Further, the correction flags EFI and EF2 output from the C+ decoder 37 and the C2 decoder 38 are output from the OR circuit 4.
0 to the correction flag counter 9 as the correction flag EF.
is output to.

第6図は、光ディスク装置の制御部の他の例を示してい
る。なお、同図で第4図と同一部分および相当部分には
同一符号を付してその説明を省略する。
FIG. 6 shows another example of the control section of the optical disc device. In this figure, the same parts and corresponding parts as in FIG. 4 are given the same reference numerals, and the explanation thereof will be omitted.

この制御部では、光ディスクからのデータ読み出し時に
オーバエラーフラグOFが立ち上げられた場合には、予
備の代替セクタにそのセクタの記録データを書き換えて
いる。
In this control section, when the over error flag OF is raised when reading data from the optical disc, the recorded data of that sector is rewritten to a spare alternative sector.

すなわち、この場合、誤り復号化回路8aは光ディスク
制御回路1からデータ読み出し信号REが出力された時
点で、その内部に記憶しているlセクタ分の訂正済デー
タCDを出力するものであり、光ディスク制御回路1は
、オーバエラーフラグOFが立ち上げられた場合、予備
セクタのセクタアドレスをセクタアドレス検出回路6に
設定するとともに、誤り復号化回路8aから読み出した
訂正済データCDを図に破線で示した経路で誤り符号上
回12に出力して、セクタ発見信号SFが出力された時
点で、誤り符号化回路2から記録データWDを読み出す
That is, in this case, the error decoding circuit 8a outputs l sectors worth of corrected data CD stored therein at the time when the data read signal RE is output from the optical disc control circuit 1, and the error decoding circuit 8a outputs the corrected data CD for l sectors stored therein. When the over error flag OF is raised, the control circuit 1 sets the sector address of the spare sector in the sector address detection circuit 6, and also sets the corrected data CD read from the error decoding circuit 8a as shown by the broken line in the figure. When the sector discovery signal SF is output, the recording data WD is read out from the error encoding circuit 2.

なお、予備セクタの空き状態は1例えば光ディスクの所
定の記憶領域等の光ディスク管理情報に記憶されており
、光ディスク制御回路1は、装置の始動時あるいは光デ
ィスクの挿入時にその管理情報を取り込んでおく。また
、不良セクタと書き換え先の予備セクタの関係は上記管
理情報に記憶しておき、さらに、中央処理装置に通知し
てもよい。
The vacant state of the spare sector is stored in optical disc management information such as a predetermined storage area of the optical disc, and the optical disc control circuit 1 takes in the management information when starting the apparatus or inserting the optical disc. Further, the relationship between the defective sector and the spare sector to be rewritten may be stored in the management information and further notified to the central processing unit.

このようにすれば、自動的に不良セクタのデータが予備
セクタに書き換えられるので、中央処理装置等の外部装
置(ホスト装置)およびオペレータの負担を軽減できる
In this way, the data in the bad sector is automatically rewritten to the spare sector, so the burden on the external device (host device) such as the central processing unit and the operator can be reduced.

ところで1以上述べた実施例では、1つのデータフレー
ムDFを1組の記録データ(すなわち8ワードのデータ
W I−WaおよびパリティワードP+。
By the way, in one or more of the embodiments described above, one data frame DF is composed of one set of recording data (ie, eight words of data W I-Wa and a parity word P+).

Ql、P2.Q2)で構成しているが、これに限らす1
つのデータフレームDFに複数組の記録データを含ませ
ることもできる。その場合、CI訂正系列。
Ql, P2. Q2), but is limited to 1
It is also possible to include multiple sets of recording data in one data frame DF. In that case, CI correction series.

C2訂正系列は1例えば各データフレームDFで同じ並
び順にある256個の記録データを抽出して形成するこ
とで実現できる。
The C2 correction sequence can be realized by extracting and forming, for example, 256 recorded data in the same order in each data frame DF.

また、データワードのビット数、1つの記録データ中の
ワード数、■セクタSC内のデータフレームDFの数は
、上述したものに限らない。セクタSCのフォーマット
も他のものに変更してもよい。
Further, the number of bits of a data word, the number of words in one recording data, and the number of data frames DF in sector SC are not limited to those described above. The format of the sector SC may also be changed to other formats.

さらに1以上の実施例では誤り訂正系列を2組設定し、
それぞれの訂正系列で単−誤り訂正をしているが、誤り
訂正方式はこれに限ることはなく。
Furthermore, in one or more embodiments, two sets of error correction sequences are set,
Although single error correction is performed in each correction series, the error correction method is not limited to this.

また、誤り訂正符号としてはb隣接符号以外の周知な符
号(例えばリード・ソロモン符号等)を用いることがで
きる。
Further, as the error correction code, a well-known code other than the b-adjacent code (for example, a Reed-Solomon code) can be used.

[効果コ 以上説明したように、本発明によれば、セクタ毎にデー
タエラーの度数を計数してそのセクタの不良度合を判別
することで不良なセクタを警報し。
[Effects] As explained above, according to the present invention, the number of data errors is counted for each sector and the degree of failure of that sector is determined, thereby alerting you to a defective sector.

さらに、その不良セクタの記録データを予備のセクタに
書き換えているので、経年変化等によりデータを回復で
きなくなるような事態を未然に防止できるという利点を
得る。
Furthermore, since the recorded data in the defective sector is rewritten in the spare sector, there is an advantage that it is possible to prevent a situation in which data cannot be recovered due to aging or the like.

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

第1図は本発明を適用する光ディスクメモリにおけるデ
ータ記録フォーマットを示した信号配置図、第2図は各
訂正系列の配置を示した信号配置図、第3図はインター
リーブ方向を例示した概略図、第4図は本発明の一実施
例にかかる制御部の一例を示したブロック図、第5図は
誤り復号化回路の具体例を示したブロック図、第6図は
本発明にかかる制御部の他の例を示したブロックである
。 1.1a・・・光ディスク制御回路、2・・・誤り符号
化回路、3・・・変調回路、4・・・読出し/書込み制
御回路、5・・・光ディスク駆動回路、6・・・セクタ
アドレス検出回路、7・・・復調回路、8,8a・・・
誤り復号化回路、9・・・訂正フラグカウンタ、31・
・・入力レジスタ、32・・・ディンターリーブメモリ
、33・・・メモリ書込みアドレスカウンタ、34・・
・メモリ読出しアドレスカウンタ、35・・・C1デコ
ードアドレスカウンタ、36・・・C2デコードアドレ
スカウンタ、37・・・C+デコーダ、38・・・C2
デコーダ、39・・・出力レジスタ。 40・・・オア回路、 ADB・・・アドレスバス、 
DDB・・・データバス、EDB・・・外部データバス
。 ′・−ノ 第2図 外りに含りろ如− 第3図 第4図
FIG. 1 is a signal arrangement diagram showing the data recording format in an optical disk memory to which the present invention is applied, FIG. 2 is a signal arrangement diagram showing the arrangement of each correction series, and FIG. 3 is a schematic diagram illustrating the interleaving direction. FIG. 4 is a block diagram showing an example of a control section according to an embodiment of the present invention, FIG. 5 is a block diagram showing a specific example of an error decoding circuit, and FIG. 6 is a block diagram showing an example of a control section according to the present invention. This block shows another example. 1.1a... Optical disk control circuit, 2... Error encoding circuit, 3... Modulation circuit, 4... Read/write control circuit, 5... Optical disk drive circuit, 6... Sector address Detection circuit, 7... Demodulation circuit, 8, 8a...
error decoding circuit, 9...correction flag counter, 31.
...Input register, 32...Dinterleave memory, 33...Memory write address counter, 34...
・Memory read address counter, 35...C1 decode address counter, 36...C2 decode address counter, 37...C+ decoder, 38...C2
Decoder, 39...output register. 40...OR circuit, ADB...address bus,
DDB...data bus, EDB...external data bus. '・-Please include it outside of Figure 2- Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)記録データをセクタ単位に分割して記憶するとと
もに、そのセクタ毎に完結する誤り訂正符号を付加して
データの誤りを訂正する光ディスク装置において、同一
セクタ内におけるデータの誤り度数が所定値を超えると
警報を出力する不良セクタ判別手段を備えたことを特徴
とする光ディスク装置。
(1) In an optical disk device that stores recorded data by dividing it into sectors and corrects data errors by adding an error correction code that completes each sector, the frequency of data errors within the same sector is a predetermined value. An optical disk device characterized by comprising a bad sector determining means that outputs a warning when the number of sectors exceeds the number of sectors.
(2)記録データをセクタ単位に分割して記憶するとと
もに、そのセクタ毎に完結する誤り訂正符号を付加して
データの誤りを訂正する光ディスク装置において、同一
セクタ内におけるデータの誤り度数が所定値を超えると
警報を出力する不良セクタ判別手段と、この不良セクタ
判別手段により不良と判別されたセクタの記録データを
、誤り訂正符号を付加して所定の予備セクタに書き換え
るセクタ書換手段を備えたことを特徴とする光ディスク
装置。
(2) In an optical disk device that stores recorded data by dividing it into sectors and corrects data errors by adding an error correction code that completes each sector, the frequency of data errors within the same sector is a predetermined value. A defective sector determining means outputs an alarm when the defective sector determining means exceeds the limit, and a sector rewriting means adds an error correction code to the recorded data of the sector determined to be defective by the bad sector determining means and rewrites it to a predetermined spare sector. An optical disc device characterized by:
JP26457884A 1984-12-17 1984-12-17 Optical disk device Pending JPS61144777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26457884A JPS61144777A (en) 1984-12-17 1984-12-17 Optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26457884A JPS61144777A (en) 1984-12-17 1984-12-17 Optical disk device

Publications (1)

Publication Number Publication Date
JPS61144777A true JPS61144777A (en) 1986-07-02

Family

ID=17405231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26457884A Pending JPS61144777A (en) 1984-12-17 1984-12-17 Optical disk device

Country Status (1)

Country Link
JP (1) JPS61144777A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01196775A (en) * 1988-02-02 1989-08-08 Sony Corp Alternating processing method for data recording and reproducing device
JPH02101634A (en) * 1988-10-07 1990-04-13 Nec Corp Optical disk device
EP0491327A2 (en) * 1990-12-19 1992-06-24 Gigatape Systeme Fuer Datensicherung Gmbh Data protection method
JPH08297928A (en) * 1995-04-26 1996-11-12 Toshiba Corp Magnetic disk device with recording medium inspecting function

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01196775A (en) * 1988-02-02 1989-08-08 Sony Corp Alternating processing method for data recording and reproducing device
JPH02101634A (en) * 1988-10-07 1990-04-13 Nec Corp Optical disk device
EP0491327A2 (en) * 1990-12-19 1992-06-24 Gigatape Systeme Fuer Datensicherung Gmbh Data protection method
EP0491327A3 (en) * 1990-12-19 1992-09-16 Gigatape Systeme Fuer Datensicherung Gmbh Data protection method
JPH08297928A (en) * 1995-04-26 1996-11-12 Toshiba Corp Magnetic disk device with recording medium inspecting function

Similar Documents

Publication Publication Date Title
US7849379B2 (en) Device and method for determining a defective area on an optical media
US7408863B2 (en) Digital signal processing method, data recording and reproducing apparatus, and data recording medium that are resistant to burst errors
US4760576A (en) Error correction method
US7739582B2 (en) Error correction method for high density disc
EP0156440A2 (en) An information transmission method with error correction for user words, an error correcting decoding method for such user words, an apparatus for information transmission for use with the method, a device for information decoding for use with the method and an apparatus for use with such device
JPS6276825A (en) Code error correcting method
EP0854483B1 (en) Digital signal reproduction apparatus
JPH06236632A (en) Optical disk and optical disk reproducing device
EP1982334A1 (en) Error correction block, method and apparatus for generating error correction block, and error correction method
JPH08315515A (en) Method and apparatus for recording/reproducing data and data recording medium
US7039913B1 (en) Optical disc, method of writing to an optical disc, and method of reading from an optical disc
JP2007280597A (en) Codeword for use in digital optical media and method of generating the same
US6678859B1 (en) Optical disk apparatus and data reading method
JPS61144777A (en) Optical disk device
JPH11297000A (en) Data generating method and data generating device
JP2000323995A (en) Method and device for data processing using error correction product code block, and recording medium
JP2735230B2 (en) Rewritable optical disk device
US7213190B2 (en) Data processing apparatus and method
JPH0824269B2 (en) Error correction method
JP2002074861A (en) Device and method for reproducing digital data
JPS63298776A (en) Error correction processing system
JP2005142812A (en) Method and circuit for error correction, and information reproducing device
JP2002152055A (en) Error correction method and error correction circuit for product code
JP2002197798A (en) Error correcting and encoding method for disk medium, optical disk, error correcting method, error correcting and encoding circuit, and error correcting circuit
JP2001155438A (en) Information recording format and information recording medium