JP2000259420A - Device for updating learning value for electronic controller - Google Patents

Device for updating learning value for electronic controller

Info

Publication number
JP2000259420A
JP2000259420A JP11059082A JP5908299A JP2000259420A JP 2000259420 A JP2000259420 A JP 2000259420A JP 11059082 A JP11059082 A JP 11059082A JP 5908299 A JP5908299 A JP 5908299A JP 2000259420 A JP2000259420 A JP 2000259420A
Authority
JP
Japan
Prior art keywords
learning value
control program
check code
storage means
stored
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
JP11059082A
Other languages
Japanese (ja)
Inventor
Tamae Nakamoto
珠江 中本
Masahiro Fukagawa
正浩 深川
Eiji Tamada
英司 玉田
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 JP11059082A priority Critical patent/JP2000259420A/en
Publication of JP2000259420A publication Critical patent/JP2000259420A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute update processing of learning value by selectively making only an electronic controller storing unusable learning values only a part of an unusable learning value an update object in rewriting a control program. SOLUTION: An ECU compares a control program side check code included in a rewritten control program with a learning value side check code corresponding to a control program used when a learning value is stored and checks the coincidence/noncoincidence between both of them (S120). In the case of noncoincidence, whether or not the initialization of the learning value is needed from the relation of the both check codes (S130), and if needed, the learning value is initialized (S140). The learning value side check code is updated so as to make the learning value side check code coincide with a control program side check code (S150). Consequently, only a usable learning value is selectively initialized and a usable learning value is maintained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子制御装置の制
御プログラムが書き換えられた場合に、電子制御装置の
学習値を更新する電子制御装置用の学習値更新装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a learning value updating device for an electronic control device that updates a learning value of the electronic control device when a control program of the electronic control device is rewritten.

【0002】[0002]

【従来の技術】従来から、例えば特開平10−2471
03号公報に記載されているような、電子制御装置の制
御プログラムを書き換えるメモリ書き換え装置が知られ
ている。
2. Description of the Related Art Conventionally, for example, Japanese Patent Application Laid-Open No. 10-2471 is disclosed.
A memory rewriting device that rewrites a control program of an electronic control device as described in Japanese Patent Publication No. 03-2003 is known.

【0003】このメモリ書き換え装置は、電子制御装置
の制御プログラムを書き換えた際に、電子制御装置のバ
ックアップメモリに記憶している学習値を初期化する装
置(以下、学習値更新装置という)としての機能も備
え、あるいは、電子制御装置の制御プログラムを書き換
えた際に、電子制御装置のバックアップメモリに記憶し
ている学習値をそのまま保持させる装置としての機能も
備えている。
This memory rewriting device is a device for initializing a learning value stored in a backup memory of the electronic control device when a control program of the electronic control device is rewritten (hereinafter referred to as a learning value updating device). It also has a function or a function as a device for retaining the learning value stored in the backup memory of the electronic control device as it is when the control program of the electronic control device is rewritten.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記公
報に記載のメモリ書き換え装置は、電子制御装置のバッ
クアップメモリに記憶している学習値を、単に初期化す
る学習値更新装置か、あるいは単に保持する学習値更新
装置として機能するに過ぎないため、電子制御装置の個
体差によって学習値を初期化したいケースと保持したい
ケースがあっても、それらのケースを区別して対応する
ことはできない、という欠点があった。
However, the memory rewriting device described in the above-mentioned publication is a learning value updating device that simply initializes a learning value stored in a backup memory of an electronic control unit or simply holds a learning value. Since it only functions as a learning value updating device, there is a drawback that even if there are cases where the learning value is to be initialized and there are cases where the learning value is to be retained due to individual differences in the electronic control device, those cases cannot be distinguished and handled. there were.

【0005】より具体的な事例を挙げれば、例えば、第
1の制御プログラムが第2の制御プログラムに改良さ
れ、その後、第2の制御プログラムが第3の制御プログ
ラムに改良されており、第1の制御プログラムに基づく
制御で得られた学習値は、第2,第3の制御プログラム
に基づく制御では利用不能で、第2の制御プログラムに
基づく制御で得られた学習値は、第3の制御プログラム
に基づく制御で利用可能であるという事例を想定する
と、第3の制御プログラムへの書き換えを行う場合、書
き換え前の制御プログラムが第1の制御プログラムとな
っている電子制御装置は学習値を初期化すべきである
が、書き換え前の制御プログラムが第2の制御プログラ
ムとなっている電子制御装置は学習値を保持する方がよ
い。
More specifically, for example, the first control program is improved to a second control program, and thereafter, the second control program is improved to a third control program. The learning value obtained by the control based on the second control program cannot be used in the control based on the second and third control programs, and the learning value obtained by the control based on the second control program cannot be used in the third control program. Assuming a case in which the control program can be used for control based on a program, when rewriting to the third control program, the electronic control device in which the control program before rewriting is the first control program resets the learning value to the initial value. However, the electronic control device in which the control program before rewriting is the second control program should preferably hold the learning value.

【0006】しかしながら、上記公報に記載の学習値更
新装置では、電子制御装置のバックアップメモリに記憶
している学習値を、単に初期化するか単に保持するかの
いずれかを択一的に選ばざるを得ないため、利用不能な
学習値が記憶されている電子制御装置を選び出して学習
値の初期化を図るとともに、利用可能な学習値が記憶さ
れている電子制御装置については学習値を保持させる、
といったことはできなかった。
[0006] However, in the learning value updating device described in the above publication, the learning value stored in the backup memory of the electronic control device is either selectively initialized or simply retained. Therefore, an electronic control device storing an unusable learning value is selected to initialize the learning value, and the learning value is held for an electronic control device storing an available learning value. ,
I couldn't do that.

【0007】本発明は、上記問題を解決するためになさ
れたものであり、その目的は、制御プログラムを書き換
えた際、利用不能な学習値を記憶する電子制御装置だけ
を選択的に更新対象として、学習値の更新処理を実行可
能な電子制御装置用の学習値更新装置を提供することに
ある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to selectively update only an electronic control device that stores an unusable learning value when a control program is rewritten. Another object of the present invention is to provide a learning value updating device for an electronic control device capable of executing a learning value updating process.

【0008】[0008]

【課題を解決するための手段、および発明の効果】上述
の目的を達成するため、本発明の電子制御装置用の学習
値更新装置においては、課題を解決するための手段とし
て、上記請求項1に記載した通りの構成を採用した。
Means for Solving the Problems and Effects of the Invention In order to achieve the above-mentioned object, a learning value updating device for an electronic control unit according to the present invention is characterized in that the learning value updating device as the means for solving the problems is as described in claim 1 above. The configuration as described in was adopted.

【0009】このように構成された学習値更新装置にお
いては、判断手段が、制御プログラム記憶手段の記憶す
る制御プログラムに従って制御を実行する際に学習値記
憶手段の記憶する学習値を利用可能かどうかを、学習値
側チェックコード記憶手段の記憶するチェックコードと
制御プログラム側チェックコード記憶手段の記憶するチ
ェックコードとに基づいて判断する。
In the learning value updating device thus configured, the determination means determines whether the learning value stored in the learning value storage means can be used when executing control in accordance with the control program stored in the control program storage means. Is determined based on the check code stored in the learning value side check code storage unit and the check code stored in the control program side check code storage unit.

