JPS60206226A - Code error correcting and decoding circuit - Google Patents

Code error correcting and decoding circuit

Info

Publication number
JPS60206226A
JPS60206226A JP59060905A JP6090584A JPS60206226A JP S60206226 A JPS60206226 A JP S60206226A JP 59060905 A JP59060905 A JP 59060905A JP 6090584 A JP6090584 A JP 6090584A JP S60206226 A JPS60206226 A JP S60206226A
Authority
JP
Japan
Prior art keywords
data
signal
correction
circuit
error
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
Application number
JP59060905A
Other languages
Japanese (ja)
Other versions
JPH0155786B2 (en
Inventor
Hirohisa Shishikura
宍倉 博久
Ichiro Sase
一郎 佐瀬
Akio Yanagimachi
柳町 昭夫
Tsukasa Yamada
宰 山田
Shigeharu Eguri
殖栗 重治
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.)
Oki Electric Industry Co Ltd
Victor Company of Japan Ltd
Nippon Victor KK
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Oki Electric Industry Co Ltd
Victor Company of Japan Ltd
Nippon Victor KK
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, Oki Electric Industry Co Ltd, Victor Company of Japan Ltd, Nippon Victor KK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP59060905A priority Critical patent/JPS60206226A/en
Priority to US06/716,027 priority patent/US4672612A/en
Priority to CA000477540A priority patent/CA1223076A/en
Publication of JPS60206226A publication Critical patent/JPS60206226A/en
Publication of JPH0155786B2 publication Critical patent/JPH0155786B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To shorten a correction time, and adding error information on the number of corrections to corrected data and decide a received signal by counting the number of corrected bits and ending correcting operation when the count result exceeds a specific value. CONSTITUTION:An error correction signal 40 outputted from a majority decision making circuit corresponds to a collect gate signal 39 and is passed through a collect gate 38 only during error correcting operation. A correction number counter 51 counts this signal 40, and sends a correction number signal 52 to a data transfer circuit 20 and also outputs a correction over signal 53 indicating the number of corrections exceeds the specific value to a timing control circuit 17 and a data transfer circuit 20. Then it is stopped after the correcting operation. Further, data before being corrected is read out of a buffer memory 19 and loaded in a syndrome register 26 and a data register 24 to make error corrections, and the corrected data 42 is written in the memory 19 together with additional error information.

Description

【発明の詳細な説明】 (技術分野) 本発明はTV信号の垂直帰線消去期間にディジタル信号
としてコード化した文字・図形情報を多重伝送するコー
ド方式文字放送に好適な符号の誤シ制御に関するもので
あシ、特に伝送路で生じたる。
[Detailed Description of the Invention] (Technical Field) The present invention relates to code error control suitable for coded teletext broadcasting in which character/graphic information coded as a digital signal is multiplexed transmitted during the vertical blanking period of a TV signal. This occurs especially in transmission lines.

(技術的背景) TV伝送路を使用するこの種サービスにおける誤シ訂正
方式として、1パケツトを272ビツトで構成し、デー
タビット272ビツト、情報ビット190ビツトおよび
ノ母すティビット82ビットのデータ信号を形成して伝
送し、復号する方式が特願昭58−6579、特願昭5
8−54002および特願昭58−90017に示され
ている。
(Technical Background) As an error correction method for this type of service that uses a TV transmission channel, one packet consists of 272 bits, and a data signal of 272 data bits, 190 information bits, and 82 bits of base bits is used. The method of forming, transmitting, and decoding is based on Japanese Patent Application No. 58-6579 and Japanese Patent Application No. 58-6579.
No. 8-54002 and Japanese Patent Application No. 58-90017.

ここに開示されている誤シ訂正復号回路の構成を第1図
に示す。第1図において1はCPU (図示しない)に
つながるCPUパスラインであって、出力ポート20入
力端子、および入力ポート3の出力端子に接続されてい
る。出力ポート2は、訂正前データ5を誤シ訂正回路4
に供給する。誤シ訂正回路4は並−直列変換回路、直−
並列変換回路、シンドロームレジスタ、データレジスタ
等を含んでお’)、(272,190)符号を訂正する
動作を行なう。誤シ訂正回路4は訂正後データ6および
エラーステータス信号7を前記入力ポート3に供給する
FIG. 1 shows the configuration of the error correction decoding circuit disclosed herein. In FIG. 1, 1 is a CPU pass line connected to a CPU (not shown), and is connected to an input terminal of an output port 20 and an output terminal of an input port 3. The output port 2 outputs the uncorrected data 5 to the error correction circuit 4.
supply to. The error correction circuit 4 is a parallel-to-serial conversion circuit, and a direct-to-serial conversion circuit.
It includes a parallel conversion circuit, a syndrome register, a data register, etc., and performs an operation to correct the (272,190) code. The error correction circuit 4 supplies corrected data 6 and an error status signal 7 to the input port 3.

次に第1図の動作を説明する。訂正前データがCPUか
らCPUパスライン1を介して出力ポート2に供給され
る。出力ポート2によって受取られた前記訂正前データ
は誤シ訂正回路4によって訂正され、訂正後データ6を
生じ、入力ポート3に供給され、CPUパスライン1を
介してCPHに送達される。
Next, the operation shown in FIG. 1 will be explained. The uncorrected data is supplied from the CPU to the output port 2 via the CPU path line 1. The uncorrected data received by the output port 2 is corrected by the error correction circuit 4, resulting in the corrected data 6, which is supplied to the input port 3 and delivered to the CPH via the CPU path line 1.

と同時に誤シ訂正回路4は、1パケツトの誤シ訂正後、
シンドロームレジスタがO”になったか否かを示すため
に、エラーステータス信号7を発生し、入力ポート3を
介してCPU ノJスライン1に載せる。シンドローム
レジスタがパ0”であれば、訂正前データに誤りがなか
ったか、あるいは、訂正前データに誤りがあっても正し
く訂正されたこととなるから、CPUはエラーステータ
ス信号を検知することで、訂正後データが正しいか否か
を知ることができる。
At the same time, the error correction circuit 4, after correcting one packet of error,
In order to indicate whether the syndrome register has become O", an error status signal 7 is generated and sent to the CPU line 1 via input port 3. If the syndrome register is O", the uncorrected data is This means that there is no error in the data before correction, or even if there is an error in the data before correction, it has been correctly corrected, so by detecting the error status signal, the CPU can know whether the data after correction is correct or not. .

しかるに、上に示した従来技術では、以下に示すごとき
欠点があった。
However, the above-mentioned conventional technology has the following drawbacks.

第1図において、CPUパスを介するCPUと誤り訂正
回路との信号の授受が例えば8ピツ)=、=1−々イト
単位で行なわれるものとすると、1ノ9ケツト=272
ビツトの訂正前データをCPUから誤り訂正復号回路に
供給するのに34・々イト時間を必要とし、かつ誤シ訂
正回路4で訂正された1ノぐケラトのデータを誤シ訂正
復号回路からCPUに供給するのに同様の時間がかかる
In FIG. 1, assuming that signals are exchanged between the CPU and the error correction circuit via the CPU path in units of, for example, 8 bits)=,=1-1 bytes, then 1=9 bits=272 bits.
It takes 34 bits of time to supply the uncorrected bit data from the CPU to the error correction decoding circuit, and it takes 34 bits of time to supply the uncorrected bit data from the CPU to the error correction decoding circuit. It takes a similar amount of time to supply.

