JP3388335B2 - Multi-frame phase matching circuit - Google Patents

Multi-frame phase matching circuit

Info

Publication number
JP3388335B2
JP3388335B2 JP31871596A JP31871596A JP3388335B2 JP 3388335 B2 JP3388335 B2 JP 3388335B2 JP 31871596 A JP31871596 A JP 31871596A JP 31871596 A JP31871596 A JP 31871596A JP 3388335 B2 JP3388335 B2 JP 3388335B2
Authority
JP
Japan
Prior art keywords
frame
signal
read
phase
circuit
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.)
Expired - Fee Related
Application number
JP31871596A
Other languages
Japanese (ja)
Other versions
JPH10145320A (en
Inventor
池 俊 昭 菊
川 良 勝 柳
本 晴 彦 谷
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP31871596A priority Critical patent/JP3388335B2/en
Publication of JPH10145320A publication Critical patent/JPH10145320A/en
Application granted granted Critical
Publication of JP3388335B2 publication Critical patent/JP3388335B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マルチフレーム位
相合わせ回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-frame phase matching circuit.

【0002】[0002]

【従来の技術】マルチフレームを備えたデータは、現用
の伝送路の他に、故障時には予備用の伝送路に無瞬断で
切り替えを行う必要がある。ところが、双方の伝送路長
が相違しているため、現用と予備用との伝送路に、デー
タのフレーム上の遅延が生じる。このフレーム上の遅延
があると、切り替えを行ったとき、ビット飛びや重複ビ
ットなどが生じ、正確な伝送が行えなくなる。そこで、
現用と予備用とで、伝送路長が同一となるように、遅延
回路などを入れて、同一位相とする試みがされている。
双方の伝送信号の位相が同一であれば、適宜切り替えが
可能となり、故障や修理、点検などを行う際に、何ら問
題とはならない。
2. Description of the Related Art In addition to a current transmission line, data provided with multi-frames needs to be switched to a backup transmission line without interruption when there is a failure. However, since the transmission line lengths of both are different, a delay in data frame occurs on the working and protection transmission lines. If there is a delay on this frame, when switching is performed, bit skipping, duplicate bits, etc. occur, and accurate transmission cannot be performed. Therefore,
Attempts have been made to insert a delay circuit and the like so that the transmission line lengths of the working and protection lines are the same so that the transmission lines have the same phase.
If the phases of both transmission signals are the same, it is possible to switch appropriately, and there is no problem at the time of failure, repair, or inspection.

【0003】下位に接続される種類にもよるが、1ビッ
ト程度のビット誤差が切替時に発生しても、実用上の障
害にはならない。いずれにしても、同一位相に合わせる
ことが重要である。しかしながら、このような従来の技
術では、マルチフレーム位相合わせのためにメモり読み
出し用の位相を作成する回路の動作が複雑となり、回路
規模が大きくなるという欠点がある。
Although a bit error of about 1 bit occurs at the time of switching, it does not become a practical obstacle, depending on the type of lower connection. In any case, it is important to match the same phase. However, such a conventional technique has a drawback that the operation of a circuit for creating a phase for memory reading for multi-frame phase alignment becomes complicated and the circuit scale becomes large.

【0004】第1の従来の技術を、特開平4−1560
22号公報に開示されている構成を示す図4のブロック
図、その動作を示す図5のタイミング図を参照して説明
する。この構成は、受信データよりデータ(0)、デー
タ(1)クロックを再生し、かつ(1)の書き込みと読
み出しとが任意のデュアルポートメモリ55,56と、
受信回路51,52のクロックよりデュアルポートメモ
リ55,56の書き込みアドレス信号を生成するアドレ
ス制御回路57,58と、基準クロックよりデュアルポ
ートメモリ55,56の読み出しアドレス信号を生成す
るアドレス制御回路59,60と、受信データより受信
フレーム番号を識別するフレーム同期回路53,54と
によって構成される回路を2回路持ち、かつ各々のフレ
ーム同期回路53,54からの受信フレーム番号識別信
号を比較して基準クロックを発生する位相比較回路61
と、各々の前記デュアルポートメモリ55,56の出力
をデータ選択信号により選択するデータ選択回路63
と、各々の受信回路51,52からの同期はずれ信号を
入力として、データ選択信号を出力する警報制御回路6
2とから構成され、受信回路51,52で同期はずれを
検出した場合、警報制御回路62より正常なデータを選
択するようなデータ選択信号を出力し、かつデュアルポ
ートメモリ55,56への書き込みアドレス信号を生成
するアドレス制御回路57,58と読み出しアドレス信
号を生成する前記アドレス制御回路59,60との位相
差を受信データの3フレーム以上としている。
The first conventional technique is described in Japanese Patent Application Laid-Open No. 4-1560.
This will be described with reference to the block diagram of FIG. 4 showing the configuration disclosed in Japanese Patent Laid-Open No. 22 and the timing chart of FIG. 5 showing its operation. In this configuration, the data (0) and data (1) clocks are reproduced from the received data, and the dual port memories 55 and 56 that can arbitrarily write and read (1),
Address control circuits 57 and 58 that generate write address signals for the dual port memories 55 and 56 from the clocks of the receiving circuits 51 and 52, and address control circuits 59 that generate read address signals of the dual port memories 55 and 56 from the reference clocks. 2 and a frame synchronization circuit 53, 54 for identifying the reception frame number from the received data, and compares the reception frame number identification signals from the respective frame synchronization circuits 53, 54 for comparison. Phase comparison circuit 61 for generating a clock
And a data selection circuit 63 for selecting the output of each of the dual port memories 55 and 56 by a data selection signal.
And an alarm control circuit 6 which outputs a data selection signal using the out-of-synchronization signals from the receiving circuits 51 and 52 as inputs.
2 and the receiving circuits 51 and 52 detect a loss of synchronization, the alarm control circuit 62 outputs a data selection signal for selecting normal data, and the write addresses to the dual port memories 55 and 56. The phase difference between the address control circuits 57, 58 for generating signals and the address control circuits 59, 60 for generating read address signals is set to 3 frames or more of received data.

【0005】しかしながら、かかるフレーム位相同期回
路においては、フレーム番号識別信号を受信することが
構成上必要不可欠な機能となっている。
However, in such a frame phase synchronizing circuit, receiving the frame number identification signal is an essential function in the structure.

【0006】また、第2の従来の技術として図6のブロ
ック図を参照すると、受信データのフレーム位相を確立
するフレーム同期回路3,4と、同期回路3,4により
確立したフレーム位相を基準に、nフレームを1マルチ
フレームとした場合の、マルチフレーム周期でデータの
書き込みを行い、データの書き込みと読み出しとが任意
のメモリ32,33と、メモリ32,33の読み出し位
相を供給する読み出しアドレス信号発生回路とによって
構成される回路を2回路持ち、かつメモリ32,33の
データ出力を比較し、一致するかどうかの判定をする比
較回路25と、比較回路25が不一致を検出した場合、
上記2回路ある読み出しアドレス信号発生回路を各々別
に制御する読み出し制御回路29で構成され、次のよう
な動作が行われる。
Further, referring to the block diagram of FIG. 6 as a second conventional technique, frame synchronization circuits 3 and 4 for establishing a frame phase of received data, and a frame phase established by the synchronization circuits 3 and 4 are used as references. , N frames are one multi-frame, data is written in a multi-frame cycle, and data is written and read in arbitrary memories 32 and 33 and a read address signal for supplying a read phase of the memories 32 and 33. When the comparison circuit 25 has two circuits configured by the generation circuit and compares the data outputs of the memories 32 and 33 to determine whether they match, and the comparison circuit 25 detects a mismatch,
It is composed of a read control circuit 29 for individually controlling the read address signal generating circuits of the above two circuits, and the following operation is performed.

【0007】複数の受信信号S1,S2のフレーム同
期を確立する。メモリ32,33に各々の受信信号S
1,S2を、フレーム単位でかつマルチフレーム周期
書き込む。メモリ32,33の出力を比較し、一致な
らばそのときの読み出し位相は正しいと判定し、そのま
まの状態を保持する。メモリ32,33の出力の比較
結果が不一致なら、どちらか一方のメモリの読み出し位
相を固定とし、他方の読み出し位相を1フレーム単位で
ずらす。もし、メモリの読み出し位相を1フレームず
らしたとき、メモリ32,33の出力が一致すれば、そ
の位相が受信信号の位相をメモリによって一致できた位
相であると判定できるので、各々のメモリの読み出し位
相を保持する。逆に、メモリ読み出し位相を1フレー
ムずらしてもメモリ32,33の出力が不一致であれ
ば、受信信号の位相合わせができていないので、上記
,を繰り返す。もし上記−の動作をメモリの
書き込み可能容量分繰り返しても、メモリの出力の一致
点を検出できない場合は、上記で初期状態メモリ位相
をフレーム単位でずらしていった方のメモリ読み出しを
固定とし、初期状態メモリの読み出し位相固定とした方
のメモリの読み出し位相をフレーム単位でずらしていく
ように切り替えて、上記−を繰り返す。
Frame synchronization of the plurality of received signals S1 and S2 is established. The received signals S are stored in the memories 32 and 33, respectively.
1 and S2 are written in frame units and in a multi-frame cycle . The outputs of the memories 32 and 33 are compared, and if they match, it is determined that the read phase at that time is correct, and the state is maintained as it is. If the comparison results of the outputs of the memories 32 and 33 do not match, the read phase of one of the memories is fixed, and the read phase of the other is shifted in units of one frame. If the read phases of the memories are shifted by one frame and the outputs of the memories 32 and 33 match, the phase can be determined to be the phase in which the phases of the received signals can be matched by the memories. Hold the phase. On the contrary, if the outputs of the memories 32 and 33 do not match even if the memory read phase is shifted by one frame, the received signals are not phase-matched, and the above steps are repeated. If the coincidence point of the memory output cannot be detected even if the operation of-is repeated for the writable capacity of the memory, the memory read of the one in which the initial state memory phase is shifted in frame units is fixed, The reading phase of the memory in which the reading phase of the initial state memory is fixed is switched so as to be shifted in units of frames, and the above-mentioned is repeated.

【0008】[0008]

【発明が解決しようとする課題】上述した第1の従来の
技術では、位相判定のためにフレーム番号識別信号を付
加する必要があり、フレーム信号形式が既に定まってい
て変更できない場合、実現できない。また、上述した第
2の従来の技術では、フレーム番号識別信号を付加する
必要はないが、メモリ読み出し位相を決定するための動
作/回路が複雑/大規模になる。
The above-mentioned first conventional technique requires the addition of a frame number identification signal for phase determination, and cannot be realized if the frame signal format is already fixed and cannot be changed. Further, in the above-mentioned second conventional technique, it is not necessary to add the frame number identification signal, but the operation / circuit for determining the memory read phase becomes complicated / large-scale.

【0009】そこで、本発明の目的は、フレーム番号識
別のための特別な信号を必要とせず、かつ簡単な構成
で、位相合わせをすることをできるマルチフレーム位相
合わせ回路を提供することにある。
Therefore, an object of the present invention is to provide a multi-frame phase matching circuit which does not require a special signal for identifying a frame number and has a simple structure for phase matching.

【0010】[0010]

【課題を解決するための手段】前述の課題を解決するた
め、本発明によるマルチフレーム位相合わせ回路は、マ
ルチフレームの先頭位相が相異なる第1,第2の入力信
号のフレーム同期を確立するフレーム同期手段と、同一
のフレーム位相で読み出す第1の記憶手段と、読み出さ
れた第1及び第2の入力信号を任意のn(nは2より大
なる正の整数)フレームを1マルチフレームとし、nフ
レーム周期で記憶する第2の記憶手段と、前記読み出さ
れた第1の入力信号からフレーム周期でサンプリング
した結果と第2の入力信号からフレーム周期でサンプリ
ングした結果との両信号を比較する第1の比較器と、前
記読み出された第1の入力信号からフレーム周期でサン
プリングした結果と第2の入力信号からnフレーム周期
でサンプリングした結果の両信号を比較する第2の比較
器と、前記第1の信号が、前記第2の信号の方より遅れ
ている場合には前記第2の比較器の一致結果に基づい
て、前記第2の信号を遅延して出力する第1の制御手段
と、前記第1の信号が前記第2の信号よりも進んでいる
場合には前記第1の比較器に基づいて前記第1の信号を
遅延して出力する第2の制御手段とを備えて構成され
る。
In order to solve the above-mentioned problems, a multi-frame phasing circuit according to the present invention is a frame for establishing frame synchronization of first and second input signals having different leading phases of multi-frames. The synchronization means, the first storage means for reading in the same frame phase, and the read first and second input signals for an arbitrary n (n is larger than 2).
N is a positive integer)
The second storage means for storing at the frame period and the both signals of the result of sampling at the n- frame period from the read first input signal and the result of sampling at the frame period from the second input signal are compared. A first comparator, and a second comparator for comparing both the result of sampling from the read first input signal at a frame period and the result of sampling from the second input signal at a period of n frames. A first control for delaying and outputting the second signal based on the coincidence result of the second comparator when the first signal is later than the second signal Means and second control means for delaying and outputting the first signal based on the first comparator when the first signal leads the second signal. Consists of

