[go: up one dir, main page]

JPH02149036A - Phase locked clock generating system in network system - Google Patents

Phase locked clock generating system in network system

Info

Publication number
JPH02149036A
JPH02149036A JP63300899A JP30089988A JPH02149036A JP H02149036 A JPH02149036 A JP H02149036A JP 63300899 A JP63300899 A JP 63300899A JP 30089988 A JP30089988 A JP 30089988A JP H02149036 A JPH02149036 A JP H02149036A
Authority
JP
Japan
Prior art keywords
clock
frequency
lan
phase
local area
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
JP63300899A
Other languages
Japanese (ja)
Inventor
Toshifumi Shiba
芝 利史
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP63300899A priority Critical patent/JPH02149036A/en
Publication of JPH02149036A publication Critical patent/JPH02149036A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To adequately generate a clock for the LAN of the other side which is phase locked with the clock of the LAN of one side by determining the frequency division numbers of a first and a second frequency dividers on the basis of the frequency of the clock of the first LAN and the frequency of the clock of the second LAN to be generated. CONSTITUTION:A system to which two LANs 10, 70 of different transmission speeds are connected mutually is provided with a phasing clock generator 40. The device 40 is provided with the frequency dividers 44, 45, a phase comparator 46, a filter circuit 47 and a voltage controlled oscillator 49 whose frequency varies according to the output of the filter circuit 47, and it inputs the clock CLK1 applied to the LAN 10, and detects its frequency f1, and values (m), (n) to satisfy a condition that f1/m=f2/n and besides, the value of f1/m becomes the greatest common divisor of f1 and f2 are obtained on the basis of f1 and the frequency f2 of the clock CLK2 to be applied in the LAN 70, and the values (m), (n) are designated as the frequency division numbers of the frequency dividers 44, 45, and the clock CLK2 which is phase locked with the clock CLK1 and in addition, has the frequency f2 optimum to the transmission speed of the LAN 70 is generated from the voltage controlled oscillator 49.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、伝送速度が異なる2つのローカルエリアネ
ットワーク(以下、LANと称する)、特にパケット交
換方式のLAN (以下、パケット系LAN)と回線交
換方式のLAN (以下、回線系LANと称する)を相
互接続してネットワーク間の伝送を行う場合に好適なネ
ットワークシステムにおける位相同期クロック発生方式
に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention provides two local area networks (hereinafter referred to as LANs) with different transmission speeds, particularly a packet-switched LAN (hereinafter referred to as a packet-switched LAN). The present invention relates to a phase-synchronized clock generation method in a network system suitable for interconnecting a network LAN) and a line-switched LAN (hereinafter referred to as a line-switched LAN) to perform transmission between networks.

(従来の技術) 回線系LANとパケット系LANは、従来から全く別個
のLANを形成するのが一般的であった。その理由は、
四線系LANでは、送受信の速度が一定で位相同期して
動くのに対し、パケット系LANでは、信号をパケット
単位にして伝送路の空きを有効に使って送受信を行うと
いった伝送方式の相違による。
(Prior Art) It has conventionally been common for a line-based LAN and a packet-based LAN to form completely separate LANs. The reason is,
In a four-wire LAN, the transmission and reception speed is constant and moves in phase synchronization, whereas in a packet LAN, signals are sent and received in packets, making effective use of free space on the transmission path. .

ところが近年は、パケット系LANが高速・大容量の伝
送に適している点に着目して、パケット系LANに回線
系信号を付加して伝送させようとする方式が考えられて
いる。この方式は、回線系信号を一時メモリに格納し、
パケット系LANの高速のマスタクロックに位相同期さ
せて多重化し、送受信を行うものである。
However, in recent years, attention has been paid to the fact that packet-based LANs are suitable for high-speed, large-capacity transmission, and methods have been considered to add line-based signals to packet-based LANs for transmission. This method stores line signals in temporary memory,
It is multiplexed in phase synchronization with a high-speed master clock of a packet-based LAN and performs transmission and reception.

しかし、パケット系LANのクロック周波数は複数種類
(IMHz、IOM七、100M11zなど)あり、回
線系LANのクロック周波数も同様に複数種類(64K
Hz、192K)lz、384KHz。
However, there are multiple types of clock frequencies for packet-based LANs (IMHz, IOM7, 100M11z, etc.), and there are also multiple types of clock frequencies for line-based LANs (64K).
Hz, 192K)lz, 384KHz.

1 、 544 MHz)ある。そこで、回線系LAN
のクロックを上記したようにパケット系LANのクロッ
クに位相同期させる場合には、その周波数の違い毎に位
相同期回路を設計する必要がある。
1,544 MHz). Therefore, line-based LAN
In order to phase-synchronize the clock of the packet-based LAN with the clock of the packet-based LAN as described above, it is necessary to design a phase synchronization circuit for each difference in frequency.

