JP2002318711A - Controller provided with cpu - Google Patents

Controller provided with cpu

Info

Publication number
JP2002318711A
JP2002318711A JP2001124048A JP2001124048A JP2002318711A JP 2002318711 A JP2002318711 A JP 2002318711A JP 2001124048 A JP2001124048 A JP 2001124048A JP 2001124048 A JP2001124048 A JP 2001124048A JP 2002318711 A JP2002318711 A JP 2002318711A
Authority
JP
Japan
Prior art keywords
cpus
cpu
clear signal
signal
reset
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.)
Withdrawn
Application number
JP2001124048A
Other languages
Japanese (ja)
Inventor
Yasukazu Hatano
靖一 波多野
Kazuo Matsuda
和男 松田
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.)
Mahle Electric Drive Systems Co Ltd
Original Assignee
Kokusan Denki 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 Kokusan Denki Co Ltd filed Critical Kokusan Denki Co Ltd
Priority to JP2001124048A priority Critical patent/JP2002318711A/en
Publication of JP2002318711A publication Critical patent/JP2002318711A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable one abnormality detecting element to deal with abnormality in a plurality of CPU in a controller, which is provided with a plurality of CPU, for controlling a controlled system by performing communication mutually between the CPUs. SOLUTION: One abnormality detecting element 15 is provided commonly for a plurality of CPU 11 and 12. Clear signals respectively outputted by the CPU 11 and 12 at normal time are applied through differentiation circuits 16 and 17 and an OR circuit 18 to the abnormality detecting element 15 and reset signal is applied from the abnormality detecting element 15 to all the CPU.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のCPUを用
いて特定の制御対象を制御する制御装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for controlling a specific control object using a plurality of CPUs.

【0002】[0002]

【従来の技術】規模が大きいシステムまたは装置を制御
する場合のように、制御対象の数が多い場合には、1つ
のCPUでは制御しきれないため、複数のCPUを用い
て、該複数のCPU相互間でデータ通信を行いながら各
制御対象を制御することが行われている。例えば、ガス
エンジンを動力源としてコンプレッサを駆動し、冷媒を
制御するガス・ヒートポンプシステムの制御装置におい
ては、ガスエンジンの制御、冷媒の制御及び室内機/室
外機の制御等、多くの制御対象の制御を行う必要がある
ため、CPUのポート数が不足したり、制御対象に応じ
て制御ループを分割したりすることが必要になり、複数
のCPUを用いることが必要になる。
2. Description of the Related Art When the number of objects to be controlled is large, such as when controlling a large-scale system or apparatus, a single CPU cannot control the entire system. Control of each control object is performed while performing data communication between each other. For example, in a control device of a gas heat pump system that controls a refrigerant by driving a compressor using a gas engine as a power source, many control targets such as control of a gas engine, control of a refrigerant, and control of an indoor unit / outdoor unit are used. Since it is necessary to perform control, the number of CPU ports becomes insufficient, the control loop needs to be divided according to the control target, and a plurality of CPUs need to be used.

【0003】このような制御装置において、いずれかの
CPUが外来ノイズ等により暴走したり、その動作が異
常になったりした場合には、異常になったCPUのみを
リセットするのではなく、すべてのCPUを一旦リセッ
トして正常な状態に回復させてから制御を再開させるこ
とが望ましい。
In such a control device, when one of the CPUs goes out of control due to an external noise or the like, or the operation becomes abnormal, not only the failed CPU is reset, but all the CPUs are reset. It is desirable to reset the CPU once to restore it to a normal state and then resume control.

【0004】またいずれかのCPUの動作が異常になっ
たときには、そのCPUが異常になったことを含む必要
情報を記憶手段に記憶させる動作を、他の正常なCPU
に行わせることが望ましい。
When the operation of any one of the CPUs becomes abnormal, the operation of storing necessary information including the abnormality of the CPU in the storage means is replaced with another normal CPU.
It is desirable to let

【0005】CPUの異常を監視し、異常時にCPUを
リセットする機能を持った素子として、異常検出素子
(ウォッチ・ドック・タイマ)が用いられている。この
異常検出素子は、CPUが正常時に一定の周期で発生す
るクリア信号の発生間隔を計測するタイマを備えてい
て、該タイマによりクリア信号が一定の判定時間内に発
生しなかったことが検出されたときに、CPUにリセッ
ト信号を与えるようになっている。
[0005] An abnormality detecting element (watch dock timer) is used as an element having a function of monitoring an abnormality of the CPU and resetting the CPU when the abnormality occurs. The abnormality detecting element includes a timer for measuring an interval of generation of a clear signal which is generated at a constant cycle when the CPU is normal, and the timer detects that the clear signal has not been generated within a predetermined determination time. A reset signal is given to the CPU when the

【0006】図3は複数のCPUを備えた制御装置に上
記異常検出素子を設けた例を示したもので、同図におい
て1及び2はそれぞれ第1及び第2のCPUである。こ
れらのCPU1及び2においては、それぞれに設けられ
ているポートの内、2つのポートが第1の送信ポートP
s1及び第1の受信ポートPr1として割り当てられ、他の
2つのポートが第2の送信ポートPs2及び第2の受信ポ
ートPr2として割り当てられている。CPU1及び2
は、一方のCPUの第1の送信ポートPs1及び受信ポー
トPr1を2線式のシリアル通信ラインを介して他のCP
Uの第1の受信ポートPr1及び送信ポートPs1に接続す
ることにより相互に接続されている。
FIG. 3 shows an example in which the above-described abnormality detecting element is provided in a control device having a plurality of CPUs. In FIG. In these CPUs 1 and 2, two of the ports provided for each of the CPUs 1 and 2 are connected to the first transmission port P.
s1 and a first reception port Pr1, and the other two ports are allocated as a second transmission port Ps2 and a second reception port Pr2. CPU 1 and 2
Connects the first transmission port Ps1 and the reception port Pr1 of one CPU to the other CP via a two-wire serial communication line.
U are connected to each other by connecting to the first reception port Pr1 and transmission port Ps1 of U.

【0007】また3及び4は第1及び第2のEEPRO
M(電気的に書換えが可能な不揮発性メモリ)で、EE
PROM3の入力端子Ar 及び出力端子As はそれぞれ
第1のCPU1の第2の送信ポートPs2及び受信ポート
Pr2に接続され、EEPROM4の入力端子Ar 及び出
力端子As はそれぞれ第2のCPU2の第2の送信ポー
トPs2及び受信ポートPr2に接続されている。
Also, 3 and 4 are first and second EEPROMs.
M (electrically rewritable nonvolatile memory) and EE
The input terminal Ar and the output terminal As of the PROM 3 are connected to the second transmission port Ps2 and the reception port Pr2 of the first CPU 1, respectively, and the input terminal Ar and the output terminal As of the EEPROM 4 are respectively connected to the second transmission port It is connected to the port Ps2 and the receiving port Pr2.