【0011】ここで、前記第1,第2の記憶手段は、書
き込みと読み出しとが任意に行えるデュアルポート・メ
モリであり、前記第1,第2の制御手段はそれぞれのメ
モリと、このメモリの読み出しタイミングを前記第1,
第2の比較器の比較に基づいて行う読み出し制御回路を
有する。
Here, the first and second storage means are dual port memories capable of arbitrarily writing and reading, and the first and second control means are respective memories and the memory. The read timing is the first,
It has a read control circuit based on the comparison of the second comparator.

【0012】[0012]

【発明の実施の形態】本発明のマルチフレーム位相合わ
せ回路の第1の実施形態が図1に示されている。図3
は、この第1の実施形態の動作を示すタイミング図であ
る。図1,図3において、本発明のマルチフレーム位相
合わせ回路の第1の実施形態は、マルチフレームの先頭
位相が相異なる第1,第2の入力信号S1,S2のフレ
ーム同期回路3,4と、両方を同一のフレーム位相で読
み出すフレームメモリ9,10と、第1または第2の信
号S1、またはS1のn(nはより大なる正の整数)
フレームのカウンタ15と、このカウンタ15の出力
を1周期として記憶するメモリ32,33と、第1の入
力信号S1からnフレーム周期でサンプリングした結果
と第2の入力信号S2からフレーム周期でサンプリング
した結果との両信号を比較する第1の比較回路25と、
第2の入力信号S1からフレーム周期でサンプリングし
た結果との両信号を比較する第2の比較回路26と、前
記第1の入力信号S1が、第2の入力信号S2の方より
遅れている場合には前記第2の比較回路26の一致結果
に基づいて、前記第2の入力信号S2を遅延して出力す
ると共に、前記第1の入力信号S1が前記第2の入力信
号よりも進んでいる場合には、前記第1の比較回路25
に基づいて前記第1の入力信号S1を遅延して出力する
制御手段即ち、メモリ32,33と読み出し制御回路2
9とを備える。
DETAILED DESCRIPTION OF THE INVENTION A first embodiment of a multi-frame phasing circuit of the present invention is shown in FIG. Figure 3
FIG. 4 is a timing chart showing the operation of the first embodiment. 1 and 3, the first embodiment of the multi-frame phase adjusting circuit of the present invention is the same as the frame synchronizing circuits 3 and 4 for the first and second input signals S1 and S2 having different multi-frame head phases. , Frame memories 9 and 10 for reading both of them in the same frame phase, and the first or second signal S1 or n of S1 (n is a positive integer greater than 2 )
Frame counter 15 and output n of this counter 15
Of the first input signal S1 for n frame periods and the results of sampling for the second input signal S2 at frame periods for comparing both signals. A comparison circuit 25,
A second comparison circuit 26 that compares both signals of the second input signal S1 and the result of sampling at the frame period, and the first input signal S1 is delayed from the second input signal S2. On the basis of the matching result of the second comparison circuit 26, the second input signal S2 is delayed and output, and the first input signal S1 leads the second input signal. In this case, the first comparison circuit 25
Control means for delaying and outputting the first input signal S1 based on
9 and.

