JPH02151144A - Frame synchronizing circuit - Google Patents

Frame synchronizing circuit

Info

Publication number
JPH02151144A
JPH02151144A JP63303923A JP30392388A JPH02151144A JP H02151144 A JPH02151144 A JP H02151144A JP 63303923 A JP63303923 A JP 63303923A JP 30392388 A JP30392388 A JP 30392388A JP H02151144 A JPH02151144 A JP H02151144A
Authority
JP
Japan
Prior art keywords
circuit
frame synchronization
synchronization pattern
signal
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
Application number
JP63303923A
Other languages
Japanese (ja)
Inventor
Hiroki Matsumoto
浩樹 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63303923A priority Critical patent/JPH02151144A/en
Publication of JPH02151144A publication Critical patent/JPH02151144A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the circuit scale of a frame synchronizing circuit by using a counter generating a pulse for each frame and using the counter for detecting a detection signal from an even frame synchronizing pattern detector and for detecting a detection signal from an even frame synchronizing pattern detector. CONSTITUTION:When a signal series including a frame synchronizing pattern is inputted to, an input point 1 and an even frame synchronizing pattern detec tion circuit 3-1 detects an even frame synchronizing pattern, the circuit outputs a high level pulse as a detection signal. The detection signal is inputted to a forward/backward protection circuit 6 via an AND circuit 4-1. A control circuit 6 switches an output to an AND circuit 4-3 from a low level to a high level and an output to an AND circuit 4-4 from a low level to a high level. An odd frame synchronizing pattern detection circuit 3-2 detects an odd frame synchronizing pattern at the same time and outputs the detection signal, the detection signal reaches the forward/backward protection circuit 6 through the AND circuit 4-2.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデジタル伝送装置におけるフレーム同期回路に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a frame synchronization circuit in a digital transmission device.

(従来の技術) フレーム同期回路は入力信号から特定パターン信号を一
定回数連続して検出することによりフレーム同期を確立
するものである。
(Prior Art) A frame synchronization circuit establishes frame synchronization by continuously detecting a specific pattern signal from an input signal a certain number of times.

第2図は、フレーム同期パターンが偶フレームと奇フレ
ームとで異なる場合におけるフレーム同期回路の従来例
を示す構成図である。ここで、1はフレーム同期・にタ
ーンを含む信号系列の入力点、2−1〜2−7は8段し
ノスタ、3−1は偶フレーム同期パターン検出回路、3
−2は奇フレーム同期パターン検出回路、4−1〜4−
4はAND回路、8はクロック入力点、9はフレーム同
期確立信号の出力点、10はOR回路、11は制量回路
、12は前方・後方保護回路、13−1.13−2は2
nカウンタである。また、入力点1に入力される信号系
列は、8ビツトを1構成単位(オクテツト)、80オク
テツトを1フレームとし、オクテツトOからオクテツト
7までのLSB (1オクテツトのbit OをLSB
 、  bit 7をMSBとする)にフレーム同期パ
ターンが配置されたものであるとする。なお、nは1フ
レームのビット数を現わす。
FIG. 2 is a configuration diagram showing a conventional example of a frame synchronization circuit in a case where frame synchronization patterns are different for even frames and odd frames. Here, 1 is an input point of a signal sequence including frame synchronization and a turn, 2-1 to 2-7 are 8-stage nostars, 3-1 is an even frame synchronization pattern detection circuit, 3
-2 is an odd frame synchronization pattern detection circuit, 4-1 to 4-
4 is an AND circuit, 8 is a clock input point, 9 is an output point of a frame synchronization establishment signal, 10 is an OR circuit, 11 is a control circuit, 12 is a forward/backward protection circuit, 13-1.13-2 is 2
It is an n counter. The signal sequence input to input point 1 has 8 bits as one constituent unit (octet), 80 octets as one frame, and LSB from octet O to octet 7 (bit O of 1 octet is LSB).
, bit 7 is the MSB). Note that n represents the number of bits in one frame.

次に、第2図に示すフレーム同期回路の動作を第3図に
示すタイムチャートを参照しながら説明する。ここで、
後方保護としては偶フレーム同期ノeターン、奇フレー
ムIJtJ]ノ”ターン、隅フレーム同期パターンと連
続して検出した場合同期と判定し、同期確立後は前方保
護として連続する偶フレムト奇フレームでフレーム同期
ノ”ターンが1 bit以上誤った場合検出エラーとし
、検出エラーが3回連続して起った場合同期はずれと判
定するものとする。
Next, the operation of the frame synchronization circuit shown in FIG. 2 will be explained with reference to the time chart shown in FIG. 3. here,
For backward protection, synchronization is determined when an even frame synchronization turn, an odd frame IJtJ] no'' turn, and a corner frame synchronization pattern are detected consecutively. After synchronization is established, frames are detected as forward protection using consecutive even frame and odd frames. If the synchronization turn is incorrect by 1 bit or more, it is determined as a detection error, and if the detection error occurs three times in a row, it is determined that the synchronization is out of synchronization.