【0008】各CPUはまたクリア信号出力端子CLと
リセット信号入力端子RESとを有していて、自らが正
常に動作しているときにそのクリア信号出力端子から一
定の周期でクリア信号を出力する。第1のCPU1が出
力するクリア信号は第1の微分回路5を通してパルス波
形に波形整形された後、第1のCPUに対して設けられ
た異常検出素子6のクリア信号入力端子clに入力され
ている。異常検出素子6は、入力されるパルスの発生間
隔を計測するアナログ式のタイマを備えていて、設定さ
れた判定時間内にパルス波形のクリア信号が入力されな
い状態が生じたときに、そのリセット信号出力端子re
sから第1のCPU1のリセット端子RESにリセット
信号を与えるようになっている。
Each CPU also has a clear signal output terminal CL and a reset signal input terminal RES, and outputs a clear signal from the clear signal output terminal at regular intervals when the CPU itself is operating normally. . The clear signal output from the first CPU 1 is shaped into a pulse waveform through the first differentiating circuit 5, and then input to the clear signal input terminal cl of the abnormality detection element 6 provided for the first CPU. I have. The abnormality detection element 6 includes an analog timer that measures the interval between the input pulses. When a clear signal of the pulse waveform is not input within the set determination time, a reset signal is output. Output terminal re
s, a reset signal is supplied to the reset terminal RES of the first CPU 1.

【0009】第2のCPUに対しても上記と同様の異常
検出素子4が設けられ、第2のCPU2が出力するクリ
ア信号が第2の微分回路7を通して異常検出素子8のク
リア信号入力端子clに入力されている。また異常検出
素子8に設定された判定時間内にクリア信号が入力され
ない状態が生じたときに、該異常検出素子8のリセット
信号出力端子resから第2のCPU2のリセット端子
RESにリセット信号が与えられるようになっている。
An abnormality detecting element 4 similar to the above is also provided for the second CPU, and a clear signal output from the second CPU 2 is passed through a second differentiating circuit 7 to a clear signal input terminal cl of the abnormality detecting element 8. Has been entered. When a state occurs in which the clear signal is not input within the determination time set in the abnormality detection element 8, a reset signal is supplied from the reset signal output terminal res of the abnormality detection element 8 to the reset terminal RES of the second CPU 2. It is supposed to be.

【0010】図4は各異常検出素子の動作を示すタイミ
ングチャートで、同図(A)は異常検出素子の内部タイ
マの計数出力(電圧)の変化を示し、同図(B)はCP
Uから微分回路を通して異常検出素子のクリア信号入力
端子clに入力されるクリア信号を示している。また図
4(C)は異常検出素子のリセット信号出力端子res
の電位を示している。CPUはこのリセット信号出力端
子resの電位が高レベル(Hレベル)から低レベル
(Lレベル)に変化した時にリセットされる。即ち、リ
セット信号出力端子resの電位のHレベルからLレベ
ルへの変化がリセット信号となる。
FIG. 4 is a timing chart showing the operation of each abnormality detecting element. FIG. 4A shows a change in the count output (voltage) of the internal timer of the abnormality detecting element, and FIG.
A clear signal input from U to the clear signal input terminal cl of the abnormality detection element through the differentiating circuit is shown. FIG. 4C shows a reset signal output terminal res of the abnormality detecting element.
Is shown. The CPU is reset when the potential of the reset signal output terminal res changes from a high level (H level) to a low level (L level). That is, a change in the potential of the reset signal output terminal res from the H level to the L level becomes a reset signal.

【0011】異常検出素子6,8は、内部タイマを備え
ていて、クリア信号が入力される毎にその内部タイマを
リセットして計数動作を再開させる。対応するCPUが
正常に動作していて、図4(B)の時刻t3 までの期間
のように、対応するCPUから設定された周期To でク
リア信号が入力されているときには、異常検出素子の内
部タイマの計数出力が判定値Vsに達しないため、異常
検出素子はそのリセット信号出力端子resの電位をH
レベルに保持している。このときCPUはリセットされ
ることなく、正常に動作する。
Each of the abnormality detecting elements 6 and 8 has an internal timer. Each time a clear signal is input, the internal timer is reset to restart the counting operation. When the corresponding CPU is operating normally and the clear signal is input at the set period To from the corresponding CPU as in the period up to time t3 in FIG. Since the count output of the timer does not reach the determination value Vs, the abnormality detecting element sets the potential of the reset signal output terminal res to H
Hold on to the level. At this time, the CPU operates normally without being reset.

【0012】図4(B)の時刻t4 において、例えばC
PU1の動作が異常になると、CPU1は、クリア信号
の出力を停止する(クリア信号出力端子CLの電位をH
レベルまたはLレベルに固定する)。CPU1が最後の
クリア信号を発生した時刻t3 から判定時間T1 が経過
すると、異常検出素子6の内部タイマの計数出力が判定
値Vsに達する。このとき異常検出素子6はそのリセッ
ト信号出力端子resの電位を低レベル(Lレベル)に
低下させてリセット信号を出力するため、CPU1がリ
セットされる。
At time t4 in FIG. 4B, for example, C
When the operation of the PU1 becomes abnormal, the CPU1 stops outputting the clear signal (the potential of the clear signal output terminal CL is set to H level).
Level or L level). When the determination time T1 elapses from the time t3 when the CPU 1 generates the last clear signal, the count output of the internal timer of the abnormality detecting element 6 reaches the determination value Vs. At this time, since the abnormality detection element 6 lowers the potential of the reset signal output terminal res to a low level (L level) and outputs a reset signal, the CPU 1 is reset.

【0013】上記のようにCPU1の動作が異常になる
と、CPU1からCPU2へのデータの伝送が正常に行
われなくなる。このとき正常な状態にあるCPU2は、
設定時間内にCPU1からデータの伝送がないことから
CPU1の動作が異常になったと判断して、CPU1が
異常になったことの情報、その時の各種のデータの値、
実行を中断するプログラムのステップ数等の必要情報
を、書き換えが可能な不揮発性メモリEEPROM4に
書き込んだ後、次のクリア信号の出力を停止する。異常
検出素子8は、CPU2が最後のクリア信号を発生して
から判定時間T1が経過した時にそのリセット信号出力
端子resの電位をLレベルにしてCPU2をリセット
する。
When the operation of the CPU 1 becomes abnormal as described above, data transmission from the CPU 1 to the CPU 2 cannot be performed normally. At this time, the CPU 2 in a normal state
Since there is no data transmission from the CPU 1 within the set time, it is determined that the operation of the CPU 1 has become abnormal, and information that the CPU 1 has become abnormal, various data values at that time,
After writing necessary information such as the number of steps of the program whose execution is to be interrupted to the rewritable nonvolatile memory EEPROM 4, the output of the next clear signal is stopped. The abnormality detection element 8 resets the CPU 2 by setting the potential of the reset signal output terminal res to the L level when the determination time T1 has elapsed since the CPU 2 generated the last clear signal.

【0014】[0014]