さらに日本の文字放送においては1垂直期間に最大12
パケットまでの送信が可能であり、これらをすべて処理
しようとすると、1垂直期間=16.67m5の間にC
PUと誤シ訂正復号回路とのデータ転送時間は、34バ
イト時間X2X12=816バイト時間にものぼる。こ
れらの転送はCPUの書込み、読出し命令によって行な
われるものであり、この転送の時間の間、CPUは他の
処理ができないため、文字放送の受信・表示に必要な、
コードの解読や表示フォーマットの生成などの処理に支
障をきたすことになる。特に誤シ訂正回路4における誤
シ訂正動作はCPUの動作とは非同期に行なわれるので
、CPUはl i4ケット分の誤り訂正が終了したか否
かを常時、検出して、誤シ訂正が終了したら即座に、入
力ポート3からのデータを読み取る動作に移行しなけれ
ばならないため、CPUの他の処理が断続的かつひんば
んに中断されてしまう。
Furthermore, in Japanese teletext broadcasting, up to 12
It is possible to transmit up to packets, and if you try to process them all, C
The data transfer time between the PU and the error correction decoding circuit is as long as 34 byte times x 2 x 12 = 816 byte times. These transfers are performed by the CPU's write and read commands, and the CPU is unable to perform other processing during this transfer time, so it is necessary to receive and display teletext.
This will cause problems in processing such as code deciphering and display format generation. In particular, since the error correction operation in the error correction circuit 4 is performed asynchronously with the CPU operation, the CPU always detects whether or not the error correction for 4 kets has been completed, and the error correction is completed. Then, the operation must immediately shift to reading data from the input port 3, so other processing by the CPU is interrupted frequently and intermittently.

以上説明したように、第1図に示した従来技術では、C
PUの負担が大きく、処理時間の多くをさかねばならず
、事実上、文字放送の受信と表示に必要なすべての処理
を行なえなくなってしまうという欠点があった@ 第2に、第1図に示した誤如訂正復号回路においては、
訂正後に正しく訂正できたか否かだけしか知ることがで
きず、伺ビット訂正されたかはわからなかった。受信さ
れたコードデータをディジタルコードに変換するために
は、おのおのの時点における信号値が1”であるか”′
0”であるかを判別する必要があり、判別するためのス
レッショルド電圧を正しく選択しないと正しいディジタ
ルコードがiられtい。正しくスレッショルド電圧をめ
るためには、あるスレッショルド電圧での誤シ程度を知
シ、これをフィードバックしてやる必要がある。
As explained above, in the conventional technology shown in FIG.
The disadvantage was that it placed a heavy burden on the PU and required much of the processing time, making it virtually impossible to perform all the processing necessary to receive and display teletext. In the error correction decoding circuit shown,
After the correction, it was only possible to know whether the correction was made correctly or not, and it was not possible to know whether the missing bits were corrected or not. In order to convert the received code data into a digital code, it is necessary to determine whether the signal value at each point in time is 1" or not.
It is necessary to determine whether the threshold voltage is 0", and if the threshold voltage for determination is not selected correctly, the correct digital code will not be generated.In order to set the threshold voltage correctly, it is necessary to determine the degree of error at a certain threshold voltage. I need to know and give feedback on this.

第3に、特願昭58−54002には、多数決判定回路
の判定しきい値を変化させて訂正を繰返す発明が示され
ているが、誤シビット数が多い場合には、判定しきい値
を変化させて訂正を繰シ返しても訂正できないので時間
の浪費になる。
Thirdly, Japanese Patent Application No. 58-54002 discloses an invention that repeats correction by changing the decision threshold of the majority decision circuit. Even if you make changes and make corrections over and over again, it cannot be corrected, so it is a waste of time.

また、誤シビット数が多い場合には、訂正動作を繰シ返
すごとに誤って訂正してしまい、結果的に誤シが増加し
てしまうことがある。このような場合には、むしろ訂正
前のデータを使って符号をデコードし、表示する場合よ
シも誤りの多い表示になってしまう。
In addition, when the number of erroneous bits is large, each time the correction operation is repeated, the erroneous bits may be erroneously corrected, resulting in an increase in the number of erroneous bits. In such a case, even if the code is decoded and displayed using data before correction, the result will be a display with many errors.

(発明の目的) この発明の目的は、上記従来技術の問題点を解決するた
めに、訂正したビット数をカウントする訂正数カウンタ
を設け、そのカウント結果力五所定値を越えた時には訂
正動作を終了して、訂正時間を短縮すること、および訂
正後データに訂正数などのエラー情報を付加して受信信
号を判別するのに便ならしめるようにすることにある。
(Object of the Invention) An object of the present invention is to provide a correction number counter that counts the number of corrected bits, and to perform a correction operation when the count exceeds a predetermined value. The purpose of the present invention is to shorten the correction time and add error information such as the number of corrections to the corrected data to make it easier to discriminate the received signal.

(実施例) 本発明の第一の実施例の回路図を第2図に示す。(Example) A circuit diagram of the first embodiment of the present invention is shown in FIG.

第2図において、10はCPU (図示せず)のデータ
バス、11はCPUのアドレスノ々スである。CPUの
データバス10はデータノ々ス制御回路12の第1の入
出力端子に接続され、前記データフ4ス制御回路の第2
の入出力端子はローカルデータ/?ス13に接続されて
いる。前記CPUのアドレスノ々ス11はアドレス切替
回路14の第1の入力端子に接続され、アドレス切替回
路14の第2の入力端子にはアドレス生成回路15から
、自動アドレス信号16が供給されている=。アドレス
切替回路14はタイミング制御回路17から供給される
ノ々ス制御信号18によシ、第1の入力端子に与えられ
るCPUのアドレス信号か、第2の入力端子に与えられ
る自動アドレス信号16かいずれ力1一方を選択し、バ
ッファメモリ19のアドレス入力端子にメモリアドレス
信号を供給する。
In FIG. 2, 10 is a data bus of a CPU (not shown), and 11 is an address bus of the CPU. The data bus 10 of the CPU is connected to the first input/output terminal of the data bus control circuit 12, and the data bus 10 is connected to the second input/output terminal of the data bus control circuit 12.
The input/output terminal of is local data/? connected to the bus 13. The address node 11 of the CPU is connected to a first input terminal of an address switching circuit 14, and an automatic address signal 16 is supplied from an address generation circuit 15 to a second input terminal of the address switching circuit 14. =. The address switching circuit 14 selects between the CPU address signal applied to the first input terminal and the automatic address signal 16 applied to the second input terminal according to the Noise control signal 18 supplied from the timing control circuit 17. At some point, one of the outputs 1 is selected and a memory address signal is supplied to the address input terminal of the buffer memory 19.

ローカルデータノ々ス13はまた、ノぐラフアメモリ1
9のデータ入出力端子およびデータ転送回路20のデー
タ入出力端子にも接続されており、このために、CPU
とバッファメモリおよびデータ転送回路は相互にデータ
のやり取シをすること力;できる。
The local data node 13 also includes the log file memory 1.
9 and the data input/output terminal of the data transfer circuit 20.
The buffer memory and data transfer circuit are capable of exchanging data with each other.

データ転送回路20には、文字コード放送の受信部(図
示せず)によって受信され、抽出された・ぐケラト受信
データであるシリアル受信データ21、文字コード放送
のフレーミング信号によυ、フレーム同期がとられたこ
とを示すフレーミング検知信号22、および文字コード
放送のクロックランインによシクロツク同期がとられた
同期クロック23が供給されている。
The data transfer circuit 20 includes serial reception data 21, which is received by a character code broadcast receiving unit (not shown) and extracted, and frame synchronization is performed according to the framing signal of the character code broadcast. A framing detection signal 22 indicating that a frame has been taken, and a synchronization clock 23 which is cyclically synchronized with the clock run-in of character code broadcasting are supplied.

