JPH08307404A - Frame synchronism method and device - Google Patents

Frame synchronism method and device

Info

Publication number
JPH08307404A
JPH08307404A JP7108886A JP10888695A JPH08307404A JP H08307404 A JPH08307404 A JP H08307404A JP 7108886 A JP7108886 A JP 7108886A JP 10888695 A JP10888695 A JP 10888695A JP H08307404 A JPH08307404 A JP H08307404A
Authority
JP
Japan
Prior art keywords
frame
phase
pattern
data
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
JP7108886A
Other languages
Japanese (ja)
Inventor
Shinji Koizumi
真司 小泉
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP7108886A priority Critical patent/JPH08307404A/en
Publication of JPH08307404A publication Critical patent/JPH08307404A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To secure the frame synchronism through a single frame pattern detection circuit in a system where the serial data are converted into the parallel data and the frame synchronism is secured. CONSTITUTION: The data which are serially inputted undergo the phase shift through a frame phase adjustment circuit 2 and are inputted to a serial/parallel converter 3. A frame pattern is detected by a frame pattern detection circuit 4 after the serial data are converted into the parallel data. Then it is decided whether the frame pattern is coincident with the desired frame synchronism. If the frame pattern is coincident with the frame synchronism, a stop signal is outputted to a counter 1 via a counter control circuit 6. The counter 1 totalizes the number of bits (control value) including the head and subsequent bits of the frame pattern converted into the parallel data and outputs this totalization result to the circuit 2. Then the counter 1 locks its totalization operation when the stop signal is received. Therefore, the circuit 2 stops its phase shift operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多重化されてシリアル
に入力されるデータをパラレルデータに変換した後にフ
レーム同期をとる方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for synchronizing frames after converting multiplexed and serially input data into parallel data.

【0002】[0002]

【従来の技術】多重化されてシリアルに入力されるデー
タのフレーム同期技術として、シリアルデータに含まれ
るフレーム同期信号をシリアルの状態で検出する方式
と、シリアルデータをパラレルデータに変換した後に該
フレーム同期を検出する方式の2通りが知られている。
2. Description of the Related Art As a frame synchronization technique for multiplexed and serially input data, a method for detecting a frame synchronization signal included in serial data in a serial state and a method for converting the serial data into parallel data Two methods of detecting synchronization are known.

【0003】シリアルデータのままフレーム同期を検出
する方式は、フレーム同期装置の構成を簡易にすること
ができるが、データ伝送速度が速く、フレーム周期の監
視バイト数が多い場合には伝送速度に追従できなくな
る。これに対し、シリアルデータを一旦パラレルデータ
に変換し、パラレル展開されたデータによってフレーム
同期を検出する後者の方式は、相対的には装置構成が複
雑になるが、フレーム周期の監視バイト数が多い場合の
追従性に優れるため、主として高速伝送の際の同期検出
に用いられている。
The method of detecting the frame synchronization as it is with serial data can simplify the structure of the frame synchronizer, but when the data transmission rate is high and the number of bytes monitored in the frame period is large, the transmission rate is followed. become unable. On the other hand, the latter method in which serial data is once converted into parallel data and the frame synchronization is detected by the data expanded in parallel has a relatively complicated device configuration, but has a large number of monitoring bytes in the frame cycle. It is mainly used for synchronization detection during high-speed transmission because of its excellent followability.

【0004】後者の方式を用いてn(自然数)多重され
たシリアルデータからフレーム同期を検出する場合の従
来のフレーム同期装置の構成図の概要を図6に示す。図
6を参照すると、伝送路から入力されるシリアルデータ
は、シリアルパラレル変換回路10によりnビットのパ
ラレルデータ(フレーム)に変換される。この場合、パ
ラレル変換されるフレームパターン数はn個となる。こ
れはnビットのパラレルデータを1ビットずつ位相をず
らしてフレームパターンを作成する結果、n種類のフレ
ームができるからである。n個のフレームパターンは、
レジスタ等に一旦格納される。そして、格納されたn個
のフレームパターンのうち、いずれのフレームパターン
が予め定めた同期パターンと一致するかがフレームパタ
ーン検出回路20により検出され、同期パターンと一致
することが検出された場合は、該フレームパターンに基
づいてデータ並び替え回路30により入力データの並び
替えが行われる。なお、図示の保護回路40は、同期ず
れが生じていないかどうかを一定期間監視するための回
路である。
FIG. 6 shows an outline of a block diagram of a conventional frame synchronizer for detecting frame synchronization from n (natural number) multiplexed serial data using the latter method. Referring to FIG. 6, serial data input from the transmission path is converted into n-bit parallel data (frame) by the serial / parallel conversion circuit 10. In this case, the number of frame patterns converted into parallel is n. This is because n types of frames are created as a result of creating a frame pattern by shifting the phase of n-bit parallel data bit by bit. The n frame patterns are
It is temporarily stored in a register or the like. Then, of the n frame patterns stored, which frame pattern matches the predetermined synchronization pattern is detected by the frame pattern detection circuit 20, and when it is detected that the frame pattern matches the synchronization pattern, The data rearrangement circuit 30 rearranges the input data based on the frame pattern. The protection circuit 40 shown in the figure is a circuit for monitoring whether or not a synchronization shift has occurred for a certain period.