【0013】次に本発明のマルチフレーム位相合わせ回
路の第2の実施形態の構成が、図2のブロック図に示さ
れている。図2において、図1のnフレーム周期サンプ
リング回路17,19をnフレーム周期保持回路36,
39に、図1のフレーム周期サンプリング回路18,2
0をフレーム周期CRC(Cyclic Redund
ancy Cheks)演算回路37,40に置き換え
たものであり、前後の接続関係及びその機能は共通す
る。この他のブロック部分は、図1と共通するため、共
通の参照数字を用いて図示するに留め、その機能や効果
などについて、改めて説明しない。
The configuration of the second embodiment of the multi-frame phase matching circuit of the present invention is shown in the block diagram of FIG. 2, the n-frame cycle sampling circuits 17 and 19 shown in FIG.
39, the frame period sampling circuits 18, 2 of FIG.
0 is a frame cycle CRC (Cyclic Redund
The device has been replaced with the operation circuits 37 and 40, and the front and rear connection relationships and the functions thereof are common. Since the other block portions are common to those in FIG. 1, they are illustrated by using common reference numerals, and their functions and effects will not be described again.

【0014】ここで、上述したフレーム周期CRC演算
回路37,40は、またBIP−L(Bit Interleaved
Parity-L)チェック回路に置き換えることができる。い
ずれも、フレーム周期サンプリング回路18,20と、
同様の機能を呈する。
Here, the above-mentioned frame cycle CRC calculation circuits 37 and 40 are also connected to BIP-L (Bit Interleaved).
Parity-L) check circuit can be replaced. In both cases, the frame period sampling circuits 18 and 20,
It exhibits a similar function.