1ず、初期状態にあるとき、前方・後方保護回路12か
らAND回路4−2.4−4及びOR回路10にLow
レベルが出力され、2nカウンタ13−1.13−2は
共にカウントを停止すると共に制御回路11によりc、
dに、それぞれHighレベルを出力する。偶フレーム
同期パターン検出回路3−1、奇フレーム同期パターン
検出回路3−2はまだフレーム同期パターンを検出して
いないので出力はLowレベルであり、従ってAND回
路4−1.4−3の出力はLowレベルとなり、前方・
後方保護回路9は同期はずれ状態として出力点9にLo
wレベルを出力する。
1. When in the initial state, a low
The level is output, the 2n counters 13-1 and 13-2 both stop counting, and the control circuit 11 c,
A high level is output to d. Since the even frame synchronization pattern detection circuit 3-1 and the odd frame synchronization pattern detection circuit 3-2 have not yet detected a frame synchronization pattern, their outputs are at Low level, so the output of the AND circuit 4-1.4-3 is The level becomes low, and the front
The rear protection circuit 9 outputs Lo to the output point 9 as an out-of-synchronization state.
Output w level.

次に、フレーム同期パターンを含む信号系列が入力点1
に入力されたとする。偶フレーム同期パターン検出回路
3−1が入力及び8段シフトレノスタ2−1〜2−7の
出力から偶フレーム同期パターンを検出するとHi g
hレベルの・ぞルス(第3図の時刻1.におけるa)を
出力する。このとき、20カウンタl3−1の出力はH
ighレベル(第3図の時刻L!におけるC)であるか
ら、AND回路4−1の出力にHighレベルのノEル
ス(第3図の時々11 t lにおけるe)が出力され
る。前方・後方保護回路12はこの・!ルスを検出する
とAND回路4−2及びOR回路10にHighレベル
を出力し、2nカウンタ13−1はクロック入力点8か
らのクロックに基づいてカウントを開始する。2nカウ
ンタ13−1は2 n bitカウントするまでLow
レベルを出力し、2 n bitカウントするとHig
hレベルの・ぐルス(第3図の時刻t3におけるC)を
出力する。
Next, the signal sequence containing the frame synchronization pattern is input to the input point 1.
Suppose that it is entered in High when the even frame synchronization pattern detection circuit 3-1 detects an even frame synchronization pattern from the input and the output of the 8-stage shift renostars 2-1 to 2-7.
Outputs the h-level signal (a at time 1 in FIG. 3). At this time, the output of the 20 counter l3-1 is H
Since the signal is at a high level (C at time L! in FIG. 3), a high level signal (e at time 11 t l in FIG. 3) is output to the output of the AND circuit 4-1. The front/rear protection circuit 12 is this! When a pulse is detected, a high level is output to the AND circuit 4-2 and the OR circuit 10, and the 2n counter 13-1 starts counting based on the clock from the clock input point 8. The 2n counter 13-1 remains low until it counts 2n bits.
Output the level and count 2 n bits, it becomes High
A signal of h level (C at time t3 in FIG. 3) is output.

偶フレーム同期パターン検出回路3−1が偶フレーム同
期パターンを検出してから(第3図の時刻t1 )1フ
レーム後に(第3図の時刻12 )、奇フレーム同期パ
ターン検出回路3−2が奇フレーム同期ハターンヲ検出
L 、Ht ghレベルのノeルス(第3図の時刻t2
におけるb)を出力すると、前述の偶フレーム同期パタ
ーンが検出された場合と同様にして、2nカウンタ13
−2もカウントを開始する。
One frame after the even frame synchronization pattern detection circuit 3-1 detects the even frame synchronization pattern (time t1 in FIG. 3), the odd frame synchronization pattern detection circuit 3-2 detects the odd frame synchronization pattern (time 12 in FIG. 3). Detection of frame synchronization change L, Ht gh level noise (time t2 in
When b) is output, the 2n counter 13 is output in the same way as when the even frame synchronization pattern described above is detected.
-2 also starts counting.

しかし、奇フレーム同期・にターン検出回路3−2が奇
フレーム同期パターンを検出してから1フレーム後に(
第3図の時刻t3 )、偶フレーム同期・Qターン検出
回路3−1が偶フレーム同期パターンを検出できなかっ
た場合、前方・後方保護回路12はAND回路4−2.
4−4及びOR回路10KLowレベルを出力する。2
nカウンタ13−1.13−2は共にカウントを停止す
ると共に、制御回路11の制御により出力をHighレ
ベルにして初期状態に戻る。なお、偶フレーム同期パタ
ーンが検出されてから(第3図の時刻tl )1フレー
ム後に(時刻t2 )奇フレーム同期パターンが検出さ
れなかった場合にも、同様にして初期状態に戻る。即ち
、同期確立前において、偶フレーム同期パターンまたは
奇フレーム同期パターンを検出してから1フレーム後に
奇フレーム同期・セターンまたは偶フレーム同期パター
ンを検出できなかった場合は前記初期状態に戻る。
However, one frame after the odd frame synchronization/turn detection circuit 3-2 detects the odd frame synchronization pattern (
At time t3 in FIG. 3), if the even frame synchronization/Q-turn detection circuit 3-1 cannot detect an even frame synchronization pattern, the forward/backward protection circuit 12 connects the AND circuit 4-2.
4-4 and OR circuit 10 output KLow level. 2
Both the n counters 13-1 and 13-2 stop counting, and their outputs are set to High level under the control of the control circuit 11 to return to the initial state. Note that even if an odd frame synchronization pattern is not detected one frame after the even frame synchronization pattern is detected (time tl in FIG. 3) (time t2), the initial state is returned in the same manner. That is, before synchronization is established, if an odd frame synchronization pattern or setan or an even frame synchronization pattern cannot be detected one frame after detecting an even frame synchronization pattern or an odd frame synchronization pattern, the process returns to the initial state.