【0005】図7は、上記フレーム同期装置のより詳細
な構成図である。ここでは入力データの多重化数nを”
3”として8ビットのパラレルデータに変換する場合の
例を示している。データが入力されるラッチ部100
は、シリアルデータをパラレルデータに変換するシリア
ルパラレル変換部100a、変換されたパラレルデータ
を保持する保持部100b、およびクロックを1/8分
周する分周器100cを備えている。並列同期検出・制
御部400は、パラレルデータの保持部400aに保持
されている8種類のフレームパターン信号のパターンを
検出する8個のフレームパターン検出部401〜40
8、シリアルデータに含まれるフレーム同期を識別する
ための識別情報を検出する識別情報検出部400b、お
よび保護回路付制御部400cを備えている。分周器2
00は、分周器100cで1/8分周されたクロックを
更に1/3分周して、フレームパターン検出部401〜
408及び識別情報検出部400bの検出タイミングを
制御する。シリアルパラレル変換部100aは入力デー
タをパラレルデータに変換する。保持部100bは、分
周器100cからの1/8分周クロックごとにパラレル
データを8ビットずつ分周する。
FIG. 7 is a more detailed block diagram of the frame synchronizer. Here, the multiplexing number n of the input data is
3 "shows an example of conversion into 8-bit parallel data. Latch unit 100 to which data is input
Includes a serial-parallel conversion unit 100a that converts serial data into parallel data, a holding unit 100b that holds the converted parallel data, and a frequency divider 100c that divides the clock by 1/8. The parallel synchronization detection / control unit 400 includes eight frame pattern detection units 401 to 40 that detect patterns of eight types of frame pattern signals held in the parallel data holding unit 400a.
8, an identification information detection unit 400b for detecting identification information for identifying frame synchronization included in serial data, and a control unit with a protection circuit 400c. Frequency divider 2
00 further divides the clock divided by ⅛ by the divider 100c into ⅓ to generate frame pattern detection units 401 to 401.
It controls the detection timing of 408 and the identification information detection unit 400b. The serial-parallel converter 100a converts input data into parallel data. The holding unit 100b divides the parallel data by 8 bits for each 1/8 divided clock from the divider 100c.

【0006】ここで、フレームパターン検出部401〜
408は、1ビットずつシフトした状態で相互に並列的
に接続されており、例えば、第1フレームパターン検出
部401は1ビット目〜8ビット目を検出し、第2フレ
ームパターン検出部402は2ビット目〜9ビット目を
検出し、同様にして第8フレームパターン検出部408
は8ビット目〜15ビット目を検出する。この結果、フ
レームパターンの長さは8ビットであるからいずれかの
フレームパターン検出部401〜408でフレーム同期
が検出され、検出したフレームパターンの検出部からの
一致パルスが保護回路付制御部400cおよび識別情報
検出部400bへ出力される。識別情報部400bは、
1/3分周したタイミングで識別情報を検出する。
Here, the frame pattern detectors 401 to 401
408 are connected in parallel with each other in a state of being shifted by 1 bit, for example, the first frame pattern detection unit 401 detects the 1st bit to the 8th bit, and the second frame pattern detection unit 402 outputs 2 bits. The eighth to ninth bits are detected in the same manner by detecting the 9th to 9th bits.
Detects the 8th to 15th bits. As a result, since the length of the frame pattern is 8 bits, frame synchronization is detected by any of the frame pattern detection units 401 to 408, and the coincidence pulse from the detected frame pattern detection unit is detected by the protection circuit-equipped control unit 400c and It is output to the identification information detection unit 400b. The identification information section 400b is
The identification information is detected at the timing of 1/3 frequency division.

