JPS61259357A - Common bus control system - Google Patents

Common bus control system

Info

Publication number
JPS61259357A
JPS61259357A JP60100419A JP10041985A JPS61259357A JP S61259357 A JPS61259357 A JP S61259357A JP 60100419 A JP60100419 A JP 60100419A JP 10041985 A JP10041985 A JP 10041985A JP S61259357 A JPS61259357 A JP S61259357A
Authority
JP
Japan
Prior art keywords
bus
clock
module
oscillation circuit
frequency
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
JP60100419A
Other languages
Japanese (ja)
Inventor
Sadao Nakamura
中村 定雄
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 JP60100419A priority Critical patent/JPS61259357A/en
Publication of JPS61259357A publication Critical patent/JPS61259357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To improve resistance to failure by following an output of a clock oscillation circuit in a module to fluctuation of a bus clock and making the frequency and phase coincident with each other thereby using decentralized supply of the bus clock. CONSTITUTION:The module 21 becomes a supply source of a bus clock signal 24 and modules 22, 23 other than the bus master input the input signal 24, the oscillation frequency of the clock oscillation circuit is followed to the signal 24 to make the frequency and phase coincident with each other. Thus, all modules apply bus operation tuned to the bus clock. When the module 21 loses the right of use of the bus and the module 22 becomes a new bus master, the module 21 stops the supply of the bus clock and the module 22 becomes the supply source of a new clock and the phase is made coincident just before the right of use takes over and the normal operation synchronously with the bus clock is continued.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は複数個のモジュールが同期型共通バスによって
接続されているデータ処理システムにおいて、前記共通
バスの耐故障性を向上させる為の共通バス制御方式に関
する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a common bus control method for improving the fault tolerance of the common bus in a data processing system in which a plurality of modules are connected by a synchronous common bus. Regarding.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

データ処理システムを構成する複数モジュール間の共通
バスは、大きくわけて、非同期バス方式と同期バス方式
の2つに分類できる。非同期バス方式ではバスに接続さ
れた2つのモジコール間で通信を行うとき、一方のモジ
ュールは他方のモジュールの動作タイミングとは無関係
に信号を送出する。従って受信モジコールがバス上のデ
ータを取り込む為には同期化の処理を必要とし、この為
にいくらかの時間が損失する。一方、同期バス方式では
バスに接続されたすべてのモジュールに共通なバスクロ
ックが存在し、バスへの信号の送出と取り込みはこのバ
スクロックに基づいて行う。
A common bus between a plurality of modules constituting a data processing system can be broadly classified into two types: an asynchronous bus type and a synchronous bus type. In the asynchronous bus system, when communicating between two modules connected to a bus, one module sends a signal regardless of the operation timing of the other module. Therefore, in order for the receiving module to acquire the data on the bus, a synchronization process is required, which results in some time being lost. On the other hand, in the synchronous bus system, there is a common bus clock for all modules connected to the bus, and signals are sent to and received from the bus based on this bus clock.

通常は前記バークロックと各モジコールの動作クロック
とは同一であるか、又は一定の関係が存在している。こ
のような同期バス方式によればすべてのモジュールがバ
スクロックに同期しているので、バスを介しての信号の
伝達を効率的に行うことができる。更に同期バス方式で
は非同期バス方式と比べてモジュールとバスとの間のイ
ンタフェイス回路が簡単になるという利点もある。
Usually, the bar clock and the operating clock of each module are the same or have a certain relationship. According to such a synchronous bus system, all modules are synchronized with the bus clock, so that signals can be efficiently transmitted via the bus. Furthermore, the synchronous bus method has the advantage that the interface circuit between the module and the bus is simpler than the asynchronous bus method.

ところで、従来の同期バス方式ではバスに接続されてい
る通常のモジコールとは別に、バスクロック発生回路を
持つ特別なモジコールであるマスタモジュールを必要と
する。これは耐故障性の観点から見ると重大な欠点であ
る。何故なら、耐故障システムにおいては、システムの
正常な動作が。
By the way, the conventional synchronous bus system requires a master module, which is a special module having a bus clock generation circuit, in addition to the normal module connected to the bus. This is a serious drawback from the point of view of fault tolerance. This is because in a fault-tolerant system, the normal operation of the system.

