JPH0357332A - Frame synchronizing circuit - Google Patents

Frame synchronizing circuit

Info

Publication number
JPH0357332A
JPH0357332A JP1193088A JP19308889A JPH0357332A JP H0357332 A JPH0357332 A JP H0357332A JP 1193088 A JP1193088 A JP 1193088A JP 19308889 A JP19308889 A JP 19308889A JP H0357332 A JPH0357332 A JP H0357332A
Authority
JP
Japan
Prior art keywords
bit
frame
synchronization
signal
counter
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
JP1193088A
Other languages
Japanese (ja)
Inventor
Yoshihiko Jokura
義彦 城倉
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1193088A priority Critical patent/JPH0357332A/en
Publication of JPH0357332A publication Critical patent/JPH0357332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To reduce a cost with a comparative small memory capacity and to improve the pull in setting characteristic by providing a serial/parallel conversion section, a frame counter, a register group, a synchronous bit detection section and a discordance detection section, etc. CONSTITUTION:A register group 39 uses a serial/parallel conversion section 35 to stores an n-bit parallel signal at a specific location in inputted signals 9 converted into n-bit parallel signals by number of multi-frames (m) at every frame. Moreover, a synchronous bit detection section 15 decodes an m-bit parallel signal in the same bit location in the direction of the multi-frame outputted from the group 39 to discriminate whether or not the pattern is coincident with an expected synchronous pattern. Then a discordance detection section 19 shifts the phase of a frame counter 1 and a multi-frame counter 5 by n-bit when a signal pattern coincident with the synchronous pattern is not detected from any of n-set of m-bit parallel signals stored in the group 39 by the detection section 15 and repeats the operation sequentially. Thus, the memory capacity is reduced, the cost is reduced and the pull in setting characteristic is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、シリアル入力信号に一定間隔で挿入された
フレーム同期パターンの検出を行なうフレーム同期検出
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a frame synchronization detection circuit that detects frame synchronization patterns inserted at regular intervals into a serial input signal.

〔従来の技術〕[Conventional technology]

第3図は、「ディジタル通信技術」田中公男著、東海大
学出版会に示された従来の1ビット即時シフト方式のフ
レーム同期検出回路を示すものであり、第1の従来例と
する。図において、(1)はフレーム長分だけカウント
するフレームカウンタ、(3)はフレーム毎に出力され
るフレームパルス信号、(5)はマルチフレームをカン
ウトするマルチフレームカウンタ、(7)はマルチフレ
ーム毎に出力ざれるマルチフレームパルス信号、(9)
は外部より入力されるシリアル入力信号、(11)はフ
レーム毎にシリアル入力信号(9)をラッチするマルチ
フレーム分の12ビットのレジスタ、(l3)はレジス
タ(l1)にラッチされたマルチフレーム分のl2ビッ
トのビットデータ出力、(l5)はビットデータ出力(
l3)が期待する同期ビットパターンか否かを検出する
同期ビット検出部、(l7)はビットデータ出力(13
)が期待する同期ビットパターンの時アクティブとなる
同期ビット検出信号、(l9)は回路内のマルチフレー
ム位相と同期ビット検出信号の位相とを比較し、位相ず
れを検出する不一致検出部、(21)は不一致検出回路
(l9)が不一致を検出した時フレームカウンタ(1)
及びマルチフレームカウ〉・夕(5)の位相を変化させ
るカウンタロード信号である。
FIG. 3 shows a conventional 1-bit instant shift type frame synchronization detection circuit disclosed in "Digital Communication Technology" by Kimio Tanaka, Tokai University Press, and is considered as a first conventional example. In the figure, (1) is a frame counter that counts by the frame length, (3) is a frame pulse signal that is output for each frame, (5) is a multi-frame counter that counts multi-frames, and (7) is for each multi-frame. Multi-frame pulse signal output to (9)
is a serial input signal input externally, (11) is a multi-frame 12-bit register that latches the serial input signal (9) for each frame, and (l3) is a multi-frame register latched in register (l1). The l2 bit bit data output of (l5) is the bit data output (
13) is a synchronous bit detection unit that detects whether or not the expected synchronous bit pattern is present; (l7) is a bit data output (13
) is a synchronization bit detection signal that becomes active when the synchronization bit pattern is expected. ) is the frame counter (1) when the mismatch detection circuit (l9) detects a mismatch.
This is a counter load signal that changes the phase of the multi-frame counter and multi-frame counter (5).

次に動作について、第5図に示すpcv i次群24c
hのフレームフォーマット例に従って説明する。本例で
は、193ビットで1フレームを構成し、12 フレー
ムで1マルチフレームを構成している。
Next, regarding the operation, the PCV i-order group 24c shown in FIG.
The explanation will be given according to an example of the frame format of h. In this example, 193 bits constitute one frame, and 12 frames constitute one multiframe.

