JPH04188920A - Clock generation system - Google Patents

Clock generation system

Info

Publication number
JPH04188920A
JPH04188920A JP2320061A JP32006190A JPH04188920A JP H04188920 A JPH04188920 A JP H04188920A JP 2320061 A JP2320061 A JP 2320061A JP 32006190 A JP32006190 A JP 32006190A JP H04188920 A JPH04188920 A JP H04188920A
Authority
JP
Japan
Prior art keywords
clock
frame
received data
data
phase difference
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
JP2320061A
Other languages
Japanese (ja)
Inventor
Teruaki Hagiwara
萩原 照明
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP2320061A priority Critical patent/JPH04188920A/en
Publication of JPH04188920A publication Critical patent/JPH04188920A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a bit error rate accompanying the fetch of received data by varying the phase of a clock in accordance with the phase difference between transmitted data and the received data, and outputting a received frame latch clock which applies the fetch timing of each bit of the received data. CONSTITUTION:A phase difference detecting means 13 detects the phase difference between the transmitted data and the received data which are transferred between this device and a terminal equipment connected through a passive bus. A phase shifting means 15 varies the phase of the clock outputted from a reference clock preparing means 11 synchronously with each frame of the received data, according to the phase difference, and outputs the received frame latch clock. Thus, the received data can be exactly fetched even when each bit is not quickly changed due to the deterioration of the waveform of the received data.

Description

【発明の詳細な説明】 〔概 要〕 l5DNO網終端装置において、受動ハスを介して各端
末装置から受信されるデータの取り込みタイミングを与
えるクロックを生成するクロック生成方式に関し、 基本インタフェースの接続形態に応じて、各端末装置か
ら受信されるデータを確実に取り込めるタイミングを与
えるクロックを自動的に生成できることを目的とし、 l5DN基本インタフェースの受動バスから網終端装置
に受信される受信データに含まれる各フレームを検出し
、そのフレームに同期したクロックを生成する基準クロ
ック生成手段を備えたクロック生成方式において、フレ
ームと網終端装置から受動バスに送信される送信データ
に含まれるフレームとの位相差を検出する位相差検出手
段と、その位相差に応じてクロックの位相を可変し、受
信データの各ビットの取り込みタイミングを与える受信
フレームラッチクロックを出力する移相手段とを備えて
構成される。
[Detailed Description of the Invention] [Summary] The present invention relates to a clock generation method for generating a clock that provides the timing for capturing data received from each terminal device via a passive lotus in an 15DNO network terminal device, and is based on a connection form of a basic interface. The purpose of this system is to automatically generate a clock that provides the timing to reliably capture data received from each terminal device, and each frame included in the received data received from the passive bus of the I5DN basic interface to the network terminal device. In a clock generation method that includes a reference clock generation means that detects the frame and generates a clock synchronized with the frame, the phase difference between the frame and the frame included in the transmission data transmitted from the network termination device to the passive bus is detected. The device includes phase difference detection means, and phase shift means that varies the phase of a clock according to the phase difference and outputs a reception frame latch clock that provides the timing for capturing each bit of received data.

〔産業上の利用分野〕[Industrial application field]

本発明は、l5DNO網終端装置において、受動ハスを
介して各端末装置から受信されるデータの取り込みタイ
ミングを与えるクロックを生成するクロック生成方式に
関する。
The present invention relates to a clock generation method for generating a clock that provides timing for capturing data received from each terminal device via a passive lotus in an I5DNO network terminal device.

〔従来の技術〕[Conventional technology]

l5DNのユーザ・綱インタフェースの実現方法はイン
タフェースの種類によって異なるが、最もよく使用され
る基本インタフェースについては、その運用モード、接
続形態、物理的規定点、伝送符号、フレーム構成、フレ
ーム同期、電気的特性・条件その他がCCITT勧告1
.430に規定されている。これらの規定項目の内、従
来のインタフェースとの相違点は、網終端装置(以下、
rNTJという。)には全二重の受動バスを介して最大
8台までの端末装置(以下、rTE、という。)が接続
され、これらのTEが非同期にパケットを送信してNT
に多重アクセスが可能な点にある。
The implementation method of the I5DN user/wireless interface differs depending on the type of interface, but the most commonly used basic interfaces include its operation mode, connection form, physical specified point, transmission code, frame structure, frame synchronization, electrical Characteristics, conditions, etc. comply with CCITT Recommendation 1
.. 430. Among these specified items, the difference from the conventional interface is that the network termination equipment (hereinafter referred to as
It is called rNTJ. ) is connected to up to eight terminal devices (hereinafter referred to as rTE) via a full-duplex passive bus, and these TEs asynchronously transmit packets to the NT.
The point is that multiple access is possible.