データレジスタ24は272ビツトのパケット受信デー
タ、もしくは・9ケット受信データ272ビ、トのうち
の190ビツトの情報ビットを格納シシフトスるだめの
レジスタであシ、データ転送回路20によって並−直列
変換された訂正前データ25を受け取ってシフトする。
The data register 24 is a register for storing 190 bits of information bits out of 272 bits of packet received data, or 272 bits of 9 packet received data, and is converted from parallel to serial by the data transfer circuit 20. The uncorrected data 25 is received and shifted.

シンドロームレジスタ26は特願昭58−6579の第
10図に開示のものと同等のものであって、82ビ、)
からな・シ2を法とする加算器27を介する帰還ループ
ヲ有シている。28はロードゲート回路であシ、タイミ
ング制御回路17から供給されるロードゲート信号29
により、訂正前データ25を加算器27を介してシンド
ロームレジスタ26に供給するか否かを制御する。
The syndrome register 26 is equivalent to the one disclosed in FIG.
There is a feedback loop via an adder 27 modulo 2. 28 is a load gate circuit, and a load gate signal 29 is supplied from the timing control circuit 17.
This controls whether or not the uncorrected data 25 is supplied to the syndrome register 26 via the adder 27.

30はシンドロームレジスタ信号、31は多数決回路、
32はしきい値信号、33はしきい値発生回路、34は
しきい値を更新するためのしきい値クロック、35は、
シンドロームレジスタ26およびデータレジスタ24に
データをロードするためのロード用クロック信号、36
は訂正用クロック信号、37け、シンドロームレジスタ
26をクリアするだめのクリア信号、38は多数決回路
31の結果信号な誤シ訂正信号40として加算器41に
供給するか否かを、コレクトゲート信号39によって制
御するためのコレクトゲート回路、42は訂正後データ
、43は直−並/並−直変換を行なわせるためのクロッ
ク信号、44は受信デ4ノ □ 一タをパフアメモリに書込むだめの書込み・やルス信号
、45はバッファメモリに書込みを行なうだめの書込み
・ぐルス信号である。また46は、垂直帰線消去信号、
もしくは、垂直帰線消去信号に類似する信号、47は水
平同期信号、もしくは水平帰線消去信号、48は動作状
態を示すだめのステータス信号である。
30 is a syndrome register signal, 31 is a majority circuit,
32 is a threshold signal, 33 is a threshold generation circuit, 34 is a threshold clock for updating the threshold, 35 is
a loading clock signal 36 for loading data into the syndrome register 26 and data register 24;
37 is a correction clock signal, 37 is a clear signal for clearing the syndrome register 26, and 38 is a result signal of the majority circuit 31. A collect gate signal 39 indicates whether or not to supply the result signal of the majority circuit 31 to the adder 41 as an error correction signal 40. 42 is a corrected data, 43 is a clock signal for performing serial-to-parallel/parallel-to-serial conversion, and 44 is for receiving data. 45 is a write/write signal for writing to the buffer memory. 46 is a vertical blanking signal;
Alternatively, 47 is a horizontal synchronization signal or a horizontal blanking signal similar to a vertical blanking signal, and 48 is a status signal indicating the operating state.

49はシンドロームレジスタが0”になった時にセット
されるレジスタでアシ、その出力信号であるエラーステ
ータス信号50が前記データ転送回路20に供給されて
いる。また、51は、ビット誤シを訂正した回数をカウ
ントするだめの訂正数カウンタであって、訂正数信号5
2をデータ転送回路20に送出するとともに、訂正数が
所定値を越えたことを示す訂正オー・ぐ−信号53をタ
イミング制御回路17およびデータ転送回路20に送る
49 is a register that is set when the syndrome register becomes 0", and its output signal, an error status signal 50, is supplied to the data transfer circuit 20. Further, 51 is a register that corrects a bit error. A correction number counter for counting the number of times, and a correction number signal 5
2 is sent to the data transfer circuit 20, and at the same time, a correction au signal 53 indicating that the number of corrections exceeds a predetermined value is sent to the timing control circuit 17 and the data transfer circuit 20.

54、および55はアドレス更新信号、56はCPUの
データリクエスト信号である。
54 and 55 are address update signals, and 56 is a CPU data request signal.

次に第2図の動作を説明する。Next, the operation shown in FIG. 2 will be explained.

第2図の動作モードは大別して、■シリアル受信データ
を直−並列変換して・ぐラフアメモリに書込む、■バッ
ファメモリから訂正前データを読出シ、データレジスタ
とシンドロームレジスタにロードする、■データレジス
タとシンドロームレジスタを巡回させ、かつ多数決の判
定しきい値を変化させて巡回を繰シ返すことによシ誤シ
訂正を行なう、■訂正されたデータをバッファメモリに
書込む、という4つの動作モードからなる。また、第5
の動作モードとして、CPUがバッファメモリに格納さ
れた訂正後データを読出す。
The operating modes in Figure 2 can be roughly divided into: ∎ Serial-to-parallel conversion of serial received data and writing to the grapher memory, ∎ Reading uncorrected data from the buffer memory and loading into the data register and syndrome register, ∎ Data Four operations: 1. Correct errors by cycling through registers and syndrome registers, changing the majority decision threshold, and repeating the cycling; 1. Writing corrected data to buffer memory. Consists of modes. Also, the fifth
In the operation mode, the CPU reads the corrected data stored in the buffer memory.

第3図は第1の動作モードを説明するためのもので、文
字コード放送のパケット受信データのタイミングを示す
。第3図において、7oは水平同期信号、71はカラー
バースト、72はクロック同期をとるだめの16ビツト
のクロックランイン、73は、フレーム同期をとるため
のフレーミング信号、74は、272ビツトのデータビ
ットであって、シリアル受信データ21を形成するもの
である。
FIG. 3 is for explaining the first operation mode, and shows the timing of packet reception data of character code broadcasting. In FIG. 3, 7o is a horizontal synchronization signal, 71 is a color burst, 72 is a 16-bit clock run-in for clock synchronization, 73 is a framing signal for frame synchronization, and 74 is 272-bit data. These bits form the serial reception data 21.

データ転送回路20は、フレーミング信号73によって
フレーム同期がとられたことを示すフレーミング検知信
号22を受け取り、シリアル受信データの開始時期を知
ることができる。また、クロックランイン72によって
同期がとられた同期クロック23を受け取るので、27
2ビツトのデータビットの時間の藺、シリアル受信デー
タ21を同期クロックによって、順次取り込んで直−並
列変換する・ローカルデータバス13の容量全8バツフ
アメモリのあるパケットに関する訂正前データを格納す
るエリアの先頭番地をα番地とすれば、8ビツトのデー
タ送出を行なうたびに、データ転送回路2oは、アドレ
ス更新信号55をアドレス生成回路15に与えるので、
自動アドレス信号がα+1.α+2.α+3.・・・の
どとく順次歩進していく。かつまた、これら8ビツトの
データ送出ごとに、書込みi4ルス信号44がタイミン
グ制御回路17を介して書込みi4ルス信号45として
バッファメモリに供給される。
The data transfer circuit 20 receives the framing detection signal 22 indicating that frame synchronization has been achieved by the framing signal 73, and can know the start time of serially received data. Also, since the synchronized clock 23 synchronized by the clock run-in 72 is received, the 27
2-bit data bit time, serial reception data 21 is taken in sequentially using a synchronous clock and converted into serial-to-parallel data ・Capacity of local data bus 13: 8 buffers The beginning of the area for storing uncorrected data for packets with memory. If the address is α, the data transfer circuit 2o gives the address update signal 55 to the address generation circuit 15 every time 8-bit data is sent.
The automatic address signal is α+1. α+2. α+3. ...Step by step slowly. Furthermore, each time these 8-bit data are sent out, a write i4 pulse signal 44 is supplied to the buffer memory as a write i4 pulse signal 45 via the timing control circuit 17.

