[go: up one dir, main page]

JP3136994B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP3136994B2
JP3136994B2 JP08154288A JP15428896A JP3136994B2 JP 3136994 B2 JP3136994 B2 JP 3136994B2 JP 08154288 A JP08154288 A JP 08154288A JP 15428896 A JP15428896 A JP 15428896A JP 3136994 B2 JP3136994 B2 JP 3136994B2
Authority
JP
Japan
Prior art keywords
data
characteristic data
storage means
stored
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP08154288A
Other languages
Japanese (ja)
Other versions
JPH103433A (en
Inventor
健三 矢野
伸二 竹内
健悟 杉浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP08154288A priority Critical patent/JP3136994B2/en
Publication of JPH103433A publication Critical patent/JPH103433A/en
Application granted granted Critical
Publication of JP3136994B2 publication Critical patent/JP3136994B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • High-Pressure Fuel Injection Pump Control (AREA)
  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶手段に記憶さ
れたデータに基づき演算を実行するデータ処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for executing an operation based on data stored in a storage means.

【0002】[0002]

【従来の技術】従来より、この種のデータ処理装置は種
々提案されており、一例として、ディーゼル機関の燃料
噴射ポンプ制御装置が挙げられる。ディーゼル機関の燃
料噴射ポンプでは、個々のポンプ毎にその特性が異なる
が、燃料噴射ポンプ制御装置ではそのポンプの特性に応
じた制御を実行するのが望ましい。そこで、個々のポン
プ毎にその特性データを書換え不能に記憶したROMを
固定しておき、燃料噴射ポンプ制御装置のCPUがその
ROMに記憶された特性データを読み込んで制御を実行
することが考えられている(特公平4−28901
号)。
2. Description of the Related Art Hitherto, various data processing apparatuses of this type have been proposed, and an example thereof is a fuel injection pump control apparatus for a diesel engine. In a fuel injection pump of a diesel engine, the characteristics are different for each pump. However, it is desirable that the fuel injection pump control device executes control according to the characteristics of the pump. Therefore, it is conceivable that a ROM in which the characteristic data is irrevocably stored is fixed for each pump, and the CPU of the fuel injection pump control device reads the characteristic data stored in the ROM and executes control. (Japanese Patent Publication No. 4-28901)
issue).

【0003】上記ROMからの特性データの読み込み
は、一般にデータ通信等によって行われる。そこで、こ
の種の燃料噴射ポンプ制御装置では、上記ROMから読
み込んだデータをCPU近傍に設けられたバックアップ
RAM等に書き込んでおき、通常はそのバックアップR
AMに記憶された特性データに基づき制御を実行するこ
とが考えられている。このような構成を採用した場合、
制御中にいちいちデータ通信を実行して特性データを読
み込む必要がなくなり、制御の能率化を図ることができ
る。
The reading of the characteristic data from the ROM is generally performed by data communication or the like. Therefore, in this type of fuel injection pump control device, the data read from the ROM is written into a backup RAM or the like provided near the CPU, and the backup R
It has been considered to execute control based on characteristic data stored in the AM. When such a configuration is adopted,
It is not necessary to read the characteristic data by executing data communication each time during the control, and the efficiency of the control can be improved.

【0004】[0004]

【発明が解決しようとする課題】ところが、バックアッ
プRAMに記憶された特性データは、変化(破壊)して
しまう可能性がある。そこで、次のような対策が考えら
れる。すなわち、上記特性データと共に、その特性デー
タ(元データ)の「1」,「0」を反転させたミラーデ
ータをバックアップRAMに記憶しておき、両者が互い
に反転の状態を保持しているかをチェックするいわゆる
ミラーチェックを行ったり、バックアップRAMに記憶
された特性データのSUM値を算出し、チェックSUM
と一致するか否かを判断したりすることにより、特性デ
ータに異常がないか、すなわち特性データが変化してな
いかをチェックする(SUMチェック)。そして、異常
が検出された場合は、上記ROMより再び特性データを
読み込んでバックアップRAMに書き込むのである。
However, the characteristic data stored in the backup RAM may be changed (destroyed). Therefore, the following countermeasures can be considered. That is, mirror data obtained by inverting "1" and "0" of the characteristic data (original data) is stored in the backup RAM together with the above-mentioned characteristic data, and it is checked whether both of them hold the inverted state. Perform a so-called mirror check, calculate the SUM value of the characteristic data stored in the backup RAM, and check the SUM.
By judging whether or not the data coincides with the above, it is checked whether there is any abnormality in the characteristic data, that is, whether the characteristic data has changed (SUM check). When an abnormality is detected, the characteristic data is read from the ROM again and written into the backup RAM.

【0005】しかしながら、このようなチェックを行っ
ても検出されない異常が特性データに発生することがあ
る。例えば、図6(A)に例示するように、元データと
ミラーデータとの同じ位置のデータが同時に反転した場
合、このような異常はミラーチェックによって検出する
ことができない。また、図6(B)に例示するように、
同じ桁の「1」および「0」のデータが同時に反転した
場合、このような異常はチェックSUMによって検出す
ることができない。更に、図6(C)に例示するよう
に、上記二つの条件を同時に満たすような異常が発生し
た場合、このような異常はミラーチェックによってもS
UMチェックによっても検出することができない。
However, abnormalities that are not detected even when such a check is performed may occur in the characteristic data. For example, as illustrated in FIG. 6A, when data at the same position of the original data and the mirror data are simultaneously inverted, such an abnormality cannot be detected by the mirror check. Also, as exemplified in FIG.
If the data of “1” and “0” of the same digit are simultaneously inverted, such an abnormality cannot be detected by the check SUM. Further, as illustrated in FIG. 6C, when an abnormality occurs that satisfies the above two conditions at the same time, such an abnormality is detected by mirror check.
It cannot be detected by UM check.

【0006】このような場合、CPUはバックアップR
AMの特性データを異常と気付かずにそのまま使用して
制御を実行することになる。この種のデータは、学習デ
ータのように自動更新されて本来の値に近づくことがな
いので、その後ずっと誤った特性データに基づき制御を
実行することになる。また、この種の課題は他のいくつ
かのデータ処理装置においても同様に発生する。
In such a case, the CPU sets the backup R
The control is executed using the AM characteristic data as it is without noticing that it is abnormal. This type of data is automatically updated like learning data and does not approach the original value, so that control is executed based on incorrect characteristic data thereafter. This kind of problem also occurs in some other data processing devices.

【0007】そこで、本発明は、記憶手段に記憶された
所定データを読み込んで演算を実行するデータ処理装置
において、その所定データの本来の値を良好に保持して
演算に使用可能にすることを目的としてなされた。
Therefore, the present invention provides a data processing apparatus which reads predetermined data stored in a storage means and executes an operation, and preferably retains the original value of the predetermined data so as to be usable for the operation. Made for purpose.

【0008】[0008]