システム内の構e、要素のただひとつの故障によって阻
止されてしまうようなことがあってはならないからであ
る。第6図にこの状況を示す。第6図の12.13.1
4はシステム内の通常のモジュール、11はバスクロッ
ク発生回路を持つマスタモジュール、15はバスクロッ
クで、バスマスタ11から出力され、バスマスタ以外他
のすべてのモジュール12,13.14へ入力される。
This is because it must not be stopped by a failure of a single component in the system. Figure 6 shows this situation. 12.13.1 in Figure 6
4 is a normal module in the system, 11 is a master module having a bus clock generation circuit, and 15 is a bus clock, which is output from the bus master 11 and input to all modules 12, 13, and 14 other than the bus master.

16は共通バスである。図から分かる通り、従来の同期
バス方式ではバスマスタ11の故障によってバスクロッ
ク信号の供給が絶たれて、バスシステムの全機能は停止
する。
16 is a common bus. As can be seen from the figure, in the conventional synchronous bus system, if the bus master 11 fails, the supply of the bus clock signal is cut off, and all functions of the bus system stop.

〔発明の目的〕[Purpose of the invention]

本発明は以上の点に鑑みなされたもので、同期バス方式
によって効率的なバスオペレーションが可能であり、か
つバスクロックの分散供給によって耐故障性を向上させ
た新しい同期型バス方式を提供することを目的としてい
る。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a new synchronous bus system that enables efficient bus operation using a synchronous bus system and improves fault tolerance through distributed supply of bus clocks. The purpose is

〔発明の概要〕[Summary of the invention]

本発明は複数個のモジュールが同期型共通バスによって
接続されたデータ処理システムにおける前記同期屋共通
バスの制御方式であって、少なくともバスマスタとなり
得るモジュールは内部に、ある範囲内で周波数可変なク
ロック発振回路を持ち、 前記モジコール内のクロック発振回路は、同期型バス上
のバスクロックを参照信号とするPLL(Phase 
Locked Loop)回路として構成され、前記ク
ロック発振回路の出力を前記バスクロックの変動に追随
させ1周波数と位相とを一致させる第1の機能と、及び 前記モジュール内のクロック発振回路は、すべてのモジ
エールにおいて十分な精度で一致しかつ発振周波数の変
化範凹のほぼ中央に位置するようなあらかじめ定められ
た一定の周波数で発振し、前記共通バス上のバスクロッ
ク線に出力してバスクロック信号の供給源となる第2の
機能とを持ち、バス使用権を獲得してバスマスタとなっ
たモジュール内のクロック発振回路は前記第2の機能に
従って動作し、バス使用権を失なったモジュール及び他
のバスマスタでないモジュールのクロック発振回路は前
記第1の機能に従って動作すること、以上の機能を持つ
ことを特徴とした同期型バスシステムによって実現され
る。
The present invention provides a control method for the synchronizer common bus in a data processing system in which a plurality of modules are connected by a synchronized common bus, wherein at least a module that can become a bus master internally oscillates a clock whose frequency is variable within a certain range. The clock oscillation circuit in the Mogicor is a PLL (Phase) circuit that uses the bus clock on the synchronous bus as a reference signal.
The clock oscillation circuit in the module has a first function of making the output of the clock oscillation circuit follow the fluctuation of the bus clock to match the frequency and phase, and the clock oscillation circuit in the module is configured as a oscillates at a predetermined constant frequency that matches with sufficient accuracy and is located approximately in the center of the oscillation frequency variation range, and outputs it to the bus clock line on the common bus to supply a bus clock signal. The clock oscillation circuit in the module that has acquired the right to use the bus and has become the bus master operates according to the second function, and the clock oscillation circuit in the module that has lost the right to use the bus and other bus masters operates according to the second function. The clock oscillation circuit of the non-modular module operates according to the first function, and is realized by a synchronous bus system characterized by having the above functions.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、同期バス方式によって効率的なバスオ
ペレーションが可能であるにもかかわらず、バスクロッ
クの分散供給によって、バスシステムの耐故障性を向上
できる。例えば、本発明によれば共通バスに接続されて
いるどんなモジコールが故障などによってバスから切り
離されてもバスシステムの正常な動作の妨げにはならな
い。これに反し、従来の同期バス方式ではシステム内に
ただ1つ存在するマスタモジュールがバスかう切り離さ
れるとバスの機能は停止する。
According to the present invention, even though efficient bus operation is possible using the synchronous bus method, the fault tolerance of the bus system can be improved by distributing the bus clock. For example, according to the present invention, even if any module connected to a common bus is disconnected from the bus due to a failure or the like, the normal operation of the bus system will not be hindered. In contrast, in conventional synchronous bus systems, if the only master module in the system is disconnected from the bus, the bus stops functioning.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明のバス方式を用いたデータ処理システム
の図である。図において21,22.23はそれぞれデ
ータ処理システムを構成するモジュール、24はバスク
ロック信号線、25はデータ線やその他信号線を含む共
通バスである。
FIG. 1 is a diagram of a data processing system using the bus method of the present invention. In the figure, 21, 22, and 23 are modules constituting the data processing system, 24 is a bus clock signal line, and 25 is a common bus including data lines and other signal lines.

