JPS59127164A - Multi-system synchronizing device - Google Patents

Multi-system synchronizing device

Info

Publication number
JPS59127164A
JPS59127164A JP58002162A JP216283A JPS59127164A JP S59127164 A JPS59127164 A JP S59127164A JP 58002162 A JP58002162 A JP 58002162A JP 216283 A JP216283 A JP 216283A JP S59127164 A JPS59127164 A JP S59127164A
Authority
JP
Japan
Prior art keywords
clock
output
processing
counter
shared
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
JP58002162A
Other languages
Japanese (ja)
Inventor
Takeshi Hiroki
広木 武
Hiromasa Yamaoka
弘昌 山岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58002162A priority Critical patent/JPS59127164A/en
Publication of JPS59127164A publication Critical patent/JPS59127164A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To ensure the overall synchronization of systems and at the same time to attain synchronizing operation of a system as long as just one of processors is nondefective, by defining one of clocks which are owned properyly by plural processors respectively as a system shared clock. CONSTITUTION:A clock signal 28 produced by a clock generating circuit 21 is supplied to a counter 22, and to a clock feed line 10 through a buffer gate 26. While the output of the counter 22 is supplied to a comparator 23. If the coincidence is obtained between this output and the set value 24 which is proper to each of plural processors, a coincidence signal 29 is delivered. This signal 29 triggers a one-shot multivibrator 25, and the gate 26 of the clock 28 is opened by the output of the multivibrator 25. The output of the comparator 23 is also delivered to a shared clock setting line 11 to reset the counter 22 which is provided in each of those processors.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、固有のクロックによって動作する複数の装置
から成るシステムに係り、特に、複数の装置すべてを同
期運転し、かつ、一つの装置のクロック停止時は、他の
装置のクロックにより継続動作可能なりロック供給装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a system consisting of a plurality of devices that operate with their own clocks, and in particular, to a system that operates all the devices synchronously and uses the clock of one device. When stopped, the lock supply device is capable of continuing operation using the clock of another device.

〔従来技術〕[Prior art]

多種、多量のデータ処理を分割1分散して行なうための
マルチプロセッサシステム、あるいは、高信頼性を目的
とする多重化システムなど、特定の処理あるいは制御に
対し、複数の処理装置を用いる方式が、各方面に採用さ
れている。
A system that uses multiple processing devices for specific processing or control, such as a multiprocessor system that processes a large amount of data in a divided and distributed manner, or a multiplex system that aims for high reliability. It is used in various fields.

この様な方式では、システムがそのサービス対象への出
力をする際には、定まった時刻での情報をもとに処理を
実行し、定まった時刻に出力をしないと、換言すれば、
複数の処理装置間の同期をとっておかないと、システム
としての正常機能を果すことができない場合が少なくな
い。
In this type of system, when a system outputs to its service target, it executes processing based on information at a fixed time and does not output at a fixed time.In other words,
In many cases, a system cannot function normally unless synchronization is established between multiple processing devices.

従来、この様なシステムの同期をとる手段として、大別
すると次の様な方法がとられていた。
Conventionally, the following methods have been used to synchronize such systems.

(1)  システムの共通りロックを設ける。(1) Provide a common lock for the system.

(2]  入出力命令実行時、主要なタスク起動時、あ
るいは割込みなどにより同期をとる。
(2) Synchronize when executing an input/output instruction, when starting a major task, or using an interrupt.

しかし、(1)の方式では、共通りロックがシステム全
体を一つに結合しており、共通りロックの異常により、
システムダウンを導く可能性もあるなどの欠点があった
。これを避ける方法として、特公昭52−22219号
などがあるが、これも、共通りロックを2重化し、一方
が停止した場合に、他方に切替えるというもので、共通
りロックを設けるという点では、本質的に等しく、クロ
ック装置の電源断、切替器の異常などには対処できない
ものであった。
However, in method (1), the common lock connects the entire system into one, and an abnormality in the common lock may cause
There were drawbacks such as the possibility of system failure. There is a method to avoid this, such as Japanese Patent Publication No. 52-22219, but this also involves duplicating common locks and switching to the other when one stops. , are essentially the same, and cannot deal with power outages in clock devices, malfunctions in switching devices, etc.

また、(2)の方式の場合、同期ずれ、クロックの周波
数の微少誤差の累積等による、処理時間差の増大は避け
られず、例えば、外部に同期制御部を設けるなどして、
常に遅れ系に合わせた運転を行なっており、処理性、応
答性等に問題を残していた。
Furthermore, in the case of method (2), an increase in the processing time difference is inevitable due to synchronization deviations and the accumulation of minute errors in the clock frequency.
The system was always operated in accordance with the delay system, leaving problems with processing performance, responsiveness, etc.

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

本発明の目的は、複数の処理装置によって、一連の処理
を行なう、機能分散マルチシステムや冗長化マルチシス
テムにおいて、複数の処理装置各々が固有に持つクロッ
クのうちのひとつを、システム共有クロックとすること
により、システム全体の同期化を図るとともに、処理装
置のうち1つでも健全なりロックをもつ限り、システム
の同期運転を可能とするマルチシステムの同期化装置な
提供するにある。
An object of the present invention is to use one of the clocks unique to each of the plurality of processing units as a system shared clock in a functionally distributed multi-system or redundant multi-system in which a series of processing is performed by a plurality of processing units. By doing so, it is an object of the present invention to provide a multi-system synchronization device that can synchronize the entire system and enable synchronized operation of the system as long as at least one of the processing devices is healthy or has a lock.

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

本発明では、複数の処理装置各々が持つクロック源に対
し、それぞれクロック源のパルスのカウンタを設け、こ
の方つンタ値が、あらかじめ設定した値になると、この
カウンタを設けた装置が、他のすべての処理装置に対し
、同期信号を発することにより、システムを構成する複
数の処理装置は、常に、ある一つの処理装置の発するク
ロック信号により動作し、もし、クロック送出中の装置
のクロックが停止した場合には、一定時間以内に、他の
装置が替わってシステムクロックを供給することによシ
、システムの継続動作を確保する。
In the present invention, a pulse counter of each clock source is provided for each clock source of a plurality of processing devices, and when the counter value of this clock source reaches a preset value, the device provided with this counter By issuing a synchronization signal to the processing device, the multiple processing devices that make up the system will always operate based on the clock signal issued by one processing device, and if the clock of the device that is sending the clock stops, In this case, another device takes over and supplies the system clock within a certain period of time to ensure continued operation of the system.

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

以下、本発明の実施例を図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明を並列間合二重化システムに適用した
例である。
FIG. 1 is an example in which the present invention is applied to a parallel intermediate duplex system.

処理装置(以下CTR)12、CTR13は、夫々同一
の機能をもち、プラントからの入力情報をもとに演算処
理を行ない、制御出力15.16を出力照合切替器14
に出力する。出力照合切替器14は、CTR12,13
の出力を照合し、合理的出力と判断した信号を、制御出
力17として出力する。第1図において、10は共有ク
ロック供給線、11は共有クロック設定線である。また
、第2図は、CTR12,13あるいは、出力照合切替
器14.14’等の内部のクロック供給回路を示す。第
2図で、クロック発生回路21によって生成されたクロ
ック信号28は、一方はカウンタ22に入力し、他方は
、バッファゲート26を道って、クロック供給線10に
、供給される。
The processing units (hereinafter referred to as CTR) 12 and CTR 13 each have the same function, perform arithmetic processing based on input information from the plant, and output control outputs 15 and 16 to the output collation switch 14.
Output to. The output collation switch 14 has CTRs 12 and 13.
The outputs of the controller 10 are compared, and the signal determined to be a reasonable output is output as the control output 17. In FIG. 1, 10 is a shared clock supply line, and 11 is a shared clock setting line. Further, FIG. 2 shows a clock supply circuit inside the CTRs 12, 13 or the output collation switch 14, 14', etc. In FIG. 2, one of the clock signals 28 generated by the clock generation circuit 21 is input to the counter 22, and the other is supplied to the clock supply line 10 through the buffer gate 26.