【0010】具体的な判断方法は、チェックコードの形
式等によっても変わりうるので特に限定されないが、例
えば、学習値側チェックコード記憶手段の記憶するチェ
ックコードと制御プログラム側チェックコード記憶手段
の記憶するチェックコードが一致した場合に、学習値記
憶手段の記憶する学習値を利用可能と判断する一方、一
致しない場合に、利用不能と判断するといったものを考
え得る。あるいは、チェックコードに他の情報をも含め
てあれば、チェックコードの一部を比較して一致不一致
を判断してもよく、例えば、多数ビットあるチェックコ
ードの内の数ビットが一致するか否かの判断を行っても
よい。あるいは、学習値側チェックコード記憶手段の記
憶するチェックコードと制御プログラム側チェックコー
ド記憶手段の記憶するチェックコードのすべての組み合
わせを網羅した対応表をメモリ上に記憶しておいて、そ
の対応表を参照して利用可能か不能かを判断してもよ
い。
The specific method of determination is not particularly limited since it can vary depending on the format of the check code and the like. For example, the check code stored in the learning value side check code storage unit and the check code stored in the control program side check code storage unit are stored. When the check codes match, the learning value stored in the learning value storage means is determined to be usable, while when they do not match, it is determined to be unusable. Alternatively, if other information is also included in the check code, a part of the check code may be compared to determine a match or non-match. For example, whether or not several bits of a check code having many bits match. May be determined. Alternatively, a correspondence table covering all combinations of the check codes stored in the learning value side check code storage means and the check codes stored in the control program side check code storage means is stored in the memory, and the correspondence table is stored in the memory. Reference may be made to determine whether it is available or unavailable.

【0011】いずれにしても、学習値側チェックコード
記憶手段のチェックコードはあらかじめ定められた限ら
れたものしかないので、判断手段による判断方法を考慮
して、学習値を利用可能と判断されることになるチェッ
クコード、もしくは学習値を利用不能と判断されること
になるチェックコードを選ぶことは容易であり、そのよ
うなチェックコードを制御プログラム側チェックコード
記憶手段に記憶させておけば、上記のような方法で判断
手段が学習値を利用可能か不能かを判断することにな
る。
In any case, since the check code of the learning value side check code storage means has only a predetermined limited number, it is determined that the learning value can be used in consideration of the judgment method by the judgment means. It is easy to select a check code that will be determined to be unusable, or a check code that will be determined to be unusable. If such a check code is stored in the control code side check code storage means, The determination means determines whether the learning value can be used or not using the method described above.

【0012】こうして判断手段が学習値を利用可能か不
能かを判断すると、更新手段が、利用不能な学習値を利
用可能な学習値に更新する。一方、そのまま利用可能な
学習値については、そのまま保持されることになる。こ
の更新手段は、利用不能な学習値を、あらかじめ定めら
れた初期値に更新するものであってもよいし、利用不能
な学習値に対し、あらかじめ定められたデータ変換処理
を施して、利用可能な学習値に更新するものであっても
よい。あらかじめ定められたデータ変換処理は、所定の
数式に基づく演算であってもよいし、あらかじめ定めら
れた対応表を利用したデータ変換であってもよい。
When the determining means determines whether the learning value is available or unavailable, the updating means updates the unavailable learning value to an available learning value. On the other hand, learning values that can be used as they are are held as they are. The updating means may update the unusable learning value to a predetermined initial value, or may perform a predetermined data conversion process on the unusable learning value to enable use. May be updated to a proper learning value. The predetermined data conversion process may be an operation based on a predetermined mathematical formula, or may be a data conversion using a predetermined correspondence table.

【0013】また、更新手段は、学習値側チェックコー
ド記憶手段の記憶するチェックコードを、制御プログラ
ム記憶手段の記憶する制御プログラムに対応付けられた
チェックコードに更新する。その結果、以後は、制御プ
ログラムが新たに書き換えられない限り、判断手段が学
習値を利用不能と判断することはなくなる。
The updating means updates the check code stored in the learning value side check code storage means to a check code associated with the control program stored in the control program storage means. As a result, thereafter, unless the control program is newly rewritten, the determination means does not determine that the learning value is unavailable.

【0014】以上説明したような電子制御装置用の学習
値更新装置によれば、制御プログラムの書き換えを行っ
た際、書き換え前の制御プログラムの違いにより、学習
値を利用可能なケースと利用不能なケースの双方があっ
ても、作業者側で制御プログラムの更新履歴を意識する
ことなく、利用不能な学習値を記憶する電子制御装置だ
けを更新対象として、学習値の更新を行うことができ
る。
According to the learning value updating device for the electronic control device as described above, when the control program is rewritten, the case where the learning value can be used and the case where the learning value cannot be used due to the difference in the control program before rewriting. Even if both cases are present, the learning value can be updated only for the electronic control device that stores the unusable learning value without being aware of the update history of the control program on the worker side.

【0015】次に、請求項2に記載の学習値更新装置
は、学習値記憶手段の記憶する学習値が複数の群に分け
られて、学習値側チェックコード記憶手段が、前記複数
の群に対応する複数のチェックコードを記憶している。
そして、判断手段が、学習値側チェックコード記憶手段
の記憶する複数のチェックコードを利用して、前記複数
の群のそれぞれについて、各群に含まれる学習値を利用
可能かどうかを判断し、更新手段が、判断手段によって
利用不能と判断された学習値を含む群について、利用不
能な学習値を利用可能な学習値に更新している。
Next, in the learning value updating device according to the present invention, the learning value stored in the learning value storage means is divided into a plurality of groups, and the learning value side check code storage means is provided in the plurality of groups. A plurality of corresponding check codes are stored.
Then, using a plurality of check codes stored in the learning value side check code storage means, the determining means determines whether the learning value included in each group is available for each of the plurality of groups, and updates the group. The means updates the unavailable learning value to a usable learning value for the group including the learning value determined to be unavailable by the determining means.

【0016】そのため、複数の学習値が存在する場合
に、一部の学習値だけが利用不能なものであれば、その
利用不能な学習値を含む群だけを対象にして選択的に更
新処理を行うことができる。したがって、一部の学習値
だけが利用不能な場合に、すべての学習値を対象にして
更新処理を行うものに比べ、能率よく更新処理が行われ
ることになり、更新処理にかかる時間が短縮される。
Therefore, when there are a plurality of learning values, if only some of the learning values are unavailable, the updating process is selectively performed only on the group including the unavailable learning values. It can be carried out. Therefore, when only some of the learning values are unavailable, the updating process is performed more efficiently than when updating is performed for all the learning values, and the time required for the updating process is reduced. You.

