JPH0331018B2 - - Google Patents

Info

Publication number
JPH0331018B2
JPH0331018B2 JP10665182A JP10665182A JPH0331018B2 JP H0331018 B2 JPH0331018 B2 JP H0331018B2 JP 10665182 A JP10665182 A JP 10665182A JP 10665182 A JP10665182 A JP 10665182A JP H0331018 B2 JPH0331018 B2 JP H0331018B2
Authority
JP
Japan
Prior art keywords
signal
code
bit
bits
framing
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
JP10665182A
Other languages
Japanese (ja)
Other versions
JPS58223943A (en
Inventor
Tsukasa Yamada
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP10665182A priority Critical patent/JPS58223943A/en
Publication of JPS58223943A publication Critical patent/JPS58223943A/en
Publication of JPH0331018B2 publication Critical patent/JPH0331018B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、2値NRZ信号からなる情報信号を
受信し、伝送されて来た情報を誤まりを少なくし
て再生する方式に関するもので、特に文字放送用
受信機において誤まりを少なくして情報を再生す
るようにしたものである。 従来、2値のNRZ信号を識別するには、ある
特定の直流レベルを基準にして、それを上回るか
下回るかによつて“0”,“1”を決定していた
が、そこには、伝送路におけるゴーストや群遅延
特性の悪化等、回線特性の劣化に起因するパルス
信号の波形歪によつて、コード識別部におけるい
わゆるアイ開口率(入力信号の論理値“1”に相
当する直流レベルに対する、サンプル時点におけ
る“0”,“1”識別範囲の比)の低下に伴う、波
形歪、外部雑音、または内部雑音に起因するビツ
ト誤りが増加する欠点があつた(電子通信学会
編、電子通信ハンドブツク、昭和54年発行、第
846〜848頁及び第1135頁参照)。 本発明の目的は、上述のような符号誤りに対し
て符号誤りを適切に訂正することのできる符号信
号復元方式を提供することにある。 そのために、本発明では、伝送されて来た受信
信号を従来の方式によつて直接2値化するのでは
なく、受信信号を多段陥のレベル識別して多値化
する。そして、受信信号のレベルがある一定値以
上のもの、ある一定値以下のもの、中間レベルの
ものを、誤りが生じている確率が高いと判断し
て、“1”或いは“0”とすることなく消失ビツ
トとして出力し、パリテイービツトをも含めて計
算して、消失ビツトをもとのビツトに復元するこ
とにより、誤り訂正効果を増大させる。 すなわち、本発明は、送信側において、パリテ
イビツトを付加し0,1の2値信号からなる符号
信号を波形歪を起こさせる可能性がある伝送路を
介して受信側に送信し、受信側において、前記送
信された信号の受信信号から前記符号信号を復元
することを可能とする符号信号復元方式であつ
て、前記受信信号の信号波形のレベルを3以上の
複数の有限段階にレベル識別し、その識別結果に
基づき前記受信信号の前記信号波形のレベルが前
記2値信号の0,1のいずれに対応するかが不明
確なビツトを消失ビツトとして位置付け、前記符
号信号の最小符号間距離をdとしたとき、前記消
失ビツトの数Sがd−1以内であつて、かつ誤り
ビツトの数が[(d−S−1)/2]ビツト(た
だし、[ ]はガウス記号で、該記号で囲まれる
数を越えない整数を意味する)であるとき、前記
受信し前記レベル識別した信号と、受信側に予め
用意された複数個の符号信号との相互間での符号
配列の比較により、前記消失ビツトを再生すると
ともに、前記誤りビツトがある場合には、該誤り
ビツトの位置を検出してその位置に対応した符号
0,1をそれぞれ符号1,0に反転させることに
より、前記送信側から送信した前記符号信号を復
元するようにしたことを特徴とする。 本発明の原理を、パターン方式文字放送で用い
られている、ビツト数8、情報数4からなる
(8,4)拡大ハミング符号方式の場合を例にと
つて、説明する。 (8,4)拡大ハミング符号は、最小符号間距
離dが4なので、通常の2値信号による復号法に
よれば、1ビツトの誤りがあつたときの訂正、2
ビツトの誤りのあつた時の誤りの存在したことの
検出能力をもつている。 本発明のように、伝送されて来た受信信号を多
段階のレベル値でレベル識別する手段としては、
例えば、特願昭57−55464号(特開昭58−173933
公報)の明細書に記載してあるようにA/D変換
器を用いることとし、入力受信信号のレベルを、
デイジタル信号として、出力するようにする。 受信信号のうち、レベル不明確なビツトを消失
ビツトとして検出し、ビツトパタンを判別する本
発明の方式によれば(8,4)拡大ハミング符号
の伝送において、1ワードの中がつぎのような状
態の場合に出力に誤りが混入することがない。 1) 消失ビツト3ビツト以下:消失ビツトを復
元することができる。 2) 消失ビツト2ビツト、誤りビツト/ビツ
ト:このワードの中に誤りがあることを検出し
て、このワードの符号をデータとしてとり入れ
ない。 3) 消失ビツト/ビツト、誤りビツト/ビツ
ト:消失ビツトを復元し、誤りビツトを訂正し
てこのワードの符号を回復する。 本発明においても、従来から有している1ビツ
ト誤りの訂正、2ビツト誤りのあつたときの、誤
りの存在の検出(訂正は不能)の能力を有してい
ることは勿論であり、本発明においては、“消失
ビツト”を検出するようにしたことにより、訂正
可能範囲、誤りの存在の検出可能範囲が拡がつた
こととなる。 (8,4)拡大ハミング符号語はつぎのように
ビツト配列とし、最小符号間距離を4ビツトとし
ている。 第 1 表 符号語 情報ビツト パリテイビツト
The present invention relates to a method for receiving an information signal consisting of a binary NRZ signal and reproducing the transmitted information with fewer errors, and particularly in a teletext receiver. It is designed to play. Conventionally, to identify a binary NRZ signal, "0" or "1" was determined based on a certain DC level, depending on whether it was above or below that level. Due to waveform distortion of the pulse signal caused by deterioration of line characteristics such as ghosts in the transmission path and deterioration of group delay characteristics, the so-called eye opening ratio (DC level corresponding to the logical value "1" of the input signal) in the code identification section There was a drawback that bit errors caused by waveform distortion, external noise, or internal noise increased as the ratio of the "0" and "1" discrimination range at the sampling point decreased (edited by the Institute of Electronics and Communication Engineers, Communication handbook, published in 1974, No.
(See pages 846-848 and page 1135). An object of the present invention is to provide a code signal restoration method that can appropriately correct code errors such as those described above. To this end, in the present invention, the transmitted received signal is not directly binarized using the conventional method, but the received signal is multivalued by identifying the levels of multi-stage defects. Then, if the level of the received signal is above a certain value, below a certain value, or at an intermediate level, it is determined that there is a high probability that an error has occurred, and it is set to "1" or "0". The error correction effect is increased by outputting the missing bits as lost bits and calculating including the parity bits to restore the lost bits to the original bits. That is, in the present invention, on the transmitting side, a parity bit is added and a code signal consisting of a binary signal of 0 and 1 is transmitted to the receiving side via a transmission path that may cause waveform distortion, and on the receiving side, A coded signal restoration method that enables the coded signal to be restored from the received signal of the transmitted signal, the method comprising: identifying the level of the signal waveform of the received signal into a plurality of finite stages of three or more; Based on the identification result, a bit for which it is unclear whether the level of the signal waveform of the received signal corresponds to 0 or 1 of the binary signal is positioned as a lost bit, and the minimum inter-symbol distance of the code signal is set as d. , the number S of lost bits is within d-1, and the number of error bits is [(d-S-1)/2] bits (where [ ] is a Gaussian symbol, and the number enclosed by the symbol is (meaning an integer that does not exceed the number of signals), the erasure is detected by comparing the code arrangement between the received and level-identified signal and a plurality of code signals prepared in advance on the receiving side. In addition to reproducing the bit, if there is an error bit, the position of the error bit is detected and the codes 0 and 1 corresponding to the position are inverted to codes 1 and 0, respectively, so that the transmission from the transmitting side is The present invention is characterized in that the encoded signal is restored. The principle of the present invention will be explained by taking as an example the case of the (8,4) expanded Hamming code system, which is used in pattern-based teletext broadcasting and consists of 8 bits and 4 information. (8, 4) Since the minimum inter-code distance d of the extended Hamming code is 4, according to the decoding method using normal binary signals, correction when a 1-bit error occurs, 2
It has the ability to detect the existence of an error when a bit error occurs. As a means for identifying the level of a transmitted received signal using multilevel level values as in the present invention,
For example, Japanese Patent Application No. 57-55464 (Japanese Patent Application No. 58-173933)
An A/D converter is used as described in the specification of the publication, and the level of the input received signal is
Output it as a digital signal. According to the method of the present invention, which detects bits whose level is unclear in the received signal as lost bits and determines the bit pattern, in the transmission of the (8, 4) extended Hamming code, the following state occurs in one word. In this case, errors will not be mixed into the output. 1) Loss of 3 or less bits: Lost bits can be restored. 2) 2 lost bits, error bit/bit: Detects that there is an error in this word, and does not take in the code of this word as data. 3) Lost bits/bits, erroneous bits/bits: restore the lost bits and correct the erroneous bits to recover the code of this word. Of course, the present invention also has the conventional ability to correct a 1-bit error and detect the existence of an error (correction is not possible) when a 2-bit error occurs. In the present invention, by detecting "erased bits", the correctable range and the detectable range of errors are expanded. The (8, 4) expanded Hamming code word has the following bit arrangement, and the minimum inter-code distance is 4 bits. Table 1 Code word Information bit Parity bit

