JPS6090430A - Error detecting circuit - Google Patents
Error detecting circuitInfo
- Publication number
- JPS6090430A JPS6090430A JP58198363A JP19836383A JPS6090430A JP S6090430 A JPS6090430 A JP S6090430A JP 58198363 A JP58198363 A JP 58198363A JP 19836383 A JP19836383 A JP 19836383A JP S6090430 A JPS6090430 A JP S6090430A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- error
- error correction
- data
- circuit
- 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.)
- Granted
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)
- Detection And Correction Of Errors (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は、テレビジョン信号の垂直帰線期間にディジタ
ルコード化した文字情報を多毛伝送し、もって家庭用テ
レビ受像機などへ表示する文字コード放送の誤り検出回
路に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error detection circuit for character code broadcasting that transmits digitally coded character information during the vertical retrace period of a television signal and displays it on a home television receiver or the like. It is.
従来から日本の文字コード放送では、誤り訂正方式とし
て(272,190)符号を用いるのが最もよいとされ
ている。このことは、本出願人による特願昭58−85
78号「誤り訂正復号方式」からも明らかである。すな
わち、かかる出願は、特に伝送路で生じたビット誤りを
訂正することによって最大限回復させようとする誤り訂
正復号方式に関するものであり、多数決差集合巡回符号
のうちから、データビット273.情報ビット191お
よびノくリテイビット82ビットの信号を用い、この信
号から1ビツト減少させて、1パケットを272 ビッ
トで構成し、データビット272.情報ピッ119Qお
よびノ々リティビット82ビットのデータ信号を形成し
て伝送し、伝送されてきたデータ信号に、所定列かすベ
て1の行列を乗算することにより、誤り訂正確率を増大
させて情報を復号できるようにすることを要旨としてい
る。Conventionally, in Japanese character code broadcasting, it has been considered best to use the (272,190) code as an error correction method. This is reflected in the patent application filed in 1985-85 by the present applicant.
This is clear from No. 78 "Error Correction Decoding System". In other words, this application relates to an error correction decoding system that attempts to recover as much as possible by correcting bit errors occurring in a transmission path, in which data bits 273 . Using a signal of 191 information bits and 82 bits of attribute bits, one bit is reduced from this signal to configure one packet of 272 bits, and data bits 272. By forming and transmitting a data signal of 119Q information bits and 82 bits of normality bits, and multiplying the transmitted data signal by a matrix of predetermined columns and all 1, the error correction probability is increased and the information is The purpose is to be able to decrypt .
」一連の特願昭58−8579〜)において提案した基
本的な誤り訂正復号方式を用いると、1パケツト(27
2ビツト)において8ビットの誤りを訂正することは可
能であるが、9ビット以上の誤りについては、はとんど
訂11:、できないという欠点がみられた。Using the basic error correction decoding method proposed in a series of patent applications 1985-8579~), one packet (27
Although it is possible to correct errors of 8 bits (2 bits), it is almost impossible to correct errors of 9 bits or more.
また、上述の出願において提案したもう1つの改良され
た誤り訂正復号方式(すなわち、誤りが訂正できないと
きには、先頭ビットをずらせることによって、9ビツト
以」―の誤りも訂正し得るようにした方式)では、処理
時間が長くなりすぎるという欠点がみられた。Another improved error correction decoding method proposed in the above-mentioned application (i.e., a method that can correct errors of 9 bits or more by shifting the leading bit when the error cannot be corrected) ) had the disadvantage that the processing time was too long.
そこで、本出願人による4、−m1昭58−54002
号では、1渋り訂正能力を向上させると同時に処理時間
の短縮を図るために、多数決差集合巡回符号を用いる多
数決判定回路、シンドロームレジスタ。Therefore, 4, -m1 Sho 58-54002 by the present applicant
No. 1 describes a syndrome register, a majority decision circuit that uses a majority difference set cyclic code in order to improve the error correction ability and reduce processing time at the same time.
データレジスタを含む誤り、+[正復号系において、多
数決判定回路に減算回路を付加すると共に、多数決判定
回路の判定閾値を多数決回路入力素子数以内の特定値に
設定し、巡回訂正後に、減算回路を介して判定闇値から
順次に特定数ずつ減算し、判定閾値が所定値に達するま
で減少させて訂正復号することを要旨としている。Errors involving data registers, + [In the correct decoding system, a subtraction circuit is added to the majority decision circuit, the decision threshold of the majority decision circuit is set to a specific value within the number of input elements of the majority decision circuit, and after cyclic correction, the subtraction circuit The gist is to sequentially subtract a specific number from the judgment dark value via , reduce the judgment threshold value until it reaches a predetermined value, and perform corrective decoding.
しかし、上述したいずれの方式によっても、検出不可能
な誤りが生じるという欠点がみられた。However, all of the above-mentioned methods have the drawback of causing undetectable errors.
本発明の目的は、上述の点に鑑み、文字コード放送の誤
り訂正検出が不可能な場合にも誤り訂正ビット数が多い
場合は、誤り検出として扱い、誤訂正の確率を減少させ
るよう構成した誤り検出回路を提供することにある。In view of the above-mentioned points, an object of the present invention is to reduce the probability of error correction by treating it as error detection when the number of error correction bits is large even when error correction detection in character code broadcasting is impossible. An object of the present invention is to provide an error detection circuit.
かかる目的を達成するために、本発明では多数決差集合
巡回符号誤り復号力式を用いた文字コード放送の誤り訂
正回路において、巡回訂正中にシンドロームレジスタよ
り発生される誤り訂正ビ・ント数を計数し、その計数値
が特定値以」二に達したときは、シンドロームレジスタ
がすべて零となった状態であっても、誤り検出と判断す
る手段を備え、誤字表示を低減せしめるよう構成する。In order to achieve such an object, the present invention counts the number of error correction bits generated from a syndrome register during cyclic correction in an error correction circuit for character code broadcasting using a majority-set cyclic code error decoding power formula. However, when the count value reaches a specific value or more, a means is provided to determine that an error has been detected even if all the syndrome registers are zero, thereby reducing typographical errors.
以下に、図面を参照して本発明の詳細な説明する。The present invention will be described in detail below with reference to the drawings.
まず、本発明の第1実施例について、第1図ないし第3
図を参照して説明する。First, regarding the first embodiment of the present invention, FIGS.
This will be explained with reference to the figures.
ここで、第1図は、本発明を適用した誤り検出回路の一
実施例を示す。Here, FIG. 1 shows an embodiment of an error detection circuit to which the present invention is applied.
第2図は、しきい値を順次低下させて訂正を行う場合に
、初期しきいイ1iによる訂〕F能力の差を示すシュミ
レーション図である。ここで、文は多数状論理の初期し
きい値である。FIG. 2 is a simulation diagram showing the difference in correction F ability based on the initial threshold 1i when correction is performed by sequentially lowering the threshold. Here, the sentence is the initial threshold of the majority logic.
第3図は、本発明の第1実施例における制御手順全体を
示すフローチャートである。ここで、木口はCPUの動
作を示すステップである6その他のステップでは、回路
が自動的に動作する。なお、木閲に示す各々のステップ
については、以下に示す第1図の説明において1.併せ
て述べることとする。FIG. 3 is a flowchart showing the entire control procedure in the first embodiment of the present invention. Here, the steps shown here are steps that indicate the operation of the CPU.6 In other steps, the circuit operates automatically. Note that each step shown in the diagram is described in 1. in the explanation of FIG. 1 below. I will also mention this.
第1UAにおいて、+00は中央処理装置CPυ(図示
せず)の出力ポート、101は差向(P/S)・面差(
S/P)変換回路、102はセレクタ、103はデータ
レジスタ(272ビツト) 、104は2を法とする加
算器、105はCPu(7)入カポ−)、10Eiはゲ
ート、107は2を法とする加算器、108はタイミン
グジェネレーク、109はシンドロームレジスタ(82
ビット)、110は多数決論理回路、lllは誤り検出
回路、112はクロック4g号、113は誤り訂正前の
データ、114は誤り訂正後のデータ、115はリセッ
ト信号、118はロード信号、11?はフェッチ信号、
118はエラーステータス信号、118はレディ信号、
120はデータロード制御信号、121はデータロード
パルス信号、122はデータロードクロック信号、12
3は誤り訂正ゲート信号、124は誤り訂正信号、12
5はシンドロームシフトクロフタ信号、126はフエ・
ソチ用クロック信号、127はシリアルロードデータ、
128は循即データ、128はシンドロームレジスタ信
号、130はしきい値減少信号、131は誤り訂正不能
信号を表わす。In the first UA, +00 is the output port of the central processing unit CPυ (not shown), and 101 is the forward direction (P/S)/plane difference (
S/P) conversion circuit, 102 is a selector, 103 is a data register (272 bits), 104 is an adder modulo 2, 105 is CPU (7) input capo), 10Ei is a gate, 107 is a modulo 2 108 is a timing generator, 109 is a syndrome register (82
110 is a majority logic circuit, ll is an error detection circuit, 112 is a clock 4g, 113 is data before error correction, 114 is data after error correction, 115 is a reset signal, 118 is a load signal, 11? is the fetch signal,
118 is an error status signal, 118 is a ready signal,
120 is a data load control signal, 121 is a data load pulse signal, 122 is a data load clock signal, 12
3 is an error correction gate signal, 124 is an error correction signal, 12
5 is the syndrome shift crofter signal, 126 is the Hue・
Clock signal for Sochi, 127 is serial load data,
Reference numeral 128 indicates circular data, 128 a syndrome register signal, 130 a threshold reduction signal, and 131 an error correction uncorrectable signal.
CPUはパケy l・信号を受帖すると、そのパケット
イコ;号の誤り訂正処理に入る。゛まず、リセッI・信
号115を発し、シンドロームレジスタ109 (7)
82ビツトすべてを°0′”状態に、タイミングジェネ
レータ108を初期状居iに、多数決論理回路110の
しきい値を初期状j刃;の’17”に、誤り検出回路1
】1の課り訂正カウンタを°°0°′に、それぞれセ・
ントしてデータロードに備える。When the CPU receives the packet y l signal, it begins error correction processing for that packet y l signal.゛First, the reset I signal 115 is issued, and the syndrome register 109 (7)
All 82 bits are set to 0''', the timing generator 108 is set to the initial state i, the threshold value of the majority logic circuit 110 is set to the initial state 17, and the error detection circuit 1
] Set the imposition correction counter of 1 to °°0°', respectively.
and prepare for data loading.
次に、 cpuは受信パケット信号(すなわち、誤り訂
正前のデータ+13)を並直変換回路101ヘロードす
る。この変換回路101が8ピクト用のときは34回、
1θビツト用のときは17回だけロードすることになる
。ロードのタイミングは、ロード信号116に応答して
行う。Next, the CPU loads the received packet signal (ie, data before error correction +13) to the parallel-to-serial conversion circuit 101. When this conversion circuit 101 is for 8 pictographs, 34 times,
If it is for 1θ bit, it will be loaded only 17 times. The load timing is performed in response to the load signal 116.
タイミングジェネレータ108はロード信号11[1を
受信すると、データロードパルス信号121を発し、誤
り訂JE前のデータ113を変換回路101のレジスタ
ヘセ・ントシ、データロードクロツタ信号122に応答
して、変換回路101のデータをデータレジスタ103
およびシンドa−ムレジスタ109へ導く。このときは
、データロード制御信号120によってゲート106を
制御し、シリアルロードデータ127を通過させ、また
、データセレクタ102はシリアルロードデータ127
を選択するモードとする。もちろん、変換回路101が
8ビツトのときにはロードクロック信号のパルス数は8
ビツトであり、変換回路101が18ビツトのときには
ロードクロック信号のパルス数は18ビツトである。こ
のロードの時点では、誤り訂正ゲート信号123によっ
て多数決論理回路11(lは禁止されており、誤り訂正
信号124は出ていない。When the timing generator 108 receives the load signal 11[1, it issues a data load pulse signal 121, transfers the data 113 before error correction to the register of the conversion circuit 101, and in response to the data load clock signal 122, outputs the data 113 to the conversion circuit. 101 data to data register 103
and leads to the syndrome register 109. At this time, the data load control signal 120 controls the gate 106 to pass the serial load data 127, and the data selector 102 controls the serial load data 127.
is the mode to select. Of course, when the conversion circuit 101 is 8 bits, the number of pulses of the load clock signal is 8.
When the conversion circuit 101 is 18 bits, the number of pulses of the load clock signal is 18 bits. At this time of loading, the majority logic circuit 11 (l) is inhibited by the error correction gate signal 123, and the error correction signal 124 is not output.
全データがデータレジスタ103およびシンドロームレ
ジスタ108にロードされると、本回路は自動的に誤り
訂正動作に入る。最初の1回目は、制御イ菖号(誤り訂
正ゲート信号)123に応答して、しきい値”1?”に
よって多数決回路110が動作し、謂り訂正信号124
を出力する。最初から全く誤りがない場合は、誤り検出
回路111がシンドロームレジスタ信号12+1からそ
の論理和によって誤り無しを検出し、誤り訂正動作に入
らない。Once all data is loaded into data register 103 and syndrome register 108, the circuit automatically enters error correction operation. At the first time, in response to the control error signal (error correction gate signal) 123, the majority circuit 110 operates according to the threshold value "1?", and the so-called correction signal 124 is activated.
Output. If there is no error at all from the beginning, the error detection circuit 111 detects no error from the syndrome register signal 12+1 by the logical sum thereof, and does not enter the error correction operation.
CPUはエラーステー2740号118を見て誤りがな
いことを知り、CPU内の受信パヶyト信号をそのまま
用いて復号する。The CPU sees the error status 2740 No. 118 and knows that there is no error, and decodes it using the received packet signal in the CPU as it is.
誤り訂正時のクロック信号は、データロードクロック信
号122によって供給される。1巡272ビットのクロ
ック信号が出力されると、シンドロームシフトクロック
イ、−1号125の1ビットクロックによって、シンド
ロームレジスタlo8のみ1ビツトのシフトがなされる
。このとき、誤り訂正ゲート信号123はオフとなり、
誤り訂正は行われない。その理由は、シンドロームの周
期が273゜データの周期が272と異っているためで
ある。この1巡回において全ての誤りが訂正されていれ
は、エラーステータス信号118は誤り無しを表示して
おり、レディ信号+19によってCPUヘデータフェッ
ナの催促を行う。したがって、CPUは常時レディ信号
119を見ていればよいことになる。また、このレディ
信号119を割込み制御線に供給してcpuへ知らせて
もよい。A clock signal during error correction is provided by data load clock signal 122. When a 272-bit clock signal is output for one cycle, only the syndrome register lo8 is shifted by 1 bit by the 1-bit clock of the syndrome shift clock I-1 125. At this time, the error correction gate signal 123 is turned off,
No error correction is performed. The reason for this is that the period of the syndrome is 273 degrees, which is different from the period of data 272 degrees. If all the errors have been corrected in this one cycle, the error status signal 118 indicates no error, and the ready signal +19 prompts the CPU to complete the data processing. Therefore, the CPU only needs to constantly monitor the ready signal 119. Alternatively, the ready signal 119 may be supplied to the interrupt control line to notify the CPU.
2を法とする加算器104を経た誤り訂正後のデータ(
循環データ) 128’は、データセレクタ+02を経
てデータレジスタIO3へ再びロードサレる。また、誤
り検出回路111は誤り訂正信号124をカウントする
カウンタを含んでおり、そのカウンタが’13”を示し
た時点において、誤り311F不能信号131を出力す
る構成となっている。この誤り訂正不能信号131が送
出されているときは。The error-corrected data that has passed through the adder 104 modulo 2 (
The circular data) 128' is loaded and sold again to the data register IO3 via the data selector +02. Further, the error detection circuit 111 includes a counter that counts the error correction signal 124, and is configured to output an error 311F disable signal 131 when the counter indicates '13'. When signal 131 is being sent.
エラーステータス信号118も常に誤り検出を表示する
ような構成になっている。The error status signal 118 is also configured to always indicate an error detection.
誤り訂正不能信号131を受信したタイミングジェネレ
ータ108は、1巡のビットシフトか終了した地点にお
いて、レディ信号11θを出力する。The timing generator 108 that has received the error uncorrectable signal 131 outputs a ready signal 11θ at the point where one round of bit shifting is completed.
CPUはデータ取り込みを行おうとするが、エラーステ
ータス信号118を見て誤り有りの状態を知り、そのパ
ケットについては使用しないことにする。The CPU attempts to take in data, but upon seeing the error status signal 118, it learns that there is an error, and decides not to use that packet.
1巡のデータシフトによる誤り訂正が終了しなかったと
き(すなわち、シンドロームレジスタ108の全てが′
0°゛でないとき、または誤り訂正信号が12回以上出
力されなかったとさ)には、りイミングジェネレータ1
08からのしきい値減算48号130によって、多数決
論理回路110のしきい値を−1″すなわち“’16”
として前回と同じ動作を行う。このような回路動作の繰
り返しを行うことにより、途中で誤り訂正か完全に行え
ない場合には、本来のしきい値゛°9°゛の演算が終了
するまで順次しきい値を下げていく。この持点でエラー
ステータス信号118が誤り無しを表示していないとき
には、誤り検出となり、このデータを使用しない。この
ときもレディ信号11f3とエラーステータス信号11
8とによって、CPUに誤り検出を知らせる。When error correction by one round of data shifting is not completed (that is, all of the syndrome registers 108 are
When the timing generator 1 is not 0° or the error correction signal is not output 12 times or more,
By subtracting the threshold value from No. 48 130, the threshold value of the majority logic circuit 110 is set to -1", that is, "'16".
Perform the same operation as last time. By repeating such circuit operations, if error correction cannot be completely performed on the way, the threshold value is successively lowered until the calculation of the original threshold value ゛9°゛ is completed. If the error status signal 118 does not indicate no error at this point, an error has been detected and this data is not used. At this time, the ready signal 11f3 and the error status signal 11
8 notifies the CPU of the error detection.
途中で誤り訂正が終了した場合(すなわち、シンドロー
ムレジスタが全て°”0゛であって、誤り訂正信号の出
力が12回以下のとき)は、そのしきい値における27
2ビャトシフーI・の終了と同時にレディ信号119を
出力し、エラーステータス信号118によってGPuに
全てiiI止されたことを知らせ誤り訂正信号のカウン
ト数を°’12”に固定して誤り検出に使用する理由は
、しきい値を1順次下げて誤りを′訂正する方式では、
IOビット以下の誤り訂正がほとんど全ての場合に可能
であり、11ビツトの誤りは90%の訂正かり能だから
である。第2図に計XSシミュレーションの結果を示す
。If the error correction ends midway (that is, when all the syndrome registers are '0' and the error correction signal is output 12 times or less), the threshold value of 27
2 At the same time as the end of the bit shift I, the ready signal 119 is output, and the error status signal 118 notifies the GPU that all III has been stopped.The count number of the error correction signal is fixed at 12" and used for error detection. The reason is that in the method of correcting errors by lowering the threshold one by one,
This is because error correction of IO bits or less is possible in almost all cases, and 90% of errors of 11 bits can be corrected. Figure 2 shows the results of the total XS simulation.
誤り訂正終了時(すなわち、シンドロームレジスタ10
9が全て“0”′であり、誤り訂正カウント数が°’1
1”以下の場合)には、CPUはフェッチ信号を発し、
誤り訂正後のデータの取り込みに入る。フェッチ信号に
よって、レディ信号119は一時ビジー状態を示すが、
面差変換回路101にデータがセットされるとレディ信
号119が再び示される。このレディ信号119を見て
、CPUは変換回路101のデータを取り込む。必要な
データは190ビツトの長さを有しているので、8ビツ
トごとの取り込みでは24回、18ビツトごとの取り込
みでは12回のフェッチ信号を発生することになる。C
PUは180 ビットのデータ取り込み後、データの解
釈および表示を行い、次のパケット受信処理に入る。At the end of error correction (i.e. syndrome register 10
9 are all "0"', and the error correction count number is °'1
1” or less), the CPU issues a fetch signal,
Start importing data after error correction. Depending on the fetch signal, the ready signal 119 temporarily indicates a busy state, but
When data is set in the surface difference conversion circuit 101, the ready signal 119 is displayed again. Seeing this ready signal 119, the CPU takes in the data from the conversion circuit 101. Since the required data has a length of 190 bits, fetch signals will be generated 24 times for fetching every 8 bits and 12 times for fetching every 18 bits. C
After taking in 180 bits of data, the PU interprets and displays the data, and then begins the next packet reception process.
以上が、本発明の第1実施例についての動作説明である
。The above is an explanation of the operation of the first embodiment of the present invention.
次に、本発明の第2実施例について説明する。Next, a second embodiment of the present invention will be described.
上述した第1実施例では、誤り訂正が正しくなされたか
否かの判断を、シンドロームレジスタ109が全て°0
′°でありl[つ誤り訂正カウント数が11’”以下に
限って行ったが、謂すカウント数の制限を高くし、ある
いはur変とすることによって、パケット信号を止しく
訂正復元する確率を増大ごせることができる。ただし、
この場合には誤って復元するfeg<も増加するので、
CRC(CyclicRedundancy C1r
eck)によるデータ部の誤り検出機能などが心安にな
ってくる。In the first embodiment described above, the syndrome register 109 determines whether or not the error correction has been performed correctly.
Although this was done only when the error correction count number was 11' or less, the probability of correctly correcting and restoring the packet signal could be increased by increasing the so-called limit on the count number or changing the number of errors. However,
In this case, feg<, which is erroneously restored, will also increase, so
CRC (Cyclic Redundancy C1r)
eck)'s error detection function in the data section will give you peace of mind.
第4図は、本発明による第2実施例の誤り検出回路を示
す。ここで、400はエンコーグ、 401 tよりウ
ンタ、402はコンパレータ、4o3は論理和回路、4
04は°’11”を示す押しボタンスイッチ(図示せず
)からの信号、 4o5.aoe、ao7はそれぞれ°
“12°’ 、”13” 、”+4”を示す押−しボタ
ンスイッチからの信号、408は制限無しを示す押しポ
タンスイ・ンチからの信号、408は第1図示の信号1
15と同じリセット信号、41Oは第1図示の信号12
4と同じ誤り訂正信号、 411〜414は上述した押
しポタンイへ号404〜40?のエンコード信号、41
5はカウンタ401の出力信号、41J第1図の信号1
31)は誤り訂正数による誤り検出信号、417は第1
図示の信号128によって検出されるシンドロームレジ
スタからの誤り検出信号を表わす。FIG. 4 shows a second embodiment of the error detection circuit according to the present invention. Here, 400 is an encoder, 401 is a counter from t, 402 is a comparator, 4o3 is an OR circuit, 4
04 is a signal from a push button switch (not shown) indicating °'11'', 4o5.aoe, ao7 are respectively °
Signals from the push-button switch indicating "12°',""13", and "+4"; 408 is a signal from the push-button switch indicating no limit; 408 is the signal 1 shown in the first diagram.
15 is the same reset signal, 41O is the signal 12 shown in the first diagram.
The same error correction signals as 4, 411-414 are the numbers 404-40? to the push buttons mentioned above. encoded signal, 41
5 is the output signal of the counter 401, 41J is the signal 1 in Fig. 1
31) is an error detection signal based on the number of error corrections, 417 is the first
The illustrated signal 128 represents the error detection signal from the syndrome register.
外部からのスイッチによって、押しボタン信号404〜
408のうち指定した1つが°゛1″となり、誤り検出
と判断するためのスレッショルドレベルを指定する。例
えば、押しボタン信号404が“’ l ” tt i
”+lf、エンコータ40θヲ通ったエンコード信号4
11〜414は°“11′′を表わす。すなわち、信号
411が“l′”、信号412が°°1°°、信号41
3が°゛0”ゝ、信号414がII゛となる。このエン
コード信号411〜414は、コンパレータ402の一
方の入力信号となる。Push button signals 404~ by an external switch
408 is "1", which specifies the threshold level for determining error detection.For example, if the push button signal 404 is "'l" tt i
”+lf, encoded signal 4 passed through encoder 40θ
11 to 414 represent °"11''. That is, the signal 411 is "l'", the signal 412 is °°1°°, and the signal 41 is "l'".
The encoded signals 411 to 414 become one input signal of the comparator 402.
408はリセット信号であり、誤り訂正開始時に出力さ
れる。このリセットイ、)号409は、カウンタ401
を初期状態の°゛O゛にセットする。この状態でパケッ
ト信号の19(り訂正動作に入ると、誤り訂正を行うた
めに、カウンタ入力信号(すなわち、誤り訂正信号)が
到来し、カウンタ401をカウントアンプする。そして
、カウント数がエンコード信号411〜414で指定さ
れるWiより大になった時点で、コンパレーク出力信号
16がl゛となる。408 is a reset signal, which is output at the start of error correction. This reset item ) 409 is the counter 401
Set to the initial state of °゛O゛. In this state, when the packet signal 19 (19) is entered into a correction operation, a counter input signal (that is, an error correction signal) arrives to perform error correction, and the counter 401 is counted and amplified. The comparator output signal 16 becomes l' when it becomes larger than Wi specified in 411 to 414.
また、シンドロームレジスタからの誤り検出信号41?
カ” 0°°であっても(すなわち、シンドロームレ
ジスタが°0゛′のとき)、論理和回路403を通過し
たコンパレータ出カイ、1号41Gは、足のままエラー
ステータス信号118にl°′となって現われ1、誤り
検出を表わす。Also, the error detection signal 41? from the syndrome register?
Even if the current value is 0° (that is, when the syndrome register is 0°), the comparator output No. 1 41G that has passed through the OR circuit 403 remains unchanged and outputs 1°' to the error status signal 118. This appears as 1, indicating error detection.
制限なしを示す押しボタン信号40Bが°′1゛′の場
合は、特別な場合として1.’ii!り検出機能を停止
させる。すなわち、コンパレータ402への入力の一方
の値を°゛272°°を越える伯にセットするか、ある
いはコンパレータ402の出力信号41Bが”1゛にな
らないよう直接的に制御する。このことによって、従来
の誤り訂正回路(例えば、上述の特願昭58−5400
2号参照)と同じ動作も可能である。この場合には、誤
り訂正の確率を増大させるが、当然に誤訂正の確率も大
となる。そこで、本文中のCRCによる誤り検出機能が
一層重大となる。If the push button signal 40B indicating no limit is °'1', 1. 'ii! stop the detection function. That is, one value of the input to the comparator 402 is set to a value exceeding 272°, or the output signal 41B of the comparator 402 is directly controlled so as not to become "1". error correction circuit (for example, the above-mentioned patent application No. 58-5400)
The same operation as (see No. 2) is also possible. In this case, the probability of error correction increases, but naturally the probability of error correction also increases. Therefore, the error detection function using CRC in the main text becomes even more important.
以上の説明では、押しボタン信号404〜407の指定
伯を°’11”から°1+Il+する方法をとったが、
同様に°+2°“ I+ +311 、 1+ +41
1.・・・するように構成し、指定数を4個ではなく5
個以上あるいは3個以下に指定しても、同じような機能
が得られるのは当然である。また、押しボタン信号40
4〜408の指定をCPUから命令できるような構成と
しても同様の効果が得られるのは当然である。In the above explanation, we took the method of changing the designated numbers of the push button signals 404 to 407 from °'11" to °1+Il+,
Similarly, °+2°“ I+ +311, 1+ +41
1. ...and set the specified number to 5 instead of 4.
Of course, the same functionality can be obtained even if the number is specified as more than or equal to three or less. In addition, the push button signal 40
It goes without saying that the same effect can be obtained even if the configuration is such that the designation of 4 to 408 can be commanded from the CPU.
更に、本発明のff4J3実施例について説明する。Furthermore, an ff4J3 embodiment of the present invention will be described.
上述の第2実施例において、誤り検出信号416および
417を別個にフラグとして設け、CPUにはそれぞれ
を知らせるようにしても同様な効果が得られる。 CP
U側において、シンドa−ムレジスタからの誤り検出信
号417のみを誤り検出として使用するか、あるいは、
誤り訂正数による誤り検出信号416の情3報をも含め
て誤り検出の判断をするかは、ユーザのプログラムによ
り選択することかり能である。In the second embodiment described above, the same effect can be obtained even if the error detection signals 416 and 417 are provided as separate flags and the CPU is notified of each. C.P.
On the U side, only the error detection signal 417 from the syndrome register is used for error detection, or
Whether or not to include the information of the error detection signal 416 based on the number of error corrections in determining error detection can be selected by the user's program.
@後に、本発明の第4コに流側について説明する。@Later, the fourth aspect of the present invention will be explained regarding the downstream side.
上述の第3実施例において、誤り検出信号416の代り
に、カウンタ401の出力データをCPU側で直接解読
し了り・るような構成にしておくことにより、誤り訂正
後のデータを1使用−するか使用しないかはソフトウェ
アによって判定することができる。本出願人による特願
昭58−180523号に示したフレーミングタイミン
グ検出のような場合には。In the third embodiment described above, by configuring the output data of the counter 401 to be directly decoded on the CPU side instead of the error detection signal 416, the error-corrected data can be used once. Software can determine whether to use it or not. In the case of framing timing detection as shown in Japanese Patent Application No. 58-180523 filed by the present applicant.
通常のパケット信号の誤、り検出時とはスレッショルド
レベルを変えて判断すべきであるが、この場合もCPU
はカウント数を読み取るだけで、誤り検出信号417と
併せてプログラムによってフレーミングタイミングの合
否を判定することができる。この場合には当然、コンパ
レータによル比較は行わないので、最後まで(すなわち
、しきい値” 9 ”まで)誤り訂正を行うことになる
。また、誤り検出の割合をソフトウェアによって常にカ
ウント管理することにより、誤り検出のスレッショルド
レベルを制御し、もって受信環境に拘わりなく誤り訂正
の普率をある程度一定に保つことができる。さらに、誤
り訂正カウント数の情報を利用して、文字コード放送受
信装置における信号識別回路のスライスレベル調整およ
びサンプル位ゆ
相調整と波形等化量のフィードバック情報として利用で
きる利点がある。Judgment should be made by changing the threshold level from when detecting an error in a normal packet signal, but in this case as well, the CPU
By simply reading the count number, together with the error detection signal 417, it is possible to determine whether the framing timing is correct or not using a program. In this case, as a matter of course, no comparison is performed by the comparator, so error correction is performed until the end (that is, up to the threshold value "9"). Furthermore, by constantly counting and managing the error detection rate using software, it is possible to control the error detection threshold level and thereby keep the error correction rate constant to some extent regardless of the reception environment. Furthermore, there is an advantage that the information on the error correction count number can be used as feedback information for the slice level adjustment, sample phase adjustment, and waveform equalization amount of the signal identification circuit in the character code broadcast receiving apparatus.
上述した各実施例は、既述の特願昭58−54002号
に示した誤り訂正回路を基本としているので、多数決回
路におけるしきい値レベルの初期(fjを°゛17°′
ではなく、はぼ同様の訂正効果を得ることができる13
′″等に定めても、あるいは、しきい1′1^の可変レ
ベルを“−1”ではなく”−2°’、”−3°。Each of the embodiments described above is based on the error correction circuit shown in the previously mentioned Japanese Patent Application No. 58-54002, so the initial threshold level (fj of the majority circuit) is
Instead, a correction effect similar to that of Habo can be obtained13
Even if the variable level of threshold 1'1^ is set to "-2°" or "-3°" instead of "-1".
等に設定しても、更には、一定しきい(Ifレベルでの
誤り訂正を誤り訂正動作がなくなるまで繰り返し行ない
、誤り訂正信号がでなくなってから初めてしきい値の減
算を行う等の方法によっても、はぼ同様の誤り訂正効果
を得ることができる。Even if set to It is also possible to obtain error correction effects similar to Habo.
以上詳述したとおり、本発明を実施することにより、誤
り訂正ビットのカウント数の概要を知ることができるの
で、誤訂正の確率を減少させる効果を挙げることかでき
る。As described in detail above, by implementing the present invention, it is possible to obtain an overview of the count number of error correction bits, and therefore it is possible to achieve the effect of reducing the probability of error correction.
次に、各実施例における効果を列挙する。Next, the effects of each example will be listed.
i1実施例では、シンドロームレジスタからの誤り検出
と1.;シシリ訂正ビ・ントをカウントすることによる
誤り検出との論理和をとりCPUヘフラグとして知らせ
ているので、回路およびプログラムを簡単に構成するこ
とかできるという利点がある。In the i1 embodiment, error detection from the syndrome register and 1. ; Since the logical sum with the error detection by counting the serial correction bits is calculated and the result is notified to the CPU as a flag, there is an advantage that the circuit and program can be easily configured.
第2実施例では、第1実施例における誤り訂正ビットの
カウンタ出力のしきい値を可変として外部力I”) 押
L ボタン、 A/D変換器を含んだボリウム。In the second embodiment, the threshold value of the counter output of the error correction bit in the first embodiment is made variable and an external force is applied.
あるいはCPUにより指定するようにし、もって受信条
件の悪い地点では誤り訂正ビットのカウント数のしきい
イぽ1を増大させるj:づにしている。このことにより
、受信条件の悪い地点での受信確率を土曽大させること
ができる。Alternatively, it may be specified by the CPU, so that the threshold number ipo1 of the error correction bit count is increased at points with poor reception conditions. This makes it possible to greatly increase the reception probability at points with poor reception conditions.
第3実施例では、シンドロームレジスタからの誤り検出
と、誤り訂正ビットをカウントすることによる誤り検出
とを別個のフラグとしてCPUへ知らせるようにし、誤
り検出の判断をCPUで行うようにしている。そして、
使用目的いかんによっては、誤り訂正ビットのカウント
による誤り検出を無視することも可能である。In the third embodiment, error detection from the syndrome register and error detection by counting error correction bits are notified to the CPU as separate flags, and the CPU makes the determination of error detection. and,
Depending on the purpose of use, it is also possible to ignore error detection by counting error correction bits.
第4実施例では、誤り訂正ビットのカウント数を示すカ
ウンタ出力をCPUか直接読み込めるよう構成して、誤
り検出のしきい値をソフトウェアにより決定するように
している。また、この誤り訂正カウント数の情報を信号
識別回路、波形等化量への入力とすることができる。こ
の場合には、コンパレータの一方の入力として、押しボ
タンを用いた直接的なしきい値指定、またはCPUから
のしきい値指定をすることか不要となる。この比較入力
をCPUへのステータス信号として人力した場合には、
ソフトウェアによるカウンタ出力との比較によって、第
1¥施例ないし第3実施例と同様な構成とすることもu
丁能である。In the fourth embodiment, the CPU is configured to directly read the counter output indicating the count number of error correction bits, and the threshold value for error detection is determined by software. Further, information on the error correction count number can be input to the signal identification circuit and the waveform equalization amount. In this case, it is not necessary to directly specify the threshold value using a push button or to specify the threshold value from the CPU as one input to the comparator. If this comparison input is manually input as a status signal to the CPU,
By comparing with the counter output by software, it is also possible to adopt a configuration similar to that of the first to third embodiments.
It is Ding Noh.
以上説明したように、本発明は、誤り訂正ビット数をカ
ウントしてカラン+−aが多い場合には、たとえシンド
ロームレジスタの内容が全て°゛0°′であったとして
も、1誤り検出とじて取扱い、もって誤り訂正の確率を
少なくしてい−る。なお、本発明によれば、その他全て
の多数状論理による誤り訂正符号は勿論、その他の信号
についても、同様の誤り検出機能を持たせることかでき
る。As explained above, in the present invention, when the number of error correction bits is counted and there are many callans +-a, even if the contents of the syndrome register are all °゛0°', one error detection is performed. This reduces the probability of error correction. According to the present invention, it is possible to provide a similar error detection function not only to all other error correction codes based on multi-form logic, but also to other signals.
第1図は、本発明を適用した誤り検出回路の一実施例を
示すブロック図、
第2図は、計算機シュミレーションによる誤り訂市後の
パケッI・正受信−IIAを示す線図、第3図は、第1
図の動作を説明するフローチャー1・、
第4図は、誤り検出回路の別実流側を示すブロック図で
ある。
100・・・出力ボート、
101・・・P/S 、 S/P変換回路、102・・
・セレクタ、
103・・・データレジスタ、
104・・・2を法とする加q器、
105・・・入力ポート、
toe・・・ゲート。
107・・・2を法とする加算器、
108・・・タイミングジェネレータ、108・・・シ
ンドロームレジスタ、
110・・・多数決論理回路、
+11・・・誤り検出回路、
+12・・・クロック信号、
113・・・誤り訂正前のデータ、
114・・・誤り訂正後のデータ、
1 、、l 5・・・リセット信号、
+16・・・ロード信号、
117・・・フェッチ信号、
88・・・エラーステータス信号、
119・・・レディ信号、
120・・・データロード制御信号、
121・・・データロードパルス信号、+22・・・デ
ータロードクロツタ信号、123・・・謂り訂正グーI
・41 ’1号、124・・・誤り訂正信号、
125・・・シンドロームシフト
クロック信号、
126・・・フェッチ用クロック信号、127・・・シ
リアルロードデータ、
128・・・循環データ、
128・・・シンドロームレジスタ信号、130・・・
しきい(ffi減少信号、+31・・・誤り訂正不能信
号、
400・・・エンコーダ、
401・・・カウンタ。
402・・・コンパレーク、
403・・・論理和回路、
404・・パ11゛°を示す押しボタン信号、405・
・・°゛12°°を示す押しボタン信号、406・・・
°°13°゛を示す押しボタン信号、407・・・”1
4”を示す押しボタン信号、408・・・制限なしを示
す押しボタン信号、408・・・リセット信号、
410・・・誤り訂正信号、
411〜414・・・404〜407のエンコード信号
、
415・・・カウンタ401の出力信号、416・・・
誤り訂正数による誤り検出信号、417・・・シンドロ
ームレジスタからの誤り検出信号。
特許出願人 日 本放送協会FIG. 1 is a block diagram showing an embodiment of an error detection circuit to which the present invention is applied, FIG. 2 is a diagram showing packet I/correct reception-IIA after error correction by computer simulation, and FIG. is the first
Flowchart 1 for explaining the operation shown in the figure. FIG. 4 is a block diagram showing another actual flow side of the error detection circuit. 100... Output boat, 101... P/S, S/P conversion circuit, 102...
- Selector, 103...Data register, 104...Q adder modulo 2, 105...Input port, toe...Gate. 107...Adder modulo 2, 108...Timing generator, 108...Syndrome register, 110...Majority logic circuit, +11...Error detection circuit, +12...Clock signal, 113 ...Data before error correction, 114...Data after error correction, 1,,l 5...Reset signal, +16...Load signal, 117...Fetch signal, 88...Error status Signal, 119...Ready signal, 120...Data load control signal, 121...Data load pulse signal, +22...Data load clock signal, 123...So-called correction group I
・41 '1, 124... Error correction signal, 125... Syndrome shift clock signal, 126... Clock signal for fetch, 127... Serial load data, 128... Circulating data, 128...・Syndrome register signal, 130...
Threshold (ffi decrease signal, +31...Error correction impossible signal, 400...Encoder, 401...Counter. 402...Comparator, 403...OR circuit, 404...Par 11゛° Push button signal indicating, 405.
...Push button signal indicating °゛12°°, 406...
Push button signal indicating °°13°゛, 407...”1
4" push button signal indicating no limit, 408... reset signal, 410... error correction signal, 411-414... encoded signal of 404-407, 415. ...Output signal of counter 401, 416...
Error detection signal based on the number of error corrections, 417...Error detection signal from the syndrome register. Patent applicant Japan Broadcasting Corporation
Claims (1)
ード放送の誤り訂正回路において。 巡回訂止中にシンドロームレジスタより発生される誤り
訂正ビット数を計数し、その計数値が特定値以上に達し
たときは、前記シンドロームレジスタがすべて零となっ
た状態であっても、誤り検出と判断する手段を備え、誤
字表示を低減せしめるようにしたことを特徴とする誤り
検出回路。 2)前記特定イ「1を、外部受イa状態に応じて変化さ
せるようにしたことを特徴とする特許請求の範囲第1項
記載の誤り検出回路。 (以下、余白)[Scope of Claims] l) In an error correction circuit for character code broadcasting using a majority set cyclic code error decoding system. The number of error correction bits generated by the syndrome register during cyclic correction is counted, and when the counted value reaches a certain value or more, even if the syndrome register is all zero, error detection is performed. An error detection circuit characterized by comprising a means for determining and reducing display of typographical errors. 2) The error detection circuit according to claim 1, characterized in that the specific A "1" is changed according to the state of the external receiver A. (hereinafter referred to as a margin)
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58198363A JPS6090430A (en) | 1983-10-25 | 1983-10-25 | Error detecting circuit |
| 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 |
|---|---|---|---|
| JP58198363A JPS6090430A (en) | 1983-10-25 | 1983-10-25 | Error detecting circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6090430A true JPS6090430A (en) | 1985-05-21 |
| JPH0211185B2 JPH0211185B2 (en) | 1990-03-13 |
Family
ID=16389857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58198363A Granted JPS6090430A (en) | 1983-01-20 | 1983-10-25 | Error detecting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6090430A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62235822A (en) * | 1986-04-04 | 1987-10-16 | Sharp Corp | Error correction decoding system |
| JPS62235823A (en) * | 1986-04-04 | 1987-10-16 | Sharp Corp | Error correction decoding system |
| 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 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4949612A (en) * | 1972-09-13 | 1974-05-14 | ||
| JPS50146206A (en) * | 1974-05-14 | 1975-11-22 |
-
1983
- 1983-10-25 JP JP58198363A patent/JPS6090430A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4949612A (en) * | 1972-09-13 | 1974-05-14 | ||
| JPS50146206A (en) * | 1974-05-14 | 1975-11-22 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62235822A (en) * | 1986-04-04 | 1987-10-16 | Sharp Corp | Error correction decoding system |
| JPS62235823A (en) * | 1986-04-04 | 1987-10-16 | Sharp Corp | Error correction decoding system |
| 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 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0211185B2 (en) | 1990-03-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4541091A (en) | Code error detection and correction method and apparatus | |
| EP0364475B1 (en) | Multiple pass error correction process and apparatus for product codes | |
| US4059825A (en) | Burst/slip correction decoder and method | |
| US4792953A (en) | Digital signal error concealment | |
| CA1295744C (en) | Error correction method using reed-solomon code | |
| JP2621614B2 (en) | Code error detection circuit | |
| JPH0812612B2 (en) | Error correction method and apparatus | |
| JPH084233B2 (en) | Error correction code decoding device | |
| KR0147150B1 (en) | Cyclic redundancy check error detection and correction device using decoder | |
| US4897839A (en) | Coding and decoding method | |
| JPS6090430A (en) | Error detecting circuit | |
| JPH0221180B2 (en) | ||
| EP0650266B1 (en) | An error correction code decoder and a method thereof | |
| US7055081B2 (en) | System and method for multi-channel decoding error correction | |
| JPH05284044A (en) | Transmitter for performing random error and burst error correction, receiver, decoder and video phone | |
| JP3271208B2 (en) | Error correction decoding device | |
| US5003540A (en) | Error correction coding and decoding circuit for digitally coded information | |
| JPS62141875A (en) | Preventing system for propagation of decoding error | |
| JP2561791B2 (en) | FM multiplex broadcast receiver | |
| US5357526A (en) | Method and apparatus for correcting errors of compressed data | |
| JPH0477488B2 (en) | ||
| JP3277062B2 (en) | Error correction code decoding device | |
| JP2823158B2 (en) | Error correction device | |
| JP2605269B2 (en) | Error correction method | |
| JPH05235906A (en) | Decoder fro multi-dimension code and error correction/ detection system using decoder |