【0017】なお、以上説明した本発明の学習値更新装
置は、電子制御装置の学習値記憶手段の記憶領域を書き
換える装置なので、電子制御装置自体が学習値更新装置
としても機能するように構成することもできるし、電子
制御装置とは別の学習値更新装置を構成しておいて、両
者をデータ通信路を介して接続し、電子制御装置の学習
値記憶手段の記憶内容を一旦学習値更新装置に転送し、
必要な更新処理を終えた後、学習値更新装置の記憶内容
を電子制御装置の学習値記憶手段に書き戻すように構成
することもできる。
Since the learning value updating device of the present invention described above rewrites the storage area of the learning value storage means of the electronic control device, the electronic control device itself is configured to also function as the learning value updating device. It is also possible to configure a learning value updating device different from the electronic control device, connect the two via a data communication path, and temporarily update the learning value storage means of the electronic control device with the learning value updating device. Transfer to the device,
After the necessary update processing is completed, the storage contents of the learning value updating device may be written back to the learning value storage means of the electronic control device.

【0018】また、電子制御装置自体が学習値更新装置
として機能するように構成するに当たっては、電子制御
装置を学習値更新装置として機能させるのに必要なプロ
グラム等を、あらかじめ電子制御装置に内蔵させておい
てもよいし、電子制御装置とは別の外部装置を必要に応
じてデータ通信路を介して接続し、学習値更新装置とし
て機能させるのに必要なプログラム等を、外部装置から
電子制御装置へと転送し、そのプログラム等を受け取っ
た電子制御装置が、学習値更新装置としての機能をも持
つようになる、といったものであってもよい。
In configuring the electronic control device itself to function as a learning value updating device, a program or the like necessary for causing the electronic control device to function as a learning value updating device is built in the electronic control device in advance. Alternatively, an external device other than the electronic control device may be connected via a data communication path as necessary, and a program or the like required to function as a learning value updating device may be electronically controlled from the external device. The electronic control device that has transferred the program to the device and received the program or the like may have a function as a learning value updating device.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施形態について
一例を挙げて説明する。まず、図1は、自動車に搭載さ
れて内燃機関型エンジンの制御を行うエンジン制御装置
1(以下、ECU1という)と、ECU1に内蔵された
エンジン制御用のプログラムやデータを書き換える際に
ECU1に接続されるメモリ書換装置2とで構成された
メモリ書換システム3の全体構成を表すブロック図であ
る。
Next, an embodiment of the present invention will be described with reference to an example. First, FIG. 1 shows an engine control device 1 (hereinafter, referred to as ECU1) mounted on an automobile for controlling an internal combustion engine, and connected to the ECU1 when rewriting an engine control program or data contained in the ECU1. 1 is a block diagram illustrating an overall configuration of a memory rewriting system 3 including a memory rewriting device 2 to be used.

【0020】図1に示すように、ECU1は、エンジン
の運転状態を検出する様々なセンサ4からの信号を入力
して波形処理する入力処理回路6と、入力処理回路6か
らのセンサ信号に基づきエンジンに対する最適制御量を
演算し、その演算結果に基づき制御信号を出力するCP
U8と、CPU8からの制御信号を受けて、エンジンに
取付けられたインジェクタ(燃料噴射弁)やイグナイタ
等のアクチュエータ10を駆動する出力回路12とを備
えている。
As shown in FIG. 1, the ECU 1 receives signals from various sensors 4 for detecting the operating state of the engine and performs waveform processing on the signals. The ECU 1 is based on the sensor signals from the input processing circuit 6. CP that calculates an optimal control amount for the engine and outputs a control signal based on the calculation result
U8 and an output circuit 12 which receives a control signal from the CPU 8 and drives an actuator 10 such as an injector (fuel injection valve) or an igniter attached to the engine.

【0021】そして、CPU8には、プログラムに従い
動作するマイクロ・プロセッサ・ユニット18(以下、
MPU18という)と、MPU18を動作させるのに必
要なプログラム及びデータを格納する不揮発性のROM
20と、MPU18の演算結果等を格納するRAM22
と、前記入力処理回路6等からの信号を受けると共に、
出力回路12に制御信号を出力するI/O24と、メモ
リ書換装置2との間でシリアルデータ通信を行うための
通信回路25とが備えられている。
The CPU 8 has a microprocessor unit 18 (hereinafter, referred to as a microprocessor unit) that operates according to a program.
A non-volatile ROM for storing programs and data necessary for operating the MPU 18
20 and a RAM 22 for storing the operation results and the like of the MPU 18
And a signal from the input processing circuit 6 or the like,
An I / O 24 for outputting a control signal to the output circuit 12 and a communication circuit 25 for performing serial data communication with the memory rewriting device 2 are provided.

【0022】ここで、CPU8のROM20及びRAM
22について説明する。まず、ROM20としては、電
気的にデータの消去及び書き込みが可能なフラッシュE
EPROM(通称、フラッシュROM又はフラッシュメ
モリ)が用いられており、ROM20の記憶領域は、デ
ータの書き換えが可能な、書き換え可能領域20aと、
データの書き換えが不能な(又はデータの書き換えが禁
止された)、書き換え不能領域20bとに分けられてい
る。
Here, the ROM 20 and the RAM of the CPU 8
22 will be described. First, as the ROM 20, a flash E which can electrically erase and write data is used.
An EPROM (commonly called flash ROM or flash memory) is used, and a storage area of the ROM 20 includes a rewritable area 20 a in which data can be rewritten,
It is divided into a non-rewritable area 20b where data cannot be rewritten (or data rewriting is prohibited).

【0023】そして、ROM20の書き換え可能領域2
0aは、エンジン制御用の制御プログラム及び制御デー
タを構成するデータを格納するためのエリアとして用い
られている。また、書き換え不能領域20bは、リセッ
ト直後に実行されるブートプログラムを構成するデータ
を格納するためのエリアとして用いられている。制御プ
ログラムには、図2に示すように、制御に当たって学習
値を利用可能かどうかを判別するためのチェックコード
(以下、制御プログラム側チェックコードという)が含
まれており、本実施形態において、ROM20の書き換
え可能領域20aは、制御プログラム側チェックコード
記憶手段としても機能している。
The rewritable area 2 of the ROM 20
0a is used as an area for storing data constituting a control program for engine control and control data. The non-rewritable area 20b is used as an area for storing data constituting a boot program executed immediately after reset. As shown in FIG. 2, the control program includes a check code (hereinafter referred to as a control program-side check code) for determining whether or not a learning value can be used in the control. The rewritable area 20a also functions as a control program side check code storage unit.

【0024】また、RAM22の記憶領域の一部は、電
源供給の停止後もデータを保持可能なバックアップ領域
となっていて、バックアップ領域には、MPU18が上
記制御プログラムを実行した際に演算し且つ電源供給の
停止後も記憶しておかなければならない学習値データ等
が格納されている。バックアップ領域は、図2に示すよ
うに、あらかじめ複数のブロック22a〜22c(本発
明でいう群)に分けられており、各ブロックに学習値デ
ータが記憶されるとともに、各ブロック毎にチェックコ
ード(以下、学習値側チェックコードという)も併せて
記憶している。この学習値側チェックコードは、各ブロ
ックの学習値を記憶させる処理を実行した時に用いられ
ていた制御プログラムに含まれていた制御プログラム側
チェックコードと同じコードであり、本実施形態におい
て、RAM22のバックアップ領域は、学習値側チェッ
クコード記憶手段としても機能している。
A part of the storage area of the RAM 22 is a backup area capable of retaining data even after the power supply is stopped. The backup area has an arithmetic operation when the MPU 18 executes the control program. The learning value data and the like that must be stored even after the power supply is stopped are stored. As shown in FIG. 2, the backup area is divided into a plurality of blocks 22a to 22c (a group in the present invention) in advance, and the learning value data is stored in each block, and a check code ( Hereinafter, the learning value side check code) is also stored. This learning value side check code is the same code as the control program side check code included in the control program used when executing the process of storing the learning value of each block. The backup area also functions as a learning value side check code storage unit.

