[go: up one dir, main page]

JPH098795A - Frame synchronizing method and communication equipment - Google Patents

Frame synchronizing method and communication equipment

Info

Publication number
JPH098795A
JPH098795A JP7178144A JP17814495A JPH098795A JP H098795 A JPH098795 A JP H098795A JP 7178144 A JP7178144 A JP 7178144A JP 17814495 A JP17814495 A JP 17814495A JP H098795 A JPH098795 A JP H098795A
Authority
JP
Japan
Prior art keywords
data
synchronization
frame
detected
delimiter
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
JP7178144A
Other languages
Japanese (ja)
Inventor
Toshihiro Kojima
俊広 小島
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP7178144A priority Critical patent/JPH098795A/en
Publication of JPH098795A publication Critical patent/JPH098795A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To establish synchronism in a short time by shifting detected digital code data for prescribed cycles N times and defining timing, with which the prescribed number of partition codes are detected on the same time base in those data, as frame synchronizing timing. CONSTITUTION: A frame synchronizing extraction part receives digital code data, to which the partition code showing the partition of data is added for each prescribed cycle, and when the partition code is detected in those data, a synchronizing pattern detect signal is outputted. A frame synchronizing protection part 3 shifts the synchronizing pattern detect signal for the prescribed cycles outputted from the frame synchronizing extraction part on the preceding stage N times while using a shift part 10 and at the timing with which the prescribed number of partition codes are detected on the same time base among the N pieces of shifted data, a synchronism build-up signal is outputted to a high-order layer. Therefore, even when a pseudo synchronizing pattern is contained in received data, the proper synchronizing pattern contained for each prescribed cycle can be surely detected without being missed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、フレーム同期方法及び
通信装置に係り、特に、同期捕捉時間の短縮化を図った
フレーム同期方法及び通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization method and a communication device, and more particularly to a frame synchronization method and a communication device for shortening the synchronization acquisition time.

【0002】[0002]

【従来の技術】従来、有線、無線を問わず、ディジタル
通信においてディジタル符号を伝送する場合、送信側で
はセルまたはフレームと呼ばれる所定の情報単位(以
下、フレーム)毎に区切り符号を付与しながら送信し、
受信側では区切りの符号を参照しながら各フレームを認
識することにより復調処理を行っている。
2. Description of the Related Art Conventionally, in the case of transmitting a digital code in digital communication, whether wired or wireless, the transmitting side transmits a delimiter code for each predetermined information unit (hereinafter, referred to as a frame) called a cell or a frame. Then
The receiving side performs demodulation processing by recognizing each frame while referring to the delimiter code.

【0003】図7は、二次群インターフェース(通信速
度6.312Mbit/s)のフレーム構成を示し、こ
の例では、1フレームの周期は125μsであり、1フ
レームは、98個のタイムスロット(1タイムスロット
=8ビット)と、それに続く5ビットのフレームビット
とからなる合計789ビットのデータで構成されてい
る。
FIG. 7 shows a frame structure of the secondary group interface (communication speed 6.312 Mbit / s). In this example, the period of one frame is 125 μs, and one frame has 98 time slots (1 (Time slot = 8 bits), followed by 5 bits of frame bits, for a total of 789 bits of data.

【0004】そして、二次群インターフェースにおける
インターフェース速度は6312kbit/sとなって
おり、97,98番目のタイムスロットとフレームビッ
トとを除く6144kbit/sがユーザ情報転送用に
用いられ、4マルチフレーム構成をとることによって第
1フレームの最終ビットを除くフレームビット(4ビッ
ト)及び第2フレームのフレームビット(5ビット)の
合計9ビットで同期パターンが構成されている。
The interface speed of the secondary group interface is 6312 kbit / s, 6144 kbit / s excluding the 97th and 98th time slots and frame bits are used for user information transfer, and a 4-multiframe structure is provided. By taking the above, the synchronization pattern is composed of a total of 9 bits of the frame bits (4 bits) excluding the last bit of the first frame and the frame bits (5 bits) of the second frame.

【0005】図8〜図10は、従来の受信装置における
同期捕捉を説明するための図であり、図8は、受信装置
の要部構成を示すブロック図、図9は、図8に示すフレ
ーム同期保護部のタイミングチャート、図10は、図8
に示すフレーム同期保護部の状態遷移図を示す。
8 to 10 are diagrams for explaining synchronization acquisition in a conventional receiving device, FIG. 8 is a block diagram showing a main configuration of the receiving device, and FIG. 9 is a frame shown in FIG. 8 is a timing chart of the synchronization protection unit, and FIG.
4 is a state transition diagram of the frame synchronization protection unit shown in FIG.

【0006】図8に示すように、受信装置1’は、フレ
ーム同期抽出部2、フレーム同期保護部3、上位レイヤ
4を含んで構成されている。フレーム同期抽出部2は、
受信したデータを上位レイヤ4に供給するとともに、フ
レーム同期保護部3に同期パターン検出信号を出力する
ものであり、フレーム同期保護部3は、フレーム同期抽
出部2から出力される同期パターン検出信号や、CRC
エラー検出信号(この場合、同期が取れているか否かに
よってカウントするかしないかを決定している)等を検
出することにより同期保護の動作を行い、上位レイヤ4
に対して同期確立信号を出力するものである。
As shown in FIG. 8, the receiving device 1'includes a frame synchronization extraction unit 2, a frame synchronization protection unit 3, and an upper layer 4. The frame synchronization extraction unit 2
The received data is supplied to the upper layer 4 and a synchronization pattern detection signal is output to the frame synchronization protection unit 3. The frame synchronization protection unit 3 outputs the synchronization pattern detection signal output from the frame synchronization extraction unit 2 and , CRC
The synchronization protection operation is performed by detecting an error detection signal (in this case, whether to count or not is determined depending on whether or not the synchronization is established), and the upper layer 4
To the synchronization establishment signal.

【0007】具体的には、フレーム同期保護部3は、図
10に示すように、まず、ハンチング状態から始まり、
1回の正しい同期パターンで前同期状態となる。その
後、2回連続して正しい同期パターンがくれば同期が確
立され(図9参照)、同期状態となる。ここで、前同期
状態の間に、1回でも間違った同期パターンや、CRC
エラーが検出されたときには、再びハンチング状態に戻
る。また、同期状態において、7回連続して間違った同
期パターン、または、32回連続してCRCエラーが検
出されたときにも再びハンチング状態となる。以上のよ
うに、従来の同期捕捉は、ハンチング状態,前同期状
態,同期状態の3つの状態を決められた処理手順によっ
て遷移することによって同期捕捉処理が行われていた。
Specifically, as shown in FIG. 10, the frame synchronization protection unit 3 starts from a hunting state,
It becomes the pre-synchronization state with one correct synchronization pattern. After that, if the correct synchronization pattern comes twice in a row, the synchronization is established (see FIG. 9) and the synchronization state is set. Here, during the previous synchronization state, even if the synchronization pattern or CRC
When an error is detected, it returns to the hunting state again. Also, in the synchronized state, the hunting state is again established when an incorrect synchronization pattern is detected seven times in succession or a CRC error is detected 32 times in succession. As described above, in the conventional synchronization acquisition, the synchronization acquisition processing is performed by transitioning the three states of the hunting state, the pre-synchronization state, and the synchronization state according to the determined processing procedure.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の受信装置1’におけるフレーム同期保護部3
にあっては、受信データの中に、ペイロード中にある同
期パターンと同じパターンの疑似同期パターンが存在す
ると、以下に述べるに理由から同期確立に極めて多くの
時間がかかるという問題点があった。
However, the frame synchronization protection unit 3 in the conventional receiving apparatus 1'as described above is used.
In this case, however, if a pseudo sync pattern having the same pattern as the sync pattern in the payload exists in the received data, there is a problem that it takes a very long time to establish the sync for the reason described below.

【0009】具体的には、例えば、図11に示すような
同期パターン検出信号がフレーム同期保護部3に送られ
てきた場合を想定してフレーム同期保護部3の状態を説
明する。まず、疑似同期パターンを示すパルス(1)を
検出することにより前同期状態となり、疑似同期パター
ンパルス(1)から1マルチフレーム後に同期パターン
パルスがあるか否かを検出する。ここで、従来のフレー
ム同期保護部3では、この1マルチフレーム間のパルス
(2),(3)は、検出することができないように構成
されていたため、この場合、1マルチフレーム後にパル
スがないことからハンチング状態となる。
Specifically, the state of the frame synchronization protection unit 3 will be described assuming that a synchronization pattern detection signal as shown in FIG. 11 is sent to the frame synchronization protection unit 3, for example. First, by detecting the pulse (1) indicating the pseudo sync pattern, the pre-synchronization state is established, and it is detected whether or not there is a sync pattern pulse one multiframe after the pseudo sync pattern pulse (1). Here, since the conventional frame synchronization protection unit 3 is configured so that the pulses (2) and (3) during one multiframe cannot be detected, in this case, there is no pulse after one multiframe. Therefore, hunting occurs.

【0010】次に、疑似同期パターンパルス(4)を検
出することにより前同期状態となり、さらに1マルチフ
レーム後にパルスがあるか否かを検出する。このように
して、最終的に正しい同期パターンパルス(15)を検
出することにより前同期状態となり、正しい同期パター
ンパルス(18),(20)を連続して2回検出するこ
とにより同期状態となって同期確立信号を上位レイヤ5
3に出力する。
Next, the pseudo sync pattern pulse (4) is detected to enter the pre-sync state, and it is further detected whether or not there is a pulse after one multiframe. In this manner, the correct sync pattern pulse (15) is finally detected to enter the pre-sync state, and the correct sync pattern pulses (18) and (20) are detected twice consecutively to enter the sync state. The synchronization establishment signal to the upper layer 5
Output to 3.

【0011】すなわち、前同期状態となるための疑似同
期パターンパルスを含む同期パターンパルスを検出して
から1マルチフレーム間は、仮にこの間に正しい同期パ
ターンパルスが存在したとしても、ハードウェアの構成
上検出することができなかった。この例では、4マルチ
フレームの間、同期捕捉を試みているが同期を捕捉でき
ず、結局、6マルチフレーム後に正しい同期パターンパ
ルスを検出した場合を示しているが、従来の方法では、
最悪の場合、マルチフレームのビット数のさらに数倍の
間、同期が確立しないことも理論上あり得る。
That is, from the detection of the sync pattern pulse including the pseudo sync pattern pulse for entering the pre-synchronization state, even if a correct sync pattern pulse exists during this one multi-frame, the hardware configuration makes sense. It could not be detected. In this example, the synchronization acquisition is attempted for 4 multiframes, but the synchronization cannot be acquired, and eventually, the correct synchronization pattern pulse is detected after 6 multiframes. However, in the conventional method,
In the worst case, it is theoretically possible that synchronization will not be established for an additional multiple of the number of bits in the multiframe.

【0012】〔目的〕本発明は、このような事情のもと
になされたものであり、その目的は、極めて短時間に同
期確立を実現することのできるフレーム同期方法及び通
信装置を提供することにある。
[Object] The present invention has been made under such circumstances, and an object of the present invention is to provide a frame synchronization method and a communication device capable of realizing synchronization establishment in an extremely short time. It is in.

【0013】[0013]

【課題を解決するための手段】本発明の通信装置は、所
定周期毎にデータの区切りを示す区切り符号を付与した
ディジタル符号データを受信し、該データ中に区切り符
号を検出すると同期パターン検出信号を出力するフレー
ム同期抽出部と、前記フレーム同期抽出部から出力され
る同期パターン検出信号を所定周期でN回シフトすると
ともに、シフトしたN個のデータのうち同一時間軸上に
所定数の区切り符号を検出したタイミングで上位レイヤ
に同期確立信号を出力するフレーム同期保護部と、を備
えることを特徴としている。
A communication device of the present invention receives digital code data to which a delimiter code indicating a delimiter of data is added every predetermined period, and when a delimiter code is detected in the data, a synchronization pattern detection signal is received. And a synchronization pattern detection signal output from the frame synchronization extraction unit N times in a predetermined cycle, and a predetermined number of delimiter codes on the same time axis among the N shifted data. And a frame synchronization protection unit that outputs a synchronization establishment signal to an upper layer at the timing of detecting.

【0014】この場合、フレーム同期保護部は、前記フ
レーム同期抽出部から出力される同期パターン検出信号
を所定周期でN回シフトしてN個のデータを並列出力
し、当該N個のデータのうち同一時間軸上に所定数の区
切り符号を検出したタイミングをフレーム同期タイミン
グとして上位レイヤに同期確立信号を出力するように構
成してもよい。
In this case, the frame synchronization protection unit shifts the synchronization pattern detection signal output from the frame synchronization extraction unit N times in a predetermined cycle to output N pieces of data in parallel, and among the N pieces of data, The synchronization establishment signal may be output to the upper layer using the timing at which a predetermined number of delimiter codes are detected on the same time axis as the frame synchronization timing.

【0015】[0015]

【作用】本発明のフレーム同期方法は、所定周期毎にデ
ータの区切りを示す区切り符号を付与したディジタル符
号データを受信し、この区切り符号が所定周期内にN回
連続して検出されたタイミングをフレーム同期点とする
フレーム同期方法であって、受信したディジタル符号デ
ータから区切り符号を検出した場合には、当該ディジタ
ル符号データに対して所定周期分のシフトをN回行い、
シフトしたN個のデータのうち同一時間軸上に所定数の
区切り符号を検出したタイミングをフレーム同期タイミ
ングとして抽出する。
The frame synchronization method of the present invention receives digital code data to which a delimiter code indicating a delimiter of data is added every predetermined period, and the timing at which the delimiter code is detected N times consecutively within the predetermined period is detected. In the frame synchronization method of using the frame synchronization point, when a delimiter code is detected from the received digital code data, the digital code data is shifted by a predetermined period N times,
The timing at which a predetermined number of delimiter codes are detected on the same time axis among the shifted N pieces of data is extracted as the frame synchronization timing.

【0016】また、受信したディジタル符号データから
区切り符号を検出した場合には、当該ディジタル符号デ
ータに対して所定周期分のシフトをN回行ってN個のデ
ータを並列に出力し、この出力したN個のデータのうち
同一時間軸上に所定数の区切り符号を検出したタイミン
グをフレーム同期タイミングとして抽出する。
Further, when a delimiter code is detected from the received digital code data, the digital code data is shifted by a predetermined period N times to output N pieces of data in parallel, and this is output. The timing at which a predetermined number of delimiter codes are detected on the same time axis among the N pieces of data is extracted as the frame synchronization timing.

【0017】これによって、受信データ中に疑似同期パ
ターンが含まれていても、所定周期毎に含まれる正しい
同期パターンパルスを取りこぼすことなく確実に検出で
きる。
As a result, even if the received data contains a pseudo sync pattern, it is possible to reliably detect the correct sync pattern pulse included in each predetermined cycle without dropping it.

【0018】[0018]

【実施例】以下、本発明の好適な一実施例を図面を参照
して説明する。図1は、本発明のフレーム同期方法を適
用した通信装置1のフレーム同期保護部の構成を示すブ
ロック図である。なお、図1において、図8の従来例の
構成とと同一要素部分には同一符号を付して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a frame synchronization protection unit of a communication device 1 to which the frame synchronization method of the present invention is applied. In FIG. 1, the same elements as those of the configuration of the conventional example of FIG.

【0019】図1に示すように、本実施例の通信装置1
は、図8に示す従来例と同様に、フレーム同期抽出部
2、CRCエラー検出部(図示せず)、フレーム同期保
護部3、上位レイヤ4を含んで構成されている。フレー
ム同期抽出部2は、受信したデータを上位レイヤに供給
するとともに、フレーム同期保護部3に同期パターン検
出信号を出力するものであり、CRCエラー検出部は、
CRCエラーを検出してフレーム同期保護部3にCRC
エラー検出信号を出力するものである。
As shown in FIG. 1, the communication device 1 of this embodiment.
Like the conventional example shown in FIG. 8, is composed of a frame synchronization extraction unit 2, a CRC error detection unit (not shown), a frame synchronization protection unit 3, and an upper layer 4. The frame synchronization extraction unit 2 supplies the received data to the upper layer and outputs a synchronization pattern detection signal to the frame synchronization protection unit 3, and the CRC error detection unit
CRC error is detected and CRC is applied to the frame synchronization protection unit 3.
It outputs an error detection signal.

【0020】フレーム同期保護部2は、図1に示すよう
に、シフト部10、CRCリセット部11、マルチフレ
ームカウンタ12、エラーリセット部13、パルス検出
部14、アンドゲートA1,A2,A3、RSフリップ
フロップF1を含んで構成されており、フレーム同期抽
出部2から出力される同期パターン検出信号や、CRC
エラー検出部から出力されるCRCエラー検出信号等を
検出することによって同期保護の動作を行い、上位レイ
ヤ4に対して同期確立信号を出力するものである。
As shown in FIG. 1, the frame synchronization protection unit 2 includes a shift unit 10, a CRC reset unit 11, a multi-frame counter 12, an error reset unit 13, a pulse detection unit 14, AND gates A1, A2, A3, RS. The flip-flop F1 is included, and the sync pattern detection signal output from the frame sync extraction unit 2 and the CRC
By detecting a CRC error detection signal or the like output from the error detection unit, a synchronization protection operation is performed and a synchronization establishment signal is output to the upper layer 4.

【0021】シフト部10は、前段のフレーム同期抽出
部2より出力される同期パターン検出信号を3つに分岐
し、1つ目は、3入力アンドゲートA1の第一入力端に
直接接続し、2つ目は、RAM21を介して1マルチフ
レーム分シフトさせた信号を3入力アンドゲートA1の
第二入力端に接続し、3つ目は、RAM22を介して2
マルチフレーム分シフトさせた信号を3入力アンドゲー
トA1の第三入力端に接続している。これによって、現
在フレームでの信号と1マルチフレーム前の信号と2マ
ルチフレーム前の信号とが同一タイミングで“H”とな
るときにのみ、アンドゲートA1から“H”が出力され
る。そして、アンドゲートA1の出力端は、アンドゲー
トA2の一方入力端に接続されている。なお、アンドゲ
ートA2の他方入力端はRSフリップフロップF1の出
力端に接続されており、また、アンドゲートA2の出力
端はRSフリップフロップF1のセット入力端に接続さ
れている。
The shift unit 10 branches the sync pattern detection signal output from the preceding frame sync extraction unit 2 into three, the first of which is directly connected to the first input terminal of the 3-input AND gate A1. The second is to connect the signal shifted by one multi-frame via the RAM 21 to the second input end of the 3-input AND gate A1, and the third is to connect to the second input via the RAM 22.
A signal shifted by multiple frames is connected to the third input terminal of the 3-input AND gate A1. As a result, the AND gate A1 outputs "H" only when the signal in the current frame, the signal one multiframe before, and the signal two multiframes before become "H" at the same timing. The output end of the AND gate A1 is connected to one input end of the AND gate A2. The other input end of the AND gate A2 is connected to the output end of the RS flip-flop F1, and the output end of the AND gate A2 is connected to the set input end of the RS flip-flop F1.

【0022】CRCリセット部11は、前段のCRCエ
ラー検出部よりCRCエラーフラグを検出すると、アン
ドゲートA1にリセット信号を出力し、アンドゲートA
1からの出力を止めるものである。マルチフレームカウ
ンタ12は、アンドゲートA2からの出力パルスをカウ
ントすることにより、1マルチフレームの周期を確認す
るためのものであり、このマルチフレームカウンタ12
の出力はエラーリセット部13及びアンドゲートA3の
一方入力端に接続している。なお、アンドゲートA3で
は、他方入力端に同期パターン検出信号を入力すること
により同期パターン検出信号が1マルチフレームのタイ
ミングで常に出力されているかを検出し、アンドゲート
A3の出力端はパルス検出部14の入力端に接続されて
いる。
The CRC reset section 11 outputs a reset signal to the AND gate A1 when it detects a CRC error flag from the CRC error detection section in the preceding stage, and the AND gate A1.
The output from 1 is stopped. The multi-frame counter 12 is for confirming the cycle of one multi-frame by counting the output pulse from the AND gate A2.
Is connected to the error reset section 13 and one input terminal of the AND gate A3. The AND gate A3 detects whether the synchronization pattern detection signal is always output at the timing of one multi-frame by inputting the synchronization pattern detection signal to the other input end, and the output end of the AND gate A3 has a pulse detection unit. It is connected to 14 input terminals.

【0023】エラーリセット部13では、CRCエラー
フラグと1マルチフレームを数えているパルスとを参照
することにより、1マルチフレーム中にCRCエラーが
32回連続してきているか否かを検出する。ここで、エ
ラーが検出されれば、同期を外すためにRSフリップフ
ロップF1のリセット端子及びアンドゲートA1に対し
てリセット信号を出力し、同期信号の出力を止めるもの
である。
The error reset unit 13 refers to the CRC error flag and the pulse counting one multi-frame to detect whether or not the CRC error has continued 32 times in one multi-frame. Here, if an error is detected, a reset signal is output to the reset terminal of the RS flip-flop F1 and the AND gate A1 in order to remove the synchronization, and the output of the synchronization signal is stopped.

【0024】パルス検出部14は、7回連続して同期パ
ターン検出信号が検出されない場合、エラーリセット部
13と同様に、RSフリップフロップF1のリセット端
子及びアンドゲートA1に対してリセット信号を出力す
るものであり、さらには、例えば、警報や入力断等のよ
うに、状態遷移図に関係なく同期が外れた場合にも、に
もリセット信号を出力する。
The pulse detector 14 outputs a reset signal to the reset terminal of the RS flip-flop F1 and the AND gate A1 in the same manner as the error reset unit 13 when the synchronization pattern detection signal is not detected seven times in a row. Further, the reset signal is output even when the synchronization is lost irrespective of the state transition diagram such as an alarm or disconnection of input.

【0025】次に上述実施例の作用について、図2〜図
4を参照して説明する。図2〜図4は、本実施例の動作
例を説明するための図であり、図2は、本実施例のフレ
ーム同期保護部3における信号波形図、図3は、本実施
例のフレーム同期保護部の状態遷移図である。なお、フ
レーム同期抽出部2は、正規の正しい同期パターンだけ
ではなく、疑似同期パターンに対しても同期パターン検
出信号を出力するため、図2中では、疑似同期パターン
を斜線の入ったパルス波形で示し、また、正しい同期パ
ターンを斜線の入っていないパルス波形で示すことによ
って両者を区別している。
Next, the operation of the above embodiment will be described with reference to FIGS. 2 to 4 are diagrams for explaining an operation example of the present embodiment, FIG. 2 is a signal waveform diagram in the frame synchronization protection unit 3 of the present embodiment, and FIG. 3 is a frame synchronization of the present embodiment. It is a state transition diagram of a protection part. Since the frame synchronization extraction unit 2 outputs the synchronization pattern detection signal not only to the correct normal synchronization pattern but also to the pseudo synchronization pattern, the pseudo synchronization pattern is represented by a pulse waveform with diagonal lines in FIG. The two are distinguished from each other by showing the correct synchronization pattern by a pulse waveform without hatching.

【0026】図2において、(a)は、CRCエラー検
出部より出力されるCRCエラー信号、(b)は、フレ
ーム同期抽出部2より受信信号中に同期パターンを検出
すると1つのパルスを発生する同期パターン検出信号を
示している。(c)及び(d)は、(b)に示す同期パ
ターン検出信号が1マルチフレーム分または2マルチフ
レーム分シフトされた信号であり、(c)はRAM21
の出力、(d)はRAM22の出力である。(e)は、
(b),(c),(d)の論理積となるアンドゲートA
1の出力信号である。
In FIG. 2, (a) is a CRC error signal output from the CRC error detection section, and (b) is one pulse when the frame synchronization extraction section 2 detects a synchronization pattern in the received signal. The synchronization pattern detection signal is shown. (C) and (d) are signals obtained by shifting the synchronization pattern detection signal shown in (b) by one multiframe or two multiframes, and (c) is the RAM 21.
Output, and (d) is the output of the RAM 22. (E)
AND gate A which is the logical product of (b), (c) and (d)
1 output signal.

【0027】そして、本実施例では、図8に示す従来例
と同様に、3マルチフレーム連続して同期パターン検出
信号が発生したときに同期確立信号を発生するようにな
っているが、図3に示すように、本実施例では前同期状
態はなく、ハンチング状態において3マルチフレーム連
続して同期パターン検出信号を検出すれば、前同期状態
を経ることなくすぐに同期確立信号を発生する。
In this embodiment, as in the conventional example shown in FIG. 8, the synchronization establishment signal is generated when the synchronization pattern detection signal is generated continuously for 3 multiframes. As shown in FIG. 7, in the present embodiment, there is no pre-synchronization state, and if the synchronization pattern detection signal is detected continuously in three multiframes in the hunting state, the synchronization establishment signal is immediately generated without passing through the pre-synchronization state.

【0028】すなわち、本実施例では、図2に示すよう
に、同一時間軸上に3マルチフレーム連続して発生する
正しい同期パターンのようなパルスが検出された場合の
み、同期確立信号が出力されることになるため、アンド
ゲートA2では、アンドゲートA1の出力の最初の1パ
ルスのみを出力、また、RSフリップフロップF1で
は、同期を捕捉するかどうかの判断基準となるパルスを
出力することになる。
That is, in the present embodiment, as shown in FIG. 2, the synchronization establishment signal is output only when a pulse having a correct synchronization pattern which is generated continuously in three multiframes on the same time axis is detected. Therefore, the AND gate A2 outputs only the first one pulse of the output of the AND gate A1, and the RS flip-flop F1 outputs the pulse serving as a criterion for determining whether or not the synchronization is captured. Become.

【0029】図4は、本実施例の効果を説明するための
タイミングチャートである。図11に示すような同期パ
ターン検出信号を検出した場合、従来例では、同期確立
に長い時間を要しているが、本実施例では、図4に示す
ように、従来検出されなかったマルチフレーム内の正し
い同期パターンパルスを確実に検出することにより、短
時間に同期確立を行うことができる。
FIG. 4 is a timing chart for explaining the effect of this embodiment. When the synchronization pattern detection signal as shown in FIG. 11 is detected, in the conventional example, it takes a long time to establish synchronization, but in the present embodiment, as shown in FIG. It is possible to establish synchronization in a short time by surely detecting the correct synchronization pattern pulse in the above.

【0030】なお、上記実施例では、同期パターン検出
信号を用いて同期確立を行っているが、本発明はこの例
に限らず、例えば、フレームデータ構成が、図5に示す
ように、セルの頭にヘッダを配置し、その後ろにデータ
を続けるものにも適用可能である。すなわち、セルヘッ
ダは、ヘッダ誤り制御フィールド(1オクテット)と、
そのヘッダ誤り保護対象のヘッダビット(4オクテッ
ド)とから構成されている。一般に、セル同期は、ヘッ
ダ誤り制御の結果を利用して行われ、同期抽出部ではヘ
ッダであると仮定した領域に対してヘッダ誤り制御符号
則が当てはまるかどうかがビット毎に検査される。
In the above embodiment, the synchronization is established by using the synchronization pattern detection signal. However, the present invention is not limited to this example. For example, the frame data structure is as shown in FIG. It is also applicable to the one that puts a header on the head and follows the data. That is, the cell header includes a header error control field (1 octet),
The header error protection target header bits (4 octets). In general, cell synchronization is performed using the result of header error control, and the synchronization extraction unit inspects for each bit whether or not the header error control coding rule is applied to an area assumed to be a header.

【0031】このようなセル流に本発明を適用する場合
は、一度、前記の検査の結果が所定の状態になると同期
検出信号が発生するので、この信号を上述した実施例に
おける同期パターン検出信号とみなし、それをフレーム
同期保護部3に出力することにより(例えば、SDHベ
ースのインターフェースにおいても)、図1に示すシフ
ト部10内のRAMをσ個使用することにより、図6に
示すようなヘッダ誤り制御パターン検出条件を含む状態
遷移図にしたがって同期を捕捉することができる。
When the present invention is applied to such a cell flow, a synchronization detection signal is generated once the result of the above inspection reaches a predetermined state. Therefore, this signal is used as the synchronization pattern detection signal in the above-described embodiment. 6 and by outputting it to the frame synchronization protection unit 3 (for example, even in the SDH-based interface), by using σ RAMs in the shift unit 10 shown in FIG. The synchronization can be captured according to the state transition diagram including the header error control pattern detection condition.

【0032】この場合、SDHベースインターフェース
における値としてはα=7,σ=6、セルベースインタ
ーフェースにおける値としてはα=7,σ=8が提案さ
れている。
In this case, α = 7 and σ = 6 have been proposed as values for the SDH base interface, and α = 7 and σ = 8 as values for the cell base interface.

【0033】[0033]

【発明の効果】本発明では、受信データ中に疑似同期パ
ターンが含まれていても、所定周期毎に含まれる正しい
同期パターンパルスを取りこぼすことなく確実に検出す
ることができるので、短時間に同期確立を行うことがで
きる。
According to the present invention, even if the received data includes a pseudo sync pattern, the correct sync pattern pulse included in each predetermined cycle can be detected without fail, so that it can be performed in a short time. Synchronization can be established.

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

【図1】本発明一実施例のフレーム同期保護部の構成を
示すブロック図。
FIG. 1 is a block diagram showing a configuration of a frame synchronization protection unit according to an embodiment of the present invention.

【図2】本発明一実施例のフレーム同期保護部における
信号波形図。
FIG. 2 is a signal waveform diagram in a frame synchronization protection unit according to an embodiment of the present invention.

【図3】本発明一実施例のフレーム同期保護部の状態遷
移図。
FIG. 3 is a state transition diagram of a frame synchronization protection unit according to an embodiment of the present invention.

【図4】本発明一実施例の効果を説明するためのタイミ
ングチャート。
FIG. 4 is a timing chart for explaining an effect of one embodiment of the present invention.

【図5】本発明他の実施例のフレームデータを示す図。FIG. 5 is a diagram showing frame data according to another embodiment of the present invention.

【図6】本発明他の実施例のフレーム同期保護部の状態
遷移図。
FIG. 6 is a state transition diagram of a frame synchronization protection unit according to another embodiment of the present invention.

【図7】二次群インターフェースのフレーム構成を示す
図。
FIG. 7 is a diagram showing a frame structure of a secondary group interface.

【図8】従来例における受信装置の要部構成を示すブロ
ック図。
FIG. 8 is a block diagram showing a main configuration of a receiving device in a conventional example.

【図9】図8に示すフレーム同期保護部のタイミングチ
ャート。
9 is a timing chart of the frame synchronization protection unit shown in FIG.

【図10】図8に示すフレーム同期保護部の状態遷移
図。
10 is a state transition diagram of the frame synchronization protection unit shown in FIG.

【図11】従来例における問題点を説明するためのタイ
ミングチャート。
FIG. 11 is a timing chart for explaining problems in the conventional example.

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

1 通信装置 2 フレーム同期抽出部 3 フレーム同期保護部 4 上位レイヤ 10 シフト部 11 CRCリセット部 12 マルチフレームカウンタ 13 エラーリセット部 14 パルス検出部 21 RAM 22 RAM A1〜A3 アンドゲート F1 RSフリップフロップ DESCRIPTION OF SYMBOLS 1 communication device 2 frame synchronization extraction unit 3 frame synchronization protection unit 4 upper layer 10 shift unit 11 CRC reset unit 12 multi-frame counter 13 error reset unit 14 pulse detection unit 21 RAM 22 RAM A1 to A3 AND gate F1 RS flip-flop

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】所定周期毎にデータの区切りを示す区切り
符号を付与したディジタル符号データを受信し、この区
切り符号が所定周期内にN回連続して検出されたタイミ
ングをフレーム同期点とするフレーム同期方法であっ
て、 受信したディジタル符号データから区切り符号を検出し
た場合、当該ディジタル符号データに対して所定周期分
のシフトをN回行い、シフトしたN個のデータのうち同
一時間軸上に所定数の区切り符号を検出したタイミング
をフレーム同期タイミングとして抽出することを特徴と
するフレーム同期方法。
1. A frame which receives digital code data to which a delimiter code indicating a delimiter of data is added at every predetermined cycle, and which has a timing at which the delimiter code is continuously detected N times within a predetermined cycle as a frame synchronization point. In the synchronization method, when a delimiter code is detected from the received digital code data, the digital code data is shifted by a predetermined period N times and a predetermined time is shifted from the N shifted data on the same time axis. A frame synchronization method, wherein a timing at which a number delimiter code is detected is extracted as a frame synchronization timing.
【請求項2】所定周期毎にデータの区切りを示す区切り
符号を付与したディジタル符号データを受信し、この区
切り符号が所定周期内にN回連続して検出されたタイミ
ングをフレーム同期点とするフレーム同期方法であっ
て、 受信したディジタル符号データから区切り符号を検出し
た場合、当該ディジタル符号データに対して所定周期分
のシフトをN回行ってN個のデータを並列に出力し、こ
の出力したN個のデータのうち同一時間軸上に所定数の
区切り符号を検出したタイミングをフレーム同期タイミ
ングとして抽出することを特徴とするフレーム同期方
法。
2. A frame in which digital code data to which a delimiter code indicating a delimiter of data is added at every predetermined cycle is received, and a timing at which the delimiter code is detected N times consecutively within a predetermined cycle is set as a frame synchronization point. In the synchronizing method, when a delimiter code is detected from the received digital code data, the digital code data is shifted by a predetermined period N times to output N pieces of data in parallel, and the output N A frame synchronization method characterized in that the timing at which a predetermined number of delimiter codes are detected on the same time axis among the pieces of data is extracted as frame synchronization timing.
【請求項3】所定周期毎にデータの区切りを示す区切り
符号を付与したディジタル符号データを受信し、該デー
タ中に区切り符号を検出すると同期パターン検出信号を
出力するフレーム同期抽出部と、 前記フレーム同期抽出部から出力される同期パターン検
出信号を所定周期でN回シフトするとともに、シフトし
たN個のデータのうち同一時間軸上に所定数の区切り符
号を検出したタイミングで上位レイヤに同期確立信号を
出力するフレーム同期保護部と、 を備えることを特徴とする通信装置。
3. A frame synchronization extraction unit that receives digital code data to which a delimiter code indicating a delimiter of data is added at every predetermined cycle, and outputs a synchronization pattern detection signal when the delimiter code is detected in the data, said frame The synchronization pattern detection signal output from the synchronization extraction unit is shifted N times in a predetermined cycle, and a synchronization establishment signal is sent to the upper layer at a timing when a predetermined number of delimiter codes are detected on the same time axis among the N shifted data. And a frame synchronization protection unit that outputs
【請求項4】所定周期毎にデータの区切りを示す区切り
符号を付与したディジタル符号データを受信し、該デー
タ中に区切り符号を検出すると同期パターン検出信号を
出力するフレーム同期抽出部と、 前記フレーム同期抽出部から出力される同期パターン検
出信号を所定周期でN回シフトしてN個のデータを並列
出力し、当該N個のデータのうち同一時間軸上に所定数
の区切り符号を検出したタイミングをフレーム同期タイ
ミングとして上位レイヤに同期確立信号を出力するフレ
ーム同期保護部と、を備えることを特徴とする通信装
置。
4. A frame synchronization extraction unit that receives digital code data to which a delimiter code indicating a delimiter of data is added at every predetermined cycle, and outputs a synchronization pattern detection signal when a delimiter code is detected in the data, said frame Timing at which the synchronization pattern detection signal output from the synchronization extraction unit is shifted N times in a predetermined cycle to output N pieces of data in parallel, and a predetermined number of delimiter codes are detected on the same time axis among the N pieces of data. And a frame synchronization protection unit that outputs a synchronization establishment signal to an upper layer using the frame synchronization timing as a frame synchronization timing.
JP7178144A 1995-06-21 1995-06-21 Frame synchronizing method and communication equipment Pending JPH098795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7178144A JPH098795A (en) 1995-06-21 1995-06-21 Frame synchronizing method and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7178144A JPH098795A (en) 1995-06-21 1995-06-21 Frame synchronizing method and communication equipment

Publications (1)

Publication Number Publication Date
JPH098795A true JPH098795A (en) 1997-01-10

Family

ID=16043417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7178144A Pending JPH098795A (en) 1995-06-21 1995-06-21 Frame synchronizing method and communication equipment

Country Status (1)

Country Link
JP (1) JPH098795A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4844632B2 (en) * 2005-11-29 2011-12-28 エスティー‐エリクソン、ソシエテ、アノニム Bus station and system and method for maintaining bus station synchronization
CN103424023A (en) * 2012-05-21 2013-12-04 韩国邦迪株式会社 L-type turn-fin tube and turn-fin type heat exchange

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4844632B2 (en) * 2005-11-29 2011-12-28 エスティー‐エリクソン、ソシエテ、アノニム Bus station and system and method for maintaining bus station synchronization
CN103424023A (en) * 2012-05-21 2013-12-04 韩国邦迪株式会社 L-type turn-fin tube and turn-fin type heat exchange

Similar Documents

Publication Publication Date Title
JP4207329B2 (en) Frame synchronization circuit
CA1167185A (en) Frame resynchronization circuit for digital receiver
EP0320882B1 (en) Demultiplexer system
US4404675A (en) Frame detection and synchronization system for high speed digital transmission systems
JPH08163116A (en) Frame synchronizer
JP2861932B2 (en) Burst frame phase synchronization circuit
US5619532A (en) Digital communication system
JPH098795A (en) Frame synchronizing method and communication equipment
JP3189271B2 (en) System and method for non-instantaneous transmission line switching in case of SDH transmission failure
JP4441648B2 (en) Frame synchronization circuit
JP3411197B2 (en) Line termination equipment
JPH0818549A (en) Multi-frame sync protection circuit
JPH0823329A (en) Frame synchronization circuit
JP2726596B2 (en) Frame synchronization circuit
JP3978898B2 (en) Multiframe synchronization detection method and apparatus
JPH05167573A (en) Out of sync detector
JP2605051B2 (en) Communication device
JPH08204693A (en) Frame synchronizing circuit
JPS5875346A (en) Frame synchronizing system
JPS6212226A (en) Method of detecting dissidence of synchronization pattern
JPH0530067A (en) Channel detector
JPH01253335A (en) Multi-frame synchronism inspecting method
JPH11127140A (en) Frame synchronization circuit and synchronization system using pn pattern
JPH11187006A (en) Pcm digital communication equipment
JPH0588580B2 (en)