JP3491358B2 - Power cut-off detection device - Google Patents

Power cut-off detection device

Info

Publication number
JP3491358B2
JP3491358B2 JP33613994A JP33613994A JP3491358B2 JP 3491358 B2 JP3491358 B2 JP 3491358B2 JP 33613994 A JP33613994 A JP 33613994A JP 33613994 A JP33613994 A JP 33613994A JP 3491358 B2 JP3491358 B2 JP 3491358B2
Authority
JP
Japan
Prior art keywords
power
ecu
volatile memory
cpu
external signal
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
JP33613994A
Other languages
Japanese (ja)
Other versions
JPH08178976A (en
Inventor
孝明 馬場
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 Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP33613994A priority Critical patent/JP3491358B2/en
Publication of JPH08178976A publication Critical patent/JPH08178976A/en
Application granted granted Critical
Publication of JP3491358B2 publication Critical patent/JP3491358B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、制御装置の電源遮断検
出装置に関し、特に、車両の機器を制御する電子制御装
置の電源遮断検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply cutoff detection device for a control device, and more particularly to a power supply cutoff detection device for an electronic control device for controlling vehicle equipment.

【0002】[0002]

【従来の技術】従来、特に車両のエンジンやその他の機
器を制御する電子制御装置(ECU)において、ECU
への電源供給が停止した場合には、特に内部に停電対策
の電源を有する訳ではないため、ECU内のCPUはリ
セットされる構成となっている。従ってバッテリからE
CUへの電源ラインの接触不良等により、瞬断が発生し
た場合でも同様の現象となり、イグニッションスイッチ
(IGスイッチ)がオンされてECUが制御を開始した
場合と同様の処理が再度実施実行されるため、制御性が
悪化する場合が生じる。例えば、車載LANを通じて、
他のECUとデータのやりとりを実施しているシステム
において、その伝送ラインのエラーは所定期間のデータ
送受信異常などで検出している。その場合、あるECU
のみ電源瞬断して送受信不能となった時、他のECUは
伝送ラインエラーと判断してしまうなどの問題がある。
2. Description of the Related Art Conventionally, particularly in an electronic control unit (ECU) for controlling a vehicle engine and other equipment, an ECU
When the power supply to the CPU is stopped, the CPU in the ECU is reset because it does not have a power supply for power failure. Therefore from the battery E
The same phenomenon occurs even if a momentary interruption occurs due to poor contact of the power supply line to the CU, etc., and the same processing as when the ECU starts control by turning on the ignition switch (IG switch) is executed again. Therefore, controllability may deteriorate. For example, through in-vehicle LAN,
In a system that exchanges data with another ECU, an error in the transmission line is detected due to a data transmission / reception abnormality for a predetermined period. In that case, some ECU
Only when the power is momentarily cut off and transmission / reception becomes impossible, there is a problem that other ECUs judge that it is a transmission line error.

【0003】ここで、電源瞬断を検知したことをなんら
かの手段でECUに知らせることで、誤って伝送ライン
エラーと検出されてしまうことを防止することができ
る。このような検知手段は、主として電源ラインに設け
た電源自己保持回路や外部瞬断検知回路で瞬断を検知し
て、その信号をECUに入力させて必要なだけ電源を供
給するようにして、動作異常やデータ転送エラーを防い
でいる(例えば特開昭64-56248号公報など)。
Here, by notifying the ECU of the detection of the instantaneous power failure by some means, it is possible to prevent the transmission line error from being erroneously detected. Such a detection means detects an instantaneous interruption mainly by a power supply self-holding circuit or an external interruption detection circuit provided in a power supply line, inputs the signal to the ECU, and supplies power as necessary. It prevents abnormal operation and data transfer error (for example, Japanese Patent Laid-Open No. 64-56248).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、その僅
かな瞬断の対策のために、制御回路本体以外に監視用の
複雑な回路を設けなければならず、コスト上昇にもな
る、という問題がある。従って本発明の目的は、余分な
回路を設けることなく、制御装置に対して電源瞬断を検
出できる装置を提供することである。
However, in order to take measures against the slight instantaneous interruption, a complicated circuit for monitoring must be provided in addition to the control circuit body, which causes a problem of cost increase. . Therefore, an object of the present invention is to provide a device capable of detecting a power supply interruption to a control device without providing an extra circuit.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
め本発明の構成は、車両機器を制御するための制御量を
演算するCPUと、所定の情報が記憶され、電源供給が
停止した後も前記情報を保持し、記憶している不揮発メ
モリと、外部信号のオン状態を検出して前記CPU、前
記不揮発メモリへの電源供給を開始し、前記外部信号の
オフ状態を検出してから所定期間後に前記CPU、前記
不揮発メモリへの電源供給を停止する電源回路とを有す
る電子制御装置において、前記CPUは、前記外部信号
のオン状態を検出して前記不揮発メモリの所定領域に第
一所定値を書込むと共に、前記外部信号のオフ状態を検
出して前記不揮発メモリの所定領域の第一所定値を第二
所定値に書換える書込み手段と、電源投入時に、前記不
揮発メモリの所定領域に書き込まれている値が前記第一
所定値と一致する場合に電源の瞬断を検出する検出手段
、電源の瞬断を検出した場合に、瞬断情報を受けて処
理を切換える処理切換え手段とを有することである。ま
た関連発明の構成は、前記切り換え手段により、瞬断情
報を受けて切り換えられる処理は、瞬断があったことを
他の電子制御装置へ送信する処理であることを特徴とす
る。さらにまた、前記電子制御装置がエンジン用ECU
であり、前記外部信号が、エンジンがかかっている間オ
ンとなるイグニッションスイッチによるイグニッション
信号であることを特徴とする。
In order to solve the above-mentioned problems, the structure of the present invention has a CPU for calculating a control amount for controlling vehicle equipment, a predetermined information stored, and after power supply is stopped. Also detects the ON state of the non-volatile memory that holds and stores the information and the external signal, starts power supply to the CPU and the non-volatile memory, and
In an electronic control device having the CPU and a power supply circuit for stopping power supply to the non-volatile memory after a predetermined period after detecting the off- state, the CPU detects the on-state of the external signal and detects the non-volatile memory. Writing a first predetermined value in a predetermined area of, while detecting the off state of the external signal to rewrite the first predetermined value of the predetermined area of the nonvolatile memory to a second predetermined value, when the power is turned on, The value written in the predetermined area of the nonvolatile memory is the first
A detection unit that detects an instantaneous power failure when it matches a predetermined value, and a unit that receives instantaneous power interruption information when it detects an instantaneous power failure.
And a process switching means for switching the processing . Further, the configuration of the related invention is such that the switching means causes the instantaneous interruption.
The process that can be switched in response to the information is that there was a momentary interruption.
It is characterized in that it is a process of transmitting to another electronic control unit . Furthermore, the electronic control unit is an engine ECU.
And the external signal is an ignition signal from an ignition switch that is turned on while the engine is running.

【0006】[0006]

【作用】車両の制御装置であるECU内部のマイクロコ
ンピュータに設けた不揮発メモリの所定領域に、外部信
号がオンであることを受けて、動作中であることを示す
第一所定値をセットしておき、外部信号がオフとなって
正常終了した後はその値を第二所定値にしておく。動作
中に瞬断が発生すると異常終了となるので、不揮発メモ
リの値は第一所定値のままとなり、動作中に強制終了し
てしまったことが判定できる。従ってマイクロコンピュ
ータは通電されて立ち上がる際に、この不揮発メモリの
所定領域を参照して、前回終了が瞬断などの異常終了に
よるものか否かを判定する。瞬断であれば、その対応処
理を実施して制御が不安定になるのを防ぐ。
In the predetermined area of the non-volatile memory provided in the microcomputer inside the ECU which is the control device of the vehicle, the first predetermined value indicating that the vehicle is in operation is set in response to the external signal being on. Then, after the external signal is turned off and the processing is normally completed, the value is set to the second predetermined value. If a momentary interruption occurs during operation, the process ends abnormally, so the value of the non-volatile memory remains at the first predetermined value, and it can be determined that the process has been forcibly ended during operation. Therefore, when the microcomputer is powered on and rises, the microcomputer refers to a predetermined area of the non-volatile memory to determine whether the previous termination is due to an abnormal termination such as an instantaneous interruption. If it is a momentary interruption, the corresponding process is executed to prevent the control from becoming unstable.

【0007】この電子制御装置がエンジン用であれば、
外部信号はイグニッションスイッチを使用でき、イグニ
ッションスイッチがオン状態の間、第一所定値がセット
され、イグニッションスイッチがオフとなった時、マイ
クロコンピュータは暫く電源を駆動し続けて不揮発メモ
リの値を第二所定値に置き替える。
If this electronic control unit is for an engine,
The ignition switch can be used as an external signal, and the first predetermined value is set while the ignition switch is on, and when the ignition switch is off, the microcomputer continues to drive the power supply for a while and changes the value of the nonvolatile memory to the first value. 2 Replace with the specified value.

【0008】[0008]

【発明の効果】制御装置(ECU)の外部に瞬断検出用
の回路等を設けることなく、電源の瞬断があったことを
検知でき、制御中の場合に制御にほとんど影響なく、C
PUが処理を切り換えて、その対策をとることができ、
他のECU等とのデータのやりとりが正常に継続され
る。とりわけエンジン用ECUでは、エンジン制御の信
号のやりとりが多いため、本発明の構成によって容易に
瞬断による制御の乱れを防ぐことができる。
EFFECTS OF THE INVENTION It is possible to detect the occurrence of an instantaneous power interruption without providing a circuit for detecting an instantaneous interruption outside the control unit (ECU), and the control is hardly affected during the control.
The PU can switch processing and take measures against it.
Data exchange with other ECUs etc. continues normally. Particularly in the engine ECU, since there are many exchanges of engine control signals, the configuration of the present invention makes it possible to easily prevent control disturbance due to instantaneous interruption.

【0009】[0009]

【実施例】以下、本発明を具体的な実施例に基づいて説
明する。図1は、本発明の電源遮断検出方法を適用し
た、車両用エンジンの電子制御装置(ECU)1とその
周辺回路を示す全体構成である。ECU1には、ECU
1自身によってオンオフされるメインリレー4を介して
電源ラインから電源が入力される。またECU1が制御
対象とするトランスミッション専用のECU5やメータ
関係のECU6とも相互接続されている。そしてイグニ
ッションキー(IG)スイッチ2によって駆動されるリレー
3からのIG信号が入力されて、制御に利用される。そ
の他、図示しないがECU1が直接制御する信号線や各
種センサからの信号を入力するラインもある。
EXAMPLES The present invention will be described below based on specific examples. FIG. 1 is an overall configuration showing an electronic control unit (ECU) 1 for a vehicle engine and its peripheral circuits to which a power interruption detection method of the present invention is applied. ECU1 has an ECU
Power is input from the power supply line via the main relay 4 which is turned on and off by itself. Further, the ECU 1 is also interconnected with a transmission-dedicated ECU 5 to be controlled and a meter-related ECU 6. Then, the IG signal from the relay 3 driven by the ignition key (IG) switch 2 is input and used for control. In addition, although not shown, there are also signal lines directly controlled by the ECU 1 and lines for inputting signals from various sensors.

【0010】ECU1の内部は、IG信号がバッファで
増幅されてマイクロコンピュータ11とORゲート12
に接続されている。マイクロコンピュータ11の内部に
は不揮発メモリ16を有して、回路状態を意味する特定
値を記憶したり、ECU1内部の通信IC15を通じ
て、外部の他のECU5や6と通信データを記憶する。
またこの不揮発メモリ16はその他制御に必要な情報も
必要に応じて記憶する。そして、マイクロコンピュータ
11用の電源回路14が外部のメインリレー4からの電
源供給を受けて、安定化した電源をマイクロコンピュー
タ11に供給する。マイクロコンピュータ11は車両の
制御を実施し、通信IC15を通じて、他のECU(こ
こではトランスミッションECU5やメータECU6が
示してある)とデータをやり取りする。その他、直接、
各種センサ信号を取り入れる構成のECUであっても構
わない。
Inside the ECU 1, the IG signal is amplified by the buffer and the microcomputer 11 and the OR gate 12 are connected.
It is connected to the. The microcomputer 11 has a non-volatile memory 16 inside to store a specific value that means a circuit state, and to store communication data with other external ECUs 5 and 6 through a communication IC 15 inside the ECU 1.
The non-volatile memory 16 also stores other information necessary for control as necessary. The power supply circuit 14 for the microcomputer 11 receives power supply from the external main relay 4 and supplies stabilized power to the microcomputer 11. The microcomputer 11 controls the vehicle and exchanges data with other ECUs (here, the transmission ECU 5 and the meter ECU 6 are shown) through the communication IC 15. Other, directly,
The ECU may be configured to take in various sensor signals.

【0011】通常の動作としてまず、車両の運転者によ
ってエンジンがかけられ、IGスイッチ2がオンされる
と、IGリレー3のスイッチが閉じ、IG信号はHi(ア
クティブ)となる。IG信号がHiとなると、ECU1内
ではORゲート12を介してトランジスタ13がオンと
なり、メインリレー4が閉じてECU1に電源が供給さ
れる。電源が供給された後にECU内部のマイクロコン
ピュータ11が動作状態となり、IG信号のHiをマイク
ロコンピュータ11が認識して、マイクロコンピュータ
1はORゲート12への出力12a(電源遅延信号)を
Hiにし、トランジスタ13をオンし続ける。
As a normal operation, first, when the engine of the vehicle is started by the driver of the vehicle and the IG switch 2 is turned on, the switch of the IG relay 3 is closed and the IG signal becomes Hi (active). When the IG signal becomes Hi, the transistor 13 is turned on in the ECU 1 via the OR gate 12, the main relay 4 is closed, and power is supplied to the ECU 1. After the power is supplied, the microcomputer 11 inside the ECU is activated, the microcomputer 11 recognizes Hi of the IG signal, and the microcomputer 1 outputs the output 12a (power supply delay signal) to the OR gate 12.
Set to Hi and keep the transistor 13 on.

【0012】エンジンが停止してIGスイッチ2が切れ
ると、IG信号はLoとなるので、ORゲート12への直
接の信号は無くなるが、マイクロコンピュータ11から
の電源遅延信号12aでトランジスタ13はオンし続
け、メインリレー4も接点を閉じたままで、ECU1お
よびマイクロコンピュータ11は動作し続ける。そして
マイクロコンピュータ11が必要な処理を終えた時点で
ORゲート12への出力12aをLoとして、トランジス
タ13をオフにし、ECU1およびマイクロコンピュー
タ11への電源供給を停止する(図1(b) のチャート参
照)。
When the engine is stopped and the IG switch 2 is turned off, the IG signal becomes Lo, so there is no direct signal to the OR gate 12, but the power supply delay signal 12a from the microcomputer 11 turns on the transistor 13. Continuing, the ECU 1 and the microcomputer 11 continue to operate with the contacts of the main relay 4 kept closed. When the microcomputer 11 finishes the necessary processing, the output 12a to the OR gate 12 is set to Lo, the transistor 13 is turned off, and the power supply to the ECU 1 and the microcomputer 11 is stopped (chart in FIG. 1 (b)). reference).

