JPH1082342A - Vehicular controller - Google Patents

Vehicular controller

Info

Publication number
JPH1082342A
JPH1082342A JP9064005A JP6400597A JPH1082342A JP H1082342 A JPH1082342 A JP H1082342A JP 9064005 A JP9064005 A JP 9064005A JP 6400597 A JP6400597 A JP 6400597A JP H1082342 A JPH1082342 A JP H1082342A
Authority
JP
Japan
Prior art keywords
storage operation
capacitor
data
time
volatile memory
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.)
Abandoned
Application number
JP9064005A
Other languages
Japanese (ja)
Inventor
Yukio Ikeda
幸男 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Unisia Automotive Ltd
Original Assignee
Unisia Jecs 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 Unisia Jecs Corp filed Critical Unisia Jecs Corp
Priority to JP9064005A priority Critical patent/JPH1082342A/en
Publication of JPH1082342A publication Critical patent/JPH1082342A/en
Abandoned legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To certainly prevent such a state that a part of control data is lost when the control data are memorized from a CPU to a non-volatile memory when an ignition switch is switched off, by prohibiting the writing of the control, data in case that the memory operating time of the memory is longer than condenser discharging time. SOLUTION: In the case that it is discriminated that control data need be memorized when an ignition switch 13 is switched off, the terminal voltage value Vx of a condenser 17 is measured, and it is discriminated whether or not this voltage value Vx is larger than a regulated value, that is, the memory operating time T1 of an E<2> PROM 16. Then, the control data are memorized in the E<2> PROM 16 only when a condition of T1 <CVx /I the capacity of the condenser 17, I: internal current in a circuit) is set up. However, in case that this condition does not set up, the control data are returned as they are without written. Hereby, such a situation can be prevented that a part of the control data in the E<2> PROM 16 is lost by a deficiency of the discharge time of the condenser 17.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば自動車用エ
ンジンの制御装置、とりわけイグニッションスイッチを
オフした後に不揮発性メモリによってエンジン制御の上
で消失させることが不都合な制御情報(制御データ)を
記憶させるようにした車両用制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a control device for an automobile engine, and in particular, stores control information (control data) which is inconvenient to be erased during engine control by a nonvolatile memory after an ignition switch is turned off. The present invention relates to a control device for a vehicle.

【0002】[0002]

【従来の技術】近年、自動車においては、エンジンの燃
料噴射や点火タイミング、あるいはABSなどをコンピ
ュータ(CPU)により行う構成が広く採用されてい
る。このような制御のためには各種の制御データが必要
となり、また、これらの制御データの少なくとも一部
は、エンジンの駆動時ないし始動時において必要とな
る。このため、エンジンの運転終了時ないしイグニッシ
ョンスイッチオフの際に、この種の制御データを不揮発
性メモリに記憶させる必要がある。
2. Description of the Related Art In recent years, in automobiles, a configuration in which fuel injection and ignition timing of an engine, ABS, and the like are performed by a computer (CPU) has been widely adopted. Such control requires various control data, and at least a part of the control data is required when the engine is driven or started. For this reason, it is necessary to store this type of control data in the non-volatile memory when the operation of the engine is completed or when the ignition switch is turned off.

【0003】そこで、例えば特開昭55−138104
号公報に開示されたエンジン制御装置が提供されてい
る。図4に基づいて概略を説明すれば、図中1は書き込
み読み出し自由なメモリ(RAM)であり、通常走行
時、制御データが格納,更新されるものである。また、
2はRAM1に対応して設けたEAROMであって、こ
のEAROM2は、不揮発性メモリで、イグニッション
スイッチ3がオフされた際に、RAM1の記憶内容のう
ち少なくとも消したくない重要データを退避させるよう
になっている。そして、RAM1には、イグニッション
スイッチ3オンの時に、EAROM2に退避された制御
データを再度戻帰させるようになっている。
For example, Japanese Patent Application Laid-Open No. 55-138104 discloses
An engine control device disclosed in Japanese Unexamined Patent Application Publication No. 2005-163,813 is provided. Referring to FIG. 4, an outline is shown, in which a reference numeral 1 designates a memory (RAM) which can be freely written and read, and which stores and updates control data during normal running. Also,
Numeral 2 denotes an EAROM provided corresponding to the RAM 1. The EAROM 2 is a non-volatile memory that saves at least important data that the user does not want to erase out of the stored contents of the RAM 1 when the ignition switch 3 is turned off. Has become. When the ignition switch 3 is turned on, the control data saved in the EAROM 2 is returned to the RAM 1 again.

