JPS6186847A - Cpu runaway preventing device for automobile controller - Google Patents

Cpu runaway preventing device for automobile controller

Info

Publication number
JPS6186847A
JPS6186847A JP59206382A JP20638284A JPS6186847A JP S6186847 A JPS6186847 A JP S6186847A JP 59206382 A JP59206382 A JP 59206382A JP 20638284 A JP20638284 A JP 20638284A JP S6186847 A JPS6186847 A JP S6186847A
Authority
JP
Japan
Prior art keywords
cpu
signal
run
run signal
runaway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59206382A
Other languages
Japanese (ja)
Inventor
Hirohisa Najima
名島 宏久
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Unisia Automotive Ltd
Original Assignee
Japan Electronic Control Systems 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 Japan Electronic Control Systems Co Ltd filed Critical Japan Electronic Control Systems Co Ltd
Priority to JP59206382A priority Critical patent/JPS6186847A/en
Publication of JPS6186847A publication Critical patent/JPS6186847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To monitor the runaway of plural CPUs with just a single runaway monitor circuit by supplying the program run signal of a CPU at one side to a CPU at another side and then supplying the program run signal of the CPU at the other side to the program runaway monitor circuit. CONSTITUTION:The 2nd CPU13 decides whether the 1st program run signal (P-RUN)A given from the 2nd CPU12 is normal or not. When the signal (P-RUN)A is normal, the CPU13 produces the 2nd P-RUN signal B. However the signal B is stopped if the cPU13 has a fault and executes no program. Thus a CPU runaway monitor circuit 14 delivers a fault detecting signal C. the 2nd P-RUN signal B is not produced regardless of a normal or abnormal state of the CPU13 as long as the signal A is not normal. Therefore, both CPU12 and 13 are reset by the signal C in case either one of CPU12 and 13 has a fault.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は複数のCPUを用いた自動車用制御装置におけ
るCPU暴走防止装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a CPU runaway prevention device in an automobile control device using a plurality of CPUs.

〈従来の技術〉 例えば、自動車のエンジン制御等にマイクロコンピュー
タが用いられるようになって以来、多くの機能の集約化
及び高度化の要求が強くなってきている。かかる対策と
して複数のCPUを設けて機能を分担させることにより
、個々のcPUの制御の簡略化、効率化及び実行時間の
短縮化等を図るようにしたものが提案されている(特開
昭59−108847号公報)。
<Prior Art> For example, since microcomputers have been used to control automobile engines, there has been a strong demand for the consolidation and sophistication of many functions. As a countermeasure against this problem, a method has been proposed in which multiple CPUs are provided and the functions are shared, thereby simplifying the control of each cPU, improving efficiency, and shortening the execution time (Japanese Patent Application Laid-Open No. 59-1999). -108847).

