JP2010152960A - Error correction circuit and storage device - Google Patents
Error correction circuit and storage device Download PDFInfo
- Publication number
- JP2010152960A JP2010152960A JP2008328178A JP2008328178A JP2010152960A JP 2010152960 A JP2010152960 A JP 2010152960A JP 2008328178 A JP2008328178 A JP 2008328178A JP 2008328178 A JP2008328178 A JP 2008328178A JP 2010152960 A JP2010152960 A JP 2010152960A
- Authority
- JP
- Japan
- Prior art keywords
- data
- error
- circuit
- error correction
- location
- 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
Links
- 238000012937 correction Methods 0.000 title claims abstract description 215
- 208000011580 syndromic disease Diseases 0.000 claims abstract description 113
- 238000004364 calculation method Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 230000004044 response Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000005415 magnetization Effects 0.000 description 1
- ORQBXQOJMQIAOY-UHFFFAOYSA-N nobelium Chemical compound [No] ORQBXQOJMQIAOY-UHFFFAOYSA-N 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
本発明は、記憶装置や通信装置に使用される誤り訂正符号を含むデータのエラー訂正回路及び記憶装置に関し、特に、ECC(Error Correction Code)を付与したデータブロックの誤り訂正のためのエラー訂正回路及び記憶装置に関する。 The present invention relates to an error correction circuit for data including an error correction code used in a storage device or a communication device, and to a storage device, and more particularly to an error correction circuit for error correction of a data block provided with ECC (Error Correction Code). And a storage device.
磁気ディスク装置等の記憶装置や通信系の分野においては、記録再生過程や、伝送路において生じたデータの誤りを訂正するため、誤り訂正符号(ECC:Error Correction Code)を用いた誤り訂正技術が、広く普及している。 In the field of storage devices such as magnetic disk devices and communication systems, error correction techniques using error correction codes (ECC) are used to correct data errors that occur in the recording / reproduction process and transmission path. Widely popular.
このECC符号として、リード・ソロモン(RS:Reed Solomon)符号が、利用されている。RS符号は、記録データに、予めRS符号化を行い、記録再生過程を経て再生されたビット列に対し、RS復号化を行い、ビット列に含まれる誤りを検出・訂正する。即ち、RS符号は、シンボル単位の訂正能力に優れており、特に、バースト誤りの検出、訂正能力に優れている。 As this ECC code, a Reed Solomon (RS) code is used. The RS code performs RS encoding on recorded data in advance, performs RS decoding on a bit string reproduced through a recording / reproducing process, and detects and corrects an error included in the bit string. That is, the RS code is excellent in symbol unit correction capability, and in particular, is excellent in burst error detection and correction capability.
また、誤り訂正符号技術として、反復復号形式が利用されている。反復復号とECCとを組み合わせて、誤り検出・訂正能力を向上できる(例えば、特許文献1参照)。 As an error correction code technique, an iterative decoding format is used. Error detection / correction capability can be improved by combining iterative decoding and ECC (see, for example, Patent Document 1).
図16は、従来のRS符号を用いた誤り訂正回路の説明図である。磁気ディスク等の記憶ディスク100から磁気ヘッド等のリード素子102で読み出されたデータ(読み取り信号)は、データ復調回路110で、復調される。データ復調回路110は、例えば、PRチャネル回路と、反復復号器とで構成される。
FIG. 16 is an explanatory diagram of an error correction circuit using a conventional RS code. Data (read signal) read from a
エラー訂正回路130は、ECC復号器で構成される。エラー訂正回路(以下、ECC復号器という)130は、シンドローム演算回路120と、誤り位置解読回路122と、誤りの大きさ解読回路124と、データ補正回路128と、解読エラー判定回路126とを備える。
The
シンドローム演算回路120は、データ復調回路110の復号器からの復号列を受け、復号列のシンドローム値を計算する。誤り位置解読回路122は、計算されたシンドローム値から誤り位置の連立方程式を計算し、誤り位置を特定する。誤りの大きさ解読回路124は、計算されたシンドロームから誤りの大きさの連立方程式を計算し、誤りの大きさを解読する。
The
解読エラー判定回路126は、誤り位置解読回路122の誤り位置と、誤りの大きさ解読回路124の誤りの大きさとから、訂正能力を超えているかを判定し、判定結果を出力する。データ補正回路128は、訂正能力を超えていない場合、特定された誤り位置、誤りの大きさにより、データを補正し、誤り訂正データを出力する。
The decoding
このようなエラー訂正では、例えば、リード・ソロモン(15,11)符号では、符号ブロック数nが「15」、情報ブロック数kが「11」、検査ブロック数(n−k)が「4」であり、訂正可能最大シンボル数は、(n−k)/2=2である。
従来技術では、読出して誤り訂正できなかった場合、再度、データを読み込んで誤り訂正していた。更に、訂正に失敗した場合には、再度これらを読出し誤り訂正を繰り返すだけであった。 In the prior art, if the error cannot be corrected by reading, the data is read again to correct the error. Further, when correction fails, these are read again and error correction is repeated.
データの誤りが、ランダム性の誤りであれば、再度読み出すことで、位置と個数が変化するため、誤り数が、ECCの訂正数以下になった場合、データが再現できる。 If the data error is a random error, the position and the number are changed by reading again, and therefore the data can be reproduced when the number of errors is equal to or less than the ECC correction number.
しかしながら、記録密度上がり、媒体欠陥が無視できなくなると、再度読み出しても、毎回、媒体欠陥箇所で、データを誤る。そして、媒体欠陥による誤りが、ECCの訂正能力を超えた場合、データが消滅する異常事態になる。通信速度が速くなった場合も同様である。 However, if the recording density rises and the medium defect cannot be ignored, the data will be erroneous at the medium defect portion every time even if it is read again. When an error due to a medium defect exceeds the ECC correction capability, an abnormal situation occurs in which data disappears. The same applies when the communication speed increases.
従って、本発明の目的は、誤り訂正性能を向上するためのエラー訂正回路及び記憶装置を提供することにある。 Therefore, an object of the present invention is to provide an error correction circuit and a storage device for improving error correction performance.
又、本発明の他の目的は、媒体欠陥に対して、誤り訂正能力を向上するためのエラー訂正回路及び記憶装置を提供することにある。 Another object of the present invention is to provide an error correction circuit and a storage device for improving error correction capability for a medium defect.
この目的の達成のため、記憶装置は、同一のデータが、複数個所に記録された記憶媒体と、前記記憶媒体のデータを読み出すヘッドと、前記ヘッドの読み取り信号を復調する復調回路と、前記復調回路からの読み出しデータのシンドローム値を計算し、前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正回路と、前記ヘッドの読み出し動作を制御する制御回路とを有する。 To achieve this object, the storage device includes a storage medium in which the same data is recorded at a plurality of locations, a head for reading the data of the storage medium, a demodulation circuit for demodulating a read signal of the head, and the demodulation An error correction circuit that calculates a syndrome value of read data from the circuit, specifies an error position from the syndrome value, corrects read data at the specified error position, and outputs error correction data; and read operation of the head And a control circuit for controlling.
そして、前記誤り訂正回路は、前記シンドローム値を補正する回路と、前記訂正したデータを補正する回路とを有し、前記制御回路は、第1の個所のデータを読み出し、前記第1の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、第2の個所の同一データを読み出し、前記誤り訂正回路で、前記第2の個所の読み出しデータの誤り訂正を行うとともに、前記第2の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、前記誤り訂正回路に、補正指示し、前記誤り訂正回路は、前記補正指示に応じて、前記第1の個所と第2の個所の読み出しデータの比較により、誤り箇所を特定し、特定した誤り位置と大きさの情報により、前記シンドローム値を補正して、誤り訂正を行い、前記誤り位置と大きさで、前記誤り訂正されたデータを補正する。 The error correction circuit includes a circuit that corrects the syndrome value and a circuit that corrects the corrected data, and the control circuit reads data at a first location, and reads the data at the first location. In response to the error correction failure of the read data from the error correction circuit, the same data at the second location is read, and the error correction circuit performs error correction on the read data at the second location, and the second In response to failure in error correction from the error correction circuit of the read data at the location, the error correction circuit is instructed to correct the error, and the error correction circuit responds to the correction instruction and the first location and the second location. The error location is identified by comparing the read data at the location, the syndrome value is corrected based on the identified error position and size information, error correction is performed, and the error location and size are corrected. , To correct the error-corrected data.
又、エラー訂正回路は、入力されたデータのシンドローム値を計算するシンドローム計算部と、前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正部と、前記データと同一のミラーデータを受け、前記両データの比較により、誤り箇所を特定する回路と、前記特定された誤り箇所の前記シンドローム値を補正する回路と、前記訂正したデータを補正する回路とを有する。 The error correction circuit also includes a syndrome calculation unit that calculates a syndrome value of the input data, specifies an error position from the syndrome value, corrects read data at the specified error position, and outputs error correction data. An error correction unit, a circuit that receives the same mirror data as the data, and compares the data to identify an error location; a circuit that corrects the syndrome value of the identified error location; and the corrected data And a circuit for correcting.
本データを読み出し、エラー訂正不可なら、ミラーデータを読み出し、共に、訂正を失敗した時に、本データとミラーデータとの読出しデータを比較して、誤り箇所を特定する。特定した中から、順次誤り位置と大きさの情報を取り出してシンドローム値を補正して、誤り訂正を行う。更に、ECCで、正常に訂正できた場合に、特定の誤り位置と大きさで、更にデータを補正するため、見掛け上誤り訂正能力が向上する。 If this data is read and error correction is impossible, the mirror data is read. When both corrections fail, the read data of this data and the mirror data are compared to identify the error location. From the specified information, error position and size information is sequentially taken out, the syndrome value is corrected, and error correction is performed. Further, when data can be corrected normally by ECC, the data is further corrected at a specific error position and size, so that the error correction capability is apparently improved.
以下、本発明の実施の形態を、記憶装置、データ読み出し・訂正、データ読み出し・訂正処理、他の実施の形態の順で説明するが、本発明は、この実施の形態に限られない。 Hereinafter, embodiments of the present invention will be described in the order of a storage device, data read / correction, data read / correction processing, and other embodiments. However, the present invention is not limited to this embodiment.
(記憶装置)
図1は、本発明の一実施の形態の記憶装置のブロック図、図2は、図1のデータ形式としてのガロア体の説明図、図3は、図2のガロア体での加算の説明図、図4は、図2のガロア体での乗算の説明図、図5は、図1の誤り位置解読回路の説明図、図6は、図1の誤りの大きさ解読回路の説明図である。図1では、記憶装置として、磁気ディスク装置を示す。
(Storage device)
1 is a block diagram of a storage device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of a Galois field as the data format of FIG. 1, and FIG. 3 is an explanatory diagram of addition in the Galois field of FIG. 4 is an explanatory diagram of multiplication in the Galois field of FIG. 2, FIG. 5 is an explanatory diagram of the error position decoding circuit of FIG. 1, and FIG. 6 is an explanatory diagram of the error magnitude decoding circuit of FIG. . In FIG. 1, a magnetic disk device is shown as a storage device.
磁気ディスク10は、各トラックは、セクター単位にデータが記録される。この実施の形態では、磁気ディスク10の複数個所に同一のデータを記録する。例えば、データ11Aを記録し、データ11Aのミラーデータ11Bを、磁気ディスクの180度回転した位置に書き込む。尚、ミラーデータ11Bは、データ11Aと同じデータである。
In the
このデータは、次のようにして、記録される。記録データは、CRC符号(Cyclic Redundancy Code)が付加され、その後に、MTR符号(Maximum Transition Run Code)やRLL(Run Length Limited)符号などの拘束条件が満たされるデータ列に変換される。そして、そのデータ列に、ECC符号として、RS(Reed Solomon)パリティ列を付加する。 This data is recorded as follows. The recording data is added with a CRC code (Cyclic Redundancy Code) and then converted into a data string that satisfies a constraint condition such as an MTR code (Maximum Transition Run Code) or an RLL (Run Length Limited) code. Then, an RS (Reed Solomon) parity string is added to the data string as an ECC code.
ECC符号化されたデータ列は、磁化反転が隣接する箇所で、反転間隔を多少広げる補償処理を施される。記録補償されたデータ列に従い、図示しない記録ヘッド(ライトヘッド)のライト電流を発生し、記録ヘッドを駆動して、磁気ディスク10に記録を行う。
The ECC-encoded data string is subjected to a compensation process that slightly widens the inversion interval at a position where the magnetization inversion is adjacent. A write current of a recording head (write head) (not shown) is generated according to the recording-compensated data string, and the recording head is driven to perform recording on the
次に、再生時を説明する。再生の際は、磁気ディスク10のデータ11A,11Bを、再生ヘッド(リードヘッド)12が読み出し、アナログ電圧(読み出し信号)を復調回路20に出力する。復調回路20は、読み出し信号を、読み出しデータに復調する。復調回路20は、例えば、可変利得アンプ(VGA)、ローパスフィルタ、A/Dコンバータ、FIRフィルタ、反復復号器で構成される。
Next, playback will be described. At the time of reproduction, the reproduction head (read head) 12 reads the
可変利得アンプが、読み出し信号を振幅調整し、ローパスフィルタ(LPF)が、振幅調整されたリード信号の高周波数域をカットし、A/Dコンバータ(ADC)そのアナログ出力をデジタル信号へ変換する。その後、FIR(Finite Impulse Response)フィルタが、PR(Partial Response)波形等化を行った後、反復復号器に出力する。 The variable gain amplifier adjusts the amplitude of the read signal, and the low-pass filter (LPF) cuts the high frequency range of the read signal whose amplitude has been adjusted, and converts the analog output of the A / D converter (ADC) into a digital signal. Thereafter, a FIR (Finite Impulse Response) filter performs PR (Partial Response) waveform equalization, and then outputs the result to the iterative decoder.
反復復号器は、尤度を用いて反復復号を行う。例えば、Max−log−MAP(Maximum A Posteriori)アルゴリズム、SOVA(Soft-Output Viterbi Algorithm)及び雑音予測機能付SOVA(NPSOVA: Noise Predictive SOVA)などを用いる。 The iterative decoder performs iterative decoding using likelihood. For example, Max-log-MAP (Maximum A Posteriori) algorithm, SOVA (Soft-Output Viterbi Algorithm), SOVA with noise prediction function (NPSOVA: Noise Predictive SOVA), and the like are used.
反復復号された判定出力は、ECC復号器70に入力し、ECC復号器70は、ECCを用いて、誤り訂正を行う。ECC復号器70は、シンドローム演算部30と、誤り位置多項式解読部34と、誤りの大きさ解読部36と、データ補正部38と、解読エラー判定回路42とを備える。
The iteratively decoded determination output is input to the
このECC復号器70は、巡回符号で知られているガロア体演算を行う。図2により、ガロア体を説明する。図2は、原始多項式F(x)=x4+x+1であるガロア体GF(24)のべき乗表現と、対応するベクトル表現と、対応する10進表現との関係を示す。即ち、4ビットのベクトル表現(2進表現)に対し、10進表現は、「0」〜「15」の値で対応する。一方、べき乗表現(ガロア体表現)は、「0」〜「α14」で、各ベクトル表現に対応する。
The
次に、ガロア体での加算を説明する。図3は、10進表示でのガロア体の加算例を示す。例えば、10進表示の「3」(=α4)+「3」(=α4)は、10進表示の「0」(=0)であり、10進表示の「3」(=α4)+「4」(=α2)は、10進表示の「7」(=α10)である。 Next, addition in a Galois field will be described. FIG. 3 shows an example of Galois field addition in decimal display. For example, “3” (= α 4 ) + “3” (= α 4 ) in decimal display is “0” (= 0) in decimal display, and “3” (= α 4 in decimal display). ) + “4” (= α 2 ) is “7” (= α 10 ) in decimal notation.
又、ガロア体での乗算を説明する。図4は、10進表示でのガロア体の乗算例を示す。例えば、10進表示の「3」(=α4)×「3」(=α4)は、10進表示の「5」(=α8)であり、10進表示の「3」(=α4)+「4」(=α2)は、10進表示の「12」(=α6)である。 In addition, multiplication in a Galois field will be described. FIG. 4 shows an example of multiplication of a Galois field in decimal display. For example, “3” (= α 4 ) × “3” (= α 4 ) in decimal display is “5” (= α 8 ) in decimal display, and “3” (= α in decimal display) 4 ) + “4” (= α 2 ) is “12” (= α 6 ) in decimal notation.
図1に戻り、シンドローム値演算部30は、復調回路20からの復号列のシンドロームS0〜Sn−k−1を計算し、計算したシンドローム値(係数)を保存する。例えば、リード・ソロモン(15,11)符号では、符号ブロック数nが「15」、情報ブロック数kが「11」、検査ブロック数(n−k)が「4」であり、訂正可能最大シンボル数は、(n−k)/2=2であるから、シンドロームSo〜S3を計算する。
Returning to FIG. 1, the syndrome
誤り位置解読部34は、作成されたシンドローム多項式S0〜Sn−k−1から、図5に示す誤り位置に関する連立方程式の誤り位置多項式を計算する。図5の誤り位置に関する連立法定式は、一般式で記載してあり、左辺のシンドロームS(n−k)/2−1〜Sn−k−1を、シンドロームS0〜Sn−k−2と、位置Xに関する係数σ1〜σ(n−k)/2との積で表す連立方程式である。
The error
この連立方程式を、解いて、誤り多項式を因数分解して、係数σ1〜σ(n−k)/2を演算し、下記式(1)に、位置Xを順次代入し、σe(X)=0となる位置Xを、誤り位置と解読する。この位置Xは、例えば、ブロック番号に対応する。 The simultaneous equations are solved, the error polynomial is factored, the coefficients σ1 to σ (n−k) / 2 are calculated, the position X is sequentially substituted into the following equation (1), and σe (X) = The position X that becomes 0 is decoded as an error position. This position X corresponds to, for example, a block number.
次に、誤りの大きさ解読部36は、ブロック内の誤りの大きさ(数値)を解読する。誤りの大きさ解読部36は、作成されたシンドローム多項式S0〜Sn−k−1と位置X、誤りの大きさの値eとの関係式である図6に示す誤り大きさに関する多項式(連立方程式)を解いて、下記式(2)により、誤りの大きさ(ブロック内の値)e1〜e(n−k)/2を演算する。この誤りの大きさeが、例えば、ブロック内のデータ値に対応し、1ブロックが、「0」〜「255」(8ビット)であれば、誤りの大きさは、「1」〜「255」の値をとる。
Next, the error
解読エラー判定回路42は、誤り位置解読部34と、誤りの大きさ解読部36からの誤り位置と、誤りの大きさを受け、訂正能力を越えているかを判定する。そして、制御回路60に訂正可、又は訂正不可を通知する。
The decoding
データ修正回路38は、訂正可能な場合、特定された誤り位置の誤りの大きさ(値)を修正し、誤り訂正データを出力する。
If correction is possible, the
本実施の形態では、更に、復調回路20からのデータを保持する読み出しバッファ22と、復調回路20からのミラーデータ11Bと、読み出しバッファ22のデータ11Aとの差分を演算する差分演算器46と、差分演算器46の差分演算結果から、エラー位置/大きさを特定するエラー特定部48を設ける。
In the present embodiment, the
更に、エラー特定部48のエラー位置/大きさにより、シンドローム演算部30からのシンドローム値S0〜Sn−k−1を補正するシンドローム補正部50と、シンドローム演算部30と、シンドローム補正部50との出力を切り替える第1のスイッチ32と、エラー特定部48のエラー位置/大きさにより、データ修正部40からの訂正データを補正するデータ補正部40と、データ修正部38と、データ補正部40との出力を切り替える第2のスイッチ44とを設ける。
Furthermore, a
制御回路60は、図7以下で説明するように、読み取り動作と、ECC復号動作を制御する。
The
(データ読み出し・訂正)
図7は、本データ11A,ミラーデータ11B、差分、シンドローム補正値の関係図、図8は、ミラーデータ11Bのシンドロームと補正されたシンドロームの関係図である。図7及び図8により、図1による誤り訂正動作を説明する。
(Data reading / correction)
FIG. 7 is a relationship diagram of the
図7は、リード・ソロモン(15,11)符号の例を示し。符号ブロック数nが「15」、情報ブロック数kが「11」、検査ブロック数(n−k)が「4」である。即ち、ブロック番号「0」〜「3」の4ブロックが、検査ブロックであり、ブロック番号「4」〜「14」の11ブロックが、情報ブロックである。 FIG. 7 shows an example of the Reed-Solomon (15, 11) code. The number of code blocks n is “15”, the number of information blocks k is “11”, and the number of check blocks (n−k) is “4”. That is, four blocks with block numbers “0” to “3” are inspection blocks, and 11 blocks with block numbers “4” to “14” are information blocks.
各ブロックを構成する本データが、ガロア体表記で、図7のような値とし、ミラーデータが、ガロア体表記で、図7のような値となったとする。図7の例では、本データは、7,10、13番目のブロックで誤りが検出され、そのデータ値が、各々、α7、α4、α2であるとする。即ち、訂正可能最大シンボル数は、(n−k)/2=2を越えている。 Assume that the main data constituting each block has a Galois field notation as shown in FIG. 7 and the mirror data has a Galois field notation as shown in FIG. In the example of FIG. 7, it is assumed that an error is detected in the seventh, tenth, and thirteenth blocks of this data, and the data values are α 7 , α 4 , and α 2 , respectively. That is, the maximum number of correctable symbols exceeds (n−k) / 2 = 2.
次に、本データの訂正可能範囲を越えているため、ミラーデータ11Bを読みだす。図7の例では、ミラーデータは、4,7、10番目のブロックで誤りが検出され、そのデータ値が、各々、α10、α7、α2であるとする。即ち、訂正可能最大シンボル数は、(n−k)/2=2を越えている。
Next, since the correctable range of this data is exceeded, the
本実施例では、本データとミラーデータを比較した場合には、同一位置及び同一大きさの誤りが生じた場合以外は、以下の3つのケースがある。 In the present embodiment, when this data is compared with mirror data, there are the following three cases except when errors of the same position and the same size occur.
(1)本データだけに誤りがある。図7では、情報ブロック番号13の例である。
(1) Only this data has an error. FIG. 7 shows an example of
(2)ミラーデータと本データとが、同一位置に、異なる大きさの誤りが生じた。図7では、情報ブロック番号10の例である。
(2) The mirror data and the main data have errors of different sizes at the same position. FIG. 7 shows an example of
(3)ミラーデータだけに誤りが生じた。図7では、情報ブロック番号4の例である。
(3) An error occurred only in the mirror data. FIG. 7 shows an example of
(1)の場合には、検出したエラー位置と、大きさは、ミラーデータの誤り訂正に無関係である。(2)の場合には、検出したエラーの大きさは、両者の差分である。(3)の場合は、検出したエラー位置と大きさは、ミラーデータに誤りそのものである。 In the case of (1), the detected error position and size are irrelevant to error correction of the mirror data. In the case of (2), the magnitude of the detected error is the difference between the two. In the case of (3), the detected error position and size are errors themselves in the mirror data.
従って、本データ、ミラーデータとも誤り訂正不可の場合に、(3)のケースを検出し、ミラーデータのシンドロームから、(3)の誤りのシンドロームを取り除き、補正することにより、ECC訂正前に、ミラーデータの誤り箇所を減らす。これにより、ECCの誤り訂正の能力が向上する。 Therefore, when error correction is not possible for both this data and mirror data, the case of (3) is detected, the error syndrome of (3) is removed from the syndrome of the mirror data, and correction is performed. Reduce errors in mirror data. This improves the ECC error correction capability.
又、ミラーデータだけの誤り位置と、大きさが特定されるため、ECC訂正後、その位置のデータを別途補正する。 Further, since the error position and size of only the mirror data are specified, the data at that position is corrected separately after the ECC correction.
図1の構成で説明すると、差分演算器46が、ミラーデータ11Bと、読み出しバッファ22のデータ11Aとの差分(図7も参照)を演算する。そして、エラー特定部48が、差分が存在し、且つ(3)のケースの場合を検出し、エラー位置(図7では、ブロック番号4)、大きさ(図7では、ガロア体表記α10)を、シンドローム補正回路50と、データ補正回路40に出力する。
Referring to the configuration of FIG. 1, the
図7では、そのエラー位置及び大きさに対応するシンドローム値を示し、4つの項からなる。ここでは、ブロック番号4、大きさα10に対し、α10、α10α4、α10α2*4、α10α3*4の4つのシンドローム値である。この時、制御回路60の制御により、第1のスイッチ32は、シンドローム補正回路50を選択し、第2のスイッチ44は、データ補正回路40を選択する。
FIG. 7 shows a syndrome value corresponding to the error position and size, and is composed of four terms. Here, there are four syndrome values of α 10 , α 10 α 4 , α 10 α 2 * 4 , and α 10 α 3 * 4 for
シンドローム補正回路50では、受けたエラー位置と大きさとから、ミラーデータのシンドロームを補正する。図8に示すように、ミラーデータのシンドロームが、S0〜S3である場合に、シンドローム補正回路50は、図7の4つのシンドローム値を、シンドロームS0〜S3に加算して、補正されたシンドロームS’0〜S’3を作成する。
The
このガロア体加算により、図8に示すように、ミラーデータのシンドロームS0〜S3に、4ブロック目に対応するシンドローム値を加算するため、補正されたシンドロームS’0〜S’3は、4ブロック目に対応するシンドローム値がキャンセルされ、図7の7、10ブロック目のみとなる。このため、ECCのエラー訂正可能範囲を越えないため、ミラーデータの補正されたシンドロームから、ECC訂正が可能となる。 By this Galois field addition, as shown in FIG. 8, the syndrome values corresponding to the fourth block are added to the syndromes S0 to S3 of the mirror data, so that the corrected syndromes S′0 to S′3 are 4 blocks. The syndrome value corresponding to the eye is canceled and only the seventh and tenth blocks in FIG. For this reason, since the ECC error correction range is not exceeded, ECC correction can be performed from the syndrome in which the mirror data is corrected.
又、4ブロック目のエラーは、ECC訂正されないため、補正回路40が、4ブロック目のエラーを、通知された位置と、大きさで補正する。
Since the error of the fourth block is not ECC corrected, the
このようにして、記憶媒体上に、同じデータを、等分割角度毎に、複数個所に書込んでおき、本データを読み出し、エラー訂正不可なら、ミラーデータを読み出し、共に、訂正を失敗した時に、本データとミラーデータとの読出しデータを比較して、誤り箇所を特定する。特定した中から、順次誤り位置と大きさの情報を取り出してシンドローム値を補正して、誤り訂正を行う。 In this way, the same data is written on the storage medium at a plurality of equal division angles at a plurality of positions, the main data is read, and if error correction is impossible, the mirror data is read, and when both corrections fail. The error data is identified by comparing the read data of this data with the mirror data. From the specified information, error position and size information is sequentially taken out, the syndrome value is corrected, and error correction is performed.
更に、ECCで、正常に訂正できた場合に、特定の誤り位置と大きさで、更にデータを補正するため、見掛け上誤り訂正能力が向上する。 Further, when data can be corrected normally by ECC, the data is further corrected at a specific error position and size, so that the error correction capability is apparently improved.
(データ読み出し・訂正処理)
次に、制御回路60が実行する読み出し・訂正処理を説明する。図9及び図10は、本発明の一実施の形態の読み出し・訂正処理フロー図、図11乃至図15は、その誤り訂正動作例の説明図である。
(Data read / correction processing)
Next, read / correction processing executed by the
図11乃至図15を参照して、図9及び図10の処理を説明する。 The processing of FIGS. 9 and 10 will be described with reference to FIGS.
(S10)先ず、読み出し処理では、第1のスイッチ32は、シンドローム演算部30側の「a」を選択し、第2のスイッチ44は、データ修正部38側の「a」を選択している。制御回路60は、アクテイブヘッド12の現在のセクター位置とシリンダ位置を読み取る。周知のように図示しない磁気ディスク10のサーボ情報を、ヘッド12で読み出し、図示しないサーボ復調回路で、読み出し信号を復調し、セクター位置、シリンダ位置を得る。制御回路60は、読み出し対象のセクターとシリンダ位置と、本データのセクター位置、シリンダ位置との距離、及び読み出し対象のセクターとシリンダ位置と、ミラーデータのセクター位置、シリンダ位置との距離とを計算する。
(S10) First, in the reading process, the
(S12)制御回路60は、距離の比較により、ヘッド12の現在位置から最も近い位置のデータの位置にシークする。従って、最初にシークされた位置のデータが、本データとみなす。このように、図1の2つのデータ11A,11Bの内、ヘッドの現在位置に近いデータにアクセスするため、ミラーデータを設けた効果として、アクセスタイムを短縮できる。
(S12) The
(S14)制御回路60は、ヘッド12にデータの読み取りを指示する。ヘッド12が読み取った本データ11Aの読み取り信号は、復調回路20で、復調され、読み出しバッファ22に格納される。これとともに、復調された読み出しデータから、シンドローム演算部30が、シンドロームを計算し、誤り位置解読部34に出力する。誤り位置解読部34は、図5で説明したように、誤り位置に関する連立方程式を解いて、誤り位置を解読する。又、誤りの大きさ解読部36は、図6で説明したように、誤りの大きさを解読する。解読エラー判定回路42は、誤り位置解読部34と、誤りの大きさ解読部36からの誤り位置と、誤りの大きさを受け、訂正能力を越えているかを判定する。そして、制御回路60に訂正可、又は訂正不可を通知する。
(S14) The
(S16)訂正可の場合、データ修正回路38は、解読した誤り位置と、大きさから、誤り訂正を行い、スイッチ44を介し、制御回路60に出力する。制御回路60は、訂正可の通知を受けると、データ修正回路38の誤り訂正データを取り込み、正常終了する。
(S16) When correction is possible, the
(S18)一方、ステップS14で、訂正不可の通知を受けると、制御回路60は、ヘッド12の位置を、ミラーデータ11Bの位置にシークする。従って、2回目にシークされた位置のデータを、ミラーデータとみなす。
(S18) On the other hand, when a correction impossible notification is received in step S14, the
(S20)制御回路60は、ヘッド12にデータの読み取りを指示する。ヘッド12が読み取ったミラーデータ11Bの読み取り信号は、復調回路20で、復調され、復調された読み出しデータから、シンドローム演算部30が、シンドロームを計算し、誤り位置解読部34に出力する。誤り位置解読部34は、図5で説明したように、誤り位置に関する連立方程式を解いて、誤り位置を解読する。又、誤りの大きさ解読部36は、図6で説明したように、誤りの大きさを解読する。解読エラー判定回路42は、誤り位置解読部34と、誤りの大きさ解読部36からの誤り位置と、誤りの大きさを受け、訂正能力を越えているかを判定する。そして、制御回路60に訂正可、又は訂正不可を通知する。訂正可の場合、ステップS16の正常終了に進む。
(S20) The
(S22)一方、ステップS20で、訂正不可の通知を受けると、制御回路60の指示により、第1のスイッチ32は、シンドローム補正部50側の「b」を選択し、第2のスイッチ44は、データ補正部40側の「b」に切り替わる。そして、差分演算器46が、復調回路20のミラーデータ11Bと、読み出しバッファ22のデータ11Aとの差分(図11参照)を演算する。そして、エラー特定部48が、差分が存在し、且つ前述の(3)のケースの場合を検出し、エラー位置(図11では、ブロック番号4)、大きさ(図11では、α10=7(10進表記))を、シンドローム補正回路50と、データ補正回路40に出力する。
(S22) On the other hand, when a correction impossible notification is received in step S20, the
(S24)シンドローム補正回路50では、エラー位置と大きさを順次取り出し、ミラーデータのシンドロームを補正する。図11では、そのエラー位置及び大きさに対応するシンドローム値を示し、4つの項からなる。ここでは、ブロック番号4、大きさα10=7(10進表記)に対し、α10=7(10進表記)、α10α4=9(10進表記)、α10α2*4=8(10進表記)、α10α3*4=11(10進表記)の4つのシンドローム値である。以下、説明の理解のため、ガロア体表記と、対応する10進表記とを併用する。図12に示すように、ミラーデータ11Bのシンドロームが、S0〜S3である場合に、シンドローム補正回路50は、図11の4つのシンドローム値を、シンドロームS0〜S3に加算して、補正されたシンドロームS’0〜S’3を作成する。
(S24) The
このガロア体加算により、図8に示すように、ミラーデータのシンドロームS0〜S3に、4ブロック目に対応するシンドローム値を加算するため、補正されたシンドロームS’0〜S’3は、4ブロック目に対応するシンドローム値がキャンセルされ、図11の7、10ブロック目のみとなる。このため、ECCのエラー訂正可能範囲を越えないため、ミラーデータの補正されたシンドロームから、ECC訂正が可能となる。 By this Galois field addition, as shown in FIG. 8, since the syndrome value corresponding to the fourth block is added to the syndromes S0 to S3 of the mirror data, the corrected syndromes S ′ 0 to S ′ 3 are 4 blocks. The syndrome value corresponding to the eye is canceled, and only the seventh and tenth blocks in FIG. For this reason, since the ECC error correction range is not exceeded, ECC correction can be performed from the syndrome in which the mirror data is corrected.
(S26)補正されたシンドロームS’0〜S’3は、スイッチ50を介し、誤り位置解読部34に出力される。誤り位置解読部34は、図5で説明したように、誤り位置に関する連立方程式を解いて、誤り位置を解読する。図13は、図12の例の誤り位置連立方程式を示す。即ち、誤り位置連立方程式は、以下の(3)式のようである。
(S26) The corrected syndromes S ′ 0 to S ′ 3 are output to the error
誤りの大きさ解読部36は、図6で説明したように、誤りの大きさを解読する。図15に示すように、解読した誤り位置X1=11(べき乗表記=α7)、X2=7(=べき乗表記α10)として、図6のように、各々位置の誤りの大きさe1,e2を計算する。即ち、誤りの大きさの連立方程式は、(2)式から下記式(5)となる。
The error
式(5)を解いて、Δを計算し、誤りの大きさe1,e2を、図15のように計算する。得られた結果は、e1=11(べき乗表記=α7)、e2=4(べき乗表記=α2となり、図11と一致する。解読エラー判定回路42は、誤り位置解読部34と、誤りの大きさ解読部36からの誤り位置と、誤りの大きさを受け、訂正能力を越えているかを判定する。そして、制御回路60に訂正可、又は訂正不可を通知する。
Equation (5) is solved to calculate Δ, and error magnitudes e1 and e2 are calculated as shown in FIG. The obtained results are e1 = 11 (power notation = α 7 ) and e2 = 4 (power notation = α 2 ), which is consistent with FIG. 11. The decoding
(S28)訂正可の場合、データ修正回路38は、解読した誤り位置と、大きさから、誤り訂正を行い、スイッチ44を介し、データ補正部40に出力する。補正回路40が、訂正から除外されたブロック(図11では、4ブロック目)のデータを、通知された位置と、大きさで補正する。制御回路60は、訂正可の通知を受けると、データ修正回路38の誤り訂正データを取り込み、正常終了する。
(S28) If correction is possible, the
(S30)一方、誤り訂正不可の場合には、制御回路60は、全ての誤り候補を取り出したかを判定する。制御回路60は、全ての誤り候補を取り出していないと判定すると、ステップS24に戻る。
(S30) On the other hand, if error correction is impossible, the
(S32)制御回路60は、全ての誤り候補を取り出したと判定すると、読み出し回数が、許容回数を越えたかを判定する。読み出し回数が、許容回数を越えていない場合には、図9のステップS18に戻る。即ち、再度、ミラーデータを読み出し、訂正する。一方、読み出し回数が、許容回数を越えていると、異常終了する。
(S32) When the
このように、記憶媒体上に、同じデータを、複数個所に書込んでおき、本データを読み出し、エラー訂正不可なら、ミラーデータを読み出し、共に、訂正を失敗した時に、本データとミラーデータとの読出しデータを比較して、誤り箇所を特定する。特定した中から、順次誤り位置と大きさの情報を取り出してシンドローム値を補正して、誤り訂正を行う。更に、ECCで、正常に訂正できた場合に、特定の誤り位置と大きさで、更にデータを補正するため、見掛け上誤り訂正能力が向上する。 In this way, the same data is written in a plurality of locations on the storage medium, the main data is read, and if the error cannot be corrected, the mirror data is read. The read data is compared to identify the error location. From the specified information, error position and size information is sequentially taken out, the syndrome value is corrected, and error correction is performed. Further, when data can be corrected normally by ECC, the data is further corrected at a specific error position and size, so that the error correction capability is apparently improved.
(他の実施の形態)
前述の実施の形態では、ECC符号として、リードソロモン符号で説明したが、BCH(Bose Chaudhari Hocquengham)符号等の他の符号を利用できる。又、誤り位置解読部34は、バーレカンプマッシ(BM)法により、シンドローム多項式を計算しても良い。バーレカンプマッシ法では、周知のように、多項式の初期値から始めて、生成多項式の次数と同じ回数だけ多項式の更新を繰り返すことで、誤り位置多項式を計算する。
(Other embodiments)
In the above-described embodiment, the Reed-Solomon code has been described as the ECC code, but other codes such as a BCH (Bose Chaudhari Hocquengham) code can be used. Further, the error
更に、磁気ディスク装置の記憶装置の適用の例で説明したが、光ディスク装置等の他の媒体記憶装置や、通信装置にも適用できる。 Furthermore, although the example of the application of the storage device of the magnetic disk device has been described, the present invention can also be applied to other medium storage devices such as an optical disk device and a communication device.
以上、本発明を、実施の形態で説明したが、本発明は、その趣旨の範囲内で種々の変形が可能であり、これを本発明の範囲から排除するものではない。 As mentioned above, although this invention was demonstrated by embodiment, this invention can be variously deformed within the range of the meaning, and this is not excluded from the scope of the present invention.
(付記1)同一のデータが、複数個所に記録された記憶媒体のデータを読み出すヘッドと、前記ヘッドの読み取り信号を復調する復調回路と、前記復調回路からの読み出しデータのシンドローム値を計算し、前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正回路と、前記ヘッドの読み出し動作を制御する制御回路とを有し、前記誤り訂正回路は、前記シンドローム値を補正する回路と、前記訂正したデータを補正する回路とを有し、前記制御回路は、第1の個所のデータを読み出し、前記第1の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、第2の個所の同一データを読み出し、前記誤り訂正回路で、前記第2の個所の読み出しデータの誤り訂正を行うとともに、前記第2の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、前記誤り訂正回路に、補正指示し、前記誤り訂正回路は、前記補正指示に応じて、前記第1の個所と第2の個所の読み出しデータの比較により、誤り箇所を特定し、特定した誤り位置と大きさの情報により、前記シンドローム値を補正して、誤り訂正を行い、前記誤り位置と大きさで、前記誤り訂正されたデータを補正することを特徴する記憶装置。 (Appendix 1) A head that reads data of a storage medium in which the same data is recorded at a plurality of locations, a demodulation circuit that demodulates a read signal of the head, and a syndrome value of read data from the demodulation circuit are calculated, An error correction circuit that specifies an error position from the syndrome value, corrects read data at the specified error position, and outputs error correction data; and a control circuit that controls a read operation of the head; The correction circuit includes a circuit that corrects the syndrome value and a circuit that corrects the corrected data, and the control circuit reads data at a first location and reads the data at the first location. In response to an error correction failure from the error correction circuit, the same data at the second location is read out, and the read data at the second location is read out by the error correction circuit. In addition to performing error correction, upon receiving an error correction failure from the error correction circuit of the read data at the second location, the error correction circuit is instructed to correct, and the error correction circuit responds to the correction instruction. The error location is identified by comparing the read data of the first location and the second location, the syndrome value is corrected based on the identified error position and size information, error correction is performed, and the error A storage device, wherein the error-corrected data is corrected by a position and a size.
(付記2)前記シンドローム値を補正する回路は、前記第2の個所の読み出しデータのシンドローム値を補正することを特徴とする付記1の記憶装置。
(Additional remark 2) The memory | storage device of
(付記3)前記誤り訂正回路は、前記第1の個所と第2の個所の読み出しデータの比較により、前記第2の個所のデータのみの誤り箇所を特定する誤り特定回路を有することを特徴とする付記1の記憶装置。
(Additional remark 3) The said error correction circuit has an error specific circuit which specifies the error location only of the data of said 2nd location by comparing the read data of said 1st location and 2nd location. The storage device of
(付記4)前記誤り訂正回路は、読み出しデータのシンドローム値を計算する回路と、前記シンドローム値から誤り位置を特定する解読回路と、前記特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力するデータ修正回路とを有することを特徴とする付記1の記憶装置。 (Supplementary Note 4) The error correction circuit includes: a circuit that calculates a syndrome value of read data; a decoding circuit that specifies an error position from the syndrome value; and correction of read data at the specified error position, and error correction data And a data correction circuit for outputting the data.
(付記5)前記データは、検査ブロックと情報ブロックとで構成されたリード・ソロモン符号化されたデータであることを特徴とする付記1の記憶装置。
(Supplementary note 5) The storage device according to
(付記6)前記誤り訂正回路は、前記第1の個所の読み出しデータを保持する読み出しバッファと、前記第1の個所と第2の個所の読み出しデータを比較する比較回路と、前記比較回路の出力から、前記第2の個所のデータのみの誤り箇所を特定する誤り特定回路とを有することを特徴とする付記3の記憶装置。 (Supplementary Note 6) The error correction circuit includes a read buffer that holds the read data of the first location, a comparison circuit that compares the read data of the first location and the second location, and an output of the comparison circuit And the error specifying circuit for specifying the error location of only the data at the second location.
(付記7)前記制御回路は、前記第1の個所の読み出しデータの前記誤り訂正回路の誤り訂正成功を受け、前記誤り訂正回路の誤り訂正データを取り込み、且つ前記第2の個所のデータの読み出し処理を禁止することを特徴とする付記1の記憶装置。
(Supplementary note 7) The control circuit receives the error correction success of the error correction circuit of the read data of the first location, takes in the error correction data of the error correction circuit, and reads the data of the second location The storage device according to
(付記8)前記制御回路は、前記第2の個所の読み出しデータの前記誤り訂正回路の誤り訂正成功を受け、前記誤り訂正回路の誤り訂正データを取り込み、且つ前記補正指示を禁止することを特徴とする付記7の記憶装置。
(Supplementary Note 8) The control circuit receives error correction of the error correction circuit of the read data at the second location, takes in the error correction data of the error correction circuit, and prohibits the correction instruction. The storage device according to
(付記9)入力されたデータのシンドローム値を計算するシンドローム計算部と、前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正部と、前記データと同一のミラーデータを受け、前記両データの比較により、誤り箇所を特定する回路と、前記特定された誤り箇所の前記シンドローム値を補正する回路と、前記訂正したデータを補正する回路とを有することを特徴するエラー訂正回路。 (Additional remark 9) The syndrome calculation part which calculates the syndrome value of the input data, The error correction part which pinpoints an error position from the said syndrome value, corrects the read data of the specified error position, and outputs error correction data And receiving the same mirror data as the data and comparing the two data, a circuit for identifying an error location, a circuit for correcting the syndrome value of the identified error location, and correcting the corrected data And an error correction circuit.
(付記10)前記シンドローム値を補正する回路は、前記ミラーデータのシンドローム値を補正することを特徴とする付記9のエラー訂正回路。
(Supplementary note 10) The error correction circuit according to
(付記11)前記誤り訂正回路は、前記両データの比較により、前記ミラーデータのみの誤り箇所を特定する誤り特定回路を有することを特徴とする付記9のエラー訂正回路。
(Additional remark 11) The said error correction circuit has an error specific circuit which specifies the error location of only the said mirror data by the comparison of both said data, The error correction circuit of
(付記12)前記誤り訂正回路は、前記データのシンドローム値を計算する回路と、前記シンドローム値から誤り位置を特定する解読回路と、前記特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力するデータ修正回路とを有することを特徴とする付記9のエラー訂正回路。
(Supplementary Note 12) The error correction circuit includes: a circuit that calculates a syndrome value of the data; a decoding circuit that specifies an error position from the syndrome value; The error correction circuit according to
(付記13)前記データは、検査ブロックと情報ブロックとで構成されたリード・ソロモン符号化されたデータであることを特徴とする付記9のエラー訂正回路。
(Supplementary note 13) The error correction circuit according to
(付記14)前記誤り訂正回路は、前記データを保持する読み出しバッファと、前記バッファのデータと前記ミラーデータを比較する比較回路と、前記比較回路の出力から、前記ミラーデータのみの誤り箇所を特定する誤り特定回路とを有することを特徴とする付記11のエラー訂正回路。 (Supplementary Note 14) The error correction circuit specifies an error location of only the mirror data from a read buffer that holds the data, a comparison circuit that compares the buffer data with the mirror data, and an output of the comparison circuit And the error correction circuit.
(付記15)前記シンドローム値を計算する回路の出力側を、前記シンドローム値を補正する回路と、前記誤り訂正部とのいずれかに接続する第1のスイッチと、前記誤り訂正部の出力側を、前記データ補正回路に選択的に接続する第2のスイッチとを更に有することを特徴とする付記9のエラー訂正回路。
(Supplementary note 15) The output side of the circuit for calculating the syndrome value is connected to one of the circuit for correcting the syndrome value and the error correction unit, and the output side of the error correction unit The error correction circuit according to
(付記16)入力されたデータの前記誤り訂正部の誤り訂正成功を受け、前記誤り訂正部の誤り訂正データを取り込む制御回路を更に有することを特徴とする付記9のエラー訂正回路。
(Supplementary note 16) The error correction circuit according to
(付記17)前記制御回路は、前記ミラーデータの前記誤り訂正部の誤り訂正成功を受け、前記誤り訂正部の誤り訂正データを取り込むことを特徴とする付記16のエラー訂正回路。 (Supplementary note 17) The error correction circuit according to supplementary note 16, wherein the control circuit receives error correction success of the error correction unit of the mirror data and takes in the error correction data of the error correction unit.
本データを読み出し、エラー訂正不可なら、ミラーデータを読み出し、共に、訂正を失敗した時に、本データとミラーデータとの読出しデータを比較して、誤り箇所を特定する。特定した中から、順次誤り位置と大きさの情報を取り出してシンドローム値を補正して、誤り訂正を行う。更に、ECCで、正常に訂正できた場合に、特定の誤り位置と大きさで、更にデータを補正するため、見掛け上誤り訂正能力が向上する。 If this data is read and error correction is impossible, the mirror data is read. When both corrections fail, the read data of this data and the mirror data are compared to identify the error location. From the specified information, error position and size information is sequentially taken out, the syndrome value is corrected, and error correction is performed. Further, when data can be corrected normally by ECC, the data is further corrected at a specific error position and size, so that the error correction capability is apparently improved.
10 磁気ディスク(記憶媒体)
11A 本データ
11B ミラーデータ
12 ヘッド
20 復調回路
22 読み出しバッファ
30 シンドローム演算部
32 第1のスイッチ
34 誤り位置解読部
36 誤りの大きさ解読部
38 データ修正部
40 データ補正部
42 解読エラー判定回路
46 比較回路
48 エラー特定回路
50 シンドローム補正回路
60 制御回路
70 ECC復号器
10 Magnetic disk (storage medium)
Claims (5)
前記ヘッドの読み取り信号を復調する復調回路と、
前記復調回路からの読み出しデータのシンドローム値を計算し、前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正回路と、
前記ヘッドの読み出し動作を制御する制御回路とを有し、
前記誤り訂正回路は、
前記シンドローム値を補正する回路と、
前記訂正したデータを補正する回路とを有し、
前記制御回路は、第1の個所のデータを読み出し、前記第1の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、第2の個所の同一データを読み出し、前記誤り訂正回路で、前記第2の個所の読み出しデータの誤り訂正を行うとともに、前記第2の個所の読み出しデータの前記誤り訂正回路からの誤り訂正の失敗を受け、前記誤り訂正回路に、補正指示し、
前記誤り訂正回路は、前記補正指示に応じて、前記第1の個所と第2の個所の読み出しデータの比較により、誤り箇所を特定し、特定した誤り位置と大きさの情報により、前記シンドローム値を補正して、誤り訂正を行い、前記誤り位置と大きさで、前記誤り訂正されたデータを補正する
ことを特徴する記憶装置。 A head for reading data of a storage medium in which the same data is recorded in a plurality of places;
A demodulation circuit for demodulating the read signal of the head;
Calculating a syndrome value of read data from the demodulation circuit, specifying an error position from the syndrome value, correcting the read data at the specified error position, and outputting error correction data; and
A control circuit for controlling the read operation of the head,
The error correction circuit is
A circuit for correcting the syndrome value;
A circuit for correcting the corrected data,
The control circuit reads data at a first location, receives an error correction failure from the error correction circuit for the read data at the first location, reads the same data at a second location, and the error correction circuit The error correction of the read data of the second location is performed, and the error correction failure of the read data of the second location from the error correction circuit is received, and the error correction circuit is instructed to correct,
In accordance with the correction instruction, the error correction circuit specifies an error location by comparing read data of the first location and the second location, and uses the syndrome value based on the specified error position and size information. And correcting the error, and correcting the error-corrected data with the error position and size.
前記第2の個所の読み出しデータのシンドローム値を補正する
ことを特徴とする請求項1の記憶装置。 The circuit for correcting the syndrome value is:
The storage device according to claim 1, wherein a syndrome value of the read data at the second location is corrected.
前記第1の個所と第2の個所の読み出しデータの比較により、前記第2の個所のデータのみの誤り箇所を特定する誤り特定回路を有する
ことを特徴とする請求項1の記憶装置。 The error correction circuit is
2. The storage device according to claim 1, further comprising an error specifying circuit that specifies an error location of only the data at the second location by comparing the read data at the first location and the second location.
前記シンドローム値から誤り位置を特定し、特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力する誤り訂正部と、
前記データと同一のミラーデータを受け、前記両データの比較により、誤り箇所を特定する回路と、
前記特定された誤り箇所の前記シンドローム値を補正する回路と、
前記訂正したデータを補正する回路とを有する
ことを特徴するエラー訂正回路。 A syndrome calculator for calculating the syndrome value of the input data;
An error correction unit that specifies an error position from the syndrome value, corrects read data of the specified error position, and outputs error correction data;
A circuit that receives the same mirror data as the data and identifies an error location by comparing the two data;
A circuit for correcting the syndrome value of the identified error location;
An error correction circuit comprising: a circuit for correcting the corrected data.
前記データのシンドローム値を計算する回路と、
前記シンドローム値から誤り位置を特定する解読回路と、
前記特定した誤り位置の読み出しデータを訂正して、誤り訂正データを出力するデータ修正回路とを有する
ことを特徴とする請求項4のエラー訂正回路。 The error correction circuit is
A circuit for calculating a syndrome value of the data;
A decoding circuit for identifying an error position from the syndrome value;
The error correction circuit according to claim 4, further comprising: a data correction circuit that corrects read data at the specified error position and outputs error correction data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008328178A JP2010152960A (en) | 2008-12-24 | 2008-12-24 | Error correction circuit and storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008328178A JP2010152960A (en) | 2008-12-24 | 2008-12-24 | Error correction circuit and storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010152960A true JP2010152960A (en) | 2010-07-08 |
Family
ID=42571886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008328178A Pending JP2010152960A (en) | 2008-12-24 | 2008-12-24 | Error correction circuit and storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010152960A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101569637B1 (en) | 2014-12-08 | 2015-11-17 | 인하대학교 산학협력단 | Method and Apparatus for Non-Iterative Soft-Decision BCH Decoding using Test Syndrome |
| JP2017045489A (en) * | 2015-08-24 | 2017-03-02 | 株式会社東芝 | Magnetic recording / reproducing device |
| US11194658B2 (en) | 2020-03-17 | 2021-12-07 | Kioxia Corporation | Semiconductor device and semiconductor storage device |
| CN114595090A (en) * | 2020-12-03 | 2022-06-07 | 华为技术有限公司 | Error correction method and device |
-
2008
- 2008-12-24 JP JP2008328178A patent/JP2010152960A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101569637B1 (en) | 2014-12-08 | 2015-11-17 | 인하대학교 산학협력단 | Method and Apparatus for Non-Iterative Soft-Decision BCH Decoding using Test Syndrome |
| JP2017045489A (en) * | 2015-08-24 | 2017-03-02 | 株式会社東芝 | Magnetic recording / reproducing device |
| US11194658B2 (en) | 2020-03-17 | 2021-12-07 | Kioxia Corporation | Semiconductor device and semiconductor storage device |
| CN114595090A (en) * | 2020-12-03 | 2022-06-07 | 华为技术有限公司 | Error correction method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8055977B2 (en) | Decoding device, encoding/decoding device and recording/reproducing device | |
| JP5007676B2 (en) | Encoding device, decoding device, encoding / decoding device, and recording / reproducing device | |
| JP5127189B2 (en) | Error detection and correction method based on error detection code and apparatus suitable therefor | |
| US8230309B2 (en) | Maximum likelihood detector, error correction circuit and medium storage device | |
| KR100848614B1 (en) | Error correction apparatus | |
| JP2000057709A (en) | Magnetic disk error correction method and apparatus | |
| CN101174839A (en) | Encoding device, decoding device, encoding/decoding device, and recording/reproducing device | |
| JP2007087529A (en) | Signal decoding device, signal decoding method and storage system | |
| US10298272B2 (en) | Post-decoding error check with diagnostics for product codes | |
| JP2010009719A (en) | Decoder and recording/reproducing system | |
| US6823487B1 (en) | Method and apparatus for enhancing correction power of reverse order error correction codes | |
| JP5080817B2 (en) | Post viterbi error correction method and post viterbi processor | |
| JP2010152960A (en) | Error correction circuit and storage device | |
| JP4088133B2 (en) | Read channel decoder, read channel decoding method and read channel decoding program | |
| JP4294407B2 (en) | Signal processing method and signal processing circuit | |
| JP3537722B2 (en) | Recording / playback device | |
| JP3551879B2 (en) | Error correction apparatus and method | |
| KR19990039252A (en) | Eraser correction method and apparatus |