JP3411197B2 - Line termination equipment - Google Patents

Line termination equipment

Info

Publication number
JP3411197B2
JP3411197B2 JP27138897A JP27138897A JP3411197B2 JP 3411197 B2 JP3411197 B2 JP 3411197B2 JP 27138897 A JP27138897 A JP 27138897A JP 27138897 A JP27138897 A JP 27138897A JP 3411197 B2 JP3411197 B2 JP 3411197B2
Authority
JP
Japan
Prior art keywords
frame
circuit
clock
channel clock
channel
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
JP27138897A
Other languages
Japanese (ja)
Other versions
JPH11112455A (en
Inventor
卓男 後藤田
和克 丸山
誠一 山野
正司 岡村
敏行 工藤
利明 吉野
一俊 小松
明宏 高橋
信朗 多治見
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.)
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
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 Fujitsu Ltd, Hitachi Ltd, NEC Corp, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd filed Critical Fujitsu Ltd
Priority to JP27138897A priority Critical patent/JP3411197B2/en
Publication of JPH11112455A publication Critical patent/JPH11112455A/en
Application granted granted Critical
Publication of JP3411197B2 publication Critical patent/JP3411197B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【発明の属する技術分野】本発明は回線終端装置に関
し、特に時分割多重伝送方式を用いてフレーム同期を確
立する回線終端装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line terminating device, and more particularly to a line terminating device for establishing frame synchronization by using a time division multiplex transmission system.

【0001】加入者線を終端する回線終端装置は、上位
局とのデータ伝送をシリアルデータバスであるハイウェ
イを用いて行う。このシリアルデータバス上のデータ
は、チャネル毎に時分割された複数のフレームから成る
マルチフレームを構成している。
A line terminating device for terminating a subscriber line carries out data transmission with an upper station using a highway which is a serial data bus. The data on the serial data bus constitutes a multi-frame composed of a plurality of frames time-divided for each channel.

【0002】回線終端装置は、マルチフレームから自局
に対応するチャネルのデータのみの入出力を行うため、
自局に送られるチャネルクロックに基づいてフレーム同
期回路でフレームの連続性を監視し、フレーム同期と同
時にマルチフレーム同期を確立することが必要である。
Since the line terminating device inputs and outputs only the data of the channel corresponding to its own station from the multi-frame,
It is necessary to monitor the continuity of the frame by the frame synchronization circuit based on the channel clock sent to the own station and establish the multi-frame synchronization at the same time as the frame synchronization.

【0003】図9は、各加入者線(図示せず)毎に接続
される回線終端装置20−1〜20−32を示してお
り、この内、回線終端装置20−1〜20−16はシリ
アルデータバスSDB1を介してシリアルデータIN
1,OUT1を共通に入出力するようにバス接続され、
同様に回線終端装置20−17〜20−32はシリアル
データバスSDB2を介してシリアルデータIN2,O
UT2を共通に入出力するようにバス接続されている。
FIG. 9 shows line terminators 20-1 to 20-32 connected to respective subscriber lines (not shown). Of these, the line terminators 20-1 to 20-16 are Serial data IN via serial data bus SDB1
Bus connection so that 1 and OUT1 are commonly input and output,
Similarly, the line terminators 20-17 to 20-32 transmit the serial data IN2, O through the serial data bus SDB2.
It is connected to the bus so that the UT2 is commonly input and output.

【0004】また、回線終端装置20−1,20−17
には上位の局でシリアルデータOUT1,OUT2より
抽出されたチャネルクロックCHCK1が入力されてお
り、以下、同様にして回線終端装置20−2,20−1
8、…、回線終端装置20−16,20−32にはそれ
ぞれチャネルクロックCHCK2〜16が入力されてい
る。
Further, the line terminators 20-1 and 20-17.
The channel clock CHCK1 extracted from the serial data OUT1 and OUT2 at the upper station is input to the line terminal devices 20-2 and 20-1 in the same manner.
Channel clocks CHCK2 to 16 are input to the line termination devices 20 to 16 and 20 to 32, respectively.

【0005】図10は、シリアルデータバスSDB上の
フレームの構成例及びチャネルクロックCHCKのタイ
ミング例を示しており、同図(1)は、バスSDB上の
シリアルデータIN1,OUT1,IN2,OUT2の
1フレームは、チャネルCH1−1〜CH16−1のデ
ータで構成されていることを示している。
FIG. 10 shows a frame configuration example on the serial data bus SDB and a timing example of the channel clock CHCK. FIG. 10A shows serial data IN1, OUT1, IN2, OUT2 on the bus SDB. It is shown that one frame is composed of data of channels CH1-1 to CH16-1.

【0006】同図(2)は、チャネルクロックCHCK
1がシリアルデータIN1,OUT1,IN2,OUT
2のチャネルCH1−1のデータの先頭のタイミングで
出力され、以下同様にチャネルクロックCHCK2〜1
6がシリアルデータのチャネルCH2−1〜16−1の
データのタイミングで出力されていることを示してい
る。
FIG. 2B shows a channel clock CHCK.
1 is serial data IN1, OUT1, IN2, OUT
The data of the channel CH1-1 of the second channel is output at the timing of the beginning of the data.
6 is output at the timing of the data of the serial data channels CH2-1 to 16-1.

【0007】そして、一例を挙げれば回線終端装置20
−1は、チャネルクロックCHCK1のタイミングでシ
リアルデータOUT1,IN1のフレーム内のCH1−
1のデータのみをそれぞれ入力又は出力する。
Then, as an example, the line terminating device 20
-1 is CH1- in the frame of the serial data OUT1, IN1 at the timing of the channel clock CHCK1.
Only one data is input or output, respectively.

【0008】図11は、図10(1)に示したフレーム
を6個集めて構成したマルチフレーム構成例を示してお
り、回線終端装置20−1(図9参照)が入力するデー
タは、マルチフレームの各フレーム1〜6からチャネル
クロックCHCK1(図10(2)参照)のタイミング
で順次入出力されるチャネルCH1−1〜CH1−6の
データ1〜6である。
FIG. 11 shows a multi-frame configuration example in which the six frames shown in FIG. 10 (1) are collected, and the data input to the line terminating device 20-1 (see FIG. 9) is a multi-frame. The data 1 to 6 of the channels CH1-1 to CH1-6 are sequentially input / output from each of the frames 1 to 6 at the timing of the channel clock CHCK1 (see FIG. 10B).

【0009】このような回線終端装置においては、フレ
ームの連続性を監視して、マルチフレーム全体としての
フレーム同期を確立することが必要となる。
In such a line terminating device, it is necessary to monitor the continuity of frames and establish frame synchronization for the entire multiframe.

【0010】[0010]

【従来の技術】図12は、図9の各回線終端装置20−
1〜20−32に含まれる回線終端装置(以下、符号
「20」で示す。)を示している。この回線終端装置2
0はシリアルデータOUT1(又はOUT2:以後、O
UTと称する。)を入力し、フレームパターンを抽出し
てフレーム同期の確立を行い、自局宛のデータを抽出し
て受信データとして出力する。
2. Description of the Related Art FIG. 12 shows each line termination device 20- of FIG.
1 to 20-32 are included in the line terminator (hereinafter, indicated by reference numeral "20"). This line terminator 2
0 indicates serial data OUT1 (or OUT2: hereinafter, O
Called UT. ) Is input, a frame pattern is extracted to establish frame synchronization, data addressed to the local station is extracted and output as received data.

【0011】回線終端装置20は、受信データ取込回路
1、受信データラッチ回路2、受信データレジスタ回路
3、内部クロック作成回路8、チャネルクロック検出回
路10、タイマ・カウンタ11、及びフレーム同期回路
4(破線部分)で構成されている。
The line terminating device 20 includes a received data capture circuit 1, a received data latch circuit 2, a received data register circuit 3, an internal clock generation circuit 8, a channel clock detection circuit 10, a timer counter 11, and a frame synchronization circuit 4. (Broken line part).

【0012】受信データ取込回路1は、シリアルデータ
OUTとチャネルクロックCHCKを入力して1チャネ
ル分のデータD1を出力し、受信データラッチ回路2
は、このデータD1とチャネルクロックCHCKとフレ
ーム同期回路4からのフレーム番号Nとを入力してデー
タD2を出力する。
The received data latch circuit 1 receives the serial data OUT and the channel clock CHCK, outputs the data D1 for one channel, and receives the received data latch circuit 2.
Inputs the data D1, the channel clock CHCK, and the frame number N from the frame synchronization circuit 4, and outputs the data D2.

【0013】受信データレジスタ回路3は、データD2
と内部クロック検出回路10からの内部クロックCK、
フレーム同期回路4からのフレーム番号N、及びフレー
ムの判定結果Jを入力して受信データを出力する。
The reception data register circuit 3 receives the data D2.
And the internal clock CK from the internal clock detection circuit 10,
The frame number N and the frame determination result J from the frame synchronization circuit 4 are input and the received data is output.

【0014】フレーム同期回路4は、フレームカウンタ
回路5、マルチフレーム判定回路6、マルチフレーム同
期検出/保護回路7で構成されている。
The frame synchronization circuit 4 comprises a frame counter circuit 5, a multi-frame determination circuit 6 and a multi-frame synchronization detection / protection circuit 7.

【0015】なお,マルチフレーム判定回路6とマルチ
フレーム同期検出/保護回路7とでマルチフレーム同期
回路12を構成している。
The multiframe determination circuit 6 and the multiframe synchronization detection / protection circuit 7 constitute a multiframe synchronization circuit 12.

【0016】チャネルクロックCHCKは、フレームカ
ウンタ回路5と内部クロック作成回路8とチャネルクロ
ック断検出回路10とに共通に入力されている。
The channel clock CHCK is commonly input to the frame counter circuit 5, the internal clock generation circuit 8 and the channel clock loss detection circuit 10.

【0017】フレームカウンタ回路5はフレーム番号N
を出力し、内部クロック作成回路8は内部クロックCK
を出力し、チャネルクロック断検出回路10はチャネル
クロック断検出信号を出力し、この検出信号を受けてタ
イマ・カウンタ11はリセット信号Rを出力する。この
リセット信号Rは、フレーム同期回路4全体のリセット
信号となっている。
The frame counter circuit 5 has a frame number N.
And the internal clock generation circuit 8 outputs the internal clock CK
, The channel clock loss detection circuit 10 outputs a channel clock loss detection signal, and the timer counter 11 outputs the reset signal R in response to the detection signal. The reset signal R is a reset signal for the entire frame synchronization circuit 4.

【0018】マルチフレーム判定回路6は、受信データ
ラッチ回路2からのフレーム識別番号(信号)とフレー
ム番号Nと内部クロックCKを入力し、判定結果Jを出
力する。
The multi-frame judgment circuit 6 receives the frame identification number (signal), the frame number N and the internal clock CK from the reception data latch circuit 2 and outputs the judgment result J.

【0019】マルチフレーム同期検出/保護回路7は、
マルチフレームの同期確立の判定結果Jとフレーム番号
Nと内部クロックCKを入力し、同期状態Sを出力す
る。この同期状態Sはフレームカウンタ回路5に初期化
信号として与えられている。
The multi-frame sync detection / protection circuit 7 is
The determination result J of establishment of multiframe synchronization, the frame number N, and the internal clock CK are input, and the synchronization state S is output. This synchronization state S is given to the frame counter circuit 5 as an initialization signal.

【0020】図13は、図12のフレーム同期回路4を
含む回線終端装置20の動作例を示しており、この例に
おいてはチャネルクロックCHCKが正常な周期で常に
入力されているものとしている。
FIG. 13 shows an operation example of the line terminating device 20 including the frame synchronization circuit 4 of FIG. 12, and in this example, the channel clock CHCK is always input in a normal cycle.

【0021】なお、マルチフレームはフレーム番号1〜
6の連続した6個のフレームで構成されている。
The multi-frames have frame numbers 1 to
It is composed of 6 consecutive 6 frames.

【0022】受信データ取込回路1は、シリアルデータ
OUT(同図(2))からチャネルクロックCHCK
(図13(1))のタイミングで1チャネル分のデータ
及びフレーム識別番号を抽出し、このシリアルデータを
パラレルデータに変換してデータD1(同図(4))と
して出力する。
The reception data acquisition circuit 1 receives the channel clock CHCK from the serial data OUT ((2) in the figure).
Data of one channel and a frame identification number are extracted at the timing of ((1) in FIG. 13), the serial data is converted into parallel data and output as data D1 ((4) in FIG. 13).

【0023】フレームカウンタ回路5は、フレーム識別
番号と同じ値のフレーム番号N(同図(3))をカウン
ト値“1”〜“6”として順次出力する。
The frame counter circuit 5 sequentially outputs the frame number N ((3) in the figure) having the same value as the frame identification number as the count values "1" to "6".