【課題を解決するための手段および発明の効果】上記目
的を達するためになされた請求項1記載の発明は、内燃
機関の燃料噴射ポンプの特性データを書換え不能に記憶
する不揮発性の第1記憶手段と、上記特性データを書換
え可能に記憶する第2記憶手段と、上記第1記憶手段に
記憶された上記特性データを読み込み、該読み込んだ
データを上記第2記憶手段に書き込むデータ更新処理
を実行するデータ更新手段と、上記第2記憶手段に記憶
された上記特性データに基づき、上記燃料噴射ポンプを
制御する演算を実行する演算手段と、を備えたデータ処
理装置において、上記データ更新手段が、上記第2記憶
手段に記憶された上記特性データの正誤に関わらず、
グニッションキーがオンされたときでありかつ一定回数
トリップ(但し、1トリップとは、一回のイグニッシ
ョンキーオンからオフまでを意味する)に、上記データ
更新処理を実行することを特徴とする。
Means for Solving the Problems and Effects of the Invention In order to achieve the above object, the invention according to the first aspect of the present invention relates to an internal combustion engine.
A first memory means a nonvolatile that unerasable stores characteristic data of the fuel injection pump of the engine, and a second storage means for rewritably storing the characteristic data, the characteristic data stored in said first storage means And read the loaded feature
A data updating means for performing the data update processing for writing the gender data in the second storage means, based on the stored the characteristic data to said second storage means, the fuel injection pump
In the data processing apparatus including a calculation means for performing an operation control, the said data updating means, regardless of the correctness of the characteristic data stored in said second storage means, i
When the ignition key is turned on and a certain number of times
Each trip (However, one trip means one ignition
(Meaning from the operation key on to off) during the data update process.

【0009】このように構成された本発明では、データ
更新手段は、第1記憶手段に記憶された特性データを読
み込み、該読み込んだ特性データを第2記憶手段に書き
込むデータ更新処理を実行する。すると、第2記憶手段
は、その特性データを保持し、演算手段は、第2記憶手
段に記憶された上記特性データに基づき燃料噴射ポンプ
を制御する演算を実行する。
According to the present invention, the data updating means reads the characteristic data stored in the first storage means and executes a data updating process for writing the read characteristic data in the second storage means. Then, the second storage means holds the characteristic data, and the calculating means sets the fuel injection pump based on the characteristic data stored in the second storage means.
Perform the operation that controls .

【0010】ここで、データ更新手段は、第2記憶手段
に記憶された上記特性データの正誤に関わらず、イグニ
ッションキーがオンされたときでありかつ一定回数トリ
ップ毎に、上記データ更新処理を実行する。但し、1ト
リップとは、一回のイグニッションキーオンからオフま
でを意味する。このため、第2記憶手段に記憶された上
特性データに異常が検出されない場合でも、上記所定
条件が成立する毎に、上記第2記憶手段に記憶された上
特性データが、上記第1記憶手段から読み込んだ上記
特性データによって更新される。また、第1記憶手段は
上記特性データを書換え不能に記憶しており、そこに記
憶された特性データが変化することはきわめて少ない。
従って、上記特性データの本来の値を良好に保持して演
算に使用することができる。よって、演算手段による演
算の信頼性をきわめて良好に向上させることができる。
Here, the data updating means is ignited regardless of whether the characteristic data stored in the second storage means is correct or not.
When the session key is turned on and
The above-described data update process is executed for each backup . However, 1
A lip is a single ignition key on to off.
Means. Therefore, even if the abnormality in the characteristic data stored in the second storage means is not detected, every time the predetermined condition is satisfied, the above characteristic data stored in the second storage means, said first memory means Is updated by the above characteristic data read from the. Further, the first storage means stores the characteristic data in a non-rewritable manner, and the characteristic data stored therein rarely changes.
Therefore, the original value of the characteristic data can be favorably retained and used for the calculation. Therefore, the reliability of the calculation by the calculation means can be improved extremely favorably.

【0011】請求項2記載の発明は、内燃機関の燃料噴
射ポンプの特性データを書換え不能に記憶する不揮発性
の第1記憶手段と、上記特性データを書換え可能に記憶
する第2記憶手段と、上記第1記憶手段に記憶された
記特性データを読み込み、該読み込んだ特性データを上
記第2記憶手段に書き込むデータ更新処理を実行するデ
ータ更新手段と、上記第2記憶手段に記憶された上記
データに基づき、上記燃料噴射ポンプを制御する演算
を実行する演算手段と、を備えたデータ処理装置におい
て、上記データ更新手段が、上記第2記憶手段に記憶さ
れた上記特性データの正誤に関わらず、イグニッション
キーがオフされたときでありかつ一定回数トリップ毎
(但し、1トリップとは、一回のイグニッションキーオ
ンからオフまでを意味する)に、上記データ更新処理を
実行することを特徴とする。
According to a second aspect of the present invention, there is provided a fuel injection system for an internal combustion engine.
A first memory means a nonvolatile that unerasable stores characteristic data of the pump morphism, and second storage means for rewritably storing the characteristic data, after being stored in the first storage means
Reads the serial characteristic data, and a data updating means for performing the data update processing for writing the read characteristic data to said second storage means, the above-mentioned Japanese stored in said second storage means
Based on the sex data, the data processing apparatus provided with an arithmetic means for executing an operation of controlling the fuel injection pump, said data updating means, storing of the said second memory means
Regardless of whether the above characteristic data is correct or incorrect,
When the key is turned off and every certain number of trips
(However, one trip means one ignition key
The means to off from down), and executes the data update processing.

【0012】すなわち、本発明と請求項1記載の発明と
の相違点は次の通りである。請求項1記載の発明では、
イグニッションキーがオンされたときでありかつ一定回
数トリップ毎にデータ更新処理を実行している。これに
対して本発明では、イグニッションキーがオフされたと
きでありかつ一定回数トリップ毎に、データ更新処理を
実行するのである。
That is, the difference between the present invention and the first embodiment is as follows. In the invention according to claim 1,
When the ignition key is turned on and
Data update processing is performed every few trips . In contrast, in the present invention, the ignition key is turned off.
Is the Ki and every certain number of times trip, is to perform the data update process.

【0013】[0013]

【0014】[0014]

【0015】請求項3記載の発明は、請求項1または2
記載の発明において、上記第2記憶手段における記憶を
保持するための電圧が低下した履歴がある場合にも、上
記特性データの正誤に関わらず、上記データ更新手段が
上記データ更新処理を実行することを特徴とする。
The third aspect of the present invention provides the first or second aspect.
In the invention described in the above, the storage in the second storage means is
Even if there is a history that the voltage for holding
Regardless of whether the characteristic data is correct or incorrect,
You and the client performs the data updating process.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態を図面
と共に説明する。図1は、本発明が適用された燃料噴射
ポンプ制御装置の構成を表すブロック図である。なお、
この燃料噴射ポンプ制御装置は、ディーゼル機関用電子
制御燃料噴射ポンプ(以下、単に燃料噴射ポンプとい
う)1に搭載された燃料噴射量制御用アクチュエータ2
および燃料噴射時期制御用アクチュエータ3を介して、
燃料噴射ポンプ1の燃料噴射量および燃料噴射時期を制
御する装置である。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a fuel injection pump control device to which the present invention is applied. In addition,
This fuel injection pump control device includes a fuel injection amount control actuator 2 mounted on an electronically controlled fuel injection pump (hereinafter simply referred to as a fuel injection pump) 1 for a diesel engine.
And via the fuel injection timing control actuator 3
This is a device for controlling the fuel injection amount and fuel injection timing of the fuel injection pump 1.

【0017】燃料噴射ポンプ1では、構成部品の部品加
工精度、組付精度等の機械的な要因、或いは各アクチュ
エータ2,3の応答性、或いは燃料噴射ポンプ1に搭載
された各種センサ(図示せず)の出力特性の電気的,磁
気的な要因による個体間のばらつきが存在する。このた
め、燃料噴射ポンプ1は、そのばらつきに応じた特性デ
ータを記憶する記憶装置4を備えている。そして、上記
制御を実行する制御本体であるECU5は、この特性デ
ータを記憶装置4から読み出し、ディーゼル機関の運転
状態に応じて周知の演算を実行して各アクチュエータ
2,3を駆動している。
In the fuel injection pump 1, mechanical factors such as component processing accuracy and assembly accuracy of components, responsiveness of each of the actuators 2 and 3, or various sensors mounted on the fuel injection pump 1 (not shown) There is a variation between individuals due to electrical and magnetic factors in the output characteristics of (ii). For this reason, the fuel injection pump 1 includes a storage device 4 for storing characteristic data corresponding to the variation. The ECU 5, which is a control main body that executes the above control, reads out the characteristic data from the storage device 4, executes well-known calculations according to the operation state of the diesel engine, and drives the actuators 2, 3.

【0018】記憶装置4の内部には、書き込み用電圧供
給線L4に所定電圧が印加されたときを除いて特性デー
タを書換え不能に記憶する第1記憶手段としてのOTP
ROM6(EPROM,EEPROM等他の不揮発性記
憶素子を用いてもよい)、ECU5へシリアル通信方式
によりデータを送信するためのシリアル通信インタフェ
ース7、ノイズ除去,信号レベルまたはインピーダンス
変換のための通信バッファ8、および、電力供給兼クロ
ック信号線L1を介して入力された後述のクロック信号
から高周波のノイズを除去する入力フィルタ9を備えて
いる。また、入力フィルタ9を通過したクロック信号は
二つに分岐し、一方はシリアル通信インタフェース7に
クロック信号として直接入力され、他方は逆流防止用の
ダイオード10aおよび充電用のコンデンサ10bより
なる回路に入力される。そして、この回路のコンデンサ
10bに充電された電力は、OTPROM6およびシリ
アル通信インタフェース7の駆動用電力として使用され
る。
In the storage device 4, an OTP as first storage means for storing characteristic data in a non-rewritable manner except when a predetermined voltage is applied to the write voltage supply line L4.
ROM 6 (another nonvolatile storage element such as an EPROM or an EEPROM may be used), a serial communication interface 7 for transmitting data to the ECU 5 by a serial communication method, a communication buffer 8 for noise removal, signal level or impedance conversion. And an input filter 9 for removing high-frequency noise from a clock signal described later input via the power supply and clock signal line L1. The clock signal that has passed through the input filter 9 branches into two, one of which is directly input to the serial communication interface 7 as a clock signal, and the other of which is input to a circuit including a diode 10a for preventing backflow and a capacitor 10b for charging. Is done. Then, the electric power charged in the capacitor 10b of this circuit is used as electric power for driving the OTPROM 6 and the serial communication interface 7.

【0019】なお、OTPROM6への特性データの書
き込みは次のように行われる。すなわち、燃料噴射ポン
プ1の工場からの出荷検査工程で実際に燃料を噴射させ
て噴射特性を調べ、標準的なポンプの噴射特性に対する
ずれ分に相当するデータ(特性データ)を、書き込み用
電圧供給線L4に所定電圧を印加しながらOTPROM
6へ記憶するのである。記憶装置4は、このように燃料
噴射ポンプ1固有の特性データを記憶するためのもので
あり、燃料噴射ポンプ1上に搭載されているので非常に
管理に好都合である。
The writing of the characteristic data to the OTPROM 6 is performed as follows. That is, in a shipping inspection process of the fuel injection pump 1 from the factory, the fuel is actually injected to check the injection characteristics, and data (characteristic data) corresponding to a deviation from the standard injection characteristics of the pump is supplied to the writing voltage supply. OTPROM while applying a predetermined voltage to line L4
6 is stored. The storage device 4 is for storing characteristic data unique to the fuel injection pump 1 as described above, and is very convenient for management because it is mounted on the fuel injection pump 1.

【0020】ECU5は、上記制御を含む種々の演算を
実行するCPU11、各種センサ信号をCPU11に入
力するための入力信号バッファ12、上記センサ信号が
アナログ信号であった場合、その信号をデジタル信号に
変換してCPU11に入力するADC12a、電源回路
13、PNPトランジスタ14、通信バッファ15、C
PU11が出力する信号を所定電圧の駆動信号に変換し
て各アクチュエータ2,3に出力するアクチュエータ駆
動回路16、後述のデータ更新処理のプログラム等を書
換え不能に記憶したROM17、それらの処理に使用さ
れるデータを書換え可能に記憶するバックアップメモリ
(B/Uメモリ)18、および、抵抗器20を備えてい
る。
The ECU 5 includes a CPU 11 for executing various calculations including the above control, an input signal buffer 12 for inputting various sensor signals to the CPU 11, and a digital signal when the sensor signal is an analog signal. ADC 12a to be converted and input to CPU 11, power supply circuit 13, PNP transistor 14, communication buffer 15, C
An actuator drive circuit 16 that converts a signal output from the PU 11 into a drive signal of a predetermined voltage and outputs the drive signal to each of the actuators 2 and 3, a ROM 17 in which a program for a data update process described later is stored in a non-rewritable manner, and is used for those processes. Memory (B / U memory) 18 for rewritably storing data and a resistor 20.

【0021】なお、電源回路13は、バッテリ19から
電力供給を受けてECU5全体に所定の電圧を供給す
る。また、バックアップメモリ18は、イグニッション
キーをオフにしたときもバッテリ19から電力供給を受
け、その電力供給によってデータを常時保持する。すな
わち、バックアップメモリ18は第2記憶手段に相当す
る。更に、入力信号バッファ12に信号を入力するセン
サとしては、エンジン回転数センサ、吸気圧センサ、エ
ンジン冷却水温センサ等がある。また、ROM17はC
PU11の外部ROMとしたが、CPU11の内部RO
Mとしてもよい。
The power supply circuit 13 receives a power supply from the battery 19 and supplies a predetermined voltage to the entire ECU 5. Also, the backup memory 18 receives power supply from the battery 19 even when the ignition key is turned off, and always retains data by the power supply. That is, the backup memory 18 corresponds to a second storage unit. Further, sensors for inputting a signal to the input signal buffer 12 include an engine speed sensor, an intake pressure sensor, an engine coolant temperature sensor, and the like. The ROM 17 stores C
The external ROM of the PU 11 is used.
M may be used.

【0022】ECU5と記憶装置4とは、前述の電力供
給兼クロック信号線L1を含む3本の信号線L1〜L3
にて接続されている。ECU5内のCPU11は、PN
Pトランジスタ14のオン/オフを周期的に切り換え
て、そのPNPトランジスタ14の出力をクロック信号
として記憶装置4へ出力する。すると、前述のように、
そのクロック信号により記憶装置4のシリアル通信イン
タフェース7との同期を取ることができると共に、記憶
装置4の各素子へ電力を供給することができる。また、
シリアル通信インタフェース7は、通信バッファ8,シ
リアル通信線L2,通信バッファ15を介してCPU1
1と接続されている。更に、グランド線L3は、ECU
5側のグランド電位(アース電位)と記憶装置4のグラ
ンド電位とを直接接続し、双方の基準動作電位としてい
るが、グランド電位の変動が問題とならない場合は、燃
料噴射ポンプ1の筐体など導電性の構成部材を介して双
方のグランド電位を接続してもよい。
The ECU 5 and the storage device 4 are connected to three signal lines L1 to L3 including the power supply and clock signal line L1.
Connected at The CPU 11 in the ECU 5 has a PN
The on / off of the P transistor 14 is periodically switched, and the output of the PNP transistor 14 is output to the storage device 4 as a clock signal. Then, as mentioned above,
The clock signal can synchronize with the serial communication interface 7 of the storage device 4 and supply power to each element of the storage device 4. Also,
The serial communication interface 7 is connected to the CPU 1 via a communication buffer 8, a serial communication line L2, and a communication buffer 15.
1 is connected. Further, the ground line L3 is connected to the ECU
The ground potential (ground potential) on the fifth side and the ground potential of the storage device 4 are directly connected to each other and used as reference operating potentials. Both ground potentials may be connected via a conductive component.

【0023】次に、このように構成された燃料噴射ポン
プ制御装置の動作を説明する。CPU11は、上記クロ
ック信号に同期してOTPROM6から上記特性データ
を1ビットずつ読み込み、それをバックアップメモリ1
8に記憶する。その後、各センサ信号と上記記憶した特
性データとに応じて各アクチュエータ2,3を制御し、
燃料噴射時期,燃料噴射量を調整するのである。この制
御は周知であるので説明を省略する。また、バックアッ
プメモリ18に記憶したデータは、バッテリ19の出力
電圧の低下などにより破壊され、内容が変化することが
ある。そこで、CPU11は、バックアップメモリ18
に記憶された特性データを、OTPROM6から再び読
み込んだ特性データにより更新する次のデータ更新処理
を実行する。続いて、図2のフローチャートを用いてそ
のデータ更新処理について説明する。なお、CPU11
は、この処理を所定周期毎に繰り返し実行する。
Next, the operation of the fuel injection pump control device thus configured will be described. The CPU 11 reads the characteristic data from the OTPROM 6 bit by bit in synchronization with the clock signal, and stores it in the backup memory 1.
8 is stored. Thereafter, the actuators 2 and 3 are controlled according to the sensor signals and the stored characteristic data,
The fuel injection timing and fuel injection amount are adjusted. Since this control is well known, its description is omitted. Further, the data stored in the backup memory 18 may be destroyed due to a decrease in the output voltage of the battery 19 or the like, and the contents may change. Therefore, the CPU 11 sets the backup memory 18
Then, the next data update process is performed to update the characteristic data stored in the OTPROM 6 with the characteristic data read from the OTPROM 6 again. Subsequently, the data updating process will be described with reference to the flowchart of FIG. Note that the CPU 11
Repeatedly executes this process at predetermined intervals.

【0024】図2に示すように、処理を開始すると、先
ずステップ101にてデータ更新条件が成立したか否か
を判断する。ここで、データ更新条件としては、次の
〜に示すように種々の条件が考えられ、その内のいず
れかを採用する。なお、またはに示す条件を採用し
た場合が本発明の実施の形態であり、〜に示す条件
のみを採用した場合は本発明の範囲に含まれない単なる
参考例となる。 .イグニッションキーがオンされたときでありかつ一
定回数トリップ毎(但し、1トリップとは、一回のイグ
ニッションキーオンからオフまでを意味する) .イグニッションキーがオフされたときでありかつ一
定回数トリップ毎(但し、この条件を採用できるのは、
イグニッションキーがオフされた後所定時間ECU5に
電力が供給される装置に限る) .燃料噴射ポンプ1を搭載した車両の走行距離が所定
値に達する毎 .イグニッションキーがオンに保持された時間の積算
値が所定値に達する毎 .(または)かつ(エンジンストール時または低
回転時) データ更新条件が成立していないとき(101:NO)
は、ステップ103へ移行し、バックアップメモリ18
にバッテリ19から供給された電圧(バックアップメモ
リ保持電圧)が低下した履歴があるか否かを判断する。
低下した履歴がないとき(103:NO)は、ステップ
105へ移行し、バックアップメモリ18に記憶された
特性データに対してミラーチェックおよびSUMチェッ
クにより異常の有無を判断する。そして、特性データが
正常であれば、一旦処理を終了して次の処理周期まで待
機する。一方、データ更新条件が成立したとき(10
1:YES)、バックアップメモリ保持電圧が低下した
履歴があるとき(103:YES)、或いは、ミラーチ
ェックまたはSUMチェックにより特性データの異常が
検出されたときは、ステップ107以下の処理へ移行す
る。
As shown in FIG. 2, when the process is started, first, at step 101, it is determined whether or not a data update condition is satisfied. Here, as the data update condition, various conditions are considered as shown in the following (1) to (4), and any of them is adopted. In addition, adopt the conditions shown in or
Is an embodiment of the present invention, and the conditions shown in
If only is adopted, it is not included in the scope of the present invention.
It is a reference example. . When the ignition key is turned on and every fixed number of trips (however, one trip means from one ignition key on to one off). It is when the ignition key is turned off and every trip a fixed number of times (however, this condition can be adopted
(Limited to a device that supplies power to the ECU 5 for a predetermined time after the ignition key is turned off.) Each time the traveling distance of the vehicle equipped with the fuel injection pump 1 reaches a predetermined value. Each time the integrated value of the time that the ignition key is kept on reaches a predetermined value. (Or) (when the engine is stalled or at low speed) When the data update condition is not satisfied (101: NO)
Moves on to step 103, where the backup memory 18
It is determined whether there is a history that the voltage (backup memory holding voltage) supplied from the battery 19 has decreased.
If there is no degraded history (103: NO), the process proceeds to step 105, and the presence or absence of an abnormality is determined by performing a mirror check and a SUM check on the characteristic data stored in the backup memory 18. If the characteristic data is normal, the process is temporarily terminated and the process waits until the next processing cycle. On the other hand, when the data update condition is satisfied (10
1: YES), if there is a history of a decrease in the backup memory holding voltage (103: YES), or if an abnormality in the characteristic data is detected by a mirror check or a SUM check, the process proceeds to step 107 and subsequent steps.

【0025】ステップ107では、SUM値およびデー
タカウンタCDATAを0にリセットする。続くステッ
プ111では、OTPROM6から特性データを1デー
タ読み込み、ステップ113で、そのデータに対しオー
バーランエラーチェック,パリティチェック,フレーミ
ングエラーチェックにより異常の有無を判断する。デー
タが正常である場合はステップ115へ移行し、そのデ
ータ(1データ)をバックアップメモリ18に書き込む
と共に、データカウンタCDATAを一つインクリメン
トする。続くステップ117では、データカウンタCD
ATAの値が特性データの全データ数Nと一致したか否
かを判断する。一致しない場合(117:NO)は、ス
テップ119にてSUM値にそのデータの値を加算した
後、ステップ111へ移行して次のデータに対して同様
の処理を実行する。
In step 107, the SUM value and the data counter CDATA are reset to zero. In the following step 111, one piece of characteristic data is read from the OTPROM 6, and in step 113, it is determined whether there is any abnormality in the data by an overrun error check, a parity check, and a framing error check. If the data is normal, the process proceeds to step 115, where the data (one data) is written into the backup memory 18 and the data counter CDATA is incremented by one. In the following step 117, the data counter CD
It is determined whether or not the value of ATA matches the total number N of the characteristic data. If they do not match (117: NO), the value of the data is added to the SUM value in step 119, and the process proceeds to step 111 to execute the same processing for the next data.

【0026】このように、ステップ111〜119の処
理を繰り返し実行し、全てのデータをバックアップメモ
リ18に書き込み終るとCDATA=N(117:YE
S)となる。すると、ステップ121へ移行して、読み
込んだデータがSUM値と一致するか否かを判断する。
すなわち、最後に読み込んだデータはチェックSUMで
あるので、データが正常に読み込まれていればSUM値
とチェックSUMは一致するはずである。そこで、両者
が一致すれば(121:YES)特性データが正確に更
新されたと判断して一旦処理を終了する。一方、ステッ
プ111〜119の処理によりデータを1データずつ更
新する間に、ステップ113で異常が発見された場合、
および最後に読み込んだデータとSUM値とが一致しな
かった場合(121:NO)は、ステップ107へ移行
して特性データの更新を最初からやり直す。また、この
処理の実行中にタイムアウトエラーが発生した場合は、
周知のエラー処理を実行する。
As described above, the processing of steps 111 to 119 is repeatedly executed, and when all data has been written to the backup memory 18, CDATA = N (117: YE
S). Then, the process proceeds to step 121 to determine whether or not the read data matches the SUM value.
That is, since the last data read is the check SUM, the SUM value and the check SUM should match if the data is read normally. Therefore, if the two match (121: YES), it is determined that the characteristic data has been correctly updated, and the process is temporarily terminated. On the other hand, if an abnormality is found in step 113 while the data is updated one by one by the processing in steps 111 to 119,
If the last read data does not match the SUM value (121: NO), the process proceeds to step 107 to update the characteristic data again from the beginning. Also, if a timeout error occurs during this process,
Perform known error handling.

【0027】このように、本燃料噴射ポンプ制御装置で
は、バックアップメモリ18に記憶された特性データの
正誤に関わらず、運転状態に応じて定まるデータ更新条
件が成立したとき、およびバックアップメモリ保持電圧
が低下したときには、ステップ107以降のデータ更新
処理を実行している。すなわち、OTPROM6から特
性データを読み込み(ステップ111)、その読み込ん
だデータをバックアップメモリ18に書き込んでいる
(ステップ115)。
As described above, in the present fuel injection pump control device, regardless of whether the characteristic data stored in the backup memory 18 is correct or not, when the data update condition determined according to the operating state is satisfied, and when the backup memory holding voltage is When it has decreased, the data updating process from step 107 is executed. That is, the characteristic data is read from the OTPROM 6 (step 111), and the read data is written in the backup memory 18 (step 115).

【0028】このため、バックアップメモリ18の特性
データに異常が検出されなくても、その特性データをO
TPROM6の特性データで更新することができる。O
TPROM6は、特性データを通常は書換え不能に記憶
しており、そこに記憶されたデータが変化することはき
わめて少ない。従って、正確な特性データを用いてアク
チュエータ2,3の制御を実行することができる。よっ
て、本装置による燃料噴射ポンプ1の制御の信頼性がき
わめて高くなる。また、常に通信によって特性データを
得るわけではないので、処理が迅速化される。更に、燃
料噴射ポンプ1の特性データは、学習データのように自
動更新されて本来の値に近づくことがないので、上記デ
ータ更新処理の実行による効果が一層顕著になる。
Therefore, even if no abnormality is detected in the characteristic data of the backup memory 18, the characteristic data is
It can be updated with the characteristic data of the TPROM 6. O
The TPROM 6 normally stores the characteristic data in a non-rewritable manner, and the data stored therein rarely changes. Therefore, control of the actuators 2 and 3 can be executed using accurate characteristic data. Therefore, the reliability of the control of the fuel injection pump 1 by the present device becomes extremely high. In addition, since the characteristic data is not always obtained by communication, the processing is speeded up. Furthermore, since the characteristic data of the fuel injection pump 1 is automatically updated like learning data and does not approach the original value, the effect of executing the data update processing becomes more remarkable.

【0029】また、上記実施の形態では、特性データの
更新が指示されたとき(ステップ107以降の処理へ移
行したとき)無条件にバックアップメモリ18のデータ
を更新しているが、特性データの更新が指示されたと
き、バックアップメモリ18に記憶された特性データと
OTPROM6から読み込んだ特性データとを照合し、
その結果に応じて更新するしないを決定してもよい。
し、この場合も、本発明の範囲に含まれない単なる参考
例となる。図3は、このようなデータ更新処理の例を表
すフローチャートである。なお、図3には、図2のステ
ップ107〜121の部分に相当する処理のみを記載し
た。
Further, in the above embodiment, the data in the backup memory 18 is unconditionally updated when the update of the characteristic data is instructed (when the process proceeds to the processing after step 107). Is instructed, the characteristic data stored in the backup memory 18 is compared with the characteristic data read from the OTPROM 6,
You may decide not to update according to the result. However
However, in this case, too, it is merely a reference not included in the scope of the present invention.
An example. FIG. 3 is a flowchart illustrating an example of such a data update process. FIG. 3 shows only the processing corresponding to the steps 107 to 121 in FIG.

【0030】図3に示すように、特性データの更新条件
が成立してステップ201へ移行すると、通信時連続エ
ラーカウンタCRENおよびデータ不一致カウンタCF
UITを0にリセットする。続くステップ203では、
OTPROM6の特性データの全データを、バックアッ
プメモリ18のデータと照合する全データ受信処理を実
行する。この全データ受信処理の詳細を図4に示す。
As shown in FIG. 3, when the condition for updating the characteristic data is satisfied and the routine proceeds to step 201, the continuous communication error counter CREN and the data mismatch counter CF are set.
Reset UIT to 0. In the following step 203,
An all data reception process is performed in which all data of the characteristic data in the OTPROM 6 is compared with data in the backup memory 18. FIG. 4 shows the details of the all data reception processing.

【0031】図4に示すように、先ず、ステップ231
にて、データカウンタCDATA,SUM値,通信時エ
ラーフラグFTUS,および後述するデータ一致チェッ
クビット列の各ビットを「0」にリセットする。なお、
ステップ231では、リセットする前のデータ一致チェ
ックビット列のデータを前回データとして記憶した後上
記リセットを行う。
As shown in FIG. 4, first, at step 231
Resets the data counter CDATA, the SUM value, the communication error flag FTUS, and each bit of a data match check bit string to be described later to "0". In addition,
In step 231, the above-described reset is performed after storing the data of the data match check bit string before reset as the previous data.

【0032】続くステップ233では、特性データを1
データ読み込み、エラーチェック(パリティチェック,
オーバーランエラーチェック,フレーミングエラーチェ
ック)を実行し、異常があればステップ237で通信時
エラーフラグFTUSを1にセットした後、正常であれ
ばそのまま、ステップ241へ移行する。ステップ24
1ではデータカウンタCDATAを一つインクリメント
し、ステップ243で読み込みデータを仮ストアする。
すなわち、読み込みデータをバックアップメモリ18に
直接書き込むのではなく、一旦別の領域に記憶する。
In the following step 233, the characteristic data is set to 1
Data read, error check (parity check,
Overrun error check and framing error check) are executed. If there is any abnormality, the communication error flag FTUS is set to 1 in step 237, and if normal, the process proceeds to step 241. Step 24
At 1, the data counter CDATA is incremented by one, and at step 243, the read data is temporarily stored.
That is, the read data is not written directly to the backup memory 18 but is temporarily stored in another area.

【0033】続くステップ245で、その読み込みデー
タをバックアップメモリ18の該当データ(B/Uデー
タ)と照合し、両者が一致した場合(245:YES)
はそのままステップ247へ、一致しなかった場合(2
45:NO)は、ステップ249にて対応するデータ一
致チェックビットを「1」としてステップ247へ移行
する。続くステップ247〜253の処理は、図2のス
テップ117〜121の処理と同様である。すなわち、
SUM値を順次加算しながら(ステップ251)ステッ
プ233〜251の処理を実行し、CDATA=Nとな
ると(247:YES)最後に読み込んだデータ(チェ
ックSUM)とSUM値とが一致するか否かを判断する
(ステップ253)のである。ステップ253にて肯定
判断したときはそのまま図3のルーチンへ復帰し、否定
判断したときは通信時エラーフラグFTUSを1にセッ
トした後(ステップ255)図3のルーチンへ復帰す
る。
In the following step 245, the read data is collated with the corresponding data (B / U data) in the backup memory 18, and if they match (245: YES).
Goes to step 247 as it is,
45: NO), the corresponding data match check bit is set to "1" in step 249, and the routine goes to step 247. The subsequent processes of steps 247 to 253 are the same as the processes of steps 117 to 121 in FIG. That is,
The processes of steps 233 to 251 are executed while sequentially adding the SUM values (step 251). When CDATA = N (247: YES), it is determined whether or not the last read data (check SUM) matches the SUM value. Is determined (step 253). If an affirmative determination is made in step 253, the process returns to the routine of FIG. 3 as it is. If a negative determination is made, the communication error flag FTUS is set to 1 (step 255), and the process returns to the routine of FIG.

【0034】ここで、データ一致チェックビット列の構
成を図5の例を用いて説明する。図5の例では、特性デ
ータがDATA1〜DATA6の6個のデータおよびチ
ェックSUMから構成され、そのうちDATA1,DA
TA3,DATA4,DATA5,およびチェックSU
Mが一致し、DATA2,DATA6が不一致である。
このような場合、データ一致チェックビット列では、D
ATA2,DATA6に対応するデータ一致チェックビ
ットが「1」となり、他のデータ一致チェックビットが
「0」となる。
Here, the configuration of the data match check bit string will be described using the example of FIG. In the example of FIG. 5, the characteristic data is composed of six data DATA1 to DATA6 and a check SUM.
TA3, DATA4, DATA5 and check SU
M matches, and DATA2 and DATA6 do not match.
In such a case, in the data match check bit string, D
The data match check bits corresponding to ATA2 and DATA6 become "1", and the other data match check bits become "0".

【0035】図3に戻って、ステップ203の全データ
受信処理が終了すると、ステップ265にて通信時エラ
ーフラグFTUSが0であるか否かを判断する。通信時
の異常がなくFTUS=0の場合(YES)はステップ
267へ移行し、データ一致チェックビット列の全ビッ
トが「0」となっているか否か、すなわち、バックアッ
プメモリ18に記憶された特性データがOTPROM6
から読み込んだ特性データと完全に一致するか否かを判
断する。一致している場合(YES)はそのまま処理を
終了し、一致していない場合(NO)はステップ269
にてデータ不一致カウンタCFUITを一つインクリメ
ントした後ステップ271へ移行する。
Returning to FIG. 3, when the all data reception processing in step 203 is completed, it is determined in step 265 whether or not the communication error flag FTUS is 0. If there is no abnormality during communication and FTUS = 0 (YES), the flow shifts to step 267 to determine whether or not all bits of the data match check bit string are “0”, that is, the characteristic data stored in the backup memory 18. Is OTPROM6
It is determined whether or not it completely matches the characteristic data read from. If they match (YES), the process ends, and if they do not match (NO), step 269
Then, the data mismatch counter CFUIT is incremented by one, and the process proceeds to step 271.

【0036】ステップ271では、データ不一致カウン
タCFUITが所定値M以上になったか否かを判断す
る。Mに達していない場合(NO)はステップ273へ
移行して、同じデータが連続して不一致であるか否かを
判断する。すなわち、前述のステップ231にて前回デ
ータとして記憶したデータ一致チェックビット列と、ス
テップ249で作成したデータ一致チェックビット列と
を比較し、連続して「1」となっているビットが存在す
るか否かを判断する。初めてこのステップへ移行したと
きは否定判断して、ステップ203の全データ受信処理
からやり直す。
At step 271, it is determined whether or not the data mismatch counter CFUIT has become equal to or greater than a predetermined value M. If M has not been reached (NO), the flow shifts to step 273 to determine whether or not the same data is continuously inconsistent. That is, the data match check bit string stored as the previous data in step 231 is compared with the data match check bit string created in step 249, and it is determined whether or not there are bits that are continuously “1”. Judge. When the process shifts to this step for the first time, a negative determination is made, and the process is repeated from the all data reception process of step 203.

【0037】一方、連続して「1」となったデータ一致
チェックビットが存在した場合、ステップ275へ移行
し、全データ強制更新処理を実行して一旦処理を終了す
る。連続して不一致となったデータが存在した場合、バ
ックアップメモリ18に記憶されたそのデータが変化
(破壊)している可能性がきわめて高い。そこで、この
場合、図2のステップ111〜119で実行したよう
に、バックアップメモリ18の特性データをOTPRO
M6から読み込んだデータで更新するのである。
On the other hand, if there is a data coincidence check bit that is continuously "1", the flow shifts to step 275, where the all data forced update process is executed and the process is once ended. If there is data that does not match continuously, it is highly likely that the data stored in the backup memory 18 has changed (destructed). Therefore, in this case, the characteristic data of the backup memory 18 is stored in the OTPRO as executed in steps 111 to 119 in FIG.
It is updated with the data read from M6.

【0038】また、2巡目以降の処理でステップ273
で否定判断した場合、OTPROM6から読み込んだデ
ータにノイズ等が重畳し、上記データの不一致(26
7:NO)を判断した可能性がある。そこで、この場
合、ステップ203へ移行して前述の全データ受信処理
からやり直す。そして、このステップ203〜273の
ループをM回繰り返すと、すなわち、M回連続してデー
タの不一致(267:NO)を判断したが、それまでに
連続して不一致と判断されたデータが一つもなかった
(273:NO)場合、ステップ271にて肯定判断
し、ステップ277にて通信処理異常カウンタをインク
リメントして一旦処理を終了する。
In the processing of the second and subsequent rounds, step 273 is executed.
If a negative determination is made in step (2), noise or the like is superimposed on the data read from the OTPROM
7: NO). Therefore, in this case, the processing shifts to step 203 and the processing from the above-mentioned all data reception processing is repeated. When the loop of steps 203 to 273 is repeated M times, that is, it is determined that data does not match continuously (267: NO), but none of the data that has been continuously determined to be mismatching up to that time is determined. If not (273: NO), an affirmative determination is made in step 271 and the communication processing abnormality counter is incremented in step 277, and the processing is once ended.