偶フレーム同XA ノeターン、奇フレーム同期ノゼタ
ーンを連続して3回以上(例えば、第3図のj4+t5
  + ta  )検出した場合には、前方・後方保護
回路12は同期確立として出力点9にHj ghレベル
(第3図の時刻t6における9)を出力する。
Even frame synchronization
+ta), the forward/backward protection circuit 12 outputs the Hj gh level (9 at time t6 in FIG. 3) to the output point 9 as synchronization establishment.

同期確立後、2nカウンタ13−2 、13−2はそれ
ぞれ2 n bit毎に、すなわち2フレーム毎に・P
ルスを出力し、AND回路4−1.4−3を介して鍋フ
レーム同期・やターン検出回路3−1及び奇フレーム同
期・やターン検出回路3−2からの出力を前方・後方保
護回路I2に入力させる。しかし、連続する偶フレーム
同期パターン、奇フレーム同期・Pターンのいずれか一
方、あるいは両方を検出できなかった場合、前方・後方
保護回路12は検出エラーがあったと判断し、3回連続
して検出エラーが発生したとき、同期はずれと判断して
出力点9にLowレベルを出力する。同時に、AND回
路4−2.4−4及びOR@路10にLOWレベルを出
力する。2nカウンタ13−1.13−2は共にカウン
トを停止し、制御回路11の制御により出力をHigh
レベルにして初期状態に戻る。第3図は同期確立後、時
刻t8〜t13においていずれも偶フレーム同期パター
ンあるいは奇フレーム同期・セターンを検出することが
できず、時刻t13で同期はずれと判断し、以後初期状
態となった例を示している。
After synchronization is established, the 2n counters 13-2 and 13-2 each output .P every 2n bits, that is, every 2 frames.
output from the pan frame synchronization/turn detection circuit 3-1 and the odd frame synchronization/turn detection circuit 3-2 via the AND circuit 4-1.4-3. input. However, if one or both of consecutive even frame synchronization patterns, odd frame synchronization, and P-turns cannot be detected, the forward/backward protection circuit 12 determines that there is a detection error and detects it three times in a row. When an error occurs, it is determined that synchronization has been lost and a low level is output to output point 9. At the same time, a LOW level is output to the AND circuits 4-2, 4-4 and the OR@ circuit 10. The 2n counters 13-1 and 13-2 both stop counting and set their outputs to High under the control of the control circuit 11.
Level and return to initial state. Figure 3 shows an example in which, after synchronization was established, no even frame synchronization pattern or odd frame synchronization/sequence could be detected between times t8 and t13, and it was determined that synchronization was lost at time t13, and the initial state was maintained thereafter. It shows.

(発明が解決しようとする課題) しかしながら、上記構成のフレーム同期回路では、2n
カウンタを2回路、更には同期はずれの際に該2nカウ
ンタの出力をそれぞれHi g bレベルに保持するだ
めの制御回路等を必要とするため、回路の規模が膨大に
なるという欠点があった。
(Problem to be Solved by the Invention) However, in the frame synchronization circuit with the above configuration, 2n
Since it requires two counter circuits and a control circuit to maintain the outputs of each of the 2n counters at a high level when synchronization is lost, there is a drawback that the scale of the circuit becomes enormous.

本発明は上記欠点を除去するため1個のn ノ)ウンタ
を偶フレーム同期パターン検出回路及び奇フレーム同期
パターン検出回路に共用し、回路規模の縮少を図ったフ
レーム同期回路を提供することを目的とする。
In order to eliminate the above-mentioned drawbacks, the present invention provides a frame synchronization circuit in which one n) counter is shared by an even frame synchronization pattern detection circuit and an odd frame synchronization pattern detection circuit, thereby reducing the circuit scale. purpose.