ところで、かかる自動車用制御装置では、安全対策とし
て通常CPUの暴走を防止する装置が設けられており、
従来では通常第4図に示すようにコントロールユニット
5内の各CPU1.2毎に暴走監視回路3.4を設ける
ようにしている。即ち、各CPU1.2の出力ボートか
らそれぞれ対応する各監視回路3,4にプログラムラン
信号(以下1”RUN信号)を出力し、前記各P’−R
UN信号の有無によってそれぞれの監視回路3.4が対
応するCPUI、2の異常を検出し、異常時にCPUI
、2にリセット信号を出力するようにしている。
By the way, such automobile control devices are usually provided with a device to prevent the CPU from running out of control as a safety measure.
Conventionally, a runaway monitoring circuit 3.4 is usually provided for each CPU 1.2 in the control unit 5, as shown in FIG. That is, a program run signal (hereinafter referred to as 1" RUN signal) is output from the output port of each CPU 1.2 to each corresponding monitoring circuit 3, 4, and each P'-R
Depending on the presence or absence of the UN signal, each monitoring circuit 3.4 detects an abnormality in the corresponding CPUI, 2, and when an abnormality occurs, the CPUI
, 2 to output a reset signal.

〈発明が解決しようとする問題点〉 しかしながら、従来のように各CPU毎に暴走゛監視回
路を設ける構成では、コスト及び実装スペース等の点で
不利である。
<Problems to be Solved by the Invention> However, the conventional configuration in which a runaway monitoring circuit is provided for each CPU is disadvantageous in terms of cost and mounting space.

本発明は上記の問題点を解決することを目的としてなさ
れたもので、単一のCPU暴走監視回路で複数のCPU
の暴走を防止するようにした。
The present invention was made with the aim of solving the above problems, and a single CPU runaway monitoring circuit can control multiple CPUs.
This is to prevent runaway behavior.

く問題点を解決するための手段〉 このため本発明では第1図に示すように、一方のCPU
から出力される第1P−RUN信号を他方のCPUに入
力し、他方のCPUから出力される第2P−RUN信号
を単一のCPU暴走監視回路に入力する構成とし、前記
他方のCPUに、第1P−RUN信号の異常・正常を判
定する判定手段と、該判定手段が異常判定したときに第
2P−RUN信号の発生を停止させる停止手段とを設け
ると共に、前記暴走監視回路のリセット信号を各CPU
に出力するよう構成した。
Means for Solving the Problems〉 Therefore, in the present invention, as shown in FIG.
The first P-RUN signal output from the other CPU is input to the other CPU, and the second P-RUN signal output from the other CPU is input to a single CPU runaway monitoring circuit. A determining means for determining whether the 1P-RUN signal is abnormal or normal is provided, and a stopping means for stopping the generation of the 2nd P-RUN signal when the determining means determines that the 1P-RUN signal is abnormal, and a reset signal for the runaway monitoring circuit is provided. CPU
It was configured to output to .

く作用) これにより、一方のCPUが異常状態であってそのP−
RUN信号(第1P−RUN信号)が異常のとき又は他
方のCPU自体が異常状態のときには、CPU暴走監視
回路へ他方のCPUのP’−RUN信号(第2P−RU
N信号)が入力されず、単一のCPU暴走監視回路によ
って各CPUがリセットされる。
This causes one CPU to be in an abnormal state and its P-
When the RUN signal (first P-RUN signal) is abnormal or when the other CPU itself is in an abnormal state, the P'-RUN signal (second P-RUN signal) of the other CPU is sent to the CPU runaway monitoring circuit.
N signal) is not input, and each CPU is reset by a single CPU runaway monitoring circuit.

〈実施例〉 以下本発明の実施例を図面に基づいて説明する。<Example> Embodiments of the present invention will be described below based on the drawings.

第2図は本発明のハードウェア構成の一例を示す。FIG. 2 shows an example of the hardware configuration of the present invention.

図において、コントロールユニット11には2つの第1
及び第2 CP U12.13が設けられている。
In the figure, the control unit 11 has two first
and a second CPU U12.13.

各CPU12,13はそれぞれの制御処理プログラムに
従って各自に分担された制御を行う機能を有することは
従来と同様である。
As in the prior art, each of the CPUs 12 and 13 has a function of performing control assigned to each CPU according to its own control processing program.

そして、本実施例では、第1CPU12の出力ポートか
ら出力される第1P−RUN信号信号箱2CPU13の
入力ポートに人力し、第2CPU13の出力ポートから
出力される第2P−RUN信号信号光一のCPU暴走監
視回路14に入力している。
In this embodiment, the input port of the first P-RUN signal signal box 2CPU 13 outputted from the output port of the first CPU 12 is manually inputted, and the CPU runaway of the second P-RUN signal signal outputted from the output port of the second CPU 13 is performed. It is input to the monitoring circuit 14.

そして、前記第2CPtJ13には、第1P−RtJN
信号Aの正常・異常を判定する第1P−RUN信号判定
手段と、該判定手段が異常判定したとき当該判定手段か
らの信号に基づいて第2 CP U13の出力する第2
P−RUN信号信号光止させる第2P−RUN信号停止
手段が設けられている。また、前記CPU暴走監視回路
14には、第2P−RUN信号状態に基づいてCPUの
異常検出を行うcpU異常検出回路と、該検出回路から
の異常検出信号を受けて各CPU12,13のRESE
T端子へリセット信号を出力するりセント回路とを設け
ている。
The second CPtJ13 has a first P-RtJN.
A first P-RUN signal determining means that determines whether the signal A is normal or abnormal; and a second P-RUN signal that is output by the second CPU U13 based on the signal from the determining means when the determining means determines that the signal A is abnormal.
A second P-RUN signal stopping means is provided for stopping the P-RUN signal light. Further, the CPU runaway monitoring circuit 14 includes a cpu abnormality detection circuit that detects abnormality of the CPU based on the state of the second P-RUN signal, and a RESE of each CPU 12 and 13 in response to an abnormality detection signal from the detection circuit.
A center circuit is provided for outputting a reset signal to the T terminal.

次に作用を第3図のフローチャートに基づいて説明する
Next, the operation will be explained based on the flowchart of FIG.

これは第2CPU13のフローチャートであり、まず、
SLでイニシャライズを行う。次に82で第1CPU1
’2からの第1 P−RUN信号信号有無、即ち正常か
異常かを判定する。ここで、第1CPU12が正常に動
作して第1P−RUN信号信号有定結果が正常であれば
、S3へ進み第2 P−RUN信号信号光生し、更にS
4で第2CPU13に分担された制御処理プログラムを
実行するが、第2CPU13に異常が発生してプログラ
ムが実行されないと第2P−RUN信号信号光止される
。すると、CPU暴走監視回路14のCPU異常検出回
路はこれに基づいてリセット回路に異常検出信号を出力
し、リセット回路から第1及び第20P 012゜13
にそれぞれリセット信号を入力して各CP U12゜1
3をリセットする。
This is a flowchart of the second CPU 13, and first,
Initialize with SL. Next, at 82, the first CPU1
The presence or absence of the first P-RUN signal from '2, ie, whether it is normal or abnormal, is determined. Here, if the first CPU 12 operates normally and the first P-RUN signal determination result is normal, the process advances to S3, where the second P-RUN signal is generated, and then the S
4, the control processing program assigned to the second CPU 13 is executed, but if an abnormality occurs in the second CPU 13 and the program is not executed, the second P-RUN signal is stopped. Then, the CPU abnormality detection circuit of the CPU runaway monitoring circuit 14 outputs an abnormality detection signal to the reset circuit based on this, and the reset circuit outputs the first and 20th P 012゜13.
A reset signal is input to each CPU 12゜1.
Reset 3.

一方、S2の判定で第1 P−RUN信号信号有常のと
きは、第2CPU13の正常・異常に関係なく第2P−
RUN信号信号光生しない。このため、リセット回路か
らのリセット信号によって各CP012、13はリセッ
トされる。
On the other hand, when the first P-RUN signal is present in the determination in S2, the second P-RUN signal is activated regardless of whether the second CPU 13 is normal or abnormal.
RUN signal light is not generated. Therefore, each CP012 and CP013 is reset by a reset signal from the reset circuit.

このようにすれば、複数のCPU12,13を1つの監
視回路14によって監視することかでき、しかもCPU
の暴走を防止できるので、コントロールユニットの小型
化及びコスト低減を図ることができる。
In this way, a plurality of CPUs 12 and 13 can be monitored by one monitoring circuit 14, and the CPU
Since the control unit can be prevented from running out of control, it is possible to reduce the size and cost of the control unit.

〈発明の効果〉 以上述べたように本発明によれば、複数のCPUを備え
た自動車用制御装置において、一方のCpuのP−RU
N信号を他方のCPUに入力し、他方のCPUのP−R
UN信号を単一のCPU暴走監視回路へ入力する構成と
し、監視回路に入力するP’−RUN信号の有無で複数
のCPUの異常検出を行いリセフトするようにしたので
、CPU暴走監視回路をCPUO数だけ設ける必要がな
(1つだけでよく、コントロールユニットの小型化及び
コスト低減を図ることができる。
<Effects of the Invention> As described above, according to the present invention, in an automobile control device equipped with a plurality of CPUs, the P-RU of one CPU
Input N signal to the other CPU, P-R of the other CPU
The configuration is such that the UN signal is input to a single CPU runaway monitoring circuit, and abnormalities in multiple CPUs are detected and reset based on the presence or absence of the P'-RUN signal input to the monitoring circuit. It is not necessary to provide the same number of controllers (only one controller is required, and the control unit can be made smaller and the cost can be reduced).

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

第1図は本発明の詳細な説明するブロック図、第2図は
本発明の一実施例のハードウェア構成図、第3図は同上
実施例のフローチャート、第4図は従来例のハードウェ
ア構成図である。 11・・・コントロールユニノI−12・・・第1 C
PU13・・・第2CPU   14・・・CPU暴走
監視回路A・・・第1 P−RTJN信号  B・・・
第2P−RUN信号 特許出願人 日本電子機器株式会社 代理人 弁理士 笹 島  冨二雄 第1図 第2図
FIG. 1 is a block diagram explaining the present invention in detail, FIG. 2 is a hardware configuration diagram of an embodiment of the present invention, FIG. 3 is a flowchart of the same embodiment, and FIG. 4 is a hardware configuration of a conventional example. It is a diagram. 11...Control Unino I-12...1st C
PU13...2nd CPU 14...CPU runaway monitoring circuit A...1st P-RTJN signal B...
2nd P-RUN Signal Patent Applicant Japan Electronics Co., Ltd. Agent Patent Attorney Fujio Sasashima Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims]  複数のCPUを備え、CPUからのプログラムラン信
号に基づいてCPUの異常を検出し異常時にCPUをリ
セットするCPU暴走監視回路を有する自動車用制御装
置において、一方のCPUから出力される第1プログラ
ムラン信号を他方のCPUに入力し、他方のCPUから
出力される第2プログラムラン信号を単一のCPU暴走
監視回路に入力する構成とし、前記他方のCPUに、第
1プログラムラン信号の異常・正常を判定する判定手段
と、該判定手段が異常判定したときに第2プログラムラ
ン信号の発生を停止させる停止手段とを設けると共に、
前記暴走監視回路のリセット信号を各CPUに出力する
構成としたことを特徴とする自動車用制御装置のCPU
暴走防止装置。
In an automobile control device that includes multiple CPUs and has a CPU runaway monitoring circuit that detects CPU abnormalities based on program run signals from the CPUs and resets the CPUs in the event of an abnormality, the first program run output from one CPU The signal is input to the other CPU, and the second program run signal output from the other CPU is input to a single CPU runaway monitoring circuit. and a stopping means for stopping the generation of the second program run signal when the determining means determines that there is an abnormality,
A CPU of a control device for an automobile, characterized in that a reset signal of the runaway monitoring circuit is output to each CPU.
Runaway prevention device.
JP59206382A 1984-10-03 1984-10-03 Cpu runaway preventing device for automobile controller Pending JPS6186847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59206382A JPS6186847A (en) 1984-10-03 1984-10-03 Cpu runaway preventing device for automobile controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59206382A JPS6186847A (en) 1984-10-03 1984-10-03 Cpu runaway preventing device for automobile controller

Publications (1)

Publication Number Publication Date
JPS6186847A true JPS6186847A (en) 1986-05-02

Family

ID=16522412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59206382A Pending JPS6186847A (en) 1984-10-03 1984-10-03 Cpu runaway preventing device for automobile controller

Country Status (1)

Country Link
JP (1) JPS6186847A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62223180A (en) * 1986-03-07 1987-10-01 イ−・アイ・デユポン・デ・ニモアス・アンド・カンパニ− Herbicidal pyridine sulfonamide
JPH0644102A (en) * 1991-04-16 1994-02-18 Nec Corp Plural processors systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62223180A (en) * 1986-03-07 1987-10-01 イ−・アイ・デユポン・デ・ニモアス・アンド・カンパニ− Herbicidal pyridine sulfonamide
JPH0644102A (en) * 1991-04-16 1994-02-18 Nec Corp Plural processors systems

Similar Documents

Publication Publication Date Title
US5638510A (en) Multiplexed system with watch dog timers
JPS6186847A (en) Cpu runaway preventing device for automobile controller
JPH06324721A (en) Method for detecting falling-off of connection unit
JP4820679B2 (en) Electronic control device for vehicle
JPH02206806A (en) Control system having plural processor units
JPH0544570A (en) Run away monitoring device for engine control device
JPH01310422A (en) Resetting circuit for microcomputer
JPH0395636A (en) Diagnostic system for fail-safe circuit
JPH06305376A (en) Control device for vehicle
JPS6249468A (en) Preventing device for runaway of cpu of on-vehicle controller
JPH02281343A (en) Cpu operation monitor system
US20230134320A1 (en) Information processing device, vehicle, and information processing method
JP7070206B2 (en) In-vehicle control device
JP3182373B2 (en) Microcomputer device
JP2914837B2 (en) Control device with abnormality diagnosis function
JPH08328885A (en) Fault detection method for microcomputer
JPH0552945U (en) Runaway monitoring device
JPS63208949A (en) Fail-safe system
JPH01134632A (en) Detecting circuit for abnormality in computer
JPH0612293A (en) Runaway preventing method for microcomputer
JPH03222020A (en) Reset system for multi-micro processor system
JPH08123704A (en) Controller
JPH05324407A (en) Cpu monitor system
JPH0264702A (en) Method for synchronizing outputs in controller using plural data processings
JPH0293738A (en) Interruption processing system