第1の動作モードにおいては、データバス制御回路12
は10と13を分離するように動作するので、CPUの
データバスは他の目的のために使用でき、他方アドレス
切替回路14は2つの入力信号のうち、アドレス生成回
路15から供給される自動アドレス信号16を選択して
バッファメモリ19のアドレス入力端子に伝えるように
動作する。
In the first operation mode, the data bus control circuit 12
operates to separate signals 10 and 13, so that the data bus of the CPU can be used for other purposes, while the address switching circuit 14 selects between the two input signals the automatic address supplied from the address generation circuit 15. It operates to select signal 16 and transmit it to the address input terminal of buffer memory 19.

かくして、1パケツト=272ビツトのシリアル受信デ
ータ21が直−並列変換されてバッファメモリ19のα
番地から順次書込まれる。1パケット分の受信データを
バッファメモリ19に格納するだめの動作フローを第4
図に示す。8ビツト=1バイトずつ処理し、書込むもの
とすれば、1パケット分では272÷8=34回、繰り
返し、格納される番地はα番地〜α+33番地となる。
In this way, the serial reception data 21 of 1 packet = 272 bits is serial-parallel converted and stored in the buffer memory 19 at α.
Data is written sequentially starting from the address. The operation flow for storing one packet worth of received data in the buffer memory 19 is shown in the fourth section.
As shown in the figure. If 8 bits = 1 byte are processed and written, the addresses that are repeatedly stored 272/8=34 times in one packet are from address α to α+33.

日本の文字コード放送においては1垂直帰線消去時間の
間に最大1214ケツトまでのデータを送ることができ
るが、このことを第5図に示す。第5図において、80
は垂直同期信号、81は垂直帰線消去信号、82は垂直
帰線消去信号81から作シ出される信号であり、垂直帰
線消去時間21Hのうち、後半の12Hだけを抽出した
信号である。
In Japanese character code broadcasting, up to 1214 bits of data can be sent during one vertical blanking time, as shown in FIG. In Figure 5, 80
81 is a vertical synchronizing signal, 81 is a vertical blanking signal, and 82 is a signal generated from the vertical blanking signal 81, which is a signal obtained by extracting only the latter half 12H of the vertical blanking time 21H.

日本の文字コード放送においては信号82が”L”の時
間、すなわち、垂直帰線消去時間のうちの後半12Hの
間にデータを送ることが可能である。
In Japanese character code broadcasting, data can be sent during the time when the signal 82 is "L", that is, during the latter half 12H of the vertical blanking time.

第2図における信号46は例えば信号82である。Signal 46 in FIG. 2 is, for example, signal 82.

アドレス生成回路15は信号82すなわち46が′L″
の間水平同期信号47をカウントし、自動アドレス信号
の部分信号を与える。このため、1パケット分のデータ
転送が終了すると、次の・9ケツトのデータを格納すべ
きアドレスに切替る。以下同様にして第5図に示した動
作フローを12回繰シ返して12パケット分の訂正前デ
ータがバッファメモリ19に格納される。パケット番号
とそのノ9ケット番号の訂正前データを格納するパッフ
ァメモリの番地との対応例を第6図に示す。1・母ケッ
ト分のデータエリアとしては34番地あれば充分である
が、アドレス生成回路の構成を容易にするために、第6
図では64番地分を確保している従って1パケツトのデ
ータエリア64番地分のうち後半30番地分は未使用で
ある。12・ぞケラト分の訂正前データをバッファメモ
リへ書込み終ると、第5図における信号81および信号
82すなわち46が′L″から“H#になシ、第1の動
作モードが終了する。
In the address generation circuit 15, the signal 82, that is, 46 is 'L''
During this period, the horizontal synchronization signal 47 is counted and a partial signal of the automatic address signal is provided. Therefore, when data transfer for one packet is completed, the address is switched to the address where the next 9 bits of data are to be stored. Similarly, the operation flow shown in FIG. 5 is repeated 12 times, and 12 packets of uncorrected data are stored in the buffer memory 19. FIG. 6 shows an example of the correspondence between a packet number and an address in the buffer memory that stores uncorrected data of that packet number. 1. Address 34 is sufficient as the data area for the mother packet, but in order to simplify the configuration of the address generation circuit, the 6th address is sufficient.
In the figure, 64 addresses are reserved, so of the 64 addresses of one packet data area, the latter 30 addresses are unused. When writing of the uncorrected data corresponding to 12.times. of kerats to the buffer memory is completed, the signals 81 and 82, ie, 46 in FIG. 5 change from 'L' to 'H#', and the first operation mode ends.

第5図において、垂直帰線消去信号81あるいは信号8
2すなわち46がII L Hから”H”に反転すると
第2の動作モードに入る。第2の動作モードにおいても
、第2図におけるデータバス制御回路12は10と13
を分離するように動作し、アドレろ切替回路14はアド
レス生成回路15がら与えられる自動アドレス信号を選
択して、バッファメモリ19のアドレス入力端子に供給
するように動作する。゛またアドレス生成回路15は、
タイミング制御回路17からのアドレス更新信号にょっ
てアドレスの更新を行なう。
In FIG. 5, vertical blanking signal 81 or signal 8
2, that is, 46 is inverted from II L H to "H", the second operating mode is entered. Also in the second operation mode, the data bus control circuit 12 in FIG.
The address switching circuit 14 operates to select the automatic address signal applied from the address generation circuit 15 and supply it to the address input terminal of the buffer memory 19.゛Also, the address generation circuit 15
The address is updated by an address update signal from the timing control circuit 17.

第2の動作モードにおいては、バッファメモリ19のθ
番地から順番に8ビツトずつデータを読。 み出し、デ
ータ転送回路20で並−直列変換を行ガって、訂正前デ
ータ25をデータレジスタ24のデータ入力端子とロー
ドゲート回路28を介して加算器27の第1の入力端子
に供給する。パック薔メモリからの1回の読み出しで8
ビツト、つごう34回で1ノやケラト=272ビツトを
並−直列変換して、データレジスタ24およびシンドロ
ームレジスタ26にロードする。このようにして形成さ
れたシンドロームによって誤り検出を行なうことができ
る。すなわち、シンドロームレジスタ信号30がすべて
“O”であればデータに誤シがなく、いずれかのビット
がパ1”であればデータに誤りがある。誤りがない場合
、第3の動作モード、つまシ訂正動作を行なわなくても
よいが、本実施例では、この場合でも第3の動作モード
に入る。
In the second operation mode, θ of the buffer memory 19
Read data 8 bits at a time starting from the address. The data transfer circuit 20 performs parallel-to-serial conversion, and the uncorrected data 25 is supplied to the first input terminal of the adder 27 via the data input terminal of the data register 24 and the load gate circuit 28. . 8 in one read from pack memory
By transferring the bits 34 times, 272 bits (1 or kerato) are parallel-to-serial converted and loaded into the data register 24 and the syndrome register 26. Error detection can be performed using the syndrome thus formed. That is, if all the syndrome register signals 30 are "O", there is no error in the data, and if any bit is "P1", there is an error in the data.If there is no error, the third operation mode is activated. Although it is not necessary to perform the correction operation, in this embodiment, the third operation mode is entered even in this case.

本実施例の誤り訂正の方式は基本的には特願昭58−6
579において説明される通りであり、また、しきい値
を順に下げて訂正を行なうという点については、特願昭
58−54002に説明される通シである。本実施例の
特徴のいくつかは、誤り訂正数をカウントする訂正数カ
ウンタを設けたこと、訂正数を示す訂正数信号とエラー
ステータス信号を送出すること、および訂正数が所定値
を越えた時に訂正動作を中止することである。
The error correction method of this embodiment is basically based on the patent application No. 58-6.
This is as explained in Japanese Patent Application No. 58-54002, and the point that correction is performed by sequentially lowering the threshold value is as explained in Japanese Patent Application No. 58-54002. Some of the features of this embodiment are that a correction number counter is provided to count the number of error corrections, that a correction number signal and an error status signal indicating the number of corrections are sent out, and that when the number of corrections exceeds a predetermined value, This is to stop the corrective action.

