JPH0155786B2 - - Google Patents

Info

Publication number
JPH0155786B2
JPH0155786B2 JP59060905A JP6090584A JPH0155786B2 JP H0155786 B2 JPH0155786 B2 JP H0155786B2 JP 59060905 A JP59060905 A JP 59060905A JP 6090584 A JP6090584 A JP 6090584A JP H0155786 B2 JPH0155786 B2 JP H0155786B2
Authority
JP
Japan
Prior art keywords
data
signal
circuit
correction
error correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP59060905A
Other languages
Japanese (ja)
Other versions
JPS60206226A (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
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Oki Electric Industry Co Ltd
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Hoso Kyokai NHK, Oki Electric Industry Co Ltd, Victor Company of Japan Ltd 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

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

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 and graphic information coded as digital signals is multiplexed transmitted during the vertical blanking period of a TV signal. In particular, the present invention relates to a code error correction decoding circuit which attempts to recover as much as possible by correcting bit errors occurring on a transmission path.

(技術的背景) TV伝送路を使用するこの種サービスにおけけ
る誤り訂正方式として、1パケツトを272ビツト
で構成し、データビツト272ビツト、情報ビツト
190ビツトおよびパリテイビツト82ビツトのデー
タ信号を形成して伝送し、復号する方式が特願昭
58−6579(特開昭59−133751号公報)、特願昭58−
54002(特開昭59−181841号公報)および特願昭58
−90017(特開昭59−216388号公報)に示されてい
る。
(Technical background) As an error correction method for this type of service that uses TV transmission channels, one packet consists of 272 bits, 272 data bits and 272 information bits.
A method for forming, transmitting, and decoding data signals of 190 bits and 82 bits of parity was proposed in a patent application.
58-6579 (Japanese Unexamined Patent Publication No. 133751/1983), Patent Application No. 1983-
54002 (Japanese Unexamined Patent Publication No. 181841/1983) and patent application 1982
-90017 (Japanese Unexamined Patent Publication No. 59-216388).

ここに開示されている誤り訂正復号回路の構成
を第1図に示す。第1図において1はCPU(図示
しない)につながるCPUバスラインであつて、
出力ポート2の入力端子、および入力ポート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 bus line connected to a CPU (not shown),
It is connected to the input terminal of output port 2 and the output terminal of input port 3. Output port 2 supplies uncorrected data 5 to error correction circuit 4 . The error correction circuit 4 includes a parallel-to-serial conversion circuit, a serial-to-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を介してCPUに送
達される。
Next, the operation shown in FIG. 1 will be explained. The data before correction
It is supplied from the CPU to output port 2 via CPU bus line 1. The uncorrected data received by the output port 2 is corrected by the error correction circuit 4, resulting in corrected data 6, which is supplied to the input port 3 and delivered to the CPU via the CPU bus line 1. .

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

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

第1図において、CPUバスを介するCPUと誤
り訂正回路との信号の授受が例えば8ビツト=1
バイト単位で行なわれるものとすると、1パケツ
ト=272ビツトの訂正前データをCPUから誤り訂
正復号回路に供給するのに34バイト時間を必要と
し、かつ誤り訂正回路4で訂正された1パケツト
のデータを誤り訂正復号回路からCPUに供給す
るのに同様の時間がかかる。
In Figure 1, the transmission and reception of signals between the CPU and the error correction circuit via the CPU bus is, for example, 8 bits = 1.
Assuming that correction is performed in byte units, it takes 34 bytes to supply 1 packet = 272 bits of uncorrected data from the CPU to the error correction decoding circuit, and 1 packet of data corrected by the error correction circuit 4. It takes a similar amount of time to supply the data from the error correction decoding circuit to the CPU.

さらに日本の文字放送においては1垂直期間に
最大12パケツトまでの送信が可能であり、これら
をすべて処理しようとすると、1垂直期間=
16.67msの間にCPUと誤り訂正復号回路とのデ
ータ転送時間は、34バイト時間×2×12=816バ
イト時間にものぼる。これらの転送はCPUの書
込み、読出し命令によつて行なわれるものであ
り、この転送の時間の間、CPUは他の処理がで
きないため、文字放送の受信・表示に必要な、コ
ードの解読や表示フオーマツトの生成などの処理
に支障をきたすことになる。特に誤り訂正回路4
における誤り訂正動作はCPUの動作とは非同期
に行なわれるので、CPUは1パケツト分の誤り
訂正が終了したか否かを常時、検出して、誤り訂
正が終了したら即座に、入力ポート3からのデー
タを読み取る動作に移行しなければならないた
め、CPUの他の処理が断続的にかつひんぱんに
中断されてしまう。
Furthermore, in Japanese teletext broadcasting, it is possible to transmit up to 12 packets in one vertical period, and if you try to process all of them, one vertical period =
The data transfer time between the CPU and the error correction decoding circuit during 16.67 ms is 34 byte times x 2 x 12 = 816 byte times. These transfers are performed by the CPU's write and read instructions, and since the CPU cannot perform any other processing during this transfer time, it cannot decode and display the codes necessary for receiving and displaying teletext. This will interfere with processing such as format generation. Especially the error correction circuit 4
Since the error correction operation in is performed asynchronously with the CPU operation, the CPU constantly detects whether or not error correction for one packet has been completed, and as soon as the error correction is completed, the CPU Because the CPU has to shift to reading data, other CPU processing is interrupted frequently and intermittently.

以上説明したように、第1図に示した従来技術
では、CPUの負担が大きく、処理時間の多くを
さかねばならず、事実上、文字放送の受信と表示
に必要なすべての処理を行なえなくなつてしまう
という欠点があつた。
As explained above, the conventional technology shown in Figure 1 places a heavy burden on the CPU and requires much of the processing time, making it virtually impossible to perform all the processing necessary for receiving and displaying teletext. It had the disadvantage of getting used to it.

第2に、第1図に示した誤り訂正復号回路にお
いては、訂正後に正しく訂正できたか否かだけし
か知ることができず、何ビツト訂正されたかはわ
からなかつた。受信されたコードデータをデイジ
タルコードに変換するためには、おのおのの時点
における信号値が“1”であるか“0”であるか
を判別する必要があり、判別するためのスレツシ
ヨルド電圧を正しく選択しないと正しいデイジタ
ルコードが得られない。正しくスレツシヨルド電
圧を求めるためには、あるスレツシヨルド電圧で
の誤り程度を知り、これをフイードバツクしてや
る必要がある。
Secondly, in the error correction decoding circuit shown in FIG. 1, it is only possible to know whether or not the correction was made correctly after the correction, but it is not possible to know how many bits have been corrected. 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 "0", and the threshold voltage for determination must be selected correctly. Otherwise, you will not be able to obtain the correct digital code. In order to determine the threshold voltage correctly, it is necessary to know the degree of error at a certain threshold voltage and to feed back this information.

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

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

(発明の目的) この発明の目的は、上記従来技術の問題点を解
決するために、訂正したビツト数をカウントする
訂正数カウンタを設け、そのカウント結果が所定
値を越えた時には訂正動作を終了して、訂正時間
を短縮すること、および訂正後データに訂正数な
どのエラー情報を付加して受信信号を判別するの
に便ならしめるようにすることにある。
(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 terminate the correction operation when the count result exceeds a predetermined value, in order to solve the problems of the prior art described above. The object 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図に示す
第2図において、10はCPU(図示せず)のデー
タバス、11はCPUのアドレスバスである。
CPUのデータバス10はデータバス制御回路1
2の第1の入出力端子に接続され、前記データバ
ス制御回路の第2の入出力端子はローカルデータ
バス13に接続されている。前記CPUのアドレ
スバス11はアドレス切替回路14の第1の入力
端子に接続され、アドレス切替回路14の第2の
入力端子にはアドレス生成回路15から、自動ア
ドレス信号16が供給されている。アドレス切替
回路14はタイミング制御回路17から供給され
るバス制御信号18により、第1の入力端子に与
えられるCPUのアドレス信号か、第2の入力端
子に与えられる自動アドレス信号16かいずれか
一方を選択し、バツフアメモリ19のアドレス入
力端子にメモリアドレス信号を供給する。
(Embodiment) In FIG. 2 which shows a circuit diagram of the first embodiment of the present invention, 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 the data bus control circuit 1
The second input/output terminal of the data bus control circuit is connected to the local data bus 13. The address bus 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 uses the bus control signal 18 supplied from the timing control circuit 17 to select either the CPU address signal applied to the first input terminal or the automatic address signal 16 applied to the second input terminal. A memory address signal is supplied to the address input terminal of the buffer memory 19.

ローカルデータバス13はまた、バツフアメモ
リ19のデータ入出力端子およびデータ転送回路
20のデータ入出力端子にも接続されており、こ
のために、CPUとバツフアメモリおよびデータ
転送回路は相互にデータのやり取りをすることが
できる。
The local data bus 13 is also connected to a data input/output terminal of the buffer memory 19 and a data input/output terminal of the data transfer circuit 20, so that the CPU, buffer memory, and data transfer circuit exchange data with each other. be able to.

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

データレジスタ24は272ビツトのパケツト受
信データ、もしくはパケツト受信データ272ビツ
トのうちの190ビツトの情報ビツトを格納しシフ
トするためのレジスタであり、データ転送回路2
0によつて並−直列変換された訂正前データ25
は受け取つてシフトする。シンドロームレジスタ
26は特願昭58−6579の第10図に開示のものと
同等のものであつて、82ビツトからなり2を法と
する加算器27を介する帰還ループを有してい
る。28はロードゲート回路であり、タイミング
制御回路17から供給されるロードゲート信号2
9により、訂正前データ25を加算器27を介し
てシンドロームレジスタ26に供給するか否かを
制御する。
The data register 24 is a register for storing and shifting 272-bit packet reception data or 190 bits of information bits out of the 272-bit packet reception data.
Uncorrected data 25 parallel-to-serial converted by 0
is received and shifted. The syndrome register 26 is similar to that disclosed in FIG. 10 of Japanese Patent Application No. 58-6579, and has an 82-bit feedback loop via a modulo-2 adder 27. 28 is a load gate circuit, which receives the load gate signal 2 supplied from the timing control circuit 17.
9 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に供給するか否かを、コレクトゲート信号3
9によつて制御するためのコレクトゲート回路、
42は訂正後データ、43は直−並/並−直変換
を行なわせるためのクロツク信号、44は受信デ
ータをバツフアメモリに書込むための書込みパル
ス信号、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 syndrome register 26
and a loading clock signal for loading data into the data register 24; 36 a correction clock signal; 37 a clear signal for clearing the syndrome register 26; The collect gate signal 3 determines whether or not to supply the adder 41 as
a collect gate circuit for control by 9;
42 is corrected data, 43 is a clock signal for performing serial-parallel/parallel-serial conversion, 44 is a write pulse signal for writing received data into the buffer memory, and 45 is a write pulse for writing into the buffer memory. It's a signal. Further, 46 is a vertical blanking signal or a signal similar to the vertical blanking signal, 47 is a horizontal synchronization signal or a horizontal blanking signal, and 48 is a status signal for indicating the operating state.

49はシンドロームレジスタが“0”になつた
時にセツトされるレジスタであり、その出力信号
であるエラーステータス信号50が前記データ転
送回路20に供給されている。また、51は、ビ
ツト誤りを訂正した回数をカウントするための訂
正数カウンタであつて、訂正数信号52をデータ
転送回路20に送出するとともに、訂正数が所定
値を越えたことを示す訂正オーバー信号53をタ
イミング制御回路17およびデータ転送回路20
に送る。
Reference numeral 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 correction number counter for counting the number of times a bit error is corrected, and it sends out a correction number signal 52 to the data transfer circuit 20, and also sends out a correction number signal 52 to the data transfer circuit 20, as well as a correction overload signal indicating that the number of corrections exceeds a predetermined value. The signal 53 is sent to the timing control circuit 17 and the data transfer circuit 20.
send to

54、および55はアドレス更新信号、56は
CPUのデータリクエスト信号である。
54 and 55 are address update signals, and 56 is an address update signal.
This is the 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 serially received data and writing to the buffer memory, reading uncorrected data from the buffer memory and loading it to the data register and syndrome register, and circulating the data register and syndrome register. It consists of four operating modes: , correcting errors by repeating cycling while changing the majority decision threshold, and writing corrected data to buffer memory. Also,
As a fifth operation mode, the CPU reads the corrected data stored in the buffer memory.

第3図は第1の動作モードを説明するためのも
ので、文字コード放送のパケツト受信データのタ
イミングを示す。第3図において、70は水平同
期信号、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, 70 is a horizontal synchronization signal, 71 is a color burst, 72 is a 16-bit clock line in for clock synchronization,
Reference numeral 73 indicates a framing signal for frame synchronization, and 74 indicates 272 data bits, which form the serial reception data 21.

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

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

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

日本の文字コード放送においては1垂直帰線消
去時間の間に最大12パケツトまでのデータを送る
ことができるが、このことを第5図に示す。第5
図において、80は垂直同期信号、81は垂直帰
線消去信号、82は垂直帰線消去信号81から作
り出される信号であり、垂直帰線消去時間21Hの
うち、後半の12Hだけを抽出した信号である。日
本の文字コード放送においては信号82が“L”
の時間、すなわち、垂直帰線消去時間のうちの後
半12Hの間にデータを送ることが可能である。第
2図における信号46は例えば信号82である。
アドレス生成回路15は信号82すなわち46が
“L”の間水平同期信号47をカウントし、自動
アドレス信号の部分信号を与える。このため、1
パケツト分のデータ転送が終了すると、次のパケ
ツトのデータを格納すべきアドレスに切替る。以
下同様にして第5図に示した動作フローを12回繰
り返して12パケツト分の訂正前データがバツフア
メモリ19に格納される。パケツト番号とそのパ
ケツト番号の訂正前データを格納するバツフアメ
モリの番地との対応例を第6図に示す。1パケツ
ト分のデータエリアとしては34番地あれば充分で
あるが、アドレス生成回路の構成を容易にするた
めに、第6図では64番地分を確保している。従つ
て1パケツトのデータエリア6番地分のうち後半
30番地分は未使用である。12パケツト分の訂正前
データをバツフアメモリへ書込み終ると、第5図
における信号81および信号82すなわち46が
“L”から“H”になり、第1の動作モードが終
了する。
In Japanese character code broadcasting, up to 12 packets of data can be sent during one vertical blanking time, as shown in Figure 5. Fifth
In the figure, 80 is a vertical synchronization signal, 81 is a vertical blanking signal, and 82 is a signal generated from the vertical blanking signal 81. This is a signal extracted from only the latter half 12H of the vertical blanking time 21H. be. In Japanese character code broadcasting, signal 82 is “L”
It is possible to send data during the second half of the vertical blanking time, ie, the latter 12H of the vertical blanking time. Signal 46 in FIG. 2 is, for example, signal 82.
The address generation circuit 15 counts the horizontal synchronizing signal 47 while the signal 82, that is, 46 is "L", and provides a partial signal of the automatic address signal. For this reason, 1
When data transfer for a packet is completed, the address is switched to the address where the data of the next packet should 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 a buffer memory address storing uncorrected data of that packet number. Although 34 addresses are sufficient as the data area for one packet, 64 addresses are reserved in FIG. 6 in order to simplify the configuration of the address generation circuit. Therefore, the second half of the 6th data area of 1 packet
Block 30 is unused. When writing of 12 packets of uncorrected data 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あるい
は信号82すなわち46が“L”から“H”に反
転すると第2の動作モードに入る。第2の動作モ
ードにおいても、第2図におけるデータバス制御
回路12は10と13を分離するように動作し、
アドレス切替回路14はアドレス生成回路15か
ら与えられる自動アドレス信号を選択して、バツ
フアメモリ19のアドレス入力端子に供給するよ
うに動作する。またアドレス生成回路15は、タ
イミング制御回路17からのアドレス更新信号に
よつてアドレスの更新を行なう。
In FIG. 5, when the vertical blanking signal 81 or signal 82 or 46 is inverted from "L" to "H", the second operating mode is entered. Also in the second operation mode, the data bus control circuit 12 in FIG. 2 operates to separate 10 and 13,
The address switching circuit 14 operates to select the automatic address signal given from the address generation circuit 15 and supply it to the address input terminal of the buffer memory 19. Further, the address generation circuit 15 updates the address based on an address update signal from the timing control circuit 17.

第2の動作モードにおいては、バツフアメモリ
19の0番地から順番に8ビツトずつデータを読
み出し、データ転送回路20で並−直列変換を行
なつて、訂正前データ25をデータレジスタ24
のデータ入力端子とロードゲート回路28を介し
て加算器27の第1の入力端子に供給する。バツ
フアメモリからの1回の読み出しで8ビツト、つ
ごう34回で1パケツト=272ビツトを並−直列変
換して、データレジスタ24およびシンドローム
レジスタ26にロードする。このようにして形成
されたシンドロームによつて誤り検出を行なうこ
とができる。すなわち、シンドロームレジスタ信
号30がすべて“0”であればデータに誤りな
く、いずれかのビツトが“1”であればデータに
誤りがある。誤りがない場合、第3の動作モー
ド、つまり訂正動作を行なわなくてもよいが、本
実施例では、この場合でも第3の動作モードに入
る。
In the second operation mode, data is sequentially read out 8 bits at a time from address 0 of the buffer memory 19, parallel-to-serial conversion is performed in the data transfer circuit 20, and the uncorrected data 25 is transferred to the data register 24.
is supplied to the first input terminal of the adder 27 via the data input terminal of the adder 27 and the load gate circuit 28 . 8 bits are read out once from the buffer memory, and 1 packet = 272 bits is converted from parallel to serial in 34 times, 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 "0", there is no error in the data, and if any bit is "1", there is an error in the data. If there is no error, the third operation mode, that is, the correction operation may not be performed, but in this embodiment, the third operation mode is entered even in this case.

本実施例の誤り訂正の方式は基本的には特願昭
58−6579において説明される通りであり、また、
しきい値を順に下げて訂正を行なうという点につ
いては、特願昭58−54002に説明される通りであ
る。本実施例の特徴のいくつかは、誤り訂正数を
カウントする訂正数カウンタを設けたこと、訂正
数を示す訂正数信号とエラーステータス信号を送
出すること、および訂正数が所定値を越えた時に
訂正動作をを中止することである。
The error correction method of this embodiment is basically
58-6579, and
The point of performing correction by lowering the threshold value in sequence 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, The corrective action is to be stopped.

第2動作モードと第3の動作モードとは対にな
つており、第2の動作モードの終了、すなわち、
データレジスタ24およびシンドロームレジスタ
26へのデータロードが完了すると自動的に第3
の動作モードに入る。第3の動作モードにおいて
はタイミング制御回路17から、訂正用クロツク
信号36が発生されてデータレジスタ24とシン
ドロームレジスタ26とをシフトする。また、ロ
ードゲート回路28はオフになり、他方コレクト
ゲート回路38はオンになる。誤り訂正は排他的
論理和回路(2を法とする加算器)41により行
なう。誤り訂正信号40はシンドロームレジスタ
82個の状態を17個の線形結合とし、その17個の中
の多数決回路31によつてしきい値(最初のしき
い値は17)と比較することにより出力されるもの
である。
The second operating mode and the third operating mode are paired, and the end of the second operating mode, i.e.
When the data loading to the data register 24 and syndrome register 26 is completed, the third
enters operating mode. In the third operating mode, timing control circuit 17 generates a correction clock signal 36 to shift data register 24 and syndrome register 26. Also, the load gate circuit 28 is turned off, while the collect gate circuit 38 is turned on. Error correction is performed by an exclusive OR circuit (adder modulo 2) 41. Error correction signal 40 is a syndrome register
The 82 states are made into 17 linear combinations, and the majority circuit 31 among the 17 states is output by comparing it with a threshold value (the initial threshold value is 17).

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

なお、訂正に先立つてシンドロームレジスタ2
6を1ビツトだけ歩進させる。これは、誤り訂正
の符号として(273、191)多数決符号を選び1ビ
ツト減少して(272、190)符号にしたことによ
る。このようにして272ビツトのシフト(シンド
ロームレジスタにおいては273ビツトのシフト)
が行なわれると、1パケツト272ビツト分の信号
が復元される。このとき、エラーステータス信号
50を調べることにより、正しく誤り訂正がなさ
れたか否かを判断することができる。シンドロー
ムレジスタ26の全てのビツトが“0”でないと
きは、未だいずれかのビツト位置に誤りが存在す
ることであるから、再び誤り訂正動作を行なう。
ただし、このときはタイミング制御回路17から
しきい値クロツクが与えられて、しきい値発生回
路33がこれを減算カウントするのでしきい値1
だけ減じられる。すなわちしきい値を16として前
回のしきい値17で誤り訂正を行なつた後のデータ
を用いる。
In addition, before correction, syndrome register 2
6 by 1 bit. This is because the majority code (273, 191) was chosen as the error correction code and one bit was reduced to make it the (272, 190) code. Thus a 272-bit shift (273-bit shift in the syndrome register)
When this is performed, one packet of 272 bits worth of signals is restored. At this time, by checking the error status signal 50, it can be determined whether or not error correction has been performed correctly. If all the bits in the syndrome register 26 are not "0", this means that an error still exists in one of the bit positions, so the error correction operation is performed again.
However, at this time, the threshold clock is given from the timing control circuit 17, and the threshold generation circuit 33 subtracts and counts this, so the threshold 1
will be reduced by That is, the threshold value is set to 16, and data after error correction is performed using the previous threshold value of 17 is used.

以上の操作をしきい値9が終了するまで行な
う。ただし、途中でシンドロームレジスタ26の
全てのビツトが“0”になつたときは、誤り訂正
動作を完了したことになる。すなわち、その時点
におけるデータは正しい値であるから、それ以後
は誤り訂正回路を通過させる必要がない。
The above operations are carried out until the threshold value 9 is completed. However, when all the bits of the syndrome register 26 become "0" during the process, it means that the error correction operation has been completed. That is, since the data at that point is a correct value, there is no need to pass it through the error correction circuit thereafter.

また逆に、異常に誤りを訂正するビツト数が多
い場合には元々のデータに異常に誤りが多かつた
わけであり、訂正が不可能であるから、しきい値
9が終了する以前に訂正を中止してしまつた方が
よい。このために訂正数カウンタ51は訂正数を
カウントしてその数が所定値以上になつたら、訂
正オーバー信号53を発し、タイミング制御回路
17に供給する。
Conversely, if the number of bits to be corrected is abnormally large, it means that there were an abnormally large number of errors in the original data, and correction is impossible, so corrections should 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図に示す。
A flowchart of the operation in the third operation mode is shown in FIG.

以上説明したように、第3の動作モードが終了
すると、訂正されたデータがデータレジスタ24
に確保されている。第3の動作モードが終了する
と自動的に第4の動作モードに入る。第4の動作
モードでは訂正されたデータを値−並列変換して
バツフアメモリに格納する。訂正ずみデータの送
出に先立つて、まずエラーステータス信号50と
訂正オーバー信号53と訂正数信号52とをロー
カルデータバス13に送出し、バツフアメモリ1
9の中の訂正後データを格納するエリアの先頭番
地に格納する。以後は272ビツトの訂正ずみデー
タを送出するが、訂正後のデータにおいては、82
ビツトのパリテイビツトは不要であるから、情報
ビツト190ビツトだけをバツフアメモリに書込む。
第4の動作モードにおいてはコレクトゲート信号
39により、誤り訂正信号が禁止されているか
ら、すでに訂正されてデータレジスタ24に確保
されている訂正ずみのデータが、訂正後データ4
2となつてデータ転送回路に送られ、直−並列変
換され、ローカルデータバス13を介してバツフ
アメモリに格納される。
As explained above, when the third operation mode ends, the corrected data is transferred to the data register 24.
is secured. When the third operating mode ends, the fourth operating mode is automatically entered. In the fourth operation mode, the corrected data is subjected to value-parallel conversion and stored in the buffer memory. Prior to sending the corrected data, first, the error status signal 50, correction over signal 53, and correction number signal 52 are sent to the local data bus 13, and the buffer memory 1
9 is stored at the first address of the area where the corrected data is to be stored. Afterwards, 272-bit corrected data will be sent, but the corrected data will be 82 bits.
Since the parity bits are not necessary, only 190 information bits are written to the buffer memory.
In the fourth operation mode, since the error correction signal is prohibited by the collect gate signal 39, the corrected data that has already been corrected and secured in the data register 24 is replaced by the corrected data 4.
2 and sent to the data transfer circuit, subjected to serial-to-parallel conversion, and stored in the buffer memory via the local data bus 13.

特願昭58−90017に示されているように272ビツ
トのパケツトデータの先頭は(8、4)拡大ハミ
ング符号によるサービス識別と割込み優先順を示
す8ビツトのSI/INであるが、その次にパケツ
ト内容識別のための6ビツトのパケツトコントロ
ール(PC)があり、引続いて、純粋の情報ビツ
トが22バイトある。従つて、そのまま訂正後のデ
ータを8ビツトずつ詰めていくと、各バイトの先
頭の2ビツト分が1バイト前のデータ部に混入す
ることになる。この問題を避けるために、この実
施例では、特願昭58−90017と同様に、2バイト
目のデータには2ビツトの付加ビツトを追加して
8ビツトに揃えている。かくして、訂正後のデー
タとしては、1パケツトあたりデータ部が24バイ
トおよび先頭番地に付加するエラー情報1バイ
ト、つごう25バイトが書込まれる。この動作フロ
ーを第8図に示す。上に説明した第4の動作モー
ドの間、データ転送回路からデータが1バイト送
出されるごとにタイミング制御回路17から書込
みパルス45がバツフアメモリに与えられ、か
つ、アドレス更新パルス54によつて自動アドレ
ス信号16が更新される。第4の動作モードにお
いても切替回路14は自動アドレス信号16を選
択してバツフアメモリ19のアドレス入力端子に
供給する。また第4の動作モードにおいてもデー
タバス制御回路12は10と13を分離するよう
に動作するのでCPUは他の動作を行なつていて
よい。
As shown in Japanese Patent Application No. 58-90017, the beginning of the 272-bit packet data is an 8-bit SI/IN indicating the service identification and interrupt priority order using the (8, 4) extended Hamming code, and then There are 6 bits of packet control (PC) for packet content identification, followed by 22 bytes of pure information bits. 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, 2 additional bits are added to the second byte of data to make it 8 bits, similar to Japanese Patent Application No. 58-90017. Thus, as corrected data, 24 bytes of data part and 1 byte of error information added to the first address are written per packet, making 25 bytes. This operational flow is shown in FIG. During the fourth operation mode described above, a write pulse 45 is applied from the timing control circuit 17 to the buffer memory every time one byte of data is sent from the data transfer circuit, and an address update pulse 54 is used to update the automatic address. Signal 16 is updated. Also in the fourth operation mode, the switching circuit 14 selects the automatic address signal 16 and supplies it to the address input terminal of the buffer memory 19. Furthermore, in the fourth operation mode, the data bus control circuit 12 operates to separate the signals 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パケツトまで同様の動作を行
なう。かくしてバツフアメモリ19の訂正後デー
タエリアに第9図に示すごとく訂正後データが格
納される。第9図においては1パケツト分のエリ
アとして64番地分を確保しているが実際には25バ
イト分しか使用しない。
The second operation mode, third operation mode, and fourth operation mode described above are a series of operations. That is, one packet of uncorrected data is read from the buffer memory 19, loaded into the syndrome register 26 and data register 24 (second operation mode), error correction is performed (third operation mode), and the corrected data is loaded. Error information is added and written to the buffer memory 19 (fourth operation mode). When these series of operations are completed, 2
The operation for the packet is started, and the second operation mode, third operation mode, and fourth operation mode are executed in the same manner. Hereafter, the same operation is performed up to 12 packets. Thus, the corrected data is stored in the corrected data area of the buffer memory 19 as shown in FIG. In FIG. 9, 64 addresses are reserved as an area for one packet, but in reality only 25 bytes are used.

第9図に示すごとく、全パケツトの訂正後デー
タが格納されると、タイミング制御回路17はス
テータス信号48を発し、CPUに対して、バツ
フアメモリ19をCPUが読出してよいことを示
す。
As shown in FIG. 9, when the corrected data of all packets are stored, the timing control circuit 17 issues a status signal 48 to indicate to the CPU that the buffer memory 19 may be read by the CPU.

第5の動作モードはCPUがステータス信号4
8を検知して、CPUがバツフアメモリの内容を
読出すモードである。ここのモードにおいては
CPUはタイミング制御回路17に対してデータ
リクエスト信号56を与える。これによつてタイ
ミング制御回路17はCPUのデータバス10と
ローカルデータバス13とを連結するように、か
つまた、自動アドレス信号16を禁止してCPU
のアドレスバス11の信号をバツフアメモリ19
に供給するように、バス制御信号18を与える。
かくして、バツフアメモリの出力データがローカ
ルデータバス13を介してCPUのデータバスに
得られるので、CPUがアドレス指定するバツフ
アメモリの領域のデータを読出すことができる。
In the fifth operating mode, the CPU sends the status signal 4
8 is detected and the CPU reads the contents of the buffer memory. In this mode
The CPU provides a data request signal 56 to the timing control circuit 17. This causes the timing control circuit 17 to connect the CPU data bus 10 and the local data bus 13, and also disables the automatic address signal 16 to connect the CPU data bus 10 to the local data bus 13.
The signal of the address bus 11 is transferred to the buffer memory 19.
A bus control signal 18 is provided so as to be supplied to the bus.
In this way, the output data of the buffer memory is available to the data bus of the CPU via the local data bus 13, so that the data in the area of the buffer memory addressed by the CPU can be read.

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

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

また、エラー情報としてエラーステータス信号
訂正オーバー信号および訂正数信号を含めて、1
バイト以内にする例について説明したが、訂正数
信号のビツト数を増して、結果的にエラー情報が
複数バイトになるようにしてもよい。
In addition, the error information includes the error status signal, correction over signal, and correction number signal.
Although an example has been described in which the error information is within a byte, the number of bits of the correction number signal may be increased so that the error information becomes a plurality of bytes.

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

上に示した第1の実施例では、訂正後データは
加算器41の出力信号であつて、シリアルなデー
タである42によつて与えられ、データ転送回路
20によつて直−並列変換されるように構成され
たが第2の実施例として訂正後データを第10図
に示すように8ビツトパラレルに取り出すことも
できる。第10図において、24,25,40、
および41はいずれも第2図と同じものである。
但し、41は、ここでは、最終的な訂正済データ
でなく、しきい値を変化させて順次誤りを訂正し
ていく過程で、次のしきい値での誤り訂正に備え
て、データレジスタを更新させるためにだけに使
われる。第10図において、90は、データレジ
スタ24の出力先頭側8ビツトのレジスタであ
り、91はレジスタ90の出力信号であつて、最
終的な訂正済データとしてデータ転送回路20に
結ばれる。このように8ビツトパラレルで出力す
ればデータ転送回路20はただ単に所定のタイミ
ングでラツチし、ローカルデータバス13に送出
するだけでよい。
In the first embodiment shown above, the corrected data is the output signal of the adder 41, which is given as serial data 42, and is serial-to-parallel converted by the data transfer circuit 20. However, as a second embodiment, the corrected data can be extracted in 8-bit parallel as shown in FIG. In FIG. 10, 24, 25, 40,
and 41 are the same as in FIG.
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, in preparation for error correction at the next threshold. Used only for updating. In FIG. 10, 90 is a register of 8 bits on the output top side of the data register 24, and 91 is an output signal of the register 90, which is connected to the data transfer circuit 20 as final corrected data. If the data is output in 8-bit 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 memory. was stored in the corrected data area. 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 incorrectly corrected and the errors will increase. There is a possibility that it will be stored away.

そこで第3の実施例では、このような訂正不能
の場合には、バツフアメモリ19の中のそのパケ
ツトの訂正後データエリアに、すでにバツフアメ
モリに格納されているそのパケツトの訂正前デー
タうちの情報データ部24バイトにエラー情報を
付加してかつパケツトコントロール部を2ビツト
ずらして書込むことを提案する。このようにすれ
ば、CPUは、誤りが増大してしまう前のデータ
を読出すことができ、かつ、2ビツトずれている
から、CPUが処理しやすく、しかも、エラー情
報をも知ることができる。
Therefore, in the third embodiment, in such a case where correction is impossible, the information data portion of the uncorrected data of the packet already stored in the buffer memory 19 is stored in the corrected data area of the packet in the buffer memory 19. We propose adding error information to 24 bytes 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 it, and it can also know the error information. .

(発明の効果) この発明は以上説明したように、訂正前データ
と訂正後データとを記憶するためのバツフアメモ
リを設け、受信データのバツフアメモリへの書込
み動作、訂正前データのバツフアメモリからの読
出し動作、および訂正後データのバツフアメモリ
への書込み動作を自動的に行なうためのデータ転
送回路を有することによりCPUの動作の負担を
軽減することができる。
(Effects of the Invention) As described above, the present invention includes a buffer memory for storing uncorrected data and post-corrected data, and performs operations such as writing received data to the buffer memory, reading uncorrected data from the buffer memory, Furthermore, by having a data transfer circuit for automatically writing the corrected data into the buffer memory, the operational burden 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 a wide variety of digital devices that use majority error correction using difference set cyclic codes.

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

第1図は従来技術の回路構成図、第2図は本発
明一実施例回路図、第3図および第5図は実施例
を説明するためのタイミング図、第4図、第7図
および第8図は実施例を説明するためのフローチ
ヤート、第6図および第9図はバツフアメモリに
格納するデータのマツピング図、第10図は本発
明の第2の実施例を示す回路図である。 1……CPUバスライン、2……出力ポート、
3……入力ポート、4……誤り訂正回路、5……
訂正前データ、6……訂正後データ、7……エラ
ーステータス信号、10……CPUのデータバス、
11……CPUのアドレスバス、12……データ
バス制御回路、13……ローカルデータバス、1
4……アドレス切替回路、15……アドレス生成
回路、16……自動アドレス信号、17……タイ
ミング制御回路、18……バス制御信号、19…
…バツフアメモリ、20……データ転送回路、2
1……シリアル受信データ、22……フレーミン
グ検知信号、23……同期クロツク、24……デ
ータレジスタ、25……訂正前データ、26……
シンドロームレジスタ、27……加算器、28…
…ロードゲート回路、29……ロードゲート信
号、30……シンドロームレジスタ信号、31…
…多数決回路、32……しきい値信号、33……
しきい値発生回路、34……しきい値クロツク、
35……ロード用クロツク信号、36……訂正用
クロツク信号、37……クリア信号、38……コ
レクトゲート回路、39……コレクトゲート信
号、40……誤り訂正信号、41……加算器、4
2……訂正後データ、43……クロツク信号、4
4……書込みパルス信号、45……書込みパルス
信号、46……垂直帰線消去信号、もしくは垂直
帰線消去信号に類似する信号、47……水平同期
信号、もしくは水平帰線消去信号、48……ステ
ータス信号、49……レジスタ、50……エラー
ステータス信号、51……訂正数カウンタ、52
……訂正数信号、53……訂正オーバー信号、5
4,55……アドレス更新信号、56……CPU
のデータリクエスト信号、70……水平同期信
号、71……カラーバースト、72……クロツク
ランイン、73……フレーミング信号、74……
データビツト、80……垂直同期信号、81……
垂直帰線消去信号、82……垂直帰線消去信号8
1から作り出される信号、90……データレジス
タ24の出力先頭側8ビツトのレジスタ、91…
…レジスタ90の出力信号。
FIG. 1 is a circuit 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. FIG. 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 a second embodiment of the present invention. 1...CPU bus 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, 1
4... Address switching circuit, 15... Address generation circuit, 16... Automatic address signal, 17... Timing control circuit, 18... Bus control signal, 19...
...Buffer memory, 20...Data transfer circuit, 2
1...Serial reception data, 22...Framing detection signal, 23...Synchronization clock, 24...Data register, 25...Data before correction, 26...
Syndrome register, 27...Adder, 28...
...Load gate circuit, 29...Load gate signal, 30...Syndrome register signal, 31...
...Majority circuit, 32...Threshold signal, 33...
Threshold generation circuit, 34...Threshold clock,
35...Load clock signal, 36...Correction clock signal, 37...Clear signal, 38...Collect gate circuit, 39...Collect gate signal, 40...Error correction signal, 41...Adder, 4
2...Data after correction, 43...Clock signal, 4
4...Write pulse signal, 45...Write pulse signal, 46...Vertical blanking signal or signal similar to the vertical blanking signal, 47...Horizontal synchronization signal or horizontal blanking signal, 48... ...Status signal, 49...Register, 50...Error status signal, 51...Correction number counter, 52
... Correction number signal, 53 ... Correction over signal, 5
4, 55...Address update signal, 56...CPU
data request signal, 70...Horizontal synchronization signal, 71...Color burst, 72...Clock run in, 73...Framing signal, 74...
Data bit, 80... Vertical synchronization signal, 81...
Vertical blanking signal, 82... Vertical blanking signal 8
Signal generated from 1, 90...Register of the first 8 bits output from the data register 24, 91...
...Output signal of register 90.

Claims (1)

【特許請求の範囲】 1 ローカルデータバスと; 前記ローカルデータバスに結合され、訂正前お
よび訂正済データを格納するバツフアメモリと; CPU(中央処理装置)から出力されたアドレス
信号を選択的に前記バツフアメモリに転送し、前
記バツフアメモリのアドレスを指定するアドレス
切換回路と; 前記CPUのデータバスと前記ローカルデータ
バス間に結合され、制御信号に応答して前記デー
タバスと前記ローカルデータバス間を分離するデ
ータバス制御回路と; 誤り訂正信号を発生する多数決回路と、前記誤
り訂正信号を受信し、且つ訂正数が所定値を超え
たことを知らせる訂正数オーバ信号と訂正数を知
らせる訂正数信号を出力する訂正数カウンタを含
み、且つ訂正前データを受信し訂正後データを出
力する誤り訂正回路と; 前記ローカルデータバスと前記誤り訂正回路に
結合され、且つ第1の動作モードにおいて文字コ
ードデータを受信し前記訂正前データに変換した
後前記ローカルデータバスを介して前記訂正前デ
ータをバツフアメモリへ転送し、第2の動作モー
ドにおいて前記訂正数カウンタから出力された訂
正数オーバ信号および訂正数信号、および前記誤
り訂正回路から出力された前記訂正後データを順
次前記ローカルデータバスを介して前記バツフア
メモリへ転送するデータ転送回路と、前記データ
バスと、前記データ転送回路と、前記誤り訂正回
路に制御信号を出力するタイミング制御回路と; を有することを特徴とする符号誤り訂正復号回
路。
[Scope of Claims] 1. A local data bus; A buffer memory coupled to the local data bus and storing uncorrected and corrected data; An address signal output from a CPU (central processing unit) is selectively transferred to the buffer memory; an address switching circuit that transfers data to and specifies an address of the buffer memory; an address switching circuit that is coupled between a data bus of the CPU and the local data bus, and that separates the data bus and the local data bus in response to a control signal; a bus control circuit; a majority circuit that generates an error correction signal; and a majority circuit that receives the error correction signal and outputs a correction number over signal that indicates that the number of corrections exceeds a predetermined value and a correction number signal that indicates the number of corrections. an error correction circuit that includes a correction number counter and receives uncorrected data and outputs corrected data; and an error correction circuit that is coupled to the local data bus and the error correction circuit and that receives character code data in a first operation mode. After converting into the uncorrected data, the uncorrected data is transferred to the buffer memory via the local data bus, and in the second operation mode, the correction number over signal and the correction number signal output from the correction number counter, and the a data transfer circuit that sequentially transfers the corrected data output from the error correction circuit to the buffer memory via the local data bus; and outputs a control signal to the data bus, the data transfer circuit, and the error correction circuit. 1. A code error correction decoding circuit comprising: a timing control circuit; and a code error correction decoding 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 JPS60206226A (en) 1985-10-17
JPH0155786B2 true 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
JPS60206226A (en) 1985-10-17

Similar Documents

Publication Publication Date Title
US4330858A (en) Time domain supervisory channel for data terminal equipments
JPS5816669B2 (en) Digital coding method for duration when transmitting image information
US5195093A (en) Method and apparatus for ensuring CRC error generation by a data communication station experiencing transmitter exceptions
US4858235A (en) Information storage apparatus
KR100240622B1 (en) Digital signal processing method and device
US4320511A (en) Method and device for conversion between a cyclic and a general code sequence by the use of dummy zero bit series
CA1223076A (en) Error correction system in a teletext system
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
JPH08223505A (en) Data deinterleaver
KR950007977B1 (en) Method and arrangement for the synchronisation of digital information signals
JPH0155786B2 (en)
US4701914A (en) Apparatus for correcting cyclic code data stored in memory and method therefor
JPH0155787B2 (en)
JPH0155788B2 (en)
US5778010A (en) Method and device for correcting packet data error and packet receiver
KR900000489B1 (en) Error correction system of tele text system
JPH0546131B2 (en)
JPH05252085A (en) Satellite communication controller
JP2964484B2 (en) Image receiving method and image receiving apparatus
JP2561791B2 (en) FM multiplex broadcast receiver
JPH0155789B2 (en)
CN102377517B (en) Processing device of FM multi-path signal
JP2729918B2 (en) Image transmission device
JP3256641B2 (en) Error correction frame transmission method in ATM

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term