【0007】保護回路付き制御部400cでは、一致出
力がどのフレームパターン検出部から出ているかを検出
し、分周器100cへシフト信号を出す。このようにし
て分周器100cでの分周タイミングを調整する。ま
た、フレームパターン検出部401〜408から一致パ
ルスが出力され、識別情報部400bから識別IDが検
出されるとフレームが同期がとれた状態になる。この状
態が保護回路40に設定された保護段数に達すると、分
周器200へ制御信号、即ち所望のチャネルにおけるフ
レーム同期の先頭情報を出力する。これにより図8に示
すデマルチプレクサのセレクト先頭位置が決められるの
で、受信データが所望のチャネルに振り分けられ分離さ
れる。分周器200からは、保護回路付制御部400c
からの制御信号を受け取るとその旨の信号をデマルチプ
レクサ300へ出力する。
The controller 400c with protection circuit detects from which frame pattern detector the coincidence output is output, and outputs a shift signal to the frequency divider 100c. In this way, the frequency division timing of the frequency divider 100c is adjusted. Further, when the coincidence pulse is output from the frame pattern detection units 401 to 408 and the identification ID is detected from the identification information unit 400b, the frames are synchronized. When this state reaches the number of protection stages set in the protection circuit 40, the control signal, that is, the head information of the frame synchronization in the desired channel is output to the frequency divider 200. As a result, the select start position of the demultiplexer shown in FIG. 8 is determined, so that the received data is distributed to desired channels and separated. From the frequency divider 200, the controller 400c with the protection circuit is provided.
When receiving the control signal from, the signal to that effect is output to the demultiplexer 300.

【0008】以上の構成により、入力データに基づき8
種類のフレームパターンが発生するので、該8種類のフ
レームパターンと同期パターンとの一致性を判定するこ
とにより、どのような位置関係にあってもいずれかのフ
レームパターン検出部でフレーム同期を検出することが
できる。
With the above-mentioned structure, 8
Since different types of frame patterns are generated, the frame synchronization is detected by any one of the frame pattern detection units by determining the coincidence between the eight types of frame patterns and the synchronization pattern. be able to.

【0009】図9は、例えばPCM通信における多重化
前の各チャネルのデータ構造図であり、図10はマルチ
プレクサで多重化した後のデータ構造図である。これら
の図に示すように、各チャネルのデータにはバイト単位
のフレーム同期信号F1,F2及びその識別信号IDが
付加されている。また、図11は上述の処理のタイムチ
ャートを示したものである。
FIG. 9 is a data structure diagram of each channel before multiplexing in, for example, PCM communication, and FIG. 10 is a data structure diagram after multiplexing by a multiplexer. As shown in these figures, byte-unit frame synchronization signals F1 and F2 and their identification signal ID are added to the data of each channel. In addition, FIG. 11 shows a time chart of the above-described processing.

【0010】[0010]

【発明が解決しようとする課題】上述のように、従来
は、フレーム同期を検出する際に、シリアルで入力した
データ(8ビット構成)を8種類のフレームパターンに
展開した後、さらに15本のパラレルデータに展開し、
該展開したフレームパターンを8つのフレームパターン
検出部401〜408により検出していた。このため、
フレームパターン検出部401〜408の回路規模が大
きくなり、フレーム同期装置の小型化、製造コストの低
減を図る上で問題があった。本発明の課題は上記問題点
を解決し、シリアルデータをパラレルデータに変換した
後に簡単な構成でフレーム同期をとる方法及びこの方法
の実施に適するフレーム同期装置を提供することにあ
る。
As described above, conventionally, when detecting frame synchronization, serially input data (8-bit configuration) is expanded into 8 types of frame patterns, and then 15 lines are further added. Expand to parallel data,
The developed frame pattern was detected by the eight frame pattern detection units 401 to 408. For this reason,
The circuit scale of the frame pattern detection units 401 to 408 becomes large, and there is a problem in downsizing the frame synchronizer and reducing manufacturing cost. SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to provide a method for performing frame synchronization with a simple configuration after converting serial data into parallel data, and a frame synchronization device suitable for implementing this method.

【0011】[0011]

【課題を解決するための手段】本発明のフレーム同期方
法は、所定のフレーム周期でシリアルに伝送され、単位
データ長毎に位相シフトされる入力データをパラレルの
フレームパターンに展開するとともに、展開されたフレ
ームパターンと所要の同期パターンとを比較し、両パタ
ーンが不一致のときは一致するまで前記入力データの位
相をシフトし、一致した時点で当該入力データの位相を
固定することを特徴とする。
According to the frame synchronization method of the present invention, input data that is serially transmitted at a predetermined frame period and is phase-shifted for each unit data length is expanded into parallel frame patterns and expanded. The frame pattern is compared with a required synchronization pattern, and when the two patterns do not match, the phase of the input data is shifted until they match, and when they match, the phase of the input data is fixed.

【0012】また、本発明のフレーム同期装置は、所定
のフレーム周期でシリアルに伝送される入力データの位
相を単位データ長毎にシフトする位相調整回路と、この
位相調整回路で位相シフトされる入力データを順次パラ
レルデータに変換するシリアルパラレル変換回路と、変
換された各パラレルデータのフレームパターンを検出し
て所要の同期パターンとの一致性を判定するフレームパ
ターン検出回路と、前記フレームパターン検出回路がフ
レームパターンと同期パターンの一致を判定したときは
前記位相調整回路による位相シフト量を固定し、一方、
不一致を判定したときは一致するまで前記位相シフト量
を制御する位相制御手段と、を有することを特徴とす
る。
Further, the frame synchronizer of the present invention comprises a phase adjusting circuit for shifting the phase of input data serially transmitted in a predetermined frame cycle for each unit data length, and an input phase-shifted by this phase adjusting circuit. A serial-parallel conversion circuit that sequentially converts data into parallel data, a frame pattern detection circuit that detects the frame pattern of each converted parallel data and determines the matching with a required synchronization pattern, and the frame pattern detection circuit. When it is determined that the frame pattern and the synchronization pattern match, the amount of phase shift by the phase adjustment circuit is fixed, while
And a phase control unit that controls the phase shift amount until they match.

【0013】この構成において、前記位相制御手段は、
例えば、前記入力データのフレーム周期よりも長いクロ
ックタイミングで自走し、前記フレームパターンおよび
同期パターンが一致した時点を表す制御値を前記フレー
ム周期毎に累計するカウンタと、前記フレームパターン
検出回路がパターン不一致を判定したときは前記カウン
タによる前記制御値の継続累計を許容するとともにパタ
ーン一致を判定したときは前記カウンタの累計を停止さ
せてその時点の制御値を固定するカウンタ制御回路と、
を備え、該制御値に基づいて前記位相調整回路の位相シ
フト量を制御するようにする。さらに、前記カウンタに
よる制御値の累計停止後、前記検出したフレームパター
ンの同期状態を所定期間監視し、監視中に同期ずれが生
じた場合は前記カウンタによる前記制御値の固定を解除
するための初期化信号を生成する保護回路を、設けるこ
とも有効である。
In this structure, the phase control means is
For example, a counter that self-runs at a clock timing longer than the frame cycle of the input data and accumulates a control value representing the time when the frame pattern and the synchronization pattern match each other in the frame cycle, and the frame pattern detection circuit A counter control circuit that allows the continuous cumulative total of the control values by the counter when determining a mismatch and stops the cumulative total of the counter when the pattern matching is determined, and fixes the control value at that time,
And the phase shift amount of the phase adjustment circuit is controlled based on the control value. Furthermore, after the cumulative stop of the control value by the counter, the synchronization state of the detected frame pattern is monitored for a predetermined period, and if a synchronization deviation occurs during the monitoring, an initial value for releasing the fixed control value by the counter It is also effective to provide a protection circuit that generates the activation signal.

【0014】[0014]

【作用】シリアル伝送されてくる入力データは、位相調
整回路で単位データ長毎に位相が調整された後、シリア
ルパラレル変換回路に入り、ここでシリアルデータから
パラレルデータに変換され、その後フレームパターン検
出回路に入る。フレームパターン検出回路は、パラレル
に展開された複数のフレームパターンが、期待する所要
のフレーム同期と一致しているか否かを検出する。一
方、カウンタは、シリアルパラレル変換回路によりパラ
レルデータに変換されたフレームパターンのうち、パタ
ーン先頭ビットから単位データ長のタイミングでビット
数(制御値)の累計を開始し、その累計値を位相調整回
路に導出する。各ビットはフレーム周期毎にリセットさ
れるようにすることが好ましい。位相調整回路は、この
累計値に基づき位相シフト量を変え、フレーム同期をと
る。
The input data that is serially transmitted has its phase adjusted by the phase adjustment circuit for each unit data length, and then enters the serial-parallel conversion circuit, where serial data is converted to parallel data, after which frame pattern detection is performed. Enter the circuit. The frame pattern detection circuit detects whether or not the plurality of frame patterns developed in parallel coincide with expected desired frame synchronization. On the other hand, the counter starts the accumulation of the number of bits (control value) at the timing of the unit data length from the pattern head bit in the frame pattern converted into parallel data by the serial-parallel conversion circuit, and the accumulated value is calculated by the phase adjustment circuit. Derive to. Each bit is preferably reset every frame period. The phase adjustment circuit changes the amount of phase shift based on this cumulative value to establish frame synchronization.