【0039】この通信処理異常カウンタとは、OTPR
OM6のデータの破壊、通信機能の故障、通信線の断線
などの可能性を示唆するカウンタで、このカウンタが所
定値に達した場合、特性データの代わりに予め設定され
た所定データ(いわゆるデフォルト値)を使用する処理
や、警告灯点灯などの処理を別ルーチンにより実行す
る。なお、この種の処理は周知であるのでここでは詳述
しない。
The communication processing abnormality counter is defined as OTPR
A counter that indicates the possibility of data destruction of the OM6, malfunction of the communication function, disconnection of the communication line, etc. When the counter reaches a predetermined value, predetermined data (so-called default value) is used instead of the characteristic data. ), And processing such as turning on a warning lamp is executed by another routine. This type of processing is well known and will not be described in detail here.

【0040】また、全データ受信処理(ステップ20
3)中に、ステップ237または255で通信時エラー
フラグFTUSがセットされた場合、ステップ265で
否定判断してステップ281へ移行する。ステップ28
1では、通信時連続エラーカウンタCRENを一つイン
クリメントし、続くステップ283では、CREN≧K
か否かを判断する。CREN<K(283:NO)の場
合は再びステップ203へ移行し、前述の処理を繰り返
す。そして、CREN≧K(283:YES)となる
と、すなわち、K回続けて通信時エラーフラグFTUS
がセットされると(265:NO)、ステップ285へ
移行して通信時連続エラーフラグをセットする。通信時
連続エラーフラグとは、外部ノイズが頻繁に重畳してい
る可能性や、通信線またはコネクタの接触不良を示唆す
るフラグで、このフラグがセットされたときOTPRO
M6との通信を停止するように制御してもよい。また、
ステップ285の次は、前述のステップ277へ移行す
る。
Further, all data reception processing (step 20)
If the communication error flag FTUS is set in step 237 or 255 during 3), a negative determination is made in step 265 and the process proceeds to step 281. Step 28
In step 1, the communication error counter CREN is incremented by one. In step 283, CREN ≧ K
It is determined whether or not. If CREN <K (283: NO), the process returns to step 203 to repeat the above processing. Then, when CREN ≧ K (283: YES), that is, the communication error flag FTUS continues K times.
Is set (265: NO), the process proceeds to step 285, and a communication continuous error flag is set. The communication continuous error flag is a flag indicating that external noise may be frequently superimposed or that a communication line or a connector is in poor contact. When this flag is set, OTPRO is set.
Control may be performed to stop communication with M6. Also,
After step 285, the process proceeds to step 277 described above.