【0025】本実施形態において、上記制御プログラム
側チェックコード、学習値側チェックコードは、いずれ
も2バイトのデータであり、上位1バイトに制御プログ
ラムのバージョン情報、下位1バイトにバックアップ領
域のブロック番号が含まれている。
In the present embodiment, each of the control program-side check code and the learning value-side check code is 2-byte data, and the upper one byte is the version information of the control program, and the lower one byte is the block number of the backup area. It is included.

【0026】さて一方、図1に示すように、メモリ書換
装置2は、ECU1側のROM20の書き換え可能領域
20aに格納された制御プログラムや制御データを書き
換えるためにECU1側のCPU8とシリアルデータ通
信を行うCPU14aと、CPU14aにより制御され
て、ECU1側のCPU8へ、ROM20(書き換え可
能領域20a)の書き換え時に必要な高電圧(本実施形
態では12V)を供給する12V電源回路14bと、E
CU1に対してROM20の書き換え指令を行うための
指令スイッチSWとを備えている。
On the other hand, as shown in FIG. 1, the memory rewriting device 2 performs serial data communication with the CPU 8 on the ECU 1 side to rewrite the control program and control data stored in the rewritable area 20a of the ROM 20 on the ECU 1 side. A CPU 14a to perform the operation, a 12V power supply circuit 14b controlled by the CPU 14a to supply a high voltage (12V in the present embodiment) necessary for rewriting the ROM 20 (rewritable area 20a) to the CPU 8 on the ECU 1 side;
A command switch SW for instructing the CU 1 to rewrite the ROM 20;

【0027】そして、ECU1とメモリ書換装置2との
接続は、接続用コネクタ26を介して互いの通信ライン
28,電源供給ライン29,及びモード判定用信号ライ
ン30が夫々接続されることにより行われる。即ち、接
続用コネクタ26が嵌合されると、通信ライン28を介
して、メモリ書換装置2側のCPU14aとECU1側
のCPU8との間におけるシリアルデータ通信が可能と
なり、また、電源供給ライン29を介して、メモリ書換
装置2側の12V電源回路14bからECU1側のCP
U8へROM20の書き換えに必要な電圧(12V)が
供給される。そして更に、モード判定用信号ライン30
は、ECU1側で抵抗器Rにより5Vにプルアップされ
ていると共に、メモリ書換装置2側で指令スイッチSW
を介して接地電位(0V)に接続されるようになってい
るため、接続用コネクタ26が嵌合されて指令スイッチ
SWがオンされると、ECU1側においてはモード判定
用信号ライン30がハイレベル(5V)からロウレベル
(0V)に変化することとなり、CPU8は、モード判
定用信号ライン30がロウレベルであれば、当該ECU
1にメモリ書換装置2が接続されて、ROM20の書き
換え指令があったものと判定する。
The connection between the ECU 1 and the memory rewriting device 2 is performed by connecting the communication line 28, the power supply line 29, and the mode determination signal line 30 to each other via the connection connector 26. . That is, when the connection connector 26 is fitted, serial data communication between the CPU 14a on the memory rewriting device 2 side and the CPU 8 on the ECU 1 becomes possible via the communication line 28, and the power supply line 29 Via the 12V power supply circuit 14b on the memory rewriting device 2 side to the CP on the ECU 1 side.
A voltage (12 V) necessary for rewriting the ROM 20 is supplied to U8. Further, the mode determination signal line 30
Is pulled up to 5 V by a resistor R on the ECU 1 side, and a command switch SW on the memory rewriting device 2 side.
When the command switch SW is turned on when the connection connector 26 is fitted and the command switch SW is turned on, the mode determination signal line 30 is set to the high level on the ECU 1 side. (5V) to the low level (0V). If the mode determination signal line 30 is at the low level, the CPU 8
1 is connected to the memory rewriting device 2, and it is determined that a command to rewrite the ROM 20 has been issued.

【0028】このように構成されたメモリ書換システム
3では、上述したように、ECU1において、ROM2
0の書き換え可能領域20aには、エンジン制御用の制
御プログラム及び制御データが格納されており、また、
ROM20の書き換え不能領域20bには、書き換え対
象とならないブートプログラムが格納されている。
In the memory rewriting system 3 configured as described above, as described above, in the ECU 1, the ROM 2
In the rewritable area 20a of 0, a control program and control data for engine control are stored.
The non-rewritable area 20b of the ROM 20 stores a boot program that is not to be rewritten.

【0029】そして、ECU1のCPU8は、車両のイ
グニッションスイッチがオンされて、ECU1内の電源
回路(図示省略)から動作電圧(5V)が供給される
と、リセット状態から動作を開始して、ROM20の書
き換え不能領域20bに格納されているブートプログラ
ムを起動する。そして、メモリ書換装置2が接続されて
いないか或いは上記指令スイッチSWがオンされていな
い通常時には、ブートプログラムからROM20の書き
換え可能領域20aに格納されている制御プログラムに
移行して、エンジンの制御を行っている。
When the ignition switch of the vehicle is turned on and the operating voltage (5 V) is supplied from a power supply circuit (not shown) in the ECU 1, the CPU 8 of the ECU 1 starts the operation from the reset state, and The boot program stored in the non-rewritable area 20b is started. When the memory rewriting device 2 is not connected or the command switch SW is not normally turned on, the boot program shifts to the control program stored in the rewritable area 20a of the ROM 20 to control the engine. Is going.

【0030】また、CPU8は、ブートプログラムを起
動した際に、メモリ書換装置2が接続されて上記指令ス
イッチSWがオンされたと判定すると、メモリ書換装置
2(CPU14a)から通信ライン28を介して送信さ
れて来るROM書換プログラムを、RAM22に転送
し、そのROM書換プログラムをRAM22上で起動す
ることにより、ROM20の書き換え可能領域20a内
に格納されているデータを、その後メモリ書換装置2か
ら送られて来る新たなデータ(つまり、新たな制御プロ
グラム及び制御データ)に書き換える。
If the CPU 8 determines that the memory rewriting device 2 is connected and the command switch SW is turned on when the boot program is started, the CPU 8 transmits the command from the memory rewriting device 2 (CPU 14a) via the communication line 28. By transferring the read ROM rewriting program to the RAM 22 and starting the ROM rewriting program on the RAM 22, the data stored in the rewritable area 20 a of the ROM 20 is transmitted from the memory rewriting device 2 and thereafter. Rewrite with new incoming data (ie, new control program and control data).

【0031】一方、メモリ書換装置2は、ECU1に接
続された後に作業者によって所定の操作が行われると、
ECU1へ、ROM書換プログラムと、エンジン制御用
の新たな制御プログラム及び制御データを構成するデー
タとを、順次送信するように構成されている。
On the other hand, when a predetermined operation is performed by an operator after the memory rewriting device 2 is connected to the ECU 1,
A ROM rewriting program and a new control program for engine control and data constituting control data are sequentially transmitted to the ECU 1.