すなわち、基本インタフェースでは、このような多重ア
クセスを可能とするために、第8図に示すように、フレ
ーム周期が250μsで48ビツト長のフレームを構成
する。また、上述のフレーム構成では、各フレームの第
1ピントには、フレーム同期ピッl−Fが配置され、T
EからNTに送信されるデータ(以下、「受信データR
DJという。)のフレームは常にNTからTEに送信さ
れるデータ(以下、[送信データTD、という。)のフ
レームより2ビツト分オフセントして(遅れて)送信さ
れる。
That is, in order to enable such multiple access, the basic interface configures a frame with a frame period of 250 μs and a length of 48 bits, as shown in FIG. In addition, in the above frame configuration, a frame synchronization pin l-F is arranged at the first focus of each frame, and T
Data sent from E to NT (hereinafter referred to as "received data R")
It's called DJ. ) frames are always transmitted offset (delayed) by 2 bits from frames of data (hereinafter referred to as "transmission data TD") transmitted from the NT to the TE.

一方、NTは、受信データRDの各フレームの第12.
25.36.47ビツトとして含まれるDチャネルビッ
トを逐次送信データTDのエコーチャネルビットEとし
てTEに返送する(第8図■)。TEは、NTに何らデ
ータを送信していない状態では受動バス上に連続して論
理値「l」を出力する。
On the other hand, the NT receives the 12th .
The D channel bits included as 25, 36, and 47 bits are sequentially returned to the TE as echo channel bits E of the transmitted data TD (FIG. 8). When the TE is not transmitting any data to the NT, it continuously outputs a logic value "l" on the passive bus.

また、TEは、NTに送信する場合には、送信フレーム
のDチャネル上に送出すべき情報を所定のピント処理に
基づいて変換し、「7」ビット以上の連続するピント「
l」を含まないピント列として送信する。したがって、
NTにデータを送信しようとする他のTEは、送信デー
タTDに含まれるエコーチャネルビットEを監視し、連
続する「7」ヒツト以上が論理値「1」であれば、他の
TEが送信していないものと判断して送信を開始する。
Furthermore, when transmitting to the NT, the TE converts the information to be sent on the D channel of the transmission frame based on predetermined focus processing,
It is transmitted as a focus sequence that does not include "l". therefore,
Other TEs that want to send data to the NT monitor the echo channel bit E included in the transmission data TD, and if the consecutive "7" or more hits are logical "1", the other TEs will not be able to send data. It determines that it has not been sent and starts sending it.

また、複数のTEが同時に送信した場合には、これらの
TEが受動バス上で並列接続されるので同時に送信され
たビットの負論理の論理積が受動バス上でとられ、その
結果がNTを介してエコーチャネルビットEとして返送
されて来る。したがって、各TEは、送信したDチャネ
ルビットと受信されるエコーチャネルビットEとを1ビ
ツトづつ比較し、両ビットの不一致を検出すると他のT
Eの送信フレームと衝突したものと認識し、送信を停止
してあらためて送信制御を行う。基本インタフェースで
は、このような「Dチャネル競合制御方式」により、最
先にDチャネルに論理「0」を送信したTEのみの送信
を続行可能とし、複数のTEからNTに対する多重アク
セスを実現する。
Furthermore, when multiple TEs transmit at the same time, these TEs are connected in parallel on the passive bus, so the AND of the negative logics of the bits transmitted at the same time is taken on the passive bus, and the result is sent to the NT. The echo channel bit E is returned via the echo channel bit E. Therefore, each TE compares the transmitted D channel bit and the received echo channel bit E bit by bit, and if it detects a mismatch between the two bits, it
It recognizes that there has been a collision with the transmitted frame of E, stops transmission, and performs transmission control again. In the basic interface, such a "D channel contention control method" allows only the TE that first transmitted logic "0" to the D channel to continue transmitting, thereby realizing multiple access from a plurality of TEs to the NT.

しかし、NTと各TEとの間を結ぶ受動バスの長さは最
大1000メートルにもなり、かつNTから個々のTE
までの距離が異なるために、信号が受動ハス上で遅延し
、その波形が歪んで劣化する。
However, the length of the passive bus connecting the NT and each TE is up to 1000 meters, and
Because of the different distances, the signal is delayed on the passive lotus, and its waveform is distorted and degraded.

したがって、基本インタフェースには、その遅延時間を
NT、TEの内部遅延および受動バスの線路の遅延とし
て適宜分配し、さらに線路の伝送損失特性を考慮して規
定された「3」種類の接続形態がある。
Therefore, the basic interface has "3" types of connection configurations, which are defined by appropriately distributing the delay time as internal delay of NT and TE and delay of passive bus line, and taking transmission loss characteristics of the line into consideration. be.

第9図は、ユーザ・網インタフエースの接続形態を示す
図である。
FIG. 9 is a diagram showing the connection form of the user/network interface.

図において、TE91.〜91..は、受動バス92を
介してNT93に接続される。また、既述のようにTE
911〜91.、から送信されたDチャネルビットはN
T93を介してエコーチャネルビットEとしてTE91
.〜911.に返送され、これらのビットの位相差は、
上述の折り返しループの遅延時間(ラウンドトリップ遅
延時間)によって決定される。この遅延時間5こは、第
8図に示すように、NTの送信データのフレームがTE
から受信されるデータフレームに対して2ヒントオフセ
ツトしているために、10.4μs (−5,2μs×
2)の固定した遅延時間が含まれる。また、エコーチャ
ネルビットEがDチャネルビットの送信タイミングに対
して送信ピントレートの土手周期以下の位相差で受信さ
れなければ、TEは両者の比較ができないので、両ビッ
トの位相差はrl。
In the figure, TE91. ~91. .. is connected to NT 93 via passive bus 92. Also, as mentioned above, TE
911-91. , the D channel bits transmitted from N
TE91 as echo channel bit E via T93
.. ~911. and the phase difference of these bits is
It is determined by the above-mentioned return loop delay time (round trip delay time). As shown in FIG. 8, this delay time 5 is due to
10.4 μs (-5.2 μs ×
2) includes a fixed delay time. Furthermore, unless the echo channel bit E is received with a phase difference less than or equal to the bank period of the transmission pin rate with respect to the transmission timing of the D channel bit, the TE cannot compare the two, so the phase difference between the two bits is rl.

ビット(5,2μ5(=250μs/48ビット))以
下でなければならない。しかし、この値は、実際には受
信データRDの波形の偏差、TE91.〜91fiおよ
びNT93の内部遅延時間の変動その他を考慮すると4
μs程度となる。”したあくって、(a)に示すシンプ
ルバスでは、全てのTE91.〜91、、(n=1〜8
)は、受動ハス92に沿ってNT93から約150メー
トルの範囲内に配置しなければならない。■)に示す延
長バスでは、ラウンドトリップ遅延時間は、受信フレー
ムの最小のアイパターン幅が約4μsであるから、その
半値の2μs以内でなければならない。したがって、全
てのTE91.〜91.(n=1〜8)は、受動ハス9
2ムこ沿って50メートルの範囲内に集中して配置され
、かつ受動ハス92上でNT93から最も遠い点に配置
されたTE91.、までの線路長は約1000メートル
以下でなければならない。(C)に示すポイント・ポイ
ントでは、単一のTE91がNT93に対向して接続さ
れ、これらの間に最大6ビツトの遅延が許容できるので
、ラウンドトリップ遅延時間は10〜42μsとなる。
It must be less than or equal to bit (5.2μ5 (=250μs/48 bits)). However, this value is actually the waveform deviation of the received data RD, TE91. ~ Considering the variation of internal delay time of ~91fi and NT93, etc. 4
It is about μs. In the simple bus shown in (a), all TE91.~91, (n=1~8
) shall be located within approximately 150 meters of NT 93 along passive lot 92. In the extended bus shown in (2), the round-trip delay time must be within 2 μs, half of the minimum eye pattern width of the received frame, which is approximately 4 μs. Therefore, all TE91. ~91. (n=1~8) is passive lotus 9
The TE91. , the line length must be approximately 1,000 meters or less. At the point shown in (C), a single TE 91 is connected opposite to an NT 93, and a maximum delay of 6 bits can be tolerated between them, resulting in a round trip delay time of 10 to 42 μs.

