JPH0453328A - Multi-frame alignment circuit - Google Patents

Multi-frame alignment circuit

Info

Publication number
JPH0453328A
JPH0453328A JP2163207A JP16320790A JPH0453328A JP H0453328 A JPH0453328 A JP H0453328A JP 2163207 A JP2163207 A JP 2163207A JP 16320790 A JP16320790 A JP 16320790A JP H0453328 A JPH0453328 A JP H0453328A
Authority
JP
Japan
Prior art keywords
frame
output
counter
phase
data
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
JP2163207A
Other languages
Japanese (ja)
Inventor
Toru Sogabe
曽我部 徹
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
Original Assignee
Mitsubishi Electric 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 filed Critical Mitsubishi Electric Corp
Priority to JP2163207A priority Critical patent/JPH0453328A/en
Publication of JPH0453328A publication Critical patent/JPH0453328A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce a circuit scale by implementing multi-frame synchronization and multi-frame alignment with one RAM. CONSTITUTION:A multi-frame counter 15 in which reception input phase information written and read in/from a RAM (random access memory) 1 is detected and is active according to a phase difference with given output phase information reads a reception data from the RAM 1. Thus, a multi-frame synchronization memory and a multi-frame alignment memory are used in common. Thus, a small circuit scale is enough and the device cost is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はマルチフレームアライメント回路に係り、特
に回路規模の縮小を図ったマルチフレームアライメント
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multi-frame alignment circuit, and more particularly to a multi-frame alignment circuit in which the circuit scale is reduced.

〔従来の技術〕[Conventional technology]

従来のマルチフレームアライメント回路の一例を第6図
に示し説明する。
An example of a conventional multi-frame alignment circuit is shown in FIG. 6 and will be described.

この第6図は、例えば、特開平1−276839号公報
に示された従来のマルチフレーム同期回路を用いたマル
チフレームアライメント回路を示すブロック図である。
FIG. 6 is a block diagram showing a multi-frame alignment circuit using a conventional multi-frame synchronization circuit disclosed in, for example, Japanese Unexamined Patent Publication No. 1-276839.

図において、1はデータストリームを一時蓄えておくた
めのランダムアクセスメモリ(以下、RAMと呼称する
)で、このRAM1は受信データを少くと龜1マルチフ
レーム分記憶する容量を有している。2は任意の位相で
勤いているRAMI用フレ一フレームカウンタRAMI
に蓄えられたデータが同期パターンと一致しているか否
かを比較する比較器、4は前方保護と後方保護を行う保
護回路、5は受信位相7レームカウンタ、6は受信位相
マルチフレームカウンタ、1はハンチング時にカウント
アツプを禁止するゲート、8はマルチフレームアライメ
ント用メモリ、9は外部位相アドレス用マルチフレーム
カウンタ、10は受信位相アドレスと外部位相アドレス
の切替回路である。
In the figure, reference numeral 1 denotes a random access memory (hereinafter referred to as RAM) for temporarily storing a data stream, and this RAM 1 has a capacity to store at least one multiframe worth of received data. 2 is a frame counter RAMI for RAMI that works at an arbitrary phase.
4 is a protection circuit that performs forward protection and backward protection; 5 is a reception phase 7 frame counter; 6 is a reception phase multiframe counter; 1 8 is a multi-frame alignment memory, 9 is a multi-frame counter for external phase addresses, and 10 is a switching circuit between a received phase address and an external phase address.

つぎに、この第6図に示すマルチフレームアライメント
回路の動作を第7図を参照して説明する。
Next, the operation of the multi-frame alignment circuit shown in FIG. 6 will be explained with reference to FIG. 7.

第7図は第6図の動作説明に供するフレーム構成図であ
る。ここでは20フレームマルチフレームの場合につい
て説明する。
FIG. 7 is a frame configuration diagram for explaining the operation of FIG. 6. Here, a case of 20 frames multi-frame will be explained.

第6図に示すフレームカウンタ5は193段のリングカ
ウンタである。そして、クロックを193個カウントす
ると、フレームの基準となるキャリアウド出力を生成す
る。また、マルチフレームカウンタ6は20段のリング
カウンタであって、フレムカウンタ5から供給されるキ
ャリアウド出力に同期して20クロツクをカウントする
ことにより、マルチフレームの基準と人るキャリアウド
出力を生成する。すなわち、フレームカウンタ5および
マルチフレームカウンタ6とを合わせて見ると、386
0(193X20)段のカウンタとみなすことができる
。ここでは、マルチフレームカウンタ6の出力を用いて
(193X19+1−)3668カウント目を検出した
ときに検出パルスaを出力するように構成されている。
The frame counter 5 shown in FIG. 6 is a 193-stage ring counter. Then, when 193 clocks are counted, a carried output that becomes a frame reference is generated. Furthermore, the multi-frame counter 6 is a 20-stage ring counter, and by counting 20 clocks in synchronization with the carrier output supplied from the frame counter 5, it generates a carrier output that is the standard of the multi-frame. do. That is, if you look at the frame counter 5 and multi-frame counter 6 together, there are 386
It can be regarded as a 0 (193×20) stage counter. Here, the configuration is such that the detection pulse a is output when the (193X19+1-)3668th count is detected using the output of the multi-frame counter 6.