【0032】次に、ECU1がリセット状態から動作を
開始した際に、CPU8にて実行される処理について、
図3および図4を用いて説明する。ECU1では、電源
が投入されると、CPU8がリセット状態から動作を開
始して、図3に示す処理を実行する。
Next, the processing executed by the CPU 8 when the ECU 1 starts operating from the reset state will be described.
This will be described with reference to FIGS. In the ECU 1, when the power is turned on, the CPU 8 starts the operation from the reset state and executes the processing shown in FIG.

【0033】即ち、最初に、ROM20の書き換え不能
領域20bに格納されたブートプログラムを起動して、
制御プログラム書換モードであるか否かを、モード判定
用信号ライン30がロウレベルであるか否かによって判
定する(S100)。ここで、制御プログラム書換モー
ドであると判断した場合には(S100:YES)、制
御プログラム書換処理を実行する(S110)。この制
御プログラム書換処理は、詳しくは図4に示すような処
理となる。
That is, first, the boot program stored in the non-rewritable area 20b of the ROM 20 is started,
It is determined whether the mode is the control program rewriting mode based on whether the mode determination signal line 30 is at the low level (S100). If it is determined that the mode is the control program rewriting mode (S100: YES), a control program rewriting process is executed (S110). This control program rewriting process is a process as shown in FIG. 4 in detail.

【0034】制御プログラム書換処理を開始すると、C
PU8は、メモリ書換装置2からのシリアルデータを受
信するまで待機する(S200:NO)。シリアルデー
タを受信したら(S200:YES)、ここで受信した
シリアルデータは、ROM書換プログラムを構成するデ
ータなので、RAM22のバックアップ領域の後にある
領域(ワーク領域)に格納する(S210)。そして、
RAM22のバックアップ領域の直後のアドレスにジャ
ンプして(S220)、メモリ書換装置2からRAM2
2に転送されたROM書換プログラムを実行する。
When the control program rewriting process is started, C
The PU 8 waits until receiving serial data from the memory rewriting device 2 (S200: NO). When the serial data is received (S200: YES), the received serial data is data constituting the ROM rewriting program, and is stored in an area (work area) behind the backup area of the RAM 22 (S210). And
A jump is made to the address immediately after the backup area of the RAM 22 (S220), and the RAM 2
2 to execute the ROM rewriting program transferred.

【0035】ROM書換プログラムを開始すると、ま
ず、メモリ書換装置2からのシリアルデータを受信する
まで待機する(S230:NO)。シリアルデータを受
信したら(S230:YES)、ここで受信したシリア
ルデータは、新たな制御プログラム及び制御データを構
成するデータなので、ROM20の書き換え可能領域2
0aを消去して、消去した領域に受信した新たな制御プ
ログラム及び制御データを書き込む(S240)。
When the ROM rewriting program is started, the process first waits until serial data is received from the memory rewriting device 2 (S230: NO). When the serial data is received (S230: YES), the received serial data is data constituting a new control program and control data.
0a is erased, and the received new control program and control data are written in the erased area (S240).

【0036】こうして上記S240の処理を終えると、
図3に示したS110の処理を終えたことになり、その
結果、全ての処理を終了することになる。さて一方、上
記S100の処理において、制御プログラム書換モード
ではないと判断すると(S100:NO)、制御プログ
ラム側と学習値側とでチェックコードが不一致になって
いないかどうかをチェックする(S120)。
When the process of S240 is completed,
This means that the process of S110 shown in FIG. 3 has been completed, and as a result, all processes have been completed. On the other hand, if it is determined in the process of S100 that the mode is not the control program rewriting mode (S100: NO), it is checked whether or not the check codes on the control program side and the learning value side do not match (S120).

【0037】上述の通り、制御プログラムには、制御プ
ログラム側チェックコードが含まれているが、この制御
プログラムに基づく制御においてRAM22のバックア
ップ領域に設定された各ブロック22a〜22cに学習
値を記憶させた場合には、各ブロック22a〜22cに
対応付けられた記憶領域に、制御プログラム側チェック
コードを記憶させて学習値側チェックコードとするの
で、通常動作時は、制御プログラム側チェックコードと
学習値側チェックコードは必ず一致する状態にある。
As described above, the control program includes the check code on the control program side. In the control based on the control program, the learning values are stored in the blocks 22a to 22c set in the backup area of the RAM 22. In this case, the control program-side check code is stored in the storage area associated with each of the blocks 22a to 22c and used as the learning value-side check code. The side check codes always match.

【0038】一方、上述のS110の制御プログラム書
き換え処理が行われた後は、制御プログラム側チェック
コードが新たなチェックコードに変更されているので、
制御プログラム側チェックコードと学習値側チェックコ
ードは不一致となる。したがって、S120の処理によ
り、制御プログラム書き換え処理が行われたか否かを判
定できるのである。
On the other hand, after the control program rewriting process of S110 is performed, the check code on the control program side is changed to a new check code.
The control program side check code and the learning value side check code do not match. Therefore, it is possible to determine whether or not the control program rewriting process has been performed by the process of S120.

【0039】なお、このチェックは、バックアップ領域
のブロック毎に行われ、図2に併記した例で言えば、ブ
ロック22a,22bは一致すると判定され、ブロック
22cは不一致と判定されることになる。上記S120
の処理において、チェックコードが不一致である(すな
わち、制御プログラム書き換え処理が行われた)と判定
された場合(S120:YES)、続いて、バックアッ
プRAMに記憶された学習値を初期化すべきか保持すべ
きかをチェックする(S130)。
This check is performed for each block in the backup area. In the example shown in FIG. 2, the blocks 22a and 22b are determined to match, and the block 22c is determined to be mismatch. S120 above
If it is determined that the check codes do not match (that is, the control program rewriting process has been performed) (S120: YES), then the learning value stored in the backup RAM should be initialized or retained. It is checked whether to be performed (S130).

【0040】学習値を初期化すべきか保持すべきかの判
断は、制御プログラム側チェックコードと学習値側チェ
ックコードとに基づいて判断することができる。本実施
形態では、学習値側チェックコードの上位1バイトに制
御プログラムのバージョン情報が含まれているので、こ
れに基づいて学習値を記憶させる際に用いられた制御プ
ログラムのバージョンを知ることができ、新たな制御プ
ログラムでも利用可能な学習値であるかどうかを判定で
きるので、利用可能であれば学習値を保持すべきと判断
し、利用不能であれば学習値を初期化すべきと判断すれ
ばよい。図2に併記した例で言えば、ブロック22cに
関し、制御プログラム側チェックコードと学習値側チェ
ックコードの上位1バイトが不一致なので、直ちに初期
化すべきと判断するのも一判断方法として採用し得る。
あるいは、制御プログラム側チェックコードと学習値側
チェックコードの上位1バイトが不一致となっていて
も、例えば、制御プログラム側チェックコードの上位1
バイトが「AA」、学習値側チェックコードの上位1バ
イトが「55」という組み合わせの場合は、初期化不要
と判断するのも一判断方法として採用し得る。
The determination as to whether the learning value should be initialized or held can be made based on the control program side check code and the learning value side check code. In the present embodiment, since the version information of the control program is included in the upper 1 byte of the learning value side check code, the version of the control program used when storing the learning value can be known based on this. If it is determined that the learning value can be used even in the new control program, it can be determined that the learning value should be retained if it can be used, and if the learning value cannot be used, the learning value should be initialized. Good. In the example shown in FIG. 2 as well, as for the block 22c, since the upper one byte of the check code on the control program side does not match the upper byte of the learning value side check code, it may be adopted as a determination method to determine that the block 22c should be initialized immediately.
Alternatively, even if the upper one byte of the control program side check code and the learning value side check code do not match, for example, the upper one byte of the control program side check code
In the case where the combination of the byte is "AA" and the upper byte of the learning value side check code is "55", it may be adopted as a judgment method to judge that the initialization is unnecessary.