(発明が解決しようとする課題) 上記したように従来は、互いに伝送速度の異なる2つの
LANを接続し、一方のLANのクロックを用いて同ク
ロックに位相同期した他方のLAN用のクロックを生成
しようとすると、各LANのクロック周波数が複数種類
あるためその周波数の違い(即ち伝送速度の違い)毎に
位相同期回路を開発・設計しなければならないという問
題があった。
(Problem to be Solved by the Invention) As described above, conventionally, two LANs with different transmission speeds are connected, and the clock of one LAN is used to generate a clock for the other LAN that is phase-synchronized with the same clock. However, since there are multiple types of clock frequencies for each LAN, there is a problem in that a phase synchronization circuit must be developed and designed for each different frequency (that is, different transmission speed).

したがってこの発明の解決すべき課題は、互いに伝送速
度の異なる2つのLANが相互接続されたシステムにお
いて、一方のLANのクロックに位相同期した他方のL
AN用のクロックが、どのような伝送速度のLANの組
合わせであっても、両LANの伝送速度の違いをもとに
適切に生成できるようにすることである。
Therefore, the problem to be solved by the present invention is that in a system in which two LANs having different transmission speeds are interconnected, the clock of the other LAN is synchronized in phase with the clock of one LAN.
To enable a clock for an AN to be appropriately generated based on the difference in transmission speed between both LANs, regardless of the combination of LANs having any transmission speed.