【0015】元々は同じ信号で、システムの信頼性向上
のために別々の経路を経由して、それぞれ入力された図
3の信号S1,S2は、フレーム同期回路3,4により
各々同期が確立され、これら同期回路3,4からは、信
号S1と同等の信号S5とこの信号S5のフレーム位相
を示すフレーム信号S6、及び信号S2と同等の信号S
7とこの信号S7のフレーム位相を示すフレーム信号S
8とがそれぞれ出力される。信号S5及びS7は、確立
されたフレーム位相をそれぞれ示すフレーム信号S6,
S8の位相でフレームメモリ9及び10に書き込まれ、
同一のフレーム位相で読み出されることにより、図3の
信号S11,S13に示すように、フレーム位相が一致
した、信号S11とこの信号S11のフレーム位相を示
すフレーム信号S12、及び信号S2と同等の信号S1
3とこの信号S13のフレーム位相を示すフレーム信号
S14とをそれぞれ出力する。但し、フレーム信号S1
2とS14とは、同一のデータとなる。信号S11のフ
レーム位相を示すフレーム信号S12は、フレーム位相
でnフレームカウントするnフレームカウンタ15に入
力され、nフレーム周期のマルチフレーム信号S16を
出力する。
Originally the same signal, the signals S1 and S2 of FIG. 3 input via different paths for improving the reliability of the system are respectively synchronized by the frame synchronization circuits 3 and 4. From these synchronizing circuits 3 and 4, a signal S5 equivalent to the signal S1, a frame signal S6 indicating the frame phase of this signal S5, and a signal S2 equivalent to the signal S2.
7 and a frame signal S indicating the frame phase of this signal S7
8 and 8 are output respectively. The signals S5 and S7 are frame signals S6 and S6 respectively indicating the established frame phase.
It is written in the frame memories 9 and 10 in the phase of S8,
As shown by the signals S11 and S13 in FIG. 3 by being read in the same frame phase, the signal S11 and the frame signal S12 showing the frame phase of this signal S11 and the signal equivalent to the signal S2 have the same frame phase. S1
3 and a frame signal S14 indicating the frame phase of this signal S13 are output. However, the frame signal S1
2 and S14 are the same data. A frame signal S12 indicating the frame phase of the signal S11 is input to an n-frame counter 15 that counts n frames at the frame phase, and outputs a multi-frame signal S16 having an n-frame cycle.

