JPS63195357A - Electronic control type fuel injection unit - Google Patents

Electronic control type fuel injection unit

Info

Publication number
JPS63195357A
JPS63195357A JP62025596A JP2559687A JPS63195357A JP S63195357 A JPS63195357 A JP S63195357A JP 62025596 A JP62025596 A JP 62025596A JP 2559687 A JP2559687 A JP 2559687A JP S63195357 A JPS63195357 A JP S63195357A
Authority
JP
Japan
Prior art keywords
data
control program
control
fuel injection
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
JP62025596A
Other languages
Japanese (ja)
Inventor
Masataka Ishikawa
石川 昌孝
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.)
Bosch Corp
Original Assignee
Diesel Kiki Co Ltd
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 Diesel Kiki Co Ltd filed Critical Diesel Kiki Co Ltd
Priority to JP62025596A priority Critical patent/JPS63195357A/en
Priority to KR1019870015471A priority patent/KR880010228A/en
Publication of JPS63195357A publication Critical patent/JPS63195357A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/22Safety or indicating devices for abnormal conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To simplify the change of the control program, by determining whether the control program is written in an EPROM depending on the identification data or not at the starting of the control, and selecting either the execution of the control program or the writing. CONSTITUTION:A microcomputer 30 of a control unit 21 executes a necessary control operation by the control programs and the data in a ROM 32 and an EPROM 41. The EPROM 41 can write a desired control program by the microcomputer 30, and can erase all the contents by radiating an ultraviolet ray when a change is necessary. By operating the control unit 21, the microcomputer 30 takes a mode to write a control program to the EPROM 41, and by giving the data related to the desired control program to the microcomputer 30, the desired control program is stored in the EPROM 41. In such a way, the change of the control program can be executed simply without changing parts in the control unit which is incorporated to a fuel injection pump.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は電子制御式の燃料噴射装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an electronically controlled fuel injection device.

(従来の技術) 電子制御式の内燃機関用燃料噴射装置においては、一般
に、燃料調節部材及び又は噴射時期調節部材の如き所要
の調節部材を操作するためのアクチェータが燃料噴射ポ
ンプ本体に設けられており、ポンプ本体とは別体に設け
られた制御ユニットにおいて噴射量及び又は噴射時期の
制御演算が行なわれ、その演算結果得られた制御信号が
所定の接続ケーブルを介して所要のアクチェータに印加
される構成となっている。従って、制御ユニット内での
演算は燃料噴射ポンプの機械的なばらつき等を考慮しな
ければならず、このため、ポテンショメータ又はスイッ
チの如き補正用の素子が制御ユニット内に設けられ、そ
の時組合わされる燃料噴射ポンプ毎に補正用素子の調節
を行なっていた。
(Prior Art) In an electronically controlled fuel injection device for an internal combustion engine, an actuator is generally provided in the fuel injection pump body for operating required adjustment members such as a fuel adjustment member and/or an injection timing adjustment member. In this case, control calculations for the injection amount and/or injection timing are performed in a control unit provided separately from the pump body, and the control signal obtained as a result of the calculation is applied to the required actuator via a predetermined connection cable. The configuration is as follows. Therefore, calculations within the control unit must take into account mechanical variations in the fuel injection pump, and for this reason, compensating elements such as potentiometers or switches are provided within the control unit and are combined at that time. The correction element was adjusted for each fuel injection pump.

このため、制御ユニット又は燃料噴射ポンプの交換を行
なうと、その度に補正用素子の調整作業が必要となり、
保守1点検のためのコストが高くならざるを得ないとい
う問題点を有していた。
Therefore, whenever the control unit or fuel injection pump is replaced, the correction element must be adjusted each time.
There was a problem in that the cost for one maintenance inspection had to be high.

上述の問題点を改善するため、例えば、ディーゼル機関
用の燃料噴射装置において、ポンプ側の電気回路に接続
されたコネクタ内に調整素子を内蔵せしめ、この調整素
子により制御ユニットによる制御信号をその噴射ポンプ
の個有の特性に従って補正する構成としたものが提案さ
れているが、この構成では、調整素子がその燃料噴射ポ
ンプの特性に従ってセットされているので、制御ユニッ
トを交換しても調整素子を再調整する必要はないが、噴
射ポンプの交換を行った場合にはやはり調整素子の再調
整が必要である。
In order to improve the above-mentioned problems, for example, in a fuel injection device for a diesel engine, an adjustment element is built into the connector connected to the electric circuit on the pump side, and the adjustment element uses the control signal from the control unit to control the injection. A configuration has been proposed in which the adjustment is made according to the unique characteristics of the fuel injection pump, but in this configuration, the adjustment element is set according to the characteristics of the fuel injection pump, so even if the control unit is replaced, the adjustment element does not change. Although there is no need for readjustment, the adjustment element still needs to be readjusted if the injection pump is replaced.

この不具合を解決するため、本出願人は、燃料噴射ポン
プの特性に関するデータが予めストアされているメモリ
と燃料噴射ポンプの制御のための制御演算を行なう演算
手段とを燃料噴射ポンプ本体に設け、これにより、燃料
噴射ポンプの交換を行なった場合でも、無調整にて、外
部からの信号により示される制御目標値に従った制御i
t量を得ることができるようにした燃料噴射装置を提案
した(特開昭61−1823号公報参照)。
In order to solve this problem, the applicant provided the fuel injection pump body with a memory in which data regarding the characteristics of the fuel injection pump are stored in advance and a calculation means for performing control calculations for controlling the fuel injection pump. As a result, even if the fuel injection pump is replaced, control i according to the control target value indicated by an external signal can be performed without adjustment.
proposed a fuel injection device capable of obtaining the amount of t (see Japanese Patent Laid-Open No. 1823/1983).