【発明が解決しようとする課題】上記のように、複数の
CPUを備えた従来の制御装置では、各CPU毎に異常
検出素子を設けて、いずれかのCPUの動作が異常にな
った時に、そのCPUから他のCPUへのデータの伝送
が正常に行われなくなることを利用して、該他のCPU
に異常時の情報を記憶させる動作を行わせるとともに該
他のCPUからのクリア信号の発生を停止して、各CP
Uに対して設けた異常検出素子により各CPUをリセッ
トするようにしていた。
As described above, in the conventional control device having a plurality of CPUs, an abnormality detecting element is provided for each CPU, and when any one of the CPUs becomes abnormal, Taking advantage of the fact that data transmission from that CPU to another CPU is not performed normally,
The CPU performs an operation of storing information at the time of abnormality and stops generation of a clear signal from the other CPU.
Each CPU is reset by an abnormality detection element provided for U.

【0015】しかしながら、例えばCPU1の動作が異
常になったときに、通信のタイミングによっては、CP
U2がCPU1との間の通信異常を判定する前にCPU
1がリセットされてデータの通信が回復することがあ
る。この場合、CPU2はリセットされることなく動作
を継続するため、CPU1の動作が異常になった際に生
じたシステムの異常なデータをそのまま用いて制御動作
を行うおそれがあり、システムの制御が正常に行われな
くなるおそれがある。
However, when the operation of the CPU 1 becomes abnormal, for example, depending on the communication timing, the CP
Before U2 determines a communication error with CPU1, CPU
1 may be reset and data communication may be restored. In this case, since the CPU 2 continues the operation without being reset, the control operation may be performed by using the abnormal data of the system generated when the operation of the CPU 1 becomes abnormal. May not be performed.

【0016】またいずれかのCPUの動作が異常になっ
たときには、すべてのCPUを同時にリセットすること
が好ましいが、上記従来の制御装置では、各CPUのリ
セットに時間差が生じるのを避けることができなかっ
た。
When the operation of any CPU becomes abnormal, it is preferable to reset all the CPUs at the same time. However, in the above-described conventional control device, it is possible to avoid a time difference between the resets of the CPUs. Did not.

【0017】更に従来の制御装置では、各CPU毎に異
常検出素子を設ける必要があったため、コストが高くな
るのを避けられなかった。
Further, in the conventional control device, it is necessary to provide an abnormality detecting element for each CPU, so that it is inevitable that the cost is increased.

【0018】本発明の目的は、いずれかのCPUの動作
が異常になったときに、そのCPUの動作が異常になっ
たことの情報を含む必要情報を記憶手段に記憶させた
後、すべてのCPUを同時にリセットすることができよ
うにして、システムの制御が異常になるのを防ぐことが
できようにした制御装置を提供することにある。
It is an object of the present invention to provide a method in which, when an operation of any CPU becomes abnormal, necessary information including information indicating that the operation of the CPU becomes abnormal is stored in the storage means, It is an object of the present invention to provide a control device capable of resetting a CPU at the same time and preventing an abnormal control of the system.

【0019】本発明の他の目的は、1つの異常検出素子
で複数のCPUをリセットすることができるようにし
て、コストの低減を図ることができるようにした制御装
置を提供することにある。
It is another object of the present invention to provide a control device capable of resetting a plurality of CPUs with one abnormality detection element, thereby reducing costs.

【0020】[0020]

【課題を解決するための手段】本発明は、正常に動作し
ているときに一定の周期でクリア信号を発生し、動作が
異常になった時に該クリア信号の発生を停止するように
構成されたCPUを複数個備えて、該複数のCPU相互
間でデータ通信を行いながら制御対象を制御する制御装
置に係わるもので、本発明においては、各CPUが、設
定時間To の間他のCPUから与えられるデータを受信
しなかったときに該他のCPUの動作が異常になったこ
との情報を含む必要情報を記憶手段に記憶させた後クリ
ア信号の出力を停止するように構成される。
According to the present invention, a clear signal is generated at a constant cycle during normal operation, and the generation of the clear signal is stopped when the operation becomes abnormal. The present invention relates to a control device that includes a plurality of CPUs and controls a control target while performing data communication between the plurality of CPUs. In the present invention, each CPU is controlled by another CPU during a set time To. When the given data is not received, necessary information including information indicating that the operation of the other CPU has become abnormal is stored in the storage means, and then the output of the clear signal is stopped.

【0021】本発明においてはまた、入力信号が与えら
れる間隔が設定された判定時間T1を超えた時にリセッ
ト信号を出力する1つの異常検出素子が複数のCPUに
対して共通に設けられて、複数のCPUのうちの少くと
も1つが発生するクリア信号が異常検出素子に入力信号
として与えられ、該異常検出素子が出力するリセット信
号が複数のCPUのそれぞれのリセット端子に入力され
る。
In the present invention, one abnormality detecting element for outputting a reset signal when an interval at which an input signal is applied exceeds a set determination time T1 is provided in common for a plurality of CPUs. A clear signal generated by at least one of the CPUs is provided as an input signal to the abnormality detection element, and a reset signal output from the abnormality detection element is input to each reset terminal of the plurality of CPUs.

【0022】また上記判定時間T1 は、複数のCPUの
それぞれのクリア信号の発生周期のうちの最も長い周期
よりも更に長く設定しておく。
The judgment time T1 is set to be longer than the longest cycle of the clear signal generation cycles of the plurality of CPUs.

【0023】本発明に係わる制御装置において、すべて
のCPUが正常に動作しているときには、判定時間内に
異常検出素子にクリア信号が入力信号として与えられる
ため、異常検出素子はリセット信号を出力しない。
In the control device according to the present invention, when all the CPUs are operating normally, a clear signal is given as an input signal to the abnormality detecting element within the determination time, so that the abnormality detecting element does not output a reset signal. .

【0024】これに対し、いずれかのCPUの動作が異
常になると、他の正常なCPUは、動作が異常になった
CPUからの信号を正常に受信できなくなる。このとき
正常なCPUは、動作が異常になったCPUについての
情報や、その時の各種のデータの値などの必要情報を記
憶手段に記憶させる動作を完了した後、クリア信号の出
力を停止する。また動作が異常になったCPUは、その
異常が発生した時刻以降クリア信号の発生を停止する。
On the other hand, if the operation of one of the CPUs becomes abnormal, the other normal CPUs cannot normally receive signals from the CPU whose operation has become abnormal. At this time, the normal CPU stops the output of the clear signal after completing the operation of storing the information on the CPU in which the operation has become abnormal and the necessary information such as various data values at that time in the storage means. Further, the CPU in which the operation is abnormal stops generating the clear signal after the time when the abnormality occurs.

【0025】異常検出素子は、いずれかのCPUから最
後のクリア信号が与えられた後、所定の判定時間が経過
したときにリセット信号を出力する。このリセット信号
はすべてのCPUに与えられるため、すべてのCPUが
同時にリセットされる。
The abnormality detecting element outputs a reset signal when a predetermined judgment time has elapsed after the last clear signal is given from any one of the CPUs. Since this reset signal is given to all CPUs, all CPUs are reset at the same time.