バスを用いて他のモジュールとの通信を開始しようとす
るモジュールはバスの使用権を獲得してバスマスタとな
らなければならない。複数モジュールが競合する中でい
かにして1コのモジエールがバスの使用権を獲得するか
については本発明の範囲外であるが、耐故障バスシステ
ムに適する分散的な方法がいくつか知られている。(例
えばIEEE P896バス規格FutureBu+s
 )。
A module that wishes to start communication with other modules using the bus must acquire the right to use the bus and become the bus master. Although it is beyond the scope of the present invention how a single module acquires the right to use the bus when multiple modules compete, several distributed methods are known that are suitable for fault-tolerant bus systems. . (For example, IEEE P896 bus standard FutureBu+s
).

第1図において、現在モジュール21がバスマスタであ
るとすると、本発明によればモジュール21がバスクロ
ック24の供給源となり、バスマスタ以外のモジュール
22.23はバスクロック信号24を入力して、それぞ
れのクロック発振回路の発振周波数を前記バスクロック
信号24に追随させ、周波数と位相とを一致させる。こ
れによりすべてのモジュールはバスクロックに同期した
バスオペレージ冒ンを行うことができる。次にモジュー
ル21がバスの使用権を失ないモジュール22が新たに
バスマスタとなったとする。このときモジュール21は
バスクロックの供給を停止し、モジコール22が新たな
バスクロックの供給源となる。モジコール22の出力す
るバスクロックの周波数は前回のバスマスタであるモジ
コール21が出力していたバスクロックの周波数・と十
分な精度で一致しており、またモジュール22がバスの
使用権を引継ぐ直前まで位相も一致していたのだから、
モジコール22が新たなバスマスタとなってバスクロッ
ク信号24の出力を開始しても、バスクロックの周波数
と位相とに大きな変化は生ぜず、従ってバスクロックに
同期した正常なバスオペレージ百ンを続行できる。この
ようなバスの使用権の引き継ぎに伴うバスクロック信号
24の出力のなめらかな引継ぎはデータ処理システム内
の任意のモジュール21.22.23の間で行ったこと
ができる。
In FIG. 1, if the module 21 is currently the bus master, according to the present invention, the module 21 becomes the source of the bus clock 24, and the modules 22 and 23 other than the bus master input the bus clock signal 24, and each The oscillation frequency of the clock oscillation circuit is made to follow the bus clock signal 24 to match the frequency and phase. This allows all modules to perform bus operations synchronized with the bus clock. Next, it is assumed that the module 21 does not lose the right to use the bus and the module 22 becomes the new bus master. At this time, the module 21 stops supplying the bus clock, and the module 22 becomes the new bus clock supply source. The frequency of the bus clock output by the module 22 matches the frequency of the bus clock output by the previous bus master, the module 21, with sufficient accuracy, and the phase remains unchanged until just before the module 22 takes over the right to use the bus. Since they also matched,
Even when the module 22 becomes a new bus master and starts outputting the bus clock signal 24, there is no major change in the frequency and phase of the bus clock, so normal bus operation synchronized with the bus clock can be continued. Such a smooth handover of the output of the bus clock signal 24 accompanying the handover of the right to use the bus can be performed between arbitrary modules 21, 22, and 23 within the data processing system.

本発明では以上述べたような動作によってバスクロック
信号の分散供給を実現し、耐故障バスシステムを実現し
ている。
The present invention achieves distributed supply of bus clock signals through the operations described above, and realizes a fault-tolerant bus system.

以下において、本発明を実現する為に必要な、PLLク
ロック発生回路の実現例とその動作について説明する。
An example of implementing a PLL clock generation circuit and its operation necessary to realize the present invention will be described below.

第2図は各モジュール21,22.23内に存在するク
ロック発振回路とその周辺を示したものである。
FIG. 2 shows the clock oscillation circuit existing in each module 21, 22, 23 and its surroundings.

図において31 tri、 PLL(Phase Lo
cked Loop )回路として構成されたクロック
発振回路、32はその出力信号5CLKで、モジコール
内の論理回路の動作タイミングとして使われる。33は
バスクロック信号BCLKで、前記PLL発振回路31
の参照入力となる。34はロック状態検出信号で、PL
L発振回路の出力32がバスクロック33にロックし、
位相が一致していることを知らせるものである。このロ
ック信号34から1が出力されたとき、モジーールの動
作タイミングと共通バスのバスクロックとが同期してい
るので、共通バスを介して他のモジュールとの通信が可
能になる。35はこのモジュールがバスマスタであると
き1を入力する信号線MASTERで、この信号線35
に0を入力したとき。
In the figure, 31 tri, PLL (Phase Lo
The clock oscillation circuit 32 is configured as a cked Loop) circuit, and its output signal 5CLK is used as the operation timing of the logic circuit in the module. 33 is a bus clock signal BCLK, and the PLL oscillation circuit 31
It becomes a reference input. 34 is a lock state detection signal, PL
The output 32 of the L oscillation circuit is locked to the bus clock 33,
This is to notify that the phases match. When 1 is output from the lock signal 34, the operating timing of the module and the bus clock of the common bus are synchronized, so communication with other modules via the common bus becomes possible. 35 is a signal line MASTER which inputs 1 when this module is a bus master;
When you enter 0 in .

発振回路31はバスクロック信号33を参照入力とする
PLL発振回路として動作するが、この信号$35に1
を入力したとき、@損回路31は周波数可変範囲のほぼ
中央に位置するあらかじめ定められた一定の周波数で発
振し、出力信号32をゲート37を介してバスクロック
33として共通バス上へ出力する。
The oscillation circuit 31 operates as a PLL oscillation circuit using the bus clock signal 33 as a reference input, but this signal $35
When inputted, @loss circuit 31 oscillates at a predetermined constant frequency located approximately at the center of the frequency variable range, and outputs output signal 32 via gate 37 as bus clock 33 onto the common bus.