そして、同期がはずれたときには、3668カウントを
検出したことを示す検出パルスaがゲート1に供給され
て、フレームカウンタ5のカウントアップを阻止する。
When the synchronization is lost, a detection pulse a indicating that a count of 3668 has been detected is supplied to the gate 1 to prevent the frame counter 5 from counting up.

したがって、フレームカウンタ5は3668カウント目
でカウントを停止したままとなる。
Therefore, the frame counter 5 continues to stop counting at the 3668th count.

つぎに、ハンチング動作へ入った場合におけるデータス
トリームは、RAM1における任意のアドレスへ取込ま
れる。そして、RAM1に一度取込まれたデータは図示
しないデータシフト回路によって、第7図に示すD19
→D18→・・・・・DOというようにRAM1の入力
ボートのLSB側へ1ビツトずつシフトされて取込み直
される。すなわち、同期パターンFビットが入っている
アドレスでは、同期パターンFビットが同一アドレス内
でローテーションしている。
Next, the data stream when entering the hunting operation is taken into an arbitrary address in RAM1. The data once taken into RAM1 is transferred to D19 shown in FIG. 7 by a data shift circuit (not shown).
→D18→...DO, the data is shifted one bit at a time to the LSB side of the input port of RAM1 and re-captured. That is, in addresses containing the synchronization pattern F bit, the synchronization pattern F bit is rotated within the same address.

つぎに、受信同期パターンを検出する比較器3において
は、RAM1かも出力されるデータを常に監視しており
、Fビット中に含まれる同期バタンか、所期の配列にな
ったときにこれを検出して同期パターン検出パルスbを
出力する。そして、この同期パターン検出パルスbがゲ
ート7に供給されることにより、このゲート1から出力
され続けている3668カウントに対する検出パルスa
の送出を、−時的に禁止させる。このとき、フレムカウ
ンタ5およびマルチフレームカウンタ6がカウントアツ
プを3668カウント目からカウントを再開する。ここ
で、フレームカウンタ5およびマルチフレームカウンタ
6は、丁度、第20フレーム目の先頭ビットからスター
トすることになる。
Next, the comparator 3 that detects the received synchronization pattern constantly monitors the data output from RAM1, and detects the synchronization button included in the F bit or when the desired arrangement is reached. and outputs a synchronization pattern detection pulse b. Then, by supplying this synchronization pattern detection pulse b to gate 7, detection pulse a corresponding to the 3668 count that continues to be output from gate 1
- Temporarily prohibits transmission of. At this time, the frame counter 5 and the multi-frame counter 6 restart counting from the 3668th count. Here, the frame counter 5 and the multi-frame counter 6 start from exactly the first bit of the 20th frame.

