JPH06141015A - Phase matching circuit - Google Patents

Phase matching circuit

Info

Publication number
JPH06141015A
JPH06141015A JP4288690A JP28869092A JPH06141015A JP H06141015 A JPH06141015 A JP H06141015A JP 4288690 A JP4288690 A JP 4288690A JP 28869092 A JP28869092 A JP 28869092A JP H06141015 A JPH06141015 A JP H06141015A
Authority
JP
Japan
Prior art keywords
information
circuit
frame
detection circuit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4288690A
Other languages
Japanese (ja)
Inventor
Shinichi Aoyanagi
愼一 青柳
Hiroshi Ichibagase
広 一番ヶ瀬
Shinichi Kosuda
伸一 小須田
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.)
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Telegraph and Telephone 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 Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Mitsubishi Electric Corp
Priority to JP4288690A priority Critical patent/JPH06141015A/en
Publication of JPH06141015A publication Critical patent/JPH06141015A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To compress a circuit scale by providing a detection circuit for leading phase difference between first information input in a first frame and first information output in a reference frame, and detection circuit for the leading information in information input and pulse stuffing information in a second frame. CONSTITUTION:The forefront of the first frame is found out by first forefront designation information. The detection circuit 1 detects the leading position of the frame information of the first information represented by second forefront designation information. Also, the presence/absence of pulse staffing for the information part of the second frame is detected by the detection circuit 21. A pulse for writing the information part of the second frame is generated based on the presence/absence of pulse stuffing at a pulse generation circuit 22, and the information part is written on a temporary recording circuit 2. The input of the first information is compared with the output at a phase detection circuit 33, and the phase difference, the forefront designation information from the circuit 1, and the presence/absence information of pulse stuffing from the circuit 21 are compared with each other by a comparator 24, and the forefront designation information of data output and the presence/absence information of pulse stuffing are outputted to a circuit 25. Data from the circuit 2 are outputted as the first frame by the output of an address from the circuit 25.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、数方路から入力する
スタッフ情報を含むデータを、位相を合わせた後に基準
フレーム中に出力する位相合わせ回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase matching circuit for outputting data containing stuff information input from several routes in a reference frame after matching the phases.

【0002】[0002]

【従来の技術】図6は、例えば特開平2−205131
号に示された位相合わせ回路である。図において、1は
入力データDinを、タイムスロットTS1ないしTS
7の7スロット分に相当する1フレーム分のデータD1
と、データスロットTDに相当する先頭指示情報D2と
に分離して、後述のそれぞれ別の回路に出力する先頭指
示情報検出回路である。4は先頭指示情報検出回路1か
ら入力する先頭指示情報D2を、先頭指示回路3から入
力するフレームパルス(出力指示信号)Gに従って修正
して、先頭指示情報D3を生成して出力する先頭指示情
報修正回路である。2はデータD1をメモリに書き込む
一時記憶回路で、5は一時記憶回路2から出力された1
フレーム分の一時記憶後のデータD4に、先頭指示情報
D3を挿入して読み出し側に出力する先頭指示情報挿入
回路である。
2. Description of the Related Art FIG. 6 shows, for example, Japanese Patent Laid-Open No. 2-205131.
It is the phase matching circuit shown in No. In the figure, 1 indicates the input data Din in time slots TS1 to TS.
Data D1 for 1 frame corresponding to 7 slots of 7
And the head instruction information D2 corresponding to the data slot TD, and outputs the head instruction information D2 to different circuits described later. Reference numeral 4 is head instruction information for correcting the head instruction information D2 input from the head instruction information detection circuit 1 according to a frame pulse (output instruction signal) G input from the head instruction circuit 3 to generate and output head instruction information D3. It is a correction circuit. Reference numeral 2 is a temporary storage circuit for writing the data D1 to the memory, and 5 is 1 output from the temporary storage circuit 2.
The head instruction information inserting circuit inserts the head instruction information D3 into the data D4 after the temporary storage of the frame and outputs the data to the reading side.

