JP5090010B2 - Encoder - Google Patents

Encoder Download PDF

Info

Publication number
JP5090010B2
JP5090010B2 JP2007029075A JP2007029075A JP5090010B2 JP 5090010 B2 JP5090010 B2 JP 5090010B2 JP 2007029075 A JP2007029075 A JP 2007029075A JP 2007029075 A JP2007029075 A JP 2007029075A JP 5090010 B2 JP5090010 B2 JP 5090010B2
Authority
JP
Japan
Prior art keywords
unit
sequence
encoded sequence
encoding
encoded
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.)
Active
Application number
JP2007029075A
Other languages
Japanese (ja)
Other versions
JP2008198239A (en
Inventor
淳 江角
凱 李
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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2007029075A priority Critical patent/JP5090010B2/en
Publication of JP2008198239A publication Critical patent/JP2008198239A/en
Application granted granted Critical
Publication of JP5090010B2 publication Critical patent/JP5090010B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、誤り訂正符号化/復号技術に関し、特に、記憶媒体に記憶されるデータに対して誤り訂正符号化/復号する符号化装置、復号装置、記録情報読取装置に関する。   The present invention relates to an error correction encoding / decoding technique, and more particularly to an encoding device, a decoding device, and a recorded information reading device that perform error correction encoding / decoding on data stored in a storage medium.

近年、ハードディスクを用いた記憶装置は、パーソナルコンピュータ、ハードディスクレコーダー、ビデオカメラ、携帯電話など、さまざまな分野において必須の装置となりつつある。ハードディスクを用いた記憶装置は、適用される分野によって求められる仕様もさまざまである。たとえば、パーソナルコンピュータに搭載するハードディスクには、高速性、大容量性が求められる。高速性、大容量性を向上するためには、訂正能力の高い誤り訂正符号化をする必要がある。しかしながら、高速化が進むほど単位時間あたりに扱うデータの量が増えるため、単位時間あたりの誤りも比例して増大する。そうすると、誤り訂正能力が低い誤り訂正方式を用いる場合、ハードディスクに対する再読込みが発生するため、ハードディスクへのアクセスに要する時間が増大し、高速化のボトルネックとなる。   In recent years, storage devices using hard disks are becoming essential devices in various fields such as personal computers, hard disk recorders, video cameras, and mobile phones. Storage devices using a hard disk have various specifications required depending on the field to which they are applied. For example, a hard disk mounted on a personal computer is required to have high speed and large capacity. In order to improve high speed and large capacity, it is necessary to perform error correction coding with high correction capability. However, since the amount of data handled per unit time increases as the speed increases, errors per unit time also increase proportionally. Then, when an error correction method with low error correction capability is used, the hard disk is re-read, so that the time required to access the hard disk increases and becomes a bottleneck for speeding up.

一般的に、誤り訂正符号化の対象となる信号系列として、直流成分が低減もしくは除去された(以下、「DCフリー」、もしくは、「DCフリー性」と表記する)信号系列が望まれている。DCフリーとは、周波数が0、すなわち直流成分におけるスペクトルが0であることを意味する。いいかえると、変調前の信号系列に含まれる複数のビットにおいて、0と1の比率が等しいことなどを意味する。DCフリー性を信号系列に備えるさせることによって、記憶媒体に記憶された変調データの記録パターンから得られる再生信号の平均レベルが、変調前の信号系列のパターンによらずに、所定の信号系列長の範囲内で常に一定となる性質をもち、ノイズ耐性が向上する。すなわち、DCフリー性の低い信号系列においては、ビタビアルゴリズムを用いたデータ検出において、検出確率が低下することとなる。これにより、低密度パリティチェック復号やリードソロモン復号における訂正能力も低減されることとなる。また、一般的に、サンプリングタイミングとデータとの同期を確保するために、ランレングス制限符号が用いられている。ランレングス制限符号とは、0の最大連続長や1の最大連続長を制限する符号化である。   In general, a signal sequence in which a DC component is reduced or removed (hereinafter referred to as “DC-free” or “DC-free”) is desired as a signal sequence to be subjected to error correction coding. . DC free means that the frequency is 0, that is, the spectrum in the DC component is 0. In other words, it means that the ratio of 0 and 1 is equal in a plurality of bits included in the signal sequence before modulation. By providing the signal sequence with the DC-free property, the average level of the reproduction signal obtained from the recording pattern of the modulation data stored in the storage medium is a predetermined signal sequence length regardless of the pattern of the signal sequence before modulation. The noise resistance is improved by having a constant property within the range of. That is, in a signal sequence having a low DC-free property, the detection probability decreases in data detection using the Viterbi algorithm. As a result, the correction capability in low density parity check decoding and Reed-Solomon decoding is also reduced. In general, a run-length limit code is used to ensure synchronization between sampling timing and data. The run length limited code is a coding that limits the maximum continuous length of 0 or the maximum continuous length of 1.

従来、信号系列のDCフリー性を満たしつつ、ランレングス制限符号化する方法として、それぞれ異なる冗長ビットが付加された信号系列に対し、ランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特許文献1参照。)。また、複数の異なる性質を有するランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特許文献2参照。)。
特開2002−100125号公報 特開2004−213863号公報
Conventionally, as a method for performing run-length limited encoding while satisfying DC-freeness of a signal sequence, a plurality of encoded sequences are obtained by executing run-length limited encoding on signal sequences to which different redundant bits are added. Among them, a method for selecting a sequence having characteristics close to DC-free has been proposed (see, for example, Patent Document 1). In addition, a method has been proposed in which run-length limited encoding having a plurality of different properties is performed, and a sequence having characteristics close to DC-free is selected from the plurality of encoded sequences (for example, Patent Document 2). reference.).
JP 2002-100125 A JP 2004-213863 A

本発明者はこうした状況下、以下の課題を認識するに至った。複数の符号化系列の中からDCフリー特性の良い系列を選択することによってDCフリー符号化を実現する場合、選択の対象となる複数の符号化系列においてDCフリー特性の良い符号化系列が存在しない場合がある。すなわち、選択の対象となる符号化系列のうち、少なくとも1つ以上のDCフリー特性の良い系列を生成できる構成が必要となり、回路規模、記憶容量に影響を及ぼすといった課題である。   Under such circumstances, the present inventor has come to recognize the following problems. When realizing DC-free coding by selecting a sequence having good DC-free characteristics from among a plurality of coded sequences, there is no coded sequence having good DC-free characteristics among the plurality of coded sequences to be selected. There is a case. That is, it is necessary to have a configuration capable of generating at least one sequence having good DC-free characteristics among the encoded sequences to be selected, which affects the circuit scale and the storage capacity.

本発明はこうした状況に鑑みてなされたものであり、その総括的な目的は、より少ない回路規模で、ランレングス制限を満たしつつ、DCフリー特性を向上できる符号化装置、復号装置、信号処理装置、符号化方法、および記憶システムを提供することにある。   The present invention has been made in view of such a situation, and a general purpose thereof is an encoding device, a decoding device, and a signal processing device capable of improving DC-free characteristics while satisfying a run length restriction with a smaller circuit scale. An encoding method and a storage system are provided.

上記課題を解決するために、本発明のある態様の符号化装置は、第1ランレングス制限符号化部と、信号処理部と、第2ランレングス制限符号化部と、直流成分除去符号化部と、を備える。第1ランレングス制限符号化部は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する。信号処理部は、デジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に対し、所定の信号処理を実行する。第2ランレングス制限符号化部は、信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する。直流成分除去符号化部は、第1ランレングス制限符号化部によって生成された第1符号化系列と、第2ランレングス制限符号化部によって生成された第2符号化系列とのうち、いずれか一方を選択して出力する。   In order to solve the above problems, an encoding device according to an aspect of the present invention includes a first run-length limited encoding unit, a signal processing unit, a second run-length limited encoding unit, and a DC component removal encoding unit. And comprising. The first run length limited encoding unit generates a first encoded sequence by subjecting the digital signal sequence to run length limited encoding. The signal processing unit performs predetermined signal processing on the digital signal sequence without changing the number of bits included in the digital signal sequence. The second run-length limited encoding unit generates a second encoded sequence by performing run-length limited encoding on the digital signal sequence that has been subjected to predetermined signal processing by the signal processing unit. The direct current component removal coding unit is one of the first coded sequence generated by the first run length limited coding unit and the second coded sequence generated by the second run length limited coding unit. Select one to output.

ここで、「直流成分除去符号化部」とは、入力された系列の直流成分を除去するもしくは低減する回路などを含み、また、DCフリー性の高い系列を出力する回路などを含む。また、「第1ランレングス制限符号化部」と「第2ランレングス制限符号化部」とは、同一の性質を有するランレングス制限符号化回路であってもよい。また、同一の性質を有するランレングス制限符号化回路である場合、「第1ランレングス制限符号化部」と「第2ランレングス制限符号化部」は、1つのランレングス制限符号化回路を時分割で実行することにより実現されてもよい。   Here, the “DC component removal coding unit” includes a circuit that removes or reduces a DC component of an input sequence, and a circuit that outputs a sequence having a high DC-free property. Further, the “first run length limited encoding unit” and the “second run length limited encoding unit” may be run length limited encoding circuits having the same properties. Further, in the case of run-length limited encoding circuits having the same properties, the “first run-length limited encoding unit” and the “second run-length limited encoding unit” are each provided with one run-length limited encoding circuit. You may implement | achieve by performing by division | segmentation.

この態様によると、異なる2つの系列に対して、ランレングス制限符号化を実行するので、全く異なる2つの符号化系列を得ることができる。ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加しないように所定の信号処理を実行することによって、全体の符号化率を低下させずに符号化系列が得られる。2つの符号化系列は全く異なるため、DCフリー性の高い符号化系列を選択するにあたり、より好ましい選択肢となる。より好ましい選択肢の中からDCフリー性の高い符号化系列を選択することによって、よりDCフリー性の高い符号化系列を選択できる可能性が向上できる。また、同一のランレングス制限符号化回路を用いることによって、回路構成を単純化でき、また、低規模にできる。   According to this aspect, since run-length limited encoding is performed on two different sequences, two completely different encoded sequences can be obtained. By executing predetermined signal processing so as not to increase the number of bits included in a sequence to be subjected to run-length limited encoding, an encoded sequence can be obtained without reducing the overall coding rate. Since the two encoded sequences are completely different, it is a more preferable option in selecting an encoded sequence having a high DC-free property. By selecting an encoded sequence having a high DC-free property from more preferable options, the possibility of selecting an encoded sequence having a higher DC-free property can be improved. Further, by using the same run length limited encoding circuit, the circuit configuration can be simplified and the scale can be reduced.

信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行してもよい。また、信号処理部は、デジタル信号系列に含まれる複数のビットの順序を並び替えてもよい。また、信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理をした後に、ビットの順序を並び替え処理を実行してもよい。この態様によると、ビット反転処理、および/または、ビットの順序を並び替えることによって、ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、異なる系列を生成するために実行する所定の処理をビット反転処理、および/または、ビットの順序を並び替える処理とすることによって、単純な回路構成で所定の処理を実現できる。   The signal processing unit may perform bit inversion processing on each of a plurality of bits included in the digital signal sequence. The signal processing unit may rearrange the order of a plurality of bits included in the digital signal sequence. Further, the signal processing unit may perform a bit order rearrangement process after performing a bit inversion process on each of a plurality of bits included in the digital signal sequence. According to this aspect, different sequences can be generated without increasing the number of bits included in a sequence to be run-length limited encoding by rearranging the bit inversion process and / or the bit order. Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, the predetermined process executed to generate the different series is a bit inversion process and / or a process of rearranging the order of the bits, whereby the predetermined process can be realized with a simple circuit configuration.

直流成分除去符号化部は、第1符号化系列と第2符号化系列のうち、いずれか一方の符号化系列を選択する符号化系列選択部と、符号化系列選択部によって選択された符号化系列を示す選択識別情報を生成する選択識別情報生成部と、符号化系列選択部によって選択された符号化系列のいずれかの個所に、選択識別情報生成部によって生成された選択識別情報を付加する識別情報付加部と、を有してもよい。また、符号化系列選択部は、当該符号化系列選択部によってすでに選択された符号化系列と前記第1符号化系列とを連結させる第1連結部と、当該符号化系列選択部によってすでに選択された符号化系列と前記第2符号化系列とを連結させる第2連結部と、を有してもよい。符号化系列選択部は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の符号化系列を選択してもよい。第1ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する第1付加部と、第2ランレングス制限符号化部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する第2付加部と、をさらに備えてもよい。   The direct current component removal encoding unit includes an encoded sequence selection unit that selects one of the first encoded sequence and the second encoded sequence, and an encoding selected by the encoded sequence selection unit. The selection identification information generated by the selection identification information generation unit is added to any part of the selection identification information generation unit that generates selection identification information indicating a sequence and the encoded sequence selected by the encoding sequence selection unit. And an identification information adding unit. Further, the encoded sequence selection unit is already selected by the encoded sequence selection unit and a first connection unit that connects the encoded sequence already selected by the encoded sequence selection unit and the first encoded sequence. A second connecting unit that connects the encoded sequence and the second encoded sequence. The encoded sequence selection unit sets the sequence concatenated by the first concatenation unit as a new first encoded sequence, sets the sequence concatenated by the second concatenation unit as a new second encoded sequence, and selects one of the codes A conversion sequence may be selected. A first addition unit for adding a first determination bit to any part of the first encoded sequence output from the first run-length limited encoding unit, and a second output from the second run-length limited encoding unit A second adding unit that adds a second determination bit obtained by inverting the first determination bit to any part of the encoded sequence may be further provided.

ここで、「付加」とは、加算、乗算、挿入などを含む。また、「すでに選択された符号化系列と前記第1符号化系列とを連結させる」とは、過去において選択された符号化系列と、現在選択の候補となっている系列とを連結させることなどを含む。この態様によると、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。   Here, “addition” includes addition, multiplication, insertion, and the like. In addition, “connecting an already selected encoded sequence and the first encoded sequence” means connecting an encoded sequence selected in the past and a sequence that is currently a candidate for selection, etc. including. According to this aspect, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily determined on the decoding side.

符号化系列選択部は、第1比率計算部と、第2比率計算部と、選択出力部と、を有してもよい。第1比率計算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。第2比率計算部は、第2ランレングス制限符号化部によって生成された、もしくは第2連結部によって連結された第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。選択出力部は、第1比率計算部で計算された比率と、第2比率計算部で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する。この態様によると、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。   The encoded sequence selection unit may include a first ratio calculation unit, a second ratio calculation unit, and a selection output unit. The first ratio calculation unit includes a bit indicating 0 and 1 among a plurality of bits generated by the first run length limited encoding unit or included in the first encoded sequence concatenated by the first concatenation unit The ratio with the bit indicating is calculated. The second ratio calculation unit calculates a bit indicating 0 and 1 out of a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenation unit. Calculate the ratio to the indicated bit. The selection output unit selects and outputs an encoded sequence corresponding to a ratio closer to 50% of the ratio calculated by the first ratio calculation unit and the ratio calculated by the second ratio calculation unit. . According to this aspect, an encoded sequence having a high DC-free property can be selected by selecting the one where the ratio between the bit indicating 0 and the bit indicating 1 is close to 50%.

符号化系列選択部は、第1合算部と、第2合算部と、符号化系列検出部と、選択出力部と、を有してもよい。第1合算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する。第2合算部は、第2ランレングス制限符号化部によって生成された、もしくは、第2連結部によって連結された第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する。符号化系列検出部は、第1合算部によって生成された第1合算値の絶対値と、第2合算部によって生成された第2合算値の絶対値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を検出する。選択出力部は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   The encoded sequence selection unit may include a first summation unit, a second summation unit, an encoded sequence detection unit, and a selection output unit. The first summation unit generates a first summation value by summing a plurality of bits included in the first encoded sequence generated by the first run length limited encoding unit or concatenated by the first concatenation unit. To do. The second summation unit generates a second summation value by summing a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenation unit. To do. The coded sequence detection unit compares the absolute value of the first sum value generated by the first summation unit with the absolute value of the second sum value generated by the second summation unit, and compares the absolute value of the first summation value with the first summation sequence. And an encoded sequence corresponding to the smaller sum of the second encoded sequences is detected. The selection output unit selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

ここで、「合算値」とは、系列に含まれるビットを加算することなどを含む。また、「系列に含まれる複数のビット」とは、0もしくは1を示すビットなどを含み、また、0を示すビットを+1と置換え、1を示すビットを−1と置換えた場合におけるビットなども含む。この態様によると、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   Here, the “summed value” includes adding bits included in the series. In addition, “a plurality of bits included in a sequence” includes a bit indicating 0 or 1 and the like, and a bit when a bit indicating 0 is replaced with +1 and a bit indicating 1 is replaced with −1. Including. According to this aspect, a plurality of bits included in the encoded sequence are added together, and a sequence corresponding to a smaller combined value is selected, so that an encoded sequence having a high DC-free property can be selected.

符号化系列選択部は、第1移動加算部と、第1最大値検出部と、第2移動加算部と、第2最大値検出部と、符号化系列検出部と、選択出力部と、を有してもよい。第1移動加算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第1移動加算値を生成する。第1最大値検出部は、第1移動加算部によって生成された複数の第1移動加算値のうち、最大値を検出する。第2移動加算部は、第2ランレングス制限符号化部によって生成された、もしくは、第2連結部によって連結された第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する。第2最大値検出部は、第2移動加算部によって生成された複数の第2移動加算値のうち、最大値を検出する。符号化系列検出部は、第1最大値検出部によって検出された最大値と、第2最大値検出部によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する。選択出力部は、第1符号化系列と第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   The encoded sequence selection unit includes a first mobile addition unit, a first maximum value detection unit, a second mobile addition unit, a second maximum value detection unit, an encoded sequence detection unit, and a selection output unit. You may have. The first mobile adder is configured to move and add a plurality of bits included in the first encoded sequence generated by the first run length limited encoding unit or concatenated by the first concatenation unit. The same number of first moving addition values as bits are generated. The first maximum value detection unit detects a maximum value among the plurality of first movement addition values generated by the first movement addition unit. The second moving addition unit moves and adds a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenating unit. As many second moving addition values as the number of bits are generated. The second maximum value detection unit detects a maximum value among the plurality of second movement addition values generated by the second movement addition unit. The encoded sequence detection unit compares the maximum value detected by the first maximum value detection unit with the maximum value detected by the second maximum value detection unit, and compares the first encoded sequence and the second encoded sequence. The encoded sequence corresponding to the smaller maximum value is detected. The selection output unit selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

ここで、「移動加算する」とは、移動加算し、さらに、絶対値を計算することなどを含む。この態様によると、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   Here, “moving and adding” includes moving and adding, and calculating an absolute value. According to this aspect, by selecting a sequence using the maximum value among the results of moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected.

本発明の別の態様は、復号装置である。この装置は、入力部と、判定ビット取得部と、ランレングス制限復号部と、信号処理部と、を備える。入力部は、所定の判定ビットが付加された符号化系列を入力する。判定ビット取得部は、入力部によって入力された符号化系列に付加されている所定の判定ビットを取得する。ランレングス制限復号部は、入力部によって入力された符号化系列をランレングス制限復号することによってデジタル信号系列を生成する。信号処理部は、ランレングス制限復号部によって生成されたデジタル信号系列に対し、判定ビット取得部によって取得された判定ビットに応じて、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して出力する処理、もしくは、デジタル信号系列に含まれる複数のビットをそのまま出力する処理のいずれかの処理を実行する。また、信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して出力する処理に代えて、デジタル信号系列に含まれる複数のビットの順序を入れ替える処理を実行してもよい。この態様によると、符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。   Another aspect of the present invention is a decoding device. The apparatus includes an input unit, a determination bit acquisition unit, a run length limited decoding unit, and a signal processing unit. The input unit inputs an encoded sequence to which a predetermined determination bit is added. The determination bit acquisition unit acquires a predetermined determination bit added to the encoded sequence input by the input unit. The run length limited decoding unit generates a digital signal sequence by performing run length limited decoding on the encoded sequence input by the input unit. The signal processing unit performs bit inversion on each of a plurality of bits included in the digital signal sequence in accordance with the determination bit acquired by the determination bit acquisition unit with respect to the digital signal sequence generated by the run length limited decoding unit. Either the process of outputting or the process of outputting a plurality of bits included in the digital signal series as they are is executed. Further, the signal processing unit may execute a process of changing the order of the plurality of bits included in the digital signal sequence, instead of the process of performing bit inversion on each of the plurality of bits included in the digital signal sequence. . According to this aspect, the original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side.

本発明のさらに別の態様は、信号処理装置である。この装置は、符号化部と復号部とを備える信号処理装置である。符号化部は、第1ランレングス制限符号化部と、第1信号処理部と、第2ランレングス制限符号化部と、第1付加部と、第2付加部と、直流成分除去符号化部と、を有する。第1ランレングス制限符号化部は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する。第1信号処理部は、デジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に含まれる複数のビットのそれぞれに対して、ビット反転処理を実行する。第2ランレングス制限符号化部は、信号処理部によってビット反転処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する。第1付加部は、第1ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する。第2付加部は、第2ランレングス制限符号化部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する。直流成分除去符号化部は、第1付加部によって第1判定ビットが付加された第1符号化系列と、第2付加部によって第2判定ビットが付加された第2符号化系列とのうち、いずれか一方を選択して出力する。復号部は、入力部と、判定ビット取得部と、ランレングス制限復号部と、第2信号処理部と、を有する。入力部は、第1判定ビットもしくは第2判定ビットのいずれかが付加された符号化系列を入力する。判定ビット取得部は、入力部によって入力された符号化系列に付加された第1判定ビットもしくは第2判定ビットのいずれかの判定ビットを取得する。ランレングス制限復号部は、入力部によって入力された符号化系列をランレングス制限復号することによって復号信号系列を生成する。第2信号処理部は、判定ビット取得部によって取得された判定ビットが第1判定ビットである場合、ランレングス制限復号部によって生成されたデジタル信号系列をそのまま出力する。また、第2信号処理部は、判定ビット取得部によって取得された判定ビットが第2判定ビットである場合、ランレングス制限復号部によって生成された復号信号系列に含まれる複数のビットに対し、ビット反転処理を実行することによって生成された信号系列を出力する。   Yet another embodiment of the present invention is a signal processing device. This apparatus is a signal processing apparatus including an encoding unit and a decoding unit. The encoding unit includes a first run length limited encoding unit, a first signal processing unit, a second run length limited encoding unit, a first addition unit, a second addition unit, and a DC component removal encoding unit. And having. The first run length limited encoding unit generates a first encoded sequence by subjecting the digital signal sequence to run length limited encoding. The first signal processing unit performs bit inversion processing on each of the plurality of bits included in the digital signal sequence without changing the number of the plurality of bits included in the digital signal sequence. The second run-length limited encoding unit generates a second encoded sequence by performing run-length limited encoding on the digital signal sequence that has been subjected to bit inversion processing by the signal processing unit. The first addition unit adds a first determination bit to any part of the first encoded sequence output from the first run length limited encoding unit. The second adding unit adds a second determination bit obtained by inverting the first determination bit to any location of the second encoded sequence output from the second run length limited encoding unit. The direct current component removal encoding unit includes a first encoded sequence to which the first determination bit is added by the first addition unit and a second encoded sequence to which the second determination bit is added by the second addition unit, Either one is selected and output. The decoding unit includes an input unit, a determination bit acquisition unit, a run length limited decoding unit, and a second signal processing unit. The input unit inputs an encoded sequence to which either the first determination bit or the second determination bit is added. The determination bit acquisition unit acquires a determination bit of either the first determination bit or the second determination bit added to the encoded sequence input by the input unit. The run-length limited decoding unit generates a decoded signal sequence by performing run-length limited decoding on the encoded sequence input by the input unit. When the determination bit acquired by the determination bit acquisition unit is the first determination bit, the second signal processing unit outputs the digital signal sequence generated by the run length limited decoding unit as it is. In addition, when the determination bit acquired by the determination bit acquisition unit is the second determination bit, the second signal processing unit performs bit processing on a plurality of bits included in the decoded signal sequence generated by the run-length limited decoding unit. A signal sequence generated by executing the inversion process is output.

この態様によると、異なる2つの系列に対して、ランレングス制限符号化を実行するので、全く異なる2つの符号化系列を得ることができる。ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加しないように所定の信号処理を実行することによって、全体の符号化率を低下させずに符号化系列が得られる。2つの符号化系列は全く異なるため、DCフリー性の高い符号化系列を選択するにあたり、より好ましい選択肢となる。より好ましい選択肢の中からDCフリー性の高い符号化系列を選択することによって、よりDCフリー性の高い符号化系列を選択できる可能性が向上できる。また、復号側において、符号化側で実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。   According to this aspect, since run-length limited encoding is performed on two different sequences, two completely different encoded sequences can be obtained. By executing predetermined signal processing so as not to increase the number of bits included in a sequence to be subjected to run-length limited encoding, an encoded sequence can be obtained without reducing the overall coding rate. Since the two encoded sequences are completely different, it is a more preferable option in selecting an encoded sequence having a high DC-free property. By selecting an encoded sequence having a high DC-free property from more preferable options, the possibility of selecting an encoded sequence having a higher DC-free property can be improved. In addition, on the decoding side, the original digital signal sequence can be decoded by executing processing corresponding to the DC-free encoding executed on the encoding side.

本発明のさらに別の態様は、記憶システムである。この記憶システムは、データを記憶装置に書き込むライトチャネルと、記憶装置に記憶されているデータを読み出すリードチャネルとを備える信号記憶システムである。ライトチャネルは、データをランレングス符号化する第1の符号化部と、第1の符号化部で符号化されたデータに対し、低密度パリティ検査符号を用いて符号化する第2の符号化部と、第2の符号化部で符号化されたデータを記憶装置に書き込む書き込み部と、を備える。リードチャネルは、記憶装置から出力されたアナログ信号を入力する入力部と、入力部から入力されたアナログ信号をデジタル信号に変換して出力するアナログデジタル変換部と、アナログデジタル変換部から出力されたデジタル信号の尤度を計算して軟判定値を出力するソフト出力検出部と、ソフト出力検出部から出力されたデータを復号する、第2の符号化部に対応した、第1の復号部と、第1の復号部で復号されたデータを復号する、第1の符号化部に対応した、第2の復号部と、を備える。第1の符号化部は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する第1ランレングス制限符号化部と、デジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に対し、所定の信号処理を実行する信号処理部と、信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する第2ランレングス制限符号化部と、第1ランレングス制限符号化部によって生成された第1符号化系列と、第2ランレングス制限符号化部によって生成された第2符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、を有する。第2の復号部は、第1の復号部によって復号されたデータをランレングス制限復号することによってデジタル信号系列を生成するランレングス制限復号部と、ランレングス制限復号部によって生成されたデジタル信号系列に対し、直流成分除去符号化部における選択に応じて、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して出力する処理、もしくは、デジタル信号系列に含まれる複数のビットをそのまま出力する処理のいずれかの処理を実行する信号処理部と、を有する。この態様によると、DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。   Yet another embodiment of the present invention is a storage system. This storage system is a signal storage system including a write channel for writing data to the storage device and a read channel for reading data stored in the storage device. The write channel includes a first encoding unit that performs run-length encoding of data, and a second encoding that encodes the data encoded by the first encoding unit using a low-density parity check code And a writing unit for writing the data encoded by the second encoding unit to the storage device. The read channel includes an input unit that inputs an analog signal output from the storage device, an analog-digital conversion unit that converts the analog signal input from the input unit into a digital signal, and an analog-digital conversion unit. A soft output detector that calculates the likelihood of a digital signal and outputs a soft decision value; a first decoder corresponding to a second encoder that decodes data output from the soft output detector; A second decoding unit corresponding to the first encoding unit, which decodes the data decoded by the first decoding unit. The first encoding unit includes: a first run-length limited encoding unit that generates a first encoded sequence by performing run-length limited encoding on the digital signal sequence; and a number of bits included in the digital signal sequence The signal processing unit that executes predetermined signal processing on the digital signal sequence without changing the signal, and the run-length limited encoding of the digital signal sequence that has been subjected to predetermined signal processing by the signal processing unit A second run-length limited encoding unit that generates an encoded sequence; a first encoded sequence generated by the first run-length limited encoding unit; and a second code generated by the second run-length limited encoding unit A direct-current component removal coding unit that selects and outputs one of the coded sequences. The second decoding unit includes a run-length limited decoding unit that generates a digital signal sequence by performing run-length limited decoding on the data decoded by the first decoding unit, and a digital signal sequence generated by the run-length limited decoding unit On the other hand, according to the selection in the DC component removal coding unit, the process of outputting each bit of the plurality of bits included in the digital signal sequence by bit inversion, or outputting the plurality of bits included in the digital signal sequence as they are A signal processing unit that executes any one of the processes. According to this aspect, the storage system can be accessed at higher speed by executing the encoding process with high DC-free property.

本発明のさらに別の態様もまた、記憶システムである。この記憶システムは、さらに、データを記憶する記憶装置と、記憶装置への書き込みと、記憶装置からの読み出しとを制御する制御部と、を有する。リードチャネルは、制御部の指示に従って、記憶装置に記憶されているデータを読み出し、ライトチャネルは、制御部の指示に従って、符号化されたデータを記憶装置に書き込む。この態様によると、DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。   Yet another embodiment of the present invention is also a storage system. The storage system further includes a storage device that stores data, and a control unit that controls writing to the storage device and reading from the storage device. The read channel reads data stored in the storage device in accordance with an instruction from the control unit, and the write channel writes encoded data in the storage device in accordance with an instruction from the control unit. According to this aspect, the storage system can be accessed at higher speed by executing the encoding process with high DC-free property.

本発明のさらに別の態様は、符号化装置である。この装置は、符号化装置おいて、当該装置は、1つの半導体基板上に一体集積化されてもよい。この態様によると、DCフリー性の高い符号化処理が効率良く実行でき、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Yet another embodiment of the present invention is an encoding device. This device may be an integrated device, and the device may be integrated on a single semiconductor substrate. According to this aspect, encoding processing with high DC-free characteristics can be executed efficiently, and it is not necessary to install extra hardware, so that a low-scale semiconductor integrated circuit can be realized.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明によれば、より少ない回路規模で、ランレングス制限を満たしつつ、DCフリー特性を向上できる。   According to the present invention, the DC-free characteristic can be improved with a smaller circuit scale while satisfying the run length limitation.

(第1実施形態)
第1実施形態を具体的に説明する前に、まず本第1実施形態にかかる記憶システム100について概要を述べる。本第1実施形態にかかる記憶システム100は、ハードディスクコントローラと、磁気ディスク装置と、リードチャネルとライトチャネルを含むリードライトチャネルと、を有する。ライトチャネルにおいては、符号化として、ランレングス制限符号化と、DCフリー符号化と、LDPC符号化とを実行する。また、リードチャネルにおいては、ビタビアルゴリズムなどを用いたデータ検出と、LDPC復号を行なう。このデータ検出は、DC成分が存在することによって検出精度が劣化することが知られている。さらに、検出精度が劣化することによりLDPC復号の訂正能力が低減する。したがって、本発明の第1実施形態においては、LDPC符号化を行なう前の段階において、DC成分を低減させるDCフリー符号化を行なう構成とした。なお、本第1実施形態にかかる記憶システム100は、LDPC符号化に限定されず、他の誤り訂正符号化方式、たとえば、ターボ符号化や畳込み符号化が実行される構成であってもよい。
(First embodiment)
Before specifically describing the first embodiment, first, an outline of the storage system 100 according to the first embodiment will be described. The storage system 100 according to the first embodiment includes a hard disk controller, a magnetic disk device, and a read / write channel including a read channel and a write channel. In the light channel, run-length limited coding, DC-free coding, and LDPC coding are executed as coding. In the read channel, data detection using a Viterbi algorithm or the like and LDPC decoding are performed. In this data detection, it is known that detection accuracy deteriorates due to the presence of a DC component. Furthermore, the correction capability of LDPC decoding decreases due to the deterioration of detection accuracy. Therefore, in the first embodiment of the present invention, the configuration is such that DC-free encoding for reducing the DC component is performed before the LDPC encoding. Note that the storage system 100 according to the first embodiment is not limited to LDPC encoding, and may be configured to execute other error correction encoding schemes, for example, turbo encoding or convolutional encoding. .

DCフリー符号化は、異なる2つの系列のうち、よりDCフリー性の高い系列を選択することによって実現される。異なる2つの系列を生成するために、異なる2つの性質を有するRLL符号化を実行すると、2つ目のRLL符号化の回路が必要となる分、回路規模が増大する。また、回路規模の問題としないアプリケーションの場合であっても、異なる2つの性質を有するRLL符号化を実行した結果、双方の系列ともにDCフリー性が良いとは限らない。したがって、本発明の第1実施形態においては、同一のRLL符号化を実行することとした。   DC-free coding is realized by selecting a sequence having higher DC-free property from two different sequences. When RLL encoding having two different properties is performed in order to generate two different sequences, the circuit scale increases as the second RLL encoding circuit is required. Even in the case of an application that does not pose a problem in circuit scale, as a result of executing RLL coding having two different properties, both sequences are not always good in DC-freeness. Therefore, in the first embodiment of the present invention, the same RLL encoding is executed.

ここで、同一のRLL符号化を実行する場合、選択の対象となる系列が同一になるのを回避する必要がある。また、DCフリー特性の良い制限符号化系列が存在しない場合を避ける必要もある。そこで、本発明の第1実施形態においては、RLL符号化する前に、任意の信号系列と、任意の信号系列に所定の信号処理を実行した後の2つの系列とを対象とすることとした。これにより、生成される系列は全く異なるため、統計的にDCフリー性の良い系列が生成できる。また、この所定の信号処理を信号系列のビット数を変えずに実行することによって、符号化利得の減少を回避している。さらに、信号処理の処理内容を任意に変更することによって、さまざまな系列を生成できるので、選択の幅を広げられる。そのため、よりDCフリー特性の良い系列を生成することができることとなる。したがって、本発明の第1実施形態は、ハードディスクのような符号化率を低く設定できないようなアプリケーションにおいて好適となる。詳細は後述する。   Here, when executing the same RLL encoding, it is necessary to avoid that the sequences to be selected are the same. It is also necessary to avoid the case where there is no restricted coding sequence with good DC-free characteristics. Therefore, in the first embodiment of the present invention, an arbitrary signal sequence and two sequences after performing predetermined signal processing on an arbitrary signal sequence are targeted before RLL encoding. . Thereby, since the generated sequences are completely different, a sequence having a statistically good DC-free property can be generated. Further, by executing this predetermined signal processing without changing the number of bits of the signal sequence, a reduction in coding gain is avoided. Furthermore, since various sequences can be generated by arbitrarily changing the processing content of signal processing, the range of selection can be expanded. Therefore, it is possible to generate a sequence with better DC-free characteristics. Therefore, the first embodiment of the present invention is suitable for an application such as a hard disk where the coding rate cannot be set low. Details will be described later.

以下、図面を用いて、本発明の第1実施形態について詳細に説明する。   Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1実施形態に係る記憶システム100の構成を示す図である。図1の記憶システム100は、大きく分けて、ハードディスクコントローラ1(以下、「HDC1」と略記する。)、中央処理演算装置2(以下、「CPU2」と略記する。)、リードライトチャネル3(以下、「R/Wチャネル3」と略記する。)、ボイスコイルモータ/スピンドルモータ制御部4(以下、「VCM/SPM制御部4」と略記する。)、及びディスクエンクロージャ5(以下、「DE5」と略記する。)とから構成される。一般に、HDC1、CPU2、R/Wチャネル3、及びVCM/SPM制御部4は同一の基板上に構成される。   FIG. 1 is a diagram showing a configuration of a storage system 100 according to the first embodiment of the present invention. 1 is roughly divided into a hard disk controller 1 (hereinafter abbreviated as “HDC1”), a central processing unit 2 (hereinafter abbreviated as “CPU2”), and a read / write channel 3 (hereinafter abbreviated as “CPU2”). , Abbreviated as “R / W channel 3”), voice coil motor / spindle motor control unit 4 (hereinafter abbreviated as “VCM / SPM control unit 4”), and disk enclosure 5 (hereinafter referred to as “DE5”). Abbreviated as)). In general, the HDC 1, CPU 2, R / W channel 3, and VCM / SPM control unit 4 are configured on the same substrate.

HDC1は、HDC1全体を制御する主制御部11、データフォーマット制御部12、誤り訂正符号化制御部13(以下、「ECC制御部13」と略記する。)、及びバッファRAM14を含む。HDC1は、図示しないインタフェース部を介してホストシステムと接続される。また、R/Wチャネル3を介して、DE5と接続されており、主制御部11の制御により、ホストとDE5の間でデータ転送する。このHDC1には、R/Wチャネル3で生成されるリードリファレンスクロック(RRCK)が入力される。データフォーマット制御部12は、ホストから転送されたデータをディスク媒体50上に記録するのに適したフォーマットに変換し、逆に、ディスク媒体50から再生されたデータをホストに転送するのに適したフォーマットに変換する。ディスク媒体50は、たとえば、磁気ディスクを含む。ECC制御部13は、ディスク媒体50から再生されたデータに含まれる誤りの訂正及び検出を可能にするために、記録するデータを情報シンボルとして、冗長シンボルを付加する。またECC制御部13は、再生されたデータに誤りが生じているかを判断し、誤りがある場合には誤りを訂正し、或いは誤りを検出する。但し、誤りが訂正できるシンボル数は有限であり、冗長データの長さに関係する。即ち、多くの冗長データを付加するとフォーマット効率が悪化するため、誤り訂正可能シンボル数とはトレードオフとなる。ECCとしてリードソロモン(RS)符号を利用して誤り訂正を実行する場合、(冗長シンボル数/2)個までの誤りを訂正できる。バッファRAM14は、ホストから転送されたデータを一時的に保存し、適切なタイミングでR/Wチャネル3に転送する。逆に、R/Wチャネル3から転送されたリードデータを一時的に保存し、ECC復号処理などの終了後、適切なタイミングでホストに転送する。   The HDC 1 includes a main control unit 11 that controls the entire HDC 1, a data format control unit 12, an error correction coding control unit 13 (hereinafter abbreviated as “ECC control unit 13”), and a buffer RAM 14. The HDC 1 is connected to the host system via an interface unit (not shown). Further, it is connected to the DE 5 via the R / W channel 3, and transfers data between the host and the DE 5 under the control of the main control unit 11. A read reference clock (RRCK) generated by the R / W channel 3 is input to the HDC 1. The data format control unit 12 converts the data transferred from the host into a format suitable for recording on the disk medium 50, and conversely, suitable for transferring the data reproduced from the disk medium 50 to the host. Convert to format. The disk medium 50 includes, for example, a magnetic disk. The ECC control unit 13 adds redundant symbols using data to be recorded as information symbols in order to enable correction and detection of errors contained in data reproduced from the disk medium 50. The ECC control unit 13 determines whether or not an error has occurred in the reproduced data. If there is an error, the ECC control unit 13 corrects the error or detects the error. However, the number of symbols that can correct errors is limited, and is related to the length of redundant data. That is, if a large amount of redundant data is added, the format efficiency deteriorates, so that there is a trade-off with the number of error correctable symbols. When error correction is performed using Reed-Solomon (RS) code as ECC, up to (number of redundant symbols / 2) errors can be corrected. The buffer RAM 14 temporarily stores data transferred from the host and transfers it to the R / W channel 3 at an appropriate timing. On the contrary, the read data transferred from the R / W channel 3 is temporarily stored and transferred to the host at an appropriate timing after the ECC decoding process or the like is completed.

CPU2は、フラッシュROM21(以下、「FROM21」と略記する。)、及びRAM22を含み、HDC1、R/Wチャネル3、VCM/SPM制御部4、及びDE5と接続される。FROM21には、CPU2の動作プログラムが保存されている。   The CPU 2 includes a flash ROM 21 (hereinafter abbreviated as “FROM 21”) and a RAM 22, and is connected to the HDC 1, the R / W channel 3, the VCM / SPM control unit 4, and the DE 5. The FROM 21 stores an operation program for the CPU 2.

R/Wチャネル3は、ライトチャネル31とリードチャネル32とに大別され、HDC1との間で記録するデータ及び再生されたデータを転送する。また、R/Wチャネル3は、DE5と接続され、記録信号の送信、再生信号の受信を実行する。詳細は後述する。   The R / W channel 3 is roughly divided into a write channel 31 and a read channel 32, and transfers data to be recorded and reproduced data to and from the HDC 1. The R / W channel 3 is connected to the DE 5 and executes transmission of a recording signal and reception of a reproduction signal. Details will be described later.

VCM/SPM制御部4は、DE5中のボイスコイルモータ52(以下、「VCM52」と略記する。)とスピンドルモータ53(以下、「SPM53」と略記する。)を制御する。   The VCM / SPM control unit 4 controls a voice coil motor 52 (hereinafter abbreviated as “VCM52”) and a spindle motor 53 (hereinafter abbreviated as “SPM53”) in the DE 5.

DE5は、R/Wチャネル3と接続され、記録信号の受信、再生信号の送信を実行する。またDE5は、VCM/SPM制御部4と接続されている。DE5は、ディスク媒体50、ヘッド51、VCM52、SPM53、及びプリアンプ54等を有している。図1の記憶システム100においては、ディスク媒体50が1枚であり、且つヘッド51がディスク媒体50の一方の面側のみに配置されている場合を想定しているが、複数のディスク媒体50が積層配置された構成であってもよい。また、ヘッド51は、ディスク媒体50の各面に対応して設けられるのが一般的である。R/Wチャネル3により送信された記録信号は、DE5内のプリアンプ54を経由してヘッド51に供給され、ヘッド51によりディスク媒体50に記録される。逆に、ヘッド51によりディスク媒体50から再生された信号は、プリアンプ54を経由してR/Wチャネル3に送信される。DE5内のVCM52は、ヘッド51をディスク媒体50上の目標位置に位置決めするために、ヘッド51をディスク媒体50の半径方向に移動させる。また、SPM53は、ディスク媒体50を回転させる。   The DE 5 is connected to the R / W channel 3 and executes recording signal reception and reproduction signal transmission. The DE 5 is connected to the VCM / SPM control unit 4. The DE 5 includes a disk medium 50, a head 51, a VCM 52, an SPM 53, a preamplifier 54, and the like. In the storage system 100 of FIG. 1, it is assumed that there is one disk medium 50 and the head 51 is disposed only on one surface side of the disk medium 50. A stacked arrangement may be used. The head 51 is generally provided corresponding to each surface of the disk medium 50. The recording signal transmitted by the R / W channel 3 is supplied to the head 51 via the preamplifier 54 in the DE 5 and is recorded on the disk medium 50 by the head 51. Conversely, a signal reproduced from the disk medium 50 by the head 51 is transmitted to the R / W channel 3 via the preamplifier 54. The VCM 52 in the DE 5 moves the head 51 in the radial direction of the disk medium 50 in order to position the head 51 at a target position on the disk medium 50. The SPM 53 rotates the disk medium 50.

ここで、図2を用いて、R/Wチャネル3について説明する。図2は、図1のR/Wチャネル3の構成を示す図である。R/Wチャネル3は、大きく分けて、ライトチャネル31とリードチャネル32から構成される。   Here, the R / W channel 3 will be described with reference to FIG. FIG. 2 is a diagram showing a configuration of the R / W channel 3 of FIG. The R / W channel 3 is roughly composed of a write channel 31 and a read channel 32.

ライトチャネル31は、バイトインターフェース部301、スクランブラ302、ランレングス制限およびDCフリー符号化部303(以下、「RLL/DCフリー符号化部303」と略記する。)、低密度パリティチェック符号化部304(以下、「LDPC符号化部304」と略記する。)、書き込み補償部305(以下、「ライトプリコン部305」と略記する。)、ドライバ306を含む。   The write channel 31 includes a byte interface unit 301, a scrambler 302, a run length restriction and DC free encoding unit 303 (hereinafter abbreviated as “RLL / DC free encoding unit 303”), a low density parity check encoding unit. 304 (hereinafter abbreviated as “LDPC encoding unit 304”), a write compensation unit 305 (hereinafter abbreviated as “write pre-con unit 305”), and a driver 306.

バイトインターフェース部301では、HDC1から転送されたデータが入力データとして処理される。メディア上に書き込むデータは1セクタ単位でHDC1から入力される。このとき1セクタ分のユーザデータ(512バイト)だけでなく、HDC1によって付加されたECCバイトも同時に入力される。データバスは通常1バイト(8ビット)であり、バイトインターフェース部301により入力データとして処理される。スクランブラ302はライトデータをランダムな系列に変換する。同じ規則のデータの繰り返しは、リード時における検出性能に悪影響を与え、エラーレートを悪化させるのを防ぐためである。   In the byte interface unit 301, data transferred from the HDC 1 is processed as input data. Data to be written on the medium is input from the HDC 1 in units of one sector. At this time, not only user data (512 bytes) for one sector but also ECC bytes added by the HDC 1 are input simultaneously. The data bus is normally 1 byte (8 bits) and is processed as input data by the byte interface unit 301. The scrambler 302 converts the write data into a random series. This is because the repetition of data with the same rule adversely affects the detection performance at the time of reading and prevents the error rate from deteriorating.

RLL/DCフリー符号化部303は0の最大連続長を制限するためのものである。0の最大連続長を制限することにより、自動利得制御部317(以下、「AGC317」と略記する。)などに適したデータ系列にする。さらに、直流成分を低減し、データ検出能力の向上を図り、もって誤り訂正能力の向上を図る。詳細は後述する。   The RLL / DC free encoding unit 303 is for limiting the maximum continuous length of 0. By limiting the maximum continuous length of 0, a data series suitable for the automatic gain control unit 317 (hereinafter abbreviated as “AGC317”) or the like is obtained. Furthermore, the direct current component is reduced, the data detection capability is improved, and the error correction capability is improved. Details will be described later.

LDPC符号化部304は、データ系列をLDPC符号化して冗長ビットであるパリティビットを含む系列を生成する役割を有する。LDPC符号化は、生成行列と呼ばれるk×nの行列に、長さkのデータ系列を左から掛け合わせることで実行する。この生成行列に対応する検査行列Hに含まれる各要素は、0もしくは1であり、1の数が0の数に比べて少ないことから、低密度パリティ検査符号(Low Density Parity Check Codes)と呼ばれている。この1と0の配置を利用することによって、LDPC繰返復号部にて、効率的にエラーを訂正できる。   The LDPC encoding unit 304 has a role of generating a sequence including parity bits, which are redundant bits, by LDPC encoding the data sequence. LDPC encoding is performed by multiplying a k × n matrix called a generator matrix by a data sequence of length k from the left. Each element included in the parity check matrix H corresponding to this generator matrix is 0 or 1, and since the number of 1 is smaller than the number of 0, it is called a low density parity check code (Low Density Parity Check Codes). It is. By using this arrangement of 1 and 0, the LDPC iterative decoding unit can efficiently correct errors.

ライトプリコン部305は、メディア上の磁化遷移の連続による非線形歪を補償する回路である。ライトデータから補償に必要な規則を検出し、正しい位置で磁化遷移が生ずるようにライト電流波形を予め調整をする。ドライバ306は擬似ECLレベルに対応した信号を出力するドライバである。ドライバ306からの出力は図示しないDE5に送られ、プリアンプ54を通してヘッド51に送られ、ライトデータがディスク媒体50上に記録される。   The write pre-con unit 305 is a circuit that compensates for non-linear distortion due to continuous magnetization transitions on the medium. A rule necessary for compensation is detected from the write data, and the write current waveform is adjusted in advance so that the magnetization transition occurs at the correct position. The driver 306 is a driver that outputs a signal corresponding to the pseudo ECL level. The output from the driver 306 is sent to the DE 5 (not shown), sent to the head 51 through the preamplifier 54, and the write data is recorded on the disk medium 50.

リードチャネル32は、可変利得増幅器311(以下、「VGA311」と略記する。)、ローパスフィルタ312(以下、「LPF312」と略記する。)、AGC317、アナログ/デジタル変換器313(以下、「ADC313」と略記する。)、周波数シンセサイザ314、フィルタ315、ソフト出力検出部320、LDPC繰返復号部322、同期信号検出部321、ランレングス制限/DCフリー復号部323(以下、「RLL/DCフリー復号部323」と略記する。)、デスクランブラ324とから構成されている。   The read channel 32 includes a variable gain amplifier 311 (hereinafter abbreviated as “VGA 311”), a low-pass filter 312 (hereinafter abbreviated as “LPF 312”), an AGC 317, and an analog / digital converter 313 (hereinafter “ADC 313”). A frequency synthesizer 314, a filter 315, a soft output detection unit 320, an LDPC iterative decoding unit 322, a synchronization signal detection unit 321, a run length limited / DC free decoding unit 323 (hereinafter referred to as “RLL / DC free decoding”). Abbreviated as “portion 323”) and a descrambler 324.

VGA311及びAGC317は、図示しないプリアンプ54から送られたデータのリード波形の振幅を調整する。AGC317は理想的な振幅と実際の振幅を比較し、VGA311に設定すべきゲインを決定する。LPF312は、カットオフ周波数とブースト量を調整することができ、高周波ノイズの低減と部分応答(Partial Response。以下、「PR」と略記する。)波形への等化の一部を担う。LPF312でPR波形への等化を行うが、ヘッドの浮上量変動、媒体の不均一性、モータの回転変動などの多くの要因により、アナログのLPFによる完全な等化は難しいので、後段に配置され、よりフレキシビリティに富んだフィルタ315を用いて、再度PR波形への等化を行う。フィルタ315は、そのタップ係数を適応的に調整する機能を有していてもよい。周波数シンセサイザ314は、ADC313のサンプリング用クロックを生成する。   The VGA 311 and AGC 317 adjust the amplitude of the read waveform of data sent from the preamplifier 54 (not shown). The AGC 317 compares the ideal amplitude with the actual amplitude, and determines the gain to be set in the VGA 311. The LPF 312 can adjust the cutoff frequency and the boost amount, and is responsible for part of the reduction to high frequency noise and equalization to a partial response (hereinafter referred to as “PR”) waveform. The LPF 312 equalizes the PR waveform, but it is difficult to completely equalize with the analog LPF due to many factors such as fluctuations in the flying height of the head, non-uniformity of the medium, and fluctuations in the rotation of the motor. Then, equalization to the PR waveform is performed again using the filter 315 having more flexibility. The filter 315 may have a function of adaptively adjusting the tap coefficient. The frequency synthesizer 314 generates a sampling clock for the ADC 313.

ADC313は、AD変換により直接同期サンプルを得る構成とした。なお、この構成の他に、AD変換により非同期サンプルを得る構成であってもよい。この場合は、ゼロ相リスタート部、タイミング制御部、及び補間フィルタをさらにADC313の後段に設ければよい。非同期サンプルから同期サンプルを得る必要があり、これらのブロックがその役割を担う。ゼロ相リスタート部は初期位相を決定するためのブロックで、できるだけ早く同期サンプルを得るために用いられる。初期位相を決定した後は、タイミング制御部で理想的なサンプル値と実際のサンプル値を比較し、位相のずれを検出する。これを用いて補間フィルタのパラメータを決定することにより、同期サンプルを得ることができる。   The ADC 313 is configured to directly obtain synchronous samples by AD conversion. In addition to this configuration, an asynchronous sample may be obtained by AD conversion. In this case, a zero-phase restart unit, a timing control unit, and an interpolation filter may be further provided after the ADC 313. Synchronous samples need to be obtained from asynchronous samples, and these blocks play that role. The zero phase restart unit is a block for determining an initial phase, and is used to obtain a synchronization sample as soon as possible. After determining the initial phase, the timing controller compares the ideal sample value with the actual sample value to detect a phase shift. A synchronous sample can be obtained by determining parameters of the interpolation filter using this.

ソフト出力検出部320は、符号間干渉に伴う復号特性の劣化を回避するために、ビタビアルゴリズムの一種であるソフト出力ビタビアルゴリズム(Soft−Output Viterbi Algorithm。以下、「SOVA」と略記する。)が用いられる。すなわち、近年の磁気ディスク装置の記録密度の上昇に伴い、記録された符号間の干渉が大きくなり、復号特性が劣化するといった課題を解決するため、これを克服する方式として符号間干渉による部分応答を利用した最ゆう復号(Partial Response MaximumLikeihood。以下、「PRML」と略記する。)方式を用いる。PRMLは、再生信号の部分応答のゆう度を最大にする信号系列を求める方式である。   The soft output detection unit 320 is a soft output Viterbi algorithm (Soft-Output Viterbi Algorithm; hereinafter abbreviated as “SOVA”), which is a kind of Viterbi algorithm in order to avoid degradation of decoding characteristics due to intersymbol interference. Used. That is, in order to solve the problem that the interference between recorded codes increases and the decoding characteristics deteriorate as the recording density of magnetic disk devices increases in recent years, a partial response due to intersymbol interference is a method for overcoming this problem. The most likely decoding (Partial Response Maximum Like Like) (hereinafter abbreviated as “PRML”) method is used. PRML is a method for obtaining a signal sequence that maximizes the likelihood of a partial response of a reproduction signal.

ソフト出力検出部320としてSOVA方式が用いられている場合、軟判定値を出力する。例えば、SOVAの出力として、(−0.71、+0.18、+0.45、−0.45、−0.9)という軟判定値が出力されたとする。これらの値は、0である可能性が大きいか、1である可能性が大きいかを数値で表している。例えば、1番目の「−0.71」は1である可能性が大きいことを示しており、2番目の「+0.18」は0である可能性が大きいが1である可能性も小さくはないことを意味する。従来のビタビディテクタの出力はハード値であり、SOVAの出力を硬判定したものである。上記の例の場合、(1、0、0、1、1)である。ハード値は、0であるか、1であるかのみを表しており、どちらの可能性が高いかという情報が失われている。このためLDPC繰返復号部322に軟判定値を入力する方が復号性能が向上する。   When the SOVA method is used as the soft output detection unit 320, a soft decision value is output. For example, assume that a soft decision value (−0.71, +0.18, +0.45, −0.45, −0.9) is output as the SOVA output. These values represent numerical values as to whether the possibility of being 0 or 1 is high. For example, the first “−0.71” indicates that the possibility of 1 is large, and the second “+0.18” is likely to be 0, but the possibility of 1 is small. Means no. The output of the conventional Viterbi detector is a hard value, and the output of SOVA is hard-decided. In the case of the above example, it is (1, 0, 0, 1, 1). The hard value represents only whether it is 0 or 1, and information on which is more likely is lost. For this reason, decoding performance is improved by inputting a soft decision value to the LDPC iterative decoding unit 322.

LDPC繰返復号部322は、LDPC符号化されているデータ系列から、LDPC符号化前の系列に復元する役割を有する。復号化の方法としては、主に、sum−product復号法とmin−sum復号法があり、復号性能の面ではsum−product復号法が有利であるが、min−sum復号法はハードウェアによる実現が容易である特徴を持つ。LDPC符号を用いる実際の復号操作では、ソフト出力検出部320とLDPC繰返復号部322の間で繰り返し復号することにより、非常に良好な復号性能を得ることができる。このために実際はソフト出力検出部320とLDPC繰返復号部322を複数段配列した構成が必要になる。同期信号検出部321は、データの先頭に付加された同期信号(Sync Mark)を検出し、データの先頭位置を認識する役割を有する。   The LDPC iterative decoding unit 322 has a role of restoring an LDPC encoded data sequence to a sequence before LDPC encoding. As a decoding method, there are mainly a sum-product decoding method and a min-sum decoding method. The sum-product decoding method is advantageous in terms of decoding performance, but the min-sum decoding method is realized by hardware. With the feature that is easy. In an actual decoding operation using an LDPC code, very good decoding performance can be obtained by repeatedly decoding between the soft output detector 320 and the LDPC iterative decoder 322. For this reason, a configuration is actually required in which a plurality of stages of software output detection units 320 and LDPC iterative decoding units 322 are arranged. The synchronization signal detection unit 321 has a role of detecting a synchronization signal (Sync Mark) added to the head of data and recognizing the head position of the data.

RLL/DCフリー復号部323は、LDPC繰返復号部322から出力されたデータに対して、ライトチャネル31のRLL/DCフリー符号化部303の逆操作を行い、元のデータ系列に戻す。詳細は後述する。   The RLL / DC free decoding unit 323 performs the reverse operation of the RLL / DC free encoding unit 303 of the write channel 31 on the data output from the LDPC iterative decoding unit 322, and restores the original data series. Details will be described later.

デスクランブラ324は、ライトチャネル31のスクランブラ302の逆操作を行い、元のデータ系列に戻す。ここで生成されたデータはHDC1に転送される。   The descrambler 324 performs the reverse operation of the scrambler 302 of the write channel 31 to restore the original data series. The data generated here is transferred to the HDC 1.

ここで、「DCフリー」について説明する。図3(a)〜(b)は、本発明の第1実施形態にかかるDCフリー特性の例を示す図である。図3(a)は、DCフリーである場合とそうでない場合における軟判定値の分布例を示す図である。横軸は個数、縦軸は軟判定値を示す。また、縦軸は、中心を±0として、プラス側、マイナス側の双方の軟判定値を含む軸である。実線で示す第1特性200は、DCフリーの場合の分布を示す。また、破線で示す第2特性300は、DCフリーでない場合の分布例を示す。DCフリーとは、前述したように、系列に含まれる0と1のビットの個数の比率が50%であることを示す。いいかえると、図3(a)の第1特性200に図示するように、図2のLDPC繰返復号部322における軟判定値の分布において、±1/2が中心値となり、±0付近の分布量が少ないことなどをいう。一方、DCフリーでない場合、たとえば、図3(a)の第2特性300に図示するように、軟判定値の分布において、±0付近の分布量が増加したものとなる。   Here, “DC free” will be described. FIGS. 3A to 3B are diagrams showing examples of DC-free characteristics according to the first embodiment of the present invention. FIG. 3A is a diagram illustrating an example of the distribution of soft decision values when DC is free and when DC is not. The horizontal axis represents the number, and the vertical axis represents the soft decision value. The vertical axis is an axis including ± 0 on the center and including both positive and negative soft decision values. A first characteristic 200 indicated by a solid line indicates a distribution in the case of DC free. A second characteristic 300 indicated by a broken line shows an example of distribution when DC is not free. As described above, “DC free” indicates that the ratio of the number of 0 and 1 bits included in the sequence is 50%. In other words, as shown in the first characteristic 200 of FIG. 3A, in the distribution of soft decision values in the LDPC iterative decoding unit 322 of FIG. It means that the amount is small. On the other hand, when not DC-free, for example, as shown in the second characteristic 300 of FIG. 3A, in the distribution of the soft decision value, the distribution amount near ± 0 is increased.

図3(b)は、DCフリーである場合とそうでない場合におけるビット誤り率特性の例を示す図である。横軸は信号対雑音比(Signal to Noise Ratio)、縦軸はビット誤り率(Bit Error Rate)を示す。実線で示す第3特性210は、DCフリーの場合のビット誤り率特性を示す。また、破線で示す第4特性310は、DCフリーでない場合のビット誤り率特性を示す。図示するように、DCフリーでない場合は、DCフリーである場合と比べて、ビット誤り率が悪化することとなる。   FIG. 3B is a diagram showing an example of bit error rate characteristics when the DC is free and when it is not. The horizontal axis represents a signal-to-noise ratio (Signal to Noise Ratio), and the vertical axis represents a bit error rate (Bit Error Rate). A third characteristic 210 indicated by a solid line indicates a bit error rate characteristic in the case of DC free. A fourth characteristic 310 indicated by a broken line indicates a bit error rate characteristic when the DC is not free. As shown in the figure, the bit error rate is worse in the case where DC is not free than in the case where DC is free.

図4は、図2のRLL/DCフリー符号化部303の構成例を示す図である。RLL/DCフリー符号化部303は、第1RLL符号化部60と、第1信号処理部62と、第2RLL符号化部64と、直流成分除去符号化部66とを含む。   FIG. 4 is a diagram illustrating a configuration example of the RLL / DC free encoding unit 303 in FIG. The RLL / DC free encoding unit 303 includes a first RLL encoding unit 60, a first signal processing unit 62, a second RLL encoding unit 64, and a DC component removal encoding unit 66.

第1RLL符号化部60は、スクランブラ302から出力されたデジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する。第1信号処理部62は、スクランブラ302から出力されたデジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に対し、所定の信号処理を実行する。所定の信号処理は、デジタル信号系列に含まれる複数のビットの個数を変えなければ、任意の処理でよい。たとえば、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行する処理であってもよい。また、デジタル信号系列に含まれる複数のビットの順序を並び替えてもよい。また、ビット反転処理、ビットの順序を並び替えの双方の処理を行なってもよい。第2RLL符号化部64は、第1信号処理部62から出力された信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する。直流成分除去符号化部66は、第1RLL符号化部60によって生成された第1符号化系列と、第2RLL符号化部64によって生成された第2符号化系列とのうち、DCフリー性の高い、いずれか一方を選択して出力する。   The first RLL encoding unit 60 generates a first encoded sequence by subjecting the digital signal sequence output from the scrambler 302 to run-length limited encoding. The first signal processing unit 62 performs predetermined signal processing on the digital signal sequence without changing the number of bits included in the digital signal sequence output from the scrambler 302. The predetermined signal processing may be any processing as long as the number of bits included in the digital signal sequence is not changed. For example, a process of executing a bit inversion process for each of a plurality of bits included in the digital signal sequence may be used. Further, the order of a plurality of bits included in the digital signal sequence may be rearranged. Also, both bit inversion processing and bit order rearrangement processing may be performed. The second RLL encoding unit 64 generates a second encoded sequence by subjecting the digital signal sequence, which has been subjected to predetermined signal processing by the signal processing unit output from the first signal processing unit 62, to run-length limited encoding. To do. The DC component removal encoding unit 66 has a high DC-free property among the first encoded sequence generated by the first RLL encoding unit 60 and the second encoded sequence generated by the second RLL encoding unit 64. , Select either one and output.

具体例を用いて説明する。処理すべきデジタル信号系列が300ビットから構成されている場合、RLL/DCフリー符号化部303は、30ビットを1組として、10回に分けて処理する。ここで、第1RLL符号化部60、第2RLL符号化部64の符号化率が30/31である場合、第1RLL符号化部60、第2RLL符号化部64からそれぞれ出力される1回あたりの系列のビット数は、31ビットとなる。   This will be described using a specific example. When the digital signal sequence to be processed is composed of 300 bits, the RLL / DC-free encoding unit 303 processes 30 bits as one set and is divided into 10 times. Here, when the encoding rate of the first RLL encoding unit 60 and the second RLL encoding unit 64 is 30/31, the output per one time output from the first RLL encoding unit 60 and the second RLL encoding unit 64, respectively. The number of bits in the series is 31 bits.

図5は、図4の直流成分除去符号化部66の構成例を示す図である。直流成分除去符号化部66は、符号化系列選択部74と、選択識別情報生成部76と、識別情報付加部78とを含む。符号化系列選択部74は、第1RLL符号化部60によって生成された第1符号化系列と、第2RLL符号化部64によって生成された第2符号化系列のうち、いずれか一方の符号化系列を選択する。選択識別情報生成部76は、符号化系列選択部74によって選択された符号化系列を示す選択識別情報を生成する。識別情報付加部78は、符号化系列選択部74によって選択された符号化系列のいずれかの個所に、選択識別情報生成部76によって生成された選択識別情報を付加する。   FIG. 5 is a diagram illustrating a configuration example of the DC component removal coding unit 66 of FIG. The DC component removal encoding unit 66 includes an encoded sequence selection unit 74, a selection identification information generation unit 76, and an identification information addition unit 78. The encoded sequence selection unit 74 is one of the first encoded sequence generated by the first RLL encoding unit 60 and the second encoded sequence generated by the second RLL encoding unit 64. Select. The selection identification information generation unit 76 generates selection identification information indicating the encoded sequence selected by the encoded sequence selection unit 74. The identification information adding unit 78 adds the selection identification information generated by the selection identification information generating unit 76 to any part of the encoded sequence selected by the encoded sequence selecting unit 74.

具体的に説明する。符号化系列選択部74によって第1符号化系列が選択された場合、識別情報付加部78において第1符号化系列に付加される選択識別情報は「0」となる。一方、符号化系列選択部74によって第2符号化系列が選択された場合、識別情報付加部78において第1符号化系列に付加される選択識別情報は「1」となる。いいかえると、選択識別情報「0」が付加された第1符号化系列、もしくは、選択識別情報「1」が付加された第2符号化系列がLDPC符号化部304に出力される。なお、識別情報付加部78によって選択識別情報が付加される個所は、符号化系列中の任意の一定の個所でよく、たとえば、符号化系列の最後尾に付加してもよい。詳細は後述するが、ここで付加される選択識別情報は判定ビットであり、復号側において判定ビットが付加された位置、および、判定ビットの内容を解析することにより、適切な復号処理が実現されることとなる。前述の具体例においては、1回あたり31ビットの符号化系列に1ビットの選択識別情報が付加され合計32ビットの系列が出力されることとなる。すなわち、RLL/DCフリー符号化部303全体における符号化率は、30/32となる。   This will be specifically described. When the first encoded sequence is selected by the encoded sequence selection unit 74, the selection identification information added to the first encoded sequence by the identification information adding unit 78 is “0”. On the other hand, when the second encoded sequence is selected by the encoded sequence selection unit 74, the selection identification information added to the first encoded sequence by the identification information adding unit 78 is “1”. In other words, the first encoded sequence to which selection identification information “0” is added or the second encoded sequence to which selection identification information “1” is added is output to LDPC encoding section 304. The part to which the selection identification information is added by the identification information adding unit 78 may be an arbitrary fixed part in the encoded sequence, and may be added to the end of the encoded sequence, for example. Although details will be described later, the selection identification information added here is a determination bit, and an appropriate decoding process is realized by analyzing the position of the determination bit added on the decoding side and the content of the determination bit. The Rukoto. In the specific example described above, 1-bit selection identification information is added to a 31-bit encoded sequence at a time, and a total of 32-bit sequences are output. That is, the coding rate in the entire RLL / DC free coding unit 303 is 30/32.

また、符号化系列選択部74は、図示しない第1連結部と第2連結部とを含んでも良い。第1連結部は、当該符号化系列選択部74によってすでに選択された符号化系列と前記第1符号化系列とを連結させる。また、第2連結部は、当該符号化系列選択部74によってすでに選択された符号化系列と前記第2符号化系列とを連結させる。この場合、符号化系列選択部74は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の符号化系列を選択してもよい。すなわち、過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部74が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。   The encoded sequence selection unit 74 may include a first connection unit and a second connection unit (not shown). The first concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 74 and the first encoded sequence. The second concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 74 and the second encoded sequence. In this case, the encoded sequence selection unit 74 sets the sequence connected by the first connecting unit as a new first encoded sequence, sets the sequence connected by the second connecting unit as a new second encoded sequence, Either one of the encoded sequences may be selected. In other words, the encoded sequence selection unit 74 makes a selection determination for a combination of the encoded sequence selected in the past and the encoded sequence that is currently selected as a candidate for selection in the long section. DC-free characteristics can be improved.

図6(a)〜(c)は、図5の符号化系列選択部74の第1〜第3の構成例を示す図である。図6(a)は、図5の符号化系列選択部74の第1の構成例を示す図である。第1の構成における符号化系列選択部74は、第1比率計算部80と、第2比率計算部82と、選択出力部84とを含む。   6A to 6C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit 74 in FIG. FIG. 6A is a diagram illustrating a first configuration example of the encoded sequence selection unit 74 in FIG. The encoded sequence selection unit 74 in the first configuration includes a first ratio calculation unit 80, a second ratio calculation unit 82, and a selection output unit 84.

第1比率計算部80は、第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。第2比率計算部82は、第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。選択出力部84は、第1比率計算部80で計算された比率と、第2比率計算部82で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する。   The first ratio calculation unit 80 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the first encoded sequence. The second ratio calculation unit 82 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the second encoded sequence. The selection output unit 84 selects an encoded sequence corresponding to a ratio closer to 50% of the ratio calculated by the first ratio calculation unit 80 and the ratio calculated by the second ratio calculation unit 82. Output.

具体例を用いて説明する。まず、時刻t=1において、第1RLL符号化部60、第2RLL符号化部64から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1比率計算部80、第2比率計算部82は、それぞれの符号化系列に含まれるビットを解析して、比率を計算する。ここで、第1比率計算部80に入力される符号化系列に含まれるビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、第1比率計算部80によって以下のように計算される。
比率t=1 = (0を示すビット数+1)/(符号化系列のビット数+1) = (14+1)/(31+1)≒ 46.9%
This will be described using a specific example. First, it is assumed that 31-bit encoded sequences are output from the first RLL encoding unit 60 and the second RLL encoding unit 64 at time t = 1. In this case, the first ratio calculator 80 and the second ratio calculator 82 analyze the bits included in the respective encoded sequences and calculate the ratio. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 80, when the bit indicating 0 is 14 bits and the bit indicating 1 is 17 bits, the ratio is the first ratio calculation unit 80 is calculated as follows.
Ratio t = 1 = (number of bits indicating 0 + 1) / (number of bits of coded sequence + 1) = (14 + 1) / (31 + 1) ≈46.9%

また、第2比率計算部82に入力される符号化系列に含まれるビットのうち、0を示すビットが12ビット、1を示すビットが19ビットである場合、比率は、第2比率計算部82によって、以下のように計算される。この場合、第1符号化系列のほうが比率が50%に近いため、t=1においては、選択出力部84によって第1符号化系列が選択される。また、選択された第1符号化系列にかかる0を示すビット数「14」が記憶される。なお、上式、下式の右辺の分子において、それぞれ「1」、「0」を加算しているのは、それぞれの選択識別情報を「0」、「1」と仮定しているためである。また、上式、下式の右辺の分母において、「1」を加算しているのは、選択識別情報を含めた系列の0の個数の割合を計算するためである。
比率t=1 = (0を示すビット数+0)/(符号化系列のビット数+1) = 12/(31+1) = 37.5%
In addition, among the bits included in the encoded sequence input to the second ratio calculation unit 82, when the bit indicating 0 is 12 bits and the bit indicating 1 is 19 bits, the ratio is the second ratio calculation unit 82. Is calculated as follows. In this case, since the ratio of the first encoded sequence is closer to 50%, the first encoded sequence is selected by the selection output unit 84 at t = 1. In addition, the number of bits “14” indicating 0 according to the selected first encoded sequence is stored. In the numerators on the right side of the above formula and the following formula, “1” and “0” are added because the selection identification information is assumed to be “0” and “1”, respectively. . In addition, in the denominator on the right side of the above formula and the formula below, “1” is added in order to calculate the ratio of the number of 0s in the series including the selection identification information.
Ratio t = 1 = (number of bits indicating 0 + 0) / (number of bits of coded sequence + 1) = 12 / (31 + 1) = 37.5%

つぎに、t=2においてもt=1の場合と同様に、第1RLL符号化部60、第2RLL符号化部64から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1比率計算部80に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、比率は、以下のように計算される。
比率t=2 = (0を示すビット数+1)/((符号化系列のビット数+1)×t) = (14+1+11+1)/((31+1)×2) ≒ 42.2%
Next, it is assumed that a 31-bit encoded sequence is output from the first RLL encoding unit 60 and the second RLL encoding unit 64 at t = 2 as in the case of t = 1. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 80, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the ratio is calculated as follows. Is done.
Ratio t = 2 = (number of bits indicating 0 + 1) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 111 + 1) / ((31 + 1) × 2) ≈42.2%

上記は、t=1の場合と異なり、第1比率計算部80は、t=1において選択された符号化系列とt=2における第1符号化系列とが第1連結部によって連結された系列について、比率を計算する。すなわち、t=1で選択された第1符号化系列のうち0を示すビットの個数「14+1」と、t=2における第1符号化系列のうちの0を示すビットの個数「11+1」と上式の分子において加算されることとなる。また、分母は、2組の符号化系列にかかるビット数となる。   Unlike the case of t = 1, the first ratio calculation unit 80 is a sequence in which the encoded sequence selected at t = 1 and the first encoded sequence at t = 2 are connected by the first connecting unit. Calculate the ratio for. That is, the number “14 + 1” of bits indicating 0 in the first encoded sequence selected at t = 1, and the number “11 + 1” of bits indicating 0 in the first encoded sequence at t = 2. It will be added in the numerator of the formula. The denominator is the number of bits for two sets of encoded sequences.

また、第2比率計算部82に入力される符号化系列に含まれるビットのうち、0を示すビットが17ビット、1を示すビットが14ビットである場合、第2比率計算部82によって、以下のように比率が計算される。この場合、第2符号化系列のほうが比率が50%に近いため、t=2においては、選択出力部84によって第2符号化系列が選択される。
比率t=2 = (0を示すビット数+0)/((符号化系列のビット数+1)×t) = (14+1+17+0)/((31+1)×2) = 50.0%
In addition, among the bits included in the encoded sequence input to the second ratio calculation unit 82, when the bit indicating 0 is 17 bits and the bit indicating 1 is 14 bits, the second ratio calculation unit 82 The ratio is calculated as follows. In this case, since the ratio of the second encoded sequence is closer to 50%, the second encoded sequence is selected by the selection output unit 84 at t = 2.
Ratio t = 2 = (number of bits indicating 0 + 0) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 17 + 0) / ((31 + 1) × 2) = 50.0%

以下、同様にt=3以降においても比率が計算される。ここで、t=kにおける比率は、以下のように表される。ただし、kは1以上の整数とする。また、Nbit(m)とは、t=mにおいて選択された符号化系列に含まれるビットのうち、0を示すビットの個数を示す。ただし、Nbit(k)は、比率を計算する対象となる符号化系列に含まれるビットのうち、0を示すビットの個数を示す。なお、比率を計算する対象となる符号化系列には、選択識別情報も含まれるものとする。
比率t=k = Σ m=1Nbit(m)/(32×k)
Similarly, the ratio is calculated after t = 3. Here, the ratio at t = k is expressed as follows. However, k is an integer of 1 or more. Nbit (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m. Here, Nbit (k) indicates the number of bits indicating 0 among the bits included in the encoded sequence for which the ratio is calculated. It is assumed that selection identification information is also included in the encoded sequence for which the ratio is calculated.
Ratio t = k = Σ k m = 1 Nbit (m) / (32 × k)

図6(b)は、図5の符号化系列選択部74の第2の構成例を示す図である。第2の構成における符号化系列選択部74は、第1合算部86と、第2合算部88と、選択出力部84とを含む。第1合算部86は、第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する。第2合算部88は、第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する。符号化系列検出部は、第1合算部86によって生成された第1合算値と、第2合算部88によって生成された第2合算値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を検出する。選択出力部84は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG. 6B is a diagram illustrating a second configuration example of the encoded sequence selection unit 74 in FIG. The encoded sequence selection unit 74 in the second configuration includes a first summation unit 86, a second summation unit 88, and a selection output unit 84. The first summation unit 86 sums a plurality of bits included in the first encoded sequence to generate a first sum value. The second summing unit 88 sums a plurality of bits included in the second encoded sequence to generate a second summed value. The encoded sequence detection unit compares the first added value generated by the first adder 86 with the second added value generated by the second adder 88, and compares the first encoded sequence and the second code. An encoded sequence corresponding to the smaller sum of the converted sequences is detected. The selection output unit 84 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

具体例を用いて説明する。まず、t=1において、第1RLL符号化部60、第2RLL符号化部64から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1合算部86、第2合算部88は、それぞれの符号化系列に含まれるビットを合算する。合算においては、0を「+1」に置換えると共に、1を「−1」に置換えて合計してもよい。このように合算することによって、0と1を示すビットの個数が等しい場合、合算値は0となる。したがって、選択出力部84においては、合算値が0に近い符号化系列を選べばよく、たとえば、合算値の絶対値が小さい符号化系列を選べばよい。なお、この手法は、連続デジタル加算(Running Digital Summation。以下、「RDS」と略称する。)とも呼ばれる。   This will be described using a specific example. First, it is assumed that a 31-bit encoded sequence is output from each of the first RLL encoding unit 60 and the second RLL encoding unit 64 at t = 1. In this case, the first summing unit 86 and the second summing unit 88 sum the bits included in the respective encoded sequences. In the summation, 0 may be replaced with “+1” and 1 may be replaced with “−1” for total. By summing in this way, when the number of bits indicating 0 and 1 is equal, the sum is 0. Therefore, the selection output unit 84 may select an encoded sequence having a sum value close to 0, for example, an encoded sequence having a small absolute value of the sum value. This method is also called continuous digital summation (hereinafter abbreviated as “RDS”).

ここで、t=1において、第1合算部86に入力される符号化系列に含まれる31個のビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、以下のように計算される。なお、右辺の第1項において「1」を加算しているのは、選択識別情報を0と仮定しているためである。
RDSabs = |(14+1)×(+1)+17×(−1)| = 2
Here, at t = 1, out of 31 bits included in the encoded sequence input to the first summing unit 86, the bit indicating 0 is 14 bits, and the bit indicating 1 is 17 bits. Is calculated as follows. Note that “1” is added in the first term on the right side because the selection identification information is assumed to be zero.
RDS abs = | (14 + 1) × (+1) + 17 × (−1) | = 2

また、第2合算部88に入力される符号化系列に含まれるビットのうち、0を示すビットが12ビット、1を示すビットが19ビットである場合、比率は、以下のように計算される。この場合、第1符号化系列のRDSのほうが小さいため、t=1においては、選択出力部84によって第1符号化系列が選択される。また、ここでは、絶対値を計算する前の第1符号化系列についてのRDSが「RDS=−2」として記憶される。なお、右辺の第2項において「1」を加算しているのは、選択識別情報を1と仮定しているためである。
RDSabs = |12×(+1)+(19+1)×(−1)| = 6
Further, among the bits included in the encoded sequence input to the second summing unit 88, when the bit indicating 0 is 12 bits and the bit indicating 1 is 19 bits, the ratio is calculated as follows: . In this case, since the RDS of the first encoded sequence is smaller, the first encoded sequence is selected by the selection output unit 84 at t = 1. Here, the RDS for the first coded sequence before calculating the absolute value is stored as “RDS 1 = −2”. Note that “1” is added in the second term on the right side because the selection identification information is assumed to be 1.
RDS abs = | 12 × (+1) + (19 + 1) × (−1) | = 6

つぎに、t=2において、t=1の場合と同様に、第1RLL符号化部60、第2RLL符号化部64から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1合算部86に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、RDSは、以下のように計算される。t=1の場合と異なり、t=2においては、t=1において選択された符号化系列にかかるビット数も考慮にいれて計算されることとなる。
RDSabs = |RDS+(11+1)×(+1)+20×(−1)| = |−2+(−8)| = 10
Next, at t = 2, as in the case of t = 1, it is assumed that 31-bit encoded sequences are output from the first RLL encoding unit 60 and the second RLL encoding unit 64, respectively. Here, among the bits included in the encoded sequence input to the first summing unit 86, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the RDS is calculated as follows. The Unlike t = 1, at t = 2, the number of bits related to the encoded sequence selected at t = 1 is taken into consideration.
RDS abs = | RDS 1 + (11 + 1) × (+1) + 20 × (−1) | = | −2 + (− 8) | = 10

また、第2合算部88に入力される符号化系列に含まれるビットのうち、0を示すビットが17ビット、1を示すビットが14ビットである場合、比率は、以下のように計算される。この場合、第2符号化系列のRDSのほうが小さいため、t=2においては、選択出力部84によって第1符号化系列が選択される。また、RDS2=0が記憶される。
RDSabs = |RDS+17×(+1)+(14+1)×(−1)| = |−2+(+2)| = 0
In addition, among the bits included in the encoded sequence input to the second summing unit 88, when the bit indicating 0 is 17 bits and the bit indicating 1 is 14 bits, the ratio is calculated as follows. . In this case, since the RDS of the second encoded sequence is smaller, the first encoded sequence is selected by the selection output unit 84 at t = 2. Further, RDS 2 = 0 is stored.
RDS abs = | RDS 1 + 17 × (+1) + (14 + 1) × (−1) | = | −2 + (+ 2) | = 0

以下、同様にt=3以降においてもRDSabsが計算される。ここで、t=kにおけるRDSabs(k)は、以下のように表される。ただし、tは1以上の整数とする。また、Nbit0(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、0を示すビットの個数を示す。また、Nbit1(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、1を示すビットの個数を示す。ただし、Nbit0(k)、Nbit1(k)は、合算値を計算する対象となる符号化系列に含まれるビットのうち、それぞれ、0を示すビットの個数、1を示すビットの個数を示す。
RDSabs(k)=|RDS(k−1)+Nbit0(k)×(+1)+Nbit1(k)×(−1)| = |Σ m=1(Nbit0(m)×(+1)+Nbit1(m)×(−1))|
Similarly, RDS abs is calculated after t = 3. Here, RDS abs (k) at t = k is expressed as follows. However, t is an integer of 1 or more. Nbit0 (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m and the selection identification information. Nbit1 (m) indicates the number of bits indicating 1 out of the bits included in the encoded sequence selected at t = m and the selection identification information. However, Nbit0 (k) and Nbit1 (k) indicate the number of bits indicating 0 and the number of bits indicating 1 respectively, among the bits included in the encoded sequence for which the sum is calculated.
RDS abs (k) = | RDS (k−1) + Nbit0 (k) × (+1) + Nbit1 (k) × (−1) | = | Σ k m = 1 (Nbit0 (m) × (+1) + Nbit1 (m) ) × (-1)) |

上記における符号化系列選択部74の動作は、ある時刻においては区間演算処理を行ないつつ、過去の連続する時刻間において移動演算処理を行なっている点が特徴となる。このように、区間処理と移動処理を組み合わせることによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上されることとなる。   The operation of the coded sequence selection unit 74 described above is characterized in that the movement calculation process is performed between past successive times while the interval calculation process is performed at a certain time. Thus, by combining the section process and the movement process, the DC-free property is improved in the long section, for example, the entire 300-bit sequence.

なお、第1合算部86、第2合算部88における合算処理は、符号化系列に含まれる0もしくは1を示すビットをそのまま合計してもよい。この場合、選択出力部84においては、合算値が符号化系列の個数の半分の値に近いほうに対応する符号化系列が選択されることとなる。   In addition, the summation process in the first summation unit 86 and the second summation unit 88 may add up the bits indicating 0 or 1 included in the encoded sequence as they are. In this case, in the selection output unit 84, the encoded sequence corresponding to the sum closer to the half of the number of encoded sequences is selected.

図6(c)は、図5の符号化系列選択部74の第3の構成例を示す図である。第3の構成における符号化系列選択部74は、第1移動加算部90と、第1最大値検出部92と、第2移動加算部94と、第2最大値検出部96と、選択出力部84とを含む。第1移動加算部90は、第1符号化系列に含まれる複数のビットを移動加算を計算することによって、複数のビットと同数の第1移動加算値を生成する。第1最大値検出部92は、第1移動加算部90によって生成された複数の第1移動加算値のうち、最大値を検出する。第2移動加算部94は、第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する。第2最大値検出部96は、第2移動加算部94によって生成された複数の第2移動加算値のうち、最大値を検出する。符号化系列検出部は、第1最大値検出部92によって検出された最大値と、第2最大値検出部96によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する。選択出力部84は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG. 6C is a diagram illustrating a third configuration example of the encoded sequence selection unit 74 in FIG. The encoded sequence selection unit 74 in the third configuration includes a first mobile addition unit 90, a first maximum value detection unit 92, a second mobile addition unit 94, a second maximum value detection unit 96, and a selection output unit. 84. The first moving addition unit 90 generates the same number of first moving addition values as the plurality of bits by calculating the moving addition of the plurality of bits included in the first encoded sequence. The first maximum value detection unit 92 detects the maximum value among the plurality of first movement addition values generated by the first movement addition unit 90. The second moving addition unit 94 generates the same number of second moving addition values as the plurality of bits by moving and adding the plurality of bits included in the second encoded sequence. The second maximum value detector 96 detects the maximum value among the plurality of second movement addition values generated by the second movement addition unit 94. The encoded sequence detection unit compares the maximum value detected by the first maximum value detection unit 92 with the maximum value detected by the second maximum value detection unit 96, and compares the first encoded sequence and the second code. An encoded sequence corresponding to the smaller maximum value is detected from the encoded sequences. The selection output unit 84 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

符号化系列選択部74の第3の構成例は、第2の構成例と同様に、第1移動加算部90、第2移動加算部94において、それぞれの符号化系列のRDSを計算することによって、選択出力部84が符号化系列を選択する。第3の構成例においては、32ビットのRDSの計算途中における最大値が小さいほうの符号化系列を選択する点で、32ビットのRDS計算の最終計算値のみ考慮して0に近い符号化系列を選択する第2の構成例と異なる。言い換えると、第3の構成例は、所定の区間においても、複数の区間においても、移動演算によって選択処理を行なっている。このような態様をとることによって、区間途中においてもDCフリー性の良い系列を選択できる。   As in the second configuration example, the third configuration example of the encoded sequence selection unit 74 is obtained by calculating the RDS of each encoded sequence in the first mobile addition unit 90 and the second mobile addition unit 94. The selection output unit 84 selects an encoded sequence. In the third configuration example, an encoded sequence that is close to 0 in consideration of only the final calculated value of the 32-bit RDS calculation is selected in that the encoded sequence having the smaller maximum value during the calculation of the 32-bit RDS is selected. This is different from the second configuration example in which is selected. In other words, in the third configuration example, the selection process is performed by the movement calculation in both the predetermined section and the plurality of sections. By taking such an aspect, it is possible to select a sequence having good DC-free properties even in the middle of the section.

ここで、「RDSの計算途中における最大値」は、時刻tごとに、以下で導出される。ただし、Min{y(0)、y(1)}とは、小さいほうの値を選択し、選択したほうの系列の番号を出力する関数を示す。たとえば、y(0)>y(1)の場合、S(t)は、1となる。また、max{x}とは、xのうち、最大値を検出する関数を示す。また、kは、32×(t−1)+1〜32×tの範囲の値を示す。また、Bit(m、j)は、第j符号化系列のうち、m番目のビットが0である場合は+1を示し、また、1である場合は−1を示す。
S(t)=Min{MaxRDS(1)、MaxRDS(2)}
MaxRDS(1) = max{RDS(k、1)}
MaxRDS(2) = max{RDS(k、2)}
RDS(k、1) = |Σ m=1Bit(m、1)|
RDS(k、2) = |Σ m=1Bit(m、2)|
Here, the “maximum value during calculation of RDS” is derived as follows for each time t. However, Min {y (0), y (1)} indicates a function that selects a smaller value and outputs the number of the selected sequence. For example, when y (0)> y (1), S (t) is 1. Further, max {x} indicates a function for detecting the maximum value of x. K represents a value in the range of 32 × (t−1) +1 to 32 × t. Bit (m, j) indicates +1 when the m-th bit is 0 in the j-th encoded sequence, and indicates -1 when it is 1.
S (t) = Min {MaxRDS (1), MaxRDS (2)}
MaxRDS (1) = max {RDS (k, 1)}
MaxRDS (2) = max {RDS (k, 2)}
RDS (k, 1) = | Σ k m = 1 Bit (m, 1) |
RDS (k, 2) = | Σ k m = 1 Bit (m, 2) |

また、Bit(m、1)、Bit(m、2)は、tが増加するごとに、選択された系列に係るビットを下記のように書き換えた後に、上述の式等が計算されることとなる。
Bit(m、1)=Bit(m、2)=Bit(m、S(t−1)) :m=(t−1)×32+1〜t×32、t≠1
Bit (m, 1) and Bit (m, 2) are calculated by rewriting the bits related to the selected sequence as follows each time t increases, and then calculating the above formulas and the like. Become.
Bit (m, 1) = Bit (m, 2) = Bit (m, S (t−1)): m = (t−1) × 32 + 1 to t × 32, t ≠ 1

ここで、図6(c)に示す符号化系列選択部74の第3の構成例の動作について、図6(b)に示す符号化系列選択部74の第2の構成例の動作と比較する。図7は、図6(b)と図6(c)にそれぞれ示す符号化系列選択部74の動作の相違を示す図である。横軸は時間、縦軸はRDSを示す。ここで、400Aは、第1符号化系列におけるRDSの推移を示す。また、400Bは、第2符号化系列におけるRDSの推移を示す。図6(b)に示す符号化系列選択部74の第2の構成例においては、RDSの区間演算の最終値であるRDSとRDSとを比較して小さいほうの符号化系列を選択する。図7においては、RDS<RDSであるので、選択出力部84は、第1符号化系列を選択することとなる。一方、図6(c)に示す符号化系列選択部74の第3の構成例においては、それぞれのビットにおけるRDS、すなわち、32個のビットを順次移動演算処理した後の絶対値のうち、最大値を比較して、小さいほうの符号化系列を選択する。図7においては、第1符号化系列については、MaxAが最大値であり、また、第2符号化系列については、MaxBが最大値となる。ここでは、MaxA>MaxBであるので、選択出力部84は、第2符号化系列を選択することとなる。いずれの構成例を符号化系列選択部74に適用した場合においても、DCフリー性の高い符号化系列を選択することができる。 Here, the operation of the third configuration example of the encoded sequence selection unit 74 illustrated in FIG. 6C is compared with the operation of the second configuration example of the encoded sequence selection unit 74 illustrated in FIG. . FIG. 7 is a diagram illustrating a difference in operation of the coded sequence selection unit 74 illustrated in FIG. 6B and FIG. 6C, respectively. The horizontal axis represents time, and the vertical axis represents RDS. Here, 400A indicates the transition of RDS in the first encoded sequence. 400B indicates the transition of RDS in the second encoded sequence. In the second configuration example of the encoded sequence selection unit 74 shown in FIG. 6B, RDS A and RDS B which are final values of the RDS interval calculation are compared, and the smaller encoded sequence is selected. . In FIG. 7, since RDS A <RDS B , the selection output unit 84 selects the first encoded sequence. On the other hand, in the third configuration example of the encoded sequence selection unit 74 shown in FIG. 6C, the RDS in each bit, that is, the maximum value among the absolute values after the 32 bits are sequentially subjected to the movement calculation process. Compare the values and select the smaller encoded sequence. In FIG. 7, MaxA is the maximum value for the first encoded sequence, and MaxB is the maximum value for the second encoded sequence. Here, since MaxA> MaxB, the selection output unit 84 selects the second encoded sequence. Even when any configuration example is applied to the encoded sequence selection unit 74, an encoded sequence having a high DC-free property can be selected.

図8は、図2のRLL/DCフリー復号部323の構成例を示す図である。RLL/DCフリー復号部323は、判定ビット取得部68と、RLL復号部70と、第2信号処理部72とを含む。判定ビット取得部68は、LDPC繰返復号部322によって入力された符号化系列に付加されている所定の判定ビットを取得する。RLL復号部70は、LDPC繰返復号部322によって入力された符号化系列をランレングス制限復号することによってデジタル信号系列を生成する。第2信号処理部72は、RLL復号部70によって生成されたデジタル信号系列に対し、判定ビット取得部68によって取得された判定ビットに応じて、第1信号処理部62で実行された所定の信号処理と逆の信号処理を実行して出力する処理を実行する。たとえば、図4の第1信号処理部62において、ビット反転処理、および/または、ビットの順序を入れ替える処理を行なっていた場合、ビットの反転処理および/またはその入れ替えられた系列を元に戻す入れ替える処理とを実行する。もしくは、判定ビット取得部68によって取得された判定ビットに応じて、第2信号処理部72は、デジタル信号系列に含まれる複数のビットをそのまま出力する処理を実行する。   FIG. 8 is a diagram illustrating a configuration example of the RLL / DC free decoding unit 323 of FIG. The RLL / DC free decoding unit 323 includes a determination bit acquisition unit 68, an RLL decoding unit 70, and a second signal processing unit 72. The determination bit acquisition unit 68 acquires a predetermined determination bit added to the encoded sequence input by the LDPC iterative decoding unit 322. The RLL decoding unit 70 generates a digital signal sequence by subjecting the encoded sequence input by the LDPC iterative decoding unit 322 to run-length limited decoding. The second signal processing unit 72 performs a predetermined signal executed by the first signal processing unit 62 on the digital signal sequence generated by the RLL decoding unit 70 according to the determination bit acquired by the determination bit acquisition unit 68. The signal processing that is the reverse of the processing is executed and output. For example, in the first signal processing unit 62 of FIG. 4, when the bit inversion process and / or the process of changing the order of bits is performed, the bit inversion process and / or the exchanged series is changed back to the original. Process. Or according to the determination bit acquired by the determination bit acquisition part 68, the 2nd signal processing part 72 performs the process which outputs the some bit contained in a digital signal series as it is.

上述したこれらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされた通信機能のあるプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   These configurations described above can be realized in hardware by a CPU, memory, or other LSI of an arbitrary computer, and in software by a program having a communication function loaded in the memory. Here, functional blocks realized by the cooperation are depicted. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

本第1実施形態によれば、同一のRLL符号化を実行することによって、回路規模の増大を伴うことなく、DCフリー性が良い系列を生成できる。RLL符号化する前に、任意の信号系列と、任意の信号系列に所定の信号処理を実行した後の2つの系列とを対象とすることによって、生成される系列は全く異なるため、統計的にDCフリー性の良い系列が生成できる。また、この所定の信号処理を信号系列のビット数を変えずに実行することによって、符号化利得の減少を回避できる。さらに、信号処理の処理内容を任意に変更することによって、さまざまな系列を生成できるので、選択の幅を広げられる。そのため、よりDCフリー特性の良い系列を生成することができる。したがって、ハードディスクのような符号化率を低く設定できないようなアプリケーションにおいて好適となる。また、同一のRLL符号化回路を用いることによって、回路構成を単純化でき、また、低規模にできる。   According to the first embodiment, by executing the same RLL encoding, it is possible to generate a sequence having a good DC-free property without increasing the circuit scale. Since an arbitrary signal sequence and two sequences after performing predetermined signal processing on an arbitrary signal sequence before RLL encoding are processed, the generated sequences are completely different. A sequence having good DC-free property can be generated. Further, by executing this predetermined signal processing without changing the number of bits of the signal sequence, a decrease in coding gain can be avoided. Furthermore, since various sequences can be generated by arbitrarily changing the processing content of signal processing, the range of selection can be expanded. Therefore, it is possible to generate a sequence with better DC-free characteristics. Therefore, it is suitable for an application such as a hard disk where the coding rate cannot be set low. Further, by using the same RLL encoding circuit, the circuit configuration can be simplified and the scale can be reduced.

また、ビット反転処理、および/または、ビットの順序を並び替えることによって、ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、異なる系列を生成するために実行する所定の処理をビット反転処理、および/または、ビットの順序を並び替える処理とすることによって、単純な回路構成で所定の処理を実現できる。また、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。   In addition, different sequences can be generated without increasing the number of bits included in the sequence to be run-length limited encoding by rearranging the bit order and / or rearranging the bit order. Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, the predetermined process executed to generate the different series is a bit inversion process and / or a process of rearranging the order of the bits, whereby the predetermined process can be realized with a simple circuit configuration. Further, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily discriminated on the decoding side.

過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部74が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。符号化系列選択部74において、区間処理と移動処理を組み合わせてRDSを計算することによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上できる。また、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   The encoded sequence selection unit 74 performs a selection determination on a concatenation of an encoded sequence selected in the past and an encoded sequence that is a candidate for current selection. The characteristics can be improved. In the encoded sequence selection unit 74, the RDS is calculated by combining the interval process and the movement process, whereby the DC-free property can be improved in the long interval, for example, the entire 300-bit sequence. Also, by selecting the one where the ratio of the bit indicating 0 and the bit indicating 1 is close to 50%, it is possible to select an encoded sequence having a high DC-free property. In addition, by adding a plurality of bits included in the encoded sequence and selecting a sequence corresponding to a smaller combined value, an encoded sequence having a high DC-free property can be selected. Further, by selecting a sequence using the maximum value among the results obtained by moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected. The original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side. By executing the encoding process with high DC-free property, the storage system can be accessed at higher speed. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

本第1実施形態において、R/Wチャネル3は、1つの半導体基板上に一体集積化されてもよい。また、本第1実施形態の符号化系列選択部74において、区間演算処理、もしくは、移動演算処理として説明した。しかしながらこれにかぎらず、区間平均処理、もしくは、移動平均処理を行なうことによって、DCフリー性の高い符号化系列の選別を行なってもよい。この場合であっても、同様の効果を得ることができる。また、RLL/DCフリー符号化部303の構成において、所定の信号処理を実行する第1信号処理部62を用いて、異なる2つの信号系列を生成するとして説明した。しかしながらこれにかぎらず、複数の信号処理部を用いて複数の信号系列を生成してもよい。たとえば、ビット反転処理、ビットの順序を入れ替える処理、ビット反転処理及びビットの順序を入れ替える処理をそれぞれ実行する信号処理装置を備えていてもよい。この場合、4つのうちいずれの系列が選択されたことを示す判定ビットを2ビットとすることによって、復号側において適切な復号処理が実現できる。また、信号処理を行なわない系列も含め、4つの異なる系列を生成することができる。また、選択肢を増やせるので、DCフリー性の高い系列が生成される可能性を向上できる。   In the first embodiment, the R / W channel 3 may be integrated on a single semiconductor substrate. Further, the coding sequence selection unit 74 of the first embodiment has been described as the interval calculation process or the movement calculation process. However, the present invention is not limited to this, and an encoded sequence having a high DC-free property may be selected by performing section average processing or moving average processing. Even in this case, the same effect can be obtained. In the configuration of the RLL / DC free encoding unit 303, the first signal processing unit 62 that performs predetermined signal processing is used to generate two different signal sequences. However, the present invention is not limited to this, and a plurality of signal sequences may be generated using a plurality of signal processing units. For example, a signal processing device that executes a bit inversion process, a process for changing the order of bits, a bit inversion process, and a process for changing the order of bits may be provided. In this case, an appropriate decoding process can be realized on the decoding side by setting the determination bit indicating that any of the four sequences has been selected to 2 bits. Also, four different sequences can be generated, including sequences that are not subjected to signal processing. In addition, since the number of options can be increased, the possibility that a sequence having a high DC-free property is generated can be improved.

(第2実施形態)
第2実施形態は、誤り訂正符号化/復号技術に関し、特に、記憶媒体に記憶されるデータに対して誤り訂正符号化もしくは誤りを訂正する信号符号化装置、信号復号装置、信号処理装置、および記憶システムに関する。
(Second Embodiment)
The second embodiment relates to an error correction encoding / decoding technique, and in particular, a signal encoding device, a signal decoding device, a signal processing device, and an error correction encoding or error correction for data stored in a storage medium, and It relates to a storage system.

まず、第2実施形態に関する背景技術について説明する。   First, the background art regarding the second embodiment will be described.

近年、ハードディスクを用いた記憶装置は、パーソナルコンピュータ、ハードディスクレコーダー、ビデオカメラ、携帯電話など、さまざまな分野において必須の装置となりつつある。ハードディスクを用いた記憶装置は、適用される分野によって求められる仕様もさまざまである。たとえば、パーソナルコンピュータに搭載するハードディスクには、高速性、大容量性が求められる。高速性、大容量性を向上するためには、訂正能力の高い誤り訂正符号化をする必要がある。しかしながら、高速化が進むほど単位時間あたりに扱うデータの量が増えるため、単位時間あたりの誤りも比例して増大する。そうすると、高い誤り訂正能力を有する訂正方式を用いない限り、ハードディスクに対する再読込みが発生するため、ハードディスクへのアクセスに要する時間が増大し、高速化のボトルネックとなる。   In recent years, storage devices using hard disks are becoming essential devices in various fields such as personal computers, hard disk recorders, video cameras, and mobile phones. Storage devices using a hard disk have various specifications required depending on the field to which they are applied. For example, a hard disk mounted on a personal computer is required to have high speed and large capacity. In order to improve high speed and large capacity, it is necessary to perform error correction coding with high correction capability. However, since the amount of data handled per unit time increases as the speed increases, errors per unit time also increase proportionally. Then, unless a correction method having a high error correction capability is used, the hard disk is re-read, so that the time required to access the hard disk increases and becomes a bottleneck for speeding up.

一般的に、誤り訂正符号化の対象となる信号系列として、直流成分が低減もしくは除去された(以下、「DCフリー」、もしくは、「DCフリー性」と表記する)信号系列が望まれている。DCフリーとは、周波数が0、すなわち直流成分におけるスペクトルが0であることを意味する。いいかえると、変調前の信号系列に含まれる複数のビットにおいて、0と1の比率が等しいことなどを意味する。DCフリー性を信号系列に備えるさせることによって、記憶媒体に記憶された変調データの記録パターンから得られる再生信号の平均レベルが、変調前の信号系列のパターンによらずに、所定の信号系列長の範囲内で常に一定となる性質をもち、ノイズ耐性が向上する。すなわち、DCフリー性の低い信号系列においては、ビタビアルゴリズムを用いたデータ検出において、検出確率が低下することとなる。これにより、低密度パリティチェック復号やリードソロモン復号における訂正能力も低減されることとなる。また、一般的に、サンプリングタイミングとデータとの同期を確保するために、ランレングス制限符号が用いられている。ランレングス制限符号とは、0の最大連続長や1の最大連続長を制限する符号化である。   In general, a signal sequence in which a DC component is reduced or removed (hereinafter referred to as “DC-free” or “DC-free”) is desired as a signal sequence to be subjected to error correction coding. . DC free means that the frequency is 0, that is, the spectrum in the DC component is 0. In other words, it means that the ratio of 0 and 1 is equal in a plurality of bits included in the signal sequence before modulation. By providing the signal sequence with the DC-free property, the average level of the reproduction signal obtained from the recording pattern of the modulation data stored in the storage medium is a predetermined signal sequence length regardless of the pattern of the signal sequence before modulation. The noise resistance is improved by having a constant property within the range of. That is, in a signal sequence having a low DC-free property, the detection probability decreases in data detection using the Viterbi algorithm. As a result, the correction capability in low density parity check decoding and Reed-Solomon decoding is also reduced. In general, a run-length limit code is used to ensure synchronization between sampling timing and data. The run length limited code is a coding that limits the maximum continuous length of 0 or the maximum continuous length of 1.

従来、信号系列のDCフリー性を満たしつつ、ランレングス制限符号化する方法として、それぞれ異なる冗長ビットが付加された信号系列に対し、ランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特開2002−100125号公報参照。)。また、複数の異なる性質を有するランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特開2004−213863号公報参照。)。   Conventionally, as a method for performing run-length limited encoding while satisfying DC-freeness of a signal sequence, a plurality of encoded sequences are obtained by executing run-length limited encoding on signal sequences to which different redundant bits are added. Among them, a method for selecting a sequence having characteristics close to DC free has been proposed (for example, see Japanese Patent Application Laid-Open No. 2002-100125). In addition, a method has been proposed in which run-length limited encoding having a plurality of different properties is performed, and a sequence having characteristics close to DC-free is selected from the plurality of encoded sequences (for example, Japanese Patent Application Laid-Open No. 2004-2004). -213863).

第2実施形態が解決しようとする課題について述べる。   A problem to be solved by the second embodiment will be described.

本発明者はこうした状況下、以下の課題を認識するに至った。すなわち、符号化側において、複数の符号化系列の中からDCフリー特性の良い系列を選択することによってDCフリー符号化を実現する場合、選択の対象となる複数の符号化系列においてDCフリー特性の良い符号化系列が存在しない場合がある。また、復号側において、符号化側で選択された符号化系列を判定する際に、その判定が誤ることによって、誤りが増大するといった課題である。   Under such circumstances, the present inventor has come to recognize the following problems. That is, on the encoding side, when realizing DC-free encoding by selecting a sequence having good DC-free characteristics from among a plurality of encoded sequences, the DC-free characteristics of a plurality of encoded sequences to be selected are selected. There are cases where a good coded sequence does not exist. Further, when determining the encoded sequence selected on the encoding side on the decoding side, there is a problem that errors increase due to an erroneous determination.

本発明の第2実施形態はこうした状況に鑑みてなされたものであり、その総括的な目的は、より少ない回路規模で、ランレングス制限を満たしつつ、DCフリー特性を向上できる信号符号化装置、信号復号装置、信号処理装置、および記憶システムを提供することにある。   The second embodiment of the present invention has been made in view of such a situation, and the general purpose thereof is a signal encoding device capable of improving the DC-free characteristic while satisfying the run length limitation with a smaller circuit scale, The object is to provide a signal decoding device, a signal processing device, and a storage system.

第2実施形態における課題を解決するための手段について述べる。   Means for solving the problems in the second embodiment will be described.

上記課題を解決するために、第2実施形態のある態様の信号符号化装置は、所定の信号系列をランレングス制限符号化することによって、ランレングス符号化系列を生成するランレングス制限符号化部と、ランレングス制限符号化部によって生成されたランレングス符号化系列をリードソロモン符号化するリードソロモン符号化部と、を備える。リードソロモン符号化部は、ランレングス符号化系列をリードソロモン符号化するための冗長系列を生成する冗長系列生成部と、冗長系列生成部によって生成された冗長系列を前記ランレングス符号化系列に付加する冗長系列付加部と、を含む。   In order to solve the above-described problem, a signal encoding apparatus according to an aspect of the second embodiment includes a run-length limited encoding unit that generates a run-length encoded sequence by performing run-length limited encoding on a predetermined signal sequence. And a Reed-Solomon encoding unit that performs Reed-Solomon encoding on the run-length encoded sequence generated by the run-length limited encoding unit. The Reed-Solomon encoding unit generates a redundant sequence for generating a redundant sequence for performing Reed-Solomon encoding of the run-length encoded sequence, and adds the redundant sequence generated by the redundant sequence generating unit to the run-length encoded sequence A redundant sequence adding unit.

ここで、「付加」とは、加算、乗算、挿入などを含む。この態様によると、ランレングス制限符号化を行なった後にリードソロモン符号化を行なうことによって、復号側においては、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことになるので、誤り訂正能力を向上できる。   Here, “addition” includes addition, multiplication, insertion, and the like. According to this aspect, by performing Reed-Solomon coding after performing run-length limited coding, the decoding side performs run-length limited decoding on the signal sequence after performing Reed-Solomon decoding. Therefore, the error correction capability can be improved.

本発明の第2実施形態の別の態様もまた、信号符号化装置である。この装置は、デジタル信号系列をランレングス制限符号化することによって、第1ランレングス符号化系列を生成する第1ランレングス制限符号化部と、デジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に対し、所定の信号処理を実行する信号処理部と、信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2ランレングス符号化系列を生成する第2ランレングス制限符号化部と、第1ランレングス制限符号化部によって生成された第1ランレングス符号化系列と、第2ランレングス制限符号化部によって生成された第2ランレングス符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、直流成分除去符号化部によって出力されたランレングス符号化系列をリードソロモン符号化することによって、冗長系列を生成するリードソロモン符号化部と、リードソロモン符号化部によって生成された冗長系列を直流成分除去符号化部によって出力されたランレングス符号化系列に付加する冗長系列付加部と、を備える。   Another aspect of the second embodiment of the present invention is also a signal encoding device. This apparatus changes the number of bits included in a first run-length limited encoding unit that generates a first run-length encoded sequence by performing run-length limited encoding on the digital signal sequence, and a digital signal sequence. The second run length is obtained by subjecting the digital signal sequence to a signal processing unit that performs predetermined signal processing and a run length limited encoding of the digital signal sequence that has been subjected to predetermined signal processing by the signal processing unit. A second run-length limited encoding unit that generates an encoded sequence; a first run-length encoded sequence generated by the first run-length limited encoding unit; and a second run-length limited encoding unit that is generated by the second run-length limited encoding unit. A direct-current component removal coding unit that selects and outputs either one of the two-run length coded sequences and a direct-current component removal coding unit; The Reed-Solomon encoding unit that generates a redundant sequence by performing Reed-Solomon encoding on the run-length encoded sequence that has been applied, and the redundant sequence generated by the Reed-Solomon encoding unit are output by the DC component removal encoding unit. And a redundant sequence addition unit for adding to the run-length encoded sequence.

ここで、「直流成分除去符号化部」とは、入力された系列の直流成分を除去するもしくは低減する回路などを含み、また、DCフリー性の高い系列を出力する回路などを含む。また、「第1ランレングス制限符号化部」と「第2ランレングス制限符号化部」とは、同一の性質を有するランレングス制限符号化回路であってもよい。また、同一の性質を有するランレングス制限符号化回路である場合、「第1ランレングス制限符号化部」と「第2ランレングス制限符号化部」は、1つのランレングス制限符号化回路を時分割で実行することにより実現されてもよい。   Here, the “DC component removal coding unit” includes a circuit that removes or reduces a DC component of an input sequence, and a circuit that outputs a sequence having a high DC-free property. Further, the “first run length limited encoding unit” and the “second run length limited encoding unit” may be run length limited encoding circuits having the same properties. Further, in the case of run-length limited encoding circuits having the same properties, the “first run-length limited encoding unit” and the “second run-length limited encoding unit” are each provided with one run-length limited encoding circuit. You may implement | achieve by performing by division | segmentation.

この態様によると、異なる2つの系列に対して、ランレングス制限符号化を実行するので、全く異なる2つの符号化系列を得ることができる。ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加しないように所定の信号処理を実行することによって、全体の符号化率を低下させずに符号化系列が得られる。2つの符号化系列は全く異なるため、DCフリー性の高い符号化系列を選択するにあたり、より好ましい選択肢となる。より好ましい選択肢の中からDCフリー性の高い符号化系列を選択することによって、よりDCフリー性の高い符号化系列を選択できる可能性が向上できる。また、同一のランレングス制限符号化回路を用いることによって、回路構成を単純化でき、また、低規模にできる。また、ランレングス制限符号化を行なった後にリードソロモン符号化を行なうことによって、復号側においては、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことになる。いいかえると、リードソロモン復号によって誤り訂正された系列に対して、ランレングス制限復号が実行される。そうすると、符号化側において選択された符号化系列を正確に判別でき、全体としての誤り訂正能力を向上できる。   According to this aspect, since run-length limited encoding is performed on two different sequences, two completely different encoded sequences can be obtained. By executing predetermined signal processing so as not to increase the number of bits included in a sequence to be subjected to run-length limited encoding, an encoded sequence can be obtained without reducing the overall coding rate. Since the two encoded sequences are completely different, it is a more preferable option in selecting an encoded sequence having a high DC-free property. By selecting an encoded sequence having a high DC-free property from more preferable options, the possibility of selecting an encoded sequence having a higher DC-free property can be improved. Further, by using the same run length limited encoding circuit, the circuit configuration can be simplified and the scale can be reduced. Further, by performing Reed-Solomon coding after performing run-length limited coding, the decoding side performs run-length limited decoding on the signal sequence after performing Reed-Solomon decoding. In other words, run-length limited decoding is performed on a sequence that has been error-corrected by Reed-Solomon decoding. If it does so, the encoding sequence selected in the encoding side can be discriminate | determined correctly, and the error correction capability as a whole can be improved.

信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行してもよい。また、信号処理部は、デジタル信号系列に含まれる複数のビットの順序を並び替えてもよい。また、信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理をした後に、ビットの順序を並び替え処理を実行してもよい。この態様によると、ビット反転処理、および/または、ビットの順序を並び替えることによって、ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、異なる系列を生成するために実行する所定の処理をビット反転処理、および/または、ビットの順序を並び替える処理とすることによって、単純な回路構成で所定の処理を実現できる。   The signal processing unit may perform bit inversion processing on each of a plurality of bits included in the digital signal sequence. The signal processing unit may rearrange the order of a plurality of bits included in the digital signal sequence. Further, the signal processing unit may perform a bit order rearrangement process after performing a bit inversion process on each of a plurality of bits included in the digital signal sequence. According to this aspect, different sequences can be generated without increasing the number of bits included in a sequence to be run-length limited encoding by rearranging the bit inversion process and / or the bit order. Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, the predetermined process executed to generate the different series is a bit inversion process and / or a process of rearranging the order of the bits, whereby the predetermined process can be realized with a simple circuit configuration.

直流成分除去符号化部は、第1符号化系列と第2符号化系列のうち、いずれか一方の符号化系列を選択する符号化系列選択部と、符号化系列選択部によって選択された符号化系列を示す選択識別情報を生成する選択識別情報生成部と、符号化系列選択部によって選択された符号化系列のいずれかの個所に、選択識別情報生成部によって生成された選択識別情報を付加する識別情報付加部と、を有してもよい。また、符号化系列選択部は、当該符号化系列選択部によってすでに選択された符号化系列と前記第1符号化系列とを連結させる第1連結部と、当該符号化系列選択部によってすでに選択された符号化系列と前記第2符号化系列とを連結させる第2連結部と、を有してもよい。符号化系列選択部は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の符号化系列を選択してもよい。第1ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する第1付加部と、第2ランレングス制限符号化部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する第2付加部と、をさらに備えてもよい。   The direct current component removal encoding unit includes an encoded sequence selection unit that selects one of the first encoded sequence and the second encoded sequence, and an encoding selected by the encoded sequence selection unit. The selection identification information generated by the selection identification information generation unit is added to any part of the selection identification information generation unit that generates selection identification information indicating a sequence and the encoded sequence selected by the encoding sequence selection unit. And an identification information adding unit. Further, the encoded sequence selection unit is already selected by the encoded sequence selection unit and a first connection unit that connects the encoded sequence already selected by the encoded sequence selection unit and the first encoded sequence. A second connecting unit that connects the encoded sequence and the second encoded sequence. The encoded sequence selection unit sets the sequence concatenated by the first concatenation unit as a new first encoded sequence, sets the sequence concatenated by the second concatenation unit as a new second encoded sequence, and selects one of the codes A conversion sequence may be selected. A first addition unit for adding a first determination bit to any part of the first encoded sequence output from the first run-length limited encoding unit, and a second output from the second run-length limited encoding unit A second adding unit that adds a second determination bit obtained by inverting the first determination bit to any part of the encoded sequence may be further provided.

ここで、「すでに選択された符号化系列と前記第1符号化系列とを連結させる」とは、過去において選択された符号化系列と、現在選択の候補となっている系列とを連結させることなどを含む。この態様によると、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。   Here, “concatenating the already selected encoded sequence and the first encoded sequence” means connecting the encoded sequence selected in the past and the sequence currently selected as a candidate. Etc. According to this aspect, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily determined on the decoding side.

符号化系列選択部は、第1比率計算部と、第2比率計算部と、選択出力部と、を有してもよい。第1比率計算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。第2比率計算部は、第2ランレングス制限符号化部によって生成された、もしくは第2連結部によって連結された第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。選択出力部は、第1比率計算部で計算された比率と、第2比率計算部で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する。この態様によると、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。   The encoded sequence selection unit may include a first ratio calculation unit, a second ratio calculation unit, and a selection output unit. The first ratio calculation unit includes a bit indicating 0 and 1 among a plurality of bits generated by the first run length limited encoding unit or included in the first encoded sequence concatenated by the first concatenation unit The ratio with the bit indicating is calculated. The second ratio calculation unit calculates a bit indicating 0 and 1 out of a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenation unit. Calculate the ratio to the indicated bit. The selection output unit selects and outputs an encoded sequence corresponding to a ratio closer to 50% of the ratio calculated by the first ratio calculation unit and the ratio calculated by the second ratio calculation unit. . According to this aspect, an encoded sequence having a high DC-free property can be selected by selecting the one where the ratio between the bit indicating 0 and the bit indicating 1 is close to 50%.

符号化系列選択部は、第1合算部と、第2合算部と、符号化系列検出部と、選択出力部と、を有してもよい。第1合算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する。第2合算部は、第2ランレングス制限符号化部によって生成された、もしくは、第2連結部によって連結された第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する。符号化系列検出部は、第1合算部によって生成された第1合算値の絶対値と、第2合算部によって生成された第2合算値の絶対値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を検出する。選択出力部は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   The encoded sequence selection unit may include a first summation unit, a second summation unit, an encoded sequence detection unit, and a selection output unit. The first summation unit generates a first summation value by summing a plurality of bits included in the first encoded sequence generated by the first run length limited encoding unit or concatenated by the first concatenation unit. To do. The second summation unit generates a second summation value by summing a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenation unit. To do. The coded sequence detection unit compares the absolute value of the first sum value generated by the first summation unit with the absolute value of the second sum value generated by the second summation unit, and compares the absolute value of the first summation value with the first summation sequence. And an encoded sequence corresponding to the smaller sum of the second encoded sequences is detected. The selection output unit selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

ここで、「合算値」とは、系列に含まれるビットを加算することなどを含む。また、「系列に含まれる複数のビット」とは、0もしくは1を示すビットなどを含み、また、0を示すビットを+1と置換え、1を示すビットを−1と置換えた場合におけるビットなども含む。この態様によると、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   Here, the “summed value” includes adding bits included in the series. In addition, “a plurality of bits included in a sequence” includes a bit indicating 0 or 1 and the like, and a bit when a bit indicating 0 is replaced with +1 and a bit indicating 1 is replaced with −1. Including. According to this aspect, a plurality of bits included in the encoded sequence are added together, and a sequence corresponding to a smaller combined value is selected, so that an encoded sequence having a high DC-free property can be selected.

符号化系列選択部は、第1移動加算部と、第1最大値検出部と、第2移動加算部と、第2最大値検出部と、符号化系列検出部と、選択出力部と、を有してもよい。第1移動加算部は、第1ランレングス制限符号化部によって生成された、もしくは、第1連結部によって連結された第1符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第1移動加算値を生成する。第1最大値検出部は、第1移動加算部によって生成された複数の第1移動加算値のうち、最大値を検出する。第2移動加算部は、第2ランレングス制限符号化部によって生成された、もしくは、第2連結部によって連結された第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する。第2最大値検出部は、第2移動加算部によって生成された複数の第2移動加算値のうち、最大値を検出する。符号化系列検出部は、第1最大値検出部によって検出された最大値と、第2最大値検出部によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する。選択出力部は、第1符号化系列と第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   The encoded sequence selection unit includes a first mobile addition unit, a first maximum value detection unit, a second mobile addition unit, a second maximum value detection unit, an encoded sequence detection unit, and a selection output unit. You may have. The first mobile adder is configured to move and add a plurality of bits included in the first encoded sequence generated by the first run length limited encoding unit or concatenated by the first concatenation unit. The same number of first moving addition values as bits are generated. The first maximum value detection unit detects a maximum value among the plurality of first movement addition values generated by the first movement addition unit. The second moving addition unit moves and adds a plurality of bits included in the second encoded sequence generated by the second run length limited encoding unit or concatenated by the second concatenating unit. As many second moving addition values as the number of bits are generated. The second maximum value detection unit detects a maximum value among the plurality of second movement addition values generated by the second movement addition unit. The encoded sequence detection unit compares the maximum value detected by the first maximum value detection unit with the maximum value detected by the second maximum value detection unit, and compares the first encoded sequence and the second encoded sequence. The encoded sequence corresponding to the smaller maximum value is detected. The selection output unit selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

ここで、「移動加算する」とは、移動加算し、さらに、絶対値を計算することなどを含む。この態様によると、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   Here, “moving and adding” includes moving and adding, and calculating an absolute value. According to this aspect, by selecting a sequence using the maximum value among the results of moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected.

冗長系列付加部は、リードソロモン符号化部によって生成された冗長系列を複数の組に分割する分割部を有してもよい。分割部によって分割された組を、ランレングス符号化系列のいずれかの個所であって、組ごとにそれぞれ異なる個所に付加してもよい。冗長系列付加部は、分割部によって分割された組ごとに、等間隔で、ランレングス符号化系列に付加してもよい。この態様によると、ランレングス符号化系列のいずれかの個所に、複数の組に分割された冗長系列をそれぞれ異なる個所に分散して付加することによって、冗長系列が付加された後の系列のRLL性、および、DCフリー特性を向上できる。また、組ごとに等間隔で付加することによって、冗長系列が付加された後の系列のRLL性、および、DCフリー特性をより向上できる。   The redundant sequence adding unit may include a dividing unit that divides the redundant sequence generated by the Reed-Solomon encoding unit into a plurality of sets. The group divided by the dividing unit may be added to any part of the run-length encoded sequence and to a different part for each group. The redundant sequence adding unit may add the run length encoded sequence at equal intervals for each group divided by the dividing unit. According to this aspect, the RLL of the sequence after the redundant sequence is added by distributing the redundant sequence divided into a plurality of sets to different locations at any location in the run-length encoded sequence. And DC-free characteristics can be improved. Further, by adding each group at equal intervals, it is possible to further improve the RLL property and DC-free characteristics of the sequence after the redundant sequence is added.

分割部は、リードソロモン符号化部によって生成された冗長系列に含まれる複数のビットのうち、いずれか2以上のビットを1組として、分割してもよい。分割部は、リードソロモン符号化部によって生成された冗長系列に含まれる複数のビットのうち、2N(Nは1以上の整数)個のビットを1組として、分割してもよい。この態様によると、ランレングス符号化系列に偶数個ずつ冗長系列を付加することによって、冗長系列が付加された後の系列のRLL性をより向上できる。   The dividing unit may divide one of two or more bits included in the redundant sequence generated by the Reed-Solomon encoding unit as one set. The dividing unit may divide 2N (N is an integer of 1 or more) bits as a set among a plurality of bits included in the redundant sequence generated by the Reed-Solomon encoding unit. According to this aspect, by adding an even number of redundant sequences to the run-length encoded sequence, it is possible to further improve the RLL property of the sequence after the redundant sequence is added.

本発明の第2実施形態のさらに別の態様は、信号復号装置である。この装置は、所定の冗長系列が挿入された第1信号系列を入力する入力部と、入力部によって入力された第1信号系列のうち、冗長系列の挿入個所を検出する冗長系列検出部と、冗長系列検出部によって検出された挿入個所にしたがって、入力部によって入力された第1信号系列から冗長系列を切り離して、第2信号系列を取得する冗長系列取得部と、冗長系列取得部によって切り離された冗長ビットを用いて、冗長系列取得部によって取得された第2信号系列の誤りを訂正するリードソロモン復号部と、リードソロモン復号部によって誤りが検査された第2信号系列に対し、ランレングス制限復号を実行するランレングス制限復号部と、を備える。この態様によると、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことによって、誤り訂正能力を向上できる。   Yet another aspect of the second embodiment of the present invention is a signal decoding apparatus. The apparatus includes: an input unit that inputs a first signal sequence into which a predetermined redundant sequence is inserted; a redundant sequence detection unit that detects an insertion position of a redundant sequence out of the first signal sequence input by the input unit; According to the insertion location detected by the redundant sequence detection unit, the redundant sequence is separated from the first signal sequence input by the input unit, and the second sequence is separated by the redundant sequence acquisition unit and the redundant sequence acquisition unit. The Reed-Solomon decoding unit that corrects the error of the second signal sequence acquired by the redundant sequence acquisition unit using the redundant bits, and the run-length limit for the second signal sequence that has been checked for errors by the Reed-Solomon decoding unit A run-length limited decoding unit that performs decoding. According to this aspect, error correction capability can be improved by performing run-length limited decoding on the signal sequence after performing Reed-Solomon decoding.

本発明の第2実施形態の別の態様もまた、信号復号装置である。この装置は、入力部と、判定ビット取得部と、ランレングス制限復号部と、信号処理部と、を備える。入力部は、所定の判定ビットが付加された符号化系列を入力する。判定ビット取得部は、入力部によって入力された符号化系列に付加されている所定の判定ビットを取得する。ランレングス制限復号部は、入力部によって入力された符号化系列をランレングス制限復号することによってデジタル信号系列を生成する。信号処理部は、ランレングス制限復号部によって生成されたデジタル信号系列に対し、判定ビット取得部によって取得された判定ビットに応じて、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して出力する処理、もしくは、デジタル信号系列に含まれる複数のビットをそのまま出力する処理のいずれかの処理を実行する。また、信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して出力する処理に代えて、デジタル信号系列に含まれる複数のビットの順序を入れ替える処理を実行してもよい。この態様によると、符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。   Another aspect of the second embodiment of the present invention is also a signal decoding device. The apparatus includes an input unit, a determination bit acquisition unit, a run length limited decoding unit, and a signal processing unit. The input unit inputs an encoded sequence to which a predetermined determination bit is added. The determination bit acquisition unit acquires a predetermined determination bit added to the encoded sequence input by the input unit. The run length limited decoding unit generates a digital signal sequence by performing run length limited decoding on the encoded sequence input by the input unit. The signal processing unit performs bit inversion on each of a plurality of bits included in the digital signal sequence in accordance with the determination bit acquired by the determination bit acquisition unit with respect to the digital signal sequence generated by the run length limited decoding unit. Either the process of outputting or the process of outputting a plurality of bits included in the digital signal series as they are is executed. Further, the signal processing unit may execute a process of changing the order of the plurality of bits included in the digital signal sequence, instead of the process of performing bit inversion on each of the plurality of bits included in the digital signal sequence. . According to this aspect, the original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side.

本発明の第2実施形態のさらに別の態様は、信号処理装置である。この装置は、信号符号化装置と信号復号装置とを備える。この態様によると、ランレングス制限符号化を行なった後にリードソロモン符号化を行なうことによって、復号側においては、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことになるので、誤り訂正能力を向上できる。   Yet another aspect of the second embodiment of the present invention is a signal processing device. This apparatus includes a signal encoding device and a signal decoding device. According to this aspect, by performing Reed-Solomon coding after performing run-length limited coding, the decoding side performs run-length limited decoding on the signal sequence after performing Reed-Solomon decoding. Therefore, the error correction capability can be improved.

本発明の第2実施形態のさらに別の態様は、記憶システムである。この記憶システムは、データを記憶装置に書き込むライトチャネルと、記憶装置に記憶されているデータを読み出すリードチャネルとを備える信号記憶システムであって、ライトチャネルは、データに対し、ランレングス制限符号化を実行し、さらに、ランレングス制限符号化されたデータに対し、リードソロモン符号化を実行する第1の符号化部と、第1の符号化部で符号化されたデータに対し、低密度パリティ検査符号を用いて符号化する第2の符号化部と、第2の符号化部で符号化されたデータを記憶装置に書き込む書き込み部と、を備え、リードチャネルは、記憶装置から出力されたアナログ信号を入力する入力部と、入力部から入力されたアナログ信号をデジタル信号に変換して出力するアナログデジタル変換部と、アナログデジタル変換部から出力されたデジタル信号の尤度を計算して軟判定値を出力するソフト出力検出部と、ソフト出力検出部から出力されたデータを復号する、第2の符号化部に対応した、第1の復号部と、第1の復号部で復号されたデータを復号する、第1の符号化部に対応した、第2の復号部と、を備える。第1の符号化部は、データをランレングス制限符号化することによって、ランレングス符号化系列を生成するランレングス制限符号化部と、ランレングス制限符号化部によって生成されたランレングス符号化系列をリードソロモン符号化することによって、冗長系列を生成するリードソロモン符号化部と、リードソロモン符号化部によって生成された冗長系列をランレングス制限符号化部によって生成されたランレングス符号化系列に付加する冗長系列付加部と、を有する。第2の復号部は、第1の復号部によって復号されたデータを入力する入力部と、入力部によって入力された第1信号系列のうち、冗長系列の挿入個所を検出する冗長系列検出部と、冗長系列検出部によって検出された挿入個所にしたがって、入力部によって入力された第1信号系列から冗長系列を切り離して、第2信号系列を取得する冗長系列取得部と、冗長系列取得部によって切り離された冗長ビットを用いて、冗長系列取得部によって取得された第2信号系列の誤りを訂正するリードソロモン復号部と、リードソロモン復号部によって誤りが訂正された第2信号系列に対し、ランレングス制限復号を実行するランレングス制限復号部と、を有する。   Yet another aspect of the second embodiment of the present invention is a storage system. The storage system is a signal storage system including a write channel for writing data to the storage device and a read channel for reading data stored in the storage device, and the write channel performs run-length limited encoding on the data. In addition, a first encoding unit that performs Reed-Solomon encoding on the data that has been run-length limited encoded, and a low-density parity for the data encoded by the first encoding unit A second encoding unit that encodes using the check code; and a writing unit that writes the data encoded by the second encoding unit to the storage device, and the read channel is output from the storage device An input unit for inputting an analog signal, an analog-to-digital conversion unit for converting the analog signal input from the input unit into a digital signal and outputting the digital signal, and an analog digital signal Corresponding to a soft output detection unit that calculates the likelihood of the digital signal output from the digital conversion unit and outputs a soft decision value, and a second encoding unit that decodes the data output from the soft output detection unit , A first decoding unit, and a second decoding unit corresponding to the first encoding unit, which decodes the data decoded by the first decoding unit. The first encoding unit includes a run-length limited encoding unit that generates a run-length encoded sequence by performing run-length limited encoding on the data, and a run-length encoded sequence generated by the run-length limited encoded unit Reed-Solomon encoding unit that generates a redundant sequence by adding Reed-Solomon encoding and a redundant sequence generated by the Reed-Solomon encoding unit to the run-length encoded sequence generated by the run-length limited encoding unit A redundant sequence adding unit. The second decoding unit includes: an input unit that inputs data decoded by the first decoding unit; a redundant sequence detection unit that detects an insertion point of a redundant sequence from the first signal sequence input by the input unit; In accordance with the insertion location detected by the redundant sequence detection unit, the redundant sequence is separated from the first signal sequence input by the input unit, and is separated by the redundant sequence acquisition unit that acquires the second signal sequence A Reed-Solomon decoding unit that corrects an error in the second signal sequence acquired by the redundant sequence acquisition unit using the redundant bits, and a run length for the second signal sequence in which the error is corrected by the Reed-Solomon decoding unit. A run-length limited decoding unit that performs limited decoding.

この態様によると、ランレングス制限符号化を行なった後にリードソロモン符号化を行なうことによって、復号側においては、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことになるので、誤り訂正能力を向上できる。また、誤り訂正能力を向上できるので、より高速に記憶システムにアクセスすることができる。   According to this aspect, by performing Reed-Solomon coding after performing run-length limited coding, the decoding side performs run-length limited decoding on the signal sequence after performing Reed-Solomon decoding. Therefore, the error correction capability can be improved. Further, since the error correction capability can be improved, the storage system can be accessed at higher speed.

本発明の第2実施形態のさらに別の態様もまた、記憶システムである。この記憶システムは、さらに、データを記憶する記憶装置と、記憶装置への書き込みと、記憶装置からの読み出しとを制御する制御部と、を有する。リードチャネルは、制御部の指示に従って、記憶装置に記憶されているデータを読み出し、ライトチャネルは、制御部の指示に従って、符号化されたデータを記憶装置に書き込む。この態様によると、ランレングス制限符号化を行なった後にリードソロモン符号化を行なうことによって、復号側においては、リードソロモン復号を行なった後の信号系列に対してランレングス制限復号を行なうことになるので、誤り訂正能力を向上できる。また、誤り訂正能力を向上できるので、より高速に記憶システムにアクセスすることができる。   Yet another aspect of the second embodiment of the present invention is also a storage system. The storage system further includes a storage device that stores data, and a control unit that controls writing to the storage device and reading from the storage device. The read channel reads data stored in the storage device in accordance with an instruction from the control unit, and the write channel writes encoded data in the storage device in accordance with an instruction from the control unit. According to this aspect, by performing Reed-Solomon coding after performing run-length limited coding, the decoding side performs run-length limited decoding on the signal sequence after performing Reed-Solomon decoding. Therefore, the error correction capability can be improved. Further, since the error correction capability can be improved, the storage system can be accessed at higher speed.

本発明の第2実施形態のさらに別の態様は、信号符号化装置である。この装置は、符号化装置おいて、当該装置は、1つの半導体基板上に一体集積化されてもよい。この態様によると、DCフリー性およびランレングス特性の高い符号化処理が効率良く実行でき、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Yet another aspect of the second embodiment of the present invention is a signal encoding apparatus. This device may be an integrated device, and the device may be integrated on a single semiconductor substrate. According to this aspect, encoding processing with high DC-free characteristics and high run-length characteristics can be efficiently performed, and it is not necessary to install extra hardware, so that a low-scale semiconductor integrated circuit can be realized.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明の第2実施形態を具体的に説明する前に、まず本第2実施形態にかかる記憶システム1100について概要を述べる。本第2実施形態にかかる記憶システム1100は、ハードディスクコントローラと、磁気ディスク装置と、リードチャネルとライトチャネルを含むリードライトチャネルと、を有する。ライトチャネルにおいては、誤り訂正符号化として、リードソロモン符号化と、ランレングス制限符号化と、DCフリー符号化と、LDPC符号化とを実行する。このリードソロモン符号化(以下、「RS符号化」と略称する。)は、リードチャネルを搭載する半導体と一体的に搭載してもよく、また、他の半導体に搭載されていてもよい。また、リードチャネルにおいては、ビタビアルゴリズムなどを用いたデータ検出と、LDPC復号を行なう。このデータ検出は、DC成分が存在することによって検出精度が劣化することが知られている。さらに、検出精度が劣化することによりLDPC復号の訂正能力が低減する。したがって、本発明の第2実施形態においては、LDPC符号化を行なう前の段階において、DC成分を低減させるDCフリー符号化を行なう構成とした。なお、本第2実施形態にかかる記憶システム1100は、LDPC符号化に限定されず、他の誤り訂正符号化方式、たとえば、ターボ符号化や畳込み符号化が実行される構成であってもよい。   Before specifically describing the second embodiment of the present invention, an outline of the storage system 1100 according to the second embodiment will be described first. The storage system 1100 according to the second embodiment includes a hard disk controller, a magnetic disk device, and a read / write channel including a read channel and a write channel. In the write channel, Reed-Solomon coding, run-length limited coding, DC-free coding, and LDPC coding are executed as error correction coding. This Reed-Solomon encoding (hereinafter abbreviated as “RS encoding”) may be mounted integrally with a semiconductor on which a lead channel is mounted, or may be mounted on another semiconductor. In the read channel, data detection using a Viterbi algorithm or the like and LDPC decoding are performed. In this data detection, it is known that detection accuracy deteriorates due to the presence of a DC component. Furthermore, the correction capability of LDPC decoding decreases due to the deterioration of detection accuracy. Therefore, in the second embodiment of the present invention, the configuration is such that DC-free encoding for reducing the DC component is performed before the LDPC encoding. Note that the storage system 1100 according to the second embodiment is not limited to LDPC encoding, and may be configured to execute other error correction encoding schemes, for example, turbo encoding or convolutional encoding. .

DCフリー符号化は、異なる2つの系列のうち、よりDCフリー性の高い系列を選択することによって実現される。異なる2つの系列を生成するために、異なる2つの性質を有するRLL符号化を実行すると、2つ目のRLL符号化の回路が必要となる分、回路規模が増大する。また、回路規模の問題としないアプリケーションの場合であっても、異なる2つの性質を有するRLL符号化を実行した結果、双方の系列ともにDCフリー性が良いとは限らない。したがって、本発明の第2実施形態においては、同一のRLL符号化を実行することとした。   DC-free coding is realized by selecting a sequence having higher DC-free property from two different sequences. When RLL encoding having two different properties is performed in order to generate two different sequences, the circuit scale increases as the second RLL encoding circuit is required. Even in the case of an application that does not pose a problem in circuit scale, as a result of executing RLL coding having two different properties, both sequences are not always good in DC-freeness. Therefore, in the second embodiment of the present invention, the same RLL encoding is executed.

ここで、同一のRLL符号化を実行する場合、選択の対象となる系列が同一になるのを回避する必要がある。また、DCフリー特性の良い制限符号化系列が存在しない場合を避ける必要もある。そこで、本発明の第2実施形態においては、RLL符号化する前に、任意の信号系列と、任意の信号系列に所定の信号処理を実行した後の2つの系列とを対象とすることとした。これにより、生成される系列は全く異なることとなるため、統計的にDCフリー性の良い系列が生成できる。また、この所定の信号処理を信号系列のビット数を変えずに実行することによって、符号化利得の減少を回避している。さらに、信号処理の処理内容を任意に変更することによって、さまざまな系列を生成できるので、選択の幅を広げられる。そのため、よりDCフリー特性の良い系列を生成できる可能性が向上する。したがって、本発明の第2実施形態は、ハードディスクのような符号化率を低く設定できないようなアプリケーションにおいて好適となる。   Here, when executing the same RLL encoding, it is necessary to avoid that the sequences to be selected are the same. It is also necessary to avoid the case where there is no restricted coding sequence with good DC-free characteristics. Therefore, in the second embodiment of the present invention, an arbitrary signal sequence and two sequences after executing predetermined signal processing on an arbitrary signal sequence are subjected to RLL encoding. . As a result, the generated sequences are completely different, so that a sequence having a statistically good DC-free property can be generated. Further, by executing this predetermined signal processing without changing the number of bits of the signal sequence, a reduction in coding gain is avoided. Furthermore, since various sequences can be generated by arbitrarily changing the processing content of signal processing, the range of selection can be expanded. Therefore, the possibility of generating a sequence with better DC-free characteristics is improved. Therefore, the second embodiment of the present invention is suitable for an application such as a hard disk where the coding rate cannot be set low.

複数のRLL符号化された系列のいずれかを選択する場合、復号側において、誤って、符号化側において選択された系列とは異なる系列を対象とする可能性がある。この場合、誤りが増大することとなる。一般的に、リードソロモン符号化は、RLL符号化の前に実行されていた。この場合、復号側においては、RLL復号は、リードソロモン復号(以下、「RS復号」と略称する)の前に実行されるとなり、選択された系列の判定が誤る可能性が低くなかった。したがって、本発明の第2実施形態においては、符号化側においては、RLL符号化および/またはDCフリー符号化、RS符号化の順で誤り訂正符号化を行なうこととした。また、復号側においては、RS復号、RLL復号の順で誤り訂正復号を行なうこととした。   When selecting any one of a plurality of RLL-encoded sequences, there is a possibility that the decoding side erroneously targets a sequence different from the sequence selected on the encoding side. In this case, errors increase. In general, Reed-Solomon encoding has been performed before RLL encoding. In this case, on the decoding side, RLL decoding is performed before Reed-Solomon decoding (hereinafter abbreviated as “RS decoding”), and the possibility of erroneous determination of the selected sequence is not low. Therefore, in the second embodiment of the present invention, on the encoding side, error correction encoding is performed in the order of RLL encoding and / or DC-free encoding and RS encoding. On the decoding side, error correction decoding is performed in the order of RS decoding and RLL decoding.

しかしながら、符号化側において、RLL符号化および/またはDCフリー符号化、RS符号化の順で誤り訂正符号化を行なった場合、RS符号化において付加される冗長ビットは、RLL性および/またはDCフリー特性を満たさないこととなる。一般的に、RS符号化において生成され、RLL符号化系列に付加される冗長ビットの個数は、付加される系列に比べ1/10程度であるため、RLL性および/またはDCフリー特性を満たさないことによる弊害は大きい。したがって、本発明の第2実施形態においては、RS符号化において生成された冗長系列を分割し、RLL符号化系列に分散して付加することとした。これにより、冗長系列が付加された後の符号化系列は、RLL性、DCフリー特性を満足することとなる。詳細は後述する。   However, on the encoding side, when error correction coding is performed in the order of RLL coding and / or DC-free coding and RS coding, redundant bits added in RS coding are RLL and / or DC. The free characteristics will not be satisfied. In general, the number of redundant bits generated in RS encoding and added to an RLL encoded sequence is about 1/10 of the added sequence, so that the RLL property and / or the DC-free characteristic is not satisfied. The harmful effect of this is great. Therefore, in the second embodiment of the present invention, the redundant sequence generated in the RS encoding is divided and added in a distributed manner to the RLL encoded sequence. As a result, the encoded sequence after the redundant sequence is added satisfies the RLL property and the DC-free characteristic. Details will be described later.

以下、図面を用いて、本発明の第2実施形態について詳細に説明する。   Hereinafter, a second embodiment of the present invention will be described in detail with reference to the drawings.

図9は、本発明の第2実施形態に係る記憶システム1100の構成を示す図である。図9の記憶システム1100は、大きく分けて、ハードディスクコントローラ1001(以下、「HDC1001」と略記する。)、中央処理演算装置1002(以下、「CPU1002」と略記する。)、リードライトチャネル1003(以下、「R/Wチャネル1003」と略記する。)、ボイスコイルモータ/スピンドルモータ制御部1004(以下、「VCM/SPM制御部1004」と略記する。)、及びディスクエンクロージャ1005(以下、「DE1005」と略記する。)とから構成される。一般に、HDC1001、CPU1002、R/Wチャネル1003、及びVCM/SPM制御部1004は同一の基板上に構成される。   FIG. 9 is a diagram showing a configuration of a storage system 1100 according to the second embodiment of the present invention. The storage system 1100 of FIG. 9 is broadly divided into a hard disk controller 1001 (hereinafter abbreviated as “HDC 1001”), a central processing unit 1002 (hereinafter abbreviated as “CPU 1002”), and a read / write channel 1003 (hereinafter abbreviated as “CPU 1002”). , Abbreviated as “R / W channel 1003”), voice coil motor / spindle motor controller 1004 (hereinafter abbreviated as “VCM / SPM controller 1004”), and disk enclosure 1005 (hereinafter “DE1005”). Abbreviated as)). In general, the HDC 1001, the CPU 1002, the R / W channel 1003, and the VCM / SPM control unit 1004 are configured on the same substrate.

HDC1001は、HDC1001全体を制御する主制御部1011、データフォーマット制御部1012、及びバッファRAM1014を含む。HDC1001は、図示しないインタフェース部を介してホストシステムと接続される。また、R/Wチャネル1003を介して、DE1005と接続されており、主制御部1011の制御により、ホストとDE1005の間のデータ転送を実行する。このHDC1001には、R/Wチャネル1003で生成されるリードリファレンスクロック(RRCK)が入力される。データフォーマット制御部1012は、ホストから転送されたデータをディスク媒体1050上に記録するのに適したフォーマットに変換し、逆に、ディスク媒体1050から再生されたデータをホストに転送するのに適したフォーマットに変換する。ディスク媒体1050は、たとえば、磁気ディスクを含む。バッファRAM1014は、ホストから転送されたデータを一時的に保存し、適切なタイミングでR/Wチャネル1003に転送する。逆に、R/Wチャネル1003から転送されたリードデータを一時的に保存し、適切なタイミングでホストに転送する。   The HDC 1001 includes a main control unit 1011 that controls the entire HDC 1001, a data format control unit 1012, and a buffer RAM 1014. The HDC 1001 is connected to the host system via an interface unit (not shown). Further, it is connected to the DE 1005 via the R / W channel 1003, and executes data transfer between the host and the DE 1005 under the control of the main control unit 1011. The HDC 1001 receives a read reference clock (RRCK) generated by the R / W channel 1003. The data format control unit 1012 converts the data transferred from the host into a format suitable for recording on the disk medium 1050 and, conversely, suitable for transferring the data reproduced from the disk medium 1050 to the host. Convert to format. The disk medium 1050 includes, for example, a magnetic disk. The buffer RAM 1014 temporarily stores the data transferred from the host and transfers it to the R / W channel 1003 at an appropriate timing. Conversely, the read data transferred from the R / W channel 1003 is temporarily stored and transferred to the host at an appropriate timing.

CPU1002は、フラッシュROM1021(以下、「FROM1021」と略記する。)、及びRAM1022を含み、HDC1001、R/Wチャネル1003、VCM/SPM制御部1004、及びDE1005と接続される。FROM1021には、CPU1002の動作プログラムが保存されている。   The CPU 1002 includes a flash ROM 1021 (hereinafter abbreviated as “FROM 1021”) and a RAM 1022, and is connected to the HDC 1001, the R / W channel 1003, the VCM / SPM control unit 1004, and the DE 1005. The FROM 1021 stores an operation program for the CPU 1002.

R/Wチャネル1003は、ライトチャネル1031とリードチャネル1032とに大別され、HDC1001との間で記録するデータ及び再生されたデータの転送を実行する。また、R/Wチャネル1003は、DE1005と接続され、記録信号の送信、再生信号の受信を実行する。詳細は後述する。   The R / W channel 1003 is roughly divided into a write channel 1031 and a read channel 1032, and executes transfer of data to be recorded and reproduced data to and from the HDC 1001. Further, the R / W channel 1003 is connected to the DE 1005 and executes transmission of a recording signal and reception of a reproduction signal. Details will be described later.

VCM/SPM制御部1004は、DE1005中のボイスコイルモータ1052(以下、「VCM1052」と略記する。)とスピンドルモータ1053(以下、「SPM1053」と略記する。)を制御する。   The VCM / SPM control unit 1004 controls a voice coil motor 1052 (hereinafter abbreviated as “VCM1052”) and a spindle motor 1053 (hereinafter abbreviated as “SPM1053”) in the DE 1005.

DE1005は、R/Wチャネル1003と接続され、記録信号の受信、再生信号の送信を実行する。またDE1005は、VCM/SPM制御部1004と接続されている。DE1005は、ディスク媒体1050、ヘッド1051、VCM1052、SPM1053、及びプリアンプ1054等を有している。図9の記憶システム1100においては、ディスク媒体1050が1枚であり、且つヘッド1051がディスク媒体1050の一方の面側のみに配置されている場合を想定しているが、複数のディスク媒体1050が積層配置された構成であってもよい。また、ヘッド1051は、ディスク媒体1050の各面に対応して設けられるのが一般的である。R/Wチャネル1003により送信された記録信号は、DE1005内のプリアンプ1054を経由してヘッド1051に供給され、ヘッド1051によりディスク媒体1050に記録される。逆に、ヘッド1051によりディスク媒体1050から再生された信号は、プリアンプ1054を経由してR/Wチャネル1003に送信される。DE1005内のVCM1052は、ヘッド1051をディスク媒体1050上の目標位置に位置決めするために、ヘッド1051をディスク媒体1050の半径方向に移動させる。また、SPM1053は、ディスク媒体1050を回転させる。   The DE 1005 is connected to the R / W channel 1003 and executes reception of a recording signal and transmission of a reproduction signal. The DE 1005 is connected to the VCM / SPM control unit 1004. The DE 1005 includes a disk medium 1050, a head 1051, a VCM 1052, an SPM 1053, a preamplifier 1054, and the like. In the storage system 1100 of FIG. 9, it is assumed that there is one disk medium 1050 and the head 1051 is disposed only on one side of the disk medium 1050. A stacked arrangement may be used. The head 1051 is generally provided corresponding to each surface of the disk medium 1050. The recording signal transmitted through the R / W channel 1003 is supplied to the head 1051 via the preamplifier 1054 in the DE 1005 and is recorded on the disk medium 1050 by the head 1051. Conversely, a signal reproduced from the disk medium 1050 by the head 1051 is transmitted to the R / W channel 1003 via the preamplifier 1054. The VCM 1052 in the DE 1005 moves the head 1051 in the radial direction of the disk medium 1050 in order to position the head 1051 at a target position on the disk medium 1050. Further, the SPM 1053 rotates the disk medium 1050.

ここで、図10を用いて、R/Wチャネル1003について説明する。図10は、図9のR/Wチャネル1003の構成を示す図である。R/Wチャネル1003は、大きく分けて、ライトチャネル1031とリードチャネル1032から構成される。   Here, the R / W channel 1003 will be described with reference to FIG. FIG. 10 is a diagram showing the configuration of the R / W channel 1003 of FIG. The R / W channel 1003 is roughly composed of a write channel 1031 and a read channel 1032.

ライトチャネル1031は、バイトインターフェース部1301、スクランブラ1302、ランレングス制限/DCフリー/RS符号化部1303(以下、「RLL/DCフリー/RS符号化部1303」と略記する。)、低密度パリティチェック符号化部1304(以下、「LDPC符号化部1304」と略記する。)、書き込み補償部1305(以下、「ライトプリコン部1305」と略記する。)、ドライバ1306を含む。   The write channel 1031 includes a byte interface unit 1301, a scrambler 1302, a run length limited / DC free / RS encoding unit 1303 (hereinafter abbreviated as “RLL / DC free / RS encoding unit 1303”), and a low density parity. A check encoding unit 1304 (hereinafter abbreviated as “LDPC encoding unit 1304”), a write compensation unit 1305 (hereinafter abbreviated as “write precon unit 1305”), and a driver 1306 are included.

バイトインターフェース部1301では、HDC1001から転送されたデータが入力データとして処理される。メディア上に書き込むデータは1セクタ単位でHDC1001から入力される。データバスは通常1バイト(8ビット)であり、バイトインターフェース部1301により入力データとして処理される。スクランブラ1302はライトデータをランダムな系列に変換する。同じ規則のデータの繰り返しは、リード時における検出性能に悪影響を与え、エラーレートを悪化させるのを防ぐためである。   The byte interface unit 1301 processes the data transferred from the HDC 1001 as input data. Data to be written on the medium is input from the HDC 1001 in units of one sector. The data bus is normally 1 byte (8 bits), and is processed as input data by the byte interface unit 1301. The scrambler 1302 converts the write data into a random series. This is because the repetition of data with the same rule adversely affects the detection performance at the time of reading and prevents the error rate from deteriorating.

RLL/DCフリー/RS符号化部1303は、ディスク媒体1050から再生されたデータに含まれる誤りの訂正及び検出を可能にするために、記録するデータを情報シンボルとして、冗長シンボルを付加する。RS符号は、再生されたデータに誤りが生じているかを判断し、誤りがある場合には訂正或いは検出を行う。但し、誤りが訂正できるシンボル数は有限であり、冗長データの長さに関係する。即ち、多くの冗長データを付加するとフォーマット効率が悪化するため、誤り訂正可能シンボル数とはトレードオフとなる。ECCとしてRS符号を利用して誤り訂正を実行する場合、(冗長シンボル数/2)個までの誤りを訂正できる。また、RLL/DCフリー/RS符号化部1303は、0の最大連続長を制限する。0の最大連続長を制限することにより、自動利得制御部1317(以下、「AGC1317」と略記する。)などに適したデータ系列にする。さらに、直流成分を低減し、誤り訂正能力の向上を図る。詳細は後述する。   The RLL / DC free / RS encoding unit 1303 adds redundant symbols using data to be recorded as information symbols in order to enable correction and detection of errors included in data reproduced from the disk medium 1050. The RS code determines whether or not an error has occurred in the reproduced data, and corrects or detects if there is an error. However, the number of symbols that can correct errors is limited, and is related to the length of redundant data. That is, if a large amount of redundant data is added, the format efficiency deteriorates, so that there is a trade-off with the number of error correctable symbols. When error correction is performed using an RS code as ECC, up to (number of redundant symbols / 2) errors can be corrected. Also, the RLL / DC free / RS encoding unit 1303 limits the maximum continuous length of 0. By limiting the maximum continuous length of 0, a data series suitable for an automatic gain control unit 1317 (hereinafter abbreviated as “AGC1317”) or the like is obtained. Furthermore, the direct current component is reduced to improve the error correction capability. Details will be described later.

LDPC符号化部1304は、データ系列をLDPC符号化して冗長ビットであるパリティビットを含む系列を生成する役割を有する。LDPC符号化は、生成行列と呼ばれるk×nの行列に、長さkのデータ系列を左から掛け合わせることで実行される。この生成行列に対応する検査行列Hに含まれる各要素は、0もしくは1であり、1の数が0の数に比べて少ないことから、低密度パリティ検査符号(Low Density Parity Check Codes)と呼ばれている。この1と0の配置を利用することによって、LDPC繰返復号部にて、効率的にエラーを訂正できる。   The LDPC encoding unit 1304 has a role of generating a sequence including parity bits, which are redundant bits, by LDPC encoding the data sequence. LDPC encoding is performed by multiplying a k × n matrix called a generator matrix by a data sequence of length k from the left. Each element included in the parity check matrix H corresponding to this generator matrix is 0 or 1, and since the number of 1 is smaller than the number of 0, it is called a low density parity check code (Low Density Parity Check Codes). It is. By using this arrangement of 1 and 0, the LDPC iterative decoding unit can efficiently correct errors.

ライトプリコン部1305は、メディア上の磁化遷移の連続による非線形歪を補償する回路である。ライトデータから補償に必要な規則を検出し、正しい位置で磁化遷移が生ずるようにライト電流波形を予め調整をする。ドライバ1306は擬似ECLレベルに対応した信号を出力するドライバである。ドライバ1306からの出力は図示しないDE1005に送られ、プリアンプ1054を通してヘッド1051に送られ、ライトデータがディスク媒体1050上に記録される。   The write pre-con unit 1305 is a circuit that compensates for non-linear distortion due to continuous magnetization transitions on the medium. A rule necessary for compensation is detected from the write data, and the write current waveform is adjusted in advance so that the magnetization transition occurs at the correct position. The driver 1306 is a driver that outputs a signal corresponding to the pseudo ECL level. The output from the driver 1306 is sent to the DE 1005 (not shown), sent to the head 1051 through the preamplifier 1054, and the write data is recorded on the disk medium 1050.

リードチャネル1032は、可変利得増幅器1311(以下、「VGA1311」と略記する。)、ローパスフィルタ1312(以下、「LPF1312」と略記する。)、AGC1317、アナログ/デジタル変換器1313(以下、「ADC1313」と略記する。)、周波数シンセサイザ1314、フィルタ1315、ソフト出力検出部1320、LDPC繰返復号部1322、同期信号検出部1321、ランレングス制限/DCフリー/RS復号部1323(以下、「RLL/DCフリー/RS復号部1323」と略記する。)、デスクランブラ1324とから構成されている。   The read channel 1032 includes a variable gain amplifier 1311 (hereinafter abbreviated as “VGA 1311”), a low-pass filter 1312 (hereinafter abbreviated as “LPF 1312”), an AGC 1317, and an analog / digital converter 1313 (hereinafter “ADC 1313”). A frequency synthesizer 1314, a filter 1315, a soft output detector 1320, an LDPC iterative decoder 1322, a synchronization signal detector 1321, a run length limited / DC free / RS decoder 1323 (hereinafter referred to as “RLL / DC”). Abbreviated as “free / RS decoder 1323”) and a descrambler 1324.

VGA1311及びAGC1317は、図示しないプリアンプ1054から送られたデータのリード波形の振幅を調整する。AGC1317は理想的な振幅と実際の振幅を比較し、VGA1311に設定すべきゲインを決定する。LPF1312は、カットオフ周波数とブースト量を調整することができ、高周波ノイズの低減と部分応答(Partial Response。以下、「PR」と略記する。)波形への等化の一部を担う。LPF1312でPR波形への等化を行うが、ヘッドの浮上量変動、媒体の不均一性、モータの回転変動などの多くの要因により、アナログのLPFによる完全な等化は難しいので、後段に配置され、よりフレキシビリティに富んだフィルタ1315を用いて、再度PR波形への等化を行う。フィルタ1315は、そのタップ係数を適応的に調整する機能を有していてもよい。周波数シンセサイザ1314は、ADC1313のサンプリング用クロックを生成する。   The VGA 1311 and AGC 1317 adjust the amplitude of the read waveform of data sent from the preamplifier 1054 (not shown). The AGC 1317 compares the ideal amplitude with the actual amplitude, and determines the gain to be set in the VGA 1311. The LPF 1312 can adjust the cutoff frequency and the boost amount, and is responsible for part of the reduction to high-frequency noise and equalization to a partial response (hereinafter referred to as “PR”) waveform. Although the LPF 1312 equalizes the PR waveform, it is difficult to completely equalize with the analog LPF due to many factors such as fluctuations in the flying height of the head, non-uniformity of the medium, and fluctuations in the rotation of the motor. Then, equalization to the PR waveform is performed again using the filter 1315 having more flexibility. The filter 1315 may have a function of adaptively adjusting the tap coefficient. The frequency synthesizer 1314 generates a sampling clock for the ADC 1313.

ADC1313は、AD変換により直接同期サンプルを得る構成とした。なお、この構成の他に、AD変換により非同期サンプルを得る構成であってもよい。この場合は、ゼロ相リスタート部、タイミング制御部、及び補間フィルタをさらにADC1313の後段に設ければよい。非同期サンプルから同期サンプルを得る必要があり、これらのブロックがその役割を担う。ゼロ相リスタート部は初期位相を決定するためのブロックで、できるだけ早く同期サンプルを得るために用いられる。初期位相を決定した後は、タイミング制御部で理想的なサンプル値と実際のサンプル値を比較し、位相のずれを検出する。これを用いて補間フィルタのパラメータを決定することにより、同期サンプルを得ることができる。   The ADC 1313 is configured to obtain a synchronous sample directly by AD conversion. In addition to this configuration, an asynchronous sample may be obtained by AD conversion. In this case, a zero-phase restart unit, a timing control unit, and an interpolation filter may be further provided after the ADC 1313. Synchronous samples need to be obtained from asynchronous samples, and these blocks play that role. The zero phase restart unit is a block for determining an initial phase, and is used to obtain a synchronization sample as soon as possible. After determining the initial phase, the timing controller compares the ideal sample value with the actual sample value to detect a phase shift. A synchronous sample can be obtained by determining parameters of the interpolation filter using this.

ソフト出力検出部1320は、符号間干渉に伴う復号特性の劣化を回避するために、ビタビアルゴリズムの一種であるソフト出力ビタビアルゴリズム(Soft−Output Viterbi Algorithm。以下、「SOVA」と略記する。)が用いられる。すなわち、近年の磁気ディスク装置の記録密度の上昇に伴い、記録された符号間の干渉が大きくなり、復号特性が劣化するといった課題を解決するため、これを克服する方式として符号間干渉による部分応答を利用した最ゆう復号(Partial Response MaximumLikeihood。以下、「PRML」と略記する。)方式を用いる。PRMLは、再生信号の部分応答のゆう度を最大にする信号系列を求める方式である。   The soft output detection unit 1320 is a soft output Viterbi algorithm (Soft-Output Viterbi Algorithm; hereinafter abbreviated as “SOVA”), which is a type of Viterbi algorithm, in order to avoid degradation of decoding characteristics due to intersymbol interference. Used. That is, in order to solve the problem that the interference between recorded codes increases and the decoding characteristics deteriorate as the recording density of magnetic disk devices increases in recent years, a partial response due to intersymbol interference is a method for overcoming this problem. The most likely decoding (Partial Response Maximum Like Like) (hereinafter abbreviated as “PRML”) method is used. PRML is a method for obtaining a signal sequence that maximizes the likelihood of a partial response of a reproduction signal.

ソフト出力検出部1320としてSOVA方式が用いられている場合、軟判定値を出力する。例えば、SOVAの出力として、(−0.71、+0.18、+0.45、−0.45、−0.9)という軟判定値が出力されたとする。これらの値は、0である可能性が大きいか、1である可能性が大きいかを数値で表している。例えば、1番目の「−0.71」は1である可能性が大きいことを示しており、2番目の「+0.18」は0である可能性が大きいが1である可能性も小さくはないことを意味する。従来のビタビディテクタの出力はハード値であり、SOVAの出力を硬判定したものである。上記の例の場合、(1、0、0、1、1)である。ハード値は、0であるか、1であるかのみを表しており、どちらの可能性が高いかという情報が失われている。このためLDPC繰返復号部1322に軟判定値を入力する方が復号性能が向上する。   When the SOVA method is used as the soft output detection unit 1320, a soft decision value is output. For example, assume that a soft decision value (−0.71, +0.18, +0.45, −0.45, −0.9) is output as the SOVA output. These values represent numerical values as to whether the possibility of being 0 or 1 is high. For example, the first “−0.71” indicates that the possibility of 1 is large, and the second “+0.18” is likely to be 0, but the possibility of 1 is small. Means no. The output of the conventional Viterbi detector is a hard value, and the output of SOVA is hard-decided. In the case of the above example, it is (1, 0, 0, 1, 1). The hard value represents only whether it is 0 or 1, and information on which is more likely is lost. For this reason, decoding performance is improved by inputting a soft decision value to the LDPC iterative decoding unit 1322.

LDPC繰返復号部1322は、LDPC符号化されているデータ系列から、LDPC符号化前の系列に復元する役割を有する。復号化の方法としては、主に、sum−product復号法とmin−sum復号法があり、復号性能の面ではsum−product復号法が有利であるが、min−sum復号法はハードウェアによる実現が容易である特徴を持つ。LDPC符号を用いる実際の復号操作では、ソフト出力検出部1320とLDPC繰返復号部1322の間で繰り返し復号することにより、非常に良好な復号性能を得ることができる。このために実際はソフト出力検出部1320とLDPC繰返復号部1322を複数段配列した構成が必要になる。同期信号検出部1321は、データの先頭に付加された同期信号(Sync Mark)を検出し、データの先頭位置を認識する役割を有する。   The LDPC iterative decoding unit 1322 has a role of restoring an LDPC encoded data sequence to a sequence before LDPC encoding. As a decoding method, there are mainly a sum-product decoding method and a min-sum decoding method. The sum-product decoding method is advantageous in terms of decoding performance, but the min-sum decoding method is realized by hardware. With the feature that is easy. In an actual decoding operation using an LDPC code, very good decoding performance can be obtained by repeatedly decoding between the soft output detection unit 1320 and the LDPC iterative decoding unit 1322. For this reason, a configuration in which a plurality of stages of software output detection units 1320 and LDPC iterative decoding units 1322 are arranged is actually required. The synchronization signal detection unit 1321 has a role of detecting a synchronization signal (Sync Mark) added to the head of data and recognizing the head position of the data.

RLL/DCフリー/RS復号部1323は、LDPC繰返復号部1322から出力されたデータに対して、ライトチャネル1031のRLL/DCフリー/RS符号化部1303の逆操作を行い、元のデータ系列に戻す。詳細は後述する。   The RLL / DC free / RS decoding unit 1323 performs the reverse operation of the RLL / DC free / RS encoding unit 1303 of the write channel 1031 on the data output from the LDPC iterative decoding unit 1322, and the original data sequence Return to. Details will be described later.

デスクランブラ1324は、ライトチャネル1031のスクランブラ1302の逆操作を行い、元のデータ系列に戻す。ここで生成されたデータはHDC1001に転送される。   The descrambler 1324 performs the reverse operation of the scrambler 1302 of the write channel 1031 to restore the original data series. The data generated here is transferred to the HDC 1001.

ここで、「DCフリー」について説明する。図11(a)〜(b)は、本発明の第2実施形態にかかるDCフリー特性の例を示す図である。図11(a)は、DCフリーである場合とそうでない場合における軟判定値の分布例を示す図である。横軸は個数、縦軸は軟判定値を示す。また、縦軸は、中心を±0として、プラス側、マイナス側の双方の軟判定値を含む軸である。実線で示す第1特性1200は、DCフリーの場合の分布を示す。また、破線で示す第2特性1300は、DCフリーでない場合の分布例を示す。DCフリーとは、前述したように、系列に含まれる0と1のビットの個数の比率が50%であることを示す。いいかえると、図11(a)の第1特性1200に図示するように、図10のLDPC繰返復号部1322における軟判定値の分布において、±1/2が中心値となり、±0付近の分布量が少ないことなどをいう。一方、DCフリーでない場合、たとえば、図11(a)の第2特性1300に図示するように、軟判定値の分布において、±0付近の分布量が増加したものとなる。   Here, “DC free” will be described. FIGS. 11A to 11B are diagrams illustrating examples of DC-free characteristics according to the second embodiment of the present invention. FIG. 11A is a diagram illustrating an example of the distribution of soft decision values when DC is free and when DC is not. The horizontal axis represents the number, and the vertical axis represents the soft decision value. The vertical axis is an axis including ± 0 on the center and including both positive and negative soft decision values. A first characteristic 1200 indicated by a solid line indicates a distribution in the case of DC free. A second characteristic 1300 indicated by a broken line indicates an example of distribution when DC free. As described above, “DC free” indicates that the ratio of the number of 0 and 1 bits included in the sequence is 50%. In other words, as illustrated in the first characteristic 1200 of FIG. 11A, in the distribution of soft decision values in the LDPC iterative decoding unit 1322 of FIG. It means that the amount is small. On the other hand, when not DC-free, for example, as illustrated in the second characteristic 1300 of FIG. 11A, in the distribution of the soft decision value, the distribution amount near ± 0 is increased.

図11(b)は、DCフリーである場合とそうでない場合におけるビット誤り率特性の例を示す図である。横軸は信号対雑音比(Signal to Noise Ratio)、縦軸はビット誤り率(Bit Error Rate)を示す。実線で示す第3特性1210は、DCフリーの場合のビット誤り率特性を示す。また、破線で示す第4特性1310は、DCフリーでない場合のビット誤り率特性を示す。図示するように、DCフリーでない場合は、DCフリーである場合と比べて、ビット誤り率が悪化することとなる。   FIG. 11B is a diagram illustrating an example of bit error rate characteristics when the DC is free and when it is not DC free. The horizontal axis represents a signal-to-noise ratio (Signal to Noise Ratio), and the vertical axis represents a bit error rate (Bit Error Rate). A third characteristic 1210 indicated by a solid line indicates a bit error rate characteristic when DC is free. A fourth characteristic 1310 indicated by a broken line indicates a bit error rate characteristic when the DC is not free. As shown in the figure, the bit error rate is worse in the case where DC is not free than in the case where DC is free.

図12は、図10のRLL/DCフリー/RS符号化部1303の構成例を示す図である。RLL/DCフリー/RS符号化部1303は、RLL/DCフリー符号化部1040と、RS符号化部1042と、冗長系列付加部1044とを含む。RLL/DCフリー符号化部1040は、所定の信号系列をランレングス制限符号化およびDCフリー符号化することによって、DCフリー性を有するランレングス制限符号化系列(以下、「RLL系列」と略称する)を生成する。RS符号化部1042は、RLL/DCフリー符号化部1040によって生成されたRLL系列をRS符号化することによって、冗長系列を生成する。冗長系列付加部1044は、RS符号化部1042によって生成された冗長系列をRLL/DCフリー符号化部1040によって生成されたRLL符号化系列に分散して付加する。   FIG. 12 is a diagram illustrating a configuration example of the RLL / DC free / RS encoding unit 1303 of FIG. The RLL / DC free / RS encoding unit 1303 includes an RLL / DC free encoding unit 1040, an RS encoding unit 1042, and a redundant sequence addition unit 1044. The RLL / DC free coding unit 1040 performs a run length limited coding and a DC free coding on a predetermined signal sequence, thereby abbreviated to a run length limited coded sequence (hereinafter, referred to as an “RLL sequence”) having DC freeness. ) Is generated. The RS encoder 1042 generates a redundant sequence by performing RS encoding on the RLL sequence generated by the RLL / DC free encoder 1040. The redundant sequence addition unit 1044 adds the redundant sequence generated by the RS encoding unit 1042 in a distributed manner to the RLL encoded sequence generated by the RLL / DC free encoding unit 1040.

図13は、図12のRLL/DCフリー符号化部1040の構成例を示す図である。RLL/DCフリー符号化部1403は、第1RLL符号化部1060と、第1信号処理部1062と、第2RLL符号化部1064と、直流成分除去符号化部1066とを含む。   FIG. 13 is a diagram illustrating a configuration example of the RLL / DC free encoding unit 1040 of FIG. The RLL / DC free encoding unit 1403 includes a first RLL encoding unit 1060, a first signal processing unit 1062, a second RLL encoding unit 1064, and a direct current component removal encoding unit 1066.

第1RLL符号化部1060は、スクランブラ1302から出力されたデジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する。第1信号処理部1062は、スクランブラ1302から出力されたデジタル信号系列に含まれる複数のビットの個数を変えずに、デジタル信号系列に対し、所定の信号処理を実行する。所定の信号処理は、デジタル信号系列に含まれる複数のビットの個数を変えなければ、任意の処理でよい。たとえば、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行する処理であってもよい。また、デジタル信号系列に含まれる複数のビットの順序を並び替えてもよい。また、ビット反転処理、ビットの順序を並び替えの双方の処理を行なってもよい。第2RLL符号化部1064は、第1信号処理部1062から出力された信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する。直流成分除去符号化部1066は、第1RLL符号化部1060によって生成された第1符号化系列と、第2RLL符号化部1064によって生成された第2符号化系列とのうち、DCフリー性の高い、いずれか一方を選択して出力する。   The first RLL encoding unit 1060 generates a first encoded sequence by subjecting the digital signal sequence output from the scrambler 1302 to run-length limited encoding. The first signal processing unit 1062 performs predetermined signal processing on the digital signal sequence without changing the number of bits included in the digital signal sequence output from the scrambler 1302. The predetermined signal processing may be any processing as long as the number of bits included in the digital signal sequence is not changed. For example, a process of executing a bit inversion process for each of a plurality of bits included in the digital signal sequence may be used. Further, the order of a plurality of bits included in the digital signal sequence may be rearranged. Also, both bit inversion processing and bit order rearrangement processing may be performed. The second RLL encoding unit 1064 generates a second encoded sequence by performing run-length limited encoding on the digital signal sequence that has been subjected to predetermined signal processing by the signal processing unit output from the first signal processing unit 1062 To do. The DC component removal encoding unit 1066 has a high DC-free property among the first encoded sequence generated by the first RLL encoding unit 1060 and the second encoded sequence generated by the second RLL encoding unit 1064. , Select either one and output.

具体例を用いて説明する。処理すべきデジタル信号系列が300ビットから構成されている場合、RLL/DCフリー符号化部1040は、30ビットを1組として、10回に分けて処理する。ここで、第1RLL符号化部1060、第2RLL符号化部1064の符号化率が30/31である場合、第1RLL符号化部1060、第2RLL符号化部1064からそれぞれ出力される1回あたりの系列のビット数は、31ビットとなる。   This will be described using a specific example. When the digital signal sequence to be processed is composed of 300 bits, the RLL / DC free encoding unit 1040 processes 30 bits as one set and divides it into 10 times. Here, when the encoding rate of the first RLL encoding unit 1060 and the second RLL encoding unit 1064 is 30/31, the output per one time output from the first RLL encoding unit 1060 and the second RLL encoding unit 1064, respectively. The number of bits in the series is 31 bits.

図14は、図13の直流成分除去符号化部1066の構成例を示す図である。直流成分除去符号化部1066は、符号化系列選択部1074と、選択識別情報生成部1076と、識別情報付加部1078とを含む。符号化系列選択部1074は、第1RLL符号化部1060によって生成された第1符号化系列と、第2RLL符号化部1064によって生成された第2符号化系列のうち、いずれか一方の符号化系列を選択する。選択識別情報生成部1076は、符号化系列選択部1074によって選択された符号化系列を示す選択識別情報を生成する。識別情報付加部1078は、符号化系列選択部1074によって選択された符号化系列のいずれかの個所に、選択識別情報生成部1076によって生成された選択識別情報を付加する。   FIG. 14 is a diagram illustrating a configuration example of the DC component removal coding unit 1066 of FIG. DC component removal encoding section 1066 includes an encoded sequence selection section 1074, a selection identification information generation section 1076, and an identification information addition section 1078. The encoded sequence selection unit 1074 is one of the first encoded sequence generated by the first RLL encoding unit 1060 and the second encoded sequence generated by the second RLL encoding unit 1064. Select. The selection identification information generation unit 1076 generates selection identification information indicating the encoded sequence selected by the encoded sequence selection unit 1074. The identification information adding unit 1078 adds the selection identification information generated by the selection identification information generation unit 1076 to any location of the encoded sequence selected by the encoded sequence selection unit 1074.

具体的に説明する。符号化系列選択部1074によって第1符号化系列が選択された場合、識別情報付加部1078において第1符号化系列に付加される選択識別情報は「0」となる。一方、符号化系列選択部1074によって第2符号化系列が選択された場合、識別情報付加部1078において第1符号化系列に付加される選択識別情報は「1」となる。いいかえると、選択識別情報「0」が付加された第1符号化系列、もしくは、選択識別情報「1」が付加された第2符号化系列がLDPC符号化部1304に出力される。なお、識別情報付加部1078によって選択識別情報が付加される個所は、符号化系列中の任意の一定の個所でよく、たとえば、符号化系列の最後尾に付加してもよい。詳細は後述するが、ここで付加される選択識別情報は判定ビットであり、復号側において判定ビットが付加された位置、および、判定ビットの内容を解析することにより、適切な復号処理が実現されることとなる。前述の具体例においては、1回あたり31ビットの符号化系列に1ビットの選択識別情報が付加され合計32ビットの系列が出力されることとなる。すなわち、RLL/DCフリー符号化部1040における符号化率は、30/32となる。   This will be specifically described. When the first encoded sequence is selected by the encoded sequence selection unit 1074, the selection identification information added to the first encoded sequence by the identification information addition unit 1078 is “0”. On the other hand, when the second encoded sequence is selected by the encoded sequence selection unit 1074, the selection identification information added to the first encoded sequence by the identification information addition unit 1078 is “1”. In other words, the first encoded sequence to which selection identification information “0” is added or the second encoded sequence to which selection identification information “1” is added is output to LDPC encoding section 1304. It should be noted that the part to which the selection identification information is added by the identification information adding unit 1078 may be an arbitrary fixed part in the encoded sequence, and may be added to the end of the encoded sequence, for example. Although details will be described later, the selection identification information added here is a determination bit, and an appropriate decoding process is realized by analyzing the position of the determination bit added on the decoding side and the content of the determination bit. The Rukoto. In the specific example described above, 1-bit selection identification information is added to a 31-bit encoded sequence at a time, and a total of 32-bit sequences are output. That is, the coding rate in the RLL / DC free coding unit 1040 is 30/32.

また、符号化系列選択部1074は、図示しない第1連結部と第2連結部とを含んでも良い。第1連結部は、当該符号化系列選択部1074によってすでに選択された符号化系列と前記第1符号化系列とを連結させる。また、第2連結部は、当該符号化系列選択部1074によってすでに選択された符号化系列と前記第2符号化系列とを連結させる。この場合、符号化系列選択部1074は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の符号化系列を選択してもよい。すなわち、過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部1074が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。   Also, the encoded sequence selection unit 1074 may include a first connection unit and a second connection unit (not shown). The first concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 1074 and the first encoded sequence. The second concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 1074 and the second encoded sequence. In this case, the encoded sequence selection unit 1074 sets the sequence concatenated by the first concatenation unit as a new first encoded sequence, and the sequence concatenated by the second concatenation unit as a new second encoded sequence, Either one of the encoded sequences may be selected. In other words, the encoded sequence selection unit 1074 performs selection determination on a combination of the encoded sequence selected in the past and the encoded sequence that is currently selected as a candidate for selection in the long section. DC-free characteristics can be improved.

図15(a)〜(c)は、図14の符号化系列選択部1074の第1〜第3の構成例を示す図である。図15(a)は、図14の符号化系列選択部1074の第1の構成例を示す図である。第1の構成における符号化系列選択部1074は、第1比率計算部1080と、第2比率計算部1082と、選択出力部1084とを含む。   FIGS. 15A to 15C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit 1074 of FIG. FIG. 15 (a) is a diagram illustrating a first configuration example of the encoded sequence selection unit 1074 of FIG. The encoded sequence selection unit 1074 in the first configuration includes a first ratio calculation unit 1080, a second ratio calculation unit 1082, and a selection output unit 1084.

第1比率計算部1080は、第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。第2比率計算部1082は、第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。選択出力部1084は、第1比率計算部1080で計算された比率と、第2比率計算部1082で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する。   First ratio calculation section 1080 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the first encoded sequence. Second ratio calculation section 1082 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the second encoded sequence. The selection output unit 1084 selects an encoded sequence corresponding to a ratio closer to 50% of the ratio calculated by the first ratio calculation unit 1080 and the ratio calculated by the second ratio calculation unit 1082. Output.

具体例を用いて説明する。まず、時刻t=1において、第1RLL符号化部1060、第2RLL符号化部1064から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1比率計算部1080、第2比率計算部1082は、それぞれの符号化系列に含まれるビットを解析して、比率を計算する。ここで、第1比率計算部1080に入力される符号化系列に含まれるビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、第1比率計算部1080によって以下のように計算される。
比率t=1 = (0を示すビット数+1)/(符号化系列のビット数+1) = (14+1)/(31+1) ≒ 46.9%
This will be described using a specific example. First, it is assumed that a 31-bit encoded sequence is output from each of the first RLL encoding unit 1060 and the second RLL encoding unit 1064 at time t = 1. In this case, the first ratio calculator 1080 and the second ratio calculator 1082 analyze the bits included in the respective encoded sequences and calculate the ratio. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 1080, when the bit indicating 0 is 14 bits and the bit indicating 1 is 17 bits, the ratio is the first ratio calculation unit 1080 is calculated as follows.
Ratio t = 1 = (number of bits indicating 0 + 1) / (number of bits of coded sequence + 1) = (14 + 1) / (31 + 1) ≈46.9%

また、第2比率計算部1082に入力される符号化系列に含まれるビットのうち、0を示すビットが12ビット、1を示すビットが19ビットである場合、比率は、第2比率計算部1082によって、以下のように計算される。この場合、第1符号化系列のほうが比率が50%に近いため、t=1においては、選択出力部1084によって第1符号化系列が選択される。また、選択された第1符号化系列にかかる0を示すビット数「14」が記憶される。なお、上式、および、次式の右辺の分子において、それぞれ「1」、「0」を加算しているのは、それぞれの選択識別情報を「0」、「1」と仮定しているためである。また、上式、および、次式の右辺の分母において、「1」を加算しているのは、選択識別情報を含めた系列の0の個数の割合を計算するためである。
比率t=1 = (0を示すビット数+0)/(符号化系列のビット数+1) = 12/(31+1) = 37.5%
In addition, among the bits included in the encoded sequence input to the second ratio calculation unit 1082, when the bit indicating 0 is 12 bits and the bit indicating 1 is 19 bits, the ratio is the second ratio calculation unit 1082. Is calculated as follows. In this case, since the ratio of the first encoded sequence is closer to 50%, the first encoded sequence is selected by the selection output unit 1084 at t = 1. In addition, the number of bits “14” indicating 0 according to the selected first encoded sequence is stored. In the numerator on the right side of the above equation and the following equation, “1” and “0” are added because the selection identification information is assumed to be “0” and “1”. It is. In the above expression and the denominator on the right side of the following expression, “1” is added in order to calculate the ratio of the number of 0s in the series including the selection identification information.
Ratio t = 1 = (number of bits indicating 0 + 0) / (number of bits of coded sequence + 1) = 12 / (31 + 1) = 37.5%

つぎに、t=2においてもt=1の場合と同様に、第1RLL符号化部1060、第2RLL符号化部1064から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1比率計算部1080に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、比率は、以下のように計算される。
比率t=2 = (0を示すビット数+1)/((符号化系列のビット数+1)×t) = (14+1+11+1)/((31+1)×2) ≒ 42.2%
Next, it is assumed that a 31-bit encoded sequence is output from the first RLL encoding unit 1060 and the second RLL encoding unit 1064 at t = 2 as in the case of t = 1. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 1080, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the ratio is calculated as follows: Is done.
Ratio t = 2 = (number of bits indicating 0 + 1) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 111 + 1) / ((31 + 1) × 2) ≈42.2%

上記は、t=1の場合と異なり、第1比率計算部1080は、t=1において選択された符号化系列とt=2における第1符号化系列とが第1連結部によって連結された系列について、比率を計算する。すなわち、t=1で選択された第1符号化系列のうち0を示すビットの個数「14+1」と、t=2における第1符号化系列のうちの0を示すビットの個数「11+1」とが前式の分子において加算されることとなる。また、前式における分母は、2組の符号化系列にかかるビット数となる。   Unlike the case of t = 1, the first ratio calculation unit 1080 has a sequence in which the encoded sequence selected at t = 1 and the first encoded sequence at t = 2 are concatenated by the first concatenating unit. Calculate the ratio for. That is, the number “14 + 1” of bits indicating 0 in the first encoded sequence selected at t = 1 and the number “11 + 1” of bits indicating 0 in the first encoded sequence at t = 2. It will be added in the numerator of the previous formula. The denominator in the previous equation is the number of bits for two sets of encoded sequences.

また、第2比率計算部1082に入力される符号化系列に含まれるビットのうち、0を示すビットが17ビット、1を示すビットが14ビットである場合、第2比率計算部1082によって、以下のように比率が計算される。この場合、第2符号化系列のほうが比率が50%に近いため、t=2においては、選択出力部1084によって第2符号化系列が選択される。
比率t=2 = (0を示すビット数+0)/((符号化系列のビット数+1)×t) = (14+1+17+0)/((31+1)×2) = 50.0%
In addition, among the bits included in the encoded sequence input to the second ratio calculation unit 1082, when the bit indicating 0 is 17 bits and the bit indicating 1 is 14 bits, the second ratio calculation unit 1082 The ratio is calculated as follows. In this case, since the ratio of the second encoded sequence is closer to 50%, the second encoded sequence is selected by the selection output unit 1084 at t = 2.
Ratio t = 2 = (number of bits indicating 0 + 0) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 17 + 0) / ((31 + 1) × 2) = 50.0%

以下、同様にt=3以降においても比率が計算される。ここで、t=kにおける比率は、以下のように表される。ただし、kは1以上の整数とする。また、Nbit(m)とは、t=mにおいて選択された符号化系列に含まれるビットのうち、0を示すビットの個数を示す。ただし、Nbit(k)は、比率を計算する対象となる符号化系列に含まれるビットのうち、0を示すビットの個数を示す。なお、比率を計算する対象となる符号化系列には、選択識別情報も含まれるものとする。

Figure 0005090010
Similarly, the ratio is calculated after t = 3. Here, the ratio at t = k is expressed as follows. However, k is an integer of 1 or more. Nbit (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m. Here, Nbit (k) indicates the number of bits indicating 0 among the bits included in the encoded sequence for which the ratio is calculated. It is assumed that selection identification information is also included in the encoded sequence for which the ratio is calculated.
Figure 0005090010

図15(b)は、図14の符号化系列選択部1074の第2の構成例を示す図である。第2の構成における符号化系列選択部1074は、第1合算部1086と、第2合算部1088と、選択出力部1084とを含む。第1合算部1086は、第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する。第2合算部1088は、第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する。符号化系列検出部は、第1合算部1086によって生成された第1合算値と、第2合算部1088によって生成された第2合算値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を検出する。選択出力部1084は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG.15 (b) is a figure which shows the 2nd structural example of the encoding sequence selection part 1074 of FIG. The encoded sequence selection unit 1074 in the second configuration includes a first summation unit 1086, a second summation unit 1088, and a selection output unit 1084. The first summation unit 1086 sums a plurality of bits included in the first encoded sequence to generate a first sum value. The second summation unit 1088 sums a plurality of bits included in the second encoded sequence to generate a second sum value. The coded sequence detection unit compares the first sum value generated by the first summation unit 1086 with the second sum value generated by the second summation unit 1088, and compares the first coded sequence and the second code. An encoded sequence corresponding to the smaller sum of the converted sequences is detected. The selection output unit 1084 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

具体例を用いて説明する。まず、t=1において、第1RLL符号化部1060、第2RLL符号化部1064から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1合算部1086、第2合算部1088は、それぞれの符号化系列に含まれるビットを合算する。合算においては、0を「+1」に置換えると共に、1を「−1」に置換えて合計してもよい。このように合算することによって、0と1を示すビットの個数が等しい場合、合算値は0となる。したがって、選択出力部1084においては、合算値が0に近い符号化系列を選べばよく、たとえば、合算値の絶対値が小さい符号化系列を選べばよい。なお、この手法は、連続デジタル加算(Running Digital Summation。以下、「RDS」と略称する。)とも呼ばれる。   This will be described using a specific example. First, it is assumed that a 31-bit encoded sequence is output from the first RLL encoding unit 1060 and the second RLL encoding unit 1064 at t = 1. In this case, the first summation unit 1086 and the second summation unit 1088 sum the bits included in the respective encoded sequences. In the summation, 0 may be replaced with “+1” and 1 may be replaced with “−1” for total. By summing in this way, when the number of bits indicating 0 and 1 is equal, the sum is 0. Therefore, the selection output unit 1084 may select an encoded sequence with a combined value close to 0, for example, an encoded sequence with a small absolute value of the combined value. This method is also called continuous digital summation (hereinafter abbreviated as “RDS”).

ここで、t=1において、第1合算部1086に入力される符号化系列に含まれる31個のビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、以下のように計算される。なお、右辺の第1項において「1」を加算しているのは、選択識別情報を0と仮定しているためである。
RDSabs = |(14+1)×(+1)+17×(−1)| = 2
Here, at t = 1, out of 31 bits included in the encoded sequence input to the first summation unit 1086, the bit indicating 0 is 14 bits, and the bit indicating 1 is 17 bits. Is calculated as follows. Note that “1” is added in the first term on the right side because the selection identification information is assumed to be zero.
RDS abs = | (14 + 1) × (+1) + 17 × (−1) | = 2

また、第2合算部1088に入力される符号化系列に含まれるビットのうち、0を示すビットが12ビット、1を示すビットが19ビットである場合、比率は、以下のように計算される。この場合、第1符号化系列のRDSのほうが小さいため、t=1においては、選択出力部1084によって第1符号化系列が選択される。また、ここでは、絶対値を計算する前の第1符号化系列についてのRDSが「RDS=−2」として記憶される。なお、右辺の第2項において「1」を加算しているのは、選択識別情報を1と仮定しているためである。
RDSabs = |12×(+1)+(19+1)×(−1)| = 6
Further, among the bits included in the encoded sequence input to the second summation unit 1088, when the bit indicating 0 is 12 bits and the bit indicating 1 is 19 bits, the ratio is calculated as follows: . In this case, since the RDS of the first encoded sequence is smaller, the first encoded sequence is selected by the selection output unit 1084 at t = 1. Here, the RDS for the first coded sequence before calculating the absolute value is stored as “RDS 1 = −2”. Note that “1” is added in the second term on the right side because the selection identification information is assumed to be 1.
RDS abs = | 12 × (+1) + (19 + 1) × (−1) | = 6

つぎに、t=2において、t=1の場合と同様に、第1RLL符号化部1060、第2RLL符号化部1064から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1合算部1086に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、RDSは、以下のように計算される。t=1の場合と異なり、t=2においては、t=1において選択された符号化系列にかかるビット数も考慮にいれて計算されることとなる。
RDSabs = |RDS+(11+1)×(+1)+20×(−1)| = |−2+(−8)| = 10
Next, at t = 2, as in the case of t = 1, it is assumed that a 31-bit encoded sequence is output from each of the first RLL encoding unit 1060 and the second RLL encoding unit 1064. Here, of the bits included in the encoded sequence input to the first summation unit 1086, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the RDS is calculated as follows. The Unlike t = 1, at t = 2, the number of bits related to the encoded sequence selected at t = 1 is taken into consideration.
RDS abs = | RDS 1 + (11 + 1) × (+1) + 20 × (−1) | = | −2 + (− 8) | = 10

また、第2合算部1088に入力される符号化系列に含まれるビットのうち、0を示すビットが17ビット、1を示すビットが14ビットである場合、比率は、以下のように計算される。この場合、第2符号化系列のRDSのほうが小さいため、t=2においては、選択出力部1084によって第1符号化系列が選択される。また、RDS2=0が記憶される。
RDSabs = |RDS+17×(+1)+(14+1)×(−1)| = |−2+(+2)| = 0
In addition, among the bits included in the encoded sequence input to the second summation unit 1088, when the bit indicating 0 is 17 bits and the bit indicating 1 is 14 bits, the ratio is calculated as follows: . In this case, since the RDS of the second encoded sequence is smaller, the first encoded sequence is selected by the selection output unit 1084 at t = 2. Further, RDS 2 = 0 is stored.
RDS abs = | RDS 1 + 17 × (+1) + (14 + 1) × (−1) | = | −2 + (+ 2) | = 0

以下、同様にt=3以降においてもRDSabsが計算される。ここで、t=kにおけるRDSabs(k)は、以下のように表される。ただし、tは1以上の整数とする。また、Nbit0(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、0を示すビットの個数を示す。また、Nbit1(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、1を示すビットの個数を示す。ただし、Nbit0(k)、Nbit1(k)は、合算値を計算する対象となる符号化系列に含まれるビットのうち、それぞれ、0を示すビットの個数、1を示すビットの個数を示す。

Figure 0005090010
Similarly, RDS abs is calculated after t = 3. Here, RDS abs (k) at t = k is expressed as follows. However, t is an integer of 1 or more. Nbit0 (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m and the selection identification information. Nbit1 (m) indicates the number of bits indicating 1 out of the bits included in the encoded sequence selected at t = m and the selection identification information. However, Nbit0 (k) and Nbit1 (k) indicate the number of bits indicating 0 and the number of bits indicating 1 respectively, among the bits included in the encoded sequence for which the sum is calculated.
Figure 0005090010

上記における符号化系列選択部1074の動作は、ある時刻においては区間演算処理を行ないつつ、過去の連続する時刻間において移動演算処理を行なっている点が特徴となる。このように、区間処理と移動処理を組み合わせることによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上されることとなる。   The operation of the coded sequence selection unit 1074 described above is characterized in that the movement calculation process is performed between successive past times while performing the interval calculation process at a certain time. Thus, by combining the section process and the movement process, the DC-free property is improved in the long section, for example, the entire 300-bit sequence.

なお、第1合算部1086、第2合算部1088における合算処理は、符号化系列に含まれる0もしくは1を示すビットをそのまま合計してもよい。この場合、選択出力部1084においては、合算値が符号化系列の個数の半分の値に近いほうに対応する符号化系列が選択されることとなる。   In addition, the summation processing in the first summation unit 1086 and the second summation unit 1088 may add up the bits indicating 0 or 1 included in the encoded sequence as they are. In this case, in the selection output unit 1084, the encoded sequence corresponding to the sum closer to the half of the number of encoded sequences is selected.

図15(c)は、図14の符号化系列選択部1074の第3の構成例を示す図である。第3の構成における符号化系列選択部1074は、第1移動加算部1090と、第1最大値検出部1092と、第2移動加算部1094と、第2最大値検出部1096と、選択出力部1084とを含む。第1移動加算部1090は、第1符号化系列に含まれる複数のビットを移動加算を計算することによって、複数のビットと同数の第1移動加算値を生成する。第1最大値検出部1092は、第1移動加算部1090によって生成された複数の第1移動加算値のうち、最大値を検出する。第2移動加算部1094は、第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する。第2最大値検出部1096は、第2移動加算部1094によって生成された複数の第2移動加算値のうち、最大値を検出する。符号化系列検出部は、第1最大値検出部1092によって検出された最大値と、第2最大値検出部1096によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する。選択出力部1084は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG.15 (c) is a figure which shows the 3rd structural example of the encoding sequence selection part 1074 of FIG. The encoded sequence selection unit 1074 in the third configuration includes a first mobile addition unit 1090, a first maximum value detection unit 1092, a second mobile addition unit 1094, a second maximum value detection unit 1096, and a selection output unit. 1084. The first moving addition unit 1090 generates the same number of first moving addition values as the plurality of bits by calculating the moving addition of the plurality of bits included in the first encoded sequence. The first maximum value detection unit 1092 detects the maximum value among the plurality of first movement addition values generated by the first movement addition unit 1090. Second moving addition section 1094 generates the same number of second moving addition values as the plurality of bits by moving and adding the plurality of bits included in the second encoded sequence. The second maximum value detection unit 1096 detects the maximum value among the plurality of second movement addition values generated by the second movement addition unit 1094. The encoded sequence detection unit compares the maximum value detected by the first maximum value detection unit 1092 with the maximum value detected by the second maximum value detection unit 1096, and compares the first encoded sequence and the second code. An encoded sequence corresponding to the smaller maximum value is detected from the encoded sequences. The selection output unit 1084 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

符号化系列選択部1074の第3の構成例は、第2の構成例と同様に、第1移動加算部1090、第2移動加算部1094において、それぞれの符号化系列のRDSを計算することによって、選択出力部1084が符号化系列を選択する。第3の構成例においては、32ビットのRDSの計算途中における最大値が小さいほうの符号化系列を選択する点で、32ビットのRDS計算の最終計算値のみ考慮して0に近い符号化系列を選択する第2の構成例と異なる。言い換えると、第3の構成例は、所定の区間においても、複数の区間においても、移動演算によって選択処理を行なっている。このような態様をとることによって、区間途中においてもDCフリー性の良い系列を選択できる。   The third configuration example of the encoded sequence selection unit 1074 is similar to the second configuration example in that the first mobile adder 1090 and the second mobile adder 1094 calculate the RDS of each encoded sequence. The selection output unit 1084 selects an encoded sequence. In the third configuration example, an encoded sequence that is close to 0 in consideration of only the final calculated value of the 32-bit RDS calculation is selected in that the encoded sequence having the smaller maximum value during the calculation of the 32-bit RDS is selected. This is different from the second configuration example in which is selected. In other words, in the third configuration example, the selection process is performed by the movement calculation in both the predetermined section and the plurality of sections. By taking such an aspect, it is possible to select a sequence having good DC-free properties even in the middle of the section.

ここで、「RDSの計算途中における最大値」は、時刻tごとに、以下で導出される。ただし、Min{y(0)、y(1)}とは、小さいほうの値を選択し、選択したほうの系列の番号を出力する関数を示す。たとえば、y(0)>y(1)の場合、S(t)は、1となる。また、max{x}とは、xのうち、最大値を検出する関数を示す。また、kは、32×(t−1)+1〜32×tの範囲の値を示す。また、Bit(m、j)は、第j符号化系列のうち、m番目のビットが0である場合は+1を示し、また、1である場合は−1を示す。
S(t)=Min{MaxRDS(1)、MaxRDS(2)}
MaxRDS(1) = max{RDS(k、1)}
MaxRDS(2) = max{RDS(k、2)}

Figure 0005090010
Here, the “maximum value during calculation of RDS” is derived as follows for each time t. However, Min {y (0), y (1)} indicates a function that selects a smaller value and outputs the number of the selected sequence. For example, when y (0)> y (1), S (t) is 1. Further, max {x} indicates a function for detecting the maximum value of x. K represents a value in the range of 32 × (t−1) +1 to 32 × t. Bit (m, j) indicates +1 when the m-th bit is 0 in the j-th encoded sequence, and indicates -1 when it is 1.
S (t) = Min {MaxRDS (1), MaxRDS (2)}
MaxRDS (1) = max {RDS (k, 1)}
MaxRDS (2) = max {RDS (k, 2)}
Figure 0005090010

また、Bit(m、1)、Bit(m、2)は、tが増加するごとに、選択された系列に係るビットを下記のように書き換えた後に、計算されることとなる。
Bit(m、1)=Bit(m、2)=Bit(m、S(t−1)) :m=(t−1)×32+1〜t×32、t≠1
Bit (m, 1) and Bit (m, 2) are calculated after rewriting the bits related to the selected sequence as follows each time t increases.
Bit (m, 1) = Bit (m, 2) = Bit (m, S (t−1)): m = (t−1) × 32 + 1 to t × 32, t ≠ 1

ここで、図15(c)に示す符号化系列選択部1074の第3の構成例の動作について、図15(b)に示す符号化系列選択部1074の第2の構成例の動作と比較する。図16は、図15(b)と図15(c)にそれぞれ示す符号化系列選択部1074の動作の相違を示す図である。横軸は時間、縦軸はRDSを示す。ここで、1400Aは、第1符号化系列におけるRDSの推移を示す。また、1400Bは、第2符号化系列におけるRDSの推移を示す。図15(b)に示す符号化系列選択部1074の第2の構成例においては、RDSの区間演算の最終値であるRDSとRDSとを比較して小さいほうの符号化系列を選択する。図16においては、RDS<RDSであるので、選択出力部1084は、第1符号化系列を選択することとなる。一方、図15(c)に示す符号化系列選択部1074の第3の構成例においては、それぞれのビットにおけるRDS、すなわち、32個のビットを順次移動演算処理した後の絶対値のうち、最大値を比較して、小さいほうの符号化系列を選択する。図16においては、第1符号化系列については、MaxAが最大値であり、また、第2符号化系列については、MaxBが最大値となる。ここでは、MaxA>MaxBであるので、選択出力部1084は、第2符号化系列を選択することとなる。いずれの構成例を符号化系列選択部1074に適用した場合においても、DCフリー性の高い符号化系列を選択することができる。 Here, the operation of the third configuration example of the encoded sequence selection unit 1074 shown in FIG. 15C is compared with the operation of the second configuration example of the encoded sequence selection unit 1074 shown in FIG. . FIG. 16 is a diagram illustrating a difference in operation of the coded sequence selection unit 1074 illustrated in FIG. 15B and FIG. 15C, respectively. The horizontal axis represents time, and the vertical axis represents RDS. Here, 1400A indicates the transition of RDS in the first encoded sequence. 1400B indicates the transition of RDS in the second encoded sequence. In the second configuration example of the coded sequence selection unit 1074 shown in FIG. 15B, RDS A and RDS B , which are final values of the RDS interval calculation, are compared and the smaller coded sequence is selected. . In FIG. 16, since RDS A <RDS B , the selection output unit 1084 selects the first encoded sequence. On the other hand, in the third configuration example of the encoded sequence selection unit 1074 shown in FIG. 15 (c), the RDS in each bit, that is, the maximum value among the absolute values after the 32 bits are sequentially subjected to the movement calculation process Compare the values and select the smaller encoded sequence. In FIG. 16, MaxA is the maximum value for the first encoded sequence, and MaxB is the maximum value for the second encoded sequence. Here, since MaxA> MaxB, the selection output unit 1084 selects the second encoded sequence. Even when any configuration example is applied to the encoded sequence selection unit 1074, it is possible to select an encoded sequence having a high DC-free property.

図12に戻る。冗長系列付加部1044は、図示しない分割部を含む。分割部は、RS符号化部1042によって生成された冗長系列を複数の組に分割する。分割部によって分割された組を、RLL/DCフリー符号化系列のいずれかの個所であって、組ごとにそれぞれ異なる個所に付加する。冗長系列付加部1044は、分割部によって分割された組ごとに、等間隔で、たとえば、L個おきに、RLL/DCフリー符号化系列に付加する。分割部は、RS符号化部1042によって生成された冗長系列に含まれる複数のビットのうち、いずれか2以上のビットを1組として、分割する。分割部は、RS符号化部1042によって生成された冗長系列に含まれる複数のビットのうち、2N(Nは正の整数)個のビットを1組として、分割する。   Returning to FIG. Redundant sequence adding section 1044 includes a dividing section (not shown). The dividing unit divides the redundant sequence generated by the RS encoding unit 1042 into a plurality of sets. The group divided by the dividing unit is added to any part of the RLL / DC-free encoded sequence and to a different part for each group. Redundant sequence adding section 1044 adds to the RLL / DC-free encoded sequence at equal intervals, for example, every L, for each group divided by the dividing section. The dividing unit divides one of two or more bits included in the redundant sequence generated by the RS encoding unit 1042 as one set. The dividing unit divides 2N (N is a positive integer) bits as one set among a plurality of bits included in the redundant sequence generated by the RS encoding unit 1042.

図12に図示したRLL/DCフリー/RS符号化部1303の動作について、具体的に説明する。図17は、図12のRLL/DCフリー/RS符号化部1303の動作例を示す図である。まず、RLL/DCフリー符号化部1040は、RLL/DCフリー符号化系列1400を生成する。つぎに、RS符号化部1042は、RLL/DCフリー符号化系列1400に対してRS符号化を実行して、冗長系列1500を生成する。つぎに、冗長系列付加部1044の分割部は、冗長系列1500をM個の部分冗長系列1510に分割する。部分冗長系列1510は、第1部分情報系列1510aと、第2部分情報系列1510bと、・・・、第M部分情報系列1510cとを代表する。それぞれの部分冗長系列1510は、2N個のビットを含む。冗長系列付加部1044は、RLL/DCフリー符号化系列1400に部分冗長系列1510ごとに、それぞれ異なる位置に分散して付加する。また、冗長系列付加部1044は、部分冗長系列1510を等間隔でRLL/DCフリー符号化系列1400に付加する。これにより、冗長系列1500に含まれるすべてのビットがRLL/DCフリー符号化系列1400に付加され、RLL/DCフリー/RS符号化系列1600が生成される。   The operation of the RLL / DC free / RS encoding unit 1303 illustrated in FIG. 12 will be specifically described. FIG. 17 is a diagram illustrating an operation example of the RLL / DC free / RS encoding unit 1303 of FIG. First, the RLL / DC free encoding unit 1040 generates an RLL / DC free encoding sequence 1400. Next, RS encoding section 1042 performs RS encoding on RLL / DC free encoded sequence 1400 to generate redundant sequence 1500. Next, the dividing unit of the redundant sequence adding unit 1044 divides the redundant sequence 1500 into M partial redundant sequences 1510. The partial redundancy sequence 1510 represents the first partial information sequence 1510a, the second partial information sequence 1510b,..., The Mth partial information sequence 1510c. Each partially redundant sequence 1510 includes 2N bits. Redundant sequence adding section 1044 adds to RLL / DC-free encoded sequence 1400 for each partial redundant sequence 1510 in a distributed manner at different positions. Redundant sequence adding section 1044 adds partial redundant sequence 1510 to RLL / DC-free encoded sequence 1400 at regular intervals. As a result, all bits included in the redundant sequence 1500 are added to the RLL / DC free encoded sequence 1400, and an RLL / DC free / RS encoded sequence 1600 is generated.

ここで、RLL/DCフリー符号化系列1400、冗長系列1500、RLL/DCフリー/RS符号化系列1600の長さは、以下のように表される。ここで、Lは、部分冗長系列1510が付加される間隔を示す。また、N、s、α、βは、正の整数とする。
RLL/DCフリー符号化系列1400の長さ = sL+α
冗長系列1500の長さ = 2NM+β
RLL/DCフリー/RS符号化系列1600の長さ = RLL/DCフリー符号化系列1400の長さ+冗長系列1500の長さ
Here, the lengths of the RLL / DC free encoded sequence 1400, the redundant sequence 1500, and the RLL / DC free / RS encoded sequence 1600 are expressed as follows. Here, L indicates an interval at which the partial redundancy sequence 1510 is added. N, s, α, and β are positive integers.
Length of RLL / DC-free coded sequence 1400 = sL + α
Redundant sequence 1500 length = 2 NM + β
Length of RLL / DC free / RS coded sequence 1600 = length of RLL / DC free coded sequence 1400 + length of redundant sequence 1500

つぎに、RLL/DCフリー/RS符号化部1303の具体的な動作過程について説明する。図18は、図12のRLL/DCフリー/RS符号化部1303の動作例を示すフローチャートである。まず、RLL/DCフリー符号化部1040は、RLL/DCフリー符号化系列1400を生成する(S1010)。つぎに、RS符号化部1042は、RLL/DCフリー符号化系列1400に対してRS符号化を実行して、冗長系列1500を生成する(S1012)。つぎに、冗長系列付加部1044の分割部は、冗長系列1500をM個の部分冗長系列1510に分割し、部分冗長系列1510ごとに、それぞれ異なる位置に等間隔で付加する(S1014〜S1020)。   Next, a specific operation process of the RLL / DC free / RS encoding unit 1303 will be described. FIG. 18 is a flowchart illustrating an operation example of the RLL / DC free / RS encoding unit 1303 of FIG. First, the RLL / DC free encoding unit 1040 generates an RLL / DC free encoding sequence 1400 (S1010). Next, the RS encoding unit 1042 performs RS encoding on the RLL / DC free encoded sequence 1400 to generate a redundant sequence 1500 (S1012). Next, the dividing unit of the redundant sequence adding unit 1044 divides the redundant sequence 1500 into M partial redundant sequences 1510 and adds the partial redundant sequences 1510 to different positions at equal intervals (S1014 to S1020).

S14〜S20においては、まず、RLL/DCフリー符号化系列1400に関するカウンタiをL、冗長系列1500に関するカウンタjを1に設定する(S1014)。つぎに、RLL/DCフリー符号化系列1400の先頭からi番目のビットの後ろに、冗長系列1500のj番目から(j+2N)番目までのビットを付加する(S1016)。ただし、冗長系列1500に、(j+1)番目〜(j+2N)番目のいずれかのビットが存在しない場合、存在するビットをすべて付加した後、S1018のステップに進む。つぎに、カウンタiをL個進めるとともに、カウンタjを2N個進める(S1018)。ここで、jが2NM以下である場合(S1020のN)、付加すべきRLL/DCフリー符号化系列1400が残存していると判断して、S1016〜S1020の処理を繰り返す。一方、jが2NMより大きい値であった場合(S1020のY)、すなわち、すべての冗長系列1500が付加されたと判断して、処理を終了する。   In S14 to S20, first, the counter i related to the RLL / DC free coded sequence 1400 is set to L, and the counter j related to the redundant sequence 1500 is set to 1 (S1014). Next, the jth to (j + 2N) th bits of the redundant sequence 1500 are added after the ith bit from the beginning of the RLL / DC free coded sequence 1400 (S1016). However, if any of the (j + 1) th to (j + 2N) th bits does not exist in the redundant sequence 1500, after adding all the existing bits, the process proceeds to step S1018. Next, the counter i is incremented by L and the counter j is incremented by 2N (S1018). Here, if j is 2NM or less (N in S1020), it is determined that the RLL / DC-free encoded sequence 1400 to be added remains, and the processes in S1016 to S1020 are repeated. On the other hand, if j is a value greater than 2NM (Y in S1020), that is, it is determined that all redundant sequences 1500 have been added, and the process ends.

具体例を用いて説明する。RLL/DCフリー符号化部1040は、RLL/DCフリー符号化系列1400を示すx(n)において偶数番目に存在する複数のビットを示すビット系列y0(m)において、0を示すビットの連続性を制限されるように符号化する。また、RLL/DCフリー符号化部1040は、x(n)において奇数番目に存在する複数のビットを示すビット系列y1(m)のそれぞれにおいて、0を示すビットの連続性を制限されるように符号化する。たとえば、x(n)、y0(m)、y1(m)は、以下のように示される。ここで、0の最大連続長を3と仮定した。
x(n) = {01110010100110010001}
y0(m)= x(2n) ={0101101000}
y1(m)= x(2n+1)={1100010101}
This will be described using a specific example. The RLL / DC free encoding unit 1040 has a continuity of bits indicating 0 in a bit sequence y0 (m) indicating a plurality of even-numbered bits in x (n) indicating the RLL / DC free encoding sequence 1400. Are encoded as restricted. Also, the RLL / DC-free encoding unit 1040 is configured such that the continuity of bits indicating 0 is limited in each of the bit sequences y1 (m) indicating a plurality of odd-numbered bits in x (n). Encode. For example, x (n), y0 (m), and y1 (m) are expressed as follows. Here, the maximum continuous length of 0 was assumed to be 3.
x (n) = {011100101001100010001}
y0 (m) = x (2n) = {0101101000}
y1 (m) = x (2n + 1) = {1100010101}

また、DCフリー符号化は、一般的に、RLL/DCフリー符号化系列1400の所定の区間において、0もしくは1を示すビットの比率が50%に近くなるように符号化することなどをいう。いいかえると、所定の区間より短い区間においては、DCフリーとはならなくともよい。上述のx(n)においては、0を示すビットの個数が11個なのに対し、1を示すビットの個数が9個となっているため、ほぼDCフリー性を満たしているといえる。   Also, DC-free coding generally refers to coding such that the ratio of bits indicating 0 or 1 is close to 50% in a predetermined section of the RLL / DC-free coded sequence 1400. In other words, it is not necessary to be DC-free in a section shorter than the predetermined section. In the above x (n), the number of bits indicating 0 is 11, whereas the number of bits indicating 1 is 9, so it can be said that the DC-free property is substantially satisfied.

ここで、冗長系列付加部1044において、RLL/DCフリー符号化系列1400に冗長系列1500を付加するにあたり、直列的に付加した第1RLL/DCフリー/RS符号化系列1610を示すx’(n)と、分散して付加した第2RLL/DCフリー/RS符号化系列1620を示すx’’(n)のRLL性、DCフリー性について比較する。なお、付加される冗長系列1500は、4ビットとし、それぞれ、A、B、C、Dとした。また、y0’(m)、y1’(m)は、それぞれ第1RLL/DCフリー/RS符号化系列1610を示すx’(n)における偶数番目、奇数番目に存在する複数のビットを示すビット系列を示す。また、y0’’(m)、y1’’(m)は、それぞれ第2RLL/DCフリー/RS符号化系列1620を示すx’’(n)における偶数番目、奇数番目に存在するビットの系列を示す。   Here, when adding redundant sequence 1500 to RLL / DC free encoded sequence 1400 in redundant sequence adding section 1044, x ′ (n) indicating first RLL / DC free / RS encoded sequence 1610 added in series And the RLL property and DC free property of x ″ (n) indicating the second RLL / DC free / RS encoded sequence 1620 added in a distributed manner. The redundant sequence 1500 to be added is 4 bits, and is A, B, C, and D, respectively. Further, y0 ′ (m) and y1 ′ (m) are bit sequences indicating a plurality of even-numbered bits and odd-numbered bits in x ′ (n) indicating the first RLL / DC-free / RS encoded sequence 1610, respectively. Indicates. Also, y0 ″ (m) and y1 ″ (m) are bit sequences existing in even and odd numbers in x ″ (n) indicating the second RLL / DC free / RS encoded sequence 1620, respectively. Show.

冗長系列1500 = {A、B、C、D}
x’(n) = {01110010100110010001ABCD}
y0’(m) = {0101101000AC}
y1’(m) = {1100010101BD}
Redundant sequence 1500 = {A, B, C, D}
x ′ (n) = {0111001010011000010001ABCD}
y0 ′ (m) = {0101101000AC}
y1 ′ (m) = {1100010101BD}

x’’(n) = {01110AB0101001100CD10001}
y0’’(m) = {010B11010D00}
y1’’(m) = {11A00010C101}
x ″ (n) = {01110AB0101001100CD10001}
y0 ″ (m) = {010B11010D00}
y1 ″ (m) = {11A00010C101}

上述したx’(n)、y0’(m)、y1’(m)の式によると、直列的に付加した場合のy0’(m)、y1’(m)においては、Aが0を示すビットであれば、0の最大連続長は4となる。また、AとCの双方が0を示すビットであれば、0の最大連続長は5となる。直列的に付加された冗長系列は、RLL符号化が施されていないため、このような結果となる。一方、上述したx’’(n)、y0’’(m)、y1’’(m)の式によると、分散して付加した場合のy0’’(m)、y1’’(m)においては、AもしくはDが0である場合を除き、0の最大連続長は3のままとなる。また、A、Dが0を示すビットであったとしても、0の最大連続長は、たかだか4にしかならない。いいかえると、偶数個のビットを1組として、RLL/DCフリー符号化系列に付加したとしても、RLL性は大きく劣化することがないといえる。さらにいいかえると、冗長系列をRLL/DCフリー符号化系列に分散して付加することによって、冗長系列をRLL符号化することと等価な効果が得られるといえる。   According to the above formulas x ′ (n), y0 ′ (m), and y1 ′ (m), A indicates 0 in y0 ′ (m) and y1 ′ (m) when added in series. If it is a bit, the maximum continuous length of 0 is 4. If both A and C are bits indicating 0, the maximum continuous length of 0 is 5. Since the redundant sequence added in series is not subjected to RLL encoding, such a result is obtained. On the other hand, according to the above-described formulas x ″ (n), y0 ″ (m), and y1 ″ (m), in the case of y0 ″ (m) and y1 ″ (m) when added in a distributed manner. The maximum continuous length of 0 remains 3 except when A or D is 0. Even if A and D are bits indicating 0, the maximum continuous length of 0 is only 4 at most. In other words, even when an even number of bits are added to the RLL / DC-free encoded sequence as a set, it can be said that the RLL property does not deteriorate greatly. In other words, it can be said that an effect equivalent to the RLL encoding of the redundant sequence can be obtained by adding the redundant sequence to the RLL / DC free encoded sequence in a distributed manner.

また、DCフリー性について検討すると、A、B、C、Dのすべてが0を示すビットである場合、x’’(n)には、0を示すビットが15個、1を示すビットが9個となり、ややDCフリー性が劣化する。また、A、B、C、Dのすべてが1を示すビットである場合、x’’(n)には、0を示すビットが11個、1を示すビットが13個となり、ややDCフリー性が劣化する。しかしながら、すべての冗長ビットが同一のビットを示すことは希である。また、冗長ビットの長さは、ランレングス符号化系列の長さに比べ1/10程度であり、このような場合、DCフリー性は局所的に崩れる場合があるものの、RLL/DCフリー/RS符号化系列1600全体としてはほとんど劣化しない。   Further, considering the DC-free property, when all of A, B, C, and D are bits indicating 0, x ″ (n) has 15 bits indicating 0 and 9 bits indicating 1 As a result, the DC-free property is slightly deteriorated. Further, when all of A, B, C, and D are bits indicating 1, x ″ (n) has 11 bits indicating 0 and 13 bits indicating 1 and is somewhat DC-free. Deteriorates. However, it is rare that all redundant bits indicate the same bit. In addition, the length of the redundant bit is about 1/10 as compared with the length of the run-length encoded sequence. The entire encoded sequence 1600 is hardly degraded.

したがって、2N個の冗長ビットを1組として、RLL系列に等間隔で付加することによって、冗長系列が付加された後のRLL系列、すなわち、RLL/DCフリー/RS符号化系列1600はRLL性、DCフリー特性を満足することができる。なお、必ずしも等間隔で付加する必要はないが、等間隔としたほうが処理が簡易になる効果がある。また、分散して付加しない場合と比べて、冗長系列部分のRLL性を極めて向上できる。   Therefore, by adding 2N redundant bits as a set to the RLL sequence at equal intervals, the RLL sequence after the redundant sequence is added, that is, the RLL / DC free / RS encoded sequence 1600 has RLL property, DC-free characteristics can be satisfied. Although it is not always necessary to add them at equal intervals, the equal intervals have the effect of simplifying the processing. In addition, the RLL property of the redundant sequence portion can be greatly improved as compared with the case where it is not distributed and added.

図19は、図10のRLL/DCフリー/RS復号部1323の構成例を示す図である。RLL/DCフリー/RS復号部1323は、冗長系列検出部1034と、冗長系列取得部1036と、RS復号部1038と、RLL/DCフリー復号部1046とを含む。冗長系列検出部1034は、LDPC繰返復号部1322によって入力された第1信号系列のうち、冗長系列の挿入個所を検出する。具体的には、冗長系列の挿入間隔、1組あたりのビット数を考慮して、挿入個所を検出する。   FIG. 19 is a diagram illustrating a configuration example of the RLL / DC free / RS decoding unit 1323 of FIG. The RLL / DC free / RS decoding unit 1323 includes a redundant sequence detection unit 1034, a redundant sequence acquisition unit 1036, an RS decoding unit 1038, and an RLL / DC free decoding unit 1046. The redundant sequence detection unit 1034 detects the insertion point of the redundant sequence from the first signal sequence input by the LDPC iterative decoding unit 1322. Specifically, the insertion position is detected in consideration of the insertion interval of the redundant sequence and the number of bits per set.

冗長系列取得部1036は、冗長系列検出部1034によって検出された挿入個所にしたがって、LDPC繰返復号部1322によって入力された第1信号系列から冗長系列を切り離して、第2信号系列を取得する。RS復号部1038は、冗長系列取得部1036によって切り離された冗長ビットを用いて、冗長系列取得部1036によって取得された第2信号系列の誤りを訂正する。RLL/DCフリー復号部1046は、RS復号部1038によって誤りが訂正された第2信号系列に対し、ランレングス制限復号を実行する。具体的には、図12に図示したRLL/DCフリー/RS符号化部1303の動作と逆の順序で処理が行なわれる。   The redundant sequence acquisition unit 1036 acquires the second signal sequence by separating the redundant sequence from the first signal sequence input by the LDPC iterative decoding unit 1322 according to the insertion location detected by the redundant sequence detection unit 1034. The RS decoding unit 1038 corrects the error of the second signal sequence acquired by the redundant sequence acquisition unit 1036 using the redundant bits separated by the redundant sequence acquisition unit 1036. The RLL / DC free decoding unit 1046 performs run-length limited decoding on the second signal sequence whose error is corrected by the RS decoding unit 1038. Specifically, processing is performed in the reverse order to the operation of RLL / DC free / RS encoding section 1303 shown in FIG.

図20は、図19のRLL/DCフリー復号部1046の構成例を示す図である。RLL/DCフリー復号部1046は、判定ビット取得部1068と、RLL復号部1070と、第2信号処理部1072とを含む。判定ビット取得部1068は、RS復号部1038によって誤りが訂正された第2信号系列に付加されている所定の判定ビットを取得する。RLL復号部1070は、RS復号部1038によって誤りが訂正された第2信号系列(判定ビットを除く)をランレングス制限復号することによってデジタル信号系列を生成する。第2信号処理部1072は、RLL復号部1070によって生成されたデジタル信号系列に対し、判定ビット取得部1068によって取得された判定ビットに応じて、第1信号処理部1062で実行された所定の信号処理と逆の信号処理を実行して出力する処理を実行する。たとえば、図13の第1信号処理部1062において、ビット反転処理、および/または、ビットの順序を入れ替える処理を行なっていた場合、ビットの反転処理および/またはその入れ替えられた系列を元に戻す入れ替える処理とを実行する。もしくは、判定ビット取得部1068によって取得された判定ビットに応じて、第2信号処理部1072は、デジタル信号系列に含まれる複数のビットをそのまま出力する処理を実行する。   20 is a diagram illustrating a configuration example of the RLL / DC free decoding unit 1046 of FIG. The RLL / DC free decoding unit 1046 includes a determination bit acquisition unit 1068, an RLL decoding unit 1070, and a second signal processing unit 1072. Determination bit acquisition unit 1068 acquires a predetermined determination bit added to the second signal sequence in which the error is corrected by RS decoding unit 1038. The RLL decoding unit 1070 generates a digital signal sequence by performing run-length limited decoding on the second signal sequence (excluding the determination bit) whose error has been corrected by the RS decoding unit 1038. The second signal processing unit 1072 performs a predetermined signal executed by the first signal processing unit 1062 on the digital signal sequence generated by the RLL decoding unit 1070 according to the determination bit acquired by the determination bit acquisition unit 1068. The signal processing that is the reverse of the processing is executed and output. For example, if the first signal processing unit 1062 in FIG. 13 performs a bit inversion process and / or a process of changing the order of bits, the bit inversion process and / or the exchanged sequence is replaced to restore the original. Process. Or according to the determination bit acquired by the determination bit acquisition part 1068, the 2nd signal processing part 1072 performs the process which outputs the some bit contained in a digital signal series as it is.

上述したこれらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされた通信機能のあるプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   These configurations described above can be realized in hardware by a CPU, memory, or other LSI of an arbitrary computer, and in software by a program having a communication function loaded in the memory. Here, functional blocks realized by the cooperation are depicted. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

本第2実施形態によれば、ランレングス制限符号化を行なった後にRS符号化を行なうことによって、復号側においては、RS復号を行なった後の信号系列に対してランレングス制限復号を行なうことになる。いいかえると、RS復号によって誤り訂正された系列に対してランレングス制限復号が実行される。そうすると、符号化側において選択された符号化系列を正確に判別でき、全体としての誤り訂正能力を向上できる。また、ランレングス制限符号化系列のいずれかの個所に、複数の組に分割された冗長系列をそれぞれ異なる個所に付加することによって、冗長系列が付加された後の系列のRLL性、および、DCフリー特性を向上できる。また、組ごとに等間隔で付加することによって、冗長系列が付加された後の系列のRLL性、および、DCフリー特性をより向上できる。ランレングス制限符号化系列に偶数個ずつ冗長系列を付加することによって、冗長系列が付加された後の系列のRLL性をより向上できる。偶数個のビットを1組として、RLL/DCフリー符号化系列に付加したとしても、RLL性は大きく劣化することがないといえる。さらにいいかえると、冗長系列をRLL/DCフリー符号化系列に分散して負荷することによって、冗長系列をRLL符号化することと等価な効果が得られる。冗長ビットの長さは、ランレングス制限符号化系列の長さに比べ1/10程度であるので、DCフリー性はほとんど劣化せず、また、分散して付加しない場合と比べて、冗長系列部分のRLL性を極めて向上できる。   According to the second embodiment, by performing the RS encoding after the run length limited encoding, the decoding side performs the run length limited decoding on the signal sequence after the RS decoding. become. In other words, run-length limited decoding is performed on a sequence that has been error-corrected by RS decoding. If it does so, the encoding sequence selected in the encoding side can be discriminate | determined correctly, and the error correction capability as a whole can be improved. Further, by adding the redundant sequence divided into a plurality of sets to different locations at any location of the run-length limited encoded sequence, the RLL property of the sequence after the redundant sequence is added, and the DC Free characteristics can be improved. Further, by adding each group at equal intervals, it is possible to further improve the RLL property and DC-free characteristics of the sequence after the redundant sequence is added. By adding an even number of redundant sequences to the run-length limited encoded sequence, the RLL property of the sequence after the redundant sequence is added can be further improved. Even if an even number of bits are added to a RLL / DC-free encoded sequence as a set, it can be said that the RLL property does not deteriorate greatly. In other words, an effect equivalent to RLL encoding of a redundant sequence can be obtained by distributing and loading redundant sequences into RLL / DC free encoded sequences. Since the length of the redundant bit is about 1/10 of the length of the run-length limited encoded sequence, the DC-free property is hardly deteriorated, and the redundant sequence portion is compared with the case where it is not distributed and added. The RLL property can be greatly improved.

また、同一のRLL符号化を実行することによって、回路規模の増大を伴うことなく、DCフリー性が良い系列を生成できる。RLL符号化する前に、任意の信号系列と、任意の信号系列に所定の信号処理を実行した後の2つの系列とを対象とすることによって、生成される系列は全く異なるため、統計的にDCフリー性の良い系列が生成できる。また、この所定の信号処理を信号系列のビット数を変えずに実行することによって、符号化利得の減少を回避できる。さらに、信号処理の処理内容を任意に変更することによって、さまざまな系列を生成できるので、選択の幅を広げられる。そのため、よりDCフリー特性の良い系列を生成することができる。したがって、ハードディスクのような符号化率を低く設定できないようなアプリケーションにおいて好適となる。また、同一のRLL符号化回路を用いることによって、回路構成を単純化でき、また、低規模にできる。   Also, by executing the same RLL encoding, it is possible to generate a sequence having a good DC-free property without increasing the circuit scale. Since an arbitrary signal sequence and two sequences after performing predetermined signal processing on an arbitrary signal sequence before RLL encoding are processed, the generated sequences are completely different. A sequence having good DC-free property can be generated. Further, by executing this predetermined signal processing without changing the number of bits of the signal sequence, a decrease in coding gain can be avoided. Furthermore, since various sequences can be generated by arbitrarily changing the processing content of signal processing, the range of selection can be expanded. Therefore, it is possible to generate a sequence with better DC-free characteristics. Therefore, it is suitable for an application such as a hard disk where the coding rate cannot be set low. Further, by using the same RLL encoding circuit, the circuit configuration can be simplified and the scale can be reduced.

また、ビット反転処理、および/または、ビットの順序を並び替えることによって、ランレングス制限符号化の対象となる系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、異なる系列を生成するために実行する所定の処理をビット反転処理、および/または、ビットの順序を並び替える処理とすることによって、単純な回路構成で所定の処理を実現できる。また、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。   In addition, different sequences can be generated without increasing the number of bits included in the sequence to be run-length limited encoding by rearranging the bit order and / or rearranging the bit order. Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, the predetermined process executed to generate the different series is a bit inversion process and / or a process of rearranging the order of the bits, whereby the predetermined process can be realized with a simple circuit configuration. Further, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily discriminated on the decoding side.

また、過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部1074が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。符号化系列選択部1074において、区間処理と移動処理を組み合わせてRDSを計算することによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上できる。また、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   In addition, the encoded sequence selection unit 1074 performs selection determination on a combination of an encoded sequence selected in the past and an encoded sequence that is a candidate for current selection. DC-free characteristics can be improved. In the encoded sequence selection unit 1074, the RDS is calculated by combining the interval process and the movement process, thereby improving the DC-free property in the long interval, for example, the entire 300-bit sequence. Also, by selecting the one where the ratio of the bit indicating 0 and the bit indicating 1 is close to 50%, it is possible to select an encoded sequence having a high DC-free property. In addition, by adding a plurality of bits included in the encoded sequence and selecting a sequence corresponding to a smaller combined value, an encoded sequence having a high DC-free property can be selected. Further, by selecting a sequence using the maximum value among the results obtained by moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected. The original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side. By executing the encoding process with high DC-free property, the storage system can be accessed at higher speed. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

本第2実施形態において、R/Wチャネル1003は、1つの半導体基板上に一体集積化されてもよい。また、本第2実施形態の符号化系列選択部1074において、区間演算処理、もしくは、移動演算処理として説明した。しかしながらこれにかぎらず、区間平均処理、もしくは、移動平均処理を行なうことによって、DCフリー性の高い符号化系列の選別を行なってもよい。この場合であっても、同様の効果を得ることができる。また、RLL/DCフリー/RS符号化部1303の構成において、所定の信号処理を実行する第1信号処理部1062を用いて、異なる2つの信号系列を生成するとして説明した。しかしながらこれにかぎらず、複数の信号処理部を用いて複数の信号系列を生成してもよい。たとえば、ビット反転処理、ビットの順序を入れ替える処理、ビット反転処理及びビットの順序を入れ替える処理をそれぞれ実行する信号処理装置を備えていてもよい。この場合、4つのうちいずれの系列が選択されたことを示す判定ビットを2ビットとすることによって、復号側において適切な復号処理が実現できる。また、信号処理を行なわない系列も含め、4つの異なる系列を生成することができる。また、選択肢を増やせるので、DCフリー性の高い系列が生成される可能性を向上できる。   In the second embodiment, the R / W channel 1003 may be integrated on a single semiconductor substrate. Further, the coding sequence selection unit 1074 of the second embodiment has been described as the interval calculation process or the movement calculation process. However, the present invention is not limited to this, and an encoded sequence having a high DC-free property may be selected by performing section average processing or moving average processing. Even in this case, the same effect can be obtained. In addition, in the configuration of the RLL / DC free / RS encoding unit 1303, the description has been given assuming that two different signal sequences are generated using the first signal processing unit 1062 that executes predetermined signal processing. However, the present invention is not limited to this, and a plurality of signal sequences may be generated using a plurality of signal processing units. For example, a signal processing device that executes a bit inversion process, a process for changing the order of bits, a bit inversion process, and a process for changing the order of bits may be provided. In this case, an appropriate decoding process can be realized on the decoding side by setting the determination bit indicating that any of the four sequences has been selected to 2 bits. Also, four different sequences can be generated, including sequences that are not subjected to signal processing. In addition, since the number of options can be increased, the possibility that a sequence having a high DC-free property is generated can be improved.

また、誤り訂正方式としてRS符号を用いた場合について説明したがこれにかぎらず、他の組織符号、たとえば、LDPC符号やターボ符号であってもよい。これらの場合であっても、上述と同様の効果を得られることは言うまでもない。   Moreover, although the case where RS code was used as an error correction system was demonstrated, not only this but another system code, for example, LDPC code and turbo code, may be sufficient. Even in these cases, it goes without saying that the same effects as described above can be obtained.

また、図12および図12に関連する説明において、RS符号化部1042と冗長系列付加部1044とを別のブロックとしたが、これにかぎらず、RS符号化部1042は、冗長系列付加部1044を含む構成であってもよい。また、図17、図18において、最初にL個の間隔を置いた後、RLL/DCフリー符号化系列1400に部分冗長系列1510を付加するとして説明した。しかしながらこれにかぎらず、任意の値、たとえばαや0に置換えて、これらの処理が実行されてもよい。また、S20において、jが2NMより大きいか否かによって終了判定を行なうとして説明した。しかしながらこれにかぎらず、iがsLより大きいか否かを条件として終了判定を行なってもよい。これらの場合であっても、上述と同様の効果を得られることは言うまでもない。   12 and FIG. 12, the RS encoding unit 1042 and the redundant sequence adding unit 1044 are separate blocks. However, the RS encoding unit 1042 is not limited to this, and the redundant sequence adding unit 1044 is not limited thereto. The structure containing these may be sufficient. In FIG. 17 and FIG. 18, the description has been made assuming that the partial redundancy sequence 1510 is added to the RLL / DC-free encoded sequence 1400 after L intervals are initially set. However, the present invention is not limited to this, and these processes may be executed in place of any value, for example, α or 0. In S20, it has been described that the end determination is performed based on whether j is larger than 2NM. However, this is not restrictive, and the termination determination may be performed on the condition that i is larger than sL. Even in these cases, it goes without saying that the same effects as described above can be obtained.

(第3実施形態)
本発明の第3実施形態は、誤り訂正符号化/復号技術に関し、特に、記憶媒体に記憶されるデータに対して誤り訂正符号化/復号する符号化装置、復号装置、信号処理装置、および記憶システムに関する。
(Third embodiment)
The third embodiment of the present invention relates to an error correction encoding / decoding technique, and in particular, an encoding device, a decoding device, a signal processing device, and a storage that perform error correction encoding / decoding on data stored in a storage medium. About the system.

第3実施形態に関する背景技術について説明する。   The background art regarding the third embodiment will be described.

近年、ハードディスクを用いた記憶装置は、パーソナルコンピュータ、ハードディスクレコーダー、ビデオカメラ、携帯電話など、さまざまな分野において必須の装置となりつつある。ハードディスクを用いた記憶装置は、適用される分野によって求められる仕様もさまざまである。たとえば、パーソナルコンピュータに搭載するハードディスクには、高速性、大容量性が求められる。高速性、大容量性を向上するためには、訂正能力の高い誤り訂正符号化をする必要がある。しかしながら、高速化が進むほど単位時間あたりに扱うデータの量が増えるため、単位時間あたりの誤りも比例して増大する。そうすると、誤り訂正能力が低い誤り訂正方式を用いる場合、ハードディスクに対する再読込みが発生するため、ハードディスクへのアクセスに要する時間が増大し、高速化のボトルネックとなる。   In recent years, storage devices using hard disks are becoming essential devices in various fields such as personal computers, hard disk recorders, video cameras, and mobile phones. Storage devices using a hard disk have various specifications required depending on the field to which they are applied. For example, a hard disk mounted on a personal computer is required to have high speed and large capacity. In order to improve high speed and large capacity, it is necessary to perform error correction coding with high correction capability. However, since the amount of data handled per unit time increases as the speed increases, errors per unit time also increase proportionally. Then, when an error correction method with low error correction capability is used, the hard disk is re-read, so that the time required to access the hard disk increases and becomes a bottleneck for speeding up.

一般的に、誤り訂正符号化の対象となる信号系列として、直流成分が低減もしくは除去された(以下、「DCフリー」、もしくは、「DCフリー性」と表記する)信号系列が望まれている。DCフリーとは、周波数が0、すなわち直流成分におけるスペクトルが0であることを意味する。いいかえると、変調前の信号系列に含まれる複数のビットにおいて、0と1の比率が等しいことなどを意味する。DCフリー性を信号系列に備えるさせることによって、記憶媒体に記憶された変調データの記録パターンから得られる再生信号の平均レベルが、変調前の信号系列のパターンによらずに、所定の信号系列長の範囲内で常に一定となる性質をもち、ノイズ耐性が向上する。すなわち、DCフリー性の低い信号系列においては、ビタビアルゴリズムを用いたデータ検出において、検出確率が低下することとなる。これにより、低密度パリティチェック復号やリードソロモン復号における訂正能力も低減されることとなる。また、一般的に、サンプリングタイミングとデータとの同期を確保するために、ランレングス制限符号が用いられている。ランレングス制限符号とは、0の最大連続長や1の最大連続長を制限する符号化である。   In general, a signal sequence in which a DC component is reduced or removed (hereinafter referred to as “DC-free” or “DC-free”) is desired as a signal sequence to be subjected to error correction coding. . DC free means that the frequency is 0, that is, the spectrum in the DC component is 0. In other words, it means that the ratio of 0 and 1 is equal in a plurality of bits included in the signal sequence before modulation. By providing the signal sequence with the DC-free property, the average level of the reproduction signal obtained from the recording pattern of the modulation data stored in the storage medium is a predetermined signal sequence length regardless of the pattern of the signal sequence before modulation. The noise resistance is improved by having a constant property within the range of. That is, in a signal sequence having a low DC-free property, the detection probability decreases in data detection using the Viterbi algorithm. As a result, the correction capability in low density parity check decoding and Reed-Solomon decoding is also reduced. In general, a run-length limit code is used to ensure synchronization between sampling timing and data. The run length limited code is a coding that limits the maximum continuous length of 0 or the maximum continuous length of 1.

従来、信号系列のDCフリー性を満たしつつ、ランレングス制限符号化する方法として、それぞれ異なる冗長ビットが付加された信号系列に対し、ランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特開2002−100125号公報参照。)。また、複数の異なる性質を有するランレングス制限符号化を実行し、符号化された複数の系列のうち、DCフリーに近い特性を有する系列を選択する方法が提案されていた(たとえば、特開2004−213863号公報参照。)。   Conventionally, as a method for performing run-length limited encoding while satisfying DC-freeness of a signal sequence, a plurality of encoded sequences are obtained by executing run-length limited encoding on signal sequences to which different redundant bits are added. Among them, a method for selecting a sequence having characteristics close to DC free has been proposed (for example, see Japanese Patent Application Laid-Open No. 2002-100125). In addition, a method has been proposed in which run-length limited encoding having a plurality of different properties is performed, and a sequence having characteristics close to DC-free is selected from the plurality of encoded sequences (for example, Japanese Patent Application Laid-Open No. 2004-2004). -213863).

第3実施形態が解決しようとする課題を説明する。   A problem to be solved by the third embodiment will be described.

本発明者はこうした状況下、以下の課題を認識するに至った。複数の符号化系列の中からDCフリー特性の良い系列を選択することによってDCフリー符号化を実現する場合、選択の対象となる複数の符号化系列においてDCフリー特性の良い符号化系列が存在しない場合がある。すなわち、選択の対象となる符号化系列のうち、少なくとも1つ以上のDCフリー特性の良い系列を生成できる構成が必要となり、回路規模、記憶容量に影響を及ぼすといった課題である。   Under such circumstances, the present inventor has come to recognize the following problems. When realizing DC-free coding by selecting a sequence having good DC-free characteristics from among a plurality of coded sequences, there is no coded sequence having good DC-free characteristics among the plurality of coded sequences to be selected. There is a case. That is, it is necessary to have a configuration capable of generating at least one sequence having good DC-free characteristics among the encoded sequences to be selected, which affects the circuit scale and the storage capacity.

本発明の第3実施形態はこうした状況に鑑みてなされたものであり、その総括的な目的は、より少ない回路規模で、ランレングス制限を満たしつつ、DCフリー特性を向上できる符号化装置、復号装置、信号処理装置、および記憶システムを提供することにある。   The third embodiment of the present invention has been made in view of such a situation, and the general purpose thereof is an encoding device and a decoding that can improve DC-free characteristics while satisfying run-length restrictions with a smaller circuit scale. An object is to provide a device, a signal processing device, and a storage system.

上記課題を解決するために、本発明の第3実施形態のある態様の符号化装置は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成するランレングス制限符号化部と、第1符号化系列に含まれる複数のビットの個数を変えずに、第1符号化系列に対し、所定の信号処理を実行して第2符号化系列を生成する信号処理部と、ランレングス制限符号化部によって生成された第1符号化系列と、信号処理部によって生成された第2符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、を備える。ここで、「直流成分除去符号化部」とは、入力された系列の直流成分を除去するもしくは低減する回路などを含み、また、DCフリー性の高い系列を出力する回路などを含む。   In order to solve the above-described problem, an encoding apparatus according to an aspect of the third embodiment of the present invention performs run-length limited encoding that generates a first encoded sequence by performing run-length limited encoding on a digital signal sequence. A signal processing unit that performs predetermined signal processing on the first encoded sequence without changing the number of bits included in the first encoded sequence to generate a second encoded sequence; A DC component removal encoding unit that selects and outputs one of the first encoded sequence generated by the run-length limited encoding unit and the second encoded sequence generated by the signal processing unit; Is provided. Here, the “DC component removal coding unit” includes a circuit that removes or reduces a DC component of an input sequence, and a circuit that outputs a sequence having a high DC-free property.

この態様によると、ランレングス制限符号化によって生成された系列と、その系列を信号処理した系列とを生成することによって、全く異なる2つの系列を生成することができる。また、系列に含まれるビットの個数を増加しないように所定の信号処理を実行することによって、全体の符号化率を低下させずに符号化系列が得られる。2つの符号化系列は相反転しているため、DCフリー性の高い符号化系列を選択するにあたり、より好ましい選択肢となる。より好ましい選択肢の中からDCフリー性の高い符号化系列を選択することによって、よりDCフリー性の高い符号化系列を選択できる可能性が向上できる。また、単一のランレングス制限符号化回路を用いることによって、回路構成を単純化でき、また、低規模にできる。   According to this aspect, two completely different sequences can be generated by generating a sequence generated by run-length limited encoding and a sequence obtained by signal processing of the sequence. Further, by executing predetermined signal processing so as not to increase the number of bits included in the sequence, an encoded sequence can be obtained without reducing the overall coding rate. Since the two encoded sequences are phase-inverted, it is a more preferable option for selecting an encoded sequence having a high DC-free property. By selecting an encoded sequence having a high DC-free property from more preferable options, the possibility of selecting an encoded sequence having a higher DC-free property can be improved. Further, by using a single run-length limited encoding circuit, the circuit configuration can be simplified and the scale can be reduced.

ランレングス制限符号化部は、第1符号化系列に含まれる複数のビットのうちの0を示すビットが連続して存在する少なくとも1つ以上の0連続区間であって、最大の長さを有する0連続区間の長さが0以上第1許容連続長以下になるように、かつ、第1符号化系列に含まれる複数のビットのうちの1を示すビットが連続して存在する少なくとも1つ以上の1連続区間であって、最大の長さを有する1連続区間の長さが0以上第2許容連続長以下になるように、第1符号化系列を生成してもよい。この態様によると、第1符号化系列に含まれる0の連続長と1の連続長の双方をランレングス制限符号化部によって制限することによって、第2符号化系列においてもその制限が維持される。   The run-length limited encoding unit is at least one or more 0 consecutive sections in which bits indicating 0 among a plurality of bits included in the first encoded sequence are continuously present, and has a maximum length. At least one or more bits in which a length of 0 continuous section is not less than 0 and not more than the first allowable continuous length and a bit indicating 1 among a plurality of bits included in the first encoded sequence exists continuously The first encoded sequence may be generated such that the length of one continuous section having the maximum length is 0 or more and the second allowable continuous length or less. According to this aspect, by limiting both the continuous length of 0 and the continuous length of 1 included in the first encoded sequence by the run-length limited encoding unit, the limitation is also maintained in the second encoded sequence. .

ランレングス制限符号化部は、第1許容連続長と第2許容連続長を同一の長さとして、第1符号化系列を生成してもよい。この態様によると、ランレングス制限符号化部の後段において、1の連続長と0の連続長とが制限された符号化系列に対してビット反転処理を実行したとしても、連続長に関する制限を維持できる。信号処理部は、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行してもよい。この態様によると、ビット反転処理することによって、系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、異なる系列を生成するために実行する所定の処理をビット反転処理とすることによって、単純な回路構成で所定の処理を実現できる。   The run length limited encoding unit may generate the first encoded sequence with the first allowable continuous length and the second allowable continuous length as the same length. According to this aspect, even if bit inversion processing is performed on an encoded sequence in which the continuous length of 1 and the continuous length of 0 are limited in the subsequent stage of the run-length limited encoding unit, the restriction on the continuous length is maintained. it can. The signal processing unit may perform bit inversion processing on each of a plurality of bits included in the digital signal sequence. According to this aspect, by performing bit inversion processing, different sequences can be generated without increasing the number of bits included in the sequence. Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, the predetermined process executed to generate the different series is a bit inversion process, whereby the predetermined process can be realized with a simple circuit configuration.

直流成分除去符号化部は、第1符号化系列と第2符号化系列のうち、いずれか一方の符号化系列を選択する符号化系列選択部と、符号化系列選択部によって選択された符号化系列を示す選択識別情報を生成する選択識別情報生成部と、符号化系列選択部によって選択された符号化系列のいずれかの個所に、選択識別情報生成部によって生成された選択識別情報を付加する識別情報付加部と、を有してもよい。符号化系列選択部は、当該符号化系列選択部によってすでに選択された符号化系列と第1符号化系列とを連結させる第1連結部と、当該符号化系列選択部によってすでに選択された符号化系列と第2符号化系列とを連結させる第2連結部と、を有してもよい。符号化系列選択部は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の新たな符号化系列を選択してもよい。ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する第1付加部と、信号処理部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する第2付加部と、をさらに備えてもよい。   The direct current component removal encoding unit includes an encoded sequence selection unit that selects one of the first encoded sequence and the second encoded sequence, and an encoding selected by the encoded sequence selection unit. The selection identification information generated by the selection identification information generation unit is added to any part of the selection identification information generation unit that generates selection identification information indicating a sequence and the encoded sequence selected by the encoding sequence selection unit. And an identification information adding unit. The encoded sequence selection unit includes a first concatenation unit that connects the encoded sequence already selected by the encoded sequence selection unit and the first encoded sequence, and the encoding already selected by the encoded sequence selection unit. A second concatenation unit that concatenates the sequence and the second encoded sequence. The encoded sequence selection unit sets the sequence concatenated by the first concatenation unit as a new first encoded sequence, sets the sequence concatenated by the second concatenation unit as a new second encoded sequence, and either one of the new sequence An encoded sequence may be selected. A first addition unit for adding a first determination bit to any part of the first encoded sequence output from the run-length limited encoding unit; and any of the second encoded sequence output from the signal processing unit. And a second adding unit that adds a second determination bit obtained by inverting the first determination bit at a location.

ここで、「付加」とは、加算、乗算、挿入などを含む。また、「すでに選択された符号化系列と前記第1符号化系列とを連結させる」とは、過去において選択された符号化系列と、現在選択の候補となっている系列とを連結させることなどを含む。この態様によると、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。   Here, “addition” includes addition, multiplication, insertion, and the like. In addition, “connecting an already selected encoded sequence and the first encoded sequence” means connecting an encoded sequence selected in the past and a sequence that is currently a candidate for selection, etc. including. According to this aspect, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily determined on the decoding side.

符号化系列選択部は、第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する第1比率計算部と、第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する第2比率計算部と、第1比率計算部で計算された比率と、第2比率計算部で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する選択出力部と、を有してもよい。この態様によると、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。   The encoded sequence selection unit includes a first ratio calculation unit that calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the first encoded sequence, and included in the second encoded sequence A second ratio calculating unit that calculates a ratio between a bit indicating 0 and a bit indicating 1 among the plurality of bits, a ratio calculated by the first ratio calculating unit, and a ratio calculated by the second ratio calculating unit A selection output unit that selects and outputs an encoded sequence corresponding to a ratio closer to 50% of the ratio. According to this aspect, an encoded sequence having a high DC-free property can be selected by selecting the one where the ratio between the bit indicating 0 and the bit indicating 1 is close to 50%.

符号化系列選択部は、第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する第1合算部と、第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する第2合算部と、第1合算部によって生成された第1合算値の絶対値と、第2合算部によって生成された第2合算値の絶対値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値対応する符号化系列を検出する符号化系列検出部と、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する選択出力部と、を有してもよい。ここで、「合算値」とは、系列に含まれるビットを加算することなどを含む。また、「系列に含まれる複数のビット」とは、0もしくは1を示すビットなどを含み、また、0を示すビットを+1と置換え、1を示すビットを−1と置換えた場合におけるビットなども含む。この態様によると、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   The encoded sequence selection unit adds a plurality of bits included in the first encoded sequence to generate a first combined value, and adds a plurality of bits included in the second encoded sequence. The second summation unit that generates the second summation value, the absolute value of the first summation value generated by the first summation portion, and the absolute value of the second summation value generated by the second summation portion are compared. Among the first encoded sequence and the second encoded sequence, the encoded sequence detection unit that detects the encoded sequence corresponding to the smaller sum value, the first encoded sequence, and the second encoded sequence A selection output unit that selects and outputs the encoded sequence detected by the sequence detection unit. Here, the “summed value” includes adding bits included in the series. In addition, “a plurality of bits included in a sequence” includes a bit indicating 0 or 1 and the like, and a bit when a bit indicating 0 is replaced with +1 and a bit indicating 1 is replaced with −1. Including. According to this aspect, a plurality of bits included in the encoded sequence are added together, and a sequence corresponding to a smaller combined value is selected, so that an encoded sequence having a high DC-free property can be selected.

符号化系列選択部は、第1符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第1移動加算値を生成する第1移動加算部と、第1移動加算部によって生成された複数の第1移動加算値のうち、最大値を検出する第1最大値検出部と、第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する第2移動加算部と、第2移動加算部によって生成された複数の第2移動加算値のうち、最大値を検出する第2最大値検出部と、第1最大値検出部によって検出された最大値と、第2最大値検出部によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する符号化系列検出部と、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する選択出力部と、を有してもよい。ここで、「移動加算する」とは、移動加算し、さらに、絶対値を計算することなどを含む。この態様によると、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。   An encoded sequence selection unit includes a first mobile addition unit that generates the same number of first mobile addition values as a plurality of bits by moving and adding a plurality of bits included in the first encoded sequence; A first maximum value detection unit that detects a maximum value among the plurality of first movement addition values generated by the unit, and a plurality of bits by moving and adding a plurality of bits included in the second encoded sequence, A second movement addition unit that generates the same number of second movement addition values; a second maximum value detection unit that detects a maximum value among a plurality of second movement addition values generated by the second movement addition unit; Comparing the maximum value detected by the 1 maximum value detection unit with the maximum value detected by the second maximum value detection unit, the smaller maximum value of the first encoded sequence and the second encoded sequence An encoded sequence detection unit for detecting an encoded sequence corresponding to A first encoding sequence, of a second coding sequence, and a selection output section for selectively outputting the detected coded sequence by sequence detector may have. Here, “moving and adding” includes moving and adding, and calculating an absolute value. According to this aspect, by selecting a sequence using the maximum value among the results of moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected.

本発明の第3実施形態の別の態様は、復号装置である。この装置は、所定の判定ビットが付加された符号化系列を入力する入力部と、入力部によって入力された符号化系列に付加されている所定の判定ビットを取得する判定ビット取得部と、入力部によって入力された符号化系列に対し、判定ビット取得部によって取得された判定ビットに応じて、符号化系列に含まれる複数のビットのそれぞれをビット反転して、復号対象となる信号系列を出力する処理、もしくは、符号化系列を復号対象となる信号系列として、そのまま出力する処理のいずれかの処理を実行する信号処理部と、信号処理部によって出力された復号対象となる信号系列をランレングス制限復号することによってデジタル信号系列を生成するランレングス制限復号部と、を備える。この態様によると、符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。   Another aspect of the third embodiment of the present invention is a decoding device. The apparatus includes an input unit that inputs an encoded sequence to which a predetermined determination bit is added, a determination bit acquisition unit that acquires a predetermined determination bit added to the encoded sequence input by the input unit, and an input The bit sequence inverts each of a plurality of bits included in the encoded sequence according to the determination bit acquired by the determination bit acquisition unit and outputs the signal sequence to be decoded. Or a signal processing unit that executes any one of the process of outputting the encoded sequence as a signal sequence to be decoded as it is and the run length of the signal sequence to be decoded output by the signal processing unit. A run-length limited decoding unit that generates a digital signal sequence by performing limited decoding. According to this aspect, the original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side.

本発明の第3実施形態のさらに別の態様は、信号処理装置である。この装置は、符号化部と復号部とを備える信号処理装置であって、符号化部は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成するランレングス制限符号化部と、第1符号化系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行して第2符号化系列を生成する信号処理部と、ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する第1付加部と、信号処理部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する第2付加部と、第1付加部によって第1判定ビットが付加された第1符号化系列と、第2付加部によって第2判定ビットが付加された第2符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、を有し、復号部は、第1判定ビットもしくは第2判定ビットのいずれかが付加された符号化系列を入力する入力部と、入力部によって入力された符号化系列に付加されている判定ビットを取得する判定ビット取得部と、入力部によって入力された符号化系列に対し、判定ビット取得部によって取得された判定ビットに応じて、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して、復号対象となる信号系列を出力する処理、もしくは、符号化系列を復号対象となる信号系列として、そのまま出力する処理のいずれかの処理を実行する信号処理部と、信号処理部によって出力された復号対象となる信号系列をランレングス制限復号することによってデジタル信号系列を生成するランレングス制限復号部と、を有してもよい。   Yet another aspect of the third embodiment of the present invention is a signal processing device. This apparatus is a signal processing apparatus including an encoding unit and a decoding unit, and the encoding unit performs a run-length limited code that generates a first encoded sequence by performing a run-length limited encoding on a digital signal sequence. Output from the encoding unit, the signal processing unit that generates the second encoded sequence by performing bit inversion processing on each of the plurality of bits included in the first encoded sequence, and the run-length limited encoding unit A first addition unit that adds a first determination bit to any part of the first encoded sequence, and a first determination bit is bit-inverted to any part of the second encoded sequence output from the signal processing unit A second addition unit for adding the second determination bit, a first encoded sequence to which the first determination bit is added by the first addition unit, and a second code to which the second determination bit is added by the second addition unit. Izu A DC component removal encoding unit that selects and outputs either of them, and a decoding unit, an input unit that inputs an encoded sequence to which either the first determination bit or the second determination bit is added, A determination bit acquisition unit that acquires a determination bit added to the encoded sequence input by the input unit, and a determination bit acquired by the determination bit acquisition unit for the encoded sequence input by the input unit Either a process of outputting a signal sequence to be decoded by bit-inverting each of a plurality of bits included in the digital signal sequence, or a process of outputting an encoded sequence as a signal sequence to be decoded as it is A digital signal sequence is generated by run-length limited decoding of the signal sequence to be decoded and output from the signal processing unit. A runlength limited decoding unit which may have a.

この態様によると、系列に含まれるビットの個数を増加しないように反転処理を実行することによって、全体の符号化率を低下させずに符号化系列が得られる。2つの符号化系列は論理反転された関係にあるため、DCフリー性の高い符号化系列を選択するにあたり、より好ましい選択肢となる。より好ましい選択肢の中からDCフリー性の高い符号化系列を選択することによって、よりDCフリー性の高い符号化系列を選択できる可能性が向上できる。また、復号側において、符号化側で実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。   According to this aspect, by performing the inversion process so as not to increase the number of bits included in the sequence, the encoded sequence can be obtained without reducing the overall coding rate. Since the two encoded sequences are in a logically inverted relationship, it is a more preferable option for selecting an encoded sequence having a high DC-free property. By selecting an encoded sequence having a high DC-free property from more preferable options, the possibility of selecting an encoded sequence having a higher DC-free property can be improved. In addition, on the decoding side, the original digital signal sequence can be decoded by executing processing corresponding to the DC-free encoding executed on the encoding side.

本発明の第3実施形態のさらに別の態様は、記憶システムである。この記憶システムは、データを記憶装置に書き込むライトチャネルと、記憶装置に記憶されているデータを読み出すリードチャネルとを備える信号記憶システムであって、ライトチャネルは、データをランレングス符号化する第1の符号化部と、第1の符号化部で符号化されたデータに対し、低密度パリティ検査符号を用いて符号化する第2の符号化部と、第2の符号化部で符号化されたデータを記憶装置に書き込む書き込み部と、を備え、リードチャネルは、記憶装置から出力されたアナログ信号を入力する入力部と、入力部から入力されたアナログ信号をデジタル信号に変換して出力するアナログデジタル変換部と、アナログデジタル変換部から出力されたデジタル信号の尤度を計算して軟判定値を出力するソフト出力検出部と、ソフト出力検出部から出力されたデータを復号する、第2の符号化部に対応した、第1の復号部と、第1の復号部で復号されたデータを復号する、第1の符号化部に対応した、第2の復号部と、を備える。第1の符号化部は、デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成するランレングス制限符号化部と、第1符号化系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行して第2符号化系列を生成する信号処理部と、ランレングス制限符号化部から出力された第1符号化系列のいずれかの個所に第1判定ビットを付加する第1付加部と、信号処理部から出力された第2符号化系列のいずれかの個所に第1判定ビットがビット反転された第2判定ビットを付加する第2付加部と、第1付加部によって第1判定ビットが付加された第1符号化系列と、第2付加部によって第2判定ビットが付加された第2符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、を有する。第2の復号部は、第1判定ビットもしくは第2判定ビットのいずれかが付加された符号化系列を入力する入力部と、入力部によって入力された符号化系列に付加されている判定ビットを取得する判定ビット取得部と、入力部によって入力された符号化系列に対し、判定ビット取得部によって取得された判定ビットに応じて、デジタル信号系列に含まれる複数のビットのそれぞれをビット反転して、復号対象となる信号系列を出力する処理、もしくは、符号化系列を復号対象となる信号系列として、そのまま出力する処理のいずれかの処理を実行する信号処理部と、信号処理部によって出力された復号対象となる信号系列をランレングス制限復号することによってデジタル信号系列を生成するランレングス制限復号部と、を有する。この態様によると、DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。   Yet another aspect of the third embodiment of the present invention is a storage system. This storage system is a signal storage system including a write channel for writing data to the storage device and a read channel for reading data stored in the storage device, and the write channel is a first that performs run-length encoding of data. The data encoded by the first encoding unit, the second encoding unit that encodes the data encoded by the first encoding unit using the low-density parity check code, and the second encoding unit The read channel writes an analog signal output from the storage device, and converts the analog signal input from the input unit into a digital signal and outputs the digital signal. An analog-digital converter, a software output detector that calculates the likelihood of the digital signal output from the analog-digital converter, and outputs a soft decision value; A first decoding unit corresponding to a second encoding unit that decodes data output from the force detection unit, and a first encoding unit that decodes data decoded by the first decoding unit. A corresponding second decoding unit. The first encoding unit includes a run-length limited encoding unit that generates a first encoded sequence by performing run-length limited encoding on the digital signal sequence, and a plurality of bits included in the first encoded sequence. On the other hand, a first determination bit is added to one of the signal processing unit that performs bit inversion processing to generate the second encoded sequence and the first encoded sequence output from the run-length limited encoding unit. A first adding unit that adds a second determination bit obtained by inverting the first determination bit to any part of the second encoded sequence output from the signal processing unit, and a first addition DC component for selecting and outputting one of the first encoded sequence to which the first determination bit is added by the unit and the second encoded sequence to which the second determination bit is added by the second addition unit And a removal coding unit. That. The second decoding unit includes an input unit that inputs an encoded sequence to which either the first determination bit or the second determination bit is added, and a determination bit that is added to the encoded sequence input by the input unit. A determination bit acquisition unit to be acquired, and a bit sequence obtained by inverting each of a plurality of bits included in the digital signal sequence in accordance with the determination bit acquired by the determination bit acquisition unit for the encoded sequence input by the input unit A signal processing unit that performs either of a process of outputting a signal sequence to be decoded or a process of outputting an encoded sequence as a signal sequence to be decoded as it is and a signal processing unit A run-length limited decoding unit that generates a digital signal sequence by subjecting the signal sequence to be decoded to run-length limited decoding. According to this aspect, the storage system can be accessed at higher speed by executing the encoding process with high DC-free property.

本発明の第3実施形態のさらに別の態様もまた、記憶システムである。この記憶システムは、さらに、データを記憶する記憶装置と、記憶装置への書き込みと、記憶装置からの読み出しとを制御する制御部と、を有する。リードチャネルは、制御部の指示に従って、記憶装置に記憶されているデータを読み出し、ライトチャネルは、制御部の指示に従って、符号化されたデータを記憶装置に書き込む。この態様によると、DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。   Yet another aspect of the third embodiment of the present invention is also a storage system. The storage system further includes a storage device that stores data, and a control unit that controls writing to the storage device and reading from the storage device. The read channel reads data stored in the storage device in accordance with an instruction from the control unit, and the write channel writes encoded data in the storage device in accordance with an instruction from the control unit. According to this aspect, the storage system can be accessed at higher speed by executing the encoding process with high DC-free property.

本発明の第3実施形態のさらに別の態様は、符号化装置である。この装置は、符号化装置おいて、当該装置は、1つの半導体基板上に一体集積化されてもよい。この態様によると、DCフリー性の高い符号化処理が効率良く実行でき、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Yet another aspect of the third embodiment of the present invention is an encoding device. This device may be an integrated device, and the device may be integrated on a single semiconductor substrate. According to this aspect, encoding processing with high DC-free characteristics can be executed efficiently, and it is not necessary to install extra hardware, so that a low-scale semiconductor integrated circuit can be realized.

本発明の第3実施形態のさらに別の態様は、ランレングス制限符号化方法である。この方法は、デジタル信号系列をランレングス制限符号化することによって、符号化系列を生成するランレングス制限符号化方法であって、符号化系列に含まれる複数のビットのうちの0を示すビットが連続して存在する少なくとも1つ以上の0連続区間であって、最大の長さを有する0連続区間の長さが0以上第1許容連続長以下となるように、かつ、符号化系列に含まれる複数のビットのうちの1を示すビットが連続して存在する少なくとも1つ以上の1連続区間であって、最大の長さを有する1連続区間の長さが第2許容連続長より短くなるように、第1符号化系列を生成する。また、ランレングス制限符号化方法は、第1許容連続長と第2許容連続長を同一の長さとして、符号化系列を生成してもよい。この態様によると、符号化系列に含まれる0の連続長と1の連続長の双方をランレングス制限符号化部によって制限することによって、連続長に関し、より良好な制限を有する符号化系列が生成できる。   Yet another aspect of the third embodiment of the present invention is a run-length limited encoding method. This method is a run-length limited encoding method for generating an encoded sequence by performing run-length limited encoding on a digital signal sequence, and a bit indicating 0 among a plurality of bits included in the encoded sequence is It is at least one or more consecutive 0 continuous sections that exist continuously, and the length of the continuous zero section having the maximum length is not less than 0 and not more than the first allowable continuous length, and is included in the encoded sequence At least one continuous section in which a bit indicating one of a plurality of bits continuously exists, and the length of one continuous section having the maximum length is shorter than the second allowable continuous length. Thus, the first encoded sequence is generated. The run-length limited encoding method may generate an encoded sequence with the first allowable continuous length and the second allowable continuous length as the same length. According to this aspect, by limiting both the continuous length of 0 and the continuous length of 1 included in the encoded sequence by the run-length limited encoding unit, an encoded sequence having a better restriction on the continuous length is generated. it can.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明の第3実施形態を具体的に説明する前に、まず本第3実施形態にかかる記憶システムについて概要を述べる。本第3実施形態にかかる記憶システムは、ハードディスクコントローラと、磁気ディスク装置と、リードチャネルとライトチャネルを含むリードライトチャネルと、を有する。ライトチャネルにおいては、符号化として、ランレングス制限符号化と、DCフリー符号化と、LDPC符号化とを実行する。また、リードチャネルにおいては、ビタビアルゴリズムなどを用いたデータ検出と、LDPC復号を行なう。このデータ検出は、DC成分が存在することによって検出精度が劣化することが知られている。さらに、検出精度が劣化することによりLDPC復号の訂正能力が低減する。したがって、本発明の第3実施形態においては、LDPC符号化を行なう前の段階において、DC成分を低減させるDCフリー符号化を行なう構成とした。なお、本第3実施形態にかかる記憶システムは、LDPC符号化に限定されず、他の誤り訂正符号化方式、たとえば、ターボ符号化や畳込み符号化が実行される構成であってもよい。   Before specifically describing the third embodiment of the present invention, an outline of a storage system according to the third embodiment will be described first. The storage system according to the third embodiment includes a hard disk controller, a magnetic disk device, and a read / write channel including a read channel and a write channel. In the light channel, run-length limited coding, DC-free coding, and LDPC coding are executed as coding. In the read channel, data detection using a Viterbi algorithm or the like and LDPC decoding are performed. In this data detection, it is known that detection accuracy deteriorates due to the presence of a DC component. Furthermore, the correction capability of LDPC decoding decreases due to the deterioration of detection accuracy. Therefore, in the third embodiment of the present invention, the configuration is such that DC-free encoding for reducing the DC component is performed before the LDPC encoding. Note that the storage system according to the third embodiment is not limited to LDPC encoding, and may be configured to execute another error correction encoding scheme, for example, turbo encoding or convolutional encoding.

DCフリー符号化は、異なる2つの系列のうち、よりDCフリー性の高い系列を選択することによって実現される。異なる2つの系列を生成するために、異なる2つの性質を有するRLL符号化を実行すると、2つ目のRLL符号化の回路が必要となる分、回路規模が増大する。また、回路規模の問題としないアプリケーションの場合であっても、異なる2つの性質を有するRLL符号化を実行した結果、双方の系列ともにDCフリー性が良いとは限らない。したがって、本第3実施形態においては、同一のRLL符号化を実行することとした。   DC-free coding is realized by selecting a sequence having higher DC-free property from two different sequences. When RLL encoding having two different properties is performed in order to generate two different sequences, the circuit scale increases as the second RLL encoding circuit is required. Even in the case of an application that does not pose a problem in circuit scale, as a result of executing RLL coding having two different properties, both sequences are not always good in DC-freeness. Therefore, in the third embodiment, the same RLL encoding is executed.

ここで、同一のRLL符号化を実行する場合、選択の対象となる系列が同一になるのを回避する必要がある。また、DCフリー特性の良い制限符号化系列が存在しない場合を避ける必要もある。そこで、本第3実施形態においては、RLL符号化によって得た系列と、その系列を反転した2つの系列とを選択の対象とすることとした。また、RLL符号化においては、0だけでなく、1の連続長も制限することとした。これにより、RLL符号化によって得た系列だけでなく、反転された系列においても、そのRLL特性を保証できる。また、生成される2つの系列は実質的に同一のDCフリー性を有することとなるが、数区間にわたり平均化することによって、統計的にDCフリー性の良い系列が生成できる。したがって、本第3実施形態における符号化装置は、RLL特性とDCフリー性の双方を向上できる。また、本第3実施形態における符号化装置は、単一のRLL符号化部と、反転部などの簡易な構成で実現されるため、回路規模を低減できる。さらに、本第3実施形態における符号化装置は、符号化率を低く設定することなしに高いDCフリー性を有する符号化系列が生成できるため、ハードディスクのような符号化率を低く設定できないようなアプリケーションにおいて好適となる。詳細は後述する。   Here, when executing the same RLL encoding, it is necessary to avoid that the sequences to be selected are the same. It is also necessary to avoid the case where there is no restricted coding sequence with good DC-free characteristics. Therefore, in the third embodiment, a sequence obtained by RLL encoding and two sequences obtained by inverting the sequence are selected. In RLL encoding, not only 0 but also the continuous length of 1 is limited. As a result, the RLL characteristics can be guaranteed not only in the sequence obtained by RLL coding but also in the inverted sequence. The two sequences to be generated have substantially the same DC-free property, but by averaging over several intervals, a sequence having a statistically good DC-free property can be generated. Therefore, the encoding device according to the third embodiment can improve both the RLL characteristic and the DC-free property. In addition, since the encoding apparatus according to the third embodiment is realized with a simple configuration such as a single RLL encoding unit and an inverting unit, the circuit scale can be reduced. Furthermore, since the encoding apparatus according to the third embodiment can generate an encoded sequence having a high DC-free property without setting the encoding rate low, the encoding rate such as a hard disk cannot be set low. Suitable for applications. Details will be described later.

以下、図面を用いて、本発明の第3実施形態について詳細に説明する。   Hereinafter, the third embodiment of the present invention will be described in detail with reference to the drawings.

図21は、本発明の第3実施形態に係る記憶システム2100の構成を示す図である。図21の記憶システム2100は、大きく分けて、ハードディスクコントローラ2001(以下、「HDC2001」と略記する。)、中央処理演算装置2002(以下、「CPU2002」と略記する。)、リードライトチャネル2003(以下、「R/Wチャネル2003」と略記する。)、ボイスコイルモータ/スピンドルモータ制御部2004(以下、「VCM/SPM制御部2004」と略記する。)、及びディスクエンクロージャ2005(以下、「DE2005」と略記する。)とから構成される。一般に、HDC2001、CPU2002、R/Wチャネル2003、及びVCM/SPM制御部2004は同一の基板上に構成される。   FIG. 21 is a diagram showing a configuration of a storage system 2100 according to the third embodiment of the present invention. The storage system 2100 of FIG. 21 is broadly divided into a hard disk controller 2001 (hereinafter abbreviated as “HDC 2001”), a central processing unit 2002 (hereinafter abbreviated as “CPU 2002”), and a read / write channel 2003 (hereinafter abbreviated as “CPU 2002”). , Abbreviated as “R / W channel 2003”), voice coil motor / spindle motor control unit 2004 (hereinafter abbreviated as “VCM / SPM control unit 2004”), and disk enclosure 2005 (hereinafter “DE2005”). Abbreviated as)). In general, the HDC 2001, the CPU 2002, the R / W channel 2003, and the VCM / SPM control unit 2004 are configured on the same substrate.

HDC2001は、HDC2001全体を制御する主制御部2011、データフォーマット制御部2012、誤り訂正符号化制御部2013(以下、「ECC制御部2013」と略記する。)、及びバッファRAM2014を含む。HDC2001は、図示しないインタフェース部を介してホストシステムと接続される。また、R/Wチャネル2003を介して、DE2005と接続されており、主制御部2011の制御により、ホストとDE2005の間のデータ転送を実行する。このHDC2001には、R/Wチャネル2003で生成されるリードリファレンスクロック(RRCK)が入力される。データフォーマット制御部2012は、ホストから転送されたデータをディスク媒体2050上に記録するのに適したフォーマットに変換し、逆に、ディスク媒体2050から再生されたデータをホストに転送するのに適したフォーマットに変換する。ディスク媒体2050は、たとえば、磁気ディスクを含む。ECC制御部2013は、ディスク媒体2050から再生されたデータに含まれる誤りの訂正及び検出を可能にするために、記録するデータを情報シンボルとして、冗長シンボルを付加する。またECC制御部2013は、再生されたデータに誤りが生じているかを判断し、誤りがある場合には訂正或いは検出を行う。但し、誤りが訂正できるシンボル数は有限であり、冗長データの長さに関係する。即ち、多くの冗長データを付加するとフォーマット効率が悪化するため、誤り訂正可能シンボル数とはトレードオフとなる。ECCとしてリードソロモン(RS)符号を利用して誤り訂正を実行する場合、(冗長シンボル数/2)個までの誤りを訂正できる。バッファRAM2014は、ホストから転送されたデータを一時的に保存し、適切なタイミングでR/Wチャネル2003に転送する。逆に、R/Wチャネル2003から転送されたリードデータを一時的に保存し、ECC復号処理などの終了後、適切なタイミングでホストに転送する。   The HDC 2001 includes a main control unit 2011 that controls the entire HDC 2001, a data format control unit 2012, an error correction coding control unit 2013 (hereinafter abbreviated as “ECC control unit 2013”), and a buffer RAM 2014. The HDC 2001 is connected to the host system via an interface unit (not shown). Further, it is connected to the DE 2005 via the R / W channel 2003, and executes data transfer between the host and the DE 2005 under the control of the main control unit 2011. A read reference clock (RRCK) generated by the R / W channel 2003 is input to the HDC 2001. The data format control unit 2012 converts data transferred from the host into a format suitable for recording on the disk medium 2050, and conversely, suitable for transferring data reproduced from the disk medium 2050 to the host. Convert to format. The disk medium 2050 includes, for example, a magnetic disk. The ECC control unit 2013 adds redundant symbols using data to be recorded as information symbols in order to enable correction and detection of errors included in data reproduced from the disk medium 2050. The ECC control unit 2013 determines whether or not an error has occurred in the reproduced data, and corrects or detects when there is an error. However, the number of symbols that can correct errors is limited, and is related to the length of redundant data. That is, if a large amount of redundant data is added, the format efficiency deteriorates, so that there is a trade-off with the number of error correctable symbols. When error correction is performed using Reed-Solomon (RS) code as ECC, up to (number of redundant symbols / 2) errors can be corrected. The buffer RAM 2014 temporarily stores data transferred from the host and transfers the data to the R / W channel 2003 at an appropriate timing. Conversely, the read data transferred from the R / W channel 2003 is temporarily stored, and transferred to the host at an appropriate timing after the ECC decoding process or the like is completed.

CPU2002は、フラッシュROM2021(以下、「FROM2021」と略記する。)、及びRAM2022を含み、HDC2001、R/Wチャネル2003、VCM/SPM制御部2004、及びDE2005と接続される。FROM2021には、CPU2002の動作プログラムが保存されている。   The CPU 2002 includes a flash ROM 2021 (hereinafter abbreviated as “FROM 2021”) and a RAM 2022, and is connected to the HDC 2001, the R / W channel 2003, the VCM / SPM control unit 2004, and the DE 2005. The FROM 2021 stores an operation program for the CPU 2002.

R/Wチャネル2003は、ライトチャネル2031とリードチャネル2032とに大別され、HDC2001との間で記録するデータ及び再生されたデータを転送する。また、R/Wチャネル2003は、DE2005と接続され、記録信号の送信処理、再生信号の受信処理を実行する。詳細は後述する。   The R / W channel 2003 is roughly divided into a write channel 2031 and a read channel 2032, and transfers data to be recorded and reproduced data to and from the HDC 2001. The R / W channel 2003 is connected to the DE 2005, and executes a recording signal transmission process and a reproduction signal reception process. Details will be described later.

VCM/SPM制御部2004は、DE2005中のボイスコイルモータ2052(以下、「VCM2052」と略記する。)とスピンドルモータ2053(以下、「SPM2053」と略記する。)を制御する。   A VCM / SPM control unit 2004 controls a voice coil motor 2052 (hereinafter abbreviated as “VCM2052”) and a spindle motor 2053 (hereinafter abbreviated as “SPM2053”) in DE 2005.

DE2005は、R/Wチャネル2003と接続され、記録信号の受信、再生信号の送信を実行する。またDE2005は、VCM/SPM制御部2004と接続されている。DE2005は、ディスク媒体2050、ヘッド2051、VCM2052、SPM2053、及びプリアンプ2054等を有している。図21の記憶システム2100においては、ディスク媒体2050が1枚であり、且つヘッド2051がディスク媒体2050の一方の面側のみに配置されている場合を想定しているが、複数のディスク媒体2050が積層配置された構成であってもよい。また、ヘッド2051は、ディスク媒体2050の各面に対応して設けられるのが一般的である。R/Wチャネル2003により送信された記録信号は、DE2005内のプリアンプ2054を経由してヘッド2051に供給され、ヘッド2051によりディスク媒体2050に記録される。逆に、ヘッド2051によりディスク媒体2050から再生された信号は、プリアンプ2054を経由してR/Wチャネル2003に送信される。DE2005内のVCM2052は、ヘッド2051をディスク媒体2050上の目標位置に位置決めするために、ヘッド2051をディスク媒体2050の半径方向に移動させる。また、SPM2053は、ディスク媒体2050を回転させる。   The DE 2005 is connected to the R / W channel 2003 and executes reception of a recording signal and transmission of a reproduction signal. The DE 2005 is connected to the VCM / SPM control unit 2004. The DE 2005 includes a disk medium 2050, a head 2051, a VCM 2052, an SPM 2053, a preamplifier 2054, and the like. In the storage system 2100 of FIG. 21, it is assumed that there is one disk medium 2050 and the head 2051 is disposed only on one surface side of the disk medium 2050. A stacked arrangement may be used. The head 2051 is generally provided corresponding to each surface of the disk medium 2050. The recording signal transmitted by the R / W channel 2003 is supplied to the head 2051 via the preamplifier 2054 in the DE 2005 and is recorded on the disk medium 2050 by the head 2051. Conversely, a signal reproduced from the disk medium 2050 by the head 2051 is transmitted to the R / W channel 2003 via the preamplifier 2054. The VCM 2052 in the DE 2005 moves the head 2051 in the radial direction of the disk medium 2050 in order to position the head 2051 at a target position on the disk medium 2050. Further, the SPM 2053 rotates the disk medium 2050.

ここで、図22を用いて、R/Wチャネル2003について説明する。図22は、図21のR/Wチャネル2003の構成を示す図である。R/Wチャネル2003は、大きく分けて、ライトチャネル2031とリードチャネル2032から構成される。   Here, the R / W channel 2003 will be described with reference to FIG. FIG. 22 is a diagram showing a configuration of the R / W channel 2003 of FIG. The R / W channel 2003 is roughly composed of a write channel 2031 and a read channel 2032.

ライトチャネル2031は、バイトインターフェース部2301、スクランブラ2302、ランレングス制限およびDCフリー符号化部2303(以下、「RLL/DCフリー符号化部2303」と略記する。)、低密度パリティチェック符号化部2304(以下、「LDPC符号化部2304」と略記する。)、書き込み補償部2305(以下、「ライトプリコン部2305」と略記する。)、ドライバ2306を含む。   The write channel 2031 includes a byte interface unit 2301, a scrambler 2302, a run length restriction and DC free encoding unit 2303 (hereinafter abbreviated as “RLL / DC free encoding unit 2303”), and a low density parity check encoding unit. 2304 (hereinafter abbreviated as “LDPC encoding unit 2304”), write compensation unit 2305 (hereinafter abbreviated as “write pre-con unit 2305”), and driver 2306.

バイトインターフェース部2301では、HDC2001から転送されたデータが入力データとして処理される。メディア上に書き込むデータは1セクタ単位でHDC2001から入力される。このとき1セクタ分のユーザデータ(512バイト)だけでなく、HDC2001によって付加されたECCバイトも同時に入力される。データバスは通常1バイト(8ビット)であり、バイトインターフェース部2301により入力データとして処理される。スクランブラ2302はライトデータをランダムな系列に変換する。同じ規則のデータの繰り返しは、リード時における検出性能に悪影響を与え、エラーレートを悪化させるのを防ぐためである。   The byte interface unit 2301 processes the data transferred from the HDC 2001 as input data. Data to be written on the medium is input from the HDC 2001 in units of one sector. At this time, not only user data (512 bytes) for one sector but also ECC bytes added by the HDC 2001 are input simultaneously. The data bus is normally 1 byte (8 bits), and is processed as input data by the byte interface unit 2301. The scrambler 2302 converts the write data into a random series. This is because the repetition of data with the same rule adversely affects the detection performance at the time of reading and prevents the error rate from deteriorating.

RLL/DCフリー符号化部2303は0および1の最大連続長を制限するためのものである。0の最大連続長と、1の最大連続長とを制限することにより、自動利得制御部2317(以下、「AGC2317」と略記する。)などに適したデータ系列にする。さらに、直流成分を低減し、データ検出能力の向上を図り、もって誤り訂正能力の向上を図る。詳細は後述する。   The RLL / DC free encoding unit 2303 is for limiting the maximum continuous length of 0 and 1. By limiting the maximum continuous length of 0 and the maximum continuous length of 1, a data series suitable for the automatic gain control unit 2317 (hereinafter abbreviated as “AGC2317”) or the like is obtained. Furthermore, the direct current component is reduced, the data detection capability is improved, and the error correction capability is improved. Details will be described later.

LDPC符号化部2304は、データ系列をLDPC符号化して冗長ビットであるパリティビットを含む系列を生成する役割を有する。LDPC符号化は、生成行列と呼ばれるk×nの行列に、長さkのデータ系列を左から掛け合わせることで実行される。この生成行列に対応する検査行列Hに含まれる各要素は、0もしくは1であり、1の数が0の数に比べて少ないことから、低密度パリティ検査符号(Low Density Parity Check Codes)と呼ばれている。この1と0の配置を利用することによって、LDPC繰返復号部にて、効率的にエラーを訂正できる。   The LDPC encoding unit 2304 has a role of generating a sequence including parity bits, which are redundant bits, by LDPC encoding the data sequence. LDPC encoding is performed by multiplying a k × n matrix called a generator matrix by a data sequence of length k from the left. Each element included in the parity check matrix H corresponding to this generator matrix is 0 or 1, and since the number of 1 is smaller than the number of 0, it is called a low density parity check code (Low Density Parity Check Codes). It is. By using this arrangement of 1 and 0, the LDPC iterative decoding unit can efficiently correct errors.

ライトプリコン部2305は、メディア上の磁化遷移の連続による非線形歪を補償する回路である。ライトデータから補償に必要な規則を検出し、正しい位置で磁化遷移が生ずるようにライト電流波形を予め調整をする。ドライバ2306は擬似ECLレベルに対応した信号を出力するドライバである。ドライバ2306からの出力は図示しないDE2005に送られ、プリアンプ2054を通してヘッド2051に送られ、ライトデータがディスク媒体2050上に記録される。   The write pre-con unit 2305 is a circuit that compensates for non-linear distortion caused by a continuous magnetization transition on the medium. A rule necessary for compensation is detected from the write data, and the write current waveform is adjusted in advance so that the magnetization transition occurs at the correct position. The driver 2306 is a driver that outputs a signal corresponding to the pseudo ECL level. The output from the driver 2306 is sent to the DE 2005 (not shown), sent to the head 2051 through the preamplifier 2054, and the write data is recorded on the disk medium 2050.

リードチャネル2032は、可変利得増幅器2311(以下、「VGA2311」と略記する。)、ローパスフィルタ2312(以下、「LPF2312」と略記する。)、AGC2317、アナログ/デジタル変換器2313(以下、「ADC2313」と略記する。)、周波数シンセサイザ2314、フィルタ2315、ソフト出力検出部2320、LDPC繰返復号部2322、同期信号検出部2321、ランレングス制限/DCフリー復号部2323(以下、「RLL/DCフリー復号部2323」と略記する。)、デスクランブラ2324とから構成されている。   The read channel 2032 includes a variable gain amplifier 2311 (hereinafter abbreviated as “VGA 2311”), a low-pass filter 2312 (hereinafter abbreviated as “LPF 2312”), an AGC 2317, an analog / digital converter 2313 (hereinafter “ADC 2313”). A frequency synthesizer 2314, a filter 2315, a soft output detection unit 2320, an LDPC iterative decoding unit 2322, a synchronization signal detection unit 2321, a run length limited / DC free decoding unit 2323 (hereinafter referred to as “RLL / DC free decoding”). Abbreviated as “part 2323”) and a descrambler 2324.

VGA2311及びAGC2317は、図示しないプリアンプ2054から送られたデータのリード波形の振幅を調整する。AGC2317は理想的な振幅と実際の振幅を比較し、VGA2311に設定すべきゲインを決定する。LPF2312は、カットオフ周波数とブースト量を調整することができ、高周波ノイズの低減と部分応答(Partial Response。以下、「PR」と略記する。)波形への等化の一部を担う。LPF2312でPR波形への等化を行うが、ヘッドの浮上量変動、媒体の不均一性、モータの回転変動などの多くの要因により、アナログのLPFによる完全な等化は難しいので、後段に配置され、よりフレキシビリティに富んだフィルタ2315を用いて、再度PR波形への等化を行う。フィルタ2315は、そのタップ係数を適応的に調整する機能を有していてもよい。周波数シンセサイザ2314は、ADC2313のサンプリング用クロックを生成する。   The VGA 2311 and the AGC 2317 adjust the amplitude of the read waveform of data sent from the preamplifier 2054 (not shown). The AGC 2317 compares the ideal amplitude with the actual amplitude, and determines the gain to be set in the VGA 2311. The LPF 2312 can adjust the cut-off frequency and the boost amount, and is responsible for part of the reduction to high frequency noise and equalization to a partial response (hereinafter referred to as “PR”) waveform. The LPF 2312 performs equalization to the PR waveform, but it is difficult to completely equalize with the analog LPF due to many factors such as head flying height fluctuation, medium non-uniformity, and motor rotation fluctuation. Then, equalization to the PR waveform is performed again using the filter 2315 having more flexibility. The filter 2315 may have a function of adaptively adjusting the tap coefficient. The frequency synthesizer 2314 generates a sampling clock for the ADC 2313.

ADC2313は、AD変換により直接同期サンプルを得る構成とした。なお、この構成の他に、AD変換により非同期サンプルを得る構成であってもよい。この場合は、ゼロ相リスタート部、タイミング制御部、及び補間フィルタをさらにADC2313の後段に設ければよい。非同期サンプルから同期サンプルを得る必要があり、これらのブロックがその役割を担う。ゼロ相リスタート部は初期位相を決定するためのブロックで、できるだけ早く同期サンプルを得るために用いられる。初期位相を決定した後は、タイミング制御部で理想的なサンプル値と実際のサンプル値を比較し、位相のずれを検出する。これを用いて補間フィルタのパラメータを決定することにより、同期サンプルを得ることができる。   The ADC 2313 is configured to obtain a synchronous sample directly by AD conversion. In addition to this configuration, an asynchronous sample may be obtained by AD conversion. In this case, a zero-phase restart unit, a timing control unit, and an interpolation filter may be further provided after the ADC 2313. Synchronous samples need to be obtained from asynchronous samples, and these blocks play that role. The zero phase restart unit is a block for determining an initial phase, and is used to obtain a synchronization sample as soon as possible. After determining the initial phase, the timing controller compares the ideal sample value with the actual sample value to detect a phase shift. A synchronous sample can be obtained by determining parameters of the interpolation filter using this.

ソフト出力検出部2320は、符号間干渉に伴う復号特性の劣化を回避するために、ビタビアルゴリズムの一種であるソフト出力ビタビアルゴリズム(Soft−Output Viterbi Algorithm。以下、「SOVA」と略記する。)が用いられる。すなわち、近年の磁気ディスク装置の記録密度の上昇に伴い、記録された符号間の干渉が大きくなり、復号特性が劣化するといった課題を解決するため、これを克服する方式として符号間干渉による部分応答を利用した最ゆう復号(Partial Response MaximumLikeihood。以下、「PRML」と略記する。)方式を用いる。PRMLは、再生信号の部分応答のゆう度を最大にする信号系列を求める方式である。   The soft output detection unit 2320 is a soft output Viterbi algorithm (Soft-Output Viterbi Algorithm; hereinafter abbreviated as “SOVA”), which is a type of Viterbi algorithm, in order to avoid degradation of decoding characteristics due to intersymbol interference. Used. That is, in order to solve the problem that the interference between recorded codes increases and the decoding characteristics deteriorate as the recording density of magnetic disk devices increases in recent years, a partial response due to intersymbol interference is a method for overcoming this problem. The most likely decoding (Partial Response Maximum Like Like) (hereinafter abbreviated as “PRML”) method is used. PRML is a method for obtaining a signal sequence that maximizes the likelihood of a partial response of a reproduction signal.

ソフト出力検出部2320としてSOVA方式が用いられている場合、軟判定値を出力する。例えば、SOVAの出力として、(−0.71、+0.18、+0.45、−0.45、−0.9)という軟判定値が出力されたとする。これらの値は、0である可能性が大きいか、1である可能性が大きいかを数値で表している。例えば、1番目の「−0.71」は1である可能性が大きいことを示しており、2番目の「+0.18」は0である可能性が大きいが1である可能性も小さくはないことを意味する。従来のビタビディテクタの出力はハード値であり、SOVAの出力を硬判定したものである。上記の例の場合、(1、0、0、1、1)である。ハード値は、0であるか、1であるかのみを表しており、どちらの可能性が高いかという情報が失われている。このためLDPC繰返復号部2322に軟判定値を入力する方が復号性能が向上する。   When the SOVA method is used as the soft output detection unit 2320, a soft decision value is output. For example, assume that a soft decision value (−0.71, +0.18, +0.45, −0.45, −0.9) is output as the SOVA output. These values represent numerical values as to whether the possibility of being 0 or 1 is high. For example, the first “−0.71” indicates that the possibility of 1 is large, and the second “+0.18” is likely to be 0, but the possibility of 1 is small. Means no. The output of the conventional Viterbi detector is a hard value, and the output of SOVA is hard-decided. In the case of the above example, it is (1, 0, 0, 1, 1). The hard value represents only whether it is 0 or 1, and information on which is more likely is lost. For this reason, decoding performance is improved by inputting a soft decision value to the LDPC iterative decoding unit 2322.

LDPC繰返復号部2322は、LDPC符号化されているデータ系列から、LDPC符号化前の系列に復元する役割を有する。復号化の方法としては、主に、sum−product復号法とmin−sum復号法があり、復号性能の面ではsum−product復号法が有利であるが、min−sum復号法はハードウェアによる実現が容易である特徴を持つ。LDPC符号を用いる実際の復号操作では、ソフト出力検出部2320とLDPC繰返復号部2322の間で繰り返し復号することにより、非常に良好な復号性能を得ることができる。このために実際はソフト出力検出部2320とLDPC繰返復号部2322を複数段配列した構成が必要になる。同期信号検出部2321は、データの先頭に付加された同期信号(Sync Mark)を検出し、データの先頭位置を認識する役割を有する。   The LDPC iterative decoding unit 2322 has a role of restoring an LDPC encoded data sequence to a sequence before LDPC encoding. As a decoding method, there are mainly a sum-product decoding method and a min-sum decoding method. The sum-product decoding method is advantageous in terms of decoding performance, but the min-sum decoding method is realized by hardware. With the feature that is easy. In an actual decoding operation using an LDPC code, very good decoding performance can be obtained by repeatedly decoding between the soft output detection unit 2320 and the LDPC iterative decoding unit 2322. For this reason, a configuration in which a plurality of stages of software output detection units 2320 and LDPC iterative decoding units 2322 are arranged is actually required. The synchronization signal detection unit 2321 has a role of detecting a synchronization signal (Sync Mark) added to the head of data and recognizing the head position of the data.

RLL/DCフリー復号部2323は、LDPC繰返復号部2322から出力されたデータに対して、ライトチャネル2031のRLL/DCフリー符号化部2303の逆操作を行い、元のデータ系列に戻す。詳細は後述する。   The RLL / DC free decoding unit 2323 performs the reverse operation of the RLL / DC free encoding unit 2303 of the write channel 2031 on the data output from the LDPC iterative decoding unit 2322 to restore the original data series. Details will be described later.

デスクランブラ2324は、ライトチャネル2031のスクランブラ2302の逆操作を行い、元のデータ系列に戻す。ここで生成されたデータはHDC2001に転送される。   The descrambler 2324 performs the reverse operation of the scrambler 2302 of the write channel 2031 to restore the original data series. The data generated here is transferred to the HDC 2001.

ここで、「DCフリー」について説明する。図23(a)〜(b)は、本発明の第3実施形態にかかるDCフリー特性の例を示す図である。図23(a)は、DCフリーである場合とそうでない場合における軟判定値の分布例を示す図である。横軸は個数、縦軸は軟判定値を示す。また、縦軸は、中心を±0として、プラス側、マイナス側の双方の軟判定値を含む軸である。実線で示す第1特性2200は、DCフリーの場合の分布を示す。また、破線で示す第2特性2300は、DCフリーでない場合の分布例を示す。DCフリーとは、前述したように、系列に含まれる0と1のビットの個数の比率が50%であることを示す。いいかえると、図23(a)の第1特性2200に図示するように、図22のLDPC繰返復号部2322における軟判定値の分布において、±1/2が中心値となり、±0付近の分布量が少ないことなどをいう。一方、DCフリーでない場合、たとえば、図23(a)の第2特性2300に図示するように、軟判定値の分布において、±0付近の分布量が増加したものとなる。   Here, “DC free” will be described. FIGS. 23A to 23B are diagrams illustrating examples of DC-free characteristics according to the third embodiment of the present invention. FIG. 23A is a diagram showing an example of the distribution of soft decision values when DC is free and when it is not. The horizontal axis represents the number, and the vertical axis represents the soft decision value. The vertical axis is an axis including ± 0 on the center and including both positive and negative soft decision values. A first characteristic 2200 indicated by a solid line indicates a distribution in the case of DC free. A second characteristic 2300 indicated by a broken line indicates an example of distribution when DC free. As described above, “DC free” indicates that the ratio of the number of 0 and 1 bits included in the sequence is 50%. In other words, as shown in the first characteristic 2200 of FIG. 23A, in the distribution of the soft decision values in the LDPC iterative decoding unit 2322 of FIG. 22, ± 1/2 is the central value, and the distribution around ± 0. It means that the amount is small. On the other hand, when not DC-free, for example, as illustrated in the second characteristic 2300 of FIG. 23A, in the distribution of the soft decision value, the distribution amount near ± 0 is increased.

図23(b)は、DCフリーである場合とそうでない場合におけるビット誤り率特性の例を示す図である。横軸は信号対雑音比(Signal to Noise Ratio)、縦軸はビット誤り率(Bit Error Rate)を示す。実線で示す第3特性2210は、DCフリーの場合のビット誤り率特性を示す。また、破線で示す第4特性2310は、DCフリーでない場合のビット誤り率特性を示す。図示するように、DCフリーでない場合は、DCフリーである場合と比べて、ビット誤り率が悪化することとなる。   FIG. 23B is a diagram illustrating an example of bit error rate characteristics when the DC is free and when it is not. The horizontal axis represents a signal-to-noise ratio (Signal to Noise Ratio), and the vertical axis represents a bit error rate (Bit Error Rate). A third characteristic 2210 indicated by a solid line indicates a bit error rate characteristic when DC is free. A fourth characteristic 2310 indicated by a broken line indicates a bit error rate characteristic when the DC is not free. As shown in the figure, the bit error rate is worse in the case where DC is not free than in the case where DC is free.

図24は、図22のRLL/DCフリー符号化部2303の構成例を示す図である。RLL/DCフリー符号化部2303は、RLL符号化部2060と、第1信号処理部2062と、直流成分除去符号化部2066とを含む。   FIG. 24 is a diagram illustrating a configuration example of the RLL / DC free encoding unit 2303 in FIG. The RLL / DC free encoding unit 2303 includes an RLL encoding unit 2060, a first signal processing unit 2062, and a direct current component removal encoding unit 2066.

RLL符号化部2060は、スクランブラ2302から出力されたデジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する。第1信号処理部2062は、RLL符号化部2060から出力された第1符号化系列に含まれる複数のビットの個数を変えずに、第1符号化系列に対し、所定の信号処理を実行して、第2符号化系列を生成する。所定の信号処理は、デジタル信号系列に含まれる複数のビットの個数を変えなければ、任意の処理でよい。たとえば、デジタル信号系列に含まれる複数のビットのそれぞれに対し、ビット反転処理を実行する処理であってもよい。直流成分除去符号化部2066は、RLL符号化部2060によって生成された第1符号化系列と、第1信号処理部2062によって生成された第2符号化系列とのうち、DCフリー性の高い、いずれか一方の符号化系列を選択して出力する。ここで、処理すべきデジタル信号系列が300ビットから構成されている場合、RLL/DCフリー符号化部2303は、30ビットを1組として、10回に分けて処理する。ここで、RLL符号化部2060の符号化率が30/31である場合、RLL符号化部2060、第1信号処理部2062からそれぞれ出力される1回あたりの系列のビット数は、31ビットとなる。   The RLL encoding unit 2060 generates a first encoded sequence by subjecting the digital signal sequence output from the scrambler 2302 to run-length limited encoding. The first signal processing unit 2062 performs predetermined signal processing on the first encoded sequence without changing the number of bits included in the first encoded sequence output from the RLL encoding unit 2060. Thus, a second encoded sequence is generated. The predetermined signal processing may be any processing as long as the number of bits included in the digital signal sequence is not changed. For example, a process of executing a bit inversion process for each of a plurality of bits included in the digital signal sequence may be used. The DC component removal encoding unit 2066 has a high DC-free property among the first encoded sequence generated by the RLL encoding unit 2060 and the second encoded sequence generated by the first signal processing unit 2062. Either one of the encoded sequences is selected and output. Here, when the digital signal sequence to be processed is composed of 300 bits, the RLL / DC free encoding unit 2303 processes 30 bits as one set and is divided into 10 times. Here, when the coding rate of the RLL coding unit 2060 is 30/31, the number of bits per sequence output from the RLL coding unit 2060 and the first signal processing unit 2062 is 31 bits. Become.

一般的に、RLL符号化は、規則(d、k)にしたがって、信号系列中に存在する「0」の連続長が制限されるように実行される。規則(d、k)とは、RLL符号化の結果として生成される信号系列に対し、その信号系列中の2つの「1」の間に存在する「0」の個数は、d以上k以下であることを要求する規則である。ここで、「信号系列中の2つの「1」」とは、信号系列から全ての「0」を取り除いた場合において、隣接する2つの「1」をいう。たとえば、規則(d、k)が(0、3)である場合、信号系列「0110100010」は、規則を満たしているといえる。一方、規則(d、k)が(1、3)である場合、信号系列「0110100010」は、規則を満たしているとはいえない。なぜなら、信号系列中の2ビット目の「1」とそれに隣接する3ビット目の「1」の間における「0」の個数は0個であり、1以上3以下の条件を満たさないからである。いいかえると、規則(d、k)において、dが0でない場合、その条件は厳しい条件であるといえる。なお、規則(d、k)におけるdとkは、双方とも0以上の整数である。   In general, RLL encoding is performed according to the rule (d, k) so that the continuous length of “0” existing in the signal sequence is limited. The rule (d, k) is that a signal sequence generated as a result of RLL encoding is such that the number of “0” existing between two “1” s in the signal sequence is not less than d and not more than k. It is a rule that requires to be. Here, “two“ 1 ”s” in a signal sequence means two adjacent “1” s when all “0” s are removed from the signal sequence. For example, if the rule (d, k) is (0, 3), it can be said that the signal sequence “0110100010” satisfies the rule. On the other hand, when the rule (d, k) is (1, 3), it cannot be said that the signal sequence “0110100010” satisfies the rule. This is because the number of “0” s between “1” of the second bit in the signal sequence and “1” of the third bit adjacent thereto is 0, and the condition of 1 to 3 is not satisfied. . In other words, if d is not 0 in the rule (d, k), it can be said that the condition is severe. Note that d and k in the rule (d, k) are both integers of 0 or more.

本第3実施形態のRLL符号化部2060においては、上述した規則(d、k)を「0」についてだけでなく、「1」についても規則(d、k)を適用する。「「1」について規則(d、k)を適用する」とは、信号系列中の2つの「0」の間に存在する「1」の個数は、d以上k以下であることを示す。すなわち、RLL符号化部2060は、「0」の連続長については規則(d0、k0)を適用し、「1」の連続長については規則(d1、k1)を適用することによって、「0」と「1」の双方の連続長を同時に制限する。さらに、RLL符号化部2060は、「0」と「1」の双方の連続長を同時に制限した第1符号化系列を直流成分除去符号化部2066に出力するとともに、第1信号処理部2062を介して、その符号化系列が反転された第2符号化系列とを直流成分除去符号化部2066に出力する。このような態様をとることによって、直流成分除去符号化部2066に入力される2つの符号化系列は、双方ともRLL特性を満足できる。いいかえると、第1符号化系列は、「0」について規則(d0、k0)、1について規則(d1、k1)を満足しており、また、第2符号化系列は、「0」について規則(d1、k1)、1について規則(d0、k0)を満足することとなる。   In the RLL encoding unit 2060 of the third embodiment, the rule (d, k) is applied not only to “0” but also to “1” as described above. “Apply rule (d, k) for“ 1 ”” indicates that the number of “1” existing between two “0” s in the signal sequence is not less than d and not more than k. That is, the RLL encoding unit 2060 applies the rule (d0, k0) for the continuous length of “0” and applies the rule (d1, k1) for the continuous length of “1”. And the continuous length of both “1” are simultaneously limited. Furthermore, the RLL encoding unit 2060 outputs the first encoded sequence in which the continuous lengths of both “0” and “1” are simultaneously limited to the DC component removal encoding unit 2066 and also the first signal processing unit 2062 Then, the second encoded sequence obtained by inverting the encoded sequence is output to DC component removal encoding section 2066. By taking such an aspect, both of the two encoded sequences input to the DC component removal encoding unit 2066 can satisfy the RLL characteristic. In other words, the first encoded sequence satisfies the rule (d0, k0) for “0”, the rule (d1, k1) for 1, and the second encoded sequence satisfies the rule (0 for “0”). d1, k1) and the rule (d0, k0) is satisfied for 1.

本第3実施形態における2つの規則(d0、k0)、(d1、k1)において、d0とd1は、好ましくは、双方とも0の値が設定される。前述したように、規則(d、k)において、dが0でない場合、その条件は厳しい条件となり、符号化率の低下が著しいためである。また、k0とk1は、好ましくは、k0はk1以上の値として設定される。本第3実施形態における記憶システム2100においては、「0」の連続長を制限することがより優先されるためである。また、より好ましくは、k0=k1として設定されてもよい。なぜなら、信号系列中にしめる「1」の個数があまりにも少ない場合、図22におけるAGC2317や図示しないタイミング制御部の性能が劣化する、もしくは、正常に動作しない場合があるからである。なお、k0とk1は、0でない整数であって、それぞれ、d0、d1より大きな値が設定されなければならないことは言うまでもない。以上をまとめると、2つの規則(d0、k0)、(d1、k1)における、d0、k0、d1、k1は、以下で示す関係を有するように設定されることが好ましい。以下のように設定された場合、RLL符号化部2060と第1信号処理部2062とによって生成される第1符号化系列と、第1符号化系列を反転した第2符号化系列とは、同一のRLL特性を有することとなる。
d0=d1=0
k0=k1>0
In the two rules (d0, k0) and (d1, k1) in the third embodiment, d0 and d1 are preferably set to values of 0 for both. As described above, in the rule (d, k), when d is not 0, the condition is severe, and the coding rate is significantly reduced. Further, k0 and k1 are preferably set as a value of k1 or more. This is because in the storage system 2100 according to the third embodiment, priority is given to limiting the continuous length of “0”. More preferably, it may be set as k0 = k1. This is because if the number of “1” s included in the signal sequence is too small, the performance of the AGC 2317 and the timing control unit (not shown) in FIG. 22 may deteriorate or may not operate normally. Needless to say, k0 and k1 are non-zero integers, and values larger than d0 and d1 must be set, respectively. In summary, d0, k0, d1, and k1 in the two rules (d0, k0) and (d1, k1) are preferably set so as to have the relationship shown below. When set as follows, the first encoded sequence generated by the RLL encoding unit 2060 and the first signal processing unit 2062 and the second encoded sequence obtained by inverting the first encoded sequence are the same The RLL characteristics are as follows.
d0 = d1 = 0
k0 = k1> 0

図25は、図24の直流成分除去符号化部2066の構成例を示す図である。直流成分除去符号化部2066は、符号化系列選択部2074と、選択識別情報生成部2076と、識別情報付加部2078とを含む。符号化系列選択部2074は、RLL符号化部2060によって生成された第1符号化系列と、第1信号処理部2062によって生成された第2符号化系列のうち、いずれか一方の符号化系列を選択する。選択識別情報生成部2076は、符号化系列選択部2074によって選択された符号化系列を示す選択識別情報を生成する。識別情報付加部2078は、符号化系列選択部2074によって選択された符号化系列のいずれかの個所に、選択識別情報生成部2076によって生成された選択識別情報を付加する。   FIG. 25 is a diagram illustrating a configuration example of the DC component removal coding unit 2066 of FIG. The DC component removal encoding unit 2066 includes an encoded sequence selection unit 2074, a selection identification information generation unit 2076, and an identification information addition unit 2078. The encoded sequence selection unit 2074 selects either one of the first encoded sequence generated by the RLL encoding unit 2060 and the second encoded sequence generated by the first signal processing unit 2062. select. The selection identification information generation unit 2076 generates selection identification information indicating the encoded sequence selected by the encoded sequence selection unit 2074. The identification information adding unit 2078 adds the selection identification information generated by the selection identification information generation unit 2076 to any location of the encoded sequence selected by the encoded sequence selection unit 2074.

具体的に説明する。符号化系列選択部2074によって第1符号化系列が選択された場合、識別情報付加部2078において第1符号化系列に付加される選択識別情報は「0」となる。一方、符号化系列選択部2074によって第2符号化系列が選択された場合、識別情報付加部2078において第1符号化系列に付加される選択識別情報は「1」となる。いいかえると、選択識別情報「0」が付加された第1符号化系列、もしくは、選択識別情報「1」が付加された第2符号化系列がLDPC符号化部2304に出力される。なお、識別情報付加部2078によって選択識別情報が付加される個所は、符号化系列中の任意の一定の個所でよく、たとえば、符号化系列の最後尾に付加してもよい。詳細は後述するが、ここで付加される選択識別情報は判定ビットであり、復号側において判定ビットが付加された位置、および、判定ビットの内容を解析することにより、適切な復号処理が実現されることとなる。前述の具体例においては、1回あたり31ビットの符号化系列に1ビットの選択識別情報が付加され合計32ビットの系列が出力されることとなる。すなわち、RLL/DCフリー符号化部2303全体における符号化率は、30/32となる。   This will be specifically described. When the first encoded sequence is selected by the encoded sequence selection unit 2074, the selection identification information added to the first encoded sequence by the identification information addition unit 2078 is “0”. On the other hand, when the second encoded sequence is selected by the encoded sequence selection unit 2074, the selection identification information added to the first encoded sequence by the identification information adding unit 2078 is “1”. In other words, the first encoded sequence to which selection identification information “0” is added or the second encoded sequence to which selection identification information “1” is added is output to LDPC encoding section 2304. It should be noted that the part to which the selection identification information is added by the identification information adding unit 2078 may be an arbitrary fixed part in the encoded sequence, and may be added to the end of the encoded sequence, for example. Although details will be described later, the selection identification information added here is a determination bit, and an appropriate decoding process is realized by analyzing the position of the determination bit added on the decoding side and the content of the determination bit. The Rukoto. In the specific example described above, 1-bit selection identification information is added to a 31-bit encoded sequence at a time, and a total of 32-bit sequences are output. That is, the coding rate in the entire RLL / DC free coding unit 2303 is 30/32.

また、符号化系列選択部2074は、図示しない第1連結部と第2連結部とを含んでも良い。第1連結部は、当該符号化系列選択部2074によってすでに選択された符号化系列と前記第1符号化系列とを連結させる。また、第2連結部は、当該符号化系列選択部2074によってすでに選択された符号化系列と前記第2符号化系列とを連結させる。この場合、符号化系列選択部2074は、第1連結部によって連結された系列を新たな第1符号化系列とし、第2連結部によって連結された系列を新たな第2符号化系列とし、いずれか一方の符号化系列を選択してもよい。すなわち、過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部2074が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。   The encoded sequence selection unit 2074 may include a first connection unit and a second connection unit (not shown). The first concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 2074 and the first encoded sequence. The second concatenation unit concatenates the encoded sequence already selected by the encoded sequence selection unit 2074 and the second encoded sequence. In this case, the encoded sequence selection unit 2074 sets the sequence connected by the first connecting unit as a new first encoded sequence, sets the sequence connected by the second connecting unit as a new second encoded sequence, Either one of the encoded sequences may be selected. In other words, the encoded sequence selection unit 2074 performs selection determination on a concatenation of an encoded sequence selected in the past and an encoded sequence that is a candidate for current selection. DC-free characteristics can be improved.

図26(a)〜(c)は、図25の符号化系列選択部2074の第1〜第3の構成例を示す図である。図26(a)は、図25の符号化系列選択部2074の第1の構成例を示す図である。第1の構成における符号化系列選択部2074は、第1比率計算部2080と、第2比率計算部2082と、選択出力部2084とを含む。   FIGS. 26A to 26C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit 2074 in FIG. FIG. 26 (a) is a diagram illustrating a first configuration example of the coded sequence selection unit 2074 in FIG. The encoded sequence selection unit 2074 in the first configuration includes a first ratio calculation unit 2080, a second ratio calculation unit 2082, and a selection output unit 2084.

第1比率計算部2080は、第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。第2比率計算部2082は、第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する。選択出力部2084は、第1比率計算部2080で計算された比率と、第2比率計算部2082で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する。   The first ratio calculation unit 2080 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the first encoded sequence. Second ratio calculation section 2082 calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the second encoded sequence. The selection output unit 2084 selects an encoded sequence corresponding to a ratio closer to 50% from the ratio calculated by the first ratio calculation unit 2080 and the ratio calculated by the second ratio calculation unit 2082. Output.

具体例を用いて説明する。まず、時刻t=1において、RLL符号化部2060、第1信号処理部2062から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1比率計算部2080、第2比率計算部2082は、それぞれの符号化系列に含まれるビットを解析して、比率を計算する。ここで、第1比率計算部2080に入力される符号化系列に含まれるビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、第1比率計算部2080によって以下のように計算される。
比率t=1 = (0を示すビット数+1)/(符号化系列のビット数+1) = (14+1)/(31+1) ≒ 46.9%
This will be described using a specific example. First, it is assumed that 31-bit encoded sequences are output from the RLL encoding unit 2060 and the first signal processing unit 2062 at time t = 1. In this case, the first ratio calculator 2080 and the second ratio calculator 2082 analyze the bits included in the respective encoded sequences and calculate the ratio. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 2080, when the bit indicating 0 is 14 bits and the bit indicating 1 is 17 bits, the ratio is the first ratio calculation unit It is calculated by 2080 as follows.
Ratio t = 1 = (number of bits indicating 0 + 1) / (number of bits of coded sequence + 1) = (14 + 1) / (31 + 1) ≈46.9%

また、第2比率計算部2082に入力される符号化系列に含まれるビットのうち、0を示すビットは17ビット、1を示すビットは14ビットとなる。なぜなら、第2比率計算部2082に入力される符号化系列は、第1比率計算部2080に入力される符号化系列を論理反転したものだからである。したがって、比率t=1は、第2比率計算部2082によって、以下のように計算される。なお、前式、および次式の右辺の分子において、それぞれ「1」、「0」を加算しているのは、それぞれの選択識別情報を「0」、「1」と仮定しているためである。また、前式、および次式の右辺の分母において、「1」を加算しているのは、選択識別情報を含めた系列の0の個数の割合を計算するためである。
比率t=1 = (0を示すビット数+0)/(符号化系列のビット数+1)= (17+0)/(31+1)≒ 53.1%
Of the bits included in the encoded sequence input to the second ratio calculation unit 2082, the bits indicating 0 are 17 bits and the bits indicating 1 are 14 bits. This is because the encoded sequence input to the second ratio calculator 2082 is a logical inversion of the encoded sequence input to the first ratio calculator 2080. Therefore, the ratio t = 1 is calculated by the second ratio calculator 2082 as follows. In the numerators on the right side of the previous equation and the following equation, “1” and “0” are added because the selection identification information is assumed to be “0” and “1”, respectively. is there. Further, the reason why “1” is added in the denominator of the right side of the previous equation and the following equation is to calculate the ratio of the number of 0s in the sequence including the selection identification information.
Ratio t = 1 = (number of bits indicating 0 + 0) / (number of bits of coded sequence + 1) = (17 + 0) / (31 + 1) ≈53.1%

ここで、第1符号化系列と第2符号化系列の比率を「(50±α)%」と表現すると、どちらもα=3.1となる。したがって、いずれの比率も、同程度に、50%に近いといえるため、いずれの符号化系列を選択してもよいこととなる。このような場合、好ましくは、第1符号化系列が選択される。第1符号化系列は、第1信号処理部2062を経由しておらず、後述するRLL/DCフリー復号部2323において、第1信号処理部2062に対応する処理を実行する必要がない。したがって、第1符号化系列を選択した場合、記憶システム2100における処理電力を低減できることとなる。以下においては、t=0において、αが同一の場合、第1符号化系列が選択されるものとして説明する。   Here, if the ratio of the first encoded sequence and the second encoded sequence is expressed as “(50 ± α)%”, both are α = 3.1. Therefore, since any ratio can be said to be close to 50%, it is possible to select any encoded sequence. In such a case, the first encoded sequence is preferably selected. The first encoded sequence does not pass through the first signal processing unit 2062, and it is not necessary to execute processing corresponding to the first signal processing unit 2062 in the RLL / DC free decoding unit 2323 described later. Therefore, when the first encoded sequence is selected, the processing power in the storage system 2100 can be reduced. In the following description, it is assumed that the first encoded sequence is selected when α is the same at t = 0.

上述のように、t=1においては、選択出力部2084によって第1符号化系列が選択される。また、選択された第1符号化系列にかかる0を示すビット数「14」が記憶される。つぎに、t=2においてもt=1の場合と同様に、RLL符号化部2060、第1信号処理部2062から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1比率計算部2080に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、比率は、以下のように計算される。
比率t=2 = (0を示すビット数+1)/((符号化系列のビット数+1)×t) = (14+1+11+1)/((31+1)×2) ≒ 42.2%
As described above, at t = 1, the selection output unit 2084 selects the first encoded sequence. In addition, the number of bits “14” indicating 0 according to the selected first encoded sequence is stored. Next, it is assumed that a 31-bit encoded sequence is output from the RLL encoding unit 2060 and the first signal processing unit 2062 at t = 2 as in the case of t = 1. Here, among the bits included in the encoded sequence input to the first ratio calculation unit 2080, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the ratio is calculated as follows: Is done.
Ratio t = 2 = (number of bits indicating 0 + 1) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 111 + 1) / ((31 + 1) × 2) ≈42.2%

上記は、t=1の場合と異なり、第1比率計算部2080は、t=1において選択された符号化系列とt=2における第1符号化系列とが第1連結部によって連結された系列について、比率を計算する。すなわち、t=1で選択された第1符号化系列のうち0を示すビットの個数「14+1」と、t=2における第1符号化系列のうちの0を示すビットの個数「11+1」とが上式の分子において加算されることとなる。また、上式における分母は、2組の符号化系列にかかるビット数となる。   Unlike the case of t = 1, the first ratio calculation unit 2080 is a sequence in which the encoded sequence selected at t = 1 and the first encoded sequence at t = 2 are connected by the first connecting unit. Calculate the ratio for. That is, the number “14 + 1” of bits indicating 0 in the first encoded sequence selected at t = 1 and the number “11 + 1” of bits indicating 0 in the first encoded sequence at t = 2. It will be added in the numerator of the above formula. Further, the denominator in the above equation is the number of bits for two sets of encoded sequences.

また、第2比率計算部2082に入力される符号化系列に含まれるビットのうち、0を示すビットは20ビット、1を示すビットが11ビットとなる。そうすると、第2比率計算部2082によって、以下のように比率が計算される。この場合、第2符号化系列のほうが比率が50%に近いため、t=2においては、選択出力部2084によって第2符号化系列が選択される。
比率t=2 = (0を示すビット数+0)/((符号化系列のビット数+1)×t) = (14+1+20+0)/((31+1)×2) = 54.7%
Of the bits included in the encoded sequence input to the second ratio calculator 2082, the bits indicating 0 are 20 bits and the bits indicating 1 are 11 bits. Then, the ratio is calculated by the second ratio calculation unit 2082 as follows. In this case, since the ratio of the second encoded sequence is closer to 50%, the second encoded sequence is selected by the selection output unit 2084 at t = 2.
Ratio t = 2 = (number of bits indicating 0 + 0) / ((number of bits of coded sequence + 1) × t) = (14 + 1 + 20 + 0) / ((31 + 1) × 2) = 54.7%

以下、同様にt=3以降においても比率が計算される。ここで、t=nにおける比率は、以下のように表される。ただし、nは1以上の整数とする。また、Nbit(m)とは、t=mにおいて選択された符号化系列に含まれるビットのうち、0を示すビットの個数を示す。また、Nbit(n)は、比率を計算する対象となる符号化系列に含まれるビットのうち、0を示すビットの個数を示す。なお、比率を計算する対象となる符号化系列には、選択識別情報も含まれるものとする。

Figure 0005090010
Similarly, the ratio is calculated after t = 3. Here, the ratio at t = n is expressed as follows. However, n is an integer of 1 or more. Nbit (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m. Nbit (n) indicates the number of bits indicating 0 among the bits included in the encoded sequence whose ratio is to be calculated. It is assumed that selection identification information is also included in the encoded sequence for which the ratio is calculated.
Figure 0005090010

図26(b)は、図25の符号化系列選択部2074の第2の構成例を示す図である。第2の構成における符号化系列選択部2074は、第1合算部2086と、第2合算部2088と、選択出力部2084とを含む。第1合算部2086は、第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する。第2合算部2088は、第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する。符号化系列検出部は、第1合算部2086によって生成された第1合算値と、第2合算部2088によって生成された第2合算値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を検出する。選択出力部2084は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG. 26B is a diagram illustrating a second configuration example of the encoded sequence selection unit 2074 in FIG. The encoded sequence selection unit 2074 in the second configuration includes a first summation unit 2086, a second summation unit 2088, and a selection output unit 2084. The first summation unit 2086 sums a plurality of bits included in the first encoded sequence to generate a first sum value. Second summation section 2088 sums a plurality of bits included in the second encoded sequence to generate a second sum value. The coded sequence detection unit compares the first sum value generated by the first summation unit 2086 with the second sum value generated by the second summation unit 2088, and compares the first coded sequence and the second code. An encoded sequence corresponding to the smaller sum of the converted sequences is detected. The selection output unit 2084 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

具体例を用いて説明する。まず、t=1において、RLL符号化部2060、第1信号処理部2062から、それぞれ31ビットの符号化系列が出力されたと仮定する。この場合、第1合算部2086、第2合算部2088は、それぞれの符号化系列に含まれるビットを合算する。合算においては、0を「+1」に置換えると共に、1を「−1」に置換えて合計してもよい。このように合算することによって、0と1を示すビットの個数が等しい場合、合算値は0となる。したがって、選択出力部2084においては、合算値が0に近い符号化系列を選べばよく、たとえば、合算値の絶対値が小さい符号化系列を選べばよい。なお、この手法は、連続デジタル加算(Running Digital Summation。以下、「RDS」と略称する。)とも呼ばれる。   This will be described using a specific example. First, it is assumed that a 31-bit encoded sequence is output from the RLL encoding unit 2060 and the first signal processing unit 2062 at t = 1. In this case, the first summation unit 2086 and the second summation unit 2088 sum the bits included in the respective encoded sequences. In the summation, 0 may be replaced with “+1” and 1 may be replaced with “−1” for total. By summing in this way, when the number of bits indicating 0 and 1 is equal, the sum is 0. Therefore, the selection output unit 2084 may select an encoded sequence having a combined value close to 0, for example, an encoded sequence having a small absolute value of the combined value. This method is also called continuous digital summation (hereinafter abbreviated as “RDS”).

ここで、t=1において、第1合算部2086に入力される符号化系列に含まれる31個のビットのうち、0を示すビットが14ビット、1を示すビットが17ビットである場合、比率は、以下のように計算される。なお、右辺の第1項の被乗数において「1」を加算しているのは、選択識別情報を0と仮定しているためである。
RDSabs = |(14+1)×(+1)+17×(−1)| = 2
Here, at t = 1, out of 31 bits included in the encoded sequence input to the first summing unit 2086, the bit indicating 0 is 14 bits, and the bit indicating 1 is 17 bits. Is calculated as follows. Note that “1” is added to the multiplicand of the first term on the right side because the selection identification information is assumed to be zero.
RDS abs = | (14 + 1) × (+1) + 17 × (−1) | = 2

また、第2合算部2088に入力される符号化系列に含まれるビットのうち、0を示すビットは17ビット、1を示すビットが14となる。したがって、比率は、以下のように計算される。なお、右辺の第2項において「1」を加算しているのは、選択識別情報を1と仮定しているためである。
RDSabs = |17×(+1)+(14+1)×(−1)| = 2
Of the bits included in the encoded sequence input to the second summing unit 2088, the bits indicating 0 are 17 bits, and the bits indicating 1 are 14. Therefore, the ratio is calculated as follows: Note that “1” is added in the second term on the right side because the selection identification information is assumed to be 1.
RDS abs = | 17 × (+1) + (14 + 1) × (−1) | = 2

ここで、t=1においては、第1符号化系列と第2符号化系列に関し、いずれのRDSabsも同一の値となるため、いずれの符号化系列を選択してもよいこととなる。いいかえると、第1符号化系列と第2符号化系列とは、互いに論理反転した関係にあるため、それぞれRDSabsは、常に同一となる。ここで、「常に同一」とは、その時点におけるRDSが同一であることを含む。すなわち、t=1におけるRDSabsが互いに同一であっても、後述するt=2におけるRDSabsは、t=1において選択されたRDSabsが反映された上で計算されるため、常に同一になるわけではない。なお、2つのRDSabsが同一になった場合、好ましくは、第1符号化系列が選択される。第1符号化系列は、第1信号処理部2062を経由しておらず、後述するRLL/DCフリー復号部2323において、第1信号処理部2062に対応する処理を実行する必要がない。したがって、第1符号化系列を選択した場合、記憶システム2100における処理電力を低減できることとなる。以下においては、t=1において、第1符号化系列が選択されるものとして説明する。また、絶対値を計算する前の第1符号化系列についてのRDSが「RDS=−2」として記憶されたものとする。 Here, at t = 1, since any RDS abs has the same value for the first encoded sequence and the second encoded sequence, any encoded sequence may be selected. In other words, since the first encoded sequence and the second encoded sequence are in a logically inverted relationship, the RDS abs are always the same. Here, “always the same” includes that the RDS at that time is the same. That is, even if the RDS abs at t = 1 are the same, the RDS abs at t = 2, which will be described later, are calculated after reflecting the RDS abs selected at t = 1. Do not mean. Note that when the two RDS abs are the same, the first coded sequence is preferably selected. The first encoded sequence does not pass through the first signal processing unit 2062, and it is not necessary to execute processing corresponding to the first signal processing unit 2062 in the RLL / DC free decoding unit 2323 described later. Therefore, when the first encoded sequence is selected, the processing power in the storage system 2100 can be reduced. In the following description, it is assumed that the first encoded sequence is selected at t = 1. Further, it is assumed that the RDS for the first coded sequence before calculating the absolute value is stored as “RDS 1 = −2”.

つぎに、t=2において、t=1の場合と同様に、RLL符号化部2060、第1信号処理部2062から、それぞれ31ビットの符号化系列が出力されたとする。ここで、第1合算部2086に入力される符号化系列に含まれるビットのうち、0を示すビットが11ビット、1を示すビットが20ビットである場合、RDSは、以下のように計算される。t=1の場合と異なり、t=2においては、t=1において選択された符号化系列にかかるRDSも考慮にいれて計算されることとなる。
RDSabs = |RDS+(11+1)×(+1)+20×(−1)| = |−2+(−8)| = 10
Next, at t = 2, as in the case of t = 1, it is assumed that 31-bit encoded sequences are output from the RLL encoding unit 2060 and the first signal processing unit 2062, respectively. Here, among the bits included in the encoded sequence input to the first summation unit 2086, when the bit indicating 0 is 11 bits and the bit indicating 1 is 20 bits, the RDS is calculated as follows. The Unlike t = 1, at t = 2, the RDS for the encoded sequence selected at t = 1 is also taken into consideration.
RDS abs = | RDS 1 + (11 + 1) × (+1) + 20 × (−1) | = | −2 + (− 8) | = 10

また、第2合算部2088に入力される符号化系列に含まれるビットのうち、0を示すビットは20ビット、1を示すビットは11ビットとなる。したがって、比率は、以下のように計算される。この場合、第2符号化系列のRDSのほうが小さいため、t=2においては、選択出力部2084によって第2符号化系列が選択される。また、RDS2=6が記憶される。
RDSabs = |RDS+20×(+1)+(11+1)×(−1)| = |−2+(+8)| = 6
Of the bits included in the encoded sequence input to the second summing unit 2088, the bits indicating 0 are 20 bits, and the bits indicating 1 are 11 bits. Therefore, the ratio is calculated as follows: In this case, since the RDS of the second encoded sequence is smaller, the second encoded sequence is selected by the selection output unit 2084 at t = 2. Also, RDS 2 = 6 is stored.
RDS abs = | RDS 1 + 20 × (+1) + (11 + 1) × (−1) | = | −2 + (+ 8) | = 6

以下、同様にt=3以降においてもRDSabsが計算される。ここで、t=nにおけるRDSabs(n)は、以下のように表される。ただし、tは1以上の整数とする。また、Nbit0(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、0を示すビットの個数を示す。また、Nbit1(m)とは、t=mにおいて選択された符号化系列および選択識別情報に含まれるビットのうち、1を示すビットの個数を示す。ただし、Nbit0(n)、Nbit1(n)は、合算値を計算する対象となる符号化系列に含まれるビットのうち、それぞれ、0を示すビットの個数、1を示すビットの個数を示す。

Figure 0005090010
Similarly, RDS abs is calculated after t = 3. Here, RDS abs (n) at t = n is expressed as follows. However, t is an integer of 1 or more. Nbit0 (m) indicates the number of bits indicating 0 among the bits included in the encoded sequence selected at t = m and the selection identification information. Nbit1 (m) indicates the number of bits indicating 1 out of the bits included in the encoded sequence selected at t = m and the selection identification information. Here, Nbit0 (n) and Nbit1 (n) indicate the number of bits indicating 0 and the number of bits indicating 1 among the bits included in the encoded sequence for which the sum value is calculated, respectively.
Figure 0005090010

ここで、本第3実施形態におけるRDS(n)の収束性について説明する。ここで、RDS(n)とは、RDSabs(n)において絶対値を計算する前の値を示す。また、「RDS(n)の収束性」とは、nが無限大でRDS(n)が0となることなどを含み、また、RDS(n)は少なくとも発散せず、また、任意の時刻tにおいて、±0を中心として振動することなどを含む。このような性質を有するRDS(n)を生成することによって、常に良好なDCフリー特性を維持できることとなる。 Here, the convergence of RDS (n) in the third embodiment will be described. Here, RDS (n) indicates a value before calculating an absolute value in RDS abs (n). Further, “convergence of RDS (n)” includes that n is infinite and RDS (n) is 0, RDS (n) does not diverge at least, and an arbitrary time t In this case, it includes vibrating around ± 0. By generating RDS (n) having such properties, good DC-free characteristics can always be maintained.

具体例を用いて説明する。ここで、時刻n=1〜5における各符号化系列におけるRDSが、以下のように計算されたと仮定する。なお、RDS1(n)とは、第1符号化系列におけるRDSを示し、また、RDS2(n)とは、第2符号化系列におけるRDSを示す。
RDS1(n)={+5、+7、−1、−6、−4}
RDS2(n)={−5、−7、+1、+6、+4}
This will be described using a specific example. Here, it is assumed that RDS in each encoded sequence at time n = 1 to 5 is calculated as follows. Note that RDS1 (n) indicates RDS in the first encoded sequence, and RDS2 (n) indicates RDS in the second encoded sequence.
RDS1 (n) = {+ 5, +7, −1, −6, −4}
RDS2 (n) = {− 5, −7, +1, +6, +4}

ここで、n=1については、前述したようにRDSabsは同一となり、RDS1(1)が選択されたと仮定する。そうすると、n=1〜5において計算されるRDS(n)は、以下のように示される。
RDS(n)={5、−2、−1、5、1}
Here, for n = 1, it is assumed that the RDS abs are the same as described above and RDS1 (1) is selected. Then, RDS (n) calculated at n = 1 to 5 is expressed as follows.
RDS (n) = {5, -2, -1, 5, 1}

上式は、任意の時刻nにおけるRDS(n)が0以上である場合、次の時刻(n+1)においては、負のRDSを有する符号化系列が選択され、0に近づけていることを示す。また、任意の時刻nにおけるRDS(n)が0以下である場合、次の時刻(n+1)においては、正のRDSを有する符号化系列が選択され、0に近づけることを示す。ここで、本第3実施形態においては、前述したように、第1符号化系列と第2符号化系列とは、互いに論理反転された系列であるため、RDS1(n)とRDS2(n)とは、正負が反転された値となる。そうすると、任意のnにおいて、一方のRDSは、必ず他方のRDSの符号が反転されていることとなる。したがって、RDS(n)は、上式に示すように、任意のnにおいて、発散せず、また、±0を中心として振動する性質を備えることとなる。いいかえると、第1符号化系列と第2符号化系列とを互いに反転する関係とすることによって、RDS(n)は良好な収束性を備えることができるため、高いDCフリー特性が保証され、また、維持できることとなる。さらに、前述したように、第1符号化系列と第2符号化系列とは、同一のRLL特性を有する。したがって、本第3実施形態に示す態様をとることによって、記憶システム2100は、RLL特性とDCフリー特性とを同時に向上できる。なお、後述する図26(c)に示す態様においても、同様の効果が得られることは言うまでもない。   The above equation indicates that when RDS (n) at an arbitrary time n is 0 or more, an encoded sequence having a negative RDS is selected and approaches 0 at the next time (n + 1). In addition, when RDS (n) at an arbitrary time n is 0 or less, an encoded sequence having a positive RDS is selected at the next time (n + 1) and approaches 0. Here, in the third embodiment, as described above, since the first encoded sequence and the second encoded sequence are sequences that are logically inverted from each other, RDS1 (n) and RDS2 (n) Is a value obtained by inverting the sign. Then, at any n, one RDS always has the sign of the other RDS inverted. Therefore, as shown in the above equation, RDS (n) does not diverge at any n, and has a property of oscillating around ± 0. In other words, by making the first encoded sequence and the second encoded sequence invert each other, RDS (n) can have good convergence, so that high DC-free characteristics are guaranteed, and Can be maintained. Furthermore, as described above, the first encoded sequence and the second encoded sequence have the same RLL characteristics. Therefore, by taking the mode shown in the third embodiment, the storage system 2100 can simultaneously improve the RLL characteristic and the DC free characteristic. Needless to say, the same effect can be obtained in the embodiment shown in FIG.

上記における符号化系列選択部2074の動作は、ある時刻においては区間演算処理を行ないつつ、過去の連続する時刻間において移動演算処理を行なっている点が特徴となる。このように、区間処理と移動処理を組み合わせることによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上されることとなる。   The operation of the coded sequence selection unit 2074 described above is characterized in that the movement calculation process is performed between successive past times while performing the interval calculation process at a certain time. Thus, by combining the section process and the movement process, the DC-free property is improved in the long section, for example, the entire 300-bit sequence.

なお、第1合算部2086、第2合算部2088における合算処理は、符号化系列に含まれる0もしくは1を示すビットをそのまま合計してもよい。この場合、選択出力部2084においては、合算値が符号化系列の個数の半分の値に近いほうに対応する符号化系列が選択されることとなる。   In addition, the summation processing in the first summation unit 2086 and the second summation unit 2088 may add up the bits indicating 0 or 1 included in the encoded sequence as they are. In this case, in the selection output unit 2084, the encoded sequence corresponding to the sum closer to the half of the number of encoded sequences is selected.

図26(c)は、図25の符号化系列選択部2074の第3の構成例を示す図である。第3の構成における符号化系列選択部2074は、第1移動加算部2090と、第1最大値検出部2092と、第2移動加算部2094と、第2最大値検出部2096と、選択出力部2084とを含む。第1移動加算部2090は、第1符号化系列に含まれる複数のビットを移動加算を計算することによって、複数のビットと同数の第1移動加算値を生成する。第1最大値検出部2092は、第1移動加算部2090によって生成された複数の第1移動加算値のうち、最大値を検出する。第2移動加算部2094は、第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する。第2最大値検出部2096は、第2移動加算部2094によって生成された複数の第2移動加算値のうち、最大値を検出する。符号化系列検出部は、第1最大値検出部2092によって検出された最大値と、第2最大値検出部2096によって検出された最大値とを比較して、第1符号化系列と第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を検出する。選択出力部2084は、第1符号化系列と、第2符号化系列とのうち、系列検出部によって検出された符号化系列を選択して出力する。   FIG. 26C is a diagram illustrating a third configuration example of the coded sequence selection unit 2074 in FIG. The encoded sequence selection unit 2074 in the third configuration includes a first mobile addition unit 2090, a first maximum value detection unit 2092, a second mobile addition unit 2094, a second maximum value detection unit 2096, and a selection output unit. 2084. The first moving addition unit 2090 generates the same number of first moving addition values as the plurality of bits by calculating the moving addition of the plurality of bits included in the first encoded sequence. The first maximum value detection unit 2092 detects the maximum value among the plurality of first movement addition values generated by the first movement addition unit 2090. The second moving addition unit 2094 generates the same number of second moving addition values as the plurality of bits by moving and adding the plurality of bits included in the second encoded sequence. The second maximum value detection unit 2096 detects the maximum value among the plurality of second movement addition values generated by the second movement addition unit 2094. The encoded sequence detection unit compares the maximum value detected by the first maximum value detection unit 2092 with the maximum value detected by the second maximum value detection unit 2096, and compares the first encoded sequence and the second code. An encoded sequence corresponding to the smaller maximum value is detected from the encoded sequences. The selection output unit 2084 selects and outputs the encoded sequence detected by the sequence detection unit from the first encoded sequence and the second encoded sequence.

符号化系列選択部2074の第3の構成例は、第2の構成例と同様に、第1移動加算部2090、第2移動加算部2094において、それぞれの符号化系列のRDSを計算することによって、選択出力部2084が符号化系列を選択する。第3の構成例においては、32ビットのRDSの計算途中における最大値が小さいほうの符号化系列を選択する点で、32ビットのRDS計算の最終計算値のみ考慮して0に近い符号化系列を選択する第2の構成例と異なる。言い換えると、第3の構成例は、所定の区間においても、複数の区間においても、移動演算によって選択処理を行なっている。このような態様をとることによって、区間途中においてもDCフリー性の良い系列を選択できる。   As in the second configuration example, the third configuration example of the encoded sequence selection unit 2074 is obtained by calculating the RDS of each encoded sequence in the first mobile addition unit 2090 and the second mobile addition unit 2094. The selection output unit 2084 selects an encoded sequence. In the third configuration example, an encoded sequence that is close to 0 in consideration of only the final calculated value of the 32-bit RDS calculation is selected in that the encoded sequence having the smaller maximum value during the calculation of the 32-bit RDS is selected. This is different from the second configuration example in which is selected. In other words, in the third configuration example, the selection process is performed by the movement calculation in both the predetermined section and the plurality of sections. By taking such an aspect, it is possible to select a sequence having good DC-free properties even in the middle of the section.

ここで、「RDSの計算途中における最大値」は、時刻tごとに、以下で導出される。ただし、Min{y(0)、y(1)}とは、小さいほうの値を選択し、選択したほうの系列の番号を出力する関数を示す。たとえば、y(0)>y(1)の場合、S(t)は、1となる。また、max{x}とは、xのうち、最大値を検出する関数を示す。また、nは、(t−1)×32+1〜32×tの範囲の値を示す。また、Bit(m、j)は、第j符号化系列のうち、m番目のビットが0である場合は+1を示し、また、1である場合は−1を示す。
S(t)=Min{MaxRDS(1)、MaxRDS(2)}
MaxRDS(1) = max{RDS(n、1)}
MaxRDS(2) = max{RDS(n、2)}

Figure 0005090010
Here, the “maximum value during calculation of RDS” is derived as follows for each time t. However, Min {y (0), y (1)} indicates a function that selects a smaller value and outputs the number of the selected sequence. For example, when y (0)> y (1), S (t) is 1. Further, max {x} indicates a function for detecting the maximum value of x. N represents a value in the range of (t−1) × 32 + 1 to 32 × t. Bit (m, j) indicates +1 when the m-th bit is 0 in the j-th encoded sequence, and indicates -1 when it is 1.
S (t) = Min {MaxRDS (1), MaxRDS (2)}
MaxRDS (1) = max {RDS (n, 1)}
MaxRDS (2) = max {RDS (n, 2)}
Figure 0005090010

また、Bit(m、1)、Bit(m、2)は、tが増加するごとに、選択された系列に係るビットを下記のように書き換えた後に、計算されることとなる。
Bit(m、1)=Bit(m、2)=Bit(m、S(t−1)) :m=(t−1)×32+1〜t×32、t≠1
Bit (m, 1) and Bit (m, 2) are calculated after rewriting the bits related to the selected sequence as follows each time t increases.
Bit (m, 1) = Bit (m, 2) = Bit (m, S (t−1)): m = (t−1) × 32 + 1 to t × 32, t ≠ 1

ここで、図26(c)に示す符号化系列選択部2074の第3の構成例の動作について、図26(b)に示す符号化系列選択部2074の第2の構成例の動作と比較する。図27は、図26(b)と図26(c)にそれぞれ示す符号化系列選択部2074の動作の相違を示す図である。横軸は時間、縦軸はRDSを示す。ここで、2400Aは、第1符号化系列におけるRDSの推移を示す。また、2400Bは、第2符号化系列におけるRDSの推移を示す。図26(b)に示す符号化系列選択部2074の第2の構成例においては、RDSの区間演算の最終値であるRDSとRDSとを比較して小さいほうの符号化系列を選択する。図27においては、RDS<RDSであるので、選択出力部2084は、第1符号化系列を選択することとなる。一方、図26(c)に示す符号化系列選択部2074の第3の構成例においては、それぞれのビットにおけるRDS、すなわち、32個のビットを順次移動演算処理した後の絶対値のうち、最大値を比較して、小さいほうの符号化系列を選択する。図27においては、第1符号化系列については、MaxAが最大値であり、また、第2符号化系列については、MaxBが最大値となる。ここでは、MaxA>MaxBであるので、選択出力部2084は、第2符号化系列を選択することとなる。いずれの構成例を符号化系列選択部2074に適用した場合においても、DCフリー性の高い符号化系列を選択することができる。 Here, the operation of the third configuration example of the encoded sequence selection unit 2074 shown in FIG. 26C is compared with the operation of the second configuration example of the encoded sequence selection unit 2074 shown in FIG. . FIG. 27 is a diagram illustrating a difference in operation of the coded sequence selection unit 2074 illustrated in FIG. 26B and FIG. 26C, respectively. The horizontal axis represents time, and the vertical axis represents RDS. Here, 2400A indicates transition of RDS in the first encoded sequence. 2400B indicates transition of RDS in the second encoded sequence. In the second configuration example of the encoded sequence selection unit 2074 shown in FIG. 26B, RDS A and RDS B which are final values of the RDS interval calculation are compared, and the smaller encoded sequence is selected. . In FIG. 27, since RDS A <RDS B , the selection output unit 2084 selects the first encoded sequence. On the other hand, in the third configuration example of the encoded sequence selection unit 2074 shown in FIG. 26 (c), the RDS in each bit, that is, the maximum value among the absolute values after the 32 bits are sequentially subjected to the movement calculation process. Compare the values and select the smaller encoded sequence. In FIG. 27, MaxA is the maximum value for the first encoded sequence, and MaxB is the maximum value for the second encoded sequence. Here, since MaxA> MaxB, the selection output unit 2084 selects the second encoded sequence. Even when any configuration example is applied to the encoded sequence selection unit 2074, it is possible to select an encoded sequence having a high DC-free property.

図28は、図22のRLL/DCフリー復号部2323の構成例を示す図である。RLL/DCフリー復号部2323は、判定ビット取得部2068と、RLL復号部2070と、第2信号処理部2072とを含む。判定ビット取得部2068は、LDPC繰返復号部2322によって入力された符号化系列に付加されている所定の判定ビットを取得する。第2信号処理部2072は、判定ビット取得部2068によって取得された判定ビットに応じて、符号化系列に対し、第1信号処理部2062で実行された所定の信号処理と逆の信号処理を実行して出力する処理を実行する。たとえば、図24の第1信号処理部2062において、ビット反転処理を行なっていた場合、ビットの反転処理を元に戻す再反転処理とを実行する。もしくは、判定ビット取得部2068によって取得された判定ビットに応じて、第2信号処理部2072は、符号化系列に含まれる複数のビットをそのまま出力する処理を実行する。RLL復号部2070は、第2信号処理部2072によって出力された符号化系列をランレングス制限復号することによってデジタル信号系列を生成する。   FIG. 28 is a diagram illustrating a configuration example of the RLL / DC free decoding unit 2323 of FIG. The RLL / DC free decoding unit 2323 includes a determination bit acquisition unit 2068, an RLL decoding unit 2070, and a second signal processing unit 2072. Determination bit acquisition unit 2068 acquires a predetermined determination bit added to the encoded sequence input by LDPC iterative decoding unit 2322. The second signal processing unit 2072 performs signal processing opposite to the predetermined signal processing executed by the first signal processing unit 2062 on the encoded sequence according to the determination bit acquired by the determination bit acquisition unit 2068. The process to output is executed. For example, when the bit inversion process is performed in the first signal processing unit 2062 of FIG. Or according to the determination bit acquired by the determination bit acquisition part 2068, the 2nd signal processing part 2072 performs the process which outputs the some bit contained in an encoding series as it is. The RLL decoding unit 2070 generates a digital signal sequence by performing run-length limited decoding on the encoded sequence output by the second signal processing unit 2072.

上述したこれらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされた通信機能のあるプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   These configurations described above can be realized in hardware by a CPU, memory, or other LSI of an arbitrary computer, and in software by a program having a communication function loaded in the memory. Here, functional blocks realized by the cooperation are depicted. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

本第3実施形態によれば、RLL符号化された信号系列と、その信号系列に対しビット反転処理がほどこされた信号系列とを対象とすることによって、生成される系列は論理反転された関係となるため、第1符号化系列と第2符号化系列とを互いに反転する関係とすることによって、計算されるRDS(n)は良好な収束性を備えることができるため、高いDCフリー特性が保証され、また、維持できることとなる。さらに、前述したように、第1符号化系列と第2符号化系列とは、同一のRLL特性を有する。したがって、本第3実施形態に示す態様をとることによって、記憶システム2100は、RLL特性とDCフリー特性とを同時に向上できる。また、ビット反転処理することによって、系列に含まれるビットの個数を増加せずに、異なる系列を生成できる。   According to the third embodiment, a relationship in which a generated sequence is logically inverted by targeting an RLL-encoded signal sequence and a signal sequence that has undergone bit inversion processing on the signal sequence. Therefore, since the calculated RDS (n) can have good convergence by making the first encoded sequence and the second encoded sequence invert each other, high DC-free characteristics can be obtained. Guaranteed and maintainable. Furthermore, as described above, the first encoded sequence and the second encoded sequence have the same RLL characteristics. Therefore, by taking the mode shown in the third embodiment, the storage system 2100 can simultaneously improve the RLL characteristic and the DC free characteristic. Further, by performing bit inversion processing, different sequences can be generated without increasing the number of bits included in the sequence.

また、系列に含まれるビットの個数が増加しないため、全体の符号化率を低下させずに符号化系列が得られる。また、いずれの符号化系列が選択されたことを示す情報を符号化系列に付加することによって、復号側にて、容易に選択された符号化系列を判別できる。また、過去において選択された符号化系列と、現在選択の候補となっている符号化系列とを連結させたものを対象として、符号化系列選択部2074が選択判定を行なうことによって、長区間におけるDCフリー特性を向上できる。符号化系列選択部2074において、区間処理と移動処理を組み合わせてRDSを計算することによって、長区間、たとえば、300ビットの系列全体において、DCフリー性が向上できる。また、0を示すビットと1を示すビットとの比率が50%に近いほうを選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを合算し、より小さい合算値に対応する系列を選択することによって、DCフリー性の高い符号化系列が選択できる。また、符号化系列に含まれる複数のビットを移動加算した結果のうちの最大値を用いて系列を選択することによって、DCフリー性の高い符号化系列が選択できる。符号化側において実行されたDCフリー符号化に対応する処理を実行することによって、元のデジタル信号系列を復号できる。DCフリー性の高い符号化処理を実行することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Further, since the number of bits included in the sequence does not increase, an encoded sequence can be obtained without reducing the overall encoding rate. Further, by adding information indicating that any of the encoded sequences has been selected to the encoded sequence, the selected encoded sequence can be easily discriminated on the decoding side. In addition, the encoded sequence selection unit 2074 performs selection determination on a combination of the encoded sequence selected in the past and the encoded sequence that is currently selected as a candidate, so that in the long section DC-free characteristics can be improved. In the encoded sequence selection unit 2074, the RDS is calculated by combining the interval process and the movement process, whereby the DC-free property can be improved in the long interval, for example, the entire 300-bit sequence. Also, by selecting the one where the ratio of the bit indicating 0 and the bit indicating 1 is close to 50%, it is possible to select an encoded sequence having a high DC-free property. In addition, by adding a plurality of bits included in the encoded sequence and selecting a sequence corresponding to a smaller combined value, an encoded sequence having a high DC-free property can be selected. Further, by selecting a sequence using the maximum value among the results obtained by moving and adding a plurality of bits included in the encoded sequence, an encoded sequence having a high DC-free property can be selected. The original digital signal sequence can be decoded by executing a process corresponding to the DC-free encoding executed on the encoding side. By executing the encoding process with high DC-free property, the storage system can be accessed at higher speed. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

本第3実施形態において、R/Wチャネル2003は、1つの半導体基板上に一体集積化されてもよい。また、本第3実施形態の符号化系列選択部2074において、区間演算処理、もしくは、移動演算処理として説明した。しかしながらこれにかぎらず、区間平均処理、もしくは、移動平均処理を行なうことによって、DCフリー性の高い符号化系列の選別を行なってもよい。この場合であっても、同様の効果を得ることができる。   In the third embodiment, the R / W channel 2003 may be integrated on a single semiconductor substrate. Further, the coding sequence selection unit 2074 of the third embodiment has been described as the interval calculation process or the movement calculation process. However, the present invention is not limited to this, and an encoded sequence having a high DC-free property may be selected by performing section average processing or moving average processing. Even in this case, the same effect can be obtained.

(第4実施形態)
第4実施形態は、記憶媒体へのアクセス技術に関し、特に、記憶媒体から読み出した信号の振幅を調整する振幅調整装置、振幅調整方法、および記憶システムに関する。
(Fourth embodiment)
The fourth embodiment relates to a technology for accessing a storage medium, and more particularly, to an amplitude adjustment device, an amplitude adjustment method, and a storage system that adjust the amplitude of a signal read from the storage medium.

第4実施形態の背景技術について説明する。   The background art of the fourth embodiment will be described.

近年、ハードディスクを用いた記憶装置は、パーソナルコンピュータ、ハードディスクレコーダー、ビデオカメラ、携帯電話など、さまざまな分野において必須の装置となりつつある。ハードディスクを用いた記憶装置は、適用される分野によって求められる仕様もさまざまである。たとえば、パーソナルコンピュータに搭載するハードディスクには、高速性、大容量性が求められる。しかしながら、高速化が進むほど単位時間あたりに扱うデータの量が増えるため、単位時間あたりの誤りも比例して増大する。そうすると、すべての誤りを訂正することが困難となり、結果的にハードディスクへのアクセスに要する時間が増大する場合があり、高速化のボトルネックとなる。   In recent years, storage devices using hard disks are becoming essential devices in various fields such as personal computers, hard disk recorders, video cameras, and mobile phones. Storage devices using a hard disk have various specifications required depending on the field to which they are applied. For example, a hard disk mounted on a personal computer is required to have high speed and large capacity. However, since the amount of data handled per unit time increases as the speed increases, errors per unit time also increase proportionally. Then, it becomes difficult to correct all errors, and as a result, the time required to access the hard disk may increase, which becomes a bottleneck for speeding up.

一般的に、記憶装置に記憶されている信号を読み出す素子として、磁気抵抗素子(MagnetoResistive)が用いられていた。しかし、磁気抵抗素子を介して記憶装置から読み出した再生信号波形は、正パルスの出力振幅と負パルスの出力振幅とが非対称となる(以下、「振幅の非対称性」と表記する。)問題があった(たとえば、非特許文献1参照。)。振幅の非対称性(Amplitude Asymmetry)の問題は、磁気抵抗素子により、正パルスと負パルスのいずれか一方の出力振幅が低減されて出力されることによって生じ、両パルスのダイナミックレンジが異なることをいう。振幅の非対称性が顕著に現れる場合、磁気抵抗素子の後段において実行されるデータ検出処理の検出精度が劣化することとなる。そうすると、データ検出の後に実行される誤り訂正復号の訂正能力が低減してしまう。このような場合、記憶装置に記憶されたデータを正しく再生するために、再度、記憶装置にアクセスする必要が生じるため、記憶装置の高速化が困難となっていた。この非対称性を解消する技術として、従来、磁気抵抗素子に印加するバイアス磁界を制御していた(たとえば、特開平4−205903号公報参照。)。また、アナログ/デジタル変換器のゼロレベルを調整することによって、非対称性を補正していた(たとえば、特開平5−205205号公報参照。)。また、誤り訂正処理後の結果をフィードバックすることによって、非対称性を補正していた(たとえば、特開平11−238205号公報参照。)。   Generally, a magnetoresistive element (MagnetoResitive) has been used as an element for reading a signal stored in a storage device. However, the reproduced signal waveform read from the storage device via the magnetoresistive element has a problem that the output amplitude of the positive pulse and the output amplitude of the negative pulse are asymmetric (hereinafter referred to as “amplitude asymmetry”). (For example, see Non-Patent Document 1). The problem of amplitude asymmetry (Amplitude Asymmetry) occurs when the output amplitude of either the positive pulse or the negative pulse is reduced by the magnetoresistive element, and the dynamic range of both pulses is different. . When the asymmetry of the amplitude appears remarkably, the detection accuracy of the data detection process executed in the subsequent stage of the magnetoresistive element deteriorates. If it does so, the correction capability of the error correction decoding performed after data detection will reduce. In such a case, it is necessary to access the storage device again in order to correctly reproduce the data stored in the storage device, so that it is difficult to increase the speed of the storage device. As a technique for eliminating this asymmetry, conventionally, a bias magnetic field applied to the magnetoresistive element has been controlled (see, for example, Japanese Patent Laid-Open No. 4-205903). Further, the asymmetry is corrected by adjusting the zero level of the analog / digital converter (see, for example, Japanese Patent Application Laid-Open No. 5-205205). Further, the asymmetry is corrected by feeding back the result after the error correction processing (see, for example, JP-A-11-238205).

Akihiko Takeo、et. al.、「Characterization of GMR Nonlinear Response and the Impact on BER in Perpendicular Magnetic Recording」、IEEE Transactions on Magnetics、July,2004、Vol.40、No.4Akihiko Takeo, et. al. , “Characterization of GMR Nonlinear Response and the Impact on BER in Permendicular Magnetic Recording”, IEEE Transactions on Magnetics, July, 2004. 40, no. 4

第4実施形態が解決しようとする課題について説明する。   A problem to be solved by the fourth embodiment will be described.

本発明者はこうした状況下、以下の課題を認識するに至った。すなわち、アナログ回路によっては動作が不安定となるので非線形性を正確に補正することが困難であり、また、回路規模が増大するといった課題である。一方、デジタル処理によって非線形性を補正すると、フィードバックループに伴う遅延の発生、あるいは、アナログ/デジタル変換器におけるビット数の増加に伴う回路規模の増大といった課題である。   Under such circumstances, the present inventor has come to recognize the following problems. That is, depending on the analog circuit, the operation becomes unstable, so that it is difficult to correct nonlinearity accurately, and the circuit scale increases. On the other hand, when nonlinearity is corrected by digital processing, there are problems such as generation of a delay associated with a feedback loop or increase in circuit scale accompanying an increase in the number of bits in an analog / digital converter.

本発明の第4実施形態はこうした状況に鑑みてなされたものであり、その総括的な目的は、より少ない回路規模で、振幅の非対称性を低減できる記憶装置を提供することにある。   The fourth embodiment of the present invention has been made in view of such circumstances, and a general purpose thereof is to provide a storage device that can reduce amplitude asymmetry with a smaller circuit scale.

上記課題を解決するために、本発明の第4実施形態のある態様の振幅調整装置は、入力部と、アナログデジタル変換部とを備える。入力部は、磁気抵抗素子を介して出力されたアナログ信号であって、正区間におけるダイナミックレンジと負区間におけるダイナミックレンジとが非対称となり、いずれか一方の区間に非線形区間を含むアナログ信号を入力する。アナログデジタル変換部は、入力部で入力されたアナログ信号の振幅が非線形区間に存在する場合、アナログ信号に対して振幅を調整しつつ、デジタル信号に変換して出力する。また、アナログデジタル変換部は、アナログ信号をデジタル信号に変換する前に、非線形区間における非線形性を打ち消すように、アナログ信号の振幅を調整する前置調整部を有する。   In order to solve the above-described problem, an amplitude adjustment device according to an aspect of a fourth embodiment of the present invention includes an input unit and an analog-digital conversion unit. The input unit is an analog signal output via a magnetoresistive element, and the dynamic range in the positive section and the dynamic range in the negative section are asymmetric, and an analog signal including a non-linear section in one of the sections is input. . When the amplitude of the analog signal input from the input unit is present in the nonlinear section, the analog-to-digital conversion unit converts the analog signal into a digital signal while adjusting the amplitude, and outputs the digital signal. The analog-to-digital conversion unit includes a pre-adjustment unit that adjusts the amplitude of the analog signal so as to cancel the non-linearity in the non-linear period before converting the analog signal into the digital signal.

ここで、「非線形区間」とは、磁気抵抗素子の入出力特性において磁気抵抗素子に入力されたアナログ信号の振幅が歪まされて出力される区間などを含む。また、「非線形区間における非線形性を打ち消すように、アナログ信号の振幅を調整する前置調整部」とは、その入出力特性として、非線形区間における入出力特性の逆特性、もしくは、逆特性に近似した特性を有する前置補正部などを含む。   Here, the “nonlinear section” includes a section in which the amplitude of an analog signal input to the magnetoresistive element is distorted and output in the input / output characteristics of the magnetoresistive element. In addition, “the pre-adjustment unit that adjusts the amplitude of the analog signal so as to cancel the non-linearity in the non-linear section” means that the input / output characteristics are the reverse of the input / output characteristics in the non-linear section or approximate to the reverse characteristics Including a precorrector having the above characteristics.

この態様によると、アナログデジタル変換部において、アナログ信号の振幅を調整することによって、磁気抵抗素子において発生した振幅の非線形性を打ち消すことができる。また、磁気抵抗素子において発生した振幅の非線形性を打ち消すことによって、後段において実行するデータ検出の検出精度を向上できる。また、さらに後段において実行される誤り訂正復号後の誤り特性を改善できる。   According to this aspect, the non-linearity of the amplitude generated in the magnetoresistive element can be canceled by adjusting the amplitude of the analog signal in the analog-to-digital converter. Further, by canceling the non-linearity of the amplitude generated in the magnetoresistive element, it is possible to improve the detection accuracy of data detection executed in the subsequent stage. Further, it is possible to improve error characteristics after error correction decoding executed in the subsequent stage.

前置調整部は、非線形区間における入出力特性を双曲線正接関数の逆数に相当する値とすることによって、非線形区間におけるアナログ信号の振幅を調整してもよい。前置調整部は、非線形区間に含まれる複数の部分区間において、複数の部分区間のうちの第1部分区間の入出力特性として、少なくとも1より大きい第1の傾きを有する1次関数が設定され、また、複数の部分区間のうち、第1部分区間と連続する第2部分区間の入出力特性として、第1の傾きと異なる傾きを有する1次関数が設定されていてもよい。ここで、「双曲線正接関数の逆数に相当する値」とは、少なくとも双曲線正接関数の入出力特性を近似した値などを含み、たとえば、双曲線正接関数の入出力特性とn次関数(nは1以上の整数)の入出力特性とを加算、減算、乗算、もしくは除算した複数の値なども含む。また、「連続する」とは、第1部分区間の終点と第2部分区間の始点とが一致することなどを含み、また、第1部分区間の始点と第2部分区間の終点とが一致することも含む。   The pre-adjusting unit may adjust the amplitude of the analog signal in the nonlinear interval by setting the input / output characteristics in the nonlinear interval to a value corresponding to the inverse of the hyperbolic tangent function. In the plurality of partial sections included in the non-linear section, the pre-adjustment unit is set with a linear function having a first slope greater than at least 1 as input / output characteristics of the first partial section of the plurality of partial sections. Also, a linear function having a slope different from the first slope may be set as the input / output characteristics of the second partial section that is continuous with the first partial section among the plurality of partial sections. Here, the “value corresponding to the reciprocal of the hyperbolic tangent function” includes at least a value approximating the input / output characteristics of the hyperbolic tangent function, for example, the input / output characteristics of the hyperbolic tangent function and the n-order function (n is 1 A plurality of values obtained by adding, subtracting, multiplying, or dividing the above input / output characteristics. Further, “continuous” includes that the end point of the first partial section and the start point of the second partial section match, and the start point of the first partial section and the end point of the second partial section match. Including.

前置調整部は、複数の抵抗素子と、比較部とを有してもよい。複数の抵抗素子は、直列に設置された複数の抵抗素子であって、一定電圧を有する参照信号を入力として、順次、後段の抵抗素子に対し、それぞれ振幅調整された参照信号を出力する。比較部は、複数の抵抗素子のそれぞれから出力された参照信号と、入力部から入力されたアナログ信号の振幅とをそれぞれ比較することによって、アナログ信号の振幅を調整する。また、複数の抵抗素子は、それぞれの抵抗素子の抵抗値に非均一性をもたせることによって、振幅調整の幅を変えてもよい。また、複数の抵抗素子のうち非線形区間に対応する抵抗素子は、非線形区間以外の区間に対応する抵抗素子の抵抗値と異なる抵抗値に設定されることによって、非線形区間における非線形性を調整してもよい。ここで、「それぞれの抵抗素子の抵抗値に非均一性をもたせる」とは、複数の抵抗素子のうち、少なくとも1以上の抵抗素子の抵抗値が他の抵抗素子の抵抗値と異なることなどを含み、複数の抵抗素子において、同一の抵抗値を有する抵抗素子が複数存在してもよい。この態様によると、アナログデジタル変換部に含まれる複数の抵抗素子の抵抗値をそれぞれ設定するだけで、アナログ信号の振幅の非対称性の低減化を小規模な回路で実現できる。   The pre-adjustment unit may include a plurality of resistance elements and a comparison unit. The plurality of resistance elements are a plurality of resistance elements installed in series, and each receives a reference signal having a constant voltage and sequentially outputs a reference signal whose amplitude is adjusted to the subsequent resistance element. The comparison unit adjusts the amplitude of the analog signal by comparing the reference signal output from each of the plurality of resistance elements with the amplitude of the analog signal input from the input unit. Further, the width of the amplitude adjustment of the plurality of resistance elements may be changed by making the resistance values of the respective resistance elements non-uniform. Moreover, the resistance element corresponding to the non-linear section among the plurality of resistance elements is set to a resistance value different from the resistance value of the resistance element corresponding to the section other than the non-linear section, thereby adjusting the non-linearity in the non-linear section. Also good. Here, “to make the resistance value of each resistance element non-uniform” means that the resistance value of at least one or more of the resistance elements is different from the resistance value of other resistance elements. In addition, in a plurality of resistance elements, a plurality of resistance elements having the same resistance value may exist. According to this aspect, the analog signal amplitude asymmetry can be reduced with a small circuit by simply setting the resistance values of the plurality of resistance elements included in the analog-digital conversion unit.

前置調整部は、複数の抵抗素子のうち少なくとも1以上の抵抗素子の入力端に接続され、入力端のそれぞれに対し、対応する参照電圧を印加することによって、前記複数の抵抗素子のそれぞれから出力される参照信号の振幅を調整する参照電圧制御部と、をさらに有してもよい。この場合、複数の抵抗素子は、同一の抵抗値を有してもよい。また、参照電圧制御部は、複数の抵抗素子のうち非線形区間に対応する抵抗素子の入力端に対し、非線形区間以外の区間に対応する抵抗素子の入力端とは異なる参照電圧を印加することによって、非線形区間における非線形性を調整してもよい。ここで、「対応する参照電圧」とは、抵抗素子ごとに対応づけられて決定された参照電圧を含み、予め設定されていてもよく、また、磁気抵抗素子の品質にしたがって動的に変化してもよい。この態様によると、参照電圧制御部によって柔軟に参照信号の振幅を制御できる。また、アナログデジタル変換部に含まれる複数の抵抗素子の抵抗値を同一にできるので回路コストが低減できる。また、アナログ信号の振幅の非対称性の低減化を小規模な回路で実現できる。   The pre-adjusting unit is connected to an input terminal of at least one of the plurality of resistance elements, and applies a corresponding reference voltage to each of the input terminals, so that each of the plurality of resistance elements And a reference voltage control unit that adjusts the amplitude of the output reference signal. In this case, the plurality of resistance elements may have the same resistance value. Further, the reference voltage control unit applies a reference voltage different from the input end of the resistance element corresponding to the section other than the non-linear section to the input end of the resistance element corresponding to the non-linear section among the plurality of resistance elements. The nonlinearity in the nonlinear section may be adjusted. Here, the “corresponding reference voltage” includes a reference voltage determined in association with each resistive element, may be set in advance, and dynamically changes according to the quality of the magnetoresistive element. May be. According to this aspect, the reference voltage controller can flexibly control the amplitude of the reference signal. Further, since the resistance values of the plurality of resistance elements included in the analog-digital conversion unit can be made the same, the circuit cost can be reduced. In addition, the amplitude asymmetry of the analog signal can be reduced with a small circuit.

本発明の第4実施形態の別の態様は、振幅調整方法である。この方法は、入力するステップと、出力するステップとを含む。入力するステップは、磁気抵抗素子を介して出力されたアナログ信号であって、正区間におけるダイナミックレンジと負区間におけるダイナミックレンジとが非対称となり、いずれか一方の区間に非線形区間を含むアナログ信号を入力する。出力するステップは、非線形区間に存在するアナログ信号に対して、非線形区間における非線形性を打ち消すようにその振幅を調整しつつ、デジタル信号に変換して出力する。この態様によると、出力するステップにおいて、アナログ信号の振幅を調整することによって、磁気抵抗素子において発生した振幅の非線形性を打ち消すことができる。また、磁気抵抗素子において発生した振幅の非線形性を打ち消すことによって、後段において実行するデータ検出の検出精度を向上できる。また、さらに後段において実行される誤り訂正復号後の誤り特性を改善できる。   Another aspect of the fourth embodiment of the present invention is an amplitude adjustment method. The method includes an input step and an output step. The input step is an analog signal output via the magnetoresistive element, and the dynamic range in the positive section and the dynamic range in the negative section are asymmetric, and an analog signal including a non-linear section is input in one of the sections. To do. In the outputting step, the analog signal existing in the non-linear section is converted into a digital signal and output while adjusting the amplitude so as to cancel the non-linearity in the non-linear section. According to this aspect, the amplitude nonlinearity generated in the magnetoresistive element can be canceled by adjusting the amplitude of the analog signal in the outputting step. Further, by canceling the non-linearity of the amplitude generated in the magnetoresistive element, it is possible to improve the detection accuracy of data detection executed in the subsequent stage. Further, it is possible to improve error characteristics after error correction decoding executed in the subsequent stage.

本発明の第4実施形態のさらに別の態様は、記憶システムである。この記憶システムは、データを記憶装置に書き込むライトチャネルと、記憶装置に記憶されているデータを読み出すリードチャネルとを備える信号記憶システムである。ライトチャネルは、データをランレングス符号化する第1の符号化部と、第1の符号化部で符号化されたデータに対し、低密度パリティ検査符号を用いて符号化する第2の符号化部と、第2の符号化部で符号化されたデータを記憶装置に書き込む書き込み部と、を有する。リードチャネルは、入力部と、アナログデジタル変換部と、ソフト出力検出部と、第1の復号部と、第2の復号部とを有する。入力部は、磁気抵抗素子を介して記憶装置から出力されたアナログ信号であって、正区間におけるダイナミックレンジと負区間におけるダイナミックレンジとが非対称となり、いずれか一方の区間に非線形区間を含むアナログ信号を入力する。アナログデジタル変換部は、入力部から入力されたアナログ信号をデジタル信号に変換して出力する。ソフト出力検出部は、アナログデジタル変換部から出力されたデジタル信号の尤度を計算して軟判定値を出力する。第1の復号部は、ソフト出力検出部から出力されたデータを復号し、第2の符号化部に対応している。第2の復号部は、第1の復号部で復号されたデータを復号し、第1の符号化部に対応している。アナログデジタル変換部は、入力部で入力されたアナログ信号の振幅が非線形区間に存在する場合、アナログ信号をデジタル信号に変換する前に、アナログ信号に対して、非線形区間における非線形性を打ち消すように振幅を調整する前置調整部を有する。この態様によると、磁気抵抗素子において発生した振幅の非対称性による影響を低減することができ、より高速に記憶システムにアクセスすることができる。   Yet another aspect of the fourth embodiment of the present invention is a storage system. This storage system is a signal storage system including a write channel for writing data to the storage device and a read channel for reading data stored in the storage device. The write channel includes a first encoding unit that performs run-length encoding of data, and a second encoding that encodes the data encoded by the first encoding unit using a low-density parity check code And a writing unit that writes the data encoded by the second encoding unit to the storage device. The read channel includes an input unit, an analog / digital conversion unit, a soft output detection unit, a first decoding unit, and a second decoding unit. The input unit is an analog signal output from the storage device via the magnetoresistive element, and the dynamic range in the positive section and the dynamic range in the negative section are asymmetric, and one of the sections includes a nonlinear section Enter. The analog-digital conversion unit converts the analog signal input from the input unit into a digital signal and outputs the digital signal. The soft output detection unit calculates the likelihood of the digital signal output from the analog-digital conversion unit and outputs a soft decision value. The first decoding unit decodes the data output from the soft output detection unit and corresponds to the second encoding unit. The second decoding unit decodes the data decoded by the first decoding unit and corresponds to the first encoding unit. The analog-to-digital conversion unit cancels the non-linearity in the non-linear section with respect to the analog signal before converting the analog signal to the digital signal when the amplitude of the analog signal input from the input unit exists in the non-linear section. A pre-adjustment unit for adjusting the amplitude; According to this aspect, it is possible to reduce the influence caused by the amplitude asymmetry generated in the magnetoresistive element, and to access the storage system at a higher speed.

本発明の第4実施形態のさらに別の態様もまた、記憶システムである。この記憶システムは、さらに、データを記憶する記憶装置と、記憶装置への書き込みと、記憶装置からの読み出しとを制御する制御部と、を有する。リードチャネルは、制御部の指示に従って、記憶装置に記憶されているデータを磁気抵抗素子を介して読み出し、ライトチャネルは、制御部の指示に従って、符号化されたデータを記憶装置に書き込む。この態様によると、磁気抵抗素子において発生した振幅の非対称性による影響を低減することができ、より高速に記憶システムにアクセスすることができる。   Yet another aspect of the fourth embodiment of the present invention is also a storage system. The storage system further includes a storage device that stores data, and a control unit that controls writing to the storage device and reading from the storage device. The read channel reads data stored in the storage device via the magnetoresistive element in accordance with an instruction from the control unit, and the write channel writes encoded data to the storage device in accordance with the instruction from the control unit. According to this aspect, it is possible to reduce the influence caused by the amplitude asymmetry generated in the magnetoresistive element, and to access the storage system at a higher speed.

本発明の第4実施形態のさらに別の態様は、振幅調整装置である。この装置は、1つの半導体基板上に一体集積化されている。この態様によると、一体集積化されることにより、低規模な半導体集積回路を実現できる。   Yet another aspect of the fourth embodiment of the present invention is an amplitude adjusting device. This apparatus is integrated on a single semiconductor substrate. According to this aspect, a low-scale semiconductor integrated circuit can be realized by being integrated.

本発明の第4実施形態のさらに別の態様は、記録情報読取装置である。記録情報読取装置は、ディスクに記録された記録情報を読み取る読取部から出力されたアナログ信号を入力するアナログ信号入力部と、アナログ信号入力部からアナログ信号を入力し、これをデジタル信号に変換する際に、アナログ信号の入力レベルの正区間あるいは負区間のいずれか一方の区間において、入出力特性におけるアナログ信号とデジタル信号の関係がアナログ信号の入力レベルが小さい場合とアナログ信号の入力レベルが大きい場合とで異なるアナログデジタル変換部と、を備える。アナログデジタル変換部は、直列に設置された複数の抵抗素子であって、一定電圧を有する参照信号を入力として、順次、後段の抵抗素子に対し、それぞれ振幅調整された参照信号を出力する複数の抵抗素子と、複数の抵抗素子のそれぞれから出力された参照信号と、前記入力部から入力されたアナログ信号の入力レベルとをそれぞれ比較することによって、前記アナログ信号の入力レベルを調整する比較部とを有してもよい。複数の抵抗素子は、それぞれの抵抗素子の抵抗値に非均一性をもたせることによって、入力レベルの調整の幅を変えてもよい。   Yet another aspect of the fourth embodiment of the present invention is a recorded information reading apparatus. The recorded information reading device inputs an analog signal input from an analog signal output from a reading unit that reads recorded information recorded on a disk, and inputs an analog signal from the analog signal input unit, and converts this into a digital signal. When the analog signal input level is either positive or negative, the relationship between the analog signal and the digital signal in the input / output characteristics is low and the analog signal input level is high. An analog-to-digital converter that differs depending on the case. The analog-to-digital conversion unit is a plurality of resistance elements installed in series, and receives a reference signal having a constant voltage as input and sequentially outputs a plurality of reference signals whose amplitudes are adjusted to the subsequent resistance elements. A comparison unit that adjusts an input level of the analog signal by comparing a resistance element, a reference signal output from each of the plurality of resistance elements, and an input level of the analog signal input from the input unit; You may have. The plurality of resistance elements may change the range of adjustment of the input level by making the resistance values of the respective resistance elements non-uniform.

本発明の第4実施形態のさらに別の態様は、記録情報読取装置である。この装置は、ディスクに記録された記録情報を読み取る読取部から出力されたアナログ信号を入力するアナログ信号入力部と、アナログ信号入力部からアナログ信号を入力し、これをデジタル信号に変換する際に、入出力特性におけるアナログ信号とデジタル信号の関係が可変のアナログデジタル変換部と、アナログデジタル変換部の出力に応じ、アナログデジタル変換部の入出力特性におけるアナログ信号とデジタル信号との関係を決定する制御部と、を備える。アナログデジタル変換部は、アナログ信号が入力される可変抵抗を有し、制御部は、前記可変抵抗の抵抗値を決定してもよい。   Yet another aspect of the fourth embodiment of the present invention is a recorded information reading apparatus. This device inputs an analog signal input from an analog signal output from a reading unit that reads recorded information recorded on a disc, and inputs an analog signal from the analog signal input unit and converts it into a digital signal. The analog-digital conversion unit in which the relationship between the analog signal and the digital signal in the input / output characteristics is variable, and the relationship between the analog signal and the digital signal in the input-output characteristics of the analog-digital conversion unit is determined according to the output of the analog-digital conversion unit A control unit. The analog-digital conversion unit may have a variable resistor to which an analog signal is input, and the control unit may determine a resistance value of the variable resistor.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明の第4実施形態を具体的に説明する前に、まず本第4実施形態にかかる記憶装置について概要を述べる。本第4実施形態にかかる記憶装置は、ハードディスクコントローラと、磁気ディスク装置と、リードチャネルとライトチャネルを含むリードライトチャネルと、を有する。磁気ディスク装置においては、通常、磁気抵抗素子(MagnetroResistive。以下、「MR素子」と略記する。)を含むヘッドを介して、ハードディスクに記憶されているデータを読み出す。ここで、ハードディスクから読み出した信号の波形は、正パルスの出力振幅と負パルスの出力振幅とが非対称となることがあり、高速化のボトルネックとなっていた。そこで、本発明の第4実施形態においては、リードチャネルにおいて読出したアナログ信号をデジタル信号に変換する際に、振幅の非対称性を改善する。詳細は後述するが、アナログデジタル変換器の入出力特性を振幅の非対称性を打ち消すような特性とすることによって、振幅の非対称性を低減する。   Before specifically describing the fourth embodiment of the present invention, an outline of a storage device according to the fourth embodiment will be described first. The storage device according to the fourth embodiment includes a hard disk controller, a magnetic disk device, and a read / write channel including a read channel and a write channel. In a magnetic disk device, data stored in a hard disk is usually read through a head including a magnetoresistive element (hereinafter referred to as “MR element”). Here, in the waveform of the signal read from the hard disk, the output amplitude of the positive pulse and the output amplitude of the negative pulse may be asymmetric, which has become a bottleneck for speeding up. Therefore, in the fourth embodiment of the present invention, amplitude asymmetry is improved when an analog signal read in the read channel is converted into a digital signal. Although details will be described later, the asymmetry of the amplitude is reduced by setting the input / output characteristics of the analog-digital converter so as to cancel the asymmetry of the amplitude.

以下、図面を用いて、本発明の第4実施形態について詳細に説明する。   Hereinafter, the fourth embodiment of the present invention will be described in detail with reference to the drawings.

図29は、本発明の第4実施形態に係る磁気ディスク装置3100の構成を示す図である。図29の磁気ディスク装置3100は、大きく分けて、ハードディスクコントローラ3001(以下、「HDC3001」と略記する。)、中央処理演算装置3002(以下、「CPU3002」と略記する。)、リードライトチャネル3003(以下、「R/Wチャネル3003」と略記する。)、ボイスコイルモータ/スピンドルモータ制御部3004(以下、「VCM/SPM制御部3004」と略記する。)、及びディスクエンクロージャ3005(以下、「DE3005」と略記する。)とから構成される。一般に、HDC3001、CPU3002、R/Wチャネル3003、及びVCM/SPM制御部3004は同一の基板上に構成される。   FIG. 29 is a diagram showing a configuration of a magnetic disk device 3100 according to the fourth embodiment of the present invention. 29 is broadly divided into a hard disk controller 3001 (hereinafter abbreviated as “HDC 3001”), a central processing unit 3002 (hereinafter abbreviated as “CPU 3002”), and a read / write channel 3003 (hereinafter abbreviated as “CPU 3002”). Hereinafter, abbreviated as “R / W channel 3003”), voice coil motor / spindle motor control unit 3004 (hereinafter abbreviated as “VCM / SPM control unit 3004”), and disk enclosure 3005 (hereinafter “DE3005”). Is abbreviated as “.”). In general, the HDC 3001, the CPU 3002, the R / W channel 3003, and the VCM / SPM control unit 3004 are configured on the same substrate.

HDC3001は、HDC3001全体を制御する主制御部3011、データフォーマット制御部3012、誤り訂正符号化制御部3013(以下、「ECC制御部3013」と略記する。)、及びバッファRAM3014を含む。HDC3001は、図示しないインタフェース部を介してホストシステムと接続される。また、R/Wチャネル3003を介して、DE3005と接続されており、主制御部3011の制御により、ホストとDE3005の間でデータ転送処理を実行する。このHDC3001には、R/Wチャネル3003で生成されるリードリファレンスクロック(RRCK)が入力される。データフォーマット制御部3012は、ホストから転送されたデータをディスク媒体3050上に記録するのに適したフォーマットに変換し、逆に、ディスク媒体3050から再生されたデータをホストに転送するのに適したフォーマットに変換する。ディスク媒体3050は、たとえば、磁気ディスクを含む。ECC制御部3013は、ディスク媒体3050から再生されたデータに含まれる誤りの訂正及び検出を可能にするために、記録するデータを情報シンボルとして、冗長シンボルを付加する。またECC制御部3013は、再生されたデータに誤りが生じているかを判断し、誤りがある場合には訂正或いは検出を行う。但し、誤りが訂正できるシンボル数は有限であり、冗長データの長さに関係する。即ち、多くの冗長データを付加するとフォーマット効率が悪化するため、誤り訂正可能シンボル数とはトレードオフとなる。ECCとしてリードソロモン(RS)符号を利用して誤り訂正を実行する場合、(冗長シンボル数/2)個までの誤りを訂正できる。バッファRAM3014は、ホストから転送されたデータを一時的に保存し、適切なタイミングでR/Wチャネル3003に転送する。逆に、R/Wチャネル3003から転送されたリードデータを一時的に保存し、ECC復号処理などの終了後、適切なタイミングでホストに転送する。   The HDC 3001 includes a main control unit 3011 that controls the entire HDC 3001, a data format control unit 3012, an error correction coding control unit 3013 (hereinafter abbreviated as “ECC control unit 3013”), and a buffer RAM 3014. The HDC 3001 is connected to the host system via an interface unit (not shown). Further, it is connected to the DE 3005 via the R / W channel 3003, and executes data transfer processing between the host and the DE 3005 under the control of the main control unit 3011. The HDC 3001 receives a read reference clock (RRCK) generated by the R / W channel 3003. The data format control unit 3012 converts the data transferred from the host into a format suitable for recording on the disk medium 3050, and conversely, suitable for transferring the data reproduced from the disk medium 3050 to the host. Convert to format. The disk medium 3050 includes, for example, a magnetic disk. The ECC control unit 3013 adds redundant symbols using data to be recorded as information symbols in order to enable correction and detection of errors included in data reproduced from the disk medium 3050. The ECC control unit 3013 determines whether or not an error has occurred in the reproduced data, and corrects or detects if there is an error. However, the number of symbols that can correct errors is limited, and is related to the length of redundant data. That is, if a large amount of redundant data is added, the format efficiency deteriorates, so that there is a trade-off with the number of error correctable symbols. When error correction is performed using Reed-Solomon (RS) code as ECC, up to (number of redundant symbols / 2) errors can be corrected. The buffer RAM 3014 temporarily stores data transferred from the host and transfers the data to the R / W channel 3003 at an appropriate timing. Conversely, the read data transferred from the R / W channel 3003 is temporarily stored, and transferred to the host at an appropriate timing after the ECC decoding process or the like is completed.

CPU3002は、フラッシュROM3021(以下、「FROM3021」と略記する。)、及びRAM3022を含み、HDC3001、R/Wチャネル3003、VCM/SPM制御部3004、及びDE3005と接続される。FROM3021には、CPU3002の動作プログラムが保存されている。   The CPU 3002 includes a flash ROM 3021 (hereinafter abbreviated as “FROM 3021”) and a RAM 3022, and is connected to the HDC 3001, the R / W channel 3003, the VCM / SPM control unit 3004, and the DE 3005. In the FROM 3021, an operation program for the CPU 3002 is stored.

R/Wチャネル3003は、ライトチャネル3031とリードチャネル3032とに大別され、HDC3001との間で記録するデータ及び再生されたデータの転送処理を実行する。また、R/Wチャネル3003は、DE3005と接続され、記録信号の送信、再生信号の受信を実行する。詳細は後述する。   The R / W channel 3003 is roughly divided into a write channel 3031 and a read channel 3032, and executes transfer processing of data to be recorded and reproduced from the HDC 3001. Further, the R / W channel 3003 is connected to the DE 3005 and executes transmission of a recording signal and reception of a reproduction signal. Details will be described later.

VCM/SPM制御部3004は、DE3005中のボイスコイルモータ3052(以下、「VCM3052」と略記する。)とスピンドルモータ3053(以下、「SPM3053」と略記する。)を制御する。   The VCM / SPM control unit 3004 controls a voice coil motor 3052 (hereinafter abbreviated as “VCM 3052”) and a spindle motor 3053 (hereinafter abbreviated as “SPM 3053”) in the DE 3005.

DE3005は、R/Wチャネル3003と接続され、記録信号の受信処理、再生信号の送信処理を実行する。またDE3005は、VCM/SPM制御部3004と接続されている。DE3005は、ディスク媒体3050、ヘッド3051、VCM3052、SPM3053、及びプリアンプ3054等を有している。図29の磁気ディスク装置3100においては、ディスク媒体3050が1枚であり、且つヘッド3051がディスク媒体3050の一方の面側のみに配置されている場合を想定しているが、複数のディスク媒体3050が積層配置された構成であってもよい。また、ヘッド3051は、ディスク媒体3050の各面に対応して設けられるのが一般的である。R/Wチャネル3003により送信された記録信号は、DE3005内のプリアンプ3054を経由してヘッド3051に供給され、ヘッド3051によりディスク媒体3050に記録される。逆に、ヘッド3051によりディスク媒体3050から再生された信号は、プリアンプ3054を経由してR/Wチャネル3003に送信される。DE3005内のVCM3052は、ヘッド3051をディスク媒体3050上の目標位置に位置決めするために、ヘッド3051をディスク媒体3050の半径方向に移動させる。また、SPM3053は、ディスク媒体3050を回転させる。なお、ヘッド3051には、前述したようにMR素子に起因して、その出力振幅が非対称となる。詳細は後述する。   The DE 3005 is connected to the R / W channel 3003 and executes a recording signal reception process and a reproduction signal transmission process. The DE 3005 is connected to the VCM / SPM control unit 3004. The DE 3005 includes a disk medium 3050, a head 3051, a VCM 3052, an SPM 3053, a preamplifier 3054, and the like. In the magnetic disk device 3100 of FIG. 29, it is assumed that there is one disk medium 3050 and the head 3051 is disposed only on one surface side of the disk medium 3050. May be arranged in a stacked manner. The head 3051 is generally provided corresponding to each surface of the disk medium 3050. The recording signal transmitted through the R / W channel 3003 is supplied to the head 3051 via the preamplifier 3054 in the DE 3005 and is recorded on the disk medium 3050 by the head 3051. Conversely, a signal reproduced from the disk medium 3050 by the head 3051 is transmitted to the R / W channel 3003 via the preamplifier 3054. The VCM 3052 in the DE 3005 moves the head 3051 in the radial direction of the disk medium 3050 in order to position the head 3051 at a target position on the disk medium 3050. The SPM 3053 rotates the disk medium 3050. Note that the output amplitude of the head 3051 is asymmetric due to the MR element as described above. Details will be described later.

ここで、図30を用いて、R/Wチャネル3003について説明する。図30は、図29のR/Wチャネル3003の構成を示す図である。R/Wチャネル3003は、大きく分けて、ライトチャネル3031とリードチャネル3032から構成される。   Here, the R / W channel 3003 will be described with reference to FIG. FIG. 30 is a diagram showing the configuration of the R / W channel 3003 of FIG. The R / W channel 3003 is roughly composed of a write channel 3031 and a read channel 3032.

ライトチャネル3031は、バイトインターフェース部3301、スクランブラ3302、ランレングス制限符号化部3303(以下、「RLL符号化部3303」と略記する。)、低密度パリティチェック符号化部3304(以下、「LDPC符号化部3304」と略記する。)、書き込み補償部3305(以下、「ライトプリコン部3305」と略記する。)、ドライバ3306を含む。   The write channel 3031 includes a byte interface unit 3301, a scrambler 3302, a run length limited encoding unit 3303 (hereinafter abbreviated as “RLL encoding unit 3303”), and a low density parity check encoding unit 3304 (hereinafter “LDPC”). A writing compensator 3305 (hereinafter abbreviated as “write pre-con unit 3305”), and a driver 3306.

バイトインターフェース部3301では、HDC3001から転送されたデータが入力データとして処理される。メディア上に書き込むデータは1セクタ単位でHDC3001から入力される。このとき1セクタ分のユーザデータ(512バイト)だけでなく、HDC3001によって付加されたECCバイトも同時に入力される。データバスは通常1バイト(8ビット)であり、バイトインターフェース部3301により入力データとして処理される。スクランブラ3302はライトデータをランダムな系列に変換する。同じ規則のデータの繰り返しは、リード時における検出性能に悪影響を与え、エラーレートを悪化させるのを防ぐためである。RLL符号化部3303は0の最大連続長を制限するためのものである。0の最大連続長を制限することにより、自動利得制御部3317(以下、「AGC3317」と略記する。)などに適したデータ系列にする。   The byte interface unit 3301 processes the data transferred from the HDC 3001 as input data. Data to be written on the medium is input from the HDC 3001 in units of one sector. At this time, not only user data (512 bytes) for one sector but also ECC bytes added by the HDC 3001 are input simultaneously. The data bus is normally 1 byte (8 bits) and is processed as input data by the byte interface unit 3301. The scrambler 3302 converts the write data into a random series. This is because the repetition of data with the same rule adversely affects the detection performance at the time of reading and prevents the error rate from deteriorating. The RLL encoding unit 3303 is for limiting the maximum continuous length of 0. By limiting the maximum continuous length of 0, a data series suitable for an automatic gain control unit 3317 (hereinafter abbreviated as “AGC3317”) or the like is obtained.

LDPC符号化部3304は、データ系列をLDPC符号化して冗長ビットであるパリティビットを含む系列を生成する役割を有する。LDPC符号化は、生成行列と呼ばれるk×nの行列に、長さkのデータ系列を左から掛け合わせることで実行される。この生成行列に対応する検査行列Hに含まれる各要素は、0もしくは1であり、1の数が0の数に比べて少ないことから、低密度パリティ検査符号(Low Density Parity Check Codes)と呼ばれている。この1と0の配置を利用することによって、LDPC繰返復号部にて、効率的にエラーを訂正できる。   The LDPC encoding unit 3304 has a role of generating a sequence including parity bits that are redundant bits by LDPC encoding the data sequence. LDPC encoding is performed by multiplying a k × n matrix called a generator matrix by a data sequence of length k from the left. Each element included in the parity check matrix H corresponding to this generator matrix is 0 or 1, and since the number of 1 is smaller than the number of 0, it is called a low density parity check code (Low Density Parity Check Codes). It is. By using this arrangement of 1 and 0, the LDPC iterative decoding unit can efficiently correct errors.

ライトプリコン部3305は、メディア上の磁化遷移の連続による非線形歪を補償する回路である。ライトデータから補償に必要な規則を検出し、正しい位置で磁化遷移が生ずるようにライト電流波形を予め調整をする。ドライバ3306は擬似ECLレベルに対応した信号を出力するドライバである。ドライバ3306からの出力は図示しないDE3005に送られ、プリアンプ3054を通してヘッド3051に送られ、ライトデータがディスク媒体3050上に記録される。   The write pre-con unit 3305 is a circuit that compensates for non-linear distortion due to continuous magnetization transition on the medium. A rule necessary for compensation is detected from the write data, and the write current waveform is adjusted in advance so that the magnetization transition occurs at the correct position. A driver 3306 is a driver that outputs a signal corresponding to the pseudo ECL level. The output from the driver 3306 is sent to a DE 3005 (not shown), sent to the head 3051 through the preamplifier 3054, and the write data is recorded on the disk medium 3050.

リードチャネル3032は、可変利得増幅器3311(以下、「VGA3311」と略記する。)、ローパスフィルタ3312(以下、「LPF3312」と略記する。)、AGC3317、アナログ/デジタル変換器3313(以下、「ADC3313」と略記する。)、周波数シンセサイザ3314、フィルタ3315、ソフト出力検出部3320、LDPC繰返復号部3322、同期信号検出部3321、ランレングス制限復号部3323(以下、「RLL復号部3323」と略記する。)、デスクランブラ3324とから構成されている。   The read channel 3032 includes a variable gain amplifier 3311 (hereinafter abbreviated as “VGA 3311”), a low-pass filter 3312 (hereinafter abbreviated as “LPF 3312”), an AGC 3317, an analog / digital converter 3313 (hereinafter “ADC 3313”). Abbreviated as a frequency synthesizer 3314, a filter 3315, a soft output detector 3320, an LDPC iterative decoder 3322, a synchronization signal detector 3321, and a run length limited decoder 3323 (hereinafter abbreviated as "RLL decoder 3323"). ), A descrambler 3324.

VGA3311及びAGC3317は、図示しないプリアンプ3054から送られたデータのリード波形の振幅を調整する。AGC3317は理想的な振幅と実際の振幅を比較し、VGA3311に設定すべきゲインを決定する。LPF3312は、カットオフ周波数とブースト量を調整することができ、高周波ノイズの低減と部分応答(Partial Response。以下、「PR」と略記する。)波形への等化の一部を担う。LPF3312でPR波形への等化を行うが、ヘッドの浮上量変動、媒体の不均一性、モータの回転変動などの多くの要因により、アナログのLPFによる完全な等化は難しいので、後段に配置され、よりフレキシビリティに富んだフィルタ3315を用いて、再度PR波形への等化を行う。フィルタ3315は、そのタップ係数を適応的に調整する機能を有していてもよい。周波数シンセサイザ3314は、ADC3313のサンプリング用クロックを生成する。   The VGA 3311 and AGC 3317 adjust the amplitude of the read waveform of data sent from the preamplifier 3054 (not shown). The AGC 3317 compares the ideal amplitude with the actual amplitude, and determines the gain to be set in the VGA 3311. The LPF 3312 can adjust the cut-off frequency and the boost amount, and is responsible for part of the reduction to high-frequency noise and the equalization to a partial response (hereinafter referred to as “PR”) waveform. Although the LPF 3312 equalizes the PR waveform, it is difficult to completely equalize with the analog LPF due to many factors such as head flying height fluctuation, medium non-uniformity, and motor rotation fluctuation. Then, equalization to the PR waveform is performed again using the filter 3315 having more flexibility. The filter 3315 may have a function of adaptively adjusting the tap coefficient. The frequency synthesizer 3314 generates a sampling clock for the ADC 3313.

ADC3313は、AD変換により直接同期サンプルを得る構成とした。なお、この構成の他に、AD変換により非同期サンプルを得る構成であってもよい。この場合は、ゼロ相リスタート部、タイミング制御部、及び補間フィルタをさらにADC3313の後段に設ければよい。非同期サンプルから同期サンプルを得る必要があり、これらのブロックがその役割を担う。ゼロ相リスタート部は初期位相を決定するためのブロックで、できるだけ早く同期サンプルを得るために用いられる。初期位相を決定した後は、タイミング制御部で理想的なサンプル値と実際のサンプル値を比較し、位相のずれを検出する。これを用いて補間フィルタのパラメータを決定することにより、同期サンプルを得ることができる。また、ADC3313は、非対称性と逆の入出力特性を有するように構成され、ヘッド3051において生じた振幅の非対称性を改善する。詳細は後述する。   The ADC 3313 is configured to obtain a synchronous sample directly by AD conversion. In addition to this configuration, an asynchronous sample may be obtained by AD conversion. In this case, a zero-phase restart unit, a timing control unit, and an interpolation filter may be further provided in the subsequent stage of the ADC 3313. Synchronous samples need to be obtained from asynchronous samples, and these blocks play that role. The zero phase restart unit is a block for determining an initial phase, and is used to obtain a synchronization sample as soon as possible. After determining the initial phase, the timing controller compares the ideal sample value with the actual sample value to detect a phase shift. A synchronous sample can be obtained by determining parameters of the interpolation filter using this. The ADC 3313 is configured to have an input / output characteristic opposite to the asymmetry, and improves the amplitude asymmetry generated in the head 3051. Details will be described later.

ソフト出力検出部3320は、符号間干渉に伴う復号特性の劣化を回避するために、ビタビアルゴリズムの一種であるソフト出力ビタビアルゴリズム(Soft−Output Viterbi Algorithm。以下、「SOVA」と略記する。)が用いられる。すなわち、近年の磁気ディスク装置の記録密度の上昇に伴い、記録された符号間の干渉が大きくなり、復号特性が劣化するといった課題を解決するため、これを克服する方式として符号間干渉による部分応答を利用した最ゆう復号(Partial Response MaximumLikeihood。以下、「PRML」と略記する。)方式を用いる。PRMLは、再生信号の部分応答のゆう度を最大にする信号系列を求める方式である。   The soft output detection unit 3320 is a soft output Viterbi algorithm (Soft-Output Viterbi Algorithm; hereinafter abbreviated as “SOVA”), which is a type of Viterbi algorithm, in order to avoid degradation of decoding characteristics due to intersymbol interference. Used. That is, in order to solve the problem that the interference between recorded codes increases and the decoding characteristics deteriorate as the recording density of magnetic disk devices increases in recent years, a partial response due to intersymbol interference is a method for overcoming this problem. The most likely decoding (Partial Response Maximum Like Like) (hereinafter abbreviated as “PRML”) method is used. PRML is a method for obtaining a signal sequence that maximizes the likelihood of a partial response of a reproduction signal.

ソフト出力検出部3320としてSOVA方式が用いられている場合、軟判定値を出力する。例えば、SOVAの出力として、(−0.71、+0.18、+0.45、−0.45、−0.9)という軟判定値が出力されたとする。これらの値は、0である可能性が大きいか、1である可能性が大きいかを数値で表している。例えば、1番目の「−0.71」は1である可能性が大きいことを示しており、2番目の「+0.18」は0である可能性が大きいが1である可能性も小さくはないことを意味する。従来のビタビディテクタの出力はハード値であり、SOVAの出力を硬判定したものである。上記の例の場合、(1、0、0、1、1)である。ハード値は、0であるか、1であるかのみを表しており、どちらの可能性が高いかという情報が失われている。このためLDPC繰返復号部3322に軟判定値を入力する方が復号性能が向上する。   When the SOVA method is used as the soft output detection unit 3320, a soft decision value is output. For example, assume that a soft decision value (−0.71, +0.18, +0.45, −0.45, −0.9) is output as the SOVA output. These values represent numerical values as to whether the possibility of being 0 or 1 is high. For example, the first “−0.71” indicates that the possibility of 1 is large, and the second “+0.18” is likely to be 0, but the possibility of 1 is small. Means no. The output of the conventional Viterbi detector is a hard value, and the output of SOVA is hard-decided. In the case of the above example, it is (1, 0, 0, 1, 1). The hard value represents only whether it is 0 or 1, and information on which is more likely is lost. For this reason, decoding performance is improved by inputting a soft decision value to the LDPC iterative decoding unit 3322.

LDPC繰返復号部3322は、LDPC符号化されているデータ系列から、LDPC符号化前の系列に復元する役割を有する。復号化の方法としては、主に、sum−product復号法とmin−sum復号法があり、復号性能の面ではsum−product復号法が有利であるが、min−sum復号法はハードウェアによる実現が容易である特徴を持つ。LDPC符号を用いる実際の復号操作では、ソフト出力検出部3320とLDPC繰返復号部3322の間で繰り返し復号することにより、非常に良好な復号性能を得ることができる。このために実際はソフト出力検出部3320とLDPC繰返復号部3322を複数段配列した構成が必要になる。   The LDPC iterative decoding unit 3322 has a role of restoring an LDPC encoded data sequence to a sequence before LDPC encoding. As a decoding method, there are mainly a sum-product decoding method and a min-sum decoding method. The sum-product decoding method is advantageous in terms of decoding performance, but the min-sum decoding method is realized by hardware. With the feature that is easy. In an actual decoding operation using an LDPC code, very good decoding performance can be obtained by repeatedly decoding between the soft output detection unit 3320 and the LDPC iterative decoding unit 3322. For this purpose, a configuration in which a plurality of stages of software output detection units 3320 and LDPC iterative decoding units 3322 are arranged is actually required.

同期信号検出部3321はデータの先頭に付加された同期信号(Sync Mark)を検出し、データの先頭位置を認識する役割を有する。RLL復号部3323は、LDPC繰返復号部3322から出力されたデータに対して、ライトチャネル3031のRLL符号化部3303の逆操作を行い、元のデータ系列に戻す。デスクランブラ3324は、ライトチャネル3031のスクランブラ3302の逆操作を行い、元のデータ系列に戻す。ここで生成されたデータはHDC3001に転送される。   The synchronization signal detection unit 3321 has a role of detecting a synchronization signal (Sync Mark) added to the head of data and recognizing the head position of the data. The RLL decoding unit 3323 performs the reverse operation of the RLL encoding unit 3303 of the write channel 3031 on the data output from the LDPC iterative decoding unit 3322 to restore the original data series. The descrambler 3324 performs the reverse operation of the scrambler 3302 of the write channel 3031 to restore the original data series. The data generated here is transferred to the HDC 3001.

これらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされた通信機能のあるプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   These configurations can be realized in terms of hardware by a CPU, memory, or other LSI of an arbitrary computer, and in terms of software, they are realized by a program having a communication function loaded in the memory. The functional block realized by those cooperation is drawn. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

ここで、図29のヘッド3051の入出力特性と、図30のADC3313に望まれる入出力特性について説明する。図31(a)は、図29のヘッド3051の入出力特性の例を示す図である。横軸は入力磁界Hin、縦軸は出力電圧Voutを示す。入力磁界は、Hin0_min〜Hin0_maxの範囲の値をとる。出力電圧は、ヘッド3051のMR素子に起因する非線形性がない場合、破線で図示するように、Vout0_min〜Vout0_maxの範囲の値となる。しかしながら、ヘッド3051のMR素子に起因する非線形性が存在する場合、実線で図示するように、出力電圧は、Vout0_min〜Vout0_maxの範囲の値となる。すなわち、原点を中心として、入出力特性が非対称となる。また、図31(a)は、正区間のうちの非線形区間3200において、入出力特性が非線形となることを示す。このため、入力電圧がVin0_maxの場合の出力電圧は、Vout0_maxとはならずにVout0_maxとなる。図31(b)は、図30のLPF3312の出力特性の例を示す図である。また、図31(b)は、図31(a)に図示するヘッド3051の出力電圧のダイナミックレンジが、LPF3312によってさらに歪んだ特性となることを示す図である。横軸は入力磁界Hin、縦軸は出力電圧Voutを示す。入力磁界は、Hin0_min〜Hin0_maxの範囲の値をとる。 Here, the input / output characteristics of the head 3051 in FIG. 29 and the input / output characteristics desired for the ADC 3313 in FIG. 30 will be described. FIG. 31A is a diagram showing an example of input / output characteristics of the head 3051 of FIG. The horizontal axis represents the input magnetic field Hin, and the vertical axis represents the output voltage Vout. The input magnetic field takes a value in the range of Hin0_min to Hin0_max. When there is no non-linearity due to the MR element of the head 3051, the output voltage takes a value in the range of Vout0_min to Vout0_max as illustrated by a broken line. However, if the non-linearity due to the MR elements of the head 3051 is present, as shown by the solid line, the output voltage is a value in the range of Vout0_min~V 'out0_max. That is, the input / output characteristics are asymmetric with respect to the origin. FIG. 31A shows that the input / output characteristics are nonlinear in the non-linear section 3200 in the positive section. Therefore, the output voltage when the input voltage is Vin0_max becomes V 'out0_max to not become Vout0_max. FIG. 31B is a diagram illustrating an example of output characteristics of the LPF 3312 in FIG. FIG. 31B is a diagram showing that the dynamic range of the output voltage of the head 3051 shown in FIG. 31A is further distorted by the LPF 3312. The horizontal axis represents the input magnetic field Hin, and the vertical axis represents the output voltage Vout. The input magnetic field takes a value in the range of Hin0_min to Hin0_max.

図31(c)は、図29のヘッド3051の出力波形の例を示す図である。横軸は時間、縦軸は出力電圧を示す。図31(c)は、0Vを中心として正区間と負区間とで非対称となることを図示している。すなわち、ヘッド3051により、振幅エネルギーが(Vout0_max−Vout0_max)だけ低減されたことを示す。そうすると、後段に存在する図示しないデータ検出の検出精度が劣化する。また、さらに後段に存在する図示しない誤り訂正回路における誤り訂正能力が劣化することとなる。なお、MR素子に起因する非線形性とは、図31(c)に図示するように、正区間におけるダイナミックレンジと負区間におけるダイナミックレンジとが非対称となることなどをいう。 FIG. 31C shows an example of an output waveform of the head 3051 in FIG. The horizontal axis represents time, and the vertical axis represents output voltage. FIG. 31C illustrates that the positive section and the negative section are asymmetric with respect to 0V. That is, the head 3051, indicating that the amplitude energy is reduced by (Vout0_max-V 'out0_max). As a result, the detection accuracy of data detection (not shown) existing in the subsequent stage deteriorates. Further, the error correction capability of an error correction circuit (not shown) existing in the subsequent stage is deteriorated. Note that the non-linearity caused by the MR element means that the dynamic range in the positive section and the dynamic range in the negative section become asymmetric as shown in FIG.

図32(a)〜(b)は、図30のADC3313の入出力特性の例を示す図である。横軸は入力電圧Vin、縦軸は出力電圧Voutを示す。図32(a)〜(b)に示す出力電圧は、ADC3313におけるデジタル信号出力ではなく、ADC3313の内部における振幅調整されたアナログ信号の出力電圧とした。入力電圧は、Vin1_min〜Vin1_maxの範囲の値をとる。また、ヘッド3051のMR素子に起因する非線形性が存在する場合、実線で図示するように、出力電圧は、Vout1_min〜Vout1_maxの範囲の値となる。図32(a)は、図31(a)に図示するヘッド3051のMR素子に起因する非線形性を解消するために、ADC3313に、その逆特性に相当する特性を備えさせた場合を示す。また、図32(b)は、図31(b)に図示するヘッド3051のMR素子に起因する非線形性とLPF3312による歪みを解消するために、ADC3313に、その逆特性に相当する特性を備えさせた場合を示す。ここで、ヘッド3051とADC3313の間において電圧の変動がないと仮定した場合、図31(a)〜(b)と図32(a)〜(b)とに図示する電圧は、以下のような関係となる。
Vin1_max = Vout0_max
Vout1_max = Vout0_max
32A and 32B are diagrams showing examples of input / output characteristics of the ADC 3313 in FIG. The horizontal axis represents the input voltage Vin, and the vertical axis represents the output voltage Vout. The output voltage shown in FIGS. 32A and 32B is not the digital signal output in the ADC 3313 but the output voltage of the analog signal whose amplitude is adjusted in the ADC 3313. The input voltage takes a value in the range of Vin1_min to Vin1_max. When nonlinearity due to the MR element of the head 3051 exists, the output voltage has a value in the range of Vout1_min to Vout1_max as illustrated by the solid line. FIG. 32A shows a case where the ADC 3313 is provided with a characteristic corresponding to the reverse characteristic in order to eliminate the non-linearity caused by the MR element of the head 3051 shown in FIG. FIG. 32B also shows that the ADC 3313 has a characteristic corresponding to the reverse characteristic in order to eliminate the nonlinearity caused by the MR element of the head 3051 shown in FIG. 31B and the distortion caused by the LPF 3312. Indicates the case. Here, assuming that there is no voltage fluctuation between the head 3051 and the ADC 3313, the voltages illustrated in FIGS. 31A to 31B and FIGS. 32A to 32B are as follows. It becomes a relationship.
Vin1_max = V 'out0_max
Vout1_max = Vout0_max

これらは、ヘッド3051に含まれるMR素子に起因する非線形性が解消されたことを意味する。いいかえると、図31(a)〜(b)のそれぞれの非線形区間3200における入出力特性の逆特性となる特性、すなわち、図32(a)〜(b)における非線形区間3300における特性をADC3313に備えさせることによって、MR素子に起因する非線形性を解消できる。図31(a)の非線形区間3200における入出力特性は、一般的に、次式のような双曲線正接関数(Hyperbolic Tangent)となることが知られている。

Figure 0005090010
したがって、ADC3313の入出力特性としては、たとえば次式で示すような、双曲線正接関数の逆特性に相当する特性とすればよい。ここで、aは実数であり、ヘッド3051の特性により決定されてもよい。
Figure 0005090010
These mean that non-linearity due to the MR element included in the head 3051 has been eliminated. In other words, the ADC 3313 is provided with a characteristic that is an inverse characteristic of the input / output characteristics in each nonlinear section 3200 of FIGS. 31A to 31B, that is, a characteristic in the nonlinear section 3300 in FIGS. By doing so, the nonlinearity caused by the MR element can be eliminated. It is known that the input / output characteristics in the nonlinear section 3200 of FIG. 31A are generally hyperbolic tangent functions as shown in the following equation.
Figure 0005090010
Therefore, the input / output characteristic of the ADC 3313 may be a characteristic corresponding to the inverse characteristic of the hyperbolic tangent function, as shown by the following equation, for example. Here, a is a real number, and may be determined by the characteristics of the head 3051.
Figure 0005090010

図32(c)は、図32(b)の非線形区間3300における入出力特性を2つの1次関数で近似させた場合におけるADC3313の入出力特性の例を示す図である。図32(c)は、図32(b)と同様に、横軸は入力電圧、縦軸は出力電圧を示す。また、入力電圧は、Vin1_min〜Vin1_maxの範囲の値をとる。また、出力電圧は、Vout1_min〜Vout1_maxの範囲の値となる。前述のように、MR素子に起因する非線形性を解消するためには、ADC3313の入出力特性を双曲線正接関数と逆の特性とすればよい。しかし、一般的に、この特性を実現することは困難である。したがって、本発明の第4実施形態においては、図32(c)に図示するように、2つの1次関数で近似することとしている。具体的には、入力電圧がVin1a〜Vin1bの範囲にある場合は、第1の1次関数3330で表される入出力特性とする。また、入力電圧がVin1b〜Vin1_maxの範囲にある場合は、第2の1次関数3340で表される入出力特性とすればよい。   FIG. 32C is a diagram illustrating an example of input / output characteristics of the ADC 3313 when the input / output characteristics in the nonlinear section 3300 of FIG. 32B are approximated by two linear functions. In FIG. 32C, the horizontal axis indicates the input voltage and the vertical axis indicates the output voltage, as in FIG. The input voltage takes a value in the range of Vin1_min to Vin1_max. Further, the output voltage has a value in the range of Vout1_min to Vout1_max. As described above, in order to eliminate the non-linearity caused by the MR element, the input / output characteristic of the ADC 3313 may be set to a characteristic opposite to the hyperbolic tangent function. However, it is generally difficult to achieve this characteristic. Therefore, in the fourth embodiment of the present invention, approximation is made with two linear functions as shown in FIG. Specifically, when the input voltage is in the range of Vin1a to Vin1b, the input / output characteristics represented by the first linear function 3330 are used. When the input voltage is in the range of Vin1b to Vin1_max, the input / output characteristics represented by the second linear function 3340 may be used.

ここで、図32(c)に示す入出力特性を実現するADC3313の具体的な構成について説明する。図33は、図30のADC3313の構成例を示す図である。ADC3313は、破線で示す前置調整部3060と、離散化部3062とを含む。ここでは、アナログ信号を3ビットからなるデジタル信号に変換する場合について図示したが、本発明はこれに限定されない。   Here, a specific configuration of the ADC 3313 that realizes the input / output characteristics shown in FIG. FIG. 33 is a diagram illustrating a configuration example of the ADC 3313 in FIG. 30. The ADC 3313 includes a pre-adjustment unit 3060 indicated by a broken line and a discretization unit 3062. Although the case where an analog signal is converted into a digital signal consisting of 3 bits is shown here, the present invention is not limited to this.

ADC3313は、入力部で入力されたアナログ信号の振幅が非線形区間に存在する場合、アナログ信号に対して振幅を調整しつつ、デジタル信号に変換して出力する。すなわち、前置調整部3060は、アナログ信号をデジタル信号に変換する前に、非線形区間における非線形性を打ち消すように、アナログ信号の振幅を調整する。具体的には、前置調整部3060は、非線形区間における入出力特性を双曲線正接関数の逆数の近似値とすることによって、非線形区間におけるアナログ信号の振幅を調整する。つぎに、離散化部3062は、前置調整部3060によって振幅が調整されたアナログ信号を3ビットのデジタル信号に変換して出力する。   When the amplitude of the analog signal input from the input unit exists in the nonlinear section, the ADC 3313 converts the analog signal into a digital signal while adjusting the amplitude, and outputs the digital signal. That is, the pre-adjustment unit 3060 adjusts the amplitude of the analog signal so as to cancel the nonlinearity in the nonlinear section before converting the analog signal into a digital signal. Specifically, the pre-adjusting unit 3060 adjusts the amplitude of the analog signal in the non-linear section by setting the input / output characteristics in the non-linear section as an approximate value of the inverse of the hyperbolic tangent function. Next, the discretization unit 3062 converts the analog signal whose amplitude has been adjusted by the pre-adjustment unit 3060 into a 3-bit digital signal and outputs it.

前置調整部3060は、非線形区間に含まれる複数の部分区間において、複数の部分区間のうちの第1部分区間の入出力特性として、少なくとも1より大きい第1の傾きを有する第1の1次関数3330が設定される。また、複数の部分区間のうち、第1部分区間と連続する第2部分区間の入出力特性として、第1の傾きと異なる傾きを有する第2の1次関数3340が設定される。ここで、第1部分区間とは、たとえば、図32(c)に図示したVin1a〜Vin1bの区間をいう。また、第1部分区間と連続する第2部分区間とは、たとえば、図32(c)に図示したVin1b〜Vin1_maxの区間をいう。第2部分区間の入出力特性を図32(c)に図示するような入出力特性とする場合、第2の1次関数3340の傾きは第1の傾きより小さくなるように設定される。   The pre-adjusting unit 3060 has a first primary having a first slope greater than at least 1 as input / output characteristics of the first partial section of the plurality of partial sections in the plurality of partial sections included in the nonlinear section. Function 3330 is set. In addition, a second linear function 3340 having a slope different from the first slope is set as the input / output characteristic of the second partial section that is continuous with the first partial section among the plurality of partial sections. Here, the first partial section refers to, for example, the section from Vin1a to Vin1b illustrated in FIG. Further, the second partial section that is continuous with the first partial section is, for example, a section from Vin1b to Vin1_max illustrated in FIG. When the input / output characteristics of the second partial section are the input / output characteristics shown in FIG. 32C, the slope of the second linear function 3340 is set to be smaller than the first slope.

具体的に説明する。前置調整部3060は、抵抗素子3400で代表される第1抵抗素子3064と第2抵抗素子3066と第3抵抗素子3068と第4抵抗素子3070と第5抵抗素子3072と第6抵抗素子3074と第7抵抗素子3076と第8抵抗素子3078と第9抵抗素子3080と、比較部3082とを含む。抵抗素子3400は、それぞれ直列に設置され、一定電圧を有する参照信号Vrefを入力として、順次、後段の抵抗素子に対し、それぞれ振幅調整された参照信号を出力する。つぎに、比較部3082は、複数の抵抗素子3400のそれぞれから出力された参照信号と、LPF3312から入力されたアナログ信号の振幅とをそれぞれ比較することによって、アナログ信号の振幅を調整する。すなわち、時間的に連続した値であるアナログ信号を各抵抗素子3400から出力された参照信号と比較し、その大小関係により、離散的な8つの信号を出力する。ここでの8つの信号はアナログ信号であるものの、プラスかマイナスのいずれかを示す一定の振幅をそれぞれ有する。   This will be specifically described. The pre-adjustment unit 3060 includes a first resistance element 3064, a second resistance element 3066, a third resistance element 3068, a fourth resistance element 3070, a fifth resistance element 3072, and a sixth resistance element 3074, represented by a resistance element 3400. A seventh resistance element 3076, an eighth resistance element 3078, a ninth resistance element 3080, and a comparison unit 3082 are included. Each of the resistance elements 3400 is installed in series, and receives a reference signal Vref having a constant voltage as input, and sequentially outputs reference signals whose amplitudes are adjusted to the subsequent resistance elements. Next, the comparison unit 3082 adjusts the amplitude of the analog signal by comparing the reference signal output from each of the plurality of resistance elements 3400 with the amplitude of the analog signal input from the LPF 3312. That is, an analog signal having a temporally continuous value is compared with a reference signal output from each resistance element 3400, and eight discrete signals are output according to the magnitude relationship. The eight signals here are analog signals, but each has a constant amplitude indicating either plus or minus.

複数の抵抗素子3400は、それぞれの抵抗値を非均一な値とすることによって、それぞれの抵抗素子から出力される電圧の減少幅を変えている。具体的には、各抵抗素子に印加される参照信号の電圧Vrefは、それぞれの抵抗素子の出力において、抵抗値にしたがって低減されて出力される。すなわち、抵抗値が大きいほど電圧が低減され、小さいほど低減の度合いが少ない。言い換えると、複数の抵抗素子3400において、区間ごとに、それぞれの抵抗値を非均一な値とすることによって、各抵抗素子3400における電圧調整幅が異なり、これにより、入出力特性の傾きを区間ごとに変化させることができる。本発明の第4実施形態においては、非線形区間である第1部分区間と第2部分区間において、それぞれ対応する抵抗素子3400の抵抗値を他の抵抗素子の抵抗値と異ならせることによって、区間ごとの入出力特性の傾きを調整している。   The plurality of resistance elements 3400 change the amount of decrease in the voltage output from each resistance element by making each resistance value non-uniform. Specifically, the voltage Vref of the reference signal applied to each resistance element is reduced and output according to the resistance value at the output of each resistance element. That is, the voltage is reduced as the resistance value is increased, and the degree of reduction is decreased as the resistance value is decreased. In other words, in each of the plurality of resistance elements 3400, by making each resistance value a non-uniform value for each section, the voltage adjustment width in each resistance element 3400 is different. Can be changed. In the fourth embodiment of the present invention, in each of the first partial section and the second partial section, which are nonlinear sections, the resistance values of the corresponding resistance elements 3400 are made different from the resistance values of the other resistive elements. The slope of the input / output characteristics is adjusted.

たとえば、第1部分区間もしくは第2部分区間以外の区間に対応する抵抗素子を、第5抵抗素子3072と、第6抵抗素子3074と、第7抵抗素子3076と、第8抵抗素子3078と仮定し、これらの抵抗値をRと仮定する。また、第1部分区間に対応する抵抗素子を第3抵抗素子3068と第4抵抗素子3070と仮定する。また、第2部分区間に対応する抵抗素子を第2抵抗素子3066と仮定する。この場合、第1部分区間に対応する第3抵抗素子3068と第4抵抗素子3070の抵抗値は、第1部分区間もしくは第2部分区間以外の区間に対応する抵抗素子の抵抗値Rよりも小さい値、たとえば、R/3と設定すればよい。また、第2部分区間に対応する第2抵抗素子3066の抵抗値は、抵抗値Rよりも大きい値、たとえば、2Rと設定すればよい。なお、一般的に、両端の抵抗素子である第1抵抗素子3064と第9抵抗素子3080は、通常の抵抗素子の抵抗値Rの半分の値R/2に設定される。   For example, resistance elements corresponding to sections other than the first partial section or the second partial section are assumed to be a fifth resistance element 3072, a sixth resistance element 3074, a seventh resistance element 3076, and an eighth resistance element 3078. These resistance values are assumed to be R. Further, it is assumed that the resistance elements corresponding to the first partial section are the third resistance element 3068 and the fourth resistance element 3070. Further, it is assumed that the resistance element corresponding to the second partial section is the second resistance element 3066. In this case, the resistance values of the third resistance element 3068 and the fourth resistance element 3070 corresponding to the first partial section are smaller than the resistance value R of the resistance element corresponding to a section other than the first partial section or the second partial section. A value, for example, R / 3 may be set. Further, the resistance value of the second resistance element 3066 corresponding to the second partial section may be set to a value larger than the resistance value R, for example, 2R. In general, the first resistance element 3064 and the ninth resistance element 3080, which are resistance elements at both ends, are set to a value R / 2 that is half of the resistance value R of a normal resistance element.

図34(a)〜(c)は、図30のソフト出力検出部3320の出力信号の特性の例を示す図である。各図において、縦軸はビット誤り率(Bit Error Rate)、横軸は信号対ノイズ比(Signal to Noise Ratio)を示す。図34(a)は、図29のヘッド3051において入出力特性に5%の非対称性が存在した場合におけるソフト出力検出部3320の第1ビット誤り率特性3350と、本発明の第4実施形態を適用した場合の第2ビット誤り率特性3360を示す図である。図34(a)は、さらに、前述の非対称性を理想的に解消できた場合、もしくは、図29のヘッド3051において入出力特性に非対称性が存在しなかった場合における、第3ビット誤り率特性3370を示す図である。5%の非対称性とは、正区間におけるダイナミックレンジV1が負区間におけるダイナミックレンジV2の約90%(V1=V2×(1−0.05)/(1+0.05)≒0.9×V2)であることを意味する。図34(a)の第2ビット誤り率特性3360に図示するように、本発明の第4実施形態を適用することによって、ビット誤り率特性を改善できる。たとえば、第2ビット誤り率特性3360に示されるように、ビット誤り率が10−5における所望SNRは、本発明の第4実施形態を適用しない第1ビット誤り率特性3350にくらべ、0.1dB程度改善されている。 34A to 34C are diagrams showing examples of the characteristics of the output signal of the soft output detection unit 3320 in FIG. In each figure, the vertical axis represents the bit error rate, and the horizontal axis represents the signal-to-noise ratio (Signal to Noise Ratio). FIG. 34 (a) shows the first bit error rate characteristic 3350 of the soft output detector 3320 when the input / output characteristic of the head 3051 of FIG. 29 is 5%, and the fourth embodiment of the present invention. It is a figure which shows the 2nd bit error rate characteristic 3360 at the time of applying. FIG. 34A further shows the third bit error rate characteristic when the above-described asymmetry can be ideally eliminated, or when the input / output characteristic does not exist in the head 3051 of FIG. FIG. The asymmetry of 5% means that the dynamic range V1 in the positive interval is about 90% of the dynamic range V2 in the negative interval (V1 = V2 × (1−0.05) / (1 + 0.05) ≈0.9 × V2). It means that. As illustrated in the second bit error rate characteristic 3360 of FIG. 34A, the bit error rate characteristic can be improved by applying the fourth embodiment of the present invention. For example, as shown in the second bit error rate characteristic 3360, the desired SNR when the bit error rate is 10 −5 is 0.1 dB compared to the first bit error rate characteristic 3350 to which the fourth embodiment of the present invention is not applied. The degree has been improved.

一般的に、ハードディスクをはじめとする記憶装置の分野において、ビット誤り率を0.1dB程度改善するためには、通常、1世代程度の技術革新が必要であることが知られている。したがって、本発明の第4実施形態による0.1dBものビット誤り率の改善は、当業者にとって、顕著な効果であることは言うまでもない。   In general, in the field of storage devices such as hard disks, it is generally known that about one generation of technological innovation is necessary to improve the bit error rate by about 0.1 dB. Therefore, it goes without saying that the improvement of the bit error rate of 0.1 dB according to the fourth embodiment of the present invention is a remarkable effect for those skilled in the art.

図34(b)は、図29のヘッド3051において入出力特性に10%の非対称性が存在した場合におけるビット誤り率特性を示す図である。また、図34(c)は、図29のヘッド3051において入出力特性に15%の非対称性が存在した場合におけるビット誤り率特性を示す図である。図34(b)、図34(c)の第2ビット誤り率特性3360に図示するように、図34(a)の場合と同様に、本発明の第4実施形態によって振幅の非対称性を低減し、また、ビット誤り率を顕著に改善できる。   FIG. 34B is a diagram showing the bit error rate characteristics when 10% asymmetry exists in the input / output characteristics in the head 3051 of FIG. FIG. 34C is a diagram showing the bit error rate characteristics in the case where there is 15% asymmetry in the input / output characteristics in the head 3051 of FIG. As illustrated in the second bit error rate characteristic 3360 of FIGS. 34 (b) and 34 (c), as in the case of FIG. 34 (a), the asymmetry of the amplitude is reduced by the fourth embodiment of the present invention. In addition, the bit error rate can be remarkably improved.

以上、本発明を第4実施形態をもとに説明した。この第4実施形態は例示であり、実施形態相互の組み合わせ、または、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the fourth embodiment. The fourth embodiment is an exemplification, and various modifications can be made to combinations of the embodiments or combinations of their constituent elements and processing processes, and such modifications are also within the scope of the present invention. This will be understood by those skilled in the art.

本第4実施形態によれば、アナログデジタル変換部において、アナログ信号の振幅を調整することによって、磁気抵抗素子において発生した振幅の非線形性を低減できる。また、磁気抵抗素子において発生した振幅の非線形性を低減することによって、誤り訂正復号後の誤り特性を顕著に改善できる。また、アナログデジタル変換部に含まれる複数の抵抗素子の抵抗値をそれぞれ設定するだけで、アナログ信号の振幅の非対称性の低減化を小規模かつ安定性の高い回路で実現できる。また、磁気抵抗素子において発生した振幅の非対称性による影響を低減することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   According to the fourth embodiment, by adjusting the amplitude of the analog signal in the analog-to-digital converter, the nonlinearity of the amplitude generated in the magnetoresistive element can be reduced. Further, by reducing the nonlinearity of the amplitude generated in the magnetoresistive element, the error characteristics after error correction decoding can be remarkably improved. In addition, by simply setting the resistance values of a plurality of resistance elements included in the analog-digital conversion unit, it is possible to reduce the amplitude asymmetry of the analog signal with a small-scale and highly stable circuit. Further, the storage system can be accessed at a higher speed by reducing the influence of the asymmetry of the amplitude generated in the magnetoresistive element. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

次に、本発明の第4実施形態の変形例を示す。まず概要を述べる。本変形例は、ヘッドに含まれるMR素子に起因する振幅の非対称性を低減する記憶システムに関する。また、本変形例においては、磁気ディスク装置3100は、図29と同様の構成をとる。また、R/Wチャネル3003は、図30と同様の構成をとる。本発明の第4実施形態の違いは、図30のADC3313が図35の構成をとる点である。すなわち、本変形例は、記憶システムに含まれるアナログデジタル変換器における抵抗値を可変とすることを特徴とする。なお、前述した第4実施形態と共通する部分については同一の符号を付して説明を簡略化する。   Next, the modification of 4th Embodiment of this invention is shown. First, an overview. The present modification relates to a storage system that reduces amplitude asymmetry caused by an MR element included in a head. In this modification, the magnetic disk device 3100 has the same configuration as that shown in FIG. The R / W channel 3003 has the same configuration as that in FIG. The difference between the fourth embodiment of the present invention is that the ADC 3313 of FIG. 30 has the configuration of FIG. That is, this modification is characterized in that the resistance value in the analog-digital converter included in the storage system is variable. In addition, about the part which is common in 4th Embodiment mentioned above, the same code | symbol is attached | subjected and description is simplified.

図35は、図30のADC3313の構成の変形例を示す図である。ADC3313は、前置調整部3060と、離散化部3062と、抵抗値制御部3086とを含む。抵抗値制御部3086は、外部からの指示に応じて、前置調整部3060に含まれる抵抗素子3400の抵抗値を制御する。「外部からの指示」とは、ADC3313以外の回路からの指示を含み、たとえば、LDPC繰返復号部3322からの指示であってもよい。この場合、LDPC繰返復号部3322における誤り訂正結果が通知され、その結果が良い場合は、前置調整部3060の抵抗値を変えず、逆に悪い場合は、抵抗値を変える制御を行なえばよい。また、抵抗値を変化させるべき抵抗素子と、変化後の抵抗値について、図示しないインタフェースを介してされたユーザの指示に応じて、抵抗値制御部3086は前置調整部3060に対し指示してもよい。この場合、抵抗値制御部3086は、指定された抵抗素子3400に対して、指定された抵抗値となるように前置調整部3060を制御する。   FIG. 35 is a diagram illustrating a modification of the configuration of the ADC 3313 in FIG. 30. The ADC 3313 includes a pre-adjustment unit 3060, a discretization unit 3062, and a resistance value control unit 3086. The resistance value control unit 3086 controls the resistance value of the resistance element 3400 included in the pre-adjustment unit 3060 in accordance with an instruction from the outside. “External instruction” includes an instruction from a circuit other than ADC 3313, and may be an instruction from LDPC iterative decoding unit 3322, for example. In this case, the error correction result in the LDPC iterative decoding unit 3322 is notified, and if the result is good, the resistance value of the pre-adjustment unit 3060 is not changed. Good. In addition, the resistance value control unit 3086 instructs the pre-adjustment unit 3060 regarding the resistance element whose resistance value should be changed and the resistance value after the change in response to a user instruction via an interface (not shown). Also good. In this case, the resistance value control unit 3086 controls the pre-adjustment unit 3060 so that the designated resistance element 3400 has the designated resistance value.

図36は、図33の抵抗素子3400の構成の変形例を示す図である。抵抗素子3400は、調整抵抗素子3084で代表される第1調整抵抗素子3084aと、第2調整抵抗素子3084bと、第n調整抵抗素子3084nと、切替部3088で代表される第1切替部3088aと、第m切替部3088mとを含む。nは2以上、mは1以上の整数である。それぞれの切替部3088は、抵抗値制御部3086の指示にもとづいて、スイッチをON、もしくはOFFにする。例を用いて具体的に説明する。たとえば、すべての調整抵抗素子3084の抵抗値が2Rであると仮定する。この場合、いずれの切替部3088もOFFである場合、抵抗素子3400における抵抗値は2Rとなる。また、いずれか1つの切替部3088のみONである場合、抵抗素子3400における抵抗値はRとなる。また、k個の切替部3088がONである場合、抵抗素子3400における抵抗値は2R/kとなる。いいかえると、非線形区間以外の区間に対応する抵抗素子3400に対しては、抵抗値制御部3086はいずれか1つの切替部3088をONとし、その抵抗値をRとする。また、非線形区間に対応する抵抗素子3400に対しては、抵抗値制御部3086は0、もしくは2つ以上の切替部3088をONとし、その抵抗値をR以外の値とすればよい。なお、前置調整部3060に含まれる複数の抵抗素子のうち、いずれか1つ以上の抵抗素子のみを図36に示す構成としてもよい。また、調整抵抗素子3084の抵抗値は全て同じでなくともよい。これらの場合であっても、抵抗値制御部3086による切替部3088の制御を適宜変更することによって同様の効果を得られることは言うまでもない。   FIG. 36 is a diagram showing a modification of the configuration of the resistance element 3400 of FIG. The resistance element 3400 includes a first adjustment resistance element 3084a typified by the adjustment resistance element 3084, a second adjustment resistance element 3084b, an nth adjustment resistance element 3084n, and a first switching section 3088a typified by the switching section 3088. , M-th switching unit 3088m. n is an integer of 2 or more, and m is an integer of 1 or more. Each switching unit 3088 turns the switch ON or OFF based on an instruction from the resistance value control unit 3086. A specific example will be described. For example, it is assumed that the resistance values of all the adjustment resistance elements 3084 are 2R. In this case, when any of the switching units 3088 is OFF, the resistance value in the resistance element 3400 is 2R. When only one of the switching units 3088 is ON, the resistance value in the resistance element 3400 is R. When the k switching units 3088 are ON, the resistance value in the resistance element 3400 is 2R / k. In other words, for the resistance element 3400 corresponding to a section other than the non-linear section, the resistance value control unit 3086 turns on one of the switching units 3088 and sets its resistance value to R. Further, for the resistance element 3400 corresponding to the non-linear section, the resistance value control unit 3086 may set 0 or two or more switching units 3088 to ON and set the resistance value to a value other than R. Note that only one or more of the resistance elements included in the pre-adjustment unit 3060 may be configured as shown in FIG. Further, the resistance values of the adjustment resistor elements 3084 may not be the same. Even in these cases, it goes without saying that the same effect can be obtained by appropriately changing the control of the switching unit 3088 by the resistance value control unit 3086.

図37は、図33の前置調整部3060の構成の変形例を示す図である。図37に示す前置調整部3060は、図33に示す前置調整部3060に、参照電圧制御部3090が付加された構成をとる。なお、前述した図33に示す前置調整部3060と共通する部分については同一の符号を付して説明を簡略化する。参照電圧制御部3090は、複数の抵抗素子のうち少なくとも1以上の抵抗素子の入力端に接続され、入力端のそれぞれに対し、対応する参照電圧を印加することによって、前記複数の抵抗素子のそれぞれから出力される参照信号の振幅を調整する。本変形例においては、複数の抵抗素子は、同一の抵抗値を有してもよい。また、参照電圧制御部3090は、複数の抵抗素子のうち非線形区間に対応する抵抗素子の入力端に対し、非線形区間以外の区間に対応する抵抗素子の入力端とは異なる参照電圧を印加することによって、非線形区間における非線形性を調整してもよい。ここで、「対応する参照電圧」とは、抵抗素子ごとに対応づけられて決定された参照電圧を含み、予め設定されていてもよく、また、磁気抵抗素子の品質にしたがって動的に変化してもよい。この態様によると、参照電圧制御部によって柔軟に参照信号の振幅を制御できる。また、アナログデジタル変換部に含まれる複数の抵抗素子の抵抗値を同一にできるので回路コストが低減できる。また、アナログ信号の振幅の非対称性の低減化を小規模な回路で実現できる。   FIG. 37 is a diagram showing a modification of the configuration of the front adjustment unit 3060 in FIG. The pre-adjustment unit 3060 shown in FIG. 37 has a configuration in which a reference voltage control unit 3090 is added to the pre-adjustment unit 3060 shown in FIG. Note that portions common to the pre-adjustment unit 3060 illustrated in FIG. 33 described above are denoted by the same reference numerals, and description thereof is simplified. The reference voltage control unit 3090 is connected to the input terminals of at least one of the plurality of resistance elements, and applies a corresponding reference voltage to each of the input terminals, thereby each of the plurality of resistance elements. The amplitude of the reference signal output from is adjusted. In the present modification, the plurality of resistance elements may have the same resistance value. Also, the reference voltage control unit 3090 applies a reference voltage different from the input ends of the resistance elements corresponding to the sections other than the nonlinear section to the input ends of the resistance elements corresponding to the nonlinear section among the plurality of resistance elements. May adjust the non-linearity in the non-linear section. Here, the “corresponding reference voltage” includes a reference voltage determined in association with each resistive element, may be set in advance, and dynamically changes according to the quality of the magnetoresistive element. May be. According to this aspect, the reference voltage controller can flexibly control the amplitude of the reference signal. Further, since the resistance values of the plurality of resistance elements included in the analog-digital conversion unit can be made the same, the circuit cost can be reduced. In addition, the amplitude asymmetry of the analog signal can be reduced with a small circuit.

以上、本発明の変形例を第4実施形態をもとに説明した。この変形例は例示であり、実施形態相互の組み合わせ、または、それらの各構成要素や各処理プロセスの組合せにいろいろな他の変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   In the above, the modification of this invention was demonstrated based on 4th Embodiment. This modification is an exemplification, and various other modifications are possible in the combination of the embodiments, or in the combination of each component and each process, and such a modification is also within the scope of the present invention. This is understood by those skilled in the art.

本第4実施形態の変形例によれば、前述した第4実施形態と同様の効果を得ることができる。また、抵抗素子の抵抗値を可変とすることによって、柔軟に振幅の非線形性の改善を図れる。   According to the modification of the fourth embodiment, the same effect as that of the fourth embodiment described above can be obtained. Further, by making the resistance value of the resistance element variable, it is possible to flexibly improve the nonlinearity of the amplitude.

本第4実施形態において、ヘッド3051の入出力特性のうち、正区間において非線形区間が存在するとして説明した。しかしながらこれに限らず、負区間に非線形性が存在してもよい。この場合であっても、非線形区間に対応する抵抗素子3400の抵抗値を他の区間の抵抗値と異ならせることによって、同様の効果を得ることができる。また、R/Wチャネル3003は、1つの半導体基板上に一体集積化されてもよい。   In the fourth embodiment, the input / output characteristics of the head 3051 have been described as having a non-linear section in the positive section. However, the present invention is not limited to this, and nonlinearity may exist in the negative interval. Even in this case, the same effect can be obtained by making the resistance value of the resistance element 3400 corresponding to the non-linear section different from the resistance value of other sections. Further, the R / W channel 3003 may be integrated on one semiconductor substrate.

(第5実施形態)
第5実施形態は、デジタル信号の復号技術に関し、特に、記憶媒体に記憶されるデータに対して誤りを訂正する/復号する復号装置、復号方法、および記憶システムに関する。
(Fifth embodiment)
The fifth embodiment relates to a digital signal decoding technique, and more particularly, to a decoding device, a decoding method, and a storage system that correct / decode errors in data stored in a storage medium.

第5実施形態に関する背景技術について説明する。   The background art regarding the fifth embodiment will be described.

近年、ハードディスクを用いた記憶装置は、パーソナルコンピュータ、ハードディスクレコーダー、ビデオカメラ、携帯電話など、さまざまな分野において必須の装置となりつつある。ハードディスクを用いた記憶装置は、適用される分野によって求められる仕様もさまざまである。たとえば、パーソナルコンピュータに搭載するハードディスクには、高速性、大容量性が求められる。高速性、大容量性を向上するためには、訂正能力の高い誤り訂正符号化をする必要がある。しかしながら、高速化が進むほど単位時間あたりに扱うデータの量が増えるため、単位時間あたりの誤りも比例して増大する。そうすると、誤り訂正能力が低い誤り訂正方式を用いる場合、ハードディスクに対する再読込みが発生するため、ハードディスクへのアクセスに要する時間が増大し、高速化のボトルネックとなる。   In recent years, storage devices using hard disks are becoming essential devices in various fields such as personal computers, hard disk recorders, video cameras, and mobile phones. Storage devices using a hard disk have various specifications required depending on the field to which they are applied. For example, a hard disk mounted on a personal computer is required to have high speed and large capacity. In order to improve high speed and large capacity, it is necessary to perform error correction coding with high correction capability. However, since the amount of data handled per unit time increases as the speed increases, errors per unit time also increase proportionally. Then, when an error correction method with low error correction capability is used, the hard disk is re-read, so that the time required to access the hard disk increases and becomes a bottleneck for speeding up.

一般的に、ハードディスクから読み出したデータ系列には、符号間干渉が存在する。従来は、白色雑音を含むデータ系列を正確に検出できる軟判定ビタビアルゴリズム(以下、「SOVA」と表記する。)を用いることによって、符号間干渉を除去したデータ系列を検出していた(たとえば、特開2003−228923号公報、特開2004−139664号公報参照。)。しかしながら、ハードディスクから読み出したデータ系列は、有色雑音をも含む場合がある。このような場合、SOVAによってデータ検出を行なったとしても符号間干渉の除去が正しく行なわれず、後段において実行される復号を行なったとしても、正確な復号が期待できなかった。従来、このような課題に対して、過去の信号や雑音に依存して発生する雑音、すなわち、有色雑音を予測してデータ系列を検出するDDNP(Data Dependent Noise Predictive)−SOVAがデータ検出アルゴリズムとして用いられていた(たとえば、「Aleksandar Kavcic、et al、「The Viterbi Algorithm and Markov Noise Memory」、IEEE Transactions on Information Theory、Vol.46、No.1、p.291−301、Jun. 2000」参照)。   In general, there is intersymbol interference in a data series read from a hard disk. Conventionally, a data sequence from which intersymbol interference has been removed has been detected by using a soft decision Viterbi algorithm (hereinafter referred to as “SOVA”) that can accurately detect a data sequence including white noise (for example, (See JP 2003-228923 A and JP 2004-139664 A). However, the data series read from the hard disk may include colored noise. In such a case, even if data detection is performed by SOVA, the intersymbol interference is not correctly removed, and even if decoding is performed at a later stage, accurate decoding cannot be expected. Conventionally, in order to solve such a problem, DDNP (Data Dependent Noise Predictive) -SOVA that detects a data series by predicting colored noise, that is, colored noise, is used as a data detection algorithm. (See, eg, “Aleksandar Kavic, et al.,“ The Viterbi Algorithm and Markov Noise Memory ”, IEEE Transactions on Information Theory. .

本発明者はこうした状況下、以下の課題を認識するに至った。すなわち、ハードディスクからデータ系列を読み出した段階においては、データ系列に含まれる雑音が有色雑音であるか白色雑音であるか、もしくは、双方の雑音を含んでいるのかを判定することが難しいといった課題である。このため、いずれかの検出アルゴリズムを用いてデータ検出を行なった後に復号したとしても、その復号特性が不安定となってしまうといった課題である。   Under such circumstances, the present inventor has come to recognize the following problems. That is, at the stage where the data series is read from the hard disk, it is difficult to determine whether the noise included in the data series is colored noise, white noise, or both noises. is there. For this reason, even if it decodes after performing data detection using any detection algorithm, it is a subject that the decoding characteristic will become unstable.

本発明の第5実施形態はこうした状況に鑑みてなされたものであり、その総括的な目的は、雑音特性によらず、復号特性を向上できる復号装置、復号方法、および記憶システムを提供することにある。   The fifth embodiment of the present invention has been made in view of such circumstances, and a general purpose thereof is to provide a decoding device, a decoding method, and a storage system capable of improving the decoding characteristics regardless of the noise characteristics. It is in.

上記課題を解決するために、本発明の第5実施形態のある態様の復号装置は、データ系列を入力する入力部と、入力部によって入力されたデータ系列から複数の異なる信号系列を生成する生成部と、生成部によって生成された複数の信号系列のうち1の信号系列を選択する選択部と、選択部によって選択された信号系列を復号する復号部と、復号部によって復号された信号系列の復号誤りの程度を検出する検出部と、検出部によって検出された誤りの程度が所定の許容度以内であるか否かを判定する判定部と、を備える。判定部において、誤りの程度が所定の許容度以内であると判定された場合は、復号部によって復号された信号系列の出力が指示される。また、判定部において、誤りの程度が所定の許容度を超えると判定された場合は、選択部にて、1の信号系列とは異なる別の信号系列の選択が指示され、選択部にて新たに選択された信号系列に対して復号部以下による処理が再実行される。   In order to solve the above problems, a decoding device according to an aspect of a fifth embodiment of the present invention includes an input unit that inputs a data sequence, and a generation that generates a plurality of different signal sequences from the data sequence input by the input unit A selection unit that selects one signal sequence among a plurality of signal sequences generated by the generation unit, a decoding unit that decodes the signal sequence selected by the selection unit, and a signal sequence decoded by the decoding unit A detection unit that detects the degree of decoding error; and a determination unit that determines whether the error detected by the detection unit is within a predetermined tolerance. When the determination unit determines that the degree of error is within a predetermined tolerance, an instruction to output the signal sequence decoded by the decoding unit is given. When the determination unit determines that the degree of error exceeds a predetermined tolerance, the selection unit instructs the selection of another signal sequence different from the one signal sequence, and the selection unit The processing by the decoding unit and below is re-executed on the selected signal sequence.

ここで、「複数の異なる信号系列」とは、所定の信号系列に対し異なるデータ検出方法によって生成された複数の信号系列などを含む。また、「復号誤りの程度を検出する」とは、誤りが訂正できているか否かのチェックや、CRCなどの誤り検出によって誤りの有無を判定することなどを含む。また、「誤りの程度が所定の許容度以内」とは、正しい復号結果が得られたことなどを含み、たとえば、誤りが訂正されており、かつ、CRCなどの誤り検出によって誤りがないと判定されることなどを含む。「誤りの程度が所定の許容度を超える」とは、正しい復号結果が得られなかったことなどを含み、たとえば、誤りが訂正されておらず、また、CRCなどの誤り検出によって誤りが残存していると判定されることなどを含む。「異なる別の信号系列の選択」とは、すでに選択された信号系列とは異なる信号系列の選択を含む。また、「復号部以下による処理」とは、復号部と検出部と判定部による処理を含む。この態様によると、誤りが所定の許容度以内となる復号系列となるまで、復号処理を繰り返すことによって、復号部における復号性能を向上できる。また、復号性能を安定化できる。   Here, “a plurality of different signal sequences” include a plurality of signal sequences generated by different data detection methods for a predetermined signal sequence. Further, “detecting the degree of decoding error” includes checking whether or not the error has been corrected and determining the presence or absence of an error by detecting an error such as CRC. In addition, “the degree of error is within a predetermined tolerance” includes that a correct decoding result has been obtained. To be done. “The degree of error exceeds a predetermined tolerance” includes that a correct decoding result has not been obtained. For example, the error is not corrected, and an error remains due to error detection such as CRC. It is determined that it is. “Selecting a different signal sequence” includes selecting a signal sequence different from the already selected signal sequence. In addition, the “processing by the decoding unit and below” includes processing by the decoding unit, the detection unit, and the determination unit. According to this aspect, it is possible to improve the decoding performance in the decoding unit by repeating the decoding process until the error becomes a decoding sequence within a predetermined tolerance. Also, the decoding performance can be stabilized.

選択部は、判定部によって誤りの程度が許容度以内であると判定される確率が高い信号系列を優先して選択してもよい。また、選択部は、生成部によって生成された複数の信号系列のうち、信号に依存して発生する雑音を予測する機能を有するビタビアルゴリズムを用いて検出されたデータ系列に対応する信号系列を優先して選択してもよい。ここで、「信号に依存して発生する雑音」とは、過去の信号や雑音に依存して発生する雑音などを含む。この態様によると、誤りの程度が許容度以内であると判定される確率が高い信号系列を優先して選択することによって、復号部以下の所定の処理における繰り返し実行しなければならない回数を低減できる。   The selection unit may preferentially select a signal sequence that has a high probability that the determination unit determines that the degree of error is within tolerance. In addition, the selection unit prioritizes a signal sequence corresponding to a data sequence detected using a Viterbi algorithm having a function of predicting noise generated depending on a signal among a plurality of signal sequences generated by the generation unit. You may choose. Here, “noise generated depending on a signal” includes noise generated depending on past signals and noise. According to this aspect, it is possible to reduce the number of times that it is necessary to repeatedly execute the predetermined processing below the decoding unit by preferentially selecting a signal sequence having a high probability of being determined that the error level is within the tolerance. .

入力部は、それぞれ異なるデータ系列を生成する第1入力部と第2入力部とを含んでもよい。生成部は、第1入力部と、第2入力部とから入力されたデータ系列のいずれか一方のデータ系列、もしくは、双方のデータ系列から、1以上の信号系列を生成してもよい。生成部は、第1入力部と第2入力部によってそれぞれ入力された複数のデータ系列のうちのデータ系列であって、信号に依存して発生する雑音を予測する機能を有する第1ビタビアルゴリズムによって検出されたデータ系列、および/または、第1ビタビアルゴリズムとは異なる機能を有する第2ビタビアルゴリズムによって検出されたデータ系列をもとに、信号系列を生成してもよい。この態様によると、復号の対象となる候補を複数生成できる。複数の候補を生成することにより、復号の確実性を向上できる。   The input unit may include a first input unit and a second input unit that generate different data series. The generation unit may generate one or more signal sequences from either one of the data sequences input from the first input unit and the second input unit, or both data sequences. The generation unit is a data sequence of a plurality of data sequences respectively input by the first input unit and the second input unit, and is based on a first Viterbi algorithm having a function of predicting noise generated depending on a signal A signal sequence may be generated based on the detected data sequence and / or the data sequence detected by the second Viterbi algorithm having a function different from that of the first Viterbi algorithm. According to this aspect, a plurality of candidates to be decoded can be generated. By generating a plurality of candidates, the certainty of decoding can be improved.

入力部は、軟判定値化されたデータ系列を入力し、生成部は、入力部によって入力されたデータ系列を硬判定値化することによって、信号系列を生成してもよい。この態様によると、簡易な構成で復号系列を生成できる。また、生成部は、入力部によって入力されたデータ系列のうち、所定の長さ以上の区間において、所定のしきい値より小さい絶対値を有する軟判定データが連続している場合であって、区間において連続している軟判定データの個数が所定の個数より多い場合、連続している軟判定データの符号を反転した後に、硬判定値化することによって、もしくは、前記連続している軟判定データを硬判定値化した後に硬判定されたデータを論理反転することによって、信号系列を生成してもよい。また、生成部は、入力部によって入力されたデータ系列に含まれる複数の軟判定データのうち、所定の長さ以上の区間において、隣接する軟判定データの符号がそれぞれ異なる場合、区間に対応する軟判定データの符号を反転した後に、硬判定値化することによって、もしくは、区間に対応する軟判定データを硬判定値化した後に硬判定されたデータを論理反転することによって、信号系列を生成する。また、生成部は、入力部によって入力されたデータ系列に含まれる複数の軟判定データのうち、所定のしきい値より小さい絶対値を有する軟判定データの符号を反転した後に、硬判定値化することによって、もしくは、所定のしきい値より小さい絶対値を有する軟判定データを硬判定値化した後に硬判定されたデータを論理反転することによって、信号系列を生成してもよい。   The input unit may input a data sequence that has been converted to a soft decision value, and the generation unit may generate a signal sequence by converting the data sequence input by the input unit into a hard decision value. According to this aspect, a decoded sequence can be generated with a simple configuration. The generation unit is a case where soft decision data having an absolute value smaller than a predetermined threshold is continuous in a section having a predetermined length or more in the data series input by the input unit, When the number of continuous soft decision data in a section is larger than a predetermined number, the sign of the continuous soft decision data is inverted and then converted into a hard decision value, or the continuous soft decision data The signal sequence may be generated by logically inverting the data subjected to the hard decision after converting the data into a hard decision value. Further, the generation unit corresponds to a section when the codes of adjacent soft decision data are different in a section having a predetermined length or more among the plurality of soft decision data included in the data series input by the input section. Generate a signal sequence by inverting the sign of the soft decision data and then converting it to a hard decision value or by logically inverting the hard decision data after converting the soft decision data corresponding to the section to a hard decision value To do. In addition, the generation unit reverses the sign of the soft decision data having an absolute value smaller than a predetermined threshold among the plurality of soft decision data included in the data series input by the input unit, and then converts the decision value into a hard decision value Alternatively, the signal sequence may be generated by logically inverting the hard-decided data after converting the soft-decision data having an absolute value smaller than a predetermined threshold to a hard-decision value.

ここで、「軟判定値」とは、2値より大きい多値より表される値を含み、また、信頼度を含む。信頼度とは、データの確からしさを示し、軟判定値の絶対値で表現してもよい。「軟判定データの符号を反転」とは、軟判定データに(−1)を乗じることなどを含み、また、軟判定データの硬判定値を論理反転することなどを含む。また、「隣接する軟判定データの符号がそれぞれ異なる場合」とは、複数の軟判定データが、交互に正と負とを示す軟判定データであることを含み、正を示す符号ビットと負を示す符号ビットとが交互に軟判定データに含まれていることを含む。この態様によると、信頼性の低い軟判定値に対応する硬判定値を逆方向に判定させることによって、復号特性を向上できる。   Here, the “soft decision value” includes a value represented by multiple values greater than two values, and also includes a reliability. The reliability indicates the certainty of data and may be expressed by an absolute value of a soft decision value. “Reversing the sign of the soft decision data” includes multiplying the soft decision data by (−1) and the like, and logically inverting the hard decision value of the soft decision data. In addition, “when the signs of adjacent soft decision data are different” includes that the plurality of soft decision data are soft decision data alternately indicating positive and negative, and the sign bit indicating positive and the negative are set to negative. This includes that the sign bit shown is alternately included in the soft decision data. According to this aspect, the decoding characteristic can be improved by causing the hard decision value corresponding to the soft decision value with low reliability to be determined in the reverse direction.

また、生成部は、入力部によって入力された複数のデータ系列のうちの2つのデータ系列であって、一方のデータ系列の硬判定値をもとに、他方のデータ系列の硬判定値を修正することによって、信号系列を生成してもよい。また、生成部は、第1入力部と第2入力部とによって入力された複数のデータ系列のうちの2つのデータ系列であって、信号に依存して発生する雑音を予測する機能を有する第1ビタビアルゴリズムによって検出されたデータ系列と、第1ビタビアルゴリズムとは異なる機能を有する第2ビタビアルゴリズムによって検出されたデータ系列のいずれか一方の硬判定値をもとに、他方のデータ系列の硬判定値を修正することによって、信号系列を生成してもよい。また、生成部は、第1入力部と第2入力部とによって入力された複数のデータ系列のうちの2つのデータ系列であって、一方のデータ系列に含まれる第1データの硬判定値と、他方のデータ系列に含まれるデータであって前記第1データと対応する位置に存在する第2データの硬判定値とが異なる場合、一方のデータ系列に含まれる第1データを、第2データに置換えることによって、一方のデータ系列の硬判定値を修正してもよい。また、生成部は、第1入力部と第2入力部とによって入力された複数のデータ系列のうちの2つのデータ系列であって、一方のデータ系列に含まれる第1データの硬判定値と、他方のデータ系列に含まれるデータであって前記第1データと対応する位置に存在する第2データの硬判定値とが異なる場合であって、かつ、第2データの軟判定値の絶対値と第1データの軟判定値の絶対値との差が所定のしきい値より大きい場合、一方のデータ系列に含まれる第1データを、第2データに置換えることによって、一方のデータ系列の硬判定値を修正してもよい。この態様によると、複数の硬判定系列を互いに修正することによって、双方の雑音特性に強い信号系列を生成できる。復号特性を向上できる。また、信頼性の低い軟判定値に対応する硬判定値を逆方向に判定させることによって、復号特性を向上できる。   Further, the generation unit corrects the hard decision value of the other data series based on the hard decision value of one of the plurality of data series input from the input unit. By doing so, a signal sequence may be generated. The generation unit has a function of predicting noise generated depending on a signal, which is two data sequences out of a plurality of data sequences input by the first input unit and the second input unit. Based on the hard decision value of one of the data series detected by the 1 Viterbi algorithm and the data series detected by the second Viterbi algorithm having a function different from the first Viterbi algorithm, the hardness of the other data series is determined. The signal sequence may be generated by correcting the determination value. Further, the generation unit is two data series of the plurality of data series input by the first input unit and the second input unit, and the hard decision value of the first data included in one data series If the hard decision value of the second data existing in the position corresponding to the first data is different from the data included in the other data series, the first data included in the one data series is changed to the second data. The hard decision value of one data series may be corrected by replacing with. Further, the generation unit is two data series of the plurality of data series input by the first input unit and the second input unit, and the hard decision value of the first data included in one data series The absolute value of the soft decision value of the second data when the data is included in the other data series and is different from the hard decision value of the second data existing at the position corresponding to the first data. When the difference between the absolute value of the soft decision value of the first data and the first data is larger than a predetermined threshold value, the first data included in one data series is replaced with the second data, whereby one data series The hard decision value may be corrected. According to this aspect, by correcting a plurality of hard decision sequences with each other, it is possible to generate a signal sequence that is strong in both noise characteristics. Decoding characteristics can be improved. Also, the decoding characteristic can be improved by making the hard decision value corresponding to the soft decision value with low reliability in the reverse direction.

本発明の第5実施形態の別の態様は、復号方法である。この方法は、データ系列を入力するステップと、入力したデータ系列から複数の異なる信号系列を生成するステップと、生成された複数の信号系列のうち1の信号系列を選択するステップと、選択された信号系列を復号するステップと、を備え、選択するステップは、復号するステップにおいて復号された信号系列の誤りの程度が所定のしきい値より小さくなるまで、順次、すでに選択した信号系列とは異なる信号系列を選択し、復号するステップ以下の処理が繰り返し実行される。ここで、「誤りの程度が所定のしきい値より小さくなる」とは、正しい復号結果が得られたことなどを含み、たとえば、誤りが訂正されており、かつ、CRCなどの誤り検出によって誤りがないと判定されることなどを含む。この態様によると、この態様によると、誤りが所定の許容度以内となる復号系列となるまで、復号処理を繰り返すことによって、復号部における復号性能を向上できる。また、復号性能を安定化できる。   Another aspect of the fifth embodiment of the present invention is a decoding method. The method includes a step of inputting a data sequence, a step of generating a plurality of different signal sequences from the input data sequence, a step of selecting one signal sequence among the generated plurality of signal sequences, Decoding the signal sequence, and the step of selecting sequentially differs from the already selected signal sequence until the degree of error of the signal sequence decoded in the decoding step becomes smaller than a predetermined threshold value. The process after the step of selecting and decoding the signal series is repeatedly executed. Here, “the degree of error is smaller than a predetermined threshold” includes that a correct decoding result has been obtained. For example, an error is corrected and an error is detected by error detection such as CRC. It is determined that there is no. According to this aspect, according to this aspect, it is possible to improve the decoding performance in the decoding unit by repeating the decoding process until the decoding sequence is such that the error is within a predetermined tolerance. Also, the decoding performance can be stabilized.

本発明の第5実施形態のさらに別の態様は、記憶システムである。この記憶システムは、データを記憶装置に書き込むライトチャネルと、記憶装置に記憶されているデータを読み出すリードチャネルとを備える信号記憶システムであって、ライトチャネルは、データをリードソロモン符号化する符号化部と、符号化部で符号化されたデータを記憶装置に書き込む書き込み部と、を備え、リードチャネルは、記憶装置から出力されたアナログ信号を入力する入力部と、入力部から入力されたアナログ信号をデジタル信号に変換して出力するアナログデジタル変換部と、アナログデジタル変換部から出力されたデジタル信号の尤度を計算して軟判定値を出力するソフト出力検出部と、ソフト出力検出部から出力されたデータを復号する、符号化部に対応した、復号部と、を備える。復号部は、ソフト出力検出部から出力されたデータを入力する入力部と、入力部によって入力されたデータから複数の異なる信号系列を生成する生成部と、生成部によって生成された複数の信号系列のうち1の信号系列を選択する選択部と、選択部によって選択された信号系列を復号する復号部と、復号部によって復号された信号系列の復号誤りの程度を検出する検出部と、検出部によって検出された誤りの程度が所定の許容度以内であるか否かを判定する判定部と、を有する。判定部において、誤りの程度が所定の許容度以内であると判定された場合は、復号部によって復号された信号系列の出力が指示され、判定部において、誤りの程度が所定の許容度を超えると判定された場合は、選択部にて1の信号系列とは異なる別の信号系列の選択が指示され、選択部にて新たに選択された信号系列に対して検出部以下による処理が再実行される。本発明のさらに別の態様は、復号装置である。当該装置は、1つの半導体基板上に一体集積化されていてもよい。この態様によると、安定して高い復号能力を備える復号部を具備することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Yet another aspect of the fifth embodiment of the present invention is a storage system. This storage system is a signal storage system comprising a write channel for writing data to the storage device and a read channel for reading data stored in the storage device, wherein the write channel encodes the data for Reed-Solomon encoding And a writing unit that writes the data encoded by the encoding unit to the storage device, the read channel includes an input unit that inputs an analog signal output from the storage device, and an analog input from the input unit An analog-to-digital conversion unit that converts a signal into a digital signal and outputs it, a soft output detection unit that calculates the likelihood of the digital signal output from the analog-to-digital conversion unit and outputs a soft decision value, and a soft output detection unit A decoding unit corresponding to the encoding unit that decodes the output data. The decoding unit includes an input unit that inputs data output from the software output detection unit, a generation unit that generates a plurality of different signal sequences from the data input by the input unit, and a plurality of signal sequences generated by the generation unit A selection unit that selects one signal sequence, a decoding unit that decodes the signal sequence selected by the selection unit, a detection unit that detects the degree of decoding error of the signal sequence decoded by the decoding unit, and a detection unit And a determination unit that determines whether or not the degree of error detected by the method is within a predetermined tolerance. When the determination unit determines that the error level is within a predetermined tolerance, the decoding unit is instructed to output the decoded signal sequence, and the determination unit causes the error level to exceed a predetermined tolerance. Is selected, the selection unit instructs the selection of another signal sequence different from the one signal sequence, and the processing below the detection unit is re-executed for the signal sequence newly selected by the selection unit. Is done. Yet another embodiment of the present invention is a decoding device. The device may be integrated on a single semiconductor substrate. According to this aspect, it is possible to access the storage system at a higher speed by including the decoding unit having a stable and high decoding capability. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

本発明の第5実施形態のさらに別の態様もまた、記憶システムである。この記憶システムは、記憶システムにおいて、当該記憶システムは、さらに、データを記憶する記憶装置と、記憶装置への書き込みと、記憶装置からの読み出しとを制御する制御部と、を有する。リードチャネルは、制御部の指示に従って、記憶装置に記憶されているデータを読み出し、ライトチャネルは、制御部の指示に従って、符号化されたデータを記憶装置に書き込む。本発明のさらに別の態様は、復号装置である。当該装置は、1つの半導体基板上に一体集積化されていてもよい。この態様によると、安定して高い復号能力を備える復号部を具備することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   Yet another aspect of the fifth embodiment of the present invention is also a storage system. This storage system is a storage system, and further includes a storage device that stores data, and a control unit that controls writing to the storage device and reading from the storage device. The read channel reads data stored in the storage device in accordance with an instruction from the control unit, and the write channel writes encoded data in the storage device in accordance with an instruction from the control unit. Yet another embodiment of the present invention is a decoding device. The device may be integrated on a single semiconductor substrate. According to this aspect, it is possible to access the storage system at a higher speed by including the decoding unit having a stable and high decoding capability. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

本発明の第5実施形態のさらに別の態様は、復号装置である。復号装置は、データ系列を生成する第1入力部と、前記第1入力部とは異なるデータ系列を生成する第2入力部とを含む入力部と、入力部によって入力されたデータ系列から複数の異なる信号系列を生成する生成部と、生成部によって生成された複数の信号系列のうち、1の信号系列を選択する選択部と、選択部によって選択された信号系列を復号する復号部と、復号部によって復号された信号系列の復号誤りの程度を検出する検出部と、検出部によって検出された誤りの程度が所定の許容度以内であるか否かを判定する判定部と、を備える。判定部において、誤りの程度が前記所定の許容度以内であると判定された場合は、前記復号部によって復号された信号系列の出力が指示される。   Yet another aspect of the fifth embodiment of the present invention is a decoding device. The decoding device includes: an input unit including a first input unit that generates a data sequence; a second input unit that generates a data sequence different from the first input unit; and a plurality of data sequences input from the input unit. A generation unit that generates different signal sequences, a selection unit that selects one signal sequence among a plurality of signal sequences generated by the generation unit, a decoding unit that decodes a signal sequence selected by the selection unit, and a decoding A detection unit that detects the degree of decoding error of the signal sequence decoded by the unit, and a determination unit that determines whether or not the degree of error detected by the detection unit is within a predetermined tolerance. When the determination unit determines that the degree of error is within the predetermined tolerance, the output of the signal sequence decoded by the decoding unit is instructed.

判定部において、誤りの程度が前記所定の許容度を超えると判定された場合は、選択部にて前記1の信号系列とは異なる別の信号系列の選択が指示され、選択部にて新たに選択された信号系列に対して復号部以下による処理が再実行されてもよい。選択部は、判定部によって誤りの程度が許容度以内であると判定される確率が高い信号系列を優先して選択してもよい。生成部は、入力された信号系列に含まれるビットの硬判定値化をする際に、他ビットの信頼度を参照してもよい。生成部は、入力された信号系列に含まれたあるビットの硬判定値化をする際に、当該ビットの信頼度と、信号系列に含まれた当該ビット以外の他のビットの信頼度とを参照してもよい。生成部は、硬判定値化する際に、第1入力部からの出力信号における信頼度と、第2入力部からの出力信号における信頼度とを参照してもよい。生成部は、ビットの硬判定値を決定する際に、第1入力部からの出力信号における信頼度と、第2入力部からの出力信号における信頼度とを参照してもよい。生成部は、ビットの硬判定値を決定する際に、第1入力部からの出力信号と、第2入力部からの出力信号において、互いに対応するビットの信頼度を比較してもよい。選択部は、第1入力部からの出力と第2入力部からの出力とを選択する際に、第1入力部からの出力を優先的に選択してもよい。   If the determination unit determines that the degree of error exceeds the predetermined tolerance, the selection unit instructs the selection of another signal sequence different from the one signal sequence, and the selection unit newly The processing by the decoding unit and below may be re-executed on the selected signal sequence. The selection unit may preferentially select a signal sequence that has a high probability that the determination unit determines that the degree of error is within tolerance. The generating unit may refer to the reliability of other bits when converting the hard decision value of the bits included in the input signal sequence. When generating a hard decision value for a bit included in the input signal sequence, the generation unit calculates the reliability of the bit and the reliability of other bits other than the bit included in the signal sequence. You may refer to it. When generating the hard decision value, the generation unit may refer to the reliability in the output signal from the first input unit and the reliability in the output signal from the second input unit. The generator may refer to the reliability of the output signal from the first input unit and the reliability of the output signal from the second input unit when determining the hard decision value of the bit. When determining the bit hard decision value, the generation unit may compare the reliability of corresponding bits in the output signal from the first input unit and the output signal from the second input unit. The selection unit may preferentially select the output from the first input unit when selecting the output from the first input unit and the output from the second input unit.

復号装置は、ディスクに記録された記録情報を読み取って、前記入力部に出力する読取部と、前記読取部における読取り状況を判定する読取状況判定部をさらに備えてもよい。選択部は、前記読取状況判定部において判定された状況に基づいて、第1入力部からの出力と第2入力部からの出力とのいずれを優先するかを決定してもよい。   The decoding device may further include a reading unit that reads the recording information recorded on the disk and outputs the information to the input unit, and a reading status determination unit that determines a reading status in the reading unit. The selection unit may determine which of the output from the first input unit and the output from the second input unit is prioritized based on the situation determined by the reading situation determination unit.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明の第5実施形態を具体的に説明する前に、まず本第5実施形態にかかる記憶システム4100について概要を述べる。本第5実施形態にかかる記憶システム4100は、ハードディスクコントローラと、磁気ディスク装置と、リードチャネルとライトチャネルを含むリードライトチャネルと、を有する。リードチャネルにおいては、復号処理として、符号間干渉を除去するためのデータ検出処理や、検出したデータ系列に含まれる誤りを訂正/検出するRS復号などを行う。データ検出処理においては、一般的に、白色雑音に対して高い検出性能を発揮するSOVAや、有色雑音に対して高い検出性能を発揮するDDNP−SOVAなどが用いられる。   Before specifically describing the fifth embodiment of the present invention, an outline of a storage system 4100 according to the fifth embodiment will be described first. The storage system 4100 according to the fifth embodiment includes a hard disk controller, a magnetic disk device, and a read / write channel including a read channel and a write channel. In the read channel, as decoding processing, data detection processing for removing intersymbol interference, RS decoding for correcting / detecting errors included in the detected data series, and the like are performed. In the data detection process, SOVA that exhibits high detection performance against white noise, DDNP-SOVA that exhibits high detection performance against colored noise, and the like are generally used.

しかし、磁気ディスク装置からデータ系列を読み出した段階においては、データ系列に含まれる雑音が有色雑音であるか白色雑音であるか、もしくは、双方の雑音を含んでいるのかを判定することが難しいといった課題がある。このため、いずれかの検出アルゴリズムを用いてデータ検出を行なったとしても、符号間干渉の除去が正しく行なわれない場合がある。このような場合、後段においてデータ系列に含まれる誤りを訂正する復号処理をしたとしても、その復号特性は不安定となる。したがって、本発明の第5実施形態においては、少なくとも、SOVAとDDNP−SOVAとを用いて検出された複数のデータ系列を予め生成し、順次、データ系列の復号処理を実行することによって復号性能を安定させる。また、復号処理において、復号系列に含まれる誤りが少なくなるようなデータ系列を優先して復号対象とすることによって、復号処理を高速化する。詳細は後述する。   However, at the stage of reading the data series from the magnetic disk device, it is difficult to determine whether the noise included in the data series is colored noise, white noise, or both noises. There are challenges. For this reason, even if data detection is performed using any of the detection algorithms, intersymbol interference may not be removed correctly. In such a case, even if a decoding process for correcting an error included in the data series is performed in the subsequent stage, the decoding characteristics become unstable. Therefore, in the fifth embodiment of the present invention, decoding performance is improved by generating in advance a plurality of data sequences detected using at least SOVA and DDNP-SOVA, and sequentially executing the decoding processing of the data sequences. Stabilize. Further, in the decoding process, the decoding process is speeded up by giving priority to the data series in which the errors included in the decoded series are reduced. Details will be described later.

以下、図面を用いて、本発明の第5実施形態について詳細に説明する。   Hereinafter, the fifth embodiment of the present invention will be described in detail with reference to the drawings.

図38は、本発明の第5実施形態に係る記憶システム4100の構成例を示す図である。図38の記憶システム4100は、大きく分けて、ハードディスクコントローラ4001(以下、「HDC4001」と略記する。)、中央処理演算装置4002(以下、「CPU4002」と略記する。)、リードライトチャネル4003(以下、「R/Wチャネル4003」と略記する。)、ボイスコイルモータ/スピンドルモータ制御部4004(以下、「VCM/SPM制御部4004」と略記する。)、及びディスクエンクロージャ4005(以下、「DE4005」と略記する。)とから構成される。一般に、HDC4001、CPU4002、R/Wチャネル4003、及びVCM/SPM制御部4004は同一の基板上に構成される。   FIG. 38 is a diagram showing a configuration example of a storage system 4100 according to the fifth embodiment of the present invention. The storage system 4100 of FIG. 38 is broadly divided into a hard disk controller 4001 (hereinafter abbreviated as “HDC 4001”), a central processing unit 4002 (hereinafter abbreviated as “CPU 4002”), and a read / write channel 4003 (hereinafter abbreviated as “CPU 4002”). , Abbreviated as “R / W channel 4003”), voice coil motor / spindle motor controller 4004 (hereinafter abbreviated as “VCM / SPM controller 4004”), and disk enclosure 4005 (hereinafter “DE4005”). Abbreviated as)). In general, the HDC 4001, the CPU 4002, the R / W channel 4003, and the VCM / SPM control unit 4004 are configured on the same substrate.

HDC4001は、HDC4001全体を制御する主制御部4011、データフォーマット制御部4012、誤り訂正符号化制御部4013(以下、「ECC制御部4013」と略記する。」)、及びバッファRAM4014を含む。HDC4001は、図示しないインタフェース部を介してホストシステムと接続される。また、R/Wチャネル4003を介して、DE4005と接続されており、主制御部4011の制御により、ホストとDE4005の間でデータ転送処理を実行する。このHDC4001には、R/Wチャネル4003で生成されるリードリファレンスクロック(RRCK)が入力される。データフォーマット制御部4012は、ホストから転送されたデータをディスク媒体4050上に記録するのに適したフォーマットに変換し、逆に、ディスク媒体4050から再生されたデータをホストに転送するのに適したフォーマットに変換する。ディスク媒体4050は、たとえば、磁気ディスクを含む。バッファRAM4014は、ホストから転送されたデータを一時的に保存し、適切なタイミングでR/Wチャネル4003に転送する。逆に、R/Wチャネル4003から転送されたリードデータを一時的に保存し、ECC復号処理などの終了後、適切なタイミングでホストに転送する。   The HDC 4001 includes a main control unit 4011 that controls the entire HDC 4001, a data format control unit 4012, an error correction coding control unit 4013 (hereinafter abbreviated as “ECC control unit 4013”), and a buffer RAM 4014. The HDC 4001 is connected to the host system via an interface unit (not shown). Further, it is connected to the DE 4005 via the R / W channel 4003, and executes data transfer processing between the host and the DE 4005 under the control of the main control unit 4011. The HDC 4001 receives a read reference clock (RRCK) generated by the R / W channel 4003. The data format control unit 4012 converts the data transferred from the host into a format suitable for recording on the disk medium 4050, and conversely, suitable for transferring the data reproduced from the disk medium 4050 to the host. Convert to format. The disk medium 4050 includes, for example, a magnetic disk. The buffer RAM 4014 temporarily stores data transferred from the host and transfers the data to the R / W channel 4003 at an appropriate timing. Conversely, the read data transferred from the R / W channel 4003 is temporarily stored, and transferred to the host at an appropriate timing after the ECC decoding process or the like is completed.

ECC制御部4013は、ディスク媒体4050から再生されたデータに含まれる誤りの訂正及び検出を可能にするために、記録するデータを情報シンボルとして、冗長シンボルを付加する。また、ECC制御部4013は、復号処理として、再生されたデータ系列に誤りが生じているかを判定し、誤りがある場合には訂正処理を実行する。誤りを訂正できなかった場合、あるいは、CRC(Cyclic Redundancy Code)などによって誤り検出された場合、その程度によって、他のデータ系列を対象として復号処理を行なう。詳細は後述する。なお、誤りが訂正できるシンボル数は有限であり、冗長データの長さに関係する。即ち、多くの冗長データを付加するとフォーマット効率が悪化するため、誤り訂正可能シンボル数とはトレードオフとなる。ECCとしてリードソロモン(RS)符号を利用して誤り訂正を実行する場合、(冗長シンボル数/2)個までの誤りを訂正できる。   The ECC control unit 4013 adds redundant symbols using data to be recorded as information symbols in order to enable correction and detection of errors included in data reproduced from the disk medium 4050. Also, the ECC control unit 4013 determines whether an error has occurred in the reproduced data series as a decoding process, and executes a correction process if there is an error. When an error cannot be corrected, or when an error is detected by CRC (Cyclic Redundancy Code) or the like, decoding processing is performed on another data series depending on the degree. Details will be described later. Note that the number of symbols that can correct errors is limited, and is related to the length of redundant data. That is, if a large amount of redundant data is added, the format efficiency deteriorates, so that there is a trade-off with the number of error correctable symbols. When error correction is performed using Reed-Solomon (RS) code as ECC, up to (number of redundant symbols / 2) errors can be corrected.

CPU4002は、フラッシュROM4021(以下、「FROM4021」と略記する。)、及びRAM4022を含み、HDC4001、R/Wチャネル4003、VCM/SPM制御部4004、及びDE4005と接続される。FROM4021には、CPU4002の動作プログラムが保存されている。   The CPU 4002 includes a flash ROM 4021 (hereinafter abbreviated as “FROM 4021”) and a RAM 4022, and is connected to the HDC 4001, the R / W channel 4003, the VCM / SPM control unit 4004, and the DE 4005. The FROM 4021 stores an operation program for the CPU 4002.

R/Wチャネル4003は、ライトチャネル4031とリードチャネル4032とに大別され、HDC4001との間で記録するデータ及び再生されたデータの転送処理を実行する。また、R/Wチャネル4003は、DE4005と接続され、記録信号の送信処理、再生信号の受信処理を実行する。詳細は後述する。   The R / W channel 4003 is roughly divided into a write channel 4031 and a read channel 4032, and executes transfer processing of data to be recorded and reproduced from the HDC 4001. The R / W channel 4003 is connected to the DE 4005, and executes a recording signal transmission process and a reproduction signal reception process. Details will be described later.

VCM/SPM制御部4004は、DE4005中のボイスコイルモータ4052(以下、「VCM4052」と略記する。)とスピンドルモータ4053(以下、「SPM4053」と略記する。)を制御する。   The VCM / SPM control unit 4004 controls a voice coil motor 4052 (hereinafter abbreviated as “VCM4052”) and a spindle motor 4053 (hereinafter abbreviated as “SPM4053”) in the DE 4005.

DE4005は、R/Wチャネル4003と接続され、記録信号の受信処理、再生信号の送信処理を実行する。またDE4005は、VCM/SPM制御部4004と接続されている。DE4005は、ディスク媒体4050、ヘッド4051、VCM4052、SPM4053、及びプリアンプ4054等を有している。図38の記憶システム4100においては、ディスク媒体4050が1枚であり、且つヘッド4051がディスク媒体4050の一方の面側のみに配置されている場合を想定しているが、複数のディスク媒体4050が積層配置された構成であってもよい。また、ヘッド4051は、ディスク媒体4050の各面に対応して設けられるのが一般的である。R/Wチャネル4003により送信された記録信号は、DE4005内のプリアンプ4054を経由してヘッド4051に供給され、ヘッド4051によりディスク媒体4050に記録される。逆に、ヘッド4051によりディスク媒体4050から再生された信号は、プリアンプ4054を経由してR/Wチャネル4003に送信される。DE4005内のVCM4052は、ヘッド4051をディスク媒体4050上の目標位置に位置決めするために、ヘッド4051をディスク媒体4050の半径方向に移動させる。また、SPM4053は、ディスク媒体4050を回転させる。   The DE 4005 is connected to the R / W channel 4003 and executes a recording signal reception process and a reproduction signal transmission process. The DE 4005 is connected to the VCM / SPM control unit 4004. The DE 4005 includes a disk medium 4050, a head 4051, a VCM 4052, an SPM 4053, a preamplifier 4054, and the like. In the storage system 4100 of FIG. 38, it is assumed that there is one disk medium 4050 and the head 4051 is disposed only on one surface side of the disk medium 4050. A stacked arrangement may be used. The head 4051 is generally provided corresponding to each surface of the disk medium 4050. The recording signal transmitted through the R / W channel 4003 is supplied to the head 4051 via the preamplifier 4054 in the DE 4005 and is recorded on the disk medium 4050 by the head 4051. Conversely, a signal reproduced from the disk medium 4050 by the head 4051 is transmitted to the R / W channel 4003 via the preamplifier 4054. The VCM 4052 in the DE 4005 moves the head 4051 in the radial direction of the disk medium 4050 in order to position the head 4051 at a target position on the disk medium 4050. Further, the SPM 4053 rotates the disk medium 4050.

ここで、図39を用いて、R/Wチャネル4003について説明する。図39は、図38のR/Wチャネル4003の構成を示す図である。R/Wチャネル4003は、大きく分けて、ライトチャネル4031とリードチャネル4032から構成される。   Here, the R / W channel 4003 will be described with reference to FIG. FIG. 39 is a diagram showing the configuration of the R / W channel 4003 of FIG. The R / W channel 4003 is roughly composed of a write channel 4031 and a read channel 4032.

ライトチャネル4031は、バイトインターフェース部4301、スクランブラ4302、ランレングス制限符号化部4303(以下、「RLL符号化部4303」と略記する。)、書き込み補償部4305(以下、「ライトプリコン部4305」と略記する。)、ドライバ4306を含む。   The write channel 4031 includes a byte interface unit 4301, a scrambler 4302, a run length limited encoding unit 4303 (hereinafter, abbreviated as “RLL encoding unit 4303”), a write compensation unit 4305 (hereinafter, “write precon unit 4305”). A driver 4306.

バイトインターフェース部4301では、HDC4001から転送されたデータが入力データとして処理される。メディア上に書き込むデータは1セクタ単位でHDC4001から入力される。このとき1セクタ分のユーザデータ(512バイト)だけでなく、HDC4001によって付加されたECCバイトも同時に入力される。データバスは通常1バイト(8ビット)であり、バイトインターフェース部4301により入力データとして処理される。スクランブラ4302はライトデータをランダムな系列に変換する。同じ規則のデータの繰り返しは、リード時における検出性能に悪影響を与え、エラーレートを悪化させるのを防ぐためである。   In the byte interface unit 4301, data transferred from the HDC 4001 is processed as input data. Data to be written on the medium is input from the HDC 4001 in units of one sector. At this time, not only user data (512 bytes) for one sector but also ECC bytes added by the HDC 4001 are input simultaneously. The data bus is normally 1 byte (8 bits), and is processed as input data by the byte interface unit 4301. The scrambler 4302 converts the write data into a random series. This is because the repetition of data with the same rule adversely affects the detection performance at the time of reading and prevents the error rate from deteriorating.

RLL符号化部4303は0の最大連続長を制限するためのものである。0の最大連続長を制限することによりリード時の図示しないタイミング制御部、自動利得制御部4317(以下、「AGC4317」と略記する。)などに適したデータ系列にする。   The RLL encoding unit 4303 is for limiting the maximum continuous length of 0. By limiting the maximum continuous length of 0, a data series suitable for a timing control unit (not shown) at the time of reading, an automatic gain control unit 4317 (hereinafter abbreviated as “AGC4317”), and the like is obtained.

ライトプリコン部4305は、メディア上の磁化遷移の連続による非線形歪を補償する回路である。ライトデータから補償に必要な規則を検出し、正しい位置で磁化遷移が生ずるようにライト電流波形を予め調整をする。ドライバ4306は擬似ECLレベルに対応した信号を出力するドライバである。ドライバ4306からの出力は図示しないDE4005に送られ、プリアンプ4054を通してヘッド4051に送られ、ライトデータがディスク媒体4050上に記録される。   The write pre-con unit 4305 is a circuit that compensates for non-linear distortion due to continuous magnetization transitions on the medium. A rule necessary for compensation is detected from the write data, and the write current waveform is adjusted in advance so that the magnetization transition occurs at the correct position. A driver 4306 is a driver that outputs a signal corresponding to the pseudo ECL level. The output from the driver 4306 is sent to the DE 4005 (not shown), sent to the head 4051 through the preamplifier 4054, and the write data is recorded on the disk medium 4050.

リードチャネル4032は、可変利得増幅器4311(以下、「VGA4311」と略記する。)、ローパスフィルタ4312(以下、「LPF4312」と略記する。)、AGC4317、アナログ/デジタル変換器4313(以下、「ADC4313」と略記する。)、周波数シンセサイザ4314、フィルタ4315、ソフト出力検出部4320、同期信号検出部4321、ランレングス制限復号部4323(以下、「RLL復号部4323」と略記する。)、デスクランブラ4324とから構成されている。   The read channel 4032 includes a variable gain amplifier 4311 (hereinafter abbreviated as “VGA 4311”), a low-pass filter 4312 (hereinafter abbreviated as “LPF 4312”), an AGC 4317, and an analog / digital converter 4313 (hereinafter “ADC 4313”). A frequency synthesizer 4314, a filter 4315, a soft output detection unit 4320, a synchronization signal detection unit 4321, a run length limited decoding unit 4323 (hereinafter abbreviated as “RLL decoding unit 4323”), a descrambler 4324, and It is composed of

VGA4311及びAGC4317は、図示しないプリアンプ4054から送られたデータのリード波形の振幅を調整する。AGC4317は理想的な振幅と実際の振幅を比較し、VGA4311に設定すべきゲインを決定する。LPF4312は、カットオフ周波数とブースト量を調整することができ、高周波ノイズの低減と部分応答(Partial Response。以下、「PR」と略記する。)波形への等化の一部を担う。LPF4312でPR波形への等化を行うが、ヘッドの浮上量変動、媒体の不均一性、モータの回転変動などの多くの要因により、アナログのLPFによる完全な等化は難しいので、後段に配置され、よりフレキシビリティに富んだフィルタ4315を用いて、再度PR波形への等化を行う。フィルタ4315は、そのタップ係数を適応的に調整する機能を有していてもよい。周波数シンセサイザ4314は、ADC4313のサンプリング用クロックを生成する。   The VGA 4311 and the AGC 4317 adjust the amplitude of the read waveform of data sent from the preamplifier 4054 (not shown). The AGC 4317 compares the ideal amplitude with the actual amplitude, and determines the gain to be set in the VGA 4311. The LPF 4312 can adjust the cut-off frequency and the boost amount, and is responsible for part of the reduction to high-frequency noise and equalization to a partial response (hereinafter referred to as “PR”) waveform. The LPF 4312 performs equalization to the PR waveform, but it is difficult to completely equalize with the analog LPF due to many factors such as head flying height fluctuation, medium non-uniformity, and motor rotation fluctuation. Then, equalization to the PR waveform is performed again using the filter 4315 having more flexibility. The filter 4315 may have a function of adaptively adjusting the tap coefficient. The frequency synthesizer 4314 generates a sampling clock for the ADC 4313.

ADC4313は、AD変換により直接同期サンプルを得る構成とした。なお、この構成の他に、AD変換により非同期サンプルを得る構成であってもよい。この場合は、ゼロ相リスタート部、タイミング制御部、及び補間フィルタをさらにADC4313の後段に設ければよい。非同期サンプルから同期サンプルを得る必要があり、これらのブロックがその役割を担う。ゼロ相リスタート部は初期位相を決定するためのブロックで、できるだけ早く同期サンプルを得るために用いられる。初期位相を決定した後は、タイミング制御部で理想的なサンプル値と実際のサンプル値を比較し、位相のずれを検出する。これを用いて補間フィルタのパラメータを決定することにより、同期サンプルを得ることができる。   The ADC 4313 is configured to obtain a synchronous sample directly by AD conversion. In addition to this configuration, an asynchronous sample may be obtained by AD conversion. In this case, a zero-phase restart unit, a timing control unit, and an interpolation filter may be further provided after the ADC 4313. Synchronous samples need to be obtained from asynchronous samples, and these blocks play that role. The zero phase restart unit is a block for determining an initial phase, and is used to obtain a synchronization sample as soon as possible. After determining the initial phase, the timing controller compares the ideal sample value with the actual sample value to detect a phase shift. A synchronous sample can be obtained by determining parameters of the interpolation filter using this.

ソフト出力検出部4320は、符号間干渉に伴う復号特性の劣化を回避するために、ビタビアルゴリズムの一種であるSOVAなどを用いて、データ系列を検出する。一般的に、近年の磁気ディスク装置の記録密度の上昇に伴い、記録された符号間の干渉が大きくなり、これに応じて復号特性が劣化する。これを解決するため、これを克服する方式として符号間干渉による部分応答を利用した最ゆう復号(Partial Response MaximumLikeihood。以下、「PRML」と略記する。)方式を用いる。PRMLは、再生信号の部分応答のゆう度を最大にする信号系列を求める方式である。また、検出されたデータ系列を用いて、復号対象となる信号系列を複数生成する。詳細は後述する。   The soft output detection unit 4320 detects a data sequence using SOVA, which is a type of Viterbi algorithm, in order to avoid degradation of decoding characteristics due to intersymbol interference. Generally, with the recent increase in recording density of magnetic disk devices, interference between recorded codes increases, and the decoding characteristics deteriorate accordingly. In order to solve this problem, a method of maximum likelihood decoding (Partial Response Maximum Likelihood; hereinafter abbreviated as “PRML”) using a partial response due to intersymbol interference is used. PRML is a method for obtaining a signal sequence that maximizes the likelihood of a partial response of a reproduction signal. In addition, a plurality of signal sequences to be decoded are generated using the detected data sequence. Details will be described later.

ソフト出力検出部4320としてSOVA方式が用いられている場合、軟判定値を出力する。例えば、SOVAの出力として、(−0.71、+0.18、+0.45、−0.45、−0.9)という軟判定値が出力されたとする。これらの値は、0である可能性が大きいか、1である可能性が大きいかを数値で表している。例えば、1番目の−0.71は1である可能性が大きいことを示しており、2番目の+0.18は0である可能性が大きいが1である可能性も小さくはないことを意味する。従来のビタビディテクタの出力はハード値であり、SOVAの出力を硬判定したものである。上記の例の場合、(1、0、0、1、1)である。ハード値は、0であるか、1であるかのみを表しており、どちらの可能性が高いかという情報が失われている。このためLDPC繰返復号部4322に軟判定値を入力する方が復号性能が向上する。   When the SOVA method is used as the soft output detection unit 4320, a soft decision value is output. For example, assume that a soft decision value (−0.71, +0.18, +0.45, −0.45, −0.9) is output as the SOVA output. These values represent numerical values as to whether the possibility of being 0 or 1 is high. For example, the first -0.71 indicates that the possibility of 1 is large, and the second +0.18 indicates that the possibility of 0 is large but the possibility of 1 is not small. To do. The output of the conventional Viterbi detector is a hard value, and the output of SOVA is hard-decided. In the case of the above example, it is (1, 0, 0, 1, 1). The hard value represents only whether it is 0 or 1, and information on which is more likely is lost. For this reason, decoding performance is improved by inputting a soft decision value to the LDPC iterative decoding unit 4322.

RLL復号部4323は、ソフト出力検出部4320から出力されたデータに対して、ライトチャネル4031のRLL符号化部4303の逆操作を行い、元のデータ系列に戻す。デスクランブラ4324は、ライトチャネル4031のスクランブラ4302の逆操作を行い、元のデータ系列に戻す。ここで生成されたデータはHDC4001に転送される。   The RLL decoding unit 4323 performs the reverse operation of the RLL encoding unit 4303 of the write channel 4031 on the data output from the soft output detection unit 4320 to restore the original data series. The descrambler 4324 performs the reverse operation of the scrambler 4302 of the write channel 4031 to restore the original data series. The data generated here is transferred to the HDC 4001.

図40は、図39のソフト出力検出部4320の構成例を示す図である。ソフト出力検出部4320は、データ検出部4060と、生成部4062と、選択部4064とを含む。データ検出部4060は、データ系列を入力する。入力されるデータ系列は、1つのデータ系列でもよく、また、複数のデータ系列であってもよい。図41は、図40のデータ検出部4060の構成例を示す図である。データ検出部4060は、DDNP−SOVA部4066と、SOVA部4068とを含む。DDNP−SOVA部4066は、入力された信号に対して、過去の信号や雑音に依存して発生する雑音を予測する機能を有するビタビアルゴリズム(DDNP−SOVA)を実行することによって、データ系列を検出する。また、SOVA部4068は、入力された信号に対して、軟判定ビタビアルゴリズムを実行することによって、データ系列を検出する。なお、データ検出部4060は、DDNP−SOVA部4066、SOVA部4068以外のデータ検出装置から構成されていてもよい。たとえば、硬判定値を出力する通常のビタビアルゴリズムを用いてデータ検出を実行するデータ検出装置などから構成されていてもよい。また、データ検出部4060は、通常のビタビアルゴリズムを用いたデータ検出装置をさらに備えてもよい。   40 is a diagram illustrating a configuration example of the software output detection unit 4320 in FIG. The soft output detection unit 4320 includes a data detection unit 4060, a generation unit 4062, and a selection unit 4064. The data detection unit 4060 inputs a data series. The input data series may be one data series or a plurality of data series. FIG. 41 is a diagram illustrating a configuration example of the data detection unit 4060 of FIG. Data detection unit 4060 includes a DDNP-SOVA unit 4066 and a SOVA unit 4068. The DDNP-SOVA unit 4066 detects a data sequence by executing a Viterbi algorithm (DDNP-SOVA) having a function of predicting noise generated depending on past signals and noise on an input signal. To do. The SOVA unit 4068 detects a data series by executing a soft decision Viterbi algorithm on the input signal. Note that the data detection unit 4060 may include a data detection device other than the DDNP-SOVA unit 4066 and the SOVA unit 4068. For example, it may be configured by a data detection device that performs data detection using a normal Viterbi algorithm that outputs a hard decision value. The data detection unit 4060 may further include a data detection device using a normal Viterbi algorithm.

図40に戻る。生成部4062は、データ検出部4060によって入力されたデータ系列から複数の異なる信号系列を生成する。複数の信号系列は、1またはそれ以上のデータ系列に対し、後述する信号処理を実行することによって生成される。また、後段の復号処理によって復号処理が実行される前に、予めすべての信号系列が生成されていてもよい。また、復号処理、もしくは再復号処理を実行する必要が生じるたびに、復号の対象とすべき信号系列を生成してもよい。選択部4064は、生成部4062によって生成された複数の信号系列のうち1の信号系列を選択する。また、選択部4064は、図38のECC制御部4013によって誤り訂正できる確率が高い信号系列を優先して選択してもよい。具体的には、選択部4064は、生成部4062によって生成された複数の信号系列のうち、DDNP−SOVAを用いて検出されたデータ系列に対応する信号系列を優先して選択してもよい。また、選択部4064は、ECC制御部4013の指示に従って、すでに選択した信号系列とは異なる別の信号系列を選択してもよい。このように、複数の信号系列を復号対象とすることによって、雑音特性によらず、復号性能を安定化できる。いいかえると、複数の雑音特性を予め想定し、想定した雑音特性に強い信号系列を復号対象として生成することにより、想定した雑音特性の範囲内においては、復号性能を向上できることとなる。   Returning to FIG. The generation unit 4062 generates a plurality of different signal sequences from the data sequence input by the data detection unit 4060. The plurality of signal sequences are generated by performing signal processing to be described later on one or more data sequences. Further, all the signal sequences may be generated in advance before the decoding process is executed by the subsequent decoding process. In addition, every time it is necessary to execute a decoding process or a re-decoding process, a signal sequence to be decoded may be generated. The selection unit 4064 selects one signal sequence from the plurality of signal sequences generated by the generation unit 4062. Further, the selection unit 4064 may preferentially select a signal sequence that has a high probability of being error-corrected by the ECC control unit 4013 in FIG. Specifically, the selection unit 4064 may preferentially select a signal sequence corresponding to a data sequence detected using DDNP-SOVA among a plurality of signal sequences generated by the generation unit 4062. Further, the selection unit 4064 may select another signal sequence different from the already selected signal sequence in accordance with an instruction from the ECC control unit 4013. Thus, by making a plurality of signal sequences to be decoded, decoding performance can be stabilized regardless of noise characteristics. In other words, by assuming a plurality of noise characteristics in advance and generating a signal sequence strong against the assumed noise characteristics as a decoding target, the decoding performance can be improved within the range of the assumed noise characteristics.

ここで、生成部4062が、図41に示す2つのデータ検出部から出力された2つのデータ系列を用いて、信号系列を生成する場合について説明する。以下においては、図38のECC制御部4013によって誤りが訂正できる確率が比較的高いと考えられる10個の信号系列について説明する。なお、選択部4064において選択される順序は、必ずしも、後述する第1信号系列から選択しなくともよく、任意に設定してもよい。   Here, a case where the generation unit 4062 generates a signal sequence using the two data sequences output from the two data detection units illustrated in FIG. 41 will be described. Hereinafter, 10 signal sequences that are considered to have a relatively high probability that an error can be corrected by the ECC control unit 4013 of FIG. 38 will be described. Note that the selection order in the selection unit 4064 does not necessarily have to be selected from the first signal sequence described later, and may be set arbitrarily.

生成部4062は、図41に示すDDNP−SOVA部4066から出力された軟判定値の系列であるデータ系列に含まれる軟判定値をそれぞれ硬判定値化することによって信号系列(以下、「第1信号系列」と表記する)を生成する。また、生成部4062は、同様の処理をSOVA部4068から出力された軟判定の系列であるデータ系列に対しても実行して、信号系列(以下、「第2信号系列」と表記する)を生成する。なお、硬判定値化は、軟判定値が所定のしきい値より大きいか否かを判定し、その判定結果をもとに、0もしくは1のビットに置換えることによって実行される。たとえば、軟判定値が−α〜+α(α>0)の範囲をとる場合において、しきい値を0とする場合、軟判定値が正であれば0に、負であれば1に置換えればよい。また、軟判定値が0〜+β(β>0)の範囲をとる場合は、しきい値をβ/2としてもよい。これらの硬判定値化(以下、「第1修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。   The generation unit 4062 converts each of the soft decision values included in the data series that is a series of soft decision values output from the DDNP-SOVA unit 4066 shown in FIG. A signal series). The generation unit 4062 also performs the same processing on the data sequence that is the soft decision sequence output from the SOVA unit 4068, and generates a signal sequence (hereinafter referred to as a “second signal sequence”). Generate. The hard decision value conversion is executed by determining whether or not the soft decision value is larger than a predetermined threshold value and replacing it with 0 or 1 bits based on the determination result. For example, when the soft decision value is in the range of -α to + α (α> 0), when the threshold value is 0, it is replaced with 0 if the soft decision value is positive, and is replaced with 1 if the soft decision value is negative. That's fine. When the soft decision value is in the range of 0 to + β (β> 0), the threshold value may be β / 2. Since the hard decision value conversion (hereinafter referred to as “first correction determination algorithm”) can be realized with a simple configuration, the circuit scale can be reduced.

また、生成部4062は、図41のDDNP−SOVA部4066によって入力されたデータ系列に含まれる複数の信頼度のうち、所定のしきい値より小さい値を有する信頼度を探索する。さらに、軟判定値を硬判定値化した系列において、探索された信頼度に対応するビットの”0”と”1”とを反転することによって、信号系列(以下、「第3信号系列」と表記する)を生成する。また、生成部4062は、同様の処理をSOVA部4068から出力された軟判定の系列であるデータ系列に対しても実行し、信号系列(以下、「第4信号系列」と表記する)を生成する。ここで、「信頼度」とは、軟判定値の絶対値を示し、0以上の値を示す。これらの硬判定値化(以下、「第2修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。また、誤りの含まれている可能性の高い判定値を修正することによって、図42の復号部4070から出力される復号系列の誤り率を改善できる。   Further, generation unit 4062 searches for a reliability having a value smaller than a predetermined threshold among a plurality of reliability included in the data series input by DDNP-SOVA unit 4066 of FIG. Further, in a sequence obtained by converting a soft decision value into a hard decision value, a signal sequence (hereinafter referred to as a “third signal sequence”) is obtained by inverting the bits “0” and “1” corresponding to the searched reliability. Notation). The generation unit 4062 also performs the same processing on the data sequence that is the soft decision sequence output from the SOVA unit 4068 to generate a signal sequence (hereinafter referred to as “fourth signal sequence”). To do. Here, the “reliability” indicates an absolute value of the soft decision value, and indicates a value of 0 or more. Since these hard decision values (hereinafter referred to as “second modification determination algorithm”) can be realized with a simple configuration, the circuit scale can be reduced. Further, by correcting a determination value that is highly likely to contain an error, the error rate of the decoded sequence output from the decoding unit 4070 in FIG. 42 can be improved.

例を用いて説明する。以下にデータ系列に含まれる信頼度を示す。
{9 1 1 1 5 7 3 3 6 9}
また、以下に、硬判定されたデータ系列を示す。
{1 0 0 1 1 1 0 0 0 1}
ここで、しきい値を4とすると、第2修正判定アルゴリズムを用いて生成される信号系列は、以下で表される。以下に示すように、前式における2〜4、7、8ビット目が修正されることとなる。
{1 1 1 0 1 1 1 1 0 1}
This will be described using an example. The reliability included in the data series is shown below.
{9 1 1 1 5 7 3 3 6 9}
In addition, the data series subjected to the hard decision is shown below.
{1 0 0 1 1 1 0 0 0 1}
Here, assuming that the threshold value is 4, a signal sequence generated using the second correction determination algorithm is expressed as follows. As shown below, the 2nd, 4th, 7th and 8th bits in the previous equation are corrected.
{1 1 1 0 1 1 1 1 0 1}

また、生成部4062は、図41のDDNP−SOVA部4066によって入力されたデータ系列に含まれる複数の信頼度のうち、所定のしきい値より小さい値を有する信頼度が所定の個数より多く連続している区間を探索する。さらに、軟判定値を硬判定値化した系列において、探索された信頼度に対応するビットの”0”と”1”とを反転することによって、信号系列(以下、「第5信号系列」と表記する)を生成する。また、生成部4062は、同様の処理をSOVA部4068から出力された軟判定の系列であるデータ系列に対しても実行して、信号系列(以下、「第6信号系列」と表記する)を生成する。これらの硬判定値化(以下、「第3修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。また、誤りの含まれている区間を集中的に修正することによって、バースト誤りを低減できるので、図42の復号部4070から出力される復号系列の誤り率を改善できる。   Further, the generation unit 4062 continues the reliability having a value smaller than a predetermined threshold among a plurality of reliability included in the data series input by the DDNP-SOVA unit 4066 of FIG. 41 more than a predetermined number. Search the current section. Further, in a sequence obtained by converting a soft decision value into a hard decision value, a signal sequence (hereinafter referred to as a “fifth signal sequence”) is obtained by inverting “0” and “1” of bits corresponding to the searched reliability. Notation). The generation unit 4062 also performs the same processing on the data sequence that is the soft-decision sequence output from the SOVA unit 4068 to generate a signal sequence (hereinafter referred to as “sixth signal sequence”). Generate. Since these hard decision values (hereinafter referred to as “third modification determination algorithm”) can be realized with a simple configuration, the circuit scale can be reduced. Further, burst errors can be reduced by intensive correction of sections including errors, so that the error rate of the decoded sequence output from the decoding unit 4070 in FIG. 42 can be improved.

例を用いて説明する。以下にデータ系列に含まれる信頼度を示す。
{9 1 1 1 5 7 3 3 6 9}
以下に、硬判定されたデータ系列を示す。
{1 0 0 1 1 1 0 0 0 1}
ここで、所定のしきい値を4、所定の個数を3とすると、第3修正判定アルゴリズムを用いて生成される信号系列は、以下で表される。以下に示すように、上式における2、3、4ビット目が修正されることとなる。
{1 1 1 0 1 1 0 0 0 1}
This will be described using an example. The reliability included in the data series is shown below.
{9 1 1 1 5 7 3 3 6 9}
The data series subjected to the hard decision is shown below.
{1 0 0 1 1 1 0 0 0 1}
Here, assuming that the predetermined threshold is 4 and the predetermined number is 3, a signal sequence generated using the third correction determination algorithm is expressed as follows. As shown below, the second, third, and fourth bits in the above equation are corrected.
{1 1 1 0 1 1 0 0 0 1}

また、生成部4062は、図41のDDNP−SOVA部4066によって入力されたデータ系列のうち、所定の長さ以上の区間において、隣接する軟判定データの符号がそれぞれ異なる場合、区間に対応する軟判定データの符号を反転する。その後、軟判定データを硬判定値化することによって、信号系列(以下、「第7信号系列」と表記する)を生成する。「隣接する軟判定データの符号がそれぞれ異なる場合」とは、たとえば、軟判定データを硬判定値で表した場合に、「010101・・・」、もしくは、「101010・・・」となることを含む。また、生成部4062は、同様の処理をSOVA部4068から出力された軟判定の系列であるデータ系列に対しても実行することによって、信号系列(以下、「第8信号系列」と表記する)を生成する。これらの硬判定値化(以下、「第4修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。また、誤りの含まれている可能性が高いパターンを修正することによって、図42の復号部4070から出力される復号系列の誤り率を改善できる。   In addition, in the data series input by the DDNP-SOVA unit 4066 in FIG. 41, the generation unit 4062, when the code of adjacent soft decision data is different in a section longer than a predetermined length, The sign of the judgment data is inverted. Thereafter, the soft decision data is converted into a hard decision value to generate a signal sequence (hereinafter referred to as a “seventh signal sequence”). “When the signs of adjacent soft decision data are different” means that, for example, when the soft decision data is represented by a hard decision value, “010101...” Or “101010. Including. In addition, the generation unit 4062 performs a similar process on a data sequence that is a soft-decision sequence output from the SOVA unit 4068, thereby generating a signal sequence (hereinafter referred to as an “eighth signal sequence”). Is generated. Since these hard decision values (hereinafter referred to as “fourth correction decision algorithm”) can be realized with a simple configuration, the circuit scale can be reduced. Further, by correcting a pattern that is highly likely to contain an error, the error rate of the decoded sequence output from the decoding unit 4070 in FIG. 42 can be improved.

例を用いて説明する。以下に、硬判定されたデータ系列を示す。
{0 0 1 0 1 1 0 1 1 0}
ここで、所定の長さを4とすると、第4修正判定アルゴリズムを用いて生成される信号系列は、以下で表される。以下に示すように、上述における2〜5ビット目が修正されることとなる。
{0 1 0 1 0 1 0 1 1 0}
This will be described using an example. The data series subjected to the hard decision is shown below.
{0 0 1 0 1 1 0 1 1 0}
Here, assuming that the predetermined length is 4, a signal sequence generated using the fourth correction determination algorithm is expressed as follows. As shown below, the second to fifth bits in the above are corrected.
{0 1 0 1 0 1 0 1 1 0}

また、生成部4062は、図41のDDNP−SOVA部4066とSOVA部4068とによって入力された2つのデータ系列のいずれか一方の硬判定値をもとに、他方のデータ系列の硬判定値を修正することによって、信号系列を生成する。具体的には、生成部4062は、たとえば、DDNP−SOVA部4066のデータ系列を被修正系列として、SOVA部4068のデータ系列を用いて修正する。まず、生成部4062は、DDNP−SOVA部4066のデータ系列に含まれる第1データの硬判定値と、SOVA部4068のデータ系列に含まれるデータであって第1データと対応する位置に存在する第2データの硬判定値とを比較する。ここで、両者が異なる場合、DDNP−SOVA部4066のデータ系列のうち、対応する第2データと異なっている第1データを、その第2データに置換えることによって、信号系列(以下、「第9信号系列」と表記する。)を生成する。この硬判定値化(以下、「第5修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。また、2つのデータ系列のうち、互いに異なるデータに対して、一方を他方のデータと置換えることによって、図42の復号部4070から出力される復号系列の誤り率を改善できる。   Also, the generation unit 4062 generates a hard decision value of the other data series based on one of the hard decision values of the two data series input by the DDNP-SOVA unit 4066 and the SOVA unit 4068 of FIG. The signal sequence is generated by correcting. Specifically, for example, generation unit 4062 corrects the data series of DDNP-SOVA unit 4066 as a corrected series, using the data series of SOVA unit 4068. First, generation unit 4062 is a hard decision value of the first data included in the data series of DDNP-SOVA unit 4066 and data included in the data series of SOVA unit 4068 and exists at a position corresponding to the first data. The hard decision value of the second data is compared. Here, when the two are different, by replacing the first data different from the corresponding second data in the data series of the DDNP-SOVA unit 4066 with the second data, the signal series (hereinafter referred to as “first” 9 signal series ”). Since this hard decision value conversion (hereinafter referred to as “fifth correction determination algorithm”) can be realized with a simple configuration, the circuit scale can be reduced. Further, by replacing one of the two data series with data different from the other, the error rate of the decoded series output from the decoding unit 4070 in FIG. 42 can be improved.

例を用いて説明する。以下に、DDNP−SOVA部4066によって出力されたデータ系列の硬判定値を示す。
{0 0 1 0 1 1 0 1 1 0}
また、以下に、SOVA部4068によって出力されたデータ系列の硬判定値を示す。
{0 1 0 1 0 1 0 1 0 0}
ここで、DDNP−SOVA部4066によって出力されたデータ系列を被修正系列とした場合の修正後の系列を以下に示す。
{0 1 0 1 0 1 0 1 0 0}
This will be described using an example. The hard decision value of the data series output by DDNP-SOVA unit 4066 is shown below.
{0 0 1 0 1 1 0 1 1 0}
The hard decision values of the data series output by the SOVA unit 4068 are shown below.
{0 1 0 1 0 1 0 1 0 0}
Here, a corrected sequence when the data sequence output by the DDNP-SOVA unit 4066 is a corrected sequence is shown below.
{0 1 0 1 0 1 0 1 0 0}

生成部4062は、図41のDDNP−SOVA部4066とSOVA部4068とによって入力された2つのデータ系列のいずれか一方のデータ系列に含まれる第1データの硬判定値と、他方のデータ系列に含まれるデータであって第1データと対応する位置に存在する第2データの硬判定値とを比較する。さらに、比較した結果、第1データと第2データが異なる場合であって、「第2データの信頼度−第1データの信頼度>α(αは所定の値)」の条件を満たす場合、第1データを、第2データに置換えることによって、一方のデータ系列の硬判定値を修正する。具体的には、DDNP−SOVA部4066のデータ系列に含まれる複数のデータの硬判定値と、SOVA部4068のデータ系列に含まれる複数のデータの硬判定値とを、それぞれ対応するデータ同士で比較する。比較した結果、それぞれ異なっている場合であって、「信頼度1−信頼度2>α」となる場合における信頼度2に対応するデータを信頼度1に対応するデータの硬判定値に置換えることによって、信号系列(以下、「第10信号系列」と表記する)を生成する。この硬判定値化(以下、「第6修正判定アルゴリズム」と表記する)は、簡易な構成で実現できるため、回路規模が縮小できる。また、2つのデータ系列のうち、いずれか一方のデータ系列に含まれるデータを誤りが少ないと考えられるデータに置換えることによって、図42の復号部4070から出力される復号系列の誤り率を改善できる。   The generation unit 4062 generates the hard decision value of the first data included in one of the two data series input by the DDNP-SOVA unit 4066 and the SOVA unit 4068 of FIG. 41 and the other data series. The hard decision value of the 2nd data which is the data contained and exists in the position corresponding to 1st data is compared. Furthermore, as a result of the comparison, when the first data and the second data are different, and the condition “reliability of the second data−reliability of the first data> α (α is a predetermined value)” is satisfied, The hard decision value of one data series is corrected by replacing the first data with the second data. Specifically, the hard decision values of the plurality of data included in the data series of the DDNP-SOVA unit 4066 and the hard decision values of the plurality of data included in the data series of the SOVA unit 4068 are respectively corresponding data. Compare. As a result of the comparison, the data corresponding to the reliability 2 in the case where they are different and “reliability 1−reliability 2> α” is replaced with the hard decision value of the data corresponding to the reliability 1. Thus, a signal sequence (hereinafter referred to as “tenth signal sequence”) is generated. Since this hard decision value conversion (hereinafter referred to as “sixth correction determination algorithm”) can be realized with a simple configuration, the circuit scale can be reduced. Also, the error rate of the decoded sequence output from the decoding unit 4070 in FIG. 42 is improved by replacing the data included in one of the two data sequences with data that is considered to have few errors. it can.

例を用いて説明する。以下に、DDNP−SOVA部4066によって出力されたデータ系列の信頼度、硬判定値をそれぞれ示す。
{3 4 6 5 5 1 1 5 2 4}
{0 0 1 0 1 1 1 1 1 1}
また、以下に、SOVA部4068によって出力されたデータ系列の信頼度、硬判定値を示す。
{3 2 5 2 3 3 4 5 4 6}
{0 1 0 1 0 1 0 1 0 0}
また、第6修正判定アルゴリズムにもとづいて修正された後の系列を以下に示す。
{0 0 1 0 1 1 0 1 0 0}
This will be described using an example. The reliability and hard decision value of the data series output by the DDNP-SOVA unit 4066 are shown below.
{3 4 6 5 5 1 1 5 2 4}
{0 0 1 0 1 1 1 1 1 1}
In addition, the reliability and hard decision value of the data series output by the SOVA unit 4068 are shown below.
{3 2 5 2 3 3 4 5 4 6}
{0 1 0 1 0 1 0 1 0 0}
A series after being corrected based on the sixth correction determination algorithm is shown below.
{0 0 1 0 1 1 0 1 0 0}

上述した第1修正判定アルゴリズム〜第6修正判定アルゴリズムは、それぞれ組み合わせることによって、新たな修正判定アルゴリズムを導出できる。また、それにより、生成できる信号系列の種類、個数も増加できる。たとえば、第3、第4修正判定アルゴリズムのそれぞれは、第5、第6修正判定アルゴリズムと組み合わせることによって、より厳しい条件のもとで、信号系列が生成されることはいうまでもない。この場合、図38のECC制御部4013における復号候補を増加できるので、復号の安定性を向上できる。好ましくは、第2と第3修正判定アルゴリズムの組み合わせ、または、第2と第3と第4修正判定アルゴリズムの組み合わせ、または、第4と第6修正判定アルゴリズムの組み合わせを新たな修正判定アルゴリズムとすればよい。   The first correction determination algorithm to the sixth correction determination algorithm described above can be combined to derive a new correction determination algorithm. This also increases the types and number of signal sequences that can be generated. For example, each of the third and fourth modification determination algorithms can be combined with the fifth and sixth modification determination algorithms to generate a signal sequence under more severe conditions. In this case, decoding candidates in the ECC control unit 4013 in FIG. 38 can be increased, so that decoding stability can be improved. Preferably, a combination of the second and third correction determination algorithms, a combination of the second and third and fourth correction determination algorithms, or a combination of the fourth and sixth correction determination algorithms is set as a new correction determination algorithm. That's fine.

図42は、図38のECC制御部4013の構成例を示す図である。ECC制御部4013は、復号部4070と、誤り検出部4072と、判定部4074と、スイッチ4076とを示す。なお、ここでは、復号側における構成のみ図示し、符号化側における構成については省略する。ここで、復号部4070と、誤り検出部4072とは、連結され、もしくは、統合された装置であってもよい。復号部4070は、図40の選択部4064によって選択された信号系列を復号する。誤り検出部4072は、復号部4070によって誤りが訂正できたかどうかのチェックと、CRCなどによる誤り検出を行なう。なお、「図40の選択部4064によって選択された信号系列」とは、図40の選択部4064を含むソフト出力検出部4320の後段に存在するRLL復号部4323やデスクランブラ4324を経由して出力された信号系列なども含む。   FIG. 42 is a diagram illustrating a configuration example of the ECC control unit 4013 in FIG. The ECC control unit 4013 shows a decoding unit 4070, an error detection unit 4072, a determination unit 4074, and a switch 4076. Here, only the configuration on the decoding side is shown, and the configuration on the encoding side is omitted. Here, the decoding unit 4070 and the error detection unit 4072 may be connected or integrated devices. Decoding section 4070 decodes the signal sequence selected by selection section 4064 in FIG. The error detection unit 4072 performs a check as to whether or not the error has been corrected by the decoding unit 4070, and performs error detection using a CRC or the like. Note that “the signal sequence selected by the selection unit 4064 in FIG. 40” is output via the RLL decoding unit 4323 and the descrambler 4324 present in the subsequent stage of the software output detection unit 4320 including the selection unit 4064 in FIG. The signal sequence etc. which were made are also included.

判定部4074は、誤りが訂正できたと判断され、かつ、CRCなどによって誤りがないと判断された場合に、正しい復号結果が得られたと判定する。判定部4074において、正しい復号結果が得られたと判定された場合は、復号部4070によって復号された信号系列の出力がスイッチ4076に対して指示される。いいかえると、スイッチ4076は、指示があるまで、復号部4070から入力された信号を出力しない。また、判定部4074において、正しい復号結果が得られなかったと判定された場合は、選択部4064にてすでに選択された信号系列とは異なる別の信号系列の選択が指示され、選択部4064にて新たに選択された信号系列に対して復号部4070以下による処理が再実行される。ここで、「指示され」とは、スイッチ4076、もしくは、選択部4064に対して、ECC制御部4013が直接指示してもよく、また、図示しない制御部を介して指示してもよい。   The determination unit 4074 determines that a correct decoding result is obtained when it is determined that the error has been corrected and it is determined that there is no error by CRC or the like. If the determination unit 4074 determines that a correct decoding result has been obtained, the switch 4076 is instructed to output the signal sequence decoded by the decoding unit 4070. In other words, the switch 4076 does not output the signal input from the decoding unit 4070 until instructed. If the determination unit 4074 determines that a correct decoding result has not been obtained, the selection unit 4064 is instructed to select another signal sequence different from the signal sequence already selected by the selection unit 4064. The processing by the decoding unit 4070 and subsequent is re-executed on the newly selected signal sequence. Here, “instructed” may be instructed directly by the ECC control unit 4013 to the switch 4076 or the selection unit 4064 or may be instructed via a control unit (not shown).

上述したこれらの構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされた通信機能のあるプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   These configurations described above can be realized in hardware by a CPU, memory, or other LSI of an arbitrary computer, and in software by a program having a communication function loaded in the memory. Here, functional blocks realized by the cooperation are depicted. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

図43は、図40の選択部4064と、図42のECC制御部4013との動作例を示すフローチャートである。まず、選択部4064は、復号対象となる信号系列を選択する(S4010)。つぎに、ECC制御部4013において復号処理が実行される(S4012)。さらに、ECC制御部4013において、正しい復号結果が得られたかどうかを判定する(S4014)。正しい復号結果が得られたと判定された場合(S4014のY)、判定部4074は、スイッチ4076に対し、復号部4070から出力された復号系列をそのまま出力する旨の指示を行い(S4016)、処理を終了する。一方、正しい復号結果が得られなかったと判定された場合(S4014のN)、選択部4064は、復号対象を再度選択し、S4012以下の処理を繰り返す(S4018)。   FIG. 43 is a flowchart illustrating an operation example of the selection unit 4064 in FIG. 40 and the ECC control unit 4013 in FIG. First, the selection unit 4064 selects a signal sequence to be decoded (S4010). Next, a decoding process is executed in the ECC control unit 4013 (S4012). Further, the ECC control unit 4013 determines whether or not a correct decoding result has been obtained (S4014). When it is determined that a correct decoding result has been obtained (Y in S4014), the determination unit 4074 instructs the switch 4076 to output the decoded sequence output from the decoding unit 4070 as it is (S4016), and processing Exit. On the other hand, when it is determined that a correct decoding result has not been obtained (N in S4014), the selection unit 4064 selects the decoding target again, and repeats the processing from S4012 onward (S4018).

ここで、S4010、またはS4018における選択は、復号した結果、誤りを訂正できる可能性が高いと考えられる信号系列が優先される。ただし、必ずしもこのような順序である必要はなく、任意に設定してもよい。たとえば、選択の順序は、前述した第1信号系列を最初に選択し、以後、S4014において正しい復号結果が得られたと判定されるまで、順に、第2信号系列、第3信号系列、・・・、第10信号系列が選択される。この場合、選択の順序は、信号系列の番号で定義されてもよく、また、前述した第1修正判定アルゴリズム〜第6修正判定アルゴリズムで定義されてもよい。   Here, in the selection in S4010 or S4018, priority is given to a signal sequence considered to have a high possibility of correcting an error as a result of decoding. However, the order is not necessarily required, and may be arbitrarily set. For example, the selection order is such that the first signal sequence described above is selected first, and then the second signal sequence, the third signal sequence,..., In order until it is determined in S4014 that a correct decoding result has been obtained. The tenth signal sequence is selected. In this case, the selection order may be defined by the number of the signal sequence, or may be defined by the first modification determination algorithm to the sixth modification determination algorithm described above.

図44は、図40の生成部4062の動作例を示すフローチャートである。生成部4062は、まず、基準となるデータ系列を選択する(S4020)。基準となるデータ系列とは、修正対象となるデータ系列を指し、DDNP−SOVA部4066とSOVA部4068とのうち、いずれか一方から出力されたデータ系列をいう。つぎに、S4020において選択されたデータ系列に含まれるデータを1つずつ修正すべきか否かを判定する(S4022)。S4022において、修正すべきと判定された場合(S4022のY)、そのデータの符号を反転して、S4026の処理に移る(S4024)。修正すべきでないと判定された場合(S4022のN)、S4026の処理に移る。つぎに、S4026において、データ系列に含まれる全てのデータについて判定が終了したかを判断し、終了していないと判断された場合は、まだ判定されていないデータを対象として、S4022以下の処理が繰り返される(S4026のN)。一方、すべてのデータについて判定が終了したと判断された場合(S4026のY)、処理を終了する。なお、上述の処理は、信号系列を生成すべき修正判定アルゴリズムごとに実行されてもよいし、生成すべき信号系列ごとに実行されてもよい。したがって、複数の修正判定アルゴリズムを用いる場合、もしくは、複数の信号系列を生成する場合、図44に示すフローチャートは繰り返し実行されることとなる。   FIG. 44 is a flowchart illustrating an operation example of the generation unit 4062 of FIG. First, the generation unit 4062 selects a reference data series (S4020). The reference data series refers to a data series to be corrected, and is a data series output from either the DDNP-SOVA unit 4066 or the SOVA unit 4068. Next, it is determined whether or not the data included in the data series selected in S4020 should be corrected one by one (S4022). If it is determined in S4022 that correction is required (Y in S4022), the sign of the data is inverted, and the process proceeds to S4026 (S4024). If it is determined that it should not be corrected (N in S4022), the process proceeds to S4026. Next, in S4026, it is determined whether or not the determination has been completed for all the data included in the data series. It repeats (N of S4026). On the other hand, if it is determined that the determination has been completed for all data (Y in S4026), the process ends. Note that the above-described processing may be executed for each correction determination algorithm for generating a signal sequence, or may be executed for each signal sequence to be generated. Therefore, when a plurality of correction determination algorithms are used or when a plurality of signal sequences are generated, the flowchart shown in FIG. 44 is repeatedly executed.

本第5実施形態によれば、正しい復号結果が得られるまで、復号処理を繰り返すことによって、復号部における復号性能を向上できる。また、復号性能を安定化できる。また、誤りを訂正できる確率が高い信号系列を優先して選択することによって、復号部以下の所定の処理における繰り返し実行しなければならない回数を低減できる。また、復号の対象となる候補を複数生成できる。複数の候補を生成することにより、復号の確実性を向上できる。また、信頼性の低い軟判定値に対応する硬判定値を逆方向に修正することによって、復号特性を向上できる。また、複数の硬判定系列を互いに修正することによって、双方の雑音特性に強い信号系列を生成でき、復号特性を向上できる。また、信頼性の低い軟判定値に対応する硬判定値を逆方向に修正することによって、復号特性を向上できる。また、安定して高い復号能力を備える復号部を具備することによって、より高速に記憶システムにアクセスすることができる。また、余分なハードウェアを搭載する必要がなくなるので、低規模な半導体集積回路を実現できる。   According to the fifth embodiment, the decoding performance in the decoding unit can be improved by repeating the decoding process until a correct decoding result is obtained. Also, the decoding performance can be stabilized. In addition, by preferentially selecting a signal sequence that has a high probability of correcting an error, the number of times that it is necessary to repeatedly execute the predetermined processing below the decoding unit can be reduced. In addition, a plurality of candidates to be decoded can be generated. By generating a plurality of candidates, the certainty of decoding can be improved. Also, the decoding characteristic can be improved by correcting the hard decision value corresponding to the soft decision value with low reliability in the reverse direction. Also, by correcting a plurality of hard decision sequences with each other, a signal sequence that is strong against both noise characteristics can be generated, and the decoding characteristics can be improved. Also, the decoding characteristic can be improved by correcting the hard decision value corresponding to the soft decision value with low reliability in the reverse direction. In addition, the storage system can be accessed at higher speed by including a decoding unit having a stable and high decoding capability. Moreover, since it is not necessary to install extra hardware, a low-scale semiconductor integrated circuit can be realized.

以上、本発明を第5実施形態をもとに説明した。この第5実施形態は例示であり、第5実施形態相互の組み合わせ、または、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the fifth embodiment. The fifth embodiment is an exemplification, and various modifications can be made to combinations of the fifth embodiments or combinations of their constituent elements and processing processes, and such modifications are also within the scope of the present invention. It will be understood by those skilled in the art.

本第5実施形態においては、ECC制御部4013は、HDCの内部に搭載されているとして説明した。しかしながらこれにかぎらず、リードライトチャネルの内部に搭載されていてもよい。また、HDCとリードライトチャネルは、1つのLSIとして一体化されていてもよい。また、SOVAを用いて候補を作成するとして説明したが、Viterbiを用いもよい。この場合、軟判定値でなく、Viterbiから出力された硬判定値をもとに候補を作成すればよい。   In the fifth embodiment, the ECC control unit 4013 has been described as being mounted inside the HDC. However, the present invention is not limited to this, and it may be mounted inside the read / write channel. Also, the HDC and the read / write channel may be integrated as one LSI. Moreover, although demonstrated as producing a candidate using SOVA, Viterbi may be used. In this case, a candidate may be created based on the hard decision value output from Viterbi instead of the soft decision value.

なお、本第5実施形態は、上述した構成にかぎらず、たとえば、復号装置は、ディスクに記録された記録情報を読み取って、前記入力部に出力する読取部と、前記読取部における読取り状況を判定する読取状況判定部をさらに備えてもよい。読取状況判定部は、ディスクの特性、たとえば、ディスクの回転数、あるいは、読取り個所がディスクの内周か外周かを判定する。読取状況判定部は、ディスクに取り付けられるGMRヘッドの特性や、あるいはディスクの後段に配置される復号装置の内部のAD変換部の特性、または、装置外部の室温などを判定してもよい。これらの状況が判定された場合、選択部は、読取状況判定部において判定された状況に基づいて、出力すべき信号を決定してもよい。たとえば、他方より良い状況を示している入力部からの出力を優先的に選択して出力すればよい。このような態様により、状況に左右されずに、良好な結果を得ることができる。   Note that the fifth embodiment is not limited to the above-described configuration. For example, the decoding device reads the recording information recorded on the disk and outputs the information to the input unit, and the reading status in the reading unit. You may further provide the reading condition determination part which determines. The reading status determination unit determines the characteristics of the disc, for example, the rotational speed of the disc, or whether the reading location is the inner circumference or the outer circumference of the disc. The reading status determination unit may determine the characteristics of the GMR head attached to the disk, the characteristics of the AD conversion unit inside the decoding apparatus arranged at the subsequent stage of the disk, or the room temperature outside the apparatus. When these situations are determined, the selection unit may determine a signal to be output based on the status determined by the reading status determination unit. For example, the output from the input unit showing a better situation than the other may be preferentially selected and output. By such an aspect, a favorable result can be obtained regardless of the situation.

以上、本発明を実施形態をもとに説明した。この実施形態は例示であり、実施形態相互の組み合わせ、または、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and various modifications can be made to combinations of the embodiments or combinations of their constituent elements and processing processes, and such modifications are also within the scope of the present invention. It will be understood by those skilled in the art.

本発明の第1実施形態に係る記憶システムの構成を示す図である。1 is a diagram showing a configuration of a storage system according to a first embodiment of the present invention. 図1のR/Wチャネルの構成を示す図である。It is a figure which shows the structure of the R / W channel of FIG. 図3(a)〜(b)は、本発明の第1実施形態にかかるDCフリー特性の例を示す図である。FIGS. 3A to 3B are diagrams showing examples of DC-free characteristics according to the first embodiment of the present invention. 図2のRLL/DCフリー符号化部の構成例を示す図である。FIG. 3 is a diagram illustrating a configuration example of an RLL / DC free encoding unit in FIG. 2. 図4の直流成分除去符号化部の構成例を示す図である。FIG. 5 is a diagram illustrating a configuration example of a DC component removal encoding unit in FIG. 4. 図6(a)〜(c)は、図5の符号化系列選択部の第1〜第3の構成例を示す図である。6A to 6C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit in FIG. 図6(b)と図6(c)にそれぞれ示す符号化系列選択部の動作の相違を示す図である。It is a figure which shows the difference in operation | movement of the encoding sequence selection part each shown in FIG.6 (b) and FIG.6 (c). 図2のRLL/DCフリー復号部の構成例を示す図である。FIG. 3 is a diagram illustrating a configuration example of an RLL / DC free decoding unit in FIG. 2. 本発明の第2実施形態に係る記憶システムの構成を示す図である。It is a figure which shows the structure of the storage system which concerns on 2nd Embodiment of this invention. 図9のR/Wチャネルの構成を示す図である。FIG. 10 is a diagram showing a configuration of the R / W channel of FIG. 9. 図11(a)〜(b)は、本発明の第2実施形態にかかるDCフリー特性の例を示す図である。FIGS. 11A to 11B are diagrams illustrating examples of DC-free characteristics according to the second embodiment of the present invention. 図10のRLL/DCフリー/RS符号化部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free / RS encoding part of FIG. 図12のRLL/DCフリー符号化部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free encoding part of FIG. 図13の直流成分除去符号化部の構成例を示す図である。It is a figure which shows the structural example of the DC component removal encoding part of FIG. 図15(a)〜(c)は、図14の符号化系列選択部1074の第1〜第3の構成例を示す図である。FIGS. 15A to 15C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit 1074 of FIG. 図15(b)と図15(c)にそれぞれ示す符号化系列選択部の動作の相違を示す図である。It is a figure which shows the difference in operation | movement of the encoding sequence selection part each shown in FIG.15 (b) and FIG.15 (c). 図12のRLL/DCフリー/RS符号化部の動作例を示す図である。It is a figure which shows the operation example of the RLL / DC free / RS encoding part of FIG. 図12のRLL/DCフリー/RS符号化部の動作例を示すフローチャートである。13 is a flowchart illustrating an operation example of the RLL / DC free / RS encoding unit in FIG. 12. 図10のRLL/DCフリー/RS復号部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free / RS decoding part of FIG. 図19のRLL/DCフリー復号部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free decoding part of FIG. 本発明の第3実施形態に係る記憶システムの構成を示す図である。It is a figure which shows the structure of the storage system which concerns on 3rd Embodiment of this invention. 図21のR/Wチャネルの構成を示す図である。It is a figure which shows the structure of the R / W channel of FIG. 図23(a)〜(b)は、本発明の第3実施形態にかかるDCフリー特性の例を示す図である。FIGS. 23A to 23B are diagrams illustrating examples of DC-free characteristics according to the third embodiment of the present invention. 図22のRLL/DCフリー符号化部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free encoding part of FIG. 図24の直流成分除去符号化部の構成例を示す図である。It is a figure which shows the structural example of the DC component removal encoding part of FIG. 図26(a)〜(c)は、図25の符号化系列選択部の第1〜第3の構成例を示す図である。FIGS. 26A to 26C are diagrams illustrating first to third configuration examples of the encoded sequence selection unit in FIG. 図26(b)と図26(c)にそれぞれ示す符号化系列選択部の動作の相違を示す図である。FIG. 27 is a diagram illustrating a difference in operation between the encoded sequence selection units illustrated in FIG. 26B and FIG. 図22のRLL/DCフリー復号部の構成例を示す図である。It is a figure which shows the structural example of the RLL / DC free decoding part of FIG. 本発明の第4実施形態に係る磁気ディスク装置の構成を示す図である。It is a figure which shows the structure of the magnetic disc apparatus based on 4th Embodiment of this invention. 図29のR/Wチャネルの構成を示す図である。FIG. 30 is a diagram showing a configuration of an R / W channel of FIG. 29. 図31(a)は、図29のヘッドの入出力特性の例を示す図である。図31(b)は、図30のLPFの出力特性の例を示す図である。図31(c)は、図29のヘッドの出力波形の例を示す図である。FIG. 31A is a diagram showing an example of input / output characteristics of the head of FIG. FIG. 31B is a diagram illustrating an example of output characteristics of the LPF in FIG. FIG. 31C shows an example of the output waveform of the head shown in FIG. 図32(a)〜(c)は、図30のADCの入出力特性の例を示す図である。32A to 32C are diagrams showing examples of input / output characteristics of the ADC of FIG. 図30のADCの構成例を示す図である。It is a figure which shows the structural example of ADC of FIG. 図34(a)〜(c)は、図30のソフト出力検出部の出力信号の特性の例を示す図である。34A to 34C are diagrams illustrating examples of characteristics of output signals of the soft output detection unit in FIG. 図30のADCの構成の変形例を示す図である。It is a figure which shows the modification of the structure of ADC of FIG. 図33の抵抗素子の構成の変形例を示す図である。It is a figure which shows the modification of a structure of the resistance element of FIG. 図33の前置調整部の構成の変形例を示す図である。It is a figure which shows the modification of a structure of the front adjustment part of FIG. 本発明の第5実施形態に係る記憶システムの構成例を示す図である。It is a figure which shows the structural example of the storage system which concerns on 5th Embodiment of this invention. 図38のR/Wチャネルの構成を示す図である。It is a figure which shows the structure of the R / W channel of FIG. 図39のソフト出力検出部の構成例を示す図である。It is a figure which shows the structural example of the soft output detection part of FIG. 図40のデータ検出部の構成例を示す図である。It is a figure which shows the structural example of the data detection part of FIG. 図38のECC制御部の構成例を示す図である。It is a figure which shows the structural example of the ECC control part of FIG. 図40の選択部と、図42のECC制御部との動作例を示すフローチャートである。43 is a flowchart illustrating an operation example of the selection unit in FIG. 40 and the ECC control unit in FIG. 42. 図40の生成部の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the production | generation part of FIG.

符号の説明Explanation of symbols

1 HDC、 2 CPU、 3 R/Wチャネル、 4 VCM/SPM制御部、 5 DE、 11 主制御部、 12 データフォーマット制御部、 13 ECC制御部、 14 バッファRAM、 21 FROM、 22 RAM、 31 ライトチャネル、 32 リードチャネル、 50 ディスク媒体、 51 ヘッド、 52 VCM、 53 SPM、 54 プリアンプ、 60 第1RLL符号化部、 62 第1信号処理部、 64 第2RLL符号化部、 66 直流成分除去符号化部、 68 判定ビット取得部、 70 RLL復号部、 72 第2信号処理部、 74 符号化系列選択部、 76 選択識別情報生成部、 78 識別情報付加部、 80 第1比率計算部、 82 第2比率計算部、 84 選択出力部、 86 第1合算部、 88 第2合算部、 90 第1移動加算部、 92 第1最大値検出部、 94 第2移動加算部、 96 第2最大値検出部、 100 記憶システム、 200 第1特性、 210 第3特性、 300 第2特性、 301 バイトインターフェース部、 302 スクランブラ、 303 RLL/DCフリー符号化部、 304 LDPC符号化部、 305 ライトプリコン部、 306 ドライバ、 310 第4特性、 311 VGA、 312 LPF、 313 ADC、 314 周波数シンセサイザ、 315 フィルタ、 316 補間フィルタ、 317 AGC、 318 ゼロ相リスタート部、 319 タイミング制御部、 320 ソフト出力検出部、 321 同期信号検出部、 322 LDPC繰返復号部、 323 RLL/DCフリー復号部、 324 デスクランブラ。   1 HDC, 2 CPU, 3 R / W channel, 4 VCM / SPM controller, 5 DE, 11 Main controller, 12 Data format controller, 13 ECC controller, 14 Buffer RAM, 21 FROM, 22 RAM, 31 Write Channel, 32 read channel, 50 disk medium, 51 head, 52 VCM, 53 SPM, 54 preamplifier, 60 first RLL encoding unit, 62 first signal processing unit, 64 second RLL encoding unit, 66 DC component removal encoding unit 68 determination bit acquisition unit, 70 RLL decoding unit, 72 second signal processing unit, 74 encoded sequence selection unit, 76 selection identification information generation unit, 78 identification information addition unit, 80 first ratio calculation unit, 82 second ratio Calculation unit, 84 selection output unit, 86 first summation unit, 8 second summing unit, 90 first moving addition unit, 92 first maximum value detecting unit, 94 second moving adding unit, 96 second maximum value detecting unit, 100 storage system, 200 first characteristic, 210 third characteristic, 300 second characteristic, 301 byte interface unit, 302 scrambler, 303 RLL / DC free encoding unit, 304 LDPC encoding unit, 305 write precon unit, 306 driver, 310 fourth characteristic, 311 VGA, 312 LPF, 313 ADC , 314 Frequency synthesizer, 315 filter, 316 interpolation filter, 317 AGC, 318 zero phase restart unit, 319 timing control unit, 320 soft output detection unit, 321 synchronization signal detection unit, 322 LDPC iterative decoding unit, 323 RLL / DC Free decoding unit, 324 descrambler.

Claims (7)

デジタル信号系列をランレングス制限符号化することによって、第1符号化系列を生成する第1ランレングス制限符号化部と、
前記デジタル信号系列に対し、それに含まれる複数のビットの個数を変えない所定の信号処理を実行する信号処理部と、
前記信号処理部によって所定の信号処理が実行されたデジタル信号系列をランレングス制限符号化することによって、第2符号化系列を生成する第2ランレングス制限符号化部と、
前記第1ランレングス制限符号化部によって生成された第1符号化系列と、前記第2ランレングス制限符号化部によって生成された第2符号化系列とのうち、いずれか一方を選択して出力する直流成分除去符号化部と、
を備え、
前記直流成分除去符号化部は、
過去において選択された符号化系列と前記第1符号化系列とを連結させ、新たな第1符号化系列を生成する第1連結部と、
過去において選択された符号化系列と前記第2符号化系列とを連結させ、新たな第2符号化系列を生成する第2連結部と、
前記新たな第1符号化系列と、前記新たな第2符号化系列にもとづいて、前記第1符号化系列と前記第2符号化系列のうち、いずれか一方を選択する符号化系列選択部と、
を含むことを特徴とする符号化装置。
A first run-length limited encoding unit that generates a first encoded sequence by subjecting the digital signal sequence to run-length limited encoding;
A signal processing unit that performs predetermined signal processing on the digital signal sequence without changing the number of bits included in the digital signal sequence;
A second run length limited encoding unit that generates a second encoded sequence by performing run length limited encoding on the digital signal sequence that has been subjected to predetermined signal processing by the signal processing unit;
Select and output one of the first encoded sequence generated by the first run-length limited encoding unit and the second encoded sequence generated by the second run-length limited encoding unit A DC component removal encoding unit that performs
With
The DC component removal coding unit is
A first concatenation unit that concatenates the encoded sequence selected in the past and the first encoded sequence to generate a new first encoded sequence ;
A second concatenation unit that concatenates the encoded sequence selected in the past and the second encoded sequence to generate a new second encoded sequence ;
An encoded sequence selection unit that selects one of the first encoded sequence and the second encoded sequence based on the new first encoded sequence and the new second encoded sequence; ,
Encoding device which comprises a.
前記第1ランレングス制限符号化部と、前記第2ランレングス制限符号化部とが、同一の構成からなることを特徴とする請求項1に記載の符号化装置。   The encoding apparatus according to claim 1, wherein the first run-length limited encoding unit and the second run-length limited encoding unit have the same configuration. 前記信号処理部は、前記デジタル信号系列に含まれる複数のビットのうち、少なくとも一部のビットを反転させることを特徴とする請求項1または2に記載の符号化装置。   The encoding apparatus according to claim 1, wherein the signal processing unit inverts at least some of the plurality of bits included in the digital signal sequence. 前記直流成分除去符号化部は、
前記符号化系列選択部によって選択された符号化系列を示す選択識別情報を生成する選択識別情報生成部と、
前記符号化系列選択部によって選択された符号化系列のいずれかの個所に、選択識別情報生成部によって生成された選択識別情報を付加する識別情報付加部と、
をさらに含むことを特徴とする請求項1から3のいずれかに記載の符号化装置。
The DC component removal coding unit is
A selection identification information generating unit that generates selection identification information indicating the encoded sequence selected by the encoded sequence selection unit;
An identification information adding unit that adds selection identification information generated by the selection identification information generating unit to any part of the encoded sequence selected by the encoded sequence selection unit;
The encoding device according to claim 1, further comprising:
前記符号化系列選択部は、
前記新たな第1符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する第1比率計算部と、
前記新たな第2符号化系列に含まれる複数のビットのうち、0を示すビットと1を示すビットとの比率を計算する第2比率計算部と、
前記第1比率計算部で計算された比率と、前記第2比率計算部で計算された比率とのうち、50%に近いほうの比率に対応する符号化系列を選択して出力する選択出力部と、
を含むことを特徴とする請求項1から4のいずれかに記載の符号化装置。
The encoded sequence selection unit includes:
A first ratio calculator that calculates a ratio of a bit indicating 0 to a bit indicating 1 among a plurality of bits included in the new first encoded sequence;
A second ratio calculating unit that calculates a ratio between a bit indicating 0 and a bit indicating 1 among a plurality of bits included in the new second encoded sequence;
A selection output unit that selects and outputs an encoded sequence corresponding to a ratio closer to 50% of the ratio calculated by the first ratio calculation unit and the ratio calculated by the second ratio calculation unit When,
5. The encoding device according to claim 1, comprising:
前記符号化系列選択部は、
前記新たな第1符号化系列に含まれる複数のビットを合算して第1合算値を生成する第1合算部と、
前記新たな第2符号化系列に含まれる複数のビットを合算して第2合算値を生成する第2合算部と、
前記第1合算値と前記第2合算値とを比較して、前記新たな第1符号化系列と前記新たな第2符号化系列のうち、小さいほうの合算値に対応する符号化系列を選択して出力する選択出力部と、
を含むことを特徴とする請求項1から4のいずれかに記載の符号化装置。
The encoded sequence selection unit includes:
A first summing unit that sums a plurality of bits included in the new first encoded sequence to generate a first summed value;
A second summing unit that sums a plurality of bits included in the new second encoded sequence to generate a second summed value;
By comparing the second sum value from the first sum, the new first coded sequence and of the new second encoding sequence, selecting an encoding sequence corresponding to the sum of smaller A selection output unit for output,
5. The encoding device according to claim 1, comprising:
前記符号化系列選択部は、
前記新たな第1符号化系列に含まれる複数のビットを移動加算を計算することによって、複数のビットと同数の第1移動加算値を生成する第1移動加算部と、
前記第1移動加算部によって生成された複数の第1移動加算値のうち、最大値を検出する第1最大値検出部と、
前記新たな第2符号化系列に含まれる複数のビットを移動加算することによって、複数のビットと同数の第2移動加算値を生成する第2移動加算部と、
前記第2移動加算部によって生成された複数の第2移動加算値のうち、最大値を検出する第2最大値検出部と、
前記第1最大値検出部によって検出された最大値と、前記第2最大値検出部によって検出された最大値とを比較して、前記新たな第1符号化系列と前記新たな第2符号化系列のうち、小さいほうの最大値に対応する符号化系列を選択して出力する選択出力部と、
を含むことを特徴とする請求項1から4のいずれかに記載の符号化装置。
The encoded sequence selection unit includes:
A first moving addition unit that generates a first moving addition value equal to the plurality of bits by calculating a moving addition of the plurality of bits included in the new first encoded sequence;
A first maximum value detection unit that detects a maximum value among the plurality of first movement addition values generated by the first movement addition unit;
A second moving addition unit that generates the same number of second moving addition values as a plurality of bits by moving and adding a plurality of bits included in the new second encoded sequence;
A second maximum value detection unit for detecting a maximum value among the plurality of second movement addition values generated by the second movement addition unit;
The maximum value detected by the first maximum value detection unit and the maximum value detected by the second maximum value detection unit are compared, and the new first encoded sequence and the new second encoding are compared. A selection output unit that selects and outputs an encoded sequence corresponding to the smaller maximum value among the sequences;
5. The encoding device according to claim 1, comprising:
JP2007029075A 2007-02-08 2007-02-08 Encoder Active JP5090010B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007029075A JP5090010B2 (en) 2007-02-08 2007-02-08 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007029075A JP5090010B2 (en) 2007-02-08 2007-02-08 Encoder

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011237864A Division JP2012048814A (en) 2011-10-28 2011-10-28 Encoder, decoder, and recorded information reader

Publications (2)

Publication Number Publication Date
JP2008198239A JP2008198239A (en) 2008-08-28
JP5090010B2 true JP5090010B2 (en) 2012-12-05

Family

ID=39757043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007029075A Active JP5090010B2 (en) 2007-02-08 2007-02-08 Encoder

Country Status (1)

Country Link
JP (1) JP5090010B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6996634B2 (en) 2018-08-10 2022-01-17 株式会社村田製作所 Thermistor and method of manufacturing thermistor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023100404A1 (en) * 2021-11-30 2023-06-08 株式会社フェニックスソリューション Series antenna switching system and rf-tag reading system for shelves

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10208404A (en) * 1997-01-27 1998-08-07 Fujitsu Ltd Modulation method and modulation device, and demodulation method and demodulation device
JP3722180B2 (en) * 1997-12-12 2005-11-30 ソニー株式会社 Modulation apparatus and method, and recording medium
JP4132804B2 (en) * 2001-12-11 2008-08-13 ソニー株式会社 Modulation apparatus and method, recording medium, and program
JP3769753B2 (en) * 2003-03-24 2006-04-26 ソニー株式会社 Encoding apparatus, encoding method, recording medium, and program
JP2005044452A (en) * 2003-07-24 2005-02-17 Matsushita Electric Ind Co Ltd Code conversion method, code conversion circuit, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6996634B2 (en) 2018-08-10 2022-01-17 株式会社村田製作所 Thermistor and method of manufacturing thermistor

Also Published As

Publication number Publication date
JP2008198239A (en) 2008-08-28

Similar Documents

Publication Publication Date Title
US7849388B2 (en) Signal decoding method and device, and signal storage system
US7734981B2 (en) Signal decoder, a signal decoding method and a storage system
JP3749889B2 (en) Signal processing device to which PRML detection is applied, disk storage device having the device, and signal processing method for feedback control in the device
US20050195923A1 (en) Apparatus for recording and regenerating data
JP2004164767A (en) Decoding method of data and disk device using it
JP4290688B2 (en) Data writing apparatus and storage system
US7812745B2 (en) Coding apparatus, decoding apparatus, amplitude adjustment apparatus, recorded information reader, signal processing apparatus and storage system
JP4846626B2 (en) Signal processing device
US9251845B2 (en) Multi-level enumerative encoder and decoder
JP4603490B2 (en) Amplitude adjusting apparatus, amplitude adjusting method, and storage system
US9118348B2 (en) Decoding apparatus, storage apparatus, and decoding method
JP5090010B2 (en) Encoder
JP2011109236A (en) Coding method and device, and decoding method and device
JP4916728B2 (en) Encoding device, signal processing device, and storage system
US7388523B2 (en) MTR encoding method, MTR decoding method, MTR encoder, MTR decoder, and magnetic recording device
JP5298174B2 (en) System comprising an encoder for generating a balanced non-binary q-ary output symbol sequence and method of operating the encoder
JP2012048814A (en) Encoder, decoder, and recorded information reader
US7138931B2 (en) Recording and reproducing apparatus
US20050116843A1 (en) Rate-7/8 maximum transition run code encoding and decoding method and apparatus
JP4443518B2 (en) Decoding device and decoding method
US8700981B2 (en) Low latency enumeration endec
JP2007200440A (en) Signal encoding device, signal decoding device, signal processing device, and storage system
JP2007200412A (en) Encoding device, decoding device, signal processing device, and storage system
JP2004265488A (en) Disk storage device and data reproducing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120321

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120911

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120912

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150921

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5090010

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250