【0041】このため、本実施の形態では、前述の実施
の形態の効果に加えて、次のような効果が生じる。すな
わち、本実施の形態では、OTPROM6から読み込ん
だ特性データとバックアップメモリ18に記憶された特
性データとが完全に一致したとき(267:YES)
は、特性データの更新を行わない。このような場合に特
性データを更新してもその更新の前後で何の変化もな
く、そのデータ更新処理が無駄になるからである。従っ
て、無駄なデータ更新処理を省略して、制御を一層能率
化することができる。
For this reason, the present embodiment has the following effects in addition to the effects of the above-described embodiment. That is, in the present embodiment, when the characteristic data read from the OTPROM 6 completely matches the characteristic data stored in the backup memory 18 (267: YES).
Does not update the characteristic data. In such a case, even if the characteristic data is updated, there is no change before and after the update, and the data update process is useless. Therefore, unnecessary data update processing can be omitted, and control can be made more efficient.

【0042】また、本実施の形態では、一度データが一
致しないと判断(267:NO)しても、複数回に渡っ
て照合を繰り返し、同一データが連続して不一致である
と判断したとき(ステップ273:YES)のみ特性デ
ータを更新している(ステップ275)。このため、デ
ータにノイズが重畳するなどして、両者が一致しないと
判断したときも、2回目以降の照合で両者が一致した場
合(267:YES)は特性データの更新を行わない。
従って、無駄なデータ更新処理を一層良好に省略し、制
御を一層能率化することができる。更に、通信系等の異
常の可能性がある場合(271:YES,283:YE
S)も、特性データの更新を行わない。このため、バッ
クアップメモリ18の特性データを誤ったデータで更新
してしまうのを良好に防止することができる。従って、
制御の信頼性を一層向上させることができる。
Further, in the present embodiment, even if it is determined that the data does not match once (267: NO), the collation is repeated a plurality of times, and when it is determined that the same data does not match continuously ( Only in step 273: YES), the characteristic data is updated (step 275). For this reason, even when it is determined that the two do not match due to, for example, noise superimposition on the data, if the two match in the second and subsequent verifications (267: YES), the characteristic data is not updated.
Therefore, unnecessary data update processing can be omitted better, and control can be made more efficient. Further, when there is a possibility that the communication system is abnormal (271: YES, 283: YE
S) also does not update the characteristic data. Therefore, it is possible to properly prevent the characteristic data in the backup memory 18 from being updated with erroneous data. Therefore,
Control reliability can be further improved.

