JPH03212026A - error correction device - Google Patents

error correction device

Info

Publication number
JPH03212026A
JPH03212026A JP2007339A JP733990A JPH03212026A JP H03212026 A JPH03212026 A JP H03212026A JP 2007339 A JP2007339 A JP 2007339A JP 733990 A JP733990 A JP 733990A JP H03212026 A JPH03212026 A JP H03212026A
Authority
JP
Japan
Prior art keywords
error
position detector
error position
burst
random
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
JP2007339A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Jinno
善行 神野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2007339A priority Critical patent/JPH03212026A/en
Publication of JPH03212026A publication Critical patent/JPH03212026A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、符号列として伝送または記録された情報源に
対して発生した符号誤りを訂正する誤り訂正装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an error correction device for correcting code errors occurring in an information source transmitted or recorded as a code string.

従来の技術 従来、この種の誤り訂正装置は、乱数的に発生する符号
誤りを対象としたランダム誤り位置検出器と、集中的に
発生する符号誤りを対象としたバースト誤り位置検出器
と、入力された伝送符号列を誤り位置検出器の処理が終
わるまで遅延させる遅延器と、検出された誤り位置をも
とに符号誤りを訂正する誤り訂正器とを備えており、情
報源である符号列が入力されることにより、ランダム誤
り位置検出器とバースト誤り位置検出器とから出力され
る誤り位置情報を適時切り換え、誤り位置検出処理の間
遅延器によって遅延させられた符号列と上記出力された
誤り位置情報とから符号誤りを訂正するように構成され
ている。
BACKGROUND OF THE INVENTION Conventionally, this type of error correction apparatus has been equipped with a random error position detector that targets randomly generated code errors, a burst error position detector that targets code errors that occur intensively, and an input It is equipped with a delay device that delays the detected transmission code string until the processing of the error position detector is completed, and an error corrector that corrects code errors based on the detected error position. is input, the error position information output from the random error position detector and the burst error position detector is switched in a timely manner, and the code string delayed by the delay device during the error position detection process and the above output The code error is corrected based on the error position information.

第3図は従来の誤り訂正装置の構成を示している。第3
図において、31はランダム誤り位置検出器、32はバ
ースト誤り位置検出器、33は遅延器、34は誤り訂正
器である。
FIG. 3 shows the configuration of a conventional error correction device. Third
In the figure, 31 is a random error position detector, 32 is a burst error position detector, 33 is a delay device, and 34 is an error corrector.

次に上記従来例の動作について説明する。伝送符号列3
5がランダム誤り位置検出器31へ入力されると、ラン
ダム誤り位置検出器31では、符号誤りがランダムに発
生しているものとみなして誤り位置情報36を生成する
。その際、ランダム誤り位置検出器31内においては、
符号誤りの誤りパターンにより決定されるシンドローム
値を算出し、このシンドローム値によりランダム誤りが
検出できたかどうかを判断し、その判断結果を検出フラ
グ37として誤り位置情報36とともに出力する。
Next, the operation of the above conventional example will be explained. Transmission code string 3
5 is input to the random error position detector 31, the random error position detector 31 generates error position information 36, assuming that code errors occur randomly. At that time, in the random error position detector 31,
A syndrome value determined by the error pattern of the code error is calculated, and it is determined based on this syndrome value whether a random error has been detected or not, and the determination result is output as a detection flag 37 together with the error position information 36.

他方、伝送符号列35がバースト誤り位置検出器32に
入力されると、バースト誤り位置検出器32では、符号
誤りがバーストに発生しているものとみなして誤り位置
情報38を生成する。その際、バースト誤り位置検出器
32内においては、符号誤りの誤りパターンにより決定
されるシンドローム値を算出し、このシンドローム値に
よりバースト誤りが検出できたかどうかを判断し、その
判断結果を検出フラグ39として誤り位置情報38とと
もに出力する。
On the other hand, when the transmission code string 35 is input to the burst error position detector 32, the burst error position detector 32 generates error position information 38, assuming that a code error has occurred in the burst. At this time, the burst error position detector 32 calculates a syndrome value determined by the error pattern of the code error, judges whether or not the burst error has been detected based on this syndrome value, and sends the judgment result to the detection flag 39. It is output together with the error position information 38.