【0015】フレーム同期がとられた場合、すなわちフ
レームパターンが同期パターンと一致した場合は、フレ
ームパターン検出回路からカウンタ制御回路にその旨を
表す信号を送出する。これによりカウンタはビット数の
累計を停止し、位相調整回路に導出する累計値をロック
する。位相調整回路はカウンタからの累計値がロックさ
れると現在の位相シフト量を固定することによりその位
相状態を維持する。その結果、パラレル展開されたデー
タは常に先頭のものが当該フレームの先頭ビットにな
る。保護回路は、フレーム同期がとれた後、所定の保護
段数分同期がとれているかを監視し、監視中に同期がず
れた場合には、カウンタ制御回路に初期化信号を送出す
る。カウンタ制御回路は、この初期化信号に基づいてカ
ウンタを初期化(フリーラン状態)する。
When frame synchronization is achieved, that is, when the frame pattern matches the synchronization pattern, the frame pattern detection circuit sends a signal indicating that fact to the counter control circuit. As a result, the counter stops the accumulation of the number of bits and locks the accumulated value derived to the phase adjustment circuit. When the cumulative value from the counter is locked, the phase adjustment circuit maintains the phase state by fixing the current phase shift amount. As a result, the first data of the parallel expanded data is always the first bit of the frame. After the frame synchronization is established, the protection circuit monitors whether synchronization is established for a predetermined number of protection stages, and if synchronization is lost during the monitoring, it sends an initialization signal to the counter control circuit. The counter control circuit initializes the counter (free-run state) based on this initialization signal.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1は、本発明の一実施例に係るフレーム
同期装置の構成図である。このフレーム同期装置は、フ
レームの位相を調整するフレーム位相調整回路2、シリ
アルデータをパラレルデータに変換するシリアルパラレ
ル変換回路3、フレームパターンを検出するフレームパ
ターン検出回路4、例えばフレーム周期の2分周で自走
するカウンタ1、該カウンタ1の動作を制御するカウン
タ制御部6、および、同期保護の段数を監視し必要に応
じて初期化信号を生成する保護回路5から成る。カウン
タ制御部6は、例えばフレーム同期がとれた場合はカウ
ンタ1を停止させ、同期がずれた場合は該カウンタ1を
再度自走させるものである。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram of a frame synchronization apparatus according to an embodiment of the present invention. This frame synchronizer includes a frame phase adjustment circuit 2 for adjusting the phase of a frame, a serial / parallel conversion circuit 3 for converting serial data into parallel data, a frame pattern detection circuit 4 for detecting a frame pattern, for example, a frame cycle divided by two. The counter 1 is self-propelled, a counter control unit 6 that controls the operation of the counter 1, and a protection circuit 5 that monitors the number of stages of synchronization protection and generates an initialization signal if necessary. The counter control unit 6 stops the counter 1 when, for example, frame synchronization is achieved, and makes the counter 1 self-run again when synchronization is lost.

【0017】なお、カウンタ1の周期をフレーム周期の
2分周としたのは、後述の同期パターンの判定や制御信
号の送出時間、あるいは位相の固定等の時間を考慮する
と、少なくともカウンタ1の周期をフレーム周期よりも
長くする必要があるためである。
Note that the period of the counter 1 is set to be the frame period divided by two in consideration of at least the period of the counter 1 in consideration of the synchronization pattern determination time, the control signal transmission time, and the phase fixing described later. Is required to be longer than the frame period.

【0018】図2は、カウンタ1からフレーム位相調整
回路2に導出される3本の制御信号A,B,Cのタイムチャ
ートであり、図示の例では、カウンタ1の周期をフレー
ム周期の2分周としている。3本の制御信号A,B,Cを必
要とするのは、8種類(23 )のフレームパターンの位
相を制御するためである。カウンタ1は、これら8種類
のフレームパターンに対応するCTR値を累計する。こ
のCTR値はフレーム同期がとれた時点を表す制御値で
あり、例えば、CTR値”2”は、8種類のフレームパ
ターンの3番目が同期がとれたことを意味する。同期の
とれた時点のCTR値は、3本の制御信号A,B,Cによっ
てカウンタ1からフレーム位相調整回路2に導出され
る。フレーム位相調整回路2は、”0”〜”7”ビット
(単位データ長)まで位相をシフトすることができ、カ
ウンタ1から送出されてくる制御信号A,B,Cに基づいて
位相シフト量を調整する。このフレーム位相調整回路2
の具体的な構成例を図3に示す。
FIG. 2 shows the frame phase adjustment from the counter 1.
Time control of the three control signals A, B, C derived to the circuit 2
In the illustrated example, the cycle of the counter 1 is
The frequency is divided by two. Requires three control signals A, B, C
Eight types (23 ) Frame pattern position
This is to control the phase. Counter 1 has these 8 types
The CTR values corresponding to the frame pattern are accumulated. This
The CTR value of is a control value that represents the time when frame synchronization is achieved.
Yes, for example, the CTR value “2” indicates that eight types of frame
The third of the turns means synchronized. Synchronous
The CTR value at the time when it is taken depends on the three control signals A, B and C.
From the counter 1 to the frame phase adjustment circuit 2
It The frame phase adjustment circuit 2 has "0" to "7" bits
The phase can be shifted up to (unit data length),
Based on the control signals A, B, C sent from the unter 1.
Adjust the amount of phase shift. This frame phase adjustment circuit 2
FIG. 3 shows a specific configuration example of the above.

【0019】図3を参照すると、入力されたシリアルデ
ータが、8段縦続のフリップフロップ回路(FF)の出
力端子からそれぞれ位相調整回路30に入力される。ま
た、カウンタ1からの3本の制御信号A,B,Cが位相調整
回路30に入力される。位相調整回路30では、制御信
号A,B,Cに基づいて各FFの出力を組み合わせて位相調
整を行う。このフレーム位相調整回路2の出力は、シリ
アルパラレル変換回路3へ送られ、ここでパラレルデー
タに変換される。
Referring to FIG. 3, the input serial data is input to the phase adjusting circuit 30 from the output terminals of the eight-stage cascade flip-flop circuit (FF). Further, the three control signals A, B, C from the counter 1 are input to the phase adjustment circuit 30. The phase adjustment circuit 30 performs phase adjustment by combining the outputs of the FFs based on the control signals A, B, and C. The output of the frame phase adjustment circuit 2 is sent to the serial / parallel conversion circuit 3 where it is converted into parallel data.

【0020】シリアルパラレル変換回路3の出力フォー
マット例を図4および図5に示す。図4(a)に示す第
1の変換例は、同期がとれている状態を示したものであ
り、シリアルに入力される個々のデータa〜h(1フレ
ーム)は、それぞれビット”1”〜ビット”8”にパラ
レル展開している。この場合、データaはビット”1”
として展開されており、以下、データbはビット”
2”、データcはビット”3”、データhはビット”
8”として展開される。このフレームパターンは、期待
する同期パターンと一致しており、同期がとれている状
態である。図4(b)に示す第2の変換例は、ビット”
8”にデータa、ビット”1”にデータb、以下、ビッ
ト”7”にデータhがそれぞれ展開されており、同期が
とれていない。例えばこの第2の変換例からカウンタ1
がフレームパターンを計数を開始したとすれば、同期が
とれるパターンまで累計値(CTR値)は”7”とな
る。カウンタ1は該CTR値をフレーム位相調整回路2
に出力する。フレーム位相調整回路2はこの値に基づい
て入力データの位相シフト量を調整する。
An output format example of the serial-parallel conversion circuit 3 is shown in FIGS. The first conversion example shown in FIG. 4A shows a state in which the synchronization is achieved, and the individual data a to h (1 frame) serially input are respectively bit "1" to. It is expanded in parallel to bit "8". In this case, the data a is bit "1"
Has been developed as, and below, data b is a bit "
2 ", data c is bit" 3 ", data h is bit"
8 ". This frame pattern coincides with the expected synchronization pattern and is in synchronization. The second conversion example shown in FIG.
The data a is expanded in 8 ", the data b is expanded in the bit" 1 ", and the data h is expanded in the bit" 7 ", respectively, which are not synchronized. For example, from the second conversion example, the counter 1
If the frame pattern counting starts, the cumulative value (CTR value) becomes "7" until the pattern can be synchronized. The counter 1 uses the CTR value as the frame phase adjustment circuit 2
Output to. The frame phase adjustment circuit 2 adjusts the phase shift amount of the input data based on this value.

【0021】図5(a)に示す第3の変換例は、フレー
ムパターンの先頭データaがビット”7”として展開さ
れ、同様にデータbがビット”8”として、以下、デー
タhがビット”6”として展開された場合を示してい
る。また、図5(b)に示す第4の変換例は、フレーム
パターンの先頭データaがビット”2”として展開さ
れ、同様にデータbがビット”3”、以下、データhが
ビット”1”として展開された場合を示している。図5
のいずれの場合もフレーム同期がとれていないので、図
4(b)の場合と同様の手順で位相シフト量を調整す
る。
In the third conversion example shown in FIG. 5 (a), the head data a of the frame pattern is developed as bit "7", data b is similarly bit "8", and hereinafter, data h is bit "." 6 "shows the case of being expanded. Further, in the fourth conversion example shown in FIG. 5B, the head data a of the frame pattern is expanded as bit “2”, similarly data b is bit “3”, and hereinafter, data h is bit “1”. It is shown as being expanded as. Figure 5
Since frame synchronization is not achieved in either case, the phase shift amount is adjusted in the same procedure as in the case of FIG.

【0022】このようにして位相シフト量を調整するこ
とで、パラレルデータに変換された後のフレームパター
ンの先頭ビットは、所定フレーム周期でシリアルで入力
されるデータのフレーム先頭ビットと同じになり、容易
に同期がとられる。なお、本実施例では、3多重化信号
を8ビットのパラレルデータに変換した場合の例につい
て説明したが、多重化数やパラレルデータのビット数は
任意であって良い。
By adjusting the amount of phase shift in this way, the head bit of the frame pattern after being converted into parallel data becomes the same as the frame head bit of the data serially input in a predetermined frame period, Easily synchronized. In the present embodiment, the example in which the 3-multiplexed signal is converted into 8-bit parallel data has been described, but the number of multiplexed signals and the number of bits of parallel data may be arbitrary.

【0023】[0023]

【効果】以上の説明から明らかなように、本発明によれ
ば、フレーム同期をとる際に、従来のように全フレーム
パターンについて全ビットを監視しなくとも、シリアル
に入力されるフレームパターンの先頭データがパラレル
変換後のフレームパターンの先頭データになる効果があ
る。また、一つのフレームパターン検出回路のみにより
フレーム同期をとることができるので、フレーム同期装
置の構成(回路規模)を簡略にすることができ、さら
に、回路規模が小さくなることから製造コストの低減化
を図ることもできる。
As is apparent from the above description, according to the present invention, at the time of frame synchronization, the head of a frame pattern to be serially input does not have to be monitored for all bits as in the conventional case. There is an effect that the data becomes the top data of the frame pattern after parallel conversion. Further, since the frame synchronization can be achieved by only one frame pattern detection circuit, the configuration (circuit scale) of the frame synchronization device can be simplified, and further, the circuit scale is reduced, thereby reducing the manufacturing cost. You can also plan.

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

【図1】本発明の一実施例に係るフレーム同期装置のブ
ロック構成図。
FIG. 1 is a block configuration diagram of a frame synchronization device according to an embodiment of the present invention.

【図2】本実施例による位相シフト量調整のための制御
信号のタイミング説明。
FIG. 2 is a timing chart of a control signal for adjusting a phase shift amount according to the present embodiment.

【図3】本実施例によるフレーム位相調整回路の構成
図。
FIG. 3 is a configuration diagram of a frame phase adjustment circuit according to the present embodiment.

【図4】シリアルデータをパラレルデータに変換した変
換出力フォーマット図。
FIG. 4 is a conversion output format diagram in which serial data is converted into parallel data.

【図5】シリアルデータをパラレルデータに変換した変
換出力フォーマット図。
FIG. 5 is a conversion output format diagram in which serial data is converted into parallel data.

【図6】従来のフレーム同期方式の概念図。FIG. 6 is a conceptual diagram of a conventional frame synchronization method.

【図7】従来のフレーム同期装置の構成例を示すブロッ
ク図。
FIG. 7 is a block diagram showing a configuration example of a conventional frame synchronization device.

【図8】送信側における多重化信号と受信側における多
重化信号の多重/分離構成図。
FIG. 8 is a multiplexing / demultiplexing configuration diagram of a multiplexed signal on the transmitting side and a multiplexed signal on the receiving side.

【図9】送信側における多重化前の各チャネルのデータ
構造図。
FIG. 9 is a data structure diagram of each channel before multiplexing on the transmission side.

【図10】送信側における多重化後のデータ構造図。FIG. 10 is a data structure diagram after multiplexing on the transmitting side.

【図11】従来例の一実施例のタイムチャート。FIG. 11 is a time chart of an example of a conventional example.

【符号の説明】[Explanation of symbols]

