JPH0534505B2 - - Google Patents

Info

Publication number
JPH0534505B2
JPH0534505B2 JP7474184A JP7474184A JPH0534505B2 JP H0534505 B2 JPH0534505 B2 JP H0534505B2 JP 7474184 A JP7474184 A JP 7474184A JP 7474184 A JP7474184 A JP 7474184A JP H0534505 B2 JPH0534505 B2 JP H0534505B2
Authority
JP
Japan
Prior art keywords
microcomputer
signal
main relay
ignition switch
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP7474184A
Other languages
Japanese (ja)
Other versions
JPS60219432A (en
Inventor
Norio Yamada
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP7474184A priority Critical patent/JPS60219432A/en
Publication of JPS60219432A publication Critical patent/JPS60219432A/en
Publication of JPH0534505B2 publication Critical patent/JPH0534505B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 発明の技術分野 本発明は自動車用電子制御装置に対し自動車用
バツテリから供給される電源の投入、遮断を行な
うメインリレーの制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a control device for a main relay that turns on and off power supplied from an automobile battery to an automobile electronic control device.

従来技術と問題点 従来のこの種メインリレー制御方式は、例えば
第1図に示すように、イグニツシヨンスイツチ1
の出力信号aと、制御用マイクロコンピユータ2
のある出力ポートの出力bとをノア回路3に入力
し、ノア回路3の出力でメインリレー4のコイル
を励磁させていた。即ち、イグニツシヨンスイツ
チ1が閉じられると信号aはハイレベル、ノア回
路3の出力はローレベルとなり、自動車バツテリ
5からノア回路3に流れる電流によりメインリレ
ー4が投入され、マイクロコンピユータ2を含む
自動車用電子制御装置6の各部に電源が供給され
る。また、マイクロコンピユータ2はイグニツシ
ヨンスイツチ1の開閉状態を信号aのレベルを検
出することにより監視しており、信号aがローレ
ベルになると、つまりイグニツシヨンスイツチ1
が開かれるとイグニツシヨンスイツチオフ後に必
要な措置たとえばISC制御のバイパス空気流量を
制御しているステツパモータ7の初期化等を行な
つた後、出力bをローレベルとしてメインリレー
4を遮断するものである。なお、第1図において
8は、正常動作時は間欠的にレベルが変化するマ
イクロコンピユータ2の或出力の信号cを監視す
ることによりマイクロコンピユータ2の異常を検
出する所謂ウオツチ・ドツグ・タイマ機能を実現
する異常検出回路9と、その検出時に、マイクロ
コンピユータ2の初期化信号(Reset)dを出し
てマイクロコンピユータ2の初期化を行なうと共
に、マイクロコンピユータ2の異常を外部に知ら
せるフエイル信号eを出力し警告ランプ等を点灯
させ、且つマイクロコンピユータ2の初期化中は
スイツチ10,11をマイクロコンピユータ2の
出力ポート側から自己側へ切換え該スイツチ1
0,11を介してステツパモータ7及び他のアク
チユエータ12が危険な状態になるのを回避する
信号をアクチユエータに出力しマイクロコンピユ
ータの動作をバツクアツプする制御回路13とを
備えたバツクアツプ回路であり、安全性が強く要
求される自動車用電子制御装置には特に必要とさ
れる回路である。
Prior Art and Problems In this type of conventional main relay control system, for example, as shown in Fig. 1, the ignition switch 1
output signal a and the control microcomputer 2
The output b of a certain output port is input to the NOR circuit 3, and the output of the NOR circuit 3 excites the coil of the main relay 4. That is, when the ignition switch 1 is closed, the signal a becomes high level and the output of the NOR circuit 3 becomes low level, and the current flowing from the automobile battery 5 to the NOR circuit 3 turns on the main relay 4, which includes the microcomputer 2. Power is supplied to each part of the automobile electronic control device 6. Furthermore, the microcomputer 2 monitors the open/close state of the ignition switch 1 by detecting the level of the signal a, and when the signal a becomes low level, that is, the ignition switch 1
When the ignition switch is opened, necessary measures are taken after the ignition switch is turned off, such as initializing the stepper motor 7 that controls the bypass air flow rate under ISC control, and then the output b is set to a low level and the main relay 4 is shut off. It is. In FIG. 1, 8 has a so-called watch-dog timer function that detects an abnormality in the microcomputer 2 by monitoring a certain output signal c of the microcomputer 2 whose level changes intermittently during normal operation. An abnormality detection circuit 9 to be realized, and upon detection thereof, output an initialization signal (Reset) d for the microcomputer 2 to initialize the microcomputer 2, and output a fail signal e to inform the outside of an abnormality in the microcomputer 2. At the same time, when the microcomputer 2 is being initialized, the switches 10 and 11 are switched from the output port side of the microcomputer 2 to the self side.
This is a backup circuit equipped with a control circuit 13 that outputs a signal to the actuator to prevent the stepper motor 7 and other actuators 12 from becoming in a dangerous state via the terminals 0 and 11, and backs up the operation of the microcomputer. This circuit is especially required for automotive electronic control devices, which strongly require the following.

ところで、第1図のような構成によれば、マイ
クロコンピユータ2が異常になつたときバツクア
ツプ回路8により一応危険な状態は回避できる
が、異常状態のときは信号bのレベルは不定にな
るので、イグニツシヨンスイツチ1をオフにして
も必ずしもメインリレー4が遮断される保証はな
く、電源が供給され続けることによる思わぬ事故
を招来する危険性があつた。
By the way, according to the configuration shown in FIG. 1, when the microcomputer 2 becomes abnormal, a dangerous situation can be avoided by the backup circuit 8, but when the microcomputer 2 becomes abnormal, the level of the signal b becomes undefined. Even if the ignition switch 1 is turned off, there is no guarantee that the main relay 4 will be cut off, and there is a risk that an unexpected accident may occur due to the continued supply of power.

発明の目的 本発明はこのような従来の欠点を改善したもの
であり、その目的は、イグニツシヨンスイツチ1
がオフされたときはマイクロコンピユータ2が異
常であつても確実にメインリレー4を遮断し自動
車用電子制御装置への電源を断つことができるよ
うにすることにある。
OBJECT OF THE INVENTION The present invention has improved the conventional drawbacks, and its purpose is to improve the ignition switch 1.
When the microcomputer 2 is turned off, the main relay 4 is reliably cut off even if the microcomputer 2 is abnormal, and the power to the electronic control device for the automobile can be cut off.

発明の構成 本発明の要旨とするところは、制御用マイクロ
コンピユータと、該マイクロコンピユータから出
力されその正常時は間欠的にレベル変化する特定
の信号を監視することによりマイクロコンピユー
タの異常を検出し異常時にその旨を示すフエイル
信号を発生するバツクアツプ回路とを備えた自動
車用電子制御装置に対し自動車用バツテリから供
給される電源の投入、遮断を行なうメインリレー
の制御装置において、前記バツクアツプ回路はイ
グニツシヨンスイツチの遮断を検知するとフエイ
ル信号を出力し、前記イグニツシヨンスイツチの
遮断を示す出力信号と前記フエイル信号とを取り
込み、前記出力信号を検知し、且つ前記フエイル
信号を検知したときメインリレーを遮断する制御
手段を設けたことを特徴とする自動車用電子制御
装置におけるメインリレー制御装置である。従つ
て、イグニツシヨンスイツチがオンされたときは
イグニツシヨンスイツチの出力信号によりメイン
リレーは直ちに投入され、イグニツシヨンスイツ
チがオフされたときはバツクアツプ回路から出力
されるフエイル信号によつてメインリレーは遮断
されることになる。従つて、イグニツシヨンスイ
ツチのオフ時にマイクロコンピユータが異常であ
つてもフエイル信号によりメインリレーは確実に
遮断されることになる。
Structure of the Invention The gist of the present invention is to detect abnormalities in the microcomputer by monitoring a control microcomputer and a specific signal that is output from the microcomputer and whose level changes intermittently during normal operation. In a control device for a main relay that turns on and off power supplied from an automobile battery to an automobile electronic control device that is equipped with a backup circuit that sometimes generates a fail signal to indicate a fail signal, the backup circuit is an ignition control device. When the cutoff of the ignition switch is detected, a fail signal is output, and the output signal indicating the cutoff of the ignition switch and the fail signal are taken in. When the output signal is detected and the fail signal is detected, the main relay is activated. This is a main relay control device in an electronic control device for an automobile, characterized in that a control means for shutting off is provided. Therefore, when the ignition switch is turned on, the main relay is immediately turned on by the output signal of the ignition switch, and when the ignition switch is turned off, the main relay is turned on by the fail signal output from the backup circuit. The relay will be cut off. Therefore, even if the microcomputer is abnormal when the ignition switch is turned off, the main relay will be reliably cut off by the fail signal.

発明の実施例 第2図は本発明の実施例のハードウエア構成の
一例を示すブロツク図であり、第1図と同一符号
は同一部分を示す。第2図の構成が第1図の構成
と相違するところは、ハードウエアに関してはマ
イクロコンピユータ2の出力信号bをノア回路3
に入力する代りに、フエイル信号eをノア回路3
に入力した点にある。また、マイクロコンピユー
タ2のソフトウエアに関しては、第3図のフロー
チヤート例に示すように、マイクロコンピユータ
でイグニツシヨンスイツチ1がオフとなつたこと
を検出したとき従来は、ステツパモータ7の初期
化等イグニツシヨンスイツチ1のオフ後に必要な
措置を行なつた後出力信号bをローレベルにして
いた代りに、信号cの間欠的なレベル変化を強制
的に停止させるようにした点にある。このような
構成によると、イグニツシヨンスイツチ1がオン
されると信号aにより直ちにメインリレー4が投
入され、イグニツシヨンスイツチ1がオフされる
と、マイクロコンピユータ2の正常時はマイクロ
コンピユータ2がアクチユエータに対する必要な
初期化処理等を終えた後に信号cのレベル変化を
停止させる。これによりバツクアツプ回路8は信
号cが異常であると見てフエイル信号eを出力す
る。フエイル信号eによりメインリレー4が遮断
されることになる。またマイクロコンピユータ2
の異常時マイクロコンピユータ2は上述したよう
な信号cの制御は不能であるが、本来のバツクア
ツプ回路8の動作により、バツクアツプ回路8か
らのフエイル信号eで直ちにメインリレー4が遮
断されることになる。
Embodiment of the Invention FIG. 2 is a block diagram showing an example of the hardware configuration of an embodiment of the invention, and the same reference numerals as in FIG. 1 indicate the same parts. The difference between the configuration in FIG. 2 and the configuration in FIG. 1 is that in terms of hardware, the output signal b of the microcomputer 2 is
Instead of inputting the fail signal e to the NOR circuit 3,
It is located at the point entered in . Regarding the software of the microcomputer 2, as shown in the flowchart example in FIG. Instead of setting the output signal b to a low level after taking necessary measures after turning off the ignition switch 1, the intermittent level changes of the signal c are forcibly stopped. According to this configuration, when the ignition switch 1 is turned on, the main relay 4 is immediately turned on by the signal a, and when the ignition switch 1 is turned off, the microcomputer 2 is turned on when it is normal. After completing necessary initialization processing and the like for the actuator, the level change of the signal c is stopped. As a result, the backup circuit 8 determines that the signal c is abnormal and outputs a fail signal e. The main relay 4 is cut off by the fail signal e. Also, microcomputer 2
In the event of an abnormality, the microcomputer 2 is unable to control the signal c as described above, but due to the original operation of the backup circuit 8, the main relay 4 is immediately cut off by the fail signal e from the backup circuit 8. .

いずれにせよ、イグニツシヨンスイツチ1がオ
フすれば、必然的にフエイル信号が出力される。
In any case, when the ignition switch 1 is turned off, a fail signal is inevitably output.

なお、図示しないスロツトル開度センサや車速
センサ等の複数のアナログ出力をAD変換する
A/D変換器の入力チヤネルを切換える為にマイ
クロコンピユータ2から出力される信号はマイク
ロコンピユータ2の正常時には間欠的に変化する
から、このチヤネル初換信号を信号cとして使用
することができる。
Note that the signal output from the microcomputer 2 to switch the input channel of the A/D converter that AD converts multiple analog outputs such as a throttle opening sensor and a vehicle speed sensor (not shown) is intermittent when the microcomputer 2 is normal. Therefore, this channel initialization signal can be used as signal c.

また、従来より設けられているフエイル信号e
の信号線を利用しているので、新たなリレー制御
専用線を設ける必要がなく、ハード面でも非常に
有効である。
In addition, the conventionally provided fail signal e
Since it uses the same signal line, there is no need to provide a new dedicated line for relay control, and it is very effective in terms of hardware.

発明の効果 以上説明したように、本発明によれば、イグニ
ツシヨンスイツチ1がオフされたときはマイクロ
コンピユータ2が異常であつても確実にメインリ
レー4を遮断し自動車用電子制御装置への電源を
断つことができる。また、第1図の従来構成では
メインリレー4の制御の為に1ビツトの出力ポー
トを割当てる必要があるが、本発明ではその必要
はなくその分出力ポートを他の制御に使用するこ
とができ、出力ポート数が限定される所謂1チツ
プマイクロコンピユータを使用する場合には非常
に有効となる。
Effects of the Invention As explained above, according to the present invention, when the ignition switch 1 is turned off, even if the microcomputer 2 is abnormal, the main relay 4 is reliably shut off and the electronic control device for the automobile is not connected. The power can be cut off. In addition, in the conventional configuration shown in FIG. 1, it is necessary to allocate a 1-bit output port to control the main relay 4, but in the present invention, this is not necessary and the output port can be used for other controls. This is very effective when using a so-called one-chip microcomputer with a limited number of output ports.

また、新たなリレー制御専用線を必要としない
ので、ハード面でも非常に有効である。
Furthermore, since no new dedicated line for relay control is required, it is very effective in terms of hardware.

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

第1図は従来例の説明図、第2図は本発明の実
施例のハードウエア構成の一例を示すブロツク
図、第3図はマイクロコンピユータ2の処理の一
例を示すフローチヤートである。 1はイグニツシヨンスイツチ、2はマイクロコ
ンピユータ、3はノア回路、4はメインリレー、
5は自動車バツテリ、6は自動車用電子制御装
置、8はバツクアツプ回路、9は異常検出回路、
13は制御回路、cはマイクロコンピユータ2の
正常時は間欠的にレベル変化する特定の信号、e
はフエイル信号である。
FIG. 1 is an explanatory diagram of a conventional example, FIG. 2 is a block diagram showing an example of the hardware configuration of an embodiment of the present invention, and FIG. 3 is a flowchart showing an example of processing by the microcomputer 2. 1 is the ignition switch, 2 is the microcomputer, 3 is the Noah circuit, 4 is the main relay,
5 is a car battery, 6 is a car electronic control unit, 8 is a backup circuit, 9 is an abnormality detection circuit,
13 is a control circuit, c is a specific signal whose level changes intermittently during normal operation of the microcomputer 2, and e
is a fail signal.

Claims (1)

【特許請求の範囲】[Claims] 1 制御用マイクロコンピユータと、該マイクロ
コンピユータから出力されその正常時は間欠的に
レベル変化する特定の信号を監視することにより
マイクロコンピユータの異常を検出し異常時にそ
の旨を示すフエイル信号を発生するバツクアツプ
回路とを備えた自動車用電子制御装置に付し自動
車用バツテリから供給される電源の投入、遮断を
行なうメインリレーの制御装置において、前記バ
ツクアツプ回路はイグニツシヨンスイツチの遮断
を検知するとフエイル信号を出力し、前記イグニ
ツシヨンスイツチの遮断を示す出力信号と前記フ
エイル信号とを取り込み、前記出力信号を検知
し、且つ前記フエイル信号を検知したときメイン
リレーを遮断する制御手段を設けたことを特徴と
する自動車用電子制御装置におけるメインリレー
制御装置。
1 A backup device that detects an abnormality in the microcomputer by monitoring a control microcomputer and a specific signal that is output from the microcomputer and whose level changes intermittently during normal operation, and generates a fail signal to indicate the abnormality. In a main relay control device that is attached to an automobile electronic control device and turns on and off power supplied from an automobile battery, the backup circuit generates a fail signal when it detects that the ignition switch is cut off. A control means is provided for outputting, receiving an output signal indicating that the ignition switch is shut off, and the fail signal, detecting the output signal, and shutting off the main relay when the fail signal is detected. Main relay control device in automotive electronic control device.
JP7474184A 1984-04-13 1984-04-13 Main relay control system for electronic controlling device for car Granted JPS60219432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7474184A JPS60219432A (en) 1984-04-13 1984-04-13 Main relay control system for electronic controlling device for car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7474184A JPS60219432A (en) 1984-04-13 1984-04-13 Main relay control system for electronic controlling device for car

Publications (2)

Publication Number Publication Date
JPS60219432A JPS60219432A (en) 1985-11-02
JPH0534505B2 true JPH0534505B2 (en) 1993-05-24

Family

ID=13555966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7474184A Granted JPS60219432A (en) 1984-04-13 1984-04-13 Main relay control system for electronic controlling device for car

Country Status (1)

Country Link
JP (1) JPS60219432A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3603082A1 (en) * 1986-02-01 1987-08-06 Bosch Gmbh Robert DEVICE FOR RESETTING COMPUTING DEVICES
JPS63122803U (en) * 1987-01-30 1988-08-10

Also Published As

Publication number Publication date
JPS60219432A (en) 1985-11-02

Similar Documents

Publication Publication Date Title
JP2853511B2 (en) Failure diagnosis device for occupant protection device
US5713643A (en) Control circuit for automotive vehicle motion control systems
US4783631A (en) Apparatus for detecting disconnection of a speed sensor and eliminating oxide film from the sensor's connectors
JP3817855B2 (en) Electronic control device
JP2002174162A (en) Control device for starting of engine
JPH0534505B2 (en)
JPH03262001A (en) Controller for vehicle
JPS61271131A (en) Hard cancel circuit of constant-speed driving gear
JPS6371543A (en) Output controller for internal combustion engine of automobile
US6807477B2 (en) Electronic control system and method having monitor program monitoring function
JP3630824B2 (en) Auxiliary relay drive circuit
KR20030055866A (en) A difficulty diagnosing and putting apparatus in eps system
JP3830837B2 (en) In-vehicle electronic control circuit with sensor self-diagnosis signal proper processing function
JP3623492B2 (en) Vehicle control system
JPS6235917A (en) On-vehicle electronic controller
JPH0571961B2 (en)
JP3906000B2 (en) Fail-safe mechanism
JPH0530844A (en) System for diagnosing trouble in mobile agricultural working machine
JP3593922B2 (en) Monitoring device for actuator drive circuit
JPS62286874A (en) Electric motor driven power steering device
KR100197107B1 (en) Self-diagnostic fault preventing method of outputing actuator
KR970044679A (en) How to diagnose throttle position sensor failure
JPH01131466A (en) Electronic controller
JP2000112581A (en) Electronic controller
KR100216042B1 (en) Error diagnostic unit for secondary air system