JPH07162319A - Error correcting circuit - Google Patents

Error correcting circuit

Info

Publication number
JPH07162319A
JPH07162319A JP30300393A JP30300393A JPH07162319A JP H07162319 A JPH07162319 A JP H07162319A JP 30300393 A JP30300393 A JP 30300393A JP 30300393 A JP30300393 A JP 30300393A JP H07162319 A JPH07162319 A JP H07162319A
Authority
JP
Japan
Prior art keywords
circuit
decoding
error correction
shift register
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30300393A
Other languages
Japanese (ja)
Inventor
Toru Kuroda
徹 黒田
Shigeki Moriyama
繁樹 森山
Masayuki Takada
政幸 高田
Tsukasa Yamada
宰 山田
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting Corp
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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP30300393A priority Critical patent/JPH07162319A/en
Publication of JPH07162319A publication Critical patent/JPH07162319A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute soft decision decoding by a simple circuit configuration and to obtain a high correction effect for a receiver, a reader, etc., in a transmission system or a recording system using a code to be decoded by a majority logic circuit by applying a trellis decoding method to be easily applied to a soft decision decoding method to a code to be decoded by majority logic. CONSTITUTION:A difference set circulating code is fetched by an n-bit shift register circuit 4 (21, 11) and shifted to generate data S1 to Sm and the data S1 to Sm outputted from the circuit 4 are fetched through a branch metric comparing circuit 5, two addition circuits 6 and a decision circuit 7 and the difference set circulating code is decoded by majority logic decoding using a Tolleris diagram (21, 11).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は例えば、TV多重文字放
送、FM多重放送、衛星データチャネルなどのデジタル
受信機や光カードのリーダ装置などのように、デジタル
信号の伝送、記録を行う装置で使用される多数決論理復
号可能な符号の誤り訂正を行なう誤り訂正回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is an apparatus for transmitting and recording digital signals such as digital receivers for TV multiplex character broadcasting, FM multiplex broadcasting, satellite data channels, etc., and optical card readers. The present invention relates to an error correction circuit that corrects an error in a majority logic decodable code used.

【0002】[発明の概要]本発明はある種の演算をブ
ロック単位で行なってデジタル伝送やデジタル記録等に
おいて発生するデジタル信号のビット誤りを訂正する誤
り訂正符号(ブロック符号)のうち、多数決論理回路に
よって復号可能な符号の復号を行なう誤り訂正回路に関
するもので、シンドロームレジスタ回路の演算部におい
て、トレリス線図を用いた演算を行なうことにより、誤
り訂正能力を大幅に向上させるものである。
SUMMARY OF THE INVENTION The present invention is based on a majority decision logic among error correction codes (block codes) for correcting a bit error of a digital signal generated in digital transmission, digital recording, etc. by performing a certain kind of operation in block units. The present invention relates to an error correction circuit that decodes a code that can be decoded by a circuit, and significantly improves error correction capability by performing an operation using a trellis diagram in the operation unit of the syndrome register circuit.

【0003】[0003]

【従来の技術】TV多重文字放送、FM多重放送、衛星
データチャネルなどのデジタル受信機や光カードのリー
ダ装置などの装置で使用される多数決論理復号可能な符
号を復号する方式に関し、従来、特公平3−76612
号(特願昭58−6579号)公報、特公平2−111
84号(特願昭58−54002号)に開示されている
ようなしきい値を可変して訂正効果を改善する方法が知
られている。
2. Description of the Related Art A system for decoding a majority logic decodable code used in a device such as a digital receiver for TV multiplex character broadcasting, FM multiplex broadcasting, satellite data channels, etc., or an optical card reader device, has been conventionally described. Fairness 3-76612
(Japanese Patent Application No. 58-6579), Japanese Patent Publication No. 2-111
There is known a method of improving the correction effect by varying the threshold value as disclosed in Japanese Patent Application No. 84-54002.

【0004】また、他の復号方法として、例えば、
“1”、“0”のデジタル値を用いて入力信号を復号す
る方法(軟判定復号法)として、APP(A Posterior
Probability )復号法が提案されている(J.L.Massey
“Threshold decoding" CambridgeMassachusetts MIT P
ress(1963) )。
As another decoding method, for example,
As a method (soft decision decoding method) for decoding an input signal using digital values of "1" and "0", APP (A Posterior
Probability) decoding method has been proposed (JLMassey
“Threshold decoding” Cambridge Massachusetts MIT P
ress (1963)).

【0005】また、上述した符号以外の符号、例えば畳
み込み符号の復号法として、トレリス線図を利用したビ
タビ復号法なども提案されている。
A Viterbi decoding method using a trellis diagram has been proposed as a decoding method for codes other than the above-mentioned codes, for example, a convolutional code.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来の各復号法においては、次に述べるような問題が
あった。
However, the above-mentioned conventional decoding methods have the following problems.

