JPS6386161A - Error correcting device - Google Patents

Error correcting device

Info

Publication number
JPS6386161A
JPS6386161A JP61232002A JP23200286A JPS6386161A JP S6386161 A JPS6386161 A JP S6386161A JP 61232002 A JP61232002 A JP 61232002A JP 23200286 A JP23200286 A JP 23200286A JP S6386161 A JPS6386161 A JP S6386161A
Authority
JP
Japan
Prior art keywords
error correction
erasure
error
input information
format
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
JP61232002A
Other languages
Japanese (ja)
Inventor
Keiichi Iwamura
恵市 岩村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61232002A priority Critical patent/JPS6386161A/en
Publication of JPS6386161A publication Critical patent/JPS6386161A/en
Priority to US08/701,327 priority patent/US5774389A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To process various formats by only one erasion/error correcting device, by using a select signal with regard to input information having various formats, and executing an error correction conforming with each format. CONSTITUTION:An input data is stored in a RAM 11. In accordance with input information having plural formats, various format select signals are applied to an error correcting part. On the error correcting part, one determined error correcting part is provided, and a control part 9 varies a TIMING signal by a format signal which has been inputted and applies it to the correcting part 8, and controls an operation of the correcting part 8. By forming an error correcting device of such a constitution to one chip, various formats can be processed by only one erasion/error correcting device.

Description

【発明の詳細な説明】 〔技術分計〕 本発明は、光ディスク・光磁気ディスク等の通信路の誤
り率を改善する誤り訂正の分野(符号化或いは復号化)
に属する。
[Detailed Description of the Invention] [Technical Summary] The present invention is in the field of error correction (encoding or decoding) for improving the error rate of communication paths of optical disks, magneto-optical disks, etc.
belongs to

〔従来技術〕[Prior art]

従来、この種の装置は、あらかじめ決定されたフォーマ
ット(誤り訂正符号の符号長、訂正能力、インターリー
ブ)に対して動作するように構成されていたので、異な
るフォーマットに対して、または種々のフォーマットの
ブロックがシリアルに送られてくる場合には、簡単には
適用できないという欠点があった。
Traditionally, this type of device has been configured to operate on a predetermined format (code length of error correction code, correction capability, interleaving), so it can be used for different formats or for various formats. The disadvantage is that it cannot be easily applied when blocks are sent serially.

また、光ディスク及び光磁気ディスクは通常セクタ管理
されている。セクタ内には、データ情報だけでなく、ア
ドレス情報も含まれている。
Furthermore, optical disks and magneto-optical disks are usually sector-managed. A sector contains not only data information but also address information.

その2種類の情報の保護は重要である。従来、情報保護
の手段として、データ部には、リードソロモン符号等の
誤り訂正符号を用い、アドレス部には、CRC等の誤り
検出符号が用いられてきた。アドレス部を誤って認識す
ると、セクタ全部が誤りとなるので、従来、アドレス部
には、訂正能力よりも、検出能力を重視し、誤りに対し
ては、多重書込み、またはりトライを行なってきた。し
かし、光磁気ディスク等、再書込み可能だが、オーバー
ライドできない媒体は、再書込みのためにイレーズ、ラ
イト、チェックと3回転を要する。その度毎、アドレス
検出が必要となるが、誤り率の悪い媒体ではりトライの
回数が増え、遅延時間が増える。またアドレス部にも誤
り訂正符号を用いた場合、誤り訂正符号は、誤り検出符
号に比べてハード構成が複雑であり、データ部とアドレ
ス部に対して、第2図に示す様に1つのモデムに対して
、アドレス用の誤り訂正部13、データ用の誤り訂正部
14の2つの誤り訂正装置が必要となるという欠点があ
った。
It is important to protect these two types of information. Conventionally, as means for protecting information, an error correction code such as a Reed-Solomon code has been used in the data portion, and an error detection code such as a CRC has been used in the address portion. If the address field is incorrectly recognized, the entire sector will be in error, so conventionally, for the address field, emphasis has been placed on detection ability rather than correction ability, and multiple writes or retries have been performed in the case of errors. . However, a medium that is rewritable but cannot be overridden, such as a magneto-optical disk, requires three rotations of erasing, writing, and checking for rewriting. Address detection is required each time, but in a medium with a low error rate, the number of attempts increases and the delay time increases. Furthermore, if an error correction code is used in the address field, the hardware configuration of the error correction code is more complicated than that of an error detection code, and one modem is used for the data field and the address field, as shown in Figure 2. However, there is a drawback in that two error correction devices, an error correction section 13 for addresses and an error correction section 14 for data, are required.