伝送符号列35は、遅延器33へも入力されて、ランダ
ム誤り位置検出器31およびバースト誤り位置検出器3
2における処理が終了するまで入力された伝送符号列3
5を遅延する。そして誤り訂正器34には、ランダム誤
り位置検出器31から誤り位置情報36および検出フラ
グ37が入力され、バースト誤り位置検出器32からは
位置情報38および検出フラグ39が入力され、遅延器
33からは遅延された伝送符号列40が入力される。
The transmission code string 35 is also input to the delay device 33, and is then input to the random error position detector 31 and the burst error position detector 3.
Transmission code string 3 input until the processing in step 2 is completed
Delay 5. The error corrector 34 receives the error position information 36 and the detection flag 37 from the random error position detector 31, receives the position information 38 and the detection flag 39 from the burst error position detector 32, and receives the error position information 38 and the detection flag 39 from the delay unit 33. The delayed transmission code string 40 is input.

誤り訂正器34においては、入力された二つの誤り位置
情報36.38のうち、検出フラグ37.39により誤
りが検出されたとする誤り位置情報を真の誤り位置情報
として選択する。検出フラグ37.39によりどちらに
も誤りが検出されたとする場合は、ランダム誤り位置検
出器31から出力された誤り位置情報36を優先して出
力する。検出フラグ37.39によりどちらもに誤りか
検出されないとする場合には、誤りが発生しなかったも
のとみなす。このようにして選択された誤り位置情報に
より伝送符号列35の符号誤りの位置が分かるので、そ
の符号誤りを誤り訂正器34で訂正し、誤り訂正済み符
号列41として出力する。
The error corrector 34 selects the error location information whose error is detected by the detection flag 37.39 as the true error location information from among the two input error location information 36, 38. If an error is detected in either of the detection flags 37 and 39, the error position information 36 output from the random error position detector 31 is output with priority. If no error is detected in either of the detection flags 37 and 39, it is assumed that no error has occurred. Since the position of the code error in the transmission code string 35 can be determined from the error position information selected in this manner, the code error is corrected by the error corrector 34 and output as an error-corrected code string 41.

このように、上記従来の誤り訂正装置でも誤り位置情報
を生成することができ、符号誤りを誤り訂正することが
できる。
In this way, the conventional error correction device described above can also generate error position information and correct code errors.