【0007】すなわち、特公平3−76612号公報、
特公平2−11184号公報に開示されているようなし
きい値を可変して訂正効果を改善する方法では、入力信
号が“1”、“0”のようなデジタルデータに対して対
応することができるものの、入力信号がアナログ値また
は複数ビットのデジタル値となった軟判定復号法に対し
ては、適用することができないという問題があった。
That is, Japanese Patent Publication No. 3-76612,
In the method of varying the threshold value to improve the correction effect as disclosed in Japanese Patent Publication No. 2-11184, it is possible to deal with digital data such as "1" or "0" as an input signal. Although possible, there is a problem that it cannot be applied to the soft-decision decoding method in which the input signal is an analog value or a digital value of multiple bits.

【0008】また、APP復号法では、軟判定復号法を
基本としているため、上述した可変しきい値法より、誤
り訂正能力を向上させることができるものの、復号方式
が複雑であることから、装置化が難しいという問題があ
った。
Further, since the APP decoding method is based on the soft-decision decoding method, the error correction capability can be improved as compared with the above-mentioned variable threshold method, but the decoding method is complicated, so that the apparatus There was a problem that it was difficult to realize.

【0009】また、ビタビ復号に関しては、畳み込み符
号の復号に使用することができるものの、多数決論理復
号が可能な符号、例えばブロック符号には適用すること
ができないという問題があった。
Further, the Viterbi decoding has a problem that it can be used for decoding a convolutional code but cannot be applied to a code capable of majority logic decoding, for example, a block code.

【0010】本発明は上記の事情に鑑み、軟判定復号法
への応用が容易なトレリス復号法を多数決論理復号可能
な符号に応用することにより、簡単な回路構成で軟判定
復号を行なうことができ、これによって多数決論理回路
で復号可能な符号を用いた伝送系や記録系の受信機、読
み取り機などにおいて高い訂正効果を得ることができる
誤り訂正回路を提供することを目的としている。
In view of the above circumstances, the present invention can perform soft-decision decoding with a simple circuit configuration by applying the trellis decoding method, which is easy to apply to the soft-decision decoding method, to a code capable of majority logic decoding. Therefore, it is an object of the present invention to provide an error correction circuit that can obtain a high correction effect in a receiver of a transmission system or a recording system using a code that can be decoded by a majority logic circuit, a reader, or the like.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
めに本発明による誤り訂正回路は、多数決論理復号可能
な符号を取り込み、これをシフトしてデータS1 〜Sm
を生成するシフトレジスタ回路と、このシフトレジスタ
回路から出力されるデータS1 〜Sm を取り込むととも
に、トレリス線図を用いた多数決論理復号によって入力
された多数決論理復号可能な符号を復号する復号回路と
を備えたことを特徴としている。
In order to achieve the above object, an error correction circuit according to the present invention takes in a code capable of majority logic decoding and shifts it to shift the data S 1 to S m.
And a decoding circuit for taking in the data S 1 to S m output from the shift register circuit and for decoding a majority-decision-logic decodable code input by majority-logic decoding using a trellis diagram. It is characterized by having and.

【0012】[0012]

【作用】上記の構成において、シフトレジスタ回路によ
って多数決論理復号可能な符号が取り込まれて、これが
シフトされ、データS1 〜Sm が生成されるとともに、
復号回路によって前記シフトレジスタ回路から出力され
るデータS1 〜Sm が取り込まれ、トレリス線図を用い
た多数決論理復号により入力された多数決論理復号可能
な符号が復号される。
In the above configuration, the shift register circuit takes in a code capable of majority logic decoding and shifts it to generate the data S 1 to S m , and
The decoding circuit takes in the data S 1 to S m output from the shift register circuit, and decodes the inputted majority logic decodable code by the majority logic decoding using the trellis diagram.

【0013】[0013]

【実施例】図1は本発明による誤り訂正回路の一実施例
を用いて、多数決論理復号可能な符号の1種である(2
1,11)差集合巡回符号を誤り訂正しながら復号する
誤り訂正回路の一例を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a kind of code which can be majority-decodable by using an embodiment of an error correction circuit according to the present invention (2
1 and 11) is a block diagram illustrating an example of an error correction circuit that decodes a difference set cyclic code while performing error correction.