【0041】さて、上記S130の処理において、学習
値を初期化すべきと判断した場合は、チェックコードの
下位1バイトに含まれるブロック番号に基づいて、バッ
クアップRAM中の該当するブロックを初期化する(S
140)。なお、ここでの初期値は、学習値の項目毎に
あらかじめ決められて制御プログラム中に含まれている
値が使われる。
If it is determined in step S130 that the learning value should be initialized, the corresponding block in the backup RAM is initialized based on the block number included in the lower 1 byte of the check code ( S
140). As the initial value, a value which is determined in advance for each learning value item and included in the control program is used.

【0042】そして、上記S140の処理を終えるか、
あるいは、上記S130の処理において、学習値を保持
すべきと判断した場合は、学習値側チェックコードの上
位1バイトを制御プログラム側チェックコードの上位1
バイトと一致するように更新する(S150)。これに
より、以後、再び上記S120の処理が実行されても、
チェックコードの不一致が検出されなくなる。
Then, whether the process of S140 is completed,
Alternatively, if it is determined in the process of S130 that the learning value should be held, the upper one byte of the learning value side check code is replaced with the upper one byte of the control program side check code.
Update to match the byte (S150). Thereby, even if the process of S120 is executed again thereafter,
No check code mismatch is detected.

【0043】なお、本実施形態においては、上記S12
0〜S150の処理を実行することにより、ECU1自
体が本発明でいう学習値更新装置として機能している。
こうして上記S150の処理を終えるか、あるいは、上
記S120の処理において、チェックコードが一致する
(すなわち、制御プログラム書き換え処理が行われてい
ない)と判定された場合は(S120:NO)、RAM
22のバックアップ領域22a以外の領域をクリアして
初期設定を行い(S160)、その後、エンジン制御プ
ログラムへジャンプして、ROM20の書き換え可能領
域20aに格納されている制御プログラムに基づいてエ
ンジン制御処理が実行される(S170)。
In this embodiment, the above S12
By executing the processing of 0 to S150, the ECU 1 itself functions as the learning value updating device according to the present invention.
When the process of S150 is completed in this way, or when it is determined in the process of S120 that the check codes match (that is, the control program rewriting process has not been performed) (S120: NO), the RAM is determined.
Then, an area other than the backup area 22a is cleared and initialization is performed (S160). Thereafter, the process jumps to the engine control program, and the engine control processing is performed based on the control program stored in the rewritable area 20a of the ROM 20. It is executed (S170).

【0044】なお、S170のエンジン制御処理は、入
力処理回路6からの各種センサ信号とROM20の書き
換え可能領域20aに格納された制御データとに基づ
き、エンジンに対する最適な燃料噴射量や点火時期等を
演算し、その演算結果に応じてインジェクタやイグナイ
タ等のアクチュエータ10を駆動するための制御信号を
出力する、といった手順で実行される。そして、このよ
うなエンジン制御処理が実行されることにより、エンジ
ンの運転が可能となる。
The engine control process in S170 determines the optimum fuel injection amount and ignition timing for the engine based on various sensor signals from the input processing circuit 6 and control data stored in the rewritable area 20a of the ROM 20. The calculation is performed, and a control signal for driving the actuator 10 such as an injector or an igniter is output in accordance with the calculation result. Then, by executing such an engine control process, the engine can be operated.

【0045】以上説明したように、本実施形態のECU
1によれば、上記S120〜S150の処理を実行して
学習値更新装置として機能した際に、RAM22のバッ
クアップ領域に記憶した学習値が利用可能であれば、そ
の利用可能な学習値がそのまま保持され、その一方、R
AM22のバックアップ領域に記憶した学習値が利用不
能となれば、その利用不能な学習値が初期化されるの
で、制御プログラムの更新履歴を作業者側で意識しなく
ても、電子制御装置が利用不能な学習値を記憶している
場合に限り、その利用不能な学習値の更新を行うことが
できる。
As described above, the ECU of the present embodiment
According to No. 1, when the learning values stored in the backup area of the RAM 22 are available when the processes of S120 to S150 are executed to function as the learning value updating device, the available learning values are retained as they are. While R
If the learning value stored in the backup area of the AM 22 becomes unusable, the unusable learning value is initialized, so that the electronic control unit can be used without the operator having to be aware of the update history of the control program. Only when the unusable learning value is stored, the unusable learning value can be updated.

【0046】また、RAM22のバックアップ領域を複
数のブロックに分けて、ブロック毎に利用可能な学習値
であるかどうかを判断して、更新が必要なブロックの学
習値だけを処理しているので、すべての学習値を更新す
るものにくらべ、速やかに更新処理を終えることができ
る。
Further, since the backup area of the RAM 22 is divided into a plurality of blocks and it is determined whether or not the learning value is usable for each block, only the learning value of the block that needs to be updated is processed. The update process can be completed more quickly than in the case where all the learning values are updated.

【0047】以上、本発明の実施形態について説明した
が、本発明の実施形態については上記のもの以外にも種
々の具体的形態が考えられる。例えば、上記実施形態で
は、学習値の項目毎にあらかじめ決められて制御プログ
ラム中に含まれている初期値を用いて、学習値を初期化
していたが、利用不能な学習値に所定のデータ変換処理
を施すことにより、利用可能な学習値とすることができ
る場合には、あらかじめ決められた初期値に代えて、デ
ータ変換処理によって得られた値を、新たな学習値とし
て記憶してもよい。
Although the embodiments of the present invention have been described above, various specific embodiments other than those described above are conceivable for the embodiments of the present invention. For example, in the above-described embodiment, the learning value is initialized by using an initial value that is predetermined for each item of the learning value and included in the control program, but the predetermined data conversion into an unusable learning value is performed. If the process can be performed to obtain a usable learning value, a value obtained by the data conversion process may be stored as a new learning value instead of a predetermined initial value. .

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

【図1】 電子制御装置のメモリ書換システムの全体構
成を表すブロック図である。
FIG. 1 is a block diagram illustrating an overall configuration of a memory rewriting system of an electronic control device.

【図2】 ROM及びRAMの記憶領域を説明する説明
図である。
FIG. 2 is an explanatory diagram illustrating storage areas of a ROM and a RAM.

【図3】 エンジン制御装置(ECU)側で実行される
処理を表すフローチャートである。
FIG. 3 is a flowchart illustrating a process executed on an engine control device (ECU) side.

【図4】 制御プログラム書き換え処理を表すフローチ
ャートである。
FIG. 4 is a flowchart illustrating a control program rewriting process.

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

1・・・エンジン制御装置(ECU)、2・・・メモリ
書換装置、3・・・メモリ書換システム、4・・・セン
サ、6・・・入力処理回路、8・・・CPU、10・・
・アクチュエータ、12・・・出力回路、18・・・マ
イクロ・プロセッサ・ユニット(MPU)、20・・・
ROM、20a・・・書き換え可能領域、20b・・・
書き換え不能領域、22・・・RAM、22a〜22c
・・・ブロック、25・・・通信回路、26・・・接続
用コネクタ、28・・・通信ライン、29・・・電源供
給ライン、30・・・モード判定用信号ライン。
DESCRIPTION OF SYMBOLS 1 ... Engine control device (ECU), 2 ... Memory rewriting device, 3 ... Memory rewriting system, 4 ... Sensor, 6 ... Input processing circuit, 8 ... CPU, 10 ...
-Actuator, 12-Output circuit, 18-Microprocessor unit (MPU), 20-
ROM, 20a ... rewritable area, 20b ...
Non-rewritable area, 22 ... RAM, 22a to 22c
... Block, 25 ... Communication circuit, 26 ... Connector, 28 ... Communication line, 29 ... Power supply line, 30 ... Mode determination signal line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 玉田 英司 愛知県刈谷市昭和町1丁目1番地 株式会 社デンソー内 Fターム(参考) 5B076 BB14 EB01  ────────────────────────────────────────────────── ─── Continuation of the front page (72) Eiji Tamada 1-1-1, Showa-cho, Kariya-shi, Aichi F-term in DENSO Corporation (Reference) 5B076 BB14 EB01

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】必要に応じて書き換えられる制御プログラ
ムを記憶する制御プログラム記憶手段と、学習値を記憶
する学習値記憶手段とを備え、前記制御プログラム記憶
手段の記憶する制御プログラムに従って制御対象に対す
る制御を実行し、その際に得られる可変データを学習値
として前記学習値記憶手段に記憶して、その学習値を利
用しながら前記制御を実行する電子制御装置を対象にし
て、前記制御プログラムの書き換えが行われた場合に、
前記学習値の更新を実行する電子制御装置用の学習値更
新装置において、 前記学習値記憶手段に学習値を記憶させる処理を実行し
た時に用いられていた制御プログラムに対応付けられた
チェックコードを記憶する学習値側チェックコード記憶
手段と、 前記制御プログラム記憶手段の記憶する制御プログラム
に対応付けられたチェックコードを記憶する制御プログ
ラム側チェックコード記憶手段と、 前記学習値側チェックコード記憶手段の記憶するチェッ
クコードと前記制御プログラム側チェックコード記憶手
段の記憶するチェックコードとに基づいて、前記電子制
御装置が前記制御プログラム記憶手段の記憶する制御プ
ログラムに従って前記制御を実行する際に前記学習値記
憶手段の記憶する学習値を利用可能かどうかを判断する
判断手段と、 該判断手段によって前記学習値を利用不能と判断された
場合に、該利用不能な学習値を利用可能な学習値に更新
するとともに、前記学習値側チェックコード記憶手段の
記憶するチェックコードを、前記制御プログラム記憶手
段の記憶する制御プログラムに対応付けられたチェック
コードに更新する更新手段とを備えたことを特徴とする
電子制御装置用の学習値更新装置。
1. A control program storage means for storing a control program which is rewritten as required, and a learning value storage means for storing a learning value, wherein control for a control object is performed according to the control program stored in the control program storage means. And stores the variable data obtained at that time as a learning value in the learning value storage means, and rewrites the control program for an electronic control device that executes the control while using the learning value. Is done,
In the learning value updating device for an electronic control device that executes the updating of the learning value, a check code associated with a control program used when executing a process of storing a learning value in the learning value storage unit is stored. Learning value side check code storage means, control program side check code storage means for storing a check code associated with a control program stored in the control program storage means, and learning value side check code storage means. Based on the check code and the check code stored in the control program-side check code storage means, when the electronic control device executes the control according to the control program stored in the control program storage means, the learning value storage means Judging means for judging whether or not the learning value to be stored can be used When the learning value is determined to be unusable by the determination unit, the unusable learning value is updated to a usable learning value, and a check code stored in the learning value side check code storage unit is updated. Updating means for updating a check code associated with a control program stored in the control program storage means.
【請求項2】前記学習値記憶手段の記憶する学習値が複
数の群に分けられて、前記学習値側チェックコード記憶
手段が、前記複数の群に対応する複数のチェックコード
を記憶しており、 前記判断手段が、前記学習値側チェックコード記憶手段
の記憶する複数のチェックコードを利用して、前記複数
の群のそれぞれについて、各群に含まれる学習値を利用
可能かどうかを判断し、 前記更新手段が、前記判断手段によって利用不能と判断
された学習値を含む群について、利用不能な学習値を利
用可能な学習値に更新するとともに、当該群に対応する
前記学習値側チェックコード記憶手段の記憶するチェッ
クコードを、前記制御プログラム記憶手段の記憶する制
御プログラムに対応付けられたチェックコードに更新す
ることを特徴とする請求項1に記載の電子制御装置用の
学習値更新装置。
2. The learning value stored in the learning value storage means is divided into a plurality of groups, and the learning value side check code storage means stores a plurality of check codes corresponding to the plurality of groups. The determination means uses a plurality of check codes stored in the learning value side check code storage means, for each of the plurality of groups, determines whether a learning value included in each group is available, The updating means updates the unavailable learning value to an available learning value for a group including a learning value determined to be unavailable by the determining means, and stores the learning value-side check code corresponding to the group. The control code stored in the control means is updated to a check code associated with a control program stored in the control program storage means. Learning value updating device for electronic control unit according.
【請求項3】前記更新手段が、前記利用不能な学習値
を、あらかじめ定められた初期値に更新することを特徴
とする請求項1または請求項2に記載の電子制御装置用
の学習値更新装置。
3. The learning value update for an electronic control device according to claim 1, wherein said updating means updates said unavailable learning value to a predetermined initial value. apparatus.
【請求項4】前記更新手段が、前記利用不能な学習値に
対し、あらかじめ定められたデータ変換処理を施して、
前記利用可能な学習値に更新することを特徴とする請求
項1または請求項2に記載の電子制御装置用の学習値更
新装置。
4. The updating means performs a predetermined data conversion process on the unavailable learning value,
The learning value updating device for an electronic control device according to claim 1, wherein the learning value is updated to the available learning value.
JP11059082A 1999-03-05 1999-03-05 Device for updating learning value for electronic controller Pending JP2000259420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11059082A JP2000259420A (en) 1999-03-05 1999-03-05 Device for updating learning value for electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11059082A JP2000259420A (en) 1999-03-05 1999-03-05 Device for updating learning value for electronic controller

Publications (1)

Publication Number Publication Date
JP2000259420A true JP2000259420A (en) 2000-09-22

Family

ID=13103082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11059082A Pending JP2000259420A (en) 1999-03-05 1999-03-05 Device for updating learning value for electronic controller

Country Status (1)