【0003】次に動作について説明する。書き込み側か
ら入力する入力データDinは、先頭指示情報検出回路
1によってタイムスロットTS1〜TS7に相当するデ
ータD1と、タイムスロットTDに相当する先頭指示情
報D2とに分離される。1フレーム分のデータD1は一
時記憶回路2に記憶される。一方、先頭指示情報D2
は、先頭指示情報修正回路4に入力される。読み出し側
の指示に従ったフレームパルスGが、一時記憶回路2お
よび先頭指示情報修正回路4に出力される。先頭指示情
報修正回路4から先頭指示情報挿入回路5に、フレーム
パルスGに応じて修正された先頭指示情報D3が出力さ
れ、ここで、一時記憶回路からのD1の遅延データD4
に挿入されて、読み出し側に出力データDoutとして
読み出される。
Next, the operation will be described. The input data Din input from the writing side is separated by the head instruction information detection circuit 1 into data D1 corresponding to the time slots TS1 to TS7 and head instruction information D2 corresponding to the time slot TD. The data D1 for one frame is stored in the temporary storage circuit 2. On the other hand, the head instruction information D2
Is input to the head instruction information correction circuit 4. The frame pulse G according to the instruction on the reading side is output to the temporary storage circuit 2 and the head instruction information correction circuit 4. The head instruction information correction circuit 4 outputs the head instruction information D3 corrected according to the frame pulse G to the head instruction information insertion circuit 5, where the delay data D4 of D1 from the temporary storage circuit.
And is read as output data Dout on the reading side.

【0004】以上が入力データにスタッフ情報がない場
合の先頭指示情報を利用した、実際に有効な情報の先頭
を揃える従来の方法である。スタッフ情報がある場合
は、別の従来例が、特開平3−26210として開示さ
れている。図7はこの構成を示したものである。図にお
いて、6,7は各々メモリ回路で、8は入力信号および
メモリ回路6,7出力を選択する選択回路で、9はスタ
ッフ情報により、この選択回路を制御する制御回路であ
る。
The above is the conventional method of aligning the heads of actually effective information by using the head designating information when the input data has no staff information. When there is staff information, another conventional example is disclosed in Japanese Patent Laid-Open No. 3-26210. FIG. 7 shows this configuration. In the figure, 6 and 7 are memory circuits, 8 is a selection circuit for selecting an input signal and outputs of the memory circuits 6 and 7, and 9 is a control circuit for controlling the selection circuit according to stuff information.

【0005】メモリ回路6および7は、1タイムスロッ
ト分の時間遅延を与えるためのメモリ回路であり、入力
信号を縦続に伝送して得る各送出信号は、選択回路8の
入力端(D1およびD2)に送られている。スタッフ処
理において、正スタッフ、負スタッフ等を発生させた場
合、以下の動作をする。まず、制御回路9は、非スタッ
フの指示時には入力端(D1)を選択するよう指示して
いる。正スタッフ指示時には、1タイムスロットだけ入
力端(D1)のあとの入力端(D2)の信号を、また負
スタッフ指示時には同様に入力端(D0)の各入力端に
与えられている信号を選択して出力するよう選択制御信
号を発生し、選択回路8の選択動作を制御する。
The memory circuits 6 and 7 are memory circuits for giving a time delay of one time slot, and the respective transmission signals obtained by transmitting the input signals in cascade are input terminals (D1 and D2) of the selection circuit 8. ) Has been sent to. When positive staff, negative staff, etc. are generated in the staff processing, the following operation is performed. First, the control circuit 9 instructs to select the input terminal (D1) when a non-stuff instruction is given. When the positive stuff is instructed, the signal at the input end (D2) after the input end (D1) for only one time slot is selected, and when the negative stuff is instructed, the signal applied to each input end (D0) is also selected. Then, a selection control signal is generated so as to be output.

【0006】[0006]

【発明が解決しようとする課題】従来の位相合わせ回路
は以上のように構成されているので、先頭指示情報を修
正するためのメモリとその制御回路、およびスタッフ処
理のためのメモリとその制御回路が必要となり、回路規
模が増大すると共に制御が複雑になるという課題があっ
た。
Since the conventional phase matching circuit is constructed as described above, the memory for correcting the head designating information and its control circuit, and the memory for stuffing processing and its control circuit. However, there is a problem that the control becomes complicated as the circuit scale increases.

【0007】この発明は上記のような課題を解消するた
めになされたもので、先頭指示情報の修正とスタッフ処
理を一元的な制御で行い、回路規模を減らして制御を容
易にすることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to modify head instruction information and perform stuff processing under a unified control to reduce the circuit scale and facilitate control. And

【0008】[0008]