【0014】この図に示す誤り訂正回路1はサンプルA
/D変換回路2と、スイッチ回路3と、nビットシフト
レジスタ回路4と、枝メトリック比較回路5と、2つの
加算回路6と、決定回路7とを備えており、多数決論理
復号可能な符号の1種である(21,11)差集合巡回
符号を取り込むとともに、これをA/D変換しながらシ
フトし、このシフト動作によって得られたデータS1
21に対してトレリス線図を用いた多数決論理復号を行
なって前記(21,11)差集合巡回符号の誤りを訂正
しながら、これを復号する。
The error correction circuit 1 shown in FIG.
A / D conversion circuit 2, a switch circuit 3, an n-bit shift register circuit 4, a branch metric comparison circuit 5, two adder circuits 6 and a decision circuit 7 are provided, and the majority logic decodable code is provided. One kind of (21,11) difference set cyclic code is taken in, and this is shifted while A / D converting, and the data S 1 to
While correcting errors of the (21, 11) a difference set cyclic code by performing a majority logic decoding using a trellis diagram with respect to S 21, decodes it.

【0015】サンプルA/D変換回路2は受信したアナ
ログ形式の(21,11)差集合巡回符号を適切なクロ
ック速度でサンプリングして数ビット(nビット)のデ
ジタル値に量子化したデジタル信号を生成し、これをス
イッチ回路3に供給する。
The sample A / D conversion circuit 2 samples the received analog type (21, 11) difference set cyclic code at an appropriate clock speed and quantizes the digital signal into a digital value of several bits (n bits). It is generated and supplied to the switch circuit 3.

【0016】スイッチ回路3は信号入力動作時と、訂正
動作時とにおいて切り替えられるスイッチを備えてお
り、信号入力動作時には、前記サンプルA/D変換回路
2から出力されるnビットのデジタル信号を取り込ん
で、これをnビットシフトレジスタ回路4に供給し、ま
た訂正動作時には、前記決定回路7から出力されるフィ
ードバック値を取り込んで、これをnビットシフトレジ
スタ回路4に供給する。
The switch circuit 3 is provided with a switch that can be switched between a signal input operation and a correction operation. During the signal input operation, the n-bit digital signal output from the sample A / D conversion circuit 2 is taken in. Then, this is supplied to the n-bit shift register circuit 4, and at the time of the correction operation, the feedback value output from the decision circuit 7 is fetched and supplied to the n-bit shift register circuit 4.

【0017】nビットシフトレジスタ回路4は量子化さ
れたデジタル信号を取込みながら、シフトして蓄積する
回路であり、前記スイッチ回路3から出力されるデジタ
ル信号を取込みながら、シフトし、1番目から21番目
の各アドレスに対応する各々、nビットのデータ長を持
つデータS1 〜S21を生成し、データS1 〜S20を枝メ
トリック比較回路5に供給し、データS21を決定回路7
に供給する。
The n-bit shift register circuit 4 is a circuit for shifting and accumulating the quantized digital signal while taking in the quantized digital signal. The n-bit shift register circuit 4 shifts while taking in the digital signal output from the switch circuit 3 and shifts from the first to 21st. The data S 1 to S 21 each having a data length of n bits corresponding to each of the th address are generated, the data S 1 to S 20 are supplied to the branch metric comparison circuit 5, and the data S 21 is determined.
Supply to.

【0018】枝メトリック比較回路5は前記nビットシ
フトレジスタ回路4に対するシンドロームレジスタ回路
となる、4個従属接続され、5段に配置される20個の
枝メトリック比較器9を備えており、これらの各枝メト
リック比較器9によって前記nビットシフトレジスタ回
路4から出力されるデータS1 〜S20を各々取り込むと
ともに、トレリス線図を用いた比較処理を行なってこれ
ら比較結果を各比較回路6に各々、供給する。
The branch metric comparator circuit 5 is provided with 20 branch metric comparators 9 arranged in 5 stages, which are connected in cascade to form a syndrome register circuit for the n-bit shift register circuit 4. The branch metric comparators 9 take in the data S 1 to S 20 output from the n-bit shift register circuit 4, respectively, and perform a comparison process using a trellis diagram to obtain the comparison results in the comparison circuits 6, respectively. , Supply.

【0019】この場合、前記各枝メトリック比較器9は
図2に示す如くnビットシフトレジスタ回路4から出力
されるデータS1 〜S20のうち、予め設定されているデ
ータSj (但し、j=1、…、20のいずれかの値)を
取り込むとともに、このデータSj と“0”レベルとの
ユークリッド距離を演算する一方の2乗ユークリッド距
離演算回路10と、前記データSj と“1”レベルとの
ユークリッド距離を演算する他方の2乗ユークリッド距
離演算回路11と、この他方の2乗ユークリッド距離演
算回路11から出力されるユークリッド距離と前列の枝
メトリック比較器9の一方の出力端子から出力される和
(但し、先頭の枝メトリック比較器9においては、
“0”)とを加算する加算器12と、前記一方の2乗ユ
ークリッド距離演算回路10から出力されるユークリッ
ド距離と前列の枝メトリック比較器9の他方の出力端子
から出力される和(但し、先頭の枝メトリック比較器9
においては、“0”)とを加算する加算器13と、これ
らの各加算器12、13から出力される和を比較し、値
が小さい方を選択してこれを和として出力する比較回路
14とを備えている。
In this case, each branch metric comparator 9 outputs preset data S j (where j is among the data S 1 to S 20 output from the n-bit shift register circuit 4 as shown in FIG. 2). = 1, ..., 20) and one of the squared Euclidean distance calculation circuits 10 for calculating the Euclidean distance between the data S j and the “0” level, and the data S j and “1”. From the other squared Euclidean distance calculation circuit 11 for calculating the Euclidean distance with the level, and from one output terminal of the other Euclidean distance squared Euclidean distance calculation circuit 11 and the branch metric comparator 9 in the front row Output sum (however, in the leading branch metric comparator 9,
"0"), the Euclidean distance output from the one squared Euclidean distance calculation circuit 10 and the sum output from the other output terminal of the branch metric comparator 9 in the preceding column (however, Leading edge metric comparator 9
In addition, the adder 13 for adding "0") is compared with the sum output from each of the adders 12 and 13, and the comparison circuit 14 for selecting the one having the smaller value and outputting this as the sum. It has and.