【0004】このため、EAROM2には、バッテリー
4の電源がイグニッションスイッチ3によってオフされ
るとRAM1内の記憶内容を退避させるため、イグニッ
ションスイッチ3のオフ時に応動して単安定マルチバイ
ブレータ5により書き込み指令信号がEAROM2に入
力されるようになっている。すなわち、単安定マルチバ
イブレータ5には、イグニッションスイッチ3及びイン
バータ6を介してバッテリー4の電源が入力されてお
り、イグニッションスイッチ3のオフに連動して、イン
バータ7が反転出力を単安定マルチバイブレータ5に入
力し、これが書き込み指令信号を出力する。
For this reason, when the power of the battery 4 is turned off by the ignition switch 3, the contents stored in the RAM 1 are saved in the EAROM 2. A signal is input to the EAROM 2. That is, the power of the battery 4 is input to the monostable multivibrator 5 via the ignition switch 3 and the inverter 6, and the inverter 7 outputs the inverted output to the monostable multivibrator 5 in conjunction with the turning off of the ignition switch 3. , Which outputs a write command signal.

【0005】また、RAM1には、イグニッションスイ
ッチ3のオンに応動して単安定マルチバイブレータ7か
ら読み込み指令信号が入力され、EAROM2に退避し
た記憶内容がRAM1に戻帰するようになっている。す
なわち、単安定マルチバイブレータ7には、イグニッシ
ョンスイッチ3及びバッファ増幅器8を介してバッテリ
ー4電源が供給され、イグニッションスイッチ3のオン
に基づき、単安定マルチバイブレータ7が読み込み指令
信号を出力する。
A read command signal is input to the RAM 1 from the monostable multivibrator 7 in response to the turning on of the ignition switch 3, and the contents stored in the EAROM 2 are returned to the RAM 1. That is, the power of the battery 4 is supplied to the monostable multivibrator 7 via the ignition switch 3 and the buffer amplifier 8, and when the ignition switch 3 is turned on, the monostable multivibrator 7 outputs a read command signal.

【0006】前記インバータ7及びEAROM2を駆動
させるための電源は、コンデンサ9から供給されるよう
になっており、したがって、イグニッションスイッチ3
のオン時におけるバッテリー4電源がダイオード10を
介してコンデンサ9に供給され、該コンデンサ9に充電
されるようになっている。
The power for driving the inverter 7 and the EAROM 2 is supplied from a capacitor 9.
Is turned on, the power of the battery 4 is supplied to the capacitor 9 via the diode 10, and the capacitor 9 is charged.

【0007】そして、かかる構成により、所定のフロー
に基づき更新される制御データをEAROM2に退避さ
せることができるので、常にエンジン制御上必要とする
データを供給することができる。
With this configuration, control data updated based on a predetermined flow can be saved in the EAROM 2, so that data required for engine control can always be supplied.

【0008】[0008]

【発明が解決しようとする課題】ところで、前記EAR
OM2は、イグニッションスイッチ3がオフされた時点
では、コンデンサ9から供給された電源によって駆動さ
れるようになっているが、このEAROM2はその記憶
開始時点から記憶終了までに要する時間が通常のRAM
1よりも長く掛かる。したがって、前記制御データによ
っては、該制御データをEAROM2が記憶するために
必要な時間(記憶動作時間)がコンデンサ9の電圧容
量、つまり放電時間がEAROM2の記憶動作時間より
も少なくなる場合もある。この結果、EAROM2での
書き込み動作がコンデンサ9からの放電時間により制御
されてしまい、場合によっては、EAROM2に記憶さ
れた制御データの一部が欠損してしまうおそれがあると
ともに、予め記憶された全ての制御データが破棄されて
しまう可能性がある。
By the way, the EAR
When the ignition switch 3 is turned off, the OM 2 is driven by the power supplied from the capacitor 9. The EAROM 2 takes a normal RAM time from the start of storage to the end of storage.
It takes longer than one. Therefore, depending on the control data, the time required for the EAROM 2 to store the control data (storage operation time) may be shorter than the voltage capacity of the capacitor 9, that is, the discharge time is shorter than the storage operation time of the EAROM 2. As a result, the writing operation in the EAROM 2 is controlled by the discharge time from the capacitor 9, and in some cases, a part of the control data stored in the EAROM 2 may be lost. Control data may be discarded.

