JPS635787B2 - - Google Patents

Info

Publication number
JPS635787B2
JPS635787B2 JP57114319A JP11431982A JPS635787B2 JP S635787 B2 JPS635787 B2 JP S635787B2 JP 57114319 A JP57114319 A JP 57114319A JP 11431982 A JP11431982 A JP 11431982A JP S635787 B2 JPS635787 B2 JP S635787B2
Authority
JP
Japan
Prior art keywords
signal
frequency
output
command
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.)
Expired
Application number
JP57114319A
Other languages
Japanese (ja)
Other versions
JPS593678A (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 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 Shipbuilding and Engineering Co Ltd filed Critical Hitachi Shipbuilding and Engineering Co Ltd
Priority to JP57114319A priority Critical patent/JPS593678A/en
Publication of JPS593678A publication Critical patent/JPS593678A/en
Publication of JPS635787B2 publication Critical patent/JPS635787B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating 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)

Description

【発明の詳細な説明】 この発明は、入力されたクロツク信号を内蔵し
た分周回路で分周し動作タイミング制御用の分周
信号を形成する複数のマイクロコンピユータを並
列同期動作させる並列同期動作制御装置に関し、
簡単な回路により、各コンピユータの動作制御タ
イミングを一致させるとともに、各コンピユータ
の動作開始時点を一致させ、かつ、外部装置の各
種の動作指令信号を形成タイミングの一致した後
の分周信号に同期して各コンピユータに取り込ま
せ、制御の信頼性を向上させようとするものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides parallel synchronous operation control in which a plurality of microcomputers are operated in parallel and synchronously by dividing an input clock signal using a built-in frequency dividing circuit to form a divided signal for operation timing control. Regarding the equipment,
A simple circuit allows the operation control timing of each computer to match, the operation start point of each computer to match, and various operation command signals of external devices to be synchronized with the frequency-divided signal after the formation timing matches. This is intended to improve the reliability of control by having each computer incorporate the information into the system.

従来、マイクロコンピユータは集積回路化され
るとともに、機能性および処理速度などの向上が
計られているが、大型コンピユータの故障診断機
能のような本格的な故障診断機能を有していない
ため、マイクロコンピユータ(以下コンピユータ
と称する)を用いた装置に高信頼性が要求される
場合には、重要な回路部分をエヌ アウト オブ
エム(N out of M)などの並列冗長系で構
成して故障の検出および処理を自動的に行なう必
要がある。
Conventionally, microcomputers have been integrated into integrated circuits, and improvements have been made in terms of functionality and processing speed. When high reliability is required for devices using computers (hereinafter referred to as computers), important circuit parts are configured with parallel redundant systems such as N out of M (N out of M) to detect failures. and processing needs to be done automatically.

そして前述の並列冗長系を構成し故障を早期に
確実に検出するためには、複数のコンピユータを
並列に設けるとともに、各コンピユータのマシー
ンサイクルを一致させて並列同期動作を行なわせ
る必要がある。
In order to configure the aforementioned parallel redundant system and detect failures early and reliably, it is necessary to provide a plurality of computers in parallel and to synchronize the machine cycles of each computer to perform parallel synchronous operations.

しかし、たとえばインテル社製の8085A型プロ
セツサを用いたコンピユータのように、入力され
たクロツク信号を分周して動作タイミング制御用
の分周信号を形成する分周回路を内蔵した複数の
コンピユータを用いる場合は、各コンピユータに
同一のクロツク信号を入力しても各コンピユータ
の分周信号の形成タイミングが一致しないため、
各コンピユータの動作制御タイミングが一致せ
ず、各コンピユータのマシーンサイクルを一致さ
せることが不可能になり、並列同期動作を行なわ
せることが不可能になる。また、並列同期動作を
行なわせるためには、各コンピユータの動作開始
時点を一致させる必要がある。
However, for example, computers that use Intel's 8085A processor use multiple built-in frequency divider circuits that divide the input clock signal to form divided signals for operation timing control. In this case, even if the same clock signal is input to each computer, the formation timing of the divided signal of each computer will not match.
The operation control timings of each computer do not match, making it impossible to match the machine cycles of each computer and making it impossible to perform parallel synchronous operations. Furthermore, in order to perform parallel synchronous operations, it is necessary to make the operation start points of each computer coincident.

さらに、各コンピユータが分周信号に同期して
動作するとともに、外部装置からの割り込み指令
などの各種の動作指令信号が、各コンピユータの
分周信号に非同期に各コンピユータに送出される
ため、並列同期動作を行なわせる場合は、外部装
置からの動作指令信号を各コンピユータの動作タ
イミングに同期して各コンピユータに取り込ませ
る必要がある。
Furthermore, each computer operates in synchronization with the frequency-divided signal, and various operation command signals such as interrupt commands from external devices are sent to each computer asynchronously with the frequency-divided signal of each computer, so parallel synchronization is possible. In order to perform an operation, it is necessary to input an operation command signal from an external device into each computer in synchronization with the operation timing of each computer.

この発明は、前記の点に留意してなされたもの
であり、入力されたクロツク信号を内蔵した分周
回路で分周し動作タイミング制御用の分周信号を
形成する複数のマイクロコンピユータと、所定の
前記コンピユータの前記分周信号の形成タイミン
グを基準にして前記各コンピユータそれぞれの前
記分周信号の形成タイミングを一致させる分周信
号制御回路と、前記分周信号の形成タイミングが
一致した後に前記各コンピユータのリセツトを同
時にしや断し前記各コンピユータの動作開始時点
を一致させるリセツト制御回路と、外部装置の
種々の動作指令信号を形成タイミングが一致した
後の前記分周信号に同期して前記各コンピユータ
に取り込ませる指令信号制御回路とを備えたこと
を特徴とする並列同期動作制御装置である。
The present invention has been made with the above points in mind, and includes a plurality of microcomputers that divide the frequency of an input clock signal using a built-in frequency divider circuit to form a frequency-divided signal for controlling operation timing, and a frequency division signal control circuit that matches the formation timing of the frequency division signal of each of the computers based on the formation timing of the frequency division signal of the computer; A reset control circuit that simultaneously resets and disconnects the computers and synchronizes the operation start time of each of the computers; and a reset control circuit that generates various operation command signals for external devices and synchronizes with the frequency-divided signal after the timings coincide with each other. This is a parallel synchronous operation control device characterized by comprising a command signal control circuit that is input into a computer.

したがつて、分周信号制御回路により各コンピ
ユータの分周信号が同一タイミングで形成され、
各コンピユータの動作制御タイミングが一致する
とともに、リセツト制御回路により各コンピユー
タの動作タイミングが一致した後に各コンピユー
タのリセツトが同時にしや断されるため、各コン
ピユータの動作開始時点が一致し、さらに、指令
信号制御回路により外部装置の動作指令信号を分
周信号に同期した同一タイミングで各コンピユー
タに取り込ませるため、分周信号に非同期に送出
された外部装置の動作指令信号を分周信号に同期
した同一タイミングで各コンピユータに取り込ま
せることができ、各コンピユータのマシーンサイ
クルを一致させることができ、並列同期動作を正
確に行なわせることができ、制御の信頼性を向上
させることができるものである。
Therefore, the divided signals of each computer are formed at the same timing by the divided signal control circuit.
The operation control timings of each computer match, and the reset control circuit simultaneously cuts off the reset of each computer after the operation timings of each computer match, so the operation start points of each computer match and the command In order for the signal control circuit to input the operation command signal of the external device to each computer at the same timing synchronized with the frequency-divided signal, the operation command signal of the external device that is sent out asynchronously to the frequency-divided signal is sent to the computer at the same timing synchronized with the frequency-divided signal. It is possible to have each computer take in the information at the correct timing, to match the machine cycles of each computer, to perform parallel synchronous operations accurately, and to improve control reliability.

つぎに、この発明の並列同期動作制御装置を、
その1実施例を示した第1図以下の図面とともに
説明する。
Next, the parallel synchronous operation control device of this invention is
An embodiment thereof will be explained with reference to the drawings from FIG. 1 onwards.

第1図において、1a,1bはマイクロコンピ
ユータからなる第1、第2コンピユータであり、
入力されたクロツク信号の分周回路を内蔵するイ
ンテル社製の8085A型プロセツサ2a,2bそれ
ぞれと周辺回路3a,3bそれぞれとを有し、両
プロセツサ2a,2bそれぞれに、クロツク入力
端子ia、反転クロツク入力端子およびリセツト
入力端子ibと、第1ないし第3指令入力端子ic,
id,ieと、分周出力端子oaとが設けられるととも
に、両周辺回路3a,3bそれぞれに、第1ない
し第3指令入力端子if,ig,ihと、第1ないし第
3指令出力端子ob,oc,odとが設けられている。
In FIG. 1, 1a and 1b are first and second computers consisting of microcomputers,
It has Intel 8085A type processors 2a and 2b, which each have a built-in frequency dividing circuit for the input clock signal, and peripheral circuits 3a and 3b, respectively.Both processors 2a and 2b each have a clock input terminal ia, an inverted clock input terminal and reset input terminal ib, first to third command input terminal ic,
id, ie, and a frequency division output terminal oa, and both peripheral circuits 3a, 3b are provided with first to third command input terminals if, ig, ih, and first to third command output terminals ob, oc and od are provided.

そして8085A型プロセツサは、クロツク入力端
子にクロツク信号を入力するとともに、反転クロ
ツク入力端子にクロツク信号を反転した反転クロ
ツク信号を入力すると、内蔵した分周回路の動作
によりクロツク信号を2分周した波形の分周信号
が分周出力端子から出力されるとともに、該分周
信号に同期してプロセツサが動作し、たとえばリ
セツト指令用の論理0(以下“0”と称する)の
リセツト信号がリセツト入力端子に入力される
と、リセツト信号の入力後における分周信号の論
理1(以下“1”と称する)から“0”への最初
の立ち下がり変化に同期してリセツト信号が取り
込まれ、プロセツサが初期リセツトされるととも
に、分周信号が“0”から“1”に再び立ち上が
る変化に同期して、プロセツサのリセツト出力端
子(図示せず)から“1”のリセツト表示信号、
すなわちリセツト状態にあることを示す信号が出
力される。
When the 8085A processor inputs a clock signal to the clock input terminal and an inverted clock signal, which is an inverted version of the clock signal, to the inverted clock input terminal, the built-in frequency divider operates to generate a waveform that is the frequency of the clock signal divided by two. A frequency-divided signal is output from the frequency-divided output terminal, and the processor operates in synchronization with the frequency-divided signal. For example, a logic 0 (hereinafter referred to as "0") reset signal for a reset command is output from the reset input terminal. When the reset signal is input, the reset signal is taken in in synchronization with the first falling change of the frequency division signal from logic 1 (hereinafter referred to as "1") to "0" after the input of the reset signal, and the processor initializes. At the same time as the reset, a reset display signal of "1" is output from the reset output terminal (not shown) of the processor in synchronization with the change in the frequency division signal rising from "0" to "1" again.
That is, a signal indicating that it is in a reset state is output.

さらに、リセツト信号がしや断され、リセツト
入力端子のレベルが“0”から“1”に立ち上が
ると、リセツト信号のしや断後の分周信号の
“1”から“0”への最初の立ち下がり変化に同
期してリセツト信号のしや断が検知され、分周信
号が“0”から“1”に再び立ち上がる変化に同
期してリセツト出力端子からの“1”のリセツト
表示信号がしや断され、プロセツサがプログラム
に従つて動作を開始する。
Furthermore, when the reset signal is briefly cut off and the level of the reset input terminal rises from "0" to "1", the initial change of the divided signal from "1" to "0" after the reset signal is briefly cut off. The ebb and flow of the reset signal is detected in synchronization with the falling change, and the reset display signal of "1" is output from the reset output terminal in synchronization with the change in the divided signal rising from "0" to "1" again. The processor starts operating according to the program.