【0024】受信データラッチ回路2は、受信データ取
込回路1がチャネルクロックCHCKのタイミングで順
次出力するデータD1(CH1−1〜CH1−6)及び
フレーム識別番号を、順次パラレルにラッチして6フレ
ーム分のデータD2(同図(5))として出力する。な
お、受信データラッチ回路2は、フレーム識別番号をデ
ータD1のフレーム識別番号部分のみ抽出してマルチフ
レーム判定回路6に出力する。
The reception data latch circuit 2 sequentially latches in parallel the data D1 (CH1-1 to CH1-6) and the frame identification number which the reception data capturing circuit 1 outputs at the timing of the channel clock CHCK, and 6 The data is output as frame data D2 ((5) in the figure). The received data latch circuit 2 extracts only the frame identification number portion of the data D1 from the frame identification number and outputs it to the multi-frame determination circuit 6.

【0025】マルチフレーム同期回路12は、内部クロ
ックCKのタイミングで、フレーム番号Nが最終フレー
ム番号“6”であり且つフレーム識別番号1〜6が連続
している(データラッチ回路2のフレーム識別番号に対
応する出力が所定の連続したマルチフレームのパターン
となっている)とき、マルチフレームが「連続してい
る」と判定し「0/1」の判定結果Jを出力する。
In the multi-frame synchronization circuit 12, the frame number N is the final frame number "6" and the frame identification numbers 1 to 6 are continuous at the timing of the internal clock CK (the frame identification number of the data latch circuit 2). When the output corresponding to is a predetermined continuous multi-frame pattern), it is determined that the multi-frames are "continuous" and the determination result J of "0/1" is output.

【0026】すなわち、シリアルデータバスSDBから
入力するマルチフレームの位相(フレーム識別番号)
と、フレームカウンタ回路5の位相(フレーム番号N)
を比較してフレームの連続性を判定している。
That is, the phase of the multi-frame input from the serial data bus SDB (frame identification number)
And the phase of the frame counter circuit 5 (frame number N)
To determine the continuity of frames.

【0027】また、マルチフレーム同期回路12は、偶
然同期が確立した様に見える場合を排除するため、判定
結果Jとフレーム番号Nに基づいて数回以上連続してマ
ルチフレームの同期が確立したことを検出する前方又は
後方保護を行った後、同期確立中で有るか否かを示す同
期状態Sを出力する。
Further, the multi-frame synchronization circuit 12 establishes multi-frame synchronization continuously several times or more based on the judgment result J and the frame number N in order to eliminate the case where synchronization seems to be established by chance. After performing the front or rear protection for detecting, the synchronization state S indicating whether or not the synchronization is being established is output.

【0028】すなわち、受信データラッチ回路2のフレ
ーム識別番号に対応する出力端子に所定のパターンが、
所定の周期(フレームカウンタ回路が示すフレーム番号
で判定)で所定の回数以上連続して出力されるときを
「同期確立中である」と見倣す。
That is, a predetermined pattern is output to the output terminal corresponding to the frame identification number of the received data latch circuit 2.
The case where the output is continuously performed a predetermined number of times or more in a predetermined cycle (determined by the frame number indicated by the frame counter circuit) is regarded as “establishing synchronization”.

【0029】そして、フレームカウンタ回路5は、同期
確立中であることを示す同期状態Sを入力して、カウン
ト動作を継続する。
Then, the frame counter circuit 5 inputs the synchronization state S indicating that synchronization is being established, and continues the counting operation.

【0030】なお、内部クロックCKは、後述するよう
にチャネルクロックCHCKが正常な周期で内部クロッ
ク作成回路8に入力されている限り、チャネルクロック
CHCKと同じ周期と見倣してよい。
The internal clock CK may be regarded as having the same period as the channel clock CHCK as long as the channel clock CHCK is input to the internal clock generating circuit 8 at a normal period as described later.

【0031】また、受信データレジスタ回路3も、判定
結果Jとフレーム番号Nに基づいて、マルチフレーム同
期が確立中の状態であるとき内部クロックCKのタイミ
ングで1マルチフレーム分の正常なデータD2を記憶し
て受信データ(同図(8))として出力する。
The reception data register circuit 3 also outputs the normal data D2 for one multiframe at the timing of the internal clock CK based on the judgment result J and the frame number N when the multiframe synchronization is being established. It is stored and output as received data ((8) in the figure).

【0032】以上の一連の動作によりマルチフレーム同
期の確立の監視を行うことが出来るが、連続性が崩れた
場合にはフレーム同期を再び取り直して再度連続性の監
視を行うこととなる。
The establishment of multi-frame synchronization can be monitored by the above series of operations, but if the continuity is lost, the frame synchronization is re-acquired and the continuity is monitored again.

【0033】上記の動作例では、チャネルクロックCH
CK周期変動する例を述べたが、ャネルクロック
CHCKが断になった場合の動作について説明する。
In the above operation example, the channel clock CH
Although the period of CK has made an example of variation, Ji Yanerukurokku CHCK a description will be given of the operation when it becomes off.

【0034】上記の動作例では、はチャネルクロックC
HCKが正常な周期で入力される例を述べたが、チャネ
ルクロックCHCKが断になった場合の動作について説
明する。
In the above operation example, is the channel clock C
The example in which the HCK is input in the normal cycle has been described, but the operation when the channel clock CHCK is disconnected will be described.

【0035】チャネルクロック断検出回路10、タイマ
カウンタ11、及び内部クロック作成回路8が無い場
合、受信データ取込回路1、受信データラッチ回路2、
及びフレームカウンタ5は、チャネルクロックCHCK
が断のとき動作を停止し、停止した時点のデータD1,
D2及びフレーム番号Nを維持したままの状態となる。
When the channel clock loss detection circuit 10, the timer counter 11, and the internal clock generation circuit 8 are not provided, the reception data acquisition circuit 1, the reception data latch circuit 2,
And the frame counter 5 uses the channel clock CHCK.
Is stopped, the operation is stopped, and the data D1,
D2 and the frame number N are maintained.

【0036】また図12の内部クロックCKはチャネル
クロックCHCKになるため、フレーム同期回路4は同
期が外れたことを検出することができず誤った「同期確
立中」を示す状態信号Sを出力し続け、チャネルクロッ
クCHCKが入力されるまで回線が断状態のままデータ
の取り込みが行えなくなる。
Further, since the internal clock CK of FIG. 12 becomes the channel clock CHCK, the frame synchronization circuit 4 cannot detect the loss of synchronization and outputs the erroneous state signal S indicating "synchronization is being established". Then, until the channel clock CHCK is input, the line cannot be taken in and the data cannot be taken in.

【0037】最悪の場合、長時間回線が断した状態にな
るため、この断状態を検出する必要がある。
In the worst case, since the line is disconnected for a long time, it is necessary to detect this disconnection.

【0038】そこで、図12に示したチャネルクロック
断検出回路10とタイマ・カウンタ11が設けられてお
り、チャネルクロック断検出回路10はチャネルクロッ
クCHCKが断になったことをタイマ・カウンタ11に
出力する。
Therefore, the channel clock loss detection circuit 10 and the timer counter 11 shown in FIG. 12 are provided, and the channel clock loss detection circuit 10 outputs to the timer counter 11 that the channel clock CHCK is disconnected. To do.

【0039】タイマ・カウンタ11は、内部クロックC
Kをカウントし、所定のカウント値になったときリセッ
ト信号Rを出力し、フレームカウンタ回路5とマルチフ
レーム同期回路12を初期状態に戻す。
The timer / counter 11 has an internal clock C.
K is counted, a reset signal R is output when a predetermined count value is reached, and the frame counter circuit 5 and the multi-frame synchronization circuit 12 are returned to the initial state.

【0040】さらに、チャネルクロックCHCKの断に
起因する回線終端装置の動作停止を防ぐため、チャネル
クロックCHCKの代用クロックとして内部クロックC
Kで受信データ取込回路1、受信データラッチ回路2、
及びフレームカウンタ回路5を供給して動作させる。
Further, in order to prevent the operation of the line terminator from being interrupted due to the disconnection of the channel clock CHCK, the internal clock C is used as a substitute clock for the channel clock CHCK.
With K, the reception data acquisition circuit 1, the reception data latch circuit 2,
Also, the frame counter circuit 5 is supplied and operated.

【0041】図14は、図12における内部クロック作
成回路8を示しており、OR回路8aとカウンタ8bと
デコーダ8cとで構成されている。
FIG. 14 shows the internal clock generating circuit 8 in FIG. 12, which is composed of an OR circuit 8a, a counter 8b and a decoder 8c.

【0042】カウンタ8bは、入力端子CLKに入力さ
れるマスタクロックMCLKをカウントして出力端子Q
からカウント値を出力し、デコーダ8cは、カウンタ8
bの該カウント値がチャネルクロックCHCKの周期に
相当した値になるときロード信号Lを出力する。
The counter 8b counts the master clock MCLK input to the input terminal CLK and outputs it at the output terminal Q.
Outputs the count value from the decoder 8c, and the decoder 8c
When the count value of b becomes a value corresponding to the cycle of the channel clock CHCK, the load signal L is output.

【0043】OR回路8aは、ロード信号L又はチャネ
ルクロックCHCKが入力されたときカウンタ8bにロ
ード命令LDを出力する。カウンタ8bは、このロード
命令LDを受けて初期値(カウンタ8bがカウントアッ
プする場合は「0」)に設定され、マスタクロックMC
LKをカウントする。
The OR circuit 8a outputs a load instruction LD to the counter 8b when the load signal L or the channel clock CHCK is input. The counter 8b is set to an initial value (“0” when the counter 8b counts up) in response to the load instruction LD, and the master clock MC
Count LK.

【0044】この結果、カウンタ8bは、通常はチャネ
ルクロックCHCKによって初期設定される。チャネル
クロックCHCKが断状態になったとき、カウンタ8b
は、カウント値がチャネルクロックCHCKの周期に相
当する値になったタイミングで、デコーダ8cから出力
されるロード信号Lによって初期設定されることにな
る。
As a result, the counter 8b is normally initialized by the channel clock CHCK. When the channel clock CHCK is cut off, the counter 8b
Will be initialized by the load signal L output from the decoder 8c at the timing when the count value becomes a value corresponding to the cycle of the channel clock CHCK.

【0045】従って、チャネルクロックCHCKが断と
なった場合においても、カウンタ8bの出力端子Qから
チャネルクロックCHCKの代用クロックとして内部ク
ロックCKを取り出すことができる。
Therefore, even when the channel clock CHCK is disconnected, the internal clock CK can be taken out from the output terminal Q of the counter 8b as a substitute clock for the channel clock CHCK.

【0046】図15は、上記の内部クロック作成回路8
に入力されたチャネルクロックCHCKと作成された内
部クロックCKとの位相を示している。
FIG. 15 shows the internal clock generation circuit 8 described above.
3 shows the phases of the channel clock CHCK input to the internal clock CK and the created internal clock CK.

【0047】同図(1)は、チャネルクロックCHCK
が正常な周期で入力された場合を示しており、チャネル
クロックCHCKのパルスP1に対応する内部クロック
CKのパルスp1は、次のパルスP2と同じタイミング
で出力される。以後同様にパルスP2〜P6に対応する
パルスp2〜p6がチャネルクロックCHCKの1周期
分遅れて出力されている。
FIG. 1A shows the channel clock CHCK.
Is input in a normal cycle, and the pulse p1 of the internal clock CK corresponding to the pulse P1 of the channel clock CHCK is output at the same timing as the next pulse P2. Thereafter, similarly, the pulses p2 to p6 corresponding to the pulses P2 to P6 are output with a delay of one cycle of the channel clock CHCK.

【0048】同図(2)はチャネルクロックCHCKが
正常な周期より短い周期で入力された場合を示してお
り、チャネルクロックCHCKのパルスP3の次のパル
スP4が短周期で入力されるとカウンタ8bはこのパル
スP4で“0”に初期設定されるため、内部クロックの
パルスp3(破線で示す)は出力されず、パルスP4の
タイミングから正常周期後にパルスp4が出力されてい
る。
FIG. 2B shows the case where the channel clock CHCK is input in a cycle shorter than the normal cycle, and when the pulse P4 next to the pulse P3 of the channel clock CHCK is input in a short cycle, the counter 8b. Is initially set to "0" by the pulse P4, the internal clock pulse p3 (shown by the broken line) is not output, and the pulse p4 is output after a normal cycle from the timing of the pulse P4.

【0049】また、パルスP6の次にパルスP7,P8
が連続して短周期で入力された場合はパルスp6,p7
は出力されず、パルスP8のタイミングから正常周期の
後、パルスp8が出力される。
Further, the pulse P6 is followed by the pulses P7 and P8.
Is input continuously in a short cycle, pulses p6 and p7
Is not output, and the pulse p8 is output after a normal period from the timing of the pulse P8.

