JPH03250817A - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPH03250817A
JPH03250817A JP4594190A JP4594190A JPH03250817A JP H03250817 A JPH03250817 A JP H03250817A JP 4594190 A JP4594190 A JP 4594190A JP 4594190 A JP4594190 A JP 4594190A JP H03250817 A JPH03250817 A JP H03250817A
Authority
JP
Japan
Prior art keywords
error
circuit
correction
error correction
threshold level
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
JP4594190A
Other languages
Japanese (ja)
Inventor
Tsukasa Yamada
宰 山田
Toru Kuroda
徹 黒田
Shigeki Moriyama
森山 繁樹
Masayuki Takada
政幸 高田
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 JP4594190A priority Critical patent/JPH03250817A/en
Publication of JPH03250817A publication Critical patent/JPH03250817A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To improve the correction capability by using a final threshold level only more frequently for decoding processing than other threshold levels in a majority decision logic element used for the teletext broadcast or the like and applying decoding under the variable threshold level. CONSTITUTION:The circuit is provided with a syndrome register 1, a majority decision circuit 2, a timing generating circuit 3, a data register 4 and an error check circuit 5. After the timing generating circuit 3 detects a final threshold level and the correction at the final threshold level is finished and an error check flag of the error check circuit 5 is set, that is, an error still exists anywhere, the error correction is circulated again with the same final threshold level. Thus, when the error is an error of 8 bits or below just before the final correction, the error is corrected. Then the substantial error correction capability is improved.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は、誤り訂正回路、特に文字放送等で使用されて
いる誤り訂正符号の復号回路に関するもので、従来可変
閾値により訂正能力を向上させていたものをさらに回路
を工夫することにより性能アップをはかったものである
[Detailed Description of the Invention] [Industrial Field of Application 1] The present invention relates to an error correction circuit, particularly a decoding circuit for error correction codes used in teletext broadcasting, etc., which conventionally improves correction ability by using a variable threshold. The performance was improved by further devising the circuit.

[発明の概要1 本発明は、文字放送等に使用されている可変閾値で復号
する多数決論理素子で復号可能な符号において、最終閾
値のみ他の閾値での回数より多く復号処理することによ
り、従来の復号回路に比べて訂正能力を向上させたもの
である。
[Summary of the Invention 1 The present invention provides a code that can be decoded by a majority logic element that decodes with a variable threshold used in teletext broadcasting, etc., by decoding only the final threshold more times than the other thresholds. This decoding circuit has improved correction capability compared to the previous decoding circuit.

なお、本発明は、はとんどの多数決論理素子で復号可能
な符号の復号回路に適用可能であるが、説明の都合から
文字放送で使用されている(272.190)符号を用
いて具体的に解り易く以下に述べる。
Although the present invention can be applied to a decoding circuit for codes that can be decoded by most majority logic elements, for convenience of explanation, we will specifically explain the code using (272.190) codes used in teletext broadcasting. It is explained below in an easy-to-understand manner.

[従来の技術] 第3図は従来の誤り訂正回路(特開昭59−18184
1号公報記載)におけるデータロード後のアルゴリズム
の流れを示す。
[Prior art] Figure 3 shows a conventional error correction circuit (Japanese Patent Application Laid-Open No. 59-18184
1) shows the flow of the algorithm after data loading.

(272,190)符号は元形の(273,191)符
号を1ビツト短縮化させたものなので、1回の訂正周期
は273ビツトである。先頭ビットはOが送られたとし
て訂正はしない。このようなこれまでの復号方法では、
最終閾値の8または9で訂正を終了した時点でも、まだ
この符号で訂正可能な8ビツト以下の誤りが存在するこ
とがある。特に誤りビット数が272ビツト中15〜1
6ビツト以下の場合多いようである。
Since the (272,190) code is one bit shortened from the original (273,191) code, one correction period is 273 bits. The first bit is assumed to have been sent as O and is not corrected. In these conventional decryption methods,
Even when the correction is completed at the final threshold of 8 or 9, there may still be errors of 8 bits or less that can be corrected with this code. In particular, the number of error bits is 15 to 1 out of 272 bits.
It seems that in many cases it is 6 bits or less.

第3図において、272ビツトのデータをデータレジス
タとシンドロームレジスタにデータロードした後、本来
の閾値を9(8でもよい)以上のしに設定して(Sll
) 、最初の訂正をすべてのビットについて終了した後
(S12,513) 、シンドロームレジスタがすべて
Oになっているか否かを見る(S14)。シンドローム
レジスタがすべてOの場合は訂正動作を中止し、訂正で
きたとして、パケット処理に入る(S15)。なお当然
この誤り訂正動作に入る前にもシンドロームレジスタの
内容はチエツクするので、第3図は最初のシンドローム
レジスタの内容が0でなかった場合と解釈すべきある。
In Figure 3, after loading 272 bits of data into the data register and syndrome register, the original threshold is set to 9 (or 8) or higher (Sll
) After completing the first correction for all bits (S12, 513), it is checked whether all syndrome registers are set to O (S14). If all the syndrome registers are O, the correction operation is stopped, and it is assumed that the correction has been made, and packet processing begins (S15). Note that, of course, the contents of the syndrome register are checked before starting this error correction operation, so FIG. 3 should be interpreted as a case where the contents of the syndrome register are not 0 at the beginning.

S14において1回の訂正でシンドロームレジスタが0
にならなかった場合、Lが最終閾値の9(または8)で
あったか否かをチエツクする(316)。S16で最終
閾値に達していなかった場合には、S17でL=L−1
としてS12に戻り、再度同様の誤り訂正を行う。S1
6で最終閾値に達していた場合は誤りがまだ残されてい
ると解釈して、S18で誤り検出処理を行う。
In S14, the syndrome register becomes 0 with one correction.
If not, it is checked whether L is the final threshold of 9 (or 8) (316). If the final threshold has not been reached in S16, L=L-1 in S17.
Then, the process returns to S12 and the same error correction is performed again. S1
If the final threshold value has been reached in step 6, it is interpreted that an error still remains, and error detection processing is performed in step S18.

このように従来回路では閾値を高い値に設定しておおま
かな誤り訂正を行い、徐々に閾値を下げ、最終閾値の時
点で本来の訂正を行うようにして、訂正能力を向上させ
るようにしたものである。
In this way, in conventional circuits, the threshold value is set to a high value to perform rough error correction, the threshold value is gradually lowered, and the original correction is performed at the final threshold value, thereby improving the correction ability. It is.

[発明が解決しようとする課題1 しかしながら、上記従来回路においては、最終閾値での
訂正終了の時点においても、本来この符号の訂正能力で
ある8ビツト以下の誤りが残る場合があった。
[Problem to be Solved by the Invention 1] However, in the above-mentioned conventional circuit, even at the end of correction at the final threshold, errors of 8 bits or less, which is the original correction capability of this code, may remain.

そこで、本発明の目的は、このような誤りを訂正するた
め、再度、最終閾値にて訂正を行い、実質的な誤り訂正
能力の向上をはかった誤り訂正回路を提供することにあ
る。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an error correction circuit that performs correction using the final threshold value again in order to correct such errors, thereby substantially improving the error correction ability.

[課題を解決するための手段1 上記目的を達成するため本発明は可変閾値復号回路にお
いて、最終閾値を検出する検出回路と、該検出回路の検
出結果に基づいて最終閾値でデータを複数回復号処理す
る手段とを具えたことを特徴とする。
[Means for Solving the Problems 1] In order to achieve the above object, the present invention includes a detection circuit for detecting a final threshold value in a variable threshold decoding circuit, and multiple decoding methods for decoding data at the final threshold value based on the detection result of the detection circuit. It is characterized by comprising a means for processing.

[作 用1 本発明によれば、上記構成によって最終閾値で複数回復
号処理され誤り訂正能力が向上する。
[Function 1] According to the present invention, with the above configuration, multiple decoding processes are performed using the final threshold value, and the error correction ability is improved.

[実施例1 以下、図面示す実施例に基づき本発明の詳細な説明する
[Example 1] Hereinafter, the present invention will be described in detail based on an example shown in the drawings.

第1図は本発明にかかる誤り訂正回路のブロック図であ
り、1は82ビツトシンドロームレジスタ、2は多数決
回路、3はタイミング発生回路、4は272ビツトデー
タレジスタ、5はレジスタ1が全部Oか否かを検出する
誤り検出回路。
FIG. 1 is a block diagram of an error correction circuit according to the present invention, in which 1 is an 82-bit syndrome register, 2 is a majority decision circuit, 3 is a timing generation circuit, 4 is a 272-bit data register, and 5 is a block diagram in which register 1 is all O's. An error detection circuit that detects whether or not the error occurs.

タイミング発生回路3は、CPUと、このCPUの制御
プログラムを格納したROMと、後述のLの格納領域、
データの一時格納領域およびL=9でデータレジスタ4
の全てのビットについて訂正した回数を格納する回数格
納領域を含むRAMとを有し、このタイミング発生回路
3への入力はクロック信号、データの先頭あるいはデー
タ期間を示すロード信号、および誤り検出回路5からの
信号があれば十分である。クロック信号、ロード信号お
よび誤り検出回路5からの信号によって、この誤り訂正
回路に必要なすべての信号がタイミング発生回路3で作
られる。ただし第1図では、タイミング発生回路3の出
力信号としては多数決回路2の閾値制御のみを記し、他
の出力信号は省略しである。
The timing generation circuit 3 includes a CPU, a ROM storing a control program for the CPU, and a storage area L described later.
Data temporary storage area and data register 4 with L=9
The inputs to this timing generation circuit 3 are a clock signal, a load signal indicating the beginning of data or a data period, and an error detection circuit 5. A signal from the source is sufficient. A clock signal, a load signal and a signal from the error detection circuit 5 generate all the signals necessary for this error correction circuit in the timing generation circuit 3. However, in FIG. 1, only the threshold value control of the majority circuit 2 is shown as the output signal of the timing generation circuit 3, and other output signals are omitted.

次にこのような構成の誤り訂正回路の動作について第2
図を参照しつつ説明する。
Next, the second section will discuss the operation of the error correction circuit configured as described above.
This will be explained with reference to the figures.

まず訂正前のデータをシンドロームレジスタ1およびデ
ータレジスタ4にロードした後、タイミング発生回路3
は多数決回路2の閾値を9以上のしに設定する(Sl)
。ついでシンドロームレジスタ1のみを1ビツトシフト
しくS2)、データレジスタ4内の272ビツトデータ
すべてについて誤り訂正する(S3)。この誤り訂正は
次のようにして行う。
First, after loading the uncorrected data into syndrome register 1 and data register 4, timing generation circuit 3
sets the threshold of majority circuit 2 to 9 or more (Sl)
. Next, only syndrome register 1 is shifted by 1 bit (S2), and errors are corrected for all 272-bit data in data register 4 (S3). This error correction is performed as follows.

すなわち、シンドロームレジスタ1からの信号をタイミ
ング発生回路3からの信号によって決定された多数決回
路2内の閾値と比較して、同回路2から誤り訂正信号を
出力する。この誤り訂正信号をデータレジスタ4の出力
に加算し、同データレジスタ4内を巡回させることによ
って、272ビツト全てについて誤り訂正を行う。なお
、誤り訂正信号はシンドロームレジスタ1にも戻きれる
That is, the signal from the syndrome register 1 is compared with the threshold value in the majority circuit 2 determined by the signal from the timing generation circuit 3, and the circuit 2 outputs an error correction signal. This error correction signal is added to the output of the data register 4 and circulated within the data register 4, thereby performing error correction for all 272 bits. Note that the error correction signal can also be returned to the syndrome register 1.

ついでシンドロームレジスタ1の全てが“0”かを誤り
検出回路5を介して得られた信号によってタイミング発
生回路3で検出しくS4)、“O”ならばデータレジス
タ4から訂正後データをとり出してパケット処理にすす
み(S5)、“0″′でないときはS6でタイミング発
生回路3はL=9かを判断し、L=9でないときはS7
でLの値を1つ減らしてS2にもどり、L=9のときは
S8にすすむ。なお、タイミング発生回路3は最初にL
=9に設定したときにフラグを“1”とする。
Next, the timing generation circuit 3 detects whether all of the syndrome registers 1 are "0" based on the signal obtained through the error detection circuit 5 (S4), and if it is "O", the corrected data is taken out from the data register 4. Proceed to packet processing (S5), and if it is not "0"', the timing generation circuit 3 determines whether L=9 in S6, and if L=9 is not, proceed to S7
Then, the value of L is decreased by one and the process returns to S2, and when L=9, the process proceeds to S8. Note that the timing generation circuit 3 initially
=9, the flag is set to "1".

S8ではタイミング発生回路3のフラグを参照してL=
9で2回訂正を行ったかを判断し、行っていなければS
2にもどって訂正動作を繰返し、2回行っていればS9
で誤り検出処理を行う。
At S8, refer to the flag of the timing generation circuit 3 and set L=
Check whether the correction has been made twice in step 9, and if not, press S.
Return to step 2 and repeat the correction operation, and if it has been done twice, S9
Performs error detection processing.

なお、最終閾値は9としているが、最終閾値が8でも同
様の効果が得られるのは当然である。また、閾値を1ず
つ下げているが、2ずつあるいは3ずつ等によっても同
様の訂正効果が得られるのは当然である。さらに、最終
閾値で2回訂正を行うようにしているが、3または4回
等によっても時間はかかるが、同様の効果が得られるの
は当然である。各閾値において複数回の訂正を行っても
同様の効果が得られるのは当然である。
Note that although the final threshold value is set to 9, it is natural that the same effect can be obtained even if the final threshold value is 8. Further, although the threshold value is lowered by 1, it is natural that the same correction effect can be obtained by lowering the threshold by 2 or 3. Further, although the final threshold value is corrected twice, it is natural that the same effect can be obtained by performing the correction three or four times, although it takes more time. It goes without saying that the same effect can be obtained even if correction is performed multiple times for each threshold value.

以上のようにタイミング発生回路3において、最終閾値
を検出し、最終閾値での訂正動作を終了した後、誤り検
8回路5の誤り検出フラグが立っている場合、すなわち
、どこかにまだ誤りがある場合には、再度誤り訂正を同
じ最終閾値で1巡して行う。これによって最後の訂正動
作直前の時点で8ビツト以下の誤りになっていればすべ
て訂正可能になる。
As described above, after the timing generation circuit 3 detects the final threshold value and completes the correction operation using the final threshold value, if the error detection flag of the error detection circuit 5 is set, that is, there is still an error somewhere. In some cases, error correction is performed once again using the same final threshold value. This makes it possible to correct any errors of 8 bits or less immediately before the last correction operation.

[発明の効果] 以上説明したように本発明によれば、従来の復号方式で
は、復号処理終了時において訂正可能な誤りが残ったま
まの場合があったが、最終の閾値において複数回の誤り
訂正を行うことによってそれらの誤りをすべて訂正でき
るようにして、実質的な誤り訂正能力を向上させること
ができた。回路規模は従来のものに比べてほとんど変え
ずに実現が可能である。
[Effects of the Invention] As explained above, according to the present invention, in the conventional decoding method, correctable errors may remain at the end of the decoding process, but multiple errors may remain at the final threshold. By performing the correction, it was possible to correct all of those errors, thereby improving the substantial error correction ability. The circuit scale can be realized with almost no change compared to conventional circuits.

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

第1図は本発明にかかる誤り訂正回路のブロック図、 第2図は同誤り訂正回路の動作を示すフローチャート、 第3図は従来の誤り訂正回路の動作を示すフローチャー
トである。 l・・・シンドロームレジスタ、 2・・・多数決回路、 3・・・タイミング発生回路、 4・・・データレジスタ、 5・・・誤り検出回路。
FIG. 1 is a block diagram of an error correction circuit according to the present invention, FIG. 2 is a flowchart showing the operation of the error correction circuit, and FIG. 3 is a flowchart showing the operation of a conventional error correction circuit. 1...Syndrome register, 2...Majority circuit, 3...Timing generation circuit, 4...Data register, 5...Error detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1)可変閾値復号回路において、最終閾値を検出する検
出回路と、該検出回路の検出結果に基づいて最終閾値で
データを複数回復号処理する手段とを具えたことを特徴
とする誤り訂正回路。
1) An error correction circuit characterized in that the variable threshold decoding circuit includes a detection circuit for detecting a final threshold, and means for performing multiple decoding processes on data using the final threshold based on the detection result of the detection circuit.
JP4594190A 1990-02-28 1990-02-28 Error correction circuit Pending JPH03250817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4594190A JPH03250817A (en) 1990-02-28 1990-02-28 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4594190A JPH03250817A (en) 1990-02-28 1990-02-28 Error correction circuit

Publications (1)

Publication Number Publication Date
JPH03250817A true JPH03250817A (en) 1991-11-08

Family

ID=12733302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4594190A Pending JPH03250817A (en) 1990-02-28 1990-02-28 Error correction circuit

Country Status (1)

Country Link
JP (1) JPH03250817A (en)

Similar Documents

Publication Publication Date Title
US4852099A (en) Error correction method using Reed-Solomon code
JPS6095640A (en) Method and device for correcting error
JP2970994B2 (en) Error correction decoding circuit
CN111769839A (en) Fast bit-flipping decoding method
JPS632370B2 (en)
JP2006191522A (en) Decoding device for decoding product code and a decoding method by using decoding device
US4819231A (en) Framing timing detection circuit for a character code broadcasting system
US5452310A (en) Method of and device for correcting errors and erasures in digital information
EP0431576A2 (en) BCH code decoder and method for decoding a BCH code
JPH1013386A (en) Data error correction method for digital signal of frame configuration
JPH03250817A (en) Error correction circuit
JPH0241032A (en) Error correction device
JP3611875B2 (en) Wireless communication device
JPH1022839A (en) Soft discrimination error-correction decoding method
JP2605269B2 (en) Error correction method
JP4319317B2 (en) Decoder
JP2621582B2 (en) Successive decoding device
JPS60130927A (en) Decoding method of product code
JP2805328B2 (en) Burst error correction method
JPH06326689A (en) FM multiplex broadcast receiver
JPS6064529A (en) Circuit for decoding bch single error correction and double error detection code
JPS63120528A (en) Double error correction circuit
JPH0113249B2 (en)
JPH0616305B2 (en) Single-chip micro computer
KR100219524B1 (en) Method for correcting error of product code