JPS593677A - Parallel synchronous operation control method - Google Patents

Parallel synchronous operation control method

Info

Publication number
JPS593677A
JPS593677A JP57114318A JP11431882A JPS593677A JP S593677 A JPS593677 A JP S593677A JP 57114318 A JP57114318 A JP 57114318A JP 11431882 A JP11431882 A JP 11431882A JP S593677 A JPS593677 A JP S593677A
Authority
JP
Japan
Prior art keywords
signal
frequency
clock
frequency division
divided
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.)
Granted
Application number
JP57114318A
Other languages
Japanese (ja)
Other versions
JPS6337421B2 (en
Inventor
Kenichi Taki
滝 賢一
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.)
Kanadevia Corp
Original Assignee
Hitachi Zosen Corp
Hitachi Shipbuilding and Engineering Co 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 Zosen Corp, Hitachi Shipbuilding and Engineering Co Ltd filed Critical Hitachi Zosen Corp
Priority to JP57114318A priority Critical patent/JPS593677A/en
Publication of JPS593677A publication Critical patent/JPS593677A/en
Publication of JPS6337421B2 publication Critical patent/JPS6337421B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04—Generating or distributing clock signals or signals derived directly therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To secure synchronism, by dividing the frequency of a clock signal through plural microprocessors, comparing one of frequency-divided signal as a reference signal with others, and inhibiting clock input for signals with differences and making corrections. CONSTITUTION:A clock signal CK from an oscillator 3 is inputted to the normal and reverse input terminals of a main processor 1, which outputs a main frequency-divided signal Cm. When frequency-division outputs Cs and Cm of a slave processor 2 are both at a level ''0'', the output Ga of an ENR5 is at a level ''1'' and an FF6 latches it; when the signal CK rises, the FF6 is triggered and an AND gate 7 generates an output. A positive and a negative signal CK are inputted to the slave processor 2, which starts outputting a subordinate frequency- divided signal Cs; and the outputs Cm and Cs are out of phase with each other and the output Ga goes down to the level ''0'' to cut off the signals to the processor 2, so that the Cs is at the level ''0'' continuously. When the CK goes down to ''0'', the ENR5 generates the output again and the gate 7 outputs ''1''. At this time, the Cm and Cs are put in phase at the timing of the CK. Thus, the synchronism is secured.

Description

【発明の詳細な説明】 この発明は、入力され−だクロック信号を内蔵しだ分周
回路で分周し、動作タイ−ミング制御用の分周信号を形
成する複数のマイクロプロセッサを並列同期動作させる
並列同期動作制御方法に関し、クロック信号を利用した
簡単な方法で各マイクロプロセッサの分周信号の位相を
一致させようとするものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention divides the frequency of an input clock signal using a built-in frequency divider circuit to form a frequency divided signal for controlling operation timing. The present invention relates to a parallel synchronous operation control method that attempts to match the phases of frequency-divided signals of each microprocessor using a simple method using a clock signal.

従来、マイクロプロセッサ(以下プロセッサと称する)
は集積回路化されるとともに機能性および処理速度など
の向上が計られているが、大型コンピュータの故障診断
機能のような本格的な故障診断機能を有していないため
、プロセッサを用いた装置に高信頼性が要求される場合
には、重要な回路部分をエヌ アウト オブエム(N 
out of M )などの並列冗長系で構成して故障
の検出および処理を行なう必要かある。
Conventionally, microprocessors (hereinafter referred to as processors)
As they have been integrated into integrated circuits, they have improved functionality and processing speed, but they do not have a full-fledged fault diagnosis function like that of large computers, so they are not suitable for devices using processors. When high reliability is required, important circuit parts are
Is it necessary to configure a parallel redundant system such as out of M) to detect and process failures?

そして前述の並列冗長系を構成するためには、複数のプ
ロセッサを並列に設けるとともに、マシーンサイクルで
の同期をとって並列同期動作を行なわせる必要がある。
In order to construct the above-mentioned parallel redundant system, it is necessary to provide a plurality of processors in parallel and to perform parallel synchronous operations by synchronizing machine cycles.

しかし、たとえばインテル社製の8085A型プロセツ
サのように、入力されたクロック信号を分周して動作タ
イミング制御用の分周信号を形成する分周回路を内蔵し
た複数のマイクロプロセッサを用いる場合は、各プロセ
ッサに同一のクロック信号を入力しても各プロ乍ツサの
分周信号の位相が一致りないため、マシーンサイクルで
の同期をとることが不可能になり、並列同期動作を行な
わせることが不可能になる。
However, when using multiple microprocessors such as Intel's 8085A processor, each of which has a built-in frequency divider circuit that divides the input clock signal to form a frequency-divided signal for controlling operation timing, Even if the same clock signal is input to each processor, the phases of the divided signals of each processor do not match, making it impossible to synchronize the machine cycles and making parallel synchronous operation impossible. becomes impossible.