外部からのシリアル人力信号(9)がない場合は、回路
内のフレームカウンタ(1)及びマルチフレームカウン
タ(5)はフリーラン状態となっている。レジスタ(l
1)は外部より人力されるシリアル入力信号(9)を、
任意の位相で動いているフレームカウンタ(1)の出力
するフレームパルス信号(3)によりフレーム毎に順次
マルチフレーム分すなわち12ビットのデータをラッチ
しておく、ラッチされたデータは12ビットのパラレル
データであるビットデータ出力(l3)として同期ビッ
ト検出部(15)に出力される。同期ビット検出部(1
5)はこのビットデータ出力(13)が期待する同期ビ
ットパターンかどうかチェックする。もし期待する同期
ビットパターンでない場合、同期ビット検出部(15)
は同期ビット検出信号(l7)をノンアクティブとする
。不一致検出部(19)はマルチフレーム毎に回路内マ
ルチフレーム位相と外部シリアル入力信号(9)のマル
チフレーム位相との比較を行なう。
When there is no serial input signal (9) from the outside, the frame counter (1) and multiframe counter (5) in the circuit are in a free running state. register (l
1) is the serial input signal (9) input manually from the outside,
Multi-frame data, that is, 12 bits of data, is latched sequentially for each frame by the frame pulse signal (3) output from the frame counter (1) that moves at an arbitrary phase.The latched data is 12-bit parallel data. It is output to the synchronous bit detection section (15) as a bit data output (l3). Synchronization bit detection section (1
5) checks whether this bit data output (13) is the expected synchronous bit pattern. If it is not the expected synchronization bit pattern, the synchronization bit detection section (15)
makes the synchronization bit detection signal (l7) inactive. The mismatch detection section (19) compares the in-circuit multiframe phase and the multiframe phase of the external serial input signal (9) for each multiframe.

不一致検出部(l9)が゛不一致”と検出すると、すな
わちマルチフレームカウンタ(5)よりマルチフレーム
パルス信号(7)が出力された時、同期ビット検出信号
(17)がノンアクティブであると、フレームカウンタ
(1)及びマルチフレームカウンタ(5)の位相を1ビ
ットシフトさせるカウンタロード信号(2l)を出力す
る。上記動作を順次繰り返し、同期ビット検出部(15
)が期待する同期ビットパターンを検出すると、同期ビ
ット検出信号(l7)をアクティブにする。これにより
、不一致検出部(l9)では“不一致“を検出しなくな
り、カウンタロード信号(21)を出力しなくなるので
、フレームカウンタ(1)及びマルチフレームカウンタ
(5)の位相は変化しない。シリアル入力(9)に第5
図に示す同期ビット位置以外のデータ中のビット列が偶
然同期ビットパターンと同じであり、誤った位置でフレ
ーム同期検出を行なった擬似同期の場合を除き、フレー
ムカウンタ(1)及びマルチフレームカウンタ(5)は
常にこの位相で動作し、フレーム同期を検出したことに
なる。
When the mismatch detection unit (l9) detects a "mismatch", that is, when the multi-frame pulse signal (7) is output from the multi-frame counter (5), and the synchronization bit detection signal (17) is inactive, the frame A counter load signal (2l) is output that shifts the phase of the counter (1) and the multi-frame counter (5) by 1 bit.The above operation is repeated sequentially, and the synchronization bit detection unit (15
) detects the expected synchronization bit pattern, it activates the synchronization bit detection signal (l7). As a result, the mismatch detection section (l9) no longer detects "mismatch" and no longer outputs the counter load signal (21), so the phases of the frame counter (1) and multiframe counter (5) do not change. 5th to serial input (9)
Frame counter (1) and multi-frame counter (5) except in the case of pseudo-synchronization where the bit string in the data other than the synchronization bit position shown in the figure happens to be the same as the synchronization bit pattern and frame synchronization is detected at an incorrect position. ) always operates at this phase and has detected frame synchronization.