また、誤り訂正だけに限って、自由なフォーマットに対
応できる装置を本出願人は、以前提案(特開昭6O−7
9674)L、たが、消失訂正に対しても、自由なフォ
ーマットに対応できれば更に自由なフォーマットに最適
であると言える。
In addition, the present applicant previously proposed a device that can handle free formats only for error correction (Japanese Patent Application Laid-Open No. 6-0-7
9674) L. However, it can be said that if it can support free formats for erasure correction, it will be optimal for even more free formats.

〔目的〕〔the purpose〕

本発明は、上述の点に鑑み、種々のフォーマットを持つ
入力情報についてセレクト信号を用いて、同一の消失誤
り訂正を含む消失・誤り訂正手段によって誤り訂正を行
なうものである。
In view of the above-mentioned points, the present invention uses a selection signal to perform error correction on input information having various formats by erasure/error correction means including the same erasure error correction.

(実施例) 以下、添付図面に従って本発明の実施例を詳細に説明す
る。まず復号について考える。
(Embodiments) Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, let's consider decoding.

通常、リードソロモン符号(以下RS符号)は、クロス
・インタリーブ構成されている(第9図参照)。従フて
一つのブロックは、C1,C2の2度の誤り訂正が、行
なわれなければならない。
Usually, a Reed-Solomon code (hereinafter referred to as an RS code) has a cross-interleaved structure (see FIG. 9). Therefore, one block must undergo two error corrections, C1 and C2.

入力情報がとぎれなく来る場合には、CI、C2に対し
て、各々の消失誤り訂正部がなくては、遅延時間が積み
重なってしまうが、ここでは、ハードを簡単化するため
に第3図に示すタイムチャートの様に一つの消失・誤り
訂正部を倍速■、■で処理する。またインタリーブのな
い場合また転送速度が速い場合は消失・誤り訂正部を定
速で処理できるようにする。なお第3図ではゲートイン
に応じてデータが入力し、そのデータをRAMIIに入
力■し、誤り訂正用の演算を行なった後、データアウト
■する。図から明らかなように、データの入出力時間に
比べて、■、■は入出力時間が1/2となっている。
When input information comes in uninterruptedly, delay time will accumulate unless there is an erasure error correction unit for CI and C2. As shown in the time chart shown, one erasure/error correction section is processed at double speed (■, ■). Furthermore, when there is no interleaving or when the transfer rate is high, the erasure/error correction section is made to be able to process at a constant speed. In FIG. 3, data is input in response to gate-in, the data is input to RAM II (2), and after an error correction operation is performed, the data is output (2). As is clear from the figure, compared to the data input/output time, the input/output time for ■ and ■ is 1/2.

従って、誤り訂正部のハード構成としては第4図に示す
ように入力データを格納するRAM11、一つの決定誤
り訂正部(ERRORCORRECT  BLOCK)
8を有し、その訂正部を勅かすTIMING信号を、入
力されたフォーマットセレクト信号によって可変する制
御部(CONTROLL  BLOCK)9によって構
成される。
Therefore, as shown in FIG. 4, the hardware configuration of the error correction unit includes a RAM 11 for storing input data, and one decision error correction unit (ERRORCORRECT BLOCK).
8, and includes a control section (CONTROL BLOCK) 9 that varies a TIMING signal for controlling the correction section according to an input format select signal.

まず誤り訂正は、種々の方法が提案されているが、TI
MING(タイミング)信号が可変になった時に、ハー
ド構成が簡単で対応しやすい第5図に示すアルゴリズム
を用いる。第6図はその復号の場合のハード構成図であ
る。
First, various methods have been proposed for error correction, but TI
When the MING (timing) signal becomes variable, the algorithm shown in FIG. 5, which has a simple hardware configuration and is easy to handle, is used. FIG. 6 is a hardware configuration diagram for the decoding.