(課題を解決するための手段) 上記課題を解決するため、本発明は入力信号からの偶フ
レーム同期パターンを検出する偶フレーム同期パターン
検出回路と、入力信号から奇フレーム同期パターンを検
出する奇フレーム検出回路と、前記偶フレーム同期・P
ターン検出回路からの検出信号を通す第1のゲートと前
記奇フレーム同期パターン検出回路からの検出信号を通
す第2のゲートとを有するゲート回路と、前記ゲート回
路からの検出信号に基づき第1及び第2の制御信号を生
成する前方・後方保護回路と、前記第1の制量信号に基
づきフレーム毎に前記検出信号に同期した・ぐルスを生
成するカウンタと、前記第2の制御信号に基づき前記パ
ルスを切換えて前記ゲート回路の第1または第2のゲー
トに制御用として出力する制御回路とを備え、前記検出
信号が最初の検出信号であるとき前記第1の制御信号に
より前記カウンタの動作を開始させ、前記検出信号が偶
フレーム同期パターンに対応するものであるとき前記・
ぐルスを前記第2のゲートに、奇フレーム同期パターン
に対応するものであるとき第1のゲートに出力するよう
に前記第2の制御信号により前記制御回路を制御するも
のである。
(Means for Solving the Problems) In order to solve the above problems, the present invention provides an even frame synchronization pattern detection circuit that detects an even frame synchronization pattern from an input signal, and an odd frame synchronization pattern detection circuit that detects an odd frame synchronization pattern from an input signal. A detection circuit and the even frame synchronization P
a gate circuit having a first gate that passes a detection signal from the turn detection circuit and a second gate that passes a detection signal from the odd frame synchronization pattern detection circuit; a forward/backward protection circuit that generates a second control signal; a counter that generates a signal synchronized with the detection signal for each frame based on the first control signal; a control circuit that switches the pulse and outputs it to the first or second gate of the gate circuit for control, and when the detection signal is a first detection signal, the counter operates according to the first control signal. and when the detection signal corresponds to an even frame synchronization pattern, the
The control circuit is controlled by the second control signal so as to output the signal to the second gate, and to the first gate when it corresponds to an odd frame synchronization pattern.

(作 用) 偶フレーム同期パターン検出回路からの検出信号はゲー
ト回路の第1のゲートを介して、奇フレーム同期パター
ン検出回路からの検出信号はケ゛−1・回路の第2のゲ
ートを介してそれぞれ前方・後方保護回路に到達する。
(Function) The detection signal from the even frame synchronization pattern detection circuit is passed through the first gate of the gate circuit, and the detection signal from the odd frame synchronization pattern detection circuit is passed through the second gate of the circuit. Each reaches the front and rear protection circuits.

前方・後方保護回路は、偶フレーム同期パターンと全フ
レーム同期パターンとが正常時には交互に送られてくる
ことを予め知っているので、カウンタによりフレーム毎
に生成され、検出信号に同期した・ξルスを、前記ゲー
ト回路から偶フレーム同期パターンに対応する検出信号
を受信したときは第2のゲートに、奇7レーム同期パタ
ーンに対応する検出信号を受信したときは第1のゲート
に加わるよう制御回路を制御して、偶フレーム同期パタ
ーンマだは奇フレーム同期ノ’?ターンに対応する検出
信号を抽出し、フレーム同期確立を判断する。
Since the forward and backward protection circuits know in advance that even frame synchronization patterns and all frame synchronization patterns are sent alternately during normal operation, the A control circuit so as to apply the detection signal to the second gate when receiving a detection signal corresponding to an even frame synchronization pattern from the gate circuit, and to apply it to the first gate when receiving a detection signal corresponding to an odd seven frame synchronization pattern from the gate circuit. Does it control the even frame sync pattern or the odd frame sync pattern? The detection signal corresponding to the turn is extracted and the establishment of frame synchronization is determined.

る。Ru.

本発明は、上記のようにカウンタを偶フレーム同期パタ
ーンに対応する検出信号の抽出用と奇フレーム同期・ゼ
ターンに対応する検出信号の抽出用とに別々に設けるこ
となく、1個のカウンタを共用して回路規模の縮少を図
ったものである。
As described above, the present invention uses a single counter in common, without providing separate counters for extracting detection signals corresponding to even frame synchronization patterns and for extracting detection signals corresponding to odd frame synchronization patterns. The aim was to reduce the circuit scale.

(実施例) 第1図は本発明の実施例の構成図である。第1図におい
て、1.2−1〜2−7.3−1.3−2 、4−1〜
4−4.8.9は第2図においてこれらと同一符号を付
したものと同等であり、4−5はAND回路、5は制御
回路、6は前方・後方保護回路、7はnカウンタである
。また、入力点1に入力される信号系列は、第2図の場
合と同様のものである。
(Embodiment) FIG. 1 is a block diagram of an embodiment of the present invention. In Figure 1, 1.2-1 to 2-7.3-1.3-2, 4-1 to
4-4, 8, and 9 are equivalent to those with the same symbols in Figure 2, 4-5 is an AND circuit, 5 is a control circuit, 6 is a forward/backward protection circuit, and 7 is an n counter. be. Furthermore, the signal sequence input to input point 1 is the same as in the case of FIG.

次に、第1図に示す本実施例の動作を第4図に示すタイ
ムチャートを参照しながら説明する。ここで、第2図の
場合と同様に、後方保護としては偶フレーム同期ハター
ン、奇フレーム同期パターン、偶フレーム同期・やター
ンと連続して検出した場合同期と判定し、同期確立後は
前方保護として連続スる偶フレームと奇フレームでフレ
ーム同期パターンが1 bit以上誤った場合検出エラ
ーとし、検出エラーが3回連続して起った場合同期はず
れと判定するものとする。ただし、上記の判定基準及び
前述のフレーム構成は一例であって、これに限定される
ものではない。また、第4図において、aは偶フレーム
同期/9ターン検出回路3.−1の出力、CはAND回
路4−3の出力、gは前方・後方保護回路6のAND回
路4−1への出力、eはAND回路4−ノの出力、bは
奇フレーム同期、Fターン検出回路3−2の出力、dは
AND回路4−4の出力、hはnカウンタ7の出力、f
はAND回路4−2の出力、9は前方・後方保護回路6
の出力点9への出力をそれぞれ示す。
Next, the operation of this embodiment shown in FIG. 1 will be explained with reference to the time chart shown in FIG. 4. Here, as in the case of Fig. 2, as backward protection, synchronization is determined when an even frame synchronization pattern, an odd frame synchronization pattern, an even frame synchronization pattern, and a turn are detected consecutively, and after synchronization is established, forward protection is performed. If the frame synchronization pattern is incorrect by 1 bit or more in consecutive even frames and odd frames, it is determined to be a detection error, and if the detection error occurs three times in a row, it is determined to be out of synchronization. However, the above-mentioned criteria and the above-mentioned frame structure are only examples, and the present invention is not limited thereto. In FIG. 4, a is an even frame synchronization/9 turn detection circuit 3. -1 output, C is the output of the AND circuit 4-3, g is the output to the AND circuit 4-1 of the forward/backward protection circuit 6, e is the output of the AND circuit 4-1, b is odd frame synchronization, F The output of the turn detection circuit 3-2, d is the output of the AND circuit 4-4, h is the output of the n counter 7, f
is the output of the AND circuit 4-2, 9 is the forward/backward protection circuit 6
The outputs to output point 9 are shown respectively.

まず、初期状態にあるとき、前方・後方保護回路6から
AND回路4−5にLowレベルが出力されて、クロッ
ク入力点8からのクロックがnカウンタ7に入力するの
を禁止する。nカウンタ7はカウントを停止し、Hi 
g hレベルをAND回路4−3゜4−4に出力する。
First, in the initial state, a low level is output from the forward/backward protection circuit 6 to the AND circuit 4-5, inhibiting the input of the clock from the clock input point 8 to the n counter 7. n counter 7 stops counting and becomes Hi.
gh level is output to AND circuit 4-3°4-4.

同時に、制御回路5は前方・後方保護回路6からの信号
に基づきAND回路4−3にHighレベルを、AND
回路4−4にLowレベルを出力する。従って、AND
回路4−3はAND回路4−1にHighレベルを、A
ND回路4−4はAND回路4−2にLowレベルを出
力し、偶フレーム同期パターン検出回路3−1により偶
フレーム同期パターンが検出された場合に、その検出信
号をAND回路4−1を介して前方・後方保護回路6に
入力される。なお、出力点9には同期はずれ状態として
Lowレベルが出力されている。
At the same time, the control circuit 5 sends a High level to the AND circuit 4-3 based on the signal from the front/rear protection circuit 6;
A low level is output to the circuit 4-4. Therefore, AND
The circuit 4-3 sends a High level to the AND circuit 4-1, and the A
The ND circuit 4-4 outputs a low level to the AND circuit 4-2, and when an even frame synchronization pattern is detected by the even frame synchronization pattern detection circuit 3-1, the detection signal is sent to the AND circuit 4-1. and is input to the front/rear protection circuit 6. Note that a low level is output to the output point 9 as an out-of-synchronization state.

次に、フレーム同期パターンを含む信号系列が入力点I
に入力されたとする。偶フレーム同期パターン検出回路
3−1は、入力及び8段シフトレノスタ2−1〜2−7
の出力から偶フレーム同期パターンを検出するとHig
hレベルのパルス(第4図の時刻t1におけるa)を検
出信号として出力する。このとき、AND回路4−3の
出力はHighレベル(第4図の時刻1.におけるC)
に保持されているから、前記検出信号はAND回路4−
1を介して前方・後方保護回路6に入力される(第4図
の時刻t1におけるe)。前方・後方保護回路6は前記
検出信号を検出するとAND回路4−5にHighレベ
ルを出力し、制御回路5に所定の信号を送出する。制御
回路5は前記信号に基づいてAND回路4−3への出力
をHighレベルからLowレベルに、AND回路4−
4への出力をLowレベルからH4ghレベルに切換え
る。一方、カウンタ7はクロック入力点8から入力され
るクロックのカウントを開始し、n bitカウントす
るまではLowレベルを出力し、n bitカウントす
るとHj ghレベルの4ルス(第4図の時刻t2にお
けるh)を出力する。
Next, the signal sequence containing the frame synchronization pattern is input to the input point I.
Suppose that it is entered in The even frame synchronization pattern detection circuit 3-1 has an input and an 8-stage shift renostar 2-1 to 2-7.
High when an even frame synchronization pattern is detected from the output of
The h level pulse (a at time t1 in FIG. 4) is output as a detection signal. At this time, the output of the AND circuit 4-3 is at High level (C at time 1 in Figure 4).
Since the detection signal is held in the AND circuit 4-
1 to the front/rear protection circuit 6 (e at time t1 in FIG. 4). When the front/rear protection circuit 6 detects the detection signal, it outputs a high level to the AND circuit 4-5, and sends a predetermined signal to the control circuit 5. The control circuit 5 changes the output to the AND circuit 4-3 from High level to Low level based on the signal.
4 is switched from Low level to H4gh level. On the other hand, the counter 7 starts counting the clock input from the clock input point 8, and outputs a low level until it counts n bits, and when it counts n bits, it outputs 4 pulses of Hj gh level (at time t2 in FIG. 4). h) is output.