次に、第2の従来例を第4図に従って説明する。この例
はマルチフレーム全体を記憶できるレジスタ容量を持つ
全ビット検出方式のフレーム同期回路のブロック図を示
す。図において、(1)はフレーム長分だけカウントす
るフレームカウンタ、(3)はフレーム毎に出力される
フレームバルス信号、(5)はマルチフレームをカウン
トするマルチフレームカウンタ、(7)はマルチフレー
ム毎に出力されるマルチフレームパルス信号、(9)は
外部より入力されるシリアル入力信号、(13)はメモ
リの内容をフレーム毎に並べ12ビットのパラレルデー
タとして順次出力するビットデータ出力、(15)はビ
ットデータ出力ク13)が期待する同期ビットパターン
か否かを検出する同期ビット検出部、(17)はビット
データ出力(13)が期待する同期ビットパターンの時
アクティブとなる同期ビット検出信号、(23)はマル
チフレーム分の全ビットデータを記憶できるメモリ、(
25)はフレームカウンタ(1)より出力され、メモリ
(23)のフレーム方向のアドレス信号となるフレーム
アドレス信号,  (27)はマルチフレームカウンタ
より出力され、メモリ(23)のマルチフレーム方向の
アドレス信号となるマルチフレームアドレス信号である
Next, a second conventional example will be explained with reference to FIG. This example shows a block diagram of an all-bit detection type frame synchronization circuit having a register capacity capable of storing the entire multi-frame. In the figure, (1) is a frame counter that counts by the frame length, (3) is a frame pulse signal that is output for each frame, (5) is a multi-frame counter that counts multi-frames, and (7) is for each multi-frame. (9) is a serial input signal input from the outside; (13) is a bit data output that arranges the memory contents frame by frame and sequentially outputs them as 12-bit parallel data; (15) (17) is a synchronization bit detection signal that becomes active when the bit data output (13) is the expected synchronization bit pattern; (23) is a memory that can store all bit data for multi-frames, (
25) is a frame address signal outputted from the frame counter (1) and serves as an address signal in the frame direction of the memory (23), and (27) is outputted from the multi-frame counter and is an address signal in the multi-frame direction of the memory (23). This is the multi-frame address signal.

次にこの動作について説明する.メモリ(23)はフレ
ームアドレス信号(25)とマルチフレームアドレス(
27)により示されるアドレスに、外部より入力される
シリアル人力信号(9)を全ビット順次記憶していく。
Next, we will explain this operation. The memory (23) receives a frame address signal (25) and a multi-frame address (
All bits of the serial human input signal (9) input from the outside are sequentially stored at the address indicated by 27).

また、メモリ(23)は上記で記憶したビットデータを
フレーム周期に並べた12ビットのパラレル信号として
、ビットデータ出力(l3)を順次出力する。同期ビッ
ト検出部(l5)は順次出力されるビットデータ出力(
l3)が期待する同期ビットパターンかどうかチェック
する。メモリ(23)の中にはマルチフレームの全ビッ
トが記憶でき、順次新しいデータをラッチしていくため
、シリアル人力信号(9)にビット誤りがなければ必ず
どこかに同期ビットパターンが存在する。同期ビット検
出部(15)は同期ビットパターンを検出するとすぐに
同期ビット検出信号(17)を出力する、同期ビット検
出信号(17)はフレームカウンタ(1)とマルチフレ
ームカウンタ(5)にリセットをかける.これによりフ
レームパルス信号(3)とマルチフレームパルス信号(
7)は外部シリアル人力信号(9)と位相同期し、フレ
ーム同期を検出したこととなる。
Further, the memory (23) sequentially outputs bit data output (13) as a 12-bit parallel signal in which the bit data stored above is arranged in a frame period. The synchronization bit detection unit (l5) sequentially outputs bit data (
l3) is the expected synchronization bit pattern. All bits of a multi-frame can be stored in the memory (23), and new data is latched in sequence, so if there is no bit error in the serial human input signal (9), there will always be a synchronous bit pattern somewhere. The synchronization bit detection section (15) outputs a synchronization bit detection signal (17) as soon as it detects a synchronization bit pattern.The synchronization bit detection signal (17) resets the frame counter (1) and multiframe counter (5). put on. This results in a frame pulse signal (3) and a multi-frame pulse signal (
7) is phase-synchronized with the external serial human input signal (9), which means that frame synchronization has been detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来例1の1ビット即時シフト方式によるフレーム同期
検出回路は1ビットずつシフトして同期ビットを捜すた
め、同期引込み時間が長くなるという欠点があった。ま
た、従来例2の全ビット検出方式によるフレーム同期検
出回路は、同期弓込み時間は短くなるが、マルチフレー
ム分のメモリ容量が必要であり、また回路が複雑になる
という問題がある。
The frame synchronization detection circuit according to the 1-bit immediate shift method of Conventional Example 1 searches for a synchronization bit by shifting one bit at a time, which has the drawback of requiring a long synchronization acquisition time. Further, although the frame synchronization detection circuit using the all-bit detection method of Conventional Example 2 shortens the synchronization arching time, it requires a memory capacity for multiple frames and has the problem that the circuit becomes complicated.

この発明は上記のような問題点を解決するためになされ
たもので、比較的小さなメモリ容量で、安価で同期引込
み特性のよいフレーム同期検出回路を提供することにあ
る。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a frame synchronization detection circuit which has a relatively small memory capacity, is inexpensive, and has good synchronization pull-in characteristics.