次に符号化について説明する。Next, encoding will be explained.

通常、符号化は生成多項式によって、情報を乗算するこ
とで行なわれる。
Usually, encoding is performed by multiplying information by a generator polynomial.

しかし、ここでは復号に用いた誤り訂正部の制御を変え
ることによって、符号化する方法を考える。ハード構成
は第8図に示す。
However, here we will consider an encoding method by changing the control of the error correction unit used for decoding. The hardware configuration is shown in FIG.

パリティピットは第7図の計算の流れのようにして生成
される。
Parity pits are generated according to the calculation flow shown in FIG.

以上の復号と符号化は、以前に述べたように一体化でき
、その構成を第9図に示す。
The above decoding and encoding can be integrated as described above, and the configuration thereof is shown in FIG.

1f″・            。1f″・           .

■ S=H−J=H・ (I+E、)=H・ここでi、j、
に、42の位置に消失 I +H−E=H−E      ・・・・・・・・・
・・・(3)が起っている場合、 従って、 濡 両辺にA−1をかけて A−1はt、j、に、λがわかっていればと表すとex
  CX= s 、J 、に、 IL)は・・・・・・
・・・・・・ (6) −意に求められるので、その出力を ・・・・・・・・・・・・(7) 次のようにして求められる。
■ S=H-J=H・(I+E,)=H・Here i, j,
, disappears at position 42 I +H-E=H-E ・・・・・・・・・
...If (3) has occurred, then multiplying both sides by A-1, A-1 can be expressed as if t, j, and λ are known, then ex
CX= s, J, ni, IL) is...
...... (6) -Since it can be obtained arbitrarily, the output can be obtained as follows.

・・・・・・・・・・・・(8) ただし、誤りが■i、j、k (3重)の場合、■iの
場合Aは、 となる。
・・・・・・・・・・・・(8) However, if the error is ■i, j, k (triple), in the case of ■i, A becomes.

、j(2重)の場合、■i(1重)の場合、■誤りなし
消失訂正のアルゴリズムも式(1)〜(8)から、誤り
位置1xfLA−’を生成する回路さえあれば、シンド
ローム30〜S、に定数を乗算する動作となり、符号化
と同じ回路構成で実現できることがわかる。そのブロッ
ク図を第1図に示ず。A−1生成回路は、i−℃は確定
されているので、数個のROMによって、求めることが
できる。
, j (double); ■ i (single); The operation is to multiply 30 to S by a constant, and it can be seen that it can be realized with the same circuit configuration as encoding. Its block diagram is not shown in FIG. In the A-1 generation circuit, since i-°C is fixed, it can be determined using several ROMs.

従って、消失訂正も含んだ符号化・復号回路は第2図の
ようにして構成できる。
Therefore, an encoding/decoding circuit including erasure correction can be constructed as shown in FIG.

このとき、通常の符号化・復号と、消失訂正をも切り換
えるために、消失訂正選択信号ERによって、ROM5
1.52を切り換える必要がある。そのためにROM5
1.52はステート制御用のROMを用いるとよい。
At this time, in order to switch between normal encoding/decoding and erasure correction, the erasure correction selection signal ER is used to switch between ROM5 and erasure correction.
1.52 needs to be switched. For that purpose, ROM5
1.52 should use a ROM for state control.

また訂正動作は、シンドローム生成後の1受信語遅れと
なるので、受信語は1度バッファ53に貯える必要があ
る。またシンドローム生成時に計算される誤りパターン
は、バッファ53からの出力に同期して、i−℃の位置
で出力するために一度バツファ54のアドレス1−fl
に貯える必要がある。そして、ADからの出力がt−U
となった時、その値を出力すればバッファ53に同期し
て誤りパターンを出力することになる。
Furthermore, since the correction operation is delayed by one received word after the syndrome is generated, the received word must be stored in the buffer 53 once. Furthermore, the error pattern calculated at the time of syndrome generation is synchronized with the output from the buffer 53, and once the address 1-fl of the buffer 54 is outputted at the position i-°C.
It is necessary to store it in Then, the output from AD is t-U
When this happens, if that value is output, an error pattern will be output in synchronization with the buffer 53.