第2動作モードと第3の動作モードとは対になっておシ
、第2の動作モードの終了、すなわち、データレジスタ
24およびシンドロームレジスタ26へのデータロード
が完了すると自動的に第3の動作モードに入る。第3の
動作モードにおいてはタイミング制御回路17から、訂
正用クロック信号36が発生されてデータレジスタ24
とシンドロームレジスタ26とをシフトする。また、ロ
ードゲート回路28はオフになシ、他方コレクトゲート
回路38はオンになる。誤り訂正は排他的論理和回路(
2を法とする加算器)41にょシ行なう。誤シ訂正信号
4oはシンドロームレジスタ82個の状態を17個の線
形結合とし、その17個の中で多数決回路3ノによって
しきい値(最初のしきい値は17)と比較することによ
り出力されるものである。
The second operation mode and the third operation mode are paired, and when the second operation mode ends, that is, the data loading to the data register 24 and the syndrome register 26 is completed, the third operation mode is automatically started. Enter the mode. In the third operation mode, a correction clock signal 36 is generated from the timing control circuit 17 and the data register 24
and the syndrome register 26. Also, the load gate circuit 28 is turned off, while the collect gate circuit 38 is turned on. Error correction is done using an exclusive OR circuit (
Adder modulo 2) Perform 41 steps. The error correction signal 4o is output by combining the states of the 82 syndrome registers into 17 linear combinations, and comparing the 17 states with a threshold value (the first threshold value is 17) by the majority circuit 3. It is something that

ただし、この誤シ訂正信号40はコレクトゲート信号3
9に応答して誤り訂正動作のときにのみ通過するように
構成されている。さらに誤シ訂正信号40はそのビット
に誤シがある時には、そのビットの影響を除去するよう
にシンドロームレジスタ26を修正する。訂正された訂
正後のデータ42は、再びデータレジスタ24のデータ
入力端子に帰還される。
However, this error correction signal 40 is connected to the collect gate signal 3.
9 and is configured to pass only during an error correction operation. Furthermore, when there is an error in that bit, the error correction signal 40 modifies the syndrome register 26 to remove the influence of that bit. The corrected data 42 is fed back to the data input terminal of the data register 24 again.

なお、訂正に先立ってシンドロームレジスタ26を1ビ
ツトだけ歩進させる。これは、誤り訂正の符号として(
273,191)多数決符号を選び1ピツト減少して(
272,190)符号にしたことによる。このようにし
て272ビツトのシフト(シンドロームレジスタにおい
ては273ビツトのシフト)が行なわれると、17ぐケ
ラト2フ2ビツト分の信号が復元される。このとき、エ
ラーステータス信号5oを調べることにょシ、正しく誤
シ訂正がなされたか否かを判断することができる。シン
ドロームレジスタ26の全てのビットが0”でないとき
は、未だいずれかのビット位置に誤シが存在することで
あるから、再び誤シ訂正動作を行なう。ただし、このと
きはタイミング制御回路12からしきい値クロックが与
えられて、しきい値発生回路33がこれを減算カウント
するのでしきい値1だけ減じられる。すなわちしきい値
を16として前回のしきい値17で誤り訂正を行なった
後のデータを用いる。
Note that, prior to correction, the syndrome register 26 is incremented by one bit. This is used as an error correction code (
273,191) Select the majority code and decrease by 1 pit (
272,190) code. When a 272-bit shift (a 273-bit shift in the syndrome register) is performed in this manner, a signal for 17th kerat 2 and 2 bits is restored. At this time, by checking the error status signal 5o, it is possible to determine whether or not the error has been corrected correctly. If all the bits in the syndrome register 26 are not 0'', it means that an error code still exists in some bit position, so the error code correction operation is performed again.However, at this time, the timing control circuit 12 A threshold clock is given, and the threshold generation circuit 33 subtracts and counts this, so the threshold value is reduced by 1. In other words, the threshold value is set to 16, and the error correction is performed using the previous threshold value of 17. Use data.

以上の操作をしきい値9が終了するまで行なう。The above operations are carried out until the threshold value 9 is completed.

