JP2001182607A - Vehicle controlling device - Google Patents

Vehicle controlling device

Info

Publication number
JP2001182607A
JP2001182607A JP36505099A JP36505099A JP2001182607A JP 2001182607 A JP2001182607 A JP 2001182607A JP 36505099 A JP36505099 A JP 36505099A JP 36505099 A JP36505099 A JP 36505099A JP 2001182607 A JP2001182607 A JP 2001182607A
Authority
JP
Japan
Prior art keywords
vehicle
writing
eeprom
ram
cpu
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
JP36505099A
Other languages
Japanese (ja)
Inventor
Yuko Suzuki
優子 鈴木
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 JP36505099A priority Critical patent/JP2001182607A/en
Publication of JP2001182607A publication Critical patent/JP2001182607A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle controlling device for preventing useless writing. SOLUTION: An ECU 1 is equipped with a CPU 2, ROM 3, N.RAM 4, S.RAM 5, and EEPROM 6, and controls a vehicle with voltage VIG supplied by charging the ignition switch 21 of the vehicle, to calculate a learning value by learning control at the time of the vehicle control. By the CPU 2, the writing, into the EEPROM 6 of the learning value calculated by the learning control, is prohibited when the abnormality of the vehicle is warned by the lighting of a warning lamp 19, and is performed when the lamp 19 is not lit, the vehicle is driven 10 times or more from the preceding written time, and a vehicle speed (v) becomes 40 km/h or more.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、車両を制御する車
両制御装置に関し、特に、学習制御によって算出した学
習値を、電気的にデータの書き換えが可能な不揮発性メ
モリに保存するようにした車両制御装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle control device for controlling a vehicle, and more particularly, to a vehicle in which a learning value calculated by learning control is stored in an electrically rewritable nonvolatile memory. The present invention relates to a control device.

【0002】[0002]

【従来の技術】従来、車両のエンジンや自動変速機(オ
ートマチックトランスミッション)を制御する車両制御
装置において、制御対象の経時変化や個体差などの影響
をなくすために、過去の制御結果を評価して制御パラメ
ータや制御論理を修正する、いわゆる学習制御が広く採
用されている。その学習制御により求められた制御パラ
メータなどの学習値を、電気的にデータの書き換えが可
能な不揮発性メモリ(例えば、EEPROM)に記憶保
持する装置が知られている(例えば、特開平10−25
2547号公報)。この種の装置では、バッテリ外れが
発生したと判断した場合に、不揮発性メモリから通常の
RAMへ学習値を転送して、過去に算出した学習値を継
続して使用できるようにしている。
2. Description of the Related Art Conventionally, in a vehicle control apparatus for controlling an engine or an automatic transmission (automatic transmission) of a vehicle, a past control result is evaluated in order to eliminate influences such as a temporal change of an object to be controlled and individual differences. So-called learning control, which modifies control parameters and control logic, is widely adopted. There is known a device that stores a learning value such as a control parameter obtained by the learning control in a nonvolatile memory (for example, an EEPROM) in which data can be electrically rewritten (for example, Japanese Patent Laid-Open No. 10-25 / 1998).
No. 2547). In this type of device, when it is determined that the battery has been disconnected, the learning value is transferred from the nonvolatile memory to the normal RAM so that the learning value calculated in the past can be used continuously.

【0003】また、特開平10−252547号公報に
開示された装置では、車両のイグニッションスイッチの
投入時に動作電源が供給され、車両が所定速度(40k
m/h)以上で走行している場合に、EEPROMへの
学習値(学習データ)の書き込み処理を実施している。
つまり、車両が走行している場合には、車両運転者がイ
グニッションスイッチをオフする可能性は極めて低く、
しかも、その状態がしばらく継続すると予想される。そ
のため、車両が所定速度(40km/h)以上で走行し
ている場合に、EEPROMへの学習値の書き込み処理
を開始するようになっている。
In the device disclosed in Japanese Patent Application Laid-Open No. 10-252547, operating power is supplied when an ignition switch of a vehicle is turned on, and the vehicle is driven at a predetermined speed (40 kV).
m / h) or more, a process of writing a learning value (learning data) to the EEPROM is performed.
In other words, when the vehicle is running, the possibility that the vehicle driver turns off the ignition switch is extremely low,
Moreover, that state is expected to continue for a while. Therefore, when the vehicle is running at a predetermined speed (40 km / h) or more, the process of writing the learning value to the EEPROM is started.

【0004】特開平10−252547号公報の装置に
おいて、EEPROMへの書き込み処理では、数十バイ
トの学習データを書き込むために数百ミリ秒の時間が必
要となっており、この書き込み処理中にイグニッション
スイッチがオフされて動作電源が遮断された場合、書き
込み処理が中断されてしまう。そのため、次のイグニッ
ションキーのオン(投入)時に、前回のEEPROMへ
の書き込みが正常に完了したか否かを判定して、書き込
みが未完了状態と判定したとき、EEPROMへの再度
書き込み処理を実施するようになっている。
In the apparatus disclosed in Japanese Patent Application Laid-Open No. H10-252547, a writing process to the EEPROM requires several hundred milliseconds to write tens of bytes of learning data. When the switch is turned off and the operating power is cut off, the writing process is interrupted. Therefore, when the next ignition key is turned on (turned on), it is determined whether or not the previous writing to the EEPROM has been completed normally. When it is determined that the writing has not been completed, the writing process to the EEPROM is performed again. It is supposed to.

【0005】[0005]

【発明が解決しようとする課題】ところで、通常は、車
両が所定速度(40km/h)以上で走行している場
合、イグニッションスイッチのオフ操作が行われる可能
性は殆どないが、ダイアグノーシス(車両の異常診断)
により車両の異常が検出され、警告ランプが点灯した場
合には、運転者の挙動が予測できない。具体的には、図
5に示すように、t1のタイミングで車速が所定速度
(40km/h)以上となりEEPROMの書き込み処
理が開始され、所定時間Tにおいて学習値の書き込み処
理が実施されるが、その際に警告ランプの点灯により運
転者がイグニッションスイッチをオフする可能性があ
る。それによって、動作電源が遮断され、EEPROM
への学習値の書き込み処理が中断されてしまう(t2の
タイミング)。この場合、再びイグニッションスイッチ
のオン操作によりエンジンが始動されたときに前回のE
EPROMへの書き込みが未完了状態と判定されて、t
3のタイミングで所定速度(40km/h)以上となっ
たときに、再びEEPROMの書き込み処理が開始され
る。このように、警告ランプの点灯によりEEPROM
の書き込み処理が中断された場合、EEPROMの書き
込みのための処理時間及び回数の増加を招いてしまう。
Usually, when the vehicle is running at a predetermined speed (40 km / h) or more, there is almost no possibility that the ignition switch is turned off. Abnormal diagnosis)
Therefore, when the abnormality of the vehicle is detected and the warning lamp is turned on, the behavior of the driver cannot be predicted. Specifically, as shown in FIG. 5, the vehicle speed becomes equal to or higher than a predetermined speed (40 km / h) at the timing of t1, the EEPROM writing process is started, and the learning value writing process is performed at a predetermined time T. At that time, there is a possibility that the driver turns off the ignition switch by turning on the warning lamp. As a result, the operating power is shut off, and the EEPROM
The process of writing the learning value to the memory is interrupted (timing of t2). In this case, when the engine is started again by turning on the ignition switch, the previous E
The writing to the EPROM is determined to be incomplete, and t
When the speed becomes equal to or higher than the predetermined speed (40 km / h) at timing 3, the EEPROM writing process is started again. Thus, the lighting of the warning lamp causes the EEPROM
Is interrupted, the processing time and the number of times for writing to the EEPROM are increased.