したがって、TE91は受動ハス92に沿って約100
0メートルの範囲内に配置されなければならない。
Therefore, TE91 is about 100 along passive lotus 92.
Must be located within 0 meters.

NT93はこれらの接続形態により構成される受動ハス
を介して受信されるデータRDに応じて所定の制御を行
うが、その受信データRDの位相はNT93と個々のT
Eとの間の線路長およびそのTEの送信タイミングによ
って異なる。したがって、NT93には、各TEに対応
する受信データRDを確実に取り込むタイミングを得る
ためのクロックを生成するクロック生成回路を備える。
The NT93 performs predetermined control according to the data RD received via the passive lotus configured with these connection configurations, but the phase of the received data RD is different between the NT93 and the individual T
It varies depending on the line length between the TE and the TE and the transmission timing of that TE. Therefore, the NT93 is equipped with a clock generation circuit that generates a clock to ensure the timing to capture the received data RD corresponding to each TE.

第10図は、従来のクロック生成回路の構成例を示す図
である。
FIG. 10 is a diagram showing an example of the configuration of a conventional clock generation circuit.

図において、受信データRDは、受信フレームデータ検
出部(RFDET)101の人力RDに与えられる。受
信フレームデータ検出部101の出力RFは、受信フレ
ームラッチクロック生成部(TDCKGEN)I 02
の人力RFに接続される。受信フレームラッチクロック
生成部102の出力TDCKは、受信フレームラッチク
ロックTDCKを出力する。受信フレームデータ検出部
101および受信フレームラッチクロック生成部102
の人力MCKには、マスタクロツタMCK (周波数=
7.68MHz)が人力される。
In the figure, the received data RD is given to the manual RD of a received frame data detector (RFDET) 101. The output RF of the reception frame data detection section 101 is output from the reception frame latch clock generation section (TDCKGEN) I02.
connected to human-powered RF. The output TDCK of the reception frame latch clock generation section 102 outputs the reception frame latch clock TDCK. Reception frame data detection section 101 and reception frame latch clock generation section 102
The manual MCK of the master black tsuta MCK (frequency =
7.68MHz) is manually operated.

このようなりロック生成回路では、受信フレームデータ
検出部101は、受信データRDの各フレームのフレー
ム同期ビットF(第8図■)の立ち下がりを検出して信
号RFを出力する(第11図■)。受信フレームラッチ
クロック生成部102は、信号RFに応して内蔵する分
周カウンタに初期値(〜0)をロードし、さらにこのタ
イミングを基−学としてマスタクロックMCKを40分
周して受信フレームランチクロックTDCK (周波数
=192KHzC−1,68MHz/40=250  
u s /48ビνト))を生成する。このようにして
生成されたクロックの立ち上がりは、NTが受信データ
RDを取り込むタイミングを与え、受信データRDの各
ビットの変化点のアイパターンの幅がNTの受信端で最
大1.2μsとなるので、その半値(= 0.6μS)
だけフレーム同期ピントFの後続ピッl−Lの立ち下が
り(第11図■)に先行して立ち上がる(第11図■)
ように設定される。
In such a lock generation circuit, the received frame data detection unit 101 detects the falling edge of the frame synchronization bit F (■ in FIG. 8) of each frame of the received data RD and outputs the signal RF (■ in FIG. 11). ). The reception frame latch clock generation unit 102 loads an initial value (~0) into a built-in frequency division counter in response to the signal RF, and further divides the master clock MCK by 40 based on this timing to generate the reception frame. Lunch clock TDCK (Frequency = 192KHzC-1, 68MHz/40 = 250
generate u s /48 bits)). The rise of the clock generated in this way provides the timing for the NT to take in the received data RD, and the width of the eye pattern at the change point of each bit of the received data RD is a maximum of 1.2 μs at the receiving end of the NT. , half value (= 0.6μS)
The frame synchronization pin F rises in advance of the falling edge of the subsequent pin L (Fig. 11 ■) (Fig. 11 ■)
It is set as follows.

〔発明が解決しようとする課M) ところで、このような従来のクロック生成回路では、延
長バスあるいはポイント・ポイントの接続形態において
NTとデータを送信するTEとの間の受動バス長が大き
い場合には、受信データRDの変化点の波形が劣化しく
第12図■)、さらにマスタクロツタMCKにジッタを
伴う(第12図■)ために、受信フレームラッチクロツ
タTDCKの立ち上がり時に受信データRDの論理レベ
ルが確定せず、NTでは正常に受信データRDを取り込
むことができない場合(第12図■)があった。
[Problem M to be solved by the invention] By the way, in such a conventional clock generation circuit, when the passive bus length between the NT and the TE transmitting data is large in an extended bus or point-to-point connection configuration, In this case, the waveform at the changing point of the received data RD is degraded (Fig. 12 ■), and the master clock MCK is accompanied by jitter (Fig. 12 ■), so the logic level of the received data RD is was not determined, and the NT was unable to normally capture the received data RD (Fig. 12 (■)).

本発明は、基本インタフェースの接続形態に応じて、各
端末装置から受信されるデータを確実に取り込めるタイ
ミングを与えるクロックを自動的に生成できるクロック
生成方式を提供することを目的とする。
An object of the present invention is to provide a clock generation method that can automatically generate a clock that provides a timing for reliably capturing data received from each terminal device, depending on the connection form of a basic interface.