【課題を解決するための手段】この発明に係わる位相合
わせ回路は、情報伝送において、第1のフレームにおけ
る第1の情報入力の先頭位相を検出する第1の情報入力
検出回路と、揃えるべき基準フレームにおける第1の情
報出力の先頭位置を検出する第1の情報出力検出回路
と、上記第1の情報入力の先頭位相と上記第1の情報出
力の先頭位相との差を検出する位相差検出回路とを備
え、複数の第2の情報フレームにおける各第2の情報入
力の先頭位相検出値に対して、共通使用する上記位相差
検出回路の出力を加減算して、各第2の情報出力の先頭
位置を指定するようにした。また請求項2の発明におい
ては、第1のフレームにおける第1の情報入力の先頭位
相と、第1の情報出力の先頭位相との差を検出する位相
差検出回路と、第1のフレームに複数個含まれる、第2
のフレーム中の第2の情報データの先頭を識別する第2
の情報の先頭指示情報検出回路と、上記第2のフレーム
中に含まれるスタッフ情報を検出するスタッフ情報検出
回路と、上記第2の情報データを指定位置から書き込
み、順次読み出す一時記憶回路と、上記第2の情報デー
タの先頭からのオフセットと、上記スタッフ情報とか
ら、少なくとも上記一時記憶回路の書き込み開始の上記
指定位置か、または読み出し開始位置のいずれかを出力
する情報部分指示パルス生成回路と、上記位相差検出回
路から得られる第2の情報の先頭指示情報の取り得る範
囲の数に量子化した加算値と、上記位相差検出回路出力
の位相差と、上記先頭指示情報検出回路出力と、上記ス
タッフ情報検出回路出力とから、揃えるべき基準フレー
ム中に含まれるべき各第2の情報の先頭指示情報を決め
る比較回路を備えた。
In a phase matching circuit according to the present invention, in information transmission, a first information input detecting circuit for detecting a leading phase of a first information input in a first frame and a standard to be aligned. A first information output detection circuit for detecting a leading position of a first information output in a frame, and a phase difference detection for detecting a difference between a leading phase of the first information input and a leading phase of the first information output. Circuit, and the output of the commonly used phase difference detection circuit is added / subtracted to / from the leading phase detection value of each second information input in the plurality of second information frames to obtain each second information output. The start position is specified. Further, in the invention of claim 2, a phase difference detection circuit for detecting a difference between a leading phase of the first information input and a leading phase of the first information output in the first frame, and a plurality of phase difference detecting circuits in the first frame. Second included
Second identifying the beginning of the second information data in the frame
Information leading instruction information detection circuit, a stuff information detection circuit for detecting stuff information contained in the second frame, a temporary storage circuit for writing the second information data from a designated position and sequentially reading the second information data, An information partial instruction pulse generation circuit that outputs at least either the specified position of the write start of the temporary storage circuit or the read start position from the offset from the beginning of the second information data and the stuff information; An addition value quantized to the number of possible ranges of the head indication information of the second information obtained from the phase difference detection circuit, a phase difference of the output of the phase difference detection circuit, and an output of the head instruction information detection circuit, A comparison circuit for determining the head instruction information of each second information to be included in the reference frame to be aligned is provided from the output of the stuff information detection circuit.

【0009】[0009]

【作用】この発明における位相合わせ回路は、第1のフ
レームにおける第1の情報入力の先頭位置と、送出側の
基準フレームにおける第1の情報出力の先頭位置との差
が検出され、この検出情報を基に、各第2の情報フレー
ムにおける第2の情報出力の先頭位置が計算される。ま
た、第2の発明における位相合わせ回路は、第1のフレ
ームにおける第1の情報入力と第1の情報出力との位相
差と、各第2の情報データの先頭からのオフセットと第
2のフレーム中のスタッフ情報とから、一時記憶回路へ
の書き込み位置、読み出し位置が定められ、また出力側
の基準フレーム中の第2の情報の先頭指示情報が定めら
れる。
In the phase matching circuit according to the present invention, the difference between the leading position of the first information input in the first frame and the leading position of the first information output in the reference frame on the sending side is detected. Based on, the start position of the second information output in each second information frame is calculated. The phase matching circuit according to the second aspect of the invention includes a phase difference between the first information input and the first information output in the first frame, an offset from the beginning of each second information data, and a second frame. The writing position and the reading position with respect to the temporary storage circuit are determined from the stuff information therein, and the leading instruction information of the second information in the reference frame on the output side is determined.

【0010】[0010]

【実施例】実施例1.まず、この発明の一実施例につい
て説明する前に、本発明が対象としている位相合わせ回
路が扱う通信フレームのデータ構造について説明する。
図5は通信フレームの構造を説明する図であり、図にお
いて、10は基本フレームで、その先頭位相13がある
定まった周期で到来する固定フレームである。このフレ
ームの中に第1の先頭指示情報14が基本フレーム10
の先頭位相13から固定のオフセット位置に格納されて
おり、基本フレームの情報の先頭位置15を示してい
る。
EXAMPLES Example 1. First, before describing an embodiment of the present invention, a data structure of a communication frame handled by a phase matching circuit which is an object of the present invention will be described.
FIG. 5 is a diagram for explaining the structure of a communication frame. In the figure, reference numeral 10 is a basic frame, and its head phase 13 is a fixed frame that arrives at a certain fixed cycle. In this frame, the first start indication information 14 is the basic frame 10
It is stored at a fixed offset position from the leading phase 13 of the above, and indicates the leading position 15 of the information of the basic frame.

【0011】また、図5(b)の11は基本フレーム1
0より情報部分のみを取り出して図示してある第1のフ
レームである。また、図5(c)の12はこの第1のフ
レーム11の内容をさらに詳しく書いた第1のフレーム
の詳細フレームである。但し、第2のフレームが時分割
多重されて第1のフレーム11を構成している。ところ
で、第1のフレームの先頭位置15から固定のオフセッ
ト位置に第2の先頭指示情報16が格納されており、こ
の第2の先頭指示情報は第2のフレームの情報の先頭位
置17を示している。本発明はこのデータ構造を持つフ
レームにおいて、各方面から到来する基本フレームの情
報の先頭位置15すなわち第1のフレームの先頭位置を
基準位相に揃えることを目的としている。この目的のた
めには、各第2のフレーム中の情報の先頭位置17がど
んな値になるかを調べ、第2のフレームの先頭指示情報
16の値を書き換え、かつ情報位置を調整しなければな
らない。
Reference numeral 11 in FIG. 5B is the basic frame 1.
It is the first frame in which only the information part is extracted from 0 and shown. Reference numeral 12 in FIG. 5C is a detailed frame of the first frame in which the contents of the first frame 11 are written in more detail. However, the second frame is time-division multiplexed to form the first frame 11. By the way, the second head designating information 16 is stored at a fixed offset position from the head position 15 of the first frame, and this second head designating information indicates the head position 17 of the information of the second frame. There is. It is an object of the present invention to align the head position 15 of the information of the basic frame coming from each direction, that is, the head position of the first frame in the frame having this data structure with the reference phase. For this purpose, it is necessary to check what the value of the head position 17 of the information in each second frame is, rewrite the value of the head designating information 16 of the second frame, and adjust the information position. I won't.

【0012】以下、この発明の一実施例について説明す
る。図1は本発明の一実施例である位相合わせ回路の構
成図である。図において、第2のフレームの位相合わせ
回路20は、以下に述べる各要素から構成され、第2フ
レームが多重化されて第1フレームを構成する。第2の
フレームの位相合わせ回路20は、その多重チャンネル
数だけ並列に設けられている。以下、説明する例では、
28チャンネルが多重化されて第1フレームを構成して
いる。1は従来例と同じ第2の先頭指示情報検出回路、
2は後述の情報部分指示パルス生成回路の出力パルスに
対応する部分の情報のみを書き込む一時記憶回路であ
る。この記憶回路は、実際にはワードを構成するビット
数の並列回路である。新規な要素として、21は第2の
フレームのスタッフ情報検出回路、22は図5における
基本フレーム10中のオーバヘッド部分を除く情報部分
のみに対応して、一時記憶回路2への書き込み位置を指
定するパルスを生成する情報部分指示パルス生成回路1
である。24はスタッフ情報検出回路21の出力および
後述の位相差検出回路33の出力位相により、出力のス
タッフ情報の発生の有無を判断する比較回路である。2
5は比較回路24の出力により、一時記憶回路2の読み
出しを制御するためのパルスを生成する情報部分指示パ
ルス生成回路2である。26は比較回路24の出力によ
り、図5における第2の新たな先頭指示情報16および
スタッフ情報を新たに挿入する第2の先頭指示情報/ス
タッフ情報挿入回路である。
An embodiment of the present invention will be described below. FIG. 1 is a configuration diagram of a phase matching circuit which is an embodiment of the present invention. In the figure, the phase alignment circuit 20 for the second frame is composed of the elements described below, and the second frame is multiplexed to form the first frame. The phase adjustment circuits 20 for the second frame are provided in parallel for the number of multiplexed channels. In the example below,
The 28 channels are multiplexed to form the first frame. 1 is the same second head indication information detection circuit as in the conventional example,
Reference numeral 2 is a temporary storage circuit for writing only the information of the portion corresponding to the output pulse of the information partial instruction pulse generating circuit described later. This storage circuit is actually a parallel circuit having the number of bits forming a word. As a new element, 21 is a stuff information detection circuit for the second frame, and 22 is a write position to the temporary storage circuit 2 corresponding to only the information part excluding the overhead part in the basic frame 10 in FIG. Information partial instruction pulse generation circuit 1 for generating a pulse
Is. Reference numeral 24 is a comparison circuit that determines whether or not the output stuff information is generated based on the output of the stuff information detection circuit 21 and the output phase of the phase difference detection circuit 33 described later. Two
Reference numeral 5 denotes an information partial instruction pulse generation circuit 2 that generates a pulse for controlling the reading of the temporary storage circuit 2 by the output of the comparison circuit 24. Reference numeral 26 is a second head instruction information / stuff information insertion circuit for newly inserting the second new head instruction information 16 and stuff information in FIG. 5 by the output of the comparison circuit 24.

【0013】また、31は第1の情報フレーム中の情報
入力の先頭位置(図5中の15)を検出する第1の情報
入力位相検出回路、32は出力側の揃えるべき基準フレ
ームにおける第1の情報出力の基準位相を検出する第1
の情報出力位相検出回路である。また、33はこれら両
者の検出した先頭位相を入力とし、その位相差を出力す
る位相差検出回路である。以下の例では、第2のフレー
ムの位相合わせ回路が28チャンネル分必要なのに対
し、第1のフレームに関する検出部分は共通化できて一
つでよい。
Reference numeral 31 is a first information input phase detection circuit for detecting the leading position (15 in FIG. 5) of the information input in the first information frame, and 32 is the first information input phase detecting circuit in the reference frame to be aligned. To detect the reference phase of the information output of the first
2 is an information output phase detection circuit. Reference numeral 33 is a phase difference detection circuit that inputs the leading phases detected by both of them and outputs the phase difference. In the following example, the phase adjustment circuit for the second frame requires 28 channels, whereas the detection portion for the first frame can be shared and only one.

【0014】次に動作について説明する。図5における
第1の先頭指示情報14により第1のフレームの先頭1
5を見つける。図1における第2の先頭指示情報検出回
路1は、この先頭位置から固定のオフセット位置にある
第2の先頭指示情報16が示す第1のフレームの情報の
先頭位置17を検出する。またスタッフ情報検出回路2
1において第2のフレームの情報部分に対するスタッフ
の有無を検出する。この検出したスタッフの有無により
第2のフレームの情報部分のみを書き込むためのパルス
を情報部分指示パルス生成回路1 22でパルスを生成
し、このパルスに従って第2のフレームの情報部分のみ
を一時記憶回路2に書き込む。
Next, the operation will be described. According to the first head designation information 14 in FIG. 5, the head 1 of the first frame
Find 5 The second head instruction information detection circuit 1 in FIG. 1 detects the head position 17 of the information of the first frame indicated by the second head instruction information 16 at a fixed offset position from this head position. In addition, the staff information detection circuit 2
In 1, the presence / absence of stuff for the information portion of the second frame is detected. A pulse for writing only the information portion of the second frame is generated by the information portion instruction pulse generation circuit 122 depending on the presence or absence of the detected stuff, and only the information portion of the second frame is temporarily stored according to this pulse. Write to 2.

【0015】この説明をさらに詳しく述べる。ここでこ
の一時記憶回路2に書き込む位置を考える。一時記憶の
メモリの容量が8ワード、つまり、8ビット並列×8ビ
ット(アドレス0〜7)で、第2の先頭指示情報が0〜
103まで変化する場合を例に考える。第2の先頭指示
情報16が示す第2のフレームの先頭位置からのオフセ
ット値により、一時記憶回路に書き込むメモリアドレス
を例えば図3に示す如く、一元的に定めておき、このア
ドレスに従って第2のフレームの情報部分のみを一時記
憶回路に書き込む。例えば、オフセット値が18である
のを検出した場合には一時記憶回路のメモリアドレス2
(先頭から3ビット目)から書き込むのである。
This explanation will be described in more detail. Here, consider the position to be written in the temporary storage circuit 2. The capacity of the temporary storage memory is 8 words, that is, 8 bits in parallel × 8 bits (address 0 to 7), and the second head indication information is 0 to 0.
Consider, for example, the case of changing up to 103. A memory address to be written in the temporary storage circuit is centrally determined by an offset value from the head position of the second frame indicated by the second head instruction information 16, as shown in FIG. Only the information part of the frame is written to the temporary storage circuit. For example, when it is detected that the offset value is 18, the memory address 2 of the temporary storage circuit
It is written from (the third bit from the beginning).