【0043】なお、上記各実施の形態において、CPU
11がデータ更新手段および演算手段に相当し、ステッ
プ107〜121の処理、およびステップ275の処理
がデータ更新手段に、バックアップメモリ18の特性デ
ータを用いてアクチュエータ2,3を制御する処理が演
算手段に、それぞれ相当する。
In each of the above embodiments, the CPU
11 corresponds to data updating means and calculating means, the processing of steps 107 to 121 and the processing of step 275 are data updating means, and the processing of controlling the actuators 2 and 3 using the characteristic data of the backup memory 18 is the calculating means. to, its corresponding respectively.

【0044】また、本発明は、上記各実施の形態になん
ら限定されるものではなく、本発明の要旨を逸脱しない
範囲で種々の形態で実施することができる。例えば、デ
ータを書換え不能に記憶する第1記憶手段としては、O
TPROM6のように特性データをデジタルデータとし
て記憶するものに限らず、例えば、抵抗器,コンデン
サ,誘導器などのように、アナログデータとして記憶す
るものも適用することができる。
The present invention is not limited to the above embodiments, and can be implemented in various forms without departing from the gist of the present invention. For example , the first storage means for storing data in a non-rewritable manner includes O
The characteristic data as TPROM6 not limited to be stored as digital data, for example, resistors, capacitors, such as inductors, Ru can be applied shall be stored as analog data.

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