【0026】本発明においては、複数のCPUのうちの
1つのCPUが出力するクリア信号のみを異常検出素子
に入力するだけですべてのCPUを同時にリセットする
という目的を達成することができる。この場合、上記判
定時間を、いずれかのCPUの動作が異常になった後、
正常なCPUが異常なCPUについての情報を含む必要
情報を記憶するために必要な時間よりも長い時間に設定
しておくことにより、正常なCPUによる必要情報の記
憶動作を支障なく行わせることができる。
According to the present invention, the object of simultaneously resetting all the CPUs only by inputting only the clear signal output by one of the plurality of CPUs to the abnormality detecting element can be achieved. In this case, the above-described determination time is set after any of the CPU operations becomes abnormal.
By setting the time longer than the time required for the normal CPU to store the necessary information including the information on the abnormal CPU, the operation of storing the necessary information by the normal CPU can be performed without any trouble. it can.

【0027】このように1つのCPUが出力するクリア
信号のみを異常検出素子に与えるようにすると、クリア
信号の波形を整形する回路など、CPUと異常検出素子
の入力端子との間に設ける回路を1つだけ設ければよい
ため、構成を簡単にすることができる。
When only the clear signal output from one CPU is supplied to the abnormality detecting element, a circuit provided between the CPU and the input terminal of the abnormality detecting element, such as a circuit for shaping the waveform of the clear signal, is provided. Since only one is required, the configuration can be simplified.

【0028】本発明においては、複数のCPUのそれぞ
れが発生するクリア信号のすべてを1つの異常検出素子
に入力信号として供給する構成をとることもできる。こ
の場合、複数のCPUがそれぞれ発生するクリア信号は
オア回路を通して異常検出素子に入力する。
In the present invention, a configuration may be adopted in which all of the clear signals generated by each of the plurality of CPUs are supplied as input signals to one abnormality detection element. In this case, the clear signals respectively generated by the plurality of CPUs are input to the abnormality detecting element through the OR circuit.

【0029】上記のように構成した場合、いずれかのC
PUの動作が異常になると、そのCPUがクリア信号の
発生を停止する。このとき正常な他のCPUは、異常な
CPUについての情報を含む必要情報の記憶動作を行う
が、この記憶動作が行われている間は正常なCPUがク
リア信号を発生するため、異常検出素子がリセット信号
を出力することはない。正常なCPUが上記記憶動作を
完了すると、該正常なCPUは、次のクリア信号の発生
を停止するため、異常検出素子は、正常なCPUから最
後のクリア信号が入力された時刻から判定時間T1 が経
過した時にリセット信号を出力し、すべてのCPUを同
時にリセットする。
In the case of the above configuration, any of C
When the operation of the PU becomes abnormal, the CPU stops generating the clear signal. At this time, the other normal CPU performs an operation of storing necessary information including information on the abnormal CPU. During this operation, the normal CPU generates a clear signal. Does not output a reset signal. When the normal CPU completes the storage operation, the normal CPU stops generating the next clear signal. Therefore, the abnormality detecting element sets the determination time T1 from the time when the last clear signal is input from the normal CPU. , A reset signal is output, and all CPUs are reset at the same time.

【0030】上記のように、本発明においては、複数の
CPUに対して1つの異常検出素子を設けるだけですべ
てのCPUをリセットできるため、コストの低減を図る
ことができる。
As described above, in the present invention, all the CPUs can be reset simply by providing one abnormality detection element for a plurality of CPUs, so that the cost can be reduced.

【0031】またいずれかのCPUの動作が異常になっ
たときに、すべてのCPUを同時にリセットすることが
できるため、一部のCPUのみが動作を継続して異常な
制御が行われるおそれをなくすことができる。
Further, when the operation of any one of the CPUs becomes abnormal, all the CPUs can be reset at the same time, so that there is no danger that only some of the CPUs will continue to operate and abnormal control will be performed. be able to.

【0032】[0032]

【発明の実施の形態】図1は一例として2つのCPUが
設けられる制御装置に本発明を適用した場合の要部の構
成例を示したもので、同図において11及び12はそれ
ぞれ第1及び第2のCPUであり、各CPUにおいて
は、2つのポートが第1の送信ポートPs1及び受信ポー
トPr1として割り当てられ、他の2つのポートが第2の
送信ポートPs2及び受信ポートPr2として割り当てられ
いてる。また各CPUには、クリア信号出力端子CL
と、リセット端子入力端子RESとが設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of the configuration of a main part when the present invention is applied to a control device provided with two CPUs as an example. In FIG. This is a second CPU. In each CPU, two ports are allocated as a first transmission port Ps1 and a reception port Pr1, and the other two ports are allocated as a second transmission port Ps2 and a reception port Pr2. . Each CPU has a clear signal output terminal CL.
And a reset terminal input terminal RES.

【0033】図示の例では、第1のCPU11の送信ポ
ートPs1と第2のCPU12の受信ポートPr1との間が
2線式のシリアル通信ラインL1 を介して接続され、第
2のCPU12の送信ポートPs1と第1のCPU11の
受信ポートPr1との間が2線式のシリアル通信ラインL
2 を介して接続されている。
In the illustrated example, the transmission port Ps1 of the first CPU 11 and the reception port Pr1 of the second CPU 12 are connected via a two-wire serial communication line L1. A two-wire serial communication line L is connected between Ps1 and the receiving port Pr1 of the first CPU 11.
Connected via 2.

【0034】また13及び14は第1及び第2のEEP
ROMで、第1のEEPROM3の入力端子Ar 及び出
力端子As はそれぞれ第1のCPU11の第2の送信ポ
ートPs2及び受信ポートPr2に接続され、第2のEEP
ROM14の入力端子Ar 及び出力端子As はそれぞれ
第2のCPU12の第2の送信ポートPs2及び受信ポー
トPr2に接続されている。
13 and 14 are the first and second EEPs.
In the ROM, the input terminal Ar and the output terminal As of the first EEPROM 3 are connected to the second transmission port Ps2 and the reception port Pr2 of the first CPU 11, respectively.
The input terminal Ar and the output terminal As of the ROM 14 are connected to the second transmission port Ps2 and the reception port Pr2 of the second CPU 12, respectively.

【0035】各CPUは、正常に動作しているときに一
定の周期でクリア信号を発生し、動作が異常になった時
に該クリア信号の発生を停止するように構成されてい
る。各CPUはまた、設定時間To の間他のCPUから
与えられるデータを受信しなかったときに該他のCPU
の動作が異常になったことの情報を含む必要情報を記憶
手段に記憶させた後クリア信号の出力を停止するように
構成されている。
Each of the CPUs is configured to generate a clear signal at a constant cycle when operating normally, and to stop generating the clear signal when the operation becomes abnormal. Each CPU also receives the data from the other CPU for a set time To when the other CPU does not receive data given from the other CPU.
After the necessary information including the information indicating that the operation has become abnormal is stored in the storage means, the output of the clear signal is stopped.

【0036】本発明においては、複数のCPU11及び
12に対して共通に1つの異常検出素子15が設けられ
て、複数のCPU11及び12がそれぞれのクリア信号
出力端子CLから出力するクリア信号が、それぞれ微分
回路16及び17とオア回路18とを通して異常検出素
子15の信号入力端子clに入力されている。また異常
検出素子15がそのリセット信号出力端子resから出
力するリセット信号がすべてのCPU11及び12のリ
セット端子RESに与えられている。
In the present invention, one abnormality detecting element 15 is provided in common for the plurality of CPUs 11 and 12, and the clear signals output from the clear signal output terminals CL by the plurality of CPUs 11 and 12 respectively. The signal is input to the signal input terminal cl of the abnormality detection element 15 through the differentiation circuits 16 and 17 and the OR circuit 18. A reset signal output from the reset signal output terminal res by the abnormality detection element 15 is given to the reset terminals RES of all the CPUs 11 and 12.

【0037】異常検出素子15は、クリア信号の発生間
隔を計測するための時限動作を行うアナログ式のタイマ
回路(例えばコンデンサを一定の時定数で充電する回
路)と、オア回路18からクリア信号が入力される毎に
タイマ回路をクリアするクリア回路と、タイマ回路の出
力が設定値に達したときにリセット信号を発生するリセ
ット信号発生回路とを備えていて、設定された判定時間
T1 内にクリア信号が入力されない状態が生じたとき
に、そのリセット信号出力端子resからリセット信号
を出力する。この異常検出素子15には、図示しない定
電圧直流電源から抵抗R1 を通して電源電圧が与えられ
ている。
The abnormality detecting element 15 includes an analog timer circuit (for example, a circuit for charging a capacitor with a constant time constant) for performing a timed operation for measuring an interval of generation of the clear signal, and a clear signal from the OR circuit 18. A clear circuit that clears the timer circuit every time it is input, and a reset signal generation circuit that generates a reset signal when the output of the timer circuit reaches a set value, are cleared within the set determination time T1 When a state where no signal is input occurs, a reset signal is output from the reset signal output terminal res. The abnormality detecting element 15 is supplied with a power supply voltage from a constant voltage DC power supply (not shown) through a resistor R1.

【0038】上記判定時間T1 は、CPU11及び12
のそれぞれのクリア信号の発生周期To1及びTo2のうち
の最も長い周期よりも更に長く設定されている。即ち、
T1>T01及びT1 >To2の関係が成立するように設定
時間T1 の長さが設定されている。
The determination time T1 is determined by the CPUs 11 and 12.
Are set longer than the longest of the clear signal generation periods To1 and To2. That is,
The length of the set time T1 is set so that the relations T1> T01 and T1> To2 hold.

【0039】微分回路16は、図示しない定電圧直流電
源の正極側出力端子に一端が接続された抵抗R2 と、該
抵抗R2 の他端に一端が接続されたコンデンサC1 と、
コンデンサC1 の他端と接地間に接続された抵抗R3
と、抵抗R2 の他端と接地間にアノードを接地側に向け
て接続されたダイオードD1 とからなっていて、CPU
11がクリア信号を出力する際のクリア信号出力端子C
Lの電位の変化(クリア信号)を微分して抵抗R3 の両
端にパルス波形のクリア信号Pc1を出力する。
The differentiating circuit 16 includes a resistor R2 having one end connected to a positive output terminal of a constant-voltage DC power supply (not shown), a capacitor C1 having one end connected to the other end of the resistor R2,
A resistor R3 connected between the other end of the capacitor C1 and the ground
And a diode D1 whose anode is connected to the ground side between the other end of the resistor R2 and the ground.
11 is a clear signal output terminal C when outputting a clear signal.
A change in the potential of L (clear signal) is differentiated, and a clear signal Pc1 having a pulse waveform is output to both ends of the resistor R3.

【0040】微分回路17は抵抗R4 ,R5 とコンデン
サC2 とダイオードD2 とにより微分回路16と同様に
構成されていて、CPU12がクリア信号を出力する際
のクリア信号出力端子CLの電位の変化(クリア信号)
を微分して抵抗R5 の両端にパルス波形のクリア信号P
c2を出力する。
The differentiating circuit 17 is constituted in the same manner as the differentiating circuit 16 by the resistors R4 and R5, the capacitor C2 and the diode D2, and changes in the potential of the clear signal output terminal CL when the CPU 12 outputs the clear signal (clear). signal)
And a clear signal P of a pulse waveform is applied to both ends of the resistor R5.
Outputs c2.

【0041】オア回路18は、カソードが共通接続され
たダイオードD3 及びD4 と、ダイオードD3 及びD4
のカソードの共通接続点と接地間に接続された抵抗R6
とからなるダイオードオア回路で、ダイオードD3 のア
ノードと接地間及びダイオードD4 のアノードと接地間
にそれぞれ微分回路16及び17の出力信号(クリア信
号)Pc1及びPc2が印加されている。ダイオードD3 ,
D4 のカソードの共通接続点と接地間に得られるオア回
路の出力信号(クリア信号)が異常検出素子15の信号
入力端子clに入力されている。
The OR circuit 18 comprises diodes D3 and D4, whose cathodes are commonly connected, and diodes D3 and D4.
A resistor R6 connected between the common connection point of the
The output signals (clear signals) Pc1 and Pc2 of the differentiating circuits 16 and 17 are applied between the anode of the diode D3 and the ground and between the anode of the diode D4 and the ground, respectively. Diode D3,
An output signal (clear signal) of the OR circuit obtained between the common connection point of the cathode of D4 and the ground is input to the signal input terminal cl of the abnormality detecting element 15.

【0042】図1に示した例では、異常検出素子15
と、微分回路16及び17と、オア回路18とにより、
異常検出回路が構成されている。
In the example shown in FIG.
, The differentiating circuits 16 and 17, and the OR circuit 18,
An abnormality detection circuit is configured.

【0043】図2は図1の制御装置の異常検出素子15
の動作を説明するためのタイミングチャートで、同図
(A)は異常検出素子15の内部のタイマ回路の計数出
力(電圧)の変化を示し、同図(B)はCPU11から
微分回路16とオア回路18とを通して異常検出素子1
5のクリア信号入力端子clに入力されるクリア信号を
示している。また図2(C)はCPU12から微分回路
17とオア回路18とを通して異常検出素子15のクリ
ア信号入力端子clに入力されるクリア信号を示し、同
図(D)は、異常検出素子のリセット信号出力端子re
sの電位を示している。リセット信号出力端子resの
電位のHレベルからLレベルへの変化がリセット信号と
なる。
FIG. 2 shows an abnormality detecting element 15 of the control device shown in FIG.
5A is a timing chart for explaining the operation of FIG. 5, wherein FIG. 6A shows a change in the count output (voltage) of the timer circuit inside the abnormality detecting element 15 and FIG. Abnormality detection element 1 through circuit 18
5 shows a clear signal input to a clear signal input terminal cl. 2C shows a clear signal input from the CPU 12 to the clear signal input terminal cl of the abnormality detecting element 15 through the differentiating circuit 17 and the OR circuit 18, and FIG. 2D shows a reset signal of the abnormality detecting element. Output terminal re
s indicates the potential. A change in the potential of the reset signal output terminal res from H level to L level becomes a reset signal.

【0044】異常検出素子15の内部タイマは、クリア
信号Pc1またはPc2が入力される毎にリセットされて計
数動作を再開する。この例では、CPU11が正常時に
周期To1でクリア信号を発生し、オア回路18は周期T
o1でクリア信号Pc1を出力する。またCPU12は正常
時にCPU11が発生するクリア信号に対して一定の遅
れをもって、周期To2でクリア信号を発生し、オア回路
18は周期To2でクリア信号Pc2を出力する。したがっ
て、CPU11及び12が正常であるときには、図2
(B)の時刻t1 からt5 までの期間のように、CPU
11及び12からクリア信号Pc1及びPc2が交互に異常
検出素子15に入力される。この状態では、内部タイマ
の計数出力が設定値Vsに達することはないため、異常
検出素子18はリセット信号を出力しない。このときC
PU11及び12はリセットされることなく、正常に動
作する。
The internal timer of the abnormality detecting element 15 is cleared
Reset every time the signal Pc1 or Pc2 is input
Restart several operations. In this example, when the CPU 11 is normal
A clear signal is generated at the period To1, and the OR circuit 18
A clear signal Pc1 is output at o1. CPU 12 is normal
At a certain time with respect to the clear signal generated by the CPU 11.
As a result, a clear signal is generated at the period To2, and the OR circuit is generated.
Reference numeral 18 outputs a clear signal Pc2 at a period To2. Accordingly
When the CPUs 11 and 12 are normal, FIG.
As in the period from time t1 to time t5 in FIG.
Clear signals Pc1 and Pc2 alternately abnormal from 11 and 12
Input to the detection element 15. In this state, the internal timer
Since the count output of does not reach the set value Vs,
The detecting element 18 does not output a reset signal. Then C
PUs 11 and 12 operate normally without being reset.
Make.

【0045】図2(C)の時刻t6 において、例えばC
PU12の動作が異常になったとすると、この時刻t6
以降CPU12はクリア信号を出力することができなく
なる。またこのとき正常なCPU11は、CPU12か
らの信号を受信できなくなるため、CPU12の動作が
異常になったと判断して、CPU12の動作が異常にな
ったことの情報を含む必要情報をEEPROM13に書
き込んだ後、次のクリア信号(本来であれば図2の時刻
t8 で出力するはずであったクリア信号)の出力を停止
する(クリア信号出力端子CLの電位をHレベルまたは
Lレベルに固定する)。
At time t6 in FIG.
Assuming that the operation of the PU 12 becomes abnormal, the time t6
Thereafter, the CPU 12 cannot output the clear signal. At this time, since the normal CPU 11 cannot receive the signal from the CPU 12, the normal CPU 11 determines that the operation of the CPU 12 has become abnormal, and writes necessary information including information indicating that the operation of the CPU 12 has become abnormal to the EEPROM 13. Thereafter, the output of the next clear signal (the clear signal that should have been output at time t8 in FIG. 2) is stopped (the potential of the clear signal output terminal CL is fixed at the H level or the L level).

【0046】上記のように、CPU12が時刻t6 以降
クリア信号の発生を停止しても、時刻t7 においてCP
U11が発生するクリア信号Pc1が異常検出素子15に
入力されるため、異常検出素子15はリセット信号を出
力しない。
As described above, even if the CPU 12 stops generating the clear signal after time t6, the CPU 12 stops generating the clear signal at time t7.
Since the clear signal Pc1 generated by U11 is input to the abnormality detection element 15, the abnormality detection element 15 does not output a reset signal.

【0047】CPU12の動作が異常になった後、CP
U11が必要情報の記憶動作を完了し、該CPU11が
時刻t8 で出力するはずであったクリア信号の出力を停
止すると、最後にクリア信号Pc1が発生した時刻t7 か
ら判定時間T1 が経過した時に異常検出素子15内のタ
イマの計数値が判定値Vs に達する。これにより図2
(D)に示すように、異常検出素子15がそのリセット
信号出力端子の電位をHレベルからLレベルに低下させ
る。この電位の変化がリセット信号としてCPU11及
び12のリセット端子RESに与えられるため、CPU
11及び12は同時にリセットされる。
After the operation of the CPU 12 becomes abnormal, the CP
When U11 completes the storage operation of the necessary information and the CPU 11 stops outputting the clear signal which should have been output at time t8, the abnormality occurs when the determination time T1 has elapsed from time t7 when the clear signal Pc1 was last generated. The count value of the timer in the detection element 15 reaches the judgment value Vs. As a result, FIG.
As shown in (D), the abnormality detection element 15 lowers the potential of the reset signal output terminal from the H level to the L level. Since this change in potential is given as a reset signal to the reset terminals RES of the CPUs 11 and 12,
11 and 12 are reset simultaneously.

【0048】このように、本発明においては、複数のC
PUに対して共通に1つの異常検出素子を設けるだけ
で、いずれかのCPUの異常時に、正常なCPUに必要
情報の記憶動作を行わせた後に、すべてのCPUをリセ
ットすることができる。したがって、CPU毎に異常検
出素子を設けていた従来の制御装置に比べてコストの低
減を図ることができる。
As described above, in the present invention, a plurality of C
By simply providing one abnormality detection element for the PUs, all the CPUs can be reset after a normal CPU performs the operation of storing necessary information when any one of the CPUs has an abnormality. Therefore, the cost can be reduced as compared with a conventional control device in which an abnormality detection element is provided for each CPU.

【0049】また本発明によれば、いずれかのCPUが
異常になった時にすべてのCPUを同時にリセットする
ことができるため、一部のCPUが異常になることによ
り生じたシステムの異常なデータに基づいて制御が行わ
れるおそれをなくすことができる。
Further, according to the present invention, all the CPUs can be reset at the same time when any of the CPUs becomes abnormal. It is possible to eliminate the possibility that control is performed based on the control.

【0050】図1に示した例では、すべてのCPUが発
生するクリア信号をオア回路を通して異常検出素子に入
力しているが、いずれか1つのCPUが発生するクリア
信号のみを異常検出素子に入力するようにしてもよい。
In the example shown in FIG. 1, the clear signal generated by all CPUs is input to the abnormality detecting element through the OR circuit. However, only the clear signal generated by any one CPU is input to the abnormality detecting element. You may make it.

【0051】複数のCPUを設けて、CPU相互間で通
信を行いながら制御対象を制御する制御装置において
は、いずれかのCPUの動作が異常になると、他の正常
なCPUは、その異常になったCPUからの信号を受信
できなくなることからその異常を検知して、異常なCP
Uについての情報を含む必要情報をEEPROMに記憶
させ、しかる後にクリア信号の出力を停止する。従っ
て、いずれかのCPUの動作が異常になったときには、
最終的には、すべてのCPUがクリア信号の出力を停止
する。従って、1つのCPUが出力するクリア信号のみ
を異常検出素子に入力する構成をとっても、すべてのC
PUを同時にリセットすることができる。
In a control device in which a plurality of CPUs are provided and a control target is controlled while communicating between the CPUs, when one of the CPUs becomes abnormal, the other normal CPUs become abnormal. Signal from the failed CPU can no longer be received, and the abnormality is detected.
The necessary information including the information on U is stored in the EEPROM, and then the output of the clear signal is stopped. Therefore, when the operation of any CPU becomes abnormal,
Eventually, all CPUs stop outputting the clear signal. Therefore, even if a configuration is adopted in which only the clear signal output by one CPU is input to the abnormality detection element,
The PU can be reset at the same time.