M3図は第2図におけるPLL発振回路31の詳細を示
したものである。図の中には、水晶或はセラミ、ツク振
動子41、CMBS型インバータ42、及びロジックレ
ベルで制御できるスイッチ43.44とによって構成さ
れた発振回路が含まれている。一般に水晶或はセラミッ
ク発振回路は高精度、高安定な基準クロック廃生回路と
して用いられるが、図に示すようにスイッチ43.43
を制御してキャパシタを変化させることによって発振周
波数を10−3の周波数変化は例えば100nsが10
0.1nsに変化する程度であり、これを論理回路の動
作タイミングとして用嘲へても、その動作には影響しな
い。PLL発振回路31ではスイッチ43をOFF 、
スイッチ44を0NICt、て低い周波数、スイッチ4
3をON、スイッチをOFFにして中間の周波数、スイ
ッチ43.44をともにOFFにして高い周波数の3つ
の離散的な周波数変化を実現している。先に述べたよう
に、中間の周波数はすべてのモジコール内のクロック発
振回路において十分な精度で一致してなければならない
。第4図の残りの部分について、45日分周回路、46
は本PLL発振回路の最終出力信号5CLKで、出力信
号32と[dl−でありモジコール内の論理回路の動作
タイミングとして用いられる。47はバスクロック信号
BCLKで信号線33と同一である。、48はD−フリ
ップフロップで、5CLK 46とBCLK47との間
の位相比較器として機能する。49は第3図における信
号線35に対応するもので、このモジエールがバスマス
タなら1.バスマスタでないなら0を入力する。もし、
このモジコール内バスマスタトナったら、信号線49に
1を入力し、その結果スイッチ43はON、スイッチ4
4はOFFとなって発振回路は中間の周波数で発振し、
 5CLK46として出力され、最終的に共通バス上の
バスクロックへ出力され、バスクロックの供給源となる
FIG. M3 shows details of the PLL oscillation circuit 31 in FIG. 2. The figure includes an oscillation circuit composed of a crystal or ceramic crystal resonator 41, a CMBS type inverter 42, and switches 43 and 44 that can be controlled at a logic level. Generally, a crystal or ceramic oscillation circuit is used as a highly accurate and highly stable reference clock waste generation circuit, but as shown in the figure, the switch 43.43
By controlling the capacitor and changing the oscillation frequency, the frequency change of 10-3 is, for example, 100 ns is 10
The change is only about 0.1 ns, and even if this is used as the operation timing of the logic circuit, it will not affect the operation. In the PLL oscillation circuit 31, the switch 43 is turned off,
Switch 44 to 0NICt, low frequency, switch 4
3 is turned on, the switch is turned off to achieve an intermediate frequency, and both switches 43 and 44 are turned off to realize a high frequency. As mentioned above, the intermediate frequencies must be matched with sufficient precision in the clock oscillation circuits in all modicolls. For the remainder of FIG. 4, the 45 day divider circuit, the 46
is the final output signal 5CLK of this PLL oscillation circuit, which is the output signal 32 and [dl-, and is used as the operation timing of the logic circuit in the module. 47 is a bus clock signal BCLK, which is the same as the signal line 33. , 48 are D-flip-flops, which function as a phase comparator between 5CLK 46 and BCLK 47. 49 corresponds to the signal line 35 in FIG. 3, and if this module is a bus master, 1. If it is not the bus master, enter 0. if,
When the bus master in this module is set, input 1 to the signal line 49, and as a result, the switch 43 is turned on, and the switch 4 is turned on.
4 is turned off and the oscillation circuit oscillates at an intermediate frequency,
5CLK46, and is finally output to the bus clock on the common bus, serving as the bus clock supply source.

今、このモジュールがバスマスタではないとする。この
とき信号線49に0を入力してスイッチ43をCUFF
にし、そして位相比較器48を動作させる。この場合P
LL発振回路31の動作は次のように説明される。
Now assume that this module is not a bus master. At this time, input 0 to the signal line 49 and turn the switch 43 to CUFF.
and the phase comparator 48 is operated. In this case P
The operation of the LL oscillation circuit 31 will be explained as follows.

まず前提条件として、すべてのモジエール内のクロック
発振回路31の中間の発振周波数は十分な精度で一致し
ている。従って現在のバスマスタが出力しているバスク
ロックの周波数は、バスマスタではないすべてのモジュ
ールのクロック発振回路の高い発振周波数と低い発振周
波数との中間にある。そこで、バスマスタではないこの
モジュールにおいて、第4図(a)のタイミング図が示
すようにBCLK 47の立ち上がりに対して5CLK
 46の立ち上がりがすこし遅れているとする。このと
きD−フリップフロップ48には0がセットされ、スイ
ッチ44はOFFとなり、従って水晶発振回路は高い周
波数で発振し、5CLK 46の周期はBCLK 47
の周期より僅かに短かくなる。この結果、両者の立ち上
がりの時間差は除々に減少して行く。次に第4図(b)
のタイミング図が示すようにBCLK47の立ち上がり
に対して5CLK46の立ち上がりが少し進んでいると
する。このとき1)−7リツプフロツプ48に1がセッ
トされることによってスイッチ44がONとなり、水晶
発振回路は低い周波数で発振し、5CLK 46の周期
はBCLK 47の周期より僅かに長くなる。この結果
、両者の立ち上がりの時間差は除々に減少して行く。以
上の動作によって5CfGC46はBCLK 47に追
随し1両者の位相が一致するようになる。しかしながら
完全に位相が一致することなく、最大でD−フリップフ
ロッグ48の5etup time+hold tim
e程度のジッタが生じる。
First, as a precondition, the intermediate oscillation frequencies of the clock oscillation circuits 31 in all modules must match with sufficient precision. Therefore, the frequency of the bus clock output by the current bus master is between the high oscillation frequency and the low oscillation frequency of the clock oscillation circuits of all modules that are not bus masters. Therefore, in this module which is not a bus master, as shown in the timing diagram of FIG.
Suppose that the start-up of 46 is slightly delayed. At this time, the D-flip-flop 48 is set to 0, the switch 44 is turned off, and therefore the crystal oscillation circuit oscillates at a high frequency, and the period of 5CLK 46 is BCLK 47.
The period is slightly shorter than that of As a result, the time difference between the two rises gradually decreases. Next, Figure 4(b)
As shown in the timing diagram, it is assumed that the rise of 5CLK46 is slightly ahead of the rise of BCLK47. At this time, 1)-7 lip-flop 48 is set to 1, thereby turning on switch 44, causing the crystal oscillation circuit to oscillate at a low frequency, and the period of 5CLK 46 being slightly longer than that of BCLK 47. As a result, the time difference between the two rises gradually decreases. By the above operation, the 5CfGC 46 follows the BCLK 47, and the phases of the two coincide. However, the phases do not match completely, and the maximum is 5 etup time + hold time of D-flip frog 48.
A jitter of about e occurs.