【0006】本発明は、上記問題に着目してなされたも
のであって、その目的とするところは、無駄な書き込み
を防止できる車両制御装置を提供することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problem, and an object of the present invention is to provide a vehicle control device capable of preventing useless writing.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の発明に
よれば、車両の電源スイッチの投入時に動作電源が供給
されて車両が制御され、その車両制御時の学習制御によ
って学習値が算出される。そして、所定の書き込み条件
が成立したときに、前記学習値が不揮発性メモリに書き
込まれるが、異常警告手段により車両の異常が警告され
ている時には、不揮発性メモリへの書き込みが禁止され
る(書き込みが開始されない)。その結果、無駄な書き
込みを防止することができる。
According to the first aspect of the present invention, when the power switch of the vehicle is turned on, the operating power is supplied to control the vehicle, and the learning value is calculated by the learning control during the vehicle control. Is done. When the predetermined write condition is satisfied, the learning value is written to the nonvolatile memory. However, when the abnormality warning unit warns the abnormality of the vehicle, the write to the nonvolatile memory is prohibited (write operation). Does not start). As a result, useless writing can be prevented.

【0008】つまり、不揮発性メモリへの学習値の書き
込みには所定の時間が必要であり、書き込み途中で電源
がオフされると、学習値の書き込みを再度行うこととな
る。従って、車両の異常警告時に不揮発性メモリの書き
込みを禁止すれば、従来のように、警告ランプの点灯に
よりイグニッションスイッチがオフされることで途中で
中断されてしまう無駄な書き込み処理が行われない。
That is, it takes a predetermined time to write the learning value to the nonvolatile memory, and if the power is turned off during the writing, the learning value is written again. Therefore, if writing to the nonvolatile memory is prohibited at the time of a vehicle abnormality warning, useless writing processing that is interrupted halfway by turning off an ignition switch by turning on a warning lamp as in the related art is not performed.

【0009】[0009]

【発明の実施の形態】以下、この発明を車載エンジンの
制御システムに具体化した実施の形態を図面に従って説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is embodied in a vehicle engine control system will be described below with reference to the drawings.

【0010】図1には、車両制御装置としての電子制御
装置(ECU)1の概略構成を示す。図1に示すよう
に、ECU1は、CPU2、ROM3、通常RAM(以
下、N・RAMという)4、スタンバイRAM(以下、
S・RAMという)5及びEEPROM6を備えてい
る。そして、CPU2とROM3,N・RAM4,及び
S・RAM5は、互いにバス7で接続されており、CP
U2とEEPROM6は、シリアルデータライン8で接
続されている。
FIG. 1 shows a schematic configuration of an electronic control unit (ECU) 1 as a vehicle control unit. As shown in FIG. 1, the ECU 1 includes a CPU 2, a ROM 3, a normal RAM (hereinafter, referred to as N-RAM) 4, a standby RAM (hereinafter, referred to as N RAM).
5) and an EEPROM 6. The CPU 2, the ROM 3, the N-RAM 4, and the S-RAM 5 are connected to each other via the bus 7,
U2 and EEPROM 6 are connected by serial data line 8.

【0011】CPU2は、ROM3に予め格納されたプ
ログラムにより車載エンジンを制御するための様々な処
理を実行する。また、N・RAM4は、CPU2による
制御演算結果などを一時記憶する演算作業用のRAMで
あり、バッテリ電圧による電源バックアップは施されて
いない。一方、S・RAM(バックアップRAMともい
う)5は、バッテリ電圧による電源バックアップが施さ
れており、イグニッションオフ時にも、電源が供給され
て記憶データを保持する。さらに、EEPROM6は、
電気的にデータの書き換えが可能な不揮発性メモリであ
り、電源が遮断されたとしても記憶データを保持する。
The CPU 2 executes various processes for controlling the vehicle-mounted engine according to a program stored in the ROM 3 in advance. The N.RAM 4 is a RAM for calculation work for temporarily storing a result of control calculation by the CPU 2, and is not backed up by a battery voltage. On the other hand, the S-RAM (also referred to as a backup RAM) 5 is provided with a power supply backup by a battery voltage, and is supplied with power even when the ignition is turned off and retains stored data. Further, the EEPROM 6
It is a non-volatile memory that can electrically rewrite data, and retains stored data even when power is turned off.

【0012】また更に、ECU1は、入力回路11と出
力回路12と電源回路13とを備えている。入力回路1
1には、エンジンの回転数NEを検出する回転数センサ
15や車両の走行速度(車速)vを検出する車速センサ
16などが接続されている。同入力回路11は、各セン
サにて検出された回転数NE、走行速度(車速)v等に
対応した信号をCPU2へ出力する。また、出力回路1
2には、インジェクタ17、イグナイタ18や異常警告
手段としての警告ランプ19等が接続されている。同出
力回路12は、CPU2から入力される駆動信号に応じ
てインジェクタ17、イグナイタ18、警告ランプ19
等を作動させる。
Further, the ECU 1 includes an input circuit 11, an output circuit 12, and a power supply circuit 13. Input circuit 1
1 is connected to a speed sensor 15 for detecting the speed NE of the engine, a vehicle speed sensor 16 for detecting the running speed (vehicle speed) v of the vehicle, and the like. The input circuit 11 outputs to the CPU 2 signals corresponding to the rotational speed NE, the traveling speed (vehicle speed) v, and the like detected by each sensor. Output circuit 1
2 is connected to an injector 17, an igniter 18, a warning lamp 19 as abnormality warning means, and the like. The output circuit 12 includes an injector 17, an igniter 18, and a warning lamp 19 according to a drive signal input from the CPU 2.
And so on.