【0009】[0009]

【課題を解決するための手段】本発明は、前記従来の課
題に鑑みて案出されたもので、請求項1記載の発明は、
車両制御用の各種情報を記憶する揮発性メモリおよび不
揮発性メモリと、前記揮発性メモリおよび前記不揮発性
メモリにおける書き込み読み込みを制御するCPUと、
前記CPUに電力を供給する電源回路と、前記電源回路
とバッテリーとの間に接続されたイグニッションスイッ
チと、前記イグニッションスイッチとCPUとの間の電
源回路に接続されて、前記不揮発性メモリに通電するコ
ンデンサとを備え、前記CPUは、イグニッションスイ
ッチをオフした後に、前記不揮発性メモリにエンジンの
各種情報を記憶させる記憶開始から記憶完了時までの記
憶動作時間と前記コンデンサの電圧容量による不揮発性
メモリの記憶可能時間とを比較し、前記記憶可能時間が
前記記憶動作時間よりも短い場合は不揮発性メモリによ
る記憶動作を行わせない制御回路を備えたことを特徴と
している。
SUMMARY OF THE INVENTION The present invention has been devised in view of the above-mentioned conventional problems.
A volatile memory and a nonvolatile memory for storing various information for vehicle control, and a CPU for controlling writing and reading in the volatile memory and the nonvolatile memory;
A power supply circuit for supplying power to the CPU, an ignition switch connected between the power supply circuit and the battery, and a power supply circuit between the ignition switch and the CPU for supplying power to the nonvolatile memory; A capacitor, and after turning off an ignition switch, the CPU operates a storage operation time from the start of storage for storing various types of information of the engine to the nonvolatile memory to the completion of storage, and the storage capacity of the nonvolatile memory based on the voltage capacity of the capacitor. It is characterized by including a control circuit that compares the storable time with the storage time, and when the storable time is shorter than the storage operation time, does not perform the storage operation by the nonvolatile memory.

【0010】請求項2記載の発明は、前記制御回路にお
いて、現在のコンデンサの電圧容量が規定容量以上か否
かを判別し、規定容量以下であれば前記記憶可能時間が
記憶動作時間よりも短いとして、前記不揮発性メモリに
よる記憶動作を行わせないようにした。
According to a second aspect of the present invention, in the control circuit, it is determined whether or not the current voltage capacity of the capacitor is equal to or greater than a specified capacity, and if not, the storable time is shorter than the storage operation time. The storage operation by the nonvolatile memory is not performed.

【0011】請求項3記載の発明は、前記制御回路にお
いて、コンデンサの電圧容量による不揮発性メモリの記
憶可能時間と前記不揮発性メモリによる全データの記憶
動作時間とを比較し、前記記憶可能時間が全データ記憶
動作時間よりも短い場合は、全データの記憶動作を行わ
ないと共に、前記記憶可能時間と一部データ記憶動作時
間とを比較し、前記記憶可能時間が一部データ記憶動作
時間よりも長い場合のみ不揮発性メモリによる前記一部
データの記憶動作を行うようにしたことを特徴としてい
る。
According to a third aspect of the present invention, the control circuit compares a storable time of the non-volatile memory based on a voltage capacity of a capacitor with a storage operation time of all data by the non-volatile memory, and If shorter than the entire data storage operation time, the storage operation of all data is not performed, and the storable time is compared with the partial data storage operation time, and the storable time is shorter than the partial data storage operation time. The storage operation of the partial data by the nonvolatile memory is performed only when the data is long.

【0012】このような構成によれば、イグニッション
スイッチをオフした後に、CPUから不揮発性メモリに
制御データが記憶される(書き込む)際に、CPUにお
いて、前記不揮発性メモリの記憶動作時間とコンデンサ
の放電時間を比較して、不揮発性メモリの記憶動作時間
がコンデンサ放電時間よりも長い場合は、かかる制御デ
ータの記憶動作つまり書き込みを行わないようになって
いる。
According to such a configuration, when control data is stored (written) from the CPU to the non-volatile memory after the ignition switch is turned off, the storage operation time of the non-volatile memory and the capacity of the capacitor are controlled by the CPU. Comparing the discharge times, if the storage operation time of the nonvolatile memory is longer than the capacitor discharge time, the storage operation of the control data, that is, the writing of the control data is not performed.

【0013】また、請求項3記載の発明によれば、現在
のコンデンサの電圧容量値により不揮発性メモリの記憶
容量つまり書き込み容量を選択するので、車両用制御装
置が正常に作動している間に必要なデータを正確に格納
保存することができる。
According to the third aspect of the present invention, the storage capacity of the nonvolatile memory, that is, the write capacity is selected based on the current voltage capacity value of the capacitor, so that the control device for the vehicle operates normally. Necessary data can be accurately stored and saved.

【0014】[0014]

【発明の実施の形態】以下、本発明の車両用制御装置を
自動車用エンジンの制御装置に適用した一実施例を図面
に基づいて記述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which a vehicle control device according to the present invention is applied to a vehicle engine control device will be described below with reference to the drawings.

【0015】図1は、本実施例におけるエンジン制御装
置の制御系統のブロック図であって、11は電源回路1
2に電流を供給するバッテリー、13はイグニッション
スイッチ、14はCPU、15は揮発性メモリ(RA
M)、16は制御定数などのデータを記憶する不揮発性
メモリ(E2PROM)、17は平滑コンデンサであ
る。
FIG. 1 is a block diagram of a control system of an engine control device according to this embodiment.
2, a battery for supplying current to 2, an ignition switch 13, a CPU 14, and a volatile memory (RA) 15.
M) and 16 are nonvolatile memories (E 2 PROM) for storing data such as control constants, and 17 is a smoothing capacitor.

【0016】そして、前記イグニッションスイッチ13
がオンされることによりダイオード18を介してコンデ
ンサ17に充電され、電荷がコンデンサ17に一定以上
蓄圧されて規定電圧以上になった際に、置数器であるレ
ギュレータ(REG)23によってCPU14、E2
ROM16、RAM15、A/D(アナログデジタル)
変換器19及びROM20に印加されるようになってい
る。
The ignition switch 13
Is turned on, the capacitor 17 is charged via the diode 18, and when the charge is accumulated in the capacitor 17 for a certain amount or more and becomes a specified voltage or more, the regulator (REG) 23 serving as a counter is used to control the CPU 14 and E. 2 P
ROM16, RAM15, A / D (analog digital)
It is applied to the converter 19 and the ROM 20.

【0017】前記RAM15は、書き込み読み出し自由
な揮発性メモリであって、車両の通常走行時に制御デー
タが格納,更新されるものである。前記E2PROM1
6は、バッテリー11電源のオフ時に、コンデンサ17
の電圧によってRAM15の記憶内容のうち少なくとも
消したくない車両制御データを退避させるようになって
おり、RAM15にはバッテリー11電源がオンされた
際、CPU14を介してE2PROM16に退避されて
いる制御データを再度戻帰させるようになっている。ま
た、A/D変換器19は、インターフェース回路21を
介してコンデンサ17のポイント17aの端子電圧をデ
ジタル化して、この電圧情報信号をCPU14に送る素
子である。ROM20は、制御プログラムおよび固定デ
ータを格納するための不揮発性メモリである。
The RAM 15 is a volatile memory that can be freely written and read, and stores and updates control data during normal running of the vehicle. The E 2 PROM1
6 indicates a capacitor 17 when the battery 11 is turned off.
At least the vehicle control data that the user does not want to erase out of the contents stored in the RAM 15 is saved by the voltage of the RAM 15. When the battery 11 power is turned on, the RAM 15 stores the control information saved in the E 2 PROM 16 via the CPU 14. The data is returned again. The A / D converter 19 is an element that digitizes the terminal voltage at the point 17 a of the capacitor 17 via the interface circuit 21 and sends this voltage information signal to the CPU 14. The ROM 20 is a non-volatile memory for storing a control program and fixed data.

【0018】前記CPU14は、デジタル演算処理を行
い、E2PROM16とROM20の内容に基づき、そ
の結果を出力回路22に出力するようになっていると共
に、内部に前記E2PROM16に対する制御データの
記憶の要否を決定する制御回路を備えている。すなわ
ち、E2PROM16に記憶させる命令実行時に、コン
デンサ17のポイント17aの端子電圧値VXが、イン
ターフェース回路21を介してA/D変換器19によっ
て測定され、この電圧情報信号がCPU14に転送され
る。
The CPU 14 performs digital arithmetic processing and outputs the result to the output circuit 22 based on the contents of the E 2 PROM 16 and the ROM 20, and internally stores control data for the E 2 PROM 16. Is provided with a control circuit for determining whether or not it is necessary. That is, when executing an instruction to be stored in the E 2 PROM 16, the terminal voltage value V X of the point 17a of the capacitor 17 is measured by the A / D converter 19 through the interface circuit 21, the voltage information signal is transferred to the CPU14 You.

【0019】そして、前記制御回路では、イグニッショ
ンスイッチ13がオフされた際に、前記端子電圧値VX
によるE2PROM16の制御データの記憶可能時間と
2PROM16の記憶動作時間T1を比較して、T1
記憶可能時間よりも短い場合のみE2PROM16によ
る記憶動作を行うようになっている。具体的には、現在
のコンデンサ17の電圧容量が規定電圧容量以上か否か
をもって記憶可能時間が記憶動作時間よりも長いか否か
を判断している。
In the control circuit, when the ignition switch 13 is turned off, the terminal voltage V X
In accordance with comparison of the storage operation time T 1 of the storable time and E 2 PROM 16 control data E 2 PROM16, T 1 is adapted to perform a store operation by the E 2 PROM 16 only if less than the storage available time . Specifically, it is determined whether or not the storable time is longer than the storage operation time based on whether or not the current voltage capacity of the capacitor 17 is equal to or greater than the specified voltage capacity.

【0020】すなわち、図2のフローチャートで示すよ
うに、まずイグニッションスイッチ13をオフにした際
に、ステップ1では制御データを記憶する必要があるか
否かを判別する。記憶する必要がない場合は、そのまま
リターンするが、記憶が必要であると判別した場合はス
テップ2に移行する。ここでは、コンデンサ17の端子
電圧値VXを計測し、次にステップ3では、前記電圧値
Xが規定値つまりE2PROM16の記憶動作時間T1
より大きいか否かを判別する。
That is, as shown in the flowchart of FIG. 2, when the ignition switch 13 is turned off, it is determined in step 1 whether or not it is necessary to store control data. If it is not necessary to store the information, the process directly returns. If it is determined that the information needs to be stored, the process proceeds to step S2. Here, measures the terminal voltage value V X of the capacitor 17, the next step 3, the memory operation time of the voltage value V X is the specified value, i.e. E 2 PROM 16 T 1
Determine if it is greater than.

【0021】そして、T1<CVX/I(C:コンデンサ
17の容量,I:回路内部電流)の条件が成立した場合
のみステップ4に移行して、ここでE2PROM16に制
御データを格納するが、ステップ2で前記条件が成立し
ない場合、つまりCVX/IがT1よりも小さい場合に
は、制御データを書き込まずにそのままリターンする。
Only when the condition of T 1 <CV X / I (C: capacity of the capacitor 17, I: circuit internal current) is satisfied, the process proceeds to step 4, where the control data is stored in the E 2 PROM 16. Suruga, if the condition is not satisfied in the step 2, that is, if CV X / I is less than T 1 is directly returned without writing control data.

【0022】したがって、E2PROM16によるエン
ジン制御上、必要とするデータを維持できることは勿論
のこと、コンデンサ17の放電時間不足によるE2PR
OM16での制御データの一部が欠損してしまうといっ
た事態が確実に防止される。図3は本発明の第2実施例
を示し、制御回路による不揮発性メモリ16の記憶動作
を若干変更したものである。すなわち、イグニッション
スイッチ13をオフした際に、ステップ5において制御
データを記憶する必要があるか否かを判別し、記憶の必
要がない場合は、そのままリターンするが、記憶が必要
であると判別した場合は、ステップ6に移行する。この
ステップ6では、コンデンサ17の現在の端子17a電
圧値VXを計測する。次に、ステップ7に移行して、電
圧値VXが不揮発性メモリ16の全データ記憶動作時間
(書き込み動作時間)保証電圧値VX1よりも大きいか否
かを判別する。ここで、大きいと判別した場合は、その
ままステップ8において全データを書き込み格納する。
すなわち、全データ記憶動作時間T2,回路電流I,コ
ンデンサ容量C,現在のコンデンサ電圧値VXとする
と、T2<CVX/IからVX>C/T2Iの条件が成立した
ときに全データの書き込みを許可するようになってい
る。
Therefore, in the engine control by the E 2 PROM 16, not only can the required data be maintained, but also the E 2 PR due to the short discharge time of the capacitor 17.
A situation in which a part of the control data in the OM 16 is lost is reliably prevented. FIG. 3 shows a second embodiment of the present invention, in which the storage operation of the nonvolatile memory 16 by the control circuit is slightly modified. That is, when the ignition switch 13 is turned off, it is determined in step 5 whether or not the control data needs to be stored. If not, the process returns as it is, but it is determined that the storage is necessary. In this case, the process proceeds to step 6. In step 6, to measure the current terminal 17a the voltage value V X of the capacitor 17. Then control proceeds to step 7, the voltage value V X all data storage operation time in the nonvolatile memory 16 (write operation time) to determine whether greater or not than the guarantee voltage value V X1. If it is determined that the data is large, all data is written and stored in step 8 as it is.
That is, assuming that the total data storage operation time T 2 , circuit current I, capacitor capacitance C, and current capacitor voltage value V X , when the condition of T 2 <CV X / I to V X > C / T 2 I is satisfied. The writing of all data is allowed to be performed.

【0023】また、前記ステップ7でVXが小さいと判
別した場合は、ステップ9に移行する。このステップ9
では、今度は前記電圧値VXが不揮発性メモリ16の一
部データ記憶動作時間(書き込み動作時間)保証電圧値
X2よりも大きいか否かを判別する。ここで、小さいと
判別した場合は、そのままリターンしてデータの書き込
み動作は行わないが、電圧値VXが大きいと判別した場
合は、ステップ10に進み、ここでは、不揮発性メモリ
16が一部のたとえば最小データを書き込み格納する。
すなわち、一部データ書き込み動作時間T3,現在のコ
ンデンサ電圧値VXとすると、T3<CVX/IからVX>C
/T3Iの条件が成立したときに最小データの書き込み
を許可するようになっている。
Further, when it is determined that V X is small in step 7, the process proceeds to step 9. This step 9
In turn discriminates whether the voltage value V X is greater than some data storage operation time (write operation time) guarantee voltage value V X2 of the nonvolatile memory 16. Here, if it is determined that a small, but not write operation of the data and return it, if it is determined that a large voltage value V X, the process proceeds to step 10, where the non-volatile memory 16 is a part For example, the minimum data is written and stored.
That is, assuming that the partial data write operation time T 3 and the current capacitor voltage value V X , T 3 <CV X / I to V X > C
When the condition of / T 3 I is satisfied, writing of the minimum data is permitted.

【0024】したがって、この第2実施例によれば、現在
のコンデンサ17の電圧容量値VXにより不揮発性メモ
リ16の書き込み容量を選択することによって、車両用
制御装置が正常に動作している間に必要な一部のデータ
を正確に格納保存することが可能になる。
[0024] Therefore, according to the second embodiment, while by selecting the writing capacity of the nonvolatile memory 16 by the voltage capacitance value V X of the current of the capacitor 17, the vehicle control device is operating normally It is possible to accurately store and save a part of data necessary for the data.

【0025】[0025]

【発明の効果】以上の説明で明らかなように、本発明の
車両用制御装置によれば、従来のように不揮発性メモリ
により車両制御上、必要とされる制御データを格納,維
持できると共に、コンデンサの放電時間不足による不揮
発性メモリの記憶動作時における制御データの一部が欠
損するといった事態が確実に防止される。この結果、不
揮発性メモリに予め記憶された全ての制御データが破棄
されてしまうなどといったことも回避できる。
As is apparent from the above description, according to the vehicular control apparatus of the present invention, control data required for vehicle control can be stored and maintained by a non-volatile memory as in the prior art. It is possible to reliably prevent a part of the control data from being lost during the storage operation of the nonvolatile memory due to a short discharge time of the capacitor. As a result, it is possible to avoid that all control data stored in the nonvolatile memory in advance is discarded.

【0026】また、請求項3記載の発明によれば、現在
のコンデンサの電圧容量値により不揮発性メモリの書き
込み容量を選択することによって、車両用制御装置が正
常に動作している間に必要な一部のデータを正確に格納
保存することが可能になる。
According to the third aspect of the present invention, the write capacity of the nonvolatile memory is selected according to the current voltage capacity value of the capacitor, so that the write capacity required during normal operation of the vehicle control device is obtained. Some data can be stored and saved accurately.

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

【図1】本発明の実施例におけるエンジン制御系統のブ
ロック図。
FIG. 1 is a block diagram of an engine control system according to an embodiment of the present invention.

【図2】本実施例のCPUによるイグニッションスイッ
チのオフ判断時の処理を示すフローチャート。
FIG. 2 is a flowchart showing a process when the CPU according to the embodiment determines that an ignition switch is turned off.

【図3】本発明の第2実施例を示すフローチャート。FIG. 3 is a flowchart showing a second embodiment of the present invention.

【図4】従来のエンジン制御装置に供される制御系統の
ブロック図。
FIG. 4 is a block diagram of a control system provided to a conventional engine control device.

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

11…バッテリー 13…イグニッションスイッチ 14…CPU 15…揮発性メモリ(RAM) 16…不揮発性メモリ(E2PROM) 17…コンデンサ11 ... Battery 13 ... ignition switch 14 ... CPU 15 ... volatile memory (RAM) 16 ... nonvolatile memory (E 2 PROM) 17 ... capacitor

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 車両制御用の各種情報を記憶する揮発性
メモリおよび不揮発性メモリと、前記揮発性メモリおよ
び前記不揮発性メモリにおける書き込み読み込みを制御
するCPUと、前記CPUに電力を供給する電源回路
と、前記電源回路とバッテリーとの間に接続されたイグ
ニッションスイッチと、前記イグニッションスイッチと
CPUとの間の電源回路に接続されて、前記不揮発性メ
モリに通電するコンデンサとを備え、 前記CPUは、イグニッションスイッチをオフした後
に、前記不揮発性メモリに車両制御用の各種情報を記憶
させる記憶開始から記憶完了時までの記憶動作時間と前
記コンデンサの電圧容量による不揮発性メモリの記憶可
能時間とを比較し、前記記憶可能時間が前記記憶動作時
間よりも短い場合は不揮発性メモリによる記憶動作を行
わせない制御回路を備えたことを特徴とする車両用制御
装置。
1. A volatile memory and a nonvolatile memory for storing various information for controlling a vehicle, a CPU for controlling writing and reading in the volatile memory and the nonvolatile memory, and a power supply circuit for supplying power to the CPU And an ignition switch connected between the power supply circuit and a battery; and a capacitor connected to a power supply circuit between the ignition switch and a CPU to energize the nonvolatile memory. After turning off the ignition switch, a comparison is made between the storage operation time from the start of storage for storing various types of vehicle control information in the nonvolatile memory to the completion of storage and the storable time of the nonvolatile memory based on the voltage capacity of the capacitor. If the storable time is shorter than the storage operation time, a non-volatile memory is used. Vehicle control apparatus characterized by comprising a control circuit which does not perform the storage operation.
【請求項2】 前記制御回路は、現在のコンデンサの電
圧容量が規定容量以上か否かを判別し、規定容量以下で
あれば前記記憶可能時間が記憶動作時間よりも短いとし
て、前記不揮発性メモリによる記憶動作を行わせないよ
うにしたことを特徴とする請求項1記載の車両用制御装
置。
2. The non-volatile memory according to claim 1, wherein the control circuit determines whether the current voltage capacity of the capacitor is equal to or greater than a specified capacity. 2. The vehicle control device according to claim 1, wherein the storage operation is not performed.
【請求項3】 前記制御回路は、コンデンサの電圧容量
による不揮発性メモリの記憶可能時間と前記不揮発性メ
モリによる全データの記憶動作時間とを比較し、前記記
憶可能時間が全データ記憶動作時間よりも短い場合は、
全データの記憶動作を行わないと共に、前記記憶可能時
間と一部データ記憶動作時間とを比較し、前記記憶可能
時間が一部データ記憶動作時間よりも長い場合のみ不揮
発性メモリによる前記一部データの記憶動作を行うよう
にしたことを特徴とする請求項1記載の車両用制御装
置。
3. The control circuit compares a storable time of a non-volatile memory based on a voltage capacity of a capacitor with a storage operation time of all data by the non-volatile memory. Is too short,
The storage operation of all data is not performed, and the storable time is compared with the partial data storage operation time. Only when the storable time is longer than the partial data storage operation time, the non-volatile memory stores the partial data. 2. The vehicle control device according to claim 1, wherein the storage operation is performed.
JP9064005A 1996-07-18 1997-03-18 Vehicular controller Abandoned JPH1082342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9064005A JPH1082342A (en) 1996-07-18 1997-03-18 Vehicular controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-188989 1996-07-18
JP18898996 1996-07-18
JP9064005A JPH1082342A (en) 1996-07-18 1997-03-18 Vehicular controller

Publications (1)

Publication Number Publication Date
JPH1082342A true JPH1082342A (en) 1998-03-31

Family

ID=26405137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9064005A Abandoned JPH1082342A (en) 1996-07-18 1997-03-18 Vehicular controller

Country Status (1)

Country Link
JP (1) JPH1082342A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2349230A (en) * 1999-04-09 2000-10-25 Akg Acoustics Gmbh Method and apparatus for determining the remaining operating time of battery-powered appliances
JP2007171920A (en) * 2005-12-20 2007-07-05 Genta Kagi Kogyo Kofun Yugenkoshi Gate drive circuit of display device
JP2014134117A (en) * 2013-01-09 2014-07-24 Denso Corp Control device of urea water adding device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2349230A (en) * 1999-04-09 2000-10-25 Akg Acoustics Gmbh Method and apparatus for determining the remaining operating time of battery-powered appliances
GB2349230B (en) * 1999-04-09 2001-11-21 Akg Acoustics Gmbh Method for determining the remaining operating time of battery-powered appliances
JP2007171920A (en) * 2005-12-20 2007-07-05 Genta Kagi Kogyo Kofun Yugenkoshi Gate drive circuit of display device
JP2014134117A (en) * 2013-01-09 2014-07-24 Denso Corp Control device of urea water adding device

Similar Documents

Publication Publication Date Title
US7487286B2 (en) Flash memory and method for controlling the memory
JP3544610B2 (en) Memory device
JPH10133940A (en) Memory device
US5619452A (en) Semiconductor disk device with a constant data-writing time period
JP2753225B2 (en) In-vehicle control device
JPH08202626A (en) Memory controller
JPH0528039A (en) Storage device
US6182004B1 (en) Apparatus and method for controlling electric power supply in nonvolatile memory rewriting operation
US6851012B2 (en) Information processing system, information processing method and readable-by-computer recording medium
JP2000148507A (en) Method and device for, programming of controller,
JPH1082342A (en) Vehicular controller
JP2007179460A (en) Electronic control device
JPH07200418A (en) Data storage device and its control method
WO2003102961A1 (en) Electronic control apparatus
JPH1199891A (en) Re-programmable system of on-board memory
JPH07298512A (en) Charger and charging method
JPH10240633A (en) Memory system and memory card
JP2740685B2 (en) Storage device backup circuit
JP3511659B2 (en) Power supply device for in-vehicle computing device
JP2001341595A (en) Power source control device
JP4655398B2 (en) Vehicle control device with backup function
JPH06203584A (en) Non-volatile semiconductor memory
JP2000097141A (en) Engine ignition timing control device
JP2513421B2 (en) Storage device
JPH07208257A (en) Device and method for controlling engine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040330

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20040527