【0016】一方、位相差検出回路33では、位相検出
回路31の出力である第1のフレームの情報先頭位相1
5と、この位相を合わせるべき基準位相で、位相検出回
路32の出力である第1の情報出力先頭位相とを比較し
て位相差を計数する。またこの位相差より受信先頭指示
情報を規準に、第2のフレームの先頭指示情報を求める
ための先頭指示情報の加算値を求める。例えば、第1の
フレームにおいて、取りうる位相差が0〜3239、第
2フレームの先頭指示情報が0〜103まで変化する場
合の位相差/加算値の変換表を図4に示す。図4におい
ては、0〜3239までの位相差を、28チャンネルあ
る第2の情報の先頭指示情報の取りうる値の総数104
レベルにほぼ等間隔に量子化したものとなっている。
On the other hand, in the phase difference detection circuit 33, the information leading phase 1 of the first frame which is the output of the phase detection circuit 31.
5 is compared with 5 and the first information output head phase which is the output of the phase detection circuit 32 at the reference phase to which this phase should be matched, and the phase difference is counted. Further, the addition value of the head indication information for obtaining the head indication information of the second frame is obtained from the phase difference with reference to the reception indication information. For example, FIG. 4 shows a conversion table of the phase difference / addition value when the possible phase difference in the first frame changes from 0 to 3239 and the start instruction information in the second frame changes from 0 to 103. In FIG. 4, the phase difference from 0 to 3239 is the total number of possible values of the head indication information of the second information of 28 channels 104.
The level is quantized at approximately equal intervals.

【0017】次に、比較回路24では、位相差検出回路
33の出力である位相差、上記で算出した加算値と、第
2の先頭指示情報検出回路1で受信した先頭指示情報
と、スタッフ情報検出回路21出力であるスタッフの有
無の情報とを入力とし、これらの情報を比較して、デー
タ出力の先頭指示情報、スタッフの有無の情報を出力す
る。この比較回路24の動作アルゴリズムの1例を図2
に示す。
Next, in the comparison circuit 24, the phase difference output from the phase difference detection circuit 33, the added value calculated above, the head instruction information received by the second head instruction information detection circuit 1, and the stuff information. Information on the presence or absence of stuff, which is the output of the detection circuit 21, is input, and the information is compared, and the head instruction information for data output and the information on the presence or absence of stuff are output. An example of the operation algorithm of the comparison circuit 24 is shown in FIG.
Shown in.

【0018】図2において、データ出力に挿入される第
2の先頭指示情報は、受信した先頭指示情報に、上記加
算値を加え、さらにスタッフ情報検出回路21で受信し
たスタッフ情報ビットを加減したものとしている。図2
の内容を詳しく説明すると、まず位相差検出回路33で
位相差および加算値を検出する(ステップ41)。スタ
ッフ情報検出回路21で正スタッフを受信した場合(ス
テップ42)、ステップ43で、出力側で正スタッフを
発生させる。同様に、情報検出回路21で負スタッフを
受信した場合(ステップ44)、出力側で負スタッフを
発生させる(ステップ45)。
In FIG. 2, the second head designating information inserted into the data output is the received head designating information added with the above addition value, and the stuff information bit received by the stuff information detecting circuit 21 is adjusted. I am trying. Figure 2
More specifically, the phase difference detection circuit 33 first detects the phase difference and the added value (step 41). When the stuff information detection circuit 21 receives the positive stuff (step 42), the positive stuff is generated at the output side in step 43. Similarly, when the information detection circuit 21 receives negative stuff (step 44), negative stuff is generated at the output side (step 45).

【0019】このアルゴリズムにより正スタッフ情報の
忠実な転送と、第1のフレームの先頭位相の変動分に対
して新たにスタッフを発生させることが可能となる。比
較回路24はこのアルゴリズムにより、データ出力の先
頭指示情報および正スタッフ、負スタッフの発生の有無
を出力する。
With this algorithm, it is possible to faithfully transfer the positive stuff information and generate a new stuff for the variation of the leading phase of the first frame. The comparison circuit 24 outputs the head instruction information for data output and the presence / absence of occurrence of positive stuff and negative stuff by this algorithm.

【0020】情報部分指示パルス生成回路2 25はこ
れらの先頭指示情報、および正スタッフ、負スタッフの
発生の有無により一時記憶回路2よりデータを読み出す
位置(アドレス)を定めるパルスを生成する。先頭指示
情報からのオフセットと読み出しアドレスの関係は書き
込みと同様に一元的に定め、例えば、メモリの量が8ワ
ード、先頭指示情報の取り得る範囲が0〜103とした
場合の一例を図3に示す。最後に第2の先頭指示情報/
スタッフ情報挿入回路26において、比較回路24の出
力した値を先頭指示情報およびスタッフ情報に定めてデ
ータとする。最終的には、これを28チャンネル集め、
多重化して第1フレームとして出力する。
The information portion instruction pulse generation circuit 225 generates a pulse that determines the position (address) from which data is read from the temporary storage circuit 2 depending on the head instruction information and whether positive stuff or negative stuff is generated. The relationship between the offset from the head instruction information and the read address is unitarily determined as in the case of writing. For example, FIG. 3 shows an example in which the amount of memory is 8 words and the range of the head instruction information is 0 to 103. Show. Finally, the second head indication information /
In the stuff information insertion circuit 26, the value output from the comparison circuit 24 is set as the head instruction information and the stuff information and used as data. Eventually, we collect 28 channels
It is multiplexed and output as the first frame.