従って、出力されたパルスはAND回路4−4を介して
AND回路4−2に入力される(第4図の時刻t2にお
けるd)。奇フレーム同期パターン検出回路3−2は、
前記・にルスが出されたと同じ時刻に奇フレーム同期・
にターンを検出し、検出信号(第4図の時刻t2におけ
るb)を出力するので、その検出信号はAND回路4−
2を通って前方・後方保護回路6に到達する(第4図の
時刻t2におけるf)。前方・後方保護回路6は前記検
出信号に基づき制御回路5を制御してAND回路4−3
の方を選択し、nカウンタ7の出力パルスがAND回路
4−1に入力するようにして、偶フレー6ム同期パター
ン検出回路3−2からの検出信号を待つ。
Therefore, the output pulse is input to the AND circuit 4-2 via the AND circuit 4-4 (d at time t2 in FIG. 4). The odd frame synchronization pattern detection circuit 3-2 is
Odd frame synchronization at the same time as the Luz was issued in
Since the turn is detected at , and a detection signal (b at time t2 in FIG. 4) is output, the detection signal is sent to the AND circuit 4-
2 and reaches the front/rear protection circuit 6 (f at time t2 in FIG. 4). The front/rear protection circuit 6 controls the control circuit 5 based on the detection signal and outputs the AND circuit 4-3.
is selected, the output pulse of the n counter 7 is input to the AND circuit 4-1, and a detection signal from the even frame 6 frame synchronization pattern detection circuit 3-2 is waited for.