この発明は、前記の点に留意してなされたものであり、
入力されたクロック信号を内蔵しだ分周回路で分周し動
作タイミング制御用の分周信号を形成する複数のマイク
ロプロセッサを並列同期動作させる並列同期動作制御方
法において、所定の前記マイクロプロセッサに常に前記
クロック信号を入力するとともに、前記所定のマイクロ
プロセッサの前記分周信号からなる基準分周信号と、前
記他のマイクロプロセッサそれぞれの前記分周信号から
なる副分周信号それぞ霞悸前記クロック信号のタイミン
グで比較し、前記基準分周信号の論理レベルと前記副分
周信号それぞれの論理レベルとが一致しないときに、一
致しない副分周信号の論理レベルに前記基準分周信号の
論理レベルが一致するまで前記一致しない副分周信号を
出力するマイクロプロセッサへの前記クロック信号の入
力をしゃ断し、前記基準分周信号の位相と前記各副分周
信号それぞれの位相とを一致させることを特徴とする並
列同期動作制御方法である。
This invention was made with the above points in mind,
In a parallel synchronous operation control method for operating a plurality of microprocessors in parallel and synchronously, dividing an input clock signal by a built-in frequency dividing circuit to form a divided signal for controlling operation timing, a predetermined microprocessor is always In addition to inputting the clock signal, a reference frequency division signal consisting of the frequency division signal of the predetermined microprocessor and a sub-frequency division signal consisting of the frequency division signal of each of the other microprocessors are input, respectively. When the logic level of the reference frequency division signal and the logic level of each of the sub frequency division signals do not match, the logic level of the reference frequency division signal is set to the logic level of the sub frequency division signal that does not match. The input of the clock signal to the microprocessor that outputs the sub-divided signals that do not match is cut off until they match, and the phase of the reference frequency-divided signal and the phase of each of the sub-divided signals are made to match. This is a parallel synchronous operation control method.

しだがって、クロック信号を用いた簡単な手法で基準分
周信号の位相と各副分周信号それぞれの位相とを一致さ
せることができるため、各マイクロプロセッサの動作タ
イミングの制御を同一位相の分局信号で行なうことがで
き、マシーンサイクルでの同期をとって各マイクロプロ
セッサを並列同期動作させることができる。
Therefore, it is possible to match the phase of the reference divided signal and the phase of each sub-divided signal by a simple method using a clock signal, so the operation timing of each microprocessor can be controlled by keeping the same phase. This can be done using a branch signal, and each microprocessor can be operated in parallel and synchronously by synchronizing with machine cycles.

つぎにこの発明を、そのl実施例を示した第1図以下の
図面とともに説明する。
Next, this invention will be explained with reference to the drawings from FIG. 1 onwards showing an embodiment thereof.

第1図において、(11、(2+それぞれはインテル社
製の8085A型プロセツサからなる第1.第2マイク
ロプロセツサであシ、プロセッサ(1)に、クロック入
力端子(xa) 、反転クロック入力端子(Xa) 、
 l)セット入力端子(ra)および分周出力端子(o
a)が設けられるとともに、プロセッサ(2)に、クロ
ック入力端子(xb) 、反転クロック入力端子(xb
) 、 IJ上セツト力端子(rb)および分周出力端
子(ob)が設けられそいる。
In FIG. 1, (11 and (2+) are first and second microprocessors each consisting of an 8085A processor manufactured by Intel Corporation, and a clock input terminal (xa) and an inverted clock input terminal are connected to the processor (1). (Xa),
l) Set input terminal (ra) and frequency division output terminal (o
a), and the processor (2) is provided with a clock input terminal (xb) and an inverted clock input terminal (xb).
), an IJ upper set force terminal (rb) and a frequency division output terminal (ob) are likely to be provided.

そして8085A型プロセツサは、クロック入力端子に
第2図(a)のクロック信号を入力するとともに、反転
クロック入力端子にクロック信号を反転した反転クロッ
ク信号を入力すると、内蔵しだ分周回路の動作により、
同図(b)に示すように、クロック信号を2分周した波
形の分周信号が分周出力端子から出力されるとともに、
該分周信号に同期してプロセッサが動作し、同図(c)
に示すように、たとえばja時に、リセット指令用の論
理0(以下1ゝo″と称する)のリセット信号がリセッ
ト入力端子に入力されると、同図(b)の実線8aに示
す分周信号の変化、すなわちta時以降における分周信
号の論理1(以下111+7と称する)からゝ0″への
最初の立ち下がりの変化に同期してリセット信号が取り
込まれ、プロセッサが初期リセットされるとともに、同
図(b)の実線Sbに示す分周信号の変化、すなわち分
周信号が110″からゝ11″に再び立ち上がる変化に
同期して、同図(C)のtb時に示すように、プロセッ
サのリセット出力端子(図示せず)からゝ゛1″のリセ
ット表示信号、すなわちリセット状態にあることを示す
信号が出力される。
When the 8085A processor inputs the clock signal shown in Figure 2(a) to the clock input terminal and also inputs an inverted clock signal, which is the inverted clock signal, to the inverted clock input terminal, the built-in frequency divider circuit operates. ,
As shown in the same figure (b), a frequency-divided signal with a waveform obtained by dividing the clock signal by two is output from the frequency-divided output terminal, and
The processor operates in synchronization with the frequency-divided signal, as shown in FIG.
As shown in FIG. 8, for example, when a reset signal of logic 0 (hereinafter referred to as 1ゝo'') for a reset command is input to the reset input terminal at the time of ja, the divided signal shown by the solid line 8a in FIG. A reset signal is fetched in synchronization with a change in , that is, the first fall of the frequency division signal from logic 1 (hereinafter referred to as 111+7) to "0" after time ta, and the processor is initially reset, In synchronization with the change in the frequency division signal shown by the solid line Sb in FIG. 6(b), that is, the change in the frequency division signal rising again from 110" to 11", the processor changes as shown at time tb in FIG. A reset display signal of "1", that is, a signal indicating that the device is in a reset state, is output from a reset output terminal (not shown).

さらに、第2図(C)に示すように、tc時にリセット
信号がしゃ断され、リセット入力端子のレベルが110
“からゞ′1“に立ち上がると、同図(b)の実線Sc
に示す分周信号の変化、すなわちtc時以降における分
周信号のゝゝ1″からゝゝ0“への最初の変化に同期し
てリセット信号のしゃ断が検知され、同図(b)の実線
Sdに示す分周信号の変化、すなわち分周信号がゞゝ0
″からゝゝ+IIに再び立ち上がる変化に同期して、同
図(d)のLd時に示すように、リセット出力端子から
の11 + 77のリセット表示信号がしゃ断されると
ともに、プロセッサが、入力されたプログラムの先頭か
ら実行を開始する。
Furthermore, as shown in FIG. 2(C), the reset signal is cut off at time tc, and the level of the reset input terminal becomes 110.
When rising from "to '1", the solid line Sc in the same figure (b)
The cutoff of the reset signal is detected in synchronization with the change in the frequency division signal shown in FIG. The change in the frequency division signal shown in Sd, that is, the frequency division signal is 0.
In synchronization with the rise again from `` to ゝゝ+II, the 11 + 77 reset display signal from the reset output terminal is cut off as shown at Ld in FIG. Start execution from the beginning of the program.

また、第1図において、(3)はクロック信号CKをプ
ロセッサ(1)のクロック入力端子(xa)に出力する
クロック発振器、(4)はクロック信号OKを反転して
プロセッサ(1)の反転クロック入力端子(xa)に反
転クロック信号を出力する第1インバータ、(5)は両
プロセッサ(1)、12)の分周信号Cm、Csが入力
されるイクスクルーシブノアゲート(以下ENRと称す
る)、(6)はENR(5)の出力信号Gaがデータ入
力端子(da)に入力される第1フリツプフロツプであ
り、トリガ入力端子(ta)にクロック信号OKが入力
される。(7)は一方の入力端子にクロック信号OKが
入力されるアンドゲートであり、他方の入力端子にフリ
ップフロップ(6)のQ出力端子(C1,a)の出力信
号が入力されるとともに、出力信号をプロセッサ(2)
のクロック入力端子(XI))に出力する芦ヘンドゲー
ト(7)の出力信号を反転してプロセッサ(2)の反転
クロック入力端子(xb)に送出する第2インバータで
ある。
In FIG. 1, (3) is a clock oscillator that outputs the clock signal CK to the clock input terminal (xa) of the processor (1), and (4) is the inverted clock of the processor (1) that inverts the clock signal OK. The first inverter outputs an inverted clock signal to the input terminal (xa), and (5) is an exclusive NOR gate (hereinafter referred to as ENR) to which the frequency-divided signals Cm and Cs of both processors (1) and 12) are input. , (6) is a first flip-flop to which the output signal Ga of ENR (5) is input to the data input terminal (da), and the clock signal OK is input to the trigger input terminal (ta). (7) is an AND gate in which the clock signal OK is input to one input terminal, and the output signal of the Q output terminal (C1, a) of the flip-flop (6) is input to the other input terminal, and the output Signal processor (2)
This is a second inverter that inverts the output signal of the hend gate (7) which is output to the clock input terminal (XI) of the processor (2) and sends it to the inverted clock input terminal (xb) of the processor (2).

まだ、(9)は両プロセッサfil 、 f2+それぞ
れの分周出力端子(b’il) 、(’o“b)に入力
端子が接続されたノアゲート、qOはノアゲート(9)
の出力信号がゲート入力端子(bb)に入力される第2
フリツプフロツプであり、Q出力端子(qb)が両プロ
セッサfll 、 f2)それぞれのリセット入力端子
(17a)、(ib)に接続されている。
Still, (9) is a NOR gate whose input terminals are connected to the divided output terminals (b'il) and ('o"b) of both processors fil, f2+, respectively, and qO is a NOR gate (9)
The second output signal is input to the gate input terminal (bb).
It is a flip-flop, and its Q output terminal (qb) is connected to the reset input terminals (17a) and (ib) of both processors fll and f2, respectively.

さらに、(1])はシュミット回路0乃を有するリセッ
ト部であり、シュミット回路(13の出力端子がフリッ
プフロップ(10のデータ入力端子(db)およびクリ
ア端子(Ol>に接続され、シュミット回路Ozの入力
端子がリセットスイッチ(13を介して接地されるとと
もに、抵抗(14)を介して電源端子αC)に接続され
ている。なお、スイッチa:+に並列にコンデンサ09
が設けられ、抵抗Q4)およびコンデンサ(皺にょシミ
源投入時の時定数回路が形成されるとともに、抵抗Q4
)に並列にダイオードMが設けられている。
Furthermore, (1]) is a reset section having Schmitt circuits 0 to 1, and the output terminal of the Schmitt circuit (13) is connected to the data input terminal (db) and clear terminal (Ol> of the flip-flop (10), and the Schmitt circuit Oz The input terminal of is grounded via the reset switch (13) and connected to the power supply terminal αC via the resistor (14).The capacitor 09 is connected in parallel to switch a:+.
A resistor Q4) and a capacitor (a time constant circuit when turning on the wrinkle stain source are formed, and a resistor Q4) is provided.
) is provided in parallel with a diode M.

そして電源を投入すると、クロック発振器(3)が動作
し、第3図(a)に示すように、C1時、 C2時。
Then, when the power is turned on, the clock oscillator (3) operates, and as shown in FIG.

む3時、 C4時、む5時・・・それぞれに110″か
らゝX1″に変化する周期Taのクロック信号CKかク
ロック発振器(3)から出力され、該クロック信号OK
が所定のプロセッサすなわちプロセッサ(1)のクロッ
ク入力端子(Xa)に入力されるとともに、クロック信
号OKがインバータ(4)で反転され、インバータ(4
)からプロセッサ(1)の反転クロック入力端子向に反
転クロック信号が入力され、プロセッサ(1)の分局出
力端子(Oa)から、同図(b)に示すように、L2′
時、L4′時。
3 o'clock, C4 o'clock, 5 o'clock... A clock signal CK with a period Ta varying from 110" to "X1" is output from the clock oscillator (3), and the clock signal is OK.
is input to the clock input terminal (Xa) of a predetermined processor, that is, the processor (1), and the clock signal OK is inverted by the inverter (4).
), an inverted clock signal is inputted toward the inverted clock input terminal of the processor (1), and from the branch output terminal (Oa) of the processor (1), as shown in FIG.
hour, L4' hour.

・・・それぞれにゝゝ0″からゝゝ1″に反転するとと
もに、C3′時、151時、・・・それぞれにゝ11“
から110Itに反転する周期Tbの分周信号、すなわ
ち基準分周信号Cmが出力される。
...inverted from ゝゝ0'' to ゝゝ1'' in each case, and at C3', 151 o'clock, ... respectively ゝ11''
A frequency-divided signal with a period Tb inverted from 110It to 110It, that is, a reference frequency-divided signal Cm is output.

一方、u時、 C2時には、基準分周信号C…の論理レ
ベルが11O“であり、また、第2図(e) K示すよ
うに、プロセッサ(2)の分周出力端子(Ob)から出
力される分周信号、すなわち副分周信号C8の論理レベ
ルもlゝ0“であるだめ、ENR(51にはゝ10″の
基準分周信号Cm 、!:ゝゝ0″の副分周信号Osと
が入力され、両分局信号Cm 、Csの論理レベルが一
致しているため、ENRf5) ’7)出力信号Gaが
111″になる。
On the other hand, at time u and time C2, the logic level of the reference frequency divided signal C is 11O", and as shown in FIG. Since the logical level of the frequency-divided signal, that is, the sub-frequency-divided signal C8, is also l0'', ENR (51 has a reference frequency-divided signal Cm of 10'', !: a sub-divided signal of 0'') Os is input, and since the logic levels of both branch signals Cm and Cs match, the ENRf5)'7) output signal Ga becomes 111''.

また、C1時、 C2時、も3時、 C4時、む5時、
・それぞれにおけるクロック信号GKのゝゝ0″から1
ゞl″の立ち上がりにより、フリップフロップ(6)が
トリガされ、データ入力端子(da)に伝送された出力
信号Gaがブリップフロップi6)にラッチされるため
、C1時。
Also, C1 o'clock, C2 o'clock, 3 o'clock, C4 o'clock, 5 o'clock,
・From 0 to 1 of the clock signal GK in each
The flip-flop (6) is triggered by the rising edge of ゞl'', and the output signal Ga transmitted to the data input terminal (da) is latched into the flip-flop i6).

C2時にはQ出力端子(qa)からアンドゲート(7)
にゝゝ1″の出力信号が出力される。
When C2, from the Q output terminal (qa) to the AND gate (7)
An output signal of ゝゝ1'' is output.

そこで第3図(d)に示すように、2周期のクロック信
号OKがアンドゲート(7)を介してプロセッサ【2)
のクロック入力端子(xb)に入力されるとともに、ア
ンドゲート(7)を介したクロック信号OKがインバー
タ(8)で反転され、インバータ(8)からプロセッサ
(2)の反転クロック入力端子(xb)に、クロック信
号OKを反転した反転クロック信号が入力され、分周出
力端子(ob)から副分周信号Csが出力され始める。
Therefore, as shown in FIG. 3(d), the two-cycle clock signal OK is sent to the processor [2] via the AND gate (7).
The clock signal OK is input to the clock input terminal (xb) of the processor (2), and the clock signal OK via the AND gate (7) is inverted by the inverter (8), and from the inverter (8) to the inverted clock input terminal (xb) of the processor (2). , an inverted clock signal obtained by inverting the clock signal OK is input, and a sub-divided signal Cs starts to be output from the frequency-divided output terminal (ob).

しかし、基準分周信号Cmの位相と副分周信連モ位相と
が異なるだめ、13時には、第3図(b)、(C)それ
ぞれに示すよう忙、基準分周信号Crnの論理レベルが
ゝゝ1″になるとともに、副分局信号O8の論理レベル
が110″になり、ENR(5)の出力信号がゝゝ0″
になる。
However, since the phase of the reference frequency-divided signal Cm is different from the phase of the sub-frequency-divided signal, the logic level of the reference frequency-divided signal Crn is As it becomes ``1'', the logic level of the sub-branch signal O8 becomes 110'', and the output signal of ENR (5) becomes ``0''.
become.

したがって1;3時にはフリップフロップ(6)のQ出
力端子(9a)の出力信号がゝ′0″になり、第3図(
d)に示すように、も3時からも4時までの1周期の間
、アンドゲート(7)からプロセッサ+21へのクロッ
ク信号OKがしゃ断され、副分周信号Osはゝゝ0″に
保持される。
Therefore, at 1;3, the output signal of the Q output terminal (9a) of the flip-flop (6) becomes ``0'', and as shown in FIG.
As shown in d), during one cycle from 3 o'clock to 4 o'clock, the clock signal OK from the AND gate (7) to the processor +21 is cut off, and the sub-divided signal Os is kept at 0. be done.

そして第3図(b)に示すように、t4時には基準分周
信号Cmがゞゝ0″になシ、基準分周信号Cmの論理レ
ベルと副分周信号Csの論理レベルとが一致するため、
同図(d)に示すように、アンドゲート(7)からプロ
セッサ(2)に再びクワツク信号OKが出力され、この
とき、基準分周信号Cmの位相と副分周信号Osの位相
とがクロック信号OKのタイミングで一致するため、同
図(b) 、 (0)それぞれに示すように、L4時以
降には両分局信号Can 、Osが同一位相で変化する
。
As shown in FIG. 3(b), at t4, the reference frequency-divided signal Cm is not 0'', and the logic level of the reference frequency-divided signal Cm and the logic level of the sub-frequency division signal Cs match. ,
As shown in FIG. 4(d), the AND gate (7) outputs the quack signal OK to the processor (2) again, and at this time, the phase of the reference frequency division signal Cm and the phase of the sub frequency division signal Os are the same as the clock signal. Since they coincide at the timing of the signal OK, both branch signals Can and Os change in the same phase after L4, as shown in FIG.

一方、電源投入時には、シュミット回路o2の入力がゝ
ゝ0″になるため、抵抗α(イ)、コンデンサ(lυお
よびシュミット回路0功で定まる所定時間、第3図(e
)に示すように、シュミット回路(12の出力信号Gb
が110LLに保持され、シュミット回路o2の出力信
号Gbが1ゝO″であるため、第27リツプフロツプr
+□がクリアされ、同図げ)に示すように、第2フリツ
プフロツプrlOのQ出力端子((Ib)の出力信号G
dがゝゞo″に保持され、両プロセッサfl) 、 (
2+のリセット六方端子(Ra)、(Rb)にゝ゛0”
のリセット信号がへカされる。
On the other hand, when the power is turned on, the input of the Schmitt circuit o2 becomes 0'', so for a predetermined time determined by the resistor α (a), the capacitor (lυ) and the Schmitt circuit 0, as shown in Fig. 3 (e
), the Schmitt circuit (12 output signals Gb
is held at 110LL, and the output signal Gb of the Schmitt circuit o2 is 1"O", so the 27th lip-flop r
+□ is cleared, and as shown in the same figure), the output signal G of the Q output terminal ((Ib) of the second flip-flop rlO
d is held at ゝゞo'', and both processors fl), (
2+ reset hexagonal terminals (Ra) and (Rb) with “0”
The reset signal is removed.

なお、前述の所定時間は、両分局信号Crn、Osの位
相が一致するまでの時間より十分長い時間に設定されて
いる。
Note that the above-mentioned predetermined time is set to be sufficiently longer than the time it takes for the phases of both the branch signals Crn and Os to match.

そして所定時間が経過して第3図(e)に示すように、
t5時以降のtx時にシュミット回路α功の出力信号G
bがゝゝ0″からゝゝ1“に変化し、フリップフロップ
fIOのリセットが解除されると、同図(b) 、 <
c>それぞれに示すように、tx時以降のty時におけ
る両分局信号Cm 、 Csの最初のゝゝ1″からゝゝ
o″への変化により、ノアゲート(9)の出力信号がゝ
ゞo″からゝゝ1〃に変化し、フリップフロップイ頂か
トリガされ、このときフリップフロップ+’l□のデー
タ入力端子(db)にシュミット回路0功のゞゝI L
Lの出カ信%Gbが入力されているため、同図げ)に示
すように、tz時にQ出力端子(qb)の出力信号Gd
かゝゝ1″になり、両プロセッサm、 (21のリセッ
ト信号が同時にしゃ断され、同図(b) 、 (C)そ
れぞれに示すように、両プロセッサ(1)。
After a predetermined period of time has elapsed, as shown in FIG. 3(e),
Output signal G of Schmitt circuit α at time tx after time t5
When b changes from ゝゝ0'' to ゝゝ1'' and the reset of flip-flop fIO is released, (b) in the same figure, <
c> As shown in each figure, due to the initial change of both branch signals Cm and Cs from ゝゝ1'' to ゝゝo'' at time ty after time tx, the output signal of the NOR gate (9) changes to ゝゞo''. It changes from ゝゝ1〃, the top of the flip-flop is triggered, and at this time, the data input terminal (db) of the flip-flop +'l□ is connected to the Schmitt circuit ゝIL.
Since the L output signal %Gb is input, the output signal Gd of the Q output terminal (qb) at tz is
1'', and the reset signals of both processors m and (21) are simultaneously cut off, as shown in FIGS.

(2+のリセット信号がしゃ断された後のtz’時に、
両分局信号Crn、Osが同時に1ゝ0“からゝゝ1″
に変化すると、両分局信号Cm、Osのゝ10″からゝ
ゝ1″への変化に同期してリセット信号のしゃ断が検知
され、両マイクロプロセッサfil 、 +21が、入
力されたプログラムの先頭から同時に実行し始める。
(At tz' after the 2+ reset signal is cut off,
Both branch signals Crn and Os change from 1ゝ0'' to ゝゝ1'' at the same time.
, the cutoff of the reset signal is detected in synchronization with the change of both branch signals Cm and Os from ``10'' to ``1'', and both microprocessors fil, +21 simultaneously start from the beginning of the input program. Start running.

なお、リセットスイッチα艷を操作したときにも、前述
と同様の動作によシ、両プロセッサイ1) 、 12)
のリセット信号が同時にしゃ断され、両プロセッサ(1
1,(21が入力されたプログラムの先頭から同時に 
4実行し始める。
Furthermore, when the reset switch α is operated, both processors operate in the same manner as described above.1), 12)
The reset signals of both processors (1
1, (simultaneously from the beginning of the program where 21 is input)
4 Start running.

したがって前記実施例によると、ENR(5)およびフ
リップフロップ(6)、アンドゲート(7)により、ク
ロック信号OKを利用した簡単な方法で基準分周信号C
Anの位相と副分周信号Csの位相とが一致するように
制御できるとともに、ノアゲート(9)およびフリップ
フロップ(1o、リセット部(11)により、両プロセ
ッサill 、 (21のリセットが同時に解除され、
両プロセッサ+11 、 +21のマシーンサイクルの
同期をとって入力されたプログラムの実行を同時に開始
させることができ、たとえば、両プロセッサfl) 、
 +21によシ故障検出確率の高い並列冗長系を構成し
て信頼性を高めることができる。
Therefore, according to the embodiment, the ENR (5), the flip-flop (6), and the AND gate (7) can generate the reference frequency divided signal C by a simple method using the clock signal OK.
It can be controlled so that the phase of An and the phase of the sub-divided signal Cs match, and the resets of both processors ill and (21 are simultaneously canceled by the NOR gate (9), flip-flop (1o), and reset section (11). ,
It is possible to synchronize the machine cycles of both processors +11 and +21 to start executing the input program at the same time, for example, both processors fl),
It is possible to configure a parallel redundant system with a high failure detection probability of +21 and improve reliability.

なお、前記実施例では2台のプロセッサm 、 f21
忙適用したが、3台以上のプロセッサに適用する場合に
は、ENRf5) 、フリップフロップ(6)、アンド
ゲート(7)からなる同期回路の数を増加させるととも
に、ノアゲート(9)の大刀端子の数を増加させればよ
い。
In addition, in the embodiment, two processors m and f21
However, when applying to three or more processors, increase the number of synchronization circuits consisting of ENRf5), flip-flops (6), and AND gates (7), and increase the number of synchronous circuits of the Noah gate (9). Just increase the number.

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

図面はこの発明の並列同期動作制御方法の1実施例を示
し、第1図はブロック結線図、第2図(a)〜(d)は
第1図のマイクロプロセッサの動作説明用タイミングチ
ャート、第3図(a)〜(f)は電源投入時の第1図の
動作説明用タイミングチャートである。 fll 、 r2+・マイクロプロセッサ、(3)・・
・クロック発振器、(5)・・・イクスクルーシブノア
ゲート、(6) 、 rl[)・・・フリップフロップ
、(7)・・・アンドゲート、(9)・・・ノアゲート
、0刀・・・リセット部。 代理人 弁理士  藤田龍太部
The drawings show an embodiment of the parallel synchronous operation control method of the present invention, in which FIG. 1 is a block diagram, FIGS. 2(a) to 2(d) are timing charts for explaining the operation of the microprocessor in FIG. 1, and FIG. 3(a) to 3(f) are timing charts for explaining the operation of FIG. 1 when the power is turned on. fll, r2+ microprocessor, (3)...
・Clock oscillator, (5)...Exclusive Noah gate, (6), rl[)...Flip-flop, (7)...And gate, (9)...Noah gate, 0 sword...・Reset part. Agent: Patent Attorney Ryutabe Fujita

Claims (1)

【特許請求の範囲】 ■ 入力されたクロック信号を内蔵しだ分周回路で分周
し動作タイミング制御用の分周信号を形成する複数のマ
イクロプロセッサを並列同期動作させる並列同期動作制
御方法において、所定の前記マイクロプロセッサに前記
クロック信号を入力するとともに、前記所定のマイクロ
プロセッサの前記分周信号からなる基準分周信号と、前
記側のマイクロプロセッサそれぞれの前記分周信号から
なる副分周信号それぞh’c翁記り・ツク信号のタイミ
ングで比較し一前記基準分周信号の論理レベルと前記副
分周信号それぞれの論理レベルとが一致しないときに、
一致しない副分周信号の論理レベルに前記基準分周信号
の論理−レベルが一致するまで前記一致しない副分周信
号を出力するマイクロプロセッサへの前記クロック信号
の入力をしゃ断し、前記基準分周信号の位相と前記各副
分周信号それぞれの位相とを一致させることを特徴とす
る並列同期動作制御方法。 ■ 電源投入およびリセット操作を行なう際に、基準分
周信号の位相とすべての副分周信号の位相とが一致した
ときに、各マイクロプロセッサにリセット信号を入力し
、前記マイクロプロセッサを前記基準分周信号に同期し
た同一タイミングでリセットを解除したことを特徴とす
る特許請求の範囲第1項に記載の並列同期動作制御方法
。
[Claims] ■ In a parallel synchronous operation control method for operating a plurality of microprocessors in parallel and synchronously, dividing an input clock signal by a built-in frequency dividing circuit to form a divided signal for controlling operation timing, The clock signal is input to a predetermined microprocessor, and a reference frequency division signal consisting of the frequency division signal of the predetermined microprocessor and a sub-frequency division signal consisting of the frequency division signal of each of the side microprocessors are input. When the logic level of the reference frequency division signal and the logic level of each of the sub frequency division signals do not match by comparing the timing of the zoh'c old record and tsuku signals,
cutting off the input of the clock signal to the microprocessor that outputs the sub-divided signal that does not match until the logic level of the reference frequency-divided signal matches the logic level of the sub-divided signal that does not match; A method for controlling parallel synchronous operation, characterized in that the phase of the signal is matched with the phase of each of the sub-divided signals. ■ When the power is turned on and a reset operation is performed, when the phase of the reference frequency division signal matches the phase of all sub-frequency division signals, a reset signal is input to each microprocessor, and the microprocessor 2. The parallel synchronous operation control method according to claim 1, wherein the reset is canceled at the same timing synchronized with the frequency signal.
JP57114318A 1982-06-30 1982-06-30 Parallel synchronous operation control method Granted JPS593677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57114318A JPS593677A (en) 1982-06-30 1982-06-30 Parallel synchronous operation control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57114318A JPS593677A (en) 1982-06-30 1982-06-30 Parallel synchronous operation control method

Publications (2)

Publication Number Publication Date
JPS593677A true JPS593677A (en) 1984-01-10
JPS6337421B2 JPS6337421B2 (en) 1988-07-25

Family

ID=14634842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57114318A Granted JPS593677A (en) 1982-06-30 1982-06-30 Parallel synchronous operation control method

Country Status (1)

Country Link
JP (1) JPS593677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63136247A (en) * 1986-11-14 1988-06-08 ローベルト・ボツシユ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング Calculator for compound calculating machine equipment and synchronization of calculator thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0480709U (en) * 1990-11-22 1992-07-14

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5815237U (en) * 1981-07-16 1983-01-31 株式会社東芝 synchronizer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5815237U (en) * 1981-07-16 1983-01-31 株式会社東芝 synchronizer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63136247A (en) * 1986-11-14 1988-06-08 ローベルト・ボツシユ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング Calculator for compound calculating machine equipment and synchronization of calculator thereof

Also Published As

Publication number Publication date
JPS6337421B2 (en) 1988-07-25

Similar Documents

Publication Publication Date Title
US4703421A (en) Ready line synchronization circuit for use in a duplicated computer system
JP2676966B2 (en) Single chip microcomputer
US4419629A (en) Automatic synchronous switch for a plurality of asynchronous oscillators
JPS6325381B2 (en)
JPS58111440A (en) Clock synchronizing system
US3257546A (en) Computer check test
GB1212213A (en) Improvements in or relating to clock synchronising circuits
JPS6337421B2 (en)
JPS63232615A (en) Clock switching circuit
US3245048A (en) Computer clock phase lock
JPH0630035B2 (en) Clock switching control method for clock synchronous system
KR900000087B1 (en) Parallel Synchronous Drive
US6175257B1 (en) Integrated circuit comprising a master circuit working at a first frequency to control slave circuits working at a second frequency
JP2588290B2 (en) Data input / output system
JPS594343Y2 (en) Multiprocessor control circuit
JPS635787B2 (en)
SU1642473A1 (en) Multichannel synchronizer
JPS5947334B2 (en) Clock control method
JPS6175436A (en) Microprogram controller
JPS6231380B2 (en)
JPH0342763A (en) Synchronizing device for system clock of multiprocessor
SU611286A1 (en) Device for automatic phase tuning of frequency
JPH0418618A (en) Clock output device
SU1068050A3 (en) Device for synchronizing main and stand-by computers
SU790225A1 (en) Pulse synchronizing device