【図1】 本発明が適用された燃料噴射ポンプ制御装置
の構成を表すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a fuel injection pump control device to which the present invention has been applied.

【図2】 その燃料噴射ポンプ制御装置で実行される特
性データのデータ更新処理を表すフローチャートであ
る。
FIG. 2 is a flowchart showing a data updating process of characteristic data executed by the fuel injection pump control device.

【図3】 他のデータ更新処理を表すフローチャートで
ある。
FIG. 3 is a flowchart illustrating another data update process.

【図4】 該データ更新処理の全データ受信処理を表す
フローチャートである。
FIG. 4 is a flowchart showing an entire data receiving process of the data updating process.

【図5】 該データ更新処理で使用されるデータ一致チ
ェックビット列の構成を表す説明図である。
FIG. 5 is an explanatory diagram showing a configuration of a data match check bit string used in the data update processing.

【図6】 従来のチェックで検出されないデータ異常を
例示する説明図である。
FIG. 6 is an explanatory diagram illustrating a data abnormality that is not detected by a conventional check.

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

1…ディーゼル機関用電子制御燃料噴射ポンプ 2…燃料噴射量制御用アクチュエータ 3…燃料噴射時期制御用アクチュエータ 4…記憶装置 5…ECU 6…OTPROM 7…シリアル通信インタフェース 11…CPU 17…ROM 18…バックアップ
メモリ 19…バッテリ L1…電力供給兼クロック信号線 L2…シリアル通信線 L3…グランド線 L4…書き込み用電圧供給線
DESCRIPTION OF SYMBOLS 1 ... Electronic control fuel injection pump for diesel engines 2 ... Actuator for fuel injection amount control 3 ... Actuator for fuel injection timing control 4 ... Storage device 5 ... ECU 6 ... OTPROM 7 ... Serial communication interface 11 ... CPU 17 ... ROM 18 ... Backup Memory 19: Battery L1: Power supply and clock signal line L2: Serial communication line L3: Ground line L4: Write voltage supply line

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI F02D 45/00 370 F02D 45/00 370F (56)参考文献 特開 昭61−240350(JP,A) 特開 平4−263347(JP,A) 特開 平4−125752(JP,A) 特開 平5−289949(JP,A) 特公 平4−28901(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G06F 12/16 F02D 1/08 F02D 41/24 F02D 41/40 F02D 45/00 ────────────────────────────────────────────────── (5) Continuation of the front page (51) Int.Cl. 7 Identification symbol FI F02D 45/00370 F02D 45 / 00370F (JP, A) JP-A-4-125752 (JP, A) JP-A-5-289949 (JP, A) JP-B-4-28901 (JP, B2) (58) Fields investigated (Int. Cl. 7) , DB name) G06F 12/16 F02D 1/08 F02D 41/24 F02D 41/40 F02D 45/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 内燃機関の燃料噴射ポンプの特性データ
を書換え不能に記憶する不揮発性の第1記憶手段と、上記特性 データを書換え可能に記憶する第2記憶手段
と、 上記第1記憶手段に記憶された上記特性データを読み込
み、該読み込んだ特性データを上記第2記憶手段に書き
込むデータ更新処理を実行するデータ更新手段と、 上記第2記憶手段に記憶された上記特性データに基づ
、上記燃料噴射ポンプを制御する演算を実行する演算
手段と、 を備えたデータ処理装置において、 上記データ更新手段が、上記第2記憶手段に記憶された
上記特性データの正誤に関わらず、イグニッションキー
がオンされたときでありかつ一定回数トリップ(但
し、1トリップとは、一回のイグニッションキーオンか
らオフまでを意味する)に、上記データ更新処理を実行
することを特徴とするデータ処理装置。
1. A nonvolatile first storage means for storing the characteristic data of a fuel injection pump of an internal combustion engine in a non-rewritable manner, a second storage means for storing the characteristic data in a rewritable manner, and the first storage means. read the stored the characteristic data, a data updating means for performing the data update processing for writing the read characteristic data to said second storage means, based on the characteristic data stored in said second storage means, the fuel A data processing device comprising: an arithmetic unit for performing an arithmetic operation for controlling the injection pump; wherein the data updating unit is configured to perform an ignition key operation regardless of whether the characteristic data stored in the second storage unit is correct or not.
Is turned on and at a certain number of trips (however,
And one trip means one ignition key-on
The meaning) until Luo off, the data processing apparatus and executes the data update processing.
【請求項2】 内燃機関の燃料噴射ポンプの特性データ
を書換え不能に記憶する不揮発性の第1記憶手段と、上記特性 データを書換え可能に記憶する第2記憶手段
と、 上記第1記憶手段に記憶された上記特性データを読み込
み、該読み込んだ特性データを上記第2記憶手段に書き
込むデータ更新処理を実行するデータ更新手段と、 上記第2記憶手段に記憶された上記特性データに基づ
、上記燃料噴射ポンプを制御する演算を実行する演算
手段と、 を備えたデータ処理装置において、 上記データ更新手段が、上記第2記憶手段に記憶された
上記特性データの正誤に関わらず、イグニッションキー
がオフされたときでありかつ一定回数トリップ毎(但
し、1トリップとは、一回のイグニッションキーオンか
らオフまでを意味する)に、上記データ更新処理を実行
することを特徴とするデータ処理装置。
2. A non-volatile first storage means for non-rewritably storing characteristic data of a fuel injection pump of an internal combustion engine ; a second storage means for rewritably storing the characteristic data; read the stored the characteristic data, a data updating means for performing the data update processing for writing the read characteristic data to said second storage means, based on the characteristic data stored in said second storage means, the fuel A data processing device comprising: a calculation unit configured to perform a calculation for controlling the injection pump; wherein the data update unit is stored in the second storage unit.
Regardless of whether the above characteristic data is correct or not, the ignition key
Is turned off and every trip a fixed number of times (however,
And one trip means one ignition key-on
The meaning) until Luo off, the data processing apparatus and executes the data update processing.
【請求項3】 上記第2記憶手段における記憶を保持す
るための電圧が低下した履歴がある場合にも、上記特性
データの正誤に関わらず、上記データ更新手段 が上記デ
ータ更新処理を実行することを特徴とする請求項1また
は2記載のデータ処理装置。
3. The storage in the second storage means is held.
Even if there is a history of voltage drop due to
Regardless of the correctness of the data, the data updating means is above de
3. The data processing device according to claim 1, wherein the data processing device executes data update processing .
JP08154288A 1996-06-14 1996-06-14 Data processing device Expired - Fee Related JP3136994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08154288A JP3136994B2 (en) 1996-06-14 1996-06-14 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08154288A JP3136994B2 (en) 1996-06-14 1996-06-14 Data processing device

Publications (2)

Publication Number Publication Date
JPH103433A JPH103433A (en) 1998-01-06
JP3136994B2 true JP3136994B2 (en) 2001-02-19

Family

ID=15580876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08154288A Expired - Fee Related JP3136994B2 (en) 1996-06-14 1996-06-14 Data processing device

Country Status (1)

Country Link
JP (1) JP3136994B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2810152A1 (en) * 2000-06-13 2001-12-14 St Microelectronics Sa EEPROM for securing electronic devices such as chip cards has elements for detection and correction of memory errors within the secure non-erasable memory area
US7706445B2 (en) 2001-05-31 2010-04-27 Sanyo Electric Co., Ltd. Image processing employing picture type conversion
US7245821B2 (en) 2001-05-31 2007-07-17 Sanyo Electric Co., Ltd. Image processing using shared frame memory
JP3548136B2 (en) 2001-06-01 2004-07-28 三洋電機株式会社 Image processing device
JP2012026377A (en) * 2010-07-26 2012-02-09 Denso Corp Error detecting device for injection characteristic data
JP5749211B2 (en) * 2012-04-17 2015-07-15 コーセル株式会社 Switching power supply device and switching power supply program writing system
JP6119682B2 (en) 2014-06-27 2017-04-26 株式会社デンソー Electronic control unit