【0052】但し、この場合には、異常検出素子の判定
時間を、いずれかのCPUの動作が異常になった後、正
常なCPUが異常なCPUについての情報を含む必要情
報を記憶するのに要する時間以上に設定しておく必要が
ある。
In this case, however, the determination time of the abnormality detecting element is set so that after the operation of any of the CPUs becomes abnormal, the normal CPU stores necessary information including information on the abnormal CPU. It must be set longer than the required time.

【0053】上記のように、複数のCPUの内1つのC
PUが出力するクリア信号のみを異常検出素子に入力す
るようにすると、構成を最も簡単にすることができる。
As described above, one of the CPUs C
If only the clear signal output from the PU is input to the abnormality detection element, the configuration can be simplified.

【0054】上記の例では、CPUが2つ設けられてい
るが、CPUが3以上設けられて、CPU相互間で通信
を行いながら、所定の制御を行う場合にも、同様にすべ
てのCPUに対して共通に1つの異常検出素子を設け
て、少なくとも1つのCPUが発生するクリア信号を異
常検出素子に入力する構成をとることにより、すべての
CPUを同時にリセットすることができる。
In the above example, two CPUs are provided. However, when three or more CPUs are provided and predetermined control is performed while performing communication between the CPUs, all CPUs are similarly provided. In contrast, by providing one abnormality detection element in common and inputting a clear signal generated by at least one CPU to the abnormality detection element, all the CPUs can be reset at the same time.

【0055】[0055]

【発明の効果】以上のように、本発明によれば、複数の
CPUを設けて、CPU相互間で通信を行いながら制御
対象を制御する場合に、複数のCPUに対して共通に1
つの異常検出素子を設けて、少なくとも1つのCPUが
正常時に出力するクリア信号を異常検出素子に入力する
ようにしたので、1つの異常検出素子を設けるだけです
べてのCPUをリセットすることができる。したがっ
て、各CPU毎に異常検出素子を設けていた従来の制御
装置に比べて部品点数の削減を図り、コストの低減を図
ることができる。
As described above, according to the present invention, when a plurality of CPUs are provided and a control target is controlled while communicating between the CPUs, one CPU is commonly used for the plurality of CPUs.
Since one abnormality detection element is provided and a clear signal output by at least one CPU in a normal state is input to the abnormality detection element, all CPUs can be reset only by providing one abnormality detection element. Therefore, the number of components can be reduced and the cost can be reduced as compared with the conventional control device in which an abnormality detection element is provided for each CPU.

【0056】また本発明によれば、いずれかのCPUが
異常になったときにすべてのCPUを同時にリセットす
ることができるため、一部のCPUが異常になったとき
に生じた異常なデータに基づいてシステムの制御が行わ
れるのを防ぐことができ、制御装置信頼性を高めること
ができる。
Further, according to the present invention, when any one of the CPUs becomes abnormal, all the CPUs can be reset at the same time. Therefore, abnormal data generated when some of the CPUs become abnormal It is possible to prevent the control of the system from being performed on the basis of this, and to improve the reliability of the control device.

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

【図1】本発明に係わる制御装置の要部の一構成例を示
した構成図である。
FIG. 1 is a configuration diagram showing one configuration example of a main part of a control device according to the present invention.

【図2】図1に示した制御装置における異常検出素子の
動作を説明するためのタイミングチャートである。
FIG. 2 is a timing chart for explaining an operation of an abnormality detection element in the control device shown in FIG.

【図3】従来の制御装置の要部の一構成例を示した構成
図である。
FIG. 3 is a configuration diagram showing one configuration example of a main part of a conventional control device.

【図4】図3に示した制御装置における異常検出素子の
動作を説明するためのタイミングチャートである。
FIG. 4 is a timing chart for explaining an operation of an abnormality detection element in the control device shown in FIG. 3;

【符号の説明】[Explanation of symbols]

11,12…CPU、13,14…EEPROM、15
…異常検出素子、16,17…微分回路、18…オア回
路。
11, 12 CPU, 13, 14 EEPROM, 15
... Abnormality detecting element, 16, 17 ... Differentiation circuit, 18 ... OR circuit.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B042 GA11 GB05 JJ13 JJ21 JJ27 KK02 5H209 BB01 CC01 CC09 CC13 DD04 EE11 GG04 HH06 HH33 JJ07 5H223 BB01 CC09 DD05 DD09 EE04 EE11 FF08  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B042 GA11 GB05 JJ13 JJ21 JJ27 KK02 5H209 BB01 CC01 CC09 CC13 DD04 EE11 GG04 HH06 HH33 JJ07 5H223 BB01 CC09 DD05 DD09 EE04 EE11 FF08

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 正常に動作しているときに一定の周期で
クリア信号を発生し、動作が異常になった時に該クリア
信号の発生を停止するように構成されたCPUを複数個
備えて、該複数のCPU相互間でデータ通信を行いなが
ら制御対象を制御する制御装置において、 各CPUは、設定時間To の間他のCPUから与えられ
るデータを受信しなかったときに該他のCPUの動作が
異常になったことの情報を含む必要情報を記憶手段に記
憶させた後前記クリア信号の出力を停止するように構成
され、 入力信号が与えられる間隔が設定された判定時間T1 を
超えた時にリセット信号を出力する1つの異常検出素子
が前記複数のCPUに対して共通に設けられて、前記複
数のCPUのうちの少くとも1つが発生するクリア信号
が前記異常検出素子に入力信号として与えられ、 前記1つの異常検出素子が出力するリセット信号が前記
複数のCPUのそれぞれのリセット端子に入力され、 前記判定時間T1 は、前記複数のCPUのそれぞれのク
リア信号の発生周期のうちの最も長い周期よりも更に長
く設定されていることを特徴とする複数のCPUを備え
た制御装置。
A plurality of CPUs configured to generate a clear signal at a predetermined cycle during normal operation and to stop generating the clear signal when operation is abnormal; In a control device for controlling a control target while performing data communication between the plurality of CPUs, each CPU operates when the CPU does not receive data given from the other CPU for a set time To. Is configured to stop the output of the clear signal after storing necessary information including information indicating that the signal has become abnormal, and to stop the output of the clear signal when the interval at which the input signal is provided exceeds the set determination time T1. One abnormality detection element for outputting a reset signal is provided commonly to the plurality of CPUs, and a clear signal generated by at least one of the plurality of CPUs is input to the abnormality detection element. A reset signal output from the one abnormality detection element is input to each of the reset terminals of the plurality of CPUs. A control device comprising a plurality of CPUs, wherein the control device is set to be longer than the longest cycle of the control.
【請求項2】 正常に動作しているときに一定の周期で
クリア信号を発生し、動作が異常になった時に該クリア
信号の発生を停止するように構成されたCPUを複数個
備えて、該複数のCPU相互間でデータ通信を行いなが
ら制御対象を制御する制御装置において、 各CPUは、設定時間To の間他のCPUから与えられ
るデータを受信しなかったときに該他のCPUの動作が
異常になったことの情報を含む必要情報を記憶手段に記
憶させた後前記クリア信号の出力を停止するように構成
され、 入力信号が与えられる間隔が設定された判定時間T1 を
超えた時にリセット信号を出力する1つの異常検出素子
が前記複数のCPUに対して共通に設けられて、前記複
数のCPUのうちのいずれか1つが発生するクリア信号
が前記異常検出素子に入力信号として与えられ、 前記1つの異常検出素子が出力するリセット信号が前記
複数のCPUのそれぞれのリセット端子に入力され、 前記判定時間T1 は、いずれかのCPUの動作が異常に
なった時に他の正常なCPUが前記必要情報を記憶する
のに要する時間以上に設定されていることを特徴とする
複数のCPUを備えた制御装置。
2. A system comprising: a plurality of CPUs configured to generate a clear signal at a constant cycle when operating normally and to stop generating the clear signal when operation becomes abnormal; In a control device for controlling a control target while performing data communication between the plurality of CPUs, each CPU operates when the CPU does not receive data given from the other CPU for a set time To. Is configured to stop the output of the clear signal after storing necessary information including information indicating that an error has occurred in the storage means, and when an input signal application interval exceeds a set determination time T1. One abnormality detection element for outputting a reset signal is provided in common for the plurality of CPUs, and a clear signal generated by any one of the plurality of CPUs is input to the abnormality detection element. A reset signal output from the one abnormality detection element is input to each of the reset terminals of the plurality of CPUs, and the determination time T1 is set when another operation of one of the CPUs becomes abnormal. A control device comprising a plurality of CPUs, wherein a normal CPU is set to be longer than a time required for storing the necessary information.
【請求項3】 正常に動作しているときに一定の周期で
クリア信号を発生し、動作が異常になった時に該クリア
信号の発生を停止するように構成されたCPUを複数個
備えて、該複数のCPU相互間でデータ通信を行いなが
ら制御対象を制御する制御装置において、 各CPUは、設定時間To の間他のCPUから与えられ
るデータを受信しなかったときに該他のCPUの動作が
異常になったことの情報を含む必要情報を記憶手段に記
憶させた後前記クリア信号の出力を停止するように構成
され、 入力信号が与えられる間隔が設定された判定時間T1 を
超えた時にリセット信号を出力する1つの異常検出素子
が前記複数のCPUに対して共通に設けられて、前記複
数のCPUがそれぞれ発生するクリア信号が前記異常検
出素子にオア回路を通して入力され、 前記1つの異常検出素子が出力するリセット信号が前記
複数のCPUのそれぞれのリセット端子に入力され、 前記判定時間T1 は、前記複数のCPUのそれぞれのク
リア信号の発生周期のうちの最も長い周期よりも更に長
く設定されていることを特徴とする複数のCPUを備え
た制御装置。
A plurality of CPUs configured to generate a clear signal at a fixed cycle during normal operation and to stop generating the clear signal when operation is abnormal; In a control device for controlling a control target while performing data communication between the plurality of CPUs, each CPU operates when the CPU does not receive data given from the other CPU for a set time To. Is configured to stop the output of the clear signal after storing necessary information including information indicating that an error has occurred in the storage means, and when an input signal application interval exceeds a set determination time T1. One abnormality detection element that outputs a reset signal is provided in common for the plurality of CPUs, and clear signals generated by the plurality of CPUs pass through the OR circuit to the abnormality detection elements. The reset signal output from the one abnormality detection element is input to the reset terminal of each of the plurality of CPUs, and the determination time T1 is set to the most of the generation cycle of the clear signal of each of the plurality of CPUs. A control device comprising a plurality of CPUs, wherein the control device is set to be longer than a long cycle.
JP2001124048A 2001-04-23 2001-04-23 Controller provided with cpu Withdrawn JP2002318711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001124048A JP2002318711A (en) 2001-04-23 2001-04-23 Controller provided with cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001124048A JP2002318711A (en) 2001-04-23 2001-04-23 Controller provided with cpu

Publications (1)

Publication Number Publication Date
JP2002318711A true JP2002318711A (en) 2002-10-31

Family

ID=18973502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001124048A Withdrawn JP2002318711A (en) 2001-04-23 2001-04-23 Controller provided with cpu

Country Status (1)

Country Link
JP (1) JP2002318711A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011056852A (en) * 2009-09-11 2011-03-24 Ricoh Co Ltd Information processor and image forming apparatus
JP2016038620A (en) * 2014-08-05 2016-03-22 日立オートモティブシステムズ株式会社 Electronic control device
JP2019164536A (en) * 2018-03-19 2019-09-26 キヤノン株式会社 Electronic apparatus and control method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011056852A (en) * 2009-09-11 2011-03-24 Ricoh Co Ltd Information processor and image forming apparatus
JP2016038620A (en) * 2014-08-05 2016-03-22 日立オートモティブシステムズ株式会社 Electronic control device
JP2019164536A (en) * 2018-03-19 2019-09-26 キヤノン株式会社 Electronic apparatus and control method thereof
JP7258467B2 (en) 2018-03-19 2023-04-17 キヤノン株式会社 Electronic equipment and its control method

Similar Documents

Publication Publication Date Title
JP2019088000A (en) Bus protocol for kinetic lighting application
US7895478B2 (en) Method and device for monitoring a process execution
US7287198B2 (en) Method for monitoring a microprocessor and circuit arrangement having a microprocessor
CN104969507B (en) Dither circuit for serial data transmission
US8566631B2 (en) Serially shutting down extension units to time extend power to CPU from charging backup supply
CN110675794A (en) Power management chip and driving method and driving system thereof
JP4959818B2 (en) Electronic control device
JP2002318711A (en) Controller provided with cpu
JP7078347B2 (en) Sensor device
US20140143595A1 (en) Microcomputer runaway monitoring device
TWI497274B (en) Rack and power controlling method thereof
JP4531884B2 (en) Address, instruction and / or data telegraph device and address, instruction and / or data telegraph method
JP2007041824A (en) Resetting circuit for electronic control unit
JP5333358B2 (en) Vehicle control system
JP3721597B2 (en) Control device for fuel injection pump
KR101795464B1 (en) System Having Watchdog Processor, and Method Thereof
US7437448B1 (en) Method and device for function selection of a control unit
CN220626897U (en) Expansion module of generator set control system
JP7265648B2 (en) Energy supply configuration for vehicle controls
JP2020133551A (en) Electronic controller
JP2010123077A (en) Physical quantity detection system
KR100775328B1 (en) Apparatus for resetting micoms
CN113763894B (en) Regional control circuit self-checking resetting method and system
JP7021363B2 (en) Electronic control device
JPH07102275B2 (en) Washing machine operation control device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060420