【0021】[0021]

【発明の効果】以上のようにこの発明によれば、第1の
フレームにおける第1の情報入力の先頭位相と基準フレ
ームにおける第1の情報出力の先頭位相との差を検出す
る位相差検出回路を共通に設けたので、また、第2のフ
レーム中の第2の情報入力の先頭指示情報検出回路と、
スタッフ情報検出回路と、一時記憶回路と、情報部分指
示パルス回路とを設けたので、スタッフの有無によるデ
ータ位置変更と、第2の情報の先頭指示情報の書き換え
と第2の情報データの位置の変更が同時にでき、回路規
模が小さくなる効果がある。
As described above, according to the present invention, the phase difference detection circuit for detecting the difference between the leading phase of the first information input in the first frame and the leading phase of the first information output in the reference frame. , The head instruction information detection circuit for the second information input in the second frame,
Since the stuff information detection circuit, the temporary storage circuit, and the information part instruction pulse circuit are provided, the data position is changed depending on the presence or absence of the stuff, the head instruction information of the second information is rewritten, and the position of the second information data is changed. Changes can be made at the same time, which has the effect of reducing the circuit scale.

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

【図1】この発明の一実施例による位相合わせ回路を示
す構成図である。
FIG. 1 is a configuration diagram showing a phase matching circuit according to an embodiment of the present invention.

【図2】この発明の一実施例の位相差検出回路と比較回
路の処理を示すフローチャート図である。
FIG. 2 is a flow chart diagram showing processing of a phase difference detection circuit and a comparison circuit according to an embodiment of the present invention.

【図3】この発明の一実施例の一時記憶回路のアドレス
と先頭情報の1例を示す関係図である。
FIG. 3 is a relationship diagram showing an example of addresses and head information of the temporary storage circuit according to the embodiment of the present invention.

【図4】この発明の一実施例の位相差を加算値に量子化
する1例を示す関係図である。
FIG. 4 is a relationship diagram showing an example of quantizing a phase difference into an added value according to an embodiment of the present invention.

【図5】この発明の一実施例のデータ構造を示す構成図
である。
FIG. 5 is a configuration diagram showing a data structure of an embodiment of the present invention.

【図6】従来の位相合わせ回路の構成図である。FIG. 6 is a configuration diagram of a conventional phase matching circuit.

【図7】従来のスタッフ情報の処理回路の構成図であ
る。
FIG. 7 is a block diagram of a conventional stuff information processing circuit.

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