一方、カウンタ22の出力は、比較器23に入力され、
複数の処理装置夫々に個有の設定値24と一致すると、
一致信号29が出力する。一致信号29は、ワンショッ
トマルチ25 ヲ) リガし、このワンショットマルチ
25の出力により、クロック28のバッファゲート26
が開く。
On the other hand, the output of the counter 22 is input to the comparator 23,
When it matches the setting value 24 unique to each of the plurality of processing devices,
A coincidence signal 29 is output. The coincidence signal 29 triggers the one-shot multi 25 wo), and the output of the one-shot multi 25 triggers the buffer gate 26 of the clock 28.
opens.

比較器29の出力は、さらに、共有クロック設定線11
に出力され、複数の処理装置全ての内部にあるカウンタ
22をリセットする。
The output of the comparator 29 is further connected to the shared clock setting line 11.
and resets the counters 22 inside all of the plurality of processing devices.

以上の動作により、クロック供給線には常に、複数の処
理装置のうち、その内部カウンタ22の値と、設定値が
一致できる処理装置唯一つのみが、クロック信号を供給
する。また、クロックを供給していた処理装置のクロッ
クが、何らかの異常により停止すると、ワンショットマ
ルチ25 FiトIJガされなくなり、この処理装置の
クロックバッファゲート26は禁止され、さらに、他の
健全な処理装置のカウンタ22がリセットされないので
、設定値までカウントが続行され、システムのクロック
は健全な処理装置によって供給されるようになる。
As a result of the above operation, only one processing device among the plurality of processing devices whose set value can match the value of its internal counter 22 always supplies the clock signal to the clock supply line. In addition, if the clock of a processing device that was supplying the clock stops due to some abnormality, the one-shot multi 25 Fito IJ will no longer be activated, the clock buffer gate 26 of this processing device will be prohibited, and other healthy processing will be disabled. Since the device's counter 22 is not reset, it will continue to count up to the set value and the system's clock will now be provided by a healthy processing unit.

以上の動作をタイムチャートで示したものが、第3図で
ある。すなわち、CTR12の内部のクロックにより、
時刻30で、CTR,12の個有の設定値24に達する
と、同期化信号30が出力され、CTR,12,13の
双方のカウンタがリセットされる。この時、ワンショッ
トマルチ25がトリガされ、CTR12のクロックがシ
ステムクロックとして、クロック供給線10に供給され
る。
FIG. 3 is a time chart showing the above operation. That is, by the internal clock of CTR12,
At time 30, when the unique set point 24 of CTR,12 is reached, a synchronization signal 30 is output and the counters of both CTR,12,13 are reset. At this time, the one-shot multi 25 is triggered and the clock of the CTR 12 is supplied to the clock supply line 10 as the system clock.

時刻32で、CTR12のクロックが停止したとすると
、CTR13のカウンタはリセットされないので、時刻
33に達すると、CTR13の個有の設定値24と合致
し、CTRI 3から、同期化信号29が出力され、C
TR,12,13のカウンタをリセットする。そして、
CTR,13のワンショットマルチ25がトリガされる
ことにより、バッファゲート26が開き、CTR13の
内部クロックが、システムクロックとして供給されるよ
うになる。この様にして動作は継続される。
Assuming that the clock of CTR 12 stops at time 32, the counter of CTR 13 is not reset, so when time 33 is reached, it matches the unique setting value 24 of CTR 13, and the synchronization signal 29 is output from CTRI 3. , C
Reset the counters of TR, 12, and 13. and,
When the one-shot multi 25 of the CTR 13 is triggered, the buffer gate 26 is opened and the internal clock of the CTR 13 is supplied as the system clock. Operation continues in this manner.