ただし、途中でシンドロームレジスタ26(D全てのビ
ットが0”になったときは、誤シ訂正動作を完了したこ
とになる。すなわち、その時点におけるデータは正しい
値であるから、それ以後は誤シ訂正回路を通過させる必
要がない。
However, when all the bits in the syndrome register 26 (D) become 0", it means that the error correction operation has been completed. In other words, the data at that point is the correct value, so from then on, the error correction operation will be completed. There is no need to pass through a correction circuit.

また逆に、異常に誤りを訂正するビット数が多い場合に
は元々のデータに異常に誤υが多かったわけであシ、訂
正が不可能であるから、しきい値9が終了する以前に訂
正を中止してしまった方がよい。このために訂正数カウ
ンタ51は訂正数をカウントしてその数が所定値以上に
なったら、訂正オーバー信号53を発し、タイミング制
御回路17に供給する。
Conversely, if the number of bits to be corrected is abnormally large, it means that there were abnormally many errors υ in the original data, and correction is impossible, so corrections must be made before threshold 9 ends. It is better to cancel it. For this purpose, the correction number counter 51 counts the number of corrections, and when the number exceeds a predetermined value, it issues a correction over signal 53 and supplies it to the timing control circuit 17.

第3の動作モードにおける動作のフローチャートを第7
図に示す。
The flowchart of the operation in the third operation mode is shown in the seventh section.
As shown in the figure.

以上説明したように、第3の動作モードが終了すると、
訂正されたデータがデータレジスタ24に確保されてい
る。第3の動作モードが終了すると自動的に第4の動作
モードに入る。第4の動作モードでは訂正されたデータ
を直−並列変換してバッファメモリに格納する。訂正ず
みデータの送出に先立って、まずエラーステータス信号
5θと訂正オーバー信号53と訂正数信号52とをロー
カルデータバス13に送出し、バッファメモリ19の中
の訂正後データを格納するエリアの先頭番地に格納する
。以後は272ビツトの訂正ずみデータを送出するが、
訂正後のデータにおいては、82ビ、トのパリティビッ
トは不要であるから、情報ビット190ピツトだけをバ
ッファメモリに書込む。第4の動作モードにおいてはコ
レクトゲート信号39によシ、誤シ訂正信号が禁止され
ているから、すでに訂正されてデータレジスタ24に確
保されている訂正ずみのデータが、訂正後データ42と
なってデータ転送回路に送られ、直−並列変換され、ロ
ーカルデータ・々スフ3を介してバッファメモリに格納
される。
As explained above, when the third operation mode ends,
The corrected data is reserved in the data register 24. When the third operating mode ends, the fourth operating mode is automatically entered. In the fourth operation mode, the corrected data is serial-parallel converted and stored in a buffer memory. Prior to sending out the corrected data, first send the error status signal 5θ, correction over signal 53, and correction number signal 52 to the local data bus 13, and select the starting address of the area in the buffer memory 19 where the corrected data is to be stored. Store in. From then on, 272-bit corrected data will be sent, but
In the corrected data, 82 bits of parity bits are unnecessary, so only 190 bits of information bits are written into the buffer memory. In the fourth operation mode, the error correction signal is prohibited by the collect gate signal 39, so the corrected data that has already been corrected and secured in the data register 24 becomes the corrected data 42. The data is sent to the data transfer circuit, serial-parallel converted, and stored in the buffer memory via the local data block 3.

特願昭58−90017に示されているように272ビ
ツトのijチケットータの先頭のは(8゜4)拡大・・
ミング符号によるサービス識別と割込み優先順を示す8
ビツトのSI/INであるが、その次にパケット内容識
別のために6ビツトのパケットコントロール(pC)が
あり、引続いて、純粋の情報ビットが22バイトある。
As shown in Japanese Patent Application No. 58-90017, the first part of the 272-bit ij ticket data is expanded by (8°4)...
8 showing service identification and interrupt priority order by timing code
Next to the SI/IN bit, there is a 6-bit packet control (pC) for packet content identification, followed by 22 bytes of pure information bits.

従って、そのまま訂正後のデータを8ビツトずつ詰めて
いくと、各バイトの先頭の2ビツト分が1バイト前のデ
ータ部に混入することになる。この問題を避けるために
、この実施例では、特願昭58−90017と同様に、
2バイト目のデータには2ビツトの付加ビットを追加し
て8ビツトに揃えている。かくして、訂正後のデータと
しては、1・ぐケラトあたシデータ部が24バイトおよ
び先頭番地に付加するエラー情報1バイト、つごう25
バイトが書込まれる。
Therefore, if the corrected data is packed 8 bits at a time, the first 2 bits of each byte will be mixed into the data section of the previous byte. In order to avoid this problem, in this embodiment, as in Japanese Patent Application No. 58-90017,
Two additional bits are added to the second byte of data to make it 8 bits. In this way, the corrected data consists of 24 bytes of data section 1, 1 byte of error information added to the first address, and 25 bytes of error information added to the first address.
Bytes are written.

この動作フローを第8図に示す。上に説明した第4の動
作モードの間、データ転送回路からデータが1バイト送
出されるごとにタイミング制御回路17から書込みパル
ス45がバッファメモリに与えられ、かつ、アドレス更
新パルス54によって自動アドレス信号16が更新され
る。第4の動作モードにおいてもアドレス切替回路14
は自動アドレス信号16を選択してバッファメモリ19
のアドレス入力端子に供給する。また第4の動作モード
においてもデータバス制御回路12は10と13を分離
するように動作するのでCPUは他の動作を行なってい
てよい。
This operational flow is shown in FIG. During the fourth operation mode described above, the timing control circuit 17 applies a write pulse 45 to the buffer memory every time one byte of data is sent from the data transfer circuit, and the address update pulse 54 applies an automatic address signal to the buffer memory. 16 is updated. Even in the fourth operation mode, the address switching circuit 14
selects the automatic address signal 16 and transfers the buffer memory 19
Supplied to the address input terminal of Also in the fourth operation mode, the data bus control circuit 12 operates to separate 10 and 13, so the CPU may perform other operations.

以上説明した第2の動作モード、第3の動作モードおよ
び第4の動作モードは、一連の動作である。すなわち、
1ノ母ケツトの訂正前データをバッファメモリ19から
読み出して、シンドロームレジスタ26およびデータレ
ジスタ24にロードし(第2の動作モード)、誤シ訂正
を行ない(第3の動作モード)、訂正されたデータにエ
ラー情報を付加してバッファメモリ19に書込む(第4
の動作モード)。これら一連の動作が終了すると、2パ
ケツト目の動作に入り、同様にして第2の動作モード、
第3の動作モード、第4の動作モードを実行する。以下
、12ノやケラトまで同様の動作を行々う。かくしてバ
ッファメモ7す19の訂正後データエリアに第9図に示
すごとく訂正後データが格納される。第9図においては
lパケット分のエリアとして64番地分を確保している
が実際には25バイト分しか使用しない。
The second operation mode, third operation mode, and fourth operation mode described above are a series of operations. That is,
The uncorrected data of the first parent packet is read out from the buffer memory 19, loaded into the syndrome register 26 and data register 24 (second operation mode), and error correction is performed (third operation mode). Add error information to the data and write it to the buffer memory 19 (fourth
mode of operation). When these series of operations are completed, the second packet operation starts, and the second operation mode is started in the same way.
A third operation mode and a fourth operation mode are executed. From now on, perform the same movements up to 12th and Kerato. In this way, the corrected data is stored in the corrected data area of the buffer memory 7-19 as shown in FIG. In FIG. 9, 64 addresses are reserved as an area for 1 packet, but in reality only 25 bytes are used.

第9図に示すごとく、全ケラトの訂正後データが格納さ
れると、タイミング制御回路17はステータス信号48
を発し、CPUに対して、バッファメモリ19をCPU
が読出してよいことを示す。
As shown in FIG.
and sends the buffer memory 19 to the CPU.
Indicates that it may be read.

第5の動作モードはCPUがステータス信号48を検知
して、CPUがバッファメモリの内容を読出すモードで
ある。このモードにおいてはCPUはタイミング制御回
路12に対してデータリクエスト信号56を与える。こ
れによってタイミング制御回路17はCPUのデータバ
ス10とローカルデータバス13とを連結するように、
かつまだ、自動アドレス信号16を禁止してCPUのア
ドレスバス11の信号をバッファメモリ19に供給する
ように、パス制御信号18を与える。かくして、バッフ
ァメモリの出力データがローカルデータバス13を介し
てCPUのデータバスに得られるので、CPUがアドレ
ス指定するバッファメモリの領域のデータを読出すこと
ができる。
The fifth operating mode is a mode in which the CPU detects the status signal 48 and reads the contents of the buffer memory. In this mode, the CPU provides a data request signal 56 to the timing control circuit 12. As a result, the timing control circuit 17 connects the CPU data bus 10 and the local data bus 13.
The path control signal 18 is still applied to inhibit the automatic address signal 16 and supply the signal on the CPU's address bus 11 to the buffer memory 19. Thus, the output data of the buffer memory is available to the data bus of the CPU via the local data bus 13, so that data in the area of the buffer memory addressed by the CPU can be read.

以上の説明ではローカルデータバス13のビット容量と
して8ビツトを用い、バッファメモリ19とデータ転送
回路20とのデータのやシ取シを8ビット単位で行なう
例を示したが、他のビット数、例えば、16ビツトもし
くは4ビツトでも可能である。ただし、16ビツトの場
合には、SI/INとパケットコントロールとを一括し
て14ビツトとして扱い、14ビツトを2ビ、トずらず
ようにしてやる必要がある。
In the above explanation, an example has been shown in which 8 bits are used as the bit capacity of the local data bus 13, and data transfer between the buffer memory 19 and the data transfer circuit 20 is performed in 8-bit units. For example, 16 bits or 4 bits is also possible. However, in the case of 16 bits, it is necessary to treat the SI/IN and packet control as 14 bits at the same time so as not to shift the 14 bits by 2 bits.

また、データレジスタ24は、必ずしも272ビツトで
ある必要がなく、情報ビットに相当する190ビツトだ
けでもよい。ただしこの場合には82ビツトに相当する
時間はデータレジスタに対するロード用クロック信号、
および訂正用クロック信号を禁止する必要がある。
Further, the data register 24 does not necessarily have to have 272 bits, but may have only 190 bits, which corresponds to information bits. However, in this case, the time corresponding to 82 bits is the clock signal for loading the data register,
and correction clock signals must be prohibited.

また、エラー情報としてエラーステータス信号、訂正オ
ーバー信号および訂正数信号を含めて、1バイト以内に
する例について説明したが、訂正数信号のビット数を増
して、結果的にエラー情報が複数バイトになるようにし
てもよい。
In addition, we have explained an example in which the error information including the error status signal, correction over signal, and correction number signal is kept within 1 byte, but if the number of bits of the correction number signal is increased, the error information becomes multiple bytes. You may do so.

また、この実施例では、多数決判定用のしきい値として
17から9までを扱ったが、本発明の主旨は17および
9などの特定量に限定されるものではない。
Further, in this embodiment, 17 to 9 are used as threshold values for majority decision, but the gist of the present invention is not limited to specific amounts such as 17 and 9.

上に示した第1の実施例では、訂正後データは加算器4
ノの出力信号であって、シリアルなデータである42に
よって与えられ、データ転送回路20によって直−並列
変換されるように構成されたが第2の実施例として訂正
後データを第10図に示すように8ビツトパラレルに取
シ出すこともできる。第10図において、24.25,
40゜および4ノはいずれも第2図と同じものである。
In the first embodiment shown above, the corrected data is sent to the adder 4
This output signal is given as serial data 42 and is configured to be serial-to-parallel converted by the data transfer circuit 20. As a second embodiment, the corrected data is shown in FIG. It is also possible to extract data in 8-bit parallel format. In Figure 10, 24.25,
40° and 4° are both the same as in FIG.

但し、41は、ここでは、最終的な訂正済データでなく
、シきい値を変化させて順次誤りを訂正していく過程で
、次のしきい値での誤り訂正に備えて、データレジスタ
を更新させるためにだけに使われる。第5図において、
90は、データレジスタ24の出刃先頭側8ビツトのレ
ジスタであシ、91はレジスタ90の出力信号であって
、最終的な訂正済データとしてデータ転送回路2oに結
ばれる。このように8ビツトi4ラレルで出力すればデ
ータ転送回路20はただ単に所定のタイミングでラッチ
し、ローカルデータバス13に送出するだけでよい。
However, here, 41 is not the final corrected data, but the data register is used in the process of sequentially correcting errors by changing the threshold value, in preparation for error correction at the next threshold value. Used only for updating. In Figure 5,
Reference numeral 90 is a register of 8 bits on the leading edge side of the data register 24, and 91 is an output signal of the register 90, which is connected to the data transfer circuit 2o as final corrected data. If the data is output in 8-bit i4 parallel in this manner, the data transfer circuit 20 simply latches it at a predetermined timing and sends it to the local data bus 13.

次に第1の実施例では、しきい値を9まで下げても正し
く訂正できなかった場合、および誤り訂正数が所定値以
上になってしまった場合であっても、訂正後のデータを
バッファメモリの訂正後のデータエリアに格納していた
。しかるに、このような訂正不能の場合には元の受信デ
ータに多くの誤りがあったわけであり、このような受信
データに対して誤シ訂正を行なうと、誤って訂正してし
まい、誤シを増してしまう可能性がある。
Next, in the first embodiment, even if correct correction cannot be made even if the threshold value is lowered to 9, or even if the number of error corrections exceeds a predetermined value, the corrected data is stored in the buffer. It was stored in the corrected data area of memory. However, in such a case where correction is impossible, there are many errors in the original received data, and if error correction is performed on such received data, the error will be corrected and the error may occur. There is a possibility that it will increase.

そこで第3の実施例では、このような訂正不能の場合に
は、バッファメモリ19の中のそのノクケットの訂正後
データエリアに、すでにバッファメモリに格納されてい
るそのパケットの訂正前データのうちの情報データ部2
4・ぐイトにエラー情報を付加してかつパケットコント
ロール部を2ビツトずらして書込むことを提案する。こ
のようにすれば、CPUは、誤シが増大してしまう前の
データを読出すことができ、かつ、2ビツトずれている
から、CPUが処理をしやすく、しかも、エラー情報を
も知ることができる。
Therefore, in the third embodiment, in such a case where correction is impossible, the uncorrected data of the packet already stored in the buffer memory is stored in the corrected data area of the packet in the buffer memory 19. Information data section 2
4. We propose adding error information to the code and writing the packet control section with a 2-bit shift. In this way, the CPU can read the data before the error increases, and since the data is shifted by 2 bits, it is easier for the CPU to process the data, and it can also know the error information. I can do it.

(発明の効果) この発明は以上説明したように、訂正前データと訂正後
データとを記障するためのバッファメモリを設け、受信
データのバッファメモリへの書込み動作、訂正前データ
のバッファメモリからの読出し動作、および訂正後デー
タのパゾファメモリヘの書込み動作を自動的に行なうた
めのデータ転送回路を有することによp CPUの動作
の負担を軽減することができる。
(Effects of the Invention) As described above, the present invention provides a buffer memory for recording uncorrected data and post-corrected data, and writes received data to the buffer memory and writes uncorrected data to the buffer memory. By providing a data transfer circuit for automatically reading the data and writing the corrected data into the Pazofa memory, the operational load on the CPU can be reduced.

また、訂正したビット数をカウントし、訂正数が所定値
を越えたら訂正動作を終了するようにしたから訂正時間
を短縮できる。
Furthermore, since the number of corrected bits is counted and the correction operation is terminated when the number of corrections exceeds a predetermined value, the correction time can be shortened.

従って、本発明は、コード方式による文字放送の受信機
のみならず、差集合巡回符号を用いる多数決誤り訂正を
使用する人混なディジタル装置に応用できる。
Therefore, the present invention can be applied not only to teletext receivers based on the code system, but also to crowded digital devices that use majority error correction using difference set cyclic codes.

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

第1図は従来技術の回路構成図、第2図は本発明一実施
例回路図、第3図および第5図は実施例を説明するだめ
のタイミング図、第4図、第7図および第8図は実施例
を説明するためのフローチャート、第6図および第9図
はバッファメモリに格納するデータのマツピング図、第
10図は本発明の第2の実施例を示す回路図である01
・・・CPUパスライン、2・・・出力ポート、3・・
・入力ポート、4・・・誤り訂正回路、5・・・訂正前
データ、6・・・訂正後データ、7・・・エラーステー
タス信号、10・・・CPUのデータバス、11・・・
CPUのアドレスバス、12・・・データバス制御回路
、13・・・ローカルテータバス、14・・・アドレス
切替回路、15・・・アドレス生成回路、ノロ・・・自
動アドレス信号、17・・・タイミング制御回路、18
・・・/Jス制御信号、19・・・バッファメモリ、2
0・・・データ転送回路、21・・・シリアル受信デー
タ、22・・・フレーミング検知信号、23・・・同期
クロック、24・・・データレジスタ、25・・・訂正
前データ、26・・・シンドロームレノスタ、27・・
・加算器、28・・・ロードケート回路、29・・・ロ
ードゲート信号、30・・・シンドロームレジスタ信号
、31・・・多数決回路、32・・・しきい値信号、3
3・・・しきい値発生回路、34・・・しキイ値クロッ
ク、35・・・ロード用クロック信号、36・・・訂正
用クロック信号、37・・・クリア信号、38・・・コ
レクトゲ−ト信号、39・・・コレクトゲート信号、4
0・・・誤シ訂正信号、41・・・加算器、42・・・
訂正後データ、43・・・クロック信号、44・・・書
込みパルス信号、45・・・書込み・ぐルス信号、46
・・・垂直帰線消去信号、もしくは垂直帰線消去信号に
類似する信号、47・・・水平同期信号、もしくは水平
帰線消去信号、48・・・ステータス信号、49・・・
レジスタ、50・・・エラーステータス信号、5ノ・・
・訂正数カウンタ、52・・・訂正数信号、53・・・
訂正オーバー信号、54.55・・・アドレス更新信号
、56・・・CPHのデータリクエスト信号、7゜・・
・水平同期信号、71・・・カラーバースト、72・・
・クロックランイン、73・・・フレーミング信号、7
4・・・データビット、80・・・垂直同期信号、81
・・・垂直帰線消去信号、82・・・垂直帰線消去信号
8ノから作シ出される信号、9o・・・データレジスタ
24の出刃先頭側8ビツトのレジスタ、91・・・レジ
スタ90の出力信号。 第6図 第7図 第8図 第9図 第1頁の続き O発明者殖栗 重油 横浜市神奈用区守屋町3丁目12#r地 日本ビクター
株式会社内 1、事件の表示 昭和59年 特 許 願第60905号2、発明の名称 符号誤シ訂正復号回路 3、補正をする者 事件との関係 特許出願人 住 所(〒105) 東京都港区虎ノ門1丁目7番12
号住 所(〒105) 東京都港区虎ノ門1丁目7香1
2号6、補正の内容 (1)明細書第21頁第9行に「先頭のは」とあるのを
「先頭は」と補正する。 (2)同書第25頁第13行に「特装置」とあるのを「
特定値」と補正する。 (3)同書第26頁第7行に「第5図」とあるの以上
FIG. 1 is a circuit configuration diagram of the prior art, FIG. 2 is a circuit diagram of an embodiment of the present invention, FIGS. 3 and 5 are timing diagrams for explaining the embodiment, and FIGS. 8 is a flowchart for explaining the embodiment, FIGS. 6 and 9 are mapping diagrams of data stored in the buffer memory, and FIG. 10 is a circuit diagram showing the second embodiment of the present invention.01
...CPU pass line, 2...Output port, 3...
- Input port, 4...Error correction circuit, 5...Data before correction, 6...Data after correction, 7...Error status signal, 10...CPU data bus, 11...
CPU address bus, 12... Data bus control circuit, 13... Local data bus, 14... Address switching circuit, 15... Address generation circuit, Noro... Automatic address signal, 17... timing control circuit, 18
.../JS control signal, 19... buffer memory, 2
0... Data transfer circuit, 21... Serial reception data, 22... Framing detection signal, 23... Synchronous clock, 24... Data register, 25... Data before correction, 26... Syndrome Renosta, 27...
- Adder, 28... Load gate circuit, 29... Load gate signal, 30... Syndrome register signal, 31... Majority circuit, 32... Threshold signal, 3
3... Threshold generation circuit, 34... Key value clock, 35... Clock signal for loading, 36... Clock signal for correction, 37... Clear signal, 38... Collect game Collect gate signal, 39...Collect gate signal, 4
0...Error correction signal, 41...Adder, 42...
Post-correction data, 43... Clock signal, 44... Write pulse signal, 45... Write/Guru signal, 46
...Vertical blanking signal or signal similar to vertical blanking signal, 47...Horizontal synchronization signal or horizontal blanking signal, 48...Status signal, 49...
Register, 50...Error status signal, 5no...
- Correction number counter, 52...Correction number signal, 53...
Correction over signal, 54.55... Address update signal, 56... CPH data request signal, 7°...
・Horizontal synchronization signal, 71...Color burst, 72...
・Clock run-in, 73...Framing signal, 7
4...Data bit, 80...Vertical synchronization signal, 81
. . . Vertical blanking signal, 82 . . . Signal generated from vertical blanking signal 8, 9o . output signal. Figure 6 Figure 7 Figure 8 Figure 9 Continuation of page 1 O Inventor Shokukuri Heavy Oil 3-12 Moriyamachi, Kanayo-ku, Yokohama City, Japan Victor Co., Ltd. 1, Incident Indication 1988 Patent Application No. 60905 2, Name of the invention Code error correction decoding circuit 3, Relationship with the case of the person making the amendment Patent applicant address (〒105) 1-7-12 Toranomon, Minato-ku, Tokyo
Address (105) 1-7 Kaoru, Toranomon, Minato-ku, Tokyo
No. 2 No. 6, Contents of amendment (1) In the 9th line of page 21 of the specification, the phrase "first wa" is amended to read "first wa." (2) On page 25, line 13 of the same book, the phrase “special equipment” was replaced with “
Correct it as "Specific value". (3) Above the text “Figure 5” on page 26, line 7 of the same book

Claims (1)

【特許請求の範囲】[Claims] (1)多数決回路を含み、入力された符号のデータの誤
シを訂正し、該訂正したデータを転送する誤シ訂正回路
と、 前記入力された符号データおよび訂正したデータを記憶
しておくバッファメモリとを有した符号誤シ訂正復号回
路において、 前記多数決回路から出力された誤シ訂正信号をカウント
し、このカウントした訂正数を表す訂正数信号および該
訂正数が所定値を越えたことを表す訂正オーバー信号を
前記訂正回路に送る訂正数カウンタを有したことを特徴
とする符号誤シ訂正復号回路。
(1) An error correction circuit that includes a majority decision circuit, corrects errors in input code data, and transfers the corrected data; and a buffer that stores the input code data and corrected data. A code error correction decoding circuit having a memory counts the error correction signals outputted from the majority circuit, and generates a correction number signal representing the counted number of corrections and a signal indicating that the number of corrections exceeds a predetermined value. A code error correction decoding circuit comprising a correction number counter that sends a correction over signal to the correction circuit.
JP59060905A 1984-03-30 1984-03-30 Code error correcting and decoding circuit Granted JPS60206226A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59060905A JPS60206226A (en) 1984-03-30 1984-03-30 Code error correcting and decoding circuit
US06/716,027 US4672612A (en) 1984-03-30 1985-03-26 Error correction system in a teletext system
CA000477540A CA1223076A (en) 1984-03-30 1985-03-26 Error correction system in a teletext system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59060905A JPS60206226A (en) 1984-03-30 1984-03-30 Code error correcting and decoding circuit

Publications (2)

Publication Number Publication Date
JPS60206226A true JPS60206226A (en) 1985-10-17
JPH0155786B2 JPH0155786B2 (en) 1989-11-27

Family

ID=13155838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59060905A Granted JPS60206226A (en) 1984-03-30 1984-03-30 Code error correcting and decoding circuit

Country Status (1)

Country Link
JP (1) JPS60206226A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4949612A (en) * 1972-09-13 1974-05-14

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4949612A (en) * 1972-09-13 1974-05-14

Also Published As

Publication number Publication date
JPH0155786B2 (en) 1989-11-27

Similar Documents

Publication Publication Date Title
JP5233165B2 (en) Data transmission device
EP0381515A2 (en) Integrated communications system for HDLC variable-length data packets and fixed-length voice/video packets
JPS5816669B2 (en) Digital coding method for duration when transmitting image information
US20080294966A1 (en) Data transmission apparatus, data transmission device, data reception device and data transmission system
US4349904A (en) Error correction circuit using character probability
US4858235A (en) Information storage apparatus
KR20000076589A (en) Method and circuit for erasure correction
JP3169832B2 (en) Data error correction method for frame-structured digital signal and apparatus used therefor
KR910001071B1 (en) Error correction system of telext system using cyclic code
JPS60206226A (en) Code error correcting and decoding circuit
US4701914A (en) Apparatus for correcting cyclic code data stored in memory and method therefor
JPH0546131B2 (en)
JPS62141875A (en) Preventing system for propagation of decoding error
JPH088844A (en) Digital decoder
JP2652398B2 (en) Data transmission method
JPH0155788B2 (en)
KR900000489B1 (en) Error correction system of tele text system
US6684360B1 (en) Transmission apparatus, reception apparatus, transmission method and reception method, each for efficiently transmitting error information
JP3311463B2 (en) Error correction device
JPH0155787B2 (en)
CN102377517B (en) Processing device of FM multi-path signal
JPH0522266A (en) Synchronization converter
JP3202379B2 (en) Packet frame transmission method
JPS6123433A (en) Data transmitter or receiver
JPS63189085A (en) Detection device for correcting error

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term