【0013】電源回路13は、電源スイッチとしてのイ
グニッションスイッチ21を介してバッテリ22に接続
され、イグニッションスイッチ21のオン時にイグニッ
ション電圧VIGが供給される。これにより、電源回路1
3は、CPU2,ROM3,N・RAM4,S・RAM
5,及びEEPROM6へ動作電圧VD を出力する。ま
た、電源回路13は、イグニッションスイッチ21を介
する接続とは別に、バッテリ22に直接接続されてお
り、バッテリ電圧VBBが常に供給されている。これによ
り、電源回路13は、S・RAM5へデータ保持用のバ
ックアップ電圧VS を出力する。
The power supply circuit 13 is connected to a battery 22 via an ignition switch 21 as a power supply switch, and is supplied with an ignition voltage VIG when the ignition switch 21 is turned on. Thereby, the power supply circuit 1
3 is CPU2, ROM3, N-RAM4, S-RAM
5 and the EEPROM 6 to output the operating voltage VD. The power supply circuit 13 is directly connected to the battery 22 separately from the connection via the ignition switch 21, and is always supplied with the battery voltage VBB. As a result, the power supply circuit 13 outputs the backup voltage VS for data retention to the S-RAM 5.

【0014】このようなECU1においては、イグニッ
ションスイッチ21がオン(投入)されると、電源回路
13からCPU2,ROM3,及びN・RAM4などに
動作電圧VD が供給される。そして、CPU2が、RO
M3に格納されたプログラムに従いエンジン制御処理を
実行して、各種センサ15,16等からのセンサ信号に
基づきインジェクタ17、イグナイタ18等のアクチュ
エータを作動させることにより、周知のエンジン制御を
行うようになっている。また、CPU2は、エンジン制
御中において、各種センサ及びアクチュエータの異常や
センサ・アクチュエータとECU1を接続するワイヤハ
ーネスの異常を、ダイアグノーシス(車両の異常診断)
により検出する。そして、その異常検出時には、警告ラ
ンプ19を点灯させ、その異常を車両運転者等に警告す
るようになっている。
In such an ECU 1, when the ignition switch 21 is turned on (turned on), the operating voltage VD is supplied from the power supply circuit 13 to the CPU 2, the ROM 3, the N.RAM 4, and the like. Then, the CPU 2
The engine control process is executed in accordance with the program stored in M3, and actuators such as the injector 17 and the igniter 18 are actuated based on sensor signals from the various sensors 15 and 16 to perform known engine control. ing. During engine control, the CPU 2 diagnoses abnormality of various sensors and actuators and abnormality of a wire harness connecting the sensor / actuator to the ECU 1 by diagnosis (vehicle abnormality diagnosis).
Is detected by When the abnormality is detected, the warning lamp 19 is turned on to warn the vehicle driver or the like of the abnormality.

【0015】CPU2が実行するエンジン制御処理に
は、学習制御によるものがあり、CPU2は、学習制御
によってN・RAM4上で算出した制御パラメータなど
の学習値(数十バイト)をS・RAM5へ定期的にコピ
ーして、イグニッションスイッチ21のオフ中にも学習
値を失わないようにしている。なお、具体的な学習値と
しては、ISC弁やEGR弁等のアクチュエータの全閉
位置や空燃比制御量にかかわる学習データ等がある。ま
た、CPU2は、所定の条件が成立したときに、N・R
AM4上の学習値をEEPROM6へ書き込むようにし
ており、これにより、バッテリ22が外れてS・RAM
5の記憶データが消失しても、学習値を失わないように
している。
The engine control process executed by the CPU 2 includes learning control. The CPU 2 periodically sends a learning value (several tens of bytes) such as a control parameter calculated on the N-RAM 4 to the S-RAM 5 by the learning control. The learning value is copied so that the learning value is not lost even when the ignition switch 21 is off. Specific learning values include learning data related to the fully closed position of the actuator such as the ISC valve and the EGR valve, and the air-fuel ratio control amount. Further, when a predetermined condition is satisfied, the CPU 2 sets N · R
The learning value on the AM 4 is written to the EEPROM 6, so that the battery 22 is disconnected and the RAM
Even if the storage data of No. 5 is lost, the learning value is not lost.

【0016】ここで、本実施形態におけるEEPROM
6へのデータの書き込み条件とは、(a)前回のEEP
ROM6の書き込み時からエンジンが所定回数(具体的
には、10回)以上始動されること、(b)車速vが所
定速度(具体的には、40km/h)以上であること、であ
る。なお、(a)のエンジンの始動回数は、イグニッシ
ョンスイッチ21がオンされて、実際にエンジン回転数
が所定回転数(具体的には、500rpm)以上となった
ときにカウントされる。従って、少なくともエンジンが
10回始動される毎に、EEPROM6へ学習値が書き
込まれることとなり、書き込み回数に制限があるEEP
ROM6へのデータ書き込み回数が低減されるようにな
っている。
Here, the EEPROM in this embodiment is
The conditions for writing data to the EEP 6 are as follows:
The engine is started a predetermined number of times (specifically, 10 times) from the time of writing to the ROM 6, and (b) the vehicle speed v is equal to or higher than a predetermined speed (specifically, 40 km / h). It should be noted that the number of engine starts shown in (a) is counted when the ignition switch 21 is turned on and the engine speed actually exceeds a predetermined speed (specifically, 500 rpm). Therefore, the learning value is written into the EEPROM 6 at least every time the engine is started ten times, and the EEPROM is limited in the number of times of writing.
The number of times of writing data to the ROM 6 is reduced.

【0017】次に、本実施の形態のCPU2により実行
される処理について、図2及び図3のフローチャートを
用いて説明する。先ず、本処理の概要を説明する。本実
施の形態では、EEPROM6への学習値の書き込みを
行うために、N・RAM4に始動検出フラグF1、書込
許可フラグF2、カウンタCが設定されている。始動検
出フラグF1は、イグニッションスイッチ21が投入さ
れた後にエンジンが実際に始動されたか否かを示すフラ
グであり、イグニッションスイッチ21がオンされて、
エンジン回転数が500rpm以上となったときに「1」
がセットされる。そして、その始動検出フラグF1のセ
ットタイミングでカウンタCの値がカウントされ、同カ
ウンタCの値によりエンジンの始動回数が判定される。
また、書込許可フラグF2は、EEPROM6の書き込
みが許可されたか否かを示すフラグであり、書込許可フ
ラグF2がセット(=1)されると、EEPROM6へ
のデータの書き込みが行われるようになっている。
Next, the processing executed by the CPU 2 of the present embodiment will be described with reference to the flowcharts of FIGS. First, an outline of this processing will be described. In the present embodiment, a start detection flag F1, a write permission flag F2, and a counter C are set in the N.RAM 4 in order to write a learning value to the EEPROM 6. The start detection flag F1 is a flag indicating whether or not the engine is actually started after the ignition switch 21 is turned on.
"1" when the engine speed exceeds 500 rpm
Is set. Then, the value of the counter C is counted at the set timing of the start detection flag F1, and the number of starts of the engine is determined based on the value of the counter C.
The write permission flag F2 is a flag indicating whether or not the writing of the EEPROM 6 is permitted. When the write permission flag F2 is set (= 1), the data is written to the EEPROM 6 so as to be written. Has become.