(発明が解決しようとする問題点) しかし、この提案された装置では、制御プログラムが、
燃料噴射ポンプ内に組込まれた制御ユニット内のROM
内に書き込まれているので、例えば制御プログラムの改
良を行なった場合、旧制部プログラムを書き込んである
燃料噴射糸ンブはそのプログラムを変更しなければ使用
できなくなってしまうという問題点が生じる。
(Problem to be solved by the invention) However, in this proposed device, the control program
ROM in the control unit built into the fuel injection pump
For example, if the control program is improved, the fuel injection thread tube into which the old control program has been written will become unusable unless the program is changed.

ところで、この種の装置では、コントロールユニットの
実装密度を高めるために、メモリ素子等の各部品として
リードレスチップキャリア(LCC)等の小型部品を使
用しているが、こ9種の小型部品は一旦ハンダ付けによ
り基板に取り付けてしまうとそれを取りはずすのは容易
ではなく、従って、旧いメモリ素子を新しいプログラム
の書き込まれたメモリ素子に変換するのは極めて困難で
あり、旧型の燃料噴射ポンプの制御プログラムを変更す
るには多くの手間と費用とを必要とするものである。
By the way, in this type of device, in order to increase the packaging density of the control unit, small parts such as leadless chip carriers (LCC) are used as memory elements and other parts, but these nine types of small parts are Once attached to the board by soldering, it is not easy to remove, and therefore it is extremely difficult to convert the old memory element to a memory element with a new program, which can be used to control old fuel injection pumps. Changing a program requires a lot of effort and expense.

本発明の目的は、従って、コントロールユニットの部品
を交換することなく、制御プログラムの変更を簡単に行
なえるようにした電子制御式燃料噴射装置を提供するこ
とにある。
Therefore, it is an object of the present invention to provide an electronically controlled fuel injection system in which the control program can be easily changed without replacing parts of the control unit.

(問題点を解決するための手段) 上記目的を達成するための本発明の内容は、予め与えら
れた制御プログラムに従って燃料噴射ポンプの作動をマ
イクロコンピュータによって制御するようにした電子制
御式燃料噴射装置において、上記制御プログラムをスト
アするだめの書換え可能な読出し専用メモリと、該読出
し専用メモリ内に制御プログラムがストアされているか
否かを示す識別データをストアする手段と、制御の開始
時に上記識別データに基づいて上記読出し専用メモリに
制御プログラムが書込まれているか否かを判別しその結
果に応じて制御プログラムの実行か又は制御プログラム
の書込みかを選択する手段とを備えた点に特徴を有する
(Means for Solving the Problems) The content of the present invention for achieving the above object is an electronically controlled fuel injection device in which the operation of a fuel injection pump is controlled by a microcomputer according to a control program given in advance. a rewritable read-only memory for storing the control program; means for storing identification data indicating whether or not the control program is stored in the read-only memory; and means for storing the identification data at the start of control. The method is characterized in that it includes means for determining whether or not a control program is written in the read-only memory based on the above, and for selecting execution of the control program or writing of the control program according to the result. .

(作 用) 本装置では、制御プログラムをストアしてお(ための手
段として、書換え可能な読出し専用メモリ (以下、B
FROMという)を使用しており、したがって、制御プ
ログラムが改良された場合等には、EPROMに設けら
れている消去用窓を開いて紫外線を照射することにより
ストアされていた制御プログラムを消去することができ
、別の制御プログラムをI!FROMにストアすること
ができる。
(Function) This device uses a rewritable read-only memory (hereinafter referred to as B) as a means for storing control programs.
Therefore, when the control program is improved, the stored control program can be erased by opening the erase window provided in the EPROM and irradiating it with ultraviolet light. and another control program I! Can be stored in FROM.

[EPROMがどのような状態にあるかを示す識別デー
タがストアされており、制御の開始時にこの識別データ
に基づいて、tiPROM内に制御プログラムが書込ま
れているか否かを判別し、その結果に応じて制御プログ
ラムをEPROM内に書込むか、又はストアされている
制御プログラムを実行するかの選択を行なう。
[Identification data indicating what state the EPROM is in is stored, and at the start of control, it is determined whether or not a control program has been written in the tiPROM based on this identification data, and the result is Depending on the situation, a selection is made whether to write the control program into the EPROM or to execute the stored control program.

(実施例) 以下、図示の実施例により本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1図には、本発明による電子制御式の燃料噴射装置の
一実施例を示す構成図が示されている。
FIG. 1 shows a configuration diagram of an embodiment of an electronically controlled fuel injection device according to the present invention.

燃料噴射装置11は、ディーゼル機関12からの回転出
力により駆動され該ディーゼル機関12へ燃料を噴射供
給するための燃料噴射ポンプ13と、該燃料噴射ポンプ
13に与える制御データを演算するための外部コントロ
ールユニット14とtJtえている。
The fuel injection device 11 includes a fuel injection pump 13 that is driven by rotational output from a diesel engine 12 to inject and supply fuel to the diesel engine 12, and an external control for calculating control data to be applied to the fuel injection pump 13. Unit 14 and tJt are listed.

燃料噴射ポンプ13は、ディーゼル機関12に連結され
た入力軸16の回転に従ってプランジャバレル17内を
往復回転するプランジャ18と、プランジャバレル17
内に形成された燃料吸入/排出用の通路19のボート1
9aに設けられた電磁弁20とを有し、通路19を介し
て燃料が吸入された後、プランジャ18が上昇中の所定
のタイミングで電磁弁20を閉じることにより、吸入燃
料の圧縮及びデリバリ−パルプ(図示せず)からの噴射
が開始され、電磁弁20が開かれることにより燃料噴射
が終了する。即ち、電磁弁20を閉じるタイミングを制
御することにより噴射進角(噴射時期)を制御すること
ができ、電磁弁20を閉じてから開くまでの時間を制御
することにより噴射量を制御することができる構成とな
っている。電磁弁20の開閉制御は、燃料噴射ポンプ1
3内に見込まれている内部制御ユニット21により後述
の如くして行なわれる。
The fuel injection pump 13 includes a plunger 18 that reciprocates within a plunger barrel 17 according to rotation of an input shaft 16 connected to the diesel engine 12, and a plunger barrel 17.
Boat 1 with passages 19 for fuel intake/discharge formed in the boat 1
After the fuel is sucked through the passage 19, the solenoid valve 20 is closed at a predetermined timing while the plunger 18 is rising, thereby compressing and delivering the sucked fuel. Injection from pulp (not shown) is started, and fuel injection is ended by opening the electromagnetic valve 20. That is, the injection advance angle (injection timing) can be controlled by controlling the timing of closing the solenoid valve 20, and the injection amount can be controlled by controlling the time from when the solenoid valve 20 is closed until it is opened. It is configured so that it can be done. The opening/closing control of the solenoid valve 20 is performed by the fuel injection pump 1
This is carried out as described below by the internal control unit 21, which is expected to be located within 3.

外部コントロールユニット14は、ディーゼル機関12
のその時々の運転状態を示す各種のデータに従って、そ
の時のディーゼル機関12への所要の噴射量Qt及び噴
射進角値θ、を夫々示すデータD+、Dgを出力するも
のであり、アクセルペダル(図示せず)の操作量を示す
アクセルデータA及びブースト圧を示す圧力データPが
、アクセルセンサ22及びブースト圧センサ23から大
夫人力されている。更に、ディーゼル機関12のクラン
ク軸12aに装着された上死点センサ24からは、ディ
ーゼル機関12のピストン(図示せず)が上死点位置に
到達する毎に上死点パルスTDCが出力され、この上死
点パルスTDCが外部コントロールユニット14及び内
部コントロールユニット2・1に入力されている。
The external control unit 14 controls the diesel engine 12
It outputs data D+ and Dg indicating the required injection amount Qt and injection advance value θ to the diesel engine 12 at that time, respectively, according to various data indicating the operating state of the engine at the time. Accelerator data A indicating the operation amount (not shown) and pressure data P indicating the boost pressure are outputted from the accelerator sensor 22 and the boost pressure sensor 23. Furthermore, a top dead center pulse TDC is output from the top dead center sensor 24 attached to the crankshaft 12a of the diesel engine 12 every time the piston (not shown) of the diesel engine 12 reaches the top dead center position. This top dead center pulse TDC is input to the external control unit 14 and the internal control units 2 and 1.

外部コントロールユニット14は、マイクロコンピュー
タを用いて構成されており、所要のガバナ特性及びタイ
マ特性がデータとしてストアされており、上述の上死点
パルスTDCに基づいてその時々の機関速度が演算され
、演算された機関速度と入力データA、Pに基づいてそ
の時々の目標噴射量Q1及び目標噴射進角値θ、が演算
され、その結果を示すデータD、、Dtが共通線25を
介して内部コントロールユニット21に送られる。
The external control unit 14 is configured using a microcomputer, stores required governor characteristics and timer characteristics as data, calculates the engine speed at any given time based on the above-mentioned top dead center pulse TDC, Based on the calculated engine speed and input data A, P, the target injection amount Q1 and target injection advance value θ are calculated at each time, and the data D, Dt indicating the results are internally transmitted via the common line 25. It is sent to the control unit 21.

内部コントロールユニット21もまた、マイクロコンピ
ュータを用いて構成されており、データD、、  Dg
のほか、上死点パルスTDC、回転センサ26からの回
転パルスN、噴射弁(図示せず)の針弁リフトタイミン
グを検出するための針弁リフトセンサ27からのリフト
タイミングパルスLP、燃料の温度を検出する燃温セン
サ28からの燃温データFTが内部コントロールユニッ
ト21に入力されている。
The internal control unit 21 is also configured using a microcomputer, and the data D, Dg
In addition, the top dead center pulse TDC, the rotation pulse N from the rotation sensor 26, the lift timing pulse LP from the needle lift sensor 27 for detecting the needle lift timing of the injection valve (not shown), and the temperature of the fuel. Fuel temperature data FT from the fuel temperature sensor 28 that detects the fuel temperature is input to the internal control unit 21.

第2図には、内部コントロールユニット21の構成を示
すブロック図が示されている。内部コントロールユニッ
ト21は、1チツプマイクロコンピユータ30と、1チ
ツプマイクロコンピユータ30の外部メモリとして働く
書換え可能な読出し専用メモリであるEFROM 41
とを具えている。
FIG. 2 shows a block diagram showing the configuration of the internal control unit 21. As shown in FIG. The internal control unit 21 includes a 1-chip microcomputer 30 and an EFROM 41 which is a rewritable read-only memory that serves as an external memory for the 1-chip microcomputer 30.
It is equipped with.

lチップマイクロコンピュータ30は、中央演算処理装
置(CPU) 31、読出し専用メモリ(ROM)32
及びランダムアクセスメモリ (RAM) 33を有し
、これらはバス34によって接続されている。
The l-chip microcomputer 30 includes a central processing unit (CPU) 31 and a read-only memory (ROM) 32.
and a random access memory (RAM) 33, which are connected by a bus 34.

バス34は、更に、ポートP0乃至P、にも接続されて
おり、これらのボートP0乃至P3は、CPU31から
出力されるボート切替制御のための切替制御信号を制御
線35を介して受取る構成となっている。したがって、
切替制御信号に従って、各ボートとバス34との接続状
態が制御される。図示の実施例では、ボートPo乃至P
2にはデータ及びこれに相当するアドレスデータが割当
てられ、ボー)P3からは、読出制御信号■及び書込制
御信号WRが出力される構成となっている。符号36で
示されるのは信号制御部であり、タイミング信号ALE
及びPSII!Nを出力する。
The bus 34 is further connected to ports P0 to P, and these ports P0 to P3 are configured to receive switching control signals for boat switching control output from the CPU 31 via a control line 35. It has become. therefore,
The connection state between each boat and the bus 34 is controlled according to the switching control signal. In the illustrated embodiment, boats Po to P
Data and corresponding address data are assigned to P2, and a read control signal (2) and a write control signal WR are output from P3. Reference numeral 36 indicates a signal control section, which controls the timing signal ALE.
and PSII! Output N.

RAM33はバス34を介してROM32及びCP[I
31と接続されており、ROM32及び文はEFROM
41内にストアされている制御プログラム及びデ−りに
基づき、所要の制御演算が実行される。
The RAM 33 is connected to the ROM 32 and CP[I
31, and ROM32 and statement are connected to EFROM.
Based on the control program and data stored in 41, necessary control calculations are executed.

CPU 31内のシリアルボート37は、入出力装置(
Ilo)47と接続されており、上死点パルスTDC、
回転パルスN、リフトタイミングパルスLP及び燃温デ
ータFTのほか、後述するシリアルデータDs、転送指
令信号TDも、入出力装置47を介してシリアルボート
37に供給される構成である。
The serial port 37 in the CPU 31 is an input/output device (
Ilo) 47, top dead center pulse TDC,
In addition to the rotation pulse N, lift timing pulse LP, and fuel temperature data FT, serial data Ds and transfer command signal TD, which will be described later, are also supplied to the serial boat 37 via the input/output device 47.

EFROM 41は、CPU 31で実行される燃焼制
御のための制御プログラムをストアするために設けられ
ており、ROM32には、BFROM 41に所要の制
御プログラムを書込むための制御を行なうプログラムが
ストアされている。したがって、CPU 31はROM
32内にストアされているプログラムに従ってEPRO
M 41内に所要のプログラムを書込み、又はEFRO
M 41内にすでに書込まれている制御プログラムに従
う制御を行なうように制御される。
The EFROM 41 is provided to store a control program for combustion control executed by the CPU 31, and the ROM 32 stores a control program for writing a required control program into the BFROM 41. ing. Therefore, the CPU 31 is a ROM
EPRO according to the program stored in 32
Write the required program in M41 or EFRO
Control is performed in accordance with a control program already written in M41.

EFROM 41に制御プログラムが書込まれているか
否かをCPU 31において識別可能とするため、EF
ROM 41に制御プログラムが書込まれた場合に、予
め定められたコードの識別データD4が、EPROM4
1内の所定のアドレスMにストアされる構成となってい
る。
In order to enable the CPU 31 to identify whether or not a control program is written in the EFROM 41, the EFROM
When the control program is written in the ROM 41, the predetermined code identification data D4 is written in the EPROM 41.
It is configured to be stored at a predetermined address M within 1.

第3図には、ROM32にストアされているプログラム
を示すフローチャートが示されている。このプログラム
は装置の電源がオンとなったことに応答して実行され、
先ずステップ51においてEFROM 41のアドレス
Mの内容が読み取られ、その内容が所定のコードと一致
するか否かの判別が行なわれる。 i:pRoMA を
内に制御プログラムがストアされている状態にあっては
、その制御プログラムのストアと同時にアドレスMに所
定のコード(図示の実施例では(00) )がストアさ
れるので、ステップ51の判別結果はYESとなり、ス
テップ52に進み、EFROM 41にストアされてい
る制御プログラムがCPU 31によって実行される。
FIG. 3 shows a flowchart showing the programs stored in the ROM 32. This program runs in response to the device being powered on, and
First, in step 51, the contents of the address M of the EFROM 41 are read, and it is determined whether the contents match a predetermined code. i: When the control program is stored in pRoMA, a predetermined code ((00) in the illustrated embodiment) is stored at the address M at the same time as the control program is stored. The determination result is YES, and the process advances to step 52, where the control program stored in the EFROM 41 is executed by the CPU 31.

CPU31における制御プログラムの実行が開始される
と、以後、装置の電源がオフとされるまでマイクロコン
ピュータ30はこの制御プログラムに従う制御を行なう
Once execution of the control program in the CPU 31 is started, the microcomputer 30 thereafter performs control according to this control program until the power of the device is turned off.

EFROM 41の内容を消去するため、後述するよう
にしてEFROM 41の消去用窓から紫外線を内部に
照射すると、アドレスMにストアされていた内容も同時
に消去され、アドレスMの内容が(F F)となってい
る場合には、ステップ51の判別結果はNOとなり、ス
テップ53に進む、ステップ53では、外部から入力さ
れる制御プログラムの内容がCPU 31に一旦入力さ
れ、しかるのち、UPROM 41内にその制御プログ
ラムがストアされる(ステップ54)、制御プログラム
のストアが終了すると、ステップ55に進み、ここで、
制御プログラムのストアが完了したか否かの判別が行な
われ、その判別結果がNoであると、ステップ53に戻
り、EFROM 41への制御プログラムの書き込みを
続行する。このようにして、制御プログラムのストアが
完了すると、ステップ55の判別結果がYESとなり、
ステップ56に進み、ここでEFROM 41のアドレ
スMに予定のコード(00)がストアされ、このプログ
ラムの実行が終了する。
In order to erase the contents of the EFROM 41, when ultraviolet rays are irradiated inside the EFROM 41 from the erase window as described later, the contents stored at the address M are also erased at the same time, and the contents of the address M become (F F). If so, the determination result in step 51 is NO, and the process proceeds to step 53. In step 53, the contents of the control program input from the outside are once input to the CPU 31, and then stored in the UPROM 41. The control program is stored (step 54). When the storage of the control program is completed, the process proceeds to step 55, where:
It is determined whether or not the storage of the control program has been completed. If the determination result is No, the process returns to step 53 and writing of the control program to the EFROM 41 is continued. When the storage of the control program is completed in this way, the determination result in step 55 becomes YES.
The program proceeds to step 56, where a predetermined code (00) is stored at address M of the EFROM 41, and the execution of this program ends.

次にCPU 31が入出力装置47を介して受取った制
御プログラムのデータを、マイクロコンピュータ30に
よりEPROM 41にストアする構成につき第2図を
参照して説明する。
Next, a configuration in which control program data received by the CPU 31 via the input/output device 47 is stored in the EPROM 41 by the microcomputer 30 will be described with reference to FIG.

EFROM 41へ書込むべきデータ及びそのデータを
書込むべきBFROM 41のアドレスは、入出力装置
、47を介して、シリアルデータDよとしてcPU31
内のシリアルボート37に入力され、このシリアルデー
タD、はCP[I 31によって受信される。
The data to be written to the EFROM 41 and the address of the BFROM 41 to which the data should be written are sent to the cPU 31 as serial data D via the input/output device 47.
This serial data D is received by CP[I 31.

この場合、マイクロコンピュータ30においては、内部
のROM 32にストアされているBFROM 41へ
の書込みのための所定の書込みプログラム(第3図参照
)が実行されているので、ボー1−po乃至P3は汎用
の入出力ボートとして使用することができる状態にある
In this case, in the microcomputer 30, a predetermined write program (see FIG. 3) for writing to the BFROM 41 stored in the internal ROM 32 is being executed, so the bauds 1-po to P3 are It is in a state where it can be used as a general-purpose input/output boat.

アドレスデータADはA、〜Allまでの16ビントの
データとして受信され、その下位8ビツトの下位アドレ
スデータAL (AO〜A?)がポートPoに書込まれ
る0次いで、その上位8ビツトの上位アドレスデータA
 U (As =A+s)ポートP2に書込まれ、この
データA@〜AI5の内容は、ボートPgに接続されて
いるデコーダ42によって解読され、f!FROM 4
1が選択されていることが判明した場合にデコーダ42
の出力線42aのレベルが所定の状態となり、EFRO
M 41がセレクトされる。
Address data AD is received as 16-bit data from A to All, and its lower 8 bits of lower address data AL (AO to A?) are written to port Po. Data A
U (As = A+s) is written to port P2, and the contents of this data A@~AI5 are decoded by the decoder 42 connected to boat Pg, and f! FROM 4
1 is selected, the decoder 42
The level of the output line 42a of EFRO becomes a predetermined state, and EFRO
M41 is selected.

ボー)Paにはラッチ回路43が接続されている。この
ラッチ回路43のラッチタイミングを示すラッチ信号L
Sを出力するため、信号制御部36から出力されるタイ
ミング信号ALEと図示しない外部メモリを読出しモー
ドとするための読出制御信号RDとに応答するアンド回
路44が設けられている。読出制御信号RDのレベルが
rHJでタイミング信号ALEのレベルもrHJの場合
にのみ、アンド回路44の出力レベルがrHJとなり、
ボー)Paに書込まれている下位アドレスデータAL(
Ao〜Ay)がラッチ回路43にラッチされ、[EFR
OM 41のアドレス端子Xに印加される。
A latch circuit 43 is connected to baud) Pa. A latch signal L indicating the latch timing of this latch circuit 43
In order to output S, an AND circuit 44 is provided which responds to a timing signal ALE output from the signal control section 36 and a read control signal RD for setting an external memory (not shown) to a read mode. Only when the level of the read control signal RD is rHJ and the level of the timing signal ALE is also rHJ, the output level of the AND circuit 44 becomes rHJ,
Lower address data AL(
Ao to Ay) are latched by the latch circuit 43, and [EFR
Applied to address terminal X of OM 41.

下位アドレスデータALがランチ回路43にランチされ
た後、読出制御信号百百のレベルがrLJとされる。こ
の結果、ラッチ信号LSのレベルがrLJとなり、以後
、ボー)Paの内容が変更されても、ラッチ回路43に
ランチされたデータの内容が変更されることがない。こ
れにより、EFROM41に書込むべきデータのアドレ
ス指定が完了したことになる。
After the lower address data AL is launched into the launch circuit 43, the level of the read control signal 100 is set to rLJ. As a result, the level of the latch signal LS becomes rLJ, and henceforth, even if the contents of baud)Pa are changed, the contents of the data launched into the latch circuit 43 will not be changed. This means that the addressing of the data to be written into the EFROM 41 has been completed.

次いで、EFROM 41に書込むべきデータをボー)
Poに書込むと、ボートPaに書込まれたデータはデー
タ線46を介してEPROM 41のデ、−タ端子Yに
印加される。すでに説明したように、この場合、端子Y
に与えられているデータを書込むべきアドレスを示すデ
ータは、ラッチ回路43によって端子Xに与えられてい
る。
Then write the data to be written to EFROM 41 (baud)
When data is written to Po, the data written to port Pa is applied to data terminal Y of EPROM 41 via data line 46. As already explained, in this case terminal Y
Data indicating the address to write the data given to is given to the terminal X by the latch circuit 43.

しかる後、ボートP3から出力されている書込制御信号
のWRのレベルが所定時間だけ「L」とされる、したが
って、読出制御信号RD及び書込制御信号WRに応答す
るアオ回路45の出力レベルが所定時間だけrLJとな
る。オア回路45の出力はEFROM 41の「端子に
印加されているので、その出力レベルがrLJO間だけ
、II!FROM 41が書込みモードとなり、このと
きEFROM 41に供給される所定の書込用電圧V□
により、端子Yに印加されている所要のデータが、端子
Xに与えられているデータに従う所要のアドレスに格納
される。このようにしてHFROM 41へのデータの
書込みが完了したならば、読出制御信号RD及び書込制
御信号WRの各レベルがrHJとされ、装置21はEP
ROM 4 Lのデータの書込み動作開始前の状態に戻
される。
Thereafter, the level of the write control signal WR output from the boat P3 is set to "L" for a predetermined period of time. Therefore, the output level of the AO circuit 45 responsive to the read control signal RD and the write control signal WR is becomes rLJ for a predetermined time. Since the output of the OR circuit 45 is applied to the terminal of the EFROM 41, the II!FROM 41 is in the write mode only when its output level is rLJO, and the predetermined write voltage V supplied to the EFROM 41 at this time is □
As a result, the required data applied to the terminal Y is stored at the required address according to the data applied to the terminal X. When the writing of data to the HFROM 41 is completed in this way, each level of the read control signal RD and the write control signal WR is set to rHJ, and the device 21 writes the EP
The ROM 4 L is returned to the state before the start of the data write operation.

次に、上述の如くしてEFROM 41内にストアされ
たデータを読出して、RAM33内にストアする場合に
ついて説明する。この場合には、データ転送指令のため
の所定の転送指令データTDが入出力装置47を介して
CPt131に入力されると、CPU31は、転送指令
データTDの内容に従い、転送すべきデータのアドレス
に関するデータTAをバス34に送出する。この場合に
も、データTAの上位8ビツトの上位データTAUはボ
ー)Pgから出力され、その下位8ビツトの下位データ
TALはボートpoから出力される。そして、書込みの
場合と同様に、上位データTAUは、デコーダ42によ
って解読され、EFROM 41がセレクトされ、下位
データTALは、タイミング信号ALEに応答して作動
するラッチ回路43にラッチされ、端子Xに印加される
。このようにして、EFROM 41からデータを読出
すためのアドレス指定が完了すると、信号PSEHのレ
ベルがrLJとなり、lEPROM 41のDE端子に
「L」レベルの信号が供給され、EFROM41は読出
しモードとなる。この結果、上述の如くして指定された
アドレスにストアされているEFROM 41内のデー
タが端子Yから読出され、データ線46を介してボート
P0に入力される。ボートPaに入力されたデータは、
バス34を介してRAM 33に転送され、ストアされ
る。
Next, a case will be described in which the data stored in the EFROM 41 as described above is read out and stored in the RAM 33. In this case, when predetermined transfer command data TD for a data transfer command is input to the CPt 131 via the input/output device 47, the CPU 31 determines the address of the data to be transferred according to the contents of the transfer command data TD. Send data TA to bus 34. In this case as well, the upper 8 bits (upper data TAU) of the data TA are output from the port Pg, and the lower 8 bits (lower data TAL) are output from the port po. Then, as in the case of writing, the upper data TAU is decoded by the decoder 42 and the EFROM 41 is selected, and the lower data TAL is latched by the latch circuit 43 that operates in response to the timing signal ALE, and the lower data TAL is latched to the terminal X. applied. When the addressing for reading data from the EFROM 41 is completed in this way, the level of the signal PSEH becomes rLJ, a "L" level signal is supplied to the DE terminal of the EPROM 41, and the EFROM 41 enters the read mode. . As a result, the data stored in the EFROM 41 at the address designated as described above is read from the terminal Y and input to the port P0 via the data line 46. The data input to boat Pa is
It is transferred to RAM 33 via bus 34 and stored.

第4図(al乃至第4図(e)には、外部からのデータ
をEFROM 41にストアする場合のタイミングチャ
ートが示されている。シリアルデータD、の受信に応答
して、時刻1−1.において上位及び下位アドレス指定
クAU、ALが出力される(第4図(a)、 (b))
 、 Lかるのち、1=1.においてタイミング信号組
1−と読込み信号RDが共にrHJとなることによって
、ラッチ信号LSのレベルがr )(Jとなり1=13
においてそのレベルがrLJとなったときに、下位アド
レスデータALの内容がランチ回路43においてラッチ
されるので、1=1゜以降、端子Xに供給されるデータ
の内容は下位アドレスデータALとなる。1=14にお
いて端子■「のレベルがrLJとなると、EPROM 
41にストアすべきデータDがポートP0に現われる。
4(al) to FIG. 4(e) show timing charts when external data is stored in the EFROM 41.In response to the reception of serial data D, at time 1-1 Upper and lower address designation blocks AU and AL are output at . (Figure 4 (a), (b))
, After L, 1=1. When the timing signal set 1- and the read signal RD both become rHJ, the level of the latch signal LS becomes r)(J and 1=13
When the level becomes rLJ, the contents of the lower address data AL are latched in the launch circuit 43, so that after 1=1°, the contents of the data supplied to the terminal X become the lower address data AL. When the level of terminal `` becomes rLJ at 1=14, the EPROM
Data D to be stored in port 41 appears at port P0.

この結果、データDがEPROM 41の端子Yに印加
され、アドレス指定のためのデータAL、AUにより示
されるアドレスにデータDがストアされる。
As a result, data D is applied to terminal Y of EPROM 41, and data D is stored at the address indicated by data AL and AU for addressing.

第5図(al乃至第5図(elには、EFROM 41
内にストアされているデータをRAM33に転送する場
合の動作を示すタイミングチャートが示されている。
Figure 5 (al to Figure 5 (el) shows the EFROM 41
A timing chart showing the operation when transferring data stored in the memory to the RAM 33 is shown.

転送指令データTAの入力に応答して時刻t=t、にお
いて転送すべきデータがストアされているアドレスの上
位及び下位アドレスデータTAt1.TALが出力され
る(第3図(a)、 (b)) 、 Lかるのち、t=
t’、□においてタイミング信号ALEと読出制御信号
RDとが共にrHJレベルとなることによって、ラッチ
信号LSのレベルがrHJとなり、その後1 = 1.
3においてそのレベルが「L」となったときに、下位デ
ータTALの内容がランチ回路43にラッチされる。し
たがって1 = 1 、、以降、端子Xに供給されるデ
ータの内容は下位データTALとなる。1==1.4に
おいて端子PSENのレベルがrLJとなると、ボート
P0に印加されているデータDTはRAM33に送られ
る。この結果、データTA[J、TALにより示される
アドレスにストアされている所望のストアデータが、E
PROM 41からRAM33に転送される。
In response to the input of transfer command data TA, upper and lower address data TAt1 . TAL is output (Fig. 3 (a), (b)), and after L, t=
At t', □, both the timing signal ALE and the read control signal RD become rHJ level, so that the level of the latch signal LS becomes rHJ, and then 1=1.
3, when the level becomes "L", the contents of the lower data TAL are latched into the launch circuit 43. Therefore, 1 = 1, . . . From then on, the content of the data supplied to the terminal X becomes the lower data TAL. When the level of the terminal PSEN becomes rLJ at 1==1.4, the data DT applied to the port P0 is sent to the RAM 33. As a result, the desired store data stored at the address indicated by data TA[J, TAL is
The data is transferred from the PROM 41 to the RAM 33.

このように、外部から所望のデータをシリアルデータの
形態でマイクロコンピュータ30に与えることによりE
FROM 41内にそのデータをストアすることができ
る上に、EPROM 41内にストアされたデータをマ
イクロコンピュータ30内のRAM33に転送すること
ができる。
In this way, by providing desired data from the outside in the form of serial data to the microcomputer 30, E
In addition to being able to store the data in FROM 41, the data stored in EPROM 41 can be transferred to RAM 33 in microcomputer 30.

このようにしてEFROM 41内に書込まれた制御プ
ログラムはIEFROM 41の消去用窓から紫外線を
その内部に照射することにより容易に消去することがで
きる。
The control program written in the EFROM 41 in this manner can be easily erased by irradiating the interior of the IEFROM 41 with ultraviolet light through the erasing window of the IEFROM 41.

第6図及び第7図には内部コントロールユニット21内
の基板にハンダ付けされるEPROM 41内にストア
されたデータの消去を燃料噴射ポンプ13の外部から容
易に行なうようにするための構成が示されている。第6
図及び第7図から判るように、内部コントロールユニッ
ト21のプリント基板PBは、燃料噴射ポンプ13のケ
ーシング15上に固着されおり、このプリント基板PB
は金属性のカバー61で覆われており、このカバー61
にはEFROM 41の消去用窓41aと対向する部分
には窓62があけられており、窓62と消去用窓41a
との間はガラス板63によって光通路が形成されており
、窓62から紫外線を照射すると、紫外線はガラス板6
3に導びかれてEPROM 41の消去用窓41a内に
入り、EFROM 41内にストアされていたデータを
全て消去することができる。
6 and 7 show a configuration for easily erasing data stored in the EPROM 41 soldered to the board in the internal control unit 21 from outside the fuel injection pump 13. has been done. 6th
As can be seen from the figure and FIG. 7, the printed circuit board PB of the internal control unit 21 is fixed on the casing 15 of the fuel injection pump 13,
is covered with a metal cover 61, and this cover 61
A window 62 is provided in a portion of the EFROM 41 facing the erasing window 41a, and the window 62 and the erasing window 41a are connected to each other.
An optical path is formed by a glass plate 63 between the window 62 and the window 62.
3 to enter the erasing window 41a of the EPROM 41, and all data stored in the EFROM 41 can be erased.

符号64で示されるのは、遮光用蓋部材であり、通常は
、この遮光用蓋部材64をカバー61にねじ止めして窓
62を塞ぎ、EPROM 41に外部から光が入るのを
防ぐようになっている。
Reference numeral 64 indicates a light-shielding lid member, and normally, this light-shielding lid member 64 is screwed to the cover 61 to close the window 62 and prevent light from entering the EPROM 41 from the outside. It has become.

上述の構成によれば、EFROM 41内に、マイクロ
コンピュータ30によって所望の制御プログラムを書込
むことができる。この制御プログラムを変更したい場合
には、窓62を介して紫外線をIir’ROI’l 4
1内に照射し、これによりEFROM 41の内容を全
て消去し、装置を動作させると、EFROM41のアド
レスMの内容が(FF)となっていることから、マイク
ロコンピュータ30はCPROM 41への制御プログ
ラムの書き込みを行なうモードとされる。従って、外部
よりマイクロコンピュータ30に所望の制御プログラム
に関するデータを与えることにより、マイクロコンピュ
ータ30によってEFROM 41内に所望の制御プロ
グラムをストアすることができる。
According to the above configuration, a desired control program can be written into the EFROM 41 by the microcomputer 30. If you want to change this control program, you can apply ultraviolet light through the window 62.
1, thereby erasing all the contents of the EFROM 41 and operating the device. Since the contents of the address M of the EFROM 41 are (FF), the microcomputer 30 instructs the control program to the CPROM 41. This is the mode for writing. Therefore, by providing data regarding a desired control program to the microcomputer 30 from the outside, the microcomputer 30 can store the desired control program in the EFROM 41.

このため、制御プログラムのバージョンアップ等により
制御プログラムを変更しなければならない場合にも極め
て簡単に対応することができ、旧型の燃料噴射ポンプで
あっても、部品等の取り外しを行なうことなく新型のも
のとすることができるので、極めて経済的である。
Therefore, even if the control program needs to be changed due to a control program version update, it is extremely easy to handle the situation, and even if it is an old model fuel injection pump, it can be replaced with a new model without removing any parts. It is extremely economical because it can be used as

この場合、制御プログラムのうち変更されることがない
部分をROM32にストアしておき、変更の可能性のあ
る部分をEFROM 41にストアするようにしてもよ
い。
In this case, parts of the control program that will not be changed may be stored in the ROM 32, and parts that may be changed may be stored in the EFROM 41.

(効 果) 本発明によれば、上述の如く、燃料噴射ポンプ内に組込
まれる制御ユニット内の部品を交換することなしに制御
プログラムの変更を極めて簡単に行なうことができるの
で、旧型の装置であっても、制御プログラムの変更によ
り制御ユニットが使用不能となることがなく極めて経済
的に冨むものである。
(Effects) According to the present invention, as described above, it is possible to extremely easily change the control program without replacing parts in the control unit incorporated in the fuel injection pump. Even if there is a change in the control program, the control unit will not become unusable, making it extremely economical.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明による燃料噴射装置の一実施例を示す構
成図、第2図は第1図に示した内部制御ユニットの構成
を示すブロック図、第3図は第2図に示した120M内
にストアされるプログラムを示すフローチャート、第4
図(a)乃至第4図(el及び第5図(a)乃至第5図
(Q)は第2図に示した回路の動作を説明するためのタ
イムチャート、第6図は内部コントロールユニットを燃
料噴射ポンプに取付けた状態を示すための燃料噴射ポン
プの一部断面した正面図、第7図は第6図に示す燃料噴
射ポンプの平面図である。 11・・・燃料噴射装置、14・・・外部コントロール
ユニフ)、21・・・内部コントロールユニット、30
・・・マイクロコンピュータ、32・・・読出し専用メ
モリ (ROM)、41・・・書換え可能な読出し専用
メモリ (EFROM)。
Fig. 1 is a block diagram showing an embodiment of the fuel injection device according to the present invention, Fig. 2 is a block diagram showing the structure of the internal control unit shown in Fig. 1, and Fig. 3 is a block diagram showing the structure of the internal control unit shown in Fig. 2. Flowchart showing programs stored in the fourth
Figures (a) to 4 (el) and Figures 5 (a) to 5 (Q) are time charts for explaining the operation of the circuit shown in Figure 2, and Figure 6 shows the internal control unit. FIG. 7 is a partially sectional front view of the fuel injection pump showing a state in which it is attached to the fuel injection pump, and FIG. 7 is a plan view of the fuel injection pump shown in FIG. 6. 11...Fuel injection device, 14. ... external control unit), 21 ... internal control unit, 30
...Microcomputer, 32...Read-only memory (ROM), 41...Writable read-only memory (EFROM).

Claims (1)

【特許請求の範囲】[Claims] 1.予め与えられた制御プログラムに従って燃料噴射ポ
ンプの作動をマイクロコンピュータによって制御するよ
うにした電子制御式燃料噴射装置において、前記制御プ
ログラムをストアするための書換え可能な読出し専用メ
モリと、該読出し専用メモリ内に制御プログラムがスト
アされているか否かを示す識別データをストアする手段
と、制御の開始時に前記識別データに基づいて前記読出
し専用メモリに制御プログラムが書込まれているか否か
を判別しその結果に応じて制御プログラムの実行か又は
制御プログラムの書込みかを選択する手段とを備えたこ
とを特徴とする電子制御式燃料噴射装置。
1. An electronically controlled fuel injection device in which the operation of a fuel injection pump is controlled by a microcomputer according to a control program given in advance, comprising: a rewritable read-only memory for storing the control program; means for storing identification data indicating whether or not a control program is stored in the read-only memory, and determining whether or not a control program is written in the read-only memory based on the identification data at the start of control; 1. An electronically controlled fuel injection device comprising: means for selecting execution of a control program or writing of a control program according to the control program.
JP62025596A 1987-02-07 1987-02-07 Electronic control type fuel injection unit Pending JPS63195357A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62025596A JPS63195357A (en) 1987-02-07 1987-02-07 Electronic control type fuel injection unit
KR1019870015471A KR880010228A (en) 1987-02-07 1987-12-30 Electronically controlled fuel injection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62025596A JPS63195357A (en) 1987-02-07 1987-02-07 Electronic control type fuel injection unit

Publications (1)

Publication Number Publication Date
JPS63195357A true JPS63195357A (en) 1988-08-12

Family

ID=12170288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62025596A Pending JPS63195357A (en) 1987-02-07 1987-02-07 Electronic control type fuel injection unit

Country Status (2)

Country Link
JP (1) JPS63195357A (en)
KR (1) KR880010228A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0299746A (en) * 1988-10-04 1990-04-11 Hitachi Ltd Engine controller
JPH03151542A (en) * 1989-11-09 1991-06-27 Zexel Corp Operation control device for diesel generator
US5220379A (en) * 1990-07-26 1993-06-15 Konica Corporation Color image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0299746A (en) * 1988-10-04 1990-04-11 Hitachi Ltd Engine controller
JPH03151542A (en) * 1989-11-09 1991-06-27 Zexel Corp Operation control device for diesel generator
US5220379A (en) * 1990-07-26 1993-06-15 Konica Corporation Color image forming apparatus

Also Published As

Publication number Publication date
KR880010228A (en) 1988-10-07

Similar Documents

Publication Publication Date Title
US5826205A (en) Reprogrammable controller containing multiple programs
US4084240A (en) Mass production of electronic control units for engines
US4425890A (en) Spark timing control apparatus for use with a internal combustion engine
US4642773A (en) Method and apparatus for controlling an engine
JPS60200305A (en) Electronic control apparatus and method
JP4225645B2 (en) Data rewrite device for vehicle control unit
JP2911509B2 (en) Method and apparatus for adjusting tank ventilation during lambda control
US4532593A (en) Electronic control method and apparatus for internal combustion engine
JPS63195357A (en) Electronic control type fuel injection unit
JP2000020389A (en) Electronic controller
US6961650B2 (en) Data map forming method, data map formation-purpose information record medium forming method and apparatus
US4631680A (en) Process for optimizing the ignition advance of an internal combustion engine
JP2009042850A (en) Control device for vehicle, and device for updating vehicle control program
US6151530A (en) Actuator controller provided with program replacement protection
US5235696A (en) Method for controlling an internal combustion engine including a step of storing addresses of control programs in a separate storage
US7072759B2 (en) Method for controlling an internal combustion engine generator unit
KR19990013291A (en) Vehicle Control
KR19990044413A (en) A method of creating and storing a user program of an accumulation program control unit made up of instructions and an operation method of the accumulation program control unit
JP3518041B2 (en) Electronic equipment
US7568468B2 (en) Method for operating an internal combustion engine
JPH05289949A (en) Vehicle control device
JP2001159368A (en) Control method and device for internal combustion engine
JP2000029710A (en) Electronic controller
JPH09228864A (en) Fuel injection controller of direct injection type engine
JPH07127518A (en) Control device for internal combustion engine