【0050】同図(3)はチャネルクロックCHCKが
正常な周期より長く且つ2倍の周期より短い周期で入力
された場合を示しており、パルスP2の次のパルスP3
が長周期で入力されるとパルスp1の次のパルスp2を
正常な周期で出力する。
FIG. 3C shows the case where the channel clock CHCK is input with a period longer than the normal period and shorter than twice the normal period, which is the pulse P3 next to the pulse P2.
Is input in a long cycle, the pulse p2 next to the pulse p1 is output in a normal cycle.

【0051】さらに、カウンタ8bがパルスP3で
“0”に初期設定されるため、パルスp3はパルスP3
から正常周期が経過した後に出力される。
Further, since the counter 8b is initialized to "0" by the pulse P3, the pulse p3 changes to the pulse P3.
Is output after the normal cycle has passed.

【0052】同様に、パルスP4の次に連続して長周期
のパルスP5,P6が発生した場合は、パルスp4,p
5,p6がそれぞれパルスP4,P5,P6から正常周
期で出力される。
Similarly, when pulses P5 and P6 having a long period are generated consecutively after the pulse P4, the pulses p4 and p4 are generated.
5 and p6 are output in the normal cycle from the pulses P4, P5 and P6, respectively.

【0053】同図(4)はチャネルクロックCHCKが
正常な周期の2倍以上長い周期で入力された場合を示し
ている。これは例えば、チャネルクロックCHCKのパ
ルスP2とP7の間のパルスP3〜P6までのパルスが
欠けている場合に相当する。
FIG. 4D shows the case where the channel clock CHCK is input at a cycle longer than twice the normal cycle. This corresponds to, for example, the case where the pulses P3 to P6 between the pulses P2 and P7 of the channel clock CHCK are missing.

【0054】カウンタ8bは、OR回路8aを介したチ
ャネルクロックCHCKのパルスP3〜P6によるLD
命令の代わりにデコーダ8cから正常な周期で出力され
るロード信号Lによって順次“0”に初期設定されてフ
リーランの状態となり、内部クロックのパルスp1から
正常な周期でパルスp2〜p6を順次発生する。
The counter 8b is an LD for the pulses P3 to P6 of the channel clock CHCK via the OR circuit 8a.
Instead of an instruction, the load signal L output from the decoder 8c in a normal cycle is sequentially initialized to "0" to be in a free-run state, and pulses p2 to p6 are sequentially generated in a normal cycle from the pulse p1 of the internal clock. To do.

【0055】このように、チャネルクロックCHCKの
周期が正常である場合は、チャネルクロックCHCKと
内部クロックCKの位相は一致し、周期が正常でない場
合、チャネルクロックCHCKに対応した位置で内部ク
ロックCKの欠落やチャネルクロックCHCKと内部ク
ロックCKとの位相ずれが発生する。
As described above, when the cycle of the channel clock CHCK is normal, the phases of the channel clock CHCK and the internal clock CK match, and when the cycle is not normal, the internal clock CK of the internal clock CK is located at a position corresponding to the channel clock CHCK. A dropout or a phase shift between the channel clock CHCK and the internal clock CK occurs.

【0056】一方、チャネルクロックCHCKが断した
場合は、内部クロックCKはチャネルクロックCHCK
の欠落した位置に発生し、チャネルクロックCHCKの
代用クロックとすることが出来ることが分かる。
On the other hand, when the channel clock CHCK is cut off, the internal clock CK is the channel clock CHCK.
It can be seen that it can be used as a substitute clock for the channel clock CHCK, which is generated at the position where is missing.

【0057】[0057]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

(1)上記の従来例においては、チャネルクロックが断
状態となることを想定してチャネルクロック断検出回路
10及びタイマ・カウンタ11を必要とするという課題
があった。
(1) In the above-mentioned conventional example, there is a problem that the channel clock loss detection circuit 10 and the timer / counter 11 are required on the assumption that the channel clock is in a disconnected state.

【0058】(2)また、上記の従来例では、チャネル
クロックが正常な周期の場合とチャネルクロックが断し
た場合について述べが、チャネルクロックCHCKの周
期が長/短周期に変動する場合も考えられる。
(2) Further, in the above-mentioned conventional example, the case where the channel clock has a normal cycle and the case where the channel clock is disconnected have been described. However, a case where the cycle of the channel clock CHCK fluctuates into long / short cycles is also conceivable. .

【0059】これについて図16〜図20を参照して説
明する。なお、各図の(1)〜(4b)はそれぞれ対応
している。
This will be described with reference to FIGS. 16 to 20. Note that (1) to (4b) in each figure correspond to each other.

【0060】図16は、図15(2)に対応して、チャ
ネルクロックCHCKが短周期で発生した場合のフレー
ムカウンタ回路5の動作例(1)を示している。
FIG. 16 shows an operation example (1) of the frame counter circuit 5 when the channel clock CHCK is generated in a short cycle, corresponding to FIG. 15 (2).

【0061】同図(2)は、シリアルデータに含まれる
フレーム識別番号を示し、同図(3)は、同図(1)の
チャネルクロックCHCKを入力したフレームカウンタ
回路5が出力する内部クロックCKを示している。
FIG. 2B shows the frame identification number included in the serial data, and FIG. 3C shows the internal clock CK output from the frame counter circuit 5 to which the channel clock CHCK of FIG. 1A is input. Is shown.

【0062】同図(4a)は、フレームカウンタ回路5
が同図(1)のチャネルクロックSCKをカウントした
場合のカウント値を示し、同図(4b)は、チャネルク
ロックCHCKの代用として内部クロックCKを仮にカ
ウントした場合のカウント値を示している。
FIG. 4A shows the frame counter circuit 5.
Shows the count value when the channel clock SCK of FIG. 1A is counted, and FIG. 4B shows the count value when the internal clock CK is provisionally counted in place of the channel clock CHCK.

【0063】この動作例においては、フレームカウンタ
回路5のカウント値(同図(4))は、チャネルクロッ
クCHCKをカウントする場合(同図(4a))のみに
シリアルデータのフレーム識別番号(同図(2))と同
じになることが分かる。
In this operation example, the count value of the frame counter circuit 5 ((4) in the figure) is the frame identification number of the serial data ((4a) in the figure) only when the channel clock CHCK is counted ((4a) in the figure). It turns out that it becomes the same as (2)).

【0064】図17は、図15(3)に対応して、チャ
ネルクロックCHCKが正常な周期より長く且つ2周期
未満の長さの周期で発生した場合のフレームカウンタ回
路5の動作例(2)を示している。
FIG. 17 corresponds to FIG. 15 (3) and shows an operation example (2) of the frame counter circuit 5 when the channel clock CHCK is generated in a cycle longer than the normal cycle and less than two cycles. Is shown.

【0065】この動作例では、フレームカウンタ回路5
のカウント値(同図(4))は、チャネルクロックCH
CKと内部クロックCKのいずれをカウントしても(同
図(4a),(4b))シリアルデータのフレーム識別
番号(同図(2))と同じになることが分かる。
In this operation example, the frame counter circuit 5
The count value ((4) in the figure) is the channel clock CH
It can be seen that no matter which of the CK and the internal clock CK is counted ((4a), (4b) in the figure), the frame identification number of the serial data ((2) in the figure) is the same.

【0066】図18は、図15(4)に対応して、チャ
ネルクロックCHCKが正常な周期の2倍以上の長さの
周期(長周期)で発生した場合のフレームカウンタ回路
5の動作例(3)を示している。
FIG. 18 corresponds to FIG. 15 (4) and shows an operation example of the frame counter circuit 5 when the channel clock CHCK is generated in a cycle (long cycle) having a length twice or more the normal cycle (long cycle). 3) is shown.

【0067】この動作例では、フレームカウンタ回路5
のカウント値(同図(4))は、内部クロックCKをカ
ウントしたとき(同図(4b))のみシリアルデータの
フレーム識別番号(同図(2))と同じになることが分
かる。
In this operation example, the frame counter circuit 5
It can be seen that the count value ((4) in the figure) becomes the same as the frame identification number ((2) in the figure) of the serial data only when the internal clock CK is counted ((4b) in the figure).

【0068】図19は、チャネルクロックCHCKが短
周期から長周期に変動した場合のフレームカウンタ回路
5の動作例(4)を示している。
FIG. 19 shows an operation example (4) of the frame counter circuit 5 when the channel clock CHCK changes from a short cycle to a long cycle.

【0069】この動作例では、フレームカウンタ回路5
のカウント値(同図(4))は、チャネルクロックCH
CKをカウントしたとき(同図(4a))のみシリアル
データのフレーム識別番号(同図(2))と同じになる
ことが分かる。
In this operation example, the frame counter circuit 5
The count value ((4) in the figure) is the channel clock CH
It can be seen that only when the CK is counted ((4a) in the figure), the frame identification number of the serial data ((2) in the figure) is the same.

【0070】図20は、チャネルクロックCHCKが長
周期から短周期に変動した場合のフレームカウンタ回路
5の動作例(5)を示している。
FIG. 20 shows an operation example (5) of the frame counter circuit 5 when the channel clock CHCK changes from a long cycle to a short cycle.

【0071】この動作例では、フレームカウンタ回路5
のカウント値(同図(4))は、チャネルクロックCH
CKをカウントしたとき(同図(4a))のみシリアル
データのフレーム識別番号(同図(2))と同じになる
ことが分かる。
In this operation example, the frame counter circuit 5
The count value ((4) in the figure) is the channel clock CH
It can be seen that only when the CK is counted ((4a) in the figure), the frame identification number of the serial data ((2) in the figure) is the same.

【0072】以上、シリアルデータのフレーム識別番号
がチャネルクロックCHCKの周期でインクリメントさ
れていることを前提としてまとめると下記のようにな
る。
The above is summarized as follows on the premise that the frame identification number of the serial data is incremented in the cycle of the channel clock CHCK.

【0073】フレームカウンタ回路5がチャネルクロッ
クCHCKでカウントした場合は、図18に示したよう
に2周期以上の長周期(パルス断)であるとき、カウン
ト値(同図(4a))はフレーム識別番号(同図
(2))と一致しない。
When the frame counter circuit 5 counts with the channel clock CHCK and the cycle is a long cycle (pulse break) of two cycles or more as shown in FIG. 18, the count value ((4a) in the figure) indicates the frame identification. It does not match the number ((2) in the figure).

【0074】一方、フレームカウンタ回路5が、内部ク
ロックCKでカウントした場合は、図16、図19、及
び図20に示したようにカウント値(同図(4b))は
フレーム識別番号(同図(2))と一致しない。
On the other hand, when the frame counter circuit 5 counts with the internal clock CK, the count value ((4b) in the figure) is the frame identification number (see the same figure) as shown in FIGS. 16, 19 and 20. Does not match (2)).

【0075】従って、フレームカウンタ回路が正常なカ
ウント値(フレーム番号N)を示さず、正常なデータが
来ていても異常なフレームであるとして誤認識してしま
うことになる。
Therefore, the frame counter circuit does not show a normal count value (frame number N), and even if normal data comes, it is erroneously recognized as an abnormal frame.

【0076】従って本発明は、マルチフレームを構成す
るシリアルデータから1フレーム分のチャネルデータ及
びフレーム識別番号をチャネルクロックで取り込む受信
データ取込回路と、該チャネルデータ及び該フレーム識
別番号を順次ラッチして1マルチフレーム分のマルチフ
レームデータ及び該フレーム識別番号を保持する受信デ
ータラッチ回路と、該チャネルクロックの正常時の周期
と同じ周期の内部クロックを作成する内部クロック作成
回路と、該チャネルクロック又は該内部クロックをカウ
ントしてフレーム番号を出力するフレームカウンタ回路
と、1マルチフレーム分の該フレーム識別番号及び該フ
レーム番号に基づいてマルチフレームの同期状態を判定
するマルチフレーム同期回路とを備えた回線終端装置に
おいて、チャネルクロックが断した場合に対応する特別
なリセット回路を必要とせず、またチャネルクロックの
周期が変動した場合もフレームカウンタ回路がフレーム
識別番号と同じカウント値を示すようにすること課題と
する。
Therefore, according to the present invention, a reception data fetch circuit for fetching one frame of channel data and a frame identification number from serial data constituting a multi-frame with a channel clock, and the channel data and the frame identification number are sequentially latched. A multi-frame data for one multi-frame and a reception data latch circuit for holding the frame identification number, an internal clock generation circuit for generating an internal clock having the same period as the normal period of the channel clock, and the channel clock or A line provided with a frame counter circuit that counts the internal clock and outputs a frame number, and a multiframe synchronization circuit that determines the synchronization state of the multiframe based on the frame identification number for one multiframe and the frame number. Channel at the terminating device Locks without requiring any special reset circuit corresponding to the case where the cross-sectional and frame counter circuit even if the cycle of the channel clock is changed to an object to ensure that show the same count value as the frame identification number.

【0077】[0077]

【課題を解決するための手段】[Means for Solving the Problems]

〔1〕上記の課題を解決するため、本発明に係る回線終
端装置は、受信データラッチ回路が内部クロックで1マ
ルチフレーム分のマルチフレームデータ及びフレーム識
別番号を保持し、同期状態が外れたときマルチフレーム
同期回路がフレームカウンタ回路を初期化することがで
きる。
[1] In order to solve the above problems, in the line terminating device according to the present invention, when the reception data latch circuit holds the multiframe data for one multiframe and the frame identification number by the internal clock and the synchronization state is lost. The multi-frame synchronization circuit can initialize the frame counter circuit.

【0078】すなわち、受信データ取込回路はチャネル
クロックのタイミングでチャネルデータ及びフレーム識
別番号を取り込み、受信データラッチ回路は内部クロッ
クのタイミングで受信データ取込回路が取り込んだチャ
ネルデータ及びフレーム識別番号をシリアルに順次ラッ
チして保持する。
That is, the received data fetch circuit fetches the channel data and the frame identification number at the timing of the channel clock, and the received data latch circuit fetches the channel data and the frame identification number fetched by the received data fetch circuit at the timing of the internal clock. Latch and hold serially.

【0079】チャネルクロックが断となった場合、受信
データ取込回路はシリアルデータ及びフレーム識別番号
の取り込みを中止し、データを保持したままとなる。
When the channel clock is cut off, the reception data fetch circuit stops fetching the serial data and the frame identification number and keeps the data.

【0080】しかしながら、受信データラッチ回路は、
内部クロックのタイミングで保持された同じデータをマ
ルチフレームのフレーム数だけ繰り返し順次ラッチして
パラレル保持する。
However, the reception data latch circuit is
The same data held at the timing of the internal clock is repeatedly latched for the number of frames of the multi-frame and held in parallel.

【0081】従って、マルチフレーム同期回路は、受信
データラッチ回路が保持した1マルチフレーム分のフレ
ーム識別番号とフレームカウンタ回路からのフレーム番
号に基づき両者の不一致、すなわち連続性がないこと及
び同期外れと判定し、フレームカウンタ回路を初期化す
ることとなる。
Therefore, the multi-frame synchronization circuit determines that there is a discrepancy between the two based on the frame identification number of one multi-frame held by the reception data latch circuit and the frame number from the frame counter circuit, that is, there is no continuity and loss of synchronization. The judgment is made and the frame counter circuit is initialized.

【0082】この結果、回線終端装置はチャネルクロッ
クCHCKの断状態を特に検出する回路を必要としな
い。
As a result, the line terminating device does not require a circuit for detecting the disconnection state of the channel clock CHCK.

【0083】なお、フレームカウンタ回路5は、フレー
ム番号をチャネルクロックと内部クロックのいずれでカ
ウントしても良い。
The frame counter circuit 5 may count the frame number with either the channel clock or the internal clock.

【0084】そして、チャネルクロックと内部クロック
が同時に入力されるときのみチャネルデータ及びフレー
ム識別番号を受信データ取込回路に取り込むためのマス
ク回路を設ける
[0084] Then, providing the mask circuit for fetching the received data acquisition circuit only channel data and the frame identification number when the channel clock and the internal clock is input at the same time.

【0085】すなわち、チャネルクロックが正常な周期
で入力される場合にのみ、チャネルクロックと内部クロ
ックは同位相になる。従って、受信データ取込回路は、
通常の同位相のときのみシリアルデータからチャネルデ
ータ及びフレーム識別番号を取り込む。
That is, the channel clock and the internal clock have the same phase only when the channel clock is input in a normal cycle. Therefore, the received data acquisition circuit
Channel data and a frame identification number are fetched from serial data only in the case of normal in-phase.

【0086】一方、受信データ取込回路は、チャネルク
ロックが短周期及び長周期などの異常周期の場合や中断
した場合には、シリアルデータを取り込まない。
On the other hand, the reception data capturing circuit does not capture serial data when the channel clock has an abnormal period such as a short period or a long period or is interrupted.

【0087】そして、受信データラッチ回路は、内部ク
ロックのタイミングで受信データ取込回路からのデータ
及びフレーム識別番号を順次ラッチして保持する。
Then, the reception data latch circuit sequentially latches and holds the data and the frame identification number from the reception data receiving circuit at the timing of the internal clock.

【0088】以下、、フレームカウンタ回路は初
期化されるので、回線終端装置は、チャネルクロックC
HCKの断を特に検出する回路を必要としないこととな
る。
[0088] Hereinafter, in the same way, since the frame counter circuit is initialized, the line terminal devices, the channel clock C
Therefore, a circuit for specifically detecting the break of HCK is not required.

【0089】[0089]

【0090】〔〕また、本発明に係る回線終端装置
は、上記の本発明〔1〕おいて、フレームカウンタ回
路が、チャネルクロックの周期を判定する判定回路と該
判定結果に基づいて該チャネルクロック又は内部クロッ
クでフレームカウンタをカウントする動作をさせること
ができる。
[0090] The [2], the line terminal devices according to the present invention, Oite the above invention (1), the frame counter circuit, said on the basis of the determination circuit and the determination result the cycle of the channel clock The operation of counting the frame counter can be performed by the channel clock or the internal clock.

【0091】すなわち、判定回路は、チャネルクロック
が周期の長さを判定しその判定結果に基づいて、チャネ
ルクロックまたは内部クロックでフレームカウンタをイ
ンクリメントすることにより、フレームカウンタ回路は
適切なクロックを選択することが可能となる。
That is, the decision circuit decides the length of the cycle of the channel clock and, based on the decision result, increments the frame counter by the channel clock or the internal clock, so that the frame counter circuit selects an appropriate clock. It becomes possible.

【0092】〔〕さらに、本発明に係る回線終端装置
は、上記の本発明〔〕において、判定回路は、チャネ
ルクロックの周期が正常周期又は短周期又は正常周期の
2倍未満若しくは2倍以上の周期であることを判定しチ
ャネルクロック又は内部クロックを選択するテーブルを
備えることも可能である。
[ 3 ] Furthermore, in the line terminator according to the present invention, in the above-mentioned present invention [ 2 ], the determination circuit has a cycle of the channel clock that is a normal cycle, a short cycle, or less than or twice the normal cycle. It is also possible to provide a table for determining the above cycle and selecting the channel clock or the internal clock.

【0093】すなわち、チャネルクロックの周期を、
正常な周期の場合、正常周期より短い場合、正常な
周期より2周期未満の長周期、及び 2周期以上の長周
期に分ける。
That is, the cycle of the channel clock is
In the case of a normal cycle, if it is shorter than the normal cycle, it is divided into a long cycle of less than 2 cycles than the normal cycle and a long cycle of 2 cycles or more.

【0094】そして、フレームカウンタ回路は、テーブ
ルに基づいて例えばの場合、チャネルクロック又は内
部クロックでカウントし、の場合、チャネルクロック
でカウントし、の場合、内部クロッククロックする。
の場合内部クロックを選択することが可能となる。
Then, the frame counter circuit counts with the channel clock or the internal clock in the case of, based on the table, counts with the channel clock in the case of, and performs the internal clock clock in the case of.
In this case, the internal clock can be selected.

【0095】上記のようにフレームカウンタ回路が、カ
ウントするクロックをチャネルクロック又は内部クロッ
クから選択した場合を、図16〜図20を参照して説明
する。
A case where the frame counter circuit selects the clock to be counted from the channel clock or the internal clock as described above will be described with reference to FIGS. 16 to 20.

【0096】図16は、チャネルクロックCHCK(同
図(1))が短周期の場合を示している。フレームカウ
ンタ回路5は、チャネルクロック(同図(4a))をカ
ウントすれば、カウント値(同図(4a))であるフレ
ーム番号とフレーム識別番号(同図(2))とは同じに
なる。
FIG. 16 shows a case where the channel clock CHCK ((1) in the same figure) has a short cycle. When the frame counter circuit 5 counts the channel clock ((4a) in the figure), the frame number as the count value ((4a) in the figure) becomes the same as the frame identification number ((2) in the figure).

【0097】図17は、チャネルクロックCHCK(同
図(1))が正常な2周期未満の長さの周期の場合を示
している。フレームカウンタ回路5は、まず内部クロッ
クCK(同図(3))をカウントし、つぎに発生するチ
ャネルクロックCHCK(同図(1))をカウントしな
ければ、フレーム識別番号(同図(2))とフレーム番
号(同図(4b))は同じになる。
FIG. 17 shows a case where the channel clock CHCK ((1) in the same figure) has a period of less than two normal periods. The frame counter circuit 5 first counts the internal clock CK ((3) in the figure), and if it does not count the channel clock CHCK ((1) in the figure) generated next, the frame identification number ((2) in the figure). ) And the frame number ((4b) in the figure) are the same.

【0098】図18は、チャネルクロックCHCK(同
図(1))が正常な2周期以上の長さの周期の場合を示
している。フレームカウンタ回路5は、内部クロックC
K(同図(3))とチャネルクロックCHCK(同図
(1))のいずれをカウントしても、カウント値(同図
(4a)、(4b))であるフレーム番号とフレーム識
別番号(同図(2))とは同じになる。
FIG. 18 shows a case where the channel clock CHCK ((1) in the figure) has a normal cycle of two or more cycles. The frame counter circuit 5 has an internal clock C.
Regardless of whether K ((3) in the figure) or CHCK ((1) in the figure) is counted, the frame number and the frame identification number (same as (4a) and (4b) in the figure) are counted values. It becomes the same as the figure (2)).

【0099】図19は、チャネルクロックCHCK(同
図(1))が短周期の後に長周期となった場合を示して
いる。フレームカウンタ回路5は、チャネルクロックC
HCK(同図(1))をカウントすれば、カウント値
(同図(4a))であるフレーム番号とフレーム識別番
号(同図(2))とは同じになる。
FIG. 19 shows a case where the channel clock CHCK ((1) in the same figure) changes from a short cycle to a long cycle. The frame counter circuit 5 uses the channel clock C
When HCK ((1) in the figure) is counted, the frame number as the count value ((4a) in the figure) and the frame identification number ((2) in the figure) become the same.

【0100】図20は、チャネルクロックCHCK(同
図(1))が長周期の後に短周期となった場合を示して
いる。フレームカウンタ回路5は、チャネルクロックC
HCK(同図(1))でカウントすれば、カウント値
(同図(4a))であるフレーム番号とフレーム識別番
号(同図(2))とは同じになる。
FIG. 20 shows a case in which the channel clock CHCK ((1) in the figure) changes from a long cycle to a short cycle. The frame counter circuit 5 uses the channel clock C
When counting with HCK ((1) in the figure), the frame number as the count value ((4a) in the figure) and the frame identification number ((2) in the figure) become the same.

【0101】この様にチャネルクロックの周期によりカ
ウントすべきクロックは選択すれば、フレームカウンタ
回路は、シリアルデータのフレーム識別番号と同じ値フ
レーム番号をカウントすることができる。
By thus selecting the clocks to be counted according to the cycle of the channel clock, the frame counter circuit can count the frame number having the same value as the frame identification number of the serial data.

【0102】したがって、チャネルクロックが一時的な
異常周期から正常な周期に復帰した後において、フレー
ムカウンタ回路は、フレーム識別番号に対応したフレー
ム番号を示しているため同期外れになることはない。
Therefore, after the channel clock recovers from the temporary abnormal cycle to the normal cycle, the frame counter circuit shows the frame number corresponding to the frame identification number, so that the synchronization is not lost.

【0103】〔〕さらに本発明では、上記の本発明
〔1〕おいて、マルチフレーム同期回路が、同期外れ
になったとき又は同期が確立したときから所定の時間経
過したときまでそれぞれ同期外れ又は同期確立中の状態
が継続したとき同期外れまたは同期確立中である該同期
状態と判定することが好ましい。
[0103] [4] Further, in the present invention, Oite the above invention (1), the multi-frame synchronization circuit are respectively synchronized until the predetermined time has elapsed from the time of establishment or synchronous when it becomes out of synchronization When the state of being out of sync or establishing synchronization continues, it is preferable to determine that the synchronization is out of synchronization or being in synchronization.

【0104】すなわち、チャネルクロックの周期の変動
やクロック断に起因する同期外れになったとき又は正常
の周期に戻って同期確立状態になったとき、一時的な同
期外れ又は同期確立状態でないことを確認するため所定
の時間同期外れまたは同期確立状態が継続するか否かの
判定行うことができる。
That is, when the synchronization is lost due to the fluctuation of the cycle of the channel clock or the clock loss, or when the synchronization is returned to the normal period and the synchronization is established, it is determined that the synchronization is not temporarily lost or not established. For confirmation, it is possible to determine whether or not the synchronization is lost or the synchronization established state continues for a predetermined time.

【0105】従って、一時的な異常周期又はクロック断
は同期外れと見倣さず、一時的な同期確立状態を同期確
立状態と見倣すことはない。
Therefore, a temporary abnormal period or clock loss is not regarded as a loss of synchronization, and a temporary synchronization establishment state is not regarded as a synchronization establishment state.

【0106】[0106]

【発明の実施の形態】図1は、本発明に係わる回線終端
装置の構成実施例(1)を示しており、図12に示した
従来の構成と異なる点は、受信データラッチ回路2のク
ロック入力端子CLKにチャネルクロックCHCKの代
わりに内部クロックCKが入力されていることである。
FIG. 1 shows a configuration embodiment (1) of a line terminating device according to the present invention. The difference from the conventional configuration shown in FIG. That is, the internal clock CK is input to the input terminal CLK instead of the channel clock CHCK.

【0107】また、チャネルクロック断検出回路10及
びタイマ・カウンタ11が除去されており、フレームカ
ウンタ回路5とマルチフレーム同期回路12にリセット
信号Rが与えられていないことも異なっている。
Also, the channel clock loss detection circuit 10 and the timer / counter 11 are removed, and the reset signal R is not applied to the frame counter circuit 5 and the multi-frame synchronization circuit 12, which is another difference.

【0108】さらに、フレームカウンタ回路5には、チ
ャネルクロックCHCKと内部クロックCKが入力され
ていることも異なっている。なお、この実施例では、こ
れらのクロックのいずれかを用いればよい。
Further, it is different that the channel clock CHCK and the internal clock CK are input to the frame counter circuit 5. It should be noted that any of these clocks may be used in this embodiment.

【0109】動作において、チャネルクロックCHCK
が回線終端装置20に入力された場合、受信データ取込
回路1は、チャネルクロックCHCKのタイミングでシ
リアルデータを取り込む。
In operation, the channel clock CHCK
Is input to the line terminating device 20, the reception data capturing circuit 1 captures serial data at the timing of the channel clock CHCK.

【0110】そして、受信データラッチ回路2は、チャ
ネルクロックCHCKと同位相の内部クロックCKで受
信データ取込回路1からデータD1を受信し、フレーム
番号1〜6に対応するデータ及びマルチフレームの連続
性を示すフレーム識別番号1〜6のパターンを出力す
る。
Then, the reception data latch circuit 2 receives the data D1 from the reception data receiving circuit 1 with the internal clock CK having the same phase as the channel clock CHCK, and the data corresponding to the frame numbers 1 to 6 and the continuous multi-frame. The patterns of the frame identification numbers 1 to 6 indicating the sex are output.

【0111】以後、図12で示した従来の回線終端装置
20と同様の動作でマルチフレームの判定と検出保護が
行われマルチフレーム同期の確立状態を検出する。
Thereafter, by the same operation as that of the conventional line terminating device 20 shown in FIG. 12, multiframe determination and detection protection are carried out to detect the establishment state of multiframe synchronization.

【0112】一方、チャネルクロックCHCKが断とな
った場合、受信データ取込回路1はシリアルデータOU
Tからデータを取り込むことができず、前に取り込んだ
1フレーム分のデータを保持している。従って、受信デ
ータラッチ回路2は、内部クロックCKで連続したフレ
ーム識別番号を示すパターンをラッチせずフレーム同期
外れを検出することができる。
On the other hand, when the channel clock CHCK is cut off, the reception data receiving circuit 1 outputs the serial data OU.
Data cannot be fetched from T, and the previously fetched data for one frame is retained. Therefore, the reception data latch circuit 2 can detect the loss of frame synchronization without latching the pattern indicating the continuous frame identification number with the internal clock CK.

【0113】以後、マルチフレーム判定回路6とマルチ
フレーム同期検出/保護回路7において、通常の動作で
「マルチフレームの同期外れ」が検出されることとな
る。
After that, the multi-frame determination circuit 6 and the multi-frame synchronization detection / protection circuit 7 detect "out-of-synchronization of multi-frames" in a normal operation.

【0114】従って、図12に示された従来の回線終端
装置20と異なりチャネルクロック断検出回路10とタ
イマ・カウンタ11は特に必要としない。
Therefore, unlike the conventional line terminator 20 shown in FIG. 12, the channel clock loss detection circuit 10 and the timer / counter 11 are not particularly required.

【0115】図2は、本発明に係る回線終端装置の構成
実施例(2)を示しており、図1で示された実施例
(1)と異なる点は、受信データ取込回路1のクロック
入力端子CLKにマスク回路としてのAND回路9を用
いてチャネルクロックCHCKを内部クロックCKでマ
スクしたクロックを入力していることである。
FIG. 2 shows a configuration embodiment (2) of the line terminating device according to the present invention. The difference from the embodiment (1) shown in FIG. 1 is that the clock of the reception data receiving circuit 1 is different. That is, a clock obtained by masking the channel clock CHCK with the internal clock CK is input to the input terminal CLK by using the AND circuit 9 as a mask circuit.

【0116】動作においては、図1の実施例(1)と異
なる点は、正常な周期のチャネルクロックCHCKが入
力されたときのみ、チャネルクロックCHCKと内部ク
ロックCKは同位相となるため、受信データ取込回路1
はシリアルデータOUTを取り込むことができることで
ある。
In operation, the point different from the embodiment (1) of FIG. 1 is that the channel clock CHCK and the internal clock CK have the same phase only when the channel clock CHCK having a normal cycle is input, so that the received data Capture circuit 1
Means that the serial data OUT can be taken in.

【0117】以後、実施例(1)と同じ動作で、マルチ
フレーム同期の確立状態を検出する。また、チャネルク
ロックCHCKが断になった場合、実施例(1)と同様
に「同期外れ」を示す同期状態Sが出力される。
Thereafter, the same operation as that of the embodiment (1) is performed to detect the establishment state of multiframe synchronization. When the channel clock CHCK is cut off, the synchronization state S indicating “out of synchronization” is output as in the embodiment (1).

【0118】従って、図1と同様にチャネルクロック断
検出回路10とタイマ・カウンタ11は特に必要としな
い。
Therefore, the channel clock loss detection circuit 10 and the timer / counter 11 are not particularly required as in the case of FIG.

【0119】図3は、本発明におけるフレームカウンタ
回路5(図1参照)を示しており、選択信号発生回路5
a、選択回路5b、及びフレームカウンタ5cで構成さ
れている。
FIG. 3 shows the frame counter circuit 5 (see FIG. 1) according to the present invention. The selection signal generating circuit 5 is shown in FIG.
a, a selection circuit 5b, and a frame counter 5c.

【0120】チャネルクロックCHCKと内部クロック
CKはそれぞれ選択信号発生回路5aと選択回路5bに
共通に入力され、選択信号発生回路5aには、さらにマ
スタクロックMCLKが入力され選択信号QSETを出
力している。
The channel clock CHCK and the internal clock CK are commonly input to the selection signal generation circuit 5a and the selection circuit 5b, respectively, and the master clock MCLK is further input to the selection signal generation circuit 5a to output the selection signal QSET. .

【0121】選択回路5bは、選択信号QSETを入力
端子Sで受けてインクリメントパルスPを端子OUTか
ら出力する。フレームカウンタ5cは、このインクリメ
ントパルスPとマスタクロックMCLKをそれぞれ入力
端子EN,MCLKで受けて、端子Qからフレーム番号
Nを出力している。
The selection circuit 5b receives the selection signal QSET at the input terminal S and outputs the increment pulse P from the terminal OUT. The frame counter 5c receives the increment pulse P and the master clock MCLK at the input terminals EN and MCLK, respectively, and outputs the frame number N from the terminal Q.

【0122】選択信号発生回路5aは、動作テーブルT
1に基づいて選択信号QSETを出力する。この選択信
号QSETは、内部クロックCKのみが発生したとき、
“0”に設定され、そしてチャネルクロックCHCK又
は内部クロックCKが発生したとき“1”に設定されよ
うになっている。
The selection signal generation circuit 5a operates in the operation table T
Based on 1, the selection signal QSET is output. This selection signal QSET is generated when only the internal clock CK is generated.
It is set to "0" and is set to "1" when the channel clock CHCK or the internal clock CK is generated.

【0123】選択回路5bは、動作テーブルT2に基づ
いて入力端子S入力された選択信号QSETの論理値に
よりインクリメントパルスPを出力する。フレームカウ
ンタ5cは、入力されたインクリメントパルスPが
“1”のとき、マスタクロックMCLKの立ち上がりに
同期してインクリメントする。
The selection circuit 5b outputs the increment pulse P according to the logical value of the selection signal QSET input to the input terminal S based on the operation table T2. When the input increment pulse P is "1", the frame counter 5c increments in synchronization with the rising edge of the master clock MCLK.

【0124】フレームカウンタ5cは、マルチフレーム
が含むフレーム数の周期(例えばフレーム数6のとき、
1〜6)でカウント動作を繰り返す。ただし、同図には
この繰り返しカウント動作をさせる回路は示されていな
い。
The frame counter 5c has a cycle of the number of frames included in the multi-frame (for example, when the number of frames is 6,
The counting operation is repeated in 1 to 6). However, a circuit for performing this repetitive counting operation is not shown in FIG.

【0125】なお、動作テーブルT1,T2の論理値
は、正論理で示されており、テーブルT1の選択信号Q
SET=Q0は、「前の状態を保持する」ことを意味し
ている。
The logical values of the operation tables T1 and T2 are shown in positive logic, and the selection signal Q of the table T1 is used.
SET = Q0 means “hold the previous state”.

【0126】また、チャネルクロックCHCK及び内部
クロックCKは、マスタクロックMCLKの立下がりに
同期したクロックであり、そのパルス幅はマスタクロッ
クの1周期分となっている。
The channel clock CHCK and the internal clock CK are clocks synchronized with the falling edge of the master clock MCLK, and their pulse width is one cycle of the master clock.

【0127】図4〜8は、図3に示された本発明におけ
るフレームカウンタ回路5に動作例(1)〜(5)を示
すタイムチャート図である。このタイムチャート図は、
テーブルT1,T2をより詳細に示したものである。
4 to 8 are time charts showing operation examples (1) to (5) in the frame counter circuit 5 of the present invention shown in FIG. This time chart diagram is
Tables T1 and T2 are shown in more detail.

【0128】特に、図5(ii)は、他の動作例の図と異
なり、タイミング動作をより詳細に示すため選択信号Q
SET、マスタクロックMCLK、及びフレームカウン
タ5cのカウント値のタイムチャート図が追加されてい
る。
In particular, FIG. 5 (ii) is different from the figures of other operation examples in order to show the timing operation in more detail, the selection signal Q
A time chart diagram of SET, master clock MCLK, and count value of the frame counter 5c is added.

【0129】図中においてはチャネルクロックCHCK
は、負論理で表示され、内部クロックCK、選択信号Q
SET、及びインクリメントパルスPは正論理で表示さ
れている。
In the figure, the channel clock CHCK
Are displayed in negative logic, and the internal clock CK and the selection signal Q
SET and increment pulse P are displayed in positive logic.

【0130】また、チャネルクロックCHCKと内部ク
ロックCKとインクリメントパルスPの各パルスに添え
られた数字は、それぞれチャネルクロックCHCKに対
応するシリアルデータOUTのフレーム識別番号、内部
クロックCKが対応すべきフレーム番号、及びカウンタ
5cのカウント値であるフレーム番号Nを示している。
The numbers attached to the respective pulses of the channel clock CHCK, the internal clock CK and the increment pulse P are the frame identification number of the serial data OUT corresponding to the channel clock CHCK and the frame number to which the internal clock CK should correspond. , And the frame number N, which is the count value of the counter 5c.

【0131】なお、インクリメントパルPは、フレーム
カウンタ5cがインクリメントされる位置を示してい
る。
The increment pal P indicates the position where the frame counter 5c is incremented.

【0132】図5(ii)に示されたインクリメントパル
スI1と図6(i)に示されたインクリメントパルスI
2,I3は、回路設計上発生するパルスであり、図(i
i)のタイミングt5に示すようにフレームカウンタ5
cがインクリメントするタイミングがマスタクロックM
CLKの立ち上がりであるため無視される。
The increment pulse I1 shown in FIG. 5 (ii) and the increment pulse I shown in FIG. 6 (i).
2, I3 are the pulses generated in the circuit design, and
i) frame counter 5 as shown at timing t5
The timing when c is incremented is the master clock M
It is ignored because it is the rising edge of CLK.

【0133】フレームカウンタ回路5のインクリメント
動作をまとめると次のようになる。 :チャネルクロックCHCKと内部クロックCKが共
にない場合(図5(ii)タイミングt2,t2’参
照)、インクリメントしない。
The increment operation of the frame counter circuit 5 is summarized as follows. : When both the channel clock CHCK and the internal clock CK are not present (see timings t2 and t2 ′ in FIG. 5 (ii)), no increment is performed.

【0134】:内部クロックCKのみある場合(同タ
イミングt4参照)、インクリメントする。 :の場合の後、チャネルクロックCHCKのみ発生
した場合(同タイミングt5参照)(テーブルT2の条
件4)、インクリメントしない。
When there is only the internal clock CK (see the same timing t4), the increment is made. After the case of :, if only the channel clock CHCK is generated (see the same timing t5) (condition 4 of table T2), the increment is not performed.

【0135】:の場合以外(,,,の場
合)の後:チャネルクロックCKのみ発生した場合(同
タイミングt3参照)、インクリメントする。 :チャネルクロックCHCKと内部クロックが共にあ
る場合(同タイミングt1,t1’,t6参照)、イン
クリメントする。
After the case other than (: ,,,): When only the channel clock CK is generated (see the same timing t3), the increment is performed. : When both the channel clock CHCK and the internal clock are present (see the same timings t1, t1 ', t6), increment.

【0136】:の場合の後、チャネルクロックCH
CKのみ発生した場合(その2)(図8(i)タイミン
グt4参照)、インクリメントする。
After :, the channel clock CH
When only CK occurs (part 2) (see timing t4 in FIG. 8 (i)), the increment is performed.

【0137】以後、図4〜図8のタイムチャート動作を
上記の〜の場合に対応づけ説明する。
The time chart operations of FIGS. 4 to 8 will be described below in association with the above cases 1 to.

【0138】図4(i)は、チャネルクロックCHCK
がタイミングt3において長周期で1回発生した場合を
示している。フレームカウンタ回路5は、タイミングt
1がの場合に相当しているのでインクリメントし、タ
イミングt2がの場合に相当するのでインクリメント
する。
FIG. 4 (i) shows the channel clock CHCK.
Shows a case where occurs at timing t3 once in a long cycle. The frame counter circuit 5 has a timing t
Since 1 corresponds to the case of, it is incremented, and timing t2 corresponds to the case of, so it is incremented.

【0139】そして、フレームカウンタ回路5は、の
場合の後のタイミングt3がの場合に相当するのでイ
ンクリメントせず、タイミングt4がの場合に相当す
るのでインクリメントする。
Then, the frame counter circuit 5 does not increment because the timing t3 after the case is corresponding to the case of, and increments because the timing t4 corresponds to the case.

【0140】すなわち、フレームカウンタ5cは、タイ
ミングt2の内部クロックCKに対応するタイミングt
3のチャネルクロックCHCKが、タイミングt2にお
いて次の何時のタイミングで発生するか分からないた
め、まずタイミングt2の内部クロックCKをカウント
しておく。
That is, the frame counter 5c has the timing t corresponding to the internal clock CK at the timing t2.
Since it is not known at what timing the channel clock CHCK of 3 will occur at the timing t2, the internal clock CK at the timing t2 is first counted.

【0141】そして、次のタイミングt3に単独で発生
したチャネルクロックCHCKは、予めタイミングt2
で代用の内部クロックCKをカウントしてあるのでカウ
ントされないようになっている。
Then, the channel clock CHCK generated independently at the next timing t3 is set in advance at the timing t2.
Since the substitute internal clock CK is counted in, it is not counted.

【0142】従って、チャネルクロックCHCKの周期
が正常に復帰したタイミングt4においては、チャネル
クロックCHCKに対応するフレーム識別番号“4”と
インクリメントパルスに示されたフレームカウンタ5c
のカウント値であるフレーム番号“4”とは一致してい
ることが分かる。
Therefore, at the timing t4 when the cycle of the channel clock CHCK returns to normal, the frame counter 5c indicated by the frame identification number "4" and the increment pulse corresponding to the channel clock CHCK.
It can be seen that they match the frame number “4”, which is the count value of.

【0143】同図(ii)は、チャネルクロックCHCK
が短周期でタイミングt2で1回発生した場合を示して
いる。フレームカウンタ回路5は、タイミングt1が
の場合に相当しているのでインクリメントし、タイミン
グt2がの場合に相当しているのでインクリメント
し、そしてタイミングt3がの場合に相当するのでイ
ンクリメントする。
[0143] The figure (ii) shows the channel clock CHCK.
Shows a case where the error occurs once at a timing t2 in a short cycle. The frame counter circuit 5 increments because it corresponds to the timing t1 and increments because it corresponds to the timing t2, and increments because it corresponds to the timing t3.

【0144】すなわち、タイミングt2において、チャ
ネルクロックCHCKをカウントする。そしてこのチャ
ネルクロックCHCKに対応する内部クロックCKは発
生しない。従って、正常な周期に戻ったタイミングt4
において、チャネルクロックCHCKに対応するフレー
ム識別番号“4”とインクリメントパルスPに示された
フレーム番号“4”とは一致していることが分かる。
That is, at timing t2, the channel clock CHCK is counted. Then, the internal clock CK corresponding to this channel clock CHCK is not generated. Therefore, the timing t4 when the normal cycle is restored
In, it can be seen that the frame identification number “4” corresponding to the channel clock CHCK and the frame number “4” indicated by the increment pulse P match.

【0145】図5(i)は、チャネルクロックCHCK
がタイミングt3で長周期で1回発生した後、タイミン
グt4で短周期で1回の発生した場合を示している。タ
イミングt2の内部クロックとタイミングt3のチャネ
ルクロックの処理は図4(i)のタイミングt2,t3
の場合と同じであり、タイミングt3は、の場合に相
当している。
FIG. 5 (i) shows the channel clock CHCK.
Shows a case where occurs at a long cycle once at timing t3 and then once at a short cycle at timing t4. The internal clock at the timing t2 and the channel clock at the timing t3 are processed at timings t2 and t3 in FIG.
The same as the case of, and the timing t3 corresponds to the case of.

【0146】フレームカウンタ回路5は、の場合の後
のタイミングt4がの場合に相当するため、インクリ
メントし、タイミングt5がの場合に相当するのでイ
ンクリメントする。
Since the frame counter circuit 5 corresponds to the case of timing t4 after the case of, the frame counter circuit 5 is incremented, and since it corresponds to the case of timing t5, it is incremented.

【0147】正常な周期に戻ったタイミングt5におけ
るフレーム識別番号“5”とインクフレーム番号“5”
とは一致していることが分かる。
The frame identification number "5" and the ink frame number "5" at the timing t5 when returning to the normal cycle.
It can be seen that is consistent with.

【0148】図5(ii)は、チャネルクロックCHCK
がタイミングt3において短周期で発生した後、タイミ
ングt5において長周期で発生した場合を示している。
FIG. 5 (ii) shows the channel clock CHCK.
Shows a case where occurs in a short cycle at timing t3 and then occurs in a long cycle at timing t5.

【0149】タイミングt1,t2,t1’,t3,t
4,t2’,t5,,t6は、それぞれ,,,
,,,,の場合を示している。従って、フレ
ームカウンタ5cは、タイミングt1,t1’,t3,
t4,t6でインクリメントされ、タイミングt2,t
2’でインクリメントされないことが分かる。
Timing t1, t2, t1 ', t3, t
4, t2 ′, t5, and t6 are respectively,
,,,, are shown. Therefore, the frame counter 5c causes the timings t1, t1 ′, t3, and
Incremented at t4, t6, timing t2, t
You can see that it is not incremented by 2 '.

【0150】この動作例においてもフレームカウンタ回
路5のカウント結果であるフレーム番号とフレーム識別
番号は正常な周期に戻ったタイミングt6において一致
している。
Also in this operation example, the frame number and the frame identification number, which are the counting results of the frame counter circuit 5, match at the timing t6 when the normal cycle is returned.

【0151】図6(i)は、チャネルクロックCHCK
がタイミングt3,t5において長周期が2回連続して
発生した場合を示している。
FIG. 6I shows the channel clock CHCK.
Shows the case where the long cycle occurs twice consecutively at the timings t3 and t5.

【0152】フレームカウンタ回路5は、タイミングt
2、t3及びタイミングt4、t5において図5(i)
のタイミングt2,t3と同じカウント動作が2回繰り
返す。そして、タイミングt1,t6がの場合である
のでインクリメントする。
The frame counter circuit 5 receives the timing t.
5 (i) at 2, t3 and timings t4, t5.
The same counting operation as the timings t2 and t3 is repeated twice. Then, since the timings t1 and t6 are the case of, the increment is made.

【0153】この結果、正常な周期に戻ったタイミング
t6におけるフレーム識別番号“5”とフレーム番号
“5”とは一致していることが分かる。
As a result, it can be seen that the frame identification number "5" and the frame number "5" at the timing t6 when returning to the normal cycle match.

【0154】図6(ii)は、チャネルクロックCHCK
がタイミングt2,t3で短い周期が3回連続して発生
した場合を示している。
FIG. 6 (ii) shows the channel clock CHCK.
Indicates that a short cycle occurs three times consecutively at timings t2 and t3.

【0155】フレームカウンタ回路5は、図4(ii)の
タイミングt2における動作と同じくインクリメント動
作をタイミングt2で行った後、タイミングt3がの
場合に相当するのでインクリメントを行い、タイミング
t4がの場合に相当するのでインクリメント行う。
The frame counter circuit 5 performs the increment operation at the timing t2 similarly to the operation at the timing t2 in FIG. 4 (ii), and then performs the increment because it corresponds to the case of the timing t3, and when the timing t4 is. Since it corresponds, increment is performed.

【0156】この結果、正常な周期に戻ったタイミング
t4におけるフレーム識別番号“5”とフレーム番号
“5”とは一致していることが分かる。
As a result, it can be seen that the frame identification number "5" and the frame number "5" at the timing t4 when returning to the normal cycle match.

【0157】図7(i)〜図8(ii)は、チャネルクロ
ックCHCKがタイミングt2,t3において連続して
抜けた場合の動作例を示しており、図7(i)は、チャ
ネルクロックCHCKがタイミングt4において正常な
周期の3倍の周期で発生した場合を示している。
FIGS. 7 (i) to 8 (ii) show an operation example in the case where the channel clock CHCK is continuously omitted at the timings t2 and t3, and FIG. 7 (i) shows that the channel clock CHCK is At timing t4, a case is shown in which the occurrence is three times as long as the normal cycle.

【0158】フレームカウンタ回路5は、タイミングt
1,t2,t3,t4、t5がそれぞれ、,,,
,の場合であるので、各タイミングt1〜t5でイ
ンクリメントする。
The frame counter circuit 5 receives the timing t.
1, t2, t3, t4, t5 are respectively ...
, So that the increment is made at each timing t1 to t5.

【0159】チャネルクロックCHCKがタイミングt
2,t3において抜け落ちているにもかかわらず、シリ
アルデータOUTは正常にフレーム識別番号を送ってく
るという条件でば、正常な周期に戻ったタイミングt5
におけるフレーム識別番号“6”とフレーム番号“6”
とは一致していることが分かる。
Channel clock CHCK is timing t
Despite the omission at 2 and t3, the timing t5 when the serial data OUT returns to the normal cycle provided that the frame identification number is normally sent.
Frame identification number "6" and frame number "6"
It can be seen that is consistent with.

【0160】図7(ii)は、チャネルクロックCHCK
が、タイミングt4で発生すべきチャネルクロックCH
CKがタイミングt5で発生した場合である。
FIG. 7 (ii) shows the channel clock CHCK.
However, the channel clock CH that should be generated at the timing t4
This is the case where CK occurs at timing t5.

【0161】フレームカウンタ回路5は、タイミングt
1〜t6がそれぞれ,、,,の後の,の
場合である。従って、タイミングt5以外ではインクリ
メントすることになる。
The frame counter circuit 5 has a timing t.
1 to t6 are after ,,,, respectively. Therefore, it is incremented except at the timing t5.

【0162】この結果、図7(i)の場合と同様にフレ
ーム識別番号が送られてくるという条件で、正常な周期
に戻ったタイミングt6におけるフレーム識別番号
“6”とフレーム番号“6”とは一致していることが分
かる。
As a result, the frame identification number "6" and the frame number "6" at the timing t6 when the normal cycle is returned are provided under the condition that the frame identification number is sent as in the case of FIG. 7 (i). You can see that they match.

【0163】図8(i)は、チャネルクロックCHCK
が、タイミングt3から短周期のタイミングt4のチャ
ネルクロックCHCKが発生した場合を示している。
FIG. 8 (i) shows the channel clock CHCK.
Shows the case where the channel clock CHCK of timing t4 of a short cycle is generated from timing t3.

【0164】フレームカウンタ回路5は、タイミングt
1〜t5がそれぞれ,,,の後の,の場合
であるので、タイミングt5以外ではインクリメントす
ることになる。
The frame counter circuit 5 receives the timing t.
Since 1 to t5 are after each of ,,,, respectively, they are incremented except at the timing t5.

【0165】この結果、図7(i)と同様にフレーム識
別番号の条件で、正常な周期に戻ったタイミングt5に
おけるフレーム識別番号“6”とフレーム番号“6”と
は一致していることが分かる。
As a result, similar to FIG. 7 (i), the frame identification number "6" and the frame number "6" at the timing t5 when returning to the normal cycle match with each other under the condition of the frame identification number. I understand.

【0166】なお、図7(ii)で示されたチャネルパル
スP1と図8(i)で示されたチャネルパルスP2が異
なる点は、パルスP1がタイミングt6よりタイミング
t4に近く、パルスP2がタイミングt3から遠いこと
である。
The difference between the channel pulse P1 shown in FIG. 7 (ii) and the channel pulse P2 shown in FIG. 8 (i) is that the pulse P1 is closer to the timing t4 than the timing t6 and the pulse P2 is the timing. That is far from t3.

【0167】図8(ii)は、図7(i)の場合と同じタ
イミングt1〜t5で同じクロック及びパルスが発生し
た場合を示しており、異なる点は、タイミングt4,t
5のチャネルクロックSCHに相当するフレーム識別番
号が図7(i)に示されたフレーム識別番号“5”,
“6”と異なりそれぞれ“3”,“4”であることであ
る。
FIG. 8 (ii) shows a case where the same clock and pulse are generated at the same timings t1 to t5 as in the case of FIG. 7 (i).
The frame identification number corresponding to the channel clock SCH of 5 is the frame identification number “5” shown in FIG.
Unlike "6", they are "3" and "4", respectively.

【0168】従って、チャネルクロックCHCKが正常
な周期に戻ったタイミングt5で、チャネルクロックC
HCKに対応するフレーム識別番号“4”、とインクリ
メントパルスに対応するフレーム番号“6”異なるって
しまう。このタイミングt5おいてマルチフレーム同期
の連続性は確立せず、同期外れと判定される。
Therefore, at the timing t5 when the channel clock CHCK returns to the normal cycle, the channel clock C
The frame identification number "4" corresponding to HCK and the frame number "6" corresponding to the increment pulse are different. At this timing t5, the continuity of multiframe synchronization is not established, and it is determined that synchronization is lost.

【0169】上記の動作例によれば、フレームカウンタ
回路5がチャネルクロックSCHの周期を正常周期、短
周期、長周期、及び中断に分けてそれぞれに対応してチ
ャネルクロックSCHまたは内部クロックを選択するこ
とにより、シリアルデータOUT上のチャネルクロック
に対応したフレーム識別番号がずれない限りフレーム識
別番号とフレームカウンタ回路のカウント値であるフレ
ーム番号Nは一致させることができる。
According to the above operation example, the frame counter circuit 5 divides the cycle of the channel clock SCH into a normal cycle, a short cycle, a long cycle, and an interruption, and selects the channel clock SCH or the internal clock corresponding to each. As a result, the frame identification number and the frame number N which is the count value of the frame counter circuit can be matched as long as the frame identification number corresponding to the channel clock on the serial data OUT is not shifted.

【0170】従って、図4(i)〜図8(i)のいずれ
の場合でもチャネルクロックCHCKの周期が短周期、
長周期、及び断状態から正常周期に復帰した後、フレー
ム識別番号とフレーム番号が一致するので復帰時には同
期外れにならない。
Therefore, in any of the cases of FIGS. 4 (i) to 8 (i), the cycle of the channel clock CHCK is short,
After returning from the long period and the normal state from the disconnected state, the frame identification number and the frame number match, so that the synchronization is not lost at the time of restoration.

【0171】一方、図8(ii)の場合は、正常周期に復
帰したとき、フレーム識別番号とフレーム番号が一致せ
ずに同期外れになる可能性がある。
On the other hand, in the case of FIG. 8 (ii), when the normal cycle is restored, there is a possibility that the frame identification number and the frame number do not match and the synchronization is lost.

【0172】以後、図2の回線終端装置20のフレーム
カウンタ回路5を図3に示された回路構成にした場合、
回線終端装置20の動作をチャネルクロックCHCKの
発生する周期で分類して説明する。
Thereafter, when the frame counter circuit 5 of the line terminating device 20 of FIG. 2 has the circuit configuration shown in FIG. 3,
The operation of the line terminating device 20 will be described by classifying it according to the cycle in which the channel clock CHCK is generated.

【0173】チャネルクロックCHCKが正常な周期
より短い周期で発生した場合。内部クロックCKを作成
するカウンタ8b(図14参照)は、内部クロックCK
のパルスを出力する前にチャネルクロックCHCKで初
期値がロードされるため出力されない。
When the channel clock CHCK is generated in a cycle shorter than the normal cycle. The counter 8b (see FIG. 14) that creates the internal clock CK is
Since the initial value is loaded by the channel clock CHCK before the pulse is output, it is not output.

【0174】従って、チャネルクロックCHCKを内部
クロックCKでマスクされて受信データ取込回路1(図
1参照)はフレームデータを取り込めない。一方、フレ
ームカウンタ5c(図3参照)は、チャネルクロックC
HCKのみでフレームの連続性をフレーム番号としてカ
ウントする。
Therefore, the channel clock CHCK is masked by the internal clock CK and the received data fetch circuit 1 (see FIG. 1) cannot fetch frame data. On the other hand, the frame counter 5c (see FIG. 3) has a channel clock C
Only HCK counts the continuity of frames as a frame number.

【0175】このような受信データ取込回路1とフレー
ムカウンタ5cの状態が連続した場合、受信データラッ
チ回路2は、受信データ取込回路1の固定したデータを
順次記憶するため、フレームの連続性を示すデータを保
持できない、そしてマルチフレーム同期回路12の動作
により回線終端装置は同期外れとなる。
When the states of the received data fetching circuit 1 and the frame counter 5c are continuous, the received data latch circuit 2 sequentially stores the fixed data of the received data fetching circuit 1, so that the continuity of frames is increased. Cannot hold the data indicating that the line terminator is out of synchronization due to the operation of the multi-frame synchronization circuit 12.

【0176】チャネルクロックCHCKが正常な周期
のより長い周期で且つ2周期未満ので発生した場合。
When the channel clock CHCK is generated with a longer period than the normal period and less than two periods.

【0177】まず、チャネルクロックCHCKが、内部
クロックCKの発生するタイミングより遅れ次にフリー
ランした内部クロックCKが発生するタイミングより前
に発生した場合、フレームの連続性をカウントするフレ
ームカウンタ5cは、内部クロックCKによってカウン
ト動作をさせる(図3テーブル1、2参照)。このと
き、チャネルクロックCHCKが発生していないため、
受信データ取込回路はデータは取り込めない。以後、
の動作と同様に同期外れが検出される。
First, when the channel clock CHCK occurs after the timing when the internal clock CK is generated and before the timing when the free-running internal clock CK is generated, the frame counter 5c that counts the continuity of the frame is The counting operation is performed by the internal clock CK (see Tables 1 and 2 in FIG. 3). At this time, since the channel clock CHCK is not generated,
The reception data capturing circuit cannot capture data. After that,
Out-of-sync is detected as in the operation of.

【0178】一方、チャネルクロックCHCKが内部ク
ロックCKからおくれて入力したタイミングで、フレー
ムカウンタ5cはカウント動作をせず、受信データ取込
回路1はデータを取り込まない。
On the other hand, at the timing when the channel clock CHCK is input after the internal clock CK, the frame counter 5c does not perform the counting operation, and the reception data capturing circuit 1 does not capture the data.

【0179】そして、チャネルクロックCHCKが入力
されたタイミングで初期のチャネルクロックCHCKと
内部クロックCKを待つ状態に復帰する。従って、この
状態が連続すると、の場合と同様にマルチフレーム同
期回路12の動作により同期外れが検出される。
Then, at the timing when the channel clock CHCK is input, the state of waiting for the initial channel clock CHCK and the internal clock CK is restored. Therefore, if this state continues, loss of synchronism is detected by the operation of the multi-frame synchronizing circuit 12 as in the case.

【0180】チャネルクロックCHCKが正常な周期
の2周期以上の長い周期で発生した場合。すなわち、チ
ャネルクロックSCHが“断”した場合。
When the channel clock CHCK is generated in a long cycle of two or more normal cycles. That is, when the channel clock SCH is "disconnected".

【0181】チャネルクロックCHCKが内部クロック
CKが2回出力されても入力されないばあいは、の正
常周期より2周期未満の長周期でチャネルパルスが来た
場合と動作は同様である。相違点はチャネルクロックC
HCKが入力されないため、内部クロックCKが連続し
て入力されることである。
If the channel clock CHCK is not input even if the internal clock CK is output twice, the operation is the same as when the channel pulse comes in a long cycle of less than 2 cycles than the normal cycle of. The difference is the channel clock C
Since HCK is not input, the internal clock CK is continuously input.

【0182】そして、受信データ取込回路1はデータは
取り込まずに、フレームの連続性をカウントするフレー
ムカウンタ5cが内部クロックCKでインクリメントを
行う。 の場合と同様にマルチフレーム同期回路12の
動作により同期外れが検出される。
The received data fetching circuit 1 does not fetch data, but the frame counter 5c for counting the continuity of frames increments by the internal clock CK. In the same manner as in the above case, the out-of-sync is detected by the operation of the multi-frame synchronization circuit 12.

【0183】〜のいづれの場合においても、チャネ
ルクロックCHCKが正常周期に復帰した後、取り込ん
だマルチフレームデータ中のフレームの連続性を表すパ
ターン(フレーム識別番号)が、回線終端回路のフレー
ムの連続性をカウントするフレームカウンタ5cのカウ
ント値(フレーム番号N)と一致していれば正常状態に
復帰して「同期外れ」が継続することはない。
In any of the cases, after the channel clock CHCK returns to the normal cycle, the pattern (frame identification number) indicating the continuity of the frames in the captured multi-frame data is the continuation of the frames of the line termination circuit. If the count value matches the count value (frame number N) of the frame counter 5c that counts the sex, the normal state is restored and the "out of sync" does not continue.

【0184】[0184]

【発明の効果】以上説明したように、本発明に係る回線
終端装置によれば、チャネルクロックと内部クロックが
同時に入力されるときのみチャネルデータ及びフレーム
識別番号を受信データ取込回路に取り込み、信データ
ラッチ回路が内部クロックで1マルチフレーム分のマル
チフレームデータ及びフレーム識別番号を保持し、同期
が外れたとき該クロックのカウントを初期化するように
構成したので、チャネルクロックが断した場合に対応す
る特別なリセット回路を必要とせず回路規模を縮小する
ことが可能となった。
As described in the foregoing, according to the line termination device according to the present invention takes only channel data and the frame identification number when the channel clock and the internal clock is input at the same time the received data acquisition circuit, receiving The signal data latch circuit holds the multiframe data for one multiframe and the frame identification number by the internal clock and synchronizes them.
Since the clock count is initialized when the clock is deviated, it is possible to reduce the circuit scale without the need for a special reset circuit corresponding to the case where the channel clock is cut off.

【0185】また、フレームカウンタ回路が、チャネル
クロックの周期を判定する判定回路と該判定結果に基づ
いてチャネルクロック又は内部クロックでフレームカウ
ンタをカウントさせる回路を含み、さらに好ましくはマ
ルチフレーム同期回路が、同期は外れになった時点又は
同期が確立した時点から所定の時間経過したときそれぞ
れ同期は外れ又は同期確立中の該同期状態と判定するよ
うに構成したので、チャネルクロックの周期が変動した
場合もフレームカウンタ回路がフレーム識別番号と同じ
カウント値を示すようにすることが可能となり、正常な
周期に戻ったとき同期外れの発生をなくすることが可能
となった。
[0185] The frame counter circuit includes a circuit which Ru is counting the frame counter in the channel clock or an internal clock based on the determination circuit and the determination result the cycle of the channel clock, more preferably multi-frame synchronization circuit However, when the synchronization is lost or when a predetermined time has elapsed from the time when the synchronization is established, it is configured to determine that the synchronization is lost or the synchronization state is being established, so the cycle of the channel clock fluctuates. Also in this case, the frame counter circuit can be made to show the same count value as the frame identification number, and it is possible to eliminate the occurrence of loss of synchronism when returning to a normal cycle.

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

【図1】本発明に係る回線終端装置の構成実施例(1)
を示すブロック図である。
FIG. 1 is a configuration example (1) of a line terminating device according to the present invention.
It is a block diagram showing.

【図2】本発明に係る回線終端装置の構成実施例(2)
を示すブロック図である。
FIG. 2 is a configuration example (2) of a line terminal device according to the present invention.
It is a block diagram showing.

【図3】本発明に係る回線終端装置に含まれるフレーム
カウンタ回路の構成実施例を示すブロック図である。
FIG. 3 is a block diagram showing a configuration example of a frame counter circuit included in the line termination device according to the present invention.

【図4】本発明におけるフレームカウンタ回路の動作実
施例(1)を示すタイムチャート図である。
FIG. 4 is a time chart diagram showing an operation embodiment (1) of the frame counter circuit in the present invention.

【図5】本発明におけるフレームカウンタ回路の動作実
施例(2)を示すタイムチャート図(2)である。
FIG. 5 is a time chart (2) showing an operation embodiment (2) of the frame counter circuit in the present invention.

【図6】本発明におけるフレームカウンタ回路の動作実
施例(3)を示すタイムチャート図(3)である。
FIG. 6 is a time chart diagram (3) showing an operation embodiment (3) of the frame counter circuit according to the present invention.

【図7】本発明におけるフレームカウンタ回路の動作実
施例(4)を示すタイムチャート図(4)である。
FIG. 7 is a time chart (4) showing an operation embodiment (4) of the frame counter circuit according to the present invention.

【図8】本発明におけるフレームカウンタ回路の動作実
施例(5)を示すタイムチャート図(5)である。
FIG. 8 is a time chart (5) showing an operation embodiment (5) of the frame counter circuit in the present invention.

【図9】一般的な回線終端装置とシリアルデータバスと
の接続を示すブロック図である。
FIG. 9 is a block diagram showing a connection between a general line terminator and a serial data bus.

【図10】一般的な回線終端装置に接続されるシリアル
データバス上のフレームを示すフレーム構成図及びチャ
ネルクロックを示すタイムチャート図である。
FIG. 10 is a frame configuration diagram showing a frame on a serial data bus connected to a general line termination device and a time chart diagram showing a channel clock.

【図11】一般的な回線終端装置に接続されるシリアル
データバス上のマルチフレームを示すフレーム構成図で
ある。
FIG. 11 is a frame configuration diagram showing a multi-frame on a serial data bus connected to a general line termination device.

【図12】従来のフレーム同期回路の構成を示すブロッ
ク図である。
FIG. 12 is a block diagram showing a configuration of a conventional frame synchronization circuit.

【図13】従来のフレーム同期回路の動作を示すタイム
チャート図である。
FIG. 13 is a time chart showing the operation of a conventional frame synchronization circuit.

【図14】一般的な内部クロック作成回路の構成を示す
ブロック図である。
FIG. 14 is a block diagram showing a configuration of a general internal clock generation circuit.

【図15】上記の内部クロック作成回路の動作を示すタ
イムチャート図である。
FIG. 15 is a time chart diagram showing an operation of the internal clock generation circuit.

【図16】従来のフレームカウンタ回路の動作例(1)
を示すタイムチャート図である。
FIG. 16 is an operation example (1) of a conventional frame counter circuit.
It is a time chart figure which shows.

【図17】従来のフレームカウンタ回路の動作例(2)
を示すタイムチャート図である。
FIG. 17 is an operation example (2) of the conventional frame counter circuit.
It is a time chart figure which shows.

【図18】従来のフレームカウンタ回路の動作例(3)
を示すタイムチャート図である。
FIG. 18 is an operation example (3) of the conventional frame counter circuit.
It is a time chart figure which shows.

【図19】従来のフレームカウンタ回路の動作例(4)
を示すタイムチャート図である。
FIG. 19 is an operation example (4) of the conventional frame counter circuit.
It is a time chart figure which shows.

【図20】従来のフレームカウンタ回路の動作例(5)
を示すタイムチャート図である。
FIG. 20 is an operation example (5) of the conventional frame counter circuit.
It is a time chart figure which shows.

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

1 受信データ取込回路 2 受信データラッチ回路 3 受信データレジスタ回路 4 フレーム同期回路 5 フレームカウンタ回路 5a 選択信号発生回路 5b 選択回路 5c フレームカウンタ 6 マルチフレーム判定回路 7 マルチフレーム同期検出/同期保護回路 8 内部クロック作成回路 8a OR回路 8b カウンタ 8c デコーダ 9 AND回路 10 チャネルクロック断検出回路 11 タイマ・カウンタ回路 12 マルチフレーム同期回路 20−1〜20−32 回線終端装置 CK 内部クロック MCLK マスタクロック IN1,IN2,OUT,OUT1,OUT2 シリア
ルデータ J 判定結果 N フレーム番号 P インクリメントパルス QSET 選択信号 R リセット信号 S 同期状態 CHCK,CHCK1〜CHCK32 チャネルクロッ
ク SDB シリアルデータバス T1 選択信号発生回路動作テーブル T2 選択回路動作テーブル 図中、同一符号は同一又は相当部分を示す。
1 Received Data Capture Circuit 2 Received Data Latch Circuit 3 Received Data Register Circuit 4 Frame Synchronization Circuit 5 Frame Counter Circuit 5a Selection Signal Generation Circuit 5b Selection Circuit 5c Frame Counter 6 Multiframe Judgment Circuit 7 Multiframe Synchronization Detection / Sync Protection Circuit 8 Internal clock generation circuit 8a OR circuit 8b Counter 8c Decoder 9 AND circuit 10 Channel clock loss detection circuit 11 Timer / counter circuit 12 Multi-frame synchronization circuits 20-1 to 20-32 Line termination device CK Internal clock MCLK Master clock IN1, IN2 OUT, OUT1, OUT2 Serial data J Judgment result N Frame number P Increment pulse QSET selection signal R Reset signal S Synchronous state CHCK, CHCK1 to CHCK32 Channel clock SDB Serial Bus are placed in T1 selection signal generating circuit operation table T2 selection circuit operation table diagram, the same reference numerals denote the same or corresponding parts.

───────────────────────────────────────────────────── フロントページの続き (73)特許権者 000000295 沖電気工業株式会社 東京都港区虎ノ門1丁目7番12号 (72)発明者 後藤田 卓男 神奈川県川崎市中原区上小田中4丁目1 番1号 富士通株式会社内 (72)発明者 丸山 和克 神奈川県横浜市港北区新横浜2丁目3番 9号 富士通ディジタル・テクノロジ株 式会社内 (72)発明者 山野 誠一 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 岡村 正司 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 工藤 敏行 東京都港区芝五丁目7番1号 日本電気 株式会社内 (72)発明者 吉野 利明 神奈川県川崎市中原区市ノ坪499−1 日本電気エンジニアリング株式会社内 (72)発明者 小松 一俊 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 高橋 明宏 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 多治見 信朗 神奈川県横浜市戸塚区戸塚町216番地 株式会社日立製作所 情報通信事業部内 (56)参考文献 特開 平4−142823(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04J 3/06 H04L 7/08 ─────────────────────────────────────────────────── ─── Continuation of front page (73) Patent holder 000000295 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Inventor Takuo Gotoda 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa No. Fujitsu Limited (72) Inventor Kazukatsu Maruyama 2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Fujitsu Digital Technology Co., Ltd. (72) Inventor Seiichi Yamano 3-19 Nishishinjuku, Shinjuku-ku, Tokyo No. 2 Nihon Telegraph and Telephone Corporation (72) Inventor Shoji Okamura 3-chome Nishishinjuku, Shinjuku-ku, Tokyo No. 19-2 Nihon Telegraph and Telephone Corporation (72) Inventor Toshiyuki Kudo Five-chome Shiba, Minato-ku, Tokyo No. 7-1 Inside NEC Corporation (72) Inventor Toshiaki Yoshino 499-1 Nobotsubo, Nakahara-ku, Kawasaki-shi, Kanagawa NEC Engineering Co., Ltd. (72) Inventor Kazutoshi Komatsu 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Inventor Akihiro Takahashi 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Inventor Noburou Tajimi 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Information & Communication Division (56) Reference JP-A-4-142823 (JP, A) (58) Fields investigated (Int .Cl. 7 , DB name) H04J 3/06 H04L 7/08

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】マルチフレームを構成するシリアルデータ
から1フレーム分のチャネルデータ及びフレーム識別番
号をチャネルクロックで取り込む受信データ取込回路
と、 該チャネルデータ及び該フレーム識別番号を順次ラッチ
して1マルチフレーム分のマルチフレームデータ及び該
フレーム識別番号を保持する受信データラッチ回路と、 該チャネルクロックの正常時の周期と同じ周期の内部ク
ロックを作成する内部クロック作成回路と、 該チャネルクロック又は該内部クロックをカウントして
フレーム番号を出力するフレームカウンタ回路と、 1マルチフレーム分の該フレーム識別番号及び該フレー
ム番号に基づいてマルチフレームの同期状態を判定する
マルチフレーム同期回路と、 を備えた回線終端装置において、 該受信データラッチ回路が該内部クロックで1マルチフ
レーム分の該マルチフレームデータ及び該フレーム識別
番号を保持し、該同期状態が外れたとき該マルチフレー
ム同期回路がフレームカウンタ回路を初期化すると共
に、該チャネルクロックと該内部クロックが同時に入力
されるときのみ該チャネルデータ及び該フレーム識別番
号を該受信データ取込回路に取り込むためのマスク回路
をさらに設けたことを特徴とした回線終端装置。
1. A reception data fetch circuit for fetching one frame of channel data and a frame identification number from serial data constituting a multi-frame with a channel clock, and one channel by sequentially latching the channel data and the frame identification number. A reception data latch circuit that holds multi-frame data for frames and the frame identification number, an internal clock generation circuit that generates an internal clock having the same cycle as the normal cycle of the channel clock, the channel clock or the internal clock A line counter that counts the number of frames and outputs a frame number; and a multiframe synchronization circuit that determines the synchronization state of the multiframe based on the frame identification number for one multiframe and the frame number. At the received data latch Co the road holds one said multiframe data and the frame identification number of the multi-frame in the internal clock, the multi-frame synchronization circuit initializes the frame counter circuit when the synchronization state is out
, The channel clock and the internal clock are input simultaneously
The channel data and the frame identification number only when
Circuit for capturing the signal into the received data capturing circuit
Line termination apparatus, wherein further provided with things.
【請求項2】請求項1おいて、 該フレームカウンタ回路が、該チャネルクロックの周期
を判定する判定回路と該判定結果に基づいて該チャネル
クロック又は該内部クロックでフレームカウンタをカウ
ントせる回路を含むことを特徴とした回線終端装置。
Wherein Oite to claim 1, the frame counter circuit, circuit for counting the frame counter in the channel clock or internal clock based on said determination circuit for determining the period of the channel clock and the determination result A line terminating device characterized by including.
【請求項3】請求項において、 該判定回路は、該チャネルクロックの周期が正常周期又
は短周期又は正常周期の2倍未満若しくは2倍以上の周
期であることを判定するテーブルを備えたことを特徴と
した回線終端装置。
3. The determination circuit according to claim 2 , wherein the determination circuit includes a table for determining that the cycle of the channel clock is a normal cycle, a short cycle, or a cycle less than twice or more than twice the normal cycle. Line terminating device characterized by.
【請求項4】請求項1おいて、 該マルチフレーム同期回路は、期外れになったとき又
は同期が確立したときから所定の時間経過したときまで
それぞれ同期外れ又は同期確立中の状態が継続したとき
同期外れまたは同期確立中である該同期状態と判定する
回路を備えたことを特徴とした回線終端装置。
4. Oite to claim 1, wherein the multi-frame synchronization circuit, the state of each out-of-sync or synchronization establishment during the time or the synchronization time becomes the Kihazure is established until a predetermined time has elapsed A line terminating device comprising a circuit for determining that the synchronization state is lost or is being established when it continues.
JP27138897A 1997-10-03 1997-10-03 Line termination equipment Expired - Fee Related JP3411197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27138897A JP3411197B2 (en) 1997-10-03 1997-10-03 Line termination equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27138897A JP3411197B2 (en) 1997-10-03 1997-10-03 Line termination equipment

Publications (2)

Publication Number Publication Date
JPH11112455A JPH11112455A (en) 1999-04-23
JP3411197B2 true JP3411197B2 (en) 2003-05-26

Family

ID=17499381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27138897A Expired - Fee Related JP3411197B2 (en) 1997-10-03 1997-10-03 Line termination equipment

Country Status (1)

Country Link
JP (1) JP3411197B2 (en)

Also Published As

Publication number Publication date
JPH11112455A (en) 1999-04-23

Similar Documents

Publication Publication Date Title
US4920535A (en) Demultiplexer system
KR0133423B1 (en) Frame synchronizing device
JPH0637746A (en) Frame synchronization control system
EP0589117B1 (en) Adapter for the connection to a clear-channel telecommunication network
JP3411197B2 (en) Line termination equipment
JPH0879211A (en) Digital communication equipment
EP0254559A2 (en) Security arrangement for a telecommunications exchange system
US4467469A (en) Circuitry for recovery of data from certain bit positions of a T1 span
JP4441648B2 (en) Frame synchronization circuit
JPH0425743B2 (en)
JP2680962B2 (en) Frame synchronization circuit
JP2697421B2 (en) Frame synchronization circuit for digital transmission system
JPH098795A (en) Frame synchronizing method and communication equipment
JPH0715427A (en) Bit alignment circuit
JPH11187006A (en) Pcm digital communication equipment
JPH11239121A (en) Digital communications equipment
JPH02288741A (en) Frame pull-in circuit
JPH02156743A (en) Frame synchronization protection system
JPH01236836A (en) Frame synchronization protecting circuit
JPH0818549A (en) Multi-frame synchronization protection circuit
JP2990094B2 (en) Frame synchronization circuit
JPH0481902B2 (en)
JPH0438026A (en) Reception data synchronizing circuit
JPH0399540A (en) Synchronizing clock circuit
JPS61274538A (en) Method for transmitting control signal in digital transmission system

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030311

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080320

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120320

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130320

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130320

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140320

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees