JPH05199214A - Frame synchronization method and frame synchronization circuit - Google Patents
Frame synchronization method and frame synchronization circuitInfo
- Publication number
- JPH05199214A JPH05199214A JP4007628A JP762892A JPH05199214A JP H05199214 A JPH05199214 A JP H05199214A JP 4007628 A JP4007628 A JP 4007628A JP 762892 A JP762892 A JP 762892A JP H05199214 A JPH05199214 A JP H05199214A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- parallel
- crv
- circuit
- data signals
- 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
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Time-Division Multiplex Systems (AREA)
- Dc Digital Transmission (AREA)
Abstract
(57)【要約】
【目的】 CMI−CRV信号のフレーム同期回路で信
号スピードが速くても使用デバイスの制限を緩和すると
共に経済的な回路を実現すること。
【構成】 入力信号からCMI復号器で抽出したデータ
信号とCRV表示信号を同位相でn並列展開したn並列
データ信号1aとn並列CRV表示信号2aとの論理積
出力のn並列出力5a〜5dをエンコーダ6でエンコー
ドし、n並列データ信号1aとn−1遅延データ信号4
aをセレクタ3の入力としてエンコーダ出力6a,6b
によりフレーム同期のとれたn並列データ信号3aを出
力するものである。
(57) [Abstract] [Purpose] A frame synchronization circuit for CMI-CRV signals is to reduce the limitation of the device used and realize an economical circuit even if the signal speed is fast. [Structure] A data signal extracted by a CMI decoder from an input signal and a CRV display signal are n-parallel-developed in phase with each other in parallel. An n-parallel output 5a to 5d of an AND output of an n-parallel data signal 1a and an n-parallel CRV display signal 2a. Are encoded by the encoder 6, and the n parallel data signal 1a and the n-1 delayed data signal 4 are encoded.
Encoder outputs 6a and 6b using a as the input of the selector 3
To output the n-parallel data signal 3a synchronized with the frame.
Description
【0001】[0001]
【産業上の利用分野】本発明は伝送路を行うインタフェ
ース部においてCMI(Code MarkInver
sion)符号のCRV(Code Rule Vio
lation)信号(以下CMI−CRV信号と称す
る)のフレーム同期をとるフレーム同期方法およびフレ
ーム同期回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CMI (Code Mark Inverter) in an interface section which forms a transmission path.
code code CRV (Code Rule Video)
relation) signal (hereinafter referred to as a CMI-CRV signal).
【0002】[0002]
【従来の技術】従来のデータのフレーム同期をとるフレ
ーム同期方法およびフレーム同期回路において、入力デ
ータに対して並列動作でフレーム同期をとる方法および
回路は例えば特開昭50−10206号公報や特開昭6
3−294151号公報等に記載のようにCMI−CR
V信号以外の信号においてのみ実現されており、CMI
−CRV信号においては例えば特開平1−109934
号公報や特開平−268330号公報等に記載のように
入力データに対して直列動作でフレーム同期をとる方法
および回路が用いられていた。2. Description of the Related Art In a conventional frame synchronization method and frame synchronization circuit for frame synchronization of data, a method and a circuit for frame synchronization by parallel operation with respect to input data are disclosed in, for example, Japanese Patent Laid-Open No. 10206/1975. Sho 6
CMI-CR as described in JP-A-3-294151.
CMI is realized only for signals other than V signals.
-For the CRV signal, for example, Japanese Patent Laid-Open No. 1-109934
As described in Japanese Patent Laid-Open Publication No. 268330 and Japanese Patent Laid-Open Publication No. 268330, a method and circuit for serially synchronizing input data for frame synchronization have been used.
【0003】[0003]
【発明が解決しようとする課題】上記従来技術はCMI
−CRV信号において入力信号のスピードのままでフレ
ーム同期をとる必要があったので、信号スピードが速く
なるとそのスピードに耐えうるデバイスを使う必要があ
るためデバイスが制限されるという問題があった。本発
明の目的は入力CMI−CRV信号のスピードを直並列
変換により変換してから並列動作でフレーム同期をとる
ようにして、使用デバイスに対する制限を軽減して経済
的に有利な回路構成も実現することができるのでフレー
ム同期方法およびフレーム同期回路を提供することにあ
る。SUMMARY OF THE INVENTION The above-mentioned prior art is CMI.
Since it is necessary to synchronize the frame of the CRV signal with the speed of the input signal as it is, there is a problem that the device is limited when the signal speed becomes faster, because it is necessary to use a device that can withstand the speed. An object of the present invention is to convert the speed of an input CMI-CRV signal by serial-parallel conversion and then to perform frame synchronization in parallel operation, thereby reducing restrictions on devices used and realizing an economically advantageous circuit configuration. Therefore, it is to provide a frame synchronization method and a frame synchronization circuit.
【0004】[0004]
【課題を解決するための手段】上記目的を達成するため
に、本発明のフレーム同期方法およびフレーム同期回路
はCMI−CRV信号のフレーム同期方法およびフレー
ム同期回路において、その入力信号をCMI複号器から
出力されるデータ信号とCRVのかかったビットのみを
立てたCRV表示信号とし、このデータ信号とCRV表
示信号をそれぞれフレーム同期回路に入力される前段で
同じ位相で直並列変換するようにしたものであり、ま
た、伝送障害によるCRVとフレーム先頭を示すために
挿入されたCRVの誤認識を防ぐためには取りだしたデ
ータ信号(データ信号フレーム先頭のCRV点には固定
パターンが挿入されている)と伝送路より抽出したCR
V表示信号の論理積をとることにより検出精度を上げて
おり、さらにCRV表示信号(フレーム信号の候補)を
エンコーダにかけて位相検出を行い、その検出位相を位
相保持回路からの出力位相と比較することによりフレー
ム同期の監視とハンチング時の同期フレームパターンの
検出を実現するようにしたものである。In order to achieve the above object, a frame synchronization method and a frame synchronization circuit of the present invention include a CMI-CRV signal frame synchronization method and a frame synchronization circuit, the input signal of which is a CMI decoder. A CRV display signal in which only the data signal output from the device and the bit to which CRV is applied are set up, and the data signal and the CRV display signal are serial-parallel converted in the same phase in the preceding stage input to the frame synchronization circuit. In addition, in order to prevent erroneous recognition of the CRV and the CRV inserted to indicate the frame head due to a transmission failure, the extracted data signal (a fixed pattern is inserted at the CRV point at the head of the data signal frame) CR extracted from transmission line
The detection accuracy is improved by taking the logical product of the V display signal, and the CRV display signal (frame signal candidate) is applied to the encoder to detect the phase, and the detected phase is compared with the output phase from the phase holding circuit. Thus, the frame synchronization is monitored and the synchronization frame pattern is detected during hunting.
【0005】[0005]
【作用】上記フレーム同期方法およびフレーム同期回路
は並列動作でフレーム同期をとるためにCMI複号器か
ら出力されるデータ信号と同様にCRVのかかったビッ
トのみを立てたCRV表示信号もデータ信号と同位相で
直並列変換を行い、またこのCRVが伝送路障害による
ものではなくて正しくフレーム先頭を示していることを
保証するためのエンコーダに入力する前段でデータ信号
(データ信号のフレーム先頭には固定パターンが挿入さ
れている)とCRV表示信号の論理積をとっている。さ
らに入力された並列信号のフレーム先頭の発見はエンコ
ーダを使用することにより実現されており、エンコーダ
はn(n>2の整数)並列入力CRV表示信号のうちで
フレーム先頭をa(1<a<nの整数)番目の信号にた
だ1つだけ検出したときにその位置を一意的に示すよう
なコード化信号(以下検出位相とする)を出力してい
て、このエンコーダの検出位相をもとにセレクタを用い
てn並列入力信号とそのn並列入力信号から分岐したn
−1並列入力信号に遅延回路を介した遅延n−1並列入
力信号の合計2n−1本のデータ信号入力からフレーム
同期の確立したn並列信号を選択出力する。なお、フレ
ーム同期の保護回路は位相保持回路と比較器と同期保護
回路からなっており、エンコーダの出力を位相保持回路
と比較器に入力して、位相保持回路においては同期保護
回路の指示により保持位相か入力位相のどちらかを比較
器に出力し、比較器においてエンコーダと位相保持回路
からの両入力の比較を行い比較結果を同期保護回路に出
力していて、同期保護回路において比較器の比較結果に
従いフレームカウンタと位相保持回路をコントロールし
て同期保護を実施している。このようにフレーム同期方
法およびフレーム同期回路により、1ビット即時シフト
方式と同等の同期復帰特性をもったフレーム同期回路を
実現し、従来より使用デバイスの範囲を広げて低コスト
でCMI−CRV信号のフレーム同期方式を実現してい
る。In the frame synchronization method and frame synchronization circuit described above, the CRV display signal in which only the bits to which the CRV is applied is set as the data signal as well as the data signal output from the CMI decoder in order to establish the frame synchronization by the parallel operation. Serial-parallel conversion is performed in the same phase, and the data signal (the frame head of the data signal is not added to the frame head of the data signal is input to the encoder to ensure that this CRV correctly indicates the frame head, not due to the transmission path failure. (Fixed pattern is inserted) and the CRV display signal is ANDed. Further, the finding of the frame head of the input parallel signal is realized by using an encoder, and the encoder detects the frame head of a (1 <a <a <in the n (n> 2 integer) parallel input CRV display signal. (integer of n) outputs a coded signal (hereinafter referred to as a detection phase) that uniquely indicates the position when only one is detected in the nth signal, and based on the detection phase of this encoder N parallel input signals and n branched from the n parallel input signals using the selector
The n parallel signals with frame synchronization are selectively output from a total of 2n-1 data signals of the delay n-1 parallel input signals to the -1 parallel input signal through the delay circuit. The frame synchronization protection circuit consists of a phase holding circuit, a comparator, and a synchronization protection circuit.The encoder output is input to the phase holding circuit and comparator, and the phase holding circuit holds it according to the instructions of the synchronization protection circuit. Either the phase or the input phase is output to the comparator, the comparator compares both inputs from the encoder and the phase holding circuit, and the comparison result is output to the sync protection circuit. According to the result, the frame counter and the phase holding circuit are controlled to implement synchronization protection. In this way, the frame synchronization method and the frame synchronization circuit realize the frame synchronization circuit having the synchronization recovery characteristic equivalent to that of the 1-bit immediate shift system, and the range of devices used is widened and the cost of the CMI-CRV signal can be reduced. A frame synchronization method is realized.
【0006】[0006]
【実施例】以下に本発明の一実施例を図1から図4によ
り説明する。図1は本発明によるCMI−CRV信号の
フレーム同期方法およびフレーム同期回路の一実施例を
示す直並列変換後にフレーム同期をとるフレーム同期回
路のブロック構成図である。図1において、1は4並列
データ信号入力端子、2は4並列CRV表示信号入力端
子、3はセレクタ、4は遅延回路、5は論理積回路、6
はエンコーダ、7は位相保持回路、8は比較回路、9は
フレームカウンタ、10,11は論理積回路、12は同
期保護回路である。図1の入力端子1より4並列データ
信号1aがセレクタ3に入力され、また4並列データ信
号1aのうち3並列データ信号は遅延回路4を介してセ
レクタ3に入力される。一方で入力端子1より入力され
る4並列データ信号1aは入力端子2より入力される4
並列CRV表示信号2aとそれぞれ論理積回路5で論理
積をとってエンコーダ6に論理積出力5a,5b,5
c,5dが入力される。エンコーダ6は真理値表(図
3)に従い入力信号をエンコードして、位相検出フラグ
6aと検出位相6bを位相保持回路7と比較回路8に出
力する。位相保持回路7は保持位相7aか検出位相6b
をセレクタ3と比較回路8に出力し、比較回路8の出力
はフレームカウンタ9の出力と論理積回路10とインバ
ータを介した論理積回路11で論理積をとって同期保護
回路11に入力される。同期保護回路12は上記入力の
結果により位相保持回路7とフレームカウンタ9に動作
指示信号12aを送る。セレクタ3は位相保持回路7よ
り入力された検出位相6bによりセレクタ入力の4並列
データ信号1aと3並列の遅延回路4を通った3並列遅
延データ信号4aにより、フレーム同期のとれた4並列
データ信号3aの組合せを選択出力する構成である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram of a frame synchronization circuit for achieving frame synchronization after serial-parallel conversion showing an embodiment of a frame synchronization method and a frame synchronization circuit of a CMI-CRV signal according to the present invention. In FIG. 1, 1 is a 4 parallel data signal input terminal, 2 is a 4 parallel CRV display signal input terminal, 3 is a selector, 4 is a delay circuit, 5 is an AND circuit, 6
Is an encoder, 7 is a phase holding circuit, 8 is a comparison circuit, 9 is a frame counter, 10 and 11 are AND circuits, and 12 is a synchronization protection circuit. Four parallel data signals 1a are input to the selector 3 from the input terminal 1 of FIG. 1, and three parallel data signals of the four parallel data signals 1a are input to the selector 3 via the delay circuit 4. On the other hand, 4 parallel data signals 1a input from the input terminal 1
The parallel CRV display signal 2a is logically ANDed by the logical AND circuit 5 to output logical ANDs 5a, 5b, 5 to the encoder 6.
c and 5d are input. The encoder 6 encodes the input signal according to the truth table (FIG. 3) and outputs the phase detection flag 6a and the detected phase 6b to the phase holding circuit 7 and the comparison circuit 8. The phase holding circuit 7 has a holding phase 7a or a detection phase 6b.
Is output to the selector 3 and the comparison circuit 8, and the output of the comparison circuit 8 is logically ANDed by the output of the frame counter 9, the AND circuit 10 and the AND circuit 11 via the inverter, and is input to the synchronization protection circuit 11. .. The synchronization protection circuit 12 sends an operation instruction signal 12a to the phase holding circuit 7 and the frame counter 9 according to the result of the above input. The selector 3 uses the detected phase 6b input from the phase holding circuit 7 to input 4 parallel data signals 1a of the selector and 3 parallel delayed data signals 4a passing through the delay circuits 4 of 3 parallels to generate 4 parallel data signals in frame synchronization. This is a configuration for selectively outputting the combination of 3a.
【0007】図2は本発明によるCMI−CRV信号の
フレーム同期方法およびフレーム同期回路の一実施例を
示す図1のフレーム同期回路を含むインタフェース部の
一部のブロック構成図である。図2において、図1と同
一符号は相当部分を示すものとし、13は伝送路入力、
14はO/Eコンバータ、15はCMI復号器、16,
17は分離回路(直並列変換回路)、18はフレーム同
期回路である。図2の伝送路入力(OPT IN)はO
/Eコンバータ14を介してCMI復号器15に入力さ
れ、CMI複号器15は入力信号からデータ信号15a
とCRV表示信号15bを抽出する。データ信号15a
は分離回路17を介し4並列データ信号1aに変換され
てセレクタ3とフレーム同期回路18に入力され、また
4並列データ信号1aのうちの3並列データ信号は遅延
回路4を介してセレクタ3に入力される。フレーム同期
回路18からはセレクタ3の制御信号18a(図1の検
出位相6bか保持位相7b)とフレーム信号18b(図
1の位相検出フラグ6aと検出位相6b)が出力され、
セレクタ3からはフレーム同期のとれたデータ信号3a
が出力される構成である。FIG. 2 is a block diagram of a part of an interface unit including the frame synchronization circuit of FIG. 1 showing an embodiment of the frame synchronization method and the frame synchronization circuit of the CMI-CRV signal according to the present invention. In FIG. 2, the same reference numerals as those in FIG. 1 indicate corresponding parts, and 13 is a transmission line input,
14 is an O / E converter, 15 is a CMI decoder, 16,
Reference numeral 17 is a separation circuit (serial / parallel conversion circuit), and 18 is a frame synchronization circuit. The transmission line input (OPT IN) in FIG.
It is input to the CMI decoder 15 via the / E converter 14, and the CMI decoder 15 receives the data signal 15a from the input signal.
And the CRV display signal 15b are extracted. Data signal 15a
Are converted into 4 parallel data signals 1a via the separation circuit 17 and input to the selector 3 and the frame synchronization circuit 18, and 3 parallel data signals of the 4 parallel data signals 1a are input to the selector 3 via the delay circuit 4. To be done. The frame synchronization circuit 18 outputs a control signal 18a (detection phase 6b or holding phase 7b in FIG. 1) of the selector 3 and a frame signal 18b (phase detection flag 6a and detection phase 6b in FIG. 1),
The data signal 3a from the selector 3 is frame-synchronized.
Is output.
【0008】図3は図1のエンコーダ6の真理値表を示
す説明図である。図3において、図1の論理積回路5か
らエンコーダ6に入力する論理積出力のフレームパルス
入力(伝送路側フレーム信号)5a、5b,5c,5d
ののH,Lレベルに対応するエンコーダ6のエンコード
出力の位相検出フラグ(検出→″1″)6aと検出位相
(下位、上位ビット)6dの真理値表を示す。図3のエ
ンコード出力は4並列フレームパルス入力5a〜5dの
うち1本だけHレベルのとき位相検出フラグ6aを″
1″(有効)にし、1本もないときや2本以上がHレベ
ルのとき位相検出フラグ6aを″0″(無効)にする。
さらに1本だけHレベルのときに何番目のフレームパル
ス入力であるかを一意的に示すために検出位相6bに下
位、上位の2ビットの値を与えている。FIG. 3 is an explanatory diagram showing a truth table of the encoder 6 of FIG. In FIG. 3, frame pulse inputs (frame signals on the transmission path side) 5a, 5b, 5c, 5d of logical product outputs input from the logical product circuit 5 of FIG.
7 shows a truth table of the phase detection flag (detection → “1”) 6a and the detected phase (lower and upper bits) 6d of the encoded output of the encoder 6 corresponding to the H and L levels. The encode output of FIG. 3 has the phase detection flag 6a "when only one of the four parallel frame pulse inputs 5a to 5d is at the H level.
The phase detection flag 6a is set to "1" (valid) and the phase detection flag 6a is set to "0" (invalid) when there is no line or when two or more lines are at the H level.
Further, in order to uniquely indicate the number of the frame pulse input when only one is at the H level, the lower and upper two bits are given to the detection phase 6b.
【0009】図4は図1(図2)の動作フローチャート
である。つぎに図1(図2)のフレーム同期回路の動作
を図4の動作フローにより説明する。まずフレーム同期
回路が図4のハンチング状態にあるときには、同期保護
回路12は動作指令信号12aとしてフレームカウンタ
9に対して動作停止指示を出し、位相保持回路7に対し
て位相取り込み指示を出している。またエンコーダ6に
は論理積回路5の出力の伝送路側フレーム信号5a,5
b,5c,5dが入力されている。ここで伝送路側フレ
ーム先頭の候補はCRV表示信号によって得られるが、
伝送路障害によるCRVと区別するために伝送路側デー
タのフレーム先頭に固定パターンが挿入されているの
で、図2のCMI復号器15の出力のデータ信号15a
を分離回路(直並列変換回路)16で直並列変換した図
1の4並列データ信号1aとCMI複号器15の出力の
CRV表示信号15bを分離回路7で直並列変換した4
並列CRV信号2aをそれぞれ論理積回路5で論理積を
とった出力を伝送路側フレーム信号の候補としている。
この伝送路側フレーム信号5a,5b,5c,5dをエ
ンコーダ6で図3の真理値表に従ってエンコードし、位
相検出して位相検出フラグ6aと位相検出データの検出
位相6bを出力する。この図3のエンコード結果は入力
の全パターンのうち4本のフレーム信号の候補である伝
送路側フレーム信号5a〜5dのうちの1本のみのフレ
ームが検出されたときには位相検出フラグ6aを有効に
し、また2本以上のフレーム信号にフレームが検出され
たときと有効ビットがないときには位相検出フラグ6a
を無効にして、さらに位相検出がなされたときには4入
力のうちどこで検出したかを一意的に示すために4本の
フレームパルスを一意的に決定するように検出位相6b
に2ビットを割り振って出力している。FIG. 4 is an operation flowchart of FIG. 1 (FIG. 2). Next, the operation of the frame synchronization circuit of FIG. 1 (FIG. 2) will be described with reference to the operation flow of FIG. First, when the frame synchronization circuit is in the hunting state of FIG. 4, the synchronization protection circuit 12 issues an operation stop instruction to the frame counter 9 as an operation instruction signal 12a, and issues a phase acquisition instruction to the phase holding circuit 7. .. Further, the encoder 6 is provided with the transmission path side frame signals 5a, 5 of the output of the AND circuit 5.
b, 5c and 5d are input. Here, the candidate of the head of the transmission path side frame is obtained by the CRV display signal,
Since a fixed pattern is inserted at the beginning of the frame of the transmission path side data in order to distinguish from the CRV due to the transmission path failure, the data signal 15a output from the CMI decoder 15 in FIG.
1 is serial-parallel converted by the separation circuit (serial-parallel conversion circuit) 16 and the CRV display signal 15b output from the CMI decoder 15 is serial-parallel converted by the separation circuit 7 in FIG.
The outputs obtained by ANDing the parallel CRV signals 2a by the AND circuit 5 are used as transmission line side frame signal candidates.
The transmission path side frame signals 5a, 5b, 5c and 5d are encoded by the encoder 6 according to the truth table of FIG. 3, the phase is detected, and the phase detection flag 6a and the detected phase 6b of the phase detection data are output. The encoding result of FIG. 3 is that the phase detection flag 6a is enabled when only one frame of the transmission path side frame signals 5a to 5d, which is a candidate of four frame signals of all the input patterns, is detected, The phase detection flag 6a is used when a frame is detected in two or more frame signals and when there is no valid bit.
Is disabled, and when further phase detection is performed, the detection phase 6b is determined so as to uniquely determine the four frame pulses in order to uniquely indicate where of the four inputs is detected.
2 bits are allocated and output.
【0010】このエンコーダ6の検出位相6bは位相保
持回路7に入力され、この位相保持回路7では同期保護
回路12の動作指示信号12aにより検出位相6bを取
り込み出力するか前状態の保持データ7aを出力するか
のいずれかの処理を行うが、ハンチング時には位相取り
込み指示が出ているので位相保持回路7は検出位相6b
を取り込み出力する。一方このエンコーダ6の出力の検
出位相6bは比較回路8にも入力され、この比較回路8
では位相保持回路7の出力とエンコーダ6の出力の検出
位相6bとの比較を行いその比較結果を出力している
が、この比較結果が同じなら有効出力で異なっていると
き無効の出力のいずれかを論理積回路10とインバータ
を介した論理積回路11とに出力している。これと同時
に論理積回路10,11にはフレームカウンタ9の出力
も接続されており、フレームカウンタ9は同期保護回路
12の動作指示信号12aにより″ALL1″の固定出
力かフレームカウンタ動作のいずれかを行っており、ハ
ンチング時には″ALL1″の出力を行っている。論理
積回路10,11の出力は同期保護回路12に出力さ
れ、同期保護回路12においてはハンチング時には論理
積回路10からの入力でパターン検出の有無を判定して
おり、論理積回路10の出力が無効の場合には同期保護
回路12はパターン検出できないとみなしてハンチング
動作状態を保持するが、論理積回路10の出力が有効の
場合には同期保護回路12はパターン検出に成功したと
みなして、後方保護カウンタをロードしててつぎの後方
保護動作状態に入る。The detected phase 6b of the encoder 6 is input to the phase holding circuit 7, and the phase holding circuit 7 fetches and outputs the detected phase 6b by the operation instruction signal 12a of the synchronization protection circuit 12 or outputs the held data 7a in the previous state. Although either output is performed, the phase holding circuit 7 outputs the detection phase 6b because the phase acquisition instruction is issued during hunting.
Capture and output. On the other hand, the detection phase 6b of the output of the encoder 6 is also input to the comparison circuit 8 and the comparison circuit 8
Then, the output of the phase holding circuit 7 is compared with the detected phase 6b of the output of the encoder 6 and the comparison result is output. However, if the comparison result is the same, it is an invalid output when it is different from the valid output. Is output to the AND circuit 10 and the AND circuit 11 via the inverter. At the same time, the output of the frame counter 9 is also connected to the AND circuits 10 and 11, and the frame counter 9 performs either the fixed output of "ALL1" or the frame counter operation according to the operation instruction signal 12a of the synchronization protection circuit 12. The output is "ALL1" during hunting. The outputs of the AND circuits 10 and 11 are output to the sync protection circuit 12, and the sync protection circuit 12 determines whether or not pattern detection is performed by the input from the AND circuit 10 during hunting. When it is invalid, the synchronization protection circuit 12 holds the hunting operation state as if it cannot detect the pattern, but when the output of the AND circuit 10 is valid, the synchronization protection circuit 12 considers that the pattern detection is successful, Load the rear protection counter and enter the next rear protection operating state.
【0011】後方保護状態に入ると、同期保護回路12
はフレームカウンタ9に対して動作指示信号12aとし
て動作指示を出し、位相保持回路7に対して位相取り込
み停止と現段階取り込まれている位相の保持指示を出
す。これによりフレームカウンタ9は同期保護回路12
の動作指示に従ってエンコーダ6の検出位相6bと同じ
位相でカウント動作に入り、位相保持回路7は同期保護
回路12の指示に従ってエンコーダ6からの入力を取り
込むことを停止して同期保護回路12でパターン検出さ
れたと判定された位相を保持して保持位相7aを出力す
る。また後方保護動作状態になってからエンコーダ6の
位相検出フラグ6aの有効信号が比較回路8に入力され
ると、比較回路8はこの入力を位相保持回路7からの入
力と比較して同じなら有効信号で異なっていたら無効の
信号を論理積回路10,11にそれぞれ出力する。一方
の論理積回路10にはこの比較回路8からの出力とフレ
ームカウンタ9からの出力が入力され、両入力の同期が
とれていれば有効出力を出して同期がとれていなければ
無効の出力を出すことになる。また他方の論理積回路1
1にはこの比較回路8からの出力にインバータを介した
信号とフレームカウンタ9からの出力が入力され、両入
力の同期がとれていると無効の出力を出して同期はずれ
なら有効出力を出すことになる。同期保護回路12は論
理積回路10からの入力と論理積回路11からの入力を
監視し、論理積回路10からの有効信号と論理積回路1
1からの無効信号がくる組み合せのときに後方保護カウ
ンタを歩進させており、この後方保護カウンタの歩進が
後方保護段数に達する前に論理積回路11から有効信号
がきたときには同期保護回路12は後方保護動作をやめ
てハンチング動作状態にもどるが、後方保護カウンタの
歩進が後方保護段数に達するまでに論理積回路11から
の有効信号がなければ同期保護回路12は後方保護動作
を終了して、この後方保護動作の終了が確認されると同
期保護回路12は前方保護カウンタをクリアしてつぎの
前方保護動作状態になる。When the backward protection state is entered, the sync protection circuit 12
Issues an operation instruction as an operation instruction signal 12a to the frame counter 9, and issues an instruction to stop the phase acquisition and to hold the phase currently acquired to the phase holding circuit 7. As a result, the frame counter 9 causes the synchronization protection circuit 12 to
The phase holding circuit 7 stops capturing the input from the encoder 6 according to the instruction of the synchronization protection circuit 12 and detects the pattern in the synchronization protection circuit 12 according to the instruction of the synchronization protection circuit 12. The phase determined to have been held is held and the held phase 7a is output. When the valid signal of the phase detection flag 6a of the encoder 6 is input to the comparison circuit 8 after the backward protection operation state, the comparison circuit 8 compares this input with the input from the phase holding circuit 7, and if the same, the comparison signal is valid. If the signals are different, invalid signals are output to the AND circuits 10 and 11, respectively. The output from the comparison circuit 8 and the output from the frame counter 9 are input to one AND circuit 10, and a valid output is output if both inputs are synchronized, and an invalid output is output if they are not synchronized. Will be issued. The other AND circuit 1
The signal from the inverter and the output from the frame counter 9 are input to the output from the comparison circuit 8 at 1, and an invalid output is output if both inputs are synchronized, and a valid output is output if they are out of synchronization. become. The synchronization protection circuit 12 monitors the input from the AND circuit 10 and the input from the AND circuit 11, and detects the valid signal from the AND circuit 10 and the AND circuit 1.
The backward protection counter is made to step when the combination of the invalid signal from 1 comes, and when the valid signal comes from the AND circuit 11 before the step of the backward protection counter reaches the number of backward protection stages, the synchronous protection circuit 12 Stops the backward protection operation and returns to the hunting operation state, but if there is no valid signal from the AND circuit 11 until the step of the backward protection counter reaches the backward protection stage number, the synchronous protection circuit 12 finishes the backward protection operation. When it is confirmed that the backward protection operation is completed, the synchronous protection circuit 12 clears the forward protection counter and enters the next forward protection operation state.
【0012】前方保護動作状態においては、同期保護回
路12は動作指示信号12aとしてフレームカウンタ9
に対して動作指示を出し、位相保持回路7に位相取り込
み停止指示と後方保護動作時に取り込まれている位相の
保持指示を出している。エンコーダ6から出力された検
出位相6bは比較回路8に入力され、比較回路8はエン
コーダ6からの検出位相6bと位相保持回路7からの入
力信号の比較を行い、その比較結果を論理積回路10と
インバータを介した論理積回路11とに出力する。一方
フレームカウンタ9は同期保護回路12からの動作指示
信号12aにより論理積回路10と論理積回路11に出
力している。同期保護回路12は論理回路10,11か
ら入力を得ており、論理積回路10からの入力が続く限
り同期がとれていると判断し、前方保護カウンタをクリ
アして前方保護動作を継続する。また論理積回路10か
らの入力がとぎれるか論理積回路11からの入力を受け
ると同同期保護回路12は位相不一致とみなして前方保
護カウンタを歩進させ、前方保護段数を終了を判断して
終了していなければパターン検出・位相監視状態に戻
り、また前方保護段数を終了していると同期保護回路1
2はフレーム同期はずれの状態に陥ったものとしてハン
チング動作状態に移行する。以上のハンチング動作状態
と後方保護動作状態と前方保護動作状態の3状態におい
て、位相保持回路7はセレクタ3に保持位相7aか検出
位相6bを出力しており、セレクタ3は分離回路16か
ら入力する4並列データ信号1aとその4並列データ信
号1aのうち隣接する3並列データ信号を遅延回路4に
通して得られる遅延3並列データ信号4aのうち、検出
位相6bの情報によりフレーム先頭の1本から4本まで
のデータ信号を選択して4並列のフレーム同期のとれた
データ信号3aを出力している。In the forward protection operation state, the synchronization protection circuit 12 outputs the operation instruction signal 12a as the frame counter 9
To the phase holding circuit 7 and the phase holding circuit 7 to hold the phase taken in during the backward protection operation. The detection phase 6b output from the encoder 6 is input to the comparison circuit 8, and the comparison circuit 8 compares the detection phase 6b from the encoder 6 with the input signal from the phase holding circuit 7, and the comparison result shows the logical product circuit 10 And an AND circuit 11 via an inverter. On the other hand, the frame counter 9 outputs the operation instruction signal 12a from the synchronization protection circuit 12 to the AND circuit 10 and the AND circuit 11. The synchronization protection circuit 12 receives inputs from the logic circuits 10 and 11, determines that synchronization is maintained as long as the input from the AND circuit 10 continues, clears the front protection counter, and continues the front protection operation. When the input from the logical product circuit 10 is interrupted or the input from the logical product circuit 11 is received, the synchronous protection circuit 12 regards it as a phase mismatch and advances the forward protection counter to judge the number of forward protection stages to end and end. If not, it returns to the pattern detection / phase monitoring state, and if the number of forward protection stages is completed, the synchronization protection circuit 1
No. 2 shifts to the hunting operation state assuming that the state is out of frame synchronization. In the above three states of the hunting operation state, the rear protection operation state, and the front protection operation state, the phase holding circuit 7 outputs the holding phase 7a or the detection phase 6b to the selector 3, and the selector 3 inputs from the separation circuit 16. The 4 parallel data signals 1a and the delayed 3 parallel data signals 4a obtained by passing the adjacent 3 parallel data signals of the 4 parallel data signals 1a through the delay circuit 4 are detected from the first one in the frame according to the information of the detection phase 6b. Up to four data signals are selected and four parallel frame-synchronized data signals 3a are output.
【0013】本実施例によれば、CMI−CRV信号の
フレーム同期方法およびフレーム同期回路において、1
ビット即時シフト方式と同程度の同期復帰特性を持った
フレーム同期回路が並列動作でフレーム同期をとること
により信号スピードが速くなってもデバイスに頼ること
なく実現できるとともに経済的にも有利に回路構成でき
る。According to this embodiment, in the frame synchronization method and the frame synchronization circuit of the CMI-CRV signal,
The frame synchronization circuit, which has the same synchronization recovery characteristics as the bit immediate shift system, operates in parallel to achieve frame synchronization, which can be realized without depending on the device even if the signal speed becomes faster, and an economically advantageous circuit configuration. it can.
【0014】[0014]
【発明の効果】本発明によれば、CMI−CRV信号の
フレーム同期方法およびフレーム同期回路において直並
列変換を行ってから並列動作でハンチング回路およびパ
ターン検出・位相監視回路を組むことにより、信号スピ
ードが速くなっても回路構成で対処することを可能と
し、使用デバイスの制限を緩和するとともに経済的に有
利な回路を組むことを可能とする効果がある。According to the present invention, the CMI-CRV signal frame synchronization method and the frame synchronization circuit perform serial-parallel conversion and then form a hunting circuit and a pattern detection / phase monitoring circuit in parallel operation to thereby improve the signal speed. It is possible to deal with the circuit configuration even if the speed becomes faster, and it is possible to alleviate the limitation of the device used and to construct an economically advantageous circuit.
【図1】図1は本発明によるCMI−CRV信号のフレ
ーム同期方法およびフレーム同期回路の一実施例を示す
フレーム同期回路のブロック構成図FIG. 1 is a block diagram of a frame synchronization circuit showing an embodiment of a frame synchronization method and a frame synchronization circuit for a CMI-CRV signal according to the present invention.
【図2】図2は本発明の一実施例を示すフレーム同期回
路を含むインタフェース部の一部のブロック構成図FIG. 2 is a block diagram of a part of an interface unit including a frame synchronization circuit showing an embodiment of the present invention.
【図3】図3は図1のエンコーダの真理値表の説明図FIG. 3 is an explanatory diagram of a truth table of the encoder of FIG. 1.
【図4】図4は図1(図2)の動作フローチャートFIG. 4 is an operation flowchart of FIG. 1 (FIG. 2).
1…4並列データ信号入力端子、2…4並列CRV表示
信号入力端子、3…セレクタ、4…遅延回路、5…論理
積回路、6…エンコーダ、7…位相保持回路、8…比較
回路、9…フレームカウンタ、10,11…論理積回
路、12…同期保護回路、15…CMI復号器、16,
17…分離回路(直並列変換回路)、18…フレーム同
期回路1 ... 4 parallel data signal input terminal, 2 ... 4 parallel CRV display signal input terminal, 3 selector, 4 delay circuit, 5 AND circuit, 6 encoder, 7 phase holding circuit, 8 comparison circuit, 9 ... frame counter, 10, 11 ... AND circuit, 12 ... synchronization protection circuit, 15 ... CMI decoder, 16,
17 ... Separation circuit (serial / parallel conversion circuit), 18 ... Frame synchronization circuit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤田 浩之 神奈川県横浜市戸塚区戸塚町216番地 株 式会社日立製作所戸塚工場内 (72)発明者 小泉 春吾 東京都千代田区内幸町一丁目1番6号 日 本電信電話株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hiroyuki Fujita, Inventor Hiroyuki Fujita, 216 Totsuka-cho, Totsuka-ku, Yokohama, Kanagawa Inside the Totsuka Plant, Hitachi, Ltd. No. Japan Telegraph and Telephone Corporation
Claims (6)
るフレーム同期方法において、入力信号からデータ信号
とCRV表示信号を抽出し、該データ信号とCRV表示
信号を同位相でn(n>2の整数)並列展開し、該n並
列データ信号とn並列CRV表示信号の論理積をとり、
該論理積出力のn並列信号をエンコードし、上記n並列
データ信号のうちn−1本のデータ信号を遅延させ、上
記n本のデータ信号と上記n−1本の遅延データ信号を
入力として上記エンコード出力によりn本のデータ信号
を選択出力することを特徴とするフレーム同期方法。1. A frame synchronization method for frame-synchronizing a CMI-CRV signal, wherein a data signal and a CRV display signal are extracted from an input signal, and the data signal and the CRV display signal are in phase and n (n> 2 is an integer). ) Parallel development is performed, and the n-parallel data signal and the n-parallel CRV display signal are logically ANDed,
The n parallel signals of the logical product outputs are encoded, n-1 data signals of the n parallel data signals are delayed, and the n data signals and the n-1 delayed data signals are input to the above. A frame synchronization method characterized by selectively outputting n data signals by encoding output.
るフレーム同期方法において、入力信号からデータ信号
とCRV表示信号を抽出し、該データ信号とCRV表示
信号を同位相でn(n>2の整数)並列展開し、該n並
列データ信号とn並列CRV表示信号の論理積をとり、
該論理積出力のn並列信号をエンコードし、上記n並列
データ信号のうちn−1本のデータ信号を遅延させ、上
記n本のデータ信号と上記n−1本の遅延データ信号を
入力として上記エンコード出力によりn本のデータ信号
を選択出力するフレーム同期方法であって、かつ上記エ
ンコードのさいにn並列入力信号のうち1本だけCRV
表示信号が検出されているときに有効として、1本もな
いときあるいは2本以上検出されたときには無効とする
ことを特徴とするフレーム同期方法。2. A frame synchronization method for frame-synchronizing a CMI-CRV signal, wherein a data signal and a CRV display signal are extracted from an input signal, and the data signal and the CRV display signal are in-phase and have an integer of n (n> 2). ) Parallel development is performed, and the n-parallel data signal and the n-parallel CRV display signal are logically ANDed,
The n parallel signals of the logical product outputs are encoded, n-1 data signals of the n parallel data signals are delayed, and the n data signals and the n-1 delayed data signals are input to the above. A frame synchronization method for selectively outputting n data signals by encoding output, wherein only one of n parallel input signals is CRV at the time of encoding.
A frame synchronization method characterized in that it is valid when a display signal is detected, and invalid when there is no display signal or when two or more are detected.
において、入力信号からデータ信号とCRV表示信号を
抽出し、該データ信号とCRV表示信号を同位相でn
(n>2の整数)並列展開し、該n並列データ信号とn
並列CRV表示信号の論理積をとり、該論理積出力のn
並列信号をエンコードし、上記n並列データ信号のうち
n−1本のデータ信号を遅延させ、上記n本のデータ信
号と上記n−1本の遅延データ信号を入力として上記エ
ンコード出力によりn本のデータ信号を選択出力するフ
レーム同期方法であって、かつ上記エンコードのさいに
n並列入力信号のうち1本だけCRV表示信号が入力さ
れているときに該入力信号がa(1<a<nの整数)番
目の信号であることを一意的に示すことを特徴とするフ
レーム同期方法。3. A frame synchronization method for a CMI-CRV signal, wherein a data signal and a CRV display signal are extracted from an input signal and the data signal and the CRV display signal are in phase with each other.
(Integer of n> 2) is expanded in parallel and the n parallel data signal and n
The logical product of the parallel CRV display signals is calculated, and n of the logical product output is obtained.
A parallel signal is encoded, and n-1 data signals of the n parallel data signals are delayed, and the n data signals and the n-1 delayed data signals are input to the encoder output to output n data signals. A frame synchronization method for selectively outputting a data signal, and when only one CRV display signal among n parallel input signals is input during the above-mentioned encoding, the input signal is a (1 <a <n (Integer) th signal is uniquely shown to be the frame synchronization method.
るフレーム同期回路において、入力信号からデータ信号
とCRV表示信号を抽出するCMI復号器と、該データ
信号とCRV表示信号を同位相でn(n>2の整数)並
列展開する直並列変換回路と、該n並列データ信号とn
並列CRV表示信号の論理積をとる論理積回路と、該論
理積出力のn並列信号をエンコードするエンコード回路
と、上記n並列データ信号のうちn−1本のデータ信号
を遅延させる遅延回路と、上記n本のデータ信号と上記
n−1本の遅延データ信号を入力として上記エンコード
出力によりn本のデータ信号を選択出力するセレクタ回
路とを有することを特徴とするフレーム同期回路。4. A CMI decoder for extracting a data signal and a CRV display signal from an input signal in a frame synchronization circuit for frame-synchronizing a CMI-CRV signal, and n (n) of the data signal and the CRV display signal in phase. > 2) an serial-to-parallel conversion circuit that expands in parallel, and the n-parallel data signal and n
A logical product circuit for taking a logical product of the parallel CRV display signals, an encoding circuit for encoding an n parallel signal of the logical product output, and a delay circuit for delaying n-1 data signals of the n parallel data signals, A frame synchronization circuit comprising: a selector circuit which receives the n data signals and the n-1 delayed data signals as inputs, and selectively outputs n data signals by the encode output.
るフレーム同期回路において、入力信号からデータ信号
とCRV表示信号を抽出するCMI復号器と、該データ
信号とCRV表示信号を同位相でn(n>2の整数)並
列展開する直並列変換回路と、該n並列データ信号とn
並列CRV表示信号の論理積をとる論理積回路と、該論
理積出力のn並列信号をエンコードするエンコード回路
と、上記n並列データ信号のうちn−1本のデータ信号
を遅延させる遅延回路と、上記n本のデータ信号と上記
n−1本の遅延データ信号を入力として上記エンコード
出力によりn本のデータ信号を選択出力するセレクタ回
路とを有し、かつ上記エンコード回路はn並列入力信号
のうち1本だけCRV表示信号が検出されているときに
有効として、1本もないときあるいは2本以上検出され
たときには無効とする論理であることを特徴とするフレ
ーム同期回路。5. A CMI decoder for extracting a data signal and a CRV display signal from an input signal in a frame synchronization circuit for frame-synchronizing a CMI-CRV signal, and n (n) of the data signal and the CRV display signal in phase with each other. > 2) an serial-to-parallel conversion circuit that expands in parallel, and the n-parallel data signal and n
A logical product circuit for taking a logical product of the parallel CRV display signals, an encoding circuit for encoding an n parallel signal of the logical product output, and a delay circuit for delaying n-1 data signals of the n parallel data signals, And a selector circuit which receives the n data signals and the n-1 delayed data signals as inputs and selectively outputs n data signals by the encode output, and the encode circuit is one of n parallel input signals. A frame synchronization circuit characterized by a logic that is valid when only one CRV display signal is detected and invalid when there is no CRV display signal or when two or more are detected.
るフレーム同期回路において、入力信号からデータ信号
とCRV表示信号を抽出するCMI復号器と、該データ
信号とCRV表示信号を同位相でn(n>2の整数)並
列展開する直並列変換回路と、該n並列データ信号とn
並列CRV表示信号の論理積をとる論理積回路と、該論
理積出力のn並列信号をエンコードするエンコード回路
と、上記n並列データ信号のうちn−1本のデータ信号
を遅延させる遅延回路と、上記n本のデータ信号と上記
n−1本の遅延データ信号を入力として上記エンコード
出力によりn本のデータ信号を選択出力するセレクタ回
路とを有し、かつ上記エンコード回路はn並列入力信号
のうち1本だけCRV表示信号が入力されているときに
該入力信号がa(1<a<nの整数)番目の信号である
ことを一意的に示す論理であることを特徴とするフレー
ム同期回路。6. In a frame synchronization circuit for frame-synchronizing a CMI-CRV signal, a CMI decoder for extracting a data signal and a CRV display signal from an input signal, and n (n) in-phase for the data signal and the CRV display signal. > 2) an serial-to-parallel conversion circuit that expands in parallel, and the n-parallel data signal and n
A logical product circuit for taking a logical product of the parallel CRV display signals, an encoding circuit for encoding an n parallel signal of the logical product output, and a delay circuit for delaying n-1 data signals of the n parallel data signals, And a selector circuit which receives the n data signals and the n-1 delayed data signals as inputs and selectively outputs n data signals by the encode output, and the encode circuit is one of n parallel input signals. A frame synchronization circuit having a logic uniquely indicating that the input signal is the a-th (1 <a <n integer) signal when only one CRV display signal is input.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4007628A JP2981332B2 (en) | 1992-01-20 | 1992-01-20 | Frame synchronization method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4007628A JP2981332B2 (en) | 1992-01-20 | 1992-01-20 | Frame synchronization method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05199214A true JPH05199214A (en) | 1993-08-06 |
| JP2981332B2 JP2981332B2 (en) | 1999-11-22 |
Family
ID=11671094
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4007628A Expired - Lifetime JP2981332B2 (en) | 1992-01-20 | 1992-01-20 | Frame synchronization method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2981332B2 (en) |
-
1992
- 1992-01-20 JP JP4007628A patent/JP2981332B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2981332B2 (en) | 1999-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4839534A (en) | Method and apparatus for establishing a system clock in response to the level of one of two clock signal sources | |
| US4404675A (en) | Frame detection and synchronization system for high speed digital transmission systems | |
| US5018140A (en) | Reframe circuit in a synchronous multiplexing device | |
| JP2831070B2 (en) | Heterogeneous signal conversion method and apparatus | |
| JP2947074B2 (en) | Frame synchronization detection circuit | |
| JPH05199214A (en) | Frame synchronization method and frame synchronization circuit | |
| US4962509A (en) | Code violation detection circuit for use in AMI signal transmission | |
| US5510786A (en) | CMI encoder circuit | |
| US4809301A (en) | Detection apparatus for bi-phase signals | |
| JPS61292434A (en) | Buffer memory | |
| JP2803050B2 (en) | Synchronous detection device | |
| JP2856575B2 (en) | Multiplex converter | |
| JP2697421B2 (en) | Frame synchronization circuit for digital transmission system | |
| JPH036142A (en) | Frame synchronizing system | |
| JPH01109934A (en) | Frame synchronizing circuit | |
| JPH0530067A (en) | Channel detection device | |
| JPH0595566A (en) | Digital signal transmitter | |
| JPH0221183B2 (en) | ||
| CA1314999C (en) | Method and apparatus for decoding manchester encoded data | |
| JPS60219852A (en) | Code processing system | |
| JPS5829235A (en) | Frame synchronization system | |
| JPH0616635B2 (en) | Error pulse detection circuit | |
| JPS6365729A (en) | New st format synchronizing device | |
| JPH0530066A (en) | Channel detection device | |
| JPS62292037A (en) | Synchronizing code detection circuit |