JPH01173255A - Synchronizing system for plural cpu's - Google Patents

Synchronizing system for plural cpu's

Info

Publication number
JPH01173255A
JPH01173255A JP62333483A JP33348387A JPH01173255A JP H01173255 A JPH01173255 A JP H01173255A JP 62333483 A JP62333483 A JP 62333483A JP 33348387 A JP33348387 A JP 33348387A JP H01173255 A JPH01173255 A JP H01173255A
Authority
JP
Japan
Prior art keywords
cpu
time
output
clock
processing
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
JP62333483A
Other languages
Japanese (ja)
Inventor
Yasumi Konya
紺家 安美
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 JP62333483A priority Critical patent/JPH01173255A/en
Publication of JPH01173255A publication Critical patent/JPH01173255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To acquire synchronism free from difference in a minimum time unit used for data processing by detecting the time difference between respective internal clocks of a main CPU and a sub-CPU, which perform the same processing for the same data, to switch the transmission of a processing output. CONSTITUTION:Internal clocks in the minimum time unit used for data processing are generated by respective internal clock means 110 and 120 of a main CPU 11 and a sub-CPU 12 synchronously with the clock from a fundamental clock generating means 10. Each of time difference detecting means 111 and 121 detects the time difference between the internal clock of corresponding one of CPUs 12 and 11 and that of the other; and when the internal clock of the other CPU is delayed by the minimum time unit or longer, an interruption occurs by the detection output and the processing output passing an I/O device 14 is switched to the output of one CPU through a switching means 13, and a timer counter is counted up by corresponding one of counting-up means 112 and 122 of one CPU. Thus, plural CPUs are so synchronized that the difference is not generated in the minimum time unit used for data processing.

Description

【発明の詳細な説明】 [概要コ オンラインでデータ処理を行う複数のCPUの処理同期
方式に関し、 外部の基本クロックに同期する内部クロック手段を備え
る複数のCPUが、相互にデータ処理に用いられる最小
時間単位で差異が生じないように同期をとる複数CPU
の同期方式を提供することを目的とし、 同一のデータについて同一の処理を実行するメインCP
UとサブCPUとが同一のデータについて夫々の内部ク
ロックに基づく時間要素を含む処理を実行するオンライ
ンデータ処理装置において、各CPUに外部の基本クロ
ック発生手段からの最小時間単位で同期をとる内部クロ
ック手段と、他CPUの内部クロック手段と自CPUの
内部クロック手段の出力を比較して所定時間以上他系C
PUの内部クロックの時刻が自系CPUの内部クロック
時刻より遅れると出力を発生する時刻差検出手段とを設
け、前記時刻差検出手段から出力が発生すると、CPU
の内部タイマーを歩進させ自系CPUの処理出力を外部
入出力装置へ送出するよう切換えるよう構成する。
Detailed Description of the Invention [Summary Regarding a processing synchronization method for multiple CPUs that perform data processing online, multiple CPUs equipped with internal clock means synchronized with an external basic clock are mutually used for data processing. Multiple CPUs that are synchronized so that there are no differences in time units
The purpose is to provide a synchronization method for the main CP that performs the same processing on the same data.
In an online data processing device in which the U and sub-CPU execute processing that includes a time element based on their respective internal clocks on the same data, each CPU has an internal clock that synchronizes in minimum time units from an external basic clock generation means. means, and compares the outputs of the internal clock means of the other CPU and the internal clock means of the own CPU, and waits for a predetermined time or longer.
and time difference detection means that generates an output when the time of the internal clock of the PU lags behind the internal clock time of the CPU of its own system, and when the time difference detection means generates an output, the CPU
The CPU is configured to increment an internal timer and switch to send the processing output of its own CPU to an external input/output device.

[産業上の利用分野] 本発明は、オンラインでデータ処理を行う複数のCPU
の処理同期方式に関する。
[Industrial Field of Application] The present invention is directed to a plurality of CPUs that perform online data processing.
Regarding the processing synchronization method.

オンラインデータ処理は、各種の分野において広く行わ
れ、実時間で入力されるデータを処理して出力を発生す
るプラント用のプロセスコントロール(電力制御、ネッ
トワーク制御等)や、オンラインデータサービス等の実
時間で人力するデータを処理して広く公衆に対し有料の
データサービスをする場合等の時々刻々に変化するデー
タを利用者の要求により出力するサービスも実行される
ようになった。
Online data processing is widely used in various fields, including process control for plants (power control, network control, etc.) that processes input data in real time and generates output, and real-time data processing such as online data services. Services that process data manually and output constantly changing data at the request of users, such as when providing paid data services to the public at large, have come to be implemented.

このような場合のデータ処理を行う場合、システムの信
顛性を向」ニさせるため、複数のCPUを設けて片方を
メイン系他方をザブ系として使用して夫々で同一処理を
行い、メイン系のCPUが停止するとサブ系のCPUが
継続して出力する機能を備える方式がとられる。
When performing data processing in such cases, in order to improve the reliability of the system, install multiple CPUs, use one as the main system and the other as a subsystem, each performing the same processing, and A method is adopted in which the CPU of the subsystem has a function to continue outputting when the CPU of the subsystem stops.

ところが、このような複数CPUを備えるシステムの場
合、前記のオンラインデータサービスの実行中にCPU
の切換えがあると、処理データの内容に差異、矛盾があ
ってはならない。すなわち、複数のCPU相互の処理結
果がどの時点でも同一である(これを処理同期という)
ことが要求される。
However, in the case of such a system equipped with multiple CPUs, the CPU
When switching occurs, there must be no difference or contradiction in the contents of the processed data. In other words, the processing results of multiple CPUs are the same at any point in time (this is called processing synchronization)
This is required.

特に、処理の対象となる情報に実時間要素が含まれる場
合は、複数のCPUの時間処理を行うための基準となる
時間情報を与えるクロックが同期することが要求される
。しかも処理同期をとるためには処理に用いる時間の最
小時間単位で各CPUを基準クロックでとる必要がある
In particular, when the information to be processed includes a real-time element, it is required that clocks providing time information serving as a reference for performing time processing of a plurality of CPUs be synchronized. Moreover, in order to synchronize the processing, it is necessary to use the reference clock for each CPU in the minimum time unit of time used for processing.

なお、このクロックは計算機のマシーンクロック (オ
ペレーティングシステムの処理に使用される)とは異な
り、時間要素を含むデータを処理する際に使用する時間
情報の発生[(ハードタイマによるクロック)を意味す
る。前記マシーンクロックを2重系のCPUにおいて外
部からの周期的な基本クロックにより同期をとると、一
定周期毎にマシーンクロックが変化する可能性が生じ、
各種の制御にマシーンクロックを用いるオペレーティン
グシステムの動作に支障をきたす。
Note that this clock is different from a computer's machine clock (used for operating system processing), and refers to the generation of time information (clock by a hard timer) used when processing data that includes a time element. When the machine clock is synchronized with a periodic basic clock from the outside in a dual-system CPU, there is a possibility that the machine clock changes at regular intervals,
This can interfere with the operation of operating systems that use machine clocks for various controls.

ところが、最小時間単位を例えば、1秒という単位にす
ると、基準クロックの1秒出力毎に複数の各CPUにク
ロック同期処理のための割込みがかかり、CPUが本来
処理すべきオンラインデータ処理に影響を与えることに
なる。
However, if the minimum time unit is set to 1 second, for example, an interrupt will be generated for each CPU for clock synchronization processing every 1 second of the reference clock output, which will affect the online data processing that the CPUs are supposed to process. will give.

そのため外部から供給される同期用の基本クロックの周
期としては1分く60秒)が採用され、分毎に発生する
信号を基本クロックとして用いる。
Therefore, the cycle of the basic clock for synchronization supplied from the outside is 1 minute (60 seconds), and a signal generated every minute is used as the basic clock.

ところがそのように1分毎の基本クロックではメインと
サブの両CPUの内部クロックは必ずしもオンラインデ
ータ処理に用いる時間巣位の最小時間単位(少なくとも
秒)において一致しない。
However, with such a one-minute basic clock, the internal clocks of both the main and sub CPUs do not necessarily match in the minimum time unit (at least seconds) used for online data processing.

そのため、両CPUを最小時間単位で同期する方式の実
現が望まれていた。
Therefore, it has been desired to realize a system that synchronizes both CPUs in minimum time units.

[従来の技術] 第3図に従来例のブロック構成を示す。[Conventional technology] FIG. 3 shows a block configuration of a conventional example.

第3図において、30は基本クロック発生回路、31は
メインcpu、32はサブcpu、33はメインCPU
3 LとサブCPU32の何れのデータ処理結果をI1
0装置34へ出力するかの選択を行う切換回路、34は
CPUにより処理された結果のデータを受は入れて利用
する装置であり、プロセス制御の場合は制御データを入
力する装置であり、データサービスの場合は表示装置付
キーボード端末等のI10装置を表す。
In FIG. 3, 30 is a basic clock generation circuit, 31 is a main CPU, 32 is a sub-CPU, and 33 is a main CPU.
3 Which data processing result of L and sub CPU32 is I1?
0 device 34; 34 is a device that accepts and uses the data processed by the CPU; in the case of process control, it is a device that inputs control data; In the case of a service, it represents an I10 device such as a keyboard terminal with a display device.

従来例の構成において、メインCPU31とサブCPU
32のクロック回路310.320は共に基本クロック
発生回路30から一定周期(1分)毎に発生するパルス
により同期がとられ、夫々最小単位時間(秒)で内部ク
ロックを発生ずる。
In the conventional configuration, the main CPU 31 and the sub CPU
The 32 clock circuits 310 and 320 are both synchronized by pulses generated from the basic clock generation circuit 30 at regular intervals (1 minute), and each generates an internal clock in a minimum unit time (second).

メイン系CPU31とサブ系CPU32は同一のデータ
について夫々内部クロック回路310と320の最小単
位時間により時間要素を用いるデータ処理を実行する。
The main system CPU 31 and the sub system CPU 32 execute data processing using time elements on the same data using the minimum unit time of internal clock circuits 310 and 320, respectively.

そして、メイン系のクロックが停止または処理が停止す
ると、切換回路33が駆動されて切換わり、サブCPU
32の処理結果がI10装置34に供給されるものであ
る。
Then, when the main system clock stops or processing stops, the switching circuit 33 is driven and switches, and the sub CPU
32 processing results are supplied to the I10 device 34.

[発明が解決しようとする問題点] 従来例の方式によれば、第3図に示す基本クロック発生
回路30の時間単位でメイン系CPU31とサブ系CP
U32の両方の内部クロック回路310と320の同期
をとる構成である。
[Problems to be Solved by the Invention] According to the conventional system, the main system CPU 31 and the sub system CPU
This configuration synchronizes both internal clock circuits 310 and 320 of U32.

このため基本クロックの周期より短い最小時間単位で処
理する必要があるデータ、例えば処理に短時間の時間要
素を含む情報(情報−丁 (時間):例えば速度情報)
)の場合、夫々の内部クロック310.320を元にせ
ざるを得ない。
For this reason, data that needs to be processed in a minimum time unit shorter than the basic clock cycle, such as information that includes a short time element for processing (information - time (time): speed information, for example)
), the respective internal clocks 310 and 320 must be used as the basis.

しかしなから、内部クロック310.320は基本クロ
ックのパルスの間隔において互いに非同期でかつクロッ
ク誤差が加算されるという欠点があり、夫々のデータ処
理の結果が同一にならないことになる。
However, the internal clocks 310 and 320 have the drawback that they are asynchronous with each other in the pulse interval of the basic clock and clock errors are added, so that the results of each data processing will not be the same.

このような場合、2つのCPUの出力データが不一致と
なり、一方のCPU系から他方のCPU系に切換えた時
に出力データが連続しないという問題が生していた。
In such a case, the output data of the two CPUs do not match, resulting in a problem that the output data is not continuous when switching from one CPU system to the other CPU system.

本発明は外部の基本クロックに同期する内部クロ・7り
手段を備える複数のCPtJが、相互にデータ処理に用
いられる最小時間単位で差異が生しないように同期をと
る複数CPUの同期方式を提供することを目的とする。
The present invention provides a synchronization method for multiple CPUs that synchronizes a plurality of CPtJs, each of which is equipped with an internal clock/clockwise means that synchronizes with an external basic clock, so that there is no difference in the minimum time unit used for mutual data processing. The purpose is to

[問題点を解決するための手段] 本発明の原理的構成を第1図に示す。[Means for solving problems] The basic configuration of the present invention is shown in FIG.

第1図において、10は外部の基本クロック発生手段、
11はメインCPU、12はサブcpu。
In FIG. 1, 10 is an external basic clock generating means;
11 is the main CPU, and 12 is the sub CPU.

13は切換手段、14はI10装置を示す。13 is a switching means, and 14 is an I10 device.

メインCPUI 1とサブCPUは同様の構成であり、
内部クロック手段110.120、時刻差検出手段11
1,121および歩進手段112.122とを備える。
Main CPU 1 and sub CPU have the same configuration,
Internal clock means 110, 120, time difference detection means 11
1,121 and stepping means 112,122.

なお、第1図のこの原理的構成ではCPUが2台設置さ
れた場合を示すが3台以上の場合も同様に構成できるも
のである。
Note that although this basic configuration in FIG. 1 shows the case where two CPUs are installed, the configuration can be similarly configured in the case of three or more CPUs.

本発明は、外部の基本クロック発生手段により一定周期
で同期がとられるメインCPUとサブCPUの各内部ク
ロック手段の時刻は、メインとサブの両CPU内の時刻
差検出手段において比較され、他系CPUの内部クロッ
クの方が自系の内部クロックより最小時間単位以上遅れ
ていることを検出すると自己のデータ処理結果をI10
装置へ出力するよう切換えるとともに割込みを発生させ
て自己のタイマカウンタを歩進させるものである。
In the present invention, the times of the internal clock means of the main CPU and the sub-CPU, which are synchronized at regular intervals by an external basic clock generation means, are compared in the time difference detection means in both the main and sub-CPUs, and When it is detected that the internal clock of the CPU is delayed by more than the minimum time unit than the internal clock of its own system, the result of its own data processing is
It switches the output to the device, generates an interrupt, and increments its own timer counter.

[作用] 第1図において、基本クロック10からは一定周期(1
分)で同期パルスが発生し、これを受けて、メインCP
UIIとサブCPU12は夫々内部クロック手段110
と120を同期処理を実行する。内部クロック手段11
0.120は夫々この同期パルスをスタートにして処理
の最小時間単位のクロック(例えば秒単位)を独自に発
生して時間計数を実行する(ハードタイマ)。
[Operation] In FIG. 1, from the basic clock 10 there is a constant period (1
A synchronization pulse is generated at the main CP
The UII and sub CPU 12 each have an internal clock means 110.
and 120 to execute synchronization processing. Internal clock means 11
0.120 each starts from this synchronization pulse and independently generates a clock (for example, in seconds) for the minimum time unit of processing to execute time counting (hard timer).

この内部クロック手段の時刻は相互に各CPU11と1
2内にもうけられた時刻差検出手段111と121にお
いて常に比較される。この比較において、自系のCPU
の内部クロック手段の時刻より他系CのUの内部クロッ
ク手段の時刻が一定時間以上遅くなったことを検出する
と出力が発生し、その出力は切換手段13に供給される
とともに自己の歩進手段(112または122)に供給
される。
The time of this internal clock means is mutually determined by each CPU 11 and 1.
The time difference detection means 111 and 121 provided in 2 are constantly compared. In this comparison, the own CPU
When it is detected that the time of the internal clock means of U of the other system C is delayed by a certain period of time or more than the time of the internal clock means of the other system C, an output is generated, and the output is supplied to the switching means 13 and also to the own stepping means. (112 or 122).

切換手段13は、出力を発生した時刻差検出手段が設け
られたCPUの処理結果である出力データをI10装置
14へ供給していた場合はその状態を維持し、その時他
系のcpuがI10装置14へ出力されていた場合は切
換を行い、自系CPUの出力データをl10ii14へ
出力する。
If the switching means 13 is supplying the output data, which is the processing result of the CPU equipped with the time difference detection means that generated the output, to the I10 device 14, the switching means 13 maintains that state, and at that time, the CPU of the other system switches to the I10 device. If the data has been output to l10ii14, switching is performed and the output data of the own system CPU is output to l10ii14.

また、歩進手段112.122は夫々の時刻差検出手段
からの出力が発生していない時に自系と他系の内部クロ
ック手段の抄出力を受けて、最小時間単位で割込みを発
生し、夫々のCPU内のメモリエリアに設定されたタイ
マ(インターバルタイマの形式)を歩進(カウントアン
プ)して、1つだけ時刻計数値を歩進させる。
Further, the stepping means 112 and 122 receive the short outputs of the internal clock means of the own system and the other system when no output is generated from the respective time difference detecting means, and generate an interrupt in the minimum time unit. A timer (interval timer format) set in the memory area of the CPU is incremented (count amplifier) to increment the time count value by one.

この歩進により歩進したタイマは、アプリケーション処
理において必要に応し利用可能に設定されている。
The timer incremented by this step is set to be usable as necessary in application processing.

このような時刻差検出手段による時刻差の検出は、基本
クロック発生手段10からの同期パルス発生の後、次の
周期の同期パルスが到来するまでの中間の区間で行われ
るもので、その時刻差はそれほど大きくなることはない
(次の基本クロックのパルスで同期するから)。
Detection of the time difference by such a time difference detection means is performed in an intermediate interval after the synchronization pulse is generated from the basic clock generation means 10 until the arrival of the synchronization pulse of the next cycle. will not become very large (because it will synchronize with the next basic clock pulse).

さらに時刻差検出手段による相互の内部クロック手段の
時刻差の比較により、自系の内部クロックの障害を監視
することができ、他系CPUの動作停止を監視すること
もできる。
Furthermore, by comparing the time differences between the mutual internal clock means using the time difference detection means, it is possible to monitor failures in the internal clocks of the own system, and also to monitor whether the CPUs of other systems have stopped operating.

[実施例] 本発明の実施例のブロック構成を第2図に示す。[Example] FIG. 2 shows a block configuration of an embodiment of the present invention.

第2図において、20は基本クロ・ツク発生回路、21
はメインCPU、22はサブCPU、23は切換回路、
24はI10装置を表す。
In FIG. 2, 20 is a basic clock generation circuit, 21
is the main CPU, 22 is the sub CPU, 23 is the switching circuit,
24 represents the I10 device.

実施例の構成の動作を説明すると、基本クロ・ツク発生
回路20から1分間隔に発生するクロ・ツクパルスはメ
インCPU21とサブCPU22の秒換算クロック回路
210.220に供給されてその都度同期処理が行われ
る。この後秒換算クロ・ツタ回路210と220は夫々
独立した秒単位のクロック時刻の発生を行うが、ミクロ
的に差異が生し、その差異が加算されて秒単位で差が生
しる場合がある。
To explain the operation of the configuration of the embodiment, clock pulses generated at one minute intervals from the basic clock generation circuit 20 are supplied to the second conversion clock circuits 210 and 220 of the main CPU 21 and the sub CPU 22, and synchronization processing is performed each time. It will be done. Thereafter, the second-equivalent clock time circuits 210 and 220 generate independent clock times in seconds, but microscopic differences may occur, and these differences may be added up to produce a difference in seconds. be.

各秒換算クロック回路の状態出力は時刻出力回路212
.223を介して夫々他CPU系内の時刻入力回路21
1.221に人力される。その時刻入力回路211と2
21の時刻情報は夫々時刻差検出回路212と222へ
他系の入力として供給され、自系の秒換算クロ・ツク回
路210と220の各時刻情報を受は入れて、自系の時
刻情報に対する他系時刻情報の遅れが1秒以上有るかど
うかを検出する。
The status output of each second conversion clock circuit is provided by the time output circuit 212.
.. 223 to the time input circuit 21 in each other CPU system.
It will be powered by humans on 1.221. The time input circuits 211 and 2
The time information of 21 is supplied to the time difference detection circuits 212 and 222 as inputs of other systems, and receives the time information of the second conversion clock circuits 210 and 220 of the own system, and calculates the time information of the own system. Detects whether there is a delay of 1 second or more in other system time information.

メインCPU21の場合について説明すると、時刻差検
出回路212は、時刻入力回路211の他系時刻情報が
自系の秒換算クロック回路210の時刻情報より最小時
間単位(1秒)以上遅れると、出力信号を発生して切換
信号送出回路214に供給する。
To explain the case of the main CPU 21, the time difference detection circuit 212 outputs an output signal when the time information of the other system of the time input circuit 211 lags the time information of the second conversion clock circuit 210 of the own system by a minimum time unit (1 second) or more. is generated and supplied to the switching signal sending circuit 214.

この切換信号送出回路214はこの出力信号に応じて、
切換回路23に対し信号を送出する。切換回路23はC
PU21からの切換信号を受取ると、I10装置24へ
出力する処理結果のデータが他系CPU22から供給し
ていた場合、これを自系CPU21の出力データが供給
されるよう切換える。
This switching signal sending circuit 214 responds to this output signal by
A signal is sent to the switching circuit 23. The switching circuit 23 is C
When the switching signal from the PU 21 is received, if the processing result data to be output to the I10 device 24 is supplied from the other system CPU 22, it is switched so that the output data of the own system CPU 21 is supplied.

割込み回路215(225)は通常状態では時刻入力回
路よって発生ずる割込みを使用し、この時点ではメイン
CPU21、ザブCPU22ともに最小時間単位で完全
同期している。
In the normal state, the interrupt circuit 215 (225) uses an interrupt generated by the time input circuit, and at this point, both the main CPU 21 and the sub CPU 22 are completely synchronized in the minimum time unit.

一方、サブCPU22が停止するとメインCPU21は
、秒換算のクロック回路210の最小時間単位で割込動
作する。
On the other hand, when the sub CPU 22 stops, the main CPU 21 performs an interrupt operation in the minimum time unit of the clock circuit 210 in terms of seconds.

また、切換信号送出回路214の出力は割込み回路21
5に入力される。
Furthermore, the output of the switching signal sending circuit 214 is transmitted to the interrupt circuit 21.
5 is input.

すなわち、時刻入力回路211の出力がハイレベルで、
相手サブCPU22の時刻出力回路223からの出力が
あると、それにともないオン、オフする。
That is, the output of the time input circuit 211 is at a high level,
When there is an output from the time output circuit 223 of the partner sub CPU 22, it turns on and off accordingly.

一方、切換信号送出回路214から自系切換えの“0”
信号が出力されていると秒換算クロ・ツク回路210か
らの信号のオン、オフが有効となり割込回路215の出
力が割込み信号としてCPUへ加わる。
On the other hand, the switching signal sending circuit 214 outputs “0” for self-system switching.
When the signal is being output, the ON/OFF state of the signal from the second conversion clock circuit 210 becomes valid, and the output of the interrupt circuit 215 is applied to the CPU as an interrupt signal.

[発明の効果] 本発明によればメインCPUとサブCPUの内部クロッ
ク回路の時刻同期をとることができ、時間要素を含む処
理情報を両CPUの出力において完全に一致させること
ができる。また、切換えを行う時も時刻最小単位に同期
して切換えを行えるため遅滞なくI10装置(利用装置
)を自系に切換接続することができ、外部へ与える影響
を最小限にすることができる。
[Effects of the Invention] According to the present invention, it is possible to synchronize the internal clock circuits of the main CPU and the sub-CPU, and it is possible to completely match processing information including a time element in the outputs of both CPUs. Further, when switching is performed, the switching can be performed in synchronization with the minimum time unit, so the I10 device (utilizing device) can be switched and connected to the own system without delay, and the influence on the outside can be minimized.

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

第1図は本発明の原理的構成を示す図、第2図は本発明
の実施例構成を示す図、第3図は従来例のブロック構成
を示す図である。 第1図中、 10:外部の基本クロック発生手段 11:メインCPU 12:サブcpu 13:切換手段 14:I/○装置 110.120:内部クロック手段 111.121:時刻差検出手段 112.122:歩進手段
FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is a diagram showing the configuration of an embodiment of the present invention, and FIG. 3 is a diagram showing the block configuration of a conventional example. In Fig. 1, 10: External basic clock generation means 11: Main CPU 12: Sub CPU 13: Switching means 14: I/O device 110.120: Internal clock means 111.121: Time difference detection means 112.122: stepping means

Claims (1)

【特許請求の範囲】 同一のデータについて同一の処理を実行するメインCP
U(11)とサブCPU(12)とが同一のデータにつ
いて夫々の内部クロックに基づく時間要素を含む処理を
実行するオンラインデータ処理装置において、 各CPU(11、12)に外部の基本クロック発生手段
(10)からの最小時間単位で同期をとる内部クロック
手段(110、120)と、他CPUの内部クロック手
段と自CPUの内部クロック手段の出力を比較して所定
時間以上他系CPUの内部クロックの時刻が自系CPU
の内部クロック時刻より遅れると出力を発生する時刻差
検出手段(111、121)とを設け、 前記時刻差検出手段(111、121)から出力が発生
すると、自系CPUの処理出力を外部入出力装置へ送出
するよう切換えることを特徴とする複数CPUの同期方
式。
[Claims] Main CP that executes the same processing on the same data
In an online data processing device in which a U (11) and a sub CPU (12) execute processing including a time element based on their respective internal clocks on the same data, each CPU (11, 12) has an external basic clock generation means. Internal clock means (110, 120) that synchronizes in the minimum time unit from (10) and the internal clock of the other CPU for a predetermined time or more by comparing the outputs of the internal clock means of the other CPU and the internal clock means of the own CPU. The time of the local CPU
and a time difference detection means (111, 121) that generates an output when it lags behind the internal clock time of the system, and when an output is generated from the time difference detection means (111, 121), the processing output of the CPU of its own system is sent to the external input/output. A synchronization method for multiple CPUs characterized by switching to send data to a device.
JP62333483A 1987-12-28 1987-12-28 Synchronizing system for plural cpu's Pending JPH01173255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62333483A JPH01173255A (en) 1987-12-28 1987-12-28 Synchronizing system for plural cpu's

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62333483A JPH01173255A (en) 1987-12-28 1987-12-28 Synchronizing system for plural cpu's

Publications (1)

Publication Number Publication Date
JPH01173255A true JPH01173255A (en) 1989-07-07

Family

ID=18266566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62333483A Pending JPH01173255A (en) 1987-12-28 1987-12-28 Synchronizing system for plural cpu's

Country Status (1)

Country Link
JP (1) JPH01173255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014104928A (en) * 2012-11-29 2014-06-09 Toyota Motor Corp Coaxial two-wheeled mobile, and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014104928A (en) * 2012-11-29 2014-06-09 Toyota Motor Corp Coaxial two-wheeled mobile, and its control method

Similar Documents

Publication Publication Date Title
JP3424901B2 (en) Synchronization method and synchronization method for multiplex system controller
US4835728A (en) Deterministic clock control apparatus for a data processing system
US5570397A (en) Redundant synchronized clock controller
US4329652A (en) Apparatus for synchronization control of a plurality of inverters
CN113282134B (en) Device and method for realizing time synchronization of hot backup triple-modular redundancy computer
US7284142B2 (en) Real time interrupt module for operating systems and time triggered applications
US20040078614A1 (en) Fault-tolerant synchronisation device for a real-time computer network
JPH01173255A (en) Synchronizing system for plural cpu's
JPH06104882A (en) Network synchronizing clock supply device
KR100237545B1 (en) Time and frequency generating device in cdma system
KR100406863B1 (en) Device for generating clock of multi-computer system
JP3314791B2 (en) Synchronization method for multiprocessor systems
JPH11143841A (en) Collation circuit
KR100205031B1 (en) Synchronous controlling system of dual control system
KR100198416B1 (en) Synchronization monitor circuit for duplicated control system
JP2588290B2 (en) Data input / output system
JPH07281785A (en) Processor system
JPH0635739A (en) Switching control system
JP3930641B2 (en) Switching method and switching system for active and standby systems
KR100455340B1 (en) Synchronized signal generation circuit
JPH07248803A (en) Synchronizing device for dual device
JP2715547B2 (en) Transmission equipment parent / child station replacement system
JP2800767B2 (en) Interrupt control method
JPH0898263A (en) Remote supervisory and control equipment and time synchronizing device
KR100233903B1 (en) Method for decision of active/standby for duplex and circuit thereof