発明が解決しようとする課題 しかしながら、上記従来の誤り訂正装置では、ランダム
誤り位置検出器31とバースト誤り位置検出器32の両
方が誤り検出フラグ37.3つを出力すると、バースト
誤り位置検出器32よりもランダム誤り位置検出器31
の出力の方が優先されるので、バースト誤り位置検出器
32が正しい誤り位置情報38を出力しているにも拘ら
ず、バースト誤り位置検出器32の出力結果が無視され
、その結果バースト誤りが発生しやすい伝送系または記
録系に対し適用しに(いという問題があった。
Problem to be Solved by the Invention However, in the conventional error correction device described above, when both the random error position detector 31 and the burst error position detector 32 output three error detection flags 37.3, the burst error position detector 32 than the random error position detector 31
Since the output of the burst error position detector 32 is outputting the correct error position information 38, the output result of the burst error position detector 32 is ignored, and as a result, the burst error occurs. There is a problem in that it cannot be applied to transmission systems or recording systems where this problem is likely to occur.

本発明は、このような従来の問題を解決するものであり
、適用する伝送系または記録系に応じてランダムまたは
バースト誤り位置検出器の出力を選択制御できる優れた
誤り訂正装置を提供することを目的とする。
The present invention solves these conventional problems, and aims to provide an excellent error correction device that can selectively control the output of a random or burst error position detector depending on the transmission system or recording system to which it is applied. purpose.

課題を解決するための手段 本発明は、上記目的を達成するために、誤り訂正器にラ
ンダムまたはバースト誤り訂正のいずれを優先させるか
を決定する出力制御信号を入力するようにしたものであ
る。
Means for Solving the Problems In order to achieve the above object, the present invention is such that an output control signal for determining whether to give priority to random or burst error correction is input to the error corrector.

作用 したがって、本発明によれば、誤り訂正器にランダムま
たはバースト誤り訂正のいずれを優先させるかを決定す
る出力制御信号を入力させ、この出力制御信号をランダ
ムまたはバースト誤り位置検出器から誤り訂正器に入力
される検出フラグに対してマスク信号として用いること
により、伝送系または記録系の符号誤り特性に適した誤
り位置検出器の出力を優先的に選択することができると
いう効果を有する。
Therefore, according to the present invention, an output control signal for determining whether to give priority to random or burst error correction is input to the error corrector, and this output control signal is transmitted from the random or burst error position detector to the error corrector. By using the detection flag input as a mask signal, it is possible to preferentially select the output of the error position detector suitable for the code error characteristics of the transmission system or recording system.

実施例 第1図は本発明の一実施例における誤り訂正装置の構成
を示している。第1図において、11はランダム誤り位
置検出器、12はバースト誤り位置検出器、13は遅延
器、14は誤り訂正器である。
Embodiment FIG. 1 shows the configuration of an error correction device in an embodiment of the present invention. In FIG. 1, 11 is a random error position detector, 12 is a burst error position detector, 13 is a delay device, and 14 is an error corrector.

次に上記実施例の動作について説明する。伝送符号列1
5がランダム誤り位置検出器11へ入力されると、ラン
ダム誤り位置検出器11では、符号誤りがランダムに発
生しているものとみなして誤り位置情報16を生成する
。その際、ランダム誤り位置検出器11内においては、
符号誤りの誤りパターンにより決定されるシンドローム
値を算出し、このシンドローム値によりランダム誤りが
検出できたかどうかを判断し、その判断結果を検出フラ
グ17として誤り位置情報16とともに出力する。
Next, the operation of the above embodiment will be explained. Transmission code string 1
5 is input to the random error position detector 11, the random error position detector 11 generates error position information 16 by assuming that the code error occurs randomly. At that time, in the random error position detector 11,
A syndrome value determined by the error pattern of code errors is calculated, and it is determined based on this syndrome value whether a random error has been detected or not, and the determination result is output as a detection flag 17 together with error position information 16.

他方、伝送符号列15がバースト誤り位置検出器12に
入力されると、バースト誤り位置検出器12では、符号
誤りがバーストに発生しているものとみなして誤り位置
情報18を生成する。その際、バースト誤り位置検出器
12内においては、符号誤りの誤りパターンにより決定
されるシンドローム値を算出し、このシンドローム値に
よりバースト誤りが検出できたかどうかを判断し、その
判断結果を検出フラグ1つとして誤り位置情報18とと
もに出力する。伝送符号列15は、遅延器13へも入力
されて、ランダム誤り位置検出器11およびバースト誤
り位置検出器12における処理が終了するまで入力され
た伝送符号列15を遅延する。
On the other hand, when the transmission code string 15 is input to the burst error position detector 12, the burst error position detector 12 generates error position information 18 by assuming that a code error has occurred in the burst. At this time, the burst error position detector 12 calculates a syndrome value determined by the error pattern of the code error, judges whether or not the burst error has been detected based on this syndrome value, and sets the detection flag to the result of the judgment. It is output together with the error position information 18 as one. The transmission code string 15 is also input to the delay device 13, and the input transmission code string 15 is delayed until processing in the random error position detector 11 and the burst error position detector 12 is completed.

誤り訂正器14には、ランダム誤り位置検出器11から
誤り位置情報16および検出フラグ17が入力され、バ
ースト誤り位置検出器12からは位置情報18および検
出フラグ19が入力され、遅延器13からは遅延された
伝送符号列20が入力される。そして外部装置からラン
ダム誤り訂正およびバースト誤り訂正のどちらを優先さ
せるかを決定する出力制御信号21が入力される。
The error corrector 14 receives the error position information 16 and the detection flag 17 from the random error position detector 11, the position information 18 and the detection flag 19 from the burst error position detector 12, and the delay unit 13 inputs the error position information 16 and the detection flag 17. A delayed transmission code string 20 is input. Then, an output control signal 21 is input from an external device to determine which of random error correction and burst error correction should be prioritized.

第2図は上記誤り訂正器14の構成を示している。第2
図において、22はマスク回路、23はマルチプレクサ
、24は誤り位置符号訂正回路である。
FIG. 2 shows the configuration of the error corrector 14. Second
In the figure, 22 is a mask circuit, 23 is a multiplexer, and 24 is an error position code correction circuit.

マスク回路22はランダム誤り位置検出器11およびバ
ースト誤り位置検出器12からそれぞれ出力される検出
フラグ17.19と、外部から入力される出力制御信号
21とにより、どちらの誤り位置情報を優先するかを決
定する切替信号25を生成する。生成された切替信号2
5は、マルチプレクサ23に入力され、ランダム誤り位
置検出器11およびバースト誤り位置検出器12からそ
それ出力される誤り位置情報16、−18のどちらか一
方を真の誤り位置情報26として選択する。
The mask circuit 22 determines which error position information to prioritize based on the detection flags 17 and 19 output from the random error position detector 11 and the burst error position detector 12, respectively, and the output control signal 21 input from the outside. A switching signal 25 is generated to determine the . Generated switching signal 2
5 is input to the multiplexer 23 and selects either one of the error location information 16 and -18 outputted from the random error location detector 11 and the burst error location detector 12 as the true error location information 26.

そして誤り位置符号訂正回路24では、選択された誤り
位置情報26と遅延された伝送符号列20とから誤り訂
正を行ない、誤り訂正済み符号列27として出力する。
Then, the error position code correction circuit 24 performs error correction on the selected error position information 26 and the delayed transmission code string 20, and outputs it as an error corrected code string 27.

このように、上記実施例によれば、誤り訂正器14に、
ランダム誤り訂正を優先するか、バースト誤り訂正を優
先するかを決定する出力制御信号21を入力することに
より、この誤り訂正装置が適応される伝送系または記録
系の符号誤り特性に最適な制御を行なうことができる。
In this way, according to the above embodiment, the error corrector 14
By inputting the output control signal 21 that determines whether priority is given to random error correction or burst error correction, this error correction device can perform optimal control for the code error characteristics of the transmission system or recording system to which it is applied. can be done.

発明の効果 本発明は、上記実施例から明らかなように、適用する伝
送系または記録系の符号誤り特性に応じた誤り訂正を行
なえるように、どちらかを優先させる出力制御信号を誤
り訂正器に入力することにより、その系の符号誤り特性
に最適な制御を行なうことができるという効果を有する
Effects of the Invention As is clear from the embodiments described above, the present invention provides an output control signal that gives priority to either of the transmission system or the recording system by transmitting it to an error corrector so that error correction can be performed according to the code error characteristics of the applied transmission system or recording system. This has the effect that optimal control can be performed for the code error characteristics of the system.

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

第1図は本発明の一実施例における誤り訂正装置の概略
ブロック図、第2図は同装置における誤り訂正器の概略
ブロック図、第3図は従来の誤り訂正装置の概略ブロッ
ク図である。 11・・・ランダム誤り位置検出器、12・・・バース
ト誤り位置検出器、13・・・遅延器、14・・・誤り
訂正器、15・・・伝送符号列、16.18・・・誤り
位置情報、17.19・・・検出フラグ、20・・・遅
延伝送符号列、21・・出力側@信号、22・・・マス
ク回路、23・・マルチプレクサ、24・誤り位置符号
訂正回路、25・切替信号、26・選択された誤り位置
情報、27・誤り訂正済み符号列。
FIG. 1 is a schematic block diagram of an error correction device according to an embodiment of the present invention, FIG. 2 is a schematic block diagram of an error corrector in the same device, and FIG. 3 is a schematic block diagram of a conventional error correction device. 11... Random error position detector, 12... Burst error position detector, 13... Delay device, 14... Error corrector, 15... Transmission code string, 16.18... Error Position information, 17.19...Detection flag, 20...Delayed transmission code string, 21...Output side @signal, 22...Mask circuit, 23...Multiplexer, 24.Error position code correction circuit, 25・Switching signal, 26. Selected error position information, 27. Error corrected code string.

Claims (1)

【特許請求の範囲】[Claims] 入力された伝送符号列からランダム誤り位置を検出する
ランダム誤り位置検出器と、前記入力された伝送符号列
からバースト誤り位置を検出するバースト誤り位置検出
器と、前記伝送符号列を入力されて前記ランダム誤り位
置検出器およびバースト誤り位置検出器の処理が終わる
まで前記入力された伝送符号列を遅延させる遅延器と、
前記ランダム誤り位置検出器およびバースト誤り検出器
および遅延器からの出力を入力されて符号誤りを訂正し
て出力する誤り訂正器とを備え、前記誤り訂正器に伝送
系または記録系の符号誤り特性に応じてランダム誤り訂
正またはバースト誤り訂正のいずれを優先させるかを決
定する制御信号を入力させたことを特徴とする誤り訂正
装置。
a random error position detector for detecting random error positions from an input transmission code string; a burst error position detector for detecting burst error positions from the input transmission code string; and a burst error position detector for detecting burst error positions from the input transmission code string; a delay device that delays the input transmission code string until the processing of the random error position detector and the burst error position detector is completed;
an error corrector that receives the outputs from the random error position detector, the burst error detector, and the delay device, corrects code errors, and outputs the corrected code errors; 1. An error correction device characterized in that a control signal is input for determining whether to give priority to random error correction or burst error correction in accordance with the above.
JP2007339A 1990-01-17 1990-01-17 error correction device Pending JPH03212026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007339A JPH03212026A (en) 1990-01-17 1990-01-17 error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007339A JPH03212026A (en) 1990-01-17 1990-01-17 error correction device

Publications (1)

Publication Number Publication Date
JPH03212026A true JPH03212026A (en) 1991-09-17

Family

ID=11663186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007339A Pending JPH03212026A (en) 1990-01-17 1990-01-17 error correction device

Country Status (1)

Country Link
JP (1) JPH03212026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03235528A (en) * 1990-02-13 1991-10-21 Sharp Corp BCH code decoding circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03235528A (en) * 1990-02-13 1991-10-21 Sharp Corp BCH code decoding circuit

Similar Documents

Publication Publication Date Title
JPH04315332A (en) Error correction device
CA2037527A1 (en) Error correction system capable of correcting an error in a packet header by the use of a reed-solomon code
JP2881773B2 (en) Error correction device
JPH03212026A (en) error correction device
JPH0634298B2 (en) Address circuit
JP2636431B2 (en) Error correction device and error correction method
JP3364753B2 (en) Memory error correction circuit
JP2611722B2 (en) Error flag output circuit
JP2559886B2 (en) Data processing device
JP2644112B2 (en) FIFO test diagnostic circuit
JPS6362427A (en) Detection system for error of data communication
JP3880144B2 (en) Error correction method
KR930010934B1 (en) Error correcting decoding method and apparatus
US5375231A (en) Control memory error correcting apparatus
JPH0310421A (en) Error detection and correction circuit
JPH06132938A (en) Frame conversion error correcting circuit
KR100654017B1 (en) Error correction method of digital data
JPH04245732A (en) Rarity check detection circuit
JPH02278575A (en) Ecc control system at time of backward read
JPH0730435A (en) Error correcting circuit
JPH03288935A (en) Error correcting device for information processor
JPS606143B2 (en) Input data state change detection circuit
JPH0638239B2 (en) Error correction mechanism
JPH04255031A (en) Microcomputer
JPS62192982A (en) Burst error detection circuit for compact disk