[発明の構成コ (課題を解決するための手段) この発明は、伝送速度の異なる2つのLAN(第1およ
び第2LAN)が相互接続されるシステムに、第1 L
ANで適用されている第1クロックを入力して、この第
1クロックに位相同期した周波数がf2の第2LAN用
のクロックを発生する位相同期回路であって、上記第1
.第2クロックを外部指定値m、nの数だけ分周する第
1.第2分周器、この第1.第2分周器の出力信号の位
相差を比較する位相比較器、この位相比較器の出力を平
滑化するフィルタ回路、および、このフィルタ回路の出
力に応じて周波数が変化する上記第2クロックを出力す
る電圧制御発振器を有する位相同期回路を設けると共に
、上記第1クロックを入力して同クロックの周波数f1
を検出゛し、この検出周波数f1および第2’L A 
Nで適用すべき第2クロックの周波数f2をもとに、次
の式%式% を満足し、且つfl/m(−f2/n)の値がflおよ
びf2の最大公約数となるm、nの値を求め、このm、
nの値を第1.第2分周器の分周数として指定する手段
とを設け、位相同期回路で発生された第2クロックを第
2LANのクロックとするようにしたことを特徴とする
[Configuration of the Invention (Means for Solving the Problems) This invention provides a system in which two LANs (first and second LANs) having different transmission speeds are interconnected.
A phase synchronized circuit receives a first clock applied in the AN and generates a clock for a second LAN having a frequency f2 that is phase-synchronized with the first clock;
.. The first clock divides the second clock by the number of externally specified values m and n. the second frequency divider, this first frequency divider; A phase comparator that compares the phase difference between the output signals of the second frequency divider, a filter circuit that smoothes the output of this phase comparator, and the second clock whose frequency changes according to the output of this filter circuit. A phase synchronized circuit having a voltage controlled oscillator for output is provided, and the first clock is inputted to set the frequency f1 of the same clock.
is detected, and this detection frequency f1 and the second 'L A
Based on the frequency f2 of the second clock to be applied at N, m that satisfies the following formula % and the value of fl/m (-f2/n) is the greatest common divisor of fl and f2, Find the value of n, and calculate this m,
Set the value of n to 1st. The present invention is characterized in that a means for specifying the frequency division number of the second frequency divider is provided, and the second clock generated by the phase synchronized circuit is used as the clock of the second LAN.

(作用) 上記の構成によれば、第1および第2LANの伝送速度
の組合わせがどのようなものであっても、ml LAN
のクロック(第2クロック)を入力してその周波数f1
を検出し、この検出された周波数f1と生成すべき第2
LANのクロック(第2クロック)の周波数f2をもと
に、第1゜第2分周器の分周数m、nを決定することで
、位相同期回路(内の電圧制御発振器)から第1 LA
Nの第1クロックに位相同期し、且つ第2LANの伝送
速度に最適の周波数(f2)の第2クロックを生成する
ことが可能となる。
(Operation) According to the above configuration, no matter what the combination of transmission speeds of the first and second LANs, the ml LAN
(second clock) and its frequency f1
is detected, and the detected frequency f1 and the second frequency to be generated are
By determining the frequency division numbers m and n of the 1st and 2nd frequency dividers based on the frequency f2 of the LAN clock (second clock), the first L.A.
It is possible to generate a second clock that is phase-synchronized with the N first clocks and has a frequency (f2) that is optimal for the transmission speed of the second LAN.

(実施例) 第1図はこの発明に直接関係する位相同期クロック発生
装置の周辺構成の一実施例を示すブロック構成図、゛第
2図はこの発明を適用するネットワークシステムの一実
施例を示すブロック構成図である。
(Embodiment) Fig. 1 is a block diagram showing an embodiment of the peripheral structure of a phase synchronized clock generator that is directly related to this invention, and Fig. 2 shows an embodiment of a network system to which this invention is applied. FIG. 2 is a block configuration diagram.

第2図において、10はリング型LANなどのパケット
系LAN、20はパケット系LANl0の制御を行うた
めのLAN制御ユニットである。LAN制御ユニット2
0は、同ユニットの基本部分を成すLAN基本制御部3
0と、パケット系L A N 10の同波数fl  (
flは例えばIMHz、5M1h、10M Hzなど)
のクロック(パケット系クロック)CLKIに位相同期
させた後述する回線系LAN70用のクロック(回線系
クロック)CLK2を発生する位相同期クロック発生装
置40と、回線インタフェース50とを有している。回
線インタフェース50は、回線系の信号を位相同期クロ
ック発生装置40で発生された回線系クロックCLK2
に応じて一時メモリ(図示せず)に格納し、パケット系
クロックCLK1に位相同期させて多重化すると共に、
パケット系の信号を一時メモリに格納し、回線系クロッ
クCLK2応じて回線系LAN70に出力するように構
成されている。LAN制御ユニット20は更に、パケッ
ト系L A N 10とは別のパケット系LANを接続
するための幾つかのLANインタフェース60を有して
いる。70は回線インタフェース50を介してパケット
系L A N 10と接続される電話網などの回線系L
AN、80はLANインタフェース60を介してパケッ
ト系L A N toと接続されるバス型LANなどの
(パケット系LANl0とは別の)パケット系LANで
ある。
In FIG. 2, 10 is a packet-based LAN such as a ring-type LAN, and 20 is a LAN control unit for controlling the packet-based LAN l0. LAN control unit 2
0 is the LAN basic control section 3 which forms the basic part of the unit.
0 and the same wave number fl of packet system L A N 10 (
fl is IMHz, 5M1h, 10MHz, etc.)
It has a phase-synchronized clock generator 40 that generates a clock (line-based clock) CLK2 for the line-based LAN 70 (described later) that is phase-synchronized with the clock (packet-based clock) CLKI of the system, and a line interface 50. The line interface 50 converts the line system signal into a line system clock CLK2 generated by the phase synchronized clock generator 40.
The data is stored in a temporary memory (not shown) according to the data, and is multiplexed in phase synchronization with the packet system clock CLK1.
It is configured to temporarily store packet-based signals in a memory and output them to the line-based LAN 70 in response to the line-based clock CLK2. The LAN control unit 20 further includes several LAN interfaces 60 for connecting packet-based LANs other than the packet-based LAN 10. 70 is a line system L such as a telephone network connected to the packet system L A N 10 via the line interface 50.
The AN 80 is a packet-based LAN (separate from the packet-based LAN 10) such as a bus-based LAN connected to the packet-based LAN to via the LAN interface 60.

第2図に示す位相同期クロック発生装置40は、第1図
に示すように構成される。第1図において、41はパケ
ット系クロックCLKIを入力して、同クロックCLK
Iに位相同期した周波数f2(f2は例えば64KH2
,192KHz、384Kk、1.544MHzなど)
の回線系クロックCLK2を発生して回線インタフェー
ス50に出力するPLL (フェーズ・ロックド・ルー
プ)回路(位相同期回路)42はパケット系クロックC
LKIの周波数検出のために同クロックCLKIのクロ
ック数を成る時間カウントするカウンタ、43はマイク
ロプロセッサである。マイクロプロセッサ43はカウン
タ42を制御してパケット系クロックCLKIの周波数
flを検出し、この検出結果および回線系LAN70に
適用すべきクロックCLK2の周波数f2をもとに、P
LL回路41内の後述する分周器44.45の分周数m
、nを決定するようになっている。
The phase synchronized clock generator 40 shown in FIG. 2 is configured as shown in FIG. In FIG. 1, 41 inputs the packet system clock CLKI and inputs the packet system clock CLKI.
Frequency f2 phase synchronized with I (f2 is, for example, 64KH2
, 192KHz, 384Kk, 1.544MHz, etc.)
A PLL (phase locked loop) circuit (phase synchronized circuit) 42 that generates a line system clock CLK2 and outputs it to the line interface 50 is a packet system clock CLK.
A counter 43 for counting the number of clocks of the clock CLKI in order to detect the frequency of the LKI is a microprocessor. The microprocessor 43 controls the counter 42 to detect the frequency fl of the packet system clock CLKI, and based on this detection result and the frequency f2 of the clock CLK2 to be applied to the line system LAN 70, P
Frequency division number m of a frequency divider 44, 45, which will be described later, in the LL circuit 41
, n.

上記PLL回路41は、分周数が外部設定可能な分周器
44.45を有している。分周器44はパケット系クロ
ックCLK1をマイクロプロセッサ43によって設定さ
れた値mの数だけ分周し、分周器45はPLL回路41
自身が発生した回線系クロックCLK2をマイクロプロ
セッサ43によって設定された値nの数だけ分周するよ
うになっている。
The PLL circuit 41 has frequency dividers 44 and 45 whose frequency division numbers can be set externally. The frequency divider 44 divides the packet system clock CLK1 by the number m set by the microprocessor 43, and the frequency divider 45 divides the frequency of the packet system clock CLK1 by the number m set by the microprocessor 43.
The line system clock CLK2 generated by itself is divided by the number of values n set by the microprocessor 43.

PLL回路41は更に、分周器45.45の創出力信号
(分周クロック)の位相差を比較する位相比較器46と
、この位相比較器46の出力を平滑化するローパスフィ
ルタ(LPF)47と、64 K Hzの整数倍の周波
数(最大周波数は1.544MEiz)のクロック(ク
ロックCLK2)をPLL回路41の出力として出力す
る電圧制御発振器(VCO)48とを有している。電圧
制御発振器48は、ローパスフィルタ47の出力に応じ
て内部発生のクロックの例えば1.544MHzを基準
とする内部発振周波数fCを変化させる発振機能を有し
ており、この発振機能により発振されたクロックを例え
ばスイッチによって設定された値pだけ分周して回線系
クロックCLK2を出力する分周器49を内蔵している
The PLL circuit 41 further includes a phase comparator 46 that compares the phase difference between output signals (divided clocks) of the frequency dividers 45 and 45, and a low-pass filter (LPF) 47 that smoothes the output of the phase comparator 46. and a voltage controlled oscillator (VCO) 48 that outputs a clock (clock CLK2) with a frequency that is an integral multiple of 64 KHz (maximum frequency is 1.544MEiz) as the output of the PLL circuit 41. The voltage controlled oscillator 48 has an oscillation function that changes the internal oscillation frequency fC of the internally generated clock based on, for example, 1.544 MHz according to the output of the low-pass filter 47, and the clock oscillated by this oscillation function It has a built-in frequency divider 49 that divides the frequency by, for example, a value p set by a switch and outputs the line system clock CLK2.

次に、この発明の一実施例の動作を説明する。Next, the operation of one embodiment of the present invention will be explained.

パケット系L A N 10で用いられているパケット
系クロックCLKIは、LAN制御ユニット20のLA
N2!本制御部30から同ユニット20の位相同期クロ
ック発生装置40に導かれ、装置40内のカウンタ42
に入力される。位相同期クロック発生装置40内のマイ
クロプロセッサ43は、パケット系クロックCLKIの
周波数(fl)を検出する場合には、まずカウンタ42
に対してリセット信号を出力してそのカウント値を例え
ば“0”クリアさせる。次にマイクロプロセッサ43は
、カウンタ42を動作させてパケット系クロックCLK
Iのクロック数をカウントさせ、成る時間を経過後にカ
ウンタ42のカウント値を読取る。そしてマイクロプロ
セッサ43は、この読取ったカウント値と時間tとをも
とに、パケット系クロックCLKIの周波数f1を検出
する。マイクロプロセッサ43はパケット系クロックC
LKIの周波数f1を検出すると、この検出周波数f1
と、LAN制御ユニット20を介してパケット系L A
 N 10と接続される回線系LAN70に適用すべき
回線系クロックCLK2の周波数f2とから、PLL回
路41内の分周器44.45に対して指定する分周数m
、nを求める。このm、  nは次式 %式%(2) を満足し、且つ上記(2)式で示される周波数fがfl
およびf2の最大公約数となる値である。
The packet system clock CLKI used in the packet system LAN 10 is the LA of the LAN control unit 20.
N2! The control section 30 leads to the phase synchronized clock generator 40 of the unit 20, and the counter 42 in the device 40
is input. When detecting the frequency (fl) of the packet clock CLKI, the microprocessor 43 in the phase synchronized clock generator 40 first detects the frequency (fl) of the packet system clock CLKI.
A reset signal is output to the counter to clear the count value to, for example, "0". Next, the microprocessor 43 operates the counter 42 to output the packet system clock CLK.
The number of clocks of I is counted, and the count value of the counter 42 is read after the specified time has elapsed. The microprocessor 43 then detects the frequency f1 of the packet system clock CLKI based on the read count value and time t. The microprocessor 43 uses a packet system clock C
When the frequency f1 of LKI is detected, this detected frequency f1
and the packet system LA via the LAN control unit 20.
The frequency division number m specified for the frequency divider 44.45 in the PLL circuit 41 is determined from the frequency f2 of the line system clock CLK2 to be applied to the line system LAN 70 connected to N10.
, find n. These m and n satisfy the following formula % formula % (2), and the frequency f shown in the above formula (2) is fl
This is the value that is the greatest common divisor of and f2.

上記m、nは例えば第3図のフローチャー1・に従って
次のように求められる。まず、分周器4445の仮の分
周数を示すパラメータl+  Jが初期値1に設定され
る(ステップSL、S2)。次に、1+  Jを分周器
44.45の分周数と仮定した場合の分周器44.45
の出力信号の周波数(分周された周波数)fl/l、f
2/jが等しいか否かが調べられ(ステップS3)、等
しくなければf2/jの値が1以下となったか否か(即
ちjの最大値までの処理が終了したか否か)が調べられ
る(ステップS4)。もしf2 /jの値が1を超えて
いれば、jは最大値に達していないことがらjの値が+
1され(ステップS5)、しかる後に前回のiと+1さ
れたjについてのステップS3の判定が行われる。これ
に対してf2 /jの値が1以下であれば、iの値が+
1され(ステップS8)、L。
The above m and n are determined as follows, for example, according to flowchart 1 in FIG. First, a parameter l+J indicating a temporary frequency division number of the frequency divider 4445 is set to an initial value of 1 (steps SL, S2). Next, assuming that 1+J is the frequency division number of the frequency divider 44.45, the frequency divider 44.45
The frequency of the output signal (divided frequency) fl/l, f
It is checked whether 2/j are equal (step S3), and if they are not equal, it is checked whether the value of f2/j has become less than 1 (that is, whether the processing up to the maximum value of j has been completed). (Step S4). If the value of f2/j exceeds 1, it means that j has not reached its maximum value, and the value of j is +
1 (step S5), and then the determination in step S3 is made regarding the previous i and j, which has been increased by +1. On the other hand, if the value of f2 /j is less than 1, the value of i is +
1 (step S8), and L.

かる後にjを初期値に設定するステップS2に戻る。After that, the process returns to step S2 where j is set to the initial value.

上記のようにして、ilJの各組合わせについて、i−
1,j−1から順にステップS3の判定が繰返し行われ
、やがてfl /iおよびf2 /jの両値が等しくな
ると、そのときのi、jの値が求めるm、nとして採用
される(ステップS7)。
As described above, for each combination of ilJ, i−
The determination in step S3 is repeated in order from 1 and j-1, and when the values of fl /i and f2 /j become equal, the values of i and j at that time are adopted as the required m and n (step S7).

マイクロプロセッサ43はこのm、nをPLL回路41
内の分周器44.45の分周数として設定する(ステッ
プS8)。
The microprocessor 43 inputs these m and n to the PLL circuit 41.
This is set as the frequency division number of the frequency dividers 44 and 45 within (step S8).

さて、PLL回路41では、電圧制御発振器48におい
て周波数fc  (−1,544MHz)を基準とする
クロックが発生される。この周波数fcのクロックは電
圧制御発振器48内蔵の分周器49によって分周数pだ
け分周される。これにより、周波数f2(−fc/p)
の回線系クロックCLK2が、電圧制御発振器48(内
の分周器49)から分周器45および回線系LAN70
に出力される。なお、pの値は電圧制御発振器48内部
の発振周波数fcを、必要とする回線系クロックCLK
2の周波数f2で除することにより求められ、この値p
がスイッチ操作によって電圧制御発振器48内蔵の分周
器49に分周数として設定される。この設定を、マイク
ロプロセッサ43から行うことも可能である。
Now, in the PLL circuit 41, the voltage controlled oscillator 48 generates a clock based on the frequency fc (-1,544 MHz). This clock of frequency fc is divided by a frequency division number p by a frequency divider 49 built into the voltage controlled oscillator 48. As a result, frequency f2(-fc/p)
The line system clock CLK2 is transmitted from the voltage controlled oscillator 48 (frequency divider 49 therein) to the frequency divider 45 and the line system LAN 70.
is output to. Note that the value of p is the oscillation frequency fc inside the voltage controlled oscillator 48, and the required line system clock CLK.
2 divided by the frequency f2, and this value p
is set as a frequency division number in the frequency divider 49 built into the voltage controlled oscillator 48 by switch operation. It is also possible to perform this setting from the microprocessor 43.

電圧制御発振器48の分周器49からの周波数f2のパ
ケット系クロックCLK2は分周器45に入力される。
A packet clock CLK2 of frequency f2 from the frequency divider 49 of the voltage controlled oscillator 48 is input to the frequency divider 45.

またLAN基本制御部30から位相同期クロック発生装
置40に導かれた周波数f1のパケット系クロックCL
KIは分周器44に入力される。分周器44.45は、
入力クロックCLKI。
In addition, a packet clock CL of frequency f1 is guided from the LAN basic control unit 30 to the phase synchronized clock generator 40.
KI is input to a frequency divider 44. The frequency divider 44.45 is
Input clock CLKI.

CLK2をマイクロプロセッサ43によって設定された
分周数m、nだけ分周し、それぞれ周波数fL/m、f
2/nの分周クロックを位相比較器4Bに出力する。位
相比較器46は分周器44.45からの両分層クロック
の位相を比較し、その位相のずれに応じた電圧をローパ
スフィルタ47に圧力する。
CLK2 is divided by the frequency division numbers m and n set by the microprocessor 43 to obtain frequencies fL/m and f, respectively.
A 2/n frequency divided clock is output to the phase comparator 4B. The phase comparator 46 compares the phases of both the divided clocks from the frequency dividers 44 and 45, and applies a voltage to the low-pass filter 47 according to the phase shift.

ローパスフィルタ47は位相比較器46からの出力電圧
を平滑化して電圧制御発振器48に出力する。電圧制御
発振器48はローパスフィルタ47の出力電圧に応じ、
パケット系クロックCLKIに位相同期した内部クロッ
クを発生し、この内部クロックを分周器49で分周数p
だけ分周してパケット系クロックCLKIに位相同期し
た周波数f2の回線系クロックCLKIを出力する。こ
のクロックCLKIは前記したように分周器45に入力
されると共に、回線インタフェース50に入力される。
The low-pass filter 47 smoothes the output voltage from the phase comparator 46 and outputs it to the voltage controlled oscillator 48 . The voltage controlled oscillator 48 responds to the output voltage of the low pass filter 47,
An internal clock that is phase-synchronized with the packet system clock CLKI is generated, and this internal clock is divided by a frequency p by a frequency divider 49.
A line system clock CLKI having a frequency f2 which is phase-synchronized with the packet system clock CLKI is output. This clock CLKI is input to the frequency divider 45 as described above, and is also input to the line interface 50.

回線インタフェース50は、回線系L A N 70か
らの回線系信号をパケット化してパケット系LAN10
に送出する場合であれば、回線系L A N 70から
の回線系信号を(位相同期クロック発生装置40の)電
圧制御発振器48で発生された回線系クロックCLK2
に応じて回線インタフェース50内部のメモリに順に格
納する。回線インタフェース50内部のメモリに格納さ
れた回線系信号はパケット系クロックCLKIに位相同
期させて多重化され、パケット系L A N 10にお
ける高速・大容量伝送に供される。また回線インタフェ
ース50は、パケット系L A N 10からのパケッ
ト系信号を回線系信号に分解して回線系LAN70に送
出する場合であれば、LAN基本制御部30で受信され
たパケット系L A N 10からのパケット系信号を
メモリに一時格納し、しかる後にメモリの内容を回線系
クロックCLK2に応じて回線系信号を単位に回線系L
AN70に送出する。
The line interface 50 packetizes the line signal from the line LAN 70 and transfers it to the packet LAN 10.
In the case of transmitting the line signal from the line L A N 70 to the line clock CLK2 generated by the voltage controlled oscillator 48 (of the phase synchronized clock generator 40),
The information is sequentially stored in the memory inside the line interface 50 according to the information. Line signals stored in the memory inside the line interface 50 are multiplexed in phase synchronization with the packet clock CLKI, and are provided for high-speed, large-capacity transmission in the packet LAN 10. In addition, if the line interface 50 disassembles the packet-based signal from the packet-based LAN 10 into line-based signals and sends them to the line-based LAN 70, the line interface 50 decomposes the packet-based signal from the packet-based LAN 10 into line-based signals and sends them to the line-based LAN 70. 10 is temporarily stored in the memory, and then the contents of the memory are transferred to the line system L in units of line system signals according to the line system clock CLK2.
Send to AN70.

以上は、パケット系LANと回線系LANとを接続し、
パケット系LANのクロック(CLKI )をもとに同
クロックに位相同期した回線系LANのクロック(CL
K2)を生成する場合について説明したが、伝送速度の
異なる2種の回線系LANを接続し、例えば高速側の回
線系LANのクロックをもとに低速側の回線系LANの
クロックを生成することも可能である。
The above describes how to connect a packet LAN and a line LAN,
Based on the packet LAN clock (CLKI), the line LAN clock (CLKI) is synchronized in phase with the packet LAN clock (CLKI).
K2) has been described, but two types of line-based LANs with different transmission speeds are connected, and for example, the clock of the lower-speed line-based LAN is generated based on the clock of the higher-speed line-based LAN. is also possible.

[発明の効果コ 以上詳述したようにこの発明によれば、互いに伝送速度
の異なる2つのLANが相互接続されたシステムにおい
て、一方のLANのクロックに位相同期した他方のLA
N用のクロックが、どのような伝送速度のLANの組合
わせであっても、両LANの伝送速度の違いをもとに適
切に生成できるので、従来のように相互接続される2つ
のLANの伝送速度の組合わせ毎に位相同期回路を開発
・設計する必要がなくなる。
[Effects of the Invention] As detailed above, according to the present invention, in a system in which two LANs having different transmission speeds are interconnected, the clock of one LAN can be phase synchronized with the clock of the other LAN.
The clock for N can be generated appropriately based on the difference in the transmission speeds of both LANs, regardless of the combination of LANs with any transmission speed. There is no need to develop and design a phase-locked circuit for each combination of transmission speeds.

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

第1図はこの発明に直接関係する位相同期クロック発生
装置の周辺構成の一実施例を示すブロック構成図、第2
図は第1図の位相同期クロック発生装置を有するLAN
制御ユニットによって複数のLANが相互接続されたネ
ットワークシステムの一実施例を示すブロック構成図、
第3図は動作を説明するためのフローチャートである。 lO・・・パケット系LAN (第1ローカルエリアネ
ットワーク)、20・・・LAN制御ユニット、40・
・・位相同期クロック発生装置、41・・・PLL回路
(位相同期回路)、42・・・カウンタ、43・・・マ
イクロプロセッサ、44.45.49・・・分周器、4
6・・・位相比較器、47・・・ローパスフィルタ(L
PF)、48・・・電圧制御発振器(VCO)、50・
・・回線インタフェース、70・・・回線系LAN (
第2ローカルエリアネットワーク)。 出願人代理人 弁理士 鈴江武彦 LANぺう卿ユニント 第 図 「−
FIG. 1 is a block configuration diagram showing an example of the peripheral configuration of a phase synchronized clock generator directly related to the present invention, and FIG.
The diagram shows a LAN with the phase synchronized clock generator shown in Figure 1.
A block configuration diagram showing an example of a network system in which a plurality of LANs are interconnected by a control unit,
FIG. 3 is a flowchart for explaining the operation. lO...Packet-based LAN (first local area network), 20...LAN control unit, 40.
...Phase synchronized clock generator, 41... PLL circuit (phase synchronized circuit), 42... Counter, 43... Microprocessor, 44.45.49... Frequency divider, 4
6... Phase comparator, 47... Low pass filter (L
PF), 48...voltage controlled oscillator (VCO), 50...
...Line interface, 70...Line system LAN (
second local area network). Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】 伝送速度の異なる第1および第2ローカルエリアネット
ワークがローカルエリアネットワーク制御ユニットを介
して相互接続されるネットワークシステムにおいて、 上記ローカルエリアネットワーク制御ユニットに、 上記第1ローカルエリアネットワークで適用されている
第1クロックを入力して、この第1クロックに位相同期
した上記第2ローカルエリアネットワークのクロックと
して適用すべき周波数がf2の第2クロックを発生する
位相同期回路であって、上記第1クロックを指定値mの
数だけ分周して第1分周クロックを出力する第1分周器
、上記第2クロックを指定値nの数だけ分周して第2分
周クロックを出力する第2分周器、上記第1および第2
分周器から出力される第1および第2分周クロックの位
相差を比較する位相比較器、この位相比較器の出力を平
滑化するフィルタ回路、および、このフィルタ回路の出
力に応じて周波数が変化する上記第2クロックを出力す
る電圧制御発振器を有する位相同期回路と、 上記第1クロックを入力して同クロックの周波数f1を
検出する周波数検出手段と、 この周波数検出手段によって検出された上記第1クロッ
クの周波数f1および上記第2ローカルエリアネットワ
ークで適用すべき第2クロックの周波数f2をもとに、
次の(1)式 f_1/m=f2/n……(1) を満足し、且つ上記(1)式で示される周波数が上記f
1およびf2の最大公約数となるm,nの値を求め、こ
の求めたm,nの値を上記第1、第2分周器の分周数と
して指定する分周数決定手段と、を設け、 上記位相同期回路で発生された上記第2クロックを上記
第2ローカルエリアネットワークのクロックとして適用
するようにしたことを特徴とするネットワークシステム
における位相同期クロック発生方式。
[Scope of Claims] A network system in which first and second local area networks having different transmission speeds are interconnected via a local area network control unit, wherein the local area network control unit is configured to include a first local area network in the first local area network. A phase synchronized circuit receives an applied first clock and generates a second clock having a frequency f2 to be applied as a clock of the second local area network that is phase-synchronized with the first clock, A first frequency divider that divides the first clock by the number of specified values m and outputs the first divided clock, and divides the second clock by the number of specified values n and outputs the second divided clock. a second frequency divider, said first and second frequency divider;
A phase comparator that compares the phase difference between the first and second divided clocks output from the frequency divider, a filter circuit that smoothes the output of this phase comparator, and a frequency that varies according to the output of this filter circuit. a phase synchronized circuit having a voltage controlled oscillator that outputs the second clock that changes; a frequency detection means that receives the first clock and detects the frequency f1 of the clock; Based on the frequency f1 of the first clock and the frequency f2 of the second clock to be applied in the second local area network,
The following equation (1) f_1/m=f2/n...(1) is satisfied, and the frequency shown by the above equation (1) is the above f_1/m=f2/n...(1)
dividing number determining means for determining the values of m and n that are the greatest common divisor of 1 and f2, and specifying the determined values of m and n as the dividing numbers of the first and second frequency dividers; A method for generating a phase synchronized clock in a network system, characterized in that the second clock generated by the phase synchronization circuit is used as a clock for the second local area network.
JP63300899A 1988-11-30 1988-11-30 Phase locked clock generating system in network system Pending JPH02149036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63300899A JPH02149036A (en) 1988-11-30 1988-11-30 Phase locked clock generating system in network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63300899A JPH02149036A (en) 1988-11-30 1988-11-30 Phase locked clock generating system in network system

Publications (1)

Publication Number Publication Date
JPH02149036A true JPH02149036A (en) 1990-06-07

Family

ID=17890467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63300899A Pending JPH02149036A (en) 1988-11-30 1988-11-30 Phase locked clock generating system in network system

Country Status (1)

Country Link
JP (1) JPH02149036A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383458B2 (en) 2001-03-15 2008-06-03 Robert Bosch Gmbh Method and device for synchronizing the cycle time of a plurality of TTCAN buses based on determined global time deviations and corresponding bus system
JP2009521882A (en) * 2005-12-30 2009-06-04 アベガ システムズ ピーティーワイ リミテッド Media data synchronization in wireless networks

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383458B2 (en) 2001-03-15 2008-06-03 Robert Bosch Gmbh Method and device for synchronizing the cycle time of a plurality of TTCAN buses based on determined global time deviations and corresponding bus system
US7979730B2 (en) 2001-03-15 2011-07-12 Robert Bosch Gmbh Method and device for synchronizing cycle time of a plurality of TTCAN buses based on determined global time deviations and a corresponding bus system
JP2009521882A (en) * 2005-12-30 2009-06-04 アベガ システムズ ピーティーワイ リミテッド Media data synchronization in wireless networks

Similar Documents

Publication Publication Date Title
US6128318A (en) Method for synchronizing a cycle master node to a cycle slave node using synchronization information from an external network or sub-network which is supplied to the cycle slave node
US5534822A (en) Parallel phase-locked loop oscillator circuits with average frequency calculation of input stage loop
JP2001511329A (en) Method and apparatus for generating an internal clock signal synchronized with an external clock signal
US5157651A (en) Apparatus and method for determining line rates
JPS6340370B2 (en)
JP3331894B2 (en) PLL circuit
JPH0437446B2 (en)
JPH02149036A (en) Phase locked clock generating system in network system
TW201205297A (en) Serial bus clock frequency calibration system and method
US5946362A (en) Apparatus for detecting clock failure for use in a synchronous transmission system
JP2809541B2 (en) Codec
EP0975094A2 (en) Synchronous control apparatus and method
JPS5821862B2 (en) phase synchronized circuit
JPH10322200A (en) Phase lock detecting circuit
JPH03205942A (en) Terminal equipment connected to communication network
JP3685982B2 (en) Synchronous clock signal generator and ATM device using the same
JP3079809B2 (en) Phase comparison device
JPH04268841A (en) Mutual synchronization device
US6559725B1 (en) Phase noise reduction system for frequency synthesizer and method thereof
JPS5816654B2 (en) Synchronization detection circuit of phase control circuit
JPH10261958A (en) Pll circuit
JP3624344B2 (en) Reference frequency generator
JP2000183982A (en) Information transmission system
JPH05235756A (en) Pll device with hold-over circuit
JP2001203675A (en) Slip control circuit