【0020】さらに、これらの各枝メトリック比較器9
は前記一方の2乗ユークリッド距離演算回路10から出
力されるユークリッド距離と前列の枝メトリック比較器
9の一方の出力端子から出力される和(但し、先頭の枝
メトリック比較器9においては、“0”)とを加算する
加算器15と、前記他方の2乗ユークリッド距離演算回
路11から出力されるユークリッド距離と前列の枝メト
リック比較器9の他方の出力端子から出力される和(但
し、先頭の枝メトリック比較器9においては、“0”)
とを加算する加算器16と、これらの各加算器15、1
6から出力される和を比較し、値が小さい方を選択して
これを和として出力する比較回路17とを備えている。
Further, each of these branch metric comparators 9
Is the sum of the Euclidean distance output from the one squared Euclidean distance calculation circuit 10 and the output from one output terminal of the branch metric comparator 9 in the preceding column (however, in the leading branch metric comparator 9, “0 ”), The Euclidean distance output from the other squared Euclidean distance calculation circuit 11 and the sum output from the other output terminal of the branch metric comparator 9 in the preceding column (however, In the branch metric comparator 9, "0")
And an adder 16 for adding
The comparison circuit 17 compares the sums output from 6 and selects the one with the smaller value and outputs the sum as the sum.

【0021】そして、先頭列の各枝メトリック比較器9
においては、“0”を取込み、また2列目〜4列目の各
枝メトリック比較器9においては、前列の各枝メトリッ
ク比較器9の対応する側の出力を取り込む。さらに、n
ビットシフトレジスタ回路4から出力されるデータS1
〜S20を各々、取り込んで、“0”レベルからのユーク
リッド距離と、“1”レベルからのユークリッド距離と
を演算するとともに、これらの各ユークリッド距離と、
前列の対応する側の出力とを各々、加算して小さい方の
和を選択し、これを対応する側の出力端子から出力して
後列の枝メトリック比較器9の対応する側の入力端子ま
たは、対応する側の加算回路6に各々、供給する。
Then, each branch metric comparator 9 in the first column
, "0" is taken in, and the branch metric comparators 9 in the second to fourth columns take in the outputs on the corresponding sides of the branch metric comparators 9 in the previous row. Furthermore, n
Data S 1 output from the bit shift register circuit 4
~ S 20 is taken in to calculate the Euclidean distance from the “0” level and the Euclidean distance from the “1” level, and each of these Euclidean distances,
The outputs on the corresponding side of the front row are added to select the smaller sum, and this is output from the output terminal on the corresponding side, or the input terminal on the corresponding side of the branch metric comparator 9 in the rear row, or They are supplied to the adder circuits 6 on the corresponding sides.

【0022】なお、この図2においては、“0”レベル
を“−1”、“1”レベルを“+1”として表現してい
る。
In FIG. 2, the "0" level is expressed as "-1" and the "1" level is expressed as "+1".

【0023】各加算回路6は各々、前記最終列にある各
枝メトリック比較器9の対応する側の出力端子から出力
される和を取り込むとともに、これらを各々、加算して
総和を演算し、これを決定回路7の対応する側の入力端
子に供給する。
Each adder circuit 6 takes in the sum output from the output terminal on the corresponding side of each branch metric comparator 9 in the last column, adds them, and calculates the sum. Is supplied to the input terminal on the corresponding side of the decision circuit 7.