〔課題を解決するための手段] 第1図は、本発明の原理ブロック図である。[Means to solve the problem] FIG. 1 is a block diagram of the principle of the present invention.

図において、基準クロック生成手段11は、l5DN基
本インタフェースの受動ハスから網終端装置に受信され
る受信データに含まれる各フレームを検出し、そのフレ
ームに同期したクロックを生成する。
In the figure, the reference clock generation means 11 detects each frame included in the received data received by the network terminal device from the passive lot of the I5DN basic interface, and generates a clock synchronized with the frame.

位相差検出手段13は、フレームと網終端装置から受動
ハスに送信される送信データに含まれるフレームとの位
相差を検出する。
The phase difference detection means 13 detects the phase difference between the frame and the frame included in the transmission data transmitted from the network terminal device to the passive lotus.

移相手段15は、その位相差に応じてクロックの位相を
可変し、受信データの各ビットの取り込みタイミングを
与える受信フレームラッチクロ。
The phase shifter 15 is a receiving frame latch clock that varies the phase of the clock according to the phase difference and provides the timing for capturing each bit of the received data.

りを出力する。output.

〔作 用〕[For production]

本発明は、位相差検出手段13が、受動ハスを介して接
続される端末装置との間で授受される送信データと受信
データとの位相差を検出する。移相手段15は、その位
相差に応して、受信データの各フレームに同期して基準
クロック生成手段11から出力されるクロックの位相を
可変し、受信フレームラッチクロックを出力する。
In the present invention, the phase difference detection means 13 detects the phase difference between transmission data and reception data exchanged with a terminal device connected via a passive lotus. The phase shifting means 15 varies the phase of the clock output from the reference clock generating means 11 in synchronization with each frame of received data according to the phase difference, and outputs a received frame latch clock.

このように出力される受信フレームラッチクロックは、
位相差′検出手段13によって検出される位相差が大き
い程、受信データに含まれる各ビットの変化点に先行し
て大きな時間差で受信データの各ビットの取り込みタイ
ミングを与えるように設定される。したがって、網終端
装置は、基本インタフェースの接続形態に応じて受動バ
ス長が長くなるために、受信データの波形が劣化して各
ピントが急峻に変化しない場合にも、確実に受信データ
を取り込むことができる。
The receive frame latch clock output in this way is
The larger the phase difference detected by the phase difference' detecting means 13, the larger the time difference is set to provide the timing to capture each bit of the received data prior to the change point of each bit included in the received data. Therefore, the network terminating device can reliably capture received data even when the waveform of the received data deteriorates and the focus does not change sharply because the passive bus length increases depending on the connection form of the basic interface. I can do it.

〔実施例〕〔Example〕

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

第2図は、本発明の一実施例を示す図である。FIG. 2 is a diagram showing an embodiment of the present invention.

図において、第10図に示すものとその構成および機能
が同じものについては、同じ参照番号を付与して示し、
ここでは、その説明を省略する。
In the figures, parts having the same configuration and function as those shown in Fig. 10 are designated with the same reference numbers.
The explanation thereof will be omitted here.

受信データRDは、遅延回路(DELAYI)21およ
び受信フレームデータ検出部101の入力RDに与えら
れる。遅延回路21の出力RDOは、1フレーム遅延し
た受信データRDOを出力する。受信フレームデータ検
出部101の出力RFは、受信フレームラッチクロック
生成部102の入力RFおよびクロック選択信号生成部
(CKSLGEN)22に接続される。受信フレームラ
フチクロック生成部102の出力CKGE (第10図
に示す出力TDCKと同じである。)は遅延回路(DE
LAY2)23の入力CKGEに接続され、その出力C
KS 1.CKEXはセレクタ24の各データ入力に接
続される。クロック選択信号生成部22の出力信号CK
SLはセレクタ24の選択制御入力に与えられ、セレク
タ24の出力χは受信フレームランチクロックTDCK
を送出する。マスタクロツタMCKは受信フレームデー
タ検出部101、受信フレームラッチクロック生成部1
02の人力MCKおよびクロック選択信号生成部22に
与えられる。
Received data RD is provided to input RD of delay circuit (DELAYI) 21 and received frame data detection section 101 . The output RDO of the delay circuit 21 outputs received data RDO delayed by one frame. The output RF of the reception frame data detection section 101 is connected to the input RF of the reception frame latch clock generation section 102 and the clock selection signal generation section (CKSLGEN) 22. The output CKGE (same as the output TDCK shown in FIG. 10) of the reception frame rough clock generation section 102 is connected to a delay circuit (DE
LAY2) is connected to the input CKGE of 23, and its output C
KS 1. CKEX is connected to each data input of selector 24. Output signal CK of clock selection signal generation section 22
SL is given to the selection control input of the selector 24, and the output χ of the selector 24 is the reception frame launch clock TDCK.
Send out. The master clock MCK includes a reception frame data detection section 101 and a reception frame latch clock generation section 1.
02 is given to the manual MCK and clock selection signal generation section 22.

