JPH0332251B2 - - Google Patents
Info
- Publication number
- JPH0332251B2 JPH0332251B2 JP60266537A JP26653785A JPH0332251B2 JP H0332251 B2 JPH0332251 B2 JP H0332251B2 JP 60266537 A JP60266537 A JP 60266537A JP 26653785 A JP26653785 A JP 26653785A JP H0332251 B2 JPH0332251 B2 JP H0332251B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- flip
- flop
- pulse
- frame synchronization
- 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 - Lifetime
Links
- 230000003111 delayed effect Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Time-Division Multiplex Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明はデイジタル伝送においてフレームの検
出を行う装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a device for detecting frames in digital transmission.
従来の技術
従来のフレーム検出装置としては、例えばナシ
ヨナルテクニカルレポート“高品質映像信号
PCM光伝送装置”(中田裕章他、National
Tech.Rept.29、No.5、p.38〜45(1983))がある。Conventional technology As a conventional frame detection device, for example, the National Technical Report “High Quality Video Signal
PCM optical transmission equipment” (Hiroaki Nakata et al., National
Tech. Rept. 29, No. 5, p. 38-45 (1983)).
第3図は前記装置を簡略化し、8ビツトごとの
“1”、“0”の交番パターンをフレーム信号とす
るデータ信号のフレーム検出装置のブロツク図を
示すものであり、1は入力データ信号、2はクロ
ツク信号であり、周波数は入力データ信号1の伝
送速度と同じである。3はクロツク信号2を8分
周する分周部、4は分周部3の出力でクロツク信
号2を8分周したフレーム同期パルスである。5
と7はDフリツプフロツプ(以下D−FFとする)
で、D−FF5とD−FF7は2段のシフトレジス
タを構成しており、6と8はD−FF5とD−FF
7のそれぞれの出力のD−FF出力である。9は
D−FF出力6とD−FF出力8が“1”と“0”
または“0”と“1”であるかどうかでフレーム
信号かどうか判別し、フレーム同期状態にない場
合分周部3へハンテイングパルス10を出力し、
フレーム同期パルス4の幅をクロツク信号2の1
周期分だけ大きくする同期判別部である。 FIG. 3 is a block diagram of a data signal frame detection device which simplifies the device and uses an alternating pattern of “1” and “0” every 8 bits as a frame signal, where 1 is an input data signal; 2 is a clock signal whose frequency is the same as the transmission speed of input data signal 1; Reference numeral 3 designates a frequency dividing section which divides the frequency of the clock signal 2 by eight, and reference numeral 4 designates a frame synchronization pulse which is the output of the frequency dividing section 3 and which divides the frequency of the clock signal 2 by eight. 5
and 7 are D flip-flops (hereinafter referred to as D-FF)
D-FF5 and D-FF7 constitute a two-stage shift register, and 6 and 8 are D-FF5 and D-FF.
7 is the D-FF output of each output. 9 is D-FF output 6 and D-FF output 8 “1” and “0”
Or it determines whether it is a frame signal based on whether it is "0" or "1", and if it is not in a frame synchronization state, it outputs a hunting pulse 10 to the frequency divider 3,
Set the width of frame synchronization pulse 4 to 1 of clock signal 2.
This is a synchronization determination unit that increases the number by the period.
第4図は第3図のブロツク図の各部の信号波形
を示すタイムチヤート図であり、aは入力データ
信号1でF1〜F4はフレーム同期用ビツトで8ビ
ツトごとに“1”、“0”の交番パターンとなつて
いる。A1、A2はフレーム同期用ビツトF1、F2の
1ビツト前のデータを表わす。bはフレーム同期
パルス4、cはハンテイングパルス10、d、e
はそれぞれD−FF出力6とD−FF出力8であ
り、A1、A2、F3、F4はaにおけるデータと対応
している。 FIG . 4 is a time chart showing the signal waveforms of each part of the block diagram of FIG. 0" in an alternating pattern. A 1 and A 2 represent data one bit before frame synchronization bits F 1 and F 2 . b is frame synchronization pulse 4, c is hunting pulse 10, d, e
are D-FF output 6 and D-FF output 8, respectively, and A 1 , A 2 , F 3 , and F 4 correspond to the data in a.
以上のように構成された従来のフレーム検出装
置においては、分周部3でクロツク信号2を8分
周したフレーム同期パルス4で、入力データ信号
1の8ビツトごとのデータをD−FF5に取り込
み、同時にD−FF出力6をD−FF7へシフトす
る。同期判定部9はD−FF出力6とD−FF出力
7とから同期状態にあるかどうか判定し、必要な
時にハンテイングパルス10を出力する。分周部
3はハンテイングパルス10を入力するとクロツ
ク信号2の分周を1周期分停止することにより、
フレーム同期パルス4の幅をクロツク信号2の1
周期分大きくし、D−FF5が取り込んだデータ
の9ビツト後のデータをD−FF5が次に取り込
めるよう動作する。以上の動作を繰り返すことに
よりフレームを検出する。第4図はフレームを検
出する時のタイムチヤートを示しており、aのデ
ータA2を取り込み、dのA2とeのA1から同期状
態にないと判定して、ハンテイングパルスが発生
している。そしてaのフレーム同期用ビツトF3
を取り込み、次のフレーム同期パルスでaのフレ
ーム同期用ビツトF4を取り込み、dのF4とeの
F3から同期状態になつたと判定し、フレームが
検出される。 In the conventional frame detection device configured as described above, data of every 8 bits of the input data signal 1 is captured into the D-FF 5 using the frame synchronization pulse 4 obtained by dividing the frequency of the clock signal 2 by 8 in the frequency divider 3. , simultaneously shifts D-FF output 6 to D-FF 7. A synchronization determination section 9 determines whether or not the synchronization state is present based on the D-FF output 6 and the D-FF output 7, and outputs a hunting pulse 10 when necessary. When the frequency dividing unit 3 receives the hunting pulse 10, it stops dividing the clock signal 2 by one period.
Set the width of frame synchronization pulse 4 to 1 of clock signal 2.
It operates so that the D-FF5 can next take in data 9 bits after the data taken in by the D-FF5. Frames are detected by repeating the above operations. Figure 4 shows a time chart when detecting a frame. Data A 2 of a is taken in, and it is determined that they are not in synchronization based on A 2 of d and A 1 of e, and a hunting pulse is generated. ing. and frame synchronization bit F 3 of a.
The frame synchronization bit F4 of a is fetched with the next frame synchronization pulse, and the F4 of d and the bit F4 of e are fetched.
It is determined that synchronization has been achieved from F3 , and a frame is detected.
発明が解決しようとする問題点
しかしながら上記のような構成では、ハンテイ
ングパルス10が発生し、1ビツト取り込むデー
タをずらしても、第4図のdのF3とeのA2のよ
うに両者がフレーム同期用ビツトになつておら
ず、フレーム同期パルス4の1周期後まで、両者
はフレーム同期ビツトにならない。したがつてハ
ンテイングパルス10を発生すると次のフレーム
同期パルス4の1周期の間はハンテイングパルス
10を発生しないよう制御しなければならない。
それだけフレーム検出に時間がかかるという問題
点があつた。Problems to be Solved by the Invention However, in the above configuration, even if the hunting pulse 10 is generated and the data to be captured is shifted by 1 bit, both of them will be different as shown in F 3 in d and A 2 in e in Fig. 4. has not become a frame synchronization bit, and both do not become frame synchronization bits until one period after the frame synchronization pulse 4. Therefore, once the hunting pulse 10 is generated, control must be performed so that the hunting pulse 10 is not generated during one cycle of the next frame synchronization pulse 4.
The problem was that it took a long time to detect the frame.
本発明はかかる点に鑑みてなされたもので、簡
易な構成でフレーム検出時間が短かくなるフレー
ム検出装置を提供することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a frame detection device having a simple configuration and shortening the frame detection time.
問題点を解決するための手段
本発明は上記問題点を解決するため、第2のシ
フトレジスタを設け、第2のシフトレジスタに第
1のシフトレジスタが取り込む入力データ信号の
1ビツト後のデータを取り込んでおき、ハンテイ
ングパルスが発生すると同時に第2のシフトレジ
スタのデータを第1のシフトレジスタにロードす
ることにより、早くフレームを検出するものであ
る。Means for Solving the Problems In order to solve the above problems, the present invention provides a second shift register, and stores data one bit after the input data signal taken in by the first shift register into the second shift register. The frame is detected quickly by loading the data in the second shift register into the first shift register at the same time as the hunting pulse is generated.
作 用
本発明は前記した構成により、ハンテイングパ
ルスが発生すると同時に第2のシフトレジスタの
データが第1のシフトレジスタにロードされるの
で、ロードされた瞬間から第2のシフトレジスタ
のデータは判定すべきものになつているのでフレ
ーム同期用ビツトが早く検出され、それだけフレ
ーム検出の時間が短くなる。Effects According to the present invention, with the above-described configuration, the data of the second shift register is loaded into the first shift register at the same time as the hunting pulse is generated, so that the data of the second shift register is determined from the moment it is loaded. Since the frame synchronization bit is detected quickly, the frame detection time becomes shorter.
実施例
第1図は本発明のフレーム検出装置の一実施例
を示すブロツク図である。本実施例においては従
来例と同様に入力データ信号は8ビツトごとの
“1”、“0”の交番パターンのフレーム信号を有
していると仮定する。複雑なフレーム信号を有す
る信号に対しても同様のフレーム検出装置が構成
できる。なお、第1図において第3図と共通する
素子については同一番号を符す。Embodiment FIG. 1 is a block diagram showing an embodiment of the frame detection device of the present invention. In this embodiment, as in the conventional example, it is assumed that the input data signal has a frame signal with an alternating pattern of "1" and "0" every 8 bits. A similar frame detection device can be configured for signals having complex frame signals. Note that elements in FIG. 1 that are common to those in FIG. 3 are designated by the same numbers.
13はクロツク信号2を8分周する分周部、1
4は分周部13の出力でフレーム同期パルス4よ
りクロツク信号2の1周期だけ遅延した遅延フレ
ーム同期パルス、15はD−FF、16はD−FF
15の出力のD−FF出力、21はD−FF出力6
とD−FF出力16のいずれかを制御信号22に
より選択してD−FF7へ出力する切換部、19
はD−FF出力6とD−FF出力8が“1”と
“0”または“0”と“1”であるかどうかでフ
レーム信号かどうか判別し、フレーム同期状態に
ない場合分周部3へハンテイングパルス10を出
力すると同時に切換部21がD−FF出力16を
選択するよう制御信号22を出力する同期判別部
である。他の番号で従来例の第3図と同じものは
同一のものである。 13 is a frequency dividing unit that divides the clock signal 2 by 8;
4 is the output of the frequency divider 13 and is a delayed frame synchronization pulse delayed by one cycle of clock signal 2 from frame synchronization pulse 4, 15 is D-FF, and 16 is D-FF.
15 is the D-FF output, 21 is the D-FF output 6
a switching unit 19 that selects either of the D-FF output 16 and the D-FF output 16 according to the control signal 22 and outputs the selected one to the D-FF 7;
determines whether the D-FF output 6 and D-FF output 8 are “1” and “0” or “0” and “1” as frame signals, and if they are not in frame synchronization state, the frequency divider 3 It is a synchronization determination section that outputs a control signal 22 so that the switching section 21 selects the D-FF output 16 at the same time as outputting the hunting pulse 10. Other numbers that are the same as those in FIG. 3 of the conventional example are the same.
第2図は第1図のブロツク図の各部の信号波形
を示すタイムチヤート図であり、fは第4図のa
と同じ入力データ信号であり、B1〜B4はフレー
ム同期用ビツトF1〜F4の1ビツト後のデータを
表わす。gはフレーム同期パルス4、hは遅延フ
レーム同期パルス14、iはハンテイングパルス
10、j、k、lはそれぞれD−FF出力6とD
−FF出力16とD−FF出力8であり、それぞれ
におけるA1、A2、F1、F2、F3、F4、B3、B4はf
におけるデータと対応している。 FIG. 2 is a time chart showing signal waveforms at each part of the block diagram in FIG. 1, and f is a in FIG. 4.
is the same input data signal as , and B 1 to B 4 represent data one bit after frame synchronization bits F 1 to F 4 . g is frame sync pulse 4, h is delayed frame sync pulse 14, i is hunting pulse 10, j, k, l are D-FF output 6 and D, respectively.
-FF output 16 and D-FF output 8, A 1 , A 2 , F 1 , F 2 , F 3 , F 4 , B 3 , B 4 in each are f
This corresponds to the data in .
以上のように構成された本実施例のフレーム検
出装置について、以下その動作を説明する。 The operation of the frame detection device of this embodiment configured as described above will be described below.
分周部13でクロツク信号2を8分周したフレ
ーム同期パルス4で、入力データ信号1の8ビツ
トごとのデータはD−FF5に取り込まれ、一方
遅延フレーム同期パルスで、該データの次のビツ
トのデータがD−FF15に取り込まれる。D−
FF7へはD−FF出力6またはD−FF出力16
のいずれかが切換部21により選択され入力され
る。同期判定部19はD−FF出力6とD−FF出
力8とから同期状態にあるかどうか判定し、必要
な時にハンテイングパルス10を出力すると同時
に切換部21がD−FF出力16を選択するよう
制御信号22を出力する。ハンテイングパルス1
0が出力されたことにより、分周部13はクロツ
ク信号2の1周期分だけ分周を停止することによ
り、フレーム同期パルス4及び遅延フレーム同期
パルス14の幅をクロツク信号2の1周期分大き
くし、D−FF5が取り込んだデータの9ビツト
後のデータをD−FF5が次に取り込めるよう動
作する。また切換部21が動作することによりD
−FF出力16がD−FF7へ取り込まれる。以上
の動作を繰り返すことによりフレームを検出す
る。第2図はフレームを検出する時のタイムチヤ
ートを示しており、aのデータA2が取り込まれ
た時点でjのA2とlのA1とから同期状態にない
と判定され、ハンテイングパルスが発生してい
る。ハンテイングパルスが発生すると同時に切換
部21がD−FF16(第4図ではk)を選択す
るのでハンテイングパルスが発生したすぐ後のフ
レーム同期パルスの立上りでD−FF5へはデー
タF3がD−FF7へはデータF2がとりこまれるの
で、同期判定部19はその時点ですぐにjのF3
とlのF2から同期状態になつたと判定でき、早
くフレームが検出できる。 With the frame synchronization pulse 4, which is obtained by dividing the frequency of the clock signal 2 by 8 in the frequency divider 13, the data of every 8 bits of the input data signal 1 is taken into the D-FF5, and on the other hand, with the delayed frame synchronization pulse, the next bit of the data is taken into the D-FF5. The data is taken into the D-FF 15. D-
D-FF output 6 or D-FF output 16 to FF7
One of them is selected and inputted by the switching section 21. A synchronization determination section 19 determines whether or not they are in a synchronized state from the D-FF output 6 and the D-FF output 8, outputs a hunting pulse 10 when necessary, and at the same time, a switching section 21 selects the D-FF output 16. A control signal 22 is output as shown in FIG. hunting pulse 1
0 is output, the frequency divider 13 stops frequency division by one period of the clock signal 2, thereby increasing the width of the frame synchronization pulse 4 and the delayed frame synchronization pulse 14 by one period of the clock signal 2. However, the D-FF5 operates so that the data 9 bits after the data taken in by the D-FF5 can be taken in next. Also, by operating the switching section 21, D
-FF output 16 is taken into D-FF7. Frames are detected by repeating the above operations. Figure 2 shows a time chart when detecting a frame, and when the data A 2 of a is captured, it is determined that they are not in synchronization from A 2 of j and A 1 of l, and the hunting pulse is occurring. The switching unit 21 selects D-FF16 (k in FIG. 4) at the same time that the hunting pulse is generated, so data F3 is transferred to D-FF5 at the rising edge of the frame synchronization pulse immediately after the hunting pulse is generated. - Since data F 2 is taken into FF7, the synchronization determination unit 19 immediately reads F 3 of j at that point.
It can be determined that synchronization has been achieved from F 2 of and l, and frames can be detected quickly.
発明の効果
以上説明したように、本発明によれば、きわめ
て簡易な構成で、フレームがより早く検出でき、
実用的にきわめて有用である。Effects of the Invention As explained above, according to the present invention, frames can be detected more quickly with an extremely simple configuration.
It is extremely useful in practical terms.
第1図は本発明の一実施例におけるフレーム検
出装置のブロツク図、第2図は第1図における装
置各部の信号波形を示すタイムチヤート、第3図
は従来のフレーム検出装置のブロツク図、第4図
は第2図における装置各部の信号波形を示すタイ
ムチヤートである。
1……入力データ信号、2……クロツク信号、
3……分周部、4……フレーム同期パルス、5,
7,15……Dフリツプフロツプ、6,8,16
……Dフリツプフロツプ出力、9……同期判定
部、10……ハンテイングパルス、13……分周
部、14…遅延フレーム同期パルス、19……同
期判定部、21……切換部、22……制御信号。
FIG. 1 is a block diagram of a frame detection device according to an embodiment of the present invention, FIG. 2 is a time chart showing signal waveforms of each part of the device in FIG. 1, and FIG. 3 is a block diagram of a conventional frame detection device. FIG. 4 is a time chart showing signal waveforms of various parts of the device in FIG. 1...Input data signal, 2...Clock signal,
3...Frequency dividing section, 4...Frame synchronization pulse, 5,
7, 15...D flip-flop, 6, 8, 16
. . . D flip-flop output, 9 . Control signal.
Claims (1)
力データ信号の伝送速度と同じ周波数のクロツク
信号を分周し、前記フレーム同期用ビツトの周期
に対応した周波数で第2のフレーム同期パルスが
第1のフレーム同期パルスより前記入力データ信
号の一周期だけ遅延している2種のフレーム同期
パルスを発生し、ハンテイングパルスを入力する
と前記2種のフレーム同期パルスの周期を前記入
力データ信号の一周期だけ長くする分周部と、前
記入力データ信号を前記第1フレーム同期パルス
でラツチする第1のDフリツプフロツプと、前記
第1のDフリツプフロツプでラツチされる前記入
力データ信号のビツトの次のビツトを前記第2の
フレーム同期パルスでラツチする第2のDフリツ
プフロツプと、前記第1のDフリツプフロツプの
出力と前記第2のDフリツプフロツプの出力のい
ずれかを選択し、切り換えて出力する切換部と、
前記切換部の出力を前記第1フレーム同期パルス
でラツチする第3のDフリツプフロツプと、前記
第1のDフリツプフロツプの出力と前記第3のD
フリツプフロツプの出力から同期状態にあるかど
うかを判定し、同期状態にない場合、必要なだけ
前記ハンテイングパルスを前記分周部へ出力する
と共に、前記切換部が前記第2のDフリツプフロ
ツプの出力を選択し、前記第3のDフリツプフロ
ツプへ出力するように前記切換部を制御する信号
を出力する同期判定部とからなることを特徴とす
るフレーム検出装置。1. A clock signal having the same frequency as the transmission rate of the input data signal having 2 frame synchronization bits is divided, and a second frame synchronization pulse is generated at a frequency corresponding to the period of the frame synchronization bits in the first frame. Two types of frame synchronization pulses are generated that are delayed by one period of the input data signal from the synchronization pulse, and when a hunting pulse is input, the periods of the two types of frame synchronization pulses are lengthened by one period of the input data signal. a first D flip-flop that latches the input data signal with the first frame synchronization pulse; and a first D flip-flop that latches the input data signal with the first frame sync pulse; a second D flip-flop that latches with two frame synchronization pulses; a switching section that selects and outputs either the output of the first D flip-flop or the output of the second D flip-flop;
a third D flip-flop that latches the output of the switching section with the first frame synchronization pulse;
It is determined from the output of the flip-flop whether the flip-flop is in a synchronized state, and if the flip-flop is not in a synchronized state, the hunting pulse is outputted to the frequency dividing section as necessary, and the switching section outputs the output of the second D flip-flop. and a synchronization determination section that outputs a signal for controlling the switching section to select and output to the third D flip-flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60266537A JPS62126732A (en) | 1985-11-27 | 1985-11-27 | Frame detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60266537A JPS62126732A (en) | 1985-11-27 | 1985-11-27 | Frame detection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62126732A JPS62126732A (en) | 1987-06-09 |
| JPH0332251B2 true JPH0332251B2 (en) | 1991-05-10 |
Family
ID=17432240
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60266537A Granted JPS62126732A (en) | 1985-11-27 | 1985-11-27 | Frame detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62126732A (en) |
-
1985
- 1985-11-27 JP JP60266537A patent/JPS62126732A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62126732A (en) | 1987-06-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3467975B2 (en) | Phase detection circuit | |
| US4119910A (en) | Method and apparatus for detecting whether phase difference between two signals is constant | |
| JPH0614758B2 (en) | Video signal processing method | |
| JPH0332251B2 (en) | ||
| KR950002722B1 (en) | Serial-parallel changing device | |
| US4689665A (en) | Gated control circuit | |
| US4741005A (en) | Counter circuit having flip-flops for synchronizing carry signals between stages | |
| JPH0370314A (en) | Clock interrupt detection circuit | |
| JP2723078B2 (en) | Asynchronous data transmission circuit | |
| JPS6253539A (en) | Frame synchronizing system | |
| JPH01194709A (en) | Phase discrimination circuit | |
| JPH03255743A (en) | Bit synchronizing circuit | |
| SU1594701A1 (en) | Manchester code decoder | |
| JPH0435093B2 (en) | ||
| JPH01188050A (en) | Timing system | |
| JPS6225579A (en) | Synchronizing signal detecting circuit | |
| JPH05153079A (en) | Stuff control circuit | |
| JPS6245240A (en) | Digital signal synchronization circuit | |
| JPH0556699B2 (en) | ||
| JPS61101139A (en) | Synchronizing signal detector | |
| JPH01261946A (en) | Pull-in circuit | |
| JPS5896327A (en) | Interface circuit | |
| JPS63111513A (en) | Digital phase locked loop circuit | |
| JPH04117773A (en) | Synchronizing signal reproducing device for television signal | |
| JPH02180442A (en) | Multiplex synchronizing circuit |