Country Link
JP (1) JP2000259420A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002323990A (en) * 2001-04-25 2002-11-08 Denso Corp Electronic controller and method for initializing nonvolatile memory
JP2005078529A (en) * 2003-09-02 2005-03-24 Sony Corp Robot control apparatus and method, recording medium, and program
JP2006277225A (en) * 2005-03-29 2006-10-12 Fuji Xerox Co Ltd Controller, control method, program and storage medium
JP2007257473A (en) * 2006-03-24 2007-10-04 Mitsubishi Electric Corp Onboard control unit
EP1944691A2 (en) 2007-01-15 2008-07-16 Denso Corporation Electronic engine control apparatus having improved configuration for ensuring excellent engine startability
JP2008186476A (en) * 2008-03-10 2008-08-14 Renesas Technology Corp Microcomputer
JP2009537037A (en) * 2006-05-12 2009-10-22 ニュアンス コミュニケーションズ オーストリア ゲーエムベーハー Method for switching from a first adaptive data processing version to a second adaptive data processing version
JP2009255674A (en) * 2008-04-15 2009-11-05 Mitsubishi Electric Corp Onboard electronic control device
JP2010015265A (en) * 2008-07-01 2010-01-21 Denso Corp Program rewriting device and program rewriting method
US7805562B2 (en) 2001-03-30 2010-09-28 Renesas Technology Corp. Microcomputer with configurable communication interfacing
US8223002B2 (en) 2008-04-23 2012-07-17 Denso Corporation Electronic control apparatus with automatic information update when transferred between vehicles
JP2013069005A (en) * 2011-09-21 2013-04-18 Hitachi Automotive Systems Ltd Electronic control device for automobile
JP2014040781A (en) * 2012-08-21 2014-03-06 Denso Corp Vehicle learning data reuse determination device, and vehicle learning data reuse determination method
JP2014044640A (en) * 2012-08-28 2014-03-13 Denso Corp Electronic controller
JP2014167819A (en) * 2014-05-15 2014-09-11 Hitachi Automotive Systems Ltd Electronic control device for automobile
US9080530B2 (en) 2008-04-08 2015-07-14 Denso Corporation Electronic control apparatus and vehicle control system
US9951705B2 (en) 2008-04-23 2018-04-24 Denso Corporation Control unit and program for same
JP2020129325A (en) * 2019-02-12 2020-08-27 日立オートモティブシステムズ株式会社 Electronic control device for vehicle
US11586985B2 (en) 2019-12-06 2023-02-21 Toyota Jidosha Kabushiki Kaisha Vehicle control apparatus
JP7484606B2 (en) 2020-09-17 2024-05-16 トヨタ自動車株式会社 In-vehicle device, software update method, software update program, and vehicle

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7805562B2 (en) 2001-03-30 2010-09-28 Renesas Technology Corp. Microcomputer with configurable communication interfacing
JP2002323990A (en) * 2001-04-25 2002-11-08 Denso Corp Electronic controller and method for initializing nonvolatile memory
JP2005078529A (en) * 2003-09-02 2005-03-24 Sony Corp Robot control apparatus and method, recording medium, and program
JP2006277225A (en) * 2005-03-29 2006-10-12 Fuji Xerox Co Ltd Controller, control method, program and storage medium
JP2007257473A (en) * 2006-03-24 2007-10-04 Mitsubishi Electric Corp Onboard control unit
JP2009537037A (en) * 2006-05-12 2009-10-22 ニュアンス コミュニケーションズ オーストリア ゲーエムベーハー Method for switching from a first adaptive data processing version to a second adaptive data processing version
US9009695B2 (en) 2006-05-12 2015-04-14 Nuance Communications Austria Gmbh Method for changing over from a first adaptive data processing version to a second adaptive data processing version
EP1944691A2 (en) 2007-01-15 2008-07-16 Denso Corporation Electronic engine control apparatus having improved configuration for ensuring excellent engine startability
EP1944691A3 (en) * 2007-01-15 2009-06-03 Denso Corporation Electronic engine control apparatus having improved configuration for ensuring excellent engine startability
US8135533B2 (en) 2007-01-15 2012-03-13 Denso Corporation Electronic engine control apparatus having improved configuration for ensuring excellent engine startability
JP2008186476A (en) * 2008-03-10 2008-08-14 Renesas Technology Corp Microcomputer
US9080530B2 (en) 2008-04-08 2015-07-14 Denso Corporation Electronic control apparatus and vehicle control system
JP2009255674A (en) * 2008-04-15 2009-11-05 Mitsubishi Electric Corp Onboard electronic control device
US8223002B2 (en) 2008-04-23 2012-07-17 Denso Corporation Electronic control apparatus with automatic information update when transferred between vehicles
US9951705B2 (en) 2008-04-23 2018-04-24 Denso Corporation Control unit and program for same
JP2010015265A (en) * 2008-07-01 2010-01-21 Denso Corp Program rewriting device and program rewriting method
JP2013069005A (en) * 2011-09-21 2013-04-18 Hitachi Automotive Systems Ltd Electronic control device for automobile
JP2014040781A (en) * 2012-08-21 2014-03-06 Denso Corp Vehicle learning data reuse determination device, and vehicle learning data reuse determination method
JP2014044640A (en) * 2012-08-28 2014-03-13 Denso Corp Electronic controller
JP2014167819A (en) * 2014-05-15 2014-09-11 Hitachi Automotive Systems Ltd Electronic control device for automobile
JP2020129325A (en) * 2019-02-12 2020-08-27 日立オートモティブシステムズ株式会社 Electronic control device for vehicle
US11586985B2 (en) 2019-12-06 2023-02-21 Toyota Jidosha Kabushiki Kaisha Vehicle control apparatus
JP7484606B2 (en) 2020-09-17 2024-05-16 トヨタ自動車株式会社 In-vehicle device, software update method, software update program, and vehicle

Similar Documents

Publication Publication Date Title
JP2000259420A (en) Device for updating learning value for electronic controller
US5826211A (en) Electronic controller having excellent control program and control data overwriting capabilities
JP2003256228A (en) Program rewriting device
US6523083B1 (en) System and method for updating flash memory of peripheral device
JP4302113B2 (en) In-vehicle control device
JPH11272498A (en) Electronic controller
US8135533B2 (en) Electronic engine control apparatus having improved configuration for ensuring excellent engine startability
JPH1136973A (en) Vehicle contorl device
JP3314749B2 (en) Electronic control unit
US6405279B1 (en) Apparatus and method for controlling rewriting of data into nonvolatile memory
JP4311067B2 (en) Data rewriting method and electronic control device
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
JP3835969B2 (en) Rewriting system for vehicle control device
JPH10171644A (en) Electronic controller
JP3489306B2 (en) Electronic control unit
JP2007316800A (en) Onboard program rewriting controller
JP2005338955A (en) Electronic control device
JPH1136974A (en) Controller for vehicle
JP3489524B2 (en) Non-volatile memory rewriting device for vehicle
JP2009026183A (en) Electronic control apparatus for automobile
JP3796837B2 (en) Memory writing device for electronic device
JP2002323990A (en) Electronic controller and method for initializing nonvolatile memory
JP2002149412A (en) Electronic controller
JP2000181698A (en) Control program rewriting system
JP2000029710A (en) Electronic controller