なおインタリーブなし、または高速処理のためこの装置
を一度の誤り訂正動作にしか用いない場合はこのままで
良い。
Note that if there is no interleaving or if this device is used for only one error correction operation for high-speed processing, it may be left as is.

次にインタリーブにより、この装置を2度の誤り訂正動
作に用いる場合を考える。なおインタリーブは第10−
1図に示す矢印のように縦横に誤り訂正動作を行なうも
のである。
Next, consider a case where this device is used for two error correction operations by interleaving. Note that interleaving is the 10th
Error correction operations are performed vertically and horizontally as indicated by the arrows shown in FIG.

クロックとトリガーのレートを2倍にすれば倍速処理は
可能であるので、問題はC1と52のフォーマットの違
いであるが、訂正能力Tと符号長n及びkをC1とC2
で別々に与えることにより可変になる。第10−2図に
インタリーブを行なう場合の回路図を示す。nl、n2
゜TI、T2が設定している時、Cのセレクト信号で、
n、T、kがC1,C2で可変になる。
Double-speed processing is possible by doubling the clock and trigger rates, so the problem is the difference between the formats of C1 and 52, but the correction ability T and code length n and k are different from C1 and C2.
can be made variable by giving them separately. FIG. 10-2 shows a circuit diagram when interleaving is performed. nl, n2
゜When TI and T2 are set, C select signal
n, T, and k become variable with C1 and C2.

例えば、C1と02の訂正能力と符号長をC1の時C=
O,C2の時C=1とすることにより選択でき、kはn
−2・T−Hによって得られるのでインタリーブ処理が
可能となる。
For example, if the correction ability and code length of C1 and 02 are C1, then C=
When O, C2, it can be selected by setting C=1, and k is n
Since it is obtained by -2.TH, interleaving processing becomes possible.

そのCの信号をD→1または1→Dとすることによって
フォーマットの縦横処理が任意に選択できる。
By setting the C signal to D→1 or 1→D, the vertical and horizontal processing of the format can be arbitrarily selected.

このように、汎用に動かすことが可能な誤り訂正装置を
1チップ化し、種々のフォーマットによって動かせるよ
うにすることによって、光ディスク、光磁気ディスク等
だけでなく、誤り率の悪い通信路全てに適用される。
In this way, by integrating a general-purpose error correction device into a single chip and making it compatible with various formats, it can be applied not only to optical disks, magneto-optical disks, etc., but also to all communication paths with low error rates. Ru.

また、このようなチップ間にさらにインタリーブを施し
、縦続接続することによって誤り率が高く、かつ高速な
処理が必要な分野にも適用できる。
In addition, by further interleaving and cascading such chips, the present invention can be applied to fields where error rates are high and high-speed processing is required.

第11図はS、Mはセクタマークでセクタの始まりを示
す、5YNCでクロック成分を抽出し、IDを読む。I
DのA、MはアドレスマークでADDRESS (アド
レス)の始まりを示す、ID部とDATA部間に、ジャ
ク等を吸収するGAPがおかれ、データ部の5YNC。
In FIG. 11, S and M are sector marks indicating the start of a sector. At 5YNC, the clock component is extracted and the ID is read. I
A and M of D are address marks indicating the start of ADDRESS (address). A GAP is placed between the ID part and the DATA part to absorb jacks, etc., and 5YNC of the data part.

A、M、DATAとのずれを吸収する。データ部も同様
であり、最後のGAPは次のセクタとの間のずれを吸収
する。アドレスマークとデータ部を異なるフォーマット
で符号化していてもここでは本発明の装置によって処理
できる。
Absorbs the deviation between A, M, and DATA. The same goes for the data section, and the last GAP absorbs the gap between it and the next sector. Even if the address mark and the data part are encoded in different formats, they can be processed here by the device of the invention.

〔効果〕〔effect〕

