JPH0991034A - Electronic control unit - Google Patents

Electronic control unit

Info

Publication number
JPH0991034A
JPH0991034A JP24938295A JP24938295A JPH0991034A JP H0991034 A JPH0991034 A JP H0991034A JP 24938295 A JP24938295 A JP 24938295A JP 24938295 A JP24938295 A JP 24938295A JP H0991034 A JPH0991034 A JP H0991034A
Authority
JP
Japan
Prior art keywords
control unit
sub
signal
failure
control means
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
JP24938295A
Other languages
Japanese (ja)
Inventor
Akira Sone
章 曽根
Hirozumi Eki
啓純 益
Makoto Kawamura
誠 川村
Tetsuhiro Yamashita
哲弘 山下
Eiji Sato
英治 佐藤
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP24938295A priority Critical patent/JPH0991034A/en
Publication of JPH0991034A publication Critical patent/JPH0991034A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To suppress communication quantity between a main control means and a subcontrol means as less as possible while securing the reliability of an electronic control unit and to improve the reliability of failure detection by a watchdog method. SOLUTION: In this electronic control unit provided with a main CPU 1 for controlling an object to be controlled and a sub-CPU 2 to be used only for the judgement of a failure, the main CPU 1 outputs a control signal based upon the control logic of ABS control to solenoid valves S1 to S4 being objects to be controlled and outputs a reference signal based upon the same control logic also to the sub-CPU 2 and the sub-CPU 2 is constituted so as to monitor the control signal outputted from the main CPU 1 to the valves S1 to S4. The sub-CPU 2 is provided with a failure judging part 24 for comparing the reference signal with a monitored control signal, and when contradiction is generated between both the signals, judging a failure.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、電子制御ユニッ
ト、特に、制御対象を制御するメイン制御手段と、これ
とは別に、上記制御対象を制御することなく上記メイン
制御手段の故障の有無を判定するサブ制御手段とを備え
てなる電子制御ユニットに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit, in particular, a main control means for controlling a controlled object, and separately from the main control means, for determining the presence / absence of a failure of the main control means without controlling the controlled object. And a sub-control means for controlling the electronic control unit.

【0002】[0002]

【従来の技術】周知のように、近年では、各種の機械お
よび装置・機器あるいは自動車等の車両などにおける制
御システムとして、マイクロコンピュータを備えた電子
制御ユニットを用いたものが汎用化されている。例え
ば、自動車の場合を例にとれば、かかる電子制御ユニッ
トを装備してエンジン,自動変速機あるいはブレーキシ
ステム等の各種制御対象を精密に制御し、燃費性能,走
行性能あるいは制動性能を高めるようにしたものが幅広
く採用されている。
2. Description of the Related Art As is well known, in recent years, as a control system for various machines and devices / equipment or vehicles such as automobiles, a system using an electronic control unit equipped with a microcomputer has been generalized. For example, in the case of an automobile, such an electronic control unit is equipped to precisely control various controlled objects such as an engine, an automatic transmission or a brake system to improve fuel efficiency, running performance or braking performance. The ones that have been adopted are widely adopted.

【0003】このような電子制御ユニットを用いた制御
システムでは、制御ユニットの故障(フェール)による
システムの作動不良あるいは誤作動を如何にして防止す
るかが重要である。すなわち、電子制御ユニットのCP
Uはときとしてフェールすることがあり、かかるCPU
のフェールが生じると制御対象が正常に作動しなくなる
ので、このようなフェールを早期に検出し、適切な処置
を施す必要がある。このため、一般に、電子制御ユニッ
トにはCPUのフェールを検出するフェール検出手段が
設けられる。
In a control system using such an electronic control unit, it is important how to prevent malfunction or malfunction of the system due to failure (failure) of the control unit. That is, the CP of the electronic control unit
U sometimes fails, and such CPU
If such a failure occurs, the controlled object will not operate normally, so it is necessary to detect such a failure early and take appropriate measures. For this reason, the electronic control unit is generally provided with a fail detecting means for detecting a CPU failure.

【0004】かかる電子制御ユニットのCPUのフェー
ルを検出する有効な方法として、電子制御ユニットに、
同一の機能を有する2つのCPUを設け、両CPUに同
一の制御情報を与えて同一の制御演算を行わせ、相互通
信により両CPUの演算結果を相互に照らし合わさせ
る、所謂ダブルマイコンによる方法が知られている(例
えば、特開昭59−130798号公報参照)。この場
合、両CPUの演算結果が食い違っているときには、少
なくとも一方のCPUがフェールしていることになるの
で、かかるフェールが運転者に知らされる。なお、この
場合、一方のCPUが正常なときでも、いずれのCPU
がフェールしているのかは実際上判定できないので、結
局、電子制御ユニットはその機能を失うことになる。
As an effective method for detecting the CPU failure of the electronic control unit,
There is a so-called double microcomputer method in which two CPUs having the same function are provided, the same control information is given to both CPUs to perform the same control operation, and the operation results of both CPUs are compared with each other by mutual communication. It is known (see, for example, JP-A-59-130798). In this case, when the calculation results of both CPUs are inconsistent, at least one of the CPUs has failed, so the driver is notified of such a failure. In this case, even if one CPU is normal, whichever CPU
Since it is not possible to determine in practice whether it is failing, the electronic control unit will eventually lose its function.

【0005】ところが、このような所謂ダブルマイコン
によるフェール検出方法では、制御対象を制御し得る演
算容量の大きいCPUを2つ設けなければならないの
で、CPUのためのコストが倍加され、かつCPUまわ
りの回路が複雑化・大規模化し、電子制御ユニットのコ
ストが非常に高くつくといった問題がある。このため、
本願出願人は、特願平5−167030号において、制
御対象を制御するメイン制御手段(メインCPU)と、
上記制御対象を制御することなく上記メイン制御手段の
故障の有無を判定するサブ制御手段(サブCPU)とを
設け、上記メイン制御手段に所定の数値を与えて制御演
算とは無関係な所定の演算式に基づいた演算を行わせた
後、該演算結果の正誤を上記サブ制御手段によって判断
し、演算結果が誤っているときには上記メイン制御手段
が故障していると判定するようにしたもの(所謂1.5
マイコン)を提案した。
However, in such a so-called double microcomputer fail detection method, it is necessary to provide two CPUs having a large calculation capacity capable of controlling the controlled object, so that the cost for the CPU is doubled and the CPU-related cost increases. There are problems that the circuit becomes complicated and large-scaled, and the cost of the electronic control unit becomes very high. For this reason,
The applicant of the present application, in Japanese Patent Application No. 167030/1993, discloses a main control unit (main CPU) for controlling an object to be controlled,
A sub-control means (sub-CPU) for determining whether or not the main control means has a failure without controlling the controlled object is provided, and a predetermined numerical value is given to the main control means to perform a predetermined calculation unrelated to the control calculation. After the calculation based on the formula is performed, whether the calculation result is correct or not is judged by the sub control means, and when the calculation result is wrong, it is judged that the main control means is out of order (so-called). 1.5
Microcomputer) was proposed.

【0006】かかる方法によれば、サブ制御手段は、メ
イン制御手段と同等の演算容量を備える必要がなくなる
ので、所謂ダブルマイコン方式の場合にくらべて、その
容量を大幅に小さく設定することができ、大容量でかつ
高価なCPUは一つ(メイン制御手段)設けるだけで済
むようになる。すなわち、電子制御ユニットの信頼性を
高めつつ、そのコストの低減を図ることができるのであ
る。
According to this method, the sub-control means does not need to have the same computing capacity as the main control means, so that the capacity can be set to be significantly smaller than that in the so-called double microcomputer system. A large-capacity and expensive CPU only needs to be provided (main control means). That is, it is possible to improve the reliability of the electronic control unit and reduce the cost thereof.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の方法(所謂1.5マイコンによる方法)は、通常動
作中に、サブCPU(サブ制御手段)との相互通信によ
りメインCPU(メイン制御手段)の演算能力をチェッ
クしてフェール判定を行うものであり、メイン制御手段
のフェール検出精度を高めるためには、上記演算能力の
チェックをかなりきめ細かく行う必要がある。しかも、
このチェックのための通信量は、一般に、制御システム
が高度化するほど多くなり、それだけ構成も複雑になる
という難点があった。
However, in the above-mentioned conventional method (so-called 1.5 microcomputer method), the main CPU (main control means) is communicated with the sub CPU (sub control means) during normal operation. In order to improve the fail detection accuracy of the main control means, it is necessary to perform the above-mentioned calculation performance check very finely. Moreover,
The communication amount for this check generally increases as the control system becomes more sophisticated, and the configuration becomes complicated accordingly.

【0008】ところで、電子制御ユニットのCPUの故
障の有無を通常運転中に比較的簡単に検出する方法の一
つとして、当該CPUから基本的には一定周期のパルス
信号を出力させ、このパルスの周期の乱れをモニタする
ことによってフェール検出を行う、所謂ウォッチドッグ
による方法が従来から知られていが、かかる方法をサブ
制御手段(サブCPU)によるメイン制御手段(メイン
CPU)のフェール検出に適用した場合、サブCPU自
体にフェールが生じた際には、メインCPUの故障発生
を有効に検出できなくなるという問題があった。
By the way, as one of the methods for relatively easily detecting the presence / absence of a failure of the CPU of the electronic control unit during the normal operation, the CPU basically outputs a pulse signal of a constant cycle, A method using a so-called watchdog, which performs fail detection by monitoring a disorder of the cycle, has been conventionally known, but such a method is applied to fail detection of a main control unit (main CPU) by a sub control unit (sub CPU). In this case, when a failure occurs in the sub CPU itself, there is a problem that the failure occurrence of the main CPU cannot be effectively detected.

【0009】この発明は、上記諸問題に鑑みてなされた
もので、電子制御ユニットの信頼性を確保しつつ、メイ
ン制御手段とサブ制御手段との間の通信量をできるだけ
抑制し、また、ウォッチドッグ法による故障検出の信頼
性を高めることができる電子制御ユニットを提供するこ
とを基本的な目的とする。
The present invention has been made in view of the above problems, and suppresses the amount of communication between the main control means and the sub control means as much as possible while ensuring the reliability of the electronic control unit, and also enables the watch. It is a basic object to provide an electronic control unit capable of improving the reliability of failure detection by the dog method.

【0010】[0010]

【課題を解決するための手段】このため、本願の請求項
1に係る発明(以下、第1の発明という)は、制御対象を
制御するメイン制御手段と、上記制御対象を制御するこ
となく上記メイン制御手段の故障の有無を判定するサブ
制御手段とが設けられてなる電子制御ユニットであっ
て、上記メイン制御手段は、上記制御対象に所定の制御
ロジックに基づく制御信号を出力するとともに、上記サ
ブ制御手段にも上記制御ロジックに基づく信号を出力す
る一方、上記サブ制御手段は、上記メイン制御手段が上
記制御対象に出力している上記制御信号をモニタするよ
うに構成されており、上記サブ制御手段には、メイン制
御手段から入力された信号とモニタした上記制御信号と
を比較して、両信号に矛盾が生じた場合に故障と判定す
る故障判定部が設けられていることを特徴としたもので
ある。
For this reason, the invention according to claim 1 of the present application (hereinafter referred to as the first invention) includes the main control means for controlling the controlled object and the above without controlling the controlled object. An electronic control unit comprising sub-control means for determining whether or not there is a failure in the main control means, wherein the main control means outputs a control signal based on a predetermined control logic to the controlled object, and While outputting a signal based on the control logic to the sub control means, the sub control means is configured to monitor the control signal output to the control target by the main control means. The control means is provided with a failure determination section that compares the signal input from the main control means with the monitored control signal and determines a failure when both signals conflict. It is obtained by said being.

【0011】また、本願の請求項2に係る発明(以下、
第2の発明という)は、上記第1の発明において、上記
メイン制御手段からサブ制御手段に出力される信号に
は、出力の同一状態が所定時間継続された場合に該状態
とは異なる特定状態の信号が短時間出力されるように構
成されており、上記メイン制御手段の出力の同一状態が
上記所定時間以上継続されても、上記サブ制御手段が上
記特定状態の信号を検出しない場合には故障と判定する
ことを特徴としたものである。
Further, the invention according to claim 2 of the present application (hereinafter referred to as “the invention”)
In the first invention, the signal output from the main control unit to the sub-control unit is different from the specific state when the same output state is continued for a predetermined time. Is configured to be output for a short time, and if the sub-control means does not detect the signal in the specific state even if the same state of the output of the main control means continues for the predetermined time or more, The feature is that it is determined as a failure.

【0012】更に、本願の請求項3に係る発明(以下、
第3の発明という)は、制御対象を制御するメイン制御
手段と、上記制御対象を制御することなく上記メイン制
御手段の故障の有無を判定するサブ制御手段とが設けら
れてなる電子制御ユニットであって、上記メイン制御手
段は上記サブ制御手段に対して一定周期のパルス信号を
出力し、サブ制御手段は該パルス信号を受信してメイン
制御手段の故障判定を行うとともに受信したパルス信号
をそのままメイン制御手段に出力し、該メイン制御手段
はサブ制御手段から返送された上記パルス信号に基づい
て故障判定を行うことを特徴としたものである。
Further, the invention according to claim 3 of the present application (hereinafter referred to as “the invention”)
(Third invention) is an electronic control unit provided with main control means for controlling an object to be controlled and sub-control means for judging whether or not there is a failure in the main control means without controlling the object to be controlled. Therefore, the main control means outputs a pulse signal of a constant cycle to the sub control means, the sub control means receives the pulse signal to determine a failure of the main control means, and the received pulse signal as it is. It is characterized in that it outputs to the main control means, and the main control means makes a failure judgment based on the pulse signal returned from the sub control means.

【0013】また、更に、本願の請求項4に係る発明
(以下、第4の発明という)は、制御対象を制御するメイ
ン制御手段と、上記制御対象を制御することなく上記メ
イン制御手段の故障の有無を判定するサブ制御手段とが
設けられてなる電子制御ユニットであって、上記メイン
制御手段は、所定のプログラムに従った一連の制御処理
における途中の複数箇所にて、実際の制御とは無関係な
所定の演算をそれぞれ実行するとともに、この演算結果
の正誤を判定し、この演算結果に誤りが無いときには、
上記サブ制御手段に対して所定のパルス信号を出力する
ように構成され、該サブ制御手段は、一定時間以上経過
しても上記パルス信号の出力が無い場合には故障と判定
することを特徴としたものである。
Further, the invention according to claim 4 of the present application
(Hereinafter, referred to as a fourth invention) is an electronic device provided with main control means for controlling a control target and sub-control means for judging the presence / absence of a failure of the main control means without controlling the control target. In the control unit, the main control means executes predetermined arithmetic operations unrelated to actual control at a plurality of points in the series of control processing according to a predetermined program, and Whether the result is correct or not is judged,
It is configured to output a predetermined pulse signal to the sub-control means, and the sub-control means determines that there is a failure when the pulse signal is not output even after a lapse of a certain time. It was done.

【0014】また、更に、本願の請求項5に係る発明
(以下、第5の発明という)は、上記第1〜第4の発明の
いずれか一において、上記メイン制御手段と上記サブ制
御手段の少なくともいずれか一方には、他方から出力さ
れた一定周期のパルス信号をモニタして当該他方の制御
手段の故障の有無を判定する故障判定手段が設けられて
いることを特徴としたものである。
Furthermore, the invention according to claim 5 of the present application.
(Hereinafter, referred to as a fifth invention) is the same as any one of the first to fourth inventions, wherein at least one of the main control means and the sub control means has a constant cycle output from the other. It is characterized in that a failure determination means for monitoring the pulse signal and determining the presence / absence of a failure of the other control means is provided.

【0015】[0015]

【作用】本願の第1の発明では、メイン制御手段は、上
記制御対象に出力する制御信号と同様の信号(所定の制
御ロジックに基づく信号)を上記サブ制御手段にも出力
する一方、サブ制御手段は、メイン制御手段が制御対象
に出力している上記制御信号をモニタし、故障判定部に
より、このモニタした制御信号とメイン制御手段から入
力された上記信号とを比較して、両信号に矛盾が生じた
場合には故障と判定する。
In the first invention of the present application, the main control means outputs the same signal (a signal based on a predetermined control logic) as the control signal output to the controlled object to the sub control means, while the sub control means The means monitors the control signal output to the controlled object by the main control means, compares the monitored control signal with the signal input from the main control means by the failure determination section, and outputs both signals. If a contradiction occurs, it is determined as a failure.

【0016】また、本願の第2の発明では、基本的に
は、上記第1の発明と同様の作用が行われる。しかも、
その上、上記メイン制御手段からサブ制御手段に出力さ
れる信号には、出力の同一状態が所定時間継続された場
合に該状態とは異なる特定状態の信号が短時間出力され
るように構成されており、サブ制御手段は、メイン制御
手段の出力の同一状態が上記所定時間以上継続されても
上記特定状態の信号を検出しない場合には、メイン制御
手段からサブ制御手段への出力に異常があるものとし
て、故障と判定する。
In the second invention of the present application, basically, the same operation as that of the first invention is performed. Moreover,
In addition, the signal output from the main control means to the sub control means is configured such that when the same output state is continued for a predetermined time, a signal in a specific state different from the state is output for a short time. Therefore, if the sub control means does not detect the signal of the specific state even if the same state of the output of the main control means continues for the predetermined time or more, the output from the main control means to the sub control means is abnormal. It is determined that there is a failure.

【0017】更に、本願の第3の発明では、メイン制御
手段はサブ制御手段に対して一定周期のパルス信号(つ
まり、ウォッチドッグパルス)を出力し、サブ制御手段
は該パルス信号を受信してメイン制御手段の故障判定を
行うとともに受信したパルス信号をそのままメイン制御
手段に出力する。つまり、メイン制御手段の故障をパル
ス信号の周期をモニタして検出できる。そして、該メイ
ン制御手段はサブ制御手段から返送された上記パルス信
号に基づいて故障判定を行う。すなわち、メイン,サブ
のいずれかの制御手段について異常があれば、これをパ
ルス信号の周期をモニタすることにより検出できる。
Further, in the third invention of the present application, the main control means outputs a pulse signal (that is, a watchdog pulse) having a constant period to the sub control means, and the sub control means receives the pulse signal. The failure of the main control means is determined and the received pulse signal is output to the main control means as it is. That is, the failure of the main control means can be detected by monitoring the cycle of the pulse signal. Then, the main control means makes a failure determination based on the pulse signal returned from the sub control means. That is, if there is an abnormality in either the main or sub control means, it can be detected by monitoring the cycle of the pulse signal.

【0018】また、更に、本願の第4の発明では、メイ
ン制御手段は、所定のプログラムに従った一連の制御処
理における途中の複数箇所にて、実際の制御とは無関係
な所定の演算をそれぞれ実行するとともに、この演算結
果の正誤を判定し、この演算結果に誤りが無いときに
は、サブ制御手段に対して所定のパルス信号を出力す
る。つまり、プログラムに従った規定のルーチンの一部
が実行されなかった場合や上記演算が正常に行われなか
った場合には、サブ制御手段にパルス信号は出力されな
いことになる。そして、該サブ制御手段は、一定時間以
上経過しても上記パルス信号の出力が無い場合には、メ
イン制御手段に異常が生じたものとして、故障と判定す
る。
Further, in the fourth invention of the present application, the main control means respectively performs predetermined arithmetic operations unrelated to actual control at a plurality of points in the middle of a series of control processing according to a predetermined program. When the calculation result is correct, it is determined whether or not the calculation result is correct. When there is no error in the calculation result, a predetermined pulse signal is output to the sub control means. That is, the pulse signal is not output to the sub control means when a part of the prescribed routine according to the program is not executed or when the above calculation is not normally performed. If the pulse signal is not output even after a lapse of a certain period of time, the sub control unit determines that the main control unit has an abnormality and determines that it is in failure.

【0019】また、更に、本願の第5の発明では、基本
的には、上記第1〜第4の発明のいずれか一と同様の作
用が行われる。しかも、その上、メイン制御手段とサブ
制御手段の少なくともいずれか一方には、上記故障判定
手段が設けられており、他方から出力された一定周期の
パルス信号(つまり、ウォッチドッグパルス)をモニタ
して当該他方の制御手段の故障の有無を判定する。すな
わち、上記第1〜第4の発明のいずれか一の故障判定に
加えて、通常のウォッチドッグ法による故障判定を行
う。
Further, in the fifth invention of the present application, basically, the same operation as any one of the above-mentioned first to fourth inventions is performed. Moreover, at least one of the main control means and the sub-control means is provided with the failure determination means, and the pulse signal of a constant cycle (that is, the watchdog pulse) output from the other is monitored. Then, it is determined whether or not there is a failure in the other control means. That is, in addition to the failure determination according to any one of the first to fourth aspects of the invention, the failure determination by the normal watchdog method is performed.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態を、例
えば、自動車の所謂ABS(アンチ・ロック・ブレーキ
システム)を制御対象とする電子制御ユニットに適用し
た場合を例にとって、添付図面を参照しながら詳細に説
明する。図1は、本実施の形態に係る電子制御ユニット
Cの信号系統を説明するためのブロック構成図である。
この図に示すように、上記電子制御ユニットCには、主
としてABS制御の制御演算を行うためのメインCPU
1と、該メインCPU1のフェール(故障)を検出するた
めのサブCPU2とが設けられている。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the embodiments of the present invention will be described with reference to the accompanying drawings by way of example in which an electronic control unit for controlling a so-called ABS (anti-lock brake system) of an automobile is a control target. It will be described in detail with reference. FIG. 1 is a block configuration diagram for explaining a signal system of the electronic control unit C according to the present embodiment.
As shown in this figure, the electronic control unit C includes a main CPU mainly for performing control calculation of ABS control.
1 and a sub CPU 2 for detecting a failure (failure) of the main CPU 1 are provided.

【0021】そして、メインCPU1とサブCPU2と
の間には、少なくともメインCPU1からサブCPU2
への通信が可能な通信ラインが設けられている。尚、上
記メインCPU1とサブCPU2とは、それぞれ、特許
請求の範囲に記載された「メイン制御手段」と「サブ制御
手段」とに相当するものである。上記メインCPU1
は、比較的演算容量の大きい例えば16ビットタイプの
CPUで構成される一方、上記サブCPU2は、比較的
演算容量の小さい例えば4ビットタイプのCPUで構成
されている。尚、各CPUの内部構成については、後述
する。
Between the main CPU 1 and the sub CPU 2, at least the main CPU 1 to the sub CPU 2
There is provided a communication line capable of communicating with. The main CPU 1 and the sub CPU 2 correspond to the "main control unit" and the "sub control unit" described in the claims, respectively. Main CPU1
Is composed of, for example, a 16-bit type CPU having a relatively large computing capacity, while the sub CPU 2 is composed of, for example, a 4-bit type CPU having a relatively small computing capacity. The internal configuration of each CPU will be described later.

【0022】メインCPU1から出力された制御信号
は、ABS装置のブレーキ機構を作動させるアクチュエ
ータを駆動するドライバD(駆動回路)に入力される。
上記ABS装置のブレーキ機構には、該ブレーキ機構を
制御するための油圧回路が設けられており、該油圧回路
にはABS装置のブレーキ機構のアクチュエータとして
の電磁ソレノイドバルブS1〜S4が配設されている。
すなわち、上記油圧回路には、右前輪(FR)用,左前
輪(FL)用,右後輪(RR)用および左後輪(RL)
用の各電磁ソレノイドバルブS1,S2,S3及びS4
が設けられており、これら各電磁ソレノイドバルブS1
〜S4には、上記駆動回路を介して、上記メインCPU
1からの制御信号がそれぞれ入力されるようになってい
る。
The control signal output from the main CPU 1 is input to a driver D (driving circuit) that drives an actuator that operates the brake mechanism of the ABS device.
The brake mechanism of the ABS device is provided with a hydraulic circuit for controlling the brake mechanism. The hydraulic circuit is provided with electromagnetic solenoid valves S1 to S4 as actuators of the brake mechanism of the ABS device. There is.
That is, the hydraulic circuit includes right front wheels (FR), left front wheels (FL), right rear wheels (RR), and left rear wheels (RL).
Electromagnetic solenoid valves S1, S2, S3 and S4 for
Is provided, and each of these electromagnetic solenoid valves S1
To S4, through the drive circuit, the main CPU
The control signals from 1 are input respectively.

【0023】上記各ソレノイドバルブS1〜S4は、各
車輪のブレーキ機構に対する油圧チャンネル毎に、それ
ぞれIN用のものとOUT用のものとが対をなして設け
られている。つまり、上記油圧回路には、各車輪のブレ
ーキ機構毎に2個、計8個の電磁ソレノイドバルブが配
設されている。そして、各車輪のブレーキ機構毎に、例
えば、以下に示すような電磁ソレノイドバルブの制御パ
ターンで、増圧,減圧,保持の三つの圧力モードがそれ
ぞれ設定されている。尚、この場合、IN用のソレノイ
ドバルブについてはOFF(非通電)で開弁状態、OUT
用のソレノイドバルブについてはOFF(非通電)で閉弁
状態になるように設定されている。
Each of the solenoid valves S1 to S4 is provided with a pair of an IN valve and an OUT valve for each hydraulic channel for the brake mechanism of each wheel. That is, the hydraulic circuit is provided with two electromagnetic solenoid valves, two for each brake mechanism of each wheel. Then, for each brake mechanism of each wheel, three pressure modes of increasing pressure, reducing pressure, and holding are respectively set in the control pattern of the electromagnetic solenoid valve as shown below. In this case, the solenoid valve for IN is OFF (non-energized) and is in the open state.
The solenoid valve for use is set to be closed (OFF) (non-energized).

【0024】 ・ 増圧:IN/OUTが共にOFF(非通電)状態 ・ 減圧:IN/OUTが共にON(通電)状態 ・ 保持:INがON(通電)状態/OUTがOFF
(非通電)状態 尚、上記各電磁ソレノイドバルブS1〜S4は、各車輪
毎にIN/OUT両方のソレノイドバルブを制御対象と
することができるが、本実施の形態では、例えば、前輪
(FR,FL)側はIN用(S1i,S2i)/OUT
(S1o,S2o)両方のソレノイドバルブを制御対象
とし、後輪(RR,RL)側はOUT用のソレノイドバ
ルブのみを制御対象とした。これは、後輪側の減圧固定
は最も危険が少ないからであり、このように、制御対象
を極力少なくすることにより、特に構成の簡素化が求め
られるサブCPU2について、必要な処理量を抑制し、
その演算容量の肥大化を防止することができる。
・ Pressure increase: IN / OUT are both OFF (non-energized) ・ Pressure reduction: IN / OUT are both ON (energized) ・ Holding: IN is ON (energized) / OUT is OFF
(Non-energized) State The electromagnetic solenoid valves S1 to S4 can control both IN / OUT solenoid valves for each wheel, but in the present embodiment, for example, the front wheels (FR, FL side is for IN (S1i, S2i) / OUT
Both solenoid valves (S1o, S2o) were controlled, and only the OUT solenoid valve on the rear wheel (RR, RL) side was controlled. This is because decompression fixing on the rear wheel side is the least dangerous, and by thus reducing the number of control targets as much as possible, it is possible to suppress the required processing amount for the sub CPU 2 that requires a particularly simple configuration. ,
It is possible to prevent the calculation capacity from increasing.

【0025】上記メインCPU1には、図2に示すよう
に、ABS制御の制御ロジックに基づいた演算を実行し
て制御量の算出等を行う制御実行部11と、算出された
制御量に基づいた制御信号を出力する制御信号出力部1
2とが設けられており、出力された制御信号は、各出力
ポート13からドライバDを介して各電磁ソレノイドバ
ルブS1〜S4に入力される。また、メインCPU1に
は、ドライバDから各電磁ソレノイドバルブS1〜S4
に入力される制御信号の信号値をモニタする信号モニタ
部14が設けられるとともに、該信号モニタ部14での
モニタ結果と、上記制御信号出力部12の出力値とを比
較判定する比較判定部15が設けられている。この比較
判定により、出力ポート13,ドライバDあるいは電磁
ソレノイドバルブS1〜S4への送信ライン等の異常を
検出することができる。
As shown in FIG. 2, the main CPU 1 executes a calculation based on the control logic of the ABS control to calculate a control amount and the like, and a control execution unit 11 based on the calculated control amount. Control signal output unit 1 for outputting a control signal
2 is provided, and the output control signal is input from each output port 13 to each electromagnetic solenoid valve S1 to S4 via the driver D. Further, the main CPU 1 is provided with a driver D from the electromagnetic solenoid valves S1 to S4.
A signal monitor unit 14 for monitoring the signal value of a control signal input to the control signal output unit 12 is provided, and a comparison and determination unit 15 for comparing and comparing the monitoring result of the signal monitor unit 14 and the output value of the control signal output unit 12 Is provided. By this comparison determination, it is possible to detect an abnormality in the output port 13, the driver D, or the transmission line to the electromagnetic solenoid valves S1 to S4.

【0026】更に、メインCPU1には、サブCPU2
に対し、所謂ウォッチドッグ(W/D)信号として一定
周期(例えば、後述する制御周期と同じ8msec.の
周期)のパルス信号を出力するW/D信号出力部16が
設けられている。ここで、ウォッチドッグパルスは、基
本的には一定の周期でオン・オフを繰り返す矩形波信号
であって、1周期中のオン時間とオフ時間とが一定値に
設定されている。また、更に、本実施の形態では、後で
詳しく説明するように、直接的な制御対象である各電磁
ソレノイドバルブS1〜S4に出力されるべき制御信号
(ABS制御の制御ロジックに基づく制御信号)と同様
の信号が、故障判定用の基準信号としてサブCPU2に
出力されるようになっており、メインCPU1には、上
記制御実行部11からの上記基準信号をサブCPU2に
出力する基準信号出力部17が設けられている。
Further, the main CPU 1 has a sub CPU 2
On the other hand, a W / D signal output unit 16 that outputs a pulse signal having a constant cycle (for example, a cycle of 8 msec. Which is the same as a control cycle described later) as a so-called watchdog (W / D) signal is provided. Here, the watchdog pulse is basically a rectangular wave signal that repeatedly turns on and off in a constant cycle, and the on-time and off-time in one cycle are set to constant values. Further, in the present embodiment, as will be described in detail later, a control signal to be output to each electromagnetic solenoid valve S1 to S4 that is a direct control target (a control signal based on the control logic of the ABS control). A signal similar to the above is output to the sub CPU 2 as a reference signal for failure determination, and the main CPU 1 outputs a reference signal output from the control execution unit 11 to the sub CPU 2. 17 are provided.

【0027】一方、サブCPU2には、メインCPU1
からのW/D信号のパルス周期をモニタする周期モニタ
部21が設けられ、このモニタ結果はW/D回路3に送
られるようになっている。また、このサブCPU2に
は、上述の基準信号を受信してモニタする基準信号モニ
タ部22と、メインCPU1からドライバDに対して出
力された制御信号を取り込んでモニタする制御信号モニ
タ部23とが設けられると共に、後述するように、両モ
ニタ部22,23でのモニタ結果を比較して両信号間に
矛盾がないか否かを判定することにより、メインCPU
1の故障判定を行う故障判定部24が設けられている。
On the other hand, the sub CPU 2 includes the main CPU 1
A period monitor unit 21 for monitoring the pulse period of the W / D signal from is provided, and the monitoring result is sent to the W / D circuit 3. Further, the sub CPU 2 includes a reference signal monitor unit 22 that receives and monitors the above-mentioned reference signal, and a control signal monitor unit 23 that takes in and monitors the control signal output from the main CPU 1 to the driver D. The main CPU is provided by comparing the monitor results of both monitor sections 22 and 23 and determining whether there is a contradiction between both signals, as will be described later.
A failure determination unit 24 that performs the failure determination of No. 1 is provided.

【0028】上記周期モニタ部21は、従来から良く知
られているものと同じもので、メインCPU1からのW
/D信号のパルス周期をモニタして、その乱れが検出さ
れた場合には、W/D回路3によってメインCPU1に
異常が生じたものと判定される。すなわち、上記ウォッ
チドッグパルス(W/Dパルス)は、メインCPU1の
W/D信号出力部16で発生させられるが、メインCP
U1がフェールしているときには、かかるW/Dパルス
が乱れ、オン時間あるいはオフ時間が本来設定された値
よりも大きくなり、又は小さくなる。そこで、かかるW
/Dパルスのオン時間又はオフ時間が所定の下限値と上
限値の間に入っていないときには、該CPU1がフェー
ルしているものと判定するようにしている。尚、本実施
の形態では、W/D信号は、メインCPU1からサブC
PU2に発信されるだけであったが、この替わりに、サ
ブCPU2からメインCPU1にW/Dパルスを発信さ
せ、メインCPU1側に周期モニタ部を設けるようにし
ても良い。あるいは、メインCPU1及びサブCPU2
の双方から互いに相手側に対してW/Dパルスを発信さ
せ、相互にその周期を監視するようにしても良い。
The period monitor section 21 is the same as that well known in the prior art, and the W from the main CPU 1 is used.
When the pulse cycle of the / D signal is monitored and the disturbance is detected, the W / D circuit 3 determines that an abnormality has occurred in the main CPU 1. That is, the watchdog pulse (W / D pulse) is generated by the W / D signal output section 16 of the main CPU 1, but the main CP
When U1 is failing, the W / D pulse is disturbed and the ON time or OFF time becomes larger or smaller than the originally set value. So this W
When the ON time or the OFF time of the / D pulse is not between the predetermined lower limit value and the upper limit value, it is determined that the CPU 1 has failed. In the present embodiment, the W / D signal is sent from the main CPU 1 to the sub CPU.
Although it is only transmitted to the PU2, a W / D pulse may be transmitted from the sub CPU 2 to the main CPU 1 instead, and a cycle monitor unit may be provided on the main CPU 1 side. Alternatively, the main CPU1 and the sub CPU2
It is also possible to send W / D pulses from both parties to the other party and mutually monitor the cycle.

【0029】また、具体的には図示しなかったが、上記
ドライバDには、故障発生時には、例えばリレー(フェ
ールセーフリレー)をカットすることにより、上記AB
S装置を強制的に非作動状態にするフェールセーフ回路
が付設されており、該フェールセーフ回路には、上記メ
インCPU1の比較判定部15,W/D回路3およびサ
ブCPU2の故障判定部24から、各々の判定結果が信
号入力される。そして、フェールセーフ回路は、これら
の信号に基づいて、AND条件で(つまり、いずれの信
号も故障の判定を示していない場合に)フェールセーフ
リレーを作動状態に維持し、メインCPU1からドライ
バDに入力された制御信号をそのまま各電磁ソレノイド
バルブS1〜S4に出力させる。逆に、いずれかの信号
が故障判定を示した場合には、フェールセーフリレーを
カットしてABS装置を非作動状態にする。また、この
とき、ワーニングランプ(不図示)が点灯もしくは点滅
し、電子制御ユニットの故障発生を運転者に知らせるよ
うになっている。
Although not specifically shown, when a failure occurs in the driver D, for example, by cutting a relay (fail safe relay), the driver AB
A fail-safe circuit for forcibly deactivating the S device is provided, and the fail-safe circuit is connected to the comparison determination unit 15 of the main CPU 1, the W / D circuit 3 and the failure determination unit 24 of the sub CPU 2. , Each determination result is input as a signal. Based on these signals, the fail-safe circuit keeps the fail-safe relay in the activated state under the AND condition (that is, when none of the signals indicates the determination of the failure), and the main CPU 1 transfers the driver D to the driver D. The input control signal is directly output to each electromagnetic solenoid valve S1 to S4. Conversely, if any of the signals indicates a failure determination, the fail safe relay is cut off and the ABS device is deactivated. At this time, a warning lamp (not shown) is turned on or blinks to notify the driver of the occurrence of a failure in the electronic control unit.

【0030】本実施の形態では、上述のように、上記メ
インCPU1は、直接的な制御対象である各電磁ソレノ
イドバルブS1〜S4にABS制御の制御ロジックに基
づく制御信号を出力するとともに、上記サブCPU2に
も同様の信号(上記制御ロジックに基づく信号)を出力
し、サブCPU2は、メインCPU1が電磁ソレノイド
バルブS1〜S4に出力している制御信号をモニタする
ように構成されている。そして、上記サブCPU2に
は、メインCPU1から入力された信号とモニタした上
記制御信号とを比較して、両信号に矛盾が生じた場合に
故障と判定するようになっている。
In the present embodiment, as described above, the main CPU 1 outputs a control signal based on the control logic of the ABS control to each of the electromagnetic solenoid valves S1 to S4 which are direct control targets, and the sub CPU The CPU 2 also outputs a similar signal (a signal based on the above control logic), and the sub CPU 2 is configured to monitor the control signal output from the main CPU 1 to the electromagnetic solenoid valves S1 to S4. Then, the sub CPU 2 compares the signal input from the main CPU 1 with the monitored control signal, and determines a failure when both signals conflict.

【0031】次に、上記メインCPU1での制御信号お
よび基準信号の生成について、主として図3および図4
のフローチャートを参照しながら説明する。メインCP
U1には、各種センサからABS制御に必要な検出デー
タが信号入力されるようになっており、メインCPU1
は、これら検出データを読み取り、制御実行部11でA
BS制御の制御ロジックに基づいた演算を行って制御量
を算出する。尚、この場合、ABS制御自体の制御ロジ
ックおよびこれに基づく演算処理の方法は、従来から良
く知られているものと同じものである。そして、各車輪
毎に算出された制御量に基づいた制御信号が、制御信号
出力部12から出力ポート13を介してドライバDより
上記各車輪の電磁ソレノイドバルブS1〜S4に対して
信号出力される。
Next, the generation of the control signal and the reference signal in the main CPU 1 will be mainly described with reference to FIGS.
This will be described with reference to the flowchart of FIG. Main CP
Detection data necessary for ABS control is input to U1 as a signal from various sensors.
Reads these detection data, and the control execution unit 11
The control amount is calculated by performing an operation based on the control logic of the BS control. In this case, the control logic of the ABS control itself and the method of arithmetic processing based thereon are the same as those well known in the prior art. Then, a control signal based on the control amount calculated for each wheel is output from the control signal output unit 12 through the output port 13 by the driver D to the electromagnetic solenoid valves S1 to S4 of each wheel. .

【0032】図3は、メインCPU1の制御実行部にお
けるABS制御ロジックの実行プロセスを説明するため
のフローチャートである。本実施の形態では、このAB
S制御ロジックの実行は、例えば8msec.(ミリセ
カンド)の制御周期で繰り返して行われるように設定さ
れている。前回制御周期でのメインCPU1からの出力
信号(制御信号および基準信号)のセットが終了すると
(ステップ#0)、今回制御周期として、まず、車輪速
データの入力処理(ステップ#1)が行われた後、車体
速および路面μ(摩擦係数)の計算が順次行われ(ステ
ップ#2及びステップ#3)、これらの値に基づいて各
車輪毎のロック判定(ステップ#4)が行われる。そし
て、各車輪毎に制御量がそれぞれ算出(ステップ#5)
された後、上述のフェールセーフ回路をセットするフェ
ールセーフ処理およびRAMチェック(ステップ#6及
びステップ#7)が行われる。
FIG. 3 is a flow chart for explaining the ABS control logic execution process in the control execution unit of the main CPU 1. In the present embodiment, this AB
The execution of the S control logic is set to be repeated at a control cycle of 8 msec. (Millisecond), for example. When the setting of the output signals (control signal and reference signal) from the main CPU 1 in the previous control cycle is completed (step # 0), the wheel speed data input processing (step # 1) is first performed as the current control cycle. After that, the vehicle speed and the road surface μ (friction coefficient) are sequentially calculated (steps # 2 and # 3), and the lock determination for each wheel (step # 4) is performed based on these values. Then, the control amount is calculated for each wheel (step # 5).
After that, the fail-safe processing for setting the fail-safe circuit and the RAM check (steps # 6 and # 7) are performed.

【0033】この一連のフロー(制御周期が例えば8m
sec.)において、例えば1msec.毎の割り込み処
理が行われ、各車輪に対する油圧チャンネル毎に制御量
(増圧量もしくは減圧量)のデータが制御信号出力部1
2の出力バッファにセットされ、この制御量に基づいた
制御信号(具体的には、例えば何msec.増圧もしく
は減圧等の内容を設定した信号)が、この出力バッファ
から出力ポート13に出力される。尚、上記ステップ#
7のRAMチェックは、この出力バッファのRAMをチ
ェックするものである。以上のステップが実行された
後、ステップ#0に戻り、今回制御周期でのメインCP
U1からの出力信号(制御信号および基準信号)のセッ
トが行われる。つまり、メインCPU1からサブCPU
2への基準信号セットのサブルーチンは、ここで実行さ
れる。
This series of flows (control cycle is 8 m, for example)
sec.), interrupt processing is performed, for example, every 1 msec., and data of the control amount (pressure increase amount or pressure decrease amount) for each hydraulic channel for each wheel is output to the control signal output unit 1.
2 is set in the output buffer, and a control signal based on this control amount (specifically, for example, a signal in which contents such as pressure increase or pressure decrease are set for several msec) is output from the output buffer to the output port 13. It Note that the above step #
The RAM check 7 is to check the RAM of this output buffer. After the above steps are executed, the process returns to step # 0, and the main CP in the current control cycle
The output signals (control signal and reference signal) from U1 are set. That is, from the main CPU 1 to the sub CPU
The reference signal set to 2 subroutine is executed here.

【0034】次に、この基準信号セットサブルーチンに
ついて説明する。図4に示すように、このサブルーチン
においては、まず、ステップ#11で、ABS制御中で
あることを示すABS制御判定フラグ(ABSフラグ)
が成立しているか否かが判定され、これがYESの場合
には、ABS制御中であることを示すABS信号がセッ
ト(ステップ#12)された後、車速がABS制御の実
行が許容され得る制御許可車速以上であるか否か(ステ
ップ#13)、および、フェールセーフによる制御許可
状態であるか否か(ステップ#14)が順次判定され、
これらが共にYESの場合には、ステップ#15が実行
される。一方、上記ステップ#11,ステップ#13あ
るいはステップ#14のいずれかで、その判定結果がN
Oの場合には、ステップ#21で、全油圧チャンネル
(全ch.)に対して増圧信号がセットされると共に、
ABS制御中でないことを示す非ABS信号がセットさ
れた後、後で詳しく説明する不一致信号セットのサブル
ーチンが実行される。
Next, the reference signal setting subroutine will be described. As shown in FIG. 4, in this subroutine, first, at step # 11, an ABS control determination flag (ABS flag) indicating that ABS control is being performed.
If YES, it is determined whether the ABS speed is controlled after the ABS signal indicating that the ABS control is in progress is set (step # 12). Whether the vehicle speed is equal to or higher than the permitted vehicle speed (step # 13) and whether the vehicle is in the fail-safe control permitted state (step # 14) are sequentially determined,
If both are YES, step # 15 is executed. On the other hand, in any of the above step # 11, step # 13 or step # 14, the determination result is N
In the case of O, in step # 21, the pressure increase signals are set for all hydraulic channels (all ch.),
After the non-ABS signal indicating that the ABS control is not being performed is set, a mismatch signal setting subroutine which will be described in detail later is executed.

【0035】上記ステップ#15では、各車輪毎につい
てロック判定が成立しているか否かが判定され、これが
YESの場合には、ステップ#16で、ABS制御にお
ける減圧禁止条件でなく、かつ、減圧量が0(零)でな
いか否かが判定される。これらステップ#15及びステ
ップ#16のいずれか一方で、その判定結果がNOの場
合には、ステップ#22で、当該車輪の油圧チャンネル
に対して増圧信号がセットされ後、不一致信号セットの
サブルーチンが実行される。そして、上記ステップ#1
6での判定結果がYESの場合には、ステップ#17
で、減圧時間が8msec.(1制御周期)未満か否かが
判定され、これがYESの場合には、当該車輪について
反転信号がセットされる(ステップ#18)。また、ス
テップ#17での判定結果がNOの場合には、当該車輪
について減圧信号がセットされる(ステップ#19)。
これらステップ#18あるいはステップ#19のいずれ
についても、その実行後には、不一致信号セットのサブ
ルーチンが実行されるようになっている。
In the above step # 15, it is determined whether or not the lock determination is established for each wheel. If the determination is YES, in step # 16, it is not the pressure reduction prohibition condition in the ABS control, and the pressure reduction is not performed. It is determined whether the quantity is not 0 (zero). If the determination result is NO in any of these steps # 15 and # 16, in step # 22, the pressure increase signal is set for the hydraulic channel of the wheel, and then the inconsistency signal setting subroutine is executed. Is executed. Then, the above step # 1
If the determination result in 6 is YES, step # 17
Then, it is determined whether or not the depressurization time is less than 8 msec. (1 control cycle). If this is YES, the reversal signal is set for the wheel (step # 18). If the determination result in step # 17 is NO, the pressure reduction signal is set for the wheel (step # 19).
After the execution of either step # 18 or step # 19, the mismatch signal setting subroutine is executed.

【0036】次に、上記不一致信号セットサブルーチン
について説明する。図5に示すように、このサブルーチ
ンにおいては、まず、ステップ#31で、ABS信号が
セット中であるか否かが判定され、これがYESの場合
には、ステップ#32で、いずれかの油圧チャンネルで
連続して減圧信号セットのままであるか否かが判定され
る。そして、これがYESの場合、つまり、ABS信号
がセット中で、かつ、減圧信号がセットされたままの油
圧チャンネルがある場合には、この状態で一定時間が経
過したか否かが判定され(ステップ#33)、これがY
ESになると、ステップ#34で、実際にはABS信号
セット中であるにもかかわらず、非ABS信号がセット
される。つまり、故意に不一致の信号がセットされるの
である。この結果、サブCPU2側のタイマ(後述する
タイマA)がクリアされるようになっている。この不一
致信号は、上記の状態が続いている間は定期的に出力さ
れる。尚、上記ステップ#31及びステップ#32のい
ずれか一方で、その判定結果がNOの場合には、ステッ
プ#35でタイマがクリアされた後、ステップ#33及
びステップ#34をスキップしてリターンされる。
Next, the mismatch signal setting subroutine will be described. As shown in FIG. 5, in this subroutine, first, in step # 31, it is determined whether or not the ABS signal is being set. If this is YES, in step # 32, one of the hydraulic channels is set. At, it is determined whether or not the pressure reduction signal set is continuously maintained. Then, if this is YES, that is, if the ABS signal is being set and there is a hydraulic channel in which the pressure reducing signal is still set, it is determined whether or not a certain time has elapsed in this state (step # 33), this is Y
At ES, a non-ABS signal is set in step # 34 even though the ABS signal is actually being set. That is, the signals of disagreement are intentionally set. As a result, the timer on the side of the sub CPU 2 (timer A described later) is cleared. This disagreement signal is output periodically while the above state continues. If the result of the determination in any of the above steps # 31 and # 32 is NO, after the timer is cleared in step # 35, steps # 33 and # 34 are skipped and the process is returned. It

【0037】図6は、上記のようにしてメインCPU1
からサブCPU2に対して出力される基準信号およびメ
インCPU1からドライバDに対して出力される制御信
号の一例をそれぞれ示すタイムチャートである。このタ
イムチャートでは、制御信号は、その全ては図示されて
おらず、右前輪(FR)のIN用およびOUT用のソレ
ノイドバルブS1i及びS1oと、左前輪(FL)のI
N用のソレノイドバルブS2iに対するものを例にとっ
て示されている。この図にも示すように、本実施の形態
では、基準信号は、1制御周期(8msec.)におけ
る1msec.毎の割り込み処理で、タイムシェアリン
グにより6個のソレノイドバルブとABS信号とを示す
信号を含んで出力される。また、この例では、右前輪
(FR)のIN用,右後輪(RR)のOUT用および左
後輪(RL)のOUT用について、Lo(減圧)からH
i(増圧)に変化している。制御信号における圧力状態
の変化の例は、右前輪(FR)のIN用のソレノイドバ
ルブS1iについて示されている。
FIG. 6 shows the main CPU 1 as described above.
3 is a time chart showing an example of a reference signal output from the CPU to the sub CPU 2 and an example of a control signal output from the main CPU 1 to the driver D. In this time chart, all control signals are not shown, and the IN and OUT solenoid valves S1i and S1o of the right front wheel (FR) and the I of the left front wheel (FL) are not shown.
An example is shown for the solenoid valve S2i for N. As shown in this figure, in the present embodiment, the reference signal is a signal indicating six solenoid valves and the ABS signal by time sharing in interrupt processing for every 1 msec. In one control cycle (8 msec.). Is output including. Further, in this example, from the Lo (reduced pressure) to the H for IN of the right front wheel (FR), OUT of the right rear wheel (RR), and OUT of the left rear wheel (RL).
i (increase in pressure). An example of the change of the pressure state in the control signal is shown for the IN solenoid valve S1i of the right front wheel (FR).

【0038】図6の例では、ABS信号は、Lo→Hi
がABS制御中、Hi→Loが非ABS状態を表す。つ
まり、この図6の例では、ABS信号はLo→Hiであ
り、ABS制御中であることを示している。上記不一致
信号セットのサブルーチンでは、実際にはABS制御中
であっても、この信号状態を強制的に非ABS制御状態
(Hi→Lo)にセットして、不一致信号を出力させる
のである。尚、本実施の形態では、上述のように、メイ
ンCPU1からサブCPU2に対して8msec.周期
のパルス状のW/D信号が出力されており、サブCPU
2は、このW/D信号の立ち上がり(Lo/Hi)状態
を見て同期を取るようになっている。
In the example of FIG. 6, the ABS signal is Lo → Hi.
Is under ABS control, Hi → Lo represents a non-ABS state. That is, in the example of FIG. 6, the ABS signal is Lo → Hi, which indicates that the ABS control is being performed. In the above non-matching signal setting subroutine, even when the ABS control is actually being performed, this signal state is forcibly set to the non-ABS control state (Hi → Lo) and the non-matching signal is output. In the present embodiment, as described above, the main CPU 1 outputs a pulsed W / D signal having a period of 8 msec. To the sub CPU 2.
2 synchronizes by looking at the rising (Lo / Hi) state of the W / D signal.

【0039】メインCPU1では、以上のようにして制
御信号および基準信号が生成され出力されるが、これに
対して、サブCPU2では、以下のような、故障検出処
理が実行される。尚、この故障検出処理は、例えば42
0μsec.(マイクロセカンド)の制御周期で実行さ
れる。すなわち、図7に示すように、この故障検出処理
プロセスでは、まず、メインCPU1からの入力された
基準信号を読み取り(ステップ#41)、また、メイン
CPU1から各車輪の油圧チャンネルの各電磁ソレノイ
ドバルブS1〜S4に対して出力された制御信号を取り
込んだ8msec.間のモニタ信号を読み込む(ステッ
プ#42)。この基準信号の読み込み及びモニタ信号の
読み込みは、例えば420μsec.毎に行われる。
While the main CPU 1 generates and outputs the control signal and the reference signal as described above, the sub CPU 2 executes the following failure detection processing. Note that this failure detection processing is, for example, 42
It is executed in a control cycle of 0 μsec. (Microsecond). That is, as shown in FIG. 7, in this failure detection processing process, first, the reference signal input from the main CPU 1 is read (step # 41), and each electromagnetic solenoid valve of the hydraulic channel of each wheel is read from the main CPU 1. The monitor signal for 8 msec. Which takes in the control signal output to S1 to S4 is read (step # 42). The reading of the reference signal and the reading of the monitor signal are performed, for example, every 420 μsec.

【0040】そして、ステップ#43で、8msec.
(1制御周期)が終了するタイミングか否かが判定さ
れ、これがYESになると、ステップ#44で、各車輪
の油圧チャンネルの各電磁ソレノイドバルブS1〜S4
について、基準信号とモニタ信号とが制御内容が一致し
ているか(つまり、両信号間に矛盾がないか)否かが判
定される。この場合、両信号を比較する際には、増減の
方向性まで判断せずにその変化の有無のみを見て矛盾の
有無を判定するようにしても良い。これがYESの場合
には、次にメインCPU1からの基準信号について、A
BS制御中であることを示しているか否かを判定し(ス
テップ#47)、続いて、いずれかの油圧チャンネル
(ch.)で連続して減圧を示しているか否かが判定さ
れる(ステップ#48)。そして、これがYESの場
合、つまり、上記基準信号について、ABS制御中で、
かつ、連続して減圧状態であることを示している油圧チ
ャンネルがある場合には、ステップ#49で、タイマA
がインクリメントされる。
Then, in step # 43, 8 msec.
It is determined whether or not (1 control cycle) is the timing to end, and if this is YES, then in step # 44, the electromagnetic solenoid valves S1 to S4 of the hydraulic channels of the wheels are set.
With respect to, it is determined whether or not the control contents of the reference signal and the monitor signal match (that is, there is no contradiction between the two signals). In this case, when comparing the two signals, the presence or absence of the contradiction may be determined by checking only the presence or absence of the change without determining the direction of increase or decrease. If this is YES, then for the reference signal from the main CPU 1,
It is determined whether or not the BS control is being performed (step # 47), and subsequently, it is determined whether or not the pressure reduction is continuously shown in any hydraulic channel (ch.) (Step # 47). # 48). If this is YES, that is, the ABS is under control for the reference signal,
If there is a hydraulic channel that continuously indicates a reduced pressure state, at step # 49, the timer A
Is incremented.

【0041】このとき、メインCPU1の制御実行部1
1およびサブCPU2に基準信号を出力する出力ポート
18が共に正常であれば、サブCPU2に出力する基準
信号において、ABS信号がセットされており、かつ、
継続的に減圧信号がセットされたままの油圧チャンネル
があった場合には、一定時間毎に、強制的に不一致信号
(非ABS信号)がセットされるので、サブCPU2側
では、上記ステップ#47での判定結果がNOとなり、
タイマAはクリアされる(ステップ#52)のである
が、メインCPU1の制御実行部11に異常が生じてい
る場合には、上記のような不一致信号(非ABS信号)
が強制的にセットされなくなり、タイマAのインクリメ
ント(ステップ#49)がそのまま進行する。また、サ
ブCPU2に基準信号を出力する出力ポート18に異常
が生じてポートの貼り付きが生じたような場合にも、上
記のような不一致信号(非ABS信号)が出力されるこ
とがなくなるので、タイマAのインクリメント(ステッ
プ#49)がそのまま進行するのである。そして、ステ
ップ#50で、このタイマAのタイマ値が所定値Ta
(例えばTa=20)以上になっているか否かが判定さ
れ、これがYESになると、ステップ#51でシステム
カットが行われる。すなわち、フェールセーフリレーが
カットされると共に、メインCPU1から各電磁ソレノ
イドバルブS1〜S4への制御信号の出力が停止され、
また、メインCPU1からサブCPU2へのW/Dパル
スの出力も停止される。
At this time, the control execution unit 1 of the main CPU 1
1 and the output port 18 for outputting the reference signal to the sub CPU 2 are both normal, the ABS signal is set in the reference signal to be output to the sub CPU 2, and
If there is a hydraulic pressure channel for which the pressure reduction signal is continuously set, a non-matching signal (non-ABS signal) is forcibly set at regular time intervals. Is NO,
Although the timer A is cleared (step # 52), if the control execution unit 11 of the main CPU 1 is abnormal, the above-described mismatch signal (non-ABS signal) is generated.
Is forcibly not set, and the increment of the timer A (step # 49) proceeds as it is. Further, even if an abnormality occurs in the output port 18 that outputs the reference signal to the sub CPU 2 and the port sticks, the above-described mismatch signal (non-ABS signal) is not output. The increment of the timer A (step # 49) proceeds as it is. Then, in step # 50, the timer value of the timer A is set to the predetermined value Ta.
(For example, Ta = 20) It is determined whether or not the value is equal to or more, and if this is YES, the system cut is performed in step # 51. That is, the fail-safe relay is cut off, the output of the control signal from the main CPU 1 to the electromagnetic solenoid valves S1 to S4 is stopped,
Further, the output of the W / D pulse from the main CPU 1 to the sub CPU 2 is also stopped.

【0042】一方、上記ステップ#50での判定結果が
NOの場合には、ステップ#41にリターンして、それ
以降の各ステップの実行が繰り返される。また、上記ス
テップ#47及びステップ#48のいずれか一方での判
定結果がNOの場合には、ステップ#52でタイマAが
クリアされた後、ステップ#41に戻るようになってい
る。更に、ステップ#44での判定結果がNOの場合に
は、タイマB(NGタイマ)がインクリメントされ(ス
テップ#45)、次に、ステップ#46で、このタイマ
Bのタイマ値が所定値Tb(例えばTb=10)以上に
なっているか否かが判定され、これがYESの場合に
は、メインCPU1に異常が生じたものとして、ステッ
プ#51のシステムカットが実行される。一方、ステッ
プ#46での判定結果がNOの場合には、ステップ#4
7以降の各ステップが実行されるようになっている。
On the other hand, if the decision result in the step # 50 is NO, the process returns to the step # 41, and the execution of the subsequent steps is repeated. Further, when the result of the determination in any one of the steps # 47 and # 48 is NO, the timer A is cleared in step # 52 and then the process returns to step # 41. Further, if the determination result in step # 44 is NO, the timer B (NG timer) is incremented (step # 45), and then, in step # 46, the timer value of this timer B is set to the predetermined value Tb ( For example, it is determined whether or not Tb = 10) or more. If this is YES, it is determined that an abnormality has occurred in the main CPU 1, and the system cut in step # 51 is executed. On the other hand, if the decision result in the step # 46 is NO, the step # 4
Each step after 7 is executed.

【0043】以上、説明したように、本実施の形態によ
れば、上記メインCPU1は、電磁ソレノイドバルブS
1〜S4に対して出力する制御信号と同じくABS制御
の制御ロジックに基づく信号(基準信号)をサブCPU
2にも出力する一方、サブCPU2は、メインCPU1
が上記電磁ソレノイドバルブS1〜S4に対して出力し
ている制御信号をモニタし、故障判定部24により、こ
のモニタした制御信号とメインCPU1から入力された
上記基準信号とを比較して、両信号に矛盾が生じた場合
には故障と判定する。つまり、制御信号側で、プログラ
ムの一部をパスして信号が生成された場合や出力部分
(制御信号出力部12や出力ポート13)に異常が生じ
た場合には、これを有効に検出することができる。従っ
て、メインCPUに実際の制御とは無関係の演算を行わ
せ、この演算結果をサブCPUでチェックして故障検出
を行う場合に比べて、より簡単な構成で、また、相互間
の通信量の増大やサブCPUの演算容量の肥大化等を招
くことなく、信頼性の高い故障検出を行うことができ
る。
As described above, according to the present embodiment, the main CPU 1 has the electromagnetic solenoid valve S.
1 to S4, a signal (reference signal) based on the control logic of the ABS control as well as the control signal output to the sub CPU
2 is also output to the main CPU1
Monitors the control signal output to the electromagnetic solenoid valves S1 to S4, compares the monitored control signal with the reference signal input from the main CPU 1 by the failure determination section 24, and outputs both signals. If there is a contradiction, it is judged as a failure. That is, on the control signal side, when a signal is generated by passing a part of the program or when an abnormality occurs in the output portion (control signal output unit 12 or output port 13), this is effectively detected. be able to. Therefore, compared to the case where the main CPU is caused to perform an operation irrelevant to the actual control and the operation result is checked by the sub CPU to detect a failure, the configuration is simpler and the amount of communication between them is reduced. It is possible to perform highly reliable failure detection without increasing the size or enlarging the calculation capacity of the sub CPU.

【0044】しかも、その上、メインCPU1からサブ
CPU2に出力される上記基準信号には、出力の同一状
態が所定時間継続された場合に該状態とは異なる特定状
態の信号が短時間出力される(すなわち、実際にはAB
S制御中であっても非ABS状態を示す信号が強制的に
出力される)ように構成されており、サブCPU2は、
メインCPU1の出力の同一状態が上記所定時間以上継
続されても上記特定状態の信号を検出しない場合には、
メインCPU1からサブCPU2への出力に異常がある
ものとして故障判定し、システムカットする。これによ
り、メインCPU1の異常発生のみならず、メインCP
U1からサブCPU2への出力時における出力ポート1
8の貼り付き等のポート異常をも有効に検出することが
でき、故障検出の信頼性をより高めることができる。ま
た、上記の故障検出に加えて、通常のウォッチドッグ法
による故障検出も行うので、構成の複雑化を回避しつ
つ、更に一層信頼性を高めることができる。
In addition, as the reference signal output from the main CPU 1 to the sub CPU 2, when the same output state is continued for a predetermined time, a signal in a specific state different from that state is output for a short time. (That is, AB
The signal indicating the non-ABS state is forcibly output even during the S control), and the sub CPU 2
When the same state of the output of the main CPU 1 is not detected even when the same state is continued for the predetermined time or more,
It is determined that there is an abnormality in the output from the main CPU 1 to the sub CPU 2, and the system determines that a failure has occurred. As a result, not only the main CPU 1 malfunctions but also the main CP
Output port 1 when outputting from U1 to sub CPU2
Port abnormalities such as sticking of No. 8 can be effectively detected, and the reliability of failure detection can be further enhanced. Further, in addition to the above-mentioned failure detection, failure detection by a normal watchdog method is also performed, so that it is possible to further improve reliability while avoiding complication of the configuration.

【0045】尚、上記実施の形態では、ウォッチドッグ
パルス(W/Dパルス)は、メインCPU1からサブC
PU2に出力され、このサブCPU2の周期モニタ部2
1でその周期が監視(モニタ)され、通常のウォッチド
ッグ法により故障判定が行われるようになっていたが、
この替わりに、あるいは、これに加えて、メインCPU
1が発信したW/DパルスをサブCPU2が受信してメ
インCPU1の故障判定を行うとともに、受信したパル
ス信号をそのままメインCPU1に出力し、該メインC
PU1がサブCPU2から返送された上記パルス信号に
基づいて故障判定を行うようにすることにより、更に信
頼性の高いウォッチドッグによる故障検出を行うことが
できる。以下、本発明の他の実施の形態について、図8
のフローチャートを参照しながら説明する。尚、以下の
説明においては、図1〜図7で示された上述の実施の形
態における場合と同様のものには、同一の符号を付し、
それ以上の説明は省略する。
In the above embodiment, the watchdog pulse (W / D pulse) is sent from the main CPU 1 to the sub CPU.
It is output to PU2, and the cycle monitor unit 2 of this sub CPU 2
The cycle was monitored in 1 and the failure was determined by the normal watchdog method.
Instead of or in addition to this, the main CPU
The sub CPU 2 receives the W / D pulse transmitted from the main CPU 1 to determine the failure of the main CPU 1, and outputs the received pulse signal as it is to the main CPU 1,
By making the PU1 perform the failure determination based on the pulse signal returned from the sub CPU 2, it is possible to perform the failure detection by the watchdog with higher reliability. Hereinafter, another embodiment of the present invention will be described with reference to FIG.
This will be described with reference to the flowchart of FIG. In the following description, the same components as those in the above-described embodiment shown in FIGS. 1 to 7 are designated by the same reference numerals,
Further description is omitted.

【0046】この他の実施の形態に係るW/Dパルスに
よる故障検出では、図8のフローチャートに示すよう
に、サブCPU2は、メインCPU1からのW/Dパル
スを受信して故障検出サブルーチンがスタートすると、
まず、ステップ#61で、メインCPU1からのW/D
パルス(メインW/Dパルス)がLoからHiに立ち上
がったか否かを判定する。尚、このW/Dパルスによる
故障検出サブルーチンは、例えば70μsec.の制御
周期で実行される。上記ステップ#61の判定結果が3
回連続してYESになると、ステップ#62で、サブC
PU2はメインCPU1に対するW/Dパルス(サブW
/Dパルス)でHiを出力する。そして、ステップ#6
3で、前回LoからHiに変化した時からの時間(前回
変化からの時間)が規定範囲内にあるか否かを判定す
る。このステップ#63での判定結果がYESの場合
は、何ら異常はなく、ステップ#61にリターンする。
一方、NOの場合には、異常と認められるので、ステッ
プ#67でNGカウンタがインクリメントされ、このカ
ウンタ値Kaが所定値(例えば、Ka=10)以上にな
ると(ステップ#68:YES)、システムカットされ
る(ステップ#69)。
In the fault detection by the W / D pulse according to the other embodiment, as shown in the flowchart of FIG. 8, the sub CPU 2 receives the W / D pulse from the main CPU 1 and the fault detection subroutine starts. Then,
First, in step # 61, the W / D from the main CPU 1
It is determined whether or not the pulse (main W / D pulse) rises from Lo to Hi. The failure detection subroutine using the W / D pulse is executed at a control cycle of, for example, 70 μsec. The determination result of step # 61 is 3
If the answer is YES in succession, the sub C
PU2 is a W / D pulse for the main CPU1 (sub W
/ D pulse) to output Hi. And step # 6
At 3, it is determined whether or not the time from the previous change from Lo to Hi (time from the previous change) is within the specified range. If the decision result in the step # 63 is YES, there is no abnormality and the process returns to the step # 61.
On the other hand, in the case of NO, since it is recognized as an abnormality, the NG counter is incremented in step # 67, and when the counter value Ka becomes equal to or larger than the predetermined value (for example, Ka = 10) (step # 68: YES), the system It is cut (step # 69).

【0047】一方、上記ステップ#61での判定結果が
NOの場合には、ステップ#64で4msec.経過し
たか否かが判定され、これがYESの場合には、ステッ
プ#65で、サブCPU2はメインCPU1に対するW
/Dパルス(サブW/Dパルス)でLoを出力する。そ
して、ステップ#66で、規定時間以上経過したか否か
が判定され、これがYESの場合には、異常と認められ
るので、ステップ#67でNGカウンタがインクリメン
トされ、このカウンタ値が上記所定値Ka以上になると
(ステップ#68:YES)、システムカットされる
(ステップ#69)。上記ステップ#66の判定結果が
NOの場合には、異常ではないのでステップ#61にリ
ターンする。また、上記ステップ#64での判定結果が
NOの場合には、ステップ#65をスキップして、ステ
ップ#66を実行するようになっている。
On the other hand, if the decision result in the step # 61 is NO, it is determined in the step # 64 whether 4 msec. Has elapsed. If it is YES, the sub CPU 2 determines in the step # 65. W for main CPU1
Lo is output by the / D pulse (sub W / D pulse). Then, in step # 66, it is determined whether or not a prescribed time or more has elapsed. If this is YES, it is recognized as an abnormality, so the NG counter is incremented in step # 67, and this counter value is the above predetermined value Ka. When the above is reached (step # 68: YES), the system is cut (step # 69). If the decision result in the step # 66 is NO, the operation is not abnormal and the process returns to the step # 61. When the result of the determination in step # 64 is NO, step # 65 is skipped and step # 66 is executed.

【0048】以上のようにしてメインCPU1からのW
/Dパルスの周期がサブCPU2によってモニタ(監
視)されるが、メインCPU1もサブCPU2から出力
(返送)されて来たW/Dパルスに基づいて、そのLo
からHiへの立ち上がりを基準にして周期を監視するこ
とにより、故障検出を行う。このような相互監視を行う
ことにより、以下のようにして、各種の故障を検出する
ことができる。すなわち、 メインCPU1のクロックに異常がある場合には、
通常どうり、サブCPU2がメインCPU1のW/Dパ
ルスの周期異常として検出する。 サブCPU2のクロックに異常がある場合には、サ
ブCPU2は、自己の異常は検出できないが、メインC
PU1のW/Dパルスに周期異常があるものとして故障
検出を行う。 メインCPU1のプログラム異常が生じた場合、サ
ブCPU2がメインCPU1のW/Dパルスの周期異常
として検出する。 サブCPU2のプログラム異常が生じた場合、サブ
CPU2からメインCPU1へのW/Dパルスが生じな
い(返送されない)ので、メインCPU1がサブCPU
2の異常を検出する。
As described above, W from the main CPU 1
The cycle of the / D pulse is monitored by the sub CPU 2, and the main CPU 1 also outputs its Lo based on the W / D pulse output (returned) from the sub CPU 2.
Failure is detected by monitoring the cycle with reference to the rise from HI to Hi. By performing such mutual monitoring, various failures can be detected as follows. That is, when the clock of the main CPU 1 is abnormal,
Normally, the sub CPU 2 detects the abnormality of the W / D pulse cycle of the main CPU 1. If there is an abnormality in the clock of the sub CPU 2, the sub CPU 2 cannot detect its own abnormality, but the main C
Failure detection is performed assuming that the W / D pulse of PU1 has a cycle abnormality. When a program abnormality of the main CPU 1 occurs, the sub CPU 2 detects it as a cycle abnormality of the W / D pulse of the main CPU 1. When a program abnormality of the sub CPU 2 occurs, the W / D pulse from the sub CPU 2 to the main CPU 1 does not occur (is not returned), so the main CPU 1
Detect the abnormality of 2.

【0049】以上、説明したように、この実施の形態に
よれば、メインCPU1からのW/Dパルスを受信した
サブCPU2は該パルス信号に基づいてメインCPU1
の故障判定を行うとともに受信したW/Dパルスをその
ままメインCPU1に出力(返送)する。そして、該メ
インCPU1はこのサブCPU2から返送されたパルス
信号に基づいて故障判定を行う。すなわち、メイン,サ
ブのいずれかのCPUについて異常があれば、これをパ
ルス信号の周期をモニタすることにより検出できる。ま
た、この場合において、サブCPU2は、独立してW/
Dパルスを発生・出力させることなく、W/Dパルスに
よる相互監視を行うことができ、構成の複雑化を回避し
つつ、故障検出の信頼性を向上させることができるので
ある。
As described above, according to this embodiment, the sub CPU 2 that receives the W / D pulse from the main CPU 1 receives the W / D pulse from the main CPU 1 based on the pulse signal.
And the received W / D pulse is output (returned) to the main CPU 1 as it is. Then, the main CPU 1 makes a failure determination based on the pulse signal returned from the sub CPU 2. That is, if there is an abnormality in either the main or sub CPU, it can be detected by monitoring the cycle of the pulse signal. Further, in this case, the sub CPU 2 independently operates W /
Mutual monitoring by the W / D pulse can be performed without generating and outputting the D pulse, and reliability of failure detection can be improved while avoiding complication of the configuration.

【0050】次に、本発明の更に他の実施の形態につい
て説明する。この実施の形態では、メインCPU1は、
所定のプログラムに従った一連の制御処理(つまりAB
S制御処理)における途中の複数箇所にて、実際の制御
とは無関係な所定の演算をそれぞれ実行するとともに、
この演算結果の正誤を判定し、この演算結果に誤りが無
い場合にには、サブCPU2に対して所定のパルス信号
(つまりW/Dパルス信号)を出力する。そして、サブ
CPU2は、一定時間以上経過しても上記W/Dパルス
信号の出力が無い場合には故障と判定する。以下、この
更に他の実施の形態におけるW/Dパルスのモニタによ
る故障判定を、図9のフローチャートおよび図10のタ
イムチャートを参照しながら説明する。
Next, still another embodiment of the present invention will be described. In this embodiment, the main CPU 1
A series of control processing (that is, AB according to a predetermined program)
S control processing) executes predetermined arithmetic operations unrelated to actual control at a plurality of points on the way,
Whether the calculation result is right or wrong is determined, and when there is no error in the calculation result, a predetermined pulse signal (that is, W / D pulse signal) is output to the sub CPU 2. Then, the sub CPU 2 determines that there is a failure if the W / D pulse signal is not output even after a lapse of a certain period of time. Hereinafter, the failure determination by monitoring the W / D pulse in this other embodiment will be described with reference to the flowchart of FIG. 9 and the time chart of FIG.

【0051】尚、この更に他の本実施の形態におけるA
BS制御ロジックは、図3に示した制御ロジック(図3
のステップ#1〜ステップ#7参照)と同様のものであ
り、また、この制御ロジックの実行は、図3の場合と同
じく、例えば8msec.(ミリセカンド)の制御周期
で繰り返して行われるように設定されている。そして、
この一連のフロー(制御周期が例えば8msec.)に
おいて、例えば1msec.毎の割り込み処理が行わ
れ、この割り込み処理の中で、実際の制御とは無関係な
所定の演算(TEST)が実行されるようになってい
る。尚、図10のタイムチャートにおける上下方向の矢
印は、この割り込み処理のタイミングを表している。
Incidentally, A in this other embodiment of the present invention.
The BS control logic is the control logic shown in FIG.
Step # 1 to Step # 7), and the execution of this control logic is repeated, for example, in a control cycle of 8 msec. (Millisecond) as in the case of FIG. It is set. And
In this series of flows (control cycle is, for example, 8 msec.), Interrupt processing is performed, for example, every 1 msec., And in this interrupt processing, a predetermined calculation (TEST) unrelated to actual control is executed. It has become. The up and down arrows in the time chart of FIG. 10 represent the timing of this interrupt processing.

【0052】前回制御周期が終了して今回制御周期がス
タートすると(ステップ#80)、今回制御周期のスタ
ートに際して、まず、ステップ#81で、前回制御周期
でのテスト(演算)結果が規定値通りであるか(つま
り、演算結果に誤りがないか)否かが判定される。尚、
割り込み処理で行われるテストの具体例については後述
する。このステップ#81での判定結果がNOの場合に
は、メインCPU1に異常があるのでシステムダウンさ
れる(ステップ#82)。一方、ステップ#81での判
定結果がYESの場合には、ステップ#83でテストが
リセットされ(TEST=0)、W/Dパルス出力フラ
グがセットされて(ステップ#84)、パルスが立ち上
げられる(図10の矢印1参照)。そして、1回目の演
算(TEST)が実行される(ステップ#85)。
When the previous control cycle ends and the current control cycle starts (step # 80), at the start of the current control cycle, first, in step # 81, the test (calculation) result in the previous control cycle conforms to the specified value. Or not (that is, whether or not there is an error in the calculation result). still,
A specific example of the test performed in the interrupt process will be described later. If the decision result in the step # 81 is NO, there is an abnormality in the main CPU 1, so the system is down (step # 82). On the other hand, if the determination result in step # 81 is YES, the test is reset in step # 83 (TEST = 0), the W / D pulse output flag is set (step # 84), and the pulse rises. (See arrow 1 in FIG. 10). Then, the first calculation (TEST) is executed (step # 85).

【0053】このTESTを実行した後に、ABS制
御ロジックに従って車輪速データの入力処理(ステップ
#86)が行われ、次に、車体速および路面μ(摩擦係
数)の計算(ステップ#88及びステップ#90)、更
には、これらの値に基づいて各車輪毎のロック判定(ス
テップ#92)が順次実行されるが、これら各ステップ
#88,#90及び#92の実行前に、TEST,及
び(ステップ#87,#89及び#91)が割り込み
処理で実行される。そして、車輪のロック判定(ステッ
プ#92)を終えた後、ステップ#93で、今まで(T
EST〜)のテスト(演算)結果が規定値通りであ
るか(つまり、演算結果に誤りがないか)否かが判定さ
れる。
After executing this TEST, input processing of wheel speed data is performed according to the ABS control logic (step # 86), and then calculation of vehicle speed and road surface μ (friction coefficient) is performed (step # 88 and step # 88). 90), and further, the lock determination for each wheel (step # 92) is sequentially executed based on these values. Before execution of these steps # 88, # 90 and # 92, TEST, and ( Steps # 87, # 89 and # 91) are executed by interrupt processing. Then, after the wheel lock determination (step # 92) is completed, at step # 93, until now (T
It is determined whether or not the test (calculation) result of EST ~) is in accordance with the specified value (that is, whether the calculation result has an error).

【0054】尚、今までの割り込み処理で行われた演算
(TEST〜)の具体例を、以下に示す。これら演
算式において、A,B,C,D及びEは定数である。 ・TEST:A+B ・TEST:C×(TESTの演算値) ・TEST:(TESTの演算値)÷D ・TEST:(TESTの演算値)−E 従って、上記ステップ#93で、TESTの演算値が
規定値通りであるか否かを判定することにより、今まで
の割り込み処理で行われた演算(TEST〜)の少
なくともいずれか1つにでも誤りがあれば、あるいは、
実行されていないステップがあれば、TESTの演算
値が規定値と一致せず、ステップ#93の判定結果がN
Oとなるのでシステムダウンされ(ステップ#94)、
W/D信号のパルス生成されなくなる。すなわち、サブ
CPU2は、メインCPU1からW/Dパルスを受信し
なくなるので、一定時間以上W/Dパルスを受信しない
場合には、メインCPU1に故障が発生したものとし
て、これを検出することができるのである。
A specific example of the operation (TEST-) performed in the interrupt processing up to now is shown below. In these arithmetic expressions, A, B, C, D and E are constants. -TEST: A + B-TEST: C * (calculated value of TEST) -TEST: (calculated value of TEST) / D-TEST: (calculated value of TEST) -E Therefore, in step # 93 above, the calculated value of TEST is If there is an error in at least one of the operations (TEST-) performed in the interrupt processing up to now by determining whether or not it is according to the specified value, or
If there is a step that has not been executed, the calculated value of TEST does not match the specified value, and the determination result of step # 93 is N.
Since it becomes O, the system is down (step # 94),
W / D signal pulses are no longer generated. That is, since the sub CPU 2 does not receive the W / D pulse from the main CPU 1, if the W / D pulse is not received for a certain time or longer, it can be detected that the main CPU 1 has a failure. Of.

【0055】上記ステップ#93での判定結果がNOの
場合には、メインCPU1に異常があるのでシステムダ
ウンされる(ステップ#94)。一方、ステップ#93
での判定結果がYESの場合には、ステップ#95でテ
ストがリセットされ(TEST=0)、W/Dパルスを
反転させる出力信号がセットされる。換言すれば、W/
Dパルス出力フラグがリセットされる(ステップ#9
6)。尚、パルスの反転は、例えば、信号を一旦アキュ
ムレータにセットして反転させることにより行われる。
この結果、パルスが立ち下げられる(図10の矢印5参
照)。そして、5回目の演算(TEST)が実行され
る(ステップ#97)。
If the decision result in the step # 93 is NO, the system is down because the main CPU 1 has an abnormality (step # 94). On the other hand, step # 93
If the result of the determination is YES in step # 95, the test is reset (TEST = 0) and the output signal for inverting the W / D pulse is set. In other words, W /
The D pulse output flag is reset (step # 9)
6). The pulse inversion is performed, for example, by temporarily setting the signal in the accumulator and inverting it.
As a result, the pulse falls (see arrow 5 in FIG. 10). Then, the fifth calculation (TEST) is executed (step # 97).

【0056】このTESTを実行した後に、ABS制
御ロジックに従って制御量の算出(ステップ#98),
フェールセーフ処理(ステップ#100)及びRAMチ
ェック(ステップ#102)が順次実行されるが、これ
らステップ#100及び#102の実行前に、TEST
及び(ステップ#99及び#101)が割り込み処
理で実行される。そして、上記RAMチェック(ステッ
プ#102)を終えると、ステップ#80にリターンす
るようになっている。尚、図中には示されていないが、
RAMチェックが終わると1制御周期が終了するので、
メインCPU1からの制御信号がセットされる。
After executing this TEST, the control amount is calculated according to the ABS control logic (step # 98),
The fail safe process (step # 100) and the RAM check (step # 102) are sequentially executed, but before the execution of these steps # 100 and # 102, the TEST
And (steps # 99 and # 101) are executed by interrupt processing. When the RAM check (step # 102) is completed, the process returns to step # 80. Although not shown in the figure,
Since one control cycle ends when the RAM check is completed,
The control signal from the main CPU 1 is set.

【0057】W/Dパルス反転(ステップ#96参照)
後の割り込み処理で行われた演算(TEST〜)の
具体例を、以下に示す。これら演算式において、A',
B',C'及びD'は定数である。 ・TEST:A'+B' ・TEST:C'×(TESTの演算値) ・TEST:(TESTの演算値)÷D' 従って、リターンした後に上記ステップ#81で、TE
STの演算値が規定値通りであるか否かを判定するこ
とにより、W/Dパルス反転後の割り込み処理で行われ
た演算(TEST〜)の少なくともいずれか1つに
でも誤りがあれば、あるいは、実行されていないステッ
プがあれば、TESTの演算値が規定値と一致しなく
なる。そして、ステップ#81の判定結果がNOとなる
のでシステムダウンされ(ステップ#82)、W/D信
号のパルス生成されなくなる。すなわち、サブCPU2
は、メインCPU1からW/Dパルスを受信しなくなる
ので、一定時間以上W/Dパルスを受信しない場合に
は、メインCPU1が故障したものと判定するようにな
っている。
W / D pulse inversion (see step # 96)
A specific example of the operation (TEST-) performed in the subsequent interrupt processing is shown below. In these arithmetic expressions, A ′,
B ', C'and D'are constants. -TEST: A '+ B'-TEST: C'x (calculated value of TEST) -TEST: (calculated value of TEST) / D' Therefore, after returning, in step # 81 above, TE
If there is an error in at least one of the operations (TEST-) performed in the interrupt processing after the W / D pulse inversion by determining whether or not the operation value of ST is the specified value, Alternatively, if there is a step that has not been executed, the calculated value of TEST does not match the specified value. Then, since the determination result of step # 81 is NO, the system is down (step # 82) and the pulse generation of the W / D signal is stopped. That is, the sub CPU 2
Does not receive the W / D pulse from the main CPU 1, so if the W / D pulse is not received for a certain period of time, it is determined that the main CPU 1 has failed.

【0058】以上、説明したように、この実施の形態に
よれば、メインCPU1は、ABS制御ロジックのプロ
グラムに従った一連の制御処理における途中の複数箇所
にて、実際の制御とは無関係な所定の演算(TEST)
をそれぞれ実行するとともに、この演算結果の正誤を判
定し、この演算結果に誤りが無いときには、サブCPU
2に対して所定のパルス信号を出力する。つまり、プロ
グラムに従った規定のルーチンの一部が実行されなかっ
た場合や上記演算が正常に行われなかった場合には、サ
ブ制御手段にパルス信号は出力されないことになる。従
って、該サブ制御手段は、一定時間以上経過しても上記
パルス信号の出力が無い場合には、メイン制御手段に異
常が生じたものとして、故障と判定することができる。
この場合、メインCPU1側でのプログラムの実行異常
や演算機能の異常を含めて故障検出することができ、W
/Dパルスによる故障検出としては、非常に信頼性の高
い故障検出を行うことができる。尚、この故障検出法
は、従来のW/Dパルスによる故障検出と併用すること
もできる。
As described above, according to this embodiment, the main CPU 1 has a plurality of predetermined points irrelevant to actual control at a plurality of points in the series of control processing according to the program of the ABS control logic. Calculation (TEST)
And the correctness of this operation result is determined. If there is no error in this operation result, the sub CPU
2 outputs a predetermined pulse signal. That is, the pulse signal is not output to the sub control means when a part of the prescribed routine according to the program is not executed or when the above calculation is not normally performed. Therefore, when the sub-control means does not output the pulse signal even after a lapse of a certain period of time, the sub-control means can determine that the main control means has an abnormality and be in failure.
In this case, it is possible to detect the failure including the program execution abnormality and the arithmetic function abnormality on the main CPU 1 side.
As the failure detection using the / D pulse, it is possible to perform failure detection with extremely high reliability. This failure detection method can also be used in combination with the conventional failure detection by the W / D pulse.

【0059】[0059]

【発明の効果】本願の第1の発明によれば、メイン制御
手段は、上記制御対象に出力する制御信号と同様の信号
(所定の制御ロジックに基づく信号)を上記サブ制御手段
にも出力する一方、サブ制御手段は、メイン制御手段が
制御対象に出力している上記制御信号をモニタし、故障
判定部により、このモニタした制御信号とメイン制御手
段から入力された上記信号とを比較して、両信号に矛盾
が生じた場合には故障と判定するので、従来、メインC
PUに実際の制御とは無関係の演算を行わせ、この演算
結果をサブCPUでチェックして故障検出を行う場合に
比べて、より簡単な構成で、また、相互間の通信量の増
大やサブCPUの演算容量の肥大化等を招くことなく、
信頼性の高い故障検出を行うことができる。
According to the first invention of the present application, the main control means is the same signal as the control signal to be output to the control target.
(A signal based on a predetermined control logic) is also output to the sub-control means, while the sub-control means monitors the control signal output to the controlled object by the main control means, and the failure determination unit monitors this control signal. The control signal is compared with the above-mentioned signal input from the main control means, and if there is a contradiction between both signals, it is determined that a failure has occurred.
Compared to the case where the PU performs an operation unrelated to the actual control, and the operation result is checked by the sub CPU to detect a failure, the configuration is simpler and the amount of communication between the sub CPU and the sub Without inviting an increase in the calculation capacity of the CPU,
Fault detection with high reliability can be performed.

【0060】また、本願の第2の発明によれば、基本的
には、上記第1の発明と同様の作用が行われる。しか
も、その上、上記メイン制御手段からサブ制御手段に出
力される信号には、出力の同一状態が所定時間継続され
た場合に該状態とは異なる特定状態の信号が短時間出力
されるように構成されており、サブ制御手段は、メイン
制御手段の出力の同一状態が上記所定時間以上継続され
ても上記特定状態の信号を検出しない場合には、メイン
制御手段からサブ制御手段への出力に異常があるものと
して、故障と判定するので、メイン制御手段の制御部自
体の異常発生のみならず、メイン制御手段からサブ制御
手段への出力ポートの貼り付き等のポート異常をも有効
に検出することができ、故障検出の信頼性をより高める
ことができる。
According to the second invention of the present application, basically, the same operation as that of the first invention is performed. In addition, the signal output from the main control means to the sub control means is such that when the same output state is continued for a predetermined time, a signal in a specific state different from that state is output for a short time. If the same state of the output of the main control means is not detected even if the same state of the output of the main control means continues for the predetermined time or more, the sub control means outputs the signal from the main control means to the sub control means. Since it is determined that there is an abnormality and it is determined as a failure, not only the occurrence of an abnormality in the control unit itself of the main control unit but also a port abnormality such as sticking of an output port from the main control unit to the sub-control unit is effectively detected. Therefore, the reliability of failure detection can be further enhanced.

【0061】更に、本願の第3の発明によれば、メイン
制御手段はサブ制御手段に対して一定周期のパルス信号
(つまり、ウォッチドッグパルス)を出力し、サブ制御
手段は該パルス信号を受信してメイン制御手段の故障判
定を行うとともに受信したパルス信号をそのままメイン
制御手段に出力する。つまり、メイン制御手段の故障を
パルス信号の周期をモニタして検出することができ、し
かも、該メイン制御手段はサブ制御手段から返送された
上記パルス信号に基づいて故障判定を行うことができ
る。すなわち、メイン,サブのいずれかの制御手段につ
いて異常があれば、これをパルス信号の周期をモニタす
ることにより検出できる。また、この場合において、サ
ブCPU2は、独立してW/Dパルスを発生・出力させ
ることなく、W/Dパルスによる相互監視を行うことが
でき、構成の複雑化を回避しつつ、故障検出の信頼性を
向上させることができる。
Further, according to the third invention of the present application, the main control means outputs a pulse signal (that is, a watchdog pulse) of a constant cycle to the sub control means, and the sub control means receives the pulse signal. Then, the failure of the main control means is determined and the received pulse signal is directly output to the main control means. That is, a failure of the main control means can be detected by monitoring the cycle of the pulse signal, and the main control means can make a failure determination based on the pulse signal returned from the sub control means. That is, if there is an abnormality in either the main or sub control means, it can be detected by monitoring the cycle of the pulse signal. Further, in this case, the sub CPU 2 can perform mutual monitoring by the W / D pulse without independently generating / outputting the W / D pulse, and can prevent failure detection while avoiding complication of the configuration. The reliability can be improved.

【0062】また、更に、本願の第4の発明では、メイ
ン制御手段は、所定のプログラムに従った一連の制御処
理における途中の複数箇所にて、実際の制御とは無関係
な所定の演算をそれぞれ実行するとともに、この演算結
果の正誤を判定し、この演算結果に誤りが無いときに
は、サブ制御手段に対して所定のパルス信号を出力す
る。つまり、プログラムに従った規定のルーチンの一部
が実行されなかった場合や上記演算が正常に行われなか
った場合には、サブ制御手段にパルス信号は出力されな
いことになる。従って、該サブ制御手段は、一定時間以
上経過しても上記パルス信号の出力が無い場合には、メ
イン制御手段に異常が生じたものとして、故障と判定す
ることができる。この場合、メイン制御手段側でのプロ
グラムの実行異常や演算機能の異常を含めて故障検出す
ることができ、W/Dパルスによる故障検出としては、
非常に信頼性の高い故障検出を行うことができる。
Further, in the fourth invention of the present application, the main control means respectively performs a predetermined calculation irrelevant to actual control at a plurality of points in the middle of a series of control processing according to a predetermined program. When the calculation result is correct, it is determined whether or not the calculation result is correct. When there is no error in the calculation result, a predetermined pulse signal is output to the sub control means. That is, the pulse signal is not output to the sub control means when a part of the prescribed routine according to the program is not executed or when the above calculation is not normally performed. Therefore, when the sub-control means does not output the pulse signal even after a lapse of a certain period of time, the sub-control means can determine that there is an abnormality in the main control means and determine that there is a failure. In this case, it is possible to detect the failure including the program execution abnormality and the arithmetic function abnormality on the main control means side, and as the failure detection by the W / D pulse,
A very reliable fault detection can be performed.

【0063】また、更に、本願の第5の発明によれば、
基本的には、上記第1〜第4の発明のいずれか一と同様
の作用が行われる。しかも、その上、メイン制御手段と
サブ制御手段の少なくともいずれか一方には、上記故障
判定手段が設けられており、他方から出力された一定周
期のパルス信号(つまり、ウォッチドッグパルス)をモ
ニタして当該他方の制御手段の故障の有無を判定する。
すなわち、上記第1〜第4の発明のいずれか一の故障判
定に加えて、通常のウォッチドッグ法による故障判定を
行うことができ、構成の複雑化を回避しつつ、故障検出
の信頼性をより一層高めることができる。
Further, according to the fifth invention of the present application,
Basically, the same operation as that of any one of the first to fourth inventions is performed. Moreover, at least one of the main control means and the sub-control means is provided with the failure determination means, and the pulse signal of a constant cycle (that is, the watchdog pulse) output from the other is monitored. Then, it is determined whether or not there is a failure in the other control means.
That is, in addition to the failure determination according to any one of the first to fourth inventions, the failure determination by the normal watchdog method can be performed, and the reliability of failure detection can be improved while avoiding the complication of the configuration. It can be further enhanced.

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

【図1】 本発明の実施の形態に係る電子制御ユニット
の信号系統を示すブロック構成図である。
FIG. 1 is a block configuration diagram showing a signal system of an electronic control unit according to an embodiment of the present invention.

【図2】 上記電子制御ユニットの各CPUの構成を概
略的に示すブロック構成図である。
FIG. 2 is a block configuration diagram schematically showing a configuration of each CPU of the electronic control unit.

【図3】 メインCPUでのABS制御ロジックの実行
プロセスを説明するためのフローチャートである。
FIG. 3 is a flow chart for explaining an ABS control logic execution process in the main CPU.

【図4】 メインCPUからサブCPUへの基準信号セ
ットのサブルーチンを説明するためのフローチャートで
ある。
FIG. 4 is a flowchart for explaining a reference signal setting subroutine from the main CPU to the sub CPU.

【図5】 メインCPUからサブCPUへの不一致信号
セットのサブルーチン説明するためのフローチャートで
ある。
FIG. 5 is a flow chart for explaining a subroutine for setting a mismatch signal from the main CPU to the sub CPU.

【図6】 メインCPUから出力される基準信号および
制御信号の一例を示すタイムチャートである。
FIG. 6 is a time chart showing an example of reference signals and control signals output from the main CPU.

【図7】 サブCPUでの故障検出処理を説明するため
のフローチャートである。図である。
FIG. 7 is a flowchart for explaining a failure detection process in the sub CPU. FIG.

【図8】 本発明の他の実施の形態に係るウォッチドッ
グパルスのモニタによる故障判定を説明するためのフロ
ーチャートである。
FIG. 8 is a flowchart for explaining failure determination by monitoring a watchdog pulse according to another embodiment of the present invention.

【図9】 本発明の更に他の実施の形態に係るウォッチ
ドッグパルスのモニタによる故障判定を説明するための
フローチャートである。
FIG. 9 is a flowchart for explaining failure determination by monitoring a watch dog pulse according to still another embodiment of the present invention.

【図10】 上記更に他の実施の形態に係るウォッチド
ッグパルスのモニタによる故障判定を説明するためのタ
イムチャートである。
FIG. 10 is a time chart for explaining failure determination by monitoring a watch dog pulse according to the still another embodiment.

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

1…メインCPU 2…サブCPU 3…ウォッチドッグ(W/D)回路 11…制御実行部 12…制御信号出力部 16…ウォッチドッグ(W/D)信号出力部 17…基準信号出力部 21…周期モニタ部 22…基準信号モニタ部 23…制御信号モニタ部 24…故障判定部 C…電子制御ユニット S1,S2,S3,S4…電磁ソレノイドバルブ 1 ... Main CPU 2 ... Sub CPU 3 ... Watchdog (W / D) circuit 11 ... Control execution unit 12 ... Control signal output unit 16 ... Watchdog (W / D) signal output unit 17 ... Reference signal output unit 21 ... Period Monitor unit 22 ... Reference signal monitor unit 23 ... Control signal monitor unit 24 ... Failure determination unit C ... Electronic control unit S1, S2, S3, S4 ... Electromagnetic solenoid valve

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山下 哲弘 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 (72)発明者 佐藤 英治 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tetsuhiro Yamashita, Shinchi Fuchu-cho, Aki-gun, Hiroshima 3-1, Mazda Co., Ltd. Within

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 制御対象を制御するメイン制御手段と、
上記制御対象を制御することなく上記メイン制御手段の
故障の有無を判定するサブ制御手段とが設けられてなる
電子制御ユニットであって、 上記メイン制御手段は、上記制御対象に所定の制御ロジ
ックに基づく制御信号を出力するとともに、上記サブ制
御手段にも上記制御ロジックに基づく信号を出力する一
方、上記サブ制御手段は、上記メイン制御手段が上記制
御対象に出力している上記制御信号をモニタするように
構成されており、上記サブ制御手段には、メイン制御手
段から入力された信号とモニタした上記制御信号とを比
較して、両信号に矛盾が生じた場合に故障と判定する故
障判定部が設けられていることを特徴とする電子制御ユ
ニット。
1. A main control means for controlling a controlled object,
An electronic control unit comprising: a sub-control unit that determines the presence or absence of a failure of the main control unit without controlling the control target, wherein the main control unit has a predetermined control logic for the control target. A control signal based on the control logic is output to the sub-control unit while the sub-control unit monitors the control signal output from the main control unit to the control target. The sub-control means is configured to compare the signal input from the main control means with the monitored control signal, and if there is a contradiction between both signals, a failure determination section that determines a failure. An electronic control unit comprising:
【請求項2】 上記メイン制御手段からサブ制御手段に
出力される信号には、出力の同一状態が所定時間継続さ
れた場合に該状態とは異なる特定状態の信号が短時間出
力されるように構成されており、上記メイン制御手段の
出力の同一状態が上記所定時間以上継続されても、上記
サブ制御手段が上記特定状態の信号を検出しない場合に
は故障と判定することを特徴とする請求項1記載の電子
制御ユニット。
2. The signal output from the main control means to the sub control means is such that, when the same output state is continued for a predetermined time, a signal in a specific state different from the state is output for a short time. It is configured that, even if the same state of the output of the main control means continues for the predetermined time or more, if the sub control means does not detect the signal of the specific state, it is determined as a failure. Item 1. The electronic control unit according to item 1.
【請求項3】 制御対象を制御するメイン制御手段と、
上記制御対象を制御することなく上記メイン制御手段の
故障の有無を判定するサブ制御手段とが設けられてなる
電子制御ユニットであって、 上記メイン制御手段は上記サブ制御手段に対して一定周
期のパルス信号を出力し、サブ制御手段は該パルス信号
を受信してメイン制御手段の故障判定を行うとともに受
信したパルス信号をそのままメイン制御手段に出力し、
該メイン制御手段はサブ制御手段から返送された上記パ
ルス信号に基づいて故障判定を行うことを特徴とする電
子制御ユニット。
3. Main control means for controlling a controlled object,
An electronic control unit comprising: a sub-control unit that determines whether or not there is a failure of the main control unit without controlling the controlled object, wherein the main control unit has a predetermined cycle with respect to the sub-control unit. The pulse signal is output, the sub-control unit receives the pulse signal, determines the failure of the main control unit, and outputs the received pulse signal as it is to the main control unit.
The electronic control unit, wherein the main control means determines a failure based on the pulse signal returned from the sub control means.
【請求項4】 制御対象を制御するメイン制御手段と、
上記制御対象を制御することなく上記メイン制御手段の
故障の有無を判定するサブ制御手段とが設けられてなる
電子制御ユニットであって、 上記メイン制御手段は、所定のプログラムに従った一連
の制御処理における途中の複数箇所にて、実際の制御と
は無関係な所定の演算をそれぞれ実行するとともに、こ
の演算結果の正誤を判定し、この演算結果に誤りが無い
ときには、上記サブ制御手段に対して所定のパルス信号
を出力するように構成され、該サブ制御手段は、一定時
間以上経過しても上記パルス信号の出力が無い場合には
故障と判定することを特徴とする電子制御ユニット。
4. Main control means for controlling a controlled object,
An electronic control unit comprising: a sub-control unit that determines whether or not the main control unit has a failure without controlling the controlled object, wherein the main control unit is a series of controls according to a predetermined program. At a plurality of points in the process, predetermined arithmetic operations unrelated to the actual control are executed, and the correctness of the arithmetic operation result is determined. If there is no error in the arithmetic operation result, the sub control means is An electronic control unit configured to output a predetermined pulse signal, wherein the sub-control unit determines a failure if the pulse signal is not output even after a lapse of a certain period of time.
【請求項5】 上記メイン制御手段と上記サブ制御手段
の少なくともいずれか一方には、他方から出力された一
定周期のパルス信号をモニタして当該他方の制御手段の
故障の有無を判定する故障判定手段が設けられているこ
とを特徴とする請求項1〜請求項4のいずれか一に記載
の電子制御ユニット。
5. A failure determination for monitoring at least one of the main control means and the sub-control means a pulse signal of a constant cycle output from the other to determine whether the other control means has a failure. Means are provided, The electronic control unit according to any one of claims 1 to 4.
JP24938295A 1995-09-27 1995-09-27 Electronic control unit Pending JPH0991034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24938295A JPH0991034A (en) 1995-09-27 1995-09-27 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24938295A JPH0991034A (en) 1995-09-27 1995-09-27 Electronic control unit

Publications (1)

Publication Number Publication Date
JPH0991034A true JPH0991034A (en) 1997-04-04

Family

ID=17192183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24938295A Pending JPH0991034A (en) 1995-09-27 1995-09-27 Electronic control unit

Country Status (1)

Country Link
JP (1) JPH0991034A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021745A1 (en) * 1997-10-24 1999-05-06 Continental Teves Ag & Co. Ohg Circuit configuration to monitor a regulated output voltage in a motor vehicle
JP2005236101A (en) * 2004-02-20 2005-09-02 Hitachi Ltd Fault detecting apparatus of solenoid
JP2006290090A (en) * 2005-04-08 2006-10-26 Nissan Motor Co Ltd On-vehicle communication device and method
US7489994B2 (en) 2004-03-31 2009-02-10 Toyota Jidosha Kabushiki Kaisha Control system for movable body
JP2010269700A (en) * 2009-05-21 2010-12-02 Mitsubishi Electric Corp Vehicle control apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021745A1 (en) * 1997-10-24 1999-05-06 Continental Teves Ag & Co. Ohg Circuit configuration to monitor a regulated output voltage in a motor vehicle
JP2005236101A (en) * 2004-02-20 2005-09-02 Hitachi Ltd Fault detecting apparatus of solenoid
JP4708714B2 (en) * 2004-02-20 2011-06-22 日立オートモティブシステムズ株式会社 Solenoid abnormality detection device
US7489994B2 (en) 2004-03-31 2009-02-10 Toyota Jidosha Kabushiki Kaisha Control system for movable body
JP2006290090A (en) * 2005-04-08 2006-10-26 Nissan Motor Co Ltd On-vehicle communication device and method
JP2010269700A (en) * 2009-05-21 2010-12-02 Mitsubishi Electric Corp Vehicle control apparatus

Similar Documents

Publication Publication Date Title
US7245995B2 (en) Fault-tolerant vehicle stability control
US5684702A (en) Control system having data correlation for controlling a vehicular anti-lock braking system
US6243629B1 (en) Electronic control unit for automotive vehicles
EP0575854B1 (en) Mutual monitoring circuit for computers
US5713643A (en) Control circuit for automotive vehicle motion control systems
JP2001063492A (en) Electronic control device for vehicle safety control device
JPH0588924A (en) Multicomputer system of automobile
US6012156A (en) Process and circuit arrangement for monitoring the function of a program-controlled circuit
JPH0159937B2 (en)
JPH08216850A (en) Circuit device for brake gear
JP3343143B2 (en) Failure diagnosis method
US8170750B2 (en) Parametric remedial action strategy for an active front steer system
JP3055630B2 (en) Brake pressure control method
JPH0991034A (en) Electronic control unit
JP2000305603A (en) Onboard electronic controller with self-monitoring function
Leaphart et al. Survey of software failsafe techniques for safety-critical automotive applications
JPH0632240A (en) Method for treating detecting signal
JP2002089336A (en) Failure detection device for electronic control system of vehicle
JP3716948B2 (en) Automotive electronic control unit
US6115832A (en) Process and circuitry for monitoring a data processing circuit
JPH0750020B2 (en) Electronic control unit
JP2002099321A (en) Fault detector for electronic control system for vehicle
JPH0466741B2 (en)
JP3508614B2 (en) Automotive electronic control unit with self-monitoring function
JPH0717337A (en) Judgement of trouble of electronic controlled unit and trouble judging device