〔0〕 0000 1110 〔1〕 1000 0000 〔2〕 0100 1001 〔3〕 1100 0111 〔4〕 0010 0101 〔5〕 1010 1011 〔6〕 0110 0010 〔7〕 1110 1100 〔8〕 0001 0011[0] 0000 1110 [1] 1000 0000 [2] 0100 1001 [3] 1100 0111 [4] 0010 0101 [5] 1010 1011 [6] 0110 0010 [7] 1110 1100 [8] 0001 0011

〔9〕 1001 1101 〔10〕 0101 0100 〔11〕 1101 1010 〔12〕 0011 1000 〔13〕 1011 0110 〔14〕 0111 1111 〔15〕 1111 0001 たとえば、符号語[9] 1001 1101 [10] 0101 0100 [11] 1101 1010 [12] 0011 1000 [13] 1011 0110 [14] 0111 1111 [15] 1111 0001 For example, codeword

〔0〕のビツトパタン
00001110を伝送した場合に受信側で如何にしてそ
のビツトパタンを復元するかを説明する。 1) 3ビツト消失の場合、受信側で0×00××
10(×は消失ビツト)のような形でビツトパタ
ンを検出したとすると、消失ビツト以外のビツ
トパタンが、第1表に示す符号語の中で一致す
るのは、符号語
[0] bit pattern
We will explain how to restore the bit pattern on the receiving side when 00001110 is transmitted. 1) If 3 bits are lost, the receiving side will write 0×00××
If a bit pattern is detected in the form of