D−7リツプ70ツグ48に74F74を用いた場合、
前記ジッタの典型的な値は4 ns程度であり、十分小
さい。
When using 74F74 for D-7 Lip 70 Tsug 48,
A typical value of the jitter is around 4 ns, which is sufficiently small.

第4図において50はロック状態検出回路、51はその
出力信号でi3図における信号線34と同一である。ロ
ック状態の検出は、wc5図に示すようにBCTLKの
立ち上がりに対しである定められた範囲内、即ちロック
状態の許容幅の中に5CLKの立ち上がりがあることを
検出することによって実現できる。このロック状態の許
容幅は先に述べたD−フリップフロッグ48によって生
じるジッタの大きざよりは大きくなくてはならない。
In FIG. 4, 50 is a lock state detection circuit, and 51 is its output signal, which is the same as the signal line 34 in FIG. i3. The lock state can be detected by detecting that the rise of 5CLK is within a certain range with respect to the rise of BCTLK, that is, within the allowable range of the lock state, as shown in the wc5 diagram. The allowable width of this locked state must be larger than the magnitude of jitter caused by the D-flip-frog 48 described above.

以上述べた本発明の実施例によれば、バスクロックに同
期した高速で単純なインタフェイス回路などの従来の同
期バズ方式の利点を残したまま、バスクロックの分散供
給によって耐故障性を向上させた同期バスシステムが実
現できる。例えば本実施例によれば、バスクロックはそ
の時点でのバスマスタが供給するので、共通バスに接続
されているどのモジコールが、故障などによってバスか
ら切り離されてもバスクロックの供給は妨げられず、バ
スオペレーションを続行できる。また、本実施例によれ
ばモジュール内のクロック発振回路とバスクロックとの
同期がはずれたことをロック状態検出信号によやて知る
ことができ、クロック回路の故障検出として役立つ。例
えば長時間同期が回復しないときはクロック回路の故障
と判断して、このモジュールをシステムから切離すなど
の処理が可能になる。更に本実施例では各モジコールが
水晶発振回路の発振周波数の微小変化を利用したクロッ
ク発生回路を持つので、共通バス上のバスクロック線に
ノイズなどのが乗って一時的にバスクロック信号の波形
が乱れたり、或は短期間のバスクロック信号の途絶があ
ったとしても各モジコール間のクロック発生回路に与え
る影響は小さく、各モジコール間の同期がずれることは
ほとんどない。この意味でも本実施例におけるバスシス
テムは耐故障性を持つ。更に、本実施例において何らか
の理由によってバスクロック線に大きな一時故障が発生
し、各モジュール内のクロック発生回路の同期がはずれ
たとすると、水晶発振回路の微小周波数変化によって除
々にバスクロック信号との位相合わせを行わなければな
らない為、同期の回復まで大きな時間(数ms程度)が
かかる可能性があるが、これは待機時間として役に立つ
According to the embodiment of the present invention described above, fault tolerance is improved by distributing the bus clock while retaining the advantages of the conventional synchronous buzz method such as a high-speed and simple interface circuit synchronized with the bus clock. A synchronous bus system can be realized. For example, according to this embodiment, the bus clock is supplied by the bus master at that time, so even if any module connected to the common bus is disconnected from the bus due to a failure or the like, the supply of the bus clock will not be interrupted. Bus operations can continue. Further, according to this embodiment, it is possible to know from the lock state detection signal that the clock oscillation circuit in the module has lost synchronization with the bus clock, which is useful for detecting a failure in the clock circuit. For example, if synchronization is not restored for a long time, it can be determined that the clock circuit has failed, and this module can be disconnected from the system. Furthermore, in this embodiment, each module has a clock generation circuit that utilizes minute changes in the oscillation frequency of the crystal oscillation circuit, so noise or the like may get on the bus clock line on the common bus and temporarily change the waveform of the bus clock signal. Even if there is a disturbance or a short-term interruption of the bus clock signal, the effect on the clock generation circuit between each module is small, and the synchronization between each module is almost never lost. In this sense as well, the bus system in this embodiment has fault tolerance. Furthermore, in this embodiment, if a major temporary failure occurs in the bus clock line for some reason and the clock generation circuits in each module become out of synchronization, the phase with the bus clock signal will gradually change due to a minute frequency change in the crystal oscillator circuit. Since synchronization must be performed, it may take a long time (about several milliseconds) to recover synchronization, but this is useful as a waiting time.