クロック選択信号生成部22では、送信データTDの送
信タイミングを与えるタイミング信号STIMが、遅延
回路(DELAY3)25および微分回路26を介して
カウンタ27のロード制御入力に与えられる。カウンタ
27のキャリー出力は、カウンタ27のイネーブル入力
、セレクタ28の一方のデータ入力および遅延回路(D
ELAY4)29の入力に接続される。遅延回路29の
出力は、セレクタ28の他方のデータ入力に接続される
。セレクタ28の出力Xはアンドゲート30の一方の入
力に接続され、その出力はフリ、ブフロップ31の人力
INに接続される。フリ7、プフロンブ31の出力Qは
、セレクタ28の選択制御人力に接続され、かつクロッ
ク選択信号CKSLを出力する。アンドゲート30の他
方の人力には信号RFが与えられる。フリ、プフロ、プ
31のクロ、り入力CKには、所定位相で周期がフレー
ム周期に等しいクロック信号CKIが与えられる。カウ
ンタ27および微分回路26のクロ、り入力CKには、
マスタクロツタMCKが与えられる。
In the clock selection signal generation section 22, a timing signal STIM that provides the transmission timing of the transmission data TD is applied to the load control input of the counter 27 via the delay circuit (DELAY3) 25 and the differentiation circuit 26. The carry output of the counter 27 is connected to the enable input of the counter 27, one data input of the selector 28, and the delay circuit (D
Connected to the input of ELAY4)29. The output of delay circuit 29 is connected to the other data input of selector 28. The output X of the selector 28 is connected to one input of the AND gate 30, and its output is connected to the input input IN of the flip-flop 31. The output Q of the FRI 7 and the front 31 is connected to the selection control input of the selector 28, and outputs a clock selection signal CKSL. The signal RF is applied to the other input of the AND gate 30. A clock signal CKI having a predetermined phase and a period equal to the frame period is applied to the clock input CK of the FRI, PF, and P31. The clock input CK of the counter 27 and the differentiating circuit 26 has the following:
A master clock MCK is provided.

本発明の特徴とする構成は、本実施例では、送信データ
TDと受信データRDとの位相差に応してクロック選択
信号CKSLを出力するクロック選択信号生成部22を
設け、受信フレームデータ検出部101および受信フレ
ームラッチクロツタ生成部102の後段に2つの異なる
位相の受信フレームデークラッチクロックを出力する遅
延回路23と、クロック選択信号CKSLに応じてこれ
らのクロック信号の一方を出力するセレクタ24を設け
た点にある。
The feature of the present invention is that in this embodiment, a clock selection signal generation section 22 is provided which outputs a clock selection signal CKSL in accordance with the phase difference between transmission data TD and reception data RD, and a reception frame data detection section 101 and the reception frame latch clock generator 102, a delay circuit 23 outputs two reception frame data latch clocks of different phases, and a selector 24 outputs one of these clock signals in accordance with a clock selection signal CKSL. It is at the point that I have set.

なお、本実施例と第1図に示すブロック図との対応関係
については、受信フレームデータ検出部101および受
信フレームラッチクロック生成部102は基準クロンク
生成手段11に対応し、クロック選択信号生成部22は
位相差検出手段13に対応し、遅延回路23およびセレ
クタ24は移相手段15に対応する。
Regarding the correspondence between this embodiment and the block diagram shown in FIG. corresponds to the phase difference detection means 13, and the delay circuit 23 and selector 24 correspond to the phase shift means 15.

第3図〜第6図は、本実施例の動作タイミングチャート
である。
3 to 6 are operation timing charts of this embodiment.

以下、本実施例の動作を、第2図〜第6図を参照して説
明する。
The operation of this embodiment will be explained below with reference to FIGS. 2 to 6.

遅延回路23は、受信フレームラッチクロックCKGE
を遅延させ、受信データRDの各ビットの立ち下がりに
対して、0.6μs先行して立ち上がるクロック信号C
KS Iと1,6μs先行して立ち上がるクロック信号
CKEXとを出力する。これらのクロック信号の立ち上
がりタイミングは、シンプルバスとその他の接続形態の
それぞれにおける受信データRDの各ビットの変換点の
アイパターンの幅の半値である。
The delay circuit 23 receives the reception frame latch clock CKGE.
A clock signal C is delayed and rises 0.6 μs in advance of the falling edge of each bit of the received data RD.
A clock signal CKEX that rises 1.6 μs in advance of KSI is output. The rising timing of these clock signals is half the width of the eye pattern at the conversion point of each bit of the received data RD in each of the simple bus and other connection forms.

また、クロ、り選択信号生成部22は、既述のラウンド
トリップ遅延時間(=14.4μs)と、TEの送信用
クロック信号のジッタ幅(−7%〜=15%)のマージ
ン(=0.78μs (=5.2μs XO,15))
とを加えた遅延時間を闇値とし、実際の遅延時間とその
闇値との大小関係に応じて、クロック信号選択信号CK
CLを出力する。ここに、クロック選択信号CKSLは
、その論理値が「1」の場合には受動バス長が短い単純
バスの接続形態に対応し、論理値が「0」の場合には延
長バスあるいはポイント・ポイントのように受動バス長
が長い接続形態に対応する。
In addition, the black and red selection signal generation unit 22 generates a margin (=0 .78μs (=5.2μs XO, 15))
The clock signal selection signal CK is determined according to the magnitude relationship between the actual delay time and the dark value.
Output CL. Here, when the logic value of the clock selection signal CKSL is "1", it corresponds to a connection form of a simple bus with a short passive bus length, and when the logic value is "0", it corresponds to an extension bus or a point-to-point connection form. This supports connection configurations with long passive bus lengths, such as