【0016】マルチフレーム信号S16は、信号S11
をnフレームに1回サンプリングする第1のnフレーム
周期サンプリング回路17に供給され、信号S11をn
フレーム周期サンプリングするためのタイミング信号と
なり、信号S11及び信号S13をメモり32及び33
に書き込むためのマルチフレーム位相信号となり、また
読み出し制御回路29が、比較回路25及び26出力に
より、メモリ読み出し位相を決定するための基準信号と
もなる。
The multi-frame signal S16 is the signal S11.
Is supplied to a first n-frame period sampling circuit 17 for sampling the signal S11 once every n frames,
It serves as a timing signal for sampling the frame period and stores the signals S11 and S13 in memory 32 and 33.
, And also serves as a reference signal for the read control circuit 29 to determine the memory read phase by the outputs of the comparison circuits 25 and 26.

【0017】フレーム位相が一致した入力信号S11
びS13は、nフレーム周期のマルチフレーム位相を示
すマルチフレーム信号S16を基準に、メモリ32及び
33に別々に書き込まれる。また、フレーム位相が一致
した信号S11及びS13は、nフレーム周期サンプリ
ング回路17,19及びフレーム周期サンプリング回路
18,20で任意の数量でフレーム中の同じ区間のデー
タをサンプリングされ、nフレーム周期サンプリング結
果の信号S21,S23とフレーム周期サンプリング結
果の信号S22,S24とを得る。
The input signals S11 and S13 having the same frame phase are separately written in the memories 32 and 33 with reference to the multi-frame signal S16 indicating the multi-frame phase of n frame periods. The signals S11 and S13 having the same frame phase are output to the n frame period sampling circuits 17 and 19 and the frame period sampling circuit.
18 and 20, the data of the same section in the frame is sampled in an arbitrary quantity, and the signals S21 and S23 of the n frame cycle sampling result and the signals S22 and S24 of the frame cycle sampling result are obtained.

【0018】このように、信号S11をnフレーム周期
でサンプリングした結果の信号S21と、信号S13を
フレーム周期でサンプリングした結果の信号24とを比
較回路25で、また、信号S11をフレーム周期サンプ
リングした結果の信号S22と信号S13をnフレーム
周期でサンプリングした結果の信号S23とを比較回路
26で、それぞれ比較する。
As described above, the signal S21 as a result of sampling the signal S11 at the n-frame cycle and the signal 24 as a result of sampling the signal S13 at the frame cycle are sampled by the comparison circuit 25, and the signal S11 is sampled by the frame cycle. A comparison circuit 26 compares the resulting signal S22 and the resulting signal S23 obtained by sampling the signal S13 at n frame periods.

【0019】信号S1とS2は、元々は同じ信号である
ことから、もし仮に信号S1に対して信号S2が遅れて
いる場合は、信号S11のnフレーム周期サンプリング
結果の信号S21と信号S13のフレーム周期サンプリ
ング結果の信号S24とが一致することはあっても、信
号S11のフレーム周期サンプリング結果の信号S22
と信号S13のフレーム周期サンプリング結果の信号S
23とが一致することはあり得ないので、図3の信号S
27,S28に示すように第一の比較回路25が一致と
判定し、第二の比較回路26は一致を検出することはな
い。
Since the signals S1 and S2 are originally the same signal, if the signal S2 is delayed with respect to the signal S1, the frames of the signal S21 and the signal S13 of the n frame period sampling result of the signal S11 are obtained. Although the signal S24 of the periodic sampling result may match, the signal S22 of the frame periodic sampling result of the signal S11 is obtained.
And the signal S of the frame period sampling result of the signal S13
23 cannot match, so the signal S in FIG.
27 and S28, the first comparison circuit 25 determines that there is a match, and the second comparison circuit 26 does not detect a match.

【0020】逆に、信号S1に対して信号S2の方が進
んでいる場合は、信号S11のフレーム周期サンプリン
グ結果の信号S22と信号S13のnフレーム周期サン
プリング結果の信号S23とは一致し、第二の比較回路
26が一致と判定し、第一の比較回路25は不一致とな
る。
On the contrary, when the signal S2 is ahead of the signal S1, the signal S22 of the frame period sampling result of the signal S11 and the signal S23 of the n frame period sampling result of the signal S13 coincide with each other, and The second comparison circuit 26 determines that they match, and the first comparison circuit 25 does not match.

【0021】このとき、読み出し制御回路29は、メモ
リ32及び33の読み出し位相を遅れて到達したと判定
された方の信号が、一致検出された時点のタイミングで
そのまま読み出し、先に到着したと判定された信号が、
その位相差分遅らせた位相で読み出しを開始するように
制御されることにより、出力信号S34とS35として
マルチフレーム位相の一致したデータをそれぞれ出力す
る。
At this time, the read control circuit 29 reads the signal of one of the memories 32 and 33, which has been determined to have arrived with a delay in the read phase, at the timing of the coincidence detection, and determines that the signal has arrived first. Signal is
By controlling the reading to start at the phase delayed by the phase difference, the data in which the multi-frame phases match are output as the output signals S34 and S35, respectively.

【0022】以上の如く、本発明の実施形態によれば、
元々は同じ信号を冗長構成を取るために別々の伝送路を
経由して伝送することにより、位相異なってしまった状
態で信号を受信した場合、無瞬断切り替えなどの各種処
理を実行するために、図3の信号S34,S5に示すよ
うに、その位相を位置させる必要がある。本実施形態の
動作は次のように行われる。
As described above, according to the embodiment of the present invention,
Originally, by transmitting the same signal via different transmission paths to create a redundant configuration, when signals are received in a state where the phases are different, in order to execute various processing such as switching without interruption. , As shown by signals S34 and S5 in FIG. The operation of this embodiment is performed as follows.

【0023】(1)別々の伝送路を経由し、フレーム先
頭位相及びマルチフレーム先頭位相が異なった入力信号
各々について、同期回路によりそれぞれのフレーム同期
を確立する。 (2)前記入力信号を前記同期回路で確立したフレーム
位相で書き込み、同一のフレーム位相で読み出すフレー
ムメモリに書き込み/読み出しすることにより、信号の
フレーム位相を一致させる。ここで、メモリ9,10と
して、デュアルポートメモリが使用される。 (3)前記フレームメモリの出力も、nフレーム周期で
各々のメモリに書き込む。 (4)入力信号を、各々nフレーム周期でm(mは1よ
り大の整数)ビットサンプリングする。信号Aをサンプ
リングしたものをA1とし、信号Bをサンプリングした
ものをB1とする。 (5)入力信号を、各々フレーム周期でmビットサンプ
リングする。信号AをサンプリングしたものをA2と
し、信号BをサンプリングしたものをB2とする。 (6)上記でサンプリングした結果をA1とB2、B1
とA2とでそれぞれ比較し、その一致を検出する。 (7)例えば、上記(6)の一致検出の結果、A1とB
2が一致すると、信号Aに比べて信号Bが遅れて到着し
ていると判断できることから、メモリ32の読み出し位
相を、信号Bのマルチフレーム先頭位相を基準に、信号
Bを正常に読み出せるように設定することにより、信号
Aと信号Bとのマルチフレーム先頭位相を合わせる。
(1) The respective frame synchronizations are established by the synchronizing circuit for the respective input signals having different frame start phases and multi-frame start phases via different transmission paths. (2) The input signal is written at the frame phase established by the synchronization circuit and written / read to / from the frame memory to be read at the same frame phase, thereby matching the frame phases of the signals. Here, dual port memories are used as the memories 9 and 10. (3) The output of the frame memory is also written in each memory at an n-frame cycle. (4) The input signal is sampled in m (m is an integer greater than 1) bits in each n frame periods. A sample of the signal A is referred to as A1, and a sample of the signal B is referred to as B1. (5) m bits of the input signal are sampled at each frame period. The signal A sampled is A2, and the signal B sampled is B2. (6) The results of sampling above are A1, B2, and B1.
And A2 are compared to detect the coincidence. (7) For example, as a result of the match detection in (6) above, A1 and B
If the two match, it can be determined that the signal B arrives later than the signal A. Therefore, the signal B can be normally read based on the read phase of the memory 32 based on the multiframe head phase of the signal B. By setting to, the multiframe head phases of the signal A and the signal B are matched.

【0024】以上の基本機能構成に、以下の回路を付加
または置き換えすることにより、さらに精度の向上と回
路規模縮小とが図れる。
By adding or substituting the following circuits to the above basic functional configuration, it is possible to further improve the accuracy and reduce the circuit scale.

【0025】上記のサンプリング数mは、大きいほど位
置検出の精度は向上するが、mが大きくなればなるほど
回路規模が増大する。サンプリング回路をCRC(Cycl
ic Redundancy Check)演算回路、またはBIP−L(B
it Interleaved Parity - L)に置き換えることで、精
度向上と回路の簡略化とが可能となる。
The larger the number of samplings m, the higher the accuracy of position detection, but the larger the number m, the larger the circuit scale. CRC (Cycl
ic Redundancy Check) arithmetic circuit or BIP-L (B
It Interleaved Parity-L) can improve accuracy and simplify the circuit.

【0026】また、信号間に位相差がない場合は、上記
で得られたA1とB2、A2とB1との両方で一致検出
する。この場合は、信号Aまたは信号Bどちらからのマ
ルチフレーム先頭位相を基準に(どちらにするかが予め
設定する)読み出し位相を設定する。
When there is no phase difference between the signals, coincidence detection is performed on both A1 and B2 and A2 and B1 obtained above. In this case, the read phase is set with reference to the multi-frame head phase from either the signal A or the signal B (which is set in advance).

【0027】[0027]

【発明の効果】以上説明したように、本発明のマルチフ
レーム位相合わせ回路によれば、メモリ読み出し位相決
定をフレーム番号識別信号による位相判定で行わず、デ
ータの比較結果で行うことにより、フレーム同期用信号
にフレーム識別番号などを追加/変更できない場合で
も、マルチフレーム位相合わせが可能となり、データの
比較回路をメモリの前に設けることにより、位相合わせ
動作を簡単に実現でき、回路規模を小さくでき、またデ
ータの比較回路を、例えば第一の実施形態のようにCR
Cチェック回路、またはBIP−L演算回路に置き換え
ることにより、比較の制度を維持したまま、回路を縮小
することが可能となる効果が得られる。
As described above, according to the multi-frame phasing circuit of the present invention, the memory read phase is not determined by the phase determination based on the frame number identification signal, but by the data comparison result, the frame synchronization is achieved. Even when the frame identification number cannot be added / changed to the signal for use, multi-frame phase matching is possible, and by providing the data comparison circuit in front of the memory, the phase matching operation can be easily realized and the circuit scale can be reduced. , And a data comparison circuit, for example, CR as in the first embodiment.
By replacing the circuit with the C check circuit or the BIP-L arithmetic circuit, it is possible to reduce the size of the circuit while maintaining the accuracy of comparison.

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

【図1】本発明のマルチフレーム位相合わせ回路の第一
の実施形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of a multi-frame phase matching circuit of the present invention.

【図2】本発明のマルチフレーム位相合わせ回路の第2
の実施形態の構成を示すブロック図である。
FIG. 2 is a second multi-frame phasing circuit of the present invention.
3 is a block diagram showing the configuration of the embodiment of FIG.

【図3】本発明の第一の実施形態の各部動作を示すタイ
ミング図である。
FIG. 3 is a timing chart showing an operation of each unit of the first embodiment of the present invention.

【図4】第1の従来の技術の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of a first conventional technique.

【図5】第1の従来の技術の各部動作を示すタイミング
図である。
FIG. 5 is a timing chart showing an operation of each unit of the first conventional technique.

【図6】第2の従来の技術の構成を示すブロック図であ
る。
FIG. 6 is a block diagram showing a configuration of a second conventional technique.

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

3,4 フレーム同期回路 9,10 フレームメモリ 15 nフレームカウンタ 17,19 nフレーム周期サンプリング
回路 18,20 フレーム周期サンプリング回
路 25,26 比較回路 29 読み出し制御回路 32,33,55,56 メモリ 36,39 nフレーム周期保持回路 37,40 フレーム周期CRC演算回路 51,52 受信回路 53,54 フレーム同期回路 57,58,59,60 アドレス制御回路 61 位相比較回路 62 警報制御回路 63 データ選択回路
3, 4 frame synchronization circuit 9, 10 frame memory 15 n frame counter 17, 19 n frame cycle sampling circuit 18, 20 frame cycle sampling circuit 25, 26 comparison circuit 29 read control circuit 32, 33, 55, 56 memory 36, 39 n frame cycle holding circuit 37, 40 frame cycle CRC calculation circuit 51, 52 receiving circuit 53, 54 frame synchronizing circuit 57, 58, 59, 60 address control circuit 61 phase comparison circuit 62 alarm control circuit 63 data selection circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−156022(JP,A) 特開 平9−266469(JP,A) 特開 平2−226928(JP,A) 特開 平6−188864(JP,A) 特開 平7−79208(JP,A) 特開 平5−63686(JP,A) 特開 平4−175023(JP,A) 特開 平4−37336(JP,A) 特開 平2−309729(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04J 3/00 - 3/26 H04L 5/22 - 5/26 H04L 1/00 H04L 7/00 JICSTファイル(JOIS)─────────────────────────────────────────────────── --- Continuation of front page (56) References JP-A-4-156022 (JP, A) JP-A-9-266469 (JP, A) JP-A-2-226928 (JP, A) JP-A-6- 188864 (JP, A) JP 7-79208 (JP, A) JP 5-63686 (JP, A) JP 4-175023 (JP, A) JP 4-37336 (JP, A) JP-A-2-309729 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04J 3/00-3/26 H04L 5/22-5/26 H04L 1/00 H04L 7 / 00 JISST file (JOIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】マルチフレームの先頭位相が相異なる第
1,第2の入力信号のフレーム同期を確立するフレーム
同期手段と、同一のフレーム位相で読み出す第1の記憶
手段と、読み出された第1及び第2の入力信号を任意の
n(nは2より大なる正の整数)フレームを1マルチフ
レームとし、nフレーム周期で記憶する第2の記憶手段
と、前記読み出された第1の入力信号からフレーム周
期でサンプリングした結果と第2の入力信号からフレー
ム周期でサンプリングした結果との両信号を比較する第
1の比較器と、前記読み出された第1の入力信号からフ
レーム周期でサンプリングした結果と第2の入力信号か
らnフレーム周期でサンプリングした結果の両信号を比
較する第2の比較器と、前記第1の信号が、前記第2の
信号の方より遅れている場合には前記第2の比較器の一
致結果に基づいて、前記第2の信号を遅延して出力する
第1の制御手段と、前記第1の信号が前記第2の信号よ
りも進んでいる場合には前記第1の比較器に基づいて前
記第1の信号を遅延して出力する第2の制御手段とを備
えて成ることを特徴とするマルチフレーム位相合わせ回
路。
1. A frame synchronization means for establishing frame synchronization between first and second input signals having different head phases of a multiframe, a first storage means for reading at the same frame phase, and a read first memory means. the optional first and second input signals
n (n is a positive integer greater than 2) frames
A second storage unit that stores a frame at an n-frame cycle, a result obtained by sampling the read first input signal at an n- frame cycle, and a result obtained by sampling the second input signal at a frame cycle. A first comparator for comparing signals, and a second comparator for comparing both signals of a result of sampling from the read first input signal at a frame period and a result of sampling from a second input signal at an n frame period And the first signal lags behind the second signal, the second signal is delayed and output based on the coincidence result of the second comparator. A first control means and a second control for delaying and outputting the first signal based on the first comparator when the first signal leads the second signal And means Multi-frame phase matching circuit to be.
【請求項2】前記第1,第2の記憶手段は、書き込みと
読み出しとが任意に行えるデュアルポート・メモリであ
る請求項1に記載のマルチフレーム位相合わせ回路。
2. The multi-frame phase adjustment circuit according to claim 1, wherein the first and second storage means are dual port memories capable of arbitrarily writing and reading.
【請求項3】前記第1,第2の制御手段は、それぞれの
メモリと、このメモリの読み出しタイミングを前記第
1,第2の比較器の比較に基づいて行う読み出し制御回
路とを有する請求項1に記載のマルチフレーム位相合わ
せ回路。
3. The first and second control means have respective memories and a read control circuit for performing a read timing of the memories based on the comparison of the first and second comparators. 1. The multi-frame phase matching circuit described in 1.
JP31871596A 1996-11-13 1996-11-13 Multi-frame phase matching circuit Expired - Fee Related JP3388335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31871596A JP3388335B2 (en) 1996-11-13 1996-11-13 Multi-frame phase matching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31871596A JP3388335B2 (en) 1996-11-13 1996-11-13 Multi-frame phase matching circuit

Publications (2)

Publication Number Publication Date
JPH10145320A JPH10145320A (en) 1998-05-29
JP3388335B2 true JP3388335B2 (en) 2003-03-17

Family

ID=18102172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31871596A Expired - Fee Related JP3388335B2 (en) 1996-11-13 1996-11-13 Multi-frame phase matching circuit

Country Status (1)

Country Link
JP (1) JP3388335B2 (en)

Also Published As

Publication number Publication date
JPH10145320A (en) 1998-05-29

Similar Documents

Publication Publication Date Title
US6920603B2 (en) Path error monitoring method and apparatus thereof
JPH07177116A (en) Digital signal transmitter
JP3388335B2 (en) Multi-frame phase matching circuit
JP2669697B2 (en) Elastic store memory read control method
JPH10257034A (en) Unit for switching without short break
JPH0338128A (en) Hitless switching method
JPS603251B2 (en) Synchronization method
JP2785755B2 (en) Hitless switching device
JP2872011B2 (en) Apparatus for phasing bytes for both active and standby transmission data in an ATM communication system
JP3692994B2 (en) Synchronization detection circuit, line signal processing circuit, line switching device, line signal processing method, and line switching method
JP3001469B2 (en) Transmission line switching device
JP3421715B2 (en) Transmission equipment
JP2819955B2 (en) In-device error monitoring circuit
JP3283418B2 (en) Redundant output switching circuit and exchange
KR970004890B1 (en) Circuit for preventing slip in light data link apparatus
JPH05176017A (en) Redundant system switching system in digital transmission system
JPH04156022A (en) Frame phase synchronizing circuit
JP2550925B2 (en) Elastic store circuit
JPH09266469A (en) Automatic phase matching device
JPH10233765A (en) Phase matching system
JPH076079A (en) Elastic memory circuit
JPH02134939A (en) Input data synchronizing circuit
JPH0685777A (en) Phase matching circuit for multiplex frame processing signal
JPH06188864A (en) Transmission line switching system
JPH08256133A (en) Slip control circuit for elastic store memory

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080117

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees