JPH0637745A - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JPH0637745A
JPH0637745A JP4190555A JP19055592A JPH0637745A JP H0637745 A JPH0637745 A JP H0637745A JP 4190555 A JP4190555 A JP 4190555A JP 19055592 A JP19055592 A JP 19055592A JP H0637745 A JPH0637745 A JP H0637745A
Authority
JP
Japan
Prior art keywords
circuit
synchronization
bit
output
error
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.)
Granted
Application number
JP4190555A
Other languages
Japanese (ja)
Other versions
JP2979852B2 (en
Inventor
Masahiko Ono
正彦 大野
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4190555A priority Critical patent/JP2979852B2/en
Publication of JPH0637745A publication Critical patent/JPH0637745A/en
Application granted granted Critical
Publication of JP2979852B2 publication Critical patent/JP2979852B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

(57)【要約】 【目的】PCM通信のフレーム同期回路において、巡回
同期ビットの位置を識別することによる同期ビット誤り
検出回路の複雑化を避ける。 【構成】入力PCMデータをシフト回路20に蓄積し、
中間タップ21〜2mのビットを同期パターン比較回路
30で比較し、その結果を同期パターン検出回路40で
蓄積,淘汰することにより同期パターンを検出する。パ
ルスジェネレータ50により周期パルスを発生させ、そ
のタイミングで入力同期ビットの誤り判定を行い、誤り
の場合、インバータ12とセレクタ13で訂正した後、
シフト回路20に入力することにより誤りの伝播を防ぎ
誤りビットの同期パターン内位置を識別する必要を無く
す。
(57) [Abstract] [Purpose] In a frame synchronization circuit of PCM communication, avoiding complication of a synchronization bit error detection circuit due to identifying the position of a cyclic synchronization bit. [Structure] Input PCM data is accumulated in a shift circuit 20,
The synchronization pattern comparison circuit 30 compares the bits of the intermediate taps 21 to 2m, and the synchronization pattern detection circuit 40 accumulates and filters the results to detect the synchronization pattern. A periodic pulse is generated by the pulse generator 50, an error determination of the input synchronization bit is performed at that timing, and if an error is detected, it is corrected by the inverter 12 and the selector 13,
By inputting it to the shift circuit 20, it is possible to prevent the propagation of error and eliminate the need to identify the position of the error bit in the synchronization pattern.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はPCM通信のフレーム同
期回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronizing circuit for PCM communication.

【0002】[0002]

【従来の技術】従来のフレーム同期回路は、同期確立
後、同期パターンのビットエラーを検出するための前方
保護回路として入力PCMデータに対応した同期パター
ンを備え、両者を比較する方法であった。
2. Description of the Related Art A conventional frame synchronization circuit is provided with a synchronization pattern corresponding to input PCM data as a front protection circuit for detecting a bit error of the synchronization pattern after the synchronization is established, and a method of comparing the two is used.

【0003】同期パターンが例えばXビット間隔に1ビ
ットずつ配置され一定のビットが巡回的に使用されてい
る場合、どのビットが入力しているかを識別する必要が
あった。例えば同期パターンとしてNビットが使われて
いる場合には検出用開始タイミングによりNビットのど
こから始まるかが異なり、全部でN通り存在するため、
1ビットずつずらした同期パターンをN個用意し、それ
らを各々しきい値とするAND型比較器をN個備え、ど
の比較器から一致結果が発生するかを調べ、それに応じ
て入力するPCMデータ内の同期ビットを想定し比較す
る方式であった。
When the synchronization pattern is arranged, for example, one bit at an X-bit interval and a certain number of bits are cyclically used, it is necessary to identify which bit is input. For example, when N bits are used as the synchronization pattern, the starting position of N bits differs depending on the detection start timing, and there are N patterns in total.
N synchronization patterns prepared by shifting by 1 bit are prepared, N AND-type comparators each of which has a threshold value are provided, which comparator produces a coincidence result, and PCM data to be input according to the comparison result is obtained. It was a method to compare by assuming the synchronization bit in.

【0004】[0004]

【発明が解決しようとする課題】この従来のフレーム同
期回路では、同期パターンのビット数分のAND型比較
器を備え、どの比較器から一致結果が発生するかによっ
て、入力PCM内の同期ビットが次は何かを想定するた
め検出回路が複雑になる欠点があった。
This conventional frame synchronization circuit is provided with AND-type comparators for the number of bits of the synchronization pattern, and the synchronization bit in the input PCM depends on which comparator produces the coincidence result. Next, there is a drawback that the detection circuit becomes complicated because something is supposed.

【0005】[0005]

【課題を解決するための手段】本発明のフレーム同期回
路は、選択制御信号に応じてPCMデータとその反転デ
ータとのいずれか一方を選択するセレクタと、該セレク
タの出力を1ビットずつシフトしながら所定ビット数分
格納するシフト回路と、該シフト回路の中間タップのデ
ータを所定の同期パターンと比較する比較回路と、該比
較回路の比較結果出力を蓄積し同期パターンを検出する
検出回路と、該検出回路の検出出力をトリガとし周期パ
ルスを発生するパルス発生回路と、該周期パルスと前記
比較回路の比較結果出力とにより前記選択制御信号を作
成し前記セレクタを制御する回路と、前記比較結果出力
を前記周期パルスの周期ごとに蓄積し多数決演算し同期
維持を確認する回路とを備えている。
SUMMARY OF THE INVENTION A frame synchronization circuit of the present invention is a selector for selecting either PCM data or its inverted data in response to a selection control signal, and shifting the output of the selector bit by bit. However, a shift circuit that stores a predetermined number of bits, a comparison circuit that compares the data of the intermediate tap of the shift circuit with a predetermined synchronization pattern, and a detection circuit that accumulates the comparison result output of the comparison circuit and detects the synchronization pattern, A pulse generation circuit that generates a periodic pulse by using the detection output of the detection circuit as a trigger, a circuit that creates the selection control signal by the periodic pulse and the comparison result output of the comparison circuit, and controls the selector, and the comparison result. A circuit for accumulating the output for each cycle of the periodic pulse, performing a majority calculation and confirming the synchronization maintenance is provided.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】図1は本発明の一実施例のブロック回路図
である。PCM入力データ(IN)が入力端子11に入
力し、セレクタ13にインバータ12を通したデータと
元のデータとが導びかれ、セレクタ13で選択されたデ
ータがシフト回路20へ出力される。セレクタ13から
初期は元のデータが出力される。その理由としては、パ
ルスジェネレータ50からの出力が“0”のため、それ
を入力とし出力をセレクタ13の制御信号とするアンド
ゲート(AND)62の出力が“0”であるためであ
る。さて、シフト回路20に順次入力するPCMデータ
は、中間タップ並びに入力端子11から信号モニタ線2
1,22,…,2mで取出される。中間タップの間隔は
同期ビットの配置間隔に等しい。これらのモニタ入力は
同期パターン比較回路30で同期パターンと比較され、
一致なら“1”,不一致なら“0”が比較結果データ
(MAC)として信号線39へ出力される。信号線39
のデータ(MAC)は同期パターン検出回路40に入力
され、規定回数一致したパターンが同期パターンと判断
され、そのタイミングでトリガ信号(TRG)が信号線
49に出力される。このトリガ信号により、パルスジェ
ネレータ50が動作を開始し、トリガ信号のタイミング
を基準として同期ビットの配置間隔に等しい周期のパル
スを発生し、同期パルス(SYC)として出力端子92
から外部へ供給される。
FIG. 1 is a block circuit diagram of an embodiment of the present invention. The PCM input data (IN) is input to the input terminal 11, the data passed through the inverter 12 and the original data are guided to the selector 13, and the data selected by the selector 13 is output to the shift circuit 20. Original data is initially output from the selector 13. The reason is that the output from the pulse generator 50 is "0", and the output of the AND gate (AND) 62 which receives the output as a control signal of the selector 13 is "0". Now, the PCM data sequentially input to the shift circuit 20 includes the signal monitor line 2 from the intermediate tap and the input terminal 11.
It is taken out at 1, 2, ..., 2m. The interval of the intermediate taps is equal to the arrangement interval of the sync bits. These monitor inputs are compared with the sync pattern by the sync pattern comparison circuit 30,
If they match, "1" is output, and if they do not match, "0" is output to the signal line 39 as comparison result data (MAC). Signal line 39
Data (MAC) is input to the synchronization pattern detection circuit 40, a pattern that matches a prescribed number of times is determined to be a synchronization pattern, and a trigger signal (TRG) is output to the signal line 49 at that timing. The trigger signal causes the pulse generator 50 to start operating, generates a pulse having a cycle equal to the arrangement interval of the synchronization bits with reference to the timing of the trigger signal, and outputs the pulse as a synchronization pulse (SYC) at the output terminal 92.
Supplied to the outside.

【0008】同期パルスを1ビット幅で、入力端子11
に同期ビットが到達するタイミングで“1”になるよう
に発生させることにより、インバータ61による比較回
路の反転出力とアンドゲート62でAND(論理積)を
とることにより、不一致時のみインバータ12が使わ
れ、同期ビットは正しく設定されてシフト回路20に入
力する。
The sync pulse has a 1-bit width, and the input terminal 11
Is generated so that it becomes "1" at the timing when the synchronization bit arrives at, and the inverted output of the comparison circuit by the inverter 61 and AND (logical product) are taken by the AND gate 62, so that the inverter 12 is used only when they do not match. The sync bit is set correctly and is input to the shift circuit 20.

【0009】つまり、同期引込後、同期ビットが誤まる
のは通信ケーブル等に重畳したノイズやその他外乱によ
るものとみなしていることによる。
That is, it is considered that the error of the synchronization bit after the synchronization is pulled is due to noise superimposed on the communication cable or the like or other disturbance.

【0010】このように誤り訂正された同期ビットは、
シフト回路20を通過しモニタ線21〜2mに現れて
も、もはや比較回路30を不一致出力させ得ない。
The synchronization bit thus error-corrected is
Even if the signal passes through the shift circuit 20 and appears on the monitor lines 21 to 2m, the comparison circuit 30 can no longer output the mismatch.

【0011】同期パルスのタイミングで比較回路30の
出力(MAC)をシフト回路70に取込み、多数決演算
回路80で多数決演算を行ない、規定数以上の不一致が
ある場合、同期はずれを表わすアラーム信号(ALM)
をアラーム出力端子91から外部に送出し通知する。
The output (MAC) of the comparison circuit 30 is taken into the shift circuit 70 at the timing of the synchronizing pulse, and the majority arithmetic operation circuit 80 performs the majority arithmetic operation. )
Is sent to the outside from the alarm output terminal 91 to notify it.

【0012】次に各部の構成,動作を詳細に説明する。Next, the configuration and operation of each unit will be described in detail.

【0013】図2は図1の同期パターン検出回路40の
一例のブロック回路図である。まず、シフト回路42は
初期にすべて“1”が設定されており、シフトビット長
は同期ビット間隔に等しい。前述のシフト回路20に全
ビットが貯った時点で検査を開始し、モータ線21〜2
mの全ビット同期パターンと一致するときのみ、アンド
ゲート41により“1”がシフト回路42に保持され
る。検査途中1回でも不一致になると例えその後の検査
で一致したとしても最初の“1”が“0”に置替えられ
たまま“1”に復元しない。次に規定時間経過後タイマ
43の出力が“0”から“1”になり、上記アンドゲー
ト41の出力から最初に発生する“1”を別のアンドゲ
ート44で検出しトリガ信号(TRG)とする。従って
トリガ信号が発生するタイミングは入力端子11に同期
ビットが入力するタイミングに一致する。
FIG. 2 is a block circuit diagram of an example of the sync pattern detection circuit 40 of FIG. First, the shift circuit 42 is initially set to "1", and the shift bit length is equal to the synchronization bit interval. The inspection is started when all the bits are accumulated in the shift circuit 20 described above, and the motor lines 21-2
The AND gate 41 holds “1” in the shift circuit 42 only when all the bit synchronization patterns of m match. If there is a mismatch even during the first test, even if the subsequent tests match, the first "1" is replaced with "0" and is not restored to "1". Next, after the lapse of the specified time, the output of the timer 43 changes from "0" to "1", and the first "1" generated from the output of the AND gate 41 is detected by another AND gate 44 to generate a trigger signal (TRG). To do. Therefore, the timing at which the trigger signal is generated matches the timing at which the synchronization bit is input to the input terminal 11.

【0014】パルスジェネレータ50はトリガ入力のタ
イミングであらかじめ設定された周期で1クロック幅
“1”のパルスを発生させ、以後入力するトリガは無視
し自走し続ける。
The pulse generator 50 generates a pulse having a one-clock width "1" at a preset period at the timing of trigger input, and ignores the input trigger thereafter and continues to run by itself.

【0015】図3は図1の同期パターン比較回路30の
一例を示す回路図である。この例では同期ビットとして
“0,0,1,0,1,1”の6個が巡回する場合を想
定している。どのビットから入力しても検出できるよう
に、モニタ線21〜24(2m=24)上の連続する4
ビット分に対ししきい値が1ビットずつずれた入力論理
反転回路を含んだ6個のアンドゲート31〜36を備え
ている。アンドゲート31〜36のどれかが一致を検出
するとオアゲート37によりOR(論理和)出力である
検出結果のMACが“1”になる。
FIG. 3 is a circuit diagram showing an example of the sync pattern comparison circuit 30 of FIG. In this example, it is assumed that six synchronization bits “0, 0, 1, 0, 1, 1” circulate. 4 consecutive lines on the monitor lines 21 to 24 (2m = 24) so that detection can be performed from any bit.
Six AND gates 31 to 36 including an input logic inverting circuit in which the threshold value is shifted by 1 bit from the bit amount are provided. When any of the AND gates 31 to 36 detects a match, the OR gate 37 sets the MAC of the detection result which is an OR (logical sum) output to "1".

【0016】図4は図1の多数決演算回路80の一例を
示す回路図である。4ビットシフト回路70に同期ビッ
トが入力するごとに一致/不一致結果(MAC)が書込
まれる。この例では入力論理反転回路を含んだ3個のア
ンドゲート81〜83と、これらの出力のオア(論理
和)をとるオアゲート84とにより、4回中2回不一致
を検出するようにしている。この条件が満たされると同
期はずれアラーム(ALM)がアラーム端子91から表
示される。
FIG. 4 is a circuit diagram showing an example of the majority operation circuit 80 of FIG. Every time a sync bit is input to the 4-bit shift circuit 70, a match / mismatch result (MAC) is written. In this example, the three AND gates 81 to 83 including the input logic inverting circuit and the OR gate 84 that takes the OR (logical sum) of these outputs detect the mismatch twice in four times. When this condition is satisfied, an out-of-sync alarm (ALM) is displayed from the alarm terminal 91.

【0017】[0017]

【発明の効果】以上説明したように本発明は、ビット誤
り訂正を施すことによりドーィパターン比較結果のOR
出力を使うだけで済み、どのAND型比較器が不一致を
検出したかを調べる必要がなく、回路が簡略になる効果
がある。
As described above, according to the present invention, by performing the bit error correction, the OR of the doy pattern comparison result is performed.
It is only necessary to use the output, and there is no need to check which AND comparator has detected the mismatch, which has the effect of simplifying the circuit.

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

【図1】本発明の一実施例のブロック回路図である。FIG. 1 is a block circuit diagram of an embodiment of the present invention.

【図2】図1に示した同期パターン検出回路のブロック
回路図である。
FIG. 2 is a block circuit diagram of the synchronization pattern detection circuit shown in FIG.

【図3】図1に示した同期パターン比較回路の回路図で
ある。
FIG. 3 is a circuit diagram of the synchronization pattern comparison circuit shown in FIG.

【図4】図1に示した多数決演算回路の回路図である。FIG. 4 is a circuit diagram of a majority arithmetic circuit shown in FIG.

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

12,61 インバータ 13 セレクタ 20,42,70 シフト回路 30 同期パターン比較回路 31〜36,41,44,62,81〜83 アンド
ゲート 37,84 オアゲート 40 同期パターン検出回路 43 タイマ 50 パルスジェネレータ
12, 61 Inverter 13 Selector 20, 42, 70 Shift circuit 30 Synchronous pattern comparison circuit 31-36, 41, 44, 62, 81-83 AND gate 37, 84 OR gate 40 Synchronous pattern detection circuit 43 Timer 50 Pulse generator

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 選択制御信号に応じてPCMデータとそ
の反転データとのいずれか一方を選択するセレクタと、
該セレクタの出力を1ビットずつシフトしながら所定ビ
ット数分格納するシフト回路と、該シフト回路の中間タ
ップのデータを所定の同期パターンと比較する比較回路
と、該比較回路の比較結果出力を蓄積し同期パターンを
検出する検出回路と、該検出回路の検出出力をトリガと
し周期パルスを発生するパルス発生回路と、該周期パル
スと前記比較回路の比較結果出力とにより前記選択制御
信号を作成し前記セレクタを制御する回路と、前記比較
結果出力を前記周期パルスの周期ごとに蓄積し多数決演
算し同期維持を確認する回路とを備えたことを特徴とす
るフレーム同期回路。
1. A selector for selecting either PCM data or its inverted data according to a selection control signal,
A shift circuit that stores the output of the selector bit by bit while storing a predetermined number of bits, a comparison circuit that compares the data of the intermediate tap of the shift circuit with a predetermined synchronization pattern, and a comparison result output of the comparison circuit. A detection circuit that detects a synchronization pattern, a pulse generation circuit that generates a periodic pulse by using the detection output of the detection circuit as a trigger, and the selection control signal is created by the periodic pulse and the comparison result output of the comparison circuit. A frame synchronization circuit comprising: a circuit for controlling a selector; and a circuit for accumulating the comparison result output for each period of the periodic pulse, performing a majority operation and confirming synchronization maintenance.
JP4190555A 1992-07-17 1992-07-17 Frame synchronization circuit Expired - Lifetime JP2979852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4190555A JP2979852B2 (en) 1992-07-17 1992-07-17 Frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4190555A JP2979852B2 (en) 1992-07-17 1992-07-17 Frame synchronization circuit

Publications (2)

Publication Number Publication Date
JPH0637745A true JPH0637745A (en) 1994-02-10
JP2979852B2 JP2979852B2 (en) 1999-11-15

Family

ID=16260025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4190555A Expired - Lifetime JP2979852B2 (en) 1992-07-17 1992-07-17 Frame synchronization circuit

Country Status (1)

Country Link
JP (1) JP2979852B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7836919B1 (en) * 2025-03-11 2026-03-27 アンリツ株式会社 Error detection device and capture analysis method
JP7836921B1 (en) * 2025-03-21 2026-03-27 アンリツ株式会社 Error detection device and capture analysis method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7836919B1 (en) * 2025-03-11 2026-03-27 アンリツ株式会社 Error detection device and capture analysis method
JP7836921B1 (en) * 2025-03-21 2026-03-27 アンリツ株式会社 Error detection device and capture analysis method

Also Published As

Publication number Publication date
JP2979852B2 (en) 1999-11-15

Similar Documents

Publication Publication Date Title
US5727018A (en) Process for obtaining a signal indicating a synchronization error between a pseudo-random signal sequence from a transmitter and a reference pseudo-random signal sequence from a receiver
JP2578334B2 (en) Digital transmission method
US5282211A (en) Slip detection during bit-error-rate measurement
KR19990063894A (en) Operation and management of redundant clock distribution network
CN101175225A (en) Digital Video Data Test System and Semiconductor Device
CA1329835C (en) Word synchronization system
US3965294A (en) Method of and apparatus for testing transmission line carrying bipolar PCM signals
JPS5813056B2 (en) How to maintain accurate framing in multiplexed pulse transmission systems
US4059749A (en) Digital monitor
EP0472161A1 (en) Pattern synchronizing circuit and method
JPH0773255B2 (en) Bit collation control method
JP2979852B2 (en) Frame synchronization circuit
JP2798646B2 (en) Sync signal detection circuit
JP3989816B2 (en) Pattern synchronous pull-in device
KR940003324A (en) Frame synchronization detection method and apparatus of D2 MAC signal
JPH0425240A (en) Burst signal monitoring circuit
JP2751673B2 (en) Bit error rate measurement equipment for digital communication systems
KR100190093B1 (en) An apparatus for generating a block address for block data transmitted serially
KR19980047712A (en) Synchronous signal detection device of magnetic recorder
KR930002893Y1 (en) Synchronous detection circuit
KR930010918B1 (en) Parallel Frame Detection Circuit of Distributed Frame Structure
JPS58123261A (en) Frame synchronism detecting circuit
JP2970690B2 (en) Synchronous control circuit
JPH08330979A (en) Error correction device
USRE36508E (en) Method of automatically measuring the horizontal scan frequency of a composite synchronism signal, and an electronic circuit operating in accordance with the method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990817