Also Published As

Publication number Publication date
JPH103433A (en) 1998-01-06

Similar Documents

Publication Publication Date Title
JP3491419B2 (en) Electronic control unit
US6401163B1 (en) Apparatus and method for rewriting data from volatile memory to nonvolatile memory
JP4539757B2 (en) Electronic control unit
US20090254242A1 (en) Electronic control apparatus and vehicle control system
US7203581B2 (en) Electronic control unit for controlling updating of data in non-volatile memory
EP0065703A2 (en) Electronic control method and apparatus for internal combustion engine
JP3136994B2 (en) Data processing device
US5909391A (en) Method for storing data in memory
JP4475345B2 (en) Electronic control unit
US6957135B2 (en) Electronic control system
US6502021B2 (en) Vehicle control computer apparatus having self-diagnosis function
JPH1136974A (en) Vehicle control device
JPH11141391A (en) Automotive control device
JP3846398B2 (en) Vehicle control device
US7181645B2 (en) Method and apparatus for storing main data with two checkup data
JP7029366B2 (en) Electronic control device for automobiles
JPH08153397A (en) Eeprom data rewrite controller
JP2865023B2 (en) Correction data processing device
JPH07210215A (en) Data check method of EEPROM
JPS623312A (en) Vehicle electronic control unit
JP6156242B2 (en) Electronic control device for vehicle
JP6381490B2 (en) In-vehicle electronic control unit
JPH0777102A (en) In-vehicle electronic control unit
JPH11203208A (en) Short circuit detection method for serial communication line
JPH10213002A (en) Data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees