JPH0211184B2 - - Google Patents
Info
- Publication number
- JPH0211184B2 JPH0211184B2 JP58054002A JP5400283A JPH0211184B2 JP H0211184 B2 JPH0211184 B2 JP H0211184B2 JP 58054002 A JP58054002 A JP 58054002A JP 5400283 A JP5400283 A JP 5400283A JP H0211184 B2 JPH0211184 B2 JP H0211184B2
- Authority
- JP
- Japan
- Prior art keywords
- error correction
- signal
- data
- circuit
- bits
- 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.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/37—Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
- H03M13/43—Majority logic or threshold decoding
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】
本発明は、多数決差集合巡回符号を用いた誤り
訂正復号方式に関するものである。更に詳述すれ
ば本発明は、テレビ信号の垂直帰線期間にデイジ
タルコード化した文字情報を多重伝送し、もつて
家庭用テレビ受像機などへ表示する文字コード放
送の誤り訂正復号方式に関するものであり、誤り
訂正能力を従来の復号方式に比べ大幅に向上させ
た誤り訂正復号方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error correction decoding method using a majority difference set cyclic code. More specifically, the present invention relates to an error correction decoding method for character code broadcasting in which digitally encoded character information is multiplexed transmitted during the vertical retrace period of a television signal and displayed on a home television receiver or the like. The present invention relates to an error correction decoding system that has significantly improved error correction capability compared to conventional decoding systems.
一般的な多数決差集合巡回符号を用いた復号方
式は周知の技術であり、例えば「符号理論」(昭
晃堂刊、宮川・岩垂・今井著p.287〜p.290)に述
べられている。 The decoding method using general majority difference set cyclic codes is a well-known technique, and is described, for example, in "Coding Theory" (published by Shokodo, by Miyagawa, Iwadare, and Imai, p.287-p.290). .
従来から日本の文字コード放送では、誤り訂正
方式として(272、190)符号を用いるのが最もよ
いとされている。このことは、本出願人による特
願昭58−6579号(特開昭59−133751号公報)「誤
り訂正復号方式」からも明らかである。 Traditionally, in Japanese character code broadcasting, it has been considered best to use the (272, 190) code as an error correction method. This is clear from Japanese Patent Application No. 58-6579 (Japanese Unexamined Patent Publication No. 59-133751) entitled ``Error Correction Decoding System'' filed by the present applicant.
上述の特願昭58−6579号において提案した基本
的な誤り訂正方式復号回路を用いると、1パケツ
ト(272ビツト)において8ビツトの誤りを訂正
することは可能であるが、9ビツト以上の誤りに
ついては、ほとんど訂正できないという欠点がみ
られた。 Using the basic error correction decoding circuit proposed in the above-mentioned Japanese Patent Application No. 58-6579, it is possible to correct 8-bit errors in one packet (272 bits), but it is possible to correct errors of 9 bits or more. The problem was that it could hardly be corrected.
また、上述の出願において提案したもう1つの
改良された誤り訂正復号方式(すなわち、誤りが
訂正できないときは、先頭ビツトをずらせること
によつて、9ビツト以上の誤りも訂正し得るよう
にした方式)では、処理時間が長くなりすぎる欠
点がみられた。 Another improved error correction decoding method proposed in the above-mentioned application (i.e., when errors cannot be corrected, errors of 9 bits or more can be corrected by shifting the first bit). method) had the disadvantage that the processing time was too long.
本発明の目的は、上述の点に鑑み、誤り訂正能
力を向上させると同時に処理時間の短縮を図つた
誤り訂正復号方式を提供することにある。 In view of the above-mentioned points, an object of the present invention is to provide an error correction decoding method that improves error correction capability and reduces processing time at the same time.
かかる目的を達成するために本発明では、多数
決差集合巡回符号を用いる多数決判定回路、シン
ドロームレジスタ、データレジスタを含む誤り訂
正復号系において、多数決判定回路に減算回路を
付加すると共に、多数決判定回路の判定閾値を多
数決回路入力素子数以内の特定値に設定し、巡回
訂正後に、減算回路を介して判定閾値から順次に
特定数ずつ減算し、判定閾値が所定値に達するま
で減少させて訂正復号するようにしたことを特徴
とするものである。 In order to achieve such an object, the present invention adds a subtraction circuit to the majority decision circuit in an error correction decoding system including a majority decision circuit, a syndrome register, and a data register using a majority decision set cyclic code, and also adds a subtraction circuit to the majority decision circuit. The determination threshold is set to a specific value within the number of input elements of the majority circuit, and after cyclic correction, a specific number is sequentially subtracted from the determination threshold via a subtraction circuit until the determination threshold reaches a predetermined value, and corrected decoding is performed. It is characterized by the following.
以下、図面を参照して本発明を詳細に説明す
る。 Hereinafter, the present invention will be explained in detail with reference to the drawings.
第1図は本発明を適用した誤り訂正復号回路の
一実施例を示す。本図において、100は出力ポ
ート、101は入力ポート、102は並直/直並
変換回路、103はデータレジスタ(272段)、1
04はタイミングジエネレータ、105はロード
ゲート回路、106はシンドロームレジスタ(82
段)、107は多数決回路、108はコレクトゲ
ート回路、109はエラーステータレジスタ、1
10はスタート信号、111はロード信号、11
3はコレクト信号、114は誤り訂正前のデー
タ、115は誤り訂正後のデータ、116はシリ
アルロードデータ、117はレデイ信号、118
はシンドロームレジスタ信号、119は誤り訂正
信号、120はロードゲート信号、121はコレ
クトゲート信号、122はロードタイミング信
号、123はロード用クロツク信号、124はク
リア信号、126は誤り訂正クロツク信号、12
7はエラーステータス信号、128は2を法とす
る加算器、129は閾値指定信号(5ビツト)を
示す。 FIG. 1 shows an embodiment of an error correction decoding circuit to which the present invention is applied. In this figure, 100 is an output port, 101 is an input port, 102 is a parallel-to-serial/serial-to-parallel conversion circuit, 103 is a data register (272 stages), 1
04 is a timing generator, 105 is a load gate circuit, 106 is a syndrome register (82
stage), 107 is a majority circuit, 108 is a collect gate circuit, 109 is an error status register, 1
10 is a start signal, 111 is a load signal, 11
3 is a collect signal, 114 is data before error correction, 115 is data after error correction, 116 is serial load data, 117 is a ready signal, 118
119 is a syndrome register signal, 119 is an error correction signal, 120 is a load gate signal, 121 is a collect gate signal, 122 is a load timing signal, 123 is a loading clock signal, 124 is a clear signal, 126 is an error correction clock signal, 12
7 is an error status signal, 128 is an adder modulo 2, and 129 is a threshold designation signal (5 bits).
本実施例の基本的な回路構成は、既述の特願昭
58−6579号において述べた通りであるが、閾値
指定信号129によつて閾値を変え得るように構
成してある点、および多数決の構成要素を1ビ
ツト短縮後の先頭ビツトで構成する点が異なつて
いる。伝送データの先頭ビツト上で直交させるこ
とによつて、ロードエンド信号が不要になつてい
る。 The basic circuit configuration of this embodiment is based on the previously mentioned patent application.
As described in No. 58-6579, the difference is that the threshold value can be changed by the threshold value designation signal 129, and that the component of the majority vote is made up of the first bit after being shortened by 1 bit. It's on. By orthogonalizing the data on the first bit of the transmitted data, the load end signal is no longer necessary.
次に本実施例の動作について説明する。本実施
例の特徴とするところは、閾値を17、16、15、
14、13、12、11、10、9の順に下げて訂正を行う
ことにより、誤り訂正能力を向上させていること
である。かかる原理については後述する。 Next, the operation of this embodiment will be explained. The feature of this embodiment is that the threshold values are set to 17, 16, 15,
The error correction ability is improved by correcting the numbers in the order of 14, 13, 12, 11, 10, and 9. This principle will be described later.
まず、CPU(図示せず)は閾値レベル(閾値指
定信号129)を17に指定する(5ビツト情報)。
次に、CPUはスタート命令(スタート信号11
0)を発し、シンドロームレジスタ106の82ビ
ツト全部を“0”にセツトする(リセツト信号1
24参照)。これにより、つぎのロードデータに
備える。CPUは、1パケツト分272ビツトの情報
を、16ビツトづつ17回に分けて順次ロードする。
CPUは、ロードデータを誤り訂正前のデータ1
14上に載せ、ロード命令を発生させる(ロード
信号111参照)。 First, the CPU (not shown) specifies the threshold level (threshold specification signal 129) as 17 (5-bit information).
Next, the CPU issues a start command (start signal 11
0) and sets all 82 bits of the syndrome register 106 to “0” (reset signal 1
24). This prepares for the next load data. The CPU sequentially loads 272 bits of information for one packet, dividing it into 17 times of 16 bits each.
The CPU converts the load data into data 1 before error correction.
14 and generates a load command (see load signal 111).
このロード信号111に基づいて、ロードゲー
ト信号120およびロード用クロツク信号(16ビ
ツト)123を発生し、シンドロームレジスタ1
06へデータを導くためのロードゲート回路10
5の制御、並直変換回路102への誤り訂正前デ
ータ114のデータロード、並直変換回路からデ
ータレジスタ103への16ビツトシフトおよびシ
ンドロームレジスタ106への16ビツトシフト等
を行う。 Based on this load signal 111, a load gate signal 120 and a load clock signal (16 bits) 123 are generated, and the syndrome register 1
Load gate circuit 10 for guiding data to 06
5, data loading of the pre-error correction data 114 to the parallel-to-serial conversion circuit 102, 16-bit shift from the parallel-to-serial conversion circuit to the data register 103, 16-bit shift to the syndrome register 106, etc.
この動作を17回繰り返すことにより、先頭のデ
ータはデータレジスタ103の最先端へ到達す
る。シンドロームレジスタ106は、シンドロー
ムを生成し終つている。すなわち、82ビツトのシ
ンドロームレジスタ106は、データを生成多項
式G(2)で除算した余りを表していることになる。 By repeating this operation 17 times, the first data reaches the leading edge of the data register 103. The syndrome register 106 has finished generating the syndrome. That is, the 82-bit syndrome register 106 represents the remainder when the data is divided by the generator polynomial G(2).
S(x)={a0x271+ax270+…+a270x+a271/g(x
)}
ここで、S(x)はシンドローム、a0…a271は
272ビツトのデータ、g(x)は既述の特願昭58−
6579号で述べた生成多項式、{ }は余りを表す。S(x)={a 0 x 271 +ax 270 +...+a 270 x+a 271 /g(x
)} Here, S(x) is the syndrome, a 0 …a 271 is
272-bit data, g(x) is from the aforementioned patent application 1982-
In the generator polynomial described in No. 6579, { } represents the remainder.
これ以降、誤り訂正動作の説明に入る。CPU
はコレクト命令に応答してコレクト信号113を
発生する。一方、タイミングジエネレータ104
はコレクト用の誤り訂正クロツク信号126を発
生し、データレジスタ103内のデータ16ビツト
分のみを誤り訂正し、直並変換回路102にロー
ドする。この誤り訂正は、排他的論理和回路(2
を法とする加算器)108により行う。誤り訂正
信号119は、シンドロームレジスタ82個の状態
を後述する17個の線形結合とし、その17個の中で
多数決回路107によつて閾値(最初の閾値は
17:閾値指定信号129)と比較することによ
り、出力されるものである。 The error correction operation will now be explained. CPU
generates a collect signal 113 in response to a collect command. On the other hand, the timing generator 104
generates an error correction clock signal 126 for correcting, corrects errors only for 16 bits of data in the data register 103, and loads the corrected data into the serial-to-parallel conversion circuit 102. This error correction is performed using an exclusive OR circuit (2
(modulo adder) 108. The error correction signal 119 is a linear combination of 17 states of the 82 syndrome registers, which will be described later. Among the 17 states, the majority circuit 107 determines a threshold (the first threshold is
17: This is output by comparing with the threshold value designation signal 129).
ただし、この誤り訂正信号119は、コレクト
ゲート信号に応答して誤り訂正動作のときにのみ
通過するよう構成されている(コレクトゲート回
路108参照)。さらに、誤り訂正信号119は
誤り訂正動作の場合と同様、そのビツトに誤りが
あるときは、そのビツトの影響を除去するように
シンドロームレジスタ106を修正する。 However, this error correction signal 119 is configured to pass only during an error correction operation in response to a collect gate signal (see collect gate circuit 108). Further, as in the case of error correction operation, the error correction signal 119 modifies the syndrome register 106 when there is an error in that bit so as to remove the influence of that bit.
このようにしてコレクト信号113につき16ビ
ツトの誤り訂正を行つた後に、CPUはレデイ信
号117が生じていることを確認して入力ポート
101のデータ115を読み取る。そして、コレ
クト信号113を17回出力し、1パケツト272ビ
ツト分の信号を復元する。このとき、エラーステ
ータス信号127を調べることにより、正しく誤
り訂正がなされたか否かを判断することができ
る。また、シンドロームレジスタ106が全て
“0”でないときは、未だいずれかのビツト位置
に誤りが存在することであるから、再び誤り訂正
動作を行う。ただし、このときは、多数決回路の
閾値を1だけ減じる。すなわち、閾値を16とし
て、前回の閾値17で誤り訂正を行つた後のデータ
を用いる。 After performing 16-bit error correction on the collect signal 113 in this manner, the CPU confirms that the ready signal 117 is generated and reads the data 115 from the input port 101. Then, the collect signal 113 is output 17 times to restore the signal for one packet of 272 bits. At this time, by checking the error status signal 127, it can be determined whether or not error correction has been performed correctly. Furthermore, if the syndrome register 106 is not all "0", it means that an error still exists in one of the bit positions, so the error correction operation is performed again. However, in this case, the threshold value of the majority circuit is decreased by 1. That is, the threshold value is set to 16, and data after error correction is performed using the previous threshold value of 17 is used.
以上の操作を、閾値9が終了するまで行う。た
だし、途中でシンドロームレジスタ106がすべ
て“0”になつたときは、誤り訂正動作を完了し
たことになる。すなわち、その時点におけるデー
タは正しい値を有しているので、それ以後は誤り
訂正回路を通過させる必要がない。なお、本実施
例では入出力ポート上のデータを16ビツトとして
扱つたが、他のビツト数とした場合にも同様であ
る。 The above operations are performed until the threshold value 9 is completed. However, when the syndrome register 106 becomes all "0" during the process, it means that the error correction operation is completed. That is, since the data at that point has a correct value, there is no need to pass it through the error correction circuit from then on. In this embodiment, the data on the input/output port is handled as 16 bits, but the same applies to other numbers of bits.
第2図は、第1図の制御手順を示すフローチヤ
ートである。ここでは、回路を単純化するため
に、短縮ビツト上で直交させるのではなく、実際
における伝送ビツトの先頭ビツト上で直交するよ
うな複合チエツクマトリクスとしている。このこ
とにより、既述の特願昭58−6579号に開示した如
く、ロードエンド命令信号によるシンドロームレ
ジスタの空回しは不要となる。換言すれば、ロー
ドエンド信号が必要なくなる訳である。 FIG. 2 is a flowchart showing the control procedure of FIG. 1. Here, in order to simplify the circuit, a composite check matrix is used that is not orthogonal on the shortened bits, but is orthogonal on the first bit of the actual transmission bits. This eliminates the need for the syndrome register to be idled by the load end command signal, as disclosed in the aforementioned Japanese Patent Application No. 58-6579. In other words, the load end signal is no longer necessary.
シンドロームレジスタ106の内容を、S0、
S1、…S80、S81とすると、伝送先頭ビツト上で直
交する複合チエツクマトリクスA0、A1、…、A16
は次のとおりとなる。 The contents of the syndrome register 106 are S 0 ,
S 1 ,...S 80 , S 81 are composite check matrices A 0 , A 1 ,..., A 16 that are orthogonal on the first transmission bit.
is as follows.
A0=S16
A1=S70+S75
A2=S4+S22
A3=S20+S26+S44
A4=S2+S24+S30+S48
A5=S34+S51+S56+S77
A6=S7+S43+S60+S64
A7=S15+S19+S41+S47+S65
A8=S1+S10+S46+S63+S67
A9=S49+S31+S42+S45+S54
A10=S9+S12+S21+S57+S74+S78
A11=S5+S36+S38+S49+S52+S61
A12=S6+S37+S38+S50+S53+S62
A13=S0+S11+S14+S23+S59+S76
+S80
A14=S8+S27+S28+S35+S66+S68
+S79
A15=S3+S13+S32+S33+S40+S71
+S73
A16=S17+S18+S25+S56+S58+S69
+S72+S81
次に、多数決回路の閾値を17、16、15、…、9
の如く高い値から順次下げていくことの利点につ
いて説明する。いま、一例として閾値が17の場合
を考えてみる。この場合、誤りが16個以下のとき
には、誤つた訂正を行うことはない(閾値9では
誤つた訂正を行うことがある)。短縮ビツトを省
略したときの複合チエツクマトリクスAは次のよ
うな形になつている。A 0 = S 16 A 1 = S 70 + S 75 A 2 = S 4 + S 22 A 3 = S 20 + S 26 + S 44 A 4 = S 2 + S 24 + S 30 + S 48 A 5 = S 34 + S 51 + S 56 + S 77 A 6 = S 7 + S 43 + S 60 + S 64 A 7 = S 15 + S19 + S 41 + S 47 + S 65 A 8 = S 65 A 8 = S 65 S 63 + S 67 A 9 = S 67 A 9 = S 49 + S 31 + S 45 + S 454 + S 454 A 10 =S 9 +S 12 +S 21 +S 57 +S 74 +S 78 A 11 =S 5 +S 36 +S 38 +S 49 +S 52 +S 61 A 12 =S 6 +S 37 +S 38 +S 50 +S 53 +S 62 A 13 =S 0 +S 11 +S 14 +S 23 +S 59 +S 76 +S 80 A 14 =S 8 +S 27 +S 28 +S 35 +S 66 +S 68 +S 79 A 15 =S 3 +S 13 +S 32 +S 33 +S 40 +S 71 +S 73 A 16 =S 17 +S 18 +S 25 +S 56 +S 58 +S 69 +S 72 +S 81 Next, set the threshold of the majority circuit to 17, 16, 15, ..., 9
We will explain the advantage of sequentially lowering the value starting from a high value. Now, as an example, consider a case where the threshold value is 17. In this case, when the number of errors is 16 or less, no erroneous correction is performed (with a threshold of 9, erroneous correction may be performed). The composite check matrix A when the shortening bit is omitted has the following form.
先頭ビツトを除いた個所に16個以下の誤りがあ
る場合、誤りパターンとマトリツクスAとの積に
おける“1”の数は、最大でも“16”である。閾
値は17なので、誤り訂正を行わない。すなわち、
誤つた訂正は行わない。また、16個以下の誤りが
先頭ビツトを含んだ個所に生じている場合には、
誤りパターンとマトリツクスAとの積における
“1”の数が17となることがある。当然、先頭ビ
ツトのみの場合は17となる。15個の誤りが、先頭
ビツトを含んだAの各行にのみ集中する場合も
“1”の数は17となる。このような場合は先頭ビ
ツトを訂正するので、先頭ビツトのみに関して正
しい誤り訂正がなされることになる。以上述べた
操作を繰り返して272回行うので、閾値を17とす
ることにより、16個以下の誤りに関しては、その
うちいくつかの誤りを訂正することになる。しか
も、誤つた訂正を行うことはない。 If there are 16 or less errors in locations other than the leading bit, the number of "1"s in the product of the error pattern and matrix A is "16" at most. Since the threshold value is 17, no error correction is performed. That is,
Mistakes will not be corrected. Additionally, if 16 or fewer errors occur in a location that includes the first bit,
The number of "1"s in the product of the error pattern and matrix A may be 17. Naturally, if it is only the first bit, it will be 17. Even if 15 errors are concentrated only in each row of A that includes the first bit, the number of "1"s will be 17. In such a case, since the first bit is corrected, only the first bit will be correctly corrected. Since the above-mentioned operation is repeated 272 times, by setting the threshold to 17, some of the errors of 16 or less will be corrected. What's more, they will not make any false corrections.
つぎに閾値を16に下げて上述と同じ操作を行う
と、当然、15個以下の誤りに対して誤つた訂正は
行われず、いくつかの正しい誤り訂正が行われる
ことになる。 Next, if the threshold value is lowered to 16 and the same operation as described above is performed, erroneous corrections will not be made for 15 or fewer errors, but some correct error corrections will be made.
さらに、閾値を15、14、13、12、11、10に設定
して誤り訂正を行う。このことによつて、16ビツ
ト以下〜9ビツト以下のかなりの誤りを訂正する
ことになる。 Furthermore, error correction is performed by setting thresholds to 15, 14, 13, 12, 11, and 10. This will correct significant errors of less than 16 bits to less than 9 bits.
最後に、本来の閾値9に設定して誤り訂正を行
う。この場合には、本来の符号誤り訂正能力によ
り、8ビツト以下の残された誤りすべてを訂正す
ることができる。 Finally, the original threshold value 9 is set to perform error correction. In this case, all remaining errors of 8 bits or less can be corrected by the inherent code error correction ability.
以上述べたとおり、閾値を17〜9に下げて順次
誤り訂正を行うことによつて、8ビツト以下の誤
りすべてと、9ビツト〜16ビツトの誤りの多くを
訂正することができる。 As described above, by lowering the threshold value to 17 to 9 and sequentially performing error correction, it is possible to correct all errors of 8 bits or less and most of the errors of 9 bits to 16 bits.
第3図は、本発明を適用した第2の実施例を示
す。第4図は、CPU(図示せず)の制御手順を示
すフローチヤートである。 FIG. 3 shows a second embodiment to which the present invention is applied. FIG. 4 is a flowchart showing the control procedure of the CPU (not shown).
第1図に示した誤り訂正回路は、その都度閾値
を設定し直し、前回の誤り訂正によつて得たデー
タを再度ロードし、もつて訂正を行う方式であつ
た。そのために、かなりの処理時間を要すること
になる。第3図に示した誤り訂正回路は、大部分
をハードウエア化して高速処理を可能としたもの
である。回路構成は、ほとんど第1図と同様であ
るが、誤り訂正処理と閾値の設定を自動的に行う
よう構成した点が異なる。なお、第1図に示した
構成要素とほぼ同一の機能を有する構成要素には
同一の番号を付してある。 The error correction circuit shown in FIG. 1 is of a type that resets the threshold each time, reloads the data obtained by the previous error correction, and then performs the correction. Therefore, a considerable amount of processing time is required. The error correction circuit shown in FIG. 3 is mostly implemented in hardware to enable high-speed processing. The circuit configuration is almost the same as that in FIG. 1, except that error correction processing and threshold setting are automatically performed. Note that components having substantially the same functions as those shown in FIG. 1 are given the same numbers.
本図中、300はデータセレクタ、301はタ
イミングジエネレータ、302は多数決回路、3
03はデータリード信号、304はダミークロツ
ク信号、305はデータロードクロツク信号、3
06はコレクトクロツク信号、307は次回に使
用する保存用データ、308は誤り訂正後のシリ
アルデータ、309は1パケツト分のデータをテ
ストし終つた時点のタイミング信号を表す。 In this figure, 300 is a data selector, 301 is a timing generator, 302 is a majority circuit, 3
03 is a data read signal, 304 is a dummy clock signal, 305 is a data load clock signal, 3
06 is a collect clock signal, 307 is storage data to be used next time, 308 is serial data after error correction, and 309 is a timing signal at the time when one packet of data has been tested.
第1図において述べた如く、CPU(図示せず)
はスタート信号110を発生させる。このスター
ト信号に応答してタイミングジエネレータ301
はリセツト信号124を発生させ、シンドローム
レジスタ106内の各レジスタを全てクリアする
と共に、多数決回路302の閾値を17にセツトす
る。つぎに、CPUは誤り訂正前のデータ114
としてパラレルデータをセツトし、ロード信号1
11を発生させてデータをロードする。並直変換
回路102へのロードは、ロードクロツク信号1
22を用いて行う。このパラレルロードの後に、
ロードクロツク信号123に応答してデータレジ
スタ103およびシンドロームレジスタ106へ
のデータロードが行われる。データセレクタ30
0は、ロード時にはロードデータを、また誤り訂
正時には保存用データ307を通過させるための
ゲート回路である。このようにして、1パケツト
分272ビツト全部のデータロードを完了する。 As mentioned in Figure 1, the CPU (not shown)
generates a start signal 110. In response to this start signal, the timing generator 301
generates a reset signal 124, clears all registers in the syndrome register 106, and sets the threshold of the majority circuit 302 to 17. Next, the CPU processes the data 114 before error correction.
Set parallel data as load signal 1
11 to load the data. The load to the parallel-to-serial conversion circuit 102 is the load clock signal 1.
This is done using 22. After this parallel load,
Data is loaded into data register 103 and syndrome register 106 in response to load clock signal 123. Data selector 30
0 is a gate circuit for passing load data during loading and for passing storage data 307 during error correction. In this way, loading of all 272 bits of data for one packet is completed.
データロードを完了すると、タイミングジエネ
レータ301は誤り訂正動作用の信号を出力す
る。すなわち、コレクトゲート回路108を開
き、コレクトクロツク信号306によつてシンド
ロームレジスタ106の歩進と、データレジスタ
103の歩進および誤り訂正とを行う。最初に用
いる閾値は17である。この誤り訂正動作は、第1
図において述べたと同様、272ビツト分すべてに
ついて行う。この時、データレジスタ103内に
は、閾値を17として処理をしたときの誤り訂正後
のデータ272ビツトが残されている。 When data loading is completed, timing generator 301 outputs a signal for error correction operation. That is, the collect gate circuit 108 is opened, and the syndrome register 106 is incremented, the data register 103 is incremented, and error correction is performed by the collect clock signal 306. The threshold used initially is 17. This error correction operation is performed in the first
As described in the figure, all 272 bits are processed. At this time, 272 bits of error-corrected data remain in the data register 103 after processing with the threshold value of 17.
この段階において、エラーステータス信号12
7がエラーを表示していれば、データレジスタ1
03内のデータには未だ誤りが残つていることに
なる。したがつて、この場合には閾値を1だけ減
じて再び誤り訂正を行う。 At this stage, the error status signal 12
7 indicates an error, data register 1
This means that errors still remain in the data in 03. Therefore, in this case, the threshold value is decreased by 1 and error correction is performed again.
多数決回路302はエラーステータス信号12
7を受信し、未だ誤りが存在すると判断したとき
には、1パケツトエンド信号のタイミングに応答
して閾値を1だけ減ずる。シンドロームレジスタ
106の周期は273ビツトなので、ダミークロツ
ク信号304によつて、シンドロームレジスタ1
06を1ビツト分だけシフトする。その後に、閾
値16を用いて誤り訂正を行う。 The majority circuit 302 outputs the error status signal 12
7 and when it is determined that an error still exists, the threshold value is decreased by 1 in response to the timing of the 1 packet end signal. Since the period of the syndrome register 106 is 273 bits, the period of the syndrome register 106 is 273 bits.
06 by 1 bit. After that, error correction is performed using a threshold value of 16.
すべての誤りが訂正され、エラーステータス信
号127にそのことが表示されると、CPUはデ
ータ読出しに入る。 Once all errors have been corrected and the error status signal 127 indicates so, the CPU enters the data read.
また、閾値を9まで下げても誤り訂正を行い得
なかつたときは、エラーステータス信号127に
誤り表示を行うと共に、レデイ信号117を出力
する。 If the error cannot be corrected even if the threshold value is lowered to 9, an error is displayed on the error status signal 127 and a ready signal 117 is output.
データの読み出しは、データリード信号303
に応答して行う。データリードクロツク信号30
5によつて、データレジスタ103内のデータを
直並変換回路102に導く。レデイ信号117に
応答して、CPUはパラレルデータ115を読み
取るためのデータリード信号303を繰り返し出
力し、もつて誤り訂正後における1パケツト分の
データを復元する。 To read data, data read signal 303
done in response to. Data read clock signal 30
5 leads the data in the data register 103 to the serial-to-parallel conversion circuit 102. In response to the ready signal 117, the CPU repeatedly outputs a data read signal 303 for reading the parallel data 115, thereby restoring one packet of data after error correction.
第5図は、多数決回路の動作を説明するブロツ
ク図である。ここで、500は多数決入力信号
(A0〜A16)、501は多数決回路、502は減算
回路、503はゲート回路、504は閾値を1だ
け減ずるための減算命令信号、505は閾値信
号、506は多数決出力信号である。また、既述
の如く、108はコレクトゲート回路、124は
クリア信号、127はエラーステータス信号、3
09は1パケツトエンド信号である。 FIG. 5 is a block diagram illustrating the operation of the majority circuit. Here, 500 is a majority input signal (A 0 to A 16 ), 501 is a majority circuit, 502 is a subtraction circuit, 503 is a gate circuit, 504 is a subtraction command signal for subtracting the threshold by 1, 505 is a threshold signal, and 506 is the majority vote output signal. Further, as mentioned above, 108 is a collect gate circuit, 124 is a clear signal, 127 is an error status signal, 3
09 is a 1 packet end signal.
減算回路502は、リセツト信号124によつ
て予め“17”にセツトされている。すなわち、17
が最初の閾値となる。1回目の272ビツトについ
て、各ビツトごとの訂正が終了すると、1パケツ
トエンド信号309はゲート503を制御してエ
ラーステータス信号127を通過させ、もつて減
算命令信号504を送出させる。この減算命令信
号504により、初期設定された閾値17を1だけ
減じて、16に設定し、閾値信号505を送出す
る。多数決回路501では、多数決入力信号A0
〜A16について、閾値信号505の指定する閾値
より大のときのみ多数決出力信号506を出力す
る。これを各ビツトについて行い、閾値16におけ
る操作を終了する。 The subtraction circuit 502 is previously set to "17" by the reset signal 124. i.e. 17
is the first threshold. When the first bit-by-bit correction of 272 bits is completed, the 1-packet end signal 309 controls the gate 503 to pass the error status signal 127, and then sends out the subtraction command signal 504. In response to this subtraction command signal 504, the initially set threshold value 17 is subtracted by 1 and set to 16, and a threshold value signal 505 is sent out. In the majority decision circuit 501, the majority decision input signal A 0
~ A16 , the majority vote output signal 506 is output only when the value is greater than the threshold specified by the threshold signal 505. This is done for each bit, and the operation at threshold 16 is completed.
更に、上述した操作を閾値15〜9について、繰
り返し行う。 Furthermore, the above-described operation is repeated for threshold values 15 to 9.
なお、第1図および第3図に示した各実施例に
おいては、閾値を17、…、9の順に下げていき誤
り訂正を行つたが、例えば途中の閾値を11、10、
9の如く設定することにより、処理時間を短縮す
ることができる。この場合には、誤り訂正能力は
上述の実施例に比べて若干低下することになる。
すなわち、この場合には、8ビツト以下の誤り全
てと、9ビツトおよび10ビツトの誤りのかなりの
数を訂正することになる。また、閾値を例えば、
17、15、13、11、9とすることにより、同様に短
時間で誤り訂正動作を終了させることができる。 In each of the embodiments shown in FIG. 1 and FIG. 3, error correction was performed by lowering the threshold value in the order of 17, ..., 9, but for example, if the threshold value in the middle was lowered to 11, 10, etc.
By setting as in 9, the processing time can be shortened. In this case, the error correction ability will be slightly lower than in the above embodiment.
That is, in this case, all errors of 8 bits or less and a significant number of 9-bit and 10-bit errors will be corrected. In addition, the threshold value can be set as, for example,
17, 15, 13, 11, and 9, the error correction operation can be similarly completed in a short time.
また、閾値9に固定して複数回訂正動作をさせ
ることによつて、前回の誤り訂正動作で訂正でき
なかつた誤りを訂正する確率を増大させることが
できること言うまでもない。 It goes without saying that by fixing the threshold value to 9 and performing the correction operation multiple times, it is possible to increase the probability of correcting errors that could not be corrected in the previous error correction operation.
以上説明したとおり、本発明によれば、1パケ
ツト中8ビツト以下の誤りはすべて、9ビツト以
上16ビツト以下の誤りはかなりの割合で誤り訂正
を行うことができるので、文字コード放送のサー
ビスエリアを拡大すると共に、誤り表示を少なく
することができる。計算機シミユレーシヨンによ
ると、9ビツト、10ビツトについては100%、11
ビツトは95%程度の誤り訂正が可能であつた。 As explained above, according to the present invention, all errors of 8 bits or less in one packet can be corrected, and errors of 9 bits or more and 16 bits or less can be corrected at a considerable rate. It is possible to enlarge the image and reduce erroneous display. According to computer simulation, 9 bits and 10 bits are 100%, 11
BIT was able to correct errors of about 95%.
なお、第1図に示した第1の実施例では、基本
の誤り訂正回路をほとんど変更することなく、閾
値だけを外部から指定し得るようにしたので、従
来からの回路にソフトウエア部を追加することに
よつて簡単に実現できるという利点がある。 In addition, in the first embodiment shown in Fig. 1, only the threshold value can be specified from the outside without changing the basic error correction circuit, so a software section is added to the conventional circuit. This has the advantage that it can be easily realized by doing so.
また、第3図に示した第2の実施例では、上述
した第1の実施例のソフトウエア部をハードウエ
アによつて実現するようにしたので、高速処理が
可能である。 Furthermore, in the second embodiment shown in FIG. 3, the software section of the first embodiment described above is implemented by hardware, so high-speed processing is possible.
最後に述べた第3の実施例では、順次下げてい
くべき閾値の種類を少くしているので、誤り訂正
に要する時間を短縮することができる。 In the third embodiment mentioned last, the number of types of threshold values to be sequentially lowered is reduced, so the time required for error correction can be shortened.
このように、本発明はテレビ信号の垂直帰線期
間を利用する文字コード放送に適用し得るもので
あるが、全テレビラインを用いて伝達を行う専用
波形のコード放送にも適用できるのはもちろんで
ある。更に、その他の多数決符号復号回路にも応
用することができる。 As described above, the present invention can be applied to character code broadcasting that uses the vertical retrace period of a television signal, but it can also be applied to code broadcasting using a dedicated waveform that uses all television lines for transmission. It is. Furthermore, it can be applied to other majority code decoding circuits.
第1図は本発明の1実施例を示すブロツク図、
第2図は第1図の制御手順を示すフローチヤー
ト、第3図は本発明の別実施例を示すブロツク
図、第4図は第3図の制御手段を示すフローチヤ
ート、第5図は多数決回路の動作説明図である。
100……出力ポート、101……入力ポー
ト、102……並直/直並変換回路、103……
データレジスタ、104……タイミングジエネレ
ータ、105……ロードゲート回路、106……
シンドロームレジスタ、107……多数決回路、
108……コレクトゲート回路、109……エラ
ーステータスレジスタ、110……スタート信
号、111……ロード信号、113……コレクト
信号、114……誤り訂正前のデータ、115…
…誤り訂正後のデータ、116……シリアルロー
ドデータ、117……レデイ信号、118……シ
ンドロームレジスタ信号、119……誤り訂正信
号、120……ロードゲート信号、121……コ
レクトゲート信号、122……ロードタイミング
信号、123……ロード用クロツク信号、124
……リセツト信号、126……誤り訂正クロツク
信号、127……エラーステータス信号、128
……2を法とする加算器、129……閾値指定信
号、300……データセレクタ、301……タイ
ミングジエネレータ、302……多数決回路、3
03……データリード信号、304……ダミーク
ロツク信号、305……データリードクロツク信
号、306……コレクトクロツク信号、307…
…保存用データ、308……誤り訂正後のシリア
ルデータ、309……1パケツトエンド信号、5
00……多数決入力信号、501………多数決回
路、502……減算回路、503……ゲート回
路、504……−1命令信号、505……閾値信
号、506……多数決出力信号。
FIG. 1 is a block diagram showing one embodiment of the present invention;
2 is a flowchart showing the control procedure of FIG. 1, FIG. 3 is a block diagram showing another embodiment of the present invention, FIG. 4 is a flowchart showing the control means of FIG. 3, and FIG. 5 is a majority decision. FIG. 3 is an explanatory diagram of the operation of the circuit. 100...Output port, 101...Input port, 102...Parallel/serial/parallel conversion circuit, 103...
Data register, 104... Timing generator, 105... Load gate circuit, 106...
Syndrome register, 107...majority circuit,
108...Collect gate circuit, 109...Error status register, 110...Start signal, 111...Load signal, 113...Collect signal, 114...Data before error correction, 115...
... Data after error correction, 116 ... Serial load data, 117 ... Ready signal, 118 ... Syndrome register signal, 119 ... Error correction signal, 120 ... Load gate signal, 121 ... Collect gate signal, 122 ... ...Load timing signal, 123...Load clock signal, 124
...Reset signal, 126...Error correction clock signal, 127...Error status signal, 128
... Adder modulo 2, 129 ... Threshold specification signal, 300 ... Data selector, 301 ... Timing generator, 302 ... Majority circuit, 3
03...Data read signal, 304...Dummy clock signal, 305...Data read clock signal, 306...Collect clock signal, 307...
... Data for storage, 308 ... Serial data after error correction, 309 ... 1 packet end signal, 5
00...Majority input signal, 501...Majority circuit, 502...Subtraction circuit, 503...Gate circuit, 504...-1 command signal, 505...Threshold signal, 506...Majority output signal.
Claims (1)
路、シンドロームレジスタ、データレジスタを含
む誤り訂正復号系において、前記多数決判定回路
に減算回路を付加すると共に、前記多数決判定回
路の判定閾値を多数決回路入力素子数以内の特定
値に設定し、巡回訂正後に、前記減算回路を介し
て判定閾値から順次に特定数ずつ減算し、判定閾
値が所定値に達するまで減少させて訂正復号する
ようにしたことを特徴とする誤り訂正復号方式。 2 データ信号272ビツト、情報信号190ビツトお
よびパリテイビツト82ビツトの信号を用い、前記
多数決判定回路の判定閾値を予め17に設定すると
共に、前記特定数を1として、前記判定閾値17を
順次半値9に達するまで減少させて訂正復号する
ようにしたことを特徴とする特許請求の範囲第1
項記載の誤り訂正復号方式。 3 前記判定閾値の設定を、外部装置からの指令
に基づいて、変更するようにしたことを特徴とす
る特許請求の範囲第1項記載の誤り訂正復号方
式。 4 前記判定閾値の設定、データの再ロード動作
をハードウエアによつて行い、誤り処理時間を短
縮すると共に、ソフトウエアの負担を軽減したこ
とを特徴とする特許請求の範囲第1項記載の誤り
訂正復号方式。 5 前記判定閾値の減少量を2または3として誤
り訂正時間を短縮させるようにしたことを特徴と
する特許請求の範囲第1項記載の誤り訂正復号方
式。 6 前記判定閾値を17以下からスタートさせ、誤
り訂正時間を短縮させるようにしたことを特徴と
する特許請求の範囲第1項記載の誤り訂正復号方
式。[Scope of Claims] 1. In an error correction decoding system including a majority decision circuit, a syndrome register, and a data register using a majority decision set cyclic code, a subtraction circuit is added to the majority decision circuit, and a decision threshold of the majority decision circuit is added. is set to a specific value within the number of input elements of the majority circuit, and after cyclic correction, the subtraction circuit sequentially subtracts a specific number from the judgment threshold until the judgment threshold reaches a predetermined value to perform corrected decoding. An error correction decoding method characterized by: 2 Using a data signal of 272 bits, an information signal of 190 bits, and a parity bit of 82 bits, the judgment threshold of the majority decision circuit is set to 17 in advance, and the specified number is set to 1, and the judgment threshold 17 is sequentially reduced to half the value of 9. Claim 1 characterized in that the correction decoding is performed by reducing the amount until the
Error correction decoding method described in section. 3. The error correction decoding system according to claim 1, wherein the setting of the determination threshold value is changed based on a command from an external device. 4. The error according to claim 1, characterized in that the determination threshold value setting and the data reloading operation are performed by hardware, thereby shortening the error processing time and reducing the burden on the software. Correction decoding method. 5. The error correction decoding system according to claim 1, wherein the amount of decrease of the determination threshold value is set to 2 or 3 to shorten the error correction time. 6. The error correction decoding system according to claim 1, wherein the determination threshold is started from 17 or less to shorten error correction time.
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58054002A JPS59181841A (en) | 1983-03-31 | 1983-03-31 | Error correcting and decoding system |
| US06/571,573 US4630271A (en) | 1983-01-20 | 1984-01-17 | Error correction method and apparatus for data broadcasting system |
| KR1019840000228A KR910000156B1 (en) | 1983-01-20 | 1984-01-19 | Error correction method and system |
| CA000445657A CA1216059A (en) | 1983-01-20 | 1984-01-19 | Error correction method and apparatus |
| CA000513552A CA1222558A (en) | 1983-01-20 | 1986-07-10 | Error correction method and apparatus |
| US06/895,033 US4819231A (en) | 1983-01-20 | 1986-08-08 | Framing timing detection circuit for a character code broadcasting system |
| KR1019900011866A KR910000178B1 (en) | 1983-01-20 | 1990-08-02 | Framing timing extraction circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58054002A JPS59181841A (en) | 1983-03-31 | 1983-03-31 | Error correcting and decoding system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59181841A JPS59181841A (en) | 1984-10-16 |
| JPH0211184B2 true JPH0211184B2 (en) | 1990-03-13 |
Family
ID=12958384
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58054002A Granted JPS59181841A (en) | 1983-01-20 | 1983-03-31 | Error correcting and decoding system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59181841A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01120130A (en) * | 1987-11-04 | 1989-05-12 | Nippon Hoso Kyokai <Nhk> | Error correcting and detecting circuit |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS547204B2 (en) * | 1972-09-13 | 1979-04-05 |
-
1983
- 1983-03-31 JP JP58054002A patent/JPS59181841A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59181841A (en) | 1984-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0278383A2 (en) | Error correction method using reed-solomon code | |
| KR100508605B1 (en) | Encoding device, encoding method, mobile station and base station | |
| JP3234130B2 (en) | Error correction code decoding method and circuit using this method | |
| EP0198702A2 (en) | Methods of correcting errors in digital data | |
| EP1030456A2 (en) | Error correction coding/decoding method and apparatus | |
| EP0101218A2 (en) | Methods of correcting errors in binary data | |
| JPH0612592B2 (en) | Binary data error correction device | |
| EP0328977A2 (en) | Word synchronization system | |
| US4476458A (en) | Dual threshold decoder for convolutional self-orthogonal codes | |
| EP0608848B1 (en) | Cyclic coding and cyclic redundancy code check processor | |
| US7266760B1 (en) | Method and apparatus for calculating cyclic redundancy checks for variable length packets | |
| US4819231A (en) | Framing timing detection circuit for a character code broadcasting system | |
| JP3283122B2 (en) | Code correction method and apparatus | |
| US4159469A (en) | Method and apparatus for the coding and decoding of digital information | |
| US20050066258A1 (en) | Error decoding circuit, data bus control method and data bus system | |
| JPH0211184B2 (en) | ||
| US5671238A (en) | Method and circuitry for generating r-bit parallel CRC code for an l-bit data source | |
| EP0343742A2 (en) | Decoders for Hamming encoded data | |
| JP2605269B2 (en) | Error correction method | |
| JP3087394B2 (en) | Binary arithmetic encoder | |
| CN1139503A (en) | Device for establishing cell boundaries in a bit stream and CRC calculation | |
| JP2684031B2 (en) | Data decryption method | |
| KR100307583B1 (en) | Reed-solomon decoder using modified chien search algorithm | |
| KR100219524B1 (en) | Method for correcting error of product code | |
| JPH07114371B2 (en) | Decryption device |