【0024】決定回路7は図3に示す如くnビットシフ
トレジスタ回路4から出力されるデータS21を取り込む
とともに、このデータS21と“0”レベルとのユークリ
ッド距離を演算する一方の2乗ユークリッド距離演算回
路20と、前記データS21と“1”レベルとのユークリ
ッド距離を演算する他方の2乗ユークリッド距離演算回
路21と、この他方の2乗ユークリッド距離演算回路2
1から出力されるユークリッド距離と前記一方の加算回
路6から出力される総和とを加算し、この加算結果Aを
出力する加算器22と、前記一方の2乗ユークリッド距
離演算回路20から出力されるユークリッド距離と前記
他方の加算回路6から出力される総和とを加算し、この
加算結果Bを出力する加算器23と、これらの各加算器
22、23から出力される各加算結果A、Bを比較し、
“A≧B”であれば、“0”を生成し、“A<B”であ
れば、“1”を生成し、これを出力端子に出力するとと
もに、各加算結果A、Bの値から入力信号を逆算し、必
要に応じて適切なスケーリングを行なって値を加減して
フィードバック値を生成し、これを前記スイッチ回路3
に戻す比較器24とを備えている。
The decision circuit 7 takes in the data S 21 output from the n-bit shift register circuit 4 as shown in FIG. 3 and calculates the Euclidean distance between the data S 21 and the "0" level, which is one of the squared Euclidean signals. The distance calculation circuit 20, the other squared Euclidean distance calculation circuit 21 for calculating the Euclidean distance between the data S 21 and the “1” level, and the other squared Euclidean distance calculation circuit 2
The Euclidean distance output from 1 and the sum total output from the one adder circuit 6 are added, and the adder 22 that outputs the addition result A and the one square Euclidean distance calculation circuit 20 are output. The Euclidean distance and the sum total output from the other adder circuit 6 are added, and the adder 23 that outputs the addition result B and the addition results A and B output from the adders 22 and 23 are added. Compare
If “A ≧ B”, “0” is generated, and if “A <B”, “1” is generated, and this is output to the output terminal. The input signal is back-calculated, and if necessary, appropriate scaling is performed to adjust the value to generate a feedback value, which is used as the switch circuit 3
And a comparator 24 for returning to the.

【0025】そして、nビットシフトレジスタ回路4か
ら出力されるデータS21を取り込んで、“0”レベルか
らのユークリッド距離と、“1”レベルからのユークリ
ッド距離とを演算し、これらの各ユークリッド距離と、
各加算回路6から出力される各総和とを各々、加算して
加算結果A、Bを求めるとともに、これらの各加算結果
A、Bを比較し、“A≧B”であれば、“0”を生成
し、“A<B”であれば、“1”を生成し、これを出力
端子に出力し、さらに前記各加算結果A、Bの値から入
力信号を逆算した後、この逆算結果に対し、必要に応じ
て適切なスケーリングを行なって値を加減し、これをフ
ィードバック値として前記スイッチ回路3に戻す。
Then, the data S 21 output from the n-bit shift register circuit 4 is taken in, the Euclidean distance from the "0" level and the Euclidean distance from the "1" level are calculated, and these Euclidean distances are calculated. When,
The sums output from the adder circuits 6 are added to obtain addition results A and B, and the addition results A and B are compared. If “A ≧ B”, “0” If "A <B", then "1" is generated, this is output to the output terminal, the input signal is back-calculated from the values of the respective addition results A and B, and this back-calculation result is obtained. On the other hand, if necessary, appropriate scaling is performed to adjust the value, and this value is returned to the switch circuit 3 as a feedback value.

【0026】このようにこの実施例においては、多数決
論理復号可能な符号の1種である(21,11)差集合
巡回符号を取り込むとともに、これをA/D変換しなが
らシフトし、このシフト動作によって得られたデータS
1 〜S21に対してトレリス線図を用いた多数決論理復号
を行なって前記(21,11)差集合巡回符号の誤りを
訂正しながら、これを復号するようにしたので、簡単な
回路構成で軟判定復号を行なうことができ、これによっ
て多数決論理回路で復号可能な符号を用いた伝送系や記
録系の受信機、読み取り機などにおいて高い訂正効果を
得ることができる。
As described above, in this embodiment, a (21,11) difference set cyclic code, which is one type of code capable of majority logic decoding, is taken in, and this is shifted while A / D converting, and this shift operation is performed. Data obtained by S
While by performing majority logic decoding using trellis diagram corrects an error of the (21, 11) a difference set cyclic code with respect to 1 to S 21, since so as to decode it, with a simple circuit configuration Soft-decision decoding can be performed, whereby a high correction effect can be obtained in a receiver or reader of a transmission system or a recording system that uses a code that can be decoded by a majority logic circuit.