しかし、偶フレーム同期パターン検出回路3−1が所定
の時刻(第4図の時刻t3 )において偶フレーム同期
ツクターンを検出できなかった場合、IIJ方・後方保
護回路6はAND回路4−5にLowレベルを出力し、
制量回路5に所定の信号を出力する。nカウンタ7に対
するクロックの供給が停止され、nカウンタ7はカウン
トを停止する。このときnカウンタの出力はHighレ
ベルとなっている。
However, if the even frame synchronization pattern detection circuit 3-1 cannot detect an even frame synchronization pattern at a predetermined time (time t3 in FIG. output the level,
A predetermined signal is output to the control circuit 5. The clock supply to the n counter 7 is stopped, and the n counter 7 stops counting. At this time, the output of the n counter is at High level.

一方、制御回路5はAND回路4−3にHi g hレ
ベルを、AND回路4−4にLowレベルを出力する。
On the other hand, the control circuit 5 outputs a High level to the AND circuit 4-3 and a Low level to the AND circuit 4-4.

これによりフレーム同期回路は初期状態に戻る。すなわ
ち、同期確立前においては、偶フレーム同期パターンま
たは奇フレーム同期パターンを検出してから1フレーム
後に、奇フレーム同期”ターンまたは偶フレーム同期パ
ターンを検出することができなかった場合には初期状態
に戻る。
This returns the frame synchronization circuit to its initial state. That is, before synchronization is established, if an odd frame synchronization turn or an even frame synchronization pattern cannot be detected one frame after detecting an even frame synchronization pattern or an odd frame synchronization pattern, the initial state is returned. return.

これに対して、偶フレーム同期パターン、奇フレーム同
期パターンを連続して3回検出した場合には(例えば、
第4図の時刻E4  r j5  + t6の場合)、
前方・後方保護回路6は同期確立状態(後方保護完了)
にあると判断し、出力点9にHighレベル(第4図の
時刻t6における9)を出力する。同期確立後、上述し
たようにn・カウンタ7は1フレーム毎にパルスを出力
し、出力された・ぐルスはAND回路4−3.4−4に
より切換えられて、2フレーム毎にAND回路4−1.
4−2に加えられる。一方、偶フレーム同期パターン検
出回路3−1はAND回路4−1に加えられる前記・ぐ
ルスと同一タイミングで検出信号を出力し、奇フレーム
同期ノソターン検出回路3−2はAND回路4−2に加
えられる前記・ぞルスと同一タイミングで検出信号を出
力するので、各検出信号はAND回路4−1または4−
2により抽出されて順次前方・後方保護回路6に到達す
る。
On the other hand, if an even frame synchronization pattern or an odd frame synchronization pattern is detected three times in a row (for example,
In the case of time E4 r j5 + t6 in FIG. 4),
The front and rear protection circuits 6 are in synchronization established state (rear protection complete)
, and outputs a high level (9 at time t6 in FIG. 4) to output point 9. After synchronization is established, the n counter 7 outputs a pulse every frame as described above, and the output pulse is switched by the AND circuit 4-3 and 4-4, and the output pulse is switched by the AND circuit 4 every two frames. -1.
Added to 4-2. On the other hand, the even frame synchronization pattern detection circuit 3-1 outputs a detection signal at the same timing as the signal applied to the AND circuit 4-1, and the odd frame synchronization pattern detection circuit 3-2 outputs a detection signal to the AND circuit 4-2. Since the detection signal is output at the same timing as the applied signal, each detection signal is output to the AND circuit 4-1 or 4-.
2 and sequentially reach the front and rear protection circuits 6.

次に、同期確立後、連続する偶フレーム同期・ξターン
、分フレーム同期パターンのいずれか一方、あるいは両
方を検出できなかった場合、前方・後方保護回路6は検
出エラーが生じたと判断し、この検出エラーが3回連続
して発生した場合同期はずれ(前方保護完了)と判断し
て出力点9にLowレベルを出力する。前方・後方保護
回路6は、それと同時にAND回路4−5にLowレベ
ルを出力し、制御回路5に所定の信号を送出することに
よって初期状態とする。第4図は、同期確立後、時刻t
8〜t13の各時刻において偶フレーム同期バタンまた
け奇フレーム同期パターンを検出することができず検出
エラーが3回連続して発生し、時刻t13で同期はずれ
と判断して初期状態とした例を示している。
Next, after synchronization is established, if one or both of the consecutive even frame synchronization/ξ turns and minute frame synchronization patterns cannot be detected, the forward/backward protection circuit 6 determines that a detection error has occurred, and If a detection error occurs three times in a row, it is determined that synchronization has been lost (forward protection has been completed) and a low level is output to output point 9. At the same time, the front/rear protection circuit 6 outputs a Low level to the AND circuit 4-5, and sends a predetermined signal to the control circuit 5, thereby setting it in an initial state. FIG. 4 shows the time t after synchronization is established.
Here is an example in which an even frame synchronization pattern and an odd frame synchronization pattern cannot be detected at each time from 8 to t13, and a detection error occurs three times in a row, and at time t13, it is determined that synchronization has been lost and the initial state is set. It shows.

なお、同期確立後は、上述の同期はずれの判断動作を確
保するだめに、偶フレーム同期パターンまだは奇フレー
ム同期パターンが検出されないとき直に初期状態に戻る
ことなく、前方・後方保護回路6は同期はずれと判断す
るに至るまで正常に偶フレーム同期パターン、奇フレー
ム同期ノ’ターンが検出されている場合と同じタイミン
グで制御回路5を介してAND回路4−3.4−4を制
御し、偶フレーム同期ハターン検出回路3−1、奇フレ
ム同期パターン検出回路3−2からの検出信号を受入れ
る状態をとっている。
After synchronization is established, in order to ensure the above-mentioned out-of-synchronization judgment operation, the forward and backward protection circuits 6 do not immediately return to the initial state when an even frame synchronization pattern or an odd frame synchronization pattern is not detected. The AND circuit 4-3, 4-4 is controlled via the control circuit 5 at the same timing as when the even frame synchronization pattern and the odd frame synchronization no' turn are normally detected until it is determined that the synchronization is out of synchronization. It is in a state of accepting detection signals from the even frame synchronization pattern detection circuit 3-1 and the odd frame synchronization pattern detection circuit 3-2.

(発明の効果) 以上、詳細に説明したように本発明によれば、フレーム
1びに・ぐルスを生成するカウンタを、偶フレーム同期
パターン検出器からの検出信号と奇フレーム同期パター
ン検出器からの検出信号の抽出用に共用しているので、
従来2個必要としていたカウンタが1個で済むようにな
り、それに伴う周辺回路の簡単化も加わってフレーム同
期回路の回路規模を縮少することが可能となった。
(Effects of the Invention) As described above in detail, according to the present invention, the counter that generates frame 1 and guru is controlled by the detection signal from the even frame synchronization pattern detector and the odd frame synchronization pattern detector. Since it is shared for extracting the detection signal,
The number of counters that conventionally required two is now reduced to one, and with the accompanying simplification of peripheral circuits, it has become possible to reduce the circuit scale of the frame synchronization circuit.

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

第1図は本発明のフレーム同期回路の構成図、第2図は
従来のフレーム同期回路の構成図、第3図は第2図に示
すフレーム同期回路のタイムチャート、第4図は第1図
に示すフレーム同期回路のタイムチャートである。 1・・・フレーム・Pターンを含む信号系列の入力点、
2−1〜2−7・・・8段シフトレジスタ、3−1・・
・偶フレーム同期パターン検出回路、3−2・・・奇フ
レーム同期パターン検出回路、4−1〜4−5・・・A
ND回路、5・・・制御回路、6・・・前方・後方保護
回路、7・・・nカウンタ、8・・・クロック入力点、
9・・・フレーム同期確立信号出力点。
FIG. 1 is a block diagram of the frame synchronization circuit of the present invention, FIG. 2 is a block diagram of a conventional frame synchronization circuit, FIG. 3 is a time chart of the frame synchronization circuit shown in FIG. 2, and FIG. 4 is the diagram of the frame synchronization circuit shown in FIG. 3 is a time chart of the frame synchronization circuit shown in FIG. 1... Input point of signal sequence including frame/P turn,
2-1 to 2-7... 8-stage shift register, 3-1...
- Even frame synchronization pattern detection circuit, 3-2... Odd frame synchronization pattern detection circuit, 4-1 to 4-5...A
ND circuit, 5... control circuit, 6... forward/backward protection circuit, 7... n counter, 8... clock input point,
9...Frame synchronization establishment signal output point.

Claims (1)

【特許請求の範囲】 入力信号から偶フレーム同期パターンを検出する偶フレ
ーム同期パターン検出回路と、 入力信号から奇フレーム同期パターンを検出する奇フレ
ーム同期パターン検出回路と、 前記偶フレーム同期パターン検出回路からの検出信号を
通す第1のゲートと前記奇フレーム同期パターン検出回
路からの検出信号を通す第2のゲートとを有するゲート
回路と、 前記ゲート回路からの検出信号に基づき第1及び第2の
制御信号を生成する前方・後方保護回路と、 前記第1の制御信号に基づきフレーム毎に前記検出信号
に同期したパルスを生成するカウンタと、前記第2の制
御信号に基づき前記パルスを切換えて前記ゲート回路の
第1または第2のゲートに制御用として出力する制御回
路とを備え、前記検出信号が最初の検出信号であるとき
前記第1の制御信号により前記カウンタの動作を開始さ
せ、前記検出信号が偶フレーム同期パターンに対応する
ものであるとき前記パルスを前記第2のゲートに、奇フ
レーム同期パターンに対応するものであるとき第1のゲ
ートに出力するように前記第2の制御信号により前記制
御回路を制御することを特徴とするフレーム同期回路。
[Claims] An even frame synchronization pattern detection circuit that detects an even frame synchronization pattern from an input signal; an odd frame synchronization pattern detection circuit that detects an odd frame synchronization pattern from an input signal; and an even frame synchronization pattern detection circuit that detects an odd frame synchronization pattern from the input signal. a gate circuit having a first gate that passes a detection signal from the odd frame synchronization pattern detection circuit and a second gate that passes a detection signal from the odd frame synchronization pattern detection circuit; and first and second control based on the detection signal from the gate circuit. a forward/backward protection circuit that generates a signal; a counter that generates a pulse synchronized with the detection signal for each frame based on the first control signal; and a counter that switches the pulse based on the second control signal and controls the gate. a control circuit that outputs a control signal to a first or second gate of the circuit; when the detection signal is the first detection signal, the first control signal starts the operation of the counter; The second control signal outputs the pulse to the second gate when corresponds to an even frame synchronization pattern, and outputs the pulse to the first gate when corresponds to an odd frame synchronization pattern. A frame synchronization circuit characterized by controlling a control circuit.
JP63303923A 1988-12-02 1988-12-02 Frame synchronizing circuit Pending JPH02151144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63303923A JPH02151144A (en) 1988-12-02 1988-12-02 Frame synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63303923A JPH02151144A (en) 1988-12-02 1988-12-02 Frame synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH02151144A true JPH02151144A (en) 1990-06-11

Family

ID=17926904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63303923A Pending JPH02151144A (en) 1988-12-02 1988-12-02 Frame synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH02151144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0905941A1 (en) * 1997-02-13 1999-03-31 Ntt Mobile Communications Network Inc. Frame synchronizing circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0905941A1 (en) * 1997-02-13 1999-03-31 Ntt Mobile Communications Network Inc. Frame synchronizing circuit
EP0905941A4 (en) * 1997-02-13 2004-10-27 Nippon Telegraph & Telephone Frame synchronizing circuit

Similar Documents

Publication Publication Date Title
GB2094523A (en) Serial-to-parallel converter
JPS6272279A (en) Vertical synchronizing signal detection circuit
EP0562713B1 (en) Controlling signal timing in digital signal processing system
JPH02151144A (en) Frame synchronizing circuit
JP2625249B2 (en) Frame detection circuit
JPH01228337A (en) Frame synchronism protecting circuit
SU1129723A1 (en) Device for forming pulse sequences
JP3063291B2 (en) Line monitoring circuit
SU1647923A1 (en) Frame sync pulse selector
SU1072038A1 (en) Device for comparing binary codes
JPH0568030A (en) Synchronizing circuit
JPH073703Y2 (en) Multi-frame synchronization circuit
SU907790A1 (en) Pulse shaper
JP2870242B2 (en) Competitive synchronization protection circuit
JP2862926B2 (en) Frame synchronization protection circuit
JPH0438026A (en) Reception data synchronizing circuit
SU1629969A1 (en) Pulse shaper
SU803113A1 (en) Method and device for synchronizing
JPH09149015A (en) Clock phase adjustment circuit
SU1287138A1 (en) Device for synchronizing computer system
JPS61140220A (en) Pulse signal detecting circuit
SU1732332A1 (en) Device for monitoring multichannel pulsed sequences
SU1381523A2 (en) Multichannel device for interfacing data sources with computer
RU1786675C (en) Device for cycle synchronization
JPS5830252A (en) Synchronization protective circuit