JPH0481030A - Frame synchronizing circuit - Google Patents
Frame synchronizing circuitInfo
- Publication number
- JPH0481030A JPH0481030A JP2192666A JP19266690A JPH0481030A JP H0481030 A JPH0481030 A JP H0481030A JP 2192666 A JP2192666 A JP 2192666A JP 19266690 A JP19266690 A JP 19266690A JP H0481030 A JPH0481030 A JP H0481030A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- counter
- synchronization
- signal
- state
- 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
- Time-Division Multiplex Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、シリアル入力信号に一定間隔で挿入された
フレーム同期パターンの検出を行いフレームの同期をと
るためのフレーム同期回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a frame synchronization circuit for synchronizing frames by detecting frame synchronization patterns inserted at regular intervals in a serial input signal.
第4図は、「ディジタル通信技術」田中公男著東海大学
出版会に示された構成に基づ(従来の1ビット即時シフ
ト方式のフレーム同期回路の回路図を示すものであり、
第5図はそのタイミングチャートである。図において、
1は外部の処理装置などから入力される入力データ、3
は入力データI中の同期ビットパターンを検出するフレ
ームパターン検出部、4はフレーム及びマルチフレーム
をカウントするフレームカウンタ、5はフレームカウン
タ4より出力されフレーム毎にアクティブとなるフレー
ム信号、7は入力データ1の基準となる入力クロソク信
号、9はゲート信号29によりコントロールされ1こカ
ウンタクロック信号である。11はフレームパターン検
出部3がフレーム同期パターンを検出した時アクティブ
となるフレームパターン検出信号、13はフレームカウ
ンタ4より出力されマルチフレーム毎にアクティブとな
るマルチフレーム信号、15はマルチフレーム信号13
がアクティブとなった時とフレームパターン検出信号1
1との位相が一致した場合アクティブとなる一致信号、
17はマルチフレーム信号13がアクティブになった時
とフレームパターン検出信号11との位相が一致しない
場合アクティブとなる不一致信号である。19は1回の
不一致信号17で同期はずれアラーム信号27をセット
せず保護の段数骨だけカウントする前方保護カウンタ、
21は1回の一致信号15で同期;よずr、アラム信号
27をリセットせず保護の段数骨たけカウントする後方
保護カウンタ、23は保護の段数骨だけ不一致信号17
が出力された時前方保護カウンタ19より出力されるア
ラームセント信号である。25は保護の段数骨だけ一致
信号15か出力された時後方保護カウンタ21より出力
されるアラームリセット信号、27はアラームセ5・ト
信号23によりアクティブになりアラームリセット信号
25によりノンアクティブとなる同期はすれアラーム信
号、29は同期はずれアラーム信号27がアクティブす
なわち同期はずれ時でかつ不一致信号17がアクティブ
となった時入力り口。Figure 4 shows a circuit diagram of a conventional 1-bit instant shift frame synchronization circuit based on the configuration shown in "Digital Communication Technology" by Kimio Tanaka, Tokai University Press.
FIG. 5 is a timing chart thereof. In the figure,
1 is input data input from an external processing device, etc.; 3
4 is a frame counter that counts frames and multi-frames; 5 is a frame signal that is output from the frame counter 4 and becomes active for each frame; 7 is input data 1 is a reference input clock signal, and 9 is a 1 counter clock signal controlled by a gate signal 29. 11 is a frame pattern detection signal that becomes active when the frame pattern detection unit 3 detects a frame synchronization pattern; 13 is a multi-frame signal that is output from the frame counter 4 and becomes active for each multi-frame; 15 is a multi-frame signal 13
becomes active and frame pattern detection signal 1
A match signal that becomes active when the phase matches with 1,
Reference numeral 17 denotes a mismatch signal that becomes active when the phases of the multi-frame signal 13 and the frame pattern detection signal 11 do not match. 19 is a forward protection counter that counts only the number of protection steps without setting the out-of-synchronization alarm signal 27 in response to one mismatch signal 17;
21 is synchronized with one coincidence signal 15; Yozur, rear protection counter that counts the number of protection stages without resetting the alarm signal 27, 23 is a mismatch signal 17 for the number of protection stages.
This is an alarm cent signal output from the forward protection counter 19 when the forward protection counter 19 is output. 25 is an alarm reset signal that is output from the rear protection counter 21 when the match signal 15 is output for the number of protection stages, and 27 is a synchronization signal that is activated by the alarm set signal 23 and deactivated by the alarm reset signal 25. A slip alarm signal 29 is an input port when the synchronization alarm signal 27 is active, that is, when the synchronization is lost and the mismatch signal 17 is active.
り信号7にゲートをかけるゲート信号である。This is a gate signal that gates the signal 7.
次に動作について説明する。入力データ1が何も入力さ
れていない状態ではフレームカウンタ4は自走状態とな
っており、不一致信号17がマルチフレーム信号13毎
に出力され後方保護カウンタ21はリセットされつづけ
前方保護カウンタエ9がカウントアツプし、アラームセ
ント信号23を出力し、同期はずれアラーム信号27が
アクティブとなり同期はずれ状態となっている。この状
態ではゲート信号29がマルチフレーム毎に出力されフ
レームカウンタ4はマルチフレーム毎に自分の位相を1
ビツトずつシフトさせハンティング状態となっている。Next, the operation will be explained. When no input data 1 is input, the frame counter 4 is in a free-running state, and the mismatch signal 17 is output for each multi-frame signal 13, the rear protection counter 21 continues to be reset, and the front protection counter 9 continues to count. The alarm signal 23 is output, and the out-of-synchronization alarm signal 27 becomes active, indicating an out-of-synchronization state. In this state, the gate signal 29 is output for each multi-frame, and the frame counter 4 changes its own phase by 1 for each multi-frame.
It is in a hunting state by shifting bits at a time.
この状態より正常な同期ビットパターンを含んだ入力デ
ータ1が入力されつづけると、ハンティング状態とな、
ているフレームカウンタ4の位相が入力データ1の位相
と等しくなる。この状態ではフレームパターン検出信号
11とマルチフレーム信号13との位相が等しくなり不
一致信号17は出力されずに、一致信号15が出力され
る。If input data 1 containing a normal synchronization bit pattern continues to be input from this state, a hunting state will occur.
The phase of the frame counter 4 becomes equal to the phase of the input data 1. In this state, the phases of the frame pattern detection signal 11 and the multi-frame signal 13 are equal, and the mismatch signal 17 is not output, but the match signal 15 is output.
致信号15が出力されると前方保護カウンタ19はリセ
ットされ後方保護カウンタ21がカウントアンプされる
。また不一致信号17が出力されないためゲート信号2
9がアクティブとならないためフレームカウンタ4はそ
のままの位相を保持する。フレームカウンタ4の位相が
そのままでかつ、入力デ〜りl中のフレーム同期パター
ンが正常であればマルチフレーム毎に一致信号15が出
力される。一致信号11が保護膜数分だけ出力されると
、前方保護カウンタ19はリセ・ノドされつづけ後方保
護カウンタ21よりアラームリセット信号25が出力さ
れ、同期はずれアラーム信号27がノンアクティブとな
り同期状態となる。同期状態でかつ入力データ1中のフ
レーム同期パターンか正常であれば常にこの状態を維持
する。以上の動作を第5図中の■の部分に示す。When the match signal 15 is output, the forward protection counter 19 is reset and the backward protection counter 21 is counted and amplified. Also, since the mismatch signal 17 is not output, the gate signal 2
9 is not activated, the frame counter 4 maintains the same phase. If the phase of the frame counter 4 remains unchanged and the frame synchronization pattern in the input data is normal, a coincidence signal 15 is output for each multi-frame. When the coincidence signal 11 is output for the number of protective films, the front protection counter 19 continues to be reset and the alarm reset signal 25 is output from the rear protection counter 21, and the out-of-synchronization alarm signal 27 becomes inactive and a synchronized state is established. . This state is always maintained if it is in a synchronized state and the frame synchronization pattern in input data 1 is normal. The above operation is shown in the section ``■'' in FIG.
次に同期がはずれる過程を説明する。ある所より入力デ
ータ1が来なくなったり、入力データ1中の同期ビット
パターンに異常が発生した場合、次のマルチフレーム信
号13がアクティブとなった時に一致信号15が出力さ
れず不一致信号17が出力される。フレームカウンタ4
は同期はずれアラーム信号27がノンアクティブのため
ゲート信号29は出力されない。すなわち、この位相を
維持する。この状態が保護膜数分続くと不一致信号17
がマルチフレーム毎に連続で出力され後方保護カウンタ
21をリセットしつづけ、前方保護カウンタ19がカウ
ントアツプしアラームセント信号23を出力し同期はず
れアラーム信号27をアクティブとし同期はずれ状態と
なる。上記の動作のタイミンクを第5図の■に示す。従
来のフレーム同期回路ではここで初めてハンティング動
作に入る。参考として第4図のフレーム同期回路二こお
ける短時間障害時のタイミングチャートを第6図に示す
。Next, the process of losing synchronization will be explained. If input data 1 stops coming from a certain point or an abnormality occurs in the synchronization bit pattern in input data 1, when the next multi-frame signal 13 becomes active, the coincidence signal 15 will not be output and a mismatch signal 17 will be output. be done. frame counter 4
Since the out-of-synchronization alarm signal 27 is inactive, the gate signal 29 is not output. That is, this phase is maintained. If this state continues for several minutes with the protective film, a mismatch signal 17
is continuously output for each multi-frame and continues to reset the rear protection counter 21, the forward protection counter 19 counts up, outputs the alarm cent signal 23, and activates the out-of-synchronization alarm signal 27, resulting in an out-of-synchronization state. The timing of the above operation is shown in (■) in FIG. In the conventional frame synchronization circuit, hunting operation is first started at this point. For reference, FIG. 6 shows a timing chart at the time of a short-term failure in the two frame synchronization circuits shown in FIG. 4.
従来のフレーム同期回路は同期はずれ状態の時のみハン
ティングをするよう構成さているので、スリップなどの
原因でフレーム位相がずれ、またすぐ正常にもどってい
るような場合に前方保護膜数分だけ待ってからしかハン
ティングができないという問題点があった。Conventional frame synchronization circuits are configured to hunt only when they are out of synchronization, so if the frame phase is out of sync due to a slip, etc., and it immediately returns to normal, it is necessary to wait a few minutes for the front protective film. The problem was that only crows could hunt.
この発明は上記のような問題点を解消するためになされ
たもので、前方保護の動作を行いつつハンティングがで
きるようにし、再同期時間の短縮化を図れるフレーム同
期回路を得ることを目的とする。This invention was made to solve the above-mentioned problems, and aims to provide a frame synchronization circuit that enables hunting while performing forward protection operations and shortens resynchronization time. .
〔課題を解決するための手段:
この発明に係るフレーム同期回路は、フレーム同期はず
れ時にのみフレーム同期はずれ状態からフレーム同期状
態への移行動作であるハンティングをする第1のフレー
ムカウンタ4と、同期状態に関係なく一瞬でも入力デー
タ中のフレーム位相がずれるとハンティングを開始する
第2のフレームカウンタ33と、同期状態にあるとき入
力されたフレーム同期パターンと予め定めたフレーム同
期パターンとの不一致を検出しても直ちに同期はずれ状
態と判断せずに不一致検出回数が保護の段数を越えた場
合に同期はずれ状態を示す同期はすれ信号を出力する前
方保護カウンタ19と、上記両者の一致を検出しても直
ちに同期状態と判断せずに一致検出回数が保護の段数を
越えた場合に同期状態を示す同期確立信号を出力する後
方保護カウンタ21とを有し、上記前方保護カウンタ1
9からの同期はずれ信号により上記第2のフレームカウ
ンタ33の値を上記第1のフレームカウンタ4ヘロード
し、上記後方保護カウンタ21からの同y、B確立信号
により上記第1のフレームカウンタ4の値を上記第2の
フレームカウンタ33ヘロドするように構成したもので
ある。[Means for Solving the Problems: The frame synchronization circuit according to the present invention includes a first frame counter 4 that performs hunting, which is an operation of transitioning from a frame out-of-frame state to a frame-synchronized state, only when the frame is out of synchronization; A second frame counter 33 starts hunting if the frame phase in the input data shifts even momentarily regardless of the timing, and detects a mismatch between the input frame synchronization pattern and a predetermined frame synchronization pattern when in the synchronized state. The forward protection counter 19 outputs a synchronization loss signal indicating an out-of-synchronization state when the number of mismatch detections exceeds the number of protection steps without immediately determining that the synchronization is out of synchronization. and a backward protection counter 21 that outputs a synchronization establishment signal indicating a synchronization state when the number of coincidence detections exceeds the number of protection stages without immediately determining a synchronization state, and the forward protection counter 1
The value of the second frame counter 33 is loaded into the first frame counter 4 by the out-of-synchronization signal from 9, and the value of the first frame counter 4 is loaded by the same Y, B establishment signal from the backward protection counter 21. The second frame counter 33 is configured to read the above-mentioned second frame counter 33.
第1のフレームカウンタ4はフレーム同期はずれ時にの
みハンティングする。第2のフレームカウンタ33は同
期状態に関係なく一瞬でも入カデタ中のフレーム位相が
ずれるとハンティング開始する。前方保護カウンタ19
は同期状態にあるとき入力されたフレーム同期パターン
と予め定めたフレーム同期パターンとの不一致を検出し
ても直ちに同期はずれ状態と判断せずに不一致検出回数
が保護の段数を越えた場合に同期はずれ状態を示す同期
はずれ信号を出力する。後方保護カウンタ21は上記両
者の一致を検出しても直ちに同期状態と判断せずに一致
検出回数が保護の段数を越えた場合に同期状態を示す同
期確立信号を出力する。第2のフレームカウンタ33の
値は前方保護カウンタ19からの同期はずれ信号により
第1のフレームカウンタ4ヘロードされる。第1のフレ
ームカウンタ4の値は後方保護カウンタ21からの同期
確立信号により第2のフレームカウンタ33ヘロードさ
れる。The first frame counter 4 hunts only when frame synchronization is lost. The second frame counter 33 starts hunting when the frame phase in the input data shifts even momentarily, regardless of the synchronization state. Forward protection counter 19
Even if it detects a mismatch between the input frame synchronization pattern and a predetermined frame synchronization pattern when it is in a synchronized state, it does not immediately judge the state to be out of synchronization, but loses synchronization when the number of mismatch detections exceeds the number of protection stages. Outputs an out-of-synchronization signal indicating the status. Even if the backward protection counter 21 detects a match between the two, it does not immediately determine that it is in a synchronized state, but outputs a synchronization establishment signal indicating a synchronized state when the number of times of match detection exceeds the number of protection stages. The value of the second frame counter 33 is loaded into the first frame counter 4 by the out-of-synchronization signal from the forward protection counter 19. The value of the first frame counter 4 is loaded into the second frame counter 33 by the synchronization establishment signal from the backward protection counter 21.
第1図はこの発明の一実施例に係るフレーム同期回路の
回路図であり、第2図はそのタイミングチャートである
。図において、1は外部の処理装置などから入力される
入力データ(入力信号)、3は同期ビットパターンを検
出するフレームバタン検出部である。4はフレーム同期
はずれ時にのみフレーム(及びマルチフレーム)をカウ
ントする第1のフレームカウンタである。即ち、第1の
フレームカウンタ4はフレーム同期はずれ時にのみフレ
ーム同期はずれ状態からフレーム同期状態への移行動作
であるハンティングを行う。5は第1のフレームカウン
タ4より出力されフレーム毎にアクティブとなるフレー
ム信号(フレーム位置パルス)、7は入力データlの基
準となる入力クロソク信号、9はゲート信号29により
コントロールされたカウンタクロック信号、11はフレ
ームパターン検出部3がフレーム同期パターンを検出し
た時アクティブとなるフレームパターン検出信号である
。13はフレームカウンタ4より出力されマルチフレー
ム毎にアクティブとなるマルチフレーム信号、15はマ
ルチフレーム信号13かアクティブとなった時とフレー
ムパターン検出信号11との位相が一致した場合アクテ
ィブとなる一致信号、17はマルチフレーム信号13が
アクティブになった時とフレームパターン検出信号11
との位相が一致しない場合アクティブとなる不一致信号
である。19は1回の不一致信号17で同期はずれアラ
ーム信号27をセットせず保護の段数分だけカウントす
る前方保護カウンタである。即ち、この前方保護カウン
タ19は、同期状態にあるとき入力されたフレーム同期
パターンと予め定めたフレーム同期パターンとの不一致
を検出しても直ちに同期はずれ状態と判断せずに不一致
検出回数が保護の段数を越えた場合に同期はずれ状態を
示す同期はずれ信号を出力する。21は1回の一致信号
15で同期はずれアラーム信号27をリセットせず保護
の段数分だけカウントする後方保護カウンタである。即
ち、この後方保護カウンタ21は、上記両者の一致を検
出しても直ち;こ同期状態と判断せずに一致検出回数か
保護の段数を越えた場合に同期状態を示す同M確立信号
を出力する。23は保護段数の分だけ不一致信号17が
出力された時前方保護カウンタ21より出力されるアラ
ームセント信号(同期はずれ信号)、25は保護段数の
分だけ一致信号15が出力さη。FIG. 1 is a circuit diagram of a frame synchronization circuit according to an embodiment of the present invention, and FIG. 2 is a timing chart thereof. In the figure, 1 is input data (input signal) input from an external processing device, etc., and 3 is a frame slam detection unit that detects a synchronization bit pattern. 4 is a first frame counter that counts frames (and multiframes) only when frame synchronization is lost. That is, the first frame counter 4 performs hunting, which is a transition operation from the frame out-of-frame state to the frame-synchronized state, only when the frame is out of synchronization. 5 is a frame signal (frame position pulse) that is output from the first frame counter 4 and becomes active for each frame; 7 is an input cross signal that serves as a reference for the input data l; 9 is a counter clock signal controlled by the gate signal 29 , 11 is a frame pattern detection signal that becomes active when the frame pattern detection section 3 detects a frame synchronization pattern. 13 is a multi-frame signal that is output from the frame counter 4 and becomes active for each multi-frame; 15 is a coincidence signal that becomes active when the phase of the multi-frame signal 13 becomes active and the frame pattern detection signal 11 match; 17 indicates when the multi-frame signal 13 becomes active and the frame pattern detection signal 11
This is a mismatch signal that becomes active when the phase does not match with the Reference numeral 19 denotes a forward protection counter that does not set the out-of-synchronization alarm signal 27 in response to one mismatch signal 17 and counts by the number of protection stages. In other words, even if the forward protection counter 19 detects a mismatch between the input frame synchronization pattern and a predetermined frame synchronization pattern while in the synchronized state, it does not immediately determine that the synchronization is out of synchronization, but only if the number of mismatch detections exceeds the protection limit. When the number of stages is exceeded, an out-of-synchronization signal indicating an out-of-synchronization state is output. Reference numeral 21 denotes a backward protection counter that does not reset the out-of-synchronization alarm signal 27 by one coincidence signal 15, but counts by the number of protection stages. That is, the backward protection counter 21 immediately detects the coincidence between the two; it does not determine that it is in a synchronous state, and when the number of coincidence detections exceeds the number of protection stages, it issues the same M establishment signal indicating a synchronous state. Output. Reference numeral 23 indicates an alarm cent signal (out-of-synchronization signal) outputted from the forward protection counter 21 when the number of mismatch signals 17 equal to the number of protection stages is output, and reference numeral 25 indicates a match signal 15 outputted equal to the number of protection stages.
た時後方保護カウンタ21より出力さね、るアラームセ
ント信号(同′U確立信号)、27はアラムセ・ノド信
号23によりアクティブになりアラームセント信号25
によりノンアクティブとなる同期はずれアラーム信号、
29は同期はずれアラーム信号27がアクティブすなわ
ち同期はずれ時でかつ不一致信号17がアクティブとな
った詩入力クロソク信号7にゲートをかけるゲルト信号
である。31と32は2つのフレームカウンタ4とフレ
ームカウンタ33の値をそれぞれ他方にロトさせる時カ
ウンタの値に“1”を加算するプラス1回路、33は同
期状態に関係なく一瞬でも入力データ1中のフレーム位
相がずれるとハンティングを開始する第2のフレームカ
ウンタである。When the rear protection counter 21 outputs an alarm center signal (same 'U establishment signal), 27 is activated by the alarm signal 23 and an alarm center signal 25 is output.
Out-of-synchronization alarm signal becomes inactive due to
Reference numeral 29 is a gel signal that gates the poem input clock signal 7 when the out-of-synchronization alarm signal 27 is active, that is, when the out-of-synchronization occurs and the mismatch signal 17 is active. 31 and 32 are plus-one circuits that add "1" to the values of the two frame counters 4 and 33 when the values of the two frame counters 4 and 33 are rotated to the other, respectively. This is a second frame counter that starts hunting when the frame phase shifts.
35は不一致信号37によりコントロールされたカウン
タクロック信号、37は第2のフレームカウンタ33の
位相と入力データ1より検出したフレームパターン検出
信号11の位相との不一致を示す不一致信号、39は第
2のフレームカウンタ33よりマルチフレーム周期毎ム
こ出力されるマルチフレーム信号である。35 is a counter clock signal controlled by a mismatch signal 37; 37 is a mismatch signal indicating a mismatch between the phase of the second frame counter 33 and the phase of the frame pattern detection signal 11 detected from the input data 1; and 39 is a second mismatch signal. This is a multi-frame signal output from the frame counter 33 every multi-frame period.
次に本実施例の動作について第1図及び第2図を参照し
て説明する。入力データ1が何も入力されてない状態で
は第1のフレームカウンタ4は自走状態となっており、
不一致信号17がマルチフレーム信号13毎に出力され
後方保護カウンタ21はリセットされつづけ前方保護カ
ウンタ19がカウントアツプし、アラームセント信号2
3を出力し、同期はずれアラーム信号27がアクティブ
となり同期はずれ状態となっている。この状態ではゲー
ト信号29がマルチフレーム毎に出力すれ第1のフレー
ムカウンタ4はマルチフレーム毎に自分の位相を1ビツ
トずつシフトさせハンティング状態となっている第2の
フレームカウンタ33はアラーム状態となった時に自カ
ウンタ値をプラス1回路32で1インクリメントして第
1のフレームカウンタ4ヘロードしているので、この時
は第1のフレームカウンタ4と第2のフレームカウンタ
33は全く同し位相で動作している。Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. When no input data 1 is input, the first frame counter 4 is in a free running state,
The mismatch signal 17 is output every multi-frame signal 13, the rear protection counter 21 continues to be reset, the front protection counter 19 counts up, and the alarm center signal 2 is output.
3 is output, and the out-of-synchronization alarm signal 27 becomes active, indicating an out-of-synchronization state. In this state, the gate signal 29 is output for each multi-frame, the first frame counter 4 shifts its phase by 1 bit for each multi-frame, and the second frame counter 33, which is in a hunting state, becomes in an alarm state. At this time, the own counter value is incremented by 1 in the plus 1 circuit 32 and loaded into the first frame counter 4, so at this time, the first frame counter 4 and the second frame counter 33 operate in exactly the same phase. are doing.
この状態より正常な同期ビットバタ〜ンを含んだ入力デ
ータ1が入力されつづけると、ハンティング状態となっ
ている第1のフレームカウンタ4の位相が入力データl
の位相と等しくなる。この状態ではフレームパターン検
出信号11とマルチフレーム信号13との位相が等しく
なり不一致信号17は出力されずに、一致信号I5が出
力される。またマルチフレーム信号39もマルチフレー
ム信号13と等しい位相にありフレームパターン検出信
号11とマルチフレーム信号39との位相も等しくなり
不一致信号37は出力されない。If input data 1 containing a normal synchronization bit pattern continues to be input from this state, the phase of the first frame counter 4, which is in the hunting state, will change to the input data l.
is equal to the phase of In this state, the phases of the frame pattern detection signal 11 and the multi-frame signal 13 are equal, and the mismatch signal 17 is not output, but the match signal I5 is output. Further, the multi-frame signal 39 is also in the same phase as the multi-frame signal 13, and the phases of the frame pattern detection signal 11 and the multi-frame signal 39 are also equal, so that the mismatch signal 37 is not output.
−致信号15が出力されると前方保護カウンタ19はリ
セットされ後方保護カウンタ2Iがカウントアツプされ
る。また不一致信号17が出力されないためゲート信号
29がアクティブとならず第1のフレームカウンタ4は
そのままの位相を保持する。また不一致信号39も出力
されないため第2のフレームカウンタ33もそのままの
位相を保持する。第1のフレームカウンタ4の位相がそ
のままでかつ、入力データ1中のフレーム同期バタンか
正常であればマルチフレーム毎に一致信号15が出力さ
れる。一致信号11が保護の段数骨だけ出力されると前
方保護カウンタ19はリセットされつづけ後方保護カウ
ンタ21よりアラームリセット信号25が出力され同期
はずれアラーム信号27がノンアクティブとなり同期状
態となる。- When the match signal 15 is output, the forward protection counter 19 is reset and the backward protection counter 2I is counted up. Furthermore, since the mismatch signal 17 is not output, the gate signal 29 does not become active and the first frame counter 4 maintains its phase. Furthermore, since the mismatch signal 39 is not output, the second frame counter 33 also maintains the same phase. If the phase of the first frame counter 4 remains unchanged and the frame synchronization bump in the input data 1 is normal, a coincidence signal 15 is output for each multi-frame. When the coincidence signal 11 is output for the number of protection stages, the front protection counter 19 continues to be reset, the rear protection counter 21 outputs an alarm reset signal 25, and the out-of-synchronization alarm signal 27 becomes non-active, resulting in a synchronized state.
同期状態でかつ入力データ1中のフレーム同期パターン
が正常であれば常にこの状態を維持する。This state is always maintained if it is in a synchronized state and the frame synchronization pattern in input data 1 is normal.
以上の動作は第2図中の■の部分に示す。The above operation is shown in the section ``■'' in FIG.
次に同期がはずれる過程を説明する。ある所より入力デ
ータ1が来なくなったり、入力データ1中の同期ビット
パターンに異常が発生した場合次のマルチフレーム信号
13がアクティブとなった時に一致信号15が出力され
ず不一致信号17が出力される。第1のフレームカウン
タ4は同期はすれアラーム信号27がノンアクティブの
ためケト信号29は出力されない。すなわちこの位相を
維持する。第2のフレームカウンタ33は同期状態に関
係なくハンティングを開始するので、この状態ではすで
にハンティングを開始している。Next, the process of losing synchronization will be explained. If input data 1 stops coming from a certain point or an abnormality occurs in the synchronization bit pattern in input data 1, when the next multi-frame signal 13 becomes active, the coincidence signal 15 is not output and the mismatch signal 17 is output. Ru. The first frame counter 4 loses synchronization and the keto signal 29 is not outputted because the alarm signal 27 is inactive. In other words, this phase is maintained. Since the second frame counter 33 starts hunting regardless of the synchronization state, it has already started hunting in this state.
しかし入力データ1が異常のままのため特別な動作はし
ない。この状態が保護膜数分続くと不一致信号I7がマ
ルチフレーム毎に連続で出力され後方保護カウンタ21
をリセットし続け、前方保護カウンタ19がカウントア
ツプしアラームセット信号23を出力し同期はずれアラ
ーム信号27をアクティブとし同期はずれ状態となる。However, since input data 1 remains abnormal, no special operation is performed. If this state continues for several minutes of the protective film, the mismatch signal I7 is output continuously for each multi-frame, and the rear protection counter 21
continues to be reset, the forward protection counter 19 counts up, outputs the alarm set signal 23, and activates the out-of-synchronization alarm signal 27, resulting in an out-of-synchronization state.
この時第2のフレームカウンタ33のイ直がプラス1回
路32にて1インクリメントされ第1のフレームカウン
タ4ヘロードされ2つのカウンタ4,33の位相が等し
くなる。これらの動作タイミングを第2図の■の部分に
示す。第5図と第2図を比べてわかるように上記のよう
な状態では従来例と同様の動作をする。しかし、第3図
に示すように入力データlがスリップのように一瞬にし
てマルチフレーム位相が他の位相にずれ、その位相で正
常なデータとして動作する場合筒1のフレームカウンタ
4は前方保護動作のため自カウンタの位相は変化させな
い。しかし第2のフレームカウンタ33は同期状態に関
係なくハンティングするようになっているため、第1の
フレームカウンタ4が前方保護動作中にすでにハンティ
ングを行ってより正シイマルチフレーム位相状態に近づ
いている。この状態がつづくと前方保護カウンタ19が
カウントアツプしつづけアラームセット信号23が出力
される。このアラームセット信号23により同期はずれ
アラーム信号27がアクティブになり同期アラーム状態
となる。これと同時に第2のフレームカウンタ33の値
がプラス1回路32により1インクリメントされ、第1
のフレームカウンタ4にロードされる。第1のフレーム
カウンタ4は前方保護動作中にすでにハンティングをし
ていた情報をもらったことになる。この時は同期はずれ
状態なので、第1のフレームカウンタ4はハンティング
をつづけ同期を確立する。At this time, the positive value of the second frame counter 33 is incremented by one in the plus-one circuit 32 and loaded into the first frame counter 4, so that the phases of the two counters 4 and 33 become equal. The timing of these operations is shown in the section ``■'' in FIG. As can be seen by comparing FIG. 5 and FIG. 2, in the above-mentioned state, the operation is similar to that of the conventional example. However, as shown in Fig. 3, when the input data l instantaneously shifts from the multi-frame phase to another phase like a slip, and operates as normal data at that phase, the frame counter 4 of the cylinder 1 performs a forward protection operation. Therefore, the phase of its own counter is not changed. However, since the second frame counter 33 is configured to hunt regardless of the synchronization state, the first frame counter 4 is already hunting during the forward protection operation and is approaching the correct multi-frame phase state. . If this state continues, the forward protection counter 19 continues to count up and the alarm set signal 23 is output. This alarm set signal 23 activates the out-of-synchronization alarm signal 27, resulting in a synchronization alarm state. At the same time, the value of the second frame counter 33 is incremented by 1 by the plus 1 circuit 32, and the value of the second frame counter 33 is incremented by 1 by the plus 1 circuit 32.
is loaded into the frame counter 4 of . This means that the first frame counter 4 receives information that hunting has already been performed during the forward protection operation. Since the synchronization is out of synchronization at this time, the first frame counter 4 continues hunting and establishes synchronization.
なお、上記実施例では1ビット即時シフト方式のフレー
ム同期回路で説明したが、並列検出方式フレーム分割検
査方式などの他のフレーム同期方式でも同様の効果を奏
する。また2つのフレームカウンタの同期動作もリセッ
トにて行うこともできる。プラス1回路はロード方法が
異なれば0または1以上の値となる場合も考えられる。Although the above embodiment has been described using a frame synchronization circuit using a 1-bit immediate shift method, similar effects can be obtained using other frame synchronization methods such as a parallel detection method and a frame division inspection method. Furthermore, the synchronization of the two frame counters can also be performed by resetting them. It is conceivable that the plus 1 circuit may have a value of 0 or 1 or more depending on the loading method.
このような上記実施例は大規模なハードウェアを必要と
せず実現できる。The above embodiments can be implemented without requiring large-scale hardware.
以上のように本発明によれば、前方保護カウンタからの
同期はずれ信号により第2のフレームカウンタの値を第
1のフレームカウンタヘロートし、後方保護カウンタか
らの同期確立信号により第1のフレームカウンタの値を
第2のフレームカウンタヘロードするように構成したの
で、前方保護カウンタによる前方保護動作を行いつつハ
ンティングができるようになり、これにより再同期時間
が短縮し、動作特性の良いフレーム同期回路を提供でき
るという効果が得られる。As described above, according to the present invention, the value of the second frame counter is inverted to the first frame counter by the synchronization loss signal from the forward protection counter, and the value of the second frame counter is inverted to the first frame counter by the synchronization establishment signal from the backward protection counter. Since the configuration is configured such that the value of is loaded into the second frame counter, hunting can be performed while performing forward protection operation using the forward protection counter.This reduces resynchronization time and creates a frame synchronization circuit with good operating characteristics. This has the effect of being able to provide the following.
第1図はこの発明の一実施例に係るフレーム同期回路の
回路図、第2図は第1図の回路の動作を示すタイミング
チャート、第3図は第1図の回路において短時間障害時
の動作を示すタイミングチャート、第4図は従来のフレ
ーム同期回路の回路図、第5図は第4図の回路の動作を
示すタイミングチャート、第6図は第4図の回路におい
て短時間障害時の動作を示すタイミングチャートである
。
4・・・第1のフレームカウンタ、19・・・前方保護
カウンタ、21・・・後方保護カウンタ、33・・・第
2のフレームカウンタ。
代理人 弁理士 宮 園 純FIG. 1 is a circuit diagram of a frame synchronization circuit according to an embodiment of the present invention, FIG. 2 is a timing chart showing the operation of the circuit in FIG. 1, and FIG. 4 is a circuit diagram of a conventional frame synchronization circuit. 5 is a timing chart illustrating the operation of the circuit in 4. FIG. 6 is a timing chart showing the operation of the circuit in 4. It is a timing chart showing the operation. 4... First frame counter, 19... Front protection counter, 21... Back protection counter, 33... Second frame counter. Agent Patent Attorney Jun Miyazono
Claims (1)
たフレーム同期パターンを検出しフレームの同期をとる
ためのフレーム同期回路において、フレーム同期はずれ
時にのみフレーム同期はずれ状態からフレーム同期状態
への移行動作であるハンティングをするフレームカウン
タと、同期状態に関係なく一瞬でも入力データ中のフレ
ーム位相がずれるとハンティングを開始する第2のフレ
ームカウンタと、同期状態にあるとき入力されたフレー
ム同期パターンと予め定めたフレーム同期パターンとの
不一致を検出したとき、不一致検出回数が保護の段数を
越えた場合に同期はずれ状態を示す同期はずれ信号を出
力する前方保護カウンタと、上記両者の一致を検出した
とき、一致検出回数が保護の段数を越えた場合に同期状
態を示す同期確立信号を出力する後方保護カウンタとを
有し、上記前方保護カウンタからの同期はずれ信号によ
り上記第2のフレームカウンタの値を上記第1のフレー
ムカウンタへロードし、上記後方保護カウンタからの同
期確立信号により上記第1のフレームカウンタの値を上
記第2のフレームカウンタへロードするように構成した
ことを特徴とするフレーム同期回路。In a frame synchronization circuit that detects frame synchronization patterns distributed at specific positions within a frame of input data and synchronizes frames, there is a transition operation from an out-of-frame state to a frame-synchronized state only when the frame is out of synchronization. A frame counter that performs certain hunting, a second frame counter that starts hunting if the frame phase in input data shifts even momentarily regardless of the synchronization state, and a predetermined frame synchronization pattern that is input when in the synchronization state. When a mismatch with the frame synchronization pattern is detected, a forward protection counter outputs an out-of-sync signal indicating an out-of-sync state when the number of mismatch detections exceeds the number of protection stages, and when a match between the above two is detected, a match is detected. and a backward protection counter that outputs a synchronization establishment signal indicating a synchronization state when the number of frames exceeds the number of protection stages, and the value of the second frame counter is changed to the first frame counter by the out-of-synchronization signal from the forward protection counter. A frame synchronization circuit characterized in that it is configured to load the value of the first frame counter into the second frame counter in response to a synchronization establishment signal from the backward protection counter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2192666A JPH0481030A (en) | 1990-07-20 | 1990-07-20 | Frame synchronizing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2192666A JPH0481030A (en) | 1990-07-20 | 1990-07-20 | Frame synchronizing circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0481030A true JPH0481030A (en) | 1992-03-13 |
Family
ID=16295026
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2192666A Pending JPH0481030A (en) | 1990-07-20 | 1990-07-20 | Frame synchronizing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0481030A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0730534A (en) * | 1993-07-07 | 1995-01-31 | Nec Corp | Frame synchronization circuit |
-
1990
- 1990-07-20 JP JP2192666A patent/JPH0481030A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0730534A (en) * | 1993-07-07 | 1995-01-31 | Nec Corp | Frame synchronization circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2000324116A (en) | Frame synchronization method and frame synchronization circuit | |
| JPH0481030A (en) | Frame synchronizing circuit | |
| JPS6118235A (en) | Synchronizing system in digital communication system | |
| JP2967649B2 (en) | Receive synchronization circuit | |
| JP2959520B2 (en) | Synchronous protection device | |
| JP2697421B2 (en) | Frame synchronization circuit for digital transmission system | |
| JP2776606B2 (en) | Frame synchronizer | |
| JPH01228337A (en) | Frame synchronization protection circuit | |
| JP2862926B2 (en) | Frame synchronization protection circuit | |
| JPH11112488A (en) | Frame synchronizing circuit | |
| JPH0448839A (en) | Reception data synchronization circuit | |
| JPH05191397A (en) | Frame synchronization circuit | |
| JP3010634B2 (en) | Frame synchronous multiplex processing | |
| JPH0568030A (en) | Synchronizing circuit | |
| JPH0338130A (en) | Synchronizing circuit | |
| JPH0220937A (en) | Synchronous detecting circuit | |
| JPH04356834A (en) | Synchronizing circuit using crc check | |
| JPH02180442A (en) | Multiplex synchronizing circuit | |
| JPH05304522A (en) | Synchronization detection controller | |
| JPH0327636A (en) | Predioclonus buffer device | |
| JPH09149020A (en) | Frame counter | |
| JPH098795A (en) | Frame synchronization method and communication device | |
| JPS6377237A (en) | Frame synchronizing circuit | |
| JPS59161144A (en) | Frame synchronizing circuit | |
| JPS62147831A (en) | Synchronization protection circuit |