【0027】また、上述した実施例においては、各枝メ
トリック比較器9や決定回路7において、2乗ユークリ
ッド距離を使用し、枝メトリックを決定しているが、こ
れら各枝メトリック比較器9の各2乗ユークリッド距離
演算回路10、11および決定回路7の各2乗ユークリ
ッド距離演算回路20、21を他の演算回路に変更し、
2乗ユークリッド距離以外の値を用いて枝メトリックを
決めるようにしても良い。
In the above embodiment, the branch metric comparator 9 and the decision circuit 7 use the squared Euclidean distance to determine the branch metric. The squared Euclidean distance calculation circuits 10 and 11 and the squared Euclidean distance calculation circuits 20 and 21 of the decision circuit 7 are changed to other calculation circuits,
The branch metric may be determined using a value other than the squared Euclidean distance.

【0028】また、上述した実施例においては、nビッ
トシフトレジスタ回路4を1つだけ使用するようにして
いるが、このようなnビットシフトレジスタ回路4を2
つ用意し、片方に“0”レベルからの距離の計算値、も
う片方に“1”レベルからの距離の計算値を予め計算し
て入れておくようにしても良い。
Further, in the above-described embodiment, only one n-bit shift register circuit 4 is used, but two such n-bit shift register circuits 4 are used.
One may be prepared, and the calculated value of the distance from the "0" level may be pre-calculated in one side and the calculated value of the distance from the "1" level may be pre-calculated in the other side.

【0029】これによって、これらの各nビットシフト
レジスタ回路4から出力される各ユークリッド距離を各
枝メトリック比較器9の各加算器12、13、15、1
6、決定回路7の各加算器22、23に直接入力するこ
とができ、これにって各枝メトリック比較器9の各2乗
ユークリッド距離演算回路12、13、15、16およ
び決定回路7の各2乗ユークリッド距離演算回路22、
23を省略することができる。
As a result, the respective Euclidean distances output from the respective n-bit shift register circuits 4 are converted into the respective adders 12, 13, 15, 1 of the branch metric comparator 9.
6, can be directly input to the respective adders 22 and 23 of the decision circuit 7, whereby the squared Euclidean distance calculation circuits 12, 13, 15, 16 of the branch metric comparator 9 and the decision circuit 7 of the decision circuit 7 can be directly inputted. Each squared Euclidean distance calculation circuit 22,
23 can be omitted.

【0030】また、上述した実施例においては、決定回
路7のしきい値を固定して比較処理を行なっているが、
ある正の数をしきい値として導入し、各加算回路22、
23によって得られた各加算結果A、Bの差がそのしき
い値以上となったとき、訂正を行なうようにし、さらに
必要に応じてしきい値を可変する、いわゆる可変しきい
値復号法によって比較処理を行なうようにしても良い。
In the above embodiment, the threshold value of the decision circuit 7 is fixed and the comparison process is performed.
Introducing a certain positive number as a threshold, each adder circuit 22,
When the difference between the addition results A and B obtained in step 23 is equal to or greater than the threshold value, correction is performed, and the threshold value is changed as necessary. You may make it perform a comparison process.

【0031】また、上述した実施例においては、各枝メ
トリック比較器9を4個単位で従属接続した回路を5段
にして、枝メトリック比較回路5を構成しているが、従
属接続以外の接続法として、例えば1つの枝メトリック
比較器9を繰り返し、使用するようにしても良い。ま
た、比較を行なう際に、nビットシフトレジスタ回路4
から出力されるデータS1 〜S21のビット内容が“1”
に近い場合、もしくは“0”に近い場合にのみ、比較演
算を行なうようにし、これによって演算回数を減らすよ
うにしても良い。
Further, in the above-described embodiment, the branch metric comparison circuit 5 is constructed by forming five stages of circuits in which each branch metric comparator 9 is cascade-connected in units of 4 units. As a method, for example, one branch metric comparator 9 may be repeatedly used. In addition, when performing comparison, the n-bit shift register circuit 4
The bit content of the data S 1 to S 21 output from is “1”
It is also possible to perform the comparison calculation only when it is close to or when it is close to “0”, thereby reducing the number of calculations.

【0032】また、上述した実施例においては、各枝メ
トリック比較器9および決定回路7によってnビットシ
フトレジスタ回路4から出力されるデータS1 〜S21
全てに対して“0”レベルおよび“1”レベルとの比較
演算を行なうようにしているが、nビットシフトレジス
タ回路4から出力されるデータS1 〜S21のビット内容
が“1”に近い値または“0”に近い値のものを一定個
数だけ選択して比較演算を行なうようにしても、また各
チェック和行列毎に、“0”または“1”に近い値を一
定個数に制限するようにしても良い。
Further, in the above-described embodiment, the "0" level and the "S" of all the data S 1 to S 21 output from the n-bit shift register circuit 4 by the branch metric comparator 9 and the decision circuit 7 are set. 1 "although to perform a comparison operation between the level, bits of data S 1 to S 21 outputted from the n-bit shift register circuit 4 is" what value close to 0 "" value or close to "1 It is also possible to select a fixed number of to perform the comparison operation, or to limit the value close to “0” or “1” to a fixed number for each check sum matrix.

【0033】これによって、比較演算に要する演算時間
を大幅に短縮して誤り訂正回路1全体の演算速度を向上
させることができる。
As a result, the operation time required for the comparison operation can be greatly shortened and the operation speed of the error correction circuit 1 as a whole can be improved.

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、軟
判定復号法への応用が容易なトレリス復号法を多数決論
理復号可能な符号に応用することにより、簡単な回路構
成で軟判定復号を行なうことができ、これによって多数
決論理回路で復号可能な符号を用いた伝送系や記録系の
受信機、読み取り機などにおいて高い訂正効果を得るこ
とができる。
As described above, according to the present invention, by applying the trellis decoding method, which can be easily applied to the soft-decision decoding method, to the code capable of majority logic decoding, the soft-decision decoding can be performed with a simple circuit configuration. As a result, a high correction effect can be obtained in a receiver of a transmission system or a recording system using a code that can be decoded by the majority logic circuit, a reader, or the like.

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

【図1】本発明による誤り訂正回路の一実施例を用い
て、多数決論理復号可能な符号の1種である(21,1
1)差集合巡回符号を誤り訂正しながら復号する誤り訂
正回路の一例を示すブロック図である。
FIG. 1 is a kind of code capable of majority logic decoding using an embodiment of an error correction circuit according to the present invention (21, 1).
1) A block diagram showing an example of an error correction circuit that decodes a difference set cyclic code while performing error correction.

【図2】図1に示す各枝メトリック比較器の詳細な回路
構成例を示すブロック図である。
FIG. 2 is a block diagram showing a detailed circuit configuration example of each branch metric comparator shown in FIG.

【図3】図1に示す決定回路の詳細な回路構成例を示す
ブロック図である。
FIG. 3 is a block diagram showing a detailed circuit configuration example of a decision circuit shown in FIG.

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

1 誤り訂正回路 2 サンプルA/D変換回路 3 スイッチ回路 4 nビットシフトレジスタ回路(シフトレジスタ回
路) 5 枝メトリック比較回路(復号回路) 6 加算回路(復号回路) 7 決定回路(復号回路)
1 error correction circuit 2 sample A / D conversion circuit 3 switch circuit 4 n-bit shift register circuit (shift register circuit) 5 branch metric comparison circuit (decoding circuit) 6 adder circuit (decoding circuit) 7 decision circuit (decoding circuit)

【手続補正書】[Procedure amendment]

【提出日】平成5年12月10日[Submission date] December 10, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】全図[Correction target item name] All drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図1】 [Figure 1]

【図2】 [Fig. 2]

【図3】 [Figure 3]

フロントページの続き (72)発明者 山田 宰 東京都世田谷区砧一丁目10番11号 日本放 送協会放送技術研究所内Front page continuation (72) Inventor Satoshi Yamada 1-10-11 Kinuta, Setagaya-ku, Tokyo Inside Japan Broadcasting Corporation Broadcasting Technology Laboratory

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 多数決論理復号可能な符号を取り込み、
これをシフトしてデータS1 〜Sm を生成するシフトレ
ジスタ回路と、 このシフトレジスタ回路から出力されるデータS1 〜S
m を取り込むとともに、トレリス線図を用いた多数決論
理復号によって入力された多数決論理復号可能な符号を
復号する復号回路と、 を備えたことを特徴とする誤り訂正回路。
1. A code capable of majority logic decoding is loaded,
A shift register circuit for generating data S 1 to S m by shifting this data S 1 to S output from the shift register circuit
An error correction circuit comprising: a decoding circuit that takes in m and decodes a majority-logic-decoding code that is input by majority-logic decoding using a trellis diagram.
【請求項2】 前記復号回路はトレリス線図の計算を行
なう際、2乗ユークリッド距離を適用したアナログ値も
しくは複数ビットのデジタル値を各枝の値であるメトリ
ックとする請求項1記載の誤り訂正回路。
2. The error correction according to claim 1, wherein when the decoding circuit calculates a trellis diagram, an analog value to which a squared Euclidean distance is applied or a digital value of a plurality of bits is used as a metric which is a value of each branch. circuit.
【請求項3】 前記復号回路は既に復号を終了したビッ
トの計算結果を前記シフトレジスタ回路の入力側に戻し
て、それ以降に入力されるビットを訂正する請求項1ま
たは2記載の誤り訂正回路。
3. The error correction circuit according to claim 1, wherein the decoding circuit returns the calculation result of the already decoded bits to the input side of the shift register circuit and corrects the bits inputted thereafter. .
【請求項4】 前記復号回路は復号を行なう際、しきい
値を設定して復号を行ない、必要に応じて前記しきい値
の値を変更して誤り訂正能力を高める請求項1〜3のい
ずれかに記載の誤り訂正回路。
4. The decoding circuit according to claim 1, wherein the decoding circuit sets a threshold value to perform decoding, and changes the threshold value as necessary to enhance error correction capability. The error correction circuit according to any one.
【請求項5】 前記復号回路はしきい値の値を予め設定
されている正の値からゼロまでの間で可変させる請求項
4記載の誤り訂正回路。
5. The error correction circuit according to claim 4, wherein the decoding circuit varies a threshold value between a preset positive value and zero.
【請求項6】 前記復号回路は前記シフトレジスタ回路
から出力されるデータS1 〜Sm のうち、“0”または
“1”に近い一定個数の値を持つデータについてのみ演
算を行なう請求項1〜5のいずれかに記載の誤り訂正回
路。
6. The decoding circuit performs an operation only on data having a fixed number of values close to “0” or “1” among the data S 1 to S m output from the shift register circuit. 5. The error correction circuit according to any one of 5 to 5.
【請求項7】 前記復号回路はトレリス線図の計算を行
なう際、各チェック和行列毎に、“0”または“1”に
近い一定個数の値を持つものについてのみ演算を行なう
請求項1〜6のいずれかに記載の誤り訂正回路。
7. The decoding circuit, when calculating a trellis diagram, calculates only for each check sum matrix having a constant number of values close to “0” or “1”. 6. The error correction circuit according to any one of 6 above.
JP30300393A 1993-12-02 1993-12-02 Error correcting circuit Pending JPH07162319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30300393A JPH07162319A (en) 1993-12-02 1993-12-02 Error correcting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30300393A JPH07162319A (en) 1993-12-02 1993-12-02 Error correcting circuit

Publications (1)

Publication Number Publication Date
JPH07162319A true JPH07162319A (en) 1995-06-23

Family

ID=17915772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30300393A Pending JPH07162319A (en) 1993-12-02 1993-12-02 Error correcting circuit

Country Status (1)

Country Link
JP (1) JPH07162319A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100545592B1 (en) * 1996-04-18 2006-05-23 텍사스 인스트루먼츠 인코포레이티드 Fault Detectors and Detection Methods in Magnetic Media of Mass Storage Systems
JP2010251868A (en) * 2009-04-10 2010-11-04 Fujitsu Ltd Demodulator
US8122318B2 (en) * 2007-03-30 2012-02-21 Samsung Electronics Co., Ltd Decoding apparatus and method for a perfect difference-set cyclic code and a difference-set cyclic code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100545592B1 (en) * 1996-04-18 2006-05-23 텍사스 인스트루먼츠 인코포레이티드 Fault Detectors and Detection Methods in Magnetic Media of Mass Storage Systems
US8122318B2 (en) * 2007-03-30 2012-02-21 Samsung Electronics Co., Ltd Decoding apparatus and method for a perfect difference-set cyclic code and a difference-set cyclic code
JP2010251868A (en) * 2009-04-10 2010-11-04 Fujitsu Ltd Demodulator

Similar Documents

Publication Publication Date Title
EP0967730B1 (en) Convolutional decoder with modified metrics
US6697443B1 (en) Component decoder and method thereof in mobile communication system
US6189126B1 (en) Efficient trellis state metric normalization
US6625778B1 (en) Turbo error-correcting decoder and turbo error-correcting decoding method
US8250448B1 (en) Method of and apparatus for implementing a decoder
US4293951A (en) Method and apparatus for encoding/decoding a convolutional code to a periodic convolutional code block
US4130818A (en) Analog threshold decoding
JP2687941B2 (en) Reed-Solomon Decoder
EP2174422B1 (en) Decoding of recursive convolutional codes by means of a decoder for non-recursive convolutional codes
US6304994B1 (en) Reed Solomon decoder and decoding method utilizing a control signal indicating a new root for an initial error locator polynomial with respect to new erasure information
JPS62258530A (en) Decoder for digital signal
KR20040044589A (en) A Soft-Input Decoding Method of Reed-Muller Codes Using Majority Logic and Apparatus thereof
JPH07162319A (en) Error correcting circuit
US6757859B1 (en) Parallel turbo trellis-coded modulation
JP2002215608A (en) Approximate operation device and map decoder
US7991082B2 (en) Maximum a posteriori probability decoder
US6084925A (en) Method and apparatus for discriminating synchronous or asynchronous states of Viterbi decoded data
KR101134806B1 (en) Method for decoding code
JPH06276106A (en) Error correcting/decoding device
US7852960B2 (en) Method of computing path metrics in a high-speed Viterbi detector and related apparatus thereof
JP3268926B2 (en) Error correction circuit
CN117081611B (en) Decoding method and device based on parallel processing
JP3452725B2 (en) Trellis soft decision error correction circuit and trellis variation adjustment method
JP3099890B2 (en) Error correction device for BCH code
KR0169396B1 (en) Reed solomon decoder using galois field multiplication