JPS63299545A - Routine data detecting circuit - Google Patents
Routine data detecting circuitInfo
- Publication number
- JPS63299545A JPS63299545A JP62133753A JP13375387A JPS63299545A JP S63299545 A JPS63299545 A JP S63299545A JP 62133753 A JP62133753 A JP 62133753A JP 13375387 A JP13375387 A JP 13375387A JP S63299545 A JPS63299545 A JP S63299545A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- shift register
- pattern
- output
- 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.)
- Pending
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的コ
(産業上の利用分野)
この発明は例えば文字多重放送信号のクロックランイン
信号のように定形化されて送られてくるデータを検出す
る定形データ検出回路に関する。[Detailed Description of the Invention] [Purpose of the Invention (Industrial Application Field) This invention relates to a fixed data detection method that detects data sent in a fixed format, such as a clock run-in signal of a teletext broadcasting signal. Regarding circuits.
(従来の技術)
文字放送受信装置においては、テレビジョン信号の垂直
同期期間の一部に、文字データを多重化して伝送してい
る。この文字データが多重されているか否を検出するた
めには、垂直同期期間内の所定の水平ラインを抜取り、
この水平ラインに所定の形式で文字多重信号(文字パケ
ット)が存在するか否かを検出すれば良い。(Prior Art) In a teletext receiving device, character data is multiplexed and transmitted during a part of the vertical synchronization period of a television signal. In order to detect whether or not this character data is multiplexed, a predetermined horizontal line within the vertical synchronization period is sampled.
It is sufficient to detect whether or not a character multiplex signal (character packet) exists in this horizontal line in a predetermined format.
この検出のためには、先ず、文字多重信号の始めの部分
に、クロック同期を得るための基準位相となるクロック
ランイン信号が所定の形式で多重されているので、この
クロックランイン信号の存在を確認すればよい。In order to detect this, first, a clock run-in signal, which serves as a reference phase for obtaining clock synchronization, is multiplexed in a predetermined format at the beginning of the character multiplexed signal, so the presence of this clock run-in signal is necessary. Just check.
上記クロックランイン信号を検出する従来の回路は、第
3図に示すように構成されている。入力端子101には
、文字多重信号が重畳される水平ラインの信号が供給さ
れる。勿論この信号は、前段でアナログデジタル変換さ
れている。入力端子101の信号は、クロックランイン
信号と同じデータ長のデータ格納容量を持ったシフトレ
ジスタ102に導かれる。クロックランイン信号は、4
15fscの間隔で2値化すると通常は010101・
・・の繰返しデータであり、全ビットがシフトレジスタ
102に格納された状態で、演算回路103.102.
104.105.106により所定のパターンであるか
否かの判別がなされる。A conventional circuit for detecting the clock run-in signal is configured as shown in FIG. The input terminal 101 is supplied with a horizontal line signal on which a character multiplex signal is superimposed. Of course, this signal has been converted from analog to digital at the previous stage. The signal at the input terminal 101 is guided to a shift register 102 having a data storage capacity of the same data length as the clock run-in signal. The clock run-in signal is 4
When binarized at an interval of 15 fsc, the result is usually 010101.
..., and with all bits stored in the shift register 102, the arithmetic circuits 103, 102, .
104, 105, and 106, it is determined whether the pattern is a predetermined pattern or not.
判別結果は、所定パターン検出のときは“0”それ以外
のときは“1”として出力端子107に導出される。The determination result is output to the output terminal 107 as "0" when a predetermined pattern is detected, and as "1" otherwise.
第4図は、第3図の回路を更に具体的に示したもので、
対応する部分には同じ符号を付している。Figure 4 shows the circuit in Figure 3 in more detail.
Corresponding parts are given the same reference numerals.
演算回路103〜106は、それぞれ、クロックランイ
ン信号が所定のパターンで格納された場合、シフトレジ
スタの各ビット出力を同じ符号にするためのインバータ
INL 、IN2と、インバータの出力と残りのビット
出力の論理演算を行なうナンド回路NANDとにより構
成されている。また演算回路107は、各演算回路10
3〜106の出力の論理和を取るオア回路ORにより構
成されている。Arithmetic circuits 103 to 106 each include inverters INL and IN2 for making each bit output of the shift register the same sign when the clock run-in signal is stored in a predetermined pattern, the output of the inverter, and the output of the remaining bits. It is constructed of a NAND circuit NAND that performs logical operations. Further, the arithmetic circuit 107 includes each arithmetic circuit 10
It is constituted by an OR circuit OR which takes the logical sum of the outputs of 3 to 106.
(発明が解決しようとする問題点)
上記した従来の訂正データつまりクロックランイン信号
検出回路によると、クロックランイン信号のデータ長さ
と同じ個数の演算回路が必要である。たとえばm4図に
示したように、1010”のパターンが4回連続して送
られて来る信号の場合、演算回路は58索子が必要であ
る。クロックランイン信号の長さを大きくすればそれだ
け素子数が多くなり、価格の増大につながる。(Problems to be Solved by the Invention) According to the conventional correction data or clock run-in signal detection circuit described above, the same number of arithmetic circuits as the data length of the clock run-in signal is required. For example, as shown in figure m4, in the case of a signal in which a 1010" pattern is sent four times in succession, the arithmetic circuit requires 58 elements.If the length of the clock run-in signal is increased, the length of the clock run-in signal can be increased. The number of elements increases, leading to an increase in price.
そこでこの発明は、クロックランイン信号のような定形
データのパターンを検出する回路を、簡単な構成で実現
できる定形データ検出回路を提供することを目的とする
。SUMMARY OF THE INVENTION An object of the present invention is to provide a fixed data detection circuit that can detect a pattern of fixed data such as a clock run-in signal with a simple configuration.
[発明の構成]
(問題点を解決するための手段)
この発明は、所定のパターンで繰返して送られてくる定
形データが入力端子に供給され、少なくとも前記繰返し
周期の最小単位を格納する第1のレジスタと、この第1
のレジスタに格納されたデータパターンが所定のパター
ンであるか否かを判別した判別データを0または1の2
値で出力する第1の演算回路と、前記演算回路の出力が
供給され、少なくとも前記定形データの最小単位の繰返
し数と同じ段数の第2のシフトレジスタと、前記第2の
シフトレジスタに格納された所定の各段のデータが全て
同じ値か否かを判別した出力を得る第2の演算回路とを
備えるものである。[Structure of the Invention] (Means for Solving the Problems) This invention provides a first input terminal in which fixed data repeatedly sent in a predetermined pattern is supplied to an input terminal, and which stores at least the minimum unit of the repetition period. and this first register.
Discrimination data that determines whether the data pattern stored in the register is a predetermined pattern is set to 0 or 1.
a first arithmetic circuit that outputs a value; a second shift register to which the output of the arithmetic circuit is supplied and whose number of stages is at least the same as the number of repetitions of the minimum unit of the fixed form data; and a second shift register that is stored in the second shift register. and a second arithmetic circuit that obtains an output that determines whether or not the data in each predetermined stage are all the same value.
(作用)
上記の手段により、最小単位のパターンは前段の第1の
シフトレジスタと第1の演算回路で検出され、各最小単
位のパターンが全て同じで有ったか否かは後段の第2の
シフトレジスタと第2の演算回路で検出される。従って
、初段部は最小パターンを検出するだけのビット処理で
よく、また後段部は少なくとも繰返し回数分のビットの
演算処理で良いことになり、従来に比べて格段と構成素
子数が低減されることになる。(Function) With the above means, the minimum unit pattern is detected by the first shift register and the first arithmetic circuit in the previous stage, and whether or not the patterns of each minimum unit are all the same is detected by the second stage in the subsequent stage. It is detected by the shift register and the second arithmetic circuit. Therefore, the first stage only needs to perform bit processing to detect the minimum pattern, and the second stage only needs to perform arithmetic processing on at least as many bits as the number of repetitions, making it possible to significantly reduce the number of components compared to the conventional method. become.
(実施例) 以下この発明の実施例を図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.
第1図はこの発明の一実施例であり、入力端子11には
、文字多重信号が重畳される水平ラインの信号が、前段
でアナログデジタル変換され供給される。この信号は、
定形データ例えばクロックランイン信号繰返し周期の少
なくとも1周期(最小単位)分のビット段数を有したシ
フトレジスタ12に供給される。このシフトレジスタ1
2の各ビットは、演算回路13に導かれる。この演算回
路13は、最小単位のパターンが所定のパターンである
ことを検出すると、“0”を出力しそれ以外であると“
1“を出力する。FIG. 1 shows an embodiment of the present invention, in which a horizontal line signal on which a character multiplex signal is superimposed is supplied to an input terminal 11 after being analog-to-digital converted at a previous stage. This signal is
For example, the fixed data is supplied to a shift register 12 having a number of bit stages corresponding to at least one period (minimum unit) of the clock run-in signal repetition period. This shift register 1
Each bit of 2 is led to an arithmetic circuit 13. When this arithmetic circuit 13 detects that the minimum unit pattern is a predetermined pattern, it outputs "0"; otherwise, it outputs "0".
Outputs 1".
上記演算回路13の出力は、定形データの連続繰返し回
数と同じ段数のシフトレジスタ14に供給される。この
シフトレジスタ14の各ビット出力は、演算回路15に
供給される。この演算回路15は、シフトレジスタ14
の各ビットが全て同じ値“1”であるときのみ、“1″
を出力し、クロックランイン信号が検出されたことを判
別出力として出力端子16に導出する。これ以外のとき
は“0“を出力する。The output of the arithmetic circuit 13 is supplied to a shift register 14 having the same number of stages as the number of consecutive repetitions of the regular data. Each bit output of this shift register 14 is supplied to an arithmetic circuit 15. This arithmetic circuit 15 includes a shift register 14
"1" only when each bit of is the same value "1"
The detection of the clock run-in signal is outputted to the output terminal 16 as a determination output. In other cases, "0" is output.
従って上記の検出回路によれば、従来のようにクロック
ランイン信号の全ビットを一旦レジスタに格納して全て
を演算回路で判別する必要がなく、構成を格段と簡単に
することができる。Therefore, according to the above-mentioned detection circuit, there is no need to temporarily store all bits of the clock run-in signal in a register and discriminate them all by an arithmetic circuit as in the conventional case, and the configuration can be significantly simplified.
第2図は第1図の回路を更に具体的に示した例である。FIG. 2 is an example showing the circuit of FIG. 1 in more detail.
従って対応する部分には同じ符号を付している。前段の
シフトレジスタ12は例えば4段であり、後段のシフト
レジスタ14は13段のものを示している。定形データ
としては0101を4回繰返すものを想定している。演
算回路13は、シフトレジスタ12の各ビットに1つお
きに接続されたインバータINI 、IN2と、これら
インバータIN1、IN2の出力と残りのビットの出力
が導入されるナンド回路NANDから構成されている。Therefore, corresponding parts are given the same reference numerals. The shift register 12 at the front stage has, for example, four stages, and the shift register 14 at the rear stage has thirteen stages. The fixed form data is assumed to be 0101 repeated four times. The arithmetic circuit 13 is composed of inverters INI and IN2 connected every other bit to each bit of the shift register 12, and a NAND circuit NAND into which the outputs of these inverters IN1 and IN2 and the outputs of the remaining bits are introduced. .
また演算回路15は、シフトレジスタ14の所定ビット
つまり、4回の周期に対応するビットが導入されるオア
回路01?により構成されている。このように構成され
た検出回路によれば、4ビツトを1周期として4周期の
定形データのパターンが判別され、このパターンが所定
のパターン(0101・・・の繰返し)であれば、出力
端子16から“O“の出力が得られ、これ以外であれば
“1゛の出力が得られる。In addition, the arithmetic circuit 15 operates in an OR circuit 01? into which a predetermined bit of the shift register 14, that is, a bit corresponding to four cycles, is introduced. It is made up of. According to the detection circuit configured in this way, a pattern of 4 cycles of regular data with 4 bits as one cycle is determined, and if this pattern is a predetermined pattern (repetition of 0101...), the output terminal 16 is determined. An output of "O" is obtained from this, and an output of "1" is obtained for other cases.
第2図の回路において、素子数を最小にする条件を考え
てみる。Let us consider the conditions for minimizing the number of elements in the circuit shown in FIG.
まず0101のパターンを4回判定するためには、前段
シフトレジスタの段数をn段、後段シフトレジスタの出
力線をm本とすると
n Xm−16
演算部の素子数を計算すると次のようになる。素子数を
Mとすると
M −(nX2) + (n/2 X2) +(mX2
) +2−3n+2m+2
一3n+ (32/n) +2
Mを最小とするnは正の偶数でなければならないから、
これを考慮すると、
n−4となり、これが最小の素子数で実現できる値とな
る。従来の第4図の回路によると素子数58を必要とし
たのに対して本発明によると22素子つまり半分以下の
素子数で実現可能である。なお素子数の計算には次の値
を用いた、
ナンド回路・・・入力数×2、インバータ・・・2、ア
ンド回路、オア回路・・・入力数×2+2、シフトレジ
スタ・・・段数×10゜
[発明の効果]
以上説明したようにこの発明によると、定形のデータを
簡単な(1カ成で検出できる定形データ検出回路を提9
%することができる。First, in order to judge the 0101 pattern four times, if the number of stages of the front stage shift register is n stages and the number of output lines of the rear stage shift register is m, then n Xm-16 Calculating the number of elements in the operation section is as follows . If the number of elements is M, then M − (nX2) + (n/2 X2) + (mX2
) +2-3n+2m+2 -3n+ (32/n) +2 Since n must be a positive even number to minimize M,
Considering this, it becomes n-4, which is the value that can be realized with the minimum number of elements. While the conventional circuit shown in FIG. 4 requires 58 elements, the present invention can be realized with 22 elements, that is, less than half the number of elements. The following values were used to calculate the number of elements: NAND circuit...number of inputs x 2, inverter...2, AND circuit, OR circuit...number of inputs x 2+2, shift register...number of stages x 10゜[Effect of the Invention] As explained above, according to the present invention, a fixed-form data detection circuit that can detect fixed-form data in a simple manner (with one component) is proposed.
%can do.
第1図はこの発明の一実施例を示す回路図、第2図は第
1図の回路の具体例を示す回路図、第3図は従来のクロ
ックランイン信号検出回路を示す図、第4図は第3図の
回路の具体例を示す回路図である。
12.14・・・シフトレジスタ、13.15・・・演
算回路。
第2図 16″FIG. 1 is a circuit diagram showing an embodiment of the present invention, FIG. 2 is a circuit diagram showing a specific example of the circuit in FIG. 1, FIG. 3 is a diagram showing a conventional clock run-in signal detection circuit, and FIG. The figure is a circuit diagram showing a specific example of the circuit of FIG. 3. 12.14...Shift register, 13.15...Arithmetic circuit. Figure 2 16″
Claims (1)
力端子に供給され、少なくとも前記繰返し周期の最小単
位を格納する第1のレジスタと、この第1のレジスタに
格納されたデータパターンが所定のパターンであるか否
かを判別した判別データを0または1の2値で出力する
第1の演算回路と、 前記演算回路の出力が供給され、少なくとも前記定形デ
ータの最小単位の繰返し数と同じ段数の第2のシフトレ
ジスタと、 前記第2のシフトレジスタに格納された所定段のデータ
が全て同じ値か否かを判別した出力を得る第2の演算回
路とを具備したことを特徴とする定形データ検出回路。[Claims] Fixed-form data that is repeatedly sent in a predetermined pattern is supplied to an input terminal, and includes a first register that stores at least the minimum unit of the repetition period; a first arithmetic circuit that outputs discrimination data that determines whether or not the data pattern is a predetermined pattern as a binary value of 0 or 1; and an output of the arithmetic circuit is supplied, and at least the minimum unit of the fixed data A second shift register having the same number of stages as the number of repetitions, and a second arithmetic circuit that obtains an output that determines whether data in a predetermined stage stored in the second shift register are all the same value. A fixed-form data detection circuit featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62133753A JPS63299545A (en) | 1987-05-29 | 1987-05-29 | Routine data detecting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62133753A JPS63299545A (en) | 1987-05-29 | 1987-05-29 | Routine data detecting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63299545A true JPS63299545A (en) | 1988-12-07 |
Family
ID=15112134
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62133753A Pending JPS63299545A (en) | 1987-05-29 | 1987-05-29 | Routine data detecting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63299545A (en) |
-
1987
- 1987-05-29 JP JP62133753A patent/JPS63299545A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2947074B2 (en) | Frame synchronization detection circuit | |
| JPS63299545A (en) | Routine data detecting circuit | |
| KR970072768A (en) | Synchronization Detection Circuit and Method Using Variable Reference Value for Comparison with Mismatch Count | |
| EP0176099A2 (en) | Method and apparatus for error correction | |
| JP2707778B2 (en) | Noise removal circuit | |
| JPH0685775A (en) | Detection circuit of synchronizing signal for reception of digital signal | |
| KR100244745B1 (en) | Sync word detection circuit | |
| JP2002026885A (en) | Synchronous pattern position detection circuit | |
| JP2747331B2 (en) | Digital video signal processing circuit | |
| KR940006563Y1 (en) | Teletext byte sync signal detection circuit | |
| JPS5925416A (en) | Waiting circuit | |
| JP2959303B2 (en) | Arithmetic circuit | |
| JPS61158232A (en) | Sequential preamble signal detecting circuit | |
| SU781807A1 (en) | Binary number comparing device | |
| KR100215461B1 (en) | Synchronous signal detection device and method | |
| JPS62122434A (en) | Frame signal synchronization detection circuit | |
| KR0161374B1 (en) | Digital maximum value detection circuit | |
| JP2957250B2 (en) | Pilot pattern inspection circuit | |
| JPH088563B2 (en) | Protection stage number counting circuit | |
| JPH0352711B2 (en) | ||
| JPS6141426B2 (en) | ||
| JPH0317257B2 (en) | ||
| JPH03132164A (en) | Synchronous separation circuit | |
| JPS6158349A (en) | Frame synchronization circuit | |
| JPH0454744A (en) | Signaling detector |