即ち、一般に一時故障が発生したとき、直ちに再試行す
るよりはしばらく時間をおいてから再試行する方が成功
する確率が高いが、本実施例ではロック状態検出信号に
よって同期の回復を持つことによって、自動的にこの待
機時間を得ることができる。
That is, in general, when a temporary failure occurs, the probability of success is higher if you try again after a while than if you try again immediately, but in this embodiment, by recovering synchronization using the lock state detection signal, , you can automatically get this waiting time.

最後に、実施例では水晶発振回路を用いたPLL発振回
路を示したが、本発明は特定のPLL発振回路方式に限
るものではないことを附記しておく。
Finally, although the embodiment shows a PLL oscillation circuit using a crystal oscillation circuit, it should be noted that the present invention is not limited to a specific PLL oscillation circuit system.

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

、第1図は本発明の同期型共通バスシステムを示す図、
第2図はモジュール内のクロック発生回路の一実施例を
示す図、第3図は上記クロック発生回路の詳細構成例を
示す図、第4図は本発明の実施例におけるPLLクロッ
ク発生回路の動作を説明する為のタイミング図、第5図
は本発明の実施例におけるロック状態検出信号の動作を
説明する為のタイミング図、第6図は従来の同期型バス
システムを示す図である。 21.22,23・・・データ処理システムを構成する
モジュール、15・・・バスクロック線、16・・・共
通バス、 40・・・発振回路。 2/、>223 第1図 χ く 第2図 第4図 第5図
, FIG. 1 is a diagram showing a synchronous common bus system of the present invention,
FIG. 2 is a diagram showing an example of the clock generation circuit in the module, FIG. 3 is a diagram showing a detailed configuration example of the clock generation circuit, and FIG. 4 is the operation of the PLL clock generation circuit in the embodiment of the present invention. FIG. 5 is a timing diagram for explaining the operation of the lock state detection signal in the embodiment of the present invention, and FIG. 6 is a diagram showing a conventional synchronous bus system. 21.22, 23...Module constituting the data processing system, 15...Bus clock line, 16...Common bus, 40...Oscillation circuit. 2/, >223 Figure 1 χ Figure 2 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 複数個のモジュールが同期型共通バスによって接続され
たデータ処理システムにおける前記同期型共通バスの制
御方式であって、 少なくともバスマスタとなり得るモジュールは内部にあ
る範囲内で周波数可変なクロック発振回路を持ち、 前記モジュール内のクロック発振回路は、同期型共通バ
ス上のバスクロックを参照信号とするPLL(phas
e Locked Loop)回路として構成され、前
記クロック発振回路の出力を前記バスクロックの変動に
追随させ、周波数と位相とを一致させる第1の機能と、
及び 前記モジュール内のクロック発振回路は、すべてのモジ
ュールにおいて十分な精度で一致しかつ発振周波数の変
化範囲のほぼ中央に位置するようなあらかじめ定められ
た一定周波数で発振し、前記共通バス上のバスクロック
線に出力してバスクロック線に出力してバスクロックの
供給源となる。 第2の機能とを持ち、 バス使用権を獲得してバスマスタとなったモジュール内
のクロック発振回路は前記第2の機能に従って動作し、
バス使用権を失なったモジュール及び他のバスマスタで
はないモジュールは前記第1の機能に従って動作するこ
と、 を特徴とした共通バス制御方式。
[Claims] A control method for a synchronous common bus in a data processing system in which a plurality of modules are connected by a synchronous common bus, wherein at least a module that can become a bus master has a variable frequency within an internal range. The module has a clock oscillation circuit, and the clock oscillation circuit in the module is a PLL (phas) that uses a bus clock on a synchronous common bus as a reference signal.
a first function configured as a (Locked Loop) circuit and causing the output of the clock oscillation circuit to follow fluctuations in the bus clock to match the frequency and phase;
and the clock oscillation circuit in the module oscillates at a predetermined constant frequency that matches with sufficient accuracy in all modules and is located approximately in the center of the range of variation of the oscillation frequency, and It outputs to the clock line and outputs to the bus clock line to serve as a bus clock supply source. a clock oscillation circuit in the module that has acquired the right to use the bus and has become the bus master operates according to the second function;
A common bus control system characterized in that a module that has lost the right to use the bus and other modules that are not bus masters operate according to the first function.
JP60100419A 1985-05-14 1985-05-14 Common bus control system Pending JPS61259357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60100419A JPS61259357A (en) 1985-05-14 1985-05-14 Common bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60100419A JPS61259357A (en) 1985-05-14 1985-05-14 Common bus control system