【0013】ここで、IG信号が発生している間に、マ
イクロコンピュータへの電源回路14に供給するメイン
リレー4からの電源供給が、接触不良など何らかの原因
で瞬断を生じたとすると、マイクロコンピュータ11に
とっては、一旦電源が切られて再び通電された状態と同
等となり、しかもIG信号が存在しているので、最初に
IG信号を発生させてECU1を駆動開始した状態と全
く同じ状況となって、マイクロコンピュータ11は処理
プログラムの最初から実行していくことになる。従っ
て、そのままでは瞬断直前のECU1の制御状態は中断
され、リセットされることになり、車両の制御が不安定
となる可能性がある。
If the power supply from the main relay 4 which supplies the power supply circuit 14 to the microcomputer while the IG signal is generated causes a momentary interruption due to some reason such as a contact failure, the microcomputer For 11, the state is equivalent to the state where the power is once turned off and the power is turned on again, and since the IG signal exists, the situation is exactly the same as the state where the IG signal is first generated to start driving the ECU 1. The microcomputer 11 will be executed from the beginning of the processing program. Therefore, if it is left as it is, the control state of the ECU 1 immediately before the instantaneous interruption will be interrupted and reset, and the control of the vehicle may become unstable.

【0014】そのため、本発明の特徴である不揮発メモ
リ(RAMM)16を用いて、瞬断があったか否かを、処理プ
ログラムが立ち上がった際に、記憶していた値を調べて
判定し、瞬断があれば、瞬断に対する処理を実施するよ
うにしている。この不揮発メモリ(RAMM)16はマイクロ
コンピュータ11への電源が停止した状態でも、記憶し
ていたデータを保持し続け、再び電源が入ってマイクロ
コンピュータ11が動作状態になった際に、停止前のデ
ータがそのまま残っている記憶装置である。ただし、マ
イクロコンピュータ11の電源が停止した状態では、記
憶しているデータを読み出したりすることはできない。
Therefore, by using the nonvolatile memory (RAMM) 16 which is a feature of the present invention, it is determined whether or not there is a momentary interruption by checking the stored value when the processing program is started up, and the momentary interruption occurs. If there is, processing for instantaneous interruption is performed. This non-volatile memory (RAMM) 16 continues to retain the stored data even when the power to the microcomputer 11 is stopped, and when the power is turned on again and the microcomputer 11 is in the operating state, A storage device in which data remains. However, when the power supply of the microcomputer 11 is stopped, the stored data cannot be read out.

【0015】(フローチャートの説明)図2に示すフロ
ーチャートで、前述の動作を説明する。IG操作で電源
がオンとなって、ECU1のマイクロコンピュータ11
がIPL(イニシャルプログラムローディング)で作動
しだすと、ステップ1でまず電源遅延信号12aをHiと
する。そして通信ICを初め周辺回路関係をイニシャラ
イズする(ステップ2)。そして、不揮発メモリ(RAMM)
16の内容が、正常終了を意味する00か、それ以外かを
調べ(ステップ3)、不揮発メモリ16の内容が、履歴
が正常終了であったばあいは、何も処理しないで、通常
の処理(ステップ5)を続ける。履歴が電源瞬断などの
異常終了で、前の処理が中断した状態であった場合は、
RAMM16の値が正常終了の00とは異なる値(ここではA
A)となっているため、瞬断があって再スタートしたと
ステップ3で判定される。それでステップ4で、バッテ
リ瞬断情報をセットし、他のECUに対して瞬断があっ
たことを通信IC15を通じて送信する。そのため、他
の各ECUはデータの伝送ラインエラーと誤判断するこ
とがなく、データ通信が処理不能となることを防ぐ。そ
してその後、正規の処理(ステップ5)を続行する。
(Explanation of Flowchart) The above-mentioned operation will be described with reference to the flowchart shown in FIG. The power is turned on by the IG operation, and the microcomputer 11 of the ECU 1
Starts to operate by IPL (initial program loading), the power supply delay signal 12a is first set to Hi in step 1. Then, the communication IC and the peripheral circuits are initialized (step 2). And non-volatile memory (RAMM)
It is checked whether the contents of 16 are 00 which means normal termination or not (step 3). If the contents of the non-volatile memory 16 indicate that the history is normal, nothing is done and normal processing is performed. Continue (Step 5). If the previous process was interrupted due to an abnormal termination such as power interruption,
The value of RAMM16 is different from the value of 00 for normal termination (here A
Since it is A), it is judged in step 3 that there was a momentary interruption and restarted. Then, in step 4, the battery instantaneous interruption information is set, and the fact that there is an instantaneous interruption is transmitted to other ECUs through the communication IC 15. Therefore, each of the other ECUs does not erroneously determine that it is a data transmission line error, and prevents data communication from becoming unprocessable. Then, the regular process (step 5) is continued.

【0016】ステップ5からは、データを他のECUと
やりとりする等の制御に関する処理であり、この処理を
実施している間は不揮発メモリ(RAMM)16に、処理中で
あることを示すデータ値(AA)を記憶させておく。従っ
てステップ5で、RAMM16にAAをセットし、ステップ6
でデータの送受信処理やその他の必要な処理(フローチ
ャートでは省略)を実施したのち、ステップ8でIG信
号がまだオンで維持されているか否かを判定し、維持さ
れていたらステップ5からの処理を繰り返す。IG信号
がオフとなっていれば、終了処理をステップ9で実施
し、ステップ10で不揮発メモリ16に正常処理終了の
00をセットして、ステップ11で電源遅延信号12aを
Loとして電源を切り、このECU1の動作を完了する。
The process from step 5 is a process relating to control such as exchanging data with another ECU, and a data value indicating that the process is being performed in the nonvolatile memory (RAMM) 16 while this process is being performed. Remember (AA). Therefore, in step 5, set AA in RAMM16, and in step 6
After carrying out data transmission / reception processing and other necessary processing (not shown in the flowchart) in step 8, it is judged in step 8 whether or not the IG signal is still on and maintained, and if it is maintained, the processing from step 5 is executed. repeat. If the IG signal is off, the end process is performed in step 9, and in step 10, the normal process ends in the nonvolatile memory 16.
Set 00 and set the power supply delay signal 12a in step 11.
The power is turned off at Lo and the operation of the ECU 1 is completed.

【0017】このように、従来では電源瞬断による異常
発生を防ぐために、外部の回路を設けて対応していた
が、本発明では、ECU1内部の回路を工夫するだけで
対応でき、より制御性を向上させた制御システムとする
ことができる。これはまた、他の機器のECUや、その
他の制御装置の電源供給回路についても同様に実施でき
るものである。
As described above, in the past, an external circuit was provided to prevent the occurrence of an abnormality due to a momentary power failure. However, in the present invention, it is possible to deal with it by simply devising the circuit inside the ECU 1, and the controllability is improved. The control system can be improved. This can also be implemented in the ECUs of other devices and the power supply circuits of other control devices.

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

【図1】本発明を適用する車両の電子制御装置(EC
U)周辺の構成図およびその動作チャート。
FIG. 1 is a vehicle electronic control unit (EC) to which the present invention is applied.
U) A peripheral configuration diagram and its operation chart.

【図2】図1のECUのマイクロコンピュータの処理プ
ログラムのフローチャート。
FIG. 2 is a flowchart of a processing program of a microcomputer of the ECU shown in FIG.

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

1 ECU(電子制御装置) 2 イグニッションキースイッチ(IG) 3 IGリレー 4 メインリレー 5 トランスミッションECU 6 メータECU 11 マイクロコンピュータ(マイコン) 12 ORゲート(OR回路) 12a 電源遅延信号 13 トランジスタ 14 電源回路 15 通信IC 16 不揮発メモリ(RAMM) 1 ECU (electronic control unit) 2 Ignition key switch (IG) 3 IG relay 4 Main relay 5 Transmission ECU 6 meter ECU 11 Microcomputer 12 OR gate (OR circuit) 12a Power supply delay signal 13 transistors 14 power supply circuit 15 Communication IC 16 Non-volatile memory (RAMM)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H02J 1/00 308 H02J 1/00 308P (58)調査した分野(Int.Cl.7,DB名) G01R 19/00 - 19/32 B60R 16/02 650 G05B 9/02 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI H02J 1/00 308 H02J 1/00 308P (58) Fields investigated (Int.Cl. 7 , DB name) G01R 19/00-19 / 32 B60R 16/02 650 G05B 9/02

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】車両機器を制御するための制御量を演算す
るCPUと、 所定の情報が記憶され、電源供給が停止した後も前記情
報を保持し、記憶している不揮発メモリと、 外部信号のオン状態を検出して前記CPU、前記不揮発
メモリへの電源供給を開始し、前記外部信号のオフ状態
を検出してから所定期間後に前記CPU、前記不揮発メ
モリへの電源供給を停止する電源回路と、 を有する電子制御装置において、 前記CPUは、前記外部信号のオン状態を検出して前記
不揮発メモリの所定領域に第一所定値を書込むと共に、
前記外部信号のオフ状態を検出して前記不揮発メモリの
所定領域の第一所定値を第二所定値に書換える書込み手
段と、 電源投入時に、前記不揮発メモリの所定領域に書き込ま
れている値が前記第一所定値と一致する場合に電源の瞬
を検出する検出手段と 電源の瞬断を検出した場合に、瞬断情報を受けて処理を
切換える処理切換え手段 とを有することを特徴とする電
源遮断検出装置。
1. A CPU for calculating a control amount for controlling vehicle equipment, a predetermined memory, a non-volatile memory for storing and storing the information even after power supply is stopped, and an external signal. A power supply circuit that starts to supply power to the CPU and the non-volatile memory by detecting the ON state of the CPU, and stops supply of power to the CPU and the non-volatile memory after a predetermined period of time after detecting the OFF state of the external signal. In the electronic control device having :, the CPU detects an ON state of the external signal, writes a first predetermined value in a predetermined area of the nonvolatile memory, and
Writing means for detecting the off state of the external signal and rewriting the first predetermined value in the predetermined area of the non-volatile memory to a second predetermined value; and a value written in the predetermined area of the non-volatile memory when the power is turned on. Shun power when matching the first predetermined value
When a power failure is detected with the detection means that detects the power failure, the processing is performed by receiving the power failure information.
A power interruption detection device, comprising: a process switching means for switching .
【請求項2】前記切り換え手段により、瞬断情報を受け
て切り換えられる処理は、瞬断があったことを他の電子
制御装置へ送信する処理であることを特徴とする請求項
1記載の電源遮断検出装置。
2. The switching means receives the instantaneous interruption information.
The process that can be switched by
The power cutoff detecting device according to claim 1, wherein the process is a process of transmitting the power cutoff to the control device.
【請求項3】前記電子制御装置がエンジン用ECUであ
り、前記外部信号が、エンジンがかかっている間オンと
なるイグニッションスイッチによるイグニッション信号
であることを特徴とする請求項1または請求項2に記載
の電源遮断検出装置。
3. The electronic control unit is an ECU for an engine, and the external signal is an ignition signal by an ignition switch that is turned on while the engine is running. The power interruption detection device described.
JP33613994A 1994-12-23 1994-12-23 Power cut-off detection device Expired - Lifetime JP3491358B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33613994A JP3491358B2 (en) 1994-12-23 1994-12-23 Power cut-off detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33613994A JP3491358B2 (en) 1994-12-23 1994-12-23 Power cut-off detection device

Publications (2)

Publication Number Publication Date
JPH08178976A JPH08178976A (en) 1996-07-12
JP3491358B2 true JP3491358B2 (en) 2004-01-26

Family

ID=18296101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33613994A Expired - Lifetime JP3491358B2 (en) 1994-12-23 1994-12-23 Power cut-off detection device

Country Status (1)

Country Link
JP (1) JP3491358B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003047150A (en) * 2001-07-27 2003-02-14 Denso Corp Power supply circuit
JP4707411B2 (en) * 2005-02-28 2011-06-22 富士通テン株式会社 Electronic control device for vehicle
JP4876974B2 (en) * 2007-02-28 2012-02-15 トヨタ自動車株式会社 Actuator control device
JP2008291769A (en) * 2007-05-25 2008-12-04 Toyota Motor Corp Control device for actuator
JP2009158043A (en) 2007-12-27 2009-07-16 Elpida Memory Inc Semiconductor integrated circuit and unstable bit detection method of the same
JP2010159698A (en) * 2009-01-08 2010-07-22 Toyota Motor Corp Abnormality diagnostic system of electronic control device
JP5713432B2 (en) * 2010-12-27 2015-05-07 ボッシュ株式会社 Drive unit control apparatus and control method
JP2012251830A (en) * 2011-06-01 2012-12-20 Toshiba Corp Semiconductor device, ecu, and automobile with ecu
JP6814549B2 (en) * 2016-04-27 2021-01-20 日立オートモティブシステムズ株式会社 Arithmetic logic unit, authentication system, authentication method
JP2022110542A (en) * 2021-01-18 2022-07-29 株式会社カーメイト Connection failure detection method of on-vehicle electronic equipment

Also Published As

Publication number Publication date
JPH08178976A (en) 1996-07-12

Similar Documents

Publication Publication Date Title
US6678586B2 (en) Vehicle built-in electronic control apparatus
KR100545131B1 (en) Control system
JP3138709B2 (en) Self-diagnosis method and device for electronic control unit for vehicle
JP3255693B2 (en) Automotive multi-computer system
JPH11259375A (en) Device and system for control for vehicle
JP3491358B2 (en) Power cut-off detection device
US6076172A (en) Monitoting system for electronic control unit
JPH11238005A (en) Electronic controller and control system
JPH0319571B2 (en)
JPH07107564A (en) Abnormality detector for communications system for vehicle
JP3817855B2 (en) Electronic control device
KR100377608B1 (en) Data processor and method of processing data
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
US6243630B1 (en) Vehicle control system
US6256226B1 (en) Eeprom write device
JPH10177504A (en) Electronic controller
JPH10171644A (en) Electronic controller
JP4281222B2 (en) Nonvolatile memory writing device
JP3915411B2 (en) Electronic control device for vehicle
EP0785508B1 (en) Method of controlling data writing into on-board microcomputer
JPH0822422A (en) Memory device
JP4254577B2 (en) Control device
JP3960212B2 (en) Electronic control unit
JP4998816B2 (en) Electronic controller program rewriting system
JPH08153397A (en) Eeprom data rewrite controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151114

Year of fee payment: 12

EXPY Cancellation because of completion of term