また、第1図において、4はクロツク信号をプ
ロセツサ2aのクロツク入力端子iaに出力するク
ロツク発振器、5はクロツク信号を反転してプロ
セツサ2aの反転クロツク入力端子に反転クロ
ツク信号を出力する第1インバータ、6は両プロ
セツサ1a,1bの分周信号が入力されるイクス
クルーシブノアゲート(以下ENRと称する)、7
はENR5の出力信号がデータ入力端子dに入力
される第1フリツプフロツプであり、トリガ入力
端子trにクロツク信号が入力される。8は一方の
入力端子にクロツク信号が入力される第1アンド
ゲートであり、他方の入力端子にフリツプフロツ
プ7のQ出力端子qの出力信号が入力されるとと
もに、出力信号をプロセツサ2bのクロツク入力
端子iaに出力する。9はENR6、フリツプフロ
ツプ7およびアンドゲート8からなる分周信号制
御回路、10はフリツプフロツプ7のQ出力端子
qの出力信号を反転してプロセツサ2bの反転ク
ロツク入力端子に出力する第2インバータであ
る。
Further, in FIG. 1, 4 is a clock oscillator that outputs a clock signal to the clock input terminal ia of the processor 2a, and 5 is a first inverter that inverts the clock signal and outputs an inverted clock signal to the inverted clock input terminal of the processor 2a. , 6 is an exclusive NOR gate (hereinafter referred to as ENR) into which the frequency-divided signals of both processors 1a and 1b are input, 7
is a first flip-flop to which the output signal of ENR5 is inputted to the data input terminal d, and a clock signal is inputted to the trigger input terminal tr. 8 is a first AND gate to which a clock signal is input to one input terminal, and the output signal of the Q output terminal q of the flip-flop 7 is input to the other input terminal, and the output signal is input to the clock input terminal of the processor 2b. Output to ia. Reference numeral 9 represents a frequency division signal control circuit consisting of an ENR 6, a flip-flop 7 and an AND gate 8. Reference numeral 10 represents a second inverter which inverts the output signal of the Q output terminal q of the flip-flop 7 and outputs it to the inverted clock input terminal of the processor 2b.

さらに、11は両プロセツサ2a,2bそれぞ
れの分周出力端子oaに入力端子が接続された第
1ノアゲート、12はノアゲート11の出力信号
がトリガ入力端子trに入力される第2フリツプフ
ロツプであり、Q出力端子qが両プロセツサ1
a,1bそれぞれのリセツト入力端子ibに接続さ
れている。13はノアゲート11およびフリツプ
フロツプ12からなるリセツト制御回路、14は
シユミツト回路15を有するリセツト部であり、
シユミツト回路15の出力端子がフリツプフロツ
プ12のデータ入力端子dおよびクリア端子clに
接続され、シユミツト回路15の入力端子がリセ
ツトスイツチ16を介して接地されるとともに、
抵抗17を介して電源端子Vcに接続されている。
なお、スイツチ16に並列にコンデンサ18が設
けられ、抵抗17およびコンデンサ18により電
源投入時の時定数回路が形成されるとともに、抵
抗17に並列にダイオード19が設けられてい
る。
Furthermore, 11 is a first NOR gate whose input terminal is connected to the frequency-divided output terminal oa of both processors 2a and 2b, and 12 is a second flip-flop whose trigger input terminal tr receives the output signal of the NOR gate 11. Output terminal q is connected to both processors 1
It is connected to the reset input terminal ib of each of terminals a and 1b. 13 is a reset control circuit consisting of a NOR gate 11 and a flip-flop 12; 14 is a reset section having a Schmitt circuit 15;
The output terminal of the Schmitt circuit 15 is connected to the data input terminal d and the clear terminal cl of the flip-flop 12, and the input terminal of the Schmitt circuit 15 is grounded via the reset switch 16.
It is connected to the power supply terminal Vc via a resistor 17.
A capacitor 18 is provided in parallel with the switch 16, a time constant circuit is formed by the resistor 17 and the capacitor 18 when the power is turned on, and a diode 19 is provided in parallel with the resistor 17.

そして電源を投入すると、クロツク発振器4が
動作し、第2図aに示すように、t1時、t2時、t3
時、t4時、t5時、…それぞれに“0”から“1”
に変化する周期Taのクロツク信号がクロツク発
振器4から出力され、該クロツク信号が所定のコ
ンピユータすなわちコンピユータ1aに設けられ
たプロセツサ2aのクロツク入力端子iaに入力さ
れるとともに、クロツク信号がインバータ5で反
転され、インバータ5からプロセツサ2aの反転
クロツク入力端子に反転クロツク信号が入力さ
れ、プロセツサ2aの分周出力端子oaから、同
図bに示すように、t2′時、t4′時、…それぞれに
“0”から“1”に反転するとともに、t3′時,
t5′時、…それぞれに“1”から“0”に反転す
る周期Tbの分周信号が出力される。
Then, when the power is turned on, the clock oscillator 4 starts operating, and as shown in FIG .
hour, t 4 o'clock, t 5 o'clock, ... "0" to "1" respectively
A clock signal with a period Ta that changes as shown in FIG. Then, an inverted clock signal is inputted from the inverter 5 to the inverted clock input terminal of the processor 2a , and as shown in FIG . At the same time, at t 3 ′,
At time t5 ', a frequency-divided signal with a period Tb that inverts from "1" to "0" is output to each of them.

一方、t1時,t2時には、プロセツサ2aの分周
信号の論理レベルが“0”であり、また、第2図
cに示すように、プロセツサ2bの分周出力端子
oaから出力される分周信号の論理レベルも“0”
であるため、ENR6には“0”の両分周信号が
入力され、両分周信号の論理レベルが一致してい
るため、ENR6の出力信号が“1”になる。
On the other hand, at times t 1 and t 2 , the logic level of the frequency division signal of the processor 2a is "0", and as shown in FIG. 2c, the frequency division output terminal of the processor 2b is
The logic level of the frequency division signal output from oa is also “0”
Therefore, both frequency-divided signals of "0" are input to ENR6, and since the logic levels of both frequency-divided signals match, the output signal of ENR6 becomes "1".

そしてt1時、t2時、t3時、t4時、t5時、…それぞ
れにおけるクロツク信号の“0”から“1”の立
ち上がりにより、フリツプフロツプ7がトリガさ
れ、データ入力端子dに伝送されたENR6の出
力信号がフリツプフロツプ7に保持されるため、
t1時、t2時にはフリツプフロツプ7のQ出力端子
qからアンドゲート8に“1”の出力信号が出力
される。
Then, the flip-flop 7 is triggered by the rise of the clock signal from "0" to "1" at each of t 1 o'clock, t 2 o'clock, t 3 o'clock, t 4 o'clock, t 5 o'clock, etc., and the data is transmitted to the data input terminal d. Since the output signal of ENR6 is held in flip-flop 7,
At time t1 and time t2 , an output signal of "1" is output from the Q output terminal q of the flip-flop 7 to the AND gate 8.

そこで第2図dに示すように、2周期のクロツ
ク信号がアンドゲート8を介してプロセツサ2b
のクロツク入力端子iaに入力されるとともに、ア
ンドゲート8を介したクロツク信号がインバータ
10で反転され、インバータ10からプロセツサ
2bの反転クロツク入力端子に、クロツク信号
を反転した反転クロツク信号が入力され、プロセ
ツサ2bの分周出力端子oaから分周信号が出力
されようとする。
Therefore, as shown in FIG.
The clock signal is inputted to the clock input terminal ia of the processor 2b, and the clock signal passed through the AND gate 8 is inverted by the inverter 10, and the inverted clock signal obtained by inverting the clock signal is inputted from the inverter 10 to the inverted clock input terminal of the processor 2b. A frequency-divided signal is about to be output from the frequency-divided output terminal oa of the processor 2b.

しかし、プロセツサ2aの分周信号の形成タイ
ミングとプロセツサ2bの分周信号の形成タイミ
ングとが異なるため、t3時には、第2図b,cそ
れぞれに示すように、プロセツサ2aの分周信号
の論理レベルが“1”になるとともに、プロセツ
サ2bの分周信号の論理レベルが“0”になり、
ENR6の出力信号“0”になる。
However, since the formation timing of the frequency division signal of the processor 2a and the formation timing of the frequency division signal of the processor 2b are different, at time t3 , the logic of the frequency division signal of the processor 2a is changed as shown in FIG. 2b and c, respectively. As the level becomes "1", the logic level of the frequency division signal of the processor 2b becomes "0",
The output signal of ENR6 becomes “0”.

したがつてt3時にはフリツプフロツプ7のQ出
力端子qの出力信号が“0”になり、第2図dに
示すように、t3時からt4時までのクロツク信号の
の1周期の間、アンドゲート8からプロセツサ2
bへのクロツク信号がしや断され、プロセツサ2
bの分周信号は“0”に保持される。
Therefore, at t3 , the output signal of the Q output terminal q of the flip-flop 7 becomes "0", and as shown in FIG. 2d, during one period of the clock signal from t3 to t4 , ANDGATE 8 to PROCESSOR 2
The clock signal to processor 2 is cut off, and
The frequency-divided signal b is held at "0".

そして第2図bに示すように、t4時にはプロセ
ツサ2aの分周信号が“0”になり、プロセツサ
2aの分周信号の論理レベルとプロセツサ2bの
分周信号の論理レベルとが一致するため、同図d
に示すように、アンドゲート8からプロセツサ2
bに再びクロツク信号が出力され、このとき、プ
ロセツサ2aの分周信号の形成タイミングとプロ
セツサ2bの分周信号の形成タイミングとがクロ
ツク信号に同期して一致するため、同図b,cそ
れぞれに示すように、t4時以降には両分周信号が
同一位相で変化する。
As shown in FIG. 2b, at time t 4 , the frequency-divided signal of the processor 2a becomes "0", and the logic level of the frequency-divided signal of the processor 2a matches that of the frequency-divided signal of the processor 2b. , same figure d
As shown in FIG.
The clock signal is output again to b and c. At this time, the timing of forming the frequency-divided signal of the processor 2a and the timing of forming the frequency-divided signal of the processor 2b are synchronized with the clock signal. As shown, both frequency-divided signals change in the same phase after t4 .

一方、電源投入時には、シユミツト回路15の
入力が“0”になるため、抵抗17、コンデンサ
18およびシユミツト回路15で定まる所定時
間、第2図eに示すように、シユミツト回路15
の出力信号が“0”に保持され、シユミツト回路
15の出力信号が“0”であるため、フリツプフ
ロツプ12がクリアされ、同図fに示すように、
フリツプフロツプ12のQ出力端子qの出力信号
が“0”に保持され、両プロセツサ1a,1bの
リセツト入力端子ibに“0”のリセツト信号が入
力される。なお、前述の所定時間は、両分周信号
の位相が一致するまでの時間より十分長い時間に
設定されている。
On the other hand, when the power is turned on, the input of the Schmitt circuit 15 becomes "0", so the Schmitt circuit 15 is turned off for a predetermined time determined by the resistor 17, the capacitor 18, and the Schmitt circuit 15, as shown in FIG. 2e.
Since the output signal of the Schmitt circuit 15 is held at "0" and the output signal of the Schmitt circuit 15 is "0", the flip-flop 12 is cleared and as shown in FIG.
The output signal of the Q output terminal q of the flip-flop 12 is held at "0", and a reset signal of "0" is input to the reset input terminals ib of both processors 1a and 1b. Note that the above-mentioned predetermined time is set to a time that is sufficiently longer than the time it takes for the phases of both frequency-divided signals to match.

そして所定時間が経過して第2図eに示すよう
に、t5時以降のtx時にシユミツト回路15の出力
信号が“0”から“1”に変化し、フリツプフロ
ツプ12のリセツトが解除されると、同図b,c
それぞれに示すように、tx時以降のty′時におけ
る両分周信号の最初の“1”から“0”への変化
により、ノアゲート11の出力信号が“0”から
“1”に変化し、フリツプフロツプ12がトリガ
され、このときフリツプフロツプ12のデータ入
力端子dにシユミツト回路15の“1”の出力信
号が入力されているため、同図fに示すように、
tz時にフリツプフロツプ12のQ出力端子qの出
力信号が“1”になり、両プロセツサ2a,2b
のリセツト信号が同時にしや断され、同図2a,
2bのリセツト信号が同時にしや断され、同図
b,cそれぞれに示すように、両プロセツサ2
a,2bのリセツト信号がしや断された後のtz
時に、両分周信号が同時に“0”から“1”に変
化すると、両分周信号の“0”から“1”への変
化に同期してリセツト信号のしや断が検知され、
両マイクロプロセツサ2a,2bが、入力された
プログラムの先頭から同時に実行し始める。
Then, after a predetermined period of time has elapsed, as shown in FIG. 2e, the output signal of the Schmitt circuit 15 changes from "0" to "1" at time tx after time t5 , and the reset of the flip-flop 12 is released. and b, c in the same figure.
As shown in each figure, the output signal of the NOR gate 11 changes from "0" to "1" due to the initial change of both frequency-divided signals from "1" to "0" at time t y ' after time t x. However, the flip-flop 12 is triggered, and at this time, the "1" output signal of the Schmitt circuit 15 is input to the data input terminal d of the flip-flop 12, so as shown in FIG.
At time tz, the output signal of the Q output terminal q of the flip-flop 12 becomes "1", and both processors 2a and 2b
The reset signals of 2a and 2a in FIG.
The reset signal of processor 2b is cut off at the same time, and as shown in FIG.
t z ' after the reset signals of a and 2b are finally cut off
Sometimes, when both frequency-divided signals change from "0" to "1" at the same time, a break in the reset signal is detected in synchronization with the change of both frequency-divided signals from "0" to "1".
Both microprocessors 2a and 2b simultaneously start executing the input program from the beginning.

なお、リセツトスイツチ16を操作したときに
も、前述と同様の動作により、両プロセツサ2
a,2bのリセツト信号が同時にしや断され、両
プロセツサ2a,2bがプログラムの先頭から同
時に実行し始める。
Note that when the reset switch 16 is operated, both processors 2 are reset by the same operation as described above.
The reset signals of processors 2a and 2b are cut off at the same time, and both processors 2a and 2b start executing the program from the beginning at the same time.

すなわち分周信号制御回路9により、コンピユ
ータ1aの分周回路による分周信号の形成タイミ
ングを基準にして、両コンピユータ1a,1bの
分周信号が同時に“0”,“1”それぞれになると
きのみ、コンピユータ1bにクロツク信号を入力
させ、1bの分周信号の形成タイミングをコンピ
ユータ1aの分周信号の形成タイミングに一致さ
せ、両コンピユータ1a,1bの動作制御タイミ
ングを一致させる。
That is, the frequency division signal control circuit 9 controls the frequency division signal only when the frequency division signals of both computers 1a and 1b simultaneously become "0" and "1", respectively, based on the timing at which the frequency division signal is formed by the frequency division circuit of the computer 1a. , a clock signal is input to the computer 1b, and the timing of forming the frequency-divided signal of 1b is made to match the timing of forming the frequency-divided signal of the computer 1a, so that the operation control timings of both computers 1a and 1b are made to match.

また、リセツト制御回路13により、電源投入
時およびリセツト操作時に、両コンピユータ1
a,1bの分周信号の形成タイミングが一致した
後に、両コンピユータ1a,1bの分周信号が同
時に“1”から“0”に変化するタイミングで両
コンピユータ1a,1bへのリセツト信号をしや
断し、両コンピユータ1a,1bのリセツトを分
周信号に同期した同一タイミングで解除して両コ
ンピユータ1a,1bの動作開始時点を一致させ
る。
In addition, the reset control circuit 13 resets both computers 1 when the power is turned on and when a reset operation is performed.
After the formation timings of the frequency-divided signals of a and 1b coincide, a reset signal is sent to both computers 1a and 1b at the timing when the frequency-divided signals of both computers 1a and 1b change from "1" to "0" at the same time. Then, the resets of both computers 1a and 1b are canceled at the same timing synchronized with the frequency division signal, so that the operation start points of both computers 1a and 1b are made to coincide.

さらに、第1図において、20は第1ないし第
3指令出力端子oe,of,ogを有する外部装置で
あり、指令出力端子oeから両周辺装置3a,3
bの指令入力端子ifに“1”に割り込み指令信号
が出力され、指令出力端子ofから両周辺装置3
a,3bの指令入力端子igに“1”のホールド指
令信号が出力され、指令出力端子ogから両周辺
装置3a,3bの指令入力端子ihに“1”のレデ
イ−指令信号が出力される。21は入力端子が両
周辺装置3a,3bの指令出力端子obに接続さ
れた第2アンドゲートであり、両周辺装置3a,
3bそれぞれから割り込み指令信号が同時に入力
されたときに出力信号が“1”になる。22は入
力端子が両周辺装置3a,3bの指令出力端子
ocに接続された第3アンドゲートであり、両周
辺装置3a,3bそれぞれからホールド指令信号
が同時に入力されたときに出力信号が“1”にな
る。23は入力端子が両周辺装置3a,3bの指
令出力端子odに接続された第4アンドゲートで
あり、両周辺装置3a,3bそれぞれからレデイ
ー信号が同時に入力されたときに出力信号が
“1”になる。
Furthermore, in FIG. 1, 20 is an external device having first to third command output terminals oe, of, og, and both peripheral devices 3a, 3 are connected to the command output terminal oe.
An interrupt command signal of "1" is output to the command input terminal if of b, and both peripheral devices 3 are output from the command output terminal of.
A hold command signal of "1" is outputted to the command input terminals ig of the peripheral devices a and 3b, and a ready command signal of "1" is outputted from the command output terminal og to the command input terminals ih of both the peripheral devices 3a and 3b. 21 is a second AND gate whose input terminal is connected to the command output terminal ob of both peripheral devices 3a, 3b;
When interrupt command signals are simultaneously input from each of 3b, the output signal becomes "1". The input terminal of 22 is the command output terminal of both peripheral devices 3a and 3b.
This is a third AND gate connected to oc, and its output signal becomes "1" when hold command signals are simultaneously input from both peripheral devices 3a and 3b. 23 is a fourth AND gate whose input terminal is connected to the command output terminal od of both the peripheral devices 3a and 3b, and when the ready signals are simultaneously input from both the peripheral devices 3a and 3b, the output signal becomes "1". become.

また、24,25は入力端子が両プロセツサ2
a,2bの分周出力端子oaに接続された第2ノ
アゲート、第5アンドゲートであり、両プロセツ
サ2a,2bの分周信号が同時に“0”になると
きにのみノアゲート24の出力信号が“1”にな
り、両プロセツサ2a,2bの分周信号が同時に
“1”になるときのみアンドゲート25の出力信
号が“1”になる。26はトリガ入力端子trがノ
アゲート24の出力端子に接続された第3フリツ
プフロツプであり、データ入力端子dがアンドゲ
ート21の出力端子に接続されるとともに、Q出
力端子qが両プロセツサ2a,2bの指令入力端
子icに接続されている。27はトリガ入力端子tr
がノアゲート24の出力端子に接続された第4フ
リツプフロツプであり、データ入力端子dがアン
ドゲート22の出力端子に接続されるとともに、
Q出力端子qが両プロセツサ2a,2bの指令入
力端子idに接続されている。28はトリガ入力端
子tがアンドゲート25の出力端子に接続された
第5フリツプフロツプであり、データ入力端子d
がアンドゲート23の出力端子に接続されるとと
もに、Q出力端子qが両プロセツサ2a,2bの
指令入力端子ieに接続されている。29はノアゲ
ート24、アンドゲート25およびフリツプフロ
ツプ26〜28からなる指令信号制御回路であ
る。
In addition, input terminals 24 and 25 are connected to both processors 2 and 25.
A second NOR gate and a fifth AND gate are connected to the divided output terminals oa of the processors 2a and 2b, and the output signal of the NOR gate 24 is The output signal of the AND gate 25 becomes "1" only when the frequency-divided signals of both processors 2a and 2b simultaneously become "1". 26 is a third flip-flop whose trigger input terminal tr is connected to the output terminal of the NOR gate 24, whose data input terminal d is connected to the output terminal of the AND gate 21, and whose Q output terminal q is connected to the output terminal of the AND gate 21. Connected to command input terminal IC. 27 is the trigger input terminal tr
is a fourth flip-flop connected to the output terminal of the NOR gate 24, and the data input terminal d is connected to the output terminal of the AND gate 22.
A Q output terminal q is connected to command input terminals id of both processors 2a and 2b. 28 is a fifth flip-flop whose trigger input terminal t is connected to the output terminal of the AND gate 25, and whose data input terminal d is connected to the output terminal of the AND gate 25.
is connected to the output terminal of the AND gate 23, and the Q output terminal q is connected to the command input terminal ie of both processors 2a and 2b. 29 is a command signal control circuit consisting of a NOR gate 24, an AND gate 25, and flip-flops 26-28.

そしてたとえば外部装置20の指令出力端子
oeから割り込み指令信号が出力されると、該指
令信号が両周辺回路3a,3bそれぞれを介して
アンドゲート21に入力され、このとき、両周辺
回路3a,3bを介した割り込み指令信号が同時
に入力される間のみアンドゲート15の出力信号
が“1”になり、同様に、外部装置20の指令出
力端子of,ogそれぞれからホールド指令信号、
レデイー指令信号それぞれが出力された場合に
も、両周辺回路3a,3bを介したホールド指令
信号が同時に入力される間のみアンドゲート22
の出力信号が“1”になり、両周辺回路3a,3
bを介したレデイー指令信号が同時に入力される
間のみアンドゲート23の出力信号が“1”にな
り、両コンピユータ1a,1bの信号伝送時間の
誤差などにもとづく、両周辺回路3a,3bそれ
ぞれからの各指令信号の出力タイミングのずれが
補正される。
For example, a command output terminal of the external device 20
When an interrupt command signal is output from oe, the command signal is input to the AND gate 21 via both peripheral circuits 3a and 3b, and at this time, the interrupt command signals via both peripheral circuits 3a and 3b are input simultaneously. The output signal of the AND gate 15 becomes "1" only during the period when the hold command signal,
Even when each ready command signal is output, the AND gate 22 is activated only while the hold command signals via both peripheral circuits 3a and 3b are simultaneously input.
The output signal of becomes “1”, and both peripheral circuits 3a, 3
The output signal of the AND gate 23 becomes "1" only while the ready command signals are simultaneously input through the terminals b, and the output signal from the peripheral circuits 3a and 3b is determined based on the error in signal transmission time between the computers 1a and 1b. The deviation in the output timing of each command signal is corrected.

さらに、両プロセツサ2a,2bの分周信号が
同時に“0”になるときのみノアゲート24の出
力信号が“1”になるとともに、フリツプフロツ
プ26,27がノアゲート24の出力信号の
“0”から“1”の立ち上がりでトリガされるた
め、両プロセツサ2a,2bの分周信号が同時に
“1”から“0”に変化したときに、フリツプフ
ロツプ26,27それぞれのデータ入力端子dに
伝送された割り込み指令信号、ホールド指令信号
それぞれがフリツプフロツプ26,27それぞれ
に保持されるとともに、フリツプフロツプ26,
27それぞれから両プロセツサ2a,2bに割り
込み指令信号、ホールド指令信号それぞれが出力
され、両プロセツサ2a,2bに、両プロセツサ
2a,2bの分周信号が“1”から“0”に変化
する同一タイミングで割り込み指令信号、ホール
ド指令信号それぞれが送出される。
Furthermore, only when the frequency-divided signals of both processors 2a and 2b become "0" at the same time, the output signal of the NOR gate 24 becomes "1", and the flip-flops 26 and 27 change the output signal of the NOR gate 24 from "0" to "1". ”, so when the divided signals of both processors 2a and 2b change from “1” to “0” at the same time, the interrupt command signal transmitted to the data input terminal d of each of the flip-flops 26 and 27 , hold command signals are held in flip-flops 26 and 27, respectively, and the flip-flops 26 and
27 outputs an interrupt command signal and a hold command signal to both processors 2a and 2b, respectively, and outputs them to both processors 2a and 2b at the same timing when the divided signals of both processors 2a and 2b change from "1" to "0". An interrupt command signal and a hold command signal are respectively sent.

また、両プロセツサ2a,2bの分周信号が同
時に“1”になるときのみアンドゲート25の出
力信号が“1”になるとともに、フリツプフロツ
プ28が、アンドゲート25の出力信号の“0”
から“1”の立ち上がりでトリガされるため、両
プロセツサ2a,2bの分周信号が同時に“0”
から“1”に変化したときに、フリツプフロツプ
28のデータ入力端子dに伝送されたレデイー指
令信号がフリツプフロツプ28に保持されるとと
もに、フリツプフロツプ28から両プロセツサ2
a,2bにレデイー信号が出力され、両プロセツ
サ2a,2bに、両プロセツサ2a,2bの分周
信号が“0”から“1”に変化する同一タイミン
グでレデイー指令信号が送出される。
Further, only when the frequency-divided signals of both processors 2a and 2b become "1" at the same time, the output signal of the AND gate 25 becomes "1", and the flip-flop 28 changes the output signal of the AND gate 25 to "0".
Since it is triggered at the rising edge of “1” from
When the ready command signal changes from "1" to "1", the ready command signal transmitted to the data input terminal d of the flip-flop 28 is held in the flip-flop 28, and the ready command signal is transmitted from the flip-flop 28 to both processors 2.
A ready signal is output to processors 2a and 2b, and a ready command signal is transmitted to both processors 2a and 2b at the same timing when the frequency-divided signals of both processors 2a and 2b change from "0" to "1".

すなわち8085A型プロセツサは、分周信号が
“1”のときに割り込み指令信号およびホールド
指令信号を取り込み、分周信号が“0”から
“1”に立ち上がるときにレデイー指令信号を取
り込むため、ナンドゲート24およびアンドゲー
ト25それぞれにより、両プロセツサ2a,2b
の分周信号の形成タイミングが一致し、両プロセ
ツサ2a,2bの分周信号が同時に“1”から
“0”に変化するときにフリツプフロツプ26,
27をトリガし、両プロセツサ2a,2bの分周
信号が同時に“0”から“1”に変化するときに
フリツプフロツプ28をトリガし、形成タイミン
グが一致した後の分周信号に同期して両プロセツ
サ2a,2bに割り込み指令信号、ホールド指令
信号、レデイー指令信号それぞれを送出し、両コ
ンピユータ1a,1bに同一タイミングで割り込
み、ホールド、レデイーそれぞれの動作指令信号
を取り込ませる。
In other words, the 8085A processor takes in the interrupt command signal and the hold command signal when the frequency division signal is "1", and the ready command signal when the frequency division signal rises from "0" to "1", so the NAND gate 24 and AND gate 25, both processors 2a, 2b
When the formation timings of the frequency-divided signals of both processors 2a and 2b coincide and the frequency-divided signals of both processors 2a and 2b change from "1" to "0" at the same time, the flip-flops 26,
27, and when the frequency-divided signals of both processors 2a and 2b change from "0" to "1" at the same time, the flip-flop 28 is triggered, and both processors synchronize with the frequency-divided signals after the formation timings match. An interrupt command signal, a hold command signal, and a ready command signal are respectively sent to the computers 1a and 2b, and both computers 1a and 1b are interrupted at the same timing and are made to take in the hold and ready operation command signals.

したがつて前記実施例によると、両コンピユー
タ1a,1bそれぞれの動作タイミング制御用の
分周信号の形成タイミングが、分周信号制御回路
9により一致し、両コンピユータ1a,1bの内
部動作タイミングが同一に制御されるとともに、
両コンピユータ1a,1bそれぞれのリセツトが
リセツト制御回路13により同時に行なわれ、両
コンピユータ1a,1bの動作開始時点が一致す
る。さらに、指令信号制御回路29により、外部
装置20から出力された割り込み指令信号、ホー
ルド指令信号、レデイー指令信号を、形成タイミ
ングの一致した後の分周信号に同期した同一タイ
ミングで両コンピユータ1a,1bに取り込ませ
ることができ、コンピユータ1a,1bのマシー
ンサイクルを一致させることができ、簡単な回路
で両コンピユータ1a,1bを正確に並列同期動
作させることができ、たとえば両コンピユータ1
a,1bにより並列冗長系を構成し、迅速かつ正
確に故障検出を行なわせて故障処理を行なわせる
ことができる。
Therefore, according to the embodiment, the timings of forming the frequency division signals for controlling the operation timings of both computers 1a and 1b are matched by the frequency division signal control circuit 9, and the internal operation timings of both computers 1a and 1b are the same. In addition to being controlled by
Both computers 1a and 1b are reset simultaneously by the reset control circuit 13, and the operation start points of both computers 1a and 1b coincide. Furthermore, the command signal control circuit 29 transmits the interrupt command signal, hold command signal, and ready command signal output from the external device 20 to both computers 1a and 1b at the same timing synchronized with the frequency division signal after the formation timings match. It is possible to synchronize the machine cycles of computers 1a and 1b, and it is possible to operate both computers 1a and 1b accurately in parallel and synchronously with a simple circuit.
A and 1b constitute a parallel redundant system, allowing rapid and accurate failure detection and failure processing.

また、アンドゲート21〜23を設けたことに
より、両コンピユータ1a,1bの信号伝送時間
のずれなどにもとづく、両周辺装置3a,3bそ
れぞれからの各指令信号の出力タイミングのずれ
が補正される。
Moreover, by providing the AND gates 21 to 23, the deviation in the output timing of each command signal from the peripheral devices 3a and 3b, which is based on the deviation in signal transmission time between the computers 1a and 1b, is corrected.

なお、前記実施例の8085A型マイクロプロセツ
サ以外のマイクロプロセツサを有するコンピユー
タに適用できるとともに、周辺装置を有しないコ
ンピユータに適用できるのは勿論である。
It goes without saying that the present invention can be applied to computers having microprocessors other than the 8085A type microprocessor of the embodiment described above, as well as computers having no peripheral devices.

また、コンピユータの数が増加したときには、
分周信号制御回路9の数を増加させるとともに、
リセツト制御回路13のノアゲート11を多入力
型のノアゲートで形成し、さらに、指令信号制御
回路29のノアゲート24、アンドゲート25を
多入力型のノアゲート、アンドゲートそれぞれで
形成すればよい。
Also, as the number of computers increases,
While increasing the number of frequency division signal control circuits 9,
The NOR gate 11 of the reset control circuit 13 may be formed of a multi-input type NOR gate, and the NOR gate 24 and AND gate 25 of the command signal control circuit 29 may be formed of a multi-input type NOR gate and an AND gate, respectively.

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

図面はこの発明の並列同期動作制御装置の1実
施例を示し、第1図は要部のブロツク結線図、第
2図a〜fは第1図の動作説明用タイミングチヤ
ートである。 1a,1b……マイクコンピユータ、4……ク
ロツク発生器、9……分周信号制御回路、13…
…リセツト制御回路、20……外部装置、29…
…指令信号制御回路。
The drawings show one embodiment of the parallel synchronous operation control device of the present invention, FIG. 1 is a block diagram of the main parts, and FIGS. 2a to 2f are timing charts for explaining the operation of FIG. 1. 1a, 1b...Microphone computer, 4...Clock generator, 9...Frequency division signal control circuit, 13...
...Reset control circuit, 20... External device, 29...
...Command signal control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 入力されたクロツク信号を内蔵した分周回路
で分周し動作タイミング制御用の分周信号を形成
する複数のマイクロコンピユータと、所定の前記
コンピユータの前記分周信号の形成タイミングを
基準にして前記各コンピユータそれぞれの前記分
周信号の形成タイミングを一致させる分周信号制
御回路と、前記分周信号の形成タイミングが一致
した後に前記各コンピユータのリセツトを同時に
しや断し前記各コンピユータの動作開始時点を一
致させるリセツト制御回路と、外部装置の種々の
動作指令信号を形成タイミングが一致した後の前
記分周信号に同期して前記各コンピユータに取り
込ませる指令信号制御回路とを備えたことを特徴
とする並列同期動作制御装置。
1 A plurality of microcomputers which divide the input clock signal by a built-in frequency dividing circuit to form a divided signal for operation timing control, and A frequency division signal control circuit that synchronizes the formation timing of the frequency division signals of each computer, and a frequency division signal control circuit that simultaneously interrupts the reset of each of the computers after the formation timing of the frequency division signals coincides with each other, and a time point at which each of the computers starts operating. and a command signal control circuit that causes various operation command signals of external devices to be input into each of the computers in synchronization with the frequency-divided signal after the formation timings match. Parallel synchronous operation control device.
JP57114319A 1982-06-30 1982-06-30 Parallel synchronous operation controller Granted JPS593678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57114319A JPS593678A (en) 1982-06-30 1982-06-30 Parallel synchronous operation controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57114319A JPS593678A (en) 1982-06-30 1982-06-30 Parallel synchronous operation controller

Publications (2)

Publication Number Publication Date
JPS593678A JPS593678A (en) 1984-01-10
JPS635787B2 true JPS635787B2 (en) 1988-02-05

Family

ID=14634866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57114319A Granted JPS593678A (en) 1982-06-30 1982-06-30 Parallel synchronous operation controller

Country Status (1)

Country Link
JP (1) JPS593678A (en)

Also Published As

Publication number Publication date
JPS593678A (en) 1984-01-10

Similar Documents

Publication Publication Date Title
US3932847A (en) Time-of-day clock synchronization among multiple processing units
US4251873A (en) Digital computing apparatus particularly for controlling a gas turbine engine
US6297702B1 (en) Phase lock loop system and method
US5109506A (en) Microcomputer system including a microprocessor reset circuit
US5948111A (en) Real time comparison of integrated circuit operation
US5371764A (en) Method and apparatus for providing an uninterrupted clock signal in a data processing system
EP0292502B1 (en) Method and apparatus for a constant frequency clock source in phase with a variable frequency system clock
US3257546A (en) Computer check test
CA1113575A (en) Check circuit for synchronized clocks
CN114730199A (en) System and method for synchronizing multiple processors
US5572718A (en) Mechanism for dynamically determining and distributing computer system clocks
JPS635787B2 (en)
EP0130432B1 (en) Apparatus for suspending a system clock when an initial error occurs
US5315183A (en) Synchronous phase detector circuit
JPS6337421B2 (en)
JP3922774B2 (en) Information processing device
JP2646436B2 (en) Timer control method
JP2588290B2 (en) Data input / output system
JPS59176863A (en) Timer synchronizing system
JPS5947334B2 (en) Clock control method
SU877549A1 (en) System for data processing with checking
JPS58155381A (en) Arithmetic unit
SU1264186A1 (en) Device for checking digital units
JPS6231380B2 (en)
JPS63120320A (en) Microprocessor and microcontroller