以上、詳述したように本願発明により、汎用のフォーマ
ットセレクタ部及び消失訂正還択部(消失位置入力部も
含む)をもつ誤り訂正装置を1チップ化することによっ
て、種々のフォーマットに対して一つの消失・誤り訂正
装置で済むという効果がある。
As described in detail above, according to the present invention, an error correction device having a general-purpose format selector section and an erasure correction/reduction section (including an erasure position input section) is integrated into a single chip, so that it can be used uniformly for various formats. This has the advantage that only one erasure/error correction device is required.

又、複数のフォーマットを持つ入力情報を各種のフォー
マットのセレクト信号により、各フォーマットに応じて
同一の消失・誤り訂正部において誤り訂正を行なうこと
ができる。
Further, input information having a plurality of formats can be subjected to error correction in the same erasure/error correction unit according to each format by using select signals of various formats.

又、インタリーブされたデータを消失・誤り訂正する場
合、一つの消失・誤り訂正部を倍速で動かし、それ以外
又は高速な転送速度に対して定速で動かす制御部を有し
た消失・誤り訂正装置を提供することができる。
In addition, when erasing and error correcting interleaved data, there is an erasure/error correction device having a control unit that operates one erasure/error correction unit at double speed and operates at a constant speed for other erasure/error correction units or at a high transfer rate. can be provided.

又、セクタ構成された情報を消失・誤り訂正する装置に
おいて、セクタ内のデータだけでなく、セクタのアドレ
ス情報にもデータ部と同じ消失・誤り訂正部で誤り訂正
を行なうことができる。
Furthermore, in a device for erasure/error correction of information organized into sectors, it is possible to perform error correction not only on the data within a sector but also on the address information of the sector by the same erasure/error correction unit as the data section.

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

第1図は消失・誤り訂正のハード構成を示す図、 第2図は本発明の消失・誤り訂正を含む符号化・復号回
路を示す図、 第3図は、データインから誤り訂正後のデータアウトを
示すタイムチャート、 第4図は誤り訂正部のへ一ド構成を示す図、第5図は誤
り訂正のフローチャート、 第6図は復号の場合のハード構成図、 第7図は計算の流れを示す図、 第8図は符号化のハード構成図、 第9図は符号器、復号器の構成図、 第10−1図はインタリーブの説明図、第10−2図は
インタリーブの場合の構成図、第11図は誤り訂正の位
置を示す図、 8 −−−−−一エラーコレクトブロック9 −−−−
−−コントロールブロック11 −−−−−− RA 
M l 5 −−−−−−バッファ
Figure 1 is a diagram showing the hardware configuration of erasure/error correction. Figure 2 is a diagram showing the encoding/decoding circuit including erasure/error correction of the present invention. Figure 3 is data from data-in to error-corrected data. Figure 4 is a diagram showing the head configuration of the error correction section, Figure 5 is a flowchart of error correction, Figure 6 is a diagram of the hardware configuration for decoding, Figure 7 is the flow of calculation. Figure 8 is a hardware configuration diagram of encoding, Figure 9 is a configuration diagram of an encoder and decoder, Figure 10-1 is an explanatory diagram of interleaving, and Figure 10-2 is a configuration for interleaving. 11 is a diagram showing the position of error correction, 8 ------One error correction block 9 -----
--Control block 11 ------ RA
M l 5 -------Buffer

Claims (7)

【特許請求の範囲】[Claims] (1)複数のフォーマットを持つ入力情報に応じて各々
のフォーマットのセレクト信号を発生する手段、 上記入力情報に対して、消失誤り訂正を含む誤り訂正を
行う消失・誤り訂正手段、 上記セレクト信号に応じて各フォーマットに合った誤り
訂正を行なうべく、上記誤り訂正手段を制御する制御手
段を有したことを特徴とする誤り訂正装置。
(1) Means for generating select signals of respective formats in accordance with input information having a plurality of formats; Erasure/error correction means for performing error correction including erasure error correction on the input information; An error correction device comprising a control means for controlling the error correction means to perform error correction according to each format.
(2)特許請求の範囲第1項において、上記消失・誤り
訂正手段は、リードソロモン符号を用いることを特徴と
する誤り訂正装置。
(2) The error correction device according to claim 1, wherein the erasure/error correction means uses a Reed-Solomon code.
(3)特許請求の範囲第1項において、セクタ構成され
た情報の内のデータ及びアドレス情報を入力情報として
、それぞれ上記消失・誤り訂正手段において、消失・誤
り訂正を行なうことを特徴とする誤り訂正装置。
(3) In claim 1, the error is characterized in that erasure/error correction is performed in the erasure/error correction means, respectively, using data and address information in sector-structured information as input information. correction device.
(4)特許請求の範囲第1項において、上記消失・誤り
訂正手段は、消失・誤り訂正符号化又は誤り復号化手段
を含むことを特徴とする誤り訂正装置。
(4) The error correction device according to claim 1, wherein the erasure/error correction means includes erasure/error correction encoding or error decoding means.
(5)特許請求の範囲第1、3項において、上記入力情
報は、インタリーブされたデータであることを特徴とす
る誤り訂正装置。
(5) An error correction device according to claims 1 and 3, wherein the input information is interleaved data.
(6)特許請求の範囲第1項において、上記入力情報の
フォーマットが、インタリーブであるか否かで上記制御
手段は、上記誤り訂正手段への転送レートを倍速以上に
することを特徴とする誤り訂正装置。
(6) In claim 1, the error correction means is characterized in that, depending on whether the format of the input information is interleaved or not, the control means increases the transfer rate to the error correction means at double speed or more. correction device.
(7)特許請求の範囲第1項において、フォーマットの
処理順序を縦横自由に選べることを特徴とする誤り訂正
装置。
(7) The error correction device according to claim 1, characterized in that the format processing order can be freely selected vertically and horizontally.
JP61232002A 1986-09-30 1986-09-30 Error correcting device Pending JPS6386161A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61232002A JPS6386161A (en) 1986-09-30 1986-09-30 Error correcting device
US08/701,327 US5774389A (en) 1986-09-30 1996-08-23 Error correction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232002A JPS6386161A (en) 1986-09-30 1986-09-30 Error correcting device

Publications (1)

Publication Number Publication Date
JPS6386161A true JPS6386161A (en) 1988-04-16

Family

ID=16932401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232002A Pending JPS6386161A (en) 1986-09-30 1986-09-30 Error correcting device

Country Status (1)

Country Link
JP (1) JPS6386161A (en)

Similar Documents

Publication Publication Date Title
US4881232A (en) Method and apparatus for error correction
US8010879B2 (en) Error correction method and apparatus for data storage device
US5757824A (en) Code error correction apparatus
EP0986814B1 (en) Reed-solomon decoding of data read from dvd or cd supports
US20040257900A1 (en) Data recording method, recording medium and reproduction apparatus
JPH0267825A (en) Error correcting circuit
KR100236367B1 (en) Error correction method
US4819236A (en) Data transmission method suitable for a disc
JPS62217468A (en) Method and device for recording and reproducing digital information
KR100317760B1 (en) Recordable information recording medium and method and apparatus for formatting the same, and Method and apparatus for writing data to and reading data from the recordable information recording medium.
US6718505B1 (en) Method and apparatus for error correction in a process of decoding cross-interleaved Reed-Solomon code (CIRC)
JPS6386161A (en) Error correcting device
JP2735230B2 (en) Rewritable optical disk device
KR0140382B1 (en) Address generation circuit for error correction of DAT
JP4112520B2 (en) Correction code generation apparatus, correction code generation method, error correction apparatus, and error correction method
EP1111799B1 (en) Error correction with a cross-interleaved Reed-Solomon code, particularly for CD-ROM
JPS63197122A (en) Error correcting and checking device
JP2561236B2 (en) Error correction device
JPS63285778A (en) Disk recording system
JPH0628343B2 (en) Product code decoding method
JP3279501B2 (en) Error correction and error detection method for mass storage controller
JPH0824269B2 (en) Error correction method
JPS6359221A (en) Deinterleave circuit
JPS60217569A (en) Error correction code decoding system
KR19990001787A (en) Device and method for error correction of digital signals