ここで、ハンチング状態における同期パターン検出パル
スbも3668カウントを示す検出ノ(ルスaも同位置
にある。したがって、ゲート7からはカウントアツプ禁
止パルスが出力されない。
Here, the synchronization pattern detection pulse b in the hunting state is also at the same position as the detection pulse a indicating 3668 counts. Therefore, the gate 7 does not output the count-up prohibition pulse.

また、同期引き込み後は、保護回路4の出力によってゲ
ート7からはカウントアツプ禁止パルスの出力が阻止さ
れる。
Further, after the synchronization is pulled in, the output of the protection circuit 4 prevents the output of the count-up inhibit pulse from the gate 7.

すなわち、正しく同期パターンを検出してからは、常に
、フレームカウンタ5およびマルチフレームカウンタ6
とはカウントアツプしつづける。
That is, after correctly detecting the synchronization pattern, the frame counter 5 and multiframe counter 6 are always
It keeps counting up.

そして、マルチフレームカウンタ6のキャリアウド出カ
バマルチフレームの第1ビツト目に同期し、この状態で
動作しつづける。
Then, it continues to operate in this state in synchronization with the first bit of the carrier output multiframe of the multiframe counter 6.

したがって、マルチフレーム同期がデータストリームに
対してとれたので、マルチフレームカウンタ6と7レー
ムカウンタ5の出力をマルチフレームアライメント用メ
モリ8の書込みアドレスとして入力してやシ、読出しア
ドレスとして内部バス位相に同期したマルチフレームカ
ウンタ9の出力を入力してやシ、入力データにはデータ
ストリムとすれば、出力には内部バスのマルチフレーム
位相に同期したデータストリームが得られる。
Therefore, since multiframe synchronization has been established for the data stream, the outputs of multiframe counters 6 and 7 frame counters 5 can be input as write addresses of multiframe alignment memory 8, and synchronized with the internal bus phase as read addresses. If the output of the multi-frame counter 9 is input and the input data is a data stream, a data stream synchronized with the multi-frame phase of the internal bus is obtained as the output.

ここで、マルチフレーム同期回路と内部マルチフレーム
位相とは、クロック同期がとられているので、1クロツ
クの周期内を分割して、前半周期で書き込み、後半周期
で読み出しということが可能である。このとき、マルチ
フレームアライメント用メモリ8は通常の1ボートメモ
リで実現できる。
Here, since the multi-frame synchronization circuit and the internal multi-frame phase are clock synchronized, it is possible to divide one clock cycle and write in the first half cycle and read out in the second half cycle. At this time, the multi-frame alignment memory 8 can be realized by a normal 1-board memory.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のマルチフレームアライメント回路では、
マルチフレーム同期回路用のメモリとマルチフレームア
ライメント用のメモリとを両方用意する必要がアリ、回
路規模が大きくなシやずいという課題があった。
In the conventional multi-frame alignment circuit described above,
There was a problem in that it was necessary to prepare both a memory for the multi-frame synchronization circuit and a memory for multi-frame alignment, resulting in a large circuit scale.

この発明はかかる課題を解決するためになされたもので
、メモリは1つだけで、マルチフレーム同期検出とマル
チフレームアライメントできるマルチフレームアライメ
ント回路を得ることを目的とする。
The present invention has been made to solve such problems, and an object of the present invention is to provide a multi-frame alignment circuit that can perform multi-frame synchronization detection and multi-frame alignment using only one memory.

〔課題を解決するための手段〕[Means to solve the problem]

この発明によるマルチフレームアライメント回路は、複
数のフレームからなるマルチフレーム中に、一定間隔お
きに所定のマルチフレーム同期パターンを分散配置した
データを受信し、このデータ中の上記同期パターンから
多点監視方式により受信入力位相情報を検出し、その検
出した情報により、フレームアライメントおよびマルチ
7レームアライメントを行う回路において、受信データ
を少くとも1マルチフレーム分記憶する容量を有するラ
ンダムアクセスメモリと、このランダムアクセスメモリ
から送出される出力中の同期パターンを検出する比較器
と、この比較器の出力によつて駆動されることにより入
力位相同期マルチフレームパルスを生成する入力位相同
期マルチフレームカウンタと、この入力位相同期マルチ
フレームカウンタからの入力位相同期マルチフレームパ
ルスにより入出力間位相差情報を記憶するラッチ回路と
、このラッチ回路で記憶した入出力間位相差情報にした
がって作動する出力データアドレス指定用マルチフレー
ムカウンタと、出力位相同期マルチフレームカウンタと
、上記出力データアドレス指定用マルチフレームカウン
タの出力と上記出力位相同期マルチフレームカウンタの
出力とを切替える切替回路と、7レームアライメントさ
れた上記ランダムアクセスメモリの出力から出力マルチ
フレーム位相にあったデータを選択する選択回路とを備
えてなるものである。
The multi-frame alignment circuit according to the present invention receives data in which predetermined multi-frame synchronization patterns are distributed at regular intervals in a multi-frame consisting of a plurality of frames, and uses the synchronization patterns in this data to perform multi-point monitoring. A circuit that detects received input phase information and performs frame alignment and multi-frame alignment based on the detected information includes a random access memory having a capacity to store received data for at least one multiframe, and this random access memory. an input phase-synchronized multiframe counter that is driven by the output of the comparator to generate an input phase-synchronized multiframe pulse; A latch circuit that stores input/output phase difference information based on input phase synchronized multiframe pulses from a multiframe counter, and an output data address designating multiframe counter that operates according to the input/output phase difference information stored in this latch circuit. , an output phase-synchronized multi-frame counter, a switching circuit that switches between the output of the multi-frame counter for output data addressing and the output of the output phase-synchronized multi-frame counter, and an output from the random access memory that is 7-frame aligned. This includes a selection circuit that selects data that matches the multi-frame phase.

〔作用〕[Effect]

この発明においては、RAMに書込みと読出しをしてい
る受信入力位相情報を検出し、与えられた出力位相情報
との位相差にしたがって作動するマルチフレームカウン
タで、RAMから受信データを読み出すことにより、マ
ルチフレーム同期トマルチフレームアライメントを1つ
のRAMで行えることにより、回路規模を小さくできる
In this invention, by detecting the received input phase information that is being written to and read from the RAM, and reading the received data from the RAM using a multi-frame counter that operates according to the phase difference with the given output phase information, By performing multi-frame synchronization and multi-frame alignment with one RAM, the circuit scale can be reduced.

〔実施例〕〔Example〕

以下、図面に基づきこの発明の実施例を詳細に説明する
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図はこの発明によるマルチフレームアライメント回
路の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a multi-frame alignment circuit according to the present invention.

この第1図において第3図と同一符号のものは相当部分
を示し、11はRAMIから送出される出力中の同期パ
ターンを検出する比較器で、この比較器11はRAM1
に格納されたデータが同期パターンと一致したか否かを
比較するように構成されている。12は外部から与えら
れた位相で作動する出力位相同期マルチフレームカウン
タ、13は比較器11の出力によって駆動されることに
より入力位相同期マルチフレームパルスを生成する入力
位相同期マルチフレームカウンタ、14はこの入力位相
同期マルチフレームカウンタ13からの入力位相同期マ
ルチフレームパルスにより入出力間位相差情報を記憶す
るラッチ回路、15はこのラッチ回路14で記憶した入
出力間位相差情報にしたがって動作する出力データアド
レス指定用マルチフレームカウンタ、16は出力データ
アドレス指定用マルチフレームカウンタ15の出力と出
力位相同期マルチフレームカウンタ12の出力とを切替
える切替回路、17は7レームカウンタ5とマルチフレ
ームカウンタ13とにロードをかける条件成立のための
ゲート、18は前マルチフレームデータと現マルチ7レ
ームデータとの交替用選択回路、19はフレーム同期が
とれ出力パラレルデータから所望のマルチフレーム位相
にあるデータ、すなわち適切なマルチフレーム位相デー
タを選択する選択回路で、この選択回路19はフレーム
アライメントされ7’c RAM1の出力から出力マル
チフレーム位相にあったデータを選択するように構成さ
れている。
In FIG. 1, the same reference numerals as in FIG.
It is configured to compare whether the data stored in the synchronization pattern matches the synchronization pattern. 12 is an output phase-synchronized multi-frame counter that operates with an externally given phase; 13 is an input phase-synchronized multi-frame counter that generates an input phase-synchronized multi-frame pulse by being driven by the output of the comparator 11; and 14 is this counter. A latch circuit that stores information on the phase difference between input and output using the input phase synchronization multiframe pulse from the input phase synchronization multiframe counter 13, and 15 is an output data address that operates according to the phase difference information between input and output stored in the latch circuit 14. A multi-frame counter for designation, 16 a switching circuit for switching between the output of the multi-frame counter 15 for output data address designation and the output of the output phase-synchronized multi-frame counter 12, and 17 for loading into the 7-frame counter 5 and the multi-frame counter 13; 18 is a selection circuit for switching between the previous multi-frame data and the current multi-7 frame data; 19 is a selection circuit for switching between the previous multi-frame data and the current multi-7 frame data; and 19 is a selection circuit for selecting data that has been synchronized with the frame and is in the desired multi-frame phase from the output parallel data, that is, appropriate multi-frame data. This selection circuit 19 is a selection circuit for selecting frame phase data, and is configured to select data that has been frame aligned and is in the output multi-frame phase from the output of the 7'c RAM 1.

第2図は第1図に示す実施例におけるメモリアドレスと
マルチフレームカウンタとの対応を示す図、第3図はメ
モリの入出力を示す図で、(a)は動作クロックφlを
示したものであり、伽)は動作クロックφ2、(C)は
入力データストリーム、(d)はRAM10人力アドレ
ス、(e)はリード(READ)/ライト(WRITE
)、(f)はデータを示したものである。第4図は第1
図におけるマルチフレームカウンタ15の動作を示す図
で、(a)はマルチフレームパルスを示したものであC
1(b)はマルチフレームカウンタ12の出力、(C)
は受信同期パターン検出パルス、(d)は受信同期パタ
ーン検出の1ビツト遅延、(e)はラッチ回路14の出
力、(f)はマルチフレームカウンタ15の出力を示し
たものである。第5図は第1図における比較器11で検
出すべき受信同期パターンを示す図である。
FIG. 2 is a diagram showing the correspondence between memory addresses and multi-frame counters in the embodiment shown in FIG. 1, and FIG. 3 is a diagram showing memory input/output. Yes, 伽) is the operation clock φ2, (C) is the input data stream, (d) is the RAM 10 manual address, (e) is the read (READ)/write (WRITE).
) and (f) show data. Figure 4 is the first
FIG. 3 is a diagram showing the operation of the multi-frame counter 15 in the figure, in which (a) shows a multi-frame pulse;
1(b) is the output of the multi-frame counter 12, (C)
(d) shows the reception synchronization pattern detection pulse, (d) shows the 1-bit delay of reception synchronization pattern detection, (e) shows the output of the latch circuit 14, and (f) shows the output of the multi-frame counter 15. FIG. 5 is a diagram showing a reception synchronization pattern to be detected by the comparator 11 in FIG.

つぎに第1図に示す実施例の動作を第2図ないし第5図
を参照して説明する。ここでは、20マルチフレームの
場合について説明する。
Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIGS. 2 to 5. Here, a case of 20 multiframes will be explained.

まず、第1図において、マルチフレームカウンタ12.
15は20x193=3860段のリングカウンタで構
成されておシ、そのうち、マルチフレームカウンタ12
のビット位相は所望のマルチフレームのビット位相に合
っている。マルチフレームカウンタ15は任意のビット
位相で動作できる20X193=3860段のリングカ
ウンタである。
First, in FIG. 1, the multi-frame counter 12.
15 is composed of 20x193=3860 stages of ring counters, of which 12 multi-frame counters
The bit phase of matches the bit phase of the desired multiframe. The multi-frame counter 15 is a ring counter with 20×193=3860 stages that can operate at any bit phase.

フレームカウンタ5は193段のリングカウンタでロー
ドがかかると初期値Oとなるカウンタであり、その値が
192になるとキャリアウドを生成するリングカウンタ
である。マルチフレームカウンタ13は20段のリング
カウンタで構成されており、20を数えてカウントイネ
ーブルが有意になると、マルチフレームの基準となるキ
ャリアウドを生成する。すなわちフレームカウンタ5と
マルチフレムカウンタ13とが組み合わされて、193
X20=3860段のカウンタとなっている。
The frame counter 5 is a 193-stage ring counter that takes an initial value of O when loaded, and generates a carrier when the value reaches 192. The multi-frame counter 13 is composed of a 20-stage ring counter, and when it counts 20 and the count enable becomes significant, it generates a carrier signal that becomes a reference for the multi-frame. That is, the frame counter 5 and the multi-frame counter 13 are combined to generate 193
The counter has X20=3860 stages.

そして、データストリームの入力と出力とではクロック
は同一であ夛、データストリームのマルチフレーム位相
は20X193=3860通シ存在する。すなわち、所
望の出力のマルチフレーム位相と入力のマルチフレーム
位相との位相差も3860通シ存在する。RAM1では
この位相差を吸収するために、193ワード×20ビッ
ト−3860ビツトの容量を必要とする。このデータの
メモリの収容の態様を第2図に示す。1ワードが20ビ
ツトであるのは比較器11の動作を簡単にするためでお
る。
The clock is the same for the input and output of the data stream, and there are 20×193=3860 multi-frame phases of the data stream. That is, there are also 3860 phase differences between the desired output multi-frame phase and the input multi-frame phase. In order to absorb this phase difference, RAM1 requires a capacity of 193 words x 20 bits - 3860 bits. FIG. 2 shows how this data is stored in the memory. The reason why one word is 20 bits is to simplify the operation of the comparator 11.

RAM1へのデータストリームの書込みアドレスは、所
望の出力位相で動作しているマルチフレームカウンタ1
2のフレームカウンタ部出力のθ〜192を表わすデー
タ線によって行われる。選択回路18によりブ−タスト
リームの書込みビットは、マルチフレームカウンタ12
のマルチフレームカウンタ部出力のO〜19を表わすデ
ータ線によって行なわれ、指定されたビットのデータが
新しいデータを交替させる。そして、指定されなかった
残9のデータは、読み出したデータそのままを書き込む
。このようにして、あたかも、3860ワード×1ビツ
トメモリのような動作をさせる。この場合、1ボートメ
モリなので、動作周期内で読み出し、書き込みを行わね
ばならない。そこで、第3図に示すように、あたかも3
860ワード×1ビツトメモリへの書込みを行っている
かのような動作のために、動作周期の3/4周期を用い
る。
The write address of the data stream to RAM1 is determined by the multiframe counter 1 operating at the desired output phase.
This is performed using a data line representing θ to 192 of the frame counter output of No. 2. The selection circuit 18 selects the write bits of the boot stream from the multi-frame counter 12.
This is done by the data line representing 0 to 19 of the output of the multi-frame counter unit, and the data of the designated bit replaces new data. For the remaining nine data that were not specified, the read data is written as is. In this way, it operates as if it were a 3860 word x 1 bit memory. In this case, since it is a one-boat memory, reading and writing must be performed within the operating cycle. Therefore, as shown in Figure 3,
3/4 of the operating cycle is used to operate as if writing to an 860 word x 1 bit memory.

以上の動作のために読み出された20ビツトのデータは
、また、比較器11へ出力される。この比較器11では
、第1/4周期で読み出された20ビツトのデータを次
の動作周期に読み出された第1/4周期のデータがくる
まで一旦保持しておき、その保持しているデータと、第
5図に示すようなマルチフレーム同期パターンをローテ
ーションした20通シのデータとを比較する。これを常
に行なっている。そして、比較器11にはマルチフレム
カウンタ13からのキャリアウドパルスAが入力してお
シ、このキャリアウドパルスAと比較出力パルスとが一
致したときには一致パルスCをキャリアウドパルスAが
有意となるタイミングで出力する。また、キャリアウド
パルスAと比較出力パルスとが不一致のときには、キャ
リアウドパルスAが有意となるタイミングで不一致パル
スDを出力する。
The 20-bit data read for the above operation is also output to the comparator 11. This comparator 11 temporarily holds the 20-bit data read out in the 1/4th cycle until the 1/4th cycle data read out in the next operating cycle. The data shown in FIG. 5 is compared with 20 sets of data in which the multi-frame synchronization pattern as shown in FIG. 5 is rotated. I do this all the time. Then, the carrier pulse A from the multiframe counter 13 is input to the comparator 11, and when the carrier pulse A and the comparison output pulse match, the carrier pulse A becomes significant. Output on time. Further, when the carried pulse A and the comparison output pulse do not match, the mismatch pulse D is outputted at the timing when the carried pulse A becomes significant.

ここで、まず、同期が外れて、ハンチング状態に入った
とき比較器11からの同期パターン検出パルスBは、ハ
ンチング状態信号Eにより開いているゲート17を通っ
てフレームカウンタ5とマルチフレームカウンタ13と
に初期的をロードする。そして、クロック毎にカウント
アツプしてゆく。そして、ある同期パターン検出パルス
がロードされてから1マルチフレームの間、同期パター
ン検出パルスBがとなければマルチフレームカウンタ1
3からキャリアウドパルスAが出力される。
Here, first, when the synchronization is lost and the hunting state is entered, the synchronization pattern detection pulse B from the comparator 11 passes through the gate 17, which is opened by the hunting state signal E, to the frame counter 5 and the multi-frame counter 13. Initially load the . Then, each clock counts up. If the synchronization pattern detection pulse B is absent for one multiframe after a certain synchronization pattern detection pulse is loaded, the multiframe counter 1
Carried pulse A is output from 3.

最後にロードをかけた同期パターン検出パルスBが本当
の同期パターン検出によるものであれば、キャリアウド
パルスAと同期パターン検出パルスBとは、有意になる
タイミングが一致するはずである。これらが一致すれば
、キャリアウドパルスAが有意になるタイミングで、一
致パルスCが保護回路4へ出力される。最後にロードを
かけたキャリアウドパルスAが、擬似同期パターンによ
るものであったとしても、1マルチフレーム経過する間
に、本当の同期パターンによるキャリアウドパルスAが
生成されて、再度、フレームカウンタ5とマルチフレー
ムカウンタ13とロードをかけることになるはずである
If the last loaded synchronization pattern detection pulse B is the result of real synchronization pattern detection, the carrier pulse A and the synchronization pattern detection pulse B should have the same timing at which they become significant. If they match, a matching pulse C is output to the protection circuit 4 at the timing when the carried pulse A becomes significant. Even if the last loaded carrier pulse A is based on a pseudo synchronization pattern, a carrier pulse A based on a real synchronization pattern is generated during one multiframe and the frame counter 5 is generated again. It should be loaded with the multi-frame counter 13.

そして、一致パルスCが保護回路4に入力すると、中の
後方保護カウンタが「0」から「1」へカウントアツプ
し、ハンチング状態信号Eが有意でなくなる。そうする
と、ゲート1Tは同期バタン検出パルスBに対してゲー
トを閉じてロードされなくなる。そうすれば、7レーム
カウンタ5とマルチフレームカウンタ13とはリングカ
ウンタ動作をする。また、これと同時に、前方保護カウ
ンタをリセットする。そうして、後方保護段数だけ、一
致パルスが連続してくれば、同期状態信号Fが有意とな
る。勿論、一致パルスと一致パルスとが入力してくる間
に不一致パルスDが入力してくれば、後方保護カクンタ
はリセットされ、最初のハンチング状態から同期のやシ
直しとなるのはいうまでもない。
When the coincidence pulse C is input to the protection circuit 4, the backward protection counter therein counts up from "0" to "1", and the hunting state signal E becomes insignificant. Then, the gate 1T closes in response to the synchronous slam detection pulse B and is no longer loaded. Then, the 7-frame counter 5 and the multi-frame counter 13 operate as ring counters. At the same time, the forward protection counter is reset. If the matching pulses continue as many times as the number of backward protection stages, the synchronization state signal F becomes significant. Of course, if the mismatch pulse D is input between the coincidence pulses and the coincidence pulses are input, the rear protection kakunta will be reset, and it goes without saying that the synchronization will be restored from the initial hunting state. .

また、データのスリップ等により、現在の同期位相が変
化したとき、マルチフレームカウンタ13からのキャリ
アウドパルスAが有意になるタイミングと同期パターン
検出パルスBとは一致しないので、比較器11からは不
一致パルスDが出力される。そして、この不一致パルス
Dが前方保護段数だけ連続してくれば、同期状態信号F
は同期外れ状態となる。そうすると、ハンチング状態信
号Eは、同期外れ状態と後方保護カウンタ値がOとのア
ンド条件で有意となるので、ハンチング状態となる。そ
して、以上に述べた手順で同期状態へもどってゆく。
Furthermore, when the current synchronization phase changes due to data slip etc., the timing at which the carried pulse A from the multi-frame counter 13 becomes significant does not coincide with the synchronization pattern detection pulse B, so the comparator 11 detects a mismatch. Pulse D is output. If this mismatch pulse D continues for the number of forward protection stages, the synchronization state signal F
becomes out of sync. Then, the hunting state signal E becomes significant under the AND condition of the out-of-synchronization state and the backward protection counter value of O, and therefore enters the hunting state. Then, the process returns to the synchronized state using the procedure described above.

つぎにζマルチフレームアライメント動作について説明
する。
Next, the ζ multi-frame alignment operation will be explained.

同期状態では、キャリアウドパルスAが有意になる位相
がデータストリーIム中のマルチフレーム位相の先頭で
あることから、このキャリアウドパルス人が有意になっ
たときの所望のデータストリーム出力位相を記憶してお
き、所望のデータストリーム出力位相が先頭になったと
き、先程記憶した出力位相の次の位相のアドレスをRA
M1に与えてデータを読み出してやれば、そのデータの
内に所望のマルチフレームの先頭のデータがある。
In the synchronized state, the phase in which the carrier cloud pulse A becomes significant is the beginning of the multi-frame phase in the data stream I, so the desired data stream output phase when this carrier cloud signal becomes significant is memorized. Then, when the desired data stream output phase becomes the first, the address of the next phase of the previously memorized output phase is set to RA.
If the data is read out by inputting it to M1, the data at the beginning of the desired multi-frame will be found among the data.

第4図に示すように、ラッチ回路14がキャリアウトパ
ルスAが有意になったタイミングの次のタイミングで、
所望のマルチフレーム位相で動作している3860段の
マルチフレームカウンタ12の位相をラッチする。Gは
外部出力マルチフレームのフレームパルスである。次に
、ラッチしたカウンタ値を所望のマルチフレームパルス
のタイミングでマルチフレームカウンタ15ヘロードす
る。
As shown in FIG. 4, the latch circuit 14 at the next timing after the carry-out pulse A becomes significant.
The phase of the 3860-stage multiframe counter 12 operating at the desired multiframe phase is latched. G is a frame pulse of an external output multi-frame. Next, the latched counter value is loaded into the multi-frame counter 15 at a desired multi-frame pulse timing.

そして、切替回路16では、データス) I)−ム周期
の前半3/4周期をマルチフレームカウンタ12の出力
を選択し、後半1/4周期をマルチフレームカラ/り1
5の出力を選択するように動作する。
Then, the switching circuit 16 selects the output of the multi-frame counter 12 for the first half period of the data frame period, and selects the output of the multi-frame color counter 12 for the second half period.
It operates to select the output of 5.

このように動作すれば、後半1/4周期にはフレームア
ライメントされたデータが出力することになる。この「
20」ビットの出力データのうちから「1」ビットを選
択することがマルチフレームアライメント動作である。
If this operation is performed, frame-aligned data will be output in the second half period. this"
Selecting ``1'' bit from among ``20'' bits of output data is a multi-frame alignment operation.

そして、この選択は、マルチフレームカウンタの上位「
5」ビットで表わしているrOJから「19」のコード
が選択回路19に入力することにより行われる。以上の
ようにして、マルチフレーム同期動作とマルチフレーム
アライメント動作が行われていることがわかる。
And this selection is the top of the multi-frame counter.
This is done by inputting the code "19" from rOJ represented by "5" bits to the selection circuit 19. It can be seen that the multi-frame synchronization operation and the multi-frame alignment operation are performed as described above.

なお、上記実施例では、フレームカウンタ5とマルチフ
レームカウンタ13とゲート17とで、カウンタリセッ
ト方式によυマルチフレーム同期検出を行ったが、これ
らは、カウンタの1ビットシフト方式で、マルチフレー
ム同期検出を行ってもよい。
In the above embodiment, the frame counter 5, the multi-frame counter 13, and the gate 17 perform υ multi-frame synchronization detection using the counter reset method, but these detect multi-frame synchronization using the counter 1-bit shift method. Detection may also be performed.

〔発明の効果〕 この発明は以上説明したとお、9、RAMに書込みと読
出しをしている受信入力位相情報を検出し、与えられた
出力位相情報との位相差にしたがって作動するマルチフ
レームカウンタで、RAMから受My’−夕を読み出す
ことにより、マルチフレーム同期用メモリとマルチ7レ
ームアライメント用メモリを兼用したので、回路規模が
小さくてすみ、装置コストを安くすることができる効果
がある。
[Effects of the Invention] As explained above, the present invention includes 9. a multi-frame counter that detects the received input phase information being written to and read from the RAM and operates according to the phase difference with the given output phase information; By reading out the received My'-Y from the RAM, the multi-frame synchronization memory and the multi-7 frame alignment memory can be used together, so the circuit scale can be small and the device cost can be reduced.

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

第1図はこの発明によるマルチフレームアライメント回
路の一実施例を示すブロック図、第2図は第1図に示す
実施例のメモリアドレスとマルチフレームカウンタとの
対応を示す図、第3図はメモリの入出力を示す図、第4
図は第1図におけるマルチフレームカウンタ15の動作
を示す図、第5図は第1図における比較器で検出すべき
受信同期パターンを示す図、第6図は従来のマルチフレ
ームアライメント回路の一例を示すブロック図、第7図
は第6図の動作説明に供するフレーム構成図でおる。 i 11@拳・RAM(7ンダムアクセスメモリ)、1
1−・・・比較器、12,13・・・・マルチフレーム
カウンタ、14・・・・ラッチ回路、15・・・・マル
チフレームカウンタ、16・・・・切替回路、17・・
・・ゲー)、18.19・・・番選択回路。
FIG. 1 is a block diagram showing an embodiment of a multi-frame alignment circuit according to the present invention, FIG. 2 is a diagram showing the correspondence between memory addresses and multi-frame counters in the embodiment shown in FIG. 1, and FIG. Diagram showing the input and output of
The figure shows the operation of the multi-frame counter 15 in Fig. 1, Fig. 5 shows the reception synchronization pattern to be detected by the comparator in Fig. 1, and Fig. 6 shows an example of the conventional multi-frame alignment circuit. The block diagram shown in FIG. 7 is a frame configuration diagram for explaining the operation of FIG. 6. i 11@Fist/RAM (7 random access memory), 1
1-... Comparator, 12, 13... Multi-frame counter, 14... Latch circuit, 15... Multi-frame counter, 16... Switching circuit, 17...
... game), 18.19... selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 複数のフレームからなるマルチフレーム中に、一定間隔
おきに所定のマルチフレーム同期パターンを分散配置し
たデータを受信し、このデータ中の前記同期パターンか
ら多点監視方式により受信入力位相情報を検出し、その
検出した情報により、フレームアライメントおよびマル
チフレームアライメントを行う回路において、受信デー
タを少くとも1マルチフレーム分記憶する容量を有する
ランダムアクセスメモリと、このランダムアクセスメモ
リから送出される出力中の同期パターンを検出する比較
器と、この比較器の出力によつて駆動されることにより
入力位相同期マルチフレームパルスを生成する入力位相
同期マルチフレームカウンタと、この入力位相同期マル
チフレームカウンタからの入力位相同期マルチフレーム
パルスにより入出力間位相差情報を記憶するラッチ回路
と、このラッチ回路で記憶した入出力間位相差情報にし
たがつて動作する出力データアドレス指定用マルチフレ
ームカウンタと、出力位相同期マルチフレームカウンタ
と、前記出力データアドレス指定用マルチフレームカウ
ンタの出力と前記出力位相同期マルチフレームカウンタ
の出力とを切替える切替回路と、フレームアライメント
された前記ランダムアクセスメモリの出力から出力マル
チフレーム位相にあつたデータを選択する選択回路とを
備えてなることを特徴とするマルチフレームアライメン
ト回路。
Receive data in which a predetermined multi-frame synchronization pattern is distributed at regular intervals in a multi-frame consisting of a plurality of frames, detect received input phase information from the synchronization pattern in this data by a multi-point monitoring method, Based on the detected information, a circuit that performs frame alignment and multiframe alignment selects a random access memory that has a capacity to store at least one multiframe worth of received data, and a synchronization pattern that is being output from this random access memory. an input phase-locked multiframe counter that is driven by the output of the comparator to generate an input phase-locked multiframe pulse; and an input phase-locked multiframe counter that is driven by the output of the comparator to generate an input phase-locked multiframe pulse. A latch circuit that stores phase difference information between input and output using pulses, a multi-frame counter for specifying an output data address that operates according to the phase difference information between input and output stored in this latch circuit, and an output phase synchronized multi-frame counter. , a switching circuit that switches between the output of the multi-frame counter for output data addressing and the output of the output phase-synchronized multi-frame counter, and selecting data that matches the output multi-frame phase from the output of the frame-aligned random access memory. A multi-frame alignment circuit comprising: a selection circuit for selecting a frame;
JP2163207A 1990-06-20 1990-06-20 Multi-frame alignment circuit Pending JPH0453328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163207A JPH0453328A (en) 1990-06-20 1990-06-20 Multi-frame alignment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163207A JPH0453328A (en) 1990-06-20 1990-06-20 Multi-frame alignment circuit

Publications (1)

Publication Number Publication Date
JPH0453328A true JPH0453328A (en) 1992-02-20

Family

ID=15769327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163207A Pending JPH0453328A (en) 1990-06-20 1990-06-20 Multi-frame alignment circuit

Country Status (1)

Country Link
JP (1) JPH0453328A (en)

Similar Documents

Publication Publication Date Title
US4347606A (en) Method of frame synchronization of a digital TDM communication system and arrangement for performing the method
US4414677A (en) Synchronization word extractor
EP0442081B1 (en) Method and electronic circuit for automatically measuring the horizontal scan frequency of a composite synchronism signal
JPH0453328A (en) Multi-frame alignment circuit
US3327062A (en) Multiplex delay line time compressor
JP2625249B2 (en) Frame detection circuit
JP2944319B2 (en) Parallel deployment type frame synchronization method
JPH0449727A (en) Multiframe alignment circuit
JPS585543B2 (en) frame synchronizer
JPS5821458B2 (en) Frame synchronization circuit
US6356505B2 (en) Internal regeneration of the address latch enable (ALE) signal of a protocol of management of a burst interleaved memory and related circuit
JPH0897791A (en) Signal detection circuit and frame synchronization circuit
JP2876747B2 (en) Frame synchronization circuit
JPH08331115A (en) Synchronous reproduction circuit
JPS6232854B2 (en)
JPH0338130A (en) Synchronizing circuit
JP3454916B2 (en) Selector monitoring circuit
JP3908371B2 (en) A device that outputs communication line data to a terminal
JPS63233629A (en) Frame synchronization method
JPS62213337A (en) Frame synchronizing protection system
JPH08331116A (en) Synchronous reproduction circuit
JPS60248089A (en) Framing code detecting circuit
JPH04158641A (en) Frame syncronization circuit
JP2000049739A (en) Multi-frame synchronization detector
JPH03216034A (en) Reception synchronizing circuit