〔0〕の場合のみである。従つ
て、符号語
Only in the case of [0]. Therefore, the code word

〔0〕を回復することが可能であ
る。 0×001×10のように2ビツト消失の場合、
0×001110のような1ビツト消失の場合も、勿
論、前記と同様に、
It is possible to restore [0]. In the case of 2 bit loss like 0x001x10,
Of course, in the case of one bit loss such as 0x001110, the same as above,

〔0〕以外の符号語に対応
するビツトパタンに、そのようなビツトパタン
が存在しないので、符号語
There is no such bit pattern among the bit patterns corresponding to code words other than [0], so the code word

〔0〕を回復するこ
とができる。 また、後記する3の場合を除き、消失ビツト
以外のビツトパタンに対応するビツトパタンが
ないときは、〔誤り検出〕として、このビツト
パタンからは、もとのビツトパタンは復元でき
ないとする。したがつて、この場合符号語を出
力されない。 2) 2ビツト消失+1ビツト誤りの場合、0×
00×10のように2個の消失ビツト(×)と1個
の誤りビツト(0)を受信したときには、(×)
を除きビツトパタンで符号表に一致するものは
なく、1ビツトを変えることによつて本来の符
号語である
[0] can be recovered. In addition, except for case 3 described below, when there is no bit pattern corresponding to a bit pattern other than the lost bit, it is assumed that the original bit pattern cannot be restored from this bit pattern as an [error detection]. Therefore, no code word is output in this case. 2) In case of 2 bit loss + 1 bit error, 0x
When two lost bits (×) and one error bit (0) are received, such as 00×10, (×)
There is no bit pattern that matches the code table except for

〔0〕と、全く違う符号語〔6〕と
の2種類の符号になりえる。 したがつて受信符号を決定することはできず
誤りがあつたと判断し、〔誤り検出〕とし符号
語を出力しない。 3) 1ビツトの消失+1ビツト誤りの場合、0
×000110のように×の消失と0の誤りビツトが
与えられた場合には、×を除いたビツトパタン
で第1表の中に一致するものはないが、5番目
のビツト(0)を反転させて(1)にした時、
符号語
There can be two types of codes: [0] and a completely different code word [6]. Therefore, it is determined that the received code cannot be determined and there is an error, and the code word is not outputted due to [error detection]. 3) 0 if 1 bit loss + 1 bit error
When a loss of × and an error bit of 0 are given, such as ×000110, there is no match in Table 1 among the bit patterns excluding ×, but the fifth bit (0) is inverted. When it becomes (1),
code word

〔0〕に一致するパタンになりうるの
で、受信信号は
Since the pattern can match [0], the received signal is

〔0〕と判断する。 それ以外のビツトを反転させても、一致する
ビツトパタンはない。そこで
It is judged as [0]. Even if other bits are inverted, there will be no matching bit pattern. Therefore

〔0〕と判断して
も間違いはない。 以上、1),2),3)を一般形で表現すると、
符号信号の最小符号間距離をdとしたとき、消失
ビツトの数Sがd−1以内であつて、かつ誤りビ
ツトの数が[(d−S−1)/2]ビツト(ただ
し、[ ]はガウス記号で、この記号で囲まれる
数を越えない整数を意味する)であるとき、受信
しレベル識別した信号と、受信側に予め用意され
た複数個の符号信号との相互間での符号配列の比
較により、消失ビツトを再生するとともに、誤り
ビツトがある場合には、この誤りビツトの位置を
検出してその位置に対応した符号0,1をそれぞ
れ符号1,0に反転させることにより、送信側か
ら送信した符号信号を復元するのと等価である。 つぎに、本発明を用いてフレーミングコードを
検出する方式の一例を図面を参照して説明する。 第1図にテレビジヨン信号の垂直帰線期間のあ
る特定の水平走査期間に文字信号を重畳した場合
の信号波形を示す。 第1図において、101は水平同期信号、10
2はカラーバースト信号をあらわす。これらの信
号は通常のテレビ信号の場合と同じである。 103は文字放送信号のクロツク同期をとるた
めのクロツクランインで2バイト分挿入されてい
る。104はフレーミング同期をとるためのフレ
ーミングコードで、フレーミングコードを示す特
定のパタンを有しており1バイト分が挿入されて
いる。105は伝送されている情報の種類を識別
するサービス識別信号、1バイト分、106は当
該水平同期期間の情報の表示位置、性質(着色信
号か否かなど)を示すパケツト識別信号2バイト
分が挿入されている。107は、伝送すべき文字
情報信号31バイト分である。 文字信号107には、文字パタン情報をそのま
ま送る場合と、受信側で対応する文字情報を表示
させるための表示制御用のコードを伝送する場合
とがある。サービス識別信号105、パケツト識
別信号106、文字情報信号107は(8,4)
符号となつている。 水平同期信号101の立ち下りから、クロツク
ランイン103の第1ビツト目までの長さaは56
ビツトとする。1テレビ水平走査期間に送られる
1パケツトの信号の長さbは37バイト(296ビツ
ト)とする。1テレビ水平走査期間の長さcは
364ビツトとする。 第2図は、クロツクランイン103とフレーミ
ングコード104を拡大して示したものである。 クロツクランイン103は図に示すように
101010……10の16ビツトであり、ひきつづくフレ
ーミングコード104は、ビツトパタンが
11100101の8ビツトである。 第3図は、このフレーミングコード104を検
出するための1構成例である。 108は、第1図に示すような文字信号を含む
テレビ画像信号が供給されている入力端子であ
る。109は、画像信号に含まれる水平同期信号
101やクロツクランイン103から、種々の同
期信号やクロツクパルスを発生する同期信号発生
回路である。 110は、フレーミングパルス発生回路で入力
信号について、フレーミング信号の8ビツトのビ
ツトパタンと一致するビツトパルスがあるか否か
を個別に比較する。 従来はビツトパタンが完全に一致したときか1
ビツト違いのときしか、フレーミングコードを検
出することができなかつた。 フレーミングコードを検出するにあたつては、
画像信号からフレーミングコードの近傍の期間を
ゲートアウトするのであるが、このゲート期間
は、クロツクランインの一部期間+フレミングコ
ード期間+数ビツトとする。この期間中にフレー
ミングコード104を、検出するにあたつて、本
発明の方式を適用すると従来より、適切にフレー
ミングコードを検出することができる。 第3図に示す、ア,イ,ウ,エ,オ,カ,キ,
ク,ケ、は1ビツトづつ移動しながらとり出した
8ビツトの期間であるが、図中において、各期間
毎に〇の中に示してある数字は、その期間のビツ
トパタンとフレーミングコードのビツトパタンと
の間の符号間距離を示す。 即ち期間アのビツトパタンと、フレーミングコ
ードのビツトパタンとの間の符号間距離は5ビツ
ト、期間イのビツトパタンとフレーミングコード
のビツトパタンとの間の符号間距離は3ビツト、
期間ウのビツトパタンとフレーミングコードのビ
ツトパタンとの間の符号間距離は4ビツト等々で
ある。この図から明らかなようにフレーミングコ
ード104の始まる6ビツト前からゲートして、
即ち期間ウの始まる時点からゲートしてビツトパ
タンをとり出し、その中からフレーミングコード
を探すこととすれば、フレーミングコードはいず
れの8ビツト期間のビツトパタンに対しても最低
4ビツトの符号間距離を確保することができる。
したがつて、フレーミングコード104について
も前述の8,4符号を例として説明した消失ビツ
トの回復による復元が可能である。 受信信号のジツターによるゲートのタイミング
の誤差も考えられるので、3ビツト前からフレー
ミングコードを探すことにすれば安全である。い
いかえれば、±3ビツトの信号選出誤差まで許さ
れる。 現在、用いられている8,4拡大ハミング符号
においては、フレーミングコードに連続する符号
自身、たとえば、サービス識別信号105、パケ
ツト識別信号106によつて、フレーミングコー
ドのタイミングを検知しうる可能性を有してい
る。 即ち、相隣りあう符号間でフレーミングタイミ
ングのスリツプを生じたとき、そのスリツプタイ
ミング以降で見たときにいずれかの符号語と同じ
パタンとなる符号の数C(k)は、(ここでk:ス
リツプビツト数) k=1,7の場合 C(k)=0 (1) k=2,3,4,5,6の場合 C(k)=16 (2) となる。即ち、(1)式の場合符号となるものは何も
なく、(2)式の場合各kあたり16通りの符号とな
る。ここで、k=5通りあるから5×16=80通り
の符号語が生ずる。一方、スリツプの総数は、16
×16×7=1792通りなので、フレーミングタイミ
ングが正しくなくて本来の符号語にまたがつた位
相で、しかも、他の符号語になつてしまう確率
は、80/1792=4.4×10-2即ち、約1/25となる。
もし、受信したフレーミングコードでフレーミン
グタイミングが取れなかつたときに、後につづく
符号語を調べてフレームタイミングを検出しよう
とすると、4.4×10-2の誤り率でフレームタイミ
ングの検出をすることができる。 以上述べたフレーミングコードの検出装置のよ
り詳細な構成を、第4図に示す。 同期信号再生回路109は、テレビ信号から垂
直同期信号、水平同期信号を再生し、クロツクラ
ンイン103に位相ロツクしたクロツクパルス2
03、フレーミングコード104から3ビツト手
前のタイミングで発生される書き込みスタート信
号204、書き込みクロツク信号303、を発生
し出力する。 111は入力符号信号のレベルを識別するため
に設けられたA/D変換器で、入力端子108か
らの入力信号をクロツクパルス203の生起する
タイミング毎にA/D変換し、多段階でレベル識
別し、そのレベル値に応じてデイジタル信号でレ
ベル情報を出力する。 4ビツトでA/D変換するとレベル情報は
“0”から“15”までの16段階のレベルを表わす
情報となる。その詳細は特願昭57−55464号明細
書に記載してあるものと同様とすることができ
る。 112はDMAコントローラ、113はランダ
ムアクセスメモリで、A/D変換器110の出
力、即ち、レベルによつて、多段階にレベル識別
された入力信号のレベル情報を、記憶する。 114はコンピユータ、115は表示メモリ、
116は画面表示用ブラウン管である。 以上のように構成されているから、入力端子1
08から入力した入力信号は、A/D変換器11
0において、同期信号発生器109からのクロツ
クパルス203のタイミング毎にレベル識別さ
れ、その識別されたレベル情報がとり出される。 これらの情報はDMAコントローラー112を
介して、RAM113へ転送され記憶される。 その際、1水平走査期間には、37バイト分のデ
イジタル信号があるのであるが、クロツクランイ
ン2バイト分を除いた35バイト分と、さらに1バ
イト分が追加して記憶されるようになつている。
ここで1バイト分余計に書き込むのは、フレーミ
ングコード104検出にあたつて、フレーミング
コード104より3ビツト前から書き込み、さら
に安全を見てパケツトの最終部を5ビツト分多く
取り込むためである。 第5図は、受信機が1パケツト分の信号を受信
したときのフレーミングコード104検出の際の
誤り訂正検出処理のフローチヤートを示す。コン
ピユーター113はDMAコントローラ112か
らのデータの転送が終了したことを検知すると、
入力信号のデータの中の消失ビツト数の検出をす
る。ここで、A/D変換器111に4ビツトの変
換器を用いたときには入力信号のレベルに応じ
て、“0”から“15”までの段階のレベル情報が
入力されているから、レベル情報が“1”、“2”、
“3”、“4”、“5”、“6”のときは、もとの入力
2値信号のレベルは“0”、と判定し、“9”、
“10”、“11”、“12”、“13”、“14”のときは、も

の入力2値信号のレベルは“1”と判定する。 そして、レベル情報が“0”、“7”、“8”、
“15”のときは、消失ビツト“X”と判定する。
このように、2値データ信号ブロツクと消失ビツ
トブロツクとを並列に用意する。 つぎに直前のパケツトデータでもフレーミング
コードの頭までシフトしたシフト数だけ、そのパ
ケツトでも全2値データおよび消失ビツトとを時
間的にシフトさせ、先頭の8ビツトをフレーミン
グコード、ひきつづく272ビツトをパケツトのデ
ータとして扱うようにする。しかるに、このとき
先頭の8ビツトが前述した方法で、消失ビツトを
回復しても、フレーミングコードのパターンとな
らない場合は、フレーミングコードの検索を受信
したビツトの先頭からやり直すことにする。 この検索は、±3ビツトづつのビツトずれを考
慮し先頭から6ビツトまで、さかのぼつてシフト
して行う。このような操作をしてもフレーミング
コードが検出できない場合には、フレーミングコ
ードにひきつづく、後方の3バイト分の期間に存
在する8,4符号から、フレーミングコードの存
在の検出をする。 即ち、先頭ビツトから16ビツト後の2バイト分
のデータを調べ、その2バイトが消失ビツトだけ
を含む(8,4)符号になつている場合、そのタ
イミングを判定する。その2バイトが(8,4)
符号になつていないときには、さらに1ビツトシ
フトさせ同様の操作を行なう。この操作回数をK
としてK=8となつた場合には、フレーミングタ
イミングがとれなかつたと判定する。K<8でフ
レーミングタイミングを取ることができたときに
は、実際のフレーミングコードの受信した先頭ビ
ツトからのビツト位置はKビツト目となる。この
ようにして、受信ビツトからK+8ビツト目から
が34バイトのパケツトデータとなる。 その後は、前述の消失ビツトの回復と誤り訂正
動作によつて、サービス識別信号、パケツト識別
信号などをデコードし、目的とする制御を行な
う。 その他の(8,4)符号についても同じような
消失ビツトの回復を含む誤り訂正検出を行なう。 その他のパターンデータについては、レベルの
しきい値を“8”として、その上下を“1”或い
は“0”としさきに求めた消失ビツトを2値信号
に変換して使用する。画面上では、“1”信号の
方が目立ちやすく、パタン信号自身も“0”信号
の方が、“1”信号に比べ出現頻度が高いことを
考慮すると、パタンデータ部においては、消失ビ
ツトはすべて“0”に固定する方式が視覚上より
好ましい。 上述のフレーミングタイミング検出のタイムチ
ヤートの1例を第6図に示す。 301は、正常の位相で受信機へ到着した受信
符号信号パケツトの先頭部のタイミングである。 クロツクランイン103はここでは、後半の3
ビツト分を余分に取り込む。 302は、フレーミングコードを検索する範囲
の14ビツト期間(3ビツト+8ビツト+3ビツ
ト)を示す。303は、(8,4)符号で構成さ
れているパケツト識別信号105からフレーミン
グタイミングを再生するための検索範囲である。 ここでパケツト識別信号105によつて、フレ
ーミングタイミングの再生を行わなかつたのは、
フレーミング信号104が誤つたときには、隣の
パケツト識別信号105が誤る確率が高いためで
ある。 本発明は、以上のように構成されているので、
ゴーストや波形歪の多いテレビ信号の伝送路、に
おいても、ゴーストキヤンセラー、位相等価器、
自動スライスレベル調整器、自動クロツク位相調
整器等を用いなくても正しいコード信号の再生が
可能となる効果がある。 また、フレーミングコードの再生に本発明の方
式を適用する場合、あらかじめ余分に信号を受信
しておけば、本発明の方式によつて、フレーミン
グコードを再生することができるので、ソフト的
にフレーミングコードを再生することができ、ハ
ード的なフレーミング再生回路を必要としなくな
る利点がある。 また、パタン方式文字放送信号の(8,4)符
号そのものに4.4×10-2の誤り率でフレーミング
タイミング再生能力があるので、フレーミングコ
ードによつてフレーミングタイミングの再生がで
きなくても、それに後続する信号からフレーミン
グタイミングを再生することができる。
There is no mistake in judging it as [0]. If we express 1), 2), and 3) above in general form,
When the minimum inter-code distance of the code signal is d, the number S of lost bits is within d-1, and the number of error bits is [(d-S-1)/2] bits (however, [ ] is a Gaussian symbol, meaning an integer not exceeding the number enclosed by this symbol), then the code between the received and level-identified signal and multiple code signals prepared in advance on the receiving side. By comparing the arrays, the lost bits are recovered, and if there is an error bit, the position of the error bit is detected and the codes 0 and 1 corresponding to that position are inverted to codes 1 and 0, respectively. This is equivalent to restoring the code signal transmitted from the transmitting side. Next, an example of a method for detecting a framing code using the present invention will be described with reference to the drawings. FIG. 1 shows a signal waveform when a character signal is superimposed on a certain horizontal scanning period during the vertical retrace period of a television signal. In FIG. 1, 101 is a horizontal synchronizing signal;
2 represents a color burst signal. These signals are the same as regular television signals. 103 is a clock line in for synchronizing the clock of the teletext signal, and 2 bytes are inserted. Reference numeral 104 is a framing code for synchronizing framing, which has a specific pattern indicating the framing code, and 1 byte is inserted. 105 is a 1-byte service identification signal that identifies the type of information being transmitted, and 106 is a 2-byte packet identification signal that indicates the display position and nature (whether or not it is a colored signal, etc.) of the information in the horizontal synchronization period. It has been inserted. 107 is a 31-byte character information signal to be transmitted. In the character signal 107, character pattern information may be sent as is, or a display control code for displaying the corresponding character information on the receiving side may be transmitted. The service identification signal 105, packet identification signal 106, and character information signal 107 are (8, 4)
It has become a symbol. The length a from the falling edge of the horizontal synchronization signal 101 to the first bit of the clock line in 103 is 56
Bit. The length b of one packet signal sent during one television horizontal scanning period is 37 bytes (296 bits). The length c of one television horizontal scanning period is
Set to 364 bits. FIG. 2 shows an enlarged view of the clock line 103 and the framing code 104. The clock line 103 is as shown in the figure.
101010...10 16 bits, and the subsequent framing code 104 has a bit pattern of
It is 8 bits of 11100101. FIG. 3 shows an example of a configuration for detecting this framing code 104. 108 is an input terminal to which a television image signal including a character signal as shown in FIG. 1 is supplied. 109 is a synchronization signal generation circuit that generates various synchronization signals and clock pulses from the horizontal synchronization signal 101 and clock line 103 included in the image signal. Reference numeral 110 denotes a framing pulse generation circuit which individually compares the input signals to see if there is a bit pulse that matches the 8-bit bit pattern of the framing signal. Previously, when the bit patterns matched completely,
Framing codes could only be detected when the bits were different. When detecting framing codes,
A period in the vicinity of the framing code is gated out from the image signal, and this gate period is set to be a part of the clock run-in period + the framing code period + several bits. When detecting the framing code 104 during this period, by applying the method of the present invention, the framing code can be detected more appropriately than before. As shown in Figure 3, A, I, U, E, O, Ka, Ki,
Q, ke are 8-bit periods taken out while moving one bit at a time. In the figure, the numbers shown in ○ for each period indicate the bit pattern of that period and the bit pattern of the framing code. Indicates the intersymbol distance between. That is, the inter-symbol distance between the bit pattern of period A and the bit pattern of the framing code is 5 bits, and the inter-symbol distance between the bit pattern of period A and the bit pattern of the framing code is 3 bits.
The inter-symbol distance between the bit pattern of period C and the bit pattern of the framing code is 4 bits, and so on. As is clear from this figure, the gate is started 6 bits before the start of the framing code 104,
In other words, if we extract the bit pattern by gating from the beginning of period C and search for the framing code from it, the framing code will ensure a minimum inter-symbol distance of 4 bits for the bit pattern of any 8-bit period. can do.
Therefore, the framing code 104 can also be restored by recovering lost bits as explained above using the 8,4 code as an example. Since there may be an error in gate timing due to jitter in the received signal, it is safe to search for the framing code from 3 bits earlier. In other words, a signal selection error of ±3 bits is allowed. In the currently used 8,4 extended Hamming code, there is a possibility that the timing of the framing code can be detected by the code itself following the framing code, for example, the service identification signal 105 and the packet identification signal 106. are doing. That is, when a slip in framing timing occurs between adjacent codes, the number of codes C(k) that has the same pattern as any code word when viewed after the slip timing is (where k: (Number of slip bits) When k = 1, 7, C(k) = 0 (1) When k = 2, 3, 4, 5, 6, C(k) = 16 (2). That is, in the case of equation (1), there is no code, and in the case of equation (2), there are 16 codes for each k. Here, since there are k=5 types, 5×16=80 code words are generated. On the other hand, the total number of slips is 16
Since there are ×16 × 7 = 1792 ways, the probability that the framing timing is incorrect and the phase straddles the original code word and becomes another code word is 80/1792 = 4.4 × 10 -2 , that is, It will be about 1/25.
If the framing timing cannot be determined using the received framing code, if one tries to detect the frame timing by checking the following code word, the frame timing can be detected with an error rate of 4.4×10 -2 . A more detailed configuration of the above-described framing code detection device is shown in FIG. A synchronization signal reproducing circuit 109 reproduces a vertical synchronization signal and a horizontal synchronization signal from the television signal, and generates a clock pulse 2 whose phase is locked to the clock line in 103.
03, a write start signal 204 and a write clock signal 303, which are generated three bits before the framing code 104, are generated and output. Reference numeral 111 denotes an A/D converter provided to identify the level of the input code signal, which A/D converts the input signal from the input terminal 108 every time the clock pulse 203 occurs, and identifies the level in multiple stages. , outputs level information as a digital signal according to the level value. When A/D conversion is performed using 4 bits, the level information becomes information representing 16 levels from "0" to "15". The details can be the same as those described in the specification of Japanese Patent Application No. 57-55464. 112 is a DMA controller, and 113 is a random access memory, which stores the output of the A/D converter 110, that is, the level information of the input signal whose level is identified in multiple stages according to the level. 114 is a computer, 115 is a display memory,
116 is a cathode ray tube for screen display. Since it is configured as above, input terminal 1
The input signal input from 08 is sent to the A/D converter 11.
0, the level is identified at every timing of the clock pulse 203 from the synchronizing signal generator 109, and the identified level information is extracted. This information is transferred to and stored in RAM 113 via DMA controller 112. At that time, there are 37 bytes of digital signals in one horizontal scanning period, but 35 bytes excluding 2 bytes of clock run-in and 1 byte are now stored. ing.
The reason for writing an extra byte here is to write 3 bits before the framing code 104 when detecting the framing code 104, and to take in 5 bits more at the end of the packet for safety reasons. FIG. 5 shows a flowchart of error correction detection processing when detecting the framing code 104 when the receiver receives one packet worth of signals. When the computer 113 detects that the data transfer from the DMA controller 112 is completed,
Detects the number of lost bits in the input signal data. Here, when a 4-bit converter is used as the A/D converter 111, level information is input in stages from "0" to "15" depending on the level of the input signal, so the level information is “1”, “2”,
When the signal is “3”, “4”, “5”, or “6”, the level of the original input binary signal is determined to be “0”, and “9”,
When it is "10", "11", "12", "13", or "14", the level of the original input binary signal is determined to be "1". Then, the level information is “0”, “7”, “8”,
When it is "15", it is determined that the missing bit is "X".
In this way, a binary data signal block and a lost bit block are prepared in parallel. Next, all binary data and lost bits are temporally shifted in the previous packet data by the number of shifts required to reach the beginning of the framing code, and the first 8 bits are used as the framing code, and the following 272 bits are used as the packet. Treat it as data. However, if the first 8 bits do not become a framing code pattern even if the lost bits are recovered using the method described above, the search for the framing code is restarted from the beginning of the received bits. This search is performed by shifting backwards to 6 bits from the beginning, taking into account bit shifts of ±3 bits. If the framing code cannot be detected even after such an operation, the presence of the framing code is detected from the 8,4 code existing in the period of 3 bytes following the framing code. That is, 2 bytes of data 16 bits after the first bit are examined, and if the 2 bytes are an (8, 4) code containing only erased bits, the timing is determined. Those 2 bytes are (8, 4)
If it is not a sign, shift it one more bit and perform the same operation. The number of times this operation is K
If K=8, it is determined that the framing timing could not be obtained. When the framing timing can be obtained with K<8, the bit position from the received first bit of the actual framing code is the K-th bit. In this way, the K+8th bit from the received bit becomes 34 bytes of packet data. Thereafter, the service identification signal, packet identification signal, etc. are decoded by the aforementioned lost bit recovery and error correction operations, and the desired control is performed. Similar error correction detection including recovery of lost bits is performed for other (8,4) codes. For other pattern data, the level threshold is set to "8", and the upper and lower portions thereof are set to "1" or "0", and the previously determined lost bits are converted into a binary signal and used. Considering that "1" signals are more noticeable on the screen, and "0" signals appear more frequently than "1" signals in the pattern signal itself, lost bits are more noticeable in the pattern data section. A method in which all values are fixed to "0" is visually more preferable. An example of a time chart for detecting the above-mentioned framing timing is shown in FIG. 301 is the timing of the beginning of the received code signal packet that has arrived at the receiver with a normal phase. Kurotsukranin 103 is the latter 3 here.
Take in extra bits. 302 indicates a 14-bit period (3 bits + 8 bits + 3 bits) within which the framing code is searched. 303 is a search range for reproducing the framing timing from the packet identification signal 105 composed of (8,4) codes. Here, the reason why the framing timing was not regenerated using the packet identification signal 105 is because
This is because when the framing signal 104 is erroneous, there is a high probability that the adjacent packet identification signal 105 will be erroneous. Since the present invention is configured as described above,
Ghost cancellers, phase equalizers,
This has the effect that correct code signals can be reproduced without using an automatic slice level adjuster, automatic clock phase adjuster, etc. Furthermore, when applying the method of the present invention to play back the framing code, if an extra signal is received in advance, the framing code can be played back using the method of the present invention. This has the advantage of eliminating the need for a hard framing reproduction circuit. In addition, since the (8,4) code of the pattern-based teletext signal itself has the ability to reproduce the framing timing with an error rate of 4.4 × 10 -2 , even if the framing timing cannot be reproduced by the framing code, the subsequent The framing timing can be recovered from the signal.

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

第1図は、文字放送信号の1テレビ水平走査期
間内の信号の配列を示す図、第2図は、フレーミ
ングコード近傍の信号の配列を示す図、第3図
は、フレーミングコード再生回路の構成を示す
図、第4図は、本発明によるフレーミングコード
再生回路のより詳細な構成図、第5図はフレーミ
ングコード再生の手順を示すフローチヤート、第
6図は、フレーミングタイミング検出のタイムチ
ヤートである。 101……水平同期信号、102……カラーバ
ースト信号、103……クロツクランイン、10
4……フレーミングコード、105……サービス
識別信号、106……パケツト識別信号、107
……文字情報信号、108……入力端子、109
……同期信号発生回路、110……フレーミング
パルス発生回路、203……クロツクパルス、2
04……スタート信号、303……書き込みクロ
ツク信号、111……A/D変換器、112……
DMAコントローラ、113……ランダムアクセ
スメモリ、114……コンピユータ、115……
表示メモリ、116……画面表示用ブラウン管、
301……パケツト先頭部のタイミング、302
……フレーミングコード検出範囲、303……フ
レーミングタイミング検索範囲。
Figure 1 is a diagram showing the signal arrangement within one TV horizontal scanning period of a teletext signal, Figure 2 is a diagram showing the signal arrangement near the framing code, and Figure 3 is the configuration of the framing code reproducing circuit. 4 is a more detailed configuration diagram of the framing code reproducing circuit according to the present invention, FIG. 5 is a flowchart showing the procedure for reproducing the framing code, and FIG. 6 is a time chart for detecting the framing timing. . 101...Horizontal synchronization signal, 102...Color burst signal, 103...Clock run in, 10
4...Framing code, 105...Service identification signal, 106...Packet identification signal, 107
...Character information signal, 108...Input terminal, 109
... Synchronization signal generation circuit, 110 ... Framing pulse generation circuit, 203 ... Clock pulse, 2
04...Start signal, 303...Write clock signal, 111...A/D converter, 112...
DMA controller, 113... Random access memory, 114... Computer, 115...
Display memory, 116... Cathode ray tube for screen display,
301... Timing of the beginning of the packet, 302
...Framing code detection range, 303...Framing timing search range.

Claims (1)

【特許請求の範囲】 1 送信側において、パリテイビツトを付加し
0,1の2値信号からなる符号信号を波形歪を起
こさせる可能性がある伝送路を介して受信側に送
信し、受信側において、前記送信された信号の受
信信号から前記符号信号を復元することを可能と
する符号信号復元方式であつて、 前記受信信号の信号波形のレベルを3以上の複
数の有限段階にレベル識別し、その識別結果に基
づき前記受信信号の前記信号波形のレベルが前記
2値信号の0,1のいずれに対応するかが不明確
なビツトを消失ビツトとして位置付け、前記符号
信号の最小符号間距離をdとしたとき、前記消失
ビツトの数Sがd−1以内であつて、かつ誤りビ
ツトの数が[(d−S−1)/2]ビツト(ただ
し、[ ]はガウス記号で、該記号で囲まれる数
を越えない整数を意味する)であるとき、前記受
信し前記レベル識別した信号と、受信側に予め用
意された複数個の符号信号との相互間での符号配
列の比較により、前記消失ビツトを再生するとと
もに、前記誤りビツトがある場合には、該誤りビ
ツトの位置を検出してその位置に対応した符号
0,1をそれぞれ符号1,0に反転させることに
より、前記送信側から送信した前記符号信号を復
元するようにしたことを特徴とする符号信号復元
方式。
[Claims] 1. On the transmitting side, a code signal consisting of a binary signal of 0 and 1 with a parity bit added is transmitted to the receiving side via a transmission path that may cause waveform distortion, and the receiving side , a coded signal restoration method that makes it possible to restore the coded signal from the received signal of the transmitted signal, the level of the signal waveform of the received signal being level-identified into a plurality of finite stages of three or more; Based on the identification result, a bit for which it is unclear whether the level of the signal waveform of the received signal corresponds to 0 or 1 of the binary signal is positioned as a lost bit, and the minimum inter-symbol distance of the code signal is determined as d. Then, the number S of lost bits is within d-1, and the number of error bits is [(d-S-1)/2] bits (where [ ] is a Gaussian symbol, and the symbol is (meaning an integer not exceeding the number enclosed), the code arrangement of the received and level-identified signal is compared with a plurality of code signals prepared in advance on the receiving side. In addition to regenerating the lost bits, if there is an error bit, the position of the error bit is detected and the codes 0 and 1 corresponding to the position are inverted to codes 1 and 0, respectively, so that the data can be transmitted from the transmitting side. A code signal restoration method characterized in that the transmitted code signal is restored.
JP10665182A 1982-06-23 1982-06-23 Code signal detecting system Granted JPS58223943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10665182A JPS58223943A (en) 1982-06-23 1982-06-23 Code signal detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10665182A JPS58223943A (en) 1982-06-23 1982-06-23 Code signal detecting system

Publications (2)

Publication Number Publication Date
JPS58223943A JPS58223943A (en) 1983-12-26
JPH0331018B2 true JPH0331018B2 (en) 1991-05-02

Family

ID=14439011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10665182A Granted JPS58223943A (en) 1982-06-23 1982-06-23 Code signal detecting system

Country Status (1)

Country Link
JP (1) JPS58223943A (en)

Also Published As

Publication number Publication date
JPS58223943A (en) 1983-12-26

Similar Documents

Publication Publication Date Title
JPS6226103B2 (en)
EP0164891A1 (en) Methods of and apparatus for use in decoding digital data
US4234897A (en) DC Free encoding for data transmission
US6536011B1 (en) Enabling accurate demodulation of a DVD bit stream using devices including a SYNC window generator controlled by a read channel bit counter
KR100362784B1 (en) Method and circuit for erasure correction
US5390195A (en) Miller-squared decoder with erasure flag output
JPS583350A (en) Method of encoding binary data
EP0464457B1 (en) Optical bus transmission method and transmitting-side encoder and receiving-side decoder therefor
US4860324A (en) Information data recovering apparatus
US4577227A (en) Teletext framing code detector
US5625505A (en) Method of and apparatus for regenerating partial-response record signal
JPH0230281A (en) Teletext decoder
JPH0331018B2 (en)
US6038274A (en) Apparatus for decoding a channel signal into an information signal and reproducing arrangement provided with the apparatus
KR100244190B1 (en) Sync. signal detection circuit
JPH0634298B2 (en) Address circuit
JPH0546131B2 (en)
JP2612769B2 (en) Slice signal control circuit for teletext signal
JPH0535661Y2 (en)
US5675697A (en) Signal restoring apparatus in DVCR using two threshold values
JP3318937B2 (en) Digital synchronization detector
KR0170963B1 (en) Method for recovering data error in a video on demand system
JPH09121347A (en) Method and device for encoding/decoding moving image signal
JPH0417514B2 (en)
JP2566939B2 (en) Transmission equipment