Publications (1)

Publication Number Publication Date
JPS61259357A true JPS61259357A (en) 1986-11-17

Family

ID=14273456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60100419A Pending JPS61259357A (en) 1985-05-14 1985-05-14 Common bus control system

Country Status (1)

Country Link
JP (1) JPS61259357A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02307151A (en) * 1989-05-23 1990-12-20 Yokogawa Electric Corp Processor system
US5920707A (en) * 1996-01-29 1999-07-06 Nec Corporation Bus controller and method therefor for supporting a live-line insertion/disconnection in a synchronous bus
US6810454B2 (en) * 1998-09-04 2004-10-26 Renesas Technology Corp. Information processing apparatus having a bus using the protocol of the acknowledge type in the source clock synchronous system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02307151A (en) * 1989-05-23 1990-12-20 Yokogawa Electric Corp Processor system
US5920707A (en) * 1996-01-29 1999-07-06 Nec Corporation Bus controller and method therefor for supporting a live-line insertion/disconnection in a synchronous bus
US6810454B2 (en) * 1998-09-04 2004-10-26 Renesas Technology Corp. Information processing apparatus having a bus using the protocol of the acknowledge type in the source clock synchronous system

Similar Documents

Publication Publication Date Title
US6297702B1 (en) Phase lock loop system and method
CN100438361C (en) Method for controlling master spare clock phase for synchronous digital system equipment
JPS61259357A (en) Common bus control system
US5867545A (en) Phase-locked loop circuit
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
JPS58139227A (en) Switching system of clock supplying circuit
KR100262945B1 (en) Digital Pll Control Method which using transition mode for synchronizing
JPH0964732A (en) Synchronization clock generating circuit
JP3132657B2 (en) Clock switching circuit
JP2715886B2 (en) Communication device
JPS6255717A (en) Supply system for common clock signal
JP2988410B2 (en) Clock synchronization system
JP2725530B2 (en) Clock supply method
JPH03190336A (en) Transmission and reception synchronizing circuit system
EP0868783B1 (en) Procedure and circuit for holding lock state in a digital pll
KR200185362Y1 (en) A device of protecting system clock
JPH0322706A (en) Pll device
JPH05300008A (en) Pll circuit
JPS6297429A (en) Phase locked loop oscillator
NZ206464A (en) Phase adjusting pulse corrector
JPH0934583A (en) Clock selection control system
JPS63176017A (en) Oscillator
JPS62169560A (en) Duplexed clock signal generator
JP2000022673A (en) Time division direction controlled transmission transmitter-receiver
JPH0951348A (en) Star-type communication system