第2図では、クロック供給線10と、設定線11を独立
して持たせたが、他の実施例として第4図に示す様にす
ると、上記2本の線は、1本で共用することも可能であ
る。但し、この時システムクロックは、第3図に示す同
期化信号29となる。
In FIG. 2, the clock supply line 10 and the setting line 11 are provided independently, but in another embodiment as shown in FIG. 4, the two lines mentioned above can be shared by one line. is also possible. However, at this time, the system clock becomes the synchronization signal 29 shown in FIG.

また、クロックラインの断線等を考え、これを二重化、
三重化することも可能である。
In addition, in consideration of breakage of the clock line, etc., we have made it redundant.
It is also possible to triplex.

なお、図中31は時刻、40.41はクロック、50は
ドライバーである。
In addition, in the figure, 31 is a time, 40.41 is a clock, and 50 is a driver.

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

本発明によれば、システムの処理性、応答性および稼動
率の向上が図れる。
According to the present invention, it is possible to improve the processing performance, responsiveness, and operating rate of the system.

また、システム拡張時にも、容易に追加装置の同期化が
図れるので、拡張性も向上し、拡張に応じて、バックア
ップクロックが増設され、信頼性も向上する。
Further, when the system is expanded, additional devices can be easily synchronized, so expandability is improved, and backup clocks can be added in accordance with the expansion, improving reliability.

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

第1図は、本発明を並列照合2重化システムに適用した
場合のブロック図、第2図は本発明の主要部の回路図、
第3図は第2図の回路の動作タイミングチャート、第4
図は本発明の変形例のブロック図である。 10・・・クロック供給線、11・・・共有クロック設
定線、21・・・クロック生成回路、22・・・カウン
タ、23・・・比較器、24・・・設定値、26・・・
バッファゲート。 茅 1 目 $22 第  3  口 N、4.目 lθ 342−
FIG. 1 is a block diagram when the present invention is applied to a parallel matching duplex system, FIG. 2 is a circuit diagram of the main part of the present invention,
Figure 3 is an operation timing chart of the circuit in Figure 2;
The figure is a block diagram of a modification of the present invention. DESCRIPTION OF SYMBOLS 10... Clock supply line, 11... Shared clock setting line, 21... Clock generation circuit, 22... Counter, 23... Comparator, 24... Setting value, 26...
buffer gate. Kaya 1st $22 3rd mouth N, 4. Eye lθ 342-

Claims (1)

【特許請求の範囲】 1、複数の処理装置を用いて並列処理を行なうマルチシ
ステムにおいて、システム全体の同期化のための共有ク
ロック、共有クロック共給線、共有クロック設定線を設
けたことを特徴とするマルチシステムの同期化装置。 2、特許請求の範囲第り項において、複数の処理装置の
各々が、その内部に個有のクロックを使用することによ
シ、共有クロックを分散クロックとするとともに%N8
の処理装置から構成されるシステムでi、1:Nバック
アップ方式の多重化クロック供給手段を設けたことを特
徴とする、マルチシステムの同期化装置。 3、特許請求の範囲第2項の記載において、内部に個有
のクロックを持つ次数の処理装置において、各装置毎に
、自己の有するクロックを計数するカウンタと、このカ
ウンタの計数直が、複数の処理装置間で個有に設定され
た値に達するとパルスを発生する回路と、このパルス発
生回路の出力により、前記クロックを、前記共有クロッ
ク供給線に出力できるようにするバッファゲートとを設
けたことを特徴とするマルチシステムの同期化装置。 4、特許請求の範囲第3項において、複数の処理装置の
パルス発生回路からのパルスを、共有クロック設定線を
経由して、全ての処理装置のカウンタのリセット信号と
して出力し、個有に設定した値が最小な処理装置を、シ
ステムの共有クロック七することを特徴とするマルチシ
ステムの同期化装置。
[Claims] 1. In a multi-system that performs parallel processing using a plurality of processing devices, a shared clock, a shared clock co-supply line, and a shared clock setting line are provided for synchronizing the entire system. Multi-system synchronization device. 2. In claim 1, each of the plurality of processing devices uses its own internal clock, thereby making the shared clock a distributed clock and achieving %N8.
What is claimed is: 1. A multi-system synchronization device, characterized in that the system is comprised of processing units, and is provided with i,1:N backup type multiplexed clock supply means. 3. In the description of claim 2, in the order processing device having its own internal clock, each device has a counter that counts its own clock, and a plurality of counting units of this counter. a circuit that generates a pulse when a uniquely set value is reached between the processing devices; and a buffer gate that allows the clock to be output to the shared clock supply line by the output of the pulse generation circuit. A multi-system synchronization device characterized by: 4. In claim 3, the pulses from the pulse generation circuits of the plurality of processing devices are outputted as a reset signal for the counters of all the processing devices via a shared clock setting line, and set individually. A multi-system synchronization device characterized in that the processing unit with the smallest value is used as the shared clock of the system.
JP58002162A 1983-01-12 1983-01-12 Multi-system synchronizing device Pending JPS59127164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58002162A JPS59127164A (en) 1983-01-12 1983-01-12 Multi-system synchronizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58002162A JPS59127164A (en) 1983-01-12 1983-01-12 Multi-system synchronizing device

Publications (1)

Publication Number Publication Date
JPS59127164A true JPS59127164A (en) 1984-07-21

Family

ID=11521657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58002162A Pending JPS59127164A (en) 1983-01-12 1983-01-12 Multi-system synchronizing device

Country Status (1)

Country Link
JP (1) JPS59127164A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227813A (en) * 1985-07-29 1987-02-05 Hitachi Ltd Phase synchronization system
JP2013246668A (en) * 2012-05-28 2013-12-09 Fujitsu Ltd Communication device
JP2015173414A (en) * 2014-03-12 2015-10-01 株式会社デンソー Electronic controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227813A (en) * 1985-07-29 1987-02-05 Hitachi Ltd Phase synchronization system
JPH0433056B2 (en) * 1985-07-29 1992-06-02 Hitachi Ltd
JP2013246668A (en) * 2012-05-28 2013-12-09 Fujitsu Ltd Communication device
JP2015173414A (en) * 2014-03-12 2015-10-01 株式会社デンソー Electronic controller

Similar Documents

Publication Publication Date Title
US4497059A (en) Multi-channel redundant processing systems
US4358823A (en) Double redundant processor
US5339404A (en) Asynchronous TMR processing system
US7761726B2 (en) Method and apparatus for fault tolerant time synchronization mechanism in a scaleable multi-processor computer
JPH01258057A (en) Synchronous method and apparatus for a plurality of processors
JPH04350758A (en) Workstation having multiprocessing capability
US4703452A (en) Interrupt synchronizing circuit
CA2498596A1 (en) Method for event synchronisation, especially for processors of fault-tolerant systems
JPS59127164A (en) Multi-system synchronizing device
JP2573297B2 (en) Digital controller for power control
US6587957B1 (en) Disk drive controller for controlling data flow therethrough by switching to secondary bus to receive clock pulses when a failure on master bus is detected
KR100406863B1 (en) Device for generating clock of multi-computer system
EP0800136B1 (en) Fault tolerant clock signal source for triplicated data processing system
RU201248U1 (en) FOUR-CHANNEL CONTROL SYSTEM
JPS5843775B2 (en) Processor backup system
JP2590239B2 (en) Lock circuit lock acquisition method
SU1686454A1 (en) Multiprocessor system
SU1397917A1 (en) Two-channel device for checking and restoring processor systems
JPS59176863A (en) Timer synchronizing system
SU1686455A1 (en) Multiprocessor system
JP2588290B2 (en) Data input / output system
JPS5899865A (en) Multiplexing operation processing synchronizing system
SU458829A1 (en) Computer system synchronization device
KR830002853B1 (en) Multi-processor control method
SU1365086A1 (en) Device for checking control units