1 カウンタ 2 フレーム位相調整回路 3 シリアルパラレル変換回路 4 フレームパターン検出回路 5 保護回路 6 カウンタ制御部 10 シリアルパラレル変換回路 20 フレームパターン検出回路 30 データ並び替え回路 40 保護回路 DESCRIPTION OF SYMBOLS 1 counter 2 frame phase adjustment circuit 3 serial / parallel conversion circuit 4 frame pattern detection circuit 5 protection circuit 6 counter control unit 10 serial / parallel conversion circuit 20 frame pattern detection circuit 30 data rearrangement circuit 40 protection circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 所定のフレーム周期でシリアルに伝送さ
れ、単位データ長毎に位相シフトされる入力データをパ
ラレルのフレームパターンに展開するとともに、展開さ
れたフレームパターンと所要の同期パターンとを比較
し、両パターンが不一致のときは一致するまで前記入力
データの位相をシフトし、一致した時点で当該入力デー
タの位相を固定することを特徴とするフレーム同期方
法。
1. The input data serially transmitted at a predetermined frame cycle and phase-shifted for each unit data length is expanded into a parallel frame pattern, and the expanded frame pattern is compared with a required synchronization pattern. When the two patterns do not match, the phase of the input data is shifted until they match, and when they match, the phase of the input data is fixed.
【請求項2】 所定のフレーム周期でシリアルに伝送さ
れる入力データの位相を単位データ長毎にシフトする位
相調整回路と、 この位相調整回路で位相シフトされる入力データを順次
パラレルデータに変換するシリアルパラレル変換回路
と、 変換された各パラレルデータのフレームパターンを検出
して所要の同期パターンとの一致性を判定するフレーム
パターン検出回路と、 前記フレームパターン検出回路がフレームパターンと同
期パターンの一致を判定したときは前記位相調整回路に
よる位相シフト量を固定し、一方、不一致を判定したと
きは一致するまで前記位相シフト量を制御する位相制御
手段と、 を有することを特徴とするフレーム同期装置。
2. A phase adjustment circuit that shifts the phase of input data that is serially transmitted in a predetermined frame cycle for each unit data length, and input data that is phase-shifted by this phase adjustment circuit is sequentially converted into parallel data. A serial / parallel conversion circuit, a frame pattern detection circuit that detects the frame pattern of each converted parallel data and determines the matching with a required synchronization pattern, and the frame pattern detection circuit that matches the frame pattern and the synchronization pattern. A frame synchronization device, comprising: a phase control unit that fixes the phase shift amount by the phase adjustment circuit when the determination is made, and controls the phase shift amount until they match when the non-coincidence is determined.
【請求項3】 前記位相制御手段は、 前記入力データのフレーム周期よりも長いクロックタイ
ミングで自走し、前記フレームパターンおよび同期パタ
ーンが一致した時点を表す制御値を前記フレーム周期毎
に累計するカウンタと、 前記フレームパターン検出回路がパターン不一致を判定
したときは前記カウンタによる前記制御値の継続累計を
許容するとともにパターン一致を判定したときは前記カ
ウンタの累計を停止させてその時点の制御値を固定する
カウンタ制御回路と、を備え、該制御値に基づいて前記
位相調整回路の位相シフト量を制御することを特徴とす
る請求項2記載のフレーム同期装置。
3. The counter, wherein the phase control means is self-running at a clock timing longer than a frame cycle of the input data and accumulates a control value indicating a time point when the frame pattern and the synchronization pattern match each other for each frame cycle. When the frame pattern detection circuit determines a pattern mismatch, the counter allows the cumulative total of the control values to be continued, and when the pattern match is determined, the cumulative value of the counter is stopped and the control value at that time is fixed. 3. The frame synchronization device according to claim 2, further comprising a counter control circuit for controlling the phase shift amount of the phase adjustment circuit based on the control value.
【請求項4】前記位相制御手段は、さらに、 前記カウンタによる制御値の累計停止後、前記検出した
フレームパターンの同期状態を所定期間監視し、監視中
に同期ずれが生じた場合は前記カウンタによる前記制御
値の固定を解除するための初期化信号を生成する保護回
路を有することを特徴とする請求項3記載のフレーム同
期装置。
4. The phase control means further monitors the synchronization state of the detected frame pattern for a predetermined period after the control value is cumulatively stopped by the counter, and when the synchronization shift occurs during the monitoring, the phase control means uses the counter. 4. The frame synchronization device according to claim 3, further comprising a protection circuit that generates an initialization signal for releasing the fixed control value.
JP7108886A 1995-05-02 1995-05-02 Frame synchronism method and device Pending JPH08307404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7108886A JPH08307404A (en) 1995-05-02 1995-05-02 Frame synchronism method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7108886A JPH08307404A (en) 1995-05-02 1995-05-02 Frame synchronism method and device

Publications (1)

Publication Number Publication Date
JPH08307404A true JPH08307404A (en) 1996-11-22

Family

ID=14496095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7108886A Pending JPH08307404A (en) 1995-05-02 1995-05-02 Frame synchronism method and device

Country Status (1)

Country Link
JP (1) JPH08307404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628214B1 (en) 1998-09-01 2003-09-30 Seiko Epson Corporation Deserializer, semiconductor device, electronic device, and data transmission system
JP2012156833A (en) * 2011-01-27 2012-08-16 Seiko Epson Corp Image data acquiring method, image data acquiring device, driving device, electro-optical device and electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628214B1 (en) 1998-09-01 2003-09-30 Seiko Epson Corporation Deserializer, semiconductor device, electronic device, and data transmission system
JP2012156833A (en) * 2011-01-27 2012-08-16 Seiko Epson Corp Image data acquiring method, image data acquiring device, driving device, electro-optical device and electronic apparatus

Similar Documents

Publication Publication Date Title
JPH01233845A (en) Frame synchronizing system
JPH01157138A (en) Frame synchronization system
JPH08163116A (en) Frame synchronizer
US5128939A (en) Method of phase-converting frame and apparatus using same
US5442636A (en) Circuit and method for alignment of digital information packets
JPH07202865A (en) High-speed communication system, high-speed communication execution method and high-speed communication method
US4811341A (en) Hierarchical data transmission system
CA1187219A (en) Frame synchronizing signal insertion system
JPH08307404A (en) Frame synchronism method and device
JP2693758B2 (en) Frame pulse generation method
JPH08331090A (en) Path monitoring method
JP3146263B2 (en) Frame synchronization method
JPS6330822B2 (en)
JP3010804B2 (en) Dependent synchronization method
JP2001230749A (en) Time division multiplexer
JPH11122209A (en) Time division multiplex transmission method
JPH04196838A (en) Line quality monitoring device
JPH0478240A (en) Phase adjustment device
JPH01286552A (en) Signal processing system
JPH0541698A (en) Separation circuit
JPH0394533A (en) Transmission circuit for time division multiplexer
JPH0421223A (en) Demultiplex system for reception data
JPH0830350A (en) I / O device
JPH05304522A (en) Synchronization detection controller
JPH0884129A (en) Time division multiplex circuit