すなわち、カウンタ27は、ロード制御入力に与えられ
るタイミング信号STIMに応して初期設定され、マス
タクロツタMCKに応じてカウント動作を行う。このよ
うなカウント動作に応して、カウンタ27のキャリー出
力には、所定のパルス幅を有し、かつ送信データTDの
フレーム同期ビットFの立ち下がりから15.49μs
遅延して立ち下がる(第3図■)パルス信号MM、が出
力される。遅延回路29は、パルス信号MM、を遅延さ
せ、上述のフレーム同期ピントFの立ち下がりから16
.27μs遅延して立ち下がる(第3図■)パルス信号
MM2を出力する。このようにして生成されるパルス信
号MM、 、MM2の立ち下がりタイミングは上述の闇
値の近傍に設定された2つの値に相当する。なお、これ
らの値は、上述のラウンドトリップ遅延時間(14,4
μs)の近傍に、マスククロックMCKの周期の整数倍
で近似した2つの闇値として14.19μs (=10
9/7.68MHz) と14.97μs (=115
/7.68MHz) とを設定し、それぞれの値に受信
フレームデータ検出部101におけるフレーム同期ピン
トFの立ち下がりに対する信号RFの固定遅延時間とし
て3クロック分(0゜39μs (= 3 /7.68
MHz))、マスタクロックMCKのカウント誤差とし
て1ビット分(0,13μs (= 1 /7.68M
Hz))および上述のTHの送信用クロック信号のジッ
タ幅のマージン(=0.78μs)を加えて算出される
。これらの2つの闇値は、送信データTDと受信データ
RDどの位相差と受信フレームラ、チクロックTDCK
の位相との関係にヒステリシス特性をもたせ、マスタク
ロンクMCKのジッタに起因して遅延時間の大小判定結
果が頻繁に反転することを回避するために用いられる。
That is, the counter 27 is initialized according to the timing signal STIM applied to the load control input, and performs a counting operation according to the master clock MCK. In response to such a counting operation, the carry output of the counter 27 has a predetermined pulse width and is 15.49 μs from the fall of the frame synchronization bit F of the transmission data TD.
A pulse signal MM that falls with a delay ((■) in FIG. 3) is output. The delay circuit 29 delays the pulse signal MM, and delays the pulse signal MM from the fall of the frame synchronization focus F by 16 seconds.
.. A pulse signal MM2 that falls with a delay of 27 μs (■ in FIG. 3) is output. The fall timings of the pulse signals MM, , MM2 generated in this way correspond to two values set near the above-mentioned dark value. Note that these values are based on the round trip delay time (14, 4
14.19 μs (=10
9/7.68MHz) and 14.97μs (=115
/7.68MHz), and each value is set to 3 clocks (0°39μs (= 3 /7.68
MHz)), 1 bit (0.13μs (= 1 /7.68M
Hz)) and the jitter width margin (=0.78 μs) of the above-mentioned TH transmission clock signal. These two dark values are based on the phase difference between the transmit data TD and the receive data RD, the receive frame rate, and the clock clock TDCK.
This is used to provide a hysteresis characteristic to the relationship with the phase of the master clock MCK and to avoid frequent inversion of the result of determining the magnitude of the delay time due to jitter of the master clock MCK.

すなわち、セレクタ28は、クロック選択信号CKSL
が論理「1」の場合にはパルス信号MM2をパルス信号
MMとして出力する(第3図■、第4図■)。アンドゲ
ート30は、パルス信号MMの論理値が「1」である期
間に与えられる信号RFをフリップフロップ31の人力
INに与える。
That is, the selector 28 selects the clock selection signal CKSL.
When is the logic "1", the pulse signal MM2 is output as the pulse signal MM (Fig. 3 (■), Fig. 4 (■)). The AND gate 30 provides the input signal IN of the flip-flop 31 with the signal RF that is provided during the period when the logic value of the pulse signal MM is "1".

フリップフロップ31は、その論理レヘルを信号RFに
続く次のフレームの先頭タイミングを与えるクロック信
号CKIに応して保持し、クロック信号選択CKSLと
して出力する(第3図■、第4図■)。
The flip-flop 31 holds the logic level in accordance with the clock signal CKI which gives the start timing of the next frame following the signal RF, and outputs it as a clock signal selection CKSL (FIG. 3 (2), FIG. 4 (2)).

また、セレクタ28は、クロック選択信号CKSLが論
理「0」の場合にはパルス信号MM、をパルス信号MM
として出力しく第5図■、第6図の)、アンドゲート3
0およびフリップフロップ31は同様にしてクロック選
択信号CKSLを出力する(第5図■、第6図■)。
Further, when the clock selection signal CKSL is logic "0", the selector 28 selects the pulse signal MM and the pulse signal MM.
The output is as shown in Figure 5 ■, Figure 6), and gate 3
0 and the flip-flop 31 similarly output the clock selection signal CKSL (FIG. 5 (2), FIG. 6 (2)).

このように、フリップフロップ31は、前フレームでク
ロック選択信号CKSLが論理「1」の場合には、パル
ス信号MM2が立ち下がる前に信号RFが検出されると
接続形態が単純ノ\スと認識してクロック選択信号CK
SLの論理を「1」のまま保持しく第3図■)、パルス
信号MM2が立ち下がるまでに信号RFが検出されない
と接続形態が延長ハスあるいはポイント・ポイントと認
識し、クロック選択信号CKSLの論理を「0」に切り
換える(第4図■)。また、フリップフロップ31は、
前フレームでクロック選択信号CKSLが論理「0」の
場合には、パルス信号MM、が立ち下がる前に信号RF
が検出されると接続形態が単純ハスと認識してクロック
選択信号CKSLの論理を「1」に切り替え(第5図■
)、パルス信号MM、が立ち下がるまでに信号RFが検
出されないと接続形態が延長バスあるいはポイント・ポ
イントと認識し、クロック選択信号CKSLの論理を「
0」のまま保持する(第6図■)。
In this way, when the clock selection signal CKSL is logic "1" in the previous frame, the flip-flop 31 recognizes that the connection type is simple if the signal RF is detected before the pulse signal MM2 falls. clock selection signal CK
The logic of SL should be kept at "1" (Fig. 3 ■), and if the signal RF is not detected before the pulse signal MM2 falls, the connection form will be recognized as extended hash or point-point, and the logic of the clock selection signal CKSL will be changed. is set to "0" (Fig. 4 ■). Moreover, the flip-flop 31 is
If the clock selection signal CKSL is logic "0" in the previous frame, the signal RF is activated before the pulse signal MM falls.
is detected, the connection form is recognized as a simple lotus, and the logic of the clock selection signal CKSL is switched to "1" (Fig.
), if the signal RF is not detected before the pulse signal MM falls, the connection type is recognized as an extended bus or point-to-point, and the logic of the clock selection signal CKSL is changed to "
0" (Fig. 6 ■).

セレクタ24は、クロック選択信号CKSLが論理「0
」の場合にはクロック信号CKEXを選択出力し、クロ
ック選択信号CKSLが論理「1」の場合にはクロック
信号CKS Iを選択出力するので、出力される受信フ
レームラッチクロンクTDCKは、接続形態が単純バス
の場合には受信データRDの各ビットの立ち下がりに0
.6μs先行して立ち上がり、接続形態が延長ハスある
いはポイント・ポイントの場合には受信データRDの各
ビットの立ち下がりに1.6μs先行して立ち上がる。
The selector 24 sets the clock selection signal CKSL to logic "0".
”, the clock signal CKEX is selected and output, and when the clock selection signal CKSL is logic “1”, the clock signal CKS I is selected and output, so the output reception frame latch clock TDCK has a simple connection configuration. In the case of bus, 0 at the falling edge of each bit of received data RD.
.. It rises 6 μs in advance, and rises 1.6 μs in advance of the falling edge of each bit of the received data RD when the connection type is extended hash or point-to-point.

したがって、TEとNTとの間の受動バス長が大きいた
めに受信データRDの変化点の波形が劣化する場合にも
、その受信データRDの確実な取り込みタイミングを与
える受信フレームラッチクロツタを生成することができ
る。
Therefore, even if the waveform at the change point of the received data RD is degraded due to the long passive bus length between the TE and the NT, a receive frame latch clock is generated that provides reliable timing for capturing the received data RD. be able to.

なお、本実施例では、NTから最も離れた点に配置され
たTE(以下、「最遠TEJという。)の送信中に続い
てNTに最も近い点に配置されたTE(以下、「最近T
E、という。)も送信を開始すると、NTにはこれらの
TEの送信データが合成された受信データRDが与えら
れる。この受信データRDの各ピントは、第7図(a)
に斜線で示すように、4μsもの期間に渡って両TEか
ら送信されるビットが合成され、不確定となる場合があ
る。このとき出力される信号RFは、通常時(第7図(
a)■)より4μs早いタイミング(第7図(a)■)
に出力されるために、受信フレームラッチクロンクTD
CKが1ビツト欠落して出力される(第7図(a)■)
。したがって、このような場合には、従来例構成と同様
に、受信フレームラッチクロ1.りTDCKに1ビツト
のパルスを挿入してフレーム同期はずれを回避する必要
がある。
In this embodiment, during the transmission of the TE located at the farthest point from the NT (hereinafter referred to as the "farthest TEJ"), the TE located at the closest point to the NT (hereinafter referred to as the "recent TEJ") is transmitted.
It's called E. ) also start transmitting, the NT is given received data RD which is a combination of the transmitted data of these TEs. Each focus of this received data RD is shown in FIG. 7(a).
As shown by diagonal lines in , the bits transmitted from both TEs over a period of 4 μs are combined and may become uncertain. The signal RF output at this time is normally (Fig. 7 (
a) 4 μs earlier than ■) (Figure 7 (a) ■)
To be output to the receive frame latch clock TD
CK is output with one bit missing (Fig. 7 (a) ■)
. Therefore, in such a case, similarly to the conventional configuration, the received frame latch clock 1. Therefore, it is necessary to insert a 1-bit pulse into TDCK to avoid frame synchronization.

また、最遠TEと最近TEとが共に送信中の状態(衝突
状態)で最近TEのみが送信を終了すると、その送信終
了後に最遠TEから送信されるフレームのフレーム同期
ビットFの立ち下がりタイミング(第7図(b)■)は
、送信衝突中の立ち下がりタイミング(第7図へ)■)
より4μs遅れるために、受信フレームラノチクロンク
TDCKには、1ビ、トの余剰パルス(第7図(b)■
)が付加される。したがって、このような場合には、従
来例構成と同様に、受信フレームラッチクロックTDC
Kからこの余剰ビットをマスクして取り除きフレーム同
期はずれを回避する必要がある。
In addition, when the farthest TE and the most recent TE are both transmitting (collision state) and only the most recent TE finishes transmitting, the falling timing of the frame synchronization bit F of the frame transmitted from the farthest TE after the end of transmission (Figure 7 (b) ■) is the falling timing during transmission collision (Go to Figure 7) ■)
TDCK is delayed by 4 μs, so there is a 1-bit surplus pulse (Fig. 7(b)
) is added. Therefore, in such a case, similarly to the conventional configuration, the receive frame latch clock TDC
It is necessary to mask and remove this surplus bit from K to avoid frame synchronization.

〔発明の効果] 上述したように、本発明によれば、網終端装置と端末装
置との間で受動バスを介して授受される送信データと受
信データとの位相差が大きい程、受信データの各ビット
の変化点のアイパターンの最大幅の半値を限度として、
その変換点に先行して大きな時間差でその受信データを
取り込みタイミングを与える受信フレームラッチクロツ
タを生成することができる。
[Effect of the Invention] As described above, according to the present invention, the larger the phase difference between the transmission data and the reception data exchanged between the network termination device and the terminal device via the passive bus, the more the reception data becomes Up to half the maximum width of the eye pattern at the point of change of each bit,
It is possible to generate a reception frame latch crotter that takes in the received data with a large time difference in advance of the conversion point and gives timing.

したがって、網終端装置では、基本インタフェースの接
続形態に応じて受動バス長が長くなるために生じる波形
劣化に対して、受信データの取り込みに伴うビット誤り
率を低減することができる。
Therefore, in the network termination device, it is possible to reduce the bit error rate associated with the acquisition of received data against waveform deterioration caused by the length of the passive bus depending on the connection form of the basic interface.

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

第1図は本発明の原理ブロンク図、 第2図は本発明の一実施例を示す図、 第3図は本実施例の動作タイミングチャート(1)、第
4図は本実施例の動作タイミングチャート(2)、第5
図は本実施例の動作タイミングチャート(3)、第6図
は本実施例の動作タイミングチャート(4)、第7図は
本実施例の動作タイミングチャート(5)、第8図は基
本インタフェースのフレーム構成を示す図、 第9図はユーザ・網インタフエースの接続形態を示す図
、 第10図は従来のクロック生成回路の構成例を示す図、 第11図は従来例構成の動作タイミングチャート、第1
2図は従来例構成の問題点を説明する図である。 図において、 11は基準クロック生成手段、 13は位相差検出手段、 15は移相手段、 21は遅延回路(DELAYI)、 22はクロシフ選択信号生成部(CKSLGEN)、2
3は遅延回路(DELAY2)、 24.28はセレクタ、 25は遅延回路(DELAY3)、 26は微分回路、 27はカウンタ、 29は遅延回路(DELAY4)、 30はアンドゲート、 31はフリップフロップ、 911〜91.は端末装置(TE)、 92は受動バス、 93は網終端装置(NT)、 101は受信フレームデータ検出部(RFDET)、1
02は受信フレームラッチクロツタ生成部(TDCKG
EN)である。 本発明の原理ブロック図 第  1  図 (a) 本実施例の動作タイミングチャート(5)第  7  
図 (al  シンプルバス [有])延長バス (C1ポイント・ポイント ユーザ・綱インタフェースの接続形態を示す同第  9
  図 従来のクロック生成回路の構成例を示す同第  10 
  図 ■ 従来例構成の動作タイミングチャート 第  ti   図 従来例構成の問題点を説明する図 第  12  図
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a diagram showing an embodiment of the present invention, Fig. 3 is an operation timing chart (1) of this embodiment, and Fig. 4 is an operation timing of this embodiment. Chart (2), 5th
The figure shows the operation timing chart (3) of this embodiment, FIG. 6 shows the operation timing chart (4) of this embodiment, FIG. 7 shows the operation timing chart (5) of this embodiment, and FIG. 8 shows the basic interface. FIG. 9 is a diagram showing the connection form of the user/network interface. FIG. 10 is a diagram showing an example of the configuration of a conventional clock generation circuit. FIG. 11 is an operation timing chart of the conventional configuration. 1st
FIG. 2 is a diagram illustrating problems with the conventional configuration. In the figure, 11 is a reference clock generation means, 13 is a phase difference detection means, 15 is a phase shift means, 21 is a delay circuit (DELAYI), 22 is a cross shift selection signal generation section (CKSLGEN), 2
3 is a delay circuit (DELAY2), 24.28 is a selector, 25 is a delay circuit (DELAY3), 26 is a differentiation circuit, 27 is a counter, 29 is a delay circuit (DELAY4), 30 is an AND gate, 31 is a flip-flop, 911 ~91. is a terminal equipment (TE), 92 is a passive bus, 93 is a network terminal equipment (NT), 101 is a received frame data detector (RFDET), 1
02 is a reception frame latch block generator (TDCKG)
EN). Principle block diagram of the present invention Figure 1 (a) Operation timing chart of this embodiment (5) Figure 7
Figure (al. Simple bus [available]) Extension bus (C1 point, point user, rope interface connection form shown in Figure 9)
Figure 10 shows an example of the configuration of a conventional clock generation circuit.
Figure ■ Operation timing chart of the conventional configuration Figure ti Diagram explaining the problems of the conventional configuration Figure 12

Claims (1)

【特許請求の範囲】[Claims] (1)ISDN基本インタフェースの受動バスから網終
端装置に受信される受信データに含まれる各フレームを
検出し、そのフレームに同期したクロックを生成する基
準クロック生成手段(11)を備えたクロック生成方式
において、 前記フレームと前記網終端装置から前記受動バスに送信
される送信データに含まれるフレームとの位相差を検出
する位相差検出手段(13)と、その位相差に応じて前
記クロックの位相を可変し、前記受信データの各ビット
の取り込みタイミングを与える受信フレームラッチクロ
ックを出力する移相手段(15)と を備えたことを特徴とするクロック生成方式。
(1) A clock generation method that includes a reference clock generation means (11) that detects each frame included in the received data received by the network termination device from the passive bus of the ISDN basic interface and generates a clock synchronized with the frame. a phase difference detection means (13) for detecting a phase difference between the frame and a frame included in transmission data transmitted from the network termination device to the passive bus; A clock generation system characterized by comprising: phase shifting means (15) for outputting a receive frame latch clock that is variable and provides a timing for capturing each bit of the received data.
JP2320061A 1990-11-21 1990-11-21 Clock generation system Pending JPH04188920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2320061A JPH04188920A (en) 1990-11-21 1990-11-21 Clock generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2320061A JPH04188920A (en) 1990-11-21 1990-11-21 Clock generation system

Publications (1)

Publication Number Publication Date
JPH04188920A true JPH04188920A (en) 1992-07-07

Family

ID=18117284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2320061A Pending JPH04188920A (en) 1990-11-21 1990-11-21 Clock generation system

Country Status (1)

Country Link
JP (1) JPH04188920A (en)

Similar Documents

Publication Publication Date Title
JPH036156A (en) Data transmission line fault detecting circuit
CN101501995A (en) Phase comparator, phase comparison device, and clock data recovery system
GB2109206A (en) Data transmission system utilising power line of 3-phase alternating current
JPH0628288A (en) Apparatus for recovery of short waiting time data and synchronizing method of message data
CN101719858B (en) Synchronous processing method of bit timing of control area network (CAN) controller
US6385319B1 (en) Encoding circuit and method of detecting block code boundary and establishing synchronization between scrambler and descrambler
US5373508A (en) Detecting valid data from a twisted pair medium
US5418496A (en) Serial data clock recovery circuit using dual oscillator circuit
JPH04188920A (en) Clock generation system
US4583221A (en) Synchronization system for key telephone system
US7068726B1 (en) Near end cross-talk and echo avoider for bi-directional digital communications
US5430746A (en) Method of and circuitry for detecting synchronism failure of two word sequences
US5043989A (en) Terminal adapter having a multiple HDLC communication channels receiver for processing control network management frames
US4809303A (en) Dynamic speed shifter for fiber optic work station
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
US5943373A (en) External protocol hooks system and method
JPH08256181A (en) Automatic gain reset circuit for burst communication
JP2806568B2 (en) Common bus control method
JP2558119B2 (en) Transceiver circuit
JPH0420027A (en) Synchronizing matching circuit
JP3063291B2 (en) Line monitoring circuit
JP2762855B2 (en) Frame synchronization protection circuit
JP3264586B2 (en) Pattern synchronization circuit
JP3196989B2 (en) Frame synchronizer
EP1337128A1 (en) Cell counter for utopia interface