【0018】本実施の形態のECU1においては、数十
バイトの学習値をEEPROM6へ書き込むために数百
ミリ秒の時間が必要となっており、この書き込み処理中
にイグニッションスイッチ21がオフされて動作電圧V
Dが遮断された場合、書き込み処理が中断されてしま
う。この場合、再び車両が運転されたときに、前回のE
EPROM6の書き込みが未完了状態と判定され、再度
EEPROM6へのデータの書き込み処理が実施され
る。なお、EEPROM6の書き込み状態を示すデータ
が、S・RAM5の所定の領域に設定されており、この
データに基づいてEEPROM6の書き込み状態が、未
完了状態か、或いは、完了状態か否かが判定できるよう
になっている。
In the ECU 1 of this embodiment, it takes several hundred milliseconds to write a learning value of several tens of bytes to the EEPROM 6, and during this writing process, the ignition switch 21 is turned off to operate. Voltage V
If D is interrupted, the write process will be interrupted. In this case, when the vehicle is driven again, the previous E
It is determined that the writing to the EPROM 6 is not completed, and the process of writing data to the EEPROM 6 is performed again. Note that data indicating the write state of the EEPROM 6 is set in a predetermined area of the S-RAM 5, and based on this data, it can be determined whether the write state of the EEPROM 6 is an uncompleted state or a completed state. It has become.

【0019】以下、詳細に説明する。図2に示すよう
に、CPU2は、イグニッションスイッチ21のオンに
伴い動作電圧VDが供給され動作を開始すると、先ず、
ステップ100〜ステップ120の初期化処理を行う。
The details will be described below. As shown in FIG. 2, when the operation voltage VD is supplied with the turning on of the ignition switch 21 and the operation is started, the CPU 2
The initialization processing of steps 100 to 120 is performed.

【0020】具体的には、ステップ100において、C
PU2は、バッテリ外れの履歴(つまり、バッテリ22
が外れた痕跡)があるか否かを判定する。この判定は、
例えばS・RAM5の記憶データをチェックすることに
より行われ、記憶データが正常であればバッテリ外れの
履歴が無いと判断され、逆に異常であればバッテリ外れ
の履歴があると判断される。
Specifically, in step 100, C
PU2 stores the history of battery disconnection (that is, battery 22
Is determined). This judgment is
For example, this is performed by checking the data stored in the S-RAM 5. If the stored data is normal, it is determined that there is no history of battery disconnection, and if abnormal, it is determined that there is a history of battery loss.

【0021】バッテリ外れの履歴があった場合には、S
・RAM5の記憶データ(イグニッションスイッチ21
のオフ中にS・RAM5にバックアップ保存されていた
学習値等)は不定である。そのため、CPU2は、ステ
ップ110において、その時点でEEPROM6に書き
込まれている学習値を、N・RAM4に書き込み、ステ
ップ120に移行する。一方、バッテリ外れの履歴が無
かった場合には、S・RAM5の記憶データは正常に保
持されているため、CPU2は、ステップ115におい
て、S・RAM5の記憶データをN・RAM4に書き込
み、ステップ120に移行する。
If there is a history of battery disconnection, S
・ Data stored in RAM 5 (ignition switch 21
The learning value etc. backed up and stored in the S.RAM 5 while the power is off is indefinite. Therefore, in step 110, the CPU 2 writes the learning value written in the EEPROM 6 at that time into the N · RAM 4, and proceeds to step 120. On the other hand, if there is no history of battery loss, since the data stored in the S-RAM 5 is normally held, the CPU 2 writes the data stored in the S-RAM 5 into the N-RAM 4 in step 115, and proceeds to step 120. Move to

【0022】そして、ステップ120において、CPU
2は、始動検出フラグF1に、エンジンが未だ始動され
ていないことを示す「0」をセットするとともに、書込
許可フラグF2に、EEPROM6の書き込みが許可さ
れていないことを示す「0」をセットする。
Then, in step 120, the CPU
2 sets the start detection flag F1 to "0" indicating that the engine has not been started yet, and sets the write permission flag F2 to "0" indicating that writing to the EEPROM 6 is not permitted. I do.

【0023】このようなステップ100〜120の初期
化処理を終えると、CPU2は、学習制御によるエンジ
ン制御処理の実行を開始すると共に、そのエンジン制御
処理と並行して、図2及び図3に示すステップ130〜
290の処理を定期的(例えば、16ミリ秒毎)に繰り
返し実行する。
After completing the initialization processing in steps 100 to 120, the CPU 2 starts execution of the engine control processing based on the learning control, and concurrently with the engine control processing, as shown in FIGS. Step 130-
The processing of step 290 is repeated periodically (for example, every 16 milliseconds).

【0024】詳しくは、ステップ130において、CP
U2は、N・RAM4に現在格納されている学習値とカ
ウンタCの値とを、S・RAM5に書き込む(コピーす
る)。そして、ステップ140にて、始動検出フラグF
1が「0」であるか否かを判定し、「0」であれば、ス
テップ150に移行する。CPU2は、ステップ150
において、回転数センサ15からの信号に基づき検出さ
れるエンジン回転数NEが、予め設定された所定回転数
(本実施形態では、アイドル回転数付近の値である50
0rpm )以上であるか否かを判定する。
More specifically, in step 130, the CP
U2 writes (copies) the learning value currently stored in the N-RAM 4 and the value of the counter C into the S-RAM 5. Then, at step 140, the start detection flag F
It is determined whether or not 1 is “0”. If “1”, the process proceeds to step 150. The CPU 2 determines in step 150
In the embodiment, the engine speed NE detected based on the signal from the speed sensor 15 is equal to a predetermined speed (in the present embodiment, a value near the idle speed 50
0 rpm) is determined.

【0025】ここで、エンジン回転数が500rpm 以上
であれば、イグニッションスイッチ21が投入された後
に車両が実際に運転されたと判断して、ステップ160
に進む。このステップ160において、CPU2は、カ
ウンタCの値をN・RAM4上で1インクリメントし、
更に続くステップ170にて、始動検出フラグF1に、
車両が運転されたことを示す「1」をセットし、図3に
示すステップ180に移行する。
If the engine speed is 500 rpm or more, it is determined that the vehicle has actually been operated after the ignition switch 21 is turned on, and the program proceeds to step 160.
Proceed to. In this step 160, the CPU 2 increments the value of the counter C by one on the N · RAM4,
In the following step 170, the start detection flag F1 is set to:
"1" indicating that the vehicle has been driven is set, and the routine proceeds to step 180 shown in FIG.

【0026】また、CPU2は、ステップ140にて始
動検出フラグF1が「1」と判定した場合、或いは、ス
テップ150にてエンジン回転数NEが500rpm未満
と判定した場合には、図3に示すステップ180に移行
する。
If the CPU 2 determines in step 140 that the start detection flag F1 is "1", or if it determines in step 150 that the engine speed NE is less than 500 rpm, the CPU 2 executes the steps shown in FIG. Go to 180.

【0027】このようにすれば、イグニッションスイッ
チ21が投入されて動作を開始した後、エンジン回転数
NEが500rpm 以上になるまでは、ステップ150で
否定判定され続け、エンジン回転数NEが500rpm 以
上になると、エンジンが実際に始動されたと判断され
て、ステップ160の処理によりカウンタCの値が1イ
ンクリメントされる。また、ステップ170の処理によ
り始動検出フラグF1に「1」がセットされるため、そ
の後、イグニッションスイッチ21がオン状態である間
は、ステップ140で否定判定されるため、カウンタC
の値はインクリメントされなくなる。また、カウンタC
の値は、ステップ130の処理によりS・RAM5に保
存されて、次にイグニッションスイッチ21が投入され
た場合に、ステップ115の処理によりN・RAM4へ
書き込まれる。従って、カウンタCの値は、イグニッシ
ョンスイッチ21が投入された後にエンジン回転数NE
が500rpm 以上になる、という状態が起こる毎に、1
ずつカウントアップされることとなる。
In this manner, after the ignition switch 21 is turned on and the operation is started, a negative determination is made in step 150 until the engine speed NE becomes 500 rpm or more, and the engine speed NE becomes 500 rpm or more. Then, it is determined that the engine has actually been started, and the value of the counter C is incremented by one by the processing of step 160. Further, since the start detection flag F1 is set to "1" by the processing of step 170, while the ignition switch 21 is on, a negative determination is made in step 140.
Is no longer incremented. Also, counter C
Is stored in the S-RAM 5 by the processing of step 130, and is written to the N-RAM 4 by the processing of step 115 when the ignition switch 21 is turned on next. Therefore, the value of the counter C becomes equal to the engine speed NE after the ignition switch 21 is turned on.
Every time a condition occurs where
It will be counted up by one.

【0028】フローチャートの説明に戻り、図3におけ
るステップ180は、前述したEEPROM6の書き込
み条件(a)を判定するための処理に相当し、ステップ
190は、EEPROM6の書き込み条件(b)を判定
するための処理に相当している。特開平10−2525
47号公報の装置では、これら書き込み条件(a),
(b)が成立したとき、即ち、前回のEEPROM6の
書き込み時からエンジンが10回以上始動され、かつ、
車速vが40km/hとなったとき、EEPROM6への学
習値の書き込みが開始されるが、本実施の形態では、上
記書き込み条件(a),(b)が成立したとしても、警
告ランプ19の点灯時には、EEPROM6への書き込
みを禁止するようになっている。
Returning to the description of the flowchart, step 180 in FIG. 3 corresponds to the above-described processing for determining the write condition (a) of the EEPROM 6, and step 190 is for determining the write condition (b) of the EEPROM 6. The processing is equivalent to JP-A-10-2525
In the device disclosed in Japanese Patent Publication No. 47, these writing conditions (a),
When the condition (b) is satisfied, that is, the engine is started ten times or more from the previous writing of the EEPROM 6, and
When the vehicle speed v becomes 40 km / h, the writing of the learning value to the EEPROM 6 is started. In the present embodiment, even if the write conditions (a) and (b) are satisfied, the warning lamp 19 is turned off. At the time of lighting, writing to the EEPROM 6 is prohibited.

【0029】つまり、EEPROM6への学習値の書き
込み処理は、ステップ250,260で行われるが、こ
の書き込み開始の際に、ステップ210で書込許可フラ
グF2を「1」にセットし、ステップ240で同フラグ
F2=1であることを確認することにより書き込みが実
行される。一方、警告ランプ19の点灯時には、ステッ
プ200にて、ステップ210〜230の処理が迂回さ
れ、書込許可フラグF2に「1」がセットされずステッ
プ250〜280の処理が実行されない。これにより、
EEPROM6の書き込みが禁止されることになる。
That is, the process of writing the learning value to the EEPROM 6 is performed in steps 250 and 260. At the start of writing, the write permission flag F2 is set to "1" in step 210, and in step 240 Writing is executed by confirming that the flag F2 = 1. On the other hand, when the warning lamp 19 is lit, the processing of steps 210 to 230 is bypassed in step 200, and the write permission flag F2 is not set to "1", and the processing of steps 250 to 280 is not executed. This allows
Writing to the EEPROM 6 is prohibited.

【0030】以下、図3の処理を詳述すると、カウンタ
Cの値が予め設定された所定値(本実施形態では10)
以上となるか、或いは、前回のEEPROM6の書き込
み状態が未完了状態である場合、ステップ180におい
て肯定判定されて、ステップ190に移行する。そし
て、ステップ190において、CPU2は、車速センサ
16からの信号に基づき検出される車速vが予め設定さ
れた所定速度(本実施形態では、40km/h)以上である
か否かを判定する。ここで、車速vが40km/h以上であ
れば、CPU2は、ステップ200に移行して、警告ラ
ンプ19が点灯しているか否かを判定する。そして、警
告ランプ19が点灯していないと判定した場合、CPU
2はステップ210に移行して、前述した書込許可フラ
グF2に「1」をセットし、続くステップ220におい
て、カウンタCの値を「0」に初期化する。そして、ス
テップ230において、CPU2は、EEPROM6の
書き込み状態として未完了状態を示す値をS・RAM5
上の所定の領域に設定して、ステップ240に移行す
る。
Hereinafter, the processing of FIG. 3 will be described in detail. The value of the counter C is set to a predetermined value (10 in this embodiment).
If this is the case, or if the previous write state of the EEPROM 6 is an incomplete state, an affirmative determination is made in step 180 and the process proceeds to step 190. Then, in step 190, the CPU 2 determines whether or not the vehicle speed v detected based on the signal from the vehicle speed sensor 16 is equal to or higher than a predetermined speed (40 km / h in the present embodiment). Here, if the vehicle speed v is equal to or higher than 40 km / h, the CPU 2 proceeds to step 200 and determines whether or not the warning lamp 19 is lit. If it is determined that the warning lamp 19 is not lit, the CPU
2, the process proceeds to step 210, where "1" is set to the above-mentioned write permission flag F2, and in the following step 220, the value of the counter C is initialized to "0". Then, in step 230, the CPU 2 sets the value indicating the incomplete state as the write state of the EEPROM 6 to the S · RAM 5
The upper predetermined area is set, and the process proceeds to step 240.

【0031】CPU2は、ステップ240において、書
込許可フラグF2が「1」か否かを判定し、F2=1で
あると、ステップ250でN・RAM4に現在格納され
ている学習値をEEPROM6に更新して書き込む。な
おここでは、EEPROM6に書き込むための複数の学
習データのうち、1つの学習データの書き込みが実施さ
れる。つまり、本実施の形態では、同ステップ250の
処理が所定時間毎(16ミリ秒毎)に実施されることに
より、学習データが順次EEPROM6へ書き込まれる
ようになっている。そして、CPU2は、ステップ26
0において、全ての学習データの書き込みが終了したか
否かを判定し、書き込み途中であると判定した場合は、
ステップ270,280の処理を迂回して後続する他の
処理を実行する。一方、全学習データの書き込みが終了
したと判定した場合、ステップ270に移行する。CP
U2は、ステップ270において、書込許可フラグF2
に「0」をセットした後にステップ280に移行し、E
EPROM6の書き込み状態として完了状態を示す値を
S・RAM5上の所定の領域に設定する。
In step 240, the CPU 2 determines whether or not the write permission flag F2 is "1". If F2 = 1, the learning value currently stored in the N-RAM 4 is stored in the EEPROM 6 in step 250. Update and write. In this case, writing of one piece of learning data among a plurality of pieces of learning data to be written to the EEPROM 6 is performed. That is, in the present embodiment, the learning data is sequentially written to the EEPROM 6 by performing the process of the step 250 every predetermined time (every 16 milliseconds). Then, the CPU 2 proceeds to step 26
At 0, it is determined whether or not the writing of all learning data has been completed. If it is determined that the writing is in progress,
The subsequent processes are executed by bypassing the processes of steps 270 and 280. On the other hand, when it is determined that the writing of all the learning data has been completed, the process proceeds to step 270. CP
U2 determines in step 270 that the write permission flag F2
Is set to "0", and the process proceeds to step 280, where E
A value indicating a completion state is set in a predetermined area on the S-RAM 5 as a writing state of the EPROM 6.

【0032】そして、CPU2は、後続する他の処理を
実行し、その際に、ステップ290に示すように、N・
RAM4上の学習値が学習制御により更新される。その
後、図2に示すステップ130に戻って、N・RAM4
に現在格納されている最新の学習値とカウンタCの値と
を、S・RAM5に書き込み、前述したステップ140
以降の処理を繰り返し実行する。
Then, the CPU 2 executes other subsequent processing, and at that time, as shown in step 290, N · N
The learning value on the RAM 4 is updated by learning control. Thereafter, the process returns to step 130 shown in FIG.
The latest learning value and the value of the counter C which are currently stored in the RAM are written into the S-RAM 5, and the above-described step 140 is performed.
Repeat the subsequent processing.

【0033】一方、図3のステップ180において、カ
ウンタCの値が10未満と判定し、かつ、EEPROM
6の書き込み状態が完了状態と判定した場合、或いは、
ステップ190にて車速vが40km/h未満と判定した場
合、或いは、ステップ200にて警告ランプ19が点灯
していると判定した場合、ステップ240に移行する。
この場合、書込許可フラグF2が「1」がセットされな
いため、ステップ240にて、否定判定されてステップ
250〜280の処理は迂回される。つまり、EEPR
OM6の書き込みは開始されない。
On the other hand, in step 180 of FIG. 3, it is determined that the value of the counter C is less than 10, and
When the writing state of No. 6 is determined to be a completed state, or
If it is determined in step 190 that the vehicle speed v is less than 40 km / h, or if it is determined in step 200 that the warning lamp 19 is on, the process proceeds to step 240.
In this case, since the write permission flag F2 is not set to "1", a negative determination is made in step 240, and the processing in steps 250 to 280 is bypassed. That is, EEPR
Writing of OM6 is not started.

【0034】具体的には、EEPROM6への学習値の
書き込みが完了した際には、既述したようにカウンタC
の値が「0」、書込許可フラグF2が「0」、EEPR
OM6の書き込み状態が完了状態となっている。この場
合、ステップ180の処理にて否定判定されるため、書
込許可フラグF2に「1」がセットされない。またその
後、エンジンが10回始動されてカウンタCの値が10
となったとしても、車速vが40km/h未満であれば、ス
テップ190の処理にて否定判定されるため、書込許可
フラグF2に「1」がセットされない。さらに、カウン
タCの値が10、車速vが40km/h以上となったとして
も、警告ランプ19が点灯していると、ステップ200
の処理にて否定判定されるため、書込許可フラグF2に
「1」がセットされない。このように、書込許可フラグ
F2に「1」がセットされない間は、ステップ240に
て否定判定されて、ステップ250〜280の処理が行
われることはない。つまり、EEPROM6の書き込み
処理は開始されない。
More specifically, when the writing of the learning value to the EEPROM 6 is completed, the counter C is used as described above.
Is "0", the write permission flag F2 is "0", and the EEPR
The writing state of OM6 is in the completed state. In this case, since a negative determination is made in the process of step 180, “1” is not set in the write permission flag F2. After that, the engine is started ten times and the value of the counter C becomes 10
If the vehicle speed v is less than 40 km / h, a negative determination is made in the process of step 190, so that "1" is not set in the write permission flag F2. Further, even if the value of the counter C becomes 10 and the vehicle speed v becomes 40 km / h or more, if the warning lamp 19 is lit, the step 200 is executed.
Is not determined, the write permission flag F2 is not set to "1". As described above, while “1” is not set in the write permission flag F2, a negative determination is made in step 240, and the processes in steps 250 to 280 are not performed. That is, the writing process of the EEPROM 6 is not started.

【0035】また仮に、EEPROM6の書き込み中に
おいて、イグニッションスイッチ21がオフされる、或
いは、ノイズ等の影響により動作電圧VDが遮断される
と、その書き込みが中断される。この場合、再びECU
1によりエンジンが駆動制御される際には、EEPRO
M6の書き込み状態が未完了状態のままであるので、図
3のステップ180にて肯定判定される。そして、車速
が40km/h以上となり、警告ランプ19が点灯していな
いときに、ステップ190,200の処理を経て、ステ
ップ210の処理にて書込許可フラグF2に「1」がセ
ットされる。これにより、ステップ250〜280の処
理が実施されてEEPROM6の書き込みが再度行われ
ることとなる。
If the ignition switch 21 is turned off or the operating voltage VD is cut off by the influence of noise or the like during the writing of the EEPROM 6, the writing is interrupted. In this case, again the ECU
When the engine is driven and controlled by the
Since the write state of M6 remains unfinished, an affirmative determination is made in step 180 of FIG. Then, when the vehicle speed becomes equal to or higher than 40 km / h and the warning lamp 19 is not lit, "1" is set to the write permission flag F2 in the processing of step 210 through the processing of steps 190 and 200. As a result, the processing of steps 250 to 280 is performed, and the writing to the EEPROM 6 is performed again.

【0036】このように、本実施形態のECU1では、
イグニッションスイッチ21が投入された後にエンジン
回転数NEが500rpm 以上になる、という状態が10
回起こる毎に、即ち、エンジンが実際に10回始動され
る毎に、車速vが40km/h以上であるか否かの判定が行
われる。そして、その判定で車速vが40km/h以上であ
ると判定され、かつ警告ランプ19が点灯していない場
合に、EEPROM6への学習値の書き込みが開始され
る。一方、警告ランプ19の点灯時には、EEPROM
6への学習値の書き込みを開始しない。これにより、E
EPROM6の書き込み中にイグニッションスイッチ2
1がオフされ、その書き込みが中断される可能性が低減
される。
As described above, in the ECU 1 of the present embodiment,
When the engine speed NE becomes 500 rpm or more after the ignition switch 21 is turned on,
Every time the engine is started, that is, every time the engine is actually started ten times, it is determined whether or not the vehicle speed v is 40 km / h or more. Then, when the vehicle speed v is determined to be 40 km / h or more and the warning lamp 19 is not lit, the writing of the learning value to the EEPROM 6 is started. On the other hand, when the warning lamp 19 is
Writing of the learning value to 6 is not started. This gives E
Ignition switch 2 during writing to EPROM 6
1 is turned off, and the possibility of the writing being interrupted is reduced.

【0037】つまり、本実施の形態では、前回の書き込
み時から車両が10回以上運転され、図4に示すよう
に、t1のタイミングで車速が40km/h以上になったと
しても、警告ランプ19の点灯によりEEPROM6へ
の学習値の書き込みが禁止される。従って、警告ランプ
19の点灯により、t2のタイミングで車両運転者がイ
グニッションスイッチ21をオフしたとしても、図5の
従来技術のように、EEPROM6の書き込みが中断さ
れることはない。その後、修理等により車両の異常が解
消されて警告ランプ19の非点灯状態にて、車速が40
km/h以上になると(図4のt3のタイミング)、EEP
ROM6への学習値の書き込みが開始される。
That is, in the present embodiment, even if the vehicle has been driven more than 10 times since the previous writing and the vehicle speed has become more than 40 km / h at the timing of t1, as shown in FIG. The writing of the learning value to the EEPROM 6 is prohibited by the lighting of. Therefore, even if the vehicle driver turns off the ignition switch 21 at the timing of t2 due to the lighting of the warning lamp 19, the writing of the EEPROM 6 is not interrupted unlike the prior art of FIG. Thereafter, when the abnormality of the vehicle is resolved by repair or the like and the warning lamp 19 is not lit, the vehicle speed becomes 40
When the speed exceeds km / h (timing of t3 in FIG. 4), EEP
Writing of the learning value to the ROM 6 is started.

【0038】なお、本実施の形態では、図3のステップ
200の処理が書き込み禁止手段に相当する。以上詳述
したように本実施の形態は、以下の特徴を有する。
In this embodiment, the processing in step 200 in FIG. 3 corresponds to the write-inhibiting means. As described above in detail, the present embodiment has the following features.

【0039】(1)車両の異常警告時にEEPROM6
の書き込みを禁止するようにしたので、従来のように、
警告ランプ19の点灯によりイグニッションスイッチ2
1がオフされることで途中で中断されてしまう無駄な書
き込み処理が行われない。つまり、再書き込み処理を行
うことなく、1回の書き込み処理でEEPROM6への
書き込みが実施されることとなり、EEPROM6の書
き込みのための処理時間及び回数を低減することができ
る。
(1) When the abnormality of the vehicle is warned, the EEPROM 6
Writing is prohibited, so like before,
Lighting of the warning lamp 19 causes the ignition switch 2
No useless write processing that is interrupted halfway by turning off 1 is not performed. That is, the writing to the EEPROM 6 is performed by one writing process without performing the rewriting process, and the processing time and the number of times for writing the EEPROM 6 can be reduced.

【0040】なお本発明は、上記以外に次の形態にて具
体化できる。上記実施の形態では、図3のステップ19
0で判定する車速を、40km/hに設定したが、その値は
適宜設定することができる。また、図2のステップ15
0で判定する回転数(500rpm )と、図3のステップ
180で判定する所定値(10)についても、適宜設定
可能である。さらに、書き込み条件は、車速vが所定速
度以上であることに限定するものではなく、他の条件を
書き込み条件としてもよい。
The present invention can be embodied in the following forms other than the above. In the above embodiment, step 19 in FIG.
Although the vehicle speed determined with 0 is set to 40 km / h, the value can be set as appropriate. Step 15 in FIG.
The rotation speed (500 rpm) determined at 0 and the predetermined value (10) determined at step 180 in FIG. 3 can also be set as appropriate. Further, the writing condition is not limited to the vehicle speed v being equal to or higher than the predetermined speed, and another condition may be used as the writing condition.

【0041】上記実施の形態では、電気的にデータの書
き換えが可能な不揮発性メモリとして、EEPROMを
用いたが、フラッシュメモリを用いることもできる。但
し、上記実施の形態のようにシリアルデータライン8を
介してデータが書き込まれるEEPROM6を用いた場
合、学習値の書き込みに要する時間が長くなる。つま
り、書き込み途中でイグニッションスイッチ21がオフ
される可能性は大きくなるので、EEPROM6を用い
た装置に適用した方が実用上好ましいものとなる。
In the above embodiment, the EEPROM is used as the electrically rewritable nonvolatile memory, but a flash memory may be used. However, when the EEPROM 6 in which data is written via the serial data line 8 is used as in the above embodiment, the time required to write the learning value becomes long. In other words, the possibility that the ignition switch 21 is turned off during the writing is increased, so that it is practically preferable to apply the device to the device using the EEPROM 6.

【0042】また、上記実施の形態において、異常警告
手段として警告ランプ19を用いたが、例えば、異常を
警告する警告ブザーを異常警告手段として用いてもよ
い。さらに、上記実施の形態のECU1は、車両のエン
ジンを制御するものであったが、例えば自動変速機を制
御する電子制御装置など、他の車両制御装置についても
全く同様に構成することができる。勿論、エンジン車以
外に、電気自動車を制御するための制御装置に具体化し
てもよい。
In the above embodiment, the warning lamp 19 is used as the abnormality warning means. However, for example, a warning buzzer for warning an abnormality may be used as the abnormality warning means. Further, although the ECU 1 of the above embodiment controls the engine of the vehicle, other vehicle control devices such as an electronic control device for controlling an automatic transmission can be configured in exactly the same manner. Of course, the present invention may be embodied in a control device for controlling an electric vehicle other than the engine vehicle.

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

【図1】発明の実施の形態におけるECUの概要を示す
構成図。
FIG. 1 is a configuration diagram showing an outline of an ECU according to an embodiment of the invention.

【図2】EEPROMの書き込み処理を説明するための
フローチャート。
FIG. 2 is a flowchart for explaining an EEPROM writing process.

【図3】EEPROMの書き込み処理を説明するための
フローチャート。
FIG. 3 is a flowchart illustrating a write process of an EEPROM.

【図4】EEPROMの書き込み動作を説明するための
タイミングチャート。
FIG. 4 is a timing chart for explaining a write operation of the EEPROM.

【図5】従来のEEPROMの書き込み動作を説明する
ためのタイミングチャート。
FIG. 5 is a timing chart for explaining a write operation of a conventional EEPROM.

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

1…車両制御装置としてのECU、2…書き込み禁止手
段としてのCPU、6…不揮発性メモリとしてのEEP
ROM、19…異常警告手段としての警告ランプ、21
…電源スイッチとしてのイグニッションスイッチ。
DESCRIPTION OF SYMBOLS 1 ... ECU as a vehicle control apparatus, 2 ... CPU as a write-protection means, 6 ... EEP as a non-volatile memory
ROM, 19: warning lamp as abnormality warning means, 21
... Ignition switch as power switch.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 車両の電源スイッチの投入時に動作電源
が供給されて車両を制御すると共に、前記車両を制御す
る際の学習制御によって算出した学習値を、所定の書き
込み条件が成立したときに、電気的にデータの書き換え
が可能な不揮発性メモリへ書き込むようにした車両制御
装置において、 車両の異常診断に基づいて車両の異常を警告する異常警
告手段と、 前記異常警告手段により車両の異常が警告されたとき、
前記所定の書き込み条件が成立していても前記不揮発性
メモリへの書き込みを禁止する書き込み禁止手段と、を
備えることを特徴とする車両制御装置。
An operation power is supplied when a power switch of a vehicle is turned on to control the vehicle, and a learning value calculated by learning control when controlling the vehicle is set to a predetermined writing condition when a predetermined writing condition is satisfied. In a vehicle control device configured to electrically write data into a nonvolatile memory in which data can be rewritten, abnormality warning means for warning an abnormality of the vehicle based on abnormality diagnosis of the vehicle, and abnormality of the vehicle is warned by the abnormality warning means. When done
A vehicle control device, comprising: write-inhibiting means for inhibiting writing to the nonvolatile memory even when the predetermined writing condition is satisfied.
【請求項2】 前記所定の書き込み条件が成立したとき
は、少なくとも車両が所定の速度以上で走行していると
きである請求項1に記載の車両制御装置。
2. The vehicle control device according to claim 1, wherein the predetermined writing condition is satisfied when at least the vehicle is running at a predetermined speed or higher.
JP36505099A 1999-12-22 1999-12-22 Vehicle controlling device Pending JP2001182607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36505099A JP2001182607A (en) 1999-12-22 1999-12-22 Vehicle controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36505099A JP2001182607A (en) 1999-12-22 1999-12-22 Vehicle controlling device

Publications (1)

Publication Number Publication Date
JP2001182607A true JP2001182607A (en) 2001-07-06

Family

ID=18483316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36505099A Pending JP2001182607A (en) 1999-12-22 1999-12-22 Vehicle controlling device

Country Status (1)

Country Link
JP (1) JP2001182607A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915192B2 (en) 2003-01-17 2005-07-05 Mitsubishi Denki Kabushiki Kaisha Vehicular electronic control apparatus
US7369926B2 (en) 2004-08-31 2008-05-06 Mitsubishi Denki Kabushiki Kaisha On-vehicle electronic control unit
CN102541688A (en) * 2011-12-16 2012-07-04 惠州市德赛西威汽车电子有限公司 Write protection method of vehicle-mounted external memory
JP2013060141A (en) * 2011-09-14 2013-04-04 Toyota Motor Corp Information processing apparatus, and method for recording data
US8798854B2 (en) 2011-06-03 2014-08-05 Denso Corporation Data recorder

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915192B2 (en) 2003-01-17 2005-07-05 Mitsubishi Denki Kabushiki Kaisha Vehicular electronic control apparatus
CN1300735C (en) * 2003-01-17 2007-02-14 三菱电机株式会社 Vehicle electronic control device
DE10341786B4 (en) 2003-01-17 2017-03-30 Mitsubishi Denki K.K. Electronic vehicle control device
US7369926B2 (en) 2004-08-31 2008-05-06 Mitsubishi Denki Kabushiki Kaisha On-vehicle electronic control unit
CN100425817C (en) * 2004-08-31 2008-10-15 三菱电机株式会社 On-vehicle electronic control unit
US8798854B2 (en) 2011-06-03 2014-08-05 Denso Corporation Data recorder
JP2013060141A (en) * 2011-09-14 2013-04-04 Toyota Motor Corp Information processing apparatus, and method for recording data
CN102541688A (en) * 2011-12-16 2012-07-04 惠州市德赛西威汽车电子有限公司 Write protection method of vehicle-mounted external memory
CN102541688B (en) * 2011-12-16 2018-01-12 惠州市德赛西威汽车电子股份有限公司 A kind of Write-protection method of vehicle-mounted external memory

Similar Documents

Publication Publication Date Title
US6401163B1 (en) Apparatus and method for rewriting data from volatile memory to nonvolatile memory
JP3969278B2 (en) Electronic control unit
JP4552982B2 (en) Electronic control unit
JPH11107846A (en) Vehicular controller
JP4248624B2 (en) Electronic control device for internal combustion engine.
JP4001088B2 (en) Electronic control unit
JP2002041367A (en) Vehicle controller
JP3883842B2 (en) Electronic control device for vehicle
JP2001182607A (en) Vehicle controlling device
JP2007062632A (en) Electronic control unit and storing method of data for abnormality generated time storage
JP2008196441A (en) Control device for vehicle
JPH11141391A (en) Controller for automobile
JP2005338955A (en) Electronic control device
US8341343B2 (en) Controller
JP2002334024A (en) Electronic controller
JPH0793006A (en) Electronic control unit for vehicle
JP3960212B2 (en) Electronic control unit
JP2002227662A (en) Electronic control device
JP2002195091A (en) Vehicle control device
JP2004021520A (en) Electronic controller for vehicle
JP2000257502A (en) Electronic controller for automobile
JPH09171459A (en) Electronic control equipment
JP3551855B2 (en) Vehicle control device
JPH07211087A (en) On-vehicle electronic control device
JPH10252547A (en) Vehicle control device