(課題を解決するための手段) この発明に係るフレーム同期回路は、マルチフレーム構
成の直列人力信号をnビットの並列信号に変換する直並
列変換部と、1フレーム周期毎に同期信号を出力するフ
レームカウンタと、上記同期信号に同期し上記並列信号
をマルチフレーム数分m個記憶するとともに、m個の並
列信号中、同一ビット位置のビット信号を読み出しmビ
ット並列信号として出力する記憶部と、マルチフレーム
周期毎に同一ビット位置のmピット並列信号をデコード
し、期待する同期パターンに一致するか否かを判別する
同期パターン検出部と、該同期パターン検出部に対して
判定タイよングを決める同期信号を出力するマルチフレ
ームカウンタと、上記同期パターン検出部による同期パ
ターン不一致判定時(上記フレームカウンタ及びマルチ
フレームカウンタへビット信号位相シフト信号を出力す
る不一致検出部とを備えたものである。
(Means for Solving the Problems) A frame synchronization circuit according to the present invention includes a serial-to-parallel converter that converts a serial human input signal having a multi-frame configuration into an n-bit parallel signal, and outputs a synchronization signal every frame period. a frame counter; a storage unit that stores m parallel signals corresponding to the number of multi-frames in synchronization with the synchronization signal, and reads bit signals at the same bit position among the m parallel signals and outputs them as m-bit parallel signals; A synchronization pattern detection unit that decodes the m-pit parallel signal at the same bit position every multi-frame period and determines whether it matches an expected synchronization pattern, and determines judgment timing for the synchronization pattern detection unit. It is equipped with a multi-frame counter that outputs a synchronization signal, and a mismatch detection section that outputs a bit signal phase shift signal to the frame counter and multi-frame counter (when the synchronization pattern detection section determines a synchronization pattern mismatch).

(作用) この発明における記憶部は、直並列変換部でnビットの
並列信号に変換された回線等からの入力信号の内特定の
位置のnビット並列信号をフレーム毎にマルチフレーム
数分m個記憶し、同期ビット検出部は、上記記憶手段よ
り出力されるマルチフレーム方向に同一ビット位置のm
ビット並列信号をデコードして期待する同期パターンに
一致するか否か判別し、不一致検出部は、上記同期ビッ
ト検出部が上記記憶手段に記憶されているn個のmビッ
ト並列信号のいずれからも同期パターンに一致する信号
を検出しない場合には、フレームカウンタ及びマルチフ
レームカウンタをnビット位相シフトし、期待する同期
パターンが検出された場合は、同期パターンと一致した
上記記憶部に、記憶されているn個のmビット並列信号
の何番目かを判定し、その番号に対応した分だけフレー
ムカウンタ及びマルチフレームカウンタの位相をシフト
する. 〔実施例〕 以下、この発明の一実施例を図について説明する。従来
例と同様に第5図に示すフレームフォーマットで8ビッ
トパラレルデータ制御を行なう場合を例とする. 第1図において、(1)はフレーム長だけカウントする
フレームカウンタ、(3)はフレーム毎に出力されるフ
レームパルス信号、(5)はマルチフレームすなわちl
2フレームをカウントするマルチフレームカウンタ、(
7)はマルチフレーム毎に出力されるマルチフレームパ
ルス信号、(9)は外部より人力されるシリアル人力信
号、(3l)はパラレルデータのコントロールを行なう
8ビットカウンタ、(33)はフリランカウンタ(31
)より出力されるパラレルデータ制御信号、(35)は
シリアル入力信号(9)を8ビットのパラレルデータに
変換するシリ,・ル/パラレル変換部,  (37)は
シリアル/バラし・ル変換部(35)より出力される8
ビットのパラレル入力信号、(39)はパラレル人力信
号(37)をフレーム毎にラッチするレジスタ群,  
(13)はレジスタ群(39)にラッチされた8ビッ[
・パラレルのマルチフレーム分のデータより、8ビット
カウンタ(31)に従い順次出力される12ビットのビ
ットデータ出力、(15)はビットデータ出力(13)
が期待する同期ビットパターンかどうかを、8ビットカ
ウンタ(31)に従い順次検出する同期ビット検出部、
(l7)はビットデータ出力(l3)が期待する同期パ
ターンの時、アクティブとなる同期ビット検出信号、(
l9)は回路内のマルチフレームの位相と同期ビット検
出信号(17)の位相とを比較し、位相ずれを検出する
不一致検出部、(21)は不一致検出部(19)が不一
致を検出した時、回路内フレームカウンタ(+)及乙C
マノレチフレームカウンタ(5冫 の位相を回路内マル
チフレーム位相と同期ビット検出信号(工7)とのずれ
に応じて変化させるガウンタロード信号である。
(Function) The storage unit in the present invention stores n-bit parallel signals at specific positions among the input signals from a line etc. that have been converted into n-bit parallel signals by the serial-parallel conversion unit, for each frame in m pieces corresponding to the number of multi-frames. m at the same bit position in the multi-frame direction output from the storage means.
The bit parallel signal is decoded to determine whether it matches an expected synchronization pattern, and the mismatch detection section detects whether the synchronization bit detection section decodes the bit parallel signal from any of the n m bit parallel signals stored in the storage means. If a signal matching the synchronization pattern is not detected, the frame counter and multiframe counter are phase-shifted by n bits, and if the expected synchronization pattern is detected, the signal is stored in the storage unit that matches the synchronization pattern. The number of the n m-bit parallel signals is determined, and the phases of the frame counter and multiframe counter are shifted by the amount corresponding to that number. [Example] Hereinafter, an example of the present invention will be described with reference to the drawings. Let us take as an example the case where 8-bit parallel data control is performed using the frame format shown in Figure 5, similar to the conventional example. In Figure 1, (1) is a frame counter that counts only the frame length, (3) is a frame pulse signal that is output for each frame, and (5) is a multi-frame or l
Multi-frame counter that counts 2 frames, (
7) is a multi-frame pulse signal that is output for each multi-frame, (9) is a serial human input signal input from the outside, (3l) is an 8-bit counter that controls parallel data, and (33) is a free-run counter (31).
), (35) is a serial/parallel converter that converts the serial input signal (9) into 8-bit parallel data, (37) is a serial/discrete converter. 8 output from (35)
A bit parallel input signal (39) is a register group that latches the parallel human input signal (37) for each frame.
(13) is the 8-bit [
- 12-bit bit data output that is sequentially output from parallel multi-frame data according to the 8-bit counter (31), (15) is the bit data output (13)
a synchronous bit detection unit that sequentially detects whether or not the synchronous bit pattern is an expected synchronous bit pattern according to an 8-bit counter (31);
(l7) is a synchronization bit detection signal that becomes active when the bit data output (l3) is the expected synchronization pattern, (
19) is a mismatch detection unit that compares the phase of the multi-frame in the circuit with the phase of the synchronization bit detection signal (17) and detects a phase shift, and (21) is when the mismatch detection unit (19) detects a mismatch. , in-circuit frame counter (+) and C
This is a count load signal that changes the phase of the manoretic frame counter (5) according to the difference between the in-circuit multiframe phase and the synchronization bit detection signal (step 7).

第2図は第1図に示すレジスタ群(39)の内部回路構
成を示す図で、図中、(4l)はフレームバルスイ言号
(3)によりフレーム毎にカウントアップするカウンタ
、(42)はカウンタ(41)の値に応じて出力される
コントロール信号、(43)は8ビットパラレルデータ
のビットデー・夕出力(37)をラッチするラッチ、(
45)はラッチ(43)に記憶された各8ビットのデー
タよりパラレルデータ制御信号(33)に応じたデータ
1ビットを取り出し、12ビットのビットデータ出力(
13)を作るセレクタである。
FIG. 2 is a diagram showing the internal circuit configuration of the register group (39) shown in FIG. is a control signal output according to the value of the counter (41), (43) is a latch that latches the bit data/event output (37) of 8-bit parallel data, (
45) extracts 1 bit of data according to the parallel data control signal (33) from each 8-bit data stored in the latch (43), and outputs 12-bit bit data (
13).

次に動作Eついて説明する。外部からのシリアル人力信
号(9)がない場合、フレームカウンタ(1)及びマル
チフレームカウンタ(5)はフリーラン状態どなってい
る。8ビットカウンタ(31)は、フ1ノームバルス信
号(3)をトリガとしそこから8ビットのカウント動作
を行なう。この状態でシリアル/パラレル変換部(35
)は、外部より入力されるシリアル入力信号(9)を8
ビットカウンタ(3l)が出力するパラレルデータ制御
信号(33)に従い、8ビットのシリアル/パラレル変
換を行なって8ビットのパラレル入力信号(37)を作
る。パラレル入力信号(37)は、フレームパルス信号
(3)により7 レ−ム毎に順次マルチフレームe、f
fチa X 12ビットのデータとしてレジスタ群(3
9)に格納される。レジスタ群(39)は、格納ざれた
データよりフレーム毎に1ビットずつ取り出し、12ビ
ットのパラレルデータであるビットデータ出力(l3)
を8ビットカウンタ(31)の動作に従い順次出力する
.レジスタ群(39)の内部では、パラレル入力信号(
37)を12個の8ビット分のラッチ(43)に入力と
して与える。カウンタ(4l)はフレームパルス信号(
31)がアクティブになるごとにカウントアップし、1
2個のラッチ(43)を1つずつイネーブルにするコン
トロール信号(42)を出力する。ラッチ(43)はコ
ントロール信号(42)がアクティブになった時、パラ
レル入力信号(37)をラッチする。各セレクタ(45
)はパラレルデータ制御信号(33)に従い、各ラッチ
(43)の8ビットデータ中の同一ビット位置の1ビッ
トを各々選択し、12ビットのビットデータ出力(13
)を出力する. 同期ビット検出郎(15)は、ビットデータ出力(l3
)を期待する同期ビットパターンかどうかチェックする
。もしレジスタ群(39冫から順次出力される8パター
ンのビットデータ出力(13)の中に期待する同期ビッ
トパターンがなかった場合には、同期ビット検出部(1
5)から出力される同期ビット検出信号(l7)はノン
アクティブとなる。この時には、マルチフレーム毎に回
路内マルチフレーム位相と外部シリアル入力信号(9)
のマルチフレーム位相との比較を行なう不一致検出部(
l9)は、前記8パターンが全て“不一致”であること
を検出し、フレームヵウンタ(1)及びマルチフレーム
カウンタ(5)の位相を8ビットシフトさせるカウンタ
ロード信号(21)を出力する。上記動作を順次繰り返
し、ビットデータ出力(l3)が期待するフレーム同期
パターンと一致すると、同期ビット検出部(l9)は、
同期ビット検出信号(l7)をアクティブにする。この
ため、不一致検出部(19)で、”不一致“を検出しな
くなるタイミングができる。不一致検出部(l9)は、
その時の8ビットカウンタ(31)の状態により、回路
内マルチフレーム位相と、シリアル入力信号(9)のマ
ルチフレーム位相とのずれを認識し、ずれ心応じた分だ
けのカウンタロード信号(21)を出力し・て、フレー
ムカウンタ(1)とマルチフレームカウンタ(5)の位
相をシリアル入力信号(9)のフレーム位相及びマルチ
フレーム位相にあわせる。
Next, operation E will be explained. When there is no serial input signal (9) from the outside, the frame counter (1) and multi-frame counter (5) are in a free running state. The 8-bit counter (31) uses the F1 norm pulse signal (3) as a trigger and performs an 8-bit counting operation from there. In this state, the serial/parallel converter (35
) is the serial input signal (9) input from the outside.
According to the parallel data control signal (33) output by the bit counter (3l), 8-bit serial/parallel conversion is performed to generate an 8-bit parallel input signal (37). The parallel input signal (37) is sequentially converted into multi-frames e and f every 7 frames by the frame pulse signal (3).
f CHa X Register group (3
9). The register group (39) extracts one bit from the stored data for each frame and outputs bit data (l3), which is 12-bit parallel data.
are output sequentially according to the operation of the 8-bit counter (31). Inside the register group (39), the parallel input signal (
37) is given as an input to 12 8-bit latches (43). The counter (4l) receives the frame pulse signal (
31) is counted up each time it becomes active, and 1
A control signal (42) is output that enables two latches (43) one by one. The latch (43) latches the parallel input signal (37) when the control signal (42) becomes active. Each selector (45
) selects one bit at the same bit position in the 8-bit data of each latch (43) according to the parallel data control signal (33), and outputs the 12-bit bit data (13).
) is output. The synchronization bit detector (15) outputs the bit data (l3
) is the expected synchronous bit pattern. If the expected synchronization bit pattern is not found in the 8 patterns of bit data output (13) sequentially output from the register group (39 registers), the synchronization bit detection unit (13)
The synchronization bit detection signal (l7) output from 5) becomes non-active. At this time, the internal multi-frame phase and external serial input signal (9) are set for each multi-frame.
Discrepancy detection unit (
19) detects that all of the eight patterns are "inconsistent" and outputs a counter load signal (21) that shifts the phases of the frame counter (1) and multiframe counter (5) by 8 bits. When the above operation is repeated sequentially and the bit data output (l3) matches the expected frame synchronization pattern, the synchronization bit detection section (l9)
Activate the synchronization bit detection signal (l7). Therefore, there is a timing at which the mismatch detection section (19) does not detect "mismatch". The mismatch detection section (l9) is
Based on the state of the 8-bit counter (31) at that time, the deviation between the multi-frame phase in the circuit and the multi-frame phase of the serial input signal (9) is recognized, and a counter load signal (21) corresponding to the deviation is generated. The phase of the frame counter (1) and multiframe counter (5) is adjusted to the frame phase and multiframe phase of the serial input signal (9).

例えば、レジスタ群(39)に格納されている8個の1
2ビットパラレル信号中の5番目の12ビットパラレル
信号が、フレーム同期パターンと一致した場合には、8
ビットカウンタ(3l)は、“5”となっており、この
時すぐにカウンタロード信号(21)を出力し、フレー
ムカウンタ(1)及びマルチフレームカウンタ(5)を
5ビット位相シフトする。以上の動作によりフレーム同
期を検出する。
For example, eight 1's stored in the register group (39)
If the fifth 12-bit parallel signal among the 2-bit parallel signals matches the frame synchronization pattern, 8
The bit counter (3l) is "5", and at this time, the counter load signal (21) is immediately outputted to shift the phase of the frame counter (1) and multiframe counter (5) by 5 bits. Frame synchronization is detected by the above operations.

ところで、第5図に示すフレーム中に同期ビツトと同一
パターンのデータが存在した場合には、誤ってそのパタ
ーンを同期ビットであると判断し、誤った同期検出をす
ることになるが、これは上記実施例では省略している同
期保護回路を設けることで、上記誤同期検出から回避す
ることができる。
By the way, if data with the same pattern as a synchronization bit exists in the frame shown in FIG. By providing a synchronization protection circuit which is omitted in the above embodiment, it is possible to avoid the above erroneous synchronization detection.

なお、上記実施例では、同期保護回路が含まれていない
が、通常の保護回路を従来例と同様に付加できる。また
、8ビットカウンタ(31)はフレームパルス信号(3
1)に同期して動作した例を示したが、完全フリーラン
の8ビットカウンタとして動作させ、外部のレジスタ群
(39)にデコーダを設けるよう構成しても同様の効果
を奏する。
Although the above embodiment does not include a synchronization protection circuit, a normal protection circuit can be added as in the conventional example. In addition, the 8-bit counter (31) receives the frame pulse signal (3
Although an example in which the counter operates in synchronization with 1) is shown, the same effect can be achieved even if the counter is operated as a completely free-running 8-bit counter and a decoder is provided in the external register group (39).

また、不一致検出部(19)は正しい位相のマルチフレ
ームパターンについてのみ検出すると説明したが、不一
致検出部(19)でフレーム単位にずれたマルチフレー
ムパターンの検出もできるようにして−、フレーム単位
のずれを吸収するカウンタロード信号(21)を出力で
きるようにしてもよい。
In addition, although it has been explained that the mismatch detection section (19) detects only multi-frame patterns with the correct phase, the mismatch detection section (19) can also detect multi-frame patterns that are shifted in frame units. It may also be possible to output a counter load signal (21) that absorbs the deviation.

また、フレームビットが、1フレーム中に1ビットだけ
でなく1フレーム中に複数ビットの同期ビットが一定間
隔で挿入されている場合には、レジスタ群(39)の容
量を増やすことにより同様の効果を奥する. 〔発明の効果) 以上のように、この発明によれば、マルチフレーム構成
の直列人力信号を直並列変換し、フレーム周期毎に並列
信号をマルチフレーム数分記憶部へ記憶し、各並列信号
中特定ビット位置のビット信号をマルチフレーム数分並
列信号として出力し、デコードした後期待する同期パタ
ーンに一致するか否かを判定するようにしたので、大容
量メモリを用いることなく、安価で、また精度が高く、
引込み時間の短いフレーム同期検出回路が得られる効果
がある。
In addition, if not only one frame bit but multiple synchronization bits are inserted at regular intervals in one frame, the same effect can be obtained by increasing the capacity of the register group (39). Deepen. [Effects of the Invention] As described above, according to the present invention, serial human input signals having a multi-frame configuration are serial-parallel converted, parallel signals corresponding to the number of multi-frames are stored in the storage unit for each frame period, and each parallel signal is Bit signals at specific bit positions are output as parallel signals for multiple frames, and after decoding it is determined whether or not they match the expected synchronization pattern. High accuracy;
This has the effect of providing a frame synchronization detection circuit with short pull-in time.

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

第1図はこの発明の一実施例によるフレーム同期検出回
路のブロック図、第2図は第1図中のレジスタ群(39
)の詳細を示すブロック図、第3図は従来のlビット即
時シフト方式のフレーム同期検出回路のブロック図、第
4図は従来の全ビット検出方式のフレーム同期検出回路
のブロック図、第5図はPCM t次群24chのフレ
ームフォーマットを示す図である. (1)はフレームカウンタ,、(3)はフレームパルス
信号、(5)はマルチフレームカウンタ、(7)はマル
チフレームパルス信号、(9)はシリアル人力信号、(
11)はレジスタ、(13)はピットデータ出力、(l
5)は同期ビット検出部、(l7)は同期ビット検出信
号、(19)は不一致検出部、(35)はシリアル/パ
ラレル変換部、(37)はパラレル人力信号、(39)
はレジスタ群. なお、図中同一部分または相当部分は同一符号により示
す.
FIG. 1 is a block diagram of a frame synchronization detection circuit according to an embodiment of the present invention, and FIG. 2 is a register group (39
), FIG. 3 is a block diagram of a conventional l-bit immediate shift method frame synchronization detection circuit, FIG. 4 is a block diagram of a conventional all-bit detection method frame synchronization detection circuit, and FIG. 5 is a diagram showing the frame format of PCM t-order group 24ch. (1) is a frame counter, (3) is a frame pulse signal, (5) is a multi-frame counter, (7) is a multi-frame pulse signal, (9) is a serial human input signal, (
11) is a register, (13) is a pit data output, (l
5) is a synchronization bit detection section, (l7) is a synchronization bit detection signal, (19) is a mismatch detection section, (35) is a serial/parallel conversion section, (37) is a parallel human input signal, (39)
is a register group. In addition, the same or equivalent parts in the figures are indicated by the same symbols.

Claims (1)

【特許請求の範囲】[Claims] マルチフレーム構成の直列入力信号をnビットの並列信
号に変換する直並列変換部と、1フレーム周期毎に同期
信号を出力するフレームカウンタと、上記同期信号に同
期し上記並列信号をマルチフレーム数分m個記憶すると
ともに、m個の並列信号中、同一ビット位置のビット信
号を読み出しmビット並列信号として出力する記憶部と
、マルチフレーム周期毎に同一ビット位置のmビット並
列信号をデコードし、期待する同期パターンに一致する
か否かを判別する同期パターン検出部と、該同期パター
ン検出部に対して判定タイミングを決める同期信号を出
力するマルチフレームカウンタと、上記同期パターン検
出部による同期パターン不一致判定時に上記フレームカ
ウンタ及びマルチフレームカウンタへビット信号位相シ
フト信号を出力する不一致検出部とを備えたことを特徴
とするフレーム同期回路。
a serial-to-parallel converter that converts a multi-frame serial input signal into an n-bit parallel signal; a frame counter that outputs a synchronization signal every frame period; A memory section stores m parallel signals and reads bit signals at the same bit position among the m parallel signals and outputs them as m-bit parallel signals, and decodes the m-bit parallel signals at the same bit position every multi-frame period and calculates the expected a synchronization pattern detection unit that determines whether or not the synchronization pattern matches a synchronization pattern; a multi-frame counter that outputs a synchronization signal that determines a determination timing to the synchronization pattern detection unit; and a synchronization pattern mismatch determination by the synchronization pattern detection unit. A frame synchronization circuit comprising: a mismatch detection section that sometimes outputs a bit signal phase shift signal to the frame counter and the multi-frame counter.
JP1193088A 1989-07-26 1989-07-26 Frame synchronizing circuit Pending JPH0357332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1193088A JPH0357332A (en) 1989-07-26 1989-07-26 Frame synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1193088A JPH0357332A (en) 1989-07-26 1989-07-26 Frame synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH0357332A true JPH0357332A (en) 1991-03-12

Family

ID=16302032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1193088A Pending JPH0357332A (en) 1989-07-26 1989-07-26 Frame synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH0357332A (en)

Similar Documents

Publication Publication Date Title
JPH05268208A (en) Frame synchronization circuit
US5408476A (en) One bit error correction method having actual data reproduction function
JPS6219011Y2 (en)
US7528748B2 (en) Serial data receiving circuit and serial data receiving method
JPH0357332A (en) Frame synchronizing circuit
KR970072768A (en) Synchronization Detection Circuit and Method Using Variable Reference Value for Comparison with Mismatch Count
JPH04233382A (en) Telescopic text decoder and error detecting and correcting circuit
JPS6028171B2 (en) Code/decoding circuit using ROM
JP3163399B2 (en) Parallel frame synchronization circuit
JPS6323437A (en) Synchronous detecting circuit
JP3110387B2 (en) Multi-frame synchronization detector
JPH0430234A (en) Error detection circuit
JP3978898B2 (en) Multiframe synchronization detection method and apparatus
JPH0744538B2 (en) Frame synchronization detection circuit
JPS61158232A (en) Sequential preamble signal detecting circuit
JPH05336096A (en) Frame synchronizing signal detecting circuit
JPS6141426B2 (en)
JPH0787441B2 (en) Signaling detector
JPH06104892A (en) Frame synchronization circuit
JPS61214633A (en) Synchronizing system for superframe
JPH0134491B2 (en)
JPH0629966A (en) Parallel frame synchronization circuit
JPH05114898A (en) Frame synchronizing circuit for digital transmission system
JPS57179912A (en) Synchronism detection system in digital signal reproducer
JPS61264933A (en) Circuit for detecting transition into hunting mode in instantaneous shift type synchronous circuit