1 先頭指示情報検出回路 2 一時記憶回路 20 第2のフレームの位相合わせ回路 21 スタッフ情報検出回路 22 情報部分指示パルス生成回路1 24 比較回路 25 情報部分指示パルス生成回路2 26 先頭指示情報/スタッフ情報挿入回路 31 第1の情報入力位相検出回路 32 第1の情報出力位相検出回路 33 位相差検出回路 1 Leading Instruction Information Detection Circuit 2 Temporary Storage Circuit 20 Second Frame Phase Matching Circuit 21 Stuff Information Detection Circuit 22 Information Partial Instruction Pulse Generation Circuit 1 24 Comparison Circuit 25 Information Partial Instruction Pulse Generation Circuit 2 26 Start Instruction Information / Stuff Information Insertion circuit 31 First information input phase detection circuit 32 First information output phase detection circuit 33 Phase difference detection circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小須田 伸一 鎌倉市大船五丁目1番1号 三菱電機株式 会社通信システム研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shinichi Kosuda 5-1-1, Ofuna, Kamakura City Mitsubishi Electric Corp. Communication Systems Research Laboratories

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第1のフレームにおける第1の情報入力
の先頭位相を検出する第1の情報入力検出回路と、 揃えるべき基準フレームにおける第1の情報出力の先頭
位置を検出する第1の情報出力検出回路と、 上記第1の情報入力の先頭位相と上記第1の情報出力の
先頭位相との差を検出する位相差検出回路とを備え、 複数の第2の情報フレームにおける各第2の情報入力の
先頭位相検出値に対して、共通使用する上記位相差検出
回路の出力を加減算して、各第2の情報出力の先頭位置
を指定する位相合わせ回路。
1. A first information input detection circuit for detecting a leading phase of a first information input in a first frame, and first information for detecting a leading position of a first information output in a reference frame to be aligned. An output detection circuit; and a phase difference detection circuit for detecting a difference between the leading phase of the first information input and the leading phase of the first information output, each of the second information frames in the plurality of second information frames. A phase matching circuit for designating the start position of each second information output by adding / subtracting the output of the phase difference detection circuit commonly used to the start phase detection value of the information input.
【請求項2】 第1のフレームにおける第1の情報入力
の先頭位相と、第1の情報出力の先頭位相との差を検出
する位相差検出回路と、 第1のフレームに複数個含まれる、第2のフレーム中の
第2の情報データの先頭を識別する第2の情報の先頭指
示情報検出回路と、 上記第2のフレーム中に含まれるスタッフ情報を検出す
るスタッフ情報検出回路と、 上記第2の情報データを、指定位置から書き込み、順次
読み出す一時記憶回路と、 上記第2の情報データの先頭からのオフセットと、上記
スタッフ情報とから、少なくとも上記一時記憶回路の書
き込み開始の上記指定位置か、読み出し開始位置のいず
れかを出力する情報部分指示パルス生成回路と、 上記位相差検出回路から得られる第2の情報の先頭指示
情報の取り得る範囲の数に量子化した加算値と、上記位
相差検出回路出力の位相差と、上記先頭指示情報検出回
路出力と、上記スタッフ情報検出回路出力とから、揃え
るべき基準フレーム中に含まれるべき各第2の情報の先
頭指示情報を決める比較回路を備えた位相合わせ回路。
2. A phase difference detection circuit for detecting a difference between a leading phase of a first information input and a leading phase of a first information output in a first frame, and a plurality of phase difference detection circuits are included in the first frame. A second information head indication information detection circuit for identifying the head of the second information data in the second frame; a stuff information detection circuit for detecting stuff information contained in the second frame; From the temporary storage circuit that writes the second information data from the designated position and sequentially reads it, the offset from the beginning of the second information data, and the stuff information, at least the designated position at which the writing of the temporary storage circuit is started. , The information partial instruction pulse generating circuit for outputting any of the read start positions, and the number of the possible range of the leading instruction information of the second information obtained from the phase difference detection circuit From the added value, the phase difference of the output of the phase difference detection circuit, the output of the head instruction information detection circuit, and the output of the stuff information detection circuit, the head of each second information to be included in the reference frame to be aligned. A phase matching circuit equipped with a comparison circuit that determines instruction information.
JP4288690A 1992-10-27 1992-10-27 Phase matching circuit Pending JPH06141015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4288690A JPH06141015A (en) 1992-10-27 1992-10-27 Phase matching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4288690A JPH06141015A (en) 1992-10-27 1992-10-27 Phase matching circuit

Publications (1)

Publication Number Publication Date
JPH06141015A true JPH06141015A (en) 1994-05-20

Family

ID=17733435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4288690A Pending JPH06141015A (en) 1992-10-27 1992-10-27 Phase matching circuit

Country Status (1)

Country Link
JP (1) JPH06141015A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008236068A (en) * 2007-03-16 2008-10-02 Hitachi Kokusai Electric Inc Digital data transmission system, transmission adaptor device and reception adaptor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008236068A (en) * 2007-03-16 2008-10-02 Hitachi Kokusai Electric Inc Digital data transmission system, transmission adaptor device and reception adaptor device

Similar Documents

Publication Publication Date Title
US5384774A (en) Asynchronous transfer mode (ATM) payload synchronizer
JP2874889B2 (en) Frame phase synchronization method by pointer conversion and its circuit
US5594743A (en) Fifo buffer system having an error detection and correction device
JP2616731B2 (en) Transmission signal processing circuit
JPH06141015A (en) Phase matching circuit
JP3204609B2 (en) Cell receiver having source clock recovery circuit
JPH03109841A (en) Time division multiplex data packet conversion circuit
JP2525988B2 (en) FM multiplex broadcast receiver
JP3093211B2 (en) Phase matching circuit
JP2838985B2 (en) Audio video code decoding apparatus and audio video code decoding method
JP2528887B2 (en) Signal processing method for connection control of time division exchange
JP2760323B2 (en) ATM cell format conversion circuit
KR100228475B1 (en) Frame data receiver
JP3027652B2 (en) Phase control circuit
JP2715953B2 (en) Synchronous circuit
JPH03117219A (en) Variable length coding transmission system and transmitter and receiver for variable length coding transmission
JP3371844B2 (en) AU pointer processing circuit
JPH06303585A (en) Multiplexing/demultiplexing control circuit
JP2944420B2 (en) Transmission unit mismatch detection method and transmission unit mismatch detection device
JP2946863B2 (en) Parity counting circuit
JPH04322525A (en) Pointer value generating method in synchronizing digital hierarchy
JPH04362825A (en) Data length correction system at atm terminal equipment
JPH0522350A (en) Time base conversion memory device
JPH0666766B2 (